stripe 17.6.0-beta.3 → 17.6.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 (167) hide show
  1. package/CHANGELOG.md +124 -1040
  2. package/README.md +0 -1
  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 -8
  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.js +10 -48
  11. package/cjs/stripe.core.js +1 -1
  12. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  13. package/esm/resources/Invoices.js +0 -17
  14. package/esm/resources/PaymentIntents.js +0 -8
  15. package/esm/resources/Quotes.js +0 -32
  16. package/esm/resources/SubscriptionSchedules.js +0 -4
  17. package/esm/resources/Terminal/Readers.js +0 -12
  18. package/esm/resources.js +0 -33
  19. package/esm/stripe.core.js +1 -1
  20. package/package.json +1 -1
  21. package/types/AccountLinksResource.d.ts +1 -5
  22. package/types/AccountSessions.d.ts +0 -45
  23. package/types/AccountSessionsResource.d.ts +0 -222
  24. package/types/Accounts.d.ts +1 -190
  25. package/types/AccountsResource.d.ts +0 -520
  26. package/types/Cards.d.ts +0 -5
  27. package/types/Charges.d.ts +3 -141
  28. package/types/ChargesResource.d.ts +0 -1294
  29. package/types/Checkout/Sessions.d.ts +4 -340
  30. package/types/Checkout/SessionsResource.d.ts +5 -445
  31. package/types/ConfirmationTokens.d.ts +1 -100
  32. package/types/Coupons.d.ts +1 -1
  33. package/types/CouponsResource.d.ts +1 -1
  34. package/types/CreditNotes.d.ts +0 -21
  35. package/types/CreditNotesResource.d.ts +0 -51
  36. package/types/CustomersResource.d.ts +0 -7
  37. package/types/EventTypes.d.ts +0 -596
  38. package/types/Events.d.ts +0 -93
  39. package/types/FinancialConnections/Accounts.d.ts +1 -29
  40. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  41. package/types/FinancialConnections/Sessions.d.ts +1 -49
  42. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  43. package/types/InvoiceItems.d.ts +0 -5
  44. package/types/InvoiceItemsResource.d.ts +0 -98
  45. package/types/InvoiceLineItems.d.ts +1 -28
  46. package/types/Invoices.d.ts +2 -137
  47. package/types/InvoicesResource.d.ts +1882 -5567
  48. package/types/Issuing/Authorizations.d.ts +0 -1
  49. package/types/Issuing/CardholdersResource.d.ts +1 -2
  50. package/types/Issuing/Transactions.d.ts +0 -2
  51. package/types/Issuing/TransactionsResource.d.ts +0 -5
  52. package/types/LineItems.d.ts +0 -32
  53. package/types/Mandates.d.ts +0 -77
  54. package/types/PaymentIntents.d.ts +1 -644
  55. package/types/PaymentIntentsResource.d.ts +3734 -8021
  56. package/types/PaymentLinks.d.ts +0 -6
  57. package/types/PaymentLinksResource.d.ts +0 -12
  58. package/types/PaymentMethodConfigurations.d.ts +0 -180
  59. package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
  60. package/types/PaymentMethods.d.ts +1 -100
  61. package/types/PaymentMethodsResource.d.ts +0 -133
  62. package/types/Prices.d.ts +0 -22
  63. package/types/PricesResource.d.ts +0 -22
  64. package/types/Products.d.ts +0 -39
  65. package/types/ProductsResource.d.ts +0 -36
  66. package/types/Quotes.d.ts +1 -591
  67. package/types/QuotesResource.d.ts +199 -2531
  68. package/types/Refunds.d.ts +2 -16
  69. package/types/SetupAttempts.d.ts +0 -38
  70. package/types/SetupIntents.d.ts +1 -111
  71. package/types/SetupIntentsResource.d.ts +3 -645
  72. package/types/Sources.d.ts +0 -29
  73. package/types/SubscriptionItems.d.ts +0 -21
  74. package/types/SubscriptionItemsResource.d.ts +0 -109
  75. package/types/SubscriptionSchedules.d.ts +0 -200
  76. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  77. package/types/Subscriptions.d.ts +1 -91
  78. package/types/SubscriptionsResource.d.ts +2 -369
  79. package/types/Terminal/Readers.d.ts +0 -290
  80. package/types/Terminal/ReadersResource.d.ts +0 -215
  81. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -104
  82. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  83. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  84. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  85. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  86. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  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/WebhookEndpointsResource.d.ts +0 -70
  92. package/types/index.d.ts +0 -62
  93. package/cjs/resources/AccountNotices.js +0 -21
  94. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  95. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  96. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  97. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  98. package/cjs/resources/GiftCards/Cards.js +0 -23
  99. package/cjs/resources/GiftCards/Transactions.js +0 -33
  100. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  101. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  102. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  103. package/cjs/resources/Margins.js +0 -22
  104. package/cjs/resources/Orders.js +0 -24
  105. package/cjs/resources/PaymentAttemptRecords.js +0 -17
  106. package/cjs/resources/PaymentRecords.js +0 -29
  107. package/cjs/resources/Tax/Associations.js +0 -9
  108. package/cjs/resources/Tax/Forms.js +0 -20
  109. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  110. package/esm/resources/AccountNotices.js +0 -18
  111. package/esm/resources/Capital/FinancingOffers.js +0 -18
  112. package/esm/resources/Capital/FinancingSummary.js +0 -9
  113. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  114. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  115. package/esm/resources/GiftCards/Cards.js +0 -20
  116. package/esm/resources/GiftCards/Transactions.js +0 -30
  117. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  118. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  119. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  120. package/esm/resources/Margins.js +0 -19
  121. package/esm/resources/Orders.js +0 -21
  122. package/esm/resources/PaymentAttemptRecords.js +0 -14
  123. package/esm/resources/PaymentRecords.js +0 -26
  124. package/esm/resources/Tax/Associations.js +0 -6
  125. package/esm/resources/Tax/Forms.js +0 -17
  126. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  127. package/types/AccountNotices.d.ts +0 -113
  128. package/types/AccountNoticesResource.d.ts +0 -98
  129. package/types/Billing/MeterErrorReports.d.ts +0 -106
  130. package/types/Capital/FinancingOffers.d.ts +0 -188
  131. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  132. package/types/Capital/FinancingSummary.d.ts +0 -106
  133. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  134. package/types/Capital/FinancingTransactions.d.ts +0 -135
  135. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  136. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  137. package/types/FinancialConnections/Institutions.d.ts +0 -93
  138. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  139. package/types/GiftCards/Cards.d.ts +0 -118
  140. package/types/GiftCards/CardsResource.d.ts +0 -159
  141. package/types/GiftCards/Transactions.d.ts +0 -129
  142. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  143. package/types/InvoicePayments.d.ts +0 -113
  144. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  145. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  146. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  147. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  148. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  149. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  150. package/types/Issuing/Settlements.d.ts +0 -103
  151. package/types/Margins.d.ts +0 -56
  152. package/types/MarginsResource.d.ts +0 -114
  153. package/types/Orders.d.ts +0 -1179
  154. package/types/OrdersResource.d.ts +0 -2961
  155. package/types/PaymentAttemptRecords.d.ts +0 -242
  156. package/types/PaymentAttemptRecordsResource.d.ts +0 -47
  157. package/types/PaymentRecords.d.ts +0 -242
  158. package/types/PaymentRecordsResource.d.ts +0 -455
  159. package/types/QuoteLines.d.ts +0 -634
  160. package/types/QuotePreviewInvoices.d.ts +0 -1658
  161. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -824
  162. package/types/Tax/Associations.d.ts +0 -126
  163. package/types/Tax/AssociationsResource.d.ts +0 -29
  164. package/types/Tax/Forms.d.ts +0 -220
  165. package/types/Tax/FormsResource.d.ts +0 -107
  166. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  167. 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
