@wix/auto_sdk_ecom_current-cart 1.0.154 → 1.0.155
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 +2 -2
|
@@ -845,13 +845,12 @@ interface TaxableAddressTaxableAddressDataOneOf {
|
|
|
845
845
|
addressType?: TaxableAddressTypeWithLiterals;
|
|
846
846
|
}
|
|
847
847
|
declare enum TaxableAddressType {
|
|
848
|
-
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
849
848
|
BUSINESS = "BUSINESS",
|
|
850
849
|
BILLING = "BILLING",
|
|
851
850
|
SHIPPING = "SHIPPING"
|
|
852
851
|
}
|
|
853
852
|
/** @enumType */
|
|
854
|
-
type TaxableAddressTypeWithLiterals = TaxableAddressType | '
|
|
853
|
+
type TaxableAddressTypeWithLiterals = TaxableAddressType | 'BUSINESS' | 'BILLING' | 'SHIPPING';
|
|
855
854
|
interface ExtendedFields {
|
|
856
855
|
/**
|
|
857
856
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -949,14 +948,13 @@ interface PlatformFee {
|
|
|
949
948
|
percentageRate?: string;
|
|
950
949
|
}
|
|
951
950
|
declare enum PlatformFeeChargeType {
|
|
952
|
-
UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
|
|
953
951
|
/** The platform fee is passed on to the customer. */
|
|
954
952
|
PASS_ON = "PASS_ON",
|
|
955
953
|
/** The platform fee is absorbed by the merchant. */
|
|
956
954
|
ABSORBED = "ABSORBED"
|
|
957
955
|
}
|
|
958
956
|
/** @enumType */
|
|
959
|
-
type PlatformFeeChargeTypeWithLiterals = PlatformFeeChargeType | '
|
|
957
|
+
type PlatformFeeChargeTypeWithLiterals = PlatformFeeChargeType | 'PASS_ON' | 'ABSORBED';
|
|
960
958
|
/** Buyer Info */
|
|
961
959
|
interface BuyerInfo extends BuyerInfoIdOneOf {
|
|
962
960
|
/**
|
|
@@ -1995,12 +1993,11 @@ interface PickupDetails {
|
|
|
1995
1993
|
pickupMethod?: PickupMethodWithLiterals;
|
|
1996
1994
|
}
|
|
1997
1995
|
declare enum PickupMethod {
|
|
1998
|
-
UNKNOWN_METHOD = "UNKNOWN_METHOD",
|
|
1999
1996
|
STORE_PICKUP = "STORE_PICKUP",
|
|
2000
1997
|
PICKUP_POINT = "PICKUP_POINT"
|
|
2001
1998
|
}
|
|
2002
1999
|
/** @enumType */
|
|
2003
|
-
type PickupMethodWithLiterals = PickupMethod | '
|
|
2000
|
+
type PickupMethodWithLiterals = PickupMethod | 'STORE_PICKUP' | 'PICKUP_POINT';
|
|
2004
2001
|
interface DeliveryTimeSlot {
|
|
2005
2002
|
/** starting time of the delivery time slot */
|
|
2006
2003
|
from?: Date | null;
|
|
@@ -2566,13 +2563,11 @@ declare enum NameInLineItem {
|
|
|
2566
2563
|
/** @enumType */
|
|
2567
2564
|
type NameInLineItemWithLiterals = NameInLineItem | 'LINE_ITEM_DEFAULT';
|
|
2568
2565
|
declare enum SuggestedFix {
|
|
2569
|
-
/** No suggested fix is specified. The user should refer to the violation description to resolve the issue. */
|
|
2570
|
-
UNKNOWN_SUGGESTED_FIX = "UNKNOWN_SUGGESTED_FIX",
|
|
2571
2566
|
/** The line item should be removed from the cart or checkout to resolve the violation. */
|
|
2572
2567
|
REMOVE_LINE_ITEM = "REMOVE_LINE_ITEM"
|
|
2573
2568
|
}
|
|
2574
2569
|
/** @enumType */
|
|
2575
|
-
type SuggestedFixWithLiterals = SuggestedFix | '
|
|
2570
|
+
type SuggestedFixWithLiterals = SuggestedFix | 'REMOVE_LINE_ITEM';
|
|
2576
2571
|
/** General (other) violation. */
|
|
2577
2572
|
interface Other {
|
|
2578
2573
|
/** Location on a checkout or a cart page where a general (other) violation will be displayed. */
|
|
@@ -752,14 +752,12 @@ var PaymentOptionType = /* @__PURE__ */ ((PaymentOptionType2) => {
|
|
|
752
752
|
return PaymentOptionType2;
|
|
753
753
|
})(PaymentOptionType || {});
|
|
754
754
|
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
755
|
-
TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
|
|
756
755
|
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
757
756
|
TaxableAddressType2["BILLING"] = "BILLING";
|
|
758
757
|
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
759
758
|
return TaxableAddressType2;
|
|
760
759
|
})(TaxableAddressType || {});
|
|
761
760
|
var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
762
|
-
PlatformFeeChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
|
|
763
761
|
PlatformFeeChargeType2["PASS_ON"] = "PASS_ON";
|
|
764
762
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
765
763
|
return PlatformFeeChargeType2;
|
|
@@ -809,7 +807,6 @@ var FallbackReason = /* @__PURE__ */ ((FallbackReason2) => {
|
|
|
809
807
|
return FallbackReason2;
|
|
810
808
|
})(FallbackReason || {});
|
|
811
809
|
var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
812
|
-
PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
813
810
|
PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
|
|
814
811
|
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
815
812
|
return PickupMethod2;
|
|
@@ -877,7 +874,6 @@ var NameInLineItem = /* @__PURE__ */ ((NameInLineItem2) => {
|
|
|
877
874
|
return NameInLineItem2;
|
|
878
875
|
})(NameInLineItem || {});
|
|
879
876
|
var SuggestedFix = /* @__PURE__ */ ((SuggestedFix2) => {
|
|
880
|
-
SuggestedFix2["UNKNOWN_SUGGESTED_FIX"] = "UNKNOWN_SUGGESTED_FIX";
|
|
881
877
|
SuggestedFix2["REMOVE_LINE_ITEM"] = "REMOVE_LINE_ITEM";
|
|
882
878
|
return SuggestedFix2;
|
|
883
879
|
})(SuggestedFix || {});
|