stripe 16.9.0-beta.1 → 16.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. package/CHANGELOG.md +132 -809
  2. package/README.md +0 -33
  3. package/VERSION +1 -1
  4. package/cjs/RequestSender.js +5 -66
  5. package/cjs/StripeResource.js +1 -1
  6. package/cjs/apiVersion.js +1 -2
  7. package/cjs/multipart.js +1 -1
  8. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  9. package/cjs/resources/Invoices.js +0 -17
  10. package/cjs/resources/OAuth.js +1 -1
  11. package/cjs/resources/PaymentIntents.js +0 -4
  12. package/cjs/resources/Quotes.js +0 -32
  13. package/cjs/resources/SubscriptionSchedules.js +0 -4
  14. package/cjs/resources/Terminal/Readers.js +0 -12
  15. package/cjs/resources.js +10 -40
  16. package/cjs/stripe.core.js +3 -6
  17. package/cjs/utils.js +4 -33
  18. package/esm/RequestSender.js +6 -67
  19. package/esm/StripeResource.js +2 -2
  20. package/esm/apiVersion.js +0 -1
  21. package/esm/multipart.js +2 -2
  22. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  23. package/esm/resources/Invoices.js +0 -17
  24. package/esm/resources/OAuth.js +2 -2
  25. package/esm/resources/PaymentIntents.js +0 -4
  26. package/esm/resources/Quotes.js +0 -32
  27. package/esm/resources/SubscriptionSchedules.js +0 -4
  28. package/esm/resources/Terminal/Readers.js +0 -12
  29. package/esm/resources.js +0 -26
  30. package/esm/stripe.core.js +3 -6
  31. package/esm/utils.js +2 -30
  32. package/package.json +1 -1
  33. package/types/AccountLinksResource.d.ts +2 -6
  34. package/types/AccountSessions.d.ts +0 -45
  35. package/types/AccountSessionsResource.d.ts +0 -260
  36. package/types/Accounts.d.ts +1 -106
  37. package/types/AccountsResource.d.ts +0 -246
  38. package/types/Charges.d.ts +3 -68
  39. package/types/ChargesResource.d.ts +6 -1296
  40. package/types/Checkout/Sessions.d.ts +6 -186
  41. package/types/Checkout/SessionsResource.d.ts +9 -351
  42. package/types/ConfirmationTokens.d.ts +0 -62
  43. package/types/Coupons.d.ts +1 -1
  44. package/types/CouponsResource.d.ts +1 -1
  45. package/types/CreditNotes.d.ts +0 -21
  46. package/types/CreditNotesResource.d.ts +0 -51
  47. package/types/CustomerSessions.d.ts +4 -0
  48. package/types/CustomersResource.d.ts +4 -4
  49. package/types/Disputes.d.ts +0 -158
  50. package/types/DisputesResource.d.ts +0 -120
  51. package/types/EventTypes.d.ts +0 -460
  52. package/types/Events.d.ts +0 -85
  53. package/types/FileLinksResource.d.ts +1 -1
  54. package/types/Files.d.ts +1 -0
  55. package/types/FilesResource.d.ts +3 -1
  56. package/types/FinancialConnections/Accounts.d.ts +1 -29
  57. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  58. package/types/FinancialConnections/Sessions.d.ts +1 -49
  59. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  60. package/types/InvoiceItems.d.ts +0 -5
  61. package/types/InvoiceItemsResource.d.ts +0 -98
  62. package/types/InvoiceLineItems.d.ts +3 -23
  63. package/types/Invoices.d.ts +3 -117
  64. package/types/InvoicesResource.d.ts +1759 -5414
  65. package/types/Issuing/CardholdersResource.d.ts +1 -2
  66. package/types/Issuing/Cards.d.ts +1 -1
  67. package/types/LineItems.d.ts +1 -8
  68. package/types/Mandates.d.ts +0 -77
  69. package/types/PaymentIntents.d.ts +4 -488
  70. package/types/PaymentIntentsResource.d.ts +3460 -6970
  71. package/types/PaymentLinks.d.ts +0 -1
  72. package/types/PaymentLinksResource.d.ts +8 -6
  73. package/types/PaymentMethodConfigurations.d.ts +0 -36
  74. package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
  75. package/types/PaymentMethods.d.ts +0 -62
  76. package/types/PaymentMethodsResource.d.ts +0 -110
  77. package/types/Prices.d.ts +0 -22
  78. package/types/PricesResource.d.ts +0 -22
  79. package/types/Products.d.ts +0 -39
  80. package/types/ProductsResource.d.ts +0 -36
  81. package/types/Quotes.d.ts +1 -596
  82. package/types/QuotesResource.d.ts +266 -3175
  83. package/types/SetupAttempts.d.ts +0 -9
  84. package/types/SetupIntents.d.ts +1 -110
  85. package/types/SetupIntentsResource.d.ts +3 -498
  86. package/types/Sources.d.ts +0 -23
  87. package/types/SubscriptionItems.d.ts +0 -21
  88. package/types/SubscriptionItemsResource.d.ts +0 -109
  89. package/types/SubscriptionSchedules.d.ts +0 -200
  90. package/types/SubscriptionSchedulesResource.d.ts +15 -1233
  91. package/types/Subscriptions.d.ts +1 -82
  92. package/types/SubscriptionsResource.d.ts +4 -349
  93. package/types/Tax/Calculations.d.ts +2 -1
  94. package/types/Tax/CalculationsResource.d.ts +3 -2
  95. package/types/Tax/Transactions.d.ts +2 -1
  96. package/types/TaxIds.d.ts +2 -1
  97. package/types/TaxIdsResource.d.ts +2 -1
  98. package/types/Terminal/Readers.d.ts +0 -278
  99. package/types/Terminal/ReadersResource.d.ts +0 -208
  100. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -55
  101. package/types/TestHelpers/TestClocks.d.ts +15 -0
  102. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  103. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  104. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  105. package/types/Treasury/FinancialAccountsResource.d.ts +0 -10
  106. package/types/Treasury/InboundTransfers.d.ts +3 -1
  107. package/types/Treasury/OutboundPayments.d.ts +3 -1
  108. package/types/Treasury/OutboundTransfers.d.ts +3 -27
  109. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  110. package/types/Treasury/ReceivedCredits.d.ts +3 -27
  111. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  112. package/types/Treasury/TransactionEntries.d.ts +9 -3
  113. package/types/Treasury/Transactions.d.ts +9 -3
  114. package/types/WebhookEndpointsResource.d.ts +0 -54
  115. package/types/Webhooks.d.ts +37 -28
  116. package/types/index.d.ts +0 -67
  117. package/types/lib.d.ts +0 -12
  118. package/cjs/resources/AccountNotices.js +0 -21
  119. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  120. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  121. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  122. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  123. package/cjs/resources/GiftCards/Cards.js +0 -23
  124. package/cjs/resources/GiftCards/Transactions.js +0 -33
  125. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  126. package/cjs/resources/Margins.js +0 -22
  127. package/cjs/resources/Orders.js +0 -24
  128. package/cjs/resources/QuotePhases.js +0 -22
  129. package/cjs/resources/Tax/Associations.js +0 -9
  130. package/cjs/resources/Tax/Forms.js +0 -20
  131. package/esm/resources/AccountNotices.js +0 -18
  132. package/esm/resources/Capital/FinancingOffers.js +0 -18
  133. package/esm/resources/Capital/FinancingSummary.js +0 -9
  134. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  135. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  136. package/esm/resources/GiftCards/Cards.js +0 -20
  137. package/esm/resources/GiftCards/Transactions.js +0 -30
  138. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  139. package/esm/resources/Margins.js +0 -19
  140. package/esm/resources/Orders.js +0 -21
  141. package/esm/resources/QuotePhases.js +0 -19
  142. package/esm/resources/Tax/Associations.js +0 -6
  143. package/esm/resources/Tax/Forms.js +0 -17
  144. package/types/AccountNotices.d.ts +0 -113
  145. package/types/AccountNoticesResource.d.ts +0 -98
  146. package/types/Capital/FinancingOffers.d.ts +0 -188
  147. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  148. package/types/Capital/FinancingSummary.d.ts +0 -106
  149. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  150. package/types/Capital/FinancingTransactions.d.ts +0 -135
  151. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  152. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  153. package/types/FinancialConnections/Institutions.d.ts +0 -93
  154. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  155. package/types/GiftCards/Cards.d.ts +0 -118
  156. package/types/GiftCards/CardsResource.d.ts +0 -159
  157. package/types/GiftCards/Transactions.d.ts +0 -129
  158. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  159. package/types/InvoicePayments.d.ts +0 -138
  160. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -446
  161. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1017
  162. package/types/Margins.d.ts +0 -56
  163. package/types/MarginsResource.d.ts +0 -114
  164. package/types/Orders.d.ts +0 -1083
  165. package/types/OrdersResource.d.ts +0 -2763
  166. package/types/QuoteLines.d.ts +0 -634
  167. package/types/QuotePhases.d.ts +0 -198
  168. package/types/QuotePhasesResource.d.ts +0 -67
  169. package/types/QuotePreviewInvoices.d.ts +0 -1530
  170. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
  171. package/types/Tax/Associations.d.ts +0 -126
  172. package/types/Tax/AssociationsResource.d.ts +0 -29
  173. package/types/Tax/Forms.d.ts +0 -133
  174. package/types/Tax/FormsResource.d.ts +0 -90