@@ -110,11 +92,8 @@ declare module 'stripe' {
110
92
  | InvoiceFinalizedEvent
111
93
  | InvoiceMarkedUncollectibleEvent
112
94
  | InvoiceOverdueEvent
113
- | InvoiceOverpaidEvent
114
95
  | InvoicePaidEvent
115
- | InvoicePaymentOverpaidEvent
116
96
  | InvoicePaymentActionRequiredEvent
117
- | InvoicePaymentAttemptRequiredEvent
118
97
  | InvoicePaymentFailedEvent
119
98
  | InvoicePaymentSucceededEvent
120
99
  | InvoiceSentEvent
@@ -137,15 +116,10 @@ declare module 'stripe' {
137
116
  | IssuingDisputeFundsRescindedEvent
138
117
  | IssuingDisputeSubmittedEvent
139
118
  | IssuingDisputeUpdatedEvent
140
- | IssuingDisputeSettlementDetailCreatedEvent
141
- | IssuingDisputeSettlementDetailUpdatedEvent
142
- | IssuingFraudLiabilityDebitCreatedEvent
143
119
  | IssuingPersonalizationDesignActivatedEvent
144
120
  | IssuingPersonalizationDesignDeactivatedEvent
145
121
  | IssuingPersonalizationDesignRejectedEvent
146
122
  | IssuingPersonalizationDesignUpdatedEvent
147
- | IssuingSettlementCreatedEvent
148
- | IssuingSettlementUpdatedEvent
149
123
  | IssuingTokenCreatedEvent
150
124
  | IssuingTokenUpdatedEvent
151
125
  | IssuingTransactionCreatedEvent
@@ -186,16 +160,10 @@ declare module 'stripe' {
186
160
  | ProductUpdatedEvent
187
161
  | PromotionCodeCreatedEvent
188
162
  | PromotionCodeUpdatedEvent
189
- | QuoteAcceptFailedEvent
190
163
  | QuoteAcceptedEvent
191
- | QuoteAcceptingEvent
192
164
  | QuoteCanceledEvent
193
165
  | QuoteCreatedEvent
194
- | QuoteDraftEvent
195
166
  | QuoteFinalizedEvent
196
- | QuoteReestimateFailedEvent
197
- | QuoteReestimatedEvent
198
- | QuoteStaleEvent
199
167
  | RadarEarlyFraudWarningCreatedEvent
200
168
  | RadarEarlyFraudWarningUpdatedEvent
201
169
  | RefundCreatedEvent
@@ -224,16 +192,13 @@ declare module 'stripe' {
224
192
  | SubscriptionScheduleCompletedEvent
225
193
  | SubscriptionScheduleCreatedEvent
226
194
  | SubscriptionScheduleExpiringEvent
227
- | SubscriptionSchedulePriceMigrationFailedEvent
228
195
  | SubscriptionScheduleReleasedEvent
229
196
  | SubscriptionScheduleUpdatedEvent
230
- | TaxFormUpdatedEvent
231
197
  | TaxSettingsUpdatedEvent
232
198
  | TaxRateCreatedEvent
233
199
  | TaxRateUpdatedEvent
234
200
  | TerminalReaderActionFailedEvent
235
201
  | TerminalReaderActionSucceededEvent
236
- | TerminalReaderActionUpdatedEvent
237
202
  | TestHelpersTestClockAdvancingEvent
238
203
  | TestHelpersTestClockCreatedEvent
239
204
  | TestHelpersTestClockDeletedEvent
@@ -376,38 +341,6 @@ declare module 'stripe' {
376
341
  }
377
342
  }
378
343
 
379
- /**
380
- * Occurs whenever an AccountNotice is created.
381
- */
382
- interface AccountNoticeCreatedEvent extends EventBase {
383
- type: 'account_notice.created';
384
- data: AccountNoticeCreatedEvent.Data;
385
- }
386
-
387
- namespace AccountNoticeCreatedEvent {
388
- interface Data extends Stripe.Event.Data {
389
- object: Stripe.AccountNotice;
390
-
391
- previous_attributes?: Partial<Stripe.AccountNotice>;
392
- }
393
- }
394
-
395
- /**
396
- * Occurs whenever an AccountNotice is updated.
397
- */
398
- interface AccountNoticeUpdatedEvent extends EventBase {
399
- type: 'account_notice.updated';
400
- data: AccountNoticeUpdatedEvent.Data;
401
- }
402
-
403
- namespace AccountNoticeUpdatedEvent {
404
- interface Data extends Stripe.Event.Data {
405
- object: Stripe.AccountNotice;
406
-
407
- previous_attributes?: Partial<Stripe.AccountNotice>;
408
- }
409
- }
410
-
411
344
  /**
412
345
  * Occurs whenever an application fee is created on a charge.
413
346
  */
@@ -488,22 +421,6 @@ declare module 'stripe' {
488
421
  }
489
422
  }
490
423
 
491
- /**
492
- * Notifies of errors on a billing meter
493
- */
494
- interface BillingMeterErrorReportTriggeredEvent extends EventBase {
495
- type: 'billing.meter_error_report.triggered';
496
- data: BillingMeterErrorReportTriggeredEvent.Data;
497
- }
498
-
499
- namespace BillingMeterErrorReportTriggeredEvent {
500
- interface Data extends Stripe.Event.Data {
501
- object: Stripe.Billing.MeterErrorReport;
502
-
503
- previous_attributes?: Partial<Stripe.Billing.MeterErrorReport>;
504
- }
505
- }
506
-
507
424
  /**
508
425
  * Occurs whenever a portal configuration is created.
509
426
  */
@@ -568,150 +485,6 @@ declare module 'stripe' {
568
485
  }
569
486
  }
570
487
 
571
- /**
572
- * Occurs whenever a connected account accepts a financing offer.
573
- */
574
- interface CapitalFinancingOfferAcceptedEvent extends EventBase {
575
- type: 'capital.financing_offer.accepted';
576
- data: CapitalFinancingOfferAcceptedEvent.Data;
577
- }
578
-
579
- namespace CapitalFinancingOfferAcceptedEvent {
580
- interface Data extends Stripe.Event.Data {
581
- object: Stripe.Capital.FinancingOffer;
582
-
583
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
584
- }
585
- }
586
-
587
- /**
588
- * Occurs whenever a financing offer is canceled.
589
- */
590
- interface CapitalFinancingOfferCanceledEvent extends EventBase {
591
- type: 'capital.financing_offer.canceled';
592
- data: CapitalFinancingOfferCanceledEvent.Data;
593
- }
594
-
595
- namespace CapitalFinancingOfferCanceledEvent {
596
- interface Data extends Stripe.Event.Data {
597
- object: Stripe.Capital.FinancingOffer;
598
-
599
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
600
- }
601
- }
602
-
603
- /**
604
- * Occurs whenever a new financing offer is created for a connected account.
605
- */
606
- interface CapitalFinancingOfferCreatedEvent extends EventBase {
607
- type: 'capital.financing_offer.created';
608
- data: CapitalFinancingOfferCreatedEvent.Data;
609
- }
610
-
611
- namespace CapitalFinancingOfferCreatedEvent {
612
- interface Data extends Stripe.Event.Data {
613
- object: Stripe.Capital.FinancingOffer;
614
-
615
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
616
- }
617
- }
618
-
619
- /**
620
- * Occurs whenever a financing offer expires.
621
- */
622
- interface CapitalFinancingOfferExpiredEvent extends EventBase {
623
- type: 'capital.financing_offer.expired';
624
- data: CapitalFinancingOfferExpiredEvent.Data;
625
- }
626
-
627
- namespace CapitalFinancingOfferExpiredEvent {
628
- interface Data extends Stripe.Event.Data {
629
- object: Stripe.Capital.FinancingOffer;
630
-
631
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
632
- }
633
- }
634
-
635
- /**
636
- * Occurs whenever a financing offer is fully repaid.
637
- */
638
- interface CapitalFinancingOfferFullyRepaidEvent extends EventBase {
639
- type: 'capital.financing_offer.fully_repaid';
640
- data: CapitalFinancingOfferFullyRepaidEvent.Data;
641
- }
642
-
643
- namespace CapitalFinancingOfferFullyRepaidEvent {
644
- interface Data extends Stripe.Event.Data {
645
- object: Stripe.Capital.FinancingOffer;
646
-
647
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
648
- }
649
- }
650
-
651
- /**
652
- * Occurs whenever a financing offer is paid out.
653
- */
654
- interface CapitalFinancingOfferPaidOutEvent extends EventBase {
655
- type: 'capital.financing_offer.paid_out';
656
- data: CapitalFinancingOfferPaidOutEvent.Data;
657
- }
658
-
659
- namespace CapitalFinancingOfferPaidOutEvent {
660
- interface Data extends Stripe.Event.Data {
661
- object: Stripe.Capital.FinancingOffer;
662
-
663
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
664
- }
665
- }
666
-
667
- /**
668
- * Occurs whenever a financing offer is rejected.
669
- */
670
- interface CapitalFinancingOfferRejectedEvent extends EventBase {
671
- type: 'capital.financing_offer.rejected';
672
- data: CapitalFinancingOfferRejectedEvent.Data;
673
- }
674
-
675
- namespace CapitalFinancingOfferRejectedEvent {
676
- interface Data extends Stripe.Event.Data {
677
- object: Stripe.Capital.FinancingOffer;
678
-
679
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
680
- }
681
- }
682
-
683
- /**
684
- * Occurs whenever a replacement for a financing offer has been created.
685
- */
686
- interface CapitalFinancingOfferReplacementCreatedEvent extends EventBase {
687
- type: 'capital.financing_offer.replacement_created';
688
- data: CapitalFinancingOfferReplacementCreatedEvent.Data;
689
- }
690
-
691
- namespace CapitalFinancingOfferReplacementCreatedEvent {
692
- interface Data extends Stripe.Event.Data {
693
- object: Stripe.Capital.FinancingOffer;
694
-
695
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
696
- }
697
- }
698
-
699
- /**
700
- * Occurs whenever a financing transaction is created.
701
- */
702
- interface CapitalFinancingTransactionCreatedEvent extends EventBase {
703
- type: 'capital.financing_transaction.created';
704
- data: CapitalFinancingTransactionCreatedEvent.Data;
705
- }
706
-
707
- namespace CapitalFinancingTransactionCreatedEvent {
708
- interface Data extends Stripe.Event.Data {
709
- object: Stripe.Capital.FinancingTransaction;
710
-
711
- previous_attributes?: Partial<Stripe.Capital.FinancingTransaction>;
712
- }
713
- }
714
-
715
488
  /**
716
489
  * 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.
717
490
  */
@@ -1352,38 +1125,6 @@ declare module 'stripe' {
1352
1125
  }
1353
1126
  }
