@gizone/rrs-client 4.2.0-alpha.281 → 4.2.0-alpha.283
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 +0 -1
- package/api.ts +0 -1
- package/apis/open-api-api.ts +62 -26
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/apis/open-api-api.d.ts +34 -10
- package/dist/apis/open-api-api.js +39 -24
- package/dist/esm/api.d.ts +0 -1
- package/dist/esm/api.js +0 -1
- package/dist/esm/apis/open-api-api.d.ts +34 -10
- package/dist/esm/apis/open-api-api.js +39 -24
- package/dist/esm/models/get-user-wx200-response.d.ts +9 -9
- package/dist/esm/models/ipage-access-vo.d.ts +6 -6
- package/dist/esm/models/login-type-enum.d.ts +0 -2
- package/dist/esm/models/login-type-enum.js +1 -3
- package/dist/esm/models/sync-equipment-status-vo.d.ts +2 -2
- package/dist/esm/models/sync-equipment-vo.d.ts +2 -2
- package/dist/esm/models/sys-user.d.ts +0 -6
- package/dist/models/get-user-wx200-response.d.ts +9 -9
- package/dist/models/ipage-access-vo.d.ts +6 -6
- package/dist/models/login-type-enum.d.ts +0 -2
- package/dist/models/login-type-enum.js +1 -3
- package/dist/models/sync-equipment-status-vo.d.ts +2 -2
- package/dist/models/sync-equipment-vo.d.ts +2 -2
- package/dist/models/sys-user.d.ts +0 -6
- package/models/get-user-wx200-response.ts +9 -9
- package/models/ipage-access-vo.ts +6 -6
- package/models/login-type-enum.ts +1 -3
- package/models/sync-equipment-status-vo.ts +2 -2
- package/models/sync-equipment-vo.ts +2 -2
- package/models/sys-user.ts +0 -6
- package/package.json +1 -1
- package/apis/hwork-api.ts +0 -167
- package/dist/apis/hwork-api.d.ts +0 -96
- package/dist/apis/hwork-api.js +0 -145
- package/dist/esm/apis/hwork-api.d.ts +0 -96
- package/dist/esm/apis/hwork-api.js +0 -138
package/.openapi-generator/FILES
CHANGED
package/api.ts
CHANGED
|
@@ -37,7 +37,6 @@ export * from './apis/excel-language-controller-api';
|
|
|
37
37
|
export * from './apis/feedback-api';
|
|
38
38
|
export * from './apis/file-api';
|
|
39
39
|
export * from './apis/fire-safety-api';
|
|
40
|
-
export * from './apis/hwork-api';
|
|
41
40
|
export * from './apis/inspection-standard-api';
|
|
42
41
|
export * from './apis/internal-api';
|
|
43
42
|
export * from './apis/inventory-api';
|
package/apis/open-api-api.ts
CHANGED
|
@@ -162,14 +162,18 @@ export const OpenApiApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
162
162
|
/**
|
|
163
163
|
*
|
|
164
164
|
* @summary 批量新增设施设备
|
|
165
|
+
* @param {number} parkId
|
|
165
166
|
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
166
167
|
* @param {*} [options] Override http request option.
|
|
167
168
|
* @throws {RequiredError}
|
|
168
169
|
*/
|
|
169
|
-
openApiEquipmentBatchAdd: async (syncEquipmentVo: SyncEquipmentVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
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)
|
|
170
173
|
// verify required parameter 'syncEquipmentVo' is not null or undefined
|
|
171
174
|
assertParamExists('openApiEquipmentBatchAdd', 'syncEquipmentVo', syncEquipmentVo)
|
|
172
|
-
const localVarPath = `/openapi/v1/main/parks/equipment/batch
|
|
175
|
+
const localVarPath = `/openapi/v1/main/parks/{parkId}/equipment/batch`
|
|
176
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
173
177
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
174
178
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
175
179
|
let baseOptions;
|
|
@@ -202,14 +206,18 @@ export const OpenApiApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
202
206
|
/**
|
|
203
207
|
*
|
|
204
208
|
* @summary 批量更新设施设备状态
|
|
209
|
+
* @param {number} parkId
|
|
205
210
|
* @param {SyncEquipmentStatusVo} syncEquipmentStatusVo
|
|
206
211
|
* @param {*} [options] Override http request option.
|
|
207
212
|
* @throws {RequiredError}
|
|
208
213
|
*/
|
|
209
|
-
openApiEquipmentBatchStatusSync: async (syncEquipmentStatusVo: SyncEquipmentStatusVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
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)
|
|
210
217
|
// verify required parameter 'syncEquipmentStatusVo' is not null or undefined
|
|
211
218
|
assertParamExists('openApiEquipmentBatchStatusSync', 'syncEquipmentStatusVo', syncEquipmentStatusVo)
|
|
212
|
-
const localVarPath = `/openapi/v1/main/parks/equipment/batchStatusSync
|
|
219
|
+
const localVarPath = `/openapi/v1/main/parks/{parkId}/equipment/batchStatusSync`
|
|
220
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
213
221
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
214
222
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
215
223
|
let baseOptions;
|
|
@@ -242,14 +250,18 @@ export const OpenApiApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
242
250
|
/**
|
|
243
251
|
*
|
|
244
252
|
* @summary 获取监控列表
|
|
245
|
-
* @param {
|
|
253
|
+
* @param {number} parkId
|
|
254
|
+
* @param {string} centerCode 中心编码(C码)
|
|
246
255
|
* @param {*} [options] Override http request option.
|
|
247
256
|
* @throws {RequiredError}
|
|
248
257
|
*/
|
|
249
|
-
openApiSurveillanceList: async (
|
|
250
|
-
// verify required parameter '
|
|
251
|
-
assertParamExists('openApiSurveillanceList', '
|
|
252
|
-
|
|
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)));
|
|
253
265
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
254
266
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
255
267
|
let baseOptions;
|
|
@@ -265,8 +277,8 @@ export const OpenApiApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
265
277
|
// http bearer authentication required
|
|
266
278
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
267
279
|
|
|
268
|
-
if (
|
|
269
|
-
localVarQueryParameter['
|
|
280
|
+
if (centerCode !== undefined) {
|
|
281
|
+
localVarQueryParameter['centerCode'] = centerCode;
|
|
270
282
|
}
|
|
271
283
|
|
|
272
284
|
|
|
@@ -406,12 +418,13 @@ export const OpenApiApiFp = function(configuration?: Configuration) {
|
|
|
406
418
|
/**
|
|
407
419
|
*
|
|
408
420
|
* @summary 批量新增设施设备
|
|
421
|
+
* @param {number} parkId
|
|
409
422
|
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
410
423
|
* @param {*} [options] Override http request option.
|
|
411
424
|
* @throws {RequiredError}
|
|
412
425
|
*/
|
|
413
|
-
async openApiEquipmentBatchAdd(syncEquipmentVo: SyncEquipmentVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
414
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.openApiEquipmentBatchAdd(syncEquipmentVo, options);
|
|
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);
|
|
415
428
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
416
429
|
const localVarOperationServerBasePath = operationServerMap['OpenApiApi.openApiEquipmentBatchAdd']?.[localVarOperationServerIndex]?.url;
|
|
417
430
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -419,12 +432,13 @@ export const OpenApiApiFp = function(configuration?: Configuration) {
|
|
|
419
432
|
/**
|
|
420
433
|
*
|
|
421
434
|
* @summary 批量更新设施设备状态
|
|
435
|
+
* @param {number} parkId
|
|
422
436
|
* @param {SyncEquipmentStatusVo} syncEquipmentStatusVo
|
|
423
437
|
* @param {*} [options] Override http request option.
|
|
424
438
|
* @throws {RequiredError}
|
|
425
439
|
*/
|
|
426
|
-
async openApiEquipmentBatchStatusSync(syncEquipmentStatusVo: SyncEquipmentStatusVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
427
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.openApiEquipmentBatchStatusSync(syncEquipmentStatusVo, options);
|
|
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);
|
|
428
442
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
429
443
|
const localVarOperationServerBasePath = operationServerMap['OpenApiApi.openApiEquipmentBatchStatusSync']?.[localVarOperationServerIndex]?.url;
|
|
430
444
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -432,12 +446,13 @@ export const OpenApiApiFp = function(configuration?: Configuration) {
|
|
|
432
446
|
/**
|
|
433
447
|
*
|
|
434
448
|
* @summary 获取监控列表
|
|
435
|
-
* @param {
|
|
449
|
+
* @param {number} parkId
|
|
450
|
+
* @param {string} centerCode 中心编码(C码)
|
|
436
451
|
* @param {*} [options] Override http request option.
|
|
437
452
|
* @throws {RequiredError}
|
|
438
453
|
*/
|
|
439
|
-
async openApiSurveillanceList(
|
|
440
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.openApiSurveillanceList(
|
|
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);
|
|
441
456
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
442
457
|
const localVarOperationServerBasePath = operationServerMap['OpenApiApi.openApiSurveillanceList']?.[localVarOperationServerIndex]?.url;
|
|
443
458
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -491,7 +506,7 @@ export const OpenApiApiFactory = function (configuration?: Configuration, basePa
|
|
|
491
506
|
* @throws {RequiredError}
|
|
492
507
|
*/
|
|
493
508
|
openApiEquipmentBatchAdd(requestParameters: OpenApiApiOpenApiEquipmentBatchAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
494
|
-
return localVarFp.openApiEquipmentBatchAdd(requestParameters.syncEquipmentVo, options).then((request) => request(axios, basePath));
|
|
509
|
+
return localVarFp.openApiEquipmentBatchAdd(requestParameters.parkId, requestParameters.syncEquipmentVo, options).then((request) => request(axios, basePath));
|
|
495
510
|
},
|
|
496
511
|
/**
|
|
497
512
|
*
|
|
@@ -501,7 +516,7 @@ export const OpenApiApiFactory = function (configuration?: Configuration, basePa
|
|
|
501
516
|
* @throws {RequiredError}
|
|
502
517
|
*/
|
|
503
518
|
openApiEquipmentBatchStatusSync(requestParameters: OpenApiApiOpenApiEquipmentBatchStatusSyncRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
504
|
-
return localVarFp.openApiEquipmentBatchStatusSync(requestParameters.syncEquipmentStatusVo, options).then((request) => request(axios, basePath));
|
|
519
|
+
return localVarFp.openApiEquipmentBatchStatusSync(requestParameters.parkId, requestParameters.syncEquipmentStatusVo, options).then((request) => request(axios, basePath));
|
|
505
520
|
},
|
|
506
521
|
/**
|
|
507
522
|
*
|
|
@@ -511,7 +526,7 @@ export const OpenApiApiFactory = function (configuration?: Configuration, basePa
|
|
|
511
526
|
* @throws {RequiredError}
|
|
512
527
|
*/
|
|
513
528
|
openApiSurveillanceList(requestParameters: OpenApiApiOpenApiSurveillanceListRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoSurveillanceDetailsDto> {
|
|
514
|
-
return localVarFp.openApiSurveillanceList(requestParameters.
|
|
529
|
+
return localVarFp.openApiSurveillanceList(requestParameters.parkId, requestParameters.centerCode, options).then((request) => request(axios, basePath));
|
|
515
530
|
},
|
|
516
531
|
/**
|
|
517
532
|
*
|
|
@@ -644,6 +659,13 @@ export interface OpenApiApiAiMonitoringConfigByNodeIdRequest {
|
|
|
644
659
|
* @interface OpenApiApiOpenApiEquipmentBatchAddRequest
|
|
645
660
|
*/
|
|
646
661
|
export interface OpenApiApiOpenApiEquipmentBatchAddRequest {
|
|
662
|
+
/**
|
|
663
|
+
*
|
|
664
|
+
* @type {number}
|
|
665
|
+
* @memberof OpenApiApiOpenApiEquipmentBatchAdd
|
|
666
|
+
*/
|
|
667
|
+
readonly parkId: number
|
|
668
|
+
|
|
647
669
|
/**
|
|
648
670
|
*
|
|
649
671
|
* @type {SyncEquipmentVo}
|
|
@@ -658,6 +680,13 @@ export interface OpenApiApiOpenApiEquipmentBatchAddRequest {
|
|
|
658
680
|
* @interface OpenApiApiOpenApiEquipmentBatchStatusSyncRequest
|
|
659
681
|
*/
|
|
660
682
|
export interface OpenApiApiOpenApiEquipmentBatchStatusSyncRequest {
|
|
683
|
+
/**
|
|
684
|
+
*
|
|
685
|
+
* @type {number}
|
|
686
|
+
* @memberof OpenApiApiOpenApiEquipmentBatchStatusSync
|
|
687
|
+
*/
|
|
688
|
+
readonly parkId: number
|
|
689
|
+
|
|
661
690
|
/**
|
|
662
691
|
*
|
|
663
692
|
* @type {SyncEquipmentStatusVo}
|
|
@@ -673,11 +702,18 @@ export interface OpenApiApiOpenApiEquipmentBatchStatusSyncRequest {
|
|
|
673
702
|
*/
|
|
674
703
|
export interface OpenApiApiOpenApiSurveillanceListRequest {
|
|
675
704
|
/**
|
|
676
|
-
*
|
|
705
|
+
*
|
|
706
|
+
* @type {number}
|
|
707
|
+
* @memberof OpenApiApiOpenApiSurveillanceList
|
|
708
|
+
*/
|
|
709
|
+
readonly parkId: number
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* 中心编码(C码)
|
|
677
713
|
* @type {string}
|
|
678
714
|
* @memberof OpenApiApiOpenApiSurveillanceList
|
|
679
715
|
*/
|
|
680
|
-
readonly
|
|
716
|
+
readonly centerCode: string
|
|
681
717
|
}
|
|
682
718
|
|
|
683
719
|
/**
|
|
@@ -778,7 +814,7 @@ export class OpenApiApi extends BaseAPI {
|
|
|
778
814
|
* @memberof OpenApiApi
|
|
779
815
|
*/
|
|
780
816
|
public openApiEquipmentBatchAdd(requestParameters: OpenApiApiOpenApiEquipmentBatchAddRequest, options?: RawAxiosRequestConfig) {
|
|
781
|
-
return OpenApiApiFp(this.configuration).openApiEquipmentBatchAdd(requestParameters.syncEquipmentVo, options).then((request) => request(this.axios, this.basePath));
|
|
817
|
+
return OpenApiApiFp(this.configuration).openApiEquipmentBatchAdd(requestParameters.parkId, requestParameters.syncEquipmentVo, options).then((request) => request(this.axios, this.basePath));
|
|
782
818
|
}
|
|
783
819
|
|
|
784
820
|
/**
|
|
@@ -790,7 +826,7 @@ export class OpenApiApi extends BaseAPI {
|
|
|
790
826
|
* @memberof OpenApiApi
|
|
791
827
|
*/
|
|
792
828
|
public openApiEquipmentBatchStatusSync(requestParameters: OpenApiApiOpenApiEquipmentBatchStatusSyncRequest, options?: RawAxiosRequestConfig) {
|
|
793
|
-
return OpenApiApiFp(this.configuration).openApiEquipmentBatchStatusSync(requestParameters.syncEquipmentStatusVo, options).then((request) => request(this.axios, this.basePath));
|
|
829
|
+
return OpenApiApiFp(this.configuration).openApiEquipmentBatchStatusSync(requestParameters.parkId, requestParameters.syncEquipmentStatusVo, options).then((request) => request(this.axios, this.basePath));
|
|
794
830
|
}
|
|
795
831
|
|
|
796
832
|
/**
|
|
@@ -802,7 +838,7 @@ export class OpenApiApi extends BaseAPI {
|
|
|
802
838
|
* @memberof OpenApiApi
|
|
803
839
|
*/
|
|
804
840
|
public openApiSurveillanceList(requestParameters: OpenApiApiOpenApiSurveillanceListRequest, options?: RawAxiosRequestConfig) {
|
|
805
|
-
return OpenApiApiFp(this.configuration).openApiSurveillanceList(requestParameters.
|
|
841
|
+
return OpenApiApiFp(this.configuration).openApiSurveillanceList(requestParameters.parkId, requestParameters.centerCode, options).then((request) => request(this.axios, this.basePath));
|
|
806
842
|
}
|
|
807
843
|
|
|
808
844
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -32,7 +32,6 @@ export * from './apis/excel-language-controller-api';
|
|
|
32
32
|
export * from './apis/feedback-api';
|
|
33
33
|
export * from './apis/file-api';
|
|
34
34
|
export * from './apis/fire-safety-api';
|
|
35
|
-
export * from './apis/hwork-api';
|
|
36
35
|
export * from './apis/inspection-standard-api';
|
|
37
36
|
export * from './apis/internal-api';
|
|
38
37
|
export * from './apis/inventory-api';
|
package/dist/api.js
CHANGED
|
@@ -50,7 +50,6 @@ __exportStar(require("./apis/excel-language-controller-api"), exports);
|
|
|
50
50
|
__exportStar(require("./apis/feedback-api"), exports);
|
|
51
51
|
__exportStar(require("./apis/file-api"), exports);
|
|
52
52
|
__exportStar(require("./apis/fire-safety-api"), exports);
|
|
53
|
-
__exportStar(require("./apis/hwork-api"), exports);
|
|
54
53
|
__exportStar(require("./apis/inspection-standard-api"), exports);
|
|
55
54
|
__exportStar(require("./apis/internal-api"), exports);
|
|
56
55
|
__exportStar(require("./apis/inventory-api"), exports);
|
|
@@ -50,27 +50,30 @@ export declare const OpenApiApiAxiosParamCreator: (configuration?: Configuration
|
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @summary 批量新增设施设备
|
|
53
|
+
* @param {number} parkId
|
|
53
54
|
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
54
55
|
* @param {*} [options] Override http request option.
|
|
55
56
|
* @throws {RequiredError}
|
|
56
57
|
*/
|
|
57
|
-
openApiEquipmentBatchAdd: (syncEquipmentVo: SyncEquipmentVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
|
+
openApiEquipmentBatchAdd: (parkId: number, syncEquipmentVo: SyncEquipmentVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
59
|
/**
|
|
59
60
|
*
|
|
60
61
|
* @summary 批量更新设施设备状态
|
|
62
|
+
* @param {number} parkId
|
|
61
63
|
* @param {SyncEquipmentStatusVo} syncEquipmentStatusVo
|
|
62
64
|
* @param {*} [options] Override http request option.
|
|
63
65
|
* @throws {RequiredError}
|
|
64
66
|
*/
|
|
65
|
-
openApiEquipmentBatchStatusSync: (syncEquipmentStatusVo: SyncEquipmentStatusVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
|
+
openApiEquipmentBatchStatusSync: (parkId: number, syncEquipmentStatusVo: SyncEquipmentStatusVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
68
|
/**
|
|
67
69
|
*
|
|
68
70
|
* @summary 获取监控列表
|
|
69
|
-
* @param {
|
|
71
|
+
* @param {number} parkId
|
|
72
|
+
* @param {string} centerCode 中心编码(C码)
|
|
70
73
|
* @param {*} [options] Override http request option.
|
|
71
74
|
* @throws {RequiredError}
|
|
72
75
|
*/
|
|
73
|
-
openApiSurveillanceList: (
|
|
76
|
+
openApiSurveillanceList: (parkId: number, centerCode: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
77
|
/**
|
|
75
78
|
*
|
|
76
79
|
* @summary 获取园区监控关注区域
|
|
@@ -118,27 +121,30 @@ export declare const OpenApiApiFp: (configuration?: Configuration) => {
|
|
|
118
121
|
/**
|
|
119
122
|
*
|
|
120
123
|
* @summary 批量新增设施设备
|
|
124
|
+
* @param {number} parkId
|
|
121
125
|
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
122
126
|
* @param {*} [options] Override http request option.
|
|
123
127
|
* @throws {RequiredError}
|
|
124
128
|
*/
|
|
125
|
-
openApiEquipmentBatchAdd(syncEquipmentVo: SyncEquipmentVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
129
|
+
openApiEquipmentBatchAdd(parkId: number, syncEquipmentVo: SyncEquipmentVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
126
130
|
/**
|
|
127
131
|
*
|
|
128
132
|
* @summary 批量更新设施设备状态
|
|
133
|
+
* @param {number} parkId
|
|
129
134
|
* @param {SyncEquipmentStatusVo} syncEquipmentStatusVo
|
|
130
135
|
* @param {*} [options] Override http request option.
|
|
131
136
|
* @throws {RequiredError}
|
|
132
137
|
*/
|
|
133
|
-
openApiEquipmentBatchStatusSync(syncEquipmentStatusVo: SyncEquipmentStatusVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
138
|
+
openApiEquipmentBatchStatusSync(parkId: number, syncEquipmentStatusVo: SyncEquipmentStatusVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
134
139
|
/**
|
|
135
140
|
*
|
|
136
141
|
* @summary 获取监控列表
|
|
137
|
-
* @param {
|
|
142
|
+
* @param {number} parkId
|
|
143
|
+
* @param {string} centerCode 中心编码(C码)
|
|
138
144
|
* @param {*} [options] Override http request option.
|
|
139
145
|
* @throws {RequiredError}
|
|
140
146
|
*/
|
|
141
|
-
openApiSurveillanceList(
|
|
147
|
+
openApiSurveillanceList(parkId: number, centerCode: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoSurveillanceDetailsDto>>;
|
|
142
148
|
/**
|
|
143
149
|
*
|
|
144
150
|
* @summary 获取园区监控关注区域
|
|
@@ -305,6 +311,12 @@ export interface OpenApiApiAiMonitoringConfigByNodeIdRequest {
|
|
|
305
311
|
* @interface OpenApiApiOpenApiEquipmentBatchAddRequest
|
|
306
312
|
*/
|
|
307
313
|
export interface OpenApiApiOpenApiEquipmentBatchAddRequest {
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
* @type {number}
|
|
317
|
+
* @memberof OpenApiApiOpenApiEquipmentBatchAdd
|
|
318
|
+
*/
|
|
319
|
+
readonly parkId: number;
|
|
308
320
|
/**
|
|
309
321
|
*
|
|
310
322
|
* @type {SyncEquipmentVo}
|
|
@@ -318,6 +330,12 @@ export interface OpenApiApiOpenApiEquipmentBatchAddRequest {
|
|
|
318
330
|
* @interface OpenApiApiOpenApiEquipmentBatchStatusSyncRequest
|
|
319
331
|
*/
|
|
320
332
|
export interface OpenApiApiOpenApiEquipmentBatchStatusSyncRequest {
|
|
333
|
+
/**
|
|
334
|
+
*
|
|
335
|
+
* @type {number}
|
|
336
|
+
* @memberof OpenApiApiOpenApiEquipmentBatchStatusSync
|
|
337
|
+
*/
|
|
338
|
+
readonly parkId: number;
|
|
321
339
|
/**
|
|
322
340
|
*
|
|
323
341
|
* @type {SyncEquipmentStatusVo}
|
|
@@ -332,11 +350,17 @@ export interface OpenApiApiOpenApiEquipmentBatchStatusSyncRequest {
|
|
|
332
350
|
*/
|
|
333
351
|
export interface OpenApiApiOpenApiSurveillanceListRequest {
|
|
334
352
|
/**
|
|
335
|
-
*
|
|
353
|
+
*
|
|
354
|
+
* @type {number}
|
|
355
|
+
* @memberof OpenApiApiOpenApiSurveillanceList
|
|
356
|
+
*/
|
|
357
|
+
readonly parkId: number;
|
|
358
|
+
/**
|
|
359
|
+
* 中心编码(C码)
|
|
336
360
|
* @type {string}
|
|
337
361
|
* @memberof OpenApiApiOpenApiSurveillanceList
|
|
338
362
|
*/
|
|
339
|
-
readonly
|
|
363
|
+
readonly centerCode: string;
|
|
340
364
|
}
|
|
341
365
|
/**
|
|
342
366
|
* Request parameters for surveillanceRoiGetByParkId operation in OpenApiApi.
|
|
@@ -134,14 +134,18 @@ const OpenApiApiAxiosParamCreator = function (configuration) {
|
|
|
134
134
|
/**
|
|
135
135
|
*
|
|
136
136
|
* @summary 批量新增设施设备
|
|
137
|
+
* @param {number} parkId
|
|
137
138
|
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
138
139
|
* @param {*} [options] Override http request option.
|
|
139
140
|
* @throws {RequiredError}
|
|
140
141
|
*/
|
|
141
|
-
openApiEquipmentBatchAdd: (syncEquipmentVo_1, ...args_1) => __awaiter(this, [syncEquipmentVo_1, ...args_1], void 0, function* (syncEquipmentVo, options = {}) {
|
|
142
|
+
openApiEquipmentBatchAdd: (parkId_1, syncEquipmentVo_1, ...args_1) => __awaiter(this, [parkId_1, syncEquipmentVo_1, ...args_1], void 0, function* (parkId, syncEquipmentVo, options = {}) {
|
|
143
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
144
|
+
(0, common_1.assertParamExists)('openApiEquipmentBatchAdd', 'parkId', parkId);
|
|
142
145
|
// verify required parameter 'syncEquipmentVo' is not null or undefined
|
|
143
146
|
(0, common_1.assertParamExists)('openApiEquipmentBatchAdd', 'syncEquipmentVo', syncEquipmentVo);
|
|
144
|
-
const localVarPath = `/openapi/v1/main/parks/equipment/batch
|
|
147
|
+
const localVarPath = `/openapi/v1/main/parks/{parkId}/equipment/batch`
|
|
148
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
145
149
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
146
150
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
147
151
|
let baseOptions;
|
|
@@ -167,14 +171,18 @@ const OpenApiApiAxiosParamCreator = function (configuration) {
|
|
|
167
171
|
/**
|
|
168
172
|
*
|
|
169
173
|
* @summary 批量更新设施设备状态
|
|
174
|
+
* @param {number} parkId
|
|
170
175
|
* @param {SyncEquipmentStatusVo} syncEquipmentStatusVo
|
|
171
176
|
* @param {*} [options] Override http request option.
|
|
172
177
|
* @throws {RequiredError}
|
|
173
178
|
*/
|
|
174
|
-
openApiEquipmentBatchStatusSync: (syncEquipmentStatusVo_1, ...args_1) => __awaiter(this, [syncEquipmentStatusVo_1, ...args_1], void 0, function* (syncEquipmentStatusVo, options = {}) {
|
|
179
|
+
openApiEquipmentBatchStatusSync: (parkId_1, syncEquipmentStatusVo_1, ...args_1) => __awaiter(this, [parkId_1, syncEquipmentStatusVo_1, ...args_1], void 0, function* (parkId, syncEquipmentStatusVo, options = {}) {
|
|
180
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
181
|
+
(0, common_1.assertParamExists)('openApiEquipmentBatchStatusSync', 'parkId', parkId);
|
|
175
182
|
// verify required parameter 'syncEquipmentStatusVo' is not null or undefined
|
|
176
183
|
(0, common_1.assertParamExists)('openApiEquipmentBatchStatusSync', 'syncEquipmentStatusVo', syncEquipmentStatusVo);
|
|
177
|
-
const localVarPath = `/openapi/v1/main/parks/equipment/batchStatusSync
|
|
184
|
+
const localVarPath = `/openapi/v1/main/parks/{parkId}/equipment/batchStatusSync`
|
|
185
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
178
186
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
179
187
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
180
188
|
let baseOptions;
|
|
@@ -200,14 +208,18 @@ const OpenApiApiAxiosParamCreator = function (configuration) {
|
|
|
200
208
|
/**
|
|
201
209
|
*
|
|
202
210
|
* @summary 获取监控列表
|
|
203
|
-
* @param {
|
|
211
|
+
* @param {number} parkId
|
|
212
|
+
* @param {string} centerCode 中心编码(C码)
|
|
204
213
|
* @param {*} [options] Override http request option.
|
|
205
214
|
* @throws {RequiredError}
|
|
206
215
|
*/
|
|
207
|
-
openApiSurveillanceList: (
|
|
208
|
-
// verify required parameter '
|
|
209
|
-
(0, common_1.assertParamExists)('openApiSurveillanceList', '
|
|
210
|
-
|
|
216
|
+
openApiSurveillanceList: (parkId_1, centerCode_1, ...args_1) => __awaiter(this, [parkId_1, centerCode_1, ...args_1], void 0, function* (parkId, centerCode, options = {}) {
|
|
217
|
+
// verify required parameter 'parkId' is not null or undefined
|
|
218
|
+
(0, common_1.assertParamExists)('openApiSurveillanceList', 'parkId', parkId);
|
|
219
|
+
// verify required parameter 'centerCode' is not null or undefined
|
|
220
|
+
(0, common_1.assertParamExists)('openApiSurveillanceList', 'centerCode', centerCode);
|
|
221
|
+
const localVarPath = `/openapi/v1/main/parks/{parkId}/surveillance`
|
|
222
|
+
.replace(`{${"parkId"}}`, encodeURIComponent(String(parkId)));
|
|
211
223
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
212
224
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
213
225
|
let baseOptions;
|
|
@@ -220,8 +232,8 @@ const OpenApiApiAxiosParamCreator = function (configuration) {
|
|
|
220
232
|
// authentication tokenScheme required
|
|
221
233
|
// http bearer authentication required
|
|
222
234
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
223
|
-
if (
|
|
224
|
-
localVarQueryParameter['
|
|
235
|
+
if (centerCode !== undefined) {
|
|
236
|
+
localVarQueryParameter['centerCode'] = centerCode;
|
|
225
237
|
}
|
|
226
238
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
227
239
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -346,14 +358,15 @@ const OpenApiApiFp = function (configuration) {
|
|
|
346
358
|
/**
|
|
347
359
|
*
|
|
348
360
|
* @summary 批量新增设施设备
|
|
361
|
+
* @param {number} parkId
|
|
349
362
|
* @param {SyncEquipmentVo} syncEquipmentVo
|
|
350
363
|
* @param {*} [options] Override http request option.
|
|
351
364
|
* @throws {RequiredError}
|
|
352
365
|
*/
|
|
353
|
-
openApiEquipmentBatchAdd(syncEquipmentVo, options) {
|
|
366
|
+
openApiEquipmentBatchAdd(parkId, syncEquipmentVo, options) {
|
|
354
367
|
return __awaiter(this, void 0, void 0, function* () {
|
|
355
368
|
var _a, _b, _c;
|
|
356
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiEquipmentBatchAdd(syncEquipmentVo, options);
|
|
369
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiEquipmentBatchAdd(parkId, syncEquipmentVo, options);
|
|
357
370
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
358
371
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OpenApiApi.openApiEquipmentBatchAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
359
372
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -362,14 +375,15 @@ const OpenApiApiFp = function (configuration) {
|
|
|
362
375
|
/**
|
|
363
376
|
*
|
|
364
377
|
* @summary 批量更新设施设备状态
|
|
378
|
+
* @param {number} parkId
|
|
365
379
|
* @param {SyncEquipmentStatusVo} syncEquipmentStatusVo
|
|
366
380
|
* @param {*} [options] Override http request option.
|
|
367
381
|
* @throws {RequiredError}
|
|
368
382
|
*/
|
|
369
|
-
openApiEquipmentBatchStatusSync(syncEquipmentStatusVo, options) {
|
|
383
|
+
openApiEquipmentBatchStatusSync(parkId, syncEquipmentStatusVo, options) {
|
|
370
384
|
return __awaiter(this, void 0, void 0, function* () {
|
|
371
385
|
var _a, _b, _c;
|
|
372
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiEquipmentBatchStatusSync(syncEquipmentStatusVo, options);
|
|
386
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiEquipmentBatchStatusSync(parkId, syncEquipmentStatusVo, options);
|
|
373
387
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
374
388
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OpenApiApi.openApiEquipmentBatchStatusSync']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
375
389
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -378,14 +392,15 @@ const OpenApiApiFp = function (configuration) {
|
|
|
378
392
|
/**
|
|
379
393
|
*
|
|
380
394
|
* @summary 获取监控列表
|
|
381
|
-
* @param {
|
|
395
|
+
* @param {number} parkId
|
|
396
|
+
* @param {string} centerCode 中心编码(C码)
|
|
382
397
|
* @param {*} [options] Override http request option.
|
|
383
398
|
* @throws {RequiredError}
|
|
384
399
|
*/
|
|
385
|
-
openApiSurveillanceList(
|
|
400
|
+
openApiSurveillanceList(parkId, centerCode, options) {
|
|
386
401
|
return __awaiter(this, void 0, void 0, function* () {
|
|
387
402
|
var _a, _b, _c;
|
|
388
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiSurveillanceList(
|
|
403
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiSurveillanceList(parkId, centerCode, options);
|
|
389
404
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
390
405
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OpenApiApi.openApiSurveillanceList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
391
406
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -443,7 +458,7 @@ const OpenApiApiFactory = function (configuration, basePath, axios) {
|
|
|
443
458
|
* @throws {RequiredError}
|
|
444
459
|
*/
|
|
445
460
|
openApiEquipmentBatchAdd(requestParameters, options) {
|
|
446
|
-
return localVarFp.openApiEquipmentBatchAdd(requestParameters.syncEquipmentVo, options).then((request) => request(axios, basePath));
|
|
461
|
+
return localVarFp.openApiEquipmentBatchAdd(requestParameters.parkId, requestParameters.syncEquipmentVo, options).then((request) => request(axios, basePath));
|
|
447
462
|
},
|
|
448
463
|
/**
|
|
449
464
|
*
|
|
@@ -453,7 +468,7 @@ const OpenApiApiFactory = function (configuration, basePath, axios) {
|
|
|
453
468
|
* @throws {RequiredError}
|
|
454
469
|
*/
|
|
455
470
|
openApiEquipmentBatchStatusSync(requestParameters, options) {
|
|
456
|
-
return localVarFp.openApiEquipmentBatchStatusSync(requestParameters.syncEquipmentStatusVo, options).then((request) => request(axios, basePath));
|
|
471
|
+
return localVarFp.openApiEquipmentBatchStatusSync(requestParameters.parkId, requestParameters.syncEquipmentStatusVo, options).then((request) => request(axios, basePath));
|
|
457
472
|
},
|
|
458
473
|
/**
|
|
459
474
|
*
|
|
@@ -463,7 +478,7 @@ const OpenApiApiFactory = function (configuration, basePath, axios) {
|
|
|
463
478
|
* @throws {RequiredError}
|
|
464
479
|
*/
|
|
465
480
|
openApiSurveillanceList(requestParameters, options) {
|
|
466
|
-
return localVarFp.openApiSurveillanceList(requestParameters.
|
|
481
|
+
return localVarFp.openApiSurveillanceList(requestParameters.parkId, requestParameters.centerCode, options).then((request) => request(axios, basePath));
|
|
467
482
|
},
|
|
468
483
|
/**
|
|
469
484
|
*
|
|
@@ -505,7 +520,7 @@ class OpenApiApi extends base_1.BaseAPI {
|
|
|
505
520
|
* @memberof OpenApiApi
|
|
506
521
|
*/
|
|
507
522
|
openApiEquipmentBatchAdd(requestParameters, options) {
|
|
508
|
-
return (0, exports.OpenApiApiFp)(this.configuration).openApiEquipmentBatchAdd(requestParameters.syncEquipmentVo, options).then((request) => request(this.axios, this.basePath));
|
|
523
|
+
return (0, exports.OpenApiApiFp)(this.configuration).openApiEquipmentBatchAdd(requestParameters.parkId, requestParameters.syncEquipmentVo, options).then((request) => request(this.axios, this.basePath));
|
|
509
524
|
}
|
|
510
525
|
/**
|
|
511
526
|
*
|
|
@@ -516,7 +531,7 @@ class OpenApiApi extends base_1.BaseAPI {
|
|
|
516
531
|
* @memberof OpenApiApi
|
|
517
532
|
*/
|
|
518
533
|
openApiEquipmentBatchStatusSync(requestParameters, options) {
|
|
519
|
-
return (0, exports.OpenApiApiFp)(this.configuration).openApiEquipmentBatchStatusSync(requestParameters.syncEquipmentStatusVo, options).then((request) => request(this.axios, this.basePath));
|
|
534
|
+
return (0, exports.OpenApiApiFp)(this.configuration).openApiEquipmentBatchStatusSync(requestParameters.parkId, requestParameters.syncEquipmentStatusVo, options).then((request) => request(this.axios, this.basePath));
|
|
520
535
|
}
|
|
521
536
|
/**
|
|
522
537
|
*
|
|
@@ -527,7 +542,7 @@ class OpenApiApi extends base_1.BaseAPI {
|
|
|
527
542
|
* @memberof OpenApiApi
|
|
528
543
|
*/
|
|
529
544
|
openApiSurveillanceList(requestParameters, options) {
|
|
530
|
-
return (0, exports.OpenApiApiFp)(this.configuration).openApiSurveillanceList(requestParameters.
|
|
545
|
+
return (0, exports.OpenApiApiFp)(this.configuration).openApiSurveillanceList(requestParameters.parkId, requestParameters.centerCode, options).then((request) => request(this.axios, this.basePath));
|
|
531
546
|
}
|
|
532
547
|
/**
|
|
533
548
|
*
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -32,7 +32,6 @@ export * from './apis/excel-language-controller-api';
|
|
|
32
32
|
export * from './apis/feedback-api';
|
|
33
33
|
export * from './apis/file-api';
|
|
34
34
|
export * from './apis/fire-safety-api';
|
|
35
|
-
export * from './apis/hwork-api';
|
|
36
35
|
export * from './apis/inspection-standard-api';
|
|
37
36
|
export * from './apis/internal-api';
|
|
38
37
|
export * from './apis/inventory-api';
|
package/dist/esm/api.js
CHANGED
|
@@ -34,7 +34,6 @@ export * from './apis/excel-language-controller-api';
|
|
|
34
34
|
export * from './apis/feedback-api';
|
|
35
35
|
export * from './apis/file-api';
|
|
36
36
|
export * from './apis/fire-safety-api';
|
|
37
|
-
export * from './apis/hwork-api';
|
|
38
37
|
export * from './apis/inspection-standard-api';
|
|
39
38
|
export * from './apis/internal-api';
|
|
40
39
|
export * from './apis/inventory-api';
|