@@ -9,8 +9,6 @@ declare module 'stripe' {
9
9
  | AccountExternalAccountDeletedEvent
10
10
  | AccountExternalAccountUpdatedEvent
11
11
  | AccountUpdatedEvent
12
- | AccountNoticeCreatedEvent
13
- | AccountNoticeUpdatedEvent
14
12
  | ApplicationFeeCreatedEvent
15
13
  | ApplicationFeeRefundUpdatedEvent
16
14
  | ApplicationFeeRefundedEvent
@@ -20,15 +18,6 @@ declare module 'stripe' {
20
18
  | BillingPortalConfigurationUpdatedEvent
21
19
  | BillingPortalSessionCreatedEvent
22
20
  | CapabilityUpdatedEvent
23
- | CapitalFinancingOfferAcceptedEvent
24
- | CapitalFinancingOfferCanceledEvent
25
- | CapitalFinancingOfferCreatedEvent
26
- | CapitalFinancingOfferExpiredEvent
27
- | CapitalFinancingOfferFullyRepaidEvent
28
- | CapitalFinancingOfferPaidOutEvent
29
- | CapitalFinancingOfferRejectedEvent
30
- | CapitalFinancingOfferReplacementCreatedEvent
31
- | CapitalFinancingTransactionCreatedEvent
32
21
  | CashBalanceFundsAvailableEvent
33
22
  | ChargeCapturedEvent
34
23
  | ChargeDisputeClosedEvent
@@ -69,15 +58,11 @@ declare module 'stripe' {
69
58
  | CustomerSourceDeletedEvent
70
59
  | CustomerSourceExpiringEvent
71
60
  | CustomerSourceUpdatedEvent
72
- | CustomerSubscriptionCollectionPausedEvent
73
- | CustomerSubscriptionCollectionResumedEvent
74
61
  | CustomerSubscriptionCreatedEvent
75
- | CustomerSubscriptionCustomEventEvent
76
62
  | CustomerSubscriptionDeletedEvent
77
63
  | CustomerSubscriptionPausedEvent
78
64
  | CustomerSubscriptionPendingUpdateAppliedEvent
79
65
  | CustomerSubscriptionPendingUpdateExpiredEvent
80
- | CustomerSubscriptionPriceMigrationFailedEvent
81
66
  | CustomerSubscriptionResumedEvent
82
67
  | CustomerSubscriptionTrialWillEndEvent
83
68
  | CustomerSubscriptionUpdatedEvent
@@ -93,10 +78,8 @@ declare module 'stripe' {
93
78
  | FinancialConnectionsAccountDisconnectedEvent
94
79
  | FinancialConnectionsAccountReactivatedEvent
95
80
  | FinancialConnectionsAccountRefreshedBalanceEvent
96
- | FinancialConnectionsAccountRefreshedInferredBalancesEvent
97
81
  | FinancialConnectionsAccountRefreshedOwnershipEvent
98
82
  | FinancialConnectionsAccountRefreshedTransactionsEvent
99
- | FinancialConnectionsSessionUpdatedEvent
100
83
  | IdentityVerificationSessionCanceledEvent
101
84
  | IdentityVerificationSessionCreatedEvent
102
85
  | IdentityVerificationSessionProcessingEvent
@@ -110,7 +93,6 @@ declare module 'stripe' {
110
93
  | InvoiceMarkedUncollectibleEvent
111
94
  | InvoiceOverdueEvent
112
95
  | InvoicePaidEvent
113
- | InvoicePaymentOverpaidEvent
114
96
  | InvoicePaymentActionRequiredEvent
115
97
  | InvoicePaymentFailedEvent
116
98
  | InvoicePaymentSucceededEvent
@@ -177,16 +159,10 @@ declare module 'stripe' {
177
159
  | ProductUpdatedEvent
178
160
  | PromotionCodeCreatedEvent
179
161
  | PromotionCodeUpdatedEvent
180
- | QuoteAcceptFailedEvent
181
162
  | QuoteAcceptedEvent
182
- | QuoteAcceptingEvent
183
163
  | QuoteCanceledEvent
184
164
  | QuoteCreatedEvent
185
- | QuoteDraftEvent
186
165
  | QuoteFinalizedEvent
187
- | QuoteReestimateFailedEvent
188
- | QuoteReestimatedEvent
189
- | QuoteStaleEvent
190
166
  | RadarEarlyFraudWarningCreatedEvent
191
167
  | RadarEarlyFraudWarningUpdatedEvent
192
168
  | RefundCreatedEvent
@@ -214,16 +190,13 @@ declare module 'stripe' {
214
190
  | SubscriptionScheduleCompletedEvent
215
191
  | SubscriptionScheduleCreatedEvent
216
192
  | SubscriptionScheduleExpiringEvent
217
- | SubscriptionSchedulePriceMigrationFailedEvent
218
193
  | SubscriptionScheduleReleasedEvent
219
194
  | SubscriptionScheduleUpdatedEvent
220
- | TaxFormUpdatedEvent
221
195
  | TaxSettingsUpdatedEvent
222
196
  | TaxRateCreatedEvent
223
197
  | TaxRateUpdatedEvent
224
198
  | TerminalReaderActionFailedEvent
225
199
  | TerminalReaderActionSucceededEvent
226
- | TerminalReaderActionUpdatedEvent
227
200
  | TestHelpersTestClockAdvancingEvent
228
201
  | TestHelpersTestClockCreatedEvent
229
202
  | TestHelpersTestClockDeletedEvent
@@ -364,38 +337,6 @@ declare module 'stripe' {
364
337
  }
365
338
  }
366
339
 
367
- /**
368
- * Occurs whenever an AccountNotice is created.
369
- */
370
- interface AccountNoticeCreatedEvent extends EventBase {
371
- type: 'account_notice.created';
372
- data: AccountNoticeCreatedEvent.Data;
373
- }
374
-
375
- namespace AccountNoticeCreatedEvent {
376
- interface Data extends Stripe.Event.Data {
377
- object: Stripe.AccountNotice;
378
-
379
- previous_attributes?: Partial<Stripe.AccountNotice>;
380
- }
381
- }
382
-
383
- /**
384
- * Occurs whenever an AccountNotice is updated.
385
- */
386
- interface AccountNoticeUpdatedEvent extends EventBase {
387
- type: 'account_notice.updated';
388
- data: AccountNoticeUpdatedEvent.Data;
389
- }
390
-
391
- namespace AccountNoticeUpdatedEvent {
392
- interface Data extends Stripe.Event.Data {
393
- object: Stripe.AccountNotice;
394
-
395
- previous_attributes?: Partial<Stripe.AccountNotice>;
396
- }
397
- }
398
-
399
340
  /**
400
341
  * Occurs whenever an application fee is created on a charge.
401
342
  */
@@ -540,150 +481,6 @@ declare module 'stripe' {
540
481
  }
541
482
  }
542
483
 
543
- /**
544
- * Occurs whenever a connected account accepts a financing offer.
545
- */
546
- interface CapitalFinancingOfferAcceptedEvent extends EventBase {
547
- type: 'capital.financing_offer.accepted';
548
- data: CapitalFinancingOfferAcceptedEvent.Data;
549
- }
550
-
551
- namespace CapitalFinancingOfferAcceptedEvent {
552
- interface Data extends Stripe.Event.Data {
553
- object: Stripe.Capital.FinancingOffer;
554
-
555
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
556
- }
557
- }
558
-
559
- /**
560
- * Occurs whenever a financing offer is canceled.
561
- */
562
- interface CapitalFinancingOfferCanceledEvent extends EventBase {
563
- type: 'capital.financing_offer.canceled';
564
- data: CapitalFinancingOfferCanceledEvent.Data;
565
- }
566
-
567
- namespace CapitalFinancingOfferCanceledEvent {
568
- interface Data extends Stripe.Event.Data {
569
- object: Stripe.Capital.FinancingOffer;
570
-
571
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
572
- }
573
- }
574
-
575
- /**
576
- * Occurs whenever a new financing offer is created for a connected account.
577
- */
578
- interface CapitalFinancingOfferCreatedEvent extends EventBase {
579
- type: 'capital.financing_offer.created';
580
- data: CapitalFinancingOfferCreatedEvent.Data;
581
- }
582
-
583
- namespace CapitalFinancingOfferCreatedEvent {
584
- interface Data extends Stripe.Event.Data {
585
- object: Stripe.Capital.FinancingOffer;
586
-
587
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
588
- }
589
- }
590
-
591
- /**
592
- * Occurs whenever a financing offer expires.
593
- */
594
- interface CapitalFinancingOfferExpiredEvent extends EventBase {
595
- type: 'capital.financing_offer.expired';
596
- data: CapitalFinancingOfferExpiredEvent.Data;
597
- }
598
-
599
- namespace CapitalFinancingOfferExpiredEvent {
600
- interface Data extends Stripe.Event.Data {
601
- object: Stripe.Capital.FinancingOffer;
602
-
603
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
604
- }
605
- }
606
-
607
- /**
608
- * Occurs whenever a financing offer is fully repaid.
609
- */
610
- interface CapitalFinancingOfferFullyRepaidEvent extends EventBase {
611
- type: 'capital.financing_offer.fully_repaid';
612
- data: CapitalFinancingOfferFullyRepaidEvent.Data;
613
- }
614
-
615
- namespace CapitalFinancingOfferFullyRepaidEvent {
616
- interface Data extends Stripe.Event.Data {
617
- object: Stripe.Capital.FinancingOffer;
618
-
619
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
620
- }
621
- }
622
-
623
- /**
624
- * Occurs whenever a financing offer is paid out.
625
- */
626
- interface CapitalFinancingOfferPaidOutEvent extends EventBase {
627
- type: 'capital.financing_offer.paid_out';
628
- data: CapitalFinancingOfferPaidOutEvent.Data;
629
- }
630
-
631
- namespace CapitalFinancingOfferPaidOutEvent {
632
- interface Data extends Stripe.Event.Data {
633
- object: Stripe.Capital.FinancingOffer;
634
-
635
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
636
- }
637
- }
638
-
639
- /**
640
- * Occurs whenever a financing offer is rejected.
641
- */
642
- interface CapitalFinancingOfferRejectedEvent extends EventBase {
643
- type: 'capital.financing_offer.rejected';
644
- data: CapitalFinancingOfferRejectedEvent.Data;
645
- }
646
-
647
- namespace CapitalFinancingOfferRejectedEvent {
648
- interface Data extends Stripe.Event.Data {
649
- object: Stripe.Capital.FinancingOffer;
650
-
651
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
652
- }
653
- }
654
-
655
- /**
656
- * Occurs whenever a replacement for a financing offer has been created.
657
- */
658
- interface CapitalFinancingOfferReplacementCreatedEvent extends EventBase {
659
- type: 'capital.financing_offer.replacement_created';
660
- data: CapitalFinancingOfferReplacementCreatedEvent.Data;
661
- }
662
-
663
- namespace CapitalFinancingOfferReplacementCreatedEvent {
664
- interface Data extends Stripe.Event.Data {
665
- object: Stripe.Capital.FinancingOffer;
666
-
667
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
668
- }
669
- }
670
-
671
- /**
672
- * Occurs whenever a financing transaction is created.
673
- */
674
- interface CapitalFinancingTransactionCreatedEvent extends EventBase {
675
- type: 'capital.financing_transaction.created';
676
- data: CapitalFinancingTransactionCreatedEvent.Data;
677
- }
678
-
679
- namespace CapitalFinancingTransactionCreatedEvent {
680
- interface Data extends Stripe.Event.Data {
681
- object: Stripe.Capital.FinancingTransaction;
682
-
683
- previous_attributes?: Partial<Stripe.Capital.FinancingTransaction>;
684
- }
685
- }
686
-
687
484
  /**
688
485
  * Occurs whenever there is a positive remaining cash balance after Stripe automatically reconciles new funds into the cash balance. If you enabled manual reconciliation, this webhook will fire whenever there are new funds into the cash balance.
689
486
  */
@@ -1324,38 +1121,6 @@ declare module 'stripe' {
1324
1121
  }
1325
1122
  }
1326
1123
 
1327
- /**
1328
- * Occurs whenever collection is paused on a customer's subscription. Only applies when [payment collection](https://docs.stripe.com/billing/subscriptions/pause) is paused, not when subscriptions enter `status=paused`.
1329
- */
1330
- interface CustomerSubscriptionCollectionPausedEvent extends EventBase {
1331
- type: 'customer.subscription.collection_paused';
1332
- data: CustomerSubscriptionCollectionPausedEvent.Data;
1333
- }
1334
-
1335
- namespace CustomerSubscriptionCollectionPausedEvent {
1336
- interface Data extends Stripe.Event.Data {
1337
- object: Stripe.Subscription;
1338
-
1339
- previous_attributes?: Partial<Stripe.Subscription>;
1340
- }
1341
- }
1342
-
1343
- /**
1344
- * Occurs whenever collection is resumed on a customer's subscription that is currently paused. Only applies when [payment collection](https://docs.stripe.com/billing/subscriptions/pause) is resumed, not when subscriptions exit `status=paused`.
1345
- */
1346
- interface CustomerSubscriptionCollectionResumedEvent extends EventBase {
1347
- type: 'customer.subscription.collection_resumed';
1348
- data: CustomerSubscriptionCollectionResumedEvent.Data;
1349
- }
1350
-
1351
- namespace CustomerSubscriptionCollectionResumedEvent {
1352
- interface Data extends Stripe.Event.Data {
1353
- object: Stripe.Subscription;
1354
-
1355
- previous_attributes?: Partial<Stripe.Subscription>;
1356
- }
1357
- }
1358
-
1359
1124
  /**
1360
1125
  * Occurs whenever a customer is signed up for a new plan.
1361
1126
  */
@@ -1372,22 +1137,6 @@ declare module 'stripe' {
1372
1137
  }
1373
1138
  }
1374
1139
 
1375
- /**
1376
- * An ad-hoc custom event that is sent based on user configured [Automation](https://docs.stripe.com/billing/automations#send-custom-webhook-event-action).
1377
- */
1378
- interface CustomerSubscriptionCustomEventEvent extends EventBase {
1379
- type: 'customer.subscription.custom_event';
1380
- data: CustomerSubscriptionCustomEventEvent.Data;
1381
- }
1382
-
1383
- namespace CustomerSubscriptionCustomEventEvent {
1384
- interface Data extends Stripe.Event.Data {
1385
- object: Stripe.Subscription;
1386
-
1387
- previous_attributes?: Partial<Stripe.Subscription>;
1388
- }
1389
- }
1390
-
1391
1140
  /**
1392
1141
  * Occurs whenever a customer's subscription ends.
1393
1142
  */
@@ -1452,22 +1201,6 @@ declare module 'stripe' {
1452
1201
  }
1453
1202
  }
1454
1203
 
1455
- /**
1456
- * Occurs whenever a price migration failed to transition prices on a subscription.
1457
- */
1458
- interface CustomerSubscriptionPriceMigrationFailedEvent extends EventBase {
1459
- type: 'customer.subscription.price_migration_failed';
1460
- data: CustomerSubscriptionPriceMigrationFailedEvent.Data;
1461
- }
1462
-
1463
- namespace CustomerSubscriptionPriceMigrationFailedEvent {
1464
- interface Data extends Stripe.Event.Data {
1465
- object: Stripe.Subscription;
1466
-
1467
- previous_attributes?: Partial<Stripe.Subscription>;
1468
- }
1469
- }
1470
-
1471
1204
  /**
1472
1205
  * Occurs whenever a customer's subscription is no longer paused. Only applies when a `status=paused` subscription is [resumed](https://docs.stripe.com/api/subscriptions/resume), not when [payment collection](https://docs.stripe.com/billing/subscriptions/pause) is resumed.
1473
1206
  */
@@ -1712,23 +1445,6 @@ declare module 'stripe' {
1712
1445
  }
1713
1446
  }
1714
1447
 
1715
- /**
1716
- * Occurs when an Account’s `inferred_balances_refresh` status transitions from `pending` to either `succeeded` or `failed`.
1717
- */
1718
- interface FinancialConnectionsAccountRefreshedInferredBalancesEvent
1719
- extends EventBase {
1720
- type: 'financial_connections.account.refreshed_inferred_balances';
1721
- data: FinancialConnectionsAccountRefreshedInferredBalancesEvent.Data;
1722
- }
1723
-
1724
- namespace FinancialConnectionsAccountRefreshedInferredBalancesEvent {
1725
- interface Data extends Stripe.Event.Data {
1726
- object: Stripe.FinancialConnections.Account;
1727
-
1728
- previous_attributes?: Partial<Stripe.FinancialConnections.Account>;
1729
- }
1730
- }
1731
-
1732
1448
  /**
1733
1449
  * Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.
1734
1450
  */
@@ -1763,22 +1479,6 @@ declare module 'stripe' {
1763
1479
  }
1764
1480
  }