1354
1127
 
1355
- /**
1356
- * 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`.
1357
- */
1358
- interface CustomerSubscriptionCollectionPausedEvent extends EventBase {
1359
- type: 'customer.subscription.collection_paused';
1360
- data: CustomerSubscriptionCollectionPausedEvent.Data;
1361
- }
1362
-
1363
- namespace CustomerSubscriptionCollectionPausedEvent {
1364
- interface Data extends Stripe.Event.Data {
1365
- object: Stripe.Subscription;
1366
-
1367
- previous_attributes?: Partial<Stripe.Subscription>;
1368
- }
1369
- }
1370
-
1371
- /**
1372
- * 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`.
1373
- */
1374
- interface CustomerSubscriptionCollectionResumedEvent extends EventBase {
1375
- type: 'customer.subscription.collection_resumed';
1376
- data: CustomerSubscriptionCollectionResumedEvent.Data;
1377
- }
1378
-
1379
- namespace CustomerSubscriptionCollectionResumedEvent {
1380
- interface Data extends Stripe.Event.Data {
1381
- object: Stripe.Subscription;
1382
-
1383
- previous_attributes?: Partial<Stripe.Subscription>;
1384
- }
1385
- }
1386
-
1387
1128
  /**
1388
1129
  * Occurs whenever a customer is signed up for a new plan.
1389
1130
  */
