mailgun.js / Modules / definitions / Interfaces / IWebHooksClient
definitions.Interfaces.IWebHooksClient
▸ create(domain
, id
, url
, test
): Promise
<WebhookValidationResponse
| WebhookResult
>
Name | Type |
---|---|
domain |
string |
id |
string |
url |
string |
test |
boolean |
Promise
<WebhookValidationResponse
| WebhookResult
>
Interfaces/Webhooks/IWebHooksClient.ts:14
▸ destroy(domain
, id
): Promise
<WebhookResult
>
Name | Type |
---|---|
domain |
string |
id |
string |
Promise
<WebhookResult
>
Interfaces/Webhooks/IWebHooksClient.ts:20
▸ get(domain
, id
): Promise
<WebhookResult
>
Name | Type |
---|---|
domain |
string |
id |
WebhooksIds |
Promise
<WebhookResult
>
Interfaces/Webhooks/IWebHooksClient.ts:13
▸ list(domain
, query
): Promise
<WebhookList
>
Name | Type |
---|---|
domain |
string |
query |
WebhooksQuery |
Promise
<WebhookList
>
Interfaces/Webhooks/IWebHooksClient.ts:12
▸ update(domain
, id
, url
): Promise
<WebhookResult
>
Name | Type |
---|---|
domain |
string |
id |
string |
url |
string | string [] |
Promise
<WebhookResult
>