WebhookApiClientInterface
Methods
createWebhookEndpoint()
createWebhookEndpoint(
params
,config
?):Promise
<SCWebhookEndpointType
>
Parameters
Parameter | Type |
---|---|
params | WebhookParamType |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCWebhookEndpointType
>
Source
deleteWebhookEndpoint()
deleteWebhookEndpoint(
id
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
expireWebhookSigningSecret()
expireWebhookSigningSecret(
id
,config
?):Promise
<SCWebhookEndpointType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCWebhookEndpointType
>
Source
getASpecificWebhookEndpoint()
getASpecificWebhookEndpoint(
id
,config
?):Promise
<SCWebhookEndpointType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCWebhookEndpointType
>
Source
getAllWebhookEndpointAttempts()
getAllWebhookEndpointAttempts(
id
,config
?):Promise
<SCPaginatedResponse
<SCWebhookEndpointAttemptType
>>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCWebhookEndpointAttemptType
>>
Source
getAllWebhookEndpoints()
getAllWebhookEndpoints(
config
?):Promise
<SCPaginatedResponse
<SCWebhookEndpointType
>>
Parameters
Parameter | Type |
---|---|
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCPaginatedResponse
<SCWebhookEndpointType
>>
Source
getAllWebhookEvents()
getAllWebhookEvents(
config
?):Promise
<string
[]>
Parameters
Parameter | Type |
---|---|
config ? | AxiosRequestConfig <any > |
Returns
Promise
<string
[]>
Source
resendMultipleWebhookEndpointEvent()
resendMultipleWebhookEndpointEvent(
id
,event
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
event | number [] |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
resendWebhookEndpointEvent()
resendWebhookEndpointEvent(
id
,event
,config
?):Promise
<any
>
Parameters
Parameter | Type |
---|---|
id | string | number |
event | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<any
>
Source
revealWebhookSigningSecret()
revealWebhookSigningSecret(
id
,config
?):Promise
<SCWebhookEndpointSecretType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCWebhookEndpointSecretType
>
Source
updateASingleWebhookEndpointField()
updateASingleWebhookEndpointField(
id
,params
,config
?):Promise
<SCWebhookEndpointType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
params | WebhookParamType |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCWebhookEndpointType
>
Source
updateASpecificWebhookEndpoint()
updateASpecificWebhookEndpoint(
id
,params
,config
?):Promise
<SCWebhookEndpointType
>
Parameters
Parameter | Type |
---|---|
id | string | number |
params | WebhookParamType |
config ? | AxiosRequestConfig <any > |
Returns
Promise
<SCWebhookEndpointType
>