@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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +164 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +14 -1
  5. package/build/cjs/index.typings.js +146 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +14 -1
  8. package/build/cjs/meta.js +148 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +164 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +14 -1
  14. package/build/es/index.typings.mjs +146 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +14 -1
  17. package/build/es/meta.mjs +148 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +164 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +308 -2
  23. package/build/internal/cjs/index.typings.js +146 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +815 -3
  26. package/build/internal/cjs/meta.js +148 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +164 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +308 -2
  32. package/build/internal/es/index.typings.mjs +146 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +815 -3
  35. package/build/internal/es/meta.mjs +148 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -152,8 +152,19 @@ interface DraftOrder {
152
152
  * Includes details about changes when relevant.
153
153
  */
154
154
  businessLocationDetails?: BusinessLocationDetails;
155
+ /**
156
+ * Deposit details.
157
+ * @internal
158
+ */
159
+ depositDetails?: DepositDetails;
155
160
  /** Summary of platform fees for this draft order, including totals by charge type and a breakdown of individual fees. */
156
161
  platformFeeSummary?: PlatformFeeSummary;
162
+ /**
163
+ * New global coupons calculation logic.
164
+ * Indicates which calculation is used for coupons with type `SPECIFIC_ITEMS`.
165
+ * @internal
166
+ */
167
+ specificItemsCouponBehavior?: SpecificItemsCouponBehaviorWithLiterals;
157
168
  }
158
169
  interface ItemDetails extends ItemDetailsChangeTypeOneOf {
159
170
  /** Whether the line item was added as part of the draft. */
@@ -162,6 +173,14 @@ interface ItemDetails extends ItemDetailsChangeTypeOneOf {
162
173
  changedDetails?: ItemChangedDetails;
163
174
  /** Whether the line item was removed as part of the draft. */
164
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;
165
184
  /** Line item details after applied changes. */
166
185
  lineItem?: OrderLineItem;
167
186
  }
@@ -173,6 +192,14 @@ interface ItemDetailsChangeTypeOneOf {
173
192
  changedDetails?: ItemChangedDetails;
174
193
  /** Whether the line item was removed as part of the draft. */
175
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;
176
203
  }
177
204
  interface Price {
178
205
  /**
@@ -228,8 +255,26 @@ interface DescriptionLine extends DescriptionLineValueOneOf, DescriptionLineDesc
228
255
  plainText?: PlainTextValue;
229
256
  /** Description line color value. */
230
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;
231
270
  /** Description line name. */
232
271
  name?: DescriptionLineName;
272
+ /**
273
+ * Description line type.
274
+ * @internal
275
+ * @deprecated
276
+ */
277
+ lineType?: DescriptionLineTypeWithLiterals;
233
278
  }
234
279
  /** @oneof */
235
280
  interface DescriptionLineValueOneOf {
@@ -240,6 +285,18 @@ interface DescriptionLineValueOneOf {
240
285
  }
241
286
  /** @oneof */
242
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;
243
300
  }
244
301
  interface DescriptionLineName {
245
302
  /**
@@ -375,6 +432,11 @@ interface LineItemTaxInfo {
375
432
  * @maxSize 7
376
433
  */
377
434
  taxBreakdown?: LineItemTaxBreakdown[];
435
+ /**
436
+ * Amount of the line item price that was exempt from tax.
437
+ * @internal
438
+ */
439
+ exemptAmount?: Price;
378
440
  }
379
441
  /**
380
442
  * TaxBreakdown represents tax information for a line item.
@@ -411,6 +473,11 @@ interface LineItemTaxBreakdown {
411
473
  nonTaxableAmount?: Price;
412
474
  /** Taxable amount of the line item price. */
413
475
  taxableAmount?: Price;
476
+ /**
477
+ * Amount of the line item price that was exempt from this authority.
478
+ * @internal
479
+ */
480
+ exemptAmount?: Price;
414
481
  }
415
482
  /** JurisdictionType represents the type of the jurisdiction in which this tax detail applies (e.g. Country,State,County,City,Special). */
