mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Merge pull request #27215 from overleaf/rh-stripe-pause-status
Update features and subscription state when Stripe pause starts and ends GitOrigin-RevId: 368f5d9b046cfe26e996be336189081b96926713
This commit is contained in:
@@ -74,6 +74,14 @@ export type PaymentIntentPaymentFailedWebhookEvent = {
|
||||
request: Stripe.Event.Request
|
||||
}
|
||||
|
||||
export type InvoiceVoidedWebhookEvent = {
|
||||
type: 'invoice.voided'
|
||||
data: {
|
||||
object: Stripe.Invoice
|
||||
}
|
||||
request: Stripe.Event.Request
|
||||
}
|
||||
|
||||
export type CustomerSubscriptionWebhookEvent =
|
||||
| CustomerSubscriptionUpdatedWebhookEvent
|
||||
| CustomerSubscriptionCreatedWebhookEvent
|
||||
@@ -82,4 +90,5 @@ export type CustomerSubscriptionWebhookEvent =
|
||||
export type WebhookEvent =
|
||||
| CustomerSubscriptionWebhookEvent
|
||||
| InvoicePaidWebhookEvent
|
||||
| InvoiceVoidedWebhookEvent
|
||||
| PaymentIntentPaymentFailedWebhookEvent
|
||||
|
||||
Reference in New Issue
Block a user