51 lines
3.3 KiB
JavaScript
51 lines
3.3 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.instanceOfV1SupplyOrderContentUpdateStatusResponse = instanceOfV1SupplyOrderContentUpdateStatusResponse;
|
||
exports.V1SupplyOrderContentUpdateStatusResponseFromJSON = V1SupplyOrderContentUpdateStatusResponseFromJSON;
|
||
exports.V1SupplyOrderContentUpdateStatusResponseFromJSONTyped = V1SupplyOrderContentUpdateStatusResponseFromJSONTyped;
|
||
exports.V1SupplyOrderContentUpdateStatusResponseToJSON = V1SupplyOrderContentUpdateStatusResponseToJSON;
|
||
const SupplyOrderContentUpdateStatusResponseStatusEnum_1 = require("./SupplyOrderContentUpdateStatusResponseStatusEnum");
|
||
const V1SupplyOrderContentUpdateStatusResponseErrorEnum_1 = require("./V1SupplyOrderContentUpdateStatusResponseErrorEnum");
|
||
/**
|
||
* Check if a given object implements the V1SupplyOrderContentUpdateStatusResponse interface.
|
||
*/
|
||
function instanceOfV1SupplyOrderContentUpdateStatusResponse(value) {
|
||
return true;
|
||
}
|
||
function V1SupplyOrderContentUpdateStatusResponseFromJSON(json) {
|
||
return V1SupplyOrderContentUpdateStatusResponseFromJSONTyped(json, false);
|
||
}
|
||
function V1SupplyOrderContentUpdateStatusResponseFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'errors': json['errors'] == null ? undefined : (json['errors'].map(V1SupplyOrderContentUpdateStatusResponseErrorEnum_1.V1SupplyOrderContentUpdateStatusResponseErrorEnumFromJSON)),
|
||
'new_bundle_id': json['new_bundle_id'] == null ? undefined : json['new_bundle_id'],
|
||
'status': json['status'] == null ? undefined : (0, SupplyOrderContentUpdateStatusResponseStatusEnum_1.SupplyOrderContentUpdateStatusResponseStatusEnumFromJSON)(json['status']),
|
||
};
|
||
}
|
||
function V1SupplyOrderContentUpdateStatusResponseToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'errors': value['errors'] == null ? undefined : (value['errors'].map(V1SupplyOrderContentUpdateStatusResponseErrorEnum_1.V1SupplyOrderContentUpdateStatusResponseErrorEnumToJSON)),
|
||
'new_bundle_id': value['new_bundle_id'],
|
||
'status': (0, SupplyOrderContentUpdateStatusResponseStatusEnum_1.SupplyOrderContentUpdateStatusResponseStatusEnumToJSON)(value['status']),
|
||
};
|
||
}
|