@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,11 @@
1
+ export interface ModelNames {
2
+ tableName?: string | null | undefined;
3
+ singularName?: string | null | undefined;
4
+ pluralName?: string | null | undefined;
5
+ apiSingularName?: string | null | undefined;
6
+ apiPluralName?: string | null | undefined;
7
+ }
8
+ export declare function getApiSingularName(model: ModelNames): string;
9
+ export declare function getApiPluralName(model: ModelNames): string;
10
+ export declare const KEPT_SINGULAR_NAMES: ReadonlyArray<string>;
11
+ export declare function getScreenSingularName(apiSingularName: string): string;
@@ -0,0 +1,11 @@
1
+ export interface ModelNames {
2
+ tableName?: string | null | undefined;
3
+ singularName?: string | null | undefined;
4
+ pluralName?: string | null | undefined;
5
+ apiSingularName?: string | null | undefined;
6
+ apiPluralName?: string | null | undefined;
7
+ }
8
+ export declare function getApiSingularName(model: ModelNames): string;
9
+ export declare function getApiPluralName(model: ModelNames): string;
10
+ export declare const KEPT_SINGULAR_NAMES: ReadonlyArray<string>;
11
+ export declare function getScreenSingularName(apiSingularName: string): string;
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ /*
3
+ * THE NAME A MODEL KEEPS OUTSIDE ITS SCREENS.
4
+ *
5
+ * A model's singularName and pluralName are words people read: list titles,
6
+ * empty states, buttons, the API reference. They are also, without anyone
7
+ * deciding it, names other things call or store the model by:
8
+ *
9
+ * - the OpenAPI spec tags every endpoint with the singular name, and the
10
+ * Terraform provider names its resource after the tag
11
+ * (oneuptime_on_call_policy_schedule);
12
+ * - the CLI names its command after it (oneuptime on-call-policy-schedule);
13
+ * - the MCP server names its tools after both (list_on_call_duty_policies);
14
+ * - the audit log stores the singular name as each entry's resource type.
15
+ *
16
+ * So renaming a thing on screen (#6817: one name per thing) must not rename
17
+ * it there: a Terraform configuration, a script, an agent's allowed tools
18
+ * and last year's audit entries all keep working. A renamed model says what
19
+ * it was called in @TableMetadata's apiSingularName and apiPluralName (both,
20
+ * when its singular name changed: ModelApiNames.test.ts), and everything
21
+ * above reads its names through these two functions.
22
+ */
23
+ Object.defineProperty(exports, "__esModule", { value: true });
24
+ exports.KEPT_SINGULAR_NAMES = void 0;
25
+ exports.getApiSingularName = getApiSingularName;
26
+ exports.getApiPluralName = getApiPluralName;
27
+ exports.getScreenSingularName = getScreenSingularName;
28
+ // The singular name the API, Terraform, the CLI, MCP and the audit log use.
29
+ function getApiSingularName(model) {
30
+ return model.apiSingularName || model.singularName || model.tableName || "";
31
+ }
32
+ /*
33
+ * The plural name the MCP server's list and count tools use. A model with no
34
+ * plural gets its singular name with an "s", as the tools always gave it.
35
+ */
36
+ function getApiPluralName(model) {
37
+ return (model.apiPluralName || model.pluralName || `${getApiSingularName(model)}s`);
38
+ }
39
+ /*
40
+ * What each kept singular name is called on screen now. The audit log stores
41
+ * an entry's resource type by the kept name, and its pages show the type
42
+ * through getScreenSingularName, so an entry about an Ingestion Key says
43
+ * Ingestion Key, as last year's entries about it now do too. Plain words, so
44
+ * the Dashboard reads them without loading the models; ModelApiNames.test.ts
45
+ * holds them to every model's own names.
46
+ */
47
+ const SCREEN_SINGULAR_NAMES = {
48
+ // #6817 part 1: On-Call.
49
+ "On-Call Policy Schedule": "On-Call Schedule",
50
+ "User's On-Call Duty Escalation Rule": "Escalation Rule User",
51
+ "Team On-Call Duty Escalation Rule": "Escalation Rule Team",
52
+ "Schedule's On-Call Duty Escalation Rule": "Escalation Rule Schedule",
53
+ "On-Call Duty Execution Log": "On-Call Policy Execution Log",
54
+ "On-Call Duty Execution Log Timeline": "On-Call Policy Execution Log Timeline",
55
+ "On Call Duty Policy Feed": "On-Call Policy Feed",
56
+ "On Call Time Log": "On-Call Time Log",
57
+ "OnCallDutyPolicy User Owner": "On-Call Policy User Owner",
58
+ "OnCallDutyPolicy Team Owner": "On-Call Policy Team Owner",
59
+ // #6817 part 2: Ingestion Keys.
60
+ "Telemetry Ingestion Key": "Ingestion Key",
61
+ "Telemetry Ingestion Key Refusal": "Ingestion Key Refusal",
62
+ // #6817 part 3: maintenance events.
63
+ "Scheduled Maintenance Event": "Maintenance Event",
64
+ "Scheduled Event Internal Note": "Maintenance Event Internal Note",
65
+ "Scheduled Event Public Note": "Maintenance Event Public Note",
66
+ };
67
+ // The kept singular names this table knows, for its test.
68
+ exports.KEPT_SINGULAR_NAMES = Object.keys(SCREEN_SINGULAR_NAMES);
69
+ // What a singular name the API keeps is called on screen; any other is itself.
70
+ function getScreenSingularName(apiSingularName) {
71
+ return SCREEN_SINGULAR_NAMES[apiSingularName] || apiSingularName;
72
+ }
@@ -0,0 +1,5 @@
1
+ import commonJsModule from "./ModelApiName.js";
2
+ export const KEPT_SINGULAR_NAMES = commonJsModule.KEPT_SINGULAR_NAMES;
3
+ export const getApiPluralName = commonJsModule.getApiPluralName;
4
+ export const getApiSingularName = commonJsModule.getApiSingularName;
5
+ export const getScreenSingularName = commonJsModule.getScreenSingularName;
@@ -29,8 +29,9 @@ export declare function siteKeyOf(siteId: string | null | undefined): string;
29
29
  export default class DeviceMacLearningUtil {
30
30
  static planMacLearning(data: {
31
31
  ipBindings: Array<MacLearningIpBinding>;
32
- devices: Array<MacLearningCandidateDevice>;
32
+ devices: Array<MacObservationCandidateDevice>;
33
33
  observingSiteId?: string | null | undefined;
34
+ now?: number | undefined;
34
35
  }): Array<MacLearningPlanEntry>;
35
36
  static planMacObservations(data: {
36
37
  ipBindings: Array<MacLearningIpBinding>;
@@ -29,8 +29,9 @@ export declare function siteKeyOf(siteId: string | null | undefined): string;
29
29
  export default class DeviceMacLearningUtil {
30
30
  static planMacLearning(data: {
31
31
  ipBindings: Array<MacLearningIpBinding>;
32
- devices: Array<MacLearningCandidateDevice>;
32
+ devices: Array<MacObservationCandidateDevice>;
33
33
  observingSiteId?: string | null | undefined;
34
+ now?: number | undefined;
34
35
  }): Array<MacLearningPlanEntry>;
35
36
  static planMacObservations(data: {
36
37
  ipBindings: Array<MacLearningIpBinding>;
@@ -17,6 +17,17 @@ exports.MAC_OBSERVATION_REFRESH_INTERVAL_IN_MS = 60 * 60 * 1000;
17
17
  function siteKeyOf(siteId) {
18
18
  return (siteId || "").trim();
19
19
  }
20
+ /*
21
+ * Whether the device holds a reading taken after `now`, when this table was
22
+ * read: by a newer poll of a router, processed before this one - a retried
23
+ * job, or one that waited longer in the queue than the poll after it
24
+ * (OneUptime issue #7389). The newer reading stands over an older table.
25
+ */
26
+ function isReadAfter(device, now) {
27
+ return (now !== undefined &&
28
+ device.observedAt !== undefined &&
29
+ device.observedAt > now);
30
+ }
20
31
  class DeviceMacLearningUtil {
21
32
  /*
22
33
  * Which devices get which MAC. The rules, every one of them a refusal:
@@ -37,6 +48,10 @@ class DeviceMacLearningUtil {
37
48
  * - Only an address the ARP table binds to exactly one MAC. Proxy ARP
38
49
  * and stale duplicates put two MACs behind one address; neither can
39
50
  * be trusted.
51
+ * - A learned MAC is not corrected by a table read before the device's
52
+ * recorded reading (`now`, when given): that reading is newer evidence
53
+ * (see isReadAfter). A first learn is not about time: an empty column
54
+ * takes the first trusted answer.
40
55
  *
41
56
  * Output is sorted by device id, so a given input always plans the same
42
57
  * writes in the same order.
@@ -61,6 +76,10 @@ class DeviceMacLearningUtil {
61
76
  if (device.isMacAddressLearned !== true || storedMac === learnedMac) {
62
77
  continue;
63
78
  }
79
+ // A newer reading than this table stands (issue #7389).
80
+ if (isReadAfter(device, data.now)) {
81
+ continue;
82
+ }
64
83
  plan.push({
65
84
  deviceId: device.id,
66
85
  macAddress: learnedMac,
@@ -94,12 +113,19 @@ class DeviceMacLearningUtil {
94
113
  * nothing disagrees - unless an earlier reading disagreed, which is now
95
114
  * replaced so the disagreement goes.
96
115
  *
116
+ * And never over a reading taken after this table was read (`now`): an
117
+ * older poll of a router, processed after a newer one (OneUptime issue
118
+ * #7389), would put its older answer back. See isReadAfter.
119
+ *
97
120
  * Sorted by device id, like the learning plan.
98
121
  */
99
122
  static planMacObservations(data) {
100
123
  const plan = [];
101
124
  for (const binding of DeviceMacLearningUtil.getTrustedBindings(data)) {
102
125
  const device = binding.device;
126
+ if (isReadAfter(device, data.now)) {
127
+ continue;
128
+ }
103
129
  const mac = binding.macAddress;
104
130
  const recordedMac = (0, EndpointAttachmentUtil_1.normalizeMac)(device.observedMacAddress);
105
131
  const storedMac = (0, EndpointAttachmentUtil_1.normalizeMac)(device.macAddress);
@@ -312,9 +312,14 @@ class EndpointAttachmentUtil {
312
312
  * True when applying `decision` to `existing` would change nothing a
313
313
  * reader can observe, and lastSeenAt is fresh enough that skipping the
314
314
  * refresh is safe. Deliberately conservative — any doubt (a row that
315
- * still needs the firstSeenAt backfill, a row whose lastSeenAt sits in
316
- * the future because of clock skew, a row we have never seen a
315
+ * still needs the firstSeenAt backfill, a row we have never seen a
317
316
  * timestamp for) falls through to a real write.
317
+ *
318
+ * A sighting older than the row's lastSeenAt refreshes nothing either.
319
+ * That is an older poll processed after a newer one (OneUptime issue
320
+ * #7389), or a row stamped by a clock a little ahead. The write never
321
+ * moves lastSeenAt backwards (NetworkEndpointService keeps the later of
322
+ * the two), so writing it would change nothing.
318
323
  */
319
324
  static isUnchangedSighting(existing, decision, incomingDeviceId, context) {
320
325
  var _a;
@@ -324,7 +329,7 @@ class EndpointAttachmentUtil {
324
329
  }
325
330
  const refreshMs = (_a = context.lastSeenRefreshMs) !== null && _a !== void 0 ? _a : exports.ENDPOINT_LAST_SEEN_REFRESH_MS;
326
331
  const ageMs = context.now.getTime() - new Date(existing.lastSeenAt).getTime();
327
- if (ageMs < 0 || ageMs >= refreshMs) {
332
+ if (ageMs >= refreshMs) {
328
333
  return false;
329
334
  }
330
335
  if (decision.setIpAddress &&
@@ -3,12 +3,22 @@ export declare const EXTERNAL_STATUS_PAGE_MAX_COMPONENTS: number;
3
3
  export declare const EXTERNAL_STATUS_PAGE_MAX_INCIDENTS: number;
4
4
  export declare const EXTERNAL_STATUS_PAGE_UNNAMED_INCIDENT: string;
5
5
  export declare const EXTERNAL_STATUS_PAGE_ONEUPTIME_STATUS_NOT_SHOWN: string;
6
+ export declare const EXTERNAL_STATUS_PAGE_ONEUPTIME_NOT_MONITORED: string;
7
+ export declare const EXTERNAL_STATUS_PAGE_ONEUPTIME_UNDER_MAINTENANCE: string;
8
+ export declare const EXTERNAL_STATUS_PAGE_ONEUPTIME_UNDER_MAINTENANCE_OF: string;
9
+ export declare const EXTERNAL_STATUS_PAGE_ONEUPTIME_PRIVATE_MESSAGE: string;
10
+ export declare const EXTERNAL_STATUS_PAGE_ONEUPTIME_IP_NOT_ALLOWED_MESSAGE: string;
11
+ export interface ExternalStatusPageOneUptimeNote {
12
+ template: string;
13
+ values: Record<string, string>;
14
+ }
6
15
  export interface ExternalStatusPageComponent {
7
16
  name: string;
8
17
  status: string;
9
18
  description?: string | undefined;
10
19
  groupName?: string | undefined;
11
20
  key?: string | undefined;
21
+ isMonitored?: boolean | undefined;
12
22
  }
13
23
  export interface ExternalStatusPageIncident {
14
24
  name: string;
@@ -32,4 +42,6 @@ export default class ExternalStatusPageReading {
32
42
  static readAtlassianIncidents(json: unknown): Array<ExternalStatusPageIncident>;
33
43
  static readIncidentIo(json: unknown): ExternalStatusPageContents | null;
34
44
  static readOneUptimeSummary(summary: StatusPageSummary): ExternalStatusPageContents;
45
+ static readOneUptimeNote(description: string | undefined): ExternalStatusPageOneUptimeNote | null;
46
+ static readOneUptimeFailureCause(failureCause: string | undefined): string | null;
35
47
  }
@@ -3,12 +3,22 @@ export declare const EXTERNAL_STATUS_PAGE_MAX_COMPONENTS: number;
3
3
  export declare const EXTERNAL_STATUS_PAGE_MAX_INCIDENTS: number;
4
4
  export declare const EXTERNAL_STATUS_PAGE_UNNAMED_INCIDENT: string;
5
5
  export declare const EXTERNAL_STATUS_PAGE_ONEUPTIME_STATUS_NOT_SHOWN: string;
6
+ export declare const EXTERNAL_STATUS_PAGE_ONEUPTIME_NOT_MONITORED: string;
7
+ export declare const EXTERNAL_STATUS_PAGE_ONEUPTIME_UNDER_MAINTENANCE: string;
8
+ export declare const EXTERNAL_STATUS_PAGE_ONEUPTIME_UNDER_MAINTENANCE_OF: string;
9
+ export declare const EXTERNAL_STATUS_PAGE_ONEUPTIME_PRIVATE_MESSAGE: string;
10
+ export declare const EXTERNAL_STATUS_PAGE_ONEUPTIME_IP_NOT_ALLOWED_MESSAGE: string;
11
+ export interface ExternalStatusPageOneUptimeNote {
12
+ template: string;
13
+ values: Record<string, string>;
14
+ }
6
15
  export interface ExternalStatusPageComponent {
7
16
  name: string;
8
17
  status: string;
9
18
  description?: string | undefined;
10
19
  groupName?: string | undefined;
11
20
  key?: string | undefined;
21
+ isMonitored?: boolean | undefined;
12
22
  }
13
23
  export interface ExternalStatusPageIncident {
14
24
  name: string;
@@ -32,4 +42,6 @@ export default class ExternalStatusPageReading {
32
42
  static readAtlassianIncidents(json: unknown): Array<ExternalStatusPageIncident>;
33
43
  static readIncidentIo(json: unknown): ExternalStatusPageContents | null;
34
44
  static readOneUptimeSummary(summary: StatusPageSummary): ExternalStatusPageContents;
45
+ static readOneUptimeNote(description: string | undefined): ExternalStatusPageOneUptimeNote | null;
46
+ static readOneUptimeFailureCause(failureCause: string | undefined): string | null;
35
47
  }
@@ -3,9 +3,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_STATUS_NOT_SHOWN = exports.EXTERNAL_STATUS_PAGE_UNNAMED_INCIDENT = exports.EXTERNAL_STATUS_PAGE_MAX_INCIDENTS = exports.EXTERNAL_STATUS_PAGE_MAX_COMPONENTS = void 0;
6
+ exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_IP_NOT_ALLOWED_MESSAGE = exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_PRIVATE_MESSAGE = exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_UNDER_MAINTENANCE_OF = exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_UNDER_MAINTENANCE = exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_NOT_MONITORED = exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_STATUS_NOT_SHOWN = exports.EXTERNAL_STATUS_PAGE_UNNAMED_INCIDENT = exports.EXTERNAL_STATUS_PAGE_MAX_INCIDENTS = exports.EXTERNAL_STATUS_PAGE_MAX_COMPONENTS = void 0;
7
7
  const ExternalStatusPageComponentStatusUtil_1 = __importDefault(require("./ExternalStatusPageComponentStatusUtil"));
8
8
  const TrailingRuns_1 = require("../TrailingRuns");
9
+ const Translator_1 = require("../../Types/Translator");
9
10
  /*
10
11
  * WHAT A STATUS PAGE SAYS, READ FROM ITS ANSWERS.
11
12
  *
@@ -34,8 +35,61 @@ exports.EXTERNAL_STATUS_PAGE_MAX_COMPONENTS = 5000;
34
35
  exports.EXTERNAL_STATUS_PAGE_MAX_INCIDENTS = 1000;
35
36
  // The name an incident goes by when the page gives it none.
36
37
  exports.EXTERNAL_STATUS_PAGE_UNNAMED_INCIDENT = "Unknown incident";
38
+ /*
39
+ * ONEUPTIME'S OWN NOTES ON A ONEUPTIME PAGE'S COMPONENT.
40
+ *
41
+ * A OneUptime page's resource is described by its status's name, which is
42
+ * the page's own word - unless the page gives it no status, when the probe
43
+ * writes a note of its own as the component's description. Each is a
44
+ * translation key (the Dashboard's npm run i18n:extract reads this
45
+ * directory), so the monitor's summary draws it in the reader's language
46
+ * (readOneUptimeNote) while the probe stores the English, as every check's
47
+ * description is stored.
48
+ */
37
49
  // A OneUptime page's component's description when the page does not show its status.
38
- exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_STATUS_NOT_SHOWN = "The status page does not show this resource's status.";
50
+ exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_STATUS_NOT_SHOWN = (0, Translator_1.translationKey)("The status page does not show this resource's status.");
51
+ /*
52
+ * A OneUptime page's component's description when nothing checks it: its
53
+ * monitoring is off, so the page shows it as not monitored and gives it no
54
+ * status (StatusPageSummaryResource.isMonitored).
55
+ */
56
+ exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_NOT_MONITORED = (0, Translator_1.translationKey)("The status page shows this resource as not monitored.");
57
+ /*
58
+ * A OneUptime page's component's description while a scheduled maintenance
59
+ * event in progress affects it: the events' titles - the page's own words -
60
+ * after the note, or the note alone when they have none. The note alone
61
+ * only repeats the component's status (Under Maintenance), which the
62
+ * summary says once, so it is no translation key.
63
+ */
64
+ exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_UNDER_MAINTENANCE = "Under maintenance";
65
+ exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_UNDER_MAINTENANCE_OF = (0, Translator_1.translationKey)("Under maintenance: {{events}}");
66
+ // What comes before the events' titles in a note of maintenance.
67
+ const UNDER_MAINTENANCE_OF_PREFIX = exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_UNDER_MAINTENANCE_OF.slice(0, exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_UNDER_MAINTENANCE_OF.indexOf("{{events}}"));
68
+ // The notes that are whole sentences, with nothing of the page's in them.
69
+ const ONEUPTIME_SENTENCE_NOTES = [
70
+ exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_STATUS_NOT_SHOWN,
71
+ exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_NOT_MONITORED,
72
+ ];
73
+ /*
74
+ * WHY A ONEUPTIME PAGE COULD NOT BE READ.
75
+ *
76
+ * With the OneUptime Status Page provider chosen, a page that answers but
77
+ * will not let the probe in fails the check, and the probe writes why as
78
+ * the check's failure cause (ExternalStatusPageMonitor's
79
+ * tryOneUptimeStatusPage): a private page (sign-in or password), or one
80
+ * whose IP allowlist leaves the probe out. Each is a translation key, as
81
+ * the notes above are, so the monitor's summary draws its Error in the
82
+ * reader's language (readOneUptimeFailureCause) while the probe stores the
83
+ * English: monitor criteria and logs compare that English, so it never
84
+ * changes.
85
+ */
86
+ exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_PRIVATE_MESSAGE = (0, Translator_1.translationKey)("This status page is private: only people who sign in to it, or who know its password, can read it. Only a public status page can be watched.");
87
+ exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_IP_NOT_ALLOWED_MESSAGE = (0, Translator_1.translationKey)("This status page lets in only the IP addresses on its allowlist, and this probe's address is not one of them. Add the probe's address to the allowlist, or watch the page from a probe inside that network.");
88
+ // The failure causes the probe writes in OneUptime's words, each a whole sentence.
89
+ const ONEUPTIME_FAILURE_CAUSES = [
90
+ exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_PRIVATE_MESSAGE,
91
+ exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_IP_NOT_ALLOWED_MESSAGE,
92
+ ];
39
93
  const isRecord = (value) => {
40
94
  return typeof value === "object" && value !== null && !Array.isArray(value);
41
95
  };
@@ -313,8 +367,8 @@ class ExternalStatusPageReading {
313
367
  * status is the value the page's status stands for
314
368
  * (ExternalStatusPageComponentStatusUtil) - under maintenance while a
315
369
  * scheduled maintenance event in progress affects it, whatever its
316
- * monitors' status. Each active incident affects the resources it names,
317
- * by their ids.
370
+ * monitors' status, and unknown while the page shows it as not monitored.
371
+ * Each active incident affects the resources it names, by their ids.
318
372
  */
319
373
  static readOneUptimeSummary(summary) {
320
374
  const maintenanceTitles = new Map();
@@ -335,8 +389,11 @@ class ExternalStatusPageReading {
335
389
  if (resource.isUnderMaintenance) {
336
390
  description =
337
391
  titles.length > 0
338
- ? `Under maintenance: ${titles.join(", ")}`
339
- : "Under maintenance";
392
+ ? (0, Translator_1.fillTemplate)(exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_UNDER_MAINTENANCE_OF, { events: titles.join(", ") })
393
+ : exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_UNDER_MAINTENANCE;
394
+ }
395
+ else if (!resource.isMonitored) {
396
+ description = exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_NOT_MONITORED;
340
397
  }
341
398
  else if (!resource.currentStatus) {
342
399
  description = exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_STATUS_NOT_SHOWN;
@@ -344,16 +401,21 @@ class ExternalStatusPageReading {
344
401
  else {
345
402
  description = resource.currentStatus.name;
346
403
  }
347
- return {
404
+ const component = {
348
405
  key: resource.id,
349
406
  name: resource.name,
350
407
  groupName: resource.groupName || undefined,
351
408
  status: ExternalStatusPageComponentStatusUtil_1.default.fromStatusPageStatus({
352
- status: resource.currentStatus,
409
+ // A status nothing checks says nothing now, whatever was sent.
410
+ status: resource.isMonitored ? resource.currentStatus : null,
353
411
  isUnderMaintenance: resource.isUnderMaintenance,
354
412
  }),
355
413
  description: description,
356
414
  };
415
+ if (!resource.isMonitored) {
416
+ component.isMonitored = false;
417
+ }
418
+ return component;
357
419
  });
358
420
  const namesById = new Map();
359
421
  for (const resource of summary.resources) {
@@ -376,5 +438,46 @@ class ExternalStatusPageReading {
376
438
  });
377
439
  return { components: components, incidents: incidents };
378
440
  }
441
+ /*
442
+ * One of OneUptime's own notes on a OneUptime page's component, read
443
+ * back from the description readOneUptimeSummary wrote, so it can be
444
+ * drawn in the reader's language: the note's English, and the page's
445
+ * words in it - the maintenance events' titles, as written. Null for any
446
+ * other description, which is the page's own words and stays as written.
447
+ *
448
+ * Only a OneUptime page's description is read this way (the caller asks
449
+ * for that provider): an Atlassian Statuspage's component can be
450
+ * described "Under maintenance: ..." by the people who run it.
451
+ */
452
+ static readOneUptimeNote(description) {
453
+ const text = (description || "").trim();
454
+ if (ONEUPTIME_SENTENCE_NOTES.includes(text)) {
455
+ return { template: text, values: {} };
456
+ }
457
+ if (text.startsWith(UNDER_MAINTENANCE_OF_PREFIX)) {
458
+ const events = text.slice(UNDER_MAINTENANCE_OF_PREFIX.length);
459
+ if (events.trim()) {
460
+ return {
461
+ template: exports.EXTERNAL_STATUS_PAGE_ONEUPTIME_UNDER_MAINTENANCE_OF,
462
+ values: { events: events },
463
+ };
464
+ }
465
+ }
466
+ return null;
467
+ }
468
+ /*
469
+ * One of OneUptime's failure causes, read back from a check's failure
470
+ * cause: its English, a translation key, when the cause is exactly one of
471
+ * them (a private page, a page whose IP allowlist leaves the probe out);
472
+ * null for any other cause - the network's, a provider's, an older
473
+ * probe's - which stays as written.
474
+ *
475
+ * Only a check of a OneUptime page is read this way (the caller asks for
476
+ * that provider).
477
+ */
478
+ static readOneUptimeFailureCause(failureCause) {
479
+ const text = (failureCause || "").trim();
480
+ return ONEUPTIME_FAILURE_CAUSES.includes(text) ? text : null;
481
+ }
379
482
  }
380
483
  exports.default = ExternalStatusPageReading;
@@ -2,5 +2,10 @@ import commonJsModule from "./ExternalStatusPageReading.js";
2
2
  export default commonJsModule.default;
3
3
  export const EXTERNAL_STATUS_PAGE_MAX_COMPONENTS = commonJsModule.EXTERNAL_STATUS_PAGE_MAX_COMPONENTS;
4
4
  export const EXTERNAL_STATUS_PAGE_MAX_INCIDENTS = commonJsModule.EXTERNAL_STATUS_PAGE_MAX_INCIDENTS;
5
+ export const EXTERNAL_STATUS_PAGE_ONEUPTIME_IP_NOT_ALLOWED_MESSAGE = commonJsModule.EXTERNAL_STATUS_PAGE_ONEUPTIME_IP_NOT_ALLOWED_MESSAGE;
6
+ export const EXTERNAL_STATUS_PAGE_ONEUPTIME_NOT_MONITORED = commonJsModule.EXTERNAL_STATUS_PAGE_ONEUPTIME_NOT_MONITORED;
7
+ export const EXTERNAL_STATUS_PAGE_ONEUPTIME_PRIVATE_MESSAGE = commonJsModule.EXTERNAL_STATUS_PAGE_ONEUPTIME_PRIVATE_MESSAGE;
5
8
  export const EXTERNAL_STATUS_PAGE_ONEUPTIME_STATUS_NOT_SHOWN = commonJsModule.EXTERNAL_STATUS_PAGE_ONEUPTIME_STATUS_NOT_SHOWN;
9
+ export const EXTERNAL_STATUS_PAGE_ONEUPTIME_UNDER_MAINTENANCE = commonJsModule.EXTERNAL_STATUS_PAGE_ONEUPTIME_UNDER_MAINTENANCE;
10
+ export const EXTERNAL_STATUS_PAGE_ONEUPTIME_UNDER_MAINTENANCE_OF = commonJsModule.EXTERNAL_STATUS_PAGE_ONEUPTIME_UNDER_MAINTENANCE_OF;
6
11
  export const EXTERNAL_STATUS_PAGE_UNNAMED_INCIDENT = commonJsModule.EXTERNAL_STATUS_PAGE_UNNAMED_INCIDENT;
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.EXTERNAL_STATUS_PAGE_MAX_REPORTED_INCIDENT_NAME_LENGTH = exports.EXTERNAL_STATUS_PAGE_MAX_REPORTED_INCIDENT_NAMES = void 0;
7
7
  const ExternalStatusPageComponentNames_1 = __importDefault(require("./ExternalStatusPageComponentNames"));
8
+ const ExternalStatusPageComponentStatusUtil_1 = require("./ExternalStatusPageComponentStatusUtil");
8
9
  /*
9
10
  * WHAT ON A STATUS PAGE AN EXTERNAL STATUS PAGE MONITOR WATCHES.
10
11
  *
@@ -21,6 +22,8 @@ const ExternalStatusPageComponentNames_1 = __importDefault(require("./ExternalSt
21
22
  * - the overall status is the page's own while it watches the whole page,
22
23
  * and otherwise the worst status of the components in scope (degraded
23
24
  * when one of their incidents is open while they all say operational).
25
+ * A component the page shows as not monitored decides nothing, and
26
+ * when every component in scope is so the status is unknown.
24
27
  *
25
28
  * What it leaves out is said too, so the person can tell a quiet monitor
26
29
  * from one that watches nothing: the chosen names no component on the
@@ -99,11 +102,24 @@ class ExternalStatusPageScope {
99
102
  * Derives an overall status from the (already scoped) component list. Returns a
100
103
  * standard status string (e.g. "operational", "degraded_performance",
101
104
  * "major_outage") so it is comparable in monitor criteria.
105
+ *
106
+ * A component the page shows as not monitored (isMonitored false: a
107
+ * OneUptime page's resource whose monitoring is off) decides nothing, as
108
+ * on the page's own banner. When every component is so, and no incident
109
+ * is open on them, there is no status to give: unknown.
102
110
  */
103
111
  static deriveOverallStatus(components, scopedIncidentCount) {
112
+ const monitored = components.filter((component) => {
113
+ return component.isMonitored !== false;
114
+ });
115
+ if (components.length > 0 &&
116
+ monitored.length === 0 &&
117
+ scopedIncidentCount === 0) {
118
+ return ExternalStatusPageComponentStatusUtil_1.ExternalStatusPageComponentStatusValue.Unknown;
119
+ }
104
120
  let worstStatus = "operational";
105
121
  let worstRank = 0;
106
- for (const component of components) {
122
+ for (const component of monitored) {
107
123
  const rank = ExternalStatusPageScope.getStatusRank(component.status);
108
124
  if (rank > worstRank) {
109
125
  worstRank = rank;
@@ -101,7 +101,8 @@ class MonitorDestinationUtil {
101
101
  destination: undefined,
102
102
  error: err instanceof Exception_1.default
103
103
  ? err.getMessage()
104
- : (err === null || err === void 0 ? void 0 : err.message) || "Invalid Destination",
104
+ : (err === null || err === void 0 ? void 0 : err.message) ||
105
+ "This is not an address OneUptime can monitor. Check it for typos.",
105
106
  };
106
107
  }
107
108
  }
@@ -148,6 +148,7 @@ export interface MonitorOverviewPresentation {
148
148
  pulse: MonitorOverviewPulse;
149
149
  freshness: MonitorCheckFreshness;
150
150
  isNeverReported?: boolean | undefined;
151
+ isMonitoringOff?: boolean | undefined;
151
152
  facts: Array<MonitorOverviewFact>;
152
153
  target: MonitorOverviewTarget | null;
153
154
  sections: MonitorOverviewSections;
@@ -159,7 +160,7 @@ export default class MonitorOverviewPresentationUtil {
159
160
  runState: MonitorOverviewRunState;
160
161
  }): Array<MonitorOverviewMoreActionKey>;
161
162
  static getRunState(input: MonitorOverviewPresentationInput): MonitorOverviewRunState;
162
- static getUptimeCaveat(presentation: Pick<MonitorOverviewPresentation, "family" | "runState" | "isNeverReported">): MonitorUptimeCaveat | null;
163
+ static getUptimeCaveat(presentation: Pick<MonitorOverviewPresentation, "family" | "runState" | "isNeverReported" | "isMonitoringOff">): MonitorUptimeCaveat | null;
163
164
  static getStatusTone(status: MonitorOverviewStatusRef | undefined): MonitorOverviewTone;
164
165
  static getExpiryFact(data: {
165
166
  key: "certificate-expiry" | "domain-expiry";
@@ -148,6 +148,7 @@ export interface MonitorOverviewPresentation {
148
148
  pulse: MonitorOverviewPulse;
149
149
  freshness: MonitorCheckFreshness;
150
150
  isNeverReported?: boolean | undefined;
151
+ isMonitoringOff?: boolean | undefined;
151
152
  facts: Array<MonitorOverviewFact>;
152
153
  target: MonitorOverviewTarget | null;
153
154
  sections: MonitorOverviewSections;
@@ -159,7 +160,7 @@ export default class MonitorOverviewPresentationUtil {
159
160
  runState: MonitorOverviewRunState;
160
161
  }): Array<MonitorOverviewMoreActionKey>;
161
162
  static getRunState(input: MonitorOverviewPresentationInput): MonitorOverviewRunState;
162
- static getUptimeCaveat(presentation: Pick<MonitorOverviewPresentation, "family" | "runState" | "isNeverReported">): MonitorUptimeCaveat | null;
163
+ static getUptimeCaveat(presentation: Pick<MonitorOverviewPresentation, "family" | "runState" | "isNeverReported" | "isMonitoringOff">): MonitorUptimeCaveat | null;
163
164
  static getStatusTone(status: MonitorOverviewStatusRef | undefined): MonitorOverviewTone;
164
165
  static getExpiryFact(data: {
165
166
  key: "certificate-expiry" | "domain-expiry";
@@ -183,7 +183,7 @@ class MonitorOverviewPresentationUtil {
183
183
  static build(input) {
184
184
  const context = MonitorOverviewPresentationUtil.getContext(input);
185
185
  const hero = MonitorOverviewPresentationUtil.getHero(input, context);
186
- return Object.assign(Object.assign({ family: context.family, runState: context.runState }, hero), { moreActions: MonitorOverviewPresentationUtil.getMoreActions(context), pulse: MonitorOverviewPresentationUtil.getPulse(input, context), freshness: context.freshness.freshness, isNeverReported: MonitorOverviewPresentationUtil.isNeverReported(context), facts: MonitorOverviewPresentationUtil.getFacts(input, context), target: MonitorOverviewTargetUtil_1.default.getTarget({
186
+ return Object.assign(Object.assign({ family: context.family, runState: context.runState }, hero), { moreActions: MonitorOverviewPresentationUtil.getMoreActions(context), pulse: MonitorOverviewPresentationUtil.getPulse(input, context), freshness: context.freshness.freshness, isNeverReported: MonitorOverviewPresentationUtil.isNeverReported(context), isMonitoringOff: input.pause.isDisabled === true, facts: MonitorOverviewPresentationUtil.getFacts(input, context), target: MonitorOverviewTargetUtil_1.default.getTarget({
187
187
  monitorType: input.monitorType,
188
188
  monitorSteps: input.monitorSteps,
189
189
  serverHostname: input.agent.hostname,
@@ -216,8 +216,17 @@ class MonitorOverviewPresentationUtil {
216
216
  * monitoring is paused, while nothing checks, and before the first check
217
217
  * completes. A manual monitor has no checks to pause, so it never gets
218
218
  * one.
219
+ *
220
+ * Monitoring turned off is the exception (issue #6480): that time is not
221
+ * counted but left out, from the moment it was turned off, whatever the
222
+ * monitor's kind, so the windows say that instead - measured over less
223
+ * than their length. Archived, or paused by an incident or a scheduled
224
+ * maintenance event, the last status still counts: "paused".
219
225
  */
220
226
  static getUptimeCaveat(presentation) {
227
+ if (presentation.isMonitoringOff) {
228
+ return "monitoring-off";
229
+ }
221
230
  if (presentation.family === MonitorOverviewFamily_1.MonitorOverviewFamily.Manual) {
222
231
  return null;
223
232
  }
@@ -7,6 +7,7 @@ export interface MonitorStatusChangeRow {
7
7
  startsAt: Date;
8
8
  endsAt: Date | undefined;
9
9
  isOngoing: boolean;
10
+ isMonitoringOff: boolean;
10
11
  }
11
12
  export default class MonitorStatusHistoryUtil {
12
13
  static getStatusSince(data: {
@@ -7,6 +7,7 @@ export interface MonitorStatusChangeRow {
7
7
  startsAt: Date;
8
8
  endsAt: Date | undefined;
9
9
  isOngoing: boolean;
10
+ isMonitoringOff: boolean;
10
11
  }
11
12
  export default class MonitorStatusHistoryUtil {
12
13
  static getStatusSince(data: {
@@ -81,6 +81,7 @@ class MonitorStatusHistoryUtil {
81
81
  startsAt: startsAt,
82
82
  endsAt: rowEndsAt !== null && rowEndsAt !== void 0 ? rowEndsAt : successorStartsAt,
83
83
  isOngoing: i === 0 && !rowEndsAt,
84
+ isMonitoringOff: row.isMonitoringOff === true,
84
85
  });
85
86
  }
86
87
  return changeRows;
@@ -1,3 +1,4 @@
1
+ import { Translator } from "../../Types/Translator.mjs";
1
2
  export interface AttachedProbe {
2
3
  id: string;
3
4
  name: string;
@@ -16,6 +17,7 @@ export default class MonitorSummaryProbeUtil {
16
17
  }): string | null;
17
18
  static getProbeDropdownOptions(data: {
18
19
  probes: Array<AttachedProbe>;
20
+ translator?: Translator | undefined;
19
21
  }): Array<{
20
22
  label: string;
21
23
  value: string;
@@ -1,3 +1,4 @@
1
+ import { Translator } from "../../Types/Translator";
1
2
  export interface AttachedProbe {
2
3
  id: string;
3
4
  name: string;
@@ -16,6 +17,7 @@ export default class MonitorSummaryProbeUtil {
16
17
  }): string | null;
17
18
  static getProbeDropdownOptions(data: {
18
19
  probes: Array<AttachedProbe>;
20
+ translator?: Translator | undefined;
19
21
  }): Array<{
20
22
  label: string;
21
23
  value: string;