@gizone/rrs-client 4.2.0-alpha.347 → 4.2.0-alpha.349

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.
Files changed (99) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/api.ts +1 -0
  3. package/apis/hwork-api.ts +167 -0
  4. package/apis/open-api-api.ts +214 -0
  5. package/apis/surveillance-api.ts +92 -0
  6. package/apis/web-hook-api.ts +182 -0
  7. package/dist/api.d.ts +1 -0
  8. package/dist/api.js +1 -0
  9. package/dist/apis/hwork-api.d.ts +96 -0
  10. package/dist/apis/hwork-api.js +145 -0
  11. package/dist/apis/open-api-api.d.ts +110 -0
  12. package/dist/apis/open-api-api.js +156 -0
  13. package/dist/apis/surveillance-api.d.ts +47 -0
  14. package/dist/apis/surveillance-api.js +71 -0
  15. package/dist/apis/web-hook-api.d.ts +94 -0
  16. package/dist/apis/web-hook-api.js +140 -0
  17. package/dist/esm/api.d.ts +1 -0
  18. package/dist/esm/api.js +1 -0
  19. package/dist/esm/apis/hwork-api.d.ts +96 -0
  20. package/dist/esm/apis/hwork-api.js +138 -0
  21. package/dist/esm/apis/open-api-api.d.ts +110 -0
  22. package/dist/esm/apis/open-api-api.js +156 -0
  23. package/dist/esm/apis/surveillance-api.d.ts +47 -0
  24. package/dist/esm/apis/surveillance-api.js +71 -0
  25. package/dist/esm/apis/web-hook-api.d.ts +94 -0
  26. package/dist/esm/apis/web-hook-api.js +140 -0
  27. package/dist/esm/models/index.d.ts +9 -0
  28. package/dist/esm/models/index.js +9 -0
  29. package/dist/esm/models/insurance-notice-vo.d.ts +54 -0
  30. package/dist/esm/models/insurance-notice-vo.js +14 -0
  31. package/dist/esm/models/insurance-work-order-issue-vo.d.ts +79 -0
  32. package/dist/esm/models/insurance-work-order-issue-vo.js +14 -0
  33. package/dist/esm/models/insurance-work-order-vo.d.ts +37 -0
  34. package/dist/esm/models/insurance-work-order-vo.js +14 -0
  35. package/dist/esm/models/json-result-page-dto-open-api-equipment-list-dto.d.ts +62 -0
  36. package/dist/esm/models/json-result-page-dto-open-api-equipment-list-dto.js +14 -0
  37. package/dist/esm/models/json-result-surveillance-count-dto.d.ts +62 -0
  38. package/dist/esm/models/json-result-surveillance-count-dto.js +14 -0
  39. package/dist/esm/models/login-type-enum.d.ts +2 -0
  40. package/dist/esm/models/login-type-enum.js +3 -1
  41. package/dist/esm/models/open-api-equipment-list-dto.d.ts +110 -0
  42. package/dist/esm/models/open-api-equipment-list-dto.js +14 -0
  43. package/dist/esm/models/page-dto-open-api-equipment-list-dto.d.ts +31 -0
  44. package/dist/esm/models/page-dto-open-api-equipment-list-dto.js +14 -0
  45. package/dist/esm/models/park-info-dto.d.ts +12 -0
  46. package/dist/esm/models/surveillance-count-dto.d.ts +30 -0
  47. package/dist/esm/models/surveillance-count-dto.js +14 -0
  48. package/dist/esm/models/sys-post.d.ts +6 -0
  49. package/dist/esm/models/sys-role.d.ts +6 -0
  50. package/dist/esm/models/sys-user.d.ts +14 -1
  51. package/dist/esm/models/user-source-enum.d.ts +21 -0
  52. package/dist/esm/models/user-source-enum.js +22 -0
  53. package/dist/esm/models/work-order-issue-type-enum.d.ts +1 -1
  54. package/dist/esm/models/work-order-issue-type-enum.js +1 -1
  55. package/dist/models/index.d.ts +9 -0
  56. package/dist/models/index.js +9 -0
  57. package/dist/models/insurance-notice-vo.d.ts +54 -0
  58. package/dist/models/insurance-notice-vo.js +15 -0
  59. package/dist/models/insurance-work-order-issue-vo.d.ts +79 -0
  60. package/dist/models/insurance-work-order-issue-vo.js +15 -0
  61. package/dist/models/insurance-work-order-vo.d.ts +37 -0
  62. package/dist/models/insurance-work-order-vo.js +15 -0
  63. package/dist/models/json-result-page-dto-open-api-equipment-list-dto.d.ts +62 -0
  64. package/dist/models/json-result-page-dto-open-api-equipment-list-dto.js +15 -0
  65. package/dist/models/json-result-surveillance-count-dto.d.ts +62 -0
  66. package/dist/models/json-result-surveillance-count-dto.js +15 -0
  67. package/dist/models/login-type-enum.d.ts +2 -0
  68. package/dist/models/login-type-enum.js +3 -1
  69. package/dist/models/open-api-equipment-list-dto.d.ts +110 -0
  70. package/dist/models/open-api-equipment-list-dto.js +15 -0
  71. package/dist/models/page-dto-open-api-equipment-list-dto.d.ts +31 -0
  72. package/dist/models/page-dto-open-api-equipment-list-dto.js +15 -0
  73. package/dist/models/park-info-dto.d.ts +12 -0
  74. package/dist/models/surveillance-count-dto.d.ts +30 -0
  75. package/dist/models/surveillance-count-dto.js +15 -0
  76. package/dist/models/sys-post.d.ts +6 -0
  77. package/dist/models/sys-role.d.ts +6 -0
  78. package/dist/models/sys-user.d.ts +14 -1
  79. package/dist/models/user-source-enum.d.ts +21 -0
  80. package/dist/models/user-source-enum.js +25 -0
  81. package/dist/models/work-order-issue-type-enum.d.ts +1 -1
  82. package/dist/models/work-order-issue-type-enum.js +1 -1
  83. package/models/index.ts +9 -0
  84. package/models/insurance-notice-vo.ts +60 -0
  85. package/models/insurance-work-order-issue-vo.ts +89 -0
  86. package/models/insurance-work-order-vo.ts +45 -0
  87. package/models/json-result-page-dto-open-api-equipment-list-dto.ts +72 -0
  88. package/models/json-result-surveillance-count-dto.ts +72 -0
  89. package/models/login-type-enum.ts +3 -1
  90. package/models/open-api-equipment-list-dto.ts +122 -0
  91. package/models/page-dto-open-api-equipment-list-dto.ts +39 -0
  92. package/models/park-info-dto.ts +12 -0
  93. package/models/surveillance-count-dto.ts +36 -0
  94. package/models/sys-post.ts +6 -0
  95. package/models/sys-role.ts +6 -0
  96. package/models/sys-user.ts +18 -1
  97. package/models/user-source-enum.ts +31 -0
  98. package/models/work-order-issue-type-enum.ts +1 -1
  99. package/package.json +1 -1
