stripe 17.5.0-beta.3 → 17.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/CHANGELOG.md +131 -1005
  2. package/README.md +33 -1
  3. package/VERSION +1 -1
  4. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  5. package/cjs/resources/Invoices.js +0 -17
  6. package/cjs/resources/PaymentIntents.js +0 -8
  7. package/cjs/resources/Quotes.js +0 -32
  8. package/cjs/resources/SubscriptionSchedules.js +0 -4
  9. package/cjs/resources/Terminal/Readers.js +0 -12
  10. package/cjs/resources.js +10 -48
  11. package/cjs/stripe.core.js +1 -1
  12. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  13. package/esm/resources/Invoices.js +0 -17
  14. package/esm/resources/PaymentIntents.js +0 -8
  15. package/esm/resources/Quotes.js +0 -32
  16. package/esm/resources/SubscriptionSchedules.js +0 -4
  17. package/esm/resources/Terminal/Readers.js +0 -12
  18. package/esm/resources.js +0 -33
  19. package/esm/stripe.core.js +1 -1
  20. package/package.json +1 -1
  21. package/types/AccountLinksResource.d.ts +1 -5
  22. package/types/AccountSessions.d.ts +0 -45
  23. package/types/AccountSessionsResource.d.ts +0 -355
  24. package/types/Accounts.d.ts +1 -190
  25. package/types/AccountsResource.d.ts +0 -520
  26. package/types/Charges.d.ts +0 -138
  27. package/types/ChargesResource.d.ts +0 -1294
  28. package/types/Checkout/Sessions.d.ts +6 -340
  29. package/types/Checkout/SessionsResource.d.ts +5 -445
  30. package/types/ConfirmationTokens.d.ts +0 -99
  31. package/types/Coupons.d.ts +1 -1
  32. package/types/CouponsResource.d.ts +1 -1
  33. package/types/CreditNotes.d.ts +0 -21
  34. package/types/CreditNotesResource.d.ts +0 -51
  35. package/types/CustomersResource.d.ts +4 -9
  36. package/types/Disputes.d.ts +2 -2
  37. package/types/DisputesResource.d.ts +2 -2
  38. package/types/EventTypes.d.ts +0 -596
  39. package/types/Events.d.ts +0 -93
  40. package/types/FinancialConnections/Accounts.d.ts +1 -29
  41. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  42. package/types/FinancialConnections/Sessions.d.ts +1 -49
  43. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  44. package/types/InvoiceItems.d.ts +0 -5
  45. package/types/InvoiceItemsResource.d.ts +0 -98
  46. package/types/InvoiceLineItems.d.ts +1 -28
  47. package/types/Invoices.d.ts +4 -138
  48. package/types/InvoicesResource.d.ts +1886 -5568
  49. package/types/Issuing/Authorizations.d.ts +0 -1
  50. package/types/Issuing/CardholdersResource.d.ts +1 -2
  51. package/types/Issuing/Transactions.d.ts +0 -2
  52. package/types/Issuing/TransactionsResource.d.ts +0 -5
  53. package/types/LineItems.d.ts +0 -32
  54. package/types/Mandates.d.ts +0 -77
  55. package/types/PaymentIntents.d.ts +1 -644
  56. package/types/PaymentIntentsResource.d.ts +3768 -8055
  57. package/types/PaymentLinks.d.ts +0 -6
  58. package/types/PaymentLinksResource.d.ts +0 -12
  59. package/types/PaymentMethodConfigurations.d.ts +0 -180
  60. package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
  61. package/types/PaymentMethods.d.ts +0 -99
  62. package/types/PaymentMethodsResource.d.ts +0 -133
  63. package/types/Prices.d.ts +0 -22
  64. package/types/PricesResource.d.ts +0 -22
  65. package/types/Products.d.ts +0 -39
  66. package/types/ProductsResource.d.ts +0 -36
  67. package/types/Quotes.d.ts +1 -591
  68. package/types/QuotesResource.d.ts +199 -2531
  69. package/types/Refunds.d.ts +0 -14
  70. package/types/SetupAttempts.d.ts +0 -38
  71. package/types/SetupIntents.d.ts +1 -111
  72. package/types/SetupIntentsResource.d.ts +3 -645
  73. package/types/Sources.d.ts +0 -23
  74. package/types/SubscriptionItems.d.ts +0 -21
  75. package/types/SubscriptionItemsResource.d.ts +0 -109
  76. package/types/SubscriptionSchedules.d.ts +0 -200
  77. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  78. package/types/Subscriptions.d.ts +1 -91
  79. package/types/SubscriptionsResource.d.ts +2 -369
  80. package/types/Tax/Calculations.d.ts +2 -1
  81. package/types/Tax/CalculationsResource.d.ts +2 -1
  82. package/types/Tax/Registrations.d.ts +189 -0
  83. package/types/Tax/RegistrationsResource.d.ts +252 -0
  84. package/types/Tax/Transactions.d.ts +2 -1
  85. package/types/TaxIds.d.ts +2 -1
  86. package/types/TaxIdsResource.d.ts +2 -1
  87. package/types/Terminal/Readers.d.ts +0 -310
  88. package/types/Terminal/ReadersResource.d.ts +0 -215
  89. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -104
  90. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  91. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  92. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  93. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  94. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  95. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  96. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  97. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  98. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  99. package/types/WebhookEndpointsResource.d.ts +0 -70
  100. package/types/index.d.ts +0 -62
  101. package/cjs/resources/AccountNotices.js +0 -21
  102. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  103. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  104. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  105. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  106. package/cjs/resources/GiftCards/Cards.js +0 -23
  107. package/cjs/resources/GiftCards/Transactions.js +0 -33
  108. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  109. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  110. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  111. package/cjs/resources/Margins.js +0 -22
  112. package/cjs/resources/Orders.js +0 -24
  113. package/cjs/resources/PaymentAttemptRecords.js +0 -17
  114. package/cjs/resources/PaymentRecords.js +0 -29
  115. package/cjs/resources/Tax/Associations.js +0 -9
  116. package/cjs/resources/Tax/Forms.js +0 -20
  117. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  118. package/esm/resources/AccountNotices.js +0 -18
  119. package/esm/resources/Capital/FinancingOffers.js +0 -18
  120. package/esm/resources/Capital/FinancingSummary.js +0 -9
  121. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  122. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  123. package/esm/resources/GiftCards/Cards.js +0 -20
  124. package/esm/resources/GiftCards/Transactions.js +0 -30
  125. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  126. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  127. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  128. package/esm/resources/Margins.js +0 -19
  129. package/esm/resources/Orders.js +0 -21
  130. package/esm/resources/PaymentAttemptRecords.js +0 -14
  131. package/esm/resources/PaymentRecords.js +0 -26
  132. package/esm/resources/Tax/Associations.js +0 -6
  133. package/esm/resources/Tax/Forms.js +0 -17
  134. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  135. package/types/AccountNotices.d.ts +0 -113
  136. package/types/AccountNoticesResource.d.ts +0 -98
  137. package/types/Billing/MeterErrorReports.d.ts +0 -106
  138. package/types/Capital/FinancingOffers.d.ts +0 -188
  139. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  140. package/types/Capital/FinancingSummary.d.ts +0 -106
  141. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  142. package/types/Capital/FinancingTransactions.d.ts +0 -135
  143. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  144. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  145. package/types/FinancialConnections/Institutions.d.ts +0 -93
  146. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  147. package/types/GiftCards/Cards.d.ts +0 -118
  148. package/types/GiftCards/CardsResource.d.ts +0 -159
  149. package/types/GiftCards/Transactions.d.ts +0 -129
  150. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  151. package/types/InvoicePayments.d.ts +0 -113
  152. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  153. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  154. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  155. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  156. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  157. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  158. package/types/Issuing/Settlements.d.ts +0 -103
  159. package/types/Margins.d.ts +0 -56
  160. package/types/MarginsResource.d.ts +0 -114
  161. package/types/Orders.d.ts +0 -1178
  162. package/types/OrdersResource.d.ts +0 -2959
  163. package/types/PaymentAttemptRecords.d.ts +0 -242
  164. package/types/PaymentAttemptRecordsResource.d.ts +0 -47
  165. package/types/PaymentRecords.d.ts +0 -242
  166. package/types/PaymentRecordsResource.d.ts +0 -455
  167. package/types/QuoteLines.d.ts +0 -634
  168. package/types/QuotePreviewInvoices.d.ts +0 -1652
  169. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -824
  170. package/types/Tax/Associations.d.ts +0 -126
  171. package/types/Tax/AssociationsResource.d.ts +0 -29
  172. package/types/Tax/Forms.d.ts +0 -220
  173. package/types/Tax/FormsResource.d.ts +0 -107
  174. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  175. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
