@wix/auto_sdk_ecom_cart-v-2 1.0.215 → 1.0.216
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 +15 -14
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1632 -1632
- package/build/cjs/index.typings.js +15 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1633 -1633
- package/build/cjs/meta.js +15 -14
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +15 -14
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1632 -1632
- package/build/es/index.typings.mjs +15 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1633 -1633
- package/build/es/meta.mjs +15 -14
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1809 -1805
- package/build/internal/cjs/meta.d.ts +1854 -1850
- package/build/internal/es/index.typings.d.mts +1809 -1805
- package/build/internal/es/meta.d.mts +1854 -1850
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -1031,6 +1031,7 @@ var ItemTypePreset = /* @__PURE__ */ ((ItemTypePreset2) => {
|
|
|
1031
1031
|
ItemTypePreset2["DIGITAL"] = "DIGITAL";
|
|
1032
1032
|
ItemTypePreset2["GIFT_CARD"] = "GIFT_CARD";
|
|
1033
1033
|
ItemTypePreset2["SERVICE"] = "SERVICE";
|
|
1034
|
+
ItemTypePreset2["BUNDLE"] = "BUNDLE";
|
|
1034
1035
|
return ItemTypePreset2;
|
|
1035
1036
|
})(ItemTypePreset || {});
|
|
1036
1037
|
var SubscriptionFrequency = /* @__PURE__ */ ((SubscriptionFrequency2) => {
|
|
@@ -1250,26 +1251,18 @@ var V1PlatformFeeChargeType = /* @__PURE__ */ ((V1PlatformFeeChargeType2) => {
|
|
|
1250
1251
|
V1PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1251
1252
|
return V1PlatformFeeChargeType2;
|
|
1252
1253
|
})(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
1254
|
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1260
1255
|
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1261
1256
|
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1262
1257
|
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1263
1258
|
return BenefitType2;
|
|
1264
1259
|
})(BenefitType || {});
|
|
1265
|
-
var
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
return WebhookIdentityType2;
|
|
1272
|
-
})(WebhookIdentityType || {});
|
|
1260
|
+
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1261
|
+
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1262
|
+
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1263
|
+
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1264
|
+
return ValidationsConfig2;
|
|
1265
|
+
})(ValidationsConfig || {});
|
|
1273
1266
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1274
1267
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1275
1268
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1335,6 +1328,14 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1335
1328
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1336
1329
|
return PlatformFeeChargeType2;
|
|
1337
1330
|
})(PlatformFeeChargeType || {});
|
|
1331
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1332
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1333
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1334
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1335
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1336
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1337
|
+
return WebhookIdentityType2;
|
|
1338
|
+
})(WebhookIdentityType || {});
|
|
1338
1339
|
async function createCart2(options) {
|
|
1339
1340
|
const { httpClient, sideEffects } = arguments[1];
|
|
1340
1341
|
const payload = (0, import_transform_paths2.transformPaths)(
|