release 0.1.0
This commit is contained in:
82
dist/models/V1CreateWarehouseFBSRequest.js
vendored
Normal file
82
dist/models/V1CreateWarehouseFBSRequest.js
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
"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.instanceOfV1CreateWarehouseFBSRequest = instanceOfV1CreateWarehouseFBSRequest;
|
||||
exports.V1CreateWarehouseFBSRequestFromJSON = V1CreateWarehouseFBSRequestFromJSON;
|
||||
exports.V1CreateWarehouseFBSRequestFromJSONTyped = V1CreateWarehouseFBSRequestFromJSONTyped;
|
||||
exports.V1CreateWarehouseFBSRequestToJSON = V1CreateWarehouseFBSRequestToJSON;
|
||||
const CreateWarehouseFBSRequestOptions_1 = require("./CreateWarehouseFBSRequestOptions");
|
||||
const CreateWarehouseFBSRequestFirstMileTypeEnum_1 = require("./CreateWarehouseFBSRequestFirstMileTypeEnum");
|
||||
const CreateWarehouseFBSRequestWorkingDaysEnum_1 = require("./CreateWarehouseFBSRequestWorkingDaysEnum");
|
||||
const CreateWarehouseFBSRequestAddressCoordinates_1 = require("./CreateWarehouseFBSRequestAddressCoordinates");
|
||||
/**
|
||||
* Check if a given object implements the V1CreateWarehouseFBSRequest interface.
|
||||
*/
|
||||
function instanceOfV1CreateWarehouseFBSRequest(value) {
|
||||
if (!('address_coordinates' in value) || value['address_coordinates'] === undefined)
|
||||
return false;
|
||||
if (!('cut_in_time' in value) || value['cut_in_time'] === undefined)
|
||||
return false;
|
||||
if (!('first_mile_type' in value) || value['first_mile_type'] === undefined)
|
||||
return false;
|
||||
if (!('is_kgt' in value) || value['is_kgt'] === undefined)
|
||||
return false;
|
||||
if (!('name' in value) || value['name'] === undefined)
|
||||
return false;
|
||||
if (!('phone' in value) || value['phone'] === undefined)
|
||||
return false;
|
||||
if (!('timeslot_id' in value) || value['timeslot_id'] === undefined)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
function V1CreateWarehouseFBSRequestFromJSON(json) {
|
||||
return V1CreateWarehouseFBSRequestFromJSONTyped(json, false);
|
||||
}
|
||||
function V1CreateWarehouseFBSRequestFromJSONTyped(json, ignoreDiscriminator) {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
'address_coordinates': (0, CreateWarehouseFBSRequestAddressCoordinates_1.CreateWarehouseFBSRequestAddressCoordinatesFromJSON)(json['address_coordinates']),
|
||||
'cut_in_time': json['cut_in_time'],
|
||||
'drop_off_point_id': json['drop_off_point_id'] == null ? undefined : json['drop_off_point_id'],
|
||||
'first_mile_type': (0, CreateWarehouseFBSRequestFirstMileTypeEnum_1.CreateWarehouseFBSRequestFirstMileTypeEnumFromJSON)(json['first_mile_type']),
|
||||
'is_kgt': json['is_kgt'],
|
||||
'name': json['name'],
|
||||
'options': json['options'] == null ? undefined : (0, CreateWarehouseFBSRequestOptions_1.CreateWarehouseFBSRequestOptionsFromJSON)(json['options']),
|
||||
'phone': json['phone'],
|
||||
'timeslot_id': json['timeslot_id'],
|
||||
'return_point_id': json['return_point_id'] == null ? undefined : json['return_point_id'],
|
||||
'working_days': json['working_days'] == null ? undefined : (json['working_days'].map(CreateWarehouseFBSRequestWorkingDaysEnum_1.CreateWarehouseFBSRequestWorkingDaysEnumFromJSON)),
|
||||
};
|
||||
}
|
||||
function V1CreateWarehouseFBSRequestToJSON(value) {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
'address_coordinates': (0, CreateWarehouseFBSRequestAddressCoordinates_1.CreateWarehouseFBSRequestAddressCoordinatesToJSON)(value['address_coordinates']),
|
||||
'cut_in_time': value['cut_in_time'],
|
||||
'drop_off_point_id': value['drop_off_point_id'],
|
||||
'first_mile_type': (0, CreateWarehouseFBSRequestFirstMileTypeEnum_1.CreateWarehouseFBSRequestFirstMileTypeEnumToJSON)(value['first_mile_type']),
|
||||
'is_kgt': value['is_kgt'],
|
||||
'name': value['name'],
|
||||
'options': (0, CreateWarehouseFBSRequestOptions_1.CreateWarehouseFBSRequestOptionsToJSON)(value['options']),
|
||||
'phone': value['phone'],
|
||||
'timeslot_id': value['timeslot_id'],
|
||||
'return_point_id': value['return_point_id'],
|
||||
'working_days': value['working_days'] == null ? undefined : (value['working_days'].map(CreateWarehouseFBSRequestWorkingDaysEnum_1.CreateWarehouseFBSRequestWorkingDaysEnumToJSON)),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user