stripe 17.2.0-beta.1 → 17.2.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 (156) hide show
  1. package/CHANGELOG.md +115 -873
  2. package/README.md +7 -6
  3. package/VERSION +1 -1
  4. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  5. package/cjs/resources/Invoices.js +0 -17
  6. package/cjs/resources/PaymentIntents.js +0 -4
  7. package/cjs/resources/Quotes.js +0 -32
  8. package/cjs/resources/SubscriptionSchedules.js +0 -4
  9. package/cjs/resources/Terminal/Readers.js +0 -12
  10. package/cjs/resources/V2/Core/Events.js +50 -7
  11. package/cjs/resources.js +10 -42
  12. package/cjs/stripe.core.js +1 -1
  13. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  14. package/esm/resources/Invoices.js +0 -17
  15. package/esm/resources/PaymentIntents.js +0 -4
  16. package/esm/resources/Quotes.js +0 -32
  17. package/esm/resources/SubscriptionSchedules.js +0 -4
  18. package/esm/resources/Terminal/Readers.js +0 -12
  19. package/esm/resources/V2/Core/Events.js +50 -7
  20. package/esm/resources.js +0 -29
  21. package/esm/stripe.core.js +1 -1
  22. package/package.json +1 -1
  23. package/types/AccountLinksResource.d.ts +1 -5
  24. package/types/AccountSessions.d.ts +0 -45
  25. package/types/AccountSessionsResource.d.ts +0 -309
  26. package/types/Accounts.d.ts +1 -113
  27. package/types/AccountsResource.d.ts +0 -270
  28. package/types/Charges.d.ts +0 -71
  29. package/types/ChargesResource.d.ts +0 -1294
  30. package/types/Checkout/Sessions.d.ts +4 -296
  31. package/types/Checkout/SessionsResource.d.ts +5 -351
  32. package/types/ConfirmationTokens.d.ts +0 -67
  33. package/types/Coupons.d.ts +1 -1
  34. package/types/CouponsResource.d.ts +1 -1
  35. package/types/CreditNotes.d.ts +0 -21
  36. package/types/CreditNotesResource.d.ts +0 -51
  37. package/types/CustomersResource.d.ts +0 -3
  38. package/types/Disputes.d.ts +0 -152
  39. package/types/DisputesResource.d.ts +0 -120
  40. package/types/EventTypes.d.ts +0 -545
  41. package/types/Events.d.ts +0 -90
  42. package/types/FinancialConnections/Accounts.d.ts +1 -29
  43. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  44. package/types/FinancialConnections/Sessions.d.ts +1 -49
  45. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  46. package/types/InvoiceItems.d.ts +0 -5
  47. package/types/InvoiceItemsResource.d.ts +0 -98
  48. package/types/InvoiceLineItems.d.ts +1 -28
  49. package/types/Invoices.d.ts +2 -123
  50. package/types/InvoicesResource.d.ts +1835 -5493
  51. package/types/Issuing/CardholdersResource.d.ts +1 -2
  52. package/types/Issuing/Transactions.d.ts +0 -2
  53. package/types/Issuing/TransactionsResource.d.ts +0 -5
  54. package/types/LineItems.d.ts +0 -7
  55. package/types/Mandates.d.ts +0 -77
  56. package/types/PaymentIntents.d.ts +1 -503
  57. package/types/PaymentIntentsResource.d.ts +3464 -7064
  58. package/types/PaymentLinks.d.ts +0 -3
  59. package/types/PaymentLinksResource.d.ts +0 -6
  60. package/types/PaymentMethodConfigurations.d.ts +0 -36
  61. package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
  62. package/types/PaymentMethods.d.ts +0 -67
  63. package/types/PaymentMethodsResource.d.ts +0 -88
  64. package/types/Prices.d.ts +0 -22
  65. package/types/PricesResource.d.ts +0 -22
  66. package/types/Products.d.ts +0 -39
  67. package/types/ProductsResource.d.ts +0 -36
  68. package/types/Quotes.d.ts +1 -591
  69. package/types/QuotesResource.d.ts +199 -2531
  70. package/types/SetupAttempts.d.ts +0 -10
  71. package/types/SetupIntents.d.ts +1 -111
  72. package/types/SetupIntentsResource.d.ts +3 -522
  73. package/types/Sources.d.ts +0 -23
  74. package/types/SubscriptionItems.d.ts +0 -21
  75. package/types/SubscriptionItemsResource.d.ts +0 -109
  76. package/types/SubscriptionSchedules.d.ts +0 -200
  77. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  78. package/types/Subscriptions.d.ts +1 -82
  79. package/types/SubscriptionsResource.d.ts +2 -347
  80. package/types/Terminal/Readers.d.ts +0 -278
  81. package/types/Terminal/ReadersResource.d.ts +0 -215
  82. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -63
  83. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  84. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  85. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  86. package/types/Treasury/FinancialAccountsResource.d.ts +0 -10
  87. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  88. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  89. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  90. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  91. package/types/V2/EventTypes.d.ts +3 -1
  92. package/types/WebhookEndpointsResource.d.ts +0 -64
  93. package/types/index.d.ts +0 -53
  94. package/cjs/resources/AccountNotices.js +0 -21
  95. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  96. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  97. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  98. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  99. package/cjs/resources/GiftCards/Cards.js +0 -23
  100. package/cjs/resources/GiftCards/Transactions.js +0 -33
  101. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  102. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  103. package/cjs/resources/Margins.js +0 -22
  104. package/cjs/resources/Orders.js +0 -24
  105. package/cjs/resources/Tax/Associations.js +0 -9
  106. package/cjs/resources/Tax/Forms.js +0 -20
  107. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  108. package/esm/resources/AccountNotices.js +0 -18
  109. package/esm/resources/Capital/FinancingOffers.js +0 -18
  110. package/esm/resources/Capital/FinancingSummary.js +0 -9
  111. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  112. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  113. package/esm/resources/GiftCards/Cards.js +0 -20
  114. package/esm/resources/GiftCards/Transactions.js +0 -30
  115. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  116. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  117. package/esm/resources/Margins.js +0 -19
  118. package/esm/resources/Orders.js +0 -21
  119. package/esm/resources/Tax/Associations.js +0 -6
  120. package/esm/resources/Tax/Forms.js +0 -17
  121. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  122. package/types/AccountNotices.d.ts +0 -113
  123. package/types/AccountNoticesResource.d.ts +0 -98
  124. package/types/Billing/MeterErrorReports.d.ts +0 -106
  125. package/types/Capital/FinancingOffers.d.ts +0 -188
  126. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  127. package/types/Capital/FinancingSummary.d.ts +0 -106
  128. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  129. package/types/Capital/FinancingTransactions.d.ts +0 -135
  130. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  131. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  132. package/types/FinancialConnections/Institutions.d.ts +0 -93
  133. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  134. package/types/GiftCards/Cards.d.ts +0 -118
  135. package/types/GiftCards/CardsResource.d.ts +0 -159
  136. package/types/GiftCards/Transactions.d.ts +0 -129
  137. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  138. package/types/InvoicePayments.d.ts +0 -138
  139. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  140. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  141. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  142. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  143. package/types/Issuing/Settlements.d.ts +0 -103
  144. package/types/Margins.d.ts +0 -56
  145. package/types/MarginsResource.d.ts +0 -114
  146. package/types/Orders.d.ts +0 -1084
  147. package/types/OrdersResource.d.ts +0 -2765
  148. package/types/QuoteLines.d.ts +0 -634
  149. package/types/QuotePreviewInvoices.d.ts +0 -1586
  150. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
  151. package/types/Tax/Associations.d.ts +0 -126
  152. package/types/Tax/AssociationsResource.d.ts +0 -29
  153. package/types/Tax/Forms.d.ts +0 -133
  154. package/types/Tax/FormsResource.d.ts +0 -90
  155. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  156. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
