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

121
dist/apis/Quants.js vendored Normal file
View File

@@ -0,0 +1,121 @@
"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.Quants = void 0;
const runtime = require("../runtime");
const index_1 = require("../models/index");
/**
*
*/
class Quants extends runtime.BaseAPI {
/**
* Вы можете оставить обратную связь по этому методу в комментариях к [обсуждению](https://dev.ozon.ru/community/1084-Metody-po-tarifu-Ekonom) в сообществе разработчиков Ozon for dev.
* Информация об эконом-товаре
*/
quantGetInfoRaw(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 quantGetInfo().');
}
if (requestParameters['apiKey'] == null) {
throw new runtime.RequiredError('apiKey', 'Required parameter "apiKey" was null or undefined when calling quantGetInfo().');
}
if (requestParameters['productV1QuantInfoRequest'] == null) {
throw new runtime.RequiredError('productV1QuantInfoRequest', 'Required parameter "productV1QuantInfoRequest" was null or undefined when calling quantGetInfo().');
}
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/product/quant/info`,
method: 'POST',
headers: headerParameters,
query: queryParameters,
body: (0, index_1.ProductV1QuantInfoRequestToJSON)(requestParameters['productV1QuantInfoRequest']),
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ProductV1QuantInfoResponseFromJSON)(jsonValue));
});
}
/**
* Вы можете оставить обратную связь по этому методу в комментариях к [обсуждению](https://dev.ozon.ru/community/1084-Metody-po-tarifu-Ekonom) в сообществе разработчиков Ozon for dev.
* Информация об эконом-товаре
*/
quantGetInfo(clientId, apiKey, productV1QuantInfoRequest, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.quantGetInfoRaw({ clientId: clientId, apiKey: apiKey, productV1QuantInfoRequest: productV1QuantInfoRequest }, initOverrides);
return yield response.value();
});
}
/**
* Вы можете оставить обратную связь по этому методу в комментариях к [обсуждению](https://dev.ozon.ru/community/1084-Metody-po-tarifu-Ekonom) в сообществе разработчиков Ozon for dev.
* Список эконом-товаров
*/
quantProductListRaw(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 quantProductList().');
}
if (requestParameters['apiKey'] == null) {
throw new runtime.RequiredError('apiKey', 'Required parameter "apiKey" was null or undefined when calling quantProductList().');
}
if (requestParameters['productV1QuantListRequest'] == null) {
throw new runtime.RequiredError('productV1QuantListRequest', 'Required parameter "productV1QuantListRequest" was null or undefined when calling quantProductList().');
}
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/product/quant/list`,
method: 'POST',
headers: headerParameters,
query: queryParameters,
body: (0, index_1.ProductV1QuantListRequestToJSON)(requestParameters['productV1QuantListRequest']),
}, initOverrides);
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ProductV1QuantListResponseFromJSON)(jsonValue));
});
}
/**
* Вы можете оставить обратную связь по этому методу в комментариях к [обсуждению](https://dev.ozon.ru/community/1084-Metody-po-tarifu-Ekonom) в сообществе разработчиков Ozon for dev.
* Список эконом-товаров
*/
quantProductList(clientId, apiKey, productV1QuantListRequest, initOverrides) {
return __awaiter(this, void 0, void 0, function* () {
const response = yield this.quantProductListRaw({ clientId: clientId, apiKey: apiKey, productV1QuantListRequest: productV1QuantListRequest }, initOverrides);
return yield response.value();
});
}
}
exports.Quants = Quants;