@gizone/rrs-client 4.2.0-alpha.259 → 4.2.0-alpha.261

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