@wix/auto_sdk_ecom_current-cart-v-2 1.0.50 → 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.
- package/build/cjs/index.d.ts +40 -16
- package/build/cjs/index.js +33 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +859 -71
- package/build/cjs/index.typings.js +33 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +822 -58
- package/build/cjs/meta.js +33 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +40 -16
- package/build/es/index.mjs +30 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +859 -71
- package/build/es/index.typings.mjs +30 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +822 -58
- package/build/es/meta.mjs +30 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +40 -16
- package/build/internal/cjs/index.js +33 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +859 -71
- package/build/internal/cjs/index.typings.js +33 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +822 -58
- package/build/internal/cjs/meta.js +33 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +40 -16
- package/build/internal/es/index.mjs +30 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +859 -71
- package/build/internal/es/index.typings.mjs +30 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +822 -58
- package/build/internal/es/meta.mjs +30 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -30,6 +30,8 @@ __export(index_typings_exports, {
|
|
|
30
30
|
DiscountType: () => DiscountType,
|
|
31
31
|
FallbackReason: () => FallbackReason,
|
|
32
32
|
FileType: () => FileType,
|
|
33
|
+
InvalidCouponReason: () => InvalidCouponReason,
|
|
34
|
+
InvalidGiftCardReason: () => InvalidGiftCardReason,
|
|
33
35
|
ItemStatus: () => ItemStatus,
|
|
34
36
|
ItemTypePreset: () => ItemTypePreset,
|
|
35
37
|
JurisdictionType: () => JurisdictionType,
|
|
@@ -38,6 +40,7 @@ __export(index_typings_exports, {
|
|
|
38
40
|
NameInOther: () => NameInOther,
|
|
39
41
|
PaymentOptionType: () => PaymentOptionType,
|
|
40
42
|
PickupMethod: () => PickupMethod,
|
|
43
|
+
PlatformFeeChargeType: () => PlatformFeeChargeType,
|
|
41
44
|
RateType: () => RateType,
|
|
42
45
|
RuleType: () => RuleType,
|
|
43
46
|
Severity: () => Severity,
|
|
@@ -1132,6 +1135,26 @@ var SuggestedFix = /* @__PURE__ */ ((SuggestedFix2) => {
|
|
|
1132
1135
|
SuggestedFix2["REMOVE_LINE_ITEM"] = "REMOVE_LINE_ITEM";
|
|
1133
1136
|
return SuggestedFix2;
|
|
1134
1137
|
})(SuggestedFix || {});
|
|
1138
|
+
var InvalidCouponReason = /* @__PURE__ */ ((InvalidCouponReason2) => {
|
|
1139
|
+
InvalidCouponReason2["UNKNOWN_INVALID_COUPON_REASON"] = "UNKNOWN_INVALID_COUPON_REASON";
|
|
1140
|
+
InvalidCouponReason2["EXPIRED"] = "EXPIRED";
|
|
1141
|
+
InvalidCouponReason2["DISABLED"] = "DISABLED";
|
|
1142
|
+
InvalidCouponReason2["INACTIVE"] = "INACTIVE";
|
|
1143
|
+
InvalidCouponReason2["MAX_USAGE_EXCEEDED"] = "MAX_USAGE_EXCEEDED";
|
|
1144
|
+
InvalidCouponReason2["MAX_USAGE_PER_CUSTOMER_EXCEEDED"] = "MAX_USAGE_PER_CUSTOMER_EXCEEDED";
|
|
1145
|
+
InvalidCouponReason2["NOT_APPLICABLE_TO_SUBSCRIPTIONS"] = "NOT_APPLICABLE_TO_SUBSCRIPTIONS";
|
|
1146
|
+
InvalidCouponReason2["NOT_APPLICABLE_TO_SELECTED_LINE_ITEMS"] = "NOT_APPLICABLE_TO_SELECTED_LINE_ITEMS";
|
|
1147
|
+
InvalidCouponReason2["MIN_LINE_ITEM_QUANTITY_NOT_REACHED"] = "MIN_LINE_ITEM_QUANTITY_NOT_REACHED";
|
|
1148
|
+
InvalidCouponReason2["MIN_SUBTOTAL_NOT_REACHED"] = "MIN_SUBTOTAL_NOT_REACHED";
|
|
1149
|
+
return InvalidCouponReason2;
|
|
1150
|
+
})(InvalidCouponReason || {});
|
|
1151
|
+
var InvalidGiftCardReason = /* @__PURE__ */ ((InvalidGiftCardReason2) => {
|
|
1152
|
+
InvalidGiftCardReason2["UNKNOWN_INVALID_GIFT_CARD_REASON"] = "UNKNOWN_INVALID_GIFT_CARD_REASON";
|
|
1153
|
+
InvalidGiftCardReason2["EXPIRED"] = "EXPIRED";
|
|
1154
|
+
InvalidGiftCardReason2["DISABLED"] = "DISABLED";
|
|
1155
|
+
InvalidGiftCardReason2["EMPTY_BALANCE"] = "EMPTY_BALANCE";
|
|
1156
|
+
return InvalidGiftCardReason2;
|
|
1157
|
+
})(InvalidGiftCardReason || {});
|
|
1135
1158
|
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1136
1159
|
ValidationsConfig2["UNKNOWN_VALIDATIONS_CONFIG"] = "UNKNOWN_VALIDATIONS_CONFIG";
|
|
1137
1160
|
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
@@ -1203,8 +1226,15 @@ var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
|
1203
1226
|
AdditionalFeeSource2["ITEM"] = "ITEM";
|
|
1204
1227
|
AdditionalFeeSource2["MANUAL"] = "MANUAL";
|
|
1205
1228
|
AdditionalFeeSource2["SHIPPING"] = "SHIPPING";
|
|
1229
|
+
AdditionalFeeSource2["PLATFORM_FEE"] = "PLATFORM_FEE";
|
|
1206
1230
|
return AdditionalFeeSource2;
|
|
1207
1231
|
})(AdditionalFeeSource || {});
|
|
1232
|
+
var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
1233
|
+
PlatformFeeChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
|
|
1234
|
+
PlatformFeeChargeType2["PASS_ON"] = "PASS_ON";
|
|
1235
|
+
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1236
|
+
return PlatformFeeChargeType2;
|
|
1237
|
+
})(PlatformFeeChargeType || {});
|
|
1208
1238
|
async function createCurrentCart2(options) {
|
|
1209
1239
|
const { httpClient, sideEffects } = arguments[1];
|
|
1210
1240
|
const payload = (0, import_transform_paths2.transformPaths)(
|
|
@@ -1911,6 +1941,8 @@ async function removeGiftCardFromCurrentCart2(giftCardId) {
|
|
|
1911
1941
|
DiscountType,
|
|
1912
1942
|
FallbackReason,
|
|
1913
1943
|
FileType,
|
|
1944
|
+
InvalidCouponReason,
|
|
1945
|
+
InvalidGiftCardReason,
|
|
1914
1946
|
ItemStatus,
|
|
1915
1947
|
ItemTypePreset,
|
|
1916
1948
|
JurisdictionType,
|
|
@@ -1919,6 +1951,7 @@ async function removeGiftCardFromCurrentCart2(giftCardId) {
|
|
|
1919
1951
|
NameInOther,
|
|
1920
1952
|
PaymentOptionType,
|
|
1921
1953
|
PickupMethod,
|
|
1954
|
+
PlatformFeeChargeType,
|
|
1922
1955
|
RateType,
|
|
1923
1956
|
RuleType,
|
|
1924
1957
|
Severity,
|