@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Service
Creation
Failed
Service
Delete
Failed
Service
Fetch
Failed
Service
Put
Failed
Services
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
meta
put
query
Services
Fetch
All
Failed
Services
Meta
Failed
Service
Service
Response
Services
Meta
Query
Services
Meta
Response
Services
Options
Services
Query
Services
Response
Hierarchy
ThBaseHandler
Services
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
meta
put
query
Constructors
constructor
new
Services
(
options
:
ServicesOptions
, http
:
Client
)
:
Services
Parameters
options:
ServicesOptions
http:
Client
Returns
Services
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
ServicesOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v1/services'
Methods
create
create
(
service
:
Service
)
:
Promise
<
ServiceResponse
>
Parameters
service:
Service
Returns
Promise
<
ServiceResponse
>
delete
delete
(
serviceId
:
string
)
:
Promise
<
ServiceResponse
>
Parameters
serviceId:
string
Returns
Promise
<
ServiceResponse
>
get
get
(
serviceId
:
string
)
:
Promise
<
ServiceResponse
>
Parameters
serviceId:
string
Returns
Promise
<
ServiceResponse
>
get
All
get
All
(
query
?:
ServicesQuery
)
:
Promise
<
ServicesResponse
>
Parameters
Optional
query:
ServicesQuery
Returns
Promise
<
ServicesResponse
>
meta
meta
(
q
?:
ServicesMetaQuery
)
:
Promise
<
ServicesMetaResponse
>
Parameters
Optional
q:
ServicesMetaQuery
Returns
Promise
<
ServicesMetaResponse
>
put
put
(
serviceId
:
string
, service
:
Service
)
:
Promise
<
ServiceResponse
>
Parameters
serviceId:
string
service:
Service
Returns
Promise
<
ServiceResponse
>
query
query
(
options
?:
ServicesOptions
)
:
Promise
<
ServicesResponse
>
Parameters
Optional
options:
ServicesOptions
Returns
Promise
<
ServicesResponse
>
Generated using
TypeDoc