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