@@ -1400,22 +1141,6 @@ declare module 'stripe' {
1400
1141
  }
1401
1142
  }
1402
1143
 
1403
- /**
1404
- * An ad-hoc custom event that is sent based on user configured [Automation](https://docs.stripe.com/billing/automations#send-custom-webhook-event-action).
1405
- */
1406
- interface CustomerSubscriptionCustomEventEvent extends EventBase {
1407
- type: 'customer.subscription.custom_event';
1408
- data: CustomerSubscriptionCustomEventEvent.Data;
1409
- }
1410
-
1411
- namespace CustomerSubscriptionCustomEventEvent {
1412
- interface Data extends Stripe.Event.Data {
1413
- object: Stripe.Subscription;
1414
-
1415
- previous_attributes?: Partial<Stripe.Subscription>;
1416
- }
1417
- }
1418
-
1419
1144
  /**
1420
1145
  * Occurs whenever a customer's subscription ends.
1421
1146
  */
@@ -1480,22 +1205,6 @@ declare module 'stripe' {
1480
1205
  }
1481
1206
  }
1482
1207
 
1483
- /**
1484
- * Occurs whenever a price migration failed to transition prices on a subscription.
1485
- */
1486
- interface CustomerSubscriptionPriceMigrationFailedEvent extends EventBase {
1487
- type: 'customer.subscription.price_migration_failed';
1488
- data: CustomerSubscriptionPriceMigrationFailedEvent.Data;
1489
- }
1490
-
1491
- namespace CustomerSubscriptionPriceMigrationFailedEvent {
1492
- interface Data extends Stripe.Event.Data {
1493
- object: Stripe.Subscription;
1494
-
1495
- previous_attributes?: Partial<Stripe.Subscription>;
1496
- }
1497
- }
1498
-
1499
1208
  /**
1500
1209
  * 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.
1501
1210
  */
