@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
|
@@ -1016,13 +1016,12 @@ interface TaxableAddressTaxableAddressDataOneOf {
|
|
|
1016
1016
|
addressType?: TaxableAddressTypeWithLiterals;
|
|
1017
1017
|
}
|
|
1018
1018
|
declare enum TaxableAddressType {
|
|
1019
|
-
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
1020
1019
|
BUSINESS = "BUSINESS",
|
|
1021
1020
|
BILLING = "BILLING",
|
|
1022
1021
|
SHIPPING = "SHIPPING"
|
|
1023
1022
|
}
|
|
1024
1023
|
/** @enumType */
|
|
1025
|
-
type TaxableAddressTypeWithLiterals = TaxableAddressType | '
|
|
1024
|
+
type TaxableAddressTypeWithLiterals = TaxableAddressType | 'BUSINESS' | 'BILLING' | 'SHIPPING';
|
|
1026
1025
|
interface ExtendedFields {
|
|
1027
1026
|
/**
|
|
1028
1027
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -1120,14 +1119,13 @@ interface PlatformFee {
|
|
|
1120
1119
|
percentageRate?: string;
|
|
1121
1120
|
}
|
|
1122
1121
|
declare enum PlatformFeeChargeType {
|
|
1123
|
-
UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
|
|
1124
1122
|
/** The platform fee is passed on to the customer. */
|
|
1125
1123
|
PASS_ON = "PASS_ON",
|
|
1126
1124
|
/** The platform fee is absorbed by the merchant. */
|
|
1127
1125
|
ABSORBED = "ABSORBED"
|
|
1128
1126
|
}
|
|
1129
1127
|
/** @enumType */
|
|
1130
|
-
type PlatformFeeChargeTypeWithLiterals = PlatformFeeChargeType | '
|
|
1128
|
+
type PlatformFeeChargeTypeWithLiterals = PlatformFeeChargeType | 'PASS_ON' | 'ABSORBED';
|
|
1131
1129
|
/** Billing Info and shipping details */
|
|
1132
1130
|
interface AddressWithContact {
|
|
1133
1131
|
/** Address. */
|
|
@@ -1331,12 +1329,11 @@ interface PickupDetails {
|
|
|
1331
1329
|
pickupMethod?: PickupMethodWithLiterals;
|
|
1332
1330
|
}
|
|
1333
1331
|
declare enum PickupMethod {
|
|
1334
|
-
UNKNOWN_METHOD = "UNKNOWN_METHOD",
|
|
1335
1332
|
STORE_PICKUP = "STORE_PICKUP",
|
|
1336
1333
|
PICKUP_POINT = "PICKUP_POINT"
|
|
1337
1334
|
}
|
|
1338
1335
|
/** @enumType */
|
|
1339
|
-
type PickupMethodWithLiterals = PickupMethod | '
|
|
1336
|
+
type PickupMethodWithLiterals = PickupMethod | 'STORE_PICKUP' | 'PICKUP_POINT';
|
|
1340
1337
|
interface DeliveryTimeSlot {
|
|
1341
1338
|
/** starting time of the delivery time slot */
|
|
1342
1339
|
from?: Date | null;
|
|
@@ -2255,13 +2252,11 @@ declare enum NameInLineItem {
|
|
|
2255
2252
|
/** @enumType */
|
|
2256
2253
|
type NameInLineItemWithLiterals = NameInLineItem | 'LINE_ITEM_DEFAULT';
|
|
2257
2254
|
declare enum SuggestedFix {
|
|
2258
|
-
/** No suggested fix is specified. The user should refer to the violation description to resolve the issue. */
|
|
2259
|
-
UNKNOWN_SUGGESTED_FIX = "UNKNOWN_SUGGESTED_FIX",
|
|
2260
2255
|
/** The line item should be removed from the cart or checkout to resolve the violation. */
|
|
2261
2256
|
REMOVE_LINE_ITEM = "REMOVE_LINE_ITEM"
|
|
2262
2257
|
}
|
|
2263
2258
|
/** @enumType */
|
|
2264
|
-
type SuggestedFixWithLiterals = SuggestedFix | '
|
|
2259
|
+
type SuggestedFixWithLiterals = SuggestedFix | 'REMOVE_LINE_ITEM';
|
|
2265
2260
|
/** General (other) violation. */
|
|
2266
2261
|
interface Other {
|
|
2267
2262
|
/** Location on a checkout or a cart page where a general (other) violation will be displayed. */
|
|
@@ -1375,14 +1375,12 @@ var PaymentOptionType = /* @__PURE__ */ ((PaymentOptionType2) => {
|
|
|
1375
1375
|
return PaymentOptionType2;
|
|
1376
1376
|
})(PaymentOptionType || {});
|
|
1377
1377
|
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
1378
|
-
TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
|
|
1379
1378
|
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
1380
1379
|
TaxableAddressType2["BILLING"] = "BILLING";
|
|
1381
1380
|
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
1382
1381
|
return TaxableAddressType2;
|
|
1383
1382
|
})(TaxableAddressType || {});
|
|
1384
1383
|
var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
1385
|
-
PlatformFeeChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
|
|
1386
1384
|
PlatformFeeChargeType2["PASS_ON"] = "PASS_ON";
|
|
1387
1385
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1388
1386
|
return PlatformFeeChargeType2;
|
|
@@ -1394,7 +1392,6 @@ var VatType = /* @__PURE__ */ ((VatType2) => {
|
|
|
1394
1392
|
return VatType2;
|
|
1395
1393
|
})(VatType || {});
|
|
1396
1394
|
var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
1397
|
-
PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
1398
1395
|
PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
|
|
1399
1396
|
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
1400
1397
|
return PickupMethod2;
|
|
@@ -1506,7 +1503,6 @@ var NameInLineItem = /* @__PURE__ */ ((NameInLineItem2) => {
|
|
|
1506
1503
|
return NameInLineItem2;
|
|
1507
1504
|
})(NameInLineItem || {});
|
|
1508
1505
|
var SuggestedFix = /* @__PURE__ */ ((SuggestedFix2) => {
|
|
1509
|
-
SuggestedFix2["UNKNOWN_SUGGESTED_FIX"] = "UNKNOWN_SUGGESTED_FIX";
|
|
1510
1506
|
SuggestedFix2["REMOVE_LINE_ITEM"] = "REMOVE_LINE_ITEM";
|
|
1511
1507
|
return SuggestedFix2;
|
|
1512
1508
|
})(SuggestedFix || {});
|