@wix/auto_sdk_ecom_current-cart-v-2 1.0.230 → 1.0.231
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 +1643 -1643
- package/build/cjs/index.typings.js +14 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1640 -1640
- 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 +1643 -1643
- package/build/es/index.typings.mjs +14 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1640 -1640
- 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 +1856 -1856
- package/build/internal/es/index.typings.d.mts +1803 -1803
- package/build/internal/es/meta.d.mts +1856 -1856
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -1192,26 +1192,18 @@ var V1PlatformFeeChargeType = /* @__PURE__ */ ((V1PlatformFeeChargeType2) => {
|
|
|
1192
1192
|
V1PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1193
1193
|
return V1PlatformFeeChargeType2;
|
|
1194
1194
|
})(V1PlatformFeeChargeType || {});
|
|
1195
|
-
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1196
|
-
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1197
|
-
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1198
|
-
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1199
|
-
return ValidationsConfig2;
|
|
1200
|
-
})(ValidationsConfig || {});
|
|
1201
1195
|
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1202
1196
|
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1203
1197
|
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1204
1198
|
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1205
1199
|
return BenefitType2;
|
|
1206
1200
|
})(BenefitType || {});
|
|
1207
|
-
var
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
return WebhookIdentityType2;
|
|
1214
|
-
})(WebhookIdentityType || {});
|
|
1201
|
+
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1202
|
+
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1203
|
+
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1204
|
+
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1205
|
+
return ValidationsConfig2;
|
|
1206
|
+
})(ValidationsConfig || {});
|
|
1215
1207
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1216
1208
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1217
1209
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1277,6 +1269,14 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1277
1269
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1278
1270
|
return PlatformFeeChargeType2;
|
|
1279
1271
|
})(PlatformFeeChargeType || {});
|
|
1272
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1273
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1274
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1275
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1276
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1277
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1278
|
+
return WebhookIdentityType2;
|
|
1279
|
+
})(WebhookIdentityType || {});
|
|
1280
1280
|
async function createCurrentCart2(options) {
|
|
1281
1281
|
const { httpClient, sideEffects } = arguments[1];
|
|
1282
1282
|
const payload = (0, import_transform_paths2.transformPaths)(
|