@evercam/api 1.0.0-0329133a9 → 1.0.0-06a84f5e4
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/adminApi.d.ts +9 -0
- package/dist/api/aiApi.d.ts +24 -0
- package/dist/api/evercamLabsApi.d.ts +4 -0
- package/dist/api/ingestApi.d.ts +2 -1
- package/dist/api/weatherApi.d.ts +3 -1
- package/dist/index.js +506 -404
- 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/analytics.d.ts +26 -26
- package/dist/types/anpr.d.ts +10 -8
- package/dist/types/camera.d.ts +1 -0
- package/dist/types/coolify.d.ts +18 -0
- package/dist/types/index.d.ts +3 -1
- package/dist/types/kit.d.ts +6 -2
- package/dist/types/project.d.ts +1 -2
- package/dist/types/shared.d.ts +1 -10
- package/dist/types/shares.d.ts +0 -1
- package/dist/types/streaming.d.ts +1 -2
- package/dist/types/tag.d.ts +12 -0
- package/dist/types/timelapse.d.ts +7 -0
- package/dist/types/widget.d.ts +3 -3
- package/package.json +3 -3
- /package/dist/types/{sitePlanner.d.ts → planner.d.ts} +0 -0
|
@@ -36,7 +36,7 @@ export declare enum AnalyticsEventPageId {
|
|
|
36
36
|
Bim = "Bim",
|
|
37
37
|
Drone = "Drone",
|
|
38
38
|
ThreeSixty = "360",
|
|
39
|
-
|
|
39
|
+
Planner = "Planner",
|
|
40
40
|
Widgets = "Widgets",
|
|
41
41
|
Company = "Company",
|
|
42
42
|
EmbeddedLive = "EmbeddedLive",
|
|
@@ -47,8 +47,7 @@ export declare enum AnalyticsEventPageId {
|
|
|
47
47
|
DroneInfo = "DroneInfo",
|
|
48
48
|
ThreeSixtyInfo = "360Info",
|
|
49
49
|
BimCompareInfo = "BimCompareInfo",
|
|
50
|
-
WeatherReport = "WeatherReport"
|
|
51
|
-
EvercamGoInfo = "EvercamGoInfo"
|
|
50
|
+
WeatherReport = "WeatherReport"
|
|
52
51
|
}
|
|
53
52
|
export declare enum AnalyticsEvent {
|
|
54
53
|
PageView = "PageView",
|
|
@@ -64,6 +63,7 @@ export declare enum AnalyticsEvent {
|
|
|
64
63
|
Comment = "Comment-Toggle",
|
|
65
64
|
Compare = "Compare-Toggle",
|
|
66
65
|
Copilot = "Copilot-Toggle",
|
|
66
|
+
DownloadMediaOpen = "DownloadMedia-Open",
|
|
67
67
|
SettingsAccountUpdatePassword = "UpdatePassword",
|
|
68
68
|
SettingsAccountUpdatePersonalInformation = "UpdatePersonalInformation",
|
|
69
69
|
SettingsAccountRevokeSession = "RevokeSession",
|
|
@@ -335,29 +335,29 @@ export declare enum AnalyticsEvent {
|
|
|
335
335
|
DroneVolumeToolClick = "VolumeTool-Click",
|
|
336
336
|
DroneZoomIn = "ZoomIn",
|
|
337
337
|
DroneZoomOut = "ZoomOut",
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
338
|
+
PlannerAddCameraClick = "AddCameraClick",
|
|
339
|
+
PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick",
|
|
340
|
+
PlannerAddSitePlanClick = "AddSitePlanClick",
|
|
341
|
+
PlannerAttachSitePlanDrawing = "AttachSitePlanDrawing",
|
|
342
|
+
PlannerCameraMarkerEditFOVAngle = "CameraMarker-EditFOVAngle",
|
|
343
|
+
PlannerCameraMarkerEditHeading = "CameraMarker-EditHeading",
|
|
344
|
+
PlannerCameraMarkerEditName = "CameraMarker-EditName",
|
|
345
|
+
PlannerCameraMarkerEditRadius = "CameraMarker-EditRadius",
|
|
346
|
+
PlannerCameraMarkerSelectColor = "CameraMarker-SelectColor",
|
|
347
|
+
PlannerCameraMarkerToggleVisibility = "CameraMarker-ToggleVisibility",
|
|
348
|
+
PlannerCameraMarkerToggleDeleteDialog = "CameraMarker-ToggleDeleteDialog",
|
|
349
|
+
PlannerCancelUploadSitePlanDrawing = "CancelUploadSitePlanDrawing",
|
|
350
|
+
PlannerChangeLocation = "ChangeLocation",
|
|
351
|
+
PlannerOpen = "Open",
|
|
352
|
+
PlannerResetView = "ResetView",
|
|
353
|
+
PlannerSitePlansList = "SitePlansList",
|
|
354
|
+
PlannerToggleCamerasLabel = "ToggleCamerasLabel",
|
|
355
|
+
PlannerToggleFullscreen = "ToggleFullscreen",
|
|
356
|
+
PlannerToggleMapStyle = "ToggleMapStyle",
|
|
357
|
+
PlannerToggleSaveSessionDialog = "ToggleSaveSessionDialog",
|
|
358
|
+
PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing",
|
|
359
|
+
PlannerZoomIn = "ZoomIn",
|
|
360
|
+
PlannerZoomOut = "ZoomOut",
|
|
361
361
|
MarkerClicked = "MarkerClicked",
|
|
362
362
|
TimelapseToggleHelpDialog = "ToggleHelpDialog",
|
|
363
363
|
TimelapseSelectCustomPeriod = "SelectCustomPeriod",
|
package/dist/types/anpr.d.ts
CHANGED
|
@@ -43,26 +43,28 @@ export declare enum AnprDirection {
|
|
|
43
43
|
export type AnprEvent = {
|
|
44
44
|
id: number;
|
|
45
45
|
plateNumber: string;
|
|
46
|
-
|
|
46
|
+
cameraExid: CameraExid;
|
|
47
47
|
picName: string;
|
|
48
|
-
|
|
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
|
|
58
|
-
anprVehicleModel
|
|
59
|
-
anprVehicleMake
|
|
60
|
-
anprVehicleColor
|
|
61
|
-
anprVehicleSpeed
|
|
58
|
+
anprVehicleType?: string;
|
|
59
|
+
anprVehicleModel?: string;
|
|
60
|
+
anprVehicleMake?: string;
|
|
61
|
+
anprVehicleColor?: string;
|
|
62
|
+
anprVehicleSpeed?: number;
|
|
62
63
|
anprSnapshotLink: string;
|
|
63
|
-
|
|
64
|
+
mainSnapshotLink: string;
|
|
64
65
|
contextCamera: string;
|
|
65
66
|
votedVehicleType: GateReportVehicleType | string;
|
|
67
|
+
roiId?: number;
|
|
66
68
|
metadata_: {
|
|
67
69
|
evercamMetadata?: {
|
|
68
70
|
anpr?: {
|
package/dist/types/camera.d.ts
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DateType } from "@/types/time";
|
|
2
|
+
export type CreateCoolifyAppRequestPayload = {
|
|
3
|
+
cameraExid: string;
|
|
4
|
+
startDate: DateType;
|
|
5
|
+
modelVersion: string;
|
|
6
|
+
snapshotRequestTimeout: string | number;
|
|
7
|
+
serverUuid: string;
|
|
8
|
+
branch: string;
|
|
9
|
+
};
|
|
10
|
+
export type SaveCoolifyAppRequestPayload = {
|
|
11
|
+
contextCameraExid: string;
|
|
12
|
+
coolifyServiceId: string;
|
|
13
|
+
modelVersion: string;
|
|
14
|
+
startTime: string;
|
|
15
|
+
branchName: string;
|
|
16
|
+
snapshotRequestTimeout: string | number;
|
|
17
|
+
serverUuid: string;
|
|
18
|
+
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export * from "./routeParams";
|
|
|
28
28
|
export * from "./router";
|
|
29
29
|
export * from "./shares";
|
|
30
30
|
export * from "./sim";
|
|
31
|
-
export * from "./
|
|
31
|
+
export * from "./planner";
|
|
32
32
|
export * from "./storageServers";
|
|
33
33
|
export * from "./streaming";
|
|
34
34
|
export * from "./time";
|
|
@@ -50,3 +50,5 @@ export * from "./siteAnalytics";
|
|
|
50
50
|
export * from "./widget";
|
|
51
51
|
export * from "./countries";
|
|
52
52
|
export * from "./automation";
|
|
53
|
+
export * from "./coolify";
|
|
54
|
+
export * from "./tag";
|
package/dist/types/kit.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CountryCode, CountryId, DateType, Nvr, PaginationParams, PowerType, Project, Region, Router, Schedule } from "@/types";
|
|
1
|
+
import { CountryCode, CountryId, DateType, Nvr, PaginationParams, PowerType, Project, Region, Router, Schedule, Tag } from "@/types";
|
|
2
2
|
export type Kit = {
|
|
3
3
|
alarms: KitAlarm[];
|
|
4
4
|
countryCode: CountryCode;
|
|
@@ -16,6 +16,7 @@ export type Kit = {
|
|
|
16
16
|
serial: string;
|
|
17
17
|
status: KitStatus;
|
|
18
18
|
powerSchedule: Schedule;
|
|
19
|
+
tags: Tag[];
|
|
19
20
|
};
|
|
20
21
|
export declare enum KitStatus {
|
|
21
22
|
New = "new",
|
|
@@ -29,7 +30,9 @@ export declare enum KitAlarm {
|
|
|
29
30
|
NotRecordingCamera = "not_recording_camera",
|
|
30
31
|
OfflineScheduled = "offline_scheduled",
|
|
31
32
|
FullSD = "full_sd",
|
|
32
|
-
FullStorage = "full_storage"
|
|
33
|
+
FullStorage = "full_storage",
|
|
34
|
+
HddUnmounted = "hdd_unmounted",
|
|
35
|
+
NoHdd = "no_hdd"
|
|
33
36
|
}
|
|
34
37
|
export declare enum KitMetricId {
|
|
35
38
|
BatteryStats = "battery",
|
|
@@ -238,6 +241,7 @@ export type KitQueryParams = PaginationParams & {
|
|
|
238
241
|
name: string;
|
|
239
242
|
serial: string;
|
|
240
243
|
status: KitStatus;
|
|
244
|
+
tagId: number | number[];
|
|
241
245
|
};
|
|
242
246
|
export type AdminKit = {
|
|
243
247
|
id: number;
|
package/dist/types/project.d.ts
CHANGED
|
@@ -51,8 +51,7 @@ export declare enum ProjectFeatureFlag {
|
|
|
51
51
|
MediaHubSharing = "archives_sharing",
|
|
52
52
|
GateReportAnprBased = "anpr_sourced",
|
|
53
53
|
NoLicensePlate = "no_license_plate",
|
|
54
|
-
DefaultToProjectApp = "default_to_project_app"
|
|
55
|
-
Go = "evercam_go"
|
|
54
|
+
DefaultToProjectApp = "default_to_project_app"
|
|
56
55
|
}
|
|
57
56
|
export type ProjectBatteryReading = {
|
|
58
57
|
exid: number;
|
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
|
@@ -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/dist/types/widget.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import type { DateTime } from "@evercam/api/types/time";
|
|
|
2
2
|
import { PaginationParams } from "@/types";
|
|
3
3
|
import { VideoWallPresetItemConfig } from "@evercam/api/types/videoWall";
|
|
4
4
|
export declare enum DelayUnit {
|
|
5
|
-
Minute = "
|
|
6
|
-
Hour = "
|
|
7
|
-
Day = "
|
|
5
|
+
Minute = "Minutes",
|
|
6
|
+
Hour = "Hours",
|
|
7
|
+
Day = "Days"
|
|
8
8
|
}
|
|
9
9
|
export declare enum CommonWidgetSettingsKeys {
|
|
10
10
|
Width = "width",
|
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-06a84f5e4",
|
|
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": "^22.
|
|
39
|
+
"@types/node": "^22.15.21",
|
|
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",
|
|
File without changes
|