@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
@@ -122,6 +122,12 @@ function createDraftOrder(payload) {
122
122
  {
123
123
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
124
124
  },
125
+ {
126
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
127
+ },
128
+ {
129
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
130
+ },
125
131
  {
126
132
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
127
133
  },
@@ -259,6 +265,12 @@ function createEmptyDraftOrder(payload) {
259
265
  {
260
266
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
261
267
  },
268
+ {
269
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
270
+ },
271
+ {
272
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
273
+ },
262
274
  {
263
275
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
264
276
  },
@@ -414,6 +426,12 @@ function addLineItemsToDraftOrder(payload) {
414
426
  {
415
427
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
416
428
  },
429
+ {
430
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
431
+ },
432
+ {
433
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
434
+ },
417
435
  {
418
436
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
419
437
  },
@@ -557,6 +575,12 @@ function updateLineItems(payload) {
557
575
  {
558
576
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
559
577
  },
578
+ {
579
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
580
+ },
581
+ {
582
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
583
+ },
560
584
  {
561
585
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
562
586
  },
@@ -694,6 +718,12 @@ function setDeposit(payload) {
694
718
  {
695
719
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
696
720
  },
721
+ {
722
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
723
+ },
724
+ {
725
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
726
+ },
697
727
  {
698
728
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
699
729
  },
@@ -831,6 +861,12 @@ function setDiscounts(payload) {
831
861
  {
832
862
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
833
863
  },
864
+ {
865
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
866
+ },
867
+ {
868
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
869
+ },
834
870
  {
835
871
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
836
872
  },
@@ -968,6 +1004,12 @@ function createCustomDiscounts(payload) {
968
1004
  {
969
1005
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
970
1006
  },
1007
+ {
1008
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1009
+ },
1010
+ {
1011
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1012
+ },
971
1013
  {
972
1014
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
973
1015
  },
@@ -1105,6 +1147,12 @@ function deleteCustomDiscounts(payload) {
1105
1147
  {
1106
1148
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1107
1149
  },
1150
+ {
1151
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1152
+ },
1153
+ {
1154
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1155
+ },
1108
1156
  {
1109
1157
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1110
1158
  },
@@ -1242,6 +1290,12 @@ function setAdditionalFees(payload) {
1242
1290
  {
1243
1291
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1244
1292
  },
1293
+ {
1294
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1295
+ },
1296
+ {
1297
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1298
+ },
1245
1299
  {
1246
1300
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1247
1301
  },
@@ -1379,6 +1433,12 @@ function createCustomAdditionalFees(payload) {
1379
1433
  {
1380
1434
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1381
1435
  },
1436
+ {
1437
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1438
+ },
1439
+ {
1440
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1441
+ },
1382
1442
  {
1383
1443
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1384
1444
  },
@@ -1516,6 +1576,12 @@ function deleteCustomAdditionalFees(payload) {
1516
1576
  {
1517
1577
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1518
1578
  },
1579
+ {
1580
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1581
+ },
1582
+ {
1583
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1584
+ },
1519
1585
  {
1520
1586
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1521
1587
  },
@@ -1680,6 +1746,12 @@ function setShippingInfo(payload) {
1680
1746
  {
1681
1747
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1682
1748
  },
1749
+ {
1750
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1751
+ },
1752
+ {
1753
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1754
+ },
1683
1755
  {
1684
1756
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1685
1757
  },
@@ -1817,6 +1889,12 @@ function setBuyerInfo(payload) {
1817
1889
  {
1818
1890
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1819
1891
  },
1892
+ {
1893
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1894
+ },
1895
+ {
1896
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1897
+ },
1820
1898
  {
1821
1899
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1822
1900
  },
@@ -1963,6 +2041,12 @@ function setRecipientInfo(payload) {
1963
2041
  {
1964
2042
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1965
2043
  },
2044
+ {
2045
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2046
+ },
2047
+ {
2048
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2049
+ },
1966
2050
  {
1967
2051
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1968
2052
  },
@@ -2109,6 +2193,12 @@ function setBillingInfo(payload) {
2109
2193
  {
2110
2194
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2111
2195
  },
2196
+ {
2197
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2198
+ },
2199
+ {
2200
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2201
+ },
2112
2202
  {
2113
2203
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2114
2204
  },
@@ -2246,6 +2336,12 @@ function getDraftOrder(payload) {
2246
2336
  {
2247
2337
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2248
2338
  },
2339
+ {
2340
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2341
+ },
2342
+ {
2343
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2344
+ },
2249
2345
  {
2250
2346
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2251
2347
  },
@@ -2415,6 +2511,12 @@ function commitDraftOrder(payload) {
2415
2511
  {
2416
2512
  path: "committedDraftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2417
2513
  },
2514
+ {
2515
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2516
+ },
2517
+ {
2518
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.endDate"
2519
+ },
2418
2520
  {
2419
2521
  path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2420
2522
  },
@@ -2441,6 +2543,10 @@ function commitDraftOrder(payload) {
2441
2543
  {
2442
2544
  path: "orderAfterCommit.lineItems.subscriptionInfo.subscriptionSettings.startDate"
2443
2545
  },
2546
+ {
2547
+ path: "orderAfterCommit.lineItems.serviceProperties.scheduledDate"
2548
+ },
2549
+ { path: "orderAfterCommit.lineItems.serviceProperties.endDate" },
2444
2550
  { path: "orderAfterCommit.shippingInfo.logistics.deliverByDate" },
2445
2551
  {
2446
2552
  path: "orderAfterCommit.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -2581,6 +2687,12 @@ function createOrderFromDraft(payload) {
2581
2687
  {
2582
2688
  path: "committedDraftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2583
2689
  },
2690
+ {
2691
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2692
+ },
2693
+ {
2694
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.endDate"
2695
+ },
2584
2696
  {
2585
2697
  path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2586
2698
  },
@@ -2607,6 +2719,10 @@ function createOrderFromDraft(payload) {
2607
2719
  {
2608
2720
  path: "createdOrder.lineItems.subscriptionInfo.subscriptionSettings.startDate"
2609
2721
  },
2722
+ {
2723
+ path: "createdOrder.lineItems.serviceProperties.scheduledDate"
2724
+ },
2725
+ { path: "createdOrder.lineItems.serviceProperties.endDate" },
2610
2726
  { path: "createdOrder.shippingInfo.logistics.deliverByDate" },
2611
2727
  {
2612
2728
  path: "createdOrder.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -2771,6 +2887,12 @@ function queryDraftOrders(payload) {
2771
2887
  {
2772
2888
  path: "draftOrders.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2773
2889
  },
2890
+ {
2891
+ path: "draftOrders.lineItems.lineItem.serviceProperties.scheduledDate"
2892
+ },
2893
+ {
2894
+ path: "draftOrders.lineItems.lineItem.serviceProperties.endDate"
2895
+ },
2774
2896
  {
2775
2897
  path: "draftOrders.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2776
2898
  },
@@ -2886,6 +3008,12 @@ function updateExtendedFields(payload) {
2886
3008
  {
2887
3009
  path: "draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2888
3010
  },
3011
+ {
3012
+ path: "draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3013
+ },
3014
+ {
3015
+ path: "draftOrder.lineItems.lineItem.serviceProperties.endDate"
3016
+ },
2889
3017
  {
2890
3018
  path: "draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2891
3019
  },
@@ -3003,6 +3131,12 @@ function setTaxExemption(payload) {
3003
3131
  {
3004
3132
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
3005
3133
  },
3134
+ {
3135
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3136
+ },
3137
+ {
3138
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
3139
+ },
3006
3140
  {
3007
3141
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
3008
3142
  },
@@ -3140,6 +3274,12 @@ function setBusinessLocation(payload) {
3140
3274
  {
3141
3275
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
3142
3276
  },
3277
+ {
3278
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3279
+ },
3280
+ {
3281
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
3282
+ },
3143
3283
  {
3144
3284
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
3145
3285
  },
@@ -3458,6 +3598,12 @@ var NonDraftableReason = /* @__PURE__ */ ((NonDraftableReason2) => {
3458
3598
  NonDraftableReason2["ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT"] = "ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT";
3459
3599
  NonDraftableReason2["ORDER_NOT_FOUND"] = "ORDER_NOT_FOUND";
3460
3600
  NonDraftableReason2["SUBSCRIPTION_LINE_ITEM_EXISTS"] = "SUBSCRIPTION_LINE_ITEM_EXISTS";
3601
+ NonDraftableReason2["AMOUNTS_DO_NOT_ADD_UP"] = "AMOUNTS_DO_NOT_ADD_UP";
3602
+ NonDraftableReason2["UNSUPPORTED_CATALOG_ITEM"] = "UNSUPPORTED_CATALOG_ITEM";
3603
+ NonDraftableReason2["TAXABLE_EXISTING_ADDITIONAL_FEE"] = "TAXABLE_EXISTING_ADDITIONAL_FEE";
3604
+ NonDraftableReason2["ORDER_HAS_CHARGEBACKS"] = "ORDER_HAS_CHARGEBACKS";
3605
+ NonDraftableReason2["EDITING_IS_NOT_ALLOWED_FOR_APP"] = "EDITING_IS_NOT_ALLOWED_FOR_APP";
3606
+ NonDraftableReason2["COUPON_BEHAVIOR_IS_UNDEFINED"] = "COUPON_BEHAVIOR_IS_UNDEFINED";
3461
3607
  return NonDraftableReason2;
3462
3608
  })(NonDraftableReason || {});
3463
3609
  var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {