Merge pull request #36496 from overleaf/oa-annual-events

[web] Subscription event segmentation

GitOrigin-RevId: fdc25ac7bc7320ed82617b7c27c12a17eb31d723
This commit is contained in:
Olzhas Askar
2026-09-17 11:59:20 +00:00
committed by Copybot
parent ba4e6ef8ed
commit 6053781e57
14 changed files with 305 additions and 47 deletions
+1 -8
View File
@@ -22,14 +22,7 @@ export interface CustomerSubscriptionUpdatedWebhookEvent
cancel_at?: number | null // will only be present if the subscription was cancelled or reactivated
items?: {
// will be present if the subscription was downgraded, upgraded, or renewed
data: [
{
price: {
id: string
}
quantity: number
},
]
data: Stripe.SubscriptionItem[]
}
status?: Stripe.Subscription.Status
metadata?: Record<string, string>