@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Accounts
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
put
Account
Account
Response
Accounts
Options
Accounts
Query
OrOptions
Accounts
Response
Account
Type
Hierarchy
ThBaseHandler
Accounts
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
put
Constructors
constructor
new
Accounts
(
options
:
AccountsOptions
, http
:
Client
)
:
Accounts
Parameters
options:
AccountsOptions
http:
Client
Returns
Accounts
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
AccountsOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/accounts'
Methods
create
create
(
account
:
Account
)
:
Promise
<
AccountResponse
>
Parameters
account:
Account
Returns
Promise
<
AccountResponse
>
delete
delete
(
accountId
:
string
)
:
Promise
<
AccountResponse
>
Parameters
accountId:
string
Returns
Promise
<
AccountResponse
>
get
get
(
accountId
:
string
)
:
Promise
<
AccountResponse
>
Parameters
accountId:
string
Returns
Promise
<
AccountResponse
>
get
All
get
All
(
queryOrOptions
?:
AccountsQueryOrOptions
)
:
Promise
<
AccountsResponse
>
Parameters
Optional
queryOrOptions:
AccountsQueryOrOptions
Returns
Promise
<
AccountsResponse
>
put
put
(
accountId
:
string
, account
:
Account
)
:
Promise
<
AccountResponse
>
Parameters
accountId:
string
account:
Account
Returns
Promise
<
AccountResponse
>
Generated using
TypeDoc