UNPKG

channel3-sdk

Version:

The official TypeScript/JavaScript SDK for Channel3 AI Shopping API

51 lines 1.55 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.instanceOfErrorResponse = instanceOfErrorResponse; exports.ErrorResponseFromJSON = ErrorResponseFromJSON; exports.ErrorResponseFromJSONTyped = ErrorResponseFromJSONTyped; exports.ErrorResponseToJSON = ErrorResponseToJSON; exports.ErrorResponseToJSONTyped = ErrorResponseToJSONTyped; /** * Check if a given object implements the ErrorResponse interface. */ function instanceOfErrorResponse(value) { if (!('detail' in value) || value['detail'] === undefined) return false; return true; } function ErrorResponseFromJSON(json) { return ErrorResponseFromJSONTyped(json, false); } function ErrorResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'detail': json['detail'], }; } function ErrorResponseToJSON(json) { return ErrorResponseToJSONTyped(json, false); } function ErrorResponseToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'detail': value['detail'], }; } //# sourceMappingURL=ErrorResponse.js.map