@wix/auto_sdk_ecom_current-cart-v-2 1.0.49 → 1.0.51

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 +40 -16
  2. package/build/cjs/index.js +33 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +859 -71
  5. package/build/cjs/index.typings.js +33 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +822 -58
  8. package/build/cjs/meta.js +33 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +40 -16
  11. package/build/es/index.mjs +30 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +859 -71
  14. package/build/es/index.typings.mjs +30 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +822 -58
  17. package/build/es/meta.mjs +30 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +40 -16
  20. package/build/internal/cjs/index.js +33 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +859 -71
  23. package/build/internal/cjs/index.typings.js +33 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +822 -58
  26. package/build/internal/cjs/meta.js +33 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +40 -16
  29. package/build/internal/es/index.mjs +30 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +859 -71
  32. package/build/internal/es/index.typings.mjs +30 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +822 -58
  35. package/build/internal/es/meta.mjs +30 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +3 -3
@@ -1068,6 +1068,26 @@ var SuggestedFix = /* @__PURE__ */ ((SuggestedFix2) => {
1068
1068
  SuggestedFix2["REMOVE_LINE_ITEM"] = "REMOVE_LINE_ITEM";
1069
1069
  return SuggestedFix2;
1070
1070
  })(SuggestedFix || {});
1071
+ var InvalidCouponReason = /* @__PURE__ */ ((InvalidCouponReason2) => {
1072
+ InvalidCouponReason2["UNKNOWN_INVALID_COUPON_REASON"] = "UNKNOWN_INVALID_COUPON_REASON";
1073
+ InvalidCouponReason2["EXPIRED"] = "EXPIRED";
1074
+ InvalidCouponReason2["DISABLED"] = "DISABLED";
1075
+ InvalidCouponReason2["INACTIVE"] = "INACTIVE";
1076
+ InvalidCouponReason2["MAX_USAGE_EXCEEDED"] = "MAX_USAGE_EXCEEDED";
1077
+ InvalidCouponReason2["MAX_USAGE_PER_CUSTOMER_EXCEEDED"] = "MAX_USAGE_PER_CUSTOMER_EXCEEDED";
1078
+ InvalidCouponReason2["NOT_APPLICABLE_TO_SUBSCRIPTIONS"] = "NOT_APPLICABLE_TO_SUBSCRIPTIONS";
1079
+ InvalidCouponReason2["NOT_APPLICABLE_TO_SELECTED_LINE_ITEMS"] = "NOT_APPLICABLE_TO_SELECTED_LINE_ITEMS";
1080
+ InvalidCouponReason2["MIN_LINE_ITEM_QUANTITY_NOT_REACHED"] = "MIN_LINE_ITEM_QUANTITY_NOT_REACHED";
1081
+ InvalidCouponReason2["MIN_SUBTOTAL_NOT_REACHED"] = "MIN_SUBTOTAL_NOT_REACHED";
1082
+ return InvalidCouponReason2;
1083
+ })(InvalidCouponReason || {});
1084
+ var InvalidGiftCardReason = /* @__PURE__ */ ((InvalidGiftCardReason2) => {
1085
+ InvalidGiftCardReason2["UNKNOWN_INVALID_GIFT_CARD_REASON"] = "UNKNOWN_INVALID_GIFT_CARD_REASON";
1086
+ InvalidGiftCardReason2["EXPIRED"] = "EXPIRED";
1087
+ InvalidGiftCardReason2["DISABLED"] = "DISABLED";
1088
+ InvalidGiftCardReason2["EMPTY_BALANCE"] = "EMPTY_BALANCE";
1089
+ return InvalidGiftCardReason2;
1090
+ })(InvalidGiftCardReason || {});
1071
1091
  var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
1072
1092
  ValidationsConfig2["UNKNOWN_VALIDATIONS_CONFIG"] = "UNKNOWN_VALIDATIONS_CONFIG";
1073
1093
  ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
@@ -1139,8 +1159,15 @@ var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
1139
1159
  AdditionalFeeSource2["ITEM"] = "ITEM";
1140
1160
  AdditionalFeeSource2["MANUAL"] = "MANUAL";
1141
1161
  AdditionalFeeSource2["SHIPPING"] = "SHIPPING";
1162
+ AdditionalFeeSource2["PLATFORM_FEE"] = "PLATFORM_FEE";
1142
1163
  return AdditionalFeeSource2;
1143
1164
  })(AdditionalFeeSource || {});
1165
+ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
1166
+ PlatformFeeChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
1167
+ PlatformFeeChargeType2["PASS_ON"] = "PASS_ON";
1168
+ PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
1169
+ return PlatformFeeChargeType2;
1170
+ })(PlatformFeeChargeType || {});
1144
1171
  async function createCurrentCart2(options) {
1145
1172
  const { httpClient, sideEffects } = arguments[1];
1146
1173
  const payload = transformPaths2(
@@ -1846,6 +1873,8 @@ export {
1846
1873
  DiscountType,
1847
1874
  FallbackReason,
1848
1875
  FileType,
1876
+ InvalidCouponReason,
1877
+ InvalidGiftCardReason,
1849
1878
  ItemStatus,
1850
1879
  ItemTypePreset,
1851
1880
  JurisdictionType,
@@ -1854,6 +1883,7 @@ export {
1854
1883
  NameInOther,
1855
1884
  PaymentOptionType,
1856
1885
  PickupMethod,
1886
+ PlatformFeeChargeType,
1857
1887
  RateType,
1858
1888
  RuleType,
1859
1889
  Severity,