@evercam/api 1.0.0-641518e8f → 1.0.0-68a5f1f7b
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/README.md +2 -0
- package/dist/api/adminApi.d.ts +44 -24
- package/dist/api/aiApi.d.ts +38 -1
- package/dist/api/client/interceptors.d.ts +2 -1
- package/dist/api/evercamApi.d.ts +19 -14
- package/dist/api/evercamLabsApi.d.ts +5 -6
- package/dist/api/ingestApi.d.ts +2 -1
- package/dist/api/ptzApi.d.ts +1 -1
- package/dist/api/weatherApi.d.ts +7 -23
- package/dist/index.js +782 -660
- 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/360.d.ts +2 -2
- package/dist/types/analytics.d.ts +26 -58
- package/dist/types/anpr.d.ts +10 -7
- package/dist/types/axios.d.ts +0 -1
- package/dist/types/camera.d.ts +7 -3
- package/dist/types/connector.d.ts +2 -1
- package/dist/types/coolify.d.ts +18 -0
- package/dist/types/copilot.d.ts +9 -8
- package/dist/types/detections.d.ts +23 -9
- package/dist/types/hdd.d.ts +63 -0
- package/dist/types/index.d.ts +5 -1
- package/dist/types/kit.d.ts +11 -2
- package/dist/types/nvr.d.ts +2 -1
- package/dist/types/{sitePlanner.d.ts → planner.d.ts} +6 -1
- package/dist/types/project.d.ts +5 -2
- package/dist/types/shared.d.ts +2 -11
- package/dist/types/shares.d.ts +5 -1
- package/dist/types/siteAnalytics.d.ts +80 -1
- package/dist/types/streaming.d.ts +1 -2
- package/dist/types/tag.d.ts +12 -0
- package/dist/types/timelapse.d.ts +15 -0
- package/dist/types/weather.d.ts +6 -2
- package/dist/types/widget.d.ts +10 -5
- package/dist/types/xweather.d.ts +12 -0
- package/package.json +5 -5
package/dist/types/360.d.ts
CHANGED
|
@@ -41,11 +41,11 @@ export declare enum _360AssetType {
|
|
|
41
41
|
MobileAudio = "mobile_audios"
|
|
42
42
|
}
|
|
43
43
|
export declare enum _360IntergrationType {
|
|
44
|
+
Evercam = "Evercam",
|
|
44
45
|
Matterport = "Matterport",
|
|
45
46
|
OpenSpace = "Openspace",
|
|
46
47
|
HoloBuilder = "Holobuilder",
|
|
47
|
-
DroneDeploy = "Dronedeploy"
|
|
48
|
-
Evercam = "Evercam"
|
|
48
|
+
DroneDeploy = "Dronedeploy"
|
|
49
49
|
}
|
|
50
50
|
export type _360AssetsQueryParams = {
|
|
51
51
|
page: number;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import { DateType } from "@/types";
|
|
2
|
-
export type AnalyticsRequestPayload = {
|
|
3
|
-
name: string;
|
|
4
|
-
cameraExid: string;
|
|
5
|
-
} & {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
8
1
|
export declare enum AnalyticsEventPageId {
|
|
9
2
|
Timeline = "Timeline",
|
|
10
3
|
Copilot = "Copilot",
|
|
@@ -28,7 +21,6 @@ export declare enum AnalyticsEventPageId {
|
|
|
28
21
|
ProjectSettingsOverview = "ProjectSettings-Overview",
|
|
29
22
|
Settings = "Settings",
|
|
30
23
|
SettingsAccount = "Settings-Account",
|
|
31
|
-
SettingsActivities = "Settings-Activities",
|
|
32
24
|
SettingsConnectors = "Settings-Connectors",
|
|
33
25
|
MediaHub = "MediaHub",
|
|
34
26
|
MediaOveriew = "MediaOveriew",
|
|
@@ -36,7 +28,7 @@ export declare enum AnalyticsEventPageId {
|
|
|
36
28
|
Bim = "Bim",
|
|
37
29
|
Drone = "Drone",
|
|
38
30
|
ThreeSixty = "360",
|
|
39
|
-
|
|
31
|
+
Planner = "Planner",
|
|
40
32
|
Widgets = "Widgets",
|
|
41
33
|
Company = "Company",
|
|
42
34
|
EmbeddedLive = "EmbeddedLive",
|
|
@@ -47,8 +39,7 @@ export declare enum AnalyticsEventPageId {
|
|
|
47
39
|
DroneInfo = "DroneInfo",
|
|
48
40
|
ThreeSixtyInfo = "360Info",
|
|
49
41
|
BimCompareInfo = "BimCompareInfo",
|
|
50
|
-
WeatherReport = "WeatherReport"
|
|
51
|
-
EvercamGoInfo = "EvercamGoInfo"
|
|
42
|
+
WeatherReport = "WeatherReport"
|
|
52
43
|
}
|
|
53
44
|
export declare enum AnalyticsEvent {
|
|
54
45
|
PageView = "PageView",
|
|
@@ -64,14 +55,13 @@ export declare enum AnalyticsEvent {
|
|
|
64
55
|
Comment = "Comment-Toggle",
|
|
65
56
|
Compare = "Compare-Toggle",
|
|
66
57
|
Copilot = "Copilot-Toggle",
|
|
58
|
+
DownloadMediaOpen = "DownloadMedia-Open",
|
|
67
59
|
SettingsAccountUpdatePassword = "UpdatePassword",
|
|
68
60
|
SettingsAccountUpdatePersonalInformation = "UpdatePersonalInformation",
|
|
69
61
|
SettingsAccountRevokeSession = "RevokeSession",
|
|
70
62
|
SettingsAccountCancelRevokeSession = "CancelRevokeSession",
|
|
71
63
|
SettingsAccountClickRowsPerPage = "ClickRowsPerPage",
|
|
72
64
|
SettingsAccountOpenDeleteAccountDialog = "DeleteAccount",
|
|
73
|
-
SettingsActivitiesFromDateSelect = "FromDateSelect",
|
|
74
|
-
SettingsActivitiesToDateSelect = "ToDateSelect",
|
|
75
65
|
SettingsConnectorsConnectToProcore = "ConnectToProcore",
|
|
76
66
|
SettingsConnectorsConnectToAconex = "ConnectToAconex",
|
|
77
67
|
SettingsConnectorsConnectToAutodesk = "ConnectToAutodesk",
|
|
@@ -335,30 +325,29 @@ export declare enum AnalyticsEvent {
|
|
|
335
325
|
DroneVolumeToolClick = "VolumeTool-Click",
|
|
336
326
|
DroneZoomIn = "ZoomIn",
|
|
337
327
|
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
|
-
|
|
361
|
-
SitePlannerZoomOut = "ZoomOut",
|
|
328
|
+
PlannerAddCameraClick = "AddCameraClick",
|
|
329
|
+
PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick",
|
|
330
|
+
PlannerAddSitePlanClick = "AddSitePlanClick",
|
|
331
|
+
PlannerAttachSitePlanDrawing = "AttachSitePlanDrawing",
|
|
332
|
+
PlannerCameraMarkerEditFOVAngle = "CameraMarker-EditFOVAngle",
|
|
333
|
+
PlannerCameraMarkerEditHeading = "CameraMarker-EditHeading",
|
|
334
|
+
PlannerCameraMarkerEditName = "CameraMarker-EditName",
|
|
335
|
+
PlannerCameraMarkerEditRadius = "CameraMarker-EditRadius",
|
|
336
|
+
PlannerCameraMarkerSelectColor = "CameraMarker-SelectColor",
|
|
337
|
+
PlannerCameraMarkerToggleVisibility = "CameraMarker-ToggleVisibility",
|
|
338
|
+
PlannerCameraMarkerToggleDeleteDialog = "CameraMarker-ToggleDeleteDialog",
|
|
339
|
+
PlannerCancelUploadSitePlanDrawing = "CancelUploadSitePlanDrawing",
|
|
340
|
+
PlannerChangeLocation = "ChangeLocation",
|
|
341
|
+
PlannerOpen = "Open",
|
|
342
|
+
PlannerResetView = "ResetView",
|
|
343
|
+
PlannerSitePlansList = "SitePlansList",
|
|
344
|
+
PlannerToggleCamerasLabel = "ToggleCamerasLabel",
|
|
345
|
+
PlannerToggleFullscreen = "ToggleFullscreen",
|
|
346
|
+
PlannerToggleMapStyle = "ToggleMapStyle",
|
|
347
|
+
PlannerToggleSaveSessionDialog = "ToggleSaveSessionDialog",
|
|
348
|
+
PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing",
|
|
349
|
+
PlannerZoomIn = "ZoomIn",
|
|
350
|
+
PlannerZoomOut = "ZoomOut",
|
|
362
351
|
MarkerClicked = "MarkerClicked",
|
|
363
352
|
TimelapseToggleHelpDialog = "ToggleHelpDialog",
|
|
364
353
|
TimelapseSelectCustomPeriod = "SelectCustomPeriod",
|
|
@@ -459,24 +448,3 @@ export declare enum AnalyticsEvent {
|
|
|
459
448
|
HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink",
|
|
460
449
|
HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink"
|
|
461
450
|
}
|
|
462
|
-
export type ProjectPAStatsRequestPayload = {
|
|
463
|
-
period: "day" | "week" | "month";
|
|
464
|
-
startDate?: string;
|
|
465
|
-
endDate?: string;
|
|
466
|
-
};
|
|
467
|
-
export type ProjectPAStatsResponsePayload = {
|
|
468
|
-
period: DateType;
|
|
469
|
-
name: string;
|
|
470
|
-
count: number | string;
|
|
471
|
-
};
|
|
472
|
-
export type ActiveUsersStatsRequestPayload = {
|
|
473
|
-
companyId: number;
|
|
474
|
-
from: string;
|
|
475
|
-
to: string;
|
|
476
|
-
};
|
|
477
|
-
export type ActiveUserStat = {
|
|
478
|
-
date: string;
|
|
479
|
-
dau: number;
|
|
480
|
-
wau: number;
|
|
481
|
-
mau: number;
|
|
482
|
-
};
|
package/dist/types/anpr.d.ts
CHANGED
|
@@ -43,26 +43,29 @@ 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
|
contextSnapshotLink: string;
|
|
65
|
+
mainSnapshotLink: string;
|
|
64
66
|
contextCamera: string;
|
|
65
67
|
votedVehicleType: GateReportVehicleType | string;
|
|
68
|
+
roiId?: number;
|
|
66
69
|
metadata_: {
|
|
67
70
|
evercamMetadata?: {
|
|
68
71
|
anpr?: {
|
package/dist/types/axios.d.ts
CHANGED
package/dist/types/camera.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AuditLogActionType, DateTime_Z_micros, DateType, EntityByExid,
|
|
2
|
-
export type CameraExid =
|
|
1
|
+
import { AuditLogActionType, DateTime_Z_micros, DateType, EntityByExid, NvrDeviceType, PaginationParams, PowerSchedule, PowerType, ProjectExid, Schedule } from "@/types";
|
|
2
|
+
export type CameraExid = string;
|
|
3
3
|
export type CamerasByExid = EntityByExid<Camera>;
|
|
4
4
|
export type Cartesian3 = {
|
|
5
5
|
x: number;
|
|
@@ -82,6 +82,7 @@ export type Camera = {
|
|
|
82
82
|
timezone: string;
|
|
83
83
|
updatedAt: DateTime_Z_micros;
|
|
84
84
|
vendorName: string;
|
|
85
|
+
isAccessRestricted?: boolean;
|
|
85
86
|
};
|
|
86
87
|
export type AdminCamera = {
|
|
87
88
|
cameraHost: string;
|
|
@@ -185,7 +186,8 @@ export declare enum CameraFeatureFlag {
|
|
|
185
186
|
PTZ = "ptz",
|
|
186
187
|
ObjectDetection = "object_detection",
|
|
187
188
|
Segmentation = "segmentation",
|
|
188
|
-
SegmentationAutoLabelling = "segmentation_auto_labelling"
|
|
189
|
+
SegmentationAutoLabelling = "segmentation_auto_labelling",
|
|
190
|
+
PpeMonitoring = "ppe_monitoring"
|
|
189
191
|
}
|
|
190
192
|
export type CameraLogsRequestPayload = {
|
|
191
193
|
limit: number;
|
|
@@ -227,6 +229,8 @@ export type CameraUpdateRequestPayload = {
|
|
|
227
229
|
heading?: number;
|
|
228
230
|
fovAngle?: number;
|
|
229
231
|
fovRadius?: number;
|
|
232
|
+
featureFlags: CameraFeatureFlag[];
|
|
233
|
+
isAccessRestricted?: boolean;
|
|
230
234
|
};
|
|
231
235
|
export type CamerasResponsePayload = {
|
|
232
236
|
cameras?: Camera[];
|
|
@@ -7,7 +7,8 @@ export declare enum Connector {
|
|
|
7
7
|
Procore = "procore",
|
|
8
8
|
Autodesk = "autodesk",
|
|
9
9
|
AutodeskViewer = "autodesk_viewer",
|
|
10
|
-
VoyageControl = "voyage_control"
|
|
10
|
+
VoyageControl = "voyage_control",
|
|
11
|
+
XWeather = "xweather"
|
|
11
12
|
}
|
|
12
13
|
export type ConnectorResponsePayload = Array<{
|
|
13
14
|
hostname: string;
|
|
@@ -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/copilot.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { AnalyticsEventPageId, CameraExid, CameraFeatureFlag, CameraStatus, ProjectExid, ProjectFeatureFlag, ProjectStatus } from "@/types";
|
|
2
2
|
export declare enum CopilotMessageAuthor {
|
|
3
3
|
Copilot = "copilot",
|
|
4
|
-
User = "user"
|
|
4
|
+
User = "user",
|
|
5
|
+
System = "system"
|
|
5
6
|
}
|
|
6
7
|
export declare enum CopilotMessageType {
|
|
7
8
|
Text = "text",
|
|
@@ -33,12 +34,13 @@ export declare enum CopilotMissingFieldsLabels {
|
|
|
33
34
|
FromDate = "Start date",
|
|
34
35
|
ToDate = "End date"
|
|
35
36
|
}
|
|
36
|
-
export type CopilotMissingField = {
|
|
37
|
+
export type CopilotMissingField<T = any> = {
|
|
37
38
|
name: string;
|
|
38
39
|
label: string;
|
|
39
40
|
value: any;
|
|
40
41
|
type: string;
|
|
41
42
|
toolId: string;
|
|
43
|
+
error?: T;
|
|
42
44
|
};
|
|
43
45
|
export type CopilotMissingFields = Record<number, CopilotMissingField[]>;
|
|
44
46
|
export type UserConversations = CopilotConversation & {
|
|
@@ -57,7 +59,8 @@ export declare enum CopilotSocketEvent {
|
|
|
57
59
|
ChatError = "chat:chatError",
|
|
58
60
|
MissingFields = "chat:missingFields",
|
|
59
61
|
MissingFieldsCompleted = "chat:missingFields:completed",
|
|
60
|
-
SystemToolCallResponse = "system:toolCall:response"
|
|
62
|
+
SystemToolCallResponse = "system:toolCall:response",
|
|
63
|
+
ChangeProvider = "chat:changeProvider"
|
|
61
64
|
}
|
|
62
65
|
export type CopilotConversation = {
|
|
63
66
|
id: number;
|
|
@@ -118,9 +121,6 @@ export type CopilotProject = {
|
|
|
118
121
|
featureFlags?: ProjectFeatureFlag[];
|
|
119
122
|
cameras?: CopilotCamera[];
|
|
120
123
|
};
|
|
121
|
-
export type CopilotConversationContext = {
|
|
122
|
-
availableProjects: CopilotProject[];
|
|
123
|
-
};
|
|
124
124
|
export type CopilotMessageContext = {
|
|
125
125
|
pageId?: AnalyticsEventPageId;
|
|
126
126
|
selectedCamera?: CopilotCamera;
|
|
@@ -129,8 +129,8 @@ export type CopilotMessageContext = {
|
|
|
129
129
|
export type CopilotMessageStep = {
|
|
130
130
|
args: string[];
|
|
131
131
|
depth: number;
|
|
132
|
-
id
|
|
133
|
-
message_id
|
|
132
|
+
id?: number;
|
|
133
|
+
message_id?: number;
|
|
134
134
|
step: CopilotStepId;
|
|
135
135
|
timestamp: string;
|
|
136
136
|
};
|
|
@@ -154,3 +154,4 @@ export declare enum CopilotMissingFieldType {
|
|
|
154
154
|
String = "string",
|
|
155
155
|
Number = "number"
|
|
156
156
|
}
|
|
157
|
+
export type CopilotCompletedFields = Record<string, unknown>;
|
|
@@ -1,11 +1,21 @@
|
|
|
1
|
-
import { type CameraExid, type DateType, DetectionLabel, SegmentLabel, type TimelineDateInterval, TimelinePrecision } from "@/types";
|
|
1
|
+
import { type BoundingBox, type CameraExid, type DateType, DetectionLabel, SegmentLabel, type TimelineDateInterval, TimelinePrecision } from "@/types";
|
|
2
2
|
export type DetectionsFilters = {
|
|
3
3
|
cameraExid: CameraExid;
|
|
4
4
|
fromDate: string | Date;
|
|
5
5
|
toDate: string | Date;
|
|
6
6
|
labels: DetectionLabel | DetectionLabel[];
|
|
7
|
+
trackId?: number;
|
|
8
|
+
};
|
|
9
|
+
export type BBox = number[];
|
|
10
|
+
export type SelectedObjectPath = {
|
|
11
|
+
label: string;
|
|
12
|
+
trackId: string;
|
|
13
|
+
paths: Array<{
|
|
14
|
+
timestamp: number;
|
|
15
|
+
center: [number, number];
|
|
16
|
+
bbox: BBox;
|
|
17
|
+
}>;
|
|
7
18
|
};
|
|
8
|
-
export type BBox = [number, number, number, number];
|
|
9
19
|
export type Detection = {
|
|
10
20
|
bbox: BBox;
|
|
11
21
|
timestamp: string | Date;
|
|
@@ -22,9 +32,12 @@ export type SegmentsByLabel = Record<SegmentLabel, Segment[]>;
|
|
|
22
32
|
export type SegmentPolygonCoords = number[][];
|
|
23
33
|
export type Segment = {
|
|
24
34
|
id: number;
|
|
25
|
-
mask
|
|
35
|
+
mask?: SegmentPolygonCoords;
|
|
26
36
|
label: string;
|
|
27
37
|
timestamp: string | Date;
|
|
38
|
+
cameraExid?: CameraExid;
|
|
39
|
+
bbox?: BoundingBox;
|
|
40
|
+
area?: number;
|
|
28
41
|
};
|
|
29
42
|
export type SegmentSimilarityResult = {
|
|
30
43
|
distance: number;
|
|
@@ -37,17 +50,18 @@ export type SegmentsSimilaritySearchResult = {
|
|
|
37
50
|
};
|
|
38
51
|
export type SegmentsSimilaritySearchParams = {
|
|
39
52
|
cameraExid: CameraExid;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
areaTolerance: number;
|
|
53
|
+
referenceId: string;
|
|
54
|
+
iouThreshold?: number;
|
|
55
|
+
fromDate: string;
|
|
56
|
+
toDate: string;
|
|
45
57
|
};
|
|
46
58
|
export type CountsParams = {
|
|
47
59
|
cameraExid: CameraExid;
|
|
48
60
|
fromDate: string | Date;
|
|
49
61
|
toDate: string | Date;
|
|
50
|
-
precision: TimelinePrecision;
|
|
62
|
+
precision: keyof typeof TimelinePrecision;
|
|
63
|
+
trackId: number;
|
|
64
|
+
labels: DetectionLabel | DetectionLabel[];
|
|
51
65
|
};
|
|
52
66
|
export type CountByPeriod = {
|
|
53
67
|
date: string | Date;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { PaginationParams } from "@/types";
|
|
2
|
+
export declare enum HddFormat {
|
|
3
|
+
ExFat = "ExFAT",
|
|
4
|
+
HikFs = "HikFS"
|
|
5
|
+
}
|
|
6
|
+
export declare enum HddType {
|
|
7
|
+
Magnetic35 = "3.5\" Magnetic",
|
|
8
|
+
Magnetic25 = "2.5\" Magnetic",
|
|
9
|
+
Ssd25 = "2.5\" SSD"
|
|
10
|
+
}
|
|
11
|
+
export declare enum HddState {
|
|
12
|
+
Blank = "Blank",
|
|
13
|
+
InUse = "In Use",
|
|
14
|
+
ColdStorage = "Cold Storage"
|
|
15
|
+
}
|
|
16
|
+
export declare enum WarehouseLocationIndex {
|
|
17
|
+
IEWarehouse = 1,
|
|
18
|
+
Deployed = 2,
|
|
19
|
+
CustomerStorage = 3,
|
|
20
|
+
USWarehouse = 4,
|
|
21
|
+
AUWarehouse = 5,
|
|
22
|
+
UKWarehouse = 6
|
|
23
|
+
}
|
|
24
|
+
export declare enum WarehouseLocation {
|
|
25
|
+
IEWarehouse = "IE Warehouse",
|
|
26
|
+
Deployed = "Deployed",
|
|
27
|
+
CustomerStorage = "Customer Storage",
|
|
28
|
+
USWarehouse = "US Warehouse",
|
|
29
|
+
AUWarehouse = "AU Warehouse",
|
|
30
|
+
UKWarehouse = "UK Warehouse"
|
|
31
|
+
}
|
|
32
|
+
export declare enum HddSize {
|
|
33
|
+
TwoTB = "2 TB",
|
|
34
|
+
FourTB = "4 TB",
|
|
35
|
+
FiveTB = "5 TB",
|
|
36
|
+
SixTB = "6 TB",
|
|
37
|
+
EightTB = "8 TB",
|
|
38
|
+
TenTB = "10 TB"
|
|
39
|
+
}
|
|
40
|
+
export type FootageCreateUpdatePayload = {
|
|
41
|
+
cameraId: string;
|
|
42
|
+
startDate: string;
|
|
43
|
+
endDate: string;
|
|
44
|
+
};
|
|
45
|
+
export type HDDCreateUpdatePayload = {
|
|
46
|
+
size: string;
|
|
47
|
+
type: string;
|
|
48
|
+
format: string;
|
|
49
|
+
locationId: string;
|
|
50
|
+
serialNumber: string;
|
|
51
|
+
hddStatus: string;
|
|
52
|
+
shelfBlock: string;
|
|
53
|
+
};
|
|
54
|
+
export type HDDsQueryParams = PaginationParams & {
|
|
55
|
+
id: number;
|
|
56
|
+
location: string;
|
|
57
|
+
serialNumber: string;
|
|
58
|
+
shelfBlock: string;
|
|
59
|
+
format: string;
|
|
60
|
+
size: string;
|
|
61
|
+
type: string;
|
|
62
|
+
hddStatus: string;
|
|
63
|
+
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from "./devices";
|
|
|
13
13
|
export * from "./drone";
|
|
14
14
|
export * from "./errors";
|
|
15
15
|
export * from "./gateReport";
|
|
16
|
+
export * from "./hdd";
|
|
16
17
|
export * from "./ingest";
|
|
17
18
|
export * from "./map";
|
|
18
19
|
export * from "./connector";
|
|
@@ -27,7 +28,7 @@ export * from "./routeParams";
|
|
|
27
28
|
export * from "./router";
|
|
28
29
|
export * from "./shares";
|
|
29
30
|
export * from "./sim";
|
|
30
|
-
export * from "./
|
|
31
|
+
export * from "./planner";
|
|
31
32
|
export * from "./storageServers";
|
|
32
33
|
export * from "./streaming";
|
|
33
34
|
export * from "./time";
|
|
@@ -49,3 +50,6 @@ export * from "./siteAnalytics";
|
|
|
49
50
|
export * from "./widget";
|
|
50
51
|
export * from "./countries";
|
|
51
52
|
export * from "./automation";
|
|
53
|
+
export * from "./coolify";
|
|
54
|
+
export * from "./tag";
|
|
55
|
+
export * from "./xweather";
|
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",
|
|
@@ -27,7 +28,14 @@ export declare enum KitAlarm {
|
|
|
27
28
|
NvrOffline = "nvr_offline",
|
|
28
29
|
UnknownCamera = "unknown_camera",
|
|
29
30
|
NotRecordingCamera = "not_recording_camera",
|
|
30
|
-
OfflineScheduled = "offline_scheduled"
|
|
31
|
+
OfflineScheduled = "offline_scheduled",
|
|
32
|
+
FullSD = "full_sd",
|
|
33
|
+
FullStorage = "full_storage",
|
|
34
|
+
HddUnmounted = "hdd_unmounted",
|
|
35
|
+
NoHdd = "no_hdd",
|
|
36
|
+
MissingRouterInfo = "missing_router_info",
|
|
37
|
+
PowerLost = "ac_failure",
|
|
38
|
+
UpsLowBattery = "low_battery"
|
|
31
39
|
}
|
|
32
40
|
export declare enum KitMetricId {
|
|
33
41
|
BatteryStats = "battery",
|
|
@@ -236,6 +244,7 @@ export type KitQueryParams = PaginationParams & {
|
|
|
236
244
|
name: string;
|
|
237
245
|
serial: string;
|
|
238
246
|
status: KitStatus;
|
|
247
|
+
tagId: number | number[];
|
|
239
248
|
};
|
|
240
249
|
export type AdminKit = {
|
|
241
250
|
id: number;
|
package/dist/types/nvr.d.ts
CHANGED
|
@@ -3,7 +3,12 @@ export declare enum EMapTypes {
|
|
|
3
3
|
Satellite = "Satellite",
|
|
4
4
|
Street = "Street",
|
|
5
5
|
GoogleSatellite = "hybrid",
|
|
6
|
-
GoogleStreet = "roadmap"
|
|
6
|
+
GoogleStreet = "roadmap",
|
|
7
|
+
GoogleTerrain = "terrain"
|
|
8
|
+
}
|
|
9
|
+
export declare enum EMarkers {
|
|
10
|
+
CameraMarker = "cameraMarker",
|
|
11
|
+
ThreeSixtyMarker = "threeSixtyMarkers"
|
|
7
12
|
}
|
|
8
13
|
export declare enum EPageType {
|
|
9
14
|
List = "list",
|
package/dist/types/project.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export type Project = {
|
|
|
15
15
|
owner?: {
|
|
16
16
|
email?: string;
|
|
17
17
|
};
|
|
18
|
+
camerasRestrictionType?: string;
|
|
18
19
|
};
|
|
19
20
|
export declare enum ProjectStatus {
|
|
20
21
|
ToStart = "To Start",
|
|
@@ -31,6 +32,9 @@ export declare enum ProjectArchiveTier {
|
|
|
31
32
|
export type ProjectResponsePayload = {
|
|
32
33
|
data?: Project[];
|
|
33
34
|
};
|
|
35
|
+
export type UpdateCameraRestrictionPayload = {
|
|
36
|
+
isAccessRestricted?: boolean;
|
|
37
|
+
};
|
|
34
38
|
export type Logo = {
|
|
35
39
|
name: string;
|
|
36
40
|
url: string;
|
|
@@ -51,8 +55,7 @@ export declare enum ProjectFeatureFlag {
|
|
|
51
55
|
MediaHubSharing = "archives_sharing",
|
|
52
56
|
GateReportAnprBased = "anpr_sourced",
|
|
53
57
|
NoLicensePlate = "no_license_plate",
|
|
54
|
-
DefaultToProjectApp = "default_to_project_app"
|
|
55
|
-
Go = "evercam_go"
|
|
58
|
+
DefaultToProjectApp = "default_to_project_app"
|
|
56
59
|
}
|
|
57
60
|
export type ProjectBatteryReading = {
|
|
58
61
|
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",
|
|
@@ -194,7 +185,7 @@ export declare enum PtzDirection {
|
|
|
194
185
|
export type MoveParams = {
|
|
195
186
|
cameraExid: string;
|
|
196
187
|
direction: PtzDirection;
|
|
197
|
-
|
|
188
|
+
useContinuous: boolean;
|
|
198
189
|
};
|
|
199
190
|
export declare enum ZoomDirection {
|
|
200
191
|
In = "in",
|
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,
|