83 lines
5.1 KiB
JavaScript
83 lines
5.1 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.instanceOfV1FbpArchiveGetResponse = instanceOfV1FbpArchiveGetResponse;
|
||
exports.V1FbpArchiveGetResponseFromJSON = V1FbpArchiveGetResponseFromJSON;
|
||
exports.V1FbpArchiveGetResponseFromJSONTyped = V1FbpArchiveGetResponseFromJSONTyped;
|
||
exports.V1FbpArchiveGetResponseToJSON = V1FbpArchiveGetResponseToJSON;
|
||
const V1ArchiveSkuSummary_1 = require("./V1ArchiveSkuSummary");
|
||
const Fbpv1DeliveryDetails_1 = require("./Fbpv1DeliveryDetails");
|
||
const V1ArchiveDeclineReason_1 = require("./V1ArchiveDeclineReason");
|
||
const V1ArchiveStatusEnum_1 = require("./V1ArchiveStatusEnum");
|
||
/**
|
||
* Check if a given object implements the V1FbpArchiveGetResponse interface.
|
||
*/
|
||
function instanceOfV1FbpArchiveGetResponse(value) {
|
||
return true;
|
||
}
|
||
function V1FbpArchiveGetResponseFromJSON(json) {
|
||
return V1FbpArchiveGetResponseFromJSONTyped(json, false);
|
||
}
|
||
function V1FbpArchiveGetResponseFromJSONTyped(json, ignoreDiscriminator) {
|
||
if (json == null) {
|
||
return json;
|
||
}
|
||
return {
|
||
'act_file_uuid': json['act_file_uuid'] == null ? undefined : json['act_file_uuid'],
|
||
'bundle_id': json['bundle_id'] == null ? undefined : json['bundle_id'],
|
||
'bundle_sku_summary': json['bundle_sku_summary'] == null ? undefined : (0, V1ArchiveSkuSummary_1.V1ArchiveSkuSummaryFromJSON)(json['bundle_sku_summary']),
|
||
'business_flow_type_id': json['business_flow_type_id'] == null ? undefined : json['business_flow_type_id'],
|
||
'created_date': json['created_date'] == null ? undefined : json['created_date'],
|
||
'decline_reason': json['decline_reason'] == null ? undefined : (0, V1ArchiveDeclineReason_1.V1ArchiveDeclineReasonFromJSON)(json['decline_reason']),
|
||
'delivery_details': json['delivery_details'] == null ? undefined : (0, Fbpv1DeliveryDetails_1.Fbpv1DeliveryDetailsFromJSON)(json['delivery_details']),
|
||
'has_act': json['has_act'] == null ? undefined : json['has_act'],
|
||
'has_label': json['has_label'] == null ? undefined : json['has_label'],
|
||
'id': json['id'] == null ? undefined : json['id'],
|
||
'order_draft_id': json['order_draft_id'] == null ? undefined : json['order_draft_id'],
|
||
'order_number': json['order_number'] == null ? undefined : json['order_number'],
|
||
'package_units_count': json['package_units_count'] == null ? undefined : json['package_units_count'],
|
||
'receive_date': json['receive_date'] == null ? undefined : json['receive_date'],
|
||
'row_version': json['row_version'] == null ? undefined : json['row_version'],
|
||
'status': json['status'] == null ? undefined : (0, V1ArchiveStatusEnum_1.V1ArchiveStatusEnumFromJSON)(json['status']),
|
||
'supply_id': json['supply_id'] == null ? undefined : json['supply_id'],
|
||
'warehouse_id': json['warehouse_id'] == null ? undefined : json['warehouse_id'],
|
||
};
|
||
}
|
||
function V1FbpArchiveGetResponseToJSON(value) {
|
||
if (value == null) {
|
||
return value;
|
||
}
|
||
return {
|
||
'act_file_uuid': value['act_file_uuid'],
|
||
'bundle_id': value['bundle_id'],
|
||
'bundle_sku_summary': (0, V1ArchiveSkuSummary_1.V1ArchiveSkuSummaryToJSON)(value['bundle_sku_summary']),
|
||
'business_flow_type_id': value['business_flow_type_id'],
|
||
'created_date': value['created_date'],
|
||
'decline_reason': (0, V1ArchiveDeclineReason_1.V1ArchiveDeclineReasonToJSON)(value['decline_reason']),
|
||
'delivery_details': (0, Fbpv1DeliveryDetails_1.Fbpv1DeliveryDetailsToJSON)(value['delivery_details']),
|
||
'has_act': value['has_act'],
|
||
'has_label': value['has_label'],
|
||
'id': value['id'],
|
||
'order_draft_id': value['order_draft_id'],
|
||
'order_number': value['order_number'],
|
||
'package_units_count': value['package_units_count'],
|
||
'receive_date': value['receive_date'],
|
||
'row_version': value['row_version'],
|
||
'status': (0, V1ArchiveStatusEnum_1.V1ArchiveStatusEnumToJSON)(value['status']),
|
||
'supply_id': value['supply_id'],
|
||
'warehouse_id': value['warehouse_id'],
|
||
};
|
||
}
|