@wix/auto_sdk_ecom_current-cart-v-2 1.0.222 → 1.0.223
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
|
@@ -1168,26 +1168,18 @@ var V1PlatformFeeChargeType = /* @__PURE__ */ ((V1PlatformFeeChargeType2) => {
|
|
|
1168
1168
|
V1PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1169
1169
|
return V1PlatformFeeChargeType2;
|
|
1170
1170
|
})(V1PlatformFeeChargeType || {});
|
|
1171
|
-
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1172
|
-
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1173
|
-
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1174
|
-
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1175
|
-
return ValidationsConfig2;
|
|
1176
|
-
})(ValidationsConfig || {});
|
|
1177
1171
|
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1178
1172
|
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1179
1173
|
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1180
1174
|
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1181
1175
|
return BenefitType2;
|
|
1182
1176
|
})(BenefitType || {});
|
|
1183
|
-
var
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
return WebhookIdentityType2;
|
|
1190
|
-
})(WebhookIdentityType || {});
|
|
1177
|
+
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1178
|
+
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1179
|
+
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1180
|
+
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1181
|
+
return ValidationsConfig2;
|
|
1182
|
+
})(ValidationsConfig || {});
|
|
1191
1183
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1192
1184
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1193
1185
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1253,6 +1245,14 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1253
1245
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1254
1246
|
return PlatformFeeChargeType2;
|
|
1255
1247
|
})(PlatformFeeChargeType || {});
|
|
1248
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1249
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1250
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1251
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1252
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1253
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1254
|
+
return WebhookIdentityType2;
|
|
1255
|
+
})(WebhookIdentityType || {});
|
|
1256
1256
|
async function createCurrentCart2(options) {
|
|
1257
1257
|
const { httpClient, sideEffects } = arguments[1];
|
|
1258
1258
|
const payload = (0, import_transform_paths2.transformPaths)(
|