release 0.1.0
This commit is contained in:
61
dist/models/V1UpdateWarehouseFBSRequest.js
vendored
Normal file
61
dist/models/V1UpdateWarehouseFBSRequest.js
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
"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.instanceOfV1UpdateWarehouseFBSRequest = instanceOfV1UpdateWarehouseFBSRequest;
|
||||
exports.V1UpdateWarehouseFBSRequestFromJSON = V1UpdateWarehouseFBSRequestFromJSON;
|
||||
exports.V1UpdateWarehouseFBSRequestFromJSONTyped = V1UpdateWarehouseFBSRequestFromJSONTyped;
|
||||
exports.V1UpdateWarehouseFBSRequestToJSON = V1UpdateWarehouseFBSRequestToJSON;
|
||||
const V1UpdateWarehouseFBSRequestWorkingDaysEnum_1 = require("./V1UpdateWarehouseFBSRequestWorkingDaysEnum");
|
||||
const V1UpdateWarehouseFBSRequestOptions_1 = require("./V1UpdateWarehouseFBSRequestOptions");
|
||||
const V1UpdateWarehouseFBSRequestAddressCoordinates_1 = require("./V1UpdateWarehouseFBSRequestAddressCoordinates");
|
||||
/**
|
||||
* Check if a given object implements the V1UpdateWarehouseFBSRequest interface.
|
||||
*/
|
||||
function instanceOfV1UpdateWarehouseFBSRequest(value) {
|
||||
if (!('address_coordinates' in value) || value['address_coordinates'] === undefined)
|
||||
return false;
|
||||
if (!('warehouse_id' in value) || value['warehouse_id'] === undefined)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
function V1UpdateWarehouseFBSRequestFromJSON(json) {
|
||||
return V1UpdateWarehouseFBSRequestFromJSONTyped(json, false);
|
||||
}
|
||||
function V1UpdateWarehouseFBSRequestFromJSONTyped(json, ignoreDiscriminator) {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
'address_coordinates': (0, V1UpdateWarehouseFBSRequestAddressCoordinates_1.V1UpdateWarehouseFBSRequestAddressCoordinatesFromJSON)(json['address_coordinates']),
|
||||
'name': json['name'] == null ? undefined : json['name'],
|
||||
'options': json['options'] == null ? undefined : (0, V1UpdateWarehouseFBSRequestOptions_1.V1UpdateWarehouseFBSRequestOptionsFromJSON)(json['options']),
|
||||
'phone': json['phone'] == null ? undefined : json['phone'],
|
||||
'warehouse_id': json['warehouse_id'],
|
||||
'working_days': json['working_days'] == null ? undefined : (json['working_days'].map(V1UpdateWarehouseFBSRequestWorkingDaysEnum_1.V1UpdateWarehouseFBSRequestWorkingDaysEnumFromJSON)),
|
||||
};
|
||||
}
|
||||
function V1UpdateWarehouseFBSRequestToJSON(value) {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
'address_coordinates': (0, V1UpdateWarehouseFBSRequestAddressCoordinates_1.V1UpdateWarehouseFBSRequestAddressCoordinatesToJSON)(value['address_coordinates']),
|
||||
'name': value['name'],
|
||||
'options': (0, V1UpdateWarehouseFBSRequestOptions_1.V1UpdateWarehouseFBSRequestOptionsToJSON)(value['options']),
|
||||
'phone': value['phone'],
|
||||
'warehouse_id': value['warehouse_id'],
|
||||
'working_days': value['working_days'] == null ? undefined : (value['working_days'].map(V1UpdateWarehouseFBSRequestWorkingDaysEnum_1.V1UpdateWarehouseFBSRequestWorkingDaysEnumToJSON)),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user