@evercam/api 1.0.0-a99b6a77f → 1.0.0-ab8186b16

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.
@@ -10,6 +10,7 @@ export declare enum AnalyticsEventPageId {
10
10
  Project = "Project",
11
11
  AllProjects = "AllProjects",
12
12
  Tutorials = "Tutorials",
13
+ SystemCheck = "SystemCheck",
13
14
  ProjectMapView = "ProjectMapView",
14
15
  AccountMapView = "AccountMapView",
15
16
  Automations = "Automations",
@@ -259,11 +260,11 @@ export declare enum AnalyticsEvent {
259
260
  ThreeSixtyChangeFloor = "ChangeFloor",
260
261
  ThreeSixtyCloseCompare = "CloseCompare",
261
262
  ThreeSixtyCloseForgeBIM = "CloseForgeBIM",
262
- ThreeSixtyDeleteTag = "DeleteTag",
263
+ ThreeSixtyDeleteComment = "DeleteComment",
263
264
  ThreeSixtyDisableMeasuringTool = "DisableMeasuringTool",
264
- ThreeSixtyDisableTagTool = "DisableTagTool",
265
+ ThreeSixtyDisableCommnetTool = "DisableCommentTool",
265
266
  ThreeSixtyEnableMeasuringTool = "EnableMeasuringTool",
266
- ThreeSixtyEnableTagTool = "EnableTagTool",
267
+ ThreeSixtyEnableCommentTool = "EnableCommentTool",
267
268
  ThreeSixtyLockCompare = "LockCompare",
268
269
  ThreeSixtyLockForgeBIM = "LockForgeBIM",
269
270
  ThreeSixtyMarkerThumbnailClicked = "MarkerThumbnailClicked",
@@ -272,14 +273,16 @@ export declare enum AnalyticsEvent {
272
273
  ThreeSixtyOpenCompare = "OpenCompare",
273
274
  ThreeSixtyOpenForgeBIM = "OpenForgeBIM",
274
275
  ThreeSixtyOpenMarkersThumbnailsList = "OpenMarkersThumbnailsList",
275
- ThreeSixtyOpenTagsList = "OpenTagsList",
276
- ThreeSixtySaveTag = "SaveTag",
276
+ ThreeSixtyOpenCommentsList = "OpenCommentsList",
277
+ ThreeSixtySaveComment = "SaveComment",
278
+ ThreeSixtyUnarchiveComment = "UnarchiveComment",
279
+ ThreeSixtyArchiveComment = "ArchiveComment",
277
280
  ThreeSixtyShareView = "ShareView",
278
- ThreeSixtyTagClicked = "TagClicked",
281
+ ThreeSixtyCommentClicked = "CommentClicked",
279
282
  ThreeSixtyToggleMarkersVisibility = "ToggleMarkersVisibility",
280
283
  ThreeSixtyToggleMinimapVisibility = "ToggleMinimapVisibility",
281
284
  ThreeSixtyToggleMiniModel = "ToggleMiniModel",
282
- ThreeSixtyToggleTagsVisibility = "ToggleTagsVisibility",
285
+ ThreeSixtyToggleCommentsVisibility = "ToggleCommentsVisibility",
283
286
  ThreeSixtyTourPause = "Tour-Pause",
284
287
  ThreeSixtyTourPlay = "Tour-Play",
285
288
  ThreeSixtyTourSetSpeedXHalve = "Tour-SetSpeedX0.5",
@@ -446,5 +449,6 @@ export declare enum AnalyticsEvent {
446
449
  HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink",
447
450
  HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink",
448
451
  HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink",
449
- HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink"
452
+ HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink",
453
+ HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink"
450
454
  }
@@ -324,56 +324,6 @@ export type Hdd = {
324
324
  errorStatus: string;
325
325
  canExpand: boolean;
326
326
  };
327
- export declare enum ResolutionDimensions {
328
- QVGA = "320x240",
329
- VGA = "640x480",
330
- SVGA = "800x600",
331
- XGA = "1024x768",
332
- HD = "1280x720",
333
- WXGA = "1280x800",
334
- HDPlus = "1366x768",
335
- WXGAPlus = "1440x900",
336
- HDPlusPlus = "1600x900",
337
- UXGA = "1600x1200",
338
- FullHD = "1920x1080",
339
- WUXGA = "1920x1200",
340
- TwoK = "2048x1080",
341
- QHD = "2560x1440",
342
- WQXGA = "2560x1600",
343
- FourK = "3840x2160",
344
- FourKCinema = "4096x2160",
345
- FiveK = "5120x2880",
346
- EightK = "7680x4320",
347
- WHUXGA = "7680x4800"
348
- }
349
- export declare enum ResolutionLabel {
350
- QVGA = "QVGA",
351
- VGA = "VGA",
352
- SVGA = "SVGA",
353
- XGA = "XGA",
354
- HD = "HD",
355
- WXGA = "WXGA",
356
- HDPlus = "HD+",
357
- WXGAPlus = "WXGA++",
358
- HDPlusPlus = "HD++",
359
- UXGA = "UXGA",
360
- FullHD = "FullHD",
361
- WUXGA = "WUXGA",
362
- TwoK = "2K",
363
- QHD = "QHD",
364
- WQXGA = "WQXGA",
365
- FourK = "4K",
366
- FourKCinema = "4KCinema",
367
- FiveK = "5K",
368
- EightK = "8K",
369
- WHUXGA = "WHUXGA"
370
- }
371
- export type ResolutionInfo = {
372
- ratioString: string;
373
- ratioFloat: number;
374
- resolutionDimensions: ResolutionDimensions;
375
- resolutionLabel: ResolutionLabel;
376
- };
377
327
  export type CameraPath = {
378
328
  projectExid: ProjectExid;
379
329
  cameraExid: CameraExid;
@@ -1,15 +1,16 @@
1
1
  import { CameraExid, DateType, ProjectExid } from "@/types";
2
+ export declare enum CommentsScope {
3
+ Recordings = "recordings",
4
+ ThreeSixty = "360"
5
+ }
2
6
  export type CommentsRequestPayload = {
3
7
  cameraExid: CameraExid;
4
8
  fromDate: string;
5
9
  toDate: string;
10
+ scope: CommentsScope;
6
11
  page?: number;
7
12
  limit?: number;
8
13
  };
9
- export type CommentPosition = {
10
- coordinates: Array<number>;
11
- type: string;
12
- };
13
14
  export type Comment = {
14
15
  fromDate?: string;
15
16
  toDate?: string;
@@ -22,15 +23,21 @@ export type Comment = {
22
23
  createdAt?: string;
23
24
  creatorEmail?: string;
24
25
  creatorName?: string;
25
- position2d: CommentPosition;
26
+ position2d?: [number, number];
27
+ position3d?: [number, number, number];
28
+ context?: Record<string, unknown>;
26
29
  canDelete?: boolean;
30
+ archivedAt?: string;
27
31
  };
28
32
  export type CommentCreationRequestPayload = {
29
33
  fromDate?: DateType;
30
34
  toDate?: DateType;
31
- timestamp: DateType;
35
+ timestamp?: DateType;
36
+ scope?: CommentsScope;
32
37
  projectExid: ProjectExid;
33
- cameraExid: CameraExid;
38
+ cameraExid?: CameraExid;
34
39
  content: string;
35
- position2d: Array<number>;
40
+ position2d?: [number, number];
41
+ position3d?: [number, number, number];
42
+ context?: Record<string, unknown>;
36
43
  };
@@ -9,7 +9,6 @@ export * from "./camera";
9
9
  export * from "./compare";
10
10
  export * from "./copilot";
11
11
  export * from "./credentials";
12
- export * from "./devices";
13
12
  export * from "./drone";
14
13
  export * from "./errors";
15
14
  export * from "./gateReport";
@@ -28,6 +27,7 @@ export * from "./routeParams";
28
27
  export * from "./router";
29
28
  export * from "./shares";
30
29
  export * from "./sim";
30
+ export * from "./systemCheck";
31
31
  export * from "./planner";
32
32
  export * from "./storageServers";
33
33
  export * from "./streaming";
@@ -1,4 +1,4 @@
1
- import { CountryCode, CountryId, DateType, Nvr, PaginationParams, PowerType, Project, Region, Router, Schedule, Tag } from "@/types";
1
+ import { CountryCode, CountryId, DateTime, DateType, Nvr, PaginationParams, PowerType, Project, Region, Router, Schedule, Tag } from "@/types";
2
2
  export type Kit = {
3
3
  alarms: KitAlarm[];
4
4
  countryCode: CountryCode;
@@ -302,3 +302,27 @@ export type KitUpdatePayload = {
302
302
  kitStatus: KitStatus;
303
303
  type: string;
304
304
  };
305
+ export declare enum KitStorageTransport {
306
+ Sata = "sata",
307
+ Nvme = "nvme",
308
+ Usb = "usb"
309
+ }
310
+ export type KitStorageRequestPayload = {
311
+ kitId: number;
312
+ };
313
+ export type KitStorageResponsePayload = {
314
+ id: number;
315
+ serial: string;
316
+ status: string;
317
+ type: string;
318
+ metadata: {
319
+ formFactor: string;
320
+ };
321
+ model: string;
322
+ insertedAt: DateTime;
323
+ updatedAt: DateTime;
324
+ vendor: string;
325
+ kitId: number;
326
+ capacity: number;
327
+ tran: KitStorageTransport;
328
+ };
@@ -55,7 +55,8 @@ export declare enum ProjectFeatureFlag {
55
55
  MediaHubSharing = "archives_sharing",
56
56
  GateReportAnprBased = "anpr_sourced",
57
57
  NoLicensePlate = "no_license_plate",
58
- DefaultToProjectApp = "default_to_project_app"
58
+ DefaultToProjectApp = "default_to_project_app",
59
+ SmartSearch = "smart_search"
59
60
  }
60
61
  export type ProjectBatteryReading = {
61
62
  exid: number;
@@ -9,7 +9,8 @@ export declare enum RoiShapeType {
9
9
  Polygon = "polygon",
10
10
  Line = "line",
11
11
  Direction = "direction",
12
- Rectangle = "rectangle"
12
+ Rectangle = "rectangle",
13
+ ROIBox = "ROIBox"
13
14
  }
14
15
  export type RoiShape = {
15
16
  id: number | null;
@@ -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 { MilesightCameraNetworkConfiguration, MilesightCameraOsdConfiguration, MilesightCameraSdCardInfo, MilesightCameraSystemSettings, MilesightCameraTimeInfo, MilesightCameraVideoConfig, TaskStatus, DateTime_Z_micros, KitMetricData } from "@/types";
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
  };
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evercam/api",
3
- "version": "1.0.0-a99b6a77f",
3
+ "version": "1.0.0-ab8186b16",
4
4
  "description": "Evercam API client",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,7 +36,7 @@
36
36
  "publish-api": "cd ../.. && yarn publish-api"
37
37
  },
38
38
  "devDependencies": {
39
- "@types/node": "^24.0.7",
39
+ "@types/node": "^24.0.13",
40
40
  "vite": "latest",
41
41
  "vite-plugin-commonjs": "^0.10.3",
42
42
  "vite-plugin-dts": "^4.5.4"
@@ -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
- }