@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Make
User
Staff
Failed
Staff
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
get
Filters
get
One
get
Pin
get
Services
get
Staff
Number
make
User
meta
put
search
Staff
Delete
Failed
Staff
Fetch
Failed
Staff
Fetch
One
Failed
Staff
Member
Create
Failed
Staff
Meta
Failed
Staff
Number
Get
Failed
Staff
Pin
Get
Failed
Staff
Put
Failed
Staff
Search
Failed
Error
Object
Handle
Staff
Query
Make
User
Request
Pin
Request
Pin
Response
Search
Query
Staff
Address
Staff
Item
Staff
Member
Staff
Member
Response
Staff
Number
Request
Staff
Number
Response
Staff
Options
Staff
Phone
Numbers
Staff
Query
Staff
Query
OrOptions
Staff
Response
Staff
Services
Response
Hierarchy
ThBaseHandler
Staff
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
get
Filters
get
One
get
Pin
get
Services
get
Staff
Number
make
User
meta
put
search
Constructors
constructor
new
Staff
(
options
:
StaffOptions
, http
:
Client
)
:
Staff
Parameters
options:
StaffOptions
http:
Client
Returns
Staff
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
StaffOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/staff'
Methods
create
create
(
staffMember
:
StaffMember
, query
?:
HandleStaffQuery
)
:
Promise
<
StaffMemberResponse
>
Parameters
staffMember:
StaffMember
Optional
query:
HandleStaffQuery
Returns
Promise
<
StaffMemberResponse
>
delete
delete
(
staffId
:
string
)
:
Promise
<
StaffMemberResponse
>
Parameters
staffId:
string
Returns
Promise
<
StaffMemberResponse
>
get
get
(
staffId
:
string
)
:
Promise
<
StaffMemberResponse
>
Parameters
staffId:
string
Returns
Promise
<
StaffMemberResponse
>
get
All
get
All
(
queryOrOptions
?:
StaffQueryOrOptions
)
:
Promise
<
StaffResponse
>
Parameters
Optional
queryOrOptions:
StaffQueryOrOptions
Returns
Promise
<
StaffResponse
>
get
Filters
get
Filters
(
queryOrOptions
?:
StaffQueryOrOptions
)
:
Promise
<
StaffResponse
>
Parameters
Optional
queryOrOptions:
StaffQueryOrOptions
Returns
Promise
<
StaffResponse
>
get
One
get
One
(
staffId
:
string
)
:
Promise
<
StaffMemberResponse
>
Parameters
staffId:
string
Returns
Promise
<
StaffMemberResponse
>
get
Pin
get
Pin
(
providedPin
?:
PinRequest
)
:
Promise
<
StaffMemberResponse
>
Parameters
Optional
providedPin:
PinRequest
Returns
Promise
<
StaffMemberResponse
>
get
Services
get
Services
(
staffId
:
string
)
:
Promise
<
StaffServicesResponse
>
Parameters
staffId:
string
Returns
Promise
<
StaffServicesResponse
>
get
Staff
Number
get
Staff
Number
(
providedStaffNumber
?:
StaffNumberRequest
)
:
Promise
<
StaffMemberResponse
>
Parameters
Optional
providedStaffNumber:
StaffNumberRequest
Returns
Promise
<
StaffMemberResponse
>
make
User
make
User
(
staffID
:
string
, makeUserObj
:
MakeUserRequest
)
:
Promise
<
StaffMemberResponse
>
Parameters
staffID:
string
makeUserObj:
MakeUserRequest
Returns
Promise
<
StaffMemberResponse
>
meta
meta
(
query
?:
StaffQueryOrOptions
)
:
Promise
<
StaffMemberResponse
>
Parameters
Optional
query:
StaffQueryOrOptions
Returns
Promise
<
StaffMemberResponse
>
put
put
(
staffId
:
string
, staff
:
StaffMember
)
:
Promise
<
StaffMemberResponse
>
Parameters
staffId:
string
staff:
StaffMember
Returns
Promise
<
StaffMemberResponse
>
search
search
(
query
:
string
|
SearchQuery
)
:
Promise
<
StaffMemberResponse
>
Parameters
query:
string
|
SearchQuery
Returns
Promise
<
StaffMemberResponse
>
Generated using
TypeDoc