@wix/auto_sdk_ecom_current-cart-v-2 1.0.196 → 1.0.198
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 +1576 -1576
- 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 +1576 -1576
- 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 +1727 -1721
- package/build/internal/cjs/meta.d.ts +1768 -1762
- package/build/internal/es/index.typings.d.mts +1727 -1721
- package/build/internal/es/meta.d.mts +1768 -1762
- package/package.json +4 -11
- package/build/cjs/schemas.d.ts +0 -11576
- package/build/cjs/schemas.js +0 -21220
- package/build/cjs/schemas.js.map +0 -1
- package/build/es/schemas.d.mts +0 -11576
- package/build/es/schemas.mjs +0 -21150
- package/build/es/schemas.mjs.map +0 -1
- package/build/internal/cjs/schemas.d.ts +0 -11576
- package/build/internal/es/schemas.d.mts +0 -11576
- package/schemas/package.json +0 -3
package/build/cjs/index.js
CHANGED
|
@@ -1495,26 +1495,18 @@ var V1PlatformFeeChargeType = /* @__PURE__ */ ((V1PlatformFeeChargeType2) => {
|
|
|
1495
1495
|
V1PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1496
1496
|
return V1PlatformFeeChargeType2;
|
|
1497
1497
|
})(V1PlatformFeeChargeType || {});
|
|
1498
|
-
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1499
|
-
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1500
|
-
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1501
|
-
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1502
|
-
return ValidationsConfig2;
|
|
1503
|
-
})(ValidationsConfig || {});
|
|
1504
1498
|
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1505
1499
|
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1506
1500
|
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1507
1501
|
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1508
1502
|
return BenefitType2;
|
|
1509
1503
|
})(BenefitType || {});
|
|
1510
|
-
var
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
return WebhookIdentityType2;
|
|
1517
|
-
})(WebhookIdentityType || {});
|
|
1504
|
+
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1505
|
+
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1506
|
+
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1507
|
+
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1508
|
+
return ValidationsConfig2;
|
|
1509
|
+
})(ValidationsConfig || {});
|
|
1518
1510
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1519
1511
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1520
1512
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1580,6 +1572,14 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1580
1572
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1581
1573
|
return PlatformFeeChargeType2;
|
|
1582
1574
|
})(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
1583
|
async function createCurrentCart2(options) {
|
|
1584
1584
|
const { httpClient, sideEffects } = arguments[1];
|
|
1585
1585
|
const payload = (0, import_transform_paths2.transformPaths)(
|