@@ -1740,23 +1449,6 @@ declare module 'stripe' {
1740
1449
  }
1741
1450
  }
1742
1451
 
1743
- /**
1744
- * Occurs when an Account’s `inferred_balances_refresh` status transitions from `pending` to either `succeeded` or `failed`.
1745
- */
1746
- interface FinancialConnectionsAccountRefreshedInferredBalancesEvent
1747
- extends EventBase {
1748
- type: 'financial_connections.account.refreshed_inferred_balances';
1749
- data: FinancialConnectionsAccountRefreshedInferredBalancesEvent.Data;
1750
- }
1751
-
1752
- namespace FinancialConnectionsAccountRefreshedInferredBalancesEvent {
1753
- interface Data extends Stripe.Event.Data {
1754
- object: Stripe.FinancialConnections.Account;
1755
-
1756
- previous_attributes?: Partial<Stripe.FinancialConnections.Account>;
1757
- }
1758
- }
1759
-
1760
1452
  /**
1761
1453
  * Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.
1762
1454
  */
@@ -1791,22 +1483,6 @@ declare module 'stripe' {
1791
1483
  }
1792
1484
  }
1793
1485
 
1794
- /**
1795
- * Occurs when a Financial Connections Session `status` transitions from `pending` to `failed`, `cancelled`, or `completed`.
1796
- */
1797
- interface FinancialConnectionsSessionUpdatedEvent extends EventBase {
1798
- type: 'financial_connections.session.updated';
1799
- data: FinancialConnectionsSessionUpdatedEvent.Data;
1800
- }
1801
-
1802
- namespace FinancialConnectionsSessionUpdatedEvent {
1803
- interface Data extends Stripe.Event.Data {
1804
- object: Stripe.FinancialConnections.Session;
1805
-
1806
- previous_attributes?: Partial<Stripe.FinancialConnections.Session>;
1807
- }
1808
- }
1809
-
1810
1486
  /**
1811
1487
  * Occurs whenever a VerificationSession is canceled
1812
1488
  */
