stripe 16.9.0-beta.2 → 16.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/CHANGELOG.md +128 -822
  2. package/README.md +0 -33
  3. package/VERSION +1 -1
  4. package/cjs/RequestSender.js +5 -66
  5. package/cjs/StripeResource.js +1 -1
  6. package/cjs/apiVersion.js +1 -2
  7. package/cjs/multipart.js +1 -1
  8. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  9. package/cjs/resources/Invoices.js +0 -17
  10. package/cjs/resources/OAuth.js +1 -1
  11. package/cjs/resources/PaymentIntents.js +0 -4
  12. package/cjs/resources/Quotes.js +0 -32
  13. package/cjs/resources/SubscriptionSchedules.js +0 -4
  14. package/cjs/resources/Terminal/Readers.js +0 -12
  15. package/cjs/resources.js +10 -40
  16. package/cjs/stripe.core.js +3 -6
  17. package/cjs/utils.js +3 -30
  18. package/esm/RequestSender.js +6 -67
  19. package/esm/StripeResource.js +2 -2
  20. package/esm/apiVersion.js +0 -1
  21. package/esm/multipart.js +2 -2
  22. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  23. package/esm/resources/Invoices.js +0 -17
  24. package/esm/resources/OAuth.js +2 -2
  25. package/esm/resources/PaymentIntents.js +0 -4
  26. package/esm/resources/Quotes.js +0 -32
  27. package/esm/resources/SubscriptionSchedules.js +0 -4
  28. package/esm/resources/Terminal/Readers.js +0 -12
  29. package/esm/resources.js +0 -26
  30. package/esm/stripe.core.js +3 -6
  31. package/esm/utils.js +1 -27
  32. package/package.json +1 -1
  33. package/types/AccountLinksResource.d.ts +2 -6
  34. package/types/AccountSessions.d.ts +0 -45
  35. package/types/AccountSessionsResource.d.ts +0 -260
  36. package/types/Accounts.d.ts +1 -113
  37. package/types/AccountsResource.d.ts +0 -270
  38. package/types/Billing/AlertsResource.d.ts +10 -0
  39. package/types/Charges.d.ts +0 -71
  40. package/types/ChargesResource.d.ts +0 -1294
  41. package/types/Checkout/Sessions.d.ts +5 -186
  42. package/types/Checkout/SessionsResource.d.ts +6 -350
  43. package/types/ConfirmationTokens.d.ts +0 -67
  44. package/types/Coupons.d.ts +1 -1
  45. package/types/CouponsResource.d.ts +1 -1
  46. package/types/CreditNotes.d.ts +0 -21
  47. package/types/CreditNotesResource.d.ts +0 -51
  48. package/types/CustomersResource.d.ts +0 -3
  49. package/types/Disputes.d.ts +0 -152
  50. package/types/DisputesResource.d.ts +0 -120
  51. package/types/EventTypes.d.ts +0 -460
  52. package/types/Events.d.ts +0 -85
  53. package/types/FileLinksResource.d.ts +1 -1
  54. package/types/Files.d.ts +1 -0
  55. package/types/FilesResource.d.ts +3 -1
  56. package/types/FinancialConnections/Accounts.d.ts +1 -29
  57. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  58. package/types/FinancialConnections/Sessions.d.ts +1 -49
  59. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  60. package/types/InvoiceItems.d.ts +0 -5
  61. package/types/InvoiceItemsResource.d.ts +0 -98
  62. package/types/InvoiceLineItems.d.ts +3 -23
  63. package/types/Invoices.d.ts +1 -116
  64. package/types/InvoicesResource.d.ts +1836 -5494
  65. package/types/Issuing/CardholdersResource.d.ts +1 -2
  66. package/types/Issuing/Cards.d.ts +1 -1
  67. package/types/LineItems.d.ts +1 -8
  68. package/types/Mandates.d.ts +0 -77
  69. package/types/PaymentIntents.d.ts +1 -502
  70. package/types/PaymentIntentsResource.d.ts +3467 -7064
  71. package/types/PaymentLinks.d.ts +0 -1
  72. package/types/PaymentLinksResource.d.ts +0 -2
  73. package/types/PaymentMethodConfigurations.d.ts +0 -36
  74. package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
  75. package/types/PaymentMethods.d.ts +0 -67
  76. package/types/PaymentMethodsResource.d.ts +0 -119
  77. package/types/Prices.d.ts +0 -22
  78. package/types/PricesResource.d.ts +0 -22
  79. package/types/Products.d.ts +0 -39
  80. package/types/ProductsResource.d.ts +0 -36
  81. package/types/Quotes.d.ts +1 -596
  82. package/types/QuotesResource.d.ts +199 -2531
  83. package/types/SetupAttempts.d.ts +0 -9
  84. package/types/SetupIntents.d.ts +1 -110
  85. package/types/SetupIntentsResource.d.ts +3 -522
  86. package/types/Sources.d.ts +0 -23
  87. package/types/SubscriptionItems.d.ts +0 -21
  88. package/types/SubscriptionItemsResource.d.ts +0 -109
  89. package/types/SubscriptionSchedules.d.ts +0 -200
  90. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  91. package/types/Subscriptions.d.ts +1 -82
  92. package/types/SubscriptionsResource.d.ts +2 -347
  93. package/types/Tax/CalculationsResource.d.ts +1 -1
  94. package/types/Terminal/Readers.d.ts +0 -278
  95. package/types/Terminal/ReadersResource.d.ts +4 -212
  96. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -63
  97. package/types/TestHelpers/TestClocks.d.ts +15 -0
  98. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  99. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  100. package/types/Transfers.d.ts +1 -1
  101. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  102. package/types/Treasury/FinancialAccountsResource.d.ts +0 -10
  103. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  104. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  105. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  106. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  107. package/types/WebhookEndpointsResource.d.ts +0 -54
  108. package/types/index.d.ts +0 -67
  109. package/types/lib.d.ts +0 -12
  110. package/cjs/resources/AccountNotices.js +0 -21
  111. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  112. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  113. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  114. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  115. package/cjs/resources/GiftCards/Cards.js +0 -23
  116. package/cjs/resources/GiftCards/Transactions.js +0 -33
  117. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  118. package/cjs/resources/Margins.js +0 -22
  119. package/cjs/resources/Orders.js +0 -24
  120. package/cjs/resources/QuotePhases.js +0 -22
  121. package/cjs/resources/Tax/Associations.js +0 -9
  122. package/cjs/resources/Tax/Forms.js +0 -20
  123. package/esm/resources/AccountNotices.js +0 -18
  124. package/esm/resources/Capital/FinancingOffers.js +0 -18
  125. package/esm/resources/Capital/FinancingSummary.js +0 -9
  126. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  127. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  128. package/esm/resources/GiftCards/Cards.js +0 -20
  129. package/esm/resources/GiftCards/Transactions.js +0 -30
  130. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  131. package/esm/resources/Margins.js +0 -19
  132. package/esm/resources/Orders.js +0 -21
  133. package/esm/resources/QuotePhases.js +0 -19
  134. package/esm/resources/Tax/Associations.js +0 -6
  135. package/esm/resources/Tax/Forms.js +0 -17
  136. package/types/AccountNotices.d.ts +0 -113
  137. package/types/AccountNoticesResource.d.ts +0 -98
  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 -138
  152. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -446
  153. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1017
  154. package/types/Margins.d.ts +0 -56
  155. package/types/MarginsResource.d.ts +0 -114
  156. package/types/Orders.d.ts +0 -1084
  157. package/types/OrdersResource.d.ts +0 -2765
  158. package/types/QuoteLines.d.ts +0 -634
  159. package/types/QuotePhases.d.ts +0 -198
  160. package/types/QuotePhasesResource.d.ts +0 -67
  161. package/types/QuotePreviewInvoices.d.ts +0 -1531
  162. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
  163. package/types/Tax/Associations.d.ts +0 -126
  164. package/types/Tax/AssociationsResource.d.ts +0 -29
  165. package/types/Tax/Forms.d.ts +0 -133
  166. package/types/Tax/FormsResource.d.ts +0 -90
