import type { Product } from './Product'; /** * @type CustomerProductListItem: Document representing a customer product list item. * * @property id: The ID of this product list item. * * @property priority: The priority of the item. * * @property product: The product item. * * @property productId: The ID of the product. * - **Min Length:** 1 * - **Max Length:** 100 * * @property public: Is this product list item available for access by other customers? * * @property purchasedQuantity: The quantity of products already purchased. * * @property quantity: The quantity of this product list item. * * @property type: The type of the item. * */ export type CustomerProductListItem = { id?: string; priority: number; product?: Product; productId?: string; public: boolean; purchasedQuantity?: number; quantity: number; type?: CustomerProductListItemTypeEnum; } & { [key: string]: any; }; export type CustomerProductListItemTypeEnum = 'product' | 'gift_certificate';