stripe 17.4.0-beta.3 → 17.4.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 +123 -962
  2. package/README.md +4 -4
  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 -355
  24. package/types/Accounts.d.ts +2 -184
  25. package/types/AccountsResource.d.ts +0 -496
  26. package/types/Capabilities.d.ts +1 -1
  27. package/types/Charges.d.ts +0 -116
  28. package/types/ChargesResource.d.ts +0 -1294
  29. package/types/Checkout/Sessions.d.ts +4 -310
  30. package/types/Checkout/SessionsResource.d.ts +5 -361
  31. package/types/ConfirmationTokens.d.ts +0 -99
  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 -579
  38. package/types/Events.d.ts +0 -92
  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/FundingInstructions.d.ts +0 -21
  44. package/types/InvoiceItems.d.ts +0 -5
  45. package/types/InvoiceItemsResource.d.ts +0 -98
  46. package/types/InvoiceLineItems.d.ts +1 -28
  47. package/types/Invoices.d.ts +2 -137
  48. package/types/InvoicesResource.d.ts +1846 -5531
  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 -7
  53. package/types/Mandates.d.ts +0 -77
  54. package/types/PaymentIntents.d.ts +2 -659
  55. package/types/PaymentIntentsResource.d.ts +3695 -7936
  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 +0 -99
  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 +0 -14
  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 -23
  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 -278
  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 -68
  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 -1155
  154. package/types/OrdersResource.d.ts +0 -2913
  155. package/types/PaymentAttemptRecords.d.ts +0 -242
  156. package/types/PaymentAttemptRecordsResource.d.ts +0 -47
  157. package/types/PaymentRecords.d.ts +0 -259
  158. package/types/PaymentRecordsResource.d.ts +0 -455
  159. package/types/QuoteLines.d.ts +0 -634
  160. package/types/QuotePreviewInvoices.d.ts +0 -1615
  161. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
  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
