@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Safes
constructor
endpoint
http
options
uri
Helper
base
Endpoint
book
create
get
get
All
meta
put
Safes
Log
Book
Amount
Item
Book
Request
Body
Safe
Safe
Response
Safes
Log
Book
Options
Safes
Log
Book
Query
Safes
Log
Book
Response
Safes
Options
Safes
Query
Safes
Response
Hierarchy
ThBaseHandler
Safes
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
book
create
get
get
All
meta
put
Constructors
constructor
new
Safes
(
options
:
SafesOptions
, http
:
Client
)
:
Safes
Parameters
options:
SafesOptions
http:
Client
Returns
Safes
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
SafesOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/safes'
Methods
book
book
(
body
:
BookRequestBody
)
:
Promise
<
SafeResponse
>
Parameters
body:
BookRequestBody
Returns
Promise
<
SafeResponse
>
create
create
(
safe
:
Safe
)
:
Promise
<
SafeResponse
>
Parameters
safe:
Safe
Returns
Promise
<
SafeResponse
>
get
get
(
safeId
:
string
)
:
Promise
<
SafeResponse
>
Parameters
safeId:
string
Returns
Promise
<
SafeResponse
>
get
All
get
All
(
query
?:
SafesQuery
)
:
Promise
<
SafesResponse
>
Parameters
Optional
query:
SafesQuery
Returns
Promise
<
SafesResponse
>
meta
meta
(
)
:
Promise
<
SafesResponse
>
Returns
Promise
<
SafesResponse
>
put
put
(
safeId
:
string
, safe
:
Safe
)
:
Promise
<
SafeResponse
>
Parameters
safeId:
string
safe:
Safe
Returns
Promise
<
SafeResponse
>
Generated using
TypeDoc