@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Branch
Creation
Failed
Branch
Delete
Failed
Branch
Fetch
Failed
Branch
Put
Failed
Branches
constructor
endpoint
http
options
uri
Helper
base
Endpoint
count
create
delete
get
get
All
get
Unique
External
Id
put
search
Branches
Count
Failed
Branches
Fetch
Failed
Branches
Search
Failed
External
Custom
IdGet
Unique
Failed
Branch
Branch
Response
Branches
Options
Branches
Query
Branches
Response
External
Custom
IdQuery
External
Custom
IdResponse
Search
Query
Hierarchy
ThBaseHandler
Branches
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
count
create
delete
get
get
All
get
Unique
External
Id
put
search
Constructors
constructor
new
Branches
(
options
:
BranchesOptions
, http
:
Client
)
:
Branches
Parameters
options:
BranchesOptions
http:
Client
Returns
Branches
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
BranchesOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/branches'
Methods
count
count
(
)
:
Promise
<
BranchesResponse
>
Returns
Promise
<
BranchesResponse
>
create
create
(
branch
:
Branch
)
:
Promise
<
BranchResponse
>
Parameters
branch:
Branch
Returns
Promise
<
BranchResponse
>
delete
delete
(
branchId
:
string
)
:
Promise
<
BranchResponse
>
Parameters
branchId:
string
Returns
Promise
<
BranchResponse
>
get
get
(
branchId
:
string
)
:
Promise
<
BranchResponse
>
Parameters
branchId:
string
Returns
Promise
<
BranchResponse
>
get
All
get
All
(
queryOrOptions
?:
BranchesQuery
)
:
Promise
<
BranchesResponse
>
Parameters
Optional
queryOrOptions:
BranchesQuery
Returns
Promise
<
BranchesResponse
>
get
Unique
External
Id
get
Unique
External
Id
(
query
:
ExternalCustomIdQuery
)
:
Promise
<
BranchResponse
>
Parameters
query:
ExternalCustomIdQuery
Returns
Promise
<
BranchResponse
>
put
put
(
branchId
:
string
, branch
:
Branch
)
:
Promise
<
BranchResponse
>
Parameters
branchId:
string
branch:
Branch
Returns
Promise
<
BranchResponse
>
search
search
(
query
:
string
|
SearchQuery
)
:
Promise
<
BranchResponse
>
Parameters
query:
string
|
SearchQuery
Returns
Promise
<
BranchResponse
>
Generated using
TypeDoc