@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Device
Creation
Failed
Device
Delete
Failed
Device
Fetch
Failed
Device
Put
Failed
Devices
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
put
Devices
Fetch
Failed
Device
Device
Response
Devices
Options
Devices
Query
Devices
Response
Device
Status
Type
Device
Type
Type
Hierarchy
ThBaseHandler
Devices
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
put
Constructors
constructor
new
Devices
(
options
:
DevicesOptions
, http
:
Client
)
:
Devices
Parameters
options:
DevicesOptions
http:
Client
Returns
Devices
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
DevicesOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v1/devices/licenses'
Methods
create
create
(
device
:
Device
)
:
Promise
<
DeviceResponse
>
Parameters
device:
Device
Returns
Promise
<
DeviceResponse
>
delete
delete
(
deviceId
:
string
)
:
Promise
<
DeviceResponse
>
Parameters
deviceId:
string
Returns
Promise
<
DeviceResponse
>
get
get
(
deviceId
:
string
)
:
Promise
<
DeviceResponse
>
Parameters
deviceId:
string
Returns
Promise
<
DeviceResponse
>
get
All
get
All
(
queryOrOptions
?:
DevicesQuery
)
:
Promise
<
DevicesResponse
>
Parameters
Optional
queryOrOptions:
DevicesQuery
Returns
Promise
<
DevicesResponse
>
put
put
(
deviceId
:
string
, device
:
Device
)
:
Promise
<
DeviceResponse
>
Parameters
deviceId:
string
device:
Device
Returns
Promise
<
DeviceResponse
>
Generated using
TypeDoc