UNPKG

channel3-sdk

Version:

The official TypeScript/JavaScript SDK for Channel3 AI Shopping API

117 lines 2.88 kB
/** * 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 with detailed information * @export * @interface ProductDetail */ export interface ProductDetail { /** * * @type {string} * @memberof ProductDetail */ id: string; /** * * @type {string} * @memberof ProductDetail */ url: string; /** * * @type {string} * @memberof ProductDetail */ title: string; /** * * @type {string} * @memberof ProductDetail */ description?: string | null; /** * * @type {string} * @memberof ProductDetail */ brand_id?: string | null; /** * * @type {string} * @memberof ProductDetail */ brand_name?: string | null; /** * * @type {Array<string>} * @memberof ProductDetail */ image_urls?: Array<string> | null; /** * * @type {Price} * @memberof ProductDetail */ price: Price; /** * * @type {AvailabilityStatus} * @memberof ProductDetail */ availability: AvailabilityStatus; /** * * @type {string} * @memberof ProductDetail */ gender?: ProductDetailGenderEnum | null; /** * * @type {Array<string>} * @memberof ProductDetail */ materials?: Array<string> | null; /** * * @type {Array<string>} * @memberof ProductDetail */ key_features?: Array<string> | null; /** * * @type {Array<Variant>} * @memberof ProductDetail */ variants?: Array<Variant>; } /** * @export */ export declare const ProductDetailGenderEnum: { readonly male: "male"; readonly female: "female"; readonly unisex: "unisex"; }; export type ProductDetailGenderEnum = typeof ProductDetailGenderEnum[keyof typeof ProductDetailGenderEnum]; /** * Check if a given object implements the ProductDetail interface. */ export declare function instanceOfProductDetail(value: object): value is ProductDetail; export declare function ProductDetailFromJSON(json: any): ProductDetail; export declare function ProductDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductDetail; export declare function ProductDetailToJSON(json: any): ProductDetail; export declare function ProductDetailToJSONTyped(value?: ProductDetail | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=ProductDetail.d.ts.map