@@ -1999,22 +1675,6 @@ declare module 'stripe' {
1999
1675
  }
2000
1676
  }
2001
1677
 
2002
- /**
2003
- * Occurs when an invoice transitions to paid with a non-zero amount_overpaid.
2004
- */
2005
- interface InvoiceOverpaidEvent extends EventBase {
2006
- type: 'invoice.overpaid';
2007
- data: InvoiceOverpaidEvent.Data;
2008
- }
2009
-
2010
- namespace InvoiceOverpaidEvent {
2011
- interface Data extends Stripe.Event.Data {
2012
- object: Stripe.Invoice;
2013
-
2014
- previous_attributes?: Partial<Stripe.Invoice>;
2015
- }
2016
- }
2017
-
2018
1678
  /**
2019
1679
  * Occurs whenever an invoice payment attempt succeeds or an invoice is marked as paid out-of-band.
2020
1680
  */
@@ -2031,22 +1691,6 @@ declare module 'stripe' {
2031
1691
  }
2032
1692
  }
2033
1693
 
2034
- /**
2035
- * Occurs when an InvoicePayment transitions to paid with a non-zero amount_overpaid.
2036
- */
2037
- interface InvoicePaymentOverpaidEvent extends EventBase {
2038
- type: 'invoice.payment.overpaid';
2039
- data: InvoicePaymentOverpaidEvent.Data;
2040
- }
2041
-
2042
- namespace InvoicePaymentOverpaidEvent {
2043
- interface Data extends Stripe.Event.Data {
2044
- object: Stripe.InvoicePayment;
2045
-
2046
- previous_attributes?: Partial<Stripe.InvoicePayment>;
2047
- }
2048
- }
2049
-
2050
1694
  /**
2051
1695
  * Occurs whenever an invoice payment attempt requires further user action to complete.
2052
1696
  */
@@ -2063,22 +1707,6 @@ declare module 'stripe' {
2063
1707
  }
2064
1708
  }
2065
1709
 
2066
- /**
2067
- * Occurs when an invoice requires a payment using a payment method that cannot be processed by Stripe.
2068
- */
2069
- interface InvoicePaymentAttemptRequiredEvent extends EventBase {
2070
- type: 'invoice.payment_attempt_required';
2071
- data: InvoicePaymentAttemptRequiredEvent.Data;
2072
- }
2073
-
2074
- namespace InvoicePaymentAttemptRequiredEvent {
2075
- interface Data extends Stripe.Event.Data {
2076
- object: Stripe.Invoice;
2077
-
2078
- previous_attributes?: Partial<Stripe.Invoice>;
2079
- }
2080
- }
2081
-
2082
1710
  /**
2083
1711
  * Occurs whenever an invoice payment attempt fails, due either to a declined payment or to the lack of a stored payment method.
2084
1712
  */
@@ -2431,54 +2059,6 @@ declare module 'stripe' {
2431
2059
  }
2432
2060
  }
2433
2061
 
2434
- /**
2435
- * Emitted when the DisputeSettlementDetail object is created
2436
- */
2437
- interface IssuingDisputeSettlementDetailCreatedEvent extends EventBase {
2438
- type: 'issuing_dispute_settlement_detail.created';
2439
- data: IssuingDisputeSettlementDetailCreatedEvent.Data;
2440
- }
2441
-
2442
- namespace IssuingDisputeSettlementDetailCreatedEvent {
2443
- interface Data extends Stripe.Event.Data {
2444
- object: Stripe.Issuing.DisputeSettlementDetail;
2445
-
2446
- previous_attributes?: Partial<Stripe.Issuing.DisputeSettlementDetail>;
2447
- }
2448
- }
2449
-
2450
- /**
2451
- * Emitted when the DisputeSettlementDetail object is updated
2452
- */
2453
- interface IssuingDisputeSettlementDetailUpdatedEvent extends EventBase {
2454
- type: 'issuing_dispute_settlement_detail.updated';
2455
- data: IssuingDisputeSettlementDetailUpdatedEvent.Data;
2456
- }
2457
-
2458
- namespace IssuingDisputeSettlementDetailUpdatedEvent {
2459
- interface Data extends Stripe.Event.Data {
2460
- object: Stripe.Issuing.DisputeSettlementDetail;
2461
-
2462
- previous_attributes?: Partial<Stripe.Issuing.DisputeSettlementDetail>;
2463
- }
2464
- }
2465
-
2466
- /**
2467
- * Occurs whenever funds are deducted from your account for fraud dispute loss liability.
2468
- */
2469
- interface IssuingFraudLiabilityDebitCreatedEvent extends EventBase {
2470
- type: 'issuing_fraud_liability_debit.created';
2471
- data: IssuingFraudLiabilityDebitCreatedEvent.Data;
2472
- }
2473
-
2474
- namespace IssuingFraudLiabilityDebitCreatedEvent {
2475
- interface Data extends Stripe.Event.Data {
2476
- object: Stripe.Issuing.FraudLiabilityDebit;
2477
-
2478
- previous_attributes?: Partial<Stripe.Issuing.FraudLiabilityDebit>;
2479
- }
2480
- }
2481
-
2482
2062
  /**
2483
2063
  * Occurs whenever a personalization design is activated following the activation of the physical bundle that belongs to it.
2484
2064
  */
