"use strict"; /* tslint:disable */ /* eslint-disable */ /** * Документация Ozon Seller API * По вопросам работы с Seller API обращайтесь в поддержку через личный кабинет. > [Инструкции по работе с маркетплейсом](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.instanceOfV3FbsPostingAnalyticsData = instanceOfV3FbsPostingAnalyticsData; exports.V3FbsPostingAnalyticsDataFromJSON = V3FbsPostingAnalyticsDataFromJSON; exports.V3FbsPostingAnalyticsDataFromJSONTyped = V3FbsPostingAnalyticsDataFromJSONTyped; exports.V3FbsPostingAnalyticsDataToJSON = V3FbsPostingAnalyticsDataToJSON; /** * Check if a given object implements the V3FbsPostingAnalyticsData interface. */ function instanceOfV3FbsPostingAnalyticsData(value) { return true; } function V3FbsPostingAnalyticsDataFromJSON(json) { return V3FbsPostingAnalyticsDataFromJSONTyped(json, false); } function V3FbsPostingAnalyticsDataFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'city': json['city'] == null ? undefined : json['city'], 'delivery_date_begin': json['delivery_date_begin'] == null ? undefined : json['delivery_date_begin'], 'delivery_date_end': json['delivery_date_end'] == null ? undefined : json['delivery_date_end'], 'delivery_type': json['delivery_type'] == null ? undefined : json['delivery_type'], 'is_legal': json['is_legal'] == null ? undefined : json['is_legal'], 'is_premium': json['is_premium'] == null ? undefined : json['is_premium'], 'payment_type_group_name': json['payment_type_group_name'] == null ? undefined : json['payment_type_group_name'], 'region': json['region'] == null ? undefined : json['region'], 'tpl_provider': json['tpl_provider'] == null ? undefined : json['tpl_provider'], 'tpl_provider_id': json['tpl_provider_id'] == null ? undefined : json['tpl_provider_id'], 'warehouse': json['warehouse'] == null ? undefined : json['warehouse'], 'warehouse_id': json['warehouse_id'] == null ? undefined : json['warehouse_id'], 'client_delivery_date_begin': json['client_delivery_date_begin'] == null ? undefined : json['client_delivery_date_begin'], 'client_delivery_date_end': json['client_delivery_date_end'] == null ? undefined : json['client_delivery_date_end'], }; } function V3FbsPostingAnalyticsDataToJSON(value) { if (value == null) { return value; } return { 'city': value['city'], 'delivery_date_begin': value['delivery_date_begin'], 'delivery_date_end': value['delivery_date_end'], 'delivery_type': value['delivery_type'], 'is_legal': value['is_legal'], 'is_premium': value['is_premium'], 'payment_type_group_name': value['payment_type_group_name'], 'region': value['region'], 'tpl_provider': value['tpl_provider'], 'tpl_provider_id': value['tpl_provider_id'], 'warehouse': value['warehouse'], 'warehouse_id': value['warehouse_id'], 'client_delivery_date_begin': value['client_delivery_date_begin'], 'client_delivery_date_end': value['client_delivery_date_end'], }; }