/** * @type ProductLink: Document representing a link between two products. It contains the ID of the source and target products, the type of product link, and the URLs to retrieve product data. * * @property sourceProductId: The semantic ID of the product this product link is coming from. * - **Min Length:** 1 * - **Max Length:** 100 * * @property sourceProductLink: The URL addressing the product this product link is coming from. * * @property targetProductId: The semantic ID of the product this product link is pointing to. * - **Min Length:** 1 * - **Max Length:** 100 * * @property targetProductLink: The URL addressing the product this product link is pointing to. * * @property type: The type of product link. * */ export type ProductLink = { sourceProductId: string; sourceProductLink: string; targetProductId: string; targetProductLink: string; type: ProductLinkTypeEnum; } & { [key: string]: any; }; export type ProductLinkTypeEnum = 'cross_sell' | 'replacement' | 'up_sell' | 'accessory' | 'newer_version' | 'alt_orderunit' | 'spare_part' | 'other';