@wix/auto_sdk_ecom_current-cart-v-2 1.0.198 → 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 +1575 -1575
- package/build/cjs/index.typings.js +16 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1576 -1576
- 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 +1575 -1575
- package/build/es/index.typings.mjs +16 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1576 -1576
- package/build/es/meta.mjs +16 -14
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1748 -1736
- package/build/internal/cjs/meta.d.ts +1779 -1767
- package/build/internal/es/index.typings.d.mts +1748 -1736
- package/build/internal/es/meta.d.mts +1779 -1767
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -1429,6 +1429,7 @@ var ViolationScope = /* @__PURE__ */ ((ViolationScope2) => {
|
|
|
1429
1429
|
ViolationScope2["TAX"] = "TAX";
|
|
1430
1430
|
ViolationScope2["MEMBERSHIP"] = "MEMBERSHIP";
|
|
1431
1431
|
ViolationScope2["GIFT_CARD"] = "GIFT_CARD";
|
|
1432
|
+
ViolationScope2["PAYMENT"] = "PAYMENT";
|
|
1432
1433
|
return ViolationScope2;
|
|
1433
1434
|
})(ViolationScope || {});
|
|
1434
1435
|
var ViolationCode = /* @__PURE__ */ ((ViolationCode2) => {
|
|
@@ -1455,6 +1456,7 @@ var ViolationCode = /* @__PURE__ */ ((ViolationCode2) => {
|
|
|
1455
1456
|
ViolationCode2["GIFT_CARD_ITEM_NOT_SUPPORTED_ON_DEMO_CART"] = "GIFT_CARD_ITEM_NOT_SUPPORTED_ON_DEMO_CART";
|
|
1456
1457
|
ViolationCode2["GIFT_CARD_PAYMENT_NOT_SUPPORTED_ON_DEMO_CART"] = "GIFT_CARD_PAYMENT_NOT_SUPPORTED_ON_DEMO_CART";
|
|
1457
1458
|
ViolationCode2["MEMBERSHIP_PAYMENT_NOT_SUPPORTED_ON_DEMO_CART"] = "MEMBERSHIP_PAYMENT_NOT_SUPPORTED_ON_DEMO_CART";
|
|
1459
|
+
ViolationCode2["MISSING_SITE_PAYMENT_METHOD_TYPE_ID"] = "MISSING_SITE_PAYMENT_METHOD_TYPE_ID";
|
|
1458
1460
|
return ViolationCode2;
|
|
1459
1461
|
})(ViolationCode || {});
|
|
1460
1462
|
var ViolationSeverity = /* @__PURE__ */ ((ViolationSeverity2) => {
|
|
@@ -1495,18 +1497,26 @@ var V1PlatformFeeChargeType = /* @__PURE__ */ ((V1PlatformFeeChargeType2) => {
|
|
|
1495
1497
|
V1PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1496
1498
|
return V1PlatformFeeChargeType2;
|
|
1497
1499
|
})(V1PlatformFeeChargeType || {});
|
|
1498
|
-
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1499
|
-
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1500
|
-
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1501
|
-
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1502
|
-
return BenefitType2;
|
|
1503
|
-
})(BenefitType || {});
|
|
1504
1500
|
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1505
1501
|
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1506
1502
|
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1507
1503
|
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1508
1504
|
return ValidationsConfig2;
|
|
1509
1505
|
})(ValidationsConfig || {});
|
|
1506
|
+
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1507
|
+
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1508
|
+
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1509
|
+
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1510
|
+
return BenefitType2;
|
|
1511
|
+
})(BenefitType || {});
|
|
1512
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1513
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1514
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1515
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1516
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1517
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1518
|
+
return WebhookIdentityType2;
|
|
1519
|
+
})(WebhookIdentityType || {});
|
|
1510
1520
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1511
1521
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1512
1522
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1572,14 +1582,6 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1572
1582
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1573
1583
|
return PlatformFeeChargeType2;
|
|
1574
1584
|
})(PlatformFeeChargeType || {});
|
|
1575
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1576
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1577
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1578
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1579
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1580
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
1581
|
-
return WebhookIdentityType2;
|
|
1582
|
-
})(WebhookIdentityType || {});
|
|
1583
1585
|
async function createCurrentCart2(options) {
|
|
1584
1586
|
const { httpClient, sideEffects } = arguments[1];
|
|
1585
1587
|
const payload = (0, import_transform_paths2.transformPaths)(
|