channel3-sdk
Version:
The official TypeScript/JavaScript SDK for Channel3 AI Shopping API
90 lines • 2.03 kB
TypeScript
/**
* FastAPI
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { Variant } from './Variant';
import type { AvailabilityStatus } from './AvailabilityStatus';
import type { Price } from './Price';
/**
* A product
* @export
* @interface Product
*/
export interface Product {
/**
*
* @type {string}
* @memberof Product
*/
id: string;
/**
*
* @type {number}
* @memberof Product
*/
score: number;
/**
*
* @type {string}
* @memberof Product
*/
url: string;
/**
*
* @type {string}
* @memberof Product
*/
title: string;
/**
*
* @type {string}
* @memberof Product
*/
description?: string | null;
/**
*
* @type {string}
* @memberof Product
*/
brand_name: string;
/**
*
* @type {string}
* @memberof Product
*/
image_url: string;
/**
*
* @type {Price}
* @memberof Product
*/
price: Price;
/**
*
* @type {AvailabilityStatus}
* @memberof Product
*/
availability: AvailabilityStatus;
/**
*
* @type {Array<Variant>}
* @memberof Product
*/
variants?: Array<Variant>;
}
/**
* Check if a given object implements the Product interface.
*/
export declare function instanceOfProduct(value: object): value is Product;
export declare function ProductFromJSON(json: any): Product;
export declare function ProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): Product;
export declare function ProductToJSON(json: any): Product;
export declare function ProductToJSONTyped(value?: Product | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=Product.d.ts.map