@wix/auto_sdk_ecom_current-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 +1807 -1803
- package/build/internal/cjs/meta.d.ts +1854 -1850
- package/build/internal/es/index.typings.d.mts +1807 -1803
- package/build/internal/es/meta.d.mts +1854 -1850
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -925,6 +925,7 @@ var ItemTypePreset = /* @__PURE__ */ ((ItemTypePreset2) => {
|
|
|
925
925
|
ItemTypePreset2["DIGITAL"] = "DIGITAL";
|
|
926
926
|
ItemTypePreset2["GIFT_CARD"] = "GIFT_CARD";
|
|
927
927
|
ItemTypePreset2["SERVICE"] = "SERVICE";
|
|
928
|
+
ItemTypePreset2["BUNDLE"] = "BUNDLE";
|
|
928
929
|
return ItemTypePreset2;
|
|
929
930
|
})(ItemTypePreset || {});
|
|
930
931
|
var SubscriptionFrequency = /* @__PURE__ */ ((SubscriptionFrequency2) => {
|
|
@@ -1144,26 +1145,18 @@ var V1PlatformFeeChargeType = /* @__PURE__ */ ((V1PlatformFeeChargeType2) => {
|
|
|
1144
1145
|
V1PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1145
1146
|
return V1PlatformFeeChargeType2;
|
|
1146
1147
|
})(V1PlatformFeeChargeType || {});
|
|
1147
|
-
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1148
|
-
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1149
|
-
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1150
|
-
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1151
|
-
return ValidationsConfig2;
|
|
1152
|
-
})(ValidationsConfig || {});
|
|
1153
1148
|
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
1154
1149
|
BenefitType2["PERCENTAGE"] = "PERCENTAGE";
|
|
1155
1150
|
BenefitType2["FIXED_PRICE"] = "FIXED_PRICE";
|
|
1156
1151
|
BenefitType2["FIXED_AMOUNT"] = "FIXED_AMOUNT";
|
|
1157
1152
|
return BenefitType2;
|
|
1158
1153
|
})(BenefitType || {});
|
|
1159
|
-
var
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
return WebhookIdentityType2;
|
|
1166
|
-
})(WebhookIdentityType || {});
|
|
1154
|
+
var ValidationsConfig = /* @__PURE__ */ ((ValidationsConfig2) => {
|
|
1155
|
+
ValidationsConfig2["SKIP_VALIDATIONS"] = "SKIP_VALIDATIONS";
|
|
1156
|
+
ValidationsConfig2["PRE_CHECKOUT_VALIDATIONS"] = "PRE_CHECKOUT_VALIDATIONS";
|
|
1157
|
+
ValidationsConfig2["CHECKOUT_VALIDATIONS"] = "CHECKOUT_VALIDATIONS";
|
|
1158
|
+
return ValidationsConfig2;
|
|
1159
|
+
})(ValidationsConfig || {});
|
|
1167
1160
|
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1168
1161
|
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1169
1162
|
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
@@ -1229,6 +1222,14 @@ var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
|
1229
1222
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1230
1223
|
return PlatformFeeChargeType2;
|
|
1231
1224
|
})(PlatformFeeChargeType || {});
|
|
1225
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1226
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1227
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
1228
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
1229
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
1230
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
1231
|
+
return WebhookIdentityType2;
|
|
1232
|
+
})(WebhookIdentityType || {});
|
|
1232
1233
|
async function createCurrentCart2(options) {
|
|
1233
1234
|
const { httpClient, sideEffects } = arguments[1];
|
|
1234
1235
|
const payload = (0, import_transform_paths2.transformPaths)(
|