@wix/auto_sdk_ecom_cart-v-2 1.0.159 → 1.0.160
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 +1433 -1433
- package/build/cjs/index.typings.js +14 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1434 -1434
- 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 +1433 -1433
- package/build/es/index.typings.mjs +14 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1434 -1434
- 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 +1525 -1525
- 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 +1434 -1434
- 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 +1525 -1525
- 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 +1434 -1434
- 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
|
@@ -1644,18 +1644,26 @@ var InvalidMembershipReason = /* @__PURE__ */ ((InvalidMembershipReason2) => {
|
|
|
1644
1644
|
InvalidMembershipReason2["INSUFFICIENT_FUNDS"] = "INSUFFICIENT_FUNDS";
|
|
1645
1645
|
return InvalidMembershipReason2;
|
|
1646
1646
|
})(InvalidMembershipReason || {});
|
|
1647
|
-
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1648
|
-
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1649
|
-
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1650
|
-
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1651
|
-
return BenefitType2;
|
|
1652
|
-
})(BenefitType || {});
|
|
1653
1647
|
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1654
1648
|
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1655
1649
|
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1656
1650
|
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1657
1651
|
return ValidationsConfig2;
|
|
1658
1652
|
})(ValidationsConfig || {});
|
|
1653
|
+
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1654
|
+
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1655
|
+
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1656
|
+
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1657
|
+
return BenefitType2;
|
|
1658
|
+
})(BenefitType || {});
|
|
1659
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1660
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1661
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1662
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1663
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1664
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1665
|
+
return WebhookIdentityType2;
|
|
1666
|
+
})(WebhookIdentityType || {});
|
|
1659
1667
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1660
1668
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1661
1669
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1721,14 +1729,6 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1721
1729
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1722
1730
|
return PlatformFeeChargeType2;
|
|
1723
1731
|
})(PlatformFeeChargeType || {});
|
|
1724
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1725
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1726
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1727
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1728
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1729
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
1730
|
-
return WebhookIdentityType2;
|
|
1731
|
-
})(WebhookIdentityType || {});
|
|
1732
1732
|
async function createCart2(options) {
|
|
1733
1733
|
const { httpClient, sideEffects } = arguments[1];
|
|
1734
1734
|
const payload = (0, import_transform_paths2.transformPaths)(
|