import type { ProductListLink } from './ProductListLink'; import type { ProductDetailsLink } from './ProductDetailsLink'; /** * @type ProductListItemReference: Document representing product list item details. * * @property id: The ID of the product list item. It is read only. * * @property priority: The priority of the product list item. * * @property productDetailsLink: * * @property productList: A reference to the associated product list. It is read only. * * @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; productDetailsLink?: ProductDetailsLink; productList?: ProductListLink; public?: boolean; purchasedQuantity?: number; quantity?: number; type?: ProductListItemReferenceTypeEnum; } & { [key: string]: any; }; export type ProductListItemReferenceTypeEnum = 'product' | 'gift_certificate';