@evercam/api 1.0.0-83566a548 → 1.0.0-882ca0356
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 +1 -0
- package/dist/api/api/3dFirebaseApi.d.ts +164 -15
- package/dist/api/api/adminApi.d.ts +38 -13
- package/dist/api/api/aiApi.d.ts +38 -5
- package/dist/api/api/authzApi.d.ts +1 -2
- package/dist/api/api/evercamApi.d.ts +59 -8
- package/dist/api/api/evercamLabsApi.d.ts +1 -2
- package/dist/api/api/ingestApi.d.ts +51 -43
- package/dist/api/types/360.d.ts +67 -51
- package/dist/api/types/aiConfigs.d.ts +154 -0
- package/dist/api/types/analytics.d.ts +86 -49
- package/dist/api/types/anpr.d.ts +31 -2
- package/dist/api/types/auditLogs.d.ts +18 -0
- package/dist/api/types/authz.d.ts +1 -0
- package/dist/api/types/axios.d.ts +9 -8
- package/dist/api/types/bim.d.ts +25 -0
- package/dist/api/types/camera.d.ts +20 -27
- package/dist/api/types/comments.d.ts +8 -6
- package/dist/api/types/connector.d.ts +2 -0
- package/dist/api/types/copilot.d.ts +10 -5
- package/dist/api/types/detections.d.ts +5 -10
- package/dist/api/types/drone.d.ts +96 -6
- package/dist/api/types/errors.d.ts +11 -0
- package/dist/api/types/gateReport.d.ts +7 -11
- package/dist/api/types/gateReportManagement.d.ts +175 -0
- package/dist/api/types/index.d.ts +6 -1
- package/dist/api/types/ingest.d.ts +17 -3
- package/dist/api/types/kit.d.ts +2 -1
- package/dist/api/types/map.d.ts +12 -0
- package/dist/api/types/media.d.ts +7 -1
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/planner.d.ts +97 -0
- package/dist/api/types/project.d.ts +10 -5
- package/dist/api/types/recording.d.ts +6 -9
- package/dist/api/types/ring.d.ts +53 -0
- package/dist/api/types/roi.d.ts +4 -3
- package/dist/api/types/shared.d.ts +19 -0
- package/dist/api/types/siteAnalytics.d.ts +3 -3
- package/dist/api/types/siteView.d.ts +73 -0
- package/dist/api/types/snapshots.d.ts +48 -3
- package/dist/api/types/storageProvider.d.ts +19 -0
- package/dist/api/types/timelapse.d.ts +6 -2
- package/dist/api/types/user.d.ts +1 -2
- package/dist/api/utils.d.ts +0 -1
- package/dist/index.js +1711 -936
- 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 +68 -9
- package/dist/shared/types/customDataTableFilters.d.ts +10 -0
- package/dist/shared/types/imagePlayer.d.ts +8 -1
- package/dist/shared/types/index.d.ts +2 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/package.json +4 -2
- package/dist/api/types/storageServers.d.ts +0 -4
|
@@ -261,6 +261,8 @@ export declare enum AnalyticsEvent {
|
|
|
261
261
|
MarkUpToolSendToConnectorProcoreObservations = "MarkUpTool-SendToConnector-Procore-Observations",
|
|
262
262
|
MarkUpToolSendToConnectorAconex = "MarkUpTool-SendToConnector-Aconex",
|
|
263
263
|
MarkUpToolSendToConnectorAutodesk = "MarkUpTool-SendToConnector-Autodesk",
|
|
264
|
+
MarkUpToolSendViaEmail = "MarkUpTool-SendViaEmail",
|
|
265
|
+
MarkUpToolSendViaEmailSent = "MarkUpTool-SendViaEmail-Sent",
|
|
264
266
|
RecordingsCancelExportDialog = "CancelExportDialog",
|
|
265
267
|
RecordingsClickSupportLink = "ClickSupportLink",
|
|
266
268
|
RecordingsCreateClip = "CreateClip",
|
|
@@ -282,17 +284,6 @@ export declare enum AnalyticsEvent {
|
|
|
282
284
|
SharingSortBy = "SortBy",
|
|
283
285
|
SharingChangeAccessRight = "ChangeAccessRight",
|
|
284
286
|
ThreeSixtyGallery = "Gallery",
|
|
285
|
-
ThreeSixtyGalleryFilterAssetTypes = "Gallery-FilterAssetTypes",
|
|
286
|
-
ThreeSixtyGalleryFilterDateRange = "Gallery-FilterDateRange",
|
|
287
|
-
ThreeSixtyGalleryFilterFeatures = "Gallery-FilterFeatures",
|
|
288
|
-
ThreeSixtyGalleryFilterFloorName = "Gallery-FilterFloorName",
|
|
289
|
-
ThreeSixtyGalleryFilterUploadedBy = "Gallery-FilterUploadedBy",
|
|
290
|
-
ThreeSixtyGalleryTimelineSelectMilestoneItem = "Gallery-TimelineSelectMilestoneItem",
|
|
291
|
-
ThreeSixtyGalleryTimelineDateClick = "Gallery-TimelineDateClick",
|
|
292
|
-
ThreeSixtyGalleryToggleUploadDialog = "Gallery-ToggleUploadDialog",
|
|
293
|
-
ThreeSixtyGalleryToggleFilters = "Gallery-ToggleFilters",
|
|
294
|
-
ThreeSixtyGalleryUpdateFloorName = "Gallery-UpdateFloorName",
|
|
295
|
-
ThreeSixtyGalleryEditWalkName = "Gallery-EditWalkName",
|
|
296
287
|
ThreeSixtyChangeDate = "ChangeDate",
|
|
297
288
|
ThreeSixtyChangeFloor = "ChangeFloor",
|
|
298
289
|
ThreeSixtyCloseCompare = "CloseCompare",
|
|
@@ -311,6 +302,7 @@ export declare enum AnalyticsEvent {
|
|
|
311
302
|
ThreeSixtyOpenForgeBIM = "OpenForgeBIM",
|
|
312
303
|
ThreeSixtyOpenMarkersThumbnailsList = "OpenMarkersThumbnailsList",
|
|
313
304
|
ThreeSixtyOpenCommentsList = "OpenCommentsList",
|
|
305
|
+
ThreeSixtyGalleryEditWalkName = "Gallery-EditWalkName",
|
|
314
306
|
ThreeSixtySaveComment = "SaveComment",
|
|
315
307
|
ThreeSixtyUnarchiveComment = "UnarchiveComment",
|
|
316
308
|
ThreeSixtyArchiveComment = "ArchiveComment",
|
|
@@ -358,6 +350,8 @@ export declare enum AnalyticsEvent {
|
|
|
358
350
|
DroneToggleBimCompareTool = "ToggleBimCompareTool",
|
|
359
351
|
DroneToggleFullScreen = "ToggleFullScreen",
|
|
360
352
|
DroneToggleMapStyle = "ToggleMapStyle",
|
|
353
|
+
DroneTogglePointCloud = "TogglePointCloud",
|
|
354
|
+
DroneToggleGaussianSplat = "ToggleGaussianSplat",
|
|
361
355
|
DroneToggleQualityMode = "ChooseQuality",
|
|
362
356
|
DroneToggleSideMenu = "ToggleSideMenu",
|
|
363
357
|
DroneToggleImageryPlan = "ToggleImageryPlan",
|
|
@@ -372,6 +366,7 @@ export declare enum AnalyticsEvent {
|
|
|
372
366
|
DroneUnarchiveComment = "UnarchiveComment",
|
|
373
367
|
DroneArchiveComment = "ArchiveComment",
|
|
374
368
|
DroneDeleteComment = "DeleteComment",
|
|
369
|
+
DroneSaveAerialShot = "SaveAerialShot",
|
|
375
370
|
PlannerAddCameraClick = "AddCameraClick",
|
|
376
371
|
PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick",
|
|
377
372
|
PlannerAddSitePlanClick = "AddSitePlanClick",
|
|
@@ -403,7 +398,6 @@ export declare enum AnalyticsEvent {
|
|
|
403
398
|
DrawingClickHome = "ClickHome",
|
|
404
399
|
DrawingsUploadDrawing = "UploadDrawing",
|
|
405
400
|
DrawingsCreateDrawing = "CreateDrawing",
|
|
406
|
-
DrawingToggleFilter = "ToggleFilter",
|
|
407
401
|
DrawingToggleMapStyle = "ToggleMapStyle",
|
|
408
402
|
DrawingToggleMapLabels = "ToggleMapLabels",
|
|
409
403
|
DrawingToggleCamerasLabels = "ToggleCamerasLabels",
|
|
@@ -431,37 +425,6 @@ export declare enum AnalyticsEvent {
|
|
|
431
425
|
TimelapseGoToMediaHub = "GoToMediaHub",
|
|
432
426
|
TimelapseToggleUploadLogoDialog = "ToggleUploadLogoDialog",
|
|
433
427
|
TimelapseUploadLogo = "UploadLogo",
|
|
434
|
-
ProgressPhotoCancelPause = "ProgressPhoto-CancelPause",
|
|
435
|
-
ProgressPhotoCancelResume = "ProgressPhoto-CancelResume",
|
|
436
|
-
ProgressPhotoCancelDelete = "ProgressPhoto-CancelDelete",
|
|
437
|
-
ProgressPhotoCreate = "ProgressPhoto-Create",
|
|
438
|
-
ProgressPhotoDelete = "ProgressPhoto-Delete",
|
|
439
|
-
ProgressPhotoEdit = "ProgressPhoto-Edit",
|
|
440
|
-
ProgressPhotoEditCamerasFilter = "ProgressPhoto-EditCamerasFilter",
|
|
441
|
-
ProgressPhotoEditDaysFilter = "ProgressPhoto-EditDaysFilter",
|
|
442
|
-
ProgressPhotoEditProjectsFilter = "ProgressPhoto-EditProjectsFilter",
|
|
443
|
-
ProgressPhotoEditSearchFilter = "ProgressPhoto-EditSearchFilter",
|
|
444
|
-
ProgressPhotoEditStatusFilter = "ProgressPhoto-EditStatusFilter",
|
|
445
|
-
ProgressPhotoEditUsersFilter = "ProgressPhoto-EditUsersFilter",
|
|
446
|
-
ProgressPhotoFiltersClicked = "ProgressPhoto-FiltersClicked",
|
|
447
|
-
ProgressPhotoPause = "ProgressPhoto-Pause",
|
|
448
|
-
ProgressPhotoResume = "ProgressPhoto-Resume",
|
|
449
|
-
ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete",
|
|
450
|
-
ProgressPhotoSelectType = "ProgressPhoto-SelectType",
|
|
451
|
-
ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras",
|
|
452
|
-
ProgressPhotoToggleSelectAllOnlineCameras = "ProgressPhoto-ToggleSelectAllOnlineCameras",
|
|
453
|
-
ProgressPhotoToggleSelectAllCameras = "ProgressPhoto-ToggleSelectAllCameras",
|
|
454
|
-
ProgressPhotoClearAllCameras = "ProgressPhoto-ClearAllCameras",
|
|
455
|
-
ProgressPhotoEditCamerasSearchFilter = "ProgressPhoto-EditCamerasSearchFilter",
|
|
456
|
-
ProgressPhotoSelectDays = "ProgressPhoto-SelectDays",
|
|
457
|
-
ProgressPhotoSelectMember = "ProgressPhoto-SelectMember",
|
|
458
|
-
ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider",
|
|
459
|
-
ProgressPhotoSelectTime = "ProgressPhoto-SelectTime",
|
|
460
|
-
ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone",
|
|
461
|
-
ProgressPhotoEditSelectedCameras = "ProgressPhoto-EditSelectedCameras",
|
|
462
|
-
ProgressPhotoToggleCreateDialog = "ProgressPhoto-ToggleCreateDialog",
|
|
463
|
-
ProgressPhotoToggleEditDialog = "ProgressPhoto-ToggleEditDialog",
|
|
464
|
-
ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser",
|
|
465
428
|
MapViewChooseSatellite = "MapView-ChooseSatellite",
|
|
466
429
|
MapViewChooseTerrain = "MapView-ChooseMap",
|
|
467
430
|
MapViewClickCameraLink = "MapView-ClickCameraLink",
|
|
@@ -478,10 +441,15 @@ export declare enum AnalyticsEvent {
|
|
|
478
441
|
ProjectSettingsCameraSettingsSaveCameraName = "SaveCameraName",
|
|
479
442
|
ProjectSettingsMembersApplyCamerasFilter = "ApplyCamerasFilter",
|
|
480
443
|
ProjectSettingsMembersApplySearchFilter = "ApplySearchFilter",
|
|
444
|
+
ProjectSettingsMembersViewRoleInfo = "ViewRoleInfo",
|
|
445
|
+
ProjectSettingsMembersViewMemberInfo = "ViewMemberInfo",
|
|
446
|
+
ProjectSettingsMembersBulkRemove = "BulkRemove",
|
|
447
|
+
ProjectSettingsMembersInviteSent = "InviteSent",
|
|
448
|
+
ProjectSettingsMembersRejectInvite = "RejectInvite",
|
|
481
449
|
ProjectSettingsMembersAddMember = "AddMember",
|
|
450
|
+
ProjectSettingsMembersBulkRoleUpdate = "BulkRoleUpdate",
|
|
482
451
|
ProjectSettingsMembersDeleteCameraAccess = "DeleteCameraAccess",
|
|
483
452
|
ProjectSettingsMembersEditCameraAccess = "EditCameraAccess",
|
|
484
|
-
ProjectSettingsMembersFiltersClick = "FiltersClick",
|
|
485
453
|
ProjectSettingsMembersShareCamera = "ShareCamera",
|
|
486
454
|
ProjectSettingsMembersToggleAddDialog = "ToggleAddDialog",
|
|
487
455
|
ProjectSettingsOverviewOpenInMapView = "OpenInMapView",
|
|
@@ -533,8 +501,29 @@ export declare enum AnalyticsEvent {
|
|
|
533
501
|
ExportPdf = "ExportPdf",
|
|
534
502
|
ExportCsv = "ExportCsv",
|
|
535
503
|
FilterCameras = "FilterCameras",
|
|
504
|
+
ProgressPhotoCancelPause = "ProgressPhoto-CancelPause",
|
|
505
|
+
ProgressPhotoCancelResume = "ProgressPhoto-CancelResume",
|
|
506
|
+
ProgressPhotoCancelDelete = "ProgressPhoto-CancelDelete",
|
|
507
|
+
ProgressPhotoCreate = "ProgressPhoto-Create",
|
|
508
|
+
ProgressPhotoDelete = "ProgressPhoto-Delete",
|
|
509
|
+
ProgressPhotoEdit = "ProgressPhoto-Edit",
|
|
510
|
+
ProgressPhotoPause = "ProgressPhoto-Pause",
|
|
511
|
+
ProgressPhotoResume = "ProgressPhoto-Resume",
|
|
512
|
+
ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete",
|
|
513
|
+
ProgressPhotoSelectType = "ProgressPhoto-SelectType",
|
|
514
|
+
ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras",
|
|
515
|
+
ProgressPhotoToggleSelectAllOnlineCameras = "ProgressPhoto-ToggleSelectAllOnlineCameras",
|
|
516
|
+
ProgressPhotoToggleSelectAllCameras = "ProgressPhoto-ToggleSelectAllCameras",
|
|
517
|
+
ProgressPhotoClearAllCameras = "ProgressPhoto-ClearAllCameras",
|
|
518
|
+
ProgressPhotoEditCamerasSearchFilter = "ProgressPhoto-EditCamerasSearchFilter",
|
|
519
|
+
ProgressPhotoSelectDays = "ProgressPhoto-SelectDays",
|
|
520
|
+
ProgressPhotoSelectMember = "ProgressPhoto-SelectMember",
|
|
521
|
+
ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider",
|
|
522
|
+
ProgressPhotoSelectTime = "ProgressPhoto-SelectTime",
|
|
523
|
+
ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone",
|
|
524
|
+
ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser",
|
|
536
525
|
CompareSelectProvider = "Compare-SelectProvider",
|
|
537
|
-
|
|
526
|
+
CompareSelectCameras = "Compare-SelectCameras",
|
|
538
527
|
CompareEdit = "Compare-Edit",
|
|
539
528
|
CompareSelectTimezone = "Compare-SelectTimezone",
|
|
540
529
|
CompareSelectMember = "Compare-SelectMember",
|
|
@@ -542,12 +531,32 @@ export declare enum AnalyticsEvent {
|
|
|
542
531
|
CompareToggleSelectAllCameras = "Compare-ToggleSelectAllCameras",
|
|
543
532
|
CompareClearAllCameras = "Compare-ClearAllCameras",
|
|
544
533
|
CompareEditCamerasSearchFilter = "Compare-EditCamerasSearchFilter",
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
534
|
+
CompareSelectType = "Compare-SelectType",
|
|
535
|
+
CompareCreate = "Compare-Create",
|
|
536
|
+
AutomationsEditSearchFilter = "EditSearchFilter",
|
|
537
|
+
AutomationsEditStatusFilter = "EditStatusFilter",
|
|
538
|
+
AutomationsEditUsersFilter = "EditUsersFilter",
|
|
539
|
+
AutomationsEditDaysFilter = "EditDaysFilter",
|
|
540
|
+
AutomationsEditCamerasFilter = "EditCamerasFilter",
|
|
548
541
|
AutomationToggleEditDialog = "ToggleEditDialog",
|
|
549
542
|
AutomationToggleCreateDialog = "ToggleCreateDialog",
|
|
550
543
|
AutomationTypeName = "TypeName",
|
|
544
|
+
GateReportSelectType = "GateReport-SelectType",
|
|
545
|
+
GateReportToggleSelectAllCameras = "GateReport-ToggleSelectAllCameras",
|
|
546
|
+
GateReportToggleSelectAllOnlineCameras = "GateReport-ToggleSelectAllOnlineCameras",
|
|
547
|
+
GateReportToggleClearAllCameras = "GateReport-ClearAllCameras",
|
|
548
|
+
GateReportEditCamerasSearchFilter = "GateReport-EditCamerasSearchFilter",
|
|
549
|
+
GateReportSelectDays = "GateReport-SelectDays",
|
|
550
|
+
GateReportSelectTime = "GateReport-SelectTime",
|
|
551
|
+
GateReportSelectTimezone = "GateReport-SelectTimezone",
|
|
552
|
+
GateReportSelectVehicleTypes = "GateReport-SelectVehicleTypes",
|
|
553
|
+
GateReportSelectColumn = "GateReport-SelectColumn",
|
|
554
|
+
GateReportSelectPeriod = "GateReport-SelectPeriod",
|
|
555
|
+
GateReportSelectExportType = "GateReport-SelectExportType",
|
|
556
|
+
GateReportSelectMember = "GateReport-SelectMember",
|
|
557
|
+
GateReportSelectCameras = "GateReport-SelectCameras",
|
|
558
|
+
GateReportCreate = "GateReport-Create",
|
|
559
|
+
GateReportEdit = "GateReport-Edit",
|
|
551
560
|
CompareSelectDays = "Compare-SelectDays",
|
|
552
561
|
CompareSelectDelay = "Compare-SelectDelay",
|
|
553
562
|
CompareSelectTime = "Compare-SelectTime",
|
|
@@ -570,5 +579,33 @@ export declare enum AnalyticsEvent {
|
|
|
570
579
|
SmartSearchSaveQuery = "SmartSearch-SaveQuery",
|
|
571
580
|
SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay",
|
|
572
581
|
SmartSearchExportFile = "SmartSearch-ExportFile",
|
|
573
|
-
SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage"
|
|
582
|
+
SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage",
|
|
583
|
+
AskAIClickAskAI = "AskAI-ClickAskAI",
|
|
584
|
+
AskAIClickExpand = "AskAI-ClickExpand",
|
|
585
|
+
AskAIClickCollapse = "AskAI-ClickCollapse",
|
|
586
|
+
AskAIClickVoice = "AskAI-ClickVoice",
|
|
587
|
+
AskAIClickFullscreen = "AskAI-ClickFullscreen",
|
|
588
|
+
AskAIExitFullscreen = "AskAI-ExitFullscreen",
|
|
589
|
+
AskAICloseChat = "AskAI-CloseChat",
|
|
590
|
+
ForgeBimAddModelButtonClicked = "ForgeBim-AddModelButtonClicked",
|
|
591
|
+
ForgeBimUploadChoiceDialogOpened = "ForgeBim-UploadChoiceDialogOpened",
|
|
592
|
+
ForgeBimModelAddMethodSelected = "ForgeBim-ModelAddMethodSelected",
|
|
593
|
+
ForgeBimUploadChoiceDialogDismissed = "ForgeBim-UploadChoiceDialogDismissed",
|
|
594
|
+
ForgeBimLocalModelFileSelected = "ForgeBim-LocalModelFileSelected",
|
|
595
|
+
ForgeBimLocalModelFileRejected = "ForgeBim-LocalModelFileRejected",
|
|
596
|
+
ForgeBimUploadModelFileToIngestStarted = "ForgeBim-UploadModelFileToIngestStarted",
|
|
597
|
+
ForgeBimUploadModelFileToIngestCompleted = "ForgeBim-UploadModelFileToIngestCompleted",
|
|
598
|
+
ForgeBimUploadModelFileToIngestFailed = "ForgeBim-UploadModelFileToIngestFailed",
|
|
599
|
+
ForgeBimAccModelSelectorOpened = "ForgeBim-AccModelSelectorOpened",
|
|
600
|
+
ForgeBimAccModelSelectorDismissed = "ForgeBim-AccModelSelectorDismissed",
|
|
601
|
+
ForgeBimAccModelConfirmed = "ForgeBim-AccModelConfirmed",
|
|
602
|
+
ForgeBimModelDuplicateDetected = "ForgeBim-ModelDuplicateDetected",
|
|
603
|
+
ForgeBimUpdateModelButtonClicked = "ForgeBim-UpdateModelButtonClicked",
|
|
604
|
+
ForgeBimReplaceModelWarningOpened = "ForgeBim-ReplaceModelWarningOpened",
|
|
605
|
+
ForgeBimReplaceModelConfirmed = "ForgeBim-ReplaceModelConfirmed",
|
|
606
|
+
ForgeBimReplaceModelCancelled = "ForgeBim-ReplaceModelCancelled",
|
|
607
|
+
ForgeBimModelAdded = "ForgeBim-ModelAdded",
|
|
608
|
+
ForgeBimModelUpdated = "ForgeBim-ModelUpdated",
|
|
609
|
+
ForgeBimModelSaveFailed = "ForgeBim-ModelSaveFailed",
|
|
610
|
+
ForgeBimIngestNotificationFailed = "ForgeBim-IngestNotificationFailed"
|
|
574
611
|
}
|
package/dist/api/types/anpr.d.ts
CHANGED
|
@@ -104,11 +104,40 @@ export declare enum AnprEventStatus {
|
|
|
104
104
|
export type AnprBulkUpdateRequestPayload = {
|
|
105
105
|
anprEventsIds: number[];
|
|
106
106
|
action: AnprEventStatus;
|
|
107
|
-
updatedBy: string;
|
|
108
107
|
};
|
|
109
108
|
export type AnprUpdateRequestPayload = {
|
|
110
109
|
plateNumber: string;
|
|
111
110
|
vehicleType: GateReportVehicleType;
|
|
112
111
|
direction: AnprDirection;
|
|
113
|
-
|
|
112
|
+
};
|
|
113
|
+
export declare enum AnprExtractionStatus {
|
|
114
|
+
Pending = "pending",
|
|
115
|
+
Running = "running",
|
|
116
|
+
Completed = "completed",
|
|
117
|
+
Failed = "failed"
|
|
118
|
+
}
|
|
119
|
+
export declare enum AnprExtractionSaveMode {
|
|
120
|
+
All = "all",
|
|
121
|
+
AiDbOnly = "ai_db_only",
|
|
122
|
+
ImagesOnly = "images_only"
|
|
123
|
+
}
|
|
124
|
+
export type AnprExtraction = {
|
|
125
|
+
id: number;
|
|
126
|
+
cameraId: number;
|
|
127
|
+
userId: number | null;
|
|
128
|
+
startDate: string;
|
|
129
|
+
endDate: string;
|
|
130
|
+
status: AnprExtractionStatus;
|
|
131
|
+
totalRecords: number;
|
|
132
|
+
error: string | null;
|
|
133
|
+
saveMode: AnprExtractionSaveMode;
|
|
134
|
+
startedAt: string | null;
|
|
135
|
+
completedAt: string | null;
|
|
136
|
+
insertedAt: string;
|
|
137
|
+
updatedAt: string;
|
|
138
|
+
};
|
|
139
|
+
export type AnprExtractionCreatePayload = {
|
|
140
|
+
startDate: string;
|
|
141
|
+
endDate: string;
|
|
142
|
+
saveMode?: AnprExtractionSaveMode;
|
|
114
143
|
};
|
|
@@ -33,6 +33,24 @@ export declare enum AuditLogActionType {
|
|
|
33
33
|
BIM_NOTE = "bim_note",
|
|
34
34
|
GATE_REPORT_NOTE = "gate_report_note"
|
|
35
35
|
}
|
|
36
|
+
export declare enum AuditLogEntity {
|
|
37
|
+
Cameras = "cameras",
|
|
38
|
+
Projects = "projects",
|
|
39
|
+
Layers = "layers",
|
|
40
|
+
Routers = "routers",
|
|
41
|
+
Sims = "sims",
|
|
42
|
+
Hdds = "hdds",
|
|
43
|
+
Nvr = "nvr",
|
|
44
|
+
Archives = "archives",
|
|
45
|
+
Users = "users",
|
|
46
|
+
Rois = "rois",
|
|
47
|
+
Kits = "kits",
|
|
48
|
+
Roles = "roles",
|
|
49
|
+
Tags = "tags",
|
|
50
|
+
KitsTags = "kits_tags",
|
|
51
|
+
Oauth = "oauth",
|
|
52
|
+
StorageProviders = "storage_providers"
|
|
53
|
+
}
|
|
36
54
|
export type AuditLog = {
|
|
37
55
|
id: number;
|
|
38
56
|
action: AuditLogActionType;
|
|
@@ -8,19 +8,18 @@ export type AxiosEnvironment = {
|
|
|
8
8
|
baseUrl?: string | null;
|
|
9
9
|
stagingAiApiUrl?: string | null;
|
|
10
10
|
aiApiUrl?: string | null;
|
|
11
|
-
|
|
11
|
+
ingestDroneApi?: string | null;
|
|
12
|
+
ingest360Api?: string | null;
|
|
12
13
|
ingestGpuApiUrl?: string | null;
|
|
13
|
-
ingestGpuV3ApiUrl?: string | null;
|
|
14
|
-
ingestGpuV4ApiUrl?: string | null;
|
|
15
14
|
posthogApiUrl?: string | null;
|
|
16
15
|
posthogProjectId?: string | null;
|
|
17
|
-
posthogPrivateApiKey?: string | null;
|
|
18
16
|
firebaseVideowallUrl?: string | null;
|
|
19
17
|
weatherApiBaseUrl?: string | null;
|
|
20
18
|
evercamLabsUrl?: string | null;
|
|
21
19
|
firebaseDbLink?: string | null;
|
|
22
20
|
firebaseStorageUrl?: string | null;
|
|
23
21
|
firebaseStorageToken?: string | null;
|
|
22
|
+
forgeTokenServerUrl?: string | null;
|
|
24
23
|
snapshotsURL?: string | null;
|
|
25
24
|
app?: string | null;
|
|
26
25
|
getAuthToken?: () => string | null;
|
|
@@ -30,15 +29,17 @@ export type AxiosEnvironment = {
|
|
|
30
29
|
export type RequestInterceptor = (req: AxiosRequestConfig, env: AxiosEnvironment) => AxiosRequestConfig & any;
|
|
31
30
|
export type ResponseInterceptor = (res: AxiosResponse, env: AxiosEnvironment) => AxiosResponse & any;
|
|
32
31
|
export type ErrorInterceptor = (error: any, env: AxiosEnvironment) => any;
|
|
32
|
+
export type RequestManager = {
|
|
33
|
+
createToken: (key: string) => CancelTokenSource["token"];
|
|
34
|
+
cancelAll: () => void;
|
|
35
|
+
};
|
|
33
36
|
export interface ExtendedAxiosInstance extends AxiosInstance {
|
|
34
37
|
CancelToken: CancelTokenStatic;
|
|
35
38
|
isCancel: (value: AxiosResponse | AxiosError | unknown) => boolean;
|
|
36
39
|
setToken: (token: string) => void;
|
|
37
40
|
setHeader: (headerName: string, value: any) => void;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
resetCancelTokens: () => void;
|
|
41
|
-
cancelRequests: () => void;
|
|
41
|
+
createRequestManager: () => RequestManager;
|
|
42
|
+
requestManager: RequestManager;
|
|
42
43
|
env: AxiosEnvironment;
|
|
43
44
|
addEnvironmentVariables: (vars: Record<string, any>) => void;
|
|
44
45
|
addRequestInterceptor: (interceptor: RequestInterceptor, errorInterceptor?: ErrorInterceptor) => void;
|
package/dist/api/types/bim.d.ts
CHANGED
|
@@ -151,3 +151,28 @@ export type BimUploadPayload = {
|
|
|
151
151
|
fileExtension: string;
|
|
152
152
|
}[];
|
|
153
153
|
};
|
|
154
|
+
export declare enum ForgeBimUploadMethod {
|
|
155
|
+
FileUpload = "file_upload",
|
|
156
|
+
AutodeskAcc = "autodesk_acc"
|
|
157
|
+
}
|
|
158
|
+
export declare enum ForgeBimFileRejectionReason {
|
|
159
|
+
InvalidType = "invalid_type",
|
|
160
|
+
ExceedsSizeLimit = "exceeds_size_limit"
|
|
161
|
+
}
|
|
162
|
+
export declare enum ForgeBimUploadStage {
|
|
163
|
+
TusUpload = "tus_upload",
|
|
164
|
+
IngestUpload = "ingest_upload"
|
|
165
|
+
}
|
|
166
|
+
export declare enum ForgeBimDialogTrigger {
|
|
167
|
+
UpdateModel = "update_model",
|
|
168
|
+
AddModel = "add_model",
|
|
169
|
+
InitialSetup = "initial_setup"
|
|
170
|
+
}
|
|
171
|
+
export type BimUpdatedWebhookPayload = {
|
|
172
|
+
eventName: "bim.updated";
|
|
173
|
+
projectId: string;
|
|
174
|
+
data: {
|
|
175
|
+
updatedAt: string;
|
|
176
|
+
bimIdentifier: string;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { AuditLogActionType, DateType, EntityByExid, KitAlarm, NvrDeviceType, PaginationParams, PowerSchedule, PowerType, ProjectExid, ProjectFeatureFlag, Schedule, ScheduleLowercase } from "@evercam/api/types";
|
|
1
|
+
import { AuditLogActionType, DateType, EntityByExid, KitAlarm, NvrDeviceType, PaginationParams, PowerSchedule, PowerType, ProjectExid, ProjectFeatureFlag, Schedule, ScheduleLowercase, TimestampPositionCoordinates } from "@evercam/api/types";
|
|
2
2
|
import { DateRangeFilter } from "@evercam/api/types/time";
|
|
3
|
+
import { GeoPoint, TuplePoint2D } from "@evercam/api/types/shared";
|
|
3
4
|
export type CameraExid = string;
|
|
4
5
|
export type CamerasByExid = EntityByExid<Camera>;
|
|
5
|
-
export type Cartesian3 = {
|
|
6
|
-
x: number;
|
|
7
|
-
y: number;
|
|
8
|
-
z: number;
|
|
9
|
-
};
|
|
10
6
|
export type Camera = {
|
|
11
7
|
cameraPowerSchedule?: Schedule;
|
|
12
8
|
camPassword?: string;
|
|
@@ -17,6 +13,7 @@ export type Camera = {
|
|
|
17
13
|
status: string;
|
|
18
14
|
storageDuration: string;
|
|
19
15
|
};
|
|
16
|
+
liveViewFrequency: number | null;
|
|
20
17
|
createdAt: string;
|
|
21
18
|
description: string | null;
|
|
22
19
|
discoverable: boolean;
|
|
@@ -45,10 +42,7 @@ export type Camera = {
|
|
|
45
42
|
isPublic: boolean;
|
|
46
43
|
lastOnlineAt: string;
|
|
47
44
|
lastPolledAt: string;
|
|
48
|
-
location:
|
|
49
|
-
lat: number;
|
|
50
|
-
lng: number;
|
|
51
|
-
};
|
|
45
|
+
location: GeoPoint;
|
|
52
46
|
modelId: string;
|
|
53
47
|
modelName: string;
|
|
54
48
|
name: string;
|
|
@@ -86,6 +80,7 @@ export type Camera = {
|
|
|
86
80
|
vendorName: string;
|
|
87
81
|
isAccessRestricted?: boolean;
|
|
88
82
|
kitAlarms?: KitAlarm[];
|
|
83
|
+
timestampPosition?: TimestampPositionCoordinates;
|
|
89
84
|
};
|
|
90
85
|
export type AdminCamera = {
|
|
91
86
|
id: number;
|
|
@@ -111,10 +106,7 @@ export type AdminCamera = {
|
|
|
111
106
|
isPublic: boolean;
|
|
112
107
|
sharedWithConstruction?: boolean;
|
|
113
108
|
timezone: string | null;
|
|
114
|
-
location?:
|
|
115
|
-
lat: number;
|
|
116
|
-
lng: number;
|
|
117
|
-
} | null;
|
|
109
|
+
location?: GeoPoint | null;
|
|
118
110
|
fovAngle?: number | null;
|
|
119
111
|
fovRadius?: number | null;
|
|
120
112
|
heading?: number | null;
|
|
@@ -154,6 +146,7 @@ export type AdminCamera = {
|
|
|
154
146
|
cloudRecordingStatus?: string | null;
|
|
155
147
|
cloudRecordingSchedule?: ScheduleLowercase | null;
|
|
156
148
|
cloudRecordingStorageDuration?: number | null;
|
|
149
|
+
liveViewFrequency?: number | null;
|
|
157
150
|
anprSources?: string[];
|
|
158
151
|
storageProviders?: string[];
|
|
159
152
|
featureFlags?: CameraFeatureFlag[];
|
|
@@ -165,10 +158,7 @@ export type AdminCamera = {
|
|
|
165
158
|
};
|
|
166
159
|
export type CameraMapMarker = {
|
|
167
160
|
isOnline: boolean;
|
|
168
|
-
location:
|
|
169
|
-
lat: number;
|
|
170
|
-
lng: number;
|
|
171
|
-
};
|
|
161
|
+
location: GeoPoint;
|
|
172
162
|
needFov: boolean;
|
|
173
163
|
rotation: number;
|
|
174
164
|
fovAngle: number;
|
|
@@ -206,7 +196,14 @@ export declare enum CameraFeatureFlag {
|
|
|
206
196
|
ObjectDetection = "object_detection",
|
|
207
197
|
Segmentation = "segmentation",
|
|
208
198
|
SegmentationAutoLabelling = "segmentation_auto_labelling",
|
|
209
|
-
PpeMonitoring = "ppe_monitoring"
|
|
199
|
+
PpeMonitoring = "ppe_monitoring",
|
|
200
|
+
PpeOwlv2 = "ppe_owlv2",
|
|
201
|
+
PpeGemini = "ppe_gemini",
|
|
202
|
+
PpeYolo = "ppe_yolo",
|
|
203
|
+
PpeV2 = "ppe_v2",
|
|
204
|
+
NoLiveView = "no_live_view",
|
|
205
|
+
Ring = "ring",
|
|
206
|
+
CloudOnly = "cloud_only"
|
|
210
207
|
}
|
|
211
208
|
export type CameraLogsRequestPayload = {
|
|
212
209
|
limit: number;
|
|
@@ -250,6 +247,7 @@ export type CameraUpdateRequestPayload = {
|
|
|
250
247
|
fovRadius?: number;
|
|
251
248
|
featureFlags: CameraFeatureFlag[];
|
|
252
249
|
isAccessRestricted?: boolean;
|
|
250
|
+
liveViewFrequency?: number | null;
|
|
253
251
|
};
|
|
254
252
|
export type CamerasResponsePayload = {
|
|
255
253
|
cameras?: Camera[];
|
|
@@ -311,14 +309,9 @@ export declare enum CameraModel {
|
|
|
311
309
|
Hikvision = "hikvision",
|
|
312
310
|
Avigilion = "avigilion",
|
|
313
311
|
Hanwha = "hanwha",
|
|
314
|
-
Other = "other"
|
|
312
|
+
Other = "other",
|
|
313
|
+
Ring = "ring"
|
|
315
314
|
}
|
|
316
|
-
export type DroneCameraTransform = {
|
|
317
|
-
position: Cartesian3;
|
|
318
|
-
direction: Cartesian3;
|
|
319
|
-
up: Cartesian3;
|
|
320
|
-
right: Cartesian3;
|
|
321
|
-
};
|
|
322
315
|
export type Footage = {
|
|
323
316
|
cameraExid: string;
|
|
324
317
|
cameraName: string;
|
|
@@ -359,7 +352,7 @@ export type CameraCreateRequestPayload = {
|
|
|
359
352
|
isPowerScheduleActive?: boolean;
|
|
360
353
|
ptz?: boolean;
|
|
361
354
|
name: string;
|
|
362
|
-
coordinates?:
|
|
355
|
+
coordinates?: TuplePoint2D;
|
|
363
356
|
recordingFromNvr?: boolean;
|
|
364
357
|
CameraConfig: {
|
|
365
358
|
model: CameraModel;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { CameraExid, DateType, ProjectExid, PaginationParams } from "@evercam/api/types";
|
|
1
|
+
import { CameraExid, DateType, ProjectExid, PaginationParams, TuplePoint3D, TuplePoint2D } from "@evercam/api/types";
|
|
2
2
|
export declare enum CommentsScope {
|
|
3
3
|
Recordings = "recordings",
|
|
4
4
|
ThreeSixty = "360",
|
|
5
|
-
Drone = "drone"
|
|
5
|
+
Drone = "drone",
|
|
6
|
+
Timeline = "timeline"
|
|
6
7
|
}
|
|
7
8
|
export declare enum CommentsLabel {
|
|
8
9
|
Info = "Info",
|
|
@@ -11,6 +12,7 @@ export declare enum CommentsLabel {
|
|
|
11
12
|
}
|
|
12
13
|
export type CommentsRequestPayload = {
|
|
13
14
|
scope: CommentsScope;
|
|
15
|
+
cameraExid?: CameraExid;
|
|
14
16
|
};
|
|
15
17
|
export type CommentsListRequestPayload = PaginationParams & {
|
|
16
18
|
projectExid?: ProjectExid;
|
|
@@ -34,8 +36,8 @@ export type Comment = {
|
|
|
34
36
|
createdAt?: string;
|
|
35
37
|
creatorEmail?: string;
|
|
36
38
|
creatorName?: string;
|
|
37
|
-
position2d?:
|
|
38
|
-
position3d?:
|
|
39
|
+
position2d?: TuplePoint2D;
|
|
40
|
+
position3d?: TuplePoint3D;
|
|
39
41
|
context?: Record<string, unknown>;
|
|
40
42
|
canDelete?: boolean;
|
|
41
43
|
archivedAt?: string;
|
|
@@ -49,7 +51,7 @@ export type CommentCreationRequestPayload = {
|
|
|
49
51
|
projectExid: ProjectExid;
|
|
50
52
|
cameraExid?: CameraExid;
|
|
51
53
|
content: string;
|
|
52
|
-
position2d?:
|
|
53
|
-
position3d?: number
|
|
54
|
+
position2d?: TuplePoint2D;
|
|
55
|
+
position3d?: [number, number, number];
|
|
54
56
|
context?: Record<string, unknown>;
|
|
55
57
|
};
|
|
@@ -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;
|
|
@@ -13,15 +13,6 @@ export type SegmentsFilters = BaseDetectionsFilters & {
|
|
|
13
13
|
cameraExid: CameraExid;
|
|
14
14
|
};
|
|
15
15
|
export type BBox = number[];
|
|
16
|
-
export type SelectedObjectPath = {
|
|
17
|
-
label: string;
|
|
18
|
-
trackId: string;
|
|
19
|
-
paths: Array<{
|
|
20
|
-
timestamp: number;
|
|
21
|
-
center: [number, number];
|
|
22
|
-
bbox: BBox;
|
|
23
|
-
}>;
|
|
24
|
-
};
|
|
25
16
|
export type Label = DetectionLabel | PpeLabel;
|
|
26
17
|
export type Detection = {
|
|
27
18
|
bbox: BBox;
|
|
@@ -99,6 +90,9 @@ export type DetectionsCountsParams = BaseCountsParams & {
|
|
|
99
90
|
export type SegmentsCountsParams = CameraDateRangeFilter & BaseCountsParams;
|
|
100
91
|
export type DetectionsPresenceByLabel = Record<DetectionLabel, TimelineDateInterval[]>;
|
|
101
92
|
export type SegmentsPresenceByLabel = Record<SegmentLabel, TimelineDateInterval[]>;
|
|
93
|
+
export type SegmentsPresenceResponse = {
|
|
94
|
+
intervals: SegmentsPresenceByLabel;
|
|
95
|
+
};
|
|
102
96
|
export type LuminanceReading = {
|
|
103
97
|
timestamp: string;
|
|
104
98
|
luminanceDelta: number;
|
|
@@ -117,5 +111,6 @@ export declare enum DetectionModel {
|
|
|
117
111
|
Yolov11 = 2,
|
|
118
112
|
Yolov112 = 3,
|
|
119
113
|
GroundingDino = 4,
|
|
120
|
-
Owlv2 = 5
|
|
114
|
+
Owlv2 = 5,
|
|
115
|
+
PpeV2 = 6
|
|
121
116
|
}
|