UNPKG

channel3-sdk

Version:

The official TypeScript/JavaScript SDK for Channel3 AI Shopping API

44 lines 1.22 kB
/* 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 ErrorResponse interface. */ export function instanceOfErrorResponse(value) { if (!('detail' in value) || value['detail'] === undefined) return false; return true; } export function ErrorResponseFromJSON(json) { return ErrorResponseFromJSONTyped(json, false); } export function ErrorResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'detail': json['detail'], }; } export function ErrorResponseToJSON(json) { return ErrorResponseToJSONTyped(json, false); } export function ErrorResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'detail': value['detail'], }; } //# sourceMappingURL=ErrorResponse.js.map