@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Device
Binding
Failed
Device
Content
Fetch
Failed
Device
Creation
Failed
Device
Delete
Failed
Device
Fetch
Failed
Device
Patch
Failed
Devices
constructor
endpoint
http
options
uri
Helper
base
Endpoint
bind
contents
create
delete
get
get
All
patch
search
Devices
Count
Failed
Devices
Fetch
Failed
Device
Device
Bind
Request
Device
Content
Device
Content
Response
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
bind
contents
create
delete
get
get
All
patch
search
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/v0/devices'
Methods
bind
bind
(
deviceOrShortId
:
string
, bindRequest
:
DeviceBindRequest
)
:
Promise
<
DeviceResponse
>
Parameters
deviceOrShortId:
string
bindRequest:
DeviceBindRequest
Returns
Promise
<
DeviceResponse
>
contents
contents
(
deviceId
:
string
)
:
Promise
<
DeviceContentResponse
>
Parameters
deviceId:
string
Returns
Promise
<
DeviceContentResponse
>
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
>
patch
patch
(
deviceId
:
string
, device
:
Device
)
:
Promise
<
DeviceResponse
>
Parameters
deviceId:
string
device:
Device
Returns
Promise
<
DeviceResponse
>
search
search
(
searchTerm
:
string
)
:
Promise
<
DevicesResponse
>
Parameters
searchTerm:
string
Returns
Promise
<
DevicesResponse
>
Generated using
TypeDoc