"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.instanceOfV3Customer = instanceOfV3Customer; exports.V3CustomerFromJSON = V3CustomerFromJSON; exports.V3CustomerFromJSONTyped = V3CustomerFromJSONTyped; exports.V3CustomerToJSON = V3CustomerToJSON; const V3Address_1 = require("./V3Address"); /** * Check if a given object implements the V3Customer interface. */ function instanceOfV3Customer(value) { return true; } function V3CustomerFromJSON(json) { return V3CustomerFromJSONTyped(json, false); } function V3CustomerFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'address': json['address'] == null ? undefined : (0, V3Address_1.V3AddressFromJSON)(json['address']), 'customer_id': json['customer_id'] == null ? undefined : json['customer_id'], 'name': json['name'] == null ? undefined : json['name'], 'phone': json['phone'] == null ? undefined : json['phone'], }; } function V3CustomerToJSON(value) { if (value == null) { return value; } return { 'address': (0, V3Address_1.V3AddressToJSON)(value['address']), 'customer_id': value['customer_id'], 'name': value['name'], 'phone': value['phone'], }; }