@gizone/rrs-client 4.2.7-alpha.430 → 4.2.7-alpha.432

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 (77) hide show
  1. package/.openapi-generator/FILES +13 -0
  2. package/api.ts +1 -0
  3. package/apis/dashboard-api.ts +430 -0
  4. package/dist/api.d.ts +1 -0
  5. package/dist/api.js +1 -0
  6. package/dist/apis/dashboard-api.d.ts +231 -0
  7. package/dist/apis/dashboard-api.js +349 -0
  8. package/dist/esm/api.d.ts +1 -0
  9. package/dist/esm/api.js +1 -0
  10. package/dist/esm/apis/dashboard-api.d.ts +231 -0
  11. package/dist/esm/apis/dashboard-api.js +342 -0
  12. package/dist/esm/models/dashboard-base-search-dto.d.ts +36 -0
  13. package/dist/esm/models/dashboard-base-search-dto.js +14 -0
  14. package/dist/esm/models/dashboard-equipment-park-group-stats-vo.d.ts +43 -0
  15. package/dist/esm/models/dashboard-equipment-park-group-stats-vo.js +14 -0
  16. package/dist/esm/models/dashboard-equipment-search-dto.d.ts +42 -0
  17. package/dist/esm/models/dashboard-equipment-search-dto.js +14 -0
  18. package/dist/esm/models/dashboard-equipment-system-group-stats-vo.d.ts +49 -0
  19. package/dist/esm/models/dashboard-equipment-system-group-stats-vo.js +14 -0
  20. package/dist/esm/models/dashboard-surveillance-functional-area-group-stats-vo.d.ts +55 -0
  21. package/dist/esm/models/dashboard-surveillance-functional-area-group-stats-vo.js +14 -0
  22. package/dist/esm/models/dashboard-surveillance-park-group-stats-vo.d.ts +60 -0
  23. package/dist/esm/models/dashboard-surveillance-park-group-stats-vo.js +14 -0
  24. package/dist/esm/models/dashboard-surveillance-search-dto.d.ts +49 -0
  25. package/dist/esm/models/dashboard-surveillance-search-dto.js +14 -0
  26. package/dist/esm/models/equipment-status-stats-vo.d.ts +31 -0
  27. package/dist/esm/models/equipment-status-stats-vo.js +14 -0
  28. package/dist/esm/models/index.d.ts +12 -0
  29. package/dist/esm/models/index.js +12 -0
  30. package/dist/esm/models/json-result-list-dashboard-equipment-park-group-stats-vo.d.ts +62 -0
  31. package/dist/esm/models/json-result-list-dashboard-equipment-park-group-stats-vo.js +14 -0
  32. package/dist/esm/models/json-result-list-dashboard-equipment-system-group-stats-vo.d.ts +62 -0
  33. package/dist/esm/models/json-result-list-dashboard-equipment-system-group-stats-vo.js +14 -0
  34. package/dist/esm/models/json-result-list-dashboard-surveillance-functional-area-group-stats-vo.d.ts +62 -0
  35. package/dist/esm/models/json-result-list-dashboard-surveillance-functional-area-group-stats-vo.js +14 -0
  36. package/dist/esm/models/json-result-list-dashboard-surveillance-park-group-stats-vo.d.ts +62 -0
  37. package/dist/esm/models/json-result-list-dashboard-surveillance-park-group-stats-vo.js +14 -0
  38. package/dist/models/dashboard-base-search-dto.d.ts +36 -0
  39. package/dist/models/dashboard-base-search-dto.js +15 -0
  40. package/dist/models/dashboard-equipment-park-group-stats-vo.d.ts +43 -0
  41. package/dist/models/dashboard-equipment-park-group-stats-vo.js +15 -0
  42. package/dist/models/dashboard-equipment-search-dto.d.ts +42 -0
  43. package/dist/models/dashboard-equipment-search-dto.js +15 -0
  44. package/dist/models/dashboard-equipment-system-group-stats-vo.d.ts +49 -0
  45. package/dist/models/dashboard-equipment-system-group-stats-vo.js +15 -0
  46. package/dist/models/dashboard-surveillance-functional-area-group-stats-vo.d.ts +55 -0
  47. package/dist/models/dashboard-surveillance-functional-area-group-stats-vo.js +15 -0
  48. package/dist/models/dashboard-surveillance-park-group-stats-vo.d.ts +60 -0
  49. package/dist/models/dashboard-surveillance-park-group-stats-vo.js +15 -0
  50. package/dist/models/dashboard-surveillance-search-dto.d.ts +49 -0
  51. package/dist/models/dashboard-surveillance-search-dto.js +15 -0
  52. package/dist/models/equipment-status-stats-vo.d.ts +31 -0
  53. package/dist/models/equipment-status-stats-vo.js +15 -0
  54. package/dist/models/index.d.ts +12 -0
  55. package/dist/models/index.js +12 -0
  56. package/dist/models/json-result-list-dashboard-equipment-park-group-stats-vo.d.ts +62 -0
  57. package/dist/models/json-result-list-dashboard-equipment-park-group-stats-vo.js +15 -0
  58. package/dist/models/json-result-list-dashboard-equipment-system-group-stats-vo.d.ts +62 -0
  59. package/dist/models/json-result-list-dashboard-equipment-system-group-stats-vo.js +15 -0
  60. package/dist/models/json-result-list-dashboard-surveillance-functional-area-group-stats-vo.d.ts +62 -0
  61. package/dist/models/json-result-list-dashboard-surveillance-functional-area-group-stats-vo.js +15 -0
  62. package/dist/models/json-result-list-dashboard-surveillance-park-group-stats-vo.d.ts +62 -0
  63. package/dist/models/json-result-list-dashboard-surveillance-park-group-stats-vo.js +15 -0
  64. package/models/dashboard-base-search-dto.ts +42 -0
  65. package/models/dashboard-equipment-park-group-stats-vo.ts +51 -0
  66. package/models/dashboard-equipment-search-dto.ts +48 -0
  67. package/models/dashboard-equipment-system-group-stats-vo.ts +57 -0
  68. package/models/dashboard-surveillance-functional-area-group-stats-vo.ts +65 -0
  69. package/models/dashboard-surveillance-park-group-stats-vo.ts +66 -0
  70. package/models/dashboard-surveillance-search-dto.ts +57 -0
  71. package/models/equipment-status-stats-vo.ts +41 -0
  72. package/models/index.ts +12 -0
  73. package/models/json-result-list-dashboard-equipment-park-group-stats-vo.ts +72 -0
  74. package/models/json-result-list-dashboard-equipment-system-group-stats-vo.ts +72 -0
  75. package/models/json-result-list-dashboard-surveillance-functional-area-group-stats-vo.ts +72 -0
  76. package/models/json-result-list-dashboard-surveillance-park-group-stats-vo.ts +72 -0
  77. package/package.json +1 -1
