stripe 16.9.0-beta.2 → 16.10.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.
- package/CHANGELOG.md +128 -822
- package/README.md +0 -33
- package/VERSION +1 -1
- package/cjs/RequestSender.js +5 -66
- package/cjs/StripeResource.js +1 -1
- package/cjs/apiVersion.js +1 -2
- package/cjs/multipart.js +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Invoices.js +0 -17
- package/cjs/resources/OAuth.js +1 -1
- package/cjs/resources/PaymentIntents.js +0 -4
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -12
- package/cjs/resources.js +10 -40
- package/cjs/stripe.core.js +3 -6
- package/cjs/utils.js +3 -30
- package/esm/RequestSender.js +6 -67
- package/esm/StripeResource.js +2 -2
- package/esm/apiVersion.js +0 -1
- package/esm/multipart.js +2 -2
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Invoices.js +0 -17
- package/esm/resources/OAuth.js +2 -2
- package/esm/resources/PaymentIntents.js +0 -4
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -12
- package/esm/resources.js +0 -26
- package/esm/stripe.core.js +3 -6
- package/esm/utils.js +1 -27
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +2 -6
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -260
- package/types/Accounts.d.ts +1 -113
- package/types/AccountsResource.d.ts +0 -270
- package/types/Billing/AlertsResource.d.ts +10 -0
- package/types/Charges.d.ts +0 -71
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +5 -186
- package/types/Checkout/SessionsResource.d.ts +6 -350
- package/types/ConfirmationTokens.d.ts +0 -67
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +0 -21
- package/types/CreditNotesResource.d.ts +0 -51
- package/types/CustomersResource.d.ts +0 -3
- package/types/Disputes.d.ts +0 -152
- package/types/DisputesResource.d.ts +0 -120
- package/types/EventTypes.d.ts +0 -460
- package/types/Events.d.ts +0 -85
- package/types/FileLinksResource.d.ts +1 -1
- package/types/Files.d.ts +1 -0
- package/types/FilesResource.d.ts +3 -1
- package/types/FinancialConnections/Accounts.d.ts +1 -29
- package/types/FinancialConnections/AccountsResource.d.ts +3 -35
- package/types/FinancialConnections/Sessions.d.ts +1 -49
- package/types/FinancialConnections/SessionsResource.d.ts +1 -38
- package/types/InvoiceItems.d.ts +0 -5
- package/types/InvoiceItemsResource.d.ts +0 -98
- package/types/InvoiceLineItems.d.ts +3 -23
- package/types/Invoices.d.ts +1 -116
- package/types/InvoicesResource.d.ts +1836 -5494
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Cards.d.ts +1 -1
- package/types/LineItems.d.ts +1 -8
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +1 -502
- package/types/PaymentIntentsResource.d.ts +3467 -7064
- package/types/PaymentLinks.d.ts +0 -1
- package/types/PaymentLinksResource.d.ts +0 -2
- package/types/PaymentMethodConfigurations.d.ts +0 -36
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
- package/types/PaymentMethods.d.ts +0 -67
- package/types/PaymentMethodsResource.d.ts +0 -119
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +0 -36
- package/types/Quotes.d.ts +1 -596
- package/types/QuotesResource.d.ts +199 -2531
- package/types/SetupAttempts.d.ts +0 -9
- package/types/SetupIntents.d.ts +1 -110
- package/types/SetupIntentsResource.d.ts +3 -522
- package/types/Sources.d.ts +0 -23
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -200
- package/types/SubscriptionSchedulesResource.d.ts +13 -1231
- package/types/Subscriptions.d.ts +1 -82
- package/types/SubscriptionsResource.d.ts +2 -347
- package/types/Tax/CalculationsResource.d.ts +1 -1
- package/types/Terminal/Readers.d.ts +0 -278
- package/types/Terminal/ReadersResource.d.ts +4 -212
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -63
- package/types/TestHelpers/TestClocks.d.ts +15 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Transfers.d.ts +1 -1
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -10
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/WebhookEndpointsResource.d.ts +0 -54
- package/types/index.d.ts +0 -67
- package/types/lib.d.ts +0 -12
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/QuotePhases.js +0 -22
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/QuotePhases.js +0 -19
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -93
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- package/types/InvoicePayments.d.ts +0 -138
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -446
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1017
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1084
- package/types/OrdersResource.d.ts +0 -2765
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePhases.d.ts +0 -198
- package/types/QuotePhasesResource.d.ts +0 -67
- package/types/QuotePreviewInvoices.d.ts +0 -1531
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
- package/types/Tax/Associations.d.ts +0 -126
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -133
- package/types/Tax/FormsResource.d.ts +0 -90
package/types/EventTypes.d.ts
CHANGED
|
@@ -9,8 +9,6 @@ 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
|
|
@@ -20,15 +18,6 @@ declare module 'stripe' {
|
|
|
20
18
|
| BillingPortalConfigurationUpdatedEvent
|
|
21
19
|
| BillingPortalSessionCreatedEvent
|
|
22
20
|
| CapabilityUpdatedEvent
|
|
23
|
-
| CapitalFinancingOfferAcceptedEvent
|
|
24
|
-
| CapitalFinancingOfferCanceledEvent
|
|
25
|
-
| CapitalFinancingOfferCreatedEvent
|
|
26
|
-
| CapitalFinancingOfferExpiredEvent
|
|
27
|
-
| CapitalFinancingOfferFullyRepaidEvent
|
|
28
|
-
| CapitalFinancingOfferPaidOutEvent
|
|
29
|
-
| CapitalFinancingOfferRejectedEvent
|
|
30
|
-
| CapitalFinancingOfferReplacementCreatedEvent
|
|
31
|
-
| CapitalFinancingTransactionCreatedEvent
|
|
32
21
|
| CashBalanceFundsAvailableEvent
|
|
33
22
|
| ChargeCapturedEvent
|
|
34
23
|
| ChargeDisputeClosedEvent
|
|
@@ -69,15 +58,11 @@ declare module 'stripe' {
|
|
|
69
58
|
| CustomerSourceDeletedEvent
|
|
70
59
|
| CustomerSourceExpiringEvent
|
|
71
60
|
| CustomerSourceUpdatedEvent
|
|
72
|
-
| CustomerSubscriptionCollectionPausedEvent
|
|
73
|
-
| CustomerSubscriptionCollectionResumedEvent
|
|
74
61
|
| CustomerSubscriptionCreatedEvent
|
|
75
|
-
| CustomerSubscriptionCustomEventEvent
|
|
76
62
|
| CustomerSubscriptionDeletedEvent
|
|
77
63
|
| CustomerSubscriptionPausedEvent
|
|
78
64
|
| CustomerSubscriptionPendingUpdateAppliedEvent
|
|
79
65
|
| CustomerSubscriptionPendingUpdateExpiredEvent
|
|
80
|
-
| CustomerSubscriptionPriceMigrationFailedEvent
|
|
81
66
|
| CustomerSubscriptionResumedEvent
|
|
82
67
|
| CustomerSubscriptionTrialWillEndEvent
|
|
83
68
|
| CustomerSubscriptionUpdatedEvent
|
|
@@ -93,10 +78,8 @@ declare module 'stripe' {
|
|
|
93
78
|
| FinancialConnectionsAccountDisconnectedEvent
|
|
94
79
|
| FinancialConnectionsAccountReactivatedEvent
|
|
95
80
|
| FinancialConnectionsAccountRefreshedBalanceEvent
|
|
96
|
-
| FinancialConnectionsAccountRefreshedInferredBalancesEvent
|
|
97
81
|
| FinancialConnectionsAccountRefreshedOwnershipEvent
|
|
98
82
|
| FinancialConnectionsAccountRefreshedTransactionsEvent
|
|
99
|
-
| FinancialConnectionsSessionUpdatedEvent
|
|
100
83
|
| IdentityVerificationSessionCanceledEvent
|
|
101
84
|
| IdentityVerificationSessionCreatedEvent
|
|
102
85
|
| IdentityVerificationSessionProcessingEvent
|
|
@@ -110,7 +93,6 @@ declare module 'stripe' {
|
|
|
110
93
|
| InvoiceMarkedUncollectibleEvent
|
|
111
94
|
| InvoiceOverdueEvent
|
|
112
95
|
| InvoicePaidEvent
|
|
113
|
-
| InvoicePaymentOverpaidEvent
|
|
114
96
|
| InvoicePaymentActionRequiredEvent
|
|
115
97
|
| InvoicePaymentFailedEvent
|
|
116
98
|
| InvoicePaymentSucceededEvent
|
|
@@ -177,16 +159,10 @@ declare module 'stripe' {
|
|
|
177
159
|
| ProductUpdatedEvent
|
|
178
160
|
| PromotionCodeCreatedEvent
|
|
179
161
|
| PromotionCodeUpdatedEvent
|
|
180
|
-
| QuoteAcceptFailedEvent
|
|
181
162
|
| QuoteAcceptedEvent
|
|
182
|
-
| QuoteAcceptingEvent
|
|
183
163
|
| QuoteCanceledEvent
|
|
184
164
|
| QuoteCreatedEvent
|
|
185
|
-
| QuoteDraftEvent
|
|
186
165
|
| QuoteFinalizedEvent
|
|
187
|
-
| QuoteReestimateFailedEvent
|
|
188
|
-
| QuoteReestimatedEvent
|
|
189
|
-
| QuoteStaleEvent
|
|
190
166
|
| RadarEarlyFraudWarningCreatedEvent
|
|
191
167
|
| RadarEarlyFraudWarningUpdatedEvent
|
|
192
168
|
| RefundCreatedEvent
|
|
@@ -214,16 +190,13 @@ declare module 'stripe' {
|
|
|
214
190
|
| SubscriptionScheduleCompletedEvent
|
|
215
191
|
| SubscriptionScheduleCreatedEvent
|
|
216
192
|
| SubscriptionScheduleExpiringEvent
|
|
217
|
-
| SubscriptionSchedulePriceMigrationFailedEvent
|
|
218
193
|
| SubscriptionScheduleReleasedEvent
|
|
219
194
|
| SubscriptionScheduleUpdatedEvent
|
|
220
|
-
| TaxFormUpdatedEvent
|
|
221
195
|
| TaxSettingsUpdatedEvent
|
|
222
196
|
| TaxRateCreatedEvent
|
|
223
197
|
| TaxRateUpdatedEvent
|
|
224
198
|
| TerminalReaderActionFailedEvent
|
|
225
199
|
| TerminalReaderActionSucceededEvent
|
|
226
|
-
| TerminalReaderActionUpdatedEvent
|
|
227
200
|
| TestHelpersTestClockAdvancingEvent
|
|
228
201
|
| TestHelpersTestClockCreatedEvent
|
|
229
202
|
| TestHelpersTestClockDeletedEvent
|
|
@@ -364,38 +337,6 @@ declare module 'stripe' {
|
|
|
364
337
|
}
|
|
365
338
|
}
|
|
366
339
|
|
|
367
|
-
/**
|
|
368
|
-
* Occurs whenever an AccountNotice is created.
|
|
369
|
-
*/
|
|
370
|
-
interface AccountNoticeCreatedEvent extends EventBase {
|
|
371
|
-
type: 'account_notice.created';
|
|
372
|
-
data: AccountNoticeCreatedEvent.Data;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
namespace AccountNoticeCreatedEvent {
|
|
376
|
-
interface Data extends Stripe.Event.Data {
|
|
377
|
-
object: Stripe.AccountNotice;
|
|
378
|
-
|
|
379
|
-
previous_attributes?: Partial<Stripe.AccountNotice>;
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
/**
|
|
384
|
-
* Occurs whenever an AccountNotice is updated.
|
|
385
|
-
*/
|
|
386
|
-
interface AccountNoticeUpdatedEvent extends EventBase {
|
|
387
|
-
type: 'account_notice.updated';
|
|
388
|
-
data: AccountNoticeUpdatedEvent.Data;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
namespace AccountNoticeUpdatedEvent {
|
|
392
|
-
interface Data extends Stripe.Event.Data {
|
|
393
|
-
object: Stripe.AccountNotice;
|
|
394
|
-
|
|
395
|
-
previous_attributes?: Partial<Stripe.AccountNotice>;
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
|
|
399
340
|
/**
|
|
400
341
|
* Occurs whenever an application fee is created on a charge.
|
|
401
342
|
*/
|
|
@@ -540,150 +481,6 @@ declare module 'stripe' {
|
|
|
540
481
|
}
|
|
541
482
|
}
|
|
542
483
|
|
|
543
|
-
/**
|
|
544
|
-
* Occurs whenever a connected account accepts a financing offer.
|
|
545
|
-
*/
|
|
546
|
-
interface CapitalFinancingOfferAcceptedEvent extends EventBase {
|
|
547
|
-
type: 'capital.financing_offer.accepted';
|
|
548
|
-
data: CapitalFinancingOfferAcceptedEvent.Data;
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
namespace CapitalFinancingOfferAcceptedEvent {
|
|
552
|
-
interface Data extends Stripe.Event.Data {
|
|
553
|
-
object: Stripe.Capital.FinancingOffer;
|
|
554
|
-
|
|
555
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
/**
|
|
560
|
-
* Occurs whenever a financing offer is canceled.
|
|
561
|
-
*/
|
|
562
|
-
interface CapitalFinancingOfferCanceledEvent extends EventBase {
|
|
563
|
-
type: 'capital.financing_offer.canceled';
|
|
564
|
-
data: CapitalFinancingOfferCanceledEvent.Data;
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
namespace CapitalFinancingOfferCanceledEvent {
|
|
568
|
-
interface Data extends Stripe.Event.Data {
|
|
569
|
-
object: Stripe.Capital.FinancingOffer;
|
|
570
|
-
|
|
571
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
/**
|
|
576
|
-
* Occurs whenever a new financing offer is created for a connected account.
|
|
577
|
-
*/
|
|
578
|
-
interface CapitalFinancingOfferCreatedEvent extends EventBase {
|
|
579
|
-
type: 'capital.financing_offer.created';
|
|
580
|
-
data: CapitalFinancingOfferCreatedEvent.Data;
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
namespace CapitalFinancingOfferCreatedEvent {
|
|
584
|
-
interface Data extends Stripe.Event.Data {
|
|
585
|
-
object: Stripe.Capital.FinancingOffer;
|
|
586
|
-
|
|
587
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
/**
|
|
592
|
-
* Occurs whenever a financing offer expires.
|
|
593
|
-
*/
|
|
594
|
-
interface CapitalFinancingOfferExpiredEvent extends EventBase {
|
|
595
|
-
type: 'capital.financing_offer.expired';
|
|
596
|
-
data: CapitalFinancingOfferExpiredEvent.Data;
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
namespace CapitalFinancingOfferExpiredEvent {
|
|
600
|
-
interface Data extends Stripe.Event.Data {
|
|
601
|
-
object: Stripe.Capital.FinancingOffer;
|
|
602
|
-
|
|
603
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
/**
|
|
608
|
-
* Occurs whenever a financing offer is fully repaid.
|
|
609
|
-
*/
|
|
610
|
-
interface CapitalFinancingOfferFullyRepaidEvent extends EventBase {
|
|
611
|
-
type: 'capital.financing_offer.fully_repaid';
|
|
612
|
-
data: CapitalFinancingOfferFullyRepaidEvent.Data;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
namespace CapitalFinancingOfferFullyRepaidEvent {
|
|
616
|
-
interface Data extends Stripe.Event.Data {
|
|
617
|
-
object: Stripe.Capital.FinancingOffer;
|
|
618
|
-
|
|
619
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
/**
|
|
624
|
-
* Occurs whenever a financing offer is paid out.
|
|
625
|
-
*/
|
|
626
|
-
interface CapitalFinancingOfferPaidOutEvent extends EventBase {
|
|
627
|
-
type: 'capital.financing_offer.paid_out';
|
|
628
|
-
data: CapitalFinancingOfferPaidOutEvent.Data;
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
namespace CapitalFinancingOfferPaidOutEvent {
|
|
632
|
-
interface Data extends Stripe.Event.Data {
|
|
633
|
-
object: Stripe.Capital.FinancingOffer;
|
|
634
|
-
|
|
635
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
636
|
-
}
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
/**
|
|
640
|
-
* Occurs whenever a financing offer is rejected.
|
|
641
|
-
*/
|
|
642
|
-
interface CapitalFinancingOfferRejectedEvent extends EventBase {
|
|
643
|
-
type: 'capital.financing_offer.rejected';
|
|
644
|
-
data: CapitalFinancingOfferRejectedEvent.Data;
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
namespace CapitalFinancingOfferRejectedEvent {
|
|
648
|
-
interface Data extends Stripe.Event.Data {
|
|
649
|
-
object: Stripe.Capital.FinancingOffer;
|
|
650
|
-
|
|
651
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
/**
|
|
656
|
-
* Occurs whenever a replacement for a financing offer has been created.
|
|
657
|
-
*/
|
|
658
|
-
interface CapitalFinancingOfferReplacementCreatedEvent extends EventBase {
|
|
659
|
-
type: 'capital.financing_offer.replacement_created';
|
|
660
|
-
data: CapitalFinancingOfferReplacementCreatedEvent.Data;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
namespace CapitalFinancingOfferReplacementCreatedEvent {
|
|
664
|
-
interface Data extends Stripe.Event.Data {
|
|
665
|
-
object: Stripe.Capital.FinancingOffer;
|
|
666
|
-
|
|
667
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
/**
|
|
672
|
-
* Occurs whenever a financing transaction is created.
|
|
673
|
-
*/
|
|
674
|
-
interface CapitalFinancingTransactionCreatedEvent extends EventBase {
|
|
675
|
-
type: 'capital.financing_transaction.created';
|
|
676
|
-
data: CapitalFinancingTransactionCreatedEvent.Data;
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
namespace CapitalFinancingTransactionCreatedEvent {
|
|
680
|
-
interface Data extends Stripe.Event.Data {
|
|
681
|
-
object: Stripe.Capital.FinancingTransaction;
|
|
682
|
-
|
|
683
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingTransaction>;
|
|
684
|
-
}
|
|
685
|
-
}
|
|
686
|
-
|
|
687
484
|
/**
|
|
688
485
|
* Occurs whenever there is a positive remaining cash balance after Stripe automatically reconciles new funds into the cash balance. If you enabled manual reconciliation, this webhook will fire whenever there are new funds into the cash balance.
|
|
689
486
|
*/
|
|
@@ -1324,38 +1121,6 @@ declare module 'stripe' {
|
|
|
1324
1121
|
}
|
|
1325
1122
|
}
|
|
1326
1123
|
|
|
1327
|
-
/**
|
|
1328
|
-
* 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`.
|
|
1329
|
-
*/
|
|
1330
|
-
interface CustomerSubscriptionCollectionPausedEvent extends EventBase {
|
|
1331
|
-
type: 'customer.subscription.collection_paused';
|
|
1332
|
-
data: CustomerSubscriptionCollectionPausedEvent.Data;
|
|
1333
|
-
}
|
|
1334
|
-
|
|
1335
|
-
namespace CustomerSubscriptionCollectionPausedEvent {
|
|
1336
|
-
interface Data extends Stripe.Event.Data {
|
|
1337
|
-
object: Stripe.Subscription;
|
|
1338
|
-
|
|
1339
|
-
previous_attributes?: Partial<Stripe.Subscription>;
|
|
1340
|
-
}
|
|
1341
|
-
}
|
|
1342
|
-
|
|
1343
|
-
/**
|
|
1344
|
-
* 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`.
|
|
1345
|
-
*/
|
|
1346
|
-
interface CustomerSubscriptionCollectionResumedEvent extends EventBase {
|
|
1347
|
-
type: 'customer.subscription.collection_resumed';
|
|
1348
|
-
data: CustomerSubscriptionCollectionResumedEvent.Data;
|
|
1349
|
-
}
|
|
1350
|
-
|
|
1351
|
-
namespace CustomerSubscriptionCollectionResumedEvent {
|
|
1352
|
-
interface Data extends Stripe.Event.Data {
|
|
1353
|
-
object: Stripe.Subscription;
|
|
1354
|
-
|
|
1355
|
-
previous_attributes?: Partial<Stripe.Subscription>;
|
|
1356
|
-
}
|
|
1357
|
-
}
|
|
1358
|
-
|
|
1359
1124
|
/**
|
|
1360
1125
|
* Occurs whenever a customer is signed up for a new plan.
|
|
1361
1126
|
*/
|
|
@@ -1372,22 +1137,6 @@ declare module 'stripe' {
|
|
|
1372
1137
|
}
|
|
1373
1138
|
}
|
|
1374
1139
|
|
|
1375
|
-
/**
|
|
1376
|
-
* An ad-hoc custom event that is sent based on user configured [Automation](https://docs.stripe.com/billing/automations#send-custom-webhook-event-action).
|
|
1377
|
-
*/
|
|
1378
|
-
interface CustomerSubscriptionCustomEventEvent extends EventBase {
|
|
1379
|
-
type: 'customer.subscription.custom_event';
|
|
1380
|
-
data: CustomerSubscriptionCustomEventEvent.Data;
|
|
1381
|
-
}
|
|
1382
|
-
|
|
1383
|
-
namespace CustomerSubscriptionCustomEventEvent {
|
|
1384
|
-
interface Data extends Stripe.Event.Data {
|
|
1385
|
-
object: Stripe.Subscription;
|
|
1386
|
-
|
|
1387
|
-
previous_attributes?: Partial<Stripe.Subscription>;
|
|
1388
|
-
}
|
|
1389
|
-
}
|
|
1390
|
-
|
|
1391
1140
|
/**
|
|
1392
1141
|
* Occurs whenever a customer's subscription ends.
|
|
1393
1142
|
*/
|
|
@@ -1452,22 +1201,6 @@ declare module 'stripe' {
|
|
|
1452
1201
|
}
|
|
1453
1202
|
}
|
|
1454
1203
|
|
|
1455
|
-
/**
|
|
1456
|
-
* Occurs whenever a price migration failed to transition prices on a subscription.
|
|
1457
|
-
*/
|
|
1458
|
-
interface CustomerSubscriptionPriceMigrationFailedEvent extends EventBase {
|
|
1459
|
-
type: 'customer.subscription.price_migration_failed';
|
|
1460
|
-
data: CustomerSubscriptionPriceMigrationFailedEvent.Data;
|
|
1461
|
-
}
|
|
1462
|
-
|
|
1463
|
-
namespace CustomerSubscriptionPriceMigrationFailedEvent {
|
|
1464
|
-
interface Data extends Stripe.Event.Data {
|
|
1465
|
-
object: Stripe.Subscription;
|
|
1466
|
-
|
|
1467
|
-
previous_attributes?: Partial<Stripe.Subscription>;
|
|
1468
|
-
}
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
1204
|
/**
|
|
1472
1205
|
* Occurs whenever a customer's subscription is no longer paused. Only applies when a `status=paused` subscription is [resumed](https://docs.stripe.com/api/subscriptions/resume), not when [payment collection](https://docs.stripe.com/billing/subscriptions/pause) is resumed.
|
|
1473
1206
|
*/
|
|
@@ -1712,23 +1445,6 @@ declare module 'stripe' {
|
|
|
1712
1445
|
}
|
|
1713
1446
|
}
|
|
1714
1447
|
|
|
1715
|
-
/**
|
|
1716
|
-
* Occurs when an Account’s `inferred_balances_refresh` status transitions from `pending` to either `succeeded` or `failed`.
|
|
1717
|
-
*/
|
|
1718
|
-
interface FinancialConnectionsAccountRefreshedInferredBalancesEvent
|
|
1719
|
-
extends EventBase {
|
|
1720
|
-
type: 'financial_connections.account.refreshed_inferred_balances';
|
|
1721
|
-
data: FinancialConnectionsAccountRefreshedInferredBalancesEvent.Data;
|
|
1722
|
-
}
|
|
1723
|
-
|
|
1724
|
-
namespace FinancialConnectionsAccountRefreshedInferredBalancesEvent {
|
|
1725
|
-
interface Data extends Stripe.Event.Data {
|
|
1726
|
-
object: Stripe.FinancialConnections.Account;
|
|
1727
|
-
|
|
1728
|
-
previous_attributes?: Partial<Stripe.FinancialConnections.Account>;
|
|
1729
|
-
}
|
|
1730
|
-
}
|
|
1731
|
-
|
|
1732
1448
|
/**
|
|
1733
1449
|
* Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.
|
|
1734
1450
|
*/
|
|
@@ -1763,22 +1479,6 @@ declare module 'stripe' {
|
|
|
1763
1479
|
}
|
|
1764
1480
|
}
|
|
1765
1481
|
|
|
1766
|
-
/**
|
|
1767
|
-
* Occurs when a Financial Connections Session `status` transitions from `pending` to `failed`, `cancelled`, or `completed`.
|
|
1768
|
-
*/
|
|
1769
|
-
interface FinancialConnectionsSessionUpdatedEvent extends EventBase {
|
|
1770
|
-
type: 'financial_connections.session.updated';
|
|
1771
|
-
data: FinancialConnectionsSessionUpdatedEvent.Data;
|
|
1772
|
-
}
|
|
1773
|
-
|
|
1774
|
-
namespace FinancialConnectionsSessionUpdatedEvent {
|
|
1775
|
-
interface Data extends Stripe.Event.Data {
|
|
1776
|
-
object: Stripe.FinancialConnections.Session;
|
|
1777
|
-
|
|
1778
|
-
previous_attributes?: Partial<Stripe.FinancialConnections.Session>;
|
|
1779
|
-
}
|
|
1780
|
-
}
|
|
1781
|
-
|
|
1782
1482
|
/**
|
|
1783
1483
|
* Occurs whenever a VerificationSession is canceled
|
|
1784
1484
|
*/
|
|
@@ -1987,22 +1687,6 @@ declare module 'stripe' {
|
|
|
1987
1687
|
}
|
|
1988
1688
|
}
|
|
1989
1689
|
|
|
1990
|
-
/**
|
|
1991
|
-
* Occurs when an InvoicePayment transitions to paid with a non-zero amount_overpaid.
|
|
1992
|
-
*/
|
|
1993
|
-
interface InvoicePaymentOverpaidEvent extends EventBase {
|
|
1994
|
-
type: 'invoice.payment.overpaid';
|
|
1995
|
-
data: InvoicePaymentOverpaidEvent.Data;
|
|
1996
|
-
}
|
|
1997
|
-
|
|
1998
|
-
namespace InvoicePaymentOverpaidEvent {
|
|
1999
|
-
interface Data extends Stripe.Event.Data {
|
|
2000
|
-
object: Stripe.InvoicePayment;
|
|
2001
|
-
|
|
2002
|
-
previous_attributes?: Partial<Stripe.InvoicePayment>;
|
|
2003
|
-
}
|
|
2004
|
-
}
|
|
2005
|
-
|
|
2006
1690
|
/**
|
|
2007
1691
|
* Occurs whenever an invoice payment attempt requires further user action to complete.
|
|
2008
1692
|
*/
|
|
@@ -3059,22 +2743,6 @@ declare module 'stripe' {
|
|
|
3059
2743
|
}
|
|
3060
2744
|
}
|
|
3061
2745
|
|
|
3062
|
-
/**
|
|
3063
|
-
* Occurs whenever a quote acceptance fails
|
|
3064
|
-
*/
|
|
3065
|
-
interface QuoteAcceptFailedEvent extends EventBase {
|
|
3066
|
-
type: 'quote.accept_failed';
|
|
3067
|
-
data: QuoteAcceptFailedEvent.Data;
|
|
3068
|
-
}
|
|
3069
|
-
|
|
3070
|
-
namespace QuoteAcceptFailedEvent {
|
|
3071
|
-
interface Data extends Stripe.Event.Data {
|
|
3072
|
-
object: Stripe.Quote;
|
|
3073
|
-
|
|
3074
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3075
|
-
}
|
|
3076
|
-
}
|
|
3077
|
-
|
|
3078
2746
|
/**
|
|
3079
2747
|
* Occurs whenever a quote is accepted.
|
|
3080
2748
|
*/
|
|
@@ -3091,22 +2759,6 @@ declare module 'stripe' {
|
|
|
3091
2759
|
}
|
|
3092
2760
|
}
|
|
3093
2761
|
|
|
3094
|
-
/**
|
|
3095
|
-
* Occurs whenever a quote's status changes to accepting
|
|
3096
|
-
*/
|
|
3097
|
-
interface QuoteAcceptingEvent extends EventBase {
|
|
3098
|
-
type: 'quote.accepting';
|
|
3099
|
-
data: QuoteAcceptingEvent.Data;
|
|
3100
|
-
}
|
|
3101
|
-
|
|
3102
|
-
namespace QuoteAcceptingEvent {
|
|
3103
|
-
interface Data extends Stripe.Event.Data {
|
|
3104
|
-
object: Stripe.Quote;
|
|
3105
|
-
|
|
3106
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3107
|
-
}
|
|
3108
|
-
}
|
|
3109
|
-
|
|
3110
2762
|
/**
|
|
3111
2763
|
* Occurs whenever a quote is canceled.
|
|
3112
2764
|
*/
|
|
@@ -3139,22 +2791,6 @@ declare module 'stripe' {
|
|
|
3139
2791
|
}
|
|
3140
2792
|
}
|
|
3141
2793
|
|
|
3142
|
-
/**
|
|
3143
|
-
* Occurs when a quote's status changes from stale to draft
|
|
3144
|
-
*/
|
|
3145
|
-
interface QuoteDraftEvent extends EventBase {
|
|
3146
|
-
type: 'quote.draft';
|
|
3147
|
-
data: QuoteDraftEvent.Data;
|
|
3148
|
-
}
|
|
3149
|
-
|
|
3150
|
-
namespace QuoteDraftEvent {
|
|
3151
|
-
interface Data extends Stripe.Event.Data {
|
|
3152
|
-
object: Stripe.Quote;
|
|
3153
|
-
|
|
3154
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3155
|
-
}
|
|
3156
|
-
}
|
|
3157
|
-
|
|
3158
2794
|
/**
|
|
3159
2795
|
* Occurs whenever a quote is finalized.
|
|
3160
2796
|
*/
|
|
@@ -3171,54 +2807,6 @@ declare module 'stripe' {
|
|
|
3171
2807
|
}
|
|
3172
2808
|
}
|
|
3173
2809
|
|
|
3174
|
-
/**
|
|
3175
|
-
* Occurs whenever a quote reestimate fails
|
|
3176
|
-
*/
|
|
3177
|
-
interface QuoteReestimateFailedEvent extends EventBase {
|
|
3178
|
-
type: 'quote.reestimate_failed';
|
|
3179
|
-
data: QuoteReestimateFailedEvent.Data;
|
|
3180
|
-
}
|
|
3181
|
-
|
|
3182
|
-
namespace QuoteReestimateFailedEvent {
|
|
3183
|
-
interface Data extends Stripe.Event.Data {
|
|
3184
|
-
object: Stripe.Quote;
|
|
3185
|
-
|
|
3186
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3187
|
-
}
|
|
3188
|
-
}
|
|
3189
|
-
|
|
3190
|
-
/**
|
|
3191
|
-
* Occurs whenever an async job to compute preview subscription schedules/upcoming invoices for the quote has completed.
|
|
3192
|
-
*/
|
|
3193
|
-
interface QuoteReestimatedEvent extends EventBase {
|
|
3194
|
-
type: 'quote.reestimated';
|
|
3195
|
-
data: QuoteReestimatedEvent.Data;
|
|
3196
|
-
}
|
|
3197
|
-
|
|
3198
|
-
namespace QuoteReestimatedEvent {
|
|
3199
|
-
interface Data extends Stripe.Event.Data {
|
|
3200
|
-
object: Stripe.Quote;
|
|
3201
|
-
|
|
3202
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3203
|
-
}
|
|
3204
|
-
}
|
|
3205
|
-
|
|
3206
|
-
/**
|
|
3207
|
-
* Occurs whenever a quote's status changes to stale
|
|
3208
|
-
*/
|
|
3209
|
-
interface QuoteStaleEvent extends EventBase {
|
|
3210
|
-
type: 'quote.stale';
|
|
3211
|
-
data: QuoteStaleEvent.Data;
|
|
3212
|
-
}
|
|
3213
|
-
|
|
3214
|
-
namespace QuoteStaleEvent {
|
|
3215
|
-
interface Data extends Stripe.Event.Data {
|
|
3216
|
-
object: Stripe.Quote;
|
|
3217
|
-
|
|
3218
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3219
|
-
}
|
|
3220
|
-
}
|
|
3221
|
-
|
|
3222
2810
|
/**
|
|
3223
2811
|
* Occurs whenever an early fraud warning is created.
|
|
3224
2812
|
*/
|
|
@@ -3651,22 +3239,6 @@ declare module 'stripe' {
|
|
|
3651
3239
|
}
|
|
3652
3240
|
}
|
|
3653
3241
|
|
|
3654
|
-
/**
|
|
3655
|
-
* Occurs whenever a price migration failed to transition prices on a subscription schedule.
|
|
3656
|
-
*/
|
|
3657
|
-
interface SubscriptionSchedulePriceMigrationFailedEvent extends EventBase {
|
|
3658
|
-
type: 'subscription_schedule.price_migration_failed';
|
|
3659
|
-
data: SubscriptionSchedulePriceMigrationFailedEvent.Data;
|
|
3660
|
-
}
|
|
3661
|
-
|
|
3662
|
-
namespace SubscriptionSchedulePriceMigrationFailedEvent {
|
|
3663
|
-
interface Data extends Stripe.Event.Data {
|
|
3664
|
-
object: Stripe.SubscriptionSchedule;
|
|
3665
|
-
|
|
3666
|
-
previous_attributes?: Partial<Stripe.SubscriptionSchedule>;
|
|
3667
|
-
}
|
|
3668
|
-
}
|
|
3669
|
-
|
|
3670
3242
|
/**
|
|
3671
3243
|
* Occurs whenever a new subscription schedule is released.
|
|
3672
3244
|
*/
|
|
@@ -3699,22 +3271,6 @@ declare module 'stripe' {
|
|
|
3699
3271
|
}
|
|
3700
3272
|
}
|
|
3701
3273
|
|
|
3702
|
-
/**
|
|
3703
|
-
* Occurs when a tax form is updated.
|
|
3704
|
-
*/
|
|
3705
|
-
interface TaxFormUpdatedEvent extends EventBase {
|
|
3706
|
-
type: 'tax.form.updated';
|
|
3707
|
-
data: TaxFormUpdatedEvent.Data;
|
|
3708
|
-
}
|
|
3709
|
-
|
|
3710
|
-
namespace TaxFormUpdatedEvent {
|
|
3711
|
-
interface Data extends Stripe.Event.Data {
|
|
3712
|
-
object: Stripe.Tax.Form;
|
|
3713
|
-
|
|
3714
|
-
previous_attributes?: Partial<Stripe.Tax.Form>;
|
|
3715
|
-
}
|
|
3716
|
-
}
|
|
3717
|
-
|
|
3718
3274
|
/**
|
|
3719
3275
|
* Occurs whenever tax settings is updated.
|
|
3720
3276
|
*/
|
|
@@ -3795,22 +3351,6 @@ declare module 'stripe' {
|
|
|
3795
3351
|
}
|
|
3796
3352
|
}
|
|
3797
3353
|
|
|
3798
|
-
/**
|
|
3799
|
-
* Occurs whenever an action sent to a Terminal reader is updated.
|
|
3800
|
-
*/
|
|
3801
|
-
interface TerminalReaderActionUpdatedEvent extends EventBase {
|
|
3802
|
-
type: 'terminal.reader.action_updated';
|
|
3803
|
-
data: TerminalReaderActionUpdatedEvent.Data;
|
|
3804
|
-
}
|
|
3805
|
-
|
|
3806
|
-
namespace TerminalReaderActionUpdatedEvent {
|
|
3807
|
-
interface Data extends Stripe.Event.Data {
|
|
3808
|
-
object: Stripe.Terminal.Reader;
|
|
3809
|
-
|
|
3810
|
-
previous_attributes?: Partial<Stripe.Terminal.Reader>;
|
|
3811
|
-
}
|
|
3812
|
-
}
|
|
3813
|
-
|
|
3814
3354
|
/**
|
|
3815
3355
|
* Occurs whenever a test clock starts advancing.
|
|
3816
3356
|
*/
|