@oneuptime/common 14.0.108 → 14.0.110

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 (711) hide show
  1. package/Models/AnalyticsModels/AuditLog.js +1 -1
  2. package/Models/AnalyticsModels/SecurityEvent.js +1 -1
  3. package/Models/DatabaseModels/AIInsight.js +2 -2
  4. package/Models/DatabaseModels/Alert.js +2 -2
  5. package/Models/DatabaseModels/AlertEpisode.js +2 -2
  6. package/Models/DatabaseModels/AlertEpisodeOnCallRule.js +3 -3
  7. package/Models/DatabaseModels/AlertGroupingRule.d.mts +1 -0
  8. package/Models/DatabaseModels/AlertGroupingRule.d.ts +1 -0
  9. package/Models/DatabaseModels/AlertGroupingRule.js +48 -2
  10. package/Models/DatabaseModels/AlertOnCallRule.js +3 -3
  11. package/Models/DatabaseModels/AlertSeverity.js +13 -4
  12. package/Models/DatabaseModels/AlertState.js +1 -1
  13. package/Models/DatabaseModels/CallLog.js +12 -12
  14. package/Models/DatabaseModels/CloudApp.d.mts +5 -0
  15. package/Models/DatabaseModels/CloudApp.d.ts +5 -0
  16. package/Models/DatabaseModels/CloudApp.js +112 -0
  17. package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.mts +2 -0
  18. package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.ts +2 -0
  19. package/Models/DatabaseModels/EmailLog.js +12 -12
  20. package/Models/DatabaseModels/FormSubmission.js +2 -2
  21. package/Models/DatabaseModels/GlobalConfig.d.mts +6 -0
  22. package/Models/DatabaseModels/GlobalConfig.d.ts +6 -0
  23. package/Models/DatabaseModels/GlobalConfig.js +139 -0
  24. package/Models/DatabaseModels/Incident.js +2 -2
  25. package/Models/DatabaseModels/IncidentEpisode.js +2 -2
  26. package/Models/DatabaseModels/IncidentEpisodeOnCallRule.js +3 -3
  27. package/Models/DatabaseModels/IncidentGroupingRule.d.mts +1 -0
  28. package/Models/DatabaseModels/IncidentGroupingRule.d.ts +1 -0
  29. package/Models/DatabaseModels/IncidentGroupingRule.js +48 -2
  30. package/Models/DatabaseModels/IncidentOnCallRule.js +3 -3
  31. package/Models/DatabaseModels/IncidentSeverity.js +13 -4
  32. package/Models/DatabaseModels/IncidentState.js +1 -1
  33. package/Models/DatabaseModels/IncidentTemplate.js +2 -2
  34. package/Models/DatabaseModels/Index.js +7 -0
  35. package/Models/DatabaseModels/Monitor.js +17 -3
  36. package/Models/DatabaseModels/MonitorStatusTimeline.d.mts +1 -0
  37. package/Models/DatabaseModels/MonitorStatusTimeline.d.ts +1 -0
  38. package/Models/DatabaseModels/MonitorStatusTimeline.js +43 -0
  39. package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
  40. package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
  41. package/Models/DatabaseModels/NetworkDevice.js +41 -0
  42. package/Models/DatabaseModels/OnCallDutyPolicy.js +4 -2
  43. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRule.js +1 -1
  44. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleSchedule.js +8 -5
  45. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleTeam.js +5 -2
  46. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleUser.js +5 -2
  47. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +4 -0
  48. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +4 -0
  49. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +141 -8
  50. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.js +10 -7
  51. package/Models/DatabaseModels/OnCallDutyPolicyFeed.js +14 -11
  52. package/Models/DatabaseModels/OnCallDutyPolicyOwnerTeam.js +7 -4
  53. package/Models/DatabaseModels/OnCallDutyPolicyOwnerUser.js +7 -4
  54. package/Models/DatabaseModels/OnCallDutyPolicySchedule.js +6 -3
  55. package/Models/DatabaseModels/OnCallDutyPolicyScheduleCalendarFeed.js +4 -4
  56. package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayer.js +3 -3
  57. package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayerUser.js +6 -6
  58. package/Models/DatabaseModels/OnCallDutyPolicyTimeLog.js +9 -6
  59. package/Models/DatabaseModels/ProductFeedback.d.mts +11 -0
  60. package/Models/DatabaseModels/ProductFeedback.d.ts +11 -0
  61. package/Models/DatabaseModels/ProductFeedback.js +203 -0
  62. package/Models/DatabaseModels/ProductFeedback.mjs +2 -0
  63. package/Models/DatabaseModels/Project.d.mts +8 -0
  64. package/Models/DatabaseModels/Project.d.ts +8 -0
  65. package/Models/DatabaseModels/Project.js +333 -2
  66. package/Models/DatabaseModels/ProjectMilestone.d.mts +11 -0
  67. package/Models/DatabaseModels/ProjectMilestone.d.ts +11 -0
  68. package/Models/DatabaseModels/ProjectMilestone.js +207 -0
  69. package/Models/DatabaseModels/ProjectMilestone.mjs +2 -0
  70. package/Models/DatabaseModels/ProjectUserPreference.d.mts +11 -0
  71. package/Models/DatabaseModels/ProjectUserPreference.d.ts +11 -0
  72. package/Models/DatabaseModels/ProjectUserPreference.js +194 -0
  73. package/Models/DatabaseModels/ProjectUserPreference.mjs +2 -0
  74. package/Models/DatabaseModels/ProxmoxCluster.d.mts +1 -0
  75. package/Models/DatabaseModels/ProxmoxCluster.d.ts +1 -0
  76. package/Models/DatabaseModels/ProxmoxCluster.js +52 -3
  77. package/Models/DatabaseModels/PushNotificationLog.js +12 -12
  78. package/Models/DatabaseModels/Reseller.js +8 -2
  79. package/Models/DatabaseModels/ResellerPlan.js +8 -2
  80. package/Models/DatabaseModels/RumSessionPin.js +16 -2
  81. package/Models/DatabaseModels/RumSessionReplayView.js +8 -1
  82. package/Models/DatabaseModels/ScheduledMaintenance.js +6 -3
  83. package/Models/DatabaseModels/ScheduledMaintenanceInternalNote.js +7 -4
  84. package/Models/DatabaseModels/ScheduledMaintenanceMeasurementValue.js +2 -2
  85. package/Models/DatabaseModels/ScheduledMaintenancePublicNote.js +7 -4
  86. package/Models/DatabaseModels/ScheduledMaintenanceStateTimeline.js +1 -1
  87. package/Models/DatabaseModels/SecurityCase.js +8 -1
  88. package/Models/DatabaseModels/Service.js +1 -1
  89. package/Models/DatabaseModels/ServiceLevelObjectiveBurnRateRule.js +4 -4
  90. package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.js +4 -4
  91. package/Models/DatabaseModels/SmsLog.js +12 -12
  92. package/Models/DatabaseModels/StatusPage.js +5 -5
  93. package/Models/DatabaseModels/StatusPageSubscriber.js +2 -2
  94. package/Models/DatabaseModels/TelegramLog.js +12 -12
  95. package/Models/DatabaseModels/TelemetryIngestionKey.js +8 -5
  96. package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.js +7 -4
  97. package/Models/DatabaseModels/User.d.mts +6 -0
  98. package/Models/DatabaseModels/User.d.ts +6 -0
  99. package/Models/DatabaseModels/User.js +152 -0
  100. package/Models/DatabaseModels/UserOnCallLog.js +38 -10
  101. package/Models/DatabaseModels/UserOnCallLogTimeline.js +13 -3
  102. package/Models/DatabaseModels/UserOnCallShiftReminderLog.js +2 -2
  103. package/Models/DatabaseModels/WebhookLog.js +12 -12
  104. package/Models/DatabaseModels/WhatsAppLog.js +12 -12
  105. package/Models/DatabaseModels/WorkspaceNotificationLog.js +12 -12
  106. package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
  107. package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.mts +9 -0
  108. package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.ts +9 -0
  109. package/Server/Services/DatabaseService.d.mts +1 -0
  110. package/Server/Services/DatabaseService.d.ts +1 -0
  111. package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.mts +2 -1
  112. package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.ts +2 -1
  113. package/Server/Utils/Workspace/WorkspaceBase.d.mts +1 -0
  114. package/Server/Utils/Workspace/WorkspaceBase.d.ts +1 -0
  115. package/Types/AI/AIActionWords.d.mts +167 -7
  116. package/Types/AI/AIActionWords.d.ts +167 -7
  117. package/Types/AI/AIActionWords.js +474 -17
  118. package/Types/AI/AIActionWords.mjs +22 -0
  119. package/Types/AI/AIChatMessageStatus.js +3 -2
  120. package/Types/AI/AIChatRecordSeen.d.mts +6 -2
  121. package/Types/AI/AIChatRecordSeen.d.ts +6 -2
  122. package/Types/AI/AIChatRecordSeen.js +48 -9
  123. package/Types/AI/AIChatRecordSeen.mjs +2 -0
  124. package/Types/AI/AIChatTypes.d.mts +21 -2
  125. package/Types/AI/AIChatTypes.d.ts +21 -2
  126. package/Types/AI/AIChatTypes.js +49 -1
  127. package/Types/AI/AIChatTypes.mjs +3 -0
  128. package/Types/AI/AIRunAttempt.d.mts +8 -0
  129. package/Types/AI/AIRunAttempt.d.ts +8 -0
  130. package/Types/AI/AIRunAttempt.js +60 -6
  131. package/Types/AI/AIRunAttempt.mjs +3 -0
  132. package/Types/AI/AISetupActions.d.mts +9 -0
  133. package/Types/AI/AISetupActions.d.ts +9 -0
  134. package/Types/AI/AISetupActions.js +56 -0
  135. package/Types/AI/AISetupActions.mjs +10 -0
  136. package/Types/AI/CodeTask.d.mts +14 -0
  137. package/Types/AI/CodeTask.d.ts +14 -0
  138. package/Types/AI/RecordAiTokenLimit.d.mts +24 -0
  139. package/Types/AI/RecordAiTokenLimit.d.ts +24 -0
  140. package/Types/AI/RecordAiTokenLimit.js +153 -0
  141. package/Types/AI/RecordAiTokenLimit.mjs +8 -0
  142. package/Types/Accounts/SignInMessages.d.mts +8 -0
  143. package/Types/Accounts/SignInMessages.d.ts +8 -0
  144. package/Types/Accounts/SignInMessages.js +28 -0
  145. package/Types/Accounts/SignInMessages.mjs +5 -0
  146. package/Types/Analytics/ActivationMilestone.d.mts +48 -0
  147. package/Types/Analytics/ActivationMilestone.d.ts +48 -0
  148. package/Types/Analytics/ActivationMilestone.js +247 -0
  149. package/Types/Analytics/ActivationMilestone.mjs +16 -0
  150. package/Types/Analytics/ChecklistProgress.d.mts +11 -0
  151. package/Types/Analytics/ChecklistProgress.d.ts +11 -0
  152. package/Types/Analytics/ChecklistProgress.js +32 -0
  153. package/Types/Analytics/ChecklistProgress.mjs +2 -0
  154. package/Types/Analytics/ProductEvent.d.mts +66 -0
  155. package/Types/Analytics/ProductEvent.d.ts +66 -0
  156. package/Types/Analytics/ProductEvent.js +471 -0
  157. package/Types/Analytics/ProductEvent.mjs +14 -0
  158. package/Types/AuditLog/AuditLogAction.d.mts +5 -1
  159. package/Types/AuditLog/AuditLogAction.d.ts +5 -1
  160. package/Types/AuditLog/AuditLogAction.js +11 -0
  161. package/Types/AuditLog/AuditLogActionLabel.d.mts +3 -0
  162. package/Types/AuditLog/AuditLogActionLabel.d.ts +3 -0
  163. package/Types/AuditLog/AuditLogActionLabel.js +30 -0
  164. package/Types/AuditLog/AuditLogActionLabel.mjs +3 -0
  165. package/Types/AuditLog/AuditLogCoverage.d.mts +3 -1
  166. package/Types/AuditLog/AuditLogCoverage.d.ts +3 -1
  167. package/Types/AuditLog/AuditLogCoverage.js +12 -3
  168. package/Types/AuditLog/AuditLogRetention.js +7 -4
  169. package/Types/AuditLog/AuditLogSessionEvent.d.mts +45 -0
  170. package/Types/AuditLog/AuditLogSessionEvent.d.ts +45 -0
  171. package/Types/AuditLog/AuditLogSessionEvent.js +210 -0
  172. package/Types/AuditLog/AuditLogSessionEvent.mjs +14 -0
  173. package/Types/AutoRemediation/RemediationRound.d.mts +4 -0
  174. package/Types/AutoRemediation/RemediationRound.d.ts +4 -0
  175. package/Types/AutoRemediation/RemediationRound.js +19 -2
  176. package/Types/AutoRemediation/RemediationRoundName.d.mts +1 -0
  177. package/Types/AutoRemediation/RemediationRoundName.d.ts +1 -0
  178. package/Types/AutoRemediation/RemediationRoundName.js +5 -0
  179. package/Types/AutoRemediation/RemediationRoundName.mjs +1 -0
  180. package/Types/Cloud/CloudAppTelemetrySignal.d.mts +9 -0
  181. package/Types/Cloud/CloudAppTelemetrySignal.d.ts +9 -0
  182. package/Types/Cloud/CloudAppTelemetrySignal.js +41 -0
  183. package/Types/Cloud/CloudAppTelemetrySignal.mjs +4 -0
  184. package/Types/Cloud/CloudPlatform.js +7 -1
  185. package/Types/Cloud/CloudResourceCatalog.d.mts +2 -0
  186. package/Types/Cloud/CloudResourceCatalog.d.ts +2 -0
  187. package/Types/Cloud/CloudResourceCatalog.js +33 -3
  188. package/Types/Cloud/CloudResourceCatalog.mjs +1 -0
  189. package/Types/CodeRepository/CodeFileSeen.d.mts +5 -0
  190. package/Types/CodeRepository/CodeFileSeen.d.ts +5 -0
  191. package/Types/CodeRepository/CodeFileSeen.js +142 -27
  192. package/Types/CustomDomain/CustomDomainDnsCheckResult.d.mts +13 -0
  193. package/Types/CustomDomain/CustomDomainDnsCheckResult.d.ts +13 -0
  194. package/Types/CustomDomain/CustomDomainDnsCheckResult.js +80 -0
  195. package/Types/CustomDomain/CustomDomainDnsCheckResult.mjs +2 -0
  196. package/Types/CustomDomain/CustomDomainServerReadiness.d.mts +55 -0
  197. package/Types/CustomDomain/CustomDomainServerReadiness.d.ts +55 -0
  198. package/Types/CustomDomain/CustomDomainServerReadiness.js +199 -0
  199. package/Types/CustomDomain/CustomDomainServerReadiness.mjs +8 -0
  200. package/Types/CustomDomain/DnsRecordCheck.d.mts +34 -0
  201. package/Types/CustomDomain/DnsRecordCheck.d.ts +34 -0
  202. package/Types/CustomDomain/DnsRecordCheck.js +175 -0
  203. package/Types/CustomDomain/DnsRecordCheck.mjs +6 -0
  204. package/Types/CustomDomain/DnsRecordCheckWords.d.mts +35 -0
  205. package/Types/CustomDomain/DnsRecordCheckWords.d.ts +35 -0
  206. package/Types/CustomDomain/DnsRecordCheckWords.js +151 -0
  207. package/Types/CustomDomain/DnsRecordCheckWords.mjs +5 -0
  208. package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.mts +1 -0
  209. package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.ts +1 -0
  210. package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.js +11 -1
  211. package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.mjs +1 -0
  212. package/Types/DataObservability/DataCheckSuggestions.d.mts +25 -0
  213. package/Types/DataObservability/DataCheckSuggestions.d.ts +25 -0
  214. package/Types/DataObservability/DataCheckSuggestions.js +102 -65
  215. package/Types/DataObservability/DataCheckSuggestions.mjs +1 -0
  216. package/Types/DataObservability/DataCheckType.d.mts +4 -0
  217. package/Types/DataObservability/DataCheckType.d.ts +4 -0
  218. package/Types/DataObservability/DataCheckType.js +17 -0
  219. package/Types/DataObservability/DataCheckType.mjs +1 -0
  220. package/Types/DataObservability/DataLineageColumnTrail.d.mts +10 -0
  221. package/Types/DataObservability/DataLineageColumnTrail.d.ts +10 -0
  222. package/Types/DataObservability/DataLineageColumnTrail.js +152 -0
  223. package/Types/DataObservability/DataLineageColumnTrail.mjs +4 -0
  224. package/Types/DataObservability/DataLineageExpansion.d.mts +29 -0
  225. package/Types/DataObservability/DataLineageExpansion.d.ts +29 -0
  226. package/Types/DataObservability/DataLineageExpansion.js +166 -0
  227. package/Types/DataObservability/DataLineageExpansion.mjs +4 -0
  228. package/Types/DataObservability/DataObservabilityApiTypes.d.mts +1 -0
  229. package/Types/DataObservability/DataObservabilityApiTypes.d.ts +1 -0
  230. package/Types/DataObservability/DataObservabilityApiTypes.js +2 -0
  231. package/Types/DataObservability/DataTableLineage.d.mts +7 -0
  232. package/Types/DataObservability/DataTableLineage.d.ts +7 -0
  233. package/Types/DataObservability/DataTableLineage.js +15 -3
  234. package/Types/DataObservability/DataTableLineage.mjs +1 -0
  235. package/Types/Database/TableMetadata.d.mts +2 -0
  236. package/Types/Database/TableMetadata.d.ts +2 -0
  237. package/Types/Database/TableMetadata.js +6 -0
  238. package/Types/Date.d.mts +42 -1
  239. package/Types/Date.d.ts +42 -1
  240. package/Types/Date.js +114 -5
  241. package/Types/DateLanguage.d.mts +9 -0
  242. package/Types/DateLanguage.d.ts +9 -0
  243. package/Types/DateLanguage.js +87 -2
  244. package/Types/DateLanguage.mjs +3 -0
  245. package/Types/DirectionArrow.d.mts +7 -0
  246. package/Types/DirectionArrow.d.ts +7 -0
  247. package/Types/DirectionArrow.js +88 -0
  248. package/Types/DirectionArrow.mjs +7 -0
  249. package/Types/Docs/DocsLanguage.d.mts +2 -0
  250. package/Types/Docs/DocsLanguage.d.ts +2 -0
  251. package/Types/Docs/DocsLanguage.js +23 -1
  252. package/Types/Docs/DocsLanguage.mjs +2 -0
  253. package/Types/Docs/GlossaryTerm.d.mts +83 -0
  254. package/Types/Docs/GlossaryTerm.d.ts +83 -0
  255. package/Types/Docs/GlossaryTerm.js +128 -0
  256. package/Types/Docs/GlossaryTerm.mjs +5 -0
  257. package/Types/Docs/RetiredNames.d.mts +11 -0
  258. package/Types/Docs/RetiredNames.d.ts +11 -0
  259. package/Types/Docs/RetiredNames.js +139 -0
  260. package/Types/Docs/RetiredNames.mjs +3 -0
  261. package/Types/Email/AmazonSesAuthenticationType.d.mts +23 -0
  262. package/Types/Email/AmazonSesAuthenticationType.d.ts +23 -0
  263. package/Types/Email/AmazonSesAuthenticationType.js +40 -0
  264. package/Types/Email/AmazonSesAuthenticationType.mjs +4 -0
  265. package/Types/Email/EmailServer.d.mts +2 -0
  266. package/Types/Email/EmailServer.d.ts +2 -0
  267. package/Types/Email/EmailTemplateType.d.mts +1 -0
  268. package/Types/Email/EmailTemplateType.d.ts +1 -0
  269. package/Types/Email/EmailTemplateType.js +2 -0
  270. package/Types/Exception/BadDataExceptionWithDetails.d.mts +6 -0
  271. package/Types/Exception/BadDataExceptionWithDetails.d.ts +6 -0
  272. package/Types/Exception/BadDataExceptionWithDetails.js +20 -0
  273. package/Types/Exception/BadDataExceptionWithDetails.mjs +2 -0
  274. package/Types/Exception/ErrorMessageRule.d.mts +4 -0
  275. package/Types/Exception/ErrorMessageRule.d.ts +4 -0
  276. package/Types/Exception/ErrorMessageRule.js +143 -0
  277. package/Types/Exception/ErrorMessageRule.mjs +5 -0
  278. package/Types/Exception/RefusalWithValues.d.mts +7 -0
  279. package/Types/Exception/RefusalWithValues.d.ts +7 -0
  280. package/Types/Exception/RefusalWithValues.js +76 -0
  281. package/Types/Exception/RefusalWithValues.mjs +3 -0
  282. package/Types/Exception/UnexplainedError.d.mts +58 -0
  283. package/Types/Exception/UnexplainedError.d.ts +58 -0
  284. package/Types/Exception/UnexplainedError.js +231 -0
  285. package/Types/Exception/UnexplainedError.mjs +12 -0
  286. package/Types/File/FileSize.d.mts +4 -1
  287. package/Types/File/FileSize.d.ts +4 -1
  288. package/Types/File/FileSize.js +18 -17
  289. package/Types/HostCollector/HostCollector.d.mts +1 -0
  290. package/Types/HostCollector/HostCollector.d.ts +1 -0
  291. package/Types/HostCollector/HostCollector.js +26 -10
  292. package/Types/HostCollector/HostCollector.mjs +1 -0
  293. package/Types/Icon/IconProp.d.mts +4 -1
  294. package/Types/Icon/IconProp.d.ts +4 -1
  295. package/Types/Icon/IconProp.js +6 -0
  296. package/Types/InstallationHealth/InstallationHealth.d.mts +122 -0
  297. package/Types/InstallationHealth/InstallationHealth.d.ts +122 -0
  298. package/Types/InstallationHealth/InstallationHealth.js +513 -0
  299. package/Types/InstallationHealth/InstallationHealth.mjs +13 -0
  300. package/Types/LLM/LLMProviderExchange.d.mts +17 -0
  301. package/Types/LLM/LLMProviderExchange.d.ts +17 -0
  302. package/Types/LLM/LLMProviderExchange.js +70 -0
  303. package/Types/LLM/LLMProviderExchange.mjs +5 -0
  304. package/Types/Monitor/CriteriaFilter.d.mts +1 -0
  305. package/Types/Monitor/CriteriaFilter.d.ts +1 -0
  306. package/Types/Monitor/CriteriaFilter.js +3 -1
  307. package/Types/Monitor/CriteriaFilterTerms.js +1 -0
  308. package/Types/Monitor/CriteriaFilterValues.d.mts +2 -0
  309. package/Types/Monitor/CriteriaFilterValues.d.ts +2 -0
  310. package/Types/Monitor/CriteriaFilterValues.js +22 -0
  311. package/Types/Monitor/EvaluationSentence.d.mts +1 -0
  312. package/Types/Monitor/EvaluationSentence.d.ts +1 -0
  313. package/Types/Monitor/EvaluationSentence.js +34 -3
  314. package/Types/Monitor/EvaluationSentence.mjs +1 -0
  315. package/Types/Monitor/MonitorCriteria.js +2 -2
  316. package/Types/Monitor/MonitorStep.js +1 -1
  317. package/Types/Monitor/MonitorTemplateSyncField.d.mts +6 -0
  318. package/Types/Monitor/MonitorTemplateSyncField.d.ts +6 -0
  319. package/Types/Monitor/MonitorTemplateSyncField.js +106 -64
  320. package/Types/Monitor/NtpMonitor/NtpMonitorUtil.d.mts +1 -0
  321. package/Types/Monitor/NtpMonitor/NtpMonitorUtil.d.ts +1 -0
  322. package/Types/Monitor/NtpMonitor/NtpMonitorUtil.js +11 -3
  323. package/Types/Monitor/RetiredEvaluationTemplates.d.mts +2 -0
  324. package/Types/Monitor/RetiredEvaluationTemplates.d.ts +2 -0
  325. package/Types/Monitor/RetiredEvaluationTemplates.js +95 -0
  326. package/Types/Monitor/RetiredEvaluationTemplates.mjs +3 -0
  327. package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.d.mts +6 -0
  328. package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.d.ts +6 -0
  329. package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.js +20 -0
  330. package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.mjs +2 -0
  331. package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.d.mts +6 -0
  332. package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.d.ts +6 -0
  333. package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.js +29 -0
  334. package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.mjs +2 -0
  335. package/Types/Monitor/SSLMonitor/SslMonitorResponse.d.mts +7 -0
  336. package/Types/Monitor/SSLMonitor/SslMonitorResponse.d.ts +7 -0
  337. package/Types/Monitor/WhoIsTold.d.mts +167 -0
  338. package/Types/Monitor/WhoIsTold.d.ts +167 -0
  339. package/Types/Monitor/WhoIsTold.js +583 -0
  340. package/Types/Monitor/WhoIsTold.mjs +17 -0
  341. package/Types/NotificationRule/PagingLadder.d.mts +137 -0
  342. package/Types/NotificationRule/PagingLadder.d.ts +137 -0
  343. package/Types/NotificationRule/PagingLadder.js +682 -0
  344. package/Types/NotificationRule/PagingLadder.mjs +28 -0
  345. package/Types/NotificationSetting/NotificationEmailRollupCategory.js +1 -1
  346. package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.mts +6 -0
  347. package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.ts +6 -0
  348. package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.js +34 -0
  349. package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.mjs +2 -0
  350. package/Types/OnCallDutyPolicy/OnCallPageLine.d.mts +26 -0
  351. package/Types/OnCallDutyPolicy/OnCallPageLine.d.ts +26 -0
  352. package/Types/OnCallDutyPolicy/OnCallPageLine.js +136 -0
  353. package/Types/OnCallDutyPolicy/OnCallPageLine.mjs +18 -0
  354. package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +284 -0
  355. package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +284 -0
  356. package/Types/OnCallDutyPolicy/OnCallTestPage.js +665 -0
  357. package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +53 -0
  358. package/Types/OnCallDutyPolicy/OnCallTestPageLine.d.mts +19 -0
  359. package/Types/OnCallDutyPolicy/OnCallTestPageLine.d.ts +19 -0
  360. package/Types/OnCallDutyPolicy/OnCallTestPageLine.js +222 -0
  361. package/Types/OnCallDutyPolicy/OnCallTestPageLine.mjs +6 -0
  362. package/Types/OnCallDutyPolicy/OnCallTestPageWords.d.mts +31 -0
  363. package/Types/OnCallDutyPolicy/OnCallTestPageWords.d.ts +31 -0
  364. package/Types/OnCallDutyPolicy/OnCallTestPageWords.js +105 -0
  365. package/Types/OnCallDutyPolicy/OnCallTestPageWords.mjs +14 -0
  366. package/Types/OnCallDutyPolicy/ScheduleLayerDefaults.js +5 -2
  367. package/Types/OnCallDutyPolicy/UserOverrideCoverRequest.js +9 -1
  368. package/Types/Permission.d.mts +2 -2
  369. package/Types/Permission.d.ts +2 -2
  370. package/Types/Permission.js +194 -193
  371. package/Types/PhoneNumberDirection.d.mts +6 -0
  372. package/Types/PhoneNumberDirection.d.ts +6 -0
  373. package/Types/PhoneNumberDirection.js +123 -0
  374. package/Types/PhoneNumberDirection.mjs +6 -0
  375. package/Types/Product/ProductCatalog.d.mts +10 -0
  376. package/Types/Product/ProductCatalog.d.ts +10 -0
  377. package/Types/Product/ProductCatalog.js +208 -0
  378. package/Types/Product/ProductCatalog.mjs +6 -0
  379. package/Types/Product/ProductKey.d.mts +58 -0
  380. package/Types/Product/ProductKey.d.ts +58 -0
  381. package/Types/Product/ProductKey.js +175 -0
  382. package/Types/Product/ProductKey.mjs +8 -0
  383. package/Types/Product/ProductOfTable.d.mts +3 -0
  384. package/Types/Product/ProductOfTable.d.ts +3 -0
  385. package/Types/Product/ProductOfTable.js +68 -0
  386. package/Types/Product/ProductOfTable.mjs +3 -0
  387. package/Types/Product/ProductPins.d.mts +10 -0
  388. package/Types/Product/ProductPins.d.ts +10 -0
  389. package/Types/Product/ProductPins.js +65 -0
  390. package/Types/Product/ProductPins.mjs +6 -0
  391. package/Types/Product/ProductUsage.d.mts +21 -0
  392. package/Types/Product/ProductUsage.d.ts +21 -0
  393. package/Types/Product/ProductUsage.js +175 -0
  394. package/Types/Product/ProductUsage.mjs +10 -0
  395. package/Types/Product/ProjectProducts.d.mts +60 -0
  396. package/Types/Product/ProjectProducts.d.ts +60 -0
  397. package/Types/Product/ProjectProducts.js +336 -0
  398. package/Types/Product/ProjectProducts.mjs +19 -0
  399. package/Types/Product/ProjectProductsAnswer.d.mts +23 -0
  400. package/Types/Product/ProjectProductsAnswer.d.ts +23 -0
  401. package/Types/Product/ProjectProductsAnswer.js +172 -0
  402. package/Types/Product/ProjectProductsAnswer.mjs +8 -0
  403. package/Types/Product/ServerProducts.d.mts +65 -0
  404. package/Types/Product/ServerProducts.d.ts +65 -0
  405. package/Types/Product/ServerProducts.js +383 -0
  406. package/Types/Product/ServerProducts.mjs +26 -0
  407. package/Types/Product/ServerProductsAnswer.d.mts +21 -0
  408. package/Types/Product/ServerProductsAnswer.d.ts +21 -0
  409. package/Types/Product/ServerProductsAnswer.js +78 -0
  410. package/Types/Product/ServerProductsAnswer.mjs +5 -0
  411. package/Types/ProductFeedback/NewGitHubIssue.d.mts +12 -0
  412. package/Types/ProductFeedback/NewGitHubIssue.d.ts +12 -0
  413. package/Types/ProductFeedback/NewGitHubIssue.js +64 -0
  414. package/Types/ProductFeedback/NewGitHubIssue.mjs +5 -0
  415. package/Types/ProductFeedback/ProductFeedback.d.mts +142 -0
  416. package/Types/ProductFeedback/ProductFeedback.d.ts +142 -0
  417. package/Types/ProductFeedback/ProductFeedback.js +525 -0
  418. package/Types/ProductFeedback/ProductFeedback.mjs +49 -0
  419. package/Types/ReadingDirection.d.mts +2 -0
  420. package/Types/ReadingDirection.d.ts +2 -0
  421. package/Types/ReadingDirection.js +83 -2
  422. package/Types/ReadingDirection.mjs +2 -0
  423. package/Types/Recommendation/RecommendationType.d.mts +2 -1
  424. package/Types/Recommendation/RecommendationType.d.ts +2 -1
  425. package/Types/Recommendation/RecommendationType.js +6 -0
  426. package/Types/Reminder/ReminderInterval.d.mts +7 -0
  427. package/Types/Reminder/ReminderInterval.d.ts +7 -0
  428. package/Types/Reminder/ReminderInterval.js +110 -0
  429. package/Types/Reminder/ReminderInterval.mjs +8 -0
  430. package/Types/Retention/ResolvedRecordRetention.d.mts +19 -0
  431. package/Types/Retention/ResolvedRecordRetention.d.ts +19 -0
  432. package/Types/Retention/ResolvedRecordRetention.js +124 -0
  433. package/Types/Retention/ResolvedRecordRetention.mjs +14 -0
  434. package/Types/RollingTime/RollingTimeUtil.d.mts +1 -0
  435. package/Types/RollingTime/RollingTimeUtil.d.ts +1 -0
  436. package/Types/RollingTime/RollingTimeUtil.js +9 -0
  437. package/Types/Rum/SessionReplayCustomEvents.d.mts +1 -0
  438. package/Types/Rum/SessionReplayCustomEvents.d.ts +1 -0
  439. package/Types/SampleProject/SampleProject.d.mts +54 -0
  440. package/Types/SampleProject/SampleProject.d.ts +54 -0
  441. package/Types/SampleProject/SampleProject.js +177 -0
  442. package/Types/SampleProject/SampleProject.mjs +22 -0
  443. package/Types/SampleProject/SampleProjectContent.d.mts +127 -0
  444. package/Types/SampleProject/SampleProjectContent.d.ts +127 -0
  445. package/Types/SampleProject/SampleProjectContent.js +397 -0
  446. package/Types/SampleProject/SampleProjectContent.mjs +18 -0
  447. package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.js +108 -101
  448. package/Types/ServerSending/ServerSendingStatus.d.mts +69 -0
  449. package/Types/ServerSending/ServerSendingStatus.d.ts +69 -0
  450. package/Types/ServerSending/ServerSendingStatus.js +281 -0
  451. package/Types/ServerSending/ServerSendingStatus.mjs +7 -0
  452. package/Types/ServerSending/ServerSendingWords.d.mts +9 -0
  453. package/Types/ServerSending/ServerSendingWords.d.ts +9 -0
  454. package/Types/ServerSending/ServerSendingWords.js +95 -0
  455. package/Types/ServerSending/ServerSendingWords.mjs +7 -0
  456. package/Types/ServerSetup/ServerSetupChecklist.d.mts +172 -0
  457. package/Types/ServerSetup/ServerSetupChecklist.d.ts +172 -0
  458. package/Types/ServerSetup/ServerSetupChecklist.js +735 -0
  459. package/Types/ServerSetup/ServerSetupChecklist.mjs +12 -0
  460. package/Types/ServerSetup/ServerTestSend.d.mts +35 -0
  461. package/Types/ServerSetup/ServerTestSend.d.ts +35 -0
  462. package/Types/ServerSetup/ServerTestSend.js +160 -0
  463. package/Types/ServerSetup/ServerTestSend.mjs +10 -0
  464. package/Types/SetupHealth/SetupHealth.d.mts +283 -0
  465. package/Types/SetupHealth/SetupHealth.d.ts +283 -0
  466. package/Types/SetupHealth/SetupHealth.js +1047 -0
  467. package/Types/SetupHealth/SetupHealth.mjs +46 -0
  468. package/Types/StatusPage/StatusPageSummary.d.mts +1 -0
  469. package/Types/StatusPage/StatusPageSummary.d.ts +1 -0
  470. package/Types/StatusPage/StatusPageSummary.js +3 -0
  471. package/Types/StatusPage/UptimeDailyAggregate.d.mts +25 -0
  472. package/Types/StatusPage/UptimeDailyAggregate.d.ts +25 -0
  473. package/Types/Telemetry/LlmCallKind.js +1 -1
  474. package/Types/Telemetry/TelemetryIngestSurface.js +6 -5
  475. package/Types/Telemetry/TelemetryIngestionBudget.d.mts +1 -0
  476. package/Types/Telemetry/TelemetryIngestionBudget.d.ts +1 -0
  477. package/Types/Telemetry/TelemetryIngestionBudget.js +135 -2
  478. package/Types/Telemetry/TelemetryIngestionBudget.mjs +1 -0
  479. package/Types/ToolImport/ToolImportCatalog.d.mts +1 -0
  480. package/Types/ToolImport/ToolImportCatalog.d.ts +1 -0
  481. package/Types/ToolImport/ToolImportCatalog.js +54 -1
  482. package/Types/ToolImport/ToolImportCatalog.mjs +1 -0
  483. package/Types/Translator.d.mts +1 -0
  484. package/Types/Translator.d.ts +1 -0
  485. package/Types/Translator.js +104 -33
  486. package/Types/Translator.mjs +1 -0
  487. package/Types/UsedBy/UsedBy.d.mts +103 -0
  488. package/Types/UsedBy/UsedBy.d.ts +103 -0
  489. package/Types/UsedBy/UsedBy.js +389 -0
  490. package/Types/UsedBy/UsedBy.mjs +20 -0
  491. package/Types/UsedBy/UsedByServerProducts.d.mts +4 -0
  492. package/Types/UsedBy/UsedByServerProducts.d.ts +4 -0
  493. package/Types/UsedBy/UsedByServerProducts.js +48 -0
  494. package/Types/UsedBy/UsedByServerProducts.mjs +3 -0
  495. package/Types/UserNotification/UserNotificationEventType.d.mts +2 -1
  496. package/Types/UserNotification/UserNotificationEventType.d.ts +2 -1
  497. package/Types/UserNotification/UserNotificationEventType.js +7 -0
  498. package/Types/UserSession/SessionEndCause.d.mts +17 -0
  499. package/Types/UserSession/SessionEndCause.d.ts +17 -0
  500. package/Types/UserSession/SessionEndCause.js +79 -0
  501. package/Types/UserSession/SessionEndCause.mjs +6 -0
  502. package/Types/UserSession/SessionSignIn.d.mts +44 -0
  503. package/Types/UserSession/SessionSignIn.d.ts +44 -0
  504. package/Types/UserSession/SessionSignIn.js +174 -0
  505. package/Types/UserSession/SessionSignIn.mjs +17 -0
  506. package/Types/WelcomeChecklist/ProjectGoal.d.mts +16 -0
  507. package/Types/WelcomeChecklist/ProjectGoal.d.ts +16 -0
  508. package/Types/WelcomeChecklist/ProjectGoal.js +94 -0
  509. package/Types/WelcomeChecklist/ProjectGoal.mjs +8 -0
  510. package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +82 -0
  511. package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +82 -0
  512. package/Types/WelcomeChecklist/WelcomeChecklist.js +396 -0
  513. package/Types/WelcomeChecklist/WelcomeChecklist.mjs +23 -0
  514. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +25 -0
  515. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +25 -0
  516. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +139 -0
  517. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.mjs +9 -0
  518. package/Types/WelcomeChecklist/WelcomeChecklistState.d.mts +27 -0
  519. package/Types/WelcomeChecklist/WelcomeChecklistState.d.ts +27 -0
  520. package/Types/WelcomeChecklist/WelcomeChecklistState.js +183 -0
  521. package/Types/WelcomeChecklist/WelcomeChecklistState.mjs +13 -0
  522. package/Types/Workflow/Documentation/AIDocumentation.js +1 -1
  523. package/Types/Workflow/PassedOnFields.js +2 -1
  524. package/Types/Workflow/Templates.js +1 -1
  525. package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +2 -0
  526. package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +2 -0
  527. package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.d.mts +7 -0
  528. package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.d.ts +7 -0
  529. package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.js +40 -0
  530. package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.mjs +3 -0
  531. package/Types/Workspace/WorkspaceChannelMembers.d.mts +1 -0
  532. package/Types/Workspace/WorkspaceChannelMembers.d.ts +1 -0
  533. package/Types/Workspace/WorkspaceChannelMembers.js +9 -2
  534. package/UI/Components/Dropdown/Dropdown.d.mts +1 -0
  535. package/UI/Components/Dropdown/Dropdown.d.ts +1 -0
  536. package/Utils/AI/MeaningMatch.d.mts +36 -0
  537. package/Utils/AI/MeaningMatch.d.ts +36 -0
  538. package/Utils/AI/MeaningMatch.js +535 -0
  539. package/Utils/AI/MeaningMatch.mjs +7 -0
  540. package/Utils/API.js +10 -0
  541. package/Utils/ArchivableValues.js +1 -1
  542. package/Utils/AuditLog/AuditLogValues.js +2 -2
  543. package/Utils/Dashboard/ClockWidgetFormat.d.mts +14 -2
  544. package/Utils/Dashboard/ClockWidgetFormat.d.ts +14 -2
  545. package/Utils/Dashboard/ClockWidgetFormat.js +105 -2
  546. package/Utils/Dashboard/DashboardViewConfigSignature.d.mts +3 -0
  547. package/Utils/Dashboard/DashboardViewConfigSignature.d.ts +3 -0
  548. package/Utils/Dashboard/DashboardViewConfigSignature.js +45 -0
  549. package/Utils/Dashboard/DashboardViewConfigSignature.mjs +3 -0
  550. package/Utils/Dashboard/DashboardWidgetSorts.js +25 -4
  551. package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +37 -0
  552. package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +37 -0
  553. package/Utils/Dashboard/MonitorListWidgetFormat.js +86 -0
  554. package/Utils/Dashboard/MonitorListWidgetFormat.mjs +10 -0
  555. package/Utils/DataSecurity/TextScanner.js +2 -2
  556. package/Utils/DeveloperDocs/AiAssistantExamples.js +4 -4
  557. package/Utils/DeveloperDocs/CliCommands.d.mts +1 -0
  558. package/Utils/DeveloperDocs/CliCommands.d.ts +1 -0
  559. package/Utils/DeveloperDocs/CliCommands.js +2 -1
  560. package/Utils/DeveloperDocs/CliResources.js +2 -1
  561. package/Utils/DeveloperDocs/TerraformSchema.js +3 -1
  562. package/Utils/GuidedSetup/OnCallPolicyRecords.d.mts +31 -0
  563. package/Utils/GuidedSetup/OnCallPolicyRecords.d.ts +31 -0
  564. package/Utils/GuidedSetup/OnCallPolicyRecords.js +89 -0
  565. package/Utils/GuidedSetup/OnCallPolicyRecords.mjs +6 -0
  566. package/Utils/GuidedSetup/StatusPageRecords.d.mts +36 -0
  567. package/Utils/GuidedSetup/StatusPageRecords.d.ts +36 -0
  568. package/Utils/GuidedSetup/StatusPageRecords.js +105 -0
  569. package/Utils/GuidedSetup/StatusPageRecords.mjs +6 -0
  570. package/Utils/GuidedSetup/WebsiteMonitorRecords.d.mts +41 -0
  571. package/Utils/GuidedSetup/WebsiteMonitorRecords.d.ts +41 -0
  572. package/Utils/GuidedSetup/WebsiteMonitorRecords.js +204 -0
  573. package/Utils/GuidedSetup/WebsiteMonitorRecords.mjs +9 -0
  574. package/Utils/Markdown/InlineImageDataUri.d.mts +9 -0
  575. package/Utils/Markdown/InlineImageDataUri.d.ts +9 -0
  576. package/Utils/Markdown/InlineImageDataUri.js +17 -1
  577. package/Utils/Markdown/InlineImageDataUri.mjs +1 -0
  578. package/Utils/Markdown/LinkReferenceDefinitions.d.mts +20 -0
  579. package/Utils/Markdown/LinkReferenceDefinitions.d.ts +20 -0
  580. package/Utils/Markdown/LinkReferenceDefinitions.js +1901 -0
  581. package/Utils/Markdown/LinkReferenceDefinitions.mjs +5 -0
  582. package/Utils/Markdown/MarkdownTableCell.js +2 -1
  583. package/Utils/Markdown/OverLongText.js +523 -5
  584. package/Utils/Markdown/SlowMarkdown.d.mts +14 -0
  585. package/Utils/Markdown/SlowMarkdown.d.ts +14 -0
  586. package/Utils/Markdown/SlowMarkdown.js +595 -11
  587. package/Utils/Markdown/SlowMarkdown.mjs +6 -0
  588. package/Utils/ModelApiName.d.mts +11 -0
  589. package/Utils/ModelApiName.d.ts +11 -0
  590. package/Utils/ModelApiName.js +72 -0
  591. package/Utils/ModelApiName.mjs +5 -0
  592. package/Utils/Monitor/DeviceMacLearningUtil.d.mts +2 -1
  593. package/Utils/Monitor/DeviceMacLearningUtil.d.ts +2 -1
  594. package/Utils/Monitor/DeviceMacLearningUtil.js +26 -0
  595. package/Utils/Monitor/EndpointAttachmentUtil.js +8 -3
  596. package/Utils/Monitor/ExternalStatusPageReading.d.mts +12 -0
  597. package/Utils/Monitor/ExternalStatusPageReading.d.ts +12 -0
  598. package/Utils/Monitor/ExternalStatusPageReading.js +111 -8
  599. package/Utils/Monitor/ExternalStatusPageReading.mjs +5 -0
  600. package/Utils/Monitor/ExternalStatusPageScope.js +17 -1
  601. package/Utils/Monitor/MonitorDestinationUtil.js +2 -1
  602. package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +2 -1
  603. package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +2 -1
  604. package/Utils/Monitor/MonitorOverviewPresentationUtil.js +10 -1
  605. package/Utils/Monitor/MonitorStatusHistoryUtil.d.mts +1 -0
  606. package/Utils/Monitor/MonitorStatusHistoryUtil.d.ts +1 -0
  607. package/Utils/Monitor/MonitorStatusHistoryUtil.js +1 -0
  608. package/Utils/Monitor/MonitorSummaryProbeUtil.d.mts +2 -0
  609. package/Utils/Monitor/MonitorSummaryProbeUtil.d.ts +2 -0
  610. package/Utils/Monitor/MonitorSummaryProbeUtil.js +13 -17
  611. package/Utils/Monitor/MonitorSummarySnapshotUtil.js +5 -3
  612. package/Utils/Monitor/MonitorTemplateLinkRefusal.d.mts +9 -0
  613. package/Utils/Monitor/MonitorTemplateLinkRefusal.d.ts +9 -0
  614. package/Utils/Monitor/MonitorTemplateLinkRefusal.js +45 -0
  615. package/Utils/Monitor/MonitorTemplateLinkRefusal.mjs +6 -0
  616. package/Utils/Monitor/MonitorUptimeSummaryUtil.d.mts +1 -1
  617. package/Utils/Monitor/MonitorUptimeSummaryUtil.d.ts +1 -1
  618. package/Utils/Monitor/MonitorUptimeSummaryUtil.js +1 -0
  619. package/Utils/Monitor/MonitoringOff.d.mts +20 -0
  620. package/Utils/Monitor/MonitoringOff.d.ts +20 -0
  621. package/Utils/Monitor/MonitoringOff.js +81 -0
  622. package/Utils/Monitor/MonitoringOff.mjs +4 -0
  623. package/Utils/Monitor/NotOperationalMonitorQuery.js +9 -7
  624. package/Utils/Monitor/StateChangeLogScreenshots.d.mts +8 -0
  625. package/Utils/Monitor/StateChangeLogScreenshots.d.ts +8 -0
  626. package/Utils/Monitor/StateChangeLogScreenshots.js +116 -0
  627. package/Utils/Monitor/StateChangeLogScreenshots.mjs +3 -0
  628. package/Utils/NetworkDevice/Naming/NamingLookup.d.mts +1 -1
  629. package/Utils/NetworkDevice/Naming/NamingLookup.d.ts +1 -1
  630. package/Utils/NetworkDevice/Naming/NamingLookup.js +14 -4
  631. package/Utils/NetworkDevice/Naming/NamingLookup.mjs +1 -0
  632. package/Utils/OpenStack/OpenStackCheckName.js +2 -1
  633. package/Utils/OpenStack/OpenStackLogScrub.js +1 -1
  634. package/Utils/OpenStack/OpenStackLogs.js +3 -2
  635. package/Utils/OpenStack/OpenStackTraces.js +2 -1
  636. package/Utils/Project/NotificationChannels.js +5 -5
  637. package/Utils/Project/ProjectBalance.js +2 -2
  638. package/Utils/Project/TwilioAccount.js +2 -2
  639. package/Utils/ScheduledMaintenanceStart.d.mts +3 -0
  640. package/Utils/ScheduledMaintenanceStart.d.ts +3 -0
  641. package/Utils/ScheduledMaintenanceStart.js +9 -0
  642. package/Utils/Schema/ModelSchema.js +10 -1
  643. package/Utils/Slo/SloErrorBudgetPolicy.d.mts +2 -1
  644. package/Utils/Slo/SloErrorBudgetPolicy.d.ts +2 -1
  645. package/Utils/Slo/SloErrorBudgetPolicy.js +8 -2
  646. package/Utils/Slo/SloListWidgetFormat.d.mts +7 -1
  647. package/Utils/Slo/SloListWidgetFormat.d.ts +7 -1
  648. package/Utils/Slo/SloListWidgetFormat.js +20 -26
  649. package/Utils/Slo/SloOverviewText.d.mts +6 -1
  650. package/Utils/Slo/SloOverviewText.d.ts +6 -1
  651. package/Utils/Slo/SloOverviewText.js +3 -3
  652. package/Utils/Slo/SloUtil.d.mts +18 -9
  653. package/Utils/Slo/SloUtil.d.ts +18 -9
  654. package/Utils/Slo/SloUtil.js +47 -10
  655. package/Utils/Slo/SloWidgetFormat.d.mts +69 -11
  656. package/Utils/Slo/SloWidgetFormat.d.ts +69 -11
  657. package/Utils/Slo/SloWidgetFormat.js +198 -50
  658. package/Utils/Slo/SloWidgetFormat.mjs +7 -0
  659. package/Utils/StatusPage/FrozenMonitorResources.d.mts +41 -0
  660. package/Utils/StatusPage/FrozenMonitorResources.d.ts +41 -0
  661. package/Utils/StatusPage/FrozenMonitorResources.js +155 -0
  662. package/Utils/StatusPage/FrozenMonitorResources.mjs +4 -0
  663. package/Utils/StatusPage/GroupNestingLayout.d.mts +2 -0
  664. package/Utils/StatusPage/GroupNestingLayout.d.ts +2 -0
  665. package/Utils/StatusPage/GroupNestingLayout.js +12 -0
  666. package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.d.mts +48 -0
  667. package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.d.ts +48 -0
  668. package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.js +181 -0
  669. package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.mjs +2 -0
  670. package/Utils/StatusPage/ResourceExplorer.d.mts +1 -0
  671. package/Utils/StatusPage/ResourceExplorer.d.ts +1 -0
  672. package/Utils/StatusPage/ResourceExplorer.js +11 -1
  673. package/Utils/StatusPage/ResourceUptime.d.mts +6 -1
  674. package/Utils/StatusPage/ResourceUptime.d.ts +6 -1
  675. package/Utils/StatusPage/ResourceUptime.js +31 -6
  676. package/Utils/StatusPage/StatusPageSummaryBuilder.d.mts +1 -0
  677. package/Utils/StatusPage/StatusPageSummaryBuilder.d.ts +1 -0
  678. package/Utils/StatusPage/StatusPageSummaryBuilder.js +12 -1
  679. package/Utils/StatusPage/StatusPageUptimeTimezone.d.mts +41 -0
  680. package/Utils/StatusPage/StatusPageUptimeTimezone.d.ts +41 -0
  681. package/Utils/StatusPage/StatusPageUptimeTimezone.js +114 -0
  682. package/Utils/StatusPage/StatusPageUptimeTimezone.mjs +2 -0
  683. package/Utils/StatusPage/UptimeDailyAggregateUtil.d.mts +3 -1
  684. package/Utils/StatusPage/UptimeDailyAggregateUtil.d.ts +3 -1
  685. package/Utils/StatusPage/UptimeDailyAggregateUtil.js +69 -50
  686. package/Utils/Telemetry/CloudInstanceIdentity.js +12 -7
  687. package/Utils/Uptime/DayUptimeGraphUtil.d.mts +8 -0
  688. package/Utils/Uptime/DayUptimeGraphUtil.d.ts +8 -0
  689. package/Utils/Uptime/DayUptimeGraphUtil.js +41 -6
  690. package/Utils/Uptime/UptimeMaintenanceUtil.d.mts +3 -0
  691. package/Utils/Uptime/UptimeMaintenanceUtil.d.ts +3 -0
  692. package/Utils/Uptime/UptimeMaintenanceUtil.js +51 -1
  693. package/Utils/Uptime/UptimeUtil.d.mts +38 -1
  694. package/Utils/Uptime/UptimeUtil.d.ts +38 -1
  695. package/Utils/Uptime/UptimeUtil.js +270 -75
  696. package/Utils/Uptime/WorstStatusTimeline.d.mts +31 -0
  697. package/Utils/Uptime/WorstStatusTimeline.d.ts +31 -0
  698. package/Utils/Uptime/WorstStatusTimeline.js +190 -0
  699. package/Utils/Uptime/WorstStatusTimeline.mjs +2 -0
  700. package/Utils/ValueFormatter.d.mts +8 -6
  701. package/Utils/ValueFormatter.d.ts +8 -6
  702. package/Utils/ValueFormatter.js +145 -0
  703. package/Utils/Workspace/WorkspaceSummarySetup.d.mts +25 -0
  704. package/Utils/Workspace/WorkspaceSummarySetup.d.ts +25 -0
  705. package/Utils/Workspace/WorkspaceSummarySetup.js +215 -0
  706. package/Utils/Workspace/WorkspaceSummarySetup.mjs +11 -0
  707. package/package.json +1 -1
  708. package/Utils/StatusPage/ArchivedMonitorResources.d.mts +0 -10
  709. package/Utils/StatusPage/ArchivedMonitorResources.d.ts +0 -10
  710. package/Utils/StatusPage/ArchivedMonitorResources.js +0 -33
  711. package/Utils/StatusPage/ArchivedMonitorResources.mjs +0 -2
