Skip to content

ESPRMAdminWebhook

Defined in: src/ESPRMAdminWebhook.ts:11

Shell class for admin webhook integration operations. Methods are added via prototype augmentation in methods/ESPRMAdminWebhook/*.

new ESPRMAdminWebhook(): ESPRMAdminWebhook

ESPRMAdminWebhook

createWebhookIntegration(params): Promise<ESPAPISuccessResponse>

Defined in: src/methods/ESPRMAdminWebhook/CreateWebhookIntegration.ts:27

Creates a new webhook integration for the deployment.

CreateWebhookIntegrationRequest

The webhook integration configuration including service name and endpoint.

Promise<ESPAPISuccessResponse>

A success response confirming the webhook integration was created.


deleteWebhookEventMapping(params): Promise<ESPAPISuccessResponse>

Defined in: src/methods/ESPRMAdminWebhook/DeleteWebhookEventMapping.ts:27

Deletes a webhook event mapping identified by webhook name and event name.

DeleteWebhookEventMappingParams

The parameters identifying the event mapping to delete.

Promise<ESPAPISuccessResponse>

A success response confirming the event mapping was deleted.


deleteWebhookIntegration(params): Promise<ESPAPISuccessResponse>

Defined in: src/methods/ESPRMAdminWebhook/DeleteWebhookIntegration.ts:27

Deletes a webhook integration identified by service name and endpoint.

DeleteWebhookIntegrationParams

The parameters identifying the webhook integration to delete.

Promise<ESPAPISuccessResponse>

A success response confirming the webhook integration was deleted.


getWebhookEventMapping(params?): Promise<GetWebhookEventMappingResponse>

Defined in: src/methods/ESPRMAdminWebhook/GetWebhookEventMapping.ts:22

Retrieves the event-to-webhook mapping configuration.

GetWebhookEventMappingParams

Optional filtering parameters for the event mapping query.

Promise<GetWebhookEventMappingResponse>

The response containing webhook event mapping details.


getWebhookIntegrations(params?): Promise<GetWebhookIntegrationsResponse>

Defined in: src/methods/ESPRMAdminWebhook/GetWebhookIntegrations.ts:22

Retrieves the list of configured webhook integrations.

GetWebhookIntegrationsParams

Optional filtering parameters for the webhook integrations query.

Promise<GetWebhookIntegrationsResponse>

The response containing webhook integration details.


updateWebhookEventMapping(params): Promise<ESPAPISuccessResponse>

Defined in: src/methods/ESPRMAdminWebhook/UpdateWebhookEventMapping.ts:27

Updates an existing webhook event mapping configuration.

UpdateWebhookEventMappingRequest

The updated event mapping details including webhook name and event name.

Promise<ESPAPISuccessResponse>

A success response confirming the event mapping was updated.


updateWebhookIntegration(params): Promise<ESPAPISuccessResponse>

Defined in: src/methods/ESPRMAdminWebhook/UpdateWebhookIntegration.ts:27

Updates an existing webhook integration configuration.

UpdateWebhookIntegrationRequest

The updated webhook integration details including service name and endpoint.

Promise<ESPAPISuccessResponse>

A success response confirming the webhook integration was updated.