@@ -111,9 +93,7 @@ declare module 'stripe' {
111
93
  | InvoiceMarkedUncollectibleEvent
112
94
  | InvoiceOverdueEvent
113
95
  | InvoicePaidEvent
114
- | InvoicePaymentOverpaidEvent
115
96
  | InvoicePaymentActionRequiredEvent
116
- | InvoicePaymentAttemptRequiredEvent
117
97
  | InvoicePaymentFailedEvent
118
98
  | InvoicePaymentSucceededEvent
119
99
  | InvoiceSentEvent
@@ -136,15 +116,10 @@ declare module 'stripe' {
136
116
  | IssuingDisputeFundsRescindedEvent
137
117
  | IssuingDisputeSubmittedEvent
138
118
  | IssuingDisputeUpdatedEvent
139
- | IssuingDisputeSettlementDetailCreatedEvent
140
- | IssuingDisputeSettlementDetailUpdatedEvent
141
- | IssuingFraudLiabilityDebitCreatedEvent
142
119
  | IssuingPersonalizationDesignActivatedEvent
143
120
  | IssuingPersonalizationDesignDeactivatedEvent
144
121
  | IssuingPersonalizationDesignRejectedEvent
145
122
  | IssuingPersonalizationDesignUpdatedEvent
146
- | IssuingSettlementCreatedEvent
147
- | IssuingSettlementUpdatedEvent
148
123
  | IssuingTokenCreatedEvent
149
124
  | IssuingTokenUpdatedEvent
150
125
  | IssuingTransactionCreatedEvent
@@ -185,16 +160,10 @@ declare module 'stripe' {
185
160
  | ProductUpdatedEvent
186
161
  | PromotionCodeCreatedEvent
187
162
  | PromotionCodeUpdatedEvent
188
- | QuoteAcceptFailedEvent
189
163
  | QuoteAcceptedEvent
190
- | QuoteAcceptingEvent
191
164
  | QuoteCanceledEvent
192
165
  | QuoteCreatedEvent
193
- | QuoteDraftEvent
194
166
  | QuoteFinalizedEvent
195
- | QuoteReestimateFailedEvent
196
- | QuoteReestimatedEvent
197
- | QuoteStaleEvent
198
167
  | RadarEarlyFraudWarningCreatedEvent
199
168
  | RadarEarlyFraudWarningUpdatedEvent
200
169
  | RefundCreatedEvent
@@ -223,16 +192,13 @@ declare module 'stripe' {
223
192
  | SubscriptionScheduleCompletedEvent
224
193
  | SubscriptionScheduleCreatedEvent
225
194
  | SubscriptionScheduleExpiringEvent
226
- | SubscriptionSchedulePriceMigrationFailedEvent
227
195
  | SubscriptionScheduleReleasedEvent
228
196
  | SubscriptionScheduleUpdatedEvent
229
- | TaxFormUpdatedEvent
230
197
  | TaxSettingsUpdatedEvent
231
198
  | TaxRateCreatedEvent
232
199
  | TaxRateUpdatedEvent
233
200
  | TerminalReaderActionFailedEvent
234
201
  | TerminalReaderActionSucceededEvent
235
- | TerminalReaderActionUpdatedEvent
236
202
  | TestHelpersTestClockAdvancingEvent
237
203
  | TestHelpersTestClockCreatedEvent
238
204
  | TestHelpersTestClockDeletedEvent
@@ -375,38 +341,6 @@ declare module 'stripe' {
375
341
  }
376
342
  }
377
343
 
378
- /**
379
- * Occurs whenever an AccountNotice is created.
380
- */
381
- interface AccountNoticeCreatedEvent extends EventBase {
382
- type: 'account_notice.created';
383
- data: AccountNoticeCreatedEvent.Data;
384
- }
385
-
386
- namespace AccountNoticeCreatedEvent {
387
- interface Data extends Stripe.Event.Data {
388
- object: Stripe.AccountNotice;
389
-
390
- previous_attributes?: Partial<Stripe.AccountNotice>;
391
- }
392
- }
393
-
394
- /**
395
- * Occurs whenever an AccountNotice is updated.
396
- */
397
- interface AccountNoticeUpdatedEvent extends EventBase {
398
- type: 'account_notice.updated';
399
- data: AccountNoticeUpdatedEvent.Data;
400
- }
401
-
402
- namespace AccountNoticeUpdatedEvent {
403
- interface Data extends Stripe.Event.Data {
404
- object: Stripe.AccountNotice;
405
-
406
- previous_attributes?: Partial<Stripe.AccountNotice>;
407
- }
408
- }
409
-
410
344
  /**
411
345
  * Occurs whenever an application fee is created on a charge.
412
346
  */
@@ -487,22 +421,6 @@ declare module 'stripe' {
487
421
  }
488
422
  }
489
423
 
490
- /**
491
- * Notifies of errors on a billing meter
492
- */
493
- interface BillingMeterErrorReportTriggeredEvent extends EventBase {
494
- type: 'billing.meter_error_report.triggered';
495
- data: BillingMeterErrorReportTriggeredEvent.Data;
496
- }
497
-
498
- namespace BillingMeterErrorReportTriggeredEvent {
499
- interface Data extends Stripe.Event.Data {
500
- object: Stripe.Billing.MeterErrorReport;
501
-
502
- previous_attributes?: Partial<Stripe.Billing.MeterErrorReport>;
503
- }
504
- }
505
-
506
424
  /**
507
425
  * Occurs whenever a portal configuration is created.
508
426
  */
@@ -567,150 +485,6 @@ declare module 'stripe' {
567
485
  }
568
486
  }
569
487
 
570
- /**
571
- * Occurs whenever a connected account accepts a financing offer.
572
- */
573
- interface CapitalFinancingOfferAcceptedEvent extends EventBase {
574
- type: 'capital.financing_offer.accepted';
575
- data: CapitalFinancingOfferAcceptedEvent.Data;
576
- }
577
-
578
- namespace CapitalFinancingOfferAcceptedEvent {
579
- interface Data extends Stripe.Event.Data {
580
- object: Stripe.Capital.FinancingOffer;
581
-
582
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
583
- }
584
- }
585
-
586
- /**
587
- * Occurs whenever a financing offer is canceled.
588
- */
589
- interface CapitalFinancingOfferCanceledEvent extends EventBase {
590
- type: 'capital.financing_offer.canceled';
591
- data: CapitalFinancingOfferCanceledEvent.Data;
592
- }
593
-
594
- namespace CapitalFinancingOfferCanceledEvent {
595
- interface Data extends Stripe.Event.Data {
596
- object: Stripe.Capital.FinancingOffer;
597
-
598
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
599
- }
600
- }
601
-
602
- /**
603
- * Occurs whenever a new financing offer is created for a connected account.
604
- */
605
- interface CapitalFinancingOfferCreatedEvent extends EventBase {
606
- type: 'capital.financing_offer.created';
607
- data: CapitalFinancingOfferCreatedEvent.Data;
608
- }
609
-
610
- namespace CapitalFinancingOfferCreatedEvent {
611
- interface Data extends Stripe.Event.Data {
612
- object: Stripe.Capital.FinancingOffer;
613
-
614
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
615
- }
616
- }
617
-
618
- /**
619
- * Occurs whenever a financing offer expires.
620
- */
621
- interface CapitalFinancingOfferExpiredEvent extends EventBase {
622
- type: 'capital.financing_offer.expired';
623
- data: CapitalFinancingOfferExpiredEvent.Data;
624
- }
625
-
626
- namespace CapitalFinancingOfferExpiredEvent {
627
- interface Data extends Stripe.Event.Data {
628
- object: Stripe.Capital.FinancingOffer;
629
-
630
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
631
- }
632
- }
633
-
634
- /**
635
- * Occurs whenever a financing offer is fully repaid.
636
- */
637
- interface CapitalFinancingOfferFullyRepaidEvent extends EventBase {
638
- type: 'capital.financing_offer.fully_repaid';
639
- data: CapitalFinancingOfferFullyRepaidEvent.Data;
640
- }
641
-
642
- namespace CapitalFinancingOfferFullyRepaidEvent {
643
- interface Data extends Stripe.Event.Data {
644
- object: Stripe.Capital.FinancingOffer;
645
-
646
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
647
- }
648
- }
649
-
650
- /**
651
- * Occurs whenever a financing offer is paid out.
652
- */
653
- interface CapitalFinancingOfferPaidOutEvent extends EventBase {
654
- type: 'capital.financing_offer.paid_out';
655
- data: CapitalFinancingOfferPaidOutEvent.Data;
656
- }
657
-
658
- namespace CapitalFinancingOfferPaidOutEvent {
659
- interface Data extends Stripe.Event.Data {
660
- object: Stripe.Capital.FinancingOffer;
661
-
662
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
663
- }
664
- }
665
-
666
- /**
667
- * Occurs whenever a financing offer is rejected.
668
- */
669
- interface CapitalFinancingOfferRejectedEvent extends EventBase {
670
- type: 'capital.financing_offer.rejected';
671
- data: CapitalFinancingOfferRejectedEvent.Data;
672
- }
673
-
674
- namespace CapitalFinancingOfferRejectedEvent {
675
- interface Data extends Stripe.Event.Data {
676
- object: Stripe.Capital.FinancingOffer;
677
-
678
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
679
- }
680
- }
681
-
682
- /**
683
- * Occurs whenever a replacement for a financing offer has been created.
684
- */
685
- interface CapitalFinancingOfferReplacementCreatedEvent extends EventBase {
686
- type: 'capital.financing_offer.replacement_created';
687
- data: CapitalFinancingOfferReplacementCreatedEvent.Data;
688
- }
689
-
690
- namespace CapitalFinancingOfferReplacementCreatedEvent {
691
- interface Data extends Stripe.Event.Data {
692
- object: Stripe.Capital.FinancingOffer;
693
-
694
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
695
- }
696
- }
697
-
698
- /**
699
- * Occurs whenever a financing transaction is created.
700
- */
701
- interface CapitalFinancingTransactionCreatedEvent extends EventBase {
702
- type: 'capital.financing_transaction.created';
703
- data: CapitalFinancingTransactionCreatedEvent.Data;
704
- }
705
-
706
- namespace CapitalFinancingTransactionCreatedEvent {
707
- interface Data extends Stripe.Event.Data {
708
- object: Stripe.Capital.FinancingTransaction;
709
-
710
- previous_attributes?: Partial<Stripe.Capital.FinancingTransaction>;
711
- }
712
- }
713
-
714
488
  /**
715
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.
716
490
  */
@@ -1351,38 +1125,6 @@ declare module 'stripe' {
1351
1125
  }
1352
1126
  }
