@rebilly/api 0.0.0 → 0.1.1

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.
@@ -0,0 +1,4252 @@
1
+ import { Cashier, ContactObject, CurrencyCode, CustomField, DepositRequest, DepositStrategy, LeadSourceData, PaymentInstructionsInstrument, PaymentInstructionsToken, PostSubscription, PostSubscriptionItemsChange, PostSubscriptionReactivation, ReadyToPay, ReadyToPayMethods, ReadyToPayout, ReadyToPayoutMethods, ResourceCustomFields, RiskMetadata, StorefrontAccount, StorefrontBillingPortal, StorefrontCashier, StorefrontChangeQuote, StorefrontCheckoutForm, StorefrontCustomerJWT, StorefrontInvoice, StorefrontKycDocument, StorefrontKycLivenessSession, StorefrontKycRequest, StorefrontOrder, StorefrontOrderChange, StorefrontOrderPreview, StorefrontPaymentInstrument, StorefrontPayoutRequest, StorefrontPlan, StorefrontProduct, StorefrontPurchase, StorefrontQuote, StorefrontReactivationQuote, StorefrontTransaction, StorefrontTransactionRedirectUrl, StorefrontUpcomingInvoice, Website, WebsiteId } from './storefront-client.schemas.ts';
2
+ export * from './runtime/factory.ts';
3
+ export * from './storefront-client.schemas.ts';
4
+ export type StorefrontGetAccountResult = StorefrontAccount;
5
+ export type StorefrontGetAccountQuery = {
6
+ /**
7
+ * Expands a request to include embedded objects within the `_embedded`
8
+ * property of the response. This field accepts a comma-separated list of objects.
9
+ *
10
+ * For more information, see
11
+ * [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
12
+ */
13
+ expand?: string;
14
+ };
15
+ export type StorefrontGetAccountVariables = {
16
+ query?: StorefrontGetAccountQuery;
17
+ };
18
+ export type StorefrontPatchAccountResult = StorefrontAccount;
19
+ export type StorefrontPatchAccountBody = Omit<StorefrontAccount, "id" | "websiteId" | "username" | "defaultPaymentInstrument" | "isVerified" | "_embedded">;
20
+ export type StorefrontPatchAccountResponseHeaders = {
21
+ rateLimitLimit?: number;
22
+ rateLimitRemaining?: number;
23
+ };
24
+ export type StorefrontPatchAccountVariables = {
25
+ body?: StorefrontPatchAccountBody;
26
+ };
27
+ export type StorefrontPostForgotPasswordResult = void;
28
+ export type StorefrontPostForgotPasswordBody = {
29
+ /**
30
+ * Username of the account to which a verification email is sent.
31
+ */
32
+ username: string;
33
+ };
34
+ export type StorefrontPostForgotPasswordResponseHeaders = {
35
+ rateLimitLimit?: number;
36
+ rateLimitRemaining?: number;
37
+ };
38
+ export type StorefrontPostForgotPasswordVariables = {
39
+ body?: StorefrontPostForgotPasswordBody;
40
+ };
41
+ export type StorefrontPatchAccountPasswordResult = StorefrontAccount;
42
+ export type StorefrontPatchAccountPasswordBody = {
43
+ /**
44
+ * Current password.
45
+ * This value is used to request a password change.
46
+ * @format password
47
+ */
48
+ currentPassword: string;
49
+ /**
50
+ * New password.
51
+ * This value replaces the existing password.
52
+ * @format password
53
+ */
54
+ newPassword: string;
55
+ };
56
+ export type StorefrontPatchAccountPasswordResponseHeaders = {
57
+ rateLimitLimit?: number;
58
+ rateLimitRemaining?: number;
59
+ };
60
+ export type StorefrontPatchAccountPasswordVariables = {
61
+ body?: StorefrontPatchAccountPasswordBody;
62
+ };
63
+ export type StorefrontPostAccountResendVerificationResult = void;
64
+ export type StorefrontPostAccountResendVerificationBody = {
65
+ /**
66
+ * Username of the account to which a verification email is sent.
67
+ */
68
+ username: string;
69
+ };
70
+ export type StorefrontPostAccountResendVerificationResponseHeaders = {
71
+ rateLimitLimit?: number;
72
+ rateLimitRemaining?: number;
73
+ };
74
+ export type StorefrontPostAccountResendVerificationVariables = {
75
+ body?: StorefrontPostAccountResendVerificationBody;
76
+ };
77
+ export type StorefrontPostResetPasswordResult = StorefrontAccount;
78
+ export type StorefrontPostResetPasswordPath = {
79
+ /**
80
+ * Token string.
81
+ */
82
+ token: string;
83
+ };
84
+ export type StorefrontPostResetPasswordBody = {
85
+ /**
86
+ * New user account password.
87
+ */
88
+ newPassword: string;
89
+ };
90
+ export type StorefrontPostResetPasswordResponseHeaders = {
91
+ location?: string;
92
+ rateLimitLimit?: number;
93
+ rateLimitRemaining?: number;
94
+ };
95
+ export type StorefrontPostResetPasswordVariables = {
96
+ path: StorefrontPostResetPasswordPath;
97
+ body?: StorefrontPostResetPasswordBody;
98
+ };
99
+ export type StorefrontPostAccountVerificationResult = void;
100
+ export type StorefrontPostAccountVerificationPath = {
101
+ /**
102
+ * Token string.
103
+ */
104
+ token: string;
105
+ };
106
+ export type StorefrontPostAccountVerificationResponseHeaders = {
107
+ rateLimitLimit?: number;
108
+ rateLimitRemaining?: number;
109
+ };
110
+ export type StorefrontPostAccountVerificationVariables = {
111
+ path: StorefrontPostAccountVerificationPath;
112
+ };
113
+ export type StorefrontGetBillingPortalResult = StorefrontBillingPortal;
114
+ export type StorefrontGetBillingPortalPath = {
115
+ /**
116
+ * Resource slug.
117
+ * @maxLength 100
118
+ * @pattern ^[@~\-\.\w]+$
119
+ */
120
+ slug: string;
121
+ };
122
+ export type StorefrontGetBillingPortalVariables = {
123
+ path: StorefrontGetBillingPortalPath;
124
+ };
125
+ export type StorefrontGetDepositStrategyResult = DepositStrategy;
126
+ export type StorefrontGetDepositStrategyPath = {
127
+ /**
128
+ * ID of the resource.
129
+ * @maxLength 50
130
+ * @pattern ^[@~\-\.\w]+$
131
+ */
132
+ id: string;
133
+ };
134
+ export type StorefrontGetDepositStrategyVariables = {
135
+ path: StorefrontGetDepositStrategyPath;
136
+ };
137
+ export type StorefrontGetDepositRequestResult = DepositRequest;
138
+ export type StorefrontGetDepositRequestPath = {
139
+ /**
140
+ * ID of the resource.
141
+ * @maxLength 50
142
+ * @pattern ^[@~\-\.\w]+$
143
+ */
144
+ id: string;
145
+ };
146
+ export type StorefrontGetDepositRequestQuery = {
147
+ /**
148
+ * Expands a request to include embedded objects within the `_embedded`
149
+ * property of the response. This field accepts a comma-separated list of objects.
150
+ *
151
+ * For more information, see
152
+ * [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
153
+ */
154
+ expand?: string;
155
+ };
156
+ export type StorefrontGetDepositRequestVariables = {
157
+ path: StorefrontGetDepositRequestPath;
158
+ query?: StorefrontGetDepositRequestQuery;
159
+ };
160
+ export type StorefrontGetCashierResult = StorefrontCashier;
161
+ export type StorefrontGetCashierPath = {
162
+ /**
163
+ * ID of the resource.
164
+ * @maxLength 50
165
+ * @pattern ^[@~\-\.\w]+$
166
+ */
167
+ id: string;
168
+ };
169
+ export type StorefrontGetCashierVariables = {
170
+ path: StorefrontGetCashierPath;
171
+ };
172
+ export type StorefrontPostDepositResult = StorefrontTransaction;
173
+ export type StorefrontPostDepositBody = {
174
+ /**
175
+ * ID of the deposit request.
176
+ * The created transaction is based on the properties of this deposit request.
177
+ * @maxLength 50
178
+ */
179
+ depositRequestId: string;
180
+ /**
181
+ * Deposit amount.
182
+ * @format double
183
+ */
184
+ amount: number;
185
+ /**
186
+ * ID of the payment instrument.
187
+ * @maxLength 50
188
+ */
189
+ paymentInstrumentId?: string | null;
190
+ /**
191
+ * ID of the payment token.
192
+ */
193
+ token?: string | null;
194
+ riskMetadata?: RiskMetadata;
195
+ redirectUrl?: StorefrontTransactionRedirectUrl;
196
+ /**
197
+ * ID of the Replay promotion to apply to this deposit.
198
+ * The customer must have an active opt-in for the promotion.
199
+ * If the customer does not have an active opt-in, the deposit completes without the promotion.
200
+ * @minLength 1
201
+ * @maxLength 50
202
+ */
203
+ promotionId?: string;
204
+ };
205
+ export type StorefrontPostDepositResponseHeaders = {
206
+ location?: string;
207
+ rateLimitLimit?: number;
208
+ rateLimitRemaining?: number;
209
+ };
210
+ export type StorefrontPostDepositVariables = {
211
+ body: StorefrontPostDepositBody;
212
+ };
213
+ export type StorefrontGetCheckoutFormResult = StorefrontCheckoutForm;
214
+ export type StorefrontGetCheckoutFormPath = {
215
+ /**
216
+ * ID of the resource.
217
+ * @maxLength 50
218
+ * @pattern ^[@~\-\.\w]+$
219
+ */
220
+ id: string;
221
+ };
222
+ export type StorefrontGetCheckoutFormVariables = {
223
+ path: StorefrontGetCheckoutFormPath;
224
+ };
225
+ export type StorefrontGetCustomFieldCollectionResult = CustomField[];
226
+ export type StorefrontGetCustomFieldCollectionPath = {
227
+ /**
228
+ * Type of resource schema.
229
+ */
230
+ resource: "customers" | "payment-instruments" | "subscriptions" | "transactions";
231
+ };
232
+ export type StorefrontGetCustomFieldCollectionQuery = {
233
+ /**
234
+ * Limit the number of collection items to be returned.
235
+ * Use `0` to return an empty collection and still receive the count of matching items in `Pagination-Total`.
236
+ * @minimum 0
237
+ * @maximum 1000
238
+ */
239
+ limit?: number;
240
+ /**
241
+ * Specifies the starting point within the collection of items to be returned.
242
+ * @minimum 0
243
+ * @maximum 1000
244
+ */
245
+ offset?: number;
246
+ };
247
+ export type StorefrontGetCustomFieldCollectionVariables = {
248
+ path: StorefrontGetCustomFieldCollectionPath;
249
+ query?: StorefrontGetCustomFieldCollectionQuery;
250
+ };
251
+ export type StorefrontGetInvoiceCollectionResult = StorefrontInvoice[];
252
+ export type StorefrontGetInvoiceCollectionQuery = {
253
+ /**
254
+ * Criteria for filtering collection items.
255
+ * This field requires a special format.
256
+ * Use `,` to specify multiple allowed values.
257
+ * Use `;` to specify multiple fields.
258
+ *
259
+ * For more information, see [Search filters](https://www.rebilly.com/docs/dev-docs/search-filters).
260
+ */
261
+ filter?: string;
262
+ /**
263
+ * Sorts and orders the collection of items. To sort in descending
264
+ * order, prefix with `-`. Multiple fields can be sorted by separating each with `,`.
265
+ */
266
+ sort?: string[];
267
+ /**
268
+ * Limit the number of collection items to be returned.
269
+ * Use `0` to return an empty collection and still receive the count of matching items in `Pagination-Total`.
270
+ * @minimum 0
271
+ * @maximum 1000
272
+ */
273
+ limit?: number;
274
+ /**
275
+ * Specifies the starting point within the collection of items to be returned.
276
+ * @minimum 0
277
+ * @maximum 1000
278
+ */
279
+ offset?: number;
280
+ /**
281
+ * Use this field to perform a partial search of text fields.
282
+ */
283
+ q?: string;
284
+ /**
285
+ * Expands a request to include embedded objects within the `_embedded`
286
+ * property of the response. This field accepts a comma-separated list of objects.
287
+ *
288
+ * For more information, see
289
+ * [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
290
+ */
291
+ expand?: string;
292
+ };
293
+ export type StorefrontGetInvoiceCollectionResponseHeaders = {
294
+ paginationTotal?: number;
295
+ paginationLimit?: number;
296
+ paginationOffset?: number;
297
+ };
298
+ export type StorefrontGetInvoiceCollectionVariables = {
299
+ query?: StorefrontGetInvoiceCollectionQuery;
300
+ };
301
+ export type StorefrontGetInvoiceResult = StorefrontInvoice;
302
+ export type StorefrontGetInvoicePath = {
303
+ /**
304
+ * ID of the resource.
305
+ * @maxLength 50
306
+ * @pattern ^[@~\-\.\w]+$
307
+ */
308
+ id: string;
309
+ };
310
+ export type StorefrontGetInvoiceQuery = {
311
+ /**
312
+ * Expands a request to include embedded objects within the `_embedded`
313
+ * property of the response. This field accepts a comma-separated list of objects.
314
+ *
315
+ * For more information, see
316
+ * [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
317
+ */
318
+ expand?: string;
319
+ };
320
+ export type StorefrontGetInvoiceVariables = {
321
+ path: StorefrontGetInvoicePath;
322
+ query?: StorefrontGetInvoiceQuery;
323
+ };
324
+ export type StorefrontPatchInvoiceResult = StorefrontInvoice;
325
+ export type StorefrontPatchInvoicePath = {
326
+ /**
327
+ * ID of the resource.
328
+ * @maxLength 50
329
+ * @pattern ^[@~\-\.\w]+$
330
+ */
331
+ id: string;
332
+ };
333
+ export type StorefrontPatchInvoiceBody = {
334
+ /**
335
+ * Invoice delivery address.
336
+ */
337
+ deliveryAddress?: ContactObject | null;
338
+ /**
339
+ * Invoice billing address.
340
+ */
341
+ billingAddress?: ContactObject | null;
342
+ };
343
+ export type StorefrontPatchInvoiceResponseHeaders = {
344
+ rateLimitLimit?: number;
345
+ rateLimitRemaining?: number;
346
+ };
347
+ export type StorefrontPatchInvoiceVariables = {
348
+ path: StorefrontPatchInvoicePath;
349
+ body: StorefrontPatchInvoiceBody;
350
+ };
351
+ export type StorefrontGetOrderUpcomingInvoiceResult = StorefrontUpcomingInvoice;
352
+ export type StorefrontGetOrderUpcomingInvoicePath = {
353
+ /**
354
+ * ID of the resource.
355
+ * @maxLength 50
356
+ * @pattern ^[@~\-\.\w]+$
357
+ */
358
+ id: string;
359
+ };
360
+ export type StorefrontGetOrderUpcomingInvoiceQuery = {
361
+ /**
362
+ * Expands a request to include embedded objects within the `_embedded`
363
+ * property of the response. This field accepts a comma-separated list of objects.
364
+ *
365
+ * For more information, see
366
+ * [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
367
+ */
368
+ expand?: string;
369
+ };
370
+ export type StorefrontGetOrderUpcomingInvoiceVariables = {
371
+ path: StorefrontGetOrderUpcomingInvoicePath;
372
+ query?: StorefrontGetOrderUpcomingInvoiceQuery;
373
+ };
374
+ export type StorefrontPostKycDocumentResult = StorefrontKycDocument;
375
+ export type StorefrontPostKycDocumentBody = StorefrontKycDocument;
376
+ export type StorefrontPostKycDocumentResponseHeaders = {
377
+ location?: string;
378
+ rateLimitLimit?: number;
379
+ rateLimitRemaining?: number;
380
+ };
381
+ export type StorefrontPostKycDocumentVariables = {
382
+ body: StorefrontPostKycDocumentBody;
383
+ };
384
+ export type StorefrontGetKycDocumentResult = StorefrontKycDocument;
385
+ export type StorefrontGetKycDocumentPath = {
386
+ /**
387
+ * ID of the resource.
388
+ * @maxLength 50
389
+ * @pattern ^[@~\-\.\w]+$
390
+ */
391
+ id: string;
392
+ };
393
+ export type StorefrontGetKycDocumentVariables = {
394
+ path: StorefrontGetKycDocumentPath;
395
+ };
396
+ export type StorefrontPatchKycDocumentResult = StorefrontKycDocument;
397
+ export type StorefrontPatchKycDocumentPath = {
398
+ /**
399
+ * ID of the resource.
400
+ * @maxLength 50
401
+ * @pattern ^[@~\-\.\w]+$
402
+ */
403
+ id: string;
404
+ };
405
+ export type StorefrontPatchKycDocumentBody = StorefrontKycDocument;
406
+ export type StorefrontPatchKycDocumentResponseHeaders = {
407
+ rateLimitLimit?: number;
408
+ rateLimitRemaining?: number;
409
+ };
410
+ export type StorefrontPatchKycDocumentVariables = {
411
+ path: StorefrontPatchKycDocumentPath;
412
+ body: StorefrontPatchKycDocumentBody;
413
+ };
414
+ export type StorefrontGetKycRequestResult = StorefrontKycRequest;
415
+ export type StorefrontGetKycRequestPath = {
416
+ /**
417
+ * ID of the resource.
418
+ * @maxLength 50
419
+ * @pattern ^[@~\-\.\w]+$
420
+ */
421
+ id: string;
422
+ };
423
+ export type StorefrontGetKycRequestQuery = {
424
+ /**
425
+ * Expands a request to include embedded objects within the `_embedded`
426
+ * property of the response. This field accepts a comma-separated list of objects.
427
+ *
428
+ * For more information, see
429
+ * [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
430
+ */
431
+ expand?: string;
432
+ };
433
+ export type StorefrontGetKycRequestVariables = {
434
+ path: StorefrontGetKycRequestPath;
435
+ query?: StorefrontGetKycRequestQuery;
436
+ };
437
+ export type StorefrontPostKycLivenessSessionResult = StorefrontKycLivenessSession;
438
+ export type StorefrontPostKycLivenessSessionBody = {
439
+ /**
440
+ * ID of the KYC request that the liveness session is associated with.
441
+ * @maxLength 50
442
+ */
443
+ kycRequestId: string;
444
+ };
445
+ export type StorefrontPostKycLivenessSessionResponseHeaders = {
446
+ location?: string;
447
+ rateLimitLimit?: number;
448
+ rateLimitRemaining?: number;
449
+ };
450
+ export type StorefrontPostKycLivenessSessionVariables = {
451
+ body: StorefrontPostKycLivenessSessionBody;
452
+ };
453
+ export type StorefrontGetKycLivenessSessionResult = StorefrontKycLivenessSession;
454
+ export type StorefrontGetKycLivenessSessionPath = {
455
+ /**
456
+ * ID of the resource.
457
+ * @maxLength 50
458
+ * @pattern ^[@~\-\.\w]+$
459
+ */
460
+ id: string;
461
+ };
462
+ export type StorefrontGetKycLivenessSessionVariables = {
463
+ path: StorefrontGetKycLivenessSessionPath;
464
+ };
465
+ export type StorefrontPostKycLivenessSessionFinishResult = StorefrontKycLivenessSession;
466
+ export type StorefrontPostKycLivenessSessionFinishPath = {
467
+ /**
468
+ * ID of the resource.
469
+ * @maxLength 50
470
+ * @pattern ^[@~\-\.\w]+$
471
+ */
472
+ id: string;
473
+ };
474
+ export type StorefrontPostKycLivenessSessionFinishResponseHeaders = {
475
+ location?: string;
476
+ rateLimitLimit?: number;
477
+ rateLimitRemaining?: number;
478
+ };
479
+ export type StorefrontPostKycLivenessSessionFinishVariables = {
480
+ path: StorefrontPostKycLivenessSessionFinishPath;
481
+ };
482
+ export type StorefrontPostLoginResult = StorefrontCustomerJWT;
483
+ export type StorefrontPostLoginBody = {
484
+ /**
485
+ * User's username.
486
+ */
487
+ username: string;
488
+ /**
489
+ * User's current password.
490
+ */
491
+ password: string;
492
+ };
493
+ export type StorefrontPostLoginResponseHeaders = {
494
+ location?: string;
495
+ rateLimitLimit?: number;
496
+ rateLimitRemaining?: number;
497
+ };
498
+ export type StorefrontPostLoginVariables = {
499
+ body?: StorefrontPostLoginBody;
500
+ };
501
+ export type StorefrontPostLogoutResult = void;
502
+ export type StorefrontPostLogoutResponseHeaders = {
503
+ rateLimitLimit?: number;
504
+ rateLimitRemaining?: number;
505
+ };
506
+ export type StorefrontGetOrderCollectionResult = StorefrontOrder[];
507
+ export type StorefrontGetOrderCollectionQuery = {
508
+ /**
509
+ * Criteria for filtering collection items.
510
+ * This field requires a special format.
511
+ * Use `,` to specify multiple allowed values.
512
+ * Use `;` to specify multiple fields.
513
+ *
514
+ * For more information, see [Search filters](https://www.rebilly.com/docs/dev-docs/search-filters).
515
+ */
516
+ filter?: string;
517
+ /**
518
+ * Sorts and orders the collection of items. To sort in descending
519
+ * order, prefix with `-`. Multiple fields can be sorted by separating each with `,`.
520
+ */
521
+ sort?: string[];
522
+ /**
523
+ * Limit the number of collection items to be returned.
524
+ * Use `0` to return an empty collection and still receive the count of matching items in `Pagination-Total`.
525
+ * @minimum 0
526
+ * @maximum 1000
527
+ */
528
+ limit?: number;
529
+ /**
530
+ * Specifies the starting point within the collection of items to be returned.
531
+ * @minimum 0
532
+ * @maximum 1000
533
+ */
534
+ offset?: number;
535
+ /**
536
+ * Use this field to perform a partial search of text fields.
537
+ */
538
+ q?: string;
539
+ /**
540
+ * Expands a request to include embedded objects within the `_embedded`
541
+ * property of the response. This field accepts a comma-separated list of objects.
542
+ *
543
+ * For more information, see
544
+ * [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
545
+ */
546
+ expand?: string;
547
+ };
548
+ export type StorefrontGetOrderCollectionResponseHeaders = {
549
+ paginationTotal?: number;
550
+ paginationLimit?: number;
551
+ paginationOffset?: number;
552
+ };
553
+ export type StorefrontGetOrderCollectionVariables = {
554
+ query?: StorefrontGetOrderCollectionQuery;
555
+ };
556
+ export type StorefrontGetOrderResult = StorefrontOrder;
557
+ export type StorefrontGetOrderPath = {
558
+ /**
559
+ * ID of the resource.
560
+ * @maxLength 50
561
+ * @pattern ^[@~\-\.\w]+$
562
+ */
563
+ id: string;
564
+ };
565
+ export type StorefrontGetOrderQuery = {
566
+ /**
567
+ * Expands a request to include embedded objects within the `_embedded`
568
+ * property of the response. This field accepts a comma-separated list of objects.
569
+ *
570
+ * For more information, see
571
+ * [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
572
+ */
573
+ expand?: string;
574
+ };
575
+ export type StorefrontGetOrderVariables = {
576
+ path: StorefrontGetOrderPath;
577
+ query?: StorefrontGetOrderQuery;
578
+ };
579
+ export type StorefrontPatchOrderResult = StorefrontOrder;
580
+ export type StorefrontPatchOrderPath = {
581
+ /**
582
+ * ID of the resource.
583
+ * @maxLength 50
584
+ * @pattern ^[@~\-\.\w]+$
585
+ */
586
+ id: string;
587
+ };
588
+ export type StorefrontPatchOrderBody = {
589
+ /**
590
+ * Specifies if payment attempts are made automatically.
591
+ * If autopay is enabled, the payment is retrieved from the customer on the renewal date using the payment instrument that is set at `paymentInstrumentId`,
592
+ * or the default payment instrument on the subscription.
593
+ */
594
+ autopay?: boolean;
595
+ /**
596
+ * Order delivery address.
597
+ */
598
+ deliveryAddress?: ContactObject | null;
599
+ /**
600
+ * Order billing address.
601
+ */
602
+ billingAddress?: ContactObject | null;
603
+ /**
604
+ * Details of items in the order and corresponding usage limits.
605
+ * @minItems 1
606
+ */
607
+ usageLimits?: {
608
+ /**
609
+ * ID of the subscription item.
610
+ * @maxLength 50
611
+ */
612
+ itemId: string;
613
+ /**
614
+ * Specifies the soft and hard usage limit thresholds for an item with a metered billing plan.
615
+ * This value is ignored when the plan is not metered.
616
+ */
617
+ limits: {
618
+ /**
619
+ * Defines thresholds for notification purposes.
620
+ * For example, to notify the customer that their usage is near the hard limit of their metered billing plan.
621
+ * This notification informs the customer so that they can upgrade their plan before the hard limit is reached.
622
+ * When metered usage equals or exceeds the configured soft limit, the `soft-usage-limit-reached` event is triggered.
623
+ * The quantity limit applies to the larger of the reported and billed quantity.
624
+ * If a minimum billable quantity results in a billed quantity that is higher than the reported quantity, the billed quantity applies to the limit.
625
+ * If a maximum billable quantity results in a billed quantity that is lower than the reported quantity, the reported quantity applies to the limit.
626
+ * The amount limit applies to the billed amount.
627
+ * To notify the customer, a webhook and notification can be configured for this event.
628
+ * This field is useful for accounting and customer success purposes.
629
+ * The usage of metered billing plans can still be reported if the soft limit is reached.
630
+ */
631
+ softLimit?: {
632
+ /**
633
+ * Usage limit quantity.
634
+ * @minimum 0
635
+ */
636
+ quantity?: number;
637
+ /**
638
+ * Usage limit amount in the currency of the order.
639
+ * @minimum 0
640
+ * @format double
641
+ */
642
+ amount?: number;
643
+ } | null;
644
+ /**
645
+ * Defines a limit where the customer can no longer use the service.
646
+ * Hard limits are used in addition to soft limits.
647
+ * When a soft limit is reached,
648
+ * a customer may receive a notification
649
+ * but the service can still be provided up to the hard limit value so that the customer can upgrade their plan.
650
+ * When the reported usage reaches the configured limit,
651
+ * a specific event is triggered.
652
+ * To notify the customer in the merchant system,
653
+ * or block a service,
654
+ * a webhook and notification can be configured for this event.
655
+ * When the total usage reaches the hard limit quantity,
656
+ * or amount values,
657
+ * metered billing plan usages can no longer be reported.
658
+ */
659
+ hardLimit?: {
660
+ /**
661
+ * Usage limit quantity.
662
+ * @minimum 0
663
+ */
664
+ quantity?: number;
665
+ /**
666
+ * Usage limit amount in the currency of the order.
667
+ * @minimum 0
668
+ * @format double
669
+ */
670
+ amount?: number;
671
+ } | null;
672
+ /**
673
+ * Defines a usage cap during the trial period of a subscription.
674
+ * This limit is enforced only while the subscription is in trial phase.
675
+ * When the reported usage reaches the configured trial limit, an event called 'trial-usage-limit-reached' is triggered.
676
+ * To notify the customer or restrict access to the service, a webhook and notification can be configured for this event.
677
+ * Once the trial limit is reached, additional usage cannot be reported until the trial ends.
678
+ */
679
+ trialLimit?: number | null;
680
+ } | null;
681
+ }[];
682
+ };
683
+ export type StorefrontPatchOrderResponseHeaders = {
684
+ rateLimitLimit?: number;
685
+ rateLimitRemaining?: number;
686
+ };
687
+ export type StorefrontPatchOrderVariables = {
688
+ path: StorefrontPatchOrderPath;
689
+ body: StorefrontPatchOrderBody;
690
+ };
691
+ export type StorefrontPostOrderCancellationResult = StorefrontOrder;
692
+ export type StorefrontPostOrderCancellationPath = {
693
+ /**
694
+ * ID of the resource.
695
+ * @maxLength 50
696
+ * @pattern ^[@~\-\.\w]+$
697
+ */
698
+ id: string;
699
+ };
700
+ export type StorefrontPostOrderCancellationBody = {
701
+ /**
702
+ * Reason for the order cancellation.
703
+ */
704
+ reason: "did-not-use" | "did-not-want" | "missing-features" | "bugs-or-problems" | "do-not-remember" | "too-expensive" | "other";
705
+ /**
706
+ * Description of the cancellation reason in free form.
707
+ * @maxLength 255
708
+ */
709
+ description?: string;
710
+ };
711
+ export type StorefrontPostOrderCancellationResponseHeaders = {
712
+ location?: string;
713
+ rateLimitLimit?: number;
714
+ rateLimitRemaining?: number;
715
+ };
716
+ export type StorefrontPostOrderCancellationVariables = {
717
+ path: StorefrontPostOrderCancellationPath;
718
+ body: StorefrontPostOrderCancellationBody;
719
+ };
720
+ export type StorefrontPostOrderPauseResult = StorefrontOrder;
721
+ export type StorefrontPostOrderPausePath = {
722
+ /**
723
+ * ID of the resource.
724
+ * @maxLength 50
725
+ * @pattern ^[@~\-\.\w]+$
726
+ */
727
+ id: string;
728
+ };
729
+ export type StorefrontPostOrderPauseBody = {
730
+ /**
731
+ * Description of the pause reason in free form.
732
+ * @maxLength 255
733
+ */
734
+ description?: string | null;
735
+ /**
736
+ * Date and time when the service period pauses.
737
+ *
738
+ * This time must be later than the current time.
739
+ * If this time is earlier than the current time, the current time is used.
740
+ *
741
+ * If this field is omitted, this value defaults to the current time.
742
+ * @format date-time
743
+ */
744
+ effectiveTime?: string | null;
745
+ /**
746
+ * Date and time when the pause ends and the subscription resumes billing.
747
+ *
748
+ * To resume a subscription from this point in time,
749
+ * use the current time or an earlier time.
750
+ * If `endTime` is earlier than the current time, the current time is used.
751
+ * If this field is empty, the subscription is indefinitely paused.
752
+ * @format date-time
753
+ */
754
+ endTime?: string | null;
755
+ };
756
+ export type StorefrontPostOrderPauseResponseHeaders = {
757
+ location?: string;
758
+ rateLimitLimit?: number;
759
+ rateLimitRemaining?: number;
760
+ };
761
+ export type StorefrontPostOrderPauseVariables = {
762
+ path: StorefrontPostOrderPausePath;
763
+ body: StorefrontPostOrderPauseBody;
764
+ };
765
+ export type StorefrontPostSubscriptionItemsChangeResult = StorefrontChangeQuote;
766
+ export type StorefrontPostSubscriptionItemsChangePath = {
767
+ /**
768
+ * ID of the resource.
769
+ * @maxLength 50
770
+ * @pattern ^[@~\-\.\w]+$
771
+ */
772
+ id: string;
773
+ };
774
+ export type StorefrontPostSubscriptionItemsChangeBody = PostSubscriptionItemsChange;
775
+ export type StorefrontPostSubscriptionItemsChangeResponseHeaders = {
776
+ location?: string;
777
+ rateLimitLimit?: number;
778
+ rateLimitRemaining?: number;
779
+ };
780
+ export type StorefrontPostSubscriptionItemsChangeVariables = {
781
+ path: StorefrontPostSubscriptionItemsChangePath;
782
+ body: StorefrontPostSubscriptionItemsChangeBody;
783
+ };
784
+ export type StorefrontGetOrderChangeCollectionResult = StorefrontOrderChange[];
785
+ export type StorefrontGetOrderChangeCollectionQuery = {
786
+ /**
787
+ * Limit the number of collection items to be returned.
788
+ * Use `0` to return an empty collection and still receive the count of matching items in `Pagination-Total`.
789
+ * @minimum 0
790
+ * @maximum 1000
791
+ */
792
+ limit?: number;
793
+ /**
794
+ * Specifies the starting point within the collection of items to be returned.
795
+ * @minimum 0
796
+ * @maximum 1000
797
+ */
798
+ offset?: number;
799
+ /**
800
+ * Criteria for filtering collection items.
801
+ * This field requires a special format.
802
+ * Use `,` to specify multiple allowed values.
803
+ * Use `;` to specify multiple fields.
804
+ *
805
+ * For more information, see [Search filters](https://www.rebilly.com/docs/dev-docs/search-filters).
806
+ */
807
+ filter?: string;
808
+ };
809
+ export type StorefrontGetOrderChangeCollectionResponseHeaders = {
810
+ paginationTotal?: number;
811
+ paginationLimit?: number;
812
+ paginationOffset?: number;
813
+ };
814
+ export type StorefrontGetOrderChangeCollectionVariables = {
815
+ query?: StorefrontGetOrderChangeCollectionQuery;
816
+ };
817
+ export type StorefrontDeleteOrderChangeResult = void;
818
+ export type StorefrontDeleteOrderChangePath = {
819
+ /**
820
+ * ID of the resource.
821
+ * @maxLength 50
822
+ * @pattern ^[@~\-\.\w]+$
823
+ */
824
+ id: string;
825
+ };
826
+ export type StorefrontDeleteOrderChangeResponseHeaders = {
827
+ rateLimitLimit?: number;
828
+ rateLimitRemaining?: number;
829
+ };
830
+ export type StorefrontDeleteOrderChangeVariables = {
831
+ path: StorefrontDeleteOrderChangePath;
832
+ };
833
+ export type StorefrontPostSubscriptionReactivationResult = StorefrontReactivationQuote;
834
+ export type StorefrontPostSubscriptionReactivationBody = PostSubscriptionReactivation;
835
+ export type StorefrontPostSubscriptionReactivationVariables = {
836
+ body?: StorefrontPostSubscriptionReactivationBody;
837
+ };
838
+ export type StorefrontPostPaymentResult = StorefrontTransaction;
839
+ export type StorefrontPostPaymentBody = (PaymentInstructionsToken | PaymentInstructionsInstrument) | (PaymentInstructionsToken | PaymentInstructionsInstrument) | (PaymentInstructionsToken | PaymentInstructionsInstrument);
840
+ export type StorefrontPostPaymentResponseHeaders = {
841
+ rateLimitLimit?: number;
842
+ rateLimitRemaining?: number;
843
+ };
844
+ export type StorefrontPostPaymentVariables = {
845
+ body: StorefrontPostPaymentBody;
846
+ };
847
+ export type StorefrontGetPaymentInstrumentCollectionResult = StorefrontPaymentInstrument[];
848
+ export type StorefrontGetPaymentInstrumentCollectionQuery = {
849
+ /**
850
+ * Criteria for filtering collection items.
851
+ * This field requires a special format.
852
+ * Use `,` to specify multiple allowed values.
853
+ * Use `;` to specify multiple fields.
854
+ *
855
+ * For more information, see [Search filters](https://www.rebilly.com/docs/dev-docs/search-filters).
856
+ */
857
+ filter?: string;
858
+ /**
859
+ * Sorts and orders the collection of items. To sort in descending
860
+ * order, prefix with `-`. Multiple fields can be sorted by separating each with `,`.
861
+ */
862
+ sort?: string[];
863
+ /**
864
+ * Limit the number of collection items to be returned.
865
+ * Use `0` to return an empty collection and still receive the count of matching items in `Pagination-Total`.
866
+ * @minimum 0
867
+ * @maximum 1000
868
+ */
869
+ limit?: number;
870
+ /**
871
+ * Specifies the starting point within the collection of items to be returned.
872
+ * @minimum 0
873
+ * @maximum 1000
874
+ */
875
+ offset?: number;
876
+ /**
877
+ * Use this field to perform a partial search of text fields.
878
+ */
879
+ q?: string;
880
+ };
881
+ export type StorefrontGetPaymentInstrumentCollectionResponseHeaders = {
882
+ paginationTotal?: number;
883
+ paginationLimit?: number;
884
+ paginationOffset?: number;
885
+ };
886
+ export type StorefrontGetPaymentInstrumentCollectionVariables = {
887
+ query?: StorefrontGetPaymentInstrumentCollectionQuery;
888
+ };
889
+ export type StorefrontPostPaymentInstrumentResult = StorefrontPaymentInstrument;
890
+ export type StorefrontPostPaymentInstrumentBody = {
891
+ /**
892
+ * Token ID of the payment instrument.
893
+ */
894
+ token: string;
895
+ customFields?: ResourceCustomFields;
896
+ };
897
+ export type StorefrontPostPaymentInstrumentResponseHeaders = {
898
+ location?: string;
899
+ rateLimitLimit?: number;
900
+ rateLimitRemaining?: number;
901
+ };
902
+ export type StorefrontPostPaymentInstrumentVariables = {
903
+ body: StorefrontPostPaymentInstrumentBody;
904
+ };
905
+ export type StorefrontGetPaymentInstrumentResult = StorefrontPaymentInstrument;
906
+ export type StorefrontGetPaymentInstrumentPath = {
907
+ /**
908
+ * ID of the resource.
909
+ * @maxLength 50
910
+ * @pattern ^[@~\-\.\w]+$
911
+ */
912
+ id: string;
913
+ };
914
+ export type StorefrontGetPaymentInstrumentQuery = {
915
+ /**
916
+ * Limit the number of collection items to be returned.
917
+ * Use `0` to return an empty collection and still receive the count of matching items in `Pagination-Total`.
918
+ * @minimum 0
919
+ * @maximum 1000
920
+ */
921
+ limit?: number;
922
+ /**
923
+ * Specifies the starting point within the collection of items to be returned.
924
+ * @minimum 0
925
+ * @maximum 1000
926
+ */
927
+ offset?: number;
928
+ };
929
+ export type StorefrontGetPaymentInstrumentResponseHeaders = {
930
+ paginationTotal?: number;
931
+ paginationLimit?: number;
932
+ paginationOffset?: number;
933
+ };
934
+ export type StorefrontGetPaymentInstrumentVariables = {
935
+ path: StorefrontGetPaymentInstrumentPath;
936
+ query?: StorefrontGetPaymentInstrumentQuery;
937
+ };
938
+ export type StorefrontPatchPaymentInstrumentResult = StorefrontPaymentInstrument;
939
+ export type StorefrontPatchPaymentInstrumentPath = {
940
+ /**
941
+ * ID of the resource.
942
+ * @maxLength 50
943
+ * @pattern ^[@~\-\.\w]+$
944
+ */
945
+ id: string;
946
+ };
947
+ export type StorefrontPatchPaymentInstrumentBody = {
948
+ /**
949
+ * Token ID of the payment instrument.
950
+ */
951
+ token?: string;
952
+ /**
953
+ * Billing address.
954
+ * If this field is supplied,
955
+ * it overrides the billing address obtained from the token.
956
+ */
957
+ billingAddress?: ContactObject;
958
+ customFields?: ResourceCustomFields;
959
+ };
960
+ export type StorefrontPatchPaymentInstrumentResponseHeaders = {
961
+ rateLimitLimit?: number;
962
+ rateLimitRemaining?: number;
963
+ };
964
+ export type StorefrontPatchPaymentInstrumentVariables = {
965
+ path: StorefrontPatchPaymentInstrumentPath;
966
+ body: StorefrontPatchPaymentInstrumentBody;
967
+ };
968
+ export type StorefrontPostPaymentInstrumentDeactivationResult = StorefrontPaymentInstrument;
969
+ export type StorefrontPostPaymentInstrumentDeactivationPath = {
970
+ /**
971
+ * ID of the resource.
972
+ * @maxLength 50
973
+ * @pattern ^[@~\-\.\w]+$
974
+ */
975
+ id: string;
976
+ };
977
+ export type StorefrontPostPaymentInstrumentDeactivationResponseHeaders = {
978
+ location?: string;
979
+ rateLimitLimit?: number;
980
+ rateLimitRemaining?: number;
981
+ };
982
+ export type StorefrontPostPaymentInstrumentDeactivationVariables = {
983
+ path: StorefrontPostPaymentInstrumentDeactivationPath;
984
+ };
985
+ export type StorefrontGetPaymentInstrumentSetupResult = StorefrontTransaction;
986
+ export type StorefrontGetPaymentInstrumentSetupPath = {
987
+ /**
988
+ * ID of the resource.
989
+ * @maxLength 50
990
+ * @pattern ^[@~\-\.\w]+$
991
+ */
992
+ id: string;
993
+ };
994
+ export type StorefrontGetPaymentInstrumentSetupVariables = {
995
+ path: StorefrontGetPaymentInstrumentSetupPath;
996
+ };
997
+ export type StorefrontPostPaymentInstrumentSetupResult = StorefrontTransaction;
998
+ export type StorefrontPostPaymentInstrumentSetupPath = {
999
+ /**
1000
+ * ID of the resource.
1001
+ * @maxLength 50
1002
+ * @pattern ^[@~\-\.\w]+$
1003
+ */
1004
+ id: string;
1005
+ };
1006
+ export type StorefrontPostPaymentInstrumentSetupBody = {
1007
+ websiteId: WebsiteId;
1008
+ currency: CurrencyCode;
1009
+ /**
1010
+ * Amount of the transaction.
1011
+ * @format double
1012
+ */
1013
+ amount?: number;
1014
+ /**
1015
+ * Billing address.
1016
+ * If a billing address is not supplied the address associated with the payment instrument is used.
1017
+ * If no address is associated with the payment instrument,
1018
+ * the customer's address is used.
1019
+ */
1020
+ billingAddress?: ContactObject | null;
1021
+ /**
1022
+ * URL to redirect the end-user when an offsite transaction is completed.
1023
+ * This field defaults to the configured website URL.
1024
+ * You may use `{id}` or `{result}` as placeholders in the URL.
1025
+ * These placeholders are replaced with the transaction ID and result.
1026
+ * For more information, see [Placeholders](https://www.rebilly.com/docs/automations/email-notifications/#placeholders).
1027
+ * @maxLength 2083
1028
+ * @format uri
1029
+ */
1030
+ redirectUrl?: string | null;
1031
+ riskMetadata?: RiskMetadata;
1032
+ };
1033
+ export type StorefrontPostPaymentInstrumentSetupResponseHeaders = {
1034
+ location?: string;
1035
+ rateLimitLimit?: number;
1036
+ rateLimitRemaining?: number;
1037
+ };
1038
+ export type StorefrontPostPaymentInstrumentSetupVariables = {
1039
+ path: StorefrontPostPaymentInstrumentSetupPath;
1040
+ body: StorefrontPostPaymentInstrumentSetupBody;
1041
+ };
1042
+ export type StorefrontGetPayoutRequestCollectionResult = StorefrontPayoutRequest[];
1043
+ export type StorefrontGetPayoutRequestCollectionQuery = {
1044
+ /**
1045
+ * Criteria for filtering collection items.
1046
+ * This field requires a special format.
1047
+ * Use `,` to specify multiple allowed values.
1048
+ * Use `;` to specify multiple fields.
1049
+ *
1050
+ * For more information, see [Search filters](https://www.rebilly.com/docs/dev-docs/search-filters).
1051
+ */
1052
+ filter?: string;
1053
+ /**
1054
+ * Sorts and orders the collection of items. To sort in descending
1055
+ * order, prefix with `-`. Multiple fields can be sorted by separating each with `,`.
1056
+ */
1057
+ sort?: string[];
1058
+ /**
1059
+ * Limit the number of collection items to be returned.
1060
+ * Use `0` to return an empty collection and still receive the count of matching items in `Pagination-Total`.
1061
+ * @minimum 0
1062
+ * @maximum 1000
1063
+ */
1064
+ limit?: number;
1065
+ /**
1066
+ * Specifies the starting point within the collection of items to be returned.
1067
+ * @minimum 0
1068
+ * @maximum 1000
1069
+ */
1070
+ offset?: number;
1071
+ /**
1072
+ * Use this field to perform a partial search of text fields.
1073
+ */
1074
+ q?: string;
1075
+ };
1076
+ export type StorefrontGetPayoutRequestCollectionResponseHeaders = {
1077
+ paginationTotal?: number;
1078
+ paginationLimit?: number;
1079
+ paginationOffset?: number;
1080
+ };
1081
+ export type StorefrontGetPayoutRequestCollectionVariables = {
1082
+ query?: StorefrontGetPayoutRequestCollectionQuery;
1083
+ };
1084
+ export type StorefrontPostPayoutRequestResult = StorefrontPayoutRequest;
1085
+ export type StorefrontPostPayoutRequestBody = {
1086
+ /**
1087
+ * ID of the cashier resource that sends the payout request.
1088
+ * @maxLength 50
1089
+ */
1090
+ cashierId: string;
1091
+ /**
1092
+ * ID of the requested payment instrument to offer for the payout.
1093
+ * @maxLength 50
1094
+ */
1095
+ paymentInstrumentId: string;
1096
+ /**
1097
+ * Amount of the payout.
1098
+ * @format double
1099
+ */
1100
+ amount: number;
1101
+ };
1102
+ export type StorefrontPostPayoutRequestResponseHeaders = {
1103
+ location?: string;
1104
+ };
1105
+ export type StorefrontPostPayoutRequestVariables = {
1106
+ body: StorefrontPostPayoutRequestBody;
1107
+ };
1108
+ export type StorefrontGetPayoutRequestResult = StorefrontPayoutRequest;
1109
+ export type StorefrontGetPayoutRequestPath = {
1110
+ /**
1111
+ * ID of the resource.
1112
+ * @maxLength 50
1113
+ * @pattern ^[@~\-\.\w]+$
1114
+ */
1115
+ id: string;
1116
+ };
1117
+ export type StorefrontGetPayoutRequestVariables = {
1118
+ path: StorefrontGetPayoutRequestPath;
1119
+ };
1120
+ export type StorefrontPatchPayoutRequestResult = StorefrontPayoutRequest;
1121
+ export type StorefrontPatchPayoutRequestPath = {
1122
+ /**
1123
+ * ID of the resource.
1124
+ * @maxLength 50
1125
+ * @pattern ^[@~\-\.\w]+$
1126
+ */
1127
+ id: string;
1128
+ };
1129
+ export type StorefrontPatchPayoutRequestBody = {
1130
+ /**
1131
+ * ID of the preferable payment instrument for the payout request.
1132
+ * @maxLength 50
1133
+ */
1134
+ paymentInstrumentId: string;
1135
+ };
1136
+ export type StorefrontPatchPayoutRequestResponseHeaders = {
1137
+ rateLimitLimit?: number;
1138
+ rateLimitRemaining?: number;
1139
+ };
1140
+ export type StorefrontPatchPayoutRequestVariables = {
1141
+ path: StorefrontPatchPayoutRequestPath;
1142
+ body?: StorefrontPatchPayoutRequestBody;
1143
+ };
1144
+ export type StorefrontPostPayoutRequestCancellationResult = Cashier;
1145
+ export type StorefrontPostPayoutRequestCancellationBody = {
1146
+ /**
1147
+ * ID of the cashier resource with pending payout requests to cancel.
1148
+ * @maxLength 50
1149
+ */
1150
+ cashierId: string;
1151
+ /**
1152
+ * Pending payout request amount to be canceled.
1153
+ * To cancel all pending payout requests, omit this field or set it to `null`.
1154
+ * @exclusiveMinimum 0
1155
+ * @format double
1156
+ */
1157
+ amount?: number | null;
1158
+ };
1159
+ export type StorefrontPostPayoutRequestCancellationVariables = {
1160
+ body: StorefrontPostPayoutRequestCancellationBody;
1161
+ };
1162
+ export type StorefrontGetPlanCollectionResult = StorefrontPlan[];
1163
+ export type StorefrontGetPlanCollectionQuery = {
1164
+ /**
1165
+ * Criteria for filtering collection items.
1166
+ * This field requires a special format.
1167
+ * Use `,` to specify multiple allowed values.
1168
+ * Use `;` to specify multiple fields.
1169
+ *
1170
+ * For more information, see [Search filters](https://www.rebilly.com/docs/dev-docs/search-filters).
1171
+ */
1172
+ filter?: string;
1173
+ /**
1174
+ * Sorts and orders the collection of items. To sort in descending
1175
+ * order, prefix with `-`. Multiple fields can be sorted by separating each with `,`.
1176
+ */
1177
+ sort?: string[];
1178
+ /**
1179
+ * Limit the number of collection items to be returned.
1180
+ * Use `0` to return an empty collection and still receive the count of matching items in `Pagination-Total`.
1181
+ * @minimum 0
1182
+ * @maximum 1000
1183
+ */
1184
+ limit?: number;
1185
+ /**
1186
+ * Specifies the starting point within the collection of items to be returned.
1187
+ * @minimum 0
1188
+ * @maximum 1000
1189
+ */
1190
+ offset?: number;
1191
+ /**
1192
+ * Use this field to perform a partial search of text fields.
1193
+ */
1194
+ q?: string;
1195
+ /**
1196
+ * Expands a request to include embedded objects within the `_embedded`
1197
+ * property of the response. This field accepts a comma-separated list of objects.
1198
+ *
1199
+ * For more information, see
1200
+ * [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
1201
+ */
1202
+ expand?: string;
1203
+ };
1204
+ export type StorefrontGetPlanCollectionResponseHeaders = {
1205
+ paginationTotal?: number;
1206
+ paginationLimit?: number;
1207
+ paginationOffset?: number;
1208
+ };
1209
+ export type StorefrontGetPlanCollectionVariables = {
1210
+ query?: StorefrontGetPlanCollectionQuery;
1211
+ };
1212
+ export type StorefrontGetPlanResult = StorefrontPlan;
1213
+ export type StorefrontGetPlanPath = {
1214
+ /**
1215
+ * ID of the resource.
1216
+ * @maxLength 50
1217
+ * @pattern ^[@~\-\.\w]+$
1218
+ */
1219
+ id: string;
1220
+ };
1221
+ export type StorefrontGetPlanQuery = {
1222
+ /**
1223
+ * Expands a request to include embedded objects within the `_embedded`
1224
+ * property of the response. This field accepts a comma-separated list of objects.
1225
+ *
1226
+ * For more information, see
1227
+ * [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
1228
+ */
1229
+ expand?: string;
1230
+ };
1231
+ export type StorefrontGetPlanVariables = {
1232
+ path: StorefrontGetPlanPath;
1233
+ query?: StorefrontGetPlanQuery;
1234
+ };
1235
+ export type StorefrontGetProductCollectionResult = StorefrontProduct[];
1236
+ export type StorefrontGetProductCollectionQuery = {
1237
+ /**
1238
+ * Criteria for filtering collection items.
1239
+ * This field requires a special format.
1240
+ * Use `,` to specify multiple allowed values.
1241
+ * Use `;` to specify multiple fields.
1242
+ *
1243
+ * For more information, see [Search filters](https://www.rebilly.com/docs/dev-docs/search-filters).
1244
+ */
1245
+ filter?: string;
1246
+ /**
1247
+ * Sorts and orders the collection of items. To sort in descending
1248
+ * order, prefix with `-`. Multiple fields can be sorted by separating each with `,`.
1249
+ */
1250
+ sort?: string[];
1251
+ /**
1252
+ * Limit the number of collection items to be returned.
1253
+ * Use `0` to return an empty collection and still receive the count of matching items in `Pagination-Total`.
1254
+ * @minimum 0
1255
+ * @maximum 1000
1256
+ */
1257
+ limit?: number;
1258
+ /**
1259
+ * Specifies the starting point within the collection of items to be returned.
1260
+ * @minimum 0
1261
+ * @maximum 1000
1262
+ */
1263
+ offset?: number;
1264
+ /**
1265
+ * Use this field to perform a partial search of text fields.
1266
+ */
1267
+ q?: string;
1268
+ };
1269
+ export type StorefrontGetProductCollectionResponseHeaders = {
1270
+ paginationTotal?: number;
1271
+ paginationLimit?: number;
1272
+ paginationOffset?: number;
1273
+ };
1274
+ export type StorefrontGetProductCollectionVariables = {
1275
+ query?: StorefrontGetProductCollectionQuery;
1276
+ };
1277
+ export type StorefrontGetProductResult = StorefrontProduct;
1278
+ export type StorefrontGetProductPath = {
1279
+ /**
1280
+ * ID of the resource.
1281
+ * @maxLength 50
1282
+ * @pattern ^[@~\-\.\w]+$
1283
+ */
1284
+ id: string;
1285
+ };
1286
+ export type StorefrontGetProductVariables = {
1287
+ path: StorefrontGetProductPath;
1288
+ };
1289
+ export type StorefrontPostPurchaseResult = StorefrontPurchase;
1290
+ export type StorefrontPostPurchaseBody = Omit<StorefrontPurchase, "orderId" | "invoice" | "transaction" | "token">;
1291
+ export type StorefrontPostPurchaseResponseHeaders = {
1292
+ location?: string;
1293
+ rateLimitLimit?: number;
1294
+ rateLimitRemaining?: number;
1295
+ };
1296
+ export type StorefrontPostPurchaseVariables = {
1297
+ body?: StorefrontPostPurchaseBody;
1298
+ };
1299
+ export type StorefrontPostPreviewPurchaseResult = StorefrontOrderPreview;
1300
+ export type StorefrontPostPreviewPurchaseBody = Omit<StorefrontOrderPreview, "currency" | "lineItems" | "shippingRates" | "taxes" | "discounts" | "subtotalAmount" | "taxAmount" | "shippingAmount" | "discountsAmount" | "total" | "initialAmounts" | "recurringAmounts">;
1301
+ export type StorefrontPostPreviewPurchaseResponseHeaders = {
1302
+ rateLimitLimit?: number;
1303
+ rateLimitRemaining?: number;
1304
+ };
1305
+ export type StorefrontPostPreviewPurchaseVariables = {
1306
+ body?: StorefrontPostPreviewPurchaseBody;
1307
+ };
1308
+ export type StorefrontGetQuoteResult = StorefrontQuote;
1309
+ export type StorefrontGetQuotePath = {
1310
+ /**
1311
+ * ID of the resource.
1312
+ * @maxLength 50
1313
+ * @pattern ^[@~\-\.\w]+$
1314
+ */
1315
+ id: string;
1316
+ };
1317
+ export type StorefrontGetQuoteQuery = {
1318
+ /**
1319
+ * Expands a request to include embedded objects within the `_embedded`
1320
+ * property of the response. This field accepts a comma-separated list of objects.
1321
+ *
1322
+ * For more information, see
1323
+ * [Embedded resources](https://www.rebilly.com/docs/dev-docs/expand-embedded-resources).
1324
+ */
1325
+ expand?: string;
1326
+ };
1327
+ export type StorefrontGetQuoteHeaders = {
1328
+ /**
1329
+ * Type of response media.
1330
+ */
1331
+ Accept?: "application/json" | "application/pdf";
1332
+ };
1333
+ export type StorefrontGetQuoteVariables = {
1334
+ path: StorefrontGetQuotePath;
1335
+ query?: StorefrontGetQuoteQuery;
1336
+ headers?: StorefrontGetQuoteHeaders;
1337
+ };
1338
+ export type StorefrontPostQuoteAcceptanceResult = StorefrontQuote;
1339
+ export type StorefrontPostQuoteAcceptancePath = {
1340
+ /**
1341
+ * ID of the resource.
1342
+ * @maxLength 50
1343
+ * @pattern ^[@~\-\.\w]+$
1344
+ */
1345
+ id: string;
1346
+ };
1347
+ export type StorefrontPostQuoteAcceptanceResponseHeaders = {
1348
+ rateLimitLimit?: number;
1349
+ rateLimitRemaining?: number;
1350
+ };
1351
+ export type StorefrontPostQuoteAcceptanceVariables = {
1352
+ path: StorefrontPostQuoteAcceptancePath;
1353
+ };
1354
+ export type StorefrontPostQuoteRejectionResult = StorefrontQuote;
1355
+ export type StorefrontPostQuoteRejectionPath = {
1356
+ /**
1357
+ * ID of the resource.
1358
+ * @maxLength 50
1359
+ * @pattern ^[@~\-\.\w]+$
1360
+ */
1361
+ id: string;
1362
+ };
1363
+ export type StorefrontPostQuoteRejectionResponseHeaders = {
1364
+ rateLimitLimit?: number;
1365
+ rateLimitRemaining?: number;
1366
+ };
1367
+ export type StorefrontPostQuoteRejectionVariables = {
1368
+ path: StorefrontPostQuoteRejectionPath;
1369
+ };
1370
+ export type StorefrontPostReadyToPayResult = ReadyToPayMethods;
1371
+ export type StorefrontPostReadyToPayBody = ReadyToPay;
1372
+ export type StorefrontPostReadyToPayResponseHeaders = {
1373
+ rateLimitLimit?: number;
1374
+ rateLimitRemaining?: number;
1375
+ };
1376
+ export type StorefrontPostReadyToPayVariables = {
1377
+ body?: StorefrontPostReadyToPayBody;
1378
+ };
1379
+ export type StorefrontPostReadyToPayoutResult = ReadyToPayoutMethods;
1380
+ export type StorefrontPostReadyToPayoutBody = ReadyToPayout;
1381
+ export type StorefrontPostReadyToPayoutResponseHeaders = {
1382
+ rateLimitLimit?: number;
1383
+ rateLimitRemaining?: number;
1384
+ };
1385
+ export type StorefrontPostReadyToPayoutVariables = {
1386
+ body?: StorefrontPostReadyToPayoutBody;
1387
+ };
1388
+ export type StorefrontPostRegisterResult = StorefrontAccount;
1389
+ export type StorefrontPostRegisterBody = {
1390
+ /**
1391
+ * Username.
1392
+ */
1393
+ username: string;
1394
+ /**
1395
+ * Password.
1396
+ * @format password
1397
+ */
1398
+ password: string;
1399
+ primaryAddress?: ContactObject;
1400
+ /**
1401
+ * Write-only payment token;
1402
+ * if supplied, it converts into a payment instrument and is set as the `defaultPaymentInstrument`.
1403
+ * The value of this property overrides the `defaultPaymentInstrument` in the case that both are supplied.
1404
+ * The token may only be used once before it is expired.
1405
+ */
1406
+ paymentToken?: string;
1407
+ leadSource?: LeadSourceData;
1408
+ /**
1409
+ * ID of the website where the customer signs up.
1410
+ * If this value is not set, the account is associated with the first website of the organization.
1411
+ */
1412
+ websiteId?: WebsiteId;
1413
+ };
1414
+ export type StorefrontPostRegisterResponseHeaders = {
1415
+ location?: string;
1416
+ rateLimitLimit?: number;
1417
+ rateLimitRemaining?: number;
1418
+ };
1419
+ export type StorefrontPostRegisterVariables = {
1420
+ body?: StorefrontPostRegisterBody;
1421
+ };
1422
+ export type StorefrontPostSubscriptionResult = StorefrontOrder;
1423
+ export type StorefrontPostSubscriptionBody = PostSubscription;
1424
+ export type StorefrontPostSubscriptionResponseHeaders = {
1425
+ location?: string;
1426
+ rateLimitLimit?: number;
1427
+ rateLimitRemaining?: number;
1428
+ };
1429
+ export type StorefrontPostSubscriptionVariables = {
1430
+ body: StorefrontPostSubscriptionBody;
1431
+ };
1432
+ export type StorefrontGetTransactionCollectionResult = StorefrontTransaction[];
1433
+ export type StorefrontGetTransactionCollectionQuery = {
1434
+ /**
1435
+ * Limit the number of collection items to be returned.
1436
+ * Use `0` to return an empty collection and still receive the count of matching items in `Pagination-Total`.
1437
+ * @minimum 0
1438
+ * @maximum 1000
1439
+ */
1440
+ limit?: number;
1441
+ /**
1442
+ * Specifies the starting point within the collection of items to be returned.
1443
+ * @minimum 0
1444
+ * @maximum 1000
1445
+ */
1446
+ offset?: number;
1447
+ /**
1448
+ * Criteria for filtering collection items.
1449
+ * This field requires a special format.
1450
+ * Use `,` to specify multiple allowed values.
1451
+ * Use `;` to specify multiple fields.
1452
+ *
1453
+ * For more information, see [Search filters](https://www.rebilly.com/docs/dev-docs/search-filters).
1454
+ */
1455
+ filter?: string;
1456
+ /**
1457
+ * Use this field to perform a partial search of text fields.
1458
+ */
1459
+ q?: string;
1460
+ /**
1461
+ * Sorts and orders the collection of items. To sort in descending
1462
+ * order, prefix with `-`. Multiple fields can be sorted by separating each with `,`.
1463
+ */
1464
+ sort?: string[];
1465
+ };
1466
+ export type StorefrontGetTransactionCollectionResponseHeaders = {
1467
+ paginationTotal?: number;
1468
+ paginationLimit?: number;
1469
+ paginationOffset?: number;
1470
+ };
1471
+ export type StorefrontGetTransactionCollectionVariables = {
1472
+ query?: StorefrontGetTransactionCollectionQuery;
1473
+ };
1474
+ export type StorefrontGetTransactionResult = StorefrontTransaction;
1475
+ export type StorefrontGetTransactionPath = {
1476
+ /**
1477
+ * ID of the resource.
1478
+ * @maxLength 50
1479
+ * @pattern ^[@~\-\.\w]+$
1480
+ */
1481
+ id: string;
1482
+ };
1483
+ export type StorefrontGetTransactionVariables = {
1484
+ path: StorefrontGetTransactionPath;
1485
+ };
1486
+ export type StorefrontGetTransactionDccOfferResult = StorefrontTransaction;
1487
+ export type StorefrontGetTransactionDccOfferPath = {
1488
+ /**
1489
+ * ID of the resource.
1490
+ * @maxLength 50
1491
+ * @pattern ^[@~\-\.\w]+$
1492
+ */
1493
+ id: string;
1494
+ };
1495
+ export type StorefrontGetTransactionDccOfferVariables = {
1496
+ path: StorefrontGetTransactionDccOfferPath;
1497
+ };
1498
+ export type StorefrontPatchTransactionDccOfferResult = StorefrontTransaction;
1499
+ export type StorefrontPatchTransactionDccOfferPath = {
1500
+ /**
1501
+ * ID of the resource.
1502
+ * @maxLength 50
1503
+ * @pattern ^[@~\-\.\w]+$
1504
+ */
1505
+ id: string;
1506
+ };
1507
+ export type StorefrontPatchTransactionDccOfferBody = {
1508
+ /**
1509
+ * DCC offer choice.
1510
+ */
1511
+ choice: "selected" | "rejected";
1512
+ };
1513
+ export type StorefrontPatchTransactionDccOfferResponseHeaders = {
1514
+ rateLimitLimit?: number;
1515
+ rateLimitRemaining?: number;
1516
+ };
1517
+ export type StorefrontPatchTransactionDccOfferVariables = {
1518
+ path: StorefrontPatchTransactionDccOfferPath;
1519
+ body?: StorefrontPatchTransactionDccOfferBody;
1520
+ };
1521
+ export type StorefrontPostKycRequestContinueResult = StorefrontTransaction;
1522
+ export type StorefrontPostKycRequestContinuePath = {
1523
+ /**
1524
+ * ID of the resource.
1525
+ * @maxLength 50
1526
+ * @pattern ^[@~\-\.\w]+$
1527
+ */
1528
+ id: string;
1529
+ /**
1530
+ * Token string.
1531
+ */
1532
+ token: string;
1533
+ };
1534
+ export type StorefrontPostKycRequestContinueResponseHeaders = {
1535
+ rateLimitLimit?: number;
1536
+ rateLimitRemaining?: number;
1537
+ };
1538
+ export type StorefrontPostKycRequestContinueVariables = {
1539
+ path: StorefrontPostKycRequestContinuePath;
1540
+ };
1541
+ export type StorefrontPostKycRequestBypassResult = StorefrontTransaction;
1542
+ export type StorefrontPostKycRequestBypassPath = {
1543
+ /**
1544
+ * ID of the resource.
1545
+ * @maxLength 50
1546
+ * @pattern ^[@~\-\.\w]+$
1547
+ */
1548
+ id: string;
1549
+ /**
1550
+ * Token string.
1551
+ */
1552
+ token: string;
1553
+ };
1554
+ export type StorefrontPostKycRequestBypassResponseHeaders = {
1555
+ rateLimitLimit?: number;
1556
+ rateLimitRemaining?: number;
1557
+ };
1558
+ export type StorefrontPostKycRequestBypassVariables = {
1559
+ path: StorefrontPostKycRequestBypassPath;
1560
+ };
1561
+ export type StorefrontGetWebsiteResult = Website;
1562
+ export type StorefrontGetWebsitePath = {
1563
+ /**
1564
+ * ID of the resource.
1565
+ * @maxLength 50
1566
+ * @pattern ^[@~\-\.\w]+$
1567
+ */
1568
+ id: string;
1569
+ };
1570
+ export type StorefrontGetWebsiteVariables = {
1571
+ path: StorefrontGetWebsitePath;
1572
+ };
1573
+ /**
1574
+ * Per-operation `args`/`result` shapes (plus `kind: 'sse'` for event streams) — the
1575
+ * type-level companion of `OPERATIONS` that gives `createClient<Ops>` its typed methods.
1576
+ */
1577
+ export type Ops = {
1578
+ StorefrontGetAccount: {
1579
+ args: {
1580
+ query?: StorefrontGetAccountQuery;
1581
+ };
1582
+ result: StorefrontGetAccountResult;
1583
+ };
1584
+ StorefrontPatchAccount: {
1585
+ args: {
1586
+ body?: StorefrontPatchAccountBody;
1587
+ };
1588
+ result: StorefrontPatchAccountResult;
1589
+ headers: {
1590
+ rateLimitLimit?: number;
1591
+ rateLimitRemaining?: number;
1592
+ };
1593
+ };
1594
+ StorefrontPostForgotPassword: {
1595
+ args: {
1596
+ body?: StorefrontPostForgotPasswordBody;
1597
+ };
1598
+ result: StorefrontPostForgotPasswordResult;
1599
+ headers: {
1600
+ rateLimitLimit?: number;
1601
+ rateLimitRemaining?: number;
1602
+ };
1603
+ };
1604
+ StorefrontPatchAccountPassword: {
1605
+ args: {
1606
+ body?: StorefrontPatchAccountPasswordBody;
1607
+ };
1608
+ result: StorefrontPatchAccountPasswordResult;
1609
+ headers: {
1610
+ rateLimitLimit?: number;
1611
+ rateLimitRemaining?: number;
1612
+ };
1613
+ };
1614
+ StorefrontPostAccountResendVerification: {
1615
+ args: {
1616
+ body?: StorefrontPostAccountResendVerificationBody;
1617
+ };
1618
+ result: StorefrontPostAccountResendVerificationResult;
1619
+ headers: {
1620
+ rateLimitLimit?: number;
1621
+ rateLimitRemaining?: number;
1622
+ };
1623
+ };
1624
+ StorefrontPostResetPassword: {
1625
+ args: {
1626
+ path: StorefrontPostResetPasswordPath;
1627
+ body?: StorefrontPostResetPasswordBody;
1628
+ };
1629
+ result: StorefrontPostResetPasswordResult;
1630
+ headers: {
1631
+ location?: string;
1632
+ rateLimitLimit?: number;
1633
+ rateLimitRemaining?: number;
1634
+ };
1635
+ };
1636
+ StorefrontPostAccountVerification: {
1637
+ args: {
1638
+ path: StorefrontPostAccountVerificationPath;
1639
+ };
1640
+ result: StorefrontPostAccountVerificationResult;
1641
+ headers: {
1642
+ rateLimitLimit?: number;
1643
+ rateLimitRemaining?: number;
1644
+ };
1645
+ };
1646
+ StorefrontGetBillingPortal: {
1647
+ args: {
1648
+ path: StorefrontGetBillingPortalPath;
1649
+ };
1650
+ result: StorefrontGetBillingPortalResult;
1651
+ };
1652
+ StorefrontGetDepositStrategy: {
1653
+ args: {
1654
+ path: StorefrontGetDepositStrategyPath;
1655
+ };
1656
+ result: StorefrontGetDepositStrategyResult;
1657
+ };
1658
+ StorefrontGetDepositRequest: {
1659
+ args: {
1660
+ path: StorefrontGetDepositRequestPath;
1661
+ query?: StorefrontGetDepositRequestQuery;
1662
+ };
1663
+ result: StorefrontGetDepositRequestResult;
1664
+ };
1665
+ StorefrontGetCashier: {
1666
+ args: {
1667
+ path: StorefrontGetCashierPath;
1668
+ };
1669
+ result: StorefrontGetCashierResult;
1670
+ };
1671
+ StorefrontPostDeposit: {
1672
+ args: {
1673
+ body: StorefrontPostDepositBody;
1674
+ };
1675
+ result: StorefrontPostDepositResult;
1676
+ headers: {
1677
+ location?: string;
1678
+ rateLimitLimit?: number;
1679
+ rateLimitRemaining?: number;
1680
+ };
1681
+ };
1682
+ StorefrontGetCheckoutForm: {
1683
+ args: {
1684
+ path: StorefrontGetCheckoutFormPath;
1685
+ };
1686
+ result: StorefrontGetCheckoutFormResult;
1687
+ };
1688
+ StorefrontGetCustomFieldCollection: {
1689
+ args: {
1690
+ path: StorefrontGetCustomFieldCollectionPath;
1691
+ query?: StorefrontGetCustomFieldCollectionQuery;
1692
+ };
1693
+ result: StorefrontGetCustomFieldCollectionResult;
1694
+ };
1695
+ StorefrontGetInvoiceCollection: {
1696
+ args: {
1697
+ query?: StorefrontGetInvoiceCollectionQuery;
1698
+ };
1699
+ result: StorefrontGetInvoiceCollectionResult;
1700
+ headers: {
1701
+ paginationTotal?: number;
1702
+ paginationLimit?: number;
1703
+ paginationOffset?: number;
1704
+ };
1705
+ };
1706
+ StorefrontGetInvoice: {
1707
+ args: {
1708
+ path: StorefrontGetInvoicePath;
1709
+ query?: StorefrontGetInvoiceQuery;
1710
+ };
1711
+ result: StorefrontGetInvoiceResult;
1712
+ };
1713
+ StorefrontPatchInvoice: {
1714
+ args: {
1715
+ path: StorefrontPatchInvoicePath;
1716
+ body: StorefrontPatchInvoiceBody;
1717
+ };
1718
+ result: StorefrontPatchInvoiceResult;
1719
+ headers: {
1720
+ rateLimitLimit?: number;
1721
+ rateLimitRemaining?: number;
1722
+ };
1723
+ };
1724
+ StorefrontGetOrderUpcomingInvoice: {
1725
+ args: {
1726
+ path: StorefrontGetOrderUpcomingInvoicePath;
1727
+ query?: StorefrontGetOrderUpcomingInvoiceQuery;
1728
+ };
1729
+ result: StorefrontGetOrderUpcomingInvoiceResult;
1730
+ };
1731
+ StorefrontPostKycDocument: {
1732
+ args: {
1733
+ body: StorefrontPostKycDocumentBody;
1734
+ };
1735
+ result: StorefrontPostKycDocumentResult;
1736
+ headers: {
1737
+ location?: string;
1738
+ rateLimitLimit?: number;
1739
+ rateLimitRemaining?: number;
1740
+ };
1741
+ };
1742
+ StorefrontGetKycDocument: {
1743
+ args: {
1744
+ path: StorefrontGetKycDocumentPath;
1745
+ };
1746
+ result: StorefrontGetKycDocumentResult;
1747
+ };
1748
+ StorefrontPatchKycDocument: {
1749
+ args: {
1750
+ path: StorefrontPatchKycDocumentPath;
1751
+ body: StorefrontPatchKycDocumentBody;
1752
+ };
1753
+ result: StorefrontPatchKycDocumentResult;
1754
+ headers: {
1755
+ rateLimitLimit?: number;
1756
+ rateLimitRemaining?: number;
1757
+ };
1758
+ };
1759
+ StorefrontGetKycRequest: {
1760
+ args: {
1761
+ path: StorefrontGetKycRequestPath;
1762
+ query?: StorefrontGetKycRequestQuery;
1763
+ };
1764
+ result: StorefrontGetKycRequestResult;
1765
+ };
1766
+ StorefrontPostKycLivenessSession: {
1767
+ args: {
1768
+ body: StorefrontPostKycLivenessSessionBody;
1769
+ };
1770
+ result: StorefrontPostKycLivenessSessionResult;
1771
+ headers: {
1772
+ location?: string;
1773
+ rateLimitLimit?: number;
1774
+ rateLimitRemaining?: number;
1775
+ };
1776
+ };
1777
+ StorefrontGetKycLivenessSession: {
1778
+ args: {
1779
+ path: StorefrontGetKycLivenessSessionPath;
1780
+ };
1781
+ result: StorefrontGetKycLivenessSessionResult;
1782
+ };
1783
+ StorefrontPostKycLivenessSessionFinish: {
1784
+ args: {
1785
+ path: StorefrontPostKycLivenessSessionFinishPath;
1786
+ };
1787
+ result: StorefrontPostKycLivenessSessionFinishResult;
1788
+ headers: {
1789
+ location?: string;
1790
+ rateLimitLimit?: number;
1791
+ rateLimitRemaining?: number;
1792
+ };
1793
+ };
1794
+ StorefrontPostLogin: {
1795
+ args: {
1796
+ body?: StorefrontPostLoginBody;
1797
+ };
1798
+ result: StorefrontPostLoginResult;
1799
+ headers: {
1800
+ location?: string;
1801
+ rateLimitLimit?: number;
1802
+ rateLimitRemaining?: number;
1803
+ };
1804
+ };
1805
+ StorefrontPostLogout: {
1806
+ args: {};
1807
+ result: StorefrontPostLogoutResult;
1808
+ headers: {
1809
+ rateLimitLimit?: number;
1810
+ rateLimitRemaining?: number;
1811
+ };
1812
+ };
1813
+ StorefrontGetOrderCollection: {
1814
+ args: {
1815
+ query?: StorefrontGetOrderCollectionQuery;
1816
+ };
1817
+ result: StorefrontGetOrderCollectionResult;
1818
+ headers: {
1819
+ paginationTotal?: number;
1820
+ paginationLimit?: number;
1821
+ paginationOffset?: number;
1822
+ };
1823
+ };
1824
+ StorefrontGetOrder: {
1825
+ args: {
1826
+ path: StorefrontGetOrderPath;
1827
+ query?: StorefrontGetOrderQuery;
1828
+ };
1829
+ result: StorefrontGetOrderResult;
1830
+ };
1831
+ StorefrontPatchOrder: {
1832
+ args: {
1833
+ path: StorefrontPatchOrderPath;
1834
+ body: StorefrontPatchOrderBody;
1835
+ };
1836
+ result: StorefrontPatchOrderResult;
1837
+ headers: {
1838
+ rateLimitLimit?: number;
1839
+ rateLimitRemaining?: number;
1840
+ };
1841
+ };
1842
+ StorefrontPostOrderCancellation: {
1843
+ args: {
1844
+ path: StorefrontPostOrderCancellationPath;
1845
+ body: StorefrontPostOrderCancellationBody;
1846
+ };
1847
+ result: StorefrontPostOrderCancellationResult;
1848
+ headers: {
1849
+ location?: string;
1850
+ rateLimitLimit?: number;
1851
+ rateLimitRemaining?: number;
1852
+ };
1853
+ };
1854
+ StorefrontPostOrderPause: {
1855
+ args: {
1856
+ path: StorefrontPostOrderPausePath;
1857
+ body: StorefrontPostOrderPauseBody;
1858
+ };
1859
+ result: StorefrontPostOrderPauseResult;
1860
+ headers: {
1861
+ location?: string;
1862
+ rateLimitLimit?: number;
1863
+ rateLimitRemaining?: number;
1864
+ };
1865
+ };
1866
+ StorefrontPostSubscriptionItemsChange: {
1867
+ args: {
1868
+ path: StorefrontPostSubscriptionItemsChangePath;
1869
+ body: StorefrontPostSubscriptionItemsChangeBody;
1870
+ };
1871
+ result: StorefrontPostSubscriptionItemsChangeResult;
1872
+ headers: {
1873
+ location?: string;
1874
+ rateLimitLimit?: number;
1875
+ rateLimitRemaining?: number;
1876
+ };
1877
+ };
1878
+ StorefrontGetOrderChangeCollection: {
1879
+ args: {
1880
+ query?: StorefrontGetOrderChangeCollectionQuery;
1881
+ };
1882
+ result: StorefrontGetOrderChangeCollectionResult;
1883
+ headers: {
1884
+ paginationTotal?: number;
1885
+ paginationLimit?: number;
1886
+ paginationOffset?: number;
1887
+ };
1888
+ };
1889
+ StorefrontDeleteOrderChange: {
1890
+ args: {
1891
+ path: StorefrontDeleteOrderChangePath;
1892
+ };
1893
+ result: StorefrontDeleteOrderChangeResult;
1894
+ headers: {
1895
+ rateLimitLimit?: number;
1896
+ rateLimitRemaining?: number;
1897
+ };
1898
+ };
1899
+ StorefrontPostSubscriptionReactivation: {
1900
+ args: {
1901
+ body?: StorefrontPostSubscriptionReactivationBody;
1902
+ };
1903
+ result: StorefrontPostSubscriptionReactivationResult;
1904
+ };
1905
+ StorefrontPostPayment: {
1906
+ args: {
1907
+ body: StorefrontPostPaymentBody;
1908
+ };
1909
+ result: StorefrontPostPaymentResult;
1910
+ headers: {
1911
+ rateLimitLimit?: number;
1912
+ rateLimitRemaining?: number;
1913
+ };
1914
+ };
1915
+ StorefrontGetPaymentInstrumentCollection: {
1916
+ args: {
1917
+ query?: StorefrontGetPaymentInstrumentCollectionQuery;
1918
+ };
1919
+ result: StorefrontGetPaymentInstrumentCollectionResult;
1920
+ headers: {
1921
+ paginationTotal?: number;
1922
+ paginationLimit?: number;
1923
+ paginationOffset?: number;
1924
+ };
1925
+ };
1926
+ StorefrontPostPaymentInstrument: {
1927
+ args: {
1928
+ body: StorefrontPostPaymentInstrumentBody;
1929
+ };
1930
+ result: StorefrontPostPaymentInstrumentResult;
1931
+ headers: {
1932
+ location?: string;
1933
+ rateLimitLimit?: number;
1934
+ rateLimitRemaining?: number;
1935
+ };
1936
+ };
1937
+ StorefrontGetPaymentInstrument: {
1938
+ args: {
1939
+ path: StorefrontGetPaymentInstrumentPath;
1940
+ query?: StorefrontGetPaymentInstrumentQuery;
1941
+ };
1942
+ result: StorefrontGetPaymentInstrumentResult;
1943
+ headers: {
1944
+ paginationTotal?: number;
1945
+ paginationLimit?: number;
1946
+ paginationOffset?: number;
1947
+ };
1948
+ };
1949
+ StorefrontPatchPaymentInstrument: {
1950
+ args: {
1951
+ path: StorefrontPatchPaymentInstrumentPath;
1952
+ body: StorefrontPatchPaymentInstrumentBody;
1953
+ };
1954
+ result: StorefrontPatchPaymentInstrumentResult;
1955
+ headers: {
1956
+ rateLimitLimit?: number;
1957
+ rateLimitRemaining?: number;
1958
+ };
1959
+ };
1960
+ StorefrontPostPaymentInstrumentDeactivation: {
1961
+ args: {
1962
+ path: StorefrontPostPaymentInstrumentDeactivationPath;
1963
+ };
1964
+ result: StorefrontPostPaymentInstrumentDeactivationResult;
1965
+ headers: {
1966
+ location?: string;
1967
+ rateLimitLimit?: number;
1968
+ rateLimitRemaining?: number;
1969
+ };
1970
+ };
1971
+ StorefrontGetPaymentInstrumentSetup: {
1972
+ args: {
1973
+ path: StorefrontGetPaymentInstrumentSetupPath;
1974
+ };
1975
+ result: StorefrontGetPaymentInstrumentSetupResult;
1976
+ };
1977
+ StorefrontPostPaymentInstrumentSetup: {
1978
+ args: {
1979
+ path: StorefrontPostPaymentInstrumentSetupPath;
1980
+ body: StorefrontPostPaymentInstrumentSetupBody;
1981
+ };
1982
+ result: StorefrontPostPaymentInstrumentSetupResult;
1983
+ headers: {
1984
+ location?: string;
1985
+ rateLimitLimit?: number;
1986
+ rateLimitRemaining?: number;
1987
+ };
1988
+ };
1989
+ StorefrontGetPayoutRequestCollection: {
1990
+ args: {
1991
+ query?: StorefrontGetPayoutRequestCollectionQuery;
1992
+ };
1993
+ result: StorefrontGetPayoutRequestCollectionResult;
1994
+ headers: {
1995
+ paginationTotal?: number;
1996
+ paginationLimit?: number;
1997
+ paginationOffset?: number;
1998
+ };
1999
+ };
2000
+ StorefrontPostPayoutRequest: {
2001
+ args: {
2002
+ body: StorefrontPostPayoutRequestBody;
2003
+ };
2004
+ result: StorefrontPostPayoutRequestResult;
2005
+ headers: {
2006
+ location?: string;
2007
+ };
2008
+ };
2009
+ StorefrontGetPayoutRequest: {
2010
+ args: {
2011
+ path: StorefrontGetPayoutRequestPath;
2012
+ };
2013
+ result: StorefrontGetPayoutRequestResult;
2014
+ };
2015
+ StorefrontPatchPayoutRequest: {
2016
+ args: {
2017
+ path: StorefrontPatchPayoutRequestPath;
2018
+ body?: StorefrontPatchPayoutRequestBody;
2019
+ };
2020
+ result: StorefrontPatchPayoutRequestResult;
2021
+ headers: {
2022
+ rateLimitLimit?: number;
2023
+ rateLimitRemaining?: number;
2024
+ };
2025
+ };
2026
+ StorefrontPostPayoutRequestCancellation: {
2027
+ args: {
2028
+ body: StorefrontPostPayoutRequestCancellationBody;
2029
+ };
2030
+ result: StorefrontPostPayoutRequestCancellationResult;
2031
+ };
2032
+ StorefrontGetPlanCollection: {
2033
+ args: {
2034
+ query?: StorefrontGetPlanCollectionQuery;
2035
+ };
2036
+ result: StorefrontGetPlanCollectionResult;
2037
+ headers: {
2038
+ paginationTotal?: number;
2039
+ paginationLimit?: number;
2040
+ paginationOffset?: number;
2041
+ };
2042
+ };
2043
+ StorefrontGetPlan: {
2044
+ args: {
2045
+ path: StorefrontGetPlanPath;
2046
+ query?: StorefrontGetPlanQuery;
2047
+ };
2048
+ result: StorefrontGetPlanResult;
2049
+ };
2050
+ StorefrontGetProductCollection: {
2051
+ args: {
2052
+ query?: StorefrontGetProductCollectionQuery;
2053
+ };
2054
+ result: StorefrontGetProductCollectionResult;
2055
+ headers: {
2056
+ paginationTotal?: number;
2057
+ paginationLimit?: number;
2058
+ paginationOffset?: number;
2059
+ };
2060
+ };
2061
+ StorefrontGetProduct: {
2062
+ args: {
2063
+ path: StorefrontGetProductPath;
2064
+ };
2065
+ result: StorefrontGetProductResult;
2066
+ };
2067
+ StorefrontPostPurchase: {
2068
+ args: {
2069
+ body?: StorefrontPostPurchaseBody;
2070
+ };
2071
+ result: StorefrontPostPurchaseResult;
2072
+ headers: {
2073
+ location?: string;
2074
+ rateLimitLimit?: number;
2075
+ rateLimitRemaining?: number;
2076
+ };
2077
+ };
2078
+ StorefrontPostPreviewPurchase: {
2079
+ args: {
2080
+ body?: StorefrontPostPreviewPurchaseBody;
2081
+ };
2082
+ result: StorefrontPostPreviewPurchaseResult;
2083
+ headers: {
2084
+ rateLimitLimit?: number;
2085
+ rateLimitRemaining?: number;
2086
+ };
2087
+ };
2088
+ StorefrontGetQuote: {
2089
+ args: {
2090
+ path: StorefrontGetQuotePath;
2091
+ query?: StorefrontGetQuoteQuery;
2092
+ headers?: StorefrontGetQuoteHeaders;
2093
+ };
2094
+ result: StorefrontGetQuoteResult;
2095
+ };
2096
+ StorefrontPostQuoteAcceptance: {
2097
+ args: {
2098
+ path: StorefrontPostQuoteAcceptancePath;
2099
+ };
2100
+ result: StorefrontPostQuoteAcceptanceResult;
2101
+ headers: {
2102
+ rateLimitLimit?: number;
2103
+ rateLimitRemaining?: number;
2104
+ };
2105
+ };
2106
+ StorefrontPostQuoteRejection: {
2107
+ args: {
2108
+ path: StorefrontPostQuoteRejectionPath;
2109
+ };
2110
+ result: StorefrontPostQuoteRejectionResult;
2111
+ headers: {
2112
+ rateLimitLimit?: number;
2113
+ rateLimitRemaining?: number;
2114
+ };
2115
+ };
2116
+ StorefrontPostReadyToPay: {
2117
+ args: {
2118
+ body?: StorefrontPostReadyToPayBody;
2119
+ };
2120
+ result: StorefrontPostReadyToPayResult;
2121
+ headers: {
2122
+ rateLimitLimit?: number;
2123
+ rateLimitRemaining?: number;
2124
+ };
2125
+ };
2126
+ StorefrontPostReadyToPayout: {
2127
+ args: {
2128
+ body?: StorefrontPostReadyToPayoutBody;
2129
+ };
2130
+ result: StorefrontPostReadyToPayoutResult;
2131
+ headers: {
2132
+ rateLimitLimit?: number;
2133
+ rateLimitRemaining?: number;
2134
+ };
2135
+ };
2136
+ StorefrontPostRegister: {
2137
+ args: {
2138
+ body?: StorefrontPostRegisterBody;
2139
+ };
2140
+ result: StorefrontPostRegisterResult;
2141
+ headers: {
2142
+ location?: string;
2143
+ rateLimitLimit?: number;
2144
+ rateLimitRemaining?: number;
2145
+ };
2146
+ };
2147
+ StorefrontPostSubscription: {
2148
+ args: {
2149
+ body: StorefrontPostSubscriptionBody;
2150
+ };
2151
+ result: StorefrontPostSubscriptionResult;
2152
+ headers: {
2153
+ location?: string;
2154
+ rateLimitLimit?: number;
2155
+ rateLimitRemaining?: number;
2156
+ };
2157
+ };
2158
+ StorefrontGetTransactionCollection: {
2159
+ args: {
2160
+ query?: StorefrontGetTransactionCollectionQuery;
2161
+ };
2162
+ result: StorefrontGetTransactionCollectionResult;
2163
+ headers: {
2164
+ paginationTotal?: number;
2165
+ paginationLimit?: number;
2166
+ paginationOffset?: number;
2167
+ };
2168
+ };
2169
+ StorefrontGetTransaction: {
2170
+ args: {
2171
+ path: StorefrontGetTransactionPath;
2172
+ };
2173
+ result: StorefrontGetTransactionResult;
2174
+ };
2175
+ StorefrontGetTransactionDccOffer: {
2176
+ args: {
2177
+ path: StorefrontGetTransactionDccOfferPath;
2178
+ };
2179
+ result: StorefrontGetTransactionDccOfferResult;
2180
+ };
2181
+ StorefrontPatchTransactionDccOffer: {
2182
+ args: {
2183
+ path: StorefrontPatchTransactionDccOfferPath;
2184
+ body?: StorefrontPatchTransactionDccOfferBody;
2185
+ };
2186
+ result: StorefrontPatchTransactionDccOfferResult;
2187
+ headers: {
2188
+ rateLimitLimit?: number;
2189
+ rateLimitRemaining?: number;
2190
+ };
2191
+ };
2192
+ StorefrontPostKycRequestContinue: {
2193
+ args: {
2194
+ path: StorefrontPostKycRequestContinuePath;
2195
+ };
2196
+ result: StorefrontPostKycRequestContinueResult;
2197
+ headers: {
2198
+ rateLimitLimit?: number;
2199
+ rateLimitRemaining?: number;
2200
+ };
2201
+ };
2202
+ StorefrontPostKycRequestBypass: {
2203
+ args: {
2204
+ path: StorefrontPostKycRequestBypassPath;
2205
+ };
2206
+ result: StorefrontPostKycRequestBypassResult;
2207
+ headers: {
2208
+ rateLimitLimit?: number;
2209
+ rateLimitRemaining?: number;
2210
+ };
2211
+ };
2212
+ StorefrontGetWebsite: {
2213
+ args: {
2214
+ path: StorefrontGetWebsitePath;
2215
+ };
2216
+ result: StorefrontGetWebsiteResult;
2217
+ };
2218
+ };
2219
+ /**
2220
+ * The wire-shape descriptor for every operation, keyed by operationId — the data the
2221
+ * runtime routes requests by. Also minification-safe static metadata (method, path,
2222
+ * tags) for cache keys, tracing span names, and request logging.
2223
+ */
2224
+ export declare const OPERATIONS: {
2225
+ readonly StorefrontGetAccount: {
2226
+ readonly id: "StorefrontGetAccount";
2227
+ readonly method: "GET";
2228
+ readonly path: "/storefront/account";
2229
+ readonly tags: readonly ["Storefront account"];
2230
+ readonly params: readonly [{
2231
+ readonly name: "expand";
2232
+ readonly in: "query";
2233
+ }];
2234
+ readonly security: readonly [readonly [{
2235
+ readonly scheme: "CustomerJWT";
2236
+ readonly kind: "bearer";
2237
+ }]];
2238
+ };
2239
+ readonly StorefrontPatchAccount: {
2240
+ readonly id: "StorefrontPatchAccount";
2241
+ readonly method: "PATCH";
2242
+ readonly path: "/storefront/account";
2243
+ readonly tags: readonly ["Storefront account"];
2244
+ readonly body: {
2245
+ readonly contentType: "application/json";
2246
+ };
2247
+ readonly security: readonly [readonly [{
2248
+ readonly scheme: "CustomerJWT";
2249
+ readonly kind: "bearer";
2250
+ }]];
2251
+ readonly responseHeaders: readonly [{
2252
+ readonly name: "rate-limit-limit";
2253
+ readonly key: "rateLimitLimit";
2254
+ readonly type: "number";
2255
+ }, {
2256
+ readonly name: "rate-limit-remaining";
2257
+ readonly key: "rateLimitRemaining";
2258
+ readonly type: "number";
2259
+ }];
2260
+ };
2261
+ readonly StorefrontPostForgotPassword: {
2262
+ readonly id: "StorefrontPostForgotPassword";
2263
+ readonly method: "POST";
2264
+ readonly path: "/storefront/account/forgot-password";
2265
+ readonly tags: readonly ["Storefront account"];
2266
+ readonly body: {
2267
+ readonly contentType: "application/json";
2268
+ };
2269
+ readonly responseKind: "void";
2270
+ readonly security: readonly [readonly [{
2271
+ readonly scheme: "PublishableApiKey";
2272
+ readonly kind: "apiKey";
2273
+ readonly name: "Authorization";
2274
+ readonly in: "header";
2275
+ }]];
2276
+ readonly responseHeaders: readonly [{
2277
+ readonly name: "rate-limit-limit";
2278
+ readonly key: "rateLimitLimit";
2279
+ readonly type: "number";
2280
+ }, {
2281
+ readonly name: "rate-limit-remaining";
2282
+ readonly key: "rateLimitRemaining";
2283
+ readonly type: "number";
2284
+ }];
2285
+ };
2286
+ readonly StorefrontPatchAccountPassword: {
2287
+ readonly id: "StorefrontPatchAccountPassword";
2288
+ readonly method: "PATCH";
2289
+ readonly path: "/storefront/account/password";
2290
+ readonly tags: readonly ["Storefront account"];
2291
+ readonly body: {
2292
+ readonly contentType: "application/json";
2293
+ };
2294
+ readonly security: readonly [readonly [{
2295
+ readonly scheme: "CustomerJWT";
2296
+ readonly kind: "bearer";
2297
+ }]];
2298
+ readonly responseHeaders: readonly [{
2299
+ readonly name: "rate-limit-limit";
2300
+ readonly key: "rateLimitLimit";
2301
+ readonly type: "number";
2302
+ }, {
2303
+ readonly name: "rate-limit-remaining";
2304
+ readonly key: "rateLimitRemaining";
2305
+ readonly type: "number";
2306
+ }];
2307
+ };
2308
+ readonly StorefrontPostAccountResendVerification: {
2309
+ readonly id: "StorefrontPostAccountResendVerification";
2310
+ readonly method: "POST";
2311
+ readonly path: "/storefront/account/resend-verification";
2312
+ readonly tags: readonly ["Storefront account"];
2313
+ readonly body: {
2314
+ readonly contentType: "application/json";
2315
+ };
2316
+ readonly responseKind: "void";
2317
+ readonly security: readonly [readonly [{
2318
+ readonly scheme: "PublishableApiKey";
2319
+ readonly kind: "apiKey";
2320
+ readonly name: "Authorization";
2321
+ readonly in: "header";
2322
+ }]];
2323
+ readonly responseHeaders: readonly [{
2324
+ readonly name: "rate-limit-limit";
2325
+ readonly key: "rateLimitLimit";
2326
+ readonly type: "number";
2327
+ }, {
2328
+ readonly name: "rate-limit-remaining";
2329
+ readonly key: "rateLimitRemaining";
2330
+ readonly type: "number";
2331
+ }];
2332
+ };
2333
+ readonly StorefrontPostResetPassword: {
2334
+ readonly id: "StorefrontPostResetPassword";
2335
+ readonly method: "POST";
2336
+ readonly path: "/storefront/account/reset-password/{token}";
2337
+ readonly tags: readonly ["Storefront account"];
2338
+ readonly params: readonly [{
2339
+ readonly name: "token";
2340
+ readonly in: "path";
2341
+ }];
2342
+ readonly body: {
2343
+ readonly contentType: "application/json";
2344
+ };
2345
+ readonly security: readonly [readonly [{
2346
+ readonly scheme: "PublishableApiKey";
2347
+ readonly kind: "apiKey";
2348
+ readonly name: "Authorization";
2349
+ readonly in: "header";
2350
+ }]];
2351
+ readonly responseHeaders: readonly [{
2352
+ readonly name: "location";
2353
+ readonly key: "location";
2354
+ readonly type: "string";
2355
+ }, {
2356
+ readonly name: "rate-limit-limit";
2357
+ readonly key: "rateLimitLimit";
2358
+ readonly type: "number";
2359
+ }, {
2360
+ readonly name: "rate-limit-remaining";
2361
+ readonly key: "rateLimitRemaining";
2362
+ readonly type: "number";
2363
+ }];
2364
+ };
2365
+ readonly StorefrontPostAccountVerification: {
2366
+ readonly id: "StorefrontPostAccountVerification";
2367
+ readonly method: "POST";
2368
+ readonly path: "/storefront/account/verification/{token}";
2369
+ readonly tags: readonly ["Storefront account"];
2370
+ readonly params: readonly [{
2371
+ readonly name: "token";
2372
+ readonly in: "path";
2373
+ }];
2374
+ readonly responseKind: "void";
2375
+ readonly security: readonly [readonly [{
2376
+ readonly scheme: "PublishableApiKey";
2377
+ readonly kind: "apiKey";
2378
+ readonly name: "Authorization";
2379
+ readonly in: "header";
2380
+ }]];
2381
+ readonly responseHeaders: readonly [{
2382
+ readonly name: "rate-limit-limit";
2383
+ readonly key: "rateLimitLimit";
2384
+ readonly type: "number";
2385
+ }, {
2386
+ readonly name: "rate-limit-remaining";
2387
+ readonly key: "rateLimitRemaining";
2388
+ readonly type: "number";
2389
+ }];
2390
+ };
2391
+ readonly StorefrontGetBillingPortal: {
2392
+ readonly id: "StorefrontGetBillingPortal";
2393
+ readonly method: "GET";
2394
+ readonly path: "/storefront/billing-portals/{slug}";
2395
+ readonly tags: readonly ["Storefront billing portals"];
2396
+ readonly params: readonly [{
2397
+ readonly name: "slug";
2398
+ readonly in: "path";
2399
+ }];
2400
+ };
2401
+ readonly StorefrontGetDepositStrategy: {
2402
+ readonly id: "StorefrontGetDepositStrategy";
2403
+ readonly method: "GET";
2404
+ readonly path: "/storefront/deposit-strategies/{id}";
2405
+ readonly tags: readonly ["Storefront deposits"];
2406
+ readonly params: readonly [{
2407
+ readonly name: "id";
2408
+ readonly in: "path";
2409
+ }];
2410
+ readonly security: readonly [readonly [{
2411
+ readonly scheme: "CustomerJWT";
2412
+ readonly kind: "bearer";
2413
+ }]];
2414
+ };
2415
+ readonly StorefrontGetDepositRequest: {
2416
+ readonly id: "StorefrontGetDepositRequest";
2417
+ readonly method: "GET";
2418
+ readonly path: "/storefront/deposit-requests/{id}";
2419
+ readonly tags: readonly ["Storefront deposits"];
2420
+ readonly params: readonly [{
2421
+ readonly name: "id";
2422
+ readonly in: "path";
2423
+ }, {
2424
+ readonly name: "expand";
2425
+ readonly in: "query";
2426
+ }];
2427
+ readonly security: readonly [readonly [{
2428
+ readonly scheme: "CustomerJWT";
2429
+ readonly kind: "bearer";
2430
+ }]];
2431
+ };
2432
+ readonly StorefrontGetCashier: {
2433
+ readonly id: "StorefrontGetCashier";
2434
+ readonly method: "GET";
2435
+ readonly path: "/storefront/cashiers/{id}";
2436
+ readonly tags: readonly ["Storefront cashiers"];
2437
+ readonly params: readonly [{
2438
+ readonly name: "id";
2439
+ readonly in: "path";
2440
+ }];
2441
+ readonly security: readonly [readonly [{
2442
+ readonly scheme: "CustomerJWT";
2443
+ readonly kind: "bearer";
2444
+ }]];
2445
+ };
2446
+ readonly StorefrontPostDeposit: {
2447
+ readonly id: "StorefrontPostDeposit";
2448
+ readonly method: "POST";
2449
+ readonly path: "/storefront/deposit";
2450
+ readonly tags: readonly ["Storefront deposits"];
2451
+ readonly body: {
2452
+ readonly contentType: "application/json";
2453
+ };
2454
+ readonly security: readonly [readonly [{
2455
+ readonly scheme: "CustomerJWT";
2456
+ readonly kind: "bearer";
2457
+ }]];
2458
+ readonly responseHeaders: readonly [{
2459
+ readonly name: "location";
2460
+ readonly key: "location";
2461
+ readonly type: "string";
2462
+ }, {
2463
+ readonly name: "rate-limit-limit";
2464
+ readonly key: "rateLimitLimit";
2465
+ readonly type: "number";
2466
+ }, {
2467
+ readonly name: "rate-limit-remaining";
2468
+ readonly key: "rateLimitRemaining";
2469
+ readonly type: "number";
2470
+ }];
2471
+ };
2472
+ readonly StorefrontGetCheckoutForm: {
2473
+ readonly id: "StorefrontGetCheckoutForm";
2474
+ readonly method: "GET";
2475
+ readonly path: "/storefront/checkout-forms/{id}";
2476
+ readonly tags: readonly ["Storefront checkout forms"];
2477
+ readonly params: readonly [{
2478
+ readonly name: "id";
2479
+ readonly in: "path";
2480
+ }];
2481
+ };
2482
+ readonly StorefrontGetCustomFieldCollection: {
2483
+ readonly id: "StorefrontGetCustomFieldCollection";
2484
+ readonly method: "GET";
2485
+ readonly path: "/storefront/custom-fields/{resource}";
2486
+ readonly tags: readonly ["Storefront custom fields"];
2487
+ readonly params: readonly [{
2488
+ readonly name: "resource";
2489
+ readonly in: "path";
2490
+ }, {
2491
+ readonly name: "limit";
2492
+ readonly in: "query";
2493
+ }, {
2494
+ readonly name: "offset";
2495
+ readonly in: "query";
2496
+ }];
2497
+ readonly security: readonly [readonly [{
2498
+ readonly scheme: "CustomerJWT";
2499
+ readonly kind: "bearer";
2500
+ }], readonly [{
2501
+ readonly scheme: "PublishableApiKey";
2502
+ readonly kind: "apiKey";
2503
+ readonly name: "Authorization";
2504
+ readonly in: "header";
2505
+ }]];
2506
+ };
2507
+ readonly StorefrontGetInvoiceCollection: {
2508
+ readonly id: "StorefrontGetInvoiceCollection";
2509
+ readonly method: "GET";
2510
+ readonly path: "/storefront/invoices";
2511
+ readonly tags: readonly ["Storefront invoices"];
2512
+ readonly params: readonly [{
2513
+ readonly name: "filter";
2514
+ readonly in: "query";
2515
+ }, {
2516
+ readonly name: "sort";
2517
+ readonly in: "query";
2518
+ readonly style: "form";
2519
+ readonly explode: false;
2520
+ }, {
2521
+ readonly name: "limit";
2522
+ readonly in: "query";
2523
+ }, {
2524
+ readonly name: "offset";
2525
+ readonly in: "query";
2526
+ }, {
2527
+ readonly name: "q";
2528
+ readonly in: "query";
2529
+ }, {
2530
+ readonly name: "expand";
2531
+ readonly in: "query";
2532
+ }];
2533
+ readonly security: readonly [readonly [{
2534
+ readonly scheme: "CustomerJWT";
2535
+ readonly kind: "bearer";
2536
+ }]];
2537
+ readonly responseHeaders: readonly [{
2538
+ readonly name: "pagination-total";
2539
+ readonly key: "paginationTotal";
2540
+ readonly type: "number";
2541
+ }, {
2542
+ readonly name: "pagination-limit";
2543
+ readonly key: "paginationLimit";
2544
+ readonly type: "number";
2545
+ }, {
2546
+ readonly name: "pagination-offset";
2547
+ readonly key: "paginationOffset";
2548
+ readonly type: "number";
2549
+ }];
2550
+ };
2551
+ readonly StorefrontGetInvoice: {
2552
+ readonly id: "StorefrontGetInvoice";
2553
+ readonly method: "GET";
2554
+ readonly path: "/storefront/invoices/{id}";
2555
+ readonly tags: readonly ["Storefront invoices"];
2556
+ readonly params: readonly [{
2557
+ readonly name: "id";
2558
+ readonly in: "path";
2559
+ }, {
2560
+ readonly name: "expand";
2561
+ readonly in: "query";
2562
+ }];
2563
+ readonly security: readonly [readonly [{
2564
+ readonly scheme: "CustomerJWT";
2565
+ readonly kind: "bearer";
2566
+ }]];
2567
+ };
2568
+ readonly StorefrontPatchInvoice: {
2569
+ readonly id: "StorefrontPatchInvoice";
2570
+ readonly method: "PATCH";
2571
+ readonly path: "/storefront/invoices/{id}";
2572
+ readonly tags: readonly ["Storefront invoices"];
2573
+ readonly params: readonly [{
2574
+ readonly name: "id";
2575
+ readonly in: "path";
2576
+ }];
2577
+ readonly body: {
2578
+ readonly contentType: "application/json";
2579
+ };
2580
+ readonly security: readonly [readonly [{
2581
+ readonly scheme: "CustomerJWT";
2582
+ readonly kind: "bearer";
2583
+ }]];
2584
+ readonly responseHeaders: readonly [{
2585
+ readonly name: "rate-limit-limit";
2586
+ readonly key: "rateLimitLimit";
2587
+ readonly type: "number";
2588
+ }, {
2589
+ readonly name: "rate-limit-remaining";
2590
+ readonly key: "rateLimitRemaining";
2591
+ readonly type: "number";
2592
+ }];
2593
+ };
2594
+ readonly StorefrontGetOrderUpcomingInvoice: {
2595
+ readonly id: "StorefrontGetOrderUpcomingInvoice";
2596
+ readonly method: "GET";
2597
+ readonly path: "/storefront/orders/{id}/upcoming-invoice";
2598
+ readonly tags: readonly ["Storefront orders"];
2599
+ readonly params: readonly [{
2600
+ readonly name: "id";
2601
+ readonly in: "path";
2602
+ }, {
2603
+ readonly name: "expand";
2604
+ readonly in: "query";
2605
+ }];
2606
+ readonly security: readonly [readonly [{
2607
+ readonly scheme: "CustomerJWT";
2608
+ readonly kind: "bearer";
2609
+ }]];
2610
+ };
2611
+ readonly StorefrontPostKycDocument: {
2612
+ readonly id: "StorefrontPostKycDocument";
2613
+ readonly method: "POST";
2614
+ readonly path: "/storefront/kyc-documents";
2615
+ readonly tags: readonly ["Storefront KYC documents"];
2616
+ readonly body: {
2617
+ readonly contentType: "application/json";
2618
+ };
2619
+ readonly security: readonly [readonly [{
2620
+ readonly scheme: "CustomerJWT";
2621
+ readonly kind: "bearer";
2622
+ }]];
2623
+ readonly responseHeaders: readonly [{
2624
+ readonly name: "location";
2625
+ readonly key: "location";
2626
+ readonly type: "string";
2627
+ }, {
2628
+ readonly name: "rate-limit-limit";
2629
+ readonly key: "rateLimitLimit";
2630
+ readonly type: "number";
2631
+ }, {
2632
+ readonly name: "rate-limit-remaining";
2633
+ readonly key: "rateLimitRemaining";
2634
+ readonly type: "number";
2635
+ }];
2636
+ };
2637
+ readonly StorefrontGetKycDocument: {
2638
+ readonly id: "StorefrontGetKycDocument";
2639
+ readonly method: "GET";
2640
+ readonly path: "/storefront/kyc-documents/{id}";
2641
+ readonly tags: readonly ["Storefront KYC documents"];
2642
+ readonly params: readonly [{
2643
+ readonly name: "id";
2644
+ readonly in: "path";
2645
+ }];
2646
+ readonly security: readonly [readonly [{
2647
+ readonly scheme: "CustomerJWT";
2648
+ readonly kind: "bearer";
2649
+ }]];
2650
+ };
2651
+ readonly StorefrontPatchKycDocument: {
2652
+ readonly id: "StorefrontPatchKycDocument";
2653
+ readonly method: "PATCH";
2654
+ readonly path: "/storefront/kyc-documents/{id}";
2655
+ readonly tags: readonly ["Storefront KYC documents"];
2656
+ readonly params: readonly [{
2657
+ readonly name: "id";
2658
+ readonly in: "path";
2659
+ }];
2660
+ readonly body: {
2661
+ readonly contentType: "application/json";
2662
+ };
2663
+ readonly security: readonly [readonly [{
2664
+ readonly scheme: "CustomerJWT";
2665
+ readonly kind: "bearer";
2666
+ }]];
2667
+ readonly responseHeaders: readonly [{
2668
+ readonly name: "rate-limit-limit";
2669
+ readonly key: "rateLimitLimit";
2670
+ readonly type: "number";
2671
+ }, {
2672
+ readonly name: "rate-limit-remaining";
2673
+ readonly key: "rateLimitRemaining";
2674
+ readonly type: "number";
2675
+ }];
2676
+ };
2677
+ readonly StorefrontGetKycRequest: {
2678
+ readonly id: "StorefrontGetKycRequest";
2679
+ readonly method: "GET";
2680
+ readonly path: "/storefront/kyc-requests/{id}";
2681
+ readonly tags: readonly ["Storefront KYC documents"];
2682
+ readonly params: readonly [{
2683
+ readonly name: "id";
2684
+ readonly in: "path";
2685
+ }, {
2686
+ readonly name: "expand";
2687
+ readonly in: "query";
2688
+ }];
2689
+ readonly security: readonly [readonly [{
2690
+ readonly scheme: "CustomerJWT";
2691
+ readonly kind: "bearer";
2692
+ }]];
2693
+ };
2694
+ readonly StorefrontPostKycLivenessSession: {
2695
+ readonly id: "StorefrontPostKycLivenessSession";
2696
+ readonly method: "POST";
2697
+ readonly path: "/storefront/kyc-liveness-sessions";
2698
+ readonly tags: readonly ["Storefront KYC documents"];
2699
+ readonly body: {
2700
+ readonly contentType: "application/json";
2701
+ };
2702
+ readonly security: readonly [readonly [{
2703
+ readonly scheme: "CustomerJWT";
2704
+ readonly kind: "bearer";
2705
+ }]];
2706
+ readonly responseHeaders: readonly [{
2707
+ readonly name: "location";
2708
+ readonly key: "location";
2709
+ readonly type: "string";
2710
+ }, {
2711
+ readonly name: "rate-limit-limit";
2712
+ readonly key: "rateLimitLimit";
2713
+ readonly type: "number";
2714
+ }, {
2715
+ readonly name: "rate-limit-remaining";
2716
+ readonly key: "rateLimitRemaining";
2717
+ readonly type: "number";
2718
+ }];
2719
+ };
2720
+ readonly StorefrontGetKycLivenessSession: {
2721
+ readonly id: "StorefrontGetKycLivenessSession";
2722
+ readonly method: "GET";
2723
+ readonly path: "/storefront/kyc-liveness-sessions/{id}";
2724
+ readonly tags: readonly ["Storefront KYC documents"];
2725
+ readonly params: readonly [{
2726
+ readonly name: "id";
2727
+ readonly in: "path";
2728
+ }];
2729
+ readonly security: readonly [readonly [{
2730
+ readonly scheme: "CustomerJWT";
2731
+ readonly kind: "bearer";
2732
+ }]];
2733
+ };
2734
+ readonly StorefrontPostKycLivenessSessionFinish: {
2735
+ readonly id: "StorefrontPostKycLivenessSessionFinish";
2736
+ readonly method: "POST";
2737
+ readonly path: "/storefront/kyc-liveness-sessions/{id}/finish";
2738
+ readonly tags: readonly ["Storefront KYC documents"];
2739
+ readonly params: readonly [{
2740
+ readonly name: "id";
2741
+ readonly in: "path";
2742
+ }];
2743
+ readonly security: readonly [readonly [{
2744
+ readonly scheme: "CustomerJWT";
2745
+ readonly kind: "bearer";
2746
+ }]];
2747
+ readonly responseHeaders: readonly [{
2748
+ readonly name: "location";
2749
+ readonly key: "location";
2750
+ readonly type: "string";
2751
+ }, {
2752
+ readonly name: "rate-limit-limit";
2753
+ readonly key: "rateLimitLimit";
2754
+ readonly type: "number";
2755
+ }, {
2756
+ readonly name: "rate-limit-remaining";
2757
+ readonly key: "rateLimitRemaining";
2758
+ readonly type: "number";
2759
+ }];
2760
+ };
2761
+ readonly StorefrontPostLogin: {
2762
+ readonly id: "StorefrontPostLogin";
2763
+ readonly method: "POST";
2764
+ readonly path: "/storefront/login";
2765
+ readonly tags: readonly ["Storefront account"];
2766
+ readonly body: {
2767
+ readonly contentType: "application/json";
2768
+ };
2769
+ readonly security: readonly [readonly [{
2770
+ readonly scheme: "PublishableApiKey";
2771
+ readonly kind: "apiKey";
2772
+ readonly name: "Authorization";
2773
+ readonly in: "header";
2774
+ }]];
2775
+ readonly responseHeaders: readonly [{
2776
+ readonly name: "location";
2777
+ readonly key: "location";
2778
+ readonly type: "string";
2779
+ }, {
2780
+ readonly name: "rate-limit-limit";
2781
+ readonly key: "rateLimitLimit";
2782
+ readonly type: "number";
2783
+ }, {
2784
+ readonly name: "rate-limit-remaining";
2785
+ readonly key: "rateLimitRemaining";
2786
+ readonly type: "number";
2787
+ }];
2788
+ };
2789
+ readonly StorefrontPostLogout: {
2790
+ readonly id: "StorefrontPostLogout";
2791
+ readonly method: "POST";
2792
+ readonly path: "/storefront/logout";
2793
+ readonly tags: readonly ["Storefront account"];
2794
+ readonly responseKind: "void";
2795
+ readonly security: readonly [readonly [{
2796
+ readonly scheme: "CustomerJWT";
2797
+ readonly kind: "bearer";
2798
+ }]];
2799
+ readonly responseHeaders: readonly [{
2800
+ readonly name: "rate-limit-limit";
2801
+ readonly key: "rateLimitLimit";
2802
+ readonly type: "number";
2803
+ }, {
2804
+ readonly name: "rate-limit-remaining";
2805
+ readonly key: "rateLimitRemaining";
2806
+ readonly type: "number";
2807
+ }];
2808
+ };
2809
+ readonly StorefrontGetOrderCollection: {
2810
+ readonly id: "StorefrontGetOrderCollection";
2811
+ readonly method: "GET";
2812
+ readonly path: "/storefront/orders";
2813
+ readonly tags: readonly ["Storefront orders"];
2814
+ readonly params: readonly [{
2815
+ readonly name: "filter";
2816
+ readonly in: "query";
2817
+ }, {
2818
+ readonly name: "sort";
2819
+ readonly in: "query";
2820
+ readonly style: "form";
2821
+ readonly explode: false;
2822
+ }, {
2823
+ readonly name: "limit";
2824
+ readonly in: "query";
2825
+ }, {
2826
+ readonly name: "offset";
2827
+ readonly in: "query";
2828
+ }, {
2829
+ readonly name: "q";
2830
+ readonly in: "query";
2831
+ }, {
2832
+ readonly name: "expand";
2833
+ readonly in: "query";
2834
+ }];
2835
+ readonly security: readonly [readonly [{
2836
+ readonly scheme: "CustomerJWT";
2837
+ readonly kind: "bearer";
2838
+ }]];
2839
+ readonly responseHeaders: readonly [{
2840
+ readonly name: "pagination-total";
2841
+ readonly key: "paginationTotal";
2842
+ readonly type: "number";
2843
+ }, {
2844
+ readonly name: "pagination-limit";
2845
+ readonly key: "paginationLimit";
2846
+ readonly type: "number";
2847
+ }, {
2848
+ readonly name: "pagination-offset";
2849
+ readonly key: "paginationOffset";
2850
+ readonly type: "number";
2851
+ }];
2852
+ };
2853
+ readonly StorefrontGetOrder: {
2854
+ readonly id: "StorefrontGetOrder";
2855
+ readonly method: "GET";
2856
+ readonly path: "/storefront/orders/{id}";
2857
+ readonly tags: readonly ["Storefront orders"];
2858
+ readonly params: readonly [{
2859
+ readonly name: "id";
2860
+ readonly in: "path";
2861
+ }, {
2862
+ readonly name: "expand";
2863
+ readonly in: "query";
2864
+ }];
2865
+ readonly security: readonly [readonly [{
2866
+ readonly scheme: "CustomerJWT";
2867
+ readonly kind: "bearer";
2868
+ }]];
2869
+ };
2870
+ readonly StorefrontPatchOrder: {
2871
+ readonly id: "StorefrontPatchOrder";
2872
+ readonly method: "PATCH";
2873
+ readonly path: "/storefront/orders/{id}";
2874
+ readonly tags: readonly ["Storefront orders"];
2875
+ readonly params: readonly [{
2876
+ readonly name: "id";
2877
+ readonly in: "path";
2878
+ }];
2879
+ readonly body: {
2880
+ readonly contentType: "application/json";
2881
+ };
2882
+ readonly security: readonly [readonly [{
2883
+ readonly scheme: "CustomerJWT";
2884
+ readonly kind: "bearer";
2885
+ }]];
2886
+ readonly responseHeaders: readonly [{
2887
+ readonly name: "rate-limit-limit";
2888
+ readonly key: "rateLimitLimit";
2889
+ readonly type: "number";
2890
+ }, {
2891
+ readonly name: "rate-limit-remaining";
2892
+ readonly key: "rateLimitRemaining";
2893
+ readonly type: "number";
2894
+ }];
2895
+ };
2896
+ readonly StorefrontPostOrderCancellation: {
2897
+ readonly id: "StorefrontPostOrderCancellation";
2898
+ readonly method: "POST";
2899
+ readonly path: "/storefront/orders/{id}/cancellation";
2900
+ readonly tags: readonly ["Storefront orders"];
2901
+ readonly params: readonly [{
2902
+ readonly name: "id";
2903
+ readonly in: "path";
2904
+ }];
2905
+ readonly body: {
2906
+ readonly contentType: "application/json";
2907
+ };
2908
+ readonly security: readonly [readonly [{
2909
+ readonly scheme: "CustomerJWT";
2910
+ readonly kind: "bearer";
2911
+ }]];
2912
+ readonly responseHeaders: readonly [{
2913
+ readonly name: "location";
2914
+ readonly key: "location";
2915
+ readonly type: "string";
2916
+ }, {
2917
+ readonly name: "rate-limit-limit";
2918
+ readonly key: "rateLimitLimit";
2919
+ readonly type: "number";
2920
+ }, {
2921
+ readonly name: "rate-limit-remaining";
2922
+ readonly key: "rateLimitRemaining";
2923
+ readonly type: "number";
2924
+ }];
2925
+ };
2926
+ readonly StorefrontPostOrderPause: {
2927
+ readonly id: "StorefrontPostOrderPause";
2928
+ readonly method: "POST";
2929
+ readonly path: "/storefront/orders/{id}/pause";
2930
+ readonly tags: readonly ["Storefront orders"];
2931
+ readonly params: readonly [{
2932
+ readonly name: "id";
2933
+ readonly in: "path";
2934
+ }];
2935
+ readonly body: {
2936
+ readonly contentType: "application/json";
2937
+ };
2938
+ readonly security: readonly [readonly [{
2939
+ readonly scheme: "CustomerJWT";
2940
+ readonly kind: "bearer";
2941
+ }]];
2942
+ readonly responseHeaders: readonly [{
2943
+ readonly name: "location";
2944
+ readonly key: "location";
2945
+ readonly type: "string";
2946
+ }, {
2947
+ readonly name: "rate-limit-limit";
2948
+ readonly key: "rateLimitLimit";
2949
+ readonly type: "number";
2950
+ }, {
2951
+ readonly name: "rate-limit-remaining";
2952
+ readonly key: "rateLimitRemaining";
2953
+ readonly type: "number";
2954
+ }];
2955
+ };
2956
+ readonly StorefrontPostSubscriptionItemsChange: {
2957
+ readonly id: "StorefrontPostSubscriptionItemsChange";
2958
+ readonly method: "POST";
2959
+ readonly path: "/storefront/subscriptions/{id}/change-items";
2960
+ readonly tags: readonly ["Storefront orders"];
2961
+ readonly params: readonly [{
2962
+ readonly name: "id";
2963
+ readonly in: "path";
2964
+ }];
2965
+ readonly body: {
2966
+ readonly contentType: "application/json";
2967
+ };
2968
+ readonly security: readonly [readonly [{
2969
+ readonly scheme: "CustomerJWT";
2970
+ readonly kind: "bearer";
2971
+ }]];
2972
+ readonly responseHeaders: readonly [{
2973
+ readonly name: "location";
2974
+ readonly key: "location";
2975
+ readonly type: "string";
2976
+ }, {
2977
+ readonly name: "rate-limit-limit";
2978
+ readonly key: "rateLimitLimit";
2979
+ readonly type: "number";
2980
+ }, {
2981
+ readonly name: "rate-limit-remaining";
2982
+ readonly key: "rateLimitRemaining";
2983
+ readonly type: "number";
2984
+ }];
2985
+ };
2986
+ readonly StorefrontGetOrderChangeCollection: {
2987
+ readonly id: "StorefrontGetOrderChangeCollection";
2988
+ readonly method: "GET";
2989
+ readonly path: "/storefront/order-changes";
2990
+ readonly tags: readonly ["Storefront orders"];
2991
+ readonly params: readonly [{
2992
+ readonly name: "limit";
2993
+ readonly in: "query";
2994
+ }, {
2995
+ readonly name: "offset";
2996
+ readonly in: "query";
2997
+ }, {
2998
+ readonly name: "filter";
2999
+ readonly in: "query";
3000
+ }];
3001
+ readonly security: readonly [readonly [{
3002
+ readonly scheme: "CustomerJWT";
3003
+ readonly kind: "bearer";
3004
+ }]];
3005
+ readonly responseHeaders: readonly [{
3006
+ readonly name: "pagination-total";
3007
+ readonly key: "paginationTotal";
3008
+ readonly type: "number";
3009
+ }, {
3010
+ readonly name: "pagination-limit";
3011
+ readonly key: "paginationLimit";
3012
+ readonly type: "number";
3013
+ }, {
3014
+ readonly name: "pagination-offset";
3015
+ readonly key: "paginationOffset";
3016
+ readonly type: "number";
3017
+ }];
3018
+ };
3019
+ readonly StorefrontDeleteOrderChange: {
3020
+ readonly id: "StorefrontDeleteOrderChange";
3021
+ readonly method: "DELETE";
3022
+ readonly path: "/storefront/order-changes/{id}";
3023
+ readonly tags: readonly ["Storefront orders"];
3024
+ readonly params: readonly [{
3025
+ readonly name: "id";
3026
+ readonly in: "path";
3027
+ }];
3028
+ readonly responseKind: "void";
3029
+ readonly security: readonly [readonly [{
3030
+ readonly scheme: "CustomerJWT";
3031
+ readonly kind: "bearer";
3032
+ }]];
3033
+ readonly responseHeaders: readonly [{
3034
+ readonly name: "rate-limit-limit";
3035
+ readonly key: "rateLimitLimit";
3036
+ readonly type: "number";
3037
+ }, {
3038
+ readonly name: "rate-limit-remaining";
3039
+ readonly key: "rateLimitRemaining";
3040
+ readonly type: "number";
3041
+ }];
3042
+ };
3043
+ readonly StorefrontPostSubscriptionReactivation: {
3044
+ readonly id: "StorefrontPostSubscriptionReactivation";
3045
+ readonly method: "POST";
3046
+ readonly path: "/storefront/subscription-reactivations";
3047
+ readonly tags: readonly ["Storefront orders"];
3048
+ readonly body: {
3049
+ readonly contentType: "application/json";
3050
+ };
3051
+ readonly security: readonly [readonly [{
3052
+ readonly scheme: "CustomerJWT";
3053
+ readonly kind: "bearer";
3054
+ }]];
3055
+ };
3056
+ readonly StorefrontPostPayment: {
3057
+ readonly id: "StorefrontPostPayment";
3058
+ readonly method: "POST";
3059
+ readonly path: "/storefront/payment";
3060
+ readonly tags: readonly ["Storefront purchases"];
3061
+ readonly body: {
3062
+ readonly contentType: "application/json";
3063
+ };
3064
+ readonly security: readonly [readonly [{
3065
+ readonly scheme: "CustomerJWT";
3066
+ readonly kind: "bearer";
3067
+ }], readonly [{
3068
+ readonly scheme: "PublishableApiKey";
3069
+ readonly kind: "apiKey";
3070
+ readonly name: "Authorization";
3071
+ readonly in: "header";
3072
+ }]];
3073
+ readonly responseHeaders: readonly [{
3074
+ readonly name: "rate-limit-limit";
3075
+ readonly key: "rateLimitLimit";
3076
+ readonly type: "number";
3077
+ }, {
3078
+ readonly name: "rate-limit-remaining";
3079
+ readonly key: "rateLimitRemaining";
3080
+ readonly type: "number";
3081
+ }];
3082
+ };
3083
+ readonly StorefrontGetPaymentInstrumentCollection: {
3084
+ readonly id: "StorefrontGetPaymentInstrumentCollection";
3085
+ readonly method: "GET";
3086
+ readonly path: "/storefront/payment-instruments";
3087
+ readonly tags: readonly ["Storefront payment instruments"];
3088
+ readonly params: readonly [{
3089
+ readonly name: "filter";
3090
+ readonly in: "query";
3091
+ }, {
3092
+ readonly name: "sort";
3093
+ readonly in: "query";
3094
+ readonly style: "form";
3095
+ readonly explode: false;
3096
+ }, {
3097
+ readonly name: "limit";
3098
+ readonly in: "query";
3099
+ }, {
3100
+ readonly name: "offset";
3101
+ readonly in: "query";
3102
+ }, {
3103
+ readonly name: "q";
3104
+ readonly in: "query";
3105
+ }];
3106
+ readonly security: readonly [readonly [{
3107
+ readonly scheme: "CustomerJWT";
3108
+ readonly kind: "bearer";
3109
+ }]];
3110
+ readonly responseHeaders: readonly [{
3111
+ readonly name: "pagination-total";
3112
+ readonly key: "paginationTotal";
3113
+ readonly type: "number";
3114
+ }, {
3115
+ readonly name: "pagination-limit";
3116
+ readonly key: "paginationLimit";
3117
+ readonly type: "number";
3118
+ }, {
3119
+ readonly name: "pagination-offset";
3120
+ readonly key: "paginationOffset";
3121
+ readonly type: "number";
3122
+ }];
3123
+ };
3124
+ readonly StorefrontPostPaymentInstrument: {
3125
+ readonly id: "StorefrontPostPaymentInstrument";
3126
+ readonly method: "POST";
3127
+ readonly path: "/storefront/payment-instruments";
3128
+ readonly tags: readonly ["Storefront payment instruments"];
3129
+ readonly body: {
3130
+ readonly contentType: "application/json";
3131
+ };
3132
+ readonly security: readonly [readonly [{
3133
+ readonly scheme: "CustomerJWT";
3134
+ readonly kind: "bearer";
3135
+ }], readonly [{
3136
+ readonly scheme: "PublishableApiKey";
3137
+ readonly kind: "apiKey";
3138
+ readonly name: "Authorization";
3139
+ readonly in: "header";
3140
+ }]];
3141
+ readonly responseHeaders: readonly [{
3142
+ readonly name: "location";
3143
+ readonly key: "location";
3144
+ readonly type: "string";
3145
+ }, {
3146
+ readonly name: "rate-limit-limit";
3147
+ readonly key: "rateLimitLimit";
3148
+ readonly type: "number";
3149
+ }, {
3150
+ readonly name: "rate-limit-remaining";
3151
+ readonly key: "rateLimitRemaining";
3152
+ readonly type: "number";
3153
+ }];
3154
+ };
3155
+ readonly StorefrontGetPaymentInstrument: {
3156
+ readonly id: "StorefrontGetPaymentInstrument";
3157
+ readonly method: "GET";
3158
+ readonly path: "/storefront/payment-instruments/{id}";
3159
+ readonly tags: readonly ["Storefront payment instruments"];
3160
+ readonly params: readonly [{
3161
+ readonly name: "id";
3162
+ readonly in: "path";
3163
+ }, {
3164
+ readonly name: "limit";
3165
+ readonly in: "query";
3166
+ }, {
3167
+ readonly name: "offset";
3168
+ readonly in: "query";
3169
+ }];
3170
+ readonly security: readonly [readonly [{
3171
+ readonly scheme: "CustomerJWT";
3172
+ readonly kind: "bearer";
3173
+ }]];
3174
+ readonly responseHeaders: readonly [{
3175
+ readonly name: "pagination-total";
3176
+ readonly key: "paginationTotal";
3177
+ readonly type: "number";
3178
+ }, {
3179
+ readonly name: "pagination-limit";
3180
+ readonly key: "paginationLimit";
3181
+ readonly type: "number";
3182
+ }, {
3183
+ readonly name: "pagination-offset";
3184
+ readonly key: "paginationOffset";
3185
+ readonly type: "number";
3186
+ }];
3187
+ };
3188
+ readonly StorefrontPatchPaymentInstrument: {
3189
+ readonly id: "StorefrontPatchPaymentInstrument";
3190
+ readonly method: "PATCH";
3191
+ readonly path: "/storefront/payment-instruments/{id}";
3192
+ readonly tags: readonly ["Storefront payment instruments"];
3193
+ readonly params: readonly [{
3194
+ readonly name: "id";
3195
+ readonly in: "path";
3196
+ }];
3197
+ readonly body: {
3198
+ readonly contentType: "application/json";
3199
+ };
3200
+ readonly security: readonly [readonly [{
3201
+ readonly scheme: "CustomerJWT";
3202
+ readonly kind: "bearer";
3203
+ }]];
3204
+ readonly responseHeaders: readonly [{
3205
+ readonly name: "rate-limit-limit";
3206
+ readonly key: "rateLimitLimit";
3207
+ readonly type: "number";
3208
+ }, {
3209
+ readonly name: "rate-limit-remaining";
3210
+ readonly key: "rateLimitRemaining";
3211
+ readonly type: "number";
3212
+ }];
3213
+ };
3214
+ readonly StorefrontPostPaymentInstrumentDeactivation: {
3215
+ readonly id: "StorefrontPostPaymentInstrumentDeactivation";
3216
+ readonly method: "POST";
3217
+ readonly path: "/storefront/payment-instruments/{id}/deactivation";
3218
+ readonly tags: readonly ["Storefront payment instruments"];
3219
+ readonly params: readonly [{
3220
+ readonly name: "id";
3221
+ readonly in: "path";
3222
+ }];
3223
+ readonly security: readonly [readonly [{
3224
+ readonly scheme: "CustomerJWT";
3225
+ readonly kind: "bearer";
3226
+ }]];
3227
+ readonly responseHeaders: readonly [{
3228
+ readonly name: "location";
3229
+ readonly key: "location";
3230
+ readonly type: "string";
3231
+ }, {
3232
+ readonly name: "rate-limit-limit";
3233
+ readonly key: "rateLimitLimit";
3234
+ readonly type: "number";
3235
+ }, {
3236
+ readonly name: "rate-limit-remaining";
3237
+ readonly key: "rateLimitRemaining";
3238
+ readonly type: "number";
3239
+ }];
3240
+ };
3241
+ readonly StorefrontGetPaymentInstrumentSetup: {
3242
+ readonly id: "StorefrontGetPaymentInstrumentSetup";
3243
+ readonly method: "GET";
3244
+ readonly path: "/storefront/payment-instruments/{id}/setup";
3245
+ readonly tags: readonly ["Storefront payment instruments"];
3246
+ readonly params: readonly [{
3247
+ readonly name: "id";
3248
+ readonly in: "path";
3249
+ }];
3250
+ readonly security: readonly [readonly [{
3251
+ readonly scheme: "CustomerJWT";
3252
+ readonly kind: "bearer";
3253
+ }]];
3254
+ };
3255
+ readonly StorefrontPostPaymentInstrumentSetup: {
3256
+ readonly id: "StorefrontPostPaymentInstrumentSetup";
3257
+ readonly method: "POST";
3258
+ readonly path: "/storefront/payment-instruments/{id}/setup";
3259
+ readonly tags: readonly ["Storefront payment instruments"];
3260
+ readonly params: readonly [{
3261
+ readonly name: "id";
3262
+ readonly in: "path";
3263
+ }];
3264
+ readonly body: {
3265
+ readonly contentType: "application/json";
3266
+ };
3267
+ readonly security: readonly [readonly [{
3268
+ readonly scheme: "CustomerJWT";
3269
+ readonly kind: "bearer";
3270
+ }]];
3271
+ readonly responseHeaders: readonly [{
3272
+ readonly name: "location";
3273
+ readonly key: "location";
3274
+ readonly type: "string";
3275
+ }, {
3276
+ readonly name: "rate-limit-limit";
3277
+ readonly key: "rateLimitLimit";
3278
+ readonly type: "number";
3279
+ }, {
3280
+ readonly name: "rate-limit-remaining";
3281
+ readonly key: "rateLimitRemaining";
3282
+ readonly type: "number";
3283
+ }];
3284
+ };
3285
+ readonly StorefrontGetPayoutRequestCollection: {
3286
+ readonly id: "StorefrontGetPayoutRequestCollection";
3287
+ readonly method: "GET";
3288
+ readonly path: "/storefront/payout-requests";
3289
+ readonly tags: readonly ["Storefront transactions"];
3290
+ readonly params: readonly [{
3291
+ readonly name: "filter";
3292
+ readonly in: "query";
3293
+ }, {
3294
+ readonly name: "sort";
3295
+ readonly in: "query";
3296
+ readonly style: "form";
3297
+ readonly explode: false;
3298
+ }, {
3299
+ readonly name: "limit";
3300
+ readonly in: "query";
3301
+ }, {
3302
+ readonly name: "offset";
3303
+ readonly in: "query";
3304
+ }, {
3305
+ readonly name: "q";
3306
+ readonly in: "query";
3307
+ }];
3308
+ readonly security: readonly [readonly [{
3309
+ readonly scheme: "CustomerJWT";
3310
+ readonly kind: "bearer";
3311
+ }]];
3312
+ readonly responseHeaders: readonly [{
3313
+ readonly name: "pagination-total";
3314
+ readonly key: "paginationTotal";
3315
+ readonly type: "number";
3316
+ }, {
3317
+ readonly name: "pagination-limit";
3318
+ readonly key: "paginationLimit";
3319
+ readonly type: "number";
3320
+ }, {
3321
+ readonly name: "pagination-offset";
3322
+ readonly key: "paginationOffset";
3323
+ readonly type: "number";
3324
+ }];
3325
+ };
3326
+ readonly StorefrontPostPayoutRequest: {
3327
+ readonly id: "StorefrontPostPayoutRequest";
3328
+ readonly method: "POST";
3329
+ readonly path: "/storefront/payout-requests";
3330
+ readonly tags: readonly ["Storefront transactions"];
3331
+ readonly body: {
3332
+ readonly contentType: "application/json";
3333
+ };
3334
+ readonly security: readonly [readonly [{
3335
+ readonly scheme: "CustomerJWT";
3336
+ readonly kind: "bearer";
3337
+ }]];
3338
+ readonly responseHeaders: readonly [{
3339
+ readonly name: "location";
3340
+ readonly key: "location";
3341
+ readonly type: "string";
3342
+ }];
3343
+ };
3344
+ readonly StorefrontGetPayoutRequest: {
3345
+ readonly id: "StorefrontGetPayoutRequest";
3346
+ readonly method: "GET";
3347
+ readonly path: "/storefront/payout-requests/{id}";
3348
+ readonly tags: readonly ["Storefront transactions"];
3349
+ readonly params: readonly [{
3350
+ readonly name: "id";
3351
+ readonly in: "path";
3352
+ }];
3353
+ readonly security: readonly [readonly [{
3354
+ readonly scheme: "CustomerJWT";
3355
+ readonly kind: "bearer";
3356
+ }]];
3357
+ };
3358
+ readonly StorefrontPatchPayoutRequest: {
3359
+ readonly id: "StorefrontPatchPayoutRequest";
3360
+ readonly method: "PATCH";
3361
+ readonly path: "/storefront/payout-requests/{id}";
3362
+ readonly tags: readonly ["Storefront transactions"];
3363
+ readonly params: readonly [{
3364
+ readonly name: "id";
3365
+ readonly in: "path";
3366
+ }];
3367
+ readonly body: {
3368
+ readonly contentType: "application/json";
3369
+ };
3370
+ readonly security: readonly [readonly [{
3371
+ readonly scheme: "CustomerJWT";
3372
+ readonly kind: "bearer";
3373
+ }]];
3374
+ readonly responseHeaders: readonly [{
3375
+ readonly name: "rate-limit-limit";
3376
+ readonly key: "rateLimitLimit";
3377
+ readonly type: "number";
3378
+ }, {
3379
+ readonly name: "rate-limit-remaining";
3380
+ readonly key: "rateLimitRemaining";
3381
+ readonly type: "number";
3382
+ }];
3383
+ };
3384
+ readonly StorefrontPostPayoutRequestCancellation: {
3385
+ readonly id: "StorefrontPostPayoutRequestCancellation";
3386
+ readonly method: "POST";
3387
+ readonly path: "/storefront/payout-request-cancellations";
3388
+ readonly tags: readonly ["Storefront cashiers"];
3389
+ readonly body: {
3390
+ readonly contentType: "application/json";
3391
+ };
3392
+ readonly security: readonly [readonly [{
3393
+ readonly scheme: "CustomerJWT";
3394
+ readonly kind: "bearer";
3395
+ }]];
3396
+ };
3397
+ readonly StorefrontGetPlanCollection: {
3398
+ readonly id: "StorefrontGetPlanCollection";
3399
+ readonly method: "GET";
3400
+ readonly path: "/storefront/plans";
3401
+ readonly tags: readonly ["Storefront plans"];
3402
+ readonly params: readonly [{
3403
+ readonly name: "filter";
3404
+ readonly in: "query";
3405
+ }, {
3406
+ readonly name: "sort";
3407
+ readonly in: "query";
3408
+ readonly style: "form";
3409
+ readonly explode: false;
3410
+ }, {
3411
+ readonly name: "limit";
3412
+ readonly in: "query";
3413
+ }, {
3414
+ readonly name: "offset";
3415
+ readonly in: "query";
3416
+ }, {
3417
+ readonly name: "q";
3418
+ readonly in: "query";
3419
+ }, {
3420
+ readonly name: "expand";
3421
+ readonly in: "query";
3422
+ }];
3423
+ readonly security: readonly [readonly [{
3424
+ readonly scheme: "CustomerJWT";
3425
+ readonly kind: "bearer";
3426
+ }], readonly [{
3427
+ readonly scheme: "PublishableApiKey";
3428
+ readonly kind: "apiKey";
3429
+ readonly name: "Authorization";
3430
+ readonly in: "header";
3431
+ }]];
3432
+ readonly responseHeaders: readonly [{
3433
+ readonly name: "pagination-total";
3434
+ readonly key: "paginationTotal";
3435
+ readonly type: "number";
3436
+ }, {
3437
+ readonly name: "pagination-limit";
3438
+ readonly key: "paginationLimit";
3439
+ readonly type: "number";
3440
+ }, {
3441
+ readonly name: "pagination-offset";
3442
+ readonly key: "paginationOffset";
3443
+ readonly type: "number";
3444
+ }];
3445
+ };
3446
+ readonly StorefrontGetPlan: {
3447
+ readonly id: "StorefrontGetPlan";
3448
+ readonly method: "GET";
3449
+ readonly path: "/storefront/plans/{id}";
3450
+ readonly tags: readonly ["Storefront plans"];
3451
+ readonly params: readonly [{
3452
+ readonly name: "id";
3453
+ readonly in: "path";
3454
+ }, {
3455
+ readonly name: "expand";
3456
+ readonly in: "query";
3457
+ }];
3458
+ readonly security: readonly [readonly [{
3459
+ readonly scheme: "CustomerJWT";
3460
+ readonly kind: "bearer";
3461
+ }], readonly [{
3462
+ readonly scheme: "PublishableApiKey";
3463
+ readonly kind: "apiKey";
3464
+ readonly name: "Authorization";
3465
+ readonly in: "header";
3466
+ }]];
3467
+ };
3468
+ readonly StorefrontGetProductCollection: {
3469
+ readonly id: "StorefrontGetProductCollection";
3470
+ readonly method: "GET";
3471
+ readonly path: "/storefront/products";
3472
+ readonly tags: readonly ["Storefront products"];
3473
+ readonly params: readonly [{
3474
+ readonly name: "filter";
3475
+ readonly in: "query";
3476
+ }, {
3477
+ readonly name: "sort";
3478
+ readonly in: "query";
3479
+ readonly style: "form";
3480
+ readonly explode: false;
3481
+ }, {
3482
+ readonly name: "limit";
3483
+ readonly in: "query";
3484
+ }, {
3485
+ readonly name: "offset";
3486
+ readonly in: "query";
3487
+ }, {
3488
+ readonly name: "q";
3489
+ readonly in: "query";
3490
+ }];
3491
+ readonly security: readonly [readonly [{
3492
+ readonly scheme: "CustomerJWT";
3493
+ readonly kind: "bearer";
3494
+ }], readonly [{
3495
+ readonly scheme: "PublishableApiKey";
3496
+ readonly kind: "apiKey";
3497
+ readonly name: "Authorization";
3498
+ readonly in: "header";
3499
+ }]];
3500
+ readonly responseHeaders: readonly [{
3501
+ readonly name: "pagination-total";
3502
+ readonly key: "paginationTotal";
3503
+ readonly type: "number";
3504
+ }, {
3505
+ readonly name: "pagination-limit";
3506
+ readonly key: "paginationLimit";
3507
+ readonly type: "number";
3508
+ }, {
3509
+ readonly name: "pagination-offset";
3510
+ readonly key: "paginationOffset";
3511
+ readonly type: "number";
3512
+ }];
3513
+ };
3514
+ readonly StorefrontGetProduct: {
3515
+ readonly id: "StorefrontGetProduct";
3516
+ readonly method: "GET";
3517
+ readonly path: "/storefront/products/{id}";
3518
+ readonly tags: readonly ["Storefront products"];
3519
+ readonly params: readonly [{
3520
+ readonly name: "id";
3521
+ readonly in: "path";
3522
+ }];
3523
+ readonly security: readonly [readonly [{
3524
+ readonly scheme: "CustomerJWT";
3525
+ readonly kind: "bearer";
3526
+ }], readonly [{
3527
+ readonly scheme: "PublishableApiKey";
3528
+ readonly kind: "apiKey";
3529
+ readonly name: "Authorization";
3530
+ readonly in: "header";
3531
+ }]];
3532
+ };
3533
+ readonly StorefrontPostPurchase: {
3534
+ readonly id: "StorefrontPostPurchase";
3535
+ readonly method: "POST";
3536
+ readonly path: "/storefront/purchase";
3537
+ readonly tags: readonly ["Storefront purchases"];
3538
+ readonly body: {
3539
+ readonly contentType: "application/json";
3540
+ };
3541
+ readonly security: readonly [readonly [{
3542
+ readonly scheme: "CustomerJWT";
3543
+ readonly kind: "bearer";
3544
+ }], readonly [{
3545
+ readonly scheme: "PublishableApiKey";
3546
+ readonly kind: "apiKey";
3547
+ readonly name: "Authorization";
3548
+ readonly in: "header";
3549
+ }]];
3550
+ readonly responseHeaders: readonly [{
3551
+ readonly name: "location";
3552
+ readonly key: "location";
3553
+ readonly type: "string";
3554
+ }, {
3555
+ readonly name: "rate-limit-limit";
3556
+ readonly key: "rateLimitLimit";
3557
+ readonly type: "number";
3558
+ }, {
3559
+ readonly name: "rate-limit-remaining";
3560
+ readonly key: "rateLimitRemaining";
3561
+ readonly type: "number";
3562
+ }];
3563
+ };
3564
+ readonly StorefrontPostPreviewPurchase: {
3565
+ readonly id: "StorefrontPostPreviewPurchase";
3566
+ readonly method: "POST";
3567
+ readonly path: "/storefront/preview-purchase";
3568
+ readonly tags: readonly ["Storefront purchases"];
3569
+ readonly body: {
3570
+ readonly contentType: "application/json";
3571
+ };
3572
+ readonly security: readonly [readonly [{
3573
+ readonly scheme: "CustomerJWT";
3574
+ readonly kind: "bearer";
3575
+ }], readonly [{
3576
+ readonly scheme: "PublishableApiKey";
3577
+ readonly kind: "apiKey";
3578
+ readonly name: "Authorization";
3579
+ readonly in: "header";
3580
+ }]];
3581
+ readonly responseHeaders: readonly [{
3582
+ readonly name: "rate-limit-limit";
3583
+ readonly key: "rateLimitLimit";
3584
+ readonly type: "number";
3585
+ }, {
3586
+ readonly name: "rate-limit-remaining";
3587
+ readonly key: "rateLimitRemaining";
3588
+ readonly type: "number";
3589
+ }];
3590
+ };
3591
+ readonly StorefrontGetQuote: {
3592
+ readonly id: "StorefrontGetQuote";
3593
+ readonly method: "GET";
3594
+ readonly path: "/storefront/quotes/{id}";
3595
+ readonly tags: readonly ["Storefront quotes"];
3596
+ readonly params: readonly [{
3597
+ readonly name: "id";
3598
+ readonly in: "path";
3599
+ }, {
3600
+ readonly name: "expand";
3601
+ readonly in: "query";
3602
+ }, {
3603
+ readonly name: "Accept";
3604
+ readonly in: "header";
3605
+ }];
3606
+ readonly security: readonly [readonly [{
3607
+ readonly scheme: "CustomerJWT";
3608
+ readonly kind: "bearer";
3609
+ }]];
3610
+ };
3611
+ readonly StorefrontPostQuoteAcceptance: {
3612
+ readonly id: "StorefrontPostQuoteAcceptance";
3613
+ readonly method: "POST";
3614
+ readonly path: "/storefront/quotes/{id}/accept";
3615
+ readonly tags: readonly ["Storefront quotes"];
3616
+ readonly params: readonly [{
3617
+ readonly name: "id";
3618
+ readonly in: "path";
3619
+ }];
3620
+ readonly security: readonly [readonly [{
3621
+ readonly scheme: "CustomerJWT";
3622
+ readonly kind: "bearer";
3623
+ }]];
3624
+ readonly responseHeaders: readonly [{
3625
+ readonly name: "rate-limit-limit";
3626
+ readonly key: "rateLimitLimit";
3627
+ readonly type: "number";
3628
+ }, {
3629
+ readonly name: "rate-limit-remaining";
3630
+ readonly key: "rateLimitRemaining";
3631
+ readonly type: "number";
3632
+ }];
3633
+ };
3634
+ readonly StorefrontPostQuoteRejection: {
3635
+ readonly id: "StorefrontPostQuoteRejection";
3636
+ readonly method: "POST";
3637
+ readonly path: "/storefront/quotes/{id}/reject";
3638
+ readonly tags: readonly ["Storefront quotes"];
3639
+ readonly params: readonly [{
3640
+ readonly name: "id";
3641
+ readonly in: "path";
3642
+ }];
3643
+ readonly security: readonly [readonly [{
3644
+ readonly scheme: "CustomerJWT";
3645
+ readonly kind: "bearer";
3646
+ }]];
3647
+ readonly responseHeaders: readonly [{
3648
+ readonly name: "rate-limit-limit";
3649
+ readonly key: "rateLimitLimit";
3650
+ readonly type: "number";
3651
+ }, {
3652
+ readonly name: "rate-limit-remaining";
3653
+ readonly key: "rateLimitRemaining";
3654
+ readonly type: "number";
3655
+ }];
3656
+ };
3657
+ readonly StorefrontPostReadyToPay: {
3658
+ readonly id: "StorefrontPostReadyToPay";
3659
+ readonly method: "POST";
3660
+ readonly path: "/storefront/ready-to-pay";
3661
+ readonly tags: readonly ["Storefront purchases"];
3662
+ readonly body: {
3663
+ readonly contentType: "application/json";
3664
+ };
3665
+ readonly security: readonly [readonly [{
3666
+ readonly scheme: "CustomerJWT";
3667
+ readonly kind: "bearer";
3668
+ }], readonly [{
3669
+ readonly scheme: "PublishableApiKey";
3670
+ readonly kind: "apiKey";
3671
+ readonly name: "Authorization";
3672
+ readonly in: "header";
3673
+ }]];
3674
+ readonly responseHeaders: readonly [{
3675
+ readonly name: "rate-limit-limit";
3676
+ readonly key: "rateLimitLimit";
3677
+ readonly type: "number";
3678
+ }, {
3679
+ readonly name: "rate-limit-remaining";
3680
+ readonly key: "rateLimitRemaining";
3681
+ readonly type: "number";
3682
+ }];
3683
+ };
3684
+ readonly StorefrontPostReadyToPayout: {
3685
+ readonly id: "StorefrontPostReadyToPayout";
3686
+ readonly method: "POST";
3687
+ readonly path: "/storefront/ready-to-payout";
3688
+ readonly tags: readonly ["Storefront purchases"];
3689
+ readonly body: {
3690
+ readonly contentType: "application/json";
3691
+ };
3692
+ readonly security: readonly [readonly [{
3693
+ readonly scheme: "CustomerJWT";
3694
+ readonly kind: "bearer";
3695
+ }]];
3696
+ readonly responseHeaders: readonly [{
3697
+ readonly name: "rate-limit-limit";
3698
+ readonly key: "rateLimitLimit";
3699
+ readonly type: "number";
3700
+ }, {
3701
+ readonly name: "rate-limit-remaining";
3702
+ readonly key: "rateLimitRemaining";
3703
+ readonly type: "number";
3704
+ }];
3705
+ };
3706
+ readonly StorefrontPostRegister: {
3707
+ readonly id: "StorefrontPostRegister";
3708
+ readonly method: "POST";
3709
+ readonly path: "/storefront/register";
3710
+ readonly tags: readonly ["Storefront account"];
3711
+ readonly body: {
3712
+ readonly contentType: "application/json";
3713
+ };
3714
+ readonly security: readonly [readonly [{
3715
+ readonly scheme: "PublishableApiKey";
3716
+ readonly kind: "apiKey";
3717
+ readonly name: "Authorization";
3718
+ readonly in: "header";
3719
+ }]];
3720
+ readonly responseHeaders: readonly [{
3721
+ readonly name: "location";
3722
+ readonly key: "location";
3723
+ readonly type: "string";
3724
+ }, {
3725
+ readonly name: "rate-limit-limit";
3726
+ readonly key: "rateLimitLimit";
3727
+ readonly type: "number";
3728
+ }, {
3729
+ readonly name: "rate-limit-remaining";
3730
+ readonly key: "rateLimitRemaining";
3731
+ readonly type: "number";
3732
+ }];
3733
+ };
3734
+ readonly StorefrontPostSubscription: {
3735
+ readonly id: "StorefrontPostSubscription";
3736
+ readonly method: "POST";
3737
+ readonly path: "/storefront/subscriptions";
3738
+ readonly tags: readonly ["Storefront orders"];
3739
+ readonly body: {
3740
+ readonly contentType: "application/json";
3741
+ };
3742
+ readonly security: readonly [readonly [{
3743
+ readonly scheme: "CustomerJWT";
3744
+ readonly kind: "bearer";
3745
+ }]];
3746
+ readonly responseHeaders: readonly [{
3747
+ readonly name: "location";
3748
+ readonly key: "location";
3749
+ readonly type: "string";
3750
+ }, {
3751
+ readonly name: "rate-limit-limit";
3752
+ readonly key: "rateLimitLimit";
3753
+ readonly type: "number";
3754
+ }, {
3755
+ readonly name: "rate-limit-remaining";
3756
+ readonly key: "rateLimitRemaining";
3757
+ readonly type: "number";
3758
+ }];
3759
+ };
3760
+ readonly StorefrontGetTransactionCollection: {
3761
+ readonly id: "StorefrontGetTransactionCollection";
3762
+ readonly method: "GET";
3763
+ readonly path: "/storefront/transactions";
3764
+ readonly tags: readonly ["Storefront transactions"];
3765
+ readonly params: readonly [{
3766
+ readonly name: "limit";
3767
+ readonly in: "query";
3768
+ }, {
3769
+ readonly name: "offset";
3770
+ readonly in: "query";
3771
+ }, {
3772
+ readonly name: "filter";
3773
+ readonly in: "query";
3774
+ }, {
3775
+ readonly name: "q";
3776
+ readonly in: "query";
3777
+ }, {
3778
+ readonly name: "sort";
3779
+ readonly in: "query";
3780
+ readonly style: "form";
3781
+ readonly explode: false;
3782
+ }];
3783
+ readonly security: readonly [readonly [{
3784
+ readonly scheme: "CustomerJWT";
3785
+ readonly kind: "bearer";
3786
+ }]];
3787
+ readonly responseHeaders: readonly [{
3788
+ readonly name: "pagination-total";
3789
+ readonly key: "paginationTotal";
3790
+ readonly type: "number";
3791
+ }, {
3792
+ readonly name: "pagination-limit";
3793
+ readonly key: "paginationLimit";
3794
+ readonly type: "number";
3795
+ }, {
3796
+ readonly name: "pagination-offset";
3797
+ readonly key: "paginationOffset";
3798
+ readonly type: "number";
3799
+ }];
3800
+ };
3801
+ readonly StorefrontGetTransaction: {
3802
+ readonly id: "StorefrontGetTransaction";
3803
+ readonly method: "GET";
3804
+ readonly path: "/storefront/transactions/{id}";
3805
+ readonly tags: readonly ["Storefront transactions"];
3806
+ readonly params: readonly [{
3807
+ readonly name: "id";
3808
+ readonly in: "path";
3809
+ }];
3810
+ readonly security: readonly [readonly [{
3811
+ readonly scheme: "CustomerJWT";
3812
+ readonly kind: "bearer";
3813
+ }]];
3814
+ };
3815
+ readonly StorefrontGetTransactionDccOffer: {
3816
+ readonly id: "StorefrontGetTransactionDccOffer";
3817
+ readonly method: "GET";
3818
+ readonly path: "/storefront/transactions/{id}/dcc";
3819
+ readonly tags: readonly ["Storefront transactions"];
3820
+ readonly params: readonly [{
3821
+ readonly name: "id";
3822
+ readonly in: "path";
3823
+ }];
3824
+ readonly security: readonly [readonly [{
3825
+ readonly scheme: "CustomerJWT";
3826
+ readonly kind: "bearer";
3827
+ }]];
3828
+ };
3829
+ readonly StorefrontPatchTransactionDccOffer: {
3830
+ readonly id: "StorefrontPatchTransactionDccOffer";
3831
+ readonly method: "PATCH";
3832
+ readonly path: "/storefront/transactions/{id}/dcc";
3833
+ readonly tags: readonly ["Storefront transactions"];
3834
+ readonly params: readonly [{
3835
+ readonly name: "id";
3836
+ readonly in: "path";
3837
+ }];
3838
+ readonly body: {
3839
+ readonly contentType: "application/json";
3840
+ };
3841
+ readonly security: readonly [readonly [{
3842
+ readonly scheme: "CustomerJWT";
3843
+ readonly kind: "bearer";
3844
+ }]];
3845
+ readonly responseHeaders: readonly [{
3846
+ readonly name: "rate-limit-limit";
3847
+ readonly key: "rateLimitLimit";
3848
+ readonly type: "number";
3849
+ }, {
3850
+ readonly name: "rate-limit-remaining";
3851
+ readonly key: "rateLimitRemaining";
3852
+ readonly type: "number";
3853
+ }];
3854
+ };
3855
+ readonly StorefrontPostKycRequestContinue: {
3856
+ readonly id: "StorefrontPostKycRequestContinue";
3857
+ readonly method: "POST";
3858
+ readonly path: "/storefront/transactions/{id}/{token}/continue";
3859
+ readonly tags: readonly ["Storefront transactions"];
3860
+ readonly params: readonly [{
3861
+ readonly name: "id";
3862
+ readonly in: "path";
3863
+ }, {
3864
+ readonly name: "token";
3865
+ readonly in: "path";
3866
+ }];
3867
+ readonly security: readonly [readonly [{
3868
+ readonly scheme: "CustomerJWT";
3869
+ readonly kind: "bearer";
3870
+ }]];
3871
+ readonly responseHeaders: readonly [{
3872
+ readonly name: "rate-limit-limit";
3873
+ readonly key: "rateLimitLimit";
3874
+ readonly type: "number";
3875
+ }, {
3876
+ readonly name: "rate-limit-remaining";
3877
+ readonly key: "rateLimitRemaining";
3878
+ readonly type: "number";
3879
+ }];
3880
+ };
3881
+ readonly StorefrontPostKycRequestBypass: {
3882
+ readonly id: "StorefrontPostKycRequestBypass";
3883
+ readonly method: "POST";
3884
+ readonly path: "/storefront/transactions/{id}/{token}/bypass";
3885
+ readonly tags: readonly ["Storefront transactions"];
3886
+ readonly params: readonly [{
3887
+ readonly name: "id";
3888
+ readonly in: "path";
3889
+ }, {
3890
+ readonly name: "token";
3891
+ readonly in: "path";
3892
+ }];
3893
+ readonly security: readonly [readonly [{
3894
+ readonly scheme: "CustomerJWT";
3895
+ readonly kind: "bearer";
3896
+ }]];
3897
+ readonly responseHeaders: readonly [{
3898
+ readonly name: "rate-limit-limit";
3899
+ readonly key: "rateLimitLimit";
3900
+ readonly type: "number";
3901
+ }, {
3902
+ readonly name: "rate-limit-remaining";
3903
+ readonly key: "rateLimitRemaining";
3904
+ readonly type: "number";
3905
+ }];
3906
+ };
3907
+ readonly StorefrontGetWebsite: {
3908
+ readonly id: "StorefrontGetWebsite";
3909
+ readonly method: "GET";
3910
+ readonly path: "/storefront/websites/{id}";
3911
+ readonly tags: readonly ["Storefront websites"];
3912
+ readonly params: readonly [{
3913
+ readonly name: "id";
3914
+ readonly in: "path";
3915
+ }];
3916
+ readonly security: readonly [readonly [{
3917
+ readonly scheme: "CustomerJWT";
3918
+ readonly kind: "bearer";
3919
+ }], readonly [{
3920
+ readonly scheme: "PublishableApiKey";
3921
+ readonly kind: "apiKey";
3922
+ readonly name: "Authorization";
3923
+ readonly in: "header";
3924
+ }]];
3925
+ };
3926
+ };
3927
+ export type OperationId = (typeof OPERATIONS)[keyof typeof OPERATIONS]["id"];
3928
+ export type OperationPath = (typeof OPERATIONS)[keyof typeof OPERATIONS]["path"];
3929
+ export type OperationTag = Extract<(typeof OPERATIONS)[keyof typeof OPERATIONS], {
3930
+ tags: readonly string[];
3931
+ }>["tags"][number];
3932
+ export declare const client: import('./core-client.ts').Client<Ops, import('./core-client.ts').OperationContext<"StorefrontGetAccount" | "StorefrontPatchAccount" | "StorefrontPostForgotPassword" | "StorefrontPatchAccountPassword" | "StorefrontPostAccountResendVerification" | "StorefrontPostResetPassword" | "StorefrontPostAccountVerification" | "StorefrontGetBillingPortal" | "StorefrontGetDepositStrategy" | "StorefrontGetDepositRequest" | "StorefrontGetCashier" | "StorefrontPostDeposit" | "StorefrontGetCheckoutForm" | "StorefrontGetCustomFieldCollection" | "StorefrontGetInvoiceCollection" | "StorefrontGetInvoice" | "StorefrontPatchInvoice" | "StorefrontGetOrderUpcomingInvoice" | "StorefrontPostKycDocument" | "StorefrontGetKycDocument" | "StorefrontPatchKycDocument" | "StorefrontGetKycRequest" | "StorefrontPostKycLivenessSession" | "StorefrontGetKycLivenessSession" | "StorefrontPostKycLivenessSessionFinish" | "StorefrontPostLogin" | "StorefrontPostLogout" | "StorefrontGetOrderCollection" | "StorefrontGetOrder" | "StorefrontPatchOrder" | "StorefrontPostOrderCancellation" | "StorefrontPostOrderPause" | "StorefrontPostSubscriptionItemsChange" | "StorefrontGetOrderChangeCollection" | "StorefrontDeleteOrderChange" | "StorefrontPostSubscriptionReactivation" | "StorefrontPostPayment" | "StorefrontGetPaymentInstrumentCollection" | "StorefrontPostPaymentInstrument" | "StorefrontGetPaymentInstrument" | "StorefrontPatchPaymentInstrument" | "StorefrontPostPaymentInstrumentDeactivation" | "StorefrontGetPaymentInstrumentSetup" | "StorefrontPostPaymentInstrumentSetup" | "StorefrontGetPayoutRequestCollection" | "StorefrontPostPayoutRequest" | "StorefrontGetPayoutRequest" | "StorefrontPatchPayoutRequest" | "StorefrontPostPayoutRequestCancellation" | "StorefrontGetPlanCollection" | "StorefrontGetPlan" | "StorefrontGetProductCollection" | "StorefrontGetProduct" | "StorefrontPostPurchase" | "StorefrontPostPreviewPurchase" | "StorefrontGetQuote" | "StorefrontPostQuoteAcceptance" | "StorefrontPostQuoteRejection" | "StorefrontPostReadyToPay" | "StorefrontPostReadyToPayout" | "StorefrontPostRegister" | "StorefrontPostSubscription" | "StorefrontGetTransactionCollection" | "StorefrontGetTransaction" | "StorefrontGetTransactionDccOffer" | "StorefrontPatchTransactionDccOffer" | "StorefrontPostKycRequestContinue" | "StorefrontPostKycRequestBypass" | "StorefrontGetWebsite", "/storefront/account" | "/storefront/account/forgot-password" | "/storefront/account/password" | "/storefront/account/resend-verification" | "/storefront/account/reset-password/{token}" | "/storefront/account/verification/{token}" | "/storefront/billing-portals/{slug}" | "/storefront/deposit-strategies/{id}" | "/storefront/deposit-requests/{id}" | "/storefront/cashiers/{id}" | "/storefront/deposit" | "/storefront/checkout-forms/{id}" | "/storefront/custom-fields/{resource}" | "/storefront/invoices" | "/storefront/invoices/{id}" | "/storefront/orders/{id}/upcoming-invoice" | "/storefront/kyc-documents" | "/storefront/kyc-documents/{id}" | "/storefront/kyc-requests/{id}" | "/storefront/kyc-liveness-sessions" | "/storefront/kyc-liveness-sessions/{id}" | "/storefront/kyc-liveness-sessions/{id}/finish" | "/storefront/login" | "/storefront/logout" | "/storefront/orders" | "/storefront/orders/{id}" | "/storefront/orders/{id}/cancellation" | "/storefront/orders/{id}/pause" | "/storefront/subscriptions/{id}/change-items" | "/storefront/order-changes" | "/storefront/order-changes/{id}" | "/storefront/subscription-reactivations" | "/storefront/payment" | "/storefront/payment-instruments" | "/storefront/payment-instruments/{id}" | "/storefront/payment-instruments/{id}/deactivation" | "/storefront/payment-instruments/{id}/setup" | "/storefront/payout-requests" | "/storefront/payout-requests/{id}" | "/storefront/payout-request-cancellations" | "/storefront/plans" | "/storefront/plans/{id}" | "/storefront/products" | "/storefront/products/{id}" | "/storefront/purchase" | "/storefront/preview-purchase" | "/storefront/quotes/{id}" | "/storefront/quotes/{id}/accept" | "/storefront/quotes/{id}/reject" | "/storefront/ready-to-pay" | "/storefront/ready-to-payout" | "/storefront/register" | "/storefront/subscriptions" | "/storefront/transactions" | "/storefront/transactions/{id}" | "/storefront/transactions/{id}/dcc" | "/storefront/transactions/{id}/{token}/continue" | "/storefront/transactions/{id}/{token}/bypass" | "/storefront/websites/{id}", "Storefront account" | "Storefront billing portals" | "Storefront deposits" | "Storefront cashiers" | "Storefront checkout forms" | "Storefront custom fields" | "Storefront invoices" | "Storefront orders" | "Storefront KYC documents" | "Storefront purchases" | "Storefront payment instruments" | "Storefront transactions" | "Storefront plans" | "Storefront products" | "Storefront quotes" | "Storefront websites">>;
3933
+ export declare const configure: (config: import('./core-client.ts').ClientConfig<import('./core-client.ts').OperationContext<"StorefrontGetAccount" | "StorefrontPatchAccount" | "StorefrontPostForgotPassword" | "StorefrontPatchAccountPassword" | "StorefrontPostAccountResendVerification" | "StorefrontPostResetPassword" | "StorefrontPostAccountVerification" | "StorefrontGetBillingPortal" | "StorefrontGetDepositStrategy" | "StorefrontGetDepositRequest" | "StorefrontGetCashier" | "StorefrontPostDeposit" | "StorefrontGetCheckoutForm" | "StorefrontGetCustomFieldCollection" | "StorefrontGetInvoiceCollection" | "StorefrontGetInvoice" | "StorefrontPatchInvoice" | "StorefrontGetOrderUpcomingInvoice" | "StorefrontPostKycDocument" | "StorefrontGetKycDocument" | "StorefrontPatchKycDocument" | "StorefrontGetKycRequest" | "StorefrontPostKycLivenessSession" | "StorefrontGetKycLivenessSession" | "StorefrontPostKycLivenessSessionFinish" | "StorefrontPostLogin" | "StorefrontPostLogout" | "StorefrontGetOrderCollection" | "StorefrontGetOrder" | "StorefrontPatchOrder" | "StorefrontPostOrderCancellation" | "StorefrontPostOrderPause" | "StorefrontPostSubscriptionItemsChange" | "StorefrontGetOrderChangeCollection" | "StorefrontDeleteOrderChange" | "StorefrontPostSubscriptionReactivation" | "StorefrontPostPayment" | "StorefrontGetPaymentInstrumentCollection" | "StorefrontPostPaymentInstrument" | "StorefrontGetPaymentInstrument" | "StorefrontPatchPaymentInstrument" | "StorefrontPostPaymentInstrumentDeactivation" | "StorefrontGetPaymentInstrumentSetup" | "StorefrontPostPaymentInstrumentSetup" | "StorefrontGetPayoutRequestCollection" | "StorefrontPostPayoutRequest" | "StorefrontGetPayoutRequest" | "StorefrontPatchPayoutRequest" | "StorefrontPostPayoutRequestCancellation" | "StorefrontGetPlanCollection" | "StorefrontGetPlan" | "StorefrontGetProductCollection" | "StorefrontGetProduct" | "StorefrontPostPurchase" | "StorefrontPostPreviewPurchase" | "StorefrontGetQuote" | "StorefrontPostQuoteAcceptance" | "StorefrontPostQuoteRejection" | "StorefrontPostReadyToPay" | "StorefrontPostReadyToPayout" | "StorefrontPostRegister" | "StorefrontPostSubscription" | "StorefrontGetTransactionCollection" | "StorefrontGetTransaction" | "StorefrontGetTransactionDccOffer" | "StorefrontPatchTransactionDccOffer" | "StorefrontPostKycRequestContinue" | "StorefrontPostKycRequestBypass" | "StorefrontGetWebsite", "/storefront/account" | "/storefront/account/forgot-password" | "/storefront/account/password" | "/storefront/account/resend-verification" | "/storefront/account/reset-password/{token}" | "/storefront/account/verification/{token}" | "/storefront/billing-portals/{slug}" | "/storefront/deposit-strategies/{id}" | "/storefront/deposit-requests/{id}" | "/storefront/cashiers/{id}" | "/storefront/deposit" | "/storefront/checkout-forms/{id}" | "/storefront/custom-fields/{resource}" | "/storefront/invoices" | "/storefront/invoices/{id}" | "/storefront/orders/{id}/upcoming-invoice" | "/storefront/kyc-documents" | "/storefront/kyc-documents/{id}" | "/storefront/kyc-requests/{id}" | "/storefront/kyc-liveness-sessions" | "/storefront/kyc-liveness-sessions/{id}" | "/storefront/kyc-liveness-sessions/{id}/finish" | "/storefront/login" | "/storefront/logout" | "/storefront/orders" | "/storefront/orders/{id}" | "/storefront/orders/{id}/cancellation" | "/storefront/orders/{id}/pause" | "/storefront/subscriptions/{id}/change-items" | "/storefront/order-changes" | "/storefront/order-changes/{id}" | "/storefront/subscription-reactivations" | "/storefront/payment" | "/storefront/payment-instruments" | "/storefront/payment-instruments/{id}" | "/storefront/payment-instruments/{id}/deactivation" | "/storefront/payment-instruments/{id}/setup" | "/storefront/payout-requests" | "/storefront/payout-requests/{id}" | "/storefront/payout-request-cancellations" | "/storefront/plans" | "/storefront/plans/{id}" | "/storefront/products" | "/storefront/products/{id}" | "/storefront/purchase" | "/storefront/preview-purchase" | "/storefront/quotes/{id}" | "/storefront/quotes/{id}/accept" | "/storefront/quotes/{id}/reject" | "/storefront/ready-to-pay" | "/storefront/ready-to-payout" | "/storefront/register" | "/storefront/subscriptions" | "/storefront/transactions" | "/storefront/transactions/{id}" | "/storefront/transactions/{id}/dcc" | "/storefront/transactions/{id}/{token}/continue" | "/storefront/transactions/{id}/{token}/bypass" | "/storefront/websites/{id}", "Storefront account" | "Storefront billing portals" | "Storefront deposits" | "Storefront cashiers" | "Storefront checkout forms" | "Storefront custom fields" | "Storefront invoices" | "Storefront orders" | "Storefront KYC documents" | "Storefront purchases" | "Storefront payment instruments" | "Storefront transactions" | "Storefront plans" | "Storefront products" | "Storefront quotes" | "Storefront websites">>) => void, use: (...middleware: import('./core-client.ts').Middleware<import('./core-client.ts').OperationContext<"StorefrontGetAccount" | "StorefrontPatchAccount" | "StorefrontPostForgotPassword" | "StorefrontPatchAccountPassword" | "StorefrontPostAccountResendVerification" | "StorefrontPostResetPassword" | "StorefrontPostAccountVerification" | "StorefrontGetBillingPortal" | "StorefrontGetDepositStrategy" | "StorefrontGetDepositRequest" | "StorefrontGetCashier" | "StorefrontPostDeposit" | "StorefrontGetCheckoutForm" | "StorefrontGetCustomFieldCollection" | "StorefrontGetInvoiceCollection" | "StorefrontGetInvoice" | "StorefrontPatchInvoice" | "StorefrontGetOrderUpcomingInvoice" | "StorefrontPostKycDocument" | "StorefrontGetKycDocument" | "StorefrontPatchKycDocument" | "StorefrontGetKycRequest" | "StorefrontPostKycLivenessSession" | "StorefrontGetKycLivenessSession" | "StorefrontPostKycLivenessSessionFinish" | "StorefrontPostLogin" | "StorefrontPostLogout" | "StorefrontGetOrderCollection" | "StorefrontGetOrder" | "StorefrontPatchOrder" | "StorefrontPostOrderCancellation" | "StorefrontPostOrderPause" | "StorefrontPostSubscriptionItemsChange" | "StorefrontGetOrderChangeCollection" | "StorefrontDeleteOrderChange" | "StorefrontPostSubscriptionReactivation" | "StorefrontPostPayment" | "StorefrontGetPaymentInstrumentCollection" | "StorefrontPostPaymentInstrument" | "StorefrontGetPaymentInstrument" | "StorefrontPatchPaymentInstrument" | "StorefrontPostPaymentInstrumentDeactivation" | "StorefrontGetPaymentInstrumentSetup" | "StorefrontPostPaymentInstrumentSetup" | "StorefrontGetPayoutRequestCollection" | "StorefrontPostPayoutRequest" | "StorefrontGetPayoutRequest" | "StorefrontPatchPayoutRequest" | "StorefrontPostPayoutRequestCancellation" | "StorefrontGetPlanCollection" | "StorefrontGetPlan" | "StorefrontGetProductCollection" | "StorefrontGetProduct" | "StorefrontPostPurchase" | "StorefrontPostPreviewPurchase" | "StorefrontGetQuote" | "StorefrontPostQuoteAcceptance" | "StorefrontPostQuoteRejection" | "StorefrontPostReadyToPay" | "StorefrontPostReadyToPayout" | "StorefrontPostRegister" | "StorefrontPostSubscription" | "StorefrontGetTransactionCollection" | "StorefrontGetTransaction" | "StorefrontGetTransactionDccOffer" | "StorefrontPatchTransactionDccOffer" | "StorefrontPostKycRequestContinue" | "StorefrontPostKycRequestBypass" | "StorefrontGetWebsite", "/storefront/account" | "/storefront/account/forgot-password" | "/storefront/account/password" | "/storefront/account/resend-verification" | "/storefront/account/reset-password/{token}" | "/storefront/account/verification/{token}" | "/storefront/billing-portals/{slug}" | "/storefront/deposit-strategies/{id}" | "/storefront/deposit-requests/{id}" | "/storefront/cashiers/{id}" | "/storefront/deposit" | "/storefront/checkout-forms/{id}" | "/storefront/custom-fields/{resource}" | "/storefront/invoices" | "/storefront/invoices/{id}" | "/storefront/orders/{id}/upcoming-invoice" | "/storefront/kyc-documents" | "/storefront/kyc-documents/{id}" | "/storefront/kyc-requests/{id}" | "/storefront/kyc-liveness-sessions" | "/storefront/kyc-liveness-sessions/{id}" | "/storefront/kyc-liveness-sessions/{id}/finish" | "/storefront/login" | "/storefront/logout" | "/storefront/orders" | "/storefront/orders/{id}" | "/storefront/orders/{id}/cancellation" | "/storefront/orders/{id}/pause" | "/storefront/subscriptions/{id}/change-items" | "/storefront/order-changes" | "/storefront/order-changes/{id}" | "/storefront/subscription-reactivations" | "/storefront/payment" | "/storefront/payment-instruments" | "/storefront/payment-instruments/{id}" | "/storefront/payment-instruments/{id}/deactivation" | "/storefront/payment-instruments/{id}/setup" | "/storefront/payout-requests" | "/storefront/payout-requests/{id}" | "/storefront/payout-request-cancellations" | "/storefront/plans" | "/storefront/plans/{id}" | "/storefront/products" | "/storefront/products/{id}" | "/storefront/purchase" | "/storefront/preview-purchase" | "/storefront/quotes/{id}" | "/storefront/quotes/{id}/accept" | "/storefront/quotes/{id}/reject" | "/storefront/ready-to-pay" | "/storefront/ready-to-payout" | "/storefront/register" | "/storefront/subscriptions" | "/storefront/transactions" | "/storefront/transactions/{id}" | "/storefront/transactions/{id}/dcc" | "/storefront/transactions/{id}/{token}/continue" | "/storefront/transactions/{id}/{token}/bypass" | "/storefront/websites/{id}", "Storefront account" | "Storefront billing portals" | "Storefront deposits" | "Storefront cashiers" | "Storefront checkout forms" | "Storefront custom fields" | "Storefront invoices" | "Storefront orders" | "Storefront KYC documents" | "Storefront purchases" | "Storefront payment instruments" | "Storefront transactions" | "Storefront plans" | "Storefront products" | "Storefront quotes" | "Storefront websites">>[]) => void;
3934
+ export declare const StorefrontGetAccount: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
3935
+ query?: StorefrontGetAccountQuery;
3936
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontAccount, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPatchAccount: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
3937
+ body?: StorefrontPatchAccountBody;
3938
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontAccount, {
3939
+ rateLimitLimit?: number;
3940
+ rateLimitRemaining?: number;
3941
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostForgotPassword: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
3942
+ body?: StorefrontPostForgotPasswordBody;
3943
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<void, {
3944
+ rateLimitLimit?: number;
3945
+ rateLimitRemaining?: number;
3946
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPatchAccountPassword: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
3947
+ body?: StorefrontPatchAccountPasswordBody;
3948
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontAccount, {
3949
+ rateLimitLimit?: number;
3950
+ rateLimitRemaining?: number;
3951
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostAccountResendVerification: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
3952
+ body?: StorefrontPostAccountResendVerificationBody;
3953
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<void, {
3954
+ rateLimitLimit?: number;
3955
+ rateLimitRemaining?: number;
3956
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostResetPassword: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
3957
+ path: StorefrontPostResetPasswordPath;
3958
+ body?: StorefrontPostResetPasswordBody;
3959
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontAccount, {
3960
+ location?: string;
3961
+ rateLimitLimit?: number;
3962
+ rateLimitRemaining?: number;
3963
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostAccountVerification: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
3964
+ path: StorefrontPostAccountVerificationPath;
3965
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<void, {
3966
+ rateLimitLimit?: number;
3967
+ rateLimitRemaining?: number;
3968
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetBillingPortal: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
3969
+ path: StorefrontGetBillingPortalPath;
3970
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontBillingPortal, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetDepositStrategy: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
3971
+ path: StorefrontGetDepositStrategyPath;
3972
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<DepositStrategy, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetDepositRequest: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
3973
+ path: StorefrontGetDepositRequestPath;
3974
+ query?: StorefrontGetDepositRequestQuery;
3975
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<DepositRequest, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetCashier: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
3976
+ path: StorefrontGetCashierPath;
3977
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontCashier, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostDeposit: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
3978
+ body: StorefrontPostDepositBody;
3979
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontTransaction, {
3980
+ location?: string;
3981
+ rateLimitLimit?: number;
3982
+ rateLimitRemaining?: number;
3983
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetCheckoutForm: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
3984
+ path: StorefrontGetCheckoutFormPath;
3985
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontCheckoutForm, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetCustomFieldCollection: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
3986
+ path: StorefrontGetCustomFieldCollectionPath;
3987
+ query?: StorefrontGetCustomFieldCollectionQuery;
3988
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontGetCustomFieldCollectionResult, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetInvoiceCollection: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
3989
+ query?: StorefrontGetInvoiceCollectionQuery;
3990
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontGetInvoiceCollectionResult, {
3991
+ paginationTotal?: number;
3992
+ paginationLimit?: number;
3993
+ paginationOffset?: number;
3994
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetInvoice: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
3995
+ path: StorefrontGetInvoicePath;
3996
+ query?: StorefrontGetInvoiceQuery;
3997
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontInvoice, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPatchInvoice: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
3998
+ path: StorefrontPatchInvoicePath;
3999
+ body: StorefrontPatchInvoiceBody;
4000
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontInvoice, {
4001
+ rateLimitLimit?: number;
4002
+ rateLimitRemaining?: number;
4003
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetOrderUpcomingInvoice: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4004
+ path: StorefrontGetOrderUpcomingInvoicePath;
4005
+ query?: StorefrontGetOrderUpcomingInvoiceQuery;
4006
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontUpcomingInvoice, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostKycDocument: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4007
+ body: StorefrontPostKycDocumentBody;
4008
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontKycDocument, {
4009
+ location?: string;
4010
+ rateLimitLimit?: number;
4011
+ rateLimitRemaining?: number;
4012
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetKycDocument: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4013
+ path: StorefrontGetKycDocumentPath;
4014
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontKycDocument, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPatchKycDocument: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4015
+ path: StorefrontPatchKycDocumentPath;
4016
+ body: StorefrontPatchKycDocumentBody;
4017
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontKycDocument, {
4018
+ rateLimitLimit?: number;
4019
+ rateLimitRemaining?: number;
4020
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetKycRequest: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4021
+ path: StorefrontGetKycRequestPath;
4022
+ query?: StorefrontGetKycRequestQuery;
4023
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontKycRequest, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostKycLivenessSession: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4024
+ body: StorefrontPostKycLivenessSessionBody;
4025
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontKycLivenessSession, {
4026
+ location?: string;
4027
+ rateLimitLimit?: number;
4028
+ rateLimitRemaining?: number;
4029
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetKycLivenessSession: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4030
+ path: StorefrontGetKycLivenessSessionPath;
4031
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontKycLivenessSession, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostKycLivenessSessionFinish: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4032
+ path: StorefrontPostKycLivenessSessionFinishPath;
4033
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontKycLivenessSession, {
4034
+ location?: string;
4035
+ rateLimitLimit?: number;
4036
+ rateLimitRemaining?: number;
4037
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostLogin: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
4038
+ body?: StorefrontPostLoginBody;
4039
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontCustomerJWT, {
4040
+ location?: string;
4041
+ rateLimitLimit?: number;
4042
+ rateLimitRemaining?: number;
4043
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostLogout: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {} | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<void, {
4044
+ rateLimitLimit?: number;
4045
+ rateLimitRemaining?: number;
4046
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetOrderCollection: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
4047
+ query?: StorefrontGetOrderCollectionQuery;
4048
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontGetOrderCollectionResult, {
4049
+ paginationTotal?: number;
4050
+ paginationLimit?: number;
4051
+ paginationOffset?: number;
4052
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetOrder: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4053
+ path: StorefrontGetOrderPath;
4054
+ query?: StorefrontGetOrderQuery;
4055
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontOrder, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPatchOrder: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4056
+ path: StorefrontPatchOrderPath;
4057
+ body: StorefrontPatchOrderBody;
4058
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontOrder, {
4059
+ rateLimitLimit?: number;
4060
+ rateLimitRemaining?: number;
4061
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostOrderCancellation: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4062
+ path: StorefrontPostOrderCancellationPath;
4063
+ body: StorefrontPostOrderCancellationBody;
4064
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontOrder, {
4065
+ location?: string;
4066
+ rateLimitLimit?: number;
4067
+ rateLimitRemaining?: number;
4068
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostOrderPause: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4069
+ path: StorefrontPostOrderPausePath;
4070
+ body: StorefrontPostOrderPauseBody;
4071
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontOrder, {
4072
+ location?: string;
4073
+ rateLimitLimit?: number;
4074
+ rateLimitRemaining?: number;
4075
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostSubscriptionItemsChange: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4076
+ path: StorefrontPostSubscriptionItemsChangePath;
4077
+ body: StorefrontPostSubscriptionItemsChangeBody;
4078
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontChangeQuote, {
4079
+ location?: string;
4080
+ rateLimitLimit?: number;
4081
+ rateLimitRemaining?: number;
4082
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetOrderChangeCollection: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
4083
+ query?: StorefrontGetOrderChangeCollectionQuery;
4084
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontGetOrderChangeCollectionResult, {
4085
+ paginationTotal?: number;
4086
+ paginationLimit?: number;
4087
+ paginationOffset?: number;
4088
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontDeleteOrderChange: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4089
+ path: StorefrontDeleteOrderChangePath;
4090
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<void, {
4091
+ rateLimitLimit?: number;
4092
+ rateLimitRemaining?: number;
4093
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostSubscriptionReactivation: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
4094
+ body?: StorefrontPostSubscriptionReactivationBody;
4095
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontReactivationQuote, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostPayment: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4096
+ body: StorefrontPostPaymentBody;
4097
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontTransaction, {
4098
+ rateLimitLimit?: number;
4099
+ rateLimitRemaining?: number;
4100
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetPaymentInstrumentCollection: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
4101
+ query?: StorefrontGetPaymentInstrumentCollectionQuery;
4102
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontGetPaymentInstrumentCollectionResult, {
4103
+ paginationTotal?: number;
4104
+ paginationLimit?: number;
4105
+ paginationOffset?: number;
4106
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostPaymentInstrument: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4107
+ body: StorefrontPostPaymentInstrumentBody;
4108
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontPaymentInstrument, {
4109
+ location?: string;
4110
+ rateLimitLimit?: number;
4111
+ rateLimitRemaining?: number;
4112
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetPaymentInstrument: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4113
+ path: StorefrontGetPaymentInstrumentPath;
4114
+ query?: StorefrontGetPaymentInstrumentQuery;
4115
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontPaymentInstrument, {
4116
+ paginationTotal?: number;
4117
+ paginationLimit?: number;
4118
+ paginationOffset?: number;
4119
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPatchPaymentInstrument: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4120
+ path: StorefrontPatchPaymentInstrumentPath;
4121
+ body: StorefrontPatchPaymentInstrumentBody;
4122
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontPaymentInstrument, {
4123
+ rateLimitLimit?: number;
4124
+ rateLimitRemaining?: number;
4125
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostPaymentInstrumentDeactivation: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4126
+ path: StorefrontPostPaymentInstrumentDeactivationPath;
4127
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontPaymentInstrument, {
4128
+ location?: string;
4129
+ rateLimitLimit?: number;
4130
+ rateLimitRemaining?: number;
4131
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetPaymentInstrumentSetup: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4132
+ path: StorefrontGetPaymentInstrumentSetupPath;
4133
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontTransaction, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostPaymentInstrumentSetup: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4134
+ path: StorefrontPostPaymentInstrumentSetupPath;
4135
+ body: StorefrontPostPaymentInstrumentSetupBody;
4136
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontTransaction, {
4137
+ location?: string;
4138
+ rateLimitLimit?: number;
4139
+ rateLimitRemaining?: number;
4140
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetPayoutRequestCollection: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
4141
+ query?: StorefrontGetPayoutRequestCollectionQuery;
4142
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontGetPayoutRequestCollectionResult, {
4143
+ paginationTotal?: number;
4144
+ paginationLimit?: number;
4145
+ paginationOffset?: number;
4146
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostPayoutRequest: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4147
+ body: StorefrontPostPayoutRequestBody;
4148
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontPayoutRequest, {
4149
+ location?: string;
4150
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetPayoutRequest: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4151
+ path: StorefrontGetPayoutRequestPath;
4152
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontPayoutRequest, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPatchPayoutRequest: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4153
+ path: StorefrontPatchPayoutRequestPath;
4154
+ body?: StorefrontPatchPayoutRequestBody;
4155
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontPayoutRequest, {
4156
+ rateLimitLimit?: number;
4157
+ rateLimitRemaining?: number;
4158
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostPayoutRequestCancellation: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4159
+ body: StorefrontPostPayoutRequestCancellationBody;
4160
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<Cashier, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetPlanCollection: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
4161
+ query?: StorefrontGetPlanCollectionQuery;
4162
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontGetPlanCollectionResult, {
4163
+ paginationTotal?: number;
4164
+ paginationLimit?: number;
4165
+ paginationOffset?: number;
4166
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetPlan: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4167
+ path: StorefrontGetPlanPath;
4168
+ query?: StorefrontGetPlanQuery;
4169
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontPlan, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetProductCollection: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
4170
+ query?: StorefrontGetProductCollectionQuery;
4171
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontGetProductCollectionResult, {
4172
+ paginationTotal?: number;
4173
+ paginationLimit?: number;
4174
+ paginationOffset?: number;
4175
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetProduct: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4176
+ path: StorefrontGetProductPath;
4177
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontProduct, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostPurchase: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
4178
+ body?: StorefrontPostPurchaseBody;
4179
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontPurchase, {
4180
+ location?: string;
4181
+ rateLimitLimit?: number;
4182
+ rateLimitRemaining?: number;
4183
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostPreviewPurchase: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
4184
+ body?: StorefrontPostPreviewPurchaseBody;
4185
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontOrderPreview, {
4186
+ rateLimitLimit?: number;
4187
+ rateLimitRemaining?: number;
4188
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetQuote: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4189
+ path: StorefrontGetQuotePath;
4190
+ query?: StorefrontGetQuoteQuery;
4191
+ headers?: StorefrontGetQuoteHeaders;
4192
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontQuote, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostQuoteAcceptance: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4193
+ path: StorefrontPostQuoteAcceptancePath;
4194
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontQuote, {
4195
+ rateLimitLimit?: number;
4196
+ rateLimitRemaining?: number;
4197
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostQuoteRejection: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4198
+ path: StorefrontPostQuoteRejectionPath;
4199
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontQuote, {
4200
+ rateLimitLimit?: number;
4201
+ rateLimitRemaining?: number;
4202
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostReadyToPay: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
4203
+ body?: StorefrontPostReadyToPayBody;
4204
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<ReadyToPayMethods, {
4205
+ rateLimitLimit?: number;
4206
+ rateLimitRemaining?: number;
4207
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostReadyToPayout: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
4208
+ body?: StorefrontPostReadyToPayoutBody;
4209
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<ReadyToPayoutMethods, {
4210
+ rateLimitLimit?: number;
4211
+ rateLimitRemaining?: number;
4212
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostRegister: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
4213
+ body?: StorefrontPostRegisterBody;
4214
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontAccount, {
4215
+ location?: string;
4216
+ rateLimitLimit?: number;
4217
+ rateLimitRemaining?: number;
4218
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostSubscription: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4219
+ body: StorefrontPostSubscriptionBody;
4220
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontOrder, {
4221
+ location?: string;
4222
+ rateLimitLimit?: number;
4223
+ rateLimitRemaining?: number;
4224
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetTransactionCollection: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args?: {
4225
+ query?: StorefrontGetTransactionCollectionQuery;
4226
+ } | undefined, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontGetTransactionCollectionResult, {
4227
+ paginationTotal?: number;
4228
+ paginationLimit?: number;
4229
+ paginationOffset?: number;
4230
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetTransaction: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4231
+ path: StorefrontGetTransactionPath;
4232
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontTransaction, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetTransactionDccOffer: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4233
+ path: StorefrontGetTransactionDccOfferPath;
4234
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontTransaction, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPatchTransactionDccOffer: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4235
+ path: StorefrontPatchTransactionDccOfferPath;
4236
+ body?: StorefrontPatchTransactionDccOfferBody;
4237
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontTransaction, {
4238
+ rateLimitLimit?: number;
4239
+ rateLimitRemaining?: number;
4240
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostKycRequestContinue: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4241
+ path: StorefrontPostKycRequestContinuePath;
4242
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontTransaction, {
4243
+ rateLimitLimit?: number;
4244
+ rateLimitRemaining?: number;
4245
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontPostKycRequestBypass: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4246
+ path: StorefrontPostKycRequestBypassPath;
4247
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<StorefrontTransaction, {
4248
+ rateLimitLimit?: number;
4249
+ rateLimitRemaining?: number;
4250
+ }, Init>>) & import('./core-client.ts').OperationMethodIdentity, StorefrontGetWebsite: (<Init extends import('./core-client.ts').RequestOptions | undefined = undefined>(args: {
4251
+ path: StorefrontGetWebsitePath;
4252
+ }, init?: Init | undefined) => Promise<import('./core-client.ts').EnvelopeResult<Website, Record<string, never>, Init>>) & import('./core-client.ts').OperationMethodIdentity;