52 lines
4.0 KiB
JavaScript
52 lines
4.0 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.instanceOfCargoesV2CargoesGetResponseSuppliesCargoesTrackingInfo = instanceOfCargoesV2CargoesGetResponseSuppliesCargoesTrackingInfo;
|
||
exports.CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoFromJSON = CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoFromJSON;
|
||
exports.CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoFromJSONTyped = CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoFromJSONTyped;
|
||
exports.CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoToJSON = CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoToJSON;
|
||
const CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoStatusEnum_1 = require("./CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoStatusEnum");
|
||
const CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoArrivalAt_1 = require("./CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoArrivalAt");
|
||
const CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoTypeEnum_1 = require("./CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoTypeEnum");
|
||
/**
|
||
* Check if a given object implements the CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfo interface.
|
||
*/
|
||
function instanceOfCargoesV2CargoesGetResponseSuppliesCargoesTrackingInfo(value) {
|
||
return true;
|
||
}
|
||
function CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoFromJSON(json) {
|
||
return CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoFromJSONTyped(json, false);
|
||
}
|
||
function CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'arrival_at': json['arrival_at'] == null ? undefined : (0, CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoArrivalAt_1.CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoArrivalAtFromJSON)(json['arrival_at']),
|
||
'status': json['status'] == null ? undefined : (0, CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoStatusEnum_1.CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoStatusEnumFromJSON)(json['status']),
|
||
'type': json['type'] == null ? undefined : (0, CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoTypeEnum_1.CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoTypeEnumFromJSON)(json['type']),
|
||
};
|
||
}
|
||
function CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'arrival_at': (0, CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoArrivalAt_1.CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoArrivalAtToJSON)(value['arrival_at']),
|
||
'status': (0, CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoStatusEnum_1.CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoStatusEnumToJSON)(value['status']),
|
||
'type': (0, CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoTypeEnum_1.CargoesV2CargoesGetResponseSuppliesCargoesTrackingInfoTypeEnumToJSON)(value['type']),
|
||
};
|
||
}
|