Files
ozon-seller-typescript/dist/models/V1SellerInfoResponse.js
2026-08-21 12:19:50 +00:00

52 lines
3.0 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"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.instanceOfV1SellerInfoResponse = instanceOfV1SellerInfoResponse;
exports.V1SellerInfoResponseFromJSON = V1SellerInfoResponseFromJSON;
exports.V1SellerInfoResponseFromJSONTyped = V1SellerInfoResponseFromJSONTyped;
exports.V1SellerInfoResponseToJSON = V1SellerInfoResponseToJSON;
const SellerInfoResponseCompany_1 = require("./SellerInfoResponseCompany");
const SellerInfoResponseRating_1 = require("./SellerInfoResponseRating");
const SellerInfoResponseSubscription_1 = require("./SellerInfoResponseSubscription");
/**
* Check if a given object implements the V1SellerInfoResponse interface.
*/
function instanceOfV1SellerInfoResponse(value) {
return true;
}
function V1SellerInfoResponseFromJSON(json) {
return V1SellerInfoResponseFromJSONTyped(json, false);
}
function V1SellerInfoResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'company': json['company'] == null ? undefined : (0, SellerInfoResponseCompany_1.SellerInfoResponseCompanyFromJSON)(json['company']),
'ratings': json['ratings'] == null ? undefined : (json['ratings'].map(SellerInfoResponseRating_1.SellerInfoResponseRatingFromJSON)),
'subscription': json['subscription'] == null ? undefined : (0, SellerInfoResponseSubscription_1.SellerInfoResponseSubscriptionFromJSON)(json['subscription']),
};
}
function V1SellerInfoResponseToJSON(value) {
if (value == null) {
return value;
}
return {
'company': (0, SellerInfoResponseCompany_1.SellerInfoResponseCompanyToJSON)(value['company']),
'ratings': value['ratings'] == null ? undefined : (value['ratings'].map(SellerInfoResponseRating_1.SellerInfoResponseRatingToJSON)),
'subscription': (0, SellerInfoResponseSubscription_1.SellerInfoResponseSubscriptionToJSON)(value['subscription']),
};
}