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