@evercam/api 1.0.0-cd4690ce8 → 1.0.0-d0847b9fa

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 (131) hide show
  1. package/README.md +1 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +217 -0
  3. package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +104 -96
  4. package/dist/api/api/aiApi.d.ts +214 -0
  5. package/dist/api/api/authzApi.d.ts +40 -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} +144 -101
  9. package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +7 -6
  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 +162 -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 +375 -0
  18. package/dist/{types → api/types}/aconex.d.ts +9 -9
  19. package/dist/api/types/admin.d.ts +51 -0
  20. package/dist/api/types/aiConfigs.d.ts +242 -0
  21. package/dist/{types → api/types}/analytics.d.ts +149 -59
  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 +132 -0
  25. package/dist/{types → api/types}/autodesk.d.ts +7 -7
  26. package/dist/{types → api/types}/automation.d.ts +56 -3
  27. package/dist/{types → api/types}/axios.d.ts +19 -14
  28. package/dist/{types → api/types}/bim.d.ts +38 -9
  29. package/dist/{types → api/types}/camera.d.ts +102 -106
  30. package/dist/{types → api/types}/comments.d.ts +10 -11
  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 +5 -5
  34. package/dist/{types → api/types}/coolify.d.ts +18 -2
  35. package/dist/{types → api/types}/copilot.d.ts +11 -9
  36. package/dist/{types → api/types}/credentials.d.ts +1 -0
  37. package/dist/{types → api/types}/detections.d.ts +23 -18
  38. package/dist/api/types/drone.d.ts +107 -0
  39. package/dist/{types → api/types}/errors.d.ts +13 -1
  40. package/dist/{types → api/types}/gateReport.d.ts +49 -168
  41. package/dist/api/types/gateReportManagement.d.ts +170 -0
  42. package/dist/api/types/hammertech.d.ts +98 -0
  43. package/dist/{types → api/types}/hdd.d.ts +26 -1
  44. package/dist/{types → api/types}/index.d.ts +15 -2
  45. package/dist/api/types/ingest.d.ts +234 -0
  46. package/dist/{types → api/types}/kit.d.ts +74 -56
  47. package/dist/api/types/map.d.ts +16 -0
  48. package/dist/{types → api/types}/media.d.ts +10 -3
  49. package/dist/api/types/notification.d.ts +96 -0
  50. package/dist/api/types/oauth.d.ts +62 -0
  51. package/dist/api/types/observationEvents.d.ts +61 -0
  52. package/dist/api/types/observations.d.ts +85 -0
  53. package/dist/api/types/planner.d.ts +124 -0
  54. package/dist/api/types/posthog.d.ts +53 -0
  55. package/dist/{types → api/types}/procore.d.ts +13 -6
  56. package/dist/{types → api/types}/progressPhoto.d.ts +6 -2
  57. package/dist/api/types/project.d.ts +254 -0
  58. package/dist/{types → api/types}/recording.d.ts +10 -15
  59. package/dist/{types → api/types}/recycleBin.d.ts +1 -1
  60. package/dist/api/types/ring.d.ts +53 -0
  61. package/dist/{types → api/types}/roi.d.ts +3 -11
  62. package/dist/{types → api/types}/routeParams.d.ts +1 -0
  63. package/dist/{types → api/types}/router.d.ts +20 -1
  64. package/dist/{types → api/types}/shared.d.ts +29 -22
  65. package/dist/api/types/shares.d.ts +45 -0
  66. package/dist/{types → api/types}/sim.d.ts +6 -6
  67. package/dist/api/types/siteAnalytics.d.ts +285 -0
  68. package/dist/api/types/siteAnalyticsManagement.d.ts +117 -0
  69. package/dist/api/types/siteView.d.ts +73 -0
  70. package/dist/api/types/smartSeach.d.ts +5 -0
  71. package/dist/{types → api/types}/snapshots.d.ts +49 -4
  72. package/dist/api/types/socket.d.ts +4 -0
  73. package/dist/api/types/storageProvider.d.ts +19 -0
  74. package/dist/api/types/storyblok.d.ts +27 -0
  75. package/dist/{types → api/types}/streaming.d.ts +3 -3
  76. package/dist/{types → api/types}/tag.d.ts +1 -1
  77. package/dist/api/types/time.d.ts +7 -0
  78. package/dist/{types → api/types}/timelapse.d.ts +7 -11
  79. package/dist/{types → api/types}/user.d.ts +106 -35
  80. package/dist/api/types/videoWall.d.ts +66 -0
  81. package/dist/{types → api/types}/weather.d.ts +75 -11
  82. package/dist/{types → api/types}/widget.d.ts +72 -11
  83. package/dist/{types → api/types}/xweather.d.ts +4 -4
  84. package/dist/{utils.d.ts → api/utils.d.ts} +0 -1
  85. package/dist/index.d.ts +2 -3
  86. package/dist/index.js +2334 -1087
  87. package/dist/index.js.map +1 -1
  88. package/dist/index.umd.cjs +1 -1
  89. package/dist/index.umd.cjs.map +1 -1
  90. package/dist/shared/api/index.d.ts +3 -0
  91. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  92. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  93. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  94. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  95. package/dist/shared/types/components.d.ts +374 -0
  96. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  97. package/dist/shared/types/imagePlayer.d.ts +41 -0
  98. package/dist/shared/types/index.d.ts +7 -0
  99. package/dist/shared/types/observations.d.ts +21 -0
  100. package/dist/shared/types/rbac.d.ts +67 -0
  101. package/dist/shared/types/timeline.d.ts +10 -0
  102. package/package.json +4 -2
  103. package/dist/api/3dFirebaseApi.d.ts +0 -21
  104. package/dist/api/aiApi.d.ts +0 -155
  105. package/dist/api/authzApi.d.ts +0 -21
  106. package/dist/api/ingestApi.d.ts +0 -95
  107. package/dist/api/videoWallApi.d.ts +0 -9
  108. package/dist/types/360.d.ts +0 -141
  109. package/dist/types/drone.d.ts +0 -17
  110. package/dist/types/ingest.d.ts +0 -51
  111. package/dist/types/map.d.ts +0 -4
  112. package/dist/types/notification.d.ts +0 -27
  113. package/dist/types/planner.d.ts +0 -32
  114. package/dist/types/posthog.d.ts +0 -18
  115. package/dist/types/project.d.ts +0 -132
  116. package/dist/types/shares.d.ts +0 -196
  117. package/dist/types/siteAnalytics.d.ts +0 -163
  118. package/dist/types/storageServers.d.ts +0 -4
  119. package/dist/types/time.d.ts +0 -25
  120. package/dist/types/vendorModel.d.ts +0 -15
  121. package/dist/types/videoWall.d.ts +0 -33
  122. /package/dist/api/{client → api/client}/customErrors.d.ts +0 -0
  123. /package/dist/api/{client → api/client}/index.d.ts +0 -0
  124. /package/dist/api/{client → api/client}/interceptors.d.ts +0 -0
  125. /package/dist/api/{client → api/client}/swr/SwrStore.d.ts +0 -0
  126. /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
  127. /package/dist/{types → api/types}/countries.d.ts +0 -0
  128. /package/dist/{types → api/types}/nvr.d.ts +0 -0
  129. /package/dist/{types → api/types}/sso.d.ts +0 -0
  130. /package/dist/{types → api/types}/systemCheck.d.ts +0 -0
  131. /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
