stripe 16.4.0-beta.1 → 16.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +130 -767
- 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 -13
- 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 -38
- 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 -13
- 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 -24
- package/esm/stripe.core.js +3 -6
- package/esm/utils.js +1 -27
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -15
- package/types/AccountSessionsResource.d.ts +0 -205
- package/types/Accounts.d.ts +1 -88
- package/types/AccountsResource.d.ts +0 -204
- package/types/Charges.d.ts +0 -67
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +1 -28
- package/types/Checkout/SessionsResource.d.ts +1 -15
- package/types/ConfirmationTokens.d.ts +5 -62
- 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 -2
- package/types/Disputes.d.ts +0 -168
- package/types/DisputesResource.d.ts +3 -120
- package/types/EventTypes.d.ts +17 -426
- package/types/Events.d.ts +1 -83
- package/types/EventsResource.d.ts +1 -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/Identity/VerificationReports.d.ts +1 -1
- package/types/InvoiceItems.d.ts +0 -5
- package/types/InvoiceItemsResource.d.ts +0 -98
- package/types/InvoiceLineItems.d.ts +0 -22
- package/types/Invoices.d.ts +2 -116
- package/types/InvoicesResource.d.ts +1784 -5359
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/LineItems.d.ts +0 -7
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +1 -469
- package/types/PaymentIntentsResource.d.ts +3377 -6725
- package/types/PaymentMethodDomains.d.ts +1 -1
- package/types/PaymentMethods.d.ts +0 -62
- package/types/PaymentMethodsResource.d.ts +0 -110
- 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 -578
- package/types/QuotesResource.d.ts +266 -3175
- package/types/SetupAttempts.d.ts +0 -9
- package/types/SetupIntents.d.ts +1 -110
- package/types/SetupIntentsResource.d.ts +3 -498
- 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 -164
- package/types/SubscriptionSchedulesResource.d.ts +13 -1231
- package/types/Subscriptions.d.ts +3 -47
- package/types/SubscriptionsResource.d.ts +6 -349
- package/types/Terminal/Readers.d.ts +2 -279
- package/types/Terminal/ReadersResource.d.ts +1 -208
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -55
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- 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 +2 -50
- package/types/index.d.ts +0 -64
- 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/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/Forms.js +0 -17
- package/types/AccountNotices.d.ts +0 -110
- 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 -91
- 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 -1057
- package/types/OrdersResource.d.ts +0 -2711
- 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 -1530
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -778
- 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
|
|
@@ -19,15 +17,6 @@ declare module 'stripe' {
|
|
|
19
17
|
| BillingPortalConfigurationUpdatedEvent
|
|
20
18
|
| BillingPortalSessionCreatedEvent
|
|
21
19
|
| CapabilityUpdatedEvent
|
|
22
|
-
| CapitalFinancingOfferAcceptedEvent
|
|
23
|
-
| CapitalFinancingOfferCanceledEvent
|
|
24
|
-
| CapitalFinancingOfferCreatedEvent
|
|
25
|
-
| CapitalFinancingOfferExpiredEvent
|
|
26
|
-
| CapitalFinancingOfferFullyRepaidEvent
|
|
27
|
-
| CapitalFinancingOfferPaidOutEvent
|
|
28
|
-
| CapitalFinancingOfferRejectedEvent
|
|
29
|
-
| CapitalFinancingOfferReplacementCreatedEvent
|
|
30
|
-
| CapitalFinancingTransactionCreatedEvent
|
|
31
20
|
| CashBalanceFundsAvailableEvent
|
|
32
21
|
| ChargeCapturedEvent
|
|
33
22
|
| ChargeDisputeClosedEvent
|
|
@@ -68,10 +57,7 @@ declare module 'stripe' {
|
|
|
68
57
|
| CustomerSourceDeletedEvent
|
|
69
58
|
| CustomerSourceExpiringEvent
|
|
70
59
|
| CustomerSourceUpdatedEvent
|
|
71
|
-
| CustomerSubscriptionCollectionPausedEvent
|
|
72
|
-
| CustomerSubscriptionCollectionResumedEvent
|
|
73
60
|
| CustomerSubscriptionCreatedEvent
|
|
74
|
-
| CustomerSubscriptionCustomEventEvent
|
|
75
61
|
| CustomerSubscriptionDeletedEvent
|
|
76
62
|
| CustomerSubscriptionPausedEvent
|
|
77
63
|
| CustomerSubscriptionPendingUpdateAppliedEvent
|
|
@@ -91,10 +77,8 @@ declare module 'stripe' {
|
|
|
91
77
|
| FinancialConnectionsAccountDisconnectedEvent
|
|
92
78
|
| FinancialConnectionsAccountReactivatedEvent
|
|
93
79
|
| FinancialConnectionsAccountRefreshedBalanceEvent
|
|
94
|
-
| FinancialConnectionsAccountRefreshedInferredBalancesEvent
|
|
95
80
|
| FinancialConnectionsAccountRefreshedOwnershipEvent
|
|
96
81
|
| FinancialConnectionsAccountRefreshedTransactionsEvent
|
|
97
|
-
| FinancialConnectionsSessionUpdatedEvent
|
|
98
82
|
| IdentityVerificationSessionCanceledEvent
|
|
99
83
|
| IdentityVerificationSessionCreatedEvent
|
|
100
84
|
| IdentityVerificationSessionProcessingEvent
|
|
@@ -107,7 +91,6 @@ declare module 'stripe' {
|
|
|
107
91
|
| InvoiceFinalizedEvent
|
|
108
92
|
| InvoiceMarkedUncollectibleEvent
|
|
109
93
|
| InvoicePaidEvent
|
|
110
|
-
| InvoicePaymentOverpaidEvent
|
|
111
94
|
| InvoicePaymentActionRequiredEvent
|
|
112
95
|
| InvoicePaymentFailedEvent
|
|
113
96
|
| InvoicePaymentSucceededEvent
|
|
@@ -127,6 +110,7 @@ declare module 'stripe' {
|
|
|
127
110
|
| IssuingDisputeClosedEvent
|
|
128
111
|
| IssuingDisputeCreatedEvent
|
|
129
112
|
| IssuingDisputeFundsReinstatedEvent
|
|
113
|
+
| IssuingDisputeFundsRescindedEvent
|
|
130
114
|
| IssuingDisputeSubmittedEvent
|
|
131
115
|
| IssuingDisputeUpdatedEvent
|
|
132
116
|
| IssuingPersonalizationDesignActivatedEvent
|
|
@@ -172,16 +156,10 @@ declare module 'stripe' {
|
|
|
172
156
|
| ProductUpdatedEvent
|
|
173
157
|
| PromotionCodeCreatedEvent
|
|
174
158
|
| PromotionCodeUpdatedEvent
|
|
175
|
-
| QuoteAcceptFailedEvent
|
|
176
159
|
| QuoteAcceptedEvent
|
|
177
|
-
| QuoteAcceptingEvent
|
|
178
160
|
| QuoteCanceledEvent
|
|
179
161
|
| QuoteCreatedEvent
|
|
180
|
-
| QuoteDraftEvent
|
|
181
162
|
| QuoteFinalizedEvent
|
|
182
|
-
| QuoteReestimateFailedEvent
|
|
183
|
-
| QuoteReestimatedEvent
|
|
184
|
-
| QuoteStaleEvent
|
|
185
163
|
| RadarEarlyFraudWarningCreatedEvent
|
|
186
164
|
| RadarEarlyFraudWarningUpdatedEvent
|
|
187
165
|
| RefundCreatedEvent
|
|
@@ -211,13 +189,11 @@ declare module 'stripe' {
|
|
|
211
189
|
| SubscriptionScheduleExpiringEvent
|
|
212
190
|
| SubscriptionScheduleReleasedEvent
|
|
213
191
|
| SubscriptionScheduleUpdatedEvent
|
|
214
|
-
| TaxFormUpdatedEvent
|
|
215
192
|
| TaxSettingsUpdatedEvent
|
|
216
193
|
| TaxRateCreatedEvent
|
|
217
194
|
| TaxRateUpdatedEvent
|
|
218
195
|
| TerminalReaderActionFailedEvent
|
|
219
196
|
| TerminalReaderActionSucceededEvent
|
|
220
|
-
| TerminalReaderActionUpdatedEvent
|
|
221
197
|
| TestHelpersTestClockAdvancingEvent
|
|
222
198
|
| TestHelpersTestClockCreatedEvent
|
|
223
199
|
| TestHelpersTestClockDeletedEvent
|
|
@@ -358,38 +334,6 @@ declare module 'stripe' {
|
|
|
358
334
|
}
|
|
359
335
|
}
|
|
360
336
|
|
|
361
|
-
/**
|
|
362
|
-
* Occurs whenever an AccountNotice is created.
|
|
363
|
-
*/
|
|
364
|
-
interface AccountNoticeCreatedEvent extends EventBase {
|
|
365
|
-
type: 'account_notice.created';
|
|
366
|
-
data: AccountNoticeCreatedEvent.Data;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
namespace AccountNoticeCreatedEvent {
|
|
370
|
-
interface Data extends Stripe.Event.Data {
|
|
371
|
-
object: Stripe.AccountNotice;
|
|
372
|
-
|
|
373
|
-
previous_attributes?: Partial<Stripe.AccountNotice>;
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
/**
|
|
378
|
-
* Occurs whenever an AccountNotice is updated.
|
|
379
|
-
*/
|
|
380
|
-
interface AccountNoticeUpdatedEvent extends EventBase {
|
|
381
|
-
type: 'account_notice.updated';
|
|
382
|
-
data: AccountNoticeUpdatedEvent.Data;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
namespace AccountNoticeUpdatedEvent {
|
|
386
|
-
interface Data extends Stripe.Event.Data {
|
|
387
|
-
object: Stripe.AccountNotice;
|
|
388
|
-
|
|
389
|
-
previous_attributes?: Partial<Stripe.AccountNotice>;
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
|
|
393
337
|
/**
|
|
394
338
|
* Occurs whenever an application fee is created on a charge.
|
|
395
339
|
*/
|
|
@@ -518,150 +462,6 @@ declare module 'stripe' {
|
|
|
518
462
|
}
|
|
519
463
|
}
|
|
520
464
|
|
|
521
|
-
/**
|
|
522
|
-
* Occurs whenever a connected account accepts a financing offer.
|
|
523
|
-
*/
|
|
524
|
-
interface CapitalFinancingOfferAcceptedEvent extends EventBase {
|
|
525
|
-
type: 'capital.financing_offer.accepted';
|
|
526
|
-
data: CapitalFinancingOfferAcceptedEvent.Data;
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
namespace CapitalFinancingOfferAcceptedEvent {
|
|
530
|
-
interface Data extends Stripe.Event.Data {
|
|
531
|
-
object: Stripe.Capital.FinancingOffer;
|
|
532
|
-
|
|
533
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
* Occurs whenever a financing offer is canceled.
|
|
539
|
-
*/
|
|
540
|
-
interface CapitalFinancingOfferCanceledEvent extends EventBase {
|
|
541
|
-
type: 'capital.financing_offer.canceled';
|
|
542
|
-
data: CapitalFinancingOfferCanceledEvent.Data;
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
namespace CapitalFinancingOfferCanceledEvent {
|
|
546
|
-
interface Data extends Stripe.Event.Data {
|
|
547
|
-
object: Stripe.Capital.FinancingOffer;
|
|
548
|
-
|
|
549
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
/**
|
|
554
|
-
* Occurs whenever a new financing offer is created for a connected account.
|
|
555
|
-
*/
|
|
556
|
-
interface CapitalFinancingOfferCreatedEvent extends EventBase {
|
|
557
|
-
type: 'capital.financing_offer.created';
|
|
558
|
-
data: CapitalFinancingOfferCreatedEvent.Data;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
namespace CapitalFinancingOfferCreatedEvent {
|
|
562
|
-
interface Data extends Stripe.Event.Data {
|
|
563
|
-
object: Stripe.Capital.FinancingOffer;
|
|
564
|
-
|
|
565
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
/**
|
|
570
|
-
* Occurs whenever a financing offer expires.
|
|
571
|
-
*/
|
|
572
|
-
interface CapitalFinancingOfferExpiredEvent extends EventBase {
|
|
573
|
-
type: 'capital.financing_offer.expired';
|
|
574
|
-
data: CapitalFinancingOfferExpiredEvent.Data;
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
namespace CapitalFinancingOfferExpiredEvent {
|
|
578
|
-
interface Data extends Stripe.Event.Data {
|
|
579
|
-
object: Stripe.Capital.FinancingOffer;
|
|
580
|
-
|
|
581
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
/**
|
|
586
|
-
* Occurs whenever a financing offer is fully repaid.
|
|
587
|
-
*/
|
|
588
|
-
interface CapitalFinancingOfferFullyRepaidEvent extends EventBase {
|
|
589
|
-
type: 'capital.financing_offer.fully_repaid';
|
|
590
|
-
data: CapitalFinancingOfferFullyRepaidEvent.Data;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
namespace CapitalFinancingOfferFullyRepaidEvent {
|
|
594
|
-
interface Data extends Stripe.Event.Data {
|
|
595
|
-
object: Stripe.Capital.FinancingOffer;
|
|
596
|
-
|
|
597
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
/**
|
|
602
|
-
* Occurs whenever a financing offer is paid out.
|
|
603
|
-
*/
|
|
604
|
-
interface CapitalFinancingOfferPaidOutEvent extends EventBase {
|
|
605
|
-
type: 'capital.financing_offer.paid_out';
|
|
606
|
-
data: CapitalFinancingOfferPaidOutEvent.Data;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
namespace CapitalFinancingOfferPaidOutEvent {
|
|
610
|
-
interface Data extends Stripe.Event.Data {
|
|
611
|
-
object: Stripe.Capital.FinancingOffer;
|
|
612
|
-
|
|
613
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
/**
|
|
618
|
-
* Occurs whenever a financing offer is rejected.
|
|
619
|
-
*/
|
|
620
|
-
interface CapitalFinancingOfferRejectedEvent extends EventBase {
|
|
621
|
-
type: 'capital.financing_offer.rejected';
|
|
622
|
-
data: CapitalFinancingOfferRejectedEvent.Data;
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
namespace CapitalFinancingOfferRejectedEvent {
|
|
626
|
-
interface Data extends Stripe.Event.Data {
|
|
627
|
-
object: Stripe.Capital.FinancingOffer;
|
|
628
|
-
|
|
629
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
/**
|
|
634
|
-
* Occurs whenever a replacement for a financing offer has been created.
|
|
635
|
-
*/
|
|
636
|
-
interface CapitalFinancingOfferReplacementCreatedEvent extends EventBase {
|
|
637
|
-
type: 'capital.financing_offer.replacement_created';
|
|
638
|
-
data: CapitalFinancingOfferReplacementCreatedEvent.Data;
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
namespace CapitalFinancingOfferReplacementCreatedEvent {
|
|
642
|
-
interface Data extends Stripe.Event.Data {
|
|
643
|
-
object: Stripe.Capital.FinancingOffer;
|
|
644
|
-
|
|
645
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingOffer>;
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
/**
|
|
650
|
-
* Occurs whenever a financing transaction is created.
|
|
651
|
-
*/
|
|
652
|
-
interface CapitalFinancingTransactionCreatedEvent extends EventBase {
|
|
653
|
-
type: 'capital.financing_transaction.created';
|
|
654
|
-
data: CapitalFinancingTransactionCreatedEvent.Data;
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
namespace CapitalFinancingTransactionCreatedEvent {
|
|
658
|
-
interface Data extends Stripe.Event.Data {
|
|
659
|
-
object: Stripe.Capital.FinancingTransaction;
|
|
660
|
-
|
|
661
|
-
previous_attributes?: Partial<Stripe.Capital.FinancingTransaction>;
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
|
|
665
465
|
/**
|
|
666
466
|
* 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.
|
|
667
467
|
*/
|
|
@@ -1302,38 +1102,6 @@ declare module 'stripe' {
|
|
|
1302
1102
|
}
|
|
1303
1103
|
}
|
|
1304
1104
|
|
|
1305
|
-
/**
|
|
1306
|
-
* 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`.
|
|
1307
|
-
*/
|
|
1308
|
-
interface CustomerSubscriptionCollectionPausedEvent extends EventBase {
|
|
1309
|
-
type: 'customer.subscription.collection_paused';
|
|
1310
|
-
data: CustomerSubscriptionCollectionPausedEvent.Data;
|
|
1311
|
-
}
|
|
1312
|
-
|
|
1313
|
-
namespace CustomerSubscriptionCollectionPausedEvent {
|
|
1314
|
-
interface Data extends Stripe.Event.Data {
|
|
1315
|
-
object: Stripe.Subscription;
|
|
1316
|
-
|
|
1317
|
-
previous_attributes?: Partial<Stripe.Subscription>;
|
|
1318
|
-
}
|
|
1319
|
-
}
|
|
1320
|
-
|
|
1321
|
-
/**
|
|
1322
|
-
* 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`.
|
|
1323
|
-
*/
|
|
1324
|
-
interface CustomerSubscriptionCollectionResumedEvent extends EventBase {
|
|
1325
|
-
type: 'customer.subscription.collection_resumed';
|
|
1326
|
-
data: CustomerSubscriptionCollectionResumedEvent.Data;
|
|
1327
|
-
}
|
|
1328
|
-
|
|
1329
|
-
namespace CustomerSubscriptionCollectionResumedEvent {
|
|
1330
|
-
interface Data extends Stripe.Event.Data {
|
|
1331
|
-
object: Stripe.Subscription;
|
|
1332
|
-
|
|
1333
|
-
previous_attributes?: Partial<Stripe.Subscription>;
|
|
1334
|
-
}
|
|
1335
|
-
}
|
|
1336
|
-
|
|
1337
1105
|
/**
|
|
1338
1106
|
* Occurs whenever a customer is signed up for a new plan.
|
|
1339
1107
|
*/
|
|
@@ -1350,22 +1118,6 @@ declare module 'stripe' {
|
|
|
1350
1118
|
}
|
|
1351
1119
|
}
|
|
1352
1120
|
|
|
1353
|
-
/**
|
|
1354
|
-
* An ad-hoc custom event that is sent based on user configured [Automation](https://docs.stripe.com/billing/automations#send-custom-webhook-event-action).
|
|
1355
|
-
*/
|
|
1356
|
-
interface CustomerSubscriptionCustomEventEvent extends EventBase {
|
|
1357
|
-
type: 'customer.subscription.custom_event';
|
|
1358
|
-
data: CustomerSubscriptionCustomEventEvent.Data;
|
|
1359
|
-
}
|
|
1360
|
-
|
|
1361
|
-
namespace CustomerSubscriptionCustomEventEvent {
|
|
1362
|
-
interface Data extends Stripe.Event.Data {
|
|
1363
|
-
object: Stripe.Subscription;
|
|
1364
|
-
|
|
1365
|
-
previous_attributes?: Partial<Stripe.Subscription>;
|
|
1366
|
-
}
|
|
1367
|
-
}
|
|
1368
|
-
|
|
1369
1121
|
/**
|
|
1370
1122
|
* Occurs whenever a customer's subscription ends.
|
|
1371
1123
|
*/
|
|
@@ -1674,23 +1426,6 @@ declare module 'stripe' {
|
|
|
1674
1426
|
}
|
|
1675
1427
|
}
|
|
1676
1428
|
|
|
1677
|
-
/**
|
|
1678
|
-
* Occurs when an Account’s `inferred_balances_refresh` status transitions from `pending` to either `succeeded` or `failed`.
|
|
1679
|
-
*/
|
|
1680
|
-
interface FinancialConnectionsAccountRefreshedInferredBalancesEvent
|
|
1681
|
-
extends EventBase {
|
|
1682
|
-
type: 'financial_connections.account.refreshed_inferred_balances';
|
|
1683
|
-
data: FinancialConnectionsAccountRefreshedInferredBalancesEvent.Data;
|
|
1684
|
-
}
|
|
1685
|
-
|
|
1686
|
-
namespace FinancialConnectionsAccountRefreshedInferredBalancesEvent {
|
|
1687
|
-
interface Data extends Stripe.Event.Data {
|
|
1688
|
-
object: Stripe.FinancialConnections.Account;
|
|
1689
|
-
|
|
1690
|
-
previous_attributes?: Partial<Stripe.FinancialConnections.Account>;
|
|
1691
|
-
}
|
|
1692
|
-
}
|
|
1693
|
-
|
|
1694
1429
|
/**
|
|
1695
1430
|
* Occurs when an Account’s `ownership_refresh` status transitions from `pending` to either `succeeded` or `failed`.
|
|
1696
1431
|
*/
|
|
@@ -1725,22 +1460,6 @@ declare module 'stripe' {
|
|
|
1725
1460
|
}
|
|
1726
1461
|
}
|
|
1727
1462
|
|
|
1728
|
-
/**
|
|
1729
|
-
* Occurs when a Financial Connections Session `status` transitions from `pending` to `failed`, `cancelled`, or `completed`.
|
|
1730
|
-
*/
|
|
1731
|
-
interface FinancialConnectionsSessionUpdatedEvent extends EventBase {
|
|
1732
|
-
type: 'financial_connections.session.updated';
|
|
1733
|
-
data: FinancialConnectionsSessionUpdatedEvent.Data;
|
|
1734
|
-
}
|
|
1735
|
-
|
|
1736
|
-
namespace FinancialConnectionsSessionUpdatedEvent {
|
|
1737
|
-
interface Data extends Stripe.Event.Data {
|
|
1738
|
-
object: Stripe.FinancialConnections.Session;
|
|
1739
|
-
|
|
1740
|
-
previous_attributes?: Partial<Stripe.FinancialConnections.Session>;
|
|
1741
|
-
}
|
|
1742
|
-
}
|
|
1743
|
-
|
|
1744
1463
|
/**
|
|
1745
1464
|
* Occurs whenever a VerificationSession is canceled
|
|
1746
1465
|
*/
|
|
@@ -1933,22 +1652,6 @@ declare module 'stripe' {
|
|
|
1933
1652
|
}
|
|
1934
1653
|
}
|
|
1935
1654
|
|
|
1936
|
-
/**
|
|
1937
|
-
* Occurs when an InvoicePayment transitions to paid with a non-zero amount_overpaid.
|
|
1938
|
-
*/
|
|
1939
|
-
interface InvoicePaymentOverpaidEvent extends EventBase {
|
|
1940
|
-
type: 'invoice.payment.overpaid';
|
|
1941
|
-
data: InvoicePaymentOverpaidEvent.Data;
|
|
1942
|
-
}
|
|
1943
|
-
|
|
1944
|
-
namespace InvoicePaymentOverpaidEvent {
|
|
1945
|
-
interface Data extends Stripe.Event.Data {
|
|
1946
|
-
object: Stripe.InvoicePayment;
|
|
1947
|
-
|
|
1948
|
-
previous_attributes?: Partial<Stripe.InvoicePayment>;
|
|
1949
|
-
}
|
|
1950
|
-
}
|
|
1951
|
-
|
|
1952
1655
|
/**
|
|
1953
1656
|
* Occurs whenever an invoice payment attempt requires further user action to complete.
|
|
1954
1657
|
*/
|
|
@@ -2253,6 +1956,22 @@ declare module 'stripe' {
|
|
|
2253
1956
|
}
|
|
2254
1957
|
}
|
|
2255
1958
|
|
|
1959
|
+
/**
|
|
1960
|
+
* Occurs whenever funds are deducted from your account for an Issuing dispute.
|
|
1961
|
+
*/
|
|
1962
|
+
interface IssuingDisputeFundsRescindedEvent extends EventBase {
|
|
1963
|
+
type: 'issuing_dispute.funds_rescinded';
|
|
1964
|
+
data: IssuingDisputeFundsRescindedEvent.Data;
|
|
1965
|
+
}
|
|
1966
|
+
|
|
1967
|
+
namespace IssuingDisputeFundsRescindedEvent {
|
|
1968
|
+
interface Data extends Stripe.Event.Data {
|
|
1969
|
+
object: Stripe.Issuing.Dispute;
|
|
1970
|
+
|
|
1971
|
+
previous_attributes?: Partial<Stripe.Issuing.Dispute>;
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
|
|
2256
1975
|
/**
|
|
2257
1976
|
* Occurs whenever a dispute is submitted.
|
|
2258
1977
|
*/
|
|
@@ -2973,22 +2692,6 @@ declare module 'stripe' {
|
|
|
2973
2692
|
}
|
|
2974
2693
|
}
|
|
2975
2694
|
|
|
2976
|
-
/**
|
|
2977
|
-
* Occurs whenever a quote acceptance fails
|
|
2978
|
-
*/
|
|
2979
|
-
interface QuoteAcceptFailedEvent extends EventBase {
|
|
2980
|
-
type: 'quote.accept_failed';
|
|
2981
|
-
data: QuoteAcceptFailedEvent.Data;
|
|
2982
|
-
}
|
|
2983
|
-
|
|
2984
|
-
namespace QuoteAcceptFailedEvent {
|
|
2985
|
-
interface Data extends Stripe.Event.Data {
|
|
2986
|
-
object: Stripe.Quote;
|
|
2987
|
-
|
|
2988
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
2989
|
-
}
|
|
2990
|
-
}
|
|
2991
|
-
|
|
2992
2695
|
/**
|
|
2993
2696
|
* Occurs whenever a quote is accepted.
|
|
2994
2697
|
*/
|
|
@@ -3005,22 +2708,6 @@ declare module 'stripe' {
|
|
|
3005
2708
|
}
|
|
3006
2709
|
}
|
|
3007
2710
|
|
|
3008
|
-
/**
|
|
3009
|
-
* Occurs whenever a quote's status changes to accepting
|
|
3010
|
-
*/
|
|
3011
|
-
interface QuoteAcceptingEvent extends EventBase {
|
|
3012
|
-
type: 'quote.accepting';
|
|
3013
|
-
data: QuoteAcceptingEvent.Data;
|
|
3014
|
-
}
|
|
3015
|
-
|
|
3016
|
-
namespace QuoteAcceptingEvent {
|
|
3017
|
-
interface Data extends Stripe.Event.Data {
|
|
3018
|
-
object: Stripe.Quote;
|
|
3019
|
-
|
|
3020
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3021
|
-
}
|
|
3022
|
-
}
|
|
3023
|
-
|
|
3024
2711
|
/**
|
|
3025
2712
|
* Occurs whenever a quote is canceled.
|
|
3026
2713
|
*/
|
|
@@ -3053,22 +2740,6 @@ declare module 'stripe' {
|
|
|
3053
2740
|
}
|
|
3054
2741
|
}
|
|
3055
2742
|
|
|
3056
|
-
/**
|
|
3057
|
-
* Occurs when a quote's status changes from stale to draft
|
|
3058
|
-
*/
|
|
3059
|
-
interface QuoteDraftEvent extends EventBase {
|
|
3060
|
-
type: 'quote.draft';
|
|
3061
|
-
data: QuoteDraftEvent.Data;
|
|
3062
|
-
}
|
|
3063
|
-
|
|
3064
|
-
namespace QuoteDraftEvent {
|
|
3065
|
-
interface Data extends Stripe.Event.Data {
|
|
3066
|
-
object: Stripe.Quote;
|
|
3067
|
-
|
|
3068
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3069
|
-
}
|
|
3070
|
-
}
|
|
3071
|
-
|
|
3072
2743
|
/**
|
|
3073
2744
|
* Occurs whenever a quote is finalized.
|
|
3074
2745
|
*/
|
|
@@ -3085,54 +2756,6 @@ declare module 'stripe' {
|
|
|
3085
2756
|
}
|
|
3086
2757
|
}
|
|
3087
2758
|
|
|
3088
|
-
/**
|
|
3089
|
-
* Occurs whenever a quote reestimate fails
|
|
3090
|
-
*/
|
|
3091
|
-
interface QuoteReestimateFailedEvent extends EventBase {
|
|
3092
|
-
type: 'quote.reestimate_failed';
|
|
3093
|
-
data: QuoteReestimateFailedEvent.Data;
|
|
3094
|
-
}
|
|
3095
|
-
|
|
3096
|
-
namespace QuoteReestimateFailedEvent {
|
|
3097
|
-
interface Data extends Stripe.Event.Data {
|
|
3098
|
-
object: Stripe.Quote;
|
|
3099
|
-
|
|
3100
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3101
|
-
}
|
|
3102
|
-
}
|
|
3103
|
-
|
|
3104
|
-
/**
|
|
3105
|
-
* Occurs whenever an async job to compute preview subscription schedules/upcoming invoices for the quote has completed.
|
|
3106
|
-
*/
|
|
3107
|
-
interface QuoteReestimatedEvent extends EventBase {
|
|
3108
|
-
type: 'quote.reestimated';
|
|
3109
|
-
data: QuoteReestimatedEvent.Data;
|
|
3110
|
-
}
|
|
3111
|
-
|
|
3112
|
-
namespace QuoteReestimatedEvent {
|
|
3113
|
-
interface Data extends Stripe.Event.Data {
|
|
3114
|
-
object: Stripe.Quote;
|
|
3115
|
-
|
|
3116
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3117
|
-
}
|
|
3118
|
-
}
|
|
3119
|
-
|
|
3120
|
-
/**
|
|
3121
|
-
* Occurs whenever a quote's status changes to stale
|
|
3122
|
-
*/
|
|
3123
|
-
interface QuoteStaleEvent extends EventBase {
|
|
3124
|
-
type: 'quote.stale';
|
|
3125
|
-
data: QuoteStaleEvent.Data;
|
|
3126
|
-
}
|
|
3127
|
-
|
|
3128
|
-
namespace QuoteStaleEvent {
|
|
3129
|
-
interface Data extends Stripe.Event.Data {
|
|
3130
|
-
object: Stripe.Quote;
|
|
3131
|
-
|
|
3132
|
-
previous_attributes?: Partial<Stripe.Quote>;
|
|
3133
|
-
}
|
|
3134
|
-
}
|
|
3135
|
-
|
|
3136
2759
|
/**
|
|
3137
2760
|
* Occurs whenever an early fraud warning is created.
|
|
3138
2761
|
*/
|
|
@@ -3597,22 +3220,6 @@ declare module 'stripe' {
|
|
|
3597
3220
|
}
|
|
3598
3221
|
}
|
|
3599
3222
|
|
|
3600
|
-
/**
|
|
3601
|
-
* Occurs when a tax form is updated.
|
|
3602
|
-
*/
|
|
3603
|
-
interface TaxFormUpdatedEvent extends EventBase {
|
|
3604
|
-
type: 'tax.form.updated';
|
|
3605
|
-
data: TaxFormUpdatedEvent.Data;
|
|
3606
|
-
}
|
|
3607
|
-
|
|
3608
|
-
namespace TaxFormUpdatedEvent {
|
|
3609
|
-
interface Data extends Stripe.Event.Data {
|
|
3610
|
-
object: Stripe.Tax.Form;
|
|
3611
|
-
|
|
3612
|
-
previous_attributes?: Partial<Stripe.Tax.Form>;
|
|
3613
|
-
}
|
|
3614
|
-
}
|
|
3615
|
-
|
|
3616
3223
|
/**
|
|
3617
3224
|
* Occurs whenever tax settings is updated.
|
|
3618
3225
|
*/
|
|
@@ -3693,22 +3300,6 @@ declare module 'stripe' {
|
|
|
3693
3300
|
}
|
|
3694
3301
|
}
|
|
3695
3302
|
|
|
3696
|
-
/**
|
|
3697
|
-
* Occurs whenever an action sent to a Terminal reader is updated.
|
|
3698
|
-
*/
|
|
3699
|
-
interface TerminalReaderActionUpdatedEvent extends EventBase {
|
|
3700
|
-
type: 'terminal.reader.action_updated';
|
|
3701
|
-
data: TerminalReaderActionUpdatedEvent.Data;
|
|
3702
|
-
}
|
|
3703
|
-
|
|
3704
|
-
namespace TerminalReaderActionUpdatedEvent {
|
|
3705
|
-
interface Data extends Stripe.Event.Data {
|
|
3706
|
-
object: Stripe.Terminal.Reader;
|
|
3707
|
-
|
|
3708
|
-
previous_attributes?: Partial<Stripe.Terminal.Reader>;
|
|
3709
|
-
}
|
|
3710
|
-
}
|
|
3711
|
-
|
|
3712
3303
|
/**
|
|
3713
3304
|
* Occurs whenever a test clock starts advancing.
|
|
3714
3305
|
*/
|