stripe 8.213.0 → 8.214.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 8.214.0 - 2022-03-30
4
+ * [#1386](https://github.com/stripe/stripe-node/pull/1386) API Updates
5
+ * Add support for `cancel_action`, `process_payment_intent`, `process_setup_intent`, and `set_reader_display` methods on resource `Terminal.Reader`
6
+ * Change `Charge.failure_balance_transaction`, `Invoice.payment_settings.payment_method_options.us_bank_account`, `PaymentIntent.next_action.verify_with_microdeposits.microdeposit_type`, `SetupIntent.next_action.verify_with_microdeposits.microdeposit_type`, and `Subscription.payment_settings.payment_method_options.us_bank_account` to be required
7
+ * Add support for `action` on `Terminal.Reader`
8
+
3
9
  ## 8.213.0 - 2022-03-28
4
10
  * [#1383](https://github.com/stripe/stripe-node/pull/1383) API Updates
5
11
  * Add support for Search API
package/VERSION CHANGED
@@ -1 +1 @@
1
- 8.213.0
1
+ 8.214.0
@@ -33,4 +33,24 @@ module.exports = StripeResource.extend({
33
33
  method: 'DELETE',
34
34
  path: '/{reader}',
35
35
  }),
36
+
37
+ cancelAction: stripeMethod({
38
+ method: 'POST',
39
+ path: '/{reader}/cancel_action',
40
+ }),
41
+
42
+ processPaymentIntent: stripeMethod({
43
+ method: 'POST',
44
+ path: '/{reader}/process_payment_intent',
45
+ }),
46
+
47
+ processSetupIntent: stripeMethod({
48
+ method: 'POST',
49
+ path: '/{reader}/process_setup_intent',
50
+ }),
51
+
52
+ setReaderDisplay: stripeMethod({
53
+ method: 'POST',
54
+ path: '/{reader}/set_reader_display',
55
+ }),
36
56
  });
@@ -0,0 +1,15 @@
1
+ // File generated from our OpenAPI spec
2
+
3
+ 'use strict';
4
+
5
+ const StripeResource = require('../../../StripeResource');
6
+ const stripeMethod = StripeResource.method;
7
+
8
+ module.exports = StripeResource.extend({
9
+ path: 'test_helpers/terminal/readers',
10
+
11
+ presentPaymentMethod: stripeMethod({
12
+ method: 'POST',
13
+ path: '/{reader}/present_payment_method',
14
+ }),
15
+ });
package/lib/resources.js CHANGED
@@ -93,5 +93,8 @@ module.exports = {
93
93
  }),
94
94
  TestHelpers: resourceNamespace('testHelpers', {
95
95
  TestClocks: require('./resources/TestHelpers/TestClocks'),
96
+ Terminal: resourceNamespace('terminal', {
97
+ Readers: require('./resources/TestHelpers/Terminal/Readers'),
98
+ }),
96
99
  }),
97
100
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stripe",
3
- "version": "8.213.0",
3
+ "version": "8.214.0",
4
4
  "description": "Stripe API wrapper",
