54 lines
3.0 KiB
JavaScript
54 lines
3.0 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.instanceOfV1GiveoutInfoResponse = instanceOfV1GiveoutInfoResponse;
|
||
exports.V1GiveoutInfoResponseFromJSON = V1GiveoutInfoResponseFromJSON;
|
||
exports.V1GiveoutInfoResponseFromJSONTyped = V1GiveoutInfoResponseFromJSONTyped;
|
||
exports.V1GiveoutInfoResponseToJSON = V1GiveoutInfoResponseToJSON;
|
||
const GiveoutInfoResponseArticleDetails_1 = require("./GiveoutInfoResponseArticleDetails");
|
||
/**
|
||
* Check if a given object implements the V1GiveoutInfoResponse interface.
|
||
*/
|
||
function instanceOfV1GiveoutInfoResponse(value) {
|
||
return true;
|
||
}
|
||
function V1GiveoutInfoResponseFromJSON(json) {
|
||
return V1GiveoutInfoResponseFromJSONTyped(json, false);
|
||
}
|
||
function V1GiveoutInfoResponseFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'articles': json['articles'] == null ? undefined : (json['articles'].map(GiveoutInfoResponseArticleDetails_1.GiveoutInfoResponseArticleDetailsFromJSON)),
|
||
'giveout_id': json['giveout_id'] == null ? undefined : json['giveout_id'],
|
||
'giveout_status': json['giveout_status'] == null ? undefined : json['giveout_status'],
|
||
'warehouse_address': json['warehouse_address'] == null ? undefined : json['warehouse_address'],
|
||
'warehouse_name': json['warehouse_name'] == null ? undefined : json['warehouse_name'],
|
||
};
|
||
}
|
||
function V1GiveoutInfoResponseToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'articles': value['articles'] == null ? undefined : (value['articles'].map(GiveoutInfoResponseArticleDetails_1.GiveoutInfoResponseArticleDetailsToJSON)),
|
||
'giveout_id': value['giveout_id'],
|
||
'giveout_status': value['giveout_status'],
|
||
'warehouse_address': value['warehouse_address'],
|
||
'warehouse_name': value['warehouse_name'],
|
||
};
|
||
}
|