"use strict"; /* tslint:disable */ /* eslint-disable */ /** * Документация Ozon Seller API * По вопросам работы с Seller API обращайтесь в поддержку через личный кабинет. > [Инструкции по работе с маркетплейсом](https://seller-edu.ozon.ru) > [Информационная платформа и сообщество разработчиков Ozon for dev](https://dev.ozon.ru/) * * The version of the OpenAPI document: 2.1 * * * 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.instanceOfV1UpdateSupplyOrderTimeslotResponse = instanceOfV1UpdateSupplyOrderTimeslotResponse; exports.V1UpdateSupplyOrderTimeslotResponseFromJSON = V1UpdateSupplyOrderTimeslotResponseFromJSON; exports.V1UpdateSupplyOrderTimeslotResponseFromJSONTyped = V1UpdateSupplyOrderTimeslotResponseFromJSONTyped; exports.V1UpdateSupplyOrderTimeslotResponseToJSON = V1UpdateSupplyOrderTimeslotResponseToJSON; const V1UpdateTimeslotError_1 = require("./V1UpdateTimeslotError"); /** * Check if a given object implements the V1UpdateSupplyOrderTimeslotResponse interface. */ function instanceOfV1UpdateSupplyOrderTimeslotResponse(value) { return true; } function V1UpdateSupplyOrderTimeslotResponseFromJSON(json) { return V1UpdateSupplyOrderTimeslotResponseFromJSONTyped(json, false); } function V1UpdateSupplyOrderTimeslotResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'errors': json['errors'] == null ? undefined : (json['errors'].map(V1UpdateTimeslotError_1.V1UpdateTimeslotErrorFromJSON)), 'operation_id': json['operation_id'] == null ? undefined : json['operation_id'], }; } function V1UpdateSupplyOrderTimeslotResponseToJSON(value) { if (value == null) { return value; } return { 'errors': value['errors'] == null ? undefined : (value['errors'].map(V1UpdateTimeslotError_1.V1UpdateTimeslotErrorToJSON)), 'operation_id': value['operation_id'], }; }