|
@@ -1,5 +1,10 @@
|
|
|
|
|
+type StripeWebhookEventType =
|
|
|
|
|
+ | 'customer.subscription.created'
|
|
|
|
|
+ | 'customer.subscription.updated'
|
|
|
|
|
+ | 'customer.subscription.deleted'
|
|
|
|
|
+
|
|
|
export type CustomerSubscriptionWebhookEvent = {
|
|
export type CustomerSubscriptionWebhookEvent = {
|
|
|
- type: 'customer.subscription.created'
|
|
|
|
|
|
|
+ type: StripeWebhookEventType
|
|
|
data: {
|
|
data: {
|
|
|
object: {
|
|
object: {
|
|
|
id: string
|
|
id: string
|