@gizone/rrs-client 4.1.2-alpha.169 → 4.1.2-alpha.171
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 +3 -0
- package/apis/equipment-api.ts +0 -91
- package/apis/open-api-api.ts +312 -0
- package/dist/apis/equipment-api.d.ts +0 -47
- package/dist/apis/equipment-api.js +0 -70
- package/dist/apis/open-api-api.d.ts +166 -0
- package/dist/apis/open-api-api.js +226 -0
- package/dist/esm/apis/equipment-api.d.ts +0 -47
- package/dist/esm/apis/equipment-api.js +0 -70
- package/dist/esm/apis/open-api-api.d.ts +166 -0
- package/dist/esm/apis/open-api-api.js +227 -1
- package/dist/esm/models/equipment-detail-dto.d.ts +29 -1
- package/dist/esm/models/equipment-detail-dto.js +8 -1
- package/dist/esm/models/equipment-edit-batch-vo.d.ts +10 -1
- package/dist/esm/models/equipment-edit-batch-vo.js +8 -1
- package/dist/esm/models/equipment-edit-vo.d.ts +23 -1
- package/dist/esm/models/equipment-edit-vo.js +8 -1
- package/dist/esm/models/equipment-search-system-dto.d.ts +29 -1
- package/dist/esm/models/equipment-search-system-dto.js +8 -1
- package/dist/esm/models/equipment-search-vo.d.ts +11 -2
- package/dist/esm/models/equipment-search-vo.js +8 -1
- package/dist/esm/models/equipment-status.d.ts +30 -0
- package/dist/esm/models/equipment-status.js +14 -0
- package/dist/esm/models/equipment-tree-details-dto.d.ts +30 -2
- package/dist/esm/models/equipment-tree-details-dto.js +8 -1
- package/dist/esm/models/equipment.d.ts +62 -8
- package/dist/esm/models/get-user-wx200-response.d.ts +9 -9
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/models/park-info-dto.d.ts +6 -0
- package/dist/esm/models/sync-equipment-status-vo.d.ts +37 -0
- package/dist/esm/models/sync-equipment-status-vo.js +14 -0
- package/dist/esm/models/sync-equipment-vo.d.ts +13 -174
- package/dist/esm/models/third-party-system-enum.d.ts +22 -0
- package/dist/esm/models/third-party-system-enum.js +23 -0
- package/dist/esm/models/work-order-dept-settings-add-or-update-vo.d.ts +2 -2
- package/dist/esm/models/work-order-dept-settings-entity.d.ts +2 -2
- package/dist/esm/models/work-order-issue-type-enum.d.ts +1 -0
- package/dist/esm/models/work-order-issue-type-enum.js +1 -0
- package/dist/models/equipment-detail-dto.d.ts +29 -1
- package/dist/models/equipment-detail-dto.js +9 -0
- package/dist/models/equipment-edit-batch-vo.d.ts +10 -1
- package/dist/models/equipment-edit-batch-vo.js +9 -0
- package/dist/models/equipment-edit-vo.d.ts +23 -1
- package/dist/models/equipment-edit-vo.js +9 -0
- package/dist/models/equipment-search-system-dto.d.ts +29 -1
- package/dist/models/equipment-search-system-dto.js +9 -0
- package/dist/models/equipment-search-vo.d.ts +11 -2
- package/dist/models/equipment-search-vo.js +9 -0
- package/dist/models/equipment-status.d.ts +30 -0
- package/dist/models/equipment-status.js +15 -0
- package/dist/models/equipment-tree-details-dto.d.ts +30 -2
- package/dist/models/equipment-tree-details-dto.js +9 -0
- package/dist/models/equipment.d.ts +62 -8
- package/dist/models/get-user-wx200-response.d.ts +9 -9
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/park-info-dto.d.ts +6 -0
- package/dist/models/sync-equipment-status-vo.d.ts +37 -0
- package/dist/models/sync-equipment-status-vo.js +15 -0
- package/dist/models/sync-equipment-vo.d.ts +13 -174
- package/dist/models/third-party-system-enum.d.ts +22 -0
- package/dist/models/third-party-system-enum.js +26 -0
- package/dist/models/work-order-dept-settings-add-or-update-vo.d.ts +2 -2
- package/dist/models/work-order-dept-settings-entity.d.ts +2 -2
- package/dist/models/work-order-issue-type-enum.d.ts +1 -0
- package/dist/models/work-order-issue-type-enum.js +1 -0
- package/models/equipment-detail-dto.ts +34 -1
- package/models/equipment-edit-batch-vo.ts +13 -1
- package/models/equipment-edit-vo.ts +28 -1
- package/models/equipment-search-system-dto.ts +34 -1
- package/models/equipment-search-vo.ts +14 -2
- package/models/equipment-status.ts +36 -0
- package/models/equipment-tree-details-dto.ts +35 -2
- package/models/equipment.ts +62 -8
- package/models/get-user-wx200-response.ts +9 -9
- package/models/index.ts +3 -0
- package/models/park-info-dto.ts +6 -0
- package/models/sync-equipment-status-vo.ts +45 -0
- package/models/sync-equipment-vo.ts +15 -174
- package/models/third-party-system-enum.ts +32 -0
- package/models/work-order-dept-settings-add-or-update-vo.ts +2 -2
- package/models/work-order-dept-settings-entity.ts +2 -2
- package/models/work-order-issue-type-enum.ts +1 -0
- package/package.json +1 -1
|
@@ -895,39 +895,6 @@ export const EquipmentApiAxiosParamCreator = function (configuration) {
|
|
|
895
895
|
options: localVarRequestOptions,
|
|
896
896
|
};
|
|
897
897
|
}),
|
|
898
|
-
/**
|
|
899
|
-
*
|
|
900
|
-
* @summary 同步iot设备接口
|
|
901
|
-
* @param {SyncEquipmentVO} syncEquipmentVO
|
|
902
|
-
* @param {*} [options] Override http request option.
|
|
903
|
-
* @throws {RequiredError}
|
|
904
|
-
*/
|
|
905
|
-
syncEquipment: (syncEquipmentVO_1, ...args_1) => __awaiter(this, [syncEquipmentVO_1, ...args_1], void 0, function* (syncEquipmentVO, options = {}) {
|
|
906
|
-
// verify required parameter 'syncEquipmentVO' is not null or undefined
|
|
907
|
-
assertParamExists('syncEquipment', 'syncEquipmentVO', syncEquipmentVO);
|
|
908
|
-
const localVarPath = `/gizone/equipment/sync/equipment`;
|
|
909
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
910
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
911
|
-
let baseOptions;
|
|
912
|
-
if (configuration) {
|
|
913
|
-
baseOptions = configuration.baseOptions;
|
|
914
|
-
}
|
|
915
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
916
|
-
const localVarHeaderParameter = {};
|
|
917
|
-
const localVarQueryParameter = {};
|
|
918
|
-
// authentication tokenScheme required
|
|
919
|
-
// http bearer authentication required
|
|
920
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
921
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
922
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
923
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
924
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
925
|
-
localVarRequestOptions.data = serializeDataIfNeeded(syncEquipmentVO, localVarRequestOptions, configuration);
|
|
926
|
-
return {
|
|
927
|
-
url: toPathString(localVarUrlObj),
|
|
928
|
-
options: localVarRequestOptions,
|
|
929
|
-
};
|
|
930
|
-
}),
|
|
931
898
|
/**
|
|
932
899
|
*
|
|
933
900
|
* @summary 设备系统分类管理列表
|
|
@@ -1418,22 +1385,6 @@ export const EquipmentApiFp = function (configuration) {
|
|
|
1418
1385
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1419
1386
|
});
|
|
1420
1387
|
},
|
|
1421
|
-
/**
|
|
1422
|
-
*
|
|
1423
|
-
* @summary 同步iot设备接口
|
|
1424
|
-
* @param {SyncEquipmentVO} syncEquipmentVO
|
|
1425
|
-
* @param {*} [options] Override http request option.
|
|
1426
|
-
* @throws {RequiredError}
|
|
1427
|
-
*/
|
|
1428
|
-
syncEquipment(syncEquipmentVO, options) {
|
|
1429
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1430
|
-
var _a, _b, _c;
|
|
1431
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.syncEquipment(syncEquipmentVO, options);
|
|
1432
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1433
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EquipmentApi.syncEquipment']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1434
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1435
|
-
});
|
|
1436
|
-
},
|
|
1437
1388
|
/**
|
|
1438
1389
|
*
|
|
1439
1390
|
* @summary 设备系统分类管理列表
|
|
@@ -1717,16 +1668,6 @@ export const EquipmentApiFactory = function (configuration, basePath, axios) {
|
|
|
1717
1668
|
selectEquipmentInSpace(requestParameters, options) {
|
|
1718
1669
|
return localVarFp.selectEquipmentInSpace(requestParameters.searchVo, options).then((request) => request(axios, basePath));
|
|
1719
1670
|
},
|
|
1720
|
-
/**
|
|
1721
|
-
*
|
|
1722
|
-
* @summary 同步iot设备接口
|
|
1723
|
-
* @param {EquipmentApiSyncEquipmentRequest} requestParameters Request parameters.
|
|
1724
|
-
* @param {*} [options] Override http request option.
|
|
1725
|
-
* @throws {RequiredError}
|
|
1726
|
-
*/
|
|
1727
|
-
syncEquipment(requestParameters, options) {
|
|
1728
|
-
return localVarFp.syncEquipment(requestParameters.syncEquipmentVO, options).then((request) => request(axios, basePath));
|
|
1729
|
-
},
|
|
1730
1671
|
/**
|
|
1731
1672
|
*
|
|
1732
1673
|
* @summary 设备系统分类管理列表
|
|
@@ -2015,17 +1956,6 @@ export class EquipmentApi extends BaseAPI {
|
|
|
2015
1956
|
selectEquipmentInSpace(requestParameters, options) {
|
|
2016
1957
|
return EquipmentApiFp(this.configuration).selectEquipmentInSpace(requestParameters.searchVo, options).then((request) => request(this.axios, this.basePath));
|
|
2017
1958
|
}
|
|
2018
|
-
/**
|
|
2019
|
-
*
|
|
2020
|
-
* @summary 同步iot设备接口
|
|
2021
|
-
* @param {EquipmentApiSyncEquipmentRequest} requestParameters Request parameters.
|
|
2022
|
-
* @param {*} [options] Override http request option.
|
|
2023
|
-
* @throws {RequiredError}
|
|
2024
|
-
* @memberof EquipmentApi
|
|
2025
|
-
*/
|
|
2026
|
-
syncEquipment(requestParameters, options) {
|
|
2027
|
-
return EquipmentApiFp(this.configuration).syncEquipment(requestParameters.syncEquipmentVO, options).then((request) => request(this.axios, this.basePath));
|
|
2028
|
-
}
|
|
2029
1959
|
/**
|
|
2030
1960
|
*
|
|
2031
1961
|
* @summary 设备系统分类管理列表
|
|
@@ -14,8 +14,12 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { AiMonitoringConfigTypeEnum } from '../models';
|
|
16
16
|
import type { JsonResultPageDtoAiMonitoringConfigVo } from '../models';
|
|
17
|
+
import type { JsonResultPageDtoSurveillanceDetailsDto } from '../models';
|
|
17
18
|
import type { JsonResultPageDtoSurveillanceRoiListVo } from '../models';
|
|
19
|
+
import type { JsonResultVoid } from '../models';
|
|
18
20
|
import type { ModelInteger } from '../models';
|
|
21
|
+
import type { SyncEquipmentStatusVo } from '../models';
|
|
22
|
+
import type { SyncEquipmentVo } from '../models';
|
|
19
23
|
/**
|
|
20
24
|
* OpenApiApi - axios parameter creator
|
|
21
25
|
* @export
|
|
@@ -43,6 +47,33 @@ export declare const OpenApiApiAxiosParamCreator: (configuration?: Configuration
|
|
|
43
47
|
* @throws {RequiredError}
|
|
44
48
|
*/
|
|
45
49
|
aiMonitoringConfigByNodeId: (parkId: number, title?: string, surveillanceRoiTitle?: string, surveillanceRoiId?: number, algorithm?: AiMonitoringConfigTypeEnum, enabled?: boolean, nodeId?: number, page?: ModelInteger, pageSize?: ModelInteger, searchValue?: string, createBy?: string, createTime?: string, updateBy?: string, updateTime?: string, remark?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @summary 批量新增设施设备
|
|
53
|
+
* @param {number} parkId
|
|
54
|
+
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
55
|
+
* @param {*} [options] Override http request option.
|
|
56
|
+
* @throws {RequiredError}
|
|
57
|
+
*/
|
|
58
|
+
openApiEquipmentBatchAdd: (parkId: number, syncEquipmentVo: SyncEquipmentVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @summary 批量更新设施设备状态
|
|
62
|
+
* @param {number} parkId
|
|
63
|
+
* @param {SyncEquipmentStatusVo} syncEquipmentStatusVo
|
|
64
|
+
* @param {*} [options] Override http request option.
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
*/
|
|
67
|
+
openApiEquipmentBatchStatusSync: (parkId: number, syncEquipmentStatusVo: SyncEquipmentStatusVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @summary 获取监控列表
|
|
71
|
+
* @param {number} parkId
|
|
72
|
+
* @param {string} centerCode 中心编码(C码)
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
openApiSurveillanceList: (parkId: number, centerCode: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
77
|
/**
|
|
47
78
|
*
|
|
48
79
|
* @summary 获取园区监控关注区域
|
|
@@ -87,6 +118,33 @@ export declare const OpenApiApiFp: (configuration?: Configuration) => {
|
|
|
87
118
|
* @throws {RequiredError}
|
|
88
119
|
*/
|
|
89
120
|
aiMonitoringConfigByNodeId(parkId: number, title?: string, surveillanceRoiTitle?: string, surveillanceRoiId?: number, algorithm?: AiMonitoringConfigTypeEnum, enabled?: boolean, nodeId?: number, page?: ModelInteger, pageSize?: ModelInteger, searchValue?: string, createBy?: string, createTime?: string, updateBy?: string, updateTime?: string, remark?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoAiMonitoringConfigVo>>;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @summary 批量新增设施设备
|
|
124
|
+
* @param {number} parkId
|
|
125
|
+
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
126
|
+
* @param {*} [options] Override http request option.
|
|
127
|
+
* @throws {RequiredError}
|
|
128
|
+
*/
|
|
129
|
+
openApiEquipmentBatchAdd(parkId: number, syncEquipmentVo: SyncEquipmentVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @summary 批量更新设施设备状态
|
|
133
|
+
* @param {number} parkId
|
|
134
|
+
* @param {SyncEquipmentStatusVo} syncEquipmentStatusVo
|
|
135
|
+
* @param {*} [options] Override http request option.
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
*/
|
|
138
|
+
openApiEquipmentBatchStatusSync(parkId: number, syncEquipmentStatusVo: SyncEquipmentStatusVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @summary 获取监控列表
|
|
142
|
+
* @param {number} parkId
|
|
143
|
+
* @param {string} centerCode 中心编码(C码)
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
*/
|
|
147
|
+
openApiSurveillanceList(parkId: number, centerCode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoSurveillanceDetailsDto>>;
|
|
90
148
|
/**
|
|
91
149
|
*
|
|
92
150
|
* @summary 获取园区监控关注区域
|
|
@@ -117,6 +175,30 @@ export declare const OpenApiApiFactory: (configuration?: Configuration, basePath
|
|
|
117
175
|
* @throws {RequiredError}
|
|
118
176
|
*/
|
|
119
177
|
aiMonitoringConfigByNodeId(requestParameters: OpenApiApiAiMonitoringConfigByNodeIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoAiMonitoringConfigVo>;
|
|
178
|
+
/**
|
|
179
|
+
*
|
|
180
|
+
* @summary 批量新增设施设备
|
|
181
|
+
* @param {OpenApiApiOpenApiEquipmentBatchAddRequest} requestParameters Request parameters.
|
|
182
|
+
* @param {*} [options] Override http request option.
|
|
183
|
+
* @throws {RequiredError}
|
|
184
|
+
*/
|
|
185
|
+
openApiEquipmentBatchAdd(requestParameters: OpenApiApiOpenApiEquipmentBatchAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
186
|
+
/**
|
|
187
|
+
*
|
|
188
|
+
* @summary 批量更新设施设备状态
|
|
189
|
+
* @param {OpenApiApiOpenApiEquipmentBatchStatusSyncRequest} requestParameters Request parameters.
|
|
190
|
+
* @param {*} [options] Override http request option.
|
|
191
|
+
* @throws {RequiredError}
|
|
192
|
+
*/
|
|
193
|
+
openApiEquipmentBatchStatusSync(requestParameters: OpenApiApiOpenApiEquipmentBatchStatusSyncRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
* @summary 获取监控列表
|
|
197
|
+
* @param {OpenApiApiOpenApiSurveillanceListRequest} requestParameters Request parameters.
|
|
198
|
+
* @param {*} [options] Override http request option.
|
|
199
|
+
* @throws {RequiredError}
|
|
200
|
+
*/
|
|
201
|
+
openApiSurveillanceList(requestParameters: OpenApiApiOpenApiSurveillanceListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoSurveillanceDetailsDto>;
|
|
120
202
|
/**
|
|
121
203
|
*
|
|
122
204
|
* @summary 获取园区监控关注区域
|
|
@@ -223,6 +305,63 @@ export interface OpenApiApiAiMonitoringConfigByNodeIdRequest {
|
|
|
223
305
|
*/
|
|
224
306
|
readonly remark?: string;
|
|
225
307
|
}
|
|
308
|
+
/**
|
|
309
|
+
* Request parameters for openApiEquipmentBatchAdd operation in OpenApiApi.
|
|
310
|
+
* @export
|
|
311
|
+
* @interface OpenApiApiOpenApiEquipmentBatchAddRequest
|
|
312
|
+
*/
|
|
313
|
+
export interface OpenApiApiOpenApiEquipmentBatchAddRequest {
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
* @type {number}
|
|
317
|
+
* @memberof OpenApiApiOpenApiEquipmentBatchAdd
|
|
318
|
+
*/
|
|
319
|
+
readonly parkId: number;
|
|
320
|
+
/**
|
|
321
|
+
*
|
|
322
|
+
* @type {SyncEquipmentVo}
|
|
323
|
+
* @memberof OpenApiApiOpenApiEquipmentBatchAdd
|
|
324
|
+
*/
|
|
325
|
+
readonly syncEquipmentVo: SyncEquipmentVo;
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Request parameters for openApiEquipmentBatchStatusSync operation in OpenApiApi.
|
|
329
|
+
* @export
|
|
330
|
+
* @interface OpenApiApiOpenApiEquipmentBatchStatusSyncRequest
|
|
331
|
+
*/
|
|
332
|
+
export interface OpenApiApiOpenApiEquipmentBatchStatusSyncRequest {
|
|
333
|
+
/**
|
|
334
|
+
*
|
|
335
|
+
* @type {number}
|
|
336
|
+
* @memberof OpenApiApiOpenApiEquipmentBatchStatusSync
|
|
337
|
+
*/
|
|
338
|
+
readonly parkId: number;
|
|
339
|
+
/**
|
|
340
|
+
*
|
|
341
|
+
* @type {SyncEquipmentStatusVo}
|
|
342
|
+
* @memberof OpenApiApiOpenApiEquipmentBatchStatusSync
|
|
343
|
+
*/
|
|
344
|
+
readonly syncEquipmentStatusVo: SyncEquipmentStatusVo;
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* Request parameters for openApiSurveillanceList operation in OpenApiApi.
|
|
348
|
+
* @export
|
|
349
|
+
* @interface OpenApiApiOpenApiSurveillanceListRequest
|
|
350
|
+
*/
|
|
351
|
+
export interface OpenApiApiOpenApiSurveillanceListRequest {
|
|
352
|
+
/**
|
|
353
|
+
*
|
|
354
|
+
* @type {number}
|
|
355
|
+
* @memberof OpenApiApiOpenApiSurveillanceList
|
|
356
|
+
*/
|
|
357
|
+
readonly parkId: number;
|
|
358
|
+
/**
|
|
359
|
+
* 中心编码(C码)
|
|
360
|
+
* @type {string}
|
|
361
|
+
* @memberof OpenApiApiOpenApiSurveillanceList
|
|
362
|
+
*/
|
|
363
|
+
readonly centerCode: string;
|
|
364
|
+
}
|
|
226
365
|
/**
|
|
227
366
|
* Request parameters for surveillanceRoiGetByParkId operation in OpenApiApi.
|
|
228
367
|
* @export
|
|
@@ -300,6 +439,33 @@ export declare class OpenApiApi extends BaseAPI {
|
|
|
300
439
|
* @memberof OpenApiApi
|
|
301
440
|
*/
|
|
302
441
|
aiMonitoringConfigByNodeId(requestParameters: OpenApiApiAiMonitoringConfigByNodeIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultPageDtoAiMonitoringConfigVo, any>>;
|
|
442
|
+
/**
|
|
443
|
+
*
|
|
444
|
+
* @summary 批量新增设施设备
|
|
445
|
+
* @param {OpenApiApiOpenApiEquipmentBatchAddRequest} requestParameters Request parameters.
|
|
446
|
+
* @param {*} [options] Override http request option.
|
|
447
|
+
* @throws {RequiredError}
|
|
448
|
+
* @memberof OpenApiApi
|
|
449
|
+
*/
|
|
450
|
+
openApiEquipmentBatchAdd(requestParameters: OpenApiApiOpenApiEquipmentBatchAddRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
|
|
451
|
+
/**
|
|
452
|
+
*
|
|
453
|
+
* @summary 批量更新设施设备状态
|
|
454
|
+
* @param {OpenApiApiOpenApiEquipmentBatchStatusSyncRequest} requestParameters Request parameters.
|
|
455
|
+
* @param {*} [options] Override http request option.
|
|
456
|
+
* @throws {RequiredError}
|
|
457
|
+
* @memberof OpenApiApi
|
|
458
|
+
*/
|
|
459
|
+
openApiEquipmentBatchStatusSync(requestParameters: OpenApiApiOpenApiEquipmentBatchStatusSyncRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
|
|
460
|
+
/**
|
|
461
|
+
*
|
|
462
|
+
* @summary 获取监控列表
|
|
463
|
+
* @param {OpenApiApiOpenApiSurveillanceListRequest} requestParameters Request parameters.
|
|
464
|
+
* @param {*} [options] Override http request option.
|
|
465
|
+
* @throws {RequiredError}
|
|
466
|
+
* @memberof OpenApiApi
|
|
467
|
+
*/
|
|
468
|
+
openApiSurveillanceList(requestParameters: OpenApiApiOpenApiSurveillanceListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultPageDtoSurveillanceDetailsDto, any>>;
|
|
303
469
|
/**
|
|
304
470
|
*
|
|
305
471
|
* @summary 获取园区监控关注区域
|
|
@@ -23,7 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
import globalAxios from 'axios';
|
|
24
24
|
// Some imports not used depending on template conditions
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, toPathString, createRequestFunction } from '../common';
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
29
|
/**
|
|
@@ -128,6 +128,118 @@ export const OpenApiApiAxiosParamCreator = function (configuration) {
|
|
|
128
128
|
options: localVarRequestOptions,
|
|
129
129
|
};
|
|
130
130
|
}),
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @summary 批量新增设施设备
|
|
134
|
+
* @param {number} parkId
|
|
135
|
+
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
*/
|
|
139
|
+
openApiEquipmentBatchAdd: (parkId_1, syncEquipmentVo_1, ...args_1) => __awaiter(this, [parkId_1, syncEquipmentVo_1, ...args_1], void 0, function* (parkId, syncEquipmentVo, options = {}) {
|
|
140
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
141
|
+
assertParamExists('openApiEquipmentBatchAdd', 'parkId', parkId);
|
|
142
|
+
// verify required parameter 'syncEquipmentVo' is not null or undefined
|
|
143
|
+
assertParamExists('openApiEquipmentBatchAdd', 'syncEquipmentVo', syncEquipmentVo);
|
|
144
|
+
const localVarPath = `/openapi/v1/main/parks/{parkId}/equipment/batch`
|
|
145
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
146
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
147
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
148
|
+
let baseOptions;
|
|
149
|
+
if (configuration) {
|
|
150
|
+
baseOptions = configuration.baseOptions;
|
|
151
|
+
}
|
|
152
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
153
|
+
const localVarHeaderParameter = {};
|
|
154
|
+
const localVarQueryParameter = {};
|
|
155
|
+
// authentication tokenScheme required
|
|
156
|
+
// http bearer authentication required
|
|
157
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
158
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
159
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
160
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
161
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
162
|
+
localVarRequestOptions.data = serializeDataIfNeeded(syncEquipmentVo, localVarRequestOptions, configuration);
|
|
163
|
+
return {
|
|
164
|
+
url: toPathString(localVarUrlObj),
|
|
165
|
+
options: localVarRequestOptions,
|
|
166
|
+
};
|
|
167
|
+
}),
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @summary 批量更新设施设备状态
|
|
171
|
+
* @param {number} parkId
|
|
172
|
+
* @param {SyncEquipmentStatusVo} syncEquipmentStatusVo
|
|
173
|
+
* @param {*} [options] Override http request option.
|
|
174
|
+
* @throws {RequiredError}
|
|
175
|
+
*/
|
|
176
|
+
openApiEquipmentBatchStatusSync: (parkId_1, syncEquipmentStatusVo_1, ...args_1) => __awaiter(this, [parkId_1, syncEquipmentStatusVo_1, ...args_1], void 0, function* (parkId, syncEquipmentStatusVo, options = {}) {
|
|
177
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
178
|
+
assertParamExists('openApiEquipmentBatchStatusSync', 'parkId', parkId);
|
|
179
|
+
// verify required parameter 'syncEquipmentStatusVo' is not null or undefined
|
|
180
|
+
assertParamExists('openApiEquipmentBatchStatusSync', 'syncEquipmentStatusVo', syncEquipmentStatusVo);
|
|
181
|
+
const localVarPath = `/openapi/v1/main/parks/{parkId}/equipment/batchStatusSync`
|
|
182
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
183
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
184
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
185
|
+
let baseOptions;
|
|
186
|
+
if (configuration) {
|
|
187
|
+
baseOptions = configuration.baseOptions;
|
|
188
|
+
}
|
|
189
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
190
|
+
const localVarHeaderParameter = {};
|
|
191
|
+
const localVarQueryParameter = {};
|
|
192
|
+
// authentication tokenScheme required
|
|
193
|
+
// http bearer authentication required
|
|
194
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
195
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
196
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
197
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
198
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
199
|
+
localVarRequestOptions.data = serializeDataIfNeeded(syncEquipmentStatusVo, localVarRequestOptions, configuration);
|
|
200
|
+
return {
|
|
201
|
+
url: toPathString(localVarUrlObj),
|
|
202
|
+
options: localVarRequestOptions,
|
|
203
|
+
};
|
|
204
|
+
}),
|
|
205
|
+
/**
|
|
206
|
+
*
|
|
207
|
+
* @summary 获取监控列表
|
|
208
|
+
* @param {number} parkId
|
|
209
|
+
* @param {string} centerCode 中心编码(C码)
|
|
210
|
+
* @param {*} [options] Override http request option.
|
|
211
|
+
* @throws {RequiredError}
|
|
212
|
+
*/
|
|
213
|
+
openApiSurveillanceList: (parkId_1, centerCode_1, ...args_1) => __awaiter(this, [parkId_1, centerCode_1, ...args_1], void 0, function* (parkId, centerCode, options = {}) {
|
|
214
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
215
|
+
assertParamExists('openApiSurveillanceList', 'parkId', parkId);
|
|
216
|
+
// verify required parameter 'centerCode' is not null or undefined
|
|
217
|
+
assertParamExists('openApiSurveillanceList', 'centerCode', centerCode);
|
|
218
|
+
const localVarPath = `/openapi/v1/main/parks/{parkId}/surveillance`
|
|
219
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
220
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
221
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
222
|
+
let baseOptions;
|
|
223
|
+
if (configuration) {
|
|
224
|
+
baseOptions = configuration.baseOptions;
|
|
225
|
+
}
|
|
226
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
227
|
+
const localVarHeaderParameter = {};
|
|
228
|
+
const localVarQueryParameter = {};
|
|
229
|
+
// authentication tokenScheme required
|
|
230
|
+
// http bearer authentication required
|
|
231
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
232
|
+
if (centerCode !== undefined) {
|
|
233
|
+
localVarQueryParameter['centerCode'] = centerCode;
|
|
234
|
+
}
|
|
235
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
236
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
237
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
238
|
+
return {
|
|
239
|
+
url: toPathString(localVarUrlObj),
|
|
240
|
+
options: localVarRequestOptions,
|
|
241
|
+
};
|
|
242
|
+
}),
|
|
131
243
|
/**
|
|
132
244
|
*
|
|
133
245
|
* @summary 获取园区监控关注区域
|
|
@@ -239,6 +351,57 @@ export const OpenApiApiFp = function (configuration) {
|
|
|
239
351
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
240
352
|
});
|
|
241
353
|
},
|
|
354
|
+
/**
|
|
355
|
+
*
|
|
356
|
+
* @summary 批量新增设施设备
|
|
357
|
+
* @param {number} parkId
|
|
358
|
+
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
359
|
+
* @param {*} [options] Override http request option.
|
|
360
|
+
* @throws {RequiredError}
|
|
361
|
+
*/
|
|
362
|
+
openApiEquipmentBatchAdd(parkId, syncEquipmentVo, options) {
|
|
363
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
364
|
+
var _a, _b, _c;
|
|
365
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiEquipmentBatchAdd(parkId, syncEquipmentVo, options);
|
|
366
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
367
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OpenApiApi.openApiEquipmentBatchAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
368
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
369
|
+
});
|
|
370
|
+
},
|
|
371
|
+
/**
|
|
372
|
+
*
|
|
373
|
+
* @summary 批量更新设施设备状态
|
|
374
|
+
* @param {number} parkId
|
|
375
|
+
* @param {SyncEquipmentStatusVo} syncEquipmentStatusVo
|
|
376
|
+
* @param {*} [options] Override http request option.
|
|
377
|
+
* @throws {RequiredError}
|
|
378
|
+
*/
|
|
379
|
+
openApiEquipmentBatchStatusSync(parkId, syncEquipmentStatusVo, options) {
|
|
380
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
381
|
+
var _a, _b, _c;
|
|
382
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiEquipmentBatchStatusSync(parkId, syncEquipmentStatusVo, options);
|
|
383
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
384
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OpenApiApi.openApiEquipmentBatchStatusSync']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
385
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
386
|
+
});
|
|
387
|
+
},
|
|
388
|
+
/**
|
|
389
|
+
*
|
|
390
|
+
* @summary 获取监控列表
|
|
391
|
+
* @param {number} parkId
|
|
392
|
+
* @param {string} centerCode 中心编码(C码)
|
|
393
|
+
* @param {*} [options] Override http request option.
|
|
394
|
+
* @throws {RequiredError}
|
|
395
|
+
*/
|
|
396
|
+
openApiSurveillanceList(parkId, centerCode, options) {
|
|
397
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
398
|
+
var _a, _b, _c;
|
|
399
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiSurveillanceList(parkId, centerCode, options);
|
|
400
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
401
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OpenApiApi.openApiSurveillanceList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
402
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
403
|
+
});
|
|
404
|
+
},
|
|
242
405
|
/**
|
|
243
406
|
*
|
|
244
407
|
* @summary 获取园区监控关注区域
|
|
@@ -282,6 +445,36 @@ export const OpenApiApiFactory = function (configuration, basePath, axios) {
|
|
|
282
445
|
aiMonitoringConfigByNodeId(requestParameters, options) {
|
|
283
446
|
return localVarFp.aiMonitoringConfigByNodeId(requestParameters.parkId, requestParameters.title, requestParameters.surveillanceRoiTitle, requestParameters.surveillanceRoiId, requestParameters.algorithm, requestParameters.enabled, requestParameters.nodeId, requestParameters.page, requestParameters.pageSize, requestParameters.searchValue, requestParameters.createBy, requestParameters.createTime, requestParameters.updateBy, requestParameters.updateTime, requestParameters.remark, options).then((request) => request(axios, basePath));
|
|
284
447
|
},
|
|
448
|
+
/**
|
|
449
|
+
*
|
|
450
|
+
* @summary 批量新增设施设备
|
|
451
|
+
* @param {OpenApiApiOpenApiEquipmentBatchAddRequest} requestParameters Request parameters.
|
|
452
|
+
* @param {*} [options] Override http request option.
|
|
453
|
+
* @throws {RequiredError}
|
|
454
|
+
*/
|
|
455
|
+
openApiEquipmentBatchAdd(requestParameters, options) {
|
|
456
|
+
return localVarFp.openApiEquipmentBatchAdd(requestParameters.parkId, requestParameters.syncEquipmentVo, options).then((request) => request(axios, basePath));
|
|
457
|
+
},
|
|
458
|
+
/**
|
|
459
|
+
*
|
|
460
|
+
* @summary 批量更新设施设备状态
|
|
461
|
+
* @param {OpenApiApiOpenApiEquipmentBatchStatusSyncRequest} requestParameters Request parameters.
|
|
462
|
+
* @param {*} [options] Override http request option.
|
|
463
|
+
* @throws {RequiredError}
|
|
464
|
+
*/
|
|
465
|
+
openApiEquipmentBatchStatusSync(requestParameters, options) {
|
|
466
|
+
return localVarFp.openApiEquipmentBatchStatusSync(requestParameters.parkId, requestParameters.syncEquipmentStatusVo, options).then((request) => request(axios, basePath));
|
|
467
|
+
},
|
|
468
|
+
/**
|
|
469
|
+
*
|
|
470
|
+
* @summary 获取监控列表
|
|
471
|
+
* @param {OpenApiApiOpenApiSurveillanceListRequest} requestParameters Request parameters.
|
|
472
|
+
* @param {*} [options] Override http request option.
|
|
473
|
+
* @throws {RequiredError}
|
|
474
|
+
*/
|
|
475
|
+
openApiSurveillanceList(requestParameters, options) {
|
|
476
|
+
return localVarFp.openApiSurveillanceList(requestParameters.parkId, requestParameters.centerCode, options).then((request) => request(axios, basePath));
|
|
477
|
+
},
|
|
285
478
|
/**
|
|
286
479
|
*
|
|
287
480
|
* @summary 获取园区监控关注区域
|
|
@@ -312,6 +505,39 @@ export class OpenApiApi extends BaseAPI {
|
|
|
312
505
|
aiMonitoringConfigByNodeId(requestParameters, options) {
|
|
313
506
|
return OpenApiApiFp(this.configuration).aiMonitoringConfigByNodeId(requestParameters.parkId, requestParameters.title, requestParameters.surveillanceRoiTitle, requestParameters.surveillanceRoiId, requestParameters.algorithm, requestParameters.enabled, requestParameters.nodeId, requestParameters.page, requestParameters.pageSize, requestParameters.searchValue, requestParameters.createBy, requestParameters.createTime, requestParameters.updateBy, requestParameters.updateTime, requestParameters.remark, options).then((request) => request(this.axios, this.basePath));
|
|
314
507
|
}
|
|
508
|
+
/**
|
|
509
|
+
*
|
|
510
|
+
* @summary 批量新增设施设备
|
|
511
|
+
* @param {OpenApiApiOpenApiEquipmentBatchAddRequest} requestParameters Request parameters.
|
|
512
|
+
* @param {*} [options] Override http request option.
|
|
513
|
+
* @throws {RequiredError}
|
|
514
|
+
* @memberof OpenApiApi
|
|
515
|
+
*/
|
|
516
|
+
openApiEquipmentBatchAdd(requestParameters, options) {
|
|
517
|
+
return OpenApiApiFp(this.configuration).openApiEquipmentBatchAdd(requestParameters.parkId, requestParameters.syncEquipmentVo, options).then((request) => request(this.axios, this.basePath));
|
|
518
|
+
}
|
|
519
|
+
/**
|
|
520
|
+
*
|
|
521
|
+
* @summary 批量更新设施设备状态
|
|
522
|
+
* @param {OpenApiApiOpenApiEquipmentBatchStatusSyncRequest} requestParameters Request parameters.
|
|
523
|
+
* @param {*} [options] Override http request option.
|
|
524
|
+
* @throws {RequiredError}
|
|
525
|
+
* @memberof OpenApiApi
|
|
526
|
+
*/
|
|
527
|
+
openApiEquipmentBatchStatusSync(requestParameters, options) {
|
|
528
|
+
return OpenApiApiFp(this.configuration).openApiEquipmentBatchStatusSync(requestParameters.parkId, requestParameters.syncEquipmentStatusVo, options).then((request) => request(this.axios, this.basePath));
|
|
529
|
+
}
|
|
530
|
+
/**
|
|
531
|
+
*
|
|
532
|
+
* @summary 获取监控列表
|
|
533
|
+
* @param {OpenApiApiOpenApiSurveillanceListRequest} requestParameters Request parameters.
|
|
534
|
+
* @param {*} [options] Override http request option.
|
|
535
|
+
* @throws {RequiredError}
|
|
536
|
+
* @memberof OpenApiApi
|
|
537
|
+
*/
|
|
538
|
+
openApiSurveillanceList(requestParameters, options) {
|
|
539
|
+
return OpenApiApiFp(this.configuration).openApiSurveillanceList(requestParameters.parkId, requestParameters.centerCode, options).then((request) => request(this.axios, this.basePath));
|
|
540
|
+
}
|
|
315
541
|
/**
|
|
316
542
|
*
|
|
317
543
|
* @summary 获取园区监控关注区域
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ThirdPartySystemEnum } from './third-party-system-enum';
|
|
12
13
|
/**
|
|
13
14
|
* 设备详情
|
|
14
15
|
* @export
|
|
@@ -32,7 +33,7 @@ export interface EquipmentDetailDTO {
|
|
|
32
33
|
* @type {string}
|
|
33
34
|
* @memberof EquipmentDetailDTO
|
|
34
35
|
*/
|
|
35
|
-
'equipmentStatus'?:
|
|
36
|
+
'equipmentStatus'?: EquipmentDetailDTOEquipmentStatusEnum;
|
|
36
37
|
/**
|
|
37
38
|
* 设备系统
|
|
38
39
|
* @type {string}
|
|
@@ -219,4 +220,31 @@ export interface EquipmentDetailDTO {
|
|
|
219
220
|
* @memberof EquipmentDetailDTO
|
|
220
221
|
*/
|
|
221
222
|
'relatedEquipmentIds'?: Array<number>;
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @type {ThirdPartySystemEnum}
|
|
226
|
+
* @memberof EquipmentDetailDTO
|
|
227
|
+
*/
|
|
228
|
+
'source'?: ThirdPartySystemEnum;
|
|
229
|
+
/**
|
|
230
|
+
* 设备编码
|
|
231
|
+
* @type {string}
|
|
232
|
+
* @memberof EquipmentDetailDTO
|
|
233
|
+
*/
|
|
234
|
+
'equipmentCode'?: string;
|
|
235
|
+
/**
|
|
236
|
+
* 资产编码
|
|
237
|
+
* @type {string}
|
|
238
|
+
* @memberof EquipmentDetailDTO
|
|
239
|
+
*/
|
|
240
|
+
'famEquipmentCode'?: string;
|
|
222
241
|
}
|
|
242
|
+
export declare const EquipmentDetailDTOEquipmentStatusEnum: {
|
|
243
|
+
readonly InUse: "IN_USE";
|
|
244
|
+
readonly ToBeRepaired: "TO_BE_REPAIRED";
|
|
245
|
+
readonly ToBeScrapped: "TO_BE_SCRAPPED";
|
|
246
|
+
readonly Scrapped: "SCRAPPED";
|
|
247
|
+
readonly Disposed: "DISPOSED";
|
|
248
|
+
readonly Frozen: "FROZEN";
|
|
249
|
+
};
|
|
250
|
+
export type EquipmentDetailDTOEquipmentStatusEnum = typeof EquipmentDetailDTOEquipmentStatusEnum[keyof typeof EquipmentDetailDTOEquipmentStatusEnum];
|
|
@@ -11,4 +11,11 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
export {
|
|
14
|
+
export const EquipmentDetailDTOEquipmentStatusEnum = {
|
|
15
|
+
InUse: 'IN_USE',
|
|
16
|
+
ToBeRepaired: 'TO_BE_REPAIRED',
|
|
17
|
+
ToBeScrapped: 'TO_BE_SCRAPPED',
|
|
18
|
+
Scrapped: 'SCRAPPED',
|
|
19
|
+
Disposed: 'DISPOSED',
|
|
20
|
+
Frozen: 'FROZEN'
|
|
21
|
+
};
|
|
@@ -26,7 +26,7 @@ export interface EquipmentEditBatchVo {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof EquipmentEditBatchVo
|
|
28
28
|
*/
|
|
29
|
-
'equipmentStatus'?:
|
|
29
|
+
'equipmentStatus'?: EquipmentEditBatchVoEquipmentStatusEnum;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {Array<number>}
|
|
@@ -34,3 +34,12 @@ export interface EquipmentEditBatchVo {
|
|
|
34
34
|
*/
|
|
35
35
|
'superiorId'?: Array<number>;
|
|
36
36
|
}
|
|
37
|
+
export declare const EquipmentEditBatchVoEquipmentStatusEnum: {
|
|
38
|
+
readonly InUse: "IN_USE";
|
|
39
|
+
readonly ToBeRepaired: "TO_BE_REPAIRED";
|
|
40
|
+
readonly ToBeScrapped: "TO_BE_SCRAPPED";
|
|
41
|
+
readonly Scrapped: "SCRAPPED";
|
|
42
|
+
readonly Disposed: "DISPOSED";
|
|
43
|
+
readonly Frozen: "FROZEN";
|
|
44
|
+
};
|
|
45
|
+
export type EquipmentEditBatchVoEquipmentStatusEnum = typeof EquipmentEditBatchVoEquipmentStatusEnum[keyof typeof EquipmentEditBatchVoEquipmentStatusEnum];
|
|
@@ -11,4 +11,11 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
export {
|
|
14
|
+
export const EquipmentEditBatchVoEquipmentStatusEnum = {
|
|
15
|
+
InUse: 'IN_USE',
|
|
16
|
+
ToBeRepaired: 'TO_BE_REPAIRED',
|
|
17
|
+
ToBeScrapped: 'TO_BE_SCRAPPED',
|
|
18
|
+
Scrapped: 'SCRAPPED',
|
|
19
|
+
Disposed: 'DISPOSED',
|
|
20
|
+
Frozen: 'FROZEN'
|
|
21
|
+
};
|