@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
@@ -114,6 +114,12 @@ function createDraftOrder(payload) {
114
114
  {
115
115
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
116
116
  },
117
+ {
118
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
119
+ },
120
+ {
121
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
122
+ },
117
123
  {
118
124
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
119
125
  },
@@ -251,6 +257,12 @@ function createEmptyDraftOrder(payload) {
251
257
  {
252
258
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
253
259
  },
260
+ {
261
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
262
+ },
263
+ {
264
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
265
+ },
254
266
  {
255
267
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
256
268
  },
@@ -406,6 +418,12 @@ function addLineItemsToDraftOrder(payload) {
406
418
  {
407
419
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
408
420
  },
421
+ {
422
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
423
+ },
424
+ {
425
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
426
+ },
409
427
  {
410
428
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
411
429
  },
@@ -549,6 +567,12 @@ function updateLineItems(payload) {
549
567
  {
550
568
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
551
569
  },
570
+ {
571
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
572
+ },
573
+ {
574
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
575
+ },
552
576
  {
553
577
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
554
578
  },
@@ -686,6 +710,12 @@ function setDeposit(payload) {
686
710
  {
687
711
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
688
712
  },
713
+ {
714
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
715
+ },
716
+ {
717
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
718
+ },
689
719
  {
690
720
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
691
721
  },
@@ -823,6 +853,12 @@ function setDiscounts(payload) {
823
853
  {
824
854
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
825
855
  },
856
+ {
857
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
858
+ },
859
+ {
860
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
861
+ },
826
862
  {
827
863
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
828
864
  },
@@ -960,6 +996,12 @@ function createCustomDiscounts(payload) {
960
996
  {
961
997
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
962
998
  },
999
+ {
1000
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1001
+ },
1002
+ {
1003
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1004
+ },
963
1005
  {
964
1006
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
965
1007
  },
@@ -1097,6 +1139,12 @@ function deleteCustomDiscounts(payload) {
1097
1139
  {
1098
1140
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1099
1141
  },
1142
+ {
1143
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1144
+ },
1145
+ {
1146
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1147
+ },
1100
1148
  {
1101
1149
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1102
1150
  },
@@ -1234,6 +1282,12 @@ function setAdditionalFees(payload) {
1234
1282
  {
1235
1283
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1236
1284
  },
1285
+ {
1286
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1287
+ },
1288
+ {
1289
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1290
+ },
1237
1291
  {
1238
1292
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1239
1293
  },
@@ -1371,6 +1425,12 @@ function createCustomAdditionalFees(payload) {
1371
1425
  {
1372
1426
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1373
1427
  },
1428
+ {
1429
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1430
+ },
1431
+ {
1432
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1433
+ },
1374
1434
  {
1375
1435
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1376
1436
  },
@@ -1508,6 +1568,12 @@ function deleteCustomAdditionalFees(payload) {
1508
1568
  {
1509
1569
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1510
1570
  },
1571
+ {
1572
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1573
+ },
1574
+ {
1575
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1576
+ },
1511
1577
  {
1512
1578
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1513
1579
  },
@@ -1672,6 +1738,12 @@ function setShippingInfo(payload) {
1672
1738
  {
1673
1739
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1674
1740
  },
1741
+ {
1742
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1743
+ },
1744
+ {
1745
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1746
+ },
1675
1747
  {
1676
1748
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1677
1749
  },
@@ -1809,6 +1881,12 @@ function setBuyerInfo(payload) {
1809
1881
  {
1810
1882
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1811
1883
  },
1884
+ {
1885
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1886
+ },
1887
+ {
1888
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1889
+ },
1812
1890
  {
1813
1891
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1814
1892
  },
@@ -1955,6 +2033,12 @@ function setRecipientInfo(payload) {
1955
2033
  {
1956
2034
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1957
2035
  },
2036
+ {
2037
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2038
+ },
2039
+ {
2040
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2041
+ },
1958
2042
  {
1959
2043
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1960
2044
  },
@@ -2101,6 +2185,12 @@ function setBillingInfo(payload) {
2101
2185
  {
2102
2186
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2103
2187
  },
2188
+ {
2189
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2190
+ },
2191
+ {
2192
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2193
+ },
2104
2194
  {
2105
2195
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2106
2196
  },
@@ -2238,6 +2328,12 @@ function getDraftOrder(payload) {
2238
2328
  {
2239
2329
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2240
2330
  },
2331
+ {
2332
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2333
+ },
2334
+ {
2335
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2336
+ },
2241
2337
  {
2242
2338
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2243
2339
  },
@@ -2407,6 +2503,12 @@ function commitDraftOrder(payload) {
2407
2503
  {
2408
2504
  path: "committedDraftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2409
2505
  },
2506
+ {
2507
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2508
+ },
2509
+ {
2510
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.endDate"
2511
+ },
2410
2512
  {
2411
2513
  path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2412
2514
  },
@@ -2433,6 +2535,10 @@ function commitDraftOrder(payload) {
2433
2535
  {
2434
2536
  path: "orderAfterCommit.lineItems.subscriptionInfo.subscriptionSettings.startDate"
2435
2537
  },
2538
+ {
2539
+ path: "orderAfterCommit.lineItems.serviceProperties.scheduledDate"
2540
+ },
2541
+ { path: "orderAfterCommit.lineItems.serviceProperties.endDate" },
2436
2542
  { path: "orderAfterCommit.shippingInfo.logistics.deliverByDate" },
2437
2543
  {
2438
2544
  path: "orderAfterCommit.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -2573,6 +2679,12 @@ function createOrderFromDraft(payload) {
2573
2679
  {
2574
2680
  path: "committedDraftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2575
2681
  },
2682
+ {
2683
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2684
+ },
2685
+ {
2686
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.endDate"
2687
+ },
2576
2688
  {
2577
2689
  path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2578
2690
  },
@@ -2599,6 +2711,10 @@ function createOrderFromDraft(payload) {
2599
2711
  {
2600
2712
  path: "createdOrder.lineItems.subscriptionInfo.subscriptionSettings.startDate"
2601
2713
  },
2714
+ {
2715
+ path: "createdOrder.lineItems.serviceProperties.scheduledDate"
2716
+ },
2717
+ { path: "createdOrder.lineItems.serviceProperties.endDate" },
2602
2718
  { path: "createdOrder.shippingInfo.logistics.deliverByDate" },
2603
2719
  {
2604
2720
  path: "createdOrder.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -2763,6 +2879,12 @@ function queryDraftOrders(payload) {
2763
2879
  {
2764
2880
  path: "draftOrders.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2765
2881
  },
2882
+ {
2883
+ path: "draftOrders.lineItems.lineItem.serviceProperties.scheduledDate"
2884
+ },
2885
+ {
2886
+ path: "draftOrders.lineItems.lineItem.serviceProperties.endDate"
2887
+ },
2766
2888
  {
2767
2889
  path: "draftOrders.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2768
2890
  },
@@ -2878,6 +3000,12 @@ function updateExtendedFields(payload) {
2878
3000
  {
2879
3001
  path: "draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2880
3002
  },
3003
+ {
3004
+ path: "draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3005
+ },
3006
+ {
3007
+ path: "draftOrder.lineItems.lineItem.serviceProperties.endDate"
3008
+ },
2881
3009
  {
2882
3010
  path: "draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2883
3011
  },
@@ -2995,6 +3123,12 @@ function setTaxExemption(payload) {
2995
3123
  {
2996
3124
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2997
3125
  },
3126
+ {
3127
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3128
+ },
3129
+ {
3130
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
3131
+ },
2998
3132
  {
2999
3133
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
3000
3134
  },
@@ -3132,6 +3266,12 @@ function setBusinessLocation(payload) {
3132
3266
  {
3133
3267
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
3134
3268
  },
3269
+ {
3270
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3271
+ },
3272
+ {
3273
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
3274
+ },
3135
3275
  {
3136
3276
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
3137
3277
  },
@@ -3443,6 +3583,12 @@ var NonDraftableReason = /* @__PURE__ */ ((NonDraftableReason2) => {
3443
3583
  NonDraftableReason2["ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT"] = "ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT";
3444
3584
  NonDraftableReason2["ORDER_NOT_FOUND"] = "ORDER_NOT_FOUND";
3445
3585
  NonDraftableReason2["SUBSCRIPTION_LINE_ITEM_EXISTS"] = "SUBSCRIPTION_LINE_ITEM_EXISTS";
3586
+ NonDraftableReason2["AMOUNTS_DO_NOT_ADD_UP"] = "AMOUNTS_DO_NOT_ADD_UP";
3587
+ NonDraftableReason2["UNSUPPORTED_CATALOG_ITEM"] = "UNSUPPORTED_CATALOG_ITEM";
3588
+ NonDraftableReason2["TAXABLE_EXISTING_ADDITIONAL_FEE"] = "TAXABLE_EXISTING_ADDITIONAL_FEE";
3589
+ NonDraftableReason2["ORDER_HAS_CHARGEBACKS"] = "ORDER_HAS_CHARGEBACKS";
3590
+ NonDraftableReason2["EDITING_IS_NOT_ALLOWED_FOR_APP"] = "EDITING_IS_NOT_ALLOWED_FOR_APP";
3591
+ NonDraftableReason2["COUPON_BEHAVIOR_IS_UNDEFINED"] = "COUPON_BEHAVIOR_IS_UNDEFINED";
3446
3592
  return NonDraftableReason2;
3447
3593
  })(NonDraftableReason || {});
3448
3594
  var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {
@@ -3584,6 +3730,8 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
3584
3730
  ChannelType2["FAIRE_COM"] = "FAIRE_COM";
3585
3731
  ChannelType2["PAYPAL_AGENTIC_CHECKOUT"] = "PAYPAL_AGENTIC_CHECKOUT";
3586
3732
  ChannelType2["STRIPE_AGENTIC_CHECKOUT"] = "STRIPE_AGENTIC_CHECKOUT";
3733
+ ChannelType2["WIX_INVOICES_PLATFORM"] = "WIX_INVOICES_PLATFORM";
3734
+ ChannelType2["UCP_AGENTIC_CHECKOUT"] = "UCP_AGENTIC_CHECKOUT";
3587
3735
  return ChannelType2;
3588
3736
  })(ChannelType || {});
3589
3737
  var OrderActionType = /* @__PURE__ */ ((OrderActionType2) => {