mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 21:01:33 +02:00
Merge pull request #25560 from overleaf/mf-stripe-analytics-invoice-event
[web] Handle stripe analytics for the `subscription-invoice-collected` event GitOrigin-RevId: cba56db820cac92a66307a05350c779e1198cbf3
This commit is contained in:
@@ -48,7 +48,18 @@ export type CustomerSubscriptionsDeletedWebhookEvent = {
|
||||
}
|
||||
}
|
||||
|
||||
export type InvoicePaidWebhookEvent = {
|
||||
type: 'invoice.paid'
|
||||
data: {
|
||||
object: Stripe.Invoice
|
||||
}
|
||||
}
|
||||
|
||||
export type CustomerSubscriptionWebhookEvent =
|
||||
| CustomerSubscriptionUpdatedWebhookEvent
|
||||
| CustomerSubscriptionCreatedWebhookEvent
|
||||
| CustomerSubscriptionsDeletedWebhookEvent
|
||||
|
||||
export type WebhookEvent =
|
||||
| CustomerSubscriptionWebhookEvent
|
||||
| InvoicePaidWebhookEvent
|
||||
|
||||
Reference in New Issue
Block a user