UNPKG

channel3-sdk

Version:

The official TypeScript/JavaScript SDK for Channel3 AI Shopping API

51 lines 1.67 kB
"use strict"; /* tslint:disable */ /* eslint-disable */ /** * 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. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.instanceOfSearchConfig = instanceOfSearchConfig; exports.SearchConfigFromJSON = SearchConfigFromJSON; exports.SearchConfigFromJSONTyped = SearchConfigFromJSONTyped; exports.SearchConfigToJSON = SearchConfigToJSON; exports.SearchConfigToJSONTyped = SearchConfigToJSONTyped; /** * Check if a given object implements the SearchConfig interface. */ function instanceOfSearchConfig(value) { return true; } function SearchConfigFromJSON(json) { return SearchConfigFromJSONTyped(json, false); } function SearchConfigFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'enrich_query': json['enrich_query'] == null ? undefined : json['enrich_query'], 'semantic_search': json['semantic_search'] == null ? undefined : json['semantic_search'], }; } function SearchConfigToJSON(json) { return SearchConfigToJSONTyped(json, false); } function SearchConfigToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'enrich_query': value['enrich_query'], 'semantic_search': value['semantic_search'], }; } //# sourceMappingURL=SearchConfig.js.map