@gizone/rrs-client 4.2.6-alpha.428 → 4.2.7-alpha.429
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +9 -0
- package/README.md +2 -2
- package/api.ts +1 -0
- package/apis/dashboard-api.ts +389 -0
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/apis/dashboard-api.d.ts +214 -0
- package/dist/apis/dashboard-api.js +301 -0
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/apis/dashboard-api.d.ts +214 -0
- package/dist/esm/apis/dashboard-api.js +294 -0
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/models/dashboard-equipment-park-group-stats-vo.d.ts +43 -0
- package/dist/esm/models/dashboard-equipment-park-group-stats-vo.js +14 -0
- package/dist/esm/models/dashboard-equipment-search-dto.d.ts +42 -0
- package/dist/esm/models/dashboard-equipment-search-dto.js +14 -0
- package/dist/esm/models/dashboard-equipment-system-group-stats-vo.d.ts +49 -0
- package/dist/esm/models/dashboard-equipment-system-group-stats-vo.js +14 -0
- package/dist/esm/models/dashboard-surveillance-functional-area-group-stats-vo.d.ts +55 -0
- package/dist/esm/models/dashboard-surveillance-functional-area-group-stats-vo.js +14 -0
- package/dist/esm/models/equipment-status-stats-vo.d.ts +31 -0
- package/dist/esm/models/equipment-status-stats-vo.js +14 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/esm/models/json-result-list-dashboard-equipment-park-group-stats-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-dashboard-equipment-park-group-stats-vo.js +14 -0
- package/dist/esm/models/json-result-list-dashboard-equipment-system-group-stats-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-dashboard-equipment-system-group-stats-vo.js +14 -0
- package/dist/esm/models/json-result-list-dashboard-surveillance-functional-area-group-stats-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-dashboard-surveillance-functional-area-group-stats-vo.js +14 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/models/dashboard-equipment-park-group-stats-vo.d.ts +43 -0
- package/dist/models/dashboard-equipment-park-group-stats-vo.js +15 -0
- package/dist/models/dashboard-equipment-search-dto.d.ts +42 -0
- package/dist/models/dashboard-equipment-search-dto.js +15 -0
- package/dist/models/dashboard-equipment-system-group-stats-vo.d.ts +49 -0
- package/dist/models/dashboard-equipment-system-group-stats-vo.js +15 -0
- package/dist/models/dashboard-surveillance-functional-area-group-stats-vo.d.ts +55 -0
- package/dist/models/dashboard-surveillance-functional-area-group-stats-vo.js +15 -0
- package/dist/models/equipment-status-stats-vo.d.ts +31 -0
- package/dist/models/equipment-status-stats-vo.js +15 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/json-result-list-dashboard-equipment-park-group-stats-vo.d.ts +62 -0
- package/dist/models/json-result-list-dashboard-equipment-park-group-stats-vo.js +15 -0
- package/dist/models/json-result-list-dashboard-equipment-system-group-stats-vo.d.ts +62 -0
- package/dist/models/json-result-list-dashboard-equipment-system-group-stats-vo.js +15 -0
- package/dist/models/json-result-list-dashboard-surveillance-functional-area-group-stats-vo.d.ts +62 -0
- package/dist/models/json-result-list-dashboard-surveillance-functional-area-group-stats-vo.js +15 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/models/dashboard-equipment-park-group-stats-vo.ts +51 -0
- package/models/dashboard-equipment-search-dto.ts +48 -0
- package/models/dashboard-equipment-system-group-stats-vo.ts +57 -0
- package/models/dashboard-surveillance-functional-area-group-stats-vo.ts +65 -0
- package/models/equipment-status-stats-vo.ts +41 -0
- package/models/index.ts +8 -0
- package/models/json-result-list-dashboard-equipment-park-group-stats-vo.ts +72 -0
- package/models/json-result-list-dashboard-equipment-system-group-stats-vo.ts +72 -0
- package/models/json-result-list-dashboard-surveillance-functional-area-group-stats-vo.ts +72 -0
- package/models/sys-user.ts +4 -4
- package/package.json +1 -1
|
@@ -0,0 +1,214 @@
|
|
|
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 { DashboardEquipmentSearchDTO } from '../models';
|
|
16
|
+
import type { JsonResultListDashboardEquipmentParkGroupStatsVO } from '../models';
|
|
17
|
+
import type { JsonResultListDashboardEquipmentSystemGroupStatsVO } from '../models';
|
|
18
|
+
import type { JsonResultListDashboardSurveillanceFunctionalAreaGroupStatsVO } from '../models';
|
|
19
|
+
/**
|
|
20
|
+
* DashboardApi - axios parameter creator
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
export declare const DashboardApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @summary 设备园区分组统计
|
|
27
|
+
* @param {DashboardEquipmentSearchDTO} dashboardEquipmentSearchDTO
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
*/
|
|
31
|
+
dashboardEquipmentParkGroupStats: (dashboardEquipmentSearchDTO: DashboardEquipmentSearchDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @summary 设备系统分组统计
|
|
35
|
+
* @param {Array<number>} parkIds 园区ID集合
|
|
36
|
+
* @param {number} [startTime] 开始时间
|
|
37
|
+
* @param {number} [endTime] 结束时间
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
dashboardEquipmentSystemGroupStats: (parkIds: Array<number>, startTime?: number, endTime?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @summary 监控功能区分组统计
|
|
45
|
+
* @param {Array<number>} parkIds 园区ID集合
|
|
46
|
+
* @param {number} [startTime] 开始时间
|
|
47
|
+
* @param {number} [endTime] 结束时间
|
|
48
|
+
* @param {*} [options] Override http request option.
|
|
49
|
+
* @throws {RequiredError}
|
|
50
|
+
*/
|
|
51
|
+
dashboardSurveillanceFunctionalAreaGroupStats: (parkIds: Array<number>, startTime?: number, endTime?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* DashboardApi - functional programming interface
|
|
55
|
+
* @export
|
|
56
|
+
*/
|
|
57
|
+
export declare const DashboardApiFp: (configuration?: Configuration) => {
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @summary 设备园区分组统计
|
|
61
|
+
* @param {DashboardEquipmentSearchDTO} dashboardEquipmentSearchDTO
|
|
62
|
+
* @param {*} [options] Override http request option.
|
|
63
|
+
* @throws {RequiredError}
|
|
64
|
+
*/
|
|
65
|
+
dashboardEquipmentParkGroupStats(dashboardEquipmentSearchDTO: DashboardEquipmentSearchDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListDashboardEquipmentParkGroupStatsVO>>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @summary 设备系统分组统计
|
|
69
|
+
* @param {Array<number>} parkIds 园区ID集合
|
|
70
|
+
* @param {number} [startTime] 开始时间
|
|
71
|
+
* @param {number} [endTime] 结束时间
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
dashboardEquipmentSystemGroupStats(parkIds: Array<number>, startTime?: number, endTime?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListDashboardEquipmentSystemGroupStatsVO>>;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @summary 监控功能区分组统计
|
|
79
|
+
* @param {Array<number>} parkIds 园区ID集合
|
|
80
|
+
* @param {number} [startTime] 开始时间
|
|
81
|
+
* @param {number} [endTime] 结束时间
|
|
82
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
dashboardSurveillanceFunctionalAreaGroupStats(parkIds: Array<number>, startTime?: number, endTime?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListDashboardSurveillanceFunctionalAreaGroupStatsVO>>;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* DashboardApi - factory interface
|
|
89
|
+
* @export
|
|
90
|
+
*/
|
|
91
|
+
export declare const DashboardApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @summary 设备园区分组统计
|
|
95
|
+
* @param {DashboardApiDashboardEquipmentParkGroupStatsRequest} requestParameters Request parameters.
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
dashboardEquipmentParkGroupStats(requestParameters: DashboardApiDashboardEquipmentParkGroupStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListDashboardEquipmentParkGroupStatsVO>;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @summary 设备系统分组统计
|
|
103
|
+
* @param {DashboardApiDashboardEquipmentSystemGroupStatsRequest} requestParameters Request parameters.
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
dashboardEquipmentSystemGroupStats(requestParameters: DashboardApiDashboardEquipmentSystemGroupStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListDashboardEquipmentSystemGroupStatsVO>;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @summary 监控功能区分组统计
|
|
111
|
+
* @param {DashboardApiDashboardSurveillanceFunctionalAreaGroupStatsRequest} requestParameters Request parameters.
|
|
112
|
+
* @param {*} [options] Override http request option.
|
|
113
|
+
* @throws {RequiredError}
|
|
114
|
+
*/
|
|
115
|
+
dashboardSurveillanceFunctionalAreaGroupStats(requestParameters: DashboardApiDashboardSurveillanceFunctionalAreaGroupStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListDashboardSurveillanceFunctionalAreaGroupStatsVO>;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Request parameters for dashboardEquipmentParkGroupStats operation in DashboardApi.
|
|
119
|
+
* @export
|
|
120
|
+
* @interface DashboardApiDashboardEquipmentParkGroupStatsRequest
|
|
121
|
+
*/
|
|
122
|
+
export interface DashboardApiDashboardEquipmentParkGroupStatsRequest {
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {DashboardEquipmentSearchDTO}
|
|
126
|
+
* @memberof DashboardApiDashboardEquipmentParkGroupStats
|
|
127
|
+
*/
|
|
128
|
+
readonly dashboardEquipmentSearchDTO: DashboardEquipmentSearchDTO;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Request parameters for dashboardEquipmentSystemGroupStats operation in DashboardApi.
|
|
132
|
+
* @export
|
|
133
|
+
* @interface DashboardApiDashboardEquipmentSystemGroupStatsRequest
|
|
134
|
+
*/
|
|
135
|
+
export interface DashboardApiDashboardEquipmentSystemGroupStatsRequest {
|
|
136
|
+
/**
|
|
137
|
+
* 园区ID集合
|
|
138
|
+
* @type {Array<number>}
|
|
139
|
+
* @memberof DashboardApiDashboardEquipmentSystemGroupStats
|
|
140
|
+
*/
|
|
141
|
+
readonly parkIds: Array<number>;
|
|
142
|
+
/**
|
|
143
|
+
* 开始时间
|
|
144
|
+
* @type {number}
|
|
145
|
+
* @memberof DashboardApiDashboardEquipmentSystemGroupStats
|
|
146
|
+
*/
|
|
147
|
+
readonly startTime?: number;
|
|
148
|
+
/**
|
|
149
|
+
* 结束时间
|
|
150
|
+
* @type {number}
|
|
151
|
+
* @memberof DashboardApiDashboardEquipmentSystemGroupStats
|
|
152
|
+
*/
|
|
153
|
+
readonly endTime?: number;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Request parameters for dashboardSurveillanceFunctionalAreaGroupStats operation in DashboardApi.
|
|
157
|
+
* @export
|
|
158
|
+
* @interface DashboardApiDashboardSurveillanceFunctionalAreaGroupStatsRequest
|
|
159
|
+
*/
|
|
160
|
+
export interface DashboardApiDashboardSurveillanceFunctionalAreaGroupStatsRequest {
|
|
161
|
+
/**
|
|
162
|
+
* 园区ID集合
|
|
163
|
+
* @type {Array<number>}
|
|
164
|
+
* @memberof DashboardApiDashboardSurveillanceFunctionalAreaGroupStats
|
|
165
|
+
*/
|
|
166
|
+
readonly parkIds: Array<number>;
|
|
167
|
+
/**
|
|
168
|
+
* 开始时间
|
|
169
|
+
* @type {number}
|
|
170
|
+
* @memberof DashboardApiDashboardSurveillanceFunctionalAreaGroupStats
|
|
171
|
+
*/
|
|
172
|
+
readonly startTime?: number;
|
|
173
|
+
/**
|
|
174
|
+
* 结束时间
|
|
175
|
+
* @type {number}
|
|
176
|
+
* @memberof DashboardApiDashboardSurveillanceFunctionalAreaGroupStats
|
|
177
|
+
*/
|
|
178
|
+
readonly endTime?: number;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* DashboardApi - object-oriented interface
|
|
182
|
+
* @export
|
|
183
|
+
* @class DashboardApi
|
|
184
|
+
* @extends {BaseAPI}
|
|
185
|
+
*/
|
|
186
|
+
export declare class DashboardApi extends BaseAPI {
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @summary 设备园区分组统计
|
|
190
|
+
* @param {DashboardApiDashboardEquipmentParkGroupStatsRequest} requestParameters Request parameters.
|
|
191
|
+
* @param {*} [options] Override http request option.
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
* @memberof DashboardApi
|
|
194
|
+
*/
|
|
195
|
+
dashboardEquipmentParkGroupStats(requestParameters: DashboardApiDashboardEquipmentParkGroupStatsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListDashboardEquipmentParkGroupStatsVO, any>>;
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* @summary 设备系统分组统计
|
|
199
|
+
* @param {DashboardApiDashboardEquipmentSystemGroupStatsRequest} requestParameters Request parameters.
|
|
200
|
+
* @param {*} [options] Override http request option.
|
|
201
|
+
* @throws {RequiredError}
|
|
202
|
+
* @memberof DashboardApi
|
|
203
|
+
*/
|
|
204
|
+
dashboardEquipmentSystemGroupStats(requestParameters: DashboardApiDashboardEquipmentSystemGroupStatsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListDashboardEquipmentSystemGroupStatsVO, any>>;
|
|
205
|
+
/**
|
|
206
|
+
*
|
|
207
|
+
* @summary 监控功能区分组统计
|
|
208
|
+
* @param {DashboardApiDashboardSurveillanceFunctionalAreaGroupStatsRequest} requestParameters Request parameters.
|
|
209
|
+
* @param {*} [options] Override http request option.
|
|
210
|
+
* @throws {RequiredError}
|
|
211
|
+
* @memberof DashboardApi
|
|
212
|
+
*/
|
|
213
|
+
dashboardSurveillanceFunctionalAreaGroupStats(requestParameters: DashboardApiDashboardSurveillanceFunctionalAreaGroupStatsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListDashboardSurveillanceFunctionalAreaGroupStatsVO, any>>;
|
|
214
|
+
}
|
|
@@ -0,0 +1,294 @@
|
|
|
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 {Array<number>} parkIds 园区ID集合
|
|
72
|
+
* @param {number} [startTime] 开始时间
|
|
73
|
+
* @param {number} [endTime] 结束时间
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
dashboardEquipmentSystemGroupStats: (parkIds_1, startTime_1, endTime_1, ...args_1) => __awaiter(this, [parkIds_1, startTime_1, endTime_1, ...args_1], void 0, function* (parkIds, startTime, endTime, options = {}) {
|
|
78
|
+
// verify required parameter 'parkIds' is not null or undefined
|
|
79
|
+
assertParamExists('dashboardEquipmentSystemGroupStats', 'parkIds', parkIds);
|
|
80
|
+
const localVarPath = `/dashboard/equipment/system-group-stats`;
|
|
81
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
82
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
83
|
+
let baseOptions;
|
|
84
|
+
if (configuration) {
|
|
85
|
+
baseOptions = configuration.baseOptions;
|
|
86
|
+
}
|
|
87
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
88
|
+
const localVarHeaderParameter = {};
|
|
89
|
+
const localVarQueryParameter = {};
|
|
90
|
+
// authentication tokenScheme required
|
|
91
|
+
// http bearer authentication required
|
|
92
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
93
|
+
if (parkIds) {
|
|
94
|
+
localVarQueryParameter['parkIds'] = parkIds;
|
|
95
|
+
}
|
|
96
|
+
if (startTime !== undefined) {
|
|
97
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
98
|
+
}
|
|
99
|
+
if (endTime !== undefined) {
|
|
100
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
101
|
+
}
|
|
102
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
103
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
104
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
105
|
+
return {
|
|
106
|
+
url: toPathString(localVarUrlObj),
|
|
107
|
+
options: localVarRequestOptions,
|
|
108
|
+
};
|
|
109
|
+
}),
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @summary 监控功能区分组统计
|
|
113
|
+
* @param {Array<number>} parkIds 园区ID集合
|
|
114
|
+
* @param {number} [startTime] 开始时间
|
|
115
|
+
* @param {number} [endTime] 结束时间
|
|
116
|
+
* @param {*} [options] Override http request option.
|
|
117
|
+
* @throws {RequiredError}
|
|
118
|
+
*/
|
|
119
|
+
dashboardSurveillanceFunctionalAreaGroupStats: (parkIds_1, startTime_1, endTime_1, ...args_1) => __awaiter(this, [parkIds_1, startTime_1, endTime_1, ...args_1], void 0, function* (parkIds, startTime, endTime, options = {}) {
|
|
120
|
+
// verify required parameter 'parkIds' is not null or undefined
|
|
121
|
+
assertParamExists('dashboardSurveillanceFunctionalAreaGroupStats', 'parkIds', parkIds);
|
|
122
|
+
const localVarPath = `/dashboard/surveillance/functional-area-group-stats`;
|
|
123
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
124
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
125
|
+
let baseOptions;
|
|
126
|
+
if (configuration) {
|
|
127
|
+
baseOptions = configuration.baseOptions;
|
|
128
|
+
}
|
|
129
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
130
|
+
const localVarHeaderParameter = {};
|
|
131
|
+
const localVarQueryParameter = {};
|
|
132
|
+
// authentication tokenScheme required
|
|
133
|
+
// http bearer authentication required
|
|
134
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
135
|
+
if (parkIds) {
|
|
136
|
+
localVarQueryParameter['parkIds'] = parkIds;
|
|
137
|
+
}
|
|
138
|
+
if (startTime !== undefined) {
|
|
139
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
140
|
+
}
|
|
141
|
+
if (endTime !== undefined) {
|
|
142
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
143
|
+
}
|
|
144
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
145
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
146
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
147
|
+
return {
|
|
148
|
+
url: toPathString(localVarUrlObj),
|
|
149
|
+
options: localVarRequestOptions,
|
|
150
|
+
};
|
|
151
|
+
}),
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* DashboardApi - functional programming interface
|
|
156
|
+
* @export
|
|
157
|
+
*/
|
|
158
|
+
export const DashboardApiFp = function (configuration) {
|
|
159
|
+
const localVarAxiosParamCreator = DashboardApiAxiosParamCreator(configuration);
|
|
160
|
+
return {
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @summary 设备园区分组统计
|
|
164
|
+
* @param {DashboardEquipmentSearchDTO} dashboardEquipmentSearchDTO
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
*/
|
|
168
|
+
dashboardEquipmentParkGroupStats(dashboardEquipmentSearchDTO, options) {
|
|
169
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
170
|
+
var _a, _b, _c;
|
|
171
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.dashboardEquipmentParkGroupStats(dashboardEquipmentSearchDTO, options);
|
|
172
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
173
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DashboardApi.dashboardEquipmentParkGroupStats']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
174
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
175
|
+
});
|
|
176
|
+
},
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @summary 设备系统分组统计
|
|
180
|
+
* @param {Array<number>} parkIds 园区ID集合
|
|
181
|
+
* @param {number} [startTime] 开始时间
|
|
182
|
+
* @param {number} [endTime] 结束时间
|
|
183
|
+
* @param {*} [options] Override http request option.
|
|
184
|
+
* @throws {RequiredError}
|
|
185
|
+
*/
|
|
186
|
+
dashboardEquipmentSystemGroupStats(parkIds, startTime, endTime, options) {
|
|
187
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
188
|
+
var _a, _b, _c;
|
|
189
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.dashboardEquipmentSystemGroupStats(parkIds, startTime, endTime, options);
|
|
190
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
191
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DashboardApi.dashboardEquipmentSystemGroupStats']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
192
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
193
|
+
});
|
|
194
|
+
},
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @summary 监控功能区分组统计
|
|
198
|
+
* @param {Array<number>} parkIds 园区ID集合
|
|
199
|
+
* @param {number} [startTime] 开始时间
|
|
200
|
+
* @param {number} [endTime] 结束时间
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
*/
|
|
204
|
+
dashboardSurveillanceFunctionalAreaGroupStats(parkIds, startTime, endTime, options) {
|
|
205
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
206
|
+
var _a, _b, _c;
|
|
207
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.dashboardSurveillanceFunctionalAreaGroupStats(parkIds, startTime, endTime, options);
|
|
208
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
209
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DashboardApi.dashboardSurveillanceFunctionalAreaGroupStats']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
210
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
211
|
+
});
|
|
212
|
+
},
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* DashboardApi - factory interface
|
|
217
|
+
* @export
|
|
218
|
+
*/
|
|
219
|
+
export const DashboardApiFactory = function (configuration, basePath, axios) {
|
|
220
|
+
const localVarFp = DashboardApiFp(configuration);
|
|
221
|
+
return {
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* @summary 设备园区分组统计
|
|
225
|
+
* @param {DashboardApiDashboardEquipmentParkGroupStatsRequest} requestParameters Request parameters.
|
|
226
|
+
* @param {*} [options] Override http request option.
|
|
227
|
+
* @throws {RequiredError}
|
|
228
|
+
*/
|
|
229
|
+
dashboardEquipmentParkGroupStats(requestParameters, options) {
|
|
230
|
+
return localVarFp.dashboardEquipmentParkGroupStats(requestParameters.dashboardEquipmentSearchDTO, options).then((request) => request(axios, basePath));
|
|
231
|
+
},
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @summary 设备系统分组统计
|
|
235
|
+
* @param {DashboardApiDashboardEquipmentSystemGroupStatsRequest} requestParameters Request parameters.
|
|
236
|
+
* @param {*} [options] Override http request option.
|
|
237
|
+
* @throws {RequiredError}
|
|
238
|
+
*/
|
|
239
|
+
dashboardEquipmentSystemGroupStats(requestParameters, options) {
|
|
240
|
+
return localVarFp.dashboardEquipmentSystemGroupStats(requestParameters.parkIds, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
241
|
+
},
|
|
242
|
+
/**
|
|
243
|
+
*
|
|
244
|
+
* @summary 监控功能区分组统计
|
|
245
|
+
* @param {DashboardApiDashboardSurveillanceFunctionalAreaGroupStatsRequest} requestParameters Request parameters.
|
|
246
|
+
* @param {*} [options] Override http request option.
|
|
247
|
+
* @throws {RequiredError}
|
|
248
|
+
*/
|
|
249
|
+
dashboardSurveillanceFunctionalAreaGroupStats(requestParameters, options) {
|
|
250
|
+
return localVarFp.dashboardSurveillanceFunctionalAreaGroupStats(requestParameters.parkIds, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
251
|
+
},
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* DashboardApi - object-oriented interface
|
|
256
|
+
* @export
|
|
257
|
+
* @class DashboardApi
|
|
258
|
+
* @extends {BaseAPI}
|
|
259
|
+
*/
|
|
260
|
+
export class DashboardApi extends BaseAPI {
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @summary 设备园区分组统计
|
|
264
|
+
* @param {DashboardApiDashboardEquipmentParkGroupStatsRequest} requestParameters Request parameters.
|
|
265
|
+
* @param {*} [options] Override http request option.
|
|
266
|
+
* @throws {RequiredError}
|
|
267
|
+
* @memberof DashboardApi
|
|
268
|
+
*/
|
|
269
|
+
dashboardEquipmentParkGroupStats(requestParameters, options) {
|
|
270
|
+
return DashboardApiFp(this.configuration).dashboardEquipmentParkGroupStats(requestParameters.dashboardEquipmentSearchDTO, options).then((request) => request(this.axios, this.basePath));
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
*
|
|
274
|
+
* @summary 设备系统分组统计
|
|
275
|
+
* @param {DashboardApiDashboardEquipmentSystemGroupStatsRequest} requestParameters Request parameters.
|
|
276
|
+
* @param {*} [options] Override http request option.
|
|
277
|
+
* @throws {RequiredError}
|
|
278
|
+
* @memberof DashboardApi
|
|
279
|
+
*/
|
|
280
|
+
dashboardEquipmentSystemGroupStats(requestParameters, options) {
|
|
281
|
+
return DashboardApiFp(this.configuration).dashboardEquipmentSystemGroupStats(requestParameters.parkIds, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
*
|
|
285
|
+
* @summary 监控功能区分组统计
|
|
286
|
+
* @param {DashboardApiDashboardSurveillanceFunctionalAreaGroupStatsRequest} requestParameters Request parameters.
|
|
287
|
+
* @param {*} [options] Override http request option.
|
|
288
|
+
* @throws {RequiredError}
|
|
289
|
+
* @memberof DashboardApi
|
|
290
|
+
*/
|
|
291
|
+
dashboardSurveillanceFunctionalAreaGroupStats(requestParameters, options) {
|
|
292
|
+
return DashboardApiFp(this.configuration).dashboardSurveillanceFunctionalAreaGroupStats(requestParameters.parkIds, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
293
|
+
}
|
|
294
|
+
}
|
|
@@ -20,7 +20,7 @@ export class Configuration {
|
|
|
20
20
|
this.accessToken = param.accessToken;
|
|
21
21
|
this.basePath = param.basePath;
|
|
22
22
|
this.serverIndex = param.serverIndex;
|
|
23
|
-
this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/4.2.
|
|
23
|
+
this.baseOptions = Object.assign({ headers: Object.assign(Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/4.2.7/typescript-axios" }) }, param.baseOptions);
|
|
24
24
|
this.formDataCtor = param.formDataCtor;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
@@ -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
|
+
}
|
|
@@ -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,42 @@
|
|
|
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 DashboardEquipmentSearchDTO
|
|
16
|
+
*/
|
|
17
|
+
export interface DashboardEquipmentSearchDTO {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<number>}
|
|
21
|
+
* @memberof DashboardEquipmentSearchDTO
|
|
22
|
+
*/
|
|
23
|
+
'parkIds': Array<number>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof DashboardEquipmentSearchDTO
|
|
28
|
+
*/
|
|
29
|
+
'startTime'?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof DashboardEquipmentSearchDTO
|
|
34
|
+
*/
|
|
35
|
+
'endTime'?: number;
|
|
36
|
+
/**
|
|
37
|
+
* 设备系统ID
|
|
38
|
+
* @type {Array<number>}
|
|
39
|
+
* @memberof DashboardEquipmentSearchDTO
|
|
40
|
+
*/
|
|
41
|
+
'equipmentSystemIds'?: Array<number>;
|
|
42
|
+
}
|
|
@@ -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 {};
|