@wix/auto_sdk_ecom_cart-v-2 1.0.171 → 1.0.172
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 +1552 -1552
- package/build/cjs/index.typings.js +14 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1559 -1559
- 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 +1552 -1552
- package/build/es/index.typings.mjs +14 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1559 -1559
- 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 +1652 -1652
- 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 +1559 -1559
- 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 +1652 -1652
- 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 +1559 -1559
- 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
|
@@ -1597,18 +1597,26 @@ var InvalidMembershipReason = /* @__PURE__ */ ((InvalidMembershipReason2) => {
|
|
|
1597
1597
|
InvalidMembershipReason2["INSUFFICIENT_FUNDS"] = "INSUFFICIENT_FUNDS";
|
|
1598
1598
|
return InvalidMembershipReason2;
|
|
1599
1599
|
})(InvalidMembershipReason || {});
|
|
1600
|
-
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1601
|
-
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1602
|
-
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1603
|
-
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1604
|
-
return BenefitType2;
|
|
1605
|
-
})(BenefitType || {});
|
|
1606
1600
|
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1607
1601
|
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1608
1602
|
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1609
1603
|
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1610
1604
|
return ValidationsConfig2;
|
|
1611
1605
|
})(ValidationsConfig || {});
|
|
1606
|
+
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1607
|
+
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1608
|
+
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1609
|
+
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1610
|
+
return BenefitType2;
|
|
1611
|
+
})(BenefitType || {});
|
|
1612
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1613
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1614
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1615
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1616
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1617
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1618
|
+
return WebhookIdentityType2;
|
|
1619
|
+
})(WebhookIdentityType || {});
|
|
1612
1620
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1613
1621
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1614
1622
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1674,14 +1682,6 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1674
1682
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1675
1683
|
return PlatformFeeChargeType2;
|
|
1676
1684
|
})(PlatformFeeChargeType || {});
|
|
1677
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1678
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1679
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1680
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1681
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1682
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
1683
|
-
return WebhookIdentityType2;
|
|
1684
|
-
})(WebhookIdentityType || {});
|
|
1685
1685
|
async function createCart2(options) {
|
|
1686
1686
|
const { httpClient, sideEffects } = arguments[1];
|
|
1687
1687
|
const payload = (0, import_transform_paths2.transformPaths)(
|