stripe 17.3.0-beta.1 → 17.3.1

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 (166) hide show
  1. package/CHANGELOG.md +148 -918
  2. package/README.md +4 -4
  3. package/VERSION +1 -1
  4. package/cjs/apiVersion.js +1 -1
  5. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  6. package/cjs/resources/Invoices.js +0 -17
  7. package/cjs/resources/PaymentIntents.js +0 -4
  8. package/cjs/resources/Quotes.js +0 -32
  9. package/cjs/resources/SubscriptionSchedules.js +0 -4
  10. package/cjs/resources/Terminal/Readers.js +0 -12
  11. package/cjs/resources/V2/Core/EventDestinations.js +41 -0
  12. package/cjs/resources/V2/Core.js +2 -0
  13. package/cjs/resources.js +10 -42
  14. package/cjs/stripe.core.js +1 -1
  15. package/esm/apiVersion.js +1 -1
  16. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  17. package/esm/resources/Invoices.js +0 -17
  18. package/esm/resources/PaymentIntents.js +0 -4
  19. package/esm/resources/Quotes.js +0 -32
  20. package/esm/resources/SubscriptionSchedules.js +0 -4
  21. package/esm/resources/Terminal/Readers.js +0 -12
  22. package/esm/resources/V2/Core/EventDestinations.js +38 -0
  23. package/esm/resources/V2/Core.js +2 -0
  24. package/esm/resources.js +0 -29
  25. package/esm/stripe.core.js +1 -1
  26. package/package.json +1 -1
  27. package/types/AccountLinksResource.d.ts +1 -5
  28. package/types/AccountSessions.d.ts +0 -45
  29. package/types/AccountSessionsResource.d.ts +0 -324
  30. package/types/Accounts.d.ts +1 -155
  31. package/types/AccountsResource.d.ts +1 -415
  32. package/types/Charges.d.ts +0 -83
  33. package/types/ChargesResource.d.ts +0 -1294
  34. package/types/Checkout/Sessions.d.ts +79 -302
  35. package/types/Checkout/SessionsResource.d.ts +85 -354
  36. package/types/ConfirmationTokens.d.ts +0 -82
  37. package/types/Coupons.d.ts +1 -1
  38. package/types/CouponsResource.d.ts +1 -1
  39. package/types/CreditNotes.d.ts +0 -21
  40. package/types/CreditNotesResource.d.ts +0 -51
  41. package/types/CustomersResource.d.ts +0 -6
  42. package/types/Disputes.d.ts +3 -3
  43. package/types/EventTypes.d.ts +18 -545
  44. package/types/Events.d.ts +1 -90
  45. package/types/FinancialConnections/Accounts.d.ts +1 -29
  46. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  47. package/types/FinancialConnections/Sessions.d.ts +1 -49
  48. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  49. package/types/InvoiceItems.d.ts +0 -5
  50. package/types/InvoiceItemsResource.d.ts +0 -98
  51. package/types/InvoiceLineItems.d.ts +1 -28
  52. package/types/Invoices.d.ts +2 -124
  53. package/types/InvoicesResource.d.ts +1855 -5503
  54. package/types/Issuing/CardholdersResource.d.ts +1 -2
  55. package/types/Issuing/Transactions.d.ts +0 -2
  56. package/types/Issuing/TransactionsResource.d.ts +0 -5
  57. package/types/LineItems.d.ts +0 -7
  58. package/types/Mandates.d.ts +0 -77
  59. package/types/PaymentIntents.d.ts +1 -613
  60. package/types/PaymentIntentsResource.d.ts +3687 -7740
  61. package/types/PaymentLinks.d.ts +0 -6
  62. package/types/PaymentLinksResource.d.ts +0 -12
  63. package/types/PaymentMethodConfigurations.d.ts +0 -36
  64. package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
  65. package/types/PaymentMethods.d.ts +0 -82
  66. package/types/PaymentMethodsResource.d.ts +0 -115
  67. package/types/Prices.d.ts +0 -22
  68. package/types/PricesResource.d.ts +0 -22
  69. package/types/Products.d.ts +0 -39
  70. package/types/ProductsResource.d.ts +0 -36
  71. package/types/Quotes.d.ts +1 -591
  72. package/types/QuotesResource.d.ts +199 -2531
  73. package/types/Refunds.d.ts +1 -4
  74. package/types/SetupAttempts.d.ts +0 -11
  75. package/types/SetupIntents.d.ts +1 -112
  76. package/types/SetupIntentsResource.d.ts +3 -594
  77. package/types/Sources.d.ts +0 -23
  78. package/types/SubscriptionItems.d.ts +0 -21
  79. package/types/SubscriptionItemsResource.d.ts +0 -109
  80. package/types/SubscriptionSchedules.d.ts +0 -200
  81. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  82. package/types/Subscriptions.d.ts +1 -82
  83. package/types/SubscriptionsResource.d.ts +2 -347
  84. package/types/Terminal/Readers.d.ts +0 -278
  85. package/types/Terminal/ReadersResource.d.ts +0 -215
  86. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -87
  87. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  88. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  89. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  90. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  91. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  92. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  93. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  94. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  95. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  96. package/types/V2/Core/EventDestinationsResource.d.ts +281 -0
  97. package/types/V2/Core/EventsResource.d.ts +1 -1
  98. package/types/V2/CoreResource.d.ts +1 -0
  99. package/types/V2/EventDestinations.d.ts +164 -0
  100. package/types/WebhookEndpointsResource.d.ts +4 -65
  101. package/types/index.d.ts +2 -53
  102. package/types/lib.d.ts +1 -1
  103. package/types/test/typescriptTest.ts +3 -3
  104. package/cjs/resources/AccountNotices.js +0 -21
  105. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  106. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  107. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  108. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  109. package/cjs/resources/GiftCards/Cards.js +0 -23
  110. package/cjs/resources/GiftCards/Transactions.js +0 -33
  111. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  112. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  113. package/cjs/resources/Margins.js +0 -22
  114. package/cjs/resources/Orders.js +0 -24
  115. package/cjs/resources/Tax/Associations.js +0 -9
  116. package/cjs/resources/Tax/Forms.js +0 -20
  117. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  118. package/esm/resources/AccountNotices.js +0 -18
  119. package/esm/resources/Capital/FinancingOffers.js +0 -18
  120. package/esm/resources/Capital/FinancingSummary.js +0 -9
  121. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  122. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  123. package/esm/resources/GiftCards/Cards.js +0 -20
  124. package/esm/resources/GiftCards/Transactions.js +0 -30
  125. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  126. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  127. package/esm/resources/Margins.js +0 -19
  128. package/esm/resources/Orders.js +0 -21
  129. package/esm/resources/Tax/Associations.js +0 -6
  130. package/esm/resources/Tax/Forms.js +0 -17
  131. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  132. package/types/AccountNotices.d.ts +0 -113
  133. package/types/AccountNoticesResource.d.ts +0 -98
  134. package/types/Billing/MeterErrorReports.d.ts +0 -106
  135. package/types/Capital/FinancingOffers.d.ts +0 -188
  136. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  137. package/types/Capital/FinancingSummary.d.ts +0 -106
  138. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  139. package/types/Capital/FinancingTransactions.d.ts +0 -135
  140. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  141. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  142. package/types/FinancialConnections/Institutions.d.ts +0 -93
  143. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  144. package/types/GiftCards/Cards.d.ts +0 -118
  145. package/types/GiftCards/CardsResource.d.ts +0 -159
  146. package/types/GiftCards/Transactions.d.ts +0 -129
  147. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  148. package/types/InvoicePayments.d.ts +0 -138
  149. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  150. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  151. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  152. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  153. package/types/Issuing/Settlements.d.ts +0 -103
  154. package/types/Margins.d.ts +0 -56
  155. package/types/MarginsResource.d.ts +0 -114
  156. package/types/Orders.d.ts +0 -1154
  157. package/types/OrdersResource.d.ts +0 -2911
  158. package/types/QuoteLines.d.ts +0 -634
  159. package/types/QuotePreviewInvoices.d.ts +0 -1601
  160. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
  161. package/types/Tax/Associations.d.ts +0 -126
  162. package/types/Tax/AssociationsResource.d.ts +0 -29
  163. package/types/Tax/Forms.d.ts +0 -220
  164. package/types/Tax/FormsResource.d.ts +0 -107
  165. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  166. 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,17 +116,14 @@ 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
