@wix/auto_sdk_ecom_cart-v-2 1.0.219 → 1.0.220
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
|
@@ -1253,26 +1253,18 @@ var V1PlatformFeeChargeType = /* @__PURE__ */ ((V1PlatformFeeChargeType2) => {
|
|
|
1253
1253
|
V1PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1254
1254
|
return V1PlatformFeeChargeType2;
|
|
1255
1255
|
})(V1PlatformFeeChargeType || {});
|
|
1256
|
-
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1257
|
-
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1258
|
-
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1259
|
-
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1260
|
-
return ValidationsConfig2;
|
|
1261
|
-
})(ValidationsConfig || {});
|
|
1262
1256
|
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1263
1257
|
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1264
1258
|
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1265
1259
|
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1266
1260
|
return BenefitType2;
|
|
1267
1261
|
})(BenefitType || {});
|
|
1268
|
-
var
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
return WebhookIdentityType2;
|
|
1275
|
-
})(WebhookIdentityType || {});
|
|
1262
|
+
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1263
|
+
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1264
|
+
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1265
|
+
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1266
|
+
return ValidationsConfig2;
|
|
1267
|
+
})(ValidationsConfig || {});
|
|
1276
1268
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1277
1269
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1278
1270
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1338,6 +1330,14 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1338
1330
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1339
1331
|
return PlatformFeeChargeType2;
|
|
1340
1332
|
})(PlatformFeeChargeType || {});
|
|
1333
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1334
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1335
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1336
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1337
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1338
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1339
|
+
return WebhookIdentityType2;
|
|
1340
|
+
})(WebhookIdentityType || {});
|
|
1341
1341
|
async function createCart2(options) {
|
|
1342
1342
|
const { httpClient, sideEffects } = arguments[1];
|
|
1343
1343
|
const payload = (0, import_transform_paths2.transformPaths)(
|