@@ -0,0 +1,231 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getExplanationWords = exports.readUnexplainedError = exports.getUnexplainedServerErrorMessage = exports.UnexplainedErrorWords = exports.UNEXPLAINED_ERROR_MESSAGES = exports.SERVER_DOWN_MESSAGE = exports.UnexplainedErrorKind = exports.isErrorReference = exports.toErrorReference = exports.ERROR_REFERENCE_LENGTH = exports.ERROR_REFERENCE_FIELD = void 0;
4
+ const Translator_1 = require("../Translator");
5
+ /*
6
+ * An error nobody explained (#6836): the server failed in a way no message
7
+ * describes (a TypeError, a lost database connection), OneUptime could not
8
+ * be reached, or the page itself failed. These used to read "Server Error.
9
+ * Please try again", which says nothing a person can act on.
10
+ *
11
+ * Now each says what happened and what to do next, and a failure on the
12
+ * server carries a reference: the first eight characters of the id the
13
+ * server gives every request, which every log record of that request
14
+ * carries (Common/Server/Utils/StartServer, TelemetryContext), and which the
15
+ * server's last-resort handler names in a log line of its own. A person
16
+ * gives it to their administrator or to support; an administrator searches
17
+ * the logs for it.
18
+ *
19
+ * The English sentences below are what travels: the API answers with the
20
+ * server's (an API client, the CLI and Terraform read it as it is), and
21
+ * API.getFriendlyMessage returns one of the four for every error it cannot
22
+ * otherwise put into words. The Dashboard, Accounts and Admin Dashboard read
23
+ * them back (readUnexplainedError) and draw them with ErrorExplanation, in
24
+ * the reader's language, with Try again, the reference and a copy button.
25
+ * The sentences are keys of every app's locales: this file is a "keys" root
26
+ * of the Dashboard's extractor. React-free and server-safe.
27
+ */
28
+ // The field of an error answer that holds the reference.
29
+ exports.ERROR_REFERENCE_FIELD = "reference";
30
+ // How many characters of the request's id the reference keeps.
31
+ exports.ERROR_REFERENCE_LENGTH = 8;
32
+ /*
33
+ * The reference for a request's id: its first eight hex digits, lower case,
34
+ * or null when the id has fewer (no id at all, outside a request).
35
+ */
36
+ const toErrorReference = (requestId) => {
37
+ let hex = "";
38
+ for (const character of (requestId || "").toLowerCase()) {
39
+ if ((character >= "0" && character <= "9") ||
40
+ (character >= "a" && character <= "f")) {
41
+ hex += character;
42
+ }
43
+ if (hex.length === exports.ERROR_REFERENCE_LENGTH) {
44
+ return hex;
45
+ }
46
+ }
47
+ return null;
48
+ };
49
+ exports.toErrorReference = toErrorReference;
50
+ // Whether a value is a reference: eight lower-case hex digits.
51
+ const isErrorReference = (value) => {
52
+ if (typeof value !== "string" || value.length !== exports.ERROR_REFERENCE_LENGTH) {
53
+ return false;
54
+ }
55
+ for (const character of value) {
56
+ if (!((character >= "0" && character <= "9") ||
57
+ (character >= "a" && character <= "f"))) {
58
+ return false;
59
+ }
60
+ }
61
+ return true;
62
+ };
63
+ exports.isErrorReference = isErrorReference;
64
+ // The kinds of error nobody explained.
65
+ var UnexplainedErrorKind;
66
+ (function (UnexplainedErrorKind) {
67
+ // The server failed, and named a reference for its logs.
68
+ UnexplainedErrorKind["ServerWithReference"] = "ServerWithReference";
69
+ // The server failed and named no reference (an older server, a proxy).
70
+ UnexplainedErrorKind["Server"] = "Server";
71
+ /*
72
+ * The gateway in front of OneUptime answered for it (a 502 or a 504 page):
73
+ * the server is down or restarting - on a new self-hosted install, often
74
+ * a container that keeps stopping (#1741).
75
+ */
76
+ UnexplainedErrorKind["ServerDown"] = "ServerDown";
77
+ // OneUptime could not be reached at all.
78
+ UnexplainedErrorKind["Unreachable"] = "Unreachable";
79
+ // The page failed before or after it asked the server.
80
+ UnexplainedErrorKind["Page"] = "Page";
81
+ })(UnexplainedErrorKind || (exports.UnexplainedErrorKind = UnexplainedErrorKind = {}));
82
+ /*
83
+ * What API.getFriendlyMessage has always said for a gateway's 502 or 504
84
+ * page. Kept word for word - tests, fixtures and nginx's comments quote it -
85
+ * and drawn as ServerDown by ErrorExplanation.
86
+ */
87
+ exports.SERVER_DOWN_MESSAGE = "Error connecting to server. Please try again in few minutes.";
88
+ /*
89
+ * The English sentences that travel, one per kind: each says what happened
90
+ * and what to do next, in one string, for every place that shows a message
91
+ * as text.
92
+ */
93
+ exports.UNEXPLAINED_ERROR_MESSAGES = {
94
+ serverWithReference: (0, Translator_1.translationKey)("The server ran into a problem it could not explain, so this did not finish. Try again, and if it keeps failing, give this reference to your administrator or OneUptime support: {{reference}}."),
95
+ server: (0, Translator_1.translationKey)("The server ran into a problem it could not explain, so this did not finish. Try again in a moment."),
96
+ unreachable: (0, Translator_1.translationKey)("OneUptime could not be reached, so this did not finish. Check your internet connection, then try again."),
97
+ page: (0, Translator_1.translationKey)("This page ran into a problem, so this did not finish. Reload the page, then try again."),
98
+ };
99
+ /*
100
+ * The same, in parts, for ErrorExplanation: what happened (unless the page
101
+ * says what it was doing: "The monitor was not saved."), why, and what to
102
+ * do next - with the reference after it, and, for the person who runs a
103
+ * self-hosted server, where to look.
104
+ */
105
+ exports.UnexplainedErrorWords = {
106
+ didNotFinish: (0, Translator_1.translationKey)("This did not finish."),
107
+ serverWhy: (0, Translator_1.translationKey)("The server ran into a problem it could not explain."),
108
+ serverDownWhy: (0, Translator_1.translationKey)("The OneUptime server did not answer."),
109
+ unreachableWhy: (0, Translator_1.translationKey)("OneUptime could not be reached."),
110
+ pageWhy: (0, Translator_1.translationKey)("This page ran into a problem."),
111
+ serverNextWithReferenceCloud: (0, Translator_1.translationKey)("Try again. If it keeps failing, contact OneUptime support and give them this reference:"),
112
+ serverNextWithReferenceSelfHosted: (0, Translator_1.translationKey)("Try again. If it keeps failing, give this reference to whoever runs your OneUptime server:"),
113
+ serverNext: (0, Translator_1.translationKey)("Try again in a moment."),
114
+ serverDownNext: (0, Translator_1.translationKey)("It may be starting or restarting. Try again in a few minutes."),
115
+ unreachableNext: (0, Translator_1.translationKey)("Check your internet connection, then try again."),
116
+ pageNext: (0, Translator_1.translationKey)("Reload the page, then try again."),
117
+ // For a master admin of a self-hosted server.
118
+ adminWhereToLookWithReference: (0, Translator_1.translationKey)("To see what failed, run npm run doctor -- --logs in the server's oneuptime folder and look for this reference."),
119
+ adminWhereToLook: (0, Translator_1.translationKey)("To see what failed, run npm run doctor -- --logs in the server's oneuptime folder."),
120
+ // For anyone on a self-hosted server: who installed it may not be signed in.
121
+ serverDownWhereToLook: (0, Translator_1.translationKey)("If you run this server, run npm run doctor in its oneuptime folder: it checks every container and shows the logs of any that is not running."),
122
+ openHealth: (0, Translator_1.translationKey)("Open OneUptime Health"),
123
+ createFailed: (0, Translator_1.translationKey)("The {{itemName}} was not created."),
124
+ saveFailed: (0, Translator_1.translationKey)("The {{itemName}} was not saved."),
125
+ loadFailed: (0, Translator_1.translationKey)("The {{itemName}} could not be loaded."),
126
+ pageDidNotLoadTitle: (0, Translator_1.translationKey)("Page Did Not Load"),
127
+ };
128
+ // The server's answer for a failure it could not explain, in English.
129
+ const getUnexplainedServerErrorMessage = (reference) => {
130
+ return (0, exports.isErrorReference)(reference)
131
+ ? (0, Translator_1.fillTemplate)(exports.UNEXPLAINED_ERROR_MESSAGES.serverWithReference, {
132
+ reference: reference,
133
+ })
134
+ : exports.UNEXPLAINED_ERROR_MESSAGES.server;
135
+ };
136
+ exports.getUnexplainedServerErrorMessage = getUnexplainedServerErrorMessage;
137
+ // The words before and after {{reference}} in the server's sentence.
138
+ const REFERENCE_PLACEHOLDER = "{{reference}}";
139
+ const SERVER_WITH_REFERENCE_START = exports.UNEXPLAINED_ERROR_MESSAGES.serverWithReference.substring(0, exports.UNEXPLAINED_ERROR_MESSAGES.serverWithReference.indexOf(REFERENCE_PLACEHOLDER));
140
+ const SERVER_WITH_REFERENCE_END = exports.UNEXPLAINED_ERROR_MESSAGES.serverWithReference.substring(exports.UNEXPLAINED_ERROR_MESSAGES.serverWithReference.indexOf(REFERENCE_PLACEHOLDER) + REFERENCE_PLACEHOLDER.length);
141
+ /*
142
+ * Which unexplained error a message is, read back from its English sentence,
143
+ * or null for any other message - one the server or the page put into
144
+ * words, which is shown as it is.
145
+ */
146
+ const readUnexplainedError = (message) => {
147
+ const text = (message || "").trim();
148
+ if (!text) {
149
+ return null;
150
+ }
151
+ if (text === exports.UNEXPLAINED_ERROR_MESSAGES.server) {
152
+ return { kind: UnexplainedErrorKind.Server, reference: null };
153
+ }
154
+ if (text === exports.SERVER_DOWN_MESSAGE) {
155
+ return { kind: UnexplainedErrorKind.ServerDown, reference: null };
156
+ }
157
+ if (text === exports.UNEXPLAINED_ERROR_MESSAGES.unreachable) {
158
+ return { kind: UnexplainedErrorKind.Unreachable, reference: null };
159
+ }
160
+ if (text === exports.UNEXPLAINED_ERROR_MESSAGES.page) {
161
+ return { kind: UnexplainedErrorKind.Page, reference: null };
162
+ }
163
+ if (text.length ===
164
+ SERVER_WITH_REFERENCE_START.length +
165
+ exports.ERROR_REFERENCE_LENGTH +
166
+ SERVER_WITH_REFERENCE_END.length &&
167
+ text.startsWith(SERVER_WITH_REFERENCE_START) &&
168
+ text.endsWith(SERVER_WITH_REFERENCE_END)) {
169
+ const reference = text.substring(SERVER_WITH_REFERENCE_START.length, SERVER_WITH_REFERENCE_START.length + exports.ERROR_REFERENCE_LENGTH);
170
+ if ((0, exports.isErrorReference)(reference)) {
171
+ return {
172
+ kind: UnexplainedErrorKind.ServerWithReference,
173
+ reference: reference,
174
+ };
175
+ }
176
+ }
177
+ return null;
178
+ };
179
+ exports.readUnexplainedError = readUnexplainedError;
180
+ /*
181
+ * The English words (translation keys) for each kind, for the reader the
182
+ * page has. ErrorExplanation draws them as a block of their own, and
183
+ * ErrorSentence inside a sentence a card writes around them
184
+ * (Common/UI/Utils/ErrorInSentence): one set of words for both.
185
+ */
186
+ const getExplanationWords = (data) => {
187
+ const isSelfHostedAdmin = !data.isCloud && data.isMasterAdmin && !data.isVisitor;
188
+ switch (data.error.kind) {
189
+ case UnexplainedErrorKind.ServerWithReference:
190
+ return {
191
+ why: exports.UnexplainedErrorWords.serverWhy,
192
+ next: data.isVisitor
193
+ ? exports.UnexplainedErrorWords.serverNext
194
+ : data.isCloud
195
+ ? exports.UnexplainedErrorWords.serverNextWithReferenceCloud
196
+ : exports.UnexplainedErrorWords.serverNextWithReferenceSelfHosted,
197
+ whereToLook: isSelfHostedAdmin
198
+ ? exports.UnexplainedErrorWords.adminWhereToLookWithReference
199
+ : null,
200
+ };
201
+ case UnexplainedErrorKind.Server:
202
+ return {
203
+ why: exports.UnexplainedErrorWords.serverWhy,
204
+ next: exports.UnexplainedErrorWords.serverNext,
205
+ whereToLook: isSelfHostedAdmin
206
+ ? exports.UnexplainedErrorWords.adminWhereToLook
207
+ : null,
208
+ };
209
+ case UnexplainedErrorKind.ServerDown:
210
+ return {
211
+ why: exports.UnexplainedErrorWords.serverDownWhy,
212
+ next: exports.UnexplainedErrorWords.serverDownNext,
213
+ whereToLook: data.isCloud || data.isVisitor
214
+ ? null
215
+ : exports.UnexplainedErrorWords.serverDownWhereToLook,
216
+ };
217
+ case UnexplainedErrorKind.Unreachable:
218
+ return {
219
+ why: exports.UnexplainedErrorWords.unreachableWhy,
220
+ next: exports.UnexplainedErrorWords.unreachableNext,
221
+ whereToLook: null,
222
+ };
223
+ default:
224
+ return {
225
+ why: exports.UnexplainedErrorWords.pageWhy,
226
+ next: exports.UnexplainedErrorWords.pageNext,
227
+ whereToLook: null,
228
+ };
229
+ }
230
+ };
231
+ exports.getExplanationWords = getExplanationWords;
@@ -0,0 +1,12 @@
1
+ import commonJsModule from "./UnexplainedError.js";
2
+ export const ERROR_REFERENCE_FIELD = commonJsModule.ERROR_REFERENCE_FIELD;
3
+ export const ERROR_REFERENCE_LENGTH = commonJsModule.ERROR_REFERENCE_LENGTH;
4
+ export const SERVER_DOWN_MESSAGE = commonJsModule.SERVER_DOWN_MESSAGE;
5
+ export const UNEXPLAINED_ERROR_MESSAGES = commonJsModule.UNEXPLAINED_ERROR_MESSAGES;
6
+ export const UnexplainedErrorKind = commonJsModule.UnexplainedErrorKind;
7
+ export const UnexplainedErrorWords = commonJsModule.UnexplainedErrorWords;
8
+ export const getExplanationWords = commonJsModule.getExplanationWords;
9
+ export const getUnexplainedServerErrorMessage = commonJsModule.getUnexplainedServerErrorMessage;
10
+ export const isErrorReference = commonJsModule.isErrorReference;
11
+ export const readUnexplainedError = commonJsModule.readUnexplainedError;
12
+ export const toErrorReference = commonJsModule.toErrorReference;
@@ -1,3 +1,6 @@
1
- export type FormatFileSizeFunction = (bytes: number) => string;
1
+ export interface FileSizeOptions {
2
+ language?: string | undefined;
3
+ }
4
+ export type FormatFileSizeFunction = (bytes: number, options?: FileSizeOptions) => string;
2
5
  export declare const formatFileSize: FormatFileSizeFunction;