126
+ | IssuingTransactionPurchaseDetailsReceiptUpdatedEvent
149
127
  | IssuingTransactionUpdatedEvent
150
128
  | MandateUpdatedEvent
151
129
  | PaymentIntentAmountCapturableUpdatedEvent
@@ -182,16 +160,10 @@ declare module 'stripe' {
182
160
  | ProductUpdatedEvent
183
161
  | PromotionCodeCreatedEvent
184
162
  | PromotionCodeUpdatedEvent
185
- | QuoteAcceptFailedEvent
186
163
  | QuoteAcceptedEvent
187
- | QuoteAcceptingEvent
188
164
  | QuoteCanceledEvent
189
165
  | QuoteCreatedEvent
190
- | QuoteDraftEvent
191
166
  | QuoteFinalizedEvent
192
- | QuoteReestimateFailedEvent
193
- | QuoteReestimatedEvent
194
- | QuoteStaleEvent
195
167
  | RadarEarlyFraudWarningCreatedEvent
196
168
  | RadarEarlyFraudWarningUpdatedEvent
197
169
  | RefundCreatedEvent
@@ -220,16 +192,13 @@ declare module 'stripe' {
220
192
  | SubscriptionScheduleCompletedEvent
221
193
  | SubscriptionScheduleCreatedEvent
222
194
  | SubscriptionScheduleExpiringEvent
223
- | SubscriptionSchedulePriceMigrationFailedEvent
224
195
  | SubscriptionScheduleReleasedEvent
225
196
  | SubscriptionScheduleUpdatedEvent
226
- | TaxFormUpdatedEvent
227
197
  | TaxSettingsUpdatedEvent
228
198
  | TaxRateCreatedEvent
229
199
  | TaxRateUpdatedEvent
230
200
  | TerminalReaderActionFailedEvent
231
201
  | TerminalReaderActionSucceededEvent
232
- | TerminalReaderActionUpdatedEvent
233
202
  | TestHelpersTestClockAdvancingEvent
234
203
  | TestHelpersTestClockCreatedEvent
235
204
  | TestHelpersTestClockDeletedEvent
@@ -372,38 +341,6 @@ declare module 'stripe' {
372
341
  }
373
342
  }
374
343
 
375
- /**
376
- * Occurs whenever an AccountNotice is created.
377
- */
378
- interface AccountNoticeCreatedEvent extends EventBase {
379
- type: 'account_notice.created';
380
- data: AccountNoticeCreatedEvent.Data;
381
- }
382
-
383
- namespace AccountNoticeCreatedEvent {
384
- interface Data extends Stripe.Event.Data {
385
- object: Stripe.AccountNotice;
386
-
387
- previous_attributes?: Partial<Stripe.AccountNotice>;
388
- }
389
- }
390
-
391
- /**
392
- * Occurs whenever an AccountNotice is updated.
393
- */
394
- interface AccountNoticeUpdatedEvent extends EventBase {
395
- type: 'account_notice.updated';
396
- data: AccountNoticeUpdatedEvent.Data;
397
- }
398
-
399
- namespace AccountNoticeUpdatedEvent {
400
- interface Data extends Stripe.Event.Data {
401
- object: Stripe.AccountNotice;
402
-
403
- previous_attributes?: Partial<Stripe.AccountNotice>;
404
- }
405
- }
406
-
407
344
  /**
408
345
  * Occurs whenever an application fee is created on a charge.
409
346
  */
@@ -484,22 +421,6 @@ declare module 'stripe' {
484
421
  }
485
422
  }
