"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.instanceOfFbpv1DeliveryDetails = instanceOfFbpv1DeliveryDetails; exports.Fbpv1DeliveryDetailsFromJSON = Fbpv1DeliveryDetailsFromJSON; exports.Fbpv1DeliveryDetailsFromJSONTyped = Fbpv1DeliveryDetailsFromJSONTyped; exports.Fbpv1DeliveryDetailsToJSON = Fbpv1DeliveryDetailsToJSON; 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 Fbpv1DeliveryDetails interface. */ function instanceOfFbpv1DeliveryDetails(value) { return true; } function Fbpv1DeliveryDetailsFromJSON(json) { return Fbpv1DeliveryDetailsFromJSONTyped(json, false); } function Fbpv1DeliveryDetailsFromJSONTyped(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 Fbpv1DeliveryDetailsToJSON(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']), }; }