49 lines
3.5 KiB
JavaScript
49 lines
3.5 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.instanceOfV1SupplyOrderContentUpdateValidationResponse = instanceOfV1SupplyOrderContentUpdateValidationResponse;
|
||
exports.V1SupplyOrderContentUpdateValidationResponseFromJSON = V1SupplyOrderContentUpdateValidationResponseFromJSON;
|
||
exports.V1SupplyOrderContentUpdateValidationResponseFromJSONTyped = V1SupplyOrderContentUpdateValidationResponseFromJSONTyped;
|
||
exports.V1SupplyOrderContentUpdateValidationResponseToJSON = V1SupplyOrderContentUpdateValidationResponseToJSON;
|
||
const SupplyOrderContentUpdateValidationResponseValidatedAssortment_1 = require("./SupplyOrderContentUpdateValidationResponseValidatedAssortment");
|
||
const SupplyOrderContentUpdateValidationResponseEditingErrorEnum_1 = require("./SupplyOrderContentUpdateValidationResponseEditingErrorEnum");
|
||
/**
|
||
* Check if a given object implements the V1SupplyOrderContentUpdateValidationResponse interface.
|
||
*/
|
||
function instanceOfV1SupplyOrderContentUpdateValidationResponse(value) {
|
||
return true;
|
||
}
|
||
function V1SupplyOrderContentUpdateValidationResponseFromJSON(json) {
|
||
return V1SupplyOrderContentUpdateValidationResponseFromJSONTyped(json, false);
|
||
}
|
||
function V1SupplyOrderContentUpdateValidationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'editing_errors': json['editing_errors'] == null ? undefined : (json['editing_errors'].map(SupplyOrderContentUpdateValidationResponseEditingErrorEnum_1.SupplyOrderContentUpdateValidationResponseEditingErrorEnumFromJSON)),
|
||
'validated_assortment': json['validated_assortment'] == null ? undefined : (0, SupplyOrderContentUpdateValidationResponseValidatedAssortment_1.SupplyOrderContentUpdateValidationResponseValidatedAssortmentFromJSON)(json['validated_assortment']),
|
||
};
|
||
}
|
||
function V1SupplyOrderContentUpdateValidationResponseToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'editing_errors': value['editing_errors'] == null ? undefined : (value['editing_errors'].map(SupplyOrderContentUpdateValidationResponseEditingErrorEnum_1.SupplyOrderContentUpdateValidationResponseEditingErrorEnumToJSON)),
|
||
'validated_assortment': (0, SupplyOrderContentUpdateValidationResponseValidatedAssortment_1.SupplyOrderContentUpdateValidationResponseValidatedAssortmentToJSON)(value['validated_assortment']),
|
||
};
|
||
}
|