"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.instanceOfV3SupplyOrderGetResponse = instanceOfV3SupplyOrderGetResponse; exports.V3SupplyOrderGetResponseFromJSON = V3SupplyOrderGetResponseFromJSON; exports.V3SupplyOrderGetResponseFromJSONTyped = V3SupplyOrderGetResponseFromJSONTyped; exports.V3SupplyOrderGetResponseToJSON = V3SupplyOrderGetResponseToJSON; const SupplyOrderGetResponseOrder_1 = require("./SupplyOrderGetResponseOrder"); /** * Check if a given object implements the V3SupplyOrderGetResponse interface. */ function instanceOfV3SupplyOrderGetResponse(value) { return true; } function V3SupplyOrderGetResponseFromJSON(json) { return V3SupplyOrderGetResponseFromJSONTyped(json, false); } function V3SupplyOrderGetResponseFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'orders': json['orders'] == null ? undefined : (json['orders'].map(SupplyOrderGetResponseOrder_1.SupplyOrderGetResponseOrderFromJSON)), }; } function V3SupplyOrderGetResponseToJSON(value) { if (value == null) { return value; } return { 'orders': value['orders'] == null ? undefined : (value['orders'].map(SupplyOrderGetResponseOrder_1.SupplyOrderGetResponseOrderToJSON)), }; }