Repository URL to install this package:
|
Version:
0.0.15 ▾
|
declare function transformItemToSubProduct(props: any): {
name: any;
identifier: any;
brandName: any;
description: any;
image: any;
salePrice: any;
regPrice: any;
totalPrice: string;
savePrice: string;
bundleMandatoryProductsCount: any;
bundleOptionalProductsCount: any;
hasAddon: any;
hasBundleMandatoryProducts: any;
isCollectionSubProduct: any;
isBundleSubProduct: any;
selectSkuForValue: any;
skuprops: any;
onCheckBoxInputChange: any;
onQuantityInputChange: any;
isBundle: any;
navigationUrl: string;
oneProduct: any;
reviewrating: {
reviewcount: number;
ratings: number;
};
};
export declare type AddOnProductsType = ReturnType<typeof transformItemToSubProduct>;
declare function splitMandatoryAndOptional(products: any): {
addOnProducts: {
name: any;
identifier: any;
brandName: any;
description: any;
image: any;
salePrice: any;
regPrice: any;
totalPrice: string;
savePrice: string;
bundleMandatoryProductsCount: any;
bundleOptionalProductsCount: any;
hasAddon: any;
hasBundleMandatoryProducts: any;
isCollectionSubProduct: any;
isBundleSubProduct: any;
selectSkuForValue: any;
skuprops: any;
onCheckBoxInputChange: any;
onQuantityInputChange: any;
isBundle: any;
navigationUrl: string;
oneProduct: any;
reviewrating: {
reviewcount: number;
ratings: number;
};
}[];
mandatoryProducts: {
name: any;
identifier: any;
brandName: any;
description: any;
image: any;
salePrice: any;
regPrice: any;
totalPrice: string;
savePrice: string;
bundleMandatoryProductsCount: any;
bundleOptionalProductsCount: any;
hasAddon: any;
hasBundleMandatoryProducts: any;
isCollectionSubProduct: any;
isBundleSubProduct: any;
selectSkuForValue: any;
skuprops: any;
onCheckBoxInputChange: any;
onQuantityInputChange: any;
isBundle: any;
navigationUrl: string;
oneProduct: any;
reviewrating: {
reviewcount: number;
ratings: number;
};
}[];
};
export { transformItemToSubProduct, splitMandatoryAndOptional };