@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
@@ -200,6 +200,12 @@ function createDraftOrder(payload) {
200
200
  {
201
201
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
202
202
  },
203
+ {
204
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
205
+ },
206
+ {
207
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
208
+ },
203
209
  {
204
210
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
205
211
  },
@@ -337,6 +343,12 @@ function createEmptyDraftOrder(payload) {
337
343
  {
338
344
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
339
345
  },
346
+ {
347
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
348
+ },
349
+ {
350
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
351
+ },
340
352
  {
341
353
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
342
354
  },
@@ -492,6 +504,12 @@ function addLineItemsToDraftOrder(payload) {
492
504
  {
493
505
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
494
506
  },
507
+ {
508
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
509
+ },
510
+ {
511
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
512
+ },
495
513
  {
496
514
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
497
515
  },
@@ -635,6 +653,12 @@ function updateLineItems(payload) {
635
653
  {
636
654
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
637
655
  },
656
+ {
657
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
658
+ },
659
+ {
660
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
661
+ },
638
662
  {
639
663
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
640
664
  },
@@ -772,6 +796,12 @@ function setDeposit(payload) {
772
796
  {
773
797
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
774
798
  },
799
+ {
800
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
801
+ },
802
+ {
803
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
804
+ },
775
805
  {
776
806
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
777
807
  },
@@ -909,6 +939,12 @@ function setDiscounts(payload) {
909
939
  {
910
940
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
911
941
  },
942
+ {
943
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
944
+ },
945
+ {
946
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
947
+ },
912
948
  {
913
949
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
914
950
  },
@@ -1046,6 +1082,12 @@ function createCustomDiscounts(payload) {
1046
1082
  {
1047
1083
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1048
1084
  },
1085
+ {
1086
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1087
+ },
1088
+ {
1089
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1090
+ },
1049
1091
  {
1050
1092
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1051
1093
  },
@@ -1183,6 +1225,12 @@ function deleteCustomDiscounts(payload) {
1183
1225
  {
1184
1226
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1185
1227
  },
1228
+ {
1229
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1230
+ },
1231
+ {
1232
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1233
+ },
1186
1234
  {
1187
1235
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1188
1236
  },
@@ -1320,6 +1368,12 @@ function setAdditionalFees(payload) {
1320
1368
  {
1321
1369
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1322
1370
  },
1371
+ {
1372
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1373
+ },
1374
+ {
1375
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1376
+ },
1323
1377
  {
1324
1378
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1325
1379
  },
@@ -1457,6 +1511,12 @@ function createCustomAdditionalFees(payload) {
1457
1511
  {
1458
1512
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1459
1513
  },
1514
+ {
1515
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1516
+ },
1517
+ {
1518
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1519
+ },
1460
1520
  {
1461
1521
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1462
1522
  },
@@ -1594,6 +1654,12 @@ function deleteCustomAdditionalFees(payload) {
1594
1654
  {
1595
1655
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1596
1656
  },
1657
+ {
1658
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1659
+ },
1660
+ {
1661
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1662
+ },
1597
1663
  {
1598
1664
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1599
1665
  },
@@ -1758,6 +1824,12 @@ function setShippingInfo(payload) {
1758
1824
  {
1759
1825
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1760
1826
  },
1827
+ {
1828
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1829
+ },
1830
+ {
1831
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1832
+ },
1761
1833
  {
1762
1834
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1763
1835
  },
@@ -1895,6 +1967,12 @@ function setBuyerInfo(payload) {
1895
1967
  {
1896
1968
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
1897
1969
  },
1970
+ {
1971
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
1972
+ },
1973
+ {
1974
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
1975
+ },
1898
1976
  {
1899
1977
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
1900
1978
  },
@@ -2041,6 +2119,12 @@ function setRecipientInfo(payload) {
2041
2119
  {
2042
2120
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2043
2121
  },
2122
+ {
2123
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2124
+ },
2125
+ {
2126
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2127
+ },
2044
2128
  {
2045
2129
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2046
2130
  },
@@ -2187,6 +2271,12 @@ function setBillingInfo(payload) {
2187
2271
  {
2188
2272
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2189
2273
  },
2274
+ {
2275
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2276
+ },
2277
+ {
2278
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2279
+ },
2190
2280
  {
2191
2281
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2192
2282
  },
@@ -2324,6 +2414,12 @@ function getDraftOrder(payload) {
2324
2414
  {
2325
2415
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2326
2416
  },
2417
+ {
2418
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2419
+ },
2420
+ {
2421
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
2422
+ },
2327
2423
  {
2328
2424
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2329
2425
  },
@@ -2493,6 +2589,12 @@ function commitDraftOrder(payload) {
2493
2589
  {
2494
2590
  path: "committedDraftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2495
2591
  },
2592
+ {
2593
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2594
+ },
2595
+ {
2596
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.endDate"
2597
+ },
2496
2598
  {
2497
2599
  path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2498
2600
  },
@@ -2519,6 +2621,10 @@ function commitDraftOrder(payload) {
2519
2621
  {
2520
2622
  path: "orderAfterCommit.lineItems.subscriptionInfo.subscriptionSettings.startDate"
2521
2623
  },
2624
+ {
2625
+ path: "orderAfterCommit.lineItems.serviceProperties.scheduledDate"
2626
+ },
2627
+ { path: "orderAfterCommit.lineItems.serviceProperties.endDate" },
2522
2628
  { path: "orderAfterCommit.shippingInfo.logistics.deliverByDate" },
2523
2629
  {
2524
2630
  path: "orderAfterCommit.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -2659,6 +2765,12 @@ function createOrderFromDraft(payload) {
2659
2765
  {
2660
2766
  path: "committedDraftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2661
2767
  },
2768
+ {
2769
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
2770
+ },
2771
+ {
2772
+ path: "committedDraftOrder.lineItems.lineItem.serviceProperties.endDate"
2773
+ },
2662
2774
  {
2663
2775
  path: "committedDraftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2664
2776
  },
@@ -2685,6 +2797,10 @@ function createOrderFromDraft(payload) {
2685
2797
  {
2686
2798
  path: "createdOrder.lineItems.subscriptionInfo.subscriptionSettings.startDate"
2687
2799
  },
2800
+ {
2801
+ path: "createdOrder.lineItems.serviceProperties.scheduledDate"
2802
+ },
2803
+ { path: "createdOrder.lineItems.serviceProperties.endDate" },
2688
2804
  { path: "createdOrder.shippingInfo.logistics.deliverByDate" },
2689
2805
  {
2690
2806
  path: "createdOrder.shippingInfo.logistics.deliveryTimeSlot.from"
@@ -2849,6 +2965,12 @@ function queryDraftOrders(payload) {
2849
2965
  {
2850
2966
  path: "draftOrders.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2851
2967
  },
2968
+ {
2969
+ path: "draftOrders.lineItems.lineItem.serviceProperties.scheduledDate"
2970
+ },
2971
+ {
2972
+ path: "draftOrders.lineItems.lineItem.serviceProperties.endDate"
2973
+ },
2852
2974
  {
2853
2975
  path: "draftOrders.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2854
2976
  },
@@ -2964,6 +3086,12 @@ function updateExtendedFields(payload) {
2964
3086
  {
2965
3087
  path: "draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
2966
3088
  },
3089
+ {
3090
+ path: "draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3091
+ },
3092
+ {
3093
+ path: "draftOrder.lineItems.lineItem.serviceProperties.endDate"
3094
+ },
2967
3095
  {
2968
3096
  path: "draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
2969
3097
  },
@@ -3081,6 +3209,12 @@ function setTaxExemption(payload) {
3081
3209
  {
3082
3210
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
3083
3211
  },
3212
+ {
3213
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3214
+ },
3215
+ {
3216
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
3217
+ },
3084
3218
  {
3085
3219
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
3086
3220
  },
@@ -3218,6 +3352,12 @@ function setBusinessLocation(payload) {
3218
3352
  {
3219
3353
  path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.subscriptionInfo.subscriptionSettings.startDate"
3220
3354
  },
3355
+ {
3356
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.scheduledDate"
3357
+ },
3358
+ {
3359
+ path: "calculatedDraftOrder.draftOrder.lineItems.lineItem.serviceProperties.endDate"
3360
+ },
3221
3361
  {
3222
3362
  path: "calculatedDraftOrder.draftOrder.shippingInfo.changedDetails.shippingInfoBeforeChange.logistics.deliverByDate"
3223
3363
  },
@@ -3529,6 +3669,12 @@ var NonDraftableReason = /* @__PURE__ */ ((NonDraftableReason2) => {
3529
3669
  NonDraftableReason2["ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT"] = "ORDER_AND_SITE_WEIGHT_UNITS_ARE_INCONSISTENT";
3530
3670
  NonDraftableReason2["ORDER_NOT_FOUND"] = "ORDER_NOT_FOUND";
3531
3671
  NonDraftableReason2["SUBSCRIPTION_LINE_ITEM_EXISTS"] = "SUBSCRIPTION_LINE_ITEM_EXISTS";
3672
+ NonDraftableReason2["AMOUNTS_DO_NOT_ADD_UP"] = "AMOUNTS_DO_NOT_ADD_UP";
3673
+ NonDraftableReason2["UNSUPPORTED_CATALOG_ITEM"] = "UNSUPPORTED_CATALOG_ITEM";
3674
+ NonDraftableReason2["TAXABLE_EXISTING_ADDITIONAL_FEE"] = "TAXABLE_EXISTING_ADDITIONAL_FEE";
3675
+ NonDraftableReason2["ORDER_HAS_CHARGEBACKS"] = "ORDER_HAS_CHARGEBACKS";
3676
+ NonDraftableReason2["EDITING_IS_NOT_ALLOWED_FOR_APP"] = "EDITING_IS_NOT_ALLOWED_FOR_APP";
3677
+ NonDraftableReason2["COUPON_BEHAVIOR_IS_UNDEFINED"] = "COUPON_BEHAVIOR_IS_UNDEFINED";
3532
3678
  return NonDraftableReason2;
3533
3679
  })(NonDraftableReason || {});
3534
3680
  var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {
@@ -3670,6 +3816,8 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
3670
3816
  ChannelType2["FAIRE_COM"] = "FAIRE_COM";
3671
3817
  ChannelType2["PAYPAL_AGENTIC_CHECKOUT"] = "PAYPAL_AGENTIC_CHECKOUT";
3672
3818
  ChannelType2["STRIPE_AGENTIC_CHECKOUT"] = "STRIPE_AGENTIC_CHECKOUT";
3819
+ ChannelType2["WIX_INVOICES_PLATFORM"] = "WIX_INVOICES_PLATFORM";
3820
+ ChannelType2["UCP_AGENTIC_CHECKOUT"] = "UCP_AGENTIC_CHECKOUT";
3673
3821
  return ChannelType2;
3674
3822
  })(ChannelType || {});
3675
3823
  var OrderActionType = /* @__PURE__ */ ((OrderActionType2) => {