3
6
  export default formatFileSize;
@@ -1,3 +1,6 @@
1
- export type FormatFileSizeFunction = (bytes: number) => string;
1
+ export interface FileSizeOptions {
2
+ language?: string | undefined;
3
+ }
4
+ export type FormatFileSizeFunction = (bytes: number, options?: FileSizeOptions) => string;
2
5
  export declare const formatFileSize: FormatFileSizeFunction;
3
6
  export default formatFileSize;
@@ -1,30 +1,31 @@
1
1
  "use strict";
2
- /*
3
- * A FILE'S SIZE AS PEOPLE READ IT: "640 B", "48 KB", "1.5 MB".
4
- *
5
- * Whole kilobytes under a megabyte, one decimal from a megabyte on: the
6
- * precision a person compares two files by, never "47.1 KB" beside
7
- * "240.0 KB". A file under a kilobyte is counted in bytes, so a tiny text
8
- * file never reads as "0.1 KB" - or as "0 KB", as if it were empty.
9
- *
10
- * Every place that lists files says their sizes this way: the Custom Fields
11
- * card, the file picker a form lists them in, a form's review step.
12
- *
13
- * Pure, with no React imports.
14
- */
15
2
  Object.defineProperty(exports, "__esModule", { value: true });
16
3
  exports.formatFileSize = void 0;
