wildberries-sdk 0.1.113 → 0.1.114
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.
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Работа с товарами
|
|
3
|
+
* <div class=\"api-block\"> С помощью методов этого раздела вы можете: - [создавать](/openapi/work-with-products#tag/listingItems) и [редактировать](/openapi/work-with-products#tag/listings) карточки товаров - получать [категории, предметы, характеристики и бренды товаров](/openapi/work-with-products#tag/categoriesSubcategoriesAndCharacteristics) - загружать [медиафайлы](/openapi/work-with-products#tag/mediaFiles) в карточки товаров - настраивать [ярлыки](/openapi/work-with-products#tag/labels) для поиска товаров - устанавливать [цены и скидки](/openapi/work-with-products#tag/Ceny-i-skidki) - управлять [остатками товаров](/openapi/work-with-products#tag/Ostatki-na-skladah-prodavca) и [складами](/openapi/work-with-products#tag/Sklady-prodavca), если вы работаете по модели продаж со склада продавца </div> <div class=\"description_ref\"> Узнать, как использовать методы в бизнес-кейсах, можно в <a href=\"https://dev.wildberries.ru/knowledge-base/articles/019d49a4-1320-71bb-9dac-8ba07e7177ce/rabota-s-tovarami\">инструкции</a> по <strong>работе с товарами</strong> </div>
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: items
|
|
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 UpdateBlocked
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateBlocked {
|
|
18
|
+
/**
|
|
19
|
+
* Код ошибки
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateBlocked
|
|
22
|
+
*/
|
|
23
|
+
code?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Описание ошибки
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateBlocked
|
|
28
|
+
*/
|
|
29
|
+
message?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Дополнительные данные ошибки
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof UpdateBlocked
|
|
34
|
+
*/
|
|
35
|
+
data?: object | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the UpdateBlocked interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfUpdateBlocked(value: object): value is UpdateBlocked;
|
|
41
|
+
export declare function UpdateBlockedFromJSON(json: any): UpdateBlocked;
|
|
42
|
+
export declare function UpdateBlockedFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateBlocked;
|
|
43
|
+
export declare function UpdateBlockedToJSON(json: any): UpdateBlocked;
|
|
44
|
+
export declare function UpdateBlockedToJSONTyped(value?: UpdateBlocked | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Работа с товарами
|
|
6
|
+
* <div class=\"api-block\"> С помощью методов этого раздела вы можете: - [создавать](/openapi/work-with-products#tag/listingItems) и [редактировать](/openapi/work-with-products#tag/listings) карточки товаров - получать [категории, предметы, характеристики и бренды товаров](/openapi/work-with-products#tag/categoriesSubcategoriesAndCharacteristics) - загружать [медиафайлы](/openapi/work-with-products#tag/mediaFiles) в карточки товаров - настраивать [ярлыки](/openapi/work-with-products#tag/labels) для поиска товаров - устанавливать [цены и скидки](/openapi/work-with-products#tag/Ceny-i-skidki) - управлять [остатками товаров](/openapi/work-with-products#tag/Ostatki-na-skladah-prodavca) и [складами](/openapi/work-with-products#tag/Sklady-prodavca), если вы работаете по модели продаж со склада продавца </div> <div class=\"description_ref\"> Узнать, как использовать методы в бизнес-кейсах, можно в <a href=\"https://dev.wildberries.ru/knowledge-base/articles/019d49a4-1320-71bb-9dac-8ba07e7177ce/rabota-s-tovarami\">инструкции</a> по <strong>работе с товарами</strong> </div>
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: items
|
|
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.instanceOfUpdateBlocked = instanceOfUpdateBlocked;
|
|
17
|
+
exports.UpdateBlockedFromJSON = UpdateBlockedFromJSON;
|
|
18
|
+
exports.UpdateBlockedFromJSONTyped = UpdateBlockedFromJSONTyped;
|
|
19
|
+
exports.UpdateBlockedToJSON = UpdateBlockedToJSON;
|
|
20
|
+
exports.UpdateBlockedToJSONTyped = UpdateBlockedToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateBlocked interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateBlocked(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function UpdateBlockedFromJSON(json) {
|
|
28
|
+
return UpdateBlockedFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function UpdateBlockedFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
36
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
37
|
+
'data': json['data'] == null ? undefined : json['data'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function UpdateBlockedToJSON(json) {
|
|
41
|
+
return UpdateBlockedToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function UpdateBlockedToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'code': value['code'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'data': value['data'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -20,7 +20,6 @@ export * from './ApiV3StocksWarehouseIdDeleteRequest';
|
|
|
20
20
|
export * from './ApiV3StocksWarehouseIdPost200Response';
|
|
21
21
|
export * from './ApiV3StocksWarehouseIdPost200ResponseStocksInner';
|
|
22
22
|
export * from './ApiV3StocksWarehouseIdPostRequest';
|
|
23
|
-
export * from './ApiV3StocksWarehouseIdPut406Response';
|
|
24
23
|
export * from './ApiV3StocksWarehouseIdPutRequest';
|
|
25
24
|
export * from './ApiV3StocksWarehouseIdPutRequestStocksInner';
|
|
26
25
|
export * from './ApiV3WarehousesPost201Response';
|
|
@@ -134,6 +133,7 @@ export * from './StoreContactRequestBody';
|
|
|
134
133
|
export * from './SwaggerPublicErrorsCursorInput';
|
|
135
134
|
export * from './SwaggerPublicErrorsOrderV2';
|
|
136
135
|
export * from './TaskCreated';
|
|
136
|
+
export * from './UpdateBlocked';
|
|
137
137
|
export * from './ViewerContractPublicErrorsCursorOutput';
|
|
138
138
|
export * from './Warehouse';
|
|
139
139
|
export * from './WholesaleDiscountThresholdReq';
|
|
@@ -38,7 +38,6 @@ __exportStar(require("./ApiV3StocksWarehouseIdDeleteRequest"), exports);
|
|
|
38
38
|
__exportStar(require("./ApiV3StocksWarehouseIdPost200Response"), exports);
|
|
39
39
|
__exportStar(require("./ApiV3StocksWarehouseIdPost200ResponseStocksInner"), exports);
|
|
40
40
|
__exportStar(require("./ApiV3StocksWarehouseIdPostRequest"), exports);
|
|
41
|
-
__exportStar(require("./ApiV3StocksWarehouseIdPut406Response"), exports);
|
|
42
41
|
__exportStar(require("./ApiV3StocksWarehouseIdPutRequest"), exports);
|
|
43
42
|
__exportStar(require("./ApiV3StocksWarehouseIdPutRequestStocksInner"), exports);
|
|
44
43
|
__exportStar(require("./ApiV3WarehousesPost201Response"), exports);
|
|
@@ -152,6 +151,7 @@ __exportStar(require("./StoreContactRequestBody"), exports);
|
|
|
152
151
|
__exportStar(require("./SwaggerPublicErrorsCursorInput"), exports);
|
|
153
152
|
__exportStar(require("./SwaggerPublicErrorsOrderV2"), exports);
|
|
154
153
|
__exportStar(require("./TaskCreated"), exports);
|
|
154
|
+
__exportStar(require("./UpdateBlocked"), exports);
|
|
155
155
|
__exportStar(require("./ViewerContractPublicErrorsCursorOutput"), exports);
|
|
156
156
|
__exportStar(require("./Warehouse"), exports);
|
|
157
157
|
__exportStar(require("./WholesaleDiscountThresholdReq"), exports);
|