wildberries-sdk 0.1.99 → 0.1.100
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/dist/communications/models/GoodCard.d.ts +3 -1
- package/dist/communications/models/ResponseFeedbackQuestionErr.d.ts +56 -0
- package/dist/communications/models/ResponseFeedbackQuestionErr.js +57 -0
- package/dist/communications/models/index.d.ts +1 -1
- package/dist/communications/models/index.js +1 -1
- package/dist/promotion/models/AdvV2SeacatSaveAdPostRequest.d.ts +1 -1
- package/dist/promotion/models/AdvV2SeacatSaveAdPostRequest.js +3 -1
- package/package.json +1 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Общение с покупателями
|
|
3
|
+
* <div class=\"description_important\"> Узнать больше об общении с покупателями можно в <a href=\"https://seller.wildberries.ru/instructions/category/f7f6c465-dd12-422d-80a0-a6d9562115d5?goBackOption=prevRoute&categoryId=30817062-14cc-4a82-bc78-3600c2b0685b\">справочном центре</a> </div> <div class=\"api-block\"> С помощью методов общения с покупателями вы можете работать с: 1. [Вопросами](/openapi/user-communication#tag/Voprosy) и [отзывами](/openapi/user-communication#tag/Otzyvy) покупателей 2. [Закреплёнными отзывами](/openapi/user-communication#tag/Zakreplyonnye-otzyvy) 3. [Чатами с покупателями](/openapi/user-communication#tag/Chat-s-pokupatelyami) 4. [Заявками покупателей на возврат](/openapi/user-communication#tag/Vozvraty-pokupatelyami) </div> <div class=\"description_ref\"> Узнать, как использовать методы в бизнес-кейсах, можно в <a href=\"https://dev.wildberries.ru/knowledge-base/articles/019d49a4-0b26-7620-8d0b-e3050b7cd01d/obshchenie-s-pokupateliami\">инструкции</a> по работе с разделом <strong>Общение с покупателями</strong> </div>
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: communication
|
|
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 ResponseFeedbackQuestionErr
|
|
16
|
+
*/
|
|
17
|
+
export interface ResponseFeedbackQuestionErr {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof ResponseFeedbackQuestionErr
|
|
22
|
+
*/
|
|
23
|
+
data?: object | null;
|
|
24
|
+
/**
|
|
25
|
+
* Есть ли ошибка
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof ResponseFeedbackQuestionErr
|
|
28
|
+
*/
|
|
29
|
+
error?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Описание ошибки
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ResponseFeedbackQuestionErr
|
|
34
|
+
*/
|
|
35
|
+
errorText?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Дополнительные ошибки
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof ResponseFeedbackQuestionErr
|
|
40
|
+
*/
|
|
41
|
+
additionalErrors?: Array<string> | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ResponseFeedbackQuestionErr
|
|
46
|
+
*/
|
|
47
|
+
requestId?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the ResponseFeedbackQuestionErr interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfResponseFeedbackQuestionErr(value: object): value is ResponseFeedbackQuestionErr;
|
|
53
|
+
export declare function ResponseFeedbackQuestionErrFromJSON(json: any): ResponseFeedbackQuestionErr;
|
|
54
|
+
export declare function ResponseFeedbackQuestionErrFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResponseFeedbackQuestionErr;
|
|
55
|
+
export declare function ResponseFeedbackQuestionErrToJSON(json: any): ResponseFeedbackQuestionErr;
|
|
56
|
+
export declare function ResponseFeedbackQuestionErrToJSONTyped(value?: ResponseFeedbackQuestionErr | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Общение с покупателями
|
|
6
|
+
* <div class=\"description_important\"> Узнать больше об общении с покупателями можно в <a href=\"https://seller.wildberries.ru/instructions/category/f7f6c465-dd12-422d-80a0-a6d9562115d5?goBackOption=prevRoute&categoryId=30817062-14cc-4a82-bc78-3600c2b0685b\">справочном центре</a> </div> <div class=\"api-block\"> С помощью методов общения с покупателями вы можете работать с: 1. [Вопросами](/openapi/user-communication#tag/Voprosy) и [отзывами](/openapi/user-communication#tag/Otzyvy) покупателей 2. [Закреплёнными отзывами](/openapi/user-communication#tag/Zakreplyonnye-otzyvy) 3. [Чатами с покупателями](/openapi/user-communication#tag/Chat-s-pokupatelyami) 4. [Заявками покупателей на возврат](/openapi/user-communication#tag/Vozvraty-pokupatelyami) </div> <div class=\"description_ref\"> Узнать, как использовать методы в бизнес-кейсах, можно в <a href=\"https://dev.wildberries.ru/knowledge-base/articles/019d49a4-0b26-7620-8d0b-e3050b7cd01d/obshchenie-s-pokupateliami\">инструкции</a> по работе с разделом <strong>Общение с покупателями</strong> </div>
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: communication
|
|
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.instanceOfResponseFeedbackQuestionErr = instanceOfResponseFeedbackQuestionErr;
|
|
17
|
+
exports.ResponseFeedbackQuestionErrFromJSON = ResponseFeedbackQuestionErrFromJSON;
|
|
18
|
+
exports.ResponseFeedbackQuestionErrFromJSONTyped = ResponseFeedbackQuestionErrFromJSONTyped;
|
|
19
|
+
exports.ResponseFeedbackQuestionErrToJSON = ResponseFeedbackQuestionErrToJSON;
|
|
20
|
+
exports.ResponseFeedbackQuestionErrToJSONTyped = ResponseFeedbackQuestionErrToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ResponseFeedbackQuestionErr interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfResponseFeedbackQuestionErr(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ResponseFeedbackQuestionErrFromJSON(json) {
|
|
28
|
+
return ResponseFeedbackQuestionErrFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ResponseFeedbackQuestionErrFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'data': json['data'] == null ? undefined : json['data'],
|
|
36
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
37
|
+
'errorText': json['errorText'] == null ? undefined : json['errorText'],
|
|
38
|
+
'additionalErrors': json['additionalErrors'] == null ? undefined : json['additionalErrors'],
|
|
39
|
+
'requestId': json['requestId'] == null ? undefined : json['requestId'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function ResponseFeedbackQuestionErrToJSON(json) {
|
|
43
|
+
return ResponseFeedbackQuestionErrToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ResponseFeedbackQuestionErrToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'data': value['data'],
|
|
52
|
+
'error': value['error'],
|
|
53
|
+
'errorText': value['errorText'],
|
|
54
|
+
'additionalErrors': value['additionalErrors'],
|
|
55
|
+
'requestId': value['requestId'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -79,6 +79,6 @@ export * from './ResponseFeedbackInner';
|
|
|
79
79
|
export * from './ResponseFeedbackInnerAnswer';
|
|
80
80
|
export * from './ResponseFeedbackInnerProductDetails';
|
|
81
81
|
export * from './ResponseFeedbackInnerVideo';
|
|
82
|
-
export * from './
|
|
82
|
+
export * from './ResponseFeedbackQuestionErr';
|
|
83
83
|
export * from './Sender';
|
|
84
84
|
export * from './StandardizedFQError';
|
|
@@ -97,6 +97,6 @@ __exportStar(require("./ResponseFeedbackInner"), exports);
|
|
|
97
97
|
__exportStar(require("./ResponseFeedbackInnerAnswer"), exports);
|
|
98
98
|
__exportStar(require("./ResponseFeedbackInnerProductDetails"), exports);
|
|
99
99
|
__exportStar(require("./ResponseFeedbackInnerVideo"), exports);
|
|
100
|
-
__exportStar(require("./
|
|
100
|
+
__exportStar(require("./ResponseFeedbackQuestionErr"), exports);
|
|
101
101
|
__exportStar(require("./Sender"), exports);
|
|
102
102
|
__exportStar(require("./StandardizedFQError"), exports);
|
|
@@ -20,7 +20,7 @@ export interface AdvV2SeacatSaveAdPostRequest {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof AdvV2SeacatSaveAdPostRequest
|
|
22
22
|
*/
|
|
23
|
-
name
|
|
23
|
+
name: string;
|
|
24
24
|
/**
|
|
25
25
|
* Карточки товаров для кампании. Доступные карточки товаров можно получить с помощью метода [Карточки товаров для кампаний](./promotion#tag/Sozdanie-kampanij/paths/~1adv~1v2~1supplier~1nms/post). Максимум 50 товаров (`nm`)
|
|
26
26
|
*
|
|
@@ -44,6 +44,8 @@ exports.AdvV2SeacatSaveAdPostRequestPlacementTypesEnum = {
|
|
|
44
44
|
* Check if a given object implements the AdvV2SeacatSaveAdPostRequest interface.
|
|
45
45
|
*/
|
|
46
46
|
function instanceOfAdvV2SeacatSaveAdPostRequest(value) {
|
|
47
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
48
|
+
return false;
|
|
47
49
|
return true;
|
|
48
50
|
}
|
|
49
51
|
function AdvV2SeacatSaveAdPostRequestFromJSON(json) {
|
|
@@ -54,7 +56,7 @@ function AdvV2SeacatSaveAdPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
56
|
return json;
|
|
55
57
|
}
|
|
56
58
|
return {
|
|
57
|
-
'name': json['name']
|
|
59
|
+
'name': json['name'],
|
|
58
60
|
'nms': json['nms'] == null ? undefined : json['nms'],
|
|
59
61
|
'bidType': json['bid_type'] == null ? undefined : json['bid_type'],
|
|
60
62
|
'paymentType': json['payment_type'] == null ? undefined : json['payment_type'],
|