@wix/auto_sdk_ecom_draft-orders 1.0.165 → 1.0.166
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +164 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +14 -1
- package/build/cjs/index.typings.js +146 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +14 -1
- package/build/cjs/meta.js +148 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +164 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +14 -1
- package/build/es/index.typings.mjs +146 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +14 -1
- package/build/es/meta.mjs +148 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +164 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +308 -2
- package/build/internal/cjs/index.typings.js +146 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +815 -3
- package/build/internal/cjs/meta.js +148 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +164 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +308 -2
- package/build/internal/es/index.typings.mjs +146 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +815 -3
- package/build/internal/es/meta.mjs +148 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -173,6 +173,14 @@ interface ItemDetails extends ItemDetailsChangeTypeOneOf {
|
|
|
173
173
|
changedDetails?: ItemChangedDetails;
|
|
174
174
|
/** Whether the line item was removed as part of the draft. */
|
|
175
175
|
removed?: boolean;
|
|
176
|
+
/**
|
|
177
|
+
* Line item derived fields (tax, discount share, computed prices) changed as a side
|
|
178
|
+
* effect of recalculation (e.g. GLOBAL coupon redistribution) rather than a direct
|
|
179
|
+
* merchant edit. Internal-only: used by the commit path to carry redistributed values
|
|
180
|
+
* into ep-orders without generating per-item merchant activities.
|
|
181
|
+
* @internal
|
|
182
|
+
*/
|
|
183
|
+
changedImplicitly?: ItemChangedImplicitlyDetails;
|
|
176
184
|
/** Line item details after applied changes. */
|
|
177
185
|
lineItem?: OrderLineItem;
|
|
178
186
|
}
|
|
@@ -184,6 +192,14 @@ interface ItemDetailsChangeTypeOneOf {
|
|
|
184
192
|
changedDetails?: ItemChangedDetails;
|
|
185
193
|
/** Whether the line item was removed as part of the draft. */
|
|
186
194
|
removed?: boolean;
|
|
195
|
+
/**
|
|
196
|
+
* Line item derived fields (tax, discount share, computed prices) changed as a side
|
|
197
|
+
* effect of recalculation (e.g. GLOBAL coupon redistribution) rather than a direct
|
|
198
|
+
* merchant edit. Internal-only: used by the commit path to carry redistributed values
|
|
199
|
+
* into ep-orders without generating per-item merchant activities.
|
|
200
|
+
* @internal
|
|
201
|
+
*/
|
|
202
|
+
changedImplicitly?: ItemChangedImplicitlyDetails;
|
|
187
203
|
}
|
|
188
204
|
interface Price {
|
|
189
205
|
/**
|
|
@@ -239,8 +255,26 @@ interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDesc
|
|
|
239
255
|
plainText?: PlainTextValue;
|
|
240
256
|
/** Description line color value. */
|
|
241
257
|
colorInfo?: Color;
|
|
258
|
+
/**
|
|
259
|
+
* Description line plain text value.
|
|
260
|
+
* @internal
|
|
261
|
+
* @deprecated
|
|
262
|
+
*/
|
|
263
|
+
plainTextValue?: PlainTextValue;
|
|
264
|
+
/**
|
|
265
|
+
* Description line color.
|
|
266
|
+
* @internal
|
|
267
|
+
* @deprecated
|
|
268
|
+
*/
|
|
269
|
+
color?: string;
|
|
242
270
|
/** Description line name. */
|
|
243
271
|
name?: DescriptionLineName;
|
|
272
|
+
/**
|
|
273
|
+
* Description line type.
|
|
274
|
+
* @internal
|
|
275
|
+
* @deprecated
|
|
276
|
+
*/
|
|
277
|
+
lineType?: DescriptionLineTypeWithLiterals;
|
|
244
278
|
}
|
|
245
279
|
/** @oneof */
|
|
246
280
|
interface DescriptionLineValueOneOf {
|
|
@@ -251,6 +285,18 @@ interface DescriptionLineValueOneOf {
|
|
|
251
285
|
}
|
|
252
286
|
/** @oneof */
|
|
253
287
|
interface DescriptionLineDescriptionLineValueOneOf {
|
|
288
|
+
/**
|
|
289
|
+
* Description line plain text value.
|
|
290
|
+
* @internal
|
|
291
|
+
* @deprecated
|
|
292
|
+
*/
|
|
293
|
+
plainTextValue?: PlainTextValue;
|
|
294
|
+
/**
|
|
295
|
+
* Description line color.
|
|
296
|
+
* @internal
|
|
297
|
+
* @deprecated
|
|
298
|
+
*/
|
|
299
|
+
color?: string;
|
|
254
300
|
}
|
|
255
301
|
interface DescriptionLineName {
|
|
256
302
|
/**
|
|
@@ -518,6 +564,12 @@ interface OrderLineItem {
|
|
|
518
564
|
* @readonly
|
|
519
565
|
*/
|
|
520
566
|
priceBeforeDiscounts?: Price;
|
|
567
|
+
/**
|
|
568
|
+
* Line item price per unit before line item discounts and before tax.
|
|
569
|
+
* @internal
|
|
570
|
+
* @readonly
|
|
571
|
+
*/
|
|
572
|
+
priceBeforeDiscountsAndTax?: Price;
|
|
521
573
|
/**
|
|
522
574
|
* Total price after discounts, and before tax.
|
|
523
575
|
* @readonly
|
|
@@ -558,6 +610,17 @@ interface OrderLineItem {
|
|
|
558
610
|
* @readonly
|
|
559
611
|
*/
|
|
560
612
|
depositAmount?: Price;
|
|
613
|
+
/**
|
|
614
|
+
* The item's delivery profile ID.
|
|
615
|
+
* @internal
|
|
616
|
+
* @format GUID
|
|
617
|
+
*/
|
|
618
|
+
deliveryProfileId?: string | null;
|
|
619
|
+
/**
|
|
620
|
+
* @internal
|
|
621
|
+
* @format GUID
|
|
622
|
+
*/
|
|
623
|
+
shippingGroupId?: string | null;
|
|
561
624
|
/**
|
|
562
625
|
* Line item locations.
|
|
563
626
|
*
|
|
@@ -567,6 +630,23 @@ interface OrderLineItem {
|
|
|
567
630
|
locations?: LocationAndQuantity[];
|
|
568
631
|
/** Total price **after** catalog discounts and line item discounts. */
|
|
569
632
|
lineItemPrice?: Price;
|
|
633
|
+
/**
|
|
634
|
+
* Whether the line item is a custom line item. Custom line items don't trigger the Catalog service plugin.
|
|
635
|
+
* @internal
|
|
636
|
+
* @readonly
|
|
637
|
+
* @immutable
|
|
638
|
+
*/
|
|
639
|
+
customLineItem?: boolean | null;
|
|
640
|
+
/**
|
|
641
|
+
* In cases where `catalogReference.catalogItemId` is NOT the actual catalog item ID, this field will return the true item's ID.
|
|
642
|
+
* + For example, for Wix Bookings, `catalogReference.catalogItemId` is the booking ID. Therefore this value is set to the service ID.
|
|
643
|
+
* + In most cases, this field has the same value as `catalogReference.catalogItemId`.
|
|
644
|
+
* @internal
|
|
645
|
+
* @minLength 1
|
|
646
|
+
* @maxLength 36
|
|
647
|
+
* @readonly
|
|
648
|
+
*/
|
|
649
|
+
rootCatalogItemId?: string | null;
|
|
570
650
|
/** Address used for tax calculation. */
|
|
571
651
|
taxableAddress?: TaxableAddress;
|
|
572
652
|
/**
|
|
@@ -615,6 +695,12 @@ interface OrderLineItem {
|
|
|
615
695
|
* @immutable
|
|
616
696
|
*/
|
|
617
697
|
externalLineItemId?: string | null;
|
|
698
|
+
/**
|
|
699
|
+
* Service properties. When relevant, this contains information such as the date and number of participants.
|
|
700
|
+
* @internal
|
|
701
|
+
* @readonly
|
|
702
|
+
*/
|
|
703
|
+
serviceProperties?: ServiceProperties;
|
|
618
704
|
}
|
|
619
705
|
/** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
|
|
620
706
|
interface CatalogReference {
|
|
@@ -772,6 +858,12 @@ type PaymentOptionTypeWithLiterals = PaymentOptionType | 'FULL_PAYMENT_ONLINE' |
|
|
|
772
858
|
interface ItemTaxFullDetails {
|
|
773
859
|
/** Taxable amount of this line item. */
|
|
774
860
|
taxableAmount?: Price;
|
|
861
|
+
/**
|
|
862
|
+
* ID of the item's tax group, if specified.
|
|
863
|
+
* @internal
|
|
864
|
+
* @format GUID
|
|
865
|
+
*/
|
|
866
|
+
taxGroupId?: string | null;
|
|
775
867
|
/**
|
|
776
868
|
* Tax rate percentage, as a decimal numeral between 0 and 1. For example, `"0.13"`.
|
|
777
869
|
* @decimalValue options { gte:0, maxScale:6 }
|
|
@@ -1106,6 +1198,25 @@ interface ExtendedFields {
|
|
|
1106
1198
|
*/
|
|
1107
1199
|
namespaces?: Record<string, Record<string, any>>;
|
|
1108
1200
|
}
|
|
1201
|
+
interface ServiceProperties {
|
|
1202
|
+
/**
|
|
1203
|
+
* Date and time the service is to be provided, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
|
|
1204
|
+
* For example, the start time of a class.
|
|
1205
|
+
*/
|
|
1206
|
+
scheduledDate?: Date | null;
|
|
1207
|
+
/**
|
|
1208
|
+
* The number of people participating in the service. For example, the number of people attending a class or the number of people per hotel room.
|
|
1209
|
+
* @min 1
|
|
1210
|
+
* @max 10000
|
|
1211
|
+
*/
|
|
1212
|
+
numberOfParticipants?: number | null;
|
|
1213
|
+
/**
|
|
1214
|
+
* Date and time the service is to be ended, in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format.
|
|
1215
|
+
* For example, the date and time a class will end.
|
|
1216
|
+
* @internal
|
|
1217
|
+
*/
|
|
1218
|
+
endDate?: Date | null;
|
|
1219
|
+
}
|
|
1109
1220
|
interface ItemChangedDetails {
|
|
1110
1221
|
/**
|
|
1111
1222
|
* Line item quantity before change.
|
|
@@ -1295,6 +1406,16 @@ interface StreetAddress {
|
|
|
1295
1406
|
number?: string;
|
|
1296
1407
|
/** Street name. */
|
|
1297
1408
|
name?: string;
|
|
1409
|
+
/**
|
|
1410
|
+
* Apartment number.
|
|
1411
|
+
* @internal
|
|
1412
|
+
*/
|
|
1413
|
+
apt?: string;
|
|
1414
|
+
/**
|
|
1415
|
+
* Optional address line 1
|
|
1416
|
+
* @internal
|
|
1417
|
+
*/
|
|
1418
|
+
formattedAddressLine?: string | null;
|
|
1298
1419
|
}
|
|
1299
1420
|
interface AddressLocation {
|
|
1300
1421
|
/** Address latitude. */
|
|
@@ -1399,6 +1520,8 @@ interface PickupAddress {
|
|
|
1399
1520
|
* @readonly
|
|
1400
1521
|
*/
|
|
1401
1522
|
subdivisionFullname?: string | null;
|
|
1523
|
+
/** @internal */
|
|
1524
|
+
location?: AddressLocation;
|
|
1402
1525
|
}
|
|
1403
1526
|
declare enum PickupDetailsPickupMethod {
|
|
1404
1527
|
STORE_PICKUP = "STORE_PICKUP",
|
|
@@ -1709,6 +1832,12 @@ interface MerchantDiscount extends MerchantDiscountMerchantDiscountReasonOneOf {
|
|
|
1709
1832
|
* @decimalValue options { gte:0, lte:100, maxScale:2 }
|
|
1710
1833
|
*/
|
|
1711
1834
|
percentage?: string | null;
|
|
1835
|
+
/**
|
|
1836
|
+
* Discount name.
|
|
1837
|
+
* @internal
|
|
1838
|
+
* @maxLength 200
|
|
1839
|
+
*/
|
|
1840
|
+
name?: string | null;
|
|
1712
1841
|
}
|
|
1713
1842
|
/** @oneof */
|
|
1714
1843
|
interface MerchantDiscountMerchantDiscountReasonOneOf {
|
|
@@ -1850,8 +1979,26 @@ interface PriceSummary {
|
|
|
1850
1979
|
tax?: Price;
|
|
1851
1980
|
/** Total discount amount applied to the order. */
|
|
1852
1981
|
discount?: Price;
|
|
1982
|
+
/**
|
|
1983
|
+
* Deprecated - use `total` instead.
|
|
1984
|
+
* @internal
|
|
1985
|
+
* @deprecated
|
|
1986
|
+
*/
|
|
1987
|
+
totalPrice?: Price;
|
|
1853
1988
|
/** Order's total price after discounts and tax. */
|
|
1854
1989
|
total?: Price;
|
|
1990
|
+
/**
|
|
1991
|
+
* Order's total price including gift card.
|
|
1992
|
+
* @internal
|
|
1993
|
+
* @deprecated
|
|
1994
|
+
*/
|
|
1995
|
+
totalWithGiftCard?: Price;
|
|
1996
|
+
/**
|
|
1997
|
+
* Order's total price after without gift card.
|
|
1998
|
+
* @internal
|
|
1999
|
+
* @deprecated
|
|
2000
|
+
*/
|
|
2001
|
+
totalWithoutGiftCard?: Price;
|
|
1855
2002
|
/** Total additional fees before tax. */
|
|
1856
2003
|
totalAdditionalFees?: Price;
|
|
1857
2004
|
}
|
|
@@ -1861,6 +2008,13 @@ interface TaxSummary {
|
|
|
1861
2008
|
* @readonly
|
|
1862
2009
|
*/
|
|
1863
2010
|
totalTax?: Price;
|
|
2011
|
+
/**
|
|
2012
|
+
* manual tax rate
|
|
2013
|
+
* @internal
|
|
2014
|
+
* @decimalValue options { gte:0, maxScale:6 }
|
|
2015
|
+
* @readonly
|
|
2016
|
+
*/
|
|
2017
|
+
manualTaxRate?: string | null;
|
|
1864
2018
|
}
|
|
1865
2019
|
interface BalanceSummary {
|
|
1866
2020
|
/**
|
|
@@ -2009,6 +2163,13 @@ interface OrderTaxInfo {
|
|
|
2009
2163
|
* @maxSize 50
|
|
2010
2164
|
*/
|
|
2011
2165
|
taxBreakdown?: OrderTaxBreakdown[];
|
|
2166
|
+
/**
|
|
2167
|
+
* Manual tax rate
|
|
2168
|
+
* @internal
|
|
2169
|
+
* @decimalValue options { gte:0 }
|
|
2170
|
+
* @readonly
|
|
2171
|
+
*/
|
|
2172
|
+
manualTaxRate?: string | null;
|
|
2012
2173
|
/**
|
|
2013
2174
|
* Whether the order is exempt from tax calculations.
|
|
2014
2175
|
*
|
|
@@ -2053,6 +2214,11 @@ interface OrderTaxBreakdown {
|
|
|
2053
2214
|
rate?: string;
|
|
2054
2215
|
/** The sum of all the tax from line items that calculated by the tax identifiers. */
|
|
2055
2216
|
aggregatedTaxAmount?: Price;
|
|
2217
|
+
/**
|
|
2218
|
+
* The sum of all the taxable amount from line items for tax identifiers.
|
|
2219
|
+
* @internal
|
|
2220
|
+
*/
|
|
2221
|
+
aggregatedTaxableAmount?: Price;
|
|
2056
2222
|
/**
|
|
2057
2223
|
* The aggregated exempt amount from all line items for tax identifiers.
|
|
2058
2224
|
* @internal
|
|
@@ -2444,6 +2610,11 @@ interface CustomLineItem {
|
|
|
2444
2610
|
fullPrice?: Price;
|
|
2445
2611
|
/** Item price **before** line item discounts and **after** catalog-defined discount. Defaults to `price` when not provided. */
|
|
2446
2612
|
priceBeforeDiscounts?: Price;
|
|
2613
|
+
/**
|
|
2614
|
+
* Item price per unit **before** line item discounts and before tax.
|
|
2615
|
+
* @internal
|
|
2616
|
+
*/
|
|
2617
|
+
priceBeforeDiscountsAndTax?: Price;
|
|
2447
2618
|
/** Line item description lines. Used for display purposes for order. */
|
|
2448
2619
|
descriptionLines?: DescriptionLine[];
|
|
2449
2620
|
/** Line item image details. */
|
|
@@ -2452,6 +2623,23 @@ interface CustomLineItem {
|
|
|
2452
2623
|
physicalProperties?: PhysicalProperties;
|
|
2453
2624
|
/** Item type. Either a preset type or custom. */
|
|
2454
2625
|
itemType?: ItemType;
|
|
2626
|
+
/**
|
|
2627
|
+
* Fulfiller ID for this item. Field is empty when the item is self-fulfilled.
|
|
2628
|
+
* @internal
|
|
2629
|
+
* @format GUID
|
|
2630
|
+
*/
|
|
2631
|
+
fulfillerId?: string | null;
|
|
2632
|
+
/**
|
|
2633
|
+
* Shipping group ID.
|
|
2634
|
+
* @internal
|
|
2635
|
+
* @format GUID
|
|
2636
|
+
*/
|
|
2637
|
+
shippingGroupId?: string | null;
|
|
2638
|
+
/**
|
|
2639
|
+
* Digital file identifier, relevant only for items with type DIGITAL.
|
|
2640
|
+
* @internal
|
|
2641
|
+
*/
|
|
2642
|
+
digitalFile?: SecuredMedia;
|
|
2455
2643
|
/** Additional description for the price. For example, when price is 0 but additional details about the actual price are needed - "Starts at $67". */
|
|
2456
2644
|
priceDescription?: PriceDescription;
|
|
2457
2645
|
/**
|
|
@@ -3269,7 +3457,40 @@ declare enum NonDraftableReason {
|
|
|
3269
3457
|
/** Order not found. */
|
|
3270
3458
|
ORDER_NOT_FOUND = "ORDER_NOT_FOUND",
|
|
3271
3459
|
/** Modifications of orders with subscription items are not supported. */
|
|
3272
|
-
SUBSCRIPTION_LINE_ITEM_EXISTS = "SUBSCRIPTION_LINE_ITEM_EXISTS"
|
|
3460
|
+
SUBSCRIPTION_LINE_ITEM_EXISTS = "SUBSCRIPTION_LINE_ITEM_EXISTS",
|
|
3461
|
+
/**
|
|
3462
|
+
* Not exposed. Will be removed.
|
|
3463
|
+
* @internal
|
|
3464
|
+
*/
|
|
3465
|
+
AMOUNTS_DO_NOT_ADD_UP = "AMOUNTS_DO_NOT_ADD_UP",
|
|
3466
|
+
/**
|
|
3467
|
+
* Not exposed. Will be removed.
|
|
3468
|
+
* @internal
|
|
3469
|
+
*/
|
|
3470
|
+
UNSUPPORTED_CATALOG_ITEM = "UNSUPPORTED_CATALOG_ITEM",
|
|
3471
|
+
/**
|
|
3472
|
+
* Not exposed. Will be removed.
|
|
3473
|
+
* @internal
|
|
3474
|
+
*/
|
|
3475
|
+
TAXABLE_EXISTING_ADDITIONAL_FEE = "TAXABLE_EXISTING_ADDITIONAL_FEE",
|
|
3476
|
+
/**
|
|
3477
|
+
* Order contains at least one payment with chargeback.
|
|
3478
|
+
* @documentationMaturity preview
|
|
3479
|
+
* @internal
|
|
3480
|
+
*/
|
|
3481
|
+
ORDER_HAS_CHARGEBACKS = "ORDER_HAS_CHARGEBACKS",
|
|
3482
|
+
/**
|
|
3483
|
+
* Editing of this order is not allowed for requested app
|
|
3484
|
+
* @documentationMaturity preview
|
|
3485
|
+
* @internal
|
|
3486
|
+
*/
|
|
3487
|
+
EDITING_IS_NOT_ALLOWED_FOR_APP = "EDITING_IS_NOT_ALLOWED_FOR_APP",
|
|
3488
|
+
/**
|
|
3489
|
+
* Order has coupons but coupon behavior was not defined at the order creation, preventing safe editing.
|
|
3490
|
+
* @documentationMaturity preview
|
|
3491
|
+
* @internal
|
|
3492
|
+
*/
|
|
3493
|
+
COUPON_BEHAVIOR_IS_UNDEFINED = "COUPON_BEHAVIOR_IS_UNDEFINED"
|
|
3273
3494
|
}
|
|
3274
3495
|
/** @enumType */
|
|
3275
3496
|
type NonDraftableReasonWithLiterals = NonDraftableReason | 'PARTIALLY_OR_FULLY_REFUNDED' | 'UNSUPPORTED_CHANNEL_TYPE' | 'ORDER_STATUS_IS_NOT_SUPPORTED' | 'ORDER_AND_SITE_CURRENCIES_ARE_INCONSISTENT' | 'ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT' | 'ORDER_NOT_FOUND' | 'SUBSCRIPTION_LINE_ITEM_EXISTS';
|
|
@@ -3434,6 +3655,30 @@ interface Order {
|
|
|
3434
3655
|
checkoutId?: string | null;
|
|
3435
3656
|
/** Custom fields. */
|
|
3436
3657
|
customFields?: CustomField[];
|
|
3658
|
+
/**
|
|
3659
|
+
* Cart ID - required by TYP OOI for legacy orders.
|
|
3660
|
+
* @internal
|
|
3661
|
+
* @format GUID
|
|
3662
|
+
*/
|
|
3663
|
+
cartId?: string | null;
|
|
3664
|
+
/**
|
|
3665
|
+
* Private API flag that allows using read-only "id" during order creation.
|
|
3666
|
+
* @internal
|
|
3667
|
+
*/
|
|
3668
|
+
isInternalOrderCreate?: boolean;
|
|
3669
|
+
/**
|
|
3670
|
+
* Pay now price summary. Part of `priceSummary` that must be paid at checkout.
|
|
3671
|
+
* Deprecated. Use `deposit` instead.
|
|
3672
|
+
* This field will be removed on March 09, 2026.
|
|
3673
|
+
* @internal
|
|
3674
|
+
* @readonly
|
|
3675
|
+
* @deprecated Pay now price summary. Part of `priceSummary` that must be paid at checkout.
|
|
3676
|
+
* Deprecated. Use `deposit` instead.
|
|
3677
|
+
* This field will be removed on March 09, 2026.
|
|
3678
|
+
* @replacedBy deposit
|
|
3679
|
+
* @targetRemovalDate 2026-03-09
|
|
3680
|
+
*/
|
|
3681
|
+
payNow?: PriceSummary;
|
|
3437
3682
|
/**
|
|
3438
3683
|
* Balance summary.
|
|
3439
3684
|
* @readonly
|
|
@@ -3444,6 +3689,12 @@ interface Order {
|
|
|
3444
3689
|
* @maxSize 100
|
|
3445
3690
|
*/
|
|
3446
3691
|
additionalFees?: AdditionalFee[];
|
|
3692
|
+
/**
|
|
3693
|
+
* Custom string status values aggregated from every fulfillment entity associated with the current order.
|
|
3694
|
+
* @internal
|
|
3695
|
+
* @readonly
|
|
3696
|
+
*/
|
|
3697
|
+
fulfillmentStatusesAggregate?: FulfillmentStatusesAggregate;
|
|
3447
3698
|
/**
|
|
3448
3699
|
* Custom field data for the order object.
|
|
3449
3700
|
*
|
|
@@ -3630,6 +3881,16 @@ interface Activity extends ActivityContentOneOf {
|
|
|
3630
3881
|
merchantComment?: MerchantComment;
|
|
3631
3882
|
/** Additional info about order refunded activity (optional). `activity.type` must be `ORDER_REFUNDED`. */
|
|
3632
3883
|
orderRefunded?: OrderRefunded;
|
|
3884
|
+
/**
|
|
3885
|
+
* Details of the original order for this exchange order. `activity.type` must be `ORDER_CREATED_FROM_EXCHANGE`.
|
|
3886
|
+
* @internal
|
|
3887
|
+
*/
|
|
3888
|
+
orderCreatedFromExchange?: OrderCreatedFromExchange;
|
|
3889
|
+
/**
|
|
3890
|
+
* Details of an order that was created as a result of an exchange of items in this order. `activity.type` must be `NEW_EXCHANGE_ORDER_CREATED`.
|
|
3891
|
+
* @internal
|
|
3892
|
+
*/
|
|
3893
|
+
newExchangeOrderCreated?: NewExchangeOrderCreated;
|
|
3633
3894
|
/** Details of changes made by the Draft Orders API. */
|
|
3634
3895
|
draftOrderChangesApplied?: DraftOrderChangesApplied;
|
|
3635
3896
|
/** Details of the payment method saved for the order. */
|
|
@@ -3715,6 +3976,16 @@ interface ActivityContentOneOf {
|
|
|
3715
3976
|
merchantComment?: MerchantComment;
|
|
3716
3977
|
/** Additional info about order refunded activity (optional). `activity.type` must be `ORDER_REFUNDED`. */
|
|
3717
3978
|
orderRefunded?: OrderRefunded;
|
|
3979
|
+
/**
|
|
3980
|
+
* Details of the original order for this exchange order. `activity.type` must be `ORDER_CREATED_FROM_EXCHANGE`.
|
|
3981
|
+
* @internal
|
|
3982
|
+
*/
|
|
3983
|
+
orderCreatedFromExchange?: OrderCreatedFromExchange;
|
|
3984
|
+
/**
|
|
3985
|
+
* Details of an order that was created as a result of an exchange of items in this order. `activity.type` must be `NEW_EXCHANGE_ORDER_CREATED`.
|
|
3986
|
+
* @internal
|
|
3987
|
+
*/
|
|
3988
|
+
newExchangeOrderCreated?: NewExchangeOrderCreated;
|
|
3718
3989
|
/** Details of changes made by the Draft Orders API. */
|
|
3719
3990
|
draftOrderChangesApplied?: DraftOrderChangesApplied;
|
|
3720
3991
|
/** Details of the payment method saved for the order. */
|
|
@@ -5188,6 +5459,20 @@ interface Sorting {
|
|
|
5188
5459
|
fieldName?: string;
|
|
5189
5460
|
/** Sort order. */
|
|
5190
5461
|
order?: SortOrderWithLiterals;
|
|
5462
|
+
/**
|
|
5463
|
+
* When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
|
|
5464
|
+
* a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
|
|
5465
|
+
*
|
|
5466
|
+
* If multiple filters are provided, they are combined with AND operator.
|
|
5467
|
+
*
|
|
5468
|
+
* Example:
|
|
5469
|
+
* Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
|
|
5470
|
+
* and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
|
|
5471
|
+
* { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
|
|
5472
|
+
* @internal
|
|
5473
|
+
* @maxSize 10
|
|
5474
|
+
*/
|
|
5475
|
+
selectItemsBy?: Record<string, any>[] | null;
|
|
5191
5476
|
/**
|
|
5192
5477
|
* Origin point for geo-distance sorting on a GEO field
|
|
5193
5478
|
* results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
|
|
@@ -5233,6 +5518,13 @@ interface CursorPagingMetadata {
|
|
|
5233
5518
|
* + `false`: This is the last page.
|
|
5234
5519
|
*/
|
|
5235
5520
|
hasNext?: boolean | null;
|
|
5521
|
+
/**
|
|
5522
|
+
* Total number of items matching the filter.
|
|
5523
|
+
* Available only on the first page of *Search* results, not included in *Query* or *List* results.
|
|
5524
|
+
* If the Search results span multiple pages, the value of `total` will exceed the number of items returned on the first page.
|
|
5525
|
+
* @internal
|
|
5526
|
+
*/
|
|
5527
|
+
total?: number | null;
|
|
5236
5528
|
}
|
|
5237
5529
|
interface Cursors {
|
|
5238
5530
|
/**
|
|
@@ -6603,6 +6895,20 @@ type DraftOrderQuery = {
|
|
|
6603
6895
|
*/
|
|
6604
6896
|
order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
|
|
6605
6897
|
/**
|
|
6898
|
+
When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
|
|
6899
|
+
a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
|
|
6900
|
+
|
|
6901
|
+
If multiple filters are provided, they are combined with AND operator.
|
|
6902
|
+
|
|
6903
|
+
Example:
|
|
6904
|
+
Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
|
|
6905
|
+
and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
|
|
6906
|
+
{ fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
|
|
6907
|
+
@internal: undefined,
|
|
6908
|
+
@maxSize: 10
|
|
6909
|
+
*/
|
|
6910
|
+
selectItemsBy?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['selectItemsBy'] | null;
|
|
6911
|
+
/**
|
|
6606
6912
|
Origin point for geo-distance sorting on a GEO field
|
|
6607
6913
|
results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
|
|
6608
6914
|
*/
|
|
@@ -6681,4 +6987,4 @@ interface SetBusinessLocationOptions {
|
|
|
6681
6987
|
businessLocation?: Location;
|
|
6682
6988
|
}
|
|
6683
6989
|
|
|
6684
|
-
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type Activity, type ActivityContentOneOf, ActivityType, type ActivityTypeWithLiterals, type AddLineItemsToDraftOrderApplicationErrors, type AddLineItemsToDraftOrderOptions, type AddLineItemsToDraftOrderRequest, type AddLineItemsToDraftOrderResponse, type AdditionalFee, type AdditionalFeeDetails, type AdditionalFeeOption, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, AttributionSource, type AttributionSourceWithLiterals, type AuthorizedPaymentCaptured, type AuthorizedPaymentCreated, type AuthorizedPaymentVoided, type Balance, type BalanceSummary, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingChangedDetails, type BillingDetails, type BillingDetailsChangeTypeOneOf, type BillingSettings, type BusinessLocationChangedDetails, type BusinessLocationDetails, type BusinessLocationDetailsChangeTypeOneOf, type BuyerChangedDetails, type BuyerDetails, type BuyerDetailsChangeTypeOneOf, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedDraftOrder, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CarrierError, type CarrierErrors, type CashRounding, type CatalogReference, type CatalogReferenceLineItem, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type ChargebackCreated, type ChargebackReversed, type Color, type CommitDraftOrderApplicationErrors, type CommitDraftOrderOptions, type CommitDraftOrderRequest, type CommitDraftOrderResponse, type CommonQueryWithEntityContext, type Coupon, type CreateCustomAdditionalFeesApplicationErrors, type CreateCustomAdditionalFeesOptions, type CreateCustomAdditionalFeesRequest, type CreateCustomAdditionalFeesResponse, type CreateCustomDiscountsApplicationErrors, type CreateCustomDiscountsOptions, type CreateCustomDiscountsRequest, type CreateCustomDiscountsResponse, type CreateDraftOrderApplicationErrors, type CreateDraftOrderOptions, type CreateDraftOrderOptionsSourceOneOf, type CreateDraftOrderRequest, type CreateDraftOrderRequestSourceOneOf, type CreateDraftOrderResponse, type CreateEmptyDraftOrderApplicationErrors, type CreateEmptyDraftOrderRequest, type CreateEmptyDraftOrderResponse, type CreateOrderFromDraftApplicationErrors, type CreateOrderFromDraftOptions, type CreateOrderFromDraftRequest, type CreateOrderFromDraftResponse, type CreatedBy, type CreatedByStringOneOf, type CreditCardDetails, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomActivity, type CustomAllowedActions, type CustomField, type CustomLineItem, type DecimalQuantity, type DecimalQuantityOverride, type DecimalQuantityUnitOneOf, type DeleteCustomAdditionalFeesApplicationErrors, type DeleteCustomAdditionalFeesRequest, type DeleteCustomAdditionalFeesResponse, type DeleteCustomDiscountsApplicationErrors, type DeleteCustomDiscountsRequest, type DeleteCustomDiscountsResponse, type DeleteDraftOrderApplicationErrors, type DeleteDraftOrderRequest, type DeleteDraftOrderResponse, type DeliveryLogistics, type DeliveryTimeSlot, type DepositDetails, type DepositDetailsDepositOneOf, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesOverride, type Details, type DetailsKindOneOf, type DigitalFile, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountDetails, type DiscountOption, type DiscountOptionDiscountAmountOneOf, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DraftOrder, type DraftOrderChangesApplied, type DraftOrderCommitSettings, type DraftOrderCreatedEnvelope, type DraftOrderDeletedEnvelope, type DraftOrderInput, type DraftOrderQuery, type DraftOrderQuerySpec, type DraftOrderUpdatedEnvelope, type DraftOrdersQueryBuilder, type DraftOrdersQueryResult, EditingStatus, type EditingStatusWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReceipt, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FormIdentifier, type FormInfo, type FreeTrialPeriod, FulfillmentStatus, type FulfillmentStatusWithLiterals, type FulfillmentStatusesAggregate, type FullAddressContactDetails, type GetDraftOrderApplicationErrors, type GetDraftOrderRequest, type GetDraftOrderResponse, type GetOrderDraftabilityStatusRequest, type GetOrderDraftabilityStatusResponse, type GiftCardPaymentRefund, type IdAndApplied, type IdentificationData, type IdentificationDataIdOneOf, type InventoryUpdate, type ItemChangedDetails, type ItemChangedImplicitlyDetails, type ItemCombination, type ItemCombinationLineItem, type ItemDetails, type ItemDetailsChangeTypeOneOf, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemAmount, type LineItemChangeDetails, type LineItemChanges, type LineItemDescriptionLineChange, type LineItemDiscount, type LineItemExchangeData, type LineItemModifiersChange, type LineItemPriceChange, type LineItemProductNameChange, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, MeasurementUnit, type MeasurementUnitWithLiterals, type MembershipPaymentRefund, type MerchantComment, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifiersGroupsOverride, type NewExchangeOrderCreated, NonDraftableReason, type NonDraftableReasonWithLiterals, type Order, OrderActionType, type OrderActionTypeWithLiterals, OrderActivityTypeEnumActivityType, type OrderActivityTypeEnumActivityTypeWithLiterals, type OrderChange, type OrderChangeValueOneOf, type OrderCreateNotifications, type OrderCreateSettings, type OrderCreateSettingsEditableByOneOf, type OrderCreatedFromExchange, type OrderLineItem, type OrderRefunded, type OrderSettings, type OrderSettingsAllowedActionsOneOf, type OrderSettingsEditableByOneOf, OrderStatus, type OrderStatusWithLiterals, type OrderTaxBreakdown, type OrderTaxInfo, type OwnerApps, type PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf, type PaymentOptionOverride, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentPending, type PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed, type PaymentRefunded, PaymentStatus, type PaymentStatusWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupDetailsPickupMethod, type PickupDetailsPickupMethodWithLiterals, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type QueryDraftOrdersRequest, type QueryDraftOrdersResponse, type ReceiptCreated, type ReceiptCreatedReceiptInfoOneOf, type ReceiptSent, type ReceiptSentReceiptInfoOneOf, type RecipientInfoChangedDetails, type RecipientInfoDetails, type RecipientInfoDetailsChangeTypeOneOf, type RefundInitiated, type RefundedAsStoreCredit, type RefundedPayment, type RefundedPaymentKindOneOf, type RegularPayment, type RegularPaymentPaymentMethodDetailsOneOf, type RegularPaymentRefund, type RestockLocation, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type SavedPaymentMethod, type SecuredMedia, type SetAdditionalFeesApplicationErrors, type SetAdditionalFeesRequest, type SetAdditionalFeesResponse, type SetBillingInfoApplicationErrors, type SetBillingInfoOptions, type SetBillingInfoRequest, type SetBillingInfoResponse, type SetBusinessLocationApplicationErrors, type SetBusinessLocationOptions, type SetBusinessLocationRequest, type SetBusinessLocationResponse, type SetBuyerInfoApplicationErrors, type SetBuyerInfoOptions, type SetBuyerInfoRequest, type SetBuyerInfoResponse, type SetDepositApplicationErrors, type SetDepositOptions, type SetDepositRequest, type SetDepositResponse, type SetDiscountsApplicationErrors, type SetDiscountsRequest, type SetDiscountsResponse, type SetRecipientInfoApplicationErrors, type SetRecipientInfoOptions, type SetRecipientInfoRequest, type SetRecipientInfoResponse, type SetShippingInfoApplicationErrors, type SetShippingInfoOptions, type SetShippingInfoRequest, type SetShippingInfoResponse, type SetTaxExemptionApplicationErrors, type SetTaxExemptionOptions, type SetTaxExemptionRequest, type SetTaxExemptionResponse, type ShippingChangedDetails, type ShippingDetails, type ShippingDetailsChangeTypeOneOf, type ShippingInformation, type ShippingInformationChange, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SourceType, type SourceTypeWithLiterals, SpecificItemsCouponBehavior, type SpecificItemsCouponBehaviorWithLiterals, type StreetAddress, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, type SubscriptionTitle, type SystemError, type TagList, type Tags, type TaxDetails, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type UpdateShippingInfoRequest, type UpdateShippingInfoResponse, type V1BalanceSummary, type V1CreatedBy, type V1CreatedByStringOneOf, type V1DeliveryLogistics, type V1DeliveryLogisticsAddressOneOf, type V1DeliveryTimeSlot, V1OrderStatus, type V1OrderStatusWithLiterals, type V1PickupDetails, type V1ShippingInformation, type V1ShippingPrice, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, type WixReceipt, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDeposit, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, typedQueryDraftOrders, updateExtendedFields, updateLineItems, utils };
|
|
6990
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type Activity, type ActivityContentOneOf, ActivityType, type ActivityTypeWithLiterals, type AddLineItemsToDraftOrderApplicationErrors, type AddLineItemsToDraftOrderOptions, type AddLineItemsToDraftOrderRequest, type AddLineItemsToDraftOrderResponse, type AdditionalFee, type AdditionalFeeDetails, type AdditionalFeeOption, AdditionalFeeSource, type AdditionalFeeSourceWithLiterals, type Address, type AddressLocation, type AddressWithContact, AdjustmentType, type AdjustmentTypeWithLiterals, type ApplicationError, type AppliedDiscount, type AppliedDiscountDiscountSourceOneOf, AppliedDiscountDiscountType, type AppliedDiscountDiscountTypeWithLiterals, AttributionSource, type AttributionSourceWithLiterals, type AuthorizedPaymentCaptured, type AuthorizedPaymentCreated, type AuthorizedPaymentVoided, type Balance, type BalanceSummary, type BaseEventMetadata, type BillingAdjustment, type BillingAdjustmentPriceSummary, type BillingChangedDetails, type BillingDetails, type BillingDetailsChangeTypeOneOf, type BillingSettings, type BusinessLocationChangedDetails, type BusinessLocationDetails, type BusinessLocationDetailsChangeTypeOneOf, type BuyerChangedDetails, type BuyerDetails, type BuyerDetailsChangeTypeOneOf, type BuyerInfo, type BuyerInfoIdOneOf, type CalculatedDraftOrder, type CalculationErrors, type CalculationErrorsShippingCalculationErrorOneOf, type CarrierError, type CarrierErrors, type CashRounding, type CatalogReference, type CatalogReferenceLineItem, type ChannelInfo, ChannelType, type ChannelTypeWithLiterals, ChargeType, type ChargeTypeWithLiterals, type ChargebackCreated, type ChargebackReversed, type Color, type CommitDraftOrderApplicationErrors, type CommitDraftOrderOptions, type CommitDraftOrderRequest, type CommitDraftOrderResponse, type CommonQueryWithEntityContext, type Coupon, type CreateCustomAdditionalFeesApplicationErrors, type CreateCustomAdditionalFeesOptions, type CreateCustomAdditionalFeesRequest, type CreateCustomAdditionalFeesResponse, type CreateCustomDiscountsApplicationErrors, type CreateCustomDiscountsOptions, type CreateCustomDiscountsRequest, type CreateCustomDiscountsResponse, type CreateDraftOrderApplicationErrors, type CreateDraftOrderOptions, type CreateDraftOrderOptionsSourceOneOf, type CreateDraftOrderRequest, type CreateDraftOrderRequestSourceOneOf, type CreateDraftOrderResponse, type CreateEmptyDraftOrderApplicationErrors, type CreateEmptyDraftOrderRequest, type CreateEmptyDraftOrderResponse, type CreateOrderFromDraftApplicationErrors, type CreateOrderFromDraftOptions, type CreateOrderFromDraftRequest, type CreateOrderFromDraftResponse, type CreatedBy, type CreatedByStringOneOf, type CreditCardDetails, type CurrencyConversionDetails, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type CustomActivity, type CustomAllowedActions, type CustomField, type CustomLineItem, type DecimalQuantity, type DecimalQuantityOverride, type DecimalQuantityUnitOneOf, type DeleteCustomAdditionalFeesApplicationErrors, type DeleteCustomAdditionalFeesRequest, type DeleteCustomAdditionalFeesResponse, type DeleteCustomDiscountsApplicationErrors, type DeleteCustomDiscountsRequest, type DeleteCustomDiscountsResponse, type DeleteDraftOrderApplicationErrors, type DeleteDraftOrderRequest, type DeleteDraftOrderResponse, type DeliveryLogistics, type DeliveryTimeSlot, type DepositDetails, type DepositDetailsDepositOneOf, type DescriptionLine, type DescriptionLineDescriptionLineValueOneOf, type DescriptionLineName, DescriptionLineType, type DescriptionLineTypeWithLiterals, type DescriptionLineValueOneOf, type DescriptionLinesOverride, type Details, type DetailsKindOneOf, type DigitalFile, type Dimensions, DimensionsUnit, type DimensionsUnitWithLiterals, type DiscountDetails, type DiscountOption, type DiscountOptionDiscountAmountOneOf, DiscountReason, type DiscountReasonWithLiterals, type DiscountRule, type DiscountRuleName, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type DraftOrder, type DraftOrderChangesApplied, type DraftOrderCommitSettings, type DraftOrderCreatedEnvelope, type DraftOrderDeletedEnvelope, type DraftOrderInput, type DraftOrderQuery, type DraftOrderQuerySpec, type DraftOrderUpdatedEnvelope, type DraftOrdersQueryBuilder, type DraftOrdersQueryResult, EditingStatus, type EditingStatusWithLiterals, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type ExternalReceipt, type FieldViolation, FileType, type FileTypeWithLiterals, type FocalPoint, type FormIdentifier, type FormInfo, type FreeTrialPeriod, FulfillmentStatus, type FulfillmentStatusWithLiterals, type FulfillmentStatusesAggregate, type FullAddressContactDetails, type GetDraftOrderApplicationErrors, type GetDraftOrderRequest, type GetDraftOrderResponse, type GetOrderDraftabilityStatusRequest, type GetOrderDraftabilityStatusResponse, type GiftCardPaymentRefund, type IdAndApplied, type IdentificationData, type IdentificationDataIdOneOf, type InventoryUpdate, type ItemChangedDetails, type ItemChangedImplicitlyDetails, type ItemCombination, type ItemCombinationLineItem, type ItemDetails, type ItemDetailsChangeTypeOneOf, type ItemModifier, type ItemTaxFullDetails, type ItemType, type ItemTypeItemTypeDataOneOf, ItemTypePreset, type ItemTypePresetWithLiterals, JurisdictionType, type JurisdictionTypeWithLiterals, type LineItemAmount, type LineItemChangeDetails, type LineItemChanges, type LineItemDescriptionLineChange, type LineItemDiscount, type LineItemExchangeData, type LineItemModifiersChange, type LineItemPriceChange, type LineItemProductNameChange, type LineItemQuantityChange, LineItemQuantityChangeType, type LineItemQuantityChangeTypeWithLiterals, type LineItemTaxBreakdown, type LineItemTaxInfo, type Location, type LocationAndQuantity, type ManagedAdditionalFee, type ManagedDiscount, type ManagedLineItem, MeasurementUnit, type MeasurementUnitWithLiterals, type MembershipPaymentRefund, type MerchantComment, type MerchantDiscount, type MerchantDiscountMerchantDiscountReasonOneOf, type MessageEnvelope, type ModifierGroup, type ModifiersGroupsOverride, type NewExchangeOrderCreated, NonDraftableReason, type NonDraftableReasonWithLiterals, type Order, OrderActionType, type OrderActionTypeWithLiterals, OrderActivityTypeEnumActivityType, type OrderActivityTypeEnumActivityTypeWithLiterals, type OrderChange, type OrderChangeValueOneOf, type OrderCreateNotifications, type OrderCreateSettings, type OrderCreateSettingsEditableByOneOf, type OrderCreatedFromExchange, type OrderLineItem, type OrderRefunded, type OrderSettings, type OrderSettingsAllowedActionsOneOf, type OrderSettingsEditableByOneOf, OrderStatus, type OrderStatusWithLiterals, type OrderTaxBreakdown, type OrderTaxInfo, type OwnerApps, type PaymentCanceled, type PaymentCanceledPaymentDetailsOneOf, type PaymentDeclined, type PaymentDeclinedPaymentDetailsOneOf, type PaymentOptionOverride, PaymentOptionType, type PaymentOptionTypeWithLiterals, type PaymentPending, type PaymentPendingPaymentDetailsOneOf, type PaymentRefundFailed, type PaymentRefunded, PaymentStatus, type PaymentStatusWithLiterals, type PhysicalProperties, type PickupAddress, type PickupDetails, PickupDetailsPickupMethod, type PickupDetailsPickupMethodWithLiterals, PickupMethod, type PickupMethodWithLiterals, type PlainTextValue, type PlatformFee, type PlatformFeeSummary, type Price, type PriceDescription, type PriceSummary, type ProductName, ProductPeriodAlignment, type ProductPeriodAlignmentWithLiterals, type QueryDraftOrdersRequest, type QueryDraftOrdersResponse, type ReceiptCreated, type ReceiptCreatedReceiptInfoOneOf, type ReceiptSent, type ReceiptSentReceiptInfoOneOf, type RecipientInfoChangedDetails, type RecipientInfoDetails, type RecipientInfoDetailsChangeTypeOneOf, type RefundInitiated, type RefundedAsStoreCredit, type RefundedPayment, type RefundedPaymentKindOneOf, type RegularPayment, type RegularPaymentPaymentMethodDetailsOneOf, type RegularPaymentRefund, type RestockLocation, type RestoreInfo, RuleType, type RuleTypeWithLiterals, type SavedPaymentMethod, type SecuredMedia, type ServiceProperties, type SetAdditionalFeesApplicationErrors, type SetAdditionalFeesRequest, type SetAdditionalFeesResponse, type SetBillingInfoApplicationErrors, type SetBillingInfoOptions, type SetBillingInfoRequest, type SetBillingInfoResponse, type SetBusinessLocationApplicationErrors, type SetBusinessLocationOptions, type SetBusinessLocationRequest, type SetBusinessLocationResponse, type SetBuyerInfoApplicationErrors, type SetBuyerInfoOptions, type SetBuyerInfoRequest, type SetBuyerInfoResponse, type SetDepositApplicationErrors, type SetDepositOptions, type SetDepositRequest, type SetDepositResponse, type SetDiscountsApplicationErrors, type SetDiscountsRequest, type SetDiscountsResponse, type SetRecipientInfoApplicationErrors, type SetRecipientInfoOptions, type SetRecipientInfoRequest, type SetRecipientInfoResponse, type SetShippingInfoApplicationErrors, type SetShippingInfoOptions, type SetShippingInfoRequest, type SetShippingInfoResponse, type SetTaxExemptionApplicationErrors, type SetTaxExemptionOptions, type SetTaxExemptionRequest, type SetTaxExemptionResponse, type ShippingChangedDetails, type ShippingDetails, type ShippingDetailsChangeTypeOneOf, type ShippingInformation, type ShippingInformationChange, type ShippingOption, type ShippingPrice, type ShippingRegion, SortOrder, type SortOrderWithLiterals, type Sorting, SourceType, type SourceTypeWithLiterals, SpecificItemsCouponBehavior, type SpecificItemsCouponBehaviorWithLiterals, type StreetAddress, type SubscriptionDescription, SubscriptionFrequency, type SubscriptionFrequencyWithLiterals, type SubscriptionInfo, type SubscriptionSettings, type SubscriptionTitle, type SystemError, type TagList, type Tags, type TaxDetails, type TaxSummary, type TaxableAddress, type TaxableAddressTaxableAddressDataOneOf, TaxableAddressType, type TaxableAddressTypeWithLiterals, type TotalPriceChange, type TranslatableString, type TranslatedValue, type UpdateExtendedFieldsApplicationErrors, type UpdateExtendedFieldsOptions, type UpdateExtendedFieldsRequest, type UpdateExtendedFieldsResponse, type UpdateLineItemsApplicationErrors, type UpdateLineItemsRequest, type UpdateLineItemsResponse, type UpdateShippingInfoRequest, type UpdateShippingInfoResponse, type V1BalanceSummary, type V1CreatedBy, type V1CreatedByStringOneOf, type V1DeliveryLogistics, type V1DeliveryLogisticsAddressOneOf, type V1DeliveryTimeSlot, V1OrderStatus, type V1OrderStatusWithLiterals, type V1PickupDetails, type V1ShippingInformation, type V1ShippingPrice, type ValidationError, type VatId, VatType, type VatTypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, WeightUnit, type WeightUnitWithLiterals, type WixReceipt, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, onDraftOrderCreated, onDraftOrderDeleted, onDraftOrderUpdated, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDeposit, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, typedQueryDraftOrders, updateExtendedFields, updateLineItems, utils };
|