@evercam/api 1.0.0-301c729f4 → 1.0.0-39e7bbc90
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 +3 -0
- package/dist/api/api/3dFirebaseApi.d.ts +27 -0
- package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +104 -62
- package/dist/api/{aiApi.d.ts → api/aiApi.d.ts} +33 -47
- package/dist/api/api/authzApi.d.ts +38 -0
- package/dist/api/{client → api/client}/axios.d.ts +2 -1
- package/dist/api/api/client/swr/Swr.d.ts +14 -0
- package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
- package/dist/api/{evercamApi.d.ts → api/evercamApi.d.ts} +97 -96
- package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +7 -3
- package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +1 -1
- package/dist/api/api/index.d.ts +13 -0
- package/dist/api/api/ingestApi.d.ts +145 -0
- package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +12 -3
- package/dist/api/api/videoWallApi.d.ts +9 -0
- package/dist/api/{weatherApi.d.ts → api/weatherApi.d.ts} +2 -2
- package/dist/api/index.d.ts +3 -13
- package/dist/api/types/360.d.ts +276 -0
- package/dist/api/types/aconex.d.ts +143 -0
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/{types → api/types}/analytics.d.ts +130 -9
- package/dist/{types → api/types}/anpr.d.ts +15 -13
- package/dist/{types → api/types}/auditLogs.d.ts +1 -1
- package/dist/api/types/authz.d.ts +60 -0
- package/dist/{types → api/types}/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +95 -0
- package/dist/{types → api/types}/axios.d.ts +21 -1
- package/dist/{types → api/types}/bim.d.ts +11 -5
- package/dist/{types → api/types}/camera.d.ts +97 -72
- package/dist/{types → api/types}/comments.d.ts +21 -9
- package/dist/api/types/company.d.ts +115 -0
- package/dist/{types → api/types}/compare.d.ts +20 -5
- package/dist/{types → api/types}/connector.d.ts +2 -5
- package/dist/{types → api/types}/coolify.d.ts +3 -1
- package/dist/{types → api/types}/copilot.d.ts +1 -1
- package/dist/{types → api/types}/countries.d.ts +0 -7
- package/dist/{types → api/types}/credentials.d.ts +1 -0
- package/dist/{types → api/types}/detections.d.ts +17 -23
- package/dist/{types → api/types}/errors.d.ts +1 -0
- package/dist/{types → api/types}/gateReport.d.ts +32 -128
- package/dist/{types → api/types}/hdd.d.ts +26 -1
- package/dist/{types → api/types}/index.d.ts +6 -0
- package/dist/api/types/ingest.d.ts +132 -0
- package/dist/{types → api/types}/kit.d.ts +64 -9
- package/dist/{types → api/types}/media.d.ts +1 -1
- package/dist/api/types/notification.d.ts +57 -0
- package/dist/{types → api/types}/planner.d.ts +7 -0
- package/dist/api/types/posthog.d.ts +33 -0
- package/dist/{types → api/types}/procore.d.ts +26 -16
- package/dist/{types → api/types}/progressPhoto.d.ts +11 -23
- package/dist/api/types/project.d.ts +241 -0
- package/dist/{types → api/types}/recording.d.ts +3 -3
- package/dist/api/types/recycleBin.d.ts +14 -0
- package/dist/{types → api/types}/routeParams.d.ts +4 -2
- package/dist/{types → api/types}/router.d.ts +20 -1
- package/dist/{types → api/types}/shared.d.ts +12 -10
- package/dist/api/types/shares.d.ts +58 -0
- package/dist/{types → api/types}/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +297 -0
- package/dist/{types → api/types}/snapshots.d.ts +10 -1
- package/dist/api/types/sso.d.ts +55 -0
- package/dist/api/types/storyblok.d.ts +40 -0
- package/dist/{types → api/types}/streaming.d.ts +4 -5
- package/dist/{types → api/types}/tag.d.ts +1 -1
- package/dist/api/types/time.d.ts +7 -0
- package/dist/{types → api/types}/timelapse.d.ts +3 -4
- package/dist/{types → api/types}/user.d.ts +105 -35
- package/dist/api/types/videoWall.d.ts +66 -0
- package/dist/api/types/weather.d.ts +153 -0
- package/dist/{types → api/types}/widget.d.ts +96 -16
- package/dist/{types → api/types}/xweather.d.ts +4 -4
- package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1273 -848
- 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/api/index.d.ts +3 -0
- package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
- package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
- package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
- package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
- package/dist/shared/types/components.d.ts +270 -0
- package/dist/shared/types/imagePlayer.d.ts +34 -0
- package/dist/shared/types/index.d.ts +4 -0
- package/dist/shared/types/timeline.d.ts +10 -0
- package/package.json +5 -4
- package/dist/api/3dFirebaseApi.d.ts +0 -10
- package/dist/api/authzApi.d.ts +0 -21
- package/dist/api/ingestApi.d.ts +0 -67
- package/dist/api/videoWallApi.d.ts +0 -9
- package/dist/types/360.d.ts +0 -87
- package/dist/types/aconex.d.ts +0 -45
- package/dist/types/automation.d.ts +0 -6
- package/dist/types/company.d.ts +0 -46
- package/dist/types/ingest.d.ts +0 -43
- package/dist/types/notification.d.ts +0 -27
- package/dist/types/project.d.ts +0 -128
- package/dist/types/shares.d.ts +0 -196
- package/dist/types/siteAnalytics.d.ts +0 -141
- package/dist/types/time.d.ts +0 -21
- package/dist/types/videoWall.d.ts +0 -33
- package/dist/types/weather.d.ts +0 -87
- /package/dist/api/{client → api/client}/customErrors.d.ts +0 -0
- /package/dist/api/{client → api/client}/index.d.ts +0 -0
- /package/dist/api/{client → api/client}/interceptors.d.ts +0 -0
- /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
- /package/dist/{types → api/types}/drone.d.ts +0 -0
- /package/dist/{types → api/types}/map.d.ts +0 -0
- /package/dist/{types → api/types}/nvr.d.ts +0 -0
- /package/dist/{types → api/types}/roi.d.ts +0 -0
- /package/dist/{types → api/types}/storageServers.d.ts +0 -0
- /package/dist/{types → api/types}/systemCheck.d.ts +0 -0
- /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
- /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
|
@@ -41,8 +41,11 @@ export declare enum AnalyticsEventPageId {
|
|
|
41
41
|
DroneInfo = "DroneInfo",
|
|
42
42
|
ThreeSixtyInfo = "360Info",
|
|
43
43
|
BimCompareInfo = "BimCompareInfo",
|
|
44
|
+
TimelineInfo = "TimelineInfo",
|
|
44
45
|
WeatherReport = "WeatherReport",
|
|
45
|
-
PpeReport = "PpeReport"
|
|
46
|
+
PpeReport = "PpeReport",
|
|
47
|
+
SmartSearch = "SmartSearch",
|
|
48
|
+
Drawings = "Drawings"
|
|
46
49
|
}
|
|
47
50
|
export declare enum AnalyticsEvent {
|
|
48
51
|
PageView = "PageView",
|
|
@@ -76,6 +79,19 @@ export declare enum AnalyticsEvent {
|
|
|
76
79
|
SettingsConnectorsRemoveVoyageControlConnection = "RemoveVoyageControl",
|
|
77
80
|
SettingsConnectorsToggleConnectorPromptDialog = "ToggleConnectorPromptDialog",
|
|
78
81
|
SettingsConnectorsToggleVoyageControlDialog = "ToggleVoyageControlDialog",
|
|
82
|
+
WidgetsSelectTypeThreeSixty = "Widgets-SelectType360",
|
|
83
|
+
WidgetsSelectProject = "SelectProject",
|
|
84
|
+
WidgetsSelect360Date = "Select360Date",
|
|
85
|
+
WidgetsSelect360Floor = "Select360Floor",
|
|
86
|
+
WidgetsSelect360Marker = "Select360Marker",
|
|
87
|
+
Widgets360LockMedia = "360LockMedia",
|
|
88
|
+
WidgetsPauseWidget = "PauseWidget",
|
|
89
|
+
WidgetsEditWidget = "EditWidget",
|
|
90
|
+
WidgetsOpenCredentials = "OpenCredentials",
|
|
91
|
+
WidgetsCopyEmbeddedCode = "CopyEmbeddedCode",
|
|
92
|
+
WidgetsCopyIFrameCode = "CopyIFrameCode",
|
|
93
|
+
WidgetsCopyURLCode = "CopyURLCode",
|
|
94
|
+
WidgetsDeleteWidget = "DeleteWidget",
|
|
79
95
|
WidgetsAddWidgetClick = "AddWidget",
|
|
80
96
|
WidgetsCancelClick = "Cancel",
|
|
81
97
|
WidgetsEditHeight = "EditHeight",
|
|
@@ -102,6 +118,7 @@ export declare enum AnalyticsEvent {
|
|
|
102
118
|
WidgetsSettingToggleRestrictRecentImages = "ToggleRestrictRecentImages",
|
|
103
119
|
WidgetsSettingToggleZoom = "ToggleZoom",
|
|
104
120
|
WidgetsTogglePublicWidget = "TogglePublicWidget",
|
|
121
|
+
WidgetsToggleRestrictRecordingsRange = "ToggleRestrictRecordingsRange",
|
|
105
122
|
PlayerSelectCamera = "Player-SelectCamera",
|
|
106
123
|
PlayerDownload = "Player-Download",
|
|
107
124
|
PlayerToggleFullscreen = "Player-ToggleFullscreen",
|
|
@@ -169,6 +186,12 @@ export declare enum AnalyticsEvent {
|
|
|
169
186
|
XarySelectLatestDate = "Xray-SelectLatestDate",
|
|
170
187
|
XarySelectOldestDate = "Xray-SelectOldestDate",
|
|
171
188
|
XraySendToConnector = "Xray-SendToConnector",
|
|
189
|
+
XraySendToConnectorSent = "Xray-SendToConnector-Sent",
|
|
190
|
+
XraySendToConnectorProcore = "Xray-SendToConnector-Procore",
|
|
191
|
+
XraySendToConnectorProcorePhotos = "Xray-SendToConnector-Procore-Photos",
|
|
192
|
+
XraySendToConnectorProcoreObservations = "Xray-SendToConnector-Procore-Observations",
|
|
193
|
+
XraySendToConnectorAconex = "Xray-SendToConnector-Aconex",
|
|
194
|
+
XraySendToConnectorAutodesk = "Xray-SendToConnector-Autodesk",
|
|
172
195
|
WeatherGoBackDate = "Weather-GoBackDate",
|
|
173
196
|
WeatherGoForwardDate = "Weather-GoForwardDate",
|
|
174
197
|
WeatherReportExportFile = "ExportFile",
|
|
@@ -232,11 +255,16 @@ export declare enum AnalyticsEvent {
|
|
|
232
255
|
MarkUpToolSaveToMediaHub = "MarkUpTool-SaveToMediaHub",
|
|
233
256
|
MarkUpToolDownloadAs = "MarkUpTool-DownloadAs",
|
|
234
257
|
MarkUpToolSendToConnector = "MarkUpTool-SendToConnector",
|
|
258
|
+
MarkUpToolSendToConnectorSent = "MarkUpTool-SendToConnector-Sent",
|
|
259
|
+
MarkUpToolSendToConnectorProcore = "MarkUpTool-SendToConnector-Procore",
|
|
260
|
+
MarkUpToolSendToConnectorProcorePhotos = "MarkUpTool-SendToConnector-Procore-Photos",
|
|
261
|
+
MarkUpToolSendToConnectorProcoreObservations = "MarkUpTool-SendToConnector-Procore-Observations",
|
|
262
|
+
MarkUpToolSendToConnectorAconex = "MarkUpTool-SendToConnector-Aconex",
|
|
263
|
+
MarkUpToolSendToConnectorAutodesk = "MarkUpTool-SendToConnector-Autodesk",
|
|
235
264
|
AiToolToggleBrainToolsMenu = "AITool-ToggleBrainToolsMenu",
|
|
236
265
|
AiToolSelectObjectDetection = "AITool-SelectObjectDetection",
|
|
237
266
|
AiToolSelectAskChatGpt = "AITool-SelectAskChatGpt",
|
|
238
267
|
AiToolSelectSegmentation = "AITool-SelectSegmentation",
|
|
239
|
-
AiToolSelectDepthAnalysis = "AITool-SelectDepthAnalysis",
|
|
240
268
|
AiToolUpdateTransparency = "AITool-UpdateTransparency",
|
|
241
269
|
RecordingsCancelExportDialog = "CancelExportDialog",
|
|
242
270
|
RecordingsClickSupportLink = "ClickSupportLink",
|
|
@@ -258,7 +286,18 @@ export declare enum AnalyticsEvent {
|
|
|
258
286
|
SharingTransferOwnership = "TransferOwnership",
|
|
259
287
|
SharingSortBy = "SortBy",
|
|
260
288
|
SharingChangeAccessRight = "ChangeAccessRight",
|
|
261
|
-
|
|
289
|
+
ThreeSixtyGallery = "Gallery",
|
|
290
|
+
ThreeSixtyGalleryFilterAssetTypes = "Gallery-FilterAssetTypes",
|
|
291
|
+
ThreeSixtyGalleryFilterDateRange = "Gallery-FilterDateRange",
|
|
292
|
+
ThreeSixtyGalleryFilterFeatures = "Gallery-FilterFeatures",
|
|
293
|
+
ThreeSixtyGalleryFilterFloorName = "Gallery-FilterFloorName",
|
|
294
|
+
ThreeSixtyGalleryFilterUploadedBy = "Gallery-FilterUploadedBy",
|
|
295
|
+
ThreeSixtyGalleryTimelineSelectMilestoneItem = "Gallery-TimelineSelectMilestoneItem",
|
|
296
|
+
ThreeSixtyGalleryTimelineDateClick = "Gallery-TimelineDateClick",
|
|
297
|
+
ThreeSixtyGalleryToggleUploadDialog = "Gallery-ToggleUploadDialog",
|
|
298
|
+
ThreeSixtyGalleryToggleFilters = "Gallery-ToggleFilters",
|
|
299
|
+
ThreeSixtyGalleryUpdateFloorName = "Gallery-UpdateFloorName",
|
|
300
|
+
ThreeSixtyGalleryEditWalkName = "Gallery-EditWalkName",
|
|
262
301
|
ThreeSixtyChangeDate = "ChangeDate",
|
|
263
302
|
ThreeSixtyChangeFloor = "ChangeFloor",
|
|
264
303
|
ThreeSixtyCloseCompare = "CloseCompare",
|
|
@@ -295,9 +334,10 @@ export declare enum AnalyticsEvent {
|
|
|
295
334
|
ThreeSixtyTourToggleLoop = "Tour-ToggleLoop",
|
|
296
335
|
ThreeSixtyUnlockCompare = "UnlockCompare",
|
|
297
336
|
ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM",
|
|
337
|
+
ThreeSixtyUploadAssets = "UploadAssets",
|
|
298
338
|
DroneAreaToolClick = "AreaTool-Click",
|
|
299
339
|
DroneChangeDate = "ChangeDate",
|
|
300
|
-
|
|
340
|
+
DroneChooseCommentType = "ChooseCommentType",
|
|
301
341
|
DroneClickCameraLiveView = "ClickCameraLiveView",
|
|
302
342
|
DroneClickCameraMarker = "ClickCameraMarker",
|
|
303
343
|
DroneCompareToolClick = "CompareTool-Click",
|
|
@@ -312,13 +352,14 @@ export declare enum AnalyticsEvent {
|
|
|
312
352
|
DroneOpenHelpPanel = "OpenHelpPanel",
|
|
313
353
|
DroneOpenImageViewer = "OpenImageViewer",
|
|
314
354
|
DroneResetView = "ResetView",
|
|
315
|
-
DroneSaveTag = "SaveTag",
|
|
316
355
|
DroneSettingsToggle360PathsVisibility = "Settings-Toggle360PathsVisibility",
|
|
317
356
|
DroneSettingsToggleCameraMarkersVisibility = "Settings-ToggleCameraMarkersVisibility",
|
|
318
357
|
DroneSettingsToggleSurroundingBuildingsTool = "Settings-ToggleSurroundingBuildingsTool",
|
|
319
|
-
|
|
358
|
+
DroneSettingsToggleCommentsVisibility = "Settings-ToggleCommentsVisibility",
|
|
359
|
+
DroneSettingsToggleAerialShotsVisibility = "Settings-ToggleAerialShotsVisibility",
|
|
360
|
+
DroneSettingsOpenCommentsList = "Settings-OpenCommentsList",
|
|
320
361
|
DroneShareLink = "ShareLink",
|
|
321
|
-
|
|
362
|
+
DroneCommentsToolClick = "CommentsTool-Click",
|
|
322
363
|
DroneToggleBimCompareTool = "ToggleBimCompareTool",
|
|
323
364
|
DroneToggleFullScreen = "ToggleFullScreen",
|
|
324
365
|
DroneToggleMapStyle = "ToggleMapStyle",
|
|
@@ -331,6 +372,11 @@ export declare enum AnalyticsEvent {
|
|
|
331
372
|
DroneVolumeToolClick = "VolumeTool-Click",
|
|
332
373
|
DroneZoomIn = "ZoomIn",
|
|
333
374
|
DroneZoomOut = "ZoomOut",
|
|
375
|
+
DroneUploadSkipping = "SkipImageUpload",// To be removed later
|
|
376
|
+
DroneSaveComment = "SaveComment",
|
|
377
|
+
DroneUnarchiveComment = "UnarchiveComment",
|
|
378
|
+
DroneArchiveComment = "ArchiveComment",
|
|
379
|
+
DroneDeleteComment = "DeleteComment",
|
|
334
380
|
PlannerAddCameraClick = "AddCameraClick",
|
|
335
381
|
PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick",
|
|
336
382
|
PlannerAddSitePlanClick = "AddSitePlanClick",
|
|
@@ -354,8 +400,31 @@ export declare enum AnalyticsEvent {
|
|
|
354
400
|
PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing",
|
|
355
401
|
PlannerZoomIn = "ZoomIn",
|
|
356
402
|
PlannerZoomOut = "ZoomOut",
|
|
403
|
+
DrawingCreateSave = "CreateSave",
|
|
404
|
+
DrawingUpdateSave = "UpdateSave",
|
|
405
|
+
DrawingEditName = "EditName",
|
|
406
|
+
DrawingUpdateName = "UpdateName",
|
|
407
|
+
DrawingToggleSaveDialog = "ToggleSaveDialog",
|
|
408
|
+
DrawingClickHome = "ClickHome",
|
|
409
|
+
DrawingsUploadDrawing = "UploadDrawing",
|
|
410
|
+
DrawingsCreateDrawing = "CreateDrawing",
|
|
411
|
+
DrawingToggleFilter = "ToggleFilter",
|
|
412
|
+
DrawingToggleMapStyle = "ToggleMapStyle",
|
|
413
|
+
DrawingToggleMapLabels = "ToggleMapLabels",
|
|
414
|
+
DrawingToggleCamerasLabels = "ToggleCamerasLabels",
|
|
415
|
+
DrawingToggleCamerasVisibility = "ToggleCamerasVisibility",
|
|
416
|
+
DrawingToggleTransparencyMode = "ToggleTransparencyMode",
|
|
417
|
+
DrawingChooseDrawing = "ChooseDrawing",
|
|
418
|
+
DrawingChangeLocation = "ChangeLocation",
|
|
419
|
+
DrawingFilterDateRange = "FilterDateRange",
|
|
420
|
+
DrawingFilterDrawingName = "FilterDrawingName",
|
|
421
|
+
DrawingFilterCreatedBy = "FilterCreatedBy",
|
|
422
|
+
DrawingFilterMapStyle = "FilterMapStyle",
|
|
423
|
+
DrawingToggleRotate = "ToggleRotate",
|
|
424
|
+
DrawingToggleScale = "ToggleScale",
|
|
425
|
+
DrawingOpenExistingDrawing = "OpenExistingDrawing",
|
|
357
426
|
MarkerClicked = "MarkerClicked",
|
|
358
|
-
|
|
427
|
+
MarkerSelected = "MarkerSelected",
|
|
359
428
|
TimelapseSelectCustomPeriod = "SelectCustomPeriod",
|
|
360
429
|
TimelapseToggleCustomScheduleDialog = "ToggleCustomScheduleDialog",
|
|
361
430
|
TimelapseSaveCustomSchedule = "SaveCustomSchedule",
|
|
@@ -383,12 +452,18 @@ export declare enum AnalyticsEvent {
|
|
|
383
452
|
ProgressPhotoPause = "ProgressPhoto-Pause",
|
|
384
453
|
ProgressPhotoResume = "ProgressPhoto-Resume",
|
|
385
454
|
ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete",
|
|
455
|
+
ProgressPhotoSelectType = "ProgressPhoto-SelectType",
|
|
386
456
|
ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras",
|
|
457
|
+
ProgressPhotoToggleSelectAllOnlineCameras = "ProgressPhoto-ToggleSelectAllOnlineCameras",
|
|
458
|
+
ProgressPhotoToggleSelectAllCameras = "ProgressPhoto-ToggleSelectAllCameras",
|
|
459
|
+
ProgressPhotoClearAllCameras = "ProgressPhoto-ClearAllCameras",
|
|
460
|
+
ProgressPhotoEditCamerasSearchFilter = "ProgressPhoto-EditCamerasSearchFilter",
|
|
387
461
|
ProgressPhotoSelectDays = "ProgressPhoto-SelectDays",
|
|
388
462
|
ProgressPhotoSelectMember = "ProgressPhoto-SelectMember",
|
|
389
463
|
ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider",
|
|
390
464
|
ProgressPhotoSelectTime = "ProgressPhoto-SelectTime",
|
|
391
465
|
ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone",
|
|
466
|
+
ProgressPhotoEditSelectedCameras = "ProgressPhoto-EditSelectedCameras",
|
|
392
467
|
ProgressPhotoToggleCreateDialog = "ProgressPhoto-ToggleCreateDialog",
|
|
393
468
|
ProgressPhotoToggleEditDialog = "ProgressPhoto-ToggleEditDialog",
|
|
394
469
|
ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser",
|
|
@@ -446,13 +521,59 @@ export declare enum AnalyticsEvent {
|
|
|
446
521
|
GateReportToggleThumbnails = "ToggleThumbnails",
|
|
447
522
|
PpeTimelineDateClick = "PpeTimeline-DateClick",
|
|
448
523
|
HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton",
|
|
524
|
+
HelpMenuOpenProjectContactsDialog = "HelpMenu-OpenProjectContactsDialog",
|
|
449
525
|
HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat",
|
|
450
526
|
HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink",
|
|
451
527
|
HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink",
|
|
452
528
|
HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink",
|
|
453
529
|
HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink",
|
|
454
530
|
HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink",
|
|
531
|
+
Recording = "Recording",
|
|
532
|
+
CameraFilter = "CameraFilter",
|
|
533
|
+
MissingEquipmentHardHat = "MissingEquipment-HardHat",
|
|
534
|
+
MissingEquipmentHighVisibilityVest = "MissingEquipment-HighVisibilityVest",
|
|
535
|
+
MissingEquipmentSafetyGlasses = "MissingEquipment-SafetyGlasses",
|
|
536
|
+
MissingEquipmentSafetyGloves = "MissingEquipment-SafteyGLoves",
|
|
537
|
+
ExportAs = "ExportAs",
|
|
455
538
|
ExportPdf = "ExportPdf",
|
|
456
539
|
ExportCsv = "ExportCsv",
|
|
457
|
-
FilterCameras = "FilterCameras"
|
|
540
|
+
FilterCameras = "FilterCameras",
|
|
541
|
+
CompareSelectProvider = "Compare-SelectProvider",
|
|
542
|
+
CompareEditSelectedCameras = "Compare-EditSelectedCameras",
|
|
543
|
+
CompareEdit = "Compare-Edit",
|
|
544
|
+
CompareSelectTimezone = "Compare-SelectTimezone",
|
|
545
|
+
CompareSelectMember = "Compare-SelectMember",
|
|
546
|
+
CompareToggleSelectAllOnlineCameras = "Compare-ToggleSelectAllOnlineCameras",
|
|
547
|
+
CompareToggleSelectAllCameras = "Compare-ToggleSelectAllCameras",
|
|
548
|
+
CompareClearAllCameras = "Compare-ClearAllCameras",
|
|
549
|
+
CompareEditCamerasSearchFilter = "Compare-EditCamerasSearchFilter",
|
|
550
|
+
AutomationsSelectProgressPhoto = "SelectProgressPhoto",
|
|
551
|
+
AutomationsSelectCompare = "SelectCompare",
|
|
552
|
+
AutomationsCreateCompare = "CreateCompare",
|
|
553
|
+
AutomationToggleEditDialog = "ToggleEditDialog",
|
|
554
|
+
AutomationToggleCreateDialog = "ToggleCreateDialog",
|
|
555
|
+
AutomationTypeName = "TypeName",
|
|
556
|
+
CompareSelectDays = "Compare-SelectDays",
|
|
557
|
+
CompareSelectDelay = "Compare-SelectDelay",
|
|
558
|
+
CompareSelectTime = "Compare-SelectTime",
|
|
559
|
+
SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder",
|
|
560
|
+
SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector",
|
|
561
|
+
SmartSearchDeleteComponent = "SmartSearch-DeleteComponent",
|
|
562
|
+
SmartSearchPageChange = "SmartSearch-PageChange",
|
|
563
|
+
SmartSearchExecuteQuery = "SmartSearch-ExecuteQuery",
|
|
564
|
+
SmartSearchAddComponent = "SmartSearch-AddComponent",
|
|
565
|
+
SmartSearchConnectComponent = "SmartSearch-ConnectComponent",
|
|
566
|
+
SmartSearchUpdateComponent = "SmartSearch-UpdateComponent",
|
|
567
|
+
SmartSearchSavedQueryClick = "SmartSearch-SavedQueryClick",
|
|
568
|
+
SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries",
|
|
569
|
+
SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover",
|
|
570
|
+
SmartSearchThumbnailError = "SmartSearch-ThumbnailError",
|
|
571
|
+
SmartSearchViewSelected = "SmartSearch-ViewSelected",
|
|
572
|
+
SmartSearchOptionClicked = "SmartSearch-OptionClicked",
|
|
573
|
+
SmartSearchEditQuery = "SmartSearch-EditQuery",
|
|
574
|
+
SmartSearchDeleteQuery = "SmartSearch-DeleteQuery",
|
|
575
|
+
SmartSearchSaveQuery = "SmartSearch-SaveQuery",
|
|
576
|
+
SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay",
|
|
577
|
+
SmartSearchExportFile = "SmartSearch-ExportFile",
|
|
578
|
+
SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage"
|
|
458
579
|
}
|
|
@@ -1,17 +1,7 @@
|
|
|
1
|
-
import { BoundingBox, CameraExid, DateType, GateReportVehicleType, TimelinePrecision } from "
|
|
1
|
+
import { BoundingBox, CameraExid, DateType, GateReportVehicleType, TimelinePrecision } from "@evercam/api/types";
|
|
2
2
|
export type AnprQueryParams = {
|
|
3
3
|
page?: number;
|
|
4
4
|
limit?: number;
|
|
5
|
-
firstSeen?: {
|
|
6
|
-
gte: DateType;
|
|
7
|
-
};
|
|
8
|
-
lastSeen?: {
|
|
9
|
-
lte: DateType;
|
|
10
|
-
};
|
|
11
|
-
captureTime?: {
|
|
12
|
-
gte?: DateType;
|
|
13
|
-
lt?: DateType;
|
|
14
|
-
};
|
|
15
5
|
direction?: {
|
|
16
6
|
eq?: string;
|
|
17
7
|
} | string;
|
|
@@ -21,7 +11,11 @@ export type AnprQueryParams = {
|
|
|
21
11
|
sort?: string;
|
|
22
12
|
fromDate?: DateType;
|
|
23
13
|
toDate?: DateType;
|
|
24
|
-
|
|
14
|
+
camerasExid?: CameraExid[];
|
|
15
|
+
vehicleTypes?: GateReportVehicleType[];
|
|
16
|
+
isDuplicate?: boolean;
|
|
17
|
+
isPostprocessed?: boolean;
|
|
18
|
+
isPlate?: boolean;
|
|
25
19
|
};
|
|
26
20
|
export type AnprCountsQueryParams = {
|
|
27
21
|
precision: TimelinePrecision;
|
|
@@ -44,6 +38,7 @@ export type AnprEvent = {
|
|
|
44
38
|
id: number;
|
|
45
39
|
plateNumber: string;
|
|
46
40
|
cameraExid: CameraExid;
|
|
41
|
+
cameraex: CameraExid;
|
|
47
42
|
picName: string;
|
|
48
43
|
eventTime: string;
|
|
49
44
|
insertedAt: string;
|
|
@@ -66,7 +61,14 @@ export type AnprEvent = {
|
|
|
66
61
|
contextCamera: string;
|
|
67
62
|
votedVehicleType: GateReportVehicleType | string;
|
|
68
63
|
roiId?: number;
|
|
69
|
-
|
|
64
|
+
captureTime: DateType;
|
|
65
|
+
contextThumbnailUrl: string;
|
|
66
|
+
isPublic: boolean;
|
|
67
|
+
label: string;
|
|
68
|
+
mp4Url: string;
|
|
69
|
+
plateThumbnailUrl: string;
|
|
70
|
+
thumbnailUrl: string;
|
|
71
|
+
metadata: {
|
|
70
72
|
evercamMetadata?: {
|
|
71
73
|
anpr?: {
|
|
72
74
|
bbox: BoundingBox;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export declare enum RoleResourceType {
|
|
2
|
+
App = "app",
|
|
3
|
+
Camera = "camera",
|
|
4
|
+
Project = "project"
|
|
5
|
+
}
|
|
6
|
+
export type RoleSubRole = {
|
|
7
|
+
resourceId: string;
|
|
8
|
+
roleId: number;
|
|
9
|
+
roleName?: string;
|
|
10
|
+
permissions?: string[];
|
|
11
|
+
};
|
|
12
|
+
export type Role = {
|
|
13
|
+
id: number;
|
|
14
|
+
name: string;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
resource?: string;
|
|
17
|
+
resourceType: RoleResourceType;
|
|
18
|
+
resourceId?: string | null;
|
|
19
|
+
permissions: string[];
|
|
20
|
+
subRoles?: RoleSubRole[];
|
|
21
|
+
};
|
|
22
|
+
export type ProjectResourceRole = Role & {
|
|
23
|
+
resourceType: RoleResourceType.Project;
|
|
24
|
+
};
|
|
25
|
+
export type CameraResourceRole = Omit<Role, "subRoles"> & {
|
|
26
|
+
resourceType: RoleResourceType.Camera;
|
|
27
|
+
};
|
|
28
|
+
export type ProjectRoleRequestPayload = {
|
|
29
|
+
name: string;
|
|
30
|
+
permissions: string[];
|
|
31
|
+
subRoles?: RoleSubRole[];
|
|
32
|
+
};
|
|
33
|
+
export type AuthzRoleUser = {
|
|
34
|
+
email: string;
|
|
35
|
+
resourceId: string;
|
|
36
|
+
};
|
|
37
|
+
export type AuthzUserRolesResponse = {
|
|
38
|
+
roles: Role[];
|
|
39
|
+
};
|
|
40
|
+
export type AuthzScopePermission = {
|
|
41
|
+
id: number;
|
|
42
|
+
action: string;
|
|
43
|
+
exid: string;
|
|
44
|
+
};
|
|
45
|
+
export type AuthzScope = {
|
|
46
|
+
id: number;
|
|
47
|
+
name: string;
|
|
48
|
+
description: string | null;
|
|
49
|
+
permissions: AuthzScopePermission[];
|
|
50
|
+
app: string;
|
|
51
|
+
exid: string;
|
|
52
|
+
};
|
|
53
|
+
export type AuthzScopeCreatePayload = {
|
|
54
|
+
name: string;
|
|
55
|
+
description?: string;
|
|
56
|
+
permissions: string[];
|
|
57
|
+
};
|
|
58
|
+
export type AuthzScopeUpdatePayload = Partial<AuthzScopeCreatePayload>;
|
|
59
|
+
export declare function isProjectRole(role: Role): role is ProjectResourceRole;
|
|
60
|
+
export declare function isCameraRole(role: Role): role is CameraResourceRole;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type AutodeskUserHub = {
|
|
2
2
|
text: string;
|
|
3
3
|
value: string;
|
|
4
|
-
}
|
|
5
|
-
export type
|
|
4
|
+
};
|
|
5
|
+
export type AutodeskProject = {
|
|
6
6
|
text: string;
|
|
7
7
|
value: string;
|
|
8
|
-
}
|
|
9
|
-
export type
|
|
8
|
+
};
|
|
9
|
+
export type AutodeskFolder = {
|
|
10
10
|
text: string;
|
|
11
11
|
value: string;
|
|
12
12
|
allowedFileType: string;
|
|
13
13
|
allowedFolderType: string;
|
|
14
|
-
children: Array<
|
|
14
|
+
children: Array<AutodeskFolder>;
|
|
15
15
|
parentName?: string;
|
|
16
16
|
};
|
|
17
|
-
export type
|
|
17
|
+
export type AutodeskSnapshot = {
|
|
18
18
|
projectId: string;
|
|
19
19
|
folderId: string;
|
|
20
20
|
accFileType: string;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { AconexIdentifiers, CameraExid } from "@evercam/api/types";
|
|
2
|
+
export declare enum AutomationProvider {
|
|
3
|
+
Aconex = "aconex",
|
|
4
|
+
Procore = "procore",
|
|
5
|
+
Autodesk = "autodesk",
|
|
6
|
+
Email = "email"
|
|
7
|
+
}
|
|
8
|
+
export declare enum AutomationType {
|
|
9
|
+
Photo = "photo",
|
|
10
|
+
Compare = "compare",
|
|
11
|
+
GateReport = "gate_report"
|
|
12
|
+
}
|
|
13
|
+
export type AutomationCompareConfig = {
|
|
14
|
+
compareDelay: number;
|
|
15
|
+
};
|
|
16
|
+
export type AutomationEmailRecipient = string | {
|
|
17
|
+
email: string;
|
|
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
|
+
};
|
|
27
|
+
export type AutomationEmailProviderConfig = {
|
|
28
|
+
cameraExids?: CameraExid[];
|
|
29
|
+
recipients: string | AutomationEmailRecipient[];
|
|
30
|
+
};
|
|
31
|
+
export type AutomationProcoreProviderConfig = {
|
|
32
|
+
companyId: number;
|
|
33
|
+
companyName: string;
|
|
34
|
+
projectId: number;
|
|
35
|
+
projectName: string;
|
|
36
|
+
categoryId: number;
|
|
37
|
+
categoryName: string;
|
|
38
|
+
};
|
|
39
|
+
export type AutomationAconexProviderConfig = {
|
|
40
|
+
projectId: number;
|
|
41
|
+
projectName: string;
|
|
42
|
+
} & Partial<Record<AconexIdentifiers, string | number | boolean>>;
|
|
43
|
+
export type AutomationAutodeskProviderConfig = {
|
|
44
|
+
hubId: number;
|
|
45
|
+
hubName: string;
|
|
46
|
+
projectId: number;
|
|
47
|
+
projectName: string;
|
|
48
|
+
folderId: number;
|
|
49
|
+
accFileType: string;
|
|
50
|
+
accFolderType: string;
|
|
51
|
+
folderName: string;
|
|
52
|
+
};
|
|
53
|
+
export type AutomationProviderConfig = AutomationEmailProviderConfig | AutomationProcoreProviderConfig | AutomationAconexProviderConfig | AutomationAutodeskProviderConfig;
|
|
54
|
+
export type AutomationOptionsConfig = AutomationCompareConfig | AutomationGateReportConfig | {};
|
|
55
|
+
export type AutomationConfig = AutomationProviderConfig & AutomationOptionsConfig;
|
|
56
|
+
export type Automation = {
|
|
57
|
+
id?: number;
|
|
58
|
+
cameraExids: CameraExid[];
|
|
59
|
+
name: string;
|
|
60
|
+
subject?: string;
|
|
61
|
+
provider: AutomationProvider;
|
|
62
|
+
type: AutomationType;
|
|
63
|
+
config: AutomationConfig;
|
|
64
|
+
notifyDays: string[];
|
|
65
|
+
notifyTime: string;
|
|
66
|
+
timezone: string;
|
|
67
|
+
isPaused: boolean;
|
|
68
|
+
restrictedCameraExids?: string[];
|
|
69
|
+
};
|
|
70
|
+
export declare enum AutomationConfigStep {
|
|
71
|
+
Type = "type",
|
|
72
|
+
Cameras = "cameras",
|
|
73
|
+
Settings = "settings",
|
|
74
|
+
Destination = "destination"
|
|
75
|
+
}
|
|
76
|
+
export type AutomationProviderOption = {
|
|
77
|
+
labelTranslationKey: string;
|
|
78
|
+
descriptionTranslationKey: string;
|
|
79
|
+
value: AutomationProvider;
|
|
80
|
+
icon: string;
|
|
81
|
+
iconSize?: string;
|
|
82
|
+
requiresConnection: boolean;
|
|
83
|
+
};
|
|
84
|
+
export type FormattedAutomation = {
|
|
85
|
+
cameraExids: string;
|
|
86
|
+
name: string;
|
|
87
|
+
subject: string;
|
|
88
|
+
provider: AutomationProvider;
|
|
89
|
+
type: AutomationType;
|
|
90
|
+
config: Partial<AutomationProviderConfig> & Partial<AutomationOptionsConfig>;
|
|
91
|
+
notifyDays: string;
|
|
92
|
+
notifyTime: string;
|
|
93
|
+
timezone: string;
|
|
94
|
+
isPaused: boolean;
|
|
95
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelTokenSource, CancelTokenStatic } from "axios";
|
|
2
|
+
import { Swr } from "@evercam/api/api/client/swr/Swr";
|
|
2
3
|
export type TimedRequest<T> = Promise<AxiosResponse<T> & {
|
|
3
4
|
duration: number;
|
|
4
5
|
error?: AxiosError;
|
|
@@ -7,7 +8,9 @@ export type AxiosEnvironment = {
|
|
|
7
8
|
baseUrl?: string | null;
|
|
8
9
|
stagingAiApiUrl?: string | null;
|
|
9
10
|
aiApiUrl?: string | null;
|
|
11
|
+
aiApiUrlV2?: string | null;
|
|
10
12
|
ingestApiUrl?: string | null;
|
|
13
|
+
ingestGpuApiUrl?: string | null;
|
|
11
14
|
posthogApiUrl?: string | null;
|
|
12
15
|
posthogProjectId?: string | null;
|
|
13
16
|
posthogPrivateApiKey?: string | null;
|
|
@@ -15,17 +18,20 @@ export type AxiosEnvironment = {
|
|
|
15
18
|
weatherApiBaseUrl?: string | null;
|
|
16
19
|
evercamLabsUrl?: string | null;
|
|
17
20
|
firebaseDbLink?: string | null;
|
|
21
|
+
firebaseStorageUrl?: string | null;
|
|
22
|
+
firebaseStorageToken?: string | null;
|
|
18
23
|
snapshotsURL?: string | null;
|
|
19
24
|
app?: string | null;
|
|
20
25
|
getAuthToken?: () => string | null;
|
|
21
26
|
errorLogger?: (error: AxiosError) => void;
|
|
27
|
+
swrKey?: string;
|
|
22
28
|
};
|
|
23
29
|
export type RequestInterceptor = (req: AxiosRequestConfig, env: AxiosEnvironment) => AxiosRequestConfig & any;
|
|
24
30
|
export type ResponseInterceptor = (res: AxiosResponse, env: AxiosEnvironment) => AxiosResponse & any;
|
|
25
31
|
export type ErrorInterceptor = (error: any, env: AxiosEnvironment) => any;
|
|
26
32
|
export interface ExtendedAxiosInstance extends AxiosInstance {
|
|
27
33
|
CancelToken: CancelTokenStatic;
|
|
28
|
-
isCancel: (value: AxiosResponse | AxiosError |
|
|
34
|
+
isCancel: (value: AxiosResponse | AxiosError | unknown) => boolean;
|
|
29
35
|
setToken: (token: string) => void;
|
|
30
36
|
setHeader: (headerName: string, value: any) => void;
|
|
31
37
|
generateCancelTokenSource: () => CancelTokenSource;
|
|
@@ -37,7 +43,17 @@ export interface ExtendedAxiosInstance extends AxiosInstance {
|
|
|
37
43
|
addRequestInterceptor: (interceptor: RequestInterceptor, errorInterceptor?: ErrorInterceptor) => void;
|
|
38
44
|
addResponseInterceptor: (interceptor: ResponseInterceptor, errorInterceptor?: ErrorInterceptor) => void;
|
|
39
45
|
addErrorInterceptor: (interceptor: ErrorInterceptor) => void;
|
|
46
|
+
swr: Swr;
|
|
40
47
|
}
|
|
48
|
+
export type ResponseValue<T> = T | undefined;
|
|
49
|
+
export type SwrResponse<T> = {
|
|
50
|
+
cachedValue: ResponseValue<T>;
|
|
51
|
+
freshPromise: Promise<ResponseValue<T>>;
|
|
52
|
+
};
|
|
53
|
+
export type SwrRequestConfig<T> = Omit<AxiosRequestConfig, "onSwrHit" | "onSwrRefresh"> & {
|
|
54
|
+
onSwrHit?: (data: T) => unknown;
|
|
55
|
+
onSwrRefresh?: (data: T) => unknown;
|
|
56
|
+
};
|
|
41
57
|
declare module "axios" {
|
|
42
58
|
interface AxiosRequestConfig {
|
|
43
59
|
raw?: boolean;
|
|
@@ -46,5 +62,9 @@ declare module "axios" {
|
|
|
46
62
|
_metadata?: {
|
|
47
63
|
startTime: number;
|
|
48
64
|
};
|
|
65
|
+
swr?: boolean;
|
|
66
|
+
onSwrHit?: (data: any) => unknown;
|
|
67
|
+
onSwrRefresh?: (data: any) => unknown;
|
|
68
|
+
onSwrError?: (error: Error) => unknown;
|
|
49
69
|
}
|
|
50
70
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CompareLogoPosition, DateType } from "@evercam/api/types";
|
|
2
2
|
export declare enum BimModelType {
|
|
3
3
|
Architectural = "Architectural",
|
|
4
4
|
Structural = "Structural",
|
|
@@ -48,14 +48,15 @@ export type BimCompareExportRequestPayload = {
|
|
|
48
48
|
layerId?: number;
|
|
49
49
|
maskId?: number;
|
|
50
50
|
evercamWatermark?: boolean;
|
|
51
|
+
logo?: CompareLogoPosition;
|
|
51
52
|
};
|
|
52
53
|
export type BimLayerResponsePayload = {
|
|
53
54
|
id: number;
|
|
54
55
|
name: string;
|
|
55
|
-
insertedAt:
|
|
56
|
-
updatedAt:
|
|
56
|
+
insertedAt: string;
|
|
57
|
+
updatedAt: string;
|
|
57
58
|
shapes: string;
|
|
58
|
-
startAt:
|
|
59
|
+
startAt: string;
|
|
59
60
|
};
|
|
60
61
|
export declare enum BimUploadStatus {
|
|
61
62
|
Initial = 0,
|
|
@@ -78,13 +79,18 @@ export type BimCreationPayload = {
|
|
|
78
79
|
};
|
|
79
80
|
export declare enum BIMLayerTypes {
|
|
80
81
|
Mask = "mask",
|
|
82
|
+
BimMask = "bim_mask",
|
|
81
83
|
MeasuringGrid = "measuring_grid",
|
|
82
84
|
BimArchitectural = "bim_architectural",
|
|
83
85
|
BimStructural = "bim_structural",
|
|
84
86
|
Bim4D = "bim_4d",
|
|
85
87
|
BimMep = "bim_mep",
|
|
86
88
|
RecordingsTag = "recordings_tag",
|
|
87
|
-
Milestone = "milestone"
|
|
89
|
+
Milestone = "milestone",
|
|
90
|
+
ForgeBimArchitectural = "forge_bim_architectural",
|
|
91
|
+
ForgeBimStructural = "forge_bim_structural",
|
|
92
|
+
ForgeBim4D = "forge_bim_4d",
|
|
93
|
+
ForgeBimMep = "forge_bim_mep"
|
|
88
94
|
}
|
|
89
95
|
export type BimLayersQueryParams = {
|
|
90
96
|
layerType: BIMLayerTypes;
|