@@ -156,27 +156,15 @@ declare module 'stripe' {
156
156
  | 'account.external_account.deleted'
157
157
  | 'account.external_account.updated'
158
158
  | 'account.updated'
159
- | 'account_notice.created'
160
- | 'account_notice.updated'
161
159
  | 'application_fee.created'
162
160
  | 'application_fee.refund.updated'
163
161
  | 'application_fee.refunded'
164
162
  | 'balance.available'
165
163
  | 'billing.alert.triggered'
166
- | 'billing.meter_error_report.triggered'
167
164
  | 'billing_portal.configuration.created'
168
165
  | 'billing_portal.configuration.updated'
169
166
  | 'billing_portal.session.created'
170
167
  | 'capability.updated'
171
- | 'capital.financing_offer.accepted'
172
- | 'capital.financing_offer.canceled'
173
- | 'capital.financing_offer.created'
174
- | 'capital.financing_offer.expired'
175
- | 'capital.financing_offer.fully_repaid'
176
- | 'capital.financing_offer.paid_out'
177
- | 'capital.financing_offer.rejected'
178
- | 'capital.financing_offer.replacement_created'
179
- | 'capital.financing_transaction.created'
180
168
  | 'cash_balance.funds_available'
181
169
  | 'charge.captured'
182
170
  | 'charge.dispute.closed'
@@ -217,15 +205,11 @@ declare module 'stripe' {
217
205
  | 'customer.source.deleted'
218
206
  | 'customer.source.expiring'
219
207
  | 'customer.source.updated'
220
- | 'customer.subscription.collection_paused'
221
- | 'customer.subscription.collection_resumed'
222
208
  | 'customer.subscription.created'
223
- | 'customer.subscription.custom_event'
224
209
  | 'customer.subscription.deleted'
225
210
  | 'customer.subscription.paused'
226
211
  | 'customer.subscription.pending_update_applied'
227
212
  | 'customer.subscription.pending_update_expired'
228
- | 'customer.subscription.price_migration_failed'
229
213
  | 'customer.subscription.resumed'
230
214
  | 'customer.subscription.trial_will_end'
231
215
  | 'customer.subscription.updated'
@@ -241,10 +225,8 @@ declare module 'stripe' {
241
225
  | 'financial_connections.account.disconnected'
242
226
  | 'financial_connections.account.reactivated'
243
227
  | 'financial_connections.account.refreshed_balance'
244
- | 'financial_connections.account.refreshed_inferred_balances'
245
228
  | 'financial_connections.account.refreshed_ownership'
246
229
  | 'financial_connections.account.refreshed_transactions'
247
- | 'financial_connections.session.updated'
248
230
  | 'identity.verification_session.canceled'
249
231
  | 'identity.verification_session.created'
250
232
  | 'identity.verification_session.processing'
@@ -257,11 +239,8 @@ declare module 'stripe' {
257
239
  | 'invoice.finalized'
258
240
  | 'invoice.marked_uncollectible'
259
241
  | 'invoice.overdue'
260
- | 'invoice.overpaid'
261
242
  | 'invoice.paid'
262
- | 'invoice.payment.overpaid'
263
243
  | 'invoice.payment_action_required'
264
- | 'invoice.payment_attempt_required'
265
244
  | 'invoice.payment_failed'
266
245
  | 'invoice.payment_succeeded'
267
246
  | 'invoice.sent'
@@ -284,15 +263,10 @@ declare module 'stripe' {
284
263
  | 'issuing_dispute.funds_rescinded'
285
264
  | 'issuing_dispute.submitted'
286
265
  | 'issuing_dispute.updated'
287
- | 'issuing_dispute_settlement_detail.created'
288
- | 'issuing_dispute_settlement_detail.updated'
289
- | 'issuing_fraud_liability_debit.created'
290
266
  | 'issuing_personalization_design.activated'
291
267
  | 'issuing_personalization_design.deactivated'
292
268
  | 'issuing_personalization_design.rejected'
293
269
  | 'issuing_personalization_design.updated'
294
- | 'issuing_settlement.created'
295
- | 'issuing_settlement.updated'
296
270
  | 'issuing_token.created'
297
271
  | 'issuing_token.updated'
298
272
  | 'issuing_transaction.created'
@@ -333,16 +307,10 @@ declare module 'stripe' {
333
307
  | 'product.updated'
334
308
  | 'promotion_code.created'
335
309
  | 'promotion_code.updated'
336
- | 'quote.accept_failed'
337
310
  | 'quote.accepted'
338
- | 'quote.accepting'
339
311
  | 'quote.canceled'
340
312
  | 'quote.created'
341
- | 'quote.draft'
342
313
  | 'quote.finalized'
343
- | 'quote.reestimate_failed'
344
- | 'quote.reestimated'
345
- | 'quote.stale'
346
314
  | 'radar.early_fraud_warning.created'
347
315
  | 'radar.early_fraud_warning.updated'
348
316
  | 'refund.created'
@@ -371,16 +339,13 @@ declare module 'stripe' {
371
339
  | 'subscription_schedule.completed'
372
340
  | 'subscription_schedule.created'
373
341
  | 'subscription_schedule.expiring'
374
- | 'subscription_schedule.price_migration_failed'
375
342
  | 'subscription_schedule.released'
376
343
  | 'subscription_schedule.updated'
377
- | 'tax.form.updated'
378
344
  | 'tax.settings.updated'
379
345
  | 'tax_rate.created'
380
346
  | 'tax_rate.updated'
381
347
  | 'terminal.reader.action_failed'
382
348
  | 'terminal.reader.action_succeeded'
383
- | 'terminal.reader.action_updated'
384
349
  | 'test_helpers.test_clock.advancing'
385
350
  | 'test_helpers.test_clock.created'
386
351
  | 'test_helpers.test_clock.deleted'
@@ -474,27 +439,15 @@ declare module 'stripe' {
474
439
  | 'account.external_account.deleted'
475
440
  | 'account.external_account.updated'
476
441
  | 'account.updated'
477
- | 'account_notice.created'
478
- | 'account_notice.updated'
479
442
  | 'application_fee.created'
480
443
  | 'application_fee.refund.updated'
481
444
  | 'application_fee.refunded'
482
445
  | 'balance.available'
483
446
  | 'billing.alert.triggered'
484
- | 'billing.meter_error_report.triggered'
485
447
  | 'billing_portal.configuration.created'
486
448
  | 'billing_portal.configuration.updated'
487
449
  | 'billing_portal.session.created'
488
450
  | 'capability.updated'
489
- | 'capital.financing_offer.accepted'
490
- | 'capital.financing_offer.canceled'
491
- | 'capital.financing_offer.created'
492
- | 'capital.financing_offer.expired'
493
- | 'capital.financing_offer.fully_repaid'
494
- | 'capital.financing_offer.paid_out'
495
- | 'capital.financing_offer.rejected'
496
- | 'capital.financing_offer.replacement_created'
497
- | 'capital.financing_transaction.created'
498
451
  | 'cash_balance.funds_available'
499
452
  | 'charge.captured'
500
453
  | 'charge.dispute.closed'
@@ -535,15 +488,11 @@ declare module 'stripe' {
535
488
  | 'customer.source.deleted'
536
489
  | 'customer.source.expiring'
537
490
  | 'customer.source.updated'
538
- | 'customer.subscription.collection_paused'
539
- | 'customer.subscription.collection_resumed'
540
491
  | 'customer.subscription.created'
541
- | 'customer.subscription.custom_event'
542
492
  | 'customer.subscription.deleted'
543
493
  | 'customer.subscription.paused'
544
494
  | 'customer.subscription.pending_update_applied'
545
495
  | 'customer.subscription.pending_update_expired'
546
- | 'customer.subscription.price_migration_failed'
547
496
  | 'customer.subscription.resumed'
548
497
  | 'customer.subscription.trial_will_end'
549
498
  | 'customer.subscription.updated'
@@ -559,10 +508,8 @@ declare module 'stripe' {
559
508
  | 'financial_connections.account.disconnected'
560
509
  | 'financial_connections.account.reactivated'
561
510
  | 'financial_connections.account.refreshed_balance'
562
- | 'financial_connections.account.refreshed_inferred_balances'
563
511
  | 'financial_connections.account.refreshed_ownership'
564
512
  | 'financial_connections.account.refreshed_transactions'
565
- | 'financial_connections.session.updated'
566
513
  | 'identity.verification_session.canceled'
567
514
  | 'identity.verification_session.created'
568
515
  | 'identity.verification_session.processing'
@@ -575,11 +522,8 @@ declare module 'stripe' {
575
522
  | 'invoice.finalized'
576
523
  | 'invoice.marked_uncollectible'
577
524
  | 'invoice.overdue'
578
- | 'invoice.overpaid'
579
525
  | 'invoice.paid'
580
- | 'invoice.payment.overpaid'
581
526
  | 'invoice.payment_action_required'
582
- | 'invoice.payment_attempt_required'
583
527
  | 'invoice.payment_failed'
584
528
  | 'invoice.payment_succeeded'
585
529
  | 'invoice.sent'
@@ -602,15 +546,10 @@ declare module 'stripe' {
602
546
  | 'issuing_dispute.funds_rescinded'
603
547
  | 'issuing_dispute.submitted'
604
548
  | 'issuing_dispute.updated'
605
- | 'issuing_dispute_settlement_detail.created'
606
- | 'issuing_dispute_settlement_detail.updated'
607
- | 'issuing_fraud_liability_debit.created'
608
549
  | 'issuing_personalization_design.activated'
609
550
  | 'issuing_personalization_design.deactivated'
610
551
  | 'issuing_personalization_design.rejected'
611
552
  | 'issuing_personalization_design.updated'
612
- | 'issuing_settlement.created'
613
- | 'issuing_settlement.updated'
614
553
  | 'issuing_token.created'
615
554
  | 'issuing_token.updated'
616
555
  | 'issuing_transaction.created'
@@ -651,16 +590,10 @@ declare module 'stripe' {
651
590
  | 'product.updated'
652
591
  | 'promotion_code.created'
653
592
  | 'promotion_code.updated'
654
- | 'quote.accept_failed'
655
593
  | 'quote.accepted'
656
- | 'quote.accepting'
657
594
  | 'quote.canceled'
658
595
  | 'quote.created'
659
- | 'quote.draft'
660
596
  | 'quote.finalized'
661
- | 'quote.reestimate_failed'
662
- | 'quote.reestimated'
663
- | 'quote.stale'
664
597
  | 'radar.early_fraud_warning.created'
665
598
  | 'radar.early_fraud_warning.updated'
666
599
  | 'refund.created'
@@ -689,16 +622,13 @@ declare module 'stripe' {
689
622
  | 'subscription_schedule.completed'
690
623
  | 'subscription_schedule.created'
691
624
  | 'subscription_schedule.expiring'
692
- | 'subscription_schedule.price_migration_failed'
693
625
  | 'subscription_schedule.released'
694
626
  | 'subscription_schedule.updated'
695
- | 'tax.form.updated'
696
627
  | 'tax.settings.updated'
697
628
  | 'tax_rate.created'
698
629
  | 'tax_rate.updated'
699
630
  | 'terminal.reader.action_failed'
700
631
  | 'terminal.reader.action_succeeded'
701
- | 'terminal.reader.action_updated'
702
632
  | 'test_helpers.test_clock.advancing'
703
633
  | 'test_helpers.test_clock.created'
704
634
  | 'test_helpers.test_clock.deleted'
package/types/index.d.ts CHANGED
@@ -12,7 +12,6 @@
12
12
  ///<reference path='./crypto/crypto.d.ts' />
13
13
  // Imports: The beginning of the section generated from our OpenAPI spec
14
14
  ///<reference path='./AccountLinksResource.d.ts' />
15
- ///<reference path='./AccountNoticesResource.d.ts' />
16
15
  ///<reference path='./AccountSessionsResource.d.ts' />
17
16
  ///<reference path='./AccountsResource.d.ts' />
18
17
  ///<reference path='./ApplePayDomainsResource.d.ts' />
@@ -29,9 +28,6 @@
29
28
  ///<reference path='./Billing/MetersResource.d.ts' />
30
29
  ///<reference path='./BillingPortal/ConfigurationsResource.d.ts' />
31
30
  ///<reference path='./BillingPortal/SessionsResource.d.ts' />
32
- ///<reference path='./Capital/FinancingOffersResource.d.ts' />
33
- ///<reference path='./Capital/FinancingSummaryResource.d.ts' />
34
- ///<reference path='./Capital/FinancingTransactionsResource.d.ts' />
35
31
  ///<reference path='./ChargesResource.d.ts' />
36
32
  ///<reference path='./Checkout/SessionsResource.d.ts' />
37
33
  ///<reference path='./Climate/OrdersResource.d.ts' />
@@ -52,12 +48,9 @@
52
48
  ///<reference path='./FileLinksResource.d.ts' />
53
49
  ///<reference path='./FilesResource.d.ts' />
54
50
  ///<reference path='./FinancialConnections/AccountsResource.d.ts' />
55
- ///<reference path='./FinancialConnections/InstitutionsResource.d.ts' />
56
51
  ///<reference path='./FinancialConnections/SessionsResource.d.ts' />
57
52
  ///<reference path='./FinancialConnections/TransactionsResource.d.ts' />
58
53
  ///<reference path='./Forwarding/RequestsResource.d.ts' />
59
- ///<reference path='./GiftCards/CardsResource.d.ts' />
60
- ///<reference path='./GiftCards/TransactionsResource.d.ts' />
61
54
  ///<reference path='./Identity/VerificationReportsResource.d.ts' />
62
55
  ///<reference path='./Identity/VerificationSessionsResource.d.ts' />
63
56
  ///<reference path='./InvoiceItemsResource.d.ts' />
@@ -66,24 +59,17 @@
66
59
  ///<reference path='./Issuing/AuthorizationsResource.d.ts' />
67
60
  ///<reference path='./Issuing/CardholdersResource.d.ts' />
68
61
  ///<reference path='./Issuing/CardsResource.d.ts' />
69
- ///<reference path='./Issuing/CreditUnderwritingRecordsResource.d.ts' />
70
- ///<reference path='./Issuing/DisputeSettlementDetailsResource.d.ts' />
71
62
  ///<reference path='./Issuing/DisputesResource.d.ts' />
72
- ///<reference path='./Issuing/FraudLiabilityDebitsResource.d.ts' />
73
63
  ///<reference path='./Issuing/PersonalizationDesignsResource.d.ts' />
74
64
  ///<reference path='./Issuing/PhysicalBundlesResource.d.ts' />
75
65
  ///<reference path='./Issuing/TokensResource.d.ts' />
76
66
  ///<reference path='./Issuing/TransactionsResource.d.ts' />
77
67
  ///<reference path='./MandatesResource.d.ts' />
78
- ///<reference path='./MarginsResource.d.ts' />
79
- ///<reference path='./OrdersResource.d.ts' />
80
- ///<reference path='./PaymentAttemptRecordsResource.d.ts' />
81
68
  ///<reference path='./PaymentIntentsResource.d.ts' />
82
69
  ///<reference path='./PaymentLinksResource.d.ts' />
83
70
  ///<reference path='./PaymentMethodConfigurationsResource.d.ts' />
84
71
  ///<reference path='./PaymentMethodDomainsResource.d.ts' />
85
72
  ///<reference path='./PaymentMethodsResource.d.ts' />
86
- ///<reference path='./PaymentRecordsResource.d.ts' />
87
73
  ///<reference path='./PayoutsResource.d.ts' />
88
74
  ///<reference path='./PlansResource.d.ts' />
89
75
  ///<reference path='./PricesResource.d.ts' />
@@ -105,9 +91,7 @@
105
91
  ///<reference path='./SubscriptionItemsResource.d.ts' />
106
92
  ///<reference path='./SubscriptionSchedulesResource.d.ts' />
107
93
  ///<reference path='./SubscriptionsResource.d.ts' />
108
- ///<reference path='./Tax/AssociationsResource.d.ts' />
109
94
  ///<reference path='./Tax/CalculationsResource.d.ts' />
110
- ///<reference path='./Tax/FormsResource.d.ts' />
111
95
  ///<reference path='./Tax/RegistrationsResource.d.ts' />
112
96
  ///<reference path='./Tax/SettingsResource.d.ts' />
113
97
  ///<reference path='./Tax/TransactionsResource.d.ts' />
@@ -117,7 +101,6 @@
117
101
  ///<reference path='./Terminal/ConfigurationsResource.d.ts' />
118
102
  ///<reference path='./Terminal/ConnectionTokensResource.d.ts' />
119
103
  ///<reference path='./Terminal/LocationsResource.d.ts' />
120
- ///<reference path='./Terminal/ReaderCollectedDataResource.d.ts' />
121
104
  ///<reference path='./Terminal/ReadersResource.d.ts' />
122
105
  ///<reference path='./TestHelpers/ConfirmationTokensResource.d.ts' />
123
106
  ///<reference path='./TestHelpers/CustomersResource.d.ts' />
@@ -154,7 +137,6 @@
154
137
  ///<reference path='./V2/Core/EventsResource.d.ts' />
155
138
  ///<reference path='./WebhookEndpointsResource.d.ts' />
156
139
  ///<reference path='./AccountLinks.d.ts' />
157
- ///<reference path='./AccountNotices.d.ts' />
158
140
  ///<reference path='./AccountSessions.d.ts' />
159
141
  ///<reference path='./Accounts.d.ts' />
160
142
  ///<reference path='./ApplePayDomains.d.ts' />
@@ -170,7 +152,6 @@
170
152
  ///<reference path='./Billing/CreditBalanceSummary.d.ts' />
171
153
  ///<reference path='./Billing/CreditBalanceTransactions.d.ts' />
172
154
  ///<reference path='./Billing/CreditGrants.d.ts' />
173
- ///<reference path='./Billing/MeterErrorReports.d.ts' />
174
155
  ///<reference path='./Billing/MeterEventAdjustments.d.ts' />
175
156
  ///<reference path='./Billing/MeterEventSummaries.d.ts' />
176
157
  ///<reference path='./Billing/MeterEvents.d.ts' />
@@ -178,9 +159,6 @@
178
159
  ///<reference path='./BillingPortal/Configurations.d.ts' />
179
160
  ///<reference path='./BillingPortal/Sessions.d.ts' />
180
161
  ///<reference path='./Capabilities.d.ts' />
181
- ///<reference path='./Capital/FinancingOffers.d.ts' />
182
- ///<reference path='./Capital/FinancingSummary.d.ts' />
183
- ///<reference path='./Capital/FinancingTransactions.d.ts' />
184
162
  ///<reference path='./Cards.d.ts' />
185
163
  ///<reference path='./CashBalances.d.ts' />
186
164
  ///<reference path='./Charges.d.ts' />
@@ -211,48 +189,35 @@
211
189
  ///<reference path='./FeeRefunds.d.ts' />
212
190
  ///<reference path='./FileLinks.d.ts' />
213
191
  ///<reference path='./Files.d.ts' />
214
- ///<reference path='./FinancialConnections/AccountInferredBalances.d.ts' />
215
192
  ///<reference path='./FinancialConnections/AccountOwners.d.ts' />
216
193
  ///<reference path='./FinancialConnections/AccountOwnerships.d.ts' />
217
194
  ///<reference path='./FinancialConnections/Accounts.d.ts' />
218
- ///<reference path='./FinancialConnections/Institutions.d.ts' />
219
195
  ///<reference path='./FinancialConnections/Sessions.d.ts' />
220
196
  ///<reference path='./FinancialConnections/Transactions.d.ts' />
221
197
  ///<reference path='./Forwarding/Requests.d.ts' />
222
198
  ///<reference path='./FundingInstructions.d.ts' />
223
- ///<reference path='./GiftCards/Cards.d.ts' />
224
- ///<reference path='./GiftCards/Transactions.d.ts' />
225
199
  ///<reference path='./Identity/VerificationReports.d.ts' />
226
200
  ///<reference path='./Identity/VerificationSessions.d.ts' />
227
201
  ///<reference path='./InvoiceItems.d.ts' />
228
202
  ///<reference path='./InvoiceLineItems.d.ts' />
229
- ///<reference path='./InvoicePayments.d.ts' />
230
203
  ///<reference path='./InvoiceRenderingTemplates.d.ts' />
231
204
  ///<reference path='./Invoices.d.ts' />
232
205
  ///<reference path='./Issuing/Authorizations.d.ts' />
233
206
  ///<reference path='./Issuing/Cardholders.d.ts' />
234
207
  ///<reference path='./Issuing/Cards.d.ts' />
235
- ///<reference path='./Issuing/CreditUnderwritingRecords.d.ts' />
236
- ///<reference path='./Issuing/DisputeSettlementDetails.d.ts' />
237
208
  ///<reference path='./Issuing/Disputes.d.ts' />
238
- ///<reference path='./Issuing/FraudLiabilityDebits.d.ts' />
239
209
  ///<reference path='./Issuing/PersonalizationDesigns.d.ts' />
240
210
  ///<reference path='./Issuing/PhysicalBundles.d.ts' />
241
- ///<reference path='./Issuing/Settlements.d.ts' />
242
211
  ///<reference path='./Issuing/Tokens.d.ts' />
243
212
  ///<reference path='./Issuing/Transactions.d.ts' />
244
213
  ///<reference path='./LineItems.d.ts' />
245
214
  ///<reference path='./LoginLinks.d.ts' />
246
215
  ///<reference path='./Mandates.d.ts' />
247
- ///<reference path='./Margins.d.ts' />
248
- ///<reference path='./Orders.d.ts' />
249
- ///<reference path='./PaymentAttemptRecords.d.ts' />
250
216
  ///<reference path='./PaymentIntents.d.ts' />
251
217
  ///<reference path='./PaymentLinks.d.ts' />
252
218
  ///<reference path='./PaymentMethodConfigurations.d.ts' />
253
219
  ///<reference path='./PaymentMethodDomains.d.ts' />
254
220
  ///<reference path='./PaymentMethods.d.ts' />
255
- ///<reference path='./PaymentRecords.d.ts' />
256
221
  ///<reference path='./Payouts.d.ts' />
257
222
  ///<reference path='./Persons.d.ts' />
258
223
  ///<reference path='./Plans.d.ts' />
@@ -260,9 +225,6 @@
260
225
  ///<reference path='./ProductFeatures.d.ts' />
261
226
  ///<reference path='./Products.d.ts' />
262
227
  ///<reference path='./PromotionCodes.d.ts' />
263
- ///<reference path='./QuoteLines.d.ts' />
264
- ///<reference path='./QuotePreviewInvoices.d.ts' />
265
- ///<reference path='./QuotePreviewSubscriptionSchedules.d.ts' />
266
228
  ///<reference path='./Quotes.d.ts' />
267
229
  ///<reference path='./Radar/EarlyFraudWarnings.d.ts' />
268
230
  ///<reference path='./Radar/ValueListItems.d.ts' />
@@ -282,10 +244,8 @@
282
244
  ///<reference path='./SubscriptionItems.d.ts' />
283
245
  ///<reference path='./SubscriptionSchedules.d.ts' />
284
246
  ///<reference path='./Subscriptions.d.ts' />
285
- ///<reference path='./Tax/Associations.d.ts' />
286
247
  ///<reference path='./Tax/CalculationLineItems.d.ts' />
287
248
  ///<reference path='./Tax/Calculations.d.ts' />
288
- ///<reference path='./Tax/Forms.d.ts' />
289
249
  ///<reference path='./Tax/Registrations.d.ts' />
290
250
  ///<reference path='./Tax/Settings.d.ts' />
291
251
  ///<reference path='./Tax/TransactionLineItems.d.ts' />
@@ -297,7 +257,6 @@
297
257
  ///<reference path='./Terminal/Configurations.d.ts' />
298
258
  ///<reference path='./Terminal/ConnectionTokens.d.ts' />
299
259
  ///<reference path='./Terminal/Locations.d.ts' />
300
- ///<reference path='./Terminal/ReaderCollectedData.d.ts' />
301
260
  ///<reference path='./Terminal/Readers.d.ts' />
302
261
  ///<reference path='./TestHelpers/TestClocks.d.ts' />
303
262
  ///<reference path='./Tokens.d.ts' />
@@ -344,7 +303,6 @@ declare module 'stripe' {
344
303
 
345
304
  // Fields: The beginning of the section generated from our OpenAPI spec
346
305
  accountLinks: Stripe.AccountLinksResource;
347
- accountNotices: Stripe.AccountNoticesResource;
348
306
  accountSessions: Stripe.AccountSessionsResource;
349
307
  accounts: Stripe.AccountsResource;
350
308
  applePayDomains: Stripe.ApplePayDomainsResource;
@@ -368,15 +326,11 @@ declare module 'stripe' {
368
326
  invoiceRenderingTemplates: Stripe.InvoiceRenderingTemplatesResource;
369
327
  invoices: Stripe.InvoicesResource;
370
328
  mandates: Stripe.MandatesResource;
371
- margins: Stripe.MarginsResource;
372
- orders: Stripe.OrdersResource;
373
- paymentAttemptRecords: Stripe.PaymentAttemptRecordsResource;
374
329
  paymentIntents: Stripe.PaymentIntentsResource;
375
330
  paymentLinks: Stripe.PaymentLinksResource;
376
331
  paymentMethodConfigurations: Stripe.PaymentMethodConfigurationsResource;
377
332
  paymentMethodDomains: Stripe.PaymentMethodDomainsResource;
378
333
  paymentMethods: Stripe.PaymentMethodsResource;
379
- paymentRecords: Stripe.PaymentRecordsResource;
380
334
  payouts: Stripe.PayoutsResource;
381
335
  plans: Stripe.PlansResource;
382
336
  prices: Stripe.PricesResource;
@@ -415,11 +369,6 @@ declare module 'stripe' {
415
369
  configurations: Stripe.BillingPortal.ConfigurationsResource;
416
370
  sessions: Stripe.BillingPortal.SessionsResource;
417
371
  };
418
- capital: {
419
- financingOffers: Stripe.Capital.FinancingOffersResource;
420
- financingSummary: Stripe.Capital.FinancingSummaryResource;
421
- financingTransactions: Stripe.Capital.FinancingTransactionsResource;
422
- };
423
372
  checkout: {
424
373
  sessions: Stripe.Checkout.SessionsResource;
425
374
  };
@@ -434,17 +383,12 @@ declare module 'stripe' {
434
383
  };
435
384
  financialConnections: {
436
385
  accounts: Stripe.FinancialConnections.AccountsResource;
437
- institutions: Stripe.FinancialConnections.InstitutionsResource;
438
386
  sessions: Stripe.FinancialConnections.SessionsResource;
439
387
  transactions: Stripe.FinancialConnections.TransactionsResource;
440
388
  };
441
389
  forwarding: {
442
390
  requests: Stripe.Forwarding.RequestsResource;
443
391
  };
444
- giftCards: {
445
- cards: Stripe.GiftCards.CardsResource;
446
- transactions: Stripe.GiftCards.TransactionsResource;
447
- };
448
392
  identity: {
449
393
  verificationReports: Stripe.Identity.VerificationReportsResource;
450
394
  verificationSessions: Stripe.Identity.VerificationSessionsResource;
@@ -453,10 +397,7 @@ declare module 'stripe' {
453
397
  authorizations: Stripe.Issuing.AuthorizationsResource;
454
398
  cards: Stripe.Issuing.CardsResource;
455
399
  cardholders: Stripe.Issuing.CardholdersResource;
456
- creditUnderwritingRecords: Stripe.Issuing.CreditUnderwritingRecordsResource;
457
400
  disputes: Stripe.Issuing.DisputesResource;
458
- disputeSettlementDetails: Stripe.Issuing.DisputeSettlementDetailsResource;
459
- fraudLiabilityDebits: Stripe.Issuing.FraudLiabilityDebitsResource;
460
401
  personalizationDesigns: Stripe.Issuing.PersonalizationDesignsResource;
461
402
  physicalBundles: Stripe.Issuing.PhysicalBundlesResource;
462
403
  tokens: Stripe.Issuing.TokensResource;
@@ -475,9 +416,7 @@ declare module 'stripe' {
475
416
  scheduledQueryRuns: Stripe.Sigma.ScheduledQueryRunsResource;
476
417
  };
477
418
  tax: {
478
- associations: Stripe.Tax.AssociationsResource;
479
419
  calculations: Stripe.Tax.CalculationsResource;
480
- forms: Stripe.Tax.FormsResource;
481
420
  registrations: Stripe.Tax.RegistrationsResource;
482
421
  settings: Stripe.Tax.SettingsResource;
483
422
  transactions: Stripe.Tax.TransactionsResource;
@@ -487,7 +426,6 @@ declare module 'stripe' {
487
426
  connectionTokens: Stripe.Terminal.ConnectionTokensResource;
488
427
  locations: Stripe.Terminal.LocationsResource;
489
428
  readers: Stripe.Terminal.ReadersResource;
490
- readerCollectedData: Stripe.Terminal.ReaderCollectedDataResource;
491
429
  };
492
430
  testHelpers: {
493
431
  confirmationTokens: Stripe.TestHelpers.ConfirmationTokensResource;
@@ -1,21 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.AccountNotices = void 0;
5
- const StripeResource_js_1 = require("../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.AccountNotices = StripeResource_js_1.StripeResource.extend({
8
- retrieve: stripeMethod({
9
- method: 'GET',
10
- fullPath: '/v1/account_notices/{account_notice}',
11
- }),
12
- update: stripeMethod({
13
- method: 'POST',
14
- fullPath: '/v1/account_notices/{account_notice}',
15
- }),
16
- list: stripeMethod({
17
- method: 'GET',
18
- fullPath: '/v1/account_notices',
19
- methodType: 'list',
20
- }),
21
- });
@@ -1,21 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.FinancingOffers = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.FinancingOffers = StripeResource_js_1.StripeResource.extend({
8
- retrieve: stripeMethod({
9
- method: 'GET',
10
- fullPath: '/v1/capital/financing_offers/{financing_offer}',
11
- }),
12
- list: stripeMethod({
13
- method: 'GET',
14
- fullPath: '/v1/capital/financing_offers',
15
- methodType: 'list',
16
- }),
17
- markDelivered: stripeMethod({
18
- method: 'POST',
19
- fullPath: '/v1/capital/financing_offers/{financing_offer}/mark_delivered',
20
- }),
21
- });
@@ -1,12 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.FinancingSummary = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.FinancingSummary = StripeResource_js_1.StripeResource.extend({
8
- retrieve: stripeMethod({
9
- method: 'GET',
10
- fullPath: '/v1/capital/financing_summary',
11
- }),
12
- });
@@ -1,17 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.FinancingTransactions = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.FinancingTransactions = StripeResource_js_1.StripeResource.extend({
8
- retrieve: stripeMethod({
9
- method: 'GET',
10
- fullPath: '/v1/capital/financing_transactions/{financing_transaction}',
11
- }),
12
- list: stripeMethod({
13
- method: 'GET',
14
- fullPath: '/v1/capital/financing_transactions',
15
- methodType: 'list',
16
- }),
17
- });
@@ -1,17 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Institutions = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.Institutions = StripeResource_js_1.StripeResource.extend({
8
- retrieve: stripeMethod({
9
- method: 'GET',
10
- fullPath: '/v1/financial_connections/institutions/{institution}',
11
- }),
12
- list: stripeMethod({
13
- method: 'GET',
14
- fullPath: '/v1/financial_connections/institutions',
15
- methodType: 'list',
16
- }),
17
- });
@@ -1,23 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Cards = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.Cards = StripeResource_js_1.StripeResource.extend({
8
- create: stripeMethod({ method: 'POST', fullPath: '/v1/gift_cards/cards' }),
9
- retrieve: stripeMethod({
10
- method: 'GET',
11
- fullPath: '/v1/gift_cards/cards/{id}',
12
- }),
13
- update: stripeMethod({ method: 'POST', fullPath: '/v1/gift_cards/cards/{id}' }),
14
- list: stripeMethod({
15
- method: 'GET',
16
- fullPath: '/v1/gift_cards/cards',
17
- methodType: 'list',
18
- }),
19
- validate: stripeMethod({
20
- method: 'POST',
21
- fullPath: '/v1/gift_cards/cards/validate',
22
- }),
23
- });
@@ -1,33 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Transactions = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.Transactions = StripeResource_js_1.StripeResource.extend({
8
- create: stripeMethod({
9
- method: 'POST',
10
- fullPath: '/v1/gift_cards/transactions',
11
- }),
12
- retrieve: stripeMethod({
13
- method: 'GET',
14
- fullPath: '/v1/gift_cards/transactions/{id}',
15
- }),
16
- update: stripeMethod({
17
- method: 'POST',
18
- fullPath: '/v1/gift_cards/transactions/{id}',
19
- }),
20
- list: stripeMethod({
21
- method: 'GET',
22
- fullPath: '/v1/gift_cards/transactions',
23
- methodType: 'list',
24
- }),
25
- cancel: stripeMethod({
26
- method: 'POST',
27
- fullPath: '/v1/gift_cards/transactions/{id}/cancel',
28
- }),
29
- confirm: stripeMethod({
30
- method: 'POST',
31
- fullPath: '/v1/gift_cards/transactions/{id}/confirm',
32
- }),
33
- });