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

389
dist/apis/DraftDirectFBP.js vendored Normal file
View File

@@ -0,0 +1,389 @@
"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.
*/
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DraftDirectFBP = void 0;
const runtime = require("../runtime");
const index_1 = require("../models/index");
/**
*
*/
class DraftDirectFBP extends runtime.BaseAPI {
/**
* Вы можете оставить обратную связь о работе метода в [комментариях](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Создать черновик заявки на доставку сторонней транспортной компанией
*/
fbpAPIFbpDraftDirectTplDlvCreateRaw(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
if (requestParameters['v1FbpDraftDirectTplDlvCreateRequest'] == null) {
throw new runtime.RequiredError('v1FbpDraftDirectTplDlvCreateRequest', 'Required parameter "v1FbpDraftDirectTplDlvCreateRequest" was null or undefined when calling fbpAPIFbpDraftDirectTplDlvCreate().');
}
const queryParameters = {};
const headerParameters = {};
headerParameters['Content-Type'] = 'application/json';
const response = yield this.request({
path: `/v1/fbp/draft/direct/tpl-dlv/create`,
method: 'POST',
headers: headerParameters,
query: queryParameters,
body: (0, index_1.V1FbpDraftDirectTplDlvCreateRequestToJSON)(requestParameters['v1FbpDraftDirectTplDlvCreateRequest']),
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.V1FbpDraftDirectTplDlvCreateResponseFromJSON)(jsonValue));
});
}
/**
* Вы можете оставить обратную связь о работе метода в [комментариях](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Создать черновик заявки на доставку сторонней транспортной компанией
*/
fbpAPIFbpDraftDirectTplDlvCreate(v1FbpDraftDirectTplDlvCreateRequest, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.fbpAPIFbpDraftDirectTplDlvCreateRaw({ v1FbpDraftDirectTplDlvCreateRequest: v1FbpDraftDirectTplDlvCreateRequest }, initOverrides);
return yield response.value();
});
}
/**
* Вы можете оставить обратную связь о работе метода в [комментариях](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Редактировать черновик поставки со способом доставки сторонней транспортной компанией
*/
fbpAPIFbpDraftDirectTplDlvEditRaw(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
if (requestParameters['v1FbpDraftDirectTplDlvEditRequest'] == null) {
throw new runtime.RequiredError('v1FbpDraftDirectTplDlvEditRequest', 'Required parameter "v1FbpDraftDirectTplDlvEditRequest" was null or undefined when calling fbpAPIFbpDraftDirectTplDlvEdit().');
}
const queryParameters = {};
const headerParameters = {};
headerParameters['Content-Type'] = 'application/json';
const response = yield this.request({
path: `/v1/fbp/draft/direct/tpl-dlv/edit`,
method: 'POST',
headers: headerParameters,
query: queryParameters,
body: (0, index_1.V1FbpDraftDirectTplDlvEditRequestToJSON)(requestParameters['v1FbpDraftDirectTplDlvEditRequest']),
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.V1FbpDraftDirectTplDlvEditResponseFromJSON)(jsonValue));
});
}
/**
* Вы можете оставить обратную связь о работе метода в [комментариях](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Редактировать черновик поставки со способом доставки сторонней транспортной компанией
*/
fbpAPIFbpDraftDirectTplDlvEdit(v1FbpDraftDirectTplDlvEditRequest, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.fbpAPIFbpDraftDirectTplDlvEditRaw({ v1FbpDraftDirectTplDlvEditRequest: v1FbpDraftDirectTplDlvEditRequest }, initOverrides);
return yield response.value();
});
}
/**
* Вы можете оставить обратную связь по этому методу в комментариях к [обсуждению](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Создать черновик заявки на поставку без указания способа доставки
*/
fbpDraftDirectCreateRaw(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
if (requestParameters['clientId'] == null) {
throw new runtime.RequiredError('clientId', 'Required parameter "clientId" was null or undefined when calling fbpDraftDirectCreate().');
}
if (requestParameters['apiKey'] == null) {
throw new runtime.RequiredError('apiKey', 'Required parameter "apiKey" was null or undefined when calling fbpDraftDirectCreate().');
}
if (requestParameters['v1FbpDraftDirectCreateRequest'] == null) {
throw new runtime.RequiredError('v1FbpDraftDirectCreateRequest', 'Required parameter "v1FbpDraftDirectCreateRequest" was null or undefined when calling fbpDraftDirectCreate().');
}
const queryParameters = {};
const headerParameters = {};
headerParameters['Content-Type'] = 'application/json';
if (requestParameters['clientId'] != null) {
headerParameters['Client-Id'] = String(requestParameters['clientId']);
}
if (requestParameters['apiKey'] != null) {
headerParameters['Api-Key'] = String(requestParameters['apiKey']);
}
const response = yield this.request({
path: `/v1/fbp/draft/direct/create`,
method: 'POST',
headers: headerParameters,
query: queryParameters,
body: (0, index_1.V1FbpDraftDirectCreateRequestToJSON)(requestParameters['v1FbpDraftDirectCreateRequest']),
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.V1FbpDraftDirectCreateResponseFromJSON)(jsonValue));
});
}
/**
* Вы можете оставить обратную связь по этому методу в комментариях к [обсуждению](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Создать черновик заявки на поставку без указания способа доставки
*/
fbpDraftDirectCreate(clientId, apiKey, v1FbpDraftDirectCreateRequest, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.fbpDraftDirectCreateRaw({ clientId: clientId, apiKey: apiKey, v1FbpDraftDirectCreateRequest: v1FbpDraftDirectCreateRequest }, initOverrides);
return yield response.value();
});
}
/**
* Вы можете оставить обратную связь по этому методу в комментариях к [обсуждению](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Удалить черновик заявки на поставку
*/
fbpDraftDirectDeleteRaw(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
if (requestParameters['clientId'] == null) {
throw new runtime.RequiredError('clientId', 'Required parameter "clientId" was null or undefined when calling fbpDraftDirectDelete().');
}
if (requestParameters['apiKey'] == null) {
throw new runtime.RequiredError('apiKey', 'Required parameter "apiKey" was null or undefined when calling fbpDraftDirectDelete().');
}
if (requestParameters['v1FbpDraftDirectDeleteRequest'] == null) {
throw new runtime.RequiredError('v1FbpDraftDirectDeleteRequest', 'Required parameter "v1FbpDraftDirectDeleteRequest" was null or undefined when calling fbpDraftDirectDelete().');
}
const queryParameters = {};
const headerParameters = {};
headerParameters['Content-Type'] = 'application/json';
if (requestParameters['clientId'] != null) {
headerParameters['Client-Id'] = String(requestParameters['clientId']);
}
if (requestParameters['apiKey'] != null) {
headerParameters['Api-Key'] = String(requestParameters['apiKey']);
}
const response = yield this.request({
path: `/v1/fbp/draft/direct/delete`,
method: 'POST',
headers: headerParameters,
query: queryParameters,
body: (0, index_1.V1FbpDraftDirectDeleteRequestToJSON)(requestParameters['v1FbpDraftDirectDeleteRequest']),
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.V1FbpDraftDirectDeleteResponseFromJSON)(jsonValue));
});
}
/**
* Вы можете оставить обратную связь по этому методу в комментариях к [обсуждению](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Удалить черновик заявки на поставку
*/
fbpDraftDirectDelete(clientId, apiKey, v1FbpDraftDirectDeleteRequest, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.fbpDraftDirectDeleteRaw({ clientId: clientId, apiKey: apiKey, v1FbpDraftDirectDeleteRequest: v1FbpDraftDirectDeleteRequest }, initOverrides);
return yield response.value();
});
}
/**
* Вы можете оставить обратную связь о работе метода в [комментариях](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Получить список таймслотов для прямой поставки
*/
fbpDraftDirectGetTimeslotRaw(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const queryParameters = {};
const headerParameters = {};
headerParameters['Content-Type'] = 'application/json';
const response = yield this.request({
path: `/v1/fbp/draft/direct/timeslot/get`,
method: 'POST',
headers: headerParameters,
query: queryParameters,
body: (0, index_1.V1FbpDraftDirectGetTimeslotRequestToJSON)(requestParameters['v1FbpDraftDirectGetTimeslotRequest']),
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.V1FbpDraftDirectGetTimeslotResponseFromJSON)(jsonValue));
});
}
/**
* Вы можете оставить обратную связь о работе метода в [комментариях](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Получить список таймслотов для прямой поставки
*/
fbpDraftDirectGetTimeslot(v1FbpDraftDirectGetTimeslotRequest, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.fbpDraftDirectGetTimeslotRaw({ v1FbpDraftDirectGetTimeslotRequest: v1FbpDraftDirectGetTimeslotRequest }, initOverrides);
return yield response.value();
});
}
/**
* Вы можете оставить обратную связь по этому методу в комментариях к [обсуждению](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Проверить список товаров для склада партнёра
*/
fbpDraftDirectProductValidateRaw(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
if (requestParameters['clientId'] == null) {
throw new runtime.RequiredError('clientId', 'Required parameter "clientId" was null or undefined when calling fbpDraftDirectProductValidate().');
}
if (requestParameters['apiKey'] == null) {
throw new runtime.RequiredError('apiKey', 'Required parameter "apiKey" was null or undefined when calling fbpDraftDirectProductValidate().');
}
if (requestParameters['v1FbpDraftDirectProductValidateRequest'] == null) {
throw new runtime.RequiredError('v1FbpDraftDirectProductValidateRequest', 'Required parameter "v1FbpDraftDirectProductValidateRequest" was null or undefined when calling fbpDraftDirectProductValidate().');
}
const queryParameters = {};
const headerParameters = {};
headerParameters['Content-Type'] = 'application/json';
if (requestParameters['clientId'] != null) {
headerParameters['Client-Id'] = String(requestParameters['clientId']);
}
if (requestParameters['apiKey'] != null) {
headerParameters['Api-Key'] = String(requestParameters['apiKey']);
}
const response = yield this.request({
path: `/v1/fbp/draft/direct/product/validate`,
method: 'POST',
headers: headerParameters,
query: queryParameters,
body: (0, index_1.V1FbpDraftDirectProductValidateRequestToJSON)(requestParameters['v1FbpDraftDirectProductValidateRequest']),
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.V1FbpDraftDirectProductValidateResponseFromJSON)(jsonValue));
});
}
/**
* Вы можете оставить обратную связь по этому методу в комментариях к [обсуждению](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Проверить список товаров для склада партнёра
*/
fbpDraftDirectProductValidate(clientId, apiKey, v1FbpDraftDirectProductValidateRequest, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.fbpDraftDirectProductValidateRaw({ clientId: clientId, apiKey: apiKey, v1FbpDraftDirectProductValidateRequest: v1FbpDraftDirectProductValidateRequest }, initOverrides);
return yield response.value();
});
}
/**
* Вы можете оставить обратную связь по этому методу в комментариях к [обсуждению](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Перевести черновик в действующую поставку
*/
fbpDraftDirectRegistrateRaw(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
if (requestParameters['clientId'] == null) {
throw new runtime.RequiredError('clientId', 'Required parameter "clientId" was null or undefined when calling fbpDraftDirectRegistrate().');
}
if (requestParameters['apiKey'] == null) {
throw new runtime.RequiredError('apiKey', 'Required parameter "apiKey" was null or undefined when calling fbpDraftDirectRegistrate().');
}
if (requestParameters['v1FbpDraftDirectRegistrateRequest'] == null) {
throw new runtime.RequiredError('v1FbpDraftDirectRegistrateRequest', 'Required parameter "v1FbpDraftDirectRegistrateRequest" was null or undefined when calling fbpDraftDirectRegistrate().');
}
const queryParameters = {};
const headerParameters = {};
headerParameters['Content-Type'] = 'application/json';
if (requestParameters['clientId'] != null) {
headerParameters['Client-Id'] = String(requestParameters['clientId']);
}
if (requestParameters['apiKey'] != null) {
headerParameters['Api-Key'] = String(requestParameters['apiKey']);
}
const response = yield this.request({
path: `/v1/fbp/draft/direct/registrate`,
method: 'POST',
headers: headerParameters,
query: queryParameters,
body: (0, index_1.V1FbpDraftDirectRegistrateRequestToJSON)(requestParameters['v1FbpDraftDirectRegistrateRequest']),
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.V1FbpDraftDirectRegistrateResponseFromJSON)(jsonValue));
});
}
/**
* Вы можете оставить обратную связь по этому методу в комментариях к [обсуждению](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Перевести черновик в действующую поставку
*/
fbpDraftDirectRegistrate(clientId, apiKey, v1FbpDraftDirectRegistrateRequest, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.fbpDraftDirectRegistrateRaw({ clientId: clientId, apiKey: apiKey, v1FbpDraftDirectRegistrateRequest: v1FbpDraftDirectRegistrateRequest }, initOverrides);
return yield response.value();
});
}
/**
* Вы можете оставить обратную связь о работе метода в [комментариях](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Создать черновик с доставкой силами продавца
*/
fbpDraftDirectSellerDlvCreateRaw(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const queryParameters = {};
const headerParameters = {};
headerParameters['Content-Type'] = 'application/json';
const response = yield this.request({
path: `/v1/fbp/draft/direct/seller-dlv/create`,
method: 'POST',
headers: headerParameters,
query: queryParameters,
body: (0, index_1.V1FbpDraftDirectSellerDlvCreateRequestToJSON)(requestParameters['v1FbpDraftDirectSellerDlvCreateRequest']),
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.V1FbpDraftDirectSellerDlvCreateResponseFromJSON)(jsonValue));
});
}
/**
* Вы можете оставить обратную связь о работе метода в [комментариях](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Создать черновик с доставкой силами продавца
*/
fbpDraftDirectSellerDlvCreate(v1FbpDraftDirectSellerDlvCreateRequest, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.fbpDraftDirectSellerDlvCreateRaw({ v1FbpDraftDirectSellerDlvCreateRequest: v1FbpDraftDirectSellerDlvCreateRequest }, initOverrides);
return yield response.value();
});
}
/**
* Вы можете оставить обратную связь о работе метода в [комментариях](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Обновить информацию о доставке силами продавца в черновике
*/
fbpDraftDirectSellerDlvEditRaw(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const queryParameters = {};
const headerParameters = {};
headerParameters['Content-Type'] = 'application/json';
const response = yield this.request({
path: `/v1/fbp/draft/direct/seller-dlv/edit`,
method: 'POST',
headers: headerParameters,
query: queryParameters,
body: (0, index_1.V1FbpDraftDirectSellerDlvEditRequestToJSON)(requestParameters['v1FbpDraftDirectSellerDlvEditRequest']),
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.V1FbpDraftDirectSellerDlvEditResponseFromJSON)(jsonValue));
});
}
/**
* Вы можете оставить обратную связь о работе метода в [комментариях](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Обновить информацию о доставке силами продавца в черновике
*/
fbpDraftDirectSellerDlvEdit(v1FbpDraftDirectSellerDlvEditRequest, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.fbpDraftDirectSellerDlvEditRaw({ v1FbpDraftDirectSellerDlvEditRequest: v1FbpDraftDirectSellerDlvEditRequest }, initOverrides);
return yield response.value();
});
}
/**
* Вы можете оставить обратную связь о работе метода в [комментариях](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Отредактировать таймслот в черновике
*/
fbpDraftDirectTimeslotEditRaw(requestParameters, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const queryParameters = {};
const headerParameters = {};
headerParameters['Content-Type'] = 'application/json';
const response = yield this.request({
path: `/v1/fbp/draft/direct/timeslot/edit`,
method: 'POST',
headers: headerParameters,
query: queryParameters,
body: (0, index_1.V1FbpDraftDirectTimeslotEditRequestToJSON)(requestParameters['v1FbpDraftDirectTimeslotEditRequest']),
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.V1FbpDraftDirectTimeslotEditResponseFromJSON)(jsonValue));
});
}
/**
* Вы можете оставить обратную связь о работе метода в [комментариях](https://dev.ozon.ru/community/1700-FBP-metody/) в сообществе разработчиков Ozon for dev.
* Отредактировать таймслот в черновике
*/
fbpDraftDirectTimeslotEdit(v1FbpDraftDirectTimeslotEditRequest, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.fbpDraftDirectTimeslotEditRaw({ v1FbpDraftDirectTimeslotEditRequest: v1FbpDraftDirectTimeslotEditRequest }, initOverrides);
return yield response.value();
});
}
}
exports.DraftDirectFBP = DraftDirectFBP;