1765
1481
 
1766
- /**
1767
- * Occurs when a Financial Connections Session `status` transitions from `pending` to `failed`, `cancelled`, or `completed`.
1768
- */
1769
- interface FinancialConnectionsSessionUpdatedEvent extends EventBase {
1770
- type: 'financial_connections.session.updated';
1771
- data: FinancialConnectionsSessionUpdatedEvent.Data;
1772
- }
1773
-
1774
- namespace FinancialConnectionsSessionUpdatedEvent {
1775
- interface Data extends Stripe.Event.Data {
1776
- object: Stripe.FinancialConnections.Session;
1777
-
1778
- previous_attributes?: Partial<Stripe.FinancialConnections.Session>;
1779
- }
1780
- }
1781
-
1782
1482
  /**
1783
1483
  * Occurs whenever a VerificationSession is canceled
1784
1484
  */
@@ -1987,22 +1687,6 @@ declare module 'stripe' {
1987
1687
  }
1988
1688
  }
1989
1689
 
1990
- /**
1991
- * Occurs when an InvoicePayment transitions to paid with a non-zero amount_overpaid.
1992
- */
1993
- interface InvoicePaymentOverpaidEvent extends EventBase {
1994
- type: 'invoice.payment.overpaid';
1995
- data: InvoicePaymentOverpaidEvent.Data;
1996
- }
1997
-
1998
- namespace InvoicePaymentOverpaidEvent {
1999
- interface Data extends Stripe.Event.Data {
2000
- object: Stripe.InvoicePayment;
2001
-
2002
- previous_attributes?: Partial<Stripe.InvoicePayment>;
2003
- }
2004
- }
2005
-
2006
1690
  /**
2007
1691
  * Occurs whenever an invoice payment attempt requires further user action to complete.
2008
1692
  */
