@wix/auto_sdk_ecom_subscription-contracts 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/build/cjs/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.d.ts +475 -105
  2. package/build/cjs/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.js.map +1 -1
  3. package/build/cjs/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.d.ts +496 -107
  4. package/build/cjs/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js +4 -0
  5. package/build/cjs/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js.map +1 -1
  6. package/build/es/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.d.ts +475 -105
  7. package/build/es/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.js.map +1 -1
  8. package/build/es/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.d.ts +496 -107
  9. package/build/es/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js +4 -0
  10. package/build/es/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js.map +1 -1
  11. package/build/internal/cjs/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.d.ts +470 -106
  12. package/build/internal/cjs/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.js.map +1 -1
  13. package/build/internal/cjs/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.d.ts +494 -109
  14. package/build/internal/cjs/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js +4 -0
  15. package/build/internal/cjs/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js.map +1 -1
  16. package/build/internal/es/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.d.ts +470 -106
  17. package/build/internal/es/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.types.js.map +1 -1
  18. package/build/internal/es/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.d.ts +494 -109
  19. package/build/internal/es/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js +4 -0
  20. package/build/internal/es/src/ecom-subscription-contracts-v1-subscription-contract-subscription-contracts.universal.js.map +1 -1
  21. package/package.json +2 -2
