import { IkasHTMLMetaData } from "../html-meta-data"; import { IkasImage } from "../image"; import { IkasCategoryConditions, IkasCategoryConditionValues } from "./conditions"; import { IkasCategoryPathItem } from "./path-item"; import { IkasCategoryTranslation } from "./translations"; export type IkasCategory = { id: string; createdAt: number; updatedAt: number; deleted?: boolean | null; categoryPath: string[] | null; description: string | null; imageId: string | null; name: string; parentId: string | null; metaData: IkasHTMLMetaData | null; categoryPathItems: IkasCategoryPathItem[]; orderType: IkasCategoryProductsOrderType | null; conditions: IkasCategoryConditions[] | null; image?: IkasImage | null; translations?: IkasCategoryTranslation[] | null; conditionValues: IkasCategoryConditionValues | null; }; export type IkasCategoryProductsOrderType = "BEST_SELLER" | "HIGHEST_DISCOUNT_RATIO" | "HIGHEST_PRICE" | "LOWEST_DISCOUNT_RATIO" | "LOWEST_PRICE" | "MANUALLY" | "NEWEST" | "OLDEST";