@@ -3059,22 +2743,6 @@ declare module 'stripe' {
3059
2743
  }
3060
2744
  }
3061
2745
 
3062
- /**
3063
- * Occurs whenever a quote acceptance fails
3064
- */
3065
- interface QuoteAcceptFailedEvent extends EventBase {
3066
- type: 'quote.accept_failed';
3067
- data: QuoteAcceptFailedEvent.Data;
3068
- }
3069
-
3070
- namespace QuoteAcceptFailedEvent {
3071
- interface Data extends Stripe.Event.Data {
3072
- object: Stripe.Quote;
3073
-
3074
- previous_attributes?: Partial<Stripe.Quote>;
3075
- }
3076
- }
3077
-
3078
2746
  /**
3079
2747
  * Occurs whenever a quote is accepted.
3080
2748
  */
@@ -3091,22 +2759,6 @@ declare module 'stripe' {
3091
2759
  }
3092
2760
  }
3093
2761
 
3094
- /**
3095
- * Occurs whenever a quote's status changes to accepting
3096
- */
3097
- interface QuoteAcceptingEvent extends EventBase {
3098
- type: 'quote.accepting';
3099
- data: QuoteAcceptingEvent.Data;
3100
- }
3101
-
3102
- namespace QuoteAcceptingEvent {
3103
- interface Data extends Stripe.Event.Data {
3104
- object: Stripe.Quote;
3105
-
3106
- previous_attributes?: Partial<Stripe.Quote>;
3107
- }
3108
- }
3109
-
3110
2762
  /**
3111
2763
  * Occurs whenever a quote is canceled.
3112
2764
  */