@@ -0,0 +1,231 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
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 { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { DashboardBaseSearchDTO } from '../models';
16
+ import type { DashboardEquipmentSearchDTO } from '../models';
17
+ import type { DashboardSurveillanceSearchDTO } from '../models';
18
+ import type { JsonResultListDashboardEquipmentParkGroupStatsVO } from '../models';
19
+ import type { JsonResultListDashboardEquipmentSystemGroupStatsVO } from '../models';
20
+ import type { JsonResultListDashboardSurveillanceFunctionalAreaGroupStatsVO } from '../models';
21
+ import type { JsonResultListDashboardSurveillanceParkGroupStatsVO } from '../models';
22
+ /**
23
+ * DashboardApi - axios parameter creator
24
+ * @export
25
+ */
26
+ export declare const DashboardApiAxiosParamCreator: (configuration?: Configuration) => {
27
+ /**
28
+ *
29
+ * @summary 设备园区分组统计
30
+ * @param {DashboardEquipmentSearchDTO} dashboardEquipmentSearchDTO
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ dashboardEquipmentParkGroupStats: (dashboardEquipmentSearchDTO: DashboardEquipmentSearchDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
35
+ /**
36
+ *
37
+ * @summary 设备系统分组统计
38
+ * @param {DashboardBaseSearchDTO} dashboardBaseSearchDTO
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ dashboardEquipmentSystemGroupStats: (dashboardBaseSearchDTO: DashboardBaseSearchDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
43
+ /**
44
+ *
45
+ * @summary 监控功能区分组统计
46
+ * @param {DashboardBaseSearchDTO} dashboardBaseSearchDTO
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ dashboardSurveillanceFunctionalAreaGroupStats: (dashboardBaseSearchDTO: DashboardBaseSearchDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
51
+ /**
52
+ *
53
+ * @summary 监控园区分组统计
54
+ * @param {DashboardSurveillanceSearchDTO} dashboardSurveillanceSearchDTO
55
+ * @param {*} [options] Override http request option.
56
+ * @throws {RequiredError}
57
+ */
58
+ dashboardSurveillanceParkGroupStats: (dashboardSurveillanceSearchDTO: DashboardSurveillanceSearchDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
59
+ };
60
+ /**
61
+ * DashboardApi - functional programming interface
62
+ * @export
63
+ */
64
+ export declare const DashboardApiFp: (configuration?: Configuration) => {
65
+ /**
66
+ *
67
+ * @summary 设备园区分组统计
68
+ * @param {DashboardEquipmentSearchDTO} dashboardEquipmentSearchDTO
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ dashboardEquipmentParkGroupStats(dashboardEquipmentSearchDTO: DashboardEquipmentSearchDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListDashboardEquipmentParkGroupStatsVO>>;
73
+ /**
74
+ *
75
+ * @summary 设备系统分组统计
76
+ * @param {DashboardBaseSearchDTO} dashboardBaseSearchDTO
77
+ * @param {*} [options] Override http request option.
78
+ * @throws {RequiredError}
79
+ */
80
+ dashboardEquipmentSystemGroupStats(dashboardBaseSearchDTO: DashboardBaseSearchDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListDashboardEquipmentSystemGroupStatsVO>>;
81
+ /**
82
+ *
83
+ * @summary 监控功能区分组统计
84
+ * @param {DashboardBaseSearchDTO} dashboardBaseSearchDTO
85
+ * @param {*} [options] Override http request option.
86
+ * @throws {RequiredError}
87
+ */
88
+ dashboardSurveillanceFunctionalAreaGroupStats(dashboardBaseSearchDTO: DashboardBaseSearchDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListDashboardSurveillanceFunctionalAreaGroupStatsVO>>;
89
+ /**
90
+ *
91
+ * @summary 监控园区分组统计
92
+ * @param {DashboardSurveillanceSearchDTO} dashboardSurveillanceSearchDTO
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ */
96
+ dashboardSurveillanceParkGroupStats(dashboardSurveillanceSearchDTO: DashboardSurveillanceSearchDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListDashboardSurveillanceParkGroupStatsVO>>;
97
+ };
98
+ /**
99
+ * DashboardApi - factory interface
100
+ * @export
101
+ */
102
+ export declare const DashboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
103
+ /**
104
+ *
105
+ * @summary 设备园区分组统计
106
+ * @param {DashboardApiDashboardEquipmentParkGroupStatsRequest} requestParameters Request parameters.
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ dashboardEquipmentParkGroupStats(requestParameters: DashboardApiDashboardEquipmentParkGroupStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListDashboardEquipmentParkGroupStatsVO>;
111
+ /**
112
+ *
113
+ * @summary 设备系统分组统计
114
+ * @param {DashboardApiDashboardEquipmentSystemGroupStatsRequest} requestParameters Request parameters.
115
+ * @param {*} [options] Override http request option.
116
+ * @throws {RequiredError}
117
+ */
118
+ dashboardEquipmentSystemGroupStats(requestParameters: DashboardApiDashboardEquipmentSystemGroupStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListDashboardEquipmentSystemGroupStatsVO>;
119
+ /**
120
+ *
121
+ * @summary 监控功能区分组统计
122
+ * @param {DashboardApiDashboardSurveillanceFunctionalAreaGroupStatsRequest} requestParameters Request parameters.
123
+ * @param {*} [options] Override http request option.
124
+ * @throws {RequiredError}
125
+ */
126
+ dashboardSurveillanceFunctionalAreaGroupStats(requestParameters: DashboardApiDashboardSurveillanceFunctionalAreaGroupStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListDashboardSurveillanceFunctionalAreaGroupStatsVO>;
127
+ /**
128
+ *
129
+ * @summary 监控园区分组统计
130
+ * @param {DashboardApiDashboardSurveillanceParkGroupStatsRequest} requestParameters Request parameters.
131
+ * @param {*} [options] Override http request option.
132
+ * @throws {RequiredError}
133
+ */
134
+ dashboardSurveillanceParkGroupStats(requestParameters: DashboardApiDashboardSurveillanceParkGroupStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListDashboardSurveillanceParkGroupStatsVO>;
135
+ };
136
+ /**
137
+ * Request parameters for dashboardEquipmentParkGroupStats operation in DashboardApi.
138
+ * @export
139
+ * @interface DashboardApiDashboardEquipmentParkGroupStatsRequest
140
+ */
141
+ export interface DashboardApiDashboardEquipmentParkGroupStatsRequest {
142
+ /**
143
+ *
144
+ * @type {DashboardEquipmentSearchDTO}
145
+ * @memberof DashboardApiDashboardEquipmentParkGroupStats
146
+ */
147
+ readonly dashboardEquipmentSearchDTO: DashboardEquipmentSearchDTO;
148
+ }
149
+ /**
150
+ * Request parameters for dashboardEquipmentSystemGroupStats operation in DashboardApi.
151
+ * @export
152
+ * @interface DashboardApiDashboardEquipmentSystemGroupStatsRequest
153
+ */
154
+ export interface DashboardApiDashboardEquipmentSystemGroupStatsRequest {
155
+ /**
156
+ *
157
+ * @type {DashboardBaseSearchDTO}
158
+ * @memberof DashboardApiDashboardEquipmentSystemGroupStats
159
+ */
160
+ readonly dashboardBaseSearchDTO: DashboardBaseSearchDTO;
161
+ }
162
+ /**
163
+ * Request parameters for dashboardSurveillanceFunctionalAreaGroupStats operation in DashboardApi.
164
+ * @export
165
+ * @interface DashboardApiDashboardSurveillanceFunctionalAreaGroupStatsRequest
166
+ */
167
+ export interface DashboardApiDashboardSurveillanceFunctionalAreaGroupStatsRequest {
168
+ /**
169
+ *
170
+ * @type {DashboardBaseSearchDTO}
171
+ * @memberof DashboardApiDashboardSurveillanceFunctionalAreaGroupStats
172
+ */
173
+ readonly dashboardBaseSearchDTO: DashboardBaseSearchDTO;
174
+ }
175
+ /**
176
+ * Request parameters for dashboardSurveillanceParkGroupStats operation in DashboardApi.
177
+ * @export
178
+ * @interface DashboardApiDashboardSurveillanceParkGroupStatsRequest
179
+ */
180
+ export interface DashboardApiDashboardSurveillanceParkGroupStatsRequest {
181
+ /**
182
+ *
183
+ * @type {DashboardSurveillanceSearchDTO}
184
+ * @memberof DashboardApiDashboardSurveillanceParkGroupStats
185
+ */
186
+ readonly dashboardSurveillanceSearchDTO: DashboardSurveillanceSearchDTO;
187
+ }
188
+ /**
189
+ * DashboardApi - object-oriented interface
190
+ * @export
191
+ * @class DashboardApi
192
+ * @extends {BaseAPI}
193
+ */
194
+ export declare class DashboardApi extends BaseAPI {
195
+ /**
196
+ *
197
+ * @summary 设备园区分组统计
198
+ * @param {DashboardApiDashboardEquipmentParkGroupStatsRequest} requestParameters Request parameters.
199
+ * @param {*} [options] Override http request option.
200
+ * @throws {RequiredError}
201
+ * @memberof DashboardApi
202
+ */
203
+ dashboardEquipmentParkGroupStats(requestParameters: DashboardApiDashboardEquipmentParkGroupStatsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListDashboardEquipmentParkGroupStatsVO, any>>;
204
+ /**
205
+ *
206
+ * @summary 设备系统分组统计
207
+ * @param {DashboardApiDashboardEquipmentSystemGroupStatsRequest} requestParameters Request parameters.
208
+ * @param {*} [options] Override http request option.
209
+ * @throws {RequiredError}
210
+ * @memberof DashboardApi
211
+ */
212
+ dashboardEquipmentSystemGroupStats(requestParameters: DashboardApiDashboardEquipmentSystemGroupStatsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListDashboardEquipmentSystemGroupStatsVO, any>>;
213
+ /**
214
+ *
215
+ * @summary 监控功能区分组统计
216
+ * @param {DashboardApiDashboardSurveillanceFunctionalAreaGroupStatsRequest} requestParameters Request parameters.
217
+ * @param {*} [options] Override http request option.
218
+ * @throws {RequiredError}
219
+ * @memberof DashboardApi
220
+ */
221
+ dashboardSurveillanceFunctionalAreaGroupStats(requestParameters: DashboardApiDashboardSurveillanceFunctionalAreaGroupStatsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListDashboardSurveillanceFunctionalAreaGroupStatsVO, any>>;
222
+ /**
223
+ *
224
+ * @summary 监控园区分组统计
225
+ * @param {DashboardApiDashboardSurveillanceParkGroupStatsRequest} requestParameters Request parameters.
226
+ * @param {*} [options] Override http request option.
227
+ * @throws {RequiredError}
228
+ * @memberof DashboardApi
229
+ */
230
+ dashboardSurveillanceParkGroupStats(requestParameters: DashboardApiDashboardSurveillanceParkGroupStatsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListDashboardSurveillanceParkGroupStatsVO, any>>;
231
+ }
@@ -0,0 +1,349 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.DashboardApi = exports.DashboardApiFactory = exports.DashboardApiFp = exports.DashboardApiAxiosParamCreator = void 0;
26
+ const axios_1 = require("axios");
27
+ // Some imports not used depending on template conditions
28
+ // @ts-ignore
29
+ const common_1 = require("../common");
30
+ // @ts-ignore
31
+ const base_1 = require("../base");
32
+ /**
33
+ * DashboardApi - axios parameter creator
34
+ * @export
35
+ */
36
+ const DashboardApiAxiosParamCreator = function (configuration) {
37
+ return {
38
+ /**
39
+ *
40
+ * @summary 设备园区分组统计
41
+ * @param {DashboardEquipmentSearchDTO} dashboardEquipmentSearchDTO
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ dashboardEquipmentParkGroupStats: (dashboardEquipmentSearchDTO_1, ...args_1) => __awaiter(this, [dashboardEquipmentSearchDTO_1, ...args_1], void 0, function* (dashboardEquipmentSearchDTO, options = {}) {
46
+ // verify required parameter 'dashboardEquipmentSearchDTO' is not null or undefined
47
+ (0, common_1.assertParamExists)('dashboardEquipmentParkGroupStats', 'dashboardEquipmentSearchDTO', dashboardEquipmentSearchDTO);
48
+ const localVarPath = `/dashboard/equipment/park-group-stats`;
49
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
51
+ let baseOptions;
52
+ if (configuration) {
53
+ baseOptions = configuration.baseOptions;
54
+ }
55
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
56
+ const localVarHeaderParameter = {};
57
+ const localVarQueryParameter = {};
58
+ // authentication tokenScheme required
59
+ // http bearer authentication required
60
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
61
+ localVarHeaderParameter['Content-Type'] = 'application/json';
62
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
63
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
64
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
65
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dashboardEquipmentSearchDTO, localVarRequestOptions, configuration);
66
+ return {
67
+ url: (0, common_1.toPathString)(localVarUrlObj),
68
+ options: localVarRequestOptions,
69
+ };
70
+ }),
71
+ /**
72
+ *
73
+ * @summary 设备系统分组统计
74
+ * @param {DashboardBaseSearchDTO} dashboardBaseSearchDTO
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ dashboardEquipmentSystemGroupStats: (dashboardBaseSearchDTO_1, ...args_1) => __awaiter(this, [dashboardBaseSearchDTO_1, ...args_1], void 0, function* (dashboardBaseSearchDTO, options = {}) {
79
+ // verify required parameter 'dashboardBaseSearchDTO' is not null or undefined
80
+ (0, common_1.assertParamExists)('dashboardEquipmentSystemGroupStats', 'dashboardBaseSearchDTO', dashboardBaseSearchDTO);
81
+ const localVarPath = `/dashboard/equipment/system-group-stats`;
82
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
83
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
84
+ let baseOptions;
85
+ if (configuration) {
86
+ baseOptions = configuration.baseOptions;
87
+ }
88
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
89
+ const localVarHeaderParameter = {};
90
+ const localVarQueryParameter = {};
91
+ // authentication tokenScheme required
92
+ // http bearer authentication required
93
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
94
+ localVarHeaderParameter['Content-Type'] = 'application/json';
95
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
96
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
97
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
98
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dashboardBaseSearchDTO, localVarRequestOptions, configuration);
99
+ return {
100
+ url: (0, common_1.toPathString)(localVarUrlObj),
101
+ options: localVarRequestOptions,
102
+ };
103
+ }),
104
+ /**
105
+ *
106
+ * @summary 监控功能区分组统计
107
+ * @param {DashboardBaseSearchDTO} dashboardBaseSearchDTO
108
+ * @param {*} [options] Override http request option.
109
+ * @throws {RequiredError}
110
+ */
111
+ dashboardSurveillanceFunctionalAreaGroupStats: (dashboardBaseSearchDTO_1, ...args_1) => __awaiter(this, [dashboardBaseSearchDTO_1, ...args_1], void 0, function* (dashboardBaseSearchDTO, options = {}) {
112
+ // verify required parameter 'dashboardBaseSearchDTO' is not null or undefined
113
+ (0, common_1.assertParamExists)('dashboardSurveillanceFunctionalAreaGroupStats', 'dashboardBaseSearchDTO', dashboardBaseSearchDTO);
114
+ const localVarPath = `/dashboard/surveillance/functional-area-group-stats`;
115
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
116
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
117
+ let baseOptions;
118
+ if (configuration) {
119
+ baseOptions = configuration.baseOptions;
120
+ }
121
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
122
+ const localVarHeaderParameter = {};
123
+ const localVarQueryParameter = {};
124
+ // authentication tokenScheme required
125
+ // http bearer authentication required
126
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
127
+ localVarHeaderParameter['Content-Type'] = 'application/json';
128
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
129
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
130
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
131
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dashboardBaseSearchDTO, localVarRequestOptions, configuration);
132
+ return {
133
+ url: (0, common_1.toPathString)(localVarUrlObj),
134
+ options: localVarRequestOptions,
135
+ };
136
+ }),
137
+ /**
138
+ *
139
+ * @summary 监控园区分组统计
140
+ * @param {DashboardSurveillanceSearchDTO} dashboardSurveillanceSearchDTO
141
+ * @param {*} [options] Override http request option.
142
+ * @throws {RequiredError}
143
+ */
144
+ dashboardSurveillanceParkGroupStats: (dashboardSurveillanceSearchDTO_1, ...args_1) => __awaiter(this, [dashboardSurveillanceSearchDTO_1, ...args_1], void 0, function* (dashboardSurveillanceSearchDTO, options = {}) {
145
+ // verify required parameter 'dashboardSurveillanceSearchDTO' is not null or undefined
146
+ (0, common_1.assertParamExists)('dashboardSurveillanceParkGroupStats', 'dashboardSurveillanceSearchDTO', dashboardSurveillanceSearchDTO);
147
+ const localVarPath = `/dashboard/surveillance/park-group-stats`;
148
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
149
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
150
+ let baseOptions;
151
+ if (configuration) {
152
+ baseOptions = configuration.baseOptions;
153
+ }
154
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
155
+ const localVarHeaderParameter = {};
156
+ const localVarQueryParameter = {};
157
+ // authentication tokenScheme required
158
+ // http bearer authentication required
159
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
160
+ localVarHeaderParameter['Content-Type'] = 'application/json';
161
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
162
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
163
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
164
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dashboardSurveillanceSearchDTO, localVarRequestOptions, configuration);
165
+ return {
166
+ url: (0, common_1.toPathString)(localVarUrlObj),
167
+ options: localVarRequestOptions,
168
+ };
169
+ }),
170
+ };
171
+ };
172
+ exports.DashboardApiAxiosParamCreator = DashboardApiAxiosParamCreator;
173
+ /**
174
+ * DashboardApi - functional programming interface
175
+ * @export
176
+ */
177
+ const DashboardApiFp = function (configuration) {
178
+ const localVarAxiosParamCreator = (0, exports.DashboardApiAxiosParamCreator)(configuration);
179
+ return {
180
+ /**
181
+ *
182
+ * @summary 设备园区分组统计
183
+ * @param {DashboardEquipmentSearchDTO} dashboardEquipmentSearchDTO
184
+ * @param {*} [options] Override http request option.
185
+ * @throws {RequiredError}
186
+ */
187
+ dashboardEquipmentParkGroupStats(dashboardEquipmentSearchDTO, options) {
188
+ return __awaiter(this, void 0, void 0, function* () {
189
+ var _a, _b, _c;
190
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.dashboardEquipmentParkGroupStats(dashboardEquipmentSearchDTO, options);
191
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
192
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DashboardApi.dashboardEquipmentParkGroupStats']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
193
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
194
+ });
195
+ },
196
+ /**
197
+ *
198
+ * @summary 设备系统分组统计
199
+ * @param {DashboardBaseSearchDTO} dashboardBaseSearchDTO
200
+ * @param {*} [options] Override http request option.
201
+ * @throws {RequiredError}
202
+ */
203
+ dashboardEquipmentSystemGroupStats(dashboardBaseSearchDTO, options) {
204
+ return __awaiter(this, void 0, void 0, function* () {
205
+ var _a, _b, _c;
206
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.dashboardEquipmentSystemGroupStats(dashboardBaseSearchDTO, options);
207
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
208
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DashboardApi.dashboardEquipmentSystemGroupStats']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
209
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
210
+ });
211
+ },
212
+ /**
213
+ *
214
+ * @summary 监控功能区分组统计
215
+ * @param {DashboardBaseSearchDTO} dashboardBaseSearchDTO
216
+ * @param {*} [options] Override http request option.
217
+ * @throws {RequiredError}
218
+ */
219
+ dashboardSurveillanceFunctionalAreaGroupStats(dashboardBaseSearchDTO, options) {
220
+ return __awaiter(this, void 0, void 0, function* () {
221
+ var _a, _b, _c;
222
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.dashboardSurveillanceFunctionalAreaGroupStats(dashboardBaseSearchDTO, options);
223
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
224
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DashboardApi.dashboardSurveillanceFunctionalAreaGroupStats']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
225
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
226
+ });
227
+ },
228
+ /**
229
+ *
230
+ * @summary 监控园区分组统计
231
+ * @param {DashboardSurveillanceSearchDTO} dashboardSurveillanceSearchDTO
232
+ * @param {*} [options] Override http request option.
233
+ * @throws {RequiredError}
234
+ */
235
+ dashboardSurveillanceParkGroupStats(dashboardSurveillanceSearchDTO, options) {
236
+ return __awaiter(this, void 0, void 0, function* () {
237
+ var _a, _b, _c;
238
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.dashboardSurveillanceParkGroupStats(dashboardSurveillanceSearchDTO, options);
239
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
240
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DashboardApi.dashboardSurveillanceParkGroupStats']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
241
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
242
+ });
243
+ },
244
+ };
245
+ };
246
+ exports.DashboardApiFp = DashboardApiFp;
247
+ /**
248
+ * DashboardApi - factory interface
249
+ * @export
250
+ */
251
+ const DashboardApiFactory = function (configuration, basePath, axios) {
252
+ const localVarFp = (0, exports.DashboardApiFp)(configuration);
253
+ return {
254
+ /**
255
+ *
256
+ * @summary 设备园区分组统计
257
+ * @param {DashboardApiDashboardEquipmentParkGroupStatsRequest} requestParameters Request parameters.
258
+ * @param {*} [options] Override http request option.
259
+ * @throws {RequiredError}
260
+ */
261
+ dashboardEquipmentParkGroupStats(requestParameters, options) {
262
+ return localVarFp.dashboardEquipmentParkGroupStats(requestParameters.dashboardEquipmentSearchDTO, options).then((request) => request(axios, basePath));
263
+ },
264
+ /**
265
+ *
266
+ * @summary 设备系统分组统计
267
+ * @param {DashboardApiDashboardEquipmentSystemGroupStatsRequest} requestParameters Request parameters.
268
+ * @param {*} [options] Override http request option.
269
+ * @throws {RequiredError}
270
+ */
271
+ dashboardEquipmentSystemGroupStats(requestParameters, options) {
272
+ return localVarFp.dashboardEquipmentSystemGroupStats(requestParameters.dashboardBaseSearchDTO, options).then((request) => request(axios, basePath));
273
+ },
274
+ /**
275
+ *
276
+ * @summary 监控功能区分组统计
277
+ * @param {DashboardApiDashboardSurveillanceFunctionalAreaGroupStatsRequest} requestParameters Request parameters.
278
+ * @param {*} [options] Override http request option.
279
+ * @throws {RequiredError}
280
+ */
281
+ dashboardSurveillanceFunctionalAreaGroupStats(requestParameters, options) {
282
+ return localVarFp.dashboardSurveillanceFunctionalAreaGroupStats(requestParameters.dashboardBaseSearchDTO, options).then((request) => request(axios, basePath));
283
+ },
284
+ /**
285
+ *
286
+ * @summary 监控园区分组统计
287
+ * @param {DashboardApiDashboardSurveillanceParkGroupStatsRequest} requestParameters Request parameters.
288
+ * @param {*} [options] Override http request option.
289
+ * @throws {RequiredError}
290
+ */
291
+ dashboardSurveillanceParkGroupStats(requestParameters, options) {
292
+ return localVarFp.dashboardSurveillanceParkGroupStats(requestParameters.dashboardSurveillanceSearchDTO, options).then((request) => request(axios, basePath));
293
+ },
294
+ };
295
+ };
296
+ exports.DashboardApiFactory = DashboardApiFactory;
297
+ /**
298
+ * DashboardApi - object-oriented interface
299
+ * @export
300
+ * @class DashboardApi
301
+ * @extends {BaseAPI}
302
+ */
303
+ class DashboardApi extends base_1.BaseAPI {
304
+ /**
305
+ *
306
+ * @summary 设备园区分组统计
307
+ * @param {DashboardApiDashboardEquipmentParkGroupStatsRequest} requestParameters Request parameters.
308
+ * @param {*} [options] Override http request option.
309
+ * @throws {RequiredError}
310
+ * @memberof DashboardApi
311
+ */
312
+ dashboardEquipmentParkGroupStats(requestParameters, options) {
313
+ return (0, exports.DashboardApiFp)(this.configuration).dashboardEquipmentParkGroupStats(requestParameters.dashboardEquipmentSearchDTO, options).then((request) => request(this.axios, this.basePath));
314
+ }
315
+ /**
316
+ *
317
+ * @summary 设备系统分组统计
318
+ * @param {DashboardApiDashboardEquipmentSystemGroupStatsRequest} requestParameters Request parameters.
319
+ * @param {*} [options] Override http request option.
320
+ * @throws {RequiredError}
321
+ * @memberof DashboardApi
322
+ */
323
+ dashboardEquipmentSystemGroupStats(requestParameters, options) {
324
+ return (0, exports.DashboardApiFp)(this.configuration).dashboardEquipmentSystemGroupStats(requestParameters.dashboardBaseSearchDTO, options).then((request) => request(this.axios, this.basePath));
325
+ }
326
+ /**
327
+ *
328
+ * @summary 监控功能区分组统计
329
+ * @param {DashboardApiDashboardSurveillanceFunctionalAreaGroupStatsRequest} requestParameters Request parameters.
330
+ * @param {*} [options] Override http request option.
331
+ * @throws {RequiredError}
332
+ * @memberof DashboardApi
333
+ */
334
+ dashboardSurveillanceFunctionalAreaGroupStats(requestParameters, options) {
335
+ return (0, exports.DashboardApiFp)(this.configuration).dashboardSurveillanceFunctionalAreaGroupStats(requestParameters.dashboardBaseSearchDTO, options).then((request) => request(this.axios, this.basePath));
336
+ }
337
+ /**
338
+ *
339
+ * @summary 监控园区分组统计
340
+ * @param {DashboardApiDashboardSurveillanceParkGroupStatsRequest} requestParameters Request parameters.
341
+ * @param {*} [options] Override http request option.
342
+ * @throws {RequiredError}
343
+ * @memberof DashboardApi
344
+ */
345
+ dashboardSurveillanceParkGroupStats(requestParameters, options) {
346
+ return (0, exports.DashboardApiFp)(this.configuration).dashboardSurveillanceParkGroupStats(requestParameters.dashboardSurveillanceSearchDTO, options).then((request) => request(this.axios, this.basePath));
347
+ }
348
+ }
349
+ exports.DashboardApi = DashboardApi;
package/dist/esm/api.d.ts CHANGED
@@ -15,6 +15,7 @@ export * from './apis/auth-api';
15
15
  export * from './apis/calendar-api';
16
16
  export * from './apis/cas-api';
17
17
  export * from './apis/common-api';
18
+ export * from './apis/dashboard-api';
18
19
  export * from './apis/device-api';
19
20
  export * from './apis/disaster-warning-standard-api';
20
21
  export * from './apis/equipment-api';
package/dist/esm/api.js CHANGED
@@ -17,6 +17,7 @@ export * from './apis/auth-api';
17
17
  export * from './apis/calendar-api';
18
18
  export * from './apis/cas-api';
19
19
  export * from './apis/common-api';
20
+ export * from './apis/dashboard-api';
20
21
  export * from './apis/device-api';
21
22
  export * from './apis/disaster-warning-standard-api';
22
23
  export * from './apis/equipment-api';