@wix/auto_sdk_ecom_cart-v-2 1.0.32 → 1.0.33
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.d.ts +965 -27
- package/build/cjs/index.js +67 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +67 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +964 -26
- package/build/cjs/meta.js +67 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +965 -27
- package/build/es/index.mjs +59 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +59 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +964 -26
- package/build/es/meta.mjs +59 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +6 -4
- package/build/internal/cjs/index.js +67 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1200 -196
- package/build/internal/cjs/index.typings.js +67 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +964 -26
- package/build/internal/cjs/meta.js +67 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +6 -4
- package/build/internal/es/index.mjs +59 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1200 -196
- package/build/internal/es/index.typings.mjs +59 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +964 -26
- package/build/internal/es/meta.mjs +59 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/index.mjs
CHANGED
|
@@ -1206,6 +1206,57 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
1206
1206
|
WebhookIdentityType2["APP"] = "APP";
|
|
1207
1207
|
return WebhookIdentityType2;
|
|
1208
1208
|
})(WebhookIdentityType || {});
|
|
1209
|
+
var JurisdictionType = /* @__PURE__ */ ((JurisdictionType2) => {
|
|
1210
|
+
JurisdictionType2["UNDEFINED"] = "UNDEFINED";
|
|
1211
|
+
JurisdictionType2["COUNTRY"] = "COUNTRY";
|
|
1212
|
+
JurisdictionType2["STATE"] = "STATE";
|
|
1213
|
+
JurisdictionType2["COUNTY"] = "COUNTY";
|
|
1214
|
+
JurisdictionType2["CITY"] = "CITY";
|
|
1215
|
+
JurisdictionType2["SPECIAL"] = "SPECIAL";
|
|
1216
|
+
return JurisdictionType2;
|
|
1217
|
+
})(JurisdictionType || {});
|
|
1218
|
+
var RateType = /* @__PURE__ */ ((RateType2) => {
|
|
1219
|
+
RateType2["NO_TAX_COLLECTED"] = "NO_TAX_COLLECTED";
|
|
1220
|
+
RateType2["MANUAL_RATE"] = "MANUAL_RATE";
|
|
1221
|
+
RateType2["AUTO_RATE"] = "AUTO_RATE";
|
|
1222
|
+
RateType2["FALLBACK_RATE"] = "FALLBACK_RATE";
|
|
1223
|
+
return RateType2;
|
|
1224
|
+
})(RateType || {});
|
|
1225
|
+
var ManualCalculationReason = /* @__PURE__ */ ((ManualCalculationReason2) => {
|
|
1226
|
+
ManualCalculationReason2["GLOBAL_SETTING_TO_MANUAL"] = "GLOBAL_SETTING_TO_MANUAL";
|
|
1227
|
+
ManualCalculationReason2["REGION_SETTING_TO_MANUAL"] = "REGION_SETTING_TO_MANUAL";
|
|
1228
|
+
return ManualCalculationReason2;
|
|
1229
|
+
})(ManualCalculationReason || {});
|
|
1230
|
+
var FallbackReason = /* @__PURE__ */ ((FallbackReason2) => {
|
|
1231
|
+
FallbackReason2["AUTO_TAX_FAILED"] = "AUTO_TAX_FAILED";
|
|
1232
|
+
FallbackReason2["AUTO_TAX_DEACTIVATED"] = "AUTO_TAX_DEACTIVATED";
|
|
1233
|
+
return FallbackReason2;
|
|
1234
|
+
})(FallbackReason || {});
|
|
1235
|
+
var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
1236
|
+
PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
1237
|
+
PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
|
|
1238
|
+
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
1239
|
+
return PickupMethod2;
|
|
1240
|
+
})(PickupMethod || {});
|
|
1241
|
+
var ChargeType = /* @__PURE__ */ ((ChargeType2) => {
|
|
1242
|
+
ChargeType2["HANDLING_FEE"] = "HANDLING_FEE";
|
|
1243
|
+
ChargeType2["INSURANCE"] = "INSURANCE";
|
|
1244
|
+
return ChargeType2;
|
|
1245
|
+
})(ChargeType || {});
|
|
1246
|
+
var DiscountType = /* @__PURE__ */ ((DiscountType2) => {
|
|
1247
|
+
DiscountType2["GLOBAL"] = "GLOBAL";
|
|
1248
|
+
DiscountType2["SPECIFIC_ITEMS"] = "SPECIFIC_ITEMS";
|
|
1249
|
+
DiscountType2["SHIPPING"] = "SHIPPING";
|
|
1250
|
+
return DiscountType2;
|
|
1251
|
+
})(DiscountType || {});
|
|
1252
|
+
var AdditionalFeeSource = /* @__PURE__ */ ((AdditionalFeeSource2) => {
|
|
1253
|
+
AdditionalFeeSource2["UNKNOWN_ADDITIONAL_FEE_SOURCE"] = "UNKNOWN_ADDITIONAL_FEE_SOURCE";
|
|
1254
|
+
AdditionalFeeSource2["SERVICE_PLUGIN"] = "SERVICE_PLUGIN";
|
|
1255
|
+
AdditionalFeeSource2["ITEM"] = "ITEM";
|
|
1256
|
+
AdditionalFeeSource2["MANUAL"] = "MANUAL";
|
|
1257
|
+
AdditionalFeeSource2["SHIPPING"] = "SHIPPING";
|
|
1258
|
+
return AdditionalFeeSource2;
|
|
1259
|
+
})(AdditionalFeeSource || {});
|
|
1209
1260
|
async function createCart2(options) {
|
|
1210
1261
|
const { httpClient, sideEffects } = arguments[1];
|
|
1211
1262
|
const payload = transformPaths2(
|
|
@@ -2219,16 +2270,24 @@ var removeGiftCard4 = /* @__PURE__ */ createRESTModule(removeGiftCard3);
|
|
|
2219
2270
|
var markCartAsCompleted4 = /* @__PURE__ */ createRESTModule(markCartAsCompleted3);
|
|
2220
2271
|
var handleAsyncCheckoutCompletion4 = /* @__PURE__ */ createRESTModule(handleAsyncCheckoutCompletion3);
|
|
2221
2272
|
export {
|
|
2273
|
+
AdditionalFeeSource,
|
|
2222
2274
|
ChannelType,
|
|
2275
|
+
ChargeType,
|
|
2223
2276
|
DescriptionLineType,
|
|
2224
2277
|
DiscountScope,
|
|
2225
2278
|
DiscountSourceType,
|
|
2279
|
+
DiscountType,
|
|
2280
|
+
FallbackReason,
|
|
2226
2281
|
FileType,
|
|
2227
2282
|
ItemStatus,
|
|
2228
2283
|
ItemTypeItemType,
|
|
2284
|
+
JurisdictionType,
|
|
2285
|
+
ManualCalculationReason,
|
|
2229
2286
|
NameInLineItem,
|
|
2230
2287
|
NameInOther,
|
|
2231
2288
|
PaymentOptionType,
|
|
2289
|
+
PickupMethod,
|
|
2290
|
+
RateType,
|
|
2232
2291
|
RuleType,
|
|
2233
2292
|
Severity,
|
|
2234
2293
|
SubscriptionFrequency,
|