@@ -9,27 +9,15 @@ 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
17
15
  | BalanceAvailableEvent
18
16
  | BillingAlertTriggeredEvent
19
- | BillingMeterErrorReportTriggeredEvent
20
17
  | BillingPortalConfigurationCreatedEvent
21
18
  | BillingPortalConfigurationUpdatedEvent
22
19
  | BillingPortalSessionCreatedEvent
23
20
  | CapabilityUpdatedEvent
24
- | CapitalFinancingOfferAcceptedEvent
25
- | CapitalFinancingOfferCanceledEvent
26
- | CapitalFinancingOfferCreatedEvent
27
- | CapitalFinancingOfferExpiredEvent
28
- | CapitalFinancingOfferFullyRepaidEvent
29
- | CapitalFinancingOfferPaidOutEvent
30
- | CapitalFinancingOfferRejectedEvent
31
- | CapitalFinancingOfferReplacementCreatedEvent
32
- | CapitalFinancingTransactionCreatedEvent
33
21
  | CashBalanceFundsAvailableEvent
34
22
  | ChargeCapturedEvent
35
23
  | ChargeDisputeClosedEvent
@@ -70,15 +58,11 @@ declare module 'stripe' {
70
58
  | CustomerSourceDeletedEvent
71
59
  | CustomerSourceExpiringEvent
72
60
  | CustomerSourceUpdatedEvent
73
- | CustomerSubscriptionCollectionPausedEvent
74
- | CustomerSubscriptionCollectionResumedEvent
75
61
  | CustomerSubscriptionCreatedEvent
76
- | CustomerSubscriptionCustomEventEvent
77
62
  | CustomerSubscriptionDeletedEvent
78
63
  | CustomerSubscriptionPausedEvent
79
64
  | CustomerSubscriptionPendingUpdateAppliedEvent
80
65
  | CustomerSubscriptionPendingUpdateExpiredEvent
81
- | CustomerSubscriptionPriceMigrationFailedEvent
82
66
  | CustomerSubscriptionResumedEvent
83
67
  | CustomerSubscriptionTrialWillEndEvent
84
68
  | CustomerSubscriptionUpdatedEvent
@@ -94,10 +78,8 @@ declare module 'stripe' {
94
78
  | FinancialConnectionsAccountDisconnectedEvent
95
79
  | FinancialConnectionsAccountReactivatedEvent
96
80
  | FinancialConnectionsAccountRefreshedBalanceEvent
97
- | FinancialConnectionsAccountRefreshedInferredBalancesEvent
98
81
  | FinancialConnectionsAccountRefreshedOwnershipEvent
99
82
  | FinancialConnectionsAccountRefreshedTransactionsEvent
100
- | FinancialConnectionsSessionUpdatedEvent
101
83
  | IdentityVerificationSessionCanceledEvent
102
84
  | IdentityVerificationSessionCreatedEvent
103
85
  | IdentityVerificationSessionProcessingEvent
@@ -111,7 +93,6 @@ declare module 'stripe' {
111
93
  | InvoiceMarkedUncollectibleEvent
112
94
  | InvoiceOverdueEvent
113
95
  | InvoicePaidEvent
114
- | InvoicePaymentOverpaidEvent
115
96
  | InvoicePaymentActionRequiredEvent
116
97
  | InvoicePaymentFailedEvent
117
98
  | InvoicePaymentSucceededEvent
@@ -135,14 +116,10 @@ declare module 'stripe' {
135
116
  | IssuingDisputeFundsRescindedEvent
136
117
  | IssuingDisputeSubmittedEvent
137
118
  | IssuingDisputeUpdatedEvent
138
- | IssuingDisputeSettlementDetailCreatedEvent
139
- | IssuingDisputeSettlementDetailUpdatedEvent
140
119
  | IssuingPersonalizationDesignActivatedEvent
141
120
  | IssuingPersonalizationDesignDeactivatedEvent
142
121
  | IssuingPersonalizationDesignRejectedEvent
143
122
  | IssuingPersonalizationDesignUpdatedEvent
144
- | IssuingSettlementCreatedEvent
145
- | IssuingSettlementUpdatedEvent
146
123
  | IssuingTokenCreatedEvent
147
124
  | IssuingTokenUpdatedEvent
148
125
  | IssuingTransactionCreatedEvent
@@ -182,16 +159,10 @@ declare module 'stripe' {
182
159
  | ProductUpdatedEvent
183
160
  | PromotionCodeCreatedEvent
184
161
  | PromotionCodeUpdatedEvent
185
- | QuoteAcceptFailedEvent
186
162
  | QuoteAcceptedEvent
187
- | QuoteAcceptingEvent
188
163
  | QuoteCanceledEvent
189
164
  | QuoteCreatedEvent
190
- | QuoteDraftEvent
191
165
  | QuoteFinalizedEvent
192
- | QuoteReestimateFailedEvent
193
- | QuoteReestimatedEvent
194
- | QuoteStaleEvent
195
166
  | RadarEarlyFraudWarningCreatedEvent
196
167
  | RadarEarlyFraudWarningUpdatedEvent
197
168
  | RefundCreatedEvent
@@ -219,16 +190,13 @@ declare module 'stripe' {
219
190
  | SubscriptionScheduleCompletedEvent
220
191
  | SubscriptionScheduleCreatedEvent
221
192
  | SubscriptionScheduleExpiringEvent
222
- | SubscriptionSchedulePriceMigrationFailedEvent
223
193
  | SubscriptionScheduleReleasedEvent
224
194
  | SubscriptionScheduleUpdatedEvent
225
- | TaxFormUpdatedEvent
226
195
  | TaxSettingsUpdatedEvent
227
196
  | TaxRateCreatedEvent
228
197
  | TaxRateUpdatedEvent
229
198
  | TerminalReaderActionFailedEvent
230
199
  | TerminalReaderActionSucceededEvent
231
- | TerminalReaderActionUpdatedEvent
232
200
  | TestHelpersTestClockAdvancingEvent
233
201
  | TestHelpersTestClockCreatedEvent
234
202
  | TestHelpersTestClockDeletedEvent
@@ -371,38 +339,6 @@ declare module 'stripe' {
371
339
  }
372
340
  }
373
341
 
374
- /**
375
- * Occurs whenever an AccountNotice is created.
376
- */
377
- interface AccountNoticeCreatedEvent extends EventBase {
378
- type: 'account_notice.created';
379
- data: AccountNoticeCreatedEvent.Data;
380
- }
381
-
382
- namespace AccountNoticeCreatedEvent {
383
- interface Data extends Stripe.Event.Data {
384
- object: Stripe.AccountNotice;
385
-
386
- previous_attributes?: Partial<Stripe.AccountNotice>;
387
- }
388
- }
389
-
390
- /**
391
- * Occurs whenever an AccountNotice is updated.
392
- */
393
- interface AccountNoticeUpdatedEvent extends EventBase {
394
- type: 'account_notice.updated';
395
- data: AccountNoticeUpdatedEvent.Data;
396
- }
397
-
398
- namespace AccountNoticeUpdatedEvent {
399
- interface Data extends Stripe.Event.Data {
400
- object: Stripe.AccountNotice;
401
-
402
- previous_attributes?: Partial<Stripe.AccountNotice>;
403
- }
404
- }
405
-
406
342
  /**
407
343
  * Occurs whenever an application fee is created on a charge.
408
344
  */
@@ -483,22 +419,6 @@ declare module 'stripe' {
483
419
  }
484
420
  }
485
421
 
486
- /**
487
- * Notifies of errors on a billing meter
488
- */
489
- interface BillingMeterErrorReportTriggeredEvent extends EventBase {
490
- type: 'billing.meter_error_report.triggered';
491
- data: BillingMeterErrorReportTriggeredEvent.Data;
492
- }
493
-
494
- namespace BillingMeterErrorReportTriggeredEvent {
495
- interface Data extends Stripe.Event.Data {
496
- object: Stripe.Billing.MeterErrorReport;
497
-
498
- previous_attributes?: Partial<Stripe.Billing.MeterErrorReport>;
499
- }
500
- }
501
-
502
422
  /**
503
423
  * Occurs whenever a portal configuration is created.
504
424
  */
@@ -563,150 +483,6 @@ declare module 'stripe' {
563
483
  }
564
484
  }
565
485
 
566
- /**
567
- * Occurs whenever a connected account accepts a financing offer.
568
- */
569
- interface CapitalFinancingOfferAcceptedEvent extends EventBase {
570
- type: 'capital.financing_offer.accepted';
571
- data: CapitalFinancingOfferAcceptedEvent.Data;
572
- }
573
-
574
- namespace CapitalFinancingOfferAcceptedEvent {
575
- interface Data extends Stripe.Event.Data {
576
- object: Stripe.Capital.FinancingOffer;
577
-
578
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
579
- }
580
- }
581
-
582
- /**
583
- * Occurs whenever a financing offer is canceled.
584
- */
585
- interface CapitalFinancingOfferCanceledEvent extends EventBase {
586
- type: 'capital.financing_offer.canceled';
587
- data: CapitalFinancingOfferCanceledEvent.Data;
588
- }
589
-
590
- namespace CapitalFinancingOfferCanceledEvent {
591
- interface Data extends Stripe.Event.Data {
592
- object: Stripe.Capital.FinancingOffer;
593
-
594
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
595
- }
596
- }
597
-
598
- /**
599
- * Occurs whenever a new financing offer is created for a connected account.
600
- */
601
- interface CapitalFinancingOfferCreatedEvent extends EventBase {
602
- type: 'capital.financing_offer.created';
603
- data: CapitalFinancingOfferCreatedEvent.Data;
604
- }
605
-
606
- namespace CapitalFinancingOfferCreatedEvent {
607
- interface Data extends Stripe.Event.Data {
608
- object: Stripe.Capital.FinancingOffer;
609
-
610
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
611
- }
612
- }
613
-
614
- /**
615
- * Occurs whenever a financing offer expires.
616
- */
617
- interface CapitalFinancingOfferExpiredEvent extends EventBase {
618
- type: 'capital.financing_offer.expired';
619
- data: CapitalFinancingOfferExpiredEvent.Data;
620
- }
621
-
622
- namespace CapitalFinancingOfferExpiredEvent {
623
- interface Data extends Stripe.Event.Data {
624
- object: Stripe.Capital.FinancingOffer;
625
-
626
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
627
- }
628
- }
629
-
630
- /**
631
- * Occurs whenever a financing offer is fully repaid.
632
- */
633
- interface CapitalFinancingOfferFullyRepaidEvent extends EventBase {
634
- type: 'capital.financing_offer.fully_repaid';
635
- data: CapitalFinancingOfferFullyRepaidEvent.Data;
636
- }
637
-
638
- namespace CapitalFinancingOfferFullyRepaidEvent {
639
- interface Data extends Stripe.Event.Data {
640
- object: Stripe.Capital.FinancingOffer;
641
-
642
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
643
- }
644
- }
645
-
646
- /**
647
- * Occurs whenever a financing offer is paid out.
648
- */
649
- interface CapitalFinancingOfferPaidOutEvent extends EventBase {
650
- type: 'capital.financing_offer.paid_out';
651
- data: CapitalFinancingOfferPaidOutEvent.Data;
652
- }
653
-
654
- namespace CapitalFinancingOfferPaidOutEvent {
655
- interface Data extends Stripe.Event.Data {
656
- object: Stripe.Capital.FinancingOffer;
657
-
658
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
659
- }
660
- }
661
-
662
- /**
663
- * Occurs whenever a financing offer is rejected.
664
- */
665
- interface CapitalFinancingOfferRejectedEvent extends EventBase {
666
- type: 'capital.financing_offer.rejected';
667
- data: CapitalFinancingOfferRejectedEvent.Data;
668
- }
669
-
670
- namespace CapitalFinancingOfferRejectedEvent {
671
- interface Data extends Stripe.Event.Data {
672
- object: Stripe.Capital.FinancingOffer;
673
-
674
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
675
- }
676
- }
677
-
678
- /**
679
- * Occurs whenever a replacement for a financing offer has been created.
680
- */
681
- interface CapitalFinancingOfferReplacementCreatedEvent extends EventBase {
682
- type: 'capital.financing_offer.replacement_created';
683
- data: CapitalFinancingOfferReplacementCreatedEvent.Data;
684
- }
685
-
686
- namespace CapitalFinancingOfferReplacementCreatedEvent {
687
- interface Data extends Stripe.Event.Data {
688
- object: Stripe.Capital.FinancingOffer;
689
-
690
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
691
- }
692
- }
693
-
694
- /**
695
- * Occurs whenever a financing transaction is created.
696
- */
697
- interface CapitalFinancingTransactionCreatedEvent extends EventBase {
698
- type: 'capital.financing_transaction.created';
699
- data: CapitalFinancingTransactionCreatedEvent.Data;
700
- }
701
-
702
- namespace CapitalFinancingTransactionCreatedEvent {
703
- interface Data extends Stripe.Event.Data {
704
- object: Stripe.Capital.FinancingTransaction;
705
-
706
- previous_attributes?: Partial<Stripe.Capital.FinancingTransaction>;
707
- }
708
- }
709
-
710
486
  /**
711
487
  * 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.
712
488
  */
@@ -1347,38 +1123,6 @@ declare module 'stripe' {
1347
1123
  }
1348
1124
  }
1349
1125
 
1350
- /**
1351
- * 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`.
1352
- */
1353
- interface CustomerSubscriptionCollectionPausedEvent extends EventBase {
1354
- type: 'customer.subscription.collection_paused';
1355
- data: CustomerSubscriptionCollectionPausedEvent.Data;
1356
- }
1357
-
1358
- namespace CustomerSubscriptionCollectionPausedEvent {
1359
- interface Data extends Stripe.Event.Data {
1360
- object: Stripe.Subscription;
1361
-
1362
- previous_attributes?: Partial<Stripe.Subscription>;
1363
- }
1364
- }
1365
-
1366
- /**
1367
- * 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`.
1368
- */
1369
- interface CustomerSubscriptionCollectionResumedEvent extends EventBase {
1370
- type: 'customer.subscription.collection_resumed';
1371
- data: CustomerSubscriptionCollectionResumedEvent.Data;
1372
- }
1373
-
1374
- namespace CustomerSubscriptionCollectionResumedEvent {
1375
- interface Data extends Stripe.Event.Data {
1376
- object: Stripe.Subscription;
1377
-
1378
- previous_attributes?: Partial<Stripe.Subscription>;
1379
- }
1380
- }
1381
-
1382
1126
  /**
1383
1127
  * Occurs whenever a customer is signed up for a new plan.
1384
1128
  */
@@ -1395,22 +1139,6 @@ declare module 'stripe' {
1395
1139
  }
1396
1140
  }
1397
1141
 
1398
- /**
1399
- * An ad-hoc custom event that is sent based on user configured [Automation](https://docs.stripe.com/billing/automations#send-custom-webhook-event-action).
1400
- */
1401
- interface CustomerSubscriptionCustomEventEvent extends EventBase {
1402
- type: 'customer.subscription.custom_event';
1403
- data: CustomerSubscriptionCustomEventEvent.Data;
1404
- }
1405
-
1406
- namespace CustomerSubscriptionCustomEventEvent {
1407
- interface Data extends Stripe.Event.Data {
1408
- object: Stripe.Subscription;
1409
-
1410
- previous_attributes?: Partial<Stripe.Subscription>;
1411
- }
1412
- }
1413
-
1414
1142
  /**
1415
1143
  * Occurs whenever a customer's subscription ends.
1416
1144
  */
@@ -1475,22 +1203,6 @@ declare module 'stripe' {
1475
1203
  }
1476
1204
  }
