/** * This file was auto-generated by swagger-to-ts. * Do not make direct changes to the file. */ export interface components { schemas: { "visual-product-search-by-colors": { color?: { [key: string]: any; }[]; weight?: number; }[]; "delete-image-by-productId-and-imageId-404-error": { "site-id"?: number; "product-id"?: string; "image-id"?: string; }; "delete-image-by-productId-and-imageId-400-error": { siteId?: number; imageCode?: string; productCode?: string; }; "delete-image-error": { "site-id"?: number; "image-id"?: string; }; "delete-image-by-imageId": { "site-id"?: number; "number-of-products"?: number; "image-id"?: string; }; "image-by-productId-and-imageId": { "site-id"?: number; "product-id"?: string; "image-id"?: string; url?: string; }; "delete-product-images-by-productId": { "site-id"?: number; "product-id"?: string; "image-ids"?: { [key: string]: any; }[]; }; "product-data": { title: string; description?: string; link?: string; availability?: "in_stock" | "out_of_stock" | "preorder"; availability_date?: string; cost_of_goods_sold?: string; expiration_date?: string; price?: number; sale_price?: number; sale_price_effective_date?: string; unit_pricing_measure?: string; unit_pricing_base_measure?: string; installment?: string; subscription_cost?: string; loyalty_points?: string; google_product_category?: string; product_type?: string; brand?: string; gtin?: string; mpn?: string; identifier_exists?: boolean; condition?: "new" | "refurbished" | "used"; adult?: boolean; multipack?: number; is_bundle?: boolean; energy_efficiency_class?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G"; min_energy_efficiency_class?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G"; max_energy_efficiency_class?: "A+++" | "A++" | "A+" | "A" | "B" | "C" | "D" | "E" | "F" | "G"; age_group?: "newborn" | "infant" | "toddler" | "kids" | "adult"; color?: string; gender?: "male" | "female" | "unisex"; material?: string; pattern?: string; size?: string; size_type?: "regular" | "petite" | "oversize" | "maternity"; size_system?: "AU" | "BR" | "CN" | "DE" | "EU" | "FR" | "IT" | "JP" | "MEX" | "UK" | "US"; item_group_id?: string; ads_redirect?: string; custom_label_0?: string; custom_label_1?: string; custom_label_2?: string; custom_label_3?: string; custom_label_4?: string; promotion_id?: string; excluded_destination?: "Shopping ads" | "Shopping Actions" | "Display ads" | "Local inventory ads" | "Surfaces across Google" | "Local surfaces across Google"; included_destination?: "Shopping ads" | "Shopping Actions" | "Display ads" | "Local inventory ads" | "Surfaces across Google" | "Local surfaces across Google"; shipping?: string; shipping_label?: string; shipping_weight?: string; shipping_length?: string; shipping_width?: string; shipping_height?: string; transit_time_label?: string; max_handling_time?: string; min_handling_time?: string; tax?: string; tax_category?: string; product_detail?: string; shopping_ads_excluded_country?: string; product_highlight?: string; categories?: { [key: string]: any; }[]; }[]; product: { "site-id"?: number; "product-id"?: string; data?: components["schemas"]["product-data"]; }; "product-annotation": { message: string; data: components["schemas"]["product"]; }[]; "product-annotation-error": { message: string; data: components["schemas"]["product"]; debug?: string; }[]; "category-tree": { id: string; title: string; parentId: string; }[]; "category-tree-error": { message: string; data: components["schemas"]["category-tree"]; debug?: string; }[]; products: { productIds?: { [key: string]: any; }[]; }; "visual-product-search-object": { groupId?: string | null; productId?: string; title?: string; /** * link to the product detail page */ deeplink?: string | null; brand?: string | null; productType?: string | null; image?: { original?: string; thumbnail?: string | null; }; price?: { actual?: number | null; sale?: number | null; }; }; "category-filter": { href: string; method?: string; name?: string; }; "ion-link": { method: string; href: string; }; "ion-link-value": { name?: string; type?: string; value?: { [key: string]: any; }; }; "extended-ion-link": components["schemas"]["ion-link"] & { value: components["schemas"]["ion-link-value"]; }; "visual-product-search": components["schemas"]["visual-product-search-object"][]; "ion-visual-product-search": { value?: { products?: components["schemas"]["visual-product-search-object"][]; type?: string; }; filters?: { categories?: { value?: components["schemas"]["category-filter"][]; type?: string; }; }; links?: { self?: components["schemas"]["ion-link"]; withRectangle?: components["schemas"]["ion-link"] & components["schemas"]["extended-ion-link"]; }; }; "visual-product-recommendations": { bestFits?: string[]; extended?: components["schemas"]["visual-product-search"][]; }; }; responses: { /** * success */ "visual-product-search": { [key: string]: any; }; /** * success */ "ion-visual-product-search": { [key: string]: any; }; /** * success */ "visual-product-recommendation": { [key: string]: any; }; /** * Authentication Error */ "authentication-error": { [key: string]: any; }; /** * Authorization Error */ "authorization-error": { [key: string]: any; }; }; }