1353
1127
 
1354
- /**
1355
- * 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`.
1356
- */
1357
- interface CustomerSubscriptionCollectionPausedEvent extends EventBase {
1358
- type: 'customer.subscription.collection_paused';
1359
- data: CustomerSubscriptionCollectionPausedEvent.Data;
1360
- }
1361
-
1362
- namespace CustomerSubscriptionCollectionPausedEvent {
1363
- interface Data extends Stripe.Event.Data {
1364
- object: Stripe.Subscription;
1365
-
1366
- previous_attributes?: Partial<Stripe.Subscription>;
1367
- }
1368
- }
1369
-
1370
- /**
1371
- * 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`.
1372
- */
1373
- interface CustomerSubscriptionCollectionResumedEvent extends EventBase {
1374
- type: 'customer.subscription.collection_resumed';
1375
- data: CustomerSubscriptionCollectionResumedEvent.Data;
1376
- }
1377
-
1378
- namespace CustomerSubscriptionCollectionResumedEvent {
1379
- interface Data extends Stripe.Event.Data {
1380
- object: Stripe.Subscription;
1381
-
1382
- previous_attributes?: Partial<Stripe.Subscription>;
1383
- }
1384
- }
1385
-
1386
1128
  /**
1387
1129
  * Occurs whenever a customer is signed up for a new plan.
1388
1130
  */
