From 72b8a70da2b49d767aa0262fe4095adf4523e469 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 2 Aug 2023 10:41:14 -0300 Subject: fix #7830 --- packages/merchant-backoffice-ui/src/declaration.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/merchant-backoffice-ui/src/declaration.d.ts') diff --git a/packages/merchant-backoffice-ui/src/declaration.d.ts b/packages/merchant-backoffice-ui/src/declaration.d.ts index 8afa2f781..db3122266 100644 --- a/packages/merchant-backoffice-ui/src/declaration.d.ts +++ b/packages/merchant-backoffice-ui/src/declaration.d.ts @@ -1331,12 +1331,13 @@ export namespace MerchantBackend { } namespace Webhooks { + type MerchantWebhookType = "pay" | "refund"; interface WebhookAddDetails { // Webhook ID to use. webhook_id: string; // The event of the webhook: why the webhook is used. - event_type: string; + event_type: MerchantWebhookType; // URL of the webhook where the customer will be redirected. url: string; -- cgit v1.2.3