stripe 17.2.0-beta.1 → 17.2.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 (156) hide show
  1. package/CHANGELOG.md +115 -873
  2. package/README.md +7 -6
  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 -4
  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/V2/Core/Events.js +50 -7
  11. package/cjs/resources.js +10 -42
  12. package/cjs/stripe.core.js +1 -1
  13. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  14. package/esm/resources/Invoices.js +0 -17
  15. package/esm/resources/PaymentIntents.js +0 -4
  16. package/esm/resources/Quotes.js +0 -32
  17. package/esm/resources/SubscriptionSchedules.js +0 -4
  18. package/esm/resources/Terminal/Readers.js +0 -12
  19. package/esm/resources/V2/Core/Events.js +50 -7
  20. package/esm/resources.js +0 -29
  21. package/esm/stripe.core.js +1 -1
  22. package/package.json +1 -1
  23. package/types/AccountLinksResource.d.ts +1 -5
  24. package/types/AccountSessions.d.ts +0 -45
  25. package/types/AccountSessionsResource.d.ts +0 -309
  26. package/types/Accounts.d.ts +1 -113
  27. package/types/AccountsResource.d.ts +0 -270
  28. package/types/Charges.d.ts +0 -71
  29. package/types/ChargesResource.d.ts +0 -1294
  30. package/types/Checkout/Sessions.d.ts +4 -296
  31. package/types/Checkout/SessionsResource.d.ts +5 -351
  32. package/types/ConfirmationTokens.d.ts +0 -67
  33. package/types/Coupons.d.ts +1 -1
  34. package/types/CouponsResource.d.ts +1 -1
  35. package/types/CreditNotes.d.ts +0 -21
  36. package/types/CreditNotesResource.d.ts +0 -51
  37. package/types/CustomersResource.d.ts +0 -3
  38. package/types/Disputes.d.ts +0 -152
  39. package/types/DisputesResource.d.ts +0 -120
  40. package/types/EventTypes.d.ts +0 -545
  41. package/types/Events.d.ts +0 -90
  42. package/types/FinancialConnections/Accounts.d.ts +1 -29
  43. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  44. package/types/FinancialConnections/Sessions.d.ts +1 -49
  45. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  46. package/types/InvoiceItems.d.ts +0 -5
  47. package/types/InvoiceItemsResource.d.ts +0 -98
  48. package/types/InvoiceLineItems.d.ts +1 -28
  49. package/types/Invoices.d.ts +2 -123
  50. package/types/InvoicesResource.d.ts +1835 -5493
  51. package/types/Issuing/CardholdersResource.d.ts +1 -2
  52. package/types/Issuing/Transactions.d.ts +0 -2
  53. package/types/Issuing/TransactionsResource.d.ts +0 -5
  54. package/types/LineItems.d.ts +0 -7
  55. package/types/Mandates.d.ts +0 -77
  56. package/types/PaymentIntents.d.ts +1 -503
  57. package/types/PaymentIntentsResource.d.ts +3464 -7064
  58. package/types/PaymentLinks.d.ts +0 -3
  59. package/types/PaymentLinksResource.d.ts +0 -6
  60. package/types/PaymentMethodConfigurations.d.ts +0 -36
  61. package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
  62. package/types/PaymentMethods.d.ts +0 -67
  63. package/types/PaymentMethodsResource.d.ts +0 -88
  64. package/types/Prices.d.ts +0 -22
  65. package/types/PricesResource.d.ts +0 -22
  66. package/types/Products.d.ts +0 -39
  67. package/types/ProductsResource.d.ts +0 -36
  68. package/types/Quotes.d.ts +1 -591
  69. package/types/QuotesResource.d.ts +199 -2531
  70. package/types/SetupAttempts.d.ts +0 -10
  71. package/types/SetupIntents.d.ts +1 -111
  72. package/types/SetupIntentsResource.d.ts +3 -522
  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 -82
  79. package/types/SubscriptionsResource.d.ts +2 -347
  80. package/types/Terminal/Readers.d.ts +0 -278
  81. package/types/Terminal/ReadersResource.d.ts +0 -215
  82. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -63
  83. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  84. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  85. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  86. package/types/Treasury/FinancialAccountsResource.d.ts +0 -10
  87. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  88. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  89. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  90. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  91. package/types/V2/EventTypes.d.ts +3 -1
  92. package/types/WebhookEndpointsResource.d.ts +0 -64
  93. package/types/index.d.ts +0 -53
  94. package/cjs/resources/AccountNotices.js +0 -21
  95. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  96. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  97. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  98. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  99. package/cjs/resources/GiftCards/Cards.js +0 -23
  100. package/cjs/resources/GiftCards/Transactions.js +0 -33
  101. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  102. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  103. package/cjs/resources/Margins.js +0 -22
  104. package/cjs/resources/Orders.js +0 -24
  105. package/cjs/resources/Tax/Associations.js +0 -9
  106. package/cjs/resources/Tax/Forms.js +0 -20
  107. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  108. package/esm/resources/AccountNotices.js +0 -18
  109. package/esm/resources/Capital/FinancingOffers.js +0 -18
  110. package/esm/resources/Capital/FinancingSummary.js +0 -9
  111. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  112. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  113. package/esm/resources/GiftCards/Cards.js +0 -20
  114. package/esm/resources/GiftCards/Transactions.js +0 -30
  115. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  116. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  117. package/esm/resources/Margins.js +0 -19
  118. package/esm/resources/Orders.js +0 -21
  119. package/esm/resources/Tax/Associations.js +0 -6
  120. package/esm/resources/Tax/Forms.js +0 -17
  121. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  122. package/types/AccountNotices.d.ts +0 -113
  123. package/types/AccountNoticesResource.d.ts +0 -98
  124. package/types/Billing/MeterErrorReports.d.ts +0 -106
  125. package/types/Capital/FinancingOffers.d.ts +0 -188
  126. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  127. package/types/Capital/FinancingSummary.d.ts +0 -106
  128. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  129. package/types/Capital/FinancingTransactions.d.ts +0 -135
  130. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  131. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  132. package/types/FinancialConnections/Institutions.d.ts +0 -93
  133. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  134. package/types/GiftCards/Cards.d.ts +0 -118
  135. package/types/GiftCards/CardsResource.d.ts +0 -159
  136. package/types/GiftCards/Transactions.d.ts +0 -129
  137. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  138. package/types/InvoicePayments.d.ts +0 -138
  139. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  140. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  141. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  142. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  143. package/types/Issuing/Settlements.d.ts +0 -103
  144. package/types/Margins.d.ts +0 -56
  145. package/types/MarginsResource.d.ts +0 -114
  146. package/types/Orders.d.ts +0 -1084
  147. package/types/OrdersResource.d.ts +0 -2765
  148. package/types/QuoteLines.d.ts +0 -634
  149. package/types/QuotePreviewInvoices.d.ts +0 -1586
  150. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
  151. package/types/Tax/Associations.d.ts +0 -126
  152. package/types/Tax/AssociationsResource.d.ts +0 -29
  153. package/types/Tax/Forms.d.ts +0 -133
  154. package/types/Tax/FormsResource.d.ts +0 -90
  155. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  156. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
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,16 +59,12 @@
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
63
  ///<reference path='./Issuing/PersonalizationDesignsResource.d.ts' />
