@gizone/rrs-client 3.11.16-alpha.82 → 3.11.17-alpha.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +23 -0
- package/README.md +2 -2
- package/apis/surveillance-api.ts +1343 -102
- package/apis/work-order-api.ts +398 -10
- package/configuration.ts +1 -1
- package/dist/apis/surveillance-api.d.ts +678 -0
- package/dist/apis/surveillance-api.js +960 -82
- package/dist/apis/work-order-api.d.ts +215 -10
- package/dist/apis/work-order-api.js +293 -4
- package/dist/configuration.js +1 -1
- package/dist/esm/apis/surveillance-api.d.ts +678 -0
- package/dist/esm/apis/surveillance-api.js +959 -81
- package/dist/esm/apis/work-order-api.d.ts +215 -10
- package/dist/esm/apis/work-order-api.js +293 -4
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/models/functional-area-enum.d.ts +26 -0
- package/dist/esm/models/functional-area-enum.js +27 -0
- package/dist/esm/models/get-user-wx200-response.d.ts +4 -4
- package/dist/esm/models/index.d.ts +23 -0
- package/dist/esm/models/index.js +23 -0
- package/dist/esm/models/installation-body-enum.d.ts +22 -0
- package/dist/esm/models/installation-body-enum.js +23 -0
- package/dist/esm/models/ipage-access-vo.d.ts +6 -6
- package/dist/esm/models/json-result-new-work-monitor-repair-details-dto.d.ts +56 -0
- package/dist/esm/models/json-result-new-work-monitor-repair-details-dto.js +14 -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 +7 -0
- 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-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/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/work-order-space-dto.d.ts +36 -0
- 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 -0
- package/dist/models/index.js +23 -0
- package/dist/models/installation-body-enum.d.ts +22 -0
- package/dist/models/installation-body-enum.js +26 -0
- package/dist/models/ipage-access-vo.d.ts +6 -6
- package/dist/models/json-result-new-work-monitor-repair-details-dto.d.ts +56 -0
- package/dist/models/json-result-new-work-monitor-repair-details-dto.js +15 -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 +7 -0
- 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-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/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/work-order-space-dto.d.ts +36 -0
- 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 -0
- package/models/installation-body-enum.ts +32 -0
- package/models/ipage-access-vo.ts +6 -6
- package/models/json-result-new-work-monitor-repair-details-dto.ts +66 -0
- package/models/json-result-page-dto-surveillance-details-dto.ts +66 -0
- package/models/json-result-surveillance-details-dto.ts +66 -0
- package/models/json-result-surveillance-live-dto.ts +66 -0
- package/models/new-work-monitor-repair-add-vo.ts +101 -0
- package/models/new-work-monitor-repair-details-dto.ts +221 -0
- package/models/page-dto-surveillance-details-dto.ts +39 -0
- package/models/process-new-work-monitor-repair-vo.ts +36 -0
- package/models/space-add-excel-dto.ts +6 -0
- package/models/space-add-vo.ts +9 -0
- package/models/space-detail-dto.ts +9 -0
- package/models/space-edit-vo.ts +9 -0
- package/models/space-industry-attribute.ts +35 -0
- 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/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/work-order-space-dto.ts +42 -0
- 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
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.SurveillanceApi = exports.SurveillanceApiFactory = exports.SurveillanceApiFp = exports.SurveillanceApiAxiosParamCreator = void 0;
|
|
25
|
+
exports.SurveillancePtzControlActionEnum = exports.SurveillancePtzControlCommandEnum = exports.SurveillanceApi = exports.SurveillanceApiFactory = exports.SurveillanceApiFp = exports.SurveillanceApiAxiosParamCreator = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -504,6 +504,38 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
504
504
|
options: localVarRequestOptions,
|
|
505
505
|
};
|
|
506
506
|
}),
|
|
507
|
+
/**
|
|
508
|
+
* 抓拍监控画面
|
|
509
|
+
* @summary 监控抓拍
|
|
510
|
+
* @param {number} id
|
|
511
|
+
* @param {*} [options] Override http request option.
|
|
512
|
+
* @throws {RequiredError}
|
|
513
|
+
*/
|
|
514
|
+
surveillanceCapture: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
515
|
+
// verify required parameter 'id' is not null or undefined
|
|
516
|
+
(0, common_1.assertParamExists)('surveillanceCapture', 'id', id);
|
|
517
|
+
const localVarPath = `/surveillance/capture/{id}`
|
|
518
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
519
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
520
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
521
|
+
let baseOptions;
|
|
522
|
+
if (configuration) {
|
|
523
|
+
baseOptions = configuration.baseOptions;
|
|
524
|
+
}
|
|
525
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
526
|
+
const localVarHeaderParameter = {};
|
|
527
|
+
const localVarQueryParameter = {};
|
|
528
|
+
// authentication tokenScheme required
|
|
529
|
+
// http bearer authentication required
|
|
530
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
531
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
532
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
533
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
534
|
+
return {
|
|
535
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
536
|
+
options: localVarRequestOptions,
|
|
537
|
+
};
|
|
538
|
+
}),
|
|
507
539
|
/**
|
|
508
540
|
*
|
|
509
541
|
* @summary 删除监控
|
|
@@ -538,6 +570,409 @@ const SurveillanceApiAxiosParamCreator = function (configuration) {
|
|
|
538
570
|
options: localVarRequestOptions,
|
|
539
571
|
};
|
|
540
572
|
}),
|
|
573
|
+
/**
|
|
574
|
+
* 删除监控信息
|
|
575
|
+
* @summary 删除监控
|
|
576
|
+
* @param {number} id
|
|
577
|
+
* @param {*} [options] Override http request option.
|
|
578
|
+
* @throws {RequiredError}
|
|
579
|
+
*/
|
|
580
|
+
surveillanceDelete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
581
|
+
// verify required parameter 'id' is not null or undefined
|
|
582
|
+
(0, common_1.assertParamExists)('surveillanceDelete', 'id', id);
|
|
583
|
+
const localVarPath = `/surveillance/{id}`
|
|
584
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
585
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
586
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
587
|
+
let baseOptions;
|
|
588
|
+
if (configuration) {
|
|
589
|
+
baseOptions = configuration.baseOptions;
|
|
590
|
+
}
|
|
591
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
592
|
+
const localVarHeaderParameter = {};
|
|
593
|
+
const localVarQueryParameter = {};
|
|
594
|
+
// authentication tokenScheme required
|
|
595
|
+
// http bearer authentication required
|
|
596
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
597
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
598
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
599
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
600
|
+
return {
|
|
601
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
602
|
+
options: localVarRequestOptions,
|
|
603
|
+
};
|
|
604
|
+
}),
|
|
605
|
+
/**
|
|
606
|
+
* 获取监控详情
|
|
607
|
+
* @summary 监控详情
|
|
608
|
+
* @param {number} id
|
|
609
|
+
* @param {*} [options] Override http request option.
|
|
610
|
+
* @throws {RequiredError}
|
|
611
|
+
*/
|
|
612
|
+
surveillanceDetails: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
613
|
+
// verify required parameter 'id' is not null or undefined
|
|
614
|
+
(0, common_1.assertParamExists)('surveillanceDetails', 'id', id);
|
|
615
|
+
const localVarPath = `/surveillance/{id}`
|
|
616
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
617
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
618
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
619
|
+
let baseOptions;
|
|
620
|
+
if (configuration) {
|
|
621
|
+
baseOptions = configuration.baseOptions;
|
|
622
|
+
}
|
|
623
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
624
|
+
const localVarHeaderParameter = {};
|
|
625
|
+
const localVarQueryParameter = {};
|
|
626
|
+
// authentication tokenScheme required
|
|
627
|
+
// http bearer authentication required
|
|
628
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
629
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
630
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
631
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
632
|
+
return {
|
|
633
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
634
|
+
options: localVarRequestOptions,
|
|
635
|
+
};
|
|
636
|
+
}),
|
|
637
|
+
/**
|
|
638
|
+
* 获取监控列表
|
|
639
|
+
* @summary 监控列表
|
|
640
|
+
* @param {string} [surveillanceName] 监控名称
|
|
641
|
+
* @param {FunctionalAreaEnum} [functionalArea] 功能区
|
|
642
|
+
* @param {SurveillanceStatusEnum} [surveillanceStatus] 监控状态
|
|
643
|
+
* @param {number} [parkId] 园区ID
|
|
644
|
+
* @param {number} [spaceId] 空间ID
|
|
645
|
+
* @param {string} [page] 当前页码
|
|
646
|
+
* @param {string} [pageSize] 每页数量
|
|
647
|
+
* @param {*} [options] Override http request option.
|
|
648
|
+
* @throws {RequiredError}
|
|
649
|
+
*/
|
|
650
|
+
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 = {}) {
|
|
651
|
+
const localVarPath = `/surveillance`;
|
|
652
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
653
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
654
|
+
let baseOptions;
|
|
655
|
+
if (configuration) {
|
|
656
|
+
baseOptions = configuration.baseOptions;
|
|
657
|
+
}
|
|
658
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
659
|
+
const localVarHeaderParameter = {};
|
|
660
|
+
const localVarQueryParameter = {};
|
|
661
|
+
// authentication tokenScheme required
|
|
662
|
+
// http bearer authentication required
|
|
663
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
664
|
+
if (surveillanceName !== undefined) {
|
|
665
|
+
localVarQueryParameter['surveillanceName'] = surveillanceName;
|
|
666
|
+
}
|
|
667
|
+
if (functionalArea !== undefined) {
|
|
668
|
+
localVarQueryParameter['functionalArea'] = functionalArea;
|
|
669
|
+
}
|
|
670
|
+
if (surveillanceStatus !== undefined) {
|
|
671
|
+
localVarQueryParameter['surveillanceStatus'] = surveillanceStatus;
|
|
672
|
+
}
|
|
673
|
+
if (parkId !== undefined) {
|
|
674
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
675
|
+
}
|
|
676
|
+
if (spaceId !== undefined) {
|
|
677
|
+
localVarQueryParameter['spaceId'] = spaceId;
|
|
678
|
+
}
|
|
679
|
+
if (page !== undefined) {
|
|
680
|
+
localVarQueryParameter['page'] = page;
|
|
681
|
+
}
|
|
682
|
+
if (pageSize !== undefined) {
|
|
683
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
684
|
+
}
|
|
685
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
686
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
687
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
688
|
+
return {
|
|
689
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
690
|
+
options: localVarRequestOptions,
|
|
691
|
+
};
|
|
692
|
+
}),
|
|
693
|
+
/**
|
|
694
|
+
* 获取监控直播流
|
|
695
|
+
* @summary 监控直播流
|
|
696
|
+
* @param {number} id
|
|
697
|
+
* @param {*} [options] Override http request option.
|
|
698
|
+
* @throws {RequiredError}
|
|
699
|
+
*/
|
|
700
|
+
surveillanceLive: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
701
|
+
// verify required parameter 'id' is not null or undefined
|
|
702
|
+
(0, common_1.assertParamExists)('surveillanceLive', 'id', id);
|
|
703
|
+
const localVarPath = `/surveillance/live/{id}`
|
|
704
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
705
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
706
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
707
|
+
let baseOptions;
|
|
708
|
+
if (configuration) {
|
|
709
|
+
baseOptions = configuration.baseOptions;
|
|
710
|
+
}
|
|
711
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
712
|
+
const localVarHeaderParameter = {};
|
|
713
|
+
const localVarQueryParameter = {};
|
|
714
|
+
// authentication tokenScheme required
|
|
715
|
+
// http bearer authentication required
|
|
716
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
717
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
718
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
719
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
720
|
+
return {
|
|
721
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
722
|
+
options: localVarRequestOptions,
|
|
723
|
+
};
|
|
724
|
+
}),
|
|
725
|
+
/**
|
|
726
|
+
* 获取监控回放流
|
|
727
|
+
* @summary 监控回放流
|
|
728
|
+
* @param {number} id
|
|
729
|
+
* @param {string} startTime 回放开始时间
|
|
730
|
+
* @param {string} endTime 回放结束时间
|
|
731
|
+
* @param {*} [options] Override http request option.
|
|
732
|
+
* @throws {RequiredError}
|
|
733
|
+
*/
|
|
734
|
+
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 = {}) {
|
|
735
|
+
// verify required parameter 'id' is not null or undefined
|
|
736
|
+
(0, common_1.assertParamExists)('surveillancePlayback', 'id', id);
|
|
737
|
+
// verify required parameter 'startTime' is not null or undefined
|
|
738
|
+
(0, common_1.assertParamExists)('surveillancePlayback', 'startTime', startTime);
|
|
739
|
+
// verify required parameter 'endTime' is not null or undefined
|
|
740
|
+
(0, common_1.assertParamExists)('surveillancePlayback', 'endTime', endTime);
|
|
741
|
+
const localVarPath = `/surveillance/playback/{id}`
|
|
742
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
743
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
744
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
745
|
+
let baseOptions;
|
|
746
|
+
if (configuration) {
|
|
747
|
+
baseOptions = configuration.baseOptions;
|
|
748
|
+
}
|
|
749
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
750
|
+
const localVarHeaderParameter = {};
|
|
751
|
+
const localVarQueryParameter = {};
|
|
752
|
+
// authentication tokenScheme required
|
|
753
|
+
// http bearer authentication required
|
|
754
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
755
|
+
if (startTime !== undefined) {
|
|
756
|
+
localVarQueryParameter['startTime'] = startTime;
|
|
757
|
+
}
|
|
758
|
+
if (endTime !== undefined) {
|
|
759
|
+
localVarQueryParameter['endTime'] = endTime;
|
|
760
|
+
}
|
|
761
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
762
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
763
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
764
|
+
return {
|
|
765
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
766
|
+
options: localVarRequestOptions,
|
|
767
|
+
};
|
|
768
|
+
}),
|
|
769
|
+
/**
|
|
770
|
+
* 控制监控设备的云台
|
|
771
|
+
* @summary 监控云台控制
|
|
772
|
+
* @param {number} id
|
|
773
|
+
* @param {SurveillancePtzControlCommandEnum} command 控制命令
|
|
774
|
+
* @param {SurveillancePtzControlActionEnum} action 控制动作
|
|
775
|
+
* @param {*} [options] Override http request option.
|
|
776
|
+
* @throws {RequiredError}
|
|
777
|
+
*/
|
|
778
|
+
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 = {}) {
|
|
779
|
+
// verify required parameter 'id' is not null or undefined
|
|
780
|
+
(0, common_1.assertParamExists)('surveillancePtzControl', 'id', id);
|
|
781
|
+
// verify required parameter 'command' is not null or undefined
|
|
782
|
+
(0, common_1.assertParamExists)('surveillancePtzControl', 'command', command);
|
|
783
|
+
// verify required parameter 'action' is not null or undefined
|
|
784
|
+
(0, common_1.assertParamExists)('surveillancePtzControl', 'action', action);
|
|
785
|
+
const localVarPath = `/surveillance/ptzControl/{id}`
|
|
786
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
787
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
788
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
789
|
+
let baseOptions;
|
|
790
|
+
if (configuration) {
|
|
791
|
+
baseOptions = configuration.baseOptions;
|
|
792
|
+
}
|
|
793
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
794
|
+
const localVarHeaderParameter = {};
|
|
795
|
+
const localVarQueryParameter = {};
|
|
796
|
+
// authentication tokenScheme required
|
|
797
|
+
// http bearer authentication required
|
|
798
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
799
|
+
if (command !== undefined) {
|
|
800
|
+
localVarQueryParameter['command'] = command;
|
|
801
|
+
}
|
|
802
|
+
if (action !== undefined) {
|
|
803
|
+
localVarQueryParameter['action'] = action;
|
|
804
|
+
}
|
|
805
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
806
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
807
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
808
|
+
return {
|
|
809
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
810
|
+
options: localVarRequestOptions,
|
|
811
|
+
};
|
|
812
|
+
}),
|
|
813
|
+
/**
|
|
814
|
+
* 获取监控空间列表
|
|
815
|
+
* @summary 监控空间列表
|
|
816
|
+
* @param {string} [surveillanceName] 监控名称
|
|
817
|
+
* @param {FunctionalAreaEnum} [functionalArea] 功能区
|
|
818
|
+
* @param {SurveillanceStatusEnum} [surveillanceStatus] 监控状态
|
|
819
|
+
* @param {number} [parkId] 园区ID
|
|
820
|
+
* @param {number} [spaceId] 空间ID
|
|
821
|
+
* @param {string} [page] 当前页码
|
|
822
|
+
* @param {string} [pageSize] 每页数量
|
|
823
|
+
* @param {*} [options] Override http request option.
|
|
824
|
+
* @throws {RequiredError}
|
|
825
|
+
*/
|
|
826
|
+
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 = {}) {
|
|
827
|
+
const localVarPath = `/surveillance/spaceList`;
|
|
828
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
829
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
830
|
+
let baseOptions;
|
|
831
|
+
if (configuration) {
|
|
832
|
+
baseOptions = configuration.baseOptions;
|
|
833
|
+
}
|
|
834
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
835
|
+
const localVarHeaderParameter = {};
|
|
836
|
+
const localVarQueryParameter = {};
|
|
837
|
+
// authentication tokenScheme required
|
|
838
|
+
// http bearer authentication required
|
|
839
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
840
|
+
if (surveillanceName !== undefined) {
|
|
841
|
+
localVarQueryParameter['surveillanceName'] = surveillanceName;
|
|
842
|
+
}
|
|
843
|
+
if (functionalArea !== undefined) {
|
|
844
|
+
localVarQueryParameter['functionalArea'] = functionalArea;
|
|
845
|
+
}
|
|
846
|
+
if (surveillanceStatus !== undefined) {
|
|
847
|
+
localVarQueryParameter['surveillanceStatus'] = surveillanceStatus;
|
|
848
|
+
}
|
|
849
|
+
if (parkId !== undefined) {
|
|
850
|
+
localVarQueryParameter['parkId'] = parkId;
|
|
851
|
+
}
|
|
852
|
+
if (spaceId !== undefined) {
|
|
853
|
+
localVarQueryParameter['spaceId'] = spaceId;
|
|
854
|
+
}
|
|
855
|
+
if (page !== undefined) {
|
|
856
|
+
localVarQueryParameter['page'] = page;
|
|
857
|
+
}
|
|
858
|
+
if (pageSize !== undefined) {
|
|
859
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
860
|
+
}
|
|
861
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
862
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
863
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
864
|
+
return {
|
|
865
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
866
|
+
options: localVarRequestOptions,
|
|
867
|
+
};
|
|
868
|
+
}),
|
|
869
|
+
/**
|
|
870
|
+
* 同步监控信息
|
|
871
|
+
* @summary 同步监控
|
|
872
|
+
* @param {Array<SurveillanceAddVo>} surveillanceAddVo
|
|
873
|
+
* @param {*} [options] Override http request option.
|
|
874
|
+
* @throws {RequiredError}
|
|
875
|
+
*/
|
|
876
|
+
surveillanceSync: (surveillanceAddVo_1, ...args_1) => __awaiter(this, [surveillanceAddVo_1, ...args_1], void 0, function* (surveillanceAddVo, options = {}) {
|
|
877
|
+
// verify required parameter 'surveillanceAddVo' is not null or undefined
|
|
878
|
+
(0, common_1.assertParamExists)('surveillanceSync', 'surveillanceAddVo', surveillanceAddVo);
|
|
879
|
+
const localVarPath = `/surveillance/sync`;
|
|
880
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
881
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
882
|
+
let baseOptions;
|
|
883
|
+
if (configuration) {
|
|
884
|
+
baseOptions = configuration.baseOptions;
|
|
885
|
+
}
|
|
886
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
887
|
+
const localVarHeaderParameter = {};
|
|
888
|
+
const localVarQueryParameter = {};
|
|
889
|
+
// authentication tokenScheme required
|
|
890
|
+
// http bearer authentication required
|
|
891
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
892
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
893
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
894
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
895
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
896
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(surveillanceAddVo, localVarRequestOptions, configuration);
|
|
897
|
+
return {
|
|
898
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
899
|
+
options: localVarRequestOptions,
|
|
900
|
+
};
|
|
901
|
+
}),
|
|
902
|
+
/**
|
|
903
|
+
* 更新监控信息
|
|
904
|
+
* @summary 更新监控
|
|
905
|
+
* @param {number} id
|
|
906
|
+
* @param {SurveillanceUpdateVo} surveillanceUpdateVo
|
|
907
|
+
* @param {*} [options] Override http request option.
|
|
908
|
+
* @throws {RequiredError}
|
|
909
|
+
*/
|
|
910
|
+
surveillanceUpdate: (id_1, surveillanceUpdateVo_1, ...args_1) => __awaiter(this, [id_1, surveillanceUpdateVo_1, ...args_1], void 0, function* (id, surveillanceUpdateVo, options = {}) {
|
|
911
|
+
// verify required parameter 'id' is not null or undefined
|
|
912
|
+
(0, common_1.assertParamExists)('surveillanceUpdate', 'id', id);
|
|
913
|
+
// verify required parameter 'surveillanceUpdateVo' is not null or undefined
|
|
914
|
+
(0, common_1.assertParamExists)('surveillanceUpdate', 'surveillanceUpdateVo', surveillanceUpdateVo);
|
|
915
|
+
const localVarPath = `/surveillance/{id}`
|
|
916
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
917
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
918
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
919
|
+
let baseOptions;
|
|
920
|
+
if (configuration) {
|
|
921
|
+
baseOptions = configuration.baseOptions;
|
|
922
|
+
}
|
|
923
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
924
|
+
const localVarHeaderParameter = {};
|
|
925
|
+
const localVarQueryParameter = {};
|
|
926
|
+
// authentication tokenScheme required
|
|
927
|
+
// http bearer authentication required
|
|
928
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
929
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
930
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
931
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
932
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
933
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(surveillanceUpdateVo, localVarRequestOptions, configuration);
|
|
934
|
+
return {
|
|
935
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
936
|
+
options: localVarRequestOptions,
|
|
937
|
+
};
|
|
938
|
+
}),
|
|
939
|
+
/**
|
|
940
|
+
* 更新监控点位信息
|
|
941
|
+
* @summary 更新监控点位
|
|
942
|
+
* @param {number} id
|
|
943
|
+
* @param {Array<number>} requestBody
|
|
944
|
+
* @param {*} [options] Override http request option.
|
|
945
|
+
* @throws {RequiredError}
|
|
946
|
+
*/
|
|
947
|
+
surveillanceUpdatePoint: (id_1, requestBody_1, ...args_1) => __awaiter(this, [id_1, requestBody_1, ...args_1], void 0, function* (id, requestBody, options = {}) {
|
|
948
|
+
// verify required parameter 'id' is not null or undefined
|
|
949
|
+
(0, common_1.assertParamExists)('surveillanceUpdatePoint', 'id', id);
|
|
950
|
+
// verify required parameter 'requestBody' is not null or undefined
|
|
951
|
+
(0, common_1.assertParamExists)('surveillanceUpdatePoint', 'requestBody', requestBody);
|
|
952
|
+
const localVarPath = `/surveillance/point/{id}`
|
|
953
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
954
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
955
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
956
|
+
let baseOptions;
|
|
957
|
+
if (configuration) {
|
|
958
|
+
baseOptions = configuration.baseOptions;
|
|
959
|
+
}
|
|
960
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
961
|
+
const localVarHeaderParameter = {};
|
|
962
|
+
const localVarQueryParameter = {};
|
|
963
|
+
// authentication tokenScheme required
|
|
964
|
+
// http bearer authentication required
|
|
965
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
966
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
967
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
968
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
969
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
970
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
971
|
+
return {
|
|
972
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
973
|
+
options: localVarRequestOptions,
|
|
974
|
+
};
|
|
975
|
+
}),
|
|
541
976
|
/**
|
|
542
977
|
*
|
|
543
978
|
* @summary 修改或新增
|
|
@@ -650,241 +1085,435 @@ const SurveillanceApiFp = function (configuration) {
|
|
|
650
1085
|
return {
|
|
651
1086
|
/**
|
|
652
1087
|
*
|
|
653
|
-
* @summary 监控绑定园区
|
|
654
|
-
* @param {MonitorBindParkVO} monitorBindParkVO
|
|
1088
|
+
* @summary 监控绑定园区
|
|
1089
|
+
* @param {MonitorBindParkVO} monitorBindParkVO
|
|
1090
|
+
* @param {*} [options] Override http request option.
|
|
1091
|
+
* @throws {RequiredError}
|
|
1092
|
+
*/
|
|
1093
|
+
bindPark(monitorBindParkVO, options) {
|
|
1094
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1095
|
+
var _a, _b, _c;
|
|
1096
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.bindPark(monitorBindParkVO, options);
|
|
1097
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1098
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.bindPark']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1099
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1100
|
+
});
|
|
1101
|
+
},
|
|
1102
|
+
/**
|
|
1103
|
+
*
|
|
1104
|
+
* @summary 监控云台控制
|
|
1105
|
+
* @param {MonitorPanTiltControlVO} monitorPanTiltControlVO
|
|
1106
|
+
* @param {*} [options] Override http request option.
|
|
1107
|
+
* @throws {RequiredError}
|
|
1108
|
+
*/
|
|
1109
|
+
cameraPTZ(monitorPanTiltControlVO, options) {
|
|
1110
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1111
|
+
var _a, _b, _c;
|
|
1112
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cameraPTZ(monitorPanTiltControlVO, options);
|
|
1113
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1114
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.cameraPTZ']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1115
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1116
|
+
});
|
|
1117
|
+
},
|
|
1118
|
+
/**
|
|
1119
|
+
*
|
|
1120
|
+
* @summary 监控抓拍
|
|
1121
|
+
* @param {number} id
|
|
1122
|
+
* @param {*} [options] Override http request option.
|
|
1123
|
+
* @throws {RequiredError}
|
|
1124
|
+
*/
|
|
1125
|
+
capture(id, options) {
|
|
1126
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1127
|
+
var _a, _b, _c;
|
|
1128
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.capture(id, options);
|
|
1129
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1130
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.capture']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1131
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1132
|
+
});
|
|
1133
|
+
},
|
|
1134
|
+
/**
|
|
1135
|
+
*
|
|
1136
|
+
* @summary 监控直播
|
|
1137
|
+
* @param {number} id
|
|
1138
|
+
* @param {number} parkId
|
|
1139
|
+
* @param {*} [options] Override http request option.
|
|
1140
|
+
* @throws {RequiredError}
|
|
1141
|
+
*/
|
|
1142
|
+
live(id, parkId, options) {
|
|
1143
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1144
|
+
var _a, _b, _c;
|
|
1145
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.live(id, parkId, options);
|
|
1146
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1147
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.live']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1148
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1149
|
+
});
|
|
1150
|
+
},
|
|
1151
|
+
/**
|
|
1152
|
+
*
|
|
1153
|
+
* @summary 监控直播接口
|
|
1154
|
+
* @param {number} onlyNumber
|
|
1155
|
+
* @param {*} [options] Override http request option.
|
|
1156
|
+
* @throws {RequiredError}
|
|
1157
|
+
*/
|
|
1158
|
+
liveBroadCast(onlyNumber, options) {
|
|
1159
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1160
|
+
var _a, _b, _c;
|
|
1161
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.liveBroadCast(onlyNumber, options);
|
|
1162
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1163
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.liveBroadCast']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1164
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1165
|
+
});
|
|
1166
|
+
},
|
|
1167
|
+
/**
|
|
1168
|
+
*
|
|
1169
|
+
* @summary 监控详情
|
|
1170
|
+
* @param {number} id
|
|
1171
|
+
* @param {*} [options] Override http request option.
|
|
1172
|
+
* @throws {RequiredError}
|
|
1173
|
+
*/
|
|
1174
|
+
monitorDetail(id, options) {
|
|
1175
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1176
|
+
var _a, _b, _c;
|
|
1177
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.monitorDetail(id, options);
|
|
1178
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1179
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.monitorDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1180
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1181
|
+
});
|
|
1182
|
+
},
|
|
1183
|
+
/**
|
|
1184
|
+
*
|
|
1185
|
+
* @summary 编辑监控
|
|
1186
|
+
* @param {MonitorEditVo} monitorEditVo
|
|
1187
|
+
* @param {*} [options] Override http request option.
|
|
1188
|
+
* @throws {RequiredError}
|
|
1189
|
+
*/
|
|
1190
|
+
monitorEdit(monitorEditVo, options) {
|
|
1191
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1192
|
+
var _a, _b, _c;
|
|
1193
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.monitorEdit(monitorEditVo, options);
|
|
1194
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1195
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.monitorEdit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1196
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1197
|
+
});
|
|
1198
|
+
},
|
|
1199
|
+
/**
|
|
1200
|
+
*
|
|
1201
|
+
* @summary 监控列表
|
|
1202
|
+
* @param {MonitorSearchVo} monitorSearchVo
|
|
1203
|
+
* @param {*} [options] Override http request option.
|
|
1204
|
+
* @throws {RequiredError}
|
|
1205
|
+
*/
|
|
1206
|
+
monitorList(monitorSearchVo, options) {
|
|
1207
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1208
|
+
var _a, _b, _c;
|
|
1209
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.monitorList(monitorSearchVo, options);
|
|
1210
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1211
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.monitorList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1212
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1213
|
+
});
|
|
1214
|
+
},
|
|
1215
|
+
/**
|
|
1216
|
+
*
|
|
1217
|
+
* @summary 详情
|
|
1218
|
+
* @param {number} id
|
|
1219
|
+
* @param {*} [options] Override http request option.
|
|
1220
|
+
* @throws {RequiredError}
|
|
1221
|
+
*/
|
|
1222
|
+
monitorSortDetail(id, options) {
|
|
1223
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1224
|
+
var _a, _b, _c;
|
|
1225
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.monitorSortDetail(id, options);
|
|
1226
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1227
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.monitorSortDetail']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1228
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1229
|
+
});
|
|
1230
|
+
},
|
|
1231
|
+
/**
|
|
1232
|
+
*
|
|
1233
|
+
* @summary 全部查询
|
|
1234
|
+
* @param {*} [options] Override http request option.
|
|
1235
|
+
* @throws {RequiredError}
|
|
1236
|
+
*/
|
|
1237
|
+
monitorSortList(options) {
|
|
1238
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1239
|
+
var _a, _b, _c;
|
|
1240
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.monitorSortList(options);
|
|
1241
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1242
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.monitorSortList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1243
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1244
|
+
});
|
|
1245
|
+
},
|
|
1246
|
+
/**
|
|
1247
|
+
*
|
|
1248
|
+
* @summary 分页查询
|
|
1249
|
+
* @param {MonitorSortSearchVo} vo
|
|
1250
|
+
* @param {*} [options] Override http request option.
|
|
1251
|
+
* @throws {RequiredError}
|
|
1252
|
+
*/
|
|
1253
|
+
monitorSortPage(vo, options) {
|
|
1254
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1255
|
+
var _a, _b, _c;
|
|
1256
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.monitorSortPage(vo, options);
|
|
1257
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1258
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.monitorSortPage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1259
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1260
|
+
});
|
|
1261
|
+
},
|
|
1262
|
+
/**
|
|
1263
|
+
*
|
|
1264
|
+
* @summary 监控空间列表
|
|
1265
|
+
* @param {MonitorSearchVo} monitorSearchVo
|
|
655
1266
|
* @param {*} [options] Override http request option.
|
|
656
1267
|
* @throws {RequiredError}
|
|
657
1268
|
*/
|
|
658
|
-
|
|
1269
|
+
monitorSpaceList(monitorSearchVo, options) {
|
|
659
1270
|
return __awaiter(this, void 0, void 0, function* () {
|
|
660
1271
|
var _a, _b, _c;
|
|
661
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1272
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.monitorSpaceList(monitorSearchVo, options);
|
|
662
1273
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
663
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
1274
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.monitorSpaceList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
664
1275
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
665
1276
|
});
|
|
666
1277
|
},
|
|
667
1278
|
/**
|
|
668
1279
|
*
|
|
669
|
-
* @summary
|
|
670
|
-
* @param {
|
|
1280
|
+
* @summary 同步监控唯一编号
|
|
1281
|
+
* @param {MonitorOnlyNumberEditListVo} monitorOnlyNumberEditListVo
|
|
671
1282
|
* @param {*} [options] Override http request option.
|
|
672
1283
|
* @throws {RequiredError}
|
|
673
1284
|
*/
|
|
674
|
-
|
|
1285
|
+
onlyNumberEdit(monitorOnlyNumberEditListVo, options) {
|
|
675
1286
|
return __awaiter(this, void 0, void 0, function* () {
|
|
676
1287
|
var _a, _b, _c;
|
|
677
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1288
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.onlyNumberEdit(monitorOnlyNumberEditListVo, options);
|
|
678
1289
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
679
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
1290
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.onlyNumberEdit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
680
1291
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
681
1292
|
});
|
|
682
1293
|
},
|
|
683
1294
|
/**
|
|
684
1295
|
*
|
|
685
|
-
* @summary
|
|
686
|
-
* @param {
|
|
1296
|
+
* @summary 监控回放接口
|
|
1297
|
+
* @param {MonitorPlayBackVo} monitorPlayBackVo
|
|
687
1298
|
* @param {*} [options] Override http request option.
|
|
688
1299
|
* @throws {RequiredError}
|
|
689
1300
|
*/
|
|
690
|
-
|
|
1301
|
+
playBack(monitorPlayBackVo, options) {
|
|
691
1302
|
return __awaiter(this, void 0, void 0, function* () {
|
|
692
1303
|
var _a, _b, _c;
|
|
693
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1304
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.playBack(monitorPlayBackVo, options);
|
|
694
1305
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
695
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
1306
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.playBack']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
696
1307
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
697
1308
|
});
|
|
698
1309
|
},
|
|
699
1310
|
/**
|
|
700
|
-
*
|
|
701
|
-
* @summary
|
|
1311
|
+
* 抓拍监控画面
|
|
1312
|
+
* @summary 监控抓拍
|
|
702
1313
|
* @param {number} id
|
|
703
|
-
* @param {number} parkId
|
|
704
1314
|
* @param {*} [options] Override http request option.
|
|
705
1315
|
* @throws {RequiredError}
|
|
706
1316
|
*/
|
|
707
|
-
|
|
1317
|
+
surveillanceCapture(id, options) {
|
|
708
1318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
709
1319
|
var _a, _b, _c;
|
|
710
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1320
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceCapture(id, options);
|
|
711
1321
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
712
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
1322
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceCapture']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
713
1323
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
714
1324
|
});
|
|
715
1325
|
},
|
|
716
1326
|
/**
|
|
717
1327
|
*
|
|
718
|
-
* @summary
|
|
719
|
-
* @param {number}
|
|
1328
|
+
* @summary 删除监控
|
|
1329
|
+
* @param {number} parkId
|
|
720
1330
|
* @param {*} [options] Override http request option.
|
|
721
1331
|
* @throws {RequiredError}
|
|
722
1332
|
*/
|
|
723
|
-
|
|
1333
|
+
surveillanceDel(parkId, options) {
|
|
724
1334
|
return __awaiter(this, void 0, void 0, function* () {
|
|
725
1335
|
var _a, _b, _c;
|
|
726
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1336
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceDel(parkId, options);
|
|
727
1337
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
728
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
1338
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceDel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
729
1339
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
730
1340
|
});
|
|
731
1341
|
},
|
|
732
1342
|
/**
|
|
733
|
-
*
|
|
734
|
-
* @summary
|
|
1343
|
+
* 删除监控信息
|
|
1344
|
+
* @summary 删除监控
|
|
735
1345
|
* @param {number} id
|
|
736
1346
|
* @param {*} [options] Override http request option.
|
|
737
1347
|
* @throws {RequiredError}
|
|
738
1348
|
*/
|
|
739
|
-
|
|
1349
|
+
surveillanceDelete(id, options) {
|
|
740
1350
|
return __awaiter(this, void 0, void 0, function* () {
|
|
741
1351
|
var _a, _b, _c;
|
|
742
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1352
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceDelete(id, options);
|
|
743
1353
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
744
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
1354
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
745
1355
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
746
1356
|
});
|
|
747
1357
|
},
|
|
748
1358
|
/**
|
|
749
|
-
*
|
|
750
|
-
* @summary
|
|
751
|
-
* @param {
|
|
1359
|
+
* 获取监控详情
|
|
1360
|
+
* @summary 监控详情
|
|
1361
|
+
* @param {number} id
|
|
752
1362
|
* @param {*} [options] Override http request option.
|
|
753
1363
|
* @throws {RequiredError}
|
|
754
1364
|
*/
|
|
755
|
-
|
|
1365
|
+
surveillanceDetails(id, options) {
|
|
756
1366
|
return __awaiter(this, void 0, void 0, function* () {
|
|
757
1367
|
var _a, _b, _c;
|
|
758
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1368
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceDetails(id, options);
|
|
759
1369
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
760
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
1370
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceDetails']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
761
1371
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
762
1372
|
});
|
|
763
1373
|
},
|
|
764
1374
|
/**
|
|
765
|
-
*
|
|
1375
|
+
* 获取监控列表
|
|
766
1376
|
* @summary 监控列表
|
|
767
|
-
* @param {
|
|
1377
|
+
* @param {string} [surveillanceName] 监控名称
|
|
1378
|
+
* @param {FunctionalAreaEnum} [functionalArea] 功能区
|
|
1379
|
+
* @param {SurveillanceStatusEnum} [surveillanceStatus] 监控状态
|
|
1380
|
+
* @param {number} [parkId] 园区ID
|
|
1381
|
+
* @param {number} [spaceId] 空间ID
|
|
1382
|
+
* @param {string} [page] 当前页码
|
|
1383
|
+
* @param {string} [pageSize] 每页数量
|
|
768
1384
|
* @param {*} [options] Override http request option.
|
|
769
1385
|
* @throws {RequiredError}
|
|
770
1386
|
*/
|
|
771
|
-
|
|
1387
|
+
surveillanceList(surveillanceName, functionalArea, surveillanceStatus, parkId, spaceId, page, pageSize, options) {
|
|
772
1388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
773
1389
|
var _a, _b, _c;
|
|
774
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1390
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceList(surveillanceName, functionalArea, surveillanceStatus, parkId, spaceId, page, pageSize, options);
|
|
775
1391
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
776
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
1392
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
777
1393
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
778
1394
|
});
|
|
779
1395
|
},
|
|
780
1396
|
/**
|
|
781
|
-
*
|
|
782
|
-
* @summary
|
|
1397
|
+
* 获取监控直播流
|
|
1398
|
+
* @summary 监控直播流
|
|
783
1399
|
* @param {number} id
|
|
784
1400
|
* @param {*} [options] Override http request option.
|
|
785
1401
|
* @throws {RequiredError}
|
|
786
1402
|
*/
|
|
787
|
-
|
|
1403
|
+
surveillanceLive(id, options) {
|
|
788
1404
|
return __awaiter(this, void 0, void 0, function* () {
|
|
789
1405
|
var _a, _b, _c;
|
|
790
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1406
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceLive(id, options);
|
|
791
1407
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
792
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
1408
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceLive']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
793
1409
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
794
1410
|
});
|
|
795
1411
|
},
|
|
796
1412
|
/**
|
|
797
|
-
*
|
|
798
|
-
* @summary
|
|
1413
|
+
* 获取监控回放流
|
|
1414
|
+
* @summary 监控回放流
|
|
1415
|
+
* @param {number} id
|
|
1416
|
+
* @param {string} startTime 回放开始时间
|
|
1417
|
+
* @param {string} endTime 回放结束时间
|
|
799
1418
|
* @param {*} [options] Override http request option.
|
|
800
1419
|
* @throws {RequiredError}
|
|
801
1420
|
*/
|
|
802
|
-
|
|
1421
|
+
surveillancePlayback(id, startTime, endTime, options) {
|
|
803
1422
|
return __awaiter(this, void 0, void 0, function* () {
|
|
804
1423
|
var _a, _b, _c;
|
|
805
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1424
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillancePlayback(id, startTime, endTime, options);
|
|
806
1425
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
807
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
1426
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillancePlayback']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
808
1427
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
809
1428
|
});
|
|
810
1429
|
},
|
|
811
1430
|
/**
|
|
812
|
-
*
|
|
813
|
-
* @summary
|
|
814
|
-
* @param {
|
|
1431
|
+
* 控制监控设备的云台
|
|
1432
|
+
* @summary 监控云台控制
|
|
1433
|
+
* @param {number} id
|
|
1434
|
+
* @param {SurveillancePtzControlCommandEnum} command 控制命令
|
|
1435
|
+
* @param {SurveillancePtzControlActionEnum} action 控制动作
|
|
815
1436
|
* @param {*} [options] Override http request option.
|
|
816
1437
|
* @throws {RequiredError}
|
|
817
1438
|
*/
|
|
818
|
-
|
|
1439
|
+
surveillancePtzControl(id, command, action, options) {
|
|
819
1440
|
return __awaiter(this, void 0, void 0, function* () {
|
|
820
1441
|
var _a, _b, _c;
|
|
821
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1442
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillancePtzControl(id, command, action, options);
|
|
822
1443
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
823
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
1444
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillancePtzControl']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
824
1445
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
825
1446
|
});
|
|
826
1447
|
},
|
|
827
1448
|
/**
|
|
828
|
-
*
|
|
1449
|
+
* 获取监控空间列表
|
|
829
1450
|
* @summary 监控空间列表
|
|
830
|
-
* @param {
|
|
1451
|
+
* @param {string} [surveillanceName] 监控名称
|
|
1452
|
+
* @param {FunctionalAreaEnum} [functionalArea] 功能区
|
|
1453
|
+
* @param {SurveillanceStatusEnum} [surveillanceStatus] 监控状态
|
|
1454
|
+
* @param {number} [parkId] 园区ID
|
|
1455
|
+
* @param {number} [spaceId] 空间ID
|
|
1456
|
+
* @param {string} [page] 当前页码
|
|
1457
|
+
* @param {string} [pageSize] 每页数量
|
|
831
1458
|
* @param {*} [options] Override http request option.
|
|
832
1459
|
* @throws {RequiredError}
|
|
833
1460
|
*/
|
|
834
|
-
|
|
1461
|
+
surveillanceSpaceList(surveillanceName, functionalArea, surveillanceStatus, parkId, spaceId, page, pageSize, options) {
|
|
835
1462
|
return __awaiter(this, void 0, void 0, function* () {
|
|
836
1463
|
var _a, _b, _c;
|
|
837
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1464
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceSpaceList(surveillanceName, functionalArea, surveillanceStatus, parkId, spaceId, page, pageSize, options);
|
|
838
1465
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
839
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
1466
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceSpaceList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
840
1467
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
841
1468
|
});
|
|
842
1469
|
},
|
|
843
1470
|
/**
|
|
844
|
-
*
|
|
845
|
-
* @summary
|
|
846
|
-
* @param {
|
|
1471
|
+
* 同步监控信息
|
|
1472
|
+
* @summary 同步监控
|
|
1473
|
+
* @param {Array<SurveillanceAddVo>} surveillanceAddVo
|
|
847
1474
|
* @param {*} [options] Override http request option.
|
|
848
1475
|
* @throws {RequiredError}
|
|
849
1476
|
*/
|
|
850
|
-
|
|
1477
|
+
surveillanceSync(surveillanceAddVo, options) {
|
|
851
1478
|
return __awaiter(this, void 0, void 0, function* () {
|
|
852
1479
|
var _a, _b, _c;
|
|
853
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1480
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceSync(surveillanceAddVo, options);
|
|
854
1481
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
855
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
1482
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceSync']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
856
1483
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
857
1484
|
});
|
|
858
1485
|
},
|
|
859
1486
|
/**
|
|
860
|
-
*
|
|
861
|
-
* @summary
|
|
862
|
-
* @param {
|
|
1487
|
+
* 更新监控信息
|
|
1488
|
+
* @summary 更新监控
|
|
1489
|
+
* @param {number} id
|
|
1490
|
+
* @param {SurveillanceUpdateVo} surveillanceUpdateVo
|
|
863
1491
|
* @param {*} [options] Override http request option.
|
|
864
1492
|
* @throws {RequiredError}
|
|
865
1493
|
*/
|
|
866
|
-
|
|
1494
|
+
surveillanceUpdate(id, surveillanceUpdateVo, options) {
|
|
867
1495
|
return __awaiter(this, void 0, void 0, function* () {
|
|
868
1496
|
var _a, _b, _c;
|
|
869
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1497
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceUpdate(id, surveillanceUpdateVo, options);
|
|
870
1498
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
871
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
1499
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
872
1500
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
873
1501
|
});
|
|
874
1502
|
},
|
|
875
1503
|
/**
|
|
876
|
-
*
|
|
877
|
-
* @summary
|
|
878
|
-
* @param {number}
|
|
1504
|
+
* 更新监控点位信息
|
|
1505
|
+
* @summary 更新监控点位
|
|
1506
|
+
* @param {number} id
|
|
1507
|
+
* @param {Array<number>} requestBody
|
|
879
1508
|
* @param {*} [options] Override http request option.
|
|
880
1509
|
* @throws {RequiredError}
|
|
881
1510
|
*/
|
|
882
|
-
|
|
1511
|
+
surveillanceUpdatePoint(id, requestBody, options) {
|
|
883
1512
|
return __awaiter(this, void 0, void 0, function* () {
|
|
884
1513
|
var _a, _b, _c;
|
|
885
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1514
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.surveillanceUpdatePoint(id, requestBody, options);
|
|
886
1515
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
887
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.
|
|
1516
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SurveillanceApi.surveillanceUpdatePoint']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
888
1517
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
889
1518
|
});
|
|
890
1519
|
},
|
|
@@ -1085,6 +1714,16 @@ const SurveillanceApiFactory = function (configuration, basePath, axios) {
|
|
|
1085
1714
|
playBack(requestParameters, options) {
|
|
1086
1715
|
return localVarFp.playBack(requestParameters.monitorPlayBackVo, options).then((request) => request(axios, basePath));
|
|
1087
1716
|
},
|
|
1717
|
+
/**
|
|
1718
|
+
* 抓拍监控画面
|
|
1719
|
+
* @summary 监控抓拍
|
|
1720
|
+
* @param {SurveillanceApiSurveillanceCaptureRequest} requestParameters Request parameters.
|
|
1721
|
+
* @param {*} [options] Override http request option.
|
|
1722
|
+
* @throws {RequiredError}
|
|
1723
|
+
*/
|
|
1724
|
+
surveillanceCapture(requestParameters, options) {
|
|
1725
|
+
return localVarFp.surveillanceCapture(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1726
|
+
},
|
|
1088
1727
|
/**
|
|
1089
1728
|
*
|
|
1090
1729
|
* @summary 删除监控
|
|
@@ -1095,6 +1734,106 @@ const SurveillanceApiFactory = function (configuration, basePath, axios) {
|
|
|
1095
1734
|
surveillanceDel(requestParameters, options) {
|
|
1096
1735
|
return localVarFp.surveillanceDel(requestParameters.parkId, options).then((request) => request(axios, basePath));
|
|
1097
1736
|
},
|
|
1737
|
+
/**
|
|
1738
|
+
* 删除监控信息
|
|
1739
|
+
* @summary 删除监控
|
|
1740
|
+
* @param {SurveillanceApiSurveillanceDeleteRequest} requestParameters Request parameters.
|
|
1741
|
+
* @param {*} [options] Override http request option.
|
|
1742
|
+
* @throws {RequiredError}
|
|
1743
|
+
*/
|
|
1744
|
+
surveillanceDelete(requestParameters, options) {
|
|
1745
|
+
return localVarFp.surveillanceDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1746
|
+
},
|
|
1747
|
+
/**
|
|
1748
|
+
* 获取监控详情
|
|
1749
|
+
* @summary 监控详情
|
|
1750
|
+
* @param {SurveillanceApiSurveillanceDetailsRequest} requestParameters Request parameters.
|
|
1751
|
+
* @param {*} [options] Override http request option.
|
|
1752
|
+
* @throws {RequiredError}
|
|
1753
|
+
*/
|
|
1754
|
+
surveillanceDetails(requestParameters, options) {
|
|
1755
|
+
return localVarFp.surveillanceDetails(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1756
|
+
},
|
|
1757
|
+
/**
|
|
1758
|
+
* 获取监控列表
|
|
1759
|
+
* @summary 监控列表
|
|
1760
|
+
* @param {SurveillanceApiSurveillanceListRequest} requestParameters Request parameters.
|
|
1761
|
+
* @param {*} [options] Override http request option.
|
|
1762
|
+
* @throws {RequiredError}
|
|
1763
|
+
*/
|
|
1764
|
+
surveillanceList(requestParameters = {}, options) {
|
|
1765
|
+
return localVarFp.surveillanceList(requestParameters.surveillanceName, requestParameters.functionalArea, requestParameters.surveillanceStatus, requestParameters.parkId, requestParameters.spaceId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1766
|
+
},
|
|
1767
|
+
/**
|
|
1768
|
+
* 获取监控直播流
|
|
1769
|
+
* @summary 监控直播流
|
|
1770
|
+
* @param {SurveillanceApiSurveillanceLiveRequest} requestParameters Request parameters.
|
|
1771
|
+
* @param {*} [options] Override http request option.
|
|
1772
|
+
* @throws {RequiredError}
|
|
1773
|
+
*/
|
|
1774
|
+
surveillanceLive(requestParameters, options) {
|
|
1775
|
+
return localVarFp.surveillanceLive(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1776
|
+
},
|
|
1777
|
+
/**
|
|
1778
|
+
* 获取监控回放流
|
|
1779
|
+
* @summary 监控回放流
|
|
1780
|
+
* @param {SurveillanceApiSurveillancePlaybackRequest} requestParameters Request parameters.
|
|
1781
|
+
* @param {*} [options] Override http request option.
|
|
1782
|
+
* @throws {RequiredError}
|
|
1783
|
+
*/
|
|
1784
|
+
surveillancePlayback(requestParameters, options) {
|
|
1785
|
+
return localVarFp.surveillancePlayback(requestParameters.id, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(axios, basePath));
|
|
1786
|
+
},
|
|
1787
|
+
/**
|
|
1788
|
+
* 控制监控设备的云台
|
|
1789
|
+
* @summary 监控云台控制
|
|
1790
|
+
* @param {SurveillanceApiSurveillancePtzControlRequest} requestParameters Request parameters.
|
|
1791
|
+
* @param {*} [options] Override http request option.
|
|
1792
|
+
* @throws {RequiredError}
|
|
1793
|
+
*/
|
|
1794
|
+
surveillancePtzControl(requestParameters, options) {
|
|
1795
|
+
return localVarFp.surveillancePtzControl(requestParameters.id, requestParameters.command, requestParameters.action, options).then((request) => request(axios, basePath));
|
|
1796
|
+
},
|
|
1797
|
+
/**
|
|
1798
|
+
* 获取监控空间列表
|
|
1799
|
+
* @summary 监控空间列表
|
|
1800
|
+
* @param {SurveillanceApiSurveillanceSpaceListRequest} requestParameters Request parameters.
|
|
1801
|
+
* @param {*} [options] Override http request option.
|
|
1802
|
+
* @throws {RequiredError}
|
|
1803
|
+
*/
|
|
1804
|
+
surveillanceSpaceList(requestParameters = {}, options) {
|
|
1805
|
+
return localVarFp.surveillanceSpaceList(requestParameters.surveillanceName, requestParameters.functionalArea, requestParameters.surveillanceStatus, requestParameters.parkId, requestParameters.spaceId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1806
|
+
},
|
|
1807
|
+
/**
|
|
1808
|
+
* 同步监控信息
|
|
1809
|
+
* @summary 同步监控
|
|
1810
|
+
* @param {SurveillanceApiSurveillanceSyncRequest} requestParameters Request parameters.
|
|
1811
|
+
* @param {*} [options] Override http request option.
|
|
1812
|
+
* @throws {RequiredError}
|
|
1813
|
+
*/
|
|
1814
|
+
surveillanceSync(requestParameters, options) {
|
|
1815
|
+
return localVarFp.surveillanceSync(requestParameters.surveillanceAddVo, options).then((request) => request(axios, basePath));
|
|
1816
|
+
},
|
|
1817
|
+
/**
|
|
1818
|
+
* 更新监控信息
|
|
1819
|
+
* @summary 更新监控
|
|
1820
|
+
* @param {SurveillanceApiSurveillanceUpdateRequest} requestParameters Request parameters.
|
|
1821
|
+
* @param {*} [options] Override http request option.
|
|
1822
|
+
* @throws {RequiredError}
|
|
1823
|
+
*/
|
|
1824
|
+
surveillanceUpdate(requestParameters, options) {
|
|
1825
|
+
return localVarFp.surveillanceUpdate(requestParameters.id, requestParameters.surveillanceUpdateVo, options).then((request) => request(axios, basePath));
|
|
1826
|
+
},
|
|
1827
|
+
/**
|
|
1828
|
+
* 更新监控点位信息
|
|
1829
|
+
* @summary 更新监控点位
|
|
1830
|
+
* @param {SurveillanceApiSurveillanceUpdatePointRequest} requestParameters Request parameters.
|
|
1831
|
+
* @param {*} [options] Override http request option.
|
|
1832
|
+
* @throws {RequiredError}
|
|
1833
|
+
*/
|
|
1834
|
+
surveillanceUpdatePoint(requestParameters, options) {
|
|
1835
|
+
return localVarFp.surveillanceUpdatePoint(requestParameters.id, requestParameters.requestBody, options).then((request) => request(axios, basePath));
|
|
1836
|
+
},
|
|
1098
1837
|
/**
|
|
1099
1838
|
*
|
|
1100
1839
|
* @summary 修改或新增
|
|
@@ -1288,6 +2027,17 @@ class SurveillanceApi extends base_1.BaseAPI {
|
|
|
1288
2027
|
playBack(requestParameters, options) {
|
|
1289
2028
|
return (0, exports.SurveillanceApiFp)(this.configuration).playBack(requestParameters.monitorPlayBackVo, options).then((request) => request(this.axios, this.basePath));
|
|
1290
2029
|
}
|
|
2030
|
+
/**
|
|
2031
|
+
* 抓拍监控画面
|
|
2032
|
+
* @summary 监控抓拍
|
|
2033
|
+
* @param {SurveillanceApiSurveillanceCaptureRequest} requestParameters Request parameters.
|
|
2034
|
+
* @param {*} [options] Override http request option.
|
|
2035
|
+
* @throws {RequiredError}
|
|
2036
|
+
* @memberof SurveillanceApi
|
|
2037
|
+
*/
|
|
2038
|
+
surveillanceCapture(requestParameters, options) {
|
|
2039
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceCapture(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2040
|
+
}
|
|
1291
2041
|
/**
|
|
1292
2042
|
*
|
|
1293
2043
|
* @summary 删除监控
|
|
@@ -1299,6 +2049,116 @@ class SurveillanceApi extends base_1.BaseAPI {
|
|
|
1299
2049
|
surveillanceDel(requestParameters, options) {
|
|
1300
2050
|
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceDel(requestParameters.parkId, options).then((request) => request(this.axios, this.basePath));
|
|
1301
2051
|
}
|
|
2052
|
+
/**
|
|
2053
|
+
* 删除监控信息
|
|
2054
|
+
* @summary 删除监控
|
|
2055
|
+
* @param {SurveillanceApiSurveillanceDeleteRequest} requestParameters Request parameters.
|
|
2056
|
+
* @param {*} [options] Override http request option.
|
|
2057
|
+
* @throws {RequiredError}
|
|
2058
|
+
* @memberof SurveillanceApi
|
|
2059
|
+
*/
|
|
2060
|
+
surveillanceDelete(requestParameters, options) {
|
|
2061
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceDelete(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2062
|
+
}
|
|
2063
|
+
/**
|
|
2064
|
+
* 获取监控详情
|
|
2065
|
+
* @summary 监控详情
|
|
2066
|
+
* @param {SurveillanceApiSurveillanceDetailsRequest} requestParameters Request parameters.
|
|
2067
|
+
* @param {*} [options] Override http request option.
|
|
2068
|
+
* @throws {RequiredError}
|
|
2069
|
+
* @memberof SurveillanceApi
|
|
2070
|
+
*/
|
|
2071
|
+
surveillanceDetails(requestParameters, options) {
|
|
2072
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceDetails(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2073
|
+
}
|
|
2074
|
+
/**
|
|
2075
|
+
* 获取监控列表
|
|
2076
|
+
* @summary 监控列表
|
|
2077
|
+
* @param {SurveillanceApiSurveillanceListRequest} requestParameters Request parameters.
|
|
2078
|
+
* @param {*} [options] Override http request option.
|
|
2079
|
+
* @throws {RequiredError}
|
|
2080
|
+
* @memberof SurveillanceApi
|
|
2081
|
+
*/
|
|
2082
|
+
surveillanceList(requestParameters = {}, options) {
|
|
2083
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceList(requestParameters.surveillanceName, requestParameters.functionalArea, requestParameters.surveillanceStatus, requestParameters.parkId, requestParameters.spaceId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
2084
|
+
}
|
|
2085
|
+
/**
|
|
2086
|
+
* 获取监控直播流
|
|
2087
|
+
* @summary 监控直播流
|
|
2088
|
+
* @param {SurveillanceApiSurveillanceLiveRequest} requestParameters Request parameters.
|
|
2089
|
+
* @param {*} [options] Override http request option.
|
|
2090
|
+
* @throws {RequiredError}
|
|
2091
|
+
* @memberof SurveillanceApi
|
|
2092
|
+
*/
|
|
2093
|
+
surveillanceLive(requestParameters, options) {
|
|
2094
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceLive(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
2095
|
+
}
|
|
2096
|
+
/**
|
|
2097
|
+
* 获取监控回放流
|
|
2098
|
+
* @summary 监控回放流
|
|
2099
|
+
* @param {SurveillanceApiSurveillancePlaybackRequest} requestParameters Request parameters.
|
|
2100
|
+
* @param {*} [options] Override http request option.
|
|
2101
|
+
* @throws {RequiredError}
|
|
2102
|
+
* @memberof SurveillanceApi
|
|
2103
|
+
*/
|
|
2104
|
+
surveillancePlayback(requestParameters, options) {
|
|
2105
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillancePlayback(requestParameters.id, requestParameters.startTime, requestParameters.endTime, options).then((request) => request(this.axios, this.basePath));
|
|
2106
|
+
}
|
|
2107
|
+
/**
|
|
2108
|
+
* 控制监控设备的云台
|
|
2109
|
+
* @summary 监控云台控制
|
|
2110
|
+
* @param {SurveillanceApiSurveillancePtzControlRequest} requestParameters Request parameters.
|
|
2111
|
+
* @param {*} [options] Override http request option.
|
|
2112
|
+
* @throws {RequiredError}
|
|
2113
|
+
* @memberof SurveillanceApi
|
|
2114
|
+
*/
|
|
2115
|
+
surveillancePtzControl(requestParameters, options) {
|
|
2116
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillancePtzControl(requestParameters.id, requestParameters.command, requestParameters.action, options).then((request) => request(this.axios, this.basePath));
|
|
2117
|
+
}
|
|
2118
|
+
/**
|
|
2119
|
+
* 获取监控空间列表
|
|
2120
|
+
* @summary 监控空间列表
|
|
2121
|
+
* @param {SurveillanceApiSurveillanceSpaceListRequest} requestParameters Request parameters.
|
|
2122
|
+
* @param {*} [options] Override http request option.
|
|
2123
|
+
* @throws {RequiredError}
|
|
2124
|
+
* @memberof SurveillanceApi
|
|
2125
|
+
*/
|
|
2126
|
+
surveillanceSpaceList(requestParameters = {}, options) {
|
|
2127
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceSpaceList(requestParameters.surveillanceName, requestParameters.functionalArea, requestParameters.surveillanceStatus, requestParameters.parkId, requestParameters.spaceId, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
2128
|
+
}
|
|
2129
|
+
/**
|
|
2130
|
+
* 同步监控信息
|
|
2131
|
+
* @summary 同步监控
|
|
2132
|
+
* @param {SurveillanceApiSurveillanceSyncRequest} requestParameters Request parameters.
|
|
2133
|
+
* @param {*} [options] Override http request option.
|
|
2134
|
+
* @throws {RequiredError}
|
|
2135
|
+
* @memberof SurveillanceApi
|
|
2136
|
+
*/
|
|
2137
|
+
surveillanceSync(requestParameters, options) {
|
|
2138
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceSync(requestParameters.surveillanceAddVo, options).then((request) => request(this.axios, this.basePath));
|
|
2139
|
+
}
|
|
2140
|
+
/**
|
|
2141
|
+
* 更新监控信息
|
|
2142
|
+
* @summary 更新监控
|
|
2143
|
+
* @param {SurveillanceApiSurveillanceUpdateRequest} requestParameters Request parameters.
|
|
2144
|
+
* @param {*} [options] Override http request option.
|
|
2145
|
+
* @throws {RequiredError}
|
|
2146
|
+
* @memberof SurveillanceApi
|
|
2147
|
+
*/
|
|
2148
|
+
surveillanceUpdate(requestParameters, options) {
|
|
2149
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceUpdate(requestParameters.id, requestParameters.surveillanceUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
2150
|
+
}
|
|
2151
|
+
/**
|
|
2152
|
+
* 更新监控点位信息
|
|
2153
|
+
* @summary 更新监控点位
|
|
2154
|
+
* @param {SurveillanceApiSurveillanceUpdatePointRequest} requestParameters Request parameters.
|
|
2155
|
+
* @param {*} [options] Override http request option.
|
|
2156
|
+
* @throws {RequiredError}
|
|
2157
|
+
* @memberof SurveillanceApi
|
|
2158
|
+
*/
|
|
2159
|
+
surveillanceUpdatePoint(requestParameters, options) {
|
|
2160
|
+
return (0, exports.SurveillanceApiFp)(this.configuration).surveillanceUpdatePoint(requestParameters.id, requestParameters.requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
2161
|
+
}
|
|
1302
2162
|
/**
|
|
1303
2163
|
*
|
|
1304
2164
|
* @summary 修改或新增
|
|
@@ -1334,3 +2194,21 @@ class SurveillanceApi extends base_1.BaseAPI {
|
|
|
1334
2194
|
}
|
|
1335
2195
|
}
|
|
1336
2196
|
exports.SurveillanceApi = SurveillanceApi;
|
|
2197
|
+
/**
|
|
2198
|
+
* @export
|
|
2199
|
+
*/
|
|
2200
|
+
exports.SurveillancePtzControlCommandEnum = {
|
|
2201
|
+
Left: 'LEFT',
|
|
2202
|
+
Right: 'RIGHT',
|
|
2203
|
+
Up: 'UP',
|
|
2204
|
+
Down: 'DOWN',
|
|
2205
|
+
ZoomIn: 'ZOOM_IN',
|
|
2206
|
+
ZoomOut: 'ZOOM_OUT'
|
|
2207
|
+
};
|
|
2208
|
+
/**
|
|
2209
|
+
* @export
|
|
2210
|
+
*/
|
|
2211
|
+
exports.SurveillancePtzControlActionEnum = {
|
|
2212
|
+
Start: 'START',
|
|
2213
|
+
Stop: 'STOP'
|
|
2214
|
+
};
|