From 4e4c6010dbc470349d00d9002be5612bf2cba5c9 Mon Sep 17 00:00:00 2001 From: Kristina <7614497+khjrtbrg@users.noreply.github.com> Date: Wed, 19 Nov 2025 09:43:38 +0100 Subject: [PATCH] [web] rm unused SetupIntentSucceededWebhookEvent (#29708) GitOrigin-RevId: 9c8cd77c84be66c2032d89b3b4c65ce999c9ccbe --- services/web/types/stripe/webhook-event.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/services/web/types/stripe/webhook-event.ts b/services/web/types/stripe/webhook-event.ts index edc588c1a6..798725102c 100644 --- a/services/web/types/stripe/webhook-event.ts +++ b/services/web/types/stripe/webhook-event.ts @@ -93,19 +93,6 @@ export interface SetupIntentSetupFailedWebhookEvent extends Stripe.EventBase { } } -export interface SetupIntentSucceededWebhookEvent extends Stripe.EventBase { - type: 'setup_intent.succeeded' - data: { - object: Stripe.SetupIntent & { - metadata: { - userId?: string - isTrial?: string - checkoutSource?: 'hosted-checkout' | 'elements-checkout' | undefined - } - } - } -} - export interface InvoiceVoidedWebhookEvent extends Stripe.EventBase { type: 'invoice.voided' data: { @@ -149,7 +136,6 @@ export type WebhookEvent = | InvoiceVoidedWebhookEvent | PaymentIntentPaymentFailedWebhookEvent | SetupIntentSetupFailedWebhookEvent - | SetupIntentSucceededWebhookEvent | InvoiceOverdueWebhookEvent | CheckoutSessionCompletedWebhookEvent | CustomerCreatedWebhookEvent