@gizone/rrs-client 3.11.16-alpha.83 → 3.11.17-alpha.85
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 +26 -2
- package/README.md +2 -2
- package/api.ts +3 -1
- package/apis/monitor-controller-api.ts +1260 -0
- package/apis/monitor-sort-controller-api.ts +499 -0
- package/apis/space-api.ts +25 -15
- package/apis/surveillance-api.ts +516 -908
- package/apis/{surveillance-roi-api.ts → surveillance-roi-controller-api.ts} +64 -64
- package/apis/work-order-api.ts +398 -10
- package/configuration.ts +1 -1
- package/dist/api.d.ts +3 -1
- package/dist/api.js +3 -1
- package/dist/apis/monitor-controller-api.d.ts +659 -0
- package/dist/apis/monitor-controller-api.js +989 -0
- package/dist/apis/monitor-sort-controller-api.d.ts +259 -0
- package/dist/apis/monitor-sort-controller-api.js +416 -0
- package/dist/apis/space-api.d.ts +14 -7
- package/dist/apis/space-api.js +16 -11
- package/dist/apis/surveillance-api.d.ts +362 -519
- package/dist/apis/surveillance-api.js +344 -733
- package/dist/apis/{surveillance-roi-api.d.ts → surveillance-roi-controller-api.d.ts} +54 -54
- package/dist/apis/{surveillance-roi-api.js → surveillance-roi-controller-api.js} +36 -36
- 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/api.d.ts +3 -1
- package/dist/esm/api.js +3 -1
- package/dist/esm/apis/monitor-controller-api.d.ts +659 -0
- package/dist/esm/apis/monitor-controller-api.js +982 -0
- package/dist/esm/apis/monitor-sort-controller-api.d.ts +259 -0
- package/dist/esm/apis/monitor-sort-controller-api.js +409 -0
- 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 +362 -519
- package/dist/esm/apis/surveillance-api.js +343 -732
- package/dist/esm/apis/{surveillance-roi-api.d.ts → surveillance-roi-controller-api.d.ts} +54 -54
- package/dist/esm/apis/{surveillance-roi-api.js → surveillance-roi-controller-api.js} +31 -31
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- 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 +4 -4
- package/models/index.ts +23 -1
- package/models/installation-body-enum.ts +32 -0
- package/models/ipage-access-vo.ts +4 -4
- 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
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.SurveillanceApi = exports.SurveillanceApiFactory = exports.SurveillanceApiFp = exports.SurveillanceApiAxiosParamCreator = void 0;
|
|
25
|
+
exports.SurveillancePtzControlActionEnum = exports.SurveillancePtzControlCommandEnum = exports.SurveillanceApi = exports.SurveillanceApiFactory = exports.SurveillanceApiFp = exports.SurveillanceApiAxiosParamCreator = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -36,16 +36,17 @@ const base_1 = require("../base");
|
|
|
36
36
|
const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @summary
|
|
41
|
-
* @param {
|
|
39
|
+
* 抓拍监控画面
|
|
40
|
+
* @summary 监控抓拍
|
|
41
|
+
* @param {number} id
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
|
|
46
|
-
// verify required parameter '
|
|
47
|
-
(0, common_1.assertParamExists)('
|
|
48
|
-
const localVarPath = `/
|
|
45
|
+
surveillanceCapture: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
46
|
+
// verify required parameter 'id' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('surveillanceCapture', 'id', id);
|
|
48
|
+
const localVarPath = `/surveillance/capture/{id}`
|
|
49
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
49
50
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
51
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
51
52
|
let baseOptions;
|
|
@@ -58,60 +59,57 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
58
59
|
// authentication tokenScheme required
|
|
59
60
|
// http bearer authentication required
|
|
60
61
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
61
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
62
62
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
63
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
64
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(monitorBindParkVO, localVarRequestOptions, configuration);
|
|
66
65
|
return {
|
|
67
66
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
68
67
|
options: localVarRequestOptions,
|
|
69
68
|
};
|
|
70
69
|
}),
|
|
71
70
|
/**
|
|
72
|
-
*
|
|
73
|
-
* @summary
|
|
74
|
-
* @param {
|
|
71
|
+
* 删除监控信息
|
|
72
|
+
* @summary 删除监控
|
|
73
|
+
* @param {number} id
|
|
75
74
|
* @param {*} [options] Override http request option.
|
|
76
75
|
* @throws {RequiredError}
|
|
77
76
|
*/
|
|
78
|
-
|
|
79
|
-
// verify required parameter '
|
|
80
|
-
(0, common_1.assertParamExists)('
|
|
81
|
-
const localVarPath = `/
|
|
77
|
+
surveillanceDelete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
78
|
+
// verify required parameter 'id' is not null or undefined
|
|
79
|
+
(0, common_1.assertParamExists)('surveillanceDelete', 'id', id);
|
|
80
|
+
const localVarPath = `/surveillance/{id}`
|
|
81
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
82
82
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83
83
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
84
84
|
let baseOptions;
|
|
85
85
|
if (configuration) {
|
|
86
86
|
baseOptions = configuration.baseOptions;
|
|
87
87
|
}
|
|
88
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
88
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
89
89
|
const localVarHeaderParameter = {};
|
|
90
90
|
const localVarQueryParameter = {};
|
|
91
91
|
// authentication tokenScheme required
|
|
92
92
|
// http bearer authentication required
|
|
93
93
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
94
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
95
94
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
96
95
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
96
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
98
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(monitorPanTiltControlVO, localVarRequestOptions, configuration);
|
|
99
97
|
return {
|
|
100
98
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
101
99
|
options: localVarRequestOptions,
|
|
102
100
|
};
|
|
103
101
|
}),
|
|
104
102
|
/**
|
|
105
|
-
*
|
|
106
|
-
* @summary
|
|
103
|
+
* 获取监控详情
|
|
104
|
+
* @summary 监控详情
|
|
107
105
|
* @param {number} id
|
|
108
106
|
* @param {*} [options] Override http request option.
|
|
109
107
|
* @throws {RequiredError}
|
|
110
108
|
*/
|
|
111
|
-
|
|
109
|
+
surveillanceDetails: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
112
110
|
// verify required parameter 'id' is not null or undefined
|
|
113
|
-
(0, common_1.assertParamExists)('
|
|
114
|
-
const localVarPath = `/
|
|
111
|
+
(0, common_1.assertParamExists)('surveillanceDetails', 'id', id);
|
|
112
|
+
const localVarPath = `/surveillance/{id}`
|
|
115
113
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
116
114
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
117
115
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -134,19 +132,20 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
134
132
|
};
|
|
135
133
|
}),
|
|
136
134
|
/**
|
|
137
|
-
*
|
|
138
|
-
* @summary
|
|
139
|
-
* @param {
|
|
140
|
-
* @param {
|
|
135
|
+
* 获取监控列表
|
|
136
|
+
* @summary 监控列表
|
|
137
|
+
* @param {string} [surveillanceName] 监控名称
|
|
138
|
+
* @param {FunctionalAreaEnum} [functionalArea] 功能区
|
|
139
|
+
* @param {SurveillanceStatusEnum} [surveillanceStatus] 监控状态
|
|
140
|
+
* @param {number} [parkId] 园区ID
|
|
141
|
+
* @param {number} [spaceId] 空间ID
|
|
142
|
+
* @param {string} [page] 当前页码
|
|
143
|
+
* @param {string} [pageSize] 每页数量
|
|
141
144
|
* @param {*} [options] Override http request option.
|
|
142
145
|
* @throws {RequiredError}
|
|
143
146
|
*/
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
(0, common_1.assertParamExists)('live', 'id', id);
|
|
147
|
-
// verify required parameter 'parkId' is not null or undefined
|
|
148
|
-
(0, common_1.assertParamExists)('live', 'parkId', parkId);
|
|
149
|
-
const localVarPath = `/gizone/monitor/live`;
|
|
147
|
+
surveillanceList: (surveillanceName_1, functionalArea_1, surveillanceStatus_1, parkId_1, spaceId_1, page_1, pageSize_1, ...args_1) => __awaiter(this, [surveillanceName_1, functionalArea_1, surveillanceStatus_1, parkId_1, spaceId_1, page_1, pageSize_1, ...args_1], void 0, function* (surveillanceName, functionalArea, surveillanceStatus, parkId, spaceId, page, pageSize, options = {}) {
|
|
148
|
+
const localVarPath = `/surveillance`;
|
|
150
149
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
151
150
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
152
151
|
let baseOptions;
|
|
@@ -159,45 +158,26 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
159
158
|
// authentication tokenScheme required
|
|
160
159
|
// http bearer authentication required
|
|
161
160
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
162
|
-
if (
|
|
163
|
-
localVarQueryParameter['
|
|
161
|
+
if (surveillanceName !== undefined) {
|
|
162
|
+
localVarQueryParameter['surveillanceName'] = surveillanceName;
|
|
163
|
+
}
|
|
164
|
+
if (functionalArea !== undefined) {
|
|
165
|
+
localVarQueryParameter['functionalArea'] = functionalArea;
|
|
166
|
+
}
|
|
167
|
+
if (surveillanceStatus !== undefined) {
|
|
168
|
+
localVarQueryParameter['surveillanceStatus'] = surveillanceStatus;
|
|
164
169
|
}
|
|
165
170
|
if (parkId !== undefined) {
|
|
166
171
|
localVarQueryParameter['parkId'] = parkId;
|
|
167
172
|
}
|
|
168
|
-
(
|
|
169
|
-
|
|
170
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
171
|
-
return {
|
|
172
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
173
|
-
options: localVarRequestOptions,
|
|
174
|
-
};
|
|
175
|
-
}),
|
|
176
|
-
/**
|
|
177
|
-
*
|
|
178
|
-
* @summary 监控直播接口
|
|
179
|
-
* @param {number} onlyNumber
|
|
180
|
-
* @param {*} [options] Override http request option.
|
|
181
|
-
* @throws {RequiredError}
|
|
182
|
-
*/
|
|
183
|
-
liveBroadCast: (onlyNumber_1, ...args_1) => __awaiter(this, [onlyNumber_1, ...args_1], void 0, function* (onlyNumber, options = {}) {
|
|
184
|
-
// verify required parameter 'onlyNumber' is not null or undefined
|
|
185
|
-
(0, common_1.assertParamExists)('liveBroadCast', 'onlyNumber', onlyNumber);
|
|
186
|
-
const localVarPath = `/gizone/monitor/live/broadcast`;
|
|
187
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
188
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
189
|
-
let baseOptions;
|
|
190
|
-
if (configuration) {
|
|
191
|
-
baseOptions = configuration.baseOptions;
|
|
173
|
+
if (spaceId !== undefined) {
|
|
174
|
+
localVarQueryParameter['spaceId'] = spaceId;
|
|
192
175
|
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
199
|
-
if (onlyNumber !== undefined) {
|
|
200
|
-
localVarQueryParameter['onlyNumber'] = onlyNumber;
|
|
176
|
+
if (page !== undefined) {
|
|
177
|
+
localVarQueryParameter['page'] = page;
|
|
178
|
+
}
|
|
179
|
+
if (pageSize !== undefined) {
|
|
180
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
201
181
|
}
|
|
202
182
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
203
183
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -208,16 +188,17 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
208
188
|
};
|
|
209
189
|
}),
|
|
210
190
|
/**
|
|
211
|
-
*
|
|
212
|
-
* @summary
|
|
191
|
+
* 获取监控直播流
|
|
192
|
+
* @summary 监控直播流
|
|
213
193
|
* @param {number} id
|
|
214
194
|
* @param {*} [options] Override http request option.
|
|
215
195
|
* @throws {RequiredError}
|
|
216
196
|
*/
|
|
217
|
-
|
|
197
|
+
surveillanceLive: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
218
198
|
// verify required parameter 'id' is not null or undefined
|
|
219
|
-
(0, common_1.assertParamExists)('
|
|
220
|
-
const localVarPath = `/
|
|
199
|
+
(0, common_1.assertParamExists)('surveillanceLive', 'id', id);
|
|
200
|
+
const localVarPath = `/surveillance/live/{id}`
|
|
201
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
221
202
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
222
203
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
223
204
|
let baseOptions;
|
|
@@ -230,94 +211,32 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
230
211
|
// authentication tokenScheme required
|
|
231
212
|
// http bearer authentication required
|
|
232
213
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
233
|
-
if (id !== undefined) {
|
|
234
|
-
localVarQueryParameter['id'] = id;
|
|
235
|
-
}
|
|
236
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
237
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
238
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
239
|
-
return {
|
|
240
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
241
|
-
options: localVarRequestOptions,
|
|
242
|
-
};
|
|
243
|
-
}),
|
|
244
|
-
/**
|
|
245
|
-
*
|
|
246
|
-
* @summary 编辑监控
|
|
247
|
-
* @param {MonitorEditVo} monitorEditVo
|
|
248
|
-
* @param {*} [options] Override http request option.
|
|
249
|
-
* @throws {RequiredError}
|
|
250
|
-
*/
|
|
251
|
-
monitorEdit: (monitorEditVo_1, ...args_1) => __awaiter(this, [monitorEditVo_1, ...args_1], void 0, function* (monitorEditVo, options = {}) {
|
|
252
|
-
// verify required parameter 'monitorEditVo' is not null or undefined
|
|
253
|
-
(0, common_1.assertParamExists)('monitorEdit', 'monitorEditVo', monitorEditVo);
|
|
254
|
-
const localVarPath = `/gizone/monitor/edit`;
|
|
255
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
256
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
257
|
-
let baseOptions;
|
|
258
|
-
if (configuration) {
|
|
259
|
-
baseOptions = configuration.baseOptions;
|
|
260
|
-
}
|
|
261
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
262
|
-
const localVarHeaderParameter = {};
|
|
263
|
-
const localVarQueryParameter = {};
|
|
264
|
-
// authentication tokenScheme required
|
|
265
|
-
// http bearer authentication required
|
|
266
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
267
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
268
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
269
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
270
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
271
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(monitorEditVo, localVarRequestOptions, configuration);
|
|
272
|
-
return {
|
|
273
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
274
|
-
options: localVarRequestOptions,
|
|
275
|
-
};
|
|
276
|
-
}),
|
|
277
|
-
/**
|
|
278
|
-
*
|
|
279
|
-
* @summary 监控列表
|
|
280
|
-
* @param {MonitorSearchVo} monitorSearchVo
|
|
281
|
-
* @param {*} [options] Override http request option.
|
|
282
|
-
* @throws {RequiredError}
|
|
283
|
-
*/
|
|
284
|
-
monitorList: (monitorSearchVo_1, ...args_1) => __awaiter(this, [monitorSearchVo_1, ...args_1], void 0, function* (monitorSearchVo, options = {}) {
|
|
285
|
-
// verify required parameter 'monitorSearchVo' is not null or undefined
|
|
286
|
-
(0, common_1.assertParamExists)('monitorList', 'monitorSearchVo', monitorSearchVo);
|
|
287
|
-
const localVarPath = `/gizone/monitor/list`;
|
|
288
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
289
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
290
|
-
let baseOptions;
|
|
291
|
-
if (configuration) {
|
|
292
|
-
baseOptions = configuration.baseOptions;
|
|
293
|
-
}
|
|
294
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
295
|
-
const localVarHeaderParameter = {};
|
|
296
|
-
const localVarQueryParameter = {};
|
|
297
|
-
// authentication tokenScheme required
|
|
298
|
-
// http bearer authentication required
|
|
299
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
300
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
301
214
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
302
215
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
303
216
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
304
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(monitorSearchVo, localVarRequestOptions, configuration);
|
|
305
217
|
return {
|
|
306
218
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
307
219
|
options: localVarRequestOptions,
|
|
308
220
|
};
|
|
309
221
|
}),
|
|
310
222
|
/**
|
|
311
|
-
*
|
|
312
|
-
* @summary
|
|
223
|
+
* 获取监控回放流
|
|
224
|
+
* @summary 监控回放流
|
|
313
225
|
* @param {number} id
|
|
226
|
+
* @param {string} startTime 回放开始时间
|
|
227
|
+
* @param {string} endTime 回放结束时间
|
|
314
228
|
* @param {*} [options] Override http request option.
|
|
315
229
|
* @throws {RequiredError}
|
|
316
230
|
*/
|
|
317
|
-
|
|
231
|
+
surveillancePlayback: (id_1, startTime_1, endTime_1, ...args_1) => __awaiter(this, [id_1, startTime_1, endTime_1, ...args_1], void 0, function* (id, startTime, endTime, options = {}) {
|
|
318
232
|
// verify required parameter 'id' is not null or undefined
|
|
319
|
-
(0, common_1.assertParamExists)('
|
|
320
|
-
|
|
233
|
+
(0, common_1.assertParamExists)('surveillancePlayback', 'id', id);
|
|
234
|
+
// verify required parameter 'startTime' is not null or undefined
|
|
235
|
+
(0, common_1.assertParamExists)('surveillancePlayback', 'startTime', startTime);
|
|
236
|
+
// verify required parameter 'endTime' is not null or undefined
|
|
237
|
+
(0, common_1.assertParamExists)('surveillancePlayback', 'endTime', endTime);
|
|
238
|
+
const localVarPath = `/surveillance/playback/{id}`
|
|
239
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
321
240
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
322
241
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
323
242
|
let baseOptions;
|
|
@@ -330,37 +249,12 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
330
249
|
// authentication tokenScheme required
|
|
331
250
|
// http bearer authentication required
|
|
332
251
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
333
|
-
if (
|
|
334
|
-
localVarQueryParameter['
|
|
252
|
+
if (startTime !== undefined) {
|
|
253
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
335
254
|
}
|
|
336
|
-
(
|
|
337
|
-
|
|
338
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
339
|
-
return {
|
|
340
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
341
|
-
options: localVarRequestOptions,
|
|
342
|
-
};
|
|
343
|
-
}),
|
|
344
|
-
/**
|
|
345
|
-
*
|
|
346
|
-
* @summary 全部查询
|
|
347
|
-
* @param {*} [options] Override http request option.
|
|
348
|
-
* @throws {RequiredError}
|
|
349
|
-
*/
|
|
350
|
-
monitorSortList: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
351
|
-
const localVarPath = `/gizone/monitorSort/list`;
|
|
352
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
353
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
354
|
-
let baseOptions;
|
|
355
|
-
if (configuration) {
|
|
356
|
-
baseOptions = configuration.baseOptions;
|
|
255
|
+
if (endTime !== undefined) {
|
|
256
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
357
257
|
}
|
|
358
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
359
|
-
const localVarHeaderParameter = {};
|
|
360
|
-
const localVarQueryParameter = {};
|
|
361
|
-
// authentication tokenScheme required
|
|
362
|
-
// http bearer authentication required
|
|
363
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
364
258
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
365
259
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
366
260
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -370,16 +264,23 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
370
264
|
};
|
|
371
265
|
}),
|
|
372
266
|
/**
|
|
373
|
-
*
|
|
374
|
-
* @summary
|
|
375
|
-
* @param {
|
|
267
|
+
* 控制监控设备的云台
|
|
268
|
+
* @summary 监控云台控制
|
|
269
|
+
* @param {number} id
|
|
270
|
+
* @param {SurveillancePtzControlCommandEnum} command 控制命令
|
|
271
|
+
* @param {SurveillancePtzControlActionEnum} action 控制动作
|
|
376
272
|
* @param {*} [options] Override http request option.
|
|
377
273
|
* @throws {RequiredError}
|
|
378
274
|
*/
|
|
379
|
-
|
|
380
|
-
// verify required parameter '
|
|
381
|
-
(0, common_1.assertParamExists)('
|
|
382
|
-
|
|
275
|
+
surveillancePtzControl: (id_1, command_1, action_1, ...args_1) => __awaiter(this, [id_1, command_1, action_1, ...args_1], void 0, function* (id, command, action, options = {}) {
|
|
276
|
+
// verify required parameter 'id' is not null or undefined
|
|
277
|
+
(0, common_1.assertParamExists)('surveillancePtzControl', 'id', id);
|
|
278
|
+
// verify required parameter 'command' is not null or undefined
|
|
279
|
+
(0, common_1.assertParamExists)('surveillancePtzControl', 'command', command);
|
|
280
|
+
// verify required parameter 'action' is not null or undefined
|
|
281
|
+
(0, common_1.assertParamExists)('surveillancePtzControl', 'action', action);
|
|
282
|
+
const localVarPath = `/surveillance/ptzControl/{id}`
|
|
283
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
383
284
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
384
285
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
385
286
|
let baseOptions;
|
|
@@ -392,10 +293,11 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
392
293
|
// authentication tokenScheme required
|
|
393
294
|
// http bearer authentication required
|
|
394
295
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
395
|
-
if (
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
296
|
+
if (command !== undefined) {
|
|
297
|
+
localVarQueryParameter['command'] = command;
|
|
298
|
+
}
|
|
299
|
+
if (action !== undefined) {
|
|
300
|
+
localVarQueryParameter['action'] = action;
|
|
399
301
|
}
|
|
400
302
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
401
303
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -406,130 +308,53 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
406
308
|
};
|
|
407
309
|
}),
|
|
408
310
|
/**
|
|
409
|
-
*
|
|
311
|
+
* 获取监控空间列表
|
|
410
312
|
* @summary 监控空间列表
|
|
411
|
-
* @param {
|
|
313
|
+
* @param {string} [surveillanceName] 监控名称
|
|
314
|
+
* @param {FunctionalAreaEnum} [functionalArea] 功能区
|
|
315
|
+
* @param {SurveillanceStatusEnum} [surveillanceStatus] 监控状态
|
|
316
|
+
* @param {number} [parkId] 园区ID
|
|
317
|
+
* @param {number} [spaceId] 空间ID
|
|
318
|
+
* @param {string} [page] 当前页码
|
|
319
|
+
* @param {string} [pageSize] 每页数量
|
|
412
320
|
* @param {*} [options] Override http request option.
|
|
413
321
|
* @throws {RequiredError}
|
|
414
322
|
*/
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
(0, common_1.assertParamExists)('monitorSpaceList', 'monitorSearchVo', monitorSearchVo);
|
|
418
|
-
const localVarPath = `/gizone/monitor/spaceList`;
|
|
323
|
+
surveillanceSpaceList: (surveillanceName_1, functionalArea_1, surveillanceStatus_1, parkId_1, spaceId_1, page_1, pageSize_1, ...args_1) => __awaiter(this, [surveillanceName_1, functionalArea_1, surveillanceStatus_1, parkId_1, spaceId_1, page_1, pageSize_1, ...args_1], void 0, function* (surveillanceName, functionalArea, surveillanceStatus, parkId, spaceId, page, pageSize, options = {}) {
|
|
324
|
+
const localVarPath = `/surveillance/spaceList`;
|
|
419
325
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
420
326
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
421
327
|
let baseOptions;
|
|
422
328
|
if (configuration) {
|
|
423
329
|
baseOptions = configuration.baseOptions;
|
|
424
330
|
}
|
|
425
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
331
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
426
332
|
const localVarHeaderParameter = {};
|
|
427
333
|
const localVarQueryParameter = {};
|
|
428
334
|
// authentication tokenScheme required
|
|
429
335
|
// http bearer authentication required
|
|
430
336
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
434
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
435
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(monitorSearchVo, localVarRequestOptions, configuration);
|
|
436
|
-
return {
|
|
437
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
438
|
-
options: localVarRequestOptions,
|
|
439
|
-
};
|
|
440
|
-
}),
|
|
441
|
-
/**
|
|
442
|
-
*
|
|
443
|
-
* @summary 同步监控唯一编号
|
|
444
|
-
* @param {MonitorOnlyNumberEditListVo} monitorOnlyNumberEditListVo
|
|
445
|
-
* @param {*} [options] Override http request option.
|
|
446
|
-
* @throws {RequiredError}
|
|
447
|
-
*/
|
|
448
|
-
onlyNumberEdit: (monitorOnlyNumberEditListVo_1, ...args_1) => __awaiter(this, [monitorOnlyNumberEditListVo_1, ...args_1], void 0, function* (monitorOnlyNumberEditListVo, options = {}) {
|
|
449
|
-
// verify required parameter 'monitorOnlyNumberEditListVo' is not null or undefined
|
|
450
|
-
(0, common_1.assertParamExists)('onlyNumberEdit', 'monitorOnlyNumberEditListVo', monitorOnlyNumberEditListVo);
|
|
451
|
-
const localVarPath = `/gizone/monitor/only/number`;
|
|
452
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
453
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
454
|
-
let baseOptions;
|
|
455
|
-
if (configuration) {
|
|
456
|
-
baseOptions = configuration.baseOptions;
|
|
337
|
+
if (surveillanceName !== undefined) {
|
|
338
|
+
localVarQueryParameter['surveillanceName'] = surveillanceName;
|
|
457
339
|
}
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
const localVarQueryParameter = {};
|
|
461
|
-
// authentication tokenScheme required
|
|
462
|
-
// http bearer authentication required
|
|
463
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
464
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
465
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
466
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
467
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
468
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(monitorOnlyNumberEditListVo, localVarRequestOptions, configuration);
|
|
469
|
-
return {
|
|
470
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
471
|
-
options: localVarRequestOptions,
|
|
472
|
-
};
|
|
473
|
-
}),
|
|
474
|
-
/**
|
|
475
|
-
*
|
|
476
|
-
* @summary 监控回放接口
|
|
477
|
-
* @param {MonitorPlayBackVo} monitorPlayBackVo
|
|
478
|
-
* @param {*} [options] Override http request option.
|
|
479
|
-
* @throws {RequiredError}
|
|
480
|
-
*/
|
|
481
|
-
playBack: (monitorPlayBackVo_1, ...args_1) => __awaiter(this, [monitorPlayBackVo_1, ...args_1], void 0, function* (monitorPlayBackVo, options = {}) {
|
|
482
|
-
// verify required parameter 'monitorPlayBackVo' is not null or undefined
|
|
483
|
-
(0, common_1.assertParamExists)('playBack', 'monitorPlayBackVo', monitorPlayBackVo);
|
|
484
|
-
const localVarPath = `/gizone/monitor/playback`;
|
|
485
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
486
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
487
|
-
let baseOptions;
|
|
488
|
-
if (configuration) {
|
|
489
|
-
baseOptions = configuration.baseOptions;
|
|
340
|
+
if (functionalArea !== undefined) {
|
|
341
|
+
localVarQueryParameter['functionalArea'] = functionalArea;
|
|
490
342
|
}
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
const localVarQueryParameter = {};
|
|
494
|
-
// authentication tokenScheme required
|
|
495
|
-
// http bearer authentication required
|
|
496
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
497
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
498
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
499
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
500
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
501
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(monitorPlayBackVo, localVarRequestOptions, configuration);
|
|
502
|
-
return {
|
|
503
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
504
|
-
options: localVarRequestOptions,
|
|
505
|
-
};
|
|
506
|
-
}),
|
|
507
|
-
/**
|
|
508
|
-
*
|
|
509
|
-
* @summary 删除监控
|
|
510
|
-
* @param {number} parkId
|
|
511
|
-
* @param {*} [options] Override http request option.
|
|
512
|
-
* @throws {RequiredError}
|
|
513
|
-
*/
|
|
514
|
-
surveillanceDel: (parkId_1, ...args_1) => __awaiter(this, [parkId_1, ...args_1], void 0, function* (parkId, options = {}) {
|
|
515
|
-
// verify required parameter 'parkId' is not null or undefined
|
|
516
|
-
(0, common_1.assertParamExists)('surveillanceDel', 'parkId', parkId);
|
|
517
|
-
const localVarPath = `/gizone/monitor/del`;
|
|
518
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
519
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
520
|
-
let baseOptions;
|
|
521
|
-
if (configuration) {
|
|
522
|
-
baseOptions = configuration.baseOptions;
|
|
343
|
+
if (surveillanceStatus !== undefined) {
|
|
344
|
+
localVarQueryParameter['surveillanceStatus'] = surveillanceStatus;
|
|
523
345
|
}
|
|
524
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
525
|
-
const localVarHeaderParameter = {};
|
|
526
|
-
const localVarQueryParameter = {};
|
|
527
|
-
// authentication tokenScheme required
|
|
528
|
-
// http bearer authentication required
|
|
529
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
530
346
|
if (parkId !== undefined) {
|
|
531
347
|
localVarQueryParameter['parkId'] = parkId;
|
|
532
348
|
}
|
|
349
|
+
if (spaceId !== undefined) {
|
|
350
|
+
localVarQueryParameter['spaceId'] = spaceId;
|
|
351
|
+
}
|
|
352
|
+
if (page !== undefined) {
|
|
353
|
+
localVarQueryParameter['page'] = page;
|
|
354
|
+
}
|
|
355
|
+
if (pageSize !== undefined) {
|
|
356
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
357
|
+
}
|
|
533
358
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
534
359
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
535
360
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -539,16 +364,16 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
539
364
|
};
|
|
540
365
|
}),
|
|
541
366
|
/**
|
|
542
|
-
*
|
|
543
|
-
* @summary
|
|
544
|
-
* @param {
|
|
367
|
+
* 同步监控信息
|
|
368
|
+
* @summary 同步监控
|
|
369
|
+
* @param {Array<SurveillanceAddVo>} surveillanceAddVo
|
|
545
370
|
* @param {*} [options] Override http request option.
|
|
546
371
|
* @throws {RequiredError}
|
|
547
372
|
*/
|
|
548
|
-
|
|
549
|
-
// verify required parameter '
|
|
550
|
-
(0, common_1.assertParamExists)('
|
|
551
|
-
const localVarPath = `/
|
|
373
|
+
surveillanceSync: (surveillanceAddVo_1, ...args_1) => __awaiter(this, [surveillanceAddVo_1, ...args_1], void 0, function* (surveillanceAddVo, options = {}) {
|
|
374
|
+
// verify required parameter 'surveillanceAddVo' is not null or undefined
|
|
375
|
+
(0, common_1.assertParamExists)('surveillanceSync', 'surveillanceAddVo', surveillanceAddVo);
|
|
376
|
+
const localVarPath = `/surveillance/sync`;
|
|
552
377
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
553
378
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
554
379
|
let baseOptions;
|
|
@@ -565,64 +390,71 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
565
390
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
566
391
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
567
392
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
568
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
393
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(surveillanceAddVo, localVarRequestOptions, configuration);
|
|
569
394
|
return {
|
|
570
395
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
571
396
|
options: localVarRequestOptions,
|
|
572
397
|
};
|
|
573
398
|
}),
|
|
574
399
|
/**
|
|
575
|
-
*
|
|
576
|
-
* @summary
|
|
400
|
+
* 更新监控信息
|
|
401
|
+
* @summary 更新监控
|
|
577
402
|
* @param {number} id
|
|
403
|
+
* @param {SurveillanceUpdateVo} surveillanceUpdateVo
|
|
578
404
|
* @param {*} [options] Override http request option.
|
|
579
405
|
* @throws {RequiredError}
|
|
580
406
|
*/
|
|
581
|
-
|
|
407
|
+
surveillanceUpdate: (id_1, surveillanceUpdateVo_1, ...args_1) => __awaiter(this, [id_1, surveillanceUpdateVo_1, ...args_1], void 0, function* (id, surveillanceUpdateVo, options = {}) {
|
|
582
408
|
// verify required parameter 'id' is not null or undefined
|
|
583
|
-
(0, common_1.assertParamExists)('
|
|
584
|
-
|
|
409
|
+
(0, common_1.assertParamExists)('surveillanceUpdate', 'id', id);
|
|
410
|
+
// verify required parameter 'surveillanceUpdateVo' is not null or undefined
|
|
411
|
+
(0, common_1.assertParamExists)('surveillanceUpdate', 'surveillanceUpdateVo', surveillanceUpdateVo);
|
|
412
|
+
const localVarPath = `/surveillance/{id}`
|
|
413
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
585
414
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
586
415
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
587
416
|
let baseOptions;
|
|
588
417
|
if (configuration) {
|
|
589
418
|
baseOptions = configuration.baseOptions;
|
|
590
419
|
}
|
|
591
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
420
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
592
421
|
const localVarHeaderParameter = {};
|
|
593
422
|
const localVarQueryParameter = {};
|
|
594
423
|
// authentication tokenScheme required
|
|
595
424
|
// http bearer authentication required
|
|
596
425
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
597
|
-
|
|
598
|
-
localVarQueryParameter['id'] = id;
|
|
599
|
-
}
|
|
426
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
600
427
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
601
428
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
602
429
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
430
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(surveillanceUpdateVo, localVarRequestOptions, configuration);
|
|
603
431
|
return {
|
|
604
432
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
605
433
|
options: localVarRequestOptions,
|
|
606
434
|
};
|
|
607
435
|
}),
|
|
608
436
|
/**
|
|
609
|
-
*
|
|
610
|
-
* @summary
|
|
611
|
-
* @param {
|
|
437
|
+
* 更新监控点位信息
|
|
438
|
+
* @summary 更新监控点位
|
|
439
|
+
* @param {number} id
|
|
440
|
+
* @param {Array<number>} requestBody
|
|
612
441
|
* @param {*} [options] Override http request option.
|
|
613
442
|
* @throws {RequiredError}
|
|
614
443
|
*/
|
|
615
|
-
|
|
616
|
-
// verify required parameter '
|
|
617
|
-
(0, common_1.assertParamExists)('
|
|
618
|
-
|
|
444
|
+
surveillanceUpdatePoint: (id_1, requestBody_1, ...args_1) => __awaiter(this, [id_1, requestBody_1, ...args_1], void 0, function* (id, requestBody, options = {}) {
|
|
445
|
+
// verify required parameter 'id' is not null or undefined
|
|
446
|
+
(0, common_1.assertParamExists)('surveillanceUpdatePoint', 'id', id);
|
|
447
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
448
|
+
(0, common_1.assertParamExists)('surveillanceUpdatePoint', 'requestBody', requestBody);
|
|
449
|
+
const localVarPath = `/surveillance/point/{id}`
|
|
450
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
619
451
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
620
452
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
621
453
|
let baseOptions;
|
|
622
454
|
if (configuration) {
|
|
623
455
|
baseOptions = configuration.baseOptions;
|
|
624
456
|
}
|
|
625
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
457
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
626
458
|
const localVarHeaderParameter = {};
|
|
627
459
|
const localVarQueryParameter = {};
|
|
628
460
|
// authentication tokenScheme required
|
|
@@ -632,7 +464,7 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
632
464
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
633
465
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
634
466
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
635
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
467
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
636
468
|
return {
|
|
637
469
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
638
470
|
options: localVarRequestOptions,
|
|
@@ -649,290 +481,196 @@ const SurveillanceApiFp = function (configuration) {
|
|
|
649
481
|
const localVarAxiosParamCreator = (0, exports.SurveillanceApiAxiosParamCreator)(configuration);
|
|
650
482
|
return {
|
|
651
483
|
/**
|
|
652
|
-
*
|
|
653
|
-
* @summary 监控绑定园区
|
|
654
|
-
* @param {MonitorBindParkVO} monitorBindParkVO
|
|
655
|
-
* @param {*} [options] Override http request option.
|
|
656
|
-
* @throws {RequiredError}
|
|
657
|
-
*/
|
|
658
|
-
bindPark(monitorBindParkVO, options) {
|
|
659
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
660
|
-
var _a, _b, _c;
|
|
661
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.bindPark(monitorBindParkVO, options);
|
|
662
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
663
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.bindPark']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
664
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
665
|
-
});
|
|
666
|
-
},
|
|
667
|
-
/**
|
|
668
|
-
*
|
|
669
|
-
* @summary 监控云台控制
|
|
670
|
-
* @param {MonitorPanTiltControlVO} monitorPanTiltControlVO
|
|
671
|
-
* @param {*} [options] Override http request option.
|
|
672
|
-
* @throws {RequiredError}
|
|
673
|
-
*/
|
|
674
|
-
cameraPTZ(monitorPanTiltControlVO, options) {
|
|
675
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
676
|
-
var _a, _b, _c;
|
|
677
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.cameraPTZ(monitorPanTiltControlVO, options);
|
|
678
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
679
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.cameraPTZ']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
680
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
681
|
-
});
|
|
682
|
-
},
|
|
683
|
-
/**
|
|
684
|
-
*
|
|
484
|
+
* 抓拍监控画面
|
|
685
485
|
* @summary 监控抓拍
|
|
686
486
|
* @param {number} id
|
|
687
487
|
* @param {*} [options] Override http request option.
|
|
688
488
|
* @throws {RequiredError}
|
|
689
489
|
*/
|
|
690
|
-
|
|
490
|
+
surveillanceCapture(id, options) {
|
|
691
491
|
return __awaiter(this, void 0, void 0, function* () {
|
|
692
492
|
var _a, _b, _c;
|
|
693
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
493
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceCapture(id, options);
|
|
694
494
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
695
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
495
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceCapture']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
696
496
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
697
497
|
});
|
|
698
498
|
},
|
|
699
499
|
/**
|
|
700
|
-
*
|
|
701
|
-
* @summary
|
|
500
|
+
* 删除监控信息
|
|
501
|
+
* @summary 删除监控
|
|
702
502
|
* @param {number} id
|
|
703
|
-
* @param {number} parkId
|
|
704
|
-
* @param {*} [options] Override http request option.
|
|
705
|
-
* @throws {RequiredError}
|
|
706
|
-
*/
|
|
707
|
-
live(id, parkId, options) {
|
|
708
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
709
|
-
var _a, _b, _c;
|
|
710
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.live(id, parkId, options);
|
|
711
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
712
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.live']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
713
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
714
|
-
});
|
|
715
|
-
},
|
|
716
|
-
/**
|
|
717
|
-
*
|
|
718
|
-
* @summary 监控直播接口
|
|
719
|
-
* @param {number} onlyNumber
|
|
720
503
|
* @param {*} [options] Override http request option.
|
|
721
504
|
* @throws {RequiredError}
|
|
722
505
|
*/
|
|
723
|
-
|
|
506
|
+
surveillanceDelete(id, options) {
|
|
724
507
|
return __awaiter(this, void 0, void 0, function* () {
|
|
725
508
|
var _a, _b, _c;
|
|
726
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
509
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceDelete(id, options);
|
|
727
510
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
728
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
511
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
729
512
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
730
513
|
});
|
|
731
514
|
},
|
|
732
515
|
/**
|
|
733
|
-
*
|
|
516
|
+
* 获取监控详情
|
|
734
517
|
* @summary 监控详情
|
|
735
518
|
* @param {number} id
|
|
736
519
|
* @param {*} [options] Override http request option.
|
|
737
520
|
* @throws {RequiredError}
|
|
738
521
|
*/
|
|
739
|
-
|
|
740
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
741
|
-
var _a, _b, _c;
|
|
742
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.monitorDetail(id, options);
|
|
743
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
744
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.monitorDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
745
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
746
|
-
});
|
|
747
|
-
},
|
|
748
|
-
/**
|
|
749
|
-
*
|
|
750
|
-
* @summary 编辑监控
|
|
751
|
-
* @param {MonitorEditVo} monitorEditVo
|
|
752
|
-
* @param {*} [options] Override http request option.
|
|
753
|
-
* @throws {RequiredError}
|
|
754
|
-
*/
|
|
755
|
-
monitorEdit(monitorEditVo, options) {
|
|
522
|
+
surveillanceDetails(id, options) {
|
|
756
523
|
return __awaiter(this, void 0, void 0, function* () {
|
|
757
524
|
var _a, _b, _c;
|
|
758
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
525
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceDetails(id, options);
|
|
759
526
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
760
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
527
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
761
528
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
762
529
|
});
|
|
763
530
|
},
|
|
764
531
|
/**
|
|
765
|
-
*
|
|
532
|
+
* 获取监控列表
|
|
766
533
|
* @summary 监控列表
|
|
767
|
-
* @param {
|
|
534
|
+
* @param {string} [surveillanceName] 监控名称
|
|
535
|
+
* @param {FunctionalAreaEnum} [functionalArea] 功能区
|
|
536
|
+
* @param {SurveillanceStatusEnum} [surveillanceStatus] 监控状态
|
|
537
|
+
* @param {number} [parkId] 园区ID
|
|
538
|
+
* @param {number} [spaceId] 空间ID
|
|
539
|
+
* @param {string} [page] 当前页码
|
|
540
|
+
* @param {string} [pageSize] 每页数量
|
|
768
541
|
* @param {*} [options] Override http request option.
|
|
769
542
|
* @throws {RequiredError}
|
|
770
543
|
*/
|
|
771
|
-
|
|
544
|
+
surveillanceList(surveillanceName, functionalArea, surveillanceStatus, parkId, spaceId, page, pageSize, options) {
|
|
772
545
|
return __awaiter(this, void 0, void 0, function* () {
|
|
773
546
|
var _a, _b, _c;
|
|
774
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
547
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceList(surveillanceName, functionalArea, surveillanceStatus, parkId, spaceId, page, pageSize, options);
|
|
775
548
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
776
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
549
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
777
550
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
778
551
|
});
|
|
779
552
|
},
|
|
780
553
|
/**
|
|
781
|
-
*
|
|
782
|
-
* @summary
|
|
554
|
+
* 获取监控直播流
|
|
555
|
+
* @summary 监控直播流
|
|
783
556
|
* @param {number} id
|
|
784
557
|
* @param {*} [options] Override http request option.
|
|
785
558
|
* @throws {RequiredError}
|
|
786
559
|
*/
|
|
787
|
-
|
|
560
|
+
surveillanceLive(id, options) {
|
|
788
561
|
return __awaiter(this, void 0, void 0, function* () {
|
|
789
562
|
var _a, _b, _c;
|
|
790
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
563
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceLive(id, options);
|
|
791
564
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
792
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
565
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceLive']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
793
566
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
794
567
|
});
|
|
795
568
|
},
|
|
796
569
|
/**
|
|
797
|
-
*
|
|
798
|
-
* @summary
|
|
570
|
+
* 获取监控回放流
|
|
571
|
+
* @summary 监控回放流
|
|
572
|
+
* @param {number} id
|
|
573
|
+
* @param {string} startTime 回放开始时间
|
|
574
|
+
* @param {string} endTime 回放结束时间
|
|
799
575
|
* @param {*} [options] Override http request option.
|
|
800
576
|
* @throws {RequiredError}
|
|
801
577
|
*/
|
|
802
|
-
|
|
578
|
+
surveillancePlayback(id, startTime, endTime, options) {
|
|
803
579
|
return __awaiter(this, void 0, void 0, function* () {
|
|
804
580
|
var _a, _b, _c;
|
|
805
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
581
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillancePlayback(id, startTime, endTime, options);
|
|
806
582
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
807
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
583
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillancePlayback']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
808
584
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
809
585
|
});
|
|
810
586
|
},
|
|
811
587
|
/**
|
|
812
|
-
*
|
|
813
|
-
* @summary
|
|
814
|
-
* @param {
|
|
588
|
+
* 控制监控设备的云台
|
|
589
|
+
* @summary 监控云台控制
|
|
590
|
+
* @param {number} id
|
|
591
|
+
* @param {SurveillancePtzControlCommandEnum} command 控制命令
|
|
592
|
+
* @param {SurveillancePtzControlActionEnum} action 控制动作
|
|
815
593
|
* @param {*} [options] Override http request option.
|
|
816
594
|
* @throws {RequiredError}
|
|
817
595
|
*/
|
|
818
|
-
|
|
596
|
+
surveillancePtzControl(id, command, action, options) {
|
|
819
597
|
return __awaiter(this, void 0, void 0, function* () {
|
|
820
598
|
var _a, _b, _c;
|
|
821
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
599
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillancePtzControl(id, command, action, options);
|
|
822
600
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
823
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
601
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillancePtzControl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
824
602
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
825
603
|
});
|
|
826
604
|
},
|
|
827
605
|
/**
|
|
828
|
-
*
|
|
606
|
+
* 获取监控空间列表
|
|
829
607
|
* @summary 监控空间列表
|
|
830
|
-
* @param {
|
|
831
|
-
* @param {
|
|
832
|
-
* @
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.monitorSpaceList(monitorSearchVo, options);
|
|
838
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
839
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.monitorSpaceList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
840
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
841
|
-
});
|
|
842
|
-
},
|
|
843
|
-
/**
|
|
844
|
-
*
|
|
845
|
-
* @summary 同步监控唯一编号
|
|
846
|
-
* @param {MonitorOnlyNumberEditListVo} monitorOnlyNumberEditListVo
|
|
847
|
-
* @param {*} [options] Override http request option.
|
|
848
|
-
* @throws {RequiredError}
|
|
849
|
-
*/
|
|
850
|
-
onlyNumberEdit(monitorOnlyNumberEditListVo, options) {
|
|
851
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
852
|
-
var _a, _b, _c;
|
|
853
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.onlyNumberEdit(monitorOnlyNumberEditListVo, options);
|
|
854
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
855
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.onlyNumberEdit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
856
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
857
|
-
});
|
|
858
|
-
},
|
|
859
|
-
/**
|
|
860
|
-
*
|
|
861
|
-
* @summary 监控回放接口
|
|
862
|
-
* @param {MonitorPlayBackVo} monitorPlayBackVo
|
|
608
|
+
* @param {string} [surveillanceName] 监控名称
|
|
609
|
+
* @param {FunctionalAreaEnum} [functionalArea] 功能区
|
|
610
|
+
* @param {SurveillanceStatusEnum} [surveillanceStatus] 监控状态
|
|
611
|
+
* @param {number} [parkId] 园区ID
|
|
612
|
+
* @param {number} [spaceId] 空间ID
|
|
613
|
+
* @param {string} [page] 当前页码
|
|
614
|
+
* @param {string} [pageSize] 每页数量
|
|
863
615
|
* @param {*} [options] Override http request option.
|
|
864
616
|
* @throws {RequiredError}
|
|
865
617
|
*/
|
|
866
|
-
|
|
618
|
+
surveillanceSpaceList(surveillanceName, functionalArea, surveillanceStatus, parkId, spaceId, page, pageSize, options) {
|
|
867
619
|
return __awaiter(this, void 0, void 0, function* () {
|
|
868
620
|
var _a, _b, _c;
|
|
869
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
621
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceSpaceList(surveillanceName, functionalArea, surveillanceStatus, parkId, spaceId, page, pageSize, options);
|
|
870
622
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
871
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
623
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceSpaceList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
872
624
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
873
625
|
});
|
|
874
626
|
},
|
|
875
627
|
/**
|
|
876
|
-
*
|
|
877
|
-
* @summary
|
|
878
|
-
* @param {
|
|
628
|
+
* 同步监控信息
|
|
629
|
+
* @summary 同步监控
|
|
630
|
+
* @param {Array<SurveillanceAddVo>} surveillanceAddVo
|
|
879
631
|
* @param {*} [options] Override http request option.
|
|
880
632
|
* @throws {RequiredError}
|
|
881
633
|
*/
|
|
882
|
-
|
|
634
|
+
surveillanceSync(surveillanceAddVo, options) {
|
|
883
635
|
return __awaiter(this, void 0, void 0, function* () {
|
|
884
636
|
var _a, _b, _c;
|
|
885
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
637
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceSync(surveillanceAddVo, options);
|
|
886
638
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
887
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
639
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceSync']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
888
640
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
889
641
|
});
|
|
890
642
|
},
|
|
891
643
|
/**
|
|
892
|
-
*
|
|
893
|
-
* @summary
|
|
894
|
-
* @param {MonitorSortEntity} monitorSortEntity
|
|
895
|
-
* @param {*} [options] Override http request option.
|
|
896
|
-
* @throws {RequiredError}
|
|
897
|
-
*/
|
|
898
|
-
updateOrSave(monitorSortEntity, options) {
|
|
899
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
900
|
-
var _a, _b, _c;
|
|
901
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateOrSave(monitorSortEntity, options);
|
|
902
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
903
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.updateOrSave']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
904
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
905
|
-
});
|
|
906
|
-
},
|
|
907
|
-
/**
|
|
908
|
-
*
|
|
909
|
-
* @summary 删除
|
|
644
|
+
* 更新监控信息
|
|
645
|
+
* @summary 更新监控
|
|
910
646
|
* @param {number} id
|
|
647
|
+
* @param {SurveillanceUpdateVo} surveillanceUpdateVo
|
|
911
648
|
* @param {*} [options] Override http request option.
|
|
912
649
|
* @throws {RequiredError}
|
|
913
650
|
*/
|
|
914
|
-
|
|
651
|
+
surveillanceUpdate(id, surveillanceUpdateVo, options) {
|
|
915
652
|
return __awaiter(this, void 0, void 0, function* () {
|
|
916
653
|
var _a, _b, _c;
|
|
917
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
654
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceUpdate(id, surveillanceUpdateVo, options);
|
|
918
655
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
919
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
656
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
920
657
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
921
658
|
});
|
|
922
659
|
},
|
|
923
660
|
/**
|
|
924
|
-
*
|
|
925
|
-
* @summary
|
|
926
|
-
* @param {
|
|
661
|
+
* 更新监控点位信息
|
|
662
|
+
* @summary 更新监控点位
|
|
663
|
+
* @param {number} id
|
|
664
|
+
* @param {Array<number>} requestBody
|
|
927
665
|
* @param {*} [options] Override http request option.
|
|
928
666
|
* @throws {RequiredError}
|
|
929
667
|
*/
|
|
930
|
-
|
|
668
|
+
surveillanceUpdatePoint(id, requestBody, options) {
|
|
931
669
|
return __awaiter(this, void 0, void 0, function* () {
|
|
932
670
|
var _a, _b, _c;
|
|
933
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
671
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceUpdatePoint(id, requestBody, options);
|
|
934
672
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
935
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
673
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceUpdatePoint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
936
674
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
937
675
|
});
|
|
938
676
|
},
|
|
@@ -947,183 +685,114 @@ const SurveillanceApiFactory = function (configuration, basePath, axios) {
|
|
|
947
685
|
const localVarFp = (0, exports.SurveillanceApiFp)(configuration);
|
|
948
686
|
return {
|
|
949
687
|
/**
|
|
950
|
-
*
|
|
951
|
-
* @summary 监控绑定园区
|
|
952
|
-
* @param {SurveillanceApiBindParkRequest} requestParameters Request parameters.
|
|
953
|
-
* @param {*} [options] Override http request option.
|
|
954
|
-
* @throws {RequiredError}
|
|
955
|
-
*/
|
|
956
|
-
bindPark(requestParameters, options) {
|
|
957
|
-
return localVarFp.bindPark(requestParameters.monitorBindParkVO, options).then((request) => request(axios, basePath));
|
|
958
|
-
},
|
|
959
|
-
/**
|
|
960
|
-
*
|
|
961
|
-
* @summary 监控云台控制
|
|
962
|
-
* @param {SurveillanceApiCameraPTZRequest} requestParameters Request parameters.
|
|
963
|
-
* @param {*} [options] Override http request option.
|
|
964
|
-
* @throws {RequiredError}
|
|
965
|
-
*/
|
|
966
|
-
cameraPTZ(requestParameters, options) {
|
|
967
|
-
return localVarFp.cameraPTZ(requestParameters.monitorPanTiltControlVO, options).then((request) => request(axios, basePath));
|
|
968
|
-
},
|
|
969
|
-
/**
|
|
970
|
-
*
|
|
688
|
+
* 抓拍监控画面
|
|
971
689
|
* @summary 监控抓拍
|
|
972
|
-
* @param {
|
|
973
|
-
* @param {*} [options] Override http request option.
|
|
974
|
-
* @throws {RequiredError}
|
|
975
|
-
*/
|
|
976
|
-
capture(requestParameters, options) {
|
|
977
|
-
return localVarFp.capture(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
978
|
-
},
|
|
979
|
-
/**
|
|
980
|
-
*
|
|
981
|
-
* @summary 监控直播
|
|
982
|
-
* @param {SurveillanceApiLiveRequest} requestParameters Request parameters.
|
|
690
|
+
* @param {SurveillanceApiSurveillanceCaptureRequest} requestParameters Request parameters.
|
|
983
691
|
* @param {*} [options] Override http request option.
|
|
984
692
|
* @throws {RequiredError}
|
|
985
693
|
*/
|
|
986
|
-
|
|
987
|
-
return localVarFp.
|
|
694
|
+
surveillanceCapture(requestParameters, options) {
|
|
695
|
+
return localVarFp.surveillanceCapture(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
988
696
|
},
|
|
989
697
|
/**
|
|
990
|
-
*
|
|
991
|
-
* @summary
|
|
992
|
-
* @param {
|
|
698
|
+
* 删除监控信息
|
|
699
|
+
* @summary 删除监控
|
|
700
|
+
* @param {SurveillanceApiSurveillanceDeleteRequest} requestParameters Request parameters.
|
|
993
701
|
* @param {*} [options] Override http request option.
|
|
994
702
|
* @throws {RequiredError}
|
|
995
703
|
*/
|
|
996
|
-
|
|
997
|
-
return localVarFp.
|
|
704
|
+
surveillanceDelete(requestParameters, options) {
|
|
705
|
+
return localVarFp.surveillanceDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
998
706
|
},
|
|
999
707
|
/**
|
|
1000
|
-
*
|
|
708
|
+
* 获取监控详情
|
|
1001
709
|
* @summary 监控详情
|
|
1002
|
-
* @param {
|
|
1003
|
-
* @param {*} [options] Override http request option.
|
|
1004
|
-
* @throws {RequiredError}
|
|
1005
|
-
*/
|
|
1006
|
-
monitorDetail(requestParameters, options) {
|
|
1007
|
-
return localVarFp.monitorDetail(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1008
|
-
},
|
|
1009
|
-
/**
|
|
1010
|
-
*
|
|
1011
|
-
* @summary 编辑监控
|
|
1012
|
-
* @param {SurveillanceApiMonitorEditRequest} requestParameters Request parameters.
|
|
710
|
+
* @param {SurveillanceApiSurveillanceDetailsRequest} requestParameters Request parameters.
|
|
1013
711
|
* @param {*} [options] Override http request option.
|
|
1014
712
|
* @throws {RequiredError}
|
|
1015
713
|
*/
|
|
1016
|
-
|
|
1017
|
-
return localVarFp.
|
|
714
|
+
surveillanceDetails(requestParameters, options) {
|
|
715
|
+
return localVarFp.surveillanceDetails(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1018
716
|
},
|
|
1019
717
|
/**
|
|
1020
|
-
*
|
|
718
|
+
* 获取监控列表
|
|
1021
719
|
* @summary 监控列表
|
|
1022
|
-
* @param {
|
|
720
|
+
* @param {SurveillanceApiSurveillanceListRequest} requestParameters Request parameters.
|
|
1023
721
|
* @param {*} [options] Override http request option.
|
|
1024
722
|
* @throws {RequiredError}
|
|
1025
723
|
*/
|
|
1026
|
-
|
|
1027
|
-
return localVarFp.
|
|
724
|
+
surveillanceList(requestParameters = {}, options) {
|
|
725
|
+
return localVarFp.surveillanceList(requestParameters.surveillanceName, requestParameters.functionalArea, requestParameters.surveillanceStatus, requestParameters.parkId, requestParameters.spaceId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1028
726
|
},
|
|
1029
727
|
/**
|
|
1030
|
-
*
|
|
1031
|
-
* @summary
|
|
1032
|
-
* @param {
|
|
728
|
+
* 获取监控直播流
|
|
729
|
+
* @summary 监控直播流
|
|
730
|
+
* @param {SurveillanceApiSurveillanceLiveRequest} requestParameters Request parameters.
|
|
1033
731
|
* @param {*} [options] Override http request option.
|
|
1034
732
|
* @throws {RequiredError}
|
|
1035
733
|
*/
|
|
1036
|
-
|
|
1037
|
-
return localVarFp.
|
|
734
|
+
surveillanceLive(requestParameters, options) {
|
|
735
|
+
return localVarFp.surveillanceLive(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1038
736
|
},
|
|
1039
737
|
/**
|
|
1040
|
-
*
|
|
1041
|
-
* @summary
|
|
738
|
+
* 获取监控回放流
|
|
739
|
+
* @summary 监控回放流
|
|
740
|
+
* @param {SurveillanceApiSurveillancePlaybackRequest} requestParameters Request parameters.
|
|
1042
741
|
* @param {*} [options] Override http request option.
|
|
1043
742
|
* @throws {RequiredError}
|
|
1044
743
|
*/
|
|
1045
|
-
|
|
1046
|
-
return localVarFp.
|
|
744
|
+
surveillancePlayback(requestParameters, options) {
|
|
745
|
+
return localVarFp.surveillancePlayback(requestParameters.id, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
1047
746
|
},
|
|
1048
747
|
/**
|
|
1049
|
-
*
|
|
1050
|
-
* @summary
|
|
1051
|
-
* @param {
|
|
748
|
+
* 控制监控设备的云台
|
|
749
|
+
* @summary 监控云台控制
|
|
750
|
+
* @param {SurveillanceApiSurveillancePtzControlRequest} requestParameters Request parameters.
|
|
1052
751
|
* @param {*} [options] Override http request option.
|
|
1053
752
|
* @throws {RequiredError}
|
|
1054
753
|
*/
|
|
1055
|
-
|
|
1056
|
-
return localVarFp.
|
|
754
|
+
surveillancePtzControl(requestParameters, options) {
|
|
755
|
+
return localVarFp.surveillancePtzControl(requestParameters.id, requestParameters.command, requestParameters.action, options).then((request) => request(axios, basePath));
|
|
1057
756
|
},
|
|
1058
757
|
/**
|
|
1059
|
-
*
|
|
758
|
+
* 获取监控空间列表
|
|
1060
759
|
* @summary 监控空间列表
|
|
1061
|
-
* @param {
|
|
1062
|
-
* @param {*} [options] Override http request option.
|
|
1063
|
-
* @throws {RequiredError}
|
|
1064
|
-
*/
|
|
1065
|
-
monitorSpaceList(requestParameters, options) {
|
|
1066
|
-
return localVarFp.monitorSpaceList(requestParameters.monitorSearchVo, options).then((request) => request(axios, basePath));
|
|
1067
|
-
},
|
|
1068
|
-
/**
|
|
1069
|
-
*
|
|
1070
|
-
* @summary 同步监控唯一编号
|
|
1071
|
-
* @param {SurveillanceApiOnlyNumberEditRequest} requestParameters Request parameters.
|
|
1072
|
-
* @param {*} [options] Override http request option.
|
|
1073
|
-
* @throws {RequiredError}
|
|
1074
|
-
*/
|
|
1075
|
-
onlyNumberEdit(requestParameters, options) {
|
|
1076
|
-
return localVarFp.onlyNumberEdit(requestParameters.monitorOnlyNumberEditListVo, options).then((request) => request(axios, basePath));
|
|
1077
|
-
},
|
|
1078
|
-
/**
|
|
1079
|
-
*
|
|
1080
|
-
* @summary 监控回放接口
|
|
1081
|
-
* @param {SurveillanceApiPlayBackRequest} requestParameters Request parameters.
|
|
1082
|
-
* @param {*} [options] Override http request option.
|
|
1083
|
-
* @throws {RequiredError}
|
|
1084
|
-
*/
|
|
1085
|
-
playBack(requestParameters, options) {
|
|
1086
|
-
return localVarFp.playBack(requestParameters.monitorPlayBackVo, options).then((request) => request(axios, basePath));
|
|
1087
|
-
},
|
|
1088
|
-
/**
|
|
1089
|
-
*
|
|
1090
|
-
* @summary 删除监控
|
|
1091
|
-
* @param {SurveillanceApiSurveillanceDelRequest} requestParameters Request parameters.
|
|
760
|
+
* @param {SurveillanceApiSurveillanceSpaceListRequest} requestParameters Request parameters.
|
|
1092
761
|
* @param {*} [options] Override http request option.
|
|
1093
762
|
* @throws {RequiredError}
|
|
1094
763
|
*/
|
|
1095
|
-
|
|
1096
|
-
return localVarFp.
|
|
764
|
+
surveillanceSpaceList(requestParameters = {}, options) {
|
|
765
|
+
return localVarFp.surveillanceSpaceList(requestParameters.surveillanceName, requestParameters.functionalArea, requestParameters.surveillanceStatus, requestParameters.parkId, requestParameters.spaceId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1097
766
|
},
|
|
1098
767
|
/**
|
|
1099
|
-
*
|
|
1100
|
-
* @summary
|
|
1101
|
-
* @param {
|
|
768
|
+
* 同步监控信息
|
|
769
|
+
* @summary 同步监控
|
|
770
|
+
* @param {SurveillanceApiSurveillanceSyncRequest} requestParameters Request parameters.
|
|
1102
771
|
* @param {*} [options] Override http request option.
|
|
1103
772
|
* @throws {RequiredError}
|
|
1104
773
|
*/
|
|
1105
|
-
|
|
1106
|
-
return localVarFp.
|
|
774
|
+
surveillanceSync(requestParameters, options) {
|
|
775
|
+
return localVarFp.surveillanceSync(requestParameters.surveillanceAddVo, options).then((request) => request(axios, basePath));
|
|
1107
776
|
},
|
|
1108
777
|
/**
|
|
1109
|
-
*
|
|
1110
|
-
* @summary
|
|
1111
|
-
* @param {
|
|
778
|
+
* 更新监控信息
|
|
779
|
+
* @summary 更新监控
|
|
780
|
+
* @param {SurveillanceApiSurveillanceUpdateRequest} requestParameters Request parameters.
|
|
1112
781
|
* @param {*} [options] Override http request option.
|
|
1113
782
|
* @throws {RequiredError}
|
|
1114
783
|
*/
|
|
1115
|
-
|
|
1116
|
-
return localVarFp.
|
|
784
|
+
surveillanceUpdate(requestParameters, options) {
|
|
785
|
+
return localVarFp.surveillanceUpdate(requestParameters.id, requestParameters.surveillanceUpdateVo, options).then((request) => request(axios, basePath));
|
|
1117
786
|
},
|
|
1118
787
|
/**
|
|
1119
|
-
*
|
|
1120
|
-
* @summary
|
|
1121
|
-
* @param {
|
|
788
|
+
* 更新监控点位信息
|
|
789
|
+
* @summary 更新监控点位
|
|
790
|
+
* @param {SurveillanceApiSurveillanceUpdatePointRequest} requestParameters Request parameters.
|
|
1122
791
|
* @param {*} [options] Override http request option.
|
|
1123
792
|
* @throws {RequiredError}
|
|
1124
793
|
*/
|
|
1125
|
-
|
|
1126
|
-
return localVarFp.
|
|
794
|
+
surveillanceUpdatePoint(requestParameters, options) {
|
|
795
|
+
return localVarFp.surveillanceUpdatePoint(requestParameters.id, requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
1127
796
|
},
|
|
1128
797
|
};
|
|
1129
798
|
};
|
|
@@ -1136,201 +805,143 @@ exports.SurveillanceApiFactory = SurveillanceApiFactory;
|
|
|
1136
805
|
*/
|
|
1137
806
|
class SurveillanceApi extends base_1.BaseAPI {
|
|
1138
807
|
/**
|
|
1139
|
-
*
|
|
1140
|
-
* @summary 监控绑定园区
|
|
1141
|
-
* @param {SurveillanceApiBindParkRequest} requestParameters Request parameters.
|
|
1142
|
-
* @param {*} [options] Override http request option.
|
|
1143
|
-
* @throws {RequiredError}
|
|
1144
|
-
* @memberof SurveillanceApi
|
|
1145
|
-
*/
|
|
1146
|
-
bindPark(requestParameters, options) {
|
|
1147
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).bindPark(requestParameters.monitorBindParkVO, options).then((request) => request(this.axios, this.basePath));
|
|
1148
|
-
}
|
|
1149
|
-
/**
|
|
1150
|
-
*
|
|
1151
|
-
* @summary 监控云台控制
|
|
1152
|
-
* @param {SurveillanceApiCameraPTZRequest} requestParameters Request parameters.
|
|
1153
|
-
* @param {*} [options] Override http request option.
|
|
1154
|
-
* @throws {RequiredError}
|
|
1155
|
-
* @memberof SurveillanceApi
|
|
1156
|
-
*/
|
|
1157
|
-
cameraPTZ(requestParameters, options) {
|
|
1158
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).cameraPTZ(requestParameters.monitorPanTiltControlVO, options).then((request) => request(this.axios, this.basePath));
|
|
1159
|
-
}
|
|
1160
|
-
/**
|
|
1161
|
-
*
|
|
808
|
+
* 抓拍监控画面
|
|
1162
809
|
* @summary 监控抓拍
|
|
1163
|
-
* @param {
|
|
1164
|
-
* @param {*} [options] Override http request option.
|
|
1165
|
-
* @throws {RequiredError}
|
|
1166
|
-
* @memberof SurveillanceApi
|
|
1167
|
-
*/
|
|
1168
|
-
capture(requestParameters, options) {
|
|
1169
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).capture(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1170
|
-
}
|
|
1171
|
-
/**
|
|
1172
|
-
*
|
|
1173
|
-
* @summary 监控直播
|
|
1174
|
-
* @param {SurveillanceApiLiveRequest} requestParameters Request parameters.
|
|
810
|
+
* @param {SurveillanceApiSurveillanceCaptureRequest} requestParameters Request parameters.
|
|
1175
811
|
* @param {*} [options] Override http request option.
|
|
1176
812
|
* @throws {RequiredError}
|
|
1177
813
|
* @memberof SurveillanceApi
|
|
1178
814
|
*/
|
|
1179
|
-
|
|
1180
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).
|
|
815
|
+
surveillanceCapture(requestParameters, options) {
|
|
816
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceCapture(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1181
817
|
}
|
|
1182
818
|
/**
|
|
1183
|
-
*
|
|
1184
|
-
* @summary
|
|
1185
|
-
* @param {
|
|
819
|
+
* 删除监控信息
|
|
820
|
+
* @summary 删除监控
|
|
821
|
+
* @param {SurveillanceApiSurveillanceDeleteRequest} requestParameters Request parameters.
|
|
1186
822
|
* @param {*} [options] Override http request option.
|
|
1187
823
|
* @throws {RequiredError}
|
|
1188
824
|
* @memberof SurveillanceApi
|
|
1189
825
|
*/
|
|
1190
|
-
|
|
1191
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).
|
|
826
|
+
surveillanceDelete(requestParameters, options) {
|
|
827
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceDelete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1192
828
|
}
|
|
1193
829
|
/**
|
|
1194
|
-
*
|
|
830
|
+
* 获取监控详情
|
|
1195
831
|
* @summary 监控详情
|
|
1196
|
-
* @param {
|
|
1197
|
-
* @param {*} [options] Override http request option.
|
|
1198
|
-
* @throws {RequiredError}
|
|
1199
|
-
* @memberof SurveillanceApi
|
|
1200
|
-
*/
|
|
1201
|
-
monitorDetail(requestParameters, options) {
|
|
1202
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).monitorDetail(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1203
|
-
}
|
|
1204
|
-
/**
|
|
1205
|
-
*
|
|
1206
|
-
* @summary 编辑监控
|
|
1207
|
-
* @param {SurveillanceApiMonitorEditRequest} requestParameters Request parameters.
|
|
832
|
+
* @param {SurveillanceApiSurveillanceDetailsRequest} requestParameters Request parameters.
|
|
1208
833
|
* @param {*} [options] Override http request option.
|
|
1209
834
|
* @throws {RequiredError}
|
|
1210
835
|
* @memberof SurveillanceApi
|
|
1211
836
|
*/
|
|
1212
|
-
|
|
1213
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).
|
|
837
|
+
surveillanceDetails(requestParameters, options) {
|
|
838
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1214
839
|
}
|
|
1215
840
|
/**
|
|
1216
|
-
*
|
|
841
|
+
* 获取监控列表
|
|
1217
842
|
* @summary 监控列表
|
|
1218
|
-
* @param {
|
|
843
|
+
* @param {SurveillanceApiSurveillanceListRequest} requestParameters Request parameters.
|
|
1219
844
|
* @param {*} [options] Override http request option.
|
|
1220
845
|
* @throws {RequiredError}
|
|
1221
846
|
* @memberof SurveillanceApi
|
|
1222
847
|
*/
|
|
1223
|
-
|
|
1224
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).
|
|
848
|
+
surveillanceList(requestParameters = {}, options) {
|
|
849
|
+
return (0, exports.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));
|
|
1225
850
|
}
|
|
1226
851
|
/**
|
|
1227
|
-
*
|
|
1228
|
-
* @summary
|
|
1229
|
-
* @param {
|
|
852
|
+
* 获取监控直播流
|
|
853
|
+
* @summary 监控直播流
|
|
854
|
+
* @param {SurveillanceApiSurveillanceLiveRequest} requestParameters Request parameters.
|
|
1230
855
|
* @param {*} [options] Override http request option.
|
|
1231
856
|
* @throws {RequiredError}
|
|
1232
857
|
* @memberof SurveillanceApi
|
|
1233
858
|
*/
|
|
1234
|
-
|
|
1235
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).
|
|
859
|
+
surveillanceLive(requestParameters, options) {
|
|
860
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceLive(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1236
861
|
}
|
|
1237
862
|
/**
|
|
1238
|
-
*
|
|
1239
|
-
* @summary
|
|
863
|
+
* 获取监控回放流
|
|
864
|
+
* @summary 监控回放流
|
|
865
|
+
* @param {SurveillanceApiSurveillancePlaybackRequest} requestParameters Request parameters.
|
|
1240
866
|
* @param {*} [options] Override http request option.
|
|
1241
867
|
* @throws {RequiredError}
|
|
1242
868
|
* @memberof SurveillanceApi
|
|
1243
869
|
*/
|
|
1244
|
-
|
|
1245
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).
|
|
870
|
+
surveillancePlayback(requestParameters, options) {
|
|
871
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillancePlayback(requestParameters.id, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
1246
872
|
}
|
|
1247
873
|
/**
|
|
1248
|
-
*
|
|
1249
|
-
* @summary
|
|
1250
|
-
* @param {
|
|
874
|
+
* 控制监控设备的云台
|
|
875
|
+
* @summary 监控云台控制
|
|
876
|
+
* @param {SurveillanceApiSurveillancePtzControlRequest} requestParameters Request parameters.
|
|
1251
877
|
* @param {*} [options] Override http request option.
|
|
1252
878
|
* @throws {RequiredError}
|
|
1253
879
|
* @memberof SurveillanceApi
|
|
1254
880
|
*/
|
|
1255
|
-
|
|
1256
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).
|
|
881
|
+
surveillancePtzControl(requestParameters, options) {
|
|
882
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillancePtzControl(requestParameters.id, requestParameters.command, requestParameters.action, options).then((request) => request(this.axios, this.basePath));
|
|
1257
883
|
}
|
|
1258
884
|
/**
|
|
1259
|
-
*
|
|
885
|
+
* 获取监控空间列表
|
|
1260
886
|
* @summary 监控空间列表
|
|
1261
|
-
* @param {
|
|
887
|
+
* @param {SurveillanceApiSurveillanceSpaceListRequest} requestParameters Request parameters.
|
|
1262
888
|
* @param {*} [options] Override http request option.
|
|
1263
889
|
* @throws {RequiredError}
|
|
1264
890
|
* @memberof SurveillanceApi
|
|
1265
891
|
*/
|
|
1266
|
-
|
|
1267
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).
|
|
892
|
+
surveillanceSpaceList(requestParameters = {}, options) {
|
|
893
|
+
return (0, exports.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));
|
|
1268
894
|
}
|
|
1269
895
|
/**
|
|
1270
|
-
*
|
|
1271
|
-
* @summary
|
|
1272
|
-
* @param {
|
|
896
|
+
* 同步监控信息
|
|
897
|
+
* @summary 同步监控
|
|
898
|
+
* @param {SurveillanceApiSurveillanceSyncRequest} requestParameters Request parameters.
|
|
1273
899
|
* @param {*} [options] Override http request option.
|
|
1274
900
|
* @throws {RequiredError}
|
|
1275
901
|
* @memberof SurveillanceApi
|
|
1276
902
|
*/
|
|
1277
|
-
|
|
1278
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).
|
|
903
|
+
surveillanceSync(requestParameters, options) {
|
|
904
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceSync(requestParameters.surveillanceAddVo, options).then((request) => request(this.axios, this.basePath));
|
|
1279
905
|
}
|
|
1280
906
|
/**
|
|
1281
|
-
*
|
|
1282
|
-
* @summary
|
|
1283
|
-
* @param {
|
|
907
|
+
* 更新监控信息
|
|
908
|
+
* @summary 更新监控
|
|
909
|
+
* @param {SurveillanceApiSurveillanceUpdateRequest} requestParameters Request parameters.
|
|
1284
910
|
* @param {*} [options] Override http request option.
|
|
1285
911
|
* @throws {RequiredError}
|
|
1286
912
|
* @memberof SurveillanceApi
|
|
1287
913
|
*/
|
|
1288
|
-
|
|
1289
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).
|
|
914
|
+
surveillanceUpdate(requestParameters, options) {
|
|
915
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceUpdate(requestParameters.id, requestParameters.surveillanceUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
1290
916
|
}
|
|
1291
917
|
/**
|
|
1292
|
-
*
|
|
1293
|
-
* @summary
|
|
1294
|
-
* @param {
|
|
918
|
+
* 更新监控点位信息
|
|
919
|
+
* @summary 更新监控点位
|
|
920
|
+
* @param {SurveillanceApiSurveillanceUpdatePointRequest} requestParameters Request parameters.
|
|
1295
921
|
* @param {*} [options] Override http request option.
|
|
1296
922
|
* @throws {RequiredError}
|
|
1297
923
|
* @memberof SurveillanceApi
|
|
1298
924
|
*/
|
|
1299
|
-
|
|
1300
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).
|
|
1301
|
-
}
|
|
1302
|
-
/**
|
|
1303
|
-
*
|
|
1304
|
-
* @summary 修改或新增
|
|
1305
|
-
* @param {SurveillanceApiUpdateOrSaveRequest} requestParameters Request parameters.
|
|
1306
|
-
* @param {*} [options] Override http request option.
|
|
1307
|
-
* @throws {RequiredError}
|
|
1308
|
-
* @memberof SurveillanceApi
|
|
1309
|
-
*/
|
|
1310
|
-
updateOrSave(requestParameters, options) {
|
|
1311
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).updateOrSave(requestParameters.monitorSortEntity, options).then((request) => request(this.axios, this.basePath));
|
|
1312
|
-
}
|
|
1313
|
-
/**
|
|
1314
|
-
*
|
|
1315
|
-
* @summary 删除
|
|
1316
|
-
* @param {SurveillanceApiUpdateOrSave1Request} requestParameters Request parameters.
|
|
1317
|
-
* @param {*} [options] Override http request option.
|
|
1318
|
-
* @throws {RequiredError}
|
|
1319
|
-
* @memberof SurveillanceApi
|
|
1320
|
-
*/
|
|
1321
|
-
updateOrSave1(requestParameters, options) {
|
|
1322
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).updateOrSave1(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
1323
|
-
}
|
|
1324
|
-
/**
|
|
1325
|
-
*
|
|
1326
|
-
* @summary 同步监控设备接口
|
|
1327
|
-
* @param {SurveillanceApiWithEquipmentRequest} requestParameters Request parameters.
|
|
1328
|
-
* @param {*} [options] Override http request option.
|
|
1329
|
-
* @throws {RequiredError}
|
|
1330
|
-
* @memberof SurveillanceApi
|
|
1331
|
-
*/
|
|
1332
|
-
withEquipment(requestParameters, options) {
|
|
1333
|
-
return (0, exports.SurveillanceApiFp)(this.configuration).withEquipment(requestParameters.gizoneDevicveListSearchVO, options).then((request) => request(this.axios, this.basePath));
|
|
925
|
+
surveillanceUpdatePoint(requestParameters, options) {
|
|
926
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceUpdatePoint(requestParameters.id, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
1334
927
|
}
|
|
1335
928
|
}
|
|
1336
929
|
exports.SurveillanceApi = SurveillanceApi;
|
|
930
|
+
/**
|
|
931
|
+
* @export
|
|
932
|
+
*/
|
|
933
|
+
exports.SurveillancePtzControlCommandEnum = {
|
|
934
|
+
Left: 'LEFT',
|
|
935
|
+
Right: 'RIGHT',
|
|
936
|
+
Up: 'UP',
|
|
937
|
+
Down: 'DOWN',
|
|
938
|
+
ZoomIn: 'ZOOM_IN',
|
|
939
|
+
ZoomOut: 'ZOOM_OUT'
|
|
940
|
+
};
|
|
941
|
+
/**
|
|
942
|
+
* @export
|
|
943
|
+
*/
|
|
944
|
+
exports.SurveillancePtzControlActionEnum = {
|
|
945
|
+
Start: 'START',
|
|
946
|
+
Stop: 'STOP'
|
|
947
|
+
};
|