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