@wix/auto_sdk_ecom_current-cart-v-2 1.0.172 → 1.0.173
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 -14
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1552 -1552
- package/build/cjs/index.typings.js +14 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1559 -1559
- package/build/cjs/meta.js +14 -14
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +14 -14
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1552 -1552
- package/build/es/index.typings.mjs +14 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1559 -1559
- package/build/es/meta.mjs +14 -14
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +14 -14
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1652 -1652
- package/build/internal/cjs/index.typings.js +14 -14
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1559 -1559
- package/build/internal/cjs/meta.js +14 -14
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +14 -14
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1652 -1652
- package/build/internal/es/index.typings.mjs +14 -14
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1559 -1559
- package/build/internal/es/meta.mjs +14 -14
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -1468,18 +1468,26 @@ var InvalidMembershipReason = /* @__PURE__ */ ((InvalidMembershipReason2) => {
|
|
|
1468
1468
|
InvalidMembershipReason2["INSUFFICIENT_FUNDS"] = "INSUFFICIENT_FUNDS";
|
|
1469
1469
|
return InvalidMembershipReason2;
|
|
1470
1470
|
})(InvalidMembershipReason || {});
|
|
1471
|
-
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1472
|
-
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1473
|
-
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1474
|
-
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1475
|
-
return BenefitType2;
|
|
1476
|
-
})(BenefitType || {});
|
|
1477
1471
|
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1478
1472
|
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1479
1473
|
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1480
1474
|
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1481
1475
|
return ValidationsConfig2;
|
|
1482
1476
|
})(ValidationsConfig || {});
|
|
1477
|
+
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1478
|
+
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1479
|
+
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1480
|
+
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1481
|
+
return BenefitType2;
|
|
1482
|
+
})(BenefitType || {});
|
|
1483
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1484
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1485
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1486
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1487
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1488
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1489
|
+
return WebhookIdentityType2;
|
|
1490
|
+
})(WebhookIdentityType || {});
|
|
1483
1491
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1484
1492
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1485
1493
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1545,14 +1553,6 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1545
1553
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1546
1554
|
return PlatformFeeChargeType2;
|
|
1547
1555
|
})(PlatformFeeChargeType || {});
|
|
1548
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1549
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1550
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1551
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1552
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1553
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
1554
|
-
return WebhookIdentityType2;
|
|
1555
|
-
})(WebhookIdentityType || {});
|
|
1556
1556
|
async function createCurrentCart2(options) {
|
|
1557
1557
|
const { httpClient, sideEffects } = arguments[1];
|
|
1558
1558
|
const payload = (0, import_transform_paths2.transformPaths)(
|