65 lines
3.5 KiB
JavaScript
65 lines
3.5 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.instanceOfV1Certificate = instanceOfV1Certificate;
|
||
exports.V1CertificateFromJSON = V1CertificateFromJSON;
|
||
exports.V1CertificateFromJSONTyped = V1CertificateFromJSONTyped;
|
||
exports.V1CertificateToJSON = V1CertificateToJSON;
|
||
/**
|
||
* Check if a given object implements the V1Certificate interface.
|
||
*/
|
||
function instanceOfV1Certificate(value) {
|
||
return true;
|
||
}
|
||
function V1CertificateFromJSON(json) {
|
||
return V1CertificateFromJSONTyped(json, false);
|
||
}
|
||
function V1CertificateFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'certificate_id': json['certificate_id'] == null ? undefined : json['certificate_id'],
|
||
'certificate_number': json['certificate_number'] == null ? undefined : json['certificate_number'],
|
||
'certificate_name': json['certificate_name'] == null ? undefined : json['certificate_name'],
|
||
'type_code': json['type_code'] == null ? undefined : json['type_code'],
|
||
'status_code': json['status_code'] == null ? undefined : json['status_code'],
|
||
'accordance_type_code': json['accordance_type_code'] == null ? undefined : json['accordance_type_code'],
|
||
'rejection_reason_code': json['rejection_reason_code'] == null ? undefined : json['rejection_reason_code'],
|
||
'verification_comment': json['verification_comment'] == null ? undefined : json['verification_comment'],
|
||
'issue_date': json['issue_date'] == null ? undefined : json['issue_date'],
|
||
'expire_date': json['expire_date'] == null ? undefined : json['expire_date'],
|
||
'products_count': json['products_count'] == null ? undefined : json['products_count'],
|
||
};
|
||
}
|
||
function V1CertificateToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'certificate_id': value['certificate_id'],
|
||
'certificate_number': value['certificate_number'],
|
||
'certificate_name': value['certificate_name'],
|
||
'type_code': value['type_code'],
|
||
'status_code': value['status_code'],
|
||
'accordance_type_code': value['accordance_type_code'],
|
||
'rejection_reason_code': value['rejection_reason_code'],
|
||
'verification_comment': value['verification_comment'],
|
||
'issue_date': value['issue_date'],
|
||
'expire_date': value['expire_date'],
|
||
'products_count': value['products_count'],
|
||
};
|
||
}
|