53 lines
4.1 KiB
JavaScript
53 lines
4.1 KiB
JavaScript
"use strict";
|
||
/* tslint:disable */
|
||
/* eslint-disable */
|
||
/**
|
||
* Документация Ozon Seller API
|
||
* По вопросам работы с Seller API обращайтесь в поддержку через личный кабинет. <aside class=\"warning\">Обновляем корневой TLS/SSL-сертификат GlobalSign — вместо него будем использовать <a href=\"https://app.harica.gr/\">HARICA</a>.<br><a href=\"https://dev.ozon.ru/news/775-Izmeneniia-v-Ozon-API-migratsiia-kornevogo-sertifikata-UTs-Ozon/\">Подробнее о переходе на HARICA на платформе разработчиков Ozon for dev</a></aside> > [Инструкции по работе с маркетплейсом](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.instanceOfCargoesV1CargoesSuppliesGetResponseSuppliesCargoes = instanceOfCargoesV1CargoesSuppliesGetResponseSuppliesCargoes;
|
||
exports.CargoesV1CargoesSuppliesGetResponseSuppliesCargoesFromJSON = CargoesV1CargoesSuppliesGetResponseSuppliesCargoesFromJSON;
|
||
exports.CargoesV1CargoesSuppliesGetResponseSuppliesCargoesFromJSONTyped = CargoesV1CargoesSuppliesGetResponseSuppliesCargoesFromJSONTyped;
|
||
exports.CargoesV1CargoesSuppliesGetResponseSuppliesCargoesToJSON = CargoesV1CargoesSuppliesGetResponseSuppliesCargoesToJSON;
|
||
const CargoesV1CargoesSuppliesGetResponseSuppliesCargoesCargoesWithoutTransportCargoes_1 = require("./CargoesV1CargoesSuppliesGetResponseSuppliesCargoesCargoesWithoutTransportCargoes");
|
||
const CargoesV1CargoesSuppliesGetResponseSuppliesCargoesTransportCargoes_1 = require("./CargoesV1CargoesSuppliesGetResponseSuppliesCargoesTransportCargoes");
|
||
/**
|
||
* Check if a given object implements the CargoesV1CargoesSuppliesGetResponseSuppliesCargoes interface.
|
||
*/
|
||
function instanceOfCargoesV1CargoesSuppliesGetResponseSuppliesCargoes(value) {
|
||
return true;
|
||
}
|
||
function CargoesV1CargoesSuppliesGetResponseSuppliesCargoesFromJSON(json) {
|
||
return CargoesV1CargoesSuppliesGetResponseSuppliesCargoesFromJSONTyped(json, false);
|
||
}
|
||
function CargoesV1CargoesSuppliesGetResponseSuppliesCargoesFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'bundle_id': json['bundle_id'] == null ? undefined : json['bundle_id'],
|
||
'cargoes_without_transport_cargoes': json['cargoes_without_transport_cargoes'] == null ? undefined : (json['cargoes_without_transport_cargoes'].map(CargoesV1CargoesSuppliesGetResponseSuppliesCargoesCargoesWithoutTransportCargoes_1.CargoesV1CargoesSuppliesGetResponseSuppliesCargoesCargoesWithoutTransportCargoesFromJSON)),
|
||
'supply_id': json['supply_id'] == null ? undefined : json['supply_id'],
|
||
'transport_cargoes': json['transport_cargoes'] == null ? undefined : (json['transport_cargoes'].map(CargoesV1CargoesSuppliesGetResponseSuppliesCargoesTransportCargoes_1.CargoesV1CargoesSuppliesGetResponseSuppliesCargoesTransportCargoesFromJSON)),
|
||
};
|
||
}
|
||
function CargoesV1CargoesSuppliesGetResponseSuppliesCargoesToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'bundle_id': value['bundle_id'],
|
||
'cargoes_without_transport_cargoes': value['cargoes_without_transport_cargoes'] == null ? undefined : (value['cargoes_without_transport_cargoes'].map(CargoesV1CargoesSuppliesGetResponseSuppliesCargoesCargoesWithoutTransportCargoes_1.CargoesV1CargoesSuppliesGetResponseSuppliesCargoesCargoesWithoutTransportCargoesToJSON)),
|
||
'supply_id': value['supply_id'],
|
||
'transport_cargoes': value['transport_cargoes'] == null ? undefined : (value['transport_cargoes'].map(CargoesV1CargoesSuppliesGetResponseSuppliesCargoesTransportCargoes_1.CargoesV1CargoesSuppliesGetResponseSuppliesCargoesTransportCargoesToJSON)),
|
||
};
|
||
}
|