@wix/auto_sdk_ecom_cart-v-2 1.0.199 → 1.0.200
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 +1569 -1569
- package/build/cjs/index.typings.js +14 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1570 -1570
- 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 +1569 -1569
- package/build/es/index.typings.mjs +14 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1570 -1570
- package/build/es/meta.mjs +14 -14
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1722 -1722
- package/build/internal/cjs/meta.d.ts +1763 -1763
- package/build/internal/es/index.typings.d.mts +1722 -1722
- package/build/internal/es/meta.d.mts +1763 -1763
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -1626,26 +1626,18 @@ var V1PlatformFeeChargeType = /* @__PURE__ */ ((V1PlatformFeeChargeType2) => {
|
|
|
1626
1626
|
V1PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1627
1627
|
return V1PlatformFeeChargeType2;
|
|
1628
1628
|
})(V1PlatformFeeChargeType || {});
|
|
1629
|
-
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1630
|
-
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1631
|
-
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1632
|
-
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1633
|
-
return ValidationsConfig2;
|
|
1634
|
-
})(ValidationsConfig || {});
|
|
1635
1629
|
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1636
1630
|
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1637
1631
|
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1638
1632
|
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1639
1633
|
return BenefitType2;
|
|
1640
1634
|
})(BenefitType || {});
|
|
1641
|
-
var
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
return WebhookIdentityType2;
|
|
1648
|
-
})(WebhookIdentityType || {});
|
|
1635
|
+
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1636
|
+
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1637
|
+
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1638
|
+
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1639
|
+
return ValidationsConfig2;
|
|
1640
|
+
})(ValidationsConfig || {});
|
|
1649
1641
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1650
1642
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1651
1643
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1711,6 +1703,14 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1711
1703
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1712
1704
|
return PlatformFeeChargeType2;
|
|
1713
1705
|
})(PlatformFeeChargeType || {});
|
|
1706
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1707
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1708
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1709
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1710
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1711
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1712
|
+
return WebhookIdentityType2;
|
|
1713
|
+
})(WebhookIdentityType || {});
|
|
1714
1714
|
async function createCart2(options) {
|
|
1715
1715
|
const { httpClient, sideEffects } = arguments[1];
|
|
1716
1716
|
const payload = (0, import_transform_paths2.transformPaths)(
|