73
64
  ///<reference path='./Issuing/PhysicalBundlesResource.d.ts' />
74
65
  ///<reference path='./Issuing/TokensResource.d.ts' />
75
66
  ///<reference path='./Issuing/TransactionsResource.d.ts' />
76
67
  ///<reference path='./MandatesResource.d.ts' />
77
- ///<reference path='./MarginsResource.d.ts' />
78
- ///<reference path='./OrdersResource.d.ts' />
79
68
  ///<reference path='./PaymentIntentsResource.d.ts' />
80
69
  ///<reference path='./PaymentLinksResource.d.ts' />
81
70
  ///<reference path='./PaymentMethodConfigurationsResource.d.ts' />
@@ -102,9 +91,7 @@
102
91
  ///<reference path='./SubscriptionItemsResource.d.ts' />
103
92
  ///<reference path='./SubscriptionSchedulesResource.d.ts' />
104
93
  ///<reference path='./SubscriptionsResource.d.ts' />
105
- ///<reference path='./Tax/AssociationsResource.d.ts' />
106
94
  ///<reference path='./Tax/CalculationsResource.d.ts' />
107
- ///<reference path='./Tax/FormsResource.d.ts' />
108
95
  ///<reference path='./Tax/RegistrationsResource.d.ts' />
109
96
  ///<reference path='./Tax/SettingsResource.d.ts' />
