stripe 17.2.1 → 17.3.0-beta.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.
- package/CHANGELOG.md +925 -114
- package/README.md +4 -4
- package/VERSION +1 -1
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/Capital/FinancingSummary.js +12 -0
- package/cjs/resources/Capital/FinancingTransactions.js +17 -0
- package/cjs/resources/FinancialConnections/Accounts.js +5 -0
- package/cjs/resources/FinancialConnections/Institutions.js +17 -0
- package/cjs/resources/GiftCards/Cards.js +23 -0
- package/cjs/resources/GiftCards/Transactions.js +33 -0
- package/cjs/resources/Invoices.js +17 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
- package/cjs/resources/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/PaymentIntents.js +4 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Tax/Associations.js +9 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
- package/cjs/resources/Terminal/Readers.js +12 -0
- package/cjs/resources/TestHelpers/Issuing/Cards.js +4 -0
- package/cjs/resources.js +42 -10
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/Capital/FinancingOffers.js +18 -0
- package/esm/resources/Capital/FinancingSummary.js +9 -0
- package/esm/resources/Capital/FinancingTransactions.js +14 -0
- package/esm/resources/FinancialConnections/Accounts.js +5 -0
- package/esm/resources/FinancialConnections/Institutions.js +14 -0
- package/esm/resources/GiftCards/Cards.js +20 -0
- package/esm/resources/GiftCards/Transactions.js +30 -0
- package/esm/resources/Invoices.js +17 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
- package/esm/resources/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/PaymentIntents.js +4 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Tax/Associations.js +6 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
- package/esm/resources/Terminal/Readers.js +12 -0
- package/esm/resources/TestHelpers/Issuing/Cards.js +4 -0
- package/esm/resources.js +29 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +5 -1
- package/types/AccountNotices.d.ts +113 -0
- package/types/AccountNoticesResource.d.ts +98 -0
- package/types/AccountSessions.d.ts +75 -5
- package/types/AccountSessionsResource.d.ts +354 -5
- package/types/Accounts.d.ts +211 -3
- package/types/AccountsResource.d.ts +584 -2
- package/types/Billing/CreditBalanceSummary.d.ts +4 -4
- package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
- package/types/Billing/CreditBalanceTransactions.d.ts +10 -10
- package/types/Billing/CreditGrants.d.ts +11 -8
- package/types/Billing/CreditGrantsResource.d.ts +6 -6
- package/types/Billing/MeterErrorReports.d.ts +106 -0
- package/types/Billing/Meters.d.ts +2 -0
- package/types/BillingPortal/Configurations.d.ts +22 -0
- package/types/BillingPortal/ConfigurationsResource.d.ts +56 -4
- package/types/Capital/FinancingOffers.d.ts +188 -0
- package/types/Capital/FinancingOffersResource.d.ts +97 -0
- package/types/Capital/FinancingSummary.d.ts +106 -0
- package/types/Capital/FinancingSummaryResource.d.ts +27 -0
- package/types/Capital/FinancingTransactions.d.ts +135 -0
- package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
- package/types/Charges.d.ts +168 -0
- package/types/ChargesResource.d.ts +1294 -0
- package/types/Checkout/Sessions.d.ts +309 -5
- package/types/Checkout/SessionsResource.d.ts +360 -5
- package/types/ConfirmationTokens.d.ts +157 -0
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNoteLineItems.d.ts +3 -0
- package/types/CreditNotes.d.ts +24 -0
- package/types/CreditNotesResource.d.ts +54 -3
- package/types/CustomersResource.d.ts +27 -3
- package/types/Disputes.d.ts +152 -0
- package/types/DisputesResource.d.ts +120 -0
- package/types/EventTypes.d.ts +564 -2
- package/types/Events.d.ts +91 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +29 -1
- package/types/FinancialConnections/AccountsResource.d.ts +35 -3
- package/types/FinancialConnections/Institutions.d.ts +93 -0
- package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
- package/types/FinancialConnections/Sessions.d.ts +49 -1
- package/types/FinancialConnections/SessionsResource.d.ts +38 -1
- package/types/Forwarding/Requests.d.ts +5 -0
- package/types/Forwarding/RequestsResource.d.ts +5 -0
- package/types/GiftCards/Cards.d.ts +118 -0
- package/types/GiftCards/CardsResource.d.ts +159 -0
- package/types/GiftCards/Transactions.d.ts +129 -0
- package/types/GiftCards/TransactionsResource.d.ts +201 -0
- package/types/InvoiceItems.d.ts +5 -0
- package/types/InvoiceItemsResource.d.ts +98 -0
- package/types/InvoiceLineItems.d.ts +31 -1
- package/types/InvoicePayments.d.ts +138 -0
- package/types/Invoices.d.ts +139 -3
- package/types/InvoicesResource.d.ts +5488 -1799
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/CardsResource.d.ts +1 -1
- package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
- package/types/Issuing/DisputeSettlementDetails.d.ts +73 -0
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
- package/types/Issuing/Settlements.d.ts +103 -0
- package/types/Issuing/Transactions.d.ts +2 -0
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +7 -0
- package/types/Mandates.d.ts +85 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1154 -0
- package/types/OrdersResource.d.ts +2911 -0
- package/types/PaymentIntents.d.ts +697 -1
- package/types/PaymentIntentsResource.d.ts +7977 -3377
- package/types/PaymentLinks.d.ts +7 -0
- package/types/PaymentLinksResource.d.ts +14 -0
- package/types/PaymentMethodConfigurations.d.ts +72 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +102 -2
- package/types/PaymentMethodDomains.d.ts +28 -0
- package/types/PaymentMethods.d.ts +157 -0
- package/types/PaymentMethodsResource.d.ts +195 -1
- package/types/Persons.d.ts +1 -1
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Products.d.ts +39 -0
- package/types/ProductsResource.d.ts +36 -0
- package/types/QuoteLines.d.ts +634 -0
- package/types/QuotePreviewInvoices.d.ts +1601 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +814 -0
- package/types/Quotes.d.ts +591 -1
- package/types/QuotesResource.d.ts +2526 -194
- package/types/Refunds.d.ts +4 -0
- package/types/SetupAttempts.d.ts +19 -0
- package/types/SetupIntents.d.ts +112 -1
- package/types/SetupIntentsResource.d.ts +768 -6
- package/types/Sources.d.ts +23 -0
- package/types/SubscriptionItems.d.ts +21 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +200 -0
- package/types/SubscriptionSchedulesResource.d.ts +1234 -16
- package/types/Subscriptions.d.ts +87 -1
- package/types/SubscriptionsResource.d.ts +359 -4
- package/types/Tax/Associations.d.ts +126 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/CalculationLineItems.d.ts +1 -0
- package/types/Tax/Calculations.d.ts +33 -1
- package/types/Tax/CalculationsResource.d.ts +7 -1
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/Tax/Registrations.d.ts +82 -0
- package/types/Tax/RegistrationsResource.d.ts +109 -0
- package/types/Tax/Transactions.d.ts +8 -1
- package/types/TaxIds.d.ts +7 -1
- package/types/TaxIdsResource.d.ts +7 -1
- package/types/TaxRates.d.ts +25 -0
- package/types/TaxRatesResource.d.ts +2 -0
- package/types/Terminal/Configurations.d.ts +19 -0
- package/types/Terminal/ConfigurationsResource.d.ts +44 -0
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +278 -0
- package/types/Terminal/ReadersResource.d.ts +215 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +145 -1
- package/types/TestHelpers/Issuing/CardsResource.d.ts +22 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/TokensResource.d.ts +2 -2
- package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
- package/types/Treasury/FinancialAccounts.d.ts +6 -1
- package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
- package/types/Treasury/OutboundTransfers.d.ts +26 -0
- package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
- package/types/Treasury/ReceivedCredits.d.ts +26 -0
- package/types/Treasury/ReceivedDebits.d.ts +31 -0
- package/types/UsageRecordSummaries.d.ts +1 -1
- package/types/WebhookEndpointsResource.d.ts +66 -0
- package/types/index.d.ts +53 -0
package/types/EventTypes.d.ts
CHANGED
|
@@ -9,15 +9,27 @@ declare module 'stripe' {
|
|
|
9
9
|
| AccountExternalAccountDeletedEvent
|
|
10
10
|
| AccountExternalAccountUpdatedEvent
|
|
11
11
|
| AccountUpdatedEvent
|
|
12
|
+
| AccountNoticeCreatedEvent
|
|
13
|
+
| AccountNoticeUpdatedEvent
|
|
12
14
|
| ApplicationFeeCreatedEvent
|
|
13
15
|
| ApplicationFeeRefundUpdatedEvent
|
|
14
16
|
| ApplicationFeeRefundedEvent
|
|
15
17
|
| BalanceAvailableEvent
|
|
16
18
|
| BillingAlertTriggeredEvent
|
|
19
|
+
| BillingMeterErrorReportTriggeredEvent
|
|
17
20
|
| BillingPortalConfigurationCreatedEvent
|
|
18
21
|
| BillingPortalConfigurationUpdatedEvent
|
|
19
22
|
| BillingPortalSessionCreatedEvent
|
|
20
23
|
| CapabilityUpdatedEvent
|
|
24
|
+
| CapitalFinancingOfferAcceptedEvent
|
|
25
|
+
| CapitalFinancingOfferCanceledEvent
|
|
26
|
+
| CapitalFinancingOfferCreatedEvent
|
|
27
|
+
| CapitalFinancingOfferExpiredEvent
|
|
28
|
+
| CapitalFinancingOfferFullyRepaidEvent
|
|
29
|
+
| CapitalFinancingOfferPaidOutEvent
|
|
30
|
+
| CapitalFinancingOfferRejectedEvent
|
|
31
|
+
| CapitalFinancingOfferReplacementCreatedEvent
|
|
32
|
+
| CapitalFinancingTransactionCreatedEvent
|
|
21
33
|
| CashBalanceFundsAvailableEvent
|
|
22
34
|
| ChargeCapturedEvent
|
|
23
35
|
| ChargeDisputeClosedEvent
|
|
@@ -58,11 +70,15 @@ declare module 'stripe' {
|
|
|
58
70
|
| CustomerSourceDeletedEvent
|
|
59
71
|
| CustomerSourceExpiringEvent
|
|
60
72
|
| CustomerSourceUpdatedEvent
|
|
73
|
+
| CustomerSubscriptionCollectionPausedEvent
|
|
74
|
+
| CustomerSubscriptionCollectionResumedEvent
|
|
61
75
|
| CustomerSubscriptionCreatedEvent
|
|
76
|
+
| CustomerSubscriptionCustomEventEvent
|
|
62
77
|
| CustomerSubscriptionDeletedEvent
|
|
63
78
|
| CustomerSubscriptionPausedEvent
|
|
64
79
|
| CustomerSubscriptionPendingUpdateAppliedEvent
|
|
65
80
|
| CustomerSubscriptionPendingUpdateExpiredEvent
|
|
81
|
+
| CustomerSubscriptionPriceMigrationFailedEvent
|
|
66
82
|
| CustomerSubscriptionResumedEvent
|
|
67
83
|
| CustomerSubscriptionTrialWillEndEvent
|
|
68
84
|
| CustomerSubscriptionUpdatedEvent
|
|
@@ -78,8 +94,10 @@ declare module 'stripe' {
|
|
|
78
94
|
| FinancialConnectionsAccountDisconnectedEvent
|
|
79
95
|
| FinancialConnectionsAccountReactivatedEvent
|
|
80
96
|
| FinancialConnectionsAccountRefreshedBalanceEvent
|
|
97
|
+
| FinancialConnectionsAccountRefreshedInferredBalancesEvent
|
|
81
98
|
| FinancialConnectionsAccountRefreshedOwnershipEvent
|
|
82
99
|
| FinancialConnectionsAccountRefreshedTransactionsEvent
|
|
100
|
+
| FinancialConnectionsSessionUpdatedEvent
|
|
83
101
|
| IdentityVerificationSessionCanceledEvent
|
|
84
102
|
| IdentityVerificationSessionCreatedEvent
|
|
85
103
|
| IdentityVerificationSessionProcessingEvent
|
|
@@ -93,6 +111,7 @@ declare module 'stripe' {
|
|
|
93
111
|
| InvoiceMarkedUncollectibleEvent
|
|
94
112
|
| InvoiceOverdueEvent
|
|
95
113
|
| InvoicePaidEvent
|
|
114
|
+
| InvoicePaymentOverpaidEvent
|
|
96
115
|
| InvoicePaymentActionRequiredEvent
|
|
97
116
|
| InvoicePaymentFailedEvent
|
|
98
117
|
| InvoicePaymentSucceededEvent
|
|
@@ -116,10 +135,14 @@ declare module 'stripe' {
|
|
|
116
135
|
| IssuingDisputeFundsRescindedEvent
|
|
117
136
|
| IssuingDisputeSubmittedEvent
|
|
118
137
|
| IssuingDisputeUpdatedEvent
|
|
138
|
+
| IssuingDisputeSettlementDetailCreatedEvent
|
|
139
|
+
| IssuingDisputeSettlementDetailUpdatedEvent
|
|
119
140
|
| IssuingPersonalizationDesignActivatedEvent
|
|
120
141
|
| IssuingPersonalizationDesignDeactivatedEvent
|
|
121
142
|
| IssuingPersonalizationDesignRejectedEvent
|
|
122
143
|
| IssuingPersonalizationDesignUpdatedEvent
|
|
144
|
+
| IssuingSettlementCreatedEvent
|
|
145
|
+
| IssuingSettlementUpdatedEvent
|
|
123
146
|
| IssuingTokenCreatedEvent
|
|
124
147
|
| IssuingTokenUpdatedEvent
|
|
125
148
|
| IssuingTransactionCreatedEvent
|
|
@@ -159,13 +182,20 @@ declare module 'stripe' {
|
|
|
159
182
|
| ProductUpdatedEvent
|
|
160
183
|
| PromotionCodeCreatedEvent
|
|
161
184
|
| PromotionCodeUpdatedEvent
|
|
185
|
+
| QuoteAcceptFailedEvent
|
|
162
186
|
| QuoteAcceptedEvent
|
|
187
|
+
| QuoteAcceptingEvent
|
|
163
188
|
| QuoteCanceledEvent
|
|
164
189
|
| QuoteCreatedEvent
|
|
190
|
+
| QuoteDraftEvent
|
|
165
191
|
| QuoteFinalizedEvent
|
|
192
|
+
| QuoteReestimateFailedEvent
|
|
193
|
+
| QuoteReestimatedEvent
|
|
194
|
+
| QuoteStaleEvent
|
|
166
195
|
| RadarEarlyFraudWarningCreatedEvent
|
|
167
196
|
| RadarEarlyFraudWarningUpdatedEvent
|
|
168
197
|
| RefundCreatedEvent
|
|
198
|
+
| RefundFailedEvent
|
|
169
199
|
| RefundUpdatedEvent
|
|
170
200
|
| ReportingReportRunFailedEvent
|
|
171
201
|
| ReportingReportRunSucceededEvent
|
|
@@ -190,13 +220,16 @@ declare module 'stripe' {
|
|
|
190
220
|
| SubscriptionScheduleCompletedEvent
|
|
191
221
|
| SubscriptionScheduleCreatedEvent
|
|
192
222
|
| SubscriptionScheduleExpiringEvent
|
|
223
|
+
| SubscriptionSchedulePriceMigrationFailedEvent
|
|
193
224
|
| SubscriptionScheduleReleasedEvent
|
|
194
225
|
| SubscriptionScheduleUpdatedEvent
|
|
226
|
+
| TaxFormUpdatedEvent
|
|
195
227
|
| TaxSettingsUpdatedEvent
|
|
196
228
|
| TaxRateCreatedEvent
|
|
197
229
|
| TaxRateUpdatedEvent
|
|
198
230
|
| TerminalReaderActionFailedEvent
|
|
199
231
|
| TerminalReaderActionSucceededEvent
|
|
232
|
+
| TerminalReaderActionUpdatedEvent
|
|
200
233
|
| TestHelpersTestClockAdvancingEvent
|
|
201
234
|
| TestHelpersTestClockCreatedEvent
|
|
202
235
|
| TestHelpersTestClockDeletedEvent
|
|
@@ -339,6 +372,38 @@ declare module 'stripe' {
|
|
|
339
372
|
}
|
|
340
373
|
}
|
|
341
374
|
|
|
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
|
+
|
|
342
407
|
/**
|
|
343
408
|
* Occurs whenever an application fee is created on a charge.
|
|
344
409
|
*/
|
|
@@ -419,6 +484,22 @@ declare module 'stripe' {
|
|
|
419
484
|
}
|
|
420
485
|
}
|
|
421
486
|
|
|
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
|
+
|
|
422
503
|
/**
|
|
423
504
|
* Occurs whenever a portal configuration is created.
|
|
424
505
|
*/
|
|
@@ -483,6 +564,150 @@ declare module 'stripe' {
|
|
|
483
564
|
}
|
|
484
565
|
}
|
|
485
566
|
|
|
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
|
+
|
|
486
711
|
/**
|
|
487
712
|
* 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.
|
|
488
713
|
*/
|
|
@@ -1123,6 +1348,38 @@ declare module 'stripe' {
|
|
|
1123
1348
|
}
|
|
1124
1349
|
}
|
|
1125
1350
|
|
|
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
|
+
|
|
1126
1383
|
/**
|
|
1127
1384
|
* Occurs whenever a customer is signed up for a new plan.
|
|
1128
1385
|
*/
|
|
@@ -1139,6 +1396,22 @@ declare module 'stripe' {
|
|
|
1139
1396
|
}
|
|
1140
1397
|
}
|
|
1141
1398
|
|
|
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
|
+
|
|
1142
1415
|
/**
|
|
1143
1416
|
* Occurs whenever a customer's subscription ends.
|
|
1144
1417
|
*/
|
|
@@ -1203,6 +1476,22 @@ declare module 'stripe' {
|
|
|
1203
1476
|
}
|
|
1204
1477
|
}
|
|
1205
1478
|
|
|
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
|
+
|
|
1206
1495
|
/**
|
|
1207
1496
|
* 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.
|
|
1208
1497
|
*/
|
|
@@ -1447,6 +1736,23 @@ declare module 'stripe' {
|
|
|
1447
1736
|
}
|
|
1448
1737
|
}
|
|
1449
1738
|
|
|
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
|
+
|
|
1450
1756
|
/**
|
|
1451
1757
|
* Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.
|
|
1452
1758
|
*/
|
|
@@ -1481,6 +1787,22 @@ declare module 'stripe' {
|
|
|
1481
1787
|
}
|
|
1482
1788
|
}
|
|
1483
1789
|
|
|
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
|
+
|
|
1484
1806
|
/**
|
|
1485
1807
|
* Occurs whenever a VerificationSession is canceled
|
|
1486
1808
|
*/
|
|
@@ -1689,6 +2011,22 @@ declare module 'stripe' {
|
|
|
1689
2011
|
}
|
|
1690
2012
|
}
|
|
1691
2013
|
|
|
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
|
+
|
|
1692
2030
|
/**
|
|
1693
2031
|
* Occurs whenever an invoice payment attempt requires further user action to complete.
|
|
1694
2032
|
*/
|
|
@@ -2057,6 +2395,38 @@ declare module 'stripe' {
|
|
|
2057
2395
|
}
|
|
2058
2396
|
}
|
|
2059
2397
|
|
|
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
|
+
|
|
2060
2430
|
/**
|
|
2061
2431
|
* Occurs whenever a personalization design is activated following the activation of the physical bundle that belongs to it.
|
|
2062
2432
|
*/
|
|
@@ -2121,6 +2491,38 @@ declare module 'stripe' {
|
|
|
2121
2491
|
}
|
|
2122
2492
|
}
|
|
2123
2493
|
|
|
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
|
+
|
|
2124
2526
|
/**
|
|
2125
2527
|
* Occurs whenever an issuing digital wallet token is created.
|
|
2126
2528
|
*/
|
|
@@ -2745,6 +3147,22 @@ declare module 'stripe' {
|
|
|
2745
3147
|
}
|
|
2746
3148
|
}
|
|
2747
3149
|
|
|
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
|
+
|
|
2748
3166
|
/**
|
|
2749
3167
|
* Occurs whenever a quote is accepted.
|
|
2750
3168
|
*/
|
|
@@ -2761,6 +3179,22 @@ declare module 'stripe' {
|
|
|
2761
3179
|
}
|
|
2762
3180
|
}
|
|
2763
3181
|
|
|
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
|
+
|
|
2764
3198
|
/**
|
|
2765
3199
|
* Occurs whenever a quote is canceled.
|
|
2766
3200
|
*/
|
|
@@ -2793,6 +3227,22 @@ declare module 'stripe' {
|
|
|
2793
3227
|
}
|
|
2794
3228
|
}
|
|
2795
3229
|
|
|
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
|
+
|
|
2796
3246
|
/**
|
|
2797
3247
|
* Occurs whenever a quote is finalized.
|
|
2798
3248
|
*/
|
|
@@ -2809,6 +3259,54 @@ declare module 'stripe' {
|
|
|
2809
3259
|
}
|
|
2810
3260
|
}
|
|
2811
3261
|
|
|
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
|
+
|
|
2812
3310
|
/**
|
|
2813
3311
|
* Occurs whenever an early fraud warning is created.
|
|
2814
3312
|
*/
|
|
@@ -2842,7 +3340,7 @@ declare module 'stripe' {
|
|
|
2842
3340
|
}
|
|
2843
3341
|
|
|
2844
3342
|
/**
|
|
2845
|
-
* Occurs whenever a refund
|
|
3343
|
+
* Occurs whenever a refund is created.
|
|
2846
3344
|
*/
|
|
2847
3345
|
interface RefundCreatedEvent extends EventBase {
|
|
2848
3346
|
type: 'refund.created';
|
|
@@ -2858,7 +3356,23 @@ declare module 'stripe' {
|
|
|
2858
3356
|
}
|
|
2859
3357
|
|
|
2860
3358
|
/**
|
|
2861
|
-
* Occurs whenever a refund
|
|
3359
|
+
* Occurs whenever a refund has failed.
|
|
3360
|
+
*/
|
|
3361
|
+
interface RefundFailedEvent extends EventBase {
|
|
3362
|
+
type: 'refund.failed';
|
|
3363
|
+
data: RefundFailedEvent.Data;
|
|
3364
|
+
}
|
|
3365
|
+
|
|
3366
|
+
namespace RefundFailedEvent {
|
|
3367
|
+
interface Data extends Stripe.Event.Data {
|
|
3368
|
+
object: Stripe.Refund;
|
|
3369
|
+
|
|
3370
|
+
previous_attributes?: Partial<Stripe.Refund>;
|
|
3371
|
+
}
|
|
3372
|
+
}
|
|
3373
|
+
|
|
3374
|
+
/**
|
|
3375
|
+
* Occurs whenever a refund is updated.
|
|
2862
3376
|
*/
|
|
2863
3377
|
interface RefundUpdatedEvent extends EventBase {
|
|
2864
3378
|
type: 'refund.updated';
|
|
@@ -3241,6 +3755,22 @@ declare module 'stripe' {
|
|
|
3241
3755
|
}
|
|
3242
3756
|
}
|
|
3243
3757
|
|
|
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
|
+
|
|
3244
3774
|
/**
|
|
3245
3775
|
* Occurs whenever a new subscription schedule is released.
|
|
3246
3776
|
*/
|
|
@@ -3273,6 +3803,22 @@ declare module 'stripe' {
|
|
|
3273
3803
|
}
|
|
3274
3804
|
}
|
|
3275
3805
|
|
|
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
|
+
|
|
3276
3822
|
/**
|
|
3277
3823
|
* Occurs whenever tax settings is updated.
|
|
3278
3824
|
*/
|
|
@@ -3353,6 +3899,22 @@ declare module 'stripe' {
|
|
|
3353
3899
|
}
|
|
3354
3900
|
}
|
|
3355
3901
|
|
|
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
|
+
|
|
3356
3918
|
/**
|
|
3357
3919
|
* Occurs whenever a test clock starts advancing.
|
|
3358
3920
|
*/
|