486
423
 
487
- /**
488
- * Notifies of errors on a billing meter
489
- */
490
- interface BillingMeterErrorReportTriggeredEvent extends EventBase {
491
- type: 'billing.meter_error_report.triggered';
492
- data: BillingMeterErrorReportTriggeredEvent.Data;
493
- }
494
-
495
- namespace BillingMeterErrorReportTriggeredEvent {
496
- interface Data extends Stripe.Event.Data {
497
- object: Stripe.Billing.MeterErrorReport;
498
-
499
- previous_attributes?: Partial<Stripe.Billing.MeterErrorReport>;
500
- }
501
- }
502
-
503
424
  /**
504
425
  * Occurs whenever a portal configuration is created.
505
426
  */
@@ -564,150 +485,6 @@ declare module 'stripe' {
564
485
  }
565
486
  }
566
487
 
567
- /**
568
- * Occurs whenever a connected account accepts a financing offer.
569
- */
570
- interface CapitalFinancingOfferAcceptedEvent extends EventBase {
571
- type: 'capital.financing_offer.accepted';
572
- data: CapitalFinancingOfferAcceptedEvent.Data;
573
- }
574
-
575
- namespace CapitalFinancingOfferAcceptedEvent {
576
- interface Data extends Stripe.Event.Data {
577
- object: Stripe.Capital.FinancingOffer;
578
-
579
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
580
- }
581
- }
582
-
583
- /**
584
- * Occurs whenever a financing offer is canceled.
585
- */
586
- interface CapitalFinancingOfferCanceledEvent extends EventBase {
587
- type: 'capital.financing_offer.canceled';
588
- data: CapitalFinancingOfferCanceledEvent.Data;
589
- }
590
-
591
- namespace CapitalFinancingOfferCanceledEvent {
592
- interface Data extends Stripe.Event.Data {
593
- object: Stripe.Capital.FinancingOffer;
594
-
595
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
596
- }
597
- }
598
-
599
- /**
600
- * Occurs whenever a new financing offer is created for a connected account.
601
- */
602
- interface CapitalFinancingOfferCreatedEvent extends EventBase {
603
- type: 'capital.financing_offer.created';
604
- data: CapitalFinancingOfferCreatedEvent.Data;
605
- }
606
-
607
- namespace CapitalFinancingOfferCreatedEvent {
608
- interface Data extends Stripe.Event.Data {
609
- object: Stripe.Capital.FinancingOffer;
610
-
611
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
612
- }
613
- }
614
-
615
- /**
616
- * Occurs whenever a financing offer expires.
617
- */
618
- interface CapitalFinancingOfferExpiredEvent extends EventBase {
619
- type: 'capital.financing_offer.expired';
620
- data: CapitalFinancingOfferExpiredEvent.Data;
621
- }
622
-
623
- namespace CapitalFinancingOfferExpiredEvent {
624
- interface Data extends Stripe.Event.Data {
625
- object: Stripe.Capital.FinancingOffer;
626
-
627
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
628
- }
629
- }
630
-
631
- /**
632
- * Occurs whenever a financing offer is fully repaid.
633
- */
634
- interface CapitalFinancingOfferFullyRepaidEvent extends EventBase {
635
- type: 'capital.financing_offer.fully_repaid';
636
- data: CapitalFinancingOfferFullyRepaidEvent.Data;
637
- }
638
-
639
- namespace CapitalFinancingOfferFullyRepaidEvent {
640
- interface Data extends Stripe.Event.Data {
641
- object: Stripe.Capital.FinancingOffer;
642
-
643
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
644
- }
645
- }
646
-
647
- /**
648
- * Occurs whenever a financing offer is paid out.
649
- */
650
- interface CapitalFinancingOfferPaidOutEvent extends EventBase {
651
- type: 'capital.financing_offer.paid_out';
652
- data: CapitalFinancingOfferPaidOutEvent.Data;
653
- }
654
-
655
- namespace CapitalFinancingOfferPaidOutEvent {
656
- interface Data extends Stripe.Event.Data {
657
- object: Stripe.Capital.FinancingOffer;
658
-
659
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
660
- }
661
- }
662
-
663
- /**
664
- * Occurs whenever a financing offer is rejected.
665
- */
666
- interface CapitalFinancingOfferRejectedEvent extends EventBase {
667
- type: 'capital.financing_offer.rejected';
668
- data: CapitalFinancingOfferRejectedEvent.Data;
669
- }
670
-
671
- namespace CapitalFinancingOfferRejectedEvent {
672
- interface Data extends Stripe.Event.Data {
673
- object: Stripe.Capital.FinancingOffer;
674
-
675
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
676
- }
677
- }
678
-
679
- /**
680
- * Occurs whenever a replacement for a financing offer has been created.
681
- */
682
- interface CapitalFinancingOfferReplacementCreatedEvent extends EventBase {
683
- type: 'capital.financing_offer.replacement_created';
684
- data: CapitalFinancingOfferReplacementCreatedEvent.Data;
685
- }
686
-
687
- namespace CapitalFinancingOfferReplacementCreatedEvent {
688
- interface Data extends Stripe.Event.Data {
689
- object: Stripe.Capital.FinancingOffer;
690
-
691
- previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
692
- }
693
- }
694
-
695
- /**
696
- * Occurs whenever a financing transaction is created.
697
- */
698
- interface CapitalFinancingTransactionCreatedEvent extends EventBase {
699
- type: 'capital.financing_transaction.created';
700
- data: CapitalFinancingTransactionCreatedEvent.Data;
701
- }
702
-
703
- namespace CapitalFinancingTransactionCreatedEvent {
704
- interface Data extends Stripe.Event.Data {
705
- object: Stripe.Capital.FinancingTransaction;
706
-
707
- previous_attributes?: Partial<Stripe.Capital.FinancingTransaction>;
708
- }
709
- }
710
-
711
488
  /**
712
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.
713
490
  */
