@wix/auto_sdk_ecom_current-cart-v-2 1.0.174 → 1.0.176
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 +1551 -1553
- package/build/cjs/index.typings.js +14 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1558 -1560
- package/build/cjs/meta.js +16 -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 +1551 -1553
- package/build/es/index.typings.mjs +14 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1558 -1560
- package/build/es/meta.mjs +16 -14
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +14 -14
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1937 -1650
- package/build/internal/cjs/index.typings.js +14 -14
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +2170 -1557
- package/build/internal/cjs/meta.js +16 -14
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +14 -14
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1937 -1650
- package/build/internal/es/index.typings.mjs +14 -14
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +2170 -1557
- package/build/internal/es/meta.mjs +16 -14
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
package/build/cjs/index.js
CHANGED
|
@@ -1482,18 +1482,26 @@ var InvalidMembershipReason = /* @__PURE__ */ ((InvalidMembershipReason2) => {
|
|
|
1482
1482
|
InvalidMembershipReason2["INSUFFICIENT_FUNDS"] = "INSUFFICIENT_FUNDS";
|
|
1483
1483
|
return InvalidMembershipReason2;
|
|
1484
1484
|
})(InvalidMembershipReason || {});
|
|
1485
|
-
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1486
|
-
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1487
|
-
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1488
|
-
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1489
|
-
return BenefitType2;
|
|
1490
|
-
})(BenefitType || {});
|
|
1491
1485
|
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1492
1486
|
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1493
1487
|
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1494
1488
|
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1495
1489
|
return ValidationsConfig2;
|
|
1496
1490
|
})(ValidationsConfig || {});
|
|
1491
|
+
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1492
|
+
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1493
|
+
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1494
|
+
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1495
|
+
return BenefitType2;
|
|
1496
|
+
})(BenefitType || {});
|
|
1497
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1498
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1499
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1500
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1501
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1502
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1503
|
+
return WebhookIdentityType2;
|
|
1504
|
+
})(WebhookIdentityType || {});
|
|
1497
1505
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1498
1506
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1499
1507
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1559,14 +1567,6 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1559
1567
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1560
1568
|
return PlatformFeeChargeType2;
|
|
1561
1569
|
})(PlatformFeeChargeType || {});
|
|
1562
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1563
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1564
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1565
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1566
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1567
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
1568
|
-
return WebhookIdentityType2;
|
|
1569
|
-
})(WebhookIdentityType || {});
|
|
1570
1570
|
async function createCurrentCart2(options) {
|
|
1571
1571
|
const { httpClient, sideEffects } = arguments[1];
|
|
1572
1572
|
const payload = (0, import_transform_paths2.transformPaths)(
|