5
5
  "keywords": [
6
6
  "stripe",
@@ -108,7 +108,7 @@ declare module 'stripe' {
108
108
  /**
109
109
  * ID of the balance transaction that describes the reversal of the balance on your account due to payment failure.
110
110
  */
111
- failure_balance_transaction?: string | Stripe.BalanceTransaction | null;
111
+ failure_balance_transaction: string | Stripe.BalanceTransaction | null;
112
112
 
113
113
  /**
114
114
  * Error code explaining reason for charge failure if available (see [the errors section](https://stripe.com/docs/api#errors) for a list of codes).
@@ -2136,7 +2136,10 @@ declare module 'stripe' {
2136
2136
  ): Promise<Stripe.Response<Stripe.Charge>>;
2137
2137
 
2138
2138
  /**
2139
- * Search for charges you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language)
2139
+ * Search for charges you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language).
2140
+ * Don't use search in read-after-write flows where strict consistency is necessary. Under normal operating
2141
+ * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up
2142
+ * to an hour behind during outages. Search functionality is not available to merchants in India.
2140
2143
  */
2141
2144
  search(
2142
2145
  params: ChargeSearchParams,
@@ -1310,7 +1310,7 @@ declare module 'stripe' {
1310
1310
  metadata?: Stripe.MetadataParam;
1311
1311
 
1312
1312
  /**
1313
- * The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions.
1313
+ * The product's name, meant to be displayable to the customer.
1314
1314
  */
1315
1315
  name: string;
1316
1316
 
@@ -827,7 +827,10 @@ declare module 'stripe' {
827
827
  ): ApiListPromise<Stripe.PaymentMethod>;
828
828
 
829
829
  /**
830
- * Search for customers you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language)
830
+ * Search for customers you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language).
831
+ * Don't use search in read-after-write flows where strict consistency is necessary. Under normal operating
832
+ * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up
833
+ * to an hour behind during outages. Search functionality is not available to merchants in India.
831
834
  */
832
835
  search(
833
836
  params: CustomerSearchParams,
@@ -620,7 +620,7 @@ declare module 'stripe' {
620
620
  /**
621
621
  * If paying by `us_bank_account`, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice's PaymentIntent.
622
622
  */
623
- us_bank_account?: PaymentMethodOptions.UsBankAccount | null;
623
+ us_bank_account: PaymentMethodOptions.UsBankAccount | null;
624
624
  }
625
625
 
626
626
  namespace PaymentMethodOptions {
@@ -2163,7 +2163,10 @@ declare module 'stripe' {
2163
2163
  ): Promise<Stripe.Response<Stripe.Invoice>>;
2164
2164
 
2165
2165
  /**
2166
- * Search for invoices you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language)
2166
+ * Search for invoices you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language).
2167
+ * Don't use search in read-after-write flows where strict consistency is necessary. Under normal operating
2168
+ * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up
2169
+ * to an hour behind during outages. Search functionality is not available to merchants in India.
2167
2170
  */
2168
2171
  search(
2169
2172
  params: InvoiceSearchParams,
@@ -577,7 +577,7 @@ declare module 'stripe' {
577
577
  /**
578
578
  * The type of the microdeposit sent to the customer. Used to distinguish between different verification methods.
579
579
  */
580
- microdeposit_type?: VerifyWithMicrodeposits.MicrodepositType | null;
580
+ microdeposit_type: VerifyWithMicrodeposits.MicrodepositType | null;
581
581
  }
582
582
 
583
583
  namespace VerifyWithMicrodeposits {
@@ -5994,7 +5994,10 @@ declare module 'stripe' {
5994
5994
  ): Promise<Stripe.Response<Stripe.PaymentIntent>>;
5995
5995
 
5996
5996
  /**
5997
- * Search for PaymentIntents you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language)
5997
+ * Search for PaymentIntents you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language).
5998
+ * Don't use search in read-after-write flows where strict consistency is necessary. Under normal operating
5999
+ * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up
6000
+ * to an hour behind during outages. Search functionality is not available to merchants in India.
5998
6001
  */
5999
6002
  search(
6000
6003
  params: PaymentIntentSearchParams,
@@ -297,7 +297,7 @@ declare module 'stripe' {
297
297
  metadata?: Stripe.MetadataParam;
298
298
 
299
299
  /**
300
- * The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions.
300
+ * The product's name, meant to be displayable to the customer.
301
301
  */
302
302
  name: string;
303
303
 
@@ -323,7 +323,7 @@ declare module 'stripe' {
323
323
  metadata?: Stripe.MetadataParam;
324
324
 
325
325
  /**
326
- * The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions.
326
+ * The product's name, meant to be displayable to the customer.
327
327
  */
328
328
  name: string;
329
329
 
@@ -619,7 +619,10 @@ declare module 'stripe' {
619
619
  list(options?: RequestOptions): ApiListPromise<Stripe.Price>;
620
620
 
621
621
  /**
622
- * Search for prices you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language)
622
+ * Search for prices you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language).
623
+ * Don't use search in read-after-write flows where strict consistency is necessary. Under normal operating
624
+ * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up
625
+ * to an hour behind during outages. Search functionality is not available to merchants in India.
623
626
  */
624
627
  search(
625
628
  params: PriceSearchParams,
@@ -64,7 +64,7 @@ declare module 'stripe' {
64
64
  metadata: Stripe.Metadata;
65
65
 
66
66
  /**
67
- * The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions.
67
+ * The product's name, meant to be displayable to the customer.
68
68
  */
69
69
  name: string;
70
70
 
@@ -157,7 +157,7 @@ declare module 'stripe' {
157
157
 
158
158
  interface ProductCreateParams {
159
159
  /**
160
- * The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions.
160
+ * The product's name, meant to be displayable to the customer.
161
161
  */
162
162
  name: string;
163
163
 
@@ -320,7 +320,7 @@ declare module 'stripe' {
320
320
  metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
321
321
 
322
322
  /**
323
- * The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions.
323
+ * The product's name, meant to be displayable to the customer.
324
324
  */
325
325
  name?: string;
326
326
 
@@ -503,7 +503,10 @@ declare module 'stripe' {
503
503
  ): Promise<Stripe.Response<Stripe.DeletedProduct>>;
504
504
 
505
505
  /**
506
- * Search for products you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language)
506
+ * Search for products you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language).
507
+ * Don't use search in read-after-write flows where strict consistency is necessary. Under normal operating
508
+ * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up
509
+ * to an hour behind during outages. Search functionality is not available to merchants in India.
507
510
  */
508
511
  search(
509
512
  params: ProductSearchParams,
@@ -271,7 +271,7 @@ declare module 'stripe' {
271
271
  /**
272
272
  * The type of the microdeposit sent to the customer. Used to distinguish between different verification methods.
273
273
  */
274
- microdeposit_type?: VerifyWithMicrodeposits.MicrodepositType | null;
274
+ microdeposit_type: VerifyWithMicrodeposits.MicrodepositType | null;
275
275
  }
276
276
 
277
277
  namespace VerifyWithMicrodeposits {
@@ -272,7 +272,7 @@ declare module 'stripe' {
272
272
  /**
273
273
  * This sub-hash contains details about the ACH direct debit payment method options to pass to invoices created by the subscription.
274
274
  */
275
- us_bank_account?: PaymentMethodOptions.UsBankAccount | null;
275
+ us_bank_account: PaymentMethodOptions.UsBankAccount | null;
276
276
  }
277
277
 
278
278
  namespace PaymentMethodOptions {
@@ -1705,7 +1705,10 @@ declare module 'stripe' {
1705
1705
  ): Promise<Stripe.Response<Stripe.DeletedDiscount>>;
1706
1706
 
1707
1707
  /**
1708
- * Search for subscriptions you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language)
1708
+ * Search for subscriptions you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language).
1709
+ * Don't use search in read-after-write flows where strict consistency is necessary. Under normal operating
1710
+ * conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up
1711
+ * to an hour behind during outages. Search functionality is not available to merchants in India.
1709
1712
  */
1710
1713
  search(
1711
1714
  params: SubscriptionSearchParams,
@@ -17,6 +17,11 @@ declare module 'stripe' {
17
17
  */
18
18
  object: 'terminal.reader';
19
19
 
20
+ /**
21
+ * The most recent action performed by the reader.
22
+ */
23
+ action?: Reader.Action | null;
24
+
20
25
  deleted?: void;
21
26
 
22
27
  /**
@@ -66,6 +71,123 @@ declare module 'stripe' {
66
71
  }
67
72
 
68
73
  namespace Reader {
74
+ interface Action {
75
+ /**
76
+ * Failure code, only set if status is `failed`.
77
+ */
78
+ failure_code: string | null;
79
+
80
+ /**
81
+ * Detailed failure message, only set if status is `failed`.
82
+ */
83
+ failure_message: string | null;
84
+
85
+ /**
86
+ * Represents a reader action to process a payment intent
87
+ */
88
+ process_payment_intent?: Action.ProcessPaymentIntent;
89
+
90
+ /**
91
+ * Represents a reader action to process a setup intent
92
+ */
93
+ process_setup_intent?: Action.ProcessSetupIntent;
94
+
95
+ /**
96
+ * Represents a reader action to set the reader display
97
+ */
98
+ set_reader_display?: Action.SetReaderDisplay;
99
+
100
+ /**
101
+ * Status of the action performed by the reader.
102
+ */
103
+ status: Action.Status;
104
+
105
+ /**
106
+ * Type of action performed by the reader.
107
+ */
108
+ type: Action.Type;
109
+ }
110
+
111
+ namespace Action {
112
+ interface ProcessPaymentIntent {
113
+ /**
114
+ * Most recent PaymentIntent processed by the reader.
115
+ */
116
+ payment_intent: string | Stripe.PaymentIntent;
117
+ }
118
+
119
+ interface ProcessSetupIntent {
120
+ generated_card?: string;
121
+
122
+ /**
123
+ * Most recent SetupIntent processed by the reader.
124
+ */
125
+ setup_intent: string | Stripe.SetupIntent;
126
+ }
127
+
128
+ interface SetReaderDisplay {
129
+ /**
130
+ * Cart object to be displayed by the reader.
131
+ */
132
+ cart: SetReaderDisplay.Cart | null;
133
+
134
+ /**
135
+ * Type of information to be displayed by the reader.
136
+ */
137
+ type: 'cart';
138
+ }
139
+
140
+ namespace SetReaderDisplay {
141
+ interface Cart {
142
+ /**
143
+ * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
144
+ */
145
+ currency: string;
146
+
147
+ /**
148
+ * List of line items in the cart.
149
+ */
150
+ line_items: Array<Cart.LineItem>;
151
+
152
+ /**
153
+ * Tax amount for the entire cart. A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
154
+ */
155
+ tax: number | null;
156
+
157
+ /**
158
+ * Total amount for the entire cart, including tax. A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
159
+ */
160
+ total: number;
161
+ }
162
+
163
+ namespace Cart {
164
+ interface LineItem {
165
+ /**
166
+ * The amount of the line item. A positive integer in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
167
+ */
168
+ amount: number;
169
+
170
+ /**
171
+ * Description of the line item.
172
+ */
173
+ description: string;
174
+
175
+ /**
176
+ * The quantity of the line item.
177
+ */
178
+ quantity: number;
179
+ }
180
+ }
181
+ }
182
+
183
+ type Status = 'failed' | 'in_progress' | 'succeeded';
184
+
185
+ type Type =
186
+ | 'process_payment_intent'
187
+ | 'process_setup_intent'
188
+ | 'set_reader_display';
189
+ }
190
+
69
191
  type DeviceType =
70
192
  | 'bbpos_chipper2x'
71
193
  | 'bbpos_wisepad3'
@@ -180,6 +302,116 @@ declare module 'stripe' {
180
302
 
181
303
  interface ReaderDeleteParams {}
182
304
 
305
+ interface ReaderCancelActionParams {
306
+ /**
307
+ * Specifies which fields in the response should be expanded.
308
+ */
309
+ expand?: Array<string>;
310
+ }
311
+
312
+ interface ReaderProcessPaymentIntentParams {
313
+ /**
314
+ * PaymentIntent ID
315
+ */
316
+ payment_intent: string;
317
+
318
+ /**
319
+ * Specifies which fields in the response should be expanded.
320
+ */
321
+ expand?: Array<string>;
322
+
323
+ /**
324
+ * Configuration overrides
325
+ */
326
+ process_config?: ReaderProcessPaymentIntentParams.ProcessConfig;
327
+ }
328
+
329
+ namespace ReaderProcessPaymentIntentParams {
330
+ interface ProcessConfig {
331
+ /**
332
+ * Override showing a tipping selection screen on this transaction.
333
+ */
334
+ skip_tipping?: boolean;
335
+ }
336
+ }
337
+
338
+ interface ReaderProcessSetupIntentParams {
339
+ /**
340
+ * Customer Consent Collected
341
+ */
342
+ customer_consent_collected: boolean;
343
+
344
+ /**
345
+ * SetupIntent ID
346
+ */
347
+ setup_intent: string;
348
+
349
+ /**
350
+ * Specifies which fields in the response should be expanded.
351
+ */
352
+ expand?: Array<string>;
353
+ }
354
+
355
+ interface ReaderSetReaderDisplayParams {
356
+ /**
357
+ * Type
358
+ */
359
+ type: 'cart';
360
+
361
+ /**
362
+ * Cart
363
+ */
364
+ cart?: ReaderSetReaderDisplayParams.Cart;
365
+
366
+ /**
367
+ * Specifies which fields in the response should be expanded.
368
+ */
369
+ expand?: Array<string>;
370
+ }
371
+
372
+ namespace ReaderSetReaderDisplayParams {
373
+ interface Cart {
374
+ /**
375
+ * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
376
+ */
377
+ currency: string;
378
+
379
+ /**
380
+ * Array of line items that were purchased.
381
+ */
382
+ line_items: Array<Cart.LineItem>;
383
+
384
+ /**
385
+ * The amount of tax in cents.
386
+ */
387
+ tax?: number;
388
+
389
+ /**
390
+ * Total balance of cart due in cents.
391
+ */
392
+ total: number;
393
+ }
394
+
395
+ namespace Cart {
396
+ interface LineItem {
397
+ /**
398
+ * The price of the item in cents.
399
+ */
400
+ amount: number;
401
+
402
+ /**
403
+ * The description or name of the item.
404
+ */
405
+ description: string;
406
+
407
+ /**
408
+ * The quantity of the line item being purchased.
409
+ */
410
+ quantity: number;
411
+ }
412
+ }
413
+ }
414
+
183
415
  class ReadersResource {
184
416
  /**
185
417
  * Creates a new Reader object.
@@ -244,6 +476,46 @@ declare module 'stripe' {
244
476
  id: string,
245
477
  options?: RequestOptions
246
478
  ): Promise<Stripe.Response<Stripe.Terminal.DeletedReader>>;
479
+
480
+ /**
481
+ * Cancels the current reader action
482
+ */
483
+ cancelAction(
484
+ id: string,
485
+ params?: ReaderCancelActionParams,
486
+ options?: RequestOptions
487
+ ): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
488
+ cancelAction(
489
+ id: string,
490
+ options?: RequestOptions
491
+ ): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
492
+
493
+ /**
494
+ * Initiates a payment flow on a Reader
495
+ */
496
+ processPaymentIntent(
497
+ id: string,
498
+ params: ReaderProcessPaymentIntentParams,
499
+ options?: RequestOptions
500
+ ): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
501
+
502
+ /**
503
+ * Initiates a setup intent flow on a Reader
504
+ */
505
+ processSetupIntent(
506
+ id: string,
507
+ params: ReaderProcessSetupIntentParams,
508
+ options?: RequestOptions
509
+ ): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
510
+
511
+ /**
512
+ * Sets reader display
513
+ */
514
+ setReaderDisplay(
515
+ id: string,
516
+ params: ReaderSetReaderDisplayParams,
517
+ options?: RequestOptions
518
+ ): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
247
519
  }
248
520
  }
249
521
  }
@@ -0,0 +1,52 @@
1
+ // File generated from our OpenAPI spec
2
+
3
+ declare module 'stripe' {
4
+ namespace Stripe {
5
+ namespace TestHelpers {
6
+ namespace Terminal {
7
+ interface ReaderPresentPaymentMethodParams {
8
+ /**
9
+ * Simulated card present data
10
+ */
11
+ card_present?: ReaderPresentPaymentMethodParams.CardPresent;
12
+
13
+ /**
14
+ * Specifies which fields in the response should be expanded.
15
+ */
16
+ expand?: Array<string>;
17
+
18
+ /**
19
+ * Simulated payment type
20
+ */
21
+ type?: 'card_present';
22
+ }
23
+
24
+ namespace ReaderPresentPaymentMethodParams {
25
+ interface CardPresent {
26
+ /**
27
+ * Card Number
28
+ */
29
+ number?: string;
30
+ }
31
+ }
32
+ }
33
+
34
+ namespace Terminal {
35
+ class ReadersResource {
36
+ /**
37
+ * Presents a payment method on a simulated reader. Can be used to simulate accepting a payment, saving a card or refunding a transaction
38
+ */
39
+ presentPaymentMethod(
40
+ id: string,
41
+ params?: ReaderPresentPaymentMethodParams,
42
+ options?: RequestOptions
43
+ ): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
44
+ presentPaymentMethod(
45
+ id: string,
46
+ options?: RequestOptions
47
+ ): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
@@ -97,6 +97,7 @@
97
97
  ///<reference path='./Terminal/ConnectionTokens.d.ts' />
98
98
  ///<reference path='./Terminal/Locations.d.ts' />
99
99
  ///<reference path='./Terminal/Readers.d.ts' />
100
+ ///<reference path='./TestHelpers/Terminal/Readers.d.ts' />
100
101
  ///<reference path='./TestHelpers/TestClocks.d.ts' />
101
102
  ///<reference path='./Tokens.d.ts' />
102
103
  ///<reference path='./Topups.d.ts' />
@@ -213,6 +214,9 @@ declare module 'stripe' {
213
214
  };
214
215
  testHelpers: {
215
216
  testClocks: Stripe.TestHelpers.TestClocksResource;
217
+ terminal: {
218
+ readers: Stripe.TestHelpers.Terminal.ReadersResource;
219
+ };
216
220
  };
217
221
  /**
218
222
  * API Errors