@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. */
|
|
@@ -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 || {});
|