@@ -7,6 +7,7 @@
7
7
  export interface SubscriptionContract {
8
8
  /**
9
9
  * SubscriptionContract ID.
10
+ * @format GUID
10
11
  * @readonly
11
12
  */
12
13
  id?: string | null;
@@ -28,12 +29,20 @@ export interface SubscriptionContract {
28
29
  * @readonly
29
30
  */
30
31
  updatedDate?: Date | null;
31
- /** Subscription option description. For example, `"1kg of selected coffee, once a month"`. */
32
+ /**
33
+ * Subscription option description. For example, `"1kg of selected coffee, once a month"`.
34
+ * @maxLength 500
35
+ */
32
36
  description?: string | null;
33
- /** Subscription detailed information. */
37
+ /**
38
+ * Subscription detailed information.
39
+ * @immutable
40
+ */
34
41
  subscriptionSettings?: V1SubscriptionSettings;
35
42
  /**
36
43
  * Order line items.
44
+ * @minSize 1
45
+ * @maxSize 1
37
46
  * @readonly
38
47
  */
39
48
  lineItems?: OrderLineItem[];
@@ -46,12 +55,17 @@ export interface SubscriptionContract {
46
55
  buyerLanguage?: string | null;
47
56
  /** Weight measurement unit - defaults to site's weight unit. */
48
57
  weightUnit?: WeightUnit;
49
- /** Currency used for the pricing of this order in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format. */
58
+ /**
59
+ * Currency used for the pricing of this order in [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes) format.
60
+ * @format CURRENCY
61
+ * @immutable
62
+ */
50
63
  currency?: string | null;
51
64
  /**
52
65
  * Whether tax is included in line item prices.
53
66
  *
54
67
  * Default: `false`
68
+ * @immutable
55
69
  */
56
70
  taxIncludedInPrices?: boolean;
57
71
  /**
@@ -83,19 +97,33 @@ export interface SubscriptionContract {
83
97
  * [Extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields) must be configured in the [app dashboard](https://dev.wix.com/dc3/my-apps/) before they can be accessed with API calls.
84
98
  */
85
99
  extendedFields?: ExtendedFields;
86
- /** Subscription option title. For example, `"Monthly coffee Subscription"`. */
100
+ /**
101
+ * Subscription option title. For example, `"Monthly coffee Subscription"`.
102
+ * @minLength 1
103
+ * @maxLength 150
104
+ */
87
105
  title?: string | null;
88
- /** Additional fees applied to subscription contract. */
106
+ /**
107
+ * Additional fees applied to subscription contract.
108
+ * @maxSize 100
109
+ */
89
110
  additionalFees?: AdditionalFee[];
90
111
  }
91
112
  export interface V1SubscriptionSettings {
92
113
  /** Frequency of recurring payment. */
93
114
  frequency?: SubscriptionFrequency;
94
- /** Interval of recurring payment. */
115
+ /**
116
+ * Interval of recurring payment.
117
+ * @min 1
118
+ * @max 50
119
+ */
95
120
  interval?: number | null;
96
121
  /** Whether subscription is renewed automatically at the end of each period. */
97
122
  autoRenewal?: boolean;
98
- /** Number of billing cycles before subscription ends. Ignored if `autoRenewal: true`. */
123
+ /**
124
+ * Number of billing cycles before subscription ends. Ignored if `autoRenewal: true`.
125
+ * @min 1
126
+ */
99
127
  billingCycles?: number | null;
100
128
  /** Whether to allow the customer to cancel the subscription. */
101
129
  enableCustomerCancellation?: boolean;
@@ -110,11 +138,18 @@ export declare enum SubscriptionFrequency {
110
138
  export interface V1FreeTrialPeriod {
111
139
  /** Frequency of priod. Values: DAY, WEEK, MONTH, YEAR */
112
140
  frequency?: SubscriptionFrequency;
113
- /** interval of period */
141
+ /**
142
+ * interval of period
143
+ * @min 1
144
+ * @max 50
145
+ */
114
146
  interval?: number;
115
147
  }
116
148
  export interface OrderLineItem {
117
- /** Line item ID. */
149
+ /**
150
+ * Line item ID.
151
+ * @immutable
152
+ */
118
153
  id?: string;
119
154
  /**
120
155
  * Item name.
@@ -128,14 +163,21 @@ export interface OrderLineItem {
128
163
  * This field may be empty in the case of a custom line item.
129
164
  */
130
165
  catalogReference?: CatalogReference;
131
- /** Line item quantity. */
166
+ /**
167
+ * Line item quantity.
168
+ * @min 1
169
+ * @max 100000
170
+ */
132
171
  quantity?: number;
133
172
  /**
134
173
  * Total discount for this line item's entire quantity.
135
174
  * @readonly
136
175
  */
137
176
  totalDiscount?: Price;
138
- /** Line item description lines. Used for display purposes for the cart, checkout and order. */
177
+ /**
178
+ * Line item description lines. Used for display purposes for the cart, checkout and order.
179
+ * @maxSize 20
180
+ */
139
181
  descriptionLines?: DescriptionLine[];
140
182
  /** Line item image. */
141
183
  image?: Image;
@@ -146,11 +188,18 @@ export interface OrderLineItem {
146
188
  /**
147
189
  * Fulfiller ID. Field is empty when the line item is self-fulfilled.
148
190
  * To get fulfillment information, pass the order ID to [List Fulfillments For Single Order](https://dev.wix.com/docs/rest/api-reference/wix-e-commerce/order-fulfillments/list-fulfillments-for-single-order).
191
+ * @format GUID
149
192
  */
150
193
  fulfillerId?: string | null;
151
- /** Number of items that were refunded. */
194
+ /**
195
+ * Number of items that were refunded.
196
+ * @max 100000
197
+ */
152
198
  refundQuantity?: number | null;
153
- /** Number of items restocked. */
199
+ /**
200
+ * Number of items restocked.
201
+ * @max 100000
202
+ */
154
203
  restockQuantity?: number | null;
155
204
  /** Line item price after line item discounts for display purposes. */
156
205
  price?: Price;
@@ -170,11 +219,9 @@ export interface OrderLineItem {
170
219
  */
171
220
  totalPriceAfterTax?: Price;
172
221
  /**
173
- * Type of selected payment option for current item. Defaults to `FULL_PAYMENT_ONLINE`.
174
- * + `FULL_PAYMENT_ONLINE` - The entire payment for this item happens as part of the checkout.
175
- * + `FULL_PAYMENT_OFFLINE` - The entire payment for this item happens after the checkout. For example, when using cash, check, or other offline payment methods.
176
- * + `MEMBERSHIP` - Payment for this item is done by charging a membership. When this option is used, `lineItem.price.amount` is 0.
177
- * + `DEPOSIT_ONLINE` - Partial payment for the given item to be paid upfront during the checkout. Eligible for catalog items with type `DEPOSIT_ONLINE` only.
222
+ * Type of selected payment option for current item.
223
+ *
224
+ * Default: `FULL_PAYMENT_ONLINE`
178
225
  */
179
226
  paymentOption?: PaymentOptionType;
180
227
  /**
@@ -201,6 +248,13 @@ export interface OrderLineItem {
201
248
  * @readonly
202
249
  */
203
250
  depositAmount?: Price;
251
+ /**
252
+ * Line item locations.
253
+ *
254
+ * The location's total quantity must not exceed the line item quantity.
255
+ * @maxSize 5
256
+ */
257
+ locations?: LocationAndQuantity[];
204
258
  /**
205
259
  * Custom extended fields for the line item object.
206
260
  *
@@ -214,6 +268,8 @@ export interface ProductName {
214
268
  *
215
269
  * Min: 1 character.
216
270
  * Max: 200 characters.
271
+ * @minLength 1
272
+ * @maxLength 200
217
273
  */
218
274
  original?: string;
219
275
  /**
@@ -222,12 +278,18 @@ export interface ProductName {
222
278
  * Min: 1 character.
223
279
  * Max: 400 characters.
224
280
  * Default: Same as `original`.
281
+ * @minLength 1
282
+ * @maxLength 400
225
283
  */
226
284
  translated?: string | null;
227
285
  }
228
286
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
229
287
  export interface CatalogReference {
230
- /** ID of the item within the catalog it belongs to. */
288
+ /**
289
+ * ID of the item within the catalog it belongs to.
290
+ * @minLength 1
291
+ * @maxLength 36
292
+ */
231
293
  catalogItemId?: string;
232
294
  /**
233
295
  * ID of the app providing the catalog.
@@ -238,6 +300,7 @@ export interface CatalogReference {
238
300
  * + Wix Stores: `"215238eb-22a5-4c36-9e7b-e7c08025e04e"`
239
301
  * + Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`
240
302
  * + Wix Restaurants: `"9a5d83fd-8570-482e-81ab-cfa88942ee60"`
303
+ * @minLength 1
241
304
  */
242
305
  appId?: string;
243
306
  /**
@@ -248,7 +311,10 @@ export interface CatalogReference {
248
311
  options?: Record<string, any> | null;
249
312
  }
250
313
  export interface Price {
251
- /** Amount. */
314
+ /**
315
+ * Amount.
316
+ * @decimalValue options { gte:0, lte:1000000000000000 }
317
+ */
252
318
  amount?: string;
253
319
  /**
254
320
  * Amount formatted with currency symbol.
@@ -275,32 +341,44 @@ export interface DescriptionLineValueOneOf {
275
341
  export interface DescriptionLineDescriptionLineValueOneOf {
276
342
  }
277
343
  export interface DescriptionLineName {
278
- /** Description line name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
344
+ /**
345
+ * Description line name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
346
+ * @maxLength 100
347
+ */
279
348
  original?: string;
280
349
  /**
281
350
  * Description line name translated into the buyer's language.
282
351
  *
283
352
  * Default: Same as `original`.
353
+ * @maxLength 200
284
354
  */
285
355
  translated?: string | null;
286
356
  }
287
357
  export interface PlainTextValue {
288
- /** Description line plain text value in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
358
+ /**
359
+ * Description line plain text value in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
360
+ * @maxLength 600
361
+ */
289
362
  original?: string;
290
363
  /**
291
364
  * Description line plain text value translated into the buyer's language.
292
365
  *
293
366
  * Default: Same as `original`.
367
+ * @maxLength 600
294
368
  */
295
369
  translated?: string | null;
296
370
  }
297
371
  export interface Color {
298
- /** Description line color name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
372
+ /**
373
+ * Description line color name in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
374
+ * @maxLength 500
375
+ */
299
376
  original?: string;
300
377
  /**
301
378
  * Description line color name translated into the buyer's language.
302
379
  *
303
380
  * Default: Same as `original`.
381
+ * @maxLength 500
304
382
  */
305
383
  translated?: string | null;
306
384
  /** HEX or RGB color code for display. */
@@ -350,7 +428,10 @@ export interface FocalPoint {
350
428
  export interface PhysicalProperties {
351
429
  /** Line item weight. Measurement unit matches the weight unit specified in `weightUnit` in the request. */
352
430
  weight?: number | null;
353
- /** Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku). */
431
+ /**
432
+ * Stock-keeping unit. Learn more about [SKUs](https://www.wix.com/encyclopedia/definition/stock-keeping-unit-sku).
433
+ * @maxLength 40
434
+ */
354
435
  sku?: string | null;
355
436
  /** Whether this line item is shippable. */
356
437
  shippable?: boolean;
@@ -391,7 +472,10 @@ export declare enum PaymentOptionType {
391
472
  export interface ItemTaxFullDetails {
392
473
  /** Taxable amount of this line item. */
393
474
  taxableAmount?: Price;
394
- /** Tax rate percentage, as a decimal numeral between 0 and 1. For example, `"0.13"`. */
475
+ /**
476
+ * Tax rate percentage, as a decimal numeral between 0 and 1. For example, `"0.13"`.
477
+ * @decimalValue options { gte:0, maxScale:6 }
478
+ */
395
479
  taxRate?: string;
396
480
  /** The calculated tax, based on the `taxableAmount` and `taxRate`. */
397
481
  totalTax?: Price;
@@ -401,16 +485,24 @@ export interface LineItemTaxInfo {
401
485
  taxAmount?: Price;
402
486
  /** Amount for which tax is calculated. */
403
487
  taxableAmount?: Price;
404
- /** Tax rate %, as a decimal point. */
488
+ /**
489
+ * Tax rate %, as a decimal point.
490
+ * @format DECIMAL_VALUE
491
+ * @decimalValue options { gte:0, maxScale:6 }
492
+ */
405
493
  taxRate?: string | null;
406
494
  /**
407
495
  * Tax group ID.
408
496
  * Learn more about [Tax Groups](https://dev.wix.com/docs/rest/business-management/payments/tax/tax-groups/introduction).
497
+ * @format GUID
409
498
  */
410
499
  taxGroupId?: string | null;
411
500
  /** Indicates whether the price already includes tax. */
412
501
  taxIncludedInPrice?: boolean;
413
- /** Tax information for a line item. */
502
+ /**
503
+ * Tax information for a line item.
504
+ * @maxSize 7
505
+ */
414
506
  taxBreakdown?: LineItemTaxBreakdown[];
415
507
  }
416
508
  /**
@@ -418,17 +510,28 @@ export interface LineItemTaxInfo {
418
510
  * It holds the tax amount and the tax rate for each tax authority that apply on the line item.
419
511
  */
420
512
  export interface LineItemTaxBreakdown {
421
- /** Jurisdiction that taxes were calculated for. For example, "New York", or "Quebec". */
513
+ /**
514
+ * Jurisdiction that taxes were calculated for. For example, "New York", or "Quebec".
515
+ * @maxLength 200
516
+ */
422
517
  jurisdiction?: string | null;
423
- /** Tax rate used for this jurisdiction, as a decimal. For example, 10% tax is 0.1000. */
518
+ /**
519
+ * Tax rate used for this jurisdiction, as a decimal. For example, 10% tax is 0.1000.
520
+ * @format DECIMAL_VALUE
521
+ * @decimalValue options { gte:0, maxScale:6 }
522
+ */
424
523
  rate?: string | null;
425
524
  /** Amount of tax calculated for this line item. */
426
525
  taxAmount?: Price;
427
- /** The type of tax that was calculated. Depends on the jurisdiction's tax laws. For example, "Sales Tax", "Income Tax", "Value Added Tax", etc. */
526
+ /**
527
+ * The type of tax that was calculated. Depends on the jurisdiction's tax laws. For example, "Sales Tax", "Income Tax", "Value Added Tax", etc.
528
+ * @maxLength 200
529
+ */
428
530
  taxType?: string | null;
429
531
  /**
430
532
  * The name of the tax against which this tax amount was calculated. For example, "NY State Sales Tax", "Quebec GST", etc.
431
533
  * This name should be explicit enough to allow the merchant to understand what tax was calculated.
534
+ * @maxLength 200
432
535
  */
433
536
  taxName?: string | null;
434
537
  /** Type of jurisdiction that taxes were calculated for. */
@@ -448,9 +551,18 @@ export declare enum JurisdictionType {
448
551
  SPECIAL = "SPECIAL"
449
552
  }
450
553
  export interface DigitalFile {
451
- /** ID of the secure file in media. */
554
+ /**
555
+ * ID of the secure file in media.
556
+ * @minLength 1
557
+ * @maxLength 100
558
+ */
452
559
  fileId?: string;
453
- /** Link will exist after the digital links have been generated on the order. */
560
+ /**
561
+ * Link will exist after the digital links have been generated on the order.
562
+ * @format WEB_URL
563
+ * @minLength 1
564
+ * @maxLength 2000
565
+ */
454
566
  link?: string | null;
455
567
  /**
456
568
  * Link expiration time and date.
@@ -459,25 +571,48 @@ export interface DigitalFile {
459
571
  expirationDate?: Date | null;
460
572
  }
461
573
  export interface SubscriptionInfo {
462
- /** Subscription ID. */
574
+ /**
575
+ * Subscription ID.
576
+ * @format GUID
577
+ */
463
578
  id?: string | null;
464
- /** Subscription cycle. For example, if this order is for the 3rd cycle of a subscription, value will be `3`. */
579
+ /**
580
+ * Subscription cycle. For example, if this order is for the 3rd cycle of a subscription, value will be `3`.
581
+ * @min 1
582
+ */
465
583
  cycleNumber?: number;
466
- /** Subscription option title. For example, `"Monthly coffee Subscription"`. */
584
+ /**
585
+ * Subscription option title. For example, `"Monthly coffee Subscription"`.
586
+ * @minLength 1
587
+ * @maxLength 20
588
+ */
467
589
  subscriptionOptionTitle?: string;
468
- /** Subscription option description. For example, `"1kg of selected coffee, once a month"`. */
590
+ /**
591
+ * Subscription option description. For example, `"1kg of selected coffee, once a month"`.
592
+ * @maxLength 60
593
+ */
469
594
  subscriptionOptionDescription?: string | null;
470
- /** Subscription detailed information. */
595
+ /**
596
+ * Subscription detailed information.
597
+ * @immutable
598
+ */
471
599
  subscriptionSettings?: SubscriptionSettings;
472
600
  }
473
601
  export interface SubscriptionSettings {
474
602
  /** Frequency of recurring payment. */
475
603
  frequency?: V2SubscriptionFrequency;
476
- /** Interval of recurring payment. */
604
+ /**
605
+ * Interval of recurring payment.
606
+ * @min 1
607
+ * @max 50
608
+ */
477
609
  interval?: number | null;
478
610
  /** Whether subscription is renewed automatically at the end of each period. */
479
611
  autoRenewal?: boolean;
480
- /** Number of billing cycles before subscription ends. Ignored if `autoRenewal: true`. */
612
+ /**
613
+ * Number of billing cycles before subscription ends. Ignored if `autoRenewal: true`.
614
+ * @min 1
615
+ */
481
616
  billingCycles?: number | null;
482
617
  }
483
618
  /** Frequency unit of recurring payment */
@@ -491,30 +626,54 @@ export declare enum V2SubscriptionFrequency {
491
626
  export interface FreeTrialPeriod {
492
627
  /** Frequency of priod. Values: DAY, WEEK, MONTH, YEAR */
493
628
  frequency?: V2SubscriptionFrequency;
494
- /** interval of period */
629
+ /**
630
+ * interval of period
631
+ * @min 1
632
+ * @max 50
633
+ */
495
634
  interval?: number;
496
635
  }
497
636
  export interface PriceDescription {
498
- /** __Required.__ Price description in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope). */
637
+ /**
638
+ * __Required.__ Price description in the site's default language as defined in the [request envelope](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/backend-extensions/add-self-hosted-service-plugin-extensions#request-envelope).
639
+ * @minLength 1
640
+ * @maxLength 100
641
+ */
499
642
  original?: string;
500
643
  /**
501
644
  * Price description translated into the buyer's language.
502
645
  *
503
646
  * Default: Same as `original`.
647
+ * @minLength 1
648
+ * @maxLength 100
504
649
  */
505
650
  translated?: string | null;
506
651
  }
507
652
  export interface LocationAndQuantity {
508
- /** Location id in the associated owner app. */
653
+ /**
654
+ * Location id in the associated owner app.
655
+ * @format GUID
656
+ */
509
657
  id?: string;
510
658
  /**
511
659
  * Location owner app, if not provided then the site business info locations will be used.
660
+ * @format GUID
512
661
  * @deprecated Location owner app, if not provided then the site business info locations will be used.
513
662
  * @targetRemovalDate 2025-03-01
514
663
  */
515
664
  appId?: string | null;
516
- /** Quantity for specific location. */
665
+ /**
666
+ * Quantity for specific location.
667
+ * @min 1
668
+ * @max 100000
669
+ */
517
670
  quantity?: number;
671
+ /**
672
+ * Location name.
673
+ * @maxLength 500
674
+ * @readonly
675
+ */
676
+ name?: string | null;
518
677
  }
519
678
  export interface TaxableAddress extends TaxableAddressTaxableAddressDataOneOf {
520
679
  /** taxable address type. if this field is selected, the address is automatically resolved, and the tax is calculated accordingly. */
@@ -544,20 +703,38 @@ export interface ExtendedFields {
544
703
  }
545
704
  /** Buyer Info */
546
705
  export interface BuyerInfo extends BuyerInfoIdOneOf {
547
- /** Visitor ID (if site visitor is not a member). */
706
+ /**
707
+ * Visitor ID (if site visitor is not a member).
708
+ * @format GUID
709
+ */
548
710
  visitorId?: string;
549
- /** Member ID (if site visitor is a site member). */
711
+ /**
712
+ * Member ID (if site visitor is a site member).
713
+ * @format GUID
714
+ */
550
715
  memberId?: string;
551
- /** Contact ID. Auto-created if one does not yet exist. For more information, see [Contacts API](https://dev.wix.com/api/rest/contacts/contacts/introduction). */
716
+ /**
717
+ * Contact ID. Auto-created if one does not yet exist. For more information, see [Contacts API](https://dev.wix.com/api/rest/contacts/contacts/introduction).
718
+ * @format GUID
719
+ */
552
720
  contactId?: string | null;
553
- /** Buyer email address. */
721
+ /**
722
+ * Buyer email address.
723
+ * @format EMAIL
724
+ */
554
725
  email?: string | null;
555
726
  }
556
727
  /** @oneof */
557
728
  export interface BuyerInfoIdOneOf {
558
- /** Visitor ID (if site visitor is not a member). */
729
+ /**
730
+ * Visitor ID (if site visitor is not a member).
731
+ * @format GUID
732
+ */
559
733
  visitorId?: string;
560
- /** Member ID (if site visitor is a site member). */
734
+ /**
735
+ * Member ID (if site visitor is a site member).
736
+ * @format GUID
737
+ */
561
738
  memberId?: string;
562
739
  }
563
740
  export declare enum WeightUnit {
@@ -591,19 +768,37 @@ export interface AddressWithContact {
591
768
  }
592
769
  /** Physical address */
593
770
  export interface Address {
594
- /** Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format. */
771
+ /**
772
+ * Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.
773
+ * @format COUNTRY
774
+ */
595
775
  country?: string | null;
596
- /** Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format. */
776
+ /**
777
+ * Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format.
778
+ * @maxLength 50
779
+ */
597
780
  subdivision?: string | null;
598
- /** City name. */
781
+ /**
782
+ * City name.
783
+ * @maxLength 50
784
+ */
599
785
  city?: string | null;
600
- /** Postal or zip code. */
786
+ /**
787
+ * Postal or zip code.
788
+ * @maxLength 50
789
+ */
601
790
  postalCode?: string | null;
602
791
  /** Street address. */
603
792
  streetAddress?: StreetAddress;
604
- /** Main address line (usually street name and number). */
793
+ /**
794
+ * Main address line (usually street name and number).
795
+ * @maxLength 150
796
+ */
605
797
  addressLine?: string | null;
606
- /** Free text providing more detailed address info. Usually contains apt, suite, floor. */
798
+ /**
799
+ * Free text providing more detailed address info. Usually contains apt, suite, floor.
800
+ * @maxLength 100
801
+ */
607
802
  addressLine2?: string | null;
608
803
  /**
609
804
  * Country's full name.
@@ -630,13 +825,25 @@ export interface AddressLocation {
630
825
  }
631
826
  /** Full contact details for an address */
632
827
  export interface FullAddressContactDetails {
633
- /** First name. */
828
+ /**
829
+ * First name.
830
+ * @maxLength 100
831
+ */
634
832
  firstName?: string | null;
635
- /** Last name. */
833
+ /**
834
+ * Last name.
835
+ * @maxLength 100
836
+ */
636
837
  lastName?: string | null;
637
- /** Phone number. */
838
+ /**
839
+ * Phone number.
840
+ * @format PHONE
841
+ */
638
842
  phone?: string | null;
639
- /** Company name. */
843
+ /**
844
+ * Company name.
845
+ * @maxLength 1000
846
+ */
640
847
  company?: string | null;
641
848
  /** Tax information (for Brazil only). If ID is provided, `vatId.type` must also be set, `UNSPECIFIED` is not allowed. */
642
849
  vatId?: VatId;
@@ -662,13 +869,22 @@ export declare enum VatType {
662
869
  CNPJ = "CNPJ"
663
870
  }
664
871
  export interface ShippingInformation {
665
- /** App Def Id of external provider which was a source of shipping info */
872
+ /**
873
+ * App Def Id of external provider which was a source of shipping info
874
+ * @minLength 1
875
+ * @maxLength 100
876
+ */
666
877
  carrierId?: string | null;
667
- /** Unique code (or ID) of selected shipping option. For example, `"usps_std_overnight"`. */
878
+ /**
879
+ * Unique code (or ID) of selected shipping option. For example, `"usps_std_overnight"`.
880
+ * @minLength 1
881
+ * @maxLength 100
882
+ */
668
883
  code?: string | null;
669
884
  /**
670
885
  * Shipping option title.
671
886
  * For example, `"USPS Standard Overnight Delivery"`, `"Standard"` or `"First-Class Package International"`.
887
+ * @maxLength 250
672
888
  */
673
889
  title?: string;
674
890
  /** Shipping logistics. */
@@ -683,9 +899,15 @@ export interface DeliveryLogistics extends DeliveryLogisticsAddressOneOf {
683
899
  shippingDestination?: AddressWithContact;
684
900
  /** Pickup details. */
685
901
  pickupDetails?: PickupDetails;
686
- /** Expected delivery time in free text. For example, `"3-5 business days"`. */
902
+ /**
903
+ * Expected delivery time in free text. For example, `"3-5 business days"`.
904
+ * @maxLength 500
905
+ */
687
906
  deliveryTime?: string | null;
688
- /** Instructions for carrier. For example, `"Please knock on the door. If unanswered, please call contact number. Thanks."`. */
907
+ /**
908
+ * Instructions for carrier. For example, `"Please knock on the door. If unanswered, please call contact number. Thanks."`.
909
+ * @maxLength 1000
910
+ */
689
911
  instructions?: string | null;
690
912
  /**
691
913
  * Deprecated - Latest expected delivery date and time in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
@@ -710,19 +932,37 @@ export interface PickupDetails {
710
932
  }
711
933
  /** Physical address */
712
934
  export interface PickupAddress {
713
- /** Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format. */
935
+ /**
936
+ * Two-letter country code in [ISO-3166 alpha-2](https://www.iso.org/obp/ui/#search/code/) format.
937
+ * @format COUNTRY
938
+ */
714
939
  country?: string | null;
715
- /** Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format. */
940
+ /**
941
+ * Code for a subdivision (such as state, prefecture, or province) in [ISO 3166-2](https://www.iso.org/standard/72483.html) format.
942
+ * @maxLength 50
943
+ */
716
944
  subdivision?: string | null;
717
- /** City name. */
945
+ /**
946
+ * City name.
947
+ * @maxLength 1000
948
+ */
718
949
  city?: string | null;
719
- /** Postal or zip code. */
950
+ /**
951
+ * Postal or zip code.
952
+ * @maxLength 1000
953
+ */
720
954
  postalCode?: string | null;
721
955
  /** Street address object, with number, name, and apartment number in separate fields. */
722
956
  streetAddress?: StreetAddress;
723
- /** Main address line (usually street name and number). */
957
+ /**
958
+ * Main address line (usually street name and number).
959
+ * @maxLength 1000
960
+ */
724
961
  addressLine?: string | null;
725
- /** Free text providing more detailed address info. Usually contains apt, suite, floor. */
962
+ /**
963
+ * Free text providing more detailed address info. Usually contains apt, suite, floor.
964
+ * @maxLength 1000
965
+ */
726
966
  addressLine2?: string | null;
727
967
  /**
728
968
  * Country's full name.
@@ -768,13 +1008,19 @@ export interface ShippingPrice {
768
1008
  discount?: Price;
769
1009
  }
770
1010
  export interface ShippingRegion {
771
- /** Name of shipping region. For example, `"Metropolitan London"`, or `"Outer Melbourne suburbs"`. */
1011
+ /**
1012
+ * Name of shipping region. For example, `"Metropolitan London"`, or `"Outer Melbourne suburbs"`.
1013
+ * @maxLength 100
1014
+ */
772
1015
  name?: string | null;
773
1016
  }
774
1017
  export interface OrderTaxInfo {
775
1018
  /** Calculated tax, added from line items. */
776
1019
  totalTax?: Price;
777
- /** The summary of the tax breakdown for all the line items. It will hold for each tax name, the aggregated tax amount paid for it and the tax rate. */
1020
+ /**
1021
+ * The summary of the tax breakdown for all the line items. It will hold for each tax name, the aggregated tax amount paid for it and the tax rate.
1022
+ * @maxSize 50
1023
+ */
778
1024
  taxBreakdown?: OrderTaxBreakdown[];
779
1025
  /**
780
1026
  * Whether the order is exempt from tax calculations.
@@ -789,15 +1035,28 @@ export interface OrderTaxInfo {
789
1035
  * Tax breakdown is the tax amount split to the tax authorities that applied on the line item.
790
1036
  */
791
1037
  export interface OrderTaxBreakdown {
792
- /** The name of the tax against which this tax amount was calculated. */
1038
+ /**
1039
+ * The name of the tax against which this tax amount was calculated.
1040
+ * @maxLength 200
1041
+ */
793
1042
  taxName?: string;
794
- /** The type of tax that was calculated. Depends on the company's nexus settings as well as the jurisdiction's tax laws. */
1043
+ /**
1044
+ * The type of tax that was calculated. Depends on the company's nexus settings as well as the jurisdiction's tax laws.
1045
+ * @maxLength 200
1046
+ */
795
1047
  taxType?: string;
796
- /** The name of the jurisdiction in which this tax detail applies. */
1048
+ /**
1049
+ * The name of the jurisdiction in which this tax detail applies.
1050
+ * @maxLength 200
1051
+ */
797
1052
  jurisdiction?: string;
798
1053
  /** The type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
799
1054
  jurisdictionType?: JurisdictionType;
800
- /** The rate at which this tax detail was calculated. */
1055
+ /**
1056
+ * The rate at which this tax detail was calculated.
1057
+ * @format DECIMAL_VALUE
1058
+ * @decimalValue options { gte:0, maxScale:6 }
1059
+ */
801
1060
  rate?: string;
802
1061
  /** The sum of all the tax from line items that calculated by the tax identifiers. */
803
1062
  aggregatedTaxAmount?: Price;
@@ -819,13 +1078,19 @@ export interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
819
1078
  /**
820
1079
  * IDs of line items discount applies to.
821
1080
  * Deprecated. Use `line_item_discounts` instead.
1081
+ * @format GUID
1082
+ * @maxSize 1
822
1083
  * @deprecated IDs of line items discount applies to.
823
1084
  * Deprecated. Use `line_item_discounts` instead.
824
1085
  * @replacedBy line_item_discounts
825
1086
  * @targetRemovalDate 2024-10-30
826
1087
  */
827
1088
  lineItemIds?: string[];
828
- /** Discount id. */
1089
+ /**
1090
+ * Discount id.
1091
+ * @format GUID
1092
+ * @immutable
1093
+ */
829
1094
  id?: string | null;
830
1095
  }
831
1096
  /** @oneof */
@@ -859,7 +1124,10 @@ export interface MerchantDiscount extends MerchantDiscountMerchantDiscountReason
859
1124
  * * `"ITEMS_EXCHANGE"` - exchange balance acquired as a result of items exchange.
860
1125
  */
861
1126
  discountReason?: DiscountReason;
862
- /** Discount description as free text (optional). */
1127
+ /**
1128
+ * Discount description as free text (optional).
1129
+ * @maxLength 200
1130
+ */
863
1131
  description?: string | null;
864
1132
  /** Discount amount. */
865
1133
  amount?: Price;
@@ -871,7 +1139,10 @@ export interface MerchantDiscountMerchantDiscountReasonOneOf {
871
1139
  * * `"ITEMS_EXCHANGE"` - exchange balance acquired as a result of items exchange.
872
1140
  */
873
1141
  discountReason?: DiscountReason;
874
- /** Discount description as free text (optional). */
1142
+ /**
1143
+ * Discount description as free text (optional).
1144
+ * @maxLength 200
1145
+ */
875
1146
  description?: string | null;
876
1147
  }
877
1148
  export declare enum DiscountReason {
@@ -879,7 +1150,10 @@ export declare enum DiscountReason {
879
1150
  EXCHANGED_ITEMS = "EXCHANGED_ITEMS"
880
1151
  }
881
1152
  export interface DiscountRule {
882
- /** Discount rule ID */
1153
+ /**
1154
+ * Discount rule ID
1155
+ * @format GUID
1156
+ */
883
1157
  id?: string;
884
1158
  /** Discount rule name */
885
1159
  name?: DiscountRuleName;
@@ -887,13 +1161,24 @@ export interface DiscountRule {
887
1161
  amount?: Price;
888
1162
  }
889
1163
  export interface DiscountRuleName {
890
- /** Original discount rule name (in site's default language). */
1164
+ /**
1165
+ * Original discount rule name (in site's default language).
1166
+ * @minLength 1
1167
+ * @maxLength 256
1168
+ */
891
1169
  original?: string;
892
- /** Translated discount rule name according to buyer language. Defaults to `original` when not provided. */
1170
+ /**
1171
+ * Translated discount rule name according to buyer language. Defaults to `original` when not provided.
1172
+ * @minLength 1
1173
+ * @maxLength 500
1174
+ */
893
1175
  translated?: string | null;
894
1176
  }
895
1177
  export interface LineItemDiscount {
896
- /** ID of line item the discount applies to. */
1178
+ /**
1179
+ * ID of line item the discount applies to.
1180
+ * @format GUID
1181
+ */
897
1182
  id?: string;
898
1183
  /** Total discount for this line item. */
899
1184
  totalDiscount?: Price;
@@ -901,9 +1186,15 @@ export interface LineItemDiscount {
901
1186
  export interface ChannelInfo {
902
1187
  /** Sales channel that submitted the order. */
903
1188
  type?: ChannelType;
904
- /** Reference to an order ID from an external system. */
1189
+ /**
1190
+ * Reference to an order ID from an external system.
1191
+ * @maxLength 100
1192
+ */
905
1193
  externalOrderId?: string | null;
906
- /** URL to the order in the external system. */
1194
+ /**
1195
+ * URL to the order in the external system.
1196
+ * @maxLength 300
1197
+ */
907
1198
  externalOrderUrl?: string | null;
908
1199
  }
909
1200
  export declare enum ChannelType {
@@ -943,31 +1234,55 @@ export declare enum ChannelType {
943
1234
  export interface CustomField {
944
1235
  /** Custom field value. */
945
1236
  value?: any;
946
- /** Custom field title. */
1237
+ /**
1238
+ * Custom field title.
1239
+ * @minLength 1
1240
+ * @maxLength 500
1241
+ */
947
1242
  title?: string;
948
- /** Translated custom field title. */
1243
+ /**
1244
+ * Translated custom field title.
1245
+ * @minLength 1
1246
+ * @maxLength 500
1247
+ */
949
1248
  translatedTitle?: string | null;
950
1249
  }
951
1250
  export interface AdditionalFee {
952
- /** Additional fee's unique code for future processing. */
1251
+ /**
1252
+ * Additional fee's unique code for future processing.
1253
+ * @minLength 1
1254
+ * @maxLength 100
1255
+ */
953
1256
  code?: string | null;
954
- /** Name of additional fee. */
1257
+ /**
1258
+ * Name of additional fee.
1259
+ * @minLength 1
1260
+ * @maxLength 50
1261
+ */
955
1262
  name?: string;
956
1263
  /** Additional fee's price. */
957
1264
  price?: Price;
958
1265
  /** Tax details. */
959
1266
  taxDetails?: ItemTaxFullDetails;
960
- /** SPI implementer's `appId`. */
1267
+ /**
1268
+ * SPI implementer's `appId`.
1269
+ * @format GUID
1270
+ */
961
1271
  providerAppId?: string | null;
962
1272
  /** Additional fee's price before tax. */
963
1273
  priceBeforeTax?: Price;
964
1274
  /** Additional fee's price after tax. */
965
1275
  priceAfterTax?: Price;
966
- /** Additional fee's id. */
1276
+ /**
1277
+ * Additional fee's id.
1278
+ * @format GUID
1279
+ * @immutable
1280
+ */
967
1281
  id?: string;
968
1282
  /**
969
1283
  * Optional - Line items associated with this additional fee.
970
1284
  * If no `lineItemIds` are provided, the fee will be associated with the whole cart/checkout/order.
1285
+ * @format GUID
971
1286
  */
972
1287
  lineItemIds?: string[];
973
1288
  }
@@ -975,10 +1290,13 @@ export interface Location {
975
1290
  /**
976
1291
  * Location ID.
977
1292
  * Learn more about the [Wix Locations API](https://dev.wix.com/docs/rest/business-management/locations/introduction).
1293
+ * @format GUID
978
1294
  */
979
1295
  id?: string;
980
1296
  /**
981
1297
  * Location name.
1298
+ * @minLength 1
1299
+ * @maxLength 500
982
1300
  * @readonly
983
1301
  */
984
1302
  name?: string;
@@ -992,7 +1310,10 @@ export interface CreateSubscriptionContractResponse {
992
1310
  subscriptionContract?: SubscriptionContract;
993
1311
  }
994
1312
  export interface GetSubscriptionContractRequest {
995
- /** ID of the SubscriptionContract to retrieve. */
1313
+ /**
1314
+ * ID of the SubscriptionContract to retrieve.
1315
+ * @format GUID
1316
+ */
996
1317
  subscriptionContractId: string;
997
1318
  }
998
1319
  export interface GetSubscriptionContractResponse {
@@ -1028,6 +1349,7 @@ export interface CursorQuery extends CursorQueryPagingMethodOneOf {
1028
1349
  * Sort object in the following format:
1029
1350
  * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
1030
1351
  * Learn more about the [sort format](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).
1352
+ * @maxSize 5
1031
1353
  */
1032
1354
  sort?: Sorting[];
1033
1355
  }
@@ -1037,7 +1359,10 @@ export interface CursorQueryPagingMethodOneOf {
1037
1359
  cursorPaging?: CursorPaging;
1038
1360
  }
1039
1361
  export interface Sorting {
1040
- /** Name of the field to sort by. */
1362
+ /**
1363
+ * Name of the field to sort by.
1364
+ * @maxLength 512
1365
+ */
1041
1366
  fieldName?: string;
1042
1367
  /** Sort order. */
1043
1368
  order?: SortOrder;
@@ -1047,13 +1372,17 @@ export declare enum SortOrder {
1047
1372
  DESC = "DESC"
1048
1373
  }
1049
1374
  export interface CursorPaging {
1050
- /** Maximum number of items to return in the results. */
1375
+ /**
1376
+ * Maximum number of items to return in the results.
1377
+ * @max 100
1378
+ */
1051
1379
  limit?: number | null;
1052
1380
  /**
1053
1381
  * Pointer to the next or previous page in the list of results.
1054
1382
  *
1055
1383
  * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
1056
1384
  * Not relevant for the first request.
1385
+ * @maxLength 16000
1057
1386
  */
1058
1387
  cursor?: string | null;
1059
1388
  }
@@ -1077,9 +1406,15 @@ export interface CursorPagingMetadata {
1077
1406
  hasNext?: boolean | null;
1078
1407
  }
1079
1408
  export interface Cursors {
1080
- /** Cursor string pointing to the next page in the list of results. */
1409
+ /**
1410
+ * Cursor string pointing to the next page in the list of results.
1411
+ * @maxLength 16000
1412
+ */
1081
1413
  next?: string | null;
1082
- /** Cursor pointing to the previous page in the list of results. */
1414
+ /**
1415
+ * Cursor pointing to the previous page in the list of results.
1416
+ * @maxLength 16000
1417
+ */
1083
1418
  prev?: string | null;
1084
1419
  }
1085
1420
  export interface DomainEvent extends DomainEventBodyOneOf {
@@ -1157,9 +1492,15 @@ export interface ActionEvent {
1157
1492
  export interface Empty {
1158
1493
  }
1159
1494
  export interface MessageEnvelope {
1160
- /** App instance ID. */
1495
+ /**
1496
+ * App instance ID.
1497
+ * @format GUID
1498
+ */
1161
1499
  instanceId?: string | null;
1162
- /** Event type. */
1500
+ /**
1501
+ * Event type.
1502
+ * @maxLength 150
1503
+ */
1163
1504
  eventType?: string;
1164
1505
  /** The identification type and identity data. */
1165
1506
  identity?: IdentificationData;
@@ -1167,26 +1508,50 @@ export interface MessageEnvelope {
1167
1508
  data?: string;
1168
1509
  }
1169
1510
  export interface IdentificationData extends IdentificationDataIdOneOf {
1170
- /** ID of a site visitor that has not logged in to the site. */
1511
+ /**
1512
+ * ID of a site visitor that has not logged in to the site.
1513
+ * @format GUID
1514
+ */
1171
1515
  anonymousVisitorId?: string;
1172
- /** ID of a site visitor that has logged in to the site. */
1516
+ /**
1517
+ * ID of a site visitor that has logged in to the site.
1518
+ * @format GUID
1519
+ */
1173
1520
  memberId?: string;
1174
- /** ID of a Wix user (site owner, contributor, etc.). */
1521
+ /**
1522
+ * ID of a Wix user (site owner, contributor, etc.).
1523
+ * @format GUID
1524
+ */
1175
1525
  wixUserId?: string;
1176
- /** ID of an app. */
1526
+ /**
1527
+ * ID of an app.
1528
+ * @format GUID
1529
+ */
1177
1530
  appId?: string;
1178
1531
  /** @readonly */
1179
1532
  identityType?: WebhookIdentityType;
1180
1533
  }
1181
1534
  /** @oneof */
1182
1535
  export interface IdentificationDataIdOneOf {
1183
- /** ID of a site visitor that has not logged in to the site. */
1536
+ /**
1537
+ * ID of a site visitor that has not logged in to the site.
1538
+ * @format GUID
1539
+ */
1184
1540
  anonymousVisitorId?: string;
1185
- /** ID of a site visitor that has logged in to the site. */
1541
+ /**
1542
+ * ID of a site visitor that has logged in to the site.
1543
+ * @format GUID
1544
+ */
1186
1545
  memberId?: string;
1187
- /** ID of a Wix user (site owner, contributor, etc.). */
1546
+ /**
1547
+ * ID of a Wix user (site owner, contributor, etc.).
1548
+ * @format GUID
1549
+ */
1188
1550
  wixUserId?: string;
1189
- /** ID of an app. */
1551
+ /**
1552
+ * ID of an app.
1553
+ * @format GUID
1554
+ */
1190
1555
  appId?: string;
1191
1556
  }
1192
1557
  export declare enum WebhookIdentityType {
@@ -1279,6 +1644,10 @@ interface SubscriptionInfoNonNullableFields {
1279
1644
  interface PriceDescriptionNonNullableFields {
1280
1645
  original: string;
1281
1646
  }
1647
+ interface LocationAndQuantityNonNullableFields {
1648
+ id: string;
1649
+ quantity: number;
1650
+ }
1282
1651
  interface OrderLineItemNonNullableFields {
1283
1652
  id: string;
1284
1653
  productName?: ProductNameNonNullableFields;
@@ -1300,6 +1669,7 @@ interface OrderLineItemNonNullableFields {
1300
1669
  subscriptionInfo?: SubscriptionInfoNonNullableFields;
1301
1670
  priceDescription?: PriceDescriptionNonNullableFields;
1302
1671
  depositAmount?: PriceNonNullableFields;
1672
+ locations: LocationAndQuantityNonNullableFields[];
1303
1673
  lineItemPrice?: PriceNonNullableFields;
1304
1674
  }
1305
1675
  interface BuyerInfoNonNullableFields {