From 3db10ca0b19608b00cdb5e2de2d5f976298f143b Mon Sep 17 00:00:00 2001 From: apilki Date: Wed, 26 Aug 2026 15:10:38 +0000 Subject: [PATCH] release 0.2.0 --- README.md | 2 +- dist/apis/ShipmentsApi.d.ts | 10 +--------- dist/apis/ShipmentsApi.js | 32 ------------------------------- dist/esm/apis/ShipmentsApi.d.ts | 10 +--------- dist/esm/apis/ShipmentsApi.js | 34 +-------------------------------- dist/esm/models/index.d.ts | 1 - dist/esm/models/index.js | 1 - dist/models/index.d.ts | 1 - dist/models/index.js | 1 - 9 files changed, 4 insertions(+), 88 deletions(-) diff --git a/README.md b/README.md index 48aa1f3..e6412c2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # @apilki/yandex-market — JavaScript/TypeScript клиент -**Версия: 0.2.0 · API от 2026-08-21** +**Версия: 0.2.0 · API от 2026-08-25** JavaScript/TypeScript клиент для **Yandex Market Partner API** (продавец-сторона: заказы, каталог, цены, отчёты). Построен на базе `fetch` API. Работает и в Node.js, и в браузере. Публикуется в npm-скоупе `@apilki` (GitHub-орг `apilki`). diff --git a/dist/apis/ShipmentsApi.d.ts b/dist/apis/ShipmentsApi.d.ts index 8c268cc..274ec8b 100644 --- a/dist/apis/ShipmentsApi.d.ts +++ b/dist/apis/ShipmentsApi.d.ts @@ -10,7 +10,7 @@ * Do not edit the class manually. */ import * as runtime from '../runtime'; -import type { ConfirmShipmentRequest, Echo200Response, EmptyApiResponse, GetShipmentOrdersInfoResponse, GetShipmentResponse, SearchShipmentsRequest, SearchShipmentsResponse, SetShipmentPalletsCountRequest, ShipmentPalletLabelPageFormatType, TransferOrdersFromShipmentRequest } from '../models/index'; +import type { ConfirmShipmentRequest, EmptyApiResponse, GetShipmentOrdersInfoResponse, GetShipmentResponse, SearchShipmentsRequest, SearchShipmentsResponse, SetShipmentPalletsCountRequest, ShipmentPalletLabelPageFormatType, TransferOrdersFromShipmentRequest } from '../models/index'; export interface ShipmentsApiConfirmShipmentOperationRequest { campaignId: number; shipmentId: number; @@ -141,14 +141,6 @@ export declare class ShipmentsApi extends runtime.BaseAPI { * Получение транспортной накладной */ downloadShipmentTransportationWaybill(campaignId: number, shipmentId: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; - /** - * Echo (mock upstream update test) - */ - echoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; - /** - * Echo (mock upstream update test) - */ - echo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * {% include notitle [access](../../_auto/method_scopes/getShipment.md) %} Возвращает информацию об отгрузке по ее идентификатору. {% include notitle [limit](../../_auto/method_limits/getShipment.md) %} * Получение информации об одной отгрузке diff --git a/dist/apis/ShipmentsApi.js b/dist/apis/ShipmentsApi.js index 2370398..62adc00 100644 --- a/dist/apis/ShipmentsApi.js +++ b/dist/apis/ShipmentsApi.js @@ -317,38 +317,6 @@ class ShipmentsApi extends runtime.BaseAPI { return yield response.value(); }); } - /** - * Echo (mock upstream update test) - */ - echoRaw(initOverrides) { - return __awaiter(this, void 0, void 0, function* () { - const queryParameters = {}; - const headerParameters = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Api-Key"] = yield this.configuration.apiKey("Api-Key"); // ApiKey authentication - } - if (this.configuration && this.configuration.accessToken) { - // oauth required - headerParameters["Authorization"] = yield this.configuration.accessToken("OAuth", ["market:partner-api"]); - } - const response = yield this.request({ - path: `/v1/echo`, - method: 'GET', - headers: headerParameters, - query: queryParameters, - }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.Echo200ResponseFromJSON)(jsonValue)); - }); - } - /** - * Echo (mock upstream update test) - */ - echo(initOverrides) { - return __awaiter(this, void 0, void 0, function* () { - const response = yield this.echoRaw(initOverrides); - return yield response.value(); - }); - } /** * {% include notitle [access](../../_auto/method_scopes/getShipment.md) %} Возвращает информацию об отгрузке по ее идентификатору. {% include notitle [limit](../../_auto/method_limits/getShipment.md) %} * Получение информации об одной отгрузке diff --git a/dist/esm/apis/ShipmentsApi.d.ts b/dist/esm/apis/ShipmentsApi.d.ts index 8c268cc..274ec8b 100644 --- a/dist/esm/apis/ShipmentsApi.d.ts +++ b/dist/esm/apis/ShipmentsApi.d.ts @@ -10,7 +10,7 @@ * Do not edit the class manually. */ import * as runtime from '../runtime'; -import type { ConfirmShipmentRequest, Echo200Response, EmptyApiResponse, GetShipmentOrdersInfoResponse, GetShipmentResponse, SearchShipmentsRequest, SearchShipmentsResponse, SetShipmentPalletsCountRequest, ShipmentPalletLabelPageFormatType, TransferOrdersFromShipmentRequest } from '../models/index'; +import type { ConfirmShipmentRequest, EmptyApiResponse, GetShipmentOrdersInfoResponse, GetShipmentResponse, SearchShipmentsRequest, SearchShipmentsResponse, SetShipmentPalletsCountRequest, ShipmentPalletLabelPageFormatType, TransferOrdersFromShipmentRequest } from '../models/index'; export interface ShipmentsApiConfirmShipmentOperationRequest { campaignId: number; shipmentId: number; @@ -141,14 +141,6 @@ export declare class ShipmentsApi extends runtime.BaseAPI { * Получение транспортной накладной */ downloadShipmentTransportationWaybill(campaignId: number, shipmentId: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; - /** - * Echo (mock upstream update test) - */ - echoRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; - /** - * Echo (mock upstream update test) - */ - echo(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * {% include notitle [access](../../_auto/method_scopes/getShipment.md) %} Возвращает информацию об отгрузке по ее идентификатору. {% include notitle [limit](../../_auto/method_limits/getShipment.md) %} * Получение информации об одной отгрузке diff --git a/dist/esm/apis/ShipmentsApi.js b/dist/esm/apis/ShipmentsApi.js index dfddc6e..36c4fa1 100644 --- a/dist/esm/apis/ShipmentsApi.js +++ b/dist/esm/apis/ShipmentsApi.js @@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; import * as runtime from '../runtime'; -import { ConfirmShipmentRequestToJSON, Echo200ResponseFromJSON, EmptyApiResponseFromJSON, GetShipmentOrdersInfoResponseFromJSON, GetShipmentResponseFromJSON, SearchShipmentsRequestToJSON, SearchShipmentsResponseFromJSON, SetShipmentPalletsCountRequestToJSON, TransferOrdersFromShipmentRequestToJSON, } from '../models/index'; +import { ConfirmShipmentRequestToJSON, EmptyApiResponseFromJSON, GetShipmentOrdersInfoResponseFromJSON, GetShipmentResponseFromJSON, SearchShipmentsRequestToJSON, SearchShipmentsResponseFromJSON, SetShipmentPalletsCountRequestToJSON, TransferOrdersFromShipmentRequestToJSON, } from '../models/index'; /** * */ @@ -314,38 +314,6 @@ export class ShipmentsApi extends runtime.BaseAPI { return yield response.value(); }); } - /** - * Echo (mock upstream update test) - */ - echoRaw(initOverrides) { - return __awaiter(this, void 0, void 0, function* () { - const queryParameters = {}; - const headerParameters = {}; - if (this.configuration && this.configuration.apiKey) { - headerParameters["Api-Key"] = yield this.configuration.apiKey("Api-Key"); // ApiKey authentication - } - if (this.configuration && this.configuration.accessToken) { - // oauth required - headerParameters["Authorization"] = yield this.configuration.accessToken("OAuth", ["market:partner-api"]); - } - const response = yield this.request({ - path: `/v1/echo`, - method: 'GET', - headers: headerParameters, - query: queryParameters, - }, initOverrides); - return new runtime.JSONApiResponse(response, (jsonValue) => Echo200ResponseFromJSON(jsonValue)); - }); - } - /** - * Echo (mock upstream update test) - */ - echo(initOverrides) { - return __awaiter(this, void 0, void 0, function* () { - const response = yield this.echoRaw(initOverrides); - return yield response.value(); - }); - } /** * {% include notitle [access](../../_auto/method_scopes/getShipment.md) %} Возвращает информацию об отгрузке по ее идентификатору. {% include notitle [limit](../../_auto/method_limits/getShipment.md) %} * Получение информации об одной отгрузке diff --git a/dist/esm/models/index.d.ts b/dist/esm/models/index.d.ts index 7fb31cf..f78795a 100644 --- a/dist/esm/models/index.d.ts +++ b/dist/esm/models/index.d.ts @@ -171,7 +171,6 @@ export * from './DigitalGoodsDeliveryType'; export * from './DocumentDTO'; export * from './EacVerificationResultDTO'; export * from './EacVerificationStatusType'; -export * from './Echo200Response'; export * from './EmptyApiResponse'; export * from './EnrichedOrderBoxLayoutDTO'; export * from './ExtensionShipmentDTO'; diff --git a/dist/esm/models/index.js b/dist/esm/models/index.js index 6c02f2a..66701d2 100644 --- a/dist/esm/models/index.js +++ b/dist/esm/models/index.js @@ -173,7 +173,6 @@ export * from './DigitalGoodsDeliveryType'; export * from './DocumentDTO'; export * from './EacVerificationResultDTO'; export * from './EacVerificationStatusType'; -export * from './Echo200Response'; export * from './EmptyApiResponse'; export * from './EnrichedOrderBoxLayoutDTO'; export * from './ExtensionShipmentDTO'; diff --git a/dist/models/index.d.ts b/dist/models/index.d.ts index 7fb31cf..f78795a 100644 --- a/dist/models/index.d.ts +++ b/dist/models/index.d.ts @@ -171,7 +171,6 @@ export * from './DigitalGoodsDeliveryType'; export * from './DocumentDTO'; export * from './EacVerificationResultDTO'; export * from './EacVerificationStatusType'; -export * from './Echo200Response'; export * from './EmptyApiResponse'; export * from './EnrichedOrderBoxLayoutDTO'; export * from './ExtensionShipmentDTO'; diff --git a/dist/models/index.js b/dist/models/index.js index 7614d50..0367d46 100644 --- a/dist/models/index.js +++ b/dist/models/index.js @@ -189,7 +189,6 @@ __exportStar(require("./DigitalGoodsDeliveryType"), exports); __exportStar(require("./DocumentDTO"), exports); __exportStar(require("./EacVerificationResultDTO"), exports); __exportStar(require("./EacVerificationStatusType"), exports); -__exportStar(require("./Echo200Response"), exports); __exportStar(require("./EmptyApiResponse"), exports); __exportStar(require("./EnrichedOrderBoxLayoutDTO"), exports); __exportStar(require("./ExtensionShipmentDTO"), exports);