@@ -1399,22 +1141,6 @@ declare module 'stripe' {
1399
1141
  }
1400
1142
  }
1401
1143
 
1402
- /**
1403
- * An ad-hoc custom event that is sent based on user configured [Automation](https://docs.stripe.com/billing/automations#send-custom-webhook-event-action).
1404
- */
1405
- interface CustomerSubscriptionCustomEventEvent extends EventBase {
1406
- type: 'customer.subscription.custom_event';
1407
- data: CustomerSubscriptionCustomEventEvent.Data;
1408
- }
1409
-
1410
- namespace CustomerSubscriptionCustomEventEvent {
1411
- interface Data extends Stripe.Event.Data {
1412
- object: Stripe.Subscription;
1413
-
1414
- previous_attributes?: Partial<Stripe.Subscription>;
1415
- }
1416
- }
1417
-
1418
1144
  /**
1419
1145
  * Occurs whenever a customer's subscription ends.
1420
1146
  */
@@ -1479,22 +1205,6 @@ declare module 'stripe' {
1479
1205
  }
1480
1206
  }
1481
1207
 
1482
- /**
1483
- * Occurs whenever a price migration failed to transition prices on a subscription.
1484
- */
1485
- interface CustomerSubscriptionPriceMigrationFailedEvent extends EventBase {
1486
- type: 'customer.subscription.price_migration_failed';
1487
- data: CustomerSubscriptionPriceMigrationFailedEvent.Data;
1488
- }
1489
-
1490
- namespace CustomerSubscriptionPriceMigrationFailedEvent {
1491
- interface Data extends Stripe.Event.Data {
1492
- object: Stripe.Subscription;
1493
-
1494
- previous_attributes?: Partial<Stripe.Subscription>;
1495
- }
1496
- }
1497
-
1498
1208
  /**
1499
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.
1500
1210
  */
@@ -1739,23 +1449,6 @@ declare module 'stripe' {
1739
1449
  }
1740
1450
  }
1741
1451
 
1742
- /**
1743
- * Occurs when an Account’s `inferred_balances_refresh` status transitions from `pending` to either `succeeded` or `failed`.
1744
- */
1745
- interface FinancialConnectionsAccountRefreshedInferredBalancesEvent
1746
- extends EventBase {
1747
- type: 'financial_connections.account.refreshed_inferred_balances';
1748
- data: FinancialConnectionsAccountRefreshedInferredBalancesEvent.Data;
1749
- }
1750
-
1751
- namespace FinancialConnectionsAccountRefreshedInferredBalancesEvent {
1752
- interface Data extends Stripe.Event.Data {
1753
- object: Stripe.FinancialConnections.Account;
1754
-
1755
- previous_attributes?: Partial<Stripe.FinancialConnections.Account>;
1756
- }
1757
- }
1758
-
1759
1452
  /**
1760
1453
  * Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.
1761
1454
  */
@@ -1790,22 +1483,6 @@ declare module 'stripe' {
1790
1483
  }
1791
1484
  }
1792
1485
 
1793
- /**
1794
- * Occurs when a Financial Connections Session `status` transitions from `pending` to `failed`, `cancelled`, or `completed`.
1795
- */
1796
- interface FinancialConnectionsSessionUpdatedEvent extends EventBase {
1797
- type: 'financial_connections.session.updated';
1798
- data: FinancialConnectionsSessionUpdatedEvent.Data;
1799
- }
1800
-
1801
- namespace FinancialConnectionsSessionUpdatedEvent {
1802
- interface Data extends Stripe.Event.Data {
1803
- object: Stripe.FinancialConnections.Session;
1804
-
1805
- previous_attributes?: Partial<Stripe.FinancialConnections.Session>;
1806
- }
1807
- }
1808
-
1809
1486
  /**
1810
1487
  * Occurs whenever a VerificationSession is canceled
1811
1488
  */
