@evercam/api 1.0.0-55c107e01 → 1.0.0-5cc744018

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.
@@ -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;
@@ -36,7 +36,7 @@ export declare enum AnalyticsEventPageId {
36
36
  Bim = "Bim",
37
37
  Drone = "Drone",
38
38
  ThreeSixty = "360",
39
- SitePlanner = "SitePlanner",
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",
@@ -99,7 +98,8 @@ export declare enum AnalyticsEvent {
99
98
  WidgetsSettingRefreshRate = "EditRefreshRate",
100
99
  WidgetsSettingRestrictRecentImagesInput = "EditRestrictRecentImagesInput",
101
100
  WidgetsSettingToggleBIMCompareDarkMode = "ToggleBIMDarkMode",
102
- WidgetsSettingToggleBIMCompareTimeLine = "ToggleBIMCalendar",
101
+ WidgetsSettingToggleBIMCompareTimeLine = "ToggleBIMTimeline",
102
+ WidgetsSettingToggleBIMCompareCalendar = "ToggleBIMCalendar",
103
103
  WidgetsSettingToggleDownload = "ToggleDownload",
104
104
  WidgetsSettingToggleFullScreen = "ToggleFullScreen",
105
105
  WidgetsSettingTogglePlayPause = "TogglePlayPause",
@@ -334,30 +334,29 @@ export declare enum AnalyticsEvent {
334
334
  DroneVolumeToolClick = "VolumeTool-Click",
335
335
  DroneZoomIn = "ZoomIn",
336
336
  DroneZoomOut = "ZoomOut",
337
- SitePlannerAddCameraClick = "AddCameraClick",
338
- SitePlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick",
339
- SitePlannerAddSitePlanClick = "AddSitePlanClick",
340
- SitePlannerAttachSitePlanDrawing = "AttachSitePlanDrawing",
341
- SitePlannerCameraMarkerEditFOVAngle = "CameraMarker-EditFOVAngle",
342
- SitePlannerCameraMarkerEditHeading = "CameraMarker-EditHeading",
343
- SitePlannerCameraMarkerEditName = "CameraMarker-EditName",
344
- SitePlannerCameraMarkerEditRadius = "CameraMarker-EditRadius",
345
- SitePlannerCameraMarkerSelectColor = "CameraMarker-SelectColor",
346
- SitePlannerCameraMarkerToggleVisibility = "CameraMarker-ToggleVisibility",
347
- SitePlannerCameraMarkerToggleDeleteDialog = "CameraMarker-ToggleDeleteDialog",
348
- SitePlannerCancelUploadSitePlanDrawing = "CancelUploadSitePlanDrawing",
349
- SitePlannerChangeLocation = "ChangeLocation",
350
- SitePlannerOpen = "Open",
351
- SitePlannerResetView = "ResetView",
352
- SitePlannerSitePlansList = "SitePlansList",
353
- SitePlannerToggleCamerasLabel = "ToggleCamerasLabel",
354
- SitePlannerToggleFullscreen = "ToggleFullscreen",
355
- SitePlannerToggleMapStyle = "ToggleMapStyle",
356
- SitePlannerToggleRightSideMenu = "ToggleRightSideMenu",
357
- SitePlannerToggleSaveSessionDialog = "ToggleSaveSessionDialog",
358
- SitePlannerUploadSitePlanDrawing = "UploadSitePlanDrawing",
359
- SitePlannerZoomIn = "ZoomIn",
360
- SitePlannerZoomOut = "ZoomOut",
337
+ PlannerAddCameraClick = "AddCameraClick",
338
+ PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick",
339
+ PlannerAddSitePlanClick = "AddSitePlanClick",
340
+ PlannerAttachSitePlanDrawing = "AttachSitePlanDrawing",
341
+ PlannerCameraMarkerEditFOVAngle = "CameraMarker-EditFOVAngle",
342
+ PlannerCameraMarkerEditHeading = "CameraMarker-EditHeading",
343
+ PlannerCameraMarkerEditName = "CameraMarker-EditName",
344
+ PlannerCameraMarkerEditRadius = "CameraMarker-EditRadius",
345
+ PlannerCameraMarkerSelectColor = "CameraMarker-SelectColor",
346
+ PlannerCameraMarkerToggleVisibility = "CameraMarker-ToggleVisibility",
347
+ PlannerCameraMarkerToggleDeleteDialog = "CameraMarker-ToggleDeleteDialog",
348
+ PlannerCancelUploadSitePlanDrawing = "CancelUploadSitePlanDrawing",
349
+ PlannerChangeLocation = "ChangeLocation",
350
+ PlannerOpen = "Open",
351
+ PlannerResetView = "ResetView",
352
+ PlannerSitePlansList = "SitePlansList",
353
+ PlannerToggleCamerasLabel = "ToggleCamerasLabel",
354
+ PlannerToggleFullscreen = "ToggleFullscreen",
355
+ PlannerToggleMapStyle = "ToggleMapStyle",
356
+ PlannerToggleSaveSessionDialog = "ToggleSaveSessionDialog",
357
+ PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing",
358
+ PlannerZoomIn = "ZoomIn",
359
+ PlannerZoomOut = "ZoomOut",
361
360
  MarkerClicked = "MarkerClicked",
362
361
  TimelapseToggleHelpDialog = "ToggleHelpDialog",
363
362
  TimelapseSelectCustomPeriod = "SelectCustomPeriod",
@@ -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?: {
@@ -4,7 +4,6 @@ export type TimedRequest<T> = Promise<AxiosResponse<T> & {
4
4
  error?: AxiosError;
5
5
  }>;
6
6
  export type AxiosEnvironment = {
7
- isStaging?: boolean;
8
7
  baseUrl?: string | null;
9
8
  stagingAiApiUrl?: string | null;
10
9
  aiApiUrl?: string | null;
@@ -1,5 +1,5 @@
1
- import { AuditLogActionType, DateTime_Z_micros, DateType, EntityByExid, Exid, NvrDeviceType, PaginationParams, PowerSchedule, PowerType, ProjectExid, Schedule } from "@/types";
2
- export type CameraExid = Exid;
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;
@@ -185,7 +185,8 @@ export declare enum CameraFeatureFlag {
185
185
  PTZ = "ptz",
186
186
  ObjectDetection = "object_detection",
187
187
  Segmentation = "segmentation",
188
- SegmentationAutoLabelling = "segmentation_auto_labelling"
188
+ SegmentationAutoLabelling = "segmentation_auto_labelling",
189
+ PpeMonitoring = "ppe_monitoring"
189
190
  }
190
191
  export type CameraLogsRequestPayload = {
191
192
  limit: number;
@@ -227,6 +228,7 @@ export type CameraUpdateRequestPayload = {
227
228
  heading?: number;
228
229
  fovAngle?: number;
229
230
  fovRadius?: number;
231
+ featureFlags: CameraFeatureFlag[];
230
232
  };
231
233
  export type CamerasResponsePayload = {
232
234
  cameras?: Camera[];
@@ -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
+ };
@@ -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;
@@ -79,7 +82,8 @@ export declare enum CopilotSuggestion {
79
82
  GateReport = "gate_report",
80
83
  Weather = "weather",
81
84
  Clip = "clip",
82
- Timelapse = "timelapse"
85
+ Timelapse = "timelapse",
86
+ Chart = "chart"
83
87
  }
84
88
  export declare enum CopilotChatProvider {
85
89
  Gemini = "gemini",
@@ -117,9 +121,6 @@ export type CopilotProject = {
117
121
  featureFlags?: ProjectFeatureFlag[];
118
122
  cameras?: CopilotCamera[];
119
123
  };
120
- export type CopilotConversationContext = {
121
- availableProjects: CopilotProject[];
122
- };
123
124
  export type CopilotMessageContext = {
124
125
  pageId?: AnalyticsEventPageId;
125
126
  selectedCamera?: CopilotCamera;
@@ -128,8 +129,8 @@ export type CopilotMessageContext = {
128
129
  export type CopilotMessageStep = {
129
130
  args: string[];
130
131
  depth: number;
131
- id: number;
132
- message_id: number;
132
+ id?: number;
133
+ message_id?: number;
133
134
  step: CopilotStepId;
134
135
  timestamp: string;
135
136
  };
@@ -153,3 +154,4 @@ export declare enum CopilotMissingFieldType {
153
154
  String = "string",
154
155
  Number = "number"
155
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: SegmentPolygonCoords;
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
- segmentId: number;
41
- leftInterval: TimelineDateInterval;
42
- rightInterval: TimelineDateInterval;
43
- maxDistance: number;
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;
@@ -40,7 +40,56 @@ export declare enum DetectionLabel {
40
40
  TruckMixer = "truck-mixer",
41
41
  TruckMountedMobileCrane = "truck-mounted-mobile-crane",
42
42
  Unknown = "unknown",
43
- Worker = "worker"
43
+ Worker = "worker",
44
+ Rubble = "rubble",
45
+ Puddle = "puddle",
46
+ DirtGravelCementPile = "dirt_gravel_cement_pile",
47
+ DetachedExcavatorBucket = "detached_excavator_bucket",
48
+ IntermediateBulkContainer = "intermediate_bulk_container",
49
+ WoodenPallet = "wooden_pallet",
50
+ ShippingContainer = "shipping_container",
51
+ AirCompressor = "air_compressor",
52
+ DryMortarSilo = "dry_mortar_silo",
53
+ Fence = "fence",
54
+ Brick = "brick",
55
+ Barrel = "barrel",
56
+ Cardboard = "cardboard",
57
+ CardboardBox = "cardboard_box",
58
+ CementBag = "cement_bag",
59
+ ConcreteBlock = "concrete_block",
60
+ ConcretePipe = "concrete_pipe",
61
+ ConcreteSlab = "concrete_slab",
62
+ PlasticWrap = "plastic_wrap",
63
+ ContainerOffice = "container_office",
64
+ ElectricalPole = "electrical_pole",
65
+ ElectricalBox = "electrical_box",
66
+ FireHydrant = "fire_hydrant",
67
+ HoseReel = "hose_reel",
68
+ Ladder = "ladder",
69
+ MetalBeam = "metal_beam",
70
+ MetalPipe = "metal_pipe",
71
+ Pallet = "pallet",
72
+ Pillar = "pillar",
73
+ PlasticBin = "plastic_bin",
74
+ PlasticBucket = "plastic_bucket",
75
+ PlasticPipe = "plastic_pipe",
76
+ PublicToilet = "public_toilet",
77
+ Sign = "sign",
78
+ SiteToolbox = "site_toolbox",
79
+ StreetSink = "street_sink",
80
+ TrafficBarrier = "traffic_barrier",
81
+ TrafficCone = "traffic_cone",
82
+ Wall = "wall",
83
+ WasteContainer = "waste_container",
84
+ WaterStorageTank = "water_storage_tank",
85
+ Wheelbarrow = "wheelbarrow",
86
+ Window = "window",
87
+ WoodPlank = "wood_plank",
88
+ CableReel = "cable_reel",
89
+ AirConditioningSystem = "air_conditioning_system",
90
+ WoodenBox = "wooden_box",
91
+ PlasticBag = "plastic_bag",
92
+ MaterialStack = "material_stack"
44
93
  }
45
94
  export declare enum SegmentLabel {
46
95
  AirCompressor = "air_compressor",
@@ -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
+ };
@@ -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 "./sitePlanner";
31
+ export * from "./planner";
31
32
  export * from "./storageServers";
32
33
  export * from "./streaming";
33
34
  export * from "./time";
@@ -49,3 +50,5 @@ 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";
@@ -1,5 +1,6 @@
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
+ alarms: KitAlarm[];
3
4
  countryCode: CountryCode;
4
5
  countryId: CountryId;
5
6
  countryName: string;
@@ -14,18 +15,36 @@ export type Kit = {
14
15
  router: Partial<Router>;
15
16
  serial: string;
16
17
  status: KitStatus;
18
+ powerSchedule: Schedule;
19
+ tags: Tag[];
17
20
  };
18
21
  export declare enum KitStatus {
19
22
  New = "new",
20
23
  Active = "active",
21
24
  Deployed = "deployed",
22
- OfflineScheduled = "offline_scheduled",
23
25
  Decommissioned = "decommissioned"
24
26
  }
25
27
  export declare enum KitAlarm {
26
28
  NvrOffline = "nvr_offline",
27
29
  UnknownCamera = "unknown_camera",
28
- NotRecordingCamera = "not_recording_camera"
30
+ NotRecordingCamera = "not_recording_camera",
31
+ OfflineScheduled = "offline_scheduled",
32
+ FullSD = "full_sd",
33
+ FullStorage = "full_storage",
34
+ HddUnmounted = "hdd_unmounted",
35
+ NoHdd = "no_hdd"
36
+ }
37
+ export declare enum KitMetricId {
38
+ BatteryStats = "battery",
39
+ PanelPowerStats = "panel_power"
40
+ }
41
+ export declare enum KitMetricPeriod {
42
+ Last15Minutes = "now-15m",
43
+ Last1Hour = "now-1h",
44
+ Last24Hours = "now-24h",
45
+ Last7Days = "now-7d",
46
+ Last30Days = "now-30d",
47
+ Last90Days = "now-90d"
29
48
  }
30
49
  export declare enum GrafanaMetricId {
31
50
  SbcCpuLoad = "SbcCpuLoad",
@@ -73,7 +92,7 @@ export declare enum GrafanaMetricId {
73
92
  ExNvrMemoryUsage = "ExNvrMemoryUsage",
74
93
  ExNvrLogs = "ExNvrLogs"
75
94
  }
76
- export declare enum GrafanaChartType {
95
+ export declare enum KitChartType {
77
96
  Stat = "stat",
78
97
  Gauge = "gauge",
79
98
  Graph = "graph",
@@ -100,7 +119,7 @@ export type GrafanaPanel = {
100
119
  name: keyof GrafanaMetricId;
101
120
  title: string;
102
121
  description: string;
103
- type: GrafanaChartType;
122
+ type: KitChartType;
104
123
  datasource: GrafanaDataSource;
105
124
  targets: GrafanaTarget[];
106
125
  maxDataPoints?: number;
@@ -197,21 +216,32 @@ export type GrafanaFrame = {
197
216
  nanos?: Array<number[] | null>;
198
217
  };
199
218
  };
219
+ export type KitMetricData = {
220
+ type: KitChartType;
221
+ chartProps?: Record<string, unknown>;
222
+ };
200
223
  export type GrafanaQueryResult = {
201
224
  status: number;
202
225
  frames: GrafanaFrame[];
203
226
  };
204
- export type GrafanaMetricResponse = {
227
+ export type GrafanaMetricData = KitMetricData & {
205
228
  results: {
206
229
  [key: string]: GrafanaQueryResult;
207
230
  };
208
- type: GrafanaChartType;
209
231
  };
210
- export type GrafanaKitMetrics = Record<keyof typeof GrafanaMetricId, GrafanaMetricResponse>;
232
+ export type EvercamMetricData = KitMetricData & {
233
+ stats: EvercamStats[];
234
+ };
235
+ export type GrafanaKitMetrics = Record<keyof typeof GrafanaMetricId, GrafanaMetricData>;
236
+ export type EvercamStats = {
237
+ [k: string]: number | string;
238
+ timestamp: string;
239
+ };
211
240
  export type KitQueryParams = PaginationParams & {
212
241
  name: string;
213
242
  serial: string;
214
243
  status: KitStatus;
244
+ tagId: number | number[];
215
245
  };
216
246
  export type AdminKit = {
217
247
  id: number;
@@ -14,7 +14,8 @@ export type Nvr = {
14
14
  export declare enum NvrDeviceType {
15
15
  Rpi4 = "rpi4",
16
16
  Rpi5 = "rpi5",
17
- OrinNano = "orin_nano"
17
+ OrinNano = "orin_nano",
18
+ Giraffe = "giraffe"
18
19
  }
19
20
  export declare enum NvrHddStatus {
20
21
  Error = "error",
@@ -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",
@@ -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;
@@ -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
- isRecordingFromNvr: boolean;
188
+ useContinuous: boolean;
198
189
  };
199
190
  export declare enum ZoomDirection {
200
191
  In = "in",