@@ -3139,22 +2791,6 @@ declare module 'stripe' {
3139
2791
  }
3140
2792
  }
3141
2793
 
3142
- /**
3143
- * Occurs when a quote's status changes from stale to draft
3144
- */
3145
- interface QuoteDraftEvent extends EventBase {
3146
- type: 'quote.draft';
3147
- data: QuoteDraftEvent.Data;
3148
- }
3149
-
3150
- namespace QuoteDraftEvent {
3151
- interface Data extends Stripe.Event.Data {
3152
- object: Stripe.Quote;
3153
-
3154
- previous_attributes?: Partial<Stripe.Quote>;
3155
- }
3156
- }
3157
-
3158
2794
  /**
3159
2795
  * Occurs whenever a quote is finalized.
3160
2796
  */
@@ -3171,54 +2807,6 @@ declare module 'stripe' {
3171
2807
  }
3172
2808
  }
3173
2809
 
3174
- /**
3175
- * Occurs whenever a quote reestimate fails
3176
- */
3177
- interface QuoteReestimateFailedEvent extends EventBase {
3178
- type: 'quote.reestimate_failed';
3179
- data: QuoteReestimateFailedEvent.Data;
3180
- }
3181
-
3182
- namespace QuoteReestimateFailedEvent {
3183
- interface Data extends Stripe.Event.Data {
3184
- object: Stripe.Quote;
3185
-
3186
- previous_attributes?: Partial<Stripe.Quote>;
3187
- }
3188
- }
3189
-
3190
- /**
3191
- * Occurs whenever an async job to compute preview subscription schedules/upcoming invoices for the quote has completed.
3192
- */
3193
- interface QuoteReestimatedEvent extends EventBase {
3194
- type: 'quote.reestimated';
3195
- data: QuoteReestimatedEvent.Data;
3196
- }
3197
-
3198
- namespace QuoteReestimatedEvent {
3199
- interface Data extends Stripe.Event.Data {
3200
- object: Stripe.Quote;
3201
-
3202
- previous_attributes?: Partial<Stripe.Quote>;
3203
- }
3204
- }
3205
-
3206
- /**
3207
- * Occurs whenever a quote's status changes to stale
3208
- */
3209
- interface QuoteStaleEvent extends EventBase {
3210
- type: 'quote.stale';
3211
- data: QuoteStaleEvent.Data;
3212
- }
3213
-
3214
- namespace QuoteStaleEvent {
3215
- interface Data extends Stripe.Event.Data {
3216
- object: Stripe.Quote;
3217
-
3218
- previous_attributes?: Partial<Stripe.Quote>;
3219
- }
3220
- }
3221
-
3222
2810
  /**
3223
2811
  * Occurs whenever an early fraud warning is created.
3224
2812
  */
