wildberries-sdk 0.1.176 → 0.1.178

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.
Files changed (100) hide show
  1. package/README.md +5 -2
  2. package/dist/analytics/models/Response4XX.d.ts +7 -7
  3. package/dist/analytics/models/Response4XX.js +21 -7
  4. package/dist/communications/models/Response4XX.d.ts +7 -7
  5. package/dist/communications/models/Response4XX.js +21 -7
  6. package/dist/dbs/models/Response4XX.d.ts +7 -7
  7. package/dist/dbs/models/Response4XX.js +21 -7
  8. package/dist/finances/models/Response4XX.d.ts +7 -7
  9. package/dist/finances/models/Response4XX.js +21 -7
  10. package/dist/general/apis/APIApi.d.ts +39 -5
  11. package/dist/general/apis/APIApi.js +84 -5
  12. package/dist/general/apis/DefaultApi.d.ts +1 -1
  13. package/dist/general/apis/DefaultApi.js +1 -1
  14. package/dist/general/apis/WBAPIApi.d.ts +1 -1
  15. package/dist/general/apis/WBAPIApi.js +1 -1
  16. package/dist/general/models/AccessInner.d.ts +1 -1
  17. package/dist/general/models/AccessInner.js +1 -1
  18. package/dist/general/models/CreateInviteRequest.d.ts +1 -1
  19. package/dist/general/models/CreateInviteRequest.js +1 -1
  20. package/dist/general/models/CreateInviteRequestInvite.d.ts +1 -1
  21. package/dist/general/models/CreateInviteRequestInvite.js +1 -1
  22. package/dist/general/models/CreateInviteResponse.d.ts +1 -1
  23. package/dist/general/models/CreateInviteResponse.js +1 -1
  24. package/dist/general/models/ErrorResponse.d.ts +1 -1
  25. package/dist/general/models/ErrorResponse.js +1 -1
  26. package/dist/general/models/GetPing200Response.d.ts +1 -1
  27. package/dist/general/models/GetPing200Response.js +1 -1
  28. package/dist/general/models/GetPing401Response.d.ts +1 -1
  29. package/dist/general/models/GetPing401Response.js +1 -1
  30. package/dist/general/models/GetPing403Response.d.ts +1 -1
  31. package/dist/general/models/GetPing403Response.js +1 -1
  32. package/dist/general/models/GetUsersResponse.d.ts +1 -1
  33. package/dist/general/models/GetUsersResponse.js +1 -1
  34. package/dist/general/models/GetUsersResponseUsersInner.d.ts +1 -1
  35. package/dist/general/models/GetUsersResponseUsersInner.js +1 -1
  36. package/dist/general/models/GetUsersResponseUsersInnerInviteeInfo.d.ts +1 -1
  37. package/dist/general/models/GetUsersResponseUsersInnerInviteeInfo.js +1 -1
  38. package/dist/general/models/GetV1Notifications200Response.d.ts +31 -0
  39. package/dist/general/models/GetV1Notifications200Response.js +52 -0
  40. package/dist/general/models/GetV1Notifications403Response.d.ts +23 -0
  41. package/dist/general/models/GetV1Notifications403Response.js +58 -0
  42. package/dist/general/models/GetV1SellerInfo200Response.d.ts +1 -1
  43. package/dist/general/models/GetV1SellerInfo200Response.js +1 -1
  44. package/dist/general/models/GetV1SellerInfo402Response.d.ts +1 -1
  45. package/dist/general/models/GetV1SellerInfo402Response.js +1 -1
  46. package/dist/general/models/GetV2News200Response.d.ts +1 -1
  47. package/dist/general/models/GetV2News200Response.js +1 -1
  48. package/dist/general/models/GetV2News200ResponseDataInner.d.ts +1 -1
  49. package/dist/general/models/GetV2News200ResponseDataInner.js +1 -1
  50. package/dist/general/models/GetV2News200ResponseDataInnerTypesInner.d.ts +1 -1
  51. package/dist/general/models/GetV2News200ResponseDataInnerTypesInner.js +1 -1
  52. package/dist/general/models/PlanBuilderErrors.d.ts +1 -1
  53. package/dist/general/models/PlanBuilderErrors.js +1 -1
  54. package/dist/general/models/PlanBuilderOption.d.ts +1 -1
  55. package/dist/general/models/PlanBuilderOption.js +1 -1
  56. package/dist/general/models/PlanBuilderOptionShort.d.ts +1 -1
  57. package/dist/general/models/PlanBuilderOptionShort.js +1 -1
  58. package/dist/general/models/PlanBuilderOptionsInfo.d.ts +1 -1
  59. package/dist/general/models/PlanBuilderOptionsInfo.js +1 -1
  60. package/dist/general/models/PlanBuilderPackage.d.ts +1 -1
  61. package/dist/general/models/PlanBuilderPackage.js +1 -1
  62. package/dist/general/models/PlanBuilderPromotion.d.ts +1 -1
  63. package/dist/general/models/PlanBuilderPromotion.js +1 -1
  64. package/dist/general/models/Response4XX.d.ts +8 -8
  65. package/dist/general/models/Response4XX.js +22 -8
  66. package/dist/general/models/SellerNotificationsError.d.ts +55 -0
  67. package/dist/general/models/SellerNotificationsError.js +74 -0
  68. package/dist/general/models/SellerNotificationsErrorErrorsInner.d.ts +34 -0
  69. package/dist/general/models/SellerNotificationsErrorErrorsInner.js +55 -0
  70. package/dist/general/models/SellerNotificationsResponse.d.ts +47 -0
  71. package/dist/general/models/SellerNotificationsResponse.js +67 -0
  72. package/dist/general/models/SellerNotificationsResponseLinkData.d.ts +34 -0
  73. package/dist/general/models/SellerNotificationsResponseLinkData.js +55 -0
  74. package/dist/general/models/SubscriptionsJamInfo.d.ts +1 -1
  75. package/dist/general/models/SubscriptionsJamInfo.js +1 -1
  76. package/dist/general/models/SupplierRatingModel.d.ts +1 -1
  77. package/dist/general/models/SupplierRatingModel.js +1 -1
  78. package/dist/general/models/UpdateUserAccessRequest.d.ts +1 -1
  79. package/dist/general/models/UpdateUserAccessRequest.js +1 -1
  80. package/dist/general/models/UserAccess.d.ts +1 -1
  81. package/dist/general/models/UserAccess.js +1 -1
  82. package/dist/general/models/index.d.ts +6 -0
  83. package/dist/general/models/index.js +6 -0
  84. package/dist/general/runtime.d.ts +1 -1
  85. package/dist/general/runtime.js +1 -1
  86. package/dist/in_store_pickup/models/Response4XX.d.ts +7 -7
  87. package/dist/in_store_pickup/models/Response4XX.js +21 -7
  88. package/dist/items/models/Response4XX.d.ts +7 -7
  89. package/dist/items/models/Response4XX.js +21 -7
  90. package/dist/orders_dbw/models/Response4XX.d.ts +7 -7
  91. package/dist/orders_dbw/models/Response4XX.js +21 -7
  92. package/dist/orders_fbs/models/Response4XX.d.ts +7 -7
  93. package/dist/orders_fbs/models/Response4XX.js +21 -7
  94. package/dist/orders_fbw/models/Response4XX.d.ts +7 -7
  95. package/dist/orders_fbw/models/Response4XX.js +21 -7
  96. package/dist/promotion/models/Response4XX.d.ts +7 -7
  97. package/dist/promotion/models/Response4XX.js +21 -7
  98. package/dist/reports/models/Response4XX.d.ts +7 -7
  99. package/dist/reports/models/Response4XX.js +21 -7
  100. package/package.json +1 -1
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Общее
6
+ * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости](/openapi/api-information#tag/newsApi/operation/getV2News) и [уведомления](/openapi/api-information#tag/newsApi/operation/getV1Notifications) портала продавцов - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
7
+ *
8
+ * The version of the OpenAPI document: general
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.instanceOfSellerNotificationsErrorErrorsInner = instanceOfSellerNotificationsErrorErrorsInner;
17
+ exports.SellerNotificationsErrorErrorsInnerFromJSON = SellerNotificationsErrorErrorsInnerFromJSON;
18
+ exports.SellerNotificationsErrorErrorsInnerFromJSONTyped = SellerNotificationsErrorErrorsInnerFromJSONTyped;
19
+ exports.SellerNotificationsErrorErrorsInnerToJSON = SellerNotificationsErrorErrorsInnerToJSON;
20
+ exports.SellerNotificationsErrorErrorsInnerToJSONTyped = SellerNotificationsErrorErrorsInnerToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SellerNotificationsErrorErrorsInner interface.
23
+ */
24
+ function instanceOfSellerNotificationsErrorErrorsInner(value) {
25
+ if (!('location' in value) || value['location'] === undefined)
26
+ return false;
27
+ if (!('message' in value) || value['message'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function SellerNotificationsErrorErrorsInnerFromJSON(json) {
32
+ return SellerNotificationsErrorErrorsInnerFromJSONTyped(json, false);
33
+ }
34
+ function SellerNotificationsErrorErrorsInnerFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'location': json['location'],
40
+ 'message': json['message'],
41
+ };
42
+ }
43
+ function SellerNotificationsErrorErrorsInnerToJSON(json) {
44
+ return SellerNotificationsErrorErrorsInnerToJSONTyped(json, false);
45
+ }
46
+ function SellerNotificationsErrorErrorsInnerToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'location': value['location'],
53
+ 'message': value['message'],
54
+ };
55
+ }
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Общее
3
+ * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости](/openapi/api-information#tag/newsApi/operation/getV2News) и [уведомления](/openapi/api-information#tag/newsApi/operation/getV1Notifications) портала продавцов - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
4
+ *
5
+ * The version of the OpenAPI document: general
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 { SellerNotificationsResponseLinkData } from './SellerNotificationsResponseLinkData';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SellerNotificationsResponse
17
+ */
18
+ export interface SellerNotificationsResponse {
19
+ /**
20
+ * Дата и время отправки уведомления
21
+ */
22
+ date: Date;
23
+ /**
24
+ * ID уведомления
25
+ */
26
+ id: string;
27
+ /**
28
+ *
29
+ */
30
+ linkData?: SellerNotificationsResponseLinkData;
31
+ /**
32
+ * Текст уведомления
33
+ */
34
+ text: string;
35
+ /**
36
+ * Заголовок уведомления
37
+ */
38
+ title: string;
39
+ }
40
+ /**
41
+ * Check if a given object implements the SellerNotificationsResponse interface.
42
+ */
43
+ export declare function instanceOfSellerNotificationsResponse(value: object): value is SellerNotificationsResponse;
44
+ export declare function SellerNotificationsResponseFromJSON(json: any): SellerNotificationsResponse;
45
+ export declare function SellerNotificationsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerNotificationsResponse;
46
+ export declare function SellerNotificationsResponseToJSON(json: any): SellerNotificationsResponse;
47
+ export declare function SellerNotificationsResponseToJSONTyped(value?: SellerNotificationsResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Общее
6
+ * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости](/openapi/api-information#tag/newsApi/operation/getV2News) и [уведомления](/openapi/api-information#tag/newsApi/operation/getV1Notifications) портала продавцов - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
7
+ *
8
+ * The version of the OpenAPI document: general
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.instanceOfSellerNotificationsResponse = instanceOfSellerNotificationsResponse;
17
+ exports.SellerNotificationsResponseFromJSON = SellerNotificationsResponseFromJSON;
18
+ exports.SellerNotificationsResponseFromJSONTyped = SellerNotificationsResponseFromJSONTyped;
19
+ exports.SellerNotificationsResponseToJSON = SellerNotificationsResponseToJSON;
20
+ exports.SellerNotificationsResponseToJSONTyped = SellerNotificationsResponseToJSONTyped;
21
+ var runtime_1 = require("../runtime");
22
+ var SellerNotificationsResponseLinkData_1 = require("./SellerNotificationsResponseLinkData");
23
+ /**
24
+ * Check if a given object implements the SellerNotificationsResponse interface.
25
+ */
26
+ function instanceOfSellerNotificationsResponse(value) {
27
+ if (!('date' in value) || value['date'] === undefined)
28
+ return false;
29
+ if (!('id' in value) || value['id'] === undefined)
30
+ return false;
31
+ if (!('text' in value) || value['text'] === undefined)
32
+ return false;
33
+ if (!('title' in value) || value['title'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function SellerNotificationsResponseFromJSON(json) {
38
+ return SellerNotificationsResponseFromJSONTyped(json, false);
39
+ }
40
+ function SellerNotificationsResponseFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'date': (json['date'] == null ? json['date'] : (0, runtime_1.parseDateTime)(json['date'])),
46
+ 'id': json['id'],
47
+ 'linkData': json['linkData'] == null ? undefined : (0, SellerNotificationsResponseLinkData_1.SellerNotificationsResponseLinkDataFromJSON)(json['linkData']),
48
+ 'text': json['text'],
49
+ 'title': json['title'],
50
+ };
51
+ }
52
+ function SellerNotificationsResponseToJSON(json) {
53
+ return SellerNotificationsResponseToJSONTyped(json, false);
54
+ }
55
+ function SellerNotificationsResponseToJSONTyped(value, ignoreDiscriminator) {
56
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'date': value['date'] == null ? value['date'] : (0, runtime_1.serializeDateTime)(value['date']),
62
+ 'id': value['id'],
63
+ 'linkData': (0, SellerNotificationsResponseLinkData_1.SellerNotificationsResponseLinkDataToJSON)(value['linkData']),
64
+ 'text': value['text'],
65
+ 'title': value['title'],
66
+ };
67
+ }
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Общее
3
+ * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости](/openapi/api-information#tag/newsApi/operation/getV2News) и [уведомления](/openapi/api-information#tag/newsApi/operation/getV1Notifications) портала продавцов - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
4
+ *
5
+ * The version of the OpenAPI document: general
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 SellerNotificationsResponseLinkData
16
+ */
17
+ export interface SellerNotificationsResponseLinkData {
18
+ /**
19
+ * URL кнопки в уведомлении
20
+ */
21
+ linkHref: string;
22
+ /**
23
+ * Текст кнопки в уведомлении
24
+ */
25
+ linkText: string;
26
+ }
27
+ /**
28
+ * Check if a given object implements the SellerNotificationsResponseLinkData interface.
29
+ */
30
+ export declare function instanceOfSellerNotificationsResponseLinkData(value: object): value is SellerNotificationsResponseLinkData;
31
+ export declare function SellerNotificationsResponseLinkDataFromJSON(json: any): SellerNotificationsResponseLinkData;
32
+ export declare function SellerNotificationsResponseLinkDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SellerNotificationsResponseLinkData;
33
+ export declare function SellerNotificationsResponseLinkDataToJSON(json: any): SellerNotificationsResponseLinkData;
34
+ export declare function SellerNotificationsResponseLinkDataToJSONTyped(value?: SellerNotificationsResponseLinkData | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Общее
6
+ * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости](/openapi/api-information#tag/newsApi/operation/getV2News) и [уведомления](/openapi/api-information#tag/newsApi/operation/getV1Notifications) портала продавцов - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
7
+ *
8
+ * The version of the OpenAPI document: general
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.instanceOfSellerNotificationsResponseLinkData = instanceOfSellerNotificationsResponseLinkData;
17
+ exports.SellerNotificationsResponseLinkDataFromJSON = SellerNotificationsResponseLinkDataFromJSON;
18
+ exports.SellerNotificationsResponseLinkDataFromJSONTyped = SellerNotificationsResponseLinkDataFromJSONTyped;
19
+ exports.SellerNotificationsResponseLinkDataToJSON = SellerNotificationsResponseLinkDataToJSON;
20
+ exports.SellerNotificationsResponseLinkDataToJSONTyped = SellerNotificationsResponseLinkDataToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SellerNotificationsResponseLinkData interface.
23
+ */
24
+ function instanceOfSellerNotificationsResponseLinkData(value) {
25
+ if (!('linkHref' in value) || value['linkHref'] === undefined)
26
+ return false;
27
+ if (!('linkText' in value) || value['linkText'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function SellerNotificationsResponseLinkDataFromJSON(json) {
32
+ return SellerNotificationsResponseLinkDataFromJSONTyped(json, false);
33
+ }
34
+ function SellerNotificationsResponseLinkDataFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'linkHref': json['linkHref'],
40
+ 'linkText': json['linkText'],
41
+ };
42
+ }
43
+ function SellerNotificationsResponseLinkDataToJSON(json) {
44
+ return SellerNotificationsResponseLinkDataToJSONTyped(json, false);
45
+ }
46
+ function SellerNotificationsResponseLinkDataToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'linkHref': value['linkHref'],
53
+ 'linkText': value['linkText'],
54
+ };
55
+ }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Общее
3
- * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости портала продавцов](/openapi/api-information#tag/newsApi/operation/getV2News) - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
3
+ * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости](/openapi/api-information#tag/newsApi/operation/getV2News) и [уведомления](/openapi/api-information#tag/newsApi/operation/getV1Notifications) портала продавцов - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
4
4
  *
5
5
  * The version of the OpenAPI document: general
6
6
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Общее
6
- * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости портала продавцов](/openapi/api-information#tag/newsApi/operation/getV2News) - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
6
+ * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости](/openapi/api-information#tag/newsApi/operation/getV2News) и [уведомления](/openapi/api-information#tag/newsApi/operation/getV1Notifications) портала продавцов - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
7
7
  *
8
8
  * The version of the OpenAPI document: general
9
9
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Общее
3
- * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости портала продавцов](/openapi/api-information#tag/newsApi/operation/getV2News) - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
3
+ * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости](/openapi/api-information#tag/newsApi/operation/getV2News) и [уведомления](/openapi/api-information#tag/newsApi/operation/getV1Notifications) портала продавцов - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
4
4
  *
5
5
  * The version of the OpenAPI document: general
6
6
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Общее
6
- * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости портала продавцов](/openapi/api-information#tag/newsApi/operation/getV2News) - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
6
+ * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости](/openapi/api-information#tag/newsApi/operation/getV2News) и [уведомления](/openapi/api-information#tag/newsApi/operation/getV1Notifications) портала продавцов - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
7
7
  *
8
8
  * The version of the OpenAPI document: general
9
9
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Общее
3
- * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости портала продавцов](/openapi/api-information#tag/newsApi/operation/getV2News) - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
3
+ * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости](/openapi/api-information#tag/newsApi/operation/getV2News) и [уведомления](/openapi/api-information#tag/newsApi/operation/getV1Notifications) портала продавцов - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
4
4
  *
5
5
  * The version of the OpenAPI document: general
6
6
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Общее
6
- * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости портала продавцов](/openapi/api-information#tag/newsApi/operation/getV2News) - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
6
+ * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости](/openapi/api-information#tag/newsApi/operation/getV2News) и [уведомления](/openapi/api-information#tag/newsApi/operation/getV1Notifications) портала продавцов - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
7
7
  *
8
8
  * The version of the OpenAPI document: general
9
9
  *
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Общее
3
- * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости портала продавцов](/openapi/api-information#tag/newsApi/operation/getV2News) - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
3
+ * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости](/openapi/api-information#tag/newsApi/operation/getV2News) и [уведомления](/openapi/api-information#tag/newsApi/operation/getV1Notifications) портала продавцов - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
4
4
  *
5
5
  * The version of the OpenAPI document: general
6
6
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Общее
6
- * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости портала продавцов](/openapi/api-information#tag/newsApi/operation/getV2News) - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
6
+ * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости](/openapi/api-information#tag/newsApi/operation/getV2News) и [уведомления](/openapi/api-information#tag/newsApi/operation/getV1Notifications) портала продавцов - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
7
7
  *
8
8
  * The version of the OpenAPI document: general
9
9
  *
@@ -9,6 +9,8 @@ export * from './GetPing403Response';
9
9
  export * from './GetUsersResponse';
10
10
  export * from './GetUsersResponseUsersInner';
11
11
  export * from './GetUsersResponseUsersInnerInviteeInfo';
12
+ export * from './GetV1Notifications200Response';
13
+ export * from './GetV1Notifications403Response';
12
14
  export * from './GetV1SellerInfo200Response';
13
15
  export * from './GetV1SellerInfo402Response';
14
16
  export * from './GetV2News200Response';
@@ -21,6 +23,10 @@ export * from './PlanBuilderOptionsInfo';
21
23
  export * from './PlanBuilderPackage';
22
24
  export * from './PlanBuilderPromotion';
23
25
  export * from './Response4XX';
26
+ export * from './SellerNotificationsError';
27
+ export * from './SellerNotificationsErrorErrorsInner';
28
+ export * from './SellerNotificationsResponse';
29
+ export * from './SellerNotificationsResponseLinkData';
24
30
  export * from './SubscriptionsJamInfo';
25
31
  export * from './SupplierRatingModel';
26
32
  export * from './UpdateUserAccessRequest';
@@ -27,6 +27,8 @@ __exportStar(require("./GetPing403Response"), exports);
27
27
  __exportStar(require("./GetUsersResponse"), exports);
28
28
  __exportStar(require("./GetUsersResponseUsersInner"), exports);
29
29
  __exportStar(require("./GetUsersResponseUsersInnerInviteeInfo"), exports);
30
+ __exportStar(require("./GetV1Notifications200Response"), exports);
31
+ __exportStar(require("./GetV1Notifications403Response"), exports);
30
32
  __exportStar(require("./GetV1SellerInfo200Response"), exports);
31
33
  __exportStar(require("./GetV1SellerInfo402Response"), exports);
32
34
  __exportStar(require("./GetV2News200Response"), exports);
@@ -39,6 +41,10 @@ __exportStar(require("./PlanBuilderOptionsInfo"), exports);
39
41
  __exportStar(require("./PlanBuilderPackage"), exports);
40
42
  __exportStar(require("./PlanBuilderPromotion"), exports);
41
43
  __exportStar(require("./Response4XX"), exports);
44
+ __exportStar(require("./SellerNotificationsError"), exports);
45
+ __exportStar(require("./SellerNotificationsErrorErrorsInner"), exports);
46
+ __exportStar(require("./SellerNotificationsResponse"), exports);
47
+ __exportStar(require("./SellerNotificationsResponseLinkData"), exports);
42
48
  __exportStar(require("./SubscriptionsJamInfo"), exports);
43
49
  __exportStar(require("./SupplierRatingModel"), exports);
44
50
  __exportStar(require("./UpdateUserAccessRequest"), exports);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Общее
3
- * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости портала продавцов](/openapi/api-information#tag/newsApi/operation/getV2News) - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
3
+ * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости](/openapi/api-information#tag/newsApi/operation/getV2News) и [уведомления](/openapi/api-information#tag/newsApi/operation/getV1Notifications) портала продавцов - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
4
4
  *
5
5
  * The version of the OpenAPI document: general
6
6
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Общее
6
- * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости портала продавцов](/openapi/api-information#tag/newsApi/operation/getV2News) - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
6
+ * <div class=\"api-block\"> В этом разделе: - [общая информация о WB API](/openapi/api-information#tag/introduction) - как [начать работу с WB API](/openapi/api-information#tag/introduction/Kak-nachat-rabotu-s-API) - как [авторизоваться](/openapi/api-information#tag/authorization) и [создавать токены](/openapi/api-information#tag/authorization/Kak-sozdat-personalnyj-bazovyj-ili-testovyj-token) - основные [статус-коды ответов](/openapi/api-information#tag/introduction/Status-kody-HTTP) - [лимиты запросов](/openapi/api-information#tag/introduction/Limity-zaprosov) - как обратиться в [поддержку](/openapi/api-information#tag/introduction/Podderzhka) С помощью методов этого раздела вы можете: - проверить [подключение к WB API](/openapi/api-information#tag/connectionCheck/operation/getPing) - получить [новости](/openapi/api-information#tag/newsApi/operation/getV2News) и [уведомления](/openapi/api-information#tag/newsApi/operation/getV1Notifications) портала продавцов - получить [информацию о продавце](/openapi/api-information#tag/sellerInformation/operation/getV1SellerInfo) - [управлять пользователями продавца](/openapi/api-information#tag/sellerUserManagement) </div>
7
7
  *
8
8
  * The version of the OpenAPI document: general
9
9
  *
@@ -18,11 +18,11 @@ export interface Response4XX {
18
18
  /**
19
19
  * Заголовок ошибки
20
20
  */
21
- title?: string;
21
+ title: string;
22
22
  /**
23
23
  * Детали ошибки
24
24
  */
25
- detail?: string;
25
+ detail: string;
26
26
  /**
27
27
  * Внутренний код ошибки
28
28
  */
@@ -30,23 +30,23 @@ export interface Response4XX {
30
30
  /**
31
31
  * ID запроса
32
32
  */
33
- requestId?: string;
33
+ requestId: string;
34
34
  /**
35
35
  * ID внутреннего сервиса WB
36
36
  */
37
- origin?: string;
37
+ origin: string;
38
38
  /**
39
39
  * HTTP статус-код
40
40
  */
41
- status?: number;
41
+ status: number;
42
42
  /**
43
43
  * Расшифровка HTTP статус-кода
44
44
  */
45
- statusText?: string;
45
+ statusText: string;
46
46
  /**
47
47
  * Дата и время запроса
48
48
  */
49
- timestamp?: Date;
49
+ timestamp: Date;
50
50
  }
51
51
  /**
52
52
  * Check if a given object implements the Response4XX interface.
@@ -23,6 +23,20 @@ var runtime_1 = require("../runtime");
23
23
  * Check if a given object implements the Response4XX interface.
24
24
  */
25
25
  function instanceOfResponse4XX(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;
26
40
  return true;
27
41
  }
28
42
  function Response4XXFromJSON(json) {
@@ -33,14 +47,14 @@ function Response4XXFromJSONTyped(json, ignoreDiscriminator) {
33
47
  return json;
34
48
  }
35
49
  return {
36
- 'title': json['title'] == null ? undefined : json['title'],
37
- 'detail': json['detail'] == null ? undefined : json['detail'],
50
+ 'title': json['title'],
51
+ 'detail': json['detail'],
38
52
  'code': json['code'] == null ? undefined : json['code'],
39
- 'requestId': json['requestId'] == null ? undefined : json['requestId'],
40
- 'origin': json['origin'] == null ? undefined : json['origin'],
41
- 'status': json['status'] == null ? undefined : json['status'],
42
- 'statusText': json['statusText'] == null ? undefined : json['statusText'],
43
- 'timestamp': json['timestamp'] == null ? undefined : ((0, runtime_1.parseDateTime)(json['timestamp'])),
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'])),
44
58
  };
45
59
  }
46
60
  function Response4XXToJSON(json) {
@@ -18,11 +18,11 @@ export interface Response4XX {
18
18
  /**
19
19
  * Заголовок ошибки
20
20
  */
21
- title?: string;
21
+ title: string;
22
22
  /**
23
23
  * Детали ошибки
24
24
  */
25
- detail?: string;
25
+ detail: string;
26
26
  /**
27
27
  * Внутренний код ошибки
28
28
  */
@@ -30,23 +30,23 @@ export interface Response4XX {
30
30
  /**
31
31
  * ID запроса
32
32
  */
33
- requestId?: string;
33
+ requestId: string;
34
34
  /**
35
35
  * ID внутреннего сервиса WB
36
36
  */
37
- origin?: string;
37
+ origin: string;
38
38
  /**
39
39
  * HTTP статус-код
40
40
  */
41
- status?: number;
41
+ status: number;
42
42
  /**
43
43
  * Расшифровка HTTP статус-кода
44
44
  */
45
- statusText?: string;
45
+ statusText: string;
46
46
  /**
47
47
  * Дата и время запроса
48
48
  */
49
- timestamp?: Date;
49
+ timestamp: Date;
50
50
  }
51
51
  /**
52
52
  * Check if a given object implements the Response4XX interface.