@evercam/api 1.0.0-fbf4f4d51 → 1.0.0-ff3128bbe
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/api/adminApi.d.ts +29 -2
- package/dist/api/api/aiApi.d.ts +53 -49
- package/dist/api/api/evercamApi.d.ts +45 -3
- package/dist/api/api/evercamLabsApi.d.ts +1 -2
- package/dist/api/api/exNvrApi.d.ts +1 -1
- package/dist/api/api/ingestApi.d.ts +44 -41
- package/dist/api/types/analytics.d.ts +62 -44
- package/dist/api/types/anpr.d.ts +11 -0
- package/dist/api/types/authz.d.ts +1 -0
- package/dist/api/types/automation.d.ts +11 -2
- package/dist/api/types/axios.d.ts +2 -2
- package/dist/api/types/camera.d.ts +9 -2
- package/dist/api/types/connector.d.ts +1 -0
- package/dist/api/types/coolify.d.ts +18 -2
- package/dist/api/types/copilot.d.ts +10 -5
- package/dist/api/types/detections.d.ts +4 -1
- package/dist/api/types/drone.d.ts +1 -0
- package/dist/api/types/gateReport.d.ts +16 -24
- package/dist/api/types/index.d.ts +4 -1
- package/dist/api/types/ingest.d.ts +16 -1
- package/dist/api/types/media.d.ts +1 -0
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/planner.d.ts +44 -0
- package/dist/api/types/progressPhoto.d.ts +2 -1
- package/dist/api/types/project.d.ts +29 -2
- package/dist/api/types/recording.d.ts +1 -2
- package/dist/api/types/ring.d.ts +53 -0
- package/dist/api/types/siteAnalytics.d.ts +4 -14
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +35 -3
- package/dist/api/types/storageProvider.d.ts +19 -0
- package/dist/api/types/timelapse.d.ts +2 -1
- package/dist/api/types/user.d.ts +0 -1
- package/dist/index.js +1017 -855
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/shared/types/components.d.ts +35 -2
- package/dist/shared/types/imagePlayer.d.ts +1 -1
- package/dist/shared/types/index.d.ts +1 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/package.json +2 -2
- package/dist/api/types/storageServers.d.ts +0 -4
|
@@ -261,11 +261,6 @@ export declare enum AnalyticsEvent {
|
|
|
261
261
|
MarkUpToolSendToConnectorProcoreObservations = "MarkUpTool-SendToConnector-Procore-Observations",
|
|
262
262
|
MarkUpToolSendToConnectorAconex = "MarkUpTool-SendToConnector-Aconex",
|
|
263
263
|
MarkUpToolSendToConnectorAutodesk = "MarkUpTool-SendToConnector-Autodesk",
|
|
264
|
-
AiToolToggleBrainToolsMenu = "AITool-ToggleBrainToolsMenu",
|
|
265
|
-
AiToolSelectObjectDetection = "AITool-SelectObjectDetection",
|
|
266
|
-
AiToolSelectAskChatGpt = "AITool-SelectAskChatGpt",
|
|
267
|
-
AiToolSelectSegmentation = "AITool-SelectSegmentation",
|
|
268
|
-
AiToolUpdateTransparency = "AITool-UpdateTransparency",
|
|
269
264
|
RecordingsCancelExportDialog = "CancelExportDialog",
|
|
270
265
|
RecordingsClickSupportLink = "ClickSupportLink",
|
|
271
266
|
RecordingsCreateClip = "CreateClip",
|
|
@@ -295,7 +290,6 @@ export declare enum AnalyticsEvent {
|
|
|
295
290
|
ThreeSixtyGalleryTimelineSelectMilestoneItem = "Gallery-TimelineSelectMilestoneItem",
|
|
296
291
|
ThreeSixtyGalleryTimelineDateClick = "Gallery-TimelineDateClick",
|
|
297
292
|
ThreeSixtyGalleryToggleUploadDialog = "Gallery-ToggleUploadDialog",
|
|
298
|
-
ThreeSixtyGalleryToggleFilters = "Gallery-ToggleFilters",
|
|
299
293
|
ThreeSixtyGalleryUpdateFloorName = "Gallery-UpdateFloorName",
|
|
300
294
|
ThreeSixtyGalleryEditWalkName = "Gallery-EditWalkName",
|
|
301
295
|
ThreeSixtyChangeDate = "ChangeDate",
|
|
@@ -363,6 +357,8 @@ export declare enum AnalyticsEvent {
|
|
|
363
357
|
DroneToggleBimCompareTool = "ToggleBimCompareTool",
|
|
364
358
|
DroneToggleFullScreen = "ToggleFullScreen",
|
|
365
359
|
DroneToggleMapStyle = "ToggleMapStyle",
|
|
360
|
+
DroneTogglePointCloud = "TogglePointCloud",
|
|
361
|
+
DroneToggleGaussianSplat = "ToggleGaussianSplat",
|
|
366
362
|
DroneToggleQualityMode = "ChooseQuality",
|
|
367
363
|
DroneToggleSideMenu = "ToggleSideMenu",
|
|
368
364
|
DroneToggleImageryPlan = "ToggleImageryPlan",
|
|
@@ -377,6 +373,7 @@ export declare enum AnalyticsEvent {
|
|
|
377
373
|
DroneUnarchiveComment = "UnarchiveComment",
|
|
378
374
|
DroneArchiveComment = "ArchiveComment",
|
|
379
375
|
DroneDeleteComment = "DeleteComment",
|
|
376
|
+
DroneSaveAerialShot = "SaveAerialShot",
|
|
380
377
|
PlannerAddCameraClick = "AddCameraClick",
|
|
381
378
|
PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick",
|
|
382
379
|
PlannerAddSitePlanClick = "AddSitePlanClick",
|
|
@@ -408,7 +405,6 @@ export declare enum AnalyticsEvent {
|
|
|
408
405
|
DrawingClickHome = "ClickHome",
|
|
409
406
|
DrawingsUploadDrawing = "UploadDrawing",
|
|
410
407
|
DrawingsCreateDrawing = "CreateDrawing",
|
|
411
|
-
DrawingToggleFilter = "ToggleFilter",
|
|
412
408
|
DrawingToggleMapStyle = "ToggleMapStyle",
|
|
413
409
|
DrawingToggleMapLabels = "ToggleMapLabels",
|
|
414
410
|
DrawingToggleCamerasLabels = "ToggleCamerasLabels",
|
|
@@ -436,37 +432,6 @@ export declare enum AnalyticsEvent {
|
|
|
436
432
|
TimelapseGoToMediaHub = "GoToMediaHub",
|
|
437
433
|
TimelapseToggleUploadLogoDialog = "ToggleUploadLogoDialog",
|
|
438
434
|
TimelapseUploadLogo = "UploadLogo",
|
|
439
|
-
ProgressPhotoCancelPause = "ProgressPhoto-CancelPause",
|
|
440
|
-
ProgressPhotoCancelResume = "ProgressPhoto-CancelResume",
|
|
441
|
-
ProgressPhotoCancelDelete = "ProgressPhoto-CancelDelete",
|
|
442
|
-
ProgressPhotoCreate = "ProgressPhoto-Create",
|
|
443
|
-
ProgressPhotoDelete = "ProgressPhoto-Delete",
|
|
444
|
-
ProgressPhotoEdit = "ProgressPhoto-Edit",
|
|
445
|
-
ProgressPhotoEditCamerasFilter = "ProgressPhoto-EditCamerasFilter",
|
|
446
|
-
ProgressPhotoEditDaysFilter = "ProgressPhoto-EditDaysFilter",
|
|
447
|
-
ProgressPhotoEditProjectsFilter = "ProgressPhoto-EditProjectsFilter",
|
|
448
|
-
ProgressPhotoEditSearchFilter = "ProgressPhoto-EditSearchFilter",
|
|
449
|
-
ProgressPhotoEditStatusFilter = "ProgressPhoto-EditStatusFilter",
|
|
450
|
-
ProgressPhotoEditUsersFilter = "ProgressPhoto-EditUsersFilter",
|
|
451
|
-
ProgressPhotoFiltersClicked = "ProgressPhoto-FiltersClicked",
|
|
452
|
-
ProgressPhotoPause = "ProgressPhoto-Pause",
|
|
453
|
-
ProgressPhotoResume = "ProgressPhoto-Resume",
|
|
454
|
-
ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete",
|
|
455
|
-
ProgressPhotoSelectType = "ProgressPhoto-SelectType",
|
|
456
|
-
ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras",
|
|
457
|
-
ProgressPhotoToggleSelectAllOnlineCameras = "ProgressPhoto-ToggleSelectAllOnlineCameras",
|
|
458
|
-
ProgressPhotoToggleSelectAllCameras = "ProgressPhoto-ToggleSelectAllCameras",
|
|
459
|
-
ProgressPhotoClearAllCameras = "ProgressPhoto-ClearAllCameras",
|
|
460
|
-
ProgressPhotoEditCamerasSearchFilter = "ProgressPhoto-EditCamerasSearchFilter",
|
|
461
|
-
ProgressPhotoSelectDays = "ProgressPhoto-SelectDays",
|
|
462
|
-
ProgressPhotoSelectMember = "ProgressPhoto-SelectMember",
|
|
463
|
-
ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider",
|
|
464
|
-
ProgressPhotoSelectTime = "ProgressPhoto-SelectTime",
|
|
465
|
-
ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone",
|
|
466
|
-
ProgressPhotoEditSelectedCameras = "ProgressPhoto-EditSelectedCameras",
|
|
467
|
-
ProgressPhotoToggleCreateDialog = "ProgressPhoto-ToggleCreateDialog",
|
|
468
|
-
ProgressPhotoToggleEditDialog = "ProgressPhoto-ToggleEditDialog",
|
|
469
|
-
ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser",
|
|
470
435
|
MapViewChooseSatellite = "MapView-ChooseSatellite",
|
|
471
436
|
MapViewChooseTerrain = "MapView-ChooseMap",
|
|
472
437
|
MapViewClickCameraLink = "MapView-ClickCameraLink",
|
|
@@ -483,10 +448,15 @@ export declare enum AnalyticsEvent {
|
|
|
483
448
|
ProjectSettingsCameraSettingsSaveCameraName = "SaveCameraName",
|
|
484
449
|
ProjectSettingsMembersApplyCamerasFilter = "ApplyCamerasFilter",
|
|
485
450
|
ProjectSettingsMembersApplySearchFilter = "ApplySearchFilter",
|
|
451
|
+
ProjectSettingsMembersViewRoleInfo = "ViewRoleInfo",
|
|
452
|
+
ProjectSettingsMembersViewMemberInfo = "ViewMemberInfo",
|
|
453
|
+
ProjectSettingsMembersBulkRemove = "BulkRemove",
|
|
454
|
+
ProjectSettingsMembersInviteSent = "InviteSent",
|
|
455
|
+
ProjectSettingsMembersRejectInvite = "RejectInvite",
|
|
486
456
|
ProjectSettingsMembersAddMember = "AddMember",
|
|
457
|
+
ProjectSettingsMembersBulkRoleUpdate = "BulkRoleUpdate",
|
|
487
458
|
ProjectSettingsMembersDeleteCameraAccess = "DeleteCameraAccess",
|
|
488
459
|
ProjectSettingsMembersEditCameraAccess = "EditCameraAccess",
|
|
489
|
-
ProjectSettingsMembersFiltersClick = "FiltersClick",
|
|
490
460
|
ProjectSettingsMembersShareCamera = "ShareCamera",
|
|
491
461
|
ProjectSettingsMembersToggleAddDialog = "ToggleAddDialog",
|
|
492
462
|
ProjectSettingsOverviewOpenInMapView = "OpenInMapView",
|
|
@@ -538,8 +508,29 @@ export declare enum AnalyticsEvent {
|
|
|
538
508
|
ExportPdf = "ExportPdf",
|
|
539
509
|
ExportCsv = "ExportCsv",
|
|
540
510
|
FilterCameras = "FilterCameras",
|
|
511
|
+
ProgressPhotoCancelPause = "ProgressPhoto-CancelPause",
|
|
512
|
+
ProgressPhotoCancelResume = "ProgressPhoto-CancelResume",
|
|
513
|
+
ProgressPhotoCancelDelete = "ProgressPhoto-CancelDelete",
|
|
514
|
+
ProgressPhotoCreate = "ProgressPhoto-Create",
|
|
515
|
+
ProgressPhotoDelete = "ProgressPhoto-Delete",
|
|
516
|
+
ProgressPhotoEdit = "ProgressPhoto-Edit",
|
|
517
|
+
ProgressPhotoPause = "ProgressPhoto-Pause",
|
|
518
|
+
ProgressPhotoResume = "ProgressPhoto-Resume",
|
|
519
|
+
ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete",
|
|
520
|
+
ProgressPhotoSelectType = "ProgressPhoto-SelectType",
|
|
521
|
+
ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras",
|
|
522
|
+
ProgressPhotoToggleSelectAllOnlineCameras = "ProgressPhoto-ToggleSelectAllOnlineCameras",
|
|
523
|
+
ProgressPhotoToggleSelectAllCameras = "ProgressPhoto-ToggleSelectAllCameras",
|
|
524
|
+
ProgressPhotoClearAllCameras = "ProgressPhoto-ClearAllCameras",
|
|
525
|
+
ProgressPhotoEditCamerasSearchFilter = "ProgressPhoto-EditCamerasSearchFilter",
|
|
526
|
+
ProgressPhotoSelectDays = "ProgressPhoto-SelectDays",
|
|
527
|
+
ProgressPhotoSelectMember = "ProgressPhoto-SelectMember",
|
|
528
|
+
ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider",
|
|
529
|
+
ProgressPhotoSelectTime = "ProgressPhoto-SelectTime",
|
|
530
|
+
ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone",
|
|
531
|
+
ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser",
|
|
541
532
|
CompareSelectProvider = "Compare-SelectProvider",
|
|
542
|
-
|
|
533
|
+
CompareSelectCameras = "Compare-SelectCameras",
|
|
543
534
|
CompareEdit = "Compare-Edit",
|
|
544
535
|
CompareSelectTimezone = "Compare-SelectTimezone",
|
|
545
536
|
CompareSelectMember = "Compare-SelectMember",
|
|
@@ -547,12 +538,32 @@ export declare enum AnalyticsEvent {
|
|
|
547
538
|
CompareToggleSelectAllCameras = "Compare-ToggleSelectAllCameras",
|
|
548
539
|
CompareClearAllCameras = "Compare-ClearAllCameras",
|
|
549
540
|
CompareEditCamerasSearchFilter = "Compare-EditCamerasSearchFilter",
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
541
|
+
CompareSelectType = "Compare-SelectType",
|
|
542
|
+
CompareCreate = "Compare-Create",
|
|
543
|
+
AutomationsEditSearchFilter = "EditSearchFilter",
|
|
544
|
+
AutomationsEditStatusFilter = "EditStatusFilter",
|
|
545
|
+
AutomationsEditUsersFilter = "EditUsersFilter",
|
|
546
|
+
AutomationsEditDaysFilter = "EditDaysFilter",
|
|
547
|
+
AutomationsEditCamerasFilter = "EditCamerasFilter",
|
|
553
548
|
AutomationToggleEditDialog = "ToggleEditDialog",
|
|
554
549
|
AutomationToggleCreateDialog = "ToggleCreateDialog",
|
|
555
550
|
AutomationTypeName = "TypeName",
|
|
551
|
+
GateReportSelectType = "GateReport-SelectType",
|
|
552
|
+
GateReportToggleSelectAllCameras = "GateReport-ToggleSelectAllCameras",
|
|
553
|
+
GateReportToggleSelectAllOnlineCameras = "GateReport-ToggleSelectAllOnlineCameras",
|
|
554
|
+
GateReportToggleClearAllCameras = "GateReport-ClearAllCameras",
|
|
555
|
+
GateReportEditCamerasSearchFilter = "GateReport-EditCamerasSearchFilter",
|
|
556
|
+
GateReportSelectDays = "GateReport-SelectDays",
|
|
557
|
+
GateReportSelectTime = "GateReport-SelectTime",
|
|
558
|
+
GateReportSelectTimezone = "GateReport-SelectTimezone",
|
|
559
|
+
GateReportSelectVehicleTypes = "GateReport-SelectVehicleTypes",
|
|
560
|
+
GateReportSelectColumn = "GateReport-SelectColumn",
|
|
561
|
+
GateReportSelectPeriod = "GateReport-SelectPeriod",
|
|
562
|
+
GateReportSelectExportType = "GateReport-SelectExportType",
|
|
563
|
+
GateReportSelectMember = "GateReport-SelectMember",
|
|
564
|
+
GateReportSelectCameras = "GateReport-SelectCameras",
|
|
565
|
+
GateReportCreate = "GateReport-Create",
|
|
566
|
+
GateReportEdit = "GateReport-Edit",
|
|
556
567
|
CompareSelectDays = "Compare-SelectDays",
|
|
557
568
|
CompareSelectDelay = "Compare-SelectDelay",
|
|
558
569
|
CompareSelectTime = "Compare-SelectTime",
|
|
@@ -575,5 +586,12 @@ export declare enum AnalyticsEvent {
|
|
|
575
586
|
SmartSearchSaveQuery = "SmartSearch-SaveQuery",
|
|
576
587
|
SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay",
|
|
577
588
|
SmartSearchExportFile = "SmartSearch-ExportFile",
|
|
578
|
-
SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage"
|
|
589
|
+
SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage",
|
|
590
|
+
AskAIClickAskAI = "AskAI-ClickAskAI",
|
|
591
|
+
AskAIClickExpand = "AskAI-ClickExpand",
|
|
592
|
+
AskAIClickCollapse = "AskAI-ClickCollapse",
|
|
593
|
+
AskAIClickVoice = "AskAI-ClickVoice",
|
|
594
|
+
AskAIClickFullscreen = "AskAI-ClickFullscreen",
|
|
595
|
+
AskAIExitFullscreen = "AskAI-ExitFullscreen",
|
|
596
|
+
AskAICloseChat = "AskAI-CloseChat"
|
|
579
597
|
}
|
package/dist/api/types/anpr.d.ts
CHANGED
|
@@ -101,3 +101,14 @@ export declare enum AnprEventStatus {
|
|
|
101
101
|
IsDuplicate = "is_duplicate",
|
|
102
102
|
NotDuplicate = "not_duplicate"
|
|
103
103
|
}
|
|
104
|
+
export type AnprBulkUpdateRequestPayload = {
|
|
105
|
+
anprEventsIds: number[];
|
|
106
|
+
action: AnprEventStatus;
|
|
107
|
+
updatedBy: string;
|
|
108
|
+
};
|
|
109
|
+
export type AnprUpdateRequestPayload = {
|
|
110
|
+
plateNumber: string;
|
|
111
|
+
vehicleType: GateReportVehicleType;
|
|
112
|
+
direction: AnprDirection;
|
|
113
|
+
updatedBy: string;
|
|
114
|
+
};
|
|
@@ -7,7 +7,8 @@ export declare enum AutomationProvider {
|
|
|
7
7
|
}
|
|
8
8
|
export declare enum AutomationType {
|
|
9
9
|
Photo = "photo",
|
|
10
|
-
Compare = "compare"
|
|
10
|
+
Compare = "compare",
|
|
11
|
+
GateReport = "gate_report"
|
|
11
12
|
}
|
|
12
13
|
export type AutomationCompareConfig = {
|
|
13
14
|
compareDelay: number;
|
|
@@ -15,6 +16,14 @@ export type AutomationCompareConfig = {
|
|
|
15
16
|
export type AutomationEmailRecipient = string | {
|
|
16
17
|
email: string;
|
|
17
18
|
};
|
|
19
|
+
export type AutomationGateReportConfig = {
|
|
20
|
+
projectExid: string;
|
|
21
|
+
vehicleTypes: string[];
|
|
22
|
+
fileType: string;
|
|
23
|
+
period: number;
|
|
24
|
+
columns: string[];
|
|
25
|
+
recipients: string | string[];
|
|
26
|
+
};
|
|
18
27
|
export type AutomationEmailProviderConfig = {
|
|
19
28
|
cameraExids?: CameraExid[];
|
|
20
29
|
recipients: string | AutomationEmailRecipient[];
|
|
@@ -42,7 +51,7 @@ export type AutomationAutodeskProviderConfig = {
|
|
|
42
51
|
folderName: string;
|
|
43
52
|
};
|
|
44
53
|
export type AutomationProviderConfig = AutomationEmailProviderConfig | AutomationProcoreProviderConfig | AutomationAconexProviderConfig | AutomationAutodeskProviderConfig;
|
|
45
|
-
export type AutomationOptionsConfig = AutomationCompareConfig | {};
|
|
54
|
+
export type AutomationOptionsConfig = AutomationCompareConfig | AutomationGateReportConfig | {};
|
|
46
55
|
export type AutomationConfig = AutomationProviderConfig & AutomationOptionsConfig;
|
|
47
56
|
export type Automation = {
|
|
48
57
|
id?: number;
|
|
@@ -8,8 +8,8 @@ export type AxiosEnvironment = {
|
|
|
8
8
|
baseUrl?: string | null;
|
|
9
9
|
stagingAiApiUrl?: string | null;
|
|
10
10
|
aiApiUrl?: string | null;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
ingestDroneApi?: string | null;
|
|
12
|
+
ingest360Api?: string | null;
|
|
13
13
|
ingestGpuApiUrl?: string | null;
|
|
14
14
|
posthogApiUrl?: string | null;
|
|
15
15
|
posthogProjectId?: string | null;
|
|
@@ -17,6 +17,7 @@ export type Camera = {
|
|
|
17
17
|
status: string;
|
|
18
18
|
storageDuration: string;
|
|
19
19
|
};
|
|
20
|
+
liveViewFrequency: number | null;
|
|
20
21
|
createdAt: string;
|
|
21
22
|
description: string | null;
|
|
22
23
|
discoverable: boolean;
|
|
@@ -154,6 +155,7 @@ export type AdminCamera = {
|
|
|
154
155
|
cloudRecordingStatus?: string | null;
|
|
155
156
|
cloudRecordingSchedule?: ScheduleLowercase | null;
|
|
156
157
|
cloudRecordingStorageDuration?: number | null;
|
|
158
|
+
liveViewFrequency?: number | null;
|
|
157
159
|
anprSources?: string[];
|
|
158
160
|
storageProviders?: string[];
|
|
159
161
|
featureFlags?: CameraFeatureFlag[];
|
|
@@ -206,7 +208,10 @@ export declare enum CameraFeatureFlag {
|
|
|
206
208
|
ObjectDetection = "object_detection",
|
|
207
209
|
Segmentation = "segmentation",
|
|
208
210
|
SegmentationAutoLabelling = "segmentation_auto_labelling",
|
|
209
|
-
PpeMonitoring = "ppe_monitoring"
|
|
211
|
+
PpeMonitoring = "ppe_monitoring",
|
|
212
|
+
NoLiveView = "no_live_view",
|
|
213
|
+
Ring = "ring",
|
|
214
|
+
CloudOnly = "cloud_only"
|
|
210
215
|
}
|
|
211
216
|
export type CameraLogsRequestPayload = {
|
|
212
217
|
limit: number;
|
|
@@ -250,6 +255,7 @@ export type CameraUpdateRequestPayload = {
|
|
|
250
255
|
fovRadius?: number;
|
|
251
256
|
featureFlags: CameraFeatureFlag[];
|
|
252
257
|
isAccessRestricted?: boolean;
|
|
258
|
+
liveViewFrequency?: number | null;
|
|
253
259
|
};
|
|
254
260
|
export type CamerasResponsePayload = {
|
|
255
261
|
cameras?: Camera[];
|
|
@@ -311,7 +317,8 @@ export declare enum CameraModel {
|
|
|
311
317
|
Hikvision = "hikvision",
|
|
312
318
|
Avigilion = "avigilion",
|
|
313
319
|
Hanwha = "hanwha",
|
|
314
|
-
Other = "other"
|
|
320
|
+
Other = "other",
|
|
321
|
+
Ring = "ring"
|
|
315
322
|
}
|
|
316
323
|
export type DroneCameraTransform = {
|
|
317
324
|
position: Cartesian3;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { DateType } from "@evercam/api/types
|
|
1
|
+
import { CameraExid, DateType, ProjectExid } from "@evercam/api/types";
|
|
2
2
|
export type CreateCoolifyAppRequestPayload = {
|
|
3
|
-
cameraExid: string;
|
|
4
3
|
startDate: DateType;
|
|
5
4
|
modelVersion: string;
|
|
6
5
|
snapshotRequestTimeout: string | number;
|
|
@@ -18,3 +17,20 @@ export type SaveCoolifyAppRequestPayload = {
|
|
|
18
17
|
serverUuid: string;
|
|
19
18
|
useThirdParty: boolean;
|
|
20
19
|
};
|
|
20
|
+
export type CoolifyApp = {
|
|
21
|
+
id: number;
|
|
22
|
+
projectExid: ProjectExid;
|
|
23
|
+
anprCameraExid: CameraExid;
|
|
24
|
+
contextCameraExid: CameraExid;
|
|
25
|
+
modelVersion: string;
|
|
26
|
+
isActive: boolean;
|
|
27
|
+
insertedAt: DateType;
|
|
28
|
+
updatedAt: DateType;
|
|
29
|
+
};
|
|
30
|
+
export type RegisterCoolifyAppResponsePayload = {
|
|
31
|
+
created: boolean;
|
|
32
|
+
id: number;
|
|
33
|
+
data: CoolifyApp;
|
|
34
|
+
count: number;
|
|
35
|
+
message: string;
|
|
36
|
+
};
|
|
@@ -26,7 +26,9 @@ export declare enum CopilotStepId {
|
|
|
26
26
|
CompletedFieldsResponse = "completed_fields_response",
|
|
27
27
|
SendRawToolCallResponse = "send_raw_tool_call_response",
|
|
28
28
|
SubmitToolOutputsToLLM = "submit_tool_outputs_to_llm",
|
|
29
|
-
CancelCall = "cancel_call"
|
|
29
|
+
CancelCall = "cancel_call",
|
|
30
|
+
RequestAgentCall = "request_agent_call",
|
|
31
|
+
ExecAgentCall = "exec_agent_call"
|
|
30
32
|
}
|
|
31
33
|
export declare enum CopilotMissingFieldsLabels {
|
|
32
34
|
ProjectExid = "Project",
|
|
@@ -34,10 +36,10 @@ export declare enum CopilotMissingFieldsLabels {
|
|
|
34
36
|
FromDate = "Start date",
|
|
35
37
|
ToDate = "End date"
|
|
36
38
|
}
|
|
37
|
-
export type CopilotMissingField<T =
|
|
39
|
+
export type CopilotMissingField<T = unknown> = {
|
|
38
40
|
name: string;
|
|
39
41
|
label: string;
|
|
40
|
-
value:
|
|
42
|
+
value: unknown;
|
|
41
43
|
type: string;
|
|
42
44
|
toolId: string;
|
|
43
45
|
error?: T;
|
|
@@ -83,7 +85,8 @@ export declare enum CopilotSuggestion {
|
|
|
83
85
|
Weather = "weather",
|
|
84
86
|
Clip = "clip",
|
|
85
87
|
Timelapse = "timelapse",
|
|
86
|
-
Chart = "chart"
|
|
88
|
+
Chart = "chart",
|
|
89
|
+
SmartSearch = "smart_search"
|
|
87
90
|
}
|
|
88
91
|
export declare enum CopilotChatProvider {
|
|
89
92
|
Gemini = "gemini",
|
|
@@ -101,12 +104,14 @@ export declare enum CopilotToolId {
|
|
|
101
104
|
NavigateToPage = "navigateToPage",
|
|
102
105
|
CreateTimelapse = "createTimelapse",
|
|
103
106
|
RequestMissingFields = "requestMissingFields",
|
|
104
|
-
RenderCharts = "renderCharts"
|
|
107
|
+
RenderCharts = "renderCharts",
|
|
108
|
+
SmartSearch = "smartSearch"
|
|
105
109
|
}
|
|
106
110
|
export type CopilotSystemToolCallResponse<I = unknown, O = unknown> = {
|
|
107
111
|
toolId?: CopilotToolId;
|
|
108
112
|
input?: I;
|
|
109
113
|
output?: O;
|
|
114
|
+
isAgent?: boolean;
|
|
110
115
|
};
|
|
111
116
|
export type CopilotCamera = {
|
|
112
117
|
name: string;
|
|
@@ -32,7 +32,7 @@ export type Detection = {
|
|
|
32
32
|
export type DetectionsGroup = {
|
|
33
33
|
timestamp: DateType;
|
|
34
34
|
cameraExid: CameraExid;
|
|
35
|
-
|
|
35
|
+
trackings: Detection[];
|
|
36
36
|
};
|
|
37
37
|
export type DetectionsCounts = {
|
|
38
38
|
timestamps: number;
|
|
@@ -99,6 +99,9 @@ export type DetectionsCountsParams = BaseCountsParams & {
|
|
|
99
99
|
export type SegmentsCountsParams = CameraDateRangeFilter & BaseCountsParams;
|
|
100
100
|
export type DetectionsPresenceByLabel = Record<DetectionLabel, TimelineDateInterval[]>;
|
|
101
101
|
export type SegmentsPresenceByLabel = Record<SegmentLabel, TimelineDateInterval[]>;
|
|
102
|
+
export type SegmentsPresenceResponse = {
|
|
103
|
+
intervals: SegmentsPresenceByLabel;
|
|
104
|
+
};
|
|
102
105
|
export type LuminanceReading = {
|
|
103
106
|
timestamp: string;
|
|
104
107
|
luminanceDelta: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnprDirection, AnprEvent, CameraExid, DateType, PaginatedItems, PaginationParams, ProjectExid, Timestamp } from "@evercam/api/types";
|
|
1
|
+
import { AnprDirection, AnprEvent, CameraExid, DateType, PaginatedItems, PaginationParams, ProjectExid, RoiShapeType, Timestamp } from "@evercam/api/types";
|
|
2
2
|
export declare enum GateReportDetectionType {
|
|
3
3
|
Auto = "auto",
|
|
4
4
|
Manual = "manual",
|
|
@@ -263,14 +263,9 @@ type X1 = number;
|
|
|
263
263
|
type Y1 = number;
|
|
264
264
|
type X2 = number;
|
|
265
265
|
type Y2 = number;
|
|
266
|
-
export declare enum GateReportROIShapeType {
|
|
267
|
-
Rectangle = "rectangle",
|
|
268
|
-
Direction = "direction",
|
|
269
|
-
Line = "line"
|
|
270
|
-
}
|
|
271
266
|
export type GateReportROIShape = {
|
|
272
267
|
coordinates: [[X1, Y1], [X2, Y2]];
|
|
273
|
-
type:
|
|
268
|
+
type: RoiShapeType;
|
|
274
269
|
};
|
|
275
270
|
export type GateReportROI = {
|
|
276
271
|
cameraex?: string;
|
|
@@ -278,7 +273,7 @@ export type GateReportROI = {
|
|
|
278
273
|
directionFilter?: string;
|
|
279
274
|
id?: number;
|
|
280
275
|
insertedAt?: Timestamp;
|
|
281
|
-
|
|
276
|
+
isActive?: boolean;
|
|
282
277
|
name?: string;
|
|
283
278
|
roiType?: string;
|
|
284
279
|
updatedAt?: Timestamp;
|
|
@@ -319,27 +314,24 @@ export type ProcessedDaysQueryParams = {
|
|
|
319
314
|
eventType: GateReportEventType;
|
|
320
315
|
};
|
|
321
316
|
export type RoisQueryParams = {
|
|
322
|
-
camerasExid:
|
|
317
|
+
camerasExid: CameraExid[];
|
|
323
318
|
id: number;
|
|
324
319
|
name: string;
|
|
325
320
|
fromDate: string;
|
|
326
|
-
roiType:
|
|
327
|
-
|
|
321
|
+
roiType: RoiShapeType;
|
|
322
|
+
isActive: boolean;
|
|
328
323
|
directionFilter: string;
|
|
329
324
|
sort: string;
|
|
330
325
|
};
|
|
331
|
-
export type
|
|
332
|
-
id
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
note: string;
|
|
342
|
-
};
|
|
343
|
-
createdBy: string;
|
|
326
|
+
export type GateReportRoiRequestPayload = {
|
|
327
|
+
id: number;
|
|
328
|
+
cameraExid: string;
|
|
329
|
+
name: string;
|
|
330
|
+
roiType: string;
|
|
331
|
+
isActive: true;
|
|
332
|
+
fromDate: string;
|
|
333
|
+
shapes: GateReportROIShape[];
|
|
334
|
+
directionFilter: string;
|
|
335
|
+
note: string;
|
|
344
336
|
};
|
|
345
337
|
export {};
|
|
@@ -30,7 +30,7 @@ export * from "./shares";
|
|
|
30
30
|
export * from "./sim";
|
|
31
31
|
export * from "./systemCheck";
|
|
32
32
|
export * from "./planner";
|
|
33
|
-
export * from "./
|
|
33
|
+
export * from "./storageProvider";
|
|
34
34
|
export * from "./streaming";
|
|
35
35
|
export * from "./storyblok";
|
|
36
36
|
export * from "./time";
|
|
@@ -59,3 +59,6 @@ export * from "./xweather";
|
|
|
59
59
|
export * from "./posthog";
|
|
60
60
|
export * from "./recycleBin";
|
|
61
61
|
export * from "./authz";
|
|
62
|
+
export * from "./oauth";
|
|
63
|
+
export * from "./ring";
|
|
64
|
+
export * from "./smartSeach";
|
|
@@ -16,7 +16,14 @@ export declare enum MobileAssetsType {
|
|
|
16
16
|
}
|
|
17
17
|
export declare enum IngestVersions {
|
|
18
18
|
V1 = "v1",
|
|
19
|
-
V2 = "v2"
|
|
19
|
+
V2 = "v2",
|
|
20
|
+
V3 = "v3",
|
|
21
|
+
V4 = "v4",
|
|
22
|
+
V5 = "v5"
|
|
23
|
+
}
|
|
24
|
+
export declare enum IngestTypes {
|
|
25
|
+
Drone = "drone",
|
|
26
|
+
ThreeSixty = "360"
|
|
20
27
|
}
|
|
21
28
|
export type DronesQueryParams = Omit<PaginationParams, "sort"> & {
|
|
22
29
|
projectId: string;
|
|
@@ -63,6 +70,14 @@ export type DroneUploadUpdateRequestPayload = {
|
|
|
63
70
|
title: string;
|
|
64
71
|
fileExtension: string;
|
|
65
72
|
}[];
|
|
73
|
+
aerialShots: {
|
|
74
|
+
url: string;
|
|
75
|
+
title: string;
|
|
76
|
+
fileExtension: string;
|
|
77
|
+
gpsLatitude: string;
|
|
78
|
+
gpsLongitude: string;
|
|
79
|
+
gpsAltitude: string;
|
|
80
|
+
}[];
|
|
66
81
|
projectName: string;
|
|
67
82
|
};
|
|
68
83
|
export type CalculateMeasuringOperationRequestPayload = {
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export type OAuthClient = {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
clientId: string;
|
|
5
|
+
redirectUris: string[];
|
|
6
|
+
logoUrl: string | null;
|
|
7
|
+
scopes: string[];
|
|
8
|
+
active: boolean;
|
|
9
|
+
description: string | null;
|
|
10
|
+
owner: {
|
|
11
|
+
id: number;
|
|
12
|
+
name: string;
|
|
13
|
+
email: string;
|
|
14
|
+
} | null;
|
|
15
|
+
createdAt: string;
|
|
16
|
+
updatedAt: string;
|
|
17
|
+
};
|
|
18
|
+
export type OAuthClientWithSecret = OAuthClient & {
|
|
19
|
+
clientSecret: string;
|
|
20
|
+
};
|
|
21
|
+
export type CreateOAuthClientPayload = {
|
|
22
|
+
name: string;
|
|
23
|
+
redirectUris: string[];
|
|
24
|
+
scopes?: string[];
|
|
25
|
+
description?: string;
|
|
26
|
+
logoUrl?: string;
|
|
27
|
+
};
|
|
28
|
+
export type AdminCreateOAuthClientPayload = CreateOAuthClientPayload & {
|
|
29
|
+
clientId?: string;
|
|
30
|
+
clientSecret?: string;
|
|
31
|
+
};
|
|
32
|
+
export type UpdateOAuthClientPayload = {
|
|
33
|
+
name?: string;
|
|
34
|
+
redirectUris?: string[];
|
|
35
|
+
scopes?: string[];
|
|
36
|
+
description?: string;
|
|
37
|
+
logoUrl?: string;
|
|
38
|
+
active?: boolean;
|
|
39
|
+
};
|
|
40
|
+
export type OAuthScopeDetail = {
|
|
41
|
+
scope: string;
|
|
42
|
+
description: string;
|
|
43
|
+
group: string;
|
|
44
|
+
};
|
|
45
|
+
export type OAuthConsentInfo = {
|
|
46
|
+
client: {
|
|
47
|
+
name: string;
|
|
48
|
+
logoUrl: string | null;
|
|
49
|
+
description: string | null;
|
|
50
|
+
};
|
|
51
|
+
scopes: OAuthScopeDetail[];
|
|
52
|
+
};
|
|
53
|
+
export type OAuthConsentPayload = {
|
|
54
|
+
clientId: string;
|
|
55
|
+
scope: string;
|
|
56
|
+
redirectUri: string;
|
|
57
|
+
state: string;
|
|
58
|
+
decision: "allow" | "deny";
|
|
59
|
+
};
|
|
60
|
+
export type OAuthConsentResponse = {
|
|
61
|
+
redirectUrl: string;
|
|
62
|
+
};
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
export type Coordinate = [number, number];
|
|
2
|
+
export type PolygonPath = Coordinate[];
|
|
3
|
+
export type PolygonCoordinates = PolygonPath[];
|
|
4
|
+
export interface GeoJSONPolygon {
|
|
5
|
+
type: "Polygon";
|
|
6
|
+
coordinates: PolygonCoordinates;
|
|
7
|
+
}
|
|
8
|
+
export declare enum PlannerUrlParams {
|
|
9
|
+
SitePlanId = "site_plan_id",
|
|
10
|
+
IsNewSitePlan = "is_new_site_plan",
|
|
11
|
+
IsBoundsMode = "is_bounds_mode",
|
|
12
|
+
ProjectPosition = "project_position",
|
|
13
|
+
DealId = "deal_id"
|
|
14
|
+
}
|
|
1
15
|
export declare enum EDistortImageModes {
|
|
2
16
|
FreeRotate = "freeRotate",
|
|
3
17
|
Lock = "lock",
|
|
@@ -33,3 +47,33 @@ export declare enum ERoles {
|
|
|
33
47
|
Admin = "admin",
|
|
34
48
|
User = "user"
|
|
35
49
|
}
|
|
50
|
+
export interface IDrawControl {
|
|
51
|
+
_toolbars: {
|
|
52
|
+
draw: {
|
|
53
|
+
_activeMode: {
|
|
54
|
+
handler: {
|
|
55
|
+
disable(): void;
|
|
56
|
+
completeShape(): void;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
_modes: {
|
|
60
|
+
polygon: {
|
|
61
|
+
handler: {
|
|
62
|
+
enable(): void;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
edit: {
|
|
68
|
+
_modes: {
|
|
69
|
+
edit: {
|
|
70
|
+
handler: {
|
|
71
|
+
enable(): void;
|
|
72
|
+
disable(): void;
|
|
73
|
+
save(): void;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -8,6 +8,7 @@ export type ProgressPhotosCreateUpdateRequestPayload = {
|
|
|
8
8
|
type?: string;
|
|
9
9
|
config?: {
|
|
10
10
|
compareDelay?: AutomationType;
|
|
11
|
+
period?: number;
|
|
11
12
|
recipients?: string;
|
|
12
13
|
projectId?: number;
|
|
13
14
|
companyId?: number;
|
|
@@ -25,7 +26,7 @@ export type ProgressPhotosResponsePayload = {
|
|
|
25
26
|
progressPhotos: Automation[];
|
|
26
27
|
};
|
|
27
28
|
export type ProgressPhotoItemResponsePayload = {
|
|
28
|
-
|
|
29
|
+
progressPhotos: Automation;
|
|
29
30
|
};
|
|
30
31
|
export declare enum AutomationDialogType {
|
|
31
32
|
Create = "create",
|