@evercam/api 1.0.0-a7ba6b817 → 1.0.0-acfc36f03

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.
@@ -43,26 +43,28 @@ export declare enum AnprDirection {
43
43
  export type AnprEvent = {
44
44
  id: number;
45
45
  plateNumber: string;
46
- cameraex: CameraExid;
46
+ cameraExid: CameraExid;
47
47
  picName: string;
48
- captureTime: string;
48
+ eventTime: string;
49
49
  insertedAt: string;
50
50
  isDuplicate: boolean;
51
51
  direction: AnprDirection;
52
52
  updatedAt: string;
53
+ edited?: boolean;
53
54
  isPlate: boolean;
54
55
  isPostprocessed: boolean;
55
56
  vehicleType?: GateReportVehicleType;
56
57
  contextVehicleType?: GateReportVehicleType;
57
- anprVehicleType: string;
58
- anprVehicleModel: string;
59
- anprVehicleMake: string;
60
- anprVehicleColor: string;
61
- anprVehicleSpeed: number | null;
58
+ anprVehicleType?: string;
59
+ anprVehicleModel?: string;
60
+ anprVehicleMake?: string;
61
+ anprVehicleColor?: string;
62
+ anprVehicleSpeed?: number;
62
63
  anprSnapshotLink: string;
63
- contextSnapshotLink: string;
64
+ mainSnapshotLink: string;
64
65
  contextCamera: string;
65
66
  votedVehicleType: GateReportVehicleType | string;
67
+ roiId?: number;
66
68
  metadata_: {
67
69
  evercamMetadata?: {
68
70
  anpr?: {
@@ -29,7 +29,9 @@ export declare enum KitAlarm {
29
29
  NotRecordingCamera = "not_recording_camera",
30
30
  OfflineScheduled = "offline_scheduled",
31
31
  FullSD = "full_sd",
32
- FullStorage = "full_storage"
32
+ FullStorage = "full_storage",
33
+ HddUnmounted = "hdd_unmounted",
34
+ NoHdd = "no_hdd"
33
35
  }
34
36
  export declare enum KitMetricId {
35
37
  BatteryStats = "battery",
@@ -110,8 +110,7 @@ export type ExNvrSystemStatus = {
110
110
  };
111
111
  export declare enum ExNvrMetricId {
112
112
  CpuLoad = "cpu_load",
113
- RamUsage = "ram_usage",
114
- SwapUsage = "swap_usage"
113
+ RamUsage = "ram_usage"
115
114
  }
116
115
  export type ExNvrMetric = KitMetricData & {
117
116
  metricId: ExNvrMetricId;
@@ -15,6 +15,13 @@ export type TimelapseVideoOptions = {
15
15
  removeTimestamp: boolean;
16
16
  smoothTransition: boolean;
17
17
  evercamWatermark: boolean;
18
+ timestampPosition?: TimestampPositionCoordinates;
19
+ };
20
+ export type TimestampPositionCoordinates = {
21
+ x: number;
22
+ y: number;
23
+ w: number;
24
+ h: number;
18
25
  };
19
26
  export type TimelapseLogoOptions = {
20
27
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evercam/api",
3
- "version": "1.0.0-a7ba6b817",
3
+ "version": "1.0.0-acfc36f03",
4
4
  "description": "Evercam API client",
5
5
  "repository": {
6
6
  "type": "git",