release 0.1.0
This commit is contained in:
80
dist/models/DeliveryPointInfoResponsePointDeliveryMethod.js
vendored
Normal file
80
dist/models/DeliveryPointInfoResponsePointDeliveryMethod.js
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
"use strict";
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* Документация Ozon Seller API
|
||||
* По вопросам работы с Seller API обращайтесь в поддержку через личный кабинет. <aside class=\"warning\">Обновляем корневой TLS/SSL-сертификат GlobalSign — вместо него будем использовать <a href=\"https://app.harica.gr/\">HARICA</a>.<br><a href=\"https://dev.ozon.ru/news/775-Izmeneniia-v-Ozon-API-migratsiia-kornevogo-sertifikata-UTs-Ozon/\">Подробнее о переходе на HARICA на платформе разработчиков Ozon for dev</a></aside> > [Инструкции по работе с маркетплейсом](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.instanceOfDeliveryPointInfoResponsePointDeliveryMethod = instanceOfDeliveryPointInfoResponsePointDeliveryMethod;
|
||||
exports.DeliveryPointInfoResponsePointDeliveryMethodFromJSON = DeliveryPointInfoResponsePointDeliveryMethodFromJSON;
|
||||
exports.DeliveryPointInfoResponsePointDeliveryMethodFromJSONTyped = DeliveryPointInfoResponsePointDeliveryMethodFromJSONTyped;
|
||||
exports.DeliveryPointInfoResponsePointDeliveryMethodToJSON = DeliveryPointInfoResponsePointDeliveryMethodToJSON;
|
||||
const DeliveryMethodHolidays_1 = require("./DeliveryMethodHolidays");
|
||||
const DeliveryPointInfoResponsePointDeliveryMethodDeliveryType_1 = require("./DeliveryPointInfoResponsePointDeliveryMethodDeliveryType");
|
||||
const PointDeliveryMethodCoordinates_1 = require("./PointDeliveryMethodCoordinates");
|
||||
const DeliveryMethodProperties_1 = require("./DeliveryMethodProperties");
|
||||
const DeliveryMethodWorkingHours_1 = require("./DeliveryMethodWorkingHours");
|
||||
const DeliveryMethodAddressDetails_1 = require("./DeliveryMethodAddressDetails");
|
||||
/**
|
||||
* Check if a given object implements the DeliveryPointInfoResponsePointDeliveryMethod interface.
|
||||
*/
|
||||
function instanceOfDeliveryPointInfoResponsePointDeliveryMethod(value) {
|
||||
return true;
|
||||
}
|
||||
function DeliveryPointInfoResponsePointDeliveryMethodFromJSON(json) {
|
||||
return DeliveryPointInfoResponsePointDeliveryMethodFromJSONTyped(json, false);
|
||||
}
|
||||
function DeliveryPointInfoResponsePointDeliveryMethodFromJSONTyped(json, ignoreDiscriminator) {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
'address': json['address'] == null ? undefined : json['address'],
|
||||
'address_details': json['address_details'] == null ? undefined : (0, DeliveryMethodAddressDetails_1.DeliveryMethodAddressDetailsFromJSON)(json['address_details']),
|
||||
'coordinates': json['coordinates'] == null ? undefined : (0, PointDeliveryMethodCoordinates_1.PointDeliveryMethodCoordinatesFromJSON)(json['coordinates']),
|
||||
'delivery_type': json['delivery_type'] == null ? undefined : (0, DeliveryPointInfoResponsePointDeliveryMethodDeliveryType_1.DeliveryPointInfoResponsePointDeliveryMethodDeliveryTypeFromJSON)(json['delivery_type']),
|
||||
'description': json['description'] == null ? undefined : json['description'],
|
||||
'fitting_rooms_count': json['fitting_rooms_count'] == null ? undefined : json['fitting_rooms_count'],
|
||||
'holidays': json['holidays'] == null ? undefined : (json['holidays'].map(DeliveryMethodHolidays_1.DeliveryMethodHolidaysFromJSON)),
|
||||
'holidays_filled': json['holidays_filled'] == null ? undefined : json['holidays_filled'],
|
||||
'images': json['images'] == null ? undefined : json['images'],
|
||||
'location_id': json['location_id'] == null ? undefined : json['location_id'],
|
||||
'map_point_id': json['map_point_id'] == null ? undefined : json['map_point_id'],
|
||||
'name': json['name'] == null ? undefined : json['name'],
|
||||
'properties': json['properties'] == null ? undefined : (json['properties'].map(DeliveryMethodProperties_1.DeliveryMethodPropertiesFromJSON)),
|
||||
'pvz_rating': json['pvz_rating'] == null ? undefined : json['pvz_rating'],
|
||||
'storage_period': json['storage_period'] == null ? undefined : json['storage_period'],
|
||||
'working_hours': json['working_hours'] == null ? undefined : (json['working_hours'].map(DeliveryMethodWorkingHours_1.DeliveryMethodWorkingHoursFromJSON)),
|
||||
};
|
||||
}
|
||||
function DeliveryPointInfoResponsePointDeliveryMethodToJSON(value) {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
'address': value['address'],
|
||||
'address_details': (0, DeliveryMethodAddressDetails_1.DeliveryMethodAddressDetailsToJSON)(value['address_details']),
|
||||
'coordinates': (0, PointDeliveryMethodCoordinates_1.PointDeliveryMethodCoordinatesToJSON)(value['coordinates']),
|
||||
'delivery_type': (0, DeliveryPointInfoResponsePointDeliveryMethodDeliveryType_1.DeliveryPointInfoResponsePointDeliveryMethodDeliveryTypeToJSON)(value['delivery_type']),
|
||||
'description': value['description'],
|
||||
'fitting_rooms_count': value['fitting_rooms_count'],
|
||||
'holidays': value['holidays'] == null ? undefined : (value['holidays'].map(DeliveryMethodHolidays_1.DeliveryMethodHolidaysToJSON)),
|
||||
'holidays_filled': value['holidays_filled'],
|
||||
'images': value['images'],
|
||||
'location_id': value['location_id'],
|
||||
'map_point_id': value['map_point_id'],
|
||||
'name': value['name'],
|
||||
'properties': value['properties'] == null ? undefined : (value['properties'].map(DeliveryMethodProperties_1.DeliveryMethodPropertiesToJSON)),
|
||||
'pvz_rating': value['pvz_rating'],
|
||||
'storage_period': value['storage_period'],
|
||||
'working_hours': value['working_hours'] == null ? undefined : (value['working_hours'].map(DeliveryMethodWorkingHours_1.DeliveryMethodWorkingHoursToJSON)),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user