import type { ProductReference } from './ProductReference'; import type { ProductListReference } from './ProductListReference'; /** * @type ProductListItemReference: Document representing product list item details. * * @property id: The ID of the product list item. * - **Min Length:** 1 * - **Max Length:** 256 * * @property priority: The priority of the product list item. * * @property product: A reference to the associated product. * * @property productList: A reference to the associated product list. * * @property public: * * @property purchasedQuantity: The total quantity of this item purchased from the product list. * * @property quantity: The number of products or gift certificates that get shipped when purchasing this product list item. * * @property type: Specifies whether the item is a product or a gift certificate. * */ export type ProductListItemReference = { id?: string; priority?: number; product?: ProductReference; productList?: ProductListReference; public?: boolean; purchasedQuantity: number; quantity?: number; type?: ProductListItemReferenceTypeEnum; } & { [key: string]: any; }; export type ProductListItemReferenceTypeEnum = 'product' | 'gift_certificate';