92 lines
5.9 KiB
JavaScript
92 lines
5.9 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.instanceOfCarriageCarriageGetResponse = instanceOfCarriageCarriageGetResponse;
|
||
exports.CarriageCarriageGetResponseFromJSON = CarriageCarriageGetResponseFromJSON;
|
||
exports.CarriageCarriageGetResponseFromJSONTyped = CarriageCarriageGetResponseFromJSONTyped;
|
||
exports.CarriageCarriageGetResponseToJSON = CarriageCarriageGetResponseToJSON;
|
||
const CarriageCarriageGetResponseCancelAvailability_1 = require("./CarriageCarriageGetResponseCancelAvailability");
|
||
/**
|
||
* Check if a given object implements the CarriageCarriageGetResponse interface.
|
||
*/
|
||
function instanceOfCarriageCarriageGetResponse(value) {
|
||
return true;
|
||
}
|
||
function CarriageCarriageGetResponseFromJSON(json) {
|
||
return CarriageCarriageGetResponseFromJSONTyped(json, false);
|
||
}
|
||
function CarriageCarriageGetResponseFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'act_type': json['act_type'] == null ? undefined : json['act_type'],
|
||
'all_blr_traceable': json['all_blr_traceable'] == null ? undefined : json['all_blr_traceable'],
|
||
'is_waybill_enabled': json['is_waybill_enabled'] == null ? undefined : json['is_waybill_enabled'],
|
||
'is_econom': json['is_econom'] == null ? undefined : json['is_econom'],
|
||
'arrival_pass_ids': json['arrival_pass_ids'] == null ? undefined : json['arrival_pass_ids'],
|
||
'available_actions': json['available_actions'] == null ? undefined : json['available_actions'],
|
||
'cancel_availability': json['cancel_availability'] == null ? undefined : (0, CarriageCarriageGetResponseCancelAvailability_1.CarriageCarriageGetResponseCancelAvailabilityFromJSON)(json['cancel_availability']),
|
||
'carriage_id': json['carriage_id'] == null ? undefined : json['carriage_id'],
|
||
'company_id': json['company_id'] == null ? undefined : json['company_id'],
|
||
'containers_count': json['containers_count'] == null ? undefined : json['containers_count'],
|
||
'created_at': json['created_at'] == null ? undefined : json['created_at'],
|
||
'delivery_method_id': json['delivery_method_id'] == null ? undefined : json['delivery_method_id'],
|
||
'departure_date': json['departure_date'] == null ? undefined : json['departure_date'],
|
||
'first_mile_type': json['first_mile_type'] == null ? undefined : json['first_mile_type'],
|
||
'has_postings_for_next_carriage': json['has_postings_for_next_carriage'] == null ? undefined : json['has_postings_for_next_carriage'],
|
||
'integration_type': json['integration_type'] == null ? undefined : json['integration_type'],
|
||
'is_container_label_printed': json['is_container_label_printed'] == null ? undefined : json['is_container_label_printed'],
|
||
'is_partial': json['is_partial'] == null ? undefined : json['is_partial'],
|
||
'partial_num': json['partial_num'] == null ? undefined : json['partial_num'],
|
||
'retry_count': json['retry_count'] == null ? undefined : json['retry_count'],
|
||
'status': json['status'] == null ? undefined : json['status'],
|
||
'tpl_provider_id': json['tpl_provider_id'] == null ? undefined : json['tpl_provider_id'],
|
||
'updated_at': json['updated_at'] == null ? undefined : json['updated_at'],
|
||
'warehouse_id': json['warehouse_id'] == null ? undefined : json['warehouse_id'],
|
||
};
|
||
}
|
||
function CarriageCarriageGetResponseToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'act_type': value['act_type'],
|
||
'all_blr_traceable': value['all_blr_traceable'],
|
||
'is_waybill_enabled': value['is_waybill_enabled'],
|
||
'is_econom': value['is_econom'],
|
||
'arrival_pass_ids': value['arrival_pass_ids'],
|
||
'available_actions': value['available_actions'],
|
||
'cancel_availability': (0, CarriageCarriageGetResponseCancelAvailability_1.CarriageCarriageGetResponseCancelAvailabilityToJSON)(value['cancel_availability']),
|
||
'carriage_id': value['carriage_id'],
|
||
'company_id': value['company_id'],
|
||
'containers_count': value['containers_count'],
|
||
'created_at': value['created_at'],
|
||
'delivery_method_id': value['delivery_method_id'],
|
||
'departure_date': value['departure_date'],
|
||
'first_mile_type': value['first_mile_type'],
|
||
'has_postings_for_next_carriage': value['has_postings_for_next_carriage'],
|
||
'integration_type': value['integration_type'],
|
||
'is_container_label_printed': value['is_container_label_printed'],
|
||
'is_partial': value['is_partial'],
|
||
'partial_num': value['partial_num'],
|
||
'retry_count': value['retry_count'],
|
||
'status': value['status'],
|
||
'tpl_provider_id': value['tpl_provider_id'],
|
||
'updated_at': value['updated_at'],
|
||
'warehouse_id': value['warehouse_id'],
|
||
};
|
||
}
|