@wix/auto_sdk_ecom_current-cart-v-2 1.0.211 → 1.0.212
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 +1632 -1632
- package/build/cjs/index.typings.js +14 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1633 -1633
- 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 +1632 -1632
- package/build/es/index.typings.mjs +14 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1633 -1633
- package/build/es/meta.mjs +14 -14
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1803 -1803
- package/build/internal/cjs/meta.d.ts +1850 -1850
- package/build/internal/es/index.typings.d.mts +1803 -1803
- package/build/internal/es/meta.d.mts +1850 -1850
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -1144,26 +1144,18 @@ var V1PlatformFeeChargeType = /* @__PURE__ */ ((V1PlatformFeeChargeType2) => {
|
|
|
1144
1144
|
V1PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1145
1145
|
return V1PlatformFeeChargeType2;
|
|
1146
1146
|
})(V1PlatformFeeChargeType || {});
|
|
1147
|
-
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1148
|
-
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1149
|
-
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1150
|
-
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1151
|
-
return ValidationsConfig2;
|
|
1152
|
-
})(ValidationsConfig || {});
|
|
1153
1147
|
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1154
1148
|
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1155
1149
|
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1156
1150
|
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1157
1151
|
return BenefitType2;
|
|
1158
1152
|
})(BenefitType || {});
|
|
1159
|
-
var
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
return WebhookIdentityType2;
|
|
1166
|
-
})(WebhookIdentityType || {});
|
|
1153
|
+
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1154
|
+
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1155
|
+
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1156
|
+
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1157
|
+
return ValidationsConfig2;
|
|
1158
|
+
})(ValidationsConfig || {});
|
|
1167
1159
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1168
1160
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1169
1161
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1229,6 +1221,14 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1229
1221
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1230
1222
|
return PlatformFeeChargeType2;
|
|
1231
1223
|
})(PlatformFeeChargeType || {});
|
|
1224
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1225
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1226
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1227
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1228
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1229
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1230
|
+
return WebhookIdentityType2;
|
|
1231
|
+
})(WebhookIdentityType || {});
|
|
1232
1232
|
async function createCurrentCart2(options) {
|
|
1233
1233
|
const { httpClient, sideEffects } = arguments[1];
|
|
1234
1234
|
const payload = (0, import_transform_paths2.transformPaths)(
|