@wix/auto_sdk_ecom_current-cart-v-2 1.0.226 → 1.0.227
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 +1637 -1629
- package/build/cjs/index.typings.js +14 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1638 -1630
- 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 +1637 -1629
- package/build/es/index.typings.mjs +14 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1638 -1630
- package/build/es/meta.mjs +14 -14
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1793 -1794
- package/build/internal/cjs/meta.d.ts +1843 -1844
- package/build/internal/es/index.typings.d.mts +1793 -1794
- package/build/internal/es/meta.d.mts +1843 -1844
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -1174,26 +1174,18 @@ var V1PlatformFeeChargeType = /* @__PURE__ */ ((V1PlatformFeeChargeType2) => {
|
|
|
1174
1174
|
V1PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1175
1175
|
return V1PlatformFeeChargeType2;
|
|
1176
1176
|
})(V1PlatformFeeChargeType || {});
|
|
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 || {});
|
|
1183
1177
|
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1184
1178
|
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1185
1179
|
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1186
1180
|
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1187
1181
|
return BenefitType2;
|
|
1188
1182
|
})(BenefitType || {});
|
|
1189
|
-
var
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
return WebhookIdentityType2;
|
|
1196
|
-
})(WebhookIdentityType || {});
|
|
1183
|
+
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1184
|
+
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1185
|
+
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1186
|
+
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1187
|
+
return ValidationsConfig2;
|
|
1188
|
+
})(ValidationsConfig || {});
|
|
1197
1189
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1198
1190
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1199
1191
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1259,6 +1251,14 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1259
1251
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1260
1252
|
return PlatformFeeChargeType2;
|
|
1261
1253
|
})(PlatformFeeChargeType || {});
|
|
1254
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1255
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1256
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1257
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1258
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1259
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1260
|
+
return WebhookIdentityType2;
|
|
1261
|
+
})(WebhookIdentityType || {});
|
|
1262
1262
|
async function createCurrentCart2(options) {
|
|
1263
1263
|
const { httpClient, sideEffects } = arguments[1];
|
|
1264
1264
|
const payload = (0, import_transform_paths2.transformPaths)(
|