@gizone/rrs-client 3.11.16-alpha.83 → 3.11.17-alpha.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +23 -1
- package/README.md +2 -2
- package/apis/space-api.ts +25 -15
- package/apis/surveillance-api.ts +1343 -102
- package/apis/work-order-api.ts +398 -10
- package/configuration.ts +1 -1
- package/dist/apis/space-api.d.ts +14 -7
- package/dist/apis/space-api.js +16 -11
- package/dist/apis/surveillance-api.d.ts +678 -0
- package/dist/apis/surveillance-api.js +960 -82
- package/dist/apis/work-order-api.d.ts +215 -10
- package/dist/apis/work-order-api.js +293 -4
- package/dist/configuration.js +1 -1
- package/dist/esm/apis/space-api.d.ts +14 -7
- package/dist/esm/apis/space-api.js +16 -11
- package/dist/esm/apis/surveillance-api.d.ts +678 -0
- package/dist/esm/apis/surveillance-api.js +959 -81
- package/dist/esm/apis/work-order-api.d.ts +215 -10
- package/dist/esm/apis/work-order-api.js +293 -4
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/models/functional-area-enum.d.ts +26 -0
- package/dist/esm/models/functional-area-enum.js +27 -0
- package/dist/esm/models/get-user-wx200-response.d.ts +8 -8
- package/dist/esm/models/index.d.ts +23 -1
- package/dist/esm/models/index.js +23 -1
- package/dist/esm/models/installation-body-enum.d.ts +22 -0
- package/dist/esm/models/installation-body-enum.js +23 -0
- package/dist/esm/models/ipage-access-vo.d.ts +6 -6
- package/dist/esm/models/json-result-new-work-monitor-repair-details-dto.d.ts +56 -0
- package/dist/esm/models/json-result-page-dto-surveillance-details-dto.d.ts +56 -0
- package/dist/esm/models/json-result-page-dto-surveillance-details-dto.js +14 -0
- package/dist/esm/models/json-result-surveillance-details-dto.d.ts +56 -0
- package/dist/esm/models/json-result-surveillance-details-dto.js +14 -0
- package/dist/esm/models/json-result-surveillance-live-dto.d.ts +56 -0
- package/dist/esm/models/json-result-surveillance-live-dto.js +14 -0
- package/dist/esm/models/new-work-monitor-repair-add-vo.d.ts +87 -0
- package/dist/esm/models/new-work-monitor-repair-add-vo.js +14 -0
- package/dist/esm/models/new-work-monitor-repair-details-dto.d.ts +184 -0
- package/dist/esm/models/new-work-monitor-repair-details-dto.js +20 -0
- package/dist/esm/models/page-dto-surveillance-details-dto.d.ts +31 -0
- package/dist/esm/models/page-dto-surveillance-details-dto.js +14 -0
- package/dist/esm/models/process-new-work-monitor-repair-vo.d.ts +30 -0
- package/dist/esm/models/process-new-work-monitor-repair-vo.js +14 -0
- package/dist/esm/models/space-add-excel-dto.d.ts +6 -0
- package/dist/esm/models/space-add-vo.d.ts +7 -0
- package/dist/esm/models/space-detail-dto.d.ts +9 -2
- package/dist/esm/models/space-edit-vo.d.ts +7 -0
- package/dist/esm/models/space-industry-attribute.d.ts +25 -0
- package/dist/esm/models/space-industry-attribute.js +26 -0
- package/dist/esm/models/space-point-dto.d.ts +3 -21
- package/dist/esm/models/space-tree-dto.d.ts +26 -19
- package/dist/esm/models/space.d.ts +43 -0
- package/dist/esm/models/space.js +14 -0
- package/dist/esm/models/surveillance-add-vo.d.ts +156 -0
- package/dist/esm/models/surveillance-add-vo.js +14 -0
- package/dist/esm/models/surveillance-details-dto.d.ts +222 -0
- package/dist/esm/models/surveillance-details-dto.js +14 -0
- package/dist/esm/models/surveillance-live-dto.d.ts +48 -0
- package/dist/esm/models/surveillance-live-dto.js +14 -0
- package/dist/esm/models/surveillance-status-enum.d.ts +21 -0
- package/dist/esm/models/surveillance-status-enum.js +22 -0
- package/dist/esm/models/surveillance-update-vo.d.ts +62 -0
- package/dist/esm/models/surveillance-update-vo.js +14 -0
- package/dist/esm/models/surveillance.d.ts +49 -0
- package/dist/esm/models/surveillance.js +14 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/esm/models/work-order-circulation-vo.d.ts +12 -0
- package/dist/esm/models/work-order-decision-vo.d.ts +42 -0
- package/dist/esm/models/work-order-decision-vo.js +14 -0
- package/dist/esm/models/work-order-handler-dto.d.ts +61 -0
- package/dist/esm/models/work-order-handler-dto.js +14 -0
- package/dist/esm/models/work-order-internal-status-enum.d.ts +3 -0
- package/dist/esm/models/work-order-internal-status-enum.js +4 -1
- package/dist/esm/models/work-order-issue-type-enum.d.ts +3 -0
- package/dist/esm/models/work-order-issue-type-enum.js +4 -1
- package/dist/esm/models/work-order-source-enum.d.ts +1 -0
- package/dist/esm/models/work-order-source-enum.js +2 -1
- package/dist/esm/models/{space-add-point-vo.d.ts → work-order-space-dto.d.ts} +14 -9
- package/dist/esm/models/work-order-space-dto.js +14 -0
- package/dist/esm/models/work-order-sponsor-dto.d.ts +48 -0
- package/dist/esm/models/work-order-sponsor-dto.js +14 -0
- package/dist/esm/models/work-order-surveillance-dto.d.ts +30 -0
- package/dist/esm/models/work-order-surveillance-dto.js +14 -0
- package/dist/esm/models/work-order-type-enum.d.ts +1 -0
- package/dist/esm/models/work-order-type-enum.js +2 -1
- package/dist/models/functional-area-enum.d.ts +26 -0
- package/dist/models/functional-area-enum.js +30 -0
- package/dist/models/get-user-wx200-response.d.ts +8 -8
- package/dist/models/index.d.ts +23 -1
- package/dist/models/index.js +23 -1
- package/dist/models/installation-body-enum.d.ts +22 -0
- package/dist/models/installation-body-enum.js +26 -0
- package/dist/models/ipage-access-vo.d.ts +6 -6
- package/dist/models/json-result-new-work-monitor-repair-details-dto.d.ts +56 -0
- package/dist/models/json-result-page-dto-surveillance-details-dto.d.ts +56 -0
- package/dist/models/json-result-page-dto-surveillance-details-dto.js +15 -0
- package/dist/models/json-result-surveillance-details-dto.d.ts +56 -0
- package/dist/models/json-result-surveillance-details-dto.js +15 -0
- package/dist/models/json-result-surveillance-live-dto.d.ts +56 -0
- package/dist/models/json-result-surveillance-live-dto.js +15 -0
- package/dist/models/new-work-monitor-repair-add-vo.d.ts +87 -0
- package/dist/models/new-work-monitor-repair-add-vo.js +15 -0
- package/dist/models/new-work-monitor-repair-details-dto.d.ts +184 -0
- package/dist/models/new-work-monitor-repair-details-dto.js +23 -0
- package/dist/models/page-dto-surveillance-details-dto.d.ts +31 -0
- package/dist/models/page-dto-surveillance-details-dto.js +15 -0
- package/dist/models/process-new-work-monitor-repair-vo.d.ts +30 -0
- package/dist/models/process-new-work-monitor-repair-vo.js +15 -0
- package/dist/models/space-add-excel-dto.d.ts +6 -0
- package/dist/models/space-add-vo.d.ts +7 -0
- package/dist/models/space-detail-dto.d.ts +9 -2
- package/dist/models/space-edit-vo.d.ts +7 -0
- package/dist/models/space-industry-attribute.d.ts +25 -0
- package/dist/models/space-industry-attribute.js +29 -0
- package/dist/models/space-point-dto.d.ts +3 -21
- package/dist/models/space-tree-dto.d.ts +26 -19
- package/dist/models/space.d.ts +43 -0
- package/dist/models/space.js +15 -0
- package/dist/models/surveillance-add-vo.d.ts +156 -0
- package/dist/models/surveillance-add-vo.js +15 -0
- package/dist/models/surveillance-details-dto.d.ts +222 -0
- package/dist/models/surveillance-details-dto.js +15 -0
- package/dist/models/surveillance-live-dto.d.ts +48 -0
- package/dist/models/surveillance-live-dto.js +15 -0
- package/dist/models/surveillance-status-enum.d.ts +21 -0
- package/dist/models/surveillance-status-enum.js +25 -0
- package/dist/models/surveillance-update-vo.d.ts +62 -0
- package/dist/models/surveillance-update-vo.js +15 -0
- package/dist/models/surveillance.d.ts +49 -0
- package/dist/models/surveillance.js +15 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/dist/models/work-order-circulation-vo.d.ts +12 -0
- package/dist/models/work-order-decision-vo.d.ts +42 -0
- package/dist/models/work-order-decision-vo.js +15 -0
- package/dist/models/work-order-handler-dto.d.ts +61 -0
- package/dist/models/work-order-handler-dto.js +15 -0
- package/dist/models/work-order-internal-status-enum.d.ts +3 -0
- package/dist/models/work-order-internal-status-enum.js +4 -1
- package/dist/models/work-order-issue-type-enum.d.ts +3 -0
- package/dist/models/work-order-issue-type-enum.js +4 -1
- package/dist/models/work-order-source-enum.d.ts +1 -0
- package/dist/models/work-order-source-enum.js +2 -1
- package/dist/models/{space-add-point-vo.d.ts → work-order-space-dto.d.ts} +14 -9
- package/dist/models/work-order-space-dto.js +15 -0
- package/dist/models/work-order-sponsor-dto.d.ts +48 -0
- package/dist/models/work-order-sponsor-dto.js +15 -0
- package/dist/models/work-order-surveillance-dto.d.ts +30 -0
- package/dist/models/work-order-surveillance-dto.js +15 -0
- package/dist/models/work-order-type-enum.d.ts +1 -0
- package/dist/models/work-order-type-enum.js +2 -1
- package/models/functional-area-enum.ts +36 -0
- package/models/get-user-wx200-response.ts +8 -8
- package/models/index.ts +23 -1
- package/models/installation-body-enum.ts +32 -0
- package/models/ipage-access-vo.ts +6 -6
- package/models/json-result-new-work-monitor-repair-details-dto.ts +66 -0
- package/models/json-result-page-dto-surveillance-details-dto.ts +66 -0
- package/models/json-result-surveillance-details-dto.ts +66 -0
- package/models/json-result-surveillance-live-dto.ts +66 -0
- package/models/new-work-monitor-repair-add-vo.ts +101 -0
- package/models/new-work-monitor-repair-details-dto.ts +221 -0
- package/models/page-dto-surveillance-details-dto.ts +39 -0
- package/models/process-new-work-monitor-repair-vo.ts +36 -0
- package/models/space-add-excel-dto.ts +6 -0
- package/models/space-add-vo.ts +9 -0
- package/models/space-detail-dto.ts +11 -2
- package/models/space-edit-vo.ts +9 -0
- package/models/space-industry-attribute.ts +35 -0
- package/models/space-point-dto.ts +3 -21
- package/models/space-tree-dto.ts +28 -19
- package/models/space.ts +51 -0
- package/models/surveillance-add-vo.ts +162 -0
- package/models/surveillance-details-dto.ts +242 -0
- package/models/surveillance-live-dto.ts +54 -0
- package/models/surveillance-status-enum.ts +31 -0
- package/models/surveillance-update-vo.ts +74 -0
- package/models/surveillance.ts +59 -0
- package/models/sys-user.ts +4 -4
- package/models/work-order-circulation-vo.ts +12 -0
- package/models/work-order-decision-vo.ts +48 -0
- package/models/work-order-handler-dto.ts +71 -0
- package/models/work-order-internal-status-enum.ts +4 -1
- package/models/work-order-issue-type-enum.ts +4 -1
- package/models/work-order-source-enum.ts +2 -1
- package/models/{space-add-point-vo.ts → work-order-space-dto.ts} +14 -11
- package/models/work-order-sponsor-dto.ts +54 -0
- package/models/work-order-surveillance-dto.ts +36 -0
- package/models/work-order-type-enum.ts +2 -1
- package/package.json +1 -1
- /package/dist/esm/models/{space-add-point-vo.js → json-result-new-work-monitor-repair-details-dto.js} +0 -0
- /package/dist/models/{space-add-point-vo.js → json-result-new-work-monitor-repair-details-dto.js} +0 -0
package/apis/surveillance-api.ts
CHANGED
|
@@ -22,6 +22,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
// @ts-ignore
|
|
23
23
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
24
|
// @ts-ignore
|
|
25
|
+
import type { FunctionalAreaEnum } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
25
27
|
import type { GizoneDevicveListSearchVO } from '../models';
|
|
26
28
|
// @ts-ignore
|
|
27
29
|
import type { JsonResult } from '../models';
|
|
@@ -42,6 +44,14 @@ import type { JsonResultMonitorSortEntity } from '../models';
|
|
|
42
44
|
// @ts-ignore
|
|
43
45
|
import type { JsonResultPageDtoMonitorSortEntity } from '../models';
|
|
44
46
|
// @ts-ignore
|
|
47
|
+
import type { JsonResultPageDtoSurveillanceDetailsDto } from '../models';
|
|
48
|
+
// @ts-ignore
|
|
49
|
+
import type { JsonResultSurveillanceDetailsDto } from '../models';
|
|
50
|
+
// @ts-ignore
|
|
51
|
+
import type { JsonResultSurveillanceLiveDto } from '../models';
|
|
52
|
+
// @ts-ignore
|
|
53
|
+
import type { JsonResultVoid } from '../models';
|
|
54
|
+
// @ts-ignore
|
|
45
55
|
import type { MonitorBindParkVO } from '../models';
|
|
46
56
|
// @ts-ignore
|
|
47
57
|
import type { MonitorEditVo } from '../models';
|
|
@@ -57,6 +67,12 @@ import type { MonitorSearchVo } from '../models';
|
|
|
57
67
|
import type { MonitorSortEntity } from '../models';
|
|
58
68
|
// @ts-ignore
|
|
59
69
|
import type { MonitorSortSearchVo } from '../models';
|
|
70
|
+
// @ts-ignore
|
|
71
|
+
import type { SurveillanceAddVo } from '../models';
|
|
72
|
+
// @ts-ignore
|
|
73
|
+
import type { SurveillanceStatusEnum } from '../models';
|
|
74
|
+
// @ts-ignore
|
|
75
|
+
import type { SurveillanceUpdateVo } from '../models';
|
|
60
76
|
/**
|
|
61
77
|
* SurveillanceApi - axios parameter creator
|
|
62
78
|
* @export
|
|
@@ -629,6 +645,44 @@ export const SurveillanceApiAxiosParamCreator = function (configuration?: Config
|
|
|
629
645
|
options: localVarRequestOptions,
|
|
630
646
|
};
|
|
631
647
|
},
|
|
648
|
+
/**
|
|
649
|
+
* 抓拍监控画面
|
|
650
|
+
* @summary 监控抓拍
|
|
651
|
+
* @param {number} id
|
|
652
|
+
* @param {*} [options] Override http request option.
|
|
653
|
+
* @throws {RequiredError}
|
|
654
|
+
*/
|
|
655
|
+
surveillanceCapture: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
656
|
+
// verify required parameter 'id' is not null or undefined
|
|
657
|
+
assertParamExists('surveillanceCapture', 'id', id)
|
|
658
|
+
const localVarPath = `/surveillance/capture/{id}`
|
|
659
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
660
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
661
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
662
|
+
let baseOptions;
|
|
663
|
+
if (configuration) {
|
|
664
|
+
baseOptions = configuration.baseOptions;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
668
|
+
const localVarHeaderParameter = {} as any;
|
|
669
|
+
const localVarQueryParameter = {} as any;
|
|
670
|
+
|
|
671
|
+
// authentication tokenScheme required
|
|
672
|
+
// http bearer authentication required
|
|
673
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
678
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
679
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
680
|
+
|
|
681
|
+
return {
|
|
682
|
+
url: toPathString(localVarUrlObj),
|
|
683
|
+
options: localVarRequestOptions,
|
|
684
|
+
};
|
|
685
|
+
},
|
|
632
686
|
/**
|
|
633
687
|
*
|
|
634
688
|
* @summary 删除监控
|
|
@@ -671,16 +725,17 @@ export const SurveillanceApiAxiosParamCreator = function (configuration?: Config
|
|
|
671
725
|
};
|
|
672
726
|
},
|
|
673
727
|
/**
|
|
674
|
-
*
|
|
675
|
-
* @summary
|
|
676
|
-
* @param {
|
|
728
|
+
* 删除监控信息
|
|
729
|
+
* @summary 删除监控
|
|
730
|
+
* @param {number} id
|
|
677
731
|
* @param {*} [options] Override http request option.
|
|
678
732
|
* @throws {RequiredError}
|
|
679
733
|
*/
|
|
680
|
-
|
|
681
|
-
// verify required parameter '
|
|
682
|
-
assertParamExists('
|
|
683
|
-
const localVarPath = `/
|
|
734
|
+
surveillanceDelete: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
735
|
+
// verify required parameter 'id' is not null or undefined
|
|
736
|
+
assertParamExists('surveillanceDelete', 'id', id)
|
|
737
|
+
const localVarPath = `/surveillance/{id}`
|
|
738
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
684
739
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
685
740
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
686
741
|
let baseOptions;
|
|
@@ -688,7 +743,7 @@ export const SurveillanceApiAxiosParamCreator = function (configuration?: Config
|
|
|
688
743
|
baseOptions = configuration.baseOptions;
|
|
689
744
|
}
|
|
690
745
|
|
|
691
|
-
const localVarRequestOptions = { method: '
|
|
746
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
692
747
|
const localVarHeaderParameter = {} as any;
|
|
693
748
|
const localVarQueryParameter = {} as any;
|
|
694
749
|
|
|
@@ -698,12 +753,9 @@ export const SurveillanceApiAxiosParamCreator = function (configuration?: Config
|
|
|
698
753
|
|
|
699
754
|
|
|
700
755
|
|
|
701
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
702
|
-
|
|
703
756
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
704
757
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
705
758
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
706
|
-
localVarRequestOptions.data = serializeDataIfNeeded(monitorSortEntity, localVarRequestOptions, configuration)
|
|
707
759
|
|
|
708
760
|
return {
|
|
709
761
|
url: toPathString(localVarUrlObj),
|
|
@@ -711,16 +763,17 @@ export const SurveillanceApiAxiosParamCreator = function (configuration?: Config
|
|
|
711
763
|
};
|
|
712
764
|
},
|
|
713
765
|
/**
|
|
714
|
-
*
|
|
715
|
-
* @summary
|
|
766
|
+
* 获取监控详情
|
|
767
|
+
* @summary 监控详情
|
|
716
768
|
* @param {number} id
|
|
717
769
|
* @param {*} [options] Override http request option.
|
|
718
770
|
* @throws {RequiredError}
|
|
719
771
|
*/
|
|
720
|
-
|
|
772
|
+
surveillanceDetails: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
721
773
|
// verify required parameter 'id' is not null or undefined
|
|
722
|
-
assertParamExists('
|
|
723
|
-
const localVarPath = `/
|
|
774
|
+
assertParamExists('surveillanceDetails', 'id', id)
|
|
775
|
+
const localVarPath = `/surveillance/{id}`
|
|
776
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
724
777
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
725
778
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
726
779
|
let baseOptions;
|
|
@@ -736,10 +789,6 @@ export const SurveillanceApiAxiosParamCreator = function (configuration?: Config
|
|
|
736
789
|
// http bearer authentication required
|
|
737
790
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
738
791
|
|
|
739
|
-
if (id !== undefined) {
|
|
740
|
-
localVarQueryParameter['id'] = id;
|
|
741
|
-
}
|
|
742
|
-
|
|
743
792
|
|
|
744
793
|
|
|
745
794
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -752,16 +801,20 @@ export const SurveillanceApiAxiosParamCreator = function (configuration?: Config
|
|
|
752
801
|
};
|
|
753
802
|
},
|
|
754
803
|
/**
|
|
755
|
-
*
|
|
756
|
-
* @summary
|
|
757
|
-
* @param {
|
|
804
|
+
* 获取监控列表
|
|
805
|
+
* @summary 监控列表
|
|
806
|
+
* @param {string} [surveillanceName] 监控名称
|
|
807
|
+
* @param {FunctionalAreaEnum} [functionalArea] 功能区
|
|
808
|
+
* @param {SurveillanceStatusEnum} [surveillanceStatus] 监控状态
|
|
809
|
+
* @param {number} [parkId] 园区ID
|
|
810
|
+
* @param {number} [spaceId] 空间ID
|
|
811
|
+
* @param {string} [page] 当前页码
|
|
812
|
+
* @param {string} [pageSize] 每页数量
|
|
758
813
|
* @param {*} [options] Override http request option.
|
|
759
814
|
* @throws {RequiredError}
|
|
760
815
|
*/
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
assertParamExists('withEquipment', 'gizoneDevicveListSearchVO', gizoneDevicveListSearchVO)
|
|
764
|
-
const localVarPath = `/gizone/monitor/with/equipment`;
|
|
816
|
+
surveillanceList: async (surveillanceName?: string, functionalArea?: FunctionalAreaEnum, surveillanceStatus?: SurveillanceStatusEnum, parkId?: number, spaceId?: number, page?: string, pageSize?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
817
|
+
const localVarPath = `/surveillance`;
|
|
765
818
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
766
819
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
767
820
|
let baseOptions;
|
|
@@ -769,7 +822,7 @@ export const SurveillanceApiAxiosParamCreator = function (configuration?: Config
|
|
|
769
822
|
baseOptions = configuration.baseOptions;
|
|
770
823
|
}
|
|
771
824
|
|
|
772
|
-
const localVarRequestOptions = { method: '
|
|
825
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
773
826
|
const localVarHeaderParameter = {} as any;
|
|
774
827
|
const localVarQueryParameter = {} as any;
|
|
775
828
|
|
|
@@ -777,107 +830,592 @@ export const SurveillanceApiAxiosParamCreator = function (configuration?: Config
|
|
|
777
830
|
// http bearer authentication required
|
|
778
831
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
779
832
|
|
|
833
|
+
if (surveillanceName !== undefined) {
|
|
834
|
+
localVarQueryParameter['surveillanceName'] = surveillanceName;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
if (functionalArea !== undefined) {
|
|
838
|
+
localVarQueryParameter['functionalArea'] = functionalArea;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
if (surveillanceStatus !== undefined) {
|
|
842
|
+
localVarQueryParameter['surveillanceStatus'] = surveillanceStatus;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
if (parkId !== undefined) {
|
|
846
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
if (spaceId !== undefined) {
|
|
850
|
+
localVarQueryParameter['spaceId'] = spaceId;
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
if (page !== undefined) {
|
|
854
|
+
localVarQueryParameter['page'] = page;
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
if (pageSize !== undefined) {
|
|
858
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
859
|
+
}
|
|
780
860
|
|
|
781
|
-
|
|
782
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
783
861
|
|
|
862
|
+
|
|
784
863
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
785
864
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
786
865
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
787
|
-
localVarRequestOptions.data = serializeDataIfNeeded(gizoneDevicveListSearchVO, localVarRequestOptions, configuration)
|
|
788
866
|
|
|
789
867
|
return {
|
|
790
868
|
url: toPathString(localVarUrlObj),
|
|
791
869
|
options: localVarRequestOptions,
|
|
792
870
|
};
|
|
793
871
|
},
|
|
794
|
-
}
|
|
795
|
-
};
|
|
796
|
-
|
|
797
|
-
/**
|
|
798
|
-
* SurveillanceApi - functional programming interface
|
|
799
|
-
* @export
|
|
800
|
-
*/
|
|
801
|
-
export const SurveillanceApiFp = function(configuration?: Configuration) {
|
|
802
|
-
const localVarAxiosParamCreator = SurveillanceApiAxiosParamCreator(configuration)
|
|
803
|
-
return {
|
|
804
|
-
/**
|
|
805
|
-
*
|
|
806
|
-
* @summary 监控绑定园区
|
|
807
|
-
* @param {MonitorBindParkVO} monitorBindParkVO
|
|
808
|
-
* @param {*} [options] Override http request option.
|
|
809
|
-
* @throws {RequiredError}
|
|
810
|
-
*/
|
|
811
|
-
async bindPark(monitorBindParkVO: MonitorBindParkVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
812
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.bindPark(monitorBindParkVO, options);
|
|
813
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
814
|
-
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.bindPark']?.[localVarOperationServerIndex]?.url;
|
|
815
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
816
|
-
},
|
|
817
|
-
/**
|
|
818
|
-
*
|
|
819
|
-
* @summary 监控云台控制
|
|
820
|
-
* @param {MonitorPanTiltControlVO} monitorPanTiltControlVO
|
|
821
|
-
* @param {*} [options] Override http request option.
|
|
822
|
-
* @throws {RequiredError}
|
|
823
|
-
*/
|
|
824
|
-
async cameraPTZ(monitorPanTiltControlVO: MonitorPanTiltControlVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
825
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.cameraPTZ(monitorPanTiltControlVO, options);
|
|
826
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
827
|
-
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.cameraPTZ']?.[localVarOperationServerIndex]?.url;
|
|
828
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
829
|
-
},
|
|
830
872
|
/**
|
|
831
|
-
*
|
|
832
|
-
* @summary
|
|
873
|
+
* 获取监控直播流
|
|
874
|
+
* @summary 监控直播流
|
|
833
875
|
* @param {number} id
|
|
834
876
|
* @param {*} [options] Override http request option.
|
|
835
877
|
* @throws {RequiredError}
|
|
836
878
|
*/
|
|
837
|
-
async
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
const
|
|
841
|
-
|
|
879
|
+
surveillanceLive: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
880
|
+
// verify required parameter 'id' is not null or undefined
|
|
881
|
+
assertParamExists('surveillanceLive', 'id', id)
|
|
882
|
+
const localVarPath = `/surveillance/live/{id}`
|
|
883
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
884
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
885
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
886
|
+
let baseOptions;
|
|
887
|
+
if (configuration) {
|
|
888
|
+
baseOptions = configuration.baseOptions;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
892
|
+
const localVarHeaderParameter = {} as any;
|
|
893
|
+
const localVarQueryParameter = {} as any;
|
|
894
|
+
|
|
895
|
+
// authentication tokenScheme required
|
|
896
|
+
// http bearer authentication required
|
|
897
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
902
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
903
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
904
|
+
|
|
905
|
+
return {
|
|
906
|
+
url: toPathString(localVarUrlObj),
|
|
907
|
+
options: localVarRequestOptions,
|
|
908
|
+
};
|
|
842
909
|
},
|
|
843
910
|
/**
|
|
844
|
-
*
|
|
845
|
-
* @summary
|
|
911
|
+
* 获取监控回放流
|
|
912
|
+
* @summary 监控回放流
|
|
846
913
|
* @param {number} id
|
|
847
|
-
* @param {
|
|
914
|
+
* @param {string} startTime 回放开始时间
|
|
915
|
+
* @param {string} endTime 回放结束时间
|
|
848
916
|
* @param {*} [options] Override http request option.
|
|
849
917
|
* @throws {RequiredError}
|
|
850
918
|
*/
|
|
851
|
-
async
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
919
|
+
surveillancePlayback: async (id: number, startTime: string, endTime: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
920
|
+
// verify required parameter 'id' is not null or undefined
|
|
921
|
+
assertParamExists('surveillancePlayback', 'id', id)
|
|
922
|
+
// verify required parameter 'startTime' is not null or undefined
|
|
923
|
+
assertParamExists('surveillancePlayback', 'startTime', startTime)
|
|
924
|
+
// verify required parameter 'endTime' is not null or undefined
|
|
925
|
+
assertParamExists('surveillancePlayback', 'endTime', endTime)
|
|
926
|
+
const localVarPath = `/surveillance/playback/{id}`
|
|
927
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
928
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
929
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
930
|
+
let baseOptions;
|
|
931
|
+
if (configuration) {
|
|
932
|
+
baseOptions = configuration.baseOptions;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
936
|
+
const localVarHeaderParameter = {} as any;
|
|
937
|
+
const localVarQueryParameter = {} as any;
|
|
938
|
+
|
|
939
|
+
// authentication tokenScheme required
|
|
940
|
+
// http bearer authentication required
|
|
941
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
942
|
+
|
|
943
|
+
if (startTime !== undefined) {
|
|
944
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
if (endTime !== undefined) {
|
|
948
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
954
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
955
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
956
|
+
|
|
957
|
+
return {
|
|
958
|
+
url: toPathString(localVarUrlObj),
|
|
959
|
+
options: localVarRequestOptions,
|
|
960
|
+
};
|
|
856
961
|
},
|
|
857
962
|
/**
|
|
858
|
-
*
|
|
859
|
-
* @summary
|
|
860
|
-
* @param {number}
|
|
963
|
+
* 控制监控设备的云台
|
|
964
|
+
* @summary 监控云台控制
|
|
965
|
+
* @param {number} id
|
|
966
|
+
* @param {SurveillancePtzControlCommandEnum} command 控制命令
|
|
967
|
+
* @param {SurveillancePtzControlActionEnum} action 控制动作
|
|
861
968
|
* @param {*} [options] Override http request option.
|
|
862
969
|
* @throws {RequiredError}
|
|
863
970
|
*/
|
|
864
|
-
async
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
971
|
+
surveillancePtzControl: async (id: number, command: SurveillancePtzControlCommandEnum, action: SurveillancePtzControlActionEnum, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
972
|
+
// verify required parameter 'id' is not null or undefined
|
|
973
|
+
assertParamExists('surveillancePtzControl', 'id', id)
|
|
974
|
+
// verify required parameter 'command' is not null or undefined
|
|
975
|
+
assertParamExists('surveillancePtzControl', 'command', command)
|
|
976
|
+
// verify required parameter 'action' is not null or undefined
|
|
977
|
+
assertParamExists('surveillancePtzControl', 'action', action)
|
|
978
|
+
const localVarPath = `/surveillance/ptzControl/{id}`
|
|
979
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
980
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
981
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
982
|
+
let baseOptions;
|
|
983
|
+
if (configuration) {
|
|
984
|
+
baseOptions = configuration.baseOptions;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
988
|
+
const localVarHeaderParameter = {} as any;
|
|
989
|
+
const localVarQueryParameter = {} as any;
|
|
990
|
+
|
|
991
|
+
// authentication tokenScheme required
|
|
992
|
+
// http bearer authentication required
|
|
993
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
994
|
+
|
|
995
|
+
if (command !== undefined) {
|
|
996
|
+
localVarQueryParameter['command'] = command;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
if (action !== undefined) {
|
|
1000
|
+
localVarQueryParameter['action'] = action;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1006
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1007
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1008
|
+
|
|
1009
|
+
return {
|
|
1010
|
+
url: toPathString(localVarUrlObj),
|
|
1011
|
+
options: localVarRequestOptions,
|
|
1012
|
+
};
|
|
869
1013
|
},
|
|
870
1014
|
/**
|
|
871
|
-
*
|
|
872
|
-
* @summary
|
|
873
|
-
* @param {
|
|
1015
|
+
* 获取监控空间列表
|
|
1016
|
+
* @summary 监控空间列表
|
|
1017
|
+
* @param {string} [surveillanceName] 监控名称
|
|
1018
|
+
* @param {FunctionalAreaEnum} [functionalArea] 功能区
|
|
1019
|
+
* @param {SurveillanceStatusEnum} [surveillanceStatus] 监控状态
|
|
1020
|
+
* @param {number} [parkId] 园区ID
|
|
1021
|
+
* @param {number} [spaceId] 空间ID
|
|
1022
|
+
* @param {string} [page] 当前页码
|
|
1023
|
+
* @param {string} [pageSize] 每页数量
|
|
874
1024
|
* @param {*} [options] Override http request option.
|
|
875
1025
|
* @throws {RequiredError}
|
|
876
1026
|
*/
|
|
877
|
-
async
|
|
878
|
-
const
|
|
879
|
-
|
|
880
|
-
const
|
|
1027
|
+
surveillanceSpaceList: async (surveillanceName?: string, functionalArea?: FunctionalAreaEnum, surveillanceStatus?: SurveillanceStatusEnum, parkId?: number, spaceId?: number, page?: string, pageSize?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1028
|
+
const localVarPath = `/surveillance/spaceList`;
|
|
1029
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1030
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1031
|
+
let baseOptions;
|
|
1032
|
+
if (configuration) {
|
|
1033
|
+
baseOptions = configuration.baseOptions;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1037
|
+
const localVarHeaderParameter = {} as any;
|
|
1038
|
+
const localVarQueryParameter = {} as any;
|
|
1039
|
+
|
|
1040
|
+
// authentication tokenScheme required
|
|
1041
|
+
// http bearer authentication required
|
|
1042
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1043
|
+
|
|
1044
|
+
if (surveillanceName !== undefined) {
|
|
1045
|
+
localVarQueryParameter['surveillanceName'] = surveillanceName;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
if (functionalArea !== undefined) {
|
|
1049
|
+
localVarQueryParameter['functionalArea'] = functionalArea;
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
if (surveillanceStatus !== undefined) {
|
|
1053
|
+
localVarQueryParameter['surveillanceStatus'] = surveillanceStatus;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
if (parkId !== undefined) {
|
|
1057
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
if (spaceId !== undefined) {
|
|
1061
|
+
localVarQueryParameter['spaceId'] = spaceId;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
if (page !== undefined) {
|
|
1065
|
+
localVarQueryParameter['page'] = page;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
if (pageSize !== undefined) {
|
|
1069
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
|
|
1074
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1075
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1076
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1077
|
+
|
|
1078
|
+
return {
|
|
1079
|
+
url: toPathString(localVarUrlObj),
|
|
1080
|
+
options: localVarRequestOptions,
|
|
1081
|
+
};
|
|
1082
|
+
},
|
|
1083
|
+
/**
|
|
1084
|
+
* 同步监控信息
|
|
1085
|
+
* @summary 同步监控
|
|
1086
|
+
* @param {Array<SurveillanceAddVo>} surveillanceAddVo
|
|
1087
|
+
* @param {*} [options] Override http request option.
|
|
1088
|
+
* @throws {RequiredError}
|
|
1089
|
+
*/
|
|
1090
|
+
surveillanceSync: async (surveillanceAddVo: Array<SurveillanceAddVo>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1091
|
+
// verify required parameter 'surveillanceAddVo' is not null or undefined
|
|
1092
|
+
assertParamExists('surveillanceSync', 'surveillanceAddVo', surveillanceAddVo)
|
|
1093
|
+
const localVarPath = `/surveillance/sync`;
|
|
1094
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1095
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1096
|
+
let baseOptions;
|
|
1097
|
+
if (configuration) {
|
|
1098
|
+
baseOptions = configuration.baseOptions;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1102
|
+
const localVarHeaderParameter = {} as any;
|
|
1103
|
+
const localVarQueryParameter = {} as any;
|
|
1104
|
+
|
|
1105
|
+
// authentication tokenScheme required
|
|
1106
|
+
// http bearer authentication required
|
|
1107
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1108
|
+
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1112
|
+
|
|
1113
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1114
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1115
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1116
|
+
localVarRequestOptions.data = serializeDataIfNeeded(surveillanceAddVo, localVarRequestOptions, configuration)
|
|
1117
|
+
|
|
1118
|
+
return {
|
|
1119
|
+
url: toPathString(localVarUrlObj),
|
|
1120
|
+
options: localVarRequestOptions,
|
|
1121
|
+
};
|
|
1122
|
+
},
|
|
1123
|
+
/**
|
|
1124
|
+
* 更新监控信息
|
|
1125
|
+
* @summary 更新监控
|
|
1126
|
+
* @param {number} id
|
|
1127
|
+
* @param {SurveillanceUpdateVo} surveillanceUpdateVo
|
|
1128
|
+
* @param {*} [options] Override http request option.
|
|
1129
|
+
* @throws {RequiredError}
|
|
1130
|
+
*/
|
|
1131
|
+
surveillanceUpdate: async (id: number, surveillanceUpdateVo: SurveillanceUpdateVo, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1132
|
+
// verify required parameter 'id' is not null or undefined
|
|
1133
|
+
assertParamExists('surveillanceUpdate', 'id', id)
|
|
1134
|
+
// verify required parameter 'surveillanceUpdateVo' is not null or undefined
|
|
1135
|
+
assertParamExists('surveillanceUpdate', 'surveillanceUpdateVo', surveillanceUpdateVo)
|
|
1136
|
+
const localVarPath = `/surveillance/{id}`
|
|
1137
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1138
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1139
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1140
|
+
let baseOptions;
|
|
1141
|
+
if (configuration) {
|
|
1142
|
+
baseOptions = configuration.baseOptions;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
1146
|
+
const localVarHeaderParameter = {} as any;
|
|
1147
|
+
const localVarQueryParameter = {} as any;
|
|
1148
|
+
|
|
1149
|
+
// authentication tokenScheme required
|
|
1150
|
+
// http bearer authentication required
|
|
1151
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1152
|
+
|
|
1153
|
+
|
|
1154
|
+
|
|
1155
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1156
|
+
|
|
1157
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1158
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1159
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1160
|
+
localVarRequestOptions.data = serializeDataIfNeeded(surveillanceUpdateVo, localVarRequestOptions, configuration)
|
|
1161
|
+
|
|
1162
|
+
return {
|
|
1163
|
+
url: toPathString(localVarUrlObj),
|
|
1164
|
+
options: localVarRequestOptions,
|
|
1165
|
+
};
|
|
1166
|
+
},
|
|
1167
|
+
/**
|
|
1168
|
+
* 更新监控点位信息
|
|
1169
|
+
* @summary 更新监控点位
|
|
1170
|
+
* @param {number} id
|
|
1171
|
+
* @param {Array<number>} requestBody
|
|
1172
|
+
* @param {*} [options] Override http request option.
|
|
1173
|
+
* @throws {RequiredError}
|
|
1174
|
+
*/
|
|
1175
|
+
surveillanceUpdatePoint: async (id: number, requestBody: Array<number>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1176
|
+
// verify required parameter 'id' is not null or undefined
|
|
1177
|
+
assertParamExists('surveillanceUpdatePoint', 'id', id)
|
|
1178
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
1179
|
+
assertParamExists('surveillanceUpdatePoint', 'requestBody', requestBody)
|
|
1180
|
+
const localVarPath = `/surveillance/point/{id}`
|
|
1181
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1182
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1183
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1184
|
+
let baseOptions;
|
|
1185
|
+
if (configuration) {
|
|
1186
|
+
baseOptions = configuration.baseOptions;
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
1190
|
+
const localVarHeaderParameter = {} as any;
|
|
1191
|
+
const localVarQueryParameter = {} as any;
|
|
1192
|
+
|
|
1193
|
+
// authentication tokenScheme required
|
|
1194
|
+
// http bearer authentication required
|
|
1195
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
|
|
1199
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1200
|
+
|
|
1201
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1202
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1203
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1204
|
+
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration)
|
|
1205
|
+
|
|
1206
|
+
return {
|
|
1207
|
+
url: toPathString(localVarUrlObj),
|
|
1208
|
+
options: localVarRequestOptions,
|
|
1209
|
+
};
|
|
1210
|
+
},
|
|
1211
|
+
/**
|
|
1212
|
+
*
|
|
1213
|
+
* @summary 修改或新增
|
|
1214
|
+
* @param {MonitorSortEntity} monitorSortEntity
|
|
1215
|
+
* @param {*} [options] Override http request option.
|
|
1216
|
+
* @throws {RequiredError}
|
|
1217
|
+
*/
|
|
1218
|
+
updateOrSave: async (monitorSortEntity: MonitorSortEntity, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1219
|
+
// verify required parameter 'monitorSortEntity' is not null or undefined
|
|
1220
|
+
assertParamExists('updateOrSave', 'monitorSortEntity', monitorSortEntity)
|
|
1221
|
+
const localVarPath = `/gizone/monitorSort/updateOrSave`;
|
|
1222
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1223
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1224
|
+
let baseOptions;
|
|
1225
|
+
if (configuration) {
|
|
1226
|
+
baseOptions = configuration.baseOptions;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1230
|
+
const localVarHeaderParameter = {} as any;
|
|
1231
|
+
const localVarQueryParameter = {} as any;
|
|
1232
|
+
|
|
1233
|
+
// authentication tokenScheme required
|
|
1234
|
+
// http bearer authentication required
|
|
1235
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1236
|
+
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1240
|
+
|
|
1241
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1242
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1243
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1244
|
+
localVarRequestOptions.data = serializeDataIfNeeded(monitorSortEntity, localVarRequestOptions, configuration)
|
|
1245
|
+
|
|
1246
|
+
return {
|
|
1247
|
+
url: toPathString(localVarUrlObj),
|
|
1248
|
+
options: localVarRequestOptions,
|
|
1249
|
+
};
|
|
1250
|
+
},
|
|
1251
|
+
/**
|
|
1252
|
+
*
|
|
1253
|
+
* @summary 删除
|
|
1254
|
+
* @param {number} id
|
|
1255
|
+
* @param {*} [options] Override http request option.
|
|
1256
|
+
* @throws {RequiredError}
|
|
1257
|
+
*/
|
|
1258
|
+
updateOrSave1: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1259
|
+
// verify required parameter 'id' is not null or undefined
|
|
1260
|
+
assertParamExists('updateOrSave1', 'id', id)
|
|
1261
|
+
const localVarPath = `/gizone/monitorSort/del`;
|
|
1262
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1263
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1264
|
+
let baseOptions;
|
|
1265
|
+
if (configuration) {
|
|
1266
|
+
baseOptions = configuration.baseOptions;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1270
|
+
const localVarHeaderParameter = {} as any;
|
|
1271
|
+
const localVarQueryParameter = {} as any;
|
|
1272
|
+
|
|
1273
|
+
// authentication tokenScheme required
|
|
1274
|
+
// http bearer authentication required
|
|
1275
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1276
|
+
|
|
1277
|
+
if (id !== undefined) {
|
|
1278
|
+
localVarQueryParameter['id'] = id;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1284
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1285
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1286
|
+
|
|
1287
|
+
return {
|
|
1288
|
+
url: toPathString(localVarUrlObj),
|
|
1289
|
+
options: localVarRequestOptions,
|
|
1290
|
+
};
|
|
1291
|
+
},
|
|
1292
|
+
/**
|
|
1293
|
+
*
|
|
1294
|
+
* @summary 同步监控设备接口
|
|
1295
|
+
* @param {GizoneDevicveListSearchVO} gizoneDevicveListSearchVO
|
|
1296
|
+
* @param {*} [options] Override http request option.
|
|
1297
|
+
* @throws {RequiredError}
|
|
1298
|
+
*/
|
|
1299
|
+
withEquipment: async (gizoneDevicveListSearchVO: GizoneDevicveListSearchVO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1300
|
+
// verify required parameter 'gizoneDevicveListSearchVO' is not null or undefined
|
|
1301
|
+
assertParamExists('withEquipment', 'gizoneDevicveListSearchVO', gizoneDevicveListSearchVO)
|
|
1302
|
+
const localVarPath = `/gizone/monitor/with/equipment`;
|
|
1303
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1304
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1305
|
+
let baseOptions;
|
|
1306
|
+
if (configuration) {
|
|
1307
|
+
baseOptions = configuration.baseOptions;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1311
|
+
const localVarHeaderParameter = {} as any;
|
|
1312
|
+
const localVarQueryParameter = {} as any;
|
|
1313
|
+
|
|
1314
|
+
// authentication tokenScheme required
|
|
1315
|
+
// http bearer authentication required
|
|
1316
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1317
|
+
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1321
|
+
|
|
1322
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1323
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1324
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1325
|
+
localVarRequestOptions.data = serializeDataIfNeeded(gizoneDevicveListSearchVO, localVarRequestOptions, configuration)
|
|
1326
|
+
|
|
1327
|
+
return {
|
|
1328
|
+
url: toPathString(localVarUrlObj),
|
|
1329
|
+
options: localVarRequestOptions,
|
|
1330
|
+
};
|
|
1331
|
+
},
|
|
1332
|
+
}
|
|
1333
|
+
};
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* SurveillanceApi - functional programming interface
|
|
1337
|
+
* @export
|
|
1338
|
+
*/
|
|
1339
|
+
export const SurveillanceApiFp = function(configuration?: Configuration) {
|
|
1340
|
+
const localVarAxiosParamCreator = SurveillanceApiAxiosParamCreator(configuration)
|
|
1341
|
+
return {
|
|
1342
|
+
/**
|
|
1343
|
+
*
|
|
1344
|
+
* @summary 监控绑定园区
|
|
1345
|
+
* @param {MonitorBindParkVO} monitorBindParkVO
|
|
1346
|
+
* @param {*} [options] Override http request option.
|
|
1347
|
+
* @throws {RequiredError}
|
|
1348
|
+
*/
|
|
1349
|
+
async bindPark(monitorBindParkVO: MonitorBindParkVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
1350
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bindPark(monitorBindParkVO, options);
|
|
1351
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1352
|
+
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.bindPark']?.[localVarOperationServerIndex]?.url;
|
|
1353
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1354
|
+
},
|
|
1355
|
+
/**
|
|
1356
|
+
*
|
|
1357
|
+
* @summary 监控云台控制
|
|
1358
|
+
* @param {MonitorPanTiltControlVO} monitorPanTiltControlVO
|
|
1359
|
+
* @param {*} [options] Override http request option.
|
|
1360
|
+
* @throws {RequiredError}
|
|
1361
|
+
*/
|
|
1362
|
+
async cameraPTZ(monitorPanTiltControlVO: MonitorPanTiltControlVO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
1363
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.cameraPTZ(monitorPanTiltControlVO, options);
|
|
1364
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1365
|
+
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.cameraPTZ']?.[localVarOperationServerIndex]?.url;
|
|
1366
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1367
|
+
},
|
|
1368
|
+
/**
|
|
1369
|
+
*
|
|
1370
|
+
* @summary 监控抓拍
|
|
1371
|
+
* @param {number} id
|
|
1372
|
+
* @param {*} [options] Override http request option.
|
|
1373
|
+
* @throws {RequiredError}
|
|
1374
|
+
*/
|
|
1375
|
+
async capture(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>> {
|
|
1376
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.capture(id, options);
|
|
1377
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1378
|
+
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.capture']?.[localVarOperationServerIndex]?.url;
|
|
1379
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1380
|
+
},
|
|
1381
|
+
/**
|
|
1382
|
+
*
|
|
1383
|
+
* @summary 监控直播
|
|
1384
|
+
* @param {number} id
|
|
1385
|
+
* @param {number} parkId
|
|
1386
|
+
* @param {*} [options] Override http request option.
|
|
1387
|
+
* @throws {RequiredError}
|
|
1388
|
+
*/
|
|
1389
|
+
async live(id: number, parkId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultMonitorLiveDTO>> {
|
|
1390
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.live(id, parkId, options);
|
|
1391
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1392
|
+
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.live']?.[localVarOperationServerIndex]?.url;
|
|
1393
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1394
|
+
},
|
|
1395
|
+
/**
|
|
1396
|
+
*
|
|
1397
|
+
* @summary 监控直播接口
|
|
1398
|
+
* @param {number} onlyNumber
|
|
1399
|
+
* @param {*} [options] Override http request option.
|
|
1400
|
+
* @throws {RequiredError}
|
|
1401
|
+
*/
|
|
1402
|
+
async liveBroadCast(onlyNumber: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResult>> {
|
|
1403
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liveBroadCast(onlyNumber, options);
|
|
1404
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1405
|
+
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.liveBroadCast']?.[localVarOperationServerIndex]?.url;
|
|
1406
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1407
|
+
},
|
|
1408
|
+
/**
|
|
1409
|
+
*
|
|
1410
|
+
* @summary 监控详情
|
|
1411
|
+
* @param {number} id
|
|
1412
|
+
* @param {*} [options] Override http request option.
|
|
1413
|
+
* @throws {RequiredError}
|
|
1414
|
+
*/
|
|
1415
|
+
async monitorDetail(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultMonitorDetailDto>> {
|
|
1416
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.monitorDetail(id, options);
|
|
1417
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1418
|
+
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.monitorDetail']?.[localVarOperationServerIndex]?.url;
|
|
881
1419
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
882
1420
|
},
|
|
883
1421
|
/**
|
|
@@ -983,6 +1521,19 @@ export const SurveillanceApiFp = function(configuration?: Configuration) {
|
|
|
983
1521
|
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.playBack']?.[localVarOperationServerIndex]?.url;
|
|
984
1522
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
985
1523
|
},
|
|
1524
|
+
/**
|
|
1525
|
+
* 抓拍监控画面
|
|
1526
|
+
* @summary 监控抓拍
|
|
1527
|
+
* @param {number} id
|
|
1528
|
+
* @param {*} [options] Override http request option.
|
|
1529
|
+
* @throws {RequiredError}
|
|
1530
|
+
*/
|
|
1531
|
+
async surveillanceCapture(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
1532
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.surveillanceCapture(id, options);
|
|
1533
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1534
|
+
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.surveillanceCapture']?.[localVarOperationServerIndex]?.url;
|
|
1535
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1536
|
+
},
|
|
986
1537
|
/**
|
|
987
1538
|
*
|
|
988
1539
|
* @summary 删除监控
|
|
@@ -996,6 +1547,154 @@ export const SurveillanceApiFp = function(configuration?: Configuration) {
|
|
|
996
1547
|
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.surveillanceDel']?.[localVarOperationServerIndex]?.url;
|
|
997
1548
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
998
1549
|
},
|
|
1550
|
+
/**
|
|
1551
|
+
* 删除监控信息
|
|
1552
|
+
* @summary 删除监控
|
|
1553
|
+
* @param {number} id
|
|
1554
|
+
* @param {*} [options] Override http request option.
|
|
1555
|
+
* @throws {RequiredError}
|
|
1556
|
+
*/
|
|
1557
|
+
async surveillanceDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>> {
|
|
1558
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.surveillanceDelete(id, options);
|
|
1559
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1560
|
+
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.surveillanceDelete']?.[localVarOperationServerIndex]?.url;
|
|
1561
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1562
|
+
},
|
|
1563
|
+
/**
|
|
1564
|
+
* 获取监控详情
|
|
1565
|
+
* @summary 监控详情
|
|
1566
|
+
* @param {number} id
|
|
1567
|
+
* @param {*} [options] Override http request option.
|
|
1568
|
+
* @throws {RequiredError}
|
|
1569
|
+
*/
|
|
1570
|
+
async surveillanceDetails(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultSurveillanceDetailsDto>> {
|
|
1571
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.surveillanceDetails(id, options);
|
|
1572
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1573
|
+
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.surveillanceDetails']?.[localVarOperationServerIndex]?.url;
|
|
1574
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1575
|
+
},
|
|
1576
|
+
/**
|
|
1577
|
+
* 获取监控列表
|
|
1578
|
+
* @summary 监控列表
|
|
1579
|
+
* @param {string} [surveillanceName] 监控名称
|
|
1580
|
+
* @param {FunctionalAreaEnum} [functionalArea] 功能区
|
|
1581
|
+
* @param {SurveillanceStatusEnum} [surveillanceStatus] 监控状态
|
|
1582
|
+
* @param {number} [parkId] 园区ID
|
|
1583
|
+
* @param {number} [spaceId] 空间ID
|
|
1584
|
+
* @param {string} [page] 当前页码
|
|
1585
|
+
* @param {string} [pageSize] 每页数量
|
|
1586
|
+
* @param {*} [options] Override http request option.
|
|
1587
|
+
* @throws {RequiredError}
|
|
1588
|
+
*/
|
|
1589
|
+
async surveillanceList(surveillanceName?: string, functionalArea?: FunctionalAreaEnum, surveillanceStatus?: SurveillanceStatusEnum, parkId?: number, spaceId?: number, page?: string, pageSize?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultPageDtoSurveillanceDetailsDto>> {
|
|
1590
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.surveillanceList(surveillanceName, functionalArea, surveillanceStatus, parkId, spaceId, page, pageSize, options);
|
|
1591
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1592
|
+
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.surveillanceList']?.[localVarOperationServerIndex]?.url;
|
|
1593
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1594
|
+
},
|
|
1595
|
+
/**
|
|
1596
|
+
* 获取监控直播流
|
|
1597
|
+
* @summary 监控直播流
|
|
1598
|
+
* @param {number} id
|
|
1599
|
+
* @param {*} [options] Override http request option.
|
|
1600
|
+
* @throws {RequiredError}
|
|
1601
|
+
*/
|
|
1602
|
+
async surveillanceLive(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultSurveillanceLiveDto>> {
|
|
1603
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.surveillanceLive(id, options);
|
|
1604
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1605
|
+
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.surveillanceLive']?.[localVarOperationServerIndex]?.url;
|
|
1606
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1607
|
+
},
|
|
1608
|
+
/**
|
|
1609
|
+
* 获取监控回放流
|
|
1610
|
+
* @summary 监控回放流
|
|
1611
|
+
* @param {number} id
|
|
1612
|
+
* @param {string} startTime 回放开始时间
|
|
1613
|
+
* @param {string} endTime 回放结束时间
|
|
1614
|
+
* @param {*} [options] Override http request option.
|
|
1615
|
+
* @throws {RequiredError}
|
|
1616
|
+
*/
|
|
1617
|
+
async surveillancePlayback(id: number, startTime: string, endTime: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultSurveillanceLiveDto>> {
|
|
1618
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.surveillancePlayback(id, startTime, endTime, options);
|
|
1619
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1620
|
+
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.surveillancePlayback']?.[localVarOperationServerIndex]?.url;
|
|
1621
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1622
|
+
},
|
|
1623
|
+
/**
|
|
1624
|
+
* 控制监控设备的云台
|
|
1625
|
+
* @summary 监控云台控制
|
|
1626
|
+
* @param {number} id
|
|
1627
|
+
* @param {SurveillancePtzControlCommandEnum} command 控制命令
|
|
1628
|
+
* @param {SurveillancePtzControlActionEnum} action 控制动作
|
|
1629
|
+
* @param {*} [options] Override http request option.
|
|
1630
|
+
* @throws {RequiredError}
|
|
1631
|
+
*/
|
|
1632
|
+
async surveillancePtzControl(id: number, command: SurveillancePtzControlCommandEnum, action: SurveillancePtzControlActionEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
1633
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.surveillancePtzControl(id, command, action, options);
|
|
1634
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1635
|
+
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.surveillancePtzControl']?.[localVarOperationServerIndex]?.url;
|
|
1636
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1637
|
+
},
|
|
1638
|
+
/**
|
|
1639
|
+
* 获取监控空间列表
|
|
1640
|
+
* @summary 监控空间列表
|
|
1641
|
+
* @param {string} [surveillanceName] 监控名称
|
|
1642
|
+
* @param {FunctionalAreaEnum} [functionalArea] 功能区
|
|
1643
|
+
* @param {SurveillanceStatusEnum} [surveillanceStatus] 监控状态
|
|
1644
|
+
* @param {number} [parkId] 园区ID
|
|
1645
|
+
* @param {number} [spaceId] 空间ID
|
|
1646
|
+
* @param {string} [page] 当前页码
|
|
1647
|
+
* @param {string} [pageSize] 每页数量
|
|
1648
|
+
* @param {*} [options] Override http request option.
|
|
1649
|
+
* @throws {RequiredError}
|
|
1650
|
+
*/
|
|
1651
|
+
async surveillanceSpaceList(surveillanceName?: string, functionalArea?: FunctionalAreaEnum, surveillanceStatus?: SurveillanceStatusEnum, parkId?: number, spaceId?: number, page?: string, pageSize?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultListSpaceTreeDTO>> {
|
|
1652
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.surveillanceSpaceList(surveillanceName, functionalArea, surveillanceStatus, parkId, spaceId, page, pageSize, options);
|
|
1653
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1654
|
+
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.surveillanceSpaceList']?.[localVarOperationServerIndex]?.url;
|
|
1655
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1656
|
+
},
|
|
1657
|
+
/**
|
|
1658
|
+
* 同步监控信息
|
|
1659
|
+
* @summary 同步监控
|
|
1660
|
+
* @param {Array<SurveillanceAddVo>} surveillanceAddVo
|
|
1661
|
+
* @param {*} [options] Override http request option.
|
|
1662
|
+
* @throws {RequiredError}
|
|
1663
|
+
*/
|
|
1664
|
+
async surveillanceSync(surveillanceAddVo: Array<SurveillanceAddVo>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>> {
|
|
1665
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.surveillanceSync(surveillanceAddVo, options);
|
|
1666
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1667
|
+
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.surveillanceSync']?.[localVarOperationServerIndex]?.url;
|
|
1668
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1669
|
+
},
|
|
1670
|
+
/**
|
|
1671
|
+
* 更新监控信息
|
|
1672
|
+
* @summary 更新监控
|
|
1673
|
+
* @param {number} id
|
|
1674
|
+
* @param {SurveillanceUpdateVo} surveillanceUpdateVo
|
|
1675
|
+
* @param {*} [options] Override http request option.
|
|
1676
|
+
* @throws {RequiredError}
|
|
1677
|
+
*/
|
|
1678
|
+
async surveillanceUpdate(id: number, surveillanceUpdateVo: SurveillanceUpdateVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>> {
|
|
1679
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.surveillanceUpdate(id, surveillanceUpdateVo, options);
|
|
1680
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1681
|
+
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.surveillanceUpdate']?.[localVarOperationServerIndex]?.url;
|
|
1682
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1683
|
+
},
|
|
1684
|
+
/**
|
|
1685
|
+
* 更新监控点位信息
|
|
1686
|
+
* @summary 更新监控点位
|
|
1687
|
+
* @param {number} id
|
|
1688
|
+
* @param {Array<number>} requestBody
|
|
1689
|
+
* @param {*} [options] Override http request option.
|
|
1690
|
+
* @throws {RequiredError}
|
|
1691
|
+
*/
|
|
1692
|
+
async surveillanceUpdatePoint(id: number, requestBody: Array<number>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultBoolean>> {
|
|
1693
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.surveillanceUpdatePoint(id, requestBody, options);
|
|
1694
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1695
|
+
const localVarOperationServerBasePath = operationServerMap['SurveillanceApi.surveillanceUpdatePoint']?.[localVarOperationServerIndex]?.url;
|
|
1696
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1697
|
+
},
|
|
999
1698
|
/**
|
|
1000
1699
|
*
|
|
1001
1700
|
* @summary 修改或新增
|
|
@@ -1185,14 +1884,124 @@ export const SurveillanceApiFactory = function (configuration?: Configuration, b
|
|
|
1185
1884
|
return localVarFp.playBack(requestParameters.monitorPlayBackVo, options).then((request) => request(axios, basePath));
|
|
1186
1885
|
},
|
|
1187
1886
|
/**
|
|
1188
|
-
*
|
|
1189
|
-
* @summary
|
|
1190
|
-
* @param {
|
|
1887
|
+
* 抓拍监控画面
|
|
1888
|
+
* @summary 监控抓拍
|
|
1889
|
+
* @param {SurveillanceApiSurveillanceCaptureRequest} requestParameters Request parameters.
|
|
1890
|
+
* @param {*} [options] Override http request option.
|
|
1891
|
+
* @throws {RequiredError}
|
|
1892
|
+
*/
|
|
1893
|
+
surveillanceCapture(requestParameters: SurveillanceApiSurveillanceCaptureRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
1894
|
+
return localVarFp.surveillanceCapture(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1895
|
+
},
|
|
1896
|
+
/**
|
|
1897
|
+
*
|
|
1898
|
+
* @summary 删除监控
|
|
1899
|
+
* @param {SurveillanceApiSurveillanceDelRequest} requestParameters Request parameters.
|
|
1900
|
+
* @param {*} [options] Override http request option.
|
|
1901
|
+
* @throws {RequiredError}
|
|
1902
|
+
*/
|
|
1903
|
+
surveillanceDel(requestParameters: SurveillanceApiSurveillanceDelRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResult> {
|
|
1904
|
+
return localVarFp.surveillanceDel(requestParameters.parkId, options).then((request) => request(axios, basePath));
|
|
1905
|
+
},
|
|
1906
|
+
/**
|
|
1907
|
+
* 删除监控信息
|
|
1908
|
+
* @summary 删除监控
|
|
1909
|
+
* @param {SurveillanceApiSurveillanceDeleteRequest} requestParameters Request parameters.
|
|
1910
|
+
* @param {*} [options] Override http request option.
|
|
1911
|
+
* @throws {RequiredError}
|
|
1912
|
+
*/
|
|
1913
|
+
surveillanceDelete(requestParameters: SurveillanceApiSurveillanceDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean> {
|
|
1914
|
+
return localVarFp.surveillanceDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1915
|
+
},
|
|
1916
|
+
/**
|
|
1917
|
+
* 获取监控详情
|
|
1918
|
+
* @summary 监控详情
|
|
1919
|
+
* @param {SurveillanceApiSurveillanceDetailsRequest} requestParameters Request parameters.
|
|
1920
|
+
* @param {*} [options] Override http request option.
|
|
1921
|
+
* @throws {RequiredError}
|
|
1922
|
+
*/
|
|
1923
|
+
surveillanceDetails(requestParameters: SurveillanceApiSurveillanceDetailsRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultSurveillanceDetailsDto> {
|
|
1924
|
+
return localVarFp.surveillanceDetails(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1925
|
+
},
|
|
1926
|
+
/**
|
|
1927
|
+
* 获取监控列表
|
|
1928
|
+
* @summary 监控列表
|
|
1929
|
+
* @param {SurveillanceApiSurveillanceListRequest} requestParameters Request parameters.
|
|
1930
|
+
* @param {*} [options] Override http request option.
|
|
1931
|
+
* @throws {RequiredError}
|
|
1932
|
+
*/
|
|
1933
|
+
surveillanceList(requestParameters: SurveillanceApiSurveillanceListRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultPageDtoSurveillanceDetailsDto> {
|
|
1934
|
+
return localVarFp.surveillanceList(requestParameters.surveillanceName, requestParameters.functionalArea, requestParameters.surveillanceStatus, requestParameters.parkId, requestParameters.spaceId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1935
|
+
},
|
|
1936
|
+
/**
|
|
1937
|
+
* 获取监控直播流
|
|
1938
|
+
* @summary 监控直播流
|
|
1939
|
+
* @param {SurveillanceApiSurveillanceLiveRequest} requestParameters Request parameters.
|
|
1940
|
+
* @param {*} [options] Override http request option.
|
|
1941
|
+
* @throws {RequiredError}
|
|
1942
|
+
*/
|
|
1943
|
+
surveillanceLive(requestParameters: SurveillanceApiSurveillanceLiveRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultSurveillanceLiveDto> {
|
|
1944
|
+
return localVarFp.surveillanceLive(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1945
|
+
},
|
|
1946
|
+
/**
|
|
1947
|
+
* 获取监控回放流
|
|
1948
|
+
* @summary 监控回放流
|
|
1949
|
+
* @param {SurveillanceApiSurveillancePlaybackRequest} requestParameters Request parameters.
|
|
1950
|
+
* @param {*} [options] Override http request option.
|
|
1951
|
+
* @throws {RequiredError}
|
|
1952
|
+
*/
|
|
1953
|
+
surveillancePlayback(requestParameters: SurveillanceApiSurveillancePlaybackRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultSurveillanceLiveDto> {
|
|
1954
|
+
return localVarFp.surveillancePlayback(requestParameters.id, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
1955
|
+
},
|
|
1956
|
+
/**
|
|
1957
|
+
* 控制监控设备的云台
|
|
1958
|
+
* @summary 监控云台控制
|
|
1959
|
+
* @param {SurveillanceApiSurveillancePtzControlRequest} requestParameters Request parameters.
|
|
1960
|
+
* @param {*} [options] Override http request option.
|
|
1961
|
+
* @throws {RequiredError}
|
|
1962
|
+
*/
|
|
1963
|
+
surveillancePtzControl(requestParameters: SurveillanceApiSurveillancePtzControlRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
1964
|
+
return localVarFp.surveillancePtzControl(requestParameters.id, requestParameters.command, requestParameters.action, options).then((request) => request(axios, basePath));
|
|
1965
|
+
},
|
|
1966
|
+
/**
|
|
1967
|
+
* 获取监控空间列表
|
|
1968
|
+
* @summary 监控空间列表
|
|
1969
|
+
* @param {SurveillanceApiSurveillanceSpaceListRequest} requestParameters Request parameters.
|
|
1970
|
+
* @param {*} [options] Override http request option.
|
|
1971
|
+
* @throws {RequiredError}
|
|
1972
|
+
*/
|
|
1973
|
+
surveillanceSpaceList(requestParameters: SurveillanceApiSurveillanceSpaceListRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultListSpaceTreeDTO> {
|
|
1974
|
+
return localVarFp.surveillanceSpaceList(requestParameters.surveillanceName, requestParameters.functionalArea, requestParameters.surveillanceStatus, requestParameters.parkId, requestParameters.spaceId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1975
|
+
},
|
|
1976
|
+
/**
|
|
1977
|
+
* 同步监控信息
|
|
1978
|
+
* @summary 同步监控
|
|
1979
|
+
* @param {SurveillanceApiSurveillanceSyncRequest} requestParameters Request parameters.
|
|
1980
|
+
* @param {*} [options] Override http request option.
|
|
1981
|
+
* @throws {RequiredError}
|
|
1982
|
+
*/
|
|
1983
|
+
surveillanceSync(requestParameters: SurveillanceApiSurveillanceSyncRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid> {
|
|
1984
|
+
return localVarFp.surveillanceSync(requestParameters.surveillanceAddVo, options).then((request) => request(axios, basePath));
|
|
1985
|
+
},
|
|
1986
|
+
/**
|
|
1987
|
+
* 更新监控信息
|
|
1988
|
+
* @summary 更新监控
|
|
1989
|
+
* @param {SurveillanceApiSurveillanceUpdateRequest} requestParameters Request parameters.
|
|
1990
|
+
* @param {*} [options] Override http request option.
|
|
1991
|
+
* @throws {RequiredError}
|
|
1992
|
+
*/
|
|
1993
|
+
surveillanceUpdate(requestParameters: SurveillanceApiSurveillanceUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean> {
|
|
1994
|
+
return localVarFp.surveillanceUpdate(requestParameters.id, requestParameters.surveillanceUpdateVo, options).then((request) => request(axios, basePath));
|
|
1995
|
+
},
|
|
1996
|
+
/**
|
|
1997
|
+
* 更新监控点位信息
|
|
1998
|
+
* @summary 更新监控点位
|
|
1999
|
+
* @param {SurveillanceApiSurveillanceUpdatePointRequest} requestParameters Request parameters.
|
|
1191
2000
|
* @param {*} [options] Override http request option.
|
|
1192
2001
|
* @throws {RequiredError}
|
|
1193
2002
|
*/
|
|
1194
|
-
|
|
1195
|
-
return localVarFp.
|
|
2003
|
+
surveillanceUpdatePoint(requestParameters: SurveillanceApiSurveillanceUpdatePointRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultBoolean> {
|
|
2004
|
+
return localVarFp.surveillanceUpdatePoint(requestParameters.id, requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
1196
2005
|
},
|
|
1197
2006
|
/**
|
|
1198
2007
|
*
|
|
@@ -1416,6 +2225,20 @@ export interface SurveillanceApiPlayBackRequest {
|
|
|
1416
2225
|
readonly monitorPlayBackVo: MonitorPlayBackVo
|
|
1417
2226
|
}
|
|
1418
2227
|
|
|
2228
|
+
/**
|
|
2229
|
+
* Request parameters for surveillanceCapture operation in SurveillanceApi.
|
|
2230
|
+
* @export
|
|
2231
|
+
* @interface SurveillanceApiSurveillanceCaptureRequest
|
|
2232
|
+
*/
|
|
2233
|
+
export interface SurveillanceApiSurveillanceCaptureRequest {
|
|
2234
|
+
/**
|
|
2235
|
+
*
|
|
2236
|
+
* @type {number}
|
|
2237
|
+
* @memberof SurveillanceApiSurveillanceCapture
|
|
2238
|
+
*/
|
|
2239
|
+
readonly id: number
|
|
2240
|
+
}
|
|
2241
|
+
|
|
1419
2242
|
/**
|
|
1420
2243
|
* Request parameters for surveillanceDel operation in SurveillanceApi.
|
|
1421
2244
|
* @export
|
|
@@ -1430,6 +2253,272 @@ export interface SurveillanceApiSurveillanceDelRequest {
|
|
|
1430
2253
|
readonly parkId: number
|
|
1431
2254
|
}
|
|
1432
2255
|
|
|
2256
|
+
/**
|
|
2257
|
+
* Request parameters for surveillanceDelete operation in SurveillanceApi.
|
|
2258
|
+
* @export
|
|
2259
|
+
* @interface SurveillanceApiSurveillanceDeleteRequest
|
|
2260
|
+
*/
|
|
2261
|
+
export interface SurveillanceApiSurveillanceDeleteRequest {
|
|
2262
|
+
/**
|
|
2263
|
+
*
|
|
2264
|
+
* @type {number}
|
|
2265
|
+
* @memberof SurveillanceApiSurveillanceDelete
|
|
2266
|
+
*/
|
|
2267
|
+
readonly id: number
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
/**
|
|
2271
|
+
* Request parameters for surveillanceDetails operation in SurveillanceApi.
|
|
2272
|
+
* @export
|
|
2273
|
+
* @interface SurveillanceApiSurveillanceDetailsRequest
|
|
2274
|
+
*/
|
|
2275
|
+
export interface SurveillanceApiSurveillanceDetailsRequest {
|
|
2276
|
+
/**
|
|
2277
|
+
*
|
|
2278
|
+
* @type {number}
|
|
2279
|
+
* @memberof SurveillanceApiSurveillanceDetails
|
|
2280
|
+
*/
|
|
2281
|
+
readonly id: number
|
|
2282
|
+
}
|
|
2283
|
+
|
|
2284
|
+
/**
|
|
2285
|
+
* Request parameters for surveillanceList operation in SurveillanceApi.
|
|
2286
|
+
* @export
|
|
2287
|
+
* @interface SurveillanceApiSurveillanceListRequest
|
|
2288
|
+
*/
|
|
2289
|
+
export interface SurveillanceApiSurveillanceListRequest {
|
|
2290
|
+
/**
|
|
2291
|
+
* 监控名称
|
|
2292
|
+
* @type {string}
|
|
2293
|
+
* @memberof SurveillanceApiSurveillanceList
|
|
2294
|
+
*/
|
|
2295
|
+
readonly surveillanceName?: string
|
|
2296
|
+
|
|
2297
|
+
/**
|
|
2298
|
+
* 功能区
|
|
2299
|
+
* @type {FunctionalAreaEnum}
|
|
2300
|
+
* @memberof SurveillanceApiSurveillanceList
|
|
2301
|
+
*/
|
|
2302
|
+
readonly functionalArea?: FunctionalAreaEnum
|
|
2303
|
+
|
|
2304
|
+
/**
|
|
2305
|
+
* 监控状态
|
|
2306
|
+
* @type {SurveillanceStatusEnum}
|
|
2307
|
+
* @memberof SurveillanceApiSurveillanceList
|
|
2308
|
+
*/
|
|
2309
|
+
readonly surveillanceStatus?: SurveillanceStatusEnum
|
|
2310
|
+
|
|
2311
|
+
/**
|
|
2312
|
+
* 园区ID
|
|
2313
|
+
* @type {number}
|
|
2314
|
+
* @memberof SurveillanceApiSurveillanceList
|
|
2315
|
+
*/
|
|
2316
|
+
readonly parkId?: number
|
|
2317
|
+
|
|
2318
|
+
/**
|
|
2319
|
+
* 空间ID
|
|
2320
|
+
* @type {number}
|
|
2321
|
+
* @memberof SurveillanceApiSurveillanceList
|
|
2322
|
+
*/
|
|
2323
|
+
readonly spaceId?: number
|
|
2324
|
+
|
|
2325
|
+
/**
|
|
2326
|
+
* 当前页码
|
|
2327
|
+
* @type {string}
|
|
2328
|
+
* @memberof SurveillanceApiSurveillanceList
|
|
2329
|
+
*/
|
|
2330
|
+
readonly page?: string
|
|
2331
|
+
|
|
2332
|
+
/**
|
|
2333
|
+
* 每页数量
|
|
2334
|
+
* @type {string}
|
|
2335
|
+
* @memberof SurveillanceApiSurveillanceList
|
|
2336
|
+
*/
|
|
2337
|
+
readonly pageSize?: string
|
|
2338
|
+
}
|
|
2339
|
+
|
|
2340
|
+
/**
|
|
2341
|
+
* Request parameters for surveillanceLive operation in SurveillanceApi.
|
|
2342
|
+
* @export
|
|
2343
|
+
* @interface SurveillanceApiSurveillanceLiveRequest
|
|
2344
|
+
*/
|
|
2345
|
+
export interface SurveillanceApiSurveillanceLiveRequest {
|
|
2346
|
+
/**
|
|
2347
|
+
*
|
|
2348
|
+
* @type {number}
|
|
2349
|
+
* @memberof SurveillanceApiSurveillanceLive
|
|
2350
|
+
*/
|
|
2351
|
+
readonly id: number
|
|
2352
|
+
}
|
|
2353
|
+
|
|
2354
|
+
/**
|
|
2355
|
+
* Request parameters for surveillancePlayback operation in SurveillanceApi.
|
|
2356
|
+
* @export
|
|
2357
|
+
* @interface SurveillanceApiSurveillancePlaybackRequest
|
|
2358
|
+
*/
|
|
2359
|
+
export interface SurveillanceApiSurveillancePlaybackRequest {
|
|
2360
|
+
/**
|
|
2361
|
+
*
|
|
2362
|
+
* @type {number}
|
|
2363
|
+
* @memberof SurveillanceApiSurveillancePlayback
|
|
2364
|
+
*/
|
|
2365
|
+
readonly id: number
|
|
2366
|
+
|
|
2367
|
+
/**
|
|
2368
|
+
* 回放开始时间
|
|
2369
|
+
* @type {string}
|
|
2370
|
+
* @memberof SurveillanceApiSurveillancePlayback
|
|
2371
|
+
*/
|
|
2372
|
+
readonly startTime: string
|
|
2373
|
+
|
|
2374
|
+
/**
|
|
2375
|
+
* 回放结束时间
|
|
2376
|
+
* @type {string}
|
|
2377
|
+
* @memberof SurveillanceApiSurveillancePlayback
|
|
2378
|
+
*/
|
|
2379
|
+
readonly endTime: string
|
|
2380
|
+
}
|
|
2381
|
+
|
|
2382
|
+
/**
|
|
2383
|
+
* Request parameters for surveillancePtzControl operation in SurveillanceApi.
|
|
2384
|
+
* @export
|
|
2385
|
+
* @interface SurveillanceApiSurveillancePtzControlRequest
|
|
2386
|
+
*/
|
|
2387
|
+
export interface SurveillanceApiSurveillancePtzControlRequest {
|
|
2388
|
+
/**
|
|
2389
|
+
*
|
|
2390
|
+
* @type {number}
|
|
2391
|
+
* @memberof SurveillanceApiSurveillancePtzControl
|
|
2392
|
+
*/
|
|
2393
|
+
readonly id: number
|
|
2394
|
+
|
|
2395
|
+
/**
|
|
2396
|
+
* 控制命令
|
|
2397
|
+
* @type {'LEFT' | 'RIGHT' | 'UP' | 'DOWN' | 'ZOOM_IN' | 'ZOOM_OUT'}
|
|
2398
|
+
* @memberof SurveillanceApiSurveillancePtzControl
|
|
2399
|
+
*/
|
|
2400
|
+
readonly command: SurveillancePtzControlCommandEnum
|
|
2401
|
+
|
|
2402
|
+
/**
|
|
2403
|
+
* 控制动作
|
|
2404
|
+
* @type {'START' | 'STOP'}
|
|
2405
|
+
* @memberof SurveillanceApiSurveillancePtzControl
|
|
2406
|
+
*/
|
|
2407
|
+
readonly action: SurveillancePtzControlActionEnum
|
|
2408
|
+
}
|
|
2409
|
+
|
|
2410
|
+
/**
|
|
2411
|
+
* Request parameters for surveillanceSpaceList operation in SurveillanceApi.
|
|
2412
|
+
* @export
|
|
2413
|
+
* @interface SurveillanceApiSurveillanceSpaceListRequest
|
|
2414
|
+
*/
|
|
2415
|
+
export interface SurveillanceApiSurveillanceSpaceListRequest {
|
|
2416
|
+
/**
|
|
2417
|
+
* 监控名称
|
|
2418
|
+
* @type {string}
|
|
2419
|
+
* @memberof SurveillanceApiSurveillanceSpaceList
|
|
2420
|
+
*/
|
|
2421
|
+
readonly surveillanceName?: string
|
|
2422
|
+
|
|
2423
|
+
/**
|
|
2424
|
+
* 功能区
|
|
2425
|
+
* @type {FunctionalAreaEnum}
|
|
2426
|
+
* @memberof SurveillanceApiSurveillanceSpaceList
|
|
2427
|
+
*/
|
|
2428
|
+
readonly functionalArea?: FunctionalAreaEnum
|
|
2429
|
+
|
|
2430
|
+
/**
|
|
2431
|
+
* 监控状态
|
|
2432
|
+
* @type {SurveillanceStatusEnum}
|
|
2433
|
+
* @memberof SurveillanceApiSurveillanceSpaceList
|
|
2434
|
+
*/
|
|
2435
|
+
readonly surveillanceStatus?: SurveillanceStatusEnum
|
|
2436
|
+
|
|
2437
|
+
/**
|
|
2438
|
+
* 园区ID
|
|
2439
|
+
* @type {number}
|
|
2440
|
+
* @memberof SurveillanceApiSurveillanceSpaceList
|
|
2441
|
+
*/
|
|
2442
|
+
readonly parkId?: number
|
|
2443
|
+
|
|
2444
|
+
/**
|
|
2445
|
+
* 空间ID
|
|
2446
|
+
* @type {number}
|
|
2447
|
+
* @memberof SurveillanceApiSurveillanceSpaceList
|
|
2448
|
+
*/
|
|
2449
|
+
readonly spaceId?: number
|
|
2450
|
+
|
|
2451
|
+
/**
|
|
2452
|
+
* 当前页码
|
|
2453
|
+
* @type {string}
|
|
2454
|
+
* @memberof SurveillanceApiSurveillanceSpaceList
|
|
2455
|
+
*/
|
|
2456
|
+
readonly page?: string
|
|
2457
|
+
|
|
2458
|
+
/**
|
|
2459
|
+
* 每页数量
|
|
2460
|
+
* @type {string}
|
|
2461
|
+
* @memberof SurveillanceApiSurveillanceSpaceList
|
|
2462
|
+
*/
|
|
2463
|
+
readonly pageSize?: string
|
|
2464
|
+
}
|
|
2465
|
+
|
|
2466
|
+
/**
|
|
2467
|
+
* Request parameters for surveillanceSync operation in SurveillanceApi.
|
|
2468
|
+
* @export
|
|
2469
|
+
* @interface SurveillanceApiSurveillanceSyncRequest
|
|
2470
|
+
*/
|
|
2471
|
+
export interface SurveillanceApiSurveillanceSyncRequest {
|
|
2472
|
+
/**
|
|
2473
|
+
*
|
|
2474
|
+
* @type {Array<SurveillanceAddVo>}
|
|
2475
|
+
* @memberof SurveillanceApiSurveillanceSync
|
|
2476
|
+
*/
|
|
2477
|
+
readonly surveillanceAddVo: Array<SurveillanceAddVo>
|
|
2478
|
+
}
|
|
2479
|
+
|
|
2480
|
+
/**
|
|
2481
|
+
* Request parameters for surveillanceUpdate operation in SurveillanceApi.
|
|
2482
|
+
* @export
|
|
2483
|
+
* @interface SurveillanceApiSurveillanceUpdateRequest
|
|
2484
|
+
*/
|
|
2485
|
+
export interface SurveillanceApiSurveillanceUpdateRequest {
|
|
2486
|
+
/**
|
|
2487
|
+
*
|
|
2488
|
+
* @type {number}
|
|
2489
|
+
* @memberof SurveillanceApiSurveillanceUpdate
|
|
2490
|
+
*/
|
|
2491
|
+
readonly id: number
|
|
2492
|
+
|
|
2493
|
+
/**
|
|
2494
|
+
*
|
|
2495
|
+
* @type {SurveillanceUpdateVo}
|
|
2496
|
+
* @memberof SurveillanceApiSurveillanceUpdate
|
|
2497
|
+
*/
|
|
2498
|
+
readonly surveillanceUpdateVo: SurveillanceUpdateVo
|
|
2499
|
+
}
|
|
2500
|
+
|
|
2501
|
+
/**
|
|
2502
|
+
* Request parameters for surveillanceUpdatePoint operation in SurveillanceApi.
|
|
2503
|
+
* @export
|
|
2504
|
+
* @interface SurveillanceApiSurveillanceUpdatePointRequest
|
|
2505
|
+
*/
|
|
2506
|
+
export interface SurveillanceApiSurveillanceUpdatePointRequest {
|
|
2507
|
+
/**
|
|
2508
|
+
*
|
|
2509
|
+
* @type {number}
|
|
2510
|
+
* @memberof SurveillanceApiSurveillanceUpdatePoint
|
|
2511
|
+
*/
|
|
2512
|
+
readonly id: number
|
|
2513
|
+
|
|
2514
|
+
/**
|
|
2515
|
+
*
|
|
2516
|
+
* @type {Array<number>}
|
|
2517
|
+
* @memberof SurveillanceApiSurveillanceUpdatePoint
|
|
2518
|
+
*/
|
|
2519
|
+
readonly requestBody: Array<number>
|
|
2520
|
+
}
|
|
2521
|
+
|
|
1433
2522
|
/**
|
|
1434
2523
|
* Request parameters for updateOrSave operation in SurveillanceApi.
|
|
1435
2524
|
* @export
|
|
@@ -1646,6 +2735,18 @@ export class SurveillanceApi extends BaseAPI {
|
|
|
1646
2735
|
return SurveillanceApiFp(this.configuration).playBack(requestParameters.monitorPlayBackVo, options).then((request) => request(this.axios, this.basePath));
|
|
1647
2736
|
}
|
|
1648
2737
|
|
|
2738
|
+
/**
|
|
2739
|
+
* 抓拍监控画面
|
|
2740
|
+
* @summary 监控抓拍
|
|
2741
|
+
* @param {SurveillanceApiSurveillanceCaptureRequest} requestParameters Request parameters.
|
|
2742
|
+
* @param {*} [options] Override http request option.
|
|
2743
|
+
* @throws {RequiredError}
|
|
2744
|
+
* @memberof SurveillanceApi
|
|
2745
|
+
*/
|
|
2746
|
+
public surveillanceCapture(requestParameters: SurveillanceApiSurveillanceCaptureRequest, options?: RawAxiosRequestConfig) {
|
|
2747
|
+
return SurveillanceApiFp(this.configuration).surveillanceCapture(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2748
|
+
}
|
|
2749
|
+
|
|
1649
2750
|
/**
|
|
1650
2751
|
*
|
|
1651
2752
|
* @summary 删除监控
|
|
@@ -1658,6 +2759,126 @@ export class SurveillanceApi extends BaseAPI {
|
|
|
1658
2759
|
return SurveillanceApiFp(this.configuration).surveillanceDel(requestParameters.parkId, options).then((request) => request(this.axios, this.basePath));
|
|
1659
2760
|
}
|
|
1660
2761
|
|
|
2762
|
+
/**
|
|
2763
|
+
* 删除监控信息
|
|
2764
|
+
* @summary 删除监控
|
|
2765
|
+
* @param {SurveillanceApiSurveillanceDeleteRequest} requestParameters Request parameters.
|
|
2766
|
+
* @param {*} [options] Override http request option.
|
|
2767
|
+
* @throws {RequiredError}
|
|
2768
|
+
* @memberof SurveillanceApi
|
|
2769
|
+
*/
|
|
2770
|
+
public surveillanceDelete(requestParameters: SurveillanceApiSurveillanceDeleteRequest, options?: RawAxiosRequestConfig) {
|
|
2771
|
+
return SurveillanceApiFp(this.configuration).surveillanceDelete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
/**
|
|
2775
|
+
* 获取监控详情
|
|
2776
|
+
* @summary 监控详情
|
|
2777
|
+
* @param {SurveillanceApiSurveillanceDetailsRequest} requestParameters Request parameters.
|
|
2778
|
+
* @param {*} [options] Override http request option.
|
|
2779
|
+
* @throws {RequiredError}
|
|
2780
|
+
* @memberof SurveillanceApi
|
|
2781
|
+
*/
|
|
2782
|
+
public surveillanceDetails(requestParameters: SurveillanceApiSurveillanceDetailsRequest, options?: RawAxiosRequestConfig) {
|
|
2783
|
+
return SurveillanceApiFp(this.configuration).surveillanceDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2786
|
+
/**
|
|
2787
|
+
* 获取监控列表
|
|
2788
|
+
* @summary 监控列表
|
|
2789
|
+
* @param {SurveillanceApiSurveillanceListRequest} requestParameters Request parameters.
|
|
2790
|
+
* @param {*} [options] Override http request option.
|
|
2791
|
+
* @throws {RequiredError}
|
|
2792
|
+
* @memberof SurveillanceApi
|
|
2793
|
+
*/
|
|
2794
|
+
public surveillanceList(requestParameters: SurveillanceApiSurveillanceListRequest = {}, options?: RawAxiosRequestConfig) {
|
|
2795
|
+
return SurveillanceApiFp(this.configuration).surveillanceList(requestParameters.surveillanceName, requestParameters.functionalArea, requestParameters.surveillanceStatus, requestParameters.parkId, requestParameters.spaceId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2798
|
+
/**
|
|
2799
|
+
* 获取监控直播流
|
|
2800
|
+
* @summary 监控直播流
|
|
2801
|
+
* @param {SurveillanceApiSurveillanceLiveRequest} requestParameters Request parameters.
|
|
2802
|
+
* @param {*} [options] Override http request option.
|
|
2803
|
+
* @throws {RequiredError}
|
|
2804
|
+
* @memberof SurveillanceApi
|
|
2805
|
+
*/
|
|
2806
|
+
public surveillanceLive(requestParameters: SurveillanceApiSurveillanceLiveRequest, options?: RawAxiosRequestConfig) {
|
|
2807
|
+
return SurveillanceApiFp(this.configuration).surveillanceLive(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2808
|
+
}
|
|
2809
|
+
|
|
2810
|
+
/**
|
|
2811
|
+
* 获取监控回放流
|
|
2812
|
+
* @summary 监控回放流
|
|
2813
|
+
* @param {SurveillanceApiSurveillancePlaybackRequest} requestParameters Request parameters.
|
|
2814
|
+
* @param {*} [options] Override http request option.
|
|
2815
|
+
* @throws {RequiredError}
|
|
2816
|
+
* @memberof SurveillanceApi
|
|
2817
|
+
*/
|
|
2818
|
+
public surveillancePlayback(requestParameters: SurveillanceApiSurveillancePlaybackRequest, options?: RawAxiosRequestConfig) {
|
|
2819
|
+
return SurveillanceApiFp(this.configuration).surveillancePlayback(requestParameters.id, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
2820
|
+
}
|
|
2821
|
+
|
|
2822
|
+
/**
|
|
2823
|
+
* 控制监控设备的云台
|
|
2824
|
+
* @summary 监控云台控制
|
|
2825
|
+
* @param {SurveillanceApiSurveillancePtzControlRequest} requestParameters Request parameters.
|
|
2826
|
+
* @param {*} [options] Override http request option.
|
|
2827
|
+
* @throws {RequiredError}
|
|
2828
|
+
* @memberof SurveillanceApi
|
|
2829
|
+
*/
|
|
2830
|
+
public surveillancePtzControl(requestParameters: SurveillanceApiSurveillancePtzControlRequest, options?: RawAxiosRequestConfig) {
|
|
2831
|
+
return SurveillanceApiFp(this.configuration).surveillancePtzControl(requestParameters.id, requestParameters.command, requestParameters.action, options).then((request) => request(this.axios, this.basePath));
|
|
2832
|
+
}
|
|
2833
|
+
|
|
2834
|
+
/**
|
|
2835
|
+
* 获取监控空间列表
|
|
2836
|
+
* @summary 监控空间列表
|
|
2837
|
+
* @param {SurveillanceApiSurveillanceSpaceListRequest} requestParameters Request parameters.
|
|
2838
|
+
* @param {*} [options] Override http request option.
|
|
2839
|
+
* @throws {RequiredError}
|
|
2840
|
+
* @memberof SurveillanceApi
|
|
2841
|
+
*/
|
|
2842
|
+
public surveillanceSpaceList(requestParameters: SurveillanceApiSurveillanceSpaceListRequest = {}, options?: RawAxiosRequestConfig) {
|
|
2843
|
+
return SurveillanceApiFp(this.configuration).surveillanceSpaceList(requestParameters.surveillanceName, requestParameters.functionalArea, requestParameters.surveillanceStatus, requestParameters.parkId, requestParameters.spaceId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2846
|
+
/**
|
|
2847
|
+
* 同步监控信息
|
|
2848
|
+
* @summary 同步监控
|
|
2849
|
+
* @param {SurveillanceApiSurveillanceSyncRequest} requestParameters Request parameters.
|
|
2850
|
+
* @param {*} [options] Override http request option.
|
|
2851
|
+
* @throws {RequiredError}
|
|
2852
|
+
* @memberof SurveillanceApi
|
|
2853
|
+
*/
|
|
2854
|
+
public surveillanceSync(requestParameters: SurveillanceApiSurveillanceSyncRequest, options?: RawAxiosRequestConfig) {
|
|
2855
|
+
return SurveillanceApiFp(this.configuration).surveillanceSync(requestParameters.surveillanceAddVo, options).then((request) => request(this.axios, this.basePath));
|
|
2856
|
+
}
|
|
2857
|
+
|
|
2858
|
+
/**
|
|
2859
|
+
* 更新监控信息
|
|
2860
|
+
* @summary 更新监控
|
|
2861
|
+
* @param {SurveillanceApiSurveillanceUpdateRequest} requestParameters Request parameters.
|
|
2862
|
+
* @param {*} [options] Override http request option.
|
|
2863
|
+
* @throws {RequiredError}
|
|
2864
|
+
* @memberof SurveillanceApi
|
|
2865
|
+
*/
|
|
2866
|
+
public surveillanceUpdate(requestParameters: SurveillanceApiSurveillanceUpdateRequest, options?: RawAxiosRequestConfig) {
|
|
2867
|
+
return SurveillanceApiFp(this.configuration).surveillanceUpdate(requestParameters.id, requestParameters.surveillanceUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
2868
|
+
}
|
|
2869
|
+
|
|
2870
|
+
/**
|
|
2871
|
+
* 更新监控点位信息
|
|
2872
|
+
* @summary 更新监控点位
|
|
2873
|
+
* @param {SurveillanceApiSurveillanceUpdatePointRequest} requestParameters Request parameters.
|
|
2874
|
+
* @param {*} [options] Override http request option.
|
|
2875
|
+
* @throws {RequiredError}
|
|
2876
|
+
* @memberof SurveillanceApi
|
|
2877
|
+
*/
|
|
2878
|
+
public surveillanceUpdatePoint(requestParameters: SurveillanceApiSurveillanceUpdatePointRequest, options?: RawAxiosRequestConfig) {
|
|
2879
|
+
return SurveillanceApiFp(this.configuration).surveillanceUpdatePoint(requestParameters.id, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
2880
|
+
}
|
|
2881
|
+
|
|
1661
2882
|
/**
|
|
1662
2883
|
*
|
|
1663
2884
|
* @summary 修改或新增
|
|
@@ -1695,3 +2916,23 @@ export class SurveillanceApi extends BaseAPI {
|
|
|
1695
2916
|
}
|
|
1696
2917
|
}
|
|
1697
2918
|
|
|
2919
|
+
/**
|
|
2920
|
+
* @export
|
|
2921
|
+
*/
|
|
2922
|
+
export const SurveillancePtzControlCommandEnum = {
|
|
2923
|
+
Left: 'LEFT',
|
|
2924
|
+
Right: 'RIGHT',
|
|
2925
|
+
Up: 'UP',
|
|
2926
|
+
Down: 'DOWN',
|
|
2927
|
+
ZoomIn: 'ZOOM_IN',
|
|
2928
|
+
ZoomOut: 'ZOOM_OUT'
|
|
2929
|
+
} as const;
|
|
2930
|
+
export type SurveillancePtzControlCommandEnum = typeof SurveillancePtzControlCommandEnum[keyof typeof SurveillancePtzControlCommandEnum];
|
|
2931
|
+
/**
|
|
2932
|
+
* @export
|
|
2933
|
+
*/
|
|
2934
|
+
export const SurveillancePtzControlActionEnum = {
|
|
2935
|
+
Start: 'START',
|
|
2936
|
+
Stop: 'STOP'
|
|
2937
|
+
} as const;
|
|
2938
|
+
export type SurveillancePtzControlActionEnum = typeof SurveillancePtzControlActionEnum[keyof typeof SurveillancePtzControlActionEnum];
|