@wix/auto_sdk_ecom_current-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
|
@@ -1147,26 +1147,18 @@ var V1PlatformFeeChargeType = /* @__PURE__ */ ((V1PlatformFeeChargeType2) => {
|
|
|
1147
1147
|
V1PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1148
1148
|
return V1PlatformFeeChargeType2;
|
|
1149
1149
|
})(V1PlatformFeeChargeType || {});
|
|
1150
|
-
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1151
|
-
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1152
|
-
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1153
|
-
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1154
|
-
return ValidationsConfig2;
|
|
1155
|
-
})(ValidationsConfig || {});
|
|
1156
1150
|
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1157
1151
|
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1158
1152
|
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1159
1153
|
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1160
1154
|
return BenefitType2;
|
|
1161
1155
|
})(BenefitType || {});
|
|
1162
|
-
var
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
return WebhookIdentityType2;
|
|
1169
|
-
})(WebhookIdentityType || {});
|
|
1156
|
+
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1157
|
+
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1158
|
+
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1159
|
+
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1160
|
+
return ValidationsConfig2;
|
|
1161
|
+
})(ValidationsConfig || {});
|
|
1170
1162
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1171
1163
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1172
1164
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1232,6 +1224,14 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1232
1224
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1233
1225
|
return PlatformFeeChargeType2;
|
|
1234
1226
|
})(PlatformFeeChargeType || {});
|
|
1227
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1228
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1229
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1230
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1231
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1232
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1233
|
+
return WebhookIdentityType2;
|
|
1234
|
+
})(WebhookIdentityType || {});
|
|
1235
1235
|
async function createCurrentCart2(options) {
|
|
1236
1236
|
const { httpClient, sideEffects } = arguments[1];
|
|
1237
1237
|
const payload = (0, import_transform_paths2.transformPaths)(
|