release 0.1.0

This commit is contained in:
apilki
2026-08-21 12:19:50 +00:00
parent 7b0a9d8ad1
commit b73e6aa106
8734 changed files with 470872 additions and 2 deletions

View File

@@ -0,0 +1,67 @@
"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.V2DraftSupplyCreateRequestSupplyTypeEnum = void 0;
exports.instanceOfV2DraftSupplyCreateRequest = instanceOfV2DraftSupplyCreateRequest;
exports.V2DraftSupplyCreateRequestFromJSON = V2DraftSupplyCreateRequestFromJSON;
exports.V2DraftSupplyCreateRequestFromJSONTyped = V2DraftSupplyCreateRequestFromJSONTyped;
exports.V2DraftSupplyCreateRequestToJSON = V2DraftSupplyCreateRequestToJSON;
const V2DraftSupplyCreateRequestTimeslot_1 = require("./V2DraftSupplyCreateRequestTimeslot");
const V2DraftSupplyCreateRequestSelectedClusterWarehouse_1 = require("./V2DraftSupplyCreateRequestSelectedClusterWarehouse");
/**
* @export
*/
exports.V2DraftSupplyCreateRequestSupplyTypeEnum = {
CROSSDOCK: 'CROSSDOCK',
DIRECT: 'DIRECT',
MULTI_CLUSTER: 'MULTI_CLUSTER'
};
/**
* Check if a given object implements the V2DraftSupplyCreateRequest interface.
*/
function instanceOfV2DraftSupplyCreateRequest(value) {
if (!('draft_id' in value) || value['draft_id'] === undefined)
return false;
if (!('selected_cluster_warehouses' in value) || value['selected_cluster_warehouses'] === undefined)
return false;
if (!('supply_type' in value) || value['supply_type'] === undefined)
return false;
return true;
}
function V2DraftSupplyCreateRequestFromJSON(json) {
return V2DraftSupplyCreateRequestFromJSONTyped(json, false);
}
function V2DraftSupplyCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'draft_id': json['draft_id'],
'selected_cluster_warehouses': (json['selected_cluster_warehouses'].map(V2DraftSupplyCreateRequestSelectedClusterWarehouse_1.V2DraftSupplyCreateRequestSelectedClusterWarehouseFromJSON)),
'timeslot': json['timeslot'] == null ? undefined : (0, V2DraftSupplyCreateRequestTimeslot_1.V2DraftSupplyCreateRequestTimeslotFromJSON)(json['timeslot']),
'supply_type': json['supply_type'],
};
}
function V2DraftSupplyCreateRequestToJSON(value) {
if (value == null) {
return value;
}
return {
'draft_id': value['draft_id'],
'selected_cluster_warehouses': (value['selected_cluster_warehouses'].map(V2DraftSupplyCreateRequestSelectedClusterWarehouse_1.V2DraftSupplyCreateRequestSelectedClusterWarehouseToJSON)),
'timeslot': (0, V2DraftSupplyCreateRequestTimeslot_1.V2DraftSupplyCreateRequestTimeslotToJSON)(value['timeslot']),
'supply_type': value['supply_type'],
};
}