@@ -134,6 +134,86 @@ const OpenApiApiAxiosParamCreator = function (configuration) {
134
134
  options: localVarRequestOptions,
135
135
  };
136
136
  }),
137
+ /**
138
+ *
139
+ * @summary 查询设备列表
140
+ * @param {string} parkCode 园区编码
141
+ * @param {number} page 页数
142
+ * @param {number} pageSize 页码
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ openApiEquipmentList: (parkCode_1, page_1, pageSize_1, ...args_1) => __awaiter(this, [parkCode_1, page_1, pageSize_1, ...args_1], void 0, function* (parkCode, page, pageSize, options = {}) {
147
+ // verify required parameter 'parkCode' is not null or undefined
148
+ (0, common_1.assertParamExists)('openApiEquipmentList', 'parkCode', parkCode);
149
+ // verify required parameter 'page' is not null or undefined
150
+ (0, common_1.assertParamExists)('openApiEquipmentList', 'page', page);
151
+ // verify required parameter 'pageSize' is not null or undefined
152
+ (0, common_1.assertParamExists)('openApiEquipmentList', 'pageSize', pageSize);
153
+ const localVarPath = `/openapi/v1/main/parks/equipment`;
154
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
155
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
156
+ let baseOptions;
157
+ if (configuration) {
158
+ baseOptions = configuration.baseOptions;
159
+ }
160
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
161
+ const localVarHeaderParameter = {};
162
+ const localVarQueryParameter = {};
163
+ // authentication tokenScheme required
164
+ // http bearer authentication required
165
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
166
+ if (parkCode !== undefined) {
167
+ localVarQueryParameter['parkCode'] = parkCode;
168
+ }
169
+ if (page !== undefined) {
170
+ localVarQueryParameter['page'] = page;
171
+ }
172
+ if (pageSize !== undefined) {
173
+ localVarQueryParameter['pageSize'] = pageSize;
174
+ }
175
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
176
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
177
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
178
+ return {
179
+ url: (0, common_1.toPathString)(localVarUrlObj),
180
+ options: localVarRequestOptions,
181
+ };
182
+ }),
183
+ /**
184
+ *
185
+ * @summary 查询园区列表
186
+ * @param {string} centerCode 中心编码
187
+ * @param {*} [options] Override http request option.
188
+ * @throws {RequiredError}
189
+ */
190
+ openApiParks: (centerCode_1, ...args_1) => __awaiter(this, [centerCode_1, ...args_1], void 0, function* (centerCode, options = {}) {
191
+ // verify required parameter 'centerCode' is not null or undefined
192
+ (0, common_1.assertParamExists)('openApiParks', 'centerCode', centerCode);
193
+ const localVarPath = `/openapi/v1/main/parks`;
194
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
195
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
196
+ let baseOptions;
197
+ if (configuration) {
198
+ baseOptions = configuration.baseOptions;
199
+ }
200
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
201
+ const localVarHeaderParameter = {};
202
+ const localVarQueryParameter = {};
203
+ // authentication tokenScheme required
204
+ // http bearer authentication required
205
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
206
+ if (centerCode !== undefined) {
207
+ localVarQueryParameter['centerCode'] = centerCode;
208
+ }
209
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
210
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
211
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
212
+ return {
213
+ url: (0, common_1.toPathString)(localVarUrlObj),
214
+ options: localVarRequestOptions,
215
+ };
216
+ }),
137
217
  /**
138
218
  *
139
219
  * @summary 获取空间列表
@@ -260,6 +340,40 @@ const OpenApiApiFp = function (configuration) {
260
340
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
261
341
  });
262
342
  },
343
+ /**
344
+ *
345
+ * @summary 查询设备列表
346
+ * @param {string} parkCode 园区编码
347
+ * @param {number} page 页数
348
+ * @param {number} pageSize 页码
349
+ * @param {*} [options] Override http request option.
350
+ * @throws {RequiredError}
351
+ */
352
+ openApiEquipmentList(parkCode, page, pageSize, options) {
353
+ return __awaiter(this, void 0, void 0, function* () {
354
+ var _a, _b, _c;
355
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiEquipmentList(parkCode, page, pageSize, options);
356
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
357
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OpenApiApi.openApiEquipmentList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
358
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
359
+ });
360
+ },
361
+ /**
362
+ *
363
+ * @summary 查询园区列表
364
+ * @param {string} centerCode 中心编码
365
+ * @param {*} [options] Override http request option.
366
+ * @throws {RequiredError}
367
+ */
368
+ openApiParks(centerCode, options) {
369
+ return __awaiter(this, void 0, void 0, function* () {
370
+ var _a, _b, _c;
371
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.openApiParks(centerCode, options);
372
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
373
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OpenApiApi.openApiParks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
374
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
375
+ });
376
+ },
263
377
  /**
264
378
  *
265
379
  * @summary 获取空间列表
@@ -332,6 +446,26 @@ const OpenApiApiFactory = function (configuration, basePath, axios) {
332
446
  openApiEquipmentBatchStatusSync(requestParameters, options) {
333
447
  return localVarFp.openApiEquipmentBatchStatusSync(requestParameters.syncEquipmentStatusVo, options).then((request) => request(axios, basePath));
334
448
  },
449
+ /**
450
+ *
451
+ * @summary 查询设备列表
452
+ * @param {OpenApiApiOpenApiEquipmentListRequest} requestParameters Request parameters.
453
+ * @param {*} [options] Override http request option.
454
+ * @throws {RequiredError}
455
+ */
456
+ openApiEquipmentList(requestParameters, options) {
457
+ return localVarFp.openApiEquipmentList(requestParameters.parkCode, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
458
+ },
459
+ /**
460
+ *
461
+ * @summary 查询园区列表
462
+ * @param {OpenApiApiOpenApiParksRequest} requestParameters Request parameters.
463
+ * @param {*} [options] Override http request option.
464
+ * @throws {RequiredError}
465
+ */
466
+ openApiParks(requestParameters, options) {
467
+ return localVarFp.openApiParks(requestParameters.centerCode, options).then((request) => request(axios, basePath));
468
+ },
335
469
  /**
336
470
  *
337
471
  * @summary 获取空间列表
@@ -395,6 +529,28 @@ class OpenApiApi extends base_1.BaseAPI {
395
529
  openApiEquipmentBatchStatusSync(requestParameters, options) {
396
530
  return (0, exports.OpenApiApiFp)(this.configuration).openApiEquipmentBatchStatusSync(requestParameters.syncEquipmentStatusVo, options).then((request) => request(this.axios, this.basePath));
397
531
  }
532
+ /**
533
+ *
534
+ * @summary 查询设备列表
535
+ * @param {OpenApiApiOpenApiEquipmentListRequest} requestParameters Request parameters.
536
+ * @param {*} [options] Override http request option.
537
+ * @throws {RequiredError}
538
+ * @memberof OpenApiApi
539
+ */
540
+ openApiEquipmentList(requestParameters, options) {
541
+ return (0, exports.OpenApiApiFp)(this.configuration).openApiEquipmentList(requestParameters.parkCode, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
542
+ }
543
+ /**
544
+ *
545
+ * @summary 查询园区列表
546
+ * @param {OpenApiApiOpenApiParksRequest} requestParameters Request parameters.
547
+ * @param {*} [options] Override http request option.
548
+ * @throws {RequiredError}
549
+ * @memberof OpenApiApi
550
+ */
551
+ openApiParks(requestParameters, options) {
552
+ return (0, exports.OpenApiApiFp)(this.configuration).openApiParks(requestParameters.centerCode, options).then((request) => request(this.axios, this.basePath));
553
+ }
398
554
  /**
399
555
  *
400
556
  * @summary 获取空间列表
@@ -18,6 +18,7 @@ import type { JsonResultBoolean } from '../models';
18
18
  import type { JsonResultExcelImportResultDTOSurveillanceBatchImportTemplateDto } from '../models';
19
19
  import type { JsonResultListSpaceTreeDTO } from '../models';
20
20
  import type { JsonResultPageDtoSurveillanceDetailsDto } from '../models';
21
+ import type { JsonResultSurveillanceCountDto } from '../models';
21
22
  import type { JsonResultSurveillanceDetailsDto } from '../models';
22
23
  import type { JsonResultSurveillanceLiveDto } from '../models';
23
24
  import type { JsonResultVoid } from '../models';
@@ -127,6 +128,14 @@ export declare const SurveillanceApiAxiosParamCreator: (configuration?: Configur
127
128
  * @throws {RequiredError}
128
129
  */
129
130
  surveillancePtzControl: (id: number, command: SurveillancePtzControlCommandEnum, action: SurveillancePtzControlActionEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
131
+ /**
132
+ * 获取监控数量
133
+ * @summary 获取监控数量
134
+ * @param {number} parkId 园区ID
135
+ * @param {*} [options] Override http request option.
136
+ * @throws {RequiredError}
137
+ */
138
+ surveillanceSelectCount: (parkId: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
130
139
  /**
131
140
  * 获取监控空间列表
132
141
  * @summary 监控空间列表
@@ -266,6 +275,14 @@ export declare const SurveillanceApiFp: (configuration?: Configuration) => {
266
275
  * @throws {RequiredError}
267
276
  */
268
277
  surveillancePtzControl(id: number, command: SurveillancePtzControlCommandEnum, action: SurveillancePtzControlActionEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
278
+ /**
279
+ * 获取监控数量
280
+ * @summary 获取监控数量
281
+ * @param {number} parkId 园区ID
282
+ * @param {*} [options] Override http request option.
283
+ * @throws {RequiredError}
284
+ */
285
+ surveillanceSelectCount(parkId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultSurveillanceCountDto>>;
269
286
  /**
270
287
  * 获取监控空间列表
271
288
  * @summary 监控空间列表
@@ -392,6 +409,14 @@ export declare const SurveillanceApiFactory: (configuration?: Configuration, bas
392
409
  * @throws {RequiredError}
393
410
  */
394
411
  surveillancePtzControl(requestParameters: SurveillanceApiSurveillancePtzControlRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
412
+ /**
413
+ * 获取监控数量
414
+ * @summary 获取监控数量
415
+ * @param {SurveillanceApiSurveillanceSelectCountRequest} requestParameters Request parameters.
416
+ * @param {*} [options] Override http request option.
417
+ * @throws {RequiredError}
418
+ */
419
+ surveillanceSelectCount(requestParameters: SurveillanceApiSurveillanceSelectCountRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultSurveillanceCountDto>;
395
420
  /**
396
421
  * 获取监控空间列表
397
422
  * @summary 监控空间列表
@@ -599,6 +624,19 @@ export interface SurveillanceApiSurveillancePtzControlRequest {
599
624
  */
600
625
  readonly action: SurveillancePtzControlActionEnum;
601
626
  }
627
+ /**
628
+ * Request parameters for surveillanceSelectCount operation in SurveillanceApi.
629
+ * @export
630
+ * @interface SurveillanceApiSurveillanceSelectCountRequest
631
+ */
632
+ export interface SurveillanceApiSurveillanceSelectCountRequest {
633
+ /**
634
+ * 园区ID
635
+ * @type {number}
636
+ * @memberof SurveillanceApiSurveillanceSelectCount
637
+ */
638
+ readonly parkId: number;
639
+ }
602
640
  /**
603
641
  * Request parameters for surveillanceSpaceList operation in SurveillanceApi.
604
642
  * @export
@@ -807,6 +845,15 @@ export declare class SurveillanceApi extends BaseAPI {
807
845
  * @memberof SurveillanceApi
808
846
  */
809
847
  surveillancePtzControl(requestParameters: SurveillanceApiSurveillancePtzControlRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
848
+ /**
849
+ * 获取监控数量
850
+ * @summary 获取监控数量
851
+ * @param {SurveillanceApiSurveillanceSelectCountRequest} requestParameters Request parameters.
852
+ * @param {*} [options] Override http request option.
853
+ * @throws {RequiredError}
854
+ * @memberof SurveillanceApi
855
+ */
856
+ surveillanceSelectCount(requestParameters: SurveillanceApiSurveillanceSelectCountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultSurveillanceCountDto, any>>;
810
857
  /**
811
858
  * 获取监控空间列表
812
859
  * @summary 监控空间列表
@@ -442,6 +442,40 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
442
442
  options: localVarRequestOptions,
443
443
  };
444
444
  }),
445
+ /**
446
+ * 获取监控数量
447
+ * @summary 获取监控数量
448
+ * @param {number} parkId 园区ID
449
+ * @param {*} [options] Override http request option.
450
+ * @throws {RequiredError}
451
+ */
452
+ surveillanceSelectCount: (parkId_1, ...args_1) => __awaiter(this, [parkId_1, ...args_1], void 0, function* (parkId, options = {}) {
453
+ // verify required parameter 'parkId' is not null or undefined
454
+ (0, common_1.assertParamExists)('surveillanceSelectCount', 'parkId', parkId);
455
+ const localVarPath = `/gizone/surveillance/count`;
456
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
457
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
458
+ let baseOptions;
459
+ if (configuration) {
460
+ baseOptions = configuration.baseOptions;
461
+ }
462
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
463
+ const localVarHeaderParameter = {};
464
+ const localVarQueryParameter = {};
465
+ // authentication tokenScheme required
466
+ // http bearer authentication required
467
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
468
+ if (parkId !== undefined) {
469
+ localVarQueryParameter['parkId'] = parkId;
470
+ }
471
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
472
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
473
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
474
+ return {
475
+ url: (0, common_1.toPathString)(localVarUrlObj),
476
+ options: localVarRequestOptions,
477
+ };
478
+ }),
445
479
  /**
446
480
  * 获取监控空间列表
447
481
  * @summary 监控空间列表
@@ -782,6 +816,22 @@ const SurveillanceApiFp = function (configuration) {
782
816
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
783
817
  });
784
818
  },
819
+ /**
820
+ * 获取监控数量
821
+ * @summary 获取监控数量
822
+ * @param {number} parkId 园区ID
823
+ * @param {*} [options] Override http request option.
824
+ * @throws {RequiredError}
825
+ */
826
+ surveillanceSelectCount(parkId, options) {
827
+ return __awaiter(this, void 0, void 0, function* () {
828
+ var _a, _b, _c;
829
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceSelectCount(parkId, options);
830
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
831
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceSelectCount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
832
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
833
+ });
834
+ },
785
835
  /**
786
836
  * 获取监控空间列表
787
837
  * @summary 监控空间列表
@@ -958,6 +1008,16 @@ const SurveillanceApiFactory = function (configuration, basePath, axios) {
958
1008
  surveillancePtzControl(requestParameters, options) {
959
1009
  return localVarFp.surveillancePtzControl(requestParameters.id, requestParameters.command, requestParameters.action, options).then((request) => request(axios, basePath));
960
1010
  },
1011
+ /**
1012
+ * 获取监控数量
1013
+ * @summary 获取监控数量
1014
+ * @param {SurveillanceApiSurveillanceSelectCountRequest} requestParameters Request parameters.
1015
+ * @param {*} [options] Override http request option.
1016
+ * @throws {RequiredError}
1017
+ */
1018
+ surveillanceSelectCount(requestParameters, options) {
1019
+ return localVarFp.surveillanceSelectCount(requestParameters.parkId, options).then((request) => request(axios, basePath));
1020
+ },
961
1021
  /**
962
1022
  * 获取监控空间列表
963
1023
  * @summary 监控空间列表
@@ -1116,6 +1176,17 @@ class SurveillanceApi extends base_1.BaseAPI {
1116
1176
  surveillancePtzControl(requestParameters, options) {
1117
1177
  return (0, exports.SurveillanceApiFp)(this.configuration).surveillancePtzControl(requestParameters.id, requestParameters.command, requestParameters.action, options).then((request) => request(this.axios, this.basePath));
1118
1178
  }
1179
+ /**
1180
+ * 获取监控数量
1181
+ * @summary 获取监控数量
1182
+ * @param {SurveillanceApiSurveillanceSelectCountRequest} requestParameters Request parameters.
1183
+ * @param {*} [options] Override http request option.
1184
+ * @throws {RequiredError}
1185
+ * @memberof SurveillanceApi
1186
+ */
1187
+ surveillanceSelectCount(requestParameters, options) {
1188
+ return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceSelectCount(requestParameters.parkId, options).then((request) => request(this.axios, this.basePath));
1189
+ }
1119
1190
  /**
1120
1191
  * 获取监控空间列表
1121
1192
  * @summary 监控空间列表
@@ -12,6 +12,8 @@
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { InsuranceNoticeVo } from '../models';
16
+ import type { InsuranceWorkOrderVo } from '../models';
15
17
  import type { JsonResultVoid } from '../models';
16
18
  import type { SrmParkContractChangeVo } from '../models';
17
19
  /**
@@ -27,6 +29,22 @@ export declare const WebHookApiAxiosParamCreator: (configuration?: Configuration
27
29
  * @throws {RequiredError}
28
30
  */
29
31
  srmParkContractChange: (srmParkContractChangeVo: SrmParkContractChangeVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
+ /**
33
+ *
34
+ * @summary 接收保险通知
35
+ * @param {InsuranceNoticeVo} insuranceNoticeVo
36
+ * @param {*} [options] Override http request option.
37
+ * @throws {RequiredError}
38
+ */
39
+ webhookInsuranceNotice: (insuranceNoticeVo: InsuranceNoticeVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
40
+ /**
41
+ *
42
+ * @summary 接收保险工单
43
+ * @param {InsuranceWorkOrderVo} insuranceWorkOrderVo
44
+ * @param {*} [options] Override http request option.
45
+ * @throws {RequiredError}
46
+ */
47
+ webhookInsuranceWorkOrder: (insuranceWorkOrderVo: InsuranceWorkOrderVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30
48
  };
31
49
  /**
32
50
  * WebHookApi - functional programming interface
@@ -41,6 +59,22 @@ export declare const WebHookApiFp: (configuration?: Configuration) => {
41
59
  * @throws {RequiredError}
42
60
  */
43
61
  srmParkContractChange(srmParkContractChangeVo: SrmParkContractChangeVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
62
+ /**
63
+ *
64
+ * @summary 接收保险通知
65
+ * @param {InsuranceNoticeVo} insuranceNoticeVo
66
+ * @param {*} [options] Override http request option.
67
+ * @throws {RequiredError}
68
+ */
69
+ webhookInsuranceNotice(insuranceNoticeVo: InsuranceNoticeVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
70
+ /**
71
+ *
72
+ * @summary 接收保险工单
73
+ * @param {InsuranceWorkOrderVo} insuranceWorkOrderVo
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ */
77
+ webhookInsuranceWorkOrder(insuranceWorkOrderVo: InsuranceWorkOrderVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
44
78
  };
45
79
  /**
46
80
  * WebHookApi - factory interface
@@ -55,6 +89,22 @@ export declare const WebHookApiFactory: (configuration?: Configuration, basePath
55
89
  * @throws {RequiredError}
56
90
  */
57
91
  srmParkContractChange(requestParameters: WebHookApiSrmParkContractChangeRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
92
+ /**
93
+ *
94
+ * @summary 接收保险通知
95
+ * @param {WebHookApiWebhookInsuranceNoticeRequest} requestParameters Request parameters.
96
+ * @param {*} [options] Override http request option.
97
+ * @throws {RequiredError}
98
+ */
99
+ webhookInsuranceNotice(requestParameters: WebHookApiWebhookInsuranceNoticeRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
100
+ /**
101
+ *
102
+ * @summary 接收保险工单
103
+ * @param {WebHookApiWebhookInsuranceWorkOrderRequest} requestParameters Request parameters.
104
+ * @param {*} [options] Override http request option.
105
+ * @throws {RequiredError}
106
+ */
107
+ webhookInsuranceWorkOrder(requestParameters: WebHookApiWebhookInsuranceWorkOrderRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
58
108
  };
59
109
  /**
60
110
  * Request parameters for srmParkContractChange operation in WebHookApi.
@@ -69,6 +119,32 @@ export interface WebHookApiSrmParkContractChangeRequest {
69
119
  */
70
120
  readonly srmParkContractChangeVo: SrmParkContractChangeVo;
71
121
  }
122
+ /**
123
+ * Request parameters for webhookInsuranceNotice operation in WebHookApi.
124
+ * @export
125
+ * @interface WebHookApiWebhookInsuranceNoticeRequest
126
+ */
127
+ export interface WebHookApiWebhookInsuranceNoticeRequest {
128
+ /**
129
+ *
130
+ * @type {InsuranceNoticeVo}
131
+ * @memberof WebHookApiWebhookInsuranceNotice
132
+ */
133
+ readonly insuranceNoticeVo: InsuranceNoticeVo;
134
+ }
135
+ /**
136
+ * Request parameters for webhookInsuranceWorkOrder operation in WebHookApi.
137
+ * @export
138
+ * @interface WebHookApiWebhookInsuranceWorkOrderRequest
139
+ */
140
+ export interface WebHookApiWebhookInsuranceWorkOrderRequest {
141
+ /**
142
+ *
143
+ * @type {InsuranceWorkOrderVo}
144
+ * @memberof WebHookApiWebhookInsuranceWorkOrder
145
+ */
146
+ readonly insuranceWorkOrderVo: InsuranceWorkOrderVo;
147
+ }
72
148
  /**
73
149
  * WebHookApi - object-oriented interface
74
150
  * @export
@@ -85,4 +161,22 @@ export declare class WebHookApi extends BaseAPI {
85
161
  * @memberof WebHookApi
86
162
  */
87
163
  srmParkContractChange(requestParameters: WebHookApiSrmParkContractChangeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
164
+ /**
165
+ *
166
+ * @summary 接收保险通知
167
+ * @param {WebHookApiWebhookInsuranceNoticeRequest} requestParameters Request parameters.
168
+ * @param {*} [options] Override http request option.
169
+ * @throws {RequiredError}
170
+ * @memberof WebHookApi
171
+ */
172
+ webhookInsuranceNotice(requestParameters: WebHookApiWebhookInsuranceNoticeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
173
+ /**
174
+ *
175
+ * @summary 接收保险工单
176
+ * @param {WebHookApiWebhookInsuranceWorkOrderRequest} requestParameters Request parameters.
177
+ * @param {*} [options] Override http request option.
178
+ * @throws {RequiredError}
179
+ * @memberof WebHookApi
180
+ */
181
+ webhookInsuranceWorkOrder(requestParameters: WebHookApiWebhookInsuranceWorkOrderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
88
182
  }
@@ -68,6 +68,72 @@ const WebHookApiAxiosParamCreator = function (configuration) {
68
68
  options: localVarRequestOptions,
69
69
  };
70
70
  }),
71
+ /**
72
+ *
73
+ * @summary 接收保险通知
74
+ * @param {InsuranceNoticeVo} insuranceNoticeVo
75
+ * @param {*} [options] Override http request option.
76
+ * @throws {RequiredError}
77
+ */
78
+ webhookInsuranceNotice: (insuranceNoticeVo_1, ...args_1) => __awaiter(this, [insuranceNoticeVo_1, ...args_1], void 0, function* (insuranceNoticeVo, options = {}) {
79
+ // verify required parameter 'insuranceNoticeVo' is not null or undefined
80
+ (0, common_1.assertParamExists)('webhookInsuranceNotice', 'insuranceNoticeVo', insuranceNoticeVo);
81
+ const localVarPath = `/webhook/insurance/notice`;
82
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
83
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
84
+ let baseOptions;
85
+ if (configuration) {
86
+ baseOptions = configuration.baseOptions;
87
+ }
88
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
89
+ const localVarHeaderParameter = {};
90
+ const localVarQueryParameter = {};
91
+ // authentication tokenScheme required
92
+ // http bearer authentication required
93
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
94
+ localVarHeaderParameter['Content-Type'] = 'application/json';
95
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
96
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
97
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
98
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(insuranceNoticeVo, localVarRequestOptions, configuration);
99
+ return {
100
+ url: (0, common_1.toPathString)(localVarUrlObj),
101
+ options: localVarRequestOptions,
102
+ };
103
+ }),
104
+ /**
105
+ *
106
+ * @summary 接收保险工单
107
+ * @param {InsuranceWorkOrderVo} insuranceWorkOrderVo
108
+ * @param {*} [options] Override http request option.
109
+ * @throws {RequiredError}
110
+ */
111
+ webhookInsuranceWorkOrder: (insuranceWorkOrderVo_1, ...args_1) => __awaiter(this, [insuranceWorkOrderVo_1, ...args_1], void 0, function* (insuranceWorkOrderVo, options = {}) {
112
+ // verify required parameter 'insuranceWorkOrderVo' is not null or undefined
113
+ (0, common_1.assertParamExists)('webhookInsuranceWorkOrder', 'insuranceWorkOrderVo', insuranceWorkOrderVo);
114
+ const localVarPath = `/webhook/insurance/workOrder`;
115
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
116
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
117
+ let baseOptions;
118
+ if (configuration) {
119
+ baseOptions = configuration.baseOptions;
120
+ }
121
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
122
+ const localVarHeaderParameter = {};
123
+ const localVarQueryParameter = {};
124
+ // authentication tokenScheme required
125
+ // http bearer authentication required
126
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
127
+ localVarHeaderParameter['Content-Type'] = 'application/json';
128
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
129
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
130
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
131
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(insuranceWorkOrderVo, localVarRequestOptions, configuration);
132
+ return {
133
+ url: (0, common_1.toPathString)(localVarUrlObj),
134
+ options: localVarRequestOptions,
135
+ };
136
+ }),
71
137
  };
72
138
  };
73
139
  exports.WebHookApiAxiosParamCreator = WebHookApiAxiosParamCreator;
@@ -94,6 +160,38 @@ const WebHookApiFp = function (configuration) {
94
160
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
95
161
  });
96
162
  },
163
+ /**
164
+ *
165
+ * @summary 接收保险通知
166
+ * @param {InsuranceNoticeVo} insuranceNoticeVo
167
+ * @param {*} [options] Override http request option.
168
+ * @throws {RequiredError}
169
+ */
170
+ webhookInsuranceNotice(insuranceNoticeVo, options) {
171
+ return __awaiter(this, void 0, void 0, function* () {
172
+ var _a, _b, _c;
173
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.webhookInsuranceNotice(insuranceNoticeVo, options);
174
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
175
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebHookApi.webhookInsuranceNotice']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
176
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
177
+ });
178
+ },
179
+ /**
180
+ *
181
+ * @summary 接收保险工单
182
+ * @param {InsuranceWorkOrderVo} insuranceWorkOrderVo
183
+ * @param {*} [options] Override http request option.
184
+ * @throws {RequiredError}
185
+ */
186
+ webhookInsuranceWorkOrder(insuranceWorkOrderVo, options) {
187
+ return __awaiter(this, void 0, void 0, function* () {
188
+ var _a, _b, _c;
189
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.webhookInsuranceWorkOrder(insuranceWorkOrderVo, options);
190
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
191
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['WebHookApi.webhookInsuranceWorkOrder']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
192
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
193
+ });
194
+ },
97
195
  };
98
196
  };
99
197
  exports.WebHookApiFp = WebHookApiFp;
@@ -114,6 +212,26 @@ const WebHookApiFactory = function (configuration, basePath, axios) {
114
212
  srmParkContractChange(requestParameters, options) {
115
213
  return localVarFp.srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(axios, basePath));
116
214
  },
215
+ /**
216
+ *
217
+ * @summary 接收保险通知
218
+ * @param {WebHookApiWebhookInsuranceNoticeRequest} requestParameters Request parameters.
219
+ * @param {*} [options] Override http request option.
220
+ * @throws {RequiredError}
221
+ */
222
+ webhookInsuranceNotice(requestParameters, options) {
223
+ return localVarFp.webhookInsuranceNotice(requestParameters.insuranceNoticeVo, options).then((request) => request(axios, basePath));
224
+ },
225
+ /**
226
+ *
227
+ * @summary 接收保险工单
228
+ * @param {WebHookApiWebhookInsuranceWorkOrderRequest} requestParameters Request parameters.
229
+ * @param {*} [options] Override http request option.
230
+ * @throws {RequiredError}
231
+ */
232
+ webhookInsuranceWorkOrder(requestParameters, options) {
233
+ return localVarFp.webhookInsuranceWorkOrder(requestParameters.insuranceWorkOrderVo, options).then((request) => request(axios, basePath));
234
+ },
117
235
  };
118
236
  };
119
237
  exports.WebHookApiFactory = WebHookApiFactory;
@@ -135,5 +253,27 @@ class WebHookApi extends base_1.BaseAPI {
135
253
  srmParkContractChange(requestParameters, options) {
136
254
  return (0, exports.WebHookApiFp)(this.configuration).srmParkContractChange(requestParameters.srmParkContractChangeVo, options).then((request) => request(this.axios, this.basePath));
137
255
  }
256
+ /**
257
+ *
258
+ * @summary 接收保险通知
259
+ * @param {WebHookApiWebhookInsuranceNoticeRequest} requestParameters Request parameters.
260
+ * @param {*} [options] Override http request option.
261
+ * @throws {RequiredError}
262
+ * @memberof WebHookApi
263
+ */
264
+ webhookInsuranceNotice(requestParameters, options) {
265
+ return (0, exports.WebHookApiFp)(this.configuration).webhookInsuranceNotice(requestParameters.insuranceNoticeVo, options).then((request) => request(this.axios, this.basePath));
266
+ }
267
+ /**
268
+ *
269
+ * @summary 接收保险工单
270
+ * @param {WebHookApiWebhookInsuranceWorkOrderRequest} requestParameters Request parameters.
271
+ * @param {*} [options] Override http request option.
272
+ * @throws {RequiredError}
273
+ * @memberof WebHookApi
274
+ */
275
+ webhookInsuranceWorkOrder(requestParameters, options) {
276
+ return (0, exports.WebHookApiFp)(this.configuration).webhookInsuranceWorkOrder(requestParameters.insuranceWorkOrderVo, options).then((request) => request(this.axios, this.basePath));
277
+ }
138
278
  }
139
279
  exports.WebHookApi = WebHookApi;