@@ -1348,38 +1125,6 @@ declare module 'stripe' {
1348
1125
  }
1349
1126
  }
1350
1127
 
1351
- /**
1352
- * 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`.
1353
- */
1354
- interface CustomerSubscriptionCollectionPausedEvent extends EventBase {
1355
- type: 'customer.subscription.collection_paused';
1356
- data: CustomerSubscriptionCollectionPausedEvent.Data;
1357
- }
1358
-
1359
- namespace CustomerSubscriptionCollectionPausedEvent {
1360
- interface Data extends Stripe.Event.Data {
1361
- object: Stripe.Subscription;
1362
-
1363
- previous_attributes?: Partial<Stripe.Subscription>;
1364
- }
1365
- }
1366
-
1367
- /**
1368
- * 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`.
1369
- */
1370
- interface CustomerSubscriptionCollectionResumedEvent extends EventBase {
1371
- type: 'customer.subscription.collection_resumed';
1372
- data: CustomerSubscriptionCollectionResumedEvent.Data;
1373
- }
1374
-
1375
- namespace CustomerSubscriptionCollectionResumedEvent {
1376
- interface Data extends Stripe.Event.Data {
1377
- object: Stripe.Subscription;
1378
-
1379
- previous_attributes?: Partial<Stripe.Subscription>;
1380
- }
1381
- }
1382
-
1383
1128
  /**
1384
1129
  * Occurs whenever a customer is signed up for a new plan.
1385
1130
  */