17
- const formatFileSize = (bytes) => {
4
+ const DateLanguage_1 = require("../DateLanguage");
5
+ const formatFileSize = (bytes, options) => {
18
6
  if (!Number.isFinite(bytes) || bytes < 0) {
19
7
  return "";
20
8
  }
9
+ const language = options === null || options === void 0 ? void 0 : options.language;
21
10
  if (bytes < 1024) {
22
- return `${Math.floor(bytes)} B`;
11
+ return `${(0, DateLanguage_1.formatReaderFigure)(Math.floor(bytes), { decimals: 0, language })} B`;
23
12
  }
24
13
  if (bytes < 1024 * 1024) {
25
- return `${Math.max(1, Math.round(bytes / 1024))} KB`;
14
+ return `${(0, DateLanguage_1.formatReaderFigure)(Math.max(1, Math.round(bytes / 1024)), {
15
+ decimals: 0,
16
+ language,
17
+ })} KB`;
26
18
  }
27
- return `${Math.round((bytes / (1024 * 1024)) * 10) / 10} MB`;
19
+ /*
20
+ * Rounded to a tenth as it always was, then written with that tenth
21
+ * only when it is not a whole number: "1 MB", "1.5 MB".
22
+ */
23
+ const megabytes = Math.round((bytes / (1024 * 1024)) * 10) / 10;
24
+ return `${(0, DateLanguage_1.formatReaderFigure)(megabytes, {
25
+ decimals: 1,
26
+ dropTrailingZeros: true,
27
+ language,
28
+ })} MB`;
28
29
  };
29
30
  exports.formatFileSize = formatFileSize;
30
31
  exports.default = exports.formatFileSize;
@@ -1,3 +1,4 @@
1
+ export declare const HOST_COLLECTOR_OPAMP_ROUTE: string;
1
2
  export declare const HOST_COLLECTOR_OPAMP_PATH: string;
2
3
  export declare const HOST_COLLECTOR_INSTALL_SCRIPT_PATH: string;
3
4
  export declare const HOST_COLLECTOR_WINDOWS_INSTALL_SCRIPT_PATH: string;
@@ -1,3 +1,4 @@
1
+ export declare const HOST_COLLECTOR_OPAMP_ROUTE: string;
1
2
  export declare const HOST_COLLECTOR_OPAMP_PATH: string;
2
3
  export declare const HOST_COLLECTOR_INSTALL_SCRIPT_PATH: string;
3
4
  export declare const HOST_COLLECTOR_WINDOWS_INSTALL_SCRIPT_PATH: string;
@@ -12,26 +12,42 @@
12
12
  * OneUptime sends it over OpAMP (the OpenTelemetry Agent Management
13
13
  * Protocol).
14
14
  *
15
- * The supervisor phones home to OneUptime (POST <OneUptime URL>/opamp/v1,
16
- * with the project's telemetry ingestion key in the x-oneuptime-token
17
- * header), and OneUptime answers with the config the host should run: the
18
- * first Collector Config of the project that applies to it, or OneUptime's
19
- * default for its operating system. The host reports which config it runs,
20
- * and whether it applied; a config that fails on a host is rolled back there
21
- * to the last one that worked.
15
+ * The supervisor phones home to OneUptime (POST
16
+ * <OneUptime URL>/telemetry/opamp/v1, with the project's telemetry ingestion
17
+ * key in the x-oneuptime-token header), and OneUptime answers with the
18
+ * config the host should run: the first Collector Config of the project
19
+ * that applies to it, or OneUptime's default for its operating system. The
20
+ * host reports which config it runs, and whether it applied; a config that
21
+ * fails on a host is rolled back there to the last one that worked.
22
22
  *
23
23
  * Plain values on purpose, so the Dashboard, the server and the tests read
24
24
  * the same ones.
25
25
  */
26
26
  Object.defineProperty(exports, "__esModule", { value: true });
27
- exports.HOST_COLLECTOR_ERROR_MAX_LENGTH = exports.HOST_COLLECTOR_CONFIG_MAX_BYTES = exports.HOST_COLLECTOR_CONFIG_CHANGED_NOTE = exports.HOST_COLLECTOR_CONFIG_CREATED_NOTE = exports.HostCollectorConfigStatus = exports.HOST_COLLECTOR_OS_NAMES = exports.HOST_COLLECTOR_INSTALLABLE_OS_TYPES = exports.HostCollectorOsType = exports.HOST_COLLECTOR_LABEL_ATTRIBUTE_PREFIX = exports.HOST_COLLECTOR_EXPORTER_ENDPOINT = exports.HOST_COLLECTOR_INGESTION_KEY_REFERENCE = exports.HOST_COLLECTOR_URL_REFERENCE = exports.HOST_COLLECTOR_INGESTION_KEY_ENV = exports.HOST_COLLECTOR_URL_ENV = exports.HOST_COLLECTOR_MACOS_LOG_FILE = exports.HOST_COLLECTOR_MACOS_SERVICE_LABEL = exports.HOST_COLLECTOR_SERVICE_NAME = exports.HOST_COLLECTOR_PINNED_VERSION = exports.HOST_COLLECTOR_WINDOWS_INSTALL_SCRIPT_PATH = exports.HOST_COLLECTOR_INSTALL_SCRIPT_PATH = exports.HOST_COLLECTOR_OPAMP_PATH = void 0;
27
+ exports.HOST_COLLECTOR_ERROR_MAX_LENGTH = exports.HOST_COLLECTOR_CONFIG_MAX_BYTES = exports.HOST_COLLECTOR_CONFIG_CHANGED_NOTE = exports.HOST_COLLECTOR_CONFIG_CREATED_NOTE = exports.HostCollectorConfigStatus = exports.HOST_COLLECTOR_OS_NAMES = exports.HOST_COLLECTOR_INSTALLABLE_OS_TYPES = exports.HostCollectorOsType = exports.HOST_COLLECTOR_LABEL_ATTRIBUTE_PREFIX = exports.HOST_COLLECTOR_EXPORTER_ENDPOINT = exports.HOST_COLLECTOR_INGESTION_KEY_REFERENCE = exports.HOST_COLLECTOR_URL_REFERENCE = exports.HOST_COLLECTOR_INGESTION_KEY_ENV = exports.HOST_COLLECTOR_URL_ENV = exports.HOST_COLLECTOR_MACOS_LOG_FILE = exports.HOST_COLLECTOR_MACOS_SERVICE_LABEL = exports.HOST_COLLECTOR_SERVICE_NAME = exports.HOST_COLLECTOR_PINNED_VERSION = exports.HOST_COLLECTOR_WINDOWS_INSTALL_SCRIPT_PATH = exports.HOST_COLLECTOR_INSTALL_SCRIPT_PATH = exports.HOST_COLLECTOR_OPAMP_PATH = exports.HOST_COLLECTOR_OPAMP_ROUTE = void 0;
28
28
  exports.getHostCollectorOsType = getHostCollectorOsType;
29
29
  exports.isHostCollectorOsType = isHostCollectorOsType;
30
30
  exports.isHostCollectorConfigStatus = isHostCollectorConfigStatus;
31
31
  exports.getHostCollectorConfigRestoredNote = getHostCollectorConfigRestoredNote;
32
32
  exports.getHostCollectorConfigRestoredVersion = getHostCollectorConfigRestoredVersion;
33
- // Where the supervisor posts its AgentToServer messages (OpAMP over HTTP).
34
- exports.HOST_COLLECTOR_OPAMP_PATH = "/opamp/v1";
33
+ /*
34
+ * Where the supervisor posts its AgentToServer messages (OpAMP over HTTP).
35
+ *
36
+ * The route as the Telemetry router declares it. It is mounted under every
37
+ * telemetry prefix, "/telemetry" and "/", so the App serves both addresses.
38
+ */
39
+ exports.HOST_COLLECTOR_OPAMP_ROUTE = "/opamp/v1";
40
+ /*
41
+ * The address the installers point the supervisor at: the route under
42
+ * /telemetry, which every OneUptime ingress sends to the App, as the session
43
+ * replay recorder and the Kubernetes cost agent call theirs. The bare route
44
+ * reaches the App only where the ingress has a location for it; on
45
+ * oneuptime.com, where everything else at the root is the marketing site,
46
+ * the installers' first /opamp/v1 answered 404, and the hosts never got a
47
+ * config. Those hosts still ask at /opamp/v1, which the ingress now sends to
48
+ * the App too (Nginx/default.conf.template).
49
+ */
50
+ exports.HOST_COLLECTOR_OPAMP_PATH = `/telemetry${exports.HOST_COLLECTOR_OPAMP_ROUTE}`;
35
51
  /*
36
52
  * Where every OneUptime serves the installers (the Docs feature set's static
37
53
  * folder), so a self-hosted OneUptime hands out the installer of its own
@@ -12,6 +12,7 @@ export const HOST_COLLECTOR_LABEL_ATTRIBUTE_PREFIX = commonJsModule.HOST_COLLECT
12
12
  export const HOST_COLLECTOR_MACOS_LOG_FILE = commonJsModule.HOST_COLLECTOR_MACOS_LOG_FILE;
13
13
  export const HOST_COLLECTOR_MACOS_SERVICE_LABEL = commonJsModule.HOST_COLLECTOR_MACOS_SERVICE_LABEL;
14
14
  export const HOST_COLLECTOR_OPAMP_PATH = commonJsModule.HOST_COLLECTOR_OPAMP_PATH;
15
+ export const HOST_COLLECTOR_OPAMP_ROUTE = commonJsModule.HOST_COLLECTOR_OPAMP_ROUTE;
15
16
  export const HOST_COLLECTOR_OS_NAMES = commonJsModule.HOST_COLLECTOR_OS_NAMES;
16
17
  export const HOST_COLLECTOR_PINNED_VERSION = commonJsModule.HOST_COLLECTOR_PINNED_VERSION;
17
18
  export const HOST_COLLECTOR_SERVICE_NAME = commonJsModule.HOST_COLLECTOR_SERVICE_NAME;
@@ -241,6 +241,7 @@ declare enum IconProp {
241
241
  MagnifyingGlassPlus = "MagnifyingGlassPlus",
242
242
  Map = "Map",
243
243
  MapPin = "MapPin",
244
+ Pin = "Pin",
244
245
  Megaphone = "Megaphone",
245
246
  Microphone = "Microphone",
246
247
  Moon = "Moon",
@@ -339,6 +340,8 @@ declare enum IconProp {
339
340
  IoT = "IoT",
340
341
  Ceph = "Ceph",
341
342
  StorageArray = "StorageArray",
342
- Gauge = "Gauge"
343
+ Gauge = "Gauge",
344
+ SignIn = "SignIn",
345
+ SignOut = "SignOut"
343
346
  }
344
347
  export default IconProp;
@@ -241,6 +241,7 @@ declare enum IconProp {
241
241
  MagnifyingGlassPlus = "MagnifyingGlassPlus",
242
242
  Map = "Map",
243
243
  MapPin = "MapPin",
244
+ Pin = "Pin",
244
245
  Megaphone = "Megaphone",
245
246
  Microphone = "Microphone",
246
247
  Moon = "Moon",
@@ -339,6 +340,8 @@ declare enum IconProp {
339
340
  IoT = "IoT",
340
341
  Ceph = "Ceph",
341
342
  StorageArray = "StorageArray",
342
- Gauge = "Gauge"
343
+ Gauge = "Gauge",
344
+ SignIn = "SignIn",
345
+ SignOut = "SignOut"
343
346
  }
344
347
  export default IconProp;
@@ -251,6 +251,8 @@ var IconProp;
251
251
  IconProp["MagnifyingGlassPlus"] = "MagnifyingGlassPlus";
252
252
  IconProp["Map"] = "Map";
253
253
  IconProp["MapPin"] = "MapPin";
254
+ // A drawing pin: something kept in reach, such as a product pinned to the nav bar.
255
+ IconProp["Pin"] = "Pin";
254
256
  IconProp["Megaphone"] = "Megaphone";
255
257
  IconProp["Microphone"] = "Microphone";
256
258
  IconProp["Moon"] = "Moon";
@@ -350,5 +352,9 @@ var IconProp;
350
352
  IconProp["Ceph"] = "Ceph";
351
353
  IconProp["StorageArray"] = "StorageArray";
352
354
  IconProp["Gauge"] = "Gauge";
355
+ // An arrow going in through a door: signing in (the audit log's Sign In).
356
+ IconProp["SignIn"] = "SignIn";
357
+ // An arrow coming out through a door: signing out.
358
+ IconProp["SignOut"] = "SignOut";
353
359
  })(IconProp || (IconProp = {}));
354
360
  exports.default = IconProp;
@@ -0,0 +1,122 @@
1
+ import { ServerSetupChecklistAnswer } from "../ServerSetup/ServerSetupChecklist.mjs";
2
+ export declare enum InstallationHealthLevel {
3
+ Fix = "fix",
4
+ Warn = "warn"
5
+ }
6
+ export declare enum InstallationHealthFindingId {
7
+ Postgres = "postgres",
8
+ Clickhouse = "clickhouse",
9
+ Valkey = "valkey",
10
+ MigrationFailed = "migration-failed",
11
+ MigrationsPending = "migrations-pending",
12
+ ClickhouseDisk = "clickhouse-disk",
13
+ QueueBacklog = "queue-backlog",
14
+ UpdateAvailable = "update-available"
15
+ }
16
+ export declare enum InstallationHealthCheck {
17
+ Postgres = "postgres",
18
+ Clickhouse = "clickhouse",
19
+ Valkey = "valkey",
20
+ Migrations = "migrations",
21
+ ClickhouseDisk = "clickhouse-disk",
22
+ Queues = "queues",
23
+ Version = "version",
24
+ ServerSetup = "server-setup"
25
+ }
26
+ export declare const INSTALLATION_HEALTH_ADMIN_PATHS: {
27
+ clickhouse: string;
28
+ migrations: string;
29
+ setup: string;
30
+ };
31
+ export declare const INSTALLATION_HEALTH_GUIDES: {
32
+ upgrading: string;
33
+ };
34
+ export declare const CLICKHOUSE_DISK_FIX_FREE_PERCENT: number;
35
+ export declare const CLICKHOUSE_DISK_WARN_FREE_PERCENT: number;
36
+ export declare const QUEUE_BACKLOG_LIMIT: number;
37
+ export declare const INSTALLATION_HEALTH_WORDS: Readonly<Record<InstallationHealthFindingId, {
38
+ title: string;
39
+ words: string;
40
+ fix: string;
41
+ }>>;
42
+ export declare const INSTALLATION_HEALTH_SETUP_FIX: string;
43
+ export declare const INSTALLATION_HEALTH_ALL_RIGHT: string;
44
+ export interface InstallationHealthFinding {
45
+ id: string;
46
+ level: InstallationHealthLevel;
47
+ title: string;
48
+ words: string;
49
+ fix: string | null;
50
+ values: Record<string, string>;
51
+ adminPath: string | null;
52
+ guidePath: string | null;
53
+ sentence: string;
54
+ fixSentence: string | null;
55
+ }
56
+ export interface InstallationHealthFacts {
57
+ isPostgresConnected: boolean;
58
+ isClickhouseConnected: boolean;
59
+ isValkeyConnected: boolean;
60
+ migrations: {
61
+ pending: number;
62
+ failure: {
63
+ name: string;
64
+ reason: string;
65
+ at: string | null;
66
+ } | null;
67
+ } | null;
68
+ clickhouseDisks: Array<{
69
+ name: string;
70
+ freeInBytes: number;
71
+ totalInBytes: number;
72
+ }>;
73
+ queues: Array<{
74
+ name: string;
75
+ waiting: number;
76
+ }>;
77
+ version: {
78
+ current: string;
79
+ latest: string | null;
80
+ isUpdateAvailable: boolean;
81
+ isUpdateCheckDisabled: boolean;
82
+ };
83
+ serverSetup: ServerSetupChecklistAnswer | null;
84
+ }
85
+ export interface InstallationHealthAnswer {
86
+ findings: Array<InstallationHealthFinding>;
87
+ checked: Array<InstallationHealthCheck>;
88
+ version: InstallationHealthFacts["version"];
89
+ addressProof: string | null;
90
+ checkedAt: string;
91
+ }
92
+ export default class InstallationHealthUtil {
93
+ static formatBytes(bytes: number): string;
94
+ static formatTime(value: string | null): string;
95
+ static finding(data: {
96
+ id: string;
97
+ level: InstallationHealthLevel;
98
+ title: string;
99
+ words: string;
100
+ fix: string | null;
101
+ values?: Record<string, string> | undefined;
102
+ adminPath?: string | null | undefined;
103
+ guidePath?: string | null | undefined;
104
+ }): InstallationHealthFinding;
105
+ private static ofCatalogue;
106
+ static datastoreFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
107
+ static migrationFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
108
+ static diskFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
109
+ static queueFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
110
+ static versionFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
111
+ static setupFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
112
+ private static setupValues;
113
+ static evaluate(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
114
+ static worstFirst(findings: Array<InstallationHealthFinding>): Array<InstallationHealthFinding>;
115
+ static getAnswer(data: {
116
+ facts: InstallationHealthFacts;
117
+ addressProof: string | null;
118
+ checkedAt: string;
119
+ }): InstallationHealthAnswer;
120
+ static parseAnswer(value: unknown): InstallationHealthAnswer | null;
121
+ private static readPath;
122
+ }