@evercam/api 1.0.0-e1ad6ae1b → 1.0.0-e424632fd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/api/{3dFirebaseApi.d.ts → api/3dFirebaseApi.d.ts} +8 -1
- package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +87 -83
- package/dist/api/api/aiApi.d.ts +128 -0
- package/dist/api/api/authzApi.d.ts +37 -0
- package/dist/api/{client → api/client}/axios.d.ts +2 -1
- package/dist/api/{client → api/client}/swr/Swr.d.ts +1 -1
- package/dist/api/{evercamApi.d.ts → api/evercamApi.d.ts} +118 -94
- package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +6 -4
- 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 +148 -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 +141 -41
- package/dist/{types → api/types}/anpr.d.ts +19 -2
- package/dist/{types → api/types}/auditLogs.d.ts +1 -1
- package/dist/api/types/authz.d.ts +61 -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 +10 -5
- package/dist/{types → api/types}/bim.d.ts +11 -5
- package/dist/{types → api/types}/camera.d.ts +97 -78
- package/dist/{types → api/types}/comments.d.ts +4 -8
- package/dist/{types → api/types}/company.d.ts +42 -1
- package/dist/{types → api/types}/compare.d.ts +20 -5
- package/dist/{types → api/types}/connector.d.ts +3 -5
- package/dist/{types → api/types}/coolify.d.ts +18 -2
- package/dist/{types → api/types}/copilot.d.ts +11 -6
- package/dist/{types → api/types}/credentials.d.ts +1 -0
- package/dist/{types → api/types}/detections.d.ts +20 -22
- package/dist/{types → api/types}/drone.d.ts +1 -0
- package/dist/{types → api/types}/gateReport.d.ts +48 -157
- package/dist/{types → api/types}/hdd.d.ts +26 -1
- package/dist/{types → api/types}/index.d.ts +7 -1
- package/dist/api/types/ingest.d.ts +147 -0
- package/dist/{types → api/types}/kit.d.ts +33 -5
- package/dist/{types → api/types}/media.d.ts +2 -1
- package/dist/api/types/notification.d.ts +57 -0
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/planner.d.ts +79 -0
- package/dist/api/types/posthog.d.ts +33 -0
- package/dist/{types → api/types}/procore.d.ts +13 -6
- package/dist/{types → api/types}/progressPhoto.d.ts +6 -32
- package/dist/api/types/project.d.ts +246 -0
- package/dist/{types → api/types}/recording.d.ts +4 -3
- package/dist/{types → api/types}/recycleBin.d.ts +1 -1
- package/dist/api/types/ring.d.ts +53 -0
- package/dist/{types → api/types}/router.d.ts +20 -1
- package/dist/{types → api/types}/shared.d.ts +16 -4
- 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 +287 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/{types → api/types}/snapshots.d.ts +36 -4
- package/dist/api/types/storageProvider.d.ts +19 -0
- package/dist/api/types/storyblok.d.ts +40 -0
- package/dist/{types → api/types}/streaming.d.ts +3 -3
- 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 +12 -5
- package/dist/{types → api/types}/user.d.ts +105 -31
- package/dist/api/types/videoWall.d.ts +66 -0
- package/dist/{types → api/types}/weather.d.ts +75 -11
- package/dist/{types → api/types}/widget.d.ts +72 -11
- 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 +1104 -917
- 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 +301 -0
- package/dist/shared/types/imagePlayer.d.ts +34 -0
- package/dist/shared/types/index.d.ts +5 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/timeline.d.ts +10 -0
- package/package.json +4 -4
- package/dist/api/aiApi.d.ts +0 -146
- package/dist/api/authzApi.d.ts +0 -21
- package/dist/api/ingestApi.d.ts +0 -88
- package/dist/api/videoWallApi.d.ts +0 -9
- package/dist/types/360.d.ts +0 -139
- package/dist/types/aconex.d.ts +0 -45
- package/dist/types/automation.d.ts +0 -10
- package/dist/types/ingest.d.ts +0 -47
- package/dist/types/notification.d.ts +0 -27
- package/dist/types/planner.d.ts +0 -32
- package/dist/types/posthog.d.ts +0 -18
- package/dist/types/project.d.ts +0 -129
- package/dist/types/shares.d.ts +0 -196
- package/dist/types/siteAnalytics.d.ts +0 -142
- package/dist/types/storageServers.d.ts +0 -4
- package/dist/types/time.d.ts +0 -21
- package/dist/types/videoWall.d.ts +0 -33
- /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/{client → api/client}/swr/SwrStore.d.ts +0 -0
- /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
- /package/dist/{types → api/types}/countries.d.ts +0 -0
- /package/dist/{types → api/types}/errors.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}/routeParams.d.ts +0 -0
- /package/dist/{types → api/types}/sso.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,9 +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
46
|
PpeReport = "PpeReport",
|
|
46
|
-
SmartSearch = "SmartSearch"
|
|
47
|
+
SmartSearch = "SmartSearch",
|
|
48
|
+
Drawings = "Drawings"
|
|
47
49
|
}
|
|
48
50
|
export declare enum AnalyticsEvent {
|
|
49
51
|
PageView = "PageView",
|
|
@@ -77,6 +79,19 @@ export declare enum AnalyticsEvent {
|
|
|
77
79
|
SettingsConnectorsRemoveVoyageControlConnection = "RemoveVoyageControl",
|
|
78
80
|
SettingsConnectorsToggleConnectorPromptDialog = "ToggleConnectorPromptDialog",
|
|
79
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",
|
|
80
95
|
WidgetsAddWidgetClick = "AddWidget",
|
|
81
96
|
WidgetsCancelClick = "Cancel",
|
|
82
97
|
WidgetsEditHeight = "EditHeight",
|
|
@@ -103,6 +118,7 @@ export declare enum AnalyticsEvent {
|
|
|
103
118
|
WidgetsSettingToggleRestrictRecentImages = "ToggleRestrictRecentImages",
|
|
104
119
|
WidgetsSettingToggleZoom = "ToggleZoom",
|
|
105
120
|
WidgetsTogglePublicWidget = "TogglePublicWidget",
|
|
121
|
+
WidgetsToggleRestrictRecordingsRange = "ToggleRestrictRecordingsRange",
|
|
106
122
|
PlayerSelectCamera = "Player-SelectCamera",
|
|
107
123
|
PlayerDownload = "Player-Download",
|
|
108
124
|
PlayerToggleFullscreen = "Player-ToggleFullscreen",
|
|
@@ -170,6 +186,12 @@ export declare enum AnalyticsEvent {
|
|
|
170
186
|
XarySelectLatestDate = "Xray-SelectLatestDate",
|
|
171
187
|
XarySelectOldestDate = "Xray-SelectOldestDate",
|
|
172
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",
|
|
173
195
|
WeatherGoBackDate = "Weather-GoBackDate",
|
|
174
196
|
WeatherGoForwardDate = "Weather-GoForwardDate",
|
|
175
197
|
WeatherReportExportFile = "ExportFile",
|
|
@@ -233,11 +255,12 @@ export declare enum AnalyticsEvent {
|
|
|
233
255
|
MarkUpToolSaveToMediaHub = "MarkUpTool-SaveToMediaHub",
|
|
234
256
|
MarkUpToolDownloadAs = "MarkUpTool-DownloadAs",
|
|
235
257
|
MarkUpToolSendToConnector = "MarkUpTool-SendToConnector",
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
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",
|
|
241
264
|
RecordingsCancelExportDialog = "CancelExportDialog",
|
|
242
265
|
RecordingsClickSupportLink = "ClickSupportLink",
|
|
243
266
|
RecordingsCreateClip = "CreateClip",
|
|
@@ -259,6 +282,7 @@ export declare enum AnalyticsEvent {
|
|
|
259
282
|
SharingSortBy = "SortBy",
|
|
260
283
|
SharingChangeAccessRight = "ChangeAccessRight",
|
|
261
284
|
ThreeSixtyGallery = "Gallery",
|
|
285
|
+
ThreeSixtyGalleryFilterAssetTypes = "Gallery-FilterAssetTypes",
|
|
262
286
|
ThreeSixtyGalleryFilterDateRange = "Gallery-FilterDateRange",
|
|
263
287
|
ThreeSixtyGalleryFilterFeatures = "Gallery-FilterFeatures",
|
|
264
288
|
ThreeSixtyGalleryFilterFloorName = "Gallery-FilterFloorName",
|
|
@@ -266,7 +290,6 @@ export declare enum AnalyticsEvent {
|
|
|
266
290
|
ThreeSixtyGalleryTimelineSelectMilestoneItem = "Gallery-TimelineSelectMilestoneItem",
|
|
267
291
|
ThreeSixtyGalleryTimelineDateClick = "Gallery-TimelineDateClick",
|
|
268
292
|
ThreeSixtyGalleryToggleUploadDialog = "Gallery-ToggleUploadDialog",
|
|
269
|
-
ThreeSixtyGalleryToggleFilters = "Gallery-ToggleFilters",
|
|
270
293
|
ThreeSixtyGalleryUpdateFloorName = "Gallery-UpdateFloorName",
|
|
271
294
|
ThreeSixtyGalleryEditWalkName = "Gallery-EditWalkName",
|
|
272
295
|
ThreeSixtyChangeDate = "ChangeDate",
|
|
@@ -308,7 +331,7 @@ export declare enum AnalyticsEvent {
|
|
|
308
331
|
ThreeSixtyUploadAssets = "UploadAssets",
|
|
309
332
|
DroneAreaToolClick = "AreaTool-Click",
|
|
310
333
|
DroneChangeDate = "ChangeDate",
|
|
311
|
-
|
|
334
|
+
DroneChooseCommentType = "ChooseCommentType",
|
|
312
335
|
DroneClickCameraLiveView = "ClickCameraLiveView",
|
|
313
336
|
DroneClickCameraMarker = "ClickCameraMarker",
|
|
314
337
|
DroneCompareToolClick = "CompareTool-Click",
|
|
@@ -323,16 +346,19 @@ export declare enum AnalyticsEvent {
|
|
|
323
346
|
DroneOpenHelpPanel = "OpenHelpPanel",
|
|
324
347
|
DroneOpenImageViewer = "OpenImageViewer",
|
|
325
348
|
DroneResetView = "ResetView",
|
|
326
|
-
DroneSaveTag = "SaveTag",
|
|
327
349
|
DroneSettingsToggle360PathsVisibility = "Settings-Toggle360PathsVisibility",
|
|
328
350
|
DroneSettingsToggleCameraMarkersVisibility = "Settings-ToggleCameraMarkersVisibility",
|
|
329
351
|
DroneSettingsToggleSurroundingBuildingsTool = "Settings-ToggleSurroundingBuildingsTool",
|
|
330
|
-
|
|
352
|
+
DroneSettingsToggleCommentsVisibility = "Settings-ToggleCommentsVisibility",
|
|
353
|
+
DroneSettingsToggleAerialShotsVisibility = "Settings-ToggleAerialShotsVisibility",
|
|
354
|
+
DroneSettingsOpenCommentsList = "Settings-OpenCommentsList",
|
|
331
355
|
DroneShareLink = "ShareLink",
|
|
332
|
-
|
|
356
|
+
DroneCommentsToolClick = "CommentsTool-Click",
|
|
333
357
|
DroneToggleBimCompareTool = "ToggleBimCompareTool",
|
|
334
358
|
DroneToggleFullScreen = "ToggleFullScreen",
|
|
335
359
|
DroneToggleMapStyle = "ToggleMapStyle",
|
|
360
|
+
DroneTogglePointCloud = "TogglePointCloud",
|
|
361
|
+
DroneToggleGaussianSplat = "ToggleGaussianSplat",
|
|
336
362
|
DroneToggleQualityMode = "ChooseQuality",
|
|
337
363
|
DroneToggleSideMenu = "ToggleSideMenu",
|
|
338
364
|
DroneToggleImageryPlan = "ToggleImageryPlan",
|
|
@@ -343,6 +369,11 @@ export declare enum AnalyticsEvent {
|
|
|
343
369
|
DroneZoomIn = "ZoomIn",
|
|
344
370
|
DroneZoomOut = "ZoomOut",
|
|
345
371
|
DroneUploadSkipping = "SkipImageUpload",// To be removed later
|
|
372
|
+
DroneSaveComment = "SaveComment",
|
|
373
|
+
DroneUnarchiveComment = "UnarchiveComment",
|
|
374
|
+
DroneArchiveComment = "ArchiveComment",
|
|
375
|
+
DroneDeleteComment = "DeleteComment",
|
|
376
|
+
DroneSaveAerialShot = "SaveAerialShot",
|
|
346
377
|
PlannerAddCameraClick = "AddCameraClick",
|
|
347
378
|
PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick",
|
|
348
379
|
PlannerAddSitePlanClick = "AddSitePlanClick",
|
|
@@ -366,7 +397,30 @@ export declare enum AnalyticsEvent {
|
|
|
366
397
|
PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing",
|
|
367
398
|
PlannerZoomIn = "ZoomIn",
|
|
368
399
|
PlannerZoomOut = "ZoomOut",
|
|
400
|
+
DrawingCreateSave = "CreateSave",
|
|
401
|
+
DrawingUpdateSave = "UpdateSave",
|
|
402
|
+
DrawingEditName = "EditName",
|
|
403
|
+
DrawingUpdateName = "UpdateName",
|
|
404
|
+
DrawingToggleSaveDialog = "ToggleSaveDialog",
|
|
405
|
+
DrawingClickHome = "ClickHome",
|
|
406
|
+
DrawingsUploadDrawing = "UploadDrawing",
|
|
407
|
+
DrawingsCreateDrawing = "CreateDrawing",
|
|
408
|
+
DrawingToggleMapStyle = "ToggleMapStyle",
|
|
409
|
+
DrawingToggleMapLabels = "ToggleMapLabels",
|
|
410
|
+
DrawingToggleCamerasLabels = "ToggleCamerasLabels",
|
|
411
|
+
DrawingToggleCamerasVisibility = "ToggleCamerasVisibility",
|
|
412
|
+
DrawingToggleTransparencyMode = "ToggleTransparencyMode",
|
|
413
|
+
DrawingChooseDrawing = "ChooseDrawing",
|
|
414
|
+
DrawingChangeLocation = "ChangeLocation",
|
|
415
|
+
DrawingFilterDateRange = "FilterDateRange",
|
|
416
|
+
DrawingFilterDrawingName = "FilterDrawingName",
|
|
417
|
+
DrawingFilterCreatedBy = "FilterCreatedBy",
|
|
418
|
+
DrawingFilterMapStyle = "FilterMapStyle",
|
|
419
|
+
DrawingToggleRotate = "ToggleRotate",
|
|
420
|
+
DrawingToggleScale = "ToggleScale",
|
|
421
|
+
DrawingOpenExistingDrawing = "OpenExistingDrawing",
|
|
369
422
|
MarkerClicked = "MarkerClicked",
|
|
423
|
+
MarkerSelected = "MarkerSelected",
|
|
370
424
|
TimelapseSelectCustomPeriod = "SelectCustomPeriod",
|
|
371
425
|
TimelapseToggleCustomScheduleDialog = "ToggleCustomScheduleDialog",
|
|
372
426
|
TimelapseSaveCustomSchedule = "SaveCustomSchedule",
|
|
@@ -378,33 +432,6 @@ export declare enum AnalyticsEvent {
|
|
|
378
432
|
TimelapseGoToMediaHub = "GoToMediaHub",
|
|
379
433
|
TimelapseToggleUploadLogoDialog = "ToggleUploadLogoDialog",
|
|
380
434
|
TimelapseUploadLogo = "UploadLogo",
|
|
381
|
-
ProgressPhotoCancelPause = "ProgressPhoto-CancelPause",
|
|
382
|
-
ProgressPhotoCancelResume = "ProgressPhoto-CancelResume",
|
|
383
|
-
ProgressPhotoCancelDelete = "ProgressPhoto-CancelDelete",
|
|
384
|
-
ProgressPhotoCreate = "ProgressPhoto-Create",
|
|
385
|
-
ProgressPhotoDelete = "ProgressPhoto-Delete",
|
|
386
|
-
ProgressPhotoEdit = "ProgressPhoto-Edit",
|
|
387
|
-
ProgressPhotoEditCamerasFilter = "ProgressPhoto-EditCamerasFilter",
|
|
388
|
-
ProgressPhotoEditDaysFilter = "ProgressPhoto-EditDaysFilter",
|
|
389
|
-
ProgressPhotoEditProjectsFilter = "ProgressPhoto-EditProjectsFilter",
|
|
390
|
-
ProgressPhotoEditSearchFilter = "ProgressPhoto-EditSearchFilter",
|
|
391
|
-
ProgressPhotoEditStatusFilter = "ProgressPhoto-EditStatusFilter",
|
|
392
|
-
ProgressPhotoEditUsersFilter = "ProgressPhoto-EditUsersFilter",
|
|
393
|
-
ProgressPhotoFiltersClicked = "ProgressPhoto-FiltersClicked",
|
|
394
|
-
ProgressPhotoPause = "ProgressPhoto-Pause",
|
|
395
|
-
ProgressPhotoResume = "ProgressPhoto-Resume",
|
|
396
|
-
ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete",
|
|
397
|
-
ProgressPhotoSelectType = "ProgressPhoto-SelectType",
|
|
398
|
-
ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras",
|
|
399
|
-
ProgressPhotoSelectDays = "ProgressPhoto-SelectDays",
|
|
400
|
-
ProgressPhotoSelectMember = "ProgressPhoto-SelectMember",
|
|
401
|
-
ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider",
|
|
402
|
-
ProgressPhotoSelectTime = "ProgressPhoto-SelectTime",
|
|
403
|
-
ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone",
|
|
404
|
-
ProgressPhotoSelectDelay = "ProgressPhoto-SelectDelay",
|
|
405
|
-
ProgressPhotoToggleCreateDialog = "ProgressPhoto-ToggleCreateDialog",
|
|
406
|
-
ProgressPhotoToggleEditDialog = "ProgressPhoto-ToggleEditDialog",
|
|
407
|
-
ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser",
|
|
408
435
|
MapViewChooseSatellite = "MapView-ChooseSatellite",
|
|
409
436
|
MapViewChooseTerrain = "MapView-ChooseMap",
|
|
410
437
|
MapViewClickCameraLink = "MapView-ClickCameraLink",
|
|
@@ -421,10 +448,15 @@ export declare enum AnalyticsEvent {
|
|
|
421
448
|
ProjectSettingsCameraSettingsSaveCameraName = "SaveCameraName",
|
|
422
449
|
ProjectSettingsMembersApplyCamerasFilter = "ApplyCamerasFilter",
|
|
423
450
|
ProjectSettingsMembersApplySearchFilter = "ApplySearchFilter",
|
|
451
|
+
ProjectSettingsMembersViewRoleInfo = "ViewRoleInfo",
|
|
452
|
+
ProjectSettingsMembersViewMemberInfo = "ViewMemberInfo",
|
|
453
|
+
ProjectSettingsMembersBulkRemove = "BulkRemove",
|
|
454
|
+
ProjectSettingsMembersInviteSent = "InviteSent",
|
|
455
|
+
ProjectSettingsMembersRejectInvite = "RejectInvite",
|
|
424
456
|
ProjectSettingsMembersAddMember = "AddMember",
|
|
457
|
+
ProjectSettingsMembersBulkRoleUpdate = "BulkRoleUpdate",
|
|
425
458
|
ProjectSettingsMembersDeleteCameraAccess = "DeleteCameraAccess",
|
|
426
459
|
ProjectSettingsMembersEditCameraAccess = "EditCameraAccess",
|
|
427
|
-
ProjectSettingsMembersFiltersClick = "FiltersClick",
|
|
428
460
|
ProjectSettingsMembersShareCamera = "ShareCamera",
|
|
429
461
|
ProjectSettingsMembersToggleAddDialog = "ToggleAddDialog",
|
|
430
462
|
ProjectSettingsOverviewOpenInMapView = "OpenInMapView",
|
|
@@ -459,6 +491,7 @@ export declare enum AnalyticsEvent {
|
|
|
459
491
|
GateReportToggleThumbnails = "ToggleThumbnails",
|
|
460
492
|
PpeTimelineDateClick = "PpeTimeline-DateClick",
|
|
461
493
|
HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton",
|
|
494
|
+
HelpMenuOpenProjectContactsDialog = "HelpMenu-OpenProjectContactsDialog",
|
|
462
495
|
HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat",
|
|
463
496
|
HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink",
|
|
464
497
|
HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink",
|
|
@@ -475,6 +508,65 @@ export declare enum AnalyticsEvent {
|
|
|
475
508
|
ExportPdf = "ExportPdf",
|
|
476
509
|
ExportCsv = "ExportCsv",
|
|
477
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",
|
|
532
|
+
CompareSelectProvider = "Compare-SelectProvider",
|
|
533
|
+
CompareSelectCameras = "Compare-SelectCameras",
|
|
534
|
+
CompareEdit = "Compare-Edit",
|
|
535
|
+
CompareSelectTimezone = "Compare-SelectTimezone",
|
|
536
|
+
CompareSelectMember = "Compare-SelectMember",
|
|
537
|
+
CompareToggleSelectAllOnlineCameras = "Compare-ToggleSelectAllOnlineCameras",
|
|
538
|
+
CompareToggleSelectAllCameras = "Compare-ToggleSelectAllCameras",
|
|
539
|
+
CompareClearAllCameras = "Compare-ClearAllCameras",
|
|
540
|
+
CompareEditCamerasSearchFilter = "Compare-EditCamerasSearchFilter",
|
|
541
|
+
CompareSelectType = "Compare-SelectType",
|
|
542
|
+
CompareCreate = "Compare-Create",
|
|
543
|
+
AutomationsEditSearchFilter = "EditSearchFilter",
|
|
544
|
+
AutomationsEditStatusFilter = "EditStatusFilter",
|
|
545
|
+
AutomationsEditUsersFilter = "EditUsersFilter",
|
|
546
|
+
AutomationsEditDaysFilter = "EditDaysFilter",
|
|
547
|
+
AutomationsEditCamerasFilter = "EditCamerasFilter",
|
|
548
|
+
AutomationToggleEditDialog = "ToggleEditDialog",
|
|
549
|
+
AutomationToggleCreateDialog = "ToggleCreateDialog",
|
|
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",
|
|
567
|
+
CompareSelectDays = "Compare-SelectDays",
|
|
568
|
+
CompareSelectDelay = "Compare-SelectDelay",
|
|
569
|
+
CompareSelectTime = "Compare-SelectTime",
|
|
478
570
|
SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder",
|
|
479
571
|
SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector",
|
|
480
572
|
SmartSearchDeleteComponent = "SmartSearch-DeleteComponent",
|
|
@@ -487,11 +579,19 @@ export declare enum AnalyticsEvent {
|
|
|
487
579
|
SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries",
|
|
488
580
|
SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover",
|
|
489
581
|
SmartSearchThumbnailError = "SmartSearch-ThumbnailError",
|
|
490
|
-
|
|
582
|
+
SmartSearchViewSelected = "SmartSearch-ViewSelected",
|
|
491
583
|
SmartSearchOptionClicked = "SmartSearch-OptionClicked",
|
|
492
584
|
SmartSearchEditQuery = "SmartSearch-EditQuery",
|
|
493
585
|
SmartSearchDeleteQuery = "SmartSearch-DeleteQuery",
|
|
494
586
|
SmartSearchSaveQuery = "SmartSearch-SaveQuery",
|
|
495
587
|
SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay",
|
|
496
|
-
SmartSearchExportFile = "SmartSearch-ExportFile"
|
|
588
|
+
SmartSearchExportFile = "SmartSearch-ExportFile",
|
|
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"
|
|
497
597
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
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;
|
|
@@ -62,7 +62,13 @@ export type AnprEvent = {
|
|
|
62
62
|
votedVehicleType: GateReportVehicleType | string;
|
|
63
63
|
roiId?: number;
|
|
64
64
|
captureTime: DateType;
|
|
65
|
-
|
|
65
|
+
contextThumbnailUrl: string;
|
|
66
|
+
isPublic: boolean;
|
|
67
|
+
label: string;
|
|
68
|
+
mp4Url: string;
|
|
69
|
+
plateThumbnailUrl: string;
|
|
70
|
+
thumbnailUrl: string;
|
|
71
|
+
metadata: {
|
|
66
72
|
evercamMetadata?: {
|
|
67
73
|
anpr?: {
|
|
68
74
|
bbox: BoundingBox;
|
|
@@ -95,3 +101,14 @@ export declare enum AnprEventStatus {
|
|
|
95
101
|
IsDuplicate = "is_duplicate",
|
|
96
102
|
NotDuplicate = "not_duplicate"
|
|
97
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
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
isDefault?: boolean;
|
|
22
|
+
};
|
|
23
|
+
export type ProjectResourceRole = Role & {
|
|
24
|
+
resourceType: RoleResourceType.Project;
|
|
25
|
+
};
|
|
26
|
+
export type CameraResourceRole = Omit<Role, "subRoles"> & {
|
|
27
|
+
resourceType: RoleResourceType.Camera;
|
|
28
|
+
};
|
|
29
|
+
export type ProjectRoleRequestPayload = {
|
|
30
|
+
name: string;
|
|
31
|
+
permissions: string[];
|
|
32
|
+
subRoles?: RoleSubRole[];
|
|
33
|
+
};
|
|
34
|
+
export type AuthzRoleUser = {
|
|
35
|
+
email: string;
|
|
36
|
+
resourceId: string;
|
|
37
|
+
};
|
|
38
|
+
export type AuthzUserRolesResponse = {
|
|
39
|
+
roles: Role[];
|
|
40
|
+
};
|
|
41
|
+
export type AuthzScopePermission = {
|
|
42
|
+
id: number;
|
|
43
|
+
action: string;
|
|
44
|
+
exid: string;
|
|
45
|
+
};
|
|
46
|
+
export type AuthzScope = {
|
|
47
|
+
id: number;
|
|
48
|
+
name: string;
|
|
49
|
+
description: string | null;
|
|
50
|
+
permissions: AuthzScopePermission[];
|
|
51
|
+
app: string;
|
|
52
|
+
exid: string;
|
|
53
|
+
};
|
|
54
|
+
export type AuthzScopeCreatePayload = {
|
|
55
|
+
name: string;
|
|
56
|
+
description?: string;
|
|
57
|
+
permissions: string[];
|
|
58
|
+
};
|
|
59
|
+
export type AuthzScopeUpdatePayload = Partial<AuthzScopeCreatePayload>;
|
|
60
|
+
export declare function isProjectRole(role: Role): role is ProjectResourceRole;
|
|
61
|
+
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,5 +1,5 @@
|
|
|
1
1
|
import type { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelTokenSource, CancelTokenStatic } from "axios";
|
|
2
|
-
import { Swr } from "
|
|
2
|
+
import { Swr } from "@evercam/api/api/client/swr/Swr";
|
|
3
3
|
export type TimedRequest<T> = Promise<AxiosResponse<T> & {
|
|
4
4
|
duration: number;
|
|
5
5
|
error?: AxiosError;
|
|
@@ -8,7 +8,8 @@ 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
14
|
posthogApiUrl?: string | null;
|
|
14
15
|
posthogProjectId?: string | null;
|
|
@@ -30,7 +31,7 @@ export type ResponseInterceptor = (res: AxiosResponse, env: AxiosEnvironment) =>
|
|
|
30
31
|
export type ErrorInterceptor = (error: any, env: AxiosEnvironment) => any;
|
|
31
32
|
export interface ExtendedAxiosInstance extends AxiosInstance {
|
|
32
33
|
CancelToken: CancelTokenStatic;
|
|
33
|
-
isCancel: (value: AxiosResponse | AxiosError |
|
|
34
|
+
isCancel: (value: AxiosResponse | AxiosError | unknown) => boolean;
|
|
34
35
|
setToken: (token: string) => void;
|
|
35
36
|
setHeader: (headerName: string, value: any) => void;
|
|
36
37
|
generateCancelTokenSource: () => CancelTokenSource;
|
|
@@ -49,6 +50,10 @@ export type SwrResponse<T> = {
|
|
|
49
50
|
cachedValue: ResponseValue<T>;
|
|
50
51
|
freshPromise: Promise<ResponseValue<T>>;
|
|
51
52
|
};
|
|
53
|
+
export type SwrRequestConfig<T> = Omit<AxiosRequestConfig, "onSwrHit" | "onSwrRefresh"> & {
|
|
54
|
+
onSwrHit?: (data: T) => unknown;
|
|
55
|
+
onSwrRefresh?: (data: T) => unknown;
|
|
56
|
+
};
|
|
52
57
|
declare module "axios" {
|
|
53
58
|
interface AxiosRequestConfig {
|
|
54
59
|
raw?: boolean;
|
|
@@ -58,8 +63,8 @@ declare module "axios" {
|
|
|
58
63
|
startTime: number;
|
|
59
64
|
};
|
|
60
65
|
swr?: boolean;
|
|
61
|
-
onSwrHit?:
|
|
62
|
-
onSwrRefresh?:
|
|
66
|
+
onSwrHit?: (data: any) => unknown;
|
|
67
|
+
onSwrRefresh?: (data: any) => unknown;
|
|
63
68
|
onSwrError?: (error: Error) => unknown;
|
|
64
69
|
}
|
|
65
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;
|