"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.instanceOfV3Address = instanceOfV3Address; exports.V3AddressFromJSON = V3AddressFromJSON; exports.V3AddressFromJSONTyped = V3AddressFromJSONTyped; exports.V3AddressToJSON = V3AddressToJSON; /** * Check if a given object implements the V3Address interface. */ function instanceOfV3Address(value) { return true; } function V3AddressFromJSON(json) { return V3AddressFromJSONTyped(json, false); } function V3AddressFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'address_tail': json['address_tail'] == null ? undefined : json['address_tail'], 'city': json['city'] == null ? undefined : json['city'], 'comment': json['comment'] == null ? undefined : json['comment'], 'country': json['country'] == null ? undefined : json['country'], 'district': json['district'] == null ? undefined : json['district'], 'latitude': json['latitude'] == null ? undefined : json['latitude'], 'longitude': json['longitude'] == null ? undefined : json['longitude'], 'provider_pvz_code': json['provider_pvz_code'] == null ? undefined : json['provider_pvz_code'], 'pvz_code': json['pvz_code'] == null ? undefined : json['pvz_code'], 'region': json['region'] == null ? undefined : json['region'], 'zip_code': json['zip_code'] == null ? undefined : json['zip_code'], }; } function V3AddressToJSON(value) { if (value == null) { return value; } return { 'address_tail': value['address_tail'], 'city': value['city'], 'comment': value['comment'], 'country': value['country'], 'district': value['district'], 'latitude': value['latitude'], 'longitude': value['longitude'], 'provider_pvz_code': value['provider_pvz_code'], 'pvz_code': value['pvz_code'], 'region': value['region'], 'zip_code': value['zip_code'], }; }