@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
|
@@ -838,13 +838,12 @@ interface TaxableAddressTaxableAddressDataOneOf {
|
|
|
838
838
|
addressType?: TaxableAddressTypeWithLiterals;
|
|
839
839
|
}
|
|
840
840
|
declare enum TaxableAddressType {
|
|
841
|
-
UNKNOWN_TAXABLE_ADDRESS = "UNKNOWN_TAXABLE_ADDRESS",
|
|
842
841
|
BUSINESS = "BUSINESS",
|
|
843
842
|
BILLING = "BILLING",
|
|
844
843
|
SHIPPING = "SHIPPING"
|
|
845
844
|
}
|
|
846
845
|
/** @enumType */
|
|
847
|
-
type TaxableAddressTypeWithLiterals = TaxableAddressType | '
|
|
846
|
+
type TaxableAddressTypeWithLiterals = TaxableAddressType | 'BUSINESS' | 'BILLING' | 'SHIPPING';
|
|
848
847
|
interface ExtendedFields {
|
|
849
848
|
/**
|
|
850
849
|
* Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
|
|
@@ -942,14 +941,13 @@ interface PlatformFee {
|
|
|
942
941
|
percentageRate?: string;
|
|
943
942
|
}
|
|
944
943
|
declare enum PlatformFeeChargeType {
|
|
945
|
-
UNKNOWN_CHARGE_TYPE = "UNKNOWN_CHARGE_TYPE",
|
|
946
944
|
/** The platform fee is passed on to the customer. */
|
|
947
945
|
PASS_ON = "PASS_ON",
|
|
948
946
|
/** The platform fee is absorbed by the merchant. */
|
|
949
947
|
ABSORBED = "ABSORBED"
|
|
950
948
|
}
|
|
951
949
|
/** @enumType */
|
|
952
|
-
type PlatformFeeChargeTypeWithLiterals = PlatformFeeChargeType | '
|
|
950
|
+
type PlatformFeeChargeTypeWithLiterals = PlatformFeeChargeType | 'PASS_ON' | 'ABSORBED';
|
|
953
951
|
/** Buyer Info */
|
|
954
952
|
interface BuyerInfo extends BuyerInfoIdOneOf {
|
|
955
953
|
/**
|
|
@@ -2071,12 +2069,11 @@ interface PickupDetails {
|
|
|
2071
2069
|
pickupMethod?: PickupMethodWithLiterals;
|
|
2072
2070
|
}
|
|
2073
2071
|
declare enum PickupMethod {
|
|
2074
|
-
UNKNOWN_METHOD = "UNKNOWN_METHOD",
|
|
2075
2072
|
STORE_PICKUP = "STORE_PICKUP",
|
|
2076
2073
|
PICKUP_POINT = "PICKUP_POINT"
|
|
2077
2074
|
}
|
|
2078
2075
|
/** @enumType */
|
|
2079
|
-
type PickupMethodWithLiterals = PickupMethod | '
|
|
2076
|
+
type PickupMethodWithLiterals = PickupMethod | 'STORE_PICKUP' | 'PICKUP_POINT';
|
|
2080
2077
|
interface DeliveryTimeSlot {
|
|
2081
2078
|
/** starting time of the delivery time slot */
|
|
2082
2079
|
from?: Date | null;
|
|
@@ -2678,13 +2675,11 @@ declare enum NameInLineItem {
|
|
|
2678
2675
|
/** @enumType */
|
|
2679
2676
|
type NameInLineItemWithLiterals = NameInLineItem | 'LINE_ITEM_DEFAULT';
|
|
2680
2677
|
declare enum SuggestedFix {
|
|
2681
|
-
/** No suggested fix is specified. The user should refer to the violation description to resolve the issue. */
|
|
2682
|
-
UNKNOWN_SUGGESTED_FIX = "UNKNOWN_SUGGESTED_FIX",
|
|
2683
2678
|
/** The line item should be removed from the cart or checkout to resolve the violation. */
|
|
2684
2679
|
REMOVE_LINE_ITEM = "REMOVE_LINE_ITEM"
|
|
2685
2680
|
}
|
|
2686
2681
|
/** @enumType */
|
|
2687
|
-
type SuggestedFixWithLiterals = SuggestedFix | '
|
|
2682
|
+
type SuggestedFixWithLiterals = SuggestedFix | 'REMOVE_LINE_ITEM';
|
|
2688
2683
|
/** General (other) violation. */
|
|
2689
2684
|
interface Other {
|
|
2690
2685
|
/** 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 || {});
|