@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
|
@@ -1057,13 +1057,12 @@ interface TaxableAddressTaxableAddressDataOneOf {
|
|
|
1057
1057
|
addressType?: TaxableAddressTypeWithLiterals;
|
|
1058
1058
|
}
|
|
1059
1059
|
declare enum TaxableAddressType {
|
|
1060
|
-
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
1061
1060
|
BUSINESS = "BUSINESS",
|
|
1062
1061
|
BILLING = "BILLING",
|
|
1063
1062
|
SHIPPING = "SHIPPING"
|
|
1064
1063
|
}
|
|
1065
1064
|
/** @enumType */
|
|
1066
|
-
type TaxableAddressTypeWithLiterals = TaxableAddressType | '
|
|
1065
|
+
type TaxableAddressTypeWithLiterals = TaxableAddressType | 'BUSINESS' | 'BILLING' | 'SHIPPING';
|
|
1067
1066
|
interface ExtendedFields {
|
|
1068
1067
|
/**
|
|
1069
1068
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -1161,14 +1160,13 @@ interface PlatformFee {
|
|
|
1161
1160
|
percentageRate?: string;
|
|
1162
1161
|
}
|
|
1163
1162
|
declare enum PlatformFeeChargeType {
|
|
1164
|
-
UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
|
|
1165
1163
|
/** The platform fee is passed on to the customer. */
|
|
1166
1164
|
PASS_ON = "PASS_ON",
|
|
1167
1165
|
/** The platform fee is absorbed by the merchant. */
|
|
1168
1166
|
ABSORBED = "ABSORBED"
|
|
1169
1167
|
}
|
|
1170
1168
|
/** @enumType */
|
|
1171
|
-
type PlatformFeeChargeTypeWithLiterals = PlatformFeeChargeType | '
|
|
1169
|
+
type PlatformFeeChargeTypeWithLiterals = PlatformFeeChargeType | 'PASS_ON' | 'ABSORBED';
|
|
1172
1170
|
/** Billing Info and shipping details */
|
|
1173
1171
|
interface AddressWithContact {
|
|
1174
1172
|
/** Address. */
|
|
@@ -1372,12 +1370,11 @@ interface PickupDetails {
|
|
|
1372
1370
|
pickupMethod?: PickupMethodWithLiterals;
|
|
1373
1371
|
}
|
|
1374
1372
|
declare enum PickupMethod {
|
|
1375
|
-
UNKNOWN_METHOD = "UNKNOWN_METHOD",
|
|
1376
1373
|
STORE_PICKUP = "STORE_PICKUP",
|
|
1377
1374
|
PICKUP_POINT = "PICKUP_POINT"
|
|
1378
1375
|
}
|
|
1379
1376
|
/** @enumType */
|
|
1380
|
-
type PickupMethodWithLiterals = PickupMethod | '
|
|
1377
|
+
type PickupMethodWithLiterals = PickupMethod | 'STORE_PICKUP' | 'PICKUP_POINT';
|
|
1381
1378
|
interface DeliveryTimeSlot {
|
|
1382
1379
|
/** starting time of the delivery time slot */
|
|
1383
1380
|
from?: Date | null;
|
|
@@ -2349,13 +2346,11 @@ declare enum NameInLineItem {
|
|
|
2349
2346
|
/** @enumType */
|
|
2350
2347
|
type NameInLineItemWithLiterals = NameInLineItem | 'LINE_ITEM_DEFAULT';
|
|
2351
2348
|
declare enum SuggestedFix {
|
|
2352
|
-
/** No suggested fix is specified. The user should refer to the violation description to resolve the issue. */
|
|
2353
|
-
UNKNOWN_SUGGESTED_FIX = "UNKNOWN_SUGGESTED_FIX",
|
|
2354
2349
|
/** The line item should be removed from the cart or checkout to resolve the violation. */
|
|
2355
2350
|
REMOVE_LINE_ITEM = "REMOVE_LINE_ITEM"
|
|
2356
2351
|
}
|
|
2357
2352
|
/** @enumType */
|
|
2358
|
-
type SuggestedFixWithLiterals = SuggestedFix | '
|
|
2353
|
+
type SuggestedFixWithLiterals = SuggestedFix | 'REMOVE_LINE_ITEM';
|
|
2359
2354
|
/** General (other) violation. */
|
|
2360
2355
|
interface Other {
|
|
2361
2356
|
/** 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 || {});
|