@evercam/api 1.0.0-003a1ed80 → 1.0.0-01249112e

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.
Files changed (87) hide show
  1. package/README.md +3 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +168 -12
  3. package/dist/api/api/adminApi.d.ts +117 -92
  4. package/dist/api/api/aiApi.d.ts +94 -81
  5. package/dist/api/api/authzApi.d.ts +31 -15
  6. package/dist/api/api/client/axios.d.ts +2 -1
  7. package/dist/api/api/client/swr/Swr.d.ts +1 -1
  8. package/dist/api/api/evercamApi.d.ts +131 -100
  9. package/dist/api/api/evercamLabsApi.d.ts +6 -4
  10. package/dist/api/api/exNvrApi.d.ts +1 -1
  11. package/dist/api/api/ingestApi.d.ts +110 -34
  12. package/dist/api/api/ptzApi.d.ts +12 -3
  13. package/dist/api/api/videoWallApi.d.ts +7 -7
  14. package/dist/api/api/weatherApi.d.ts +2 -2
  15. package/dist/api/types/360.d.ts +191 -9
  16. package/dist/api/types/aconex.d.ts +104 -6
  17. package/dist/api/types/admin.d.ts +51 -0
  18. package/dist/api/types/aiConfigs.d.ts +154 -0
  19. package/dist/api/types/analytics.d.ts +164 -43
  20. package/dist/api/types/anpr.d.ts +53 -13
  21. package/dist/api/types/auditLogs.d.ts +19 -1
  22. package/dist/api/types/authz.d.ts +61 -0
  23. package/dist/api/types/autodesk.d.ts +7 -7
  24. package/dist/api/types/automation.d.ts +86 -1
  25. package/dist/api/types/axios.d.ts +11 -6
  26. package/dist/api/types/bim.d.ts +28 -5
  27. package/dist/api/types/camera.d.ts +102 -98
  28. package/dist/api/types/comments.d.ts +8 -10
  29. package/dist/api/types/company.d.ts +42 -1
  30. package/dist/api/types/compare.d.ts +20 -5
  31. package/dist/api/types/connector.d.ts +3 -5
  32. package/dist/api/types/coolify.d.ts +20 -2
  33. package/dist/api/types/copilot.d.ts +11 -6
  34. package/dist/api/types/credentials.d.ts +1 -0
  35. package/dist/api/types/detections.d.ts +20 -31
  36. package/dist/api/types/drone.d.ts +96 -6
  37. package/dist/api/types/errors.d.ts +1 -0
  38. package/dist/api/types/gateReport.d.ts +49 -158
  39. package/dist/api/types/gateReportManagement.d.ts +175 -0
  40. package/dist/api/types/hdd.d.ts +26 -1
  41. package/dist/api/types/index.d.ts +11 -1
  42. package/dist/api/types/ingest.d.ts +103 -3
  43. package/dist/api/types/kit.d.ts +33 -5
  44. package/dist/api/types/map.d.ts +12 -0
  45. package/dist/api/types/media.d.ts +2 -1
  46. package/dist/api/types/notification.d.ts +32 -2
  47. package/dist/api/types/oauth.d.ts +62 -0
  48. package/dist/api/types/planner.d.ts +101 -1
  49. package/dist/api/types/posthog.d.ts +15 -0
  50. package/dist/api/types/procore.d.ts +13 -6
  51. package/dist/api/types/progressPhoto.d.ts +6 -32
  52. package/dist/api/types/project.d.ts +137 -19
  53. package/dist/api/types/recording.d.ts +6 -11
  54. package/dist/api/types/recycleBin.d.ts +14 -0
  55. package/dist/api/types/ring.d.ts +53 -0
  56. package/dist/api/types/roi.d.ts +2 -2
  57. package/dist/api/types/routeParams.d.ts +2 -1
  58. package/dist/api/types/router.d.ts +20 -1
  59. package/dist/api/types/shared.d.ts +30 -4
  60. package/dist/api/types/shares.d.ts +6 -144
  61. package/dist/api/types/sim.d.ts +6 -6
  62. package/dist/api/types/siteAnalytics.d.ts +191 -46
  63. package/dist/api/types/siteView.d.ts +74 -0
  64. package/dist/api/types/smartSeach.d.ts +5 -0
  65. package/dist/api/types/snapshots.d.ts +55 -1
  66. package/dist/api/types/storageProvider.d.ts +19 -0
  67. package/dist/api/types/storyblok.d.ts +40 -0
  68. package/dist/api/types/streaming.d.ts +3 -3
  69. package/dist/api/types/tag.d.ts +1 -1
  70. package/dist/api/types/time.d.ts +4 -18
  71. package/dist/api/types/timelapse.d.ts +8 -5
  72. package/dist/api/types/user.d.ts +105 -32
  73. package/dist/api/types/videoWall.d.ts +47 -14
  74. package/dist/api/types/weather.d.ts +77 -11
  75. package/dist/api/types/widget.d.ts +76 -15
  76. package/dist/api/types/xweather.d.ts +4 -4
  77. package/dist/index.js +1831 -974
  78. package/dist/index.js.map +1 -1
  79. package/dist/index.umd.cjs +1 -1
  80. package/dist/index.umd.cjs.map +1 -1
  81. package/dist/shared/types/components.d.ts +148 -18
  82. package/dist/shared/types/imagePlayer.d.ts +10 -3
  83. package/dist/shared/types/index.d.ts +1 -0
  84. package/dist/shared/types/rbac.d.ts +67 -0
  85. package/dist/shared/types/timeline.d.ts +2 -1
  86. package/package.json +4 -4
  87. package/dist/api/types/storageServers.d.ts +0 -4
package/dist/index.js CHANGED
@@ -1,12 +1,31 @@
1
- var A = Object.defineProperty;
2
- var E = (e, r, t) => r in e ? A(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
- var B = (e, r, t) => E(e, typeof r != "symbol" ? r + "" : r, t);
4
- import S from "axios";
5
- import k from "humps";
6
- var C = /* @__PURE__ */ ((e) => (e.DateId = "date_id", e.Floor = "floor", e.Marker = "marker", e.PolarAngle = "polarAngle", e.AzimuthAngle = "azimuthAngle", e))(C || {}), I = /* @__PURE__ */ ((e) => (e.Video = "video", e.Image = "image", e.Model = "model", e.Route = "route", e.MobilePhoto = "mobile_photos", e.MobileAudio = "mobile_audios", e))(I || {}), y = /* @__PURE__ */ ((e) => (e.Walks = "walks", e.MobilePhotos = "mobilePhotos", e))(y || {}), ee = /* @__PURE__ */ ((e) => (e.BIM = "BIM", e.Minimap = "Minimap", e.Minimodel = "Minimodel", e.MobilePhoto = "MobilePhoto", e))(ee || {}), re = /* @__PURE__ */ ((e) => (e.Evercam = "Evercam", e.Matterport = "Matterport", e.OpenSpace = "Openspace", e.HoloBuilder = "Holobuilder", e.DroneDeploy = "Dronedeploy", e))(re || {}), ae = /* @__PURE__ */ ((e) => (e.Start = "#00e74c", e.End = "#fd7567", e.Default = "#2196F3", e))(ae || {}), te = /* @__PURE__ */ ((e) => (e.Long = "LONG", e.Integer = "INTEGER", e.String = "STRING", e.Boolean = "BOOLEAN", e.Date = "DATE", e))(te || {}), se = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.Text = "TextField", e.DateTime = "DateTimeField", e.Switch = "SwitchField", e))(se || {}), ie = /* @__PURE__ */ ((e) => (e.Mandatory = "MANDATORY", e.NotMandatory = "NOT_MANDATORY", e))(ie || {}), oe = /* @__PURE__ */ ((e) => (e.Timeline = "Timeline", e.Copilot = "Copilot", e.Recordings = "Recordings", e.Liveview = "LiveView", e.Compare = "Compare", e.BimCompare = "BimCompare", e.Sharing = "Sharing", e.Timelapse = "Timelapse", e.Project = "Project", e.AllProjects = "AllProjects", e.Tutorials = "Tutorials", e.SystemCheck = "SystemCheck", e.ProjectMapView = "ProjectMapView", e.AccountMapView = "AccountMapView", e.Automations = "Automations", e.ProgressPhotosUnsubscribe = "ProgressPhotosUnsubscribe", e.VideoWall = "VideoWall", e.ProjectSettings = "ProjectSettings", e.ProjectSettingsCameraSettings = "ProjectSettings-CameraSettings", e.ProjectSettingsMembers = "ProjectSettings-Members", e.ProjectSettingsOverview = "ProjectSettings-Overview", e.ProjectSettingsDangerZone = "ProjectSettings-DangerZone", e.Settings = "Settings", e.SettingsAccount = "Settings-Account", e.SettingsConnectors = "Settings-Connectors", e.MediaHub = "MediaHub", e.MediaOveriew = "MediaOveriew", e.GateReport = "GateReport", e.Bim = "Bim", e.Drone = "Drone", e.ThreeSixty = "360", e.Planner = "Planner", e.Widgets = "Widgets", e.Company = "Company", e.EmbeddedLive = "EmbeddedLive", e.EmbeddedRecordings = "EmbeddedRecordings", e.EmbeddedBimCompare = "EmbeddedBimCompare", e.GateReportInfo = "GateReportInfo", e.BimInfo = "BimInfo", e.DroneInfo = "DroneInfo", e.ThreeSixtyInfo = "360Info", e.BimCompareInfo = "BimCompareInfo", e.WeatherReport = "WeatherReport", e.PpeReport = "PpeReport", e.SmartSearch = "SmartSearch", e))(oe || {}), ne = /* @__PURE__ */ ((e) => (e.PageView = "PageView", e.OpenCompanyPage = "OpenCompanyPage", e.OpenSettings = "OpenSettings", e.ToggleHelpDialog = "ToggleHelpDialog", e.LayoutToggleRightSidebar = "Layout-ToggleRightSidebar", e.LayoutResizeRightSidebar = "Layout-ResizeRightSidebar", e.LayoutThemeMode = "Layout-ThemeMode", e.Xray = "Xray-Toggle", e.Weather = "Weather-Toggle", e.MarkUpTool = "MarkUpTool-Toggle", e.Comment = "Comment-Toggle", e.Compare = "Compare-Toggle", e.Copilot = "Copilot-Toggle", e.DownloadMediaOpen = "DownloadMedia-Open", e.SettingsAccountUpdatePassword = "UpdatePassword", e.SettingsAccountUpdatePersonalInformation = "UpdatePersonalInformation", e.SettingsAccountRevokeSession = "RevokeSession", e.SettingsAccountCancelRevokeSession = "CancelRevokeSession", e.SettingsAccountClickRowsPerPage = "ClickRowsPerPage", e.SettingsAccountOpenDeleteAccountDialog = "DeleteAccount", e.SettingsConnectorsConnectToProcore = "ConnectToProcore", e.SettingsConnectorsConnectToAconex = "ConnectToAconex", e.SettingsConnectorsConnectToAutodesk = "ConnectToAutodesk", e.SettingsConnectorsConnectToVoyageControl = "ConnectToVoyageControl", e.SettingsConnectorsContactUsButtonClick = "ClickContactUs", e.SettingsConnectorsRemoveAconexConnection = "RemoveAconex", e.SettingsConnectorsRemoveAutodeskConnection = "RemoveAutodesk", e.SettingsConnectorsRemoveProcoreConnection = "RemoveProcore", e.SettingsConnectorsRemoveVoyageControlConnection = "RemoveVoyageControl", e.SettingsConnectorsToggleConnectorPromptDialog = "ToggleConnectorPromptDialog", e.SettingsConnectorsToggleVoyageControlDialog = "ToggleVoyageControlDialog", e.WidgetsAddWidgetClick = "AddWidget", e.WidgetsCancelClick = "Cancel", e.WidgetsEditHeight = "EditHeight", e.WidgetsEditHeightResolutionType = "EditHeightResolutionType", e.WidgetsEditWidth = "EditWidth", e.WidgetsEditWidthResolutionType = "EditWidthResolutionType", e.WidgetsLayout = "ClickLayout", e.WidgetsSaveClick = "Save", e.WidgetsSelectCamera = "SelectCamera", e.WidgetsSelectTypeBIMCompare = "SelectTypeBIMCompare", e.WidgetsSelectTypeLiveView = "SelectTypeLiveView", e.WidgetsSelectTypeRecordings = "SelectTypeRecordings", e.WidgetsSelectTypeVideoWall = "SelectTypeVideoWall", e.WidgetsSettingRefreshRate = "EditRefreshRate", e.WidgetsSettingRestrictRecentImagesInput = "EditRestrictRecentImagesInput", e.WidgetsSettingToggleBIMCompareDarkMode = "ToggleBIMDarkMode", e.WidgetsSettingToggleBIMCompareTimeLine = "ToggleBIMTimeline", e.WidgetsSettingToggleBIMCompareCalendar = "ToggleBIMCalendar", e.WidgetsSettingToggleDownload = "ToggleDownload", e.WidgetsSettingToggleFullScreen = "ToggleFullScreen", e.WidgetsSettingTogglePlayPause = "TogglePlayPause", e.WidgetsSettingToggleRecordingsCalendar = "ToggleRecordingsCalendar", e.WidgetsSettingToggleRecordingsDarkMode = "ToggleRecordingsDarkMode", e.WidgetsSettingToggleRestrictRecentImages = "ToggleRestrictRecentImages", e.WidgetsSettingToggleZoom = "ToggleZoom", e.WidgetsTogglePublicWidget = "TogglePublicWidget", e.PlayerSelectCamera = "Player-SelectCamera", e.PlayerDownload = "Player-Download", e.PlayerToggleFullscreen = "Player-ToggleFullscreen", e.PlayerEnableLive = "Player-EnableLive", e.PlayerTogglePlayback = "Player-TogglePlayback", e.PlayerSelectSpeed = "Player-SelectSpeed", e.PlayerSelectQuality = "Player-SelectQuality", e.PlayerJumptoNextTicks = "Player-JumptoNextTicks", e.PlayerJumptoPreviousTicks = "Player-JumptoPreviousTicks", e.PlayerSwitchMode = "Player-SwitchMode", e.PlayerZoomIn = "Player-ZoomIn", e.PlayerZoomOut = "Player-ZoomOut", e.PTZAddPresetClick = "PTZ-AddPresetClick", e.PTZCreatePreset = "PTZ-CreatePreset", e.PTZUpdatePreset = "PTZ-UpdatePreset", e.PTZDeletePreset = "PTZ-DeletePreset", e.PTZMoveDown = "PTZ-MoveDown", e.PTZMoveLeft = "PTZ-MoveLeft", e.PTZMoveRight = "PTZ-MoveRight", e.PTZMoveUp = "PTZ-MoveUp", e.PTZPresetSelect = "PTZ-PresetSelect", e.PTZResetPosition = "PTZ-ResetPosition", e.PTZToggleCreatePresetForm = "PTZ-ToggleCreatePresetForm", e.PTZToggleDeletePresetDialog = "PTZ-ToggleDeletePresetDialog", e.PTZToggleEditPresetForm = "PTZ-ToggleEditPresetForm", e.PTZTogglePresetsMenu = "PTZ-TogglePresetsMenu", e.PTZZoomIn = "PTZ-ZoomIn", e.PTZZoomOut = "PTZ-ZoomOut", e.TimelineClickEvent = "Timeline-ClickEvent", e.TimelineCompareMoveBeforeMarker = "Compare-MoveBeforeMarker", e.TimelineCompareMoveAfterMarker = "Compare-MoveAfterMarker", e.TimelineCompareSlide = "Compare-Slide", e.TimelineSelectMilestoneItem = "Timeline-SelectMilestoneItem", e.TimelineSelectTimestamp = "Timeline-SelectTimestamp", e.CopilotSendMessage = "Copilot-SendMessage", e.CopilotClickTimestamp = "Copilot-ClickTimestamp", e.CopilotRegenerate = "Copilot-Regenerate", e.CopilotError = "Copilot-Error", e.CopilotNavigation = "Copilot-Navigation", e.CopilotToggle = "Copilot-Toggle", e.GroupsVisibilityMobileCapture = "GroupsVisibility-MobileCapture", e.GroupsVisibilityAnpr = "GroupsVisibility-Anpr", e.GroupsVisibilityComments = "GroupsVisibility-Comments", e.GroupsVisibilityMediaHub = "GroupsVisibility-MediaHub", e.GroupsVisibilityBimMilestones = "GroupsVisibility-BimMilestines", e.GroupsVisibilityDroneFlights = "GroupsVisibility-DroneFlights", e.GroupsVisibility360Walks = "GroupsVisibility-360Walks", e.GroupsVisibilityExNvrVideoRecordings = "GroupsVisibility-ExNvrVideoRecordings", e.GroupsVisibilityLuminance = "GroupsVisibility-Luminance", e.CommentsPlaceMarker = "Comments-PlaceMarker", e.CommentsSave = "Comments-Save", e.CommentsCancelSave = "Comments-CancelSave", e.CommentsRemove = "Comments-Remove", e.CommentsCancelRemove = "Comments-CancelRemove", e.CommentsArchive = "Comments-Archive", e.CommentsCancelArchive = "Comments-CancelArchive", e.CommentsSelect = "Comments-Select", e.XrayMove = "Xray-Move", e.XrayMoveBeforeMarker = "Xray-MoveBeforeMarker", e.XrayMoveAfterMarker = "Xray-MoveAfterMarker", e.XrayToggleExportDialog = "Xray-ToggleExportDialog", e.XrayDownload = "Xray-Download", e.XraySaveToMediaHub = "Xray-SaveToMediaHub", e.XarySelectDate = "Xray-SelectDate", e.XarySelectLatestDate = "Xray-SelectLatestDate", e.XarySelectOldestDate = "Xray-SelectOldestDate", e.XraySendToConnector = "Xray-SendToConnector", e.WeatherGoBackDate = "Weather-GoBackDate", e.WeatherGoForwardDate = "Weather-GoForwardDate", e.WeatherReportExportFile = "ExportFile", e.WeatherReportExportType = "ExportType", e.WeatherReportMediaHubUploadFile = "MediaHubUploadFile", e.WeatherReportSelectStartDate = "SelectStartDate", e.WeatherReportSelectEndDate = "SelectEndDate", e.WeatherReportViewChart = "ViewChart", e.WeatherSelectDate = "Weather-SelectDate", e.WeatherSelectLegend = "Weather-SelectLegend", e.WeatherSelectProvider = "Weather-SelectProvider", e.WeatherSelectTempScale = "Weather-SelectTempScale", e.CompareSlide = "Slide", e.CompareSelectBeforeDate = "SelectBeforeDate", e.CompareSelectBeforeLatestDate = "SelectBeforeLatestDate", e.CompareSelectBeforeOldestDate = "SelectBeforeOldestDate", e.CompareSelectAfterDate = "SelectAfterDate", e.CompareSelectAfterOldestDate = "SelectAfterOldestDate", e.CompareSelectAfterLatestDate = "SelectAfterLatestDate", e.CompareToggleExportDialog = "ToggleExportDialog", e.CompareSaveToMediaHub = "SaveToMediaHub", e.CompareGoToMediaHub = "GoToMediaHub", e.CompareDownloadAs = "DownloadAs", e.CompareCopyDownloadFileUrl = "CopyDownloadFileUrl", e.BimCompareSlide = "BimCompare-Slide", e.BimCompareSelectCameraDate = "BimCompare-SelectCameraDate", e.BimCompareSelectCameraLatestDate = "BimCompare-SelectCameraLatestDate", e.BimCompareSelectCameraOldestDate = "BimCompare-SelectCameraOldestDate", e.BimCompareSelectBimDate = "BimCompare-SelectBimDate", e.BimCompareSelectBimOldestDate = "BimCompare-SelectBimOldestDate", e.BimCompareSelectBimLatestDate = "BimCompare-SelectBimLatestDate", e.BimCompareSelectModel = "BimCompare-SelectModel", e.BimCompareChangeTransparency = "BimCompare-ChangeTransparency", e.BimCompareSelectTimelineDate = "BimCompare-SelectTimelineDate", e.BimCompareToggleExportDialog = "BimCompare-ToggleExportDialog", e.BimCompareSaveToMediaHub = "BimCompare-SaveToMediaHub", e.BimCompareGoToMediaHub = "BimCompare-GoToMediaHub", e.BimCompareDownloadAs = "BimCompare-DownloadAs", e.BimCompareCopyDownloadFileUrl = "BimCompare-CopyDownloadFileUrl", e.MarkUpToolClose = "MarkUpTool-Close", e.MarkUpToolCopyImage = "MarkUpTool-CopyImage", e.MarkUpToolOpen = "MarkUpTool-Open", e.MarkUpToolSelectTool = "MarkUpTool-SelectTool", e.MarkUpToolSelectBlur = "MarkUpTool-SelectBlur", e.MarkUpToolSelectCrop = "MarkUpTool-SelectCrop", e.MarkUpToolSelectLine = "MarkUpTool-SelectLine", e.MarkUpToolSelectBrush = "MarkUpTool-SelectBrush", e.MarkUpToolSelectRectangle = "MarkUpTool-SelectRectangle", e.MarkUpToolSelectCircle = "MarkUpTool-SelectCircle", e.MarkUpToolSelectArrow = "MarkUpTool-SelectArrow", e.MarkUpToolSelectText = "MarkUpTool-SelectText", e.MarkUpToolUndo = "MarkUpTool-Undo", e.MarkUpToolRedo = "MarkUpTool-Redo", e.MarkUpToolSelectColor = "MarkUpTool-SelectColor", e.MarkUpToolApplyCrop = "MarkUpTool-ApplyCrop", e.MarkUpToolCancelCrop = "MarkUpTool-CancelCrop", e.MarkUpToolCancelSend = "MarkUpTool-CancelSend", e.MarkUpToolOpenEditName = "MarkUpTool-OpenEditName", e.MarkUpToolCancelEditName = "MarkUpTool-CancelEditName", e.MarkUpToolSaveEditedName = "MarkUpTool-SaveEditedName", e.MarkUpToolSaveToMediaHub = "MarkUpTool-SaveToMediaHub", e.MarkUpToolDownloadAs = "MarkUpTool-DownloadAs", e.MarkUpToolSendToConnector = "MarkUpTool-SendToConnector", e.AiToolToggleBrainToolsMenu = "AITool-ToggleBrainToolsMenu", e.AiToolSelectObjectDetection = "AITool-SelectObjectDetection", e.AiToolSelectAskChatGpt = "AITool-SelectAskChatGpt", e.AiToolSelectSegmentation = "AITool-SelectSegmentation", e.AiToolUpdateTransparency = "AITool-UpdateTransparency", e.RecordingsCancelExportDialog = "CancelExportDialog", e.RecordingsClickSupportLink = "ClickSupportLink", e.RecordingsCreateClip = "CreateClip", e.RecordingsToggleExportDialog = "ToggleExportDialog", e.RecordingToggleGateReportEvents = "ToggleGateReportEvents", e.RecordingsSelectDate = "SelectDate", e.RecordingsSelectDateClickMonthYear = "SelectDate-ClickMonthYear", e.RecordingsSelectLatestDate = "SelectLatestDate", e.RecordingsSelectOldestDate = "SelectOldestDate", e.SharingToggleAddUserDialog = "ToggleAddUserDialog", e.SharingToggleEditVisibilityOptionsDialog = "ToggleEditVisibilityOptionsDialog", e.SharingAddUser = "AddUser", e.SharingToggleDeleteUserDialog = "ToggleDeleteUserDialog", e.SharingDeleteUser = "DeleteUser", e.SharingSaveVisibilityOptions = "SaveVisibilityOptions", e.SharingCopyLink = "CopyLink", e.SharingResendInvite = "ResendInvite", e.SharingTransferOwnership = "TransferOwnership", e.SharingSortBy = "SortBy", e.SharingChangeAccessRight = "ChangeAccessRight", e.ThreeSixtyGallery = "Gallery", e.ThreeSixtyGalleryTimelineDateClick = "Gallery-TimelineDateClick", e.ThreeSixtyGalleryToggleUploadDialog = "Gallery-ToggleUploadDialog", e.ThreeSixtyChangeDate = "ChangeDate", e.ThreeSixtyChangeFloor = "ChangeFloor", e.ThreeSixtyCloseCompare = "CloseCompare", e.ThreeSixtyCloseForgeBIM = "CloseForgeBIM", e.ThreeSixtyDeleteComment = "DeleteComment", e.ThreeSixtyDisableMeasuringTool = "DisableMeasuringTool", e.ThreeSixtyDisableCommnetTool = "DisableCommentTool", e.ThreeSixtyEnableMeasuringTool = "EnableMeasuringTool", e.ThreeSixtyEnableCommentTool = "EnableCommentTool", e.ThreeSixtyLockCompare = "LockCompare", e.ThreeSixtyLockForgeBIM = "LockForgeBIM", e.ThreeSixtyMarkerThumbnailClicked = "MarkerThumbnailClicked", e.ThreeSixtyMiniMapMarkerClicked = "MiniMapMarkerClicked", e.ThreeSixtyOpen = "Open", e.ThreeSixtyOpenCompare = "OpenCompare", e.ThreeSixtyOpenForgeBIM = "OpenForgeBIM", e.ThreeSixtyOpenMarkersThumbnailsList = "OpenMarkersThumbnailsList", e.ThreeSixtyOpenCommentsList = "OpenCommentsList", e.ThreeSixtySaveComment = "SaveComment", e.ThreeSixtyUnarchiveComment = "UnarchiveComment", e.ThreeSixtyArchiveComment = "ArchiveComment", e.ThreeSixtyShareView = "ShareView", e.ThreeSixtyCommentClicked = "CommentClicked", e.ThreeSixtyToggleMarkersVisibility = "ToggleMarkersVisibility", e.ThreeSixtyToggleMinimapVisibility = "ToggleMinimapVisibility", e.ThreeSixtyToggleMiniModel = "ToggleMiniModel", e.ThreeSixtyToggleCommentsVisibility = "ToggleCommentsVisibility", e.ThreeSixtyTourPause = "Tour-Pause", e.ThreeSixtyTourPlay = "Tour-Play", e.ThreeSixtyTourSetSpeedXHalve = "Tour-SetSpeedX0.5", e.ThreeSixtyTourSetSpeedX1 = "Tour-SetSpeedX1", e.ThreeSixtyTourSetSpeedX2 = "Tour-SetSpeedX2", e.ThreeSixtyTourSetSpeedX4 = "Tour-SetSpeedX4", e.ThreeSixtyTourToggleLoop = "Tour-ToggleLoop", e.ThreeSixtyUnlockCompare = "UnlockCompare", e.ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM", e.ThreeSixtyUpdateFloorName = "UpdateFloorName", e.ThreeSixtyUploadAssets = "UploadAssets", e.DroneAreaToolClick = "AreaTool-Click", e.DroneChangeDate = "ChangeDate", e.DroneChooseTagType = "ChooseTagType", e.DroneClickCameraLiveView = "ClickCameraLiveView", e.DroneClickCameraMarker = "ClickCameraMarker", e.DroneCompareToolClick = "CompareTool-Click", e.DroneCompareToolSaveToMediaHub = "CompareToolSaveToMediaHub", e.DroneCompareToolSliderMove = "CompareTool-SliderMove", e.DroneCompareToolToggleExportDialog = "CompareToolToggleExportDialog", e.DroneCopyLocationToClipboard = "CopyLocationToClipboard", e.DroneEnable2DImagery = "Enable2DImagery", e.DroneGenerateUploadFlight = "GenerateUploadFlight", e.DroneInspectionToolClick = "InspectionTool-Click", e.DroneMeasuringToolClick = "MeasuringTool-Click", e.DroneOpenHelpPanel = "OpenHelpPanel", e.DroneOpenImageViewer = "OpenImageViewer", e.DroneResetView = "ResetView", e.DroneSaveTag = "SaveTag", e.DroneSettingsToggle360PathsVisibility = "Settings-Toggle360PathsVisibility", e.DroneSettingsToggleCameraMarkersVisibility = "Settings-ToggleCameraMarkersVisibility", e.DroneSettingsToggleSurroundingBuildingsTool = "Settings-ToggleSurroundingBuildingsTool", e.DroneSettingsToggleTagsVisibility = "Settings-ToggleTagsVisibility", e.DroneShareLink = "ShareLink", e.DroneTagsToolClick = "TagsTool-Click", e.DroneToggleBimCompareTool = "ToggleBimCompareTool", e.DroneToggleFullScreen = "ToggleFullScreen", e.DroneToggleMapStyle = "ToggleMapStyle", e.DroneToggleQualityMode = "ChooseQuality", e.DroneToggleSideMenu = "ToggleSideMenu", e.DroneToggleImageryPlan = "ToggleImageryPlan", e.DroneToggleSceneMode = "ToggleSceneMode", e.DroneUploadFlight = "UploadFlight", e.DroneViewLocationInGoogleMaps = "ViewLocationInGoogleMaps", e.DroneVolumeToolClick = "VolumeTool-Click", e.DroneZoomIn = "ZoomIn", e.DroneZoomOut = "ZoomOut", e.PlannerAddCameraClick = "AddCameraClick", e.PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick", e.PlannerAddSitePlanClick = "AddSitePlanClick", e.PlannerAttachSitePlanDrawing = "AttachSitePlanDrawing", e.PlannerCameraMarkerEditFOVAngle = "CameraMarker-EditFOVAngle", e.PlannerCameraMarkerEditHeading = "CameraMarker-EditHeading", e.PlannerCameraMarkerEditName = "CameraMarker-EditName", e.PlannerCameraMarkerEditRadius = "CameraMarker-EditRadius", e.PlannerCameraMarkerSelectColor = "CameraMarker-SelectColor", e.PlannerCameraMarkerToggleVisibility = "CameraMarker-ToggleVisibility", e.PlannerCameraMarkerToggleDeleteDialog = "CameraMarker-ToggleDeleteDialog", e.PlannerCancelUploadSitePlanDrawing = "CancelUploadSitePlanDrawing", e.PlannerChangeLocation = "ChangeLocation", e.PlannerOpen = "Open", e.PlannerResetView = "ResetView", e.PlannerSitePlansList = "SitePlansList", e.PlannerToggleCamerasLabel = "ToggleCamerasLabel", e.PlannerToggleFullscreen = "ToggleFullscreen", e.PlannerToggleMapStyle = "ToggleMapStyle", e.PlannerToggleSaveSessionDialog = "ToggleSaveSessionDialog", e.PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing", e.PlannerZoomIn = "ZoomIn", e.PlannerZoomOut = "ZoomOut", e.MarkerClicked = "MarkerClicked", e.TimelapseSelectCustomPeriod = "SelectCustomPeriod", e.TimelapseToggleCustomScheduleDialog = "ToggleCustomScheduleDialog", e.TimelapseSaveCustomSchedule = "SaveCustomSchedule", e.TimelapseToggleExportDialog = "ToggleExportDialog", e.TimelapseExportSelectStep = "SelectStep", e.TimelapseSelectOption = "SelectOption", e.TimelapseSelectSchedule = "SelectSchedule", e.TimelapseSaveToMediaHub = "SaveToMediaHub", e.TimelapseGoToMediaHub = "GoToMediaHub", e.TimelapseToggleUploadLogoDialog = "ToggleUploadLogoDialog", e.TimelapseUploadLogo = "UploadLogo", e.ProgressPhotoCancelPause = "ProgressPhoto-CancelPause", e.ProgressPhotoCancelResume = "ProgressPhoto-CancelResume", e.ProgressPhotoCancelDelete = "ProgressPhoto-CancelDelete", e.ProgressPhotoCreate = "ProgressPhoto-Create", e.ProgressPhotoDelete = "ProgressPhoto-Delete", e.ProgressPhotoEdit = "ProgressPhoto-Edit", e.ProgressPhotoEditCamerasFilter = "ProgressPhoto-EditCamerasFilter", e.ProgressPhotoEditDaysFilter = "ProgressPhoto-EditDaysFilter", e.ProgressPhotoEditProjectsFilter = "ProgressPhoto-EditProjectsFilter", e.ProgressPhotoEditSearchFilter = "ProgressPhoto-EditSearchFilter", e.ProgressPhotoEditStatusFilter = "ProgressPhoto-EditStatusFilter", e.ProgressPhotoEditUsersFilter = "ProgressPhoto-EditUsersFilter", e.ProgressPhotoFiltersClicked = "ProgressPhoto-FiltersClicked", e.ProgressPhotoPause = "ProgressPhoto-Pause", e.ProgressPhotoResume = "ProgressPhoto-Resume", e.ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete", e.ProgressPhotoSelectType = "ProgressPhoto-SelectType", e.ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras", e.ProgressPhotoSelectDays = "ProgressPhoto-SelectDays", e.ProgressPhotoSelectMember = "ProgressPhoto-SelectMember", e.ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider", e.ProgressPhotoSelectTime = "ProgressPhoto-SelectTime", e.ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone", e.ProgressPhotoSelectDelay = "ProgressPhoto-SelectDelay", e.ProgressPhotoToggleCreateDialog = "ProgressPhoto-ToggleCreateDialog", e.ProgressPhotoToggleEditDialog = "ProgressPhoto-ToggleEditDialog", e.ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser", e.MapViewChooseSatellite = "MapView-ChooseSatellite", e.MapViewChooseTerrain = "MapView-ChooseMap", e.MapViewClickCameraLink = "MapView-ClickCameraLink", e.MapViewToggleCameraMapInfoTooltip = "MapView-ToggleCameraMapInfoTooltip", e.VideoWallToggleFullscreen = "VideoWall-ToggleFullscreen", e.VideoWallToggleCameraFullscreen = "VideoWall-ToggleCameraFullscreen", e.VideoWallToggleConfigDialog = "VideoWall-ToggleConfigDialog", e.VideoWallToggleCameraVisibility = "VideoWall-ToggleCameraVisibility", e.VideoWallPositionCameraOnWall = "VideoWall-PositionCameraOnWall", e.VideoWallSaveConfig = "VideoWall-SaveConfig", e.ProjectSettingsCameraSettingsCancelEditCameraName = "CancelEditCameraName", e.ProjectSettingsCameraSettingsEditCameraName = "EditCameraName", e.ProjectSettingsCameraSettingsEditCameraVisibility = "EditCameraVisibility", e.ProjectSettingsCameraSettingsSaveCameraName = "SaveCameraName", e.ProjectSettingsMembersApplyCamerasFilter = "ApplyCamerasFilter", e.ProjectSettingsMembersApplySearchFilter = "ApplySearchFilter", e.ProjectSettingsMembersAddMember = "AddMember", e.ProjectSettingsMembersDeleteCameraAccess = "DeleteCameraAccess", e.ProjectSettingsMembersEditCameraAccess = "EditCameraAccess", e.ProjectSettingsMembersFiltersClick = "FiltersClick", e.ProjectSettingsMembersShareCamera = "ShareCamera", e.ProjectSettingsMembersToggleAddDialog = "ToggleAddDialog", e.ProjectSettingsOverviewOpenInMapView = "OpenInMapView", e.ProjectSettingsOverviewCloseUpdateThumbnailDialog = "CloseUpdateThumbnailDialog", e.ProjectSettingsOverviewOpenUpdateThumbnailDialog = "UpdateThumbnailClicked", e.ProjectSettingsOverviewUploadNewThumbnail = "UploadNewThumbnail", e.ProjectSettingsOverviewUpdateThumbnail = "UpdateThumbnail", e.MediaHubSelectFilter = "SelectFilter", e.MediaHubApplyFilters = "ApplyFilters", e.MediaHubToggleAddMediaUrlDialog = "ToggleAddMediaUrlDialog", e.MediaHubToggleUploadFileDialog = "ToggleUploadFileDialog", e.MediaHubToggleUploadLocalClipDialog = "ToggleUploadLocalClipDialog", e.MediaHubSaveMediaUrl = "SaveMediaUrl", e.MediaHubUploadFile = "UploadFile", e.MediaHubSelectPage = "SelectPage", e.MediaHubGoToNextPage = "GoToNextPage", e.MediaHubGoToPreviousPage = "GoToPreviousPage", e.MediaDelete = "Media-Delete", e.MediaToggleTitleEditing = "Media-ToggleTitleEditing", e.MediaSaveTitle = "Media-SaveTitle", e.MediaDownloadAs = "Media-DownloadAs", e.MediaTogglePublicVisibility = "Media-TogglePublicVisibility", e.MediaShareToPlatform = "Media-ShareToPlatform", e.MediaCopyMediaLink = "Media-CopyMediaLink", e.MediaGoToMediaHub = "Media-GoBackToMediaHub", e.GateReportCalendarTreeDateClick = "CalendarTree-DateClick", e.GateReportFilterEntryExit = "FilterEntryExit", e.GateReportFilterPlateNumber = "FilterPlateNumber", e.GateReportFilterVehicleTypes = "FilterVehicleTypes", e.GateReportOpenVehicleTypeInfo = "OpenVehicleTypeInfo", e.GateReportTimelineDateClick = "Timeline-DateClick", e.GateReportToggleThumbnails = "ToggleThumbnails", e.PpeTimelineDateClick = "PpeTimeline-DateClick", e.HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton", e.HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat", e.HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink", e.HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink", e.HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink", e.HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink", e.HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink", e.Recording = "Recording", e.CameraFilter = "CameraFilter", e.MissingEquipmentHardHat = "MissingEquipment-HardHat", e.MissingEquipmentHighVisibilityVest = "MissingEquipment-HighVisibilityVest", e.MissingEquipmentSafetyGlasses = "MissingEquipment-SafetyGlasses", e.MissingEquipmentSafetyGloves = "MissingEquipment-SafteyGLoves", e.ExportAs = "ExportAs", e.ExportPdf = "ExportPdf", e.ExportCsv = "ExportCsv", e.FilterCameras = "FilterCameras", e.SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder", e.SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector", e.SmartSearchDeleteComponent = "SmartSearch-DeleteComponent", e.SmartSearchPageChange = "SmartSearch-PageChange", e.SmartSearchExecuteQuery = "SmartSearch-ExecuteQuery", e.SmartSearchAddComponent = "SmartSearch-AddComponent", e.SmartSearchConnectComponent = "SmartSearch-ConnectComponent", e.SmartSearchUpdateComponent = "SmartSearch-UpdateComponent", e.SmartSearchSavedQueryClick = "SmartSearch-SavedQueryClick", e.SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries", e.SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover", e.SmartSearchThumbnailError = "SmartSearch-ThumbnailError", e.SmartSearchCameraSelected = "SmartSearch-CameraSelected", e.SmartSearchOptionClicked = "SmartSearch-OptionClicked", e.SmartSearchEditQuery = "SmartSearch-EditQuery", e.SmartSearchDeleteQuery = "SmartSearch-DeleteQuery", e.SmartSearchSaveQuery = "SmartSearch-SaveQuery", e.SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay", e.SmartSearchExportFile = "SmartSearch-ExportFile", e))(ne || {}), le = /* @__PURE__ */ ((e) => (e.Left = "reverse", e.Arrived = "forward", e.Unknown = "unknown", e))(le || {}), ge = /* @__PURE__ */ ((e) => (e.IsPlate = "is_plate", e.NotPlate = "not_plate", e.IsDuplicate = "is_duplicate", e.NotDuplicate = "not_duplicate", e))(ge || {}), me = /* @__PURE__ */ ((e) => (e.EditedImage = "edit", e.ExternalUrl = "url", e.Clip = "clip", e.File = "file", e.LocalClip = "local_clip", e.XRay = "x-ray", e.Timelapse = "timelapse", e.Compare = "compare", e.MobileAsset = "mobile-asset", e))(me || {}), pe = /* @__PURE__ */ ((e) => (e.Gif = "gif", e.Mp4 = "mp4", e.Png = "png", e.Pdf = "pdf", e.Jpeg = "jpeg", e))(pe || {}), ce = /* @__PURE__ */ ((e) => (e.Pending = "Pending", e.Creating = "Creating", e.Processing = "Processing", e.Extracting = "Extracting", e.Uploading = "Uploading", e.Completed = "Completed", e.Failed = "Failed", e.NoData = "No Data", e))(ce || {}), ue = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Processing = 1] = "Processing", e[e.Completed = 2] = "Completed", e[e.Failed = 3] = "Failed", e))(ue || {}), he = /* @__PURE__ */ ((e) => (e.HealthSafetySecurity = "health_safety_security", e.Legal = "legal", e.Marketing = "marketing", e.BestPracticies = "best_practices", e))(he || {}), de = /* @__PURE__ */ ((e) => (e.Architectural = "Architectural", e.Structural = "Structural", e.FourD = "4D", e.Mep = "Mep", e))(de || {}), Se = /* @__PURE__ */ ((e) => (e[e.Initial = 0] = "Initial", e[e.Saving = 1] = "Saving", e[e.Success = 2] = "Success", e[e.Failed = 3] = "Failed", e))(Se || {}), $e = /* @__PURE__ */ ((e) => (e.Mask = "mask", e.MeasuringGrid = "measuring_grid", e.BimArchitectural = "bim_architectural", e.BimStructural = "bim_structural", e.Bim4D = "bim_4d", e.BimMep = "bim_mep", e.RecordingsTag = "recordings_tag", e.Milestone = "milestone", e))($e || {}), Te = /* @__PURE__ */ ((e) => (e.Online = "online", e.Offline = "offline", e.OfflineScheduled = "offline_scheduled", e.Decommissioned = "decommissioned", e.OnHold = "on_hold", e.Waiting = "waiting", e.UnderMaintenance = "under_maintenance", e.WaitingForSiteVisit = "waiting_for_site_visit", e))(Te || {}), be = /* @__PURE__ */ ((e) => (e.High = "#FF5252", e.Moderate = "#FBC02D", e.Low = "#006400", e.NoChange = "#3ACF3A", e.Default = "black", e))(be || {}), ke = /* @__PURE__ */ ((e) => (e.EdgeVideo = "edge_video", e.BimCompare = "bim_compare", e.TwoDBimCompare = "2d_bim_compare", e.ForgeBIMCompare = "forge_bim_compare", e.GateReport = "gate_report", e.VideoStream = "video_stream", e.WebRTC = "webrtc", e.ANPR = "anpr", e.ReverseANPR = "reverse_anpr", e.PTZ = "ptz", e.ObjectDetection = "object_detection", e.Segmentation = "segmentation", e.SegmentationAutoLabelling = "segmentation_auto_labelling", e.PpeMonitoring = "ppe_monitoring", e))(ke || {}), fe = /* @__PURE__ */ ((e) => (e.YCam = "y-cam", e.Axis = "axis", e.Dahua = "dahua", e.Mobotix = "mobotix", e.Hikvision = "hikvision", e.Avigilion = "avigilion", e.Hanwha = "hanwha", e.Nxwitness = "nxwitness", e.ExNvr = "ex_nvr", e))(fe || {}), we = /* @__PURE__ */ ((e) => (e.YCam = "y-cam", e.Axis = "axis", e.Dahua = "dahua", e.Mobotix = "mobotix", e.Milesight = "milesight", e.Hikvision = "hikvision", e.Avigilion = "avigilion", e.Hanwha = "hanwha", e.Other = "other", e))(we || {}), Pe = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notExist", e.Unformatted = "unformatted", e.Ok = "ok", e))(Pe || {}), Me = /* @__PURE__ */ ((e) => (e.Host = "host", e.CameraHttpPort = "camera_http_port", e.NvrHttpPort = "nvr_http_port", e.NvrDeviceId = "nvr_device_id", e))(Me || {}), Re = /* @__PURE__ */ ((e) => (e.TwoD = "2D", e.Forge = "Forge", e))(Re || {}), _e = /* @__PURE__ */ ((e) => (e[e.Processing = 0] = "Processing", e[e.Completed = 1] = "Completed", e[e.Failed = 2] = "Failed", e))(_e || {}), Ue = /* @__PURE__ */ ((e) => (e.Copilot = "copilot", e.User = "user", e.System = "system", e))(Ue || {}), De = /* @__PURE__ */ ((e) => (e.Text = "text", e.Progress = "progress", e.Error = "error", e.Json = "json", e))(De || {}), Be = /* @__PURE__ */ ((e) => (e.SendToLLM = "send_to_llm", e.FunctionCallRequest = "function_call_request", e.ExecFunctionCall = "exec_function_call", e.SendToUser = "send_to_user", e.RequestMissingFields = "request_missing_fields", e.CompletedFieldsResponse = "completed_fields_response", e.SendRawToolCallResponse = "send_raw_tool_call_response", e.SubmitToolOutputsToLLM = "submit_tool_outputs_to_llm", e.CancelCall = "cancel_call", e))(Be || {}), je = /* @__PURE__ */ ((e) => (e.ProjectExid = "Project", e.CameraExid = "Camera", e.FromDate = "Start date", e.ToDate = "End date", e))(je || {}), Oe = /* @__PURE__ */ ((e) => (e.ConversationStart = "conversation:start", e.ConversationCreated = "conversation:created", e.LLMMessageChunk = "llm:message:chunk", e.LLMMessageComplete = "llm:message:complete", e.LLMMessageLoading = "llm:message:loading", e.LLMRequestCancel = "llm:request:cancel", e.LLMRequestCanceled = "llm:request:canceled", e.UserMessage = "user:message", e.ContextError = "chat:contextError", e.ChatError = "chat:chatError", e.MissingFields = "chat:missingFields", e.MissingFieldsCompleted = "chat:missingFields:completed", e.SystemToolCallResponse = "system:toolCall:response", e.ChangeProvider = "chat:changeProvider", e))(Oe || {}), ve = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGPT = "chatgpt", e))(ve || {}), Ve = /* @__PURE__ */ ((e) => (e.UserManual = "user_manual", e.GateReport = "gate_report", e.Weather = "weather", e.Clip = "clip", e.Timelapse = "timelapse", e.Chart = "chart", e))(Ve || {}), xe = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGpt = "chatGpt", e))(xe || {}), Ne = /* @__PURE__ */ ((e) => (e.Floating = "floating", e))(Ne || {}), He = /* @__PURE__ */ ((e) => (e.GetReports = "getReports", e.GetVehiclesDetections = "getVehiclesDetections", e.GetVehiclesDetectionsCounts = "getVehiclesDetectionsCounts", e.GetWeather = "getWeather", e.CreateClip = "createClip", e.NavigateToPage = "navigateToPage", e.CreateTimelapse = "createTimelapse", e.RequestMissingFields = "requestMissingFields", e.RenderCharts = "renderCharts", e))(He || {}), Ge = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.DateTime = "DateTimeField", e.Schedule = "ScheduleField", e.MultiOptions = "MultiOptionsField", e.Switch = "SwitchField", e))(Ge || {}), ze = /* @__PURE__ */ ((e) => (e.ProjectExid = "projectExid", e.CameraExid = "cameraExid", e.FromDate = "fromDate", e.ToDate = "toDate", e.Schedule = "schedule", e.Duration = "duration", e))(ze || {}), We = /* @__PURE__ */ ((e) => (e.Boolean = "boolean", e.String = "string", e.Number = "number", e))(We || {}), Fe = /* @__PURE__ */ ((e) => (e.Date = "date", e))(Fe || {}), u = /* @__PURE__ */ ((e) => (e.BadRequestError = "BadRequestError", e.NotFoundError = "NotFoundError", e.UnauthorizedError = "UnauthorizedError", e.GatewayTimeoutError = "GatewayTimeoutError", e.BadGatewayError = "BadGatewayError", e.ForbiddenError = "ForbiddenError", e.HlsError = "HlsError", e.SnapshotError = "SnapshotError", e.ConflictError = "ConflictError", e.InternalServerError = "InternalServerError", e.CanceledError = "CanceledError", e.UnhandledRejection = "UnhandledRejection", e.TypeError = "TypeError", e))(u || {}), h = /* @__PURE__ */ ((e) => (e[e.InternalServerError = 500] = "InternalServerError", e[e.BadGatewayError = 502] = "BadGatewayError", e[e.ServiceUnavailableError = 503] = "ServiceUnavailableError", e[e.GatewayTimeoutError = 504] = "GatewayTimeoutError", e[e.BadRequestError = 400] = "BadRequestError", e[e.UnauthorizedError = 401] = "UnauthorizedError", e[e.ForbiddenError = 403] = "ForbiddenError", e[e.NotFoundError = 404] = "NotFoundError", e[e.ConflictError = 409] = "ConflictError", e))(h || {}), Le = /* @__PURE__ */ ((e) => (e.BadArgument = "BAD_ARGUMENT", e.DeviceError = "DEVICE_ERROR", e.UnsupportedOperation = "UNSUPPORTED_OPERATION", e.QuotaExceeded = "QUOTA_EXCEEDED", e.InvalidCredentials = "INVALID_CREDENTIALS", e.InvalidToken = "INVALID_TOKEN", e.ProviderAuthFailure = "PROVIDER_AUTH_FAILURE", e.ProviderEmailRequired = "PROVIDER_EMAIL_REQUIRED", e.PasswordReset = "PASSWORD_RESET", e.RequireShareRequest = "REQUIRE_SHARE_REQUEST", e.Generic = "GENERIC", e))(Le || {}), Ze = /* @__PURE__ */ ((e) => (e.Auto = "auto", e.Manual = "manual", e.Cloud = "cloud", e.Edge = "edge", e))(Ze || {}), qe = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e))(qe || {}), Xe = /* @__PURE__ */ ((e) => (e.ArticulatedDumper = "articulated-dumper", e.BackhoeLoader = "backhoe-loader", e.CompactExcavator = "compact-excavator", e.ConcretePump = "concrete-pump", e.Dumper = "dumper", e.Excavator = "excavator", e.FlatbedSemiTrailer = "flatbed-semi-trailer", e.IndustrialTruck = "industrial-truck", e.Loader = "loader", e.Mewps = "mewps", e.MobileCrane = "mobile-crane", e.MobileCrusher = "mobile-crusher", e.OtherTruck = "other-truck", e.PileDrillingRig = "pile-drilling-rig", e.RoadVehicle = "road-vehicle", e.Roller = "roller", e.SemiTrailer = "semi-trailer", e.SkidSteerLoader = "skid-steer-loader", e.SkipTruck = "skip-truck", e.SmallTruck = "small-truck", e.TankTruck = "tank-truck", e.TeleHandler = "tele-handler", e.TippingTruck = "tipping-truck", e.TowerCrane = "tower-crane", e.TowerMountedConcreteMix = "tower-mounted-concrete-mix", e.TractorDozer = "tractor-dozer", e.TruckHead = "truck-head", e.TruckMixer = "truck-mixer", e.TruckMountedMobileCrane = "truck-mounted-mobile-crane", e.Unknown = "unknown", e.Worker = "worker", e.Rubble = "rubble", e.Puddle = "puddle", e.DirtGravelCementPile = "dirt_gravel_cement_pile", e.DetachedExcavatorBucket = "detached_excavator_bucket", e.IntermediateBulkContainer = "intermediate_bulk_container", e.WoodenPallet = "wooden_pallet", e.ShippingContainer = "shipping_container", e.AirCompressor = "air_compressor", e.DryMortarSilo = "dry_mortar_silo", e.Fence = "fence", e.Brick = "brick", e.Barrel = "barrel", e.Cardboard = "cardboard", e.CardboardBox = "cardboard_box", e.CementBag = "cement_bag", e.ConcreteBlock = "concrete_block", e.ConcretePipe = "concrete_pipe", e.ConcreteSlab = "concrete_slab", e.PlasticWrap = "plastic_wrap", e.ContainerOffice = "container_office", e.ElectricalPole = "electrical_pole", e.ElectricalBox = "electrical_box", e.FireHydrant = "fire_hydrant", e.HoseReel = "hose_reel", e.Ladder = "ladder", e.MetalBeam = "metal_beam", e.MetalPipe = "metal_pipe", e.Pallet = "pallet", e.Pillar = "pillar", e.PlasticBin = "plastic_bin", e.PlasticBucket = "plastic_bucket", e.PlasticPipe = "plastic_pipe", e.PublicToilet = "public_toilet", e.Sign = "sign", e.SiteToolbox = "site_toolbox", e.StreetSink = "street_sink", e.TrafficBarrier = "traffic_barrier", e.TrafficCone = "traffic_cone", e.Wall = "wall", e.WasteContainer = "waste_container", e.WaterStorageTank = "water_storage_tank", e.Wheelbarrow = "wheelbarrow", e.Window = "window", e.WoodPlank = "wood_plank", e.CableReel = "cable_reel", e.AirConditioningSystem = "air_conditioning_system", e.WoodenBox = "wooden_box", e.PlasticBag = "plastic_bag", e.MaterialStack = "material_stack", e))(Xe || {}), Je = /* @__PURE__ */ ((e) => (e.AirCompressor = "air_compressor", e.Brick = "brick", e.Building = "building", e.CableReel = "cable_reel", e.CementMixer = "cement_mixer", e.CementPile = "cement_pile", e.ConcreteBarrier = "concrete_barrier", e.ConcreteBlock = "concrete_block", e.ConstructionContainer = "construction_container", e.ConstructionSite = "construction_site", e.Crane = "crane", e.DetachedExcavatorBucket = "detached_excavator_bucket", e.DryMortarSilo = "dry_mortar_silo", e.DumpTruck = "dump_truck", e.Dumpster = "dumpster", e.Fence = "fence", e.FireHydrant = "fire_hydrant", e.GarbageBin = "garbage_bin", e.HoseReel = "hose_reel", e.Ibc = "ibc", e.JerryCan = "jerry_can", e.MetalBeam = "metal_beam", e.MiniDumper = "mini_dumper", e.Pallet = "pallet", e.Pipe = "pipe", e.Puddle = "puddle", e.Rebar = "rebar", e.Rubble = "rubble", e.Scaffolding = "scaffolding", e.ShippingContainer = "shipping_container", e.SiteOffice = "site_office", e.TrafficCone = "traffic_cone", e.Transformer = "transformer", e.Vehicle = "vehicle", e.Window = "window", e.WoodenSpool = "wooden_spool", e.Unknown = "unknown", e))(Je || {}), L = /* @__PURE__ */ ((e) => (e.ConcretePump = "concrete-pump", e.FlatbedSemiTrailer = "flatbed-semi-trailer", e.OtherTruck = "other-truck", e.RoadVehicle = "road-vehicle", e.SemiTrailer = "semi-trailer", e.SmallTruck = "small-truck", e.TankTruck = "tank-truck", e.TippingTruck = "tipping-truck", e.TruckHead = "truck-head", e.TruckMixer = "truck-mixer", e.Unknown = "unknown", e))(L || {}), Qe = /* @__PURE__ */ ((e) => (e.Anpr = "anpr", e.Events = "events", e))(Qe || {}), Ye = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e.Unknown = "unknown", e))(Ye || {}), Ke = /* @__PURE__ */ ((e) => (e.Pdf = "pdf", e.Csv = "csv", e))(Ke || {}), Ae = /* @__PURE__ */ ((e) => (e.Rectangle = "rectangle", e.Direction = "direction", e.Line = "line", e))(Ae || {}), Ee = /* @__PURE__ */ ((e) => (e.Processed = "processed", e.Unprocessed = "unprocessed", e))(Ee || {});
7
- const v = Object.values(L);
8
- var Ce = /* @__PURE__ */ ((e) => (e.ExFat = "ExFAT", e.HikFs = "HikFS", e))(Ce || {}), Ie = /* @__PURE__ */ ((e) => (e.Magnetic35 = '3.5" Magnetic', e.Magnetic25 = '2.5" Magnetic', e.Ssd25 = '2.5" SSD', e))(Ie || {}), ye = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.InUse = "In Use", e.ColdStorage = "Cold Storage", e))(ye || {}), er = /* @__PURE__ */ ((e) => (e[e.IEWarehouse = 1] = "IEWarehouse", e[e.Deployed = 2] = "Deployed", e[e.CustomerStorage = 3] = "CustomerStorage", e[e.USWarehouse = 4] = "USWarehouse", e[e.AUWarehouse = 5] = "AUWarehouse", e[e.UKWarehouse = 6] = "UKWarehouse", e))(er || {}), rr = /* @__PURE__ */ ((e) => (e.IEWarehouse = "IE Warehouse", e.Deployed = "Deployed", e.CustomerStorage = "Customer Storage", e.USWarehouse = "US Warehouse", e.AUWarehouse = "AU Warehouse", e.UKWarehouse = "UK Warehouse", e))(rr || {}), ar = /* @__PURE__ */ ((e) => (e.TwoTB = "2 TB", e.FourTB = "4 TB", e.FiveTB = "5 TB", e.SixTB = "6 TB", e.EightTB = "8 TB", e.TenTB = "10 TB", e))(ar || {}), tr = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Uploading = "uploading", e.Created = "created", e.Failed = "failed", e.Aborted = "aborted", e.Paused = "paused", e.InProgress = "inprogress", e.Pending = "pending", e))(tr || {}), p = /* @__PURE__ */ ((e) => (e.V1 = "v1", e.V2 = "v2", e))(p || {}), sr = /* @__PURE__ */ ((e) => (e.Hybrid = "hybrid", e.Terrain = "terrain", e))(sr || {}), j = /* @__PURE__ */ ((e) => (e.Aconex = "aconex", e.Procore = "procore", e.Autodesk = "autodesk", e.AutodeskViewer = "autodesk_viewer", e.VoyageControl = "voyage_control", e.XWeather = "xweather", e))(j || {}), ir = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.Photos = "photos", e))(ir || {}), or = /* @__PURE__ */ ((e) => (e.CameraShare = "camera_share", e.CameraStatusChange = "camera_status_changed", e.Mention = "mention", e.TimelapseCreated = "timelapse_created", e.TimelapseFailed = "timelapse_failed", e.DroneProcessing = "drone_processing_done", e.Processing360 = "three_sixty_done", e))(or || {}), nr = /* @__PURE__ */ ((e) => (e.Rpi4 = "rpi4", e.Rpi5 = "rpi5", e.OrinNano = "orin_nano", e.Giraffe = "giraffe", e))(nr || {}), lr = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notexist", e.Ok = "ok", e.Unformatted = "unformatted", e))(lr || {}), gr = /* @__PURE__ */ ((e) => (e.RichText = "rich_text", e.Date = "date", e.DateTime = "datetime", e.LovEntry = "lov_entry", e.LovEntries = "lov_entries", e.Boolean = "boolean", e.Vendor = "vendor", e.Decimal = "decimal", e.String = "string", e.LoginInformation = "login_information", e.LoginInformations = "login_informations", e.Dropdown = "dropdown", e))(gr || {}), mr = /* @__PURE__ */ ((e) => (e.Number = "number", e.Name = "name", e.Status = "status", e.Trade = "tradeId", e.Assignee = "assigneeId", e.DueDate = "dueDate", e.SpecificationSection = "specificationSectionId", e.Priority = "priority", e.Location = "locationId", e.DistributionMembers = "distributionMemberIds", e.Personal = "personal", e.Hazard = "hazardId", e.ContributingBehavior = "contributingBehaviorId", e.ContributingCondition = "contributingConditionId", e.Description = "description", e))(mr || {}), pr = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.ProgressPhotos = "images", e))(pr || {}), cr = /* @__PURE__ */ ((e) => (e[e.NoAccess = 1] = "NoAccess", e[e.ReadOnly = 2] = "ReadOnly", e[e.Standard = 3] = "Standard", e[e.Admin = 4] = "Admin", e))(cr || {}), ur = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.Pause = "pause", e))(ur || {}), hr = /* @__PURE__ */ ((e) => (e.ToStart = "To Start", e.InProgress = "In Progress", e.Completed = "Completed", e.NotAplicable = "Not Applicable", e))(hr || {}), dr = /* @__PURE__ */ ((e) => (e.Full = "Full", e.Partial = "Partial", e.Minimal = "Minimal", e.ScheduledForDeletion = "Scheduled for Deletion", e))(dr || {}), Sr = /* @__PURE__ */ ((e) => (e.AnprLegacy = "anpr_legacy", e.DroneView = "drone_view", e.Bim = "4d_bim", e.BimItwin = "4d_bim_itwin", e.BimForge = "4d_bim_forge", e.ThreeSixtyView = "360_view", e.NdaMc = "NDA/MC", e.GateReport = "gate_report", e.GateReportAutoVerify = "auto_publish", e.GateReportMotionDetection = "motion_detection", e.FullEmpty = "full_empty", e.MediaHubSharing = "archives_sharing", e.GateReportAnprBased = "anpr_sourced", e.NoLicensePlate = "no_license_plate", e.DefaultToProjectApp = "default_to_project_app", e.SmartSearch = "smart_search", e.PpeMonitoring = "ppe_monitoring", e))(Sr || {}), $r = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segmentation = "sam", e))($r || {}), Tr = /* @__PURE__ */ ((e) => (e[e.EverySecond = 60] = "EverySecond", e[e.Every2Seconds = 30] = "Every2Seconds", e[e.Every5Seconds = 12] = "Every5Seconds", e[e.Every10Seconds = 6] = "Every10Seconds", e[e.Every15Seconds = 4] = "Every15Seconds", e[e.Every30Seconds = 2] = "Every30Seconds", e[e.Every60Seconds = 1] = "Every60Seconds", e[e.Every5Minutes = 5] = "Every5Minutes", e[e.Every10Minutes = 10] = "Every10Minutes", e))(Tr || {}), br = /* @__PURE__ */ ((e) => (e[e.Infinity = -1] = "Infinity", e[e.Day = 1] = "Day", e[e.Week = 7] = "Week", e[e.Month = 30] = "Month", e[e.ThreeMonths = 90] = "ThreeMonths", e))(br || {}), kr = /* @__PURE__ */ ((e) => (e.On = "on", e.Off = "off", e.Paused = "paused", e.OnScheduled = "on-scheduled", e))(kr || {}), fr = /* @__PURE__ */ ((e) => (e[e.EverySecond = 1] = "EverySecond", e[e.Every5Seconds = 5] = "Every5Seconds", e[e.Every10Seconds = 10] = "Every10Seconds", e[e.Every15Seconds = 15] = "Every15Seconds", e[e.Every20Seconds = 20] = "Every20Seconds", e[e.Every30Second = 30] = "Every30Second", e[e.EveryMinute = 60] = "EveryMinute", e[e.Every5Minutes = 300] = "Every5Minutes", e[e.Every10Minutes = 600] = "Every10Minutes", e[e.Every15Minutes = 900] = "Every15Minutes", e[e.Every20Minutes = 1200] = "Every20Minutes", e[e.Every30Minutes = 1800] = "Every30Minutes", e[e.EveryHour = 3600] = "EveryHour", e[e.Every2Hours = 7200] = "Every2Hours", e[e.Every6Hours = 21600] = "Every6Hours", e[e.Every12Hours = 43200] = "Every12Hours", e[e.Every24Hours = 86400] = "Every24Hours", e))(fr || {}), wr = /* @__PURE__ */ ((e) => (e.None = "None", e.OpenVPN1 = "OpenVPN1", e.OpenVPN2 = "OpenVPN2", e.OpenVPN3 = "OpenVPN3", e.OpenVPN4 = "OpenVPN4", e.OpenVPN5 = "OpenVPN5", e.PPTP1 = "PPTP1", e.PPTP2 = "PPTP2", e.WireGuard1 = "WireGuard1", e.WireGuard2 = "WireGuard2", e.WireGuard3 = "WireGuard3", e.WireGuard4 = "WireGuard4", e.WireGuard5 = "WireGuard5", e.WireGuard6 = "WireGuard6", e.WireGuard7 = "WireGuard7", e.WireGuard8 = "WireGuard8", e.WireGuard9 = "WireGuard9", e.WireGuard10 = "WireGuard10", e))(wr || {}), Pr = /* @__PURE__ */ ((e) => (e.Gate = "gate", e.AnprContext = "anpr_context", e.ExclusionZone = "exclusion_zone", e.WorkflowArea = "workflow_area", e.SiteAnalytics = "site_analytics", e))(Pr || {}), Mr = /* @__PURE__ */ ((e) => (e.Polygon = "polygon", e.Line = "line", e.Direction = "direction", e.Rectangle = "rectangle", e.ROIBox = "ROIBox", e))(Mr || {}), Rr = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e.Bidirectional = "arrived,left", e))(Rr || {}), _r = /* @__PURE__ */ ((e) => (e.True = "true", e.False = "false", e))(_r || {}), Ur = /* @__PURE__ */ ((e) => (e.CameraExid = "cameraExid", e.Timestamp = "timestamp", e.FromDate = "fromDate", e.ToDate = "toDate", e.Live = "live", e.Video = "video", e.OverlayType = "overlayType", e.ShowOverlay = "showOverlay", e.ShowCompare = "showCompare", e.Sidebar = "sidebar", e.ThreeSixtyId = "_360Id", e.DroneId = "droneId", e.MediaId = "mediaId", e))(Ur || {}), Dr = /* @__PURE__ */ ((e) => (e.Show360 = "show360", e))(Dr || {}), Br = /* @__PURE__ */ ((e) => (e.ShowDrone = "showDrone", e))(Br || {}), jr = /* @__PURE__ */ ((e) => (e.ShowMedia = "showMedia", e))(jr || {}), Or = /* @__PURE__ */ ((e) => (e.ShowBim = "showBim", e))(Or || {}), vr = /* @__PURE__ */ ((e) => (e.ShowExNvrRecordings = "showExNvrRecordings", e))(vr || {}), Vr = /* @__PURE__ */ ((e) => (e.ShowAnpr = "showAnpr", e))(Vr || {}), xr = /* @__PURE__ */ ((e) => (e.ShowMobileCapture = "showMobileCapture", e))(xr || {}), Nr = /* @__PURE__ */ ((e) => (e.ShowComments = "showComments", e))(Nr || {}), Hr = /* @__PURE__ */ ((e) => (e.Mains = "mains", e.Battery = "battery", e.Solar = "solar", e.Generator = "generator", e.Other = "other", e))(Hr || {}), Gr = /* @__PURE__ */ ((e) => (e.Schedule = "schedule", e.FullTime = "24/7", e))(Gr || {}), zr = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(zr || {}), Wr = /* @__PURE__ */ ((e) => (e.Minimum = "minimum", e.Share = "minimal+share", e.Full = "full", e.Custom = "custom", e))(Wr || {}), Fr = /* @__PURE__ */ ((e) => (e.Share = "share", e.Request = "request", e))(Fr || {}), Lr = /* @__PURE__ */ ((e) => (e[e.Pending = -1] = "Pending", e[e.Cancelled = -2] = "Cancelled", e[e.Failed = -3] = "Failed", e[e.Used = 1] = "Used", e))(Lr || {}), Zr = /* @__PURE__ */ ((e) => (e.PublicDiscoverable = "publicDiscoverable", e.PublicUndiscoverable = "publicUndiscoverable", e.Private = "private", e))(Zr || {}), qr = /* @__PURE__ */ ((e) => (e.Cellular = "cellular", e.Gpson = "gpson", e.GPS = "gps", e.IPUnblock = "ipunblock", e.IOStatus = "iostatus", e.IOSet = "ioset", e.MonitoringStatus = "monitoring_status", e.MobileOn = "mobileon", e.MobileOff = "mobileoff", e.Reboot = "reboot", e.Restore = "restore", e.RmsOn = "rms_on", e.RmsConnect = "rms_connect", e.RmsStatus = "rms_status", e.SwitchSIM = "switch_sim", e.Status = "status", e.SshOn = "sshon", e.SshOff = "sshoff", e.Uci = "uci", e.VpnOn = "vpnon", e.VpnOff = "vpnoff", e.VpnStatus = "vpnstatus", e.WifiOn = "wifion", e.WifiOff = "wifioff", e.Wakeup = "wakeup", e.WebOn = "webon", e.WebOff = "weboff", e))(qr || {}), Xr = /* @__PURE__ */ ((e) => (e.Delivered = "Delivered", e.Accepted = "accepted", e.Pending = "Pending", e))(Xr || {}), Jr = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Done = "done", e))(Jr || {}), Qr = /* @__PURE__ */ ((e) => (e.OESTextureFloat = "OES_texture_float", e.EXTFloatBlend = "EXT_float_blend", e.EXTTextureFilterAnisotropic = "EXT_texture_filter_anisotropic", e.OESElementIndexUint = "OES_element_index_uint", e.WEBGLDebugRendererInfo = "WEBGL_debug_renderer_info", e))(Qr || {}), Yr = /* @__PURE__ */ ((e) => (e.FreeRotate = "freeRotate", e.Lock = "lock", e))(Yr || {}), Kr = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.Satellite = "Satellite", e.Street = "Street", e.GoogleSatellite = "hybrid", e.GoogleStreet = "roadmap", e.GoogleTerrain = "terrain", e))(Kr || {}), Ar = /* @__PURE__ */ ((e) => (e.CameraMarker = "cameraMarker", e.ThreeSixtyMarker = "threeSixtyMarkers", e))(Ar || {}), Er = /* @__PURE__ */ ((e) => (e.List = "list", e.Item = "item", e))(Er || {}), Cr = /* @__PURE__ */ ((e) => (e.Home = "/", e.Session = "/session", e))(Cr || {}), Ir = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Overlay = "overlay", e))(Ir || {}), yr = /* @__PURE__ */ ((e) => (e.Admin = "admin", e.User = "user", e))(yr || {}), ea = /* @__PURE__ */ ((e) => (e.Available = "Available", e.NotAvailable = "Not Available", e))(ea || {}), ra = /* @__PURE__ */ ((e) => (e.Recording = "recording", e.Failed = "failed", e.Stopped = "stopped", e))(ra || {}), aa = /* @__PURE__ */ ((e) => (e.CpuLoad = "cpu_load", e.RamUsage = "ram_usage", e))(aa || {}), ta = /* @__PURE__ */ ((e) => (e[e.Pending = 11] = "Pending", e[e.Completed = 5] = "Completed", e[e.Failed = 7] = "Failed", e))(ta || {}), sa = /* @__PURE__ */ ((e) => (e[e.ThirtySeconds = 30] = "ThirtySeconds", e[e.SixtySeconds = 60] = "SixtySeconds", e[e.NintySeconds = 90] = "NintySeconds", e))(sa || {}), ia = /* @__PURE__ */ ((e) => (e.Continuous = "continuous", e.WorkingHours = "workingHours", e.Custom = "custom", e))(ia || {}), oa = /* @__PURE__ */ ((e) => (e[e.Day = 1] = "Day", e[e.Week = 7] = "Week", e[e.Month = 30] = "Month", e.WholeProject = "whole_project", e.Custom = "custom", e))(oa || {}), na = /* @__PURE__ */ ((e) => (e.Hour = "hour", e.Day = "day", e.Week = "week", e.Month = "month", e.Year = "year", e.FullProject = "full_project", e))(na || {}), la = /* @__PURE__ */ ((e) => (e[e.Format = 1] = "Format", e[e.Effects = 2] = "Effects", e[e.Confirm = 3] = "Confirm", e[e.Finish = 4] = "Finish", e))(la || {}), ga = /* @__PURE__ */ ((e) => (e.CompanyAdmin = "company-admin", e.VideoWalls = "video-walls", e.MassCameraSharing = "mass-camera-sharing", e.Copilot = "copilot", e.ProjectSharing = "project-sharing", e))(ga || {}), ma = /* @__PURE__ */ ((e) => (e.HQ = "HQ", e.PM = "PM", e.QS = "QS", e.Marketing = "Marketing", e.HS = "H&S", e.DI = "DI", e.Other = "Other", e))(ma || {}), pa = /* @__PURE__ */ ((e) => (e.LiveView = "live", e.Video = "video", e.Image = "image", e))(pa || {}), ca = /* @__PURE__ */ ((e) => (e.WeatherStack = "weather_stack", e.XWeather = "xweather", e))(ca || {}), ua = /* @__PURE__ */ ((e) => (e.Recordings = "recordings", e.ThreeSixty = "360", e.Drone = "drone", e))(ua || {}), ha = /* @__PURE__ */ ((e) => (e.Info = "Info", e.Danger = "Danger", e.Restricted = "Restricted", e))(ha || {}), da = /* @__PURE__ */ ((e) => (e.Helmet = "helmet", e.HighVisibilityVest = "high-visibility-vest", e.SafetyGlasses = "safety-glasses", e.Person = "person", e.Man = "man", e.Woman = "woman", e))(da || {}), Sa = /* @__PURE__ */ ((e) => (e[e.Yolov10 = 1] = "Yolov10", e[e.Yolov11 = 2] = "Yolov11", e[e.Yolov112 = 3] = "Yolov112", e[e.GroundingDino = 4] = "GroundingDino", e[e.Owlv2 = 5] = "Owlv2", e))(Sa || {}), $a = /* @__PURE__ */ ((e) => (e.Imperial = "imperial", e.Metric = "metric", e))($a || {}), Ta = /* @__PURE__ */ ((e) => (e.Ios = "ios", e.Android = "android", e))(Ta || {}), ba = /* @__PURE__ */ ((e) => (e.Itwin = "itwin", e.Cesium = "cesium", e))(ba || {}), ka = /* @__PURE__ */ ((e) => (e.ThreeSixtyView = "360", e.BIMView = "bim", e.BimCompare = "bim-compare", e.GateReport = "gate-report", e.DroneView = "drone-view", e.Compare = "compare", e.Timeline = "timeline", e.WeatherReport = "weather-report", e))(ka || {}), Z = /* @__PURE__ */ ((e) => (e.Jpeg = "jpeg", e.Pdf = "pdf", e.Csv = "csv", e))(Z || {}), fa = /* @__PURE__ */ ((e) => (e.CopilotMessage = "copilot_message", e))(fa || {}), wa = /* @__PURE__ */ ((e) => (e.Year = "year", e.Month = "month", e.Week = "week", e.Day = "day", e.Hour = "hour", e.Minute = "minute", e.Events = "events", e))(wa || {}), Pa = /* @__PURE__ */ ((e) => (e.Idle = "idle", e.Loading = "loading", e.Success = "success", e.Error = "error", e))(Pa || {}), Ma = /* @__PURE__ */ ((e) => (e.Up = "up", e.Down = "down", e.Left = "left", e.Right = "right", e))(Ma || {}), Ra = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e))(Ra || {}), _a = /* @__PURE__ */ ((e) => (e.New = "new", e.Active = "active", e.Deployed = "deployed", e.Decommissioned = "decommissioned", e))(_a || {}), Ua = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.EMEA = "emea", e.LATAM = "latam", e.US = "na", e))(Ua || {}), Da = /* @__PURE__ */ ((e) => (e.NvrOffline = "nvr_offline", e.OfflineScheduled = "offline_scheduled", e.UnknownCamera = "unknown_camera", e.NotRecordingCamera = "not_recording_camera", e.FullSD = "full_sd", e.FullStorage = "full_storage", e.HddUnmounted = "hdd_unmounted", e.NoHdd = "no_hdd", e.MissingRouterInfo = "missing_router_info", e.AcFailure = "ac_failure", e.LowBattery = "low_battery", e))(Da || {}), Ba = /* @__PURE__ */ ((e) => (e.SolarCharger = "solar_charger", e.PanelPower = "panel_power", e))(Ba || {}), q = /* @__PURE__ */ ((e) => (e.Last15Minutes = "now-15m", e.Last1Hour = "now-1h", e.Last24Hours = "now-24h", e.Last7Days = "now-7d", e.Last30Days = "now-30d", e.Last90Days = "now-90d", e))(q || {}), ja = /* @__PURE__ */ ((e) => (e.SbcCpuLoad = "SbcCpuLoad", e.SbcSystemLoad5MnAvg = "SbcSystemLoad5MnAvg", e.SbcSystemLoad15MnAvg = "SbcSystemLoad15MnAvg", e.SbcRamUsed = "SbcRamUsed", e.SbcSwapUsed = "SbcSwapUsed", e.SbcRootFsUsed = "SbcRootFsUsed", e.SbcCpuCoresTotal = "SbcCpuCoresTotal", e.SbcRamTotal = "SbcRamTotal", e.SbcSwapTotal = "SbcSwapTotal", e.SbcRootFsTotal = "SbcRootFsTotal", e.SbcUptime = "SbcUptime", e.SbcCpuStats = "SbcCpuStats", e.SbcRamStats = "SbcRamStats", e.SbcNetworkStats = "SbcNetworkStats", e.SbcTimeSyncStats = "SbcTimeSyncStats", e.SbcTemperatureStats = "SbcTemperatureStats", e.SbcTimeSyncDriftStats = "SbcTimeSyncDriftStats", e.CameraInfo = "CameraInfo", e.CameraRecordingStateTimeline = "CameraRecordingStateTimeline", e.CameraStreamInfo = "CameraStreamInfo", e.LocalStorage = "LocalStorage", e.StorageSpaceUsed = "StorageSpaceUsed", e.RouterTemperature = "RouterTemperature", e.RouterCpuLoad = "RouterCpuLoad", e.RouterRamUsed = "RouterRamUsed", e.RouterSystemLoad5MnAvg = "RouterSystemLoad5MnAvg", e.RouterSwapTotal = "RouterSwapTotal", e.RouterRamTotal = "RouterRamTotal", e.RouterUptime = "RouterUptime", e.RouterCpuCoresTotal = "RouterCpuCoresTotal", e.RouterSignalReliability = "RouterSignalReliability", e.RouterSINR = "RouterSINR", e.RouterRSRP = "RouterRSRP", e.RouterRSRQ = "RouterRSRQ", e.RouterRSSI = "RouterRSSI", e.RouterSignalStrengthStats = "RouterSignalStrengthStats", e.RouterSignalQualityStats = "RouterSignalQualityStats", e.RouterDataConsumptionStats = "RouterDataConsumptionStats", e.BatteryVoltageAndCurrentStats = "BatteryVoltageAndCurrentStats", e.PanelVoltageAndPowerStats = "PanelVoltageAndPowerStats", e.ExNvrStatus = "ExNvrStatus", e.ExNvrVersion = "ExNvrVersion", e.ExNvrMemoryUsage = "ExNvrMemoryUsage", e.ExNvrLogs = "ExNvrLogs", e))(ja || {}), Oa = /* @__PURE__ */ ((e) => (e.Stat = "stat", e.Gauge = "gauge", e.Graph = "graph", e.Table = "table", e.StateTimeline = "state-timeline", e.Logs = "logs", e.TimeSeries = "timeseries", e.BarChart = "barchart", e))(Oa || {}), va = /* @__PURE__ */ ((e) => (e.Sata = "sata", e.Nvme = "nvme", e.Usb = "usb", e))(va || {}), Va = /* @__PURE__ */ ((e) => (e.VH_STATUS = "vh_status", e.CR_UPDATED = "cr_updated", e.CR_CREATED = "cr_created", e.ONLINE = "online", e.OFFLINE = "offline", e.ON_HOLD = "on_hold", e.WAITING = "waiting", e.DECOMMISSIONED = "decommissioned", e.UNDER_MAINTENANCE = "under_maintenance", e.WAITING_FOR_SITE_VISIT = "waiting_for_site_visit", e.SMS = "sms", e.CUSTOM = "custom", e.PUBLIC_NOTE = "public_note", e.SIM = "sim", e.LOGIN = "login", e.LOGOUT = "logout", e.CREATE = "create", e.UPDATE = "update", e.DELETE = "delete", e.DEVICE_SETTINGS = "device_settings", e.LINK_SIM_WITH_ROUTER = "link_sim_with_router", e.UNLINK_SIM_FROM_ROUTER = "unlink_sim_from_router", e.LINK_CAMERA_WITH_ROUTER = "link_camera_with_router", e.UNLINK_CAMERA_FROM_ROUTER = "unlink_camera_from_router", e.SHARE = "share", e.UPDATE_SHARE = "update_share", e.DELETE_SHARE = "delete_share", e.SHARE_REQUEST = "share_request", e.DELETE_SHARE_REQUEST = "delete_share_request", e.TRANSFER_OWNERSHIP = "transfer_ownership", e.BIM_NOTE = "bim_note", e.GATE_REPORT_NOTE = "gate_report_note", e))(Va || {}), xa = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Failed = "failed", e.Processing = "processing", e))(xa || {}), Na = /* @__PURE__ */ ((e) => (e.Cloud = "cloud", e.Local = "local", e.Timelapse = "timelapse", e))(Na || {}), Ha = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segments = "segments", e))(Ha || {}), Ga = /* @__PURE__ */ ((e) => (e.Condition = "condition", e.Object = "object", e.Area = "in_area", e.Time = "time", e.Operator = "operator", e.Camera = "camera", e.DateRange = "date_range", e))(Ga || {}), za = /* @__PURE__ */ ((e) => (e.InArea = "in_area", e.Intersects = "intersects", e.Time = "time", e))(za || {}), Wa = /* @__PURE__ */ ((e) => (e.Tracking = "tracking", e.Segments = "segments", e))(Wa || {}), Fa = /* @__PURE__ */ ((e) => (e.All = "all", e.FirstLastSeen = "first_last_seen", e))(Fa || {}), La = /* @__PURE__ */ ((e) => (e.And = "AND", e.Or = "OR", e))(La || {}), Za = /* @__PURE__ */ ((e) => (e.Near = "near", e.Far = "far", e.Intersects = "intersects", e.DoesNotIntersect = "does_not_intersect", e.Inside = "inside", e.Outside = "outside", e.DistanceBelow = "distance_below", e.DistanceAbove = "distance_above", e.Area = "in_area", e.Equal = "=", e))(Za || {}), qa = /* @__PURE__ */ ((e) => (e.Selection = "selection", e.Spatial = "spatial", e.Area = "area", e.Iou = "iou", e.Near = "near", e.Far = "far", e))(qa || {}), Xa = /* @__PURE__ */ ((e) => (e.Minute = "Minutes", e.Hour = "Hours", e.Day = "Days", e))(Xa || {}), Ja = /* @__PURE__ */ ((e) => (e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ja || {}), Qa = /* @__PURE__ */ ((e) => (e.DarkMode = "darkMode", e.Calendar = "calendar", e.HasDelay = "hasDelay", e.Delay = "delay", e.DelayUnit = "delayUnit", e.HasRange = "hasRange", e.DateRange = "dateRange", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Qa || {}), Ya = /* @__PURE__ */ ((e) => (e.Fullscreen = "fullscreen", e.Download = "download", e.Zoom = "zoom", e.Playpause = "playpause", e.Refresh = "refresh", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ya || {}), Ka = /* @__PURE__ */ ((e) => (e.Timeline = "timeline", e.Calendar = "calendar", e.DarkMode = "darkMode", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ka || {}), Aa = /* @__PURE__ */ ((e) => (e.Preset = "preset", e.RefreshRate = "refreshRate", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Aa || {}), Ea = /* @__PURE__ */ ((e) => (e.DateId = "dateId", e.DateLocked = "dateLocked", e.FloorId = "floorId", e.FloorLocked = "floorLocked", e.Marker = "markerId", e.MarkerLocked = "markerLocked", e.MediaLocked = "mediaLocked", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ea || {}), Ca = /* @__PURE__ */ ((e) => (e.LiveWidget = "Live View", e.Recording = "Recordings", e.BimCompare = "BIM Compare", e.VideoWall = "Video Wall", e.ThreeSixty = "360", e))(Ca || {});
9
- const Vt = {
1
+ var E = Object.defineProperty;
2
+ var A = (e, r, t) => r in e ? E(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
+ var O = (e, r, t) => A(e, typeof r != "symbol" ? r + "" : r, t);
4
+ import w from "axios";
5
+ import R from "humps";
6
+ var I = /* @__PURE__ */ ((e) => (e.Default = "Default", e))(I || {}), y = /* @__PURE__ */ ((e) => (e.DateId = "date_id", e.Date = "date", e.Floor = "floor", e.Marker = "marker", e.PolarAngle = "polarAngle", e.AzimuthAngle = "azimuthAngle", e))(y || {}), ee = /* @__PURE__ */ ((e) => (e.Video = "video", e.Image = "image", e.Model = "model", e.Route = "route", e.MobilePhoto = "mobile_photos", e.MobileAudio = "mobile_audios", e))(ee || {}), re = /* @__PURE__ */ ((e) => (e.Walks = "walks", e.MobilePhotos = "mobilePhotos", e))(re || {}), ae = /* @__PURE__ */ ((e) => (e.BIM = "BIM", e.Minimap = "Minimap", e.Minimodel = "Minimodel", e))(ae || {}), te = /* @__PURE__ */ ((e) => (e.Evercam = "Evercam", e.Matterport = "Matterport", e.OpenSpace = "Openspace", e.HoloBuilder = "Holobuilder", e.DroneDeploy = "Dronedeploy", e))(te || {}), oe = /* @__PURE__ */ ((e) => (e.Start = "#00e74c", e.End = "#fd7567", e.Default = "#2196F3", e))(oe || {}), se = /* @__PURE__ */ ((e) => (e.String = "STRING", e.Boolean = "BOOLEAN", e.Ratio = "RATIO", e.Integer = "INTEGER", e.Double = "DOUBLE", e.Long = "LONG", e.Date = "DATE", e.Complex = "COMPLEX", e.SingleLineText = "SINGLE_LINE_TEXT", e.MultiLineText = "MULTI_LINE_TEXT", e.SingleSelect = "SINGLE_SELECT", e.MultiSelect = "MULTI_SELECT", e.User = "USER", e.Number = "NUMBER", e))(se || {}), ie = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.Text = "TextField", e.DateTime = "DateTimeField", e.Switch = "SwitchField", e))(ie || {}), ne = /* @__PURE__ */ ((e) => (e.Mandatory = "MANDATORY", e.NotMandatory = "NOT_MANDATORY", e))(ne || {}), le = /* @__PURE__ */ ((e) => (e.DocumentNumber = "DocumentNumber", e.DocumentTypeId = "DocumentTypeId", e.Revision = "Revision", e.HasFile = "HasFile", e.AccessList = "AccessList", e.AsBuiltRequired = "AsBuiltRequired", e.Attribute1 = "Attribute1", e.Attribute2 = "Attribute2", e.Attribute3 = "Attribute3", e.Attribute4 = "Attribute4", e.Author = "Author", e.AuthorisedBy = "AuthorisedBy", e.Category = "Category", e.Check1 = "Check1", e.Check2 = "Check2", e.Comments = "Comments", e.Comments2 = "Comments2", e.ContractNumber = "ContractNumber", e.ContractDeliverable = "ContractDeliverable", e.ContractorDocumentNumber = "ContractorDocumentNumber", e.ContractorRev = "ContractorRev", e.Date1 = "Date1", e.Date2 = "Date2", e.DateApproved = "DateApproved", e.DateCreated = "DateCreated", e.DateForReview = "DateForReview", e.DateReviewed = "DateReviewed", e.Discipline = "Discipline", e.DocumentStatusId = "DocumentStatusId", e.MilestoneDate = "MilestoneDate", e.PackageNumber = "PackageNumber", e.PercentageComplete = "PercentageComplete", e.PlannedSubmissionDate = "PlannedSubmissionDate", e.PrintSize = "PrintSize", e.ProjectField1 = "ProjectField1", e.ProjectField2 = "ProjectField2", e.ProjectField3 = "ProjectField3", e.Reference = "Reference", e.RevisionDate = "RevisionDate", e.Scale = "Scale", e.SelectList1 = "SelectList1", e.SelectList2 = "SelectList2", e.SelectList3 = "SelectList3", e.SelectList4 = "SelectList4", e.SelectList5 = "SelectList5", e.SelectList6 = "SelectList6", e.SelectList7 = "SelectList7", e.SelectList8 = "SelectList8", e.SelectList9 = "SelectList9", e.SelectList10 = "SelectList10", e.TagNumber = "TagNumber", e.Title = "Title", e.ToClientDate = "ToClientDate", e.UploadDate = "UploadDate", e.UploadedBy = "UploadedBy", e.Vdrcode = "Vdrcode", e.VendorDocumentNumber = "VendorDocumentNumber", e.VendorRev = "VendorRev", e.AutoNumber = "AutoNumber", e))(le || {}), ge = /* @__PURE__ */ ((e) => (e.Timeline = "Timeline", e.Copilot = "Copilot", e.Recordings = "Recordings", e.Liveview = "LiveView", e.Compare = "Compare", e.BimCompare = "BimCompare", e.Sharing = "Sharing", e.Timelapse = "Timelapse", e.Project = "Project", e.AllProjects = "AllProjects", e.Tutorials = "Tutorials", e.SystemCheck = "SystemCheck", e.ProjectMapView = "ProjectMapView", e.AccountMapView = "AccountMapView", e.Automations = "Automations", e.ProgressPhotosUnsubscribe = "ProgressPhotosUnsubscribe", e.VideoWall = "VideoWall", e.ProjectSettings = "ProjectSettings", e.ProjectSettingsCameraSettings = "ProjectSettings-CameraSettings", e.ProjectSettingsMembers = "ProjectSettings-Members", e.ProjectSettingsOverview = "ProjectSettings-Overview", e.ProjectSettingsDangerZone = "ProjectSettings-DangerZone", e.Settings = "Settings", e.SettingsAccount = "Settings-Account", e.SettingsConnectors = "Settings-Connectors", e.MediaHub = "MediaHub", e.MediaOveriew = "MediaOveriew", e.GateReport = "GateReport", e.Bim = "Bim", e.Drone = "Drone", e.ThreeSixty = "360", e.Planner = "Planner", e.Widgets = "Widgets", e.Company = "Company", e.EmbeddedLive = "EmbeddedLive", e.EmbeddedRecordings = "EmbeddedRecordings", e.EmbeddedBimCompare = "EmbeddedBimCompare", e.GateReportInfo = "GateReportInfo", e.BimInfo = "BimInfo", e.DroneInfo = "DroneInfo", e.ThreeSixtyInfo = "360Info", e.BimCompareInfo = "BimCompareInfo", e.TimelineInfo = "TimelineInfo", e.WeatherReport = "WeatherReport", e.PpeReport = "PpeReport", e.SmartSearch = "SmartSearch", e.Drawings = "Drawings", e))(ge || {}), me = /* @__PURE__ */ ((e) => (e.PageView = "PageView", e.OpenCompanyPage = "OpenCompanyPage", e.OpenSettings = "OpenSettings", e.ToggleHelpDialog = "ToggleHelpDialog", e.LayoutToggleRightSidebar = "Layout-ToggleRightSidebar", e.LayoutResizeRightSidebar = "Layout-ResizeRightSidebar", e.LayoutThemeMode = "Layout-ThemeMode", e.Xray = "Xray-Toggle", e.Weather = "Weather-Toggle", e.MarkUpTool = "MarkUpTool-Toggle", e.Comment = "Comment-Toggle", e.Compare = "Compare-Toggle", e.Copilot = "Copilot-Toggle", e.DownloadMediaOpen = "DownloadMedia-Open", e.SettingsAccountUpdatePassword = "UpdatePassword", e.SettingsAccountUpdatePersonalInformation = "UpdatePersonalInformation", e.SettingsAccountRevokeSession = "RevokeSession", e.SettingsAccountCancelRevokeSession = "CancelRevokeSession", e.SettingsAccountClickRowsPerPage = "ClickRowsPerPage", e.SettingsAccountOpenDeleteAccountDialog = "DeleteAccount", e.SettingsConnectorsConnectToProcore = "ConnectToProcore", e.SettingsConnectorsConnectToAconex = "ConnectToAconex", e.SettingsConnectorsConnectToAutodesk = "ConnectToAutodesk", e.SettingsConnectorsConnectToVoyageControl = "ConnectToVoyageControl", e.SettingsConnectorsContactUsButtonClick = "ClickContactUs", e.SettingsConnectorsRemoveAconexConnection = "RemoveAconex", e.SettingsConnectorsRemoveAutodeskConnection = "RemoveAutodesk", e.SettingsConnectorsRemoveProcoreConnection = "RemoveProcore", e.SettingsConnectorsRemoveVoyageControlConnection = "RemoveVoyageControl", e.SettingsConnectorsToggleConnectorPromptDialog = "ToggleConnectorPromptDialog", e.SettingsConnectorsToggleVoyageControlDialog = "ToggleVoyageControlDialog", e.WidgetsSelectTypeThreeSixty = "Widgets-SelectType360", e.WidgetsSelectProject = "SelectProject", e.WidgetsSelect360Date = "Select360Date", e.WidgetsSelect360Floor = "Select360Floor", e.WidgetsSelect360Marker = "Select360Marker", e.Widgets360LockMedia = "360LockMedia", e.WidgetsPauseWidget = "PauseWidget", e.WidgetsEditWidget = "EditWidget", e.WidgetsOpenCredentials = "OpenCredentials", e.WidgetsCopyEmbeddedCode = "CopyEmbeddedCode", e.WidgetsCopyIFrameCode = "CopyIFrameCode", e.WidgetsCopyURLCode = "CopyURLCode", e.WidgetsDeleteWidget = "DeleteWidget", e.WidgetsAddWidgetClick = "AddWidget", e.WidgetsCancelClick = "Cancel", e.WidgetsEditHeight = "EditHeight", e.WidgetsEditHeightResolutionType = "EditHeightResolutionType", e.WidgetsEditWidth = "EditWidth", e.WidgetsEditWidthResolutionType = "EditWidthResolutionType", e.WidgetsLayout = "ClickLayout", e.WidgetsSaveClick = "Save", e.WidgetsSelectCamera = "SelectCamera", e.WidgetsSelectTypeBIMCompare = "SelectTypeBIMCompare", e.WidgetsSelectTypeLiveView = "SelectTypeLiveView", e.WidgetsSelectTypeRecordings = "SelectTypeRecordings", e.WidgetsSelectTypeVideoWall = "SelectTypeVideoWall", e.WidgetsSettingRefreshRate = "EditRefreshRate", e.WidgetsSettingRestrictRecentImagesInput = "EditRestrictRecentImagesInput", e.WidgetsSettingToggleBIMCompareDarkMode = "ToggleBIMDarkMode", e.WidgetsSettingToggleBIMCompareTimeLine = "ToggleBIMTimeline", e.WidgetsSettingToggleBIMCompareCalendar = "ToggleBIMCalendar", e.WidgetsSettingToggleDownload = "ToggleDownload", e.WidgetsSettingToggleFullScreen = "ToggleFullScreen", e.WidgetsSettingTogglePlayPause = "TogglePlayPause", e.WidgetsSettingToggleRecordingsCalendar = "ToggleRecordingsCalendar", e.WidgetsSettingToggleRecordingsDarkMode = "ToggleRecordingsDarkMode", e.WidgetsSettingToggleRestrictRecentImages = "ToggleRestrictRecentImages", e.WidgetsSettingToggleZoom = "ToggleZoom", e.WidgetsTogglePublicWidget = "TogglePublicWidget", e.WidgetsToggleRestrictRecordingsRange = "ToggleRestrictRecordingsRange", e.PlayerSelectCamera = "Player-SelectCamera", e.PlayerDownload = "Player-Download", e.PlayerToggleFullscreen = "Player-ToggleFullscreen", e.PlayerEnableLive = "Player-EnableLive", e.PlayerTogglePlayback = "Player-TogglePlayback", e.PlayerSelectSpeed = "Player-SelectSpeed", e.PlayerSelectQuality = "Player-SelectQuality", e.PlayerJumptoNextTicks = "Player-JumptoNextTicks", e.PlayerJumptoPreviousTicks = "Player-JumptoPreviousTicks", e.PlayerSwitchMode = "Player-SwitchMode", e.PlayerZoomIn = "Player-ZoomIn", e.PlayerZoomOut = "Player-ZoomOut", e.PTZAddPresetClick = "PTZ-AddPresetClick", e.PTZCreatePreset = "PTZ-CreatePreset", e.PTZUpdatePreset = "PTZ-UpdatePreset", e.PTZDeletePreset = "PTZ-DeletePreset", e.PTZMoveDown = "PTZ-MoveDown", e.PTZMoveLeft = "PTZ-MoveLeft", e.PTZMoveRight = "PTZ-MoveRight", e.PTZMoveUp = "PTZ-MoveUp", e.PTZPresetSelect = "PTZ-PresetSelect", e.PTZResetPosition = "PTZ-ResetPosition", e.PTZToggleCreatePresetForm = "PTZ-ToggleCreatePresetForm", e.PTZToggleDeletePresetDialog = "PTZ-ToggleDeletePresetDialog", e.PTZToggleEditPresetForm = "PTZ-ToggleEditPresetForm", e.PTZTogglePresetsMenu = "PTZ-TogglePresetsMenu", e.PTZZoomIn = "PTZ-ZoomIn", e.PTZZoomOut = "PTZ-ZoomOut", e.TimelineClickEvent = "Timeline-ClickEvent", e.TimelineCompareMoveBeforeMarker = "Compare-MoveBeforeMarker", e.TimelineCompareMoveAfterMarker = "Compare-MoveAfterMarker", e.TimelineCompareSlide = "Compare-Slide", e.TimelineSelectMilestoneItem = "Timeline-SelectMilestoneItem", e.TimelineSelectTimestamp = "Timeline-SelectTimestamp", e.CopilotSendMessage = "Copilot-SendMessage", e.CopilotClickTimestamp = "Copilot-ClickTimestamp", e.CopilotRegenerate = "Copilot-Regenerate", e.CopilotError = "Copilot-Error", e.CopilotNavigation = "Copilot-Navigation", e.CopilotToggle = "Copilot-Toggle", e.GroupsVisibilityMobileCapture = "GroupsVisibility-MobileCapture", e.GroupsVisibilityAnpr = "GroupsVisibility-Anpr", e.GroupsVisibilityComments = "GroupsVisibility-Comments", e.GroupsVisibilityMediaHub = "GroupsVisibility-MediaHub", e.GroupsVisibilityBimMilestones = "GroupsVisibility-BimMilestines", e.GroupsVisibilityDroneFlights = "GroupsVisibility-DroneFlights", e.GroupsVisibility360Walks = "GroupsVisibility-360Walks", e.GroupsVisibilityExNvrVideoRecordings = "GroupsVisibility-ExNvrVideoRecordings", e.GroupsVisibilityLuminance = "GroupsVisibility-Luminance", e.CommentsPlaceMarker = "Comments-PlaceMarker", e.CommentsSave = "Comments-Save", e.CommentsCancelSave = "Comments-CancelSave", e.CommentsRemove = "Comments-Remove", e.CommentsCancelRemove = "Comments-CancelRemove", e.CommentsArchive = "Comments-Archive", e.CommentsCancelArchive = "Comments-CancelArchive", e.CommentsSelect = "Comments-Select", e.XrayMove = "Xray-Move", e.XrayMoveBeforeMarker = "Xray-MoveBeforeMarker", e.XrayMoveAfterMarker = "Xray-MoveAfterMarker", e.XrayToggleExportDialog = "Xray-ToggleExportDialog", e.XrayDownload = "Xray-Download", e.XraySaveToMediaHub = "Xray-SaveToMediaHub", e.XarySelectDate = "Xray-SelectDate", e.XarySelectLatestDate = "Xray-SelectLatestDate", e.XarySelectOldestDate = "Xray-SelectOldestDate", e.XraySendToConnector = "Xray-SendToConnector", e.XraySendToConnectorSent = "Xray-SendToConnector-Sent", e.XraySendToConnectorProcore = "Xray-SendToConnector-Procore", e.XraySendToConnectorProcorePhotos = "Xray-SendToConnector-Procore-Photos", e.XraySendToConnectorProcoreObservations = "Xray-SendToConnector-Procore-Observations", e.XraySendToConnectorAconex = "Xray-SendToConnector-Aconex", e.XraySendToConnectorAutodesk = "Xray-SendToConnector-Autodesk", e.WeatherGoBackDate = "Weather-GoBackDate", e.WeatherGoForwardDate = "Weather-GoForwardDate", e.WeatherReportExportFile = "ExportFile", e.WeatherReportExportType = "ExportType", e.WeatherReportMediaHubUploadFile = "MediaHubUploadFile", e.WeatherReportSelectStartDate = "SelectStartDate", e.WeatherReportSelectEndDate = "SelectEndDate", e.WeatherReportViewChart = "ViewChart", e.WeatherSelectDate = "Weather-SelectDate", e.WeatherSelectLegend = "Weather-SelectLegend", e.WeatherSelectProvider = "Weather-SelectProvider", e.WeatherSelectTempScale = "Weather-SelectTempScale", e.CompareSlide = "Slide", e.CompareSelectBeforeDate = "SelectBeforeDate", e.CompareSelectBeforeLatestDate = "SelectBeforeLatestDate", e.CompareSelectBeforeOldestDate = "SelectBeforeOldestDate", e.CompareSelectAfterDate = "SelectAfterDate", e.CompareSelectAfterOldestDate = "SelectAfterOldestDate", e.CompareSelectAfterLatestDate = "SelectAfterLatestDate", e.CompareToggleExportDialog = "ToggleExportDialog", e.CompareSaveToMediaHub = "SaveToMediaHub", e.CompareGoToMediaHub = "GoToMediaHub", e.CompareDownloadAs = "DownloadAs", e.CompareCopyDownloadFileUrl = "CopyDownloadFileUrl", e.BimCompareSlide = "BimCompare-Slide", e.BimCompareSelectCameraDate = "BimCompare-SelectCameraDate", e.BimCompareSelectCameraLatestDate = "BimCompare-SelectCameraLatestDate", e.BimCompareSelectCameraOldestDate = "BimCompare-SelectCameraOldestDate", e.BimCompareSelectBimDate = "BimCompare-SelectBimDate", e.BimCompareSelectBimOldestDate = "BimCompare-SelectBimOldestDate", e.BimCompareSelectBimLatestDate = "BimCompare-SelectBimLatestDate", e.BimCompareSelectModel = "BimCompare-SelectModel", e.BimCompareChangeTransparency = "BimCompare-ChangeTransparency", e.BimCompareSelectTimelineDate = "BimCompare-SelectTimelineDate", e.BimCompareToggleExportDialog = "BimCompare-ToggleExportDialog", e.BimCompareSaveToMediaHub = "BimCompare-SaveToMediaHub", e.BimCompareGoToMediaHub = "BimCompare-GoToMediaHub", e.BimCompareDownloadAs = "BimCompare-DownloadAs", e.BimCompareCopyDownloadFileUrl = "BimCompare-CopyDownloadFileUrl", e.MarkUpToolClose = "MarkUpTool-Close", e.MarkUpToolCopyImage = "MarkUpTool-CopyImage", e.MarkUpToolOpen = "MarkUpTool-Open", e.MarkUpToolSelectTool = "MarkUpTool-SelectTool", e.MarkUpToolSelectBlur = "MarkUpTool-SelectBlur", e.MarkUpToolSelectCrop = "MarkUpTool-SelectCrop", e.MarkUpToolSelectLine = "MarkUpTool-SelectLine", e.MarkUpToolSelectBrush = "MarkUpTool-SelectBrush", e.MarkUpToolSelectRectangle = "MarkUpTool-SelectRectangle", e.MarkUpToolSelectCircle = "MarkUpTool-SelectCircle", e.MarkUpToolSelectArrow = "MarkUpTool-SelectArrow", e.MarkUpToolSelectText = "MarkUpTool-SelectText", e.MarkUpToolUndo = "MarkUpTool-Undo", e.MarkUpToolRedo = "MarkUpTool-Redo", e.MarkUpToolSelectColor = "MarkUpTool-SelectColor", e.MarkUpToolApplyCrop = "MarkUpTool-ApplyCrop", e.MarkUpToolCancelCrop = "MarkUpTool-CancelCrop", e.MarkUpToolCancelSend = "MarkUpTool-CancelSend", e.MarkUpToolOpenEditName = "MarkUpTool-OpenEditName", e.MarkUpToolCancelEditName = "MarkUpTool-CancelEditName", e.MarkUpToolSaveEditedName = "MarkUpTool-SaveEditedName", e.MarkUpToolSaveToMediaHub = "MarkUpTool-SaveToMediaHub", e.MarkUpToolDownloadAs = "MarkUpTool-DownloadAs", e.MarkUpToolSendToConnector = "MarkUpTool-SendToConnector", e.MarkUpToolSendToConnectorSent = "MarkUpTool-SendToConnector-Sent", e.MarkUpToolSendToConnectorProcore = "MarkUpTool-SendToConnector-Procore", e.MarkUpToolSendToConnectorProcorePhotos = "MarkUpTool-SendToConnector-Procore-Photos", e.MarkUpToolSendToConnectorProcoreObservations = "MarkUpTool-SendToConnector-Procore-Observations", e.MarkUpToolSendToConnectorAconex = "MarkUpTool-SendToConnector-Aconex", e.MarkUpToolSendToConnectorAutodesk = "MarkUpTool-SendToConnector-Autodesk", e.MarkUpToolSendViaEmail = "MarkUpTool-SendViaEmail", e.MarkUpToolSendViaEmailSent = "MarkUpTool-SendViaEmail-Sent", e.RecordingsCancelExportDialog = "CancelExportDialog", e.RecordingsClickSupportLink = "ClickSupportLink", e.RecordingsCreateClip = "CreateClip", e.RecordingsToggleExportDialog = "ToggleExportDialog", e.RecordingToggleGateReportEvents = "ToggleGateReportEvents", e.RecordingsSelectDate = "SelectDate", e.RecordingsSelectDateClickMonthYear = "SelectDate-ClickMonthYear", e.RecordingsSelectLatestDate = "SelectLatestDate", e.RecordingsSelectOldestDate = "SelectOldestDate", e.SharingToggleAddUserDialog = "ToggleAddUserDialog", e.SharingToggleEditVisibilityOptionsDialog = "ToggleEditVisibilityOptionsDialog", e.SharingAddUser = "AddUser", e.SharingToggleDeleteUserDialog = "ToggleDeleteUserDialog", e.SharingDeleteUser = "DeleteUser", e.SharingSaveVisibilityOptions = "SaveVisibilityOptions", e.SharingCopyLink = "CopyLink", e.SharingResendInvite = "ResendInvite", e.SharingTransferOwnership = "TransferOwnership", e.SharingSortBy = "SortBy", e.SharingChangeAccessRight = "ChangeAccessRight", e.ThreeSixtyGallery = "Gallery", e.ThreeSixtyChangeDate = "ChangeDate", e.ThreeSixtyChangeFloor = "ChangeFloor", e.ThreeSixtyCloseCompare = "CloseCompare", e.ThreeSixtyCloseForgeBIM = "CloseForgeBIM", e.ThreeSixtyDeleteComment = "DeleteComment", e.ThreeSixtyDisableMeasuringTool = "DisableMeasuringTool", e.ThreeSixtyDisableCommnetTool = "DisableCommentTool", e.ThreeSixtyEnableMeasuringTool = "EnableMeasuringTool", e.ThreeSixtyEnableCommentTool = "EnableCommentTool", e.ThreeSixtyLockCompare = "LockCompare", e.ThreeSixtyLockForgeBIM = "LockForgeBIM", e.ThreeSixtyMarkerThumbnailClicked = "MarkerThumbnailClicked", e.ThreeSixtyMiniMapMarkerClicked = "MiniMapMarkerClicked", e.ThreeSixtyOpen = "Open", e.ThreeSixtyOpenCompare = "OpenCompare", e.ThreeSixtyOpenForgeBIM = "OpenForgeBIM", e.ThreeSixtyOpenMarkersThumbnailsList = "OpenMarkersThumbnailsList", e.ThreeSixtyOpenCommentsList = "OpenCommentsList", e.ThreeSixtyGalleryEditWalkName = "Gallery-EditWalkName", e.ThreeSixtySaveComment = "SaveComment", e.ThreeSixtyUnarchiveComment = "UnarchiveComment", e.ThreeSixtyArchiveComment = "ArchiveComment", e.ThreeSixtyShareView = "ShareView", e.ThreeSixtyCommentClicked = "CommentClicked", e.ThreeSixtyToggleMarkersVisibility = "ToggleMarkersVisibility", e.ThreeSixtyToggleMinimapVisibility = "ToggleMinimapVisibility", e.ThreeSixtyToggleMiniModel = "ToggleMiniModel", e.ThreeSixtyToggleCommentsVisibility = "ToggleCommentsVisibility", e.ThreeSixtyTourPause = "Tour-Pause", e.ThreeSixtyTourPlay = "Tour-Play", e.ThreeSixtyTourSetSpeedXHalve = "Tour-SetSpeedX0.5", e.ThreeSixtyTourSetSpeedX1 = "Tour-SetSpeedX1", e.ThreeSixtyTourSetSpeedX2 = "Tour-SetSpeedX2", e.ThreeSixtyTourSetSpeedX4 = "Tour-SetSpeedX4", e.ThreeSixtyTourToggleLoop = "Tour-ToggleLoop", e.ThreeSixtyUnlockCompare = "UnlockCompare", e.ThreeSixtyUnlockForgeBIM = "UnlockForgeBIM", e.ThreeSixtyUploadAssets = "UploadAssets", e.DroneAreaToolClick = "AreaTool-Click", e.DroneChangeDate = "ChangeDate", e.DroneChooseCommentType = "ChooseCommentType", e.DroneClickCameraLiveView = "ClickCameraLiveView", e.DroneClickCameraMarker = "ClickCameraMarker", e.DroneCompareToolClick = "CompareTool-Click", e.DroneCompareToolSaveToMediaHub = "CompareToolSaveToMediaHub", e.DroneCompareToolSliderMove = "CompareTool-SliderMove", e.DroneCompareToolToggleExportDialog = "CompareToolToggleExportDialog", e.DroneCopyLocationToClipboard = "CopyLocationToClipboard", e.DroneEnable2DImagery = "Enable2DImagery", e.DroneGenerateUploadFlight = "GenerateUploadFlight", e.DroneInspectionToolClick = "InspectionTool-Click", e.DroneMeasuringToolClick = "MeasuringTool-Click", e.DroneOpenHelpPanel = "OpenHelpPanel", e.DroneOpenImageViewer = "OpenImageViewer", e.DroneResetView = "ResetView", e.DroneSettingsToggle360PathsVisibility = "Settings-Toggle360PathsVisibility", e.DroneSettingsToggleCameraMarkersVisibility = "Settings-ToggleCameraMarkersVisibility", e.DroneSettingsToggleSurroundingBuildingsTool = "Settings-ToggleSurroundingBuildingsTool", e.DroneSettingsToggleCommentsVisibility = "Settings-ToggleCommentsVisibility", e.DroneSettingsToggleAerialShotsVisibility = "Settings-ToggleAerialShotsVisibility", e.DroneSettingsOpenCommentsList = "Settings-OpenCommentsList", e.DroneShareLink = "ShareLink", e.DroneCommentsToolClick = "CommentsTool-Click", e.DroneToggleBimCompareTool = "ToggleBimCompareTool", e.DroneToggleFullScreen = "ToggleFullScreen", e.DroneToggleMapStyle = "ToggleMapStyle", e.DroneTogglePointCloud = "TogglePointCloud", e.DroneToggleGaussianSplat = "ToggleGaussianSplat", e.DroneToggleQualityMode = "ChooseQuality", e.DroneToggleSideMenu = "ToggleSideMenu", e.DroneToggleImageryPlan = "ToggleImageryPlan", e.DroneToggleSceneMode = "ToggleSceneMode", e.DroneUploadFlight = "UploadFlight", e.DroneViewLocationInGoogleMaps = "ViewLocationInGoogleMaps", e.DroneVolumeToolClick = "VolumeTool-Click", e.DroneZoomIn = "ZoomIn", e.DroneZoomOut = "ZoomOut", e.DroneUploadSkipping = "SkipImageUpload", e.DroneSaveComment = "SaveComment", e.DroneUnarchiveComment = "UnarchiveComment", e.DroneArchiveComment = "ArchiveComment", e.DroneDeleteComment = "DeleteComment", e.DroneSaveAerialShot = "SaveAerialShot", e.PlannerAddCameraClick = "AddCameraClick", e.PlannerAddSitePlanDrawingClick = "AddSitePlanDrawingClick", e.PlannerAddSitePlanClick = "AddSitePlanClick", e.PlannerAttachSitePlanDrawing = "AttachSitePlanDrawing", e.PlannerCameraMarkerEditFOVAngle = "CameraMarker-EditFOVAngle", e.PlannerCameraMarkerEditHeading = "CameraMarker-EditHeading", e.PlannerCameraMarkerEditName = "CameraMarker-EditName", e.PlannerCameraMarkerEditRadius = "CameraMarker-EditRadius", e.PlannerCameraMarkerSelectColor = "CameraMarker-SelectColor", e.PlannerCameraMarkerToggleVisibility = "CameraMarker-ToggleVisibility", e.PlannerCameraMarkerToggleDeleteDialog = "CameraMarker-ToggleDeleteDialog", e.PlannerCancelUploadSitePlanDrawing = "CancelUploadSitePlanDrawing", e.PlannerChangeLocation = "ChangeLocation", e.PlannerOpen = "Open", e.PlannerResetView = "ResetView", e.PlannerSitePlansList = "SitePlansList", e.PlannerToggleCamerasLabel = "ToggleCamerasLabel", e.PlannerToggleFullscreen = "ToggleFullscreen", e.PlannerToggleMapStyle = "ToggleMapStyle", e.PlannerToggleSaveSessionDialog = "ToggleSaveSessionDialog", e.PlannerUploadSitePlanDrawing = "UploadSitePlanDrawing", e.PlannerZoomIn = "ZoomIn", e.PlannerZoomOut = "ZoomOut", e.DrawingCreateSave = "CreateSave", e.DrawingUpdateSave = "UpdateSave", e.DrawingEditName = "EditName", e.DrawingUpdateName = "UpdateName", e.DrawingToggleSaveDialog = "ToggleSaveDialog", e.DrawingClickHome = "ClickHome", e.DrawingsUploadDrawing = "UploadDrawing", e.DrawingsCreateDrawing = "CreateDrawing", e.DrawingToggleMapStyle = "ToggleMapStyle", e.DrawingToggleMapLabels = "ToggleMapLabels", e.DrawingToggleCamerasLabels = "ToggleCamerasLabels", e.DrawingToggleCamerasVisibility = "ToggleCamerasVisibility", e.DrawingToggleTransparencyMode = "ToggleTransparencyMode", e.DrawingChooseDrawing = "ChooseDrawing", e.DrawingChangeLocation = "ChangeLocation", e.DrawingFilterDateRange = "FilterDateRange", e.DrawingFilterDrawingName = "FilterDrawingName", e.DrawingFilterCreatedBy = "FilterCreatedBy", e.DrawingFilterMapStyle = "FilterMapStyle", e.DrawingToggleRotate = "ToggleRotate", e.DrawingToggleScale = "ToggleScale", e.DrawingOpenExistingDrawing = "OpenExistingDrawing", e.MarkerClicked = "MarkerClicked", e.MarkerSelected = "MarkerSelected", e.TimelapseSelectCustomPeriod = "SelectCustomPeriod", e.TimelapseToggleCustomScheduleDialog = "ToggleCustomScheduleDialog", e.TimelapseSaveCustomSchedule = "SaveCustomSchedule", e.TimelapseToggleExportDialog = "ToggleExportDialog", e.TimelapseExportSelectStep = "SelectStep", e.TimelapseSelectOption = "SelectOption", e.TimelapseSelectSchedule = "SelectSchedule", e.TimelapseSaveToMediaHub = "SaveToMediaHub", e.TimelapseGoToMediaHub = "GoToMediaHub", e.TimelapseToggleUploadLogoDialog = "ToggleUploadLogoDialog", e.TimelapseUploadLogo = "UploadLogo", e.MapViewChooseSatellite = "MapView-ChooseSatellite", e.MapViewChooseTerrain = "MapView-ChooseMap", e.MapViewClickCameraLink = "MapView-ClickCameraLink", e.MapViewToggleCameraMapInfoTooltip = "MapView-ToggleCameraMapInfoTooltip", e.VideoWallToggleFullscreen = "VideoWall-ToggleFullscreen", e.VideoWallToggleCameraFullscreen = "VideoWall-ToggleCameraFullscreen", e.VideoWallToggleConfigDialog = "VideoWall-ToggleConfigDialog", e.VideoWallToggleCameraVisibility = "VideoWall-ToggleCameraVisibility", e.VideoWallPositionCameraOnWall = "VideoWall-PositionCameraOnWall", e.VideoWallSaveConfig = "VideoWall-SaveConfig", e.ProjectSettingsCameraSettingsCancelEditCameraName = "CancelEditCameraName", e.ProjectSettingsCameraSettingsEditCameraName = "EditCameraName", e.ProjectSettingsCameraSettingsEditCameraVisibility = "EditCameraVisibility", e.ProjectSettingsCameraSettingsSaveCameraName = "SaveCameraName", e.ProjectSettingsMembersApplyCamerasFilter = "ApplyCamerasFilter", e.ProjectSettingsMembersApplySearchFilter = "ApplySearchFilter", e.ProjectSettingsMembersViewRoleInfo = "ViewRoleInfo", e.ProjectSettingsMembersViewMemberInfo = "ViewMemberInfo", e.ProjectSettingsMembersBulkRemove = "BulkRemove", e.ProjectSettingsMembersInviteSent = "InviteSent", e.ProjectSettingsMembersRejectInvite = "RejectInvite", e.ProjectSettingsMembersAddMember = "AddMember", e.ProjectSettingsMembersBulkRoleUpdate = "BulkRoleUpdate", e.ProjectSettingsMembersDeleteCameraAccess = "DeleteCameraAccess", e.ProjectSettingsMembersEditCameraAccess = "EditCameraAccess", e.ProjectSettingsMembersShareCamera = "ShareCamera", e.ProjectSettingsMembersToggleAddDialog = "ToggleAddDialog", e.ProjectSettingsOverviewOpenInMapView = "OpenInMapView", e.ProjectSettingsOverviewCloseUpdateThumbnailDialog = "CloseUpdateThumbnailDialog", e.ProjectSettingsOverviewOpenUpdateThumbnailDialog = "UpdateThumbnailClicked", e.ProjectSettingsOverviewUploadNewThumbnail = "UploadNewThumbnail", e.ProjectSettingsOverviewUpdateThumbnail = "UpdateThumbnail", e.MediaHubSelectFilter = "SelectFilter", e.MediaHubApplyFilters = "ApplyFilters", e.MediaHubToggleAddMediaUrlDialog = "ToggleAddMediaUrlDialog", e.MediaHubToggleUploadFileDialog = "ToggleUploadFileDialog", e.MediaHubToggleUploadLocalClipDialog = "ToggleUploadLocalClipDialog", e.MediaHubSaveMediaUrl = "SaveMediaUrl", e.MediaHubUploadFile = "UploadFile", e.MediaHubSelectPage = "SelectPage", e.MediaHubGoToNextPage = "GoToNextPage", e.MediaHubGoToPreviousPage = "GoToPreviousPage", e.MediaDelete = "Media-Delete", e.MediaToggleTitleEditing = "Media-ToggleTitleEditing", e.MediaSaveTitle = "Media-SaveTitle", e.MediaDownloadAs = "Media-DownloadAs", e.MediaTogglePublicVisibility = "Media-TogglePublicVisibility", e.MediaShareToPlatform = "Media-ShareToPlatform", e.MediaCopyMediaLink = "Media-CopyMediaLink", e.MediaGoToMediaHub = "Media-GoBackToMediaHub", e.GateReportCalendarTreeDateClick = "CalendarTree-DateClick", e.GateReportFilterEntryExit = "FilterEntryExit", e.GateReportFilterPlateNumber = "FilterPlateNumber", e.GateReportFilterVehicleTypes = "FilterVehicleTypes", e.GateReportOpenVehicleTypeInfo = "OpenVehicleTypeInfo", e.GateReportTimelineDateClick = "Timeline-DateClick", e.GateReportToggleThumbnails = "ToggleThumbnails", e.PpeTimelineDateClick = "PpeTimeline-DateClick", e.HelpMenuToggleMenuButton = "HelpMenu-ToggleMenuButton", e.HelpMenuOpenProjectContactsDialog = "HelpMenu-OpenProjectContactsDialog", e.HelpMenuOpenLiveChat = "HelpMenu-OpenLiveChat", e.HelpMenuClickTutorialsLink = "HelpMenu-ClickTutorialsLink", e.HelpMenuClickWhatsNewLink = "HelpMenu-ClickWhatsNewLink", e.HelpMenuClickUserManuaLink = "HelpMenu-ClickUserManuaLink", e.HelpMenuClickSupportTicketsLink = "HelpMenu-ClickSupportTicketsLink", e.HelpMenuClickSystemCheckLink = "HelpMenu-ClickSystemCheckLink", e.Recording = "Recording", e.CameraFilter = "CameraFilter", e.MissingEquipmentHardHat = "MissingEquipment-HardHat", e.MissingEquipmentHighVisibilityVest = "MissingEquipment-HighVisibilityVest", e.MissingEquipmentSafetyGlasses = "MissingEquipment-SafetyGlasses", e.MissingEquipmentSafetyGloves = "MissingEquipment-SafteyGLoves", e.ExportAs = "ExportAs", e.ExportPdf = "ExportPdf", e.ExportCsv = "ExportCsv", e.FilterCameras = "FilterCameras", e.ProgressPhotoCancelPause = "ProgressPhoto-CancelPause", e.ProgressPhotoCancelResume = "ProgressPhoto-CancelResume", e.ProgressPhotoCancelDelete = "ProgressPhoto-CancelDelete", e.ProgressPhotoCreate = "ProgressPhoto-Create", e.ProgressPhotoDelete = "ProgressPhoto-Delete", e.ProgressPhotoEdit = "ProgressPhoto-Edit", e.ProgressPhotoPause = "ProgressPhoto-Pause", e.ProgressPhotoResume = "ProgressPhoto-Resume", e.ProgressPhotoResumeDelete = "ProgressPhoto-ResumeDelete", e.ProgressPhotoSelectType = "ProgressPhoto-SelectType", e.ProgressPhotoSelectCameras = "ProgressPhoto-SelectCameras", e.ProgressPhotoToggleSelectAllOnlineCameras = "ProgressPhoto-ToggleSelectAllOnlineCameras", e.ProgressPhotoToggleSelectAllCameras = "ProgressPhoto-ToggleSelectAllCameras", e.ProgressPhotoClearAllCameras = "ProgressPhoto-ClearAllCameras", e.ProgressPhotoEditCamerasSearchFilter = "ProgressPhoto-EditCamerasSearchFilter", e.ProgressPhotoSelectDays = "ProgressPhoto-SelectDays", e.ProgressPhotoSelectMember = "ProgressPhoto-SelectMember", e.ProgressPhotoSelectProvider = "ProgressPhoto-SelectProvider", e.ProgressPhotoSelectTime = "ProgressPhoto-SelectTime", e.ProgressPhotoSelectTimezone = "ProgressPhoto-SelectTimezone", e.ProgressPhotoUnsubscribeUser = "ProgressPhoto-UnsubscribeUser", e.CompareSelectProvider = "Compare-SelectProvider", e.CompareSelectCameras = "Compare-SelectCameras", e.CompareEdit = "Compare-Edit", e.CompareSelectTimezone = "Compare-SelectTimezone", e.CompareSelectMember = "Compare-SelectMember", e.CompareToggleSelectAllOnlineCameras = "Compare-ToggleSelectAllOnlineCameras", e.CompareToggleSelectAllCameras = "Compare-ToggleSelectAllCameras", e.CompareClearAllCameras = "Compare-ClearAllCameras", e.CompareEditCamerasSearchFilter = "Compare-EditCamerasSearchFilter", e.CompareSelectType = "Compare-SelectType", e.CompareCreate = "Compare-Create", e.AutomationsEditSearchFilter = "EditSearchFilter", e.AutomationsEditStatusFilter = "EditStatusFilter", e.AutomationsEditUsersFilter = "EditUsersFilter", e.AutomationsEditDaysFilter = "EditDaysFilter", e.AutomationsEditCamerasFilter = "EditCamerasFilter", e.AutomationToggleEditDialog = "ToggleEditDialog", e.AutomationToggleCreateDialog = "ToggleCreateDialog", e.AutomationTypeName = "TypeName", e.GateReportSelectType = "GateReport-SelectType", e.GateReportToggleSelectAllCameras = "GateReport-ToggleSelectAllCameras", e.GateReportToggleSelectAllOnlineCameras = "GateReport-ToggleSelectAllOnlineCameras", e.GateReportToggleClearAllCameras = "GateReport-ClearAllCameras", e.GateReportEditCamerasSearchFilter = "GateReport-EditCamerasSearchFilter", e.GateReportSelectDays = "GateReport-SelectDays", e.GateReportSelectTime = "GateReport-SelectTime", e.GateReportSelectTimezone = "GateReport-SelectTimezone", e.GateReportSelectVehicleTypes = "GateReport-SelectVehicleTypes", e.GateReportSelectColumn = "GateReport-SelectColumn", e.GateReportSelectPeriod = "GateReport-SelectPeriod", e.GateReportSelectExportType = "GateReport-SelectExportType", e.GateReportSelectMember = "GateReport-SelectMember", e.GateReportSelectCameras = "GateReport-SelectCameras", e.GateReportCreate = "GateReport-Create", e.GateReportEdit = "GateReport-Edit", e.CompareSelectDays = "Compare-SelectDays", e.CompareSelectDelay = "Compare-SelectDelay", e.CompareSelectTime = "Compare-SelectTime", e.SmartSearchToggleQueryBuilder = "SmartSearch-ToggleQueryBuilder", e.SmartSearchToggleQuerySelector = "SmartSearch-ToggleQuerySelector", e.SmartSearchDeleteComponent = "SmartSearch-DeleteComponent", e.SmartSearchPageChange = "SmartSearch-PageChange", e.SmartSearchExecuteQuery = "SmartSearch-ExecuteQuery", e.SmartSearchAddComponent = "SmartSearch-AddComponent", e.SmartSearchConnectComponent = "SmartSearch-ConnectComponent", e.SmartSearchUpdateComponent = "SmartSearch-UpdateComponent", e.SmartSearchSavedQueryClick = "SmartSearch-SavedQueryClick", e.SmartSearchFilterSavedQueries = "SmartSearch-FilterSavedQueries", e.SmartSearchThumbnailHover = "SmartSearch-ThumbnailHover", e.SmartSearchThumbnailError = "SmartSearch-ThumbnailError", e.SmartSearchViewSelected = "SmartSearch-ViewSelected", e.SmartSearchOptionClicked = "SmartSearch-OptionClicked", e.SmartSearchEditQuery = "SmartSearch-EditQuery", e.SmartSearchDeleteQuery = "SmartSearch-DeleteQuery", e.SmartSearchSaveQuery = "SmartSearch-SaveQuery", e.SmartSearchThumbnailPlay = "SmartSearch-ThumbnailPlay", e.SmartSearchExportFile = "SmartSearch-ExportFile", e.SmartSearchDownloadHeatmapImage = "SmartSearch-DownloadHeatmapImage", e.AskAIClickAskAI = "AskAI-ClickAskAI", e.AskAIClickExpand = "AskAI-ClickExpand", e.AskAIClickCollapse = "AskAI-ClickCollapse", e.AskAIClickVoice = "AskAI-ClickVoice", e.AskAIClickFullscreen = "AskAI-ClickFullscreen", e.AskAIExitFullscreen = "AskAI-ExitFullscreen", e.AskAICloseChat = "AskAI-CloseChat", e.ForgeBimAddModelButtonClicked = "ForgeBim-AddModelButtonClicked", e.ForgeBimUploadChoiceDialogOpened = "ForgeBim-UploadChoiceDialogOpened", e.ForgeBimModelAddMethodSelected = "ForgeBim-ModelAddMethodSelected", e.ForgeBimUploadChoiceDialogDismissed = "ForgeBim-UploadChoiceDialogDismissed", e.ForgeBimLocalModelFileSelected = "ForgeBim-LocalModelFileSelected", e.ForgeBimLocalModelFileRejected = "ForgeBim-LocalModelFileRejected", e.ForgeBimUploadModelFileToIngestStarted = "ForgeBim-UploadModelFileToIngestStarted", e.ForgeBimUploadModelFileToIngestCompleted = "ForgeBim-UploadModelFileToIngestCompleted", e.ForgeBimUploadModelFileToIngestFailed = "ForgeBim-UploadModelFileToIngestFailed", e.ForgeBimAccModelSelectorOpened = "ForgeBim-AccModelSelectorOpened", e.ForgeBimAccModelSelectorDismissed = "ForgeBim-AccModelSelectorDismissed", e.ForgeBimAccModelConfirmed = "ForgeBim-AccModelConfirmed", e.ForgeBimModelDuplicateDetected = "ForgeBim-ModelDuplicateDetected", e.ForgeBimUpdateModelButtonClicked = "ForgeBim-UpdateModelButtonClicked", e.ForgeBimReplaceModelWarningOpened = "ForgeBim-ReplaceModelWarningOpened", e.ForgeBimReplaceModelConfirmed = "ForgeBim-ReplaceModelConfirmed", e.ForgeBimReplaceModelCancelled = "ForgeBim-ReplaceModelCancelled", e.ForgeBimModelAdded = "ForgeBim-ModelAdded", e.ForgeBimModelUpdated = "ForgeBim-ModelUpdated", e.ForgeBimModelSaveFailed = "ForgeBim-ModelSaveFailed", e))(me || {}), pe = /* @__PURE__ */ ((e) => (e.Left = "reverse", e.Arrived = "forward", e.Unknown = "unknown", e))(pe || {}), ce = /* @__PURE__ */ ((e) => (e.IsPlate = "is_plate", e.NotPlate = "not_plate", e.IsDuplicate = "is_duplicate", e.NotDuplicate = "not_duplicate", e))(ce || {}), ue = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Running = "running", e.Completed = "completed", e.Failed = "failed", e))(ue || {}), de = /* @__PURE__ */ ((e) => (e.All = "all", e.AiDbOnly = "ai_db_only", e.ImagesOnly = "images_only", e))(de || {}), he = /* @__PURE__ */ ((e) => (e.EditedImage = "edit", e.ExternalUrl = "url", e.Clip = "clip", e.File = "file", e.LocalClip = "local_clip", e.XRay = "x-ray", e.Timelapse = "timelapse", e.Compare = "compare", e.MobileAsset = "mobile-asset", e))(he || {}), Se = /* @__PURE__ */ ((e) => (e.Gif = "gif", e.Mp4 = "mp4", e.Png = "png", e.Pdf = "pdf", e.Jpeg = "jpeg", e))(Se || {}), $e = /* @__PURE__ */ ((e) => (e.Pending = "Pending", e.Creating = "Creating", e.Processing = "Processing", e.Extracting = "Extracting", e.Uploading = "Uploading", e.Completed = "Completed", e.Failed = "Failed", e.NoData = "No Data", e))($e || {}), Te = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Processing = 1] = "Processing", e[e.Completed = 2] = "Completed", e[e.Failed = 3] = "Failed", e))(Te || {}), ke = /* @__PURE__ */ ((e) => (e.HealthSafetySecurity = "health_safety_security", e.Legal = "legal", e.Marketing = "marketing", e.BestPracticies = "best_practices", e))(ke || {}), be = /* @__PURE__ */ ((e) => (e.Architectural = "Architectural", e.Structural = "Structural", e.FourD = "4D", e.Mep = "Mep", e))(be || {}), we = /* @__PURE__ */ ((e) => (e[e.Initial = 0] = "Initial", e[e.Saving = 1] = "Saving", e[e.Success = 2] = "Success", e[e.Failed = 3] = "Failed", e))(we || {}), Me = /* @__PURE__ */ ((e) => (e.Mask = "mask", e.BimMask = "bim_mask", e.MeasuringGrid = "measuring_grid", e.BimArchitectural = "bim_architectural", e.BimStructural = "bim_structural", e.Bim4D = "bim_4d", e.BimMep = "bim_mep", e.RecordingsTag = "recordings_tag", e.Milestone = "milestone", e.ForgeBimArchitectural = "forge_bim_architectural", e.ForgeBimStructural = "forge_bim_structural", e.ForgeBim4D = "forge_bim_4d", e.ForgeBimMep = "forge_bim_mep", e))(Me || {}), fe = /* @__PURE__ */ ((e) => (e.FileUpload = "file_upload", e.AutodeskAcc = "autodesk_acc", e))(fe || {}), Re = /* @__PURE__ */ ((e) => (e.InvalidType = "invalid_type", e.ExceedsSizeLimit = "exceeds_size_limit", e))(Re || {}), Pe = /* @__PURE__ */ ((e) => (e.TusUpload = "tus_upload", e.IngestUpload = "ingest_upload", e))(Pe || {}), De = /* @__PURE__ */ ((e) => (e.UpdateModel = "update_model", e.AddModel = "add_model", e.InitialSetup = "initial_setup", e))(De || {}), _e = /* @__PURE__ */ ((e) => (e.Online = "online", e.Offline = "offline", e.OfflineScheduled = "offline_scheduled", e.Decommissioned = "decommissioned", e.OnHold = "on_hold", e.Waiting = "waiting", e.UnderMaintenance = "under_maintenance", e.WaitingForSiteVisit = "waiting_for_site_visit", e))(_e || {}), Ue = /* @__PURE__ */ ((e) => (e.High = "High", e.Moderate = "Moderate", e.Low = "Low", e.NoChange = "No change", e.Default = "Default", e))(Ue || {});
7
+ const uo = {
8
+ High: "#FF5252",
9
+ Moderate: "#FBC02D",
10
+ Low: "#006400",
11
+ "No change": "#3ACF3A",
12
+ Default: "black"
13
+ };
14
+ var je = /* @__PURE__ */ ((e) => (e.EdgeVideo = "edge_video", e.BimCompare = "bim_compare", e.TwoDBimCompare = "2d_bim_compare", e.ForgeBIMCompare = "forge_bim_compare", e.GateReport = "gate_report", e.VideoStream = "video_stream", e.WebRTC = "webrtc", e.ANPR = "anpr", e.ReverseANPR = "reverse_anpr", e.PTZ = "ptz", e.ObjectDetection = "object_detection", e.Segmentation = "segmentation", e.SegmentationAutoLabelling = "segmentation_auto_labelling", e.PpeMonitoring = "ppe_monitoring", e.PpeOwlv2 = "ppe_owlv2", e.PpeGemini = "ppe_gemini", e.PpeYolo = "ppe_yolo", e.NoLiveView = "no_live_view", e.Ring = "ring", e.CloudOnly = "cloud_only", e))(je || {}), Be = /* @__PURE__ */ ((e) => (e.YCam = "y-cam", e.Axis = "axis", e.Dahua = "dahua", e.Mobotix = "mobotix", e.Hikvision = "hikvision", e.Avigilion = "avigilion", e.Hanwha = "hanwha", e.Nxwitness = "nxwitness", e.ExNvr = "ex_nvr", e))(Be || {}), Oe = /* @__PURE__ */ ((e) => (e.YCam = "y-cam", e.Axis = "axis", e.Dahua = "dahua", e.Mobotix = "mobotix", e.Milesight = "milesight", e.Hikvision = "hikvision", e.Avigilion = "avigilion", e.Hanwha = "hanwha", e.Other = "other", e.Ring = "ring", e))(Oe || {}), Fe = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notExist", e.Unformatted = "unformatted", e.Ok = "ok", e))(Fe || {}), Ne = /* @__PURE__ */ ((e) => (e.Host = "host", e.CameraHttpPort = "camera_http_port", e.NvrHttpPort = "nvr_http_port", e.NvrDeviceId = "nvr_device_id", e))(Ne || {}), Ge = /* @__PURE__ */ ((e) => (e.TwoD = "2D", e.Forge = "Forge", e))(Ge || {}), He = /* @__PURE__ */ ((e) => (e[e.Processing = 0] = "Processing", e[e.Completed = 1] = "Completed", e[e.Failed = 2] = "Failed", e))(He || {}), Ve = /* @__PURE__ */ ((e) => (e.Copilot = "copilot", e.User = "user", e.System = "system", e))(Ve || {}), ve = /* @__PURE__ */ ((e) => (e.Text = "text", e.Progress = "progress", e.Error = "error", e.Json = "json", e))(ve || {}), We = /* @__PURE__ */ ((e) => (e.SendToLLM = "send_to_llm", e.FunctionCallRequest = "function_call_request", e.ExecFunctionCall = "exec_function_call", e.SendToUser = "send_to_user", e.RequestMissingFields = "request_missing_fields", e.CompletedFieldsResponse = "completed_fields_response", e.SendRawToolCallResponse = "send_raw_tool_call_response", e.SubmitToolOutputsToLLM = "submit_tool_outputs_to_llm", e.CancelCall = "cancel_call", e.RequestAgentCall = "request_agent_call", e.ExecAgentCall = "exec_agent_call", e))(We || {}), xe = /* @__PURE__ */ ((e) => (e.ProjectExid = "Project", e.CameraExid = "Camera", e.FromDate = "Start date", e.ToDate = "End date", e))(xe || {}), ze = /* @__PURE__ */ ((e) => (e.ConversationStart = "conversation:start", e.ConversationCreated = "conversation:created", e.LLMMessageChunk = "llm:message:chunk", e.LLMMessageComplete = "llm:message:complete", e.LLMMessageLoading = "llm:message:loading", e.LLMRequestCancel = "llm:request:cancel", e.LLMRequestCanceled = "llm:request:canceled", e.UserMessage = "user:message", e.ContextError = "chat:contextError", e.ChatError = "chat:chatError", e.MissingFields = "chat:missingFields", e.MissingFieldsCompleted = "chat:missingFields:completed", e.SystemToolCallResponse = "system:toolCall:response", e.ChangeProvider = "chat:changeProvider", e))(ze || {}), Le = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGPT = "chatgpt", e))(Le || {}), Ze = /* @__PURE__ */ ((e) => (e.UserManual = "user_manual", e.GateReport = "gate_report", e.Weather = "weather", e.Clip = "clip", e.Timelapse = "timelapse", e.Chart = "chart", e.SmartSearch = "smart_search", e))(Ze || {}), Xe = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGpt = "chatGpt", e))(Xe || {}), Qe = /* @__PURE__ */ ((e) => (e.Floating = "floating", e))(Qe || {}), qe = /* @__PURE__ */ ((e) => (e.GetReports = "getReports", e.GetVehiclesDetections = "getVehiclesDetections", e.GetVehiclesDetectionsCounts = "getVehiclesDetectionsCounts", e.GetWeather = "getWeather", e.CreateClip = "createClip", e.NavigateToPage = "navigateToPage", e.CreateTimelapse = "createTimelapse", e.RequestMissingFields = "requestMissingFields", e.RenderCharts = "renderCharts", e.SmartSearch = "smartSearch", e))(qe || {}), Je = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.DateTime = "DateTimeField", e.Schedule = "ScheduleField", e.MultiOptions = "MultiOptionsField", e.Switch = "SwitchField", e))(Je || {}), Ye = /* @__PURE__ */ ((e) => (e.ProjectExid = "projectExid", e.CameraExid = "cameraExid", e.FromDate = "fromDate", e.ToDate = "toDate", e.Schedule = "schedule", e.Duration = "duration", e))(Ye || {}), Ke = /* @__PURE__ */ ((e) => (e.Boolean = "boolean", e.String = "string", e.Number = "number", e))(Ke || {}), Ce = /* @__PURE__ */ ((e) => (e.AerialShot = "AerialShot", e))(Ce || {}), Ee = /* @__PURE__ */ ((e) => (e.Default = "Default", e.Gate = "Gate", e.Indoor = "Indoor", e))(Ee || {}), Ae = /* @__PURE__ */ ((e) => (e.Date = "date", e))(Ae || {}), Ie = /* @__PURE__ */ ((e) => (e.Evercam = "Evercam", e.DroneDeploy = "DroneDeploy", e))(Ie || {}), $ = /* @__PURE__ */ ((e) => (e.BadRequestError = "BadRequestError", e.NotFoundError = "NotFoundError", e.UnauthorizedError = "UnauthorizedError", e.GatewayTimeoutError = "GatewayTimeoutError", e.BadGatewayError = "BadGatewayError", e.ForbiddenError = "ForbiddenError", e.HlsError = "HlsError", e.SnapshotError = "SnapshotError", e.ConflictError = "ConflictError", e.InternalServerError = "InternalServerError", e.CanceledError = "CanceledError", e.UnhandledRejection = "UnhandledRejection", e.TypeError = "TypeError", e))($ || {}), k = /* @__PURE__ */ ((e) => (e[e.InternalServerError = 500] = "InternalServerError", e[e.BadGatewayError = 502] = "BadGatewayError", e[e.ServiceUnavailableError = 503] = "ServiceUnavailableError", e[e.GatewayTimeoutError = 504] = "GatewayTimeoutError", e[e.BadRequestError = 400] = "BadRequestError", e[e.UnauthorizedError = 401] = "UnauthorizedError", e[e.ForbiddenError = 403] = "ForbiddenError", e[e.NotFoundError = 404] = "NotFoundError", e[e.ConflictError = 409] = "ConflictError", e))(k || {}), ye = /* @__PURE__ */ ((e) => (e.IntegrationError = "INTEGRATION_ERROR", e.BadArgument = "BAD_ARGUMENT", e.DeviceError = "DEVICE_ERROR", e.UnsupportedOperation = "UNSUPPORTED_OPERATION", e.QuotaExceeded = "QUOTA_EXCEEDED", e.InvalidCredentials = "INVALID_CREDENTIALS", e.InvalidToken = "INVALID_TOKEN", e.ProviderAuthFailure = "PROVIDER_AUTH_FAILURE", e.ProviderEmailRequired = "PROVIDER_EMAIL_REQUIRED", e.PasswordReset = "PASSWORD_RESET", e.RequireShareRequest = "REQUIRE_SHARE_REQUEST", e.Generic = "GENERIC", e))(ye || {}), er = /* @__PURE__ */ ((e) => (e.Auto = "auto", e.Manual = "manual", e.Cloud = "cloud", e.Edge = "edge", e))(er || {}), rr = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e))(rr || {}), ar = /* @__PURE__ */ ((e) => (e.ArticulatedDumper = "articulated-dumper", e.BackhoeLoader = "backhoe-loader", e.CompactExcavator = "compact-excavator", e.ConcretePump = "concrete-pump", e.Dumper = "dumper", e.Excavator = "excavator", e.FlatbedSemiTrailer = "flatbed-semi-trailer", e.IndustrialTruck = "industrial-truck", e.Loader = "loader", e.Mewps = "mewps", e.MobileCrane = "mobile-crane", e.MobileCrusher = "mobile-crusher", e.OtherTruck = "other-truck", e.PileDrillingRig = "pile-drilling-rig", e.RoadVehicle = "road-vehicle", e.Roller = "roller", e.SemiTrailer = "semi-trailer", e.SkidSteerLoader = "skid-steer-loader", e.SkipTruck = "skip-truck", e.SmallTruck = "small-truck", e.TankTruck = "tank-truck", e.TeleHandler = "tele-handler", e.TippingTruck = "tipping-truck", e.TowerCrane = "tower-crane", e.TowerMountedConcreteMix = "tower-mounted-concrete-mix", e.TractorDozer = "tractor-dozer", e.TruckHead = "truck-head", e.TruckMixer = "truck-mixer", e.TruckMountedMobileCrane = "truck-mounted-mobile-crane", e.Unknown = "unknown", e.Worker = "worker", e.Rubble = "rubble", e.Puddle = "puddle", e.DirtGravelCementPile = "dirt_gravel_cement_pile", e.DetachedExcavatorBucket = "detached_excavator_bucket", e.IntermediateBulkContainer = "intermediate_bulk_container", e.WoodenPallet = "wooden_pallet", e.ShippingContainer = "shipping_container", e.AirCompressor = "air_compressor", e.DryMortarSilo = "dry_mortar_silo", e.Fence = "fence", e.Brick = "brick", e.Barrel = "barrel", e.Cardboard = "cardboard", e.CardboardBox = "cardboard_box", e.CementBag = "cement_bag", e.ConcreteBlock = "concrete_block", e.ConcretePipe = "concrete_pipe", e.ConcreteSlab = "concrete_slab", e.Door = "door", e.PlasticWrap = "plastic_wrap", e.ContainerOffice = "container_office", e.ElectricalPole = "electrical_pole", e.ElectricalBox = "electrical_box", e.FireHydrant = "fire_hydrant", e.FireExtinguisher = "fire-extinguisher", e.HoseReel = "hose_reel", e.Ladder = "ladder", e.MetalBeam = "metal_beam", e.MetalPipe = "metal_pipe", e.Pallet = "pallet", e.Person = "person", e.Pillar = "pillar", e.PlasticBin = "plastic_bin", e.PlasticBucket = "plastic_bucket", e.PlasticPipe = "plastic_pipe", e.PublicToilet = "public_toilet", e.Sign = "sign", e.SiteToolbox = "site_toolbox", e.StreetSink = "street_sink", e.TrafficBarrier = "traffic_barrier", e.TrafficCone = "traffic_cone", e.Wall = "wall", e.WasteContainer = "waste_container", e.WaterStorageTank = "water_storage_tank", e.Wheelbarrow = "wheelbarrow", e.Window = "window", e.WoodPlank = "wood_plank", e.CableReel = "cable_reel", e.AirConditioningSystem = "air_conditioning_system", e.WoodenBox = "wooden_box", e.PlasticBag = "plastic_bag", e.MaterialStack = "material_stack", e))(ar || {}), tr = /* @__PURE__ */ ((e) => (e.AirCompressor = "air_compressor", e.Brick = "brick", e.Building = "building", e.CableReel = "cable_reel", e.CementMixer = "cement_mixer", e.CementPile = "cement_pile", e.ConcreteBarrier = "concrete_barrier", e.ConcreteBlock = "concrete_block", e.ConstructionContainer = "construction_container", e.ConstructionSite = "construction_site", e.Crane = "crane", e.DetachedExcavatorBucket = "detached_excavator_bucket", e.DryMortarSilo = "dry_mortar_silo", e.DumpTruck = "dump_truck", e.Dumpster = "dumpster", e.Fence = "fence", e.FireHydrant = "fire_hydrant", e.GarbageBin = "garbage_bin", e.HoseReel = "hose_reel", e.Ibc = "ibc", e.JerryCan = "jerry_can", e.MetalBeam = "metal_beam", e.MiniDumper = "mini_dumper", e.Pallet = "pallet", e.Pipe = "pipe", e.Puddle = "puddle", e.Rebar = "rebar", e.Rubble = "rubble", e.Scaffolding = "scaffolding", e.ShippingContainer = "shipping_container", e.SiteOffice = "site_office", e.TrafficCone = "traffic_cone", e.Transformer = "transformer", e.Vehicle = "vehicle", e.Window = "window", e.WoodenSpool = "wooden_spool", e.Unknown = "unknown", e))(tr || {}), Z = /* @__PURE__ */ ((e) => (e.ConcretePump = "concrete-pump", e.FlatbedSemiTrailer = "flatbed-semi-trailer", e.OtherTruck = "other-truck", e.RoadVehicle = "road-vehicle", e.SemiTrailer = "semi-trailer", e.SmallTruck = "small-truck", e.TankTruck = "tank-truck", e.TippingTruck = "tipping-truck", e.TruckHead = "truck-head", e.TruckMixer = "truck-mixer", e.Unknown = "unknown", e))(Z || {}), or = /* @__PURE__ */ ((e) => (e.Anpr = "anpr", e.Events = "events", e))(or || {}), sr = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e.Unknown = "unknown", e))(sr || {}), ir = /* @__PURE__ */ ((e) => (e.Pdf = "pdf", e.Csv = "csv", e))(ir || {}), nr = /* @__PURE__ */ ((e) => (e.Processed = "processed", e.Unprocessed = "unprocessed", e))(nr || {});
15
+ const ho = Object.values(Z);
16
+ var lr = /* @__PURE__ */ ((e) => (e.ExFat = "ExFAT", e.HikFs = "HikFS", e))(lr || {}), gr = /* @__PURE__ */ ((e) => (e.Magnetic35 = '3.5" Magnetic', e.Magnetic25 = '2.5" Magnetic', e.Ssd25 = '2.5" SSD', e))(gr || {}), mr = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.InUse = "In Use", e.ColdStorage = "Cold Storage", e))(mr || {}), pr = /* @__PURE__ */ ((e) => (e[e.IEWarehouse = 1] = "IEWarehouse", e[e.Deployed = 2] = "Deployed", e[e.CustomerStorage = 3] = "CustomerStorage", e[e.USWarehouse = 4] = "USWarehouse", e[e.AUWarehouse = 5] = "AUWarehouse", e[e.UKWarehouse = 6] = "UKWarehouse", e))(pr || {}), cr = /* @__PURE__ */ ((e) => (e.IEWarehouse = "IE Warehouse", e.Deployed = "Deployed", e.CustomerStorage = "Customer Storage", e.USWarehouse = "US Warehouse", e.AUWarehouse = "AU Warehouse", e.UKWarehouse = "UK Warehouse", e))(cr || {}), ur = /* @__PURE__ */ ((e) => (e.TwoTB = "2 TB", e.FourTB = "4 TB", e.FiveTB = "5 TB", e.SixTB = "6 TB", e.EightTB = "8 TB", e.TenTB = "10 TB", e))(ur || {}), dr = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Uploading = "uploading", e.Created = "created", e.Failed = "failed", e.Aborted = "aborted", e.Paused = "paused", e.InProgress = "inprogress", e.Pending = "pending", e))(dr || {}), hr = /* @__PURE__ */ ((e) => (e.Audio = "mobile_audios", e.Photo = "mobile_photos", e))(hr || {}), Sr = /* @__PURE__ */ ((e) => (e.V1 = "v1", e.V2 = "v2", e.V3 = "v3", e.V4 = "v4", e.V5 = "v5", e))(Sr || {}), p = /* @__PURE__ */ ((e) => (e.Drone = "drone", e.ThreeSixty = "360", e))(p || {}), $r = /* @__PURE__ */ ((e) => (e.Hybrid = "hybrid", e.Terrain = "terrain", e))($r || {}), F = /* @__PURE__ */ ((e) => (e.Aconex = "aconex", e.Procore = "procore", e.Autodesk = "autodesk", e.AutodeskViewer = "autodesk_viewer", e.VoyageControl = "voyage_control", e.Ring = "ring", e.XWeather = "xweather", e))(F || {}), Tr = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.Photos = "photos", e))(Tr || {}), kr = /* @__PURE__ */ ((e) => (e.CameraShare = "camera_share", e.CameraStatusChange = "camera_status_changed", e.Mention = "mention", e.TimelapseCreated = "timelapse_created", e.TimelapseFailed = "timelapse_failed", e.DroneProcessing = "drone_processing_done", e.Processing360 = "three_sixty_done", e))(kr || {}), br = /* @__PURE__ */ ((e) => (e.Rpi4 = "rpi4", e.Rpi5 = "rpi5", e.OrinNano = "orin_nano", e.Giraffe = "giraffe", e))(br || {}), wr = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notexist", e.Ok = "ok", e.Unformatted = "unformatted", e))(wr || {}), Mr = /* @__PURE__ */ ((e) => (e.RichText = "rich_text", e.Date = "date", e.DateTime = "datetime", e.LovEntry = "lov_entry", e.LovEntries = "lov_entries", e.Boolean = "boolean", e.Vendor = "vendor", e.Decimal = "decimal", e.String = "string", e.LoginInformation = "login_information", e.LoginInformations = "login_informations", e.Dropdown = "dropdown", e))(Mr || {}), fr = /* @__PURE__ */ ((e) => (e.Number = "number", e.Name = "name", e.Status = "status", e.Trade = "tradeId", e.Assignee = "assigneeId", e.DueDate = "dueDate", e.SpecificationSection = "specificationSectionId", e.Priority = "priority", e.Location = "locationId", e.DistributionMembers = "distributionMemberIds", e.Personal = "personal", e.Hazard = "hazardId", e.ContributingBehavior = "contributingBehaviorId", e.ContributingCondition = "contributingConditionId", e.Description = "description", e))(fr || {}), Rr = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.ProgressPhotos = "images", e))(Rr || {}), Pr = /* @__PURE__ */ ((e) => (e[e.NoAccess = 1] = "NoAccess", e[e.ReadOnly = 2] = "ReadOnly", e[e.Standard = 3] = "Standard", e[e.Admin = 4] = "Admin", e))(Pr || {}), Dr = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.Pause = "pause", e))(Dr || {}), _r = /* @__PURE__ */ ((e) => (e.ToStart = "To Start", e.InProgress = "In Progress", e.Completed = "Completed", e.NotAplicable = "Not Applicable", e))(_r || {}), Ur = /* @__PURE__ */ ((e) => (e.Full = "Full", e.Partial = "Partial", e.Minimal = "Minimal", e.ScheduledForDeletion = "Scheduled for Deletion", e.No = "No", e))(Ur || {}), jr = /* @__PURE__ */ ((e) => (e.AnprLegacy = "anpr_legacy", e.DroneView = "drone_view", e.Bim = "4d_bim", e.BimItwin = "4d_bim_itwin", e.BimForge = "4d_bim_forge", e.ThreeSixtyView = "360_view", e.NdaMc = "NDA/MC", e.GateReport = "gate_report", e.GateReportMotionDetection = "motion_detection", e.FullEmpty = "full_empty", e.MediaHubSharing = "archives_sharing", e.GateReportAnprBased = "anpr_sourced", e.NoLicensePlate = "no_license_plate", e.DefaultToProjectApp = "default_to_project_app", e.SmartSearch = "smart_search", e.PpeMonitoring = "ppe_monitoring", e.NoGdpr = "no_gdpr", e))(jr || {}), Br = /* @__PURE__ */ ((e) => (e.New = "new", e.Pending = "pending", e.Processing = "processing", e.Completed = "completed", e.Failed = "failed", e))(Br || {}), Or = /* @__PURE__ */ ((e) => (e.Detections = "detections", e))(Or || {}), Fr = /* @__PURE__ */ ((e) => (e[e.EverySecond = 60] = "EverySecond", e[e.Every2Seconds = 30] = "Every2Seconds", e[e.Every5Seconds = 12] = "Every5Seconds", e[e.Every10Seconds = 6] = "Every10Seconds", e[e.Every15Seconds = 4] = "Every15Seconds", e[e.Every30Seconds = 2] = "Every30Seconds", e[e.Every60Seconds = 1] = "Every60Seconds", e[e.Every5Minutes = 5] = "Every5Minutes", e[e.Every10Minutes = 10] = "Every10Minutes", e))(Fr || {}), Nr = /* @__PURE__ */ ((e) => (e[e.Infinity = -1] = "Infinity", e[e.Day = 1] = "Day", e[e.Week = 7] = "Week", e[e.Month = 30] = "Month", e[e.ThreeMonths = 90] = "ThreeMonths", e))(Nr || {});
17
+ const So = {
18
+ [
19
+ -1
20
+ /* Infinity */
21
+ ]: "content.cloud_recording_duration.unlimited",
22
+ 1: "content.cloud_recording_duration.day",
23
+ 7: "content.cloud_recording_duration.week",
24
+ 30: "content.cloud_recording_duration.month",
25
+ 90: "content.cloud_recording_duration.three_months"
26
+ };
27
+ var Gr = /* @__PURE__ */ ((e) => (e.On = "on", e.Off = "off", e.Paused = "paused", e.OnScheduled = "on-scheduled", e))(Gr || {}), Hr = /* @__PURE__ */ ((e) => (e[e.EverySecond = 1] = "EverySecond", e[e.Every5Seconds = 5] = "Every5Seconds", e[e.Every10Seconds = 10] = "Every10Seconds", e[e.Every15Seconds = 15] = "Every15Seconds", e[e.Every20Seconds = 20] = "Every20Seconds", e[e.Every30Second = 30] = "Every30Second", e[e.EveryMinute = 60] = "EveryMinute", e[e.Every5Minutes = 300] = "Every5Minutes", e[e.Every10Minutes = 600] = "Every10Minutes", e[e.Every15Minutes = 900] = "Every15Minutes", e[e.Every20Minutes = 1200] = "Every20Minutes", e[e.Every30Minutes = 1800] = "Every30Minutes", e[e.EveryHour = 3600] = "EveryHour", e[e.Every2Hours = 7200] = "Every2Hours", e[e.Every6Hours = 21600] = "Every6Hours", e[e.Every12Hours = 43200] = "Every12Hours", e[e.Every24Hours = 86400] = "Every24Hours", e))(Hr || {}), Vr = /* @__PURE__ */ ((e) => (e.None = "None", e.WireGuard1 = "WireGuard1", e.WireGuard2 = "WireGuard2", e.WireGuard3 = "WireGuard3", e.WireGuard4 = "WireGuard4", e.WireGuard5 = "WireGuard5", e.WireGuard6 = "WireGuard6", e.WireGuard7 = "WireGuard7", e.WireGuard8 = "WireGuard8", e.WireGuard9 = "WireGuard9", e.WireGuard10 = "WireGuard10", e.WgHub = "WgHub", e))(Vr || {}), vr = /* @__PURE__ */ ((e) => (e.Gate = "gate", e.AnprContext = "anpr_context", e.ExclusionZone = "exclusion_zone", e.WorkflowArea = "workflow_area", e.SiteAnalytics = "site_analytics", e))(vr || {}), Wr = /* @__PURE__ */ ((e) => (e.Polygon = "polygon", e.Line = "line", e.Direction = "direction", e.Rectangle = "rectangle", e))(Wr || {}), xr = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e.Bidirectional = "arrived,left", e))(xr || {}), zr = /* @__PURE__ */ ((e) => (e.True = "true", e.False = "false", e))(zr || {}), Lr = /* @__PURE__ */ ((e) => (e.CameraExid = "cameraExid", e.Timestamp = "timestamp", e.FromDate = "fromDate", e.ToDate = "toDate", e.Live = "live", e.Video = "video", e.OverlayType = "overlayType", e.ShowOverlay = "showOverlay", e.ShowCompare = "showCompare", e.Sidebar = "sidebar", e.ThreeSixtyId = "_360Id", e.DroneId = "droneId", e.MediaId = "mediaId", e))(Lr || {}), Zr = /* @__PURE__ */ ((e) => (e.Show360 = "show360", e))(Zr || {}), Xr = /* @__PURE__ */ ((e) => (e.ShowDrone = "showDrone", e))(Xr || {}), Qr = /* @__PURE__ */ ((e) => (e.ShowMedia = "showMedia", e))(Qr || {}), qr = /* @__PURE__ */ ((e) => (e.ShowBim = "showBim", e))(qr || {}), Jr = /* @__PURE__ */ ((e) => (e.ShowExNvrRecordings = "showExNvrRecordings", e))(Jr || {}), Yr = /* @__PURE__ */ ((e) => (e.ShowAnpr = "showAnpr", e))(Yr || {}), Kr = /* @__PURE__ */ ((e) => (e.ShowMobileCapture = "showMobileCapture", e))(Kr || {}), Cr = /* @__PURE__ */ ((e) => (e.ShowComments = "showComments", e.SelectedCommentId = "selectedCommentId", e))(Cr || {}), Er = /* @__PURE__ */ ((e) => (e.Mains = "mains", e.Battery = "battery", e.Solar = "solar", e.Generator = "generator", e.Other = "other", e))(Er || {}), Ar = /* @__PURE__ */ ((e) => (e.Schedule = "schedule", e.FullTime = "24/7", e))(Ar || {}), Ir = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(Ir || {}), yr = /* @__PURE__ */ ((e) => (e.Qr = "qr", e.Manual = "manual", e))(yr || {}), ea = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Cancelled = -1] = "Cancelled", e[e.Used = 1] = "Used", e[e.Failed = -2] = "Failed", e))(ea || {}), ra = /* @__PURE__ */ ((e) => (e.PublicDiscoverable = "publicDiscoverable", e.PublicUndiscoverable = "publicUndiscoverable", e.Private = "private", e))(ra || {}), aa = /* @__PURE__ */ ((e) => (e.Cellular = "cellular", e.Gpson = "gpson", e.GPS = "gps", e.IPUnblock = "ipunblock", e.IOStatus = "iostatus", e.IOSet = "ioset", e.MonitoringStatus = "monitoring_status", e.MobileOn = "mobileon", e.MobileOff = "mobileoff", e.Reboot = "reboot", e.Restore = "restore", e.RmsOn = "rms_on", e.RmsConnect = "rms_connect", e.RmsStatus = "rms_status", e.SwitchSIM = "switch_sim", e.Status = "status", e.SshOn = "sshon", e.SshOff = "sshoff", e.Uci = "uci", e.VpnOn = "vpnon", e.VpnOff = "vpnoff", e.VpnStatus = "vpnstatus", e.WifiOn = "wifion", e.WifiOff = "wifioff", e.Wakeup = "wakeup", e.WebOn = "webon", e.WebOff = "weboff", e))(aa || {}), ta = /* @__PURE__ */ ((e) => (e.Delivered = "Delivered", e.Accepted = "accepted", e.Pending = "Pending", e))(ta || {}), oa = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Done = "done", e))(oa || {}), sa = /* @__PURE__ */ ((e) => (e.OESTextureFloat = "OES_texture_float", e.EXTFloatBlend = "EXT_float_blend", e.EXTTextureFilterAnisotropic = "EXT_texture_filter_anisotropic", e.OESElementIndexUint = "OES_element_index_uint", e.WEBGLDebugRendererInfo = "WEBGL_debug_renderer_info", e))(sa || {}), ia = /* @__PURE__ */ ((e) => (e.SitePlanId = "site_plan_id", e.IsNewSitePlan = "is_new_site_plan", e.IsBoundsMode = "is_bounds_mode", e.ProjectPosition = "project_position", e.DealId = "deal_id", e))(ia || {}), na = /* @__PURE__ */ ((e) => (e.FreeRotate = "freeRotate", e.Lock = "lock", e.Rotate = "rotate", e.Scale = "scale", e.Pan = "drag", e))(na || {}), la = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.Satellite = "Satellite", e.Street = "Street", e.GoogleSatellite = "hybrid", e.GoogleStreet = "roadmap", e.GoogleTerrain = "terrain", e))(la || {}), ga = /* @__PURE__ */ ((e) => (e.CameraMarker = "cameraMarker", e.ThreeSixtyMarker = "threeSixtyMarkers", e))(ga || {}), ma = /* @__PURE__ */ ((e) => (e.List = "list", e.Item = "item", e))(ma || {}), pa = /* @__PURE__ */ ((e) => (e.Home = "/", e.Session = "/session", e))(pa || {}), ca = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Overlay = "overlay", e))(ca || {}), ua = /* @__PURE__ */ ((e) => (e.Admin = "admin", e.User = "user", e))(ua || {}), da = /* @__PURE__ */ ((e) => (e.Seaweedfs = "seaweedfs", e.S3 = "s3", e))(da || {}), ha = /* @__PURE__ */ ((e) => (e.Available = "Available", e.NotAvailable = "Not Available", e))(ha || {}), Sa = /* @__PURE__ */ ((e) => (e.Recording = "recording", e.Failed = "failed", e.Stopped = "stopped", e))(Sa || {}), $a = /* @__PURE__ */ ((e) => (e.CpuLoad = "cpu_load", e.RamUsage = "ram_usage", e))($a || {}), Ta = /* @__PURE__ */ ((e) => (e[e.Pending = 11] = "Pending", e[e.Completed = 5] = "Completed", e[e.Failed = 7] = "Failed", e))(Ta || {}), ka = /* @__PURE__ */ ((e) => (e[e.ThirtySeconds = 30] = "ThirtySeconds", e[e.SixtySeconds = 60] = "SixtySeconds", e[e.NintySeconds = 90] = "NintySeconds", e[e.TwoMinutes = 120] = "TwoMinutes", e))(ka || {}), ba = /* @__PURE__ */ ((e) => (e.Continuous = "continuous", e.WorkingHours = "workingHours", e.Custom = "custom", e))(ba || {}), wa = /* @__PURE__ */ ((e) => (e[e.Day = 1] = "Day", e[e.Week = 7] = "Week", e[e.Month = 30] = "Month", e.WholeProject = "whole_project", e.Custom = "custom", e))(wa || {}), Ma = /* @__PURE__ */ ((e) => (e.Hour = "hour", e.Day = "day", e.Week = "week", e.Month = "month", e.Year = "year", e.FullProject = "full_project", e))(Ma || {}), fa = /* @__PURE__ */ ((e) => (e[e.Format = 1] = "Format", e[e.Effects = 2] = "Effects", e[e.Confirm = 3] = "Confirm", e[e.Finish = 4] = "Finish", e))(fa || {}), Ra = /* @__PURE__ */ ((e) => (e.CompanyAdmin = "company-admin", e.VideoWalls = "video-walls", e.MassCameraSharing = "mass-camera-sharing", e.ProjectSharing = "project-sharing", e))(Ra || {}), Pa = /* @__PURE__ */ ((e) => (e.SalesExecutive = "Sales Executive", e.CustomerSuccessManager = "Customer Success Manager", e))(Pa || {}), Da = /* @__PURE__ */ ((e) => (e.HQ = "HQ", e.PM = "PM", e.QS = "QS", e.Marketing = "Marketing", e.HS = "H&S", e.DI = "DI", e.Other = "Other", e))(Da || {}), _a = /* @__PURE__ */ ((e) => (e.LiveView = "live", e.Video = "video", e.Image = "image", e))(_a || {}), Ua = /* @__PURE__ */ ((e) => (e.Daily = "daily", e))(Ua || {}), ja = /* @__PURE__ */ ((e) => (e.WeatherStack = "weather_stack", e.XWeather = "xweather", e))(ja || {}), Ba = /* @__PURE__ */ ((e) => (e.Recordings = "recordings", e.ThreeSixty = "360", e.Drone = "drone", e.Timeline = "timeline", e))(Ba || {}), Oa = /* @__PURE__ */ ((e) => (e.Info = "Info", e.Danger = "Danger", e.Restricted = "Restricted", e))(Oa || {}), Fa = /* @__PURE__ */ ((e) => (e.Helmet = "helmet", e.HighVisibilityVest = "high-visibility-vest", e.SafetyGlasses = "safety-glasses", e.Person = "person", e.Man = "man", e.Woman = "woman", e))(Fa || {}), Na = /* @__PURE__ */ ((e) => (e[e.Yolov10 = 1] = "Yolov10", e[e.Yolov11 = 2] = "Yolov11", e[e.Yolov112 = 3] = "Yolov112", e[e.GroundingDino = 4] = "GroundingDino", e[e.Owlv2 = 5] = "Owlv2", e))(Na || {}), Ga = /* @__PURE__ */ ((e) => (e.AND = "and", e.OR = "or", e))(Ga || {}), Ha = /* @__PURE__ */ ((e) => (e.Imperial = "imperial", e.Metric = "metric", e))(Ha || {}), Va = /* @__PURE__ */ ((e) => (e.Ios = "ios", e.Android = "android", e))(Va || {}), va = /* @__PURE__ */ ((e) => (e.Itwin = "itwin", e.Cesium = "cesium", e))(va || {}), Wa = /* @__PURE__ */ ((e) => (e.ThreeSixtyView = "360", e.BIMView = "bim", e.BimCompare = "bim-compare", e.GateReport = "gate-report", e.DroneView = "drone-view", e.Compare = "compare", e.Timeline = "timeline", e.WeatherReport = "weather-report", e))(Wa || {}), X = /* @__PURE__ */ ((e) => (e.Jpeg = "jpeg", e.Pdf = "pdf", e.Csv = "csv", e))(X || {}), xa = /* @__PURE__ */ ((e) => (e.CopilotMessage = "copilot_message", e))(xa || {}), za = /* @__PURE__ */ ((e) => (e.Year = "year", e.Month = "month", e.Week = "week", e.Day = "day", e.Hour = "hour", e.Minute = "minute", e.Events = "events", e))(za || {}), La = /* @__PURE__ */ ((e) => (e.Idle = "idle", e.Loading = "loading", e.Success = "success", e.Error = "error", e))(La || {}), Za = /* @__PURE__ */ ((e) => (e.Up = "up", e.Down = "down", e.Left = "left", e.Right = "right", e))(Za || {}), Xa = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e))(Xa || {}), Qa = /* @__PURE__ */ ((e) => (e.New = "new", e.Active = "active", e.Deployed = "deployed", e.Decommissioned = "decommissioned", e))(Qa || {}), qa = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.EMEA = "emea", e.LATAM = "latam", e.US = "na", e))(qa || {}), Ja = /* @__PURE__ */ ((e) => (e.NvrOffline = "nvr_offline", e.OfflineScheduled = "offline_scheduled", e.UnknownCamera = "unknown_camera", e.NotRecordingCamera = "not_recording_camera", e.FullSD = "full_sd", e.FullStorage = "full_storage", e.HddUnmounted = "hdd_unmounted", e.NoHdd = "no_hdd", e.MissingRouterInfo = "missing_router_info", e.AcFailure = "ac_failure", e.LowBattery = "low_battery", e))(Ja || {}), Ya = /* @__PURE__ */ ((e) => (e.SolarCharger = "solar_charger", e.PanelPower = "panel_power", e))(Ya || {}), Q = /* @__PURE__ */ ((e) => (e.Last15Minutes = "now-15m", e.Last1Hour = "now-1h", e.Last24Hours = "now-24h", e.Last7Days = "now-7d", e.Last30Days = "now-30d", e.Last90Days = "now-90d", e))(Q || {}), Ka = /* @__PURE__ */ ((e) => (e.SbcCpuLoad = "SbcCpuLoad", e.SbcSystemLoad5MnAvg = "SbcSystemLoad5MnAvg", e.SbcSystemLoad15MnAvg = "SbcSystemLoad15MnAvg", e.SbcRamUsed = "SbcRamUsed", e.SbcSwapUsed = "SbcSwapUsed", e.SbcRootFsUsed = "SbcRootFsUsed", e.SbcCpuCoresTotal = "SbcCpuCoresTotal", e.SbcRamTotal = "SbcRamTotal", e.SbcSwapTotal = "SbcSwapTotal", e.SbcRootFsTotal = "SbcRootFsTotal", e.SbcUptime = "SbcUptime", e.SbcCpuStats = "SbcCpuStats", e.SbcRamStats = "SbcRamStats", e.SbcNetworkStats = "SbcNetworkStats", e.SbcTimeSyncStats = "SbcTimeSyncStats", e.SbcTemperatureStats = "SbcTemperatureStats", e.SbcTimeSyncDriftStats = "SbcTimeSyncDriftStats", e.CameraInfo = "CameraInfo", e.CameraRecordingStateTimeline = "CameraRecordingStateTimeline", e.CameraStreamInfo = "CameraStreamInfo", e.LocalStorage = "LocalStorage", e.StorageSpaceUsed = "StorageSpaceUsed", e.RouterTemperature = "RouterTemperature", e.RouterCpuLoad = "RouterCpuLoad", e.RouterRamUsed = "RouterRamUsed", e.RouterSystemLoad5MnAvg = "RouterSystemLoad5MnAvg", e.RouterSwapTotal = "RouterSwapTotal", e.RouterRamTotal = "RouterRamTotal", e.RouterUptime = "RouterUptime", e.RouterCpuCoresTotal = "RouterCpuCoresTotal", e.RouterSignalReliability = "RouterSignalReliability", e.RouterSINR = "RouterSINR", e.RouterRSRP = "RouterRSRP", e.RouterRSRQ = "RouterRSRQ", e.RouterRSSI = "RouterRSSI", e.RouterSignalStrengthStats = "RouterSignalStrengthStats", e.RouterSignalQualityStats = "RouterSignalQualityStats", e.RouterDataConsumptionStats = "RouterDataConsumptionStats", e.BatteryVoltageAndCurrentStats = "BatteryVoltageAndCurrentStats", e.PanelVoltageAndPowerStats = "PanelVoltageAndPowerStats", e.ExNvrStatus = "ExNvrStatus", e.ExNvrVersion = "ExNvrVersion", e.ExNvrMemoryUsage = "ExNvrMemoryUsage", e.ExNvrLogs = "ExNvrLogs", e))(Ka || {}), Ca = /* @__PURE__ */ ((e) => (e.Stat = "stat", e.Gauge = "gauge", e.Graph = "graph", e.Table = "table", e.StateTimeline = "state-timeline", e.Logs = "logs", e.TimeSeries = "timeseries", e.BarChart = "barchart", e))(Ca || {}), Ea = /* @__PURE__ */ ((e) => (e.Sata = "sata", e.Nvme = "nvme", e.Usb = "usb", e))(Ea || {}), Aa = /* @__PURE__ */ ((e) => (e.VH_STATUS = "vh_status", e.CR_UPDATED = "cr_updated", e.CR_CREATED = "cr_created", e.ONLINE = "online", e.OFFLINE = "offline", e.ON_HOLD = "on_hold", e.WAITING = "waiting", e.DECOMMISSIONED = "decommissioned", e.UNDER_MAINTENANCE = "under_maintenance", e.WAITING_FOR_SITE_VISIT = "waiting_for_site_visit", e.SMS = "sms", e.CUSTOM = "custom", e.PUBLIC_NOTE = "public_note", e.SIM = "sim", e.LOGIN = "login", e.LOGOUT = "logout", e.CREATE = "create", e.UPDATE = "update", e.DELETE = "delete", e.DEVICE_SETTINGS = "device_settings", e.LINK_SIM_WITH_ROUTER = "link_sim_with_router", e.UNLINK_SIM_FROM_ROUTER = "unlink_sim_from_router", e.LINK_CAMERA_WITH_ROUTER = "link_camera_with_router", e.UNLINK_CAMERA_FROM_ROUTER = "unlink_camera_from_router", e.SHARE = "share", e.UPDATE_SHARE = "update_share", e.DELETE_SHARE = "delete_share", e.SHARE_REQUEST = "share_request", e.DELETE_SHARE_REQUEST = "delete_share_request", e.TRANSFER_OWNERSHIP = "transfer_ownership", e.BIM_NOTE = "bim_note", e.GATE_REPORT_NOTE = "gate_report_note", e))(Aa || {}), Ia = /* @__PURE__ */ ((e) => (e.Cameras = "cameras", e.Projects = "projects", e.Layers = "layers", e.Routers = "routers", e.Sims = "sims", e.Hdds = "hdds", e.Nvr = "nvr", e.Archives = "archives", e.Users = "users", e.Rois = "rois", e.Kits = "kits", e.Roles = "roles", e.Tags = "tags", e.KitsTags = "kits_tags", e.Oauth = "oauth", e.StorageProviders = "storage_providers", e))(Ia || {}), ya = /* @__PURE__ */ ((e) => (e.Cancelling = "canceling", e.Cancelled = "cancelled", e.Completed = "completed", e.Failed = "failed", e.Pending = "pending", e.Processing = "processing", e))(ya || {}), et = /* @__PURE__ */ ((e) => (e.Cloud = "cloud", e.Local = "local", e.Timelapse = "timelapse", e))(et || {}), rt = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Failed = "failed", e.Processing = "processing", e.Pending = "pending", e.Cancelled = "cancelled", e))(rt || {}), at = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segments = "segments", e))(at || {}), tt = /* @__PURE__ */ ((e) => (e.Condition = "condition", e.Object = "object", e.Area = "in_area", e.Time = "time", e.Operator = "operator", e.View = "view", e.DateRange = "date_range", e.Heatmap = "heatmap", e))(tt || {}), ot = /* @__PURE__ */ ((e) => (e.InArea = "in_area", e.Intersects = "intersects", e.Time = "time", e))(ot || {}), st = /* @__PURE__ */ ((e) => (e.Tracking = "tracking", e.Segments = "segments", e))(st || {}), it = /* @__PURE__ */ ((e) => (e.All = "all", e.FirstLastSeen = "first_last_seen", e))(it || {}), nt = /* @__PURE__ */ ((e) => (e.And = "AND", e.Or = "OR", e))(nt || {}), lt = /* @__PURE__ */ ((e) => (e.Near = "near", e.Far = "far", e.Intersects = "intersects", e.DoesNotIntersect = "does_not_intersect", e.Inside = "inside", e.Outside = "outside", e.DistanceBelow = "distance_below", e.DistanceAbove = "distance_above", e.Area = "in_area", e.Equal = "=", e))(lt || {}), gt = /* @__PURE__ */ ((e) => (e.Selection = "selection", e.Spatial = "spatial", e.Area = "area", e.GeoArea = "in_geo_area", e.Iou = "iou", e.Near = "near", e.Far = "far", e))(gt || {}), mt = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.ThreeSixty = "360", e))(mt || {}), pt = /* @__PURE__ */ ((e) => (e.Minute = "Minutes", e.Hour = "Hours", e.Day = "Days", e))(pt || {}), ct = /* @__PURE__ */ ((e) => (e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(ct || {}), ut = /* @__PURE__ */ ((e) => (e.DarkMode = "darkMode", e.Calendar = "calendar", e.HasDelay = "hasDelay", e.Delay = "delay", e.DelayUnit = "delayUnit", e.HasRange = "hasRange", e.DateRange = "dateRange", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(ut || {}), dt = /* @__PURE__ */ ((e) => (e.Fullscreen = "fullscreen", e.Download = "download", e.Zoom = "zoom", e.Playpause = "playpause", e.Refresh = "refresh", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(dt || {}), ht = /* @__PURE__ */ ((e) => (e.Timeline = "timeline", e.Calendar = "calendar", e.DarkMode = "darkMode", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(ht || {}), St = /* @__PURE__ */ ((e) => (e.Preset = "preset", e.RefreshRate = "refreshRate", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(St || {}), $t = /* @__PURE__ */ ((e) => (e.DateId = "dateId", e.DateLocked = "dateLocked", e.FloorId = "floorId", e.FloorLocked = "floorLocked", e.Marker = "markerId", e.MarkerLocked = "markerLocked", e.MediaLocked = "mediaLocked", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))($t || {}), Tt = /* @__PURE__ */ ((e) => (e.LiveWidget = "Live View", e.Recording = "Recordings", e.BimCompare = "BIM Compare", e.VideoWall = "Video Wall", e.ThreeSixty = "360", e))(Tt || {});
28
+ const $o = {
10
29
  camera: [
11
30
  "Live View",
12
31
  "Recordings",
@@ -19,268 +38,321 @@ const Vt = {
19
38
  /* ThreeSixty */
20
39
  ]
21
40
  };
22
- var Ia = /* @__PURE__ */ ((e) => (e[e.Andorra = 1] = "Andorra", e[e.UnitedArabEmirates = 2] = "UnitedArabEmirates", e[e.Afghanistan = 3] = "Afghanistan", e[e.AntiguaAndBarbuda = 4] = "AntiguaAndBarbuda", e[e.Anguilla = 5] = "Anguilla", e[e.Albania = 6] = "Albania", e[e.Armenia = 7] = "Armenia", e[e.NetherlandsAntilles = 8] = "NetherlandsAntilles", e[e.Angola = 9] = "Angola", e[e.Antarctica = 10] = "Antarctica", e[e.Argentina = 11] = "Argentina", e[e.AmericanSamoa = 12] = "AmericanSamoa", e[e.Austria = 13] = "Austria", e[e.Australia = 14] = "Australia", e[e.Aruba = 15] = "Aruba", e[e.AlandIslands = 16] = "AlandIslands", e[e.Azerbaijan = 17] = "Azerbaijan", e[e.BosniaAndHerzegovina = 18] = "BosniaAndHerzegovina", e[e.Barbados = 19] = "Barbados", e[e.Bangladesh = 20] = "Bangladesh", e[e.Belgium = 21] = "Belgium", e[e.BurkinaFaso = 22] = "BurkinaFaso", e[e.Bulgaria = 23] = "Bulgaria", e[e.Bahrain = 24] = "Bahrain", e[e.Burundi = 25] = "Burundi", e[e.Benin = 26] = "Benin", e[e.Bermuda = 27] = "Bermuda", e[e.BruneiDarussalam = 28] = "BruneiDarussalam", e[e.Bolivia = 29] = "Bolivia", e[e.Brazil = 30] = "Brazil", e[e.Bahamas = 31] = "Bahamas", e[e.Bhutan = 32] = "Bhutan", e[e.BouvetIsland = 33] = "BouvetIsland", e[e.Botswana = 34] = "Botswana", e[e.Belarus = 35] = "Belarus", e[e.Belize = 36] = "Belize", e[e.Canada = 37] = "Canada", e[e.CocosKeelingIslands = 38] = "CocosKeelingIslands", e[e.CongoKinshasa = 39] = "CongoKinshasa", e[e.CentralAfricanRepublic = 40] = "CentralAfricanRepublic", e[e.CongoBrazzaville = 41] = "CongoBrazzaville", e[e.Switzerland = 42] = "Switzerland", e[e.CoteDIvoire = 43] = "CoteDIvoire", e[e.CookIslands = 44] = "CookIslands", e[e.Chile = 45] = "Chile", e[e.Cameroon = 46] = "Cameroon", e[e.China = 47] = "China", e[e.Colombia = 48] = "Colombia", e[e.CostaRica = 49] = "CostaRica", e[e.Cuba = 50] = "Cuba", e[e.CapeVerde = 51] = "CapeVerde", e[e.ChristmasIsland = 52] = "ChristmasIsland", e[e.Cyprus = 53] = "Cyprus", e[e.CzechRepublic = 54] = "CzechRepublic", e[e.Germany = 55] = "Germany", e[e.Djibouti = 56] = "Djibouti", e[e.Denmark = 57] = "Denmark", e[e.Dominica = 58] = "Dominica", e[e.DominicanRepublic = 59] = "DominicanRepublic", e[e.Algeria = 60] = "Algeria", e[e.Ecuador = 61] = "Ecuador", e[e.Estonia = 62] = "Estonia", e[e.Egypt = 63] = "Egypt", e[e.WesternSahara = 64] = "WesternSahara", e[e.Eritrea = 65] = "Eritrea", e[e.Spain = 66] = "Spain", e[e.Ethiopia = 67] = "Ethiopia", e[e.Finland = 68] = "Finland", e[e.Fiji = 69] = "Fiji", e[e.FalklandIslands = 70] = "FalklandIslands", e[e.Micronesia = 71] = "Micronesia", e[e.FaroeIslands = 72] = "FaroeIslands", e[e.France = 73] = "France", e[e.Gabon = 74] = "Gabon", e[e.UnitedKingdom = 75] = "UnitedKingdom", e[e.Grenada = 76] = "Grenada", e[e.Georgia = 77] = "Georgia", e[e.FrenchGuiana = 78] = "FrenchGuiana", e[e.Guernsey = 79] = "Guernsey", e[e.Ghana = 80] = "Ghana", e[e.Gibraltar = 81] = "Gibraltar", e[e.Greenland = 82] = "Greenland", e[e.Gambia = 83] = "Gambia", e[e.Guinea = 84] = "Guinea", e[e.Guadeloupe = 85] = "Guadeloupe", e[e.EquatorialGuinea = 86] = "EquatorialGuinea", e[e.Greece = 87] = "Greece", e[e.SouthGeorgiaAndTheSouthSandwichIslands = 88] = "SouthGeorgiaAndTheSouthSandwichIslands", e[e.Guatemala = 89] = "Guatemala", e[e.Guam = 90] = "Guam", e[e.GuineaBissau = 91] = "GuineaBissau", e[e.Guyana = 92] = "Guyana", e[e.HongKong = 93] = "HongKong", e[e.HeardIslandAndMcDonaldIslands = 94] = "HeardIslandAndMcDonaldIslands", e[e.Honduras = 95] = "Honduras", e[e.Croatia = 96] = "Croatia", e[e.Haiti = 97] = "Haiti", e[e.Hungary = 98] = "Hungary", e[e.Indonesia = 99] = "Indonesia", e[e.Ireland = 100] = "Ireland", e[e.Israel = 101] = "Israel", e[e.IsleOfMan = 102] = "IsleOfMan", e[e.India = 103] = "India", e[e.BritishIndianOceanTerritory = 104] = "BritishIndianOceanTerritory", e[e.Iraq = 105] = "Iraq", e[e.Iran = 106] = "Iran", e[e.Iceland = 107] = "Iceland", e[e.Italy = 108] = "Italy", e[e.Jersey = 109] = "Jersey", e[e.Jamaica = 110] = "Jamaica", e[e.Jordan = 111] = "Jordan", e[e.Japan = 112] = "Japan", e[e.Kenya = 113] = "Kenya", e[e.Kyrgyzstan = 114] = "Kyrgyzstan", e[e.Cambodia = 115] = "Cambodia", e[e.Kiribati = 116] = "Kiribati", e[e.Comoros = 117] = "Comoros", e[e.SaintKittsAndNevis = 118] = "SaintKittsAndNevis", e[e.NorthKorea = 119] = "NorthKorea", e[e.SouthKorea = 120] = "SouthKorea", e[e.Kuwait = 121] = "Kuwait", e[e.CaymanIslands = 122] = "CaymanIslands", e[e.Kazakhstan = 123] = "Kazakhstan", e[e.Laos = 124] = "Laos", e[e.Lebanon = 125] = "Lebanon", e[e.SaintLucia = 126] = "SaintLucia", e[e.Liechtenstein = 127] = "Liechtenstein", e[e.SriLanka = 128] = "SriLanka", e[e.Liberia = 129] = "Liberia", e[e.Lesotho = 130] = "Lesotho", e[e.Lithuania = 131] = "Lithuania", e[e.Luxembourg = 132] = "Luxembourg", e[e.Latvia = 133] = "Latvia", e[e.LibyanArabJamahiriya = 134] = "LibyanArabJamahiriya", e[e.Morocco = 135] = "Morocco", e[e.Monaco = 136] = "Monaco", e[e.Moldova = 137] = "Moldova", e[e.Montenegro = 138] = "Montenegro", e[e.Madagascar = 139] = "Madagascar", e[e.MarshallIslands = 140] = "MarshallIslands", e[e.Macedonia = 141] = "Macedonia", e[e.Mali = 142] = "Mali", e[e.Myanmar = 143] = "Myanmar", e[e.Mongolia = 144] = "Mongolia", e[e.Macao = 145] = "Macao", e[e.NorthernMarianaIslands = 146] = "NorthernMarianaIslands", e[e.Martinique = 147] = "Martinique", e[e.Mauritania = 148] = "Mauritania", e[e.Montserrat = 149] = "Montserrat", e[e.Malta = 150] = "Malta", e[e.Mauritius = 151] = "Mauritius", e[e.Maldives = 152] = "Maldives", e[e.Malawi = 153] = "Malawi", e[e.Mexico = 154] = "Mexico", e[e.Malaysia = 155] = "Malaysia", e[e.Mozambique = 156] = "Mozambique", e[e.Namibia = 157] = "Namibia", e[e.NewCaledonia = 158] = "NewCaledonia", e[e.Niger = 159] = "Niger", e[e.NorfolkIsland = 160] = "NorfolkIsland", e[e.Nigeria = 161] = "Nigeria", e[e.Nicaragua = 162] = "Nicaragua", e[e.Netherlands = 163] = "Netherlands", e[e.Norway = 164] = "Norway", e[e.Nepal = 165] = "Nepal", e[e.Nauru = 166] = "Nauru", e[e.Niue = 167] = "Niue", e[e.NewZealand = 168] = "NewZealand", e[e.Oman = 169] = "Oman", e[e.Panama = 170] = "Panama", e[e.Peru = 171] = "Peru", e[e.FrenchPolynesia = 172] = "FrenchPolynesia", e[e.PapuaNewGuinea = 173] = "PapuaNewGuinea", e[e.Philippines = 174] = "Philippines", e[e.Pakistan = 175] = "Pakistan", e[e.Poland = 176] = "Poland", e[e.SaintPierreAndMiquelon = 177] = "SaintPierreAndMiquelon", e[e.Pitcairn = 178] = "Pitcairn", e[e.PuertoRico = 179] = "PuertoRico", e[e.PalestinianTerritory = 180] = "PalestinianTerritory", e[e.Portugal = 181] = "Portugal", e[e.Palau = 182] = "Palau", e[e.Paraguay = 183] = "Paraguay", e[e.Qatar = 184] = "Qatar", e[e.Reunion = 185] = "Reunion", e[e.Romania = 186] = "Romania", e[e.Serbia = 187] = "Serbia", e[e.RussianFederation = 188] = "RussianFederation", e[e.Rwanda = 189] = "Rwanda", e[e.SaudiArabia = 190] = "SaudiArabia", e[e.SolomonIslands = 191] = "SolomonIslands", e[e.Seychelles = 192] = "Seychelles", e[e.Sudan = 193] = "Sudan", e[e.Sweden = 194] = "Sweden", e[e.Singapore = 195] = "Singapore", e[e.SaintHelena = 196] = "SaintHelena", e[e.Slovenia = 197] = "Slovenia", e[e.SvalbardAndJanMayen = 198] = "SvalbardAndJanMayen", e[e.Slovakia = 199] = "Slovakia", e[e.SierraLeone = 200] = "SierraLeone", e[e.SanMarino = 201] = "SanMarino", e[e.Senegal = 202] = "Senegal", e[e.Somalia = 203] = "Somalia", e[e.Suriname = 204] = "Suriname", e[e.SaoTomeAndPrincipe = 205] = "SaoTomeAndPrincipe", e[e.ElSalvador = 206] = "ElSalvador", e[e.SyrianArabRepublic = 207] = "SyrianArabRepublic", e[e.Swaziland = 208] = "Swaziland", e[e.TurksAndCaicosIslands = 209] = "TurksAndCaicosIslands", e[e.Chad = 210] = "Chad", e[e.FrenchSouthernTerritories = 211] = "FrenchSouthernTerritories", e[e.Togo = 212] = "Togo", e[e.Thailand = 213] = "Thailand", e[e.Tajikistan = 214] = "Tajikistan", e[e.Tokelau = 215] = "Tokelau", e[e.TimorLeste = 216] = "TimorLeste", e[e.Turkmenistan = 217] = "Turkmenistan", e[e.Tunisia = 218] = "Tunisia", e[e.Tonga = 219] = "Tonga", e[e.Turkey = 220] = "Turkey", e[e.TrinidadAndTobago = 221] = "TrinidadAndTobago", e[e.Tuvalu = 222] = "Tuvalu", e[e.Taiwan = 223] = "Taiwan", e[e.Tanzania = 224] = "Tanzania", e[e.Ukraine = 225] = "Ukraine", e[e.Uganda = 226] = "Uganda", e[e.UnitedStatesMinorOutlyingIslands = 227] = "UnitedStatesMinorOutlyingIslands", e[e.UnitedStates = 228] = "UnitedStates", e[e.Uruguay = 229] = "Uruguay", e[e.Uzbekistan = 230] = "Uzbekistan", e[e.VaticanCityState = 231] = "VaticanCityState", e[e.SaintVincentAndTheGrenadines = 232] = "SaintVincentAndTheGrenadines", e[e.Venezuela = 233] = "Venezuela", e[e.VirginIslandsBritish = 234] = "VirginIslandsBritish", e[e.VirginIslandsUS = 235] = "VirginIslandsUS", e[e.VietNam = 236] = "VietNam", e[e.Vanuatu = 237] = "Vanuatu", e[e.WallisAndFutuna = 238] = "WallisAndFutuna", e[e.Samoa = 239] = "Samoa", e[e.Yemen = 240] = "Yemen", e[e.Mayotte = 241] = "Mayotte", e[e.SouthAfrica = 242] = "SouthAfrica", e[e.Zambia = 243] = "Zambia", e[e.Zimbabwe = 244] = "Zimbabwe", e))(Ia || {}), ya = /* @__PURE__ */ ((e) => (e.Andorra = "ad", e.UnitedArabEmirates = "ae", e.Afghanistan = "af", e.AntiguaAndBarbuda = "ag", e.Anguilla = "ai", e.Albania = "al", e.Armenia = "am", e.NetherlandsAntilles = "an", e.Angola = "ao", e.Antarctica = "aq", e.Argentina = "ar", e.AmericanSamoa = "as", e.Austria = "at", e.Australia = "au", e.Aruba = "aw", e.AlandIslands = "ax", e.Azerbaijan = "az", e.BosniaAndHerzegovina = "ba", e.Barbados = "bb", e.Bangladesh = "bd", e.Belgium = "be", e.BurkinaFaso = "bf", e.Bulgaria = "bg", e.Bahrain = "bh", e.Burundi = "bi", e.Benin = "bj", e.Bermuda = "bm", e.BruneiDarussalam = "bn", e.Bolivia = "bo", e.Brazil = "br", e.Bahamas = "bs", e.Bhutan = "bt", e.BouvetIsland = "bv", e.Botswana = "bw", e.Belarus = "by", e.Belize = "bz", e.Canada = "ca", e.CocosKeelingIslands = "cc", e.CongoKinshasa = "cd", e.CentralAfricanRepublic = "cf", e.CongoBrazzaville = "cg", e.Switzerland = "ch", e.CoteDIvoire = "ci", e.CookIslands = "ck", e.Chile = "cl", e.Cameroon = "cm", e.China = "cn", e.Colombia = "co", e.CostaRica = "cr", e.Cuba = "cu", e.CapeVerde = "cv", e.ChristmasIsland = "cx", e.Cyprus = "cy", e.CzechRepublic = "cz", e.Germany = "de", e.Djibouti = "dj", e.Denmark = "dk", e.Dominica = "dm", e.DominicanRepublic = "do", e.Algeria = "dz", e.Ecuador = "ec", e.Estonia = "ee", e.Egypt = "eg", e.WesternSahara = "eh", e.Eritrea = "er", e.Spain = "es", e.Ethiopia = "et", e.Finland = "fi", e.Fiji = "fj", e.FalklandIslands = "fk", e.Micronesia = "fm", e.FaroeIslands = "fo", e.France = "fr", e.Gabon = "ga", e.UnitedKingdom = "gb", e.Grenada = "gd", e.Georgia = "ge", e.FrenchGuiana = "gf", e.Guernsey = "gg", e.Ghana = "gh", e.Gibraltar = "gi", e.Greenland = "gl", e.Gambia = "gm", e.Guinea = "gn", e.Guadeloupe = "gp", e.EquatorialGuinea = "gq", e.Greece = "gr", e.SouthGeorgiaAndTheSouthSandwichIslands = "gs", e.Guatemala = "gt", e.Guam = "gu", e.GuineaBissau = "gw", e.Guyana = "gy", e.HongKong = "hk", e.HeardIslandAndMcDonaldIslands = "hm", e.Honduras = "hn", e.Croatia = "hr", e.Haiti = "ht", e.Hungary = "hu", e.Indonesia = "id", e.Ireland = "ie", e.Israel = "il", e.IsleOfMan = "im", e.India = "in", e.BritishIndianOceanTerritory = "io", e.Iraq = "iq", e.Iran = "ir", e.Iceland = "is", e.Italy = "it", e.Jersey = "je", e.Jamaica = "jm", e.Jordan = "jo", e.Japan = "jp", e.Kenya = "ke", e.Kyrgyzstan = "kg", e.Cambodia = "kh", e.Kiribati = "ki", e.Comoros = "km", e.SaintKittsAndNevis = "kn", e.NorthKorea = "kp", e.SouthKorea = "kr", e.Kuwait = "kw", e.CaymanIslands = "ky", e.Kazakhstan = "kz", e.Laos = "la", e.Lebanon = "lb", e.SaintLucia = "lc", e.Liechtenstein = "li", e.SriLanka = "lk", e.Liberia = "lr", e.Lesotho = "ls", e.Lithuania = "lt", e.Luxembourg = "lu", e.Latvia = "lv", e.LibyanArabJamahiriya = "ly", e.Morocco = "ma", e.Monaco = "mc", e.Moldova = "md", e.Montenegro = "me", e.Madagascar = "mg", e.MarshallIslands = "mh", e.Macedonia = "mk", e.Mali = "ml", e.Myanmar = "mm", e.Mongolia = "mn", e.Macao = "mo", e.NorthernMarianaIslands = "mp", e.Martinique = "mq", e.Mauritania = "mr", e.Montserrat = "ms", e.Malta = "mt", e.Mauritius = "mu", e.Maldives = "mv", e.Malawi = "mw", e.Mexico = "mx", e.Malaysia = "my", e.Mozambique = "mz", e.Namibia = "na", e.NewCaledonia = "nc", e.Niger = "ne", e.NorfolkIsland = "nf", e.Nigeria = "ng", e.Nicaragua = "ni", e.Netherlands = "nl", e.Norway = "no", e.Nepal = "np", e.Nauru = "nr", e.Niue = "nu", e.NewZealand = "nz", e.Oman = "om", e.Panama = "pa", e.Peru = "pe", e.FrenchPolynesia = "pf", e.PapuaNewGuinea = "pg", e.Philippines = "ph", e.Pakistan = "pk", e.Poland = "pl", e.SaintPierreAndMiquelon = "pm", e.Pitcairn = "pn", e.PuertoRico = "pr", e.PalestinianTerritory = "ps", e.Portugal = "pt", e.Palau = "pw", e.Paraguay = "py", e.Qatar = "qa", e.Reunion = "re", e.Romania = "ro", e.Serbia = "rs", e.RussianFederation = "ru", e.Rwanda = "rw", e.SaudiArabia = "sa", e.SolomonIslands = "sb", e.Seychelles = "sc", e.Sudan = "sd", e.Sweden = "se", e.Singapore = "sg", e.SaintHelena = "sh", e.Slovenia = "si", e.SvalbardAndJanMayen = "sj", e.Slovakia = "sk", e.SierraLeone = "sl", e.SanMarino = "sm", e.Senegal = "sn", e.Somalia = "so", e.Suriname = "sr", e.SaoTomeAndPrincipe = "st", e.ElSalvador = "sv", e.SyrianArabRepublic = "sy", e.Swaziland = "sz", e.TurksAndCaicosIslands = "tc", e.Chad = "td", e.FrenchSouthernTerritories = "tf", e.Togo = "tg", e.Thailand = "th", e.Tajikistan = "tj", e.Tokelau = "tk", e.TimorLeste = "tl", e.Turkmenistan = "tm", e.Tunisia = "tn", e.Tonga = "to", e.Turkey = "tr", e.TrinidadAndTobago = "tt", e.Tuvalu = "tv", e.Taiwan = "tw", e.Tanzania = "tz", e.Ukraine = "ua", e.Uganda = "ug", e.UnitedStatesMinorOutlyingIslands = "um", e.UnitedStates = "us", e.Uruguay = "uy", e.Uzbekistan = "uz", e.VaticanCityState = "va", e.SaintVincentAndTheGrenadines = "vc", e.Venezuela = "ve", e.VirginIslandsBritish = "vg", e.VirginIslandsUS = "vi", e.VietNam = "vn", e.Vanuatu = "vu", e.WallisAndFutuna = "wf", e.Samoa = "ws", e.Yemen = "ye", e.Mayotte = "yt", e.SouthAfrica = "za", e.Zambia = "zm", e.Zimbabwe = "zw", e))(ya || {}), et = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.AU = "au", e.EU = "eu", e.UK = "uk", e.IE = "ie", e.US = "us", e))(et || {}), rt = ((e) => (e[e.Aconex = j.Aconex] = "Aconex", e[e.Procore = j.Procore] = "Procore", e[e.Autodesk = j.Autodesk] = "Autodesk", e.Email = "email", e))(rt || {}), at = /* @__PURE__ */ ((e) => (e.Photo = "photo", e.Compare = "compare", e))(at || {}), tt = /* @__PURE__ */ ((e) => (e.DAU = "dau", e.WAU = "wau", e.MAU = "mau", e))(tt || {});
23
- const d = (e) => class extends Error {
41
+ var kt = /* @__PURE__ */ ((e) => (e[e.Andorra = 1] = "Andorra", e[e.UnitedArabEmirates = 2] = "UnitedArabEmirates", e[e.Afghanistan = 3] = "Afghanistan", e[e.AntiguaAndBarbuda = 4] = "AntiguaAndBarbuda", e[e.Anguilla = 5] = "Anguilla", e[e.Albania = 6] = "Albania", e[e.Armenia = 7] = "Armenia", e[e.NetherlandsAntilles = 8] = "NetherlandsAntilles", e[e.Angola = 9] = "Angola", e[e.Antarctica = 10] = "Antarctica", e[e.Argentina = 11] = "Argentina", e[e.AmericanSamoa = 12] = "AmericanSamoa", e[e.Austria = 13] = "Austria", e[e.Australia = 14] = "Australia", e[e.Aruba = 15] = "Aruba", e[e.AlandIslands = 16] = "AlandIslands", e[e.Azerbaijan = 17] = "Azerbaijan", e[e.BosniaAndHerzegovina = 18] = "BosniaAndHerzegovina", e[e.Barbados = 19] = "Barbados", e[e.Bangladesh = 20] = "Bangladesh", e[e.Belgium = 21] = "Belgium", e[e.BurkinaFaso = 22] = "BurkinaFaso", e[e.Bulgaria = 23] = "Bulgaria", e[e.Bahrain = 24] = "Bahrain", e[e.Burundi = 25] = "Burundi", e[e.Benin = 26] = "Benin", e[e.Bermuda = 27] = "Bermuda", e[e.BruneiDarussalam = 28] = "BruneiDarussalam", e[e.Bolivia = 29] = "Bolivia", e[e.Brazil = 30] = "Brazil", e[e.Bahamas = 31] = "Bahamas", e[e.Bhutan = 32] = "Bhutan", e[e.BouvetIsland = 33] = "BouvetIsland", e[e.Botswana = 34] = "Botswana", e[e.Belarus = 35] = "Belarus", e[e.Belize = 36] = "Belize", e[e.Canada = 37] = "Canada", e[e.CocosKeelingIslands = 38] = "CocosKeelingIslands", e[e.CongoKinshasa = 39] = "CongoKinshasa", e[e.CentralAfricanRepublic = 40] = "CentralAfricanRepublic", e[e.CongoBrazzaville = 41] = "CongoBrazzaville", e[e.Switzerland = 42] = "Switzerland", e[e.CoteDIvoire = 43] = "CoteDIvoire", e[e.CookIslands = 44] = "CookIslands", e[e.Chile = 45] = "Chile", e[e.Cameroon = 46] = "Cameroon", e[e.China = 47] = "China", e[e.Colombia = 48] = "Colombia", e[e.CostaRica = 49] = "CostaRica", e[e.Cuba = 50] = "Cuba", e[e.CapeVerde = 51] = "CapeVerde", e[e.ChristmasIsland = 52] = "ChristmasIsland", e[e.Cyprus = 53] = "Cyprus", e[e.CzechRepublic = 54] = "CzechRepublic", e[e.Germany = 55] = "Germany", e[e.Djibouti = 56] = "Djibouti", e[e.Denmark = 57] = "Denmark", e[e.Dominica = 58] = "Dominica", e[e.DominicanRepublic = 59] = "DominicanRepublic", e[e.Algeria = 60] = "Algeria", e[e.Ecuador = 61] = "Ecuador", e[e.Estonia = 62] = "Estonia", e[e.Egypt = 63] = "Egypt", e[e.WesternSahara = 64] = "WesternSahara", e[e.Eritrea = 65] = "Eritrea", e[e.Spain = 66] = "Spain", e[e.Ethiopia = 67] = "Ethiopia", e[e.Finland = 68] = "Finland", e[e.Fiji = 69] = "Fiji", e[e.FalklandIslands = 70] = "FalklandIslands", e[e.Micronesia = 71] = "Micronesia", e[e.FaroeIslands = 72] = "FaroeIslands", e[e.France = 73] = "France", e[e.Gabon = 74] = "Gabon", e[e.UnitedKingdom = 75] = "UnitedKingdom", e[e.Grenada = 76] = "Grenada", e[e.Georgia = 77] = "Georgia", e[e.FrenchGuiana = 78] = "FrenchGuiana", e[e.Guernsey = 79] = "Guernsey", e[e.Ghana = 80] = "Ghana", e[e.Gibraltar = 81] = "Gibraltar", e[e.Greenland = 82] = "Greenland", e[e.Gambia = 83] = "Gambia", e[e.Guinea = 84] = "Guinea", e[e.Guadeloupe = 85] = "Guadeloupe", e[e.EquatorialGuinea = 86] = "EquatorialGuinea", e[e.Greece = 87] = "Greece", e[e.SouthGeorgiaAndTheSouthSandwichIslands = 88] = "SouthGeorgiaAndTheSouthSandwichIslands", e[e.Guatemala = 89] = "Guatemala", e[e.Guam = 90] = "Guam", e[e.GuineaBissau = 91] = "GuineaBissau", e[e.Guyana = 92] = "Guyana", e[e.HongKong = 93] = "HongKong", e[e.HeardIslandAndMcDonaldIslands = 94] = "HeardIslandAndMcDonaldIslands", e[e.Honduras = 95] = "Honduras", e[e.Croatia = 96] = "Croatia", e[e.Haiti = 97] = "Haiti", e[e.Hungary = 98] = "Hungary", e[e.Indonesia = 99] = "Indonesia", e[e.Ireland = 100] = "Ireland", e[e.Israel = 101] = "Israel", e[e.IsleOfMan = 102] = "IsleOfMan", e[e.India = 103] = "India", e[e.BritishIndianOceanTerritory = 104] = "BritishIndianOceanTerritory", e[e.Iraq = 105] = "Iraq", e[e.Iran = 106] = "Iran", e[e.Iceland = 107] = "Iceland", e[e.Italy = 108] = "Italy", e[e.Jersey = 109] = "Jersey", e[e.Jamaica = 110] = "Jamaica", e[e.Jordan = 111] = "Jordan", e[e.Japan = 112] = "Japan", e[e.Kenya = 113] = "Kenya", e[e.Kyrgyzstan = 114] = "Kyrgyzstan", e[e.Cambodia = 115] = "Cambodia", e[e.Kiribati = 116] = "Kiribati", e[e.Comoros = 117] = "Comoros", e[e.SaintKittsAndNevis = 118] = "SaintKittsAndNevis", e[e.NorthKorea = 119] = "NorthKorea", e[e.SouthKorea = 120] = "SouthKorea", e[e.Kuwait = 121] = "Kuwait", e[e.CaymanIslands = 122] = "CaymanIslands", e[e.Kazakhstan = 123] = "Kazakhstan", e[e.Laos = 124] = "Laos", e[e.Lebanon = 125] = "Lebanon", e[e.SaintLucia = 126] = "SaintLucia", e[e.Liechtenstein = 127] = "Liechtenstein", e[e.SriLanka = 128] = "SriLanka", e[e.Liberia = 129] = "Liberia", e[e.Lesotho = 130] = "Lesotho", e[e.Lithuania = 131] = "Lithuania", e[e.Luxembourg = 132] = "Luxembourg", e[e.Latvia = 133] = "Latvia", e[e.LibyanArabJamahiriya = 134] = "LibyanArabJamahiriya", e[e.Morocco = 135] = "Morocco", e[e.Monaco = 136] = "Monaco", e[e.Moldova = 137] = "Moldova", e[e.Montenegro = 138] = "Montenegro", e[e.Madagascar = 139] = "Madagascar", e[e.MarshallIslands = 140] = "MarshallIslands", e[e.Macedonia = 141] = "Macedonia", e[e.Mali = 142] = "Mali", e[e.Myanmar = 143] = "Myanmar", e[e.Mongolia = 144] = "Mongolia", e[e.Macao = 145] = "Macao", e[e.NorthernMarianaIslands = 146] = "NorthernMarianaIslands", e[e.Martinique = 147] = "Martinique", e[e.Mauritania = 148] = "Mauritania", e[e.Montserrat = 149] = "Montserrat", e[e.Malta = 150] = "Malta", e[e.Mauritius = 151] = "Mauritius", e[e.Maldives = 152] = "Maldives", e[e.Malawi = 153] = "Malawi", e[e.Mexico = 154] = "Mexico", e[e.Malaysia = 155] = "Malaysia", e[e.Mozambique = 156] = "Mozambique", e[e.Namibia = 157] = "Namibia", e[e.NewCaledonia = 158] = "NewCaledonia", e[e.Niger = 159] = "Niger", e[e.NorfolkIsland = 160] = "NorfolkIsland", e[e.Nigeria = 161] = "Nigeria", e[e.Nicaragua = 162] = "Nicaragua", e[e.Netherlands = 163] = "Netherlands", e[e.Norway = 164] = "Norway", e[e.Nepal = 165] = "Nepal", e[e.Nauru = 166] = "Nauru", e[e.Niue = 167] = "Niue", e[e.NewZealand = 168] = "NewZealand", e[e.Oman = 169] = "Oman", e[e.Panama = 170] = "Panama", e[e.Peru = 171] = "Peru", e[e.FrenchPolynesia = 172] = "FrenchPolynesia", e[e.PapuaNewGuinea = 173] = "PapuaNewGuinea", e[e.Philippines = 174] = "Philippines", e[e.Pakistan = 175] = "Pakistan", e[e.Poland = 176] = "Poland", e[e.SaintPierreAndMiquelon = 177] = "SaintPierreAndMiquelon", e[e.Pitcairn = 178] = "Pitcairn", e[e.PuertoRico = 179] = "PuertoRico", e[e.PalestinianTerritory = 180] = "PalestinianTerritory", e[e.Portugal = 181] = "Portugal", e[e.Palau = 182] = "Palau", e[e.Paraguay = 183] = "Paraguay", e[e.Qatar = 184] = "Qatar", e[e.Reunion = 185] = "Reunion", e[e.Romania = 186] = "Romania", e[e.Serbia = 187] = "Serbia", e[e.RussianFederation = 188] = "RussianFederation", e[e.Rwanda = 189] = "Rwanda", e[e.SaudiArabia = 190] = "SaudiArabia", e[e.SolomonIslands = 191] = "SolomonIslands", e[e.Seychelles = 192] = "Seychelles", e[e.Sudan = 193] = "Sudan", e[e.Sweden = 194] = "Sweden", e[e.Singapore = 195] = "Singapore", e[e.SaintHelena = 196] = "SaintHelena", e[e.Slovenia = 197] = "Slovenia", e[e.SvalbardAndJanMayen = 198] = "SvalbardAndJanMayen", e[e.Slovakia = 199] = "Slovakia", e[e.SierraLeone = 200] = "SierraLeone", e[e.SanMarino = 201] = "SanMarino", e[e.Senegal = 202] = "Senegal", e[e.Somalia = 203] = "Somalia", e[e.Suriname = 204] = "Suriname", e[e.SaoTomeAndPrincipe = 205] = "SaoTomeAndPrincipe", e[e.ElSalvador = 206] = "ElSalvador", e[e.SyrianArabRepublic = 207] = "SyrianArabRepublic", e[e.Swaziland = 208] = "Swaziland", e[e.TurksAndCaicosIslands = 209] = "TurksAndCaicosIslands", e[e.Chad = 210] = "Chad", e[e.FrenchSouthernTerritories = 211] = "FrenchSouthernTerritories", e[e.Togo = 212] = "Togo", e[e.Thailand = 213] = "Thailand", e[e.Tajikistan = 214] = "Tajikistan", e[e.Tokelau = 215] = "Tokelau", e[e.TimorLeste = 216] = "TimorLeste", e[e.Turkmenistan = 217] = "Turkmenistan", e[e.Tunisia = 218] = "Tunisia", e[e.Tonga = 219] = "Tonga", e[e.Turkey = 220] = "Turkey", e[e.TrinidadAndTobago = 221] = "TrinidadAndTobago", e[e.Tuvalu = 222] = "Tuvalu", e[e.Taiwan = 223] = "Taiwan", e[e.Tanzania = 224] = "Tanzania", e[e.Ukraine = 225] = "Ukraine", e[e.Uganda = 226] = "Uganda", e[e.UnitedStatesMinorOutlyingIslands = 227] = "UnitedStatesMinorOutlyingIslands", e[e.UnitedStates = 228] = "UnitedStates", e[e.Uruguay = 229] = "Uruguay", e[e.Uzbekistan = 230] = "Uzbekistan", e[e.VaticanCityState = 231] = "VaticanCityState", e[e.SaintVincentAndTheGrenadines = 232] = "SaintVincentAndTheGrenadines", e[e.Venezuela = 233] = "Venezuela", e[e.VirginIslandsBritish = 234] = "VirginIslandsBritish", e[e.VirginIslandsUS = 235] = "VirginIslandsUS", e[e.VietNam = 236] = "VietNam", e[e.Vanuatu = 237] = "Vanuatu", e[e.WallisAndFutuna = 238] = "WallisAndFutuna", e[e.Samoa = 239] = "Samoa", e[e.Yemen = 240] = "Yemen", e[e.Mayotte = 241] = "Mayotte", e[e.SouthAfrica = 242] = "SouthAfrica", e[e.Zambia = 243] = "Zambia", e[e.Zimbabwe = 244] = "Zimbabwe", e))(kt || {}), bt = /* @__PURE__ */ ((e) => (e.Andorra = "ad", e.UnitedArabEmirates = "ae", e.Afghanistan = "af", e.AntiguaAndBarbuda = "ag", e.Anguilla = "ai", e.Albania = "al", e.Armenia = "am", e.NetherlandsAntilles = "an", e.Angola = "ao", e.Antarctica = "aq", e.Argentina = "ar", e.AmericanSamoa = "as", e.Austria = "at", e.Australia = "au", e.Aruba = "aw", e.AlandIslands = "ax", e.Azerbaijan = "az", e.BosniaAndHerzegovina = "ba", e.Barbados = "bb", e.Bangladesh = "bd", e.Belgium = "be", e.BurkinaFaso = "bf", e.Bulgaria = "bg", e.Bahrain = "bh", e.Burundi = "bi", e.Benin = "bj", e.Bermuda = "bm", e.BruneiDarussalam = "bn", e.Bolivia = "bo", e.Brazil = "br", e.Bahamas = "bs", e.Bhutan = "bt", e.BouvetIsland = "bv", e.Botswana = "bw", e.Belarus = "by", e.Belize = "bz", e.Canada = "ca", e.CocosKeelingIslands = "cc", e.CongoKinshasa = "cd", e.CentralAfricanRepublic = "cf", e.CongoBrazzaville = "cg", e.Switzerland = "ch", e.CoteDIvoire = "ci", e.CookIslands = "ck", e.Chile = "cl", e.Cameroon = "cm", e.China = "cn", e.Colombia = "co", e.CostaRica = "cr", e.Cuba = "cu", e.CapeVerde = "cv", e.ChristmasIsland = "cx", e.Cyprus = "cy", e.CzechRepublic = "cz", e.Germany = "de", e.Djibouti = "dj", e.Denmark = "dk", e.Dominica = "dm", e.DominicanRepublic = "do", e.Algeria = "dz", e.Ecuador = "ec", e.Estonia = "ee", e.Egypt = "eg", e.WesternSahara = "eh", e.Eritrea = "er", e.Spain = "es", e.Ethiopia = "et", e.Finland = "fi", e.Fiji = "fj", e.FalklandIslands = "fk", e.Micronesia = "fm", e.FaroeIslands = "fo", e.France = "fr", e.Gabon = "ga", e.UnitedKingdom = "gb", e.Grenada = "gd", e.Georgia = "ge", e.FrenchGuiana = "gf", e.Guernsey = "gg", e.Ghana = "gh", e.Gibraltar = "gi", e.Greenland = "gl", e.Gambia = "gm", e.Guinea = "gn", e.Guadeloupe = "gp", e.EquatorialGuinea = "gq", e.Greece = "gr", e.SouthGeorgiaAndTheSouthSandwichIslands = "gs", e.Guatemala = "gt", e.Guam = "gu", e.GuineaBissau = "gw", e.Guyana = "gy", e.HongKong = "hk", e.HeardIslandAndMcDonaldIslands = "hm", e.Honduras = "hn", e.Croatia = "hr", e.Haiti = "ht", e.Hungary = "hu", e.Indonesia = "id", e.Ireland = "ie", e.Israel = "il", e.IsleOfMan = "im", e.India = "in", e.BritishIndianOceanTerritory = "io", e.Iraq = "iq", e.Iran = "ir", e.Iceland = "is", e.Italy = "it", e.Jersey = "je", e.Jamaica = "jm", e.Jordan = "jo", e.Japan = "jp", e.Kenya = "ke", e.Kyrgyzstan = "kg", e.Cambodia = "kh", e.Kiribati = "ki", e.Comoros = "km", e.SaintKittsAndNevis = "kn", e.NorthKorea = "kp", e.SouthKorea = "kr", e.Kuwait = "kw", e.CaymanIslands = "ky", e.Kazakhstan = "kz", e.Laos = "la", e.Lebanon = "lb", e.SaintLucia = "lc", e.Liechtenstein = "li", e.SriLanka = "lk", e.Liberia = "lr", e.Lesotho = "ls", e.Lithuania = "lt", e.Luxembourg = "lu", e.Latvia = "lv", e.LibyanArabJamahiriya = "ly", e.Morocco = "ma", e.Monaco = "mc", e.Moldova = "md", e.Montenegro = "me", e.Madagascar = "mg", e.MarshallIslands = "mh", e.Macedonia = "mk", e.Mali = "ml", e.Myanmar = "mm", e.Mongolia = "mn", e.Macao = "mo", e.NorthernMarianaIslands = "mp", e.Martinique = "mq", e.Mauritania = "mr", e.Montserrat = "ms", e.Malta = "mt", e.Mauritius = "mu", e.Maldives = "mv", e.Malawi = "mw", e.Mexico = "mx", e.Malaysia = "my", e.Mozambique = "mz", e.Namibia = "na", e.NewCaledonia = "nc", e.Niger = "ne", e.NorfolkIsland = "nf", e.Nigeria = "ng", e.Nicaragua = "ni", e.Netherlands = "nl", e.Norway = "no", e.Nepal = "np", e.Nauru = "nr", e.Niue = "nu", e.NewZealand = "nz", e.Oman = "om", e.Panama = "pa", e.Peru = "pe", e.FrenchPolynesia = "pf", e.PapuaNewGuinea = "pg", e.Philippines = "ph", e.Pakistan = "pk", e.Poland = "pl", e.SaintPierreAndMiquelon = "pm", e.Pitcairn = "pn", e.PuertoRico = "pr", e.PalestinianTerritory = "ps", e.Portugal = "pt", e.Palau = "pw", e.Paraguay = "py", e.Qatar = "qa", e.Reunion = "re", e.Romania = "ro", e.Serbia = "rs", e.RussianFederation = "ru", e.Rwanda = "rw", e.SaudiArabia = "sa", e.SolomonIslands = "sb", e.Seychelles = "sc", e.Sudan = "sd", e.Sweden = "se", e.Singapore = "sg", e.SaintHelena = "sh", e.Slovenia = "si", e.SvalbardAndJanMayen = "sj", e.Slovakia = "sk", e.SierraLeone = "sl", e.SanMarino = "sm", e.Senegal = "sn", e.Somalia = "so", e.Suriname = "sr", e.SaoTomeAndPrincipe = "st", e.ElSalvador = "sv", e.SyrianArabRepublic = "sy", e.Swaziland = "sz", e.TurksAndCaicosIslands = "tc", e.Chad = "td", e.FrenchSouthernTerritories = "tf", e.Togo = "tg", e.Thailand = "th", e.Tajikistan = "tj", e.Tokelau = "tk", e.TimorLeste = "tl", e.Turkmenistan = "tm", e.Tunisia = "tn", e.Tonga = "to", e.Turkey = "tr", e.TrinidadAndTobago = "tt", e.Tuvalu = "tv", e.Taiwan = "tw", e.Tanzania = "tz", e.Ukraine = "ua", e.Uganda = "ug", e.UnitedStatesMinorOutlyingIslands = "um", e.UnitedStates = "us", e.Uruguay = "uy", e.Uzbekistan = "uz", e.VaticanCityState = "va", e.SaintVincentAndTheGrenadines = "vc", e.Venezuela = "ve", e.VirginIslandsBritish = "vg", e.VirginIslandsUS = "vi", e.VietNam = "vn", e.Vanuatu = "vu", e.WallisAndFutuna = "wf", e.Samoa = "ws", e.Yemen = "ye", e.Mayotte = "yt", e.SouthAfrica = "za", e.Zambia = "zm", e.Zimbabwe = "zw", e))(bt || {}), wt = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.AU = "au", e.EU = "eu", e.UK = "uk", e.IE = "ie", e.US = "us", e))(wt || {}), Mt = ((e) => (e[e.Aconex = F.Aconex] = "Aconex", e[e.Procore = F.Procore] = "Procore", e[e.Autodesk = F.Autodesk] = "Autodesk", e.Email = "email", e))(Mt || {}), ft = /* @__PURE__ */ ((e) => (e.Photo = "photo", e.Compare = "compare", e.GateReport = "gate_report", e))(ft || {}), Rt = /* @__PURE__ */ ((e) => (e.Type = "type", e.Cameras = "cameras", e.Settings = "settings", e.Destination = "destination", e))(Rt || {}), Pt = /* @__PURE__ */ ((e) => (e.DAU = "dau", e.WAU = "wau", e.MAU = "mau", e))(Pt || {}), Dt = /* @__PURE__ */ ((e) => (e.App = "app", e.Camera = "camera", e.Project = "project", e))(Dt || {});
42
+ function To(e) {
43
+ return e.resourceType === "project";
44
+ }
45
+ function ko(e) {
46
+ return e.resourceType === "camera";
47
+ }
48
+ var _t = /* @__PURE__ */ ((e) => (e.Revit = "Revit", e.Navisworks = "Navisworks", e.Drone = "Drone", e.Synchro = "Synchro", e))(_t || {}), Ut = /* @__PURE__ */ ((e) => (e.ITwin = "iTwin", e.Cesium = "Cesium", e.Forge = "Forge", e))(Ut || {}), jt = /* @__PURE__ */ ((e) => (e.GateReport = "gate_report", e.Ppe = "ppe", e.SiteAnalytics = "site_analytics", e))(jt || {}), Bt = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.OpenAi = "openai", e.Anthropic = "anthropic", e))(Bt || {}), Ot = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.View = "view", e))(Ot || {}), Ft = /* @__PURE__ */ ((e) => (e.Create = "create", e.Rotate = "rotate", e.Rename = "rename", e))(Ft || {});
49
+ const bo = {
50
+ gate_report: {
51
+ bg: "#ecfdf5",
52
+ fg: "#047857",
53
+ border: "#a7f3d0",
54
+ icon: "fa-truck"
55
+ },
56
+ ppe: {
57
+ bg: "#fff7ed",
58
+ fg: "#c2410c",
59
+ border: "#fed7aa",
60
+ icon: "fa-helmet-safety"
61
+ },
62
+ site_analytics: {
63
+ bg: "#eff6ff",
64
+ fg: "#1d4ed8",
65
+ border: "#bfdbfe",
66
+ icon: "fa-chart-simple"
67
+ },
68
+ generic: {
69
+ bg: "#f1f5f9",
70
+ fg: "#334155",
71
+ border: "#cbd5e1",
72
+ icon: "fa-cube"
73
+ }
74
+ }, wo = {
75
+ gemini: { bg: "#dbeafe", fg: "#1d4ed8", icon: "fa-gem" },
76
+ openai: { bg: "#dcfce7", fg: "#15803d", icon: "fa-robot" },
77
+ anthropic: { bg: "#fef3c7", fg: "#a16207", icon: "fa-brain" }
78
+ };
79
+ var Nt = /* @__PURE__ */ ((e) => (e.Gemini3Pro = "gemini-3-pro", e.Gemini3FlashPreview = "gemini-3-flash-preview", e.Gemini25Pro = "gemini-2.5-pro", e.Gemini25Flash = "gemini-2.5-flash", e.Gemini20Flash = "gemini-2.0-flash", e.Gpt5 = "gpt-5", e.Gpt5Mini = "gpt-5-mini", e.Gpt4o = "gpt-4o", e.Gpt4oMini = "gpt-4o-mini", e.ClaudeOpus45 = "claude-opus-4-5", e.ClaudeSonnet46 = "claude-sonnet-4-6", e.ClaudeHaiku45 = "claude-haiku-4-5", e))(Nt || {}), Gt = /* @__PURE__ */ ((e) => (e.Local = "local", e.Api = "api", e))(Gt || {}), Ht = /* @__PURE__ */ ((e) => (e.Running = "running", e.Stopped = "stopped", e.Restarting = "restarting", e))(Ht || {});
80
+ const b = (e) => class extends Error {
24
81
  constructor(r) {
25
82
  const t = r instanceof Error ? r : new Error(typeof r == "string" ? r : "unknown");
26
83
  super(t.message), this.name = e, this.message = t.message, this.stack = (t.stack || "").replace(/^Error: /, `${e}: `);
27
84
  }
28
- }, st = d(u.BadRequestError), it = d(u.NotFoundError), ot = d(u.UnauthorizedError), nt = d(
29
- u.GatewayTimeoutError
30
- ), lt = d(u.BadGatewayError), gt = d(u.ForbiddenError), xt = d(u.HlsError), Nt = d(u.SnapshotError), mt = d(u.ConflictError), pt = d(
31
- u.InternalServerError
85
+ }, Vt = b($.BadRequestError), vt = b($.NotFoundError), Wt = b($.UnauthorizedError), xt = b(
86
+ $.GatewayTimeoutError
87
+ ), zt = b($.BadGatewayError), Lt = b($.ForbiddenError), Mo = b($.HlsError), fo = b($.SnapshotError), Zt = b($.ConflictError), Xt = b(
88
+ $.InternalServerError
32
89
  );
33
- let V = 0;
34
- const ct = 10, ut = async () => {
35
- for (; V === ct; )
90
+ let G = 0;
91
+ const Qt = 10, qt = async () => {
92
+ for (; G === Qt; )
36
93
  await new Promise((e) => setTimeout(e, 1e3));
37
- V++, setTimeout(() => {
38
- V--;
94
+ G++, setTimeout(() => {
95
+ G--;
39
96
  }, 1e3);
40
- }, ht = async (e, r) => (e != null && e.raw || (e != null && e.timing && (e._metadata = { startTime: performance.now() }), await ut(), $t(e, r), St(e, r), r.app === "dashboard" && typeof document.referrer == "string" && document.referrer.length !== 0 && (e.headers.common["iframe-origin"] = new URL(document.referrer).origin), e.preserveCasing || Tt(e)), e), dt = (e) => {
41
- var t, s, i, n, l;
97
+ }, Jt = async (e, r) => {
98
+ var t;
99
+ if (e != null && e.raw)
100
+ return e;
101
+ if (e != null && e.timing && (e._metadata = { startTime: performance.now() }), await qt(), Ct(e, r), e != null && e.skipAuth ? At(e) : Kt(e, r), r.app === "dashboard" && typeof document.referrer == "string" && document.referrer.length !== 0 && ((t = e == null ? void 0 : e.headers) != null && t.common) && !(r.forgeTokenServerUrl && (e.url || "").startsWith(r.forgeTokenServerUrl))) {
102
+ const o = e.headers.common;
103
+ o["iframe-origin"] = new URL(document.referrer).origin;
104
+ }
105
+ return e.preserveCasing || Et(e), e;
106
+ }, Yt = (e) => {
107
+ var t, o, s, g, m;
42
108
  if ((t = e == null ? void 0 : e.config) != null && t.raw)
43
109
  return e;
44
110
  if ("data" in e) {
45
111
  if (e.data instanceof Blob)
46
112
  return e.data;
47
113
  } else return e;
48
- const r = (s = e == null ? void 0 : e.config) != null && s.preserveCasing ? e.data : k.camelizeKeys(e.data);
49
- if ((i = e == null ? void 0 : e.config) != null && i.timing && ((l = (n = e == null ? void 0 : e.config) == null ? void 0 : n._metadata) != null && l.startTime)) {
50
- const m = performance.now() - e.config._metadata.startTime;
114
+ const r = (o = e == null ? void 0 : e.config) != null && o.preserveCasing ? e.data : R.camelizeKeys(e.data);
115
+ if ((s = e == null ? void 0 : e.config) != null && s.timing && ((m = (g = e == null ? void 0 : e.config) == null ? void 0 : g._metadata) != null && m.startTime)) {
116
+ const u = performance.now() - e.config._metadata.startTime;
51
117
  return {
52
118
  ...e,
53
119
  data: r,
54
- duration: m
120
+ duration: u
55
121
  };
56
122
  }
57
123
  return r;
58
- }, X = async (e, r) => {
59
- var w, U, D, b, N, H, G;
60
- if ((w = e == null ? void 0 : e.config) != null && w.timing && ((D = (U = e == null ? void 0 : e.config) == null ? void 0 : U._metadata) != null && D.startTime)) {
61
- const K = performance.now() - e.config._metadata.startTime;
62
- return { error: e, duration: K };
124
+ }, q = async (e, r) => {
125
+ var D, j, B, f, V, v, W;
126
+ if ((D = e == null ? void 0 : e.config) != null && D.timing && ((B = (j = e == null ? void 0 : e.config) == null ? void 0 : j._metadata) != null && B.startTime)) {
127
+ const C = performance.now() - e.config._metadata.startTime;
128
+ return { error: e, duration: C };
63
129
  }
64
- const t = e.response ? e.response.status : null, s = (((b = e.config) == null ? void 0 : b.method) || "").toUpperCase(), i = (N = e.config) == null ? void 0 : N.url, n = ((G = (H = e == null ? void 0 : e.response) == null ? void 0 : H.data) == null ? void 0 : G.code) || "";
65
- let l = {}, m = e.message;
66
- switch (i && s && t && (m = `${s} ${i} (${t}) ${n}`.trim()), t) {
67
- case h.BadRequestError:
68
- l = new st(new Error(m));
130
+ const t = e.response ? e.response.status : null, o = (((f = e.config) == null ? void 0 : f.method) || "").toUpperCase(), s = (V = e.config) == null ? void 0 : V.url, g = ((W = (v = e == null ? void 0 : e.response) == null ? void 0 : v.data) == null ? void 0 : W.code) || "";
131
+ let m = {}, u = e.message;
132
+ switch (s && o && t && (u = `${o} ${s} (${t}) ${g}`.trim()), t) {
133
+ case k.BadRequestError:
134
+ m = new Vt(new Error(u));
69
135
  break;
70
- case h.UnauthorizedError:
71
- l = new ot(new Error(m));
136
+ case k.UnauthorizedError:
137
+ m = new Wt(new Error(u));
72
138
  break;
73
- case h.ForbiddenError:
74
- l = new gt(new Error(m));
139
+ case k.ForbiddenError:
140
+ m = new Lt(new Error(u));
75
141
  break;
76
- case h.NotFoundError:
77
- l = new it(new Error(m));
142
+ case k.NotFoundError:
143
+ m = new vt(new Error(u));
78
144
  break;
79
- case h.ConflictError:
80
- l = new mt(new Error(m));
145
+ case k.ConflictError:
146
+ m = new Zt(new Error(u));
81
147
  break;
82
- case h.InternalServerError:
83
- l = new pt(new Error(m));
148
+ case k.InternalServerError:
149
+ m = new Xt(new Error(u));
84
150
  break;
85
- case h.BadGatewayError:
86
- l = new lt(new Error(m));
151
+ case k.BadGatewayError:
152
+ m = new zt(new Error(u));
87
153
  break;
88
- case h.GatewayTimeoutError:
89
- l = new nt(new Error(m));
154
+ case k.GatewayTimeoutError:
155
+ m = new xt(new Error(u));
90
156
  break;
91
157
  case null:
92
158
  // null case
93
159
  case 0:
94
- l = new Error(
160
+ m = new Error(
95
161
  "A network error occurred. This could be a CORS issue, a cancel request or a dropped internet connection."
96
162
  );
97
163
  break;
98
164
  }
99
- if (S.isCancel(e) || t === h.NotFoundError)
100
- return Promise.reject(l);
165
+ if (w.isCancel(e) || t === k.NotFoundError)
166
+ return Promise.reject(m);
101
167
  console.warn("[@evercam/api/axios.ts]: Caught error:", e);
102
- const _ = r.errorLogger;
103
- return i && _ && _({
168
+ const M = r.errorLogger;
169
+ return s && M && M({
104
170
  // @ts-expect-error axios issue
105
171
  category: "axios.info",
106
172
  data: {
107
- url: `Error in URL: ${i}`,
173
+ url: `Error in URL: ${s}`,
108
174
  status: t
109
175
  }
110
- }), Promise.reject(l);
176
+ }), Promise.reject(m);
111
177
  }, J = (e) => {
112
178
  e.headers || (e.headers = {}), e.headers.common || (e.headers.common = {});
113
179
  };
114
- function St(e, r) {
115
- var s;
116
- const t = (s = r == null ? void 0 : r.getAuthToken) == null ? void 0 : s.call(r);
180
+ function Kt(e, r) {
181
+ var o;
182
+ const t = (o = r == null ? void 0 : r.getAuthToken) == null ? void 0 : o.call(r);
117
183
  t && (J(e), e.headers.common.Authorization = `Bearer ${t}`);
118
184
  }
119
- function $t(e, r) {
185
+ function Ct(e, r) {
120
186
  e.baseURL || (e.baseURL = r == null ? void 0 : r.baseUrl);
121
187
  }
122
- function Tt(e) {
123
- let r = {}, { data: t, params: s } = e;
188
+ function Et(e) {
189
+ let r = {}, { data: t, params: o } = e;
124
190
  if (t && !(t instanceof Blob || t instanceof FormData || typeof t == "string") && (t != null && t.ignoreCasingFromParams && (r = t.ignoreCasingFromParams.reduce(
125
- (i, n) => ({
126
- ...i,
127
- [n]: t[n]
191
+ (s, g) => ({
192
+ ...s,
193
+ [g]: t[g]
128
194
  }),
129
195
  {}
130
- ) || {}, delete t.ignoreCasingFromParams), Array.isArray(t) ? t = k.decamelizeKeys(t) : t = { ...k.decamelizeKeys(t), ...r }), t && t instanceof FormData) {
131
- let i = new FormData();
132
- for (const [n, l] of t.entries())
133
- i.append(k.decamelize(n), l);
134
- t = i;
196
+ ) || {}, delete t.ignoreCasingFromParams), Array.isArray(t) ? t = R.decamelizeKeys(t) : t = { ...R.decamelizeKeys(t), ...r }), t && t instanceof FormData) {
197
+ let s = new FormData();
198
+ for (const [g, m] of t.entries())
199
+ s.append(R.decamelize(g), m);
200
+ t = s;
135
201
  }
136
- s && !(s instanceof Blob) && (s = k.decamelizeKeys(s)), e.data = t, e.params = s;
202
+ o && !(o instanceof Blob) && (o = R.decamelizeKeys(o)), e.data = t, e.params = o;
137
203
  }
138
- const Ht = async (e, r, t) => {
204
+ const Ro = async (e, r, t) => {
139
205
  if (r())
140
- throw await t(), new S.Cancel("Request canceled due to expired token");
206
+ throw await t(), new w.Cancel("Request canceled due to expired token");
141
207
  return e;
142
208
  };
143
- function R(e) {
209
+ function At(e) {
210
+ if (!e.headers)
211
+ return;
212
+ const r = e.headers;
213
+ delete r.Authorization, delete r.authorization, r.common && (delete r.common.Authorization, delete r.common.authorization);
214
+ }
215
+ function U(e) {
144
216
  return new Promise((r, t) => {
145
217
  e.oncomplete = e.onsuccess = () => r(e.result), e.onabort = e.onerror = () => t(e.error);
146
218
  });
147
219
  }
148
- function bt(e, r) {
220
+ function It(e, r) {
149
221
  let t;
150
- const s = () => {
222
+ const o = () => {
151
223
  if (t)
152
224
  return t;
153
- const i = indexedDB.open(e);
154
- return i.onupgradeneeded = () => i.result.createObjectStore(r), t = R(i), t.then((n) => {
155
- n.onclose = () => t = void 0;
225
+ const s = indexedDB.open(e);
226
+ return s.onupgradeneeded = () => s.result.createObjectStore(r), t = U(s), t.then((g) => {
227
+ g.onclose = () => t = void 0;
156
228
  }, () => {
157
229
  }), t;
158
230
  };
159
- return (i, n) => s().then((l) => n(l.transaction(r, i).objectStore(r)));
231
+ return (s, g) => o().then((m) => g(m.transaction(r, s).objectStore(r)));
160
232
  }
161
- let x;
162
- function O() {
163
- return x || (x = bt("keyval-store", "keyval")), x;
233
+ let H;
234
+ function N() {
235
+ return H || (H = It("keyval-store", "keyval")), H;
164
236
  }
165
- function kt(e, r = O()) {
166
- return r("readonly", (t) => R(t.get(e)));
237
+ function yt(e, r = N()) {
238
+ return r("readonly", (t) => U(t.get(e)));
167
239
  }
168
- function ft(e, r, t = O()) {
169
- return t("readwrite", (s) => (s.put(r, e), R(s.transaction)));
240
+ function eo(e, r, t = N()) {
241
+ return t("readwrite", (o) => (o.put(r, e), U(o.transaction)));
170
242
  }
171
- function wt(e, r = O()) {
172
- return r("readwrite", (t) => (t.delete(e), R(t.transaction)));
243
+ function ro(e, r = N()) {
244
+ return r("readwrite", (t) => (t.delete(e), U(t.transaction)));
173
245
  }
174
- function Pt(e = O()) {
175
- return e("readwrite", (r) => (r.clear(), R(r.transaction)));
246
+ function ao(e = N()) {
247
+ return e("readwrite", (r) => (r.clear(), U(r.transaction)));
176
248
  }
177
- class Mt {
249
+ class to {
178
250
  constructor(r) {
179
- B(this, "prefix");
251
+ O(this, "prefix");
180
252
  this.prefix = r;
181
253
  }
182
254
  generateKey(r) {
183
- var i, n;
184
- const t = r.baseURL ? `${r.baseURL.replace(/\/$/, "")}/${(i = r.url) == null ? void 0 : i.replace(/^\//, "")}` : r.url;
185
- let s = "";
255
+ var s, g;
256
+ const t = r.baseURL ? `${r.baseURL.replace(/\/$/, "")}/${(s = r.url) == null ? void 0 : s.replace(/^\//, "")}` : r.url;
257
+ let o = "";
186
258
  if (r.params) {
187
- const l = Object.keys(r.params).sort().reduce((m, $) => (m[$] = r.params[$], m), {});
188
- s = JSON.stringify(l);
259
+ const m = Object.keys(r.params).sort().reduce((u, h) => (u[h] = r.params[h], u), {});
260
+ o = JSON.stringify(m);
189
261
  }
190
- return `${this.prefix}:${((n = r.method) == null ? void 0 : n.toUpperCase()) || "GET"}:${t}?${s}`;
262
+ return `${this.prefix}:${((g = r.method) == null ? void 0 : g.toUpperCase()) || "GET"}:${t}?${o}`;
191
263
  }
192
264
  async get(r) {
193
265
  let t;
194
266
  try {
195
- if (t = await kt(r), t === void 0)
267
+ if (t = await yt(r), t === void 0)
196
268
  return;
197
- } catch (s) {
198
- console.error(`[SWR Store]: Error getting value for key "${r}"`, s);
269
+ } catch (o) {
270
+ console.error(`[SWR Store]: Error getting value for key "${r}"`, o);
199
271
  return;
200
272
  }
201
273
  try {
202
274
  t = JSON.parse(t);
203
- } catch (s) {
275
+ } catch (o) {
204
276
  console.error(
205
277
  `[SWR Store]: Error parsing value for key "${r}", got ${t}`,
206
- s
278
+ o
207
279
  );
208
280
  }
209
281
  return t;
210
282
  }
211
283
  async set(r, t) {
212
284
  try {
213
- const s = JSON.stringify(t);
214
- await ft(r, s);
215
- } catch (s) {
285
+ const o = JSON.stringify(t);
286
+ await eo(r, o);
287
+ } catch (o) {
216
288
  console.error(
217
289
  `[SWR Store]: Error setting value: ${t} for key "${r}"`,
218
- s
290
+ o
219
291
  );
220
292
  }
221
293
  }
222
294
  async delete(r) {
223
295
  try {
224
- await wt(r);
296
+ await ro(r);
225
297
  } catch (t) {
226
298
  console.error(`[SWR Store]: Error deleting key "${r}"`, t);
227
299
  }
228
300
  }
229
301
  async clear() {
230
302
  try {
231
- await Pt();
303
+ await ao();
232
304
  } catch (r) {
233
305
  console.error("[SWR Store]: Error clearing cache", r);
234
306
  }
235
307
  }
236
308
  }
237
- class Q {
309
+ class Y {
238
310
  constructor({
239
311
  key: r,
240
312
  axiosInstance: t
241
313
  }) {
242
- B(this, "axiosInstance");
243
- B(this, "store");
244
- this.store = new Mt(r), this.axiosInstance = t;
314
+ O(this, "axiosInstance");
315
+ O(this, "store");
316
+ this.store = new to(r), this.axiosInstance = t;
245
317
  }
246
318
  async get(r, t = {}) {
247
- const s = {
319
+ const o = {
248
320
  ...t,
249
321
  method: "get",
250
322
  url: r
251
- }, i = this.store.generateKey(s), n = this.getCachedValue(i, s), l = this.getFreshValue(i, s);
323
+ }, s = this.store.generateKey(o), g = this.getCachedValue(s, o), m = this.getFreshValue(s, o);
252
324
  return Promise.race([
253
- n.then((m) => m != null ? m : l),
254
- l
325
+ g.then((u) => u != null ? u : m),
326
+ m
255
327
  ]);
256
328
  }
257
329
  async getCachedValue(r, t) {
258
330
  try {
259
- const s = await this.store.get(r);
260
- return s ? (t.onSwrHit && t.onSwrHit(s), s) : void 0;
261
- } catch (s) {
262
- console.warn(`[SWR] Error fetching value for key: ${r}`, s);
331
+ const o = await this.store.get(r);
332
+ return o ? (t.onSwrHit && t.onSwrHit(o), o) : void 0;
333
+ } catch (o) {
334
+ console.warn(`[SWR] Error fetching value for key: ${r}`, o);
263
335
  }
264
336
  }
265
337
  async getFreshValue(r, t) {
266
- var s;
338
+ var o;
267
339
  try {
268
- const i = await this.axiosInstance.request(
340
+ const s = await this.axiosInstance.request(
269
341
  t
270
- ), n = (s = i == null ? void 0 : i.data) != null ? s : i;
271
- return this.store.set(r, n).catch((l) => {
272
- console.warn(`[SWR] Failed to write to cache: ${r}`, l);
273
- }), t.onSwrRefresh && t.onSwrRefresh(n), n;
274
- } catch (i) {
275
- throw console.warn(`[SWR] Request failed: ${t.url}`, i), t.onSwrError && t.onSwrError(i), i;
342
+ ), g = (o = s == null ? void 0 : s.data) != null ? o : s;
343
+ return this.store.set(r, g).catch((m) => {
344
+ console.warn(`[SWR] Failed to write to cache: ${r}`, m);
345
+ }), t.onSwrRefresh && t.onSwrRefresh(g), g;
346
+ } catch (s) {
347
+ throw console.warn(`[SWR] Request failed: ${t.url}`, s), t.onSwrError && t.onSwrError(s), s;
276
348
  }
277
349
  }
278
350
  async clear() {
279
351
  await this.store.clear();
280
352
  }
281
353
  }
282
- let z = [], W = [], f = [];
283
- const a = S.create({
354
+ let x = [], z = [], P = [];
355
+ const a = w.create({
284
356
  headers: {
285
357
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
286
358
  // @ts-ignore (See: https://github.com/axios/axios/issues/4193 )
@@ -298,66 +370,66 @@ a.addEnvironmentVariables = (e) => {
298
370
  );
299
371
  });
300
372
  };
301
- a.swr = new Q({
373
+ a.swr = new Y({
302
374
  key: a.env.swrKey || "swr",
303
375
  axiosInstance: a
304
376
  });
305
- const Rt = a.get.bind(a);
306
- a.swr = new Q({
377
+ const oo = a.get.bind(a);
378
+ a.swr = new Y({
307
379
  key: a.env.swrKey || "swr",
308
380
  axiosInstance: a
309
381
  });
310
382
  a.get = function(...e) {
311
- return (e[1] || {}).swr ? this.swr.get(...e) : Rt(...e);
383
+ return (e[1] || {}).swr ? this.swr.get(...e) : oo(...e);
312
384
  };
313
385
  a.addRequestInterceptor = (e, r) => {
314
- z.push(e), r && !f.includes(r) && f.push(r), a.interceptors.request.handlers.length === 0 && a.interceptors.request.use(
386
+ x.push(e), r && !P.includes(r) && P.push(r), a.interceptors.request.handlers.length === 0 && a.interceptors.request.use(
315
387
  async (t) => {
316
- for (const s of z)
317
- t = await s(t, a.env);
388
+ for (const o of x)
389
+ t = await o(t, a.env);
318
390
  return t;
319
391
  },
320
392
  (t) => {
321
- for (const s of f)
322
- s(t, a.env);
393
+ for (const o of P)
394
+ o(t, a.env);
323
395
  }
324
396
  );
325
397
  };
326
398
  a.addResponseInterceptor = (e, r) => {
327
- W.push(e), r && !f.includes(r) && f.push(r), a.interceptors.response.handlers.length === 0 && a.interceptors.response.use(
399
+ z.push(e), r && !P.includes(r) && P.push(r), a.interceptors.response.handlers.length === 0 && a.interceptors.response.use(
328
400
  async (t) => {
329
- for (const s of W)
330
- t = await s(t, a.env);
401
+ for (const o of z)
402
+ t = await o(t, a.env);
331
403
  return t;
332
404
  },
333
405
  (t) => {
334
- for (const s of f)
335
- s(t, a.env);
406
+ for (const o of P)
407
+ o(t, a.env);
336
408
  return Promise.reject(t);
337
409
  }
338
410
  );
339
411
  };
340
- a.addRequestInterceptor(ht, X);
341
- a.addResponseInterceptor(dt, X);
342
- const Y = (e, r) => {
412
+ a.addRequestInterceptor(Jt, q);
413
+ a.addResponseInterceptor(Yt, q);
414
+ const K = (e, r) => {
343
415
  J(a.defaults), r ? a.defaults.headers.common[e] = r : delete a.defaults.headers.common[e];
344
- }, _t = (e) => {
345
- Y("Authorization", e ? `Bearer ${e}` : null);
416
+ }, so = (e) => {
417
+ K("Authorization", e ? `Bearer ${e}` : null);
346
418
  };
347
- a.CancelToken = S.CancelToken;
348
- a.isCancel = S.isCancel;
349
- a.setHeader = Y;
350
- a.setToken = _t;
351
- let M = [];
419
+ a.CancelToken = w.CancelToken;
420
+ a.isCancel = w.isCancel;
421
+ a.setHeader = K;
422
+ a.setToken = so;
423
+ let _ = [];
352
424
  a.generateCancelTokenSource = () => a.CancelToken.source();
353
- a.addCancelToken = (e) => M = [e, ...M];
354
- a.resetCancelTokens = () => M = [];
425
+ a.addCancelToken = (e) => _ = [e, ..._];
426
+ a.resetCancelTokens = () => _ = [];
355
427
  a.cancelRequests = () => {
356
- M.length && (M.forEach((e) => {
428
+ _.length && (_.forEach((e) => {
357
429
  e.cancel("Operation canceled due to new request");
358
430
  }), a.resetCancelTokens());
359
431
  };
360
- const Gt = {
432
+ const Po = {
361
433
  mediaHub: {
362
434
  getAllMedia(e) {
363
435
  return a.get("/admin/media-hub", e);
@@ -381,8 +453,17 @@ const Gt = {
381
453
  focusCamera(e, r) {
382
454
  return a.post(`/admin/devices/${r}/${e}/focus`);
383
455
  },
384
- getStorageServers() {
385
- return a.get("/admin/storage/servers");
456
+ getStorageProviders(e, r) {
457
+ return a.get(`/admin/cameras/${e}/storage-providers`, r);
458
+ },
459
+ createStorageProvider(e, r) {
460
+ return a.post(`/admin/cameras/${e}/storage-providers`, r);
461
+ },
462
+ updateStorageProvider(e, r, t) {
463
+ return a.put(
464
+ `/admin/cameras/${e}/storage-providers/${r}`,
465
+ t
466
+ );
386
467
  },
387
468
  getStorageDetails() {
388
469
  return a.get("/admin/storage");
@@ -420,11 +501,17 @@ const Gt = {
420
501
  getCameraDetails(e) {
421
502
  return a.get(`/admin/cameras/${e}`);
422
503
  },
504
+ getCameraStatusLogs(e, r) {
505
+ return a.get(`/admin/cameras/${e}/health`, r);
506
+ },
423
507
  deleteSnapshots(e, r) {
424
508
  return a.delete(`admin/cameras/${e}/snapshots`, {
425
509
  params: r
426
510
  });
427
511
  },
512
+ transferCloudRecordings(e, r) {
513
+ return a.post(`admin/cameras/${e}/snapshots/transfer`, r);
514
+ },
428
515
  refreshDeviceSettings(e) {
429
516
  return a.post(
430
517
  `/admin/cameras/${e}/device-settings/refresh`,
@@ -443,10 +530,13 @@ const Gt = {
443
530
  },
444
531
  transferOwnership(e, r) {
445
532
  return a.put(`/admin/cameras/${e}/transfer/${r}`);
533
+ },
534
+ portCheck(e) {
535
+ return a.get("/admin/cameras/port-check", e);
446
536
  }
447
537
  },
448
538
  companies: {
449
- show(e, r) {
539
+ show(e, r = {}) {
450
540
  return a.get(`/admin/companies/${e}`, r);
451
541
  },
452
542
  getCompanyUsers(e, r) {
@@ -469,9 +559,6 @@ const Gt = {
469
559
  },
470
560
  deleteCompany(e) {
471
561
  return a.delete("/admin/companies", { params: e });
472
- },
473
- reSyncCompanies(e) {
474
- return a.post("/admin/companies/resync", e);
475
562
  }
476
563
  },
477
564
  sso: {
@@ -488,6 +575,26 @@ const Gt = {
488
575
  return a.delete("/admin/sso-providers", { params: { ids: e } });
489
576
  }
490
577
  },
578
+ oauthClients: {
579
+ index() {
580
+ return a.get("/admin/oauth/clients");
581
+ },
582
+ show(e) {
583
+ return a.get(`/admin/oauth/clients/${e}`);
584
+ },
585
+ create(e) {
586
+ return a.post("/admin/oauth/clients", e);
587
+ },
588
+ update(e, r) {
589
+ return a.patch(`/admin/oauth/clients/${e}`, r);
590
+ },
591
+ delete(e) {
592
+ return a.delete(`/admin/oauth/clients/${e}`);
593
+ },
594
+ regenerateSecret(e) {
595
+ return a.post(`/admin/oauth/clients/${e}/regenerate-secret`);
596
+ }
597
+ },
491
598
  emailing: {
492
599
  performEmailing(e, r) {
493
600
  return a.post(`/admin/mailing/${e}`, r);
@@ -506,14 +613,6 @@ const Gt = {
506
613
  addExtraction(e, r) {
507
614
  return a.post(`admin/cameras/${e}/extractions`, r);
508
615
  },
509
- getExtractionStatus(e, r, t) {
510
- return a.get(
511
- `admin/cameras/${e}/extractions/${r}`,
512
- {
513
- params: t
514
- }
515
- );
516
- },
517
616
  deleteSnapshotExtraction(e, r, t) {
518
617
  return a.delete(
519
618
  `admin/cameras/${e}/extractions/${r}`,
@@ -521,6 +620,30 @@ const Gt = {
521
620
  params: t
522
621
  }
523
622
  );
623
+ },
624
+ getExtraction(e, r) {
625
+ return a.get(
626
+ `admin/cameras/${e}/extractions/${r}`
627
+ );
628
+ },
629
+ reprocessExtraction(e, r) {
630
+ return a.post(
631
+ `admin/cameras/${e}/extractions/${r}/reprocess`
632
+ );
633
+ }
634
+ },
635
+ anprExtractions: {
636
+ list(e) {
637
+ return a.get(`/admin/cameras/${e}/anpr/extractions`);
638
+ },
639
+ create(e, r) {
640
+ return a.post(
641
+ `/admin/cameras/${e}/anpr/extractions`,
642
+ r
643
+ );
644
+ },
645
+ delete(e, r) {
646
+ return a.delete(`/admin/cameras/${e}/anpr/extractions/${r}`);
524
647
  }
525
648
  },
526
649
  kits: {
@@ -543,12 +666,12 @@ const Gt = {
543
666
  kitId: e,
544
667
  metric: r,
545
668
  fromDate: t,
546
- toDate: s
669
+ toDate: o
547
670
  }) {
548
671
  return a.get(`/admin/kits/${e}/stats/${r}`, {
549
672
  params: {
550
673
  fromDate: t,
551
- toDate: s
674
+ toDate: o
552
675
  }
553
676
  });
554
677
  },
@@ -566,6 +689,15 @@ const Gt = {
566
689
  },
567
690
  getAlarms(e) {
568
691
  return a.get(`/admin/kits/${e}/alarms`);
692
+ },
693
+ getBoxes(e) {
694
+ return a.get("/admin/kit-boxes", e);
695
+ },
696
+ createBox(e) {
697
+ return a.post("/admin/kit-boxes", e);
698
+ },
699
+ updateBox(e, r) {
700
+ return a.patch(`/admin/kit-boxes/${e}`, r);
569
701
  }
570
702
  },
571
703
  logs: {
@@ -573,7 +705,9 @@ const Gt = {
573
705
  return a.get("/admin/cameras-logs", e);
574
706
  },
575
707
  getCameraLogs(e, r) {
576
- return a.get(`/admin/cameras/${e}/audit-logs`, r);
708
+ return a.get(`/admin/cameras/${e}/audit-logs`, {
709
+ params: r
710
+ });
577
711
  },
578
712
  togglePinNote(e) {
579
713
  return a.patch(`/admin/audit-logs/${e}/toggle-pin`);
@@ -593,6 +727,14 @@ const Gt = {
593
727
  return a.post(`/admin/devices/nvr/${e}/reboot`);
594
728
  }
595
729
  },
730
+ recycleBin: {
731
+ getAllDeleted(e) {
732
+ return a.get("/admin/recycle-bin", e);
733
+ },
734
+ restore(e) {
735
+ return a.patch("/admin/recycle-bin/restore", e);
736
+ }
737
+ },
596
738
  offlineCameras: {
597
739
  getSiteVisitCameras(e) {
598
740
  return a.get("/admin/site-visit-cameras", e);
@@ -633,6 +775,12 @@ const Gt = {
633
775
  },
634
776
  addToProject(e, r) {
635
777
  return a.post(`/admin/projects/${e}/add-cameras`, r);
778
+ },
779
+ getProjectStorages(e) {
780
+ return a.get("/admin/projects/storages", e);
781
+ },
782
+ retryProjectStorage(e) {
783
+ return a.post(`/admin/projects/storages/${e}/retry`);
636
784
  }
637
785
  },
638
786
  routers: {
@@ -686,26 +834,9 @@ const Gt = {
686
834
  return a.patch(`/admin/hdds/${e}/footages/${r}`, t);
687
835
  }
688
836
  },
689
- shareRequests: {
690
- getShareRequests(e) {
691
- return a.get("/admin/camera-share-requests", e);
692
- },
693
- deleteShareRequest(e) {
694
- return a.delete("/admin/camera-share-requests", { params: e });
695
- },
696
- updateShareRequestStatus(e) {
697
- return a.patch("/admin/camera-share-requests", e);
698
- }
699
- },
700
837
  shares: {
701
- createShares(e, r) {
702
- return a.post(`/admin/cameras/${e}/shares`, r);
703
- },
704
- getShares(e) {
705
- return a.get("/admin/camera-shares", e);
706
- },
707
- deleteShares(e) {
708
- return a.delete("/admin/camera-shares", { params: e });
838
+ getInvites(e) {
839
+ return a.get("/admin/invites", e);
709
840
  }
710
841
  },
711
842
  sims: {
@@ -732,8 +863,8 @@ const Gt = {
732
863
  sendSms(e, r) {
733
864
  return a.post(`/admin/sims/${e}/sms`, r);
734
865
  },
735
- getSimHistory(e) {
736
- return a.get(`/admin/sims/${e}/sms`);
866
+ getSimHistory(e, r) {
867
+ return a.get(`/admin/sims/${e}/sms`, r);
737
868
  },
738
869
  getSms(e) {
739
870
  return a.get("/admin/sms", e);
@@ -791,7 +922,7 @@ const Gt = {
791
922
  getUsers(e) {
792
923
  return a.get("/admin/users", e);
793
924
  },
794
- show(e, r) {
925
+ show(e, r = {}) {
795
926
  return a.get(
796
927
  `/admin/users/${e}${"with_zoho" in r ? "?with_zoho" : ""}`
797
928
  );
@@ -832,204 +963,628 @@ const Gt = {
832
963
  index(e) {
833
964
  return a.get("/admin/comments", e);
834
965
  }
966
+ },
967
+ snapshotTransfers: {
968
+ index(e) {
969
+ return a.get("/admin/snapshot-transfers", e);
970
+ },
971
+ cancel(e) {
972
+ return a.patch(`/admin/snapshot-transfers/${e}/cancel`);
973
+ }
835
974
  }
836
- }, zt = {
837
- presets: {
838
- getProjectPresets(e, r) {
839
- const t = btoa(e);
975
+ }, Do = {
976
+ list(e = {}) {
977
+ return a.get("/video-walls", { params: e });
978
+ },
979
+ create(e) {
980
+ return a.post("/video-walls", {
981
+ source: "default",
982
+ ...e
983
+ });
984
+ },
985
+ get(e) {
986
+ return a.get(`/video-walls/${e}`);
987
+ },
988
+ update(e, r) {
989
+ return a.put(`/video-walls/${e}`, {
990
+ source: "default",
991
+ ...r
992
+ });
993
+ },
994
+ delete(e) {
995
+ return a.delete(`/video-walls/${e}`);
996
+ }
997
+ }, l = () => a.env.firebaseDbLink, io = () => a.env.firebaseStorageUrl, no = () => a.env.firebaseStorageToken, lo = () => a.env.forgeTokenServerUrl, i = { skipAuth: !0, preserveCasing: !0 }, _o = {
998
+ drone: {
999
+ getProjectInfo(e) {
840
1000
  return a.get(
841
- `${a.env.firebaseVideowallUrl}/${t}/presets/${r}.json`,
842
- {
843
- transformRequest: (s, i) => (delete i.common.Authorization, s)
844
- }
1001
+ `${l()}data/projects/cesium/${e}.json`,
1002
+ i
845
1003
  );
846
1004
  },
847
- saveProjectPreset(e, r, t) {
848
- const s = JSON.stringify({ configuration: t.configuration }), i = t.name, n = btoa(e);
1005
+ getProjectTags(e) {
1006
+ return a.get(
1007
+ `${l()}data/projects/cesium/${e}/transform/tags.json`,
1008
+ i
1009
+ );
1010
+ },
1011
+ patchTags({
1012
+ projectId: e,
1013
+ tags: r
1014
+ }) {
849
1015
  return a.patch(
850
- `${a.env.firebaseVideowallUrl}/${n}/presets/${r}/${i}.json`,
851
- s,
852
- {
853
- transformRequest: (l, m) => (delete m.common.Authorization, l)
854
- }
1016
+ `${l()}data/projects/cesium/${e}/transform/tags.json`,
1017
+ r,
1018
+ i
1019
+ );
1020
+ },
1021
+ saveMarkers({
1022
+ projectId: e,
1023
+ markers: r
1024
+ }) {
1025
+ return a.put(
1026
+ `${l()}data/projects/cesium/${e}/transform/markers.json`,
1027
+ r,
1028
+ i
1029
+ );
1030
+ },
1031
+ patchTransform({
1032
+ projectId: e,
1033
+ data: r
1034
+ }) {
1035
+ return a.patch(
1036
+ `${l()}data/projects/cesium/${e}/transform.json`,
1037
+ r,
1038
+ i
1039
+ );
1040
+ },
1041
+ saveTerrainPoints({
1042
+ projectId: e,
1043
+ dateId: r,
1044
+ points: t
1045
+ }) {
1046
+ return a.put(
1047
+ `${l()}data/projects/cesium/${e}/transform/terrainPoints/${r}.json`,
1048
+ t,
1049
+ i
1050
+ );
1051
+ },
1052
+ patchImageryPlan({
1053
+ projectId: e,
1054
+ plan: r
1055
+ }) {
1056
+ return a.patch(
1057
+ `${l()}data/projects/cesium/${e}/transform/imageryPlans.json`,
1058
+ r,
1059
+ i
1060
+ );
1061
+ },
1062
+ deleteImageryPlan({
1063
+ projectId: e,
1064
+ uuid: r
1065
+ }) {
1066
+ return a.delete(
1067
+ `${l()}data/projects/cesium/${e}/transform/imageryPlans/${r}.json`,
1068
+ i
855
1069
  );
856
1070
  },
857
- getGlobalPreset(e) {
858
- const r = btoa(e);
1071
+ saveImageryPlans({
1072
+ projectId: e,
1073
+ plans: r
1074
+ }) {
1075
+ return a.put(
1076
+ `${l()}data/projects/cesium/${e}/transform/imageryPlans.json`,
1077
+ r,
1078
+ i
1079
+ );
1080
+ },
1081
+ getBlackListIds(e) {
859
1082
  return a.get(
860
- `${a.env.firebaseVideowallUrl}/${r}/presets/global.json`,
861
- {
862
- transformRequest: (t, s) => (delete s.common.Authorization, t)
863
- }
1083
+ `${l()}data/projects/cesium/${e}/transform/blackListIds.json`,
1084
+ i
1085
+ );
1086
+ },
1087
+ saveBlackListIds({
1088
+ projectId: e,
1089
+ ids: r
1090
+ }) {
1091
+ return a.put(
1092
+ `${l()}data/projects/cesium/${e}/transform/blackListIds.json`,
1093
+ r,
1094
+ i
1095
+ );
1096
+ },
1097
+ saveModel({
1098
+ projectId: e,
1099
+ model: r
1100
+ }) {
1101
+ const { trueIndex: t, ...o } = r;
1102
+ return a.put(
1103
+ `${l()}data/projects/cesium/${e}/models/${t}.json`,
1104
+ o,
1105
+ i
864
1106
  );
865
1107
  },
866
- saveGlobalPreset(e, r) {
867
- const t = JSON.stringify({ configuration: r.configuration }), s = btoa(e);
1108
+ saveModels({
1109
+ projectId: e,
1110
+ models: r
1111
+ }) {
1112
+ return a.put(
1113
+ `${l()}data/projects/cesium/${e}/models.json`,
1114
+ r,
1115
+ i
1116
+ );
1117
+ },
1118
+ saveBimData({
1119
+ projectId: e,
1120
+ data: r
1121
+ }) {
1122
+ return a.put(
1123
+ `${l()}data/projects/cesium/${e}/transform/bimData.json`,
1124
+ r,
1125
+ i
1126
+ );
1127
+ },
1128
+ getBimTransparencyFlag(e) {
1129
+ return a.get(
1130
+ `${l()}data/projects/cesium/${e}/transform/bimTransparencyFeatureFlag.json`,
1131
+ i
1132
+ );
1133
+ },
1134
+ saveCameraTransform({
1135
+ projectId: e,
1136
+ isScene3D: r,
1137
+ transform: t
1138
+ }) {
868
1139
  return a.patch(
869
- `${a.env.firebaseVideowallUrl}/${s}/presets/global.json`,
1140
+ `${l()}data/projects/cesium/${e}/transform/initial${r ? "" : "2D"}CameraTransform.json`,
870
1141
  t,
871
- {
872
- transformRequest: (i, n) => (delete n.common.Authorization, i)
873
- }
1142
+ i
874
1143
  );
875
1144
  }
876
- }
877
- }, T = () => a.env.firebaseDbLink, Ut = () => a.env.firebaseStorageUrl, Dt = () => a.env.firebaseStorageToken, Wt = {
878
- drone: {
879
- getProjectInfo(e) {
880
- return fetch(
881
- `${T()}data/projects/cesium/${e}.json`
882
- ).then((r) => r.json());
883
- }
884
1145
  },
885
1146
  _360: {
886
- getProjectInfo(e) {
887
- return fetch(
888
- `${T()}data/projects/360/${e}.json`
889
- ).then((r) => r.json());
890
- },
891
- updateFloor(e, r, t, s) {
892
- return fetch(
893
- `${T()}data/projects/360/${e}/dates/${r}/floors/${t}.json`,
1147
+ getProjectInfo(e, r = { config: {} }) {
1148
+ return a.get(
1149
+ `${l()}data/projects/360/${e}.json`,
894
1150
  {
895
- method: "PATCH",
896
- body: JSON.stringify(s)
1151
+ ...r.config,
1152
+ ...i
897
1153
  }
898
- ).then((i) => i.json());
1154
+ );
899
1155
  },
900
- updateRoute(e, r, t, s) {
901
- return fetch(
902
- `${T()}360/${e}/${r}/${t}/route.json`,
903
- {
904
- method: "PATCH",
905
- body: JSON.stringify(s)
906
- }
907
- ).then((i) => i.json());
1156
+ getProjectsList() {
1157
+ return a.get(
1158
+ `${l()}data/360-list.json`,
1159
+ i
1160
+ );
908
1161
  },
909
- async updateFeatureFlag(e, r, t, s, i) {
910
- return fetch(
911
- `${T()}360/${e}/${r}/${t}/${s}.json`,
912
- {
913
- method: "PUT",
914
- body: JSON.stringify(i)
915
- }
916
- ).then((n) => n.json());
1162
+ updateProjectsList(e) {
1163
+ return a.put(
1164
+ `${l()}data/360-list.json`,
1165
+ e,
1166
+ i
1167
+ );
917
1168
  },
918
- async saveSteps(e, r, t, s) {
919
- return fetch(
920
- `${T()}360/${e}/${r}/${t}/steps.json`,
1169
+ updateProjectsListItem(e, r) {
1170
+ return a.put(
1171
+ `${l()}data/360-list/${e}.json`,
1172
+ r,
1173
+ i
1174
+ );
1175
+ },
1176
+ deleteProject(e) {
1177
+ return a.delete(
1178
+ `${l()}data/projects/360/${e}.json`,
1179
+ i
1180
+ );
1181
+ },
1182
+ updateProjectInfo(e, r) {
1183
+ return a.patch(
1184
+ `${l()}data/projects/360/${e}.json`,
1185
+ r,
1186
+ i
1187
+ );
1188
+ },
1189
+ updateFloor(e, r, t, o) {
1190
+ return a.patch(
1191
+ `${l()}data/projects/360/${e}/dates/${r}/floors/${t}.json`,
1192
+ o,
1193
+ i
1194
+ );
1195
+ },
1196
+ getRoute(e, r, t) {
1197
+ return a.get(
1198
+ `${l()}data/projects/360/${e}/${r}/${t}/route.json`,
1199
+ i
1200
+ );
1201
+ },
1202
+ getAerialShotDate(e, r) {
1203
+ return a.get(
1204
+ `${l()}data/projects/360/${encodeURIComponent(
1205
+ `${e}/aerial-shots/dates/`
1206
+ )}${r}/date.json`,
1207
+ i
1208
+ );
1209
+ },
1210
+ getFloor({
1211
+ projectId: e,
1212
+ dateId: r,
1213
+ floorId: t
1214
+ }) {
1215
+ return a.get(
1216
+ `${l()}data/projects/360/${e}/${r}/${t}.json`,
1217
+ i
1218
+ );
1219
+ },
1220
+ getAerialShotsFloor({
1221
+ projectId: e,
1222
+ dateId: r,
1223
+ floorId: t
1224
+ }) {
1225
+ return a.get(
1226
+ `${l()}data/projects/360/${e}/aerial-shots/${r}/${t}.json`,
1227
+ i
1228
+ );
1229
+ },
1230
+ update3DMarkers({
1231
+ projectId: e,
1232
+ dateId: r,
1233
+ floorId: t,
1234
+ markers: o
1235
+ }) {
1236
+ return a.put(
1237
+ `${l()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1238
+ o,
1239
+ i
1240
+ );
1241
+ },
1242
+ patchFloor({
1243
+ projectId: e,
1244
+ dateId: r,
1245
+ floorId: t,
1246
+ data: o
1247
+ }) {
1248
+ return a.patch(
1249
+ `${l()}data/projects/360/${e}/${r}/${t}.json`,
1250
+ o,
1251
+ i
1252
+ );
1253
+ },
1254
+ updateFloors({
1255
+ projectId: e,
1256
+ dateId: r,
1257
+ floors: t
1258
+ }) {
1259
+ return a.put(
1260
+ `${l()}data/projects/360/${e}/dates/${r}/floors.json`,
1261
+ t,
1262
+ i
1263
+ );
1264
+ },
1265
+ deleteFloor({
1266
+ projectId: e,
1267
+ dateId: r,
1268
+ floorId: t
1269
+ }) {
1270
+ return a.delete(
1271
+ `${l()}data/projects/360/${e}/${r}/${t}.json`,
1272
+ i
1273
+ );
1274
+ },
1275
+ updateDates(e, r) {
1276
+ return a.put(
1277
+ `${l()}data/projects/360/${e}/dates.json`,
1278
+ r,
1279
+ i
1280
+ );
1281
+ },
1282
+ deleteDate(e, r) {
1283
+ return a.delete(
1284
+ `${l()}data/projects/360/${e}/${r}.json`,
1285
+ i
1286
+ );
1287
+ },
1288
+ getPins({
1289
+ projectId: e,
1290
+ dateId: r,
1291
+ floorId: t
1292
+ }) {
1293
+ return a.get(
1294
+ `${l()}data/projects/360/${e}/${r}/${t}/pins.json`,
1295
+ i
1296
+ );
1297
+ },
1298
+ updatePins({
1299
+ projectId: e,
1300
+ dateId: r,
1301
+ floorId: t,
1302
+ pins: o
1303
+ }) {
1304
+ return a.put(
1305
+ `${l()}data/projects/360/${e}/${r}/${t}/pins.json`,
1306
+ o,
1307
+ i
1308
+ );
1309
+ },
1310
+ getGPXText(e) {
1311
+ return e ? a.get(e.replace(/token=\s*/, "token="), {
1312
+ ...i,
1313
+ responseType: "text"
1314
+ }) : Promise.resolve("");
1315
+ },
1316
+ updateRoute(e, r, t, o) {
1317
+ return a.patch(
1318
+ `${l()}data/projects/360/${e}/${r}/${t}/route.json`,
1319
+ o,
1320
+ i
1321
+ );
1322
+ },
1323
+ async updateFeatureFlag(e, r, t, o, s) {
1324
+ return a.put(
1325
+ `${l()}data/projects/360/${e}/${r}/${t}/${o}.json`,
1326
+ s,
921
1327
  {
922
- method: "PUT",
923
- body: JSON.stringify(s)
1328
+ ...i,
1329
+ transformRequest: [(g) => JSON.stringify(g)]
924
1330
  }
925
- ).then((i) => i.json());
1331
+ );
1332
+ },
1333
+ async saveSteps(e, r, t, o) {
1334
+ return a.put(
1335
+ `${l()}data/projects/360/${e}/${r}/${t}/steps.json`,
1336
+ o,
1337
+ i
1338
+ );
926
1339
  },
927
- updateGPXFile(e, r, t, s) {
928
- const i = new Blob([s], { type: "application/gpx+xml" }), n = new FormData();
929
- return n.append("gpxFile", i, "updated-track.gpx"), fetch(
930
- `${Ut() + encodeURIComponent("/" + e + "/") + r + encodeURIComponent("/" + t + "/route/track.gpx")}?alt=media&token=${Dt()}`,
1340
+ updateGPXFile(e, r, t, o) {
1341
+ const s = new Blob([o], { type: "application/gpx+xml" }), g = new FormData();
1342
+ return g.append("gpxFile", s, "updated-track.gpx"), a.post(
1343
+ `${io() + encodeURIComponent("/" + e + "/") + r + encodeURIComponent("/" + t + "/route/track.gpx")}?alt=media&token=${no()}`,
1344
+ g,
931
1345
  {
932
- method: "POST",
933
- body: n
1346
+ ...i,
1347
+ headers: { "Content-Type": "multipart/form-data" }
934
1348
  }
935
1349
  );
1350
+ },
1351
+ getProjectDates(e) {
1352
+ return a.get(
1353
+ `${l()}data/projects/360/${e}/dates.json`,
1354
+ i
1355
+ );
1356
+ },
1357
+ getProjectAerialShotsDates(e) {
1358
+ return a.get(
1359
+ `${l()}data/projects/360/${e}/aerial-shots/dates.json`,
1360
+ i
1361
+ );
1362
+ },
1363
+ getProjectDateFloors({
1364
+ projectId: e,
1365
+ dateId: r
1366
+ }) {
1367
+ return a.get(
1368
+ `${l()}data/projects/360/${e}/${r}.json`,
1369
+ i
1370
+ );
936
1371
  }
937
1372
  },
938
1373
  forge: {
939
- async getProjectInfo(e) {
940
- return fetch(
941
- `${T()}data/projects/forge/${e}.json`
942
- ).then((r) => r.json());
1374
+ getAccessToken() {
1375
+ return a.get(lo(), i);
1376
+ },
1377
+ getProjectInfo(e) {
1378
+ return a.get(
1379
+ `${l()}data/projects/forge/${e}.json`,
1380
+ i
1381
+ );
1382
+ },
1383
+ saveSavedView(e, r) {
1384
+ return a.put(
1385
+ `${l()}data/projects/forge/${e}/savedView.json`,
1386
+ r,
1387
+ i
1388
+ );
1389
+ },
1390
+ saveMarkers(e, r) {
1391
+ return a.put(
1392
+ `${l()}data/projects/forge/${e}/markers.json`,
1393
+ r,
1394
+ i
1395
+ );
1396
+ }
1397
+ },
1398
+ itwin: {
1399
+ getProjectInfo(e) {
1400
+ return a.get(
1401
+ `${l()}data/projects/itwin/${e}.json`,
1402
+ i
1403
+ );
1404
+ },
1405
+ clearBimCompare(e) {
1406
+ return a.delete(
1407
+ `${l()}data/projects/itwin/${e}/bim-compare.json`,
1408
+ i
1409
+ );
1410
+ },
1411
+ clearSiteView(e, r) {
1412
+ return a.delete(
1413
+ `${l()}data/projects/itwin/${e}/models/${r}/site-view.json`,
1414
+ i
1415
+ );
1416
+ }
1417
+ },
1418
+ siteView: {
1419
+ getCamerasList() {
1420
+ return a.get(
1421
+ `${l()}data/cameras-list.json`,
1422
+ i
1423
+ );
1424
+ },
1425
+ updateCamerasList(e) {
1426
+ return a.put(
1427
+ `${l()}data/cameras-list.json`,
1428
+ e,
1429
+ i
1430
+ );
1431
+ },
1432
+ updateCamerasListItem(e, r) {
1433
+ return a.put(
1434
+ `${l()}data/cameras-list/${e}.json`,
1435
+ r,
1436
+ i
1437
+ );
1438
+ },
1439
+ updateProjectData({
1440
+ viewerType: e,
1441
+ projectId: r,
1442
+ data: t
1443
+ }) {
1444
+ const o = e.toLowerCase();
1445
+ return a.patch(
1446
+ `${l()}data/projects/${o}/${r}.json`,
1447
+ t,
1448
+ i
1449
+ );
1450
+ },
1451
+ deleteProjectData(e, r) {
1452
+ const t = e.toLowerCase();
1453
+ return a.delete(
1454
+ `${l()}data/projects/${t}/${r}.json`,
1455
+ i
1456
+ );
1457
+ },
1458
+ readAllData(e) {
1459
+ return a.get(`${e}data.json`, i);
1460
+ },
1461
+ writeAllData(e, r) {
1462
+ return a.put(`${e}data.json`, r, i);
1463
+ }
1464
+ },
1465
+ map: {
1466
+ getMapViews(e) {
1467
+ return a.get(
1468
+ `${l()}data/projects/maps/${e}.json`,
1469
+ i
1470
+ );
1471
+ },
1472
+ updateMapViews(e, r) {
1473
+ return a.put(
1474
+ `${l()}data/projects/maps/${e}.json`,
1475
+ r,
1476
+ i
1477
+ );
1478
+ }
1479
+ },
1480
+ safety: {
1481
+ getTPulseLink(e) {
1482
+ return a.get(
1483
+ `${l()}data/projects/safety/${e}.json`,
1484
+ i
1485
+ );
1486
+ },
1487
+ updateTPulseLink(e, r) {
1488
+ return a.put(
1489
+ `${l()}data/projects/safety/${e}.json`,
1490
+ { link: r },
1491
+ i
1492
+ );
1493
+ }
1494
+ },
1495
+ planner: {
1496
+ getPlannerList() {
1497
+ return a.get(`${l()}data/planner-list.json`, {
1498
+ ...i
1499
+ });
1500
+ },
1501
+ getPlannerItem(e) {
1502
+ return a.get(
1503
+ `${l()}data/planner-list/${e}.json`,
1504
+ i
1505
+ );
1506
+ },
1507
+ saveSitePlanMetaData(e, r) {
1508
+ return a.put(
1509
+ `${l()}data/planner-list/${e}.json`,
1510
+ r,
1511
+ i
1512
+ );
1513
+ },
1514
+ getSitePlan(e) {
1515
+ return a.get(
1516
+ `${l()}data/projects/planner/${e}.json`,
1517
+ i
1518
+ );
1519
+ },
1520
+ saveSitePlan(e, r) {
1521
+ return a.put(
1522
+ `${l()}data/projects/planner/${e}.json`,
1523
+ r,
1524
+ i
1525
+ );
943
1526
  }
944
1527
  }
945
- }, g = (e = {}, { forceSnakeCase: r = !0, forceArrayBrackets: t = !1 } = {}) => {
1528
+ }, d = (e = {}, { forceSnakeCase: r = !0, forceArrayBrackets: t = !1 } = {}) => {
946
1529
  if (Object.keys(e).length === 0)
947
1530
  return;
948
- let s = { ...e };
949
- return r && (s = k.decamelizeKeys(e)), Object.entries(s).reduce((i, [n, l], m) => {
950
- let $ = "";
951
- return ["", null, void 0].includes(l) || Array.isArray(l) && l.length === 0 ? i : (l && typeof l == "object" ? $ = Object.entries(l).reduce((_, [w, U], D) => {
952
- let b = n;
953
- return isNaN(Number.parseInt(w)) ? b = `${n}[${w}]` : Array.isArray(l) && t && (b = `${n}[]`), `${_}${D > 0 ? "&" : ""}${b}=${encodeURIComponent(U)}`;
954
- }, "") : $ = `${n}=${encodeURIComponent(
955
- l
956
- )}`, `${i}${m > 0 ? "&" : ""}${$}`);
1531
+ let o = { ...e };
1532
+ return r && (o = R.decamelizeKeys(e)), Object.entries(o).reduce((s, [g, m], u) => {
1533
+ let h = "";
1534
+ return ["", null, void 0].includes(m) || Array.isArray(m) && m.length === 0 ? s : (m && typeof m == "object" ? h = Object.entries(m).reduce((M, [D, j], B) => {
1535
+ let f = g;
1536
+ return isNaN(Number.parseInt(D)) ? f = `${g}[${D}]` : Array.isArray(m) && t && (f = `${g}[]`), `${M}${B > 0 ? "&" : ""}${f}=${encodeURIComponent(j)}`;
1537
+ }, "") : h = `${g}=${encodeURIComponent(
1538
+ m
1539
+ )}`, `${s}${u > 0 ? "&" : ""}${h}`);
957
1540
  }, "");
958
1541
  };
959
- function Bt(e = "") {
1542
+ function go(e = "") {
960
1543
  return [
961
1544
  ...new URLSearchParams(
962
1545
  e.indexOf("#") > -1 ? e.split("#")[0] : e
963
1546
  ).entries()
964
- ].filter(([, t]) => t).reduce((t, [s, i]) => (e.match(new RegExp(`(?:^|[?&])${s}=`, "g")) || []).length <= 1 ? { ...t, [s]: i } : t[s] ? {
1547
+ ].filter(([, t]) => t).reduce((t, [o, s]) => (e.match(new RegExp(`(?:^|[?&])${o}=`, "g")) || []).length <= 1 ? { ...t, [o]: s } : t[o] ? {
965
1548
  ...t,
966
- [s]: [...t[s], i]
967
- } : { ...t, [s]: [i] }, {});
1549
+ [o]: [...t[o], s]
1550
+ } : { ...t, [o]: [s] }, {});
968
1551
  }
969
- const o = () => a.env.aiApiUrl, Ft = {
970
- analyticsParameters: {
971
- getParameters(e, r = {}) {
972
- return a.get(
973
- `${o()}/cameras/${e}/analytics-parameters`,
974
- {
975
- params: r
976
- }
977
- );
978
- },
979
- createParameters(e) {
980
- return a.post(`${o()}/cameras/analytics-parameters`, e);
981
- },
982
- updateParameters({
983
- updatedBy: e,
984
- id: r,
985
- ...t
986
- }) {
987
- return a.patch(
988
- `${o()}/cameras/analytics-parameters/${r}?${g({
989
- updatedBy: e
990
- })}`,
991
- t
992
- );
993
- }
994
- },
1552
+ const L = () => a.env.aiApiUrl, n = () => `${a.env.aiApiUrl}/v2`, Uo = {
995
1553
  anpr: {
996
1554
  exportAnprLegacyEvents(e, r) {
997
1555
  return a({
998
- url: `${o()}/projects/${e}/anpr/export?${g(
1556
+ url: `${L()}/projects/${e}/anpr/export?${d(
999
1557
  r
1000
1558
  )}`,
1001
1559
  method: "GET",
1002
1560
  responseType: "blob"
1003
1561
  });
1004
1562
  },
1005
- getAnprEvents(e, r) {
1563
+ getAnprEvents(e, r, t = {}) {
1006
1564
  return a.get(
1007
- `${o()}/projects/${e}/anpr?${g(r)}`
1565
+ `${n()}/projects/${e}/anpr?${d(
1566
+ r
1567
+ )}`,
1568
+ t
1008
1569
  );
1009
1570
  },
1010
- getAnprCounts(e, r) {
1571
+ getAnprCounts(e, r, t) {
1011
1572
  return a.get(
1012
- `${o()}/projects/${e}/anpr/counts?${g(
1573
+ `${n()}/projects/${e}/anpr/counts?${d(
1013
1574
  r
1014
- )}`
1575
+ )}`,
1576
+ t
1015
1577
  );
1016
1578
  },
1017
1579
  updateAnprEvent(e, r) {
1018
- return a.patch(`${o()}/projects/anpr/${e}`, {
1019
- ...r
1020
- });
1580
+ return a.patch(`${n()}/anpr/${e}`, r);
1021
1581
  },
1022
- bulkUpdateAnprRecords(e, r) {
1023
- return a.patch(
1024
- `${o()}/projects/anpr/update/status?${g({
1025
- anprEventsIds: e,
1026
- action: r
1027
- })}`
1028
- );
1582
+ bulkUpdateAnprRecords(e) {
1583
+ return a.patch(`${n()}/anpr/status`, e);
1029
1584
  },
1030
1585
  exportAnprEvents(e, r) {
1031
1586
  return a({
1032
- url: `${o()}/projects/${e}/anpr/events/export?${g(
1587
+ url: `${n()}/projects/${e}/anpr/events/export?${d(
1033
1588
  r
1034
1589
  )}`,
1035
1590
  method: "GET",
@@ -1038,25 +1593,9 @@ const o = () => a.env.aiApiUrl, Ft = {
1038
1593
  }
1039
1594
  },
1040
1595
  gateReport: {
1041
- getLastVerified(e) {
1042
- return a.get(
1043
- `${o()}/projects/gate-report/last-verified`,
1044
- e
1045
- );
1046
- },
1047
- deleteEvent(e, r) {
1048
- return a.delete(
1049
- `${o()}/projects/events/${e}?${g(r)}`
1050
- );
1051
- },
1052
- dismissEvents(e) {
1053
- return a.delete(
1054
- `${o()}/projects/events?${g(e)}`
1055
- );
1056
- },
1057
1596
  exportEvents(e, r) {
1058
1597
  return a({
1059
- url: `${o()}/projects/${e}/gate-report/events/export?${g(
1598
+ url: `${n()}/projects/${e}/gate-report/events/export?${d(
1060
1599
  r
1061
1600
  )}`,
1062
1601
  method: "GET",
@@ -1065,14 +1604,14 @@ const o = () => a.env.aiApiUrl, Ft = {
1065
1604
  },
1066
1605
  exportEventsProgress(e, r) {
1067
1606
  return a.get(
1068
- `${o()}/projects/${e}/gate-report/events/export/progress?${g(
1607
+ `${L()}/projects/${e}/gate-report/events/export/progress?${d(
1069
1608
  r
1070
1609
  )}`
1071
1610
  );
1072
1611
  },
1073
1612
  generateAnprThumbnail(e, r) {
1074
1613
  return a.post(
1075
- `${o()}/cameras/${e}/anpr/${r}/snapshot/generate`,
1614
+ `${n()}/cameras/${e}/anpr/${r}/snapshot/generate`,
1076
1615
  {},
1077
1616
  {
1078
1617
  headers: {
@@ -1081,84 +1620,29 @@ const o = () => a.env.aiApiUrl, Ft = {
1081
1620
  }
1082
1621
  );
1083
1622
  },
1084
- getAllEvents(e, r, t) {
1085
- return r.vehicleTypes || (r.vehicleTypes = v), r.truckTypes || (r.vehicleTypes = v), r.camerasExid || (r.camerasExid = r.cameras), a.get(
1086
- `${o()}/projects/${e}/events?${g(
1087
- r
1088
- )}`,
1089
- t
1090
- );
1091
- },
1092
- getEventCounts(e, r = {}, t) {
1093
- return r.vehicleTypes || (r.vehicleTypes = v), a.get(
1094
- `${o()}/projects/${e}/project-stats?${g(
1095
- r
1096
- )}`,
1097
- {
1098
- ...t || {}
1099
- }
1100
- );
1101
- },
1102
1623
  getVerifiedDays(e, r, t = {}) {
1103
1624
  return a.get(
1104
- `${o()}/projects/${e}/gate-report/verified-days?${g(
1625
+ `${n()}/projects/${e}/gate-report/verified-days?${d(
1105
1626
  r
1106
1627
  )}`,
1107
1628
  t
1108
1629
  );
1109
1630
  },
1110
- updateEventById(e, {
1111
- updatedBy: r,
1112
- payload: t
1113
- }) {
1114
- return a.patch(
1115
- `${o()}/projects/events/${e}?${g({
1116
- updatedBy: r
1117
- })}`,
1118
- t
1119
- );
1120
- },
1121
1631
  verifyDay(e) {
1122
1632
  return a.post(
1123
- `${o()}/projects/gate-report/verified-days`,
1633
+ `${n()}/projects/gate-report/verified-days`,
1124
1634
  e
1125
1635
  );
1126
1636
  },
1127
- regenerateThumbnail(e, r) {
1128
- return a.put(
1129
- `${o()}/projects/gate-report/event-thumbnail/render/${e}?${g(
1130
- r
1131
- )}`,
1132
- {
1133
- method: "PUT"
1134
- }
1135
- );
1136
- },
1137
1637
  getDailyStatus(e, r = {}) {
1138
1638
  return a.get(
1139
- `${o()}/projects/${e}/processed-days`,
1639
+ `${n()}/projects/${e}/gate-report/processed-days`,
1140
1640
  { params: r }
1141
1641
  );
1142
1642
  },
1143
- getEventThumbnail({
1144
- cameraExid: e,
1145
- eventType: r,
1146
- eventTime: t,
1147
- token: s
1148
- }) {
1149
- return `${o()}/cameras/${e}/gate-report/${r}/${t}/thumbnail?authorization=${s}`;
1150
- },
1151
- getEventSnapshot({
1152
- cameraExid: e,
1153
- eventType: r,
1154
- eventTime: t,
1155
- token: s
1156
- }) {
1157
- return `${o()}/cameras/${e}/gate-report/${r}/${t}/snapshot?authorization=${s}`;
1158
- },
1159
1643
  getEvents(e, r, t = {}) {
1160
1644
  return a.get(
1161
- `${o()}/projects/${e}/gate-report/events?${g(
1645
+ `${n()}/projects/${e}/gate-report/events?${d(
1162
1646
  r
1163
1647
  )}`,
1164
1648
  t
@@ -1166,87 +1650,71 @@ const o = () => a.env.aiApiUrl, Ft = {
1166
1650
  },
1167
1651
  getCounts(e, r = {}, t = {}) {
1168
1652
  return a.get(
1169
- `${o()}/projects/${e}/gate-report/counts?${g(
1653
+ `${n()}/projects/${e}/gate-report/counts?${d(
1170
1654
  r
1171
1655
  )}`,
1172
1656
  t
1173
1657
  );
1174
1658
  },
1175
- getGateReportApplications(e, r) {
1176
- return a.get(
1177
- `${o()}/projects/${e}/cameras/${r}/gate-report/apps`
1178
- );
1179
- },
1180
1659
  getGateReportProjectsInfos(e) {
1181
- return a.get(
1182
- `${o()}/projects/gate-report/get-projects-info`,
1183
- e
1184
- );
1660
+ return a.get(`${n()}/projects/gate-report/info`, e);
1185
1661
  }
1186
1662
  },
1187
1663
  brainTool: {
1188
1664
  getObjectDetectionsResults(e = {}) {
1189
- return a.post(`${o()}/ai-models/object-detection`, e);
1190
- },
1191
- getSegments(e = {}) {
1192
- return a.post(`${o()}/ai-models/segment`, e);
1665
+ return a.post(
1666
+ `${n()}/ai-models/object-detection`,
1667
+ e
1668
+ );
1193
1669
  }
1194
1670
  },
1195
1671
  roi: {
1196
1672
  getROIs(e, r = {}) {
1197
1673
  return a.get(
1198
- `${o()}/projects/${e}/rois?${g(r)}`
1674
+ `${n()}/projects/${e}/rois?${d(
1675
+ r
1676
+ )}`
1199
1677
  );
1200
1678
  },
1201
1679
  createROI(e) {
1202
- return a.post(`${o()}/projects/rois`, e);
1680
+ return a.post(`${n()}/rois`, e);
1203
1681
  },
1204
1682
  updateROI({
1205
1683
  updatedBy: e,
1206
- roi: r
1684
+ id: r,
1685
+ ...t
1207
1686
  }) {
1208
1687
  return a.patch(
1209
- `${o()}/projects/rois/${r.id}?${g({
1688
+ `${n()}/rois/${r}?${d({
1210
1689
  updatedBy: e
1211
1690
  })}`,
1212
- r
1691
+ t
1213
1692
  );
1214
1693
  },
1215
1694
  deleteROI({ id: e, updatedBy: r }) {
1216
1695
  return a.patch(
1217
- `${o()}/projects/rois/${e}?${g({
1696
+ `${n()}/rois/${e}?${d({
1218
1697
  updatedBy: r
1219
1698
  })}`,
1220
- { isactive: !1, note: "delete roi" }
1699
+ { isActive: !1, note: "delete roi" }
1221
1700
  );
1222
1701
  }
1223
1702
  },
1224
1703
  detections: {
1225
- async getDetections({ projectExid: e, ...r }) {
1704
+ async getDetectionsCounts({ projectExid: e, ...r }, t = {}) {
1226
1705
  return a.get(
1227
- `${o()}/projects/${e}/detections?${g(
1706
+ `${n()}/projects/${e}/trackings/counts?${d(
1228
1707
  r
1229
- )}`
1230
- );
1231
- },
1232
- async getDetectionsCounts({
1233
- projectExid: e,
1234
- ...r
1235
- }) {
1236
- return a.get(
1237
- `${o()}/projects/${e}/detections/counts?${g(
1238
- r
1239
- )}`
1708
+ )}`,
1709
+ t
1240
1710
  );
1241
1711
  },
1242
- async getDetectionsByTimestamp({
1243
- projectExid: e,
1244
- ...r
1245
- }) {
1712
+ async getDetectionsByTimestamp({ projectExid: e, ...r }, t = {}) {
1246
1713
  return a.get(
1247
- `${o()}/projects/${e}/detections/timestamps?${g(
1714
+ `${n()}/projects/${e}/trackings/timestamps?${d(
1248
1715
  r
1249
- )}`
1716
+ )}`,
1717
+ t
1250
1718
  );
1251
1719
  },
1252
1720
  async getSimilarSegmentsInTimeIntervals({
@@ -1255,7 +1723,7 @@ const o = () => a.env.aiApiUrl, Ft = {
1255
1723
  ...t
1256
1724
  }) {
1257
1725
  return a.get(
1258
- `${o()}/cameras/${e}/segments/appearance-from-points`,
1726
+ `${n()}/cameras/${e}/segments/appearance-from-points`,
1259
1727
  {
1260
1728
  params: {
1261
1729
  cameraExid: e,
@@ -1265,27 +1733,37 @@ const o = () => a.env.aiApiUrl, Ft = {
1265
1733
  }
1266
1734
  );
1267
1735
  },
1268
- async getDetectionsTracking(e, r) {
1736
+ async getGroupedTrackings(e, r) {
1269
1737
  return a.get(
1270
- `${o()}/projects/${e}/detections/trackings?${g(
1738
+ `${n()}/projects/${e}/trackings/grouped?${d(
1271
1739
  r
1272
1740
  )}`
1273
1741
  );
1274
1742
  },
1275
1743
  async getSegmentsMasks(e, r) {
1276
1744
  return a.get(
1277
- `${o()}/cameras/${e}/segments/masks`,
1745
+ `${n()}/cameras/${e}/segments/masks`,
1278
1746
  {
1279
1747
  params: r
1280
1748
  }
1281
1749
  );
1282
1750
  },
1751
+ async getSegmentsPresenceDateIntervals({
1752
+ cameraExid: e,
1753
+ ...r
1754
+ }) {
1755
+ return a.get(
1756
+ `${n()}/cameras/${e}/segments/presence-intervals?${d(
1757
+ r
1758
+ )}`
1759
+ );
1760
+ },
1283
1761
  async getDetectionsPresenceDateIntervals({
1284
1762
  projectExid: e,
1285
1763
  ...r
1286
1764
  }) {
1287
1765
  return a.get(
1288
- `${o()}/projects/${e}/detections/presence-intervals?${g(
1766
+ `${n()}/projects/${e}/trackings/presence-intervals?${d(
1289
1767
  r
1290
1768
  )}`
1291
1769
  );
@@ -1295,7 +1773,7 @@ const o = () => a.env.aiApiUrl, Ft = {
1295
1773
  ...r
1296
1774
  }) {
1297
1775
  return a.get(
1298
- `${o()}/projects/${e}/detections/timestamps/export?${g(
1776
+ `${n()}/projects/${e}/detections/timestamps/export?${d(
1299
1777
  r
1300
1778
  )}`,
1301
1779
  { responseType: "blob" }
@@ -1303,105 +1781,134 @@ const o = () => a.env.aiApiUrl, Ft = {
1303
1781
  }
1304
1782
  },
1305
1783
  siteAnalytics: {
1306
- smartSearch({
1307
- cameraExid: e,
1308
- payload: r,
1309
- fromDate: t,
1310
- toDate: s,
1311
- page: i = 1,
1312
- pageSize: n = 20
1313
- }) {
1314
- let l = `${o()}/cameras/${e}/advanced_search?page=${i}&page_size=${n}`;
1315
- return t && s && (l += `&from_date=${t}&to_date=${s}`), a.post(l, r);
1784
+ smartSearchAll(e, r) {
1785
+ const { payload: t, ...o } = r, s = {
1786
+ page: 1,
1787
+ limit: 20,
1788
+ ...o
1789
+ };
1790
+ let g = `${n()}/projects/${e}/smart-search/all?${d(
1791
+ s
1792
+ )}`;
1793
+ return a.post(g, t);
1794
+ },
1795
+ smartSearchFirstLastSeen(e, r) {
1796
+ const { payload: t, ...o } = r, s = {
1797
+ page: 1,
1798
+ limit: 20,
1799
+ ...o
1800
+ };
1801
+ let g = `${n()}/projects/${e}/smart-search/first-last-seen?${d(
1802
+ s
1803
+ )}`;
1804
+ return a.post(g, t);
1316
1805
  },
1317
- saveQuery(e) {
1806
+ saveQuery({
1807
+ projectExid: e,
1808
+ cameraExid: r,
1809
+ payload: t
1810
+ }) {
1318
1811
  return a.post(
1319
- `${o()}/cameras/${e.cameraExid}/advanced_search/queries`,
1320
- e
1812
+ `${n()}/projects/${e}/cameras/${r}/smart-search/queries`,
1813
+ t
1321
1814
  );
1322
1815
  },
1323
1816
  getQueries(e, r) {
1324
1817
  return a.get(
1325
- `${o()}/cameras/${e}/advanced_search/queries`,
1326
- {
1327
- params: r
1328
- }
1818
+ `${n()}/projects/${e}/smart-search/queries?${d(
1819
+ r
1820
+ )}`
1329
1821
  );
1330
1822
  },
1331
- getQueryById(e, r) {
1823
+ getQueryById(e, r, t) {
1332
1824
  return a.get(
1333
- `${o()}/cameras/${e}/advanced_search/queries/${r}`
1334
- );
1335
- },
1336
- updateQuery(e, r, t) {
1337
- return a.put(
1338
- `${o()}/cameras/${e}/advanced_search/queries/${r}`,
1339
- t
1825
+ `${n()}/projects/${e}/smart-search/queries/${t}?${d(
1826
+ { cameraExid: r }
1827
+ )}`
1340
1828
  );
1341
1829
  },
1342
- deleteQuery(e, r) {
1343
- return a.delete(
1344
- `${o()}/cameras/${e}/advanced_search/queries/${r}`,
1345
- {}
1830
+ updateQuery({
1831
+ projectExid: e,
1832
+ cameraExid: r,
1833
+ queryId: t,
1834
+ payload: o
1835
+ }) {
1836
+ return a.patch(
1837
+ `${n()}/projects/${e}/cameras/${r}/smart-search/queries/${t}`,
1838
+ o
1346
1839
  );
1347
1840
  },
1348
- getProcessedTimes({
1841
+ deleteQuery({
1349
1842
  projectExid: e,
1350
- cameraExids: r,
1351
- granularity: t = "day",
1352
- endDate: s,
1353
- startDate: i
1843
+ cameraExid: r,
1844
+ queryId: t
1354
1845
  }) {
1355
- return a.get(
1356
- `${o()}/projects/${e}/processed_times`,
1357
- {
1358
- params: {
1359
- camera_exids: r,
1360
- granularity: t,
1361
- start_date: i,
1362
- end_date: s
1363
- },
1364
- preserveCasing: !0
1365
- }
1846
+ return a.delete(
1847
+ `${n()}/projects/${e}/cameras/${r}/smart-search/queries/${t}`,
1848
+ {}
1366
1849
  );
1367
1850
  },
1368
1851
  exportResultsData({
1369
- cameraExid: e,
1370
- fromDate: r,
1371
- toDate: t,
1852
+ projectExid: e,
1853
+ cameraExids: r,
1854
+ fromDate: t,
1855
+ toDate: o,
1372
1856
  query: s,
1373
- fileType: i = Z.Csv,
1374
- directDownload: n = !0,
1375
- payload: l
1857
+ fileType: g = X.Csv,
1858
+ directDownload: m = !0,
1859
+ payload: u,
1860
+ limit: h,
1861
+ page: M
1376
1862
  }) {
1377
1863
  return a.post(
1378
- `${o()}/cameras/${e}/advanced_search/export`,
1379
- l,
1380
- {
1381
- responseType: "blob",
1382
- params: {
1383
- fromDate: r,
1384
- toDate: t,
1864
+ `${n()}/projects/${e}/smart-search/export?${d(
1865
+ {
1866
+ cameraExids: r,
1867
+ fromDate: t,
1868
+ toDate: o,
1385
1869
  query: s,
1386
- fileType: i,
1387
- directDownload: n
1870
+ fileType: g,
1871
+ directDownload: m,
1872
+ limit: h,
1873
+ page: M
1388
1874
  }
1875
+ )}`,
1876
+ u,
1877
+ {
1878
+ responseType: "blob"
1389
1879
  }
1390
1880
  );
1881
+ },
1882
+ getDetectionsHeatmapData(e, r) {
1883
+ return a.get(
1884
+ `${n()}/projects/${e}/smart-search/heatmap?${d(
1885
+ r
1886
+ )}`,
1887
+ {}
1888
+ );
1391
1889
  }
1392
1890
  },
1393
1891
  coolify: {
1394
1892
  getCoolifyServers() {
1395
- return a.get(`${o()}/coolify/servers`);
1893
+ return a.get(`${n()}/coolify/servers`);
1396
1894
  },
1397
- createAppOnCoolify(e) {
1895
+ createAppOnCoolify({
1896
+ projectExid: e,
1897
+ cameraExid: r,
1898
+ payload: t
1899
+ }) {
1398
1900
  return a.post(
1399
- `${o()}/projects/cameras/${e.cameraExid}/anpr/create_app?${g(e)}`
1901
+ `${n()}/projects/${e}/cameras/${r}/anpr/apps`,
1902
+ t
1400
1903
  );
1401
1904
  },
1402
- saveAppOnCoolify(e, r, t) {
1905
+ registerCoolifyApp({
1906
+ projectExid: e,
1907
+ cameraExid: r,
1908
+ payload: t
1909
+ }) {
1403
1910
  return a.post(
1404
- `${o()}/projects/${e}/cameras/${r}/gate_report/apps`,
1911
+ `${n()}/projects/${e}/cameras/${r}/gate-report/apps`,
1405
1912
  t
1406
1913
  );
1407
1914
  },
@@ -1409,11 +1916,11 @@ const o = () => a.env.aiApiUrl, Ft = {
1409
1916
  appUuid: e,
1410
1917
  appId: r,
1411
1918
  payload: t,
1412
- cameraExid: s,
1413
- projectExid: i
1919
+ cameraExid: o,
1920
+ projectExid: s
1414
1921
  }) {
1415
1922
  return a.patch(
1416
- `${o()}/projects/${i}/cameras/${s}/gate_report/apps/${r}?app_uuid=${e}`,
1923
+ `${n()}/projects/${s}/cameras/${o}/gate-report/apps/${r}?app_uuid=${e}`,
1417
1924
  t
1418
1925
  );
1419
1926
  },
@@ -1421,37 +1928,128 @@ const o = () => a.env.aiApiUrl, Ft = {
1421
1928
  appUuid: e,
1422
1929
  appId: r,
1423
1930
  cameraExid: t,
1424
- projectExid: s
1931
+ projectExid: o
1425
1932
  }) {
1426
1933
  return a.delete(
1427
- `${o()}/projects/${s}/cameras/${t}/gate_report/apps/${r}?app_uuid=${e}`
1934
+ `${n()}/projects/${o}/cameras/${t}/gate-report/apps/${r}?app_uuid=${e}`
1428
1935
  );
1429
1936
  },
1430
1937
  startService(e) {
1431
- return a.post(`${o()}/coolify/services/${e}/start`);
1938
+ return a.post(
1939
+ `${n()}/coolify/services/${e}/start`
1940
+ );
1432
1941
  },
1433
1942
  pauseService(e) {
1434
- return a.post(`${o()}/coolify/services/${e}/stop`);
1943
+ return a.post(`${n()}/coolify/services/${e}/stop`);
1435
1944
  },
1436
1945
  restartService(e) {
1437
1946
  return a.post(
1438
- `${o()}/coolify/services/${e}/restart`
1947
+ `${n()}/coolify/services/${e}/restart`
1439
1948
  );
1440
1949
  }
1441
1950
  },
1442
1951
  fovChanges: {
1443
1952
  getCameraFovChanges(e, r = {}) {
1444
1953
  return a.post(
1445
- `${o()}/cameras/${e}/fov_changes`,
1954
+ `${n()}/cameras/${e}/fov_changes`,
1446
1955
  {},
1447
1956
  r
1448
1957
  );
1449
1958
  }
1959
+ },
1960
+ prompts: {
1961
+ list(e = {}) {
1962
+ return a.get(`${n()}/prompts?${d(e)}`);
1963
+ },
1964
+ get(e) {
1965
+ return a.get(`${n()}/prompts/${e}`);
1966
+ },
1967
+ create(e) {
1968
+ return a.post(`${n()}/prompts`, e);
1969
+ },
1970
+ update(e, r) {
1971
+ return a.patch(`${n()}/prompts/${e}`, r);
1972
+ },
1973
+ delete(e) {
1974
+ return a.delete(`${n()}/prompts/${e}`);
1975
+ }
1976
+ },
1977
+ apiKeys: {
1978
+ list(e = {}) {
1979
+ const r = d(e);
1980
+ return a.get(`${n()}/api-keys${r ? `?${r}` : ""}`);
1981
+ },
1982
+ purposes() {
1983
+ return a.get(`${n()}/api-keys/purposes`);
1984
+ },
1985
+ get(e) {
1986
+ return a.get(`${n()}/api-keys/${e}`);
1987
+ },
1988
+ create(e) {
1989
+ return a.post(`${n()}/api-keys`, e);
1990
+ },
1991
+ update(e, r) {
1992
+ return a.patch(`${n()}/api-keys/${e}`, r);
1993
+ },
1994
+ delete(e, r = !1) {
1995
+ const t = r ? "?revoke=true" : "";
1996
+ return a.delete(`${n()}/api-keys/${e}${t}`);
1997
+ }
1998
+ },
1999
+ gateReportManagement: {
2000
+ listApps(e = {}) {
2001
+ return a.get(
2002
+ `${n()}/gate-report/apps?${d(
2003
+ e
2004
+ )}`
2005
+ );
2006
+ },
2007
+ getApp(e, r) {
2008
+ return a.get(
2009
+ `${n()}/gate-report/apps/${e}/${r}`
2010
+ );
2011
+ },
2012
+ listAppEvents(e) {
2013
+ return a.get(
2014
+ `${n()}/gate-report/apps/last-event-status?${d({
2015
+ projectExid: e
2016
+ })}`
2017
+ );
2018
+ },
2019
+ createApp(e) {
2020
+ return a.post(`${n()}/gate-report/apps`, e);
2021
+ },
2022
+ updateApp(e, r, t) {
2023
+ return a.patch(
2024
+ `${n()}/gate-report/apps/${e}/${r}`,
2025
+ t
2026
+ );
2027
+ },
2028
+ deleteApp(e, r) {
2029
+ return a.delete(
2030
+ `${n()}/gate-report/apps/${e}/${r}`
2031
+ );
2032
+ },
2033
+ setAppState(e, r, t) {
2034
+ return a.patch(
2035
+ `${n()}/gate-report/apps/${e}/${r}/state`,
2036
+ { state: t }
2037
+ );
2038
+ },
2039
+ listCoolifyProjects() {
2040
+ return a.get(`${n()}/gate-report/coolify-projects`);
2041
+ },
2042
+ listCoolifyServers() {
2043
+ return a.get(`${n()}/gate-report/coolify-servers`);
2044
+ },
2045
+ listImageTags() {
2046
+ return a.get(`${n()}/gate-report/image-tags`);
2047
+ }
1450
2048
  }
1451
- }, Lt = {
2049
+ }, jo = {
1452
2050
  webRtc: {
1453
2051
  requestIceServers({ url: e, token: r }) {
1454
- return S({
2052
+ return w({
1455
2053
  url: e,
1456
2054
  method: "OPTIONS",
1457
2055
  headers: {
@@ -1464,7 +2062,7 @@ const o = () => a.env.aiApiUrl, Ft = {
1464
2062
  token: r,
1465
2063
  data: t
1466
2064
  }) {
1467
- return S({
2065
+ return w({
1468
2066
  url: e,
1469
2067
  method: "POST",
1470
2068
  headers: {
@@ -1478,21 +2076,21 @@ const o = () => a.env.aiApiUrl, Ft = {
1478
2076
  url: e,
1479
2077
  token: r,
1480
2078
  data: t,
1481
- tag: s
2079
+ tag: o
1482
2080
  }) {
1483
- return S({
2081
+ return w({
1484
2082
  url: e,
1485
2083
  method: "PATCH",
1486
2084
  headers: {
1487
2085
  "Content-Type": "application/trickle-ice-sdpfrag",
1488
- "If-Match": s,
2086
+ "If-Match": o,
1489
2087
  Authorization: `Bearer ${r}`
1490
2088
  },
1491
2089
  data: t
1492
2090
  });
1493
2091
  }
1494
2092
  }
1495
- }, Zt = {
2093
+ }, Bo = {
1496
2094
  current(e, r) {
1497
2095
  return a.get(`/projects/${e}/weather/current`, {
1498
2096
  params: r
@@ -1508,25 +2106,23 @@ const o = () => a.env.aiApiUrl, Ft = {
1508
2106
  });
1509
2107
  }
1510
2108
  };
1511
- function c() {
2109
+ function S() {
1512
2110
  var r;
1513
2111
  const e = (r = /labs-(\d+)/g.exec(window.location.href)) == null ? void 0 : r[1];
1514
2112
  return e ? `https://${e}.labs.evercam.io` : a.env.evercamLabsUrl;
1515
2113
  }
1516
- const qt = {
2114
+ const Oo = {
1517
2115
  posthog: {
1518
2116
  getEvents(e) {
1519
- return a.get(`${c()}/posthog/events`, {
1520
- params: e
1521
- });
2117
+ return a.get(`${S()}/posthog/events`, e);
1522
2118
  },
1523
2119
  getUsers(e) {
1524
- return a.get(`${c()}/posthog/users`, {
2120
+ return a.get(`${S()}/posthog/users`, {
1525
2121
  params: e
1526
2122
  });
1527
2123
  },
1528
2124
  getActiveUsers(e) {
1529
- return a.get(`${c()}/posthog/active-users`, {
2125
+ return a.get(`${S()}/posthog/active-users`, {
1530
2126
  params: e,
1531
2127
  preserveCasing: !0
1532
2128
  });
@@ -1534,14 +2130,14 @@ const qt = {
1534
2130
  },
1535
2131
  copilot: {
1536
2132
  async getAllConversations(e) {
1537
- return a.get(`${c()}/copilot/conversations`, {
2133
+ return a.get(`${S()}/copilot/conversations`, {
1538
2134
  params: e,
1539
2135
  preserveCasing: !0
1540
2136
  });
1541
2137
  },
1542
2138
  async getOneConversation(e) {
1543
2139
  return a.get(
1544
- `${c()}/copilot/conversations/${e}`,
2140
+ `${S()}/copilot/conversations/${e}`,
1545
2141
  {
1546
2142
  preserveCasing: !0
1547
2143
  }
@@ -1549,13 +2145,13 @@ const qt = {
1549
2145
  },
1550
2146
  async getConversationMessages(e, r) {
1551
2147
  return a.get(
1552
- `${c()}/copilot/conversations/${e}/messages`,
2148
+ `${S()}/copilot/conversations/${e}/messages`,
1553
2149
  { params: r, preserveCasing: !0 }
1554
2150
  );
1555
2151
  },
1556
2152
  async getMessageSteps(e) {
1557
2153
  return a.get(
1558
- `${c()}/copilot/conversations/${e.conversationId}/messages/${e.id}/steps`
2154
+ `${S()}/copilot/conversations/${e.conversationId}/messages/${e.id}/steps`
1559
2155
  );
1560
2156
  },
1561
2157
  async submitMessageFeedback({
@@ -1564,7 +2160,7 @@ const qt = {
1564
2160
  ...t
1565
2161
  }) {
1566
2162
  return a.post(
1567
- `${c()}/copilot/conversations/${e}/messages/${r}/feedback`,
2163
+ `${S()}/copilot/conversations/${e}/messages/${r}/feedback`,
1568
2164
  t,
1569
2165
  {
1570
2166
  preserveCasing: !0
@@ -1572,17 +2168,20 @@ const qt = {
1572
2168
  );
1573
2169
  }
1574
2170
  },
1575
- detections: {
1576
- async getSegmentsDateIntervals({
1577
- cameraExid: e,
1578
- fromDate: r,
1579
- toDate: t,
1580
- precision: s
1581
- }) {
2171
+ siteAnalytics: {
2172
+ async getProcessingStatus(e = {}, r = {}) {
2173
+ return a.get(`${S()}/site-analytics/processing-status`, {
2174
+ params: e,
2175
+ ...r,
2176
+ preserveCasing: !0
2177
+ });
2178
+ },
2179
+ async getIntersectionsHeatmapData(e) {
2180
+ const { cameraExid: r, ...t } = e;
1582
2181
  return a.get(
1583
- `${c()}/cameras/${e}/segments/presence-intervals`,
2182
+ `${S()}/site-analytics/cameras/${r}/heatmap/intersections`,
1584
2183
  {
1585
- params: { fromDate: r, toDate: t, precision: s },
2184
+ params: t,
1586
2185
  preserveCasing: !0
1587
2186
  }
1588
2187
  );
@@ -1591,7 +2190,7 @@ const qt = {
1591
2190
  googleCloudStorage: {
1592
2191
  listFiles(e = "") {
1593
2192
  return a.get(
1594
- `${c()}/gc-storage/buckets/evercam-labs/files`,
2193
+ `${S()}/gc-storage/buckets/evercam-labs/files`,
1595
2194
  {
1596
2195
  params: {
1597
2196
  prefix: e
@@ -1602,7 +2201,7 @@ const qt = {
1602
2201
  },
1603
2202
  getSignedUrl(e) {
1604
2203
  return a.get(
1605
- `${c()}/gc-storage/buckets/evercam-labs/files/signed-url`,
2204
+ `${S()}/gc-storage/buckets/evercam-labs/files/signed-url`,
1606
2205
  {
1607
2206
  params: {
1608
2207
  fileName: e
@@ -1615,7 +2214,7 @@ const qt = {
1615
2214
  luminance: {
1616
2215
  getReadings(e) {
1617
2216
  return a.get(
1618
- `${c()}/cameras/${e.cameraExid || "echel-mdqur"}/luminance/readings`,
2217
+ `${S()}/cameras/${e.cameraExid || "echel-mdqur"}/luminance/readings`,
1619
2218
  {
1620
2219
  params: {
1621
2220
  fromDate: e.fromDate,
@@ -1627,8 +2226,8 @@ const qt = {
1627
2226
  }
1628
2227
  },
1629
2228
  kits: {
1630
- getMetrics(e, r, t = q.Last24Hours) {
1631
- return a.get(`${c()}/kits/${e}/metrics`, {
2229
+ getMetrics(e, r, t = Q.Last24Hours) {
2230
+ return a.get(`${S()}/kits/${e}/metrics`, {
1632
2231
  params: {
1633
2232
  metrics: r,
1634
2233
  from: t
@@ -1637,7 +2236,7 @@ const qt = {
1637
2236
  });
1638
2237
  }
1639
2238
  }
1640
- }, Xt = {
2239
+ }, Fo = {
1641
2240
  apiStatus: {
1642
2241
  getApiStatus() {
1643
2242
  return a.get("/status");
@@ -1647,6 +2246,9 @@ const qt = {
1647
2246
  signup(e) {
1648
2247
  return a.post("/users", e);
1649
2248
  },
2249
+ zohoAuthUrl(e) {
2250
+ return a.post("/support/zoho-auth-url", e);
2251
+ },
1650
2252
  fetchAccessFeatures(e) {
1651
2253
  return a.get(`/users/${e}/features`);
1652
2254
  },
@@ -1664,7 +2266,7 @@ const qt = {
1664
2266
  return a.get(`/auth/provider/${e}`);
1665
2267
  },
1666
2268
  login(e) {
1667
- return a.post("/auth/login", g(e));
2269
+ return a.post("/auth/login", d(e));
1668
2270
  },
1669
2271
  loginWithApiCredentials(e, r) {
1670
2272
  return a.post(`/auth/login?api_id=${e}&api_key=${r}`);
@@ -1698,15 +2300,13 @@ const qt = {
1698
2300
  confirm(e, r) {
1699
2301
  return a.post(`/users/${e}/confirm`, r);
1700
2302
  },
1701
- deleteActiveSession(e, r = {}) {
2303
+ deleteActiveSession(e, r) {
1702
2304
  return a.delete(`/users/active-sessions/${e}`, {
1703
2305
  params: r
1704
2306
  });
1705
2307
  },
1706
2308
  getActiveSessions(e) {
1707
- return a.get("/users/active-sessions", {
1708
- params: e
1709
- });
2309
+ return a.get("/users/active-sessions", e);
1710
2310
  },
1711
2311
  update(e, r = {}) {
1712
2312
  return a.patch(`/users/${e}`, r);
@@ -1716,24 +2316,27 @@ const qt = {
1716
2316
  },
1717
2317
  fetchPermissions() {
1718
2318
  return a.get("/users/permissions");
2319
+ },
2320
+ getProjectContacts(e) {
2321
+ return a.get(`/projects/${e}/contacts`);
1719
2322
  }
1720
2323
  },
1721
2324
  notifications: {
1722
2325
  get() {
1723
2326
  return a.get("/notifications");
1724
2327
  },
1725
- markAllAsRead(e) {
1726
- return a.patch(`/notifications/${e}`);
1727
- },
1728
- markAsRead() {
2328
+ markAllAsRead() {
1729
2329
  return a.post("/notifications/mark-as-read");
2330
+ },
2331
+ markAsRead(e) {
2332
+ return a.patch(`/notifications/${e}`);
1730
2333
  }
1731
2334
  },
1732
2335
  bim: {
1733
- getBimSnapshot(e, r, t, s) {
2336
+ getBimSnapshot(e, r, t, o) {
1734
2337
  return a.get(`/cameras/${e}/bim/${r}`, {
1735
2338
  params: t,
1736
- ...s || {}
2339
+ ...o || {}
1737
2340
  });
1738
2341
  },
1739
2342
  getBimModel(e, r, t) {
@@ -1771,14 +2374,11 @@ const qt = {
1771
2374
  return a.get("/cameras", { params: e, ...e.config });
1772
2375
  },
1773
2376
  getCameraById(e, r) {
1774
- return a.get(`/cameras/${e}?${g(r)}`);
2377
+ return a.get(`/cameras/${e}?${d(r)}`);
1775
2378
  },
1776
2379
  getCameraLastPublicNote(e) {
1777
2380
  return a.get(`/cameras/${e}/last-public-note`);
1778
2381
  },
1779
- portCheck(e) {
1780
- return a.get("/cameras/port-check", e);
1781
- },
1782
2382
  getNvrStreamingToken({
1783
2383
  cameraExid: e,
1784
2384
  token: r
@@ -1786,7 +2386,7 @@ const qt = {
1786
2386
  return fetch(
1787
2387
  `${a.env.baseUrl}/cameras/${e}/hls?authorization=${r}`
1788
2388
  ).then(
1789
- ({ url: t }) => Bt(t.split("?")[1] || "").access_token
2389
+ ({ url: t }) => go(t.split("?")[1] || "").access_token
1790
2390
  );
1791
2391
  },
1792
2392
  getCameraStatusLogs(e, r) {
@@ -1800,8 +2400,11 @@ const qt = {
1800
2400
  index({
1801
2401
  params: e,
1802
2402
  config: r
1803
- }) {
1804
- return a.get(`/projects?${g(e)}`, r);
2403
+ } = { params: {}, config: {} }) {
2404
+ return a.get(`/projects?${d(e)}`, r);
2405
+ },
2406
+ create(e) {
2407
+ return a.post("/projects", e);
1805
2408
  },
1806
2409
  getLogos(e) {
1807
2410
  return a.get(`/projects/${e}/logos`);
@@ -1818,7 +2421,7 @@ const qt = {
1818
2421
  updateLogo(e, r, t) {
1819
2422
  return a.patch(
1820
2423
  `/projects/${e}/logos/${r}`,
1821
- g({ name: t })
2424
+ d({ name: t })
1822
2425
  );
1823
2426
  },
1824
2427
  updateThumbnail(e, r) {
@@ -1854,6 +2457,23 @@ const qt = {
1854
2457
  },
1855
2458
  getCameraRefs(e) {
1856
2459
  return a.get(`/projects/${e}/camera_refs`);
2460
+ },
2461
+ getTeamMembers() {
2462
+ return a.get("/projects/team-members");
2463
+ },
2464
+ getMembers(e) {
2465
+ return a.get(`/projects/${e}/users`);
2466
+ },
2467
+ inviteMembers(e, r) {
2468
+ return a.post(`/projects/${e}/users`, r);
2469
+ },
2470
+ removeMembers(e, r) {
2471
+ return a.delete(`/projects/${e}/users`, {
2472
+ params: { emails: r }
2473
+ });
2474
+ },
2475
+ updateMembersRole(e, r) {
2476
+ return a.patch(`/projects/${e}/users`, r);
1857
2477
  }
1858
2478
  },
1859
2479
  timelapse: {
@@ -1926,6 +2546,11 @@ const qt = {
1926
2546
  },
1927
2547
  getDocumentSchema(e) {
1928
2548
  return a.get(`/aconex/projects/${e}/register/schema`);
2549
+ },
2550
+ getDocumentTypeSchema(e, r) {
2551
+ return a.get(
2552
+ `/aconex/projects/${e}/register/schema/${r}`
2553
+ );
1929
2554
  }
1930
2555
  },
1931
2556
  procore: {
@@ -2061,6 +2686,32 @@ const qt = {
2061
2686
  return a.post("/voyage-control/auth/revoke");
2062
2687
  }
2063
2688
  },
2689
+ ring: {
2690
+ authenticate(e) {
2691
+ return a.post("/ring/callback", e);
2692
+ },
2693
+ getDevices() {
2694
+ return a.get("/ring/devices");
2695
+ },
2696
+ importDevices(e) {
2697
+ return a.post("/ring/devices/import", e);
2698
+ },
2699
+ moveDevice(e, r) {
2700
+ return a.patch(`/ring/devices/${e}/move`, r);
2701
+ },
2702
+ deleteDevice(e) {
2703
+ return a.delete(`/ring/devices/${e}`);
2704
+ },
2705
+ disconnect() {
2706
+ return a.post("/ring/disconnect");
2707
+ },
2708
+ startLiveView(e, r) {
2709
+ return a.post(`/ring/devices/${e}/live`, r);
2710
+ },
2711
+ stopLiveView(e, r) {
2712
+ return a.delete(`/ring/devices/${e}/live/${r}`);
2713
+ }
2714
+ },
2064
2715
  xweather: {
2065
2716
  connect(e, r) {
2066
2717
  return a.post(`/projects/${e}/xweather/connect`, r);
@@ -2080,12 +2731,12 @@ const qt = {
2080
2731
  params: r
2081
2732
  });
2082
2733
  },
2083
- nearest(e, r, t, s) {
2734
+ nearest(e, r, t, o) {
2084
2735
  return a.get(
2085
2736
  `/cameras/${e}/recordings/snapshots/${r}/nearest`,
2086
2737
  {
2087
2738
  params: t,
2088
- ...s || {}
2739
+ ...o || {}
2089
2740
  }
2090
2741
  );
2091
2742
  },
@@ -2093,12 +2744,12 @@ const qt = {
2093
2744
  cameraId: e,
2094
2745
  year: r,
2095
2746
  month: t,
2096
- payload: s
2747
+ payload: o
2097
2748
  }) {
2098
2749
  return a.get(
2099
2750
  `/cameras/${e}/recordings/snapshots/${r}/${t}/days`,
2100
2751
  {
2101
- params: s
2752
+ params: o
2102
2753
  }
2103
2754
  );
2104
2755
  },
@@ -2106,15 +2757,15 @@ const qt = {
2106
2757
  cameraId: e,
2107
2758
  year: r,
2108
2759
  month: t,
2109
- day: s,
2110
- payload: i,
2111
- cancelToken: n
2760
+ day: o,
2761
+ payload: s,
2762
+ cancelToken: g
2112
2763
  }) {
2113
2764
  return a.get(
2114
- `/cameras/${e}/recordings/snapshots/${r}/${t}/${s}/hours`,
2765
+ `/cameras/${e}/recordings/snapshots/${r}/${t}/${o}/hours`,
2115
2766
  {
2116
- params: i,
2117
- cancelToken: n
2767
+ params: s,
2768
+ cancelToken: g
2118
2769
  }
2119
2770
  );
2120
2771
  },
@@ -2128,8 +2779,8 @@ const qt = {
2128
2779
  }
2129
2780
  },
2130
2781
  progressPhotos: {
2131
- index() {
2132
- return a.get("/progress-photos");
2782
+ index(e) {
2783
+ return a.get(`/projects/${e}/progress-photos`);
2133
2784
  },
2134
2785
  show(e) {
2135
2786
  return a.get(`/progress-photos/${e}`);
@@ -2142,19 +2793,19 @@ const qt = {
2142
2793
  },
2143
2794
  unsubscribe(e, r) {
2144
2795
  return a.patch(
2145
- `/progress-photos/${e}/unsubscribe?${g(
2796
+ `/progress-photos/${e}/unsubscribe?${d(
2146
2797
  r
2147
2798
  )}`
2148
2799
  );
2149
2800
  },
2150
2801
  delete(e, r) {
2151
- return a.delete(`/progress-photos/${e}?${g(r)}`);
2802
+ return a.delete(`/progress-photos/${e}?${d(r)}`);
2152
2803
  }
2153
2804
  },
2154
2805
  mediaHub: {
2155
2806
  getAllMedia(e, r) {
2156
2807
  return a.get(
2157
- `projects/${e}/media-hub?${g(r, {
2808
+ `projects/${e}/media-hub?${d(r, {
2158
2809
  forceArrayBrackets: !0
2159
2810
  })}`
2160
2811
  );
@@ -2165,8 +2816,12 @@ const qt = {
2165
2816
  cShow(e, r) {
2166
2817
  return a.get(`/projects/${e}/media-hub/${r}`);
2167
2818
  },
2168
- cCreate(e, r) {
2169
- return a.post(`/projects/${e}/media-hub`, r);
2819
+ cCreate(e, r, t = (o) => {
2820
+ }) {
2821
+ return a.post(`/projects/${e}/media-hub`, r, {
2822
+ onUploadProgress: t,
2823
+ timeout: 72e5
2824
+ });
2170
2825
  },
2171
2826
  cUpdate(e, r, t) {
2172
2827
  return a.patch(`/projects/${e}/media-hub/${r}`, t);
@@ -2176,51 +2831,14 @@ const qt = {
2176
2831
  }
2177
2832
  },
2178
2833
  shares: {
2179
- updateShareRights(e, r) {
2180
- return a.patch(`/cameras/${e}/shares`, r);
2181
- },
2182
- updateShareRequestRights(e, r) {
2183
- return a.patch(`/cameras/${e}/shares/requests`, r);
2184
- },
2185
- cIndex(e) {
2186
- return a.get(`/cameras/${e}/shares`);
2187
- },
2188
- getShareRequest(e, r) {
2189
- return a.get(`/cameras/${e}/shares/requests`, {
2190
- params: r
2191
- });
2192
- },
2193
- deleteShare(e, r) {
2194
- return a.delete(`/cameras/${e}/shares`, r);
2195
- },
2196
- deleteRequest(e, r) {
2197
- return a.delete(`/cameras/${e}/shares/requests`, r);
2198
- },
2199
2834
  deleteShareRequest(e) {
2200
2835
  return a.delete(`/share-requests/${e.params.key}`);
2201
2836
  },
2202
2837
  getSharedUsers(e) {
2203
2838
  return a.get(`/cameras/${e}/shares/users`);
2204
2839
  },
2205
- cCreate(e, r) {
2206
- return a.post(`/cameras/${e}/shares`, r);
2207
- },
2208
- shareProjectCameras(e, r) {
2209
- return a.post(`/projects/${e}/shares/cameras`, r);
2210
- },
2211
2840
  getShareRequestByKey(e) {
2212
2841
  return a.get(`/shares/requests/${e}`);
2213
- },
2214
- resendShareRequest(e, r) {
2215
- return a.post(`/cameras/${e}/shares/requests/resend`, r);
2216
- },
2217
- getProjectShares(e) {
2218
- return a.get(
2219
- `/projects/${e}/shares?include_camera_shares=true&sort=fullname|asc`
2220
- );
2221
- },
2222
- updateUserRestriction(e, r) {
2223
- return a.patch(`/projects/${e}/shares/cameras`, r);
2224
2842
  }
2225
2843
  },
2226
2844
  company: {
@@ -2236,7 +2854,8 @@ const qt = {
2236
2854
  return a.get("/company/projects", e);
2237
2855
  },
2238
2856
  getCompanyCameras(e) {
2239
- return a.get("/company/cameras", e);
2857
+ const r = "params" in e ? e : { params: e };
2858
+ return a.get("/company/cameras", r);
2240
2859
  },
2241
2860
  getCompanyKits(e) {
2242
2861
  return a.get("/company/kits", e);
@@ -2292,7 +2911,7 @@ const qt = {
2292
2911
  },
2293
2912
  archiveOrUnarchiveComment(e, r, t) {
2294
2913
  return a.patch(
2295
- `/projects/${e}/comments/${r}?${g({ archive: t })}`
2914
+ `/projects/${e}/comments/${r}?${d({ archive: t })}`
2296
2915
  );
2297
2916
  },
2298
2917
  deleteComment(e, r) {
@@ -2304,6 +2923,14 @@ const qt = {
2304
2923
  return a.get("/proxy/storyblok", { params: e });
2305
2924
  }
2306
2925
  },
2926
+ snapshots: {
2927
+ deliverViaEmail(e, r) {
2928
+ return a.post(
2929
+ `/projects/${e}/snapshots/deliver/email`,
2930
+ r
2931
+ );
2932
+ }
2933
+ },
2307
2934
  mailing: {
2308
2935
  unsubscribe(e) {
2309
2936
  return a.post("/mailing/unsubscribe", e);
@@ -2311,7 +2938,7 @@ const qt = {
2311
2938
  },
2312
2939
  widgets: {
2313
2940
  index(e) {
2314
- return a.get(`/widgets?${g(e)}`);
2941
+ return a.get(`/widgets?${d(e)}`);
2315
2942
  },
2316
2943
  show(e) {
2317
2944
  return a.get(`/widgets/${e}`);
@@ -2322,11 +2949,11 @@ const qt = {
2322
2949
  setSessionSettings(e) {
2323
2950
  return a.put("/widgets/session", e);
2324
2951
  },
2325
- createProjectWidget(e, r) {
2326
- return a.post(`/projects/${e}/widgets`, r);
2952
+ setStatus(e, r) {
2953
+ return a.patch(`/widgets/${e}/status`, r);
2327
2954
  },
2328
- createCameraWidget(e, r) {
2329
- return a.post(`/cameras/${e}/widgets`, r);
2955
+ create(e) {
2956
+ return a.post("/widgets", e);
2330
2957
  },
2331
2958
  update(e, r) {
2332
2959
  return a.put(`/widgets/${e}`, r);
@@ -2334,10 +2961,50 @@ const qt = {
2334
2961
  delete(e) {
2335
2962
  return a.delete(`/widgets/${e}`);
2336
2963
  }
2964
+ },
2965
+ developerApps: {
2966
+ index() {
2967
+ return a.get("/developer/apps");
2968
+ },
2969
+ show(e) {
2970
+ return a.get(`/developer/apps/${e}`);
2971
+ },
2972
+ create(e) {
2973
+ return a.post("/developer/apps", e);
2974
+ },
2975
+ update(e, r) {
2976
+ return a.patch(`/developer/apps/${e}`, r);
2977
+ },
2978
+ delete(e) {
2979
+ return a.delete(`/developer/apps/${e}`);
2980
+ },
2981
+ regenerateSecret(e) {
2982
+ return a.post(`/developer/apps/${e}/regenerate-secret`);
2983
+ }
2984
+ },
2985
+ oauth: {
2986
+ getClientInfo(e, r) {
2987
+ return a.get("/oauth/client-info", {
2988
+ params: { client_id: e, scope: r }
2989
+ });
2990
+ },
2991
+ submitConsent(e) {
2992
+ return a.post("/oauth/consent", e);
2993
+ }
2994
+ },
2995
+ zoho: {
2996
+ getDealLocation(e) {
2997
+ return a.get(`/zoho/deals/${e}/location`);
2998
+ },
2999
+ updateDealLocation(e, r) {
3000
+ return a.post(`/zoho/deals/${e}/location`, r);
3001
+ }
2337
3002
  }
2338
- }, Jt = {
3003
+ }, No = {
2339
3004
  presets: {
2340
- index({ cameraExid: e }) {
3005
+ index({
3006
+ cameraExid: e
3007
+ }) {
2341
3008
  return a.get(`/cameras/${e}/ptz/presets`);
2342
3009
  },
2343
3010
  go({
@@ -2369,6 +3036,14 @@ const qt = {
2369
3036
  presetName: t
2370
3037
  });
2371
3038
  },
3039
+ updateHome({
3040
+ cameraExid: e,
3041
+ presetName: r
3042
+ }) {
3043
+ return a.post(`/cameras/${e}/ptz/home/set`, {
3044
+ presetName: r
3045
+ });
3046
+ },
2372
3047
  delete({
2373
3048
  cameraExid: e,
2374
3049
  presetId: r
@@ -2386,9 +3061,9 @@ const qt = {
2386
3061
  },
2387
3062
  zoom({ cameraExid: e, direction: r, isRecordingFromNvr: t }) {
2388
3063
  if (!t) {
2389
- const s = r === "in" ? 1 : -1;
3064
+ const o = r === "in" ? 1 : -1;
2390
3065
  return a.post(
2391
- `/cameras/${e}/ptz/relative?zoom=${s}`
3066
+ `/cameras/${e}/ptz/relative?zoom=${o}`
2392
3067
  );
2393
3068
  }
2394
3069
  return a.post(
@@ -2402,232 +3077,364 @@ const qt = {
2402
3077
  return a.post(`/cameras/${e}/ptz/continuous/stop`);
2403
3078
  }
2404
3079
  }
2405
- }, P = (e) => ({
2406
- [p.V1]: a.env.ingestApiUrl,
2407
- [p.V2]: a.env.ingestGpuApiUrl
2408
- })[e], F = {
3080
+ }, c = (e) => e === p.Drone ? (a.env.ingestDroneApi || "").split(";") : e === p.ThreeSixty ? (a.env.ingest360Api || "").split(";") : [], T = {
2409
3081
  drone: {
2410
3082
  createUpload(e, r) {
2411
3083
  return a.post(
2412
- `${a.env.ingestApiUrl}/drone/${e}/upload`,
3084
+ `${c(p.Drone)[0]}/drone/${e}/upload`,
2413
3085
  null,
2414
3086
  { params: r }
2415
3087
  );
2416
3088
  },
2417
- reprocessDrone(e, r) {
2418
- return a.post(
2419
- `${a.env.ingestApiUrl}/drone/${e}/reprocess`,
2420
- null,
2421
- { params: r }
3089
+ async reprocessDrone(e, r = {}) {
3090
+ const t = await T.utils.chooseIngestApiUrl(
3091
+ p.Drone
2422
3092
  );
3093
+ return a.post(`${t}/drone/${e}/reprocess`, null, { params: r });
2423
3094
  },
2424
3095
  getDrones(e) {
2425
- return a.get(`${a.env.ingestApiUrl}/drone/uploads/`, e);
3096
+ return a.get(
3097
+ `${c(p.Drone)[0]}/drone/uploads/`,
3098
+ e
3099
+ );
2426
3100
  },
2427
3101
  getArchive(e, r) {
2428
3102
  return a.get(
2429
- `${a.env.ingestApiUrl}/drone/uploads/archive/${e}`,
3103
+ `${c(p.Drone)[0]}/drone/uploads/archive/${e}`,
2430
3104
  {
2431
3105
  params: r
2432
3106
  }
2433
3107
  );
2434
3108
  },
2435
3109
  deleteUpload(e) {
2436
- return a.delete(`${a.env.ingestApiUrl}/drone/uploads/${e}`);
3110
+ return a.delete(
3111
+ `${c(p.Drone)[0]}/drone/uploads/${e}`
3112
+ );
2437
3113
  },
2438
3114
  prepareForUpload(e, r) {
2439
3115
  return a.put(
2440
- `${a.env.ingestApiUrl}/drone/${e}/prepare-upload`,
3116
+ `${c(p.Drone)[0]}/drone/${e}/prepare-upload`,
2441
3117
  null,
2442
3118
  { params: r }
2443
3119
  );
2444
3120
  },
2445
- upload(e, r, t) {
2446
- return a.put(
2447
- `${a.env.ingestApiUrl}/drone/${e}/upload`,
2448
- t,
2449
- { params: r }
3121
+ async upload(e, r, t) {
3122
+ const o = await T.utils.chooseIngestApiUrl(
3123
+ p.Drone
2450
3124
  );
3125
+ return a.put(`${o}/drone/${e}/upload`, t, {
3126
+ params: r
3127
+ });
2451
3128
  },
2452
3129
  verifyToken(e, r) {
2453
3130
  return a.get(
2454
- `${a.env.ingestApiUrl}/drone/uploads/${e}/verify`,
3131
+ `${c(p.Drone)[0]}/drone/uploads/${e}/verify`,
2455
3132
  {
2456
3133
  params: { token: r.token }
2457
3134
  }
2458
3135
  );
2459
3136
  },
2460
- calculateMeasuringOperation(e, r) {
3137
+ calculateMeasuringOperation(e, r, t = c(p.Drone)[0]) {
2461
3138
  return a.post(
2462
- `${a.env.ingestApiUrl}/drone/api/${e}/calculate-measuring-operation`,
3139
+ `${t}/drone/api/${e}/calculate-measuring-operation`,
2463
3140
  r
2464
3141
  );
2465
3142
  },
2466
3143
  inspectionTool(e, r) {
2467
3144
  return a.post(
2468
- `${a.env.ingestApiUrl}/drone/api/${e}/inspection-tool`,
3145
+ `${c(p.Drone)[0]}/drone/api/${e}/inspection-tool`,
2469
3146
  r
2470
3147
  );
2471
3148
  },
2472
- isInspectionEnabled(e, r) {
3149
+ isInspectionEnabled(e, r = {}) {
2473
3150
  return a.post(
2474
- `${a.env.ingestApiUrl}/drone/api/${e}/inspection-enabled`,
3151
+ `${c(p.Drone)[0]}/drone/api/${e}/inspection-enabled`,
2475
3152
  null,
2476
3153
  { params: r }
2477
3154
  );
2478
3155
  },
2479
- getDroneQueueSize(e = p.V1) {
2480
- const r = e === p.V1 ? a.env.ingestApiUrl : a.env.ingestGpuApiUrl;
2481
- return a.get(`${r}/drone/queue`);
3156
+ getDroneQueueSize(e) {
3157
+ return a.get(`${e}/drone/queue`);
2482
3158
  },
2483
3159
  getFlightImages(e, r) {
2484
3160
  return a.get(
2485
- `${a.env.ingestApiUrl}/drone/api/${e}/flight-images`,
3161
+ `${c(p.Drone)[0]}/drone/api/${e}/flight-images`,
2486
3162
  {
2487
3163
  params: r
2488
3164
  }
2489
3165
  );
2490
3166
  },
2491
- checkFlightAvailableFeatures(e, r) {
2492
- return a.get(
2493
- `${a.env.ingestApiUrl}/drone/api/${e}/flight-available-features`,
2494
- {
2495
- params: r
2496
- }
2497
- );
3167
+ async checkFlightAvailableFeatures(e, r) {
3168
+ var m;
3169
+ const t = c(p.Drone), s = (await Promise.all(
3170
+ t.map(async (u) => {
3171
+ try {
3172
+ return { ...await a.get(
3173
+ `${u}/drone/api/${e}/flight-available-features`,
3174
+ { params: r }
3175
+ ), ingestUrl: u };
3176
+ } catch {
3177
+ return null;
3178
+ }
3179
+ })
3180
+ )).filter(Boolean), g = s.find((u) => u.isVolumeToolEnabled);
3181
+ return (m = g != null ? g : s[0]) != null ? m : {};
2498
3182
  }
2499
3183
  },
2500
3184
  assets360: {
2501
- get360Assets(e, r = p.V1) {
2502
- return a.get(`${P(r)}/360/assets/`, e);
3185
+ get360Assets(e) {
3186
+ const r = c(p.ThreeSixty)[0];
3187
+ return a.get(`${r}/360/assets/`, e);
2503
3188
  },
2504
- get360AssetsCounts(e, r, t = p.V2) {
2505
- const s = t === p.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
2506
- return a.get(`${s}/360/assets/${e}/counts`, {
3189
+ get360AssetsCounts(e, r) {
3190
+ const t = c(p.ThreeSixty)[0];
3191
+ return a.get(`${t}/360/assets/${e}/counts`, {
2507
3192
  params: r
2508
3193
  });
2509
3194
  },
2510
- get360AssetLink(e, r, t, s, i) {
3195
+ get360AssetLink(e, r, t, o, s, g) {
2511
3196
  return a.get(
2512
- `${a.env.ingestGpuApiUrl}/360/assets/${e}/${r}/${t}`,
3197
+ `${c(p.ThreeSixty)[0]}/360/assets/${e}/${r}/${s}`,
2513
3198
  {
2514
- params: { marker: i, assetType: s }
3199
+ params: { marker: g, assetType: o, name: t }
2515
3200
  }
2516
3201
  );
2517
3202
  },
3203
+ update360(e, r) {
3204
+ const t = c(p.ThreeSixty)[0];
3205
+ return a.put(`${t}/360/assets/${e}`, r);
3206
+ },
3207
+ update360ByProjectDateName(e, r, t, o) {
3208
+ const s = c(p.ThreeSixty)[0];
3209
+ return a.put(
3210
+ `${s}/360/assets/${e}/${r}/${t}`,
3211
+ o
3212
+ );
3213
+ },
2518
3214
  deleteUpload(e) {
2519
- return a.delete(`${a.env.ingestApiUrl}/360/assets/${e}`);
3215
+ const r = c(p.ThreeSixty)[0];
3216
+ return a.delete(`${r}/360/assets/${e}`);
2520
3217
  },
2521
3218
  getArchive(e, r) {
2522
- return a.get(`${a.env.ingestApiUrl}/360/assets/archive/${e}`, {
3219
+ const t = c(p.ThreeSixty)[0];
3220
+ return a.get(`${t}/360/assets/archive/${e}`, {
2523
3221
  params: r
2524
3222
  });
2525
3223
  },
2526
- createUpload(e, r, t = p.V1) {
2527
- return a.post(
2528
- `${P(t)}/360/${e}/upload`,
2529
- null,
2530
- { params: r }
3224
+ createUpload(e, r) {
3225
+ const t = c(p.ThreeSixty)[0];
3226
+ return a.post(`${t}/360/${e}/upload`, null, {
3227
+ params: r
3228
+ });
3229
+ },
3230
+ async upload(e, r, t) {
3231
+ const o = await T.utils.chooseIngestApiUrl(
3232
+ p.ThreeSixty
3233
+ );
3234
+ return a.put(`${o}/360/${e}/upload`, t, {
3235
+ params: r,
3236
+ headers: {
3237
+ "X-Processing-Source": "DASHBOARD"
3238
+ }
3239
+ });
3240
+ },
3241
+ async reprocess360(e) {
3242
+ const r = await T.utils.chooseIngestApiUrl(
3243
+ p.ThreeSixty
3244
+ );
3245
+ return a.put(`${r}/360/${e}/reprocess`);
3246
+ },
3247
+ drawingExists(e) {
3248
+ var t;
3249
+ const r = c(p.ThreeSixty)[0];
3250
+ return a.get(
3251
+ `${r}/360/floors/exists?${d(
3252
+ (t = e.params) != null ? t : e
3253
+ )}`
3254
+ );
3255
+ },
3256
+ getDrawings(e) {
3257
+ var t;
3258
+ const r = c(p.ThreeSixty)[0];
3259
+ return a.get(
3260
+ `${r}/360/floors/?${d((t = e.params) != null ? t : e)}`,
3261
+ e.config
3262
+ );
3263
+ },
3264
+ getDrawingById(e, r) {
3265
+ const t = c(p.ThreeSixty)[0];
3266
+ return a.get(
3267
+ `${t}/360/floors/${e}?project_id=${r}`
2531
3268
  );
2532
3269
  },
2533
- upload(e, r, t, s = p.V1) {
3270
+ updateDrawing(e, r, t) {
3271
+ const o = c(p.ThreeSixty)[0];
2534
3272
  return a.put(
2535
- `${P(s)}/360/${e}/upload`,
2536
- t,
2537
- { params: r }
3273
+ `${o}/360/floors/${e}?project_id=${r}`,
3274
+ t
3275
+ );
3276
+ },
3277
+ deleteDrawing(e) {
3278
+ const r = c(p.ThreeSixty)[0];
3279
+ return a.delete(`${r}/360/floors/${e}`);
3280
+ },
3281
+ transferWalks(e, r, t) {
3282
+ const o = c(p.ThreeSixty)[0];
3283
+ return a.post(
3284
+ `${o}/360/floors/${e}/transfer-walks/${r}?project_id=${t}`
3285
+ );
3286
+ },
3287
+ createDrawing(e, r, t) {
3288
+ const o = c(p.ThreeSixty)[0];
3289
+ return a.post(
3290
+ `${o}/360/floors/${e}?created_by=${t}`,
3291
+ r
2538
3292
  );
2539
3293
  },
2540
- generate360map(e, r, t = p.V2) {
3294
+ fetchDrawingOverlay(e, r, t) {
3295
+ const o = c(p.ThreeSixty)[0];
3296
+ return a.get(`${o}/360/floors/${e}/overlay`, {
3297
+ params: r,
3298
+ onDownloadProgress: t
3299
+ });
3300
+ },
3301
+ getFloorArchive(e) {
3302
+ const r = c(p.ThreeSixty)[0];
3303
+ return a.get(`${r}/360/floors/${e}/archive`);
3304
+ },
3305
+ generate360map(e, r) {
3306
+ const t = c(p.ThreeSixty)[0];
2541
3307
  return a.post(
2542
- `${P(t)}/360/api/${e}/generate-360-map`,
3308
+ `${t}/360/api/${e}/generate-360-map`,
2543
3309
  r
2544
3310
  );
2545
3311
  },
2546
- get360QueueSize(e = p.V1) {
2547
- return a.get(`${P(e)}/360/queue`);
3312
+ get360QueueSize(e, r = {}) {
3313
+ return a.get(`${e}/360/queue`, { params: r });
2548
3314
  }
2549
3315
  },
2550
3316
  bim: {
2551
3317
  createUpload(e, r) {
2552
3318
  return a.post(
2553
- `${a.env.ingestApiUrl}/bim/${e}/upload`,
3319
+ `${c(p.Drone)[0]}/bim/${e}/upload`,
2554
3320
  null,
2555
3321
  { params: r }
2556
3322
  );
2557
3323
  },
2558
3324
  getBIMs(e) {
2559
- return a.get(`${a.env.ingestApiUrl}/bim/uploads/`, e);
3325
+ return a.get(
3326
+ `${c(p.Drone)[0]}/bim/uploads/`,
3327
+ e
3328
+ );
2560
3329
  },
2561
3330
  getArchive(e) {
2562
- return a.get(`${a.env.ingestApiUrl}/bim/uploads/archive/${e}`);
3331
+ return a.get(
3332
+ `${c(p.Drone)[0]}/bim/uploads/archive/${e}`
3333
+ );
2563
3334
  },
2564
3335
  deleteUpload(e) {
2565
- return a.delete(`${a.env.ingestApiUrl}/bim/uploads/${e}`);
3336
+ return a.delete(
3337
+ `${c(p.Drone)[0]}/bim/uploads/${e}`
3338
+ );
2566
3339
  },
2567
3340
  upload(e, r, t) {
2568
3341
  return a.put(
2569
- `${a.env.ingestApiUrl}/bim/${e}/upload`,
3342
+ `${c(p.Drone)[0]}/bim/${e}/upload`,
2570
3343
  t,
2571
3344
  { params: r }
2572
3345
  );
2573
3346
  }
2574
3347
  },
2575
3348
  mobileCapture: {
2576
- getProjectMobileAssets(e) {
2577
- return a.get(`${a.env.ingestGpuApiUrl}/mobile/assets/`, {
2578
- params: e
3349
+ getProjectMobileAssets(e, r = {}) {
3350
+ const t = c(p.ThreeSixty)[0];
3351
+ return a.get(`${t}/mobile/assets/`, {
3352
+ params: e,
3353
+ ...r
2579
3354
  });
2580
3355
  },
2581
3356
  getMobileAssetPhoto(e, r) {
2582
- return a.get(
2583
- `${a.env.ingestGpuApiUrl}/mobile/assets/${e}`,
2584
- {
2585
- params: r
2586
- }
2587
- );
3357
+ const t = c(p.ThreeSixty)[0];
3358
+ return a.get(`${t}/mobile/assets/${e}`, {
3359
+ params: r
3360
+ });
3361
+ },
3362
+ deleteAsset(e) {
3363
+ const r = c(p.ThreeSixty)[0];
3364
+ return a.delete(`${r}/mobile/assets/${e}`);
2588
3365
  }
2589
3366
  },
2590
3367
  utils: {
2591
3368
  async loadAllAssetsInQueue() {
2592
3369
  try {
2593
- const e = [p.V1, p.V2], r = [];
2594
- for (const t of e) {
2595
- const [s, i] = await Promise.all([
2596
- F.assets360.get360QueueSize(t),
2597
- F.drone.getDroneQueueSize(t)
2598
- ]), n = [
2599
- s == null ? void 0 : s.assets360,
2600
- i == null ? void 0 : i.assetsDrone
2601
- ].flatMap(
2602
- (l) => (l || []).map((m) => ({
2603
- ...m,
2604
- ingestVersion: t === p.V1 ? p.V1.toUpperCase() : p.V2.toUpperCase()
2605
- }))
2606
- );
2607
- r.push(...n);
2608
- }
2609
- return r.sort(
2610
- (t, s) => new Date(t.updatedAt).getTime() - new Date(s.updatedAt).getTime()
3370
+ const e = c(p.Drone), r = c(p.ThreeSixty), t = [], o = await Promise.all(
3371
+ e.map(async (g) => {
3372
+ const m = await T.drone.getDroneQueueSize(g), u = T.utils.getIngestVersion(g);
3373
+ return ((m == null ? void 0 : m.assetsDrone) || []).map((h) => ({
3374
+ ...h,
3375
+ ingestVersion: u.toUpperCase()
3376
+ }));
3377
+ })
3378
+ ), s = await Promise.all(
3379
+ r.map(async (g) => {
3380
+ const m = await T.assets360.get360QueueSize(g), u = T.utils.getIngestVersion(g);
3381
+ return ((m == null ? void 0 : m.assets360) || []).map((h) => ({
3382
+ ...h,
3383
+ ingestVersion: u.toUpperCase()
3384
+ }));
3385
+ })
3386
+ );
3387
+ return t.push(...o.flat(), ...s.flat()), t.sort(
3388
+ (g, m) => new Date(g.updatedAt).getTime() - new Date(m.updatedAt).getTime()
2611
3389
  );
2612
3390
  } catch (e) {
2613
3391
  return console.error("Error:", e), [];
2614
3392
  }
3393
+ },
3394
+ getIngestVersion(e) {
3395
+ var t;
3396
+ return `V${((t = e.match(/ingest(\d*)/)) == null ? void 0 : t[1]) || "1"}`;
3397
+ },
3398
+ async chooseIngestApiUrl(e) {
3399
+ const r = c(e);
3400
+ return (await Promise.all(
3401
+ r.map(async (o) => {
3402
+ var s, g;
3403
+ try {
3404
+ let m = 0;
3405
+ if (e === p.Drone) {
3406
+ const u = await T.drone.getDroneQueueSize(o);
3407
+ m = ((s = u == null ? void 0 : u.assetsDrone) == null ? void 0 : s.length) || 0;
3408
+ } else {
3409
+ const u = await T.assets360.get360QueueSize(
3410
+ o
3411
+ );
3412
+ m = ((g = u == null ? void 0 : u.assets360) == null ? void 0 : g.length) || 0;
3413
+ }
3414
+ return { ingestUrl: o, queue: m };
3415
+ } catch {
3416
+ return { ingestUrl: o, queue: 1 / 0 };
3417
+ }
3418
+ })
3419
+ )).reduce(
3420
+ (o, s) => s.queue < o.queue ? s : o
3421
+ ).ingestUrl;
2615
3422
  }
2616
3423
  }
2617
- }, Qt = {
3424
+ }, Go = {
2618
3425
  users: {
2619
3426
  login({
2620
3427
  apiUrl: e,
2621
3428
  username: r,
2622
3429
  password: t
2623
- }, s = {}) {
3430
+ }, o = {}) {
2624
3431
  return a.post(
2625
3432
  `${e}/api/users/login`,
2626
3433
  {
2627
3434
  username: r,
2628
3435
  password: t
2629
3436
  },
2630
- s
3437
+ o
2631
3438
  );
2632
3439
  }
2633
3440
  },
@@ -2654,46 +3461,46 @@ const qt = {
2654
3461
  apiUrl: e,
2655
3462
  deviceId: r,
2656
3463
  token: t
2657
- }, s = {}) {
3464
+ }, o = {}) {
2658
3465
  return a.get(`${e}/api/devices/${r}`, {
2659
3466
  headers: {
2660
3467
  Authorization: `Bearer ${t}`
2661
3468
  },
2662
- ...s
3469
+ ...o
2663
3470
  });
2664
3471
  },
2665
3472
  getAvailableRecordings({
2666
3473
  apiUrl: e,
2667
3474
  deviceId: r,
2668
3475
  token: t
2669
- }, s = {}) {
3476
+ }, o = {}) {
2670
3477
  return a.get(`${e}/api/devices/${r}/recordings`, {
2671
3478
  headers: {
2672
3479
  Authorization: `Bearer ${t}`
2673
3480
  },
2674
- ...s
3481
+ ...o
2675
3482
  });
2676
3483
  },
2677
3484
  downloadFootage({
2678
3485
  apiUrl: e,
2679
3486
  deviceId: r,
2680
3487
  token: t,
2681
- startDate: s,
2682
- duration: i
3488
+ startDate: o,
3489
+ duration: s
2683
3490
  }) {
2684
3491
  return a.get(`${e}/api/devices/${r}/footage`, {
2685
3492
  headers: {
2686
3493
  Authorization: `Bearer ${t}`
2687
3494
  },
2688
3495
  params: {
2689
- startDate: s,
2690
- duration: i
3496
+ startDate: o,
3497
+ duration: s
2691
3498
  },
2692
3499
  responseType: "blob"
2693
3500
  });
2694
3501
  }
2695
3502
  }
2696
- }, Yt = {
3503
+ }, Ho = {
2697
3504
  roles: {
2698
3505
  async get(e) {
2699
3506
  return await a.get("/admin/authz/roles", e);
@@ -2719,22 +3526,33 @@ const qt = {
2719
3526
  async getRoleUsers(e) {
2720
3527
  return a.get(`/admin/authz/roles/${e}/users`);
2721
3528
  },
2722
- async assignUsers(e, r, t) {
3529
+ async assignUsers(e, r, t = "evercam-admin") {
2723
3530
  return a.post(`/admin/authz/roles/${e}/users`, {
2724
3531
  emails: r,
2725
- resource_id: t
3532
+ resourceId: t
2726
3533
  });
2727
3534
  },
2728
- async unassignUsers(e, r, t) {
2729
- return a.delete(`/admin/authz/roles/${e}/users`, {
3535
+ getUserRoles(e, r) {
3536
+ return a.get("/users/roles", {
2730
3537
  params: {
2731
- emails: r,
2732
- resource_id: t
3538
+ resourceId: e || null,
3539
+ resourceType: r || null
2733
3540
  }
2734
3541
  });
3542
+ }
3543
+ },
3544
+ projectRoles: {
3545
+ get(e) {
3546
+ return a.get(`/projects/${e}/roles`);
3547
+ },
3548
+ create(e, r) {
3549
+ return a.post(`/projects/${e}/roles`, r);
2735
3550
  },
2736
- getUserRoles() {
2737
- return a.get("/users/roles");
3551
+ update(e, r, t) {
3552
+ return a.patch(`/projects/${e}/roles/${r}`, t);
3553
+ },
3554
+ delete(e, r) {
3555
+ return a.delete(`/projects/${e}/roles/${r}`);
2738
3556
  }
2739
3557
  },
2740
3558
  scopes: {
@@ -2753,219 +3571,258 @@ const qt = {
2753
3571
  }
2754
3572
  };
2755
3573
  export {
2756
- te as AconexDocumentDataType,
2757
- se as AconexFormComponentType,
2758
- ie as AconexMandatoryStatus,
2759
- tt as ActiveUsersMetric,
2760
- Gt as AdminApi,
2761
- Ft as AiApi,
2762
- ne as AnalyticsEvent,
2763
- oe as AnalyticsEventPageId,
2764
- le as AnprDirection,
2765
- ge as AnprEventStatus,
2766
- Va as AuditLogActionType,
2767
- Yt as AuthzApi,
2768
- ur as AutomationDialogType,
2769
- rt as AutomationProvider,
2770
- at as AutomationType,
2771
- $e as BIMLayerTypes,
2772
- lt as BadGatewayError,
2773
- st as BadRequestError,
2774
- Ka as BimCompareWidgetSettingsKeys,
2775
- de as BimModelType,
2776
- Re as BimType,
2777
- Se as BimUploadStatus,
2778
- $r as BrainTool,
2779
- ke as CameraFeatureFlag,
2780
- we as CameraModel,
2781
- et as CameraRegion,
2782
- Te as CameraStatus,
2783
- he as ClipsCategory,
2784
- br as CloudRecordingDuration,
2785
- Tr as CloudRecordingFrequency,
2786
- kr as CloudRecordingStatus,
2787
- ha as CommentsLabel,
2788
- ua as CommentsScope,
2789
- Ja as CommonWidgetSettingsKeys,
2790
- _e as CompareStatus,
2791
- mt as ConflictError,
2792
- j as Connector,
2793
- xe as CopilotChatProvider,
2794
- Ne as CopilotLayout,
2795
- Ue as CopilotMessageAuthor,
2796
- De as CopilotMessageType,
2797
- Ge as CopilotMissingFieldComponent,
2798
- ze as CopilotMissingFieldName,
2799
- We as CopilotMissingFieldType,
2800
- je as CopilotMissingFieldsLabels,
2801
- ve as CopilotProvider,
2802
- Oe as CopilotSocketEvent,
2803
- Be as CopilotStepId,
2804
- Ve as CopilotSuggestion,
2805
- He as CopilotToolId,
2806
- ya as CountryCode,
2807
- Ia as CountryId,
2808
- Xa as DelayUnit,
2809
- Xe as DetectionLabel,
2810
- Sa as DetectionModel,
2811
- Z as DownloadFileType,
2812
- Fe as DroneUrlParams,
2813
- Me as DuplicatedCameraFields,
2814
- Yr as EDistortImageModes,
2815
- Kr as EMapTypes,
2816
- Ar as EMarkers,
2817
- Er as EPageType,
2818
- Cr as EPaths,
2819
- Ir as EProjectItems,
2820
- yr as ERoles,
2821
- h as ErrorCode,
2822
- u as ErrorType,
2823
- Xt as EvercamApi,
2824
- Le as EvercamApiErrorCode,
2825
- qt as EvercamLabsApi,
2826
- Qt as ExNvrApi,
2827
- ra as ExNvrDeviceState,
2828
- ea as ExNvrFootageAvailableStatus,
2829
- aa as ExNvrMetricId,
2830
- fa as FeedbackContext,
2831
- gt as ForbiddenError,
2832
- Qe as GateReportDataSource,
2833
- Ze as GateReportDetectionType,
2834
- Ye as GateReportEventDirection,
2835
- qe as GateReportEventType,
2836
- Ke as GateReportExportType,
2837
- Ee as GateReportProcessingStatus,
2838
- Ae as GateReportROIShapeType,
2839
- L as GateReportVehicleType,
2840
- nt as GatewayTimeoutError,
2841
- ja as GrafanaMetricId,
2842
- Ce as HddFormat,
2843
- ar as HddSize,
2844
- ye as HddState,
2845
- Pe as HddStatus,
2846
- Ie as HddType,
2847
- xt as HlsError,
2848
- ka as InfoPage,
2849
- F as IngestApi,
2850
- tr as IngestProcessingStatus,
2851
- p as IngestVersions,
2852
- be as IntensityChangeColors,
2853
- pt as InternalServerError,
2854
- Da as KitAlarm,
2855
- Oa as KitChartType,
2856
- Ba as KitMetricId,
2857
- q as KitMetricPeriod,
2858
- Ua as KitRegion,
2859
- _a as KitStatus,
2860
- va as KitStorageTransport,
2861
- Ya as LiveViewWidgetSettingsKeys,
2862
- sr as MapType,
2863
- pe as MediaFileType,
2864
- ce as MediaStatus,
2865
- ue as MediaStatusId,
2866
- me as MediaType,
2867
- Ta as MobileDevice,
2868
- it as NotFoundError,
2869
- or as NotificationType,
2870
- nr as NvrDeviceType,
2871
- lr as NvrHddStatus,
2872
- fe as NvrModel,
2873
- Ht as OnRequestExpiredTokenInterceptor,
2874
- ae as PathMarkerColor,
2875
- Jr as PerformanceStatus,
2876
- ma as Persona,
2877
- Gr as PowerSchedule,
2878
- Hr as PowerType,
2879
- da as PpeLabel,
2880
- gr as ProcoreObservationCustomFieldDataType,
2881
- mr as ProcoreObservationDefaultFieldNames,
2882
- cr as ProcoreToolUserAccessLevelIds,
2883
- pr as ProcoreTools,
2884
- ir as ProcoreType,
2885
- dr as ProjectArchiveTier,
2886
- Sr as ProjectFeatureFlag,
2887
- hr as ProjectStatus,
2888
- Jt as PtzApi,
2889
- Ma as PtzDirection,
2890
- Qa as RecordingsWidgetSettingsKeys,
2891
- Rr as RoiDirection,
2892
- Mr as RoiShapeType,
2893
- Pr as RoiType,
2894
- zr as RouterStatus,
2895
- Je as SegmentLabel,
2896
- Wr as SharePermission,
2897
- Lr as ShareRequestStatus,
2898
- Fr as ShareType,
2899
- Zr as ShareVisibility,
2900
- Ha as SiteAnalyticsMode,
2901
- za as SmartSearchCondition,
2902
- La as SmartSearchOperatorType,
2903
- Ga as SmartSearchQueryComponentType,
2904
- qa as SmartSearchQueryConditionTypes,
2905
- Za as SmartSearchQueryOperators,
2906
- Fa as SmartSearchQueryReturnType,
2907
- Wa as SmartSearchQueryTargets,
2908
- qr as SmsCommands,
2909
- Xr as SmsStatuses,
2910
- Nt as SnapshotError,
2911
- fr as SnapshotExtractionInterval,
2912
- xa as SnapshotExtractionStatus,
2913
- Na as SnapshotExtractionType,
2914
- Pa as TaskStatus,
2915
- Ea as ThreeSixtyKeys,
2916
- sa as TimelapseDuration,
2917
- la as TimelapseExportStep,
2918
- oa as TimelapsePeriod,
2919
- ia as TimelapseScheduleType,
2920
- ta as TimelapseStatus,
2921
- na as TimelapseType,
2922
- Dr as Timeline360UrlParams,
2923
- Vr as TimelineAnprUrlParams,
2924
- Or as TimelineBimUrlParams,
2925
- Nr as TimelineCommentsUrlParams,
2926
- Br as TimelineDroneUrlParams,
2927
- vr as TimelineExNvrRecordingsUrlParams,
2928
- jr as TimelineMediaUrlParams,
2929
- xr as TimelineMobileCaptureUrlParams,
2930
- wa as TimelinePrecision,
2931
- Ur as TimelineUrlParam,
2932
- ot as UnauthorizedError,
2933
- $a as UnitSystem,
2934
- _r as UrlParamValue,
2935
- ga as UserFeatureFlag,
2936
- v as VEHICLE_TYPE_IDS,
2937
- zt as VideoWallApi,
2938
- pa as VideoWallItemType,
2939
- Aa as VideoWallWidgetSettingsKeys,
2940
- wr as VpnServer,
2941
- rr as WarehouseLocation,
2942
- er as WarehouseLocationIndex,
2943
- Zt as WeatherApi,
2944
- ca as WeatherProvider,
2945
- Qr as WebGLExtensions,
2946
- Lt as WebRtcApi,
2947
- Ca as WidgetType,
2948
- Vt as WidgetTypesByResource,
2949
- Ra as ZoomDirection,
2950
- y as _360AssetLabel,
2951
- I as _360AssetType,
2952
- ee as _360Feature,
2953
- re as _360IntergrationType,
2954
- C as _360UrlParams,
2955
- Wt as _3dFirebaseApi,
2956
- ba as _3dViewer,
3574
+ bo as AI_APP_CONFIGS,
3575
+ wo as AI_PROVIDER_CONFIGS,
3576
+ se as AconexDocumentDataType,
3577
+ ie as AconexFormComponentType,
3578
+ le as AconexIdentifiers,
3579
+ ne as AconexMandatoryStatus,
3580
+ Pt as ActiveUsersMetric,
3581
+ Po as AdminApi,
3582
+ Uo as AiApi,
3583
+ jt as AiApp,
3584
+ Ft as AiConfigsKeyDialogMode,
3585
+ Ot as AiConfigsPromptDialogMode,
3586
+ Nt as AiPromptModel,
3587
+ Bt as AiProvider,
3588
+ me as AnalyticsEvent,
3589
+ ge as AnalyticsEventPageId,
3590
+ pe as AnprDirection,
3591
+ ce as AnprEventStatus,
3592
+ de as AnprExtractionSaveMode,
3593
+ ue as AnprExtractionStatus,
3594
+ Ht as AppRuntimeState,
3595
+ Aa as AuditLogActionType,
3596
+ Ia as AuditLogEntity,
3597
+ Ho as AuthzApi,
3598
+ Rt as AutomationConfigStep,
3599
+ Dr as AutomationDialogType,
3600
+ Mt as AutomationProvider,
3601
+ ft as AutomationType,
3602
+ Me as BIMLayerTypes,
3603
+ zt as BadGatewayError,
3604
+ Vt as BadRequestError,
3605
+ ht as BimCompareWidgetSettingsKeys,
3606
+ be as BimModelType,
3607
+ Ge as BimType,
3608
+ we as BimUploadStatus,
3609
+ Or as BrainTool,
3610
+ je as CameraFeatureFlag,
3611
+ Oe as CameraModel,
3612
+ wt as CameraRegion,
3613
+ _e as CameraStatus,
3614
+ ke as ClipsCategory,
3615
+ Nr as CloudRecordingDuration,
3616
+ So as CloudRecordingDurationLabel,
3617
+ Fr as CloudRecordingFrequency,
3618
+ Gr as CloudRecordingStatus,
3619
+ Oa as CommentsLabel,
3620
+ Ba as CommentsScope,
3621
+ ct as CommonWidgetSettingsKeys,
3622
+ He as CompareStatus,
3623
+ Zt as ConflictError,
3624
+ F as Connector,
3625
+ Pa as ContactRole,
3626
+ Xe as CopilotChatProvider,
3627
+ Qe as CopilotLayout,
3628
+ Ve as CopilotMessageAuthor,
3629
+ ve as CopilotMessageType,
3630
+ Je as CopilotMissingFieldComponent,
3631
+ Ye as CopilotMissingFieldName,
3632
+ Ke as CopilotMissingFieldType,
3633
+ xe as CopilotMissingFieldsLabels,
3634
+ Le as CopilotProvider,
3635
+ ze as CopilotSocketEvent,
3636
+ We as CopilotStepId,
3637
+ Ze as CopilotSuggestion,
3638
+ qe as CopilotToolId,
3639
+ bt as CountryCode,
3640
+ kt as CountryId,
3641
+ pt as DelayUnit,
3642
+ ar as DetectionLabel,
3643
+ Na as DetectionModel,
3644
+ X as DownloadFileType,
3645
+ Ee as DroneMarkerType,
3646
+ Ie as DroneProvider,
3647
+ Ce as DroneTagType,
3648
+ Ae as DroneUrlParams,
3649
+ Ne as DuplicatedCameraFields,
3650
+ na as EDistortImageModes,
3651
+ la as EMapTypes,
3652
+ ga as EMarkers,
3653
+ ma as EPageType,
3654
+ pa as EPaths,
3655
+ ca as EProjectItems,
3656
+ ua as ERoles,
3657
+ k as ErrorCode,
3658
+ $ as ErrorType,
3659
+ Fo as EvercamApi,
3660
+ ye as EvercamApiErrorCode,
3661
+ Oo as EvercamLabsApi,
3662
+ Go as ExNvrApi,
3663
+ Sa as ExNvrDeviceState,
3664
+ ha as ExNvrFootageAvailableStatus,
3665
+ $a as ExNvrMetricId,
3666
+ xa as FeedbackContext,
3667
+ Lt as ForbiddenError,
3668
+ De as ForgeBimDialogTrigger,
3669
+ Re as ForgeBimFileRejectionReason,
3670
+ fe as ForgeBimUploadMethod,
3671
+ Pe as ForgeBimUploadStage,
3672
+ or as GateReportDataSource,
3673
+ er as GateReportDetectionType,
3674
+ sr as GateReportEventDirection,
3675
+ rr as GateReportEventType,
3676
+ ir as GateReportExportType,
3677
+ nr as GateReportProcessingStatus,
3678
+ Z as GateReportVehicleType,
3679
+ xt as GatewayTimeoutError,
3680
+ Ka as GrafanaMetricId,
3681
+ lr as HddFormat,
3682
+ ur as HddSize,
3683
+ mr as HddState,
3684
+ Fe as HddStatus,
3685
+ gr as HddType,
3686
+ Mo as HlsError,
3687
+ Wa as InfoPage,
3688
+ T as IngestApi,
3689
+ dr as IngestProcessingStatus,
3690
+ p as IngestTypes,
3691
+ Sr as IngestVersions,
3692
+ Ue as IntensityChange,
3693
+ uo as IntensityChangeColorMap,
3694
+ Xt as InternalServerError,
3695
+ ea as InviteStatus,
3696
+ Ja as KitAlarm,
3697
+ Ca as KitChartType,
3698
+ Ya as KitMetricId,
3699
+ Q as KitMetricPeriod,
3700
+ qa as KitRegion,
3701
+ Qa as KitStatus,
3702
+ Ea as KitStorageTransport,
3703
+ dt as LiveViewWidgetSettingsKeys,
3704
+ $r as MapType,
3705
+ Se as MediaFileType,
3706
+ $e as MediaStatus,
3707
+ Te as MediaStatusId,
3708
+ he as MediaType,
3709
+ hr as MobileAssetsType,
3710
+ Va as MobileDevice,
3711
+ vt as NotFoundError,
3712
+ kr as NotificationType,
3713
+ br as NvrDeviceType,
3714
+ wr as NvrHddStatus,
3715
+ Be as NvrModel,
3716
+ Ro as OnRequestExpiredTokenInterceptor,
3717
+ Ga as Operator,
3718
+ oe as PathMarkerColor,
3719
+ oa as PerformanceStatus,
3720
+ Da as Persona,
3721
+ ia as PlannerUrlParams,
3722
+ Ar as PowerSchedule,
3723
+ Er as PowerType,
3724
+ Fa as PpeLabel,
3725
+ Mr as ProcoreObservationCustomFieldDataType,
3726
+ fr as ProcoreObservationDefaultFieldNames,
3727
+ Pr as ProcoreToolUserAccessLevelIds,
3728
+ Rr as ProcoreTools,
3729
+ Tr as ProcoreType,
3730
+ Ur as ProjectArchiveTier,
3731
+ jr as ProjectFeatureFlag,
3732
+ _r as ProjectStatus,
3733
+ da as ProjectStorageProvider,
3734
+ Br as ProjectStorageStatus,
3735
+ No as PtzApi,
3736
+ Za as PtzDirection,
3737
+ ut as RecordingsWidgetSettingsKeys,
3738
+ xr as RoiDirection,
3739
+ Wr as RoiShapeType,
3740
+ vr as RoiType,
3741
+ Dt as RoleResourceType,
3742
+ yr as RouterScanInputMode,
3743
+ Ir as RouterStatus,
3744
+ tr as SegmentLabel,
3745
+ ra as ShareVisibility,
3746
+ at as SiteAnalyticsMode,
3747
+ mt as SiteAnalyticsViewType,
3748
+ _t as SiteViewSoftwareType,
3749
+ Ut as SiteViewerType,
3750
+ tt as SmartSearchComponentType,
3751
+ ot as SmartSearchCondition,
3752
+ gt as SmartSearchConditionTypes,
3753
+ nt as SmartSearchOperatorType,
3754
+ lt as SmartSearchOperators,
3755
+ it as SmartSearchReturnType,
3756
+ st as SmartSearchTargets,
3757
+ aa as SmsCommands,
3758
+ ta as SmsStatuses,
3759
+ fo as SnapshotError,
3760
+ Hr as SnapshotExtractionInterval,
3761
+ ya as SnapshotExtractionStatus,
3762
+ et as SnapshotExtractionType,
3763
+ rt as SnapshotTransferStatus,
3764
+ La as TaskStatus,
3765
+ $t as ThreeSixtyKeys,
3766
+ ka as TimelapseDuration,
3767
+ fa as TimelapseExportStep,
3768
+ wa as TimelapsePeriod,
3769
+ ba as TimelapseScheduleType,
3770
+ Ta as TimelapseStatus,
3771
+ Ma as TimelapseType,
3772
+ Zr as Timeline360UrlParams,
3773
+ Yr as TimelineAnprUrlParams,
3774
+ qr as TimelineBimUrlParams,
3775
+ Cr as TimelineCommentsUrlParams,
3776
+ Xr as TimelineDroneUrlParams,
3777
+ Jr as TimelineExNvrRecordingsUrlParams,
3778
+ Qr as TimelineMediaUrlParams,
3779
+ Kr as TimelineMobileCaptureUrlParams,
3780
+ za as TimelinePrecision,
3781
+ Lr as TimelineUrlParam,
3782
+ Wt as UnauthorizedError,
3783
+ Ha as UnitSystem,
3784
+ zr as UrlParamValue,
3785
+ Ra as UserFeatureFlag,
3786
+ ho as VEHICLE_TYPE_IDS,
3787
+ Gt as VehicleClassifierSource,
3788
+ Do as VideoWallApi,
3789
+ _a as VideoWallItemType,
3790
+ St as VideoWallWidgetSettingsKeys,
3791
+ Vr as VpnServer,
3792
+ cr as WarehouseLocation,
3793
+ pr as WarehouseLocationIndex,
3794
+ Bo as WeatherApi,
3795
+ ja as WeatherProvider,
3796
+ Ua as WeatherReportScope,
3797
+ sa as WebGLExtensions,
3798
+ jo as WebRtcApi,
3799
+ Tt as WidgetType,
3800
+ $o as WidgetTypesByResource,
3801
+ Xa as ZoomDirection,
3802
+ re as _360AssetLabel,
3803
+ ee as _360AssetType,
3804
+ ae as _360Feature,
3805
+ te as _360IntergrationType,
3806
+ I as _360PinType,
3807
+ y as _360UrlParams,
3808
+ _o as _3dFirebaseApi,
3809
+ va as _3dViewer,
2957
3810
  a as axios,
2958
3811
  J as ensureCommonHeaders,
2959
- o as getAiApiUrl,
2960
- T as getFirebaseDbApi,
2961
- Dt as getFirebaseStorageToken,
2962
- Ut as getFirebaseStorageUrl,
2963
- P as getIngestApiUrl,
2964
- c as getLabsBaseUrl,
2965
- X as onError,
2966
- ht as onRequest,
2967
- dt as onResponse,
2968
- Bt as queryStringToObject,
2969
- g as toQueryString
3812
+ L as getAiApiUrl,
3813
+ n as getAiApiUrlV2,
3814
+ l as getFirebaseDbApi,
3815
+ no as getFirebaseStorageToken,
3816
+ io as getFirebaseStorageUrl,
3817
+ lo as getForgeTokenServerUrl,
3818
+ c as getIngestApiUrls,
3819
+ S as getLabsBaseUrl,
3820
+ ko as isCameraRole,
3821
+ To as isProjectRole,
3822
+ q as onError,
3823
+ Jt as onRequest,
3824
+ Yt as onResponse,
3825
+ go as queryStringToObject,
3826
+ d as toQueryString
2970
3827
  };
2971
3828
  //# sourceMappingURL=index.js.map