@@ -2543,38 +2123,6 @@ declare module 'stripe' {
2543
2123
  }
2544
2124
  }
2545
2125
 
2546
- /**
2547
- * Occurs whenever an issuing settlement is created.
2548
- */
2549
- interface IssuingSettlementCreatedEvent extends EventBase {
2550
- type: 'issuing_settlement.created';
2551
- data: IssuingSettlementCreatedEvent.Data;
2552
- }
2553
-
2554
- namespace IssuingSettlementCreatedEvent {
2555
- interface Data extends Stripe.Event.Data {
2556
- object: Stripe.Issuing.Settlement;
2557
-
2558
- previous_attributes?: Partial<Stripe.Issuing.Settlement>;
2559
- }
2560
- }
2561
-
2562
- /**
2563
- * Occurs whenever an issuing settlement is updated.
2564
- */
2565
- interface IssuingSettlementUpdatedEvent extends EventBase {
2566
- type: 'issuing_settlement.updated';
2567
- data: IssuingSettlementUpdatedEvent.Data;
2568
- }
2569
-
2570
- namespace IssuingSettlementUpdatedEvent {
2571
- interface Data extends Stripe.Event.Data {
2572
- object: Stripe.Issuing.Settlement;
2573
-
2574
- previous_attributes?: Partial<Stripe.Issuing.Settlement>;
2575
- }
2576
- }
2577
-
2578
2126
  /**
2579
2127
  * Occurs whenever an issuing digital wallet token is created.
2580
2128
  */
@@ -3216,22 +2764,6 @@ declare module 'stripe' {
3216
2764
  }
3217
2765
  }
3218
2766
 
3219
- /**
3220
- * Occurs whenever a quote acceptance fails
3221
- */
3222
- interface QuoteAcceptFailedEvent extends EventBase {
3223
- type: 'quote.accept_failed';
3224
- data: QuoteAcceptFailedEvent.Data;
3225
- }
3226
-
3227
- namespace QuoteAcceptFailedEvent {
3228
- interface Data extends Stripe.Event.Data {
3229
- object: Stripe.Quote;
3230
-
3231
- previous_attributes?: Partial<Stripe.Quote>;
3232
- }
3233
- }
3234
-
3235
2767
  /**
3236
2768
  * Occurs whenever a quote is accepted.
3237
2769
  */
@@ -3248,22 +2780,6 @@ declare module 'stripe' {
3248
2780
  }
3249
2781
  }
3250
2782
 
3251
- /**
3252
- * Occurs whenever a quote's status changes to accepting
3253
- */
3254
- interface QuoteAcceptingEvent extends EventBase {
3255
- type: 'quote.accepting';
3256
- data: QuoteAcceptingEvent.Data;
3257
- }
3258
-
3259
- namespace QuoteAcceptingEvent {
3260
- interface Data extends Stripe.Event.Data {
3261
- object: Stripe.Quote;
3262
-
3263
- previous_attributes?: Partial<Stripe.Quote>;
3264
- }
3265
- }
3266
-
3267
2783
  /**
3268
2784
  * Occurs whenever a quote is canceled.
3269
2785
  */
@@ -3296,22 +2812,6 @@ declare module 'stripe' {
3296
2812
  }
3297
2813
  }
3298
2814
 
3299
- /**
3300
- * Occurs when a quote's status changes from stale to draft
3301
- */
3302
- interface QuoteDraftEvent extends EventBase {
3303
- type: 'quote.draft';
3304
- data: QuoteDraftEvent.Data;
3305
- }
3306
-
3307
- namespace QuoteDraftEvent {
3308
- interface Data extends Stripe.Event.Data {
3309
- object: Stripe.Quote;
3310
-
3311
- previous_attributes?: Partial<Stripe.Quote>;
3312
- }
3313
- }
3314
-
3315
2815
  /**
3316
2816
  * Occurs whenever a quote is finalized.
3317
2817
  */
