wildberries-sdk 0.1.184 → 0.1.186
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 +0 -1
- package/dist/items/apis/DefaultApi.d.ts +2 -2
- package/dist/items/apis/DefaultApi.js +2 -2
- package/dist/orders_fbs/models/GetV3FbsOrdersArchive403Response.d.ts +45 -5
- package/dist/orders_fbs/models/GetV3FbsOrdersArchive403Response.js +45 -22
- package/dist/orders_fbw/models/GetV1SuppliesSupplyIdDiscrepanciesQuantity403Response.d.ts +58 -0
- package/dist/orders_fbw/models/GetV1SuppliesSupplyIdDiscrepanciesQuantity403Response.js +78 -0
- package/dist/orders_fbw/models/index.d.ts +1 -0
- package/dist/orders_fbw/models/index.js +1 -0
- package/dist/promotion/models/GetAdvertsAdvertsInner.d.ts +2 -2
- package/dist/promotion/models/GetAdvertsAdvertsInner.js +3 -3
- package/dist/promotion/models/GetV0BidsRecommendations200Response.d.ts +44 -5
- package/dist/promotion/models/GetV0BidsRecommendations200Response.js +33 -22
- package/dist/promotion/models/Timestamps.d.ts +4 -0
- package/dist/promotion/models/Timestamps.js +4 -0
- package/dist/promotion/models/TimestampsV2.d.ts +38 -0
- package/dist/promotion/models/TimestampsV2.js +60 -0
- package/dist/promotion/models/index.d.ts +1 -0
- package/dist/promotion/models/index.js +1 -0
- package/dist/reports/apis/DefaultApi.d.ts +0 -28
- package/dist/reports/apis/DefaultApi.js +0 -84
- package/dist/reports/models/index.d.ts +0 -2
- package/dist/reports/models/index.js +0 -2
- package/package.json +1 -1
- package/dist/reports/models/GetV1AnalyticsRegionSale200Response.d.ts +0 -31
- package/dist/reports/models/GetV1AnalyticsRegionSale200Response.js +0 -50
- package/dist/reports/models/GetV1AnalyticsRegionSale200ResponseReportInner.d.ts +0 -62
- package/dist/reports/models/GetV1AnalyticsRegionSale200ResponseReportInner.js +0 -65
package/README.md
CHANGED
|
@@ -380,7 +380,6 @@ main().catch(console.error);
|
|
|
380
380
|
- `reports.DefaultApi.getV1AnalyticsBrandShareBrands` — Бренды продавца
|
|
381
381
|
- `reports.DefaultApi.getV1AnalyticsBrandShareParentSubjects` — Родительские категории бренда
|
|
382
382
|
- `reports.DefaultApi.getV1AnalyticsGoodsLabeling` — Маркировка товара
|
|
383
|
-
- `reports.DefaultApi.getV1AnalyticsRegionSale` — Получить отчёт
|
|
384
383
|
- `reports.DefaultApi.getV1Deductions` — Подмены и неверные вложения
|
|
385
384
|
- `reports.DefaultApi.getV1ItemReturns` — Получить отчёт
|
|
386
385
|
- `reports.DefaultApi.getV1MeasurementPenalties` — Удержания за занижение габаритов упаковки
|
|
@@ -697,12 +697,12 @@ export declare class DefaultApi extends runtime.BaseAPI {
|
|
|
697
697
|
*/
|
|
698
698
|
getV2DirectoryColorsRequestOpts(requestParameters: GetV2DirectoryColorsRequest): Promise<runtime.RequestOpts>;
|
|
699
699
|
/**
|
|
700
|
-
* Метод возвращает возможные значения [характеристики](/openapi/item-management#tag/categoriesSubcategoriesAndCharacteristics/operation/getV2ObjectCharcsSubjectId) предмета `Цвет`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/introduction/Limity-zaprosov\">Лимит запросов</a> на один профиль продавца для методов <strong>Характеристик</strong>: | Тип | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | --- | | Персональный | 1 мин | 100 запросов | 600 мс | 5 запросов | | Сервисный | 1 мин | 100 запросов | 600 мс | 5 запросов | | Базовый с секретом | 1 мин | 100 запросов | 600 мс | 5 запросов | | Базовый | 1 ч | 2 запроса | 30 мин | 1 запрос | <hr> В
|
|
700
|
+
* Метод возвращает возможные значения [характеристики](/openapi/item-management#tag/categoriesSubcategoriesAndCharacteristics/operation/getV2ObjectCharcsSubjectId) предмета `Цвет`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/introduction/Limity-zaprosov\">Лимит запросов</a> на один профиль продавца для методов <strong>Характеристик</strong>: | Тип | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | --- | | Персональный | 1 мин | 100 запросов | 600 мс | 5 запросов | | Сервисный | 1 мин | 100 запросов | 600 мс | 5 запросов | | Базовый с секретом | 1 мин | 100 запросов | 600 мс | 5 запросов | | Базовый | 1 ч | 2 запроса | 30 мин | 1 запрос | <hr> В <a href=\'/sandbox\'>песочнице</a> — максимум 1 запрос в секунду суммарно для всех методов <strong>Контента</strong>. </div>
|
|
701
701
|
* Цвет
|
|
702
702
|
*/
|
|
703
703
|
getV2DirectoryColorsRaw(requestParameters: GetV2DirectoryColorsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetV2DirectoryColors200Response>>;
|
|
704
704
|
/**
|
|
705
|
-
* Метод возвращает возможные значения [характеристики](/openapi/item-management#tag/categoriesSubcategoriesAndCharacteristics/operation/getV2ObjectCharcsSubjectId) предмета `Цвет`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/introduction/Limity-zaprosov\">Лимит запросов</a> на один профиль продавца для методов <strong>Характеристик</strong>: | Тип | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | --- | | Персональный | 1 мин | 100 запросов | 600 мс | 5 запросов | | Сервисный | 1 мин | 100 запросов | 600 мс | 5 запросов | | Базовый с секретом | 1 мин | 100 запросов | 600 мс | 5 запросов | | Базовый | 1 ч | 2 запроса | 30 мин | 1 запрос | <hr> В
|
|
705
|
+
* Метод возвращает возможные значения [характеристики](/openapi/item-management#tag/categoriesSubcategoriesAndCharacteristics/operation/getV2ObjectCharcsSubjectId) предмета `Цвет`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/introduction/Limity-zaprosov\">Лимит запросов</a> на один профиль продавца для методов <strong>Характеристик</strong>: | Тип | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | --- | | Персональный | 1 мин | 100 запросов | 600 мс | 5 запросов | | Сервисный | 1 мин | 100 запросов | 600 мс | 5 запросов | | Базовый с секретом | 1 мин | 100 запросов | 600 мс | 5 запросов | | Базовый | 1 ч | 2 запроса | 30 мин | 1 запрос | <hr> В <a href=\'/sandbox\'>песочнице</a> — максимум 1 запрос в секунду суммарно для всех методов <strong>Контента</strong>. </div>
|
|
706
706
|
* Цвет
|
|
707
707
|
*/
|
|
708
708
|
getV2DirectoryColors(requestParameters?: GetV2DirectoryColorsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetV2DirectoryColors200Response>;
|
|
@@ -691,7 +691,7 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
691
691
|
});
|
|
692
692
|
};
|
|
693
693
|
/**
|
|
694
|
-
* Метод возвращает возможные значения [характеристики](/openapi/item-management#tag/categoriesSubcategoriesAndCharacteristics/operation/getV2ObjectCharcsSubjectId) предмета `Цвет`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/introduction/Limity-zaprosov\">Лимит запросов</a> на один профиль продавца для методов <strong>Характеристик</strong>: | Тип | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | --- | | Персональный | 1 мин | 100 запросов | 600 мс | 5 запросов | | Сервисный | 1 мин | 100 запросов | 600 мс | 5 запросов | | Базовый с секретом | 1 мин | 100 запросов | 600 мс | 5 запросов | | Базовый | 1 ч | 2 запроса | 30 мин | 1 запрос | <hr> В
|
|
694
|
+
* Метод возвращает возможные значения [характеристики](/openapi/item-management#tag/categoriesSubcategoriesAndCharacteristics/operation/getV2ObjectCharcsSubjectId) предмета `Цвет`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/introduction/Limity-zaprosov\">Лимит запросов</a> на один профиль продавца для методов <strong>Характеристик</strong>: | Тип | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | --- | | Персональный | 1 мин | 100 запросов | 600 мс | 5 запросов | | Сервисный | 1 мин | 100 запросов | 600 мс | 5 запросов | | Базовый с секретом | 1 мин | 100 запросов | 600 мс | 5 запросов | | Базовый | 1 ч | 2 запроса | 30 мин | 1 запрос | <hr> В <a href=\'/sandbox\'>песочнице</a> — максимум 1 запрос в секунду суммарно для всех методов <strong>Контента</strong>. </div>
|
|
695
695
|
* Цвет
|
|
696
696
|
*/
|
|
697
697
|
DefaultApi.prototype.getV2DirectoryColorsRaw = function (requestParameters, initOverrides) {
|
|
@@ -711,7 +711,7 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
711
711
|
});
|
|
712
712
|
};
|
|
713
713
|
/**
|
|
714
|
-
* Метод возвращает возможные значения [характеристики](/openapi/item-management#tag/categoriesSubcategoriesAndCharacteristics/operation/getV2ObjectCharcsSubjectId) предмета `Цвет`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/introduction/Limity-zaprosov\">Лимит запросов</a> на один профиль продавца для методов <strong>Характеристик</strong>: | Тип | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | --- | | Персональный | 1 мин | 100 запросов | 600 мс | 5 запросов | | Сервисный | 1 мин | 100 запросов | 600 мс | 5 запросов | | Базовый с секретом | 1 мин | 100 запросов | 600 мс | 5 запросов | | Базовый | 1 ч | 2 запроса | 30 мин | 1 запрос | <hr> В
|
|
714
|
+
* Метод возвращает возможные значения [характеристики](/openapi/item-management#tag/categoriesSubcategoriesAndCharacteristics/operation/getV2ObjectCharcsSubjectId) предмета `Цвет`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/introduction/Limity-zaprosov\">Лимит запросов</a> на один профиль продавца для методов <strong>Характеристик</strong>: | Тип | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | --- | | Персональный | 1 мин | 100 запросов | 600 мс | 5 запросов | | Сервисный | 1 мин | 100 запросов | 600 мс | 5 запросов | | Базовый с секретом | 1 мин | 100 запросов | 600 мс | 5 запросов | | Базовый | 1 ч | 2 запроса | 30 мин | 1 запрос | <hr> В <a href=\'/sandbox\'>песочнице</a> — максимум 1 запрос в секунду суммарно для всех методов <strong>Контента</strong>. </div>
|
|
715
715
|
* Цвет
|
|
716
716
|
*/
|
|
717
717
|
DefaultApi.prototype.getV2DirectoryColors = function () {
|
|
@@ -9,15 +9,55 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
13
|
-
import type { Response4XX } from './Response4XX';
|
|
12
|
+
import type { ArhiveOrderError400ErrorsInner } from './ArhiveOrderError400ErrorsInner';
|
|
14
13
|
/**
|
|
15
|
-
* @type GetV3FbsOrdersArchive403Response
|
|
16
14
|
*
|
|
17
15
|
* @export
|
|
16
|
+
* @interface GetV3FbsOrdersArchive403Response
|
|
18
17
|
*/
|
|
19
|
-
export
|
|
18
|
+
export interface GetV3FbsOrdersArchive403Response {
|
|
19
|
+
/**
|
|
20
|
+
* Внутренний код ошибки
|
|
21
|
+
*/
|
|
22
|
+
code?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Детали ошибки
|
|
25
|
+
*/
|
|
26
|
+
detail: string;
|
|
27
|
+
/**
|
|
28
|
+
* Информация об ошибке
|
|
29
|
+
*/
|
|
30
|
+
errors?: Array<ArhiveOrderError400ErrorsInner>;
|
|
31
|
+
/**
|
|
32
|
+
* ID внутреннего сервиса WB
|
|
33
|
+
*/
|
|
34
|
+
origin: string;
|
|
35
|
+
/**
|
|
36
|
+
* ID запроса
|
|
37
|
+
*/
|
|
38
|
+
requestId: string;
|
|
39
|
+
/**
|
|
40
|
+
* HTTP статус-код
|
|
41
|
+
*/
|
|
42
|
+
status: number;
|
|
43
|
+
/**
|
|
44
|
+
* Заголовок ошибки
|
|
45
|
+
*/
|
|
46
|
+
title: string;
|
|
47
|
+
/**
|
|
48
|
+
* Расшифровка HTTP статус-кода
|
|
49
|
+
*/
|
|
50
|
+
statusText: string;
|
|
51
|
+
/**
|
|
52
|
+
* Дата и время запроса
|
|
53
|
+
*/
|
|
54
|
+
timestamp: Date;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the GetV3FbsOrdersArchive403Response interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfGetV3FbsOrdersArchive403Response(value: object): value is GetV3FbsOrdersArchive403Response;
|
|
20
60
|
export declare function GetV3FbsOrdersArchive403ResponseFromJSON(json: any): GetV3FbsOrdersArchive403Response;
|
|
21
61
|
export declare function GetV3FbsOrdersArchive403ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetV3FbsOrdersArchive403Response;
|
|
22
|
-
export declare function GetV3FbsOrdersArchive403ResponseToJSON(json: any):
|
|
62
|
+
export declare function GetV3FbsOrdersArchive403ResponseToJSON(json: any): GetV3FbsOrdersArchive403Response;
|
|
23
63
|
export declare function GetV3FbsOrdersArchive403ResponseToJSONTyped(value?: GetV3FbsOrdersArchive403Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,12 +13,33 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGetV3FbsOrdersArchive403Response = instanceOfGetV3FbsOrdersArchive403Response;
|
|
16
17
|
exports.GetV3FbsOrdersArchive403ResponseFromJSON = GetV3FbsOrdersArchive403ResponseFromJSON;
|
|
17
18
|
exports.GetV3FbsOrdersArchive403ResponseFromJSONTyped = GetV3FbsOrdersArchive403ResponseFromJSONTyped;
|
|
18
19
|
exports.GetV3FbsOrdersArchive403ResponseToJSON = GetV3FbsOrdersArchive403ResponseToJSON;
|
|
19
20
|
exports.GetV3FbsOrdersArchive403ResponseToJSONTyped = GetV3FbsOrdersArchive403ResponseToJSONTyped;
|
|
20
|
-
var
|
|
21
|
-
var
|
|
21
|
+
var runtime_1 = require("../runtime");
|
|
22
|
+
var ArhiveOrderError400ErrorsInner_1 = require("./ArhiveOrderError400ErrorsInner");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the GetV3FbsOrdersArchive403Response interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfGetV3FbsOrdersArchive403Response(value) {
|
|
27
|
+
if (!('detail' in value) || value['detail'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('origin' in value) || value['origin'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('requestId' in value) || value['requestId'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('statusText' in value) || value['statusText'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('timestamp' in value) || value['timestamp'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
22
43
|
function GetV3FbsOrdersArchive403ResponseFromJSON(json) {
|
|
23
44
|
return GetV3FbsOrdersArchive403ResponseFromJSONTyped(json, false);
|
|
24
45
|
}
|
|
@@ -26,16 +47,17 @@ function GetV3FbsOrdersArchive403ResponseFromJSONTyped(json, ignoreDiscriminator
|
|
|
26
47
|
if (json == null) {
|
|
27
48
|
return json;
|
|
28
49
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
50
|
+
return {
|
|
51
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
52
|
+
'detail': json['detail'],
|
|
53
|
+
'errors': json['errors'] == null ? undefined : (json['errors'].map(ArhiveOrderError400ErrorsInner_1.ArhiveOrderError400ErrorsInnerFromJSON)),
|
|
54
|
+
'origin': json['origin'],
|
|
55
|
+
'requestId': json['requestId'],
|
|
56
|
+
'status': json['status'],
|
|
57
|
+
'title': json['title'],
|
|
58
|
+
'statusText': json['statusText'],
|
|
59
|
+
'timestamp': (json['timestamp'] == null ? json['timestamp'] : (0, runtime_1.parseDateTime)(json['timestamp'])),
|
|
60
|
+
};
|
|
39
61
|
}
|
|
40
62
|
function GetV3FbsOrdersArchive403ResponseToJSON(json) {
|
|
41
63
|
return GetV3FbsOrdersArchive403ResponseToJSONTyped(json, false);
|
|
@@ -45,14 +67,15 @@ function GetV3FbsOrdersArchive403ResponseToJSONTyped(value, ignoreDiscriminator)
|
|
|
45
67
|
if (value == null) {
|
|
46
68
|
return value;
|
|
47
69
|
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
70
|
+
return {
|
|
71
|
+
'code': value['code'],
|
|
72
|
+
'detail': value['detail'],
|
|
73
|
+
'errors': value['errors'] == null ? undefined : (value['errors'].map(ArhiveOrderError400ErrorsInner_1.ArhiveOrderError400ErrorsInnerToJSON)),
|
|
74
|
+
'origin': value['origin'],
|
|
75
|
+
'requestId': value['requestId'],
|
|
76
|
+
'status': value['status'],
|
|
77
|
+
'title': value['title'],
|
|
78
|
+
'statusText': value['statusText'],
|
|
79
|
+
'timestamp': value['timestamp'] == null ? value['timestamp'] : (0, runtime_1.serializeDateTime)(value['timestamp']),
|
|
80
|
+
};
|
|
58
81
|
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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> <div class=\"api-block\"> В разделе описаны методы получения: - [информации для формирования поставок](/openapi/orders-fbw#tag/informationForFormingSupplies) - [информации о поставках](/openapi/orders-fbw#tag/suppliesInformation) </div>
|
|
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 GetV1SuppliesSupplyIdDiscrepanciesQuantity403Response
|
|
16
|
+
*/
|
|
17
|
+
export interface GetV1SuppliesSupplyIdDiscrepanciesQuantity403Response {
|
|
18
|
+
/**
|
|
19
|
+
* Краткое описание ошибки
|
|
20
|
+
*/
|
|
21
|
+
title: string;
|
|
22
|
+
/**
|
|
23
|
+
* Подробное описание ошибки
|
|
24
|
+
*/
|
|
25
|
+
detail: string;
|
|
26
|
+
/**
|
|
27
|
+
* Внутренний код ошибки
|
|
28
|
+
*/
|
|
29
|
+
code?: string;
|
|
30
|
+
/**
|
|
31
|
+
* ID запроса
|
|
32
|
+
*/
|
|
33
|
+
requestId: string;
|
|
34
|
+
/**
|
|
35
|
+
* Сервис, в котором произошла ошибка
|
|
36
|
+
*/
|
|
37
|
+
origin: string;
|
|
38
|
+
/**
|
|
39
|
+
* HTTP-статус код
|
|
40
|
+
*/
|
|
41
|
+
status: number;
|
|
42
|
+
/**
|
|
43
|
+
* Расшифровка HTTP статус-кода
|
|
44
|
+
*/
|
|
45
|
+
statusText: string;
|
|
46
|
+
/**
|
|
47
|
+
* Дата и время запроса
|
|
48
|
+
*/
|
|
49
|
+
timestamp: Date;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the GetV1SuppliesSupplyIdDiscrepanciesQuantity403Response interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfGetV1SuppliesSupplyIdDiscrepanciesQuantity403Response(value: object): value is GetV1SuppliesSupplyIdDiscrepanciesQuantity403Response;
|
|
55
|
+
export declare function GetV1SuppliesSupplyIdDiscrepanciesQuantity403ResponseFromJSON(json: any): GetV1SuppliesSupplyIdDiscrepanciesQuantity403Response;
|
|
56
|
+
export declare function GetV1SuppliesSupplyIdDiscrepanciesQuantity403ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetV1SuppliesSupplyIdDiscrepanciesQuantity403Response;
|
|
57
|
+
export declare function GetV1SuppliesSupplyIdDiscrepanciesQuantity403ResponseToJSON(json: any): GetV1SuppliesSupplyIdDiscrepanciesQuantity403Response;
|
|
58
|
+
export declare function GetV1SuppliesSupplyIdDiscrepanciesQuantity403ResponseToJSONTyped(value?: GetV1SuppliesSupplyIdDiscrepanciesQuantity403Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,78 @@
|
|
|
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> <div class=\"api-block\"> В разделе описаны методы получения: - [информации для формирования поставок](/openapi/orders-fbw#tag/informationForFormingSupplies) - [информации о поставках](/openapi/orders-fbw#tag/suppliesInformation) </div>
|
|
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.instanceOfGetV1SuppliesSupplyIdDiscrepanciesQuantity403Response = instanceOfGetV1SuppliesSupplyIdDiscrepanciesQuantity403Response;
|
|
17
|
+
exports.GetV1SuppliesSupplyIdDiscrepanciesQuantity403ResponseFromJSON = GetV1SuppliesSupplyIdDiscrepanciesQuantity403ResponseFromJSON;
|
|
18
|
+
exports.GetV1SuppliesSupplyIdDiscrepanciesQuantity403ResponseFromJSONTyped = GetV1SuppliesSupplyIdDiscrepanciesQuantity403ResponseFromJSONTyped;
|
|
19
|
+
exports.GetV1SuppliesSupplyIdDiscrepanciesQuantity403ResponseToJSON = GetV1SuppliesSupplyIdDiscrepanciesQuantity403ResponseToJSON;
|
|
20
|
+
exports.GetV1SuppliesSupplyIdDiscrepanciesQuantity403ResponseToJSONTyped = GetV1SuppliesSupplyIdDiscrepanciesQuantity403ResponseToJSONTyped;
|
|
21
|
+
var runtime_1 = require("../runtime");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GetV1SuppliesSupplyIdDiscrepanciesQuantity403Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGetV1SuppliesSupplyIdDiscrepanciesQuantity403Response(value) {
|
|
26
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('detail' in value) || value['detail'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('requestId' in value) || value['requestId'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('origin' in value) || value['origin'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('statusText' in value) || value['statusText'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('timestamp' in value) || value['timestamp'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function GetV1SuppliesSupplyIdDiscrepanciesQuantity403ResponseFromJSON(json) {
|
|
43
|
+
return GetV1SuppliesSupplyIdDiscrepanciesQuantity403ResponseFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function GetV1SuppliesSupplyIdDiscrepanciesQuantity403ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'title': json['title'],
|
|
51
|
+
'detail': json['detail'],
|
|
52
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
53
|
+
'requestId': json['requestId'],
|
|
54
|
+
'origin': json['origin'],
|
|
55
|
+
'status': json['status'],
|
|
56
|
+
'statusText': json['statusText'],
|
|
57
|
+
'timestamp': (json['timestamp'] == null ? json['timestamp'] : (0, runtime_1.parseDateTime)(json['timestamp'])),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function GetV1SuppliesSupplyIdDiscrepanciesQuantity403ResponseToJSON(json) {
|
|
61
|
+
return GetV1SuppliesSupplyIdDiscrepanciesQuantity403ResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function GetV1SuppliesSupplyIdDiscrepanciesQuantity403ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
64
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'title': value['title'],
|
|
70
|
+
'detail': value['detail'],
|
|
71
|
+
'code': value['code'],
|
|
72
|
+
'requestId': value['requestId'],
|
|
73
|
+
'origin': value['origin'],
|
|
74
|
+
'status': value['status'],
|
|
75
|
+
'statusText': value['statusText'],
|
|
76
|
+
'timestamp': value['timestamp'] == null ? value['timestamp'] : (0, runtime_1.serializeDateTime)(value['timestamp']),
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./ErrorsDraftError"), exports);
|
|
20
|
+
__exportStar(require("./GetV1SuppliesSupplyIdDiscrepanciesQuantity403Response"), exports);
|
|
20
21
|
__exportStar(require("./ModelsBox"), exports);
|
|
21
22
|
__exportStar(require("./ModelsDateFilterRequest"), exports);
|
|
22
23
|
__exportStar(require("./ModelsDiscrepancyResponseItem"), exports);
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Timestamps } from './Timestamps';
|
|
13
12
|
import type { AdvertNMsSettings } from './AdvertNMsSettings';
|
|
14
13
|
import type { GetAdvertsAdvertsInnerRestrictions } from './GetAdvertsAdvertsInnerRestrictions';
|
|
15
14
|
import type { AdvertSettings } from './AdvertSettings';
|
|
15
|
+
import type { TimestampsV2 } from './TimestampsV2';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -60,7 +60,7 @@ export interface GetAdvertsAdvertsInner {
|
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
*/
|
|
63
|
-
timestamps:
|
|
63
|
+
timestamps: TimestampsV2;
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
66
|
* @export
|
|
@@ -19,10 +19,10 @@ exports.GetAdvertsAdvertsInnerFromJSON = GetAdvertsAdvertsInnerFromJSON;
|
|
|
19
19
|
exports.GetAdvertsAdvertsInnerFromJSONTyped = GetAdvertsAdvertsInnerFromJSONTyped;
|
|
20
20
|
exports.GetAdvertsAdvertsInnerToJSON = GetAdvertsAdvertsInnerToJSON;
|
|
21
21
|
exports.GetAdvertsAdvertsInnerToJSONTyped = GetAdvertsAdvertsInnerToJSONTyped;
|
|
22
|
-
var Timestamps_1 = require("./Timestamps");
|
|
23
22
|
var AdvertNMsSettings_1 = require("./AdvertNMsSettings");
|
|
24
23
|
var GetAdvertsAdvertsInnerRestrictions_1 = require("./GetAdvertsAdvertsInnerRestrictions");
|
|
25
24
|
var AdvertSettings_1 = require("./AdvertSettings");
|
|
25
|
+
var TimestampsV2_1 = require("./TimestampsV2");
|
|
26
26
|
/**
|
|
27
27
|
* @export
|
|
28
28
|
*/
|
|
@@ -69,7 +69,7 @@ function GetAdvertsAdvertsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
69
69
|
'settings': (0, AdvertSettings_1.AdvertSettingsFromJSON)(json['settings']),
|
|
70
70
|
'restrictions': (0, GetAdvertsAdvertsInnerRestrictions_1.GetAdvertsAdvertsInnerRestrictionsFromJSON)(json['restrictions']),
|
|
71
71
|
'status': json['status'],
|
|
72
|
-
'timestamps': (0,
|
|
72
|
+
'timestamps': (0, TimestampsV2_1.TimestampsV2FromJSON)(json['timestamps']),
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
function GetAdvertsAdvertsInnerToJSON(json) {
|
|
@@ -88,6 +88,6 @@ function GetAdvertsAdvertsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
|
88
88
|
'settings': (0, AdvertSettings_1.AdvertSettingsToJSON)(value['settings']),
|
|
89
89
|
'restrictions': (0, GetAdvertsAdvertsInnerRestrictions_1.GetAdvertsAdvertsInnerRestrictionsToJSON)(value['restrictions']),
|
|
90
90
|
'status': value['status'],
|
|
91
|
-
'timestamps': (0,
|
|
91
|
+
'timestamps': (0, TimestampsV2_1.TimestampsV2ToJSON)(value['timestamps']),
|
|
92
92
|
};
|
|
93
93
|
}
|
|
@@ -9,15 +9,54 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
13
|
-
import type {
|
|
12
|
+
import type { V0BidRecommendationNormQuery } from './V0BidRecommendationNormQuery';
|
|
13
|
+
import type { V0BidRecommendationBase } from './V0BidRecommendationBase';
|
|
14
|
+
import type { V0BidRecommendationCPCLevels } from './V0BidRecommendationCPCLevels';
|
|
14
15
|
/**
|
|
15
|
-
* @type GetV0BidsRecommendations200Response
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
18
|
+
* @interface GetV0BidsRecommendations200Response
|
|
18
19
|
*/
|
|
19
|
-
export
|
|
20
|
+
export interface GetV0BidsRecommendations200Response {
|
|
21
|
+
/**
|
|
22
|
+
* ID кампании
|
|
23
|
+
*/
|
|
24
|
+
advertId?: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
base?: V0BidRecommendationBase;
|
|
29
|
+
/**
|
|
30
|
+
* Артикул WB
|
|
31
|
+
*/
|
|
32
|
+
nmId?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Рекомендуемые ставки для поисковых кластеров
|
|
35
|
+
*/
|
|
36
|
+
normQueries?: Array<V0BidRecommendationNormQuery>;
|
|
37
|
+
/**
|
|
38
|
+
* Тип оплаты:
|
|
39
|
+
* - `cpc` — за клики
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
paymentType?: GetV0BidsRecommendations200ResponsePaymentTypeEnum;
|
|
43
|
+
/**
|
|
44
|
+
* Рекомендуемые ставки для карточек товаров
|
|
45
|
+
*/
|
|
46
|
+
levels?: Array<V0BidRecommendationCPCLevels>;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* @export
|
|
50
|
+
*/
|
|
51
|
+
export declare const GetV0BidsRecommendations200ResponsePaymentTypeEnum: {
|
|
52
|
+
readonly Cpc: "cpc";
|
|
53
|
+
};
|
|
54
|
+
export type GetV0BidsRecommendations200ResponsePaymentTypeEnum = typeof GetV0BidsRecommendations200ResponsePaymentTypeEnum[keyof typeof GetV0BidsRecommendations200ResponsePaymentTypeEnum];
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the GetV0BidsRecommendations200Response interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfGetV0BidsRecommendations200Response(value: object): value is GetV0BidsRecommendations200Response;
|
|
20
59
|
export declare function GetV0BidsRecommendations200ResponseFromJSON(json: any): GetV0BidsRecommendations200Response;
|
|
21
60
|
export declare function GetV0BidsRecommendations200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetV0BidsRecommendations200Response;
|
|
22
|
-
export declare function GetV0BidsRecommendations200ResponseToJSON(json: any):
|
|
61
|
+
export declare function GetV0BidsRecommendations200ResponseToJSON(json: any): GetV0BidsRecommendations200Response;
|
|
23
62
|
export declare function GetV0BidsRecommendations200ResponseToJSONTyped(value?: GetV0BidsRecommendations200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,12 +13,27 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.GetV0BidsRecommendations200ResponsePaymentTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfGetV0BidsRecommendations200Response = instanceOfGetV0BidsRecommendations200Response;
|
|
16
18
|
exports.GetV0BidsRecommendations200ResponseFromJSON = GetV0BidsRecommendations200ResponseFromJSON;
|
|
17
19
|
exports.GetV0BidsRecommendations200ResponseFromJSONTyped = GetV0BidsRecommendations200ResponseFromJSONTyped;
|
|
18
20
|
exports.GetV0BidsRecommendations200ResponseToJSON = GetV0BidsRecommendations200ResponseToJSON;
|
|
19
21
|
exports.GetV0BidsRecommendations200ResponseToJSONTyped = GetV0BidsRecommendations200ResponseToJSONTyped;
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
+
var V0BidRecommendationNormQuery_1 = require("./V0BidRecommendationNormQuery");
|
|
23
|
+
var V0BidRecommendationBase_1 = require("./V0BidRecommendationBase");
|
|
24
|
+
var V0BidRecommendationCPCLevels_1 = require("./V0BidRecommendationCPCLevels");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.GetV0BidsRecommendations200ResponsePaymentTypeEnum = {
|
|
29
|
+
Cpc: 'cpc',
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GetV0BidsRecommendations200Response interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfGetV0BidsRecommendations200Response(value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
22
37
|
function GetV0BidsRecommendations200ResponseFromJSON(json) {
|
|
23
38
|
return GetV0BidsRecommendations200ResponseFromJSONTyped(json, false);
|
|
24
39
|
}
|
|
@@ -26,16 +41,14 @@ function GetV0BidsRecommendations200ResponseFromJSONTyped(json, ignoreDiscrimina
|
|
|
26
41
|
if (json == null) {
|
|
27
42
|
return json;
|
|
28
43
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
return {};
|
|
44
|
+
return {
|
|
45
|
+
'advertId': json['advertId'] == null ? undefined : json['advertId'],
|
|
46
|
+
'base': json['base'] == null ? undefined : (0, V0BidRecommendationBase_1.V0BidRecommendationBaseFromJSON)(json['base']),
|
|
47
|
+
'nmId': json['nmId'] == null ? undefined : json['nmId'],
|
|
48
|
+
'normQueries': json['normQueries'] == null ? undefined : (json['normQueries'].map(V0BidRecommendationNormQuery_1.V0BidRecommendationNormQueryFromJSON)),
|
|
49
|
+
'paymentType': json['paymentType'] == null ? undefined : json['paymentType'],
|
|
50
|
+
'levels': json['levels'] == null ? undefined : (json['levels'].map(V0BidRecommendationCPCLevels_1.V0BidRecommendationCPCLevelsFromJSON)),
|
|
51
|
+
};
|
|
39
52
|
}
|
|
40
53
|
function GetV0BidsRecommendations200ResponseToJSON(json) {
|
|
41
54
|
return GetV0BidsRecommendations200ResponseToJSONTyped(json, false);
|
|
@@ -45,14 +58,12 @@ function GetV0BidsRecommendations200ResponseToJSONTyped(value, ignoreDiscriminat
|
|
|
45
58
|
if (value == null) {
|
|
46
59
|
return value;
|
|
47
60
|
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
-
return {};
|
|
61
|
+
return {
|
|
62
|
+
'advertId': value['advertId'],
|
|
63
|
+
'base': (0, V0BidRecommendationBase_1.V0BidRecommendationBaseToJSON)(value['base']),
|
|
64
|
+
'nmId': value['nmId'],
|
|
65
|
+
'normQueries': value['normQueries'] == null ? undefined : (value['normQueries'].map(V0BidRecommendationNormQuery_1.V0BidRecommendationNormQueryToJSON)),
|
|
66
|
+
'paymentType': value['paymentType'],
|
|
67
|
+
'levels': value['levels'] == null ? undefined : (value['levels'].map(V0BidRecommendationCPCLevels_1.V0BidRecommendationCPCLevelsToJSON)),
|
|
68
|
+
};
|
|
58
69
|
}
|
|
@@ -29,6 +29,8 @@ function instanceOfTimestamps(value) {
|
|
|
29
29
|
return false;
|
|
30
30
|
if (!('started' in value) || value['started'] === undefined)
|
|
31
31
|
return false;
|
|
32
|
+
if (!('ended' in value) || value['ended'] === undefined)
|
|
33
|
+
return false;
|
|
32
34
|
return true;
|
|
33
35
|
}
|
|
34
36
|
function TimestampsFromJSON(json) {
|
|
@@ -42,6 +44,7 @@ function TimestampsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
44
|
'created': (json['created'] == null ? json['created'] : (0, runtime_1.parseDateTime)(json['created'])),
|
|
43
45
|
'updated': (json['updated'] == null ? json['updated'] : (0, runtime_1.parseDateTime)(json['updated'])),
|
|
44
46
|
'started': (json['started'] == null ? null : (0, runtime_1.parseDateTime)(json['started'])),
|
|
47
|
+
'ended': (json['ended'] == null ? null : (0, runtime_1.parseDateTime)(json['ended'])),
|
|
45
48
|
};
|
|
46
49
|
}
|
|
47
50
|
function TimestampsToJSON(json) {
|
|
@@ -56,5 +59,6 @@ function TimestampsToJSONTyped(value, ignoreDiscriminator) {
|
|
|
56
59
|
'created': value['created'] == null ? value['created'] : (0, runtime_1.serializeDateTime)(value['created']),
|
|
57
60
|
'updated': value['updated'] == null ? value['updated'] : (0, runtime_1.serializeDateTime)(value['updated']),
|
|
58
61
|
'started': value['started'] == null ? value['started'] : (0, runtime_1.serializeDateTime)(value['started']),
|
|
62
|
+
'ended': value['ended'] == null ? value['ended'] : (0, runtime_1.serializeDateTime)(value['ended']),
|
|
59
63
|
};
|
|
60
64
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Маркетинг и продвижение
|
|
3
|
+
* <div class=\"description_important\"> Узнать больше о маркетинге и продвижении можно в <a href=\"https://seller.wildberries.ru/instructions/category/59d92bd3-6ea0-40f2-b762-ca8835d7d42e?goBackOption=prevRoute&categoryId=479385c6-de01-4b4d-ad4e-ed941e65582e\">справочном центре</a> </div> <div class=\"api-block\"> Методы маркетинга и продвижения позволяют: 1. Получать информацию о кампаниях [продвижения](/openapi/promotion#tag/campaigns) и [медиакампаниях](/openapi/promotion#tag/media) 2. [Создавать](/openapi/promotion#tag/creatingCampaigns) и [управлять](/openapi/promotion#tag/campaignManagement) кампаниями 3. Управлять [финансами](/openapi/promotion#tag/finances) кампаний 4. Выгружать [статистику](/openapi/promotion#tag/statistics) кампаний продвижения и медиакампаний 5. Работать с [календарём акций](/openapi/promotion#tag/promoCalendar) Данные синхронизируются с базой раз в 3 минуты. Статусы кампаний меняются раз в минуту. Ставки кампаний меняются раз в 30 секунд.<br><br> </div>
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: promotion
|
|
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 TimestampsV2
|
|
16
|
+
*/
|
|
17
|
+
export interface TimestampsV2 {
|
|
18
|
+
/**
|
|
19
|
+
* Время создания кампании
|
|
20
|
+
*/
|
|
21
|
+
created: Date;
|
|
22
|
+
/**
|
|
23
|
+
* Время последнего изменения кампании
|
|
24
|
+
*/
|
|
25
|
+
updated: Date;
|
|
26
|
+
/**
|
|
27
|
+
* Время последнего запуска кампании
|
|
28
|
+
*/
|
|
29
|
+
started: Date | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the TimestampsV2 interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfTimestampsV2(value: object): value is TimestampsV2;
|
|
35
|
+
export declare function TimestampsV2FromJSON(json: any): TimestampsV2;
|
|
36
|
+
export declare function TimestampsV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): TimestampsV2;
|
|
37
|
+
export declare function TimestampsV2ToJSON(json: any): TimestampsV2;
|
|
38
|
+
export declare function TimestampsV2ToJSONTyped(value?: TimestampsV2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Маркетинг и продвижение
|
|
6
|
+
* <div class=\"description_important\"> Узнать больше о маркетинге и продвижении можно в <a href=\"https://seller.wildberries.ru/instructions/category/59d92bd3-6ea0-40f2-b762-ca8835d7d42e?goBackOption=prevRoute&categoryId=479385c6-de01-4b4d-ad4e-ed941e65582e\">справочном центре</a> </div> <div class=\"api-block\"> Методы маркетинга и продвижения позволяют: 1. Получать информацию о кампаниях [продвижения](/openapi/promotion#tag/campaigns) и [медиакампаниях](/openapi/promotion#tag/media) 2. [Создавать](/openapi/promotion#tag/creatingCampaigns) и [управлять](/openapi/promotion#tag/campaignManagement) кампаниями 3. Управлять [финансами](/openapi/promotion#tag/finances) кампаний 4. Выгружать [статистику](/openapi/promotion#tag/statistics) кампаний продвижения и медиакампаний 5. Работать с [календарём акций](/openapi/promotion#tag/promoCalendar) Данные синхронизируются с базой раз в 3 минуты. Статусы кампаний меняются раз в минуту. Ставки кампаний меняются раз в 30 секунд.<br><br> </div>
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: promotion
|
|
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.instanceOfTimestampsV2 = instanceOfTimestampsV2;
|
|
17
|
+
exports.TimestampsV2FromJSON = TimestampsV2FromJSON;
|
|
18
|
+
exports.TimestampsV2FromJSONTyped = TimestampsV2FromJSONTyped;
|
|
19
|
+
exports.TimestampsV2ToJSON = TimestampsV2ToJSON;
|
|
20
|
+
exports.TimestampsV2ToJSONTyped = TimestampsV2ToJSONTyped;
|
|
21
|
+
var runtime_1 = require("../runtime");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the TimestampsV2 interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfTimestampsV2(value) {
|
|
26
|
+
if (!('created' in value) || value['created'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('updated' in value) || value['updated'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('started' in value) || value['started'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function TimestampsV2FromJSON(json) {
|
|
35
|
+
return TimestampsV2FromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function TimestampsV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'created': (json['created'] == null ? json['created'] : (0, runtime_1.parseDateTime)(json['created'])),
|
|
43
|
+
'updated': (json['updated'] == null ? json['updated'] : (0, runtime_1.parseDateTime)(json['updated'])),
|
|
44
|
+
'started': (json['started'] == null ? null : (0, runtime_1.parseDateTime)(json['started'])),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function TimestampsV2ToJSON(json) {
|
|
48
|
+
return TimestampsV2ToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function TimestampsV2ToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'created': value['created'] == null ? value['created'] : (0, runtime_1.serializeDateTime)(value['created']),
|
|
57
|
+
'updated': value['updated'] == null ? value['updated'] : (0, runtime_1.serializeDateTime)(value['updated']),
|
|
58
|
+
'started': value['started'] == null ? value['started'] : (0, runtime_1.serializeDateTime)(value['started']),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -102,6 +102,7 @@ export * from './Stats2Inner';
|
|
|
102
102
|
export * from './StatsBlok1';
|
|
103
103
|
export * from './StatsBlok2';
|
|
104
104
|
export * from './Timestamps';
|
|
105
|
+
export * from './TimestampsV2';
|
|
105
106
|
export * from './V0BidRecommendationBase';
|
|
106
107
|
export * from './V0BidRecommendationBaseBid';
|
|
107
108
|
export * from './V0BidRecommendationBaseBidCompetitiveBid';
|
|
@@ -120,6 +120,7 @@ __exportStar(require("./Stats2Inner"), exports);
|
|
|
120
120
|
__exportStar(require("./StatsBlok1"), exports);
|
|
121
121
|
__exportStar(require("./StatsBlok2"), exports);
|
|
122
122
|
__exportStar(require("./Timestamps"), exports);
|
|
123
|
+
__exportStar(require("./TimestampsV2"), exports);
|
|
123
124
|
__exportStar(require("./V0BidRecommendationBase"), exports);
|
|
124
125
|
__exportStar(require("./V0BidRecommendationBaseBid"), exports);
|
|
125
126
|
__exportStar(require("./V0BidRecommendationBaseBidCompetitiveBid"), exports);
|
|
@@ -19,7 +19,6 @@ import { type GetV1AnalyticsBrandShare200Response } from '../models/GetV1Analyti
|
|
|
19
19
|
import { type GetV1AnalyticsBrandShareBrands200Response } from '../models/GetV1AnalyticsBrandShareBrands200Response';
|
|
20
20
|
import { type GetV1AnalyticsBrandShareParentSubjects200Response } from '../models/GetV1AnalyticsBrandShareParentSubjects200Response';
|
|
21
21
|
import { type GetV1AnalyticsGoodsLabeling200Response } from '../models/GetV1AnalyticsGoodsLabeling200Response';
|
|
22
|
-
import { type GetV1AnalyticsRegionSale200Response } from '../models/GetV1AnalyticsRegionSale200Response';
|
|
23
22
|
import { type GetV1Deductions200Response } from '../models/GetV1Deductions200Response';
|
|
24
23
|
import { type GetV1WarehouseRemainsTasksTaskIdDownload200ResponseInner } from '../models/GetV1WarehouseRemainsTasksTaskIdDownload200ResponseInner';
|
|
25
24
|
import { type ItemReturns200Response } from '../models/ItemReturns200Response';
|
|
@@ -127,16 +126,6 @@ export interface GetV1AnalyticsGoodsLabelingRequest {
|
|
|
127
126
|
*/
|
|
128
127
|
dateTo: Date;
|
|
129
128
|
}
|
|
130
|
-
export interface GetV1AnalyticsRegionSaleRequest {
|
|
131
|
-
/**
|
|
132
|
-
* Начало отчётного периода, `ГГГГ-ММ-ДД`
|
|
133
|
-
*/
|
|
134
|
-
dateFrom: string;
|
|
135
|
-
/**
|
|
136
|
-
* Конец отчётного периода, `ГГГГ-ММ-ДД`
|
|
137
|
-
*/
|
|
138
|
-
dateTo: string;
|
|
139
|
-
}
|
|
140
129
|
export interface GetV1DeductionsRequest {
|
|
141
130
|
/**
|
|
142
131
|
* Конец отчётного периода
|
|
@@ -499,23 +488,6 @@ export declare class DefaultApi extends runtime.BaseAPI {
|
|
|
499
488
|
* Маркировка товара
|
|
500
489
|
*/
|
|
501
490
|
getV1AnalyticsGoodsLabeling(requestParameters: GetV1AnalyticsGoodsLabelingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetV1AnalyticsGoodsLabeling200Response>;
|
|
502
|
-
/**
|
|
503
|
-
* Creates request options for getV1AnalyticsRegionSale without sending the request
|
|
504
|
-
* @deprecated
|
|
505
|
-
*/
|
|
506
|
-
getV1AnalyticsRegionSaleRequestOpts(requestParameters: GetV1AnalyticsRegionSaleRequest): Promise<runtime.RequestOpts>;
|
|
507
|
-
/**
|
|
508
|
-
* Метод будет отключен [3 ноября](https://dev.wildberries.ru/release-notes?id=590). <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/introduction/Limity-zaprosov\">Лимит запросов</a> на один профиль продавца: | Тип | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | --- | | Персональный | 10 сек | 1 запрос | 10 сек | 5 запросов | | Сервисный | 10 сек | 1 запрос | 10 сек | 5 запросов | | Базовый с секретом | 10 сек | 1 запрос | 10 сек | 5 запросов | | Базовый | 1 ч | 1 запрос | 1 ч | 1 запрос | </div>
|
|
509
|
-
* Получить отчёт
|
|
510
|
-
* @deprecated
|
|
511
|
-
*/
|
|
512
|
-
getV1AnalyticsRegionSaleRaw(requestParameters: GetV1AnalyticsRegionSaleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetV1AnalyticsRegionSale200Response>>;
|
|
513
|
-
/**
|
|
514
|
-
* Метод будет отключен [3 ноября](https://dev.wildberries.ru/release-notes?id=590). <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/introduction/Limity-zaprosov\">Лимит запросов</a> на один профиль продавца: | Тип | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | --- | | Персональный | 10 сек | 1 запрос | 10 сек | 5 запросов | | Сервисный | 10 сек | 1 запрос | 10 сек | 5 запросов | | Базовый с секретом | 10 сек | 1 запрос | 10 сек | 5 запросов | | Базовый | 1 ч | 1 запрос | 1 ч | 1 запрос | </div>
|
|
515
|
-
* Получить отчёт
|
|
516
|
-
* @deprecated
|
|
517
|
-
*/
|
|
518
|
-
getV1AnalyticsRegionSale(requestParameters: GetV1AnalyticsRegionSaleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetV1AnalyticsRegionSale200Response>;
|
|
519
491
|
/**
|
|
520
492
|
* Creates request options for getV1Deductions without sending the request
|
|
521
493
|
*/
|
|
@@ -75,7 +75,6 @@ var GetV1AnalyticsBrandShare200Response_1 = require("../models/GetV1AnalyticsBra
|
|
|
75
75
|
var GetV1AnalyticsBrandShareBrands200Response_1 = require("../models/GetV1AnalyticsBrandShareBrands200Response");
|
|
76
76
|
var GetV1AnalyticsBrandShareParentSubjects200Response_1 = require("../models/GetV1AnalyticsBrandShareParentSubjects200Response");
|
|
77
77
|
var GetV1AnalyticsGoodsLabeling200Response_1 = require("../models/GetV1AnalyticsGoodsLabeling200Response");
|
|
78
|
-
var GetV1AnalyticsRegionSale200Response_1 = require("../models/GetV1AnalyticsRegionSale200Response");
|
|
79
78
|
var GetV1Deductions200Response_1 = require("../models/GetV1Deductions200Response");
|
|
80
79
|
var GetV1WarehouseRemainsTasksTaskIdDownload200ResponseInner_1 = require("../models/GetV1WarehouseRemainsTasksTaskIdDownload200ResponseInner");
|
|
81
80
|
var ItemReturns200Response_1 = require("../models/ItemReturns200Response");
|
|
@@ -806,89 +805,6 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
806
805
|
});
|
|
807
806
|
});
|
|
808
807
|
};
|
|
809
|
-
/**
|
|
810
|
-
* Creates request options for getV1AnalyticsRegionSale without sending the request
|
|
811
|
-
* @deprecated
|
|
812
|
-
*/
|
|
813
|
-
DefaultApi.prototype.getV1AnalyticsRegionSaleRequestOpts = function (requestParameters) {
|
|
814
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
815
|
-
var queryParameters, headerParameters, _a, _b, urlPath;
|
|
816
|
-
return __generator(this, function (_c) {
|
|
817
|
-
switch (_c.label) {
|
|
818
|
-
case 0:
|
|
819
|
-
if (requestParameters['dateFrom'] == null) {
|
|
820
|
-
throw new runtime.RequiredError('dateFrom', 'Required parameter "dateFrom" was null or undefined when calling getV1AnalyticsRegionSale().');
|
|
821
|
-
}
|
|
822
|
-
if (requestParameters['dateTo'] == null) {
|
|
823
|
-
throw new runtime.RequiredError('dateTo', 'Required parameter "dateTo" was null or undefined when calling getV1AnalyticsRegionSale().');
|
|
824
|
-
}
|
|
825
|
-
queryParameters = {};
|
|
826
|
-
if (requestParameters['dateFrom'] != null) {
|
|
827
|
-
queryParameters['dateFrom'] = requestParameters['dateFrom'];
|
|
828
|
-
}
|
|
829
|
-
if (requestParameters['dateTo'] != null) {
|
|
830
|
-
queryParameters['dateTo'] = requestParameters['dateTo'];
|
|
831
|
-
}
|
|
832
|
-
headerParameters = {};
|
|
833
|
-
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
834
|
-
_a = headerParameters;
|
|
835
|
-
_b = "Authorization";
|
|
836
|
-
return [4 /*yield*/, this.configuration.apiKey("Authorization")];
|
|
837
|
-
case 1:
|
|
838
|
-
_a[_b] = _c.sent(); // HeaderApiKey authentication
|
|
839
|
-
_c.label = 2;
|
|
840
|
-
case 2:
|
|
841
|
-
urlPath = "/api/v1/analytics/region-sale";
|
|
842
|
-
return [2 /*return*/, {
|
|
843
|
-
path: urlPath,
|
|
844
|
-
method: 'GET',
|
|
845
|
-
headers: headerParameters,
|
|
846
|
-
query: queryParameters,
|
|
847
|
-
}];
|
|
848
|
-
}
|
|
849
|
-
});
|
|
850
|
-
});
|
|
851
|
-
};
|
|
852
|
-
/**
|
|
853
|
-
* Метод будет отключен [3 ноября](https://dev.wildberries.ru/release-notes?id=590). <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/introduction/Limity-zaprosov\">Лимит запросов</a> на один профиль продавца: | Тип | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | --- | | Персональный | 10 сек | 1 запрос | 10 сек | 5 запросов | | Сервисный | 10 сек | 1 запрос | 10 сек | 5 запросов | | Базовый с секретом | 10 сек | 1 запрос | 10 сек | 5 запросов | | Базовый | 1 ч | 1 запрос | 1 ч | 1 запрос | </div>
|
|
854
|
-
* Получить отчёт
|
|
855
|
-
* @deprecated
|
|
856
|
-
*/
|
|
857
|
-
DefaultApi.prototype.getV1AnalyticsRegionSaleRaw = function (requestParameters, initOverrides) {
|
|
858
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
859
|
-
var requestOptions, response;
|
|
860
|
-
return __generator(this, function (_a) {
|
|
861
|
-
switch (_a.label) {
|
|
862
|
-
case 0: return [4 /*yield*/, this.getV1AnalyticsRegionSaleRequestOpts(requestParameters)];
|
|
863
|
-
case 1:
|
|
864
|
-
requestOptions = _a.sent();
|
|
865
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
866
|
-
case 2:
|
|
867
|
-
response = _a.sent();
|
|
868
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, GetV1AnalyticsRegionSale200Response_1.GetV1AnalyticsRegionSale200ResponseFromJSON)(jsonValue); })];
|
|
869
|
-
}
|
|
870
|
-
});
|
|
871
|
-
});
|
|
872
|
-
};
|
|
873
|
-
/**
|
|
874
|
-
* Метод будет отключен [3 ноября](https://dev.wildberries.ru/release-notes?id=590). <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/introduction/Limity-zaprosov\">Лимит запросов</a> на один профиль продавца: | Тип | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | --- | | Персональный | 10 сек | 1 запрос | 10 сек | 5 запросов | | Сервисный | 10 сек | 1 запрос | 10 сек | 5 запросов | | Базовый с секретом | 10 сек | 1 запрос | 10 сек | 5 запросов | | Базовый | 1 ч | 1 запрос | 1 ч | 1 запрос | </div>
|
|
875
|
-
* Получить отчёт
|
|
876
|
-
* @deprecated
|
|
877
|
-
*/
|
|
878
|
-
DefaultApi.prototype.getV1AnalyticsRegionSale = function (requestParameters, initOverrides) {
|
|
879
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
880
|
-
var response;
|
|
881
|
-
return __generator(this, function (_a) {
|
|
882
|
-
switch (_a.label) {
|
|
883
|
-
case 0: return [4 /*yield*/, this.getV1AnalyticsRegionSaleRaw(requestParameters, initOverrides)];
|
|
884
|
-
case 1:
|
|
885
|
-
response = _a.sent();
|
|
886
|
-
return [4 /*yield*/, response.value()];
|
|
887
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
888
|
-
}
|
|
889
|
-
});
|
|
890
|
-
});
|
|
891
|
-
};
|
|
892
808
|
/**
|
|
893
809
|
* Creates request options for getV1Deductions without sending the request
|
|
894
810
|
*/
|
|
@@ -17,8 +17,6 @@ export * from './GetV1AnalyticsBrandShareParentSubjects200Response';
|
|
|
17
17
|
export * from './GetV1AnalyticsBrandShareParentSubjects200ResponseDataInner';
|
|
18
18
|
export * from './GetV1AnalyticsGoodsLabeling200Response';
|
|
19
19
|
export * from './GetV1AnalyticsGoodsLabeling200ResponseReportInner';
|
|
20
|
-
export * from './GetV1AnalyticsRegionSale200Response';
|
|
21
|
-
export * from './GetV1AnalyticsRegionSale200ResponseReportInner';
|
|
22
20
|
export * from './GetV1Deductions200Response';
|
|
23
21
|
export * from './GetV1Deductions200ResponseData';
|
|
24
22
|
export * from './GetV1Deductions200ResponseDataReportsInner';
|
|
@@ -35,8 +35,6 @@ __exportStar(require("./GetV1AnalyticsBrandShareParentSubjects200Response"), exp
|
|
|
35
35
|
__exportStar(require("./GetV1AnalyticsBrandShareParentSubjects200ResponseDataInner"), exports);
|
|
36
36
|
__exportStar(require("./GetV1AnalyticsGoodsLabeling200Response"), exports);
|
|
37
37
|
__exportStar(require("./GetV1AnalyticsGoodsLabeling200ResponseReportInner"), exports);
|
|
38
|
-
__exportStar(require("./GetV1AnalyticsRegionSale200Response"), exports);
|
|
39
|
-
__exportStar(require("./GetV1AnalyticsRegionSale200ResponseReportInner"), exports);
|
|
40
38
|
__exportStar(require("./GetV1Deductions200Response"), exports);
|
|
41
39
|
__exportStar(require("./GetV1Deductions200ResponseData"), exports);
|
|
42
40
|
__exportStar(require("./GetV1Deductions200ResponseDataReportsInner"), exports);
|
package/package.json
CHANGED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Отчёты
|
|
3
|
-
* <div class=\"description_important\"> Узнать больше об отчётах можно в <a href=\"https://seller.wildberries.ru/instructions/subcategory/5f2162c5-069b-416d-a4e1-48da2a76e6b0\">справочном центре</a> </div> <div class=\"api-block\"> С помощью этих методов вы можете получать [основные отчёты](/openapi/reports#tag/mainReports) и отчёты о: 1. [Остатках на складах](/openapi/reports#tag/warehousesInventoryReport) 2. [Товарах с обязательной маркировкой](/openapi/reports#tag/reportOnItemsWithMandatoryLabeling) 3. [Удержаниях](/openapi/reports#tag/retentionReports) 4. [Операциях при приёмке](/openapi/reports#tag/acceptanceExpenses) 5. [Платном хранении](/openapi/reports#tag/paidStorage) 6. [Доле бренда в продажах](/openapi/reports#tag/shareOfBrandInSales) 7. [Заблокированных карточках](/openapi/reports#tag/blockedItems) 8. [Возвратах и перемещении товаров](/openapi/reports#tag/returnsAndItemMovementReport) </div>
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: reports
|
|
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
|
-
import type { GetV1AnalyticsRegionSale200ResponseReportInner } from './GetV1AnalyticsRegionSale200ResponseReportInner';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetV1AnalyticsRegionSale200Response
|
|
17
|
-
*/
|
|
18
|
-
export interface GetV1AnalyticsRegionSale200Response {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
22
|
-
report?: Array<GetV1AnalyticsRegionSale200ResponseReportInner>;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Check if a given object implements the GetV1AnalyticsRegionSale200Response interface.
|
|
26
|
-
*/
|
|
27
|
-
export declare function instanceOfGetV1AnalyticsRegionSale200Response(value: object): value is GetV1AnalyticsRegionSale200Response;
|
|
28
|
-
export declare function GetV1AnalyticsRegionSale200ResponseFromJSON(json: any): GetV1AnalyticsRegionSale200Response;
|
|
29
|
-
export declare function GetV1AnalyticsRegionSale200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetV1AnalyticsRegionSale200Response;
|
|
30
|
-
export declare function GetV1AnalyticsRegionSale200ResponseToJSON(json: any): GetV1AnalyticsRegionSale200Response;
|
|
31
|
-
export declare function GetV1AnalyticsRegionSale200ResponseToJSONTyped(value?: GetV1AnalyticsRegionSale200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Отчёты
|
|
6
|
-
* <div class=\"description_important\"> Узнать больше об отчётах можно в <a href=\"https://seller.wildberries.ru/instructions/subcategory/5f2162c5-069b-416d-a4e1-48da2a76e6b0\">справочном центре</a> </div> <div class=\"api-block\"> С помощью этих методов вы можете получать [основные отчёты](/openapi/reports#tag/mainReports) и отчёты о: 1. [Остатках на складах](/openapi/reports#tag/warehousesInventoryReport) 2. [Товарах с обязательной маркировкой](/openapi/reports#tag/reportOnItemsWithMandatoryLabeling) 3. [Удержаниях](/openapi/reports#tag/retentionReports) 4. [Операциях при приёмке](/openapi/reports#tag/acceptanceExpenses) 5. [Платном хранении](/openapi/reports#tag/paidStorage) 6. [Доле бренда в продажах](/openapi/reports#tag/shareOfBrandInSales) 7. [Заблокированных карточках](/openapi/reports#tag/blockedItems) 8. [Возвратах и перемещении товаров](/openapi/reports#tag/returnsAndItemMovementReport) </div>
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: reports
|
|
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.instanceOfGetV1AnalyticsRegionSale200Response = instanceOfGetV1AnalyticsRegionSale200Response;
|
|
17
|
-
exports.GetV1AnalyticsRegionSale200ResponseFromJSON = GetV1AnalyticsRegionSale200ResponseFromJSON;
|
|
18
|
-
exports.GetV1AnalyticsRegionSale200ResponseFromJSONTyped = GetV1AnalyticsRegionSale200ResponseFromJSONTyped;
|
|
19
|
-
exports.GetV1AnalyticsRegionSale200ResponseToJSON = GetV1AnalyticsRegionSale200ResponseToJSON;
|
|
20
|
-
exports.GetV1AnalyticsRegionSale200ResponseToJSONTyped = GetV1AnalyticsRegionSale200ResponseToJSONTyped;
|
|
21
|
-
var GetV1AnalyticsRegionSale200ResponseReportInner_1 = require("./GetV1AnalyticsRegionSale200ResponseReportInner");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the GetV1AnalyticsRegionSale200Response interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfGetV1AnalyticsRegionSale200Response(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function GetV1AnalyticsRegionSale200ResponseFromJSON(json) {
|
|
29
|
-
return GetV1AnalyticsRegionSale200ResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function GetV1AnalyticsRegionSale200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'report': json['report'] == null ? undefined : (json['report'].map(GetV1AnalyticsRegionSale200ResponseReportInner_1.GetV1AnalyticsRegionSale200ResponseReportInnerFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function GetV1AnalyticsRegionSale200ResponseToJSON(json) {
|
|
40
|
-
return GetV1AnalyticsRegionSale200ResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function GetV1AnalyticsRegionSale200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'report': value['report'] == null ? undefined : (value['report'].map(GetV1AnalyticsRegionSale200ResponseReportInner_1.GetV1AnalyticsRegionSale200ResponseReportInnerToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Отчёты
|
|
3
|
-
* <div class=\"description_important\"> Узнать больше об отчётах можно в <a href=\"https://seller.wildberries.ru/instructions/subcategory/5f2162c5-069b-416d-a4e1-48da2a76e6b0\">справочном центре</a> </div> <div class=\"api-block\"> С помощью этих методов вы можете получать [основные отчёты](/openapi/reports#tag/mainReports) и отчёты о: 1. [Остатках на складах](/openapi/reports#tag/warehousesInventoryReport) 2. [Товарах с обязательной маркировкой](/openapi/reports#tag/reportOnItemsWithMandatoryLabeling) 3. [Удержаниях](/openapi/reports#tag/retentionReports) 4. [Операциях при приёмке](/openapi/reports#tag/acceptanceExpenses) 5. [Платном хранении](/openapi/reports#tag/paidStorage) 6. [Доле бренда в продажах](/openapi/reports#tag/shareOfBrandInSales) 7. [Заблокированных карточках](/openapi/reports#tag/blockedItems) 8. [Возвратах и перемещении товаров](/openapi/reports#tag/returnsAndItemMovementReport) </div>
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: reports
|
|
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 GetV1AnalyticsRegionSale200ResponseReportInner
|
|
16
|
-
*/
|
|
17
|
-
export interface GetV1AnalyticsRegionSale200ResponseReportInner {
|
|
18
|
-
/**
|
|
19
|
-
* Населённый пункт
|
|
20
|
-
*/
|
|
21
|
-
cityName?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Страна
|
|
24
|
-
*/
|
|
25
|
-
countryName?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Федеральный округ
|
|
28
|
-
*/
|
|
29
|
-
foName?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Артикул WB
|
|
32
|
-
*/
|
|
33
|
-
nmID?: number;
|
|
34
|
-
/**
|
|
35
|
-
* Регион
|
|
36
|
-
*/
|
|
37
|
-
regionName?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Артикул продавца
|
|
40
|
-
*/
|
|
41
|
-
sa?: string;
|
|
42
|
-
/**
|
|
43
|
-
* К перечислению за товар, ₽
|
|
44
|
-
*/
|
|
45
|
-
saleInvoiceCostPrice?: number;
|
|
46
|
-
/**
|
|
47
|
-
* Доля, %
|
|
48
|
-
*/
|
|
49
|
-
saleInvoiceCostPricePerc?: number;
|
|
50
|
-
/**
|
|
51
|
-
* Выкупили, шт.
|
|
52
|
-
*/
|
|
53
|
-
saleItemInvoiceQty?: number;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Check if a given object implements the GetV1AnalyticsRegionSale200ResponseReportInner interface.
|
|
57
|
-
*/
|
|
58
|
-
export declare function instanceOfGetV1AnalyticsRegionSale200ResponseReportInner(value: object): value is GetV1AnalyticsRegionSale200ResponseReportInner;
|
|
59
|
-
export declare function GetV1AnalyticsRegionSale200ResponseReportInnerFromJSON(json: any): GetV1AnalyticsRegionSale200ResponseReportInner;
|
|
60
|
-
export declare function GetV1AnalyticsRegionSale200ResponseReportInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetV1AnalyticsRegionSale200ResponseReportInner;
|
|
61
|
-
export declare function GetV1AnalyticsRegionSale200ResponseReportInnerToJSON(json: any): GetV1AnalyticsRegionSale200ResponseReportInner;
|
|
62
|
-
export declare function GetV1AnalyticsRegionSale200ResponseReportInnerToJSONTyped(value?: GetV1AnalyticsRegionSale200ResponseReportInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Отчёты
|
|
6
|
-
* <div class=\"description_important\"> Узнать больше об отчётах можно в <a href=\"https://seller.wildberries.ru/instructions/subcategory/5f2162c5-069b-416d-a4e1-48da2a76e6b0\">справочном центре</a> </div> <div class=\"api-block\"> С помощью этих методов вы можете получать [основные отчёты](/openapi/reports#tag/mainReports) и отчёты о: 1. [Остатках на складах](/openapi/reports#tag/warehousesInventoryReport) 2. [Товарах с обязательной маркировкой](/openapi/reports#tag/reportOnItemsWithMandatoryLabeling) 3. [Удержаниях](/openapi/reports#tag/retentionReports) 4. [Операциях при приёмке](/openapi/reports#tag/acceptanceExpenses) 5. [Платном хранении](/openapi/reports#tag/paidStorage) 6. [Доле бренда в продажах](/openapi/reports#tag/shareOfBrandInSales) 7. [Заблокированных карточках](/openapi/reports#tag/blockedItems) 8. [Возвратах и перемещении товаров](/openapi/reports#tag/returnsAndItemMovementReport) </div>
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: reports
|
|
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.instanceOfGetV1AnalyticsRegionSale200ResponseReportInner = instanceOfGetV1AnalyticsRegionSale200ResponseReportInner;
|
|
17
|
-
exports.GetV1AnalyticsRegionSale200ResponseReportInnerFromJSON = GetV1AnalyticsRegionSale200ResponseReportInnerFromJSON;
|
|
18
|
-
exports.GetV1AnalyticsRegionSale200ResponseReportInnerFromJSONTyped = GetV1AnalyticsRegionSale200ResponseReportInnerFromJSONTyped;
|
|
19
|
-
exports.GetV1AnalyticsRegionSale200ResponseReportInnerToJSON = GetV1AnalyticsRegionSale200ResponseReportInnerToJSON;
|
|
20
|
-
exports.GetV1AnalyticsRegionSale200ResponseReportInnerToJSONTyped = GetV1AnalyticsRegionSale200ResponseReportInnerToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the GetV1AnalyticsRegionSale200ResponseReportInner interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfGetV1AnalyticsRegionSale200ResponseReportInner(value) {
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
function GetV1AnalyticsRegionSale200ResponseReportInnerFromJSON(json) {
|
|
28
|
-
return GetV1AnalyticsRegionSale200ResponseReportInnerFromJSONTyped(json, false);
|
|
29
|
-
}
|
|
30
|
-
function GetV1AnalyticsRegionSale200ResponseReportInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'cityName': json['cityName'] == null ? undefined : json['cityName'],
|
|
36
|
-
'countryName': json['countryName'] == null ? undefined : json['countryName'],
|
|
37
|
-
'foName': json['foName'] == null ? undefined : json['foName'],
|
|
38
|
-
'nmID': json['nmID'] == null ? undefined : json['nmID'],
|
|
39
|
-
'regionName': json['regionName'] == null ? undefined : json['regionName'],
|
|
40
|
-
'sa': json['sa'] == null ? undefined : json['sa'],
|
|
41
|
-
'saleInvoiceCostPrice': json['saleInvoiceCostPrice'] == null ? undefined : json['saleInvoiceCostPrice'],
|
|
42
|
-
'saleInvoiceCostPricePerc': json['saleInvoiceCostPricePerc'] == null ? undefined : json['saleInvoiceCostPricePerc'],
|
|
43
|
-
'saleItemInvoiceQty': json['saleItemInvoiceQty'] == null ? undefined : json['saleItemInvoiceQty'],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function GetV1AnalyticsRegionSale200ResponseReportInnerToJSON(json) {
|
|
47
|
-
return GetV1AnalyticsRegionSale200ResponseReportInnerToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
function GetV1AnalyticsRegionSale200ResponseReportInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'cityName': value['cityName'],
|
|
56
|
-
'countryName': value['countryName'],
|
|
57
|
-
'foName': value['foName'],
|
|
58
|
-
'nmID': value['nmID'],
|
|
59
|
-
'regionName': value['regionName'],
|
|
60
|
-
'sa': value['sa'],
|
|
61
|
-
'saleInvoiceCostPrice': value['saleInvoiceCostPrice'],
|
|
62
|
-
'saleInvoiceCostPricePerc': value['saleInvoiceCostPricePerc'],
|
|
63
|
-
'saleItemInvoiceQty': value['saleItemInvoiceQty'],
|
|
64
|
-
};
|
|
65
|
-
}
|