@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Webhooks
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
put
Webhook
Webhook
Query
Webhook
Response
Webhooks
Options
Hierarchy
ThBaseHandler
Webhooks
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
put
Constructors
constructor
new
Webhooks
(
options
:
WebhooksOptions
, http
:
Client
)
:
Webhooks
Parameters
options:
WebhooksOptions
http:
Client
Returns
Webhooks
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
WebhooksOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/webhooks'
Methods
create
create
(
webhook
:
Webhook
)
:
Promise
<
WebhookResponse
>
Parameters
webhook:
Webhook
Returns
Promise
<
WebhookResponse
>
delete
delete
(
webhookId
:
string
)
:
Promise
<
WebhookResponse
>
Parameters
webhookId:
string
Returns
Promise
<
WebhookResponse
>
get
get
(
webhookId
:
string
)
:
Promise
<
WebhookResponse
>
Parameters
webhookId:
string
Returns
Promise
<
WebhookResponse
>
get
All
get
All
(
query
?:
WebhookQuery
)
:
Promise
<
WebhookResponse
>
Parameters
Optional
query:
WebhookQuery
Returns
Promise
<
WebhookResponse
>
put
put
(
webhookId
:
string
, webhook
:
Webhook
)
:
Promise
<
WebhookResponse
>
Parameters
webhookId:
string
webhook:
Webhook
Returns
Promise
<
WebhookResponse
>
Generated using
TypeDoc