@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
package/build/cjs/meta.d.ts
CHANGED
|
@@ -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. */
|
package/build/cjs/meta.js
CHANGED
|
@@ -1445,14 +1445,12 @@ var PaymentOptionType = /* @__PURE__ */ ((PaymentOptionType2) => {
|
|
|
1445
1445
|
return PaymentOptionType2;
|
|
1446
1446
|
})(PaymentOptionType || {});
|
|
1447
1447
|
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
1448
|
-
TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
|
|
1449
1448
|
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
1450
1449
|
TaxableAddressType2["BILLING"] = "BILLING";
|
|
1451
1450
|
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
1452
1451
|
return TaxableAddressType2;
|
|
1453
1452
|
})(TaxableAddressType || {});
|
|
1454
1453
|
var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
1455
|
-
PlatformFeeChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
|
|
1456
1454
|
PlatformFeeChargeType2["PASS_ON"] = "PASS_ON";
|
|
1457
1455
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
1458
1456
|
return PlatformFeeChargeType2;
|
|
@@ -1464,7 +1462,6 @@ var VatType = /* @__PURE__ */ ((VatType2) => {
|
|
|
1464
1462
|
return VatType2;
|
|
1465
1463
|
})(VatType || {});
|
|
1466
1464
|
var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
1467
|
-
PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
1468
1465
|
PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
|
|
1469
1466
|
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
1470
1467
|
return PickupMethod2;
|
|
@@ -1576,7 +1573,6 @@ var NameInLineItem = /* @__PURE__ */ ((NameInLineItem2) => {
|
|
|
1576
1573
|
return NameInLineItem2;
|
|
1577
1574
|
})(NameInLineItem || {});
|
|
1578
1575
|
var SuggestedFix = /* @__PURE__ */ ((SuggestedFix2) => {
|
|
1579
|
-
SuggestedFix2["UNKNOWN_SUGGESTED_FIX"] = "UNKNOWN_SUGGESTED_FIX";
|
|
1580
1576
|
SuggestedFix2["REMOVE_LINE_ITEM"] = "REMOVE_LINE_ITEM";
|
|
1581
1577
|
return SuggestedFix2;
|
|
1582
1578
|
})(SuggestedFix || {});
|