56 lines
3.3 KiB
JavaScript
56 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.instanceOfV1GetFBSRatingIndexInfoV1Response = instanceOfV1GetFBSRatingIndexInfoV1Response;
|
||
exports.V1GetFBSRatingIndexInfoV1ResponseFromJSON = V1GetFBSRatingIndexInfoV1ResponseFromJSON;
|
||
exports.V1GetFBSRatingIndexInfoV1ResponseFromJSONTyped = V1GetFBSRatingIndexInfoV1ResponseFromJSONTyped;
|
||
exports.V1GetFBSRatingIndexInfoV1ResponseToJSON = V1GetFBSRatingIndexInfoV1ResponseToJSON;
|
||
const GetFBSRatingIndexInfoV1ResponseIndexDynamics_1 = require("./GetFBSRatingIndexInfoV1ResponseIndexDynamics");
|
||
/**
|
||
* Check if a given object implements the V1GetFBSRatingIndexInfoV1Response interface.
|
||
*/
|
||
function instanceOfV1GetFBSRatingIndexInfoV1Response(value) {
|
||
return true;
|
||
}
|
||
function V1GetFBSRatingIndexInfoV1ResponseFromJSON(json) {
|
||
return V1GetFBSRatingIndexInfoV1ResponseFromJSONTyped(json, false);
|
||
}
|
||
function V1GetFBSRatingIndexInfoV1ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'currency_code': json['currency_code'] == null ? undefined : json['currency_code'],
|
||
'defects': json['defects'] == null ? undefined : (json['defects'].map(GetFBSRatingIndexInfoV1ResponseIndexDynamics_1.GetFBSRatingIndexInfoV1ResponseIndexDynamicsFromJSON)),
|
||
'index': json['index'] == null ? undefined : json['index'],
|
||
'period_from': json['period_from'] == null ? undefined : json['period_from'],
|
||
'period_to': json['period_to'] == null ? undefined : json['period_to'],
|
||
'processing_costs_sum': json['processing_costs_sum'] == null ? undefined : json['processing_costs_sum'],
|
||
};
|
||
}
|
||
function V1GetFBSRatingIndexInfoV1ResponseToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'currency_code': value['currency_code'],
|
||
'defects': value['defects'] == null ? undefined : (value['defects'].map(GetFBSRatingIndexInfoV1ResponseIndexDynamics_1.GetFBSRatingIndexInfoV1ResponseIndexDynamicsToJSON)),
|
||
'index': value['index'],
|
||
'period_from': value['period_from'],
|
||
'period_to': value['period_to'],
|
||
'processing_costs_sum': value['processing_costs_sum'],
|
||
};
|
||
}
|