@@ -2014,22 +1691,6 @@ declare module 'stripe' {
2014
1691
  }
2015
1692
  }
2016
1693
 
2017
- /**
2018
- * Occurs when an InvoicePayment transitions to paid with a non-zero amount_overpaid.
2019
- */
2020
- interface InvoicePaymentOverpaidEvent extends EventBase {
2021
- type: 'invoice.payment.overpaid';
2022
- data: InvoicePaymentOverpaidEvent.Data;
2023
- }
2024
-
2025
- namespace InvoicePaymentOverpaidEvent {
2026
- interface Data extends Stripe.Event.Data {
2027
- object: Stripe.InvoicePayment;
2028
-
2029
- previous_attributes?: Partial<Stripe.InvoicePayment>;
2030
- }
2031
- }
2032
-
2033
1694
  /**
2034
1695
  * Occurs whenever an invoice payment attempt requires further user action to complete.
2035
1696
  */
@@ -2046,22 +1707,6 @@ declare module 'stripe' {
2046
1707
  }
2047
1708
  }
2048
1709
 
2049
- /**
2050
- * Occurs when an invoice requires a payment using a payment method that cannot be processed by Stripe.
2051
- */
2052
- interface InvoicePaymentAttemptRequiredEvent extends EventBase {
2053
- type: 'invoice.payment_attempt_required';
2054
- data: InvoicePaymentAttemptRequiredEvent.Data;
2055
- }
2056
-
2057
- namespace InvoicePaymentAttemptRequiredEvent {
2058
- interface Data extends Stripe.Event.Data {
2059
- object: Stripe.Invoice;
2060
-
2061
- previous_attributes?: Partial<Stripe.Invoice>;
2062
- }
2063
- }
2064
-
2065
1710
  /**
2066
1711
  * Occurs whenever an invoice payment attempt fails, due either to a declined payment or to the lack of a stored payment method.
2067
1712
  */
@@ -2414,54 +2059,6 @@ declare module 'stripe' {
2414
2059
  }
2415
2060
  }
2416
2061
 
2417
- /**
2418
- * Emitted when the DisputeSettlementDetail object is created
2419
- */
2420
- interface IssuingDisputeSettlementDetailCreatedEvent extends EventBase {
2421
- type: 'issuing_dispute_settlement_detail.created';
2422
- data: IssuingDisputeSettlementDetailCreatedEvent.Data;
2423
- }
2424
-
2425
- namespace IssuingDisputeSettlementDetailCreatedEvent {
2426
- interface Data extends Stripe.Event.Data {
2427
- object: Stripe.Issuing.DisputeSettlementDetail;
2428
-
2429
- previous_attributes?: Partial<Stripe.Issuing.DisputeSettlementDetail>;
2430
- }
2431
- }
2432
-
2433
- /**
2434
- * Emitted when the DisputeSettlementDetail object is updated
2435
- */
2436
- interface IssuingDisputeSettlementDetailUpdatedEvent extends EventBase {
2437
- type: 'issuing_dispute_settlement_detail.updated';
2438
- data: IssuingDisputeSettlementDetailUpdatedEvent.Data;
2439
- }
2440
-
2441
- namespace IssuingDisputeSettlementDetailUpdatedEvent {
2442
- interface Data extends Stripe.Event.Data {
2443
- object: Stripe.Issuing.DisputeSettlementDetail;
2444
-
2445
- previous_attributes?: Partial<Stripe.Issuing.DisputeSettlementDetail>;
2446
- }
2447
- }
2448
-
2449
- /**
2450
- * Occurs whenever funds are deducted from your account for fraud dispute loss liability.
2451
- */
2452
- interface IssuingFraudLiabilityDebitCreatedEvent extends EventBase {
2453
- type: 'issuing_fraud_liability_debit.created';
2454
- data: IssuingFraudLiabilityDebitCreatedEvent.Data;
2455
- }
2456
-
2457
- namespace IssuingFraudLiabilityDebitCreatedEvent {
2458
- interface Data extends Stripe.Event.Data {
2459
- object: Stripe.Issuing.FraudLiabilityDebit;
2460
-
2461
- previous_attributes?: Partial<Stripe.Issuing.FraudLiabilityDebit>;
2462
- }
2463
- }
2464
-
2465
2062
  /**
2466
2063
  * Occurs whenever a personalization design is activated following the activation of the physical bundle that belongs to it.
2467
2064
  */