1477
1205
 
1478
- /**
1479
- * Occurs whenever a price migration failed to transition prices on a subscription.
1480
- */
1481
- interface CustomerSubscriptionPriceMigrationFailedEvent extends EventBase {
1482
- type: 'customer.subscription.price_migration_failed';
1483
- data: CustomerSubscriptionPriceMigrationFailedEvent.Data;
1484
- }
1485
-
1486
- namespace CustomerSubscriptionPriceMigrationFailedEvent {
1487
- interface Data extends Stripe.Event.Data {
1488
- object: Stripe.Subscription;
1489
-
1490
- previous_attributes?: Partial<Stripe.Subscription>;
1491
- }
1492
- }
1493
-
1494
1206
  /**
1495
1207
  * 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.
1496
1208
  */
@@ -1735,23 +1447,6 @@ declare module 'stripe' {
1735
1447
  }
1736
1448
  }
1737
1449
 
1738
- /**
1739
- * Occurs when an Account’s `inferred_balances_refresh` status transitions from `pending` to either `succeeded` or `failed`.
1740
- */
1741
- interface FinancialConnectionsAccountRefreshedInferredBalancesEvent
1742
- extends EventBase {
1743
- type: 'financial_connections.account.refreshed_inferred_balances';
1744
- data: FinancialConnectionsAccountRefreshedInferredBalancesEvent.Data;
1745
- }
1746
-
1747
- namespace FinancialConnectionsAccountRefreshedInferredBalancesEvent {
1748
- interface Data extends Stripe.Event.Data {
1749
- object: Stripe.FinancialConnections.Account;
1750
-
1751
- previous_attributes?: Partial<Stripe.FinancialConnections.Account>;
1752
- }
1753
- }
1754
-
1755
1450
  /**
1756
1451
  * Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.
1757
1452
  */
