@wix/auto_sdk_ecom_current-cart-v-2 1.0.225 → 1.0.226
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.js +14 -16
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1627 -1627
- package/build/cjs/index.typings.js +14 -16
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1631 -1631
- package/build/cjs/meta.js +14 -16
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +14 -16
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1627 -1627
- package/build/es/index.typings.mjs +14 -16
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1631 -1631
- package/build/es/meta.mjs +14 -16
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1802 -1814
- package/build/internal/cjs/meta.d.ts +1845 -1857
- package/build/internal/es/index.typings.d.mts +1802 -1814
- package/build/internal/es/meta.d.mts +1845 -1857
- package/package.json +4 -4
package/build/cjs/index.js
CHANGED
|
@@ -1042,8 +1042,6 @@ var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
|
|
|
1042
1042
|
var DiscountValueType = /* @__PURE__ */ ((DiscountValueType2) => {
|
|
1043
1043
|
DiscountValueType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1044
1044
|
DiscountValueType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1045
|
-
DiscountValueType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1046
|
-
DiscountValueType2["QUANTITY_BASED"] = "QUANTITY_BASED";
|
|
1047
1045
|
return DiscountValueType2;
|
|
1048
1046
|
})(DiscountValueType || {});
|
|
1049
1047
|
var DiscountScope = /* @__PURE__ */ ((DiscountScope2) => {
|
|
@@ -1176,18 +1174,26 @@ var V1PlatformFeeChargeType = /* @__PURE__ */ ((V1PlatformFeeChargeType2) => {
|
|
|
1176
1174
|
V1PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1177
1175
|
return V1PlatformFeeChargeType2;
|
|
1178
1176
|
})(V1PlatformFeeChargeType || {});
|
|
1179
|
-
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1180
|
-
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1181
|
-
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1182
|
-
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1183
|
-
return BenefitType2;
|
|
1184
|
-
})(BenefitType || {});
|
|
1185
1177
|
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1186
1178
|
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1187
1179
|
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1188
1180
|
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1189
1181
|
return ValidationsConfig2;
|
|
1190
1182
|
})(ValidationsConfig || {});
|
|
1183
|
+
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1184
|
+
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1185
|
+
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1186
|
+
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1187
|
+
return BenefitType2;
|
|
1188
|
+
})(BenefitType || {});
|
|
1189
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1190
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1191
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1192
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1193
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1194
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1195
|
+
return WebhookIdentityType2;
|
|
1196
|
+
})(WebhookIdentityType || {});
|
|
1191
1197
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1192
1198
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1193
1199
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1253,14 +1259,6 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1253
1259
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1254
1260
|
return PlatformFeeChargeType2;
|
|
1255
1261
|
})(PlatformFeeChargeType || {});
|
|
1256
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1257
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1258
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1259
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1260
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1261
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
1262
|
-
return WebhookIdentityType2;
|
|
1263
|
-
})(WebhookIdentityType || {});
|
|
1264
1262
|
async function createCurrentCart2(options) {
|
|
1265
1263
|
const { httpClient, sideEffects } = arguments[1];
|
|
1266
1264
|
const payload = (0, import_transform_paths2.transformPaths)(
|