@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. */
|
|
@@ -1456,14 +1456,12 @@ var PaymentOptionType = /* @__PURE__ */ ((PaymentOptionType2) => {
|
|
|
1456
1456
|
return PaymentOptionType2;
|
|
1457
1457
|
})(PaymentOptionType || {});
|
|
1458
1458
|
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
1459
|
-
TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
|
|
1460
1459
|
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
1461
1460
|
TaxableAddressType2["BILLING"] = "BILLING";
|
|
1462
1461
|
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
1463
1462
|
return TaxableAddressType2;
|
|
1464
1463
|
})(TaxableAddressType || {});
|
|
1465
1464
|
var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
1466
|
-
PlatformFeeChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
|
|
1467
1465
|
PlatformFeeChargeType2["PASS_ON"] = "PASS_ON";
|
|
1468
1466
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1469
1467
|
return PlatformFeeChargeType2;
|
|
@@ -1475,7 +1473,6 @@ var VatType = /* @__PURE__ */ ((VatType2) => {
|
|
|
1475
1473
|
return VatType2;
|
|
1476
1474
|
})(VatType || {});
|
|
1477
1475
|
var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
1478
|
-
PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
1479
1476
|
PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
|
|
1480
1477
|
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
1481
1478
|
return PickupMethod2;
|
|
@@ -1587,7 +1584,6 @@ var NameInLineItem = /* @__PURE__ */ ((NameInLineItem2) => {
|
|
|
1587
1584
|
return NameInLineItem2;
|
|
1588
1585
|
})(NameInLineItem || {});
|
|
1589
1586
|
var SuggestedFix = /* @__PURE__ */ ((SuggestedFix2) => {
|
|
1590
|
-
SuggestedFix2["UNKNOWN_SUGGESTED_FIX"] = "UNKNOWN_SUGGESTED_FIX";
|
|
1591
1587
|
SuggestedFix2["REMOVE_LINE_ITEM"] = "REMOVE_LINE_ITEM";
|
|
1592
1588
|
return SuggestedFix2;
|
|
1593
1589
|
})(SuggestedFix || {});
|