UNPKG

@vtex/vtexis-compatibility-layer

Version:

Compatibility layer between intelligent search and VTEX

34 lines (33 loc) 1.21 kB
export declare const mergeProductWithItems: (product: SearchProduct, items: SearchItem[], simulationBehavior: 'default' | 'only1P' | 'regionalize1p') => { cacheId: string; productId: string; productName: string; brand: string; brandId: number; linkText: string; productReference?: string | undefined; categoryId: string; categoryTree: Category[]; productTitle?: string | undefined; metaTagDescription: string; clusterHighlights: Record<string, string>[]; productClusters: Record<string, string>[]; searchableClusters?: Record<string, string> | undefined; categories: string[]; categoriesIds?: string[] | undefined; link: string; description: string; items: SearchItem[]; itemMetadata?: { items: SearchMetadataItem[]; } | undefined; titleTag: string; properties: ProductProperty[]; Specifications?: string[] | undefined; allSpecifications?: string[] | undefined; allSpecificationsGroups?: string[] | undefined; completeSpecifications?: CompleteSpecification[] | undefined; skuSpecifications: SkuSpecification[]; specificationGroups: SpecificationGroup[]; priceRange: PriceRange; };