@wix/auto_sdk_ecom_current-cart-v-2 1.0.160 → 1.0.161
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 +1433 -1433
- package/build/cjs/index.typings.js +14 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1434 -1434
- 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 +1433 -1433
- package/build/es/index.typings.mjs +14 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1434 -1434
- package/build/es/meta.mjs +14 -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 +1525 -1525
- 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 +1434 -1434
- package/build/internal/cjs/meta.js +14 -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 +1525 -1525
- 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 +1434 -1434
- package/build/internal/es/meta.mjs +14 -14
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -1512,18 +1512,26 @@ var InvalidMembershipReason = /* @__PURE__ */ ((InvalidMembershipReason2) => {
|
|
|
1512
1512
|
InvalidMembershipReason2["INSUFFICIENT_FUNDS"] = "INSUFFICIENT_FUNDS";
|
|
1513
1513
|
return InvalidMembershipReason2;
|
|
1514
1514
|
})(InvalidMembershipReason || {});
|
|
1515
|
-
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1516
|
-
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1517
|
-
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1518
|
-
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1519
|
-
return BenefitType2;
|
|
1520
|
-
})(BenefitType || {});
|
|
1521
1515
|
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1522
1516
|
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1523
1517
|
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1524
1518
|
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1525
1519
|
return ValidationsConfig2;
|
|
1526
1520
|
})(ValidationsConfig || {});
|
|
1521
|
+
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1522
|
+
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1523
|
+
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1524
|
+
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1525
|
+
return BenefitType2;
|
|
1526
|
+
})(BenefitType || {});
|
|
1527
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1528
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1529
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1530
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1531
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1532
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1533
|
+
return WebhookIdentityType2;
|
|
1534
|
+
})(WebhookIdentityType || {});
|
|
1527
1535
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1528
1536
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1529
1537
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1589,14 +1597,6 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1589
1597
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1590
1598
|
return PlatformFeeChargeType2;
|
|
1591
1599
|
})(PlatformFeeChargeType || {});
|
|
1592
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1593
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1594
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1595
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1596
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1597
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
1598
|
-
return WebhookIdentityType2;
|
|
1599
|
-
})(WebhookIdentityType || {});
|
|
1600
1600
|
async function createCurrentCart2(options) {
|
|
1601
1601
|
const { httpClient, sideEffects } = arguments[1];
|
|
1602
1602
|
const payload = (0, import_transform_paths2.transformPaths)(
|