wildberries-sdk 0.1.44 → 0.1.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -212,7 +212,6 @@ main().catch(console.error);
212
212
  - `in_store_pickup.DefaultApi.apiV3ClickCollectOrdersStatusPost` — Получить статусы сборочных заданий
213
213
 
214
214
  ### orders_fbw (`orders_fbw`)
215
- - `orders_fbw.DefaultApi.apiV1AcceptanceCoefficientsGet` — Коэффициенты приёмки
216
215
  - `orders_fbw.DefaultApi.apiV1AcceptanceOptionsPost` — Опции приёмки
217
216
  - `orders_fbw.DefaultApi.apiV1SuppliesIDGet` — Детали поставки
218
217
  - `orders_fbw.DefaultApi.apiV1SuppliesIDGoodsGet` — Товары поставки
@@ -10,10 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { ModelsAcceptanceCoefficient, ModelsBox, ModelsGood, ModelsGoodInSupply, ModelsOptionsResultModel, ModelsSuppliesFiltersRequest, ModelsSupply, ModelsSupplyDetails, ModelsTransitTariff, ModelsWarehousesResultItems } from '../models/index';
14
- export interface ApiV1AcceptanceCoefficientsGetRequest {
15
- warehouseIDs?: string;
16
- }
13
+ import type { ModelsBox, ModelsGood, ModelsGoodInSupply, ModelsOptionsResultModel, ModelsSuppliesFiltersRequest, ModelsSupply, ModelsSupplyDetails, ModelsTransitTariff, ModelsWarehousesResultItems } from '../models/index';
17
14
  export interface ApiV1AcceptanceOptionsPostRequest {
18
15
  modelsGood: Array<ModelsGood>;
19
16
  warehouseID?: number;
@@ -40,23 +37,6 @@ export interface ApiV1SuppliesPostRequest {
40
37
  *
41
38
  */
42
39
  export declare class DefaultApi extends runtime.BaseAPI {
43
- /**
44
- * Creates request options for apiV1AcceptanceCoefficientsGet without sending the request
45
- * @deprecated
46
- */
47
- apiV1AcceptanceCoefficientsGetRequestOpts(requestParameters: ApiV1AcceptanceCoefficientsGetRequest): Promise<runtime.RequestOpts>;
48
- /**
49
- * Метод находится в разделе [Тарифы](/openapi/wb-tariffs#tag/Tarify-na-postavku/paths/~1api~1tariffs~1v1~1acceptance~1coefficients/get) и называется **Тарифы на поставку** `GET /api/tariffs/v1/acceptance/coefficients`. Он доступен по домену `common-api.wildberries.ru` с <a href=\"/openapi/api-information#tag/Avtorizaciya/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token\">токеном</a> любой категории. Доступ к этому методу с доменом `supplies-api.wildberries.ru` будет отключен [3 февраля](https://dev.wildberries.ru/release-notes?id=370) <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 мин | 6 запросов | 10 сек | 6 запросов | </div>
50
- * Коэффициенты приёмки
51
- * @deprecated
52
- */
53
- apiV1AcceptanceCoefficientsGetRaw(requestParameters: ApiV1AcceptanceCoefficientsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ModelsAcceptanceCoefficient>>>;
54
- /**
55
- * Метод находится в разделе [Тарифы](/openapi/wb-tariffs#tag/Tarify-na-postavku/paths/~1api~1tariffs~1v1~1acceptance~1coefficients/get) и называется **Тарифы на поставку** `GET /api/tariffs/v1/acceptance/coefficients`. Он доступен по домену `common-api.wildberries.ru` с <a href=\"/openapi/api-information#tag/Avtorizaciya/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token\">токеном</a> любой категории. Доступ к этому методу с доменом `supplies-api.wildberries.ru` будет отключен [3 февраля](https://dev.wildberries.ru/release-notes?id=370) <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 мин | 6 запросов | 10 сек | 6 запросов | </div>
56
- * Коэффициенты приёмки
57
- * @deprecated
58
- */
59
- apiV1AcceptanceCoefficientsGet(requestParameters?: ApiV1AcceptanceCoefficientsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ModelsAcceptanceCoefficient>>;
60
40
  /**
61
41
  * Creates request options for apiV1AcceptanceOptionsPost without sending the request
62
42
  */
@@ -75,81 +75,6 @@ var DefaultApi = /** @class */ (function (_super) {
75
75
  function DefaultApi() {
76
76
  return _super !== null && _super.apply(this, arguments) || this;
77
77
  }
78
- /**
79
- * Creates request options for apiV1AcceptanceCoefficientsGet without sending the request
80
- * @deprecated
81
- */
82
- DefaultApi.prototype.apiV1AcceptanceCoefficientsGetRequestOpts = function (requestParameters) {
83
- return __awaiter(this, void 0, void 0, function () {
84
- var queryParameters, headerParameters, _a, _b, urlPath;
85
- return __generator(this, function (_c) {
86
- switch (_c.label) {
87
- case 0:
88
- queryParameters = {};
89
- if (requestParameters['warehouseIDs'] != null) {
90
- queryParameters['warehouseIDs'] = requestParameters['warehouseIDs'];
91
- }
92
- headerParameters = {};
93
- if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
94
- _a = headerParameters;
95
- _b = "Authorization";
96
- return [4 /*yield*/, this.configuration.apiKey("Authorization")];
97
- case 1:
98
- _a[_b] = _c.sent(); // HeaderApiKey authentication
99
- _c.label = 2;
100
- case 2:
101
- urlPath = "/api/v1/acceptance/coefficients";
102
- return [2 /*return*/, {
103
- path: urlPath,
104
- method: 'GET',
105
- headers: headerParameters,
106
- query: queryParameters,
107
- }];
108
- }
109
- });
110
- });
111
- };
112
- /**
113
- * Метод находится в разделе [Тарифы](/openapi/wb-tariffs#tag/Tarify-na-postavku/paths/~1api~1tariffs~1v1~1acceptance~1coefficients/get) и называется **Тарифы на поставку** `GET /api/tariffs/v1/acceptance/coefficients`. Он доступен по домену `common-api.wildberries.ru` с <a href=\"/openapi/api-information#tag/Avtorizaciya/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token\">токеном</a> любой категории. Доступ к этому методу с доменом `supplies-api.wildberries.ru` будет отключен [3 февраля](https://dev.wildberries.ru/release-notes?id=370) <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 мин | 6 запросов | 10 сек | 6 запросов | </div>
114
- * Коэффициенты приёмки
115
- * @deprecated
116
- */
117
- DefaultApi.prototype.apiV1AcceptanceCoefficientsGetRaw = function (requestParameters, initOverrides) {
118
- return __awaiter(this, void 0, void 0, function () {
119
- var requestOptions, response;
120
- return __generator(this, function (_a) {
121
- switch (_a.label) {
122
- case 0: return [4 /*yield*/, this.apiV1AcceptanceCoefficientsGetRequestOpts(requestParameters)];
123
- case 1:
124
- requestOptions = _a.sent();
125
- return [4 /*yield*/, this.request(requestOptions, initOverrides)];
126
- case 2:
127
- response = _a.sent();
128
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.ModelsAcceptanceCoefficientFromJSON); })];
129
- }
130
- });
131
- });
132
- };
133
- /**
134
- * Метод находится в разделе [Тарифы](/openapi/wb-tariffs#tag/Tarify-na-postavku/paths/~1api~1tariffs~1v1~1acceptance~1coefficients/get) и называется **Тарифы на поставку** `GET /api/tariffs/v1/acceptance/coefficients`. Он доступен по домену `common-api.wildberries.ru` с <a href=\"/openapi/api-information#tag/Avtorizaciya/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token\">токеном</a> любой категории. Доступ к этому методу с доменом `supplies-api.wildberries.ru` будет отключен [3 февраля](https://dev.wildberries.ru/release-notes?id=370) <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 мин | 6 запросов | 10 сек | 6 запросов | </div>
135
- * Коэффициенты приёмки
136
- * @deprecated
137
- */
138
- DefaultApi.prototype.apiV1AcceptanceCoefficientsGet = function () {
139
- return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
140
- var response;
141
- if (requestParameters === void 0) { requestParameters = {}; }
142
- return __generator(this, function (_a) {
143
- switch (_a.label) {
144
- case 0: return [4 /*yield*/, this.apiV1AcceptanceCoefficientsGetRaw(requestParameters, initOverrides)];
145
- case 1:
146
- response = _a.sent();
147
- return [4 /*yield*/, response.value()];
148
- case 2: return [2 /*return*/, _a.sent()];
149
- }
150
- });
151
- });
152
- };
153
78
  /**
154
79
  * Creates request options for apiV1AcceptanceOptionsPost without sending the request
155
80
  */
@@ -0,0 +1,74 @@
1
+ /**
2
+ * Поставки FBW
3
+ * <div class=\"description_important\"> Узнать больше о поставках FBW можно в <a href=\"https://seller.wildberries.ru/instructions/subcategory/5a8e1202-0865-45b7-acae-5d0afc7add56?goBackOption=prevRoute&categoryId=479385c6-de01-4b4d-ad4e-ed941e65582e\">справочном центре</a> </div> В разделе описаны методы получения: - [информации для формирования поставок](/openapi/orders-fbw#tag/Informaciya-dlya-formirovaniya-postavok) - [информации о поставках](/openapi/orders-fbw#tag/Informaciya-o-postavkah)
4
+ *
5
+ * The version of the OpenAPI document: ordersfbw
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface ApiV1AcceptanceOptionsPost401Response
16
+ */
17
+ export interface ApiV1AcceptanceOptionsPost401Response {
18
+ /**
19
+ * Заголовок ошибки
20
+ * @type {string}
21
+ * @memberof ApiV1AcceptanceOptionsPost401Response
22
+ */
23
+ title?: string;
24
+ /**
25
+ * Детали ошибки
26
+ * @type {string}
27
+ * @memberof ApiV1AcceptanceOptionsPost401Response
28
+ */
29
+ detail?: string;
30
+ /**
31
+ * Внутренний код ошибки
32
+ * @type {string}
33
+ * @memberof ApiV1AcceptanceOptionsPost401Response
34
+ */
35
+ code?: string;
36
+ /**
37
+ * Уникальный ID запроса
38
+ * @type {string}
39
+ * @memberof ApiV1AcceptanceOptionsPost401Response
40
+ */
41
+ requestId?: string;
42
+ /**
43
+ * ID внутреннего сервиса WB
44
+ * @type {string}
45
+ * @memberof ApiV1AcceptanceOptionsPost401Response
46
+ */
47
+ origin?: string;
48
+ /**
49
+ * HTTP статус-код
50
+ * @type {number}
51
+ * @memberof ApiV1AcceptanceOptionsPost401Response
52
+ */
53
+ status?: number;
54
+ /**
55
+ * Расшифровка HTTP статус-кода
56
+ * @type {string}
57
+ * @memberof ApiV1AcceptanceOptionsPost401Response
58
+ */
59
+ statusText?: string;
60
+ /**
61
+ * Дата и время запроса
62
+ * @type {Date}
63
+ * @memberof ApiV1AcceptanceOptionsPost401Response
64
+ */
65
+ timestamp?: Date;
66
+ }
67
+ /**
68
+ * Check if a given object implements the ApiV1AcceptanceOptionsPost401Response interface.
69
+ */
70
+ export declare function instanceOfApiV1AcceptanceOptionsPost401Response(value: object): value is ApiV1AcceptanceOptionsPost401Response;
71
+ export declare function ApiV1AcceptanceOptionsPost401ResponseFromJSON(json: any): ApiV1AcceptanceOptionsPost401Response;
72
+ export declare function ApiV1AcceptanceOptionsPost401ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1AcceptanceOptionsPost401Response;
73
+ export declare function ApiV1AcceptanceOptionsPost401ResponseToJSON(json: any): ApiV1AcceptanceOptionsPost401Response;
74
+ export declare function ApiV1AcceptanceOptionsPost401ResponseToJSONTyped(value?: ApiV1AcceptanceOptionsPost401Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Поставки FBW
6
+ * <div class=\"description_important\"> Узнать больше о поставках FBW можно в <a href=\"https://seller.wildberries.ru/instructions/subcategory/5a8e1202-0865-45b7-acae-5d0afc7add56?goBackOption=prevRoute&categoryId=479385c6-de01-4b4d-ad4e-ed941e65582e\">справочном центре</a> </div> В разделе описаны методы получения: - [информации для формирования поставок](/openapi/orders-fbw#tag/Informaciya-dlya-formirovaniya-postavok) - [информации о поставках](/openapi/orders-fbw#tag/Informaciya-o-postavkah)
7
+ *
8
+ * The version of the OpenAPI document: ordersfbw
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfApiV1AcceptanceOptionsPost401Response = instanceOfApiV1AcceptanceOptionsPost401Response;
17
+ exports.ApiV1AcceptanceOptionsPost401ResponseFromJSON = ApiV1AcceptanceOptionsPost401ResponseFromJSON;
18
+ exports.ApiV1AcceptanceOptionsPost401ResponseFromJSONTyped = ApiV1AcceptanceOptionsPost401ResponseFromJSONTyped;
19
+ exports.ApiV1AcceptanceOptionsPost401ResponseToJSON = ApiV1AcceptanceOptionsPost401ResponseToJSON;
20
+ exports.ApiV1AcceptanceOptionsPost401ResponseToJSONTyped = ApiV1AcceptanceOptionsPost401ResponseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ApiV1AcceptanceOptionsPost401Response interface.
23
+ */
24
+ function instanceOfApiV1AcceptanceOptionsPost401Response(value) {
25
+ return true;
26
+ }
27
+ function ApiV1AcceptanceOptionsPost401ResponseFromJSON(json) {
28
+ return ApiV1AcceptanceOptionsPost401ResponseFromJSONTyped(json, false);
29
+ }
30
+ function ApiV1AcceptanceOptionsPost401ResponseFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'title': json['title'] == null ? undefined : json['title'],
36
+ 'detail': json['detail'] == null ? undefined : json['detail'],
37
+ 'code': json['code'] == null ? undefined : json['code'],
38
+ 'requestId': json['requestId'] == null ? undefined : json['requestId'],
39
+ 'origin': json['origin'] == null ? undefined : json['origin'],
40
+ 'status': json['status'] == null ? undefined : json['status'],
41
+ 'statusText': json['statusText'] == null ? undefined : json['statusText'],
42
+ 'timestamp': json['timestamp'] == null ? undefined : (new Date(json['timestamp'])),
43
+ };
44
+ }
45
+ function ApiV1AcceptanceOptionsPost401ResponseToJSON(json) {
46
+ return ApiV1AcceptanceOptionsPost401ResponseToJSONTyped(json, false);
47
+ }
48
+ function ApiV1AcceptanceOptionsPost401ResponseToJSONTyped(value, ignoreDiscriminator) {
49
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'title': value['title'],
55
+ 'detail': value['detail'],
56
+ 'code': value['code'],
57
+ 'requestId': value['requestId'],
58
+ 'origin': value['origin'],
59
+ 'status': value['status'],
60
+ 'statusText': value['statusText'],
61
+ 'timestamp': value['timestamp'] == null ? value['timestamp'] : value['timestamp'].toISOString(),
62
+ };
63
+ }
@@ -1,4 +1,4 @@
1
- export * from './ApiV1AcceptanceCoefficientsGet401Response';
1
+ export * from './ApiV1AcceptanceOptionsPost401Response';
2
2
  export * from './ModelsAcceptanceCoefficient';
3
3
  export * from './ModelsBox';
4
4
  export * from './ModelsDateFilterRequest';
@@ -16,7 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /* tslint:disable */
18
18
  /* eslint-disable */
19
- __exportStar(require("./ApiV1AcceptanceCoefficientsGet401Response"), exports);
19
+ __exportStar(require("./ApiV1AcceptanceOptionsPost401Response"), exports);
20
20
  __exportStar(require("./ModelsAcceptanceCoefficient"), exports);
21
21
  __exportStar(require("./ModelsBox"), exports);
22
22
  __exportStar(require("./ModelsDateFilterRequest"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wildberries-sdk",
3
- "version": "0.1.44",
3
+ "version": "0.1.45",
4
4
  "description": "Wildberries OpenAPI clients (generated).",
5
5
  "license": "MIT",
6
6
  "repository": {