channel3-sdk
Version:
The official TypeScript/JavaScript SDK for Channel3 AI Shopping API
44 lines • 1.34 kB
JavaScript
/* 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.
*/
/**
* Check if a given object implements the SearchConfig interface.
*/
export function instanceOfSearchConfig(value) {
return true;
}
export function SearchConfigFromJSON(json) {
return SearchConfigFromJSONTyped(json, false);
}
export 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'],
};
}
export function SearchConfigToJSON(json) {
return SearchConfigToJSONTyped(json, false);
}
export 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