@@ -1786,22 +1481,6 @@ declare module 'stripe' {
1786
1481
  }
1787
1482
  }
1788
1483
 
1789
- /**
1790
- * Occurs when a Financial Connections Session `status` transitions from `pending` to `failed`, `cancelled`, or `completed`.
1791
- */
1792
- interface FinancialConnectionsSessionUpdatedEvent extends EventBase {
1793
- type: 'financial_connections.session.updated';
1794
- data: FinancialConnectionsSessionUpdatedEvent.Data;
1795
- }
1796
-
1797
- namespace FinancialConnectionsSessionUpdatedEvent {
1798
- interface Data extends Stripe.Event.Data {
1799
- object: Stripe.FinancialConnections.Session;
1800
-
1801
- previous_attributes?: Partial<Stripe.FinancialConnections.Session>;
1802
- }
1803
- }
1804
-
1805
1484
  /**
1806
1485
  * Occurs whenever a VerificationSession is canceled
1807
1486
  */
@@ -2010,22 +1689,6 @@ declare module 'stripe' {
2010
1689
  }
2011
1690
  }
2012
1691
 
2013
- /**
2014
- * Occurs when an InvoicePayment transitions to paid with a non-zero amount_overpaid.
2015
- */
2016
- interface InvoicePaymentOverpaidEvent extends EventBase {
2017
- type: 'invoice.payment.overpaid';
2018
- data: InvoicePaymentOverpaidEvent.Data;
2019
- }
2020
-
2021
- namespace InvoicePaymentOverpaidEvent {
2022
- interface Data extends Stripe.Event.Data {
2023
- object: Stripe.InvoicePayment;
2024
-
2025
- previous_attributes?: Partial<Stripe.InvoicePayment>;
2026
- }
2027
- }
2028
-
2029
1692
  /**
2030
1693
  * Occurs whenever an invoice payment attempt requires further user action to complete.
2031
1694
  */
