@evercam/api 1.0.0-79849e0e7 → 1.0.0-7e19ed0be
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 +212 -15
- package/dist/api/api/adminApi.d.ts +100 -97
- package/dist/api/api/aiApi.d.ts +130 -7
- package/dist/api/api/authzApi.d.ts +5 -3
- package/dist/api/api/evercamApi.d.ts +52 -33
- package/dist/api/api/evercamLabsApi.d.ts +9 -17
- package/dist/api/api/exNvrApi.d.ts +1 -1
- package/dist/api/api/index.d.ts +1 -0
- package/dist/api/api/ingestApi.d.ts +56 -34
- package/dist/api/api/reportsApi.d.ts +15 -0
- package/dist/api/types/360.d.ts +178 -86
- package/dist/api/types/admin.d.ts +37 -3
- package/dist/api/types/aiConfigs.d.ts +244 -0
- package/dist/api/types/analytics.d.ts +57 -33
- package/dist/api/types/anpr.d.ts +36 -6
- package/dist/api/types/apiKey.d.ts +70 -0
- package/dist/api/types/auditLogs.d.ts +179 -21
- package/dist/api/types/authz.d.ts +71 -0
- package/dist/api/types/automation.d.ts +32 -4
- package/dist/api/types/axios.d.ts +10 -9
- package/dist/api/types/bim.d.ts +55 -12
- package/dist/api/types/camera.d.ts +236 -127
- package/dist/api/types/comments.d.ts +67 -26
- package/dist/api/types/company.d.ts +11 -5
- package/dist/api/types/compare.d.ts +1 -1
- package/dist/api/types/connector.d.ts +2 -0
- package/dist/api/types/detections.d.ts +6 -10
- package/dist/api/types/drone.d.ts +94 -6
- package/dist/api/types/emailMessages.d.ts +27 -0
- package/dist/api/types/errors.d.ts +19 -2
- package/dist/api/types/gateReport.d.ts +9 -23
- package/dist/api/types/gateReportManagement.d.ts +170 -0
- package/dist/api/types/hammertech.d.ts +98 -0
- package/dist/api/types/hdd.d.ts +1 -1
- package/dist/api/types/index.d.ts +11 -2
- package/dist/api/types/ingest.d.ts +194 -27
- package/dist/api/types/kit.d.ts +97 -117
- package/dist/api/types/map.d.ts +12 -0
- package/dist/api/types/media.d.ts +31 -3
- package/dist/api/types/notification.d.ts +52 -2
- package/dist/api/types/nvr.d.ts +39 -8
- package/dist/api/types/observationEvents.d.ts +167 -0
- package/dist/api/types/observations.d.ts +89 -0
- package/dist/api/types/planner.d.ts +56 -10
- package/dist/api/types/posthog.d.ts +56 -0
- package/dist/api/types/progressPhoto.d.ts +38 -25
- package/dist/api/types/project.d.ts +69 -22
- package/dist/api/types/recording.d.ts +7 -13
- package/dist/api/types/recycleBin.d.ts +8 -2
- package/dist/api/types/reports.d.ts +109 -0
- package/dist/api/types/ring.d.ts +16 -16
- package/dist/api/types/roi.d.ts +3 -11
- package/dist/api/types/routeParams.d.ts +1 -0
- package/dist/api/types/router.d.ts +15 -10
- package/dist/api/types/shared.d.ts +39 -29
- package/dist/api/types/shares.d.ts +0 -13
- package/dist/api/types/sim.d.ts +18 -6
- package/dist/api/types/siteAnalytics.d.ts +3 -5
- package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
- package/dist/api/types/siteView.d.ts +79 -0
- package/dist/api/types/snapshots.d.ts +63 -10
- package/dist/api/types/socket.d.ts +4 -0
- package/dist/api/types/sso.d.ts +11 -37
- package/dist/api/types/storageProvider.d.ts +16 -5
- package/dist/api/types/storyblok.d.ts +0 -13
- package/dist/api/types/timelapse.d.ts +4 -8
- package/dist/api/types/user.d.ts +48 -33
- package/dist/api/types/widget.d.ts +13 -4
- package/dist/api/utils.d.ts +1 -1
- package/dist/index.js +2242 -926
- 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 +506 -46
- package/dist/shared/types/customDataTableFilters.d.ts +10 -0
- package/dist/shared/types/droneUpload.d.ts +93 -0
- package/dist/shared/types/imagePlayer.d.ts +8 -1
- package/dist/shared/types/index.d.ts +4 -0
- package/dist/shared/types/observations.d.ts +25 -0
- package/dist/shared/types/report.d.ts +107 -0
- package/dist/shared/utils/datePickerValue.d.ts +36 -0
- package/dist/shared/utils/datePresets.d.ts +31 -0
- package/package.json +4 -2
- package/dist/api/types/copilot.d.ts +0 -162
- package/dist/api/types/vendorModel.d.ts +0 -15
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare enum AnalyticsEventPageId {
|
|
2
2
|
Timeline = "Timeline",
|
|
3
|
-
|
|
3
|
+
Chat = "Chat",
|
|
4
4
|
Recordings = "Recordings",
|
|
5
5
|
Liveview = "LiveView",
|
|
6
6
|
Compare = "Compare",
|
|
@@ -16,6 +16,7 @@ export declare enum AnalyticsEventPageId {
|
|
|
16
16
|
Automations = "Automations",
|
|
17
17
|
ProgressPhotosUnsubscribe = "ProgressPhotosUnsubscribe",
|
|
18
18
|
VideoWall = "VideoWall",
|
|
19
|
+
GlobalVideoWall = "GlobalVideoWall",
|
|
19
20
|
ProjectSettings = "ProjectSettings",
|
|
20
21
|
ProjectSettingsCameraSettings = "ProjectSettings-CameraSettings",
|
|
21
22
|
ProjectSettingsMembers = "ProjectSettings-Members",
|
|
@@ -36,6 +37,7 @@ export declare enum AnalyticsEventPageId {
|
|
|
36
37
|
EmbeddedLive = "EmbeddedLive",
|
|
37
38
|
EmbeddedRecordings = "EmbeddedRecordings",
|
|
38
39
|
EmbeddedBimCompare = "EmbeddedBimCompare",
|
|
40
|
+
GlobalWidgets = "GlobalWidgets",
|
|
39
41
|
GateReportInfo = "GateReportInfo",
|
|
40
42
|
BimInfo = "BimInfo",
|
|
41
43
|
DroneInfo = "DroneInfo",
|
|
@@ -60,12 +62,12 @@ export declare enum AnalyticsEvent {
|
|
|
60
62
|
MarkUpTool = "MarkUpTool-Toggle",
|
|
61
63
|
Comment = "Comment-Toggle",
|
|
62
64
|
Compare = "Compare-Toggle",
|
|
63
|
-
Copilot = "Copilot-Toggle",
|
|
64
65
|
DownloadMediaOpen = "DownloadMedia-Open",
|
|
65
66
|
SettingsAccountUpdatePassword = "UpdatePassword",
|
|
66
67
|
SettingsAccountUpdatePersonalInformation = "UpdatePersonalInformation",
|
|
67
68
|
SettingsAccountRevokeSession = "RevokeSession",
|
|
68
69
|
SettingsAccountCancelRevokeSession = "CancelRevokeSession",
|
|
70
|
+
SettingsAccountRevokeAuthorizedApp = "RevokeAuthorizedApp",
|
|
69
71
|
SettingsAccountClickRowsPerPage = "ClickRowsPerPage",
|
|
70
72
|
SettingsAccountOpenDeleteAccountDialog = "DeleteAccount",
|
|
71
73
|
SettingsConnectorsConnectToProcore = "ConnectToProcore",
|
|
@@ -79,6 +81,9 @@ export declare enum AnalyticsEvent {
|
|
|
79
81
|
SettingsConnectorsRemoveVoyageControlConnection = "RemoveVoyageControl",
|
|
80
82
|
SettingsConnectorsToggleConnectorPromptDialog = "ToggleConnectorPromptDialog",
|
|
81
83
|
SettingsConnectorsToggleVoyageControlDialog = "ToggleVoyageControlDialog",
|
|
84
|
+
SettingsConnectorsConnectToHammertech = "ConnectToHammertech",
|
|
85
|
+
SettingsConnectorsRemoveHammertechConnection = "RemoveHammertech",
|
|
86
|
+
SettingsConnectorsToggleHammertechDialog = "ToggleHammertechDialog",
|
|
82
87
|
WidgetsSelectTypeThreeSixty = "Widgets-SelectType360",
|
|
83
88
|
WidgetsSelectProject = "SelectProject",
|
|
84
89
|
WidgetsSelect360Date = "Select360Date",
|
|
@@ -153,12 +158,6 @@ export declare enum AnalyticsEvent {
|
|
|
153
158
|
TimelineCompareSlide = "Compare-Slide",
|
|
154
159
|
TimelineSelectMilestoneItem = "Timeline-SelectMilestoneItem",
|
|
155
160
|
TimelineSelectTimestamp = "Timeline-SelectTimestamp",
|
|
156
|
-
CopilotSendMessage = "Copilot-SendMessage",
|
|
157
|
-
CopilotClickTimestamp = "Copilot-ClickTimestamp",
|
|
158
|
-
CopilotRegenerate = "Copilot-Regenerate",
|
|
159
|
-
CopilotError = "Copilot-Error",
|
|
160
|
-
CopilotNavigation = "Copilot-Navigation",
|
|
161
|
-
CopilotToggle = "Copilot-Toggle",
|
|
162
161
|
GroupsVisibilityMobileCapture = "GroupsVisibility-MobileCapture",
|
|
163
162
|
GroupsVisibilityAnpr = "GroupsVisibility-Anpr",
|
|
164
163
|
GroupsVisibilityComments = "GroupsVisibility-Comments",
|
|
@@ -192,6 +191,7 @@ export declare enum AnalyticsEvent {
|
|
|
192
191
|
XraySendToConnectorProcoreObservations = "Xray-SendToConnector-Procore-Observations",
|
|
193
192
|
XraySendToConnectorAconex = "Xray-SendToConnector-Aconex",
|
|
194
193
|
XraySendToConnectorAutodesk = "Xray-SendToConnector-Autodesk",
|
|
194
|
+
XraySendToConnectorHammerTech = "Xray-SendToConnector-HammerTech",
|
|
195
195
|
WeatherGoBackDate = "Weather-GoBackDate",
|
|
196
196
|
WeatherGoForwardDate = "Weather-GoForwardDate",
|
|
197
197
|
WeatherReportExportFile = "ExportFile",
|
|
@@ -261,6 +261,9 @@ export declare enum AnalyticsEvent {
|
|
|
261
261
|
MarkUpToolSendToConnectorProcoreObservations = "MarkUpTool-SendToConnector-Procore-Observations",
|
|
262
262
|
MarkUpToolSendToConnectorAconex = "MarkUpTool-SendToConnector-Aconex",
|
|
263
263
|
MarkUpToolSendToConnectorAutodesk = "MarkUpTool-SendToConnector-Autodesk",
|
|
264
|
+
MarkUpToolSendToConnectorHammerTech = "MarkUpTool-SendToConnector-HammerTech",
|
|
265
|
+
MarkUpToolSendViaEmail = "MarkUpTool-SendViaEmail",
|
|
266
|
+
MarkUpToolSendViaEmailSent = "MarkUpTool-SendViaEmail-Sent",
|
|
264
267
|
RecordingsCancelExportDialog = "CancelExportDialog",
|
|
265
268
|
RecordingsClickSupportLink = "ClickSupportLink",
|
|
266
269
|
RecordingsCreateClip = "CreateClip",
|
|
@@ -282,16 +285,6 @@ export declare enum AnalyticsEvent {
|
|
|
282
285
|
SharingSortBy = "SortBy",
|
|
283
286
|
SharingChangeAccessRight = "ChangeAccessRight",
|
|
284
287
|
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
|
-
ThreeSixtyGalleryUpdateFloorName = "Gallery-UpdateFloorName",
|
|
294
|
-
ThreeSixtyGalleryEditWalkName = "Gallery-EditWalkName",
|
|
295
288
|
ThreeSixtyChangeDate = "ChangeDate",
|
|
296
289
|
ThreeSixtyChangeFloor = "ChangeFloor",
|
|
297
290
|
ThreeSixtyCloseCompare = "CloseCompare",
|
|
@@ -300,6 +293,7 @@ export declare enum AnalyticsEvent {
|
|
|
300
293
|
ThreeSixtyDisableMeasuringTool = "DisableMeasuringTool",
|
|
301
294
|
ThreeSixtyDisableCommnetTool = "DisableCommentTool",
|
|
302
295
|
ThreeSixtyEnableMeasuringTool = "EnableMeasuringTool",
|
|
296
|
+
ThreeSixtyMeasuringPerformed = "measuring_performed",
|
|
303
297
|
ThreeSixtyEnableCommentTool = "EnableCommentTool",
|
|
304
298
|
ThreeSixtyLockCompare = "LockCompare",
|
|
305
299
|
ThreeSixtyLockForgeBIM = "LockForgeBIM",
|
|
@@ -310,6 +304,7 @@ export declare enum AnalyticsEvent {
|
|
|
310
304
|
ThreeSixtyOpenForgeBIM = "OpenForgeBIM",
|
|
311
305
|
ThreeSixtyOpenMarkersThumbnailsList = "OpenMarkersThumbnailsList",
|
|
312
306
|
ThreeSixtyOpenCommentsList = "OpenCommentsList",
|
|
307
|
+
ThreeSixtyGalleryEditWalkName = "Gallery-EditWalkName",
|
|
313
308
|
ThreeSixtySaveComment = "SaveComment",
|
|
314
309
|
ThreeSixtyUnarchiveComment = "UnarchiveComment",
|
|
315
310
|
ThreeSixtyArchiveComment = "ArchiveComment",
|
|
@@ -319,13 +314,7 @@ export declare enum AnalyticsEvent {
|
|
|
319
314
|
ThreeSixtyToggleMinimapVisibility = "ToggleMinimapVisibility",
|
|
320
315
|
ThreeSixtyToggleMiniModel = "ToggleMiniModel",
|
|
321
316
|
ThreeSixtyToggleCommentsVisibility = "ToggleCommentsVisibility",
|
|
322
|
-
|
|
323
|
-
ThreeSixtyTourPlay = "Tour-Play",
|
|
324
|
-
ThreeSixtyTourSetSpeedXHalve = "Tour-SetSpeedX0.5",
|
|
325
|
-
ThreeSixtyTourSetSpeedX1 = "Tour-SetSpeedX1",
|
|
326
|
-
ThreeSixtyTourSetSpeedX2 = "Tour-SetSpeedX2",
|
|
327
|
-
ThreeSixtyTourSetSpeedX4 = "Tour-SetSpeedX4",
|
|
328
|
-
ThreeSixtyTourToggleLoop = "Tour-ToggleLoop",
|
|
317
|
+
ThreeSixtyToggleCameraPinsVisibility = "toggle_camera_pins_visibility",
|
|
329
318
|
ThreeSixtyUnlockCompare = "UnlockCompare",
|
|
330
319
|
ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM",
|
|
331
320
|
ThreeSixtyUploadAssets = "UploadAssets",
|
|
@@ -348,7 +337,6 @@ export declare enum AnalyticsEvent {
|
|
|
348
337
|
DroneResetView = "ResetView",
|
|
349
338
|
DroneSettingsToggle360PathsVisibility = "Settings-Toggle360PathsVisibility",
|
|
350
339
|
DroneSettingsToggleCameraMarkersVisibility = "Settings-ToggleCameraMarkersVisibility",
|
|
351
|
-
DroneSettingsToggleSurroundingBuildingsTool = "Settings-ToggleSurroundingBuildingsTool",
|
|
352
340
|
DroneSettingsToggleCommentsVisibility = "Settings-ToggleCommentsVisibility",
|
|
353
341
|
DroneSettingsToggleAerialShotsVisibility = "Settings-ToggleAerialShotsVisibility",
|
|
354
342
|
DroneSettingsOpenCommentsList = "Settings-OpenCommentsList",
|
|
@@ -359,11 +347,18 @@ export declare enum AnalyticsEvent {
|
|
|
359
347
|
DroneToggleMapStyle = "ToggleMapStyle",
|
|
360
348
|
DroneTogglePointCloud = "TogglePointCloud",
|
|
361
349
|
DroneToggleGaussianSplat = "ToggleGaussianSplat",
|
|
350
|
+
DroneToggleGlobe = "ToggleGlobe",
|
|
362
351
|
DroneToggleQualityMode = "ChooseQuality",
|
|
363
352
|
DroneToggleSideMenu = "ToggleSideMenu",
|
|
364
353
|
DroneToggleImageryPlan = "ToggleImageryPlan",
|
|
365
354
|
DroneToggleSceneMode = "ToggleSceneMode",
|
|
366
355
|
DroneUploadFlight = "UploadFlight",
|
|
356
|
+
DroneUploadStarted = "DroneUpload-Started",
|
|
357
|
+
DroneUploadFailed = "DroneUpload-Failed",
|
|
358
|
+
DroneUploadRetried = "DroneUpload-Retried",
|
|
359
|
+
DroneUploadAutoResumed = "DroneUpload-AutoResumed",
|
|
360
|
+
DroneUploadCompleted = "DroneUpload-Completed",
|
|
361
|
+
DroneUploadCancelled = "DroneUpload-Cancelled",
|
|
367
362
|
DroneViewLocationInGoogleMaps = "ViewLocationInGoogleMaps",
|
|
368
363
|
DroneVolumeToolClick = "VolumeTool-Click",
|
|
369
364
|
DroneZoomIn = "ZoomIn",
|
|
@@ -405,6 +400,8 @@ export declare enum AnalyticsEvent {
|
|
|
405
400
|
DrawingClickHome = "ClickHome",
|
|
406
401
|
DrawingsUploadDrawing = "UploadDrawing",
|
|
407
402
|
DrawingsCreateDrawing = "CreateDrawing",
|
|
403
|
+
DrawingsSelectPdfPage = "SelectPdfPage",
|
|
404
|
+
DrawingsDeleteDrawing = "DeleteDrawing",
|
|
408
405
|
DrawingToggleMapStyle = "ToggleMapStyle",
|
|
409
406
|
DrawingToggleMapLabels = "ToggleMapLabels",
|
|
410
407
|
DrawingToggleCamerasLabels = "ToggleCamerasLabels",
|
|
@@ -453,6 +450,7 @@ export declare enum AnalyticsEvent {
|
|
|
453
450
|
ProjectSettingsMembersBulkRemove = "BulkRemove",
|
|
454
451
|
ProjectSettingsMembersInviteSent = "InviteSent",
|
|
455
452
|
ProjectSettingsMembersRejectInvite = "RejectInvite",
|
|
453
|
+
ProjectSettingsMembersResendInvite = "ResendInvite",
|
|
456
454
|
ProjectSettingsMembersAddMember = "AddMember",
|
|
457
455
|
ProjectSettingsMembersBulkRoleUpdate = "BulkRoleUpdate",
|
|
458
456
|
ProjectSettingsMembersDeleteCameraAccess = "DeleteCameraAccess",
|
|
@@ -490,6 +488,7 @@ export declare enum AnalyticsEvent {
|
|
|
490
488
|
GateReportTimelineDateClick = "Timeline-DateClick",
|
|
491
489
|
GateReportToggleThumbnails = "ToggleThumbnails",
|
|
492
490
|
PpeTimelineDateClick = "PpeTimeline-DateClick",
|
|
491
|
+
ObservationsFilterTypes = "Observations-FilterTypes",
|
|
493
492
|
HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton",
|
|
494
493
|
HelpMenuOpenProjectContactsDialog = "HelpMenu-OpenProjectContactsDialog",
|
|
495
494
|
HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat",
|
|
@@ -587,11 +586,36 @@ export declare enum AnalyticsEvent {
|
|
|
587
586
|
SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay",
|
|
588
587
|
SmartSearchExportFile = "SmartSearch-ExportFile",
|
|
589
588
|
SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage",
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
589
|
+
ChatToggleSidebarMode = "Chat-ToggleSidebarMode",
|
|
590
|
+
ChatSendMessage = "Chat-SendMessage",
|
|
591
|
+
ChatClickStarter = "Chat-ClickStarter",
|
|
592
|
+
ChatStopResponse = "Chat-StopResponse",
|
|
593
|
+
ChatCopyAnswer = "Chat-CopyAnswer",
|
|
594
|
+
ChatDownloadPdf = "Chat-DownloadPdf",
|
|
595
|
+
ChatOpenCamera = "Chat-OpenCamera",
|
|
596
|
+
ChatNewConversation = "Chat-NewConversation",
|
|
597
|
+
ChatOpenConversation = "Chat-OpenConversation",
|
|
598
|
+
ChatRenameConversation = "Chat-RenameConversation",
|
|
599
|
+
ChatDeleteConversation = "Chat-DeleteConversation",
|
|
600
|
+
ForgeBimAddModelButtonClicked = "ForgeBim-AddModelButtonClicked",
|
|
601
|
+
ForgeBimUploadChoiceDialogOpened = "ForgeBim-UploadChoiceDialogOpened",
|
|
602
|
+
ForgeBimModelAddMethodSelected = "ForgeBim-ModelAddMethodSelected",
|
|
603
|
+
ForgeBimUploadChoiceDialogDismissed = "ForgeBim-UploadChoiceDialogDismissed",
|
|
604
|
+
ForgeBimLocalModelFileSelected = "ForgeBim-LocalModelFileSelected",
|
|
605
|
+
ForgeBimLocalModelFileRejected = "ForgeBim-LocalModelFileRejected",
|
|
606
|
+
ForgeBimUploadModelFileToIngestStarted = "ForgeBim-UploadModelFileToIngestStarted",
|
|
607
|
+
ForgeBimUploadModelFileToIngestCompleted = "ForgeBim-UploadModelFileToIngestCompleted",
|
|
608
|
+
ForgeBimUploadModelFileToIngestFailed = "ForgeBim-UploadModelFileToIngestFailed",
|
|
609
|
+
ForgeBimAccModelSelectorOpened = "ForgeBim-AccModelSelectorOpened",
|
|
610
|
+
ForgeBimAccModelSelectorDismissed = "ForgeBim-AccModelSelectorDismissed",
|
|
611
|
+
ForgeBimAccModelConfirmed = "ForgeBim-AccModelConfirmed",
|
|
612
|
+
ForgeBimModelDuplicateDetected = "ForgeBim-ModelDuplicateDetected",
|
|
613
|
+
ForgeBimUpdateModelButtonClicked = "ForgeBim-UpdateModelButtonClicked",
|
|
614
|
+
ForgeBimReplaceModelWarningOpened = "ForgeBim-ReplaceModelWarningOpened",
|
|
615
|
+
ForgeBimReplaceModelConfirmed = "ForgeBim-ReplaceModelConfirmed",
|
|
616
|
+
ForgeBimReplaceModelCancelled = "ForgeBim-ReplaceModelCancelled",
|
|
617
|
+
ForgeBimModelAdded = "ForgeBim-ModelAdded",
|
|
618
|
+
ForgeBimModelUpdated = "ForgeBim-ModelUpdated",
|
|
619
|
+
ForgeBimModelSaveFailed = "ForgeBim-ModelSaveFailed",
|
|
620
|
+
ForgeBimIngestNotificationFailed = "ForgeBim-IngestNotificationFailed"
|
|
597
621
|
}
|
package/dist/api/types/anpr.d.ts
CHANGED
|
@@ -102,13 +102,43 @@ export declare enum AnprEventStatus {
|
|
|
102
102
|
NotDuplicate = "not_duplicate"
|
|
103
103
|
}
|
|
104
104
|
export type AnprBulkUpdateRequestPayload = {
|
|
105
|
-
|
|
105
|
+
anprEventIds: number[];
|
|
106
106
|
action: AnprEventStatus;
|
|
107
|
-
updatedBy: string;
|
|
108
107
|
};
|
|
109
108
|
export type AnprUpdateRequestPayload = {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
109
|
+
id?: number;
|
|
110
|
+
plateNumber?: string;
|
|
111
|
+
vehicleType?: GateReportVehicleType;
|
|
112
|
+
direction?: AnprDirection;
|
|
113
|
+
};
|
|
114
|
+
export declare enum AnprExtractionStatus {
|
|
115
|
+
Pending = "pending",
|
|
116
|
+
Running = "running",
|
|
117
|
+
Completed = "completed",
|
|
118
|
+
Failed = "failed"
|
|
119
|
+
}
|
|
120
|
+
export declare enum AnprExtractionSaveMode {
|
|
121
|
+
All = "all",
|
|
122
|
+
AiDbOnly = "ai_db_only",
|
|
123
|
+
ImagesOnly = "images_only"
|
|
124
|
+
}
|
|
125
|
+
export type AnprExtraction = {
|
|
126
|
+
id: number;
|
|
127
|
+
cameraId: number;
|
|
128
|
+
userId: number | null;
|
|
129
|
+
startDate: string;
|
|
130
|
+
endDate: string;
|
|
131
|
+
status: AnprExtractionStatus;
|
|
132
|
+
totalRecords: number;
|
|
133
|
+
error: string | null;
|
|
134
|
+
saveMode: AnprExtractionSaveMode;
|
|
135
|
+
startedAt: string | null;
|
|
136
|
+
completedAt: string | null;
|
|
137
|
+
insertedAt: string;
|
|
138
|
+
updatedAt: string;
|
|
139
|
+
};
|
|
140
|
+
export type AnprExtractionCreatePayload = {
|
|
141
|
+
startDate: string;
|
|
142
|
+
endDate: string;
|
|
143
|
+
saveMode?: AnprExtractionSaveMode;
|
|
114
144
|
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export declare enum ApiKeyType {
|
|
2
|
+
User = "user",
|
|
3
|
+
Workflows = "workflows",
|
|
4
|
+
Widget = "widget"
|
|
5
|
+
}
|
|
6
|
+
export type ApiKey = {
|
|
7
|
+
id: number;
|
|
8
|
+
name: string;
|
|
9
|
+
type: ApiKeyType;
|
|
10
|
+
maskedKey: string;
|
|
11
|
+
key: string | null;
|
|
12
|
+
scopes: string[];
|
|
13
|
+
projects: string[];
|
|
14
|
+
active: boolean;
|
|
15
|
+
expiresAt: string | null;
|
|
16
|
+
lastUsedAt: string | null;
|
|
17
|
+
revokedAt: string | null;
|
|
18
|
+
insertedAt: string;
|
|
19
|
+
updatedAt: string;
|
|
20
|
+
};
|
|
21
|
+
export declare enum ApiKeyStatus {
|
|
22
|
+
Active = "active",
|
|
23
|
+
Expired = "expired",
|
|
24
|
+
Revoked = "revoked"
|
|
25
|
+
}
|
|
26
|
+
export type ApiKeysRequestParams = {
|
|
27
|
+
name?: string;
|
|
28
|
+
type?: ApiKeyType;
|
|
29
|
+
status?: ApiKeyStatus[];
|
|
30
|
+
expiresAtFrom?: string;
|
|
31
|
+
expiresAtTo?: string;
|
|
32
|
+
lastUsedAtFrom?: string;
|
|
33
|
+
lastUsedAtTo?: string;
|
|
34
|
+
sort?: string;
|
|
35
|
+
page?: number;
|
|
36
|
+
limit?: number;
|
|
37
|
+
};
|
|
38
|
+
export type CreateApiKeyPayload = {
|
|
39
|
+
name: string;
|
|
40
|
+
scopes: string[];
|
|
41
|
+
resources?: {
|
|
42
|
+
projects: string[];
|
|
43
|
+
};
|
|
44
|
+
type?: ApiKeyType;
|
|
45
|
+
expiresAt?: string;
|
|
46
|
+
};
|
|
47
|
+
export type UpdateApiKeyPayload = {
|
|
48
|
+
name?: string;
|
|
49
|
+
scopes?: string[];
|
|
50
|
+
resources?: {
|
|
51
|
+
projects: string[];
|
|
52
|
+
};
|
|
53
|
+
expiresAt?: string | null;
|
|
54
|
+
};
|
|
55
|
+
export type AdminApiKey = Omit<ApiKey, "key"> & {
|
|
56
|
+
user: {
|
|
57
|
+
email: string;
|
|
58
|
+
fullname: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export type AdminApiKeysRequestParams = ApiKeysRequestParams & {
|
|
62
|
+
user?: string;
|
|
63
|
+
userId?: number;
|
|
64
|
+
lastUsedAtFrom?: string;
|
|
65
|
+
lastUsedAtTo?: string;
|
|
66
|
+
};
|
|
67
|
+
export type UpdateAdminApiKeyPayload = {
|
|
68
|
+
name: string;
|
|
69
|
+
expiresAt: string | null;
|
|
70
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CameraStatus, DateType, PaginationParams } from "@evercam/api/types";
|
|
1
|
+
import { CameraStatus, DateType, JsonValue, PaginationParams } from "@evercam/api/types";
|
|
2
2
|
export declare enum AuditLogActionType {
|
|
3
3
|
VH_STATUS = "vh_status",
|
|
4
4
|
CR_UPDATED = "cr_updated",
|
|
@@ -12,7 +12,6 @@ export declare enum AuditLogActionType {
|
|
|
12
12
|
WAITING_FOR_SITE_VISIT = "waiting_for_site_visit",
|
|
13
13
|
SMS = "sms",
|
|
14
14
|
CUSTOM = "custom",
|
|
15
|
-
PUBLIC_NOTE = "public_note",
|
|
16
15
|
SIM = "sim",
|
|
17
16
|
LOGIN = "login",
|
|
18
17
|
LOGOUT = "logout",
|
|
@@ -30,32 +29,176 @@ export declare enum AuditLogActionType {
|
|
|
30
29
|
SHARE_REQUEST = "share_request",
|
|
31
30
|
DELETE_SHARE_REQUEST = "delete_share_request",
|
|
32
31
|
TRANSFER_OWNERSHIP = "transfer_ownership",
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
TRANSFER_PROJECT = "transfer_project",
|
|
33
|
+
ASSIGN = "assign",
|
|
34
|
+
UNASSIGN = "unassign",
|
|
35
|
+
OAUTH_AUTHORIZE = "oauth_authorize",
|
|
36
|
+
OAUTH_TOKEN_ISSUE = "oauth_token_issue",
|
|
37
|
+
OAUTH_TOKEN_REFRESH = "oauth_token_refresh",
|
|
38
|
+
OAUTH_TOKEN_REVOKE = "oauth_token_revoke",
|
|
39
|
+
OAUTH_CLIENT_CREATE = "oauth_client_create",
|
|
40
|
+
OAUTH_CLIENT_DELETE = "oauth_client_delete",
|
|
41
|
+
API_KEY_REGENERATE = "api_key_regenerate",
|
|
42
|
+
API_KEY_REVOKE = "api_key_revoke"
|
|
35
43
|
}
|
|
44
|
+
export declare enum AuditLogEntity {
|
|
45
|
+
Cameras = "cameras",
|
|
46
|
+
Projects = "projects",
|
|
47
|
+
Layers = "layers",
|
|
48
|
+
Routers = "routers",
|
|
49
|
+
Sims = "sims",
|
|
50
|
+
Hdds = "hdds",
|
|
51
|
+
Nvr = "nvr",
|
|
52
|
+
Archives = "archives",
|
|
53
|
+
Users = "users",
|
|
54
|
+
Rois = "rois",
|
|
55
|
+
Kits = "kits",
|
|
56
|
+
Roles = "roles",
|
|
57
|
+
Tags = "tags",
|
|
58
|
+
KitsTags = "kits_tags",
|
|
59
|
+
Oauth = "oauth",
|
|
60
|
+
ApiKeys = "api_keys",
|
|
61
|
+
StorageProviders = "storage_providers"
|
|
62
|
+
}
|
|
63
|
+
export type AuditLogDiff = {
|
|
64
|
+
old: Record<string, JsonValue>;
|
|
65
|
+
new: Record<string, JsonValue>;
|
|
66
|
+
};
|
|
67
|
+
export type AuditLogHddInfoItem = {
|
|
68
|
+
name?: string;
|
|
69
|
+
capacity?: string;
|
|
70
|
+
freeSpace?: string;
|
|
71
|
+
status?: string;
|
|
72
|
+
property?: string;
|
|
73
|
+
};
|
|
74
|
+
export type AuditLogCameraDetails = {
|
|
75
|
+
exid?: string;
|
|
76
|
+
name?: string;
|
|
77
|
+
with?: string;
|
|
78
|
+
errorBody?: string;
|
|
79
|
+
reason?: string;
|
|
80
|
+
settings?: AuditLogDiff;
|
|
81
|
+
};
|
|
82
|
+
export type AuditLogRouterDetails = {
|
|
83
|
+
serialNumber?: string;
|
|
84
|
+
cameraExid?: string;
|
|
85
|
+
cameraName?: string;
|
|
86
|
+
simNumber?: string;
|
|
87
|
+
settings?: AuditLogDiff;
|
|
88
|
+
deviceSettings?: Record<string, JsonValue>;
|
|
89
|
+
};
|
|
90
|
+
export type AuditLogUserEntityDetails = {
|
|
91
|
+
firstname?: string;
|
|
92
|
+
lastname?: string;
|
|
93
|
+
settings?: AuditLogDiff;
|
|
94
|
+
};
|
|
95
|
+
export type AuditLogProjectDetails = {
|
|
96
|
+
exid?: string;
|
|
97
|
+
name?: string;
|
|
98
|
+
settings?: AuditLogDiff;
|
|
99
|
+
};
|
|
100
|
+
export type AuditLogApiKeyDetails = {
|
|
101
|
+
name?: string;
|
|
102
|
+
maskedKey?: string;
|
|
103
|
+
userId?: number;
|
|
104
|
+
};
|
|
105
|
+
export type AuditLogDetails = {
|
|
106
|
+
id?: number;
|
|
107
|
+
exid?: string;
|
|
108
|
+
name?: string;
|
|
109
|
+
displayName?: string;
|
|
110
|
+
layerId?: number;
|
|
111
|
+
serial?: string;
|
|
112
|
+
type?: string;
|
|
113
|
+
note?: string;
|
|
114
|
+
with?: string;
|
|
115
|
+
message?: string;
|
|
116
|
+
config?: Record<string, JsonValue>;
|
|
117
|
+
settings?: AuditLogDiff;
|
|
118
|
+
camera?: AuditLogCameraDetails;
|
|
119
|
+
router?: AuditLogRouterDetails;
|
|
120
|
+
user?: AuditLogUserEntityDetails;
|
|
121
|
+
project?: AuditLogProjectDetails;
|
|
122
|
+
sim?: {
|
|
123
|
+
number?: string;
|
|
124
|
+
};
|
|
125
|
+
kit?: {
|
|
126
|
+
name?: string;
|
|
127
|
+
};
|
|
128
|
+
hdd?: {
|
|
129
|
+
serialNumber?: string;
|
|
130
|
+
settings?: AuditLogDiff;
|
|
131
|
+
};
|
|
132
|
+
roi?: {
|
|
133
|
+
settings?: AuditLogDiff;
|
|
134
|
+
};
|
|
135
|
+
hddInfo?: AuditLogHddInfoItem[];
|
|
136
|
+
oldOwner?: string;
|
|
137
|
+
newOwner?: string;
|
|
138
|
+
oldProjectExid?: string;
|
|
139
|
+
oldProjectName?: string;
|
|
140
|
+
newProjectExid?: string;
|
|
141
|
+
newProjectName?: string;
|
|
142
|
+
fromAdmin?: boolean;
|
|
143
|
+
who?: string;
|
|
144
|
+
email?: string;
|
|
145
|
+
scope?: string;
|
|
146
|
+
resourceId?: string;
|
|
147
|
+
clientId?: string;
|
|
148
|
+
clientName?: string;
|
|
149
|
+
oauthClientId?: string;
|
|
150
|
+
scopes?: string[];
|
|
151
|
+
grantType?: string;
|
|
152
|
+
tokenType?: string;
|
|
153
|
+
maskedKey?: string;
|
|
154
|
+
userId?: number;
|
|
155
|
+
apiKey?: AuditLogApiKeyDetails;
|
|
156
|
+
revoked?: AuditLogApiKeyDetails;
|
|
157
|
+
};
|
|
158
|
+
export declare enum AuditLogAuthMethod {
|
|
159
|
+
Password = "password",
|
|
160
|
+
ApiKeyV2 = "api_key_v2",
|
|
161
|
+
Widget = "widget",
|
|
162
|
+
OauthAccess = "oauth_access",
|
|
163
|
+
Impersonation = "impersonation",
|
|
164
|
+
Sso = "sso"
|
|
165
|
+
}
|
|
166
|
+
export type AuditLogUserDetails = {
|
|
167
|
+
browser: string;
|
|
168
|
+
country: string;
|
|
169
|
+
countryCode: string;
|
|
170
|
+
device: string | null;
|
|
171
|
+
ip: string;
|
|
172
|
+
os: string | null;
|
|
173
|
+
authMethod?: AuditLogAuthMethod;
|
|
174
|
+
apiKeyId?: number;
|
|
175
|
+
apiKeyName?: string;
|
|
176
|
+
apiKeyMasked?: string;
|
|
177
|
+
widgetId?: number;
|
|
178
|
+
oauthClientId?: string;
|
|
179
|
+
impersonatedBy?: string;
|
|
180
|
+
who?: string;
|
|
181
|
+
};
|
|
36
182
|
export type AuditLog = {
|
|
37
183
|
id: number;
|
|
38
184
|
action: AuditLogActionType;
|
|
39
|
-
details:
|
|
185
|
+
details: AuditLogDetails;
|
|
40
186
|
insertedAt: DateType;
|
|
41
|
-
entity:
|
|
42
|
-
|
|
43
|
-
browser: string;
|
|
44
|
-
country: string;
|
|
45
|
-
countryCode: string;
|
|
46
|
-
device: string | null;
|
|
47
|
-
ip: string;
|
|
48
|
-
os: string | null;
|
|
49
|
-
};
|
|
187
|
+
entity: AuditLogEntity;
|
|
188
|
+
userDetails: AuditLogUserDetails;
|
|
50
189
|
who: string;
|
|
51
190
|
};
|
|
52
191
|
export type AuditLogsParams = PaginationParams & {
|
|
53
|
-
routerId: number;
|
|
54
|
-
cameraId: number;
|
|
55
|
-
entity:
|
|
56
|
-
byRouter:
|
|
57
|
-
byCamera:
|
|
58
|
-
byProject:
|
|
192
|
+
routerId: number | null;
|
|
193
|
+
cameraId: number | null;
|
|
194
|
+
entity: AuditLogEntity[] | "";
|
|
195
|
+
byRouter: string;
|
|
196
|
+
byCamera: string;
|
|
197
|
+
byProject: string;
|
|
198
|
+
userId: number;
|
|
199
|
+
byIp: string;
|
|
200
|
+
from: string;
|
|
201
|
+
to: string;
|
|
59
202
|
action: string;
|
|
60
203
|
};
|
|
61
204
|
export type CameraLogsQueryParams = {
|
|
@@ -95,5 +238,20 @@ export type CameraAuditLog = {
|
|
|
95
238
|
export type CameraAuditLogsQueryParams = PaginationParams & {
|
|
96
239
|
from: string;
|
|
97
240
|
to: string;
|
|
98
|
-
action:
|
|
241
|
+
action: string[] | null;
|
|
242
|
+
routerId?: number | null;
|
|
243
|
+
};
|
|
244
|
+
export type CamerasStatusLogsQueryParams = {
|
|
245
|
+
projectId: string;
|
|
246
|
+
status?: CameraStatus[];
|
|
247
|
+
historyDays?: number;
|
|
248
|
+
from: DateType;
|
|
249
|
+
to: DateType;
|
|
250
|
+
};
|
|
251
|
+
export type CameraStatusLogItem = CameraLogItem & {
|
|
252
|
+
status: CameraStatus;
|
|
253
|
+
};
|
|
254
|
+
export type CamerasStatusLog = {
|
|
255
|
+
data: CameraStatusLogItem[];
|
|
256
|
+
measure: string;
|
|
99
257
|
};
|
|
@@ -3,6 +3,10 @@ export declare enum RoleResourceType {
|
|
|
3
3
|
Camera = "camera",
|
|
4
4
|
Project = "project"
|
|
5
5
|
}
|
|
6
|
+
export declare enum RoleAssignmentLogAction {
|
|
7
|
+
Assign = "assign",
|
|
8
|
+
Unassign = "unassign"
|
|
9
|
+
}
|
|
6
10
|
export type RoleSubRole = {
|
|
7
11
|
resourceId: string;
|
|
8
12
|
roleId: number;
|
|
@@ -59,3 +63,70 @@ export type AuthzScopeCreatePayload = {
|
|
|
59
63
|
export type AuthzScopeUpdatePayload = Partial<AuthzScopeCreatePayload>;
|
|
60
64
|
export declare function isProjectRole(role: Role): role is ProjectResourceRole;
|
|
61
65
|
export declare function isCameraRole(role: Role): role is CameraResourceRole;
|
|
66
|
+
export type RoleAssignmentUserDetails = {
|
|
67
|
+
browser?: string | null;
|
|
68
|
+
device?: string | null;
|
|
69
|
+
os?: string | null;
|
|
70
|
+
country?: string | null;
|
|
71
|
+
countryCode?: string | null;
|
|
72
|
+
ip?: string | null;
|
|
73
|
+
impersonatedBy?: string | null;
|
|
74
|
+
};
|
|
75
|
+
export type RoleAssignmentRowUserDetails = RoleAssignmentUserDetails & {
|
|
76
|
+
via?: string | null;
|
|
77
|
+
inviteId?: number | null;
|
|
78
|
+
inviteEmail?: string | null;
|
|
79
|
+
};
|
|
80
|
+
export type RoleAssignmentLog = {
|
|
81
|
+
id: number;
|
|
82
|
+
action: RoleAssignmentLogAction;
|
|
83
|
+
assignerId: number | null;
|
|
84
|
+
assignerEmail: string | null;
|
|
85
|
+
assigneeId: number | null;
|
|
86
|
+
assigneeEmail: string;
|
|
87
|
+
roleId: number | null;
|
|
88
|
+
roleName: string | null;
|
|
89
|
+
previousRoleId: number | null;
|
|
90
|
+
previousRoleName: string | null;
|
|
91
|
+
scope: RoleResourceType;
|
|
92
|
+
projectExid: string | null;
|
|
93
|
+
cameraExid: string | null;
|
|
94
|
+
cameraName: string | null;
|
|
95
|
+
projectName: string | null;
|
|
96
|
+
ip: string | null;
|
|
97
|
+
userDetails: RoleAssignmentRowUserDetails | null;
|
|
98
|
+
insertedAt: string;
|
|
99
|
+
};
|
|
100
|
+
export type RoleAssignmentResourceRef = {
|
|
101
|
+
exid: string;
|
|
102
|
+
name: string | null;
|
|
103
|
+
};
|
|
104
|
+
export type RoleAssignmentLogBatch = {
|
|
105
|
+
groupId: string;
|
|
106
|
+
batchId: string | null;
|
|
107
|
+
batchSize: number;
|
|
108
|
+
assigneeId: number | null;
|
|
109
|
+
assigneeEmail: string;
|
|
110
|
+
actions: RoleAssignmentLogAction[];
|
|
111
|
+
projects: RoleAssignmentResourceRef[];
|
|
112
|
+
ip: string | null;
|
|
113
|
+
userDetails: RoleAssignmentUserDetails | null;
|
|
114
|
+
insertedAt: string;
|
|
115
|
+
children: RoleAssignmentLog[];
|
|
116
|
+
};
|
|
117
|
+
export type RoleAssignmentLogsParams = {
|
|
118
|
+
page?: number;
|
|
119
|
+
limit?: number;
|
|
120
|
+
sort?: string;
|
|
121
|
+
action?: RoleAssignmentLogAction;
|
|
122
|
+
roleId?: number;
|
|
123
|
+
roleName?: string;
|
|
124
|
+
assigneeEmail?: string;
|
|
125
|
+
assignerEmail?: string;
|
|
126
|
+
scope?: RoleResourceType;
|
|
127
|
+
projectExid?: string;
|
|
128
|
+
cameraExid?: string;
|
|
129
|
+
ip?: string;
|
|
130
|
+
from?: string;
|
|
131
|
+
to?: string;
|
|
132
|
+
};
|