@wix/auto_sdk_ecom_cart-v-2 1.0.32 → 1.0.34
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 +1107 -185
- 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 +1106 -184
- package/build/cjs/meta.js +67 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1107 -185
- 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 +1106 -184
- 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 +1186 -198
- 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 +1106 -184
- 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 +1186 -198
- 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 +1106 -184
- package/build/internal/es/meta.mjs +59 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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(
|
|
@@ -2057,16 +2108,24 @@ async function handleAsyncCheckoutCompletion2(token) {
|
|
|
2057
2108
|
}
|
|
2058
2109
|
}
|
|
2059
2110
|
export {
|
|
2111
|
+
AdditionalFeeSource,
|
|
2060
2112
|
ChannelType,
|
|
2113
|
+
ChargeType,
|
|
2061
2114
|
DescriptionLineType,
|
|
2062
2115
|
DiscountScope,
|
|
2063
2116
|
DiscountSourceType,
|
|
2117
|
+
DiscountType,
|
|
2118
|
+
FallbackReason,
|
|
2064
2119
|
FileType,
|
|
2065
2120
|
ItemStatus,
|
|
2066
2121
|
ItemTypeItemType,
|
|
2122
|
+
JurisdictionType,
|
|
2123
|
+
ManualCalculationReason,
|
|
2067
2124
|
NameInLineItem,
|
|
2068
2125
|
NameInOther,
|
|
2069
2126
|
PaymentOptionType,
|
|
2127
|
+
PickupMethod,
|
|
2128
|
+
RateType,
|
|
2070
2129
|
RuleType,
|
|
2071
2130
|
Severity,
|
|
2072
2131
|
SubscriptionFrequency,
|