@@ -2394,38 +2057,6 @@ declare module 'stripe' {
2394
2057
  }
2395
2058
  }
2396
2059
 
2397
- /**
2398
- * Emitted when the DisputeSettlementDetail object is created
2399
- */
2400
- interface IssuingDisputeSettlementDetailCreatedEvent extends EventBase {
2401
- type: 'issuing_dispute_settlement_detail.created';
2402
- data: IssuingDisputeSettlementDetailCreatedEvent.Data;
2403
- }
2404
-
2405
- namespace IssuingDisputeSettlementDetailCreatedEvent {
2406
- interface Data extends Stripe.Event.Data {
2407
- object: Stripe.Issuing.DisputeSettlementDetail;
2408
-
2409
- previous_attributes?: Partial<Stripe.Issuing.DisputeSettlementDetail>;
2410
- }
2411
- }
2412
-
2413
- /**
2414
- * Emitted when the DisputeSettlementDetail object is updated
2415
- */
2416
- interface IssuingDisputeSettlementDetailUpdatedEvent extends EventBase {
2417
- type: 'issuing_dispute_settlement_detail.updated';
2418
- data: IssuingDisputeSettlementDetailUpdatedEvent.Data;
2419
- }
2420
-
2421
- namespace IssuingDisputeSettlementDetailUpdatedEvent {
2422
- interface Data extends Stripe.Event.Data {
2423
- object: Stripe.Issuing.DisputeSettlementDetail;
2424
-
2425
- previous_attributes?: Partial<Stripe.Issuing.DisputeSettlementDetail>;
2426
- }
2427
- }
2428
-
2429
2060
  /**
2430
2061
  * Occurs whenever a personalization design is activated following the activation of the physical bundle that belongs to it.
2431
2062
  */
