55 lines
3.3 KiB
JavaScript
55 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.instanceOfV1RatingSummaryV1Response = instanceOfV1RatingSummaryV1Response;
|
||
exports.V1RatingSummaryV1ResponseFromJSON = V1RatingSummaryV1ResponseFromJSON;
|
||
exports.V1RatingSummaryV1ResponseFromJSONTyped = V1RatingSummaryV1ResponseFromJSONTyped;
|
||
exports.V1RatingSummaryV1ResponseToJSON = V1RatingSummaryV1ResponseToJSON;
|
||
const RatingSummaryV1ResponseLocalIndex_1 = require("./RatingSummaryV1ResponseLocalIndex");
|
||
const RatingSummaryV1ResponseGroup_1 = require("./RatingSummaryV1ResponseGroup");
|
||
/**
|
||
* Check if a given object implements the V1RatingSummaryV1Response interface.
|
||
*/
|
||
function instanceOfV1RatingSummaryV1Response(value) {
|
||
return true;
|
||
}
|
||
function V1RatingSummaryV1ResponseFromJSON(json) {
|
||
return V1RatingSummaryV1ResponseFromJSONTyped(json, false);
|
||
}
|
||
function V1RatingSummaryV1ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'groups': json['groups'] == null ? undefined : (json['groups'].map(RatingSummaryV1ResponseGroup_1.RatingSummaryV1ResponseGroupFromJSON)),
|
||
'localization_index': json['localization_index'] == null ? undefined : (json['localization_index'].map(RatingSummaryV1ResponseLocalIndex_1.RatingSummaryV1ResponseLocalIndexFromJSON)),
|
||
'penalty_score_exceeded': json['penalty_score_exceeded'] == null ? undefined : json['penalty_score_exceeded'],
|
||
'premium': json['premium'] == null ? undefined : json['premium'],
|
||
'premium_plus': json['premium_plus'] == null ? undefined : json['premium_plus'],
|
||
};
|
||
}
|
||
function V1RatingSummaryV1ResponseToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'groups': value['groups'] == null ? undefined : (value['groups'].map(RatingSummaryV1ResponseGroup_1.RatingSummaryV1ResponseGroupToJSON)),
|
||
'localization_index': value['localization_index'] == null ? undefined : (value['localization_index'].map(RatingSummaryV1ResponseLocalIndex_1.RatingSummaryV1ResponseLocalIndexToJSON)),
|
||
'penalty_score_exceeded': value['penalty_score_exceeded'],
|
||
'premium': value['premium'],
|
||
'premium_plus': value['premium_plus'],
|
||
};
|
||
}
|