@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. */
|
|
@@ -704,14 +704,12 @@ var PaymentOptionType = /* @__PURE__ */ ((PaymentOptionType2) => {
|
|
|
704
704
|
return PaymentOptionType2;
|
|
705
705
|
})(PaymentOptionType || {});
|
|
706
706
|
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
707
|
-
TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS"] = "UNKNOWN_TAXABLE_ADDRESS";
|
|
708
707
|
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
709
708
|
TaxableAddressType2["BILLING"] = "BILLING";
|
|
710
709
|
TaxableAddressType2["SHIPPING"] = "SHIPPING";
|
|
711
710
|
return TaxableAddressType2;
|
|
712
711
|
})(TaxableAddressType || {});
|
|
713
712
|
var PlatformFeeChargeType = /* @__PURE__ */ ((PlatformFeeChargeType2) => {
|
|
714
|
-
PlatformFeeChargeType2["UNKNOWN_CHARGE_TYPE"] = "UNKNOWN_CHARGE_TYPE";
|
|
715
713
|
PlatformFeeChargeType2["PASS_ON"] = "PASS_ON";
|
|
716
714
|
PlatformFeeChargeType2["ABSORBED"] = "ABSORBED";
|
|
717
715
|
return PlatformFeeChargeType2;
|
|
@@ -761,7 +759,6 @@ var FallbackReason = /* @__PURE__ */ ((FallbackReason2) => {
|
|
|
761
759
|
return FallbackReason2;
|
|
762
760
|
})(FallbackReason || {});
|
|
763
761
|
var PickupMethod = /* @__PURE__ */ ((PickupMethod2) => {
|
|
764
|
-
PickupMethod2["UNKNOWN_METHOD"] = "UNKNOWN_METHOD";
|
|
765
762
|
PickupMethod2["STORE_PICKUP"] = "STORE_PICKUP";
|
|
766
763
|
PickupMethod2["PICKUP_POINT"] = "PICKUP_POINT";
|
|
767
764
|
return PickupMethod2;
|
|
@@ -829,7 +826,6 @@ var NameInLineItem = /* @__PURE__ */ ((NameInLineItem2) => {
|
|
|
829
826
|
return NameInLineItem2;
|
|
830
827
|
})(NameInLineItem || {});
|
|
831
828
|
var SuggestedFix = /* @__PURE__ */ ((SuggestedFix2) => {
|
|
832
|
-
SuggestedFix2["UNKNOWN_SUGGESTED_FIX"] = "UNKNOWN_SUGGESTED_FIX";
|
|
833
829
|
SuggestedFix2["REMOVE_LINE_ITEM"] = "REMOVE_LINE_ITEM";
|
|
834
830
|
return SuggestedFix2;
|
|
835
831
|
})(SuggestedFix || {});
|