@@ -2490,38 +2121,6 @@ declare module 'stripe' {
2490
2121
  }
2491
2122
  }
2492
2123
 
2493
- /**
2494
- * Occurs whenever an issuing settlement is created.
2495
- */
2496
- interface IssuingSettlementCreatedEvent extends EventBase {
2497
- type: 'issuing_settlement.created';
2498
- data: IssuingSettlementCreatedEvent.Data;
2499
- }
2500
-
2501
- namespace IssuingSettlementCreatedEvent {
2502
- interface Data extends Stripe.Event.Data {
2503
- object: Stripe.Issuing.Settlement;
2504
-
2505
- previous_attributes?: Partial<Stripe.Issuing.Settlement>;
2506
- }
2507
- }
2508
-
2509
- /**
2510
- * Occurs whenever an issuing settlement is updated.
2511
- */
2512
- interface IssuingSettlementUpdatedEvent extends EventBase {
2513
- type: 'issuing_settlement.updated';
2514
- data: IssuingSettlementUpdatedEvent.Data;
2515
- }
2516
-
2517
- namespace IssuingSettlementUpdatedEvent {
2518
- interface Data extends Stripe.Event.Data {
2519
- object: Stripe.Issuing.Settlement;
2520
-
2521
- previous_attributes?: Partial<Stripe.Issuing.Settlement>;
2522
- }
2523
- }
2524
-
2525
2124
  /**
2526
2125
  * Occurs whenever an issuing digital wallet token is created.
2527
2126
  */
