@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Staff
Permissions
Templates
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
update
Staff
Permissions
Templates
Creation
Failed
Staff
Permissions
Templates
Delete
Failed
Staff
Permissions
Templates
Fetch
Failed
Staff
Permissions
Templates
Fetch
One
Failed
Staff
Permissions
Templates
Update
Failed
Staff
Permissions
Template
Staff
Permissions
Template
Response
Staff
Permissions
Templates
Options
Staff
Permissions
Templates
Query
Options
Staff
Permissions
Templates
Response
Hierarchy
ThBaseHandler
StaffPermissionsTemplates
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
update
Constructors
constructor
new
Staff
Permissions
Templates
(
options
:
StaffPermissionsTemplatesOptions
, http
:
Client
)
:
StaffPermissionsTemplates
Parameters
options:
StaffPermissionsTemplatesOptions
http:
Client
Returns
StaffPermissionsTemplates
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
StaffPermissionsTemplatesOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/staff_permission_templates'
Methods
create
create
(
template
:
StaffPermissionsTemplate
)
:
Promise
<
StaffPermissionsTemplateResponse
>
Parameters
template:
StaffPermissionsTemplate
Returns
Promise
<
StaffPermissionsTemplateResponse
>
delete
delete
(
templateId
:
string
)
:
Promise
<
StaffPermissionsTemplateResponse
>
Parameters
templateId:
string
Returns
Promise
<
StaffPermissionsTemplateResponse
>
get
get
(
templateId
:
string
, query
?:
StaffPermissionsTemplatesQueryOptions
)
:
Promise
<
StaffPermissionsTemplateResponse
>
Parameters
templateId:
string
Optional
query:
StaffPermissionsTemplatesQueryOptions
Returns
Promise
<
StaffPermissionsTemplateResponse
>
get
All
get
All
(
query
?:
StaffPermissionsTemplatesQueryOptions
)
:
Promise
<
StaffPermissionsTemplatesResponse
>
Parameters
Optional
query:
StaffPermissionsTemplatesQueryOptions
Returns
Promise
<
StaffPermissionsTemplatesResponse
>
update
update
(
templateId
:
string
, template
:
StaffPermissionsTemplate
)
:
Promise
<
StaffPermissionsTemplateResponse
>
Parameters
templateId:
string
template:
StaffPermissionsTemplate
Returns
Promise
<
StaffPermissionsTemplateResponse
>
Generated using
TypeDoc