release 0.1.0
This commit is contained in:
49
dist/models/SupplyContent.js
vendored
Normal file
49
dist/models/SupplyContent.js
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
"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.instanceOfSupplyContent = instanceOfSupplyContent;
|
||||
exports.SupplyContentFromJSON = SupplyContentFromJSON;
|
||||
exports.SupplyContentFromJSONTyped = SupplyContentFromJSONTyped;
|
||||
exports.SupplyContentToJSON = SupplyContentToJSON;
|
||||
const ContentCanNotEditSupplyContentReasonEnum_1 = require("./ContentCanNotEditSupplyContentReasonEnum");
|
||||
/**
|
||||
* Check if a given object implements the SupplyContent interface.
|
||||
*/
|
||||
function instanceOfSupplyContent(value) {
|
||||
return true;
|
||||
}
|
||||
function SupplyContentFromJSON(json) {
|
||||
return SupplyContentFromJSONTyped(json, false);
|
||||
}
|
||||
function SupplyContentFromJSONTyped(json, ignoreDiscriminator) {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
'bundle_id': json['bundle_id'] == null ? undefined : json['bundle_id'],
|
||||
'can_not_set_reasons': json['can_not_set_reasons'] == null ? undefined : (json['can_not_set_reasons'].map(ContentCanNotEditSupplyContentReasonEnum_1.ContentCanNotEditSupplyContentReasonEnumFromJSON)),
|
||||
'can_set': json['can_set'] == null ? undefined : json['can_set'],
|
||||
};
|
||||
}
|
||||
function SupplyContentToJSON(value) {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
'bundle_id': value['bundle_id'],
|
||||
'can_not_set_reasons': value['can_not_set_reasons'] == null ? undefined : (value['can_not_set_reasons'].map(ContentCanNotEditSupplyContentReasonEnum_1.ContentCanNotEditSupplyContentReasonEnumToJSON)),
|
||||
'can_set': value['can_set'],
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user