416
483
  declare enum JurisdictionType {
@@ -479,6 +546,17 @@ interface OrderLineItem {
479
546
  * @max 100000
480
547
  */
481
548
  restockQuantity?: number | null;
549
+ /**
550
+ * Per-location restock breakdown.
551
+ *
552
+ * Populated when items are restocked to specific locations.
553
+ * The sum of all `quantity` values equals `restockQuantity`.
554
+ * Empty when no location-specific restock was performed.
555
+ * @internal
556
+ * @maxSize 5
557
+ * @readonly
558
+ */
559
+ restockLocations?: RestockLocation[];
482
560
  /** Line item price after line item discounts for display purposes. */
483
561
  price?: Price;
484
562
  /**
@@ -486,6 +564,12 @@ interface OrderLineItem {
486
564
  * @readonly
487
565
  */
488
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;
489
573
  /**
490
574
  * Total price after discounts, and before tax.
491
575
  * @readonly
@@ -526,6 +610,17 @@ interface OrderLineItem {
526
610
  * @readonly
527
611
  */
528
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;
529
624
  /**
530
625
  * Line item locations.
531
626
  *
@@ -535,8 +630,31 @@ interface OrderLineItem {
535
630
  locations?: LocationAndQuantity[];
536
631
  /** Total price **after** catalog discounts and line item discounts. */
537
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;
538
650
  /** Address used for tax calculation. */
539
651
  taxableAddress?: TaxableAddress;
652
+ /**
653
+ * ID of the app managing the inventory.
654
+ * @internal
655
+ * @format GUID
656
+ */
657
+ inventoryAppId?: string | null;
540
658
  /**
541
659
  * Whether the price is not yet defined, and will be updated after the order is created.
542
660
  *
@@ -569,6 +687,20 @@ interface OrderLineItem {
569
687
  * @maxSize 10
570
688
  */
571
689
  modifierGroups?: ModifierGroup[];
690
+ /**
691
+ * Line item ID in external systems.
692
+ * @internal
693
+ * @minLength 1
694
+ * @maxLength 100
695
+ * @immutable
696
+ */
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;
572
704
  }
573
705
  /** Used for grouping line items. Sent when an item is added to a cart, checkout, or order. */
574
706
  interface CatalogReference {
@@ -617,11 +749,29 @@ interface Image {
617
749
  width?: number;
618
750
  /** Image alt text. */
619
751
  altText?: string | null;
752
+ /**
753
+ * Image URL expiration date (when relevant).
754
+ * @internal
755
+ * @readonly
756
+ */
757
+ urlExpirationDate?: Date | null;
620
758
  /**
621
759
  * Image filename.
622
760
  * @readonly
623
761
  */
624
762
  filename?: string | null;
763
+ /**
764
+ * Image size in bytes.
765
+ * @internal
766
+ * @readonly
767
+ * @format DECIMAL_VALUE
768
+ */
769
+ sizeInBytes?: string | null;
770
+ /**
771
+ * Focal point of the image.
772
+ * @internal
773
+ */
774
+ focalPoint?: FocalPoint;
625
775
  }
626
776
  interface FocalPoint {
627
777
  /** X-coordinate of the focal point. */
@@ -643,6 +793,16 @@ interface PhysicalProperties {
643
793
  sku?: string | null;
644
794
  /** Whether this line item is shippable. */
645
795
  shippable?: boolean;
796
+ /**
797
+ * Product dimensions (length, width, height of the physical product).
798
+ * @internal
799
+ */
800
+ productDimensions?: Dimensions;
801
+ /**
802
+ * Package dimensions (length, width, height of the shipping package).
803
+ * @internal
804
+ */
805
+ packageDimensions?: Dimensions;
646
806
  }
647
807
  interface Dimensions {
648
808
  /**
@@ -739,6 +899,12 @@ type PaymentOptionTypeWithLiterals = PaymentOptionType | 'FULL_PAYMENT_ONLINE' |
739
899
  interface ItemTaxFullDetails {
740
900
  /** Taxable amount of this line item. */
741
901
  taxableAmount?: Price;
902
+ /**
903
+ * ID of the item's tax group, if specified.
904
+ * @internal
905
+ * @format GUID
906
+ */
907
+ taxGroupId?: string | null;
742
908
  /**
743
909
  * Tax rate percentage, as a decimal numeral between 0 and 1. For example, `"0.13"`.
744
910
  * @decimalValue options { gte:0, maxScale:6 }
@@ -746,6 +912,11 @@ interface ItemTaxFullDetails {
746
912
  taxRate?: string;
747
913
  /** The calculated tax, based on the `taxableAmount` and `taxRate`. */
748
914
  totalTax?: Price;
915
+ /**
916
+ * Amount that was exempt from tax calculations.
917
+ * @internal
918
+ */
919
+ exemptAmount?: Price;
749
920
  }
750
921
  interface DigitalFile {
751
922
  /**
@@ -783,6 +954,11 @@ interface SubscriptionInfo {
783
954
  * @targetRemovalDate 2025-10-01
784
955
  */
785
956
  subscriptionOptionTitle?: string;
957
+ /**
958
+ * Subscription title. For example, `"Monthly coffee Subscription"`.
959
+ * @internal
960
+ */
961
+ title?: SubscriptionTitle;
786
962
  /**
787
963
  * Subscription option description. For example, `"1kg of selected coffee, once a month"`.
788
964
  * @maxLength 500
@@ -791,6 +967,11 @@ interface SubscriptionInfo {
791
967
  * @targetRemovalDate 2025-10-01
792
968
  */
793
969
  subscriptionOptionDescription?: string | null;
970
+ /**
971
+ * Subscription description. For example, `"1kg of selected coffee, once a month"`.
972
+ * @internal
973
+ */
974
+ description?: SubscriptionDescription;
794
975
  /**
795
976
  * Subscription detailed information.
796
977
  * @immutable
@@ -801,6 +982,11 @@ interface SubscriptionInfo {
801
982
  * @maxLength 1000
802
983
  */
803
984
  chargesDescription?: string | null;
985
+ /**
986
+ * Details of the billing adjustment applied to the current subscription cycle due to a shift in the subscription’s billing date.
987
+ * @internal
988
+ */
989
+ billingAdjustment?: BillingAdjustment;
804
990
  }
805
991
  interface SubscriptionTitle {
806
992
  /**
@@ -850,6 +1036,21 @@ interface SubscriptionSettings {
850
1036
  enableCustomerCancellation?: boolean;
851
1037
  /** Period until first cycle starts. If None => no free trial */
852
1038
  freeTrialPeriod?: FreeTrialPeriod;
1039
+ /**
1040
+ * The date the subscription will start. The subscription will be charged either now or according to freeTrialDays.
1041
+ * @internal
1042
+ */
1043
+ startDate?: Date | null;
1044
+ /**
1045
+ * Billing configuration for recurring charges.
1046
+ * @internal
1047
+ */
1048
+ billingSettings?: BillingSettings;
1049
+ /**
1050
+ * Whether the product/service/subscription access period is aligned with the billing period.
1051
+ * @internal
1052
+ */
1053
+ productPeriodAlignment?: ProductPeriodAlignmentWithLiterals;
853
1054
  }
854
1055
  /** Frequency unit of recurring payment */
855
1056
  declare enum SubscriptionFrequency {
@@ -1038,6 +1239,25 @@ interface ExtendedFields {
1038
1239
  */
1039
1240
  namespaces?: Record<string, Record<string, any>>;
1040
1241
  }
1242
+ interface ServiceProperties {
1243
+ /**
1244
+ * 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.
1245
+ * For example, the start time of a class.
1246
+ */
1247
+ scheduledDate?: Date | null;
1248
+ /**
1249
+ * 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.
1250
+ * @min 1
1251
+ * @max 10000
1252
+ */
1253
+ numberOfParticipants?: number | null;
1254
+ /**
1255
+ * 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.
1256
+ * For example, the date and time a class will end.
1257
+ * @internal
1258
+ */
1259
+ endDate?: Date | null;
1260
+ }
1041
1261
  interface ItemChangedDetails {
1042
1262
  /**
1043
1263
  * Line item quantity before change.
@@ -1049,11 +1269,27 @@ interface ItemChangedDetails {
1049
1269
  priceBeforeChange?: Price;
1050
1270
  /** Line item price description before change. */
1051
1271
  priceDescriptionBeforeChange?: PriceDescription;
1272
+ /**
1273
+ * Line Item product name before change.
1274
+ * @internal
1275
+ */
1276
+ productNameBeforeChange?: ProductName;
1277
+ /**
1278
+ * Line item description lines before change.
1279
+ * @internal
1280
+ * @maxSize 20
1281
+ */
1282
+ descriptionLinesBeforeChange?: DescriptionLine[];
1052
1283
  /**
1053
1284
  * Line item modifier groups before change.
1054
1285
  * @maxSize 10
1055
1286
  */
1056
1287
  modifierGroupsBeforeChange?: ModifierGroup[];
1288
+ /**
1289
+ * Catalog Options before change.
1290
+ * @internal
1291
+ */
1292
+ catalogReferenceOptionsBeforeChange?: Record<string, any> | null;
1057
1293
  }
1058
1294
  /**
1059
1295
  * Snapshot of derived fields before a recalculation-driven ("implicit") change.
@@ -1211,6 +1447,16 @@ interface StreetAddress {
1211
1447
  number?: string;
1212
1448
  /** Street name. */
1213
1449
  name?: string;
1450
+ /**
1451
+ * Apartment number.
1452
+ * @internal
1453
+ */
1454
+ apt?: string;
1455
+ /**
1456
+ * Optional address line 1
1457
+ * @internal
1458
+ */
1459
+ formattedAddressLine?: string | null;
1214
1460
  }
1215
1461
  interface AddressLocation {
1216
1462
  /** Address latitude. */
@@ -1315,6 +1561,8 @@ interface PickupAddress {
1315
1561
  * @readonly
1316
1562
  */
1317
1563
  subdivisionFullname?: string | null;
1564
+ /** @internal */
1565
+ geocode?: AddressLocation;
1318
1566
  }
1319
1567
  declare enum PickupDetailsPickupMethod {
1320
1568
  STORE_PICKUP = "STORE_PICKUP",
@@ -1465,6 +1713,14 @@ interface AdditionalFee {
1465
1713
  * @format GUID
1466
1714
  */
1467
1715
  lineItemIds?: string[];
1716
+ /**
1717
+ * Number of subscription billing cycles the additional fee applies to.
1718
+ * If None and additional fee is linked to subscription line item, it applies to all cycles.
1719
+ * @internal
1720
+ * @min 1
1721
+ * @max 999
1722
+ */
1723
+ subscriptionCycles?: number | null;
1468
1724
  /** Specifies the entity that added the additional fee. */
1469
1725
  source?: AdditionalFeeSourceWithLiterals;
1470
1726
  /** Address type tax was calculated against for this fee. */
@@ -1549,6 +1805,24 @@ interface AppliedDiscount extends AppliedDiscountDiscountSourceOneOf {
1549
1805
  * @maxSize 300
1550
1806
  */
1551
1807
  lineItemDiscounts?: LineItemDiscount[];
1808
+ /**
1809
+ * Number of subscription billing cycles the discount applies to.
1810
+ * If None and discount is linked to subscription line item, it applies to all cycles.
1811
+ * @internal
1812
+ * @min 1
1813
+ * @max 999
1814
+ */
1815
+ subscriptionCycles?: number | null;
1816
+ /**
1817
+ * A list of item combinations for this applied discount.
1818
+ * Each entry represents a unique combination of line items that triggered
1819
+ * or received this discount, along with how many times that combination was applied together.
1820
+ * Relevant ONLY for BXGY and Quantity-based promotions.
1821
+ * In BXGY the combination will contain the "X" items with discount amount of 0.
1822
+ * @internal
1823
+ * @maxSize 1000
1824
+ */
1825
+ itemCombinations?: ItemCombination[];
1552
1826
  }
1553
1827
  /** @oneof */
1554
1828
  interface AppliedDiscountDiscountSourceOneOf {
@@ -1592,6 +1866,19 @@ interface MerchantDiscount extends MerchantDiscountMerchantDiscountReasonOneOf {
1592
1866
  description?: string | null;
1593
1867
  /** Discount amount. */
1594
1868
  amount?: Price;
1869
+ /**
1870
+ * Discount as a percentage of the original price. For example, `10.5` for a 10.5% discount.
1871
+ * @internal
1872
+ * @format DECIMAL_VALUE
1873
+ * @decimalValue options { gte:0, lte:100, maxScale:2 }
1874
+ */
1875
+ percentage?: string | null;
1876
+ /**
1877
+ * Discount name.
1878
+ * @internal
1879
+ * @maxLength 200
1880
+ */
1881
+ name?: string | null;
1595
1882
  }
1596
1883
  /** @oneof */
1597
1884
  interface MerchantDiscountMerchantDiscountReasonOneOf {
@@ -1733,8 +2020,26 @@ interface PriceSummary {
1733
2020
  tax?: Price;
1734
2021
  /** Total discount amount applied to the order. */
1735
2022
  discount?: Price;
2023
+ /**
2024
+ * Deprecated - use `total` instead.
2025
+ * @internal
2026
+ * @deprecated
2027
+ */
2028
+ totalPrice?: Price;
1736
2029
  /** Order's total price after discounts and tax. */
1737
2030
  total?: Price;
2031
+ /**
2032
+ * Order's total price including gift card.
2033
+ * @internal
2034
+ * @deprecated
2035
+ */
2036
+ totalWithGiftCard?: Price;
2037
+ /**
2038
+ * Order's total price after without gift card.
2039
+ * @internal
2040
+ * @deprecated
2041
+ */
2042
+ totalWithoutGiftCard?: Price;
1738
2043
  /** Total additional fees before tax. */
1739
2044
  totalAdditionalFees?: Price;
1740
2045
  }
@@ -1744,6 +2049,13 @@ interface TaxSummary {
1744
2049
  * @readonly
1745
2050
  */
1746
2051
  totalTax?: Price;
2052
+ /**
2053
+ * manual tax rate
2054
+ * @internal
2055
+ * @decimalValue options { gte:0, maxScale:6 }
2056
+ * @readonly
2057
+ */
2058
+ manualTaxRate?: string | null;
1747
2059
  }
1748
2060
  interface BalanceSummary {
1749
2061
  /**
@@ -1892,6 +2204,13 @@ interface OrderTaxInfo {
1892
2204
  * @maxSize 50
1893
2205
  */
1894
2206
  taxBreakdown?: OrderTaxBreakdown[];
2207
+ /**
2208
+ * Manual tax rate
2209
+ * @internal
2210
+ * @decimalValue options { gte:0 }
2211
+ * @readonly
2212
+ */
2213
+ manualTaxRate?: string | null;
1895
2214
  /**
1896
2215
  * Whether the order is exempt from tax calculations.
1897
2216
  *
@@ -1899,6 +2218,12 @@ interface OrderTaxInfo {
1899
2218
  * @readonly
1900
2219
  */
1901
2220
  taxExempt?: boolean | null;
2221
+ /**
2222
+ * The total amount that was exempt from tax calculations.
2223
+ * @internal
2224
+ * @readonly
2225
+ */
2226
+ totalExempt?: Price;
1902
2227
  }
1903
2228
  /**
1904
2229
  * 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.
@@ -1930,6 +2255,16 @@ interface OrderTaxBreakdown {
1930
2255
  rate?: string;
1931
2256
  /** The sum of all the tax from line items that calculated by the tax identifiers. */
1932
2257
  aggregatedTaxAmount?: Price;
2258
+ /**
2259
+ * The sum of all the taxable amount from line items for tax identifiers.
2260
+ * @internal
2261
+ */
2262
+ aggregatedTaxableAmount?: Price;
2263
+ /**
2264
+ * The aggregated exempt amount from all line items for tax identifiers.
2265
+ * @internal
2266
+ */
2267
+ aggregatedExemptAmount?: Price;
1933
2268
  }
1934
2269
  interface BuyerDetails extends BuyerDetailsChangeTypeOneOf {
1935
2270
  /** Indicates that buyer information was added during draft. */
@@ -2207,13 +2542,75 @@ interface CatalogReferenceLineItem {
2207
2542
  * @maxSize 5
2208
2543
  */
2209
2544
  locations?: LocationAndQuantity[];
2545
+ /**
2546
+ * Line Item product name to override.
2547
+ * @internal
2548
+ */
2549
+ productName?: ProductName;
2550
+ /**
2551
+ * Line item description lines to override
2552
+ * @internal
2553
+ */
2554
+ descriptionLinesInfo?: DescriptionLinesOverride;
2555
+ /**
2556
+ * Line item ID in external systems.
2557
+ * @internal
2558
+ * @minLength 1
2559
+ * @maxLength 100
2560
+ */
2561
+ externalLineItemId?: string | null;
2562
+ /**
2563
+ * Tax group ID.
2564
+ * @internal
2565
+ * @format GUID
2566
+ */
2567
+ taxGroupId?: string | null;
2210
2568
  /**
2211
2569
  * Line item ID, if not provided, will be generated sequentially preserving the order of added line items
2212
2570
  * @format GUID
2213
2571
  */
2214
2572
  id?: string | null;
2573
+ /**
2574
+ * Recurring subscription settings for line item.
2575
+ * @internal
2576
+ */
2577
+ subscriptionSettings?: SubscriptionSettings;
2578
+ /**
2579
+ * Line item quantity as a decimal, for a purchase that isn't a whole number of units.
2580
+ * For example, `2.75` m² of fake grass.
2581
+ *
2582
+ * Requires `fixedQuantity` = `true` and `quantity` = `1`. `price` is taken as the
2583
+ * pre-calculated line total.
2584
+ * @internal
2585
+ */
2586
+ decimalQuantity?: DecimalQuantity;
2587
+ /**
2588
+ * Optional taxable address type for this line item, determining which address, the business, billing, or shipping address, is used to calculate tax.
2589
+ * Overrides the type resolved automatically from the line item's type or the type returns from catalog.
2590
+ * @internal
2591
+ */
2592
+ taxableAddress?: TaxableAddress;
2593
+ /**
2594
+ * Whether the line item's quantity is fixed and can't be changed after the line is added.
2595
+ *
2596
+ * Applies to `quantity` only. `decimalQuantity` can still be updated on a fixed line.
2597
+ *
2598
+ * Must be `true` when `decimalQuantity` is passed.
2599
+ *
2600
+ * Default: The value the Catalog service plugin resolves for the item.
2601
+ * @internal
2602
+ */
2603
+ fixedQuantity?: boolean | null;
2215
2604
  }
2216
2605
  interface DescriptionLinesOverride {
2606
+ /**
2607
+ * Line item description lines to override.
2608
+ *
2609
+ * To remove all description lines on this line item, pass an empty array.
2610
+ * @internal
2611
+ * @maxSize 20
2612
+ */
2613
+ descriptionLines?: DescriptionLine[];
2217
2614
  }
2218
2615
  interface CustomLineItem {
2219
2616
  /**
@@ -2254,6 +2651,11 @@ interface CustomLineItem {
2254
2651
  fullPrice?: Price;
2255
2652
  /** Item price **before** line item discounts and **after** catalog-defined discount. Defaults to `price` when not provided. */
2256
2653
  priceBeforeDiscounts?: Price;
2654
+ /**
2655
+ * Item price per unit **before** line item discounts and before tax.
2656
+ * @internal
2657
+ */
2658
+ priceBeforeDiscountsAndTax?: Price;
2257
2659
  /** Line item description lines. Used for display purposes for order. */
2258
2660
  descriptionLines?: DescriptionLine[];
2259
2661
  /** Line item image details. */
@@ -2262,6 +2664,23 @@ interface CustomLineItem {
2262
2664
  physicalProperties?: PhysicalProperties;
2263
2665
  /** Item type. Either a preset type or custom. */
2264
2666
  itemType?: ItemType;
2667
+ /**
2668
+ * Fulfiller ID for this item. Field is empty when the item is self-fulfilled.
2669
+ * @internal
2670
+ * @format GUID
2671
+ */
2672
+ fulfillerId?: string | null;
2673
+ /**
2674
+ * Shipping group ID.
2675
+ * @internal
2676
+ * @format GUID
2677
+ */
2678
+ shippingGroupId?: string | null;
2679
+ /**
2680
+ * Digital file identifier, relevant only for items with type DIGITAL.
2681
+ * @internal
2682
+ */
2683
+ digitalFile?: SecuredMedia;
2265
2684
  /** Additional description for the price. For example, when price is 0 but additional details about the actual price are needed - "Starts at $67". */
2266
2685
  priceDescription?: PriceDescription;
2267
2686
  /**
@@ -2276,6 +2695,50 @@ interface CustomLineItem {
2276
2695
  * @maxSize 5
2277
2696
  */
2278
2697
  locations?: LocationAndQuantity[];
2698
+ /**
2699
+ * Line item ID in external systems.
2700
+ * @internal
2701
+ * @minLength 1
2702
+ * @maxLength 100
2703
+ */
2704
+ externalLineItemId?: string | null;
2705
+ /**
2706
+ * Tax group ID.
2707
+ * @internal
2708
+ * @format GUID
2709
+ */
2710
+ taxGroupId?: string | null;
2711
+ /**
2712
+ * Recurring subscription settings for line item.
2713
+ * @internal
2714
+ */
2715
+ subscriptionSettings?: SubscriptionSettings;
2716
+ /**
2717
+ * Line item quantity as a decimal, for a purchase that isn't a whole number of units.
2718
+ * For example, `2.75` m² of fake grass.
2719
+ *
2720
+ * Requires `fixedQuantity` = `true` and `quantity` = `1`. `price` is taken as the
2721
+ * pre-calculated line total.
2722
+ * @internal
2723
+ */
2724
+ decimalQuantity?: DecimalQuantity;
2725
+ /**
2726
+ * Optional taxable address type for this line item, determining which address, the business, billing, or shipping address, is used to calculate tax.
2727
+ * Overrides the type resolved automatically from the line item's type.
2728
+ * @internal
2729
+ */
2730
+ taxableAddress?: TaxableAddress;
2731
+ /**
2732
+ * Whether the line item's quantity is fixed and can't be changed after the line is added.
2733
+ *
2734
+ * Applies to `quantity` only. `decimalQuantity` can still be updated on a fixed line.
2735
+ *
2736
+ * Must be `true` when `decimalQuantity` is passed.
2737
+ *
2738
+ * Default: `false`
2739
+ * @internal
2740
+ */
2741
+ fixedQuantity?: boolean | null;
2279
2742
  }
2280
2743
  interface PageUrlV2 {
2281
2744
  /** The relative path for the page within the site. For example, `/product-page/a-product`. */
@@ -2352,6 +2815,15 @@ interface DiscountOption extends DiscountOptionDiscountAmountOneOf {
2352
2815
  * @maxSize 1
2353
2816
  */
2354
2817
  lineItemDiscounts?: LineItemDiscount[];
2818
+ /**
2819
+ * Number of subscription billing cycles the discount applies to, starting from the first cycle.
2820
+ * Relevant only for draft orders with subscription line items.
2821
+ * If empty, the discount applies to all billing cycles.
2822
+ * @internal
2823
+ * @min 1
2824
+ * @max 999
2825
+ */
2826
+ subscriptionCycles?: number | null;
2355
2827
  }
2356
2828
  /** @oneof */
2357
2829
  interface DiscountOptionDiscountAmountOneOf {
@@ -2684,6 +3156,50 @@ interface LineItemChangeDetails {
2684
3156
  * If `newPrice` is not passed, the item price is automatically recalculated to reflect the cost difference between the old and new modifiers.
2685
3157
  */
2686
3158
  newModifierGroups?: ModifiersGroupsOverride;
3159
+ /**
3160
+ * New catalog Options to replace existing one.
3161
+ * > **Note:** Catalog options change does not trigger update of item using the Catalog service plugin.
3162
+ * For example, when changing staff member for an existing service.
3163
+ * @internal
3164
+ */
3165
+ newCatalogReferenceOptions?: Record<string, any> | null;
3166
+ /**
3167
+ * New recurring subscription settings for this line item.
3168
+ * @internal
3169
+ */
3170
+ newSubscriptionSettings?: SubscriptionSettings;
3171
+ /**
3172
+ * New payment option for this line item, overriding the catalog-provided value.
3173
+ * Currently supported for service-type line items only.
3174
+ * @internal
3175
+ */
3176
+ newPaymentOption?: PaymentOptionOverride;
3177
+ /**
3178
+ * New taxable address type for this line item, determining which address, the business, billing, or shipping address, is used to calculate tax. Overrides the type resolved automatically from the line item's type.
3179
+ *
3180
+ * Pass `UNKNOWN_TAXABLE_ADDRESS` to restore automatic resolution. If not passed, the current taxable address doesn't change.
3181
+ *
3182
+ * When editing an existing order, the taxable address can only be set for newly added line items.
3183
+ * @internal
3184
+ */
3185
+ newTaxableAddress?: TaxableAddress;
3186
+ /**
3187
+ * New decimal quantity for the line item, for a purchase that isn't a whole number of units.
3188
+ * For example, `2.75` m² of fake grass.
3189
+ *
3190
+ * Requires `newFixedQuantity` = `true` and `newQuantity` = `1`. `newPrice` is taken as the pre-calculated line total.
3191
+ *
3192
+ * Removing the decimal quantity reverts the line item to a whole-number quantity; it doesn't remove the line item. To remove the line item, pass `newQuantity` = `0`.
3193
+ * @internal
3194
+ */
3195
+ newDecimalQuantity?: DecimalQuantityOverride;
3196
+ /**
3197
+ * New value for whether the line item's quantity is fixed and can't be changed.
3198
+ *
3199
+ * Applies to the line item's quantity, whether set by `newQuantity` or the existing quantity value. `newDecimalQuantity` can still be updated on a fixed line.
3200
+ * @internal
3201
+ */
3202
+ newFixedQuantity?: boolean | null;
2687
3203
  }
2688
3204
  interface ModifiersGroupsOverride {
2689
3205
  /**
@@ -2695,8 +3211,20 @@ interface ModifiersGroupsOverride {
2695
3211
  modifierGroups?: ModifierGroup[];
2696
3212
  }
2697
3213
  interface PaymentOptionOverride {
3214
+ /**
3215
+ * Payment option type to apply to the line item.
3216
+ * @internal
3217
+ */
3218
+ paymentOption?: PaymentOptionTypeWithLiterals;
2698
3219
  }
2699
3220
  interface DecimalQuantityOverride {
3221
+ /**
3222
+ * Decimal quantity to set on the line item.
3223
+ *
3224
+ * To remove the line item's decimal quantity, pass an empty object.
3225
+ * @internal
3226
+ */
3227
+ decimalQuantity?: DecimalQuantity;
2700
3228
  }
2701
3229
  interface UpdateLineItemsResponse {
2702
3230
  /** Draft order calculated with the latest changes. */
@@ -2976,7 +3504,40 @@ declare enum NonDraftableReason {
2976
3504
  /** Order not found. */
2977
3505
  ORDER_NOT_FOUND = "ORDER_NOT_FOUND",
2978
3506
  /** Modifications of orders with subscription items are not supported. */
2979
- SUBSCRIPTION_LINE_ITEM_EXISTS = "SUBSCRIPTION_LINE_ITEM_EXISTS"
3507
+ SUBSCRIPTION_LINE_ITEM_EXISTS = "SUBSCRIPTION_LINE_ITEM_EXISTS",
3508
+ /**
3509
+ * Not exposed. Will be removed.
3510
+ * @internal
3511
+ */
3512
+ AMOUNTS_DO_NOT_ADD_UP = "AMOUNTS_DO_NOT_ADD_UP",
3513
+ /**
3514
+ * Not exposed. Will be removed.
3515
+ * @internal
3516
+ */
3517
+ UNSUPPORTED_CATALOG_ITEM = "UNSUPPORTED_CATALOG_ITEM",
3518
+ /**
3519
+ * Not exposed. Will be removed.
3520
+ * @internal
3521
+ */
3522
+ TAXABLE_EXISTING_ADDITIONAL_FEE = "TAXABLE_EXISTING_ADDITIONAL_FEE",
3523
+ /**
3524
+ * Order contains at least one payment with chargeback.
3525
+ * @documentationMaturity preview
3526
+ * @internal
3527
+ */
3528
+ ORDER_HAS_CHARGEBACKS = "ORDER_HAS_CHARGEBACKS",
3529
+ /**
3530
+ * Editing of this order is not allowed for requested app
3531
+ * @documentationMaturity preview
3532
+ * @internal
3533
+ */
3534
+ EDITING_IS_NOT_ALLOWED_FOR_APP = "EDITING_IS_NOT_ALLOWED_FOR_APP",
3535
+ /**
3536
+ * Order has coupons but coupon behavior was not defined at the order creation, preventing safe editing.
3537
+ * @documentationMaturity preview
3538
+ * @internal
3539
+ */
3540
+ COUPON_BEHAVIOR_IS_UNDEFINED = "COUPON_BEHAVIOR_IS_UNDEFINED"
2980
3541
  }
2981
3542
  /** @enumType */
2982
3543
  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';
@@ -3141,6 +3702,30 @@ interface Order {
3141
3702
  checkoutId?: string | null;
3142
3703
  /** Custom fields. */
3143
3704
  customFields?: CustomField[];
3705
+ /**
3706
+ * Cart ID - required by TYP OOI for legacy orders.
3707
+ * @internal
3708
+ * @format GUID
3709
+ */
3710
+ cartId?: string | null;
3711
+ /**
3712
+ * Private API flag that allows using read-only "id" during order creation.
3713
+ * @internal
3714
+ */
3715
+ isInternalOrderCreate?: boolean;
3716
+ /**
3717
+ * Pay now price summary. Part of `priceSummary` that must be paid at checkout.
3718
+ * Deprecated. Use `deposit` instead.
3719
+ * This field will be removed on March 09, 2026.
3720
+ * @internal
3721
+ * @readonly
3722
+ * @deprecated Pay now price summary. Part of `priceSummary` that must be paid at checkout.
3723
+ * Deprecated. Use `deposit` instead.
3724
+ * This field will be removed on March 09, 2026.
3725
+ * @replacedBy deposit
3726
+ * @targetRemovalDate 2026-03-09
3727
+ */
3728
+ payNow?: PriceSummary;
3144
3729
  /**
3145
3730
  * Balance summary.
3146
3731
  * @readonly
@@ -3151,6 +3736,12 @@ interface Order {
3151
3736
  * @maxSize 100
3152
3737
  */
3153
3738
  additionalFees?: AdditionalFee[];
3739
+ /**
3740
+ * Custom string status values aggregated from every fulfillment entity associated with the current order.
3741
+ * @internal
3742
+ * @readonly
3743
+ */
3744
+ fulfillmentStatusesAggregate?: FulfillmentStatusesAggregate;
3154
3745
  /**
3155
3746
  * Custom field data for the order object.
3156
3747
  *
@@ -3189,6 +3780,26 @@ interface Order {
3189
3780
  * @readonly
3190
3781
  */
3191
3782
  payAfterFreeTrial?: PriceSummary;
3783
+ /**
3784
+ * Deposit price summary. Part of `priceSummary` that must be paid at checkout.
3785
+ * @internal
3786
+ * @readonly
3787
+ */
3788
+ deposit?: PriceSummary;
3789
+ /**
3790
+ * Order-level settings and allowed actions.
3791
+ * @internal
3792
+ * @readonly
3793
+ * @immutable
3794
+ */
3795
+ settings?: OrderSettings;
3796
+ /**
3797
+ * Forms associated with the Order's line items.
3798
+ * @internal
3799
+ * @readonly
3800
+ * @maxSize 1000
3801
+ */
3802
+ forms?: FormInfo[];
3192
3803
  /** Summary of platform fees for this order, including totals by charge type and a breakdown of individual fees. */
3193
3804
  platformFeeSummary?: PlatformFeeSummary;
3194
3805
  /**
@@ -3308,10 +3919,25 @@ declare enum V1OrderStatus {
3308
3919
  /** @enumType */
3309
3920
  type V1OrderStatusWithLiterals = V1OrderStatus | 'INITIALIZED' | 'APPROVED' | 'CANCELED' | 'PENDING' | 'REJECTED';
3310
3921
  interface Activity extends ActivityContentOneOf {
3922
+ /**
3923
+ * Custom activity details. Not currently supported.
3924
+ * @internal
3925
+ */
3926
+ customActivity?: CustomActivity;
3311
3927
  /** Merchant comment details (optional). `activity.type` must be `MERCHANT_COMMENT`. */
3312
3928
  merchantComment?: MerchantComment;
3313
3929
  /** Additional info about order refunded activity (optional). `activity.type` must be `ORDER_REFUNDED`. */
3314
3930
  orderRefunded?: OrderRefunded;
3931
+ /**
3932
+ * Details of the original order for this exchange order. `activity.type` must be `ORDER_CREATED_FROM_EXCHANGE`.
3933
+ * @internal
3934
+ */
3935
+ orderCreatedFromExchange?: OrderCreatedFromExchange;
3936
+ /**
3937
+ * 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`.
3938
+ * @internal
3939
+ */
3940
+ newExchangeOrderCreated?: NewExchangeOrderCreated;
3315
3941
  /** Details of changes made by the Draft Orders API. */
3316
3942
  draftOrderChangesApplied?: DraftOrderChangesApplied;
3317
3943
  /** Details of the payment method saved for the order. */
@@ -3388,10 +4014,25 @@ interface Activity extends ActivityContentOneOf {
3388
4014
  }
3389
4015
  /** @oneof */
3390
4016
  interface ActivityContentOneOf {
4017
+ /**
4018
+ * Custom activity details. Not currently supported.
4019
+ * @internal
4020
+ */
4021
+ customActivity?: CustomActivity;
3391
4022
  /** Merchant comment details (optional). `activity.type` must be `MERCHANT_COMMENT`. */
3392
4023
  merchantComment?: MerchantComment;
3393
4024
  /** Additional info about order refunded activity (optional). `activity.type` must be `ORDER_REFUNDED`. */
3394
4025
  orderRefunded?: OrderRefunded;
4026
+ /**
4027
+ * Details of the original order for this exchange order. `activity.type` must be `ORDER_CREATED_FROM_EXCHANGE`.
4028
+ * @internal
4029
+ */
4030
+ orderCreatedFromExchange?: OrderCreatedFromExchange;
4031
+ /**
4032
+ * 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`.
4033
+ * @internal
4034
+ */
4035
+ newExchangeOrderCreated?: NewExchangeOrderCreated;
3395
4036
  /** Details of changes made by the Draft Orders API. */
3396
4037
  draftOrderChangesApplied?: DraftOrderChangesApplied;
3397
4038
  /** Details of the payment method saved for the order. */
@@ -3553,6 +4194,21 @@ interface LineItemChanges {
3553
4194
  quantity?: LineItemQuantityChange;
3554
4195
  /** Item price change. */
3555
4196
  price?: LineItemPriceChange;
4197
+ /**
4198
+ * Item product name change.
4199
+ * @internal
4200
+ */
4201
+ productName?: LineItemProductNameChange;
4202
+ /**
4203
+ * Item description lines change.
4204
+ * @internal
4205
+ */
4206
+ descriptionLines?: LineItemDescriptionLineChange;
4207
+ /**
4208
+ * Item modifiers change.
4209
+ * @internal
4210
+ */
4211
+ modifierGroups?: LineItemModifiersChange;
3556
4212
  }
3557
4213
  interface LineItemQuantityChange {
3558
4214
  /**
@@ -4404,7 +5060,19 @@ declare enum ChannelType {
4404
5060
  /** PayPal Agentic Checkout sales channel. */
4405
5061
  PAYPAL_AGENTIC_CHECKOUT = "PAYPAL_AGENTIC_CHECKOUT",
4406
5062
  /** Stripe Agentic Checkout sales channel. */
4407
- STRIPE_AGENTIC_CHECKOUT = "STRIPE_AGENTIC_CHECKOUT"
5063
+ STRIPE_AGENTIC_CHECKOUT = "STRIPE_AGENTIC_CHECKOUT",
5064
+ /**
5065
+ * Wix Invoices platform app
5066
+ * @documentationMaturity preview
5067
+ * @internal
5068
+ */
5069
+ WIX_INVOICES_PLATFORM = "WIX_INVOICES_PLATFORM",
5070
+ /**
5071
+ * UCP (Universal Checkout Protocol) Agentic Checkout sales channel.
5072
+ * @documentationMaturity preview
5073
+ * @internal
5074
+ */
5075
+ UCP_AGENTIC_CHECKOUT = "UCP_AGENTIC_CHECKOUT"
4408
5076
  }
4409
5077
  /** @enumType */
4410
5078
  type ChannelTypeWithLiterals = ChannelType | 'UNSPECIFIED' | 'WEB' | 'POS' | 'EBAY' | 'AMAZON' | 'OTHER_PLATFORM' | 'WIX_APP_STORE' | 'WIX_INVOICES' | 'BACKOFFICE_MERCHANT' | 'WISH' | 'CLASS_PASS' | 'GLOBAL_E' | 'FACEBOOK' | 'ETSY' | 'TIKTOK' | 'FAIRE_COM' | 'PAYPAL_AGENTIC_CHECKOUT' | 'STRIPE_AGENTIC_CHECKOUT';
@@ -4542,6 +5210,32 @@ interface OrderSettings extends OrderSettingsAllowedActionsOneOf, OrderSettingsE
4542
5210
  limitedActions?: boolean;
4543
5211
  /** Custom list of allowed actions for order. */
4544
5212
  customActions?: CustomAllowedActions;
5213
+ /**
5214
+ * Allow the order to be editable by any app that has the required permissions.
5215
+ * Use when edits are not restricted to owning apps.
5216
+ * @internal
5217
+ */
5218
+ editableByEveryone?: boolean;
5219
+ /**
5220
+ * Restrict editing of the order to the specified owning apps only.
5221
+ * Other apps (even with general edit permissions) are not allowed to edit.
5222
+ * @internal
5223
+ */
5224
+ editableByOwnerApps?: OwnerApps;
5225
+ /**
5226
+ * New global coupons calculation logic.
5227
+ * Indicates which calculation is used for coupons with type `SPECIFIC_ITEMS`.
5228
+ * @internal
5229
+ */
5230
+ specificItemsCouponBehavior?: SpecificItemsCouponBehaviorWithLiterals;
5231
+ /**
5232
+ * Whether to automatically generate an invoice when this order will be PAID.
5233
+ * If `false`, no invoice is auto-generated for this order.
5234
+ *
5235
+ * Default: `true`
5236
+ * @internal
5237
+ */
5238
+ createInvoice?: boolean | null;
4545
5239
  }
4546
5240
  /** @oneof */
4547
5241
  interface OrderSettingsAllowedActionsOneOf {
@@ -4562,6 +5256,18 @@ interface OrderSettingsAllowedActionsOneOf {
4562
5256
  }
4563
5257
  /** @oneof */
4564
5258
  interface OrderSettingsEditableByOneOf {
5259
+ /**
5260
+ * Allow the order to be editable by any app that has the required permissions.
5261
+ * Use when edits are not restricted to owning apps.
5262
+ * @internal
5263
+ */
5264
+ editableByEveryone?: boolean;
5265
+ /**
5266
+ * Restrict editing of the order to the specified owning apps only.
5267
+ * Other apps (even with general edit permissions) are not allowed to edit.
5268
+ * @internal
5269
+ */
5270
+ editableByOwnerApps?: OwnerApps;
4565
5271
  }
4566
5272
  interface CustomAllowedActions {
4567
5273
  /** @maxSize 17 */
@@ -4671,11 +5377,54 @@ interface CreateOrderFromDraftRequest {
4671
5377
  channelInfo?: ChannelInfo;
4672
5378
  }
4673
5379
  interface OrderCreateSettings extends OrderCreateSettingsEditableByOneOf {
5380
+ /**
5381
+ * Allow the created order to be editable by any app that has the required permissions.
5382
+ * Use this when order edits are not restricted to owning apps.
5383
+ * @internal
5384
+ */
5385
+ editableByEveryone?: boolean;
5386
+ /**
5387
+ * Restrict editing of the created order to the specified owning app.
5388
+ * Other apps (even with general edit permissions) are not allowed to edit this order.
5389
+ * See: com.wix.ecom.orders.v1.OwnerApps
5390
+ * @internal
5391
+ */
5392
+ editableByOwnerApps?: OwnerApps;
4674
5393
  /** Notification settings to be applied on order creation. */
4675
5394
  notifications?: OrderCreateNotifications;
5395
+ /**
5396
+ * Whether to automatically generate an invoice when this order will be PAID.
5397
+ * If `false`, no invoice is auto-generated for this order.
5398
+ *
5399
+ * Default: `true`
5400
+ * @internal
5401
+ */
5402
+ createInvoice?: boolean | null;
5403
+ /**
5404
+ * Determines order status after creation.
5405
+ *
5406
+ * Default values:
5407
+ * + `INITIALIZED`: for subscription orders
5408
+ * + `APPROVED`: for regular orders
5409
+ * @internal
5410
+ */
5411
+ orderStatus?: OrderStatusWithLiterals;
4676
5412
  }
4677
5413
  /** @oneof */
4678
5414
  interface OrderCreateSettingsEditableByOneOf {
5415
+ /**
5416
+ * Allow the created order to be editable by any app that has the required permissions.
5417
+ * Use this when order edits are not restricted to owning apps.
5418
+ * @internal
5419
+ */
5420
+ editableByEveryone?: boolean;
5421
+ /**
5422
+ * Restrict editing of the created order to the specified owning app.
5423
+ * Other apps (even with general edit permissions) are not allowed to edit this order.
5424
+ * See: com.wix.ecom.orders.v1.OwnerApps
5425
+ * @internal
5426
+ */
5427
+ editableByOwnerApps?: OwnerApps;
4679
5428
  }
4680
5429
  interface OrderCreateNotifications {
4681
5430
  /**
@@ -4757,6 +5506,20 @@ interface Sorting {
4757
5506
  fieldName?: string;
4758
5507
  /** Sort order. */
4759
5508
  order?: SortOrderWithLiterals;
5509
+ /**
5510
+ * When `field_name` is a property of repeated field that is marked as `MATCH_ITEMS` and sort should be done by
5511
+ * a specific element from a collection, filter can/should be provided to ensure correct sort value is picked.
5512
+ *
5513
+ * If multiple filters are provided, they are combined with AND operator.
5514
+ *
5515
+ * Example:
5516
+ * Given we have document like {"id": "1", "nestedField": [{"price": 10, "region": "EU"}, {"price": 20, "region": "US"}]}
5517
+ * and `nestedField` is marked as `MATCH_ITEMS`, to ensure that sorting is done by correct region, filter should be
5518
+ * { fieldName: "nestedField.price", "select_items_by": [{"nestedField.region": "US"}] }
5519
+ * @internal
5520
+ * @maxSize 10
5521
+ */
5522
+ selectItemsBy?: Record<string, any>[] | null;
4760
5523
  /**
4761
5524
  * Origin point for geo-distance sorting on a GEO field
4762
5525
  * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first).
@@ -4802,6 +5565,13 @@ interface CursorPagingMetadata {
4802
5565
  * + `false`: This is the last page.
4803
5566
  */
4804
5567
  hasNext?: boolean | null;
5568
+ /**
5569
+ * Total number of items matching the filter.
5570
+ * Available only on the first page of *Search* results, not included in *Query* or *List* results.
5571
+ * If the Search results span multiple pages, the value of `total` will exceed the number of items returned on the first page.
5572
+ * @internal
5573
+ */
5574
+ total?: number | null;
4805
5575
  }
4806
5576
  interface Cursors {
4807
5577
  /**
@@ -4900,8 +5670,18 @@ interface DomainEventBodyOneOf {
4900
5670
  }
4901
5671
  interface EntityCreatedEvent {
4902
5672
  entityAsJson?: string;
5673
+ /**
5674
+ * Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity
5675
+ * @internal
5676
+ */
5677
+ triggeredByUndelete?: boolean | null;
4903
5678
  /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
4904
5679
  restoreInfo?: RestoreInfo;
5680
+ /**
5681
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
5682
+ * @internal
5683
+ */
5684
+ additionalMetadataAsJson?: string | null;
4905
5685
  }
4906
5686
  interface RestoreInfo {
4907
5687
  deletedDate?: Date | null;
@@ -4913,10 +5693,42 @@ interface EntityUpdatedEvent {
4913
5693
  * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
4914
5694
  */
4915
5695
  currentEntityAsJson?: string;
5696
+ /**
5697
+ * This field is currently part of the of the EntityUpdatedEvent msg, but scala/node libraries which implements the domain events standard
5698
+ * wont populate it / have any reference to it in the API.
5699
+ * The main reason for it is that fetching the old entity from the DB will have a performance hit on an update operation so unless truly needed,
5700
+ * the developer should send only the new (current) entity.
5701
+ * An additional reason is not wanting to send this additional entity over the wire (kafka) since in some cases it can be really big
5702
+ * Developers that must reflect the old entity will have to implement their own domain event sender mechanism which will follow the DomainEvent proto message.
5703
+ * @internal
5704
+ * @deprecated
5705
+ */
5706
+ previousEntityAsJson?: string | null;
5707
+ /**
5708
+ * Map of fully qualified field paths to their previous values for fields that changed.
5709
+ * For more details please see [AIP](https://dev.wix.com/docs/rnd-general/articles/p13n-guidelines-aips/guidance-aips/design-patterns/7016-events#modified-fields-format)
5710
+ * @internal
5711
+ */
5712
+ modifiedFields?: Record<string, any>;
5713
+ /**
5714
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
5715
+ * @internal
5716
+ */
5717
+ additionalMetadataAsJson?: string | null;
4916
5718
  }
4917
5719
  interface EntityDeletedEvent {
5720
+ /**
5721
+ * Indicates if the entity is sent to trash-bin. only available when trash-bin is enabled
5722
+ * @internal
5723
+ */
5724
+ movedToTrash?: boolean | null;
4918
5725
  /** Entity that was deleted. */
4919
5726
  deletedEntityAsJson?: string | null;
5727
+ /**
5728
+ * Optional domain-specific metadata defined by the API owner, encoded as JSON.
5729
+ * @internal
5730
+ */
5731
+ additionalMetadataAsJson?: string | null;
4920
5732
  }
4921
5733
  interface ActionEvent {
4922
5734
  bodyAsJson?: string;
@@ -5514,4 +6326,4 @@ declare function updateExtendedFields(): __PublicMethodMetaInfo<'POST', {
5514
6326
  declare function setTaxExemption(): __PublicMethodMetaInfo<'PUT', {}, SetTaxExemptionRequest$1, SetTaxExemptionRequest, SetTaxExemptionResponse$1, SetTaxExemptionResponse>;
5515
6327
  declare function setBusinessLocation(): __PublicMethodMetaInfo<'PUT', {}, SetBusinessLocationRequest$1, SetBusinessLocationRequest, SetBusinessLocationResponse$1, SetBusinessLocationResponse>;
5516
6328
 
5517
- export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ActivityContentOneOf as ActivityContentOneOfOriginal, type Activity as ActivityOriginal, ActivityType as ActivityTypeOriginal, type ActivityTypeWithLiterals as ActivityTypeWithLiteralsOriginal, type AddLineItemsToDraftOrderApplicationErrors as AddLineItemsToDraftOrderApplicationErrorsOriginal, type AddLineItemsToDraftOrderRequest as AddLineItemsToDraftOrderRequestOriginal, type AddLineItemsToDraftOrderResponse as AddLineItemsToDraftOrderResponseOriginal, type AdditionalFeeDetails as AdditionalFeeDetailsOriginal, type AdditionalFeeOption as AdditionalFeeOptionOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, AdjustmentType as AdjustmentTypeOriginal, type AdjustmentTypeWithLiterals as AdjustmentTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, AppliedDiscountDiscountType as AppliedDiscountDiscountTypeOriginal, type AppliedDiscountDiscountTypeWithLiterals as AppliedDiscountDiscountTypeWithLiteralsOriginal, type AppliedDiscount as AppliedDiscountOriginal, AttributionSource as AttributionSourceOriginal, type AttributionSourceWithLiterals as AttributionSourceWithLiteralsOriginal, type AuthorizedPaymentCaptured as AuthorizedPaymentCapturedOriginal, type AuthorizedPaymentCreated as AuthorizedPaymentCreatedOriginal, type AuthorizedPaymentVoided as AuthorizedPaymentVoidedOriginal, type Balance as BalanceOriginal, type BalanceSummary as BalanceSummaryOriginal, type BillingAdjustment as BillingAdjustmentOriginal, type BillingAdjustmentPriceSummary as BillingAdjustmentPriceSummaryOriginal, type BillingChangedDetails as BillingChangedDetailsOriginal, type BillingDetailsChangeTypeOneOf as BillingDetailsChangeTypeOneOfOriginal, type BillingDetails as BillingDetailsOriginal, type BillingSettings as BillingSettingsOriginal, type BusinessLocationChangedDetails as BusinessLocationChangedDetailsOriginal, type BusinessLocationDetailsChangeTypeOneOf as BusinessLocationDetailsChangeTypeOneOfOriginal, type BusinessLocationDetails as BusinessLocationDetailsOriginal, type BuyerChangedDetails as BuyerChangedDetailsOriginal, type BuyerDetailsChangeTypeOneOf as BuyerDetailsChangeTypeOneOfOriginal, type BuyerDetails as BuyerDetailsOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, type CalculatedDraftOrder as CalculatedDraftOrderOriginal, type CalculationErrors as CalculationErrorsOriginal, type CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOfOriginal, type CarrierError as CarrierErrorOriginal, type CarrierErrors as CarrierErrorsOriginal, type CashRounding as CashRoundingOriginal, type CatalogReferenceLineItem as CatalogReferenceLineItemOriginal, type CatalogReference as CatalogReferenceOriginal, type ChannelInfo as ChannelInfoOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, type ChargebackCreated as ChargebackCreatedOriginal, type ChargebackReversed as ChargebackReversedOriginal, type Color as ColorOriginal, type CommitDraftOrderApplicationErrors as CommitDraftOrderApplicationErrorsOriginal, type CommitDraftOrderRequest as CommitDraftOrderRequestOriginal, type CommitDraftOrderResponse as CommitDraftOrderResponseOriginal, type Coupon as CouponOriginal, type CreateCustomAdditionalFeesApplicationErrors as CreateCustomAdditionalFeesApplicationErrorsOriginal, type CreateCustomAdditionalFeesRequest as CreateCustomAdditionalFeesRequestOriginal, type CreateCustomAdditionalFeesResponse as CreateCustomAdditionalFeesResponseOriginal, type CreateCustomDiscountsApplicationErrors as CreateCustomDiscountsApplicationErrorsOriginal, type CreateCustomDiscountsRequest as CreateCustomDiscountsRequestOriginal, type CreateCustomDiscountsResponse as CreateCustomDiscountsResponseOriginal, type CreateDraftOrderApplicationErrors as CreateDraftOrderApplicationErrorsOriginal, type CreateDraftOrderRequest as CreateDraftOrderRequestOriginal, type CreateDraftOrderRequestSourceOneOf as CreateDraftOrderRequestSourceOneOfOriginal, type CreateDraftOrderResponse as CreateDraftOrderResponseOriginal, type CreateEmptyDraftOrderApplicationErrors as CreateEmptyDraftOrderApplicationErrorsOriginal, type CreateEmptyDraftOrderRequest as CreateEmptyDraftOrderRequestOriginal, type CreateEmptyDraftOrderResponse as CreateEmptyDraftOrderResponseOriginal, type CreateOrderFromDraftApplicationErrors as CreateOrderFromDraftApplicationErrorsOriginal, type CreateOrderFromDraftRequest as CreateOrderFromDraftRequestOriginal, type CreateOrderFromDraftResponse as CreateOrderFromDraftResponseOriginal, type CreatedBy as CreatedByOriginal, type CreatedByStringOneOf as CreatedByStringOneOfOriginal, type CreditCardDetails as CreditCardDetailsOriginal, type CurrencyConversionDetails as CurrencyConversionDetailsOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomActivity as CustomActivityOriginal, type CustomAllowedActions as CustomAllowedActionsOriginal, type CustomField as CustomFieldOriginal, type CustomLineItem as CustomLineItemOriginal, type DecimalQuantity as DecimalQuantityOriginal, type DecimalQuantityOverride as DecimalQuantityOverrideOriginal, type DecimalQuantityUnitOneOf as DecimalQuantityUnitOneOfOriginal, type DeleteCustomAdditionalFeesApplicationErrors as DeleteCustomAdditionalFeesApplicationErrorsOriginal, type DeleteCustomAdditionalFeesRequest as DeleteCustomAdditionalFeesRequestOriginal, type DeleteCustomAdditionalFeesResponse as DeleteCustomAdditionalFeesResponseOriginal, type DeleteCustomDiscountsApplicationErrors as DeleteCustomDiscountsApplicationErrorsOriginal, type DeleteCustomDiscountsRequest as DeleteCustomDiscountsRequestOriginal, type DeleteCustomDiscountsResponse as DeleteCustomDiscountsResponseOriginal, type DeleteDraftOrderApplicationErrors as DeleteDraftOrderApplicationErrorsOriginal, type DeleteDraftOrderRequest as DeleteDraftOrderRequestOriginal, type DeleteDraftOrderResponse as DeleteDraftOrderResponseOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DepositDetailsDepositOneOf as DepositDetailsDepositOneOfOriginal, type DepositDetails as DepositDetailsOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type DescriptionLinesOverride as DescriptionLinesOverrideOriginal, type DetailsKindOneOf as DetailsKindOneOfOriginal, type Details as DetailsOriginal, type DigitalFile as DigitalFileOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, type DiscountDetails as DiscountDetailsOriginal, type DiscountOptionDiscountAmountOneOf as DiscountOptionDiscountAmountOneOfOriginal, type DiscountOption as DiscountOptionOriginal, DiscountReason as DiscountReasonOriginal, type DiscountReasonWithLiterals as DiscountReasonWithLiteralsOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DraftOrderChangesApplied as DraftOrderChangesAppliedOriginal, type DraftOrderCommitSettings as DraftOrderCommitSettingsOriginal, type DraftOrderInput as DraftOrderInputOriginal, type DraftOrder as DraftOrderOriginal, EditingStatus as EditingStatusOriginal, type EditingStatusWithLiterals as EditingStatusWithLiteralsOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReceipt as ExternalReceiptOriginal, type FieldViolation as FieldViolationOriginal, FileType as FileTypeOriginal, type FileTypeWithLiterals as FileTypeWithLiteralsOriginal, type FocalPoint as FocalPointOriginal, type FormIdentifier as FormIdentifierOriginal, type FormInfo as FormInfoOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, FulfillmentStatus as FulfillmentStatusOriginal, type FulfillmentStatusWithLiterals as FulfillmentStatusWithLiteralsOriginal, type FulfillmentStatusesAggregate as FulfillmentStatusesAggregateOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetDraftOrderApplicationErrors as GetDraftOrderApplicationErrorsOriginal, type GetDraftOrderRequest as GetDraftOrderRequestOriginal, type GetDraftOrderResponse as GetDraftOrderResponseOriginal, type GetOrderDraftabilityStatusRequest as GetOrderDraftabilityStatusRequestOriginal, type GetOrderDraftabilityStatusResponse as GetOrderDraftabilityStatusResponseOriginal, type GiftCardPaymentRefund as GiftCardPaymentRefundOriginal, type IdAndApplied as IdAndAppliedOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type InventoryUpdate as InventoryUpdateOriginal, type ItemChangedDetails as ItemChangedDetailsOriginal, type ItemChangedImplicitlyDetails as ItemChangedImplicitlyDetailsOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemDetailsChangeTypeOneOf as ItemDetailsChangeTypeOneOfOriginal, type ItemDetails as ItemDetailsOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, type ItemType as ItemTypeOriginal, ItemTypePreset as ItemTypePresetOriginal, type ItemTypePresetWithLiterals as ItemTypePresetWithLiteralsOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LineItemAmount as LineItemAmountOriginal, type LineItemChangeDetails as LineItemChangeDetailsOriginal, type LineItemChanges as LineItemChangesOriginal, type LineItemDescriptionLineChange as LineItemDescriptionLineChangeOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItemExchangeData as LineItemExchangeDataOriginal, type LineItemModifiersChange as LineItemModifiersChangeOriginal, type LineItemPriceChange as LineItemPriceChangeOriginal, type LineItemProductNameChange as LineItemProductNameChangeOriginal, type LineItemQuantityChange as LineItemQuantityChangeOriginal, LineItemQuantityChangeType as LineItemQuantityChangeTypeOriginal, type LineItemQuantityChangeTypeWithLiterals as LineItemQuantityChangeTypeWithLiteralsOriginal, type LineItemTaxBreakdown as LineItemTaxBreakdownOriginal, type LineItemTaxInfo as LineItemTaxInfoOriginal, type LocationAndQuantity as LocationAndQuantityOriginal, type Location as LocationOriginal, type ManagedAdditionalFee as ManagedAdditionalFeeOriginal, type ManagedDiscount as ManagedDiscountOriginal, type ManagedLineItem as ManagedLineItemOriginal, MeasurementUnit as MeasurementUnitOriginal, type MeasurementUnitWithLiterals as MeasurementUnitWithLiteralsOriginal, type MembershipPaymentRefund as MembershipPaymentRefundOriginal, type MerchantComment as MerchantCommentOriginal, type MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOfOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type ModifiersGroupsOverride as ModifiersGroupsOverrideOriginal, type NewExchangeOrderCreated as NewExchangeOrderCreatedOriginal, NonDraftableReason as NonDraftableReasonOriginal, type NonDraftableReasonWithLiterals as NonDraftableReasonWithLiteralsOriginal, OrderActionType as OrderActionTypeOriginal, type OrderActionTypeWithLiterals as OrderActionTypeWithLiteralsOriginal, OrderActivityTypeEnumActivityType as OrderActivityTypeEnumActivityTypeOriginal, type OrderActivityTypeEnumActivityTypeWithLiterals as OrderActivityTypeEnumActivityTypeWithLiteralsOriginal, type OrderChange as OrderChangeOriginal, type OrderChangeValueOneOf as OrderChangeValueOneOfOriginal, type OrderCreateNotifications as OrderCreateNotificationsOriginal, type OrderCreateSettingsEditableByOneOf as OrderCreateSettingsEditableByOneOfOriginal, type OrderCreateSettings as OrderCreateSettingsOriginal, type OrderCreatedFromExchange as OrderCreatedFromExchangeOriginal, type OrderLineItem as OrderLineItemOriginal, type Order as OrderOriginal, type OrderRefunded as OrderRefundedOriginal, type OrderSettingsAllowedActionsOneOf as OrderSettingsAllowedActionsOneOfOriginal, type OrderSettingsEditableByOneOf as OrderSettingsEditableByOneOfOriginal, type OrderSettings as OrderSettingsOriginal, OrderStatus as OrderStatusOriginal, type OrderStatusWithLiterals as OrderStatusWithLiteralsOriginal, type OrderTaxBreakdown as OrderTaxBreakdownOriginal, type OrderTaxInfo as OrderTaxInfoOriginal, type OwnerApps as OwnerAppsOriginal, type PageUrlV2 as PageUrlV2Original, type PaymentCanceled as PaymentCanceledOriginal, type PaymentCanceledPaymentDetailsOneOf as PaymentCanceledPaymentDetailsOneOfOriginal, type PaymentDeclined as PaymentDeclinedOriginal, type PaymentDeclinedPaymentDetailsOneOf as PaymentDeclinedPaymentDetailsOneOfOriginal, type PaymentOptionOverride as PaymentOptionOverrideOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PaymentPending as PaymentPendingOriginal, type PaymentPendingPaymentDetailsOneOf as PaymentPendingPaymentDetailsOneOfOriginal, type PaymentRefundFailed as PaymentRefundFailedOriginal, type PaymentRefunded as PaymentRefundedOriginal, PaymentStatus as PaymentStatusOriginal, type PaymentStatusWithLiterals as PaymentStatusWithLiteralsOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupAddress as PickupAddressOriginal, type PickupDetails as PickupDetailsOriginal, PickupDetailsPickupMethod as PickupDetailsPickupMethodOriginal, type PickupDetailsPickupMethodWithLiterals as PickupDetailsPickupMethodWithLiteralsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, type PlatformFee as PlatformFeeOriginal, type PlatformFeeSummary as PlatformFeeSummaryOriginal, type PriceDescription as PriceDescriptionOriginal, type Price as PriceOriginal, type PriceSummary as PriceSummaryOriginal, type ProductName as ProductNameOriginal, ProductPeriodAlignment as ProductPeriodAlignmentOriginal, type ProductPeriodAlignmentWithLiterals as ProductPeriodAlignmentWithLiteralsOriginal, type QueryDraftOrdersRequest as QueryDraftOrdersRequestOriginal, type QueryDraftOrdersResponse as QueryDraftOrdersResponseOriginal, type ReceiptCreated as ReceiptCreatedOriginal, type ReceiptCreatedReceiptInfoOneOf as ReceiptCreatedReceiptInfoOneOfOriginal, type ReceiptSent as ReceiptSentOriginal, type ReceiptSentReceiptInfoOneOf as ReceiptSentReceiptInfoOneOfOriginal, type RecipientInfoChangedDetails as RecipientInfoChangedDetailsOriginal, type RecipientInfoDetailsChangeTypeOneOf as RecipientInfoDetailsChangeTypeOneOfOriginal, type RecipientInfoDetails as RecipientInfoDetailsOriginal, type RefundInitiated as RefundInitiatedOriginal, type RefundedAsStoreCredit as RefundedAsStoreCreditOriginal, type RefundedPaymentKindOneOf as RefundedPaymentKindOneOfOriginal, type RefundedPayment as RefundedPaymentOriginal, type RegularPayment as RegularPaymentOriginal, type RegularPaymentPaymentMethodDetailsOneOf as RegularPaymentPaymentMethodDetailsOneOfOriginal, type RegularPaymentRefund as RegularPaymentRefundOriginal, type RestockLocation as RestockLocationOriginal, type RestoreInfo as RestoreInfoOriginal, RuleType as RuleTypeOriginal, type RuleTypeWithLiterals as RuleTypeWithLiteralsOriginal, type SavedPaymentMethod as SavedPaymentMethodOriginal, type SecuredMedia as SecuredMediaOriginal, type SetAdditionalFeesApplicationErrors as SetAdditionalFeesApplicationErrorsOriginal, type SetAdditionalFeesRequest as SetAdditionalFeesRequestOriginal, type SetAdditionalFeesResponse as SetAdditionalFeesResponseOriginal, type SetBillingInfoApplicationErrors as SetBillingInfoApplicationErrorsOriginal, type SetBillingInfoRequest as SetBillingInfoRequestOriginal, type SetBillingInfoResponse as SetBillingInfoResponseOriginal, type SetBusinessLocationApplicationErrors as SetBusinessLocationApplicationErrorsOriginal, type SetBusinessLocationRequest as SetBusinessLocationRequestOriginal, type SetBusinessLocationResponse as SetBusinessLocationResponseOriginal, type SetBuyerInfoApplicationErrors as SetBuyerInfoApplicationErrorsOriginal, type SetBuyerInfoRequest as SetBuyerInfoRequestOriginal, type SetBuyerInfoResponse as SetBuyerInfoResponseOriginal, type SetDepositApplicationErrors as SetDepositApplicationErrorsOriginal, type SetDepositRequest as SetDepositRequestOriginal, type SetDepositResponse as SetDepositResponseOriginal, type SetDiscountsApplicationErrors as SetDiscountsApplicationErrorsOriginal, type SetDiscountsRequest as SetDiscountsRequestOriginal, type SetDiscountsResponse as SetDiscountsResponseOriginal, type SetRecipientInfoApplicationErrors as SetRecipientInfoApplicationErrorsOriginal, type SetRecipientInfoRequest as SetRecipientInfoRequestOriginal, type SetRecipientInfoResponse as SetRecipientInfoResponseOriginal, type SetShippingInfoApplicationErrors as SetShippingInfoApplicationErrorsOriginal, type SetShippingInfoRequest as SetShippingInfoRequestOriginal, type SetShippingInfoResponse as SetShippingInfoResponseOriginal, type SetTaxExemptionApplicationErrors as SetTaxExemptionApplicationErrorsOriginal, type SetTaxExemptionRequest as SetTaxExemptionRequestOriginal, type SetTaxExemptionResponse as SetTaxExemptionResponseOriginal, type ShippingChangedDetails as ShippingChangedDetailsOriginal, type ShippingDetailsChangeTypeOneOf as ShippingDetailsChangeTypeOneOfOriginal, type ShippingDetails as ShippingDetailsOriginal, type ShippingInformationChange as ShippingInformationChangeOriginal, type ShippingInformation as ShippingInformationOriginal, type ShippingOption as ShippingOptionOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, SourceType as SourceTypeOriginal, type SourceTypeWithLiterals as SourceTypeWithLiteralsOriginal, SpecificItemsCouponBehavior as SpecificItemsCouponBehaviorOriginal, type SpecificItemsCouponBehaviorWithLiterals as SpecificItemsCouponBehaviorWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type SubscriptionDescription as SubscriptionDescriptionOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionInfo as SubscriptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, type SubscriptionTitle as SubscriptionTitleOriginal, type SystemError as SystemErrorOriginal, type TagList as TagListOriginal, type Tags as TagsOriginal, type TaxDetails as TaxDetailsOriginal, type TaxSummary as TaxSummaryOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type TotalPriceChange as TotalPriceChangeOriginal, type TranslatableString as TranslatableStringOriginal, type TranslatedValue as TranslatedValueOriginal, type UpdateExtendedFieldsApplicationErrors as UpdateExtendedFieldsApplicationErrorsOriginal, type UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal, type UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal, type UpdateLineItemsApplicationErrors as UpdateLineItemsApplicationErrorsOriginal, type UpdateLineItemsRequest as UpdateLineItemsRequestOriginal, type UpdateLineItemsResponse as UpdateLineItemsResponseOriginal, type UpdateShippingInfoRequest as UpdateShippingInfoRequestOriginal, type UpdateShippingInfoResponse as UpdateShippingInfoResponseOriginal, type V1BalanceSummary as V1BalanceSummaryOriginal, type V1CreatedBy as V1CreatedByOriginal, type V1CreatedByStringOneOf as V1CreatedByStringOneOfOriginal, type V1DeliveryLogisticsAddressOneOf as V1DeliveryLogisticsAddressOneOfOriginal, type V1DeliveryLogistics as V1DeliveryLogisticsOriginal, type V1DeliveryTimeSlot as V1DeliveryTimeSlotOriginal, V1OrderStatus as V1OrderStatusOriginal, type V1OrderStatusWithLiterals as V1OrderStatusWithLiteralsOriginal, type V1PickupDetails as V1PickupDetailsOriginal, type V1ShippingInformation as V1ShippingInformationOriginal, type V1ShippingPrice as V1ShippingPriceOriginal, type ValidationError as ValidationErrorOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type WixReceipt as WixReceiptOriginal, type __PublicMethodMetaInfo, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDeposit, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, updateExtendedFields, updateLineItems };
6329
+ export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type ActivityContentOneOf as ActivityContentOneOfOriginal, type Activity as ActivityOriginal, ActivityType as ActivityTypeOriginal, type ActivityTypeWithLiterals as ActivityTypeWithLiteralsOriginal, type AddLineItemsToDraftOrderApplicationErrors as AddLineItemsToDraftOrderApplicationErrorsOriginal, type AddLineItemsToDraftOrderRequest as AddLineItemsToDraftOrderRequestOriginal, type AddLineItemsToDraftOrderResponse as AddLineItemsToDraftOrderResponseOriginal, type AdditionalFeeDetails as AdditionalFeeDetailsOriginal, type AdditionalFeeOption as AdditionalFeeOptionOriginal, type AdditionalFee as AdditionalFeeOriginal, AdditionalFeeSource as AdditionalFeeSourceOriginal, type AdditionalFeeSourceWithLiterals as AdditionalFeeSourceWithLiteralsOriginal, type AddressLocation as AddressLocationOriginal, type Address as AddressOriginal, type AddressWithContact as AddressWithContactOriginal, AdjustmentType as AdjustmentTypeOriginal, type AdjustmentTypeWithLiterals as AdjustmentTypeWithLiteralsOriginal, type ApplicationError as ApplicationErrorOriginal, type AppliedDiscountDiscountSourceOneOf as AppliedDiscountDiscountSourceOneOfOriginal, AppliedDiscountDiscountType as AppliedDiscountDiscountTypeOriginal, type AppliedDiscountDiscountTypeWithLiterals as AppliedDiscountDiscountTypeWithLiteralsOriginal, type AppliedDiscount as AppliedDiscountOriginal, AttributionSource as AttributionSourceOriginal, type AttributionSourceWithLiterals as AttributionSourceWithLiteralsOriginal, type AuthorizedPaymentCaptured as AuthorizedPaymentCapturedOriginal, type AuthorizedPaymentCreated as AuthorizedPaymentCreatedOriginal, type AuthorizedPaymentVoided as AuthorizedPaymentVoidedOriginal, type Balance as BalanceOriginal, type BalanceSummary as BalanceSummaryOriginal, type BillingAdjustment as BillingAdjustmentOriginal, type BillingAdjustmentPriceSummary as BillingAdjustmentPriceSummaryOriginal, type BillingChangedDetails as BillingChangedDetailsOriginal, type BillingDetailsChangeTypeOneOf as BillingDetailsChangeTypeOneOfOriginal, type BillingDetails as BillingDetailsOriginal, type BillingSettings as BillingSettingsOriginal, type BusinessLocationChangedDetails as BusinessLocationChangedDetailsOriginal, type BusinessLocationDetailsChangeTypeOneOf as BusinessLocationDetailsChangeTypeOneOfOriginal, type BusinessLocationDetails as BusinessLocationDetailsOriginal, type BuyerChangedDetails as BuyerChangedDetailsOriginal, type BuyerDetailsChangeTypeOneOf as BuyerDetailsChangeTypeOneOfOriginal, type BuyerDetails as BuyerDetailsOriginal, type BuyerInfoIdOneOf as BuyerInfoIdOneOfOriginal, type BuyerInfo as BuyerInfoOriginal, type CalculatedDraftOrder as CalculatedDraftOrderOriginal, type CalculationErrors as CalculationErrorsOriginal, type CalculationErrorsShippingCalculationErrorOneOf as CalculationErrorsShippingCalculationErrorOneOfOriginal, type CarrierError as CarrierErrorOriginal, type CarrierErrors as CarrierErrorsOriginal, type CashRounding as CashRoundingOriginal, type CatalogReferenceLineItem as CatalogReferenceLineItemOriginal, type CatalogReference as CatalogReferenceOriginal, type ChannelInfo as ChannelInfoOriginal, ChannelType as ChannelTypeOriginal, type ChannelTypeWithLiterals as ChannelTypeWithLiteralsOriginal, ChargeType as ChargeTypeOriginal, type ChargeTypeWithLiterals as ChargeTypeWithLiteralsOriginal, type ChargebackCreated as ChargebackCreatedOriginal, type ChargebackReversed as ChargebackReversedOriginal, type Color as ColorOriginal, type CommitDraftOrderApplicationErrors as CommitDraftOrderApplicationErrorsOriginal, type CommitDraftOrderRequest as CommitDraftOrderRequestOriginal, type CommitDraftOrderResponse as CommitDraftOrderResponseOriginal, type Coupon as CouponOriginal, type CreateCustomAdditionalFeesApplicationErrors as CreateCustomAdditionalFeesApplicationErrorsOriginal, type CreateCustomAdditionalFeesRequest as CreateCustomAdditionalFeesRequestOriginal, type CreateCustomAdditionalFeesResponse as CreateCustomAdditionalFeesResponseOriginal, type CreateCustomDiscountsApplicationErrors as CreateCustomDiscountsApplicationErrorsOriginal, type CreateCustomDiscountsRequest as CreateCustomDiscountsRequestOriginal, type CreateCustomDiscountsResponse as CreateCustomDiscountsResponseOriginal, type CreateDraftOrderApplicationErrors as CreateDraftOrderApplicationErrorsOriginal, type CreateDraftOrderRequest as CreateDraftOrderRequestOriginal, type CreateDraftOrderRequestSourceOneOf as CreateDraftOrderRequestSourceOneOfOriginal, type CreateDraftOrderResponse as CreateDraftOrderResponseOriginal, type CreateEmptyDraftOrderApplicationErrors as CreateEmptyDraftOrderApplicationErrorsOriginal, type CreateEmptyDraftOrderRequest as CreateEmptyDraftOrderRequestOriginal, type CreateEmptyDraftOrderResponse as CreateEmptyDraftOrderResponseOriginal, type CreateOrderFromDraftApplicationErrors as CreateOrderFromDraftApplicationErrorsOriginal, type CreateOrderFromDraftRequest as CreateOrderFromDraftRequestOriginal, type CreateOrderFromDraftResponse as CreateOrderFromDraftResponseOriginal, type CreatedBy as CreatedByOriginal, type CreatedByStringOneOf as CreatedByStringOneOfOriginal, type CreditCardDetails as CreditCardDetailsOriginal, type CurrencyConversionDetails as CurrencyConversionDetailsOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomActivity as CustomActivityOriginal, type CustomAllowedActions as CustomAllowedActionsOriginal, type CustomField as CustomFieldOriginal, type CustomLineItem as CustomLineItemOriginal, type DecimalQuantity as DecimalQuantityOriginal, type DecimalQuantityOverride as DecimalQuantityOverrideOriginal, type DecimalQuantityUnitOneOf as DecimalQuantityUnitOneOfOriginal, type DeleteCustomAdditionalFeesApplicationErrors as DeleteCustomAdditionalFeesApplicationErrorsOriginal, type DeleteCustomAdditionalFeesRequest as DeleteCustomAdditionalFeesRequestOriginal, type DeleteCustomAdditionalFeesResponse as DeleteCustomAdditionalFeesResponseOriginal, type DeleteCustomDiscountsApplicationErrors as DeleteCustomDiscountsApplicationErrorsOriginal, type DeleteCustomDiscountsRequest as DeleteCustomDiscountsRequestOriginal, type DeleteCustomDiscountsResponse as DeleteCustomDiscountsResponseOriginal, type DeleteDraftOrderApplicationErrors as DeleteDraftOrderApplicationErrorsOriginal, type DeleteDraftOrderRequest as DeleteDraftOrderRequestOriginal, type DeleteDraftOrderResponse as DeleteDraftOrderResponseOriginal, type DeliveryLogistics as DeliveryLogisticsOriginal, type DeliveryTimeSlot as DeliveryTimeSlotOriginal, type DepositDetailsDepositOneOf as DepositDetailsDepositOneOfOriginal, type DepositDetails as DepositDetailsOriginal, type DescriptionLineDescriptionLineValueOneOf as DescriptionLineDescriptionLineValueOneOfOriginal, type DescriptionLineName as DescriptionLineNameOriginal, type DescriptionLine as DescriptionLineOriginal, DescriptionLineType as DescriptionLineTypeOriginal, type DescriptionLineTypeWithLiterals as DescriptionLineTypeWithLiteralsOriginal, type DescriptionLineValueOneOf as DescriptionLineValueOneOfOriginal, type DescriptionLinesOverride as DescriptionLinesOverrideOriginal, type DetailsKindOneOf as DetailsKindOneOfOriginal, type Details as DetailsOriginal, type DigitalFile as DigitalFileOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, type DiscountDetails as DiscountDetailsOriginal, type DiscountOptionDiscountAmountOneOf as DiscountOptionDiscountAmountOneOfOriginal, type DiscountOption as DiscountOptionOriginal, DiscountReason as DiscountReasonOriginal, type DiscountReasonWithLiterals as DiscountReasonWithLiteralsOriginal, type DiscountRuleName as DiscountRuleNameOriginal, type DiscountRule as DiscountRuleOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DraftOrderChangesApplied as DraftOrderChangesAppliedOriginal, type DraftOrderCommitSettings as DraftOrderCommitSettingsOriginal, type DraftOrderInput as DraftOrderInputOriginal, type DraftOrder as DraftOrderOriginal, EditingStatus as EditingStatusOriginal, type EditingStatusWithLiterals as EditingStatusWithLiteralsOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type ExternalReceipt as ExternalReceiptOriginal, type FieldViolation as FieldViolationOriginal, FileType as FileTypeOriginal, type FileTypeWithLiterals as FileTypeWithLiteralsOriginal, type FocalPoint as FocalPointOriginal, type FormIdentifier as FormIdentifierOriginal, type FormInfo as FormInfoOriginal, type FreeTrialPeriod as FreeTrialPeriodOriginal, FulfillmentStatus as FulfillmentStatusOriginal, type FulfillmentStatusWithLiterals as FulfillmentStatusWithLiteralsOriginal, type FulfillmentStatusesAggregate as FulfillmentStatusesAggregateOriginal, type FullAddressContactDetails as FullAddressContactDetailsOriginal, type GetDraftOrderApplicationErrors as GetDraftOrderApplicationErrorsOriginal, type GetDraftOrderRequest as GetDraftOrderRequestOriginal, type GetDraftOrderResponse as GetDraftOrderResponseOriginal, type GetOrderDraftabilityStatusRequest as GetOrderDraftabilityStatusRequestOriginal, type GetOrderDraftabilityStatusResponse as GetOrderDraftabilityStatusResponseOriginal, type GiftCardPaymentRefund as GiftCardPaymentRefundOriginal, type IdAndApplied as IdAndAppliedOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, type InventoryUpdate as InventoryUpdateOriginal, type ItemChangedDetails as ItemChangedDetailsOriginal, type ItemChangedImplicitlyDetails as ItemChangedImplicitlyDetailsOriginal, type ItemCombinationLineItem as ItemCombinationLineItemOriginal, type ItemCombination as ItemCombinationOriginal, type ItemDetailsChangeTypeOneOf as ItemDetailsChangeTypeOneOfOriginal, type ItemDetails as ItemDetailsOriginal, type ItemModifier as ItemModifierOriginal, type ItemTaxFullDetails as ItemTaxFullDetailsOriginal, type ItemTypeItemTypeDataOneOf as ItemTypeItemTypeDataOneOfOriginal, type ItemType as ItemTypeOriginal, ItemTypePreset as ItemTypePresetOriginal, type ItemTypePresetWithLiterals as ItemTypePresetWithLiteralsOriginal, JurisdictionType as JurisdictionTypeOriginal, type JurisdictionTypeWithLiterals as JurisdictionTypeWithLiteralsOriginal, type LineItemAmount as LineItemAmountOriginal, type LineItemChangeDetails as LineItemChangeDetailsOriginal, type LineItemChanges as LineItemChangesOriginal, type LineItemDescriptionLineChange as LineItemDescriptionLineChangeOriginal, type LineItemDiscount as LineItemDiscountOriginal, type LineItemExchangeData as LineItemExchangeDataOriginal, type LineItemModifiersChange as LineItemModifiersChangeOriginal, type LineItemPriceChange as LineItemPriceChangeOriginal, type LineItemProductNameChange as LineItemProductNameChangeOriginal, type LineItemQuantityChange as LineItemQuantityChangeOriginal, LineItemQuantityChangeType as LineItemQuantityChangeTypeOriginal, type LineItemQuantityChangeTypeWithLiterals as LineItemQuantityChangeTypeWithLiteralsOriginal, type LineItemTaxBreakdown as LineItemTaxBreakdownOriginal, type LineItemTaxInfo as LineItemTaxInfoOriginal, type LocationAndQuantity as LocationAndQuantityOriginal, type Location as LocationOriginal, type ManagedAdditionalFee as ManagedAdditionalFeeOriginal, type ManagedDiscount as ManagedDiscountOriginal, type ManagedLineItem as ManagedLineItemOriginal, MeasurementUnit as MeasurementUnitOriginal, type MeasurementUnitWithLiterals as MeasurementUnitWithLiteralsOriginal, type MembershipPaymentRefund as MembershipPaymentRefundOriginal, type MerchantComment as MerchantCommentOriginal, type MerchantDiscountMerchantDiscountReasonOneOf as MerchantDiscountMerchantDiscountReasonOneOfOriginal, type MerchantDiscount as MerchantDiscountOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type ModifierGroup as ModifierGroupOriginal, type ModifiersGroupsOverride as ModifiersGroupsOverrideOriginal, type NewExchangeOrderCreated as NewExchangeOrderCreatedOriginal, NonDraftableReason as NonDraftableReasonOriginal, type NonDraftableReasonWithLiterals as NonDraftableReasonWithLiteralsOriginal, OrderActionType as OrderActionTypeOriginal, type OrderActionTypeWithLiterals as OrderActionTypeWithLiteralsOriginal, OrderActivityTypeEnumActivityType as OrderActivityTypeEnumActivityTypeOriginal, type OrderActivityTypeEnumActivityTypeWithLiterals as OrderActivityTypeEnumActivityTypeWithLiteralsOriginal, type OrderChange as OrderChangeOriginal, type OrderChangeValueOneOf as OrderChangeValueOneOfOriginal, type OrderCreateNotifications as OrderCreateNotificationsOriginal, type OrderCreateSettingsEditableByOneOf as OrderCreateSettingsEditableByOneOfOriginal, type OrderCreateSettings as OrderCreateSettingsOriginal, type OrderCreatedFromExchange as OrderCreatedFromExchangeOriginal, type OrderLineItem as OrderLineItemOriginal, type Order as OrderOriginal, type OrderRefunded as OrderRefundedOriginal, type OrderSettingsAllowedActionsOneOf as OrderSettingsAllowedActionsOneOfOriginal, type OrderSettingsEditableByOneOf as OrderSettingsEditableByOneOfOriginal, type OrderSettings as OrderSettingsOriginal, OrderStatus as OrderStatusOriginal, type OrderStatusWithLiterals as OrderStatusWithLiteralsOriginal, type OrderTaxBreakdown as OrderTaxBreakdownOriginal, type OrderTaxInfo as OrderTaxInfoOriginal, type OwnerApps as OwnerAppsOriginal, type PageUrlV2 as PageUrlV2Original, type PaymentCanceled as PaymentCanceledOriginal, type PaymentCanceledPaymentDetailsOneOf as PaymentCanceledPaymentDetailsOneOfOriginal, type PaymentDeclined as PaymentDeclinedOriginal, type PaymentDeclinedPaymentDetailsOneOf as PaymentDeclinedPaymentDetailsOneOfOriginal, type PaymentOptionOverride as PaymentOptionOverrideOriginal, PaymentOptionType as PaymentOptionTypeOriginal, type PaymentOptionTypeWithLiterals as PaymentOptionTypeWithLiteralsOriginal, type PaymentPending as PaymentPendingOriginal, type PaymentPendingPaymentDetailsOneOf as PaymentPendingPaymentDetailsOneOfOriginal, type PaymentRefundFailed as PaymentRefundFailedOriginal, type PaymentRefunded as PaymentRefundedOriginal, PaymentStatus as PaymentStatusOriginal, type PaymentStatusWithLiterals as PaymentStatusWithLiteralsOriginal, type PhysicalProperties as PhysicalPropertiesOriginal, type PickupAddress as PickupAddressOriginal, type PickupDetails as PickupDetailsOriginal, PickupDetailsPickupMethod as PickupDetailsPickupMethodOriginal, type PickupDetailsPickupMethodWithLiterals as PickupDetailsPickupMethodWithLiteralsOriginal, PickupMethod as PickupMethodOriginal, type PickupMethodWithLiterals as PickupMethodWithLiteralsOriginal, type PlainTextValue as PlainTextValueOriginal, type PlatformFee as PlatformFeeOriginal, type PlatformFeeSummary as PlatformFeeSummaryOriginal, type PriceDescription as PriceDescriptionOriginal, type Price as PriceOriginal, type PriceSummary as PriceSummaryOriginal, type ProductName as ProductNameOriginal, ProductPeriodAlignment as ProductPeriodAlignmentOriginal, type ProductPeriodAlignmentWithLiterals as ProductPeriodAlignmentWithLiteralsOriginal, type QueryDraftOrdersRequest as QueryDraftOrdersRequestOriginal, type QueryDraftOrdersResponse as QueryDraftOrdersResponseOriginal, type ReceiptCreated as ReceiptCreatedOriginal, type ReceiptCreatedReceiptInfoOneOf as ReceiptCreatedReceiptInfoOneOfOriginal, type ReceiptSent as ReceiptSentOriginal, type ReceiptSentReceiptInfoOneOf as ReceiptSentReceiptInfoOneOfOriginal, type RecipientInfoChangedDetails as RecipientInfoChangedDetailsOriginal, type RecipientInfoDetailsChangeTypeOneOf as RecipientInfoDetailsChangeTypeOneOfOriginal, type RecipientInfoDetails as RecipientInfoDetailsOriginal, type RefundInitiated as RefundInitiatedOriginal, type RefundedAsStoreCredit as RefundedAsStoreCreditOriginal, type RefundedPaymentKindOneOf as RefundedPaymentKindOneOfOriginal, type RefundedPayment as RefundedPaymentOriginal, type RegularPayment as RegularPaymentOriginal, type RegularPaymentPaymentMethodDetailsOneOf as RegularPaymentPaymentMethodDetailsOneOfOriginal, type RegularPaymentRefund as RegularPaymentRefundOriginal, type RestockLocation as RestockLocationOriginal, type RestoreInfo as RestoreInfoOriginal, RuleType as RuleTypeOriginal, type RuleTypeWithLiterals as RuleTypeWithLiteralsOriginal, type SavedPaymentMethod as SavedPaymentMethodOriginal, type SecuredMedia as SecuredMediaOriginal, type ServiceProperties as ServicePropertiesOriginal, type SetAdditionalFeesApplicationErrors as SetAdditionalFeesApplicationErrorsOriginal, type SetAdditionalFeesRequest as SetAdditionalFeesRequestOriginal, type SetAdditionalFeesResponse as SetAdditionalFeesResponseOriginal, type SetBillingInfoApplicationErrors as SetBillingInfoApplicationErrorsOriginal, type SetBillingInfoRequest as SetBillingInfoRequestOriginal, type SetBillingInfoResponse as SetBillingInfoResponseOriginal, type SetBusinessLocationApplicationErrors as SetBusinessLocationApplicationErrorsOriginal, type SetBusinessLocationRequest as SetBusinessLocationRequestOriginal, type SetBusinessLocationResponse as SetBusinessLocationResponseOriginal, type SetBuyerInfoApplicationErrors as SetBuyerInfoApplicationErrorsOriginal, type SetBuyerInfoRequest as SetBuyerInfoRequestOriginal, type SetBuyerInfoResponse as SetBuyerInfoResponseOriginal, type SetDepositApplicationErrors as SetDepositApplicationErrorsOriginal, type SetDepositRequest as SetDepositRequestOriginal, type SetDepositResponse as SetDepositResponseOriginal, type SetDiscountsApplicationErrors as SetDiscountsApplicationErrorsOriginal, type SetDiscountsRequest as SetDiscountsRequestOriginal, type SetDiscountsResponse as SetDiscountsResponseOriginal, type SetRecipientInfoApplicationErrors as SetRecipientInfoApplicationErrorsOriginal, type SetRecipientInfoRequest as SetRecipientInfoRequestOriginal, type SetRecipientInfoResponse as SetRecipientInfoResponseOriginal, type SetShippingInfoApplicationErrors as SetShippingInfoApplicationErrorsOriginal, type SetShippingInfoRequest as SetShippingInfoRequestOriginal, type SetShippingInfoResponse as SetShippingInfoResponseOriginal, type SetTaxExemptionApplicationErrors as SetTaxExemptionApplicationErrorsOriginal, type SetTaxExemptionRequest as SetTaxExemptionRequestOriginal, type SetTaxExemptionResponse as SetTaxExemptionResponseOriginal, type ShippingChangedDetails as ShippingChangedDetailsOriginal, type ShippingDetailsChangeTypeOneOf as ShippingDetailsChangeTypeOneOfOriginal, type ShippingDetails as ShippingDetailsOriginal, type ShippingInformationChange as ShippingInformationChangeOriginal, type ShippingInformation as ShippingInformationOriginal, type ShippingOption as ShippingOptionOriginal, type ShippingPrice as ShippingPriceOriginal, type ShippingRegion as ShippingRegionOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, SourceType as SourceTypeOriginal, type SourceTypeWithLiterals as SourceTypeWithLiteralsOriginal, SpecificItemsCouponBehavior as SpecificItemsCouponBehaviorOriginal, type SpecificItemsCouponBehaviorWithLiterals as SpecificItemsCouponBehaviorWithLiteralsOriginal, type StreetAddress as StreetAddressOriginal, type SubscriptionDescription as SubscriptionDescriptionOriginal, SubscriptionFrequency as SubscriptionFrequencyOriginal, type SubscriptionFrequencyWithLiterals as SubscriptionFrequencyWithLiteralsOriginal, type SubscriptionInfo as SubscriptionInfoOriginal, type SubscriptionSettings as SubscriptionSettingsOriginal, type SubscriptionTitle as SubscriptionTitleOriginal, type SystemError as SystemErrorOriginal, type TagList as TagListOriginal, type Tags as TagsOriginal, type TaxDetails as TaxDetailsOriginal, type TaxSummary as TaxSummaryOriginal, type TaxableAddress as TaxableAddressOriginal, type TaxableAddressTaxableAddressDataOneOf as TaxableAddressTaxableAddressDataOneOfOriginal, TaxableAddressType as TaxableAddressTypeOriginal, type TaxableAddressTypeWithLiterals as TaxableAddressTypeWithLiteralsOriginal, type TotalPriceChange as TotalPriceChangeOriginal, type TranslatableString as TranslatableStringOriginal, type TranslatedValue as TranslatedValueOriginal, type UpdateExtendedFieldsApplicationErrors as UpdateExtendedFieldsApplicationErrorsOriginal, type UpdateExtendedFieldsRequest as UpdateExtendedFieldsRequestOriginal, type UpdateExtendedFieldsResponse as UpdateExtendedFieldsResponseOriginal, type UpdateLineItemsApplicationErrors as UpdateLineItemsApplicationErrorsOriginal, type UpdateLineItemsRequest as UpdateLineItemsRequestOriginal, type UpdateLineItemsResponse as UpdateLineItemsResponseOriginal, type UpdateShippingInfoRequest as UpdateShippingInfoRequestOriginal, type UpdateShippingInfoResponse as UpdateShippingInfoResponseOriginal, type V1BalanceSummary as V1BalanceSummaryOriginal, type V1CreatedBy as V1CreatedByOriginal, type V1CreatedByStringOneOf as V1CreatedByStringOneOfOriginal, type V1DeliveryLogisticsAddressOneOf as V1DeliveryLogisticsAddressOneOfOriginal, type V1DeliveryLogistics as V1DeliveryLogisticsOriginal, type V1DeliveryTimeSlot as V1DeliveryTimeSlotOriginal, V1OrderStatus as V1OrderStatusOriginal, type V1OrderStatusWithLiterals as V1OrderStatusWithLiteralsOriginal, type V1PickupDetails as V1PickupDetailsOriginal, type V1ShippingInformation as V1ShippingInformationOriginal, type V1ShippingPrice as V1ShippingPriceOriginal, type ValidationError as ValidationErrorOriginal, type VatId as VatIdOriginal, VatType as VatTypeOriginal, type VatTypeWithLiterals as VatTypeWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, WeightUnit as WeightUnitOriginal, type WeightUnitWithLiterals as WeightUnitWithLiteralsOriginal, type WixReceipt as WixReceiptOriginal, type __PublicMethodMetaInfo, addLineItemsToDraftOrder, commitDraftOrder, createCustomAdditionalFees, createCustomDiscounts, createDraftOrder, createEmptyDraftOrder, createOrderFromDraft, deleteCustomAdditionalFees, deleteCustomDiscounts, deleteDraftOrder, getDraftOrder, getOrderDraftabilityStatus, queryDraftOrders, setAdditionalFees, setBillingInfo, setBusinessLocation, setBuyerInfo, setDeposit, setDiscounts, setRecipientInfo, setShippingInfo, setTaxExemption, updateExtendedFields, updateLineItems };