@wix/auto_sdk_ecom_checkout 1.0.138 → 1.0.140
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 +0 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +4 -9
- package/build/cjs/index.typings.js +0 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +4 -9
- package/build/cjs/meta.js +0 -4
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +0 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +4 -9
- package/build/es/index.typings.mjs +0 -4
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +4 -9
- package/build/es/meta.mjs +0 -4
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +0 -4
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +4 -9
- package/build/internal/cjs/index.typings.js +0 -4
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +4 -9
- package/build/internal/cjs/meta.js +0 -4
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +0 -4
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +4 -9
- package/build/internal/es/index.typings.mjs +0 -4
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +4 -9
- package/build/internal/es/meta.mjs +0 -4
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -974,13 +974,12 @@ interface TaxableAddressTaxableAddressDataOneOf {
|
|
|
974
974
|
addressType?: TaxableAddressTypeWithLiterals;
|
|
975
975
|
}
|
|
976
976
|
declare enum TaxableAddressType {
|
|
977
|
-
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
978
977
|
BUSINESS = "BUSINESS",
|
|
979
978
|
BILLING = "BILLING",
|
|
980
979
|
SHIPPING = "SHIPPING"
|
|
981
980
|
}
|
|
982
981
|
/** @enumType */
|
|
983
|
-
type TaxableAddressTypeWithLiterals = TaxableAddressType | '
|
|
982
|
+
type TaxableAddressTypeWithLiterals = TaxableAddressType | 'BUSINESS' | 'BILLING' | 'SHIPPING';
|
|
984
983
|
interface ExtendedFields {
|
|
985
984
|
/**
|
|
986
985
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -1078,14 +1077,13 @@ interface PlatformFee {
|
|
|
1078
1077
|
percentageRate?: string;
|
|
1079
1078
|
}
|
|
1080
1079
|
declare enum PlatformFeeChargeType {
|
|
1081
|
-
UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
|
|
1082
1080
|
/** The platform fee is passed on to the customer. */
|
|
1083
1081
|
PASS_ON = "PASS_ON",
|
|
1084
1082
|
/** The platform fee is absorbed by the merchant. */
|
|
1085
1083
|
ABSORBED = "ABSORBED"
|
|
1086
1084
|
}
|
|
1087
1085
|
/** @enumType */
|
|
1088
|
-
type PlatformFeeChargeTypeWithLiterals = PlatformFeeChargeType | '
|
|
1086
|
+
type PlatformFeeChargeTypeWithLiterals = PlatformFeeChargeType | 'PASS_ON' | 'ABSORBED';
|
|
1089
1087
|
/** Billing Info and shipping details */
|
|
1090
1088
|
interface AddressWithContact {
|
|
1091
1089
|
/** Address. */
|
|
@@ -1289,12 +1287,11 @@ interface PickupDetails {
|
|
|
1289
1287
|
pickupMethod?: PickupMethodWithLiterals;
|
|
1290
1288
|
}
|
|
1291
1289
|
declare enum PickupMethod {
|
|
1292
|
-
UNKNOWN_METHOD = "UNKNOWN_METHOD",
|
|
1293
1290
|
STORE_PICKUP = "STORE_PICKUP",
|
|
1294
1291
|
PICKUP_POINT = "PICKUP_POINT"
|
|
1295
1292
|
}
|
|
1296
1293
|
/** @enumType */
|
|
1297
|
-
type PickupMethodWithLiterals = PickupMethod | '
|
|
1294
|
+
type PickupMethodWithLiterals = PickupMethod | 'STORE_PICKUP' | 'PICKUP_POINT';
|
|
1298
1295
|
interface DeliveryTimeSlot {
|
|
1299
1296
|
/** starting time of the delivery time slot */
|
|
1300
1297
|
from?: Date | null;
|
|
@@ -2213,13 +2210,11 @@ declare enum NameInLineItem {
|
|
|
2213
2210
|
/** @enumType */
|
|
2214
2211
|
type NameInLineItemWithLiterals = NameInLineItem | 'LINE_ITEM_DEFAULT';
|
|
2215
2212
|
declare enum SuggestedFix {
|
|
2216
|
-
/** No suggested fix is specified. The user should refer to the violation description to resolve the issue. */
|
|
2217
|
-
UNKNOWN_SUGGESTED_FIX = "UNKNOWN_SUGGESTED_FIX",
|
|
2218
2213
|
/** The line item should be removed from the cart or checkout to resolve the violation. */
|
|
2219
2214
|
REMOVE_LINE_ITEM = "REMOVE_LINE_ITEM"
|
|
2220
2215
|
}
|
|
2221
2216
|
/** @enumType */
|
|
2222
|
-
type SuggestedFixWithLiterals = SuggestedFix | '
|
|
2217
|
+
type SuggestedFixWithLiterals = SuggestedFix | 'REMOVE_LINE_ITEM';
|
|
2223
2218
|
/** General (other) violation. */
|
|
2224
2219
|
interface Other {
|
|
2225
2220
|
/** Location on a checkout or a cart page where a general (other) violation will be displayed. */
|
|
@@ -1389,14 +1389,12 @@ var PaymentOptionType = /* @__PURE__ */ ((PaymentOptionType2) => {
|
|
|
1389
1389
|
return PaymentOptionType2;
|
|
1390
1390
|
})(PaymentOptionType || {});
|
|
1391
1391
|
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
1392
|
-
TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
|
|
1393
1392
|
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
1394
1393
|
TaxableAddressType2["BILLING"] = "BILLING";
|
|
1395
1394
|
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
1396
1395
|
return TaxableAddressType2;
|
|
1397
1396
|
})(TaxableAddressType || {});
|
|
1398
1397
|
var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
1399
|
-
PlatformFeeChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
|
|
1400
1398
|
PlatformFeeChargeType2["PASS_ON"] = "PASS_ON";
|
|
1401
1399
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1402
1400
|
return PlatformFeeChargeType2;
|
|
@@ -1408,7 +1406,6 @@ var VatType = /* @__PURE__ */ ((VatType2) => {
|
|
|
1408
1406
|
return VatType2;
|
|
1409
1407
|
})(VatType || {});
|
|
1410
1408
|
var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
1411
|
-
PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
1412
1409
|
PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
|
|
1413
1410
|
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
1414
1411
|
return PickupMethod2;
|
|
@@ -1520,7 +1517,6 @@ var NameInLineItem = /* @__PURE__ */ ((NameInLineItem2) => {
|
|
|
1520
1517
|
return NameInLineItem2;
|
|
1521
1518
|
})(NameInLineItem || {});
|
|
1522
1519
|
var SuggestedFix = /* @__PURE__ */ ((SuggestedFix2) => {
|
|
1523
|
-
SuggestedFix2["UNKNOWN_SUGGESTED_FIX"] = "UNKNOWN_SUGGESTED_FIX";
|
|
1524
1520
|
SuggestedFix2["REMOVE_LINE_ITEM"] = "REMOVE_LINE_ITEM";
|
|
1525
1521
|
return SuggestedFix2;
|
|
1526
1522
|
})(SuggestedFix || {});
|