release 0.1.0
This commit is contained in:
62
dist/models/V1GetSupplyOrderBundleRequest.js
vendored
Normal file
62
dist/models/V1GetSupplyOrderBundleRequest.js
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
"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.instanceOfV1GetSupplyOrderBundleRequest = instanceOfV1GetSupplyOrderBundleRequest;
|
||||
exports.V1GetSupplyOrderBundleRequestFromJSON = V1GetSupplyOrderBundleRequestFromJSON;
|
||||
exports.V1GetSupplyOrderBundleRequestFromJSONTyped = V1GetSupplyOrderBundleRequestFromJSONTyped;
|
||||
exports.V1GetSupplyOrderBundleRequestToJSON = V1GetSupplyOrderBundleRequestToJSON;
|
||||
const V1ItemSortField_1 = require("./V1ItemSortField");
|
||||
const GetSupplyOrderBundleRequestItemTagsCalculation_1 = require("./GetSupplyOrderBundleRequestItemTagsCalculation");
|
||||
/**
|
||||
* Check if a given object implements the V1GetSupplyOrderBundleRequest interface.
|
||||
*/
|
||||
function instanceOfV1GetSupplyOrderBundleRequest(value) {
|
||||
if (!('bundle_ids' in value) || value['bundle_ids'] === undefined)
|
||||
return false;
|
||||
if (!('limit' in value) || value['limit'] === undefined)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
function V1GetSupplyOrderBundleRequestFromJSON(json) {
|
||||
return V1GetSupplyOrderBundleRequestFromJSONTyped(json, false);
|
||||
}
|
||||
function V1GetSupplyOrderBundleRequestFromJSONTyped(json, ignoreDiscriminator) {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
'bundle_ids': json['bundle_ids'],
|
||||
'is_asc': json['is_asc'] == null ? undefined : json['is_asc'],
|
||||
'item_tags_calculation': json['item_tags_calculation'] == null ? undefined : (0, GetSupplyOrderBundleRequestItemTagsCalculation_1.GetSupplyOrderBundleRequestItemTagsCalculationFromJSON)(json['item_tags_calculation']),
|
||||
'last_id': json['last_id'] == null ? undefined : json['last_id'],
|
||||
'limit': json['limit'],
|
||||
'query': json['query'] == null ? undefined : json['query'],
|
||||
'sort_field': json['sort_field'] == null ? undefined : (0, V1ItemSortField_1.V1ItemSortFieldFromJSON)(json['sort_field']),
|
||||
};
|
||||
}
|
||||
function V1GetSupplyOrderBundleRequestToJSON(value) {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
'bundle_ids': value['bundle_ids'],
|
||||
'is_asc': value['is_asc'],
|
||||
'item_tags_calculation': (0, GetSupplyOrderBundleRequestItemTagsCalculation_1.GetSupplyOrderBundleRequestItemTagsCalculationToJSON)(value['item_tags_calculation']),
|
||||
'last_id': value['last_id'],
|
||||
'limit': value['limit'],
|
||||
'query': value['query'],
|
||||
'sort_field': (0, V1ItemSortField_1.V1ItemSortFieldToJSON)(value['sort_field']),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user