@evercam/api 1.0.0-eabc633d1 → 1.0.0-ee9739480
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/dist/api/3dFirebaseApi.d.ts +1 -0
- package/dist/api/adminApi.d.ts +26 -17
- package/dist/api/aiApi.d.ts +18 -7
- package/dist/api/evercamApi.d.ts +44 -16
- package/dist/api/evercamLabsApi.d.ts +5 -9
- package/dist/api/ingestApi.d.ts +4 -1
- package/dist/api/weatherApi.d.ts +7 -23
- package/dist/index.js +539 -452
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/types/aconex.d.ts +1 -1
- package/dist/types/analytics.d.ts +39 -65
- package/dist/types/anpr.d.ts +10 -7
- package/dist/types/camera.d.ts +4 -50
- package/dist/types/comments.d.ts +15 -8
- package/dist/types/connector.d.ts +6 -1
- package/dist/types/detections.d.ts +17 -5
- package/dist/types/index.d.ts +4 -2
- package/dist/types/kit.d.ts +33 -4
- package/dist/types/procore.d.ts +146 -3
- package/dist/types/project.d.ts +7 -1
- package/dist/types/roi.d.ts +2 -1
- package/dist/types/shared.d.ts +1 -10
- package/dist/types/shares.d.ts +5 -1
- package/dist/types/siteAnalytics.d.ts +58 -19
- package/dist/types/streaming.d.ts +2 -23
- package/dist/types/systemCheck.d.ts +11 -0
- package/dist/types/tag.d.ts +12 -0
- package/dist/types/weather.d.ts +6 -2
- package/dist/types/xweather.d.ts +12 -0
- package/package.json +3 -3
- package/dist/types/devices.d.ts +0 -228
- /package/dist/types/{sitePlanner.d.ts → planner.d.ts} +0 -0
package/dist/types/project.d.ts
CHANGED
|
@@ -15,6 +15,9 @@ export type Project = {
|
|
|
15
15
|
owner?: {
|
|
16
16
|
email?: string;
|
|
17
17
|
};
|
|
18
|
+
ownerEmail?: string;
|
|
19
|
+
ownerName?: string;
|
|
20
|
+
camerasRestrictionType?: string;
|
|
18
21
|
};
|
|
19
22
|
export declare enum ProjectStatus {
|
|
20
23
|
ToStart = "To Start",
|
|
@@ -31,6 +34,9 @@ export declare enum ProjectArchiveTier {
|
|
|
31
34
|
export type ProjectResponsePayload = {
|
|
32
35
|
data?: Project[];
|
|
33
36
|
};
|
|
37
|
+
export type UpdateCameraRestrictionPayload = {
|
|
38
|
+
isAccessRestricted?: boolean;
|
|
39
|
+
};
|
|
34
40
|
export type Logo = {
|
|
35
41
|
name: string;
|
|
36
42
|
url: string;
|
|
@@ -52,7 +58,7 @@ export declare enum ProjectFeatureFlag {
|
|
|
52
58
|
GateReportAnprBased = "anpr_sourced",
|
|
53
59
|
NoLicensePlate = "no_license_plate",
|
|
54
60
|
DefaultToProjectApp = "default_to_project_app",
|
|
55
|
-
|
|
61
|
+
SmartSearch = "smart_search"
|
|
56
62
|
}
|
|
57
63
|
export type ProjectBatteryReading = {
|
|
58
64
|
exid: number;
|
package/dist/types/roi.d.ts
CHANGED
package/dist/types/shared.d.ts
CHANGED
|
@@ -103,16 +103,7 @@ export declare enum InfoPage {
|
|
|
103
103
|
DroneView = "drone-view",
|
|
104
104
|
Compare = "compare",
|
|
105
105
|
Timeline = "timeline",
|
|
106
|
-
WeatherReport = "weather-report"
|
|
107
|
-
EvercamGo = "evercam-go"
|
|
108
|
-
}
|
|
109
|
-
export declare enum EvercamGoFeatures {
|
|
110
|
-
XRay = "xray",
|
|
111
|
-
MagicWand = "magic-wand",
|
|
112
|
-
Weather = "weather",
|
|
113
|
-
DownloadSnapshot = "download-snapshot",
|
|
114
|
-
LocalRecordings = "local-recordings",
|
|
115
|
-
MarkupTool = "markup-tool"
|
|
106
|
+
WeatherReport = "weather-report"
|
|
116
107
|
}
|
|
117
108
|
export declare enum DownloadTypes {
|
|
118
109
|
Jpeg = "jpeg",
|
package/dist/types/shares.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export type Share = {
|
|
|
22
22
|
sharerId: number;
|
|
23
23
|
sharerName: string;
|
|
24
24
|
userId: number;
|
|
25
|
+
isUserAccessRestricted: boolean;
|
|
25
26
|
};
|
|
26
27
|
export type ShareRequestsResponsePayload = {
|
|
27
28
|
shareRequests: ShareRequest[];
|
|
@@ -60,6 +61,10 @@ export type ShareProjectCamerasRequestPayload = {
|
|
|
60
61
|
permission?: string;
|
|
61
62
|
rights: string;
|
|
62
63
|
};
|
|
64
|
+
export type UpdateUserRestrictionPayload = {
|
|
65
|
+
email: string[];
|
|
66
|
+
isUserAccessRestricted: boolean;
|
|
67
|
+
};
|
|
63
68
|
export type ShareCreateResponsePayload = {
|
|
64
69
|
shares: Share[];
|
|
65
70
|
shareRequests: ShareRequest[];
|
|
@@ -92,7 +97,6 @@ export declare enum ShareType {
|
|
|
92
97
|
Request = "request"
|
|
93
98
|
}
|
|
94
99
|
export declare enum ShareRequestStatus {
|
|
95
|
-
All = "",
|
|
96
100
|
Pending = -1,
|
|
97
101
|
Cancelled = -2,
|
|
98
102
|
Failed = -3,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BBox, BoundingBox, DetectionLabel } from "@evercam/api/types";
|
|
1
|
+
import type { BBox, BoundingBox, DateType, DetectionLabel, Schedule } from "@evercam/api/types";
|
|
2
2
|
export declare enum SiteAnalyticsMode {
|
|
3
3
|
Detections = "detections",
|
|
4
4
|
Segments = "segments"
|
|
@@ -6,20 +6,26 @@ export declare enum SiteAnalyticsMode {
|
|
|
6
6
|
export type SmartSearchOptionData = {
|
|
7
7
|
id?: string;
|
|
8
8
|
type: SmartSearchQueryComponentType;
|
|
9
|
-
value: DetectionLabel | SmartSearchOperatorType | SmartSearchConditionData;
|
|
9
|
+
value: DetectionLabel | SmartSearchOperatorType | SmartSearchConditionData | SmartSearchCondition | SmartSearchDateRange | string;
|
|
10
10
|
};
|
|
11
|
-
export type SmartSearchQueryPart = SmartSearchOptionData | SmartSearchQueryPart[];
|
|
11
|
+
export type SmartSearchQueryPart = SmartSearchOptionData | [SmartSearchQueryPart] | SmartSearchQueryPart[];
|
|
12
12
|
export declare enum SmartSearchQueryComponentType {
|
|
13
13
|
Condition = "condition",
|
|
14
14
|
Object = "object",
|
|
15
15
|
Area = "in_area",
|
|
16
16
|
Time = "time",
|
|
17
|
-
Operator = "operator"
|
|
17
|
+
Operator = "operator",
|
|
18
|
+
Camera = "camera",
|
|
19
|
+
DateRange = "date_range"
|
|
18
20
|
}
|
|
21
|
+
export type SmartSearchDateRange = {
|
|
22
|
+
start: DateType;
|
|
23
|
+
end: DateType;
|
|
24
|
+
};
|
|
19
25
|
export type SmartSearchQueryComponentData = {
|
|
20
26
|
id: string;
|
|
21
27
|
type: SmartSearchQueryComponentType;
|
|
22
|
-
parts: SmartSearchQueryPart
|
|
28
|
+
parts: [SmartSearchQueryPart];
|
|
23
29
|
};
|
|
24
30
|
export declare enum SmartSearchCondition {
|
|
25
31
|
InArea = "in_area",
|
|
@@ -30,24 +36,25 @@ export type SmartSearchConditionData = {
|
|
|
30
36
|
condition: SmartSearchCondition;
|
|
31
37
|
value: string | BoundingBox | DetectionLabel | Date;
|
|
32
38
|
};
|
|
39
|
+
export type SmartSearchQueryCondition = {
|
|
40
|
+
type: SmartSearchQueryConditionTypes;
|
|
41
|
+
target: SmartSearchQueryTargets;
|
|
42
|
+
operator?: SmartSearchQueryOperators;
|
|
43
|
+
attribute?: string;
|
|
44
|
+
value: string | number | string[];
|
|
45
|
+
reference?: {
|
|
46
|
+
target: SmartSearchQueryTargets;
|
|
47
|
+
attribute: string;
|
|
48
|
+
value: string | number | string[];
|
|
49
|
+
};
|
|
50
|
+
polygon?: BBox;
|
|
51
|
+
};
|
|
33
52
|
export type SmartSearchQuery = {
|
|
34
53
|
returnTargets: SmartSearchQueryTargets[];
|
|
35
54
|
rulesLogic: SmartSearchOperatorType;
|
|
36
55
|
rules: {
|
|
37
56
|
logic: SmartSearchOperatorType;
|
|
38
|
-
conditions:
|
|
39
|
-
type: SmartSearchQueryConditionTypes;
|
|
40
|
-
target: SmartSearchQueryTargets;
|
|
41
|
-
operator?: SmartSearchQueryOperators;
|
|
42
|
-
attribute?: string;
|
|
43
|
-
value: string | number | string[];
|
|
44
|
-
reference?: {
|
|
45
|
-
target: SmartSearchQueryTargets;
|
|
46
|
-
attribute: string;
|
|
47
|
-
value: string | number | string[];
|
|
48
|
-
};
|
|
49
|
-
polygon?: BBox;
|
|
50
|
-
}[];
|
|
57
|
+
conditions: SmartSearchQueryCondition[];
|
|
51
58
|
}[];
|
|
52
59
|
returnType: SmartSearchQueryReturnType;
|
|
53
60
|
};
|
|
@@ -72,7 +79,8 @@ export declare enum SmartSearchQueryOperators {
|
|
|
72
79
|
Outside = "outside",
|
|
73
80
|
DistanceBelow = "distance_below",
|
|
74
81
|
DistanceAbove = "distance_above",
|
|
75
|
-
Area = "in_area"
|
|
82
|
+
Area = "in_area",
|
|
83
|
+
Equal = "="
|
|
76
84
|
}
|
|
77
85
|
export declare enum SmartSearchQueryConditionTypes {
|
|
78
86
|
Selection = "selection",
|
|
@@ -82,3 +90,34 @@ export declare enum SmartSearchQueryConditionTypes {
|
|
|
82
90
|
Near = "near",
|
|
83
91
|
Far = "far"
|
|
84
92
|
}
|
|
93
|
+
export type SmartSearchOptionValue = DetectionLabel | SmartSearchOperatorType | SmartSearchConditionData;
|
|
94
|
+
export type SmartSearchQueryParams = {
|
|
95
|
+
cameraExid: string;
|
|
96
|
+
name: string;
|
|
97
|
+
description: string;
|
|
98
|
+
query: {
|
|
99
|
+
req: SmartSearchQuery;
|
|
100
|
+
timeSchedule?: Schedule | undefined;
|
|
101
|
+
};
|
|
102
|
+
fromDate?: DateType;
|
|
103
|
+
toDate?: DateType;
|
|
104
|
+
author: string;
|
|
105
|
+
createdAt: DateType;
|
|
106
|
+
params?: Record<string, unknown>;
|
|
107
|
+
};
|
|
108
|
+
export type SavedQuery = {
|
|
109
|
+
description: string;
|
|
110
|
+
id: number;
|
|
111
|
+
query: {
|
|
112
|
+
req: SmartSearchQuery;
|
|
113
|
+
timeSchedule?: Schedule | undefined;
|
|
114
|
+
};
|
|
115
|
+
params: Record<string, string>;
|
|
116
|
+
components?: Omit<SmartSearchOptionData, "id">[];
|
|
117
|
+
toDate?: DateType;
|
|
118
|
+
createdAt?: DateType;
|
|
119
|
+
cameraExid: string;
|
|
120
|
+
name: string;
|
|
121
|
+
fromDate?: DateType;
|
|
122
|
+
author?: string;
|
|
123
|
+
};
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare enum ExNvrHealthCheckTaskId {
|
|
3
|
-
ExNvrLogin = "exNvrLogin",
|
|
4
|
-
ExNvrConfigCheck = "exNvrGetDeviceInfo",
|
|
5
|
-
ExNvrSystemStatus = "exNvrSystemStatus",
|
|
6
|
-
ExNvrRecordings = "exNvrGetRecordings",
|
|
7
|
-
CameraSystemConfigCheck = "getCameraSystemInfo",
|
|
8
|
-
CameraTimeConfigCheck = "getCameraTimeInfo",
|
|
9
|
-
CameraStreamsConfigCheck = "getCameraStreamsInfo",
|
|
10
|
-
CameraNetworkConfigCheck = "getCameraNetworkInfo",
|
|
11
|
-
CameraOsdConfigCheck = "getCameraOsdInfo",
|
|
12
|
-
CameraStorageConfigCheck = "getCameraStorageInfo"
|
|
13
|
-
}
|
|
14
|
-
export type ExNvrHealthCheckTaskResult<T extends ExNvrHealthCheckTaskId> = T extends ExNvrHealthCheckTaskId.ExNvrLogin ? ExNvrLoginResponse : T extends ExNvrHealthCheckTaskId.ExNvrConfigCheck ? ExNvrDeviceConfig : T extends ExNvrHealthCheckTaskId.ExNvrSystemStatus ? ExNvrSystemStatus : T extends ExNvrHealthCheckTaskId.ExNvrRecordings ? ExNvrRecordingInterval[] : T extends ExNvrHealthCheckTaskId.CameraStreamsConfigCheck ? MilesightCameraVideoConfig : T extends ExNvrHealthCheckTaskId.CameraSystemConfigCheck ? MilesightCameraSystemSettings : T extends ExNvrHealthCheckTaskId.CameraTimeConfigCheck ? MilesightCameraTimeInfo : T extends ExNvrHealthCheckTaskId.CameraNetworkConfigCheck ? MilesightCameraNetworkConfiguration : T extends ExNvrHealthCheckTaskId.CameraOsdConfigCheck ? MilesightCameraOsdConfiguration : T extends ExNvrHealthCheckTaskId.CameraStorageConfigCheck ? MilesightCameraSdCardInfo : never;
|
|
15
|
-
export type ExNvrHealthCheckTask<T extends ExNvrHealthCheckTaskId> = {
|
|
16
|
-
id: T;
|
|
17
|
-
status: TaskStatus;
|
|
18
|
-
duration?: number;
|
|
19
|
-
result?: ExNvrHealthCheckTaskResult<T>;
|
|
20
|
-
error?: Error;
|
|
21
|
-
};
|
|
1
|
+
import { DateTime_Z_micros, KitMetricData } from "@/types";
|
|
22
2
|
export type ExNvrLoginResponse = {
|
|
23
3
|
accessToken: string;
|
|
24
4
|
};
|
|
@@ -110,8 +90,7 @@ export type ExNvrSystemStatus = {
|
|
|
110
90
|
};
|
|
111
91
|
export declare enum ExNvrMetricId {
|
|
112
92
|
CpuLoad = "cpu_load",
|
|
113
|
-
RamUsage = "ram_usage"
|
|
114
|
-
SwapUsage = "swap_usage"
|
|
93
|
+
RamUsage = "ram_usage"
|
|
115
94
|
}
|
|
116
95
|
export type ExNvrMetric = KitMetricData & {
|
|
117
96
|
metricId: ExNvrMetricId;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum PerformanceStatus {
|
|
2
|
+
Pending = "pending",
|
|
3
|
+
Done = "done"
|
|
4
|
+
}
|
|
5
|
+
export declare enum WebGLExtensions {
|
|
6
|
+
OESTextureFloat = "OES_texture_float",
|
|
7
|
+
EXTFloatBlend = "EXT_float_blend",
|
|
8
|
+
EXTTextureFilterAnisotropic = "EXT_texture_filter_anisotropic",
|
|
9
|
+
OESElementIndexUint = "OES_element_index_uint",
|
|
10
|
+
WEBGLDebugRendererInfo = "WEBGL_debug_renderer_info"
|
|
11
|
+
}
|
package/dist/types/weather.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { Date_YYYY_MM_DD, DateType } from "@/types/time";
|
|
2
2
|
export type HistoryWeatherRequestPayload = {
|
|
3
3
|
day: string;
|
|
4
|
+
provider: WeatherProvider;
|
|
5
|
+
};
|
|
6
|
+
export type CurrentWeatherRequestPayload = {
|
|
7
|
+
provider: WeatherProvider;
|
|
4
8
|
};
|
|
5
9
|
export type WeatherResponsePayload = Array<{
|
|
6
10
|
hour?: number;
|
|
@@ -26,8 +30,8 @@ export type HourlyReading = {
|
|
|
26
30
|
"3h"?: number;
|
|
27
31
|
};
|
|
28
32
|
export declare enum WeatherProvider {
|
|
29
|
-
WeatherStack = "
|
|
30
|
-
|
|
33
|
+
WeatherStack = "weather_stack",
|
|
34
|
+
XWeather = "xweather"
|
|
31
35
|
}
|
|
32
36
|
export type Weatherstatus = {
|
|
33
37
|
description: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evercam/api",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-ee9739480",
|
|
4
4
|
"description": "Evercam API client",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"publish-api": "cd ../.. && yarn publish-api"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@types/node": "^
|
|
39
|
+
"@types/node": "^24.2.0",
|
|
40
40
|
"vite": "latest",
|
|
41
41
|
"vite-plugin-commonjs": "^0.10.3",
|
|
42
|
-
"vite-plugin-dts": "^4.5.
|
|
42
|
+
"vite-plugin-dts": "^4.5.4"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"axios": "^1.7.7",
|
package/dist/types/devices.d.ts
DELETED
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
export type MilesightRequestParams = {
|
|
2
|
-
host: string;
|
|
3
|
-
httpPort: number;
|
|
4
|
-
username: string;
|
|
5
|
-
password: string;
|
|
6
|
-
};
|
|
7
|
-
export type MilesightCameraNetworkConfiguration = {
|
|
8
|
-
httpEnable: number;
|
|
9
|
-
httpPort: number;
|
|
10
|
-
httpsEnable: number;
|
|
11
|
-
httpsPort: number;
|
|
12
|
-
certSubject: string;
|
|
13
|
-
certDate: string;
|
|
14
|
-
certResult: number;
|
|
15
|
-
requestSubject: string;
|
|
16
|
-
certUpdateFlag: number;
|
|
17
|
-
ipv4Ipaddress: string;
|
|
18
|
-
ipv6Ipaddress: string;
|
|
19
|
-
notBefore: string;
|
|
20
|
-
notAfter: string;
|
|
21
|
-
country: string;
|
|
22
|
-
ST: string;
|
|
23
|
-
O: string;
|
|
24
|
-
CN: string;
|
|
25
|
-
};
|
|
26
|
-
export type MilesightCameraSystemSettings = {
|
|
27
|
-
model: string;
|
|
28
|
-
mac: string;
|
|
29
|
-
firmwareVersion: string;
|
|
30
|
-
systemBootTime: string;
|
|
31
|
-
wireless: number;
|
|
32
|
-
dhcpEnable: number;
|
|
33
|
-
ipaddress: string;
|
|
34
|
-
netmask: string;
|
|
35
|
-
gateway: string;
|
|
36
|
-
pppoeEnable: number;
|
|
37
|
-
dns0: string;
|
|
38
|
-
dns1: string;
|
|
39
|
-
ddnsEnable: number;
|
|
40
|
-
ddnsHostName: string;
|
|
41
|
-
ddnsStatus: number;
|
|
42
|
-
wirelessEnable: number;
|
|
43
|
-
deviceName: string;
|
|
44
|
-
deviceLacation: string;
|
|
45
|
-
deviceInformation: string;
|
|
46
|
-
deviceVender: string;
|
|
47
|
-
hardwareVersion: string;
|
|
48
|
-
kernelVersion: string;
|
|
49
|
-
sdkVersion: string;
|
|
50
|
-
aiNnieStatus: number;
|
|
51
|
-
ioSupport: number;
|
|
52
|
-
audioSupport: number;
|
|
53
|
-
audioMode: number;
|
|
54
|
-
audioType: number;
|
|
55
|
-
audioLineInput: number;
|
|
56
|
-
alarmInputSupport: number;
|
|
57
|
-
alarmOutputSupport: number;
|
|
58
|
-
fisheyeSupport: number;
|
|
59
|
-
vcaSupport: number;
|
|
60
|
-
vcaType: number;
|
|
61
|
-
anrSupport: number;
|
|
62
|
-
speakerSupport: number;
|
|
63
|
-
lprSupport: number;
|
|
64
|
-
lprVersion: number;
|
|
65
|
-
lprLicense: number;
|
|
66
|
-
radarSupport: number;
|
|
67
|
-
upgrade: number;
|
|
68
|
-
faceSupport: number;
|
|
69
|
-
polygonFaceSupport: number;
|
|
70
|
-
irSensor: number;
|
|
71
|
-
dnSensitivitySupport: number;
|
|
72
|
-
croproiSupport: number;
|
|
73
|
-
dnRefocusSupport: number;
|
|
74
|
-
reduceStutteringSupport: number;
|
|
75
|
-
polygonSupport: number;
|
|
76
|
-
localDisplaySupport: number;
|
|
77
|
-
fanWorkingModeSupport: number;
|
|
78
|
-
smartIrLimitType: number;
|
|
79
|
-
smartIrLimitSum: number;
|
|
80
|
-
audioFileManagerSupport: number;
|
|
81
|
-
humanVehicleSupport: number;
|
|
82
|
-
manualSpeedSupport: number;
|
|
83
|
-
snCode: string;
|
|
84
|
-
mosaicSupport: number;
|
|
85
|
-
antiShakeSupport: number;
|
|
86
|
-
corridorModeSupport: number;
|
|
87
|
-
imageRotationSupport: number;
|
|
88
|
-
humanDetectionSupport: number;
|
|
89
|
-
regionalPeopleSupport: number;
|
|
90
|
-
heatMapSupport: number;
|
|
91
|
-
msChip: string;
|
|
92
|
-
runtime: number;
|
|
93
|
-
lprlicenStatus: number;
|
|
94
|
-
p2pSupport: number;
|
|
95
|
-
ptzSupport: number;
|
|
96
|
-
adminoptions: number;
|
|
97
|
-
adminuser: string;
|
|
98
|
-
miscAnonymous: number;
|
|
99
|
-
pwdStrengthType: number;
|
|
100
|
-
viewerdef: number;
|
|
101
|
-
viewerOptions: number;
|
|
102
|
-
oemIndex: number;
|
|
103
|
-
audioAlarmSupport: number;
|
|
104
|
-
ledSupport: number;
|
|
105
|
-
ledGroupSupport: number;
|
|
106
|
-
ptzMaxZoomTimes: number;
|
|
107
|
-
realPtzSupport: number;
|
|
108
|
-
iotSupport: number;
|
|
109
|
-
isSpeedDm: number;
|
|
110
|
-
supportOsdLarger: number;
|
|
111
|
-
isFaceCustomizeModeExists: number;
|
|
112
|
-
autoTrackSupport: number;
|
|
113
|
-
smartStreamSupportInOtherStream: number;
|
|
114
|
-
wiperSupport: number;
|
|
115
|
-
oemupdateonline: number;
|
|
116
|
-
whiteLedSupport: number;
|
|
117
|
-
defogSupport: number;
|
|
118
|
-
manualTrackingSupport: number;
|
|
119
|
-
manualTrackingDisable: number;
|
|
120
|
-
"3DPositionSupport": number;
|
|
121
|
-
rs485Support: number;
|
|
122
|
-
ptzStatusSupport: number;
|
|
123
|
-
heaterSupport: number;
|
|
124
|
-
};
|
|
125
|
-
export type MilesightCameraStreamConfig = {
|
|
126
|
-
enable?: number;
|
|
127
|
-
width?: number;
|
|
128
|
-
height?: number;
|
|
129
|
-
url?: string;
|
|
130
|
-
profileGop?: number;
|
|
131
|
-
rateMode?: MilesightCameraRateModeId;
|
|
132
|
-
framerate?: number;
|
|
133
|
-
bitrate?: number;
|
|
134
|
-
smartStreamEnable?: number;
|
|
135
|
-
smartStreamLevel?: number;
|
|
136
|
-
profile?: number;
|
|
137
|
-
profileCodec?: MilesightCameraCodecId;
|
|
138
|
-
rateQuality?: number;
|
|
139
|
-
vbrQuality?: MilesightCameraVbrQualityId;
|
|
140
|
-
};
|
|
141
|
-
export type MilesightCameraStreamConfigList = {
|
|
142
|
-
mainStream: MilesightCameraStreamConfig;
|
|
143
|
-
subStream: MilesightCameraStreamConfig;
|
|
144
|
-
thirdStream: MilesightCameraStreamConfig;
|
|
145
|
-
fourthStream?: {
|
|
146
|
-
enable: number;
|
|
147
|
-
};
|
|
148
|
-
fifthStream?: {
|
|
149
|
-
enable: number;
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
export type MilesightCameraVideoConfig = {
|
|
153
|
-
deviceModel: string;
|
|
154
|
-
deviceSensor: string;
|
|
155
|
-
deviceTvStandards: number;
|
|
156
|
-
streamList: MilesightCameraStreamConfigList;
|
|
157
|
-
cTvStandards: number;
|
|
158
|
-
rtspPort: number;
|
|
159
|
-
eventStreamEnable: number;
|
|
160
|
-
eventStreamFramerate: number;
|
|
161
|
-
eventStreamBitrate: number;
|
|
162
|
-
eventStreamIframe: number;
|
|
163
|
-
fishDisplayModel: number;
|
|
164
|
-
fishInstallModel: number;
|
|
165
|
-
fishCorrectModel: number;
|
|
166
|
-
mainCodecres: number;
|
|
167
|
-
imageScheMode: number;
|
|
168
|
-
hlcMode: number;
|
|
169
|
-
exposurectrl: number;
|
|
170
|
-
wdrEnable: number;
|
|
171
|
-
};
|
|
172
|
-
export type MilesightCameraStreamOsdInfo = {
|
|
173
|
-
streamIndex: number;
|
|
174
|
-
osdEnable: number;
|
|
175
|
-
osdString: string;
|
|
176
|
-
osdDateTimeEnable: number;
|
|
177
|
-
osdFontSize: number;
|
|
178
|
-
osdFontColor: string;
|
|
179
|
-
osdBackgroundEnable: number;
|
|
180
|
-
osdBackgroundColor: string;
|
|
181
|
-
osdTextPosition: number;
|
|
182
|
-
osdDateTimePosition: number;
|
|
183
|
-
osdDateTimeFormat: number;
|
|
184
|
-
cropRoiEnable: number;
|
|
185
|
-
};
|
|
186
|
-
export type MilesightCameraOsdConfiguration = {
|
|
187
|
-
osdInfoList: MilesightCameraStreamOsdInfo[];
|
|
188
|
-
osdZoomTime: number;
|
|
189
|
-
};
|
|
190
|
-
export type MilesightCameraSdCardInfo = {
|
|
191
|
-
sdcardStatus: number;
|
|
192
|
-
sdcardDiskStatus: number;
|
|
193
|
-
sdcardFullStatus: number;
|
|
194
|
-
sdcardTotalSize: string;
|
|
195
|
-
sdcardFreeSize: string;
|
|
196
|
-
sdcardUseSize: string;
|
|
197
|
-
sdEncryptStatus: number;
|
|
198
|
-
};
|
|
199
|
-
export type MilesightCameraTimeInfo = {
|
|
200
|
-
year: number;
|
|
201
|
-
month: number;
|
|
202
|
-
day: number;
|
|
203
|
-
hour: number;
|
|
204
|
-
minute: number;
|
|
205
|
-
second: number;
|
|
206
|
-
timeZoneTz: string;
|
|
207
|
-
zoneNameTz: string;
|
|
208
|
-
dayLight: number;
|
|
209
|
-
timeType: number;
|
|
210
|
-
ntpServer: string;
|
|
211
|
-
ntpSyncEnable: number;
|
|
212
|
-
ntpInterval: number;
|
|
213
|
-
};
|
|
214
|
-
export declare enum MilesightCameraCodecId {
|
|
215
|
-
H264 = 0,
|
|
216
|
-
H265 = 3,
|
|
217
|
-
MJpeg1 = 1,
|
|
218
|
-
MJpeg2 = 2
|
|
219
|
-
}
|
|
220
|
-
export declare enum MilesightCameraVbrQualityId {
|
|
221
|
-
Low = 0,
|
|
222
|
-
Medium = 1,
|
|
223
|
-
High = 2
|
|
224
|
-
}
|
|
225
|
-
export declare enum MilesightCameraRateModeId {
|
|
226
|
-
CBR = 0,
|
|
227
|
-
VBR = 1
|
|
228
|
-
}
|
|
File without changes
|