@@ -3328,54 +2828,6 @@ declare module 'stripe' {
3328
2828
  }
3329
2829
  }
3330
2830
 
3331
- /**
3332
- * Occurs whenever a quote reestimate fails
3333
- */
3334
- interface QuoteReestimateFailedEvent extends EventBase {
3335
- type: 'quote.reestimate_failed';
3336
- data: QuoteReestimateFailedEvent.Data;
3337
- }
3338
-
3339
- namespace QuoteReestimateFailedEvent {
3340
- interface Data extends Stripe.Event.Data {
3341
- object: Stripe.Quote;
3342
-
3343
- previous_attributes?: Partial<Stripe.Quote>;
3344
- }
3345
- }
3346
-
3347
- /**
3348
- * Occurs whenever an async job to compute preview subscription schedules/upcoming invoices for the quote has completed.
3349
- */
3350
- interface QuoteReestimatedEvent extends EventBase {
3351
- type: 'quote.reestimated';
3352
- data: QuoteReestimatedEvent.Data;
3353
- }
3354
-
3355
- namespace QuoteReestimatedEvent {
3356
- interface Data extends Stripe.Event.Data {
3357
- object: Stripe.Quote;
3358
-
3359
- previous_attributes?: Partial<Stripe.Quote>;
3360
- }
3361
- }
3362
-
3363
- /**
3364
- * Occurs whenever a quote's status changes to stale
3365
- */
3366
- interface QuoteStaleEvent extends EventBase {
3367
- type: 'quote.stale';
3368
- data: QuoteStaleEvent.Data;
3369
- }
3370
-
3371
- namespace QuoteStaleEvent {
3372
- interface Data extends Stripe.Event.Data {
3373
- object: Stripe.Quote;
3374
-
3375
- previous_attributes?: Partial<Stripe.Quote>;
3376
- }
3377
- }
3378
-
3379
2831
  /**
3380
2832
  * Occurs whenever an early fraud warning is created.
3381
2833
  */
@@ -3824,22 +3276,6 @@ declare module 'stripe' {
3824
3276
  }
3825
3277
  }
3826
3278
 
3827
- /**
3828
- * Occurs whenever a price migration failed to transition prices on a subscription schedule.
3829
- */
3830
- interface SubscriptionSchedulePriceMigrationFailedEvent extends EventBase {
3831
- type: 'subscription_schedule.price_migration_failed';
3832
- data: SubscriptionSchedulePriceMigrationFailedEvent.Data;
3833
- }
3834
-
3835
- namespace SubscriptionSchedulePriceMigrationFailedEvent {
3836
- interface Data extends Stripe.Event.Data {
3837
- object: Stripe.SubscriptionSchedule;
3838
-
3839
- previous_attributes?: Partial<Stripe.SubscriptionSchedule>;
3840
- }
3841
- }
3842
-
3843
3279
  /**
3844
3280
  * Occurs whenever a new subscription schedule is released.
3845
3281
  */
@@ -3872,22 +3308,6 @@ declare module 'stripe' {
3872
3308
  }
3873
3309
  }
3874
3310
 
3875
- /**
3876
- * Occurs when a tax form is updated.
3877
- */
3878
- interface TaxFormUpdatedEvent extends EventBase {
3879
- type: 'tax.form.updated';
3880
- data: TaxFormUpdatedEvent.Data;
3881
- }
3882
-
3883
- namespace TaxFormUpdatedEvent {
3884
- interface Data extends Stripe.Event.Data {
3885
- object: Stripe.Tax.Form;
3886
-
3887
- previous_attributes?: Partial<Stripe.Tax.Form>;
3888
- }
3889
- }
3890
-
3891
3311
  /**
3892
3312
  * Occurs whenever tax settings is updated.
3893
3313
  */
@@ -3968,22 +3388,6 @@ declare module 'stripe' {
3968
3388
  }
3969
3389
  }
3970
3390
 
3971
- /**
3972
- * Occurs whenever an action sent to a Terminal reader is updated.
3973
- */
3974
- interface TerminalReaderActionUpdatedEvent extends EventBase {
3975
- type: 'terminal.reader.action_updated';
3976
- data: TerminalReaderActionUpdatedEvent.Data;
3977
- }
3978
-
3979
- namespace TerminalReaderActionUpdatedEvent {
3980
- interface Data extends Stripe.Event.Data {
3981
- object: Stripe.Terminal.Reader;
3982
-
3983
- previous_attributes?: Partial<Stripe.Terminal.Reader>;
3984
- }
3985
- }
3986
-
3987
3391
  /**
3988
3392
  * Occurs whenever a test clock starts advancing.
3989
3393
  */