@@ -1396,22 +1141,6 @@ declare module 'stripe' {
1396
1141
  }
1397
1142
  }
1398
1143
 
1399
- /**
1400
- * An ad-hoc custom event that is sent based on user configured [Automation](https://docs.stripe.com/billing/automations#send-custom-webhook-event-action).
1401
- */
1402
- interface CustomerSubscriptionCustomEventEvent extends EventBase {
1403
- type: 'customer.subscription.custom_event';
1404
- data: CustomerSubscriptionCustomEventEvent.Data;
1405
- }
1406
-
1407
- namespace CustomerSubscriptionCustomEventEvent {
1408
- interface Data extends Stripe.Event.Data {
1409
- object: Stripe.Subscription;
1410
-
1411
- previous_attributes?: Partial<Stripe.Subscription>;
1412
- }
1413
- }
1414
-
1415
1144
  /**
1416
1145
  * Occurs whenever a customer's subscription ends.
1417
1146
  */
@@ -1476,22 +1205,6 @@ declare module 'stripe' {
1476
1205
  }
1477
1206
  }
1478
1207
 
1479
- /**
1480
- * Occurs whenever a price migration failed to transition prices on a subscription.
1481
- */
1482
- interface CustomerSubscriptionPriceMigrationFailedEvent extends EventBase {
1483
- type: 'customer.subscription.price_migration_failed';
1484
- data: CustomerSubscriptionPriceMigrationFailedEvent.Data;
1485
- }
1486
-
1487
- namespace CustomerSubscriptionPriceMigrationFailedEvent {
1488
- interface Data extends Stripe.Event.Data {
1489
- object: Stripe.Subscription;
1490
-
1491
- previous_attributes?: Partial<Stripe.Subscription>;
1492
- }
1493
- }
1494
-
1495
1208
  /**
1496
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.
1497
1210
  */
@@ -1736,23 +1449,6 @@ declare module 'stripe' {
1736
1449
  }
1737
1450
  }
1738
1451
 
1739
- /**
1740
- * Occurs when an Account’s `inferred_balances_refresh` status transitions from `pending` to either `succeeded` or `failed`.
1741
- */
1742
- interface FinancialConnectionsAccountRefreshedInferredBalancesEvent
1743
- extends EventBase {
1744
- type: 'financial_connections.account.refreshed_inferred_balances';
1745
- data: FinancialConnectionsAccountRefreshedInferredBalancesEvent.Data;
1746
- }
1747
-
1748
- namespace FinancialConnectionsAccountRefreshedInferredBalancesEvent {
1749
- interface Data extends Stripe.Event.Data {
1750
- object: Stripe.FinancialConnections.Account;
1751
-
1752
- previous_attributes?: Partial<Stripe.FinancialConnections.Account>;
1753
- }
1754
- }
1755
-
1756
1452
  /**
1757
1453
  * Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.
1758
1454
  */
