@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
|
@@ -803,13 +803,12 @@ interface TaxableAddressTaxableAddressDataOneOf {
|
|
|
803
803
|
addressType?: TaxableAddressTypeWithLiterals;
|
|
804
804
|
}
|
|
805
805
|
declare enum TaxableAddressType {
|
|
806
|
-
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
807
806
|
BUSINESS = "BUSINESS",
|
|
808
807
|
BILLING = "BILLING",
|
|
809
808
|
SHIPPING = "SHIPPING"
|
|
810
809
|
}
|
|
811
810
|
/** @enumType */
|
|
812
|
-
type TaxableAddressTypeWithLiterals = TaxableAddressType | '
|
|
811
|
+
type TaxableAddressTypeWithLiterals = TaxableAddressType | 'BUSINESS' | 'BILLING' | 'SHIPPING';
|
|
813
812
|
interface ExtendedFields {
|
|
814
813
|
/**
|
|
815
814
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -907,14 +906,13 @@ interface PlatformFee {
|
|
|
907
906
|
percentageRate?: string;
|
|
908
907
|
}
|
|
909
908
|
declare enum PlatformFeeChargeType {
|
|
910
|
-
UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
|
|
911
909
|
/** The platform fee is passed on to the customer. */
|
|
912
910
|
PASS_ON = "PASS_ON",
|
|
913
911
|
/** The platform fee is absorbed by the merchant. */
|
|
914
912
|
ABSORBED = "ABSORBED"
|
|
915
913
|
}
|
|
916
914
|
/** @enumType */
|
|
917
|
-
type PlatformFeeChargeTypeWithLiterals = PlatformFeeChargeType | '
|
|
915
|
+
type PlatformFeeChargeTypeWithLiterals = PlatformFeeChargeType | 'PASS_ON' | 'ABSORBED';
|
|
918
916
|
/** Buyer Info */
|
|
919
917
|
interface BuyerInfo extends BuyerInfoIdOneOf {
|
|
920
918
|
/**
|
|
@@ -1956,12 +1954,11 @@ interface PickupDetails {
|
|
|
1956
1954
|
pickupMethod?: PickupMethodWithLiterals;
|
|
1957
1955
|
}
|
|
1958
1956
|
declare enum PickupMethod {
|
|
1959
|
-
UNKNOWN_METHOD = "UNKNOWN_METHOD",
|
|
1960
1957
|
STORE_PICKUP = "STORE_PICKUP",
|
|
1961
1958
|
PICKUP_POINT = "PICKUP_POINT"
|
|
1962
1959
|
}
|
|
1963
1960
|
/** @enumType */
|
|
1964
|
-
type PickupMethodWithLiterals = PickupMethod | '
|
|
1961
|
+
type PickupMethodWithLiterals = PickupMethod | 'STORE_PICKUP' | 'PICKUP_POINT';
|
|
1965
1962
|
interface DeliveryTimeSlot {
|
|
1966
1963
|
/** starting time of the delivery time slot */
|
|
1967
1964
|
from?: Date | null;
|
|
@@ -2527,13 +2524,11 @@ declare enum NameInLineItem {
|
|
|
2527
2524
|
/** @enumType */
|
|
2528
2525
|
type NameInLineItemWithLiterals = NameInLineItem | 'LINE_ITEM_DEFAULT';
|
|
2529
2526
|
declare enum SuggestedFix {
|
|
2530
|
-
/** No suggested fix is specified. The user should refer to the violation description to resolve the issue. */
|
|
2531
|
-
UNKNOWN_SUGGESTED_FIX = "UNKNOWN_SUGGESTED_FIX",
|
|
2532
2527
|
/** The line item should be removed from the cart or checkout to resolve the violation. */
|
|
2533
2528
|
REMOVE_LINE_ITEM = "REMOVE_LINE_ITEM"
|
|
2534
2529
|
}
|
|
2535
2530
|
/** @enumType */
|
|
2536
|
-
type SuggestedFixWithLiterals = SuggestedFix | '
|
|
2531
|
+
type SuggestedFixWithLiterals = SuggestedFix | 'REMOVE_LINE_ITEM';
|
|
2537
2532
|
/** General (other) violation. */
|
|
2538
2533
|
interface Other {
|
|
2539
2534
|
/** Location on a checkout or a cart page where a general (other) violation will be displayed. */
|
|
@@ -763,14 +763,12 @@ var PaymentOptionType = /* @__PURE__ */ ((PaymentOptionType2) => {
|
|
|
763
763
|
return PaymentOptionType2;
|
|
764
764
|
})(PaymentOptionType || {});
|
|
765
765
|
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
766
|
-
TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
|
|
767
766
|
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
768
767
|
TaxableAddressType2["BILLING"] = "BILLING";
|
|
769
768
|
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
770
769
|
return TaxableAddressType2;
|
|
771
770
|
})(TaxableAddressType || {});
|
|
772
771
|
var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
773
|
-
PlatformFeeChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
|
|
774
772
|
PlatformFeeChargeType2["PASS_ON"] = "PASS_ON";
|
|
775
773
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
776
774
|
return PlatformFeeChargeType2;
|
|
@@ -820,7 +818,6 @@ var FallbackReason = /* @__PURE__ */ ((FallbackReason2) => {
|
|
|
820
818
|
return FallbackReason2;
|
|
821
819
|
})(FallbackReason || {});
|
|
822
820
|
var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
823
|
-
PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
824
821
|
PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
|
|
825
822
|
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
826
823
|
return PickupMethod2;
|
|
@@ -888,7 +885,6 @@ var NameInLineItem = /* @__PURE__ */ ((NameInLineItem2) => {
|
|
|
888
885
|
return NameInLineItem2;
|
|
889
886
|
})(NameInLineItem || {});
|
|
890
887
|
var SuggestedFix = /* @__PURE__ */ ((SuggestedFix2) => {
|
|
891
|
-
SuggestedFix2["UNKNOWN_SUGGESTED_FIX"] = "UNKNOWN_SUGGESTED_FIX";
|
|
892
888
|
SuggestedFix2["REMOVE_LINE_ITEM"] = "REMOVE_LINE_ITEM";
|
|
893
889
|
return SuggestedFix2;
|
|
894
890
|
})(SuggestedFix || {});
|