@gizone/rrs-client 4.1.2-alpha.170 → 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 +4 -4
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/models/ipage-access-vo.d.ts +7 -7
- 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/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 +4 -4
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/ipage-access-vo.d.ts +7 -7
- 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/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 +4 -4
- package/models/index.ts +3 -0
- package/models/ipage-access-vo.ts +7 -7
- 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/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -243,6 +243,7 @@ models/equipment-qr-code-vo.ts
|
|
|
243
243
|
models/equipment-search-system-dto.ts
|
|
244
244
|
models/equipment-search-vo.ts
|
|
245
245
|
models/equipment-space-search-vo.ts
|
|
246
|
+
models/equipment-status.ts
|
|
246
247
|
models/equipment-system-add-vo.ts
|
|
247
248
|
models/equipment-system-edit-vo.ts
|
|
248
249
|
models/equipment-system-entity.ts
|
|
@@ -855,6 +856,7 @@ models/switch-pak-body-v2-vo.ts
|
|
|
855
856
|
models/switch-pak-body.ts
|
|
856
857
|
models/switch-park-v2-dto.ts
|
|
857
858
|
models/sync-device-unit-vo.ts
|
|
859
|
+
models/sync-equipment-status-vo.ts
|
|
858
860
|
models/sync-equipment-vo.ts
|
|
859
861
|
models/sys-config.ts
|
|
860
862
|
models/sys-dept-drop-down-box-list-dto.ts
|
|
@@ -880,6 +882,7 @@ models/system-user-msg-source-type-enum.ts
|
|
|
880
882
|
models/system-user-msg-type-enum.ts
|
|
881
883
|
models/table-data-info.ts
|
|
882
884
|
models/tenant-surrender-vo.ts
|
|
885
|
+
models/third-party-system-enum.ts
|
|
883
886
|
models/unit-item.ts
|
|
884
887
|
models/unloading-area-add-vo.ts
|
|
885
888
|
models/unloading-area-entity.ts
|
package/apis/equipment-api.ts
CHANGED
|
@@ -64,8 +64,6 @@ import type { JsonResultPageDtoEquipmentSearchSystemDTO } from '../models';
|
|
|
64
64
|
// @ts-ignore
|
|
65
65
|
import type { ModelInteger } from '../models';
|
|
66
66
|
// @ts-ignore
|
|
67
|
-
import type { SyncEquipmentVO } from '../models';
|
|
68
|
-
// @ts-ignore
|
|
69
67
|
import type { UserBatchImportUploadRequest } from '../models';
|
|
70
68
|
/**
|
|
71
69
|
* EquipmentApi - axios parameter creator
|
|
@@ -1117,46 +1115,6 @@ export const EquipmentApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1117
1115
|
options: localVarRequestOptions,
|
|
1118
1116
|
};
|
|
1119
1117
|
},
|
|
1120
|
-
/**
|
|
1121
|
-
*
|
|
1122
|
-
* @summary 同步iot设备接口
|
|
1123
|
-
* @param {SyncEquipmentVO} syncEquipmentVO
|
|
1124
|
-
* @param {*} [options] Override http request option.
|
|
1125
|
-
* @throws {RequiredError}
|
|
1126
|
-
*/
|
|
1127
|
-
syncEquipment: async (syncEquipmentVO: SyncEquipmentVO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1128
|
-
// verify required parameter 'syncEquipmentVO' is not null or undefined
|
|
1129
|
-
assertParamExists('syncEquipment', 'syncEquipmentVO', syncEquipmentVO)
|
|
1130
|
-
const localVarPath = `/gizone/equipment/sync/equipment`;
|
|
1131
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1132
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1133
|
-
let baseOptions;
|
|
1134
|
-
if (configuration) {
|
|
1135
|
-
baseOptions = configuration.baseOptions;
|
|
1136
|
-
}
|
|
1137
|
-
|
|
1138
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1139
|
-
const localVarHeaderParameter = {} as any;
|
|
1140
|
-
const localVarQueryParameter = {} as any;
|
|
1141
|
-
|
|
1142
|
-
// authentication tokenScheme required
|
|
1143
|
-
// http bearer authentication required
|
|
1144
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1149
|
-
|
|
1150
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1151
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1152
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1153
|
-
localVarRequestOptions.data = serializeDataIfNeeded(syncEquipmentVO, localVarRequestOptions, configuration)
|
|
1154
|
-
|
|
1155
|
-
return {
|
|
1156
|
-
url: toPathString(localVarUrlObj),
|
|
1157
|
-
options: localVarRequestOptions,
|
|
1158
|
-
};
|
|
1159
|
-
},
|
|
1160
1118
|
/**
|
|
1161
1119
|
*
|
|
1162
1120
|
* @summary 设备系统分类管理列表
|
|
@@ -1599,19 +1557,6 @@ export const EquipmentApiFp = function(configuration?: Configuration) {
|
|
|
1599
1557
|
const localVarOperationServerBasePath = operationServerMap['EquipmentApi.selectEquipmentInSpace']?.[localVarOperationServerIndex]?.url;
|
|
1600
1558
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1601
1559
|
},
|
|
1602
|
-
/**
|
|
1603
|
-
*
|
|
1604
|
-
* @summary 同步iot设备接口
|
|
1605
|
-
* @param {SyncEquipmentVO} syncEquipmentVO
|
|
1606
|
-
* @param {*} [options] Override http request option.
|
|
1607
|
-
* @throws {RequiredError}
|
|
1608
|
-
*/
|
|
1609
|
-
async syncEquipment(syncEquipmentVO: SyncEquipmentVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
1610
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.syncEquipment(syncEquipmentVO, options);
|
|
1611
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1612
|
-
const localVarOperationServerBasePath = operationServerMap['EquipmentApi.syncEquipment']?.[localVarOperationServerIndex]?.url;
|
|
1613
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1614
|
-
},
|
|
1615
1560
|
/**
|
|
1616
1561
|
*
|
|
1617
1562
|
* @summary 设备系统分类管理列表
|
|
@@ -1887,16 +1832,6 @@ export const EquipmentApiFactory = function (configuration?: Configuration, base
|
|
|
1887
1832
|
selectEquipmentInSpace(requestParameters: EquipmentApiSelectEquipmentInSpaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListEquipmentDetailDTO> {
|
|
1888
1833
|
return localVarFp.selectEquipmentInSpace(requestParameters.searchVo, options).then((request) => request(axios, basePath));
|
|
1889
1834
|
},
|
|
1890
|
-
/**
|
|
1891
|
-
*
|
|
1892
|
-
* @summary 同步iot设备接口
|
|
1893
|
-
* @param {EquipmentApiSyncEquipmentRequest} requestParameters Request parameters.
|
|
1894
|
-
* @param {*} [options] Override http request option.
|
|
1895
|
-
* @throws {RequiredError}
|
|
1896
|
-
*/
|
|
1897
|
-
syncEquipment(requestParameters: EquipmentApiSyncEquipmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
1898
|
-
return localVarFp.syncEquipment(requestParameters.syncEquipmentVO, options).then((request) => request(axios, basePath));
|
|
1899
|
-
},
|
|
1900
1835
|
/**
|
|
1901
1836
|
*
|
|
1902
1837
|
* @summary 设备系统分类管理列表
|
|
@@ -2377,20 +2312,6 @@ export interface EquipmentApiSelectEquipmentInSpaceRequest {
|
|
|
2377
2312
|
readonly searchVo: EquipmentSpaceSearchVo
|
|
2378
2313
|
}
|
|
2379
2314
|
|
|
2380
|
-
/**
|
|
2381
|
-
* Request parameters for syncEquipment operation in EquipmentApi.
|
|
2382
|
-
* @export
|
|
2383
|
-
* @interface EquipmentApiSyncEquipmentRequest
|
|
2384
|
-
*/
|
|
2385
|
-
export interface EquipmentApiSyncEquipmentRequest {
|
|
2386
|
-
/**
|
|
2387
|
-
*
|
|
2388
|
-
* @type {SyncEquipmentVO}
|
|
2389
|
-
* @memberof EquipmentApiSyncEquipment
|
|
2390
|
-
*/
|
|
2391
|
-
readonly syncEquipmentVO: SyncEquipmentVO
|
|
2392
|
-
}
|
|
2393
|
-
|
|
2394
2315
|
/**
|
|
2395
2316
|
* Request parameters for uploadAdd operation in EquipmentApi.
|
|
2396
2317
|
* @export
|
|
@@ -2699,18 +2620,6 @@ export class EquipmentApi extends BaseAPI {
|
|
|
2699
2620
|
return EquipmentApiFp(this.configuration).selectEquipmentInSpace(requestParameters.searchVo, options).then((request) => request(this.axios, this.basePath));
|
|
2700
2621
|
}
|
|
2701
2622
|
|
|
2702
|
-
/**
|
|
2703
|
-
*
|
|
2704
|
-
* @summary 同步iot设备接口
|
|
2705
|
-
* @param {EquipmentApiSyncEquipmentRequest} requestParameters Request parameters.
|
|
2706
|
-
* @param {*} [options] Override http request option.
|
|
2707
|
-
* @throws {RequiredError}
|
|
2708
|
-
* @memberof EquipmentApi
|
|
2709
|
-
*/
|
|
2710
|
-
public syncEquipment(requestParameters: EquipmentApiSyncEquipmentRequest, options?: RawAxiosRequestConfig) {
|
|
2711
|
-
return EquipmentApiFp(this.configuration).syncEquipment(requestParameters.syncEquipmentVO, options).then((request) => request(this.axios, this.basePath));
|
|
2712
|
-
}
|
|
2713
|
-
|
|
2714
2623
|
/**
|
|
2715
2624
|
*
|
|
2716
2625
|
* @summary 设备系统分类管理列表
|
package/apis/open-api-api.ts
CHANGED
|
@@ -26,9 +26,17 @@ import type { AiMonitoringConfigTypeEnum } from '../models';
|
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
import type { JsonResultPageDtoAiMonitoringConfigVo } from '../models';
|
|
28
28
|
// @ts-ignore
|
|
29
|
+
import type { JsonResultPageDtoSurveillanceDetailsDto } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
29
31
|
import type { JsonResultPageDtoSurveillanceRoiListVo } from '../models';
|
|
30
32
|
// @ts-ignore
|
|
33
|
+
import type { JsonResultVoid } from '../models';
|
|
34
|
+
// @ts-ignore
|
|
31
35
|
import type { ModelInteger } from '../models';
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
import type { SyncEquipmentStatusVo } from '../models';
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
import type { SyncEquipmentVo } from '../models';
|
|
32
40
|
/**
|
|
33
41
|
* OpenApiApi - axios parameter creator
|
|
34
42
|
* @export
|
|
@@ -142,6 +150,139 @@ export const OpenApiApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
142
150
|
|
|
143
151
|
|
|
144
152
|
|
|
153
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
154
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
155
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
156
|
+
|
|
157
|
+
return {
|
|
158
|
+
url: toPathString(localVarUrlObj),
|
|
159
|
+
options: localVarRequestOptions,
|
|
160
|
+
};
|
|
161
|
+
},
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @summary 批量新增设施设备
|
|
165
|
+
* @param {number} parkId
|
|
166
|
+
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
170
|
+
openApiEquipmentBatchAdd: async (parkId: number, syncEquipmentVo: SyncEquipmentVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
171
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
172
|
+
assertParamExists('openApiEquipmentBatchAdd', 'parkId', parkId)
|
|
173
|
+
// verify required parameter 'syncEquipmentVo' is not null or undefined
|
|
174
|
+
assertParamExists('openApiEquipmentBatchAdd', 'syncEquipmentVo', syncEquipmentVo)
|
|
175
|
+
const localVarPath = `/openapi/v1/main/parks/{parkId}/equipment/batch`
|
|
176
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
177
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
178
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
179
|
+
let baseOptions;
|
|
180
|
+
if (configuration) {
|
|
181
|
+
baseOptions = configuration.baseOptions;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
185
|
+
const localVarHeaderParameter = {} as any;
|
|
186
|
+
const localVarQueryParameter = {} as any;
|
|
187
|
+
|
|
188
|
+
// authentication tokenScheme required
|
|
189
|
+
// http bearer authentication required
|
|
190
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
195
|
+
|
|
196
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
197
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
198
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
199
|
+
localVarRequestOptions.data = serializeDataIfNeeded(syncEquipmentVo, localVarRequestOptions, configuration)
|
|
200
|
+
|
|
201
|
+
return {
|
|
202
|
+
url: toPathString(localVarUrlObj),
|
|
203
|
+
options: localVarRequestOptions,
|
|
204
|
+
};
|
|
205
|
+
},
|
|
206
|
+
/**
|
|
207
|
+
*
|
|
208
|
+
* @summary 批量更新设施设备状态
|
|
209
|
+
* @param {number} parkId
|
|
210
|
+
* @param {SyncEquipmentStatusVo} syncEquipmentStatusVo
|
|
211
|
+
* @param {*} [options] Override http request option.
|
|
212
|
+
* @throws {RequiredError}
|
|
213
|
+
*/
|
|
214
|
+
openApiEquipmentBatchStatusSync: async (parkId: number, syncEquipmentStatusVo: SyncEquipmentStatusVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
215
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
216
|
+
assertParamExists('openApiEquipmentBatchStatusSync', 'parkId', parkId)
|
|
217
|
+
// verify required parameter 'syncEquipmentStatusVo' is not null or undefined
|
|
218
|
+
assertParamExists('openApiEquipmentBatchStatusSync', 'syncEquipmentStatusVo', syncEquipmentStatusVo)
|
|
219
|
+
const localVarPath = `/openapi/v1/main/parks/{parkId}/equipment/batchStatusSync`
|
|
220
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
221
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
222
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
223
|
+
let baseOptions;
|
|
224
|
+
if (configuration) {
|
|
225
|
+
baseOptions = configuration.baseOptions;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
229
|
+
const localVarHeaderParameter = {} as any;
|
|
230
|
+
const localVarQueryParameter = {} as any;
|
|
231
|
+
|
|
232
|
+
// authentication tokenScheme required
|
|
233
|
+
// http bearer authentication required
|
|
234
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
239
|
+
|
|
240
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
241
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
242
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
243
|
+
localVarRequestOptions.data = serializeDataIfNeeded(syncEquipmentStatusVo, localVarRequestOptions, configuration)
|
|
244
|
+
|
|
245
|
+
return {
|
|
246
|
+
url: toPathString(localVarUrlObj),
|
|
247
|
+
options: localVarRequestOptions,
|
|
248
|
+
};
|
|
249
|
+
},
|
|
250
|
+
/**
|
|
251
|
+
*
|
|
252
|
+
* @summary 获取监控列表
|
|
253
|
+
* @param {number} parkId
|
|
254
|
+
* @param {string} centerCode 中心编码(C码)
|
|
255
|
+
* @param {*} [options] Override http request option.
|
|
256
|
+
* @throws {RequiredError}
|
|
257
|
+
*/
|
|
258
|
+
openApiSurveillanceList: async (parkId: number, centerCode: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
259
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
260
|
+
assertParamExists('openApiSurveillanceList', 'parkId', parkId)
|
|
261
|
+
// verify required parameter 'centerCode' is not null or undefined
|
|
262
|
+
assertParamExists('openApiSurveillanceList', 'centerCode', centerCode)
|
|
263
|
+
const localVarPath = `/openapi/v1/main/parks/{parkId}/surveillance`
|
|
264
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
265
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
266
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
267
|
+
let baseOptions;
|
|
268
|
+
if (configuration) {
|
|
269
|
+
baseOptions = configuration.baseOptions;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
273
|
+
const localVarHeaderParameter = {} as any;
|
|
274
|
+
const localVarQueryParameter = {} as any;
|
|
275
|
+
|
|
276
|
+
// authentication tokenScheme required
|
|
277
|
+
// http bearer authentication required
|
|
278
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
279
|
+
|
|
280
|
+
if (centerCode !== undefined) {
|
|
281
|
+
localVarQueryParameter['centerCode'] = centerCode;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
145
286
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
146
287
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
147
288
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -274,6 +415,48 @@ export const OpenApiApiFp = function(configuration?: Configuration) {
|
|
|
274
415
|
const localVarOperationServerBasePath = operationServerMap['OpenApiApi.aiMonitoringConfigByNodeId']?.[localVarOperationServerIndex]?.url;
|
|
275
416
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
276
417
|
},
|
|
418
|
+
/**
|
|
419
|
+
*
|
|
420
|
+
* @summary 批量新增设施设备
|
|
421
|
+
* @param {number} parkId
|
|
422
|
+
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
423
|
+
* @param {*} [options] Override http request option.
|
|
424
|
+
* @throws {RequiredError}
|
|
425
|
+
*/
|
|
426
|
+
async openApiEquipmentBatchAdd(parkId: number, syncEquipmentVo: SyncEquipmentVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
427
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.openApiEquipmentBatchAdd(parkId, syncEquipmentVo, options);
|
|
428
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
429
|
+
const localVarOperationServerBasePath = operationServerMap['OpenApiApi.openApiEquipmentBatchAdd']?.[localVarOperationServerIndex]?.url;
|
|
430
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
431
|
+
},
|
|
432
|
+
/**
|
|
433
|
+
*
|
|
434
|
+
* @summary 批量更新设施设备状态
|
|
435
|
+
* @param {number} parkId
|
|
436
|
+
* @param {SyncEquipmentStatusVo} syncEquipmentStatusVo
|
|
437
|
+
* @param {*} [options] Override http request option.
|
|
438
|
+
* @throws {RequiredError}
|
|
439
|
+
*/
|
|
440
|
+
async openApiEquipmentBatchStatusSync(parkId: number, syncEquipmentStatusVo: SyncEquipmentStatusVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
441
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.openApiEquipmentBatchStatusSync(parkId, syncEquipmentStatusVo, options);
|
|
442
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
443
|
+
const localVarOperationServerBasePath = operationServerMap['OpenApiApi.openApiEquipmentBatchStatusSync']?.[localVarOperationServerIndex]?.url;
|
|
444
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
445
|
+
},
|
|
446
|
+
/**
|
|
447
|
+
*
|
|
448
|
+
* @summary 获取监控列表
|
|
449
|
+
* @param {number} parkId
|
|
450
|
+
* @param {string} centerCode 中心编码(C码)
|
|
451
|
+
* @param {*} [options] Override http request option.
|
|
452
|
+
* @throws {RequiredError}
|
|
453
|
+
*/
|
|
454
|
+
async openApiSurveillanceList(parkId: number, centerCode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoSurveillanceDetailsDto>> {
|
|
455
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.openApiSurveillanceList(parkId, centerCode, options);
|
|
456
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
457
|
+
const localVarOperationServerBasePath = operationServerMap['OpenApiApi.openApiSurveillanceList']?.[localVarOperationServerIndex]?.url;
|
|
458
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
459
|
+
},
|
|
277
460
|
/**
|
|
278
461
|
*
|
|
279
462
|
* @summary 获取园区监控关注区域
|
|
@@ -315,6 +498,36 @@ export const OpenApiApiFactory = function (configuration?: Configuration, basePa
|
|
|
315
498
|
aiMonitoringConfigByNodeId(requestParameters: OpenApiApiAiMonitoringConfigByNodeIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoAiMonitoringConfigVo> {
|
|
316
499
|
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));
|
|
317
500
|
},
|
|
501
|
+
/**
|
|
502
|
+
*
|
|
503
|
+
* @summary 批量新增设施设备
|
|
504
|
+
* @param {OpenApiApiOpenApiEquipmentBatchAddRequest} requestParameters Request parameters.
|
|
505
|
+
* @param {*} [options] Override http request option.
|
|
506
|
+
* @throws {RequiredError}
|
|
507
|
+
*/
|
|
508
|
+
openApiEquipmentBatchAdd(requestParameters: OpenApiApiOpenApiEquipmentBatchAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
509
|
+
return localVarFp.openApiEquipmentBatchAdd(requestParameters.parkId, requestParameters.syncEquipmentVo, options).then((request) => request(axios, basePath));
|
|
510
|
+
},
|
|
511
|
+
/**
|
|
512
|
+
*
|
|
513
|
+
* @summary 批量更新设施设备状态
|
|
514
|
+
* @param {OpenApiApiOpenApiEquipmentBatchStatusSyncRequest} requestParameters Request parameters.
|
|
515
|
+
* @param {*} [options] Override http request option.
|
|
516
|
+
* @throws {RequiredError}
|
|
517
|
+
*/
|
|
518
|
+
openApiEquipmentBatchStatusSync(requestParameters: OpenApiApiOpenApiEquipmentBatchStatusSyncRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
519
|
+
return localVarFp.openApiEquipmentBatchStatusSync(requestParameters.parkId, requestParameters.syncEquipmentStatusVo, options).then((request) => request(axios, basePath));
|
|
520
|
+
},
|
|
521
|
+
/**
|
|
522
|
+
*
|
|
523
|
+
* @summary 获取监控列表
|
|
524
|
+
* @param {OpenApiApiOpenApiSurveillanceListRequest} requestParameters Request parameters.
|
|
525
|
+
* @param {*} [options] Override http request option.
|
|
526
|
+
* @throws {RequiredError}
|
|
527
|
+
*/
|
|
528
|
+
openApiSurveillanceList(requestParameters: OpenApiApiOpenApiSurveillanceListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoSurveillanceDetailsDto> {
|
|
529
|
+
return localVarFp.openApiSurveillanceList(requestParameters.parkId, requestParameters.centerCode, options).then((request) => request(axios, basePath));
|
|
530
|
+
},
|
|
318
531
|
/**
|
|
319
532
|
*
|
|
320
533
|
* @summary 获取园区监控关注区域
|
|
@@ -440,6 +653,69 @@ export interface OpenApiApiAiMonitoringConfigByNodeIdRequest {
|
|
|
440
653
|
readonly remark?: string
|
|
441
654
|
}
|
|
442
655
|
|
|
656
|
+
/**
|
|
657
|
+
* Request parameters for openApiEquipmentBatchAdd operation in OpenApiApi.
|
|
658
|
+
* @export
|
|
659
|
+
* @interface OpenApiApiOpenApiEquipmentBatchAddRequest
|
|
660
|
+
*/
|
|
661
|
+
export interface OpenApiApiOpenApiEquipmentBatchAddRequest {
|
|
662
|
+
/**
|
|
663
|
+
*
|
|
664
|
+
* @type {number}
|
|
665
|
+
* @memberof OpenApiApiOpenApiEquipmentBatchAdd
|
|
666
|
+
*/
|
|
667
|
+
readonly parkId: number
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
* @type {SyncEquipmentVo}
|
|
672
|
+
* @memberof OpenApiApiOpenApiEquipmentBatchAdd
|
|
673
|
+
*/
|
|
674
|
+
readonly syncEquipmentVo: SyncEquipmentVo
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* Request parameters for openApiEquipmentBatchStatusSync operation in OpenApiApi.
|
|
679
|
+
* @export
|
|
680
|
+
* @interface OpenApiApiOpenApiEquipmentBatchStatusSyncRequest
|
|
681
|
+
*/
|
|
682
|
+
export interface OpenApiApiOpenApiEquipmentBatchStatusSyncRequest {
|
|
683
|
+
/**
|
|
684
|
+
*
|
|
685
|
+
* @type {number}
|
|
686
|
+
* @memberof OpenApiApiOpenApiEquipmentBatchStatusSync
|
|
687
|
+
*/
|
|
688
|
+
readonly parkId: number
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
*
|
|
692
|
+
* @type {SyncEquipmentStatusVo}
|
|
693
|
+
* @memberof OpenApiApiOpenApiEquipmentBatchStatusSync
|
|
694
|
+
*/
|
|
695
|
+
readonly syncEquipmentStatusVo: SyncEquipmentStatusVo
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* Request parameters for openApiSurveillanceList operation in OpenApiApi.
|
|
700
|
+
* @export
|
|
701
|
+
* @interface OpenApiApiOpenApiSurveillanceListRequest
|
|
702
|
+
*/
|
|
703
|
+
export interface OpenApiApiOpenApiSurveillanceListRequest {
|
|
704
|
+
/**
|
|
705
|
+
*
|
|
706
|
+
* @type {number}
|
|
707
|
+
* @memberof OpenApiApiOpenApiSurveillanceList
|
|
708
|
+
*/
|
|
709
|
+
readonly parkId: number
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* 中心编码(C码)
|
|
713
|
+
* @type {string}
|
|
714
|
+
* @memberof OpenApiApiOpenApiSurveillanceList
|
|
715
|
+
*/
|
|
716
|
+
readonly centerCode: string
|
|
717
|
+
}
|
|
718
|
+
|
|
443
719
|
/**
|
|
444
720
|
* Request parameters for surveillanceRoiGetByParkId operation in OpenApiApi.
|
|
445
721
|
* @export
|
|
@@ -529,6 +805,42 @@ export class OpenApiApi extends BaseAPI {
|
|
|
529
805
|
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));
|
|
530
806
|
}
|
|
531
807
|
|
|
808
|
+
/**
|
|
809
|
+
*
|
|
810
|
+
* @summary 批量新增设施设备
|
|
811
|
+
* @param {OpenApiApiOpenApiEquipmentBatchAddRequest} requestParameters Request parameters.
|
|
812
|
+
* @param {*} [options] Override http request option.
|
|
813
|
+
* @throws {RequiredError}
|
|
814
|
+
* @memberof OpenApiApi
|
|
815
|
+
*/
|
|
816
|
+
public openApiEquipmentBatchAdd(requestParameters: OpenApiApiOpenApiEquipmentBatchAddRequest, options?: RawAxiosRequestConfig) {
|
|
817
|
+
return OpenApiApiFp(this.configuration).openApiEquipmentBatchAdd(requestParameters.parkId, requestParameters.syncEquipmentVo, options).then((request) => request(this.axios, this.basePath));
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
*
|
|
822
|
+
* @summary 批量更新设施设备状态
|
|
823
|
+
* @param {OpenApiApiOpenApiEquipmentBatchStatusSyncRequest} requestParameters Request parameters.
|
|
824
|
+
* @param {*} [options] Override http request option.
|
|
825
|
+
* @throws {RequiredError}
|
|
826
|
+
* @memberof OpenApiApi
|
|
827
|
+
*/
|
|
828
|
+
public openApiEquipmentBatchStatusSync(requestParameters: OpenApiApiOpenApiEquipmentBatchStatusSyncRequest, options?: RawAxiosRequestConfig) {
|
|
829
|
+
return OpenApiApiFp(this.configuration).openApiEquipmentBatchStatusSync(requestParameters.parkId, requestParameters.syncEquipmentStatusVo, options).then((request) => request(this.axios, this.basePath));
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
*
|
|
834
|
+
* @summary 获取监控列表
|
|
835
|
+
* @param {OpenApiApiOpenApiSurveillanceListRequest} requestParameters Request parameters.
|
|
836
|
+
* @param {*} [options] Override http request option.
|
|
837
|
+
* @throws {RequiredError}
|
|
838
|
+
* @memberof OpenApiApi
|
|
839
|
+
*/
|
|
840
|
+
public openApiSurveillanceList(requestParameters: OpenApiApiOpenApiSurveillanceListRequest, options?: RawAxiosRequestConfig) {
|
|
841
|
+
return OpenApiApiFp(this.configuration).openApiSurveillanceList(requestParameters.parkId, requestParameters.centerCode, options).then((request) => request(this.axios, this.basePath));
|
|
842
|
+
}
|
|
843
|
+
|
|
532
844
|
/**
|
|
533
845
|
*
|
|
534
846
|
* @summary 获取园区监控关注区域
|
|
@@ -33,7 +33,6 @@ import type { JsonResultListEquipmentTreeDTO } from '../models';
|
|
|
33
33
|
import type { JsonResultListMaintenanceStandardEntity } from '../models';
|
|
34
34
|
import type { JsonResultPageDtoEquipmentSearchSystemDTO } from '../models';
|
|
35
35
|
import type { ModelInteger } from '../models';
|
|
36
|
-
import type { SyncEquipmentVO } from '../models';
|
|
37
36
|
import type { UserBatchImportUploadRequest } from '../models';
|
|
38
37
|
/**
|
|
39
38
|
* EquipmentApi - axios parameter creator
|
|
@@ -245,14 +244,6 @@ export declare const EquipmentApiAxiosParamCreator: (configuration?: Configurati
|
|
|
245
244
|
* @throws {RequiredError}
|
|
246
245
|
*/
|
|
247
246
|
selectEquipmentInSpace: (searchVo: EquipmentSpaceSearchVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
248
|
-
/**
|
|
249
|
-
*
|
|
250
|
-
* @summary 同步iot设备接口
|
|
251
|
-
* @param {SyncEquipmentVO} syncEquipmentVO
|
|
252
|
-
* @param {*} [options] Override http request option.
|
|
253
|
-
* @throws {RequiredError}
|
|
254
|
-
*/
|
|
255
|
-
syncEquipment: (syncEquipmentVO: SyncEquipmentVO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
256
247
|
/**
|
|
257
248
|
*
|
|
258
249
|
* @summary 设备系统分类管理列表
|
|
@@ -487,14 +478,6 @@ export declare const EquipmentApiFp: (configuration?: Configuration) => {
|
|
|
487
478
|
* @throws {RequiredError}
|
|
488
479
|
*/
|
|
489
480
|
selectEquipmentInSpace(searchVo: EquipmentSpaceSearchVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListEquipmentDetailDTO>>;
|
|
490
|
-
/**
|
|
491
|
-
*
|
|
492
|
-
* @summary 同步iot设备接口
|
|
493
|
-
* @param {SyncEquipmentVO} syncEquipmentVO
|
|
494
|
-
* @param {*} [options] Override http request option.
|
|
495
|
-
* @throws {RequiredError}
|
|
496
|
-
*/
|
|
497
|
-
syncEquipment(syncEquipmentVO: SyncEquipmentVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>>;
|
|
498
481
|
/**
|
|
499
482
|
*
|
|
500
483
|
* @summary 设备系统分类管理列表
|
|
@@ -705,14 +688,6 @@ export declare const EquipmentApiFactory: (configuration?: Configuration, basePa
|
|
|
705
688
|
* @throws {RequiredError}
|
|
706
689
|
*/
|
|
707
690
|
selectEquipmentInSpace(requestParameters: EquipmentApiSelectEquipmentInSpaceRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListEquipmentDetailDTO>;
|
|
708
|
-
/**
|
|
709
|
-
*
|
|
710
|
-
* @summary 同步iot设备接口
|
|
711
|
-
* @param {EquipmentApiSyncEquipmentRequest} requestParameters Request parameters.
|
|
712
|
-
* @param {*} [options] Override http request option.
|
|
713
|
-
* @throws {RequiredError}
|
|
714
|
-
*/
|
|
715
|
-
syncEquipment(requestParameters: EquipmentApiSyncEquipmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult>;
|
|
716
691
|
/**
|
|
717
692
|
*
|
|
718
693
|
* @summary 设备系统分类管理列表
|
|
@@ -1141,19 +1116,6 @@ export interface EquipmentApiSelectEquipmentInSpaceRequest {
|
|
|
1141
1116
|
*/
|
|
1142
1117
|
readonly searchVo: EquipmentSpaceSearchVo;
|
|
1143
1118
|
}
|
|
1144
|
-
/**
|
|
1145
|
-
* Request parameters for syncEquipment operation in EquipmentApi.
|
|
1146
|
-
* @export
|
|
1147
|
-
* @interface EquipmentApiSyncEquipmentRequest
|
|
1148
|
-
*/
|
|
1149
|
-
export interface EquipmentApiSyncEquipmentRequest {
|
|
1150
|
-
/**
|
|
1151
|
-
*
|
|
1152
|
-
* @type {SyncEquipmentVO}
|
|
1153
|
-
* @memberof EquipmentApiSyncEquipment
|
|
1154
|
-
*/
|
|
1155
|
-
readonly syncEquipmentVO: SyncEquipmentVO;
|
|
1156
|
-
}
|
|
1157
1119
|
/**
|
|
1158
1120
|
* Request parameters for uploadAdd operation in EquipmentApi.
|
|
1159
1121
|
* @export
|
|
@@ -1391,15 +1353,6 @@ export declare class EquipmentApi extends BaseAPI {
|
|
|
1391
1353
|
* @memberof EquipmentApi
|
|
1392
1354
|
*/
|
|
1393
1355
|
selectEquipmentInSpace(requestParameters: EquipmentApiSelectEquipmentInSpaceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultListEquipmentDetailDTO, any>>;
|
|
1394
|
-
/**
|
|
1395
|
-
*
|
|
1396
|
-
* @summary 同步iot设备接口
|
|
1397
|
-
* @param {EquipmentApiSyncEquipmentRequest} requestParameters Request parameters.
|
|
1398
|
-
* @param {*} [options] Override http request option.
|
|
1399
|
-
* @throws {RequiredError}
|
|
1400
|
-
* @memberof EquipmentApi
|
|
1401
|
-
*/
|
|
1402
|
-
syncEquipment(requestParameters: EquipmentApiSyncEquipmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResult, any>>;
|
|
1403
1356
|
/**
|
|
1404
1357
|
*
|
|
1405
1358
|
* @summary 设备系统分类管理列表
|