@@ -1787,22 +1483,6 @@ declare module 'stripe' {
1787
1483
  }
1788
1484
  }
1789
1485
 
1790
- /**
1791
- * Occurs when a Financial Connections Session `status` transitions from `pending` to `failed`, `cancelled`, or `completed`.
1792
- */
1793
- interface FinancialConnectionsSessionUpdatedEvent extends EventBase {
1794
- type: 'financial_connections.session.updated';
1795
- data: FinancialConnectionsSessionUpdatedEvent.Data;
1796
- }
1797
-
1798
- namespace FinancialConnectionsSessionUpdatedEvent {
1799
- interface Data extends Stripe.Event.Data {
1800
- object: Stripe.FinancialConnections.Session;
1801
-
1802
- previous_attributes?: Partial<Stripe.FinancialConnections.Session>;
1803
- }
1804
- }
1805
-
1806
1486
  /**
1807
1487
  * Occurs whenever a VerificationSession is canceled
1808
1488
  */
@@ -2011,22 +1691,6 @@ declare module 'stripe' {
2011
1691
  }
2012
1692
  }
2013
1693
 
2014
- /**
2015
- * Occurs when an InvoicePayment transitions to paid with a non-zero amount_overpaid.
2016
- */
2017
- interface InvoicePaymentOverpaidEvent extends EventBase {
2018
- type: 'invoice.payment.overpaid';
2019
- data: InvoicePaymentOverpaidEvent.Data;
2020
- }
2021
-
2022
- namespace InvoicePaymentOverpaidEvent {
2023
- interface Data extends Stripe.Event.Data {
2024
- object: Stripe.InvoicePayment;
2025
-
2026
- previous_attributes?: Partial<Stripe.InvoicePayment>;
2027
- }
2028
- }
2029
-
2030
1694
  /**
2031
1695
  * Occurs whenever an invoice payment attempt requires further user action to complete.
2032
1696
  */
@@ -2395,38 +2059,6 @@ declare module 'stripe' {
2395
2059
  }
2396
2060
  }
2397
2061
 
2398
- /**
2399
- * Emitted when the DisputeSettlementDetail object is created
2400
- */
2401
- interface IssuingDisputeSettlementDetailCreatedEvent extends EventBase {
2402
- type: 'issuing_dispute_settlement_detail.created';
2403
- data: IssuingDisputeSettlementDetailCreatedEvent.Data;
2404
- }
2405
-
2406
- namespace IssuingDisputeSettlementDetailCreatedEvent {
2407
- interface Data extends Stripe.Event.Data {
2408
- object: Stripe.Issuing.DisputeSettlementDetail;
2409
-
2410
- previous_attributes?: Partial<Stripe.Issuing.DisputeSettlementDetail>;
2411
- }
2412
- }
2413
-
2414
- /**
2415
- * Emitted when the DisputeSettlementDetail object is updated
2416
- */
2417
- interface IssuingDisputeSettlementDetailUpdatedEvent extends EventBase {
2418
- type: 'issuing_dispute_settlement_detail.updated';
2419
- data: IssuingDisputeSettlementDetailUpdatedEvent.Data;
2420
- }
2421
-
2422
- namespace IssuingDisputeSettlementDetailUpdatedEvent {
2423
- interface Data extends Stripe.Event.Data {
2424
- object: Stripe.Issuing.DisputeSettlementDetail;
2425
-
2426
- previous_attributes?: Partial<Stripe.Issuing.DisputeSettlementDetail>;
2427
- }
2428
- }
2429
-
2430
2062
  /**
2431
2063
  * Occurs whenever a personalization design is activated following the activation of the physical bundle that belongs to it.
2432
2064
  */
@@ -2491,38 +2123,6 @@ declare module 'stripe' {
2491
2123
  }
2492
2124
  }
2493
2125
 
