@wix/auto_sdk_ecom_current-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 +1575 -1575
- package/build/cjs/index.typings.js +14 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1569 -1569
- 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 +1575 -1575
- package/build/es/index.typings.mjs +14 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1569 -1569
- package/build/es/meta.mjs +14 -14
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1720 -1720
- package/build/internal/cjs/meta.d.ts +1759 -1759
- package/build/internal/es/index.typings.d.mts +1720 -1720
- package/build/internal/es/meta.d.mts +1759 -1759
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -1497,26 +1497,18 @@ var V1PlatformFeeChargeType = /* @__PURE__ */ ((V1PlatformFeeChargeType2) => {
|
|
|
1497
1497
|
V1PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1498
1498
|
return V1PlatformFeeChargeType2;
|
|
1499
1499
|
})(V1PlatformFeeChargeType || {});
|
|
1500
|
-
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1501
|
-
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1502
|
-
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1503
|
-
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1504
|
-
return ValidationsConfig2;
|
|
1505
|
-
})(ValidationsConfig || {});
|
|
1506
1500
|
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1507
1501
|
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1508
1502
|
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1509
1503
|
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1510
1504
|
return BenefitType2;
|
|
1511
1505
|
})(BenefitType || {});
|
|
1512
|
-
var
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
return WebhookIdentityType2;
|
|
1519
|
-
})(WebhookIdentityType || {});
|
|
1506
|
+
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1507
|
+
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1508
|
+
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1509
|
+
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1510
|
+
return ValidationsConfig2;
|
|
1511
|
+
})(ValidationsConfig || {});
|
|
1520
1512
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1521
1513
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1522
1514
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1582,6 +1574,14 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1582
1574
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1583
1575
|
return PlatformFeeChargeType2;
|
|
1584
1576
|
})(PlatformFeeChargeType || {});
|
|
1577
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1578
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1579
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1580
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1581
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1582
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1583
|
+
return WebhookIdentityType2;
|
|
1584
|
+
})(WebhookIdentityType || {});
|
|
1585
1585
|
async function createCurrentCart2(options) {
|
|
1586
1586
|
const { httpClient, sideEffects } = arguments[1];
|
|
1587
1587
|
const payload = (0, import_transform_paths2.transformPaths)(
|