@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Expense
Accounts
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
put
Expense
Account
Expense
Account
Response
Expense
Accounts
Options
Expense
Accounts
Query
Expense
Accounts
Response
Expense
Account
Type
Hierarchy
ThBaseHandler
ExpenseAccounts
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
put
Constructors
constructor
new
Expense
Accounts
(
options
:
ExpenseAccountsOptions
, http
:
Client
)
:
ExpenseAccounts
Parameters
options:
ExpenseAccountsOptions
http:
Client
Returns
ExpenseAccounts
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
ExpenseAccountsOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/expense_accounts'
Methods
create
create
(
expenseAccount
:
ExpenseAccount
)
:
Promise
<
ExpenseAccountResponse
>
Parameters
expenseAccount:
ExpenseAccount
Returns
Promise
<
ExpenseAccountResponse
>
delete
delete
(
expenseAccountId
:
string
)
:
Promise
<
ExpenseAccountResponse
>
Parameters
expenseAccountId:
string
Returns
Promise
<
ExpenseAccountResponse
>
get
get
(
expenseAccountId
:
string
)
:
Promise
<
ExpenseAccountResponse
>
Parameters
expenseAccountId:
string
Returns
Promise
<
ExpenseAccountResponse
>
get
All
get
All
(
queryOrOptions
?:
ExpenseAccountsQuery
)
:
Promise
<
ExpenseAccountsResponse
>
Parameters
Optional
queryOrOptions:
ExpenseAccountsQuery
Returns
Promise
<
ExpenseAccountsResponse
>
put
put
(
expenseAccountId
:
string
, expenseAccount
:
ExpenseAccount
)
:
Promise
<
ExpenseAccountResponse
>
Parameters
expenseAccountId:
string
expenseAccount:
ExpenseAccount
Returns
Promise
<
ExpenseAccountResponse
>
Generated using
TypeDoc