package/dist/index.js CHANGED
@@ -1,12 +1,44 @@
1
- var E = Object.defineProperty;
2
- var A = (e, r, t) => r in e ? E(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
- var B = (e, r, t) => A(e, typeof r != "symbol" ? r + "" : r, t);
4
- import $ from "axios";
5
- import P 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))(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.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))(te || {}), se = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.Text = "TextField", e.DateTime = "DateTimeField", e.Switch = "SwitchField", e))(se || {}), oe = /* @__PURE__ */ ((e) => (e.Mandatory = "MANDATORY", e.NotMandatory = "NOT_MANDATORY", e))(oe || {}), ie = /* @__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))(ie || {}), le = /* @__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.Drawings = "Drawings", e))(le || {}), 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.WidgetsSelectTypeThreeSixty = "Widgets-SelectType360", e.WidgetsSelectProject = "SelectProject", e.WidgetsSelect360Date = "Select360Date", e.WidgetsSelect360Floor = "Select360Floor", e.WidgetsSelect360Marker = "Select360Marker", e.Widgets360LockMedia = "360LockMedia", 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.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.ThreeSixtyGalleryFilterAssetTypes = "Gallery-FilterAssetTypes", 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.DrawingUpdateName = "UpdateName", e.DrawingEditName = "EditName", 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.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.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.ProgressPhotoEditSelectedCameras = "ProgressPhoto-EditSelectedCameras", 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.CompareSelectProvider = "Compare-SelectProvider", e.CompareEditSelectedCameras = "Compare-EditSelectedCameras", 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.AutomationsSelectProgressPhoto = "SelectProgressPhoto", e.AutomationsSelectCompare = "SelectCompare", e.AutomationsCreateCompare = "CreateCompare", e.AutomationToggleEditDialog = "ToggleEditDialog", e.AutomationToggleCreateDialog = "ToggleCreateDialog", e.AutomationTypeName = "TypeName", 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.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 || {}), ge = /* @__PURE__ */ ((e) => (e.Left = "reverse", e.Arrived = "forward", e.Unknown = "unknown", e))(ge || {}), me = /* @__PURE__ */ ((e) => (e.IsPlate = "is_plate", e.NotPlate = "not_plate", e.IsDuplicate = "is_duplicate", e.NotDuplicate = "not_duplicate", e))(me || {}), pe = /* @__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))(pe || {}), ce = /* @__PURE__ */ ((e) => (e.Gif = "gif", e.Mp4 = "mp4", e.Png = "png", e.Pdf = "pdf", e.Jpeg = "jpeg", e))(ce || {}), ue = /* @__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))(ue || {}), he = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Processing = 1] = "Processing", e[e.Completed = 2] = "Completed", e[e.Failed = 3] = "Failed", e))(he || {}), de = /* @__PURE__ */ ((e) => (e.HealthSafetySecurity = "health_safety_security", e.Legal = "legal", e.Marketing = "marketing", e.BestPracticies = "best_practices", e))(de || {}), Se = /* @__PURE__ */ ((e) => (e.Architectural = "Architectural", e.Structural = "Structural", e.FourD = "4D", e.Mep = "Mep", e))(Se || {}), Te = /* @__PURE__ */ ((e) => (e[e.Initial = 0] = "Initial", e[e.Saving = 1] = "Saving", e[e.Success = 2] = "Success", e[e.Failed = 3] = "Failed", e))(Te || {}), $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 || {}), be = /* @__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))(be || {}), ke = /* @__PURE__ */ ((e) => (e.High = "#FF5252", e.Moderate = "#FBC02D", e.Low = "#006400", e.NoChange = "#3ACF3A", e.Default = "black", e))(ke || {}), Pe = /* @__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))(Pe || {}), we = /* @__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))(we || {}), Me = /* @__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))(Me || {}), fe = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notExist", e.Unformatted = "unformatted", e.Ok = "ok", e))(fe || {}), Re = /* @__PURE__ */ ((e) => (e.Host = "host", e.CameraHttpPort = "camera_http_port", e.NvrHttpPort = "nvr_http_port", e.NvrDeviceId = "nvr_device_id", e))(Re || {}), Ue = /* @__PURE__ */ ((e) => (e.TwoD = "2D", e.Forge = "Forge", e))(Ue || {}), De = /* @__PURE__ */ ((e) => (e[e.Processing = 0] = "Processing", e[e.Completed = 1] = "Completed", e[e.Failed = 2] = "Failed", e))(De || {}), _e = /* @__PURE__ */ ((e) => (e.Copilot = "copilot", e.User = "user", e.System = "system", e))(_e || {}), Be = /* @__PURE__ */ ((e) => (e.Text = "text", e.Progress = "progress", e.Error = "error", e.Json = "json", e))(Be || {}), je = /* @__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))(je || {}), Oe = /* @__PURE__ */ ((e) => (e.ProjectExid = "Project", e.CameraExid = "Camera", e.FromDate = "Start date", e.ToDate = "End date", e))(Oe || {}), Ne = /* @__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))(Ne || {}), Ve = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGPT = "chatgpt", e))(Ve || {}), Ge = /* @__PURE__ */ ((e) => (e.UserManual = "user_manual", e.GateReport = "gate_report", e.Weather = "weather", e.Clip = "clip", e.Timelapse = "timelapse", e.Chart = "chart", e))(Ge || {}), He = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGpt = "chatGpt", e))(He || {}), ve = /* @__PURE__ */ ((e) => (e.Floating = "floating", e))(ve || {}), Fe = /* @__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))(Fe || {}), We = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.DateTime = "DateTimeField", e.Schedule = "ScheduleField", e.MultiOptions = "MultiOptionsField", e.Switch = "SwitchField", e))(We || {}), ze = /* @__PURE__ */ ((e) => (e.ProjectExid = "projectExid", e.CameraExid = "cameraExid", e.FromDate = "fromDate", e.ToDate = "toDate", e.Schedule = "schedule", e.Duration = "duration", e))(ze || {}), xe = /* @__PURE__ */ ((e) => (e.Boolean = "boolean", e.String = "string", e.Number = "number", e))(xe || {}), Le = /* @__PURE__ */ ((e) => (e.Date = "date", e))(Le || {}), h = /* @__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))(h || {}), 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 || {}), Ze = /* @__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))(Ze || {}), qe = /* @__PURE__ */ ((e) => (e.Auto = "auto", e.Manual = "manual", e.Cloud = "cloud", e.Edge = "edge", e))(qe || {}), Xe = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e))(Xe || {}), Je = /* @__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))(Je || {}), Qe = /* @__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))(Qe || {}), 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 || {}), Ye = /* @__PURE__ */ ((e) => (e.Anpr = "anpr", e.Events = "events", e))(Ye || {}), Ke = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e.Unknown = "unknown", e))(Ke || {}), Ee = /* @__PURE__ */ ((e) => (e.Pdf = "pdf", e.Csv = "csv", e))(Ee || {}), Ae = /* @__PURE__ */ ((e) => (e.Rectangle = "rectangle", e.Direction = "direction", e.Line = "line", e))(Ae || {}), Ce = /* @__PURE__ */ ((e) => (e.Processed = "processed", e.Unprocessed = "unprocessed", e))(Ce || {});
7
- const N = Object.values(L);
8
- var Ie = /* @__PURE__ */ ((e) => (e.ExFat = "ExFAT", e.HikFs = "HikFS", e))(Ie || {}), ye = /* @__PURE__ */ ((e) => (e.Magnetic35 = '3.5" Magnetic', e.Magnetic25 = '2.5" Magnetic', e.Ssd25 = '2.5" SSD', e))(ye || {}), er = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.InUse = "In Use", e.ColdStorage = "Cold Storage", e))(er || {}), rr = /* @__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))(rr || {}), ar = /* @__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))(ar || {}), tr = /* @__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))(tr || {}), 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 || {}), or = /* @__PURE__ */ ((e) => (e.Audio = "mobile_audios", e.Photo = "mobile_photos", e))(or || {}), m = /* @__PURE__ */ ((e) => (e.V1 = "v1", e.V2 = "v2", e))(m || {}), ir = /* @__PURE__ */ ((e) => (e.Hybrid = "hybrid", e.Terrain = "terrain", e))(ir || {}), 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 || {}), lr = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.Photos = "photos", e))(lr || {}), nr = /* @__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))(nr || {}), gr = /* @__PURE__ */ ((e) => (e.Rpi4 = "rpi4", e.Rpi5 = "rpi5", e.OrinNano = "orin_nano", e.Giraffe = "giraffe", e))(gr || {}), mr = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notexist", e.Ok = "ok", e.Unformatted = "unformatted", e))(mr || {}), 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 || {}), cr = /* @__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))(cr || {}), ur = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.ProgressPhotos = "images", e))(ur || {}), hr = /* @__PURE__ */ ((e) => (e[e.NoAccess = 1] = "NoAccess", e[e.ReadOnly = 2] = "ReadOnly", e[e.Standard = 3] = "Standard", e[e.Admin = 4] = "Admin", e))(hr || {}), dr = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.Pause = "pause", e))(dr || {}), Sr = /* @__PURE__ */ ((e) => (e.ToStart = "To Start", e.InProgress = "In Progress", e.Completed = "Completed", e.NotAplicable = "Not Applicable", e))(Sr || {}), Tr = /* @__PURE__ */ ((e) => (e.Full = "Full", e.Partial = "Partial", e.Minimal = "Minimal", e.ScheduledForDeletion = "Scheduled for Deletion", e))(Tr || {}), $r = /* @__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))($r || {}), br = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segmentation = "sam", e))(br || {}), kr = /* @__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))(kr || {}), Pr = /* @__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))(Pr || {}), wr = /* @__PURE__ */ ((e) => (e.On = "on", e.Off = "off", e.Paused = "paused", e.OnScheduled = "on-scheduled", e))(wr || {}), Mr = /* @__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))(Mr || {}), fr = /* @__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))(fr || {}), Rr = /* @__PURE__ */ ((e) => (e.Gate = "gate", e.AnprContext = "anpr_context", e.ExclusionZone = "exclusion_zone", e.WorkflowArea = "workflow_area", e.SiteAnalytics = "site_analytics", e))(Rr || {}), Ur = /* @__PURE__ */ ((e) => (e.Polygon = "polygon", e.Line = "line", e.Direction = "direction", e.Rectangle = "rectangle", e.ROIBox = "ROIBox", e))(Ur || {}), Dr = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e.Bidirectional = "arrived,left", e))(Dr || {}), _r = /* @__PURE__ */ ((e) => (e.True = "true", e.False = "false", e))(_r || {}), Br = /* @__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))(Br || {}), jr = /* @__PURE__ */ ((e) => (e.Show360 = "show360", e))(jr || {}), Or = /* @__PURE__ */ ((e) => (e.ShowDrone = "showDrone", e))(Or || {}), Nr = /* @__PURE__ */ ((e) => (e.ShowMedia = "showMedia", e))(Nr || {}), Vr = /* @__PURE__ */ ((e) => (e.ShowBim = "showBim", e))(Vr || {}), Gr = /* @__PURE__ */ ((e) => (e.ShowExNvrRecordings = "showExNvrRecordings", e))(Gr || {}), Hr = /* @__PURE__ */ ((e) => (e.ShowAnpr = "showAnpr", e))(Hr || {}), vr = /* @__PURE__ */ ((e) => (e.ShowMobileCapture = "showMobileCapture", e))(vr || {}), Fr = /* @__PURE__ */ ((e) => (e.ShowComments = "showComments", e.SelectedCommentId = "selectedCommentId", e))(Fr || {}), Wr = /* @__PURE__ */ ((e) => (e.Mains = "mains", e.Battery = "battery", e.Solar = "solar", e.Generator = "generator", e.Other = "other", e))(Wr || {}), zr = /* @__PURE__ */ ((e) => (e.Schedule = "schedule", e.FullTime = "24/7", e))(zr || {}), xr = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(xr || {}), Lr = /* @__PURE__ */ ((e) => (e.Minimum = "minimum", e.Share = "minimal+share", e.Full = "full", e.Custom = "custom", e))(Lr || {}), Zr = /* @__PURE__ */ ((e) => (e.Share = "share", e.Request = "request", e))(Zr || {}), qr = /* @__PURE__ */ ((e) => (e[e.Pending = -1] = "Pending", e[e.Cancelled = -2] = "Cancelled", e[e.Failed = -3] = "Failed", e[e.Used = 1] = "Used", e))(qr || {}), Xr = /* @__PURE__ */ ((e) => (e.PublicDiscoverable = "publicDiscoverable", e.PublicUndiscoverable = "publicUndiscoverable", e.Private = "private", e))(Xr || {}), Jr = /* @__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))(Jr || {}), Qr = /* @__PURE__ */ ((e) => (e.Delivered = "Delivered", e.Accepted = "accepted", e.Pending = "Pending", e))(Qr || {}), Yr = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Done = "done", e))(Yr || {}), Kr = /* @__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))(Kr || {}), Er = /* @__PURE__ */ ((e) => (e.FreeRotate = "freeRotate", e.Lock = "lock", e))(Er || {}), Ar = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.Satellite = "Satellite", e.Street = "Street", e.GoogleSatellite = "hybrid", e.GoogleStreet = "roadmap", e.GoogleTerrain = "terrain", e))(Ar || {}), Cr = /* @__PURE__ */ ((e) => (e.CameraMarker = "cameraMarker", e.ThreeSixtyMarker = "threeSixtyMarkers", e))(Cr || {}), Ir = /* @__PURE__ */ ((e) => (e.List = "list", e.Item = "item", e))(Ir || {}), yr = /* @__PURE__ */ ((e) => (e.Home = "/", e.Session = "/session", e))(yr || {}), ea = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.Overlay = "overlay", e))(ea || {}), ra = /* @__PURE__ */ ((e) => (e.Admin = "admin", e.User = "user", e))(ra || {}), aa = /* @__PURE__ */ ((e) => (e.Available = "Available", e.NotAvailable = "Not Available", e))(aa || {}), ta = /* @__PURE__ */ ((e) => (e.Recording = "recording", e.Failed = "failed", e.Stopped = "stopped", e))(ta || {}), sa = /* @__PURE__ */ ((e) => (e.CpuLoad = "cpu_load", e.RamUsage = "ram_usage", e))(sa || {}), oa = /* @__PURE__ */ ((e) => (e[e.Pending = 11] = "Pending", e[e.Completed = 5] = "Completed", e[e.Failed = 7] = "Failed", e))(oa || {}), ia = /* @__PURE__ */ ((e) => (e[e.ThirtySeconds = 30] = "ThirtySeconds", e[e.SixtySeconds = 60] = "SixtySeconds", e[e.NintySeconds = 90] = "NintySeconds", e))(ia || {}), la = /* @__PURE__ */ ((e) => (e.Continuous = "continuous", e.WorkingHours = "workingHours", e.Custom = "custom", e))(la || {}), na = /* @__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))(na || {}), ga = /* @__PURE__ */ ((e) => (e.Hour = "hour", e.Day = "day", e.Week = "week", e.Month = "month", e.Year = "year", e.FullProject = "full_project", e))(ga || {}), ma = /* @__PURE__ */ ((e) => (e[e.Format = 1] = "Format", e[e.Effects = 2] = "Effects", e[e.Confirm = 3] = "Confirm", e[e.Finish = 4] = "Finish", e))(ma || {}), pa = /* @__PURE__ */ ((e) => (e.CompanyAdmin = "company-admin", e.VideoWalls = "video-walls", e.MassCameraSharing = "mass-camera-sharing", e.Copilot = "copilot", e.ProjectSharing = "project-sharing", e))(pa || {}), ca = /* @__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))(ca || {}), ua = /* @__PURE__ */ ((e) => (e.LiveView = "live", e.Video = "video", e.Image = "image", e))(ua || {}), ha = /* @__PURE__ */ ((e) => (e.WeatherStack = "weather_stack", e.XWeather = "xweather", e))(ha || {}), da = /* @__PURE__ */ ((e) => (e.Recordings = "recordings", e.ThreeSixty = "360", e.Drone = "drone", e))(da || {}), Sa = /* @__PURE__ */ ((e) => (e.Info = "Info", e.Danger = "Danger", e.Restricted = "Restricted", e))(Sa || {}), Ta = /* @__PURE__ */ ((e) => (e.Helmet = "helmet", e.HighVisibilityVest = "high-visibility-vest", e.SafetyGlasses = "safety-glasses", e.Person = "person", e.Man = "man", e.Woman = "woman", e))(Ta || {}), $a = /* @__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))($a || {}), ba = /* @__PURE__ */ ((e) => (e.Imperial = "imperial", e.Metric = "metric", e))(ba || {}), ka = /* @__PURE__ */ ((e) => (e.Ios = "ios", e.Android = "android", e))(ka || {}), Pa = /* @__PURE__ */ ((e) => (e.Itwin = "itwin", e.Cesium = "cesium", e))(Pa || {}), wa = /* @__PURE__ */ ((e) => (e.ThreeSixtyView = "360", e.BIMView = "bim", e.BimCompare = "bim-compare", e.GateReport = "gate-report", e.DroneView = "drone-view", e.Compare = "compare", e.Timeline = "timeline", e.WeatherReport = "weather-report", e))(wa || {}), Z = /* @__PURE__ */ ((e) => (e.Jpeg = "jpeg", e.Pdf = "pdf", e.Csv = "csv", e))(Z || {}), Ma = /* @__PURE__ */ ((e) => (e.CopilotMessage = "copilot_message", e))(Ma || {}), fa = /* @__PURE__ */ ((e) => (e.Year = "year", e.Month = "month", e.Week = "week", e.Day = "day", e.Hour = "hour", e.Minute = "minute", e.Events = "events", e))(fa || {}), Ra = /* @__PURE__ */ ((e) => (e.Idle = "idle", e.Loading = "loading", e.Success = "success", e.Error = "error", e))(Ra || {}), Ua = /* @__PURE__ */ ((e) => (e.Up = "up", e.Down = "down", e.Left = "left", e.Right = "right", e))(Ua || {}), Da = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e))(Da || {}), _a = /* @__PURE__ */ ((e) => (e.New = "new", e.Active = "active", e.Deployed = "deployed", e.Decommissioned = "decommissioned", e))(_a || {}), Ba = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.EMEA = "emea", e.LATAM = "latam", e.US = "na", e))(Ba || {}), ja = /* @__PURE__ */ ((e) => (e.NvrOffline = "nvr_offline", e.OfflineScheduled = "offline_scheduled", e.UnknownCamera = "unknown_camera", e.NotRecordingCamera = "not_recording_camera", e.FullSD = "full_sd", e.FullStorage = "full_storage", e.HddUnmounted = "hdd_unmounted", e.NoHdd = "no_hdd", e.MissingRouterInfo = "missing_router_info", e.AcFailure = "ac_failure", e.LowBattery = "low_battery", e))(ja || {}), Oa = /* @__PURE__ */ ((e) => (e.SolarCharger = "solar_charger", e.PanelPower = "panel_power", e))(Oa || {}), 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 || {}), Na = /* @__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))(Na || {}), Va = /* @__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))(Va || {}), Ga = /* @__PURE__ */ ((e) => (e.Sata = "sata", e.Nvme = "nvme", e.Usb = "usb", e))(Ga || {}), Ha = /* @__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))(Ha || {}), va = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Failed = "failed", e.Processing = "processing", e))(va || {}), Fa = /* @__PURE__ */ ((e) => (e.Cloud = "cloud", e.Local = "local", e.Timelapse = "timelapse", e))(Fa || {}), Wa = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segments = "segments", e))(Wa || {}), za = /* @__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.Heatmap = "heatmap", e))(za || {}), xa = /* @__PURE__ */ ((e) => (e.InArea = "in_area", e.Intersects = "intersects", e.Time = "time", e))(xa || {}), La = /* @__PURE__ */ ((e) => (e.Tracking = "tracking", e.Segments = "segments", e))(La || {}), Za = /* @__PURE__ */ ((e) => (e.All = "all", e.FirstLastSeen = "first_last_seen", e))(Za || {}), qa = /* @__PURE__ */ ((e) => (e.And = "AND", e.Or = "OR", e))(qa || {}), Xa = /* @__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))(Xa || {}), Ja = /* @__PURE__ */ ((e) => (e.Selection = "selection", e.Spatial = "spatial", e.Area = "area", e.Iou = "iou", e.Near = "near", e.Far = "far", e))(Ja || {}), Qa = /* @__PURE__ */ ((e) => (e.Minute = "Minutes", e.Hour = "Hours", e.Day = "Days", e))(Qa || {}), Ya = /* @__PURE__ */ ((e) => (e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ya || {}), Ka = /* @__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))(Ka || {}), Ea = /* @__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))(Ea || {}), Aa = /* @__PURE__ */ ((e) => (e.Timeline = "timeline", e.Calendar = "calendar", e.DarkMode = "darkMode", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Aa || {}), Ca = /* @__PURE__ */ ((e) => (e.Preset = "preset", e.RefreshRate = "refreshRate", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Ca || {}), Ia = /* @__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))(Ia || {}), ya = /* @__PURE__ */ ((e) => (e.LiveWidget = "Live View", e.Recording = "Recordings", e.BimCompare = "BIM Compare", e.VideoWall = "Video Wall", e.ThreeSixty = "360", e))(ya || {});
9
- const vt = {
1
+ var I = Object.defineProperty;
2
+ var y = (e, r, t) => r in e ? I(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
3
+ var F = (e, r, t) => y(e, typeof r != "symbol" ? r + "" : r, t);
4
+ import w from "axios";
5
+ import D from "humps";
6
+ var ee = /* @__PURE__ */ ((e) => (e.Default = "Default", e))(ee || {}), re = /* @__PURE__ */ ((e) => (e.DateId = "dateId", e.Date = "date", e.Floor = "floor", e.Marker = "marker", e.PolarAngle = "polarAngle", e.AzimuthAngle = "azimuthAngle", e.Zoom = "zoom", e.User = "user", e.ViewerMode = "viewer_mode", e.ProjectId = "projectId", e.Unit = "unit", e.LockDate = "lockDate", e.LockFloor = "lockFloor", e.LockMarker = "lockMarker", e.IsWidget = "isWidget", e.MediaLocked = "mediaLocked", e.Debug = "debug", e.RequiresValidation = "requires_validation", e))(re || {}), ae = /* @__PURE__ */ ((e) => (e.Video = "video", e.Image = "image", e.Model = "model", e.Route = "route", e.MobilePhoto = "mobile_photos", e.MobileAudio = "mobile_audios", e))(ae || {}), te = /* @__PURE__ */ ((e) => (e.Walks = "walks", e.MobilePhotos = "mobilePhotos", 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.FBX = "FBX", e.PointCloud = "PLY", e))(ie || {}), ne = /* @__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))(ne || {}), le = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.Text = "TextField", e.DateTime = "DateTimeField", e.Switch = "SwitchField", e))(le || {}), ge = /* @__PURE__ */ ((e) => (e.Mandatory = "MANDATORY", e.NotMandatory = "NOT_MANDATORY", e))(ge || {}), pe = /* @__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))(pe || {}), 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 || {}), ce = /* @__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.SettingsConnectorsConnectToHammertech = "ConnectToHammertech", e.SettingsConnectorsRemoveHammertechConnection = "RemoveHammertech", e.SettingsConnectorsToggleHammertechDialog = "ToggleHammertechDialog", 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.XraySendToConnectorHammerTech = "Xray-SendToConnector-HammerTech", 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.MarkUpToolSendToConnectorHammerTech = "MarkUpTool-SendToConnector-HammerTech", 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.ThreeSixtyMeasuringPerformed = "measuring_performed", 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.ThreeSixtyToggleCameraPinsVisibility = "toggle_camera_pins_visibility", 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.DroneToggleGlobe = "ToggleGlobe", 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.DrawingsSelectPdfPage = "SelectPdfPage", e.DrawingsDeleteDrawing = "DeleteDrawing", 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))(ce || {}), ue = /* @__PURE__ */ ((e) => (e.Left = "reverse", e.Arrived = "forward", e.Unknown = "unknown", e))(ue || {}), de = /* @__PURE__ */ ((e) => (e.IsPlate = "is_plate", e.NotPlate = "not_plate", e.IsDuplicate = "is_duplicate", e.NotDuplicate = "not_duplicate", e))(de || {}), he = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Running = "running", e.Completed = "completed", e.Failed = "failed", e))(he || {}), Se = /* @__PURE__ */ ((e) => (e.All = "all", e.AiDbOnly = "ai_db_only", e.ImagesOnly = "images_only", e))(Se || {}), $e = /* @__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))($e || {}), Te = /* @__PURE__ */ ((e) => (e.Gif = "gif", e.Mp4 = "mp4", e.Png = "png", e.Pdf = "pdf", e.Jpeg = "jpeg", e.Csv = "csv", e))(Te || {}), ke = /* @__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))(ke || {}), be = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Processing = 1] = "Processing", e[e.Completed = 2] = "Completed", e[e.Failed = 3] = "Failed", e))(be || {}), we = /* @__PURE__ */ ((e) => (e.HealthSafetySecurity = "health_safety_security", e.Legal = "legal", e.Marketing = "marketing", e.BestPracticies = "best_practices", e))(we || {}), fe = /* @__PURE__ */ ((e) => (e.Weather = "weather", e.SmartSearch = "smart_search", e.Copilot = "copilot", e))(fe || {}), Me = /* @__PURE__ */ ((e) => (e.Architectural = "Architectural", e.Structural = "Structural", e.FourD = "4D", e.Mep = "Mep", e))(Me || {}), Re = /* @__PURE__ */ ((e) => (e[e.Initial = 0] = "Initial", e[e.Saving = 1] = "Saving", e[e.Success = 2] = "Success", e[e.Failed = 3] = "Failed", e))(Re || {}), De = /* @__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))(De || {}), Pe = /* @__PURE__ */ ((e) => (e.FileUpload = "file_upload", e.AutodeskAcc = "autodesk_acc", e))(Pe || {}), _e = /* @__PURE__ */ ((e) => (e.InvalidType = "invalid_type", e.ExceedsSizeLimit = "exceeds_size_limit", e))(_e || {}), je = /* @__PURE__ */ ((e) => (e.TusUpload = "tus_upload", e.IngestUpload = "ingest_upload", e))(je || {}), Ue = /* @__PURE__ */ ((e) => (e.UpdateModel = "update_model", e.AddModel = "add_model", e.InitialSetup = "initial_setup", e))(Ue || {}), Be = /* @__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))(Be || {}), Fe = /* @__PURE__ */ ((e) => (e.High = "High", e.Moderate = "Moderate", e.Low = "Low", e.NoChange = "No change", e.Default = "Default", e))(Fe || {});
7
+ const Vo = {
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.NoRecordings = "no_recordings", e.Ring = "ring", e.CloudOnly = "cloud_only", e))(Oe || {}), ve = /* @__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))(ve || {}), Ve = /* @__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))(Ve || {}), He = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notExist", e.Unformatted = "unformatted", e.Ok = "ok", e))(He || {}), Ne = /* @__PURE__ */ ((e) => (e.Host = "host", e.CameraHttpPort = "camera_http_port", e.NvrHttpPort = "nvr_http_port", e.NvrDeviceId = "nvr_device_id", e))(Ne || {}), Ge = /* @__PURE__ */ ((e) => (e.TwoD = "2D", e.Forge = "Forge", e))(Ge || {}), xe = /* @__PURE__ */ ((e) => (e[e.Processing = 0] = "Processing", e[e.Completed = 1] = "Completed", e[e.Failed = 2] = "Failed", e))(xe || {}), We = /* @__PURE__ */ ((e) => (e.Copilot = "copilot", e.User = "user", e.System = "system", e))(We || {}), ze = /* @__PURE__ */ ((e) => (e.Text = "text", e.Progress = "progress", e.Error = "error", e.Json = "json", e))(ze || {}), Le = /* @__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))(Le || {}), Ze = /* @__PURE__ */ ((e) => (e.ProjectExid = "Project", e.CameraExid = "Camera", e.FromDate = "Start date", e.ToDate = "End date", e))(Ze || {}), Xe = /* @__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))(Xe || {}), Qe = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGPT = "chatgpt", e))(Qe || {}), 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 || {}), Je = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.ChatGpt = "chatGpt", e))(Je || {}), Ye = /* @__PURE__ */ ((e) => (e.Floating = "floating", e))(Ye || {}), Ke = /* @__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))(Ke || {}), Ce = /* @__PURE__ */ ((e) => (e.Select = "SelectField", e.DateTime = "DateTimeField", e.Schedule = "ScheduleField", e.MultiOptions = "MultiOptionsField", e.Switch = "SwitchField", e))(Ce || {}), Ee = /* @__PURE__ */ ((e) => (e.ProjectExid = "projectExid", e.CameraExid = "cameraExid", e.FromDate = "fromDate", e.ToDate = "toDate", e.Schedule = "schedule", e.Duration = "duration", e))(Ee || {}), Ae = /* @__PURE__ */ ((e) => (e.Boolean = "boolean", e.String = "string", e.Number = "number", e))(Ae || {}), Ie = /* @__PURE__ */ ((e) => (e.AerialShot = "AerialShot", e))(Ie || {}), ye = /* @__PURE__ */ ((e) => (e.Default = "Default", e.Gate = "Gate", e.Indoor = "Indoor", e))(ye || {}), er = /* @__PURE__ */ ((e) => (e.Date = "date", e))(er || {}), rr = /* @__PURE__ */ ((e) => (e.Evercam = "Evercam", e.DroneDeploy = "DroneDeploy", e))(rr || {}), $ = /* @__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[e.GoneError = 410] = "GoneError", e))(k || {}), ar = /* @__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))(ar || {}), tr = /* @__PURE__ */ ((e) => (e.Auto = "auto", e.Manual = "manual", e.Cloud = "cloud", e.Edge = "edge", e))(tr || {}), or = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e))(or || {}), sr = /* @__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))(sr || {}), ir = /* @__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))(ir || {}), X = /* @__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))(X || {}), nr = /* @__PURE__ */ ((e) => (e.Anpr = "anpr", e.Events = "events", e))(nr || {}), lr = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e.Unknown = "unknown", e))(lr || {}), gr = /* @__PURE__ */ ((e) => (e.Pdf = "pdf", e.Csv = "csv", e))(gr || {}), pr = /* @__PURE__ */ ((e) => (e.Processed = "processed", e.Unprocessed = "unprocessed", e))(pr || {});
15
+ const Ho = Object.values(X);
16
+ var mr = /* @__PURE__ */ ((e) => (e.ExFat = "ExFAT", e.HikFs = "HikFS", e))(mr || {}), cr = /* @__PURE__ */ ((e) => (e.Magnetic35 = '3.5" Magnetic', e.Magnetic25 = '2.5" Magnetic', e.Ssd25 = '2.5" SSD', e))(cr || {}), ur = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.InUse = "In Use", e.ColdStorage = "Cold Storage", e))(ur || {}), dr = /* @__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))(dr || {}), hr = /* @__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))(hr || {}), Sr = /* @__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))(Sr || {}), $r = /* @__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.Downloading = "downloading", e))($r || {}), Tr = /* @__PURE__ */ ((e) => (e.Audio = "mobile_audios", e.Photo = "mobile_photos", e))(Tr || {}), kr = /* @__PURE__ */ ((e) => (e.V1 = "v1", e.V2 = "v2", e.V3 = "v3", e.V4 = "v4", e.V5 = "v5", e))(kr || {}), m = /* @__PURE__ */ ((e) => (e.Drone = "drone", e.ThreeSixty = "360", e))(m || {}), br = /* @__PURE__ */ ((e) => (e.Running = "running", e.Completed = "completed", e.Failed = "failed", e.Skipped = "skipped", e))(br || {}), wr = /* @__PURE__ */ ((e) => (e.Processing = "processing", e.Completed = "completed", e.Failed = "failed", e))(wr || {}), fr = /* @__PURE__ */ ((e) => (e.Hybrid = "hybrid", e.Terrain = "terrain", e))(fr || {}), 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.Hammertech = "hammertech", e.XWeather = "xweather", e))(O || {}), Mr = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.Photos = "photos", e))(Mr || {}), Rr = /* @__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.SmartSearchExportReady = "smart_search_export_ready", e.SmartSearchExportFailed = "smart_search_export_failed", e.GateReportExportReady = "gate_report_export_ready", e.GateReportExportFailed = "gate_report_export_failed", e.PpeExportReady = "ppe_export_ready", e.PpeExportFailed = "ppe_export_failed", e.WeatherExportReady = "weather_export_ready", e.WeatherExportFailed = "weather_export_failed", e.CompareReady = "compare_ready", e.CompareFailed = "compare_failed", e.ClipExportReady = "clip_export_ready", e.ClipExportFailed = "clip_export_failed", e.NvrClipReady = "nvr_clip_ready", e.NvrClipFailed = "nvr_clip_failed", e.UploadComplete = "upload_complete", e.UploadFailed = "upload_failed", e.RingCamerasImported = "ring_cameras_imported", e.StorageWarning = "storage_warning", e.Other = "other", e))(Rr || {}), Dr = /* @__PURE__ */ ((e) => (e.Rpi4 = "rpi4", e.Rpi5 = "rpi5", e.OrinNano = "orin_nano", e.Giraffe = "giraffe", e))(Dr || {}), Pr = /* @__PURE__ */ ((e) => (e.Error = "error", e.Idle = "idle", e.NotExist = "notexist", e.Ok = "ok", e.Unformatted = "unformatted", e))(Pr || {}), _r = /* @__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))(_r || {}), jr = /* @__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))(jr || {}), Ur = /* @__PURE__ */ ((e) => (e.Observations = "observations", e.ProgressPhotos = "images", e))(Ur || {}), Br = /* @__PURE__ */ ((e) => (e[e.NoAccess = 1] = "NoAccess", e[e.ReadOnly = 2] = "ReadOnly", e[e.Standard = 3] = "Standard", e[e.Admin = 4] = "Admin", e))(Br || {}), Fr = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.Pause = "pause", e))(Fr || {}), Or = /* @__PURE__ */ ((e) => (e.ToStart = "To Start", e.InProgress = "In Progress", e.Completed = "Completed", e.NotAplicable = "Not Applicable", e))(Or || {}), vr = /* @__PURE__ */ ((e) => (e.Full = "Full", e.Partial = "Partial", e.Minimal = "Minimal", e.ScheduledForDeletion = "Scheduled for Deletion", e.No = "No", e))(vr || {}), Vr = /* @__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))(Vr || {}), Hr = /* @__PURE__ */ ((e) => (e.New = "new", e.Pending = "pending", e.Processing = "processing", e.Completed = "completed", e.Failed = "failed", e))(Hr || {}), 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 || {}), xr = /* @__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))(xr || {});
17
+ const No = {
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 Wr = /* @__PURE__ */ ((e) => (e.On = "on", e.Off = "off", e.Paused = "paused", e.OnScheduled = "on-scheduled", e))(Wr || {}), zr = /* @__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))(zr || {}), Lr = /* @__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))(Lr || {}), Zr = /* @__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))(Zr || {}), Xr = /* @__PURE__ */ ((e) => (e.Polygon = "polygon", e.Line = "line", e.Direction = "direction", e.Rectangle = "rectangle", e))(Xr || {}), Qr = /* @__PURE__ */ ((e) => (e.Arrived = "arrived", e.Left = "left", e.Bidirectional = "arrived,left", e))(Qr || {}), qr = /* @__PURE__ */ ((e) => (e.True = "true", e.False = "false", e))(qr || {}), Jr = /* @__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))(Jr || {}), Yr = /* @__PURE__ */ ((e) => (e.Show360 = "show360", e))(Yr || {}), Kr = /* @__PURE__ */ ((e) => (e.ShowDrone = "showDrone", e))(Kr || {}), Cr = /* @__PURE__ */ ((e) => (e.ShowMedia = "showMedia", e))(Cr || {}), Er = /* @__PURE__ */ ((e) => (e.ShowBim = "showBim", e))(Er || {}), Ar = /* @__PURE__ */ ((e) => (e.ShowExNvrRecordings = "showExNvrRecordings", e))(Ar || {}), Ir = /* @__PURE__ */ ((e) => (e.ShowAnpr = "showAnpr", e))(Ir || {}), yr = /* @__PURE__ */ ((e) => (e.ShowMobileCapture = "showMobileCapture", e))(yr || {}), ea = /* @__PURE__ */ ((e) => (e.ShowComments = "showComments", e.SelectedCommentId = "selectedCommentId", e))(ea || {}), ra = /* @__PURE__ */ ((e) => (e.Mains = "mains", e.Battery = "battery", e.Solar = "solar", e.Generator = "generator", e.Other = "other", e))(ra || {}), aa = /* @__PURE__ */ ((e) => (e.Schedule = "schedule", e.FullTime = "24/7", e))(aa || {}), ta = /* @__PURE__ */ ((e) => (e.Active = "active", e.Inactive = "inactive", e))(ta || {}), oa = /* @__PURE__ */ ((e) => (e.Qr = "qr", e.Manual = "manual", e))(oa || {}), sa = /* @__PURE__ */ ((e) => (e[e.Pending = 0] = "Pending", e[e.Cancelled = -1] = "Cancelled", e[e.Used = 1] = "Used", e[e.Failed = -2] = "Failed", e))(sa || {}), ia = /* @__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))(ia || {}), na = /* @__PURE__ */ ((e) => (e.Delivered = "Delivered", e.Accepted = "accepted", e.Pending = "Pending", e))(na || {}), la = /* @__PURE__ */ ((e) => (e.Pending = "pending", e.Done = "done", e))(la || {}), ga = /* @__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))(ga || {}), pa = /* @__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))(pa || {}), ma = /* @__PURE__ */ ((e) => (e.FreeRotate = "freeRotate", e.Lock = "lock", e.Rotate = "rotate", e.Scale = "scale", e.Pan = "drag", e))(ma || {}), ca = /* @__PURE__ */ ((e) => (e.Blank = "Blank", e.Satellite = "Satellite", e.Street = "Street", e.GoogleSatellite = "hybrid", e.GoogleStreet = "roadmap", e.GoogleTerrain = "terrain", e))(ca || {}), ua = /* @__PURE__ */ ((e) => (e.CameraMarker = "cameraMarker", e.ThreeSixtyMarker = "threeSixtyMarkers", e))(ua || {}), da = /* @__PURE__ */ ((e) => (e.List = "list", e.Item = "item", 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 || {}), fa = /* @__PURE__ */ ((e) => (e.Continuous = "continuous", e.WorkingHours = "workingHours", e.Custom = "custom", e))(fa || {}), Ma = /* @__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))(Ma || {}), Ra = /* @__PURE__ */ ((e) => (e.Hour = "hour", e.Day = "day", e.Week = "week", e.Month = "month", e.Year = "year", e.FullProject = "full_project", e))(Ra || {}), Da = /* @__PURE__ */ ((e) => (e[e.Format = 1] = "Format", e[e.Effects = 2] = "Effects", e[e.Confirm = 3] = "Confirm", e[e.Finish = 4] = "Finish", e))(Da || {}), Pa = /* @__PURE__ */ ((e) => (e.CompanyAdmin = "company-admin", e.VideoWalls = "video-walls", e.MassCameraSharing = "mass-camera-sharing", e.ProjectSharing = "project-sharing", e))(Pa || {}), _a = /* @__PURE__ */ ((e) => (e.SalesExecutive = "Sales Executive", e.CustomerSuccessManager = "Customer Success Manager", e))(_a || {}), ja = /* @__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))(ja || {}), Ua = /* @__PURE__ */ ((e) => (e.LiveView = "live", e.Video = "video", e.Image = "image", e))(Ua || {}), Ba = /* @__PURE__ */ ((e) => (e.US = "us", e.AU = "au", e.EU = "eu", e))(Ba || {}), Fa = /* @__PURE__ */ ((e) => (e.Low = "Low", e.Medium = "Medium", e.High = "High", e.Critical = "Critical", e))(Fa || {}), Oa = /* @__PURE__ */ ((e) => (e.Undefined = "Undefined", e.Positive = "Positive", e.Negative = "Negative", e.Neutral = "Neutral", e))(Oa || {});
28
+ const va = [
29
+ "imageupload",
30
+ "fileupload",
31
+ "signature",
32
+ "signaturewithname"
33
+ ];
34
+ function Go(e) {
35
+ return va.includes(String(e || "").toLowerCase());
36
+ }
37
+ function xo(e) {
38
+ return String(e || "").toLowerCase() === "signaturewithname";
39
+ }
40
+ var Va = /* @__PURE__ */ ((e) => (e.Daily = "daily", e))(Va || {}), Ha = /* @__PURE__ */ ((e) => (e.WeatherStack = "weather_stack", e.XWeather = "xweather", e))(Ha || {}), Na = /* @__PURE__ */ ((e) => (e.Recordings = "recordings", e.ThreeSixty = "360", e.Drone = "drone", e.Timeline = "timeline", e))(Na || {}), Ga = /* @__PURE__ */ ((e) => (e.Info = "Info", e.Danger = "Danger", e.Restricted = "Restricted", e))(Ga || {}), xa = /* @__PURE__ */ ((e) => (e.Helmet = "helmet", e.HighVisibilityVest = "high-visibility-vest", e.SafetyGlasses = "safety-glasses", e.Gloves = "gloves", e.Person = "person", e.Man = "man", e.Woman = "woman", e))(xa || {}), Wa = /* @__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))(Wa || {}), za = /* @__PURE__ */ ((e) => (e[e.Absent = 0] = "Absent", e[e.Present = 1] = "Present", e[e.NotVisible = 2] = "NotVisible", e))(za || {}), La = /* @__PURE__ */ ((e) => (e.Day = "day", e.Week = "week", e.Month = "month", e))(La || {}), Za = /* @__PURE__ */ ((e) => (e.Helmet = "has_helmet", e.HighVisVest = "has_high_vis_vest", e))(Za || {}), Xa = /* @__PURE__ */ ((e) => (e.AND = "and", e.OR = "or", e))(Xa || {}), Qa = /* @__PURE__ */ ((e) => (e.Imperial = "imperial", e.Metric = "metric", e))(Qa || {}), qa = /* @__PURE__ */ ((e) => (e.Ios = "ios", e.Android = "android", e))(qa || {}), Ja = /* @__PURE__ */ ((e) => (e.Itwin = "itwin", e.Cesium = "cesium", e))(Ja || {}), Ya = /* @__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))(Ya || {}), Q = /* @__PURE__ */ ((e) => (e.Jpeg = "jpeg", e.Pdf = "pdf", e.Csv = "csv", e))(Q || {}), Ka = /* @__PURE__ */ ((e) => (e.CopilotMessage = "copilot_message", e))(Ka || {}), Ca = /* @__PURE__ */ ((e) => (e.Year = "year", e.Month = "month", e.Week = "week", e.Day = "day", e.Hour = "hour", e.Minute = "minute", e.Events = "events", e))(Ca || {}), Ea = /* @__PURE__ */ ((e) => (e.Idle = "idle", e.Loading = "loading", e.Success = "success", e.Error = "error", e))(Ea || {}), Aa = /* @__PURE__ */ ((e) => (e.Up = "up", e.Down = "down", e.Left = "left", e.Right = "right", e))(Aa || {}), Ia = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e))(Ia || {}), ya = /* @__PURE__ */ ((e) => (e.RouterSmsRoundTrip = "router_sms_round_trip", e.NvrRecordingAllCameras = "nvr_recording_all_cameras", e.NvrRecordingThirdStream = "nvr_recording_third_stream", e.CamerasHaveDeviceId = "cameras_have_device_id", e.CamerasRecording = "cameras_recording", e.CamerasSdCardMounted = "cameras_sd_card_mounted", e.BatteryReadings = "battery_readings", e))(ya || {}), et = /* @__PURE__ */ ((e) => (e.Passed = "passed", e.Failed = "failed", e.Skipped = "skipped", e))(et || {}), rt = /* @__PURE__ */ ((e) => (e.New = "new", e.Active = "active", e.Deployed = "deployed", e.Decommissioned = "decommissioned", e))(rt || {}), at = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.EMEA = "emea", e.LATAM = "latam", e.US = "na", e))(at || {}), tt = /* @__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.GeneratorOff = "generator_off", e))(tt || {}), ot = /* @__PURE__ */ ((e) => (e.SolarCharger = "solar_charger", e.PanelPower = "panel_power", e.Fan = "fan", e.FanTemperature = "fan_temperature", e))(ot || {}), 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 || {}), st = /* @__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))(st || {}), it = /* @__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))(it || {}), nt = /* @__PURE__ */ ((e) => (e.Sata = "sata", e.Nvme = "nvme", e.Usb = "usb", e))(nt || {}), lt = /* @__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))(lt || {}), gt = /* @__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))(gt || {}), pt = /* @__PURE__ */ ((e) => (e.Cancelling = "canceling", e.Cancelled = "cancelled", e.Completed = "completed", e.Failed = "failed", e.Pending = "pending", e.Processing = "processing", e))(pt || {}), mt = /* @__PURE__ */ ((e) => (e.Cloud = "cloud", e.Local = "local", e.Timelapse = "timelapse", e))(mt || {}), ct = /* @__PURE__ */ ((e) => (e.Completed = "completed", e.Failed = "failed", e.Processing = "processing", e.Pending = "pending", e.Cancelled = "cancelled", e))(ct || {}), ut = /* @__PURE__ */ ((e) => (e.Detections = "detections", e.Segments = "segments", e))(ut || {}), dt = /* @__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))(dt || {}), ht = /* @__PURE__ */ ((e) => (e.InArea = "in_area", e.Intersects = "intersects", e.Time = "time", e))(ht || {}), St = /* @__PURE__ */ ((e) => (e.Tracking = "tracking", e.Segments = "segments", e))(St || {}), $t = /* @__PURE__ */ ((e) => (e.All = "all", e.FirstLastSeen = "first_last_seen", e))($t || {}), Tt = /* @__PURE__ */ ((e) => (e.And = "AND", e.Or = "OR", e))(Tt || {}), kt = /* @__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))(kt || {}), bt = /* @__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))(bt || {}), wt = /* @__PURE__ */ ((e) => (e.Camera = "camera", e.ThreeSixty = "360", e))(wt || {}), ft = /* @__PURE__ */ ((e) => (e.Minute = "Minutes", e.Hour = "Hours", e.Day = "Days", e))(ft || {}), Mt = /* @__PURE__ */ ((e) => (e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Mt || {}), Rt = /* @__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))(Rt || {}), Dt = /* @__PURE__ */ ((e) => (e.Fullscreen = "fullscreen", e.Download = "download", e.Zoom = "zoom", e.Playpause = "playpause", e.Refresh = "refresh", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Dt || {}), Pt = /* @__PURE__ */ ((e) => (e.Timeline = "timeline", e.Calendar = "calendar", e.DarkMode = "darkMode", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(Pt || {}), _t = /* @__PURE__ */ ((e) => (e.Preset = "preset", e.RefreshRate = "refreshRate", e.Width = "width", e.WidthResolution = "resolution", e.Height = "height", e.HeightResolution = "heightResolution", e))(_t || {}), jt = /* @__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))(jt || {}), Ut = /* @__PURE__ */ ((e) => (e.LiveWidget = "Live View", e.Recording = "Recordings", e.BimCompare = "BIM Compare", e.VideoWall = "Video Wall", e.ThreeSixty = "360", e))(Ut || {});
41
+ const Wo = {
10
42
  camera: [
11
43
  "Live View",
12
44
  "Recordings",
@@ -19,268 +51,377 @@ const vt = {
19
51
  /* ThreeSixty */
20
52
  ]
21
53
  };
22
- var et = /* @__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))(et || {}), rt = /* @__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))(rt || {}), at = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.AU = "au", e.EU = "eu", e.UK = "uk", e.IE = "ie", e.US = "us", e))(at || {}), tt = ((e) => (e[e.Aconex = j.Aconex] = "Aconex", e[e.Procore = j.Procore] = "Procore", e[e.Autodesk = j.Autodesk] = "Autodesk", e.Email = "email", e))(tt || {}), st = /* @__PURE__ */ ((e) => (e.Photo = "photo", e.Compare = "compare", e))(st || {}), ot = /* @__PURE__ */ ((e) => (e.Type = "type", e.Cameras = "cameras", e.Settings = "settings", e.Destination = "destination", e))(ot || {}), it = /* @__PURE__ */ ((e) => (e.DAU = "dau", e.WAU = "wau", e.MAU = "mau", e))(it || {});
23
- const S = (e) => class extends Error {
54
+ var Bt = /* @__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))(Bt || {}), Ft = /* @__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))(Ft || {}), Ot = /* @__PURE__ */ ((e) => (e.APAC = "apac", e.AU = "au", e.EU = "eu", e.UK = "uk", e.IE = "ie", e.US = "us", e))(Ot || {}), vt = ((e) => (e[e.Aconex = O.Aconex] = "Aconex", e[e.Procore = O.Procore] = "Procore", e[e.Autodesk = O.Autodesk] = "Autodesk", e.Email = "email", e))(vt || {}), Vt = /* @__PURE__ */ ((e) => (e.Photo = "photo", e.Compare = "compare", e.GateReport = "gate_report", e.Weather = "weather", e))(Vt || {}), Ht = /* @__PURE__ */ ((e) => (e.Forecast = "forecast", e.History = "history", e))(Ht || {}), Nt = /* @__PURE__ */ ((e) => (e.Pdf = "pdf", e.Csv = "csv", e))(Nt || {}), Gt = /* @__PURE__ */ ((e) => (e.Daily = "daily", e.Hourly = "hourly", e))(Gt || {}), xt = /* @__PURE__ */ ((e) => (e.Type = "type", e.Cameras = "cameras", e.Settings = "settings", e.Destination = "destination", e))(xt || {}), Wt = /* @__PURE__ */ ((e) => (e.DAU = "dau", e.WAU = "wau", e.MAU = "mau", e))(Wt || {}), zt = /* @__PURE__ */ ((e) => (e.App = "app", e.Camera = "camera", e.Project = "project", e))(zt || {}), Lt = /* @__PURE__ */ ((e) => (e.Assign = "assign", e.Unassign = "unassign", e))(Lt || {});
55
+ function zo(e) {
56
+ return e.resourceType === "project";
57
+ }
58
+ function Lo(e) {
59
+ return e.resourceType === "camera";
60
+ }
61
+ const Zo = "queued";
62
+ var Zt = /* @__PURE__ */ ((e) => (e.Revit = "Revit", e.Navisworks = "Navisworks", e.Drone = "Drone", e.Synchro = "Synchro", e))(Zt || {}), Xt = /* @__PURE__ */ ((e) => (e.ITwin = "iTwin", e.Cesium = "Cesium", e.Forge = "Forge", e))(Xt || {}), Qt = /* @__PURE__ */ ((e) => (e.GateReport = "gate_report", e.Ppe = "ppe", e.SiteAnalytics = "site_analytics", e))(Qt || {}), qt = /* @__PURE__ */ ((e) => (e.Gemini = "gemini", e.OpenAi = "openai", e.Anthropic = "anthropic", e))(qt || {}), Jt = /* @__PURE__ */ ((e) => (e.Create = "create", e.Edit = "edit", e.View = "view", e.Subprompt = "subprompt", e))(Jt || {}), Yt = /* @__PURE__ */ ((e) => (e.Create = "create", e.Rotate = "rotate", e.Rename = "rename", e))(Yt || {});
63
+ const Xo = {
64
+ gate_report: {
65
+ bg: "#ecfdf5",
66
+ fg: "#047857",
67
+ border: "#a7f3d0",
68
+ icon: "fa-truck"
69
+ },
70
+ ppe: {
71
+ bg: "#fff7ed",
72
+ fg: "#c2410c",
73
+ border: "#fed7aa",
74
+ icon: "fa-helmet-safety"
75
+ },
76
+ site_analytics: {
77
+ bg: "#eff6ff",
78
+ fg: "#1d4ed8",
79
+ border: "#bfdbfe",
80
+ icon: "fa-chart-simple"
81
+ },
82
+ generic: {
83
+ bg: "#f1f5f9",
84
+ fg: "#334155",
85
+ border: "#cbd5e1",
86
+ icon: "fa-cube"
87
+ }
88
+ }, Qo = {
89
+ gemini: { bg: "#dbeafe", fg: "#1d4ed8", icon: "fa-gem" },
90
+ openai: { bg: "#dcfce7", fg: "#15803d", icon: "fa-robot" },
91
+ anthropic: { bg: "#fef3c7", fg: "#a16207", icon: "fa-brain" }
92
+ };
93
+ var Kt = /* @__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))(Kt || {}), Ct = /* @__PURE__ */ ((e) => (e.Prompt = "prompt", e.Parent = "parent", e.Subprompt = "subprompt", e))(Ct || {}), Et = /* @__PURE__ */ ((e) => (e.Prod = "prod", e.Beta = "beta", e.Parked = "parked", e))(Et || {}), At = /* @__PURE__ */ ((e) => (e.PerSecond = "per_second", e.PerMinute = "per_minute", e.Hourly = "hourly", e.Daily = "daily", e))(At || {});
94
+ const qo = {
95
+ prod: {
96
+ bg: "#ecfdf5",
97
+ fg: "#047857",
98
+ border: "#a7f3d0",
99
+ label: "Prod"
100
+ },
101
+ beta: {
102
+ bg: "#fffbeb",
103
+ fg: "#b45309",
104
+ border: "#fde68a",
105
+ label: "Beta"
106
+ },
107
+ parked: {
108
+ bg: "#f1f5f9",
109
+ fg: "#475569",
110
+ border: "#cbd5e1",
111
+ label: "Parked"
112
+ }
113
+ };
114
+ var It = /* @__PURE__ */ ((e) => (e.Local = "local", e.Api = "api", e))(It || {}), yt = /* @__PURE__ */ ((e) => (e.Running = "running", e.Stopped = "stopped", e.Restarting = "restarting", e))(yt || {}), eo = /* @__PURE__ */ ((e) => (e.Detected = "detected", e.Approved = "approved", e.Disapproved = "disapproved", e.Unsure = "unsure", e))(eo || {});
115
+ const Jo = {
116
+ detected: {
117
+ bg: "#f1f5f9",
118
+ fg: "#334155",
119
+ border: "#cbd5e1",
120
+ label: "Detected"
121
+ },
122
+ approved: {
123
+ bg: "#ecfdf5",
124
+ fg: "#047857",
125
+ border: "#a7f3d0",
126
+ label: "Approved"
127
+ },
128
+ disapproved: {
129
+ bg: "#fef2f2",
130
+ fg: "#b91c1c",
131
+ border: "#fecaca",
132
+ label: "Disapproved"
133
+ },
134
+ unsure: {
135
+ bg: "#fffbeb",
136
+ fg: "#b45309",
137
+ border: "#fde68a",
138
+ label: "Unsure"
139
+ }
140
+ }, b = (e) => class extends Error {
24
141
  constructor(r) {
25
142
  const t = r instanceof Error ? r : new Error(typeof r == "string" ? r : "unknown");
26
143
  super(t.message), this.name = e, this.message = t.message, this.stack = (t.stack || "").replace(/^Error: /, `${e}: `);
27
144
  }
28
- }, lt = S(h.BadRequestError), nt = S(h.NotFoundError), gt = S(h.UnauthorizedError), mt = S(
29
- h.GatewayTimeoutError
30
- ), pt = S(h.BadGatewayError), ct = S(h.ForbiddenError), Ft = S(h.HlsError), Wt = S(h.SnapshotError), ut = S(h.ConflictError), ht = S(
31
- h.InternalServerError
32
- );
33
- let V = 0;
34
- const dt = 10, St = async () => {
35
- for (; V === dt; )
36
- await new Promise((e) => setTimeout(e, 1e3));
37
- V++, setTimeout(() => {
38
- V--;
39
- }, 1e3);
40
- }, Tt = async (e, r) => (e != null && e.raw || (e != null && e.timing && (e._metadata = { startTime: performance.now() }), await St(), kt(e, r), bt(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 || Pt(e)), e), $t = (e) => {
41
- var t, s, o, l, n;
145
+ }, ro = b($.BadRequestError), ao = b($.NotFoundError), to = b($.UnauthorizedError), oo = b(
146
+ $.GatewayTimeoutError
147
+ ), so = b($.BadGatewayError), io = b($.ForbiddenError), Yo = b($.HlsError), Ko = b($.SnapshotError), no = b($.ConflictError), lo = b(
148
+ $.InternalServerError
149
+ ), go = 10, W = 1e3, R = [], po = async () => {
150
+ for (; ; ) {
151
+ const e = Date.now();
152
+ for (; R.length && e - R[0] >= W; )
153
+ R.shift();
154
+ if (R.length < go) {
155
+ R.push(e);
156
+ return;
157
+ }
158
+ const r = W - (e - R[0]);
159
+ await new Promise((t) => setTimeout(t, r));
160
+ }
161
+ }, mo = async (e, r) => {
162
+ var t, o;
163
+ if (e != null && e.raw)
164
+ return e;
165
+ if (e != null && e.timing && (e._metadata = { startTime: performance.now() }), await po(), ho(e, r), e != null && e.skipAuth ? $o(e) : uo(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))) {
166
+ const i = e.headers.common;
167
+ i["iframe-origin"] = new URL(document.referrer).origin;
168
+ }
169
+ if (r.evercamLabsUrl && (e.url || "").startsWith(r.evercamLabsUrl) && ((o = e == null ? void 0 : e.headers) != null && o.common)) {
170
+ const i = e.headers.common;
171
+ i["x-environment"] = r.isLabsStaging ? "staging" : "production";
172
+ }
173
+ return e.preserveCasing || So(e), e;
174
+ }, co = (e) => {
175
+ var t, o, i, g, p;
42
176
  if ((t = e == null ? void 0 : e.config) != null && t.raw)
43
177
  return e;
44
178
  if ("data" in e) {
45
179
  if (e.data instanceof Blob)
46
180
  return e.data;
47
181
  } else return e;
48
- const r = (s = e == null ? void 0 : e.config) != null && s.preserveCasing ? e.data : P.camelizeKeys(e.data);
49
- if ((o = e == null ? void 0 : e.config) != null && o.timing && ((n = (l = e == null ? void 0 : e.config) == null ? void 0 : l._metadata) != null && n.startTime)) {
50
- const p = performance.now() - e.config._metadata.startTime;
182
+ const r = (o = e == null ? void 0 : e.config) != null && o.preserveCasing ? e.data : D.camelizeKeys(e.data);
183
+ if ((i = e == null ? void 0 : e.config) != null && i.timing && ((p = (g = e == null ? void 0 : e.config) == null ? void 0 : g._metadata) != null && p.startTime)) {
184
+ const c = performance.now() - e.config._metadata.startTime;
51
185
  return {
52
186
  ...e,
53
187
  data: r,
54
- duration: p
188
+ duration: c
55
189
  };
56
190
  }
57
191
  return r;
58
- }, X = async (e, r) => {
59
- var M, D, _, k, H, v, F;
60
- if ((M = e == null ? void 0 : e.config) != null && M.timing && ((_ = (D = e == null ? void 0 : e.config) == null ? void 0 : D._metadata) != null && _.startTime)) {
61
- const K = performance.now() - e.config._metadata.startTime;
62
- return { error: e, duration: K };
192
+ }, J = async (e, r) => {
193
+ var _, U, B, M, N, G, x;
194
+ if ((_ = e == null ? void 0 : e.config) != null && _.timing && ((B = (U = e == null ? void 0 : e.config) == null ? void 0 : U._metadata) != null && B.startTime)) {
195
+ const A = performance.now() - e.config._metadata.startTime;
196
+ return { error: e, duration: A };
63
197
  }
64
- const t = e.response ? e.response.status : null, s = (((k = e.config) == null ? void 0 : k.method) || "").toUpperCase(), o = (H = e.config) == null ? void 0 : H.url, l = ((F = (v = e == null ? void 0 : e.response) == null ? void 0 : v.data) == null ? void 0 : F.code) || "";
65
- let n = {}, p = e.message;
66
- switch (o && s && t && (p = `${s} ${o} (${t}) ${l}`.trim()), t) {
67
- case d.BadRequestError:
68
- n = new lt(new Error(p));
198
+ const t = e.response ? e.response.status : null, o = (((M = e.config) == null ? void 0 : M.method) || "").toUpperCase(), i = (N = e.config) == null ? void 0 : N.url, g = ((x = (G = e == null ? void 0 : e.response) == null ? void 0 : G.data) == null ? void 0 : x.code) || "";
199
+ let p = {}, c = e.message;
200
+ switch (i && o && t && (c = `${o} ${i} (${t}) ${g}`.trim()), t) {
201
+ case k.BadRequestError:
202
+ p = new ro(new Error(c));
69
203
  break;
70
- case d.UnauthorizedError:
71
- n = new gt(new Error(p));
204
+ case k.UnauthorizedError:
205
+ p = new to(new Error(c));
72
206
  break;
73
- case d.ForbiddenError:
74
- n = new ct(new Error(p));
207
+ case k.ForbiddenError:
208
+ p = new io(new Error(c));
75
209
  break;
76
- case d.NotFoundError:
77
- n = new nt(new Error(p));
210
+ case k.NotFoundError:
211
+ p = new ao(new Error(c));
78
212
  break;
79
- case d.ConflictError:
80
- n = new ut(new Error(p));
213
+ case k.ConflictError:
214
+ p = new no(new Error(c));
81
215
  break;
82
- case d.InternalServerError:
83
- n = new ht(new Error(p));
216
+ case k.InternalServerError:
217
+ p = new lo(new Error(c));
84
218
  break;
85
- case d.BadGatewayError:
86
- n = new pt(new Error(p));
219
+ case k.BadGatewayError:
220
+ p = new so(new Error(c));
87
221
  break;
88
- case d.GatewayTimeoutError:
89
- n = new mt(new Error(p));
222
+ case k.GatewayTimeoutError:
223
+ p = new oo(new Error(c));
90
224
  break;
91
225
  case null:
92
226
  // null case
93
227
  case 0:
94
- n = new Error(
228
+ p = new Error(
95
229
  "A network error occurred. This could be a CORS issue, a cancel request or a dropped internet connection."
96
230
  );
97
231
  break;
98
232
  }
99
- if ($.isCancel(e) || t === d.NotFoundError)
100
- return Promise.reject(n);
233
+ if (w.isCancel(e) || t === k.NotFoundError)
234
+ return Promise.reject(p);
101
235
  console.warn("[@evercam/api/axios.ts]: Caught error:", e);
102
- const U = r.errorLogger;
103
- return o && U && U({
236
+ const f = r.errorLogger;
237
+ return i && f && f({
104
238
  // @ts-expect-error axios issue
105
239
  category: "axios.info",
106
240
  data: {
107
- url: `Error in URL: ${o}`,
241
+ url: `Error in URL: ${i}`,
108
242
  status: t
109
243
  }
110
- }), Promise.reject(n);
111
- }, J = (e) => {
244
+ }), Promise.reject(p);
245
+ }, Y = (e) => {
112
246
  e.headers || (e.headers = {}), e.headers.common || (e.headers.common = {});
113
247
  };
114
- function bt(e, r) {
115
- var s;
116
- const t = (s = r == null ? void 0 : r.getAuthToken) == null ? void 0 : s.call(r);
117
- t && (J(e), e.headers.common.Authorization = `Bearer ${t}`);
248
+ function uo(e, r) {
249
+ var o;
250
+ const t = (o = r == null ? void 0 : r.getAuthToken) == null ? void 0 : o.call(r);
251
+ t && (Y(e), e.headers.common.Authorization = `Bearer ${t}`);
118
252
  }
119
- function kt(e, r) {
253
+ function ho(e, r) {
120
254
  e.baseURL || (e.baseURL = r == null ? void 0 : r.baseUrl);
121
255
  }
122
- function Pt(e) {
123
- let r = {}, { data: t, params: s } = e;
256
+ function So(e) {
257
+ let r = {}, { data: t, params: o } = e;
124
258
  if (t && !(t instanceof Blob || t instanceof FormData || typeof t == "string") && (t != null && t.ignoreCasingFromParams && (r = t.ignoreCasingFromParams.reduce(
125
- (o, l) => ({
126
- ...o,
127
- [l]: t[l]
259
+ (i, g) => ({
260
+ ...i,
261
+ [g]: t[g]
128
262
  }),
129
263
  {}
130
- ) || {}, delete t.ignoreCasingFromParams), Array.isArray(t) ? t = P.decamelizeKeys(t) : t = { ...P.decamelizeKeys(t), ...r }), t && t instanceof FormData) {
131
- let o = new FormData();
132
- for (const [l, n] of t.entries())
133
- o.append(P.decamelize(l), n);
134
- t = o;
264
+ ) || {}, delete t.ignoreCasingFromParams), Array.isArray(t) ? t = D.decamelizeKeys(t) : t = { ...D.decamelizeKeys(t), ...r }), t && t instanceof FormData) {
265
+ let i = new FormData();
266
+ for (const [g, p] of t.entries())
267
+ i.append(D.decamelize(g), p);
268
+ t = i;
135
269
  }
136
- s && !(s instanceof Blob) && (s = P.decamelizeKeys(s)), e.data = t, e.params = s;
270
+ o && !(o instanceof Blob) && (o = D.decamelizeKeys(o)), e.data = t, e.params = o;
137
271
  }
138
- const zt = async (e, r, t) => {
272
+ const Co = async (e, r, t) => {
139
273
  if (r())
140
- throw await t(), new $.Cancel("Request canceled due to expired token");
274
+ throw await t(), new w.Cancel("Request canceled due to expired token");
141
275
  return e;
142
276
  };
143
- function R(e) {
277
+ function $o(e) {
278
+ if (!e.headers)
279
+ return;
280
+ const r = e.headers;
281
+ delete r.Authorization, delete r.authorization, r.common && (delete r.common.Authorization, delete r.common.authorization);
282
+ }
283
+ function j(e) {
144
284
  return new Promise((r, t) => {
145
285
  e.oncomplete = e.onsuccess = () => r(e.result), e.onabort = e.onerror = () => t(e.error);
146
286
  });
147
287
  }
148
- function wt(e, r) {
288
+ function To(e, r) {
149
289
  let t;
150
- const s = () => {
290
+ const o = () => {
151
291
  if (t)
152
292
  return t;
153
- const o = indexedDB.open(e);
154
- return o.onupgradeneeded = () => o.result.createObjectStore(r), t = R(o), t.then((l) => {
155
- l.onclose = () => t = void 0;
293
+ const i = indexedDB.open(e);
294
+ return i.onupgradeneeded = () => i.result.createObjectStore(r), t = j(i), t.then((g) => {
295
+ g.onclose = () => t = void 0;
156
296
  }, () => {
297
+ t = void 0;
157
298
  }), t;
158
299
  };
159
- return (o, l) => s().then((n) => l(n.transaction(r, o).objectStore(r)));
300
+ return (i, g) => o().then((p) => g(p.transaction(r, i).objectStore(r)));
160
301
  }
161
- let G;
162
- function O() {
163
- return G || (G = wt("keyval-store", "keyval")), G;
302
+ let V;
303
+ function v() {
304
+ return V || (V = To("keyval-store", "keyval")), V;
164
305
  }
165
- function Mt(e, r = O()) {
166
- return r("readonly", (t) => R(t.get(e)));
306
+ function ko(e, r = v()) {
307
+ return r("readonly", (t) => j(t.get(e)));
167
308
  }
168
- function ft(e, r, t = O()) {
169
- return t("readwrite", (s) => (s.put(r, e), R(s.transaction)));
309
+ function bo(e, r, t = v()) {
310
+ return t("readwrite", (o) => (o.put(r, e), j(o.transaction)));
170
311
  }
171
- function Rt(e, r = O()) {
172
- return r("readwrite", (t) => (t.delete(e), R(t.transaction)));
312
+ function wo(e, r = v()) {
313
+ return r("readwrite", (t) => (t.delete(e), j(t.transaction)));
173
314
  }
174
- function Ut(e = O()) {
175
- return e("readwrite", (r) => (r.clear(), R(r.transaction)));
315
+ function fo(e = v()) {
316
+ return e("readwrite", (r) => (r.clear(), j(r.transaction)));
176
317
  }
177
- class Dt {
318
+ class Mo {
178
319
  constructor(r) {
179
- B(this, "prefix");
320
+ F(this, "prefix");
180
321
  this.prefix = r;
181
322
  }
182
323
  generateKey(r) {
183
- var o, l;
184
- const t = r.baseURL ? `${r.baseURL.replace(/\/$/, "")}/${(o = r.url) == null ? void 0 : o.replace(/^\//, "")}` : r.url;
185
- let s = "";
324
+ var i, g;
325
+ const t = r.baseURL ? `${r.baseURL.replace(/\/$/, "")}/${(i = r.url) == null ? void 0 : i.replace(/^\//, "")}` : r.url;
326
+ let o = "";
186
327
  if (r.params) {
187
- const n = Object.keys(r.params).sort().reduce((p, b) => (p[b] = r.params[b], p), {});
188
- s = JSON.stringify(n);
328
+ const p = Object.keys(r.params).sort().reduce((c, h) => (c[h] = r.params[h], c), {});
329
+ o = JSON.stringify(p);
189
330
  }
190
- return `${this.prefix}:${((l = r.method) == null ? void 0 : l.toUpperCase()) || "GET"}:${t}?${s}`;
331
+ return `${this.prefix}:${((g = r.method) == null ? void 0 : g.toUpperCase()) || "GET"}:${t}?${o}`;
191
332
  }
192
333
  async get(r) {
193
334
  let t;
194
335
  try {
195
- if (t = await Mt(r), t === void 0)
336
+ if (t = await ko(r), t === void 0)
196
337
  return;
197
- } catch (s) {
198
- console.error(`[SWR Store]: Error getting value for key "${r}"`, s);
338
+ } catch (o) {
339
+ console.error(`[SWR Store]: Error getting value for key "${r}"`, o);
199
340
  return;
200
341
  }
201
342
  try {
202
343
  t = JSON.parse(t);
203
- } catch (s) {
344
+ } catch (o) {
204
345
  console.error(
205
346
  `[SWR Store]: Error parsing value for key "${r}", got ${t}`,
206
- s
347
+ o
207
348
  );
208
349
  }
209
350
  return t;
210
351
  }
211
352
  async set(r, t) {
212
353
  try {
213
- const s = JSON.stringify(t);
214
- await ft(r, s);
215
- } catch (s) {
354
+ const o = JSON.stringify(t);
355
+ await bo(r, o);
356
+ } catch (o) {
216
357
  console.error(
217
358
  `[SWR Store]: Error setting value: ${t} for key "${r}"`,
218
- s
359
+ o
219
360
  );
220
361
  }
221
362
  }
222
363
  async delete(r) {
223
364
  try {
224
- await Rt(r);
365
+ await wo(r);
225
366
  } catch (t) {
226
367
  console.error(`[SWR Store]: Error deleting key "${r}"`, t);
227
368
  }
228
369
  }
229
370
  async clear() {
230
371
  try {
231
- await Ut();
372
+ await fo();
232
373
  } catch (r) {
233
374
  console.error("[SWR Store]: Error clearing cache", r);
234
375
  }
235
376
  }
236
377
  }
237
- class Q {
378
+ class K {
238
379
  constructor({
239
380
  key: r,
240
381
  axiosInstance: t
241
382
  }) {
242
- B(this, "axiosInstance");
243
- B(this, "store");
244
- this.store = new Dt(r), this.axiosInstance = t;
383
+ F(this, "axiosInstance");
384
+ F(this, "store");
385
+ this.store = new Mo(r), this.axiosInstance = t;
245
386
  }
246
387
  async get(r, t = {}) {
247
- const s = {
388
+ const o = {
248
389
  ...t,
249
390
  method: "get",
250
391
  url: r
251
- }, o = this.store.generateKey(s), l = this.getCachedValue(o, s), n = this.getFreshValue(o, s);
392
+ }, i = this.store.generateKey(o), g = this.getCachedValue(i, o), p = this.getFreshValue(i, o);
252
393
  return Promise.race([
253
- l.then((p) => p != null ? p : n),
254
- n
394
+ g.then((c) => c != null ? c : p),
395
+ p
255
396
  ]);
256
397
  }
257
398
  async getCachedValue(r, t) {
258
399
  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);
400
+ const o = await this.store.get(r);
401
+ return o ? (t.onSwrHit && t.onSwrHit(o), o) : void 0;
402
+ } catch (o) {
403
+ console.warn(`[SWR] Error fetching value for key: ${r}`, o);
263
404
  }
264
405
  }
265
406
  async getFreshValue(r, t) {
266
- var s;
407
+ var o;
267
408
  try {
268
- const o = await this.axiosInstance.request(
409
+ const i = await this.axiosInstance.request(
269
410
  t
270
- ), l = (s = o == null ? void 0 : o.data) != null ? s : o;
271
- return this.store.set(r, l).catch((n) => {
272
- console.warn(`[SWR] Failed to write to cache: ${r}`, n);
273
- }), t.onSwrRefresh && t.onSwrRefresh(l), l;
274
- } catch (o) {
275
- throw console.warn(`[SWR] Request failed: ${t.url}`, o), t.onSwrError && t.onSwrError(o), o;
411
+ ), g = (o = i == null ? void 0 : i.data) != null ? o : i;
412
+ return this.store.set(r, g).catch((p) => {
413
+ console.warn(`[SWR] Failed to write to cache: ${r}`, p);
414
+ }), t.onSwrRefresh && t.onSwrRefresh(g), g;
415
+ } catch (i) {
416
+ throw console.warn(`[SWR] Request failed: ${t.url}`, i), t.onSwrError && t.onSwrError(i), i;
276
417
  }
277
418
  }
278
419
  async clear() {
279
420
  await this.store.clear();
280
421
  }
281
422
  }
282
- let W = [], z = [], w = [];
283
- const a = $.create({
423
+ let z = [], L = [], P = [];
424
+ const a = w.create({
284
425
  headers: {
285
426
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
286
427
  // @ts-ignore (See: https://github.com/axios/axios/issues/4193 )
@@ -298,66 +439,78 @@ a.addEnvironmentVariables = (e) => {
298
439
  );
299
440
  });
300
441
  };
301
- a.swr = new Q({
442
+ a.swr = new K({
302
443
  key: a.env.swrKey || "swr",
303
444
  axiosInstance: a
304
445
  });
305
- const _t = a.get.bind(a);
306
- a.swr = new Q({
446
+ const Ro = a.get.bind(a);
447
+ a.swr = new K({
307
448
  key: a.env.swrKey || "swr",
308
449
  axiosInstance: a
309
450
  });
310
451
  a.get = function(...e) {
311
- return (e[1] || {}).swr ? this.swr.get(...e) : _t(...e);
452
+ return (e[1] || {}).swr ? this.swr.get(...e) : Ro(...e);
312
453
  };
313
454
  a.addRequestInterceptor = (e, r) => {
314
- W.push(e), r && !w.includes(r) && w.push(r), a.interceptors.request.handlers.length === 0 && a.interceptors.request.use(
455
+ z.push(e), r && !P.includes(r) && P.push(r), a.interceptors.request.handlers.length === 0 && a.interceptors.request.use(
315
456
  async (t) => {
316
- for (const s of W)
317
- t = await s(t, a.env);
457
+ for (const o of z)
458
+ t = await o(t, a.env);
318
459
  return t;
319
460
  },
320
461
  (t) => {
321
- for (const s of w)
322
- s(t, a.env);
462
+ for (const o of P)
463
+ o(t, a.env);
323
464
  }
324
465
  );
325
466
  };
326
467
  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(
468
+ L.push(e), r && !P.includes(r) && P.push(r), a.interceptors.response.handlers.length === 0 && a.interceptors.response.use(
328
469
  async (t) => {
329
- for (const s of z)
330
- t = await s(t, a.env);
470
+ for (const o of L)
471
+ t = await o(t, a.env);
331
472
  return t;
332
473
  },
333
474
  (t) => {
334
- for (const s of w)
335
- s(t, a.env);
475
+ for (const o of P)
476
+ o(t, a.env);
336
477
  return Promise.reject(t);
337
478
  }
338
479
  );
339
480
  };
340
- a.addRequestInterceptor(Tt, X);
341
- a.addResponseInterceptor($t, X);
342
- const Y = (e, r) => {
343
- J(a.defaults), r ? a.defaults.headers.common[e] = r : delete a.defaults.headers.common[e];
344
- }, Bt = (e) => {
345
- Y("Authorization", e ? `Bearer ${e}` : null);
481
+ a.addRequestInterceptor(mo, J);
482
+ a.addResponseInterceptor(co, J);
483
+ const C = (e, r) => {
484
+ Y(a.defaults), r ? a.defaults.headers.common[e] = r : delete a.defaults.headers.common[e];
485
+ }, Do = (e) => {
486
+ C("Authorization", e ? `Bearer ${e}` : null);
346
487
  };
347
- a.CancelToken = $.CancelToken;
348
- a.isCancel = $.isCancel;
349
- a.setHeader = Y;
350
- a.setToken = Bt;
351
- let f = [];
352
- a.generateCancelTokenSource = () => a.CancelToken.source();
353
- a.addCancelToken = (e) => f = [e, ...f];
354
- a.resetCancelTokens = () => f = [];
355
- a.cancelRequests = () => {
356
- f.length && (f.forEach((e) => {
357
- e.cancel("Operation canceled due to new request");
358
- }), a.resetCancelTokens());
359
- };
360
- const xt = {
488
+ a.CancelToken = w.CancelToken;
489
+ a.isCancel = w.isCancel;
490
+ a.setHeader = C;
491
+ a.setToken = Do;
492
+ const H = "Operation canceled due to new request";
493
+ function E() {
494
+ const e = /* @__PURE__ */ new Map();
495
+ return {
496
+ createToken(r) {
497
+ var o;
498
+ (o = e.get(r)) == null || o.cancel(H);
499
+ const t = a.CancelToken.source();
500
+ return e.set(r, t), t.token;
501
+ },
502
+ cancelToken(r) {
503
+ var t;
504
+ (t = e.get(r)) == null || t.cancel(H), e.delete(r);
505
+ },
506
+ cancelAll() {
507
+ e.forEach((r) => r.cancel(H)), e.clear();
508
+ }
509
+ };
510
+ }
511
+ a.createRequestManager = E;
512
+ a.requestManager = E();
513
+ const Po = 10 * 60 * 1e3, Eo = {
361
514
  mediaHub: {
362
515
  getAllMedia(e) {
363
516
  return a.get("/admin/media-hub", e);
@@ -381,8 +534,17 @@ const xt = {
381
534
  focusCamera(e, r) {
382
535
  return a.post(`/admin/devices/${r}/${e}/focus`);
383
536
  },
384
- getStorageServers() {
385
- return a.get("/admin/storage/servers");
537
+ getStorageProviders(e, r) {
538
+ return a.get(`/admin/cameras/${e}/storage-providers`, r);
539
+ },
540
+ createStorageProvider(e, r) {
541
+ return a.post(`/admin/cameras/${e}/storage-providers`, r);
542
+ },
543
+ updateStorageProvider(e, r, t) {
544
+ return a.put(
545
+ `/admin/cameras/${e}/storage-providers/${r}`,
546
+ t
547
+ );
386
548
  },
387
549
  getStorageDetails() {
388
550
  return a.get("/admin/storage");
@@ -420,6 +582,9 @@ const xt = {
420
582
  getCameraDetails(e) {
421
583
  return a.get(`/admin/cameras/${e}`);
422
584
  },
585
+ getCameraStatusLogs(e, r) {
586
+ return a.get(`/admin/cameras/${e}/health`, r);
587
+ },
423
588
  deleteSnapshots(e, r) {
424
589
  return a.delete(`admin/cameras/${e}/snapshots`, {
425
590
  params: r
@@ -452,7 +617,7 @@ const xt = {
452
617
  }
453
618
  },
454
619
  companies: {
455
- show(e, r) {
620
+ show(e, r = {}) {
456
621
  return a.get(`/admin/companies/${e}`, r);
457
622
  },
458
623
  getCompanyUsers(e, r) {
@@ -475,9 +640,6 @@ const xt = {
475
640
  },
476
641
  deleteCompany(e) {
477
642
  return a.delete("/admin/companies", { params: e });
478
- },
479
- reSyncCompanies(e) {
480
- return a.post("/admin/companies/resync", e);
481
643
  }
482
644
  },
483
645
  sso: {
@@ -494,6 +656,26 @@ const xt = {
494
656
  return a.delete("/admin/sso-providers", { params: { ids: e } });
495
657
  }
496
658
  },
659
+ oauthClients: {
660
+ index() {
661
+ return a.get("/admin/oauth/clients");
662
+ },
663
+ show(e) {
664
+ return a.get(`/admin/oauth/clients/${e}`);
665
+ },
666
+ create(e) {
667
+ return a.post("/admin/oauth/clients", e);
668
+ },
669
+ update(e, r) {
670
+ return a.patch(`/admin/oauth/clients/${e}`, r);
671
+ },
672
+ delete(e) {
673
+ return a.delete(`/admin/oauth/clients/${e}`);
674
+ },
675
+ regenerateSecret(e) {
676
+ return a.post(`/admin/oauth/clients/${e}/regenerate-secret`);
677
+ }
678
+ },
497
679
  emailing: {
498
680
  performEmailing(e, r) {
499
681
  return a.post(`/admin/mailing/${e}`, r);
@@ -512,14 +694,6 @@ const xt = {
512
694
  addExtraction(e, r) {
513
695
  return a.post(`admin/cameras/${e}/extractions`, r);
514
696
  },
515
- getExtractionStatus(e, r, t) {
516
- return a.get(
517
- `admin/cameras/${e}/extractions/${r}`,
518
- {
519
- params: t
520
- }
521
- );
522
- },
523
697
  deleteSnapshotExtraction(e, r, t) {
524
698
  return a.delete(
525
699
  `admin/cameras/${e}/extractions/${r}`,
@@ -527,6 +701,30 @@ const xt = {
527
701
  params: t
528
702
  }
529
703
  );
704
+ },
705
+ getExtraction(e, r) {
706
+ return a.get(
707
+ `admin/cameras/${e}/extractions/${r}`
708
+ );
709
+ },
710
+ reprocessExtraction(e, r) {
711
+ return a.post(
712
+ `admin/cameras/${e}/extractions/${r}/reprocess`
713
+ );
714
+ }
715
+ },
716
+ anprExtractions: {
717
+ list(e) {
718
+ return a.get(`/admin/cameras/${e}/anpr/extractions`);
719
+ },
720
+ create(e, r) {
721
+ return a.post(
722
+ `/admin/cameras/${e}/anpr/extractions`,
723
+ r
724
+ );
725
+ },
726
+ delete(e, r) {
727
+ return a.delete(`/admin/cameras/${e}/anpr/extractions/${r}`);
530
728
  }
531
729
  },
532
730
  kits: {
@@ -549,12 +747,12 @@ const xt = {
549
747
  kitId: e,
550
748
  metric: r,
551
749
  fromDate: t,
552
- toDate: s
750
+ toDate: o
553
751
  }) {
554
752
  return a.get(`/admin/kits/${e}/stats/${r}`, {
555
753
  params: {
556
754
  fromDate: t,
557
- toDate: s
755
+ toDate: o
558
756
  }
559
757
  });
560
758
  },
@@ -572,6 +770,20 @@ const xt = {
572
770
  },
573
771
  getAlarms(e) {
574
772
  return a.get(`/admin/kits/${e}/alarms`);
773
+ },
774
+ runSupportChecklist(e) {
775
+ return a.post(`/admin/kits/${e}/support-checklist`, null, {
776
+ timeout: Po
777
+ });
778
+ },
779
+ getBoxes(e) {
780
+ return a.get("/admin/kit-boxes", e);
781
+ },
782
+ createBox(e) {
783
+ return a.post("/admin/kit-boxes", e);
784
+ },
785
+ updateBox(e, r) {
786
+ return a.patch(`/admin/kit-boxes/${e}`, r);
575
787
  }
576
788
  },
577
789
  logs: {
@@ -579,7 +791,9 @@ const xt = {
579
791
  return a.get("/admin/cameras-logs", e);
580
792
  },
581
793
  getCameraLogs(e, r) {
582
- return a.get(`/admin/cameras/${e}/audit-logs`, r);
794
+ return a.get(`/admin/cameras/${e}/audit-logs`, {
795
+ params: r
796
+ });
583
797
  },
584
798
  togglePinNote(e) {
585
799
  return a.patch(`/admin/audit-logs/${e}/toggle-pin`);
@@ -647,6 +861,12 @@ const xt = {
647
861
  },
648
862
  addToProject(e, r) {
649
863
  return a.post(`/admin/projects/${e}/add-cameras`, r);
864
+ },
865
+ getProjectStorages(e) {
866
+ return a.get("/admin/projects/storages", e);
867
+ },
868
+ retryProjectStorage(e) {
869
+ return a.post(`/admin/projects/storages/${e}/retry`);
650
870
  }
651
871
  },
652
872
  routers: {
@@ -700,26 +920,9 @@ const xt = {
700
920
  return a.patch(`/admin/hdds/${e}/footages/${r}`, t);
701
921
  }
702
922
  },
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
923
  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 });
924
+ getInvites(e) {
925
+ return a.get("/admin/invites", e);
723
926
  }
724
927
  },
725
928
  sims: {
@@ -797,7 +1000,7 @@ const xt = {
797
1000
  return a.put(`/admin/users/${e}/grant-admin`);
798
1001
  },
799
1002
  deleteUser(e, r) {
800
- return a.post(`/users/${e}/delete`, r);
1003
+ return a.delete(`/admin/users/${e}`, { params: r });
801
1004
  },
802
1005
  impersonateUser(e) {
803
1006
  return a.post(`/admin/users/${e}/impersonate`);
@@ -805,7 +1008,7 @@ const xt = {
805
1008
  getUsers(e) {
806
1009
  return a.get("/admin/users", e);
807
1010
  },
808
- show(e, r) {
1011
+ show(e, r = {}) {
809
1012
  return a.get(
810
1013
  `/admin/users/${e}${"with_zoho" in r ? "?with_zoho" : ""}`
811
1014
  );
@@ -846,243 +1049,784 @@ const xt = {
846
1049
  index(e) {
847
1050
  return a.get("/admin/comments", e);
848
1051
  }
1052
+ },
1053
+ snapshotTransfers: {
1054
+ index(e) {
1055
+ return a.get("/admin/snapshot-transfers", e);
1056
+ },
1057
+ cancel(e) {
1058
+ return a.patch(`/admin/snapshot-transfers/${e}/cancel`);
1059
+ }
849
1060
  }
850
- }, Lt = {
851
- presets: {
852
- getProjectPresets(e, r) {
853
- const t = btoa(e);
1061
+ }, Ao = {
1062
+ list(e = {}) {
1063
+ return a.get("/video-walls", { params: e });
1064
+ },
1065
+ create(e) {
1066
+ return a.post("/video-walls", {
1067
+ source: "default",
1068
+ ...e
1069
+ });
1070
+ },
1071
+ get(e) {
1072
+ return a.get(`/video-walls/${e}`);
1073
+ },
1074
+ update(e, r) {
1075
+ return a.put(`/video-walls/${e}`, {
1076
+ source: "default",
1077
+ ...r
1078
+ });
1079
+ },
1080
+ delete(e) {
1081
+ return a.delete(`/video-walls/${e}`);
1082
+ }
1083
+ }, l = () => a.env.firebaseDbLink, _o = () => a.env.firebaseStorageUrl, jo = () => a.env.firebaseStorageToken, Uo = () => a.env.forgeTokenServerUrl, n = { skipAuth: !0, preserveCasing: !0 }, Io = {
1084
+ drone: {
1085
+ getProjectInfo(e) {
854
1086
  return a.get(
855
- `${a.env.firebaseVideowallUrl}/${t}/presets/${r}.json`,
856
- {
857
- transformRequest: (s, o) => (delete o.common.Authorization, s)
858
- }
1087
+ `${l()}data/projects/cesium/${e}.json`,
1088
+ n
1089
+ );
1090
+ },
1091
+ getProjectTags(e) {
1092
+ return a.get(
1093
+ `${l()}data/projects/cesium/${e}/transform/tags.json`,
1094
+ n
859
1095
  );
860
1096
  },
861
- saveProjectPreset(e, r, t) {
862
- const s = JSON.stringify({ configuration: t.configuration }), o = t.name, l = btoa(e);
1097
+ patchTags({
1098
+ projectId: e,
1099
+ tags: r
1100
+ }) {
863
1101
  return a.patch(
864
- `${a.env.firebaseVideowallUrl}/${l}/presets/${r}/${o}.json`,
865
- s,
866
- {
867
- transformRequest: (n, p) => (delete p.common.Authorization, n)
868
- }
1102
+ `${l()}data/projects/cesium/${e}/transform/tags.json`,
1103
+ r,
1104
+ n
869
1105
  );
870
1106
  },
871
- getGlobalPreset(e) {
872
- const r = btoa(e);
873
- return a.get(
874
- `${a.env.firebaseVideowallUrl}/${r}/presets/global.json`,
875
- {
876
- transformRequest: (t, s) => (delete s.common.Authorization, t)
877
- }
1107
+ saveMarkers({
1108
+ projectId: e,
1109
+ markers: r
1110
+ }) {
1111
+ return a.put(
1112
+ `${l()}data/projects/cesium/${e}/transform/markers.json`,
1113
+ r,
1114
+ n
878
1115
  );
879
1116
  },
880
- saveGlobalPreset(e, r) {
881
- const t = JSON.stringify({ configuration: r.configuration }), s = btoa(e);
1117
+ patchTransform({
1118
+ projectId: e,
1119
+ data: r
1120
+ }) {
882
1121
  return a.patch(
883
- `${a.env.firebaseVideowallUrl}/${s}/presets/global.json`,
1122
+ `${l()}data/projects/cesium/${e}/transform.json`,
1123
+ r,
1124
+ n
1125
+ );
1126
+ },
1127
+ saveTerrainPoints({
1128
+ projectId: e,
1129
+ dateId: r,
1130
+ points: t
1131
+ }) {
1132
+ return a.put(
1133
+ `${l()}data/projects/cesium/${e}/transform/terrainPoints/${r}.json`,
884
1134
  t,
885
- {
886
- transformRequest: (o, l) => (delete l.common.Authorization, o)
887
- }
1135
+ n
888
1136
  );
889
- }
890
- }
891
- }, T = () => a.env.firebaseDbLink, jt = () => a.env.firebaseStorageUrl, Ot = () => a.env.firebaseStorageToken, Zt = {
892
- drone: {
893
- getProjectInfo(e) {
894
- return fetch(
895
- `${T()}data/projects/cesium/${e}.json`
896
- ).then((r) => r.json());
897
1137
  },
898
- getProjectTags(e) {
899
- return fetch(
900
- `${T()}cesium/${e}/transform/tags.json`
901
- ).then((r) => r.json());
902
- }
903
- },
904
- _360: {
905
- getProjectInfo(e) {
906
- return fetch(
907
- `${T()}data/projects/360/${e}.json`
908
- ).then((r) => r.json());
1138
+ patchImageryPlan({
1139
+ projectId: e,
1140
+ plan: r
1141
+ }) {
1142
+ return a.patch(
1143
+ `${l()}data/projects/cesium/${e}/transform/imageryPlans.json`,
1144
+ r,
1145
+ n
1146
+ );
909
1147
  },
910
- updateFloor(e, r, t, s) {
911
- return fetch(
912
- `${T()}data/projects/360/${e}/dates/${r}/floors/${t}.json`,
913
- {
914
- method: "PATCH",
915
- body: JSON.stringify(s)
916
- }
917
- ).then((o) => o.json());
1148
+ deleteImageryPlan({
1149
+ projectId: e,
1150
+ uuid: r
1151
+ }) {
1152
+ return a.delete(
1153
+ `${l()}data/projects/cesium/${e}/transform/imageryPlans/${r}.json`,
1154
+ n
1155
+ );
918
1156
  },
919
- updateRoute(e, r, t, s) {
920
- return fetch(
921
- `${T()}360/${e}/${r}/${t}/route.json`,
922
- {
923
- method: "PATCH",
924
- body: JSON.stringify(s)
925
- }
926
- ).then((o) => o.json());
1157
+ saveImageryPlans({
1158
+ projectId: e,
1159
+ plans: r
1160
+ }) {
1161
+ return a.put(
1162
+ `${l()}data/projects/cesium/${e}/transform/imageryPlans.json`,
1163
+ r,
1164
+ n
1165
+ );
927
1166
  },
928
- async updateFeatureFlag(e, r, t, s, o) {
929
- return fetch(
930
- `${T()}360/${e}/${r}/${t}/${s}.json`,
931
- {
932
- method: "PUT",
933
- body: JSON.stringify(o)
934
- }
935
- ).then((l) => l.json());
1167
+ getBlackListIds(e) {
1168
+ return a.get(
1169
+ `${l()}data/projects/cesium/${e}/transform/blackListIds.json`,
1170
+ n
1171
+ );
936
1172
  },
937
- async saveSteps(e, r, t, s) {
938
- return fetch(
939
- `${T()}360/${e}/${r}/${t}/steps.json`,
940
- {
941
- method: "PUT",
942
- body: JSON.stringify(s)
943
- }
944
- ).then((o) => o.json());
1173
+ saveBlackListIds({
1174
+ projectId: e,
1175
+ ids: r
1176
+ }) {
1177
+ return a.put(
1178
+ `${l()}data/projects/cesium/${e}/transform/blackListIds.json`,
1179
+ r,
1180
+ n
1181
+ );
945
1182
  },
946
- updateGPXFile(e, r, t, s) {
947
- const o = new Blob([s], { type: "application/gpx+xml" }), l = new FormData();
948
- return l.append("gpxFile", o, "updated-track.gpx"), fetch(
949
- `${jt() + encodeURIComponent("/" + e + "/") + r + encodeURIComponent("/" + t + "/route/track.gpx")}?alt=media&token=${Ot()}`,
950
- {
951
- method: "POST",
952
- body: l
953
- }
1183
+ saveModel({
1184
+ projectId: e,
1185
+ model: r
1186
+ }) {
1187
+ const { trueIndex: t, ...o } = r;
1188
+ return a.put(
1189
+ `${l()}data/projects/cesium/${e}/models/${t}.json`,
1190
+ o,
1191
+ n
954
1192
  );
955
- }
956
- },
957
- forge: {
958
- async getProjectInfo(e) {
959
- return fetch(
960
- `${T()}data/projects/forge/${e}.json`
961
- ).then((r) => r.json());
962
- }
963
- }
964
- }, g = (e = {}, { forceSnakeCase: r = !0, forceArrayBrackets: t = !1 } = {}) => {
965
- if (Object.keys(e).length === 0)
966
- return;
967
- let s = { ...e };
968
- return r && (s = P.decamelizeKeys(e)), Object.entries(s).reduce((o, [l, n], p) => {
969
- let b = "";
970
- return ["", null, void 0].includes(n) || Array.isArray(n) && n.length === 0 ? o : (n && typeof n == "object" ? b = Object.entries(n).reduce((U, [M, D], _) => {
971
- let k = l;
972
- return isNaN(Number.parseInt(M)) ? k = `${l}[${M}]` : Array.isArray(n) && t && (k = `${l}[]`), `${U}${_ > 0 ? "&" : ""}${k}=${encodeURIComponent(D)}`;
973
- }, "") : b = `${l}=${encodeURIComponent(
974
- n
975
- )}`, `${o}${p > 0 ? "&" : ""}${b}`);
976
- }, "");
977
- };
978
- function Nt(e = "") {
979
- return [
980
- ...new URLSearchParams(
981
- e.indexOf("#") > -1 ? e.split("#")[0] : e
982
- ).entries()
983
- ].filter(([, t]) => t).reduce((t, [s, o]) => (e.match(new RegExp(`(?:^|[?&])${s}=`, "g")) || []).length <= 1 ? { ...t, [s]: o } : t[s] ? {
984
- ...t,
985
- [s]: [...t[s], o]
986
- } : { ...t, [s]: [o] }, {});
987
- }
988
- function qt(e) {
989
- return e.length === 0 ? e : e.charAt(0).toUpperCase() + e.slice(1).toLowerCase();
990
- }
991
- const i = () => a.env.aiApiUrl, Xt = {
992
- analyticsParameters: {
993
- getParameters(e, r = {}) {
994
- return a.get(
995
- `${i()}/cameras/${e}/analytics-parameters`,
996
- {
997
- params: r
998
- }
1193
+ },
1194
+ saveModels({
1195
+ projectId: e,
1196
+ models: r
1197
+ }) {
1198
+ return a.put(
1199
+ `${l()}data/projects/cesium/${e}/models.json`,
1200
+ r,
1201
+ n
1202
+ );
1203
+ },
1204
+ saveBimData({
1205
+ projectId: e,
1206
+ data: r
1207
+ }) {
1208
+ return a.put(
1209
+ `${l()}data/projects/cesium/${e}/transform/bimData.json`,
1210
+ r,
1211
+ n
999
1212
  );
1000
1213
  },
1001
- createParameters(e) {
1002
- return a.post(`${i()}/cameras/analytics-parameters`, e);
1214
+ getBimTransparencyFlag(e) {
1215
+ return a.get(
1216
+ `${l()}data/projects/cesium/${e}/transform/bimTransparencyFeatureFlag.json`,
1217
+ n
1218
+ );
1003
1219
  },
1004
- updateParameters({
1005
- updatedBy: e,
1006
- id: r,
1007
- ...t
1220
+ saveCameraTransform({
1221
+ projectId: e,
1222
+ isScene3D: r,
1223
+ transform: t
1008
1224
  }) {
1009
1225
  return a.patch(
1010
- `${i()}/cameras/analytics-parameters/${r}?${g({
1011
- updatedBy: e
1012
- })}`,
1013
- t
1226
+ `${l()}data/projects/cesium/${e}/transform/initial${r ? "" : "2D"}CameraTransform.json`,
1227
+ t,
1228
+ n
1014
1229
  );
1015
1230
  }
1016
1231
  },
1017
- anpr: {
1018
- exportAnprLegacyEvents(e, r) {
1019
- return a({
1020
- url: `${i()}/projects/${e}/anpr/export?${g(
1021
- r
1022
- )}`,
1023
- method: "GET",
1024
- responseType: "blob"
1025
- });
1026
- },
1027
- getAnprEvents(e, r, t = {}) {
1232
+ _360: {
1233
+ getProjectInfo(e, r = { config: {} }) {
1028
1234
  return a.get(
1029
- `${i()}/projects/${e}/anpr?${g(
1030
- r
1031
- )}`,
1032
- t
1235
+ `${l()}data/projects/360/${e}.json`,
1236
+ {
1237
+ ...r.config,
1238
+ ...n
1239
+ }
1033
1240
  );
1034
1241
  },
1035
- getAnprCounts(e, r, t) {
1242
+ getProjectsList() {
1036
1243
  return a.get(
1037
- `${i()}/projects/${e}/anpr/counts?${g(
1038
- r
1039
- )}`,
1040
- t
1244
+ `${l()}data/360-list.json`,
1245
+ n
1041
1246
  );
1042
1247
  },
1043
- updateAnprEvent(e, r) {
1044
- return a.patch(`${i()}/projects/anpr/${e}`, {
1045
- ...r
1046
- });
1047
- },
1048
- bulkUpdateAnprRecords(e, r) {
1049
- return a.patch(
1050
- `${i()}/projects/anpr/update/status?${g({
1051
- anprEventsIds: e,
1052
- action: r
1053
- })}`
1248
+ updateProjectsList(e) {
1249
+ return a.put(
1250
+ `${l()}data/360-list.json`,
1251
+ e,
1252
+ n
1054
1253
  );
1055
1254
  },
1056
- exportAnprEvents(e, r) {
1057
- return a({
1058
- url: `${i()}/projects/${e}/anpr/events/export?${g(
1059
- r
1060
- )}`,
1061
- method: "GET",
1062
- responseType: "blob"
1063
- });
1064
- }
1065
- },
1066
- gateReport: {
1067
- getLastVerified(e) {
1068
- return a.get(
1069
- `${i()}/projects/gate-report/last-verified`,
1070
- e
1255
+ updateProjectsListItem(e, r) {
1256
+ return a.put(
1257
+ `${l()}data/360-list/${e}.json`,
1258
+ r,
1259
+ n
1071
1260
  );
1072
1261
  },
1073
- deleteEvent(e, r) {
1262
+ deleteProject(e) {
1074
1263
  return a.delete(
1075
- `${i()}/projects/events/${e}?${g(r)}`
1264
+ `${l()}data/projects/360/${e}.json`,
1265
+ n
1076
1266
  );
1077
1267
  },
1078
- dismissEvents(e) {
1079
- return a.delete(
1080
- `${i()}/projects/events?${g(e)}`
1268
+ updateProjectInfo(e, r) {
1269
+ return a.patch(
1270
+ `${l()}data/projects/360/${e}.json`,
1271
+ r,
1272
+ n
1081
1273
  );
1082
1274
  },
1083
- exportEvents(e, r) {
1275
+ updateFloor(e, r, t, o) {
1276
+ return a.patch(
1277
+ `${l()}data/projects/360/${e}/dates/${r}/floors/${t}.json`,
1278
+ o,
1279
+ n
1280
+ );
1281
+ },
1282
+ getFloor({
1283
+ projectId: e,
1284
+ dateId: r,
1285
+ floorId: t
1286
+ }) {
1287
+ return a.get(
1288
+ `${l()}data/projects/360/${e}/${r}/${t}.json`,
1289
+ n
1290
+ );
1291
+ },
1292
+ getAerialShotsFloor({
1293
+ projectId: e,
1294
+ dateId: r,
1295
+ floorId: t
1296
+ }) {
1297
+ return a.get(
1298
+ `${l()}data/projects/360/${e}/aerial-shots/${r}/${t}.json`,
1299
+ n
1300
+ );
1301
+ },
1302
+ update3DMarkers({
1303
+ projectId: e,
1304
+ dateId: r,
1305
+ floorId: t,
1306
+ markers: o
1307
+ }) {
1308
+ return a.put(
1309
+ `${l()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1310
+ o,
1311
+ n
1312
+ );
1313
+ },
1314
+ updateFloors({
1315
+ projectId: e,
1316
+ dateId: r,
1317
+ floors: t
1318
+ }) {
1319
+ return a.put(
1320
+ `${l()}data/projects/360/${e}/dates/${r}/floors.json`,
1321
+ t,
1322
+ n
1323
+ );
1324
+ },
1325
+ deleteFloor({
1326
+ projectId: e,
1327
+ dateId: r,
1328
+ floorId: t
1329
+ }) {
1330
+ return a.delete(
1331
+ `${l()}data/projects/360/${e}/${r}/${t}.json`,
1332
+ n
1333
+ );
1334
+ },
1335
+ updateDates(e, r) {
1336
+ return a.put(
1337
+ `${l()}data/projects/360/${e}/dates.json`,
1338
+ r,
1339
+ n
1340
+ );
1341
+ },
1342
+ updatePins({
1343
+ projectId: e,
1344
+ dateId: r,
1345
+ floorId: t,
1346
+ pins: o
1347
+ }) {
1348
+ return a.put(
1349
+ `${l()}data/projects/360/${e}/${r}/${t}/pins.json`,
1350
+ o,
1351
+ n
1352
+ );
1353
+ },
1354
+ getGPXText(e) {
1355
+ return e ? a.get(e.replace(/token=\s*/, "token="), {
1356
+ ...n,
1357
+ responseType: "text"
1358
+ }) : Promise.resolve("");
1359
+ },
1360
+ updateRoute(e, r, t, o) {
1361
+ return a.patch(
1362
+ `${l()}data/projects/360/${e}/${r}/${t}/route.json`,
1363
+ o,
1364
+ n
1365
+ );
1366
+ },
1367
+ async updateFeatureFlag(e, r, t, o, i) {
1368
+ return a.put(
1369
+ `${l()}data/projects/360/${e}/${r}/${t}/${o}.json`,
1370
+ i,
1371
+ {
1372
+ ...n,
1373
+ transformRequest: [(g) => JSON.stringify(g)]
1374
+ }
1375
+ );
1376
+ },
1377
+ async saveSteps(e, r, t, o) {
1378
+ return a.put(
1379
+ `${l()}data/projects/360/${e}/${r}/${t}/steps.json`,
1380
+ o,
1381
+ n
1382
+ );
1383
+ },
1384
+ getDates({
1385
+ projectID: e,
1386
+ prefix: r = ""
1387
+ }) {
1388
+ return a.get(
1389
+ `${l()}data/projects/360/${e}/${r}dates.json`,
1390
+ n
1391
+ );
1392
+ },
1393
+ getFloorData({
1394
+ projectID: e,
1395
+ dateID: r,
1396
+ floorID: t,
1397
+ prefix: o = ""
1398
+ }) {
1399
+ return a.get(
1400
+ `${l()}data/projects/360/${e}/${o}${r}/${t}.json`,
1401
+ n
1402
+ );
1403
+ },
1404
+ patchFloor({
1405
+ projectID: e,
1406
+ dateID: r,
1407
+ floorID: t,
1408
+ body: o
1409
+ }) {
1410
+ return a.patch(
1411
+ `${l()}data/projects/360/${e}/${r}/${t}.json`,
1412
+ o,
1413
+ n
1414
+ );
1415
+ },
1416
+ deleteMarkers({ projectID: e, dateID: r, floorID: t }) {
1417
+ return a.delete(
1418
+ `${l()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1419
+ n
1420
+ );
1421
+ },
1422
+ patchMarkers({
1423
+ projectID: e,
1424
+ dateID: r,
1425
+ floorID: t,
1426
+ markers: o
1427
+ }) {
1428
+ return a.patch(
1429
+ `${l()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1430
+ o,
1431
+ n
1432
+ );
1433
+ },
1434
+ putMarkers({
1435
+ projectID: e,
1436
+ dateID: r,
1437
+ floorID: t,
1438
+ markers: o
1439
+ }) {
1440
+ return a.put(
1441
+ `${l()}data/projects/360/${e}/${r}/${t}/_3DMarkers.json`,
1442
+ o,
1443
+ n
1444
+ );
1445
+ },
1446
+ putFloors({
1447
+ projectID: e,
1448
+ dateID: r,
1449
+ floors: t
1450
+ }) {
1451
+ return a.put(
1452
+ `${l()}data/projects/360/${e}/dates/${r}/floors.json`,
1453
+ t,
1454
+ n
1455
+ );
1456
+ },
1457
+ deleteFloorData({
1458
+ projectID: e,
1459
+ dateID: r,
1460
+ floorID: t
1461
+ }) {
1462
+ return a.delete(
1463
+ `${l()}data/projects/360/${e}/${r}/${t}.json`,
1464
+ n
1465
+ );
1466
+ },
1467
+ putDates({
1468
+ projectID: e,
1469
+ dates: r
1470
+ }) {
1471
+ return a.put(
1472
+ `${l()}data/projects/360/${e}/dates.json`,
1473
+ r,
1474
+ n
1475
+ );
1476
+ },
1477
+ deleteDate({
1478
+ projectID: e,
1479
+ dateID: r
1480
+ }) {
1481
+ return a.delete(
1482
+ `${l()}data/projects/360/${e}/${r}.json`,
1483
+ n
1484
+ );
1485
+ },
1486
+ getPins({
1487
+ projectID: e,
1488
+ dateID: r,
1489
+ floorID: t
1490
+ }) {
1491
+ return a.get(
1492
+ `${l()}data/projects/360/${e}/${r}/${t}/pins.json`,
1493
+ n
1494
+ );
1495
+ },
1496
+ putPins({
1497
+ projectID: e,
1498
+ dateID: r,
1499
+ floorID: t,
1500
+ pins: o
1501
+ }) {
1502
+ return a.put(
1503
+ `${l()}data/projects/360/${e}/${r}/${t}/pins.json`,
1504
+ o,
1505
+ n
1506
+ );
1507
+ },
1508
+ patchCalibrationDetails({
1509
+ projectID: e,
1510
+ dateID: r,
1511
+ floorID: t,
1512
+ details: o
1513
+ }) {
1514
+ return a.patch(
1515
+ `${l()}data/projects/360/${e}/${r}/${t}/calibrationDetails.json`,
1516
+ o,
1517
+ n
1518
+ );
1519
+ },
1520
+ getDateWalks(e, r) {
1521
+ return a.get(
1522
+ `${l()}data/projects/360/${e}/${r}.json`,
1523
+ n
1524
+ );
1525
+ },
1526
+ getRoute({
1527
+ projectID: e,
1528
+ dateID: r,
1529
+ floorID: t
1530
+ }) {
1531
+ return a.get(
1532
+ `${l()}data/projects/360/${e}/${r}/${t}/route.json`,
1533
+ n
1534
+ );
1535
+ },
1536
+ deleteRoute({ projectID: e, dateID: r, floorID: t }) {
1537
+ return a.delete(
1538
+ `${l()}data/projects/360/${e}/${r}/${t}/route.json`,
1539
+ n
1540
+ );
1541
+ },
1542
+ getAerialShotDate({
1543
+ projectID: e,
1544
+ dateID: r
1545
+ }) {
1546
+ return a.get(
1547
+ `${l()}data/projects/360/${e}/aerial-shots/dates/${r}/date.json`,
1548
+ n
1549
+ );
1550
+ },
1551
+ updateGPXFile(e, r, t, o) {
1552
+ const i = new Blob([o], { type: "application/gpx+xml" }), g = new FormData();
1553
+ return g.append("gpxFile", i, "updated-track.gpx"), a.post(
1554
+ `${_o() + encodeURIComponent("/" + e + "/") + r + encodeURIComponent("/" + t + "/route/track.gpx")}?alt=media&token=${jo()}`,
1555
+ g,
1556
+ {
1557
+ ...n,
1558
+ headers: { "Content-Type": "multipart/form-data" }
1559
+ }
1560
+ );
1561
+ },
1562
+ getProjectDates(e) {
1563
+ return a.get(
1564
+ `${l()}data/projects/360/${e}/dates.json`,
1565
+ n
1566
+ );
1567
+ },
1568
+ getProjectAerialShotsDates(e) {
1569
+ return a.get(
1570
+ `${l()}data/projects/360/${e}/aerial-shots/dates.json`,
1571
+ n
1572
+ );
1573
+ },
1574
+ getProjectDateFloors({
1575
+ projectId: e,
1576
+ dateId: r,
1577
+ prefix: t = ""
1578
+ }) {
1579
+ return a.get(
1580
+ `${l()}data/projects/360/${e}/${t}${r}.json`,
1581
+ n
1582
+ );
1583
+ },
1584
+ getFloorMarkers({
1585
+ projectId: e,
1586
+ dateId: r,
1587
+ floorId: t,
1588
+ prefix: o = ""
1589
+ }) {
1590
+ return a.get(
1591
+ `${l()}data/projects/360/${e}/${o}${r}/${t}/_3DMarkers.json`,
1592
+ n
1593
+ );
1594
+ }
1595
+ },
1596
+ forge: {
1597
+ getAccessToken() {
1598
+ return a.get(Uo(), n);
1599
+ },
1600
+ getProjectInfo(e) {
1601
+ return a.get(
1602
+ `${l()}data/projects/forge/${e}.json`,
1603
+ n
1604
+ );
1605
+ },
1606
+ saveSavedView(e, r) {
1607
+ return a.put(
1608
+ `${l()}data/projects/forge/${e}/savedView.json`,
1609
+ r,
1610
+ n
1611
+ );
1612
+ },
1613
+ saveMarkers(e, r) {
1614
+ return a.put(
1615
+ `${l()}data/projects/forge/${e}/markers.json`,
1616
+ r,
1617
+ n
1618
+ );
1619
+ },
1620
+ getForgeProject({
1621
+ projectID: e
1622
+ }) {
1623
+ return a.get(
1624
+ `${l()}data/projects/forge/${e}.json`,
1625
+ n
1626
+ );
1627
+ }
1628
+ },
1629
+ itwin: {
1630
+ getProjectInfo(e) {
1631
+ return a.get(
1632
+ `${l()}data/projects/itwin/${e}.json`,
1633
+ n
1634
+ );
1635
+ },
1636
+ clearBimCompare(e) {
1637
+ return a.delete(
1638
+ `${l()}data/projects/itwin/${e}/bim-compare.json`,
1639
+ n
1640
+ );
1641
+ },
1642
+ clearSiteView(e, r) {
1643
+ return a.delete(
1644
+ `${l()}data/projects/itwin/${e}/models/${r}/site-view.json`,
1645
+ n
1646
+ );
1647
+ }
1648
+ },
1649
+ siteView: {
1650
+ getCamerasList() {
1651
+ return a.get(
1652
+ `${l()}data/cameras-list.json`,
1653
+ n
1654
+ );
1655
+ },
1656
+ updateCamerasList(e) {
1657
+ return a.put(
1658
+ `${l()}data/cameras-list.json`,
1659
+ e,
1660
+ n
1661
+ );
1662
+ },
1663
+ updateCamerasListItem(e, r) {
1664
+ return a.put(
1665
+ `${l()}data/cameras-list/${e}.json`,
1666
+ r,
1667
+ n
1668
+ );
1669
+ },
1670
+ updateProjectData({
1671
+ viewerType: e,
1672
+ projectId: r,
1673
+ data: t
1674
+ }) {
1675
+ const o = e.toLowerCase();
1676
+ return a.patch(
1677
+ `${l()}data/projects/${o}/${r}.json`,
1678
+ t,
1679
+ n
1680
+ );
1681
+ },
1682
+ deleteProjectData(e, r) {
1683
+ const t = e.toLowerCase();
1684
+ return a.delete(
1685
+ `${l()}data/projects/${t}/${r}.json`,
1686
+ n
1687
+ );
1688
+ },
1689
+ readAllData(e) {
1690
+ return a.get(`${e}data.json`, n);
1691
+ },
1692
+ writeAllData(e, r) {
1693
+ return a.put(`${e}data.json`, r, n);
1694
+ }
1695
+ },
1696
+ map: {
1697
+ getMapViews(e) {
1698
+ return a.get(
1699
+ `${l()}data/projects/maps/${e}.json`,
1700
+ n
1701
+ );
1702
+ },
1703
+ updateMapViews(e, r) {
1704
+ return a.put(
1705
+ `${l()}data/projects/maps/${e}.json`,
1706
+ r,
1707
+ n
1708
+ );
1709
+ }
1710
+ },
1711
+ safety: {
1712
+ getTPulseLink(e) {
1713
+ return a.get(
1714
+ `${l()}data/projects/safety/${e}.json`,
1715
+ n
1716
+ );
1717
+ },
1718
+ updateTPulseLink(e, r) {
1719
+ return a.put(
1720
+ `${l()}data/projects/safety/${e}.json`,
1721
+ { link: r },
1722
+ n
1723
+ );
1724
+ }
1725
+ },
1726
+ planner: {
1727
+ getPlannerList() {
1728
+ return a.get(`${l()}data/planner-list.json`, {
1729
+ ...n
1730
+ });
1731
+ },
1732
+ getPlannerItem(e) {
1733
+ return a.get(
1734
+ `${l()}data/planner-list/${e}.json`,
1735
+ n
1736
+ );
1737
+ },
1738
+ saveSitePlanMetaData(e, r) {
1739
+ return a.put(
1740
+ `${l()}data/planner-list/${e}.json`,
1741
+ r,
1742
+ n
1743
+ );
1744
+ },
1745
+ getSitePlan(e) {
1746
+ return a.get(
1747
+ `${l()}data/projects/planner/${e}.json`,
1748
+ n
1749
+ );
1750
+ },
1751
+ saveSitePlan(e, r) {
1752
+ return a.put(
1753
+ `${l()}data/projects/planner/${e}.json`,
1754
+ r,
1755
+ n
1756
+ );
1757
+ }
1758
+ }
1759
+ }, u = (e = {}, { forceSnakeCase: r = !0, forceArrayBrackets: t = !1 } = {}) => {
1760
+ if (Object.keys(e).length === 0)
1761
+ return;
1762
+ let o = { ...e };
1763
+ return r && (o = D.decamelizeKeys(e)), Object.entries(o).reduce((i, [g, p], c) => {
1764
+ let h = "";
1765
+ return ["", null, void 0].includes(p) || Array.isArray(p) && p.length === 0 ? i : (p && typeof p == "object" ? h = Object.entries(p).reduce((f, [_, U], B) => {
1766
+ let M = g;
1767
+ return isNaN(Number.parseInt(_)) ? M = `${g}[${_}]` : Array.isArray(p) && t && (M = `${g}[]`), `${f}${B > 0 ? "&" : ""}${M}=${encodeURIComponent(U)}`;
1768
+ }, "") : h = `${g}=${encodeURIComponent(
1769
+ p
1770
+ )}`, `${i}${c > 0 ? "&" : ""}${h}`);
1771
+ }, "");
1772
+ };
1773
+ function Bo(e = "") {
1774
+ return [
1775
+ ...new URLSearchParams(
1776
+ e.indexOf("#") > -1 ? e.split("#")[0] : e
1777
+ ).entries()
1778
+ ].filter(([, t]) => t).reduce((t, [o, i]) => (e.match(new RegExp(`(?:^|[?&])${o}=`, "g")) || []).length <= 1 ? { ...t, [o]: i } : t[o] ? {
1779
+ ...t,
1780
+ [o]: [...t[o], i]
1781
+ } : { ...t, [o]: [i] }, {});
1782
+ }
1783
+ const Z = () => a.env.aiApiUrl, s = () => `${a.env.aiApiUrl}/v2`, yo = {
1784
+ anpr: {
1785
+ exportAnprLegacyEvents(e, r) {
1084
1786
  return a({
1085
- url: `${i()}/projects/${e}/gate-report/events/export?${g(
1787
+ url: `${Z()}/projects/${e}/anpr/export?${u(
1788
+ r
1789
+ )}`,
1790
+ method: "GET",
1791
+ responseType: "blob"
1792
+ });
1793
+ },
1794
+ getAnprEvents(e, r, t = {}) {
1795
+ return a.get(
1796
+ `${s()}/projects/${e}/anpr?${u(
1797
+ r
1798
+ )}`,
1799
+ t
1800
+ );
1801
+ },
1802
+ getAnprCounts(e, r, t) {
1803
+ return a.get(
1804
+ `${s()}/projects/${e}/anpr/counts?${u(
1805
+ r
1806
+ )}`,
1807
+ t
1808
+ );
1809
+ },
1810
+ updateAnprEvent(e, r) {
1811
+ return a.patch(`${s()}/anpr/${e}`, r);
1812
+ },
1813
+ bulkUpdateAnprRecords(e) {
1814
+ return a.patch(`${s()}/anpr/status`, e);
1815
+ },
1816
+ exportAnprEvents(e, r) {
1817
+ return a({
1818
+ url: `${s()}/projects/${e}/anpr/events/export?${u(
1819
+ r
1820
+ )}`,
1821
+ method: "GET",
1822
+ responseType: "blob"
1823
+ });
1824
+ }
1825
+ },
1826
+ gateReport: {
1827
+ exportEvents(e, r) {
1828
+ return a({
1829
+ url: `${s()}/projects/${e}/gate-report/events/export?${u(
1086
1830
  r
1087
1831
  )}`,
1088
1832
  method: "GET",
@@ -1091,14 +1835,14 @@ const i = () => a.env.aiApiUrl, Xt = {
1091
1835
  },
1092
1836
  exportEventsProgress(e, r) {
1093
1837
  return a.get(
1094
- `${i()}/projects/${e}/gate-report/events/export/progress?${g(
1838
+ `${Z()}/projects/${e}/gate-report/events/export/progress?${u(
1095
1839
  r
1096
1840
  )}`
1097
1841
  );
1098
1842
  },
1099
1843
  generateAnprThumbnail(e, r) {
1100
1844
  return a.post(
1101
- `${i()}/cameras/${e}/anpr/${r}/snapshot/generate`,
1845
+ `${s()}/cameras/${e}/anpr/${r}/snapshot/generate`,
1102
1846
  {},
1103
1847
  {
1104
1848
  headers: {
@@ -1107,84 +1851,29 @@ const i = () => a.env.aiApiUrl, Xt = {
1107
1851
  }
1108
1852
  );
1109
1853
  },
1110
- getAllEvents(e, r, t) {
1111
- return r.vehicleTypes || (r.vehicleTypes = N), r.truckTypes || (r.vehicleTypes = N), r.camerasExid || (r.camerasExid = r.cameras), a.get(
1112
- `${i()}/projects/${e}/events?${g(
1113
- r
1114
- )}`,
1115
- t
1116
- );
1117
- },
1118
- getEventCounts(e, r = {}, t) {
1119
- return r.vehicleTypes || (r.vehicleTypes = N), a.get(
1120
- `${i()}/projects/${e}/project-stats?${g(
1121
- r
1122
- )}`,
1123
- {
1124
- ...t || {}
1125
- }
1126
- );
1127
- },
1128
1854
  getVerifiedDays(e, r, t = {}) {
1129
1855
  return a.get(
1130
- `${i()}/projects/${e}/gate-report/verified-days?${g(
1856
+ `${s()}/projects/${e}/gate-report/verified-days?${u(
1131
1857
  r
1132
1858
  )}`,
1133
1859
  t
1134
1860
  );
1135
1861
  },
1136
- updateEventById(e, {
1137
- updatedBy: r,
1138
- payload: t
1139
- }) {
1140
- return a.patch(
1141
- `${i()}/projects/events/${e}?${g({
1142
- updatedBy: r
1143
- })}`,
1144
- t
1145
- );
1146
- },
1147
1862
  verifyDay(e) {
1148
1863
  return a.post(
1149
- `${i()}/projects/gate-report/verified-days`,
1864
+ `${s()}/projects/gate-report/verified-days`,
1150
1865
  e
1151
1866
  );
1152
1867
  },
1153
- regenerateThumbnail(e, r) {
1154
- return a.put(
1155
- `${i()}/projects/gate-report/event-thumbnail/render/${e}?${g(
1156
- r
1157
- )}`,
1158
- {
1159
- method: "PUT"
1160
- }
1161
- );
1162
- },
1163
1868
  getDailyStatus(e, r = {}) {
1164
1869
  return a.get(
1165
- `${i()}/projects/${e}/processed-days`,
1870
+ `${s()}/projects/${e}/gate-report/processed-days`,
1166
1871
  { params: r }
1167
1872
  );
1168
1873
  },
1169
- getEventThumbnail({
1170
- cameraExid: e,
1171
- eventType: r,
1172
- eventTime: t,
1173
- token: s
1174
- }) {
1175
- return `${i()}/cameras/${e}/gate-report/${r}/${t}/thumbnail?authorization=${s}`;
1176
- },
1177
- getEventSnapshot({
1178
- cameraExid: e,
1179
- eventType: r,
1180
- eventTime: t,
1181
- token: s
1182
- }) {
1183
- return `${i()}/cameras/${e}/gate-report/${r}/${t}/snapshot?authorization=${s}`;
1184
- },
1185
1874
  getEvents(e, r, t = {}) {
1186
1875
  return a.get(
1187
- `${i()}/projects/${e}/gate-report/events?${g(
1876
+ `${s()}/projects/${e}/gate-report/events?${u(
1188
1877
  r
1189
1878
  )}`,
1190
1879
  t
@@ -1192,72 +1881,60 @@ const i = () => a.env.aiApiUrl, Xt = {
1192
1881
  },
1193
1882
  getCounts(e, r = {}, t = {}) {
1194
1883
  return a.get(
1195
- `${i()}/projects/${e}/gate-report/counts?${g(
1884
+ `${s()}/projects/${e}/gate-report/counts?${u(
1196
1885
  r
1197
1886
  )}`,
1198
1887
  t
1199
1888
  );
1200
- },
1201
- getGateReportApplications(e, r) {
1202
- return a.get(
1203
- `${i()}/projects/${e}/cameras/${r}/gate-report/apps`
1204
- );
1205
- },
1206
- getGateReportProjectsInfos(e) {
1207
- return a.get(
1208
- `${i()}/projects/gate-report/get-projects-info`,
1209
- e
1210
- );
1211
1889
  }
1212
1890
  },
1213
1891
  brainTool: {
1214
1892
  getObjectDetectionsResults(e = {}) {
1215
- return a.post(`${i()}/ai-models/object-detection`, e);
1216
- },
1217
- getSegments(e = {}) {
1218
- return a.post(`${i()}/ai-models/segment`, e);
1893
+ return a.post(
1894
+ `${s()}/ai-models/object-detection`,
1895
+ e
1896
+ );
1219
1897
  }
1220
1898
  },
1221
1899
  roi: {
1222
1900
  getROIs(e, r = {}) {
1223
1901
  return a.get(
1224
- `${i()}/projects/${e}/rois?${g(r)}`
1902
+ `${s()}/projects/${e}/rois?${u(
1903
+ r
1904
+ )}`
1225
1905
  );
1226
1906
  },
1907
+ listROIs(e = {}) {
1908
+ return a.get(`${s()}/rois?${u(e)}`);
1909
+ },
1227
1910
  createROI(e) {
1228
- return a.post(`${i()}/projects/rois`, e);
1911
+ return a.post(`${s()}/rois`, e);
1229
1912
  },
1230
1913
  updateROI({
1231
1914
  updatedBy: e,
1232
- roi: r
1915
+ id: r,
1916
+ ...t
1233
1917
  }) {
1234
1918
  return a.patch(
1235
- `${i()}/projects/rois/${r.id}?${g({
1919
+ `${s()}/rois/${r}?${u({
1236
1920
  updatedBy: e
1237
1921
  })}`,
1238
- r
1922
+ t
1239
1923
  );
1240
1924
  },
1241
1925
  deleteROI({ id: e, updatedBy: r }) {
1242
1926
  return a.patch(
1243
- `${i()}/projects/rois/${e}?${g({
1927
+ `${s()}/rois/${e}?${u({
1244
1928
  updatedBy: r
1245
1929
  })}`,
1246
- { isactive: !1, note: "delete roi" }
1930
+ { isActive: !1, note: "delete roi" }
1247
1931
  );
1248
1932
  }
1249
1933
  },
1250
1934
  detections: {
1251
- async getDetections({ projectExid: e, ...r }) {
1252
- return a.get(
1253
- `${i()}/projects/${e}/detections?${g(
1254
- r
1255
- )}`
1256
- );
1257
- },
1258
1935
  async getDetectionsCounts({ projectExid: e, ...r }, t = {}) {
1259
1936
  return a.get(
1260
- `${i()}/projects/${e}/detections/counts?${g(
1937
+ `${s()}/projects/${e}/trackings/counts?${u(
1261
1938
  r
1262
1939
  )}`,
1263
1940
  t
@@ -1265,7 +1942,7 @@ const i = () => a.env.aiApiUrl, Xt = {
1265
1942
  },
1266
1943
  async getDetectionsByTimestamp({ projectExid: e, ...r }, t = {}) {
1267
1944
  return a.get(
1268
- `${i()}/projects/${e}/detections/timestamps?${g(
1945
+ `${s()}/projects/${e}/trackings/timestamps?${u(
1269
1946
  r
1270
1947
  )}`,
1271
1948
  t
@@ -1277,7 +1954,7 @@ const i = () => a.env.aiApiUrl, Xt = {
1277
1954
  ...t
1278
1955
  }) {
1279
1956
  return a.get(
1280
- `${i()}/cameras/${e}/segments/appearance-from-points`,
1957
+ `${s()}/cameras/${e}/segments/appearance-from-points`,
1281
1958
  {
1282
1959
  params: {
1283
1960
  cameraExid: e,
@@ -1287,27 +1964,37 @@ const i = () => a.env.aiApiUrl, Xt = {
1287
1964
  }
1288
1965
  );
1289
1966
  },
1290
- async getDetectionsTracking(e, r) {
1967
+ async getGroupedTrackings(e, r) {
1291
1968
  return a.get(
1292
- `${i()}/projects/${e}/detections/trackings?${g(
1969
+ `${s()}/projects/${e}/trackings/grouped?${u(
1293
1970
  r
1294
1971
  )}`
1295
1972
  );
1296
1973
  },
1297
1974
  async getSegmentsMasks(e, r) {
1298
1975
  return a.get(
1299
- `${i()}/cameras/${e}/segments/masks`,
1976
+ `${s()}/cameras/${e}/segments/masks`,
1300
1977
  {
1301
1978
  params: r
1302
1979
  }
1303
1980
  );
1304
1981
  },
1982
+ async getSegmentsPresenceDateIntervals({
1983
+ cameraExid: e,
1984
+ ...r
1985
+ }) {
1986
+ return a.get(
1987
+ `${s()}/cameras/${e}/segments/presence-intervals?${u(
1988
+ r
1989
+ )}`
1990
+ );
1991
+ },
1305
1992
  async getDetectionsPresenceDateIntervals({
1306
1993
  projectExid: e,
1307
1994
  ...r
1308
1995
  }) {
1309
1996
  return a.get(
1310
- `${i()}/projects/${e}/detections/presence-intervals?${g(
1997
+ `${s()}/projects/${e}/trackings/presence-intervals?${u(
1311
1998
  r
1312
1999
  )}`
1313
2000
  );
@@ -1317,172 +2004,461 @@ const i = () => a.env.aiApiUrl, Xt = {
1317
2004
  ...r
1318
2005
  }) {
1319
2006
  return a.get(
1320
- `${i()}/projects/${e}/detections/timestamps/export?${g(
2007
+ `${s()}/projects/${e}/detections/timestamps/export?${u(
1321
2008
  r
1322
2009
  )}`,
1323
2010
  { responseType: "blob" }
1324
2011
  );
1325
2012
  }
1326
2013
  },
2014
+ observations: {
2015
+ getEvents({
2016
+ projectExid: e,
2017
+ ...r
2018
+ }, t = {}) {
2019
+ return a.get(
2020
+ `${s()}/projects/${e}/ppe-events?${u(
2021
+ r
2022
+ )}`,
2023
+ t
2024
+ );
2025
+ },
2026
+ getCounts({
2027
+ projectExid: e,
2028
+ ...r
2029
+ }, t = {}) {
2030
+ return a.get(
2031
+ `${s()}/projects/${e}/ppe-events/counts?${u(
2032
+ r
2033
+ )}`,
2034
+ t
2035
+ );
2036
+ },
2037
+ exportEvents({
2038
+ projectExid: e,
2039
+ ...r
2040
+ }, t = {}) {
2041
+ return a.get(
2042
+ `${s()}/projects/${e}/ppe-events/export?${u(
2043
+ r
2044
+ )}`,
2045
+ t
2046
+ );
2047
+ },
2048
+ updateEventApproval({
2049
+ projectExid: e,
2050
+ eventId: r,
2051
+ isApproved: t
2052
+ }) {
2053
+ return a.patch(
2054
+ `${s()}/projects/${e}/ppe-events/${r}/approval`,
2055
+ { isApproved: t }
2056
+ );
2057
+ }
2058
+ },
1327
2059
  siteAnalytics: {
1328
- smartSearch({
1329
- cameraExid: e,
1330
- payload: r,
1331
- fromDate: t,
1332
- toDate: s,
1333
- page: o = 1,
1334
- pageSize: l = 20
2060
+ smartSearchAll(e, r) {
2061
+ const { payload: t, ...o } = r, i = {
2062
+ page: 1,
2063
+ limit: 20,
2064
+ ...o
2065
+ };
2066
+ let g = `${s()}/projects/${e}/smart-search/all?${u(
2067
+ i
2068
+ )}`;
2069
+ return a.post(g, t);
2070
+ },
2071
+ smartSearchFirstLastSeen(e, r) {
2072
+ const { payload: t, ...o } = r, i = {
2073
+ page: 1,
2074
+ limit: 20,
2075
+ ...o
2076
+ };
2077
+ let g = `${s()}/projects/${e}/smart-search/first-last-seen?${u(
2078
+ i
2079
+ )}`;
2080
+ return a.post(g, t);
2081
+ },
2082
+ saveQuery({
2083
+ projectExid: e,
2084
+ cameraExid: r,
2085
+ payload: t
1335
2086
  }) {
1336
- let n = `${i()}/cameras/${e}/advanced_search?page=${o}&page_size=${l}`;
1337
- return t && s && (n += `&from_date=${t}&to_date=${s}`), a.post(n, r);
1338
- },
1339
- saveQuery(e) {
1340
2087
  return a.post(
1341
- `${i()}/cameras/${e.cameraExid}/advanced_search/queries`,
1342
- e
2088
+ `${s()}/projects/${e}/cameras/${r}/smart-search/queries`,
2089
+ t
1343
2090
  );
1344
2091
  },
1345
2092
  getQueries(e, r) {
1346
2093
  return a.get(
1347
- `${i()}/cameras/${e}/advanced_search/queries`,
1348
- {
1349
- params: r
1350
- }
2094
+ `${s()}/projects/${e}/smart-search/queries?${u(
2095
+ r
2096
+ )}`
1351
2097
  );
1352
2098
  },
1353
- getQueryById(e, r) {
2099
+ getQueryById(e, r, t) {
1354
2100
  return a.get(
1355
- `${i()}/cameras/${e}/advanced_search/queries/${r}`
2101
+ `${s()}/projects/${e}/smart-search/queries/${t}?${u(
2102
+ { cameraExid: r }
2103
+ )}`
1356
2104
  );
1357
2105
  },
1358
- updateQuery(e, r, t) {
1359
- return a.put(
1360
- `${i()}/cameras/${e}/advanced_search/queries/${r}`,
1361
- t
2106
+ updateQuery({
2107
+ projectExid: e,
2108
+ cameraExid: r,
2109
+ queryId: t,
2110
+ payload: o
2111
+ }) {
2112
+ return a.patch(
2113
+ `${s()}/projects/${e}/cameras/${r}/smart-search/queries/${t}`,
2114
+ o
1362
2115
  );
1363
2116
  },
1364
- deleteQuery(e, r) {
2117
+ deleteQuery({
2118
+ projectExid: e,
2119
+ cameraExid: r,
2120
+ queryId: t
2121
+ }) {
1365
2122
  return a.delete(
1366
- `${i()}/cameras/${e}/advanced_search/queries/${r}`,
2123
+ `${s()}/projects/${e}/cameras/${r}/smart-search/queries/${t}`,
1367
2124
  {}
1368
2125
  );
1369
2126
  },
1370
- getProcessedTimes({
2127
+ exportResultsData({
1371
2128
  projectExid: e,
1372
2129
  cameraExids: r,
1373
- granularity: t = "day",
1374
- endDate: s,
1375
- startDate: o
2130
+ fromDate: t,
2131
+ toDate: o,
2132
+ query: i,
2133
+ fileType: g = Q.Csv,
2134
+ directDownload: p = !0,
2135
+ payload: c,
2136
+ limit: h,
2137
+ page: f
1376
2138
  }) {
1377
- return a.get(
1378
- `${i()}/projects/${e}/processed_times`,
2139
+ return a.post(
2140
+ `${s()}/projects/${e}/smart-search/export?${u(
2141
+ {
2142
+ cameraExids: r,
2143
+ fromDate: t,
2144
+ toDate: o,
2145
+ query: i,
2146
+ fileType: g,
2147
+ directDownload: p,
2148
+ limit: h,
2149
+ page: f
2150
+ }
2151
+ )}`,
2152
+ c,
1379
2153
  {
1380
- params: {
1381
- camera_exids: r,
1382
- granularity: t,
1383
- start_date: o,
1384
- end_date: s
1385
- },
1386
- preserveCasing: !0
2154
+ responseType: "blob"
1387
2155
  }
1388
2156
  );
1389
2157
  },
1390
- exportResultsData({
1391
- cameraExid: e,
1392
- fromDate: r,
1393
- toDate: t,
1394
- query: s,
1395
- fileType: o = Z.Csv,
1396
- directDownload: l = !0,
1397
- payload: n
1398
- }) {
1399
- return a.post(
1400
- `${i()}/cameras/${e}/advanced_search/export`,
1401
- n,
1402
- {
1403
- responseType: "blob",
1404
- params: {
1405
- fromDate: r,
1406
- toDate: t,
1407
- query: s,
1408
- fileType: o,
1409
- directDownload: l
1410
- }
1411
- }
2158
+ getDetectionsHeatmapData(e, r) {
2159
+ return a.get(
2160
+ `${s()}/projects/${e}/smart-search/heatmap?${u(
2161
+ r
2162
+ )}`,
2163
+ {}
2164
+ );
2165
+ }
2166
+ },
2167
+ siteAnalyticsManagement: {
2168
+ listApps(e = {}) {
2169
+ return a.get(
2170
+ `${s()}/site-analytics-management/apps?${u(
2171
+ e
2172
+ )}`
2173
+ );
2174
+ },
2175
+ createApp(e) {
2176
+ return a.post(
2177
+ `${s()}/site-analytics-management/apps`,
2178
+ e
2179
+ );
2180
+ },
2181
+ updateApp(e, r, t) {
2182
+ return a.patch(
2183
+ `${s()}/site-analytics-management/apps/${e}/${r}`,
2184
+ t
2185
+ );
2186
+ },
2187
+ deleteApp(e, r) {
2188
+ return a.delete(
2189
+ `${s()}/site-analytics-management/apps/${e}/${r}`
2190
+ );
2191
+ },
2192
+ setAppState(e, r, t) {
2193
+ return a.patch(
2194
+ `${s()}/site-analytics-management/apps/${e}/${r}/state`,
2195
+ { state: t }
2196
+ );
2197
+ },
2198
+ listCoolifyServers() {
2199
+ return a.get(
2200
+ `${s()}/site-analytics-management/coolify-servers`
2201
+ );
2202
+ },
2203
+ listModelVersions() {
2204
+ return a.get(
2205
+ `${s()}/site-analytics-management/model-versions`
2206
+ );
2207
+ }
2208
+ },
2209
+ coolify: {
2210
+ getCoolifyServers() {
2211
+ return a.get(`${s()}/coolify/servers`);
2212
+ },
2213
+ createAppOnCoolify({
2214
+ projectExid: e,
2215
+ cameraExid: r,
2216
+ payload: t
2217
+ }) {
2218
+ return a.post(
2219
+ `${s()}/projects/${e}/cameras/${r}/anpr/apps`,
2220
+ t
2221
+ );
2222
+ },
2223
+ registerCoolifyApp({
2224
+ projectExid: e,
2225
+ cameraExid: r,
2226
+ payload: t
2227
+ }) {
2228
+ return a.post(
2229
+ `${s()}/projects/${e}/cameras/${r}/gate-report/apps`,
2230
+ t
2231
+ );
2232
+ },
2233
+ updateApp({
2234
+ appUuid: e,
2235
+ appId: r,
2236
+ payload: t,
2237
+ cameraExid: o,
2238
+ projectExid: i
2239
+ }) {
2240
+ return a.patch(
2241
+ `${s()}/projects/${i}/cameras/${o}/gate-report/apps/${r}?app_uuid=${e}`,
2242
+ t
2243
+ );
2244
+ },
2245
+ deleteApp({
2246
+ appUuid: e,
2247
+ appId: r,
2248
+ cameraExid: t,
2249
+ projectExid: o
2250
+ }) {
2251
+ return a.delete(
2252
+ `${s()}/projects/${o}/cameras/${t}/gate-report/apps/${r}?app_uuid=${e}`
2253
+ );
2254
+ },
2255
+ startService(e) {
2256
+ return a.post(
2257
+ `${s()}/coolify/services/${e}/start`
2258
+ );
2259
+ },
2260
+ pauseService(e) {
2261
+ return a.post(`${s()}/coolify/services/${e}/stop`);
2262
+ },
2263
+ restartService(e) {
2264
+ return a.post(
2265
+ `${s()}/coolify/services/${e}/restart`
2266
+ );
2267
+ }
2268
+ },
2269
+ fovChanges: {
2270
+ getCameraFovChanges(e, r = {}) {
2271
+ return a.post(
2272
+ `${s()}/cameras/${e}/fov_changes`,
2273
+ {},
2274
+ r
2275
+ );
2276
+ }
2277
+ },
2278
+ prompts: {
2279
+ list(e = {}) {
2280
+ return a.get(`${s()}/prompts?${u(e)}`);
2281
+ },
2282
+ get(e) {
2283
+ return a.get(`${s()}/prompts/${e}`);
2284
+ },
2285
+ create(e) {
2286
+ return a.post(`${s()}/prompts`, e);
2287
+ },
2288
+ update(e, r) {
2289
+ return a.patch(`${s()}/prompts/${e}`, r);
2290
+ },
2291
+ delete(e) {
2292
+ return a.delete(`${s()}/prompts/${e}`);
2293
+ },
2294
+ listSubprompts(e) {
2295
+ return a.get(`${s()}/prompts/${e}/subprompts`);
2296
+ },
2297
+ createSubprompt(e, r) {
2298
+ return a.post(
2299
+ `${s()}/prompts/${e}/subprompts`,
2300
+ r
2301
+ );
2302
+ }
2303
+ },
2304
+ observationTypes: {
2305
+ list(e = {}) {
2306
+ return a.get(
2307
+ `${s()}/observation-types?${u(e)}`
2308
+ );
2309
+ },
2310
+ get(e) {
2311
+ return a.get(
2312
+ `${s()}/observation-types/${e}`
2313
+ );
2314
+ },
2315
+ create(e) {
2316
+ return a.post(`${s()}/observation-types`, e);
2317
+ },
2318
+ update(e, r) {
2319
+ return a.patch(
2320
+ `${s()}/observation-types/${e}`,
2321
+ r
2322
+ );
2323
+ },
2324
+ delete(e) {
2325
+ return a.delete(
2326
+ `${s()}/observation-types/${e}`
2327
+ );
2328
+ }
2329
+ },
2330
+ siteAnalyticsObservations: {
2331
+ getConfig(e) {
2332
+ return a.get(
2333
+ `${s()}/site-analytics/observation-configs/${e}`
2334
+ );
2335
+ },
2336
+ upsertConfig(e, r) {
2337
+ return a.put(
2338
+ `${s()}/site-analytics/observation-configs/${e}`,
2339
+ r
1412
2340
  );
1413
2341
  },
1414
- getDetectionsHeatmapData(e, r) {
1415
- return a.post(
1416
- `${i()}/cameras/${e}/advanced_search/heatmap?${g(
1417
- r,
1418
- { forceArrayBrackets: !0 }
1419
- )}`,
1420
- {}
2342
+ deleteConfig(e) {
2343
+ return a.delete(
2344
+ `${s()}/site-analytics/observation-configs/${e}`
1421
2345
  );
1422
2346
  }
1423
2347
  },
1424
- coolify: {
1425
- getCoolifyServers() {
1426
- return a.get(`${i()}/coolify/servers`);
2348
+ apiKeys: {
2349
+ list(e = {}) {
2350
+ const r = u(e);
2351
+ return a.get(`${s()}/api-keys${r ? `?${r}` : ""}`);
1427
2352
  },
1428
- createAppOnCoolify(e) {
1429
- return a.post(
1430
- `${i()}/projects/cameras/${e.cameraExid}/anpr/create_app?${g(e)}`
2353
+ purposes() {
2354
+ return a.get(`${s()}/api-keys/purposes`);
2355
+ },
2356
+ get(e) {
2357
+ return a.get(`${s()}/api-keys/${e}`);
2358
+ },
2359
+ create(e) {
2360
+ return a.post(`${s()}/api-keys`, e);
2361
+ },
2362
+ update(e, r) {
2363
+ return a.patch(`${s()}/api-keys/${e}`, r);
2364
+ },
2365
+ delete(e, r = !1) {
2366
+ const t = r ? "?revoke=true" : "";
2367
+ return a.delete(`${s()}/api-keys/${e}${t}`);
2368
+ }
2369
+ },
2370
+ observationEvents: {
2371
+ async list(e = {}) {
2372
+ const { sortBy: r, sortDir: t, observationTypeIds: o, ...i } = e, g = { ...i };
2373
+ o && (g.observationTypeId = o), r && (g.sort = `${r}|${t || "desc"}`);
2374
+ const p = await a.get(
2375
+ `${s()}/observations?${u(g)}`
2376
+ );
2377
+ return {
2378
+ ...p,
2379
+ items: (p.items || []).map(
2380
+ (c) => ({
2381
+ ...c,
2382
+ observationName: null,
2383
+ startTime: c.capturedAt,
2384
+ aiEvidence: c.reason,
2385
+ bbox: c.personBbox,
2386
+ model: c.modelVersion,
2387
+ promptId: null,
2388
+ insertedAt: c.capturedAt
2389
+ })
2390
+ )
2391
+ };
2392
+ },
2393
+ projects() {
2394
+ return a.get(`${s()}/observations/projects`);
2395
+ },
2396
+ review(e, r, t) {
2397
+ const o = {
2398
+ approved: !0,
2399
+ disapproved: !1,
2400
+ unsure: "unsure"
2401
+ };
2402
+ return a.patch(
2403
+ `${s()}/projects/${e}/observations/${r}/approval`,
2404
+ { isApproved: o[t.status] }
2405
+ );
2406
+ }
2407
+ },
2408
+ gateReportManagement: {
2409
+ listApps(e = {}) {
2410
+ return a.get(
2411
+ `${s()}/gate-report/apps?${u(
2412
+ e
2413
+ )}`
1431
2414
  );
1432
2415
  },
1433
- saveAppOnCoolify(e, r, t) {
1434
- return a.post(
1435
- `${i()}/projects/${e}/cameras/${r}/gate_report/apps`,
1436
- t
2416
+ getApp(e, r) {
2417
+ return a.get(
2418
+ `${s()}/gate-report/apps/${e}/${r}`
1437
2419
  );
1438
2420
  },
1439
- updateApp({
1440
- appUuid: e,
1441
- appId: r,
1442
- payload: t,
1443
- cameraExid: s,
1444
- projectExid: o
1445
- }) {
2421
+ listAppEvents(e) {
2422
+ return a.get(
2423
+ `${s()}/gate-report/apps/last-event-status?${u({
2424
+ projectExid: e
2425
+ })}`
2426
+ );
2427
+ },
2428
+ createApp(e) {
2429
+ return a.post(`${s()}/gate-report/apps`, e);
2430
+ },
2431
+ updateApp(e, r, t) {
1446
2432
  return a.patch(
1447
- `${i()}/projects/${o}/cameras/${s}/gate_report/apps/${r}?app_uuid=${e}`,
2433
+ `${s()}/gate-report/apps/${e}/${r}`,
1448
2434
  t
1449
2435
  );
1450
2436
  },
1451
- deleteApp({
1452
- appUuid: e,
1453
- appId: r,
1454
- cameraExid: t,
1455
- projectExid: s
1456
- }) {
2437
+ deleteApp(e, r) {
1457
2438
  return a.delete(
1458
- `${i()}/projects/${s}/cameras/${t}/gate_report/apps/${r}?app_uuid=${e}`
2439
+ `${s()}/gate-report/apps/${e}/${r}`
1459
2440
  );
1460
2441
  },
1461
- startService(e) {
1462
- return a.post(`${i()}/coolify/services/${e}/start`);
2442
+ setAppState(e, r, t) {
2443
+ return a.patch(
2444
+ `${s()}/gate-report/apps/${e}/${r}/state`,
2445
+ { state: t }
2446
+ );
1463
2447
  },
1464
- pauseService(e) {
1465
- return a.post(`${i()}/coolify/services/${e}/stop`);
2448
+ listCoolifyProjects() {
2449
+ return a.get(`${s()}/gate-report/coolify-projects`);
1466
2450
  },
1467
- restartService(e) {
1468
- return a.post(
1469
- `${i()}/coolify/services/${e}/restart`
1470
- );
1471
- }
1472
- },
1473
- fovChanges: {
1474
- getCameraFovChanges(e, r = {}) {
1475
- return a.post(
1476
- `${i()}/cameras/${e}/fov_changes`,
1477
- {},
1478
- r
1479
- );
2451
+ listCoolifyServers() {
2452
+ return a.get(`${s()}/gate-report/coolify-servers`);
2453
+ },
2454
+ listImageTags() {
2455
+ return a.get(`${s()}/gate-report/image-tags`);
1480
2456
  }
1481
2457
  }
1482
- }, Jt = {
2458
+ }, es = {
1483
2459
  webRtc: {
1484
2460
  requestIceServers({ url: e, token: r }) {
1485
- return $({
2461
+ return w({
1486
2462
  url: e,
1487
2463
  method: "OPTIONS",
1488
2464
  headers: {
@@ -1495,7 +2471,7 @@ const i = () => a.env.aiApiUrl, Xt = {
1495
2471
  token: r,
1496
2472
  data: t
1497
2473
  }) {
1498
- return $({
2474
+ return w({
1499
2475
  url: e,
1500
2476
  method: "POST",
1501
2477
  headers: {
@@ -1509,21 +2485,21 @@ const i = () => a.env.aiApiUrl, Xt = {
1509
2485
  url: e,
1510
2486
  token: r,
1511
2487
  data: t,
1512
- tag: s
2488
+ tag: o
1513
2489
  }) {
1514
- return $({
2490
+ return w({
1515
2491
  url: e,
1516
2492
  method: "PATCH",
1517
2493
  headers: {
1518
2494
  "Content-Type": "application/trickle-ice-sdpfrag",
1519
- "If-Match": s,
2495
+ "If-Match": o,
1520
2496
  Authorization: `Bearer ${r}`
1521
2497
  },
1522
2498
  data: t
1523
2499
  });
1524
2500
  }
1525
2501
  }
1526
- }, Qt = {
2502
+ }, rs = {
1527
2503
  current(e, r) {
1528
2504
  return a.get(`/projects/${e}/weather/current`, {
1529
2505
  params: r
@@ -1539,25 +2515,23 @@ const i = () => a.env.aiApiUrl, Xt = {
1539
2515
  });
1540
2516
  }
1541
2517
  };
1542
- function c() {
2518
+ function S() {
1543
2519
  var r;
1544
2520
  const e = (r = /labs-(\d+)/g.exec(window.location.href)) == null ? void 0 : r[1];
1545
2521
  return e ? `https://${e}.labs.evercam.io` : a.env.evercamLabsUrl;
1546
2522
  }
1547
- const Yt = {
2523
+ const as = {
1548
2524
  posthog: {
1549
2525
  getEvents(e) {
1550
- return a.get(`${c()}/posthog/events`, {
1551
- params: e
1552
- });
2526
+ return a.get(`${S()}/posthog/events`, e);
1553
2527
  },
1554
2528
  getUsers(e) {
1555
- return a.get(`${c()}/posthog/users`, {
2529
+ return a.get(`${S()}/posthog/users`, {
1556
2530
  params: e
1557
2531
  });
1558
2532
  },
1559
2533
  getActiveUsers(e) {
1560
- return a.get(`${c()}/posthog/active-users`, {
2534
+ return a.get(`${S()}/posthog/active-users`, {
1561
2535
  params: e,
1562
2536
  preserveCasing: !0
1563
2537
  });
@@ -1565,14 +2539,14 @@ const Yt = {
1565
2539
  },
1566
2540
  copilot: {
1567
2541
  async getAllConversations(e) {
1568
- return a.get(`${c()}/copilot/conversations`, {
2542
+ return a.get(`${S()}/copilot/conversations`, {
1569
2543
  params: e,
1570
2544
  preserveCasing: !0
1571
2545
  });
1572
2546
  },
1573
2547
  async getOneConversation(e) {
1574
2548
  return a.get(
1575
- `${c()}/copilot/conversations/${e}`,
2549
+ `${S()}/copilot/conversations/${e}`,
1576
2550
  {
1577
2551
  preserveCasing: !0
1578
2552
  }
@@ -1580,13 +2554,13 @@ const Yt = {
1580
2554
  },
1581
2555
  async getConversationMessages(e, r) {
1582
2556
  return a.get(
1583
- `${c()}/copilot/conversations/${e}/messages`,
2557
+ `${S()}/copilot/conversations/${e}/messages`,
1584
2558
  { params: r, preserveCasing: !0 }
1585
2559
  );
1586
2560
  },
1587
2561
  async getMessageSteps(e) {
1588
2562
  return a.get(
1589
- `${c()}/copilot/conversations/${e.conversationId}/messages/${e.id}/steps`
2563
+ `${S()}/copilot/conversations/${e.conversationId}/messages/${e.id}/steps`
1590
2564
  );
1591
2565
  },
1592
2566
  async submitMessageFeedback({
@@ -1595,7 +2569,7 @@ const Yt = {
1595
2569
  ...t
1596
2570
  }) {
1597
2571
  return a.post(
1598
- `${c()}/copilot/conversations/${e}/messages/${r}/feedback`,
2572
+ `${S()}/copilot/conversations/${e}/messages/${r}/feedback`,
1599
2573
  t,
1600
2574
  {
1601
2575
  preserveCasing: !0
@@ -1604,24 +2578,17 @@ const Yt = {
1604
2578
  }
1605
2579
  },
1606
2580
  siteAnalytics: {
1607
- async getSegmentsDateIntervals({
1608
- cameraExid: e,
1609
- fromDate: r,
1610
- toDate: t,
1611
- precision: s
1612
- }) {
1613
- return a.get(
1614
- `${c()}/cameras/${e}/segments/presence-intervals`,
1615
- {
1616
- params: { fromDate: r, toDate: t, precision: s },
1617
- preserveCasing: !0
1618
- }
1619
- );
2581
+ async getProcessingStatus(e = {}, r = {}) {
2582
+ return a.get(`${S()}/site-analytics/processing-status`, {
2583
+ params: e,
2584
+ ...r,
2585
+ preserveCasing: !0
2586
+ });
1620
2587
  },
1621
2588
  async getIntersectionsHeatmapData(e) {
1622
2589
  const { cameraExid: r, ...t } = e;
1623
2590
  return a.get(
1624
- `${c()}/site-analytics/cameras/${r}/heatmap/intersections`,
2591
+ `${S()}/site-analytics/cameras/${r}/heatmap/intersections`,
1625
2592
  {
1626
2593
  params: t,
1627
2594
  preserveCasing: !0
@@ -1632,7 +2599,7 @@ const Yt = {
1632
2599
  googleCloudStorage: {
1633
2600
  listFiles(e = "") {
1634
2601
  return a.get(
1635
- `${c()}/gc-storage/buckets/evercam-labs/files`,
2602
+ `${S()}/gc-storage/buckets/evercam-labs/files`,
1636
2603
  {
1637
2604
  params: {
1638
2605
  prefix: e
@@ -1643,7 +2610,7 @@ const Yt = {
1643
2610
  },
1644
2611
  getSignedUrl(e) {
1645
2612
  return a.get(
1646
- `${c()}/gc-storage/buckets/evercam-labs/files/signed-url`,
2613
+ `${S()}/gc-storage/buckets/evercam-labs/files/signed-url`,
1647
2614
  {
1648
2615
  params: {
1649
2616
  fileName: e
@@ -1656,7 +2623,7 @@ const Yt = {
1656
2623
  luminance: {
1657
2624
  getReadings(e) {
1658
2625
  return a.get(
1659
- `${c()}/cameras/${e.cameraExid || "echel-mdqur"}/luminance/readings`,
2626
+ `${S()}/cameras/${e.cameraExid || "echel-mdqur"}/luminance/readings`,
1660
2627
  {
1661
2628
  params: {
1662
2629
  fromDate: e.fromDate,
@@ -1669,7 +2636,7 @@ const Yt = {
1669
2636
  },
1670
2637
  kits: {
1671
2638
  getMetrics(e, r, t = q.Last24Hours) {
1672
- return a.get(`${c()}/kits/${e}/metrics`, {
2639
+ return a.get(`${S()}/kits/${e}/metrics`, {
1673
2640
  params: {
1674
2641
  metrics: r,
1675
2642
  from: t
@@ -1678,7 +2645,7 @@ const Yt = {
1678
2645
  });
1679
2646
  }
1680
2647
  }
1681
- }, Kt = {
2648
+ }, ts = {
1682
2649
  apiStatus: {
1683
2650
  getApiStatus() {
1684
2651
  return a.get("/status");
@@ -1688,6 +2655,9 @@ const Yt = {
1688
2655
  signup(e) {
1689
2656
  return a.post("/users", e);
1690
2657
  },
2658
+ zohoAuthUrl(e) {
2659
+ return a.post("/support/zoho-auth-url", e);
2660
+ },
1691
2661
  fetchAccessFeatures(e) {
1692
2662
  return a.get(`/users/${e}/features`);
1693
2663
  },
@@ -1705,7 +2675,7 @@ const Yt = {
1705
2675
  return a.get(`/auth/provider/${e}`);
1706
2676
  },
1707
2677
  login(e) {
1708
- return a.post("/auth/login", g(e));
2678
+ return a.post("/auth/login", u(e));
1709
2679
  },
1710
2680
  loginWithApiCredentials(e, r) {
1711
2681
  return a.post(`/auth/login?api_id=${e}&api_key=${r}`);
@@ -1739,42 +2709,43 @@ const Yt = {
1739
2709
  confirm(e, r) {
1740
2710
  return a.post(`/users/${e}/confirm`, r);
1741
2711
  },
1742
- deleteActiveSession(e, r = {}) {
2712
+ deleteActiveSession(e, r) {
1743
2713
  return a.delete(`/users/active-sessions/${e}`, {
1744
2714
  params: r
1745
2715
  });
1746
2716
  },
1747
2717
  getActiveSessions(e) {
1748
- return a.get("/users/active-sessions", {
1749
- params: e
1750
- });
2718
+ return a.get("/users/active-sessions", e);
1751
2719
  },
1752
2720
  update(e, r = {}) {
1753
2721
  return a.patch(`/users/${e}`, r);
1754
2722
  },
1755
- delete(e, r) {
1756
- return a.post(`/users/${e}/delete`, r);
2723
+ deleteAccount() {
2724
+ return a.delete("/users/me");
1757
2725
  },
1758
2726
  fetchPermissions() {
1759
2727
  return a.get("/users/permissions");
2728
+ },
2729
+ getProjectContacts(e) {
2730
+ return a.get(`/projects/${e}/contacts`);
1760
2731
  }
1761
2732
  },
1762
2733
  notifications: {
1763
2734
  get() {
1764
2735
  return a.get("/notifications");
1765
2736
  },
1766
- markAllAsRead(e) {
1767
- return a.patch(`/notifications/${e}`);
1768
- },
1769
- markAsRead() {
2737
+ markAllAsRead() {
1770
2738
  return a.post("/notifications/mark-as-read");
2739
+ },
2740
+ markAsRead(e) {
2741
+ return a.patch(`/notifications/${e}`);
1771
2742
  }
1772
2743
  },
1773
2744
  bim: {
1774
- getBimSnapshot(e, r, t, s) {
2745
+ getBimSnapshot(e, r, t, o) {
1775
2746
  return a.get(`/cameras/${e}/bim/${r}`, {
1776
2747
  params: t,
1777
- ...s || {}
2748
+ ...o || {}
1778
2749
  });
1779
2750
  },
1780
2751
  getBimModel(e, r, t) {
@@ -1812,7 +2783,7 @@ const Yt = {
1812
2783
  return a.get("/cameras", { params: e, ...e.config });
1813
2784
  },
1814
2785
  getCameraById(e, r) {
1815
- return a.get(`/cameras/${e}?${g(r)}`);
2786
+ return a.get(`/cameras/${e}?${u(r)}`);
1816
2787
  },
1817
2788
  getCameraLastPublicNote(e) {
1818
2789
  return a.get(`/cameras/${e}/last-public-note`);
@@ -1824,7 +2795,7 @@ const Yt = {
1824
2795
  return fetch(
1825
2796
  `${a.env.baseUrl}/cameras/${e}/hls?authorization=${r}`
1826
2797
  ).then(
1827
- ({ url: t }) => Nt(t.split("?")[1] || "").access_token
2798
+ ({ url: t }) => Bo(t.split("?")[1] || "").access_token
1828
2799
  );
1829
2800
  },
1830
2801
  getCameraStatusLogs(e, r) {
@@ -1838,8 +2809,11 @@ const Yt = {
1838
2809
  index({
1839
2810
  params: e,
1840
2811
  config: r
1841
- }) {
1842
- return a.get(`/projects?${g(e)}`, r);
2812
+ } = { params: {}, config: {} }) {
2813
+ return a.get(`/projects?${u(e)}`, r);
2814
+ },
2815
+ create(e) {
2816
+ return a.post("/projects", e);
1843
2817
  },
1844
2818
  getLogos(e) {
1845
2819
  return a.get(`/projects/${e}/logos`);
@@ -1856,7 +2830,7 @@ const Yt = {
1856
2830
  updateLogo(e, r, t) {
1857
2831
  return a.patch(
1858
2832
  `/projects/${e}/logos/${r}`,
1859
- g({ name: t })
2833
+ u({ name: t })
1860
2834
  );
1861
2835
  },
1862
2836
  updateThumbnail(e, r) {
@@ -1872,6 +2846,9 @@ const Yt = {
1872
2846
  updateCamerasRestriction(e, r) {
1873
2847
  return a.patch(`/projects/${e}/cameras`, r);
1874
2848
  },
2849
+ reorderCameras(e, r) {
2850
+ return a.patch(`/projects/${e}/cameras/reorder`, r);
2851
+ },
1875
2852
  updatePlaceholderThumbnail(e, r) {
1876
2853
  return a.post(
1877
2854
  `/projects/${e}/waiting-camera-placeholder`,
@@ -1895,6 +2872,23 @@ const Yt = {
1895
2872
  },
1896
2873
  getTeamMembers() {
1897
2874
  return a.get("/projects/team-members");
2875
+ },
2876
+ getMembers(e) {
2877
+ return a.get(`/projects/${e}/users`);
2878
+ },
2879
+ inviteMembers(e, r) {
2880
+ return a.post(`/projects/${e}/users`, r);
2881
+ },
2882
+ removeMembers(e, r) {
2883
+ return a.delete(`/projects/${e}/users`, {
2884
+ params: { emails: r }
2885
+ });
2886
+ },
2887
+ updateMembersRole(e, r) {
2888
+ return a.patch(`/projects/${e}/users`, r);
2889
+ },
2890
+ requestCameraInfo(e) {
2891
+ return a.post(`/projects/${e}/camera-inquiry-request`);
1898
2892
  }
1899
2893
  },
1900
2894
  timelapse: {
@@ -2107,6 +3101,59 @@ const Yt = {
2107
3101
  return a.post("/voyage-control/auth/revoke");
2108
3102
  }
2109
3103
  },
3104
+ hammertech: {
3105
+ connect(e) {
3106
+ return a.post("/users/auth/hammertech/connect", e);
3107
+ },
3108
+ revoke() {
3109
+ return a.post("/users/auth/hammertech/revoke");
3110
+ },
3111
+ getProjects() {
3112
+ return a.get("/hammertech/projects");
3113
+ },
3114
+ getIssueTypes(e) {
3115
+ return a.get("/hammertech/issue-types", {
3116
+ params: {
3117
+ projectId: e,
3118
+ includeCustomFieldForms: !0
3119
+ }
3120
+ });
3121
+ },
3122
+ getLocations(e) {
3123
+ return a.get("/hammertech/locations", {
3124
+ params: { projectId: e }
3125
+ });
3126
+ },
3127
+ createIssue(e) {
3128
+ return a.post("/hammertech/issues", e);
3129
+ },
3130
+ createStoredFile(e) {
3131
+ return a.post("/hammertech/stored-files", e);
3132
+ }
3133
+ },
3134
+ ring: {
3135
+ completeLinking(e) {
3136
+ return a.post("/ring/complete-linking", e);
3137
+ },
3138
+ getDevices() {
3139
+ return a.get("/ring/devices");
3140
+ },
3141
+ moveDevice(e, r) {
3142
+ return a.patch(`/ring/devices/${e}/move`, r);
3143
+ },
3144
+ deleteDevice(e) {
3145
+ return a.delete(`/ring/devices/${e}`);
3146
+ },
3147
+ disconnect() {
3148
+ return a.post("/ring/disconnect");
3149
+ },
3150
+ startLiveView(e, r) {
3151
+ return a.post(`/ring/devices/${e}/live`, r);
3152
+ },
3153
+ stopLiveView(e, r) {
3154
+ return a.delete(`/ring/devices/${e}/live/${r}`);
3155
+ }
3156
+ },
2110
3157
  xweather: {
2111
3158
  connect(e, r) {
2112
3159
  return a.post(`/projects/${e}/xweather/connect`, r);
@@ -2126,12 +3173,12 @@ const Yt = {
2126
3173
  params: r
2127
3174
  });
2128
3175
  },
2129
- nearest(e, r, t, s) {
3176
+ nearest(e, r, t, o) {
2130
3177
  return a.get(
2131
3178
  `/cameras/${e}/recordings/snapshots/${r}/nearest`,
2132
3179
  {
2133
3180
  params: t,
2134
- ...s || {}
3181
+ ...o || {}
2135
3182
  }
2136
3183
  );
2137
3184
  },
@@ -2139,12 +3186,14 @@ const Yt = {
2139
3186
  cameraId: e,
2140
3187
  year: r,
2141
3188
  month: t,
2142
- payload: s
3189
+ payload: o,
3190
+ cancelToken: i
2143
3191
  }) {
2144
3192
  return a.get(
2145
3193
  `/cameras/${e}/recordings/snapshots/${r}/${t}/days`,
2146
3194
  {
2147
- params: s
3195
+ params: o,
3196
+ cancelToken: i
2148
3197
  }
2149
3198
  );
2150
3199
  },
@@ -2152,30 +3201,31 @@ const Yt = {
2152
3201
  cameraId: e,
2153
3202
  year: r,
2154
3203
  month: t,
2155
- day: s,
2156
- payload: o,
2157
- cancelToken: l
3204
+ day: o,
3205
+ payload: i,
3206
+ cancelToken: g
2158
3207
  }) {
2159
3208
  return a.get(
2160
- `/cameras/${e}/recordings/snapshots/${r}/${t}/${s}/hours`,
3209
+ `/cameras/${e}/recordings/snapshots/${r}/${t}/${o}/hours`,
2161
3210
  {
2162
- params: o,
2163
- cancelToken: l
3211
+ params: i,
3212
+ cancelToken: g
2164
3213
  }
2165
3214
  );
2166
3215
  },
2167
3216
  getSnapshot(e, r) {
2168
3217
  return a.get(`/cameras/${e}/recordings/snapshots/${r}`);
2169
3218
  },
2170
- getSnapshotRange(e, r) {
3219
+ getSnapshotRange(e, r, t) {
2171
3220
  return a.get(`/cameras/${e}/recordings/snapshots`, {
2172
- params: r
3221
+ params: r,
3222
+ ...t || {}
2173
3223
  });
2174
3224
  }
2175
3225
  },
2176
3226
  progressPhotos: {
2177
- index() {
2178
- return a.get("/progress-photos");
3227
+ index(e) {
3228
+ return a.get(`/projects/${e}/progress-photos`);
2179
3229
  },
2180
3230
  show(e) {
2181
3231
  return a.get(`/progress-photos/${e}`);
@@ -2188,19 +3238,19 @@ const Yt = {
2188
3238
  },
2189
3239
  unsubscribe(e, r) {
2190
3240
  return a.patch(
2191
- `/progress-photos/${e}/unsubscribe?${g(
3241
+ `/progress-photos/${e}/unsubscribe?${u(
2192
3242
  r
2193
3243
  )}`
2194
3244
  );
2195
3245
  },
2196
3246
  delete(e, r) {
2197
- return a.delete(`/progress-photos/${e}?${g(r)}`);
3247
+ return a.delete(`/progress-photos/${e}?${u(r)}`);
2198
3248
  }
2199
3249
  },
2200
3250
  mediaHub: {
2201
3251
  getAllMedia(e, r) {
2202
3252
  return a.get(
2203
- `projects/${e}/media-hub?${g(r, {
3253
+ `projects/${e}/media-hub?${u(r, {
2204
3254
  forceArrayBrackets: !0
2205
3255
  })}`
2206
3256
  );
@@ -2211,8 +3261,12 @@ const Yt = {
2211
3261
  cShow(e, r) {
2212
3262
  return a.get(`/projects/${e}/media-hub/${r}`);
2213
3263
  },
2214
- cCreate(e, r) {
2215
- return a.post(`/projects/${e}/media-hub`, r);
3264
+ cCreate(e, r, t = (o) => {
3265
+ }) {
3266
+ return a.post(`/projects/${e}/media-hub`, r, {
3267
+ onUploadProgress: t,
3268
+ timeout: 72e5
3269
+ });
2216
3270
  },
2217
3271
  cUpdate(e, r, t) {
2218
3272
  return a.patch(`/projects/${e}/media-hub/${r}`, t);
@@ -2222,51 +3276,14 @@ const Yt = {
2222
3276
  }
2223
3277
  },
2224
3278
  shares: {
2225
- updateShareRights(e, r) {
2226
- return a.patch(`/cameras/${e}/shares`, r);
2227
- },
2228
- updateShareRequestRights(e, r) {
2229
- return a.patch(`/cameras/${e}/shares/requests`, r);
2230
- },
2231
- cIndex(e) {
2232
- return a.get(`/cameras/${e}/shares`);
2233
- },
2234
- getShareRequest(e, r) {
2235
- return a.get(`/cameras/${e}/shares/requests`, {
2236
- params: r
2237
- });
2238
- },
2239
- deleteShare(e, r) {
2240
- return a.delete(`/cameras/${e}/shares`, r);
2241
- },
2242
- deleteRequest(e, r) {
2243
- return a.delete(`/cameras/${e}/shares/requests`, r);
2244
- },
2245
3279
  deleteShareRequest(e) {
2246
3280
  return a.delete(`/share-requests/${e.params.key}`);
2247
3281
  },
2248
3282
  getSharedUsers(e) {
2249
3283
  return a.get(`/cameras/${e}/shares/users`);
2250
3284
  },
2251
- cCreate(e, r) {
2252
- return a.post(`/cameras/${e}/shares`, r);
2253
- },
2254
- shareProjectCameras(e, r) {
2255
- return a.post(`/projects/${e}/shares/cameras`, r);
2256
- },
2257
3285
  getShareRequestByKey(e) {
2258
3286
  return a.get(`/shares/requests/${e}`);
2259
- },
2260
- resendShareRequest(e, r) {
2261
- return a.post(`/cameras/${e}/shares/requests/resend`, r);
2262
- },
2263
- getProjectShares(e) {
2264
- return a.get(
2265
- `/projects/${e}/shares?include_camera_shares=true&sort=fullname|asc`
2266
- );
2267
- },
2268
- updateUserRestriction(e, r) {
2269
- return a.patch(`/projects/${e}/shares/cameras`, r);
2270
3287
  }
2271
3288
  },
2272
3289
  company: {
@@ -2282,7 +3299,8 @@ const Yt = {
2282
3299
  return a.get("/company/projects", e);
2283
3300
  },
2284
3301
  getCompanyCameras(e) {
2285
- return a.get("/company/cameras", e);
3302
+ const r = "params" in e ? e : { params: e };
3303
+ return a.get("/company/cameras", r);
2286
3304
  },
2287
3305
  getCompanyKits(e) {
2288
3306
  return a.get("/company/kits", e);
@@ -2338,7 +3356,7 @@ const Yt = {
2338
3356
  },
2339
3357
  archiveOrUnarchiveComment(e, r, t) {
2340
3358
  return a.patch(
2341
- `/projects/${e}/comments/${r}?${g({ archive: t })}`
3359
+ `/projects/${e}/comments/${r}?${u({ archive: t })}`
2342
3360
  );
2343
3361
  },
2344
3362
  deleteComment(e, r) {
@@ -2350,6 +3368,19 @@ const Yt = {
2350
3368
  return a.get("/proxy/storyblok", { params: e });
2351
3369
  }
2352
3370
  },
3371
+ snapshots: {
3372
+ deliverViaEmail(e, r) {
3373
+ return a.post(
3374
+ `/projects/${e}/snapshots/deliver/email`,
3375
+ r
3376
+ );
3377
+ }
3378
+ },
3379
+ sockets: {
3380
+ getWsToken() {
3381
+ return a.post("/sockets/auth");
3382
+ }
3383
+ },
2353
3384
  mailing: {
2354
3385
  unsubscribe(e) {
2355
3386
  return a.post("/mailing/unsubscribe", e);
@@ -2357,7 +3388,7 @@ const Yt = {
2357
3388
  },
2358
3389
  widgets: {
2359
3390
  index(e) {
2360
- return a.get(`/widgets?${g(e)}`);
3391
+ return a.get(`/widgets?${u(e)}`);
2361
3392
  },
2362
3393
  show(e) {
2363
3394
  return a.get(`/widgets/${e}`);
@@ -2380,10 +3411,50 @@ const Yt = {
2380
3411
  delete(e) {
2381
3412
  return a.delete(`/widgets/${e}`);
2382
3413
  }
3414
+ },
3415
+ developerApps: {
3416
+ index() {
3417
+ return a.get("/developer/apps");
3418
+ },
3419
+ show(e) {
3420
+ return a.get(`/developer/apps/${e}`);
3421
+ },
3422
+ create(e) {
3423
+ return a.post("/developer/apps", e);
3424
+ },
3425
+ update(e, r) {
3426
+ return a.patch(`/developer/apps/${e}`, r);
3427
+ },
3428
+ delete(e) {
3429
+ return a.delete(`/developer/apps/${e}`);
3430
+ },
3431
+ regenerateSecret(e) {
3432
+ return a.post(`/developer/apps/${e}/regenerate-secret`);
3433
+ }
3434
+ },
3435
+ oauth: {
3436
+ getClientInfo(e, r) {
3437
+ return a.get("/oauth/client-info", {
3438
+ params: { client_id: e, scope: r }
3439
+ });
3440
+ },
3441
+ submitConsent(e) {
3442
+ return a.post("/oauth/consent", e);
3443
+ }
3444
+ },
3445
+ zoho: {
3446
+ getDealLocation(e) {
3447
+ return a.get(`/zoho/deals/${e}/location`);
3448
+ },
3449
+ updateDealLocation(e, r) {
3450
+ return a.post(`/zoho/deals/${e}/location`, r);
3451
+ }
2383
3452
  }
2384
- }, Et = {
3453
+ }, os = {
2385
3454
  presets: {
2386
- index({ cameraExid: e }) {
3455
+ index({
3456
+ cameraExid: e
3457
+ }) {
2387
3458
  return a.get(`/cameras/${e}/ptz/presets`);
2388
3459
  },
2389
3460
  go({
@@ -2415,6 +3486,14 @@ const Yt = {
2415
3486
  presetName: t
2416
3487
  });
2417
3488
  },
3489
+ updateHome({
3490
+ cameraExid: e,
3491
+ presetName: r
3492
+ }) {
3493
+ return a.post(`/cameras/${e}/ptz/home/set`, {
3494
+ presetName: r
3495
+ });
3496
+ },
2418
3497
  delete({
2419
3498
  cameraExid: e,
2420
3499
  presetId: r
@@ -2432,9 +3511,9 @@ const Yt = {
2432
3511
  },
2433
3512
  zoom({ cameraExid: e, direction: r, isRecordingFromNvr: t }) {
2434
3513
  if (!t) {
2435
- const s = r === "in" ? 1 : -1;
3514
+ const o = r === "in" ? 1 : -1;
2436
3515
  return a.post(
2437
- `/cameras/${e}/ptz/relative?zoom=${s}`
3516
+ `/cameras/${e}/ptz/relative?zoom=${o}`
2438
3517
  );
2439
3518
  }
2440
3519
  return a.post(
@@ -2448,297 +3527,394 @@ const Yt = {
2448
3527
  return a.post(`/cameras/${e}/ptz/continuous/stop`);
2449
3528
  }
2450
3529
  }
2451
- }, u = (e) => ({
2452
- [m.V1]: a.env.ingestApiUrl,
2453
- [m.V2]: a.env.ingestGpuApiUrl
2454
- })[e], x = {
3530
+ }, d = (e) => e === m.Drone ? (a.env.ingestDroneApi || "").split(";") : e === m.ThreeSixty ? (a.env.ingest360Api || "").split(";") : [], T = {
2455
3531
  drone: {
2456
3532
  createUpload(e, r) {
2457
3533
  return a.post(
2458
- `${a.env.ingestApiUrl}/drone/${e}/upload`,
3534
+ `${d(m.Drone)[0]}/drone/${e}/upload`,
2459
3535
  null,
2460
3536
  { params: r }
2461
3537
  );
2462
3538
  },
2463
- reprocessDrone(e, r) {
2464
- return a.post(
2465
- `${a.env.ingestApiUrl}/drone/${e}/reprocess`,
2466
- null,
2467
- { params: r }
3539
+ async reprocessDrone(e, r = {}) {
3540
+ const t = await T.utils.chooseIngestApiUrl(
3541
+ m.Drone
2468
3542
  );
3543
+ return a.post(`${t}/drone/${e}/reprocess`, null, { params: r });
2469
3544
  },
2470
3545
  getDrones(e) {
2471
- return a.get(`${a.env.ingestApiUrl}/drone/uploads/`, e);
3546
+ return a.get(
3547
+ `${d(m.Drone)[0]}/drone/uploads/`,
3548
+ e
3549
+ );
3550
+ },
3551
+ getProcessingProgress(e) {
3552
+ return a.get(
3553
+ `${d(m.Drone)[0]}/drone/uploads/${e}/progress`
3554
+ );
2472
3555
  },
2473
3556
  getArchive(e, r) {
2474
3557
  return a.get(
2475
- `${a.env.ingestApiUrl}/drone/uploads/archive/${e}`,
3558
+ `${d(m.Drone)[0]}/drone/uploads/archive/${e}`,
2476
3559
  {
2477
3560
  params: r
2478
3561
  }
2479
3562
  );
2480
3563
  },
2481
3564
  deleteUpload(e) {
2482
- return a.delete(`${a.env.ingestApiUrl}/drone/uploads/${e}`);
3565
+ return a.delete(
3566
+ `${d(m.Drone)[0]}/drone/uploads/${e}`
3567
+ );
2483
3568
  },
2484
3569
  prepareForUpload(e, r) {
2485
3570
  return a.put(
2486
- `${a.env.ingestApiUrl}/drone/${e}/prepare-upload`,
3571
+ `${d(m.Drone)[0]}/drone/${e}/prepare-upload`,
2487
3572
  null,
2488
3573
  { params: r }
2489
3574
  );
2490
3575
  },
2491
- upload(e, r, t) {
2492
- return a.put(
2493
- `${a.env.ingestApiUrl}/drone/${e}/upload`,
2494
- t,
2495
- { params: r }
3576
+ async upload(e, r, t) {
3577
+ const o = await T.utils.chooseIngestApiUrl(
3578
+ m.Drone
2496
3579
  );
3580
+ return a.put(`${o}/drone/${e}/upload`, t, {
3581
+ params: r
3582
+ });
2497
3583
  },
2498
3584
  verifyToken(e, r) {
2499
3585
  return a.get(
2500
- `${a.env.ingestApiUrl}/drone/uploads/${e}/verify`,
3586
+ `${d(m.Drone)[0]}/drone/uploads/${e}/verify`,
2501
3587
  {
2502
3588
  params: { token: r.token }
2503
3589
  }
2504
3590
  );
2505
3591
  },
2506
- calculateMeasuringOperation(e, r) {
3592
+ calculateMeasuringOperation(e, r, t = d(m.Drone)[0]) {
2507
3593
  return a.post(
2508
- `${a.env.ingestApiUrl}/drone/api/${e}/calculate-measuring-operation`,
3594
+ `${t}/drone/api/${e}/calculate-measuring-operation`,
2509
3595
  r
2510
3596
  );
2511
3597
  },
2512
3598
  inspectionTool(e, r) {
2513
3599
  return a.post(
2514
- `${a.env.ingestApiUrl}/drone/api/${e}/inspection-tool`,
3600
+ `${d(m.Drone)[0]}/drone/api/${e}/inspection-tool`,
2515
3601
  r
2516
3602
  );
2517
3603
  },
2518
- isInspectionEnabled(e, r) {
3604
+ isInspectionEnabled(e, r = {}) {
2519
3605
  return a.post(
2520
- `${a.env.ingestApiUrl}/drone/api/${e}/inspection-enabled`,
3606
+ `${d(m.Drone)[0]}/drone/api/${e}/inspection-enabled`,
2521
3607
  null,
2522
3608
  { params: r }
2523
3609
  );
2524
3610
  },
2525
- getDroneQueueSize(e = m.V1) {
2526
- const r = e === m.V1 ? a.env.ingestApiUrl : a.env.ingestGpuApiUrl;
2527
- return a.get(`${r}/drone/queue`);
3611
+ getDroneQueueSize(e) {
3612
+ return a.get(`${e}/drone/queue`);
2528
3613
  },
2529
3614
  getFlightImages(e, r) {
2530
3615
  return a.get(
2531
- `${a.env.ingestApiUrl}/drone/api/${e}/flight-images`,
3616
+ `${d(m.Drone)[0]}/drone/api/${e}/flight-images`,
2532
3617
  {
2533
3618
  params: r
2534
3619
  }
2535
3620
  );
2536
3621
  },
2537
- checkFlightAvailableFeatures(e, r) {
2538
- return a.get(
2539
- `${a.env.ingestApiUrl}/drone/api/${e}/flight-available-features`,
2540
- {
2541
- params: r
2542
- }
2543
- );
3622
+ async checkFlightAvailableFeatures(e, r) {
3623
+ var p;
3624
+ const t = d(m.Drone), i = (await Promise.all(
3625
+ t.map(async (c) => {
3626
+ try {
3627
+ return { ...await a.get(
3628
+ `${c}/drone/api/${e}/flight-available-features`,
3629
+ { params: r }
3630
+ ), ingestUrl: c };
3631
+ } catch {
3632
+ return null;
3633
+ }
3634
+ })
3635
+ )).filter(Boolean), g = i.find((c) => c.isVolumeToolEnabled);
3636
+ return (p = g != null ? g : i[0]) != null ? p : {};
2544
3637
  }
2545
3638
  },
2546
3639
  assets360: {
2547
- get360Assets(e, r = m.V1) {
2548
- return a.get(`${u(r)}/360/assets/`, e);
3640
+ get360Assets(e) {
3641
+ const r = d(m.ThreeSixty)[0];
3642
+ return a.get(`${r}/360/assets/`, e);
2549
3643
  },
2550
- get360AssetsCounts(e, r, t = m.V2) {
2551
- const s = t === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
2552
- return a.get(`${s}/360/assets/${e}/counts`, {
3644
+ get360AssetsCounts(e, r) {
3645
+ const t = d(m.ThreeSixty)[0];
3646
+ return a.get(`${t}/360/assets/${e}/counts`, {
2553
3647
  params: r
2554
3648
  });
2555
3649
  },
2556
- get360AssetLink(e, r, t, s, o, l) {
3650
+ get360AssetLink(e, r, t, o, i, g) {
2557
3651
  return a.get(
2558
- `${a.env.ingestGpuApiUrl}/360/assets/${e}/${r}/${o}`,
3652
+ `${d(m.ThreeSixty)[0]}/360/assets/${e}/${r}/${i}`,
2559
3653
  {
2560
- params: { marker: l, assetType: s, name: t }
3654
+ params: { marker: g, assetType: o, name: t }
2561
3655
  }
2562
3656
  );
2563
3657
  },
2564
- update360(e, r, t = m.V1) {
2565
- return a.put(`${u(t)}/360/assets/${e}`, r);
3658
+ update360(e, r) {
3659
+ const t = d(m.ThreeSixty)[0];
3660
+ return a.put(`${t}/360/assets/${e}`, r);
2566
3661
  },
2567
- update360ByProjectDateName(e, r, t, s, o = m.V2) {
3662
+ update360ByProjectDateName(e, r, t, o) {
3663
+ const i = d(m.ThreeSixty)[0];
2568
3664
  return a.put(
2569
- `${u(o)}/360/assets/${e}/${r}/${t}`,
2570
- s
3665
+ `${i}/360/assets/${e}/${r}/${t}`,
3666
+ o
2571
3667
  );
2572
3668
  },
2573
3669
  deleteUpload(e) {
2574
- return a.delete(`${a.env.ingestApiUrl}/360/assets/${e}`);
3670
+ const r = d(m.ThreeSixty)[0];
3671
+ return a.delete(`${r}/360/assets/${e}`);
2575
3672
  },
2576
3673
  getArchive(e, r) {
2577
- return a.get(`${a.env.ingestApiUrl}/360/assets/archive/${e}`, {
3674
+ const t = d(m.ThreeSixty)[0];
3675
+ return a.get(`${t}/360/assets/archive/${e}`, {
2578
3676
  params: r
2579
3677
  });
2580
3678
  },
2581
- createUpload(e, r, t = m.V1) {
2582
- return a.post(
2583
- `${u(t)}/360/${e}/upload`,
2584
- null,
2585
- { params: r }
2586
- );
3679
+ get360Progress(e) {
3680
+ const r = d(m.ThreeSixty)[0];
3681
+ return a.get(`${r}/360/assets/${e}/progress`);
2587
3682
  },
2588
- upload(e, r, t, s = m.V1) {
2589
- return a.put(
2590
- `${u(s)}/360/${e}/upload`,
2591
- t,
2592
- { params: r }
3683
+ createUpload(e, r) {
3684
+ const t = d(m.ThreeSixty)[0];
3685
+ return a.post(`${t}/360/${e}/upload`, null, {
3686
+ params: r
3687
+ });
3688
+ },
3689
+ async upload(e, r, t) {
3690
+ const o = await T.utils.chooseIngestApiUrl(
3691
+ m.ThreeSixty
2593
3692
  );
3693
+ return a.put(`${o}/360/${e}/upload`, t, {
3694
+ params: r,
3695
+ headers: {
3696
+ "X-Processing-Source": "DASHBOARD"
3697
+ }
3698
+ });
2594
3699
  },
2595
- reprocess360(e) {
2596
- return a.put(`${a.env.ingestApiUrl}/360/${e}/reprocess`);
3700
+ async reprocess360(e) {
3701
+ const r = await T.utils.chooseIngestApiUrl(
3702
+ m.ThreeSixty
3703
+ );
3704
+ return a.put(`${r}/360/${e}/reprocess`);
2597
3705
  },
2598
- drawingExists(e, r = m.V2) {
3706
+ drawingExists(e) {
2599
3707
  var t;
3708
+ const r = d(m.ThreeSixty)[0];
2600
3709
  return a.get(
2601
- `${u(r)}/360/floors/exists?${g(
3710
+ `${r}/360/floors/exists?${u(
2602
3711
  (t = e.params) != null ? t : e
2603
3712
  )}`
2604
3713
  );
2605
3714
  },
2606
- getDrawings(e, r = m.V1) {
2607
- var s;
2608
- const t = r === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
3715
+ getDrawings(e) {
3716
+ var t;
3717
+ const r = d(m.ThreeSixty)[0];
2609
3718
  return a.get(
2610
- `${t}/360/floors/?${g((s = e.params) != null ? s : e)}`
3719
+ `${r}/360/floors/?${u((t = e.params) != null ? t : e)}`,
3720
+ e.config
2611
3721
  );
2612
3722
  },
2613
- getDrawingById(e, r, t = m.V2) {
2614
- const s = t === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
2615
- return a.get(`${s}/360/floors/${e}?project_id=${r}`);
3723
+ getDrawingById(e, r) {
3724
+ const t = d(m.ThreeSixty)[0];
3725
+ return a.get(
3726
+ `${t}/360/floors/${e}?project_id=${r}`
3727
+ );
2616
3728
  },
2617
- updateDrawing(e, r, t, s = m.V2) {
2618
- const o = s === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
3729
+ updateDrawing(e, r, t) {
3730
+ const o = d(m.ThreeSixty)[0];
2619
3731
  return a.put(
2620
3732
  `${o}/360/floors/${e}?project_id=${r}`,
2621
3733
  t
2622
3734
  );
2623
3735
  },
2624
- deleteDrawing(e, r = m.V2) {
2625
- const t = r === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
2626
- return a.delete(`${t}/360/floors/${e}`);
3736
+ deleteDrawing(e) {
3737
+ const r = d(m.ThreeSixty)[0];
3738
+ return a.delete(`${r}/360/floors/${e}`);
2627
3739
  },
2628
- transferWalks(e, r, t, s = m.V1) {
2629
- const o = s === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
3740
+ restoreDrawing(e) {
3741
+ const r = d(m.ThreeSixty)[0];
3742
+ return a.post(`${r}/360/floors/${e}/restore`);
3743
+ },
3744
+ transferWalks(e, r, t) {
3745
+ const o = d(m.ThreeSixty)[0];
2630
3746
  return a.post(
2631
3747
  `${o}/360/floors/${e}/transfer-walks/${r}?project_id=${t}`
2632
3748
  );
2633
3749
  },
2634
- createDrawing(e, r, t, s = m.V2) {
2635
- const o = s === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
3750
+ createDrawing(e, r, t) {
3751
+ const o = d(m.ThreeSixty)[0];
2636
3752
  return a.post(
2637
3753
  `${o}/360/floors/${e}?created_by=${t}`,
2638
3754
  r
2639
3755
  );
2640
3756
  },
2641
- fetchDrawingOverlay(e, r, t, s = m.V2) {
2642
- const o = s === m.V2 ? a.env.ingestGpuApiUrl : a.env.ingestApiUrl;
2643
- return a.get(`${o}/360/floors/${e}/overlay`, {
3757
+ fetchDrawingOverlay(e, r, t, o = {}) {
3758
+ const i = d(m.ThreeSixty)[0];
3759
+ return a.get(`${i}/360/floors/${e}/overlay`, {
3760
+ ...o,
2644
3761
  params: r,
2645
3762
  onDownloadProgress: t
2646
3763
  });
2647
3764
  },
2648
- generate360map(e, r, t = m.V2) {
3765
+ getFloorArchive(e) {
3766
+ const r = d(m.ThreeSixty)[0];
3767
+ return a.get(`${r}/360/floors/${e}/archive`);
3768
+ },
3769
+ generate360map(e, r) {
3770
+ const t = d(m.ThreeSixty)[0];
2649
3771
  return a.post(
2650
- `${u(t)}/360/api/${e}/generate-360-map`,
3772
+ `${t}/360/api/${e}/generate-360-map`,
2651
3773
  r
2652
3774
  );
2653
3775
  },
2654
- get360QueueSize(e, r = m.V1) {
2655
- return a.get(`${u(r)}/360/queue`, { params: e });
3776
+ get360QueueSize(e, r = {}) {
3777
+ return a.get(`${e}/360/queue`, { params: r });
2656
3778
  }
2657
3779
  },
2658
3780
  bim: {
2659
3781
  createUpload(e, r) {
2660
3782
  return a.post(
2661
- `${a.env.ingestApiUrl}/bim/${e}/upload`,
3783
+ `${d(m.Drone)[0]}/bim/${e}/upload`,
2662
3784
  null,
2663
3785
  { params: r }
2664
3786
  );
2665
3787
  },
2666
3788
  getBIMs(e) {
2667
- return a.get(`${a.env.ingestApiUrl}/bim/uploads/`, e);
3789
+ return a.get(
3790
+ `${d(m.Drone)[0]}/bim/uploads/`,
3791
+ e
3792
+ );
2668
3793
  },
2669
3794
  getArchive(e) {
2670
- return a.get(`${a.env.ingestApiUrl}/bim/uploads/archive/${e}`);
3795
+ return a.get(
3796
+ `${d(m.Drone)[0]}/bim/uploads/archive/${e}`
3797
+ );
2671
3798
  },
2672
3799
  deleteUpload(e) {
2673
- return a.delete(`${a.env.ingestApiUrl}/bim/uploads/${e}`);
3800
+ return a.delete(
3801
+ `${d(m.Drone)[0]}/bim/uploads/${e}`
3802
+ );
2674
3803
  },
2675
3804
  upload(e, r, t) {
2676
3805
  return a.put(
2677
- `${a.env.ingestApiUrl}/bim/${e}/upload`,
3806
+ `${d(m.Drone)[0]}/bim/${e}/upload`,
2678
3807
  t,
2679
3808
  { params: r }
2680
3809
  );
2681
3810
  }
2682
3811
  },
3812
+ webhook: {
3813
+ notifyBimUpdated(e, r) {
3814
+ const t = {
3815
+ eventName: "bim.updated",
3816
+ projectId: e,
3817
+ data: {
3818
+ updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
3819
+ bimIdentifier: r
3820
+ }
3821
+ };
3822
+ return a.post(
3823
+ `${d(m.Drone)[0]}/webhook/`,
3824
+ t
3825
+ );
3826
+ }
3827
+ },
2683
3828
  mobileCapture: {
2684
- getProjectMobileAssets(e, r = {}, t = m.V1) {
2685
- return a.get(`${u(t)}/mobile/assets/`, {
3829
+ getProjectMobileAssets(e, r = {}) {
3830
+ const t = d(m.ThreeSixty)[0];
3831
+ return a.get(`${t}/mobile/assets/`, {
2686
3832
  params: e,
2687
3833
  ...r
2688
3834
  });
2689
3835
  },
2690
- getMobileAssetPhoto(e, r, t = m.V1) {
2691
- return a.get(`${u(t)}/mobile/assets/${e}`, {
3836
+ getMobileAssetPhoto(e, r) {
3837
+ const t = d(m.ThreeSixty)[0];
3838
+ return a.get(`${t}/mobile/assets/${e}`, {
2692
3839
  params: r
2693
3840
  });
2694
3841
  },
2695
- deleteAsset(e, r = m.V1) {
2696
- return a.delete(
2697
- `${u(r)}/mobile/assets/${e}`
2698
- );
3842
+ deleteAsset(e) {
3843
+ const r = d(m.ThreeSixty)[0];
3844
+ return a.delete(`${r}/mobile/assets/${e}`);
2699
3845
  }
2700
3846
  },
2701
3847
  utils: {
2702
3848
  async loadAllAssetsInQueue() {
2703
3849
  try {
2704
- const e = [m.V1, m.V2], r = [];
2705
- for (const t of e) {
2706
- const [s, o] = await Promise.all([
2707
- x.assets360.get360QueueSize({}, t),
2708
- x.drone.getDroneQueueSize(t)
2709
- ]), l = [
2710
- s == null ? void 0 : s.assets360,
2711
- o == null ? void 0 : o.assetsDrone
2712
- ].flatMap(
2713
- (n) => (n || []).map((p) => ({
2714
- ...p,
2715
- ingestVersion: t === m.V1 ? m.V1.toUpperCase() : m.V2.toUpperCase()
2716
- }))
2717
- );
2718
- r.push(...l);
2719
- }
2720
- return r.sort(
2721
- (t, s) => new Date(t.updatedAt).getTime() - new Date(s.updatedAt).getTime()
3850
+ const e = d(m.Drone), r = d(m.ThreeSixty), t = [], o = await Promise.all(
3851
+ e.map(async (g) => {
3852
+ const p = await T.drone.getDroneQueueSize(g), c = T.utils.getIngestVersion(g);
3853
+ return ((p == null ? void 0 : p.assetsDrone) || []).map((h) => ({
3854
+ ...h,
3855
+ ingestVersion: c.toUpperCase()
3856
+ }));
3857
+ })
3858
+ ), i = await Promise.all(
3859
+ r.map(async (g) => {
3860
+ const p = await T.assets360.get360QueueSize(g), c = T.utils.getIngestVersion(g);
3861
+ return ((p == null ? void 0 : p.assets360) || []).map((h) => ({
3862
+ ...h,
3863
+ ingestVersion: c.toUpperCase()
3864
+ }));
3865
+ })
3866
+ );
3867
+ return t.push(...o.flat(), ...i.flat()), t.sort(
3868
+ (g, p) => new Date(g.updatedAt).getTime() - new Date(p.updatedAt).getTime()
2722
3869
  );
2723
3870
  } catch (e) {
2724
3871
  return console.error("Error:", e), [];
2725
3872
  }
3873
+ },
3874
+ getIngestVersion(e) {
3875
+ var t;
3876
+ return `V${((t = e.match(/ingest(\d*)/)) == null ? void 0 : t[1]) || "1"}`;
3877
+ },
3878
+ async chooseIngestApiUrl(e) {
3879
+ const r = d(e);
3880
+ return (await Promise.all(
3881
+ r.map(async (o) => {
3882
+ var i, g;
3883
+ try {
3884
+ let p = 0;
3885
+ if (e === m.Drone) {
3886
+ const c = await T.drone.getDroneQueueSize(o);
3887
+ p = ((i = c == null ? void 0 : c.assetsDrone) == null ? void 0 : i.length) || 0;
3888
+ } else {
3889
+ const c = await T.assets360.get360QueueSize(
3890
+ o
3891
+ );
3892
+ p = ((g = c == null ? void 0 : c.assets360) == null ? void 0 : g.length) || 0;
3893
+ }
3894
+ return { ingestUrl: o, queue: p };
3895
+ } catch {
3896
+ return { ingestUrl: o, queue: 1 / 0 };
3897
+ }
3898
+ })
3899
+ )).reduce(
3900
+ (o, i) => i.queue < o.queue ? i : o
3901
+ ).ingestUrl;
2726
3902
  }
2727
3903
  }
2728
- }, At = {
3904
+ }, ss = {
2729
3905
  users: {
2730
3906
  login({
2731
3907
  apiUrl: e,
2732
3908
  username: r,
2733
3909
  password: t
2734
- }, s = {}) {
3910
+ }, o = {}) {
2735
3911
  return a.post(
2736
3912
  `${e}/api/users/login`,
2737
3913
  {
2738
3914
  username: r,
2739
3915
  password: t
2740
3916
  },
2741
- s
3917
+ o
2742
3918
  );
2743
3919
  }
2744
3920
  },
@@ -2765,46 +3941,46 @@ const Yt = {
2765
3941
  apiUrl: e,
2766
3942
  deviceId: r,
2767
3943
  token: t
2768
- }, s = {}) {
3944
+ }, o = {}) {
2769
3945
  return a.get(`${e}/api/devices/${r}`, {
2770
3946
  headers: {
2771
3947
  Authorization: `Bearer ${t}`
2772
3948
  },
2773
- ...s
3949
+ ...o
2774
3950
  });
2775
3951
  },
2776
3952
  getAvailableRecordings({
2777
3953
  apiUrl: e,
2778
3954
  deviceId: r,
2779
3955
  token: t
2780
- }, s = {}) {
3956
+ }, o = {}) {
2781
3957
  return a.get(`${e}/api/devices/${r}/recordings`, {
2782
3958
  headers: {
2783
3959
  Authorization: `Bearer ${t}`
2784
3960
  },
2785
- ...s
3961
+ ...o
2786
3962
  });
2787
3963
  },
2788
3964
  downloadFootage({
2789
3965
  apiUrl: e,
2790
3966
  deviceId: r,
2791
3967
  token: t,
2792
- startDate: s,
2793
- duration: o
3968
+ startDate: o,
3969
+ duration: i
2794
3970
  }) {
2795
3971
  return a.get(`${e}/api/devices/${r}/footage`, {
2796
3972
  headers: {
2797
3973
  Authorization: `Bearer ${t}`
2798
3974
  },
2799
3975
  params: {
2800
- startDate: s,
2801
- duration: o
3976
+ startDate: o,
3977
+ duration: i
2802
3978
  },
2803
3979
  responseType: "blob"
2804
3980
  });
2805
3981
  }
2806
3982
  }
2807
- }, Ct = {
3983
+ }, is = {
2808
3984
  roles: {
2809
3985
  async get(e) {
2810
3986
  return await a.get("/admin/authz/roles", e);
@@ -2830,22 +4006,36 @@ const Yt = {
2830
4006
  async getRoleUsers(e) {
2831
4007
  return a.get(`/admin/authz/roles/${e}/users`);
2832
4008
  },
2833
- async assignUsers(e, r, t) {
4009
+ async assignUsers(e, r, t = "evercam-admin") {
2834
4010
  return a.post(`/admin/authz/roles/${e}/users`, {
2835
4011
  emails: r,
2836
- resource_id: t
4012
+ resourceId: t
2837
4013
  });
2838
4014
  },
2839
- async unassignUsers(e, r, t) {
2840
- return a.delete(`/admin/authz/roles/${e}/users`, {
4015
+ getAssignments(e) {
4016
+ return a.get("/admin/authz/roles/assignments", e);
4017
+ },
4018
+ getUserRoles(e, r) {
4019
+ return a.get("/users/roles", {
2841
4020
  params: {
2842
- emails: r,
2843
- resource_id: t
4021
+ resourceId: e || null,
4022
+ resourceType: r || null
2844
4023
  }
2845
4024
  });
4025
+ }
4026
+ },
4027
+ projectRoles: {
4028
+ get(e) {
4029
+ return a.get(`/projects/${e}/roles`);
4030
+ },
4031
+ create(e, r) {
4032
+ return a.post(`/projects/${e}/roles`, r);
2846
4033
  },
2847
- getUserRoles() {
2848
- return a.get("/users/roles");
4034
+ update(e, r, t) {
4035
+ return a.patch(`/projects/${e}/roles/${r}`, t);
4036
+ },
4037
+ delete(e, r) {
4038
+ return a.delete(`/projects/${e}/roles/${r}`);
2849
4039
  }
2850
4040
  },
2851
4041
  scopes: {
@@ -2864,223 +4054,280 @@ const Yt = {
2864
4054
  }
2865
4055
  };
2866
4056
  export {
2867
- te as AconexDocumentDataType,
2868
- se as AconexFormComponentType,
2869
- ie as AconexIdentifiers,
2870
- oe as AconexMandatoryStatus,
2871
- it as ActiveUsersMetric,
2872
- xt as AdminApi,
2873
- Xt as AiApi,
2874
- ne as AnalyticsEvent,
2875
- le as AnalyticsEventPageId,
2876
- ge as AnprDirection,
2877
- me as AnprEventStatus,
2878
- Ha as AuditLogActionType,
2879
- Ct as AuthzApi,
2880
- ot as AutomationConfigStep,
2881
- dr as AutomationDialogType,
2882
- tt as AutomationProvider,
2883
- st as AutomationType,
2884
- $e as BIMLayerTypes,
2885
- pt as BadGatewayError,
2886
- lt as BadRequestError,
2887
- Aa as BimCompareWidgetSettingsKeys,
2888
- Se as BimModelType,
2889
- Ue as BimType,
2890
- Te as BimUploadStatus,
2891
- br as BrainTool,
2892
- Pe as CameraFeatureFlag,
2893
- Me as CameraModel,
2894
- at as CameraRegion,
2895
- be as CameraStatus,
2896
- de as ClipsCategory,
2897
- Pr as CloudRecordingDuration,
2898
- kr as CloudRecordingFrequency,
2899
- wr as CloudRecordingStatus,
2900
- Sa as CommentsLabel,
2901
- da as CommentsScope,
2902
- Ya as CommonWidgetSettingsKeys,
2903
- De as CompareStatus,
2904
- ut as ConflictError,
2905
- j as Connector,
2906
- He as CopilotChatProvider,
2907
- ve as CopilotLayout,
2908
- _e as CopilotMessageAuthor,
2909
- Be as CopilotMessageType,
2910
- We as CopilotMissingFieldComponent,
2911
- ze as CopilotMissingFieldName,
2912
- xe as CopilotMissingFieldType,
2913
- Oe as CopilotMissingFieldsLabels,
2914
- Ve as CopilotProvider,
2915
- Ne as CopilotSocketEvent,
2916
- je as CopilotStepId,
2917
- Ge as CopilotSuggestion,
2918
- Fe as CopilotToolId,
2919
- rt as CountryCode,
2920
- et as CountryId,
2921
- Qa as DelayUnit,
2922
- Je as DetectionLabel,
2923
- $a as DetectionModel,
2924
- Z as DownloadFileType,
2925
- Le as DroneUrlParams,
2926
- Re as DuplicatedCameraFields,
2927
- Er as EDistortImageModes,
2928
- Ar as EMapTypes,
2929
- Cr as EMarkers,
2930
- Ir as EPageType,
2931
- yr as EPaths,
2932
- ea as EProjectItems,
2933
- ra as ERoles,
2934
- d as ErrorCode,
2935
- h as ErrorType,
2936
- Kt as EvercamApi,
2937
- Ze as EvercamApiErrorCode,
2938
- Yt as EvercamLabsApi,
2939
- At as ExNvrApi,
2940
- ta as ExNvrDeviceState,
2941
- aa as ExNvrFootageAvailableStatus,
2942
- sa as ExNvrMetricId,
2943
- Ma as FeedbackContext,
2944
- ct as ForbiddenError,
2945
- Ye as GateReportDataSource,
2946
- qe as GateReportDetectionType,
2947
- Ke as GateReportEventDirection,
2948
- Xe as GateReportEventType,
2949
- Ee as GateReportExportType,
2950
- Ce as GateReportProcessingStatus,
2951
- Ae as GateReportROIShapeType,
2952
- L as GateReportVehicleType,
2953
- mt as GatewayTimeoutError,
2954
- Na as GrafanaMetricId,
2955
- Ie as HddFormat,
2956
- tr as HddSize,
2957
- er as HddState,
2958
- fe as HddStatus,
2959
- ye as HddType,
2960
- Ft as HlsError,
2961
- wa as InfoPage,
2962
- x as IngestApi,
2963
- sr as IngestProcessingStatus,
2964
- m as IngestVersions,
2965
- ke as IntensityChangeColors,
2966
- ht as InternalServerError,
2967
- ja as KitAlarm,
2968
- Va as KitChartType,
2969
- Oa as KitMetricId,
4057
+ Xo as AI_APP_CONFIGS,
4058
+ qo as AI_OBSERVATION_FEASIBILITY_CONFIGS,
4059
+ Qo as AI_PROVIDER_CONFIGS,
4060
+ ne as AconexDocumentDataType,
4061
+ le as AconexFormComponentType,
4062
+ pe as AconexIdentifiers,
4063
+ ge as AconexMandatoryStatus,
4064
+ Wt as ActiveUsersMetric,
4065
+ Eo as AdminApi,
4066
+ yo as AiApi,
4067
+ Qt as AiApp,
4068
+ Yt as AiConfigsKeyDialogMode,
4069
+ Jt as AiConfigsPromptDialogMode,
4070
+ Et as AiObservationFeasibilityStatus,
4071
+ At as AiObservationTimeDetection,
4072
+ Kt as AiPromptModel,
4073
+ Ct as AiPromptType,
4074
+ qt as AiProvider,
4075
+ ce as AnalyticsEvent,
4076
+ me as AnalyticsEventPageId,
4077
+ ue as AnprDirection,
4078
+ de as AnprEventStatus,
4079
+ Se as AnprExtractionSaveMode,
4080
+ he as AnprExtractionStatus,
4081
+ yt as AppRuntimeState,
4082
+ lt as AuditLogActionType,
4083
+ gt as AuditLogEntity,
4084
+ is as AuthzApi,
4085
+ xt as AutomationConfigStep,
4086
+ Fr as AutomationDialogType,
4087
+ Nt as AutomationExportFormat,
4088
+ vt as AutomationProvider,
4089
+ Vt as AutomationType,
4090
+ Gt as AutomationWeatherDataGranularity,
4091
+ Ht as AutomationWeatherReportType,
4092
+ De as BIMLayerTypes,
4093
+ so as BadGatewayError,
4094
+ ro as BadRequestError,
4095
+ Pt as BimCompareWidgetSettingsKeys,
4096
+ Me as BimModelType,
4097
+ Ge as BimType,
4098
+ Re as BimUploadStatus,
4099
+ Nr as BrainTool,
4100
+ Oe as CameraFeatureFlag,
4101
+ Ve as CameraModel,
4102
+ Ot as CameraRegion,
4103
+ Be as CameraStatus,
4104
+ we as ClipsCategory,
4105
+ xr as CloudRecordingDuration,
4106
+ No as CloudRecordingDurationLabel,
4107
+ Gr as CloudRecordingFrequency,
4108
+ Wr as CloudRecordingStatus,
4109
+ Ga as CommentsLabel,
4110
+ Na as CommentsScope,
4111
+ Mt as CommonWidgetSettingsKeys,
4112
+ xe as CompareStatus,
4113
+ no as ConflictError,
4114
+ O as Connector,
4115
+ _a as ContactRole,
4116
+ Je as CopilotChatProvider,
4117
+ Ye as CopilotLayout,
4118
+ We as CopilotMessageAuthor,
4119
+ ze as CopilotMessageType,
4120
+ Ce as CopilotMissingFieldComponent,
4121
+ Ee as CopilotMissingFieldName,
4122
+ Ae as CopilotMissingFieldType,
4123
+ Ze as CopilotMissingFieldsLabels,
4124
+ Qe as CopilotProvider,
4125
+ Xe as CopilotSocketEvent,
4126
+ Le as CopilotStepId,
4127
+ qe as CopilotSuggestion,
4128
+ Ke as CopilotToolId,
4129
+ Ft as CountryCode,
4130
+ Bt as CountryId,
4131
+ ft as DelayUnit,
4132
+ sr as DetectionLabel,
4133
+ Wa as DetectionModel,
4134
+ Q as DownloadFileType,
4135
+ ye as DroneMarkerType,
4136
+ rr as DroneProvider,
4137
+ Ie as DroneTagType,
4138
+ er as DroneUrlParams,
4139
+ Ne as DuplicatedCameraFields,
4140
+ ma as EDistortImageModes,
4141
+ ca as EMapTypes,
4142
+ ua as EMarkers,
4143
+ ie as EModelsType,
4144
+ da as EPageType,
4145
+ ha as ERoles,
4146
+ k as ErrorCode,
4147
+ $ as ErrorType,
4148
+ ts as EvercamApi,
4149
+ ar as EvercamApiErrorCode,
4150
+ as as EvercamLabsApi,
4151
+ ss as ExNvrApi,
4152
+ Ta as ExNvrDeviceState,
4153
+ $a as ExNvrFootageAvailableStatus,
4154
+ ka as ExNvrMetricId,
4155
+ Ka as FeedbackContext,
4156
+ io as ForbiddenError,
4157
+ Ue as ForgeBimDialogTrigger,
4158
+ _e as ForgeBimFileRejectionReason,
4159
+ Pe as ForgeBimUploadMethod,
4160
+ je as ForgeBimUploadStage,
4161
+ nr as GateReportDataSource,
4162
+ tr as GateReportDetectionType,
4163
+ lr as GateReportEventDirection,
4164
+ or as GateReportEventType,
4165
+ gr as GateReportExportType,
4166
+ pr as GateReportProcessingStatus,
4167
+ X as GateReportVehicleType,
4168
+ oo as GatewayTimeoutError,
4169
+ st as GrafanaMetricId,
4170
+ va as HAMMERTECH_FILE_FIELD_TYPES,
4171
+ Oa as HammertechClassification,
4172
+ Fa as HammertechPriority,
4173
+ Ba as HammertechRegion,
4174
+ mr as HddFormat,
4175
+ Sr as HddSize,
4176
+ ur as HddState,
4177
+ He as HddStatus,
4178
+ cr as HddType,
4179
+ Yo as HlsError,
4180
+ Ya as InfoPage,
4181
+ T as IngestApi,
4182
+ wr as IngestProcessingRunStatus,
4183
+ $r as IngestProcessingStatus,
4184
+ br as IngestProcessingStepStatus,
4185
+ m as IngestTypes,
4186
+ kr as IngestVersions,
4187
+ Fe as IntensityChange,
4188
+ Vo as IntensityChangeColorMap,
4189
+ lo as InternalServerError,
4190
+ sa as InviteStatus,
4191
+ tt as KitAlarm,
4192
+ it as KitChartType,
4193
+ ot as KitMetricId,
2970
4194
  q as KitMetricPeriod,
2971
- Ba as KitRegion,
2972
- _a as KitStatus,
2973
- Ga as KitStorageTransport,
2974
- Ea as LiveViewWidgetSettingsKeys,
2975
- ir as MapType,
2976
- ce as MediaFileType,
2977
- ue as MediaStatus,
2978
- he as MediaStatusId,
2979
- pe as MediaType,
2980
- or as MobileAssetsType,
2981
- ka as MobileDevice,
2982
- nt as NotFoundError,
2983
- nr as NotificationType,
2984
- gr as NvrDeviceType,
2985
- mr as NvrHddStatus,
2986
- we as NvrModel,
2987
- zt as OnRequestExpiredTokenInterceptor,
2988
- ae as PathMarkerColor,
2989
- Yr as PerformanceStatus,
2990
- ca as Persona,
2991
- zr as PowerSchedule,
2992
- Wr as PowerType,
2993
- Ta as PpeLabel,
2994
- pr as ProcoreObservationCustomFieldDataType,
2995
- cr as ProcoreObservationDefaultFieldNames,
2996
- hr as ProcoreToolUserAccessLevelIds,
2997
- ur as ProcoreTools,
2998
- lr as ProcoreType,
2999
- Tr as ProjectArchiveTier,
3000
- $r as ProjectFeatureFlag,
3001
- Sr as ProjectStatus,
3002
- Et as PtzApi,
3003
- Ua as PtzDirection,
3004
- Ka as RecordingsWidgetSettingsKeys,
3005
- Dr as RoiDirection,
3006
- Ur as RoiShapeType,
3007
- Rr as RoiType,
3008
- xr as RouterStatus,
3009
- Qe as SegmentLabel,
3010
- Lr as SharePermission,
3011
- qr as ShareRequestStatus,
3012
- Zr as ShareType,
3013
- Xr as ShareVisibility,
3014
- Wa as SiteAnalyticsMode,
3015
- xa as SmartSearchCondition,
3016
- qa as SmartSearchOperatorType,
3017
- za as SmartSearchQueryComponentType,
3018
- Ja as SmartSearchQueryConditionTypes,
3019
- Xa as SmartSearchQueryOperators,
3020
- Za as SmartSearchQueryReturnType,
3021
- La as SmartSearchQueryTargets,
3022
- Jr as SmsCommands,
3023
- Qr as SmsStatuses,
3024
- Wt as SnapshotError,
3025
- Mr as SnapshotExtractionInterval,
3026
- va as SnapshotExtractionStatus,
3027
- Fa as SnapshotExtractionType,
3028
- Ra as TaskStatus,
3029
- Ia as ThreeSixtyKeys,
3030
- ia as TimelapseDuration,
3031
- ma as TimelapseExportStep,
3032
- na as TimelapsePeriod,
3033
- la as TimelapseScheduleType,
3034
- oa as TimelapseStatus,
3035
- ga as TimelapseType,
3036
- jr as Timeline360UrlParams,
3037
- Hr as TimelineAnprUrlParams,
3038
- Vr as TimelineBimUrlParams,
3039
- Fr as TimelineCommentsUrlParams,
3040
- Or as TimelineDroneUrlParams,
3041
- Gr as TimelineExNvrRecordingsUrlParams,
3042
- Nr as TimelineMediaUrlParams,
3043
- vr as TimelineMobileCaptureUrlParams,
3044
- fa as TimelinePrecision,
3045
- Br as TimelineUrlParam,
3046
- gt as UnauthorizedError,
3047
- ba as UnitSystem,
3048
- _r as UrlParamValue,
3049
- pa as UserFeatureFlag,
3050
- N as VEHICLE_TYPE_IDS,
3051
- Lt as VideoWallApi,
3052
- ua as VideoWallItemType,
3053
- Ca as VideoWallWidgetSettingsKeys,
3054
- fr as VpnServer,
3055
- ar as WarehouseLocation,
3056
- rr as WarehouseLocationIndex,
3057
- Qt as WeatherApi,
3058
- ha as WeatherProvider,
3059
- Kr as WebGLExtensions,
3060
- Jt as WebRtcApi,
3061
- ya as WidgetType,
3062
- vt as WidgetTypesByResource,
3063
- Da as ZoomDirection,
3064
- y as _360AssetLabel,
3065
- I as _360AssetType,
3066
- ee as _360Feature,
3067
- re as _360IntergrationType,
3068
- C as _360UrlParams,
3069
- Zt as _3dFirebaseApi,
3070
- Pa as _3dViewer,
4195
+ at as KitRegion,
4196
+ rt as KitStatus,
4197
+ nt as KitStorageTransport,
4198
+ ya as KitSupportCheckId,
4199
+ et as KitSupportCheckStatus,
4200
+ Dt as LiveViewWidgetSettingsKeys,
4201
+ fr as MapType,
4202
+ fe as MediaCategory,
4203
+ Te as MediaFileType,
4204
+ ke as MediaStatus,
4205
+ be as MediaStatusId,
4206
+ $e as MediaType,
4207
+ Tr as MobileAssetsType,
4208
+ qa as MobileDevice,
4209
+ ao as NotFoundError,
4210
+ Rr as NotificationType,
4211
+ Dr as NvrDeviceType,
4212
+ Pr as NvrHddStatus,
4213
+ ve as NvrModel,
4214
+ Jo as OBSERVATION_EVENT_STATUS_CONFIGS,
4215
+ La as ObservationCountsGranularity,
4216
+ eo as ObservationEventStatus,
4217
+ za as ObservationItemState,
4218
+ Za as ObservationRequiredItem,
4219
+ Co as OnRequestExpiredTokenInterceptor,
4220
+ Xa as Operator,
4221
+ se as PathMarkerColor,
4222
+ la as PerformanceStatus,
4223
+ ja as Persona,
4224
+ pa as PlannerUrlParams,
4225
+ aa as PowerSchedule,
4226
+ ra as PowerType,
4227
+ xa as PpeLabel,
4228
+ _r as ProcoreObservationCustomFieldDataType,
4229
+ jr as ProcoreObservationDefaultFieldNames,
4230
+ Br as ProcoreToolUserAccessLevelIds,
4231
+ Ur as ProcoreTools,
4232
+ Mr as ProcoreType,
4233
+ vr as ProjectArchiveTier,
4234
+ Vr as ProjectFeatureFlag,
4235
+ Or as ProjectStatus,
4236
+ Sa as ProjectStorageProvider,
4237
+ Hr as ProjectStorageStatus,
4238
+ os as PtzApi,
4239
+ Aa as PtzDirection,
4240
+ Zo as RING_AUTO_IMPORT_QUEUED,
4241
+ Rt as RecordingsWidgetSettingsKeys,
4242
+ Qr as RoiDirection,
4243
+ Xr as RoiShapeType,
4244
+ Zr as RoiType,
4245
+ Lt as RoleAssignmentLogAction,
4246
+ zt as RoleResourceType,
4247
+ oa as RouterScanInputMode,
4248
+ ta as RouterStatus,
4249
+ ir as SegmentLabel,
4250
+ ut as SiteAnalyticsMode,
4251
+ wt as SiteAnalyticsViewType,
4252
+ Zt as SiteViewSoftwareType,
4253
+ Xt as SiteViewerType,
4254
+ dt as SmartSearchComponentType,
4255
+ ht as SmartSearchCondition,
4256
+ bt as SmartSearchConditionTypes,
4257
+ Tt as SmartSearchOperatorType,
4258
+ kt as SmartSearchOperators,
4259
+ $t as SmartSearchReturnType,
4260
+ St as SmartSearchTargets,
4261
+ ia as SmsCommands,
4262
+ na as SmsStatuses,
4263
+ Ko as SnapshotError,
4264
+ zr as SnapshotExtractionInterval,
4265
+ pt as SnapshotExtractionStatus,
4266
+ mt as SnapshotExtractionType,
4267
+ ct as SnapshotTransferStatus,
4268
+ Ea as TaskStatus,
4269
+ jt as ThreeSixtyKeys,
4270
+ wa as TimelapseDuration,
4271
+ Da as TimelapseExportStep,
4272
+ Ma as TimelapsePeriod,
4273
+ fa as TimelapseScheduleType,
4274
+ ba as TimelapseStatus,
4275
+ Ra as TimelapseType,
4276
+ Yr as Timeline360UrlParams,
4277
+ Ir as TimelineAnprUrlParams,
4278
+ Er as TimelineBimUrlParams,
4279
+ ea as TimelineCommentsUrlParams,
4280
+ Kr as TimelineDroneUrlParams,
4281
+ Ar as TimelineExNvrRecordingsUrlParams,
4282
+ Cr as TimelineMediaUrlParams,
4283
+ yr as TimelineMobileCaptureUrlParams,
4284
+ Ca as TimelinePrecision,
4285
+ Jr as TimelineUrlParam,
4286
+ to as UnauthorizedError,
4287
+ Qa as UnitSystem,
4288
+ qr as UrlParamValue,
4289
+ Pa as UserFeatureFlag,
4290
+ Ho as VEHICLE_TYPE_IDS,
4291
+ It as VehicleClassifierSource,
4292
+ Ao as VideoWallApi,
4293
+ Ua as VideoWallItemType,
4294
+ _t as VideoWallWidgetSettingsKeys,
4295
+ Lr as VpnServer,
4296
+ hr as WarehouseLocation,
4297
+ dr as WarehouseLocationIndex,
4298
+ rs as WeatherApi,
4299
+ Ha as WeatherProvider,
4300
+ Va as WeatherReportScope,
4301
+ ga as WebGLExtensions,
4302
+ es as WebRtcApi,
4303
+ Ut as WidgetType,
4304
+ Wo as WidgetTypesByResource,
4305
+ Ia as ZoomDirection,
4306
+ te as _360AssetLabel,
4307
+ ae as _360AssetType,
4308
+ oe as _360IntergrationType,
4309
+ ee as _360PinType,
4310
+ re as _360UrlParams,
4311
+ Io as _3dFirebaseApi,
4312
+ Ja as _3dViewer,
3071
4313
  a as axios,
3072
- qt as capitalizeFirstLetter,
3073
- J as ensureCommonHeaders,
3074
- i as getAiApiUrl,
3075
- T as getFirebaseDbApi,
3076
- Ot as getFirebaseStorageToken,
3077
- jt as getFirebaseStorageUrl,
3078
- u as getIngestApiUrl,
3079
- c as getLabsBaseUrl,
3080
- X as onError,
3081
- Tt as onRequest,
3082
- $t as onResponse,
3083
- Nt as queryStringToObject,
3084
- g as toQueryString
4314
+ Y as ensureCommonHeaders,
4315
+ Z as getAiApiUrl,
4316
+ s as getAiApiUrlV2,
4317
+ l as getFirebaseDbApi,
4318
+ jo as getFirebaseStorageToken,
4319
+ _o as getFirebaseStorageUrl,
4320
+ Uo as getForgeTokenServerUrl,
4321
+ d as getIngestApiUrls,
4322
+ S as getLabsBaseUrl,
4323
+ Lo as isCameraRole,
4324
+ Go as isHammertechFileFieldType,
4325
+ xo as isHammertechSignatureWithName,
4326
+ zo as isProjectRole,
4327
+ J as onError,
4328
+ mo as onRequest,
4329
+ co as onResponse,
4330
+ Bo as queryStringToObject,
4331
+ u as toQueryString
3085
4332
  };
3086
4333
  //# sourceMappingURL=index.js.map