Skip to main content

WebhookApiClientInterface

Methods

createWebhookEndpoint()

createWebhookEndpoint(params, config?): Promise<SCWebhookEndpointType>

Parameters

ParameterType
paramsWebhookParamType
config?AxiosRequestConfig<any>

Returns

Promise<SCWebhookEndpointType>

Source

services/webhook/index.ts:11


deleteWebhookEndpoint()

deleteWebhookEndpoint(id, config?): Promise<any>

Parameters

ParameterType
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<any>

Source

services/webhook/index.ts:15


expireWebhookSigningSecret()

expireWebhookSigningSecret(id, config?): Promise<SCWebhookEndpointType>

Parameters

ParameterType
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<SCWebhookEndpointType>

Source

services/webhook/index.ts:17


getASpecificWebhookEndpoint()

getASpecificWebhookEndpoint(id, config?): Promise<SCWebhookEndpointType>

Parameters

ParameterType
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<SCWebhookEndpointType>

Source

services/webhook/index.ts:12


getAllWebhookEndpointAttempts()

getAllWebhookEndpointAttempts(id, config?): Promise <SCPaginatedResponse<SCWebhookEndpointAttemptType>>

Parameters

ParameterType
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCWebhookEndpointAttemptType>>

Source

services/webhook/index.ts:16


getAllWebhookEndpoints()

getAllWebhookEndpoints(config?): Promise <SCPaginatedResponse<SCWebhookEndpointType>>

Parameters

ParameterType
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCWebhookEndpointType>>

Source

services/webhook/index.ts:9


getAllWebhookEvents()

getAllWebhookEvents(config?): Promise<string[]>

Parameters

ParameterType
config?AxiosRequestConfig<any>

Returns

Promise<string[]>

Source

services/webhook/index.ts:10


resendMultipleWebhookEndpointEvent()

resendMultipleWebhookEndpointEvent(id, event, config?): Promise<any>

Parameters

ParameterType
idstring | number
eventnumber[]
config?AxiosRequestConfig<any>

Returns

Promise<any>

Source

services/webhook/index.ts:20


resendWebhookEndpointEvent()

resendWebhookEndpointEvent(id, event, config?): Promise<any>

Parameters

ParameterType
idstring | number
eventnumber
config?AxiosRequestConfig<any>

Returns

Promise<any>

Source

services/webhook/index.ts:19


revealWebhookSigningSecret()

revealWebhookSigningSecret(id, config?): Promise<SCWebhookEndpointSecretType>

Parameters

ParameterType
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<SCWebhookEndpointSecretType>

Source

services/webhook/index.ts:18


updateASingleWebhookEndpointField()

updateASingleWebhookEndpointField(id, params, config?): Promise<SCWebhookEndpointType>

Parameters

ParameterType
idstring | number
paramsWebhookParamType
config?AxiosRequestConfig<any>

Returns

Promise<SCWebhookEndpointType>

Source

services/webhook/index.ts:14


updateASpecificWebhookEndpoint()

updateASpecificWebhookEndpoint(id, params, config?): Promise<SCWebhookEndpointType>

Parameters

ParameterType
idstring | number
paramsWebhookParamType
config?AxiosRequestConfig<any>

Returns

Promise<SCWebhookEndpointType>

Source

services/webhook/index.ts:13