"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.instanceOfV1fbpDeliveryDetails = instanceOfV1fbpDeliveryDetails; exports.V1fbpDeliveryDetailsFromJSON = V1fbpDeliveryDetailsFromJSON; exports.V1fbpDeliveryDetailsFromJSONTyped = V1fbpDeliveryDetailsFromJSONTyped; exports.V1fbpDeliveryDetailsToJSON = V1fbpDeliveryDetailsToJSON; const V1DeliveryDetailsPickUpDetails_1 = require("./V1DeliveryDetailsPickUpDetails"); const DeliveryDetailsSupplyType_1 = require("./DeliveryDetailsSupplyType"); const V1DeliveryDetailsDirectDetails_1 = require("./V1DeliveryDetailsDirectDetails"); const DeliveryDetailsDropOffPointDetails_1 = require("./DeliveryDetailsDropOffPointDetails"); /** * Check if a given object implements the V1fbpDeliveryDetails interface. */ function instanceOfV1fbpDeliveryDetails(value) { return true; } function V1fbpDeliveryDetailsFromJSON(json) { return V1fbpDeliveryDetailsFromJSONTyped(json, false); } function V1fbpDeliveryDetailsFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'direct_details': json['direct_details'] == null ? undefined : (0, V1DeliveryDetailsDirectDetails_1.V1DeliveryDetailsDirectDetailsFromJSON)(json['direct_details']), 'drop_off_point': json['drop_off_point'] == null ? undefined : (0, DeliveryDetailsDropOffPointDetails_1.DeliveryDetailsDropOffPointDetailsFromJSON)(json['drop_off_point']), 'pickup_details': json['pickup_details'] == null ? undefined : (0, V1DeliveryDetailsPickUpDetails_1.V1DeliveryDetailsPickUpDetailsFromJSON)(json['pickup_details']), 'supply_type': json['supply_type'] == null ? undefined : (0, DeliveryDetailsSupplyType_1.DeliveryDetailsSupplyTypeFromJSON)(json['supply_type']), }; } function V1fbpDeliveryDetailsToJSON(value) { if (value == null) { return value; } return { 'direct_details': (0, V1DeliveryDetailsDirectDetails_1.V1DeliveryDetailsDirectDetailsToJSON)(value['direct_details']), 'drop_off_point': (0, DeliveryDetailsDropOffPointDetails_1.DeliveryDetailsDropOffPointDetailsToJSON)(value['drop_off_point']), 'pickup_details': (0, V1DeliveryDetailsPickUpDetails_1.V1DeliveryDetailsPickUpDetailsToJSON)(value['pickup_details']), 'supply_type': (0, DeliveryDetailsSupplyType_1.DeliveryDetailsSupplyTypeToJSON)(value['supply_type']), }; }