@@ -2526,38 +2123,6 @@ declare module 'stripe' {
2526
2123
  }
2527
2124
  }
2528
2125
 
2529
- /**
2530
- * Occurs whenever an issuing settlement is created.
2531
- */
2532
- interface IssuingSettlementCreatedEvent extends EventBase {
2533
- type: 'issuing_settlement.created';
2534
- data: IssuingSettlementCreatedEvent.Data;
2535
- }
2536
-
2537
- namespace IssuingSettlementCreatedEvent {
2538
- interface Data extends Stripe.Event.Data {
2539
- object: Stripe.Issuing.Settlement;
2540
-
2541
- previous_attributes?: Partial<Stripe.Issuing.Settlement>;
2542
- }
2543
- }
2544
-
2545
- /**
2546
- * Occurs whenever an issuing settlement is updated.
2547
- */
2548
- interface IssuingSettlementUpdatedEvent extends EventBase {
2549
- type: 'issuing_settlement.updated';
2550
- data: IssuingSettlementUpdatedEvent.Data;
2551
- }
2552
-
2553
- namespace IssuingSettlementUpdatedEvent {
2554
- interface Data extends Stripe.Event.Data {
2555
- object: Stripe.Issuing.Settlement;
2556
-
2557
- previous_attributes?: Partial<Stripe.Issuing.Settlement>;
2558
- }
2559
- }
2560
-
2561
2126
  /**
2562
2127
  * Occurs whenever an issuing digital wallet token is created.
2563
2128
  */
@@ -3199,22 +2764,6 @@ declare module 'stripe' {
3199
2764
  }
3200
2765
  }
3201
2766
 
3202
- /**
3203
- * Occurs whenever a quote acceptance fails
3204
- */
3205
- interface QuoteAcceptFailedEvent extends EventBase {
3206
- type: 'quote.accept_failed';
3207
- data: QuoteAcceptFailedEvent.Data;
3208
- }
3209
-
3210
- namespace QuoteAcceptFailedEvent {
3211
- interface Data extends Stripe.Event.Data {
3212
- object: Stripe.Quote;
3213
-
3214
- previous_attributes?: Partial<Stripe.Quote>;
3215
- }
3216
- }
3217
-
3218
2767
  /**
3219
2768
  * Occurs whenever a quote is accepted.
3220
2769
  */
@@ -3231,22 +2780,6 @@ declare module 'stripe' {
3231
2780
  }
3232
2781
  }
3233
2782
 
3234
- /**
3235
- * Occurs whenever a quote's status changes to accepting
3236
- */
3237
- interface QuoteAcceptingEvent extends EventBase {
3238
- type: 'quote.accepting';
3239
- data: QuoteAcceptingEvent.Data;
3240
- }
3241
-
3242
- namespace QuoteAcceptingEvent {
3243
- interface Data extends Stripe.Event.Data {
3244
- object: Stripe.Quote;
3245
-
3246
- previous_attributes?: Partial<Stripe.Quote>;
3247
- }
3248
- }
3249
-
3250
2783
  /**
3251
2784
  * Occurs whenever a quote is canceled.
3252
2785
  */
@@ -3279,22 +2812,6 @@ declare module 'stripe' {
3279
2812
  }
3280
2813
  }
3281
2814
 
3282
- /**
3283
- * Occurs when a quote's status changes from stale to draft
3284
- */
3285
- interface QuoteDraftEvent extends EventBase {
3286
- type: 'quote.draft';
3287
- data: QuoteDraftEvent.Data;
3288
- }
3289
-
3290
- namespace QuoteDraftEvent {
3291
- interface Data extends Stripe.Event.Data {
3292
- object: Stripe.Quote;
3293
-
3294
- previous_attributes?: Partial<Stripe.Quote>;
3295
- }
3296
- }
3297
-
3298
2815
  /**
3299
2816
  * Occurs whenever a quote is finalized.
3300
2817
  */
@@ -3311,54 +2828,6 @@ declare module 'stripe' {
3311
2828
  }
3312
2829
  }
3313
2830
 