110
97
  ///<reference path='./Tax/TransactionsResource.d.ts' />
@@ -114,7 +101,6 @@
114
101
  ///<reference path='./Terminal/ConfigurationsResource.d.ts' />
115
102
  ///<reference path='./Terminal/ConnectionTokensResource.d.ts' />
116
103
  ///<reference path='./Terminal/LocationsResource.d.ts' />
117
- ///<reference path='./Terminal/ReaderCollectedDataResource.d.ts' />
118
104
  ///<reference path='./Terminal/ReadersResource.d.ts' />
119
105
  ///<reference path='./TestHelpers/ConfirmationTokensResource.d.ts' />
120
106
  ///<reference path='./TestHelpers/CustomersResource.d.ts' />
@@ -153,7 +139,6 @@
153
139
  ///<reference path='./V2Resource.d.ts' />
154
140
  ///<reference path='./WebhookEndpointsResource.d.ts' />
155
141
  ///<reference path='./AccountLinks.d.ts' />
156
- ///<reference path='./AccountNotices.d.ts' />
157
142
  ///<reference path='./AccountSessions.d.ts' />
158
143
  ///<reference path='./Accounts.d.ts' />
159
144
  ///<reference path='./ApplePayDomains.d.ts' />
@@ -169,7 +154,6 @@
169
154
  ///<reference path='./Billing/CreditBalanceSummary.d.ts' />
170
155
  ///<reference path='./Billing/CreditBalanceTransactions.d.ts' />
171
156
  ///<reference path='./Billing/CreditGrants.d.ts' />
172
- ///<reference path='./Billing/MeterErrorReports.d.ts' />
173
157
  ///<reference path='./Billing/MeterEventAdjustments.d.ts' />
174
158
  ///<reference path='./Billing/MeterEventSummaries.d.ts' />
175
159
  ///<reference path='./Billing/MeterEvents.d.ts' />
@@ -177,9 +161,6 @@
177
161
  ///<reference path='./BillingPortal/Configurations.d.ts' />
178
162
  ///<reference path='./BillingPortal/Sessions.d.ts' />
179
163
  ///<reference path='./Capabilities.d.ts' />
180
- ///<reference path='./Capital/FinancingOffers.d.ts' />
181
- ///<reference path='./Capital/FinancingSummary.d.ts' />
182
- ///<reference path='./Capital/FinancingTransactions.d.ts' />
183
164
  ///<reference path='./Cards.d.ts' />
184
165
  ///<reference path='./CashBalances.d.ts' />
185
166
  ///<reference path='./Charges.d.ts' />
@@ -210,40 +191,30 @@
210
191
  ///<reference path='./FeeRefunds.d.ts' />
211
192
  ///<reference path='./FileLinks.d.ts' />
212
193
  ///<reference path='./Files.d.ts' />
213
- ///<reference path='./FinancialConnections/AccountInferredBalances.d.ts' />
214
194
  ///<reference path='./FinancialConnections/AccountOwners.d.ts' />
215
195
  ///<reference path='./FinancialConnections/AccountOwnerships.d.ts' />
216
196
  ///<reference path='./FinancialConnections/Accounts.d.ts' />
217
- ///<reference path='./FinancialConnections/Institutions.d.ts' />
218
197
  ///<reference path='./FinancialConnections/Sessions.d.ts' />
219
198
  ///<reference path='./FinancialConnections/Transactions.d.ts' />
220
199
  ///<reference path='./Forwarding/Requests.d.ts' />
221
200
  ///<reference path='./FundingInstructions.d.ts' />
222
- ///<reference path='./GiftCards/Cards.d.ts' />
223
- ///<reference path='./GiftCards/Transactions.d.ts' />
224
201
  ///<reference path='./Identity/VerificationReports.d.ts' />
225
202
  ///<reference path='./Identity/VerificationSessions.d.ts' />
226
203
  ///<reference path='./InvoiceItems.d.ts' />
227
204
  ///<reference path='./InvoiceLineItems.d.ts' />
