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