@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Service
Categories
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
meta
put
Service
Categories
Fetch
All
Failed
Service
Categories
Meta
Failed
Service
Category
Creation
Failed
Service
Category
Delete
Failed
Service
Category
Fetch
Failed
Service
Category
Put
Failed
Service
Categories
Meta
Query
Service
Categories
Meta
Response
Service
Categories
Options
Service
Categories
Query
Service
Categories
Response
Service
Category
Service
Category
Response
Hierarchy
ThBaseHandler
ServiceCategories
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
meta
put
Constructors
constructor
new
Service
Categories
(
options
:
ServiceCategoriesOptions
, http
:
Client
)
:
ServiceCategories
Parameters
options:
ServiceCategoriesOptions
http:
Client
Returns
ServiceCategories
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
ServiceCategoriesOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v1/service-categories'
Methods
create
create
(
serviceCategory
:
ServiceCategory
)
:
Promise
<
ServiceCategoryResponse
>
Parameters
serviceCategory:
ServiceCategory
Returns
Promise
<
ServiceCategoryResponse
>
delete
delete
(
serviceCategoryId
:
string
)
:
Promise
<
ServiceCategoryResponse
>
Parameters
serviceCategoryId:
string
Returns
Promise
<
ServiceCategoryResponse
>
get
get
(
serviceCategoryId
:
string
)
:
Promise
<
ServiceCategoryResponse
>
Parameters
serviceCategoryId:
string
Returns
Promise
<
ServiceCategoryResponse
>
get
All
get
All
(
query
?:
ServiceCategoriesQuery
)
:
Promise
<
ServiceCategoriesResponse
>
Parameters
Optional
query:
ServiceCategoriesQuery
Returns
Promise
<
ServiceCategoriesResponse
>
meta
meta
(
q
?:
ServiceCategoriesMetaQuery
)
:
Promise
<
ServiceCategoriesMetaResponse
>
Parameters
Optional
q:
ServiceCategoriesMetaQuery
Returns
Promise
<
ServiceCategoriesMetaResponse
>
put
put
(
serviceCategoryId
:
string
, serviceCategory
:
ServiceCategory
)
:
Promise
<
ServiceCategoryResponse
>
Parameters
serviceCategoryId:
string
serviceCategory:
ServiceCategory
Returns
Promise
<
ServiceCategoryResponse
>
Generated using
TypeDoc