228
- ///<reference path='./InvoicePayments.d.ts' />
229
205
  ///<reference path='./InvoiceRenderingTemplates.d.ts' />
230
206
  ///<reference path='./Invoices.d.ts' />
231
207
  ///<reference path='./Issuing/Authorizations.d.ts' />
232
208
  ///<reference path='./Issuing/Cardholders.d.ts' />
233
209
  ///<reference path='./Issuing/Cards.d.ts' />
234
- ///<reference path='./Issuing/CreditUnderwritingRecords.d.ts' />
235
- ///<reference path='./Issuing/DisputeSettlementDetails.d.ts' />
236
210
  ///<reference path='./Issuing/Disputes.d.ts' />
237
211
  ///<reference path='./Issuing/PersonalizationDesigns.d.ts' />
238
212
  ///<reference path='./Issuing/PhysicalBundles.d.ts' />
239
- ///<reference path='./Issuing/Settlements.d.ts' />
240
213
  ///<reference path='./Issuing/Tokens.d.ts' />
241
214
  ///<reference path='./Issuing/Transactions.d.ts' />
242
215
  ///<reference path='./LineItems.d.ts' />
243
216
  ///<reference path='./LoginLinks.d.ts' />
244
217
  ///<reference path='./Mandates.d.ts' />
245
- ///<reference path='./Margins.d.ts' />
246
- ///<reference path='./Orders.d.ts' />
247
218
  ///<reference path='./PaymentIntents.d.ts' />
248
219
  ///<reference path='./PaymentLinks.d.ts' />
249
220
  ///<reference path='./PaymentMethodConfigurations.d.ts' />
@@ -256,9 +227,6 @@
256
227
  ///<reference path='./ProductFeatures.d.ts' />
257
228
  ///<reference path='./Products.d.ts' />
258
229
  ///<reference path='./PromotionCodes.d.ts' />
259
- ///<reference path='./QuoteLines.d.ts' />
260
- ///<reference path='./QuotePreviewInvoices.d.ts' />
261
- ///<reference path='./QuotePreviewSubscriptionSchedules.d.ts' />
262
230
  ///<reference path='./Quotes.d.ts' />
263
231
  ///<reference path='./Radar/EarlyFraudWarnings.d.ts' />
264
232
  ///<reference path='./Radar/ValueListItems.d.ts' />
@@ -278,10 +246,8 @@
278
246
  ///<reference path='./SubscriptionItems.d.ts' />
279
247
  ///<reference path='./SubscriptionSchedules.d.ts' />
280
248
  ///<reference path='./Subscriptions.d.ts' />
281
- ///<reference path='./Tax/Associations.d.ts' />
282
249
  ///<reference path='./Tax/CalculationLineItems.d.ts' />
283
250
  ///<reference path='./Tax/Calculations.d.ts' />
284
- ///<reference path='./Tax/Forms.d.ts' />
285
251
  ///<reference path='./Tax/Registrations.d.ts' />
286
252
  ///<reference path='./Tax/Settings.d.ts' />
287
253
  ///<reference path='./Tax/TransactionLineItems.d.ts' />
@@ -293,7 +259,6 @@
293
259
  ///<reference path='./Terminal/Configurations.d.ts' />
294
260
  ///<reference path='./Terminal/ConnectionTokens.d.ts' />
295
261
  ///<reference path='./Terminal/Locations.d.ts' />
296
- ///<reference path='./Terminal/ReaderCollectedData.d.ts' />
297
262
  ///<reference path='./Terminal/Readers.d.ts' />
298
263
  ///<reference path='./TestHelpers/TestClocks.d.ts' />
299
264
  ///<reference path='./Tokens.d.ts' />