@@ -3651,22 +3239,6 @@ declare module 'stripe' {
3651
3239
  }
3652
3240
  }
3653
3241
 
3654
- /**
3655
- * Occurs whenever a price migration failed to transition prices on a subscription schedule.
3656
- */
3657
- interface SubscriptionSchedulePriceMigrationFailedEvent extends EventBase {
3658
- type: 'subscription_schedule.price_migration_failed';
3659
- data: SubscriptionSchedulePriceMigrationFailedEvent.Data;
3660
- }
3661
-
3662
- namespace SubscriptionSchedulePriceMigrationFailedEvent {
3663
- interface Data extends Stripe.Event.Data {
3664
- object: Stripe.SubscriptionSchedule;
3665
-
3666
- previous_attributes?: Partial<Stripe.SubscriptionSchedule>;
3667
- }
3668
- }
3669
-
3670
3242
  /**
3671
3243
  * Occurs whenever a new subscription schedule is released.
3672
3244
  */
@@ -3699,22 +3271,6 @@ declare module 'stripe' {
3699
3271
  }
3700
3272
  }
3701
3273
 
3702
- /**
3703
- * Occurs when a tax form is updated.
3704
- */
3705
- interface TaxFormUpdatedEvent extends EventBase {
3706
- type: 'tax.form.updated';
3707
- data: TaxFormUpdatedEvent.Data;
3708
- }
3709
-
3710
- namespace TaxFormUpdatedEvent {
3711
- interface Data extends Stripe.Event.Data {
3712
- object: Stripe.Tax.Form;
3713
-
3714
- previous_attributes?: Partial<Stripe.Tax.Form>;
3715
- }
3716
- }
3717
-
3718
3274
  /**
3719
3275
  * Occurs whenever tax settings is updated.
3720
3276
  */
@@ -3795,22 +3351,6 @@ declare module 'stripe' {
3795
3351
  }
3796
3352
  }
3797
3353
 
3798
- /**
3799
- * Occurs whenever an action sent to a Terminal reader is updated.
3800
- */
3801
- interface TerminalReaderActionUpdatedEvent extends EventBase {
3802
- type: 'terminal.reader.action_updated';
3803
- data: TerminalReaderActionUpdatedEvent.Data;
3804
- }
3805
-
3806
- namespace TerminalReaderActionUpdatedEvent {
3807
- interface Data extends Stripe.Event.Data {
3808
- object: Stripe.Terminal.Reader;
3809
-
3810
- previous_attributes?: Partial<Stripe.Terminal.Reader>;
3811
- }
3812
- }
3813
-
3814
3354
  /**
3815
3355
  * Occurs whenever a test clock starts advancing.
3816
3356
  */