@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Staff
Group
Creation
Failed
Staff
Group
Delete
Failed
Staff
Group
Fetch
Failed
Staff
Group
Put
Failed
Staff
Groups
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
meta
put
Staff
Group
Staff
Group
Response
Staff
Groups
Options
Staff
Groups
Query
Staff
Groups
Response
Hierarchy
ThBaseHandler
StaffGroups
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
meta
put
Constructors
constructor
new
Staff
Groups
(
options
:
StaffGroupsOptions
, http
:
Client
)
:
StaffGroups
Parameters
options:
StaffGroupsOptions
http:
Client
Returns
StaffGroups
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
StaffGroupsOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/staff_groups'
Methods
create
create
(
staffGroup
:
StaffGroup
)
:
Promise
<
StaffGroupResponse
>
Parameters
staffGroup:
StaffGroup
Returns
Promise
<
StaffGroupResponse
>
delete
delete
(
staffGroupId
:
string
)
:
Promise
<
StaffGroupResponse
>
Parameters
staffGroupId:
string
Returns
Promise
<
StaffGroupResponse
>
get
get
(
staffGroupId
:
string
)
:
Promise
<
StaffGroupResponse
>
Parameters
staffGroupId:
string
Returns
Promise
<
StaffGroupResponse
>
get
All
get
All
(
query
?:
StaffGroupsQuery
)
:
Promise
<
StaffGroupsResponse
>
Parameters
Optional
query:
StaffGroupsQuery
Returns
Promise
<
StaffGroupsResponse
>
meta
meta
(
)
:
Promise
<
StaffGroupsResponse
>
Returns
Promise
<
StaffGroupsResponse
>
put
put
(
staffGroupId
:
string
, staffGroup
:
StaffGroup
)
:
Promise
<
StaffGroupResponse
>
Parameters
staffGroupId:
string
staffGroup:
StaffGroup
Returns
Promise
<
StaffGroupResponse
>
Generated using
TypeDoc