@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
@@ -207,6 +207,12 @@ function createDraftOrder(payload) {
207
207
  {
208
208
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
209
209
  },
210
+ {
211
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
212
+ },
213
+ {
214
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
215
+ },
210
216
  {
211
217
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
212
218
  },
@@ -344,6 +350,12 @@ function createEmptyDraftOrder(payload) {
344
350
  {
345
351
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
346
352
  },
353
+ {
354
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
355
+ },
356
+ {
357
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
358
+ },
347
359
  {
348
360
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
349
361
  },
@@ -499,6 +511,12 @@ function addLineItemsToDraftOrder(payload) {
499
511
  {
500
512
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
501
513
  },
514
+ {
515
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
516
+ },
517
+ {
518
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
519
+ },
502
520
  {
503
521
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
504
522
  },
@@ -642,6 +660,12 @@ function updateLineItems(payload) {
642
660
  {
643
661
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
644
662
  },
663
+ {
664
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
665
+ },
666
+ {
667
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
668
+ },
645
669
  {
646
670
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
647
671
  },
@@ -779,6 +803,12 @@ function setDeposit(payload) {
779
803
  {
780
804
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
781
805
  },
806
+ {
807
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
808
+ },
809
+ {
810
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
811
+ },
782
812
  {
783
813
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
784
814
  },
@@ -916,6 +946,12 @@ function setDiscounts(payload) {
916
946
  {
917
947
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
918
948
  },
949
+ {
950
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
951
+ },
952
+ {
953
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
954
+ },
919
955
  {
920
956
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
921
957
  },
@@ -1053,6 +1089,12 @@ function createCustomDiscounts(payload) {
1053
1089
  {
1054
1090
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1055
1091
  },
1092
+ {
1093
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1094
+ },
1095
+ {
1096
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1097
+ },
1056
1098
  {
1057
1099
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1058
1100
  },
@@ -1190,6 +1232,12 @@ function deleteCustomDiscounts(payload) {
1190
1232
  {
1191
1233
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1192
1234
  },
1235
+ {
1236
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1237
+ },
1238
+ {
1239
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1240
+ },
1193
1241
  {
1194
1242
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1195
1243
  },
@@ -1327,6 +1375,12 @@ function setAdditionalFees(payload) {
1327
1375
  {
1328
1376
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1329
1377
  },
1378
+ {
1379
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1380
+ },
1381
+ {
1382
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1383
+ },
1330
1384
  {
1331
1385
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1332
1386
  },
@@ -1464,6 +1518,12 @@ function createCustomAdditionalFees(payload) {
1464
1518
  {
1465
1519
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1466
1520
  },
1521
+ {
1522
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1523
+ },
1524
+ {
1525
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1526
+ },
1467
1527
  {
1468
1528
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1469
1529
  },
@@ -1601,6 +1661,12 @@ function deleteCustomAdditionalFees(payload) {
1601
1661
  {
1602
1662
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1603
1663
  },
1664
+ {
1665
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1666
+ },
1667
+ {
1668
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1669
+ },
1604
1670
  {
1605
1671
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1606
1672
  },
@@ -1765,6 +1831,12 @@ function setShippingInfo(payload) {
1765
1831
  {
1766
1832
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1767
1833
  },
1834
+ {
1835
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1836
+ },
1837
+ {
1838
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1839
+ },
1768
1840
  {
1769
1841
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1770
1842
  },
@@ -1902,6 +1974,12 @@ function setBuyerInfo(payload) {
1902
1974
  {
1903
1975
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1904
1976
  },
1977
+ {
1978
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1979
+ },
1980
+ {
1981
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1982
+ },
1905
1983
  {
1906
1984
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1907
1985
  },
@@ -2048,6 +2126,12 @@ function setRecipientInfo(payload) {
2048
2126
  {
2049
2127
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2050
2128
  },
2129
+ {
2130
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2131
+ },
2132
+ {
2133
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2134
+ },
2051
2135
  {
2052
2136
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2053
2137
  },
@@ -2194,6 +2278,12 @@ function setBillingInfo(payload) {
2194
2278
  {
2195
2279
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2196
2280
  },
2281
+ {
2282
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2283
+ },
2284
+ {
2285
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2286
+ },
2197
2287
  {
2198
2288
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2199
2289
  },
@@ -2331,6 +2421,12 @@ function getDraftOrder(payload) {
2331
2421
  {
2332
2422
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2333
2423
  },
2424
+ {
2425
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2426
+ },
2427
+ {
2428
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2429
+ },
2334
2430
  {
2335
2431
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2336
2432
  },
@@ -2500,6 +2596,12 @@ function commitDraftOrder(payload) {
2500
2596
  {
2501
2597
  path: "committedDraftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2502
2598
  },
2599
+ {
2600
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2601
+ },
2602
+ {
2603
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.endDate"
2604
+ },
2503
2605
  {
2504
2606
  path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2505
2607
  },
@@ -2526,6 +2628,10 @@ function commitDraftOrder(payload) {
2526
2628
  {
2527
2629
  path: "orderAfterCommit.lineItems.subscriptionInfo.subscriptionSettings.startDate"
2528
2630
  },
2631
+ {
2632
+ path: "orderAfterCommit.lineItems.serviceProperties.scheduledDate"
2633
+ },
2634
+ { path: "orderAfterCommit.lineItems.serviceProperties.endDate" },
2529
2635
  { path: "orderAfterCommit.shippingInfo.logistics.deliverByDate" },
2530
2636
  {
2531
2637
  path: "orderAfterCommit.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -2666,6 +2772,12 @@ function createOrderFromDraft(payload) {
2666
2772
  {
2667
2773
  path: "committedDraftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2668
2774
  },
2775
+ {
2776
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2777
+ },
2778
+ {
2779
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.endDate"
2780
+ },
2669
2781
  {
2670
2782
  path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2671
2783
  },
@@ -2692,6 +2804,10 @@ function createOrderFromDraft(payload) {
2692
2804
  {
2693
2805
  path: "createdOrder.lineItems.subscriptionInfo.subscriptionSettings.startDate"
2694
2806
  },
2807
+ {
2808
+ path: "createdOrder.lineItems.serviceProperties.scheduledDate"
2809
+ },
2810
+ { path: "createdOrder.lineItems.serviceProperties.endDate" },
2695
2811
  { path: "createdOrder.shippingInfo.logistics.deliverByDate" },
2696
2812
  {
2697
2813
  path: "createdOrder.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -2856,6 +2972,12 @@ function queryDraftOrders(payload) {
2856
2972
  {
2857
2973
  path: "draftOrders.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2858
2974
  },
2975
+ {
2976
+ path: "draftOrders.lineItems.lineItem.serviceProperties.scheduledDate"
2977
+ },
2978
+ {
2979
+ path: "draftOrders.lineItems.lineItem.serviceProperties.endDate"
2980
+ },
2859
2981
  {
2860
2982
  path: "draftOrders.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2861
2983
  },
@@ -2971,6 +3093,12 @@ function updateExtendedFields(payload) {
2971
3093
  {
2972
3094
  path: "draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2973
3095
  },
3096
+ {
3097
+ path: "draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3098
+ },
3099
+ {
3100
+ path: "draftOrder.lineItems.lineItem.serviceProperties.endDate"
3101
+ },
2974
3102
  {
2975
3103
  path: "draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2976
3104
  },
@@ -3088,6 +3216,12 @@ function setTaxExemption(payload) {
3088
3216
  {
3089
3217
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
3090
3218
  },
3219
+ {
3220
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3221
+ },
3222
+ {
3223
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
3224
+ },
3091
3225
  {
3092
3226
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
3093
3227
  },
@@ -3225,6 +3359,12 @@ function setBusinessLocation(payload) {
3225
3359
  {
3226
3360
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
3227
3361
  },
3362
+ {
3363
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3364
+ },
3365
+ {
3366
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
3367
+ },
3228
3368
  {
3229
3369
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
3230
3370
  },
@@ -3543,6 +3683,12 @@ var NonDraftableReason = /* @__PURE__ */ ((NonDraftableReason2) => {
3543
3683
  NonDraftableReason2["ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT"] = "ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT";
3544
3684
  NonDraftableReason2["ORDER_NOT_FOUND"] = "ORDER_NOT_FOUND";
3545
3685
  NonDraftableReason2["SUBSCRIPTION_LINE_ITEM_EXISTS"] = "SUBSCRIPTION_LINE_ITEM_EXISTS";
3686
+ NonDraftableReason2["AMOUNTS_DO_NOT_ADD_UP"] = "AMOUNTS_DO_NOT_ADD_UP";
3687
+ NonDraftableReason2["UNSUPPORTED_CATALOG_ITEM"] = "UNSUPPORTED_CATALOG_ITEM";
3688
+ NonDraftableReason2["TAXABLE_EXISTING_ADDITIONAL_FEE"] = "TAXABLE_EXISTING_ADDITIONAL_FEE";
3689
+ NonDraftableReason2["ORDER_HAS_CHARGEBACKS"] = "ORDER_HAS_CHARGEBACKS";
3690
+ NonDraftableReason2["EDITING_IS_NOT_ALLOWED_FOR_APP"] = "EDITING_IS_NOT_ALLOWED_FOR_APP";
3691
+ NonDraftableReason2["COUPON_BEHAVIOR_IS_UNDEFINED"] = "COUPON_BEHAVIOR_IS_UNDEFINED";
3546
3692
  return NonDraftableReason2;
3547
3693
  })(NonDraftableReason || {});
3548
3694
  var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {