mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
[web] rm unused SetupIntentSucceededWebhookEvent (#29708)
GitOrigin-RevId: 9c8cd77c84be66c2032d89b3b4c65ce999c9ccbe
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user