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