@@ -3146,22 +2745,6 @@ declare module 'stripe' {
3146
2745
  }
3147
2746
  }
3148
2747
 
3149
- /**
3150
- * Occurs whenever a quote acceptance fails
3151
- */
3152
- interface QuoteAcceptFailedEvent extends EventBase {
3153
- type: 'quote.accept_failed';
3154
- data: QuoteAcceptFailedEvent.Data;
3155
- }
3156
-
3157
- namespace QuoteAcceptFailedEvent {
3158
- interface Data extends Stripe.Event.Data {
3159
- object: Stripe.Quote;
3160
-
3161
- previous_attributes?: Partial<Stripe.Quote>;
3162
- }
3163
- }
3164
-
3165
2748
  /**
3166
2749
  * Occurs whenever a quote is accepted.
3167
2750
  */
@@ -3178,22 +2761,6 @@ declare module 'stripe' {
3178
2761
  }
3179
2762
  }
3180
2763
 
3181
- /**
3182
- * Occurs whenever a quote's status changes to accepting
3183
- */
3184
- interface QuoteAcceptingEvent extends EventBase {
3185
- type: 'quote.accepting';
3186
- data: QuoteAcceptingEvent.Data;
3187
- }
3188
-
3189
- namespace QuoteAcceptingEvent {
3190
- interface Data extends Stripe.Event.Data {
3191
- object: Stripe.Quote;
3192
-
3193
- previous_attributes?: Partial<Stripe.Quote>;
3194
- }
3195
- }
3196
-
3197
2764
  /**
3198
2765
  * Occurs whenever a quote is canceled.
3199
2766
  */
@@ -3226,22 +2793,6 @@ declare module 'stripe' {
3226
2793
  }
3227
2794
  }
3228
2795
 
3229
- /**
3230
- * Occurs when a quote's status changes from stale to draft
3231
- */
3232
- interface QuoteDraftEvent extends EventBase {
3233
- type: 'quote.draft';
3234
- data: QuoteDraftEvent.Data;
3235
- }
3236
-
3237
- namespace QuoteDraftEvent {
3238
- interface Data extends Stripe.Event.Data {
3239
- object: Stripe.Quote;
3240
-
3241
- previous_attributes?: Partial<Stripe.Quote>;
3242
- }
3243
- }
3244
-
3245
2796
  /**
3246
2797
  * Occurs whenever a quote is finalized.
3247
2798
  */