3314
- /**
3315
- * Occurs whenever a quote reestimate fails
3316
- */
3317
- interface QuoteReestimateFailedEvent extends EventBase {
3318
- type: 'quote.reestimate_failed';
3319
- data: QuoteReestimateFailedEvent.Data;
3320
- }
3321
-
3322
- namespace QuoteReestimateFailedEvent {
3323
- interface Data extends Stripe.Event.Data {
3324
- object: Stripe.Quote;
3325
-
3326
- previous_attributes?: Partial<Stripe.Quote>;
3327
- }
3328
- }
3329
-
3330
- /**
3331
- * Occurs whenever an async job to compute preview subscription schedules/upcoming invoices for the quote has completed.
3332
- */
3333
- interface QuoteReestimatedEvent extends EventBase {
3334
- type: 'quote.reestimated';
3335
- data: QuoteReestimatedEvent.Data;
3336
- }
3337
-
3338
- namespace QuoteReestimatedEvent {
3339
- interface Data extends Stripe.Event.Data {
3340
- object: Stripe.Quote;
3341
-
3342
- previous_attributes?: Partial<Stripe.Quote>;
3343
- }
3344
- }
3345
-
3346
- /**
3347
- * Occurs whenever a quote's status changes to stale
3348
- */
3349
- interface QuoteStaleEvent extends EventBase {
3350
- type: 'quote.stale';
3351
- data: QuoteStaleEvent.Data;
3352
- }
3353
-
3354
- namespace QuoteStaleEvent {
3355
- interface Data extends Stripe.Event.Data {
3356
- object: Stripe.Quote;
3357
-
3358
- previous_attributes?: Partial<Stripe.Quote>;
3359
- }
3360
- }
3361
-
3362
2831
  /**
3363
2832
  * Occurs whenever an early fraud warning is created.
3364
2833
  */
@@ -3807,22 +3276,6 @@ declare module 'stripe' {
3807
3276
  }
3808
3277
  }
3809
3278
 
3810
- /**
3811
- * Occurs whenever a price migration failed to transition prices on a subscription schedule.
3812
- */
3813
- interface SubscriptionSchedulePriceMigrationFailedEvent extends EventBase {
3814
- type: 'subscription_schedule.price_migration_failed';
3815
- data: SubscriptionSchedulePriceMigrationFailedEvent.Data;
3816
- }
3817
-
3818
- namespace SubscriptionSchedulePriceMigrationFailedEvent {
3819
- interface Data extends Stripe.Event.Data {
3820
- object: Stripe.SubscriptionSchedule;
3821
-
3822
- previous_attributes?: Partial<Stripe.SubscriptionSchedule>;
3823
- }
3824
- }
3825
-
3826
3279
  /**
3827
3280
  * Occurs whenever a new subscription schedule is released.
3828
3281
  */
@@ -3855,22 +3308,6 @@ declare module 'stripe' {
3855
3308
  }
3856
3309
  }
3857
3310
 
3858
- /**
3859
- * Occurs when a tax form is updated.
3860
- */
3861
- interface TaxFormUpdatedEvent extends EventBase {
3862
- type: 'tax.form.updated';
3863
- data: TaxFormUpdatedEvent.Data;
3864
- }
3865
-
3866
- namespace TaxFormUpdatedEvent {
3867
- interface Data extends Stripe.Event.Data {
3868
- object: Stripe.Tax.Form;
3869
-
3870
- previous_attributes?: Partial<Stripe.Tax.Form>;
3871
- }
3872
- }
3873
-
3874
3311
  /**
3875
3312
  * Occurs whenever tax settings is updated.
3876
3313
  */
@@ -3951,22 +3388,6 @@ declare module 'stripe' {
3951
3388
  }
3952
3389
  }
3953
3390
 
3954
- /**
3955
- * Occurs whenever an action sent to a Terminal reader is updated.
3956
- */
3957
- interface TerminalReaderActionUpdatedEvent extends EventBase {
3958
- type: 'terminal.reader.action_updated';
3959
- data: TerminalReaderActionUpdatedEvent.Data;
3960
- }
3961
-
3962
- namespace TerminalReaderActionUpdatedEvent {
3963
- interface Data extends Stripe.Event.Data {
3964
- object: Stripe.Terminal.Reader;
3965
-
3966
- previous_attributes?: Partial<Stripe.Terminal.Reader>;
3967
- }
3968
- }
3969
-
3970
3391
  /**
3971
3392
  * Occurs whenever a test clock starts advancing.
3972
3393
  */