2494
- /**
2495
- * Occurs whenever an issuing settlement is created.
2496
- */
2497
- interface IssuingSettlementCreatedEvent extends EventBase {
2498
- type: 'issuing_settlement.created';
2499
- data: IssuingSettlementCreatedEvent.Data;
2500
- }
2501
-
2502
- namespace IssuingSettlementCreatedEvent {
2503
- interface Data extends Stripe.Event.Data {
2504
- object: Stripe.Issuing.Settlement;
2505
-
2506
- previous_attributes?: Partial<Stripe.Issuing.Settlement>;
2507
- }
2508
- }
2509
-
2510
- /**
2511
- * Occurs whenever an issuing settlement is updated.
2512
- */
2513
- interface IssuingSettlementUpdatedEvent extends EventBase {
2514
- type: 'issuing_settlement.updated';
2515
- data: IssuingSettlementUpdatedEvent.Data;
2516
- }
2517
-
2518
- namespace IssuingSettlementUpdatedEvent {
2519
- interface Data extends Stripe.Event.Data {
2520
- object: Stripe.Issuing.Settlement;
2521
-
2522
- previous_attributes?: Partial<Stripe.Issuing.Settlement>;
2523
- }
2524
- }
2525
-
2526
2126
  /**
2527
2127
  * Occurs whenever an issuing digital wallet token is created.
2528
2128
  */
@@ -2571,6 +2171,23 @@ declare module 'stripe' {
2571
2171
  }
2572
2172
  }
2573
2173
 
2174
+ /**
2175
+ * Occurs whenever an issuing transaction is updated with receipt data.
2176
+ */
2177
+ interface IssuingTransactionPurchaseDetailsReceiptUpdatedEvent
2178
+ extends EventBase {
2179
+ type: 'issuing_transaction.purchase_details_receipt_updated';
2180
+ data: IssuingTransactionPurchaseDetailsReceiptUpdatedEvent.Data;
2181
+ }
2182
+
2183
+ namespace IssuingTransactionPurchaseDetailsReceiptUpdatedEvent {
2184
+ interface Data extends Stripe.Event.Data {
2185
+ object: Stripe.Issuing.Transaction;
2186
+
2187
+ previous_attributes?: Partial<Stripe.Issuing.Transaction>;
2188
+ }
2189
+ }
2190
+
2574
2191
  /**
2575
2192
  * Occurs whenever an issuing transaction is updated.
2576
2193
  */
@@ -3147,22 +2764,6 @@ declare module 'stripe' {
3147
2764
  }
3148
2765
  }
3149
2766
 
3150
- /**
3151
- * Occurs whenever a quote acceptance fails
3152
- */
3153
- interface QuoteAcceptFailedEvent extends EventBase {
3154
- type: 'quote.accept_failed';
3155
- data: QuoteAcceptFailedEvent.Data;
3156
- }
3157
-
3158
- namespace QuoteAcceptFailedEvent {
3159
- interface Data extends Stripe.Event.Data {
3160
- object: Stripe.Quote;
3161
-
3162
- previous_attributes?: Partial<Stripe.Quote>;
3163
- }
3164
- }
3165
-
3166
2767
  /**
3167
2768
  * Occurs whenever a quote is accepted.
3168
2769
  */
@@ -3179,22 +2780,6 @@ declare module 'stripe' {
3179
2780
  }
3180
2781
  }
3181
2782
 
3182
- /**
3183
- * Occurs whenever a quote's status changes to accepting
3184
- */
3185
- interface QuoteAcceptingEvent extends EventBase {
3186
- type: 'quote.accepting';
3187
- data: QuoteAcceptingEvent.Data;
3188
- }
3189
-
3190
- namespace QuoteAcceptingEvent {
3191
- interface Data extends Stripe.Event.Data {
3192
- object: Stripe.Quote;
3193
-
3194
- previous_attributes?: Partial<Stripe.Quote>;
3195
- }
3196
- }
3197
-
3198
2783
  /**
3199
2784
  * Occurs whenever a quote is canceled.
3200
2785
  */
@@ -3227,22 +2812,6 @@ declare module 'stripe' {
3227
2812
  }
3228
2813
  }
3229
2814
 
3230
- /**
3231
- * Occurs when a quote's status changes from stale to draft
3232
- */
3233
- interface QuoteDraftEvent extends EventBase {
3234
- type: 'quote.draft';
3235
- data: QuoteDraftEvent.Data;
3236
- }
3237
-
3238
- namespace QuoteDraftEvent {
3239
- interface Data extends Stripe.Event.Data {
3240
- object: Stripe.Quote;
3241
-
3242
- previous_attributes?: Partial<Stripe.Quote>;
3243
- }
3244
- }
3245
-
3246
2815
  /**
3247
2816
  * Occurs whenever a quote is finalized.
3248
2817
  */
@@ -3259,54 +2828,6 @@ declare module 'stripe' {
3259
2828
  }
3260
2829
  }
3261
2830
 
