@wix/auto_sdk_ecom_cart-v-2 1.0.197 → 1.0.199
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 +16 -14
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1578 -1574
- package/build/cjs/index.typings.js +16 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1578 -1574
- package/build/cjs/meta.js +16 -14
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +16 -14
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1578 -1574
- package/build/es/index.typings.mjs +16 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1578 -1574
- package/build/es/meta.mjs +16 -14
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1749 -1733
- package/build/internal/cjs/meta.d.ts +1786 -1770
- package/build/internal/es/index.typings.d.mts +1749 -1733
- package/build/internal/es/meta.d.mts +1786 -1770
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -1558,6 +1558,7 @@ var ViolationScope = /* @__PURE__ */ ((ViolationScope2) => {
|
|
|
1558
1558
|
ViolationScope2["TAX"] = "TAX";
|
|
1559
1559
|
ViolationScope2["MEMBERSHIP"] = "MEMBERSHIP";
|
|
1560
1560
|
ViolationScope2["GIFT_CARD"] = "GIFT_CARD";
|
|
1561
|
+
ViolationScope2["PAYMENT"] = "PAYMENT";
|
|
1561
1562
|
return ViolationScope2;
|
|
1562
1563
|
})(ViolationScope || {});
|
|
1563
1564
|
var ViolationCode = /* @__PURE__ */ ((ViolationCode2) => {
|
|
@@ -1584,6 +1585,7 @@ var ViolationCode = /* @__PURE__ */ ((ViolationCode2) => {
|
|
|
1584
1585
|
ViolationCode2["GIFT_CARD_ITEM_NOT_SUPPORTED_ON_DEMO_CART"] = "GIFT_CARD_ITEM_NOT_SUPPORTED_ON_DEMO_CART";
|
|
1585
1586
|
ViolationCode2["GIFT_CARD_PAYMENT_NOT_SUPPORTED_ON_DEMO_CART"] = "GIFT_CARD_PAYMENT_NOT_SUPPORTED_ON_DEMO_CART";
|
|
1586
1587
|
ViolationCode2["MEMBERSHIP_PAYMENT_NOT_SUPPORTED_ON_DEMO_CART"] = "MEMBERSHIP_PAYMENT_NOT_SUPPORTED_ON_DEMO_CART";
|
|
1588
|
+
ViolationCode2["MISSING_SITE_PAYMENT_METHOD_TYPE_ID"] = "MISSING_SITE_PAYMENT_METHOD_TYPE_ID";
|
|
1587
1589
|
return ViolationCode2;
|
|
1588
1590
|
})(ViolationCode || {});
|
|
1589
1591
|
var ViolationSeverity = /* @__PURE__ */ ((ViolationSeverity2) => {
|
|
@@ -1624,18 +1626,26 @@ var V1PlatformFeeChargeType = /* @__PURE__ */ ((V1PlatformFeeChargeType2) => {
|
|
|
1624
1626
|
V1PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1625
1627
|
return V1PlatformFeeChargeType2;
|
|
1626
1628
|
})(V1PlatformFeeChargeType || {});
|
|
1627
|
-
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1628
|
-
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1629
|
-
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1630
|
-
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1631
|
-
return BenefitType2;
|
|
1632
|
-
})(BenefitType || {});
|
|
1633
1629
|
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1634
1630
|
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1635
1631
|
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1636
1632
|
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1637
1633
|
return ValidationsConfig2;
|
|
1638
1634
|
})(ValidationsConfig || {});
|
|
1635
|
+
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1636
|
+
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1637
|
+
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1638
|
+
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1639
|
+
return BenefitType2;
|
|
1640
|
+
})(BenefitType || {});
|
|
1641
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1642
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1643
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1644
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1645
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1646
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1647
|
+
return WebhookIdentityType2;
|
|
1648
|
+
})(WebhookIdentityType || {});
|
|
1639
1649
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1640
1650
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1641
1651
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1701,14 +1711,6 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1701
1711
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1702
1712
|
return PlatformFeeChargeType2;
|
|
1703
1713
|
})(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
1714
|
async function createCart2(options) {
|
|
1713
1715
|
const { httpClient, sideEffects } = arguments[1];
|
|
1714
1716
|
const payload = (0, import_transform_paths2.transformPaths)(
|