@@ -3258,54 +2809,6 @@ declare module 'stripe' {
3258
2809
  }
3259
2810
  }
3260
2811
 
3261
- /**
3262
- * Occurs whenever a quote reestimate fails
3263
- */
3264
- interface QuoteReestimateFailedEvent extends EventBase {
3265
- type: 'quote.reestimate_failed';
3266
- data: QuoteReestimateFailedEvent.Data;
3267
- }
3268
-
3269
- namespace QuoteReestimateFailedEvent {
3270
- interface Data extends Stripe.Event.Data {
3271
- object: Stripe.Quote;
3272
-
3273
- previous_attributes?: Partial<Stripe.Quote>;
3274
- }
3275
- }
3276
-
3277
- /**
3278
- * Occurs whenever an async job to compute preview subscription schedules/upcoming invoices for the quote has completed.
3279
- */
3280
- interface QuoteReestimatedEvent extends EventBase {
3281
- type: 'quote.reestimated';
3282
- data: QuoteReestimatedEvent.Data;
3283
- }
3284
-
3285
- namespace QuoteReestimatedEvent {
3286
- interface Data extends Stripe.Event.Data {
3287
- object: Stripe.Quote;
3288
-
3289
- previous_attributes?: Partial<Stripe.Quote>;
3290
- }
3291
- }
3292
-
3293
- /**
3294
- * Occurs whenever a quote's status changes to stale
3295
- */
3296
- interface QuoteStaleEvent extends EventBase {
3297
- type: 'quote.stale';
3298
- data: QuoteStaleEvent.Data;
3299
- }
3300
-
3301
- namespace QuoteStaleEvent {
3302
- interface Data extends Stripe.Event.Data {
3303
- object: Stripe.Quote;
3304
-
3305
- previous_attributes?: Partial<Stripe.Quote>;
3306
- }
3307
- }
3308
-
3309
2812
  /**
3310
2813
  * Occurs whenever an early fraud warning is created.
3311
2814
  */
@@ -3738,22 +3241,6 @@ declare module 'stripe' {
3738
3241
  }
3739
3242
  }
3740
3243
 
3741
- /**
3742
- * Occurs whenever a price migration failed to transition prices on a subscription schedule.
3743
- */
3744
- interface SubscriptionSchedulePriceMigrationFailedEvent extends EventBase {
3745
- type: 'subscription_schedule.price_migration_failed';
3746
- data: SubscriptionSchedulePriceMigrationFailedEvent.Data;
3747
- }
3748
-
3749
- namespace SubscriptionSchedulePriceMigrationFailedEvent {
3750
- interface Data extends Stripe.Event.Data {
3751
- object: Stripe.SubscriptionSchedule;
3752
-
3753
- previous_attributes?: Partial<Stripe.SubscriptionSchedule>;
3754
- }
3755
- }
3756
-
3757
3244
  /**
3758
3245
  * Occurs whenever a new subscription schedule is released.
3759
3246
  */
@@ -3786,22 +3273,6 @@ declare module 'stripe' {
3786
3273
  }
3787
3274
  }
3788
3275
 
3789
- /**
3790
- * Occurs when a tax form is updated.
3791
- */
3792
- interface TaxFormUpdatedEvent extends EventBase {
3793
- type: 'tax.form.updated';
3794
- data: TaxFormUpdatedEvent.Data;
3795
- }
3796
-
3797
- namespace TaxFormUpdatedEvent {
3798
- interface Data extends Stripe.Event.Data {
3799
- object: Stripe.Tax.Form;
3800
-
3801
- previous_attributes?: Partial<Stripe.Tax.Form>;
3802
- }
3803
- }
3804
-
3805
3276
  /**
3806
3277
  * Occurs whenever tax settings is updated.
3807
3278
  */
@@ -3882,22 +3353,6 @@ declare module 'stripe' {
3882
3353
  }
3883
3354
  }
3884
3355
 
3885
- /**
3886
- * Occurs whenever an action sent to a Terminal reader is updated.
3887
- */
3888
- interface TerminalReaderActionUpdatedEvent extends EventBase {
3889
- type: 'terminal.reader.action_updated';
3890
- data: TerminalReaderActionUpdatedEvent.Data;
3891
- }
3892
-
3893
- namespace TerminalReaderActionUpdatedEvent {
3894
- interface Data extends Stripe.Event.Data {
3895
- object: Stripe.Terminal.Reader;
3896
-
3897
- previous_attributes?: Partial<Stripe.Terminal.Reader>;
3898
- }
3899
- }
3900
-
3901
3356
  /**
3902
3357
  * Occurs whenever a test clock starts advancing.
3903
3358
  */