3262
- /**
3263
- * Occurs whenever a quote reestimate fails
3264
- */
3265
- interface QuoteReestimateFailedEvent extends EventBase {
3266
- type: 'quote.reestimate_failed';
3267
- data: QuoteReestimateFailedEvent.Data;
3268
- }
3269
-
3270
- namespace QuoteReestimateFailedEvent {
3271
- interface Data extends Stripe.Event.Data {
3272
- object: Stripe.Quote;
3273
-
3274
- previous_attributes?: Partial<Stripe.Quote>;
3275
- }
3276
- }
3277
-
3278
- /**
3279
- * Occurs whenever an async job to compute preview subscription schedules/upcoming invoices for the quote has completed.
3280
- */
3281
- interface QuoteReestimatedEvent extends EventBase {
3282
- type: 'quote.reestimated';
3283
- data: QuoteReestimatedEvent.Data;
3284
- }
3285
-
3286
- namespace QuoteReestimatedEvent {
3287
- interface Data extends Stripe.Event.Data {
3288
- object: Stripe.Quote;
3289
-
3290
- previous_attributes?: Partial<Stripe.Quote>;
3291
- }
3292
- }
3293
-
3294
- /**
3295
- * Occurs whenever a quote's status changes to stale
3296
- */
3297
- interface QuoteStaleEvent extends EventBase {
3298
- type: 'quote.stale';
3299
- data: QuoteStaleEvent.Data;
3300
- }
3301
-
3302
- namespace QuoteStaleEvent {
3303
- interface Data extends Stripe.Event.Data {
3304
- object: Stripe.Quote;
3305
-
3306
- previous_attributes?: Partial<Stripe.Quote>;
3307
- }
3308
- }
3309
-
3310
2831
  /**
3311
2832
  * Occurs whenever an early fraud warning is created.
3312
2833
  */
@@ -3755,22 +3276,6 @@ declare module 'stripe' {
3755
3276
  }
3756
3277
  }
3757
3278
 
3758
- /**
3759
- * Occurs whenever a price migration failed to transition prices on a subscription schedule.
3760
- */
3761
- interface SubscriptionSchedulePriceMigrationFailedEvent extends EventBase {
3762
- type: 'subscription_schedule.price_migration_failed';
3763
- data: SubscriptionSchedulePriceMigrationFailedEvent.Data;
3764
- }
3765
-
3766
- namespace SubscriptionSchedulePriceMigrationFailedEvent {
3767
- interface Data extends Stripe.Event.Data {
3768
- object: Stripe.SubscriptionSchedule;
3769
-
3770
- previous_attributes?: Partial<Stripe.SubscriptionSchedule>;
3771
- }
3772
- }
3773
-
3774
3279
  /**
3775
3280
  * Occurs whenever a new subscription schedule is released.
3776
3281
  */
@@ -3803,22 +3308,6 @@ declare module 'stripe' {
3803
3308
  }
3804
3309
  }
3805
3310
 
3806
- /**
3807
- * Occurs when a tax form is updated.
3808
- */
3809
- interface TaxFormUpdatedEvent extends EventBase {
3810
- type: 'tax.form.updated';
3811
- data: TaxFormUpdatedEvent.Data;
3812
- }
3813
-
3814
- namespace TaxFormUpdatedEvent {
3815
- interface Data extends Stripe.Event.Data {
3816
- object: Stripe.Tax.Form;
3817
-
3818
- previous_attributes?: Partial<Stripe.Tax.Form>;
3819
- }
3820
- }
3821
-
3822
3311
  /**
3823
3312
  * Occurs whenever tax settings is updated.
3824
3313
  */
@@ -3899,22 +3388,6 @@ declare module 'stripe' {
3899
3388
  }
3900
3389
  }
3901
3390
 
3902
- /**
3903
- * Occurs whenever an action sent to a Terminal reader is updated.
3904
- */
3905
- interface TerminalReaderActionUpdatedEvent extends EventBase {
3906
- type: 'terminal.reader.action_updated';
3907
- data: TerminalReaderActionUpdatedEvent.Data;
3908
- }
3909
-
3910
- namespace TerminalReaderActionUpdatedEvent {
3911
- interface Data extends Stripe.Event.Data {
3912
- object: Stripe.Terminal.Reader;
3913
-
3914
- previous_attributes?: Partial<Stripe.Terminal.Reader>;
3915
- }
3916
- }
3917
-
3918
3391
  /**
3919
3392
  * Occurs whenever a test clock starts advancing.
3920
3393
  */