@@ -97,21 +97,6 @@ declare module 'stripe' {
97
97
 
98
98
  namespace Reader {
99
99
  interface Action {
100
- /**
101
- * Represents a reader action to collect customer inputs
102
- */
103
- collect_inputs?: Action.CollectInputs;
104
-
105
- /**
106
- * Represents a reader action to collect a payment method
107
- */
108
- collect_payment_method?: Action.CollectPaymentMethod;
109
-
110
- /**
111
- * Represents a reader action to confirm a payment
112
- */
113
- confirm_payment_intent?: Action.ConfirmPaymentIntent;
114
-
115
100
  /**
116
101
  * Failure code, only set if status is `failed`.
117
102
  */
@@ -154,262 +139,6 @@ declare module 'stripe' {
154
139
  }
155
140
 
156
141
  namespace Action {
157
- interface CollectInputs {
158
- /**
159
- * List of inputs to be collected.
160
- */
161
- inputs: Array<CollectInputs.Input>;
162
-
163
- /**
164
- * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
165
- */
166
- metadata: Stripe.Metadata | null;
167
- }
168
-
169
- namespace CollectInputs {
170
- interface Input {
171
- /**
172
- * Default text of input being collected.
173
- */
174
- custom_text: Input.CustomText | null;
175
-
176
- /**
177
- * Information about a email being collected using a reader
178
- */
179
- email?: Input.Email;
180
-
181
- /**
182
- * Information about a number being collected using a reader
183
- */
184
- numeric?: Input.Numeric;
185
-
186
- /**
187
- * Information about a phone number being collected using a reader
188
- */
189
- phone?: Input.Phone;
190
-
191
- /**
192
- * Indicate that this input is required, disabling the skip button.
193
- */
194
- required: boolean | null;
195
-
196
- /**
197
- * Information about a selection being collected using a reader
198
- */
199
- selection?: Input.Selection;
200
-
201
- /**
202
- * Information about a signature being collected using a reader
203
- */
204
- signature?: Input.Signature;
205
-
206
- /**
207
- * Indicate that this input was skipped by the user.
208
- */
209
- skipped?: boolean;
210
-
211
- /**
212
- * Information about text being collected using a reader
213
- */
214
- text?: Input.Text;
215
-
216
- /**
217
- * List of toggles being collected. Values are present if collection is complete.
218
- */
219
- toggles: Array<Input.Toggle> | null;
220
-
221
- /**
222
- * Type of input being collected.
223
- */
224
- type: Input.Type;
225
- }
226
-
227
- namespace Input {
228
- interface CustomText {
229
- /**
230
- * Customize the default description for this input
231
- */
232
- description: string | null;
233
-
234
- /**
235
- * Customize the default label for this input's skip button
236
- */
237
- skip_button: string | null;
238
-
239
- /**
240
- * Customize the default label for this input's submit button
241
- */
242
- submit_button: string | null;
243
-
244
- /**
245
- * Customize the default title for this input
246
- */
247
- title: string | null;
248
- }
249
-
250
- interface Email {
251
- /**
252
- * The collected email address
253
- */
254
- value: string | null;
255
- }
256
-
257
- interface Numeric {
258
- /**
259
- * The collected number
260
- */
261
- value: string | null;
262
- }
263
-
264
- interface Phone {
265
- /**
266
- * The collected phone number
267
- */
268
- value: string | null;
269
- }
270
-
271
- interface Selection {
272
- /**
273
- * List of possible choices to be selected
274
- */
275
- choices: Array<Selection.Choice>;
276
-
277
- /**
278
- * The value of the selected choice
279
- */
280
- value: string | null;
281
- }
282
-
283
- namespace Selection {
284
- interface Choice {
285
- /**
286
- * The button style for the choice
287
- */
288
- style: Choice.Style | null;
289
-
290
- /**
291
- * A value to be selected
292
- */
293
- value: string;
294
- }
295
-
296
- namespace Choice {
297
- type Style = 'primary' | 'secondary';
298
- }
299
- }
300
-
301
- interface Signature {
302
- /**
303
- * The File ID of a collected signature image
304
- */
305
- value: string | null;
306
- }
307
-
308
- interface Text {
309
- /**
310
- * The collected text value
311
- */
312
- value: string | null;
313
- }
314
-
315
- interface Toggle {
316
- /**
317
- * The toggle's default value
318
- */
319
- default_value: Toggle.DefaultValue | null;
320
-
321
- /**
322
- * The toggle's description text
323
- */
324
- description: string | null;
325
-
326
- /**
327
- * The toggle's title text
328
- */
329
- title: string | null;
330
-
331
- /**
332
- * The toggle's collected value
333
- */
334
- value: Toggle.Value | null;
335
- }
336
-
337
- namespace Toggle {
338
- type DefaultValue = 'disabled' | 'enabled';
339
-
340
- type Value = 'disabled' | 'enabled';
341
- }
342
-
343
- type Type =
344
- | 'email'
345
- | 'numeric'
346
- | 'phone'
347
- | 'selection'
348
- | 'signature'
349
- | 'text';
350
- }
351
- }
352
-
353
- interface CollectPaymentMethod {
354
- /**
355
- * Represents a per-transaction override of a reader configuration
356
- */
357
- collect_config?: CollectPaymentMethod.CollectConfig;
358
-
359
- /**
360
- * Most recent PaymentIntent processed by the reader.
361
- */
362
- payment_intent: string | Stripe.PaymentIntent;
363
-
364
- /**
365
- * PaymentMethod objects represent your customer's payment instruments.
366
- * You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to
367
- * Customer objects to store instrument details for future payments.
368
- *
369
- * Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).
370
- */
371
- payment_method?: Stripe.PaymentMethod;
372
-
373
- stripe_account?: string;
374
- }
375
-
376
- namespace CollectPaymentMethod {
377
- interface CollectConfig {
378
- /**
379
- * Enable customer initiated cancellation when processing this payment.
380
- */
381
- enable_customer_cancellation?: boolean;
382
-
383
- /**
384
- * Override showing a tipping selection screen on this transaction.
385
- */
386
- skip_tipping?: boolean;
387
-
388
- /**
389
- * Represents a per-transaction tipping configuration
390
- */
391
- tipping?: CollectConfig.Tipping;
392
- }
393
-
394
- namespace CollectConfig {
395
- interface Tipping {
396
- /**
397
- * Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
398
- */
399
- amount_eligible?: number;
400
- }
401
- }
402
- }
403
-
404
- interface ConfirmPaymentIntent {
405
- /**
406
- * Most recent PaymentIntent processed by the reader.
407
- */
408
- payment_intent: string | Stripe.PaymentIntent;
409
-
410
- stripe_account?: string;
411
- }
412
-
413
142
  interface ProcessPaymentIntent {
414
143
  /**
415
144
  * Most recent PaymentIntent processed by the reader.
@@ -420,8 +149,6 @@ declare module 'stripe' {
420
149
  * Represents a per-transaction override of a reader configuration
421
150
  */
422
151
  process_config?: ProcessPaymentIntent.ProcessConfig;
423
-
424
- stripe_account?: string;
425
152
  }
426
153
 
427
154
  namespace ProcessPaymentIntent {
@@ -523,8 +250,6 @@ declare module 'stripe' {
523
250
  * Boolean indicating whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount). A transfer can be reversed only by the application that created the charge.
524
251
  */
525
252
  reverse_transfer?: boolean;
526
-
527
- stripe_account?: string;
528
253
  }
529
254
 
530
255
  namespace RefundPayment {
@@ -596,9 +321,6 @@ declare module 'stripe' {
596
321
  type Status = 'failed' | 'in_progress' | 'succeeded';
597
322
 
598
323
  type Type =
599
- | 'collect_inputs'
600
- | 'collect_payment_method'
601
- | 'confirm_payment_intent'
602
324
  | 'process_payment_intent'
603
325
  | 'process_setup_intent'
604
326
  | 'refund_payment'
@@ -104,187 +104,6 @@ declare module 'stripe' {
104
104
  expand?: Array<string>;
105
105
  }
106
106
 
107
- interface ReaderCollectInputsParams {
108
- /**
109
- * List of inputs to be collected using the Reader
110
- */
111
- inputs: Array<ReaderCollectInputsParams.Input>;
112
-
113
- /**
114
- * Specifies which fields in the response should be expanded.
115
- */
116
- expand?: Array<string>;
117
-
118
- /**
119
- * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
120
- */
121
- metadata?: Stripe.MetadataParam;
122
- }
123
-
124
- namespace ReaderCollectInputsParams {
125
- interface Input {
126
- /**
127
- * Customize the text which will be displayed while collecting this input
128
- */
129
- custom_text: Input.CustomText;
130
-
131
- /**
132
- * Indicate that this input is required, disabling the skip button
133
- */
134
- required?: boolean;
135
-
136
- /**
137
- * Options for the `selection` input
138
- */
139
- selection?: Input.Selection;
140
-
141
- /**
142
- * List of toggles to be displayed and customization for the toggles
143
- */
144
- toggles?: Array<Input.Toggle>;
145
-
146
- /**
147
- * The type of input to collect
148
- */
149
- type: Input.Type;
150
- }
151
-
152
- namespace Input {
153
- interface CustomText {
154
- /**
155
- * The description which will be displayed when collecting this input
156
- */
157
- description?: string;
158
-
159
- /**
160
- * The skip button text
161
- */
162
- skip_button?: string;
163
-
164
- /**
165
- * The submit button text
166
- */
167
- submit_button?: string;
168
-
169
- /**
170
- * The title which will be displayed when collecting this input
171
- */
172
- title: string;
173
- }
174
-
175
- interface Selection {
176
- /**
177
- * List of choices for the `selection` input
178
- */
179
- choices: Array<Selection.Choice>;
180
- }
181
-
182
- namespace Selection {
183
- interface Choice {
184
- /**
185
- * The style of the button which will be shown for this choice
186
- */
187
- style?: Choice.Style;
188
-
189
- /**
190
- * The text which will be shown on the button for this choice
191
- */
192
- value: string;
193
- }
194
-
195
- namespace Choice {
196
- type Style = 'primary' | 'secondary';
197
- }
198
- }
199
-
200
- interface Toggle {
201
- /**
202
- * The default value of the toggle
203
- */
204
- default_value?: Toggle.DefaultValue;
205
-
206
- /**
207
- * The description which will be displayed for the toggle
208
- */
209
- description?: string;
210
-
211
- /**
212
- * The title which will be displayed for the toggle
213
- */
214
- title?: string;
215
- }
216
-
217
- namespace Toggle {
218
- type DefaultValue = 'disabled' | 'enabled';
219
- }
220
-
221
- type Type =
222
- | 'email'
223
- | 'numeric'
224
- | 'phone'
225
- | 'selection'
226
- | 'signature'
227
- | 'text';
228
- }
229
- }
230
-
231
- interface ReaderCollectPaymentMethodParams {
232
- /**
233
- * PaymentIntent ID
234
- */
235
- payment_intent: string;
236
-
237
- /**
238
- * Configuration overrides
239
- */
240
- collect_config?: ReaderCollectPaymentMethodParams.CollectConfig;
241
-
242
- /**
243
- * Specifies which fields in the response should be expanded.
244
- */
245
- expand?: Array<string>;
246
- }
247
-
248
- namespace ReaderCollectPaymentMethodParams {
249
- interface CollectConfig {
250
- /**
251
- * Enables cancel button on transaction screens.
252
- */
253
- enable_customer_cancellation?: boolean;
254
-
255
- /**
256
- * Override showing a tipping selection screen on this transaction.
257
- */
258
- skip_tipping?: boolean;
259
-
260
- /**
261
- * Tipping configuration for this transaction.
262
- */
263
- tipping?: CollectConfig.Tipping;
264
- }
265
-
266
- namespace CollectConfig {
267
- interface Tipping {
268
- /**
269
- * Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
270
- */
271
- amount_eligible?: number;
272
- }
273
- }
274
- }
275
-
276
- interface ReaderConfirmPaymentIntentParams {
277
- /**
278
- * PaymentIntent ID
279
- */
280
- payment_intent: string;
281
-
282
- /**
283
- * Specifies which fields in the response should be expanded.
284
- */
285
- expand?: Array<string>;
286
- }
287
-
288
107
  interface ReaderProcessPaymentIntentParams {
289
108
  /**
290
109
  * PaymentIntent ID
@@ -332,14 +151,14 @@ declare module 'stripe' {
332
151
 
333
152
  interface ReaderProcessSetupIntentParams {
334
153
  /**
335
- * Customer Consent Collected
154
+ * SetupIntent ID
336
155
  */
337
- customer_consent_collected: boolean;
156
+ setup_intent: string;
338
157
 
339
158
  /**
340
- * SetupIntent ID
159
+ * Customer Consent Collected
341
160
  */
342
- setup_intent: string;
161
+ customer_consent_collected?: boolean;
343
162
 
344
163
  /**
345
164
  * Specifies which fields in the response should be expanded.
@@ -550,33 +369,6 @@ declare module 'stripe' {
550
369
  options?: RequestOptions
551
370
  ): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
552
371
 
553
- /**
554
- * Initiates an input collection flow on a Reader.
555
- */
556
- collectInputs(
557
- id: string,
558
- params: ReaderCollectInputsParams,
559
- options?: RequestOptions
560
- ): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
561
-
562
- /**
563
- * Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation.
564
- */
565
- collectPaymentMethod(
566
- id: string,
567
- params: ReaderCollectPaymentMethodParams,
568
- options?: RequestOptions
569
- ): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
570
-
571
- /**
572
- * Finalizes a payment on a Reader.
573
- */
574
- confirmPaymentIntent(
575
- id: string,
576
- params: ReaderConfirmPaymentIntentParams,
577
- options?: RequestOptions
578
- ): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
579
-
580
372
  /**
581
373
  * Initiates a payment flow on a Reader.
582
374
  */
@@ -154,11 +154,6 @@ declare module 'stripe' {
154
154
  */
155
155
  link?: PaymentMethodData.Link;
156
156
 
157
- /**
158
- * If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
159
- */
160
- mb_way?: PaymentMethodData.MbWay;
161
-
162
157
  /**
163
158
  * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
164
159
  */
@@ -194,11 +189,6 @@ declare module 'stripe' {
194
189
  */
195
190
  paypal?: PaymentMethodData.Paypal;
196
191
 
197
- /**
198
- * If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
199
- */
200
- payto?: PaymentMethodData.Payto;
201
-
202
192
  /**
203
193
  * If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
204
194
  */
@@ -214,11 +204,6 @@ declare module 'stripe' {
214
204
  */
215
205
  radar_options?: PaymentMethodData.RadarOptions;
216
206
 
217
- /**
218
- * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
219
- */
220
- rechnung?: PaymentMethodData.Rechnung;
221
-
222
207
  /**
223
208
  * If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
224
209
  */
@@ -496,8 +481,6 @@ declare module 'stripe' {
496
481
 
497
482
  interface Link {}
498
483
 
499
- interface MbWay {}
500
-
501
484
  interface Mobilepay {}
502
485
 
503
486
  interface Multibanco {}
@@ -545,23 +528,6 @@ declare module 'stripe' {
545
528
 
546
529
  interface Paypal {}
547
530
 
548
- interface Payto {
549
- /**
550
- * The account number for the bank account.
551
- */
552
- account_number?: string;
553
-
554
- /**
555
- * Bank-State-Branch number of the bank account.
556
- */
557
- bsb_number?: string;
558
-
559
- /**
560
- * The PayID alias for the bank account.
561
- */
562
- pay_id?: string;
563
- }
564
-
565
531
  interface Pix {}
566
532
 
567
533
  interface Promptpay {}
@@ -573,32 +539,6 @@ declare module 'stripe' {
573
539
  session?: string;
574
540
  }
575
541
 
576
- interface Rechnung {
577
- /**
578
- * Customer's date of birth
579
- */
580
- dob: Rechnung.Dob;
581
- }
582
-
583
- namespace Rechnung {
584
- interface Dob {
585
- /**
586
- * The day of birth, between 1 and 31.
587
- */
588
- day: number;
589
-
590
- /**
591
- * The month of birth, between 1 and 12.
592
- */
593
- month: number;
594
-
595
- /**
596
- * The four-digit year of birth.
597
- */
598
- year: number;
599
- }
600
- }
601
-
602
542
  interface RevolutPay {}
603
543
 
604
544
  interface SepaDebit {
@@ -644,17 +584,14 @@ declare module 'stripe' {
644
584
  | 'klarna'
645
585
  | 'konbini'
646
586
  | 'link'
647
- | 'mb_way'
648
587
  | 'mobilepay'
649
588
  | 'multibanco'
650
589
  | 'oxxo'
651
590
  | 'p24'
652
591
  | 'paynow'
653
592
  | 'paypal'
654
- | 'payto'
655
593
  | 'pix'
656
594
  | 'promptpay'
657
- | 'rechnung'
658
595
  | 'revolut_pay'
659
596
  | 'sepa_debit'
660
597
  | 'sofort'
@@ -73,10 +73,25 @@ declare module 'stripe' {
73
73
  * The status of the Test Clock.
74
74
  */
75
75
  status: TestClock.Status;
76
+
77
+ status_details?: TestClock.StatusDetails;
76
78
  }
77
79
 
78
80
  namespace TestClock {
79
81
  type Status = 'advancing' | 'internal_failure' | 'ready';
82
+
83
+ interface StatusDetails {
84
+ advancing?: StatusDetails.Advancing;
85
+ }
86
+
87
+ namespace StatusDetails {
88
+ interface Advancing {
89
+ /**
90
+ * The `frozen_time` that the Test Clock is advancing towards.
91
+ */
92
+ target_frozen_time: number;
93
+ }
94
+ }
80
95
  }
81
96
  }
82
97
  }