@@ -339,7 +304,6 @@ declare module 'stripe' {
339
304
 
340
305
  // Fields: The beginning of the section generated from our OpenAPI spec
341
306
  accountLinks: Stripe.AccountLinksResource;
342
- accountNotices: Stripe.AccountNoticesResource;
343
307
  accountSessions: Stripe.AccountSessionsResource;
344
308
  accounts: Stripe.AccountsResource;
345
309
  applePayDomains: Stripe.ApplePayDomainsResource;
@@ -363,8 +327,6 @@ declare module 'stripe' {
363
327
  invoiceRenderingTemplates: Stripe.InvoiceRenderingTemplatesResource;
364
328
  invoices: Stripe.InvoicesResource;
365
329
  mandates: Stripe.MandatesResource;
366
- margins: Stripe.MarginsResource;
367
- orders: Stripe.OrdersResource;
368
330
  paymentIntents: Stripe.PaymentIntentsResource;
369
331
  paymentLinks: Stripe.PaymentLinksResource;
370
332
  paymentMethodConfigurations: Stripe.PaymentMethodConfigurationsResource;
@@ -409,11 +371,6 @@ declare module 'stripe' {
409
371
  configurations: Stripe.BillingPortal.ConfigurationsResource;
410
372
  sessions: Stripe.BillingPortal.SessionsResource;
411
373
  };
412
- capital: {
413
- financingOffers: Stripe.Capital.FinancingOffersResource;
414
- financingSummary: Stripe.Capital.FinancingSummaryResource;
415
- financingTransactions: Stripe.Capital.FinancingTransactionsResource;
416
- };
417
374
  checkout: {
418
375
  sessions: Stripe.Checkout.SessionsResource;
419
376
  };
@@ -428,17 +385,12 @@ declare module 'stripe' {
428
385
  };
429
386
  financialConnections: {
430
387
  accounts: Stripe.FinancialConnections.AccountsResource;
431
- institutions: Stripe.FinancialConnections.InstitutionsResource;
432
388
  sessions: Stripe.FinancialConnections.SessionsResource;
433
389
  transactions: Stripe.FinancialConnections.TransactionsResource;
434
390
  };
435
391
  forwarding: {
436
392
  requests: Stripe.Forwarding.RequestsResource;
437
393
  };
438
- giftCards: {
439
- cards: Stripe.GiftCards.CardsResource;
440
- transactions: Stripe.GiftCards.TransactionsResource;
441
- };
442
394
  identity: {
443
395
  verificationReports: Stripe.Identity.VerificationReportsResource;
444
396
  verificationSessions: Stripe.Identity.VerificationSessionsResource;
@@ -447,9 +399,7 @@ declare module 'stripe' {
447
399
  authorizations: Stripe.Issuing.AuthorizationsResource;
448
400
  cards: Stripe.Issuing.CardsResource;
449
401
  cardholders: Stripe.Issuing.CardholdersResource;
450
- creditUnderwritingRecords: Stripe.Issuing.CreditUnderwritingRecordsResource;
451
402
  disputes: Stripe.Issuing.DisputesResource;
452
- disputeSettlementDetails: Stripe.Issuing.DisputeSettlementDetailsResource;
453
403
  personalizationDesigns: Stripe.Issuing.PersonalizationDesignsResource;
454
404
  physicalBundles: Stripe.Issuing.PhysicalBundlesResource;
455
405
  tokens: Stripe.Issuing.TokensResource;
@@ -468,9 +418,7 @@ declare module 'stripe' {
468
418
  scheduledQueryRuns: Stripe.Sigma.ScheduledQueryRunsResource;
469
419
  };
470
420
  tax: {
471
- associations: Stripe.Tax.AssociationsResource;
472
421
  calculations: Stripe.Tax.CalculationsResource;
473
- forms: Stripe.Tax.FormsResource;
474
422
  registrations: Stripe.Tax.RegistrationsResource;
475
423
  settings: Stripe.Tax.SettingsResource;
476
424
  transactions: Stripe.Tax.TransactionsResource;
@@ -480,7 +428,6 @@ declare module 'stripe' {
480
428
  connectionTokens: Stripe.Terminal.ConnectionTokensResource;
481
429
  locations: Stripe.Terminal.LocationsResource;
482
430
  readers: Stripe.Terminal.ReadersResource;
483
- readerCollectedData: Stripe.Terminal.ReaderCollectedDataResource;
484
431
  };
485
432
  testHelpers: {
486
433
  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
- });
@@ -1,33 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.CreditUnderwritingRecords = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.CreditUnderwritingRecords = StripeResource_js_1.StripeResource.extend({
8
- retrieve: stripeMethod({
9
- method: 'GET',
10
- fullPath: '/v1/issuing/credit_underwriting_records/{credit_underwriting_record}',
11
- }),
12
- list: stripeMethod({
13
- method: 'GET',
14
- fullPath: '/v1/issuing/credit_underwriting_records',
15
- methodType: 'list',
16
- }),
17
- correct: stripeMethod({
18
- method: 'POST',
19
- fullPath: '/v1/issuing/credit_underwriting_records/{credit_underwriting_record}/correct',
20
- }),
21
- createFromApplication: stripeMethod({
22
- method: 'POST',
23
- fullPath: '/v1/issuing/credit_underwriting_records/create_from_application',
24
- }),
25
- createFromProactiveReview: stripeMethod({
26
- method: 'POST',
27
- fullPath: '/v1/issuing/credit_underwriting_records/create_from_proactive_review',
28
- }),
29
- reportDecision: stripeMethod({
30
- method: 'POST',
31
- fullPath: '/v1/issuing/credit_underwriting_records/{credit_underwriting_record}/report_decision',
32
- }),
33
- });
@@ -1,17 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.DisputeSettlementDetails = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.DisputeSettlementDetails = StripeResource_js_1.StripeResource.extend({
8
- retrieve: stripeMethod({
9
- method: 'GET',
10
- fullPath: '/v1/issuing/dispute_settlement_details/{dispute_settlement_detail}',
11
- }),
12
- list: stripeMethod({
13
- method: 'GET',
14
- fullPath: '/v1/issuing/dispute_settlement_details',
15
- methodType: 'list',
16
- }),
17
- });
@@ -1,22 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Margins = void 0;
5
- const StripeResource_js_1 = require("../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.Margins = StripeResource_js_1.StripeResource.extend({
8
- create: stripeMethod({ method: 'POST', fullPath: '/v1/billing/margins' }),
9
- retrieve: stripeMethod({
10
- method: 'GET',
11
- fullPath: '/v1/billing/margins/{margin}',
12
- }),
13
- update: stripeMethod({
14
- method: 'POST',
15
- fullPath: '/v1/billing/margins/{margin}',
16
- }),
17
- list: stripeMethod({
18
- method: 'GET',
19
- fullPath: '/v1/billing/margins',
20
- methodType: 'list',
21
- }),
22
- });
@@ -1,24 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Orders = void 0;
5
- const StripeResource_js_1 = require("../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.Orders = StripeResource_js_1.StripeResource.extend({
8
- create: stripeMethod({ method: 'POST', fullPath: '/v1/orders' }),
9
- retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/orders/{id}' }),
10
- update: stripeMethod({ method: 'POST', fullPath: '/v1/orders/{id}' }),
11
- list: stripeMethod({
12
- method: 'GET',
13
- fullPath: '/v1/orders',
14
- methodType: 'list',
15
- }),
16
- cancel: stripeMethod({ method: 'POST', fullPath: '/v1/orders/{id}/cancel' }),
17
- listLineItems: stripeMethod({
18
- method: 'GET',
19
- fullPath: '/v1/orders/{id}/line_items',
20
- methodType: 'list',
21
- }),
22
- reopen: stripeMethod({ method: 'POST', fullPath: '/v1/orders/{id}/reopen' }),
23
- submit: stripeMethod({ method: 'POST', fullPath: '/v1/orders/{id}/submit' }),
24
- });
@@ -1,9 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Associations = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.Associations = StripeResource_js_1.StripeResource.extend({
8
- find: stripeMethod({ method: 'GET', fullPath: '/v1/tax/associations/find' }),
9
- });
@@ -1,20 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Forms = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.Forms = StripeResource_js_1.StripeResource.extend({
8
- retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/tax/forms/{id}' }),
9
- list: stripeMethod({
10
- method: 'GET',
11
- fullPath: '/v1/tax/forms',
12
- methodType: 'list',
13
- }),
14
- pdf: stripeMethod({
15
- method: 'GET',
16
- fullPath: '/v1/tax/forms/{id}/pdf',
17
- host: 'files.stripe.com',
18
- streaming: true,
19
- }),
20
- });
@@ -1,12 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.ReaderCollectedData = void 0;
5
- const StripeResource_js_1 = require("../../StripeResource.js");
6
- const stripeMethod = StripeResource_js_1.StripeResource.method;
7
- exports.ReaderCollectedData = StripeResource_js_1.StripeResource.extend({
8
- retrieve: stripeMethod({
9
- method: 'GET',
10
- fullPath: '/v1/terminal/reader_collected_data/{reader_collected_data}',
11
- }),
12
- });
@@ -1,18 +0,0 @@
1
- // File generated from our OpenAPI spec
2
- import { StripeResource } from '../StripeResource.js';
3
- const stripeMethod = StripeResource.method;
4
- export const AccountNotices = StripeResource.extend({
5
- retrieve: stripeMethod({
6
- method: 'GET',
7
- fullPath: '/v1/account_notices/{account_notice}',
8
- }),
9
- update: stripeMethod({
10
- method: 'POST',
11
- fullPath: '/v1/account_notices/{account_notice}',
12
- }),
13
- list: stripeMethod({
14
- method: 'GET',
15
- fullPath: '/v1/account_notices',
16
- methodType: 'list',
17
- }),
18
- });
@@ -1,18 +0,0 @@
1
- // File generated from our OpenAPI spec
2
- import { StripeResource } from '../../StripeResource.js';
3
- const stripeMethod = StripeResource.method;
4
- export const FinancingOffers = StripeResource.extend({
5
- retrieve: stripeMethod({
6
- method: 'GET',
7
- fullPath: '/v1/capital/financing_offers/{financing_offer}',
8
- }),
9
- list: stripeMethod({
10
- method: 'GET',
11
- fullPath: '/v1/capital/financing_offers',
12
- methodType: 'list',
13
- }),
14
- markDelivered: stripeMethod({
15
- method: 'POST',
16
- fullPath: '/v1/capital/financing_offers/{financing_offer}/mark_delivered',
17
- }),
18
- });
@@ -1,9 +0,0 @@
1
- // File generated from our OpenAPI spec
2
- import { StripeResource } from '../../StripeResource.js';
3
- const stripeMethod = StripeResource.method;
4
- export const FinancingSummary = StripeResource.extend({
5
- retrieve: stripeMethod({
6
- method: 'GET',
7
- fullPath: '/v1/capital/financing_summary',
8
- }),
9
- });
@@ -1,14 +0,0 @@
1
- // File generated from our OpenAPI spec
2
- import { StripeResource } from '../../StripeResource.js';
3
- const stripeMethod = StripeResource.method;
4
- export const FinancingTransactions = StripeResource.extend({
5
- retrieve: stripeMethod({
6
- method: 'GET',
7
- fullPath: '/v1/capital/financing_transactions/{financing_transaction}',
8
- }),
9
- list: stripeMethod({
10
- method: 'GET',
11
- fullPath: '/v1/capital/financing_transactions',
12
- methodType: 'list',
13
- }),
14
- });
@@ -1,14 +0,0 @@
1
- // File generated from our OpenAPI spec
2
- import { StripeResource } from '../../StripeResource.js';
3
- const stripeMethod = StripeResource.method;
4
- export const Institutions = StripeResource.extend({
5
- retrieve: stripeMethod({
6
- method: 'GET',
7
- fullPath: '/v1/financial_connections/institutions/{institution}',
8
- }),
9
- list: stripeMethod({
10
- method: 'GET',
11
- fullPath: '/v1/financial_connections/institutions',
12
- methodType: 'list',
13
- }),
14
- });
@@ -1,20 +0,0 @@
1
- // File generated from our OpenAPI spec
2
- import { StripeResource } from '../../StripeResource.js';
3
- const stripeMethod = StripeResource.method;
4
- export const Cards = StripeResource.extend({
5
- create: stripeMethod({ method: 'POST', fullPath: '/v1/gift_cards/cards' }),
6
- retrieve: stripeMethod({
7
- method: 'GET',
8
- fullPath: '/v1/gift_cards/cards/{id}',
9
- }),
10
- update: stripeMethod({ method: 'POST', fullPath: '/v1/gift_cards/cards/{id}' }),
11
- list: stripeMethod({
12
- method: 'GET',
13
- fullPath: '/v1/gift_cards/cards',
14
- methodType: 'list',
15
- }),
16
- validate: stripeMethod({
17
- method: 'POST',
18
- fullPath: '/v1/gift_cards/cards/validate',
19
- }),
20
- });