@evercam/api 1.0.0-e1ad6ae1b → 1.0.0-e2b234f84

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 (127) hide show
  1. package/README.md +3 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +176 -0
  3. package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +101 -94
  4. package/dist/api/api/aiApi.d.ts +160 -0
  5. package/dist/api/api/authzApi.d.ts +37 -0
  6. package/dist/api/{client → api/client}/axios.d.ts +2 -1
  7. package/dist/api/{client → api/client}/swr/Swr.d.ts +1 -1
  8. package/dist/api/{evercamApi.d.ts → api/evercamApi.d.ts} +132 -99
  9. package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +6 -4
  10. package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +1 -1
  11. package/dist/api/api/index.d.ts +13 -0
  12. package/dist/api/api/ingestApi.d.ts +154 -0
  13. package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +12 -3
  14. package/dist/api/api/videoWallApi.d.ts +9 -0
  15. package/dist/api/{weatherApi.d.ts → api/weatherApi.d.ts} +2 -2
  16. package/dist/api/index.d.ts +3 -13
  17. package/dist/api/types/360.d.ts +292 -0
  18. package/dist/api/types/aconex.d.ts +143 -0
  19. package/dist/api/types/admin.d.ts +51 -0
  20. package/dist/api/types/aiConfigs.d.ts +154 -0
  21. package/dist/{types → api/types}/analytics.d.ts +164 -50
  22. package/dist/{types → api/types}/anpr.d.ts +48 -2
  23. package/dist/{types → api/types}/auditLogs.d.ts +19 -1
  24. package/dist/api/types/authz.d.ts +61 -0
  25. package/dist/{types → api/types}/autodesk.d.ts +7 -7
  26. package/dist/api/types/automation.d.ts +95 -0
  27. package/dist/{types → api/types}/axios.d.ts +17 -10
  28. package/dist/{types → api/types}/bim.d.ts +36 -5
  29. package/dist/{types → api/types}/camera.d.ts +103 -98
  30. package/dist/{types → api/types}/comments.d.ts +8 -10
  31. package/dist/{types → api/types}/company.d.ts +42 -1
  32. package/dist/{types → api/types}/compare.d.ts +20 -5
  33. package/dist/{types → api/types}/connector.d.ts +4 -5
  34. package/dist/{types → api/types}/coolify.d.ts +18 -2
  35. package/dist/{types → api/types}/copilot.d.ts +11 -6
  36. package/dist/{types → api/types}/credentials.d.ts +1 -0
  37. package/dist/{types → api/types}/detections.d.ts +22 -32
  38. package/dist/api/types/drone.d.ts +107 -0
  39. package/dist/{types → api/types}/errors.d.ts +11 -0
  40. package/dist/{types → api/types}/gateReport.d.ts +50 -158
  41. package/dist/api/types/gateReportManagement.d.ts +175 -0
  42. package/dist/{types → api/types}/hdd.d.ts +26 -1
  43. package/dist/{types → api/types}/index.d.ts +10 -1
  44. package/dist/api/types/ingest.d.ts +148 -0
  45. package/dist/{types → api/types}/kit.d.ts +33 -5
  46. package/dist/api/types/map.d.ts +16 -0
  47. package/dist/{types → api/types}/media.d.ts +8 -2
  48. package/dist/api/types/notification.d.ts +57 -0
  49. package/dist/api/types/oauth.d.ts +62 -0
  50. package/dist/api/types/planner.d.ts +132 -0
  51. package/dist/api/types/posthog.d.ts +33 -0
  52. package/dist/{types → api/types}/procore.d.ts +13 -6
  53. package/dist/{types → api/types}/progressPhoto.d.ts +6 -32
  54. package/dist/api/types/project.d.ts +247 -0
  55. package/dist/{types → api/types}/recording.d.ts +9 -12
  56. package/dist/{types → api/types}/recycleBin.d.ts +1 -1
  57. package/dist/api/types/ring.d.ts +53 -0
  58. package/dist/{types → api/types}/roi.d.ts +4 -3
  59. package/dist/{types → api/types}/router.d.ts +20 -1
  60. package/dist/{types → api/types}/shared.d.ts +30 -4
  61. package/dist/api/types/shares.d.ts +58 -0
  62. package/dist/{types → api/types}/sim.d.ts +6 -6
  63. package/dist/api/types/siteAnalytics.d.ts +287 -0
  64. package/dist/api/types/siteView.d.ts +73 -0
  65. package/dist/api/types/smartSeach.d.ts +5 -0
  66. package/dist/{types → api/types}/snapshots.d.ts +49 -4
  67. package/dist/api/types/storageProvider.d.ts +19 -0
  68. package/dist/api/types/storyblok.d.ts +40 -0
  69. package/dist/{types → api/types}/streaming.d.ts +3 -3
  70. package/dist/{types → api/types}/tag.d.ts +1 -1
  71. package/dist/api/types/time.d.ts +7 -0
  72. package/dist/{types → api/types}/timelapse.d.ts +8 -5
  73. package/dist/{types → api/types}/user.d.ts +106 -32
  74. package/dist/api/types/videoWall.d.ts +66 -0
  75. package/dist/{types → api/types}/weather.d.ts +75 -11
  76. package/dist/{types → api/types}/widget.d.ts +72 -11
  77. package/dist/{types → api/types}/xweather.d.ts +4 -4
  78. package/dist/index.d.ts +2 -3
  79. package/dist/index.js +1801 -981
  80. package/dist/index.js.map +1 -1
  81. package/dist/index.umd.cjs +1 -1
  82. package/dist/index.umd.cjs.map +1 -1
  83. package/dist/shared/api/index.d.ts +3 -0
  84. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  85. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  86. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  87. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  88. package/dist/shared/types/components.d.ts +329 -0
  89. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  90. package/dist/shared/types/imagePlayer.d.ts +41 -0
  91. package/dist/shared/types/index.d.ts +6 -0
  92. package/dist/shared/types/rbac.d.ts +67 -0
  93. package/dist/shared/types/timeline.d.ts +10 -0
  94. package/package.json +6 -4
  95. package/dist/api/3dFirebaseApi.d.ts +0 -20
  96. package/dist/api/aiApi.d.ts +0 -146
  97. package/dist/api/authzApi.d.ts +0 -21
  98. package/dist/api/ingestApi.d.ts +0 -88
  99. package/dist/api/videoWallApi.d.ts +0 -9
  100. package/dist/types/360.d.ts +0 -139
  101. package/dist/types/aconex.d.ts +0 -45
  102. package/dist/types/automation.d.ts +0 -10
  103. package/dist/types/drone.d.ts +0 -17
  104. package/dist/types/ingest.d.ts +0 -47
  105. package/dist/types/map.d.ts +0 -4
  106. package/dist/types/notification.d.ts +0 -27
  107. package/dist/types/planner.d.ts +0 -32
  108. package/dist/types/posthog.d.ts +0 -18
  109. package/dist/types/project.d.ts +0 -129
  110. package/dist/types/shares.d.ts +0 -196
  111. package/dist/types/siteAnalytics.d.ts +0 -142
  112. package/dist/types/storageServers.d.ts +0 -4
  113. package/dist/types/time.d.ts +0 -21
  114. package/dist/types/videoWall.d.ts +0 -33
  115. /package/dist/api/{client → api/client}/customErrors.d.ts +0 -0
  116. /package/dist/api/{client → api/client}/index.d.ts +0 -0
  117. /package/dist/api/{client → api/client}/interceptors.d.ts +0 -0
  118. /package/dist/api/{client → api/client}/swr/SwrStore.d.ts +0 -0
  119. /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
  120. /package/dist/{types → api/types}/countries.d.ts +0 -0
  121. /package/dist/{types → api/types}/nvr.d.ts +0 -0
  122. /package/dist/{types → api/types}/routeParams.d.ts +0 -0
  123. /package/dist/{types → api/types}/sso.d.ts +0 -0
  124. /package/dist/{types → api/types}/systemCheck.d.ts +0 -0
  125. /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
  126. /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
  127. /package/dist/{utils.d.ts → api/utils.d.ts} +0 -0
package/dist/index.js CHANGED
@@ -1,12 +1,31 @@
1
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 $ from "axios";
5
- import f 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.ThreeSixtyGalleryFilterDateRange = "Gallery-FilterDateRange", e.ThreeSixtyGalleryFilterFeatures = "Gallery-FilterFeatures", e.ThreeSixtyGalleryFilterFloorName = "Gallery-FilterFloorName", e.ThreeSixtyGalleryFilterUploadedBy = "Gallery-FilterUploadedBy", e.ThreeSixtyGalleryTimelineSelectMilestoneItem = "Gallery-TimelineSelectMilestoneItem", e.ThreeSixtyGalleryTimelineDateClick = "Gallery-TimelineDateClick", e.ThreeSixtyGalleryToggleUploadDialog = "Gallery-ToggleUploadDialog", e.ThreeSixtyGalleryToggleFilters = "Gallery-ToggleFilters", e.ThreeSixtyGalleryUpdateFloorName = "Gallery-UpdateFloorName", e.ThreeSixtyGalleryEditWalkName = "Gallery-EditWalkName", 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.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.DroneUploadSkipping = "SkipImageUpload", 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 || {}), Ue = /* @__PURE__ */ ((e) => (e[e.Processing = 0] = "Processing", e[e.Completed = 1] = "Completed", e[e.Failed = 2] = "Failed", e))(Ue || {}), _e = /* @__PURE__ */ ((e) => (e.Copilot = "copilot", e.User = "user", e.System = "system", e))(_e || {}), 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 || {}), Ge = /* @__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))(Ge || {}), He = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.DateTime = "DateTimeField", e.Schedule = "ScheduleField", e.MultiOptions = "MultiOptionsField", e.Switch = "SwitchField", e))(He || {}), Fe = /* @__PURE__ */ ((e) => (e.ProjectExid = "projectExid", e.CameraExid = "cameraExid", e.FromDate = "fromDate", e.ToDate = "toDate", e.Schedule = "schedule", e.Duration = "duration", e))(Fe || {}), ze = /* @__PURE__ */ ((e) => (e.Boolean = "boolean", e.String = "string", e.Number = "number", e))(ze || {}), We = /* @__PURE__ */ ((e) => (e.Date = "date", e))(We || {}), 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 || {}), d = /* @__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))(d || {}), Le = /* @__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))(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 || {}), m = /* @__PURE__ */ ((e) => (e.V1 = "v1", e.V2 = "v2", e))(m || {}), 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 || {}), Ur = /* @__PURE__ */ ((e) => (e.True = "true", e.False = "false", e))(Ur || {}), _r = /* @__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))(_r || {}), 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.SelectedCommentId = "selectedCommentId", e))(Nr || {}), Gr = /* @__PURE__ */ ((e) => (e.Mains = "mains", e.Battery = "battery", e.Solar = "solar", e.Generator = "generator", e.Other = "other", e))(Gr || {}), Hr = /* @__PURE__ */ ((e) => (e.Schedule = "schedule", e.FullTime = "24/7", e))(Hr || {}), Fr = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(Fr || {}), zr = /* @__PURE__ */ ((e) => (e.Minimum = "minimum", e.Share = "minimal+share", e.Full = "full", e.Custom = "custom", e))(zr || {}), Wr = /* @__PURE__ */ ((e) => (e.Share = "share", e.Request = "request", e))(Wr || {}), 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 || {}), Ua = /* @__PURE__ */ ((e) => (e.New = "new", e.Active = "active", e.Deployed = "deployed", e.Decommissioned = "decommissioned", e))(Ua || {}), _a = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.EMEA = "emea", e.LATAM = "latam", e.US = "na", e))(_a || {}), 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 || {}), Ga = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segments = "segments", e))(Ga || {}), Ha = /* @__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))(Ha || {}), Fa = /* @__PURE__ */ ((e) => (e.InArea = "in_area", e.Intersects = "intersects", e.Time = "time", e))(Fa || {}), za = /* @__PURE__ */ ((e) => (e.Tracking = "tracking", e.Segments = "segments", e))(za || {}), Wa = /* @__PURE__ */ ((e) => (e.All = "all", e.FirstLastSeen = "first_last_seen", e))(Wa || {}), 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 = {
2
+ var I = (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) => I(e, typeof r != "symbol" ? r + "" : r, t);
4
+ import w from "axios";
5
+ import P from "humps";
6
+ var y = /* @__PURE__ */ ((e) => (e.Default = "Default", e))(y || {}), ee = /* @__PURE__ */ ((e) => (e.DateId = "date_id", e.Date = "date", e.Floor = "floor", e.Marker = "marker", e.PolarAngle = "polarAngle", e.AzimuthAngle = "azimuthAngle", e))(ee || {}), re = /* @__PURE__ */ ((e) => (e.Video = "video", e.Image = "image", e.Model = "model", e.Route = "route", e.MobilePhoto = "mobile_photos", e.MobileAudio = "mobile_audios", e))(re || {}), ae = /* @__PURE__ */ ((e) => (e.Walks = "walks", e.MobilePhotos = "mobilePhotos", e))(ae || {}), te = /* @__PURE__ */ ((e) => (e.BIM = "BIM", e.Minimap = "Minimap", e.Minimodel = "Minimodel", e))(te || {}), oe = /* @__PURE__ */ ((e) => (e.Evercam = "Evercam", e.Matterport = "Matterport", e.OpenSpace = "Openspace", e.HoloBuilder = "Holobuilder", e.DroneDeploy = "Dronedeploy", e))(oe || {}), se = /* @__PURE__ */ ((e) => (e.Start = "#00e74c", e.End = "#fd7567", e.Default = "#2196F3", e))(se || {}), ie = /* @__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))(ie || {}), ne = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.Text = "TextField", e.DateTime = "DateTimeField", e.Switch = "SwitchField", e))(ne || {}), le = /* @__PURE__ */ ((e) => (e.Mandatory = "MANDATORY", e.NotMandatory = "NOT_MANDATORY", e))(le || {}), ge = /* @__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))(ge || {}), me = /* @__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))(me || {}), pe = /* @__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.ForgeBimIngestNotificationFailed = "ForgeBim-IngestNotificationFailed", e))(pe || {}), ce = /* @__PURE__ */ ((e) => (e.Left = "reverse", e.Arrived = "forward", e.Unknown = "unknown", e))(ce || {}), ue = /* @__PURE__ */ ((e) => (e.IsPlate = "is_plate", e.NotPlate = "not_plate", e.IsDuplicate = "is_duplicate", e.NotDuplicate = "not_duplicate", e))(ue || {}), de = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Running = "running", e.Completed = "completed", e.Failed = "failed", e))(de || {}), he = /* @__PURE__ */ ((e) => (e.All = "all", e.AiDbOnly = "ai_db_only", e.ImagesOnly = "images_only", e))(he || {}), Se = /* @__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))(Se || {}), $e = /* @__PURE__ */ ((e) => (e.Gif = "gif", e.Mp4 = "mp4", e.Png = "png", e.Pdf = "pdf", e.Jpeg = "jpeg", e))($e || {}), Te = /* @__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))(Te || {}), ke = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Processing = 1] = "Processing", e[e.Completed = 2] = "Completed", e[e.Failed = 3] = "Failed", e))(ke || {}), be = /* @__PURE__ */ ((e) => (e.HealthSafetySecurity = "health_safety_security", e.Legal = "legal", e.Marketing = "marketing", e.BestPracticies = "best_practices", e))(be || {}), we = /* @__PURE__ */ ((e) => (e.Weather = "weather", e.SmartSearch = "smart_search", e.Copilot = "copilot", e))(we || {}), Me = /* @__PURE__ */ ((e) => (e.Architectural = "Architectural", e.Structural = "Structural", e.FourD = "4D", e.Mep = "Mep", e))(Me || {}), fe = /* @__PURE__ */ ((e) => (e[e.Initial = 0] = "Initial", e[e.Saving = 1] = "Saving", e[e.Success = 2] = "Success", e[e.Failed = 3] = "Failed", e))(fe || {}), Pe = /* @__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))(Pe || {}), Re = /* @__PURE__ */ ((e) => (e.FileUpload = "file_upload", e.AutodeskAcc = "autodesk_acc", e))(Re || {}), De = /* @__PURE__ */ ((e) => (e.InvalidType = "invalid_type", e.ExceedsSizeLimit = "exceeds_size_limit", e))(De || {}), _e = /* @__PURE__ */ ((e) => (e.TusUpload = "tus_upload", e.IngestUpload = "ingest_upload", e))(_e || {}), Ue = /* @__PURE__ */ ((e) => (e.UpdateModel = "update_model", e.AddModel = "add_model", e.InitialSetup = "initial_setup", e))(Ue || {}), je = /* @__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))(je || {}), Be = /* @__PURE__ */ ((e) => (e.High = "High", e.Moderate = "Moderate", e.Low = "Low", e.NoChange = "No change", e.Default = "Default", e))(Be || {});
7
+ const So = {
8
+ High: "#FF5252",
9
+ Moderate: "#FBC02D",
10
+ Low: "#006400",
11
+ "No change": "#3ACF3A",
12
+ Default: "black"
13
+ };
14
+ var Oe = /* @__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.PpeV2 = "ppe_v2", e.NoLiveView = "no_live_view", e.Ring = "ring", e.CloudOnly = "cloud_only", e))(Oe || {}), 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 || {}), Ne = /* @__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))(Ne || {}), Ge = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notExist", e.Unformatted = "unformatted", e.Ok = "ok", e))(Ge || {}), Ve = /* @__PURE__ */ ((e) => (e.Host = "host", e.CameraHttpPort = "camera_http_port", e.NvrHttpPort = "nvr_http_port", e.NvrDeviceId = "nvr_device_id", e))(Ve || {}), He = /* @__PURE__ */ ((e) => (e.TwoD = "2D", e.Forge = "Forge", e))(He || {}), ve = /* @__PURE__ */ ((e) => (e[e.Processing = 0] = "Processing", e[e.Completed = 1] = "Completed", e[e.Failed = 2] = "Failed", e))(ve || {}), We = /* @__PURE__ */ ((e) => (e.Copilot = "copilot", e.User = "user", e.System = "system", e))(We || {}), xe = /* @__PURE__ */ ((e) => (e.Text = "text", e.Progress = "progress", e.Error = "error", e.Json = "json", e))(xe || {}), ze = /* @__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))(ze || {}), Le = /* @__PURE__ */ ((e) => (e.ProjectExid = "Project", e.CameraExid = "Camera", e.FromDate = "Start date", e.ToDate = "End date", e))(Le || {}), 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 || {}), Xe = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGPT = "chatgpt", e))(Xe || {}), Qe = /* @__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))(Qe || {}), qe = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGpt = "chatGpt", e))(qe || {}), Je = /* @__PURE__ */ ((e) => (e.Floating = "floating", e))(Je || {}), Ye = /* @__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))(Ye || {}), Ke = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.DateTime = "DateTimeField", e.Schedule = "ScheduleField", e.MultiOptions = "MultiOptionsField", e.Switch = "SwitchField", e))(Ke || {}), Ce = /* @__PURE__ */ ((e) => (e.ProjectExid = "projectExid", e.CameraExid = "cameraExid", e.FromDate = "fromDate", e.ToDate = "toDate", e.Schedule = "schedule", e.Duration = "duration", e))(Ce || {}), Ee = /* @__PURE__ */ ((e) => (e.Boolean = "boolean", e.String = "string", e.Number = "number", e))(Ee || {}), Ae = /* @__PURE__ */ ((e) => (e.AerialShot = "AerialShot", e))(Ae || {}), Ie = /* @__PURE__ */ ((e) => (e.Default = "Default", e.Gate = "Gate", e.Indoor = "Indoor", e))(Ie || {}), ye = /* @__PURE__ */ ((e) => (e.Date = "date", e))(ye || {}), er = /* @__PURE__ */ ((e) => (e.Evercam = "Evercam", e.DroneDeploy = "DroneDeploy", e))(er || {}), $ = /* @__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 || {}), rr = /* @__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))(rr || {}), ar = /* @__PURE__ */ ((e) => (e.Auto = "auto", e.Manual = "manual", e.Cloud = "cloud", e.Edge = "edge", e))(ar || {}), tr = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e))(tr || {}), or = /* @__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))(or || {}), sr = /* @__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))(sr || {}), 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 || {}), ir = /* @__PURE__ */ ((e) => (e.Anpr = "anpr", e.Events = "events", e))(ir || {}), nr = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e.Unknown = "unknown", e))(nr || {}), lr = /* @__PURE__ */ ((e) => (e.Pdf = "pdf", e.Csv = "csv", e))(lr || {}), gr = /* @__PURE__ */ ((e) => (e.Processed = "processed", e.Unprocessed = "unprocessed", e))(gr || {});
15
+ const $o = Object.values(Z);
16
+ var mr = /* @__PURE__ */ ((e) => (e.ExFat = "ExFAT", e.HikFs = "HikFS", e))(mr || {}), pr = /* @__PURE__ */ ((e) => (e.Magnetic35 = '3.5" Magnetic', e.Magnetic25 = '2.5" Magnetic', e.Ssd25 = '2.5" SSD', e))(pr || {}), cr = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.InUse = "In Use", e.ColdStorage = "Cold Storage", e))(cr || {}), ur = /* @__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))(ur || {}), dr = /* @__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))(dr || {}), hr = /* @__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))(hr || {}), Sr = /* @__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))(Sr || {}), $r = /* @__PURE__ */ ((e) => (e.Audio = "mobile_audios", e.Photo = "mobile_photos", e))($r || {}), Tr = /* @__PURE__ */ ((e) => (e.V1 = "v1", e.V2 = "v2", e.V3 = "v3", e.V4 = "v4", e.V5 = "v5", e))(Tr || {}), p = /* @__PURE__ */ ((e) => (e.Drone = "drone", e.ThreeSixty = "360", e))(p || {}), kr = /* @__PURE__ */ ((e) => (e.Hybrid = "hybrid", e.Terrain = "terrain", e))(kr || {}), O = /* @__PURE__ */ ((e) => (e.Aconex = "aconex", e.Procore = "procore", e.Autodesk = "autodesk", e.AutodeskViewer = "autodesk_viewer", e.VoyageControl = "voyage_control", e.Ring = "ring", e.Email = "email", e.XWeather = "xweather", e))(O || {}), br = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.Photos = "photos", e))(br || {}), wr = /* @__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))(wr || {}), Mr = /* @__PURE__ */ ((e) => (e.Rpi4 = "rpi4", e.Rpi5 = "rpi5", e.OrinNano = "orin_nano", e.Giraffe = "giraffe", e))(Mr || {}), fr = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notexist", e.Ok = "ok", e.Unformatted = "unformatted", e))(fr || {}), Pr = /* @__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))(Pr || {}), Rr = /* @__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))(Rr || {}), Dr = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.ProgressPhotos = "images", e))(Dr || {}), _r = /* @__PURE__ */ ((e) => (e[e.NoAccess = 1] = "NoAccess", e[e.ReadOnly = 2] = "ReadOnly", e[e.Standard = 3] = "Standard", e[e.Admin = 4] = "Admin", e))(_r || {}), Ur = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.Pause = "pause", e))(Ur || {}), jr = /* @__PURE__ */ ((e) => (e.ToStart = "To Start", e.InProgress = "In Progress", e.Completed = "Completed", e.NotAplicable = "Not Applicable", e))(jr || {}), Br = /* @__PURE__ */ ((e) => (e.Full = "Full", e.Partial = "Partial", e.Minimal = "Minimal", e.ScheduledForDeletion = "Scheduled for Deletion", e.No = "No", e))(Br || {}), Or = /* @__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))(Or || {}), Fr = /* @__PURE__ */ ((e) => (e.New = "new", e.Pending = "pending", e.Processing = "processing", e.Completed = "completed", e.Failed = "failed", e))(Fr || {}), Nr = /* @__PURE__ */ ((e) => (e.Detections = "detections", e))(Nr || {}), Gr = /* @__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))(Gr || {}), Vr = /* @__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))(Vr || {});
17
+ const To = {
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 Hr = /* @__PURE__ */ ((e) => (e.On = "on", e.Off = "off", e.Paused = "paused", e.OnScheduled = "on-scheduled", e))(Hr || {}), vr = /* @__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))(vr || {}), Wr = /* @__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))(Wr || {}), xr = /* @__PURE__ */ ((e) => (e.Gate = "gate", e.AnprContext = "anpr_context", e.ExclusionZone = "exclusion_zone", e.WorkflowArea = "workflow_area", e.SiteAnalytics = "site_analytics", e.Ppe = "ppe_roi", e))(xr || {}), zr = /* @__PURE__ */ ((e) => (e.Polygon = "polygon", e.Line = "line", e.Direction = "direction", e.Rectangle = "rectangle", e))(zr || {}), Lr = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e.Bidirectional = "arrived,left", e))(Lr || {}), Zr = /* @__PURE__ */ ((e) => (e.True = "true", e.False = "false", e))(Zr || {}), Xr = /* @__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))(Xr || {}), Qr = /* @__PURE__ */ ((e) => (e.Show360 = "show360", e))(Qr || {}), qr = /* @__PURE__ */ ((e) => (e.ShowDrone = "showDrone", e))(qr || {}), Jr = /* @__PURE__ */ ((e) => (e.ShowMedia = "showMedia", e))(Jr || {}), Yr = /* @__PURE__ */ ((e) => (e.ShowBim = "showBim", e))(Yr || {}), Kr = /* @__PURE__ */ ((e) => (e.ShowExNvrRecordings = "showExNvrRecordings", e))(Kr || {}), Cr = /* @__PURE__ */ ((e) => (e.ShowAnpr = "showAnpr", e))(Cr || {}), Er = /* @__PURE__ */ ((e) => (e.ShowMobileCapture = "showMobileCapture", e))(Er || {}), Ar = /* @__PURE__ */ ((e) => (e.ShowComments = "showComments", e.SelectedCommentId = "selectedCommentId", e))(Ar || {}), Ir = /* @__PURE__ */ ((e) => (e.Mains = "mains", e.Battery = "battery", e.Solar = "solar", e.Generator = "generator", e.Other = "other", e))(Ir || {}), yr = /* @__PURE__ */ ((e) => (e.Schedule = "schedule", e.FullTime = "24/7", e))(yr || {}), ea = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(ea || {}), ra = /* @__PURE__ */ ((e) => (e.Qr = "qr", e.Manual = "manual", e))(ra || {}), aa = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Cancelled = -1] = "Cancelled", e[e.Used = 1] = "Used", e[e.Failed = -2] = "Failed", e))(aa || {}), ta = /* @__PURE__ */ ((e) => (e.PublicDiscoverable = "publicDiscoverable", e.PublicUndiscoverable = "publicUndiscoverable", e.Private = "private", e))(ta || {}), oa = /* @__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))(oa || {}), sa = /* @__PURE__ */ ((e) => (e.Delivered = "Delivered", e.Accepted = "accepted", e.Pending = "Pending", e))(sa || {}), ia = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Done = "done", e))(ia || {}), na = /* @__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))(na || {}), la = /* @__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))(la || {}), ga = /* @__PURE__ */ ((e) => (e.FreeRotate = "freeRotate", e.Lock = "lock", e.Rotate = "rotate", e.Scale = "scale", e.Pan = "drag", e))(ga || {}), ma = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.Satellite = "Satellite", e.Street = "Street", e.GoogleSatellite = "hybrid", e.GoogleStreet = "roadmap", e.GoogleTerrain = "terrain", e))(ma || {}), pa = /* @__PURE__ */ ((e) => (e.CameraMarker = "cameraMarker", e.ThreeSixtyMarker = "threeSixtyMarkers", e))(pa || {}), ca = /* @__PURE__ */ ((e) => (e.List = "list", e.Item = "item", e))(ca || {}), ua = /* @__PURE__ */ ((e) => (e.Home = "/", e.Session = "/session", e))(ua || {}), da = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Overlay = "overlay", e))(da || {}), ha = /* @__PURE__ */ ((e) => (e.Admin = "admin", e.User = "user", e))(ha || {}), Sa = /* @__PURE__ */ ((e) => (e.Seaweedfs = "seaweedfs", e.S3 = "s3", e))(Sa || {}), $a = /* @__PURE__ */ ((e) => (e.Available = "Available", e.NotAvailable = "Not Available", e))($a || {}), Ta = /* @__PURE__ */ ((e) => (e.Recording = "recording", e.Failed = "failed", e.Stopped = "stopped", e))(Ta || {}), ka = /* @__PURE__ */ ((e) => (e.CpuLoad = "cpu_load", e.RamUsage = "ram_usage", e))(ka || {}), ba = /* @__PURE__ */ ((e) => (e[e.Pending = 11] = "Pending", e[e.Completed = 5] = "Completed", e[e.Failed = 7] = "Failed", e))(ba || {}), wa = /* @__PURE__ */ ((e) => (e[e.ThirtySeconds = 30] = "ThirtySeconds", e[e.SixtySeconds = 60] = "SixtySeconds", e[e.NintySeconds = 90] = "NintySeconds", e[e.TwoMinutes = 120] = "TwoMinutes", e))(wa || {}), Ma = /* @__PURE__ */ ((e) => (e.Continuous = "continuous", e.WorkingHours = "workingHours", e.Custom = "custom", e))(Ma || {}), fa = /* @__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))(fa || {}), Pa = /* @__PURE__ */ ((e) => (e.Hour = "hour", e.Day = "day", e.Week = "week", e.Month = "month", e.Year = "year", e.FullProject = "full_project", e))(Pa || {}), Ra = /* @__PURE__ */ ((e) => (e[e.Format = 1] = "Format", e[e.Effects = 2] = "Effects", e[e.Confirm = 3] = "Confirm", e[e.Finish = 4] = "Finish", e))(Ra || {}), Da = /* @__PURE__ */ ((e) => (e.CompanyAdmin = "company-admin", e.VideoWalls = "video-walls", e.MassCameraSharing = "mass-camera-sharing", e.ProjectSharing = "project-sharing", e))(Da || {}), _a = /* @__PURE__ */ ((e) => (e.SalesExecutive = "Sales Executive", e.CustomerSuccessManager = "Customer Success Manager", e))(_a || {}), Ua = /* @__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))(Ua || {}), ja = /* @__PURE__ */ ((e) => (e.LiveView = "live", e.Video = "video", e.Image = "image", e))(ja || {}), Ba = /* @__PURE__ */ ((e) => (e.Daily = "daily", e))(Ba || {}), Oa = /* @__PURE__ */ ((e) => (e.WeatherStack = "weather_stack", e.XWeather = "xweather", e))(Oa || {}), Fa = /* @__PURE__ */ ((e) => (e.Recordings = "recordings", e.ThreeSixty = "360", e.Drone = "drone", e.Timeline = "timeline", e))(Fa || {}), Na = /* @__PURE__ */ ((e) => (e.Info = "Info", e.Danger = "Danger", e.Restricted = "Restricted", e))(Na || {}), Ga = /* @__PURE__ */ ((e) => (e.Helmet = "helmet", e.HighVisibilityVest = "high-visibility-vest", e.SafetyGlasses = "safety-glasses", e.Person = "person", e.Man = "man", e.Woman = "woman", e))(Ga || {}), Va = /* @__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[e.PpeV2 = 6] = "PpeV2", e))(Va || {}), Ha = /* @__PURE__ */ ((e) => (e.AND = "and", e.OR = "or", e))(Ha || {}), va = /* @__PURE__ */ ((e) => (e.Imperial = "imperial", e.Metric = "metric", e))(va || {}), Wa = /* @__PURE__ */ ((e) => (e.Ios = "ios", e.Android = "android", e))(Wa || {}), xa = /* @__PURE__ */ ((e) => (e.Itwin = "itwin", e.Cesium = "cesium", e))(xa || {}), za = /* @__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))(za || {}), X = /* @__PURE__ */ ((e) => (e.Jpeg = "jpeg", e.Pdf = "pdf", e.Csv = "csv", e))(X || {}), La = /* @__PURE__ */ ((e) => (e.CopilotMessage = "copilot_message", e))(La || {}), 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 || {}), Xa = /* @__PURE__ */ ((e) => (e.Idle = "idle", e.Loading = "loading", e.Success = "success", e.Error = "error", e))(Xa || {}), Qa = /* @__PURE__ */ ((e) => (e.Up = "up", e.Down = "down", e.Left = "left", e.Right = "right", e))(Qa || {}), qa = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e))(qa || {}), Ja = /* @__PURE__ */ ((e) => (e.New = "new", e.Active = "active", e.Deployed = "deployed", e.Decommissioned = "decommissioned", e))(Ja || {}), Ya = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.EMEA = "emea", e.LATAM = "latam", e.US = "na", e))(Ya || {}), Ka = /* @__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))(Ka || {}), Ca = /* @__PURE__ */ ((e) => (e.SolarCharger = "solar_charger", e.PanelPower = "panel_power", e))(Ca || {}), 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 || {}), Ea = /* @__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))(Ea || {}), Aa = /* @__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))(Aa || {}), Ia = /* @__PURE__ */ ((e) => (e.Sata = "sata", e.Nvme = "nvme", e.Usb = "usb", e))(Ia || {}), ya = /* @__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))(ya || {}), et = /* @__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))(et || {}), rt = /* @__PURE__ */ ((e) => (e.Cancelling = "canceling", e.Cancelled = "cancelled", e.Completed = "completed", e.Failed = "failed", e.Pending = "pending", e.Processing = "processing", e))(rt || {}), at = /* @__PURE__ */ ((e) => (e.Cloud = "cloud", e.Local = "local", e.Timelapse = "timelapse", e))(at || {}), tt = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Failed = "failed", e.Processing = "processing", e.Pending = "pending", e.Cancelled = "cancelled", e))(tt || {}), ot = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segments = "segments", e))(ot || {}), st = /* @__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))(st || {}), it = /* @__PURE__ */ ((e) => (e.InArea = "in_area", e.Intersects = "intersects", e.Time = "time", e))(it || {}), nt = /* @__PURE__ */ ((e) => (e.Tracking = "tracking", e.Segments = "segments", e))(nt || {}), lt = /* @__PURE__ */ ((e) => (e.All = "all", e.FirstLastSeen = "first_last_seen", e))(lt || {}), gt = /* @__PURE__ */ ((e) => (e.And = "AND", e.Or = "OR", e))(gt || {}), mt = /* @__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))(mt || {}), pt = /* @__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))(pt || {}), ct = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.ThreeSixty = "360", e))(ct || {}), ut = /* @__PURE__ */ ((e) => (e.Minute = "Minutes", e.Hour = "Hours", e.Day = "Days", e))(ut || {}), dt = /* @__PURE__ */ ((e) => (e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(dt || {}), ht = /* @__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))(ht || {}), St = /* @__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))(St || {}), $t = /* @__PURE__ */ ((e) => (e.Timeline = "timeline", e.Calendar = "calendar", e.DarkMode = "darkMode", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))($t || {}), Tt = /* @__PURE__ */ ((e) => (e.Preset = "preset", e.RefreshRate = "refreshRate", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Tt || {}), kt = /* @__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))(kt || {}), bt = /* @__PURE__ */ ((e) => (e.LiveWidget = "Live View", e.Recording = "Recordings", e.BimCompare = "BIM Compare", e.VideoWall = "Video Wall", e.ThreeSixty = "360", e))(bt || {});
28
+ const ko = {
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 S = (e) => class extends Error {
41
+ var wt = /* @__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))(wt || {}), Mt = /* @__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))(Mt || {}), ft = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.AU = "au", e.EU = "eu", e.UK = "uk", e.IE = "ie", e.US = "us", e))(ft || {}), Pt = ((e) => (e[e.Aconex = O.Aconex] = "Aconex", e[e.Procore = O.Procore] = "Procore", e[e.Autodesk = O.Autodesk] = "Autodesk", e.Email = "email", e))(Pt || {}), Rt = /* @__PURE__ */ ((e) => (e.Photo = "photo", e.Compare = "compare", e.GateReport = "gate_report", e))(Rt || {}), Dt = /* @__PURE__ */ ((e) => (e.Type = "type", e.Cameras = "cameras", e.Settings = "settings", e.Destination = "destination", e))(Dt || {}), _t = /* @__PURE__ */ ((e) => (e.DAU = "dau", e.WAU = "wau", e.MAU = "mau", e))(_t || {}), Ut = /* @__PURE__ */ ((e) => (e.App = "app", e.Camera = "camera", e.Project = "project", e))(Ut || {});
42
+ function bo(e) {
43
+ return e.resourceType === "project";
44
+ }
45
+ function wo(e) {
46
+ return e.resourceType === "camera";
47
+ }
48
+ var jt = /* @__PURE__ */ ((e) => (e.Revit = "Revit", e.Navisworks = "Navisworks", e.Drone = "Drone", e.Synchro = "Synchro", e))(jt || {}), Bt = /* @__PURE__ */ ((e) => (e.ITwin = "iTwin", e.Cesium = "Cesium", e.Forge = "Forge", e))(Bt || {}), Ot = /* @__PURE__ */ ((e) => (e.GateReport = "gate_report", e.Ppe = "ppe", e.SiteAnalytics = "site_analytics", e))(Ot || {}), Ft = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.OpenAi = "openai", e.Anthropic = "anthropic", e))(Ft || {}), Nt = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.View = "view", e))(Nt || {}), Gt = /* @__PURE__ */ ((e) => (e.Create = "create", e.Rotate = "rotate", e.Rename = "rename", e))(Gt || {});
49
+ const Mo = {
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
+ }, fo = {
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 Vt = /* @__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))(Vt || {}), Ht = /* @__PURE__ */ ((e) => (e.Local = "local", e.Api = "api", e))(Ht || {}), vt = /* @__PURE__ */ ((e) => (e.Running = "running", e.Stopped = "stopped", e.Restarting = "restarting", e))(vt || {});
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 = S(u.BadRequestError), it = S(u.NotFoundError), ot = S(u.UnauthorizedError), nt = S(
29
- u.GatewayTimeoutError
30
- ), lt = S(u.BadGatewayError), gt = S(u.ForbiddenError), xt = S(u.HlsError), Nt = S(u.SnapshotError), mt = S(u.ConflictError), pt = S(
31
- u.InternalServerError
85
+ }, Wt = b($.BadRequestError), xt = b($.NotFoundError), zt = b($.UnauthorizedError), Lt = b(
86
+ $.GatewayTimeoutError
87
+ ), Zt = b($.BadGatewayError), Xt = b($.ForbiddenError), Po = b($.HlsError), Ro = b($.SnapshotError), Qt = b($.ConflictError), qt = b(
88
+ $.InternalServerError
32
89
  );
33
- let v = 0;
34
- const ct = 10, ut = async () => {
35
- for (; v === ct; )
90
+ let N = 0;
91
+ const Jt = 10, Yt = async () => {
92
+ for (; N === Jt; )
36
93
  await new Promise((e) => setTimeout(e, 1e3));
37
- v++, setTimeout(() => {
38
- v--;
94
+ N++, setTimeout(() => {
95
+ N--;
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
+ }, Kt = 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 Yt(), At(e, r), e != null && e.skipAuth ? yt(e) : Et(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 || It(e), e;
106
+ }, Ct = (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 : f.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 p = performance.now() - e.config._metadata.startTime;
114
+ const r = (o = e == null ? void 0 : e.config) != null && o.preserveCasing ? e.data : P.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 d = performance.now() - e.config._metadata.startTime;
51
117
  return {
52
118
  ...e,
53
119
  data: r,
54
- duration: p
120
+ duration: d
55
121
  };
56
122
  }
57
123
  return r;
58
- }, X = async (e, r) => {
59
- var P, _, D, k, N, G, H;
60
- if ((P = e == null ? void 0 : e.config) != null && P.timing && ((D = (_ = e == null ? void 0 : e.config) == null ? void 0 : _._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, U, j, f, V, H, v;
126
+ if ((D = e == null ? void 0 : e.config) != null && D.timing && ((j = (U = e == null ? void 0 : e.config) == null ? void 0 : U._metadata) != null && j.startTime)) {
127
+ const E = performance.now() - e.config._metadata.startTime;
128
+ return { error: e, duration: E };
63
129
  }
64
- const t = e.response ? e.response.status : null, s = (((k = e.config) == null ? void 0 : k.method) || "").toUpperCase(), i = (N = e.config) == null ? void 0 : N.url, n = ((H = (G = e == null ? void 0 : e.response) == null ? void 0 : G.data) == null ? void 0 : H.code) || "";
65
- let l = {}, p = e.message;
66
- switch (i && s && t && (p = `${s} ${i} (${t}) ${n}`.trim()), t) {
67
- case d.BadRequestError:
68
- l = new st(new Error(p));
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 = ((v = (H = e == null ? void 0 : e.response) == null ? void 0 : H.data) == null ? void 0 : v.code) || "";
131
+ let m = {}, d = e.message;
132
+ switch (s && o && t && (d = `${o} ${s} (${t}) ${g}`.trim()), t) {
133
+ case k.BadRequestError:
134
+ m = new Wt(new Error(d));
69
135
  break;
70
- case d.UnauthorizedError:
71
- l = new ot(new Error(p));
136
+ case k.UnauthorizedError:
137
+ m = new zt(new Error(d));
72
138
  break;
73
- case d.ForbiddenError:
74
- l = new gt(new Error(p));
139
+ case k.ForbiddenError:
140
+ m = new Xt(new Error(d));
75
141
  break;
76
- case d.NotFoundError:
77
- l = new it(new Error(p));
142
+ case k.NotFoundError:
143
+ m = new xt(new Error(d));
78
144
  break;
79
- case d.ConflictError:
80
- l = new mt(new Error(p));
145
+ case k.ConflictError:
146
+ m = new Qt(new Error(d));
81
147
  break;
82
- case d.InternalServerError:
83
- l = new pt(new Error(p));
148
+ case k.InternalServerError:
149
+ m = new qt(new Error(d));
84
150
  break;
85
- case d.BadGatewayError:
86
- l = new lt(new Error(p));
151
+ case k.BadGatewayError:
152
+ m = new Zt(new Error(d));
87
153
  break;
88
- case d.GatewayTimeoutError:
89
- l = new nt(new Error(p));
154
+ case k.GatewayTimeoutError:
155
+ m = new Lt(new Error(d));
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 ($.isCancel(e) || t === d.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 U = r.errorLogger;
103
- return i && U && U({
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 Et(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 At(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 It(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 = f.decamelizeKeys(t) : t = { ...f.decamelizeKeys(t), ...r }), t && t instanceof FormData) {
131
- let i = new FormData();
132
- for (const [n, l] of t.entries())
133
- i.append(f.decamelize(n), l);
134
- t = i;
196
+ ) || {}, delete t.ignoreCasingFromParams), Array.isArray(t) ? t = P.decamelizeKeys(t) : t = { ...P.decamelizeKeys(t), ...r }), t && t instanceof FormData) {
197
+ let s = new FormData();
198
+ for (const [g, m] of t.entries())
199
+ s.append(P.decamelize(g), m);
200
+ t = s;
135
201
  }
136
- s && !(s instanceof Blob) && (s = f.decamelizeKeys(s)), e.data = t, e.params = s;
202
+ o && !(o instanceof Blob) && (o = P.decamelizeKeys(o)), e.data = t, e.params = o;
137
203
  }
138
- const Gt = async (e, r, t) => {
204
+ const Do = async (e, r, t) => {
139
205
  if (r())
140
- throw await t(), new $.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 yt(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 _(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 eo(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 = _(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 G;
234
+ function F() {
235
+ return G || (G = eo("keyval-store", "keyval")), G;
164
236
  }
165
- function kt(e, r = O()) {
166
- return r("readonly", (t) => R(t.get(e)));
237
+ function ro(e, r = F()) {
238
+ return r("readonly", (t) => _(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 ao(e, r, t = F()) {
241
+ return t("readwrite", (o) => (o.put(r, e), _(o.transaction)));
170
242
  }
171
- function wt(e, r = O()) {
172
- return r("readwrite", (t) => (t.delete(e), R(t.transaction)));
243
+ function to(e, r = F()) {
244
+ return r("readwrite", (t) => (t.delete(e), _(t.transaction)));
173
245
  }
174
- function Pt(e = O()) {
175
- return e("readwrite", (r) => (r.clear(), R(r.transaction)));
246
+ function oo(e = F()) {
247
+ return e("readwrite", (r) => (r.clear(), _(r.transaction)));
176
248
  }
177
- class Mt {
249
+ class so {
178
250
  constructor(r) {
179
251
  B(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((p, T) => (p[T] = r.params[T], p), {});
188
- s = JSON.stringify(l);
259
+ const m = Object.keys(r.params).sort().reduce((d, h) => (d[h] = r.params[h], d), {});
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 ro(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 ao(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 to(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 oo();
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
314
  B(this, "axiosInstance");
243
315
  B(this, "store");
244
- this.store = new Mt(r), this.axiosInstance = t;
316
+ this.store = new so(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((p) => p != null ? p : l),
254
- l
325
+ g.then((d) => d != null ? d : 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 F = [], z = [], w = [];
283
- const a = $.create({
354
+ let W = [], x = [], R = [];
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,74 @@ 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 io = 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) : io(...e);
312
384
  };
313
385
  a.addRequestInterceptor = (e, r) => {
314
- F.push(e), r && !w.includes(r) && w.push(r), a.interceptors.request.handlers.length === 0 && a.interceptors.request.use(
386
+ W.push(e), r && !R.includes(r) && R.push(r), a.interceptors.request.handlers.length === 0 && a.interceptors.request.use(
315
387
  async (t) => {
316
- for (const s of F)
317
- t = await s(t, a.env);
388
+ for (const o of W)
389
+ t = await o(t, a.env);
318
390
  return t;
319
391
  },
320
392
  (t) => {
321
- for (const s of w)
322
- s(t, a.env);
393
+ for (const o of R)
394
+ o(t, a.env);
323
395
  }
324
396
  );
325
397
  };
326
398
  a.addResponseInterceptor = (e, r) => {
327
- z.push(e), r && !w.includes(r) && w.push(r), a.interceptors.response.handlers.length === 0 && a.interceptors.response.use(
399
+ x.push(e), r && !R.includes(r) && R.push(r), a.interceptors.response.handlers.length === 0 && a.interceptors.response.use(
328
400
  async (t) => {
329
- for (const s of z)
330
- t = await s(t, a.env);
401
+ for (const o of x)
402
+ t = await o(t, a.env);
331
403
  return t;
332
404
  },
333
405
  (t) => {
334
- for (const s of w)
335
- s(t, a.env);
406
+ for (const o of R)
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(Kt, q);
413
+ a.addResponseInterceptor(Ct, 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
- }, Ut = (e) => {
345
- Y("Authorization", e ? `Bearer ${e}` : null);
346
- };
347
- a.CancelToken = $.CancelToken;
348
- a.isCancel = $.isCancel;
349
- a.setHeader = Y;
350
- a.setToken = Ut;
351
- let M = [];
352
- a.generateCancelTokenSource = () => a.CancelToken.source();
353
- a.addCancelToken = (e) => M = [e, ...M];
354
- a.resetCancelTokens = () => M = [];
355
- a.cancelRequests = () => {
356
- M.length && (M.forEach((e) => {
357
- e.cancel("Operation canceled due to new request");
358
- }), a.resetCancelTokens());
416
+ }, no = (e) => {
417
+ K("Authorization", e ? `Bearer ${e}` : null);
359
418
  };
360
- const Ht = {
419
+ a.CancelToken = w.CancelToken;
420
+ a.isCancel = w.isCancel;
421
+ a.setHeader = K;
422
+ a.setToken = no;
423
+ const z = "Operation canceled due to new request";
424
+ function C() {
425
+ const e = /* @__PURE__ */ new Map();
426
+ return {
427
+ createToken(r) {
428
+ var o;
429
+ (o = e.get(r)) == null || o.cancel(z);
430
+ const t = a.CancelToken.source();
431
+ return e.set(r, t), t.token;
432
+ },
433
+ cancelAll() {
434
+ e.forEach((r) => r.cancel(z)), e.clear();
435
+ }
436
+ };
437
+ }
438
+ a.createRequestManager = C;
439
+ a.requestManager = C();
440
+ const _o = {
361
441
  mediaHub: {
362
442
  getAllMedia(e) {
363
443
  return a.get("/admin/media-hub", e);
@@ -381,8 +461,17 @@ const Ht = {
381
461
  focusCamera(e, r) {
382
462
  return a.post(`/admin/devices/${r}/${e}/focus`);
383
463
  },
384
- getStorageServers() {
385
- return a.get("/admin/storage/servers");
464
+ getStorageProviders(e, r) {
465
+ return a.get(`/admin/cameras/${e}/storage-providers`, r);
466
+ },
467
+ createStorageProvider(e, r) {
468
+ return a.post(`/admin/cameras/${e}/storage-providers`, r);
469
+ },
470
+ updateStorageProvider(e, r, t) {
471
+ return a.put(
472
+ `/admin/cameras/${e}/storage-providers/${r}`,
473
+ t
474
+ );
386
475
  },
387
476
  getStorageDetails() {
388
477
  return a.get("/admin/storage");
@@ -420,6 +509,9 @@ const Ht = {
420
509
  getCameraDetails(e) {
421
510
  return a.get(`/admin/cameras/${e}`);
422
511
  },
512
+ getCameraStatusLogs(e, r) {
513
+ return a.get(`/admin/cameras/${e}/health`, r);
514
+ },
423
515
  deleteSnapshots(e, r) {
424
516
  return a.delete(`admin/cameras/${e}/snapshots`, {
425
517
  params: r
@@ -452,7 +544,7 @@ const Ht = {
452
544
  }
453
545
  },
454
546
  companies: {
455
- show(e, r) {
547
+ show(e, r = {}) {
456
548
  return a.get(`/admin/companies/${e}`, r);
457
549
  },
458
550
  getCompanyUsers(e, r) {
@@ -475,9 +567,6 @@ const Ht = {
475
567
  },
476
568
  deleteCompany(e) {
477
569
  return a.delete("/admin/companies", { params: e });
478
- },
479
- reSyncCompanies(e) {
480
- return a.post("/admin/companies/resync", e);
481
570
  }
482
571
  },
483
572
  sso: {
@@ -494,6 +583,26 @@ const Ht = {
494
583
  return a.delete("/admin/sso-providers", { params: { ids: e } });
495
584
  }
496
585
  },
586
+ oauthClients: {
587
+ index() {
588
+ return a.get("/admin/oauth/clients");
589
+ },
590
+ show(e) {
591
+ return a.get(`/admin/oauth/clients/${e}`);
592
+ },
593
+ create(e) {
594
+ return a.post("/admin/oauth/clients", e);
595
+ },
596
+ update(e, r) {
597
+ return a.patch(`/admin/oauth/clients/${e}`, r);
598
+ },
599
+ delete(e) {
600
+ return a.delete(`/admin/oauth/clients/${e}`);
601
+ },
602
+ regenerateSecret(e) {
603
+ return a.post(`/admin/oauth/clients/${e}/regenerate-secret`);
604
+ }
605
+ },
497
606
  emailing: {
498
607
  performEmailing(e, r) {
499
608
  return a.post(`/admin/mailing/${e}`, r);
@@ -512,14 +621,6 @@ const Ht = {
512
621
  addExtraction(e, r) {
513
622
  return a.post(`admin/cameras/${e}/extractions`, r);
514
623
  },
515
- getExtractionStatus(e, r, t) {
516
- return a.get(
517
- `admin/cameras/${e}/extractions/${r}`,
518
- {
519
- params: t
520
- }
521
- );
522
- },
523
624
  deleteSnapshotExtraction(e, r, t) {
524
625
  return a.delete(
525
626
  `admin/cameras/${e}/extractions/${r}`,
@@ -527,6 +628,30 @@ const Ht = {
527
628
  params: t
528
629
  }
529
630
  );
631
+ },
632
+ getExtraction(e, r) {
633
+ return a.get(
634
+ `admin/cameras/${e}/extractions/${r}`
635
+ );
636
+ },
637
+ reprocessExtraction(e, r) {
638
+ return a.post(
639
+ `admin/cameras/${e}/extractions/${r}/reprocess`
640
+ );
641
+ }
642
+ },
643
+ anprExtractions: {
644
+ list(e) {
645
+ return a.get(`/admin/cameras/${e}/anpr/extractions`);
646
+ },
647
+ create(e, r) {
648
+ return a.post(
649
+ `/admin/cameras/${e}/anpr/extractions`,
650
+ r
651
+ );
652
+ },
653
+ delete(e, r) {
654
+ return a.delete(`/admin/cameras/${e}/anpr/extractions/${r}`);
530
655
  }
531
656
  },
532
657
  kits: {
@@ -549,12 +674,12 @@ const Ht = {
549
674
  kitId: e,
550
675
  metric: r,
551
676
  fromDate: t,
552
- toDate: s
677
+ toDate: o
553
678
  }) {
554
679
  return a.get(`/admin/kits/${e}/stats/${r}`, {
555
680
  params: {
556
681
  fromDate: t,
557
- toDate: s
682
+ toDate: o
558
683
  }
559
684
  });
560
685
  },
@@ -572,6 +697,15 @@ const Ht = {
572
697
  },
573
698
  getAlarms(e) {
574
699
  return a.get(`/admin/kits/${e}/alarms`);
700
+ },
701
+ getBoxes(e) {
702
+ return a.get("/admin/kit-boxes", e);
703
+ },
704
+ createBox(e) {
705
+ return a.post("/admin/kit-boxes", e);
706
+ },
707
+ updateBox(e, r) {
708
+ return a.patch(`/admin/kit-boxes/${e}`, r);
575
709
  }
576
710
  },
577
711
  logs: {
@@ -579,7 +713,9 @@ const Ht = {
579
713
  return a.get("/admin/cameras-logs", e);
580
714
  },
581
715
  getCameraLogs(e, r) {
582
- return a.get(`/admin/cameras/${e}/audit-logs`, r);
716
+ return a.get(`/admin/cameras/${e}/audit-logs`, {
717
+ params: r
718
+ });
583
719
  },
584
720
  togglePinNote(e) {
585
721
  return a.patch(`/admin/audit-logs/${e}/toggle-pin`);
@@ -647,6 +783,12 @@ const Ht = {
647
783
  },
648
784
  addToProject(e, r) {
649
785
  return a.post(`/admin/projects/${e}/add-cameras`, r);
786
+ },
787
+ getProjectStorages(e) {
788
+ return a.get("/admin/projects/storages", e);
789
+ },
790
+ retryProjectStorage(e) {
791
+ return a.post(`/admin/projects/storages/${e}/retry`);
650
792
  }
651
793
  },
652
794
  routers: {
@@ -700,26 +842,9 @@ const Ht = {
700
842
  return a.patch(`/admin/hdds/${e}/footages/${r}`, t);
701
843
  }
702
844
  },
703
- shareRequests: {
704
- getShareRequests(e) {
705
- return a.get("/admin/camera-share-requests", e);
706
- },
707
- deleteShareRequest(e) {
708
- return a.delete("/admin/camera-share-requests", { params: e });
709
- },
710
- updateShareRequestStatus(e) {
711
- return a.patch("/admin/camera-share-requests", e);
712
- }
713
- },
714
845
  shares: {
715
- createShares(e, r) {
716
- return a.post(`/admin/cameras/${e}/shares`, r);
717
- },
718
- getShares(e) {
719
- return a.get("/admin/camera-shares", e);
720
- },
721
- deleteShares(e) {
722
- return a.delete("/admin/camera-shares", { params: e });
846
+ getInvites(e) {
847
+ return a.get("/admin/invites", e);
723
848
  }
724
849
  },
725
850
  sims: {
@@ -805,7 +930,7 @@ const Ht = {
805
930
  getUsers(e) {
806
931
  return a.get("/admin/users", e);
807
932
  },
808
- show(e, r) {
933
+ show(e, r = {}) {
809
934
  return a.get(
810
935
  `/admin/users/${e}${"with_zoho" in r ? "?with_zoho" : ""}`
811
936
  );
@@ -846,170 +971,597 @@ const Ht = {
846
971
  index(e) {
847
972
  return a.get("/admin/comments", e);
848
973
  }
974
+ },
975
+ snapshotTransfers: {
976
+ index(e) {
977
+ return a.get("/admin/snapshot-transfers", e);
978
+ },
979
+ cancel(e) {
980
+ return a.patch(`/admin/snapshot-transfers/${e}/cancel`);
981
+ }
849
982
  }
850
- }, Ft = {
851
- presets: {
852
- getProjectPresets(e, r) {
853
- const t = btoa(e);
983
+ }, Uo = {
984
+ list(e = {}) {
985
+ return a.get("/video-walls", { params: e });
986
+ },
987
+ create(e) {
988
+ return a.post("/video-walls", {
989
+ source: "default",
990
+ ...e
991
+ });
992
+ },
993
+ get(e) {
994
+ return a.get(`/video-walls/${e}`);
995
+ },
996
+ update(e, r) {
997
+ return a.put(`/video-walls/${e}`, {
998
+ source: "default",
999
+ ...r
1000
+ });
1001
+ },
1002
+ delete(e) {
1003
+ return a.delete(`/video-walls/${e}`);
1004
+ }
1005
+ }, l = () => a.env.firebaseDbLink, lo = () => a.env.firebaseStorageUrl, go = () => a.env.firebaseStorageToken, mo = () => a.env.forgeTokenServerUrl, i = { skipAuth: !0, preserveCasing: !0 }, jo = {
1006
+ drone: {
1007
+ getProjectInfo(e) {
854
1008
  return a.get(
855
- `${a.env.firebaseVideowallUrl}/${t}/presets/${r}.json`,
856
- {
857
- transformRequest: (s, i) => (delete i.common.Authorization, s)
858
- }
1009
+ `${l()}data/projects/cesium/${e}.json`,
1010
+ i
859
1011
  );
860
1012
  },
861
- saveProjectPreset(e, r, t) {
862
- const s = JSON.stringify({ configuration: t.configuration }), i = t.name, n = btoa(e);
1013
+ getProjectTags(e) {
1014
+ return a.get(
1015
+ `${l()}data/projects/cesium/${e}/transform/tags.json`,
1016
+ i
1017
+ );
1018
+ },
1019
+ patchTags({
1020
+ projectId: e,
1021
+ tags: r
1022
+ }) {
863
1023
  return a.patch(
864
- `${a.env.firebaseVideowallUrl}/${n}/presets/${r}/${i}.json`,
865
- s,
866
- {
867
- transformRequest: (l, p) => (delete p.common.Authorization, l)
868
- }
1024
+ `${l()}data/projects/cesium/${e}/transform/tags.json`,
1025
+ r,
1026
+ i
1027
+ );
1028
+ },
1029
+ saveMarkers({
1030
+ projectId: e,
1031
+ markers: r
1032
+ }) {
1033
+ return a.put(
1034
+ `${l()}data/projects/cesium/${e}/transform/markers.json`,
1035
+ r,
1036
+ i
1037
+ );
1038
+ },
1039
+ patchTransform({
1040
+ projectId: e,
1041
+ data: r
1042
+ }) {
1043
+ return a.patch(
1044
+ `${l()}data/projects/cesium/${e}/transform.json`,
1045
+ r,
1046
+ i
1047
+ );
1048
+ },
1049
+ saveTerrainPoints({
1050
+ projectId: e,
1051
+ dateId: r,
1052
+ points: t
1053
+ }) {
1054
+ return a.put(
1055
+ `${l()}data/projects/cesium/${e}/transform/terrainPoints/${r}.json`,
1056
+ t,
1057
+ i
869
1058
  );
870
1059
  },
871
- getGlobalPreset(e) {
872
- const r = btoa(e);
1060
+ patchImageryPlan({
1061
+ projectId: e,
1062
+ plan: r
1063
+ }) {
1064
+ return a.patch(
1065
+ `${l()}data/projects/cesium/${e}/transform/imageryPlans.json`,
1066
+ r,
1067
+ i
1068
+ );
1069
+ },
1070
+ deleteImageryPlan({
1071
+ projectId: e,
1072
+ uuid: r
1073
+ }) {
1074
+ return a.delete(
1075
+ `${l()}data/projects/cesium/${e}/transform/imageryPlans/${r}.json`,
1076
+ i
1077
+ );
1078
+ },
1079
+ saveImageryPlans({
1080
+ projectId: e,
1081
+ plans: r
1082
+ }) {
1083
+ return a.put(
1084
+ `${l()}data/projects/cesium/${e}/transform/imageryPlans.json`,
1085
+ r,
1086
+ i
1087
+ );
1088
+ },
1089
+ getBlackListIds(e) {
873
1090
  return a.get(
874
- `${a.env.firebaseVideowallUrl}/${r}/presets/global.json`,
875
- {
876
- transformRequest: (t, s) => (delete s.common.Authorization, t)
877
- }
1091
+ `${l()}data/projects/cesium/${e}/transform/blackListIds.json`,
1092
+ i
1093
+ );
1094
+ },
1095
+ saveBlackListIds({
1096
+ projectId: e,
1097
+ ids: r
1098
+ }) {
1099
+ return a.put(
1100
+ `${l()}data/projects/cesium/${e}/transform/blackListIds.json`,
1101
+ r,
1102
+ i
1103
+ );
1104
+ },
1105
+ saveModel({
1106
+ projectId: e,
1107
+ model: r
1108
+ }) {
1109
+ const { trueIndex: t, ...o } = r;
1110
+ return a.put(
1111
+ `${l()}data/projects/cesium/${e}/models/${t}.json`,
1112
+ o,
1113
+ i
1114
+ );
1115
+ },
1116
+ saveModels({
1117
+ projectId: e,
1118
+ models: r
1119
+ }) {
1120
+ return a.put(
1121
+ `${l()}data/projects/cesium/${e}/models.json`,
1122
+ r,
1123
+ i
1124
+ );
1125
+ },
1126
+ saveBimData({
1127
+ projectId: e,
1128
+ data: r
1129
+ }) {
1130
+ return a.put(
1131
+ `${l()}data/projects/cesium/${e}/transform/bimData.json`,
1132
+ r,
1133
+ i
878
1134
  );
879
1135
  },
880
- saveGlobalPreset(e, r) {
881
- const t = JSON.stringify({ configuration: r.configuration }), s = btoa(e);
1136
+ getBimTransparencyFlag(e) {
1137
+ return a.get(
1138
+ `${l()}data/projects/cesium/${e}/transform/bimTransparencyFeatureFlag.json`,
1139
+ i
1140
+ );
1141
+ },
1142
+ saveCameraTransform({
1143
+ projectId: e,
1144
+ isScene3D: r,
1145
+ transform: t
1146
+ }) {
882
1147
  return a.patch(
883
- `${a.env.firebaseVideowallUrl}/${s}/presets/global.json`,
1148
+ `${l()}data/projects/cesium/${e}/transform/initial${r ? "" : "2D"}CameraTransform.json`,
884
1149
  t,
885
- {
886
- transformRequest: (i, n) => (delete n.common.Authorization, i)
887
- }
1150
+ i
888
1151
  );
889
1152
  }
890
- }
891
- }, b = () => a.env.firebaseDbLink, _t = () => a.env.firebaseStorageUrl, Dt = () => a.env.firebaseStorageToken, zt = {
892
- drone: {
893
- getProjectInfo(e) {
894
- return fetch(
895
- `${b()}data/projects/cesium/${e}.json`
896
- ).then((r) => r.json());
897
- }
898
1153
  },
899
1154
  _360: {
900
- getProjectInfo(e) {
901
- return fetch(
902
- `${b()}data/projects/360/${e}.json`
903
- ).then((r) => r.json());
904
- },
905
- updateFloor(e, r, t, s) {
906
- return fetch(
907
- `${b()}data/projects/360/${e}/dates/${r}/floors/${t}.json`,
1155
+ getProjectInfo(e, r = { config: {} }) {
1156
+ return a.get(
1157
+ `${l()}data/projects/360/${e}.json`,
908
1158
  {
909
- method: "PATCH",
910
- body: JSON.stringify(s)
1159
+ ...r.config,
1160
+ ...i
911
1161
  }
912
- ).then((i) => i.json());
1162
+ );
913
1163
  },
914
- updateRoute(e, r, t, s) {
915
- return fetch(
916
- `${b()}360/${e}/${r}/${t}/route.json`,
917
- {
918
- method: "PATCH",
919
- body: JSON.stringify(s)
920
- }
921
- ).then((i) => i.json());
1164
+ getProjectsList() {
1165
+ return a.get(
1166
+ `${l()}data/360-list.json`,
1167
+ i
1168
+ );
922
1169
  },
923
- async updateFeatureFlag(e, r, t, s, i) {
924
- return fetch(
925
- `${b()}360/${e}/${r}/${t}/${s}.json`,
926
- {
927
- method: "PUT",
928
- body: JSON.stringify(i)
929
- }
930
- ).then((n) => n.json());
1170
+ updateProjectsList(e) {
1171
+ return a.put(
1172
+ `${l()}data/360-list.json`,
1173
+ e,
1174
+ i
1175
+ );
931
1176
  },
932
- async saveSteps(e, r, t, s) {
933
- return fetch(
934
- `${b()}360/${e}/${r}/${t}/steps.json`,
1177
+ updateProjectsListItem(e, r) {
1178
+ return a.put(
1179
+ `${l()}data/360-list/${e}.json`,
1180
+ r,
1181
+ i
1182
+ );
1183
+ },
1184
+ deleteProject(e) {
1185
+ return a.delete(
1186
+ `${l()}data/projects/360/${e}.json`,
1187
+ i
1188
+ );
1189
+ },
1190
+ updateProjectInfo(e, r) {
1191
+ return a.patch(
1192
+ `${l()}data/projects/360/${e}.json`,
1193
+ r,
1194
+ i
1195
+ );
1196
+ },
1197
+ updateFloor(e, r, t, o) {
1198
+ return a.patch(
1199
+ `${l()}data/projects/360/${e}/dates/${r}/floors/${t}.json`,
1200
+ o,
1201
+ i
1202
+ );
1203
+ },
1204
+ getRoute(e, r, t) {
1205
+ return a.get(
1206
+ `${l()}data/projects/360/${e}/${r}/${t}/route.json`,
1207
+ i
1208
+ );
1209
+ },
1210
+ getAerialShotDate(e, r) {
1211
+ return a.get(
1212
+ `${l()}data/projects/360/${encodeURIComponent(
1213
+ `${e}/aerial-shots/dates/`
1214
+ )}${r}/date.json`,
1215
+ i
1216
+ );
1217
+ },
1218
+ getFloor({
1219
+ projectId: e,
1220
+ dateId: r,
1221
+ floorId: t
1222
+ }) {
1223
+ return a.get(
1224
+ `${l()}data/projects/360/${e}/${r}/${t}.json`,
1225
+ i
1226
+ );
1227
+ },
1228
+ getAerialShotsFloor({
1229
+ projectId: e,
1230
+ dateId: r,
1231
+ floorId: t
1232
+ }) {
1233
+ return a.get(
1234
+ `${l()}data/projects/360/${e}/aerial-shots/${r}/${t}.json`,
1235
+ i
1236
+ );
1237
+ },
1238
+ update3DMarkers({
1239
+ projectId: e,
1240
+ dateId: r,
1241
+ floorId: t,
1242
+ markers: o
1243
+ }) {
1244
+ return a.put(
1245
+ `${l()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1246
+ o,
1247
+ i
1248
+ );
1249
+ },
1250
+ patchFloor({
1251
+ projectId: e,
1252
+ dateId: r,
1253
+ floorId: t,
1254
+ data: o
1255
+ }) {
1256
+ return a.patch(
1257
+ `${l()}data/projects/360/${e}/${r}/${t}.json`,
1258
+ o,
1259
+ i
1260
+ );
1261
+ },
1262
+ updateFloors({
1263
+ projectId: e,
1264
+ dateId: r,
1265
+ floors: t
1266
+ }) {
1267
+ return a.put(
1268
+ `${l()}data/projects/360/${e}/dates/${r}/floors.json`,
1269
+ t,
1270
+ i
1271
+ );
1272
+ },
1273
+ deleteFloor({
1274
+ projectId: e,
1275
+ dateId: r,
1276
+ floorId: t
1277
+ }) {
1278
+ return a.delete(
1279
+ `${l()}data/projects/360/${e}/${r}/${t}.json`,
1280
+ i
1281
+ );
1282
+ },
1283
+ updateDates(e, r) {
1284
+ return a.put(
1285
+ `${l()}data/projects/360/${e}/dates.json`,
1286
+ r,
1287
+ i
1288
+ );
1289
+ },
1290
+ deleteDate(e, r) {
1291
+ return a.delete(
1292
+ `${l()}data/projects/360/${e}/${r}.json`,
1293
+ i
1294
+ );
1295
+ },
1296
+ getPins({
1297
+ projectId: e,
1298
+ dateId: r,
1299
+ floorId: t
1300
+ }) {
1301
+ return a.get(
1302
+ `${l()}data/projects/360/${e}/${r}/${t}/pins.json`,
1303
+ i
1304
+ );
1305
+ },
1306
+ updatePins({
1307
+ projectId: e,
1308
+ dateId: r,
1309
+ floorId: t,
1310
+ pins: o
1311
+ }) {
1312
+ return a.put(
1313
+ `${l()}data/projects/360/${e}/${r}/${t}/pins.json`,
1314
+ o,
1315
+ i
1316
+ );
1317
+ },
1318
+ getGPXText(e) {
1319
+ return e ? a.get(e.replace(/token=\s*/, "token="), {
1320
+ ...i,
1321
+ responseType: "text"
1322
+ }) : Promise.resolve("");
1323
+ },
1324
+ updateRoute(e, r, t, o) {
1325
+ return a.patch(
1326
+ `${l()}data/projects/360/${e}/${r}/${t}/route.json`,
1327
+ o,
1328
+ i
1329
+ );
1330
+ },
1331
+ async updateFeatureFlag(e, r, t, o, s) {
1332
+ return a.put(
1333
+ `${l()}data/projects/360/${e}/${r}/${t}/${o}.json`,
1334
+ s,
935
1335
  {
936
- method: "PUT",
937
- body: JSON.stringify(s)
1336
+ ...i,
1337
+ transformRequest: [(g) => JSON.stringify(g)]
938
1338
  }
939
- ).then((i) => i.json());
1339
+ );
1340
+ },
1341
+ async saveSteps(e, r, t, o) {
1342
+ return a.put(
1343
+ `${l()}data/projects/360/${e}/${r}/${t}/steps.json`,
1344
+ o,
1345
+ i
1346
+ );
940
1347
  },
941
- updateGPXFile(e, r, t, s) {
942
- const i = new Blob([s], { type: "application/gpx+xml" }), n = new FormData();
943
- return n.append("gpxFile", i, "updated-track.gpx"), fetch(
944
- `${_t() + encodeURIComponent("/" + e + "/") + r + encodeURIComponent("/" + t + "/route/track.gpx")}?alt=media&token=${Dt()}`,
1348
+ updateGPXFile(e, r, t, o) {
1349
+ const s = new Blob([o], { type: "application/gpx+xml" }), g = new FormData();
1350
+ return g.append("gpxFile", s, "updated-track.gpx"), a.post(
1351
+ `${lo() + encodeURIComponent("/" + e + "/") + r + encodeURIComponent("/" + t + "/route/track.gpx")}?alt=media&token=${go()}`,
1352
+ g,
945
1353
  {
946
- method: "POST",
947
- body: n
1354
+ ...i,
1355
+ headers: { "Content-Type": "multipart/form-data" }
948
1356
  }
949
1357
  );
1358
+ },
1359
+ getProjectDates(e) {
1360
+ return a.get(
1361
+ `${l()}data/projects/360/${e}/dates.json`,
1362
+ i
1363
+ );
1364
+ },
1365
+ getProjectAerialShotsDates(e) {
1366
+ return a.get(
1367
+ `${l()}data/projects/360/${e}/aerial-shots/dates.json`,
1368
+ i
1369
+ );
1370
+ },
1371
+ getProjectDateFloors({
1372
+ projectId: e,
1373
+ dateId: r
1374
+ }) {
1375
+ return a.get(
1376
+ `${l()}data/projects/360/${e}/${r}.json`,
1377
+ i
1378
+ );
950
1379
  }
951
1380
  },
952
1381
  forge: {
953
- async getProjectInfo(e) {
954
- return fetch(
955
- `${b()}data/projects/forge/${e}.json`
956
- ).then((r) => r.json());
1382
+ getAccessToken() {
1383
+ return a.get(mo(), i);
1384
+ },
1385
+ getProjectInfo(e) {
1386
+ return a.get(
1387
+ `${l()}data/projects/forge/${e}.json`,
1388
+ i
1389
+ );
1390
+ },
1391
+ saveSavedView(e, r) {
1392
+ return a.put(
1393
+ `${l()}data/projects/forge/${e}/savedView.json`,
1394
+ r,
1395
+ i
1396
+ );
1397
+ },
1398
+ saveMarkers(e, r) {
1399
+ return a.put(
1400
+ `${l()}data/projects/forge/${e}/markers.json`,
1401
+ r,
1402
+ i
1403
+ );
1404
+ }
1405
+ },
1406
+ itwin: {
1407
+ getProjectInfo(e) {
1408
+ return a.get(
1409
+ `${l()}data/projects/itwin/${e}.json`,
1410
+ i
1411
+ );
1412
+ },
1413
+ clearBimCompare(e) {
1414
+ return a.delete(
1415
+ `${l()}data/projects/itwin/${e}/bim-compare.json`,
1416
+ i
1417
+ );
1418
+ },
1419
+ clearSiteView(e, r) {
1420
+ return a.delete(
1421
+ `${l()}data/projects/itwin/${e}/models/${r}/site-view.json`,
1422
+ i
1423
+ );
1424
+ }
1425
+ },
1426
+ siteView: {
1427
+ getCamerasList() {
1428
+ return a.get(
1429
+ `${l()}data/cameras-list.json`,
1430
+ i
1431
+ );
1432
+ },
1433
+ updateCamerasList(e) {
1434
+ return a.put(
1435
+ `${l()}data/cameras-list.json`,
1436
+ e,
1437
+ i
1438
+ );
1439
+ },
1440
+ updateCamerasListItem(e, r) {
1441
+ return a.put(
1442
+ `${l()}data/cameras-list/${e}.json`,
1443
+ r,
1444
+ i
1445
+ );
1446
+ },
1447
+ updateProjectData({
1448
+ viewerType: e,
1449
+ projectId: r,
1450
+ data: t
1451
+ }) {
1452
+ const o = e.toLowerCase();
1453
+ return a.patch(
1454
+ `${l()}data/projects/${o}/${r}.json`,
1455
+ t,
1456
+ i
1457
+ );
1458
+ },
1459
+ deleteProjectData(e, r) {
1460
+ const t = e.toLowerCase();
1461
+ return a.delete(
1462
+ `${l()}data/projects/${t}/${r}.json`,
1463
+ i
1464
+ );
1465
+ },
1466
+ readAllData(e) {
1467
+ return a.get(`${e}data.json`, i);
1468
+ },
1469
+ writeAllData(e, r) {
1470
+ return a.put(`${e}data.json`, r, i);
1471
+ }
1472
+ },
1473
+ map: {
1474
+ getMapViews(e) {
1475
+ return a.get(
1476
+ `${l()}data/projects/maps/${e}.json`,
1477
+ i
1478
+ );
1479
+ },
1480
+ updateMapViews(e, r) {
1481
+ return a.put(
1482
+ `${l()}data/projects/maps/${e}.json`,
1483
+ r,
1484
+ i
1485
+ );
1486
+ }
1487
+ },
1488
+ safety: {
1489
+ getTPulseLink(e) {
1490
+ return a.get(
1491
+ `${l()}data/projects/safety/${e}.json`,
1492
+ i
1493
+ );
1494
+ },
1495
+ updateTPulseLink(e, r) {
1496
+ return a.put(
1497
+ `${l()}data/projects/safety/${e}.json`,
1498
+ { link: r },
1499
+ i
1500
+ );
1501
+ }
1502
+ },
1503
+ planner: {
1504
+ getPlannerList() {
1505
+ return a.get(`${l()}data/planner-list.json`, {
1506
+ ...i
1507
+ });
1508
+ },
1509
+ getPlannerItem(e) {
1510
+ return a.get(
1511
+ `${l()}data/planner-list/${e}.json`,
1512
+ i
1513
+ );
1514
+ },
1515
+ saveSitePlanMetaData(e, r) {
1516
+ return a.put(
1517
+ `${l()}data/planner-list/${e}.json`,
1518
+ r,
1519
+ i
1520
+ );
1521
+ },
1522
+ getSitePlan(e) {
1523
+ return a.get(
1524
+ `${l()}data/projects/planner/${e}.json`,
1525
+ i
1526
+ );
1527
+ },
1528
+ saveSitePlan(e, r) {
1529
+ return a.put(
1530
+ `${l()}data/projects/planner/${e}.json`,
1531
+ r,
1532
+ i
1533
+ );
957
1534
  }
958
1535
  }
959
- }, g = (e = {}, { forceSnakeCase: r = !0, forceArrayBrackets: t = !1 } = {}) => {
1536
+ }, u = (e = {}, { forceSnakeCase: r = !0, forceArrayBrackets: t = !1 } = {}) => {
960
1537
  if (Object.keys(e).length === 0)
961
1538
  return;
962
- let s = { ...e };
963
- return r && (s = f.decamelizeKeys(e)), Object.entries(s).reduce((i, [n, l], p) => {
964
- let T = "";
965
- return ["", null, void 0].includes(l) || Array.isArray(l) && l.length === 0 ? i : (l && typeof l == "object" ? T = Object.entries(l).reduce((U, [P, _], D) => {
966
- let k = n;
967
- return isNaN(Number.parseInt(P)) ? k = `${n}[${P}]` : Array.isArray(l) && t && (k = `${n}[]`), `${U}${D > 0 ? "&" : ""}${k}=${encodeURIComponent(_)}`;
968
- }, "") : T = `${n}=${encodeURIComponent(
969
- l
970
- )}`, `${i}${p > 0 ? "&" : ""}${T}`);
1539
+ let o = { ...e };
1540
+ return r && (o = P.decamelizeKeys(e)), Object.entries(o).reduce((s, [g, m], d) => {
1541
+ let h = "";
1542
+ return ["", null, void 0].includes(m) || Array.isArray(m) && m.length === 0 ? s : (m && typeof m == "object" ? h = Object.entries(m).reduce((M, [D, U], j) => {
1543
+ let f = g;
1544
+ return isNaN(Number.parseInt(D)) ? f = `${g}[${D}]` : Array.isArray(m) && t && (f = `${g}[]`), `${M}${j > 0 ? "&" : ""}${f}=${encodeURIComponent(U)}`;
1545
+ }, "") : h = `${g}=${encodeURIComponent(
1546
+ m
1547
+ )}`, `${s}${d > 0 ? "&" : ""}${h}`);
971
1548
  }, "");
972
1549
  };
973
- function Bt(e = "") {
1550
+ function po(e = "") {
974
1551
  return [
975
1552
  ...new URLSearchParams(
976
1553
  e.indexOf("#") > -1 ? e.split("#")[0] : e
977
1554
  ).entries()
978
- ].filter(([, t]) => t).reduce((t, [s, i]) => (e.match(new RegExp(`(?:^|[?&])${s}=`, "g")) || []).length <= 1 ? { ...t, [s]: i } : t[s] ? {
1555
+ ].filter(([, t]) => t).reduce((t, [o, s]) => (e.match(new RegExp(`(?:^|[?&])${o}=`, "g")) || []).length <= 1 ? { ...t, [o]: s } : t[o] ? {
979
1556
  ...t,
980
- [s]: [...t[s], i]
981
- } : { ...t, [s]: [i] }, {});
1557
+ [o]: [...t[o], s]
1558
+ } : { ...t, [o]: [s] }, {});
982
1559
  }
983
- const o = () => a.env.aiApiUrl, Wt = {
984
- analyticsParameters: {
985
- getParameters(e, r = {}) {
986
- return a.get(
987
- `${o()}/cameras/${e}/analytics-parameters`,
988
- {
989
- params: r
990
- }
991
- );
992
- },
993
- createParameters(e) {
994
- return a.post(`${o()}/cameras/analytics-parameters`, e);
995
- },
996
- updateParameters({
997
- updatedBy: e,
998
- id: r,
999
- ...t
1000
- }) {
1001
- return a.patch(
1002
- `${o()}/cameras/analytics-parameters/${r}?${g({
1003
- updatedBy: e
1004
- })}`,
1005
- t
1006
- );
1007
- }
1008
- },
1560
+ const L = () => a.env.aiApiUrl, n = () => `${a.env.aiApiUrl}/v2`, Bo = {
1009
1561
  anpr: {
1010
1562
  exportAnprLegacyEvents(e, r) {
1011
1563
  return a({
1012
- url: `${o()}/projects/${e}/anpr/export?${g(
1564
+ url: `${L()}/projects/${e}/anpr/export?${u(
1013
1565
  r
1014
1566
  )}`,
1015
1567
  method: "GET",
@@ -1018,7 +1570,7 @@ const o = () => a.env.aiApiUrl, Wt = {
1018
1570
  },
1019
1571
  getAnprEvents(e, r, t = {}) {
1020
1572
  return a.get(
1021
- `${o()}/projects/${e}/anpr?${g(
1573
+ `${n()}/projects/${e}/anpr?${u(
1022
1574
  r
1023
1575
  )}`,
1024
1576
  t
@@ -1026,28 +1578,21 @@ const o = () => a.env.aiApiUrl, Wt = {
1026
1578
  },
1027
1579
  getAnprCounts(e, r, t) {
1028
1580
  return a.get(
1029
- `${o()}/projects/${e}/anpr/counts?${g(
1581
+ `${n()}/projects/${e}/anpr/counts?${u(
1030
1582
  r
1031
1583
  )}`,
1032
1584
  t
1033
1585
  );
1034
1586
  },
1035
1587
  updateAnprEvent(e, r) {
1036
- return a.patch(`${o()}/projects/anpr/${e}`, {
1037
- ...r
1038
- });
1588
+ return a.patch(`${n()}/anpr/${e}`, r);
1039
1589
  },
1040
- bulkUpdateAnprRecords(e, r) {
1041
- return a.patch(
1042
- `${o()}/projects/anpr/update/status?${g({
1043
- anprEventsIds: e,
1044
- action: r
1045
- })}`
1046
- );
1590
+ bulkUpdateAnprRecords(e) {
1591
+ return a.patch(`${n()}/anpr/status`, e);
1047
1592
  },
1048
1593
  exportAnprEvents(e, r) {
1049
1594
  return a({
1050
- url: `${o()}/projects/${e}/anpr/events/export?${g(
1595
+ url: `${n()}/projects/${e}/anpr/events/export?${u(
1051
1596
  r
1052
1597
  )}`,
1053
1598
  method: "GET",
@@ -1056,25 +1601,9 @@ const o = () => a.env.aiApiUrl, Wt = {
1056
1601
  }
1057
1602
  },
1058
1603
  gateReport: {
1059
- getLastVerified(e) {
1060
- return a.get(
1061
- `${o()}/projects/gate-report/last-verified`,
1062
- e
1063
- );
1064
- },
1065
- deleteEvent(e, r) {
1066
- return a.delete(
1067
- `${o()}/projects/events/${e}?${g(r)}`
1068
- );
1069
- },
1070
- dismissEvents(e) {
1071
- return a.delete(
1072
- `${o()}/projects/events?${g(e)}`
1073
- );
1074
- },
1075
1604
  exportEvents(e, r) {
1076
1605
  return a({
1077
- url: `${o()}/projects/${e}/gate-report/events/export?${g(
1606
+ url: `${n()}/projects/${e}/gate-report/events/export?${u(
1078
1607
  r
1079
1608
  )}`,
1080
1609
  method: "GET",
@@ -1083,14 +1612,14 @@ const o = () => a.env.aiApiUrl, Wt = {
1083
1612
  },
1084
1613
  exportEventsProgress(e, r) {
1085
1614
  return a.get(
1086
- `${o()}/projects/${e}/gate-report/events/export/progress?${g(
1615
+ `${L()}/projects/${e}/gate-report/events/export/progress?${u(
1087
1616
  r
1088
1617
  )}`
1089
1618
  );
1090
1619
  },
1091
1620
  generateAnprThumbnail(e, r) {
1092
1621
  return a.post(
1093
- `${o()}/cameras/${e}/anpr/${r}/snapshot/generate`,
1622
+ `${n()}/cameras/${e}/anpr/${r}/snapshot/generate`,
1094
1623
  {},
1095
1624
  {
1096
1625
  headers: {
@@ -1099,84 +1628,29 @@ const o = () => a.env.aiApiUrl, Wt = {
1099
1628
  }
1100
1629
  );
1101
1630
  },
1102
- getAllEvents(e, r, t) {
1103
- return r.vehicleTypes || (r.vehicleTypes = V), r.truckTypes || (r.vehicleTypes = V), r.camerasExid || (r.camerasExid = r.cameras), a.get(
1104
- `${o()}/projects/${e}/events?${g(
1105
- r
1106
- )}`,
1107
- t
1108
- );
1109
- },
1110
- getEventCounts(e, r = {}, t) {
1111
- return r.vehicleTypes || (r.vehicleTypes = V), a.get(
1112
- `${o()}/projects/${e}/project-stats?${g(
1113
- r
1114
- )}`,
1115
- {
1116
- ...t || {}
1117
- }
1118
- );
1119
- },
1120
1631
  getVerifiedDays(e, r, t = {}) {
1121
1632
  return a.get(
1122
- `${o()}/projects/${e}/gate-report/verified-days?${g(
1633
+ `${n()}/projects/${e}/gate-report/verified-days?${u(
1123
1634
  r
1124
1635
  )}`,
1125
1636
  t
1126
1637
  );
1127
1638
  },
1128
- updateEventById(e, {
1129
- updatedBy: r,
1130
- payload: t
1131
- }) {
1132
- return a.patch(
1133
- `${o()}/projects/events/${e}?${g({
1134
- updatedBy: r
1135
- })}`,
1136
- t
1137
- );
1138
- },
1139
1639
  verifyDay(e) {
1140
1640
  return a.post(
1141
- `${o()}/projects/gate-report/verified-days`,
1641
+ `${n()}/projects/gate-report/verified-days`,
1142
1642
  e
1143
1643
  );
1144
1644
  },
1145
- regenerateThumbnail(e, r) {
1146
- return a.put(
1147
- `${o()}/projects/gate-report/event-thumbnail/render/${e}?${g(
1148
- r
1149
- )}`,
1150
- {
1151
- method: "PUT"
1152
- }
1153
- );
1154
- },
1155
1645
  getDailyStatus(e, r = {}) {
1156
1646
  return a.get(
1157
- `${o()}/projects/${e}/processed-days`,
1647
+ `${n()}/projects/${e}/gate-report/processed-days`,
1158
1648
  { params: r }
1159
1649
  );
1160
1650
  },
1161
- getEventThumbnail({
1162
- cameraExid: e,
1163
- eventType: r,
1164
- eventTime: t,
1165
- token: s
1166
- }) {
1167
- return `${o()}/cameras/${e}/gate-report/${r}/${t}/thumbnail?authorization=${s}`;
1168
- },
1169
- getEventSnapshot({
1170
- cameraExid: e,
1171
- eventType: r,
1172
- eventTime: t,
1173
- token: s
1174
- }) {
1175
- return `${o()}/cameras/${e}/gate-report/${r}/${t}/snapshot?authorization=${s}`;
1176
- },
1177
1651
  getEvents(e, r, t = {}) {
1178
1652
  return a.get(
1179
- `${o()}/projects/${e}/gate-report/events?${g(
1653
+ `${n()}/projects/${e}/gate-report/events?${u(
1180
1654
  r
1181
1655
  )}`,
1182
1656
  t
@@ -1184,72 +1658,63 @@ const o = () => a.env.aiApiUrl, Wt = {
1184
1658
  },
1185
1659
  getCounts(e, r = {}, t = {}) {
1186
1660
  return a.get(
1187
- `${o()}/projects/${e}/gate-report/counts?${g(
1661
+ `${n()}/projects/${e}/gate-report/counts?${u(
1188
1662
  r
1189
1663
  )}`,
1190
1664
  t
1191
1665
  );
1192
1666
  },
1193
- getGateReportApplications(e, r) {
1194
- return a.get(
1195
- `${o()}/projects/${e}/cameras/${r}/gate-report/apps`
1196
- );
1197
- },
1198
1667
  getGateReportProjectsInfos(e) {
1199
- return a.get(
1200
- `${o()}/projects/gate-report/get-projects-info`,
1201
- e
1202
- );
1668
+ return a.get(`${n()}/projects/gate-report/info`, e);
1203
1669
  }
1204
1670
  },
1205
1671
  brainTool: {
1206
1672
  getObjectDetectionsResults(e = {}) {
1207
- return a.post(`${o()}/ai-models/object-detection`, e);
1208
- },
1209
- getSegments(e = {}) {
1210
- return a.post(`${o()}/ai-models/segment`, e);
1673
+ return a.post(
1674
+ `${n()}/ai-models/object-detection`,
1675
+ e
1676
+ );
1211
1677
  }
1212
1678
  },
1213
1679
  roi: {
1214
1680
  getROIs(e, r = {}) {
1215
1681
  return a.get(
1216
- `${o()}/projects/${e}/rois?${g(r)}`
1682
+ `${n()}/projects/${e}/rois?${u(
1683
+ r
1684
+ )}`
1217
1685
  );
1218
1686
  },
1687
+ listROIs(e = {}) {
1688
+ return a.get(`${n()}/rois?${u(e)}`);
1689
+ },
1219
1690
  createROI(e) {
1220
- return a.post(`${o()}/projects/rois`, e);
1691
+ return a.post(`${n()}/rois`, e);
1221
1692
  },
1222
1693
  updateROI({
1223
1694
  updatedBy: e,
1224
- roi: r
1695
+ id: r,
1696
+ ...t
1225
1697
  }) {
1226
1698
  return a.patch(
1227
- `${o()}/projects/rois/${r.id}?${g({
1699
+ `${n()}/rois/${r}?${u({
1228
1700
  updatedBy: e
1229
1701
  })}`,
1230
- r
1702
+ t
1231
1703
  );
1232
1704
  },
1233
1705
  deleteROI({ id: e, updatedBy: r }) {
1234
1706
  return a.patch(
1235
- `${o()}/projects/rois/${e}?${g({
1707
+ `${n()}/rois/${e}?${u({
1236
1708
  updatedBy: r
1237
1709
  })}`,
1238
- { isactive: !1, note: "delete roi" }
1710
+ { isActive: !1, note: "delete roi" }
1239
1711
  );
1240
1712
  }
1241
1713
  },
1242
1714
  detections: {
1243
- async getDetections({ projectExid: e, ...r }) {
1244
- return a.get(
1245
- `${o()}/projects/${e}/detections?${g(
1246
- r
1247
- )}`
1248
- );
1249
- },
1250
1715
  async getDetectionsCounts({ projectExid: e, ...r }, t = {}) {
1251
1716
  return a.get(
1252
- `${o()}/projects/${e}/detections/counts?${g(
1717
+ `${n()}/projects/${e}/trackings/counts?${u(
1253
1718
  r
1254
1719
  )}`,
1255
1720
  t
@@ -1257,7 +1722,7 @@ const o = () => a.env.aiApiUrl, Wt = {
1257
1722
  },
1258
1723
  async getDetectionsByTimestamp({ projectExid: e, ...r }, t = {}) {
1259
1724
  return a.get(
1260
- `${o()}/projects/${e}/detections/timestamps?${g(
1725
+ `${n()}/projects/${e}/trackings/timestamps?${u(
1261
1726
  r
1262
1727
  )}`,
1263
1728
  t
@@ -1269,7 +1734,7 @@ const o = () => a.env.aiApiUrl, Wt = {
1269
1734
  ...t
1270
1735
  }) {
1271
1736
  return a.get(
1272
- `${o()}/cameras/${e}/segments/appearance-from-points`,
1737
+ `${n()}/cameras/${e}/segments/appearance-from-points`,
1273
1738
  {
1274
1739
  params: {
1275
1740
  cameraExid: e,
@@ -1279,27 +1744,37 @@ const o = () => a.env.aiApiUrl, Wt = {
1279
1744
  }
1280
1745
  );
1281
1746
  },
1282
- async getDetectionsTracking(e, r) {
1747
+ async getGroupedTrackings(e, r) {
1283
1748
  return a.get(
1284
- `${o()}/projects/${e}/detections/trackings?${g(
1749
+ `${n()}/projects/${e}/trackings/grouped?${u(
1285
1750
  r
1286
1751
  )}`
1287
1752
  );
1288
1753
  },
1289
1754
  async getSegmentsMasks(e, r) {
1290
1755
  return a.get(
1291
- `${o()}/cameras/${e}/segments/masks`,
1756
+ `${n()}/cameras/${e}/segments/masks`,
1292
1757
  {
1293
1758
  params: r
1294
1759
  }
1295
1760
  );
1296
1761
  },
1762
+ async getSegmentsPresenceDateIntervals({
1763
+ cameraExid: e,
1764
+ ...r
1765
+ }) {
1766
+ return a.get(
1767
+ `${n()}/cameras/${e}/segments/presence-intervals?${u(
1768
+ r
1769
+ )}`
1770
+ );
1771
+ },
1297
1772
  async getDetectionsPresenceDateIntervals({
1298
1773
  projectExid: e,
1299
1774
  ...r
1300
1775
  }) {
1301
1776
  return a.get(
1302
- `${o()}/projects/${e}/detections/presence-intervals?${g(
1777
+ `${n()}/projects/${e}/trackings/presence-intervals?${u(
1303
1778
  r
1304
1779
  )}`
1305
1780
  );
@@ -1309,7 +1784,7 @@ const o = () => a.env.aiApiUrl, Wt = {
1309
1784
  ...r
1310
1785
  }) {
1311
1786
  return a.get(
1312
- `${o()}/projects/${e}/detections/timestamps/export?${g(
1787
+ `${n()}/projects/${e}/detections/timestamps/export?${u(
1313
1788
  r
1314
1789
  )}`,
1315
1790
  { responseType: "blob" }
@@ -1317,105 +1792,134 @@ const o = () => a.env.aiApiUrl, Wt = {
1317
1792
  }
1318
1793
  },
1319
1794
  siteAnalytics: {
1320
- smartSearch({
1321
- cameraExid: e,
1322
- payload: r,
1323
- fromDate: t,
1324
- toDate: s,
1325
- page: i = 1,
1326
- pageSize: n = 20
1327
- }) {
1328
- let l = `${o()}/cameras/${e}/advanced_search?page=${i}&page_size=${n}`;
1329
- return t && s && (l += `&from_date=${t}&to_date=${s}`), a.post(l, r);
1795
+ smartSearchAll(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/all?${u(
1802
+ s
1803
+ )}`;
1804
+ return a.post(g, t);
1805
+ },
1806
+ smartSearchFirstLastSeen(e, r) {
1807
+ const { payload: t, ...o } = r, s = {
1808
+ page: 1,
1809
+ limit: 20,
1810
+ ...o
1811
+ };
1812
+ let g = `${n()}/projects/${e}/smart-search/first-last-seen?${u(
1813
+ s
1814
+ )}`;
1815
+ return a.post(g, t);
1330
1816
  },
1331
- saveQuery(e) {
1817
+ saveQuery({
1818
+ projectExid: e,
1819
+ cameraExid: r,
1820
+ payload: t
1821
+ }) {
1332
1822
  return a.post(
1333
- `${o()}/cameras/${e.cameraExid}/advanced_search/queries`,
1334
- e
1823
+ `${n()}/projects/${e}/cameras/${r}/smart-search/queries`,
1824
+ t
1335
1825
  );
1336
1826
  },
1337
1827
  getQueries(e, r) {
1338
1828
  return a.get(
1339
- `${o()}/cameras/${e}/advanced_search/queries`,
1340
- {
1341
- params: r
1342
- }
1829
+ `${n()}/projects/${e}/smart-search/queries?${u(
1830
+ r
1831
+ )}`
1343
1832
  );
1344
1833
  },
1345
- getQueryById(e, r) {
1834
+ getQueryById(e, r, t) {
1346
1835
  return a.get(
1347
- `${o()}/cameras/${e}/advanced_search/queries/${r}`
1836
+ `${n()}/projects/${e}/smart-search/queries/${t}?${u(
1837
+ { cameraExid: r }
1838
+ )}`
1348
1839
  );
1349
1840
  },
1350
- updateQuery(e, r, t) {
1351
- return a.put(
1352
- `${o()}/cameras/${e}/advanced_search/queries/${r}`,
1353
- t
1841
+ updateQuery({
1842
+ projectExid: e,
1843
+ cameraExid: r,
1844
+ queryId: t,
1845
+ payload: o
1846
+ }) {
1847
+ return a.patch(
1848
+ `${n()}/projects/${e}/cameras/${r}/smart-search/queries/${t}`,
1849
+ o
1354
1850
  );
1355
1851
  },
1356
- deleteQuery(e, r) {
1852
+ deleteQuery({
1853
+ projectExid: e,
1854
+ cameraExid: r,
1855
+ queryId: t
1856
+ }) {
1357
1857
  return a.delete(
1358
- `${o()}/cameras/${e}/advanced_search/queries/${r}`,
1858
+ `${n()}/projects/${e}/cameras/${r}/smart-search/queries/${t}`,
1359
1859
  {}
1360
1860
  );
1361
1861
  },
1362
- getProcessedTimes({
1862
+ exportResultsData({
1363
1863
  projectExid: e,
1364
1864
  cameraExids: r,
1365
- granularity: t = "day",
1366
- endDate: s,
1367
- startDate: i
1368
- }) {
1369
- return a.get(
1370
- `${o()}/projects/${e}/processed_times`,
1371
- {
1372
- params: {
1373
- camera_exids: r,
1374
- granularity: t,
1375
- start_date: i,
1376
- end_date: s
1377
- },
1378
- preserveCasing: !0
1379
- }
1380
- );
1381
- },
1382
- exportResultsData({
1383
- cameraExid: e,
1384
- fromDate: r,
1385
- toDate: t,
1865
+ fromDate: t,
1866
+ toDate: o,
1386
1867
  query: s,
1387
- fileType: i = Z.Csv,
1388
- directDownload: n = !0,
1389
- payload: l
1868
+ fileType: g = X.Csv,
1869
+ directDownload: m = !0,
1870
+ payload: d,
1871
+ limit: h,
1872
+ page: M
1390
1873
  }) {
1391
1874
  return a.post(
1392
- `${o()}/cameras/${e}/advanced_search/export`,
1393
- l,
1394
- {
1395
- responseType: "blob",
1396
- params: {
1397
- fromDate: r,
1398
- toDate: t,
1875
+ `${n()}/projects/${e}/smart-search/export?${u(
1876
+ {
1877
+ cameraExids: r,
1878
+ fromDate: t,
1879
+ toDate: o,
1399
1880
  query: s,
1400
- fileType: i,
1401
- directDownload: n
1881
+ fileType: g,
1882
+ directDownload: m,
1883
+ limit: h,
1884
+ page: M
1402
1885
  }
1886
+ )}`,
1887
+ d,
1888
+ {
1889
+ responseType: "blob"
1403
1890
  }
1404
1891
  );
1892
+ },
1893
+ getDetectionsHeatmapData(e, r) {
1894
+ return a.get(
1895
+ `${n()}/projects/${e}/smart-search/heatmap?${u(
1896
+ r
1897
+ )}`,
1898
+ {}
1899
+ );
1405
1900
  }
1406
1901
  },
1407
1902
  coolify: {
1408
1903
  getCoolifyServers() {
1409
- return a.get(`${o()}/coolify/servers`);
1904
+ return a.get(`${n()}/coolify/servers`);
1410
1905
  },
1411
- createAppOnCoolify(e) {
1906
+ createAppOnCoolify({
1907
+ projectExid: e,
1908
+ cameraExid: r,
1909
+ payload: t
1910
+ }) {
1412
1911
  return a.post(
1413
- `${o()}/projects/cameras/${e.cameraExid}/anpr/create_app?${g(e)}`
1912
+ `${n()}/projects/${e}/cameras/${r}/anpr/apps`,
1913
+ t
1414
1914
  );
1415
1915
  },
1416
- saveAppOnCoolify(e, r, t) {
1916
+ registerCoolifyApp({
1917
+ projectExid: e,
1918
+ cameraExid: r,
1919
+ payload: t
1920
+ }) {
1417
1921
  return a.post(
1418
- `${o()}/projects/${e}/cameras/${r}/gate_report/apps`,
1922
+ `${n()}/projects/${e}/cameras/${r}/gate-report/apps`,
1419
1923
  t
1420
1924
  );
1421
1925
  },
@@ -1423,11 +1927,11 @@ const o = () => a.env.aiApiUrl, Wt = {
1423
1927
  appUuid: e,
1424
1928
  appId: r,
1425
1929
  payload: t,
1426
- cameraExid: s,
1427
- projectExid: i
1930
+ cameraExid: o,
1931
+ projectExid: s
1428
1932
  }) {
1429
1933
  return a.patch(
1430
- `${o()}/projects/${i}/cameras/${s}/gate_report/apps/${r}?app_uuid=${e}`,
1934
+ `${n()}/projects/${s}/cameras/${o}/gate-report/apps/${r}?app_uuid=${e}`,
1431
1935
  t
1432
1936
  );
1433
1937
  },
@@ -1435,37 +1939,128 @@ const o = () => a.env.aiApiUrl, Wt = {
1435
1939
  appUuid: e,
1436
1940
  appId: r,
1437
1941
  cameraExid: t,
1438
- projectExid: s
1942
+ projectExid: o
1439
1943
  }) {
1440
1944
  return a.delete(
1441
- `${o()}/projects/${s}/cameras/${t}/gate_report/apps/${r}?app_uuid=${e}`
1945
+ `${n()}/projects/${o}/cameras/${t}/gate-report/apps/${r}?app_uuid=${e}`
1442
1946
  );
1443
1947
  },
1444
1948
  startService(e) {
1445
- return a.post(`${o()}/coolify/services/${e}/start`);
1949
+ return a.post(
1950
+ `${n()}/coolify/services/${e}/start`
1951
+ );
1446
1952
  },
1447
1953
  pauseService(e) {
1448
- return a.post(`${o()}/coolify/services/${e}/stop`);
1954
+ return a.post(`${n()}/coolify/services/${e}/stop`);
1449
1955
  },
1450
1956
  restartService(e) {
1451
1957
  return a.post(
1452
- `${o()}/coolify/services/${e}/restart`
1958
+ `${n()}/coolify/services/${e}/restart`
1453
1959
  );
1454
1960
  }
1455
1961
  },
1456
1962
  fovChanges: {
1457
1963
  getCameraFovChanges(e, r = {}) {
1458
1964
  return a.post(
1459
- `${o()}/cameras/${e}/fov_changes`,
1965
+ `${n()}/cameras/${e}/fov_changes`,
1460
1966
  {},
1461
1967
  r
1462
1968
  );
1463
1969
  }
1970
+ },
1971
+ prompts: {
1972
+ list(e = {}) {
1973
+ return a.get(`${n()}/prompts?${u(e)}`);
1974
+ },
1975
+ get(e) {
1976
+ return a.get(`${n()}/prompts/${e}`);
1977
+ },
1978
+ create(e) {
1979
+ return a.post(`${n()}/prompts`, e);
1980
+ },
1981
+ update(e, r) {
1982
+ return a.patch(`${n()}/prompts/${e}`, r);
1983
+ },
1984
+ delete(e) {
1985
+ return a.delete(`${n()}/prompts/${e}`);
1986
+ }
1987
+ },
1988
+ apiKeys: {
1989
+ list(e = {}) {
1990
+ const r = u(e);
1991
+ return a.get(`${n()}/api-keys${r ? `?${r}` : ""}`);
1992
+ },
1993
+ purposes() {
1994
+ return a.get(`${n()}/api-keys/purposes`);
1995
+ },
1996
+ get(e) {
1997
+ return a.get(`${n()}/api-keys/${e}`);
1998
+ },
1999
+ create(e) {
2000
+ return a.post(`${n()}/api-keys`, e);
2001
+ },
2002
+ update(e, r) {
2003
+ return a.patch(`${n()}/api-keys/${e}`, r);
2004
+ },
2005
+ delete(e, r = !1) {
2006
+ const t = r ? "?revoke=true" : "";
2007
+ return a.delete(`${n()}/api-keys/${e}${t}`);
2008
+ }
2009
+ },
2010
+ gateReportManagement: {
2011
+ listApps(e = {}) {
2012
+ return a.get(
2013
+ `${n()}/gate-report/apps?${u(
2014
+ e
2015
+ )}`
2016
+ );
2017
+ },
2018
+ getApp(e, r) {
2019
+ return a.get(
2020
+ `${n()}/gate-report/apps/${e}/${r}`
2021
+ );
2022
+ },
2023
+ listAppEvents(e) {
2024
+ return a.get(
2025
+ `${n()}/gate-report/apps/last-event-status?${u({
2026
+ projectExid: e
2027
+ })}`
2028
+ );
2029
+ },
2030
+ createApp(e) {
2031
+ return a.post(`${n()}/gate-report/apps`, e);
2032
+ },
2033
+ updateApp(e, r, t) {
2034
+ return a.patch(
2035
+ `${n()}/gate-report/apps/${e}/${r}`,
2036
+ t
2037
+ );
2038
+ },
2039
+ deleteApp(e, r) {
2040
+ return a.delete(
2041
+ `${n()}/gate-report/apps/${e}/${r}`
2042
+ );
2043
+ },
2044
+ setAppState(e, r, t) {
2045
+ return a.patch(
2046
+ `${n()}/gate-report/apps/${e}/${r}/state`,
2047
+ { state: t }
2048
+ );
2049
+ },
2050
+ listCoolifyProjects() {
2051
+ return a.get(`${n()}/gate-report/coolify-projects`);
2052
+ },
2053
+ listCoolifyServers() {
2054
+ return a.get(`${n()}/gate-report/coolify-servers`);
2055
+ },
2056
+ listImageTags() {
2057
+ return a.get(`${n()}/gate-report/image-tags`);
2058
+ }
1464
2059
  }
1465
- }, Lt = {
2060
+ }, Oo = {
1466
2061
  webRtc: {
1467
2062
  requestIceServers({ url: e, token: r }) {
1468
- return $({
2063
+ return w({
1469
2064
  url: e,
1470
2065
  method: "OPTIONS",
1471
2066
  headers: {
@@ -1478,7 +2073,7 @@ const o = () => a.env.aiApiUrl, Wt = {
1478
2073
  token: r,
1479
2074
  data: t
1480
2075
  }) {
1481
- return $({
2076
+ return w({
1482
2077
  url: e,
1483
2078
  method: "POST",
1484
2079
  headers: {
@@ -1492,21 +2087,21 @@ const o = () => a.env.aiApiUrl, Wt = {
1492
2087
  url: e,
1493
2088
  token: r,
1494
2089
  data: t,
1495
- tag: s
2090
+ tag: o
1496
2091
  }) {
1497
- return $({
2092
+ return w({
1498
2093
  url: e,
1499
2094
  method: "PATCH",
1500
2095
  headers: {
1501
2096
  "Content-Type": "application/trickle-ice-sdpfrag",
1502
- "If-Match": s,
2097
+ "If-Match": o,
1503
2098
  Authorization: `Bearer ${r}`
1504
2099
  },
1505
2100
  data: t
1506
2101
  });
1507
2102
  }
1508
2103
  }
1509
- }, Zt = {
2104
+ }, Fo = {
1510
2105
  current(e, r) {
1511
2106
  return a.get(`/projects/${e}/weather/current`, {
1512
2107
  params: r
@@ -1522,25 +2117,23 @@ const o = () => a.env.aiApiUrl, Wt = {
1522
2117
  });
1523
2118
  }
1524
2119
  };
1525
- function c() {
2120
+ function S() {
1526
2121
  var r;
1527
2122
  const e = (r = /labs-(\d+)/g.exec(window.location.href)) == null ? void 0 : r[1];
1528
2123
  return e ? `https://${e}.labs.evercam.io` : a.env.evercamLabsUrl;
1529
2124
  }
1530
- const qt = {
2125
+ const No = {
1531
2126
  posthog: {
1532
2127
  getEvents(e) {
1533
- return a.get(`${c()}/posthog/events`, {
1534
- params: e
1535
- });
2128
+ return a.get(`${S()}/posthog/events`, e);
1536
2129
  },
1537
2130
  getUsers(e) {
1538
- return a.get(`${c()}/posthog/users`, {
2131
+ return a.get(`${S()}/posthog/users`, {
1539
2132
  params: e
1540
2133
  });
1541
2134
  },
1542
2135
  getActiveUsers(e) {
1543
- return a.get(`${c()}/posthog/active-users`, {
2136
+ return a.get(`${S()}/posthog/active-users`, {
1544
2137
  params: e,
1545
2138
  preserveCasing: !0
1546
2139
  });
@@ -1548,14 +2141,14 @@ const qt = {
1548
2141
  },
1549
2142
  copilot: {
1550
2143
  async getAllConversations(e) {
1551
- return a.get(`${c()}/copilot/conversations`, {
2144
+ return a.get(`${S()}/copilot/conversations`, {
1552
2145
  params: e,
1553
2146
  preserveCasing: !0
1554
2147
  });
1555
2148
  },
1556
2149
  async getOneConversation(e) {
1557
2150
  return a.get(
1558
- `${c()}/copilot/conversations/${e}`,
2151
+ `${S()}/copilot/conversations/${e}`,
1559
2152
  {
1560
2153
  preserveCasing: !0
1561
2154
  }
@@ -1563,13 +2156,13 @@ const qt = {
1563
2156
  },
1564
2157
  async getConversationMessages(e, r) {
1565
2158
  return a.get(
1566
- `${c()}/copilot/conversations/${e}/messages`,
2159
+ `${S()}/copilot/conversations/${e}/messages`,
1567
2160
  { params: r, preserveCasing: !0 }
1568
2161
  );
1569
2162
  },
1570
2163
  async getMessageSteps(e) {
1571
2164
  return a.get(
1572
- `${c()}/copilot/conversations/${e.conversationId}/messages/${e.id}/steps`
2165
+ `${S()}/copilot/conversations/${e.conversationId}/messages/${e.id}/steps`
1573
2166
  );
1574
2167
  },
1575
2168
  async submitMessageFeedback({
@@ -1578,7 +2171,7 @@ const qt = {
1578
2171
  ...t
1579
2172
  }) {
1580
2173
  return a.post(
1581
- `${c()}/copilot/conversations/${e}/messages/${r}/feedback`,
2174
+ `${S()}/copilot/conversations/${e}/messages/${r}/feedback`,
1582
2175
  t,
1583
2176
  {
1584
2177
  preserveCasing: !0
@@ -1586,17 +2179,20 @@ const qt = {
1586
2179
  );
1587
2180
  }
1588
2181
  },
1589
- detections: {
1590
- async getSegmentsDateIntervals({
1591
- cameraExid: e,
1592
- fromDate: r,
1593
- toDate: t,
1594
- precision: s
1595
- }) {
2182
+ siteAnalytics: {
2183
+ async getProcessingStatus(e = {}, r = {}) {
2184
+ return a.get(`${S()}/site-analytics/processing-status`, {
2185
+ params: e,
2186
+ ...r,
2187
+ preserveCasing: !0
2188
+ });
2189
+ },
2190
+ async getIntersectionsHeatmapData(e) {
2191
+ const { cameraExid: r, ...t } = e;
1596
2192
  return a.get(
1597
- `${c()}/cameras/${e}/segments/presence-intervals`,
2193
+ `${S()}/site-analytics/cameras/${r}/heatmap/intersections`,
1598
2194
  {
1599
- params: { fromDate: r, toDate: t, precision: s },
2195
+ params: t,
1600
2196
  preserveCasing: !0
1601
2197
  }
1602
2198
  );
@@ -1605,7 +2201,7 @@ const qt = {
1605
2201
  googleCloudStorage: {
1606
2202
  listFiles(e = "") {
1607
2203
  return a.get(
1608
- `${c()}/gc-storage/buckets/evercam-labs/files`,
2204
+ `${S()}/gc-storage/buckets/evercam-labs/files`,
1609
2205
  {
1610
2206
  params: {
1611
2207
  prefix: e
@@ -1616,7 +2212,7 @@ const qt = {
1616
2212
  },
1617
2213
  getSignedUrl(e) {
1618
2214
  return a.get(
1619
- `${c()}/gc-storage/buckets/evercam-labs/files/signed-url`,
2215
+ `${S()}/gc-storage/buckets/evercam-labs/files/signed-url`,
1620
2216
  {
1621
2217
  params: {
1622
2218
  fileName: e
@@ -1629,7 +2225,7 @@ const qt = {
1629
2225
  luminance: {
1630
2226
  getReadings(e) {
1631
2227
  return a.get(
1632
- `${c()}/cameras/${e.cameraExid || "echel-mdqur"}/luminance/readings`,
2228
+ `${S()}/cameras/${e.cameraExid || "echel-mdqur"}/luminance/readings`,
1633
2229
  {
1634
2230
  params: {
1635
2231
  fromDate: e.fromDate,
@@ -1641,8 +2237,8 @@ const qt = {
1641
2237
  }
1642
2238
  },
1643
2239
  kits: {
1644
- getMetrics(e, r, t = q.Last24Hours) {
1645
- return a.get(`${c()}/kits/${e}/metrics`, {
2240
+ getMetrics(e, r, t = Q.Last24Hours) {
2241
+ return a.get(`${S()}/kits/${e}/metrics`, {
1646
2242
  params: {
1647
2243
  metrics: r,
1648
2244
  from: t
@@ -1651,7 +2247,7 @@ const qt = {
1651
2247
  });
1652
2248
  }
1653
2249
  }
1654
- }, Xt = {
2250
+ }, Go = {
1655
2251
  apiStatus: {
1656
2252
  getApiStatus() {
1657
2253
  return a.get("/status");
@@ -1661,6 +2257,9 @@ const qt = {
1661
2257
  signup(e) {
1662
2258
  return a.post("/users", e);
1663
2259
  },
2260
+ zohoAuthUrl(e) {
2261
+ return a.post("/support/zoho-auth-url", e);
2262
+ },
1664
2263
  fetchAccessFeatures(e) {
1665
2264
  return a.get(`/users/${e}/features`);
1666
2265
  },
@@ -1678,7 +2277,7 @@ const qt = {
1678
2277
  return a.get(`/auth/provider/${e}`);
1679
2278
  },
1680
2279
  login(e) {
1681
- return a.post("/auth/login", g(e));
2280
+ return a.post("/auth/login", u(e));
1682
2281
  },
1683
2282
  loginWithApiCredentials(e, r) {
1684
2283
  return a.post(`/auth/login?api_id=${e}&api_key=${r}`);
@@ -1712,15 +2311,13 @@ const qt = {
1712
2311
  confirm(e, r) {
1713
2312
  return a.post(`/users/${e}/confirm`, r);
1714
2313
  },
1715
- deleteActiveSession(e, r = {}) {
2314
+ deleteActiveSession(e, r) {
1716
2315
  return a.delete(`/users/active-sessions/${e}`, {
1717
2316
  params: r
1718
2317
  });
1719
2318
  },
1720
2319
  getActiveSessions(e) {
1721
- return a.get("/users/active-sessions", {
1722
- params: e
1723
- });
2320
+ return a.get("/users/active-sessions", e);
1724
2321
  },
1725
2322
  update(e, r = {}) {
1726
2323
  return a.patch(`/users/${e}`, r);
@@ -1730,24 +2327,27 @@ const qt = {
1730
2327
  },
1731
2328
  fetchPermissions() {
1732
2329
  return a.get("/users/permissions");
2330
+ },
2331
+ getProjectContacts(e) {
2332
+ return a.get(`/projects/${e}/contacts`);
1733
2333
  }
1734
2334
  },
1735
2335
  notifications: {
1736
2336
  get() {
1737
2337
  return a.get("/notifications");
1738
2338
  },
1739
- markAllAsRead(e) {
1740
- return a.patch(`/notifications/${e}`);
1741
- },
1742
- markAsRead() {
2339
+ markAllAsRead() {
1743
2340
  return a.post("/notifications/mark-as-read");
2341
+ },
2342
+ markAsRead(e) {
2343
+ return a.patch(`/notifications/${e}`);
1744
2344
  }
1745
2345
  },
1746
2346
  bim: {
1747
- getBimSnapshot(e, r, t, s) {
2347
+ getBimSnapshot(e, r, t, o) {
1748
2348
  return a.get(`/cameras/${e}/bim/${r}`, {
1749
2349
  params: t,
1750
- ...s || {}
2350
+ ...o || {}
1751
2351
  });
1752
2352
  },
1753
2353
  getBimModel(e, r, t) {
@@ -1785,7 +2385,7 @@ const qt = {
1785
2385
  return a.get("/cameras", { params: e, ...e.config });
1786
2386
  },
1787
2387
  getCameraById(e, r) {
1788
- return a.get(`/cameras/${e}?${g(r)}`);
2388
+ return a.get(`/cameras/${e}?${u(r)}`);
1789
2389
  },
1790
2390
  getCameraLastPublicNote(e) {
1791
2391
  return a.get(`/cameras/${e}/last-public-note`);
@@ -1797,7 +2397,7 @@ const qt = {
1797
2397
  return fetch(
1798
2398
  `${a.env.baseUrl}/cameras/${e}/hls?authorization=${r}`
1799
2399
  ).then(
1800
- ({ url: t }) => Bt(t.split("?")[1] || "").access_token
2400
+ ({ url: t }) => po(t.split("?")[1] || "").access_token
1801
2401
  );
1802
2402
  },
1803
2403
  getCameraStatusLogs(e, r) {
@@ -1811,8 +2411,11 @@ const qt = {
1811
2411
  index({
1812
2412
  params: e,
1813
2413
  config: r
1814
- }) {
1815
- return a.get(`/projects?${g(e)}`, r);
2414
+ } = { params: {}, config: {} }) {
2415
+ return a.get(`/projects?${u(e)}`, r);
2416
+ },
2417
+ create(e) {
2418
+ return a.post("/projects", e);
1816
2419
  },
1817
2420
  getLogos(e) {
1818
2421
  return a.get(`/projects/${e}/logos`);
@@ -1829,7 +2432,7 @@ const qt = {
1829
2432
  updateLogo(e, r, t) {
1830
2433
  return a.patch(
1831
2434
  `/projects/${e}/logos/${r}`,
1832
- g({ name: t })
2435
+ u({ name: t })
1833
2436
  );
1834
2437
  },
1835
2438
  updateThumbnail(e, r) {
@@ -1868,6 +2471,20 @@ const qt = {
1868
2471
  },
1869
2472
  getTeamMembers() {
1870
2473
  return a.get("/projects/team-members");
2474
+ },
2475
+ getMembers(e) {
2476
+ return a.get(`/projects/${e}/users`);
2477
+ },
2478
+ inviteMembers(e, r) {
2479
+ return a.post(`/projects/${e}/users`, r);
2480
+ },
2481
+ removeMembers(e, r) {
2482
+ return a.delete(`/projects/${e}/users`, {
2483
+ params: { emails: r }
2484
+ });
2485
+ },
2486
+ updateMembersRole(e, r) {
2487
+ return a.patch(`/projects/${e}/users`, r);
1871
2488
  }
1872
2489
  },
1873
2490
  timelapse: {
@@ -1940,6 +2557,11 @@ const qt = {
1940
2557
  },
1941
2558
  getDocumentSchema(e) {
1942
2559
  return a.get(`/aconex/projects/${e}/register/schema`);
2560
+ },
2561
+ getDocumentTypeSchema(e, r) {
2562
+ return a.get(
2563
+ `/aconex/projects/${e}/register/schema/${r}`
2564
+ );
1943
2565
  }
1944
2566
  },
1945
2567
  procore: {
@@ -2075,6 +2697,32 @@ const qt = {
2075
2697
  return a.post("/voyage-control/auth/revoke");
2076
2698
  }
2077
2699
  },
2700
+ ring: {
2701
+ authenticate(e) {
2702
+ return a.post("/ring/callback", e);
2703
+ },
2704
+ getDevices() {
2705
+ return a.get("/ring/devices");
2706
+ },
2707
+ importDevices(e) {
2708
+ return a.post("/ring/devices/import", e);
2709
+ },
2710
+ moveDevice(e, r) {
2711
+ return a.patch(`/ring/devices/${e}/move`, r);
2712
+ },
2713
+ deleteDevice(e) {
2714
+ return a.delete(`/ring/devices/${e}`);
2715
+ },
2716
+ disconnect() {
2717
+ return a.post("/ring/disconnect");
2718
+ },
2719
+ startLiveView(e, r) {
2720
+ return a.post(`/ring/devices/${e}/live`, r);
2721
+ },
2722
+ stopLiveView(e, r) {
2723
+ return a.delete(`/ring/devices/${e}/live/${r}`);
2724
+ }
2725
+ },
2078
2726
  xweather: {
2079
2727
  connect(e, r) {
2080
2728
  return a.post(`/projects/${e}/xweather/connect`, r);
@@ -2094,12 +2742,12 @@ const qt = {
2094
2742
  params: r
2095
2743
  });
2096
2744
  },
2097
- nearest(e, r, t, s) {
2745
+ nearest(e, r, t, o) {
2098
2746
  return a.get(
2099
2747
  `/cameras/${e}/recordings/snapshots/${r}/nearest`,
2100
2748
  {
2101
2749
  params: t,
2102
- ...s || {}
2750
+ ...o || {}
2103
2751
  }
2104
2752
  );
2105
2753
  },
@@ -2107,12 +2755,14 @@ const qt = {
2107
2755
  cameraId: e,
2108
2756
  year: r,
2109
2757
  month: t,
2110
- payload: s
2758
+ payload: o,
2759
+ cancelToken: s
2111
2760
  }) {
2112
2761
  return a.get(
2113
2762
  `/cameras/${e}/recordings/snapshots/${r}/${t}/days`,
2114
2763
  {
2115
- params: s
2764
+ params: o,
2765
+ cancelToken: s
2116
2766
  }
2117
2767
  );
2118
2768
  },
@@ -2120,30 +2770,31 @@ const qt = {
2120
2770
  cameraId: e,
2121
2771
  year: r,
2122
2772
  month: t,
2123
- day: s,
2124
- payload: i,
2125
- cancelToken: n
2773
+ day: o,
2774
+ payload: s,
2775
+ cancelToken: g
2126
2776
  }) {
2127
2777
  return a.get(
2128
- `/cameras/${e}/recordings/snapshots/${r}/${t}/${s}/hours`,
2778
+ `/cameras/${e}/recordings/snapshots/${r}/${t}/${o}/hours`,
2129
2779
  {
2130
- params: i,
2131
- cancelToken: n
2780
+ params: s,
2781
+ cancelToken: g
2132
2782
  }
2133
2783
  );
2134
2784
  },
2135
2785
  getSnapshot(e, r) {
2136
2786
  return a.get(`/cameras/${e}/recordings/snapshots/${r}`);
2137
2787
  },
2138
- getSnapshotRange(e, r) {
2788
+ getSnapshotRange(e, r, t) {
2139
2789
  return a.get(`/cameras/${e}/recordings/snapshots`, {
2140
- params: r
2790
+ params: r,
2791
+ ...t || {}
2141
2792
  });
2142
2793
  }
2143
2794
  },
2144
2795
  progressPhotos: {
2145
- index() {
2146
- return a.get("/progress-photos");
2796
+ index(e) {
2797
+ return a.get(`/projects/${e}/progress-photos`);
2147
2798
  },
2148
2799
  show(e) {
2149
2800
  return a.get(`/progress-photos/${e}`);
@@ -2156,19 +2807,19 @@ const qt = {
2156
2807
  },
2157
2808
  unsubscribe(e, r) {
2158
2809
  return a.patch(
2159
- `/progress-photos/${e}/unsubscribe?${g(
2810
+ `/progress-photos/${e}/unsubscribe?${u(
2160
2811
  r
2161
2812
  )}`
2162
2813
  );
2163
2814
  },
2164
2815
  delete(e, r) {
2165
- return a.delete(`/progress-photos/${e}?${g(r)}`);
2816
+ return a.delete(`/progress-photos/${e}?${u(r)}`);
2166
2817
  }
2167
2818
  },
2168
2819
  mediaHub: {
2169
2820
  getAllMedia(e, r) {
2170
2821
  return a.get(
2171
- `projects/${e}/media-hub?${g(r, {
2822
+ `projects/${e}/media-hub?${u(r, {
2172
2823
  forceArrayBrackets: !0
2173
2824
  })}`
2174
2825
  );
@@ -2179,8 +2830,12 @@ const qt = {
2179
2830
  cShow(e, r) {
2180
2831
  return a.get(`/projects/${e}/media-hub/${r}`);
2181
2832
  },
2182
- cCreate(e, r) {
2183
- return a.post(`/projects/${e}/media-hub`, r);
2833
+ cCreate(e, r, t = (o) => {
2834
+ }) {
2835
+ return a.post(`/projects/${e}/media-hub`, r, {
2836
+ onUploadProgress: t,
2837
+ timeout: 72e5
2838
+ });
2184
2839
  },
2185
2840
  cUpdate(e, r, t) {
2186
2841
  return a.patch(`/projects/${e}/media-hub/${r}`, t);
@@ -2190,51 +2845,14 @@ const qt = {
2190
2845
  }
2191
2846
  },
2192
2847
  shares: {
2193
- updateShareRights(e, r) {
2194
- return a.patch(`/cameras/${e}/shares`, r);
2195
- },
2196
- updateShareRequestRights(e, r) {
2197
- return a.patch(`/cameras/${e}/shares/requests`, r);
2198
- },
2199
- cIndex(e) {
2200
- return a.get(`/cameras/${e}/shares`);
2201
- },
2202
- getShareRequest(e, r) {
2203
- return a.get(`/cameras/${e}/shares/requests`, {
2204
- params: r
2205
- });
2206
- },
2207
- deleteShare(e, r) {
2208
- return a.delete(`/cameras/${e}/shares`, r);
2209
- },
2210
- deleteRequest(e, r) {
2211
- return a.delete(`/cameras/${e}/shares/requests`, r);
2212
- },
2213
2848
  deleteShareRequest(e) {
2214
2849
  return a.delete(`/share-requests/${e.params.key}`);
2215
2850
  },
2216
2851
  getSharedUsers(e) {
2217
2852
  return a.get(`/cameras/${e}/shares/users`);
2218
2853
  },
2219
- cCreate(e, r) {
2220
- return a.post(`/cameras/${e}/shares`, r);
2221
- },
2222
- shareProjectCameras(e, r) {
2223
- return a.post(`/projects/${e}/shares/cameras`, r);
2224
- },
2225
2854
  getShareRequestByKey(e) {
2226
2855
  return a.get(`/shares/requests/${e}`);
2227
- },
2228
- resendShareRequest(e, r) {
2229
- return a.post(`/cameras/${e}/shares/requests/resend`, r);
2230
- },
2231
- getProjectShares(e) {
2232
- return a.get(
2233
- `/projects/${e}/shares?include_camera_shares=true&sort=fullname|asc`
2234
- );
2235
- },
2236
- updateUserRestriction(e, r) {
2237
- return a.patch(`/projects/${e}/shares/cameras`, r);
2238
2856
  }
2239
2857
  },
2240
2858
  company: {
@@ -2250,7 +2868,8 @@ const qt = {
2250
2868
  return a.get("/company/projects", e);
2251
2869
  },
2252
2870
  getCompanyCameras(e) {
2253
- return a.get("/company/cameras", e);
2871
+ const r = "params" in e ? e : { params: e };
2872
+ return a.get("/company/cameras", r);
2254
2873
  },
2255
2874
  getCompanyKits(e) {
2256
2875
  return a.get("/company/kits", e);
@@ -2306,7 +2925,7 @@ const qt = {
2306
2925
  },
2307
2926
  archiveOrUnarchiveComment(e, r, t) {
2308
2927
  return a.patch(
2309
- `/projects/${e}/comments/${r}?${g({ archive: t })}`
2928
+ `/projects/${e}/comments/${r}?${u({ archive: t })}`
2310
2929
  );
2311
2930
  },
2312
2931
  deleteComment(e, r) {
@@ -2318,6 +2937,14 @@ const qt = {
2318
2937
  return a.get("/proxy/storyblok", { params: e });
2319
2938
  }
2320
2939
  },
2940
+ snapshots: {
2941
+ deliverViaEmail(e, r) {
2942
+ return a.post(
2943
+ `/projects/${e}/snapshots/deliver/email`,
2944
+ r
2945
+ );
2946
+ }
2947
+ },
2321
2948
  mailing: {
2322
2949
  unsubscribe(e) {
2323
2950
  return a.post("/mailing/unsubscribe", e);
@@ -2325,7 +2952,7 @@ const qt = {
2325
2952
  },
2326
2953
  widgets: {
2327
2954
  index(e) {
2328
- return a.get(`/widgets?${g(e)}`);
2955
+ return a.get(`/widgets?${u(e)}`);
2329
2956
  },
2330
2957
  show(e) {
2331
2958
  return a.get(`/widgets/${e}`);
@@ -2348,10 +2975,50 @@ const qt = {
2348
2975
  delete(e) {
2349
2976
  return a.delete(`/widgets/${e}`);
2350
2977
  }
2978
+ },
2979
+ developerApps: {
2980
+ index() {
2981
+ return a.get("/developer/apps");
2982
+ },
2983
+ show(e) {
2984
+ return a.get(`/developer/apps/${e}`);
2985
+ },
2986
+ create(e) {
2987
+ return a.post("/developer/apps", e);
2988
+ },
2989
+ update(e, r) {
2990
+ return a.patch(`/developer/apps/${e}`, r);
2991
+ },
2992
+ delete(e) {
2993
+ return a.delete(`/developer/apps/${e}`);
2994
+ },
2995
+ regenerateSecret(e) {
2996
+ return a.post(`/developer/apps/${e}/regenerate-secret`);
2997
+ }
2998
+ },
2999
+ oauth: {
3000
+ getClientInfo(e, r) {
3001
+ return a.get("/oauth/client-info", {
3002
+ params: { client_id: e, scope: r }
3003
+ });
3004
+ },
3005
+ submitConsent(e) {
3006
+ return a.post("/oauth/consent", e);
3007
+ }
3008
+ },
3009
+ zoho: {
3010
+ getDealLocation(e) {
3011
+ return a.get(`/zoho/deals/${e}/location`);
3012
+ },
3013
+ updateDealLocation(e, r) {
3014
+ return a.post(`/zoho/deals/${e}/location`, r);
3015
+ }
2351
3016
  }
2352
- }, Jt = {
3017
+ }, Vo = {
2353
3018
  presets: {
2354
- index({ cameraExid: e }) {
3019
+ index({
3020
+ cameraExid: e
3021
+ }) {
2355
3022
  return a.get(`/cameras/${e}/ptz/presets`);
2356
3023
  },
2357
3024
  go({
@@ -2383,6 +3050,14 @@ const qt = {
2383
3050
  presetName: t
2384
3051
  });
2385
3052
  },
3053
+ updateHome({
3054
+ cameraExid: e,
3055
+ presetName: r
3056
+ }) {
3057
+ return a.post(`/cameras/${e}/ptz/home/set`, {
3058
+ presetName: r
3059
+ });
3060
+ },
2386
3061
  delete({
2387
3062
  cameraExid: e,
2388
3063
  presetId: r
@@ -2400,9 +3075,9 @@ const qt = {
2400
3075
  },
2401
3076
  zoom({ cameraExid: e, direction: r, isRecordingFromNvr: t }) {
2402
3077
  if (!t) {
2403
- const s = r === "in" ? 1 : -1;
3078
+ const o = r === "in" ? 1 : -1;
2404
3079
  return a.post(
2405
- `/cameras/${e}/ptz/relative?zoom=${s}`
3080
+ `/cameras/${e}/ptz/relative?zoom=${o}`
2406
3081
  );
2407
3082
  }
2408
3083
  return a.post(
@@ -2416,286 +3091,380 @@ const qt = {
2416
3091
  return a.post(`/cameras/${e}/ptz/continuous/stop`);
2417
3092
  }
2418
3093
  }
2419
- }, h = (e) => ({
2420
- [m.V1]: a.env.ingestApiUrl,
2421
- [m.V2]: a.env.ingestGpuApiUrl
2422
- })[e], W = {
3094
+ }, c = (e) => e === p.Drone ? (a.env.ingestDroneApi || "").split(";") : e === p.ThreeSixty ? (a.env.ingest360Api || "").split(";") : [], T = {
2423
3095
  drone: {
2424
3096
  createUpload(e, r) {
2425
3097
  return a.post(
2426
- `${a.env.ingestApiUrl}/drone/${e}/upload`,
3098
+ `${c(p.Drone)[0]}/drone/${e}/upload`,
2427
3099
  null,
2428
3100
  { params: r }
2429
3101
  );
2430
3102
  },
2431
- reprocessDrone(e, r) {
2432
- return a.post(
2433
- `${a.env.ingestApiUrl}/drone/${e}/reprocess`,
2434
- null,
2435
- { params: r }
3103
+ async reprocessDrone(e, r = {}) {
3104
+ const t = await T.utils.chooseIngestApiUrl(
3105
+ p.Drone
2436
3106
  );
3107
+ return a.post(`${t}/drone/${e}/reprocess`, null, { params: r });
2437
3108
  },
2438
3109
  getDrones(e) {
2439
- return a.get(`${a.env.ingestApiUrl}/drone/uploads/`, e);
3110
+ return a.get(
3111
+ `${c(p.Drone)[0]}/drone/uploads/`,
3112
+ e
3113
+ );
2440
3114
  },
2441
3115
  getArchive(e, r) {
2442
3116
  return a.get(
2443
- `${a.env.ingestApiUrl}/drone/uploads/archive/${e}`,
3117
+ `${c(p.Drone)[0]}/drone/uploads/archive/${e}`,
2444
3118
  {
2445
3119
  params: r
2446
3120
  }
2447
3121
  );
2448
3122
  },
2449
3123
  deleteUpload(e) {
2450
- return a.delete(`${a.env.ingestApiUrl}/drone/uploads/${e}`);
3124
+ return a.delete(
3125
+ `${c(p.Drone)[0]}/drone/uploads/${e}`
3126
+ );
2451
3127
  },
2452
3128
  prepareForUpload(e, r) {
2453
3129
  return a.put(
2454
- `${a.env.ingestApiUrl}/drone/${e}/prepare-upload`,
3130
+ `${c(p.Drone)[0]}/drone/${e}/prepare-upload`,
2455
3131
  null,
2456
3132
  { params: r }
2457
3133
  );
2458
3134
  },
2459
- upload(e, r, t) {
2460
- return a.put(
2461
- `${a.env.ingestApiUrl}/drone/${e}/upload`,
2462
- t,
2463
- { params: r }
3135
+ async upload(e, r, t) {
3136
+ const o = await T.utils.chooseIngestApiUrl(
3137
+ p.Drone
2464
3138
  );
3139
+ return a.put(`${o}/drone/${e}/upload`, t, {
3140
+ params: r
3141
+ });
2465
3142
  },
2466
3143
  verifyToken(e, r) {
2467
3144
  return a.get(
2468
- `${a.env.ingestApiUrl}/drone/uploads/${e}/verify`,
3145
+ `${c(p.Drone)[0]}/drone/uploads/${e}/verify`,
2469
3146
  {
2470
3147
  params: { token: r.token }
2471
3148
  }
2472
3149
  );
2473
3150
  },
2474
- calculateMeasuringOperation(e, r) {
3151
+ calculateMeasuringOperation(e, r, t = c(p.Drone)[0]) {
2475
3152
  return a.post(
2476
- `${a.env.ingestApiUrl}/drone/api/${e}/calculate-measuring-operation`,
3153
+ `${t}/drone/api/${e}/calculate-measuring-operation`,
2477
3154
  r
2478
3155
  );
2479
3156
  },
2480
3157
  inspectionTool(e, r) {
2481
3158
  return a.post(
2482
- `${a.env.ingestApiUrl}/drone/api/${e}/inspection-tool`,
3159
+ `${c(p.Drone)[0]}/drone/api/${e}/inspection-tool`,
2483
3160
  r
2484
3161
  );
2485
3162
  },
2486
- isInspectionEnabled(e, r) {
3163
+ isInspectionEnabled(e, r = {}) {
2487
3164
  return a.post(
2488
- `${a.env.ingestApiUrl}/drone/api/${e}/inspection-enabled`,
3165
+ `${c(p.Drone)[0]}/drone/api/${e}/inspection-enabled`,
2489
3166
  null,
2490
3167
  { params: r }
2491
3168
  );
2492
3169
  },
2493
- getDroneQueueSize(e = m.V1) {
2494
- const r = e === m.V1 ? a.env.ingestApiUrl : a.env.ingestGpuApiUrl;
2495
- return a.get(`${r}/drone/queue`);
3170
+ getDroneQueueSize(e) {
3171
+ return a.get(`${e}/drone/queue`);
2496
3172
  },
2497
3173
  getFlightImages(e, r) {
2498
3174
  return a.get(
2499
- `${a.env.ingestApiUrl}/drone/api/${e}/flight-images`,
3175
+ `${c(p.Drone)[0]}/drone/api/${e}/flight-images`,
2500
3176
  {
2501
3177
  params: r
2502
3178
  }
2503
3179
  );
2504
3180
  },
2505
- checkFlightAvailableFeatures(e, r) {
2506
- return a.get(
2507
- `${a.env.ingestApiUrl}/drone/api/${e}/flight-available-features`,
2508
- {
2509
- params: r
2510
- }
2511
- );
3181
+ async checkFlightAvailableFeatures(e, r) {
3182
+ var m;
3183
+ const t = c(p.Drone), s = (await Promise.all(
3184
+ t.map(async (d) => {
3185
+ try {
3186
+ return { ...await a.get(
3187
+ `${d}/drone/api/${e}/flight-available-features`,
3188
+ { params: r }
3189
+ ), ingestUrl: d };
3190
+ } catch {
3191
+ return null;
3192
+ }
3193
+ })
3194
+ )).filter(Boolean), g = s.find((d) => d.isVolumeToolEnabled);
3195
+ return (m = g != null ? g : s[0]) != null ? m : {};
2512
3196
  }
2513
3197
  },
2514
3198
  assets360: {
2515
- get360Assets(e, r = m.V1) {
2516
- return a.get(`${h(r)}/360/assets/`, e);
3199
+ get360Assets(e) {
3200
+ const r = c(p.ThreeSixty)[0];
3201
+ return a.get(`${r}/360/assets/`, e);
2517
3202
  },
2518
- get360AssetsCounts(e, r, t = m.V2) {
2519
- const s = t === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
2520
- return a.get(`${s}/360/assets/${e}/counts`, {
3203
+ get360AssetsCounts(e, r) {
3204
+ const t = c(p.ThreeSixty)[0];
3205
+ return a.get(`${t}/360/assets/${e}/counts`, {
2521
3206
  params: r
2522
3207
  });
2523
3208
  },
2524
- get360AssetLink(e, r, t, s, i, n) {
3209
+ get360AssetLink(e, r, t, o, s, g) {
2525
3210
  return a.get(
2526
- `${a.env.ingestGpuApiUrl}/360/assets/${e}/${r}/${i}`,
3211
+ `${c(p.ThreeSixty)[0]}/360/assets/${e}/${r}/${s}`,
2527
3212
  {
2528
- params: { marker: n, assetType: s, name: t }
3213
+ params: { marker: g, assetType: o, name: t }
2529
3214
  }
2530
3215
  );
2531
3216
  },
2532
- update360(e, r, t = m.V1) {
2533
- return a.put(`${h(t)}/360/assets/${e}`, r);
3217
+ update360(e, r) {
3218
+ const t = c(p.ThreeSixty)[0];
3219
+ return a.put(`${t}/360/assets/${e}`, r);
2534
3220
  },
2535
- update360ByProjectDateName(e, r, t, s, i = m.V2) {
3221
+ update360ByProjectDateName(e, r, t, o) {
3222
+ const s = c(p.ThreeSixty)[0];
2536
3223
  return a.put(
2537
- `${h(i)}/360/assets/${e}/${r}/${t}`,
2538
- s
3224
+ `${s}/360/assets/${e}/${r}/${t}`,
3225
+ o
2539
3226
  );
2540
3227
  },
2541
3228
  deleteUpload(e) {
2542
- return a.delete(`${a.env.ingestApiUrl}/360/assets/${e}`);
3229
+ const r = c(p.ThreeSixty)[0];
3230
+ return a.delete(`${r}/360/assets/${e}`);
2543
3231
  },
2544
3232
  getArchive(e, r) {
2545
- return a.get(`${a.env.ingestApiUrl}/360/assets/archive/${e}`, {
3233
+ const t = c(p.ThreeSixty)[0];
3234
+ return a.get(`${t}/360/assets/archive/${e}`, {
2546
3235
  params: r
2547
3236
  });
2548
3237
  },
2549
- createUpload(e, r, t = m.V1) {
2550
- return a.post(
2551
- `${h(t)}/360/${e}/upload`,
2552
- null,
2553
- { params: r }
3238
+ createUpload(e, r) {
3239
+ const t = c(p.ThreeSixty)[0];
3240
+ return a.post(`${t}/360/${e}/upload`, null, {
3241
+ params: r
3242
+ });
3243
+ },
3244
+ async upload(e, r, t) {
3245
+ const o = await T.utils.chooseIngestApiUrl(
3246
+ p.ThreeSixty
2554
3247
  );
3248
+ return a.put(`${o}/360/${e}/upload`, t, {
3249
+ params: r,
3250
+ headers: {
3251
+ "X-Processing-Source": "DASHBOARD"
3252
+ }
3253
+ });
2555
3254
  },
2556
- upload(e, r, t, s = m.V1) {
2557
- return a.put(
2558
- `${h(s)}/360/${e}/upload`,
2559
- t,
2560
- { params: r }
3255
+ async reprocess360(e) {
3256
+ const r = await T.utils.chooseIngestApiUrl(
3257
+ p.ThreeSixty
2561
3258
  );
3259
+ return a.put(`${r}/360/${e}/reprocess`);
2562
3260
  },
2563
- getDrawings(e, r = m.V1) {
2564
- var s;
2565
- const t = r === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
3261
+ drawingExists(e) {
3262
+ var t;
3263
+ const r = c(p.ThreeSixty)[0];
2566
3264
  return a.get(
2567
- `${t}/360/floors/?${g((s = e.params) != null ? s : e)}`
3265
+ `${r}/360/floors/exists?${u(
3266
+ (t = e.params) != null ? t : e
3267
+ )}`
3268
+ );
3269
+ },
3270
+ getDrawings(e) {
3271
+ var t;
3272
+ const r = c(p.ThreeSixty)[0];
3273
+ return a.get(
3274
+ `${r}/360/floors/?${u((t = e.params) != null ? t : e)}`,
3275
+ e.config
2568
3276
  );
2569
3277
  },
2570
- getDrawingById(e, r, t = m.V2) {
2571
- const s = t === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
2572
- return a.get(`${s}/360/floors/${e}?project_id=${r}`);
3278
+ getDrawingById(e, r) {
3279
+ const t = c(p.ThreeSixty)[0];
3280
+ return a.get(
3281
+ `${t}/360/floors/${e}?project_id=${r}`
3282
+ );
2573
3283
  },
2574
- updateDrawing(e, r, t, s = m.V2) {
2575
- const i = s === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
3284
+ updateDrawing(e, r, t) {
3285
+ const o = c(p.ThreeSixty)[0];
2576
3286
  return a.put(
2577
- `${i}/360/floors/${e}?project_id=${r}`,
3287
+ `${o}/360/floors/${e}?project_id=${r}`,
2578
3288
  t
2579
3289
  );
2580
3290
  },
2581
- deleteDrawing(e, r = m.V2) {
2582
- const t = r === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
2583
- return a.delete(`${t}/360/floors/${e}`);
3291
+ deleteDrawing(e) {
3292
+ const r = c(p.ThreeSixty)[0];
3293
+ return a.delete(`${r}/360/floors/${e}`);
2584
3294
  },
2585
- transferWalks(e, r, t, s = m.V1) {
2586
- const i = s === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
3295
+ transferWalks(e, r, t) {
3296
+ const o = c(p.ThreeSixty)[0];
2587
3297
  return a.post(
2588
- `${i}/360/floors/${e}/transfer-walks/${r}?project_id=${t}`
3298
+ `${o}/360/floors/${e}/transfer-walks/${r}?project_id=${t}`
2589
3299
  );
2590
3300
  },
2591
- createDrawing(e, r, t, s = m.V2) {
2592
- const i = s === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
3301
+ createDrawing(e, r, t) {
3302
+ const o = c(p.ThreeSixty)[0];
2593
3303
  return a.post(
2594
- `${i}/360/floors/${e}?created_by=${t}`,
3304
+ `${o}/360/floors/${e}?created_by=${t}`,
2595
3305
  r
2596
3306
  );
2597
3307
  },
2598
- fetchDrawingOverlay(e, r, t, s = m.V2) {
2599
- const i = s === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
2600
- return a.get(`${i}/360/floors/${e}/overlay`, {
3308
+ fetchDrawingOverlay(e, r, t) {
3309
+ const o = c(p.ThreeSixty)[0];
3310
+ return a.get(`${o}/360/floors/${e}/overlay`, {
2601
3311
  params: r,
2602
3312
  onDownloadProgress: t
2603
3313
  });
2604
3314
  },
2605
- generate360map(e, r, t = m.V2) {
3315
+ getFloorArchive(e) {
3316
+ const r = c(p.ThreeSixty)[0];
3317
+ return a.get(`${r}/360/floors/${e}/archive`);
3318
+ },
3319
+ generate360map(e, r) {
3320
+ const t = c(p.ThreeSixty)[0];
2606
3321
  return a.post(
2607
- `${h(t)}/360/api/${e}/generate-360-map`,
3322
+ `${t}/360/api/${e}/generate-360-map`,
2608
3323
  r
2609
3324
  );
2610
3325
  },
2611
- get360QueueSize(e = m.V1) {
2612
- return a.get(`${h(e)}/360/queue`);
3326
+ get360QueueSize(e, r = {}) {
3327
+ return a.get(`${e}/360/queue`, { params: r });
2613
3328
  }
2614
3329
  },
2615
3330
  bim: {
2616
3331
  createUpload(e, r) {
2617
3332
  return a.post(
2618
- `${a.env.ingestApiUrl}/bim/${e}/upload`,
3333
+ `${c(p.Drone)[0]}/bim/${e}/upload`,
2619
3334
  null,
2620
3335
  { params: r }
2621
3336
  );
2622
3337
  },
2623
3338
  getBIMs(e) {
2624
- return a.get(`${a.env.ingestApiUrl}/bim/uploads/`, e);
3339
+ return a.get(
3340
+ `${c(p.Drone)[0]}/bim/uploads/`,
3341
+ e
3342
+ );
2625
3343
  },
2626
3344
  getArchive(e) {
2627
- return a.get(`${a.env.ingestApiUrl}/bim/uploads/archive/${e}`);
3345
+ return a.get(
3346
+ `${c(p.Drone)[0]}/bim/uploads/archive/${e}`
3347
+ );
2628
3348
  },
2629
3349
  deleteUpload(e) {
2630
- return a.delete(`${a.env.ingestApiUrl}/bim/uploads/${e}`);
3350
+ return a.delete(
3351
+ `${c(p.Drone)[0]}/bim/uploads/${e}`
3352
+ );
2631
3353
  },
2632
3354
  upload(e, r, t) {
2633
3355
  return a.put(
2634
- `${a.env.ingestApiUrl}/bim/${e}/upload`,
3356
+ `${c(p.Drone)[0]}/bim/${e}/upload`,
2635
3357
  t,
2636
3358
  { params: r }
2637
3359
  );
2638
3360
  }
2639
3361
  },
3362
+ webhook: {
3363
+ notifyBimUpdated(e, r) {
3364
+ const t = {
3365
+ eventName: "bim.updated",
3366
+ projectId: e,
3367
+ data: {
3368
+ updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
3369
+ bimIdentifier: r
3370
+ }
3371
+ };
3372
+ return a.post(
3373
+ `${c(p.Drone)[0]}/webhook/`,
3374
+ t
3375
+ );
3376
+ }
3377
+ },
2640
3378
  mobileCapture: {
2641
- getProjectMobileAssets(e, r = {}, t = m.V1) {
2642
- return a.get(`${h(t)}/mobile/assets/`, {
3379
+ getProjectMobileAssets(e, r = {}) {
3380
+ const t = c(p.ThreeSixty)[0];
3381
+ return a.get(`${t}/mobile/assets/`, {
2643
3382
  params: e,
2644
3383
  ...r
2645
3384
  });
2646
3385
  },
2647
- getMobileAssetPhoto(e, r, t = m.V1) {
2648
- return a.get(`${h(t)}/mobile/assets/${e}`, {
3386
+ getMobileAssetPhoto(e, r) {
3387
+ const t = c(p.ThreeSixty)[0];
3388
+ return a.get(`${t}/mobile/assets/${e}`, {
2649
3389
  params: r
2650
3390
  });
2651
3391
  },
2652
- deleteAsset(e, r = m.V1) {
2653
- return a.delete(
2654
- `${h(r)}/mobile/assets/${e}`
2655
- );
3392
+ deleteAsset(e) {
3393
+ const r = c(p.ThreeSixty)[0];
3394
+ return a.delete(`${r}/mobile/assets/${e}`);
2656
3395
  }
2657
3396
  },
2658
3397
  utils: {
2659
3398
  async loadAllAssetsInQueue() {
2660
3399
  try {
2661
- const e = [m.V1, m.V2], r = [];
2662
- for (const t of e) {
2663
- const [s, i] = await Promise.all([
2664
- W.assets360.get360QueueSize(t),
2665
- W.drone.getDroneQueueSize(t)
2666
- ]), n = [
2667
- s == null ? void 0 : s.assets360,
2668
- i == null ? void 0 : i.assetsDrone
2669
- ].flatMap(
2670
- (l) => (l || []).map((p) => ({
2671
- ...p,
2672
- ingestVersion: t === m.V1 ? m.V1.toUpperCase() : m.V2.toUpperCase()
2673
- }))
2674
- );
2675
- r.push(...n);
2676
- }
2677
- return r.sort(
2678
- (t, s) => new Date(t.updatedAt).getTime() - new Date(s.updatedAt).getTime()
3400
+ const e = c(p.Drone), r = c(p.ThreeSixty), t = [], o = await Promise.all(
3401
+ e.map(async (g) => {
3402
+ const m = await T.drone.getDroneQueueSize(g), d = T.utils.getIngestVersion(g);
3403
+ return ((m == null ? void 0 : m.assetsDrone) || []).map((h) => ({
3404
+ ...h,
3405
+ ingestVersion: d.toUpperCase()
3406
+ }));
3407
+ })
3408
+ ), s = await Promise.all(
3409
+ r.map(async (g) => {
3410
+ const m = await T.assets360.get360QueueSize(g), d = T.utils.getIngestVersion(g);
3411
+ return ((m == null ? void 0 : m.assets360) || []).map((h) => ({
3412
+ ...h,
3413
+ ingestVersion: d.toUpperCase()
3414
+ }));
3415
+ })
3416
+ );
3417
+ return t.push(...o.flat(), ...s.flat()), t.sort(
3418
+ (g, m) => new Date(g.updatedAt).getTime() - new Date(m.updatedAt).getTime()
2679
3419
  );
2680
3420
  } catch (e) {
2681
3421
  return console.error("Error:", e), [];
2682
3422
  }
3423
+ },
3424
+ getIngestVersion(e) {
3425
+ var t;
3426
+ return `V${((t = e.match(/ingest(\d*)/)) == null ? void 0 : t[1]) || "1"}`;
3427
+ },
3428
+ async chooseIngestApiUrl(e) {
3429
+ const r = c(e);
3430
+ return (await Promise.all(
3431
+ r.map(async (o) => {
3432
+ var s, g;
3433
+ try {
3434
+ let m = 0;
3435
+ if (e === p.Drone) {
3436
+ const d = await T.drone.getDroneQueueSize(o);
3437
+ m = ((s = d == null ? void 0 : d.assetsDrone) == null ? void 0 : s.length) || 0;
3438
+ } else {
3439
+ const d = await T.assets360.get360QueueSize(
3440
+ o
3441
+ );
3442
+ m = ((g = d == null ? void 0 : d.assets360) == null ? void 0 : g.length) || 0;
3443
+ }
3444
+ return { ingestUrl: o, queue: m };
3445
+ } catch {
3446
+ return { ingestUrl: o, queue: 1 / 0 };
3447
+ }
3448
+ })
3449
+ )).reduce(
3450
+ (o, s) => s.queue < o.queue ? s : o
3451
+ ).ingestUrl;
2683
3452
  }
2684
3453
  }
2685
- }, Qt = {
3454
+ }, Ho = {
2686
3455
  users: {
2687
3456
  login({
2688
3457
  apiUrl: e,
2689
3458
  username: r,
2690
3459
  password: t
2691
- }, s = {}) {
3460
+ }, o = {}) {
2692
3461
  return a.post(
2693
3462
  `${e}/api/users/login`,
2694
3463
  {
2695
3464
  username: r,
2696
3465
  password: t
2697
3466
  },
2698
- s
3467
+ o
2699
3468
  );
2700
3469
  }
2701
3470
  },
@@ -2722,46 +3491,46 @@ const qt = {
2722
3491
  apiUrl: e,
2723
3492
  deviceId: r,
2724
3493
  token: t
2725
- }, s = {}) {
3494
+ }, o = {}) {
2726
3495
  return a.get(`${e}/api/devices/${r}`, {
2727
3496
  headers: {
2728
3497
  Authorization: `Bearer ${t}`
2729
3498
  },
2730
- ...s
3499
+ ...o
2731
3500
  });
2732
3501
  },
2733
3502
  getAvailableRecordings({
2734
3503
  apiUrl: e,
2735
3504
  deviceId: r,
2736
3505
  token: t
2737
- }, s = {}) {
3506
+ }, o = {}) {
2738
3507
  return a.get(`${e}/api/devices/${r}/recordings`, {
2739
3508
  headers: {
2740
3509
  Authorization: `Bearer ${t}`
2741
3510
  },
2742
- ...s
3511
+ ...o
2743
3512
  });
2744
3513
  },
2745
3514
  downloadFootage({
2746
3515
  apiUrl: e,
2747
3516
  deviceId: r,
2748
3517
  token: t,
2749
- startDate: s,
2750
- duration: i
3518
+ startDate: o,
3519
+ duration: s
2751
3520
  }) {
2752
3521
  return a.get(`${e}/api/devices/${r}/footage`, {
2753
3522
  headers: {
2754
3523
  Authorization: `Bearer ${t}`
2755
3524
  },
2756
3525
  params: {
2757
- startDate: s,
2758
- duration: i
3526
+ startDate: o,
3527
+ duration: s
2759
3528
  },
2760
3529
  responseType: "blob"
2761
3530
  });
2762
3531
  }
2763
3532
  }
2764
- }, Yt = {
3533
+ }, vo = {
2765
3534
  roles: {
2766
3535
  async get(e) {
2767
3536
  return await a.get("/admin/authz/roles", e);
@@ -2787,22 +3556,33 @@ const qt = {
2787
3556
  async getRoleUsers(e) {
2788
3557
  return a.get(`/admin/authz/roles/${e}/users`);
2789
3558
  },
2790
- async assignUsers(e, r, t) {
3559
+ async assignUsers(e, r, t = "evercam-admin") {
2791
3560
  return a.post(`/admin/authz/roles/${e}/users`, {
2792
3561
  emails: r,
2793
- resource_id: t
3562
+ resourceId: t
2794
3563
  });
2795
3564
  },
2796
- async unassignUsers(e, r, t) {
2797
- return a.delete(`/admin/authz/roles/${e}/users`, {
3565
+ getUserRoles(e, r) {
3566
+ return a.get("/users/roles", {
2798
3567
  params: {
2799
- emails: r,
2800
- resource_id: t
3568
+ resourceId: e || null,
3569
+ resourceType: r || null
2801
3570
  }
2802
3571
  });
3572
+ }
3573
+ },
3574
+ projectRoles: {
3575
+ get(e) {
3576
+ return a.get(`/projects/${e}/roles`);
3577
+ },
3578
+ create(e, r) {
3579
+ return a.post(`/projects/${e}/roles`, r);
2803
3580
  },
2804
- getUserRoles() {
2805
- return a.get("/users/roles");
3581
+ update(e, r, t) {
3582
+ return a.patch(`/projects/${e}/roles/${r}`, t);
3583
+ },
3584
+ delete(e, r) {
3585
+ return a.delete(`/projects/${e}/roles/${r}`);
2806
3586
  }
2807
3587
  },
2808
3588
  scopes: {
@@ -2821,219 +3601,259 @@ const qt = {
2821
3601
  }
2822
3602
  };
2823
3603
  export {
2824
- te as AconexDocumentDataType,
2825
- se as AconexFormComponentType,
2826
- ie as AconexMandatoryStatus,
2827
- tt as ActiveUsersMetric,
2828
- Ht as AdminApi,
2829
- Wt as AiApi,
2830
- ne as AnalyticsEvent,
2831
- oe as AnalyticsEventPageId,
2832
- le as AnprDirection,
2833
- ge as AnprEventStatus,
2834
- va as AuditLogActionType,
2835
- Yt as AuthzApi,
2836
- ur as AutomationDialogType,
2837
- rt as AutomationProvider,
2838
- at as AutomationType,
2839
- $e as BIMLayerTypes,
2840
- lt as BadGatewayError,
2841
- st as BadRequestError,
2842
- Ka as BimCompareWidgetSettingsKeys,
2843
- de as BimModelType,
2844
- Re as BimType,
2845
- Se as BimUploadStatus,
2846
- $r as BrainTool,
2847
- ke as CameraFeatureFlag,
2848
- we as CameraModel,
2849
- et as CameraRegion,
2850
- Te as CameraStatus,
2851
- he as ClipsCategory,
2852
- br as CloudRecordingDuration,
2853
- Tr as CloudRecordingFrequency,
2854
- kr as CloudRecordingStatus,
2855
- ha as CommentsLabel,
2856
- ua as CommentsScope,
2857
- Ja as CommonWidgetSettingsKeys,
2858
- Ue as CompareStatus,
2859
- mt as ConflictError,
2860
- j as Connector,
2861
- xe as CopilotChatProvider,
2862
- Ne as CopilotLayout,
2863
- _e as CopilotMessageAuthor,
2864
- De as CopilotMessageType,
2865
- He as CopilotMissingFieldComponent,
2866
- Fe as CopilotMissingFieldName,
2867
- ze as CopilotMissingFieldType,
2868
- je as CopilotMissingFieldsLabels,
2869
- Ve as CopilotProvider,
2870
- Oe as CopilotSocketEvent,
2871
- Be as CopilotStepId,
2872
- ve as CopilotSuggestion,
2873
- Ge as CopilotToolId,
2874
- ya as CountryCode,
2875
- Ia as CountryId,
2876
- Xa as DelayUnit,
2877
- Xe as DetectionLabel,
2878
- Sa as DetectionModel,
2879
- Z as DownloadFileType,
2880
- We as DroneUrlParams,
2881
- Me as DuplicatedCameraFields,
2882
- Yr as EDistortImageModes,
2883
- Kr as EMapTypes,
2884
- Ar as EMarkers,
2885
- Er as EPageType,
2886
- Cr as EPaths,
2887
- Ir as EProjectItems,
2888
- yr as ERoles,
2889
- d as ErrorCode,
2890
- u as ErrorType,
2891
- Xt as EvercamApi,
2892
- Le as EvercamApiErrorCode,
2893
- qt as EvercamLabsApi,
2894
- Qt as ExNvrApi,
2895
- ra as ExNvrDeviceState,
2896
- ea as ExNvrFootageAvailableStatus,
2897
- aa as ExNvrMetricId,
2898
- fa as FeedbackContext,
2899
- gt as ForbiddenError,
2900
- Qe as GateReportDataSource,
2901
- Ze as GateReportDetectionType,
2902
- Ye as GateReportEventDirection,
2903
- qe as GateReportEventType,
2904
- Ke as GateReportExportType,
2905
- Ee as GateReportProcessingStatus,
2906
- Ae as GateReportROIShapeType,
2907
- L as GateReportVehicleType,
2908
- nt as GatewayTimeoutError,
2909
- ja as GrafanaMetricId,
2910
- Ce as HddFormat,
2911
- ar as HddSize,
2912
- ye as HddState,
2913
- Pe as HddStatus,
2914
- Ie as HddType,
2915
- xt as HlsError,
2916
- ka as InfoPage,
2917
- W as IngestApi,
2918
- tr as IngestProcessingStatus,
2919
- m as IngestVersions,
2920
- be as IntensityChangeColors,
2921
- pt as InternalServerError,
2922
- Da as KitAlarm,
2923
- Oa as KitChartType,
2924
- Ba as KitMetricId,
2925
- q as KitMetricPeriod,
2926
- _a as KitRegion,
2927
- Ua as KitStatus,
2928
- Va as KitStorageTransport,
2929
- Ya as LiveViewWidgetSettingsKeys,
2930
- sr as MapType,
2931
- pe as MediaFileType,
2932
- ce as MediaStatus,
2933
- ue as MediaStatusId,
2934
- me as MediaType,
2935
- Ta as MobileDevice,
2936
- it as NotFoundError,
2937
- or as NotificationType,
2938
- nr as NvrDeviceType,
2939
- lr as NvrHddStatus,
2940
- fe as NvrModel,
2941
- Gt as OnRequestExpiredTokenInterceptor,
2942
- ae as PathMarkerColor,
2943
- Jr as PerformanceStatus,
2944
- ma as Persona,
2945
- Hr as PowerSchedule,
2946
- Gr as PowerType,
2947
- da as PpeLabel,
2948
- gr as ProcoreObservationCustomFieldDataType,
2949
- mr as ProcoreObservationDefaultFieldNames,
2950
- cr as ProcoreToolUserAccessLevelIds,
2951
- pr as ProcoreTools,
2952
- ir as ProcoreType,
2953
- dr as ProjectArchiveTier,
2954
- Sr as ProjectFeatureFlag,
2955
- hr as ProjectStatus,
2956
- Jt as PtzApi,
2957
- Ma as PtzDirection,
2958
- Qa as RecordingsWidgetSettingsKeys,
2959
- Rr as RoiDirection,
2960
- Mr as RoiShapeType,
2961
- Pr as RoiType,
2962
- Fr as RouterStatus,
2963
- Je as SegmentLabel,
2964
- zr as SharePermission,
2965
- Lr as ShareRequestStatus,
2966
- Wr as ShareType,
2967
- Zr as ShareVisibility,
2968
- Ga as SiteAnalyticsMode,
2969
- Fa as SmartSearchCondition,
2970
- La as SmartSearchOperatorType,
2971
- Ha as SmartSearchQueryComponentType,
2972
- qa as SmartSearchQueryConditionTypes,
2973
- Za as SmartSearchQueryOperators,
2974
- Wa as SmartSearchQueryReturnType,
2975
- za as SmartSearchQueryTargets,
2976
- qr as SmsCommands,
2977
- Xr as SmsStatuses,
2978
- Nt as SnapshotError,
2979
- fr as SnapshotExtractionInterval,
2980
- xa as SnapshotExtractionStatus,
2981
- Na as SnapshotExtractionType,
2982
- Pa as TaskStatus,
2983
- Ea as ThreeSixtyKeys,
2984
- sa as TimelapseDuration,
2985
- la as TimelapseExportStep,
2986
- oa as TimelapsePeriod,
2987
- ia as TimelapseScheduleType,
2988
- ta as TimelapseStatus,
2989
- na as TimelapseType,
2990
- Dr as Timeline360UrlParams,
2991
- vr as TimelineAnprUrlParams,
2992
- Or as TimelineBimUrlParams,
2993
- Nr as TimelineCommentsUrlParams,
2994
- Br as TimelineDroneUrlParams,
2995
- Vr as TimelineExNvrRecordingsUrlParams,
2996
- jr as TimelineMediaUrlParams,
2997
- xr as TimelineMobileCaptureUrlParams,
2998
- wa as TimelinePrecision,
2999
- _r as TimelineUrlParam,
3000
- ot as UnauthorizedError,
3001
- $a as UnitSystem,
3002
- Ur as UrlParamValue,
3003
- ga as UserFeatureFlag,
3004
- V as VEHICLE_TYPE_IDS,
3005
- Ft as VideoWallApi,
3006
- pa as VideoWallItemType,
3007
- Aa as VideoWallWidgetSettingsKeys,
3008
- wr as VpnServer,
3009
- rr as WarehouseLocation,
3010
- er as WarehouseLocationIndex,
3011
- Zt as WeatherApi,
3012
- ca as WeatherProvider,
3013
- Qr as WebGLExtensions,
3014
- Lt as WebRtcApi,
3015
- Ca as WidgetType,
3016
- vt as WidgetTypesByResource,
3017
- Ra as ZoomDirection,
3018
- y as _360AssetLabel,
3019
- I as _360AssetType,
3020
- ee as _360Feature,
3021
- re as _360IntergrationType,
3022
- C as _360UrlParams,
3023
- zt as _3dFirebaseApi,
3024
- ba as _3dViewer,
3604
+ Mo as AI_APP_CONFIGS,
3605
+ fo as AI_PROVIDER_CONFIGS,
3606
+ ie as AconexDocumentDataType,
3607
+ ne as AconexFormComponentType,
3608
+ ge as AconexIdentifiers,
3609
+ le as AconexMandatoryStatus,
3610
+ _t as ActiveUsersMetric,
3611
+ _o as AdminApi,
3612
+ Bo as AiApi,
3613
+ Ot as AiApp,
3614
+ Gt as AiConfigsKeyDialogMode,
3615
+ Nt as AiConfigsPromptDialogMode,
3616
+ Vt as AiPromptModel,
3617
+ Ft as AiProvider,
3618
+ pe as AnalyticsEvent,
3619
+ me as AnalyticsEventPageId,
3620
+ ce as AnprDirection,
3621
+ ue as AnprEventStatus,
3622
+ he as AnprExtractionSaveMode,
3623
+ de as AnprExtractionStatus,
3624
+ vt as AppRuntimeState,
3625
+ ya as AuditLogActionType,
3626
+ et as AuditLogEntity,
3627
+ vo as AuthzApi,
3628
+ Dt as AutomationConfigStep,
3629
+ Ur as AutomationDialogType,
3630
+ Pt as AutomationProvider,
3631
+ Rt as AutomationType,
3632
+ Pe as BIMLayerTypes,
3633
+ Zt as BadGatewayError,
3634
+ Wt as BadRequestError,
3635
+ $t as BimCompareWidgetSettingsKeys,
3636
+ Me as BimModelType,
3637
+ He as BimType,
3638
+ fe as BimUploadStatus,
3639
+ Nr as BrainTool,
3640
+ Oe as CameraFeatureFlag,
3641
+ Ne as CameraModel,
3642
+ ft as CameraRegion,
3643
+ je as CameraStatus,
3644
+ be as ClipsCategory,
3645
+ Vr as CloudRecordingDuration,
3646
+ To as CloudRecordingDurationLabel,
3647
+ Gr as CloudRecordingFrequency,
3648
+ Hr as CloudRecordingStatus,
3649
+ Na as CommentsLabel,
3650
+ Fa as CommentsScope,
3651
+ dt as CommonWidgetSettingsKeys,
3652
+ ve as CompareStatus,
3653
+ Qt as ConflictError,
3654
+ O as Connector,
3655
+ _a as ContactRole,
3656
+ qe as CopilotChatProvider,
3657
+ Je as CopilotLayout,
3658
+ We as CopilotMessageAuthor,
3659
+ xe as CopilotMessageType,
3660
+ Ke as CopilotMissingFieldComponent,
3661
+ Ce as CopilotMissingFieldName,
3662
+ Ee as CopilotMissingFieldType,
3663
+ Le as CopilotMissingFieldsLabels,
3664
+ Xe as CopilotProvider,
3665
+ Ze as CopilotSocketEvent,
3666
+ ze as CopilotStepId,
3667
+ Qe as CopilotSuggestion,
3668
+ Ye as CopilotToolId,
3669
+ Mt as CountryCode,
3670
+ wt as CountryId,
3671
+ ut as DelayUnit,
3672
+ or as DetectionLabel,
3673
+ Va as DetectionModel,
3674
+ X as DownloadFileType,
3675
+ Ie as DroneMarkerType,
3676
+ er as DroneProvider,
3677
+ Ae as DroneTagType,
3678
+ ye as DroneUrlParams,
3679
+ Ve as DuplicatedCameraFields,
3680
+ ga as EDistortImageModes,
3681
+ ma as EMapTypes,
3682
+ pa as EMarkers,
3683
+ ca as EPageType,
3684
+ ua as EPaths,
3685
+ da as EProjectItems,
3686
+ ha as ERoles,
3687
+ k as ErrorCode,
3688
+ $ as ErrorType,
3689
+ Go as EvercamApi,
3690
+ rr as EvercamApiErrorCode,
3691
+ No as EvercamLabsApi,
3692
+ Ho as ExNvrApi,
3693
+ Ta as ExNvrDeviceState,
3694
+ $a as ExNvrFootageAvailableStatus,
3695
+ ka as ExNvrMetricId,
3696
+ La as FeedbackContext,
3697
+ Xt as ForbiddenError,
3698
+ Ue as ForgeBimDialogTrigger,
3699
+ De as ForgeBimFileRejectionReason,
3700
+ Re as ForgeBimUploadMethod,
3701
+ _e as ForgeBimUploadStage,
3702
+ ir as GateReportDataSource,
3703
+ ar as GateReportDetectionType,
3704
+ nr as GateReportEventDirection,
3705
+ tr as GateReportEventType,
3706
+ lr as GateReportExportType,
3707
+ gr as GateReportProcessingStatus,
3708
+ Z as GateReportVehicleType,
3709
+ Lt as GatewayTimeoutError,
3710
+ Ea as GrafanaMetricId,
3711
+ mr as HddFormat,
3712
+ hr as HddSize,
3713
+ cr as HddState,
3714
+ Ge as HddStatus,
3715
+ pr as HddType,
3716
+ Po as HlsError,
3717
+ za as InfoPage,
3718
+ T as IngestApi,
3719
+ Sr as IngestProcessingStatus,
3720
+ p as IngestTypes,
3721
+ Tr as IngestVersions,
3722
+ Be as IntensityChange,
3723
+ So as IntensityChangeColorMap,
3724
+ qt as InternalServerError,
3725
+ aa as InviteStatus,
3726
+ Ka as KitAlarm,
3727
+ Aa as KitChartType,
3728
+ Ca as KitMetricId,
3729
+ Q as KitMetricPeriod,
3730
+ Ya as KitRegion,
3731
+ Ja as KitStatus,
3732
+ Ia as KitStorageTransport,
3733
+ St as LiveViewWidgetSettingsKeys,
3734
+ kr as MapType,
3735
+ we as MediaCategory,
3736
+ $e as MediaFileType,
3737
+ Te as MediaStatus,
3738
+ ke as MediaStatusId,
3739
+ Se as MediaType,
3740
+ $r as MobileAssetsType,
3741
+ Wa as MobileDevice,
3742
+ xt as NotFoundError,
3743
+ wr as NotificationType,
3744
+ Mr as NvrDeviceType,
3745
+ fr as NvrHddStatus,
3746
+ Fe as NvrModel,
3747
+ Do as OnRequestExpiredTokenInterceptor,
3748
+ Ha as Operator,
3749
+ se as PathMarkerColor,
3750
+ ia as PerformanceStatus,
3751
+ Ua as Persona,
3752
+ la as PlannerUrlParams,
3753
+ yr as PowerSchedule,
3754
+ Ir as PowerType,
3755
+ Ga as PpeLabel,
3756
+ Pr as ProcoreObservationCustomFieldDataType,
3757
+ Rr as ProcoreObservationDefaultFieldNames,
3758
+ _r as ProcoreToolUserAccessLevelIds,
3759
+ Dr as ProcoreTools,
3760
+ br as ProcoreType,
3761
+ Br as ProjectArchiveTier,
3762
+ Or as ProjectFeatureFlag,
3763
+ jr as ProjectStatus,
3764
+ Sa as ProjectStorageProvider,
3765
+ Fr as ProjectStorageStatus,
3766
+ Vo as PtzApi,
3767
+ Qa as PtzDirection,
3768
+ ht as RecordingsWidgetSettingsKeys,
3769
+ Lr as RoiDirection,
3770
+ zr as RoiShapeType,
3771
+ xr as RoiType,
3772
+ Ut as RoleResourceType,
3773
+ ra as RouterScanInputMode,
3774
+ ea as RouterStatus,
3775
+ sr as SegmentLabel,
3776
+ ta as ShareVisibility,
3777
+ ot as SiteAnalyticsMode,
3778
+ ct as SiteAnalyticsViewType,
3779
+ jt as SiteViewSoftwareType,
3780
+ Bt as SiteViewerType,
3781
+ st as SmartSearchComponentType,
3782
+ it as SmartSearchCondition,
3783
+ pt as SmartSearchConditionTypes,
3784
+ gt as SmartSearchOperatorType,
3785
+ mt as SmartSearchOperators,
3786
+ lt as SmartSearchReturnType,
3787
+ nt as SmartSearchTargets,
3788
+ oa as SmsCommands,
3789
+ sa as SmsStatuses,
3790
+ Ro as SnapshotError,
3791
+ vr as SnapshotExtractionInterval,
3792
+ rt as SnapshotExtractionStatus,
3793
+ at as SnapshotExtractionType,
3794
+ tt as SnapshotTransferStatus,
3795
+ Xa as TaskStatus,
3796
+ kt as ThreeSixtyKeys,
3797
+ wa as TimelapseDuration,
3798
+ Ra as TimelapseExportStep,
3799
+ fa as TimelapsePeriod,
3800
+ Ma as TimelapseScheduleType,
3801
+ ba as TimelapseStatus,
3802
+ Pa as TimelapseType,
3803
+ Qr as Timeline360UrlParams,
3804
+ Cr as TimelineAnprUrlParams,
3805
+ Yr as TimelineBimUrlParams,
3806
+ Ar as TimelineCommentsUrlParams,
3807
+ qr as TimelineDroneUrlParams,
3808
+ Kr as TimelineExNvrRecordingsUrlParams,
3809
+ Jr as TimelineMediaUrlParams,
3810
+ Er as TimelineMobileCaptureUrlParams,
3811
+ Za as TimelinePrecision,
3812
+ Xr as TimelineUrlParam,
3813
+ zt as UnauthorizedError,
3814
+ va as UnitSystem,
3815
+ Zr as UrlParamValue,
3816
+ Da as UserFeatureFlag,
3817
+ $o as VEHICLE_TYPE_IDS,
3818
+ Ht as VehicleClassifierSource,
3819
+ Uo as VideoWallApi,
3820
+ ja as VideoWallItemType,
3821
+ Tt as VideoWallWidgetSettingsKeys,
3822
+ Wr as VpnServer,
3823
+ dr as WarehouseLocation,
3824
+ ur as WarehouseLocationIndex,
3825
+ Fo as WeatherApi,
3826
+ Oa as WeatherProvider,
3827
+ Ba as WeatherReportScope,
3828
+ na as WebGLExtensions,
3829
+ Oo as WebRtcApi,
3830
+ bt as WidgetType,
3831
+ ko as WidgetTypesByResource,
3832
+ qa as ZoomDirection,
3833
+ ae as _360AssetLabel,
3834
+ re as _360AssetType,
3835
+ te as _360Feature,
3836
+ oe as _360IntergrationType,
3837
+ y as _360PinType,
3838
+ ee as _360UrlParams,
3839
+ jo as _3dFirebaseApi,
3840
+ xa as _3dViewer,
3025
3841
  a as axios,
3026
3842
  J as ensureCommonHeaders,
3027
- o as getAiApiUrl,
3028
- b as getFirebaseDbApi,
3029
- Dt as getFirebaseStorageToken,
3030
- _t as getFirebaseStorageUrl,
3031
- h as getIngestApiUrl,
3032
- c as getLabsBaseUrl,
3033
- X as onError,
3034
- ht as onRequest,
3035
- dt as onResponse,
3036
- Bt as queryStringToObject,
3037
- g as toQueryString
3843
+ L as getAiApiUrl,
3844
+ n as getAiApiUrlV2,
3845
+ l as getFirebaseDbApi,
3846
+ go as getFirebaseStorageToken,
3847
+ lo as getFirebaseStorageUrl,
3848
+ mo as getForgeTokenServerUrl,
3849
+ c as getIngestApiUrls,
3850
+ S as getLabsBaseUrl,
3851
+ wo as isCameraRole,
3852
+ bo as isProjectRole,
3853
+ q as onError,
3854
+ Kt as onRequest,
3855
+ Ct as onResponse,
3856
+ po as queryStringToObject,
3857
+ u as toQueryString
3038
3858
  };
3039
3859
  //# sourceMappingURL=index.js.map