@oneuptime/common 14.0.107 → 14.0.109

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 (591) hide show
  1. package/Models/AnalyticsModels/AuditLog.js +1 -1
  2. package/Models/DatabaseModels/CloudApp.d.mts +5 -0
  3. package/Models/DatabaseModels/CloudApp.d.ts +5 -0
  4. package/Models/DatabaseModels/CloudApp.js +112 -0
  5. package/Models/DatabaseModels/DataBiConnection.d.mts +4 -0
  6. package/Models/DatabaseModels/DataBiConnection.d.ts +4 -0
  7. package/Models/DatabaseModels/DataBiConnection.js +59 -2
  8. package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
  9. package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
  10. package/Models/DatabaseModels/GlobalConfig.js +111 -0
  11. package/Models/DatabaseModels/Index.js +9 -0
  12. package/Models/DatabaseModels/Monitor.js +14 -0
  13. package/Models/DatabaseModels/MonitorStatusTimeline.d.mts +1 -0
  14. package/Models/DatabaseModels/MonitorStatusTimeline.d.ts +1 -0
  15. package/Models/DatabaseModels/MonitorStatusTimeline.js +43 -0
  16. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +4 -0
  17. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +4 -0
  18. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +132 -2
  19. package/Models/DatabaseModels/ProductFeedback.d.mts +11 -0
  20. package/Models/DatabaseModels/ProductFeedback.d.ts +11 -0
  21. package/Models/DatabaseModels/ProductFeedback.js +203 -0
  22. package/Models/DatabaseModels/ProductFeedback.mjs +2 -0
  23. package/Models/DatabaseModels/Project.d.mts +6 -0
  24. package/Models/DatabaseModels/Project.d.ts +6 -0
  25. package/Models/DatabaseModels/Project.js +237 -0
  26. package/Models/DatabaseModels/ProjectMilestone.d.mts +11 -0
  27. package/Models/DatabaseModels/ProjectMilestone.d.ts +11 -0
  28. package/Models/DatabaseModels/ProjectMilestone.js +207 -0
  29. package/Models/DatabaseModels/ProjectMilestone.mjs +2 -0
  30. package/Models/DatabaseModels/ProjectUserPreference.d.mts +11 -0
  31. package/Models/DatabaseModels/ProjectUserPreference.d.ts +11 -0
  32. package/Models/DatabaseModels/ProjectUserPreference.js +194 -0
  33. package/Models/DatabaseModels/ProjectUserPreference.mjs +2 -0
  34. package/Models/DatabaseModels/RumProductAnalyticsSavedView.d.mts +20 -0
  35. package/Models/DatabaseModels/RumProductAnalyticsSavedView.d.ts +20 -0
  36. package/Models/DatabaseModels/RumProductAnalyticsSavedView.js +353 -0
  37. package/Models/DatabaseModels/RumProductAnalyticsSavedView.mjs +2 -0
  38. package/Models/DatabaseModels/RumSessionPin.js +16 -2
  39. package/Models/DatabaseModels/RumSessionReplayView.js +8 -1
  40. package/Models/DatabaseModels/SecurityCase.js +8 -1
  41. package/Models/DatabaseModels/User.d.mts +2 -0
  42. package/Models/DatabaseModels/User.d.ts +2 -0
  43. package/Models/DatabaseModels/User.js +52 -0
  44. package/Models/DatabaseModels/UserOnCallLog.js +32 -4
  45. package/Models/DatabaseModels/UserOnCallLogTimeline.js +10 -0
  46. package/Models/DatabaseModels/WhatsAppLog.d.mts +3 -0
  47. package/Models/DatabaseModels/WhatsAppLog.d.ts +3 -0
  48. package/Models/DatabaseModels/WhatsAppLog.js +62 -0
  49. package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
  50. package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.mts +20 -0
  51. package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.ts +20 -0
  52. package/Models/DatabaseModels/WorkspaceUserGroup.js +1 -1
  53. package/Server/Services/DatabaseService.d.mts +1 -0
  54. package/Server/Services/DatabaseService.d.ts +1 -0
  55. package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.mts +213 -0
  56. package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.ts +213 -0
  57. package/Server/Utils/Workspace/WorkspaceBase.d.mts +4 -0
  58. package/Server/Utils/Workspace/WorkspaceBase.d.ts +4 -0
  59. package/Types/AI/AIActionWords.d.mts +167 -7
  60. package/Types/AI/AIActionWords.d.ts +167 -7
  61. package/Types/AI/AIActionWords.js +474 -17
  62. package/Types/AI/AIActionWords.mjs +22 -0
  63. package/Types/AI/AIChatMessageStatus.js +3 -2
  64. package/Types/AI/AIChatRecordSeen.d.mts +6 -2
  65. package/Types/AI/AIChatRecordSeen.d.ts +6 -2
  66. package/Types/AI/AIChatRecordSeen.js +48 -9
  67. package/Types/AI/AIChatRecordSeen.mjs +2 -0
  68. package/Types/AI/AIChatTypes.d.mts +20 -1
  69. package/Types/AI/AIChatTypes.d.ts +20 -1
  70. package/Types/AI/AIChatTypes.js +46 -1
  71. package/Types/AI/AIChatTypes.mjs +3 -0
  72. package/Types/AI/AIRunAttempt.d.mts +8 -0
  73. package/Types/AI/AIRunAttempt.d.ts +8 -0
  74. package/Types/AI/AIRunAttempt.js +60 -6
  75. package/Types/AI/AIRunAttempt.mjs +3 -0
  76. package/Types/AI/AISetupActions.d.mts +9 -0
  77. package/Types/AI/AISetupActions.d.ts +9 -0
  78. package/Types/AI/AISetupActions.js +56 -0
  79. package/Types/AI/AISetupActions.mjs +10 -0
  80. package/Types/AI/CodeTask.d.mts +14 -0
  81. package/Types/AI/CodeTask.d.ts +14 -0
  82. package/Types/AI/InvestigationNotStartedReason.d.mts +7 -0
  83. package/Types/AI/InvestigationNotStartedReason.d.ts +7 -0
  84. package/Types/AI/RecordAiTokenLimit.d.mts +24 -0
  85. package/Types/AI/RecordAiTokenLimit.d.ts +24 -0
  86. package/Types/AI/RecordAiTokenLimit.js +153 -0
  87. package/Types/AI/RecordAiTokenLimit.mjs +8 -0
  88. package/Types/Accounts/SignInMessages.d.mts +8 -0
  89. package/Types/Accounts/SignInMessages.d.ts +8 -0
  90. package/Types/Accounts/SignInMessages.js +28 -0
  91. package/Types/Accounts/SignInMessages.mjs +5 -0
  92. package/Types/Analytics/ActivationMilestone.d.mts +48 -0
  93. package/Types/Analytics/ActivationMilestone.d.ts +48 -0
  94. package/Types/Analytics/ActivationMilestone.js +247 -0
  95. package/Types/Analytics/ActivationMilestone.mjs +16 -0
  96. package/Types/Analytics/ChecklistProgress.d.mts +11 -0
  97. package/Types/Analytics/ChecklistProgress.d.ts +11 -0
  98. package/Types/Analytics/ChecklistProgress.js +32 -0
  99. package/Types/Analytics/ChecklistProgress.mjs +2 -0
  100. package/Types/Analytics/ProductEvent.d.mts +61 -0
  101. package/Types/Analytics/ProductEvent.d.ts +61 -0
  102. package/Types/Analytics/ProductEvent.js +430 -0
  103. package/Types/Analytics/ProductEvent.mjs +14 -0
  104. package/Types/AuditLog/AuditLogAction.d.mts +5 -1
  105. package/Types/AuditLog/AuditLogAction.d.ts +5 -1
  106. package/Types/AuditLog/AuditLogAction.js +11 -0
  107. package/Types/AuditLog/AuditLogActionLabel.d.mts +3 -0
  108. package/Types/AuditLog/AuditLogActionLabel.d.ts +3 -0
  109. package/Types/AuditLog/AuditLogActionLabel.js +30 -0
  110. package/Types/AuditLog/AuditLogActionLabel.mjs +3 -0
  111. package/Types/AuditLog/AuditLogCoverage.d.mts +2 -1
  112. package/Types/AuditLog/AuditLogCoverage.d.ts +2 -1
  113. package/Types/AuditLog/AuditLogCoverage.js +8 -1
  114. package/Types/AuditLog/AuditLogRetention.js +7 -4
  115. package/Types/AuditLog/AuditLogSessionEvent.d.mts +45 -0
  116. package/Types/AuditLog/AuditLogSessionEvent.d.ts +45 -0
  117. package/Types/AuditLog/AuditLogSessionEvent.js +210 -0
  118. package/Types/AuditLog/AuditLogSessionEvent.mjs +14 -0
  119. package/Types/AutoRemediation/RemediationRound.d.mts +4 -0
  120. package/Types/AutoRemediation/RemediationRound.d.ts +4 -0
  121. package/Types/AutoRemediation/RemediationRound.js +19 -2
  122. package/Types/AutoRemediation/RemediationRoundName.d.mts +1 -0
  123. package/Types/AutoRemediation/RemediationRoundName.d.ts +1 -0
  124. package/Types/AutoRemediation/RemediationRoundName.js +5 -0
  125. package/Types/AutoRemediation/RemediationRoundName.mjs +1 -0
  126. package/Types/Cloud/CloudAppTelemetrySignal.d.mts +9 -0
  127. package/Types/Cloud/CloudAppTelemetrySignal.d.ts +9 -0
  128. package/Types/Cloud/CloudAppTelemetrySignal.js +41 -0
  129. package/Types/Cloud/CloudAppTelemetrySignal.mjs +4 -0
  130. package/Types/Cloud/CloudPlatform.js +7 -1
  131. package/Types/CodeInSentence.d.mts +8 -0
  132. package/Types/CodeInSentence.d.ts +8 -0
  133. package/Types/CodeInSentence.js +875 -0
  134. package/Types/CodeInSentence.mjs +4 -0
  135. package/Types/CodeRepository/CodeFileSeen.d.mts +5 -0
  136. package/Types/CodeRepository/CodeFileSeen.d.ts +5 -0
  137. package/Types/CodeRepository/CodeFileSeen.js +142 -27
  138. package/Types/CustomDomain/CustomDomainDnsCheckResult.d.mts +13 -0
  139. package/Types/CustomDomain/CustomDomainDnsCheckResult.d.ts +13 -0
  140. package/Types/CustomDomain/CustomDomainDnsCheckResult.js +80 -0
  141. package/Types/CustomDomain/CustomDomainDnsCheckResult.mjs +2 -0
  142. package/Types/CustomDomain/CustomDomainServerReadiness.d.mts +55 -0
  143. package/Types/CustomDomain/CustomDomainServerReadiness.d.ts +55 -0
  144. package/Types/CustomDomain/CustomDomainServerReadiness.js +199 -0
  145. package/Types/CustomDomain/CustomDomainServerReadiness.mjs +8 -0
  146. package/Types/CustomDomain/DnsRecordCheck.d.mts +34 -0
  147. package/Types/CustomDomain/DnsRecordCheck.d.ts +34 -0
  148. package/Types/CustomDomain/DnsRecordCheck.js +175 -0
  149. package/Types/CustomDomain/DnsRecordCheck.mjs +6 -0
  150. package/Types/CustomDomain/DnsRecordCheckWords.d.mts +35 -0
  151. package/Types/CustomDomain/DnsRecordCheckWords.d.ts +35 -0
  152. package/Types/CustomDomain/DnsRecordCheckWords.js +151 -0
  153. package/Types/CustomDomain/DnsRecordCheckWords.mjs +5 -0
  154. package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.mts +1 -0
  155. package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.ts +1 -0
  156. package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.js +11 -1
  157. package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.mjs +1 -0
  158. package/Types/Dashboard/DashboardComponentType.d.mts +2 -0
  159. package/Types/Dashboard/DashboardComponentType.d.ts +2 -0
  160. package/Types/Dashboard/DashboardComponentType.js +7 -0
  161. package/Types/Dashboard/DashboardComponents/ComponentArgument.d.mts +3 -1
  162. package/Types/Dashboard/DashboardComponents/ComponentArgument.d.ts +3 -1
  163. package/Types/Dashboard/DashboardComponents/ComponentArgument.js +3 -0
  164. package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsFunnelComponent.d.mts +11 -0
  165. package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsFunnelComponent.d.ts +11 -0
  166. package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsFunnelComponent.js +2 -0
  167. package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsFunnelComponent.mjs +1 -0
  168. package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsRetentionComponent.d.mts +11 -0
  169. package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsRetentionComponent.d.ts +11 -0
  170. package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsRetentionComponent.js +2 -0
  171. package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsRetentionComponent.mjs +1 -0
  172. package/Types/Dashboard/PublicDashboardServedSettings.js +15 -7
  173. package/Types/DataObservability/DataBiRefreshAlert.d.mts +44 -0
  174. package/Types/DataObservability/DataBiRefreshAlert.d.ts +44 -0
  175. package/Types/DataObservability/DataBiRefreshAlert.js +206 -0
  176. package/Types/DataObservability/DataBiRefreshAlert.mjs +12 -0
  177. package/Types/DataObservability/DataCheckType.d.mts +4 -0
  178. package/Types/DataObservability/DataCheckType.d.ts +4 -0
  179. package/Types/DataObservability/DataCheckType.js +17 -0
  180. package/Types/DataObservability/DataCheckType.mjs +1 -0
  181. package/Types/DataObservability/DataLineageColumnTrail.d.mts +10 -0
  182. package/Types/DataObservability/DataLineageColumnTrail.d.ts +10 -0
  183. package/Types/DataObservability/DataLineageColumnTrail.js +152 -0
  184. package/Types/DataObservability/DataLineageColumnTrail.mjs +4 -0
  185. package/Types/DataObservability/DataLineageExpansion.d.mts +29 -0
  186. package/Types/DataObservability/DataLineageExpansion.d.ts +29 -0
  187. package/Types/DataObservability/DataLineageExpansion.js +166 -0
  188. package/Types/DataObservability/DataLineageExpansion.mjs +4 -0
  189. package/Types/DataObservability/DataObservabilityApiTypes.d.mts +8 -0
  190. package/Types/DataObservability/DataObservabilityApiTypes.d.ts +8 -0
  191. package/Types/DataObservability/DataObservabilityApiTypes.js +14 -0
  192. package/Types/DataObservability/DataTableLineage.d.mts +29 -1
  193. package/Types/DataObservability/DataTableLineage.d.ts +29 -1
  194. package/Types/DataObservability/DataTableLineage.js +27 -7
  195. package/Types/DataObservability/DataTableLineage.mjs +3 -0
  196. package/Types/Date.d.mts +22 -0
  197. package/Types/Date.d.ts +22 -0
  198. package/Types/Date.js +72 -3
  199. package/Types/DateLanguage.d.mts +7 -0
  200. package/Types/DateLanguage.d.ts +7 -0
  201. package/Types/DateLanguage.js +44 -1
  202. package/Types/DateLanguage.mjs +1 -0
  203. package/Types/Docs/DocsLanguage.d.mts +2 -0
  204. package/Types/Docs/DocsLanguage.d.ts +2 -0
  205. package/Types/Docs/DocsLanguage.js +23 -1
  206. package/Types/Docs/DocsLanguage.mjs +2 -0
  207. package/Types/Docs/GlossaryTerm.d.mts +82 -0
  208. package/Types/Docs/GlossaryTerm.d.ts +82 -0
  209. package/Types/Docs/GlossaryTerm.js +126 -0
  210. package/Types/Docs/GlossaryTerm.mjs +5 -0
  211. package/Types/Email/AmazonSesAuthenticationType.d.mts +23 -0
  212. package/Types/Email/AmazonSesAuthenticationType.d.ts +23 -0
  213. package/Types/Email/AmazonSesAuthenticationType.js +40 -0
  214. package/Types/Email/AmazonSesAuthenticationType.mjs +4 -0
  215. package/Types/Email/EmailServer.d.mts +2 -0
  216. package/Types/Email/EmailServer.d.ts +2 -0
  217. package/Types/Email/EmailTemplateType.d.mts +1 -0
  218. package/Types/Email/EmailTemplateType.d.ts +1 -0
  219. package/Types/Email/EmailTemplateType.js +2 -0
  220. package/Types/Exception/BadDataExceptionWithDetails.d.mts +6 -0
  221. package/Types/Exception/BadDataExceptionWithDetails.d.ts +6 -0
  222. package/Types/Exception/BadDataExceptionWithDetails.js +20 -0
  223. package/Types/Exception/BadDataExceptionWithDetails.mjs +2 -0
  224. package/Types/Exception/ErrorMessageRule.d.mts +4 -0
  225. package/Types/Exception/ErrorMessageRule.d.ts +4 -0
  226. package/Types/Exception/ErrorMessageRule.js +143 -0
  227. package/Types/Exception/ErrorMessageRule.mjs +5 -0
  228. package/Types/Exception/UnexplainedError.d.mts +45 -0
  229. package/Types/Exception/UnexplainedError.d.ts +45 -0
  230. package/Types/Exception/UnexplainedError.js +179 -0
  231. package/Types/Exception/UnexplainedError.mjs +11 -0
  232. package/Types/HashedString.js +9 -2
  233. package/Types/Icon/IconProp.d.mts +4 -1
  234. package/Types/Icon/IconProp.d.ts +4 -1
  235. package/Types/Icon/IconProp.js +6 -0
  236. package/Types/InstallationHealth/InstallationHealth.d.mts +122 -0
  237. package/Types/InstallationHealth/InstallationHealth.d.ts +122 -0
  238. package/Types/InstallationHealth/InstallationHealth.js +513 -0
  239. package/Types/InstallationHealth/InstallationHealth.mjs +13 -0
  240. package/Types/LLM/LLMProviderExchange.d.mts +17 -0
  241. package/Types/LLM/LLMProviderExchange.d.ts +17 -0
  242. package/Types/LLM/LLMProviderExchange.js +70 -0
  243. package/Types/LLM/LLMProviderExchange.mjs +5 -0
  244. package/Types/Monitor/CriteriaFilter.d.mts +1 -0
  245. package/Types/Monitor/CriteriaFilter.d.ts +1 -0
  246. package/Types/Monitor/CriteriaFilter.js +3 -1
  247. package/Types/Monitor/CriteriaFilterTerms.js +1 -0
  248. package/Types/Monitor/CriteriaFilterValues.d.mts +18 -0
  249. package/Types/Monitor/CriteriaFilterValues.d.ts +18 -0
  250. package/Types/Monitor/CriteriaFilterValues.js +346 -0
  251. package/Types/Monitor/CriteriaFilterValues.mjs +2 -0
  252. package/Types/Monitor/DataBiRefreshMonitorStep.d.mts +13 -0
  253. package/Types/Monitor/DataBiRefreshMonitorStep.d.ts +13 -0
  254. package/Types/Monitor/DataBiRefreshMonitorStep.js +108 -0
  255. package/Types/Monitor/DataBiRefreshMonitorStep.mjs +3 -0
  256. package/Types/Monitor/EvaluationSentence.d.mts +1 -0
  257. package/Types/Monitor/EvaluationSentence.d.ts +1 -0
  258. package/Types/Monitor/EvaluationSentence.js +34 -3
  259. package/Types/Monitor/EvaluationSentence.mjs +1 -0
  260. package/Types/Monitor/IncomingEmailMonitor/IncomingEmailMonitorRequest.d.mts +1 -0
  261. package/Types/Monitor/IncomingEmailMonitor/IncomingEmailMonitorRequest.d.ts +1 -0
  262. package/Types/Monitor/MonitorCriteriaInstance.js +22 -2
  263. package/Types/Monitor/MonitorStep.js +28 -11
  264. package/Types/Monitor/MonitorStepMetricMonitor.js +6 -1
  265. package/Types/Monitor/MonitorStepRollingTime.d.mts +12 -0
  266. package/Types/Monitor/MonitorStepRollingTime.d.ts +12 -0
  267. package/Types/Monitor/MonitorStepRollingTime.js +117 -0
  268. package/Types/Monitor/MonitorStepRollingTime.mjs +2 -0
  269. package/Types/Monitor/RetiredEvaluationTemplates.d.mts +2 -0
  270. package/Types/Monitor/RetiredEvaluationTemplates.d.ts +2 -0
  271. package/Types/Monitor/RetiredEvaluationTemplates.js +95 -0
  272. package/Types/Monitor/RetiredEvaluationTemplates.mjs +3 -0
  273. package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.d.mts +6 -0
  274. package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.d.ts +6 -0
  275. package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.js +20 -0
  276. package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.mjs +2 -0
  277. package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.d.mts +6 -0
  278. package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.d.ts +6 -0
  279. package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.js +29 -0
  280. package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.mjs +2 -0
  281. package/Types/Monitor/SSLMonitor/SslMonitorResponse.d.mts +7 -0
  282. package/Types/Monitor/SSLMonitor/SslMonitorResponse.d.ts +7 -0
  283. package/Types/Monitor/SeriesContext/SeriesLabelDisplay.js +11 -0
  284. package/Types/Monitor/ServerMonitor/ServerMonitorResponse.d.mts +1 -0
  285. package/Types/Monitor/ServerMonitor/ServerMonitorResponse.d.ts +1 -0
  286. package/Types/Monitor/TelemetryAlertRule.js +7 -2
  287. package/Types/Monitor/WhoIsTold.d.mts +165 -0
  288. package/Types/Monitor/WhoIsTold.d.ts +165 -0
  289. package/Types/Monitor/WhoIsTold.js +582 -0
  290. package/Types/Monitor/WhoIsTold.mjs +17 -0
  291. package/Types/NotificationRule/NotificationRepeat.d.mts +10 -0
  292. package/Types/NotificationRule/NotificationRepeat.d.ts +10 -0
  293. package/Types/NotificationRule/NotificationRepeat.js +51 -0
  294. package/Types/NotificationRule/NotificationRepeat.mjs +2 -0
  295. package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.d.mts +70 -0
  296. package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.d.ts +70 -0
  297. package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.js +276 -0
  298. package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.mjs +12 -0
  299. package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.mts +6 -0
  300. package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.ts +6 -0
  301. package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.js +34 -0
  302. package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.mjs +2 -0
  303. package/Types/OnCallDutyPolicy/OnCallEscalationWait.d.mts +9 -0
  304. package/Types/OnCallDutyPolicy/OnCallEscalationWait.d.ts +9 -0
  305. package/Types/OnCallDutyPolicy/OnCallEscalationWait.js +44 -0
  306. package/Types/OnCallDutyPolicy/OnCallEscalationWait.mjs +5 -0
  307. package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +240 -0
  308. package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +240 -0
  309. package/Types/OnCallDutyPolicy/OnCallTestPage.js +574 -0
  310. package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +52 -0
  311. package/Types/OnCallDutyPolicy/OnCallTestPageWords.d.mts +31 -0
  312. package/Types/OnCallDutyPolicy/OnCallTestPageWords.d.ts +31 -0
  313. package/Types/OnCallDutyPolicy/OnCallTestPageWords.js +105 -0
  314. package/Types/OnCallDutyPolicy/OnCallTestPageWords.mjs +14 -0
  315. package/Types/PhoneNumberDirection.d.mts +6 -0
  316. package/Types/PhoneNumberDirection.d.ts +6 -0
  317. package/Types/PhoneNumberDirection.js +123 -0
  318. package/Types/PhoneNumberDirection.mjs +6 -0
  319. package/Types/Probe/ProbeMonitorResponse.d.mts +1 -0
  320. package/Types/Probe/ProbeMonitorResponse.d.ts +1 -0
  321. package/Types/Product/ProductKey.d.mts +58 -0
  322. package/Types/Product/ProductKey.d.ts +58 -0
  323. package/Types/Product/ProductKey.js +175 -0
  324. package/Types/Product/ProductKey.mjs +8 -0
  325. package/Types/Product/ProductPins.d.mts +10 -0
  326. package/Types/Product/ProductPins.d.ts +10 -0
  327. package/Types/Product/ProductPins.js +65 -0
  328. package/Types/Product/ProductPins.mjs +6 -0
  329. package/Types/Product/ProductUsage.d.mts +21 -0
  330. package/Types/Product/ProductUsage.d.ts +21 -0
  331. package/Types/Product/ProductUsage.js +175 -0
  332. package/Types/Product/ProductUsage.mjs +10 -0
  333. package/Types/Product/ProjectProducts.d.mts +60 -0
  334. package/Types/Product/ProjectProducts.d.ts +60 -0
  335. package/Types/Product/ProjectProducts.js +336 -0
  336. package/Types/Product/ProjectProducts.mjs +19 -0
  337. package/Types/Product/ProjectProductsAnswer.d.mts +20 -0
  338. package/Types/Product/ProjectProductsAnswer.d.ts +20 -0
  339. package/Types/Product/ProjectProductsAnswer.js +139 -0
  340. package/Types/Product/ProjectProductsAnswer.mjs +7 -0
  341. package/Types/ProductFeedback/NewGitHubIssue.d.mts +12 -0
  342. package/Types/ProductFeedback/NewGitHubIssue.d.ts +12 -0
  343. package/Types/ProductFeedback/NewGitHubIssue.js +64 -0
  344. package/Types/ProductFeedback/NewGitHubIssue.mjs +5 -0
  345. package/Types/ProductFeedback/ProductFeedback.d.mts +140 -0
  346. package/Types/ProductFeedback/ProductFeedback.d.ts +140 -0
  347. package/Types/ProductFeedback/ProductFeedback.js +517 -0
  348. package/Types/ProductFeedback/ProductFeedback.mjs +49 -0
  349. package/Types/ReadingDirection.d.mts +4 -0
  350. package/Types/ReadingDirection.d.ts +4 -0
  351. package/Types/ReadingDirection.js +303 -26
  352. package/Types/ReadingDirection.mjs +4 -0
  353. package/Types/Recommendation/RecommendationType.d.mts +2 -1
  354. package/Types/Recommendation/RecommendationType.d.ts +2 -1
  355. package/Types/Recommendation/RecommendationType.js +6 -0
  356. package/Types/Reminder/ReminderInterval.d.mts +7 -0
  357. package/Types/Reminder/ReminderInterval.d.ts +7 -0
  358. package/Types/Reminder/ReminderInterval.js +110 -0
  359. package/Types/Reminder/ReminderInterval.mjs +8 -0
  360. package/Types/Retention/ResolvedRecordRetention.d.mts +19 -0
  361. package/Types/Retention/ResolvedRecordRetention.d.ts +19 -0
  362. package/Types/Retention/ResolvedRecordRetention.js +124 -0
  363. package/Types/Retention/ResolvedRecordRetention.mjs +14 -0
  364. package/Types/RollingTime/RollingTimeUtil.d.mts +8 -0
  365. package/Types/RollingTime/RollingTimeUtil.d.ts +8 -0
  366. package/Types/RollingTime/RollingTimeUtil.js +249 -71
  367. package/Types/Rum/ProductAnalyticsSavedViews.d.mts +56 -0
  368. package/Types/Rum/ProductAnalyticsSavedViews.d.ts +56 -0
  369. package/Types/Rum/ProductAnalyticsSavedViews.js +219 -0
  370. package/Types/Rum/ProductAnalyticsSavedViews.mjs +14 -0
  371. package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.js +116 -108
  372. package/Types/ServerSending/ServerSendingStatus.d.mts +69 -0
  373. package/Types/ServerSending/ServerSendingStatus.d.ts +69 -0
  374. package/Types/ServerSending/ServerSendingStatus.js +281 -0
  375. package/Types/ServerSending/ServerSendingStatus.mjs +7 -0
  376. package/Types/ServerSending/ServerSendingWords.d.mts +9 -0
  377. package/Types/ServerSending/ServerSendingWords.d.ts +9 -0
  378. package/Types/ServerSending/ServerSendingWords.js +95 -0
  379. package/Types/ServerSending/ServerSendingWords.mjs +7 -0
  380. package/Types/ServerSetup/ServerSetupChecklist.d.mts +172 -0
  381. package/Types/ServerSetup/ServerSetupChecklist.d.ts +172 -0
  382. package/Types/ServerSetup/ServerSetupChecklist.js +735 -0
  383. package/Types/ServerSetup/ServerSetupChecklist.mjs +12 -0
  384. package/Types/ServerSetup/ServerTestSend.d.mts +35 -0
  385. package/Types/ServerSetup/ServerTestSend.d.ts +35 -0
  386. package/Types/ServerSetup/ServerTestSend.js +160 -0
  387. package/Types/ServerSetup/ServerTestSend.mjs +10 -0
  388. package/Types/SetupHealth/SetupHealth.d.mts +283 -0
  389. package/Types/SetupHealth/SetupHealth.d.ts +283 -0
  390. package/Types/SetupHealth/SetupHealth.js +1047 -0
  391. package/Types/SetupHealth/SetupHealth.mjs +46 -0
  392. package/Types/StatusPage/StatusPageSummary.d.mts +1 -0
  393. package/Types/StatusPage/StatusPageSummary.d.ts +1 -0
  394. package/Types/StatusPage/StatusPageSummary.js +3 -0
  395. package/Types/StatusPage/UptimeDailyAggregate.d.mts +25 -0
  396. package/Types/StatusPage/UptimeDailyAggregate.d.ts +25 -0
  397. package/Types/Telemetry/LlmCallKind.js +1 -1
  398. package/Types/Telemetry/ServiceType.d.mts +1 -0
  399. package/Types/Telemetry/ServiceType.d.ts +1 -0
  400. package/Types/Telemetry/ServiceType.js +6 -0
  401. package/Types/Telemetry/TelemetryIngestionBudget.d.mts +1 -0
  402. package/Types/Telemetry/TelemetryIngestionBudget.d.ts +1 -0
  403. package/Types/Telemetry/TelemetryIngestionBudget.js +135 -2
  404. package/Types/Telemetry/TelemetryIngestionBudget.mjs +1 -0
  405. package/Types/ToolImport/ToolImportCatalog.d.mts +1 -0
  406. package/Types/ToolImport/ToolImportCatalog.d.ts +1 -0
  407. package/Types/ToolImport/ToolImportCatalog.js +54 -1
  408. package/Types/ToolImport/ToolImportCatalog.mjs +1 -0
  409. package/Types/Translator.js +64 -31
  410. package/Types/UserNotification/UserNotificationEventType.d.mts +2 -1
  411. package/Types/UserNotification/UserNotificationEventType.d.ts +2 -1
  412. package/Types/UserNotification/UserNotificationEventType.js +7 -0
  413. package/Types/UserSession/SessionEndCause.d.mts +17 -0
  414. package/Types/UserSession/SessionEndCause.d.ts +17 -0
  415. package/Types/UserSession/SessionEndCause.js +79 -0
  416. package/Types/UserSession/SessionEndCause.mjs +6 -0
  417. package/Types/UserSession/SessionSignIn.d.mts +44 -0
  418. package/Types/UserSession/SessionSignIn.d.ts +44 -0
  419. package/Types/UserSession/SessionSignIn.js +174 -0
  420. package/Types/UserSession/SessionSignIn.mjs +17 -0
  421. package/Types/WelcomeChecklist/ProjectGoal.d.mts +16 -0
  422. package/Types/WelcomeChecklist/ProjectGoal.d.ts +16 -0
  423. package/Types/WelcomeChecklist/ProjectGoal.js +94 -0
  424. package/Types/WelcomeChecklist/ProjectGoal.mjs +8 -0
  425. package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +76 -0
  426. package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +76 -0
  427. package/Types/WelcomeChecklist/WelcomeChecklist.js +344 -0
  428. package/Types/WelcomeChecklist/WelcomeChecklist.mjs +19 -0
  429. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +24 -0
  430. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +24 -0
  431. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +136 -0
  432. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.mjs +9 -0
  433. package/Types/WelcomeChecklist/WelcomeChecklistState.d.mts +27 -0
  434. package/Types/WelcomeChecklist/WelcomeChecklistState.d.ts +27 -0
  435. package/Types/WelcomeChecklist/WelcomeChecklistState.js +183 -0
  436. package/Types/WelcomeChecklist/WelcomeChecklistState.mjs +13 -0
  437. package/Types/Workflow/Documentation/AIDocumentation.js +1 -1
  438. package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.d.mts +7 -0
  439. package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.d.ts +7 -0
  440. package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.js +40 -0
  441. package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.mjs +3 -0
  442. package/Types/Workspace/WorkspaceChannelMembers.d.mts +1 -0
  443. package/Types/Workspace/WorkspaceChannelMembers.d.ts +1 -0
  444. package/Types/Workspace/WorkspaceChannelMembers.js +9 -2
  445. package/UI/Components/Dropdown/Dropdown.d.mts +1 -0
  446. package/UI/Components/Dropdown/Dropdown.d.ts +1 -0
  447. package/Utils/API.js +10 -0
  448. package/Utils/Crypto.js +10 -3
  449. package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.d.mts +7 -0
  450. package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.d.ts +7 -0
  451. package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.js +67 -0
  452. package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.mjs +2 -0
  453. package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.d.mts +7 -0
  454. package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.d.ts +7 -0
  455. package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.js +68 -0
  456. package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.mjs +2 -0
  457. package/Utils/Dashboard/DashboardWidgetIds.js +6 -1
  458. package/Utils/Dashboard/DashboardWidgetSorts.js +25 -4
  459. package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +37 -0
  460. package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +37 -0
  461. package/Utils/Dashboard/MonitorListWidgetFormat.js +86 -0
  462. package/Utils/Dashboard/MonitorListWidgetFormat.mjs +10 -0
  463. package/Utils/GuidedSetup/OnCallPolicyRecords.d.mts +31 -0
  464. package/Utils/GuidedSetup/OnCallPolicyRecords.d.ts +31 -0
  465. package/Utils/GuidedSetup/OnCallPolicyRecords.js +89 -0
  466. package/Utils/GuidedSetup/OnCallPolicyRecords.mjs +6 -0
  467. package/Utils/GuidedSetup/StatusPageRecords.d.mts +36 -0
  468. package/Utils/GuidedSetup/StatusPageRecords.d.ts +36 -0
  469. package/Utils/GuidedSetup/StatusPageRecords.js +105 -0
  470. package/Utils/GuidedSetup/StatusPageRecords.mjs +6 -0
  471. package/Utils/GuidedSetup/WebsiteMonitorRecords.d.mts +41 -0
  472. package/Utils/GuidedSetup/WebsiteMonitorRecords.d.ts +41 -0
  473. package/Utils/GuidedSetup/WebsiteMonitorRecords.js +204 -0
  474. package/Utils/GuidedSetup/WebsiteMonitorRecords.mjs +9 -0
  475. package/Utils/Markdown/InlineImageDataUri.d.mts +9 -0
  476. package/Utils/Markdown/InlineImageDataUri.d.ts +9 -0
  477. package/Utils/Markdown/InlineImageDataUri.js +17 -1
  478. package/Utils/Markdown/InlineImageDataUri.mjs +1 -0
  479. package/Utils/Markdown/LinkReferenceDefinitions.d.mts +12 -0
  480. package/Utils/Markdown/LinkReferenceDefinitions.d.ts +12 -0
  481. package/Utils/Markdown/LinkReferenceDefinitions.js +539 -0
  482. package/Utils/Markdown/LinkReferenceDefinitions.mjs +4 -0
  483. package/Utils/Metrics/MetricQueryCloudAggregation.js +2 -4
  484. package/Utils/Monitor/ExternalStatusPageReading.d.mts +9 -0
  485. package/Utils/Monitor/ExternalStatusPageReading.d.ts +9 -0
  486. package/Utils/Monitor/ExternalStatusPageReading.js +77 -8
  487. package/Utils/Monitor/ExternalStatusPageReading.mjs +3 -0
  488. package/Utils/Monitor/ExternalStatusPageScope.js +17 -1
  489. package/Utils/Monitor/MonitorDestinationUtil.js +2 -1
  490. package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +2 -1
  491. package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +2 -1
  492. package/Utils/Monitor/MonitorOverviewPresentationUtil.js +10 -1
  493. package/Utils/Monitor/MonitorRootCauseWording.js +28 -24
  494. package/Utils/Monitor/MonitorStatusHistoryUtil.d.mts +1 -0
  495. package/Utils/Monitor/MonitorStatusHistoryUtil.d.ts +1 -0
  496. package/Utils/Monitor/MonitorStatusHistoryUtil.js +1 -0
  497. package/Utils/Monitor/MonitorStepMetricQueries.js +2 -1
  498. package/Utils/Monitor/MonitorStepsValuesUtil.d.mts +13 -0
  499. package/Utils/Monitor/MonitorStepsValuesUtil.d.ts +13 -0
  500. package/Utils/Monitor/MonitorStepsValuesUtil.js +80 -0
  501. package/Utils/Monitor/MonitorStepsValuesUtil.mjs +2 -0
  502. package/Utils/Monitor/MonitorSummaryProbeUtil.d.mts +2 -0
  503. package/Utils/Monitor/MonitorSummaryProbeUtil.d.ts +2 -0
  504. package/Utils/Monitor/MonitorSummaryProbeUtil.js +13 -17
  505. package/Utils/Monitor/MonitorSummarySnapshotUtil.js +5 -3
  506. package/Utils/Monitor/MonitorUptimeSummaryUtil.d.mts +1 -1
  507. package/Utils/Monitor/MonitorUptimeSummaryUtil.d.ts +1 -1
  508. package/Utils/Monitor/MonitorUptimeSummaryUtil.js +1 -0
  509. package/Utils/Monitor/MonitoringOff.d.mts +20 -0
  510. package/Utils/Monitor/MonitoringOff.d.ts +20 -0
  511. package/Utils/Monitor/MonitoringOff.js +81 -0
  512. package/Utils/Monitor/MonitoringOff.mjs +4 -0
  513. package/Utils/Monitor/NotOperationalMonitorQuery.js +9 -7
  514. package/Utils/Monitor/StateChangeLogScreenshots.d.mts +8 -0
  515. package/Utils/Monitor/StateChangeLogScreenshots.d.ts +8 -0
  516. package/Utils/Monitor/StateChangeLogScreenshots.js +116 -0
  517. package/Utils/Monitor/StateChangeLogScreenshots.mjs +3 -0
  518. package/Utils/NetworkDevice/Naming/NamingLookup.d.mts +1 -1
  519. package/Utils/NetworkDevice/Naming/NamingLookup.d.ts +1 -1
  520. package/Utils/NetworkDevice/Naming/NamingLookup.js +14 -4
  521. package/Utils/NetworkDevice/Naming/NamingLookup.mjs +1 -0
  522. package/Utils/Slo/SloErrorBudgetPolicy.d.mts +2 -1
  523. package/Utils/Slo/SloErrorBudgetPolicy.d.ts +2 -1
  524. package/Utils/Slo/SloErrorBudgetPolicy.js +8 -2
  525. package/Utils/Slo/SloListWidgetFormat.d.mts +7 -1
  526. package/Utils/Slo/SloListWidgetFormat.d.ts +7 -1
  527. package/Utils/Slo/SloListWidgetFormat.js +20 -26
  528. package/Utils/Slo/SloOverviewText.d.mts +6 -1
  529. package/Utils/Slo/SloOverviewText.d.ts +6 -1
  530. package/Utils/Slo/SloOverviewText.js +3 -3
  531. package/Utils/Slo/SloProjection.d.mts +18 -0
  532. package/Utils/Slo/SloProjection.d.ts +18 -0
  533. package/Utils/Slo/SloProjection.js +53 -12
  534. package/Utils/Slo/SloProjection.mjs +2 -0
  535. package/Utils/Slo/SloUtil.d.mts +18 -9
  536. package/Utils/Slo/SloUtil.d.ts +18 -9
  537. package/Utils/Slo/SloUtil.js +47 -10
  538. package/Utils/Slo/SloWidgetFormat.d.mts +69 -11
  539. package/Utils/Slo/SloWidgetFormat.d.ts +69 -11
  540. package/Utils/Slo/SloWidgetFormat.js +198 -50
  541. package/Utils/Slo/SloWidgetFormat.mjs +7 -0
  542. package/Utils/StatusPage/FrozenMonitorResources.d.mts +41 -0
  543. package/Utils/StatusPage/FrozenMonitorResources.d.ts +41 -0
  544. package/Utils/StatusPage/FrozenMonitorResources.js +155 -0
  545. package/Utils/StatusPage/FrozenMonitorResources.mjs +4 -0
  546. package/Utils/StatusPage/GroupNestingLayout.d.mts +2 -0
  547. package/Utils/StatusPage/GroupNestingLayout.d.ts +2 -0
  548. package/Utils/StatusPage/GroupNestingLayout.js +12 -0
  549. package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.d.mts +48 -0
  550. package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.d.ts +48 -0
  551. package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.js +181 -0
  552. package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.mjs +2 -0
  553. package/Utils/StatusPage/ResourceExplorer.d.mts +1 -10
  554. package/Utils/StatusPage/ResourceExplorer.d.ts +1 -10
  555. package/Utils/StatusPage/ResourceExplorer.js +11 -29
  556. package/Utils/StatusPage/ResourceUptime.d.mts +6 -1
  557. package/Utils/StatusPage/ResourceUptime.d.ts +6 -1
  558. package/Utils/StatusPage/ResourceUptime.js +31 -6
  559. package/Utils/StatusPage/StatusPageSummaryBuilder.d.mts +1 -0
  560. package/Utils/StatusPage/StatusPageSummaryBuilder.d.ts +1 -0
  561. package/Utils/StatusPage/StatusPageSummaryBuilder.js +12 -1
  562. package/Utils/StatusPage/StatusPageUptimeTimezone.d.mts +41 -0
  563. package/Utils/StatusPage/StatusPageUptimeTimezone.d.ts +41 -0
  564. package/Utils/StatusPage/StatusPageUptimeTimezone.js +114 -0
  565. package/Utils/StatusPage/StatusPageUptimeTimezone.mjs +2 -0
  566. package/Utils/StatusPage/UptimeDailyAggregateUtil.d.mts +3 -1
  567. package/Utils/StatusPage/UptimeDailyAggregateUtil.d.ts +3 -1
  568. package/Utils/StatusPage/UptimeDailyAggregateUtil.js +69 -50
  569. package/Utils/Telemetry/CloudInstanceIdentity.js +12 -7
  570. package/Utils/Uptime/DayUptimeGraphUtil.d.mts +8 -0
  571. package/Utils/Uptime/DayUptimeGraphUtil.d.ts +8 -0
  572. package/Utils/Uptime/DayUptimeGraphUtil.js +41 -6
  573. package/Utils/Uptime/UptimeMaintenanceUtil.d.mts +3 -0
  574. package/Utils/Uptime/UptimeMaintenanceUtil.d.ts +3 -0
  575. package/Utils/Uptime/UptimeMaintenanceUtil.js +49 -0
  576. package/Utils/Uptime/UptimeUtil.d.mts +38 -1
  577. package/Utils/Uptime/UptimeUtil.d.ts +38 -1
  578. package/Utils/Uptime/UptimeUtil.js +270 -75
  579. package/Utils/Uptime/WorstStatusTimeline.d.mts +31 -0
  580. package/Utils/Uptime/WorstStatusTimeline.d.ts +31 -0
  581. package/Utils/Uptime/WorstStatusTimeline.js +190 -0
  582. package/Utils/Uptime/WorstStatusTimeline.mjs +2 -0
  583. package/Utils/Workspace/WorkspaceSummarySetup.d.mts +25 -0
  584. package/Utils/Workspace/WorkspaceSummarySetup.d.ts +25 -0
  585. package/Utils/Workspace/WorkspaceSummarySetup.js +215 -0
  586. package/Utils/Workspace/WorkspaceSummarySetup.mjs +11 -0
  587. package/package.json +1 -1
  588. package/Utils/StatusPage/ArchivedMonitorResources.d.mts +0 -10
  589. package/Utils/StatusPage/ArchivedMonitorResources.d.ts +0 -10
  590. package/Utils/StatusPage/ArchivedMonitorResources.js +0 -33
  591. package/Utils/StatusPage/ArchivedMonitorResources.mjs +0 -2
@@ -45,6 +45,7 @@ const ObjectID_1 = __importDefault(require("../ObjectID"));
45
45
  const Translator_1 = require("../Translator");
46
46
  const Typeof_1 = __importDefault(require("../Typeof"));
47
47
  const CriteriaFilter_1 = require("./CriteriaFilter");
48
+ const CriteriaFilterValues_1 = __importDefault(require("./CriteriaFilterValues"));
48
49
  const MonitorType_1 = __importStar(require("./MonitorType"));
49
50
  const NtpMonitorUtil_1 = require("./NtpMonitor/NtpMonitorUtil");
50
51
  /*
@@ -1972,6 +1973,19 @@ class MonitorCriteriaInstance extends DatabaseProperty_1.default {
1972
1973
  if (value.data.filters.length === 0) {
1973
1974
  return `Filter is required for criteria "${value.data.name}"`;
1974
1975
  }
1976
+ /*
1977
+ * A value no check reads - a condition "GreaterThn", an aggregation
1978
+ * "Mean value" - makes a filter that can never match, or reads its
1979
+ * window as nothing (CriteriaFilterValues).
1980
+ */
1981
+ const unreadable = CriteriaFilterValues_1.default.getUnreadableErrors({
1982
+ criteriaName: value.data.name,
1983
+ filterCondition: value.data.filterCondition,
1984
+ filters: value.data.filters,
1985
+ });
1986
+ if (unreadable.length > 0) {
1987
+ return unreadable[0];
1988
+ }
1975
1989
  /*
1976
1990
  * Each "when filters match, ..." action is validated only while its own
1977
1991
  * switch is on.
@@ -2212,11 +2226,17 @@ class MonitorCriteriaInstance extends DatabaseProperty_1.default {
2212
2226
  json["monitorStatusId"]["value"] !== null) {
2213
2227
  monitorStatusId = new ObjectID_1.default(json["monitorStatusId"]["value"]);
2214
2228
  }
2215
- const filterCondition = json["filterCondition"];
2229
+ /*
2230
+ * A value written another way - "any", "GreaterThan", ">" - is read as
2231
+ * the one it means; one that means none is kept as written, for a
2232
+ * write to refuse (CriteriaFilterValues).
2233
+ */
2234
+ const filterCondition = (CriteriaFilterValues_1.default.readFilterCondition(json["filterCondition"]) ||
2235
+ json["filterCondition"]);
2216
2236
  const filters = [];
2217
2237
  const incidents = [];
2218
2238
  for (const filter of json["filters"]) {
2219
- filters.push(Object.assign({}, filter));
2239
+ filters.push(CriteriaFilterValues_1.default.readFilter(Object.assign({}, filter)));
2220
2240
  }
2221
2241
  for (const incident of json["incidents"]) {
2222
2242
  incidents.push(Object.assign({}, incident));
@@ -74,6 +74,7 @@ exports.SYNTHETIC_MONITOR_BROWSER_REQUIRED_MESSAGE = "Pick at least one browser
74
74
  exports.SYNTHETIC_MONITOR_SCREEN_SIZE_REQUIRED_MESSAGE = "Pick at least one screen size to run the script at.";
75
75
  const MonitorStepTraceMonitor_1 = require("./MonitorStepTraceMonitor");
76
76
  const MonitorStepMetricMonitor_1 = require("./MonitorStepMetricMonitor");
77
+ const MonitorStepRollingTime_1 = __importDefault(require("./MonitorStepRollingTime"));
77
78
  const MonitorStepExceptionMonitor_1 = require("./MonitorStepExceptionMonitor");
78
79
  const MonitorStepProfileMonitor_1 = require("./MonitorStepProfileMonitor");
79
80
  const MonitorStepNetworkDeviceMonitor_1 = require("./MonitorStepNetworkDeviceMonitor");
@@ -867,6 +868,17 @@ class MonitorStep extends DatabaseProperty_1.default {
867
868
  return "IoT fleet is required";
868
869
  }
869
870
  }
871
+ /*
872
+ * A rolling time that means none read a window of no length: every
873
+ * check found no data (MonitorStepRollingTime).
874
+ */
875
+ const rollingTimeError = MonitorStepRollingTime_1.default.getUnreadableError({
876
+ monitorType: monitorType,
877
+ stepData: value.data,
878
+ });
879
+ if (rollingTimeError) {
880
+ return rollingTimeError;
881
+ }
870
882
  /*
871
883
  * An infrastructure monitor reads nothing but its metric queries. One
872
884
  * saved without a query - its alert template and metric both left
@@ -1143,38 +1155,43 @@ class MonitorStep extends DatabaseProperty_1.default {
1143
1155
  externalStatusPageMonitor: json["externalStatusPageMonitor"]
1144
1156
  ? json["externalStatusPageMonitor"]
1145
1157
  : undefined,
1158
+ /*
1159
+ * Each infrastructure type's settings with a rolling time written
1160
+ * another way ("15 minutes") read as the one it means, like
1161
+ * metricMonitor's (MonitorStepRollingTime).
1162
+ */
1146
1163
  kubernetesMonitor: json["kubernetesMonitor"]
1147
- ? json["kubernetesMonitor"]
1164
+ ? MonitorStepRollingTime_1.default.readSettings(json["kubernetesMonitor"])
1148
1165
  : undefined,
1149
1166
  dockerMonitor: json["dockerMonitor"]
1150
- ? json["dockerMonitor"]
1167
+ ? MonitorStepRollingTime_1.default.readSettings(json["dockerMonitor"])
1151
1168
  : undefined,
1152
1169
  hostMonitor: json["hostMonitor"]
1153
- ? json["hostMonitor"]
1170
+ ? MonitorStepRollingTime_1.default.readSettings(json["hostMonitor"])
1154
1171
  : undefined,
1155
1172
  podmanMonitor: json["podmanMonitor"]
1156
- ? json["podmanMonitor"]
1173
+ ? MonitorStepRollingTime_1.default.readSettings(json["podmanMonitor"])
1157
1174
  : undefined,
1158
1175
  proxmoxMonitor: json["proxmoxMonitor"]
1159
- ? json["proxmoxMonitor"]
1176
+ ? MonitorStepRollingTime_1.default.readSettings(json["proxmoxMonitor"])
1160
1177
  : undefined,
1161
1178
  openstackMonitor: json["openstackMonitor"]
1162
- ? json["openstackMonitor"]
1179
+ ? MonitorStepRollingTime_1.default.readSettings(json["openstackMonitor"])
1163
1180
  : undefined,
1164
1181
  vmwareMonitor: json["vmwareMonitor"]
1165
- ? json["vmwareMonitor"]
1182
+ ? MonitorStepRollingTime_1.default.readSettings(json["vmwareMonitor"])
1166
1183
  : undefined,
1167
1184
  dockerSwarmMonitor: json["dockerSwarmMonitor"]
1168
- ? json["dockerSwarmMonitor"]
1185
+ ? MonitorStepRollingTime_1.default.readSettings(json["dockerSwarmMonitor"])
1169
1186
  : undefined,
1170
1187
  cephMonitor: json["cephMonitor"]
1171
- ? json["cephMonitor"]
1188
+ ? MonitorStepRollingTime_1.default.readSettings(json["cephMonitor"])
1172
1189
  : undefined,
1173
1190
  storageArrayMonitor: json["storageArrayMonitor"]
1174
- ? json["storageArrayMonitor"]
1191
+ ? MonitorStepRollingTime_1.default.readSettings(json["storageArrayMonitor"])
1175
1192
  : undefined,
1176
1193
  iotMonitor: json["iotMonitor"]
1177
- ? json["iotMonitor"]
1194
+ ? MonitorStepRollingTime_1.default.readSettings(json["iotMonitor"])
1178
1195
  : undefined,
1179
1196
  /*
1180
1197
  * Normalized on the way in: each probe once, and nothing that is not
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.MonitorStepMetricMonitorUtil = void 0;
7
7
  const ObjectID_1 = __importDefault(require("../ObjectID"));
8
8
  const RollingTime_1 = __importDefault(require("../RollingTime/RollingTime"));
9
+ const MonitorStepRollingTime_1 = __importDefault(require("./MonitorStepRollingTime"));
9
10
  class MonitorStepMetricMonitorUtil {
10
11
  // Whether the step reads its window as one value per query (above).
11
12
  static aggregatesWholeWindow(monitorStepMetricMonitor) {
@@ -47,7 +48,11 @@ class MonitorStepMetricMonitorUtil {
47
48
  };
48
49
  }
49
50
  static fromJSON(json) {
50
- const monitorStepMetricMonitor = json;
51
+ /*
52
+ * A rolling time written another way ("15 minutes") is read as the one
53
+ * it means (MonitorStepRollingTime).
54
+ */
55
+ const monitorStepMetricMonitor = MonitorStepRollingTime_1.default.readSettings(json);
51
56
  /*
52
57
  * Normalize on the way in so no consumer ever receives a half-built
53
58
  * config. Persisted JSON is not schema-checked, so this is the single
@@ -0,0 +1,12 @@
1
+ import { JSONObject } from "../JSON.mjs";
2
+ import MonitorType from "./MonitorType.mjs";
3
+ export default class MonitorStepRollingTime {
4
+ static getMonitorTypes(): Array<MonitorType>;
5
+ static getStepKeys(): Array<string>;
6
+ static getStepKey(monitorType: MonitorType | undefined | null): string | null;
7
+ static readSettings(settings: JSONObject): JSONObject;
8
+ static getUnreadableError(data: {
9
+ monitorType: MonitorType | undefined | null;
10
+ stepData: unknown;
11
+ }): string | null;
12
+ }
@@ -0,0 +1,12 @@
1
+ import { JSONObject } from "../JSON";
2
+ import MonitorType from "./MonitorType";
3
+ export default class MonitorStepRollingTime {
4
+ static getMonitorTypes(): Array<MonitorType>;
5
+ static getStepKeys(): Array<string>;
6
+ static getStepKey(monitorType: MonitorType | undefined | null): string | null;
7
+ static readSettings(settings: JSONObject): JSONObject;
8
+ static getUnreadableError(data: {
9
+ monitorType: MonitorType | undefined | null;
10
+ stepData: unknown;
11
+ }): string | null;
12
+ }
@@ -0,0 +1,117 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const RollingTimeUtil_1 = __importDefault(require("../RollingTime/RollingTimeUtil"));
7
+ const MonitorType_1 = __importDefault(require("./MonitorType"));
8
+ /*
9
+ * THE ROLLING TIME OF A MONITOR STEP.
10
+ *
11
+ * Every metric-backed monitor type keeps how far back each check looks as
12
+ * `rollingTime` in its step settings, and a step's settings are stored as
13
+ * JSON that nothing checked. The API, Terraform, a workflow or an AI
14
+ * through the MCP server could store a rolling time OneUptime does not
15
+ * write - a Metrics monitor stored "15 minutes" - and no reader knew it:
16
+ * every check judged a window of no length, found no data, and a rule
17
+ * that triggers on no data opened an alert on every run.
18
+ *
19
+ * So a rolling time written another way is read as the one it means
20
+ * whenever a step is read (readSettings, from MonitorStep.fromJSON), and
21
+ * a write whose rolling time means none is refused (getUnreadableError,
22
+ * from MonitorStep.getValidationError and the server's
23
+ * MonitorStepsValuesUtil). CriteriaFilterValues does the same for the
24
+ * values of a criteria's filters.
25
+ */
26
+ /*
27
+ * Where each monitor type that reads a rolling time keeps its settings -
28
+ * the keys MonitorStepMetricQueries reads the same steps by.
29
+ */
30
+ const ROLLING_TIME_STEP_KEYS = {
31
+ [MonitorType_1.default.Metrics]: "metricMonitor",
32
+ [MonitorType_1.default.Kubernetes]: "kubernetesMonitor",
33
+ [MonitorType_1.default.Docker]: "dockerMonitor",
34
+ [MonitorType_1.default.Host]: "hostMonitor",
35
+ [MonitorType_1.default.Podman]: "podmanMonitor",
36
+ [MonitorType_1.default.DockerSwarm]: "dockerSwarmMonitor",
37
+ [MonitorType_1.default.Proxmox]: "proxmoxMonitor",
38
+ [MonitorType_1.default.OpenStack]: "openstackMonitor",
39
+ [MonitorType_1.default.VMware]: "vmwareMonitor",
40
+ [MonitorType_1.default.Ceph]: "cephMonitor",
41
+ [MonitorType_1.default.StorageArray]: "storageArrayMonitor",
42
+ [MonitorType_1.default.IoTDevice]: "iotMonitor",
43
+ };
44
+ // The longest part of a written value an error quotes back.
45
+ const MAX_QUOTED_LENGTH = 64;
46
+ const asObject = (value) => {
47
+ return value && typeof value === "object" && !Array.isArray(value)
48
+ ? value
49
+ : undefined;
50
+ };
51
+ // A written value, as an error quotes it back.
52
+ const describeWrittenValue = (value) => {
53
+ if (typeof value === "string") {
54
+ return JSON.stringify(value.length > MAX_QUOTED_LENGTH
55
+ ? `${value.slice(0, MAX_QUOTED_LENGTH)}…`
56
+ : value);
57
+ }
58
+ if (typeof value === "number" || typeof value === "boolean") {
59
+ return `${value}`;
60
+ }
61
+ return Array.isArray(value) ? "a list" : `a value of type ${typeof value}`;
62
+ };
63
+ class MonitorStepRollingTime {
64
+ // The monitor types whose steps keep a rolling time.
65
+ static getMonitorTypes() {
66
+ return Object.keys(ROLLING_TIME_STEP_KEYS);
67
+ }
68
+ // Every step settings key that keeps a rolling time.
69
+ static getStepKeys() {
70
+ return Object.values(ROLLING_TIME_STEP_KEYS);
71
+ }
72
+ // Where a monitor type keeps its rolling time; null for one that has none.
73
+ static getStepKey(monitorType) {
74
+ return (monitorType && ROLLING_TIME_STEP_KEYS[monitorType]) || null;
75
+ }
76
+ /*
77
+ * A step's settings as stored, with a rolling time written another way
78
+ * ("15 minutes", "PT15M") read as the one it means ("Past 15 Minutes").
79
+ * A rolling time OneUptime writes, none at all, and one that means none
80
+ * are left as they are: a missing one reads as the default, as it always
81
+ * has, and one that means none is for a write to refuse.
82
+ */
83
+ static readSettings(settings) {
84
+ const written = settings === null || settings === void 0 ? void 0 : settings["rollingTime"];
85
+ if (written === undefined ||
86
+ written === null ||
87
+ RollingTimeUtil_1.default.isRollingTime(written)) {
88
+ return settings;
89
+ }
90
+ const rollingTime = RollingTimeUtil_1.default.fromValue(written);
91
+ return rollingTime ? Object.assign(Object.assign({}, settings), { rollingTime }) : settings;
92
+ }
93
+ /*
94
+ * Why a step's rolling time cannot be read - it means no rolling time -
95
+ * or null when it can, or the step keeps none. Only the settings of the
96
+ * step's own monitor type are read: they are the ones its checks use.
97
+ * The words name the field, since the server's readers are API callers.
98
+ */
99
+ static getUnreadableError(data) {
100
+ var _a;
101
+ const stepKey = MonitorStepRollingTime.getStepKey(data.monitorType);
102
+ if (!stepKey) {
103
+ return null;
104
+ }
105
+ const settings = asObject((_a = asObject(data.stepData)) === null || _a === void 0 ? void 0 : _a[stepKey]);
106
+ const written = settings === null || settings === void 0 ? void 0 : settings["rollingTime"];
107
+ // None at all reads as the default, as it always has.
108
+ if (written === undefined || written === null || written === "") {
109
+ return null;
110
+ }
111
+ if (RollingTimeUtil_1.default.fromValue(written)) {
112
+ return null;
113
+ }
114
+ return `${stepKey}.rollingTime ${describeWrittenValue(written)} is not a rolling time. Use one of ${RollingTimeUtil_1.default.getValuesText()} - or a length exactly as long as one of them, such as "15 minutes", "1h" or "PT15M".`;
115
+ }
116
+ }
117
+ exports.default = MonitorStepRollingTime;
@@ -0,0 +1,2 @@
1
+ import commonJsModule from "./MonitorStepRollingTime.js";
2
+ export default commonJsModule.default;
@@ -0,0 +1,2 @@
1
+ export declare const RETIRED_EVALUATION_TEMPLATES: ReadonlyMap<string, string>;
2
+ export declare const currentEvaluationTemplate: (template: string) => string;
@@ -0,0 +1,2 @@
1
+ export declare const RETIRED_EVALUATION_TEMPLATES: ReadonlyMap<string, string>;
2
+ export declare const currentEvaluationTemplate: (template: string) => string;
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.currentEvaluationTemplate = exports.RETIRED_EVALUATION_TEMPLATES = void 0;
4
+ /*
5
+ * SENTENCES THE MONITOR ENGINE NO LONGER WRITES, AND THE ONES IN THEIR PLACE.
6
+ *
7
+ * A finding is stored as the sentence it was filled from (EvaluationSentence):
8
+ * its English template, which is the key the Dashboard's locale files word
9
+ * it under, and its values. When a template is reworded, the old key leaves
10
+ * the locale files, but incidents, alerts and evaluation logs written before
11
+ * still hold it. Each retired template is listed here with the one that took
12
+ * its place - the same placeholders, saying the same thing - and a stored
13
+ * sentence is read through its current template (wordStoredEvaluationText),
14
+ * so an old finding reads in the reader's language, in the new words, like a
15
+ * new one. The English stored beside it, which emails, chat messages and the
16
+ * API read, stays as it was written.
17
+ *
18
+ * Add a line when you reword a template the engine stores; never remove one
19
+ * while records written with it may still be read. A retired template is not
20
+ * a locale key, and the template in its place must be one
21
+ * (RetiredEvaluationTemplates.test.ts holds both).
22
+ */
23
+ exports.RETIRED_EVALUATION_TEMPLATES = new Map([
24
+ /*
25
+ * Issue #6581: "which is contains" and its kin, a comma short of a whole
26
+ * sentence (CompareCriteria.getCompareSentence).
27
+ */
28
+ [
29
+ "{{subject}} is {{values}} which is greater than {{threshold}}.",
30
+ "{{subject}} is {{values}}, which is greater than {{threshold}}.",
31
+ ],
32
+ [
33
+ "{{subject}} is {{values}} which is greater than or equal to {{threshold}}.",
34
+ "{{subject}} is {{values}}, which is greater than or equal to {{threshold}}.",
35
+ ],
36
+ [
37
+ "{{subject}} is {{values}} which is less than {{threshold}}.",
38
+ "{{subject}} is {{values}}, which is less than {{threshold}}.",
39
+ ],
40
+ [
41
+ "{{subject}} is {{values}} which is less than or equal to {{threshold}}.",
42
+ "{{subject}} is {{values}}, which is less than or equal to {{threshold}}.",
43
+ ],
44
+ [
45
+ "{{subject}} is {{values}} which is not equal to {{threshold}}.",
46
+ "{{subject}} is {{values}}, which is not equal to {{threshold}}.",
47
+ ],
48
+ [
49
+ "{{subject}} is {{values}} which is equal to {{threshold}}.",
50
+ "{{subject}} is {{values}}, which is equal to {{threshold}}.",
51
+ ],
52
+ [
53
+ "{{subject}} is {{values}} which is contains {{threshold}}.",
54
+ "{{subject}} is {{values}}, which contains {{threshold}}.",
55
+ ],
56
+ [
57
+ "{{subject}} is {{values}} which is does not contain {{threshold}}.",
58
+ "{{subject}} is {{values}}, which does not contain {{threshold}}.",
59
+ ],
60
+ [
61
+ "{{subject}} is {{values}} which is starts with {{threshold}}.",
62
+ "{{subject}} is {{values}}, which starts with {{threshold}}.",
63
+ ],
64
+ [
65
+ "{{subject}} is {{values}} which is ends with {{threshold}}.",
66
+ "{{subject}} is {{values}}, which ends with {{threshold}}.",
67
+ ],
68
+ ["{{subject}} is {{values}} which is", "{{subject}} is {{values}}."],
69
+ /*
70
+ * Issue #6581: the response headers' findings, which read alike for a
71
+ * header's name and a header's value (APIRequestCriteria).
72
+ */
73
+ [
74
+ "Response header contains {{text}}.",
75
+ "The response has the header {{text}}.",
76
+ ],
77
+ [
78
+ "Response header does not contain {{text}}.",
79
+ "The response does not have the header {{text}}.",
80
+ ],
81
+ [
82
+ "Response header threshold contains {{text}}.",
83
+ "A response header has the value {{text}}.",
84
+ ],
85
+ [
86
+ "Response header threshold does not contain {{text}}.",
87
+ "No response header has the value {{text}}.",
88
+ ],
89
+ ]);
90
+ // The template a stored sentence is read with: its current one.
91
+ const currentEvaluationTemplate = (template) => {
92
+ var _a;
93
+ return (_a = exports.RETIRED_EVALUATION_TEMPLATES.get(template)) !== null && _a !== void 0 ? _a : template;
94
+ };
95
+ exports.currentEvaluationTemplate = currentEvaluationTemplate;
@@ -0,0 +1,3 @@
1
+ import commonJsModule from "./RetiredEvaluationTemplates.js";
2
+ export const RETIRED_EVALUATION_TEMPLATES = commonJsModule.RETIRED_EVALUATION_TEMPLATES;
3
+ export const currentEvaluationTemplate = commonJsModule.currentEvaluationTemplate;
@@ -0,0 +1,6 @@
1
+ declare enum CertificateRevocationCheckMethod {
2
+ StapledOcsp = "Stapled OCSP",
3
+ Ocsp = "OCSP",
4
+ Crl = "CRL"
5
+ }
6
+ export default CertificateRevocationCheckMethod;
@@ -0,0 +1,6 @@
1
+ declare enum CertificateRevocationCheckMethod {
2
+ StapledOcsp = "Stapled OCSP",
3
+ Ocsp = "OCSP",
4
+ Crl = "CRL"
5
+ }
6
+ export default CertificateRevocationCheckMethod;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /*
4
+ * Where the probe got the answer to "has the issuer revoked this
5
+ * certificate?". English values, shown as they are.
6
+ */
7
+ var CertificateRevocationCheckMethod;
8
+ (function (CertificateRevocationCheckMethod) {
9
+ /*
10
+ * The OCSP response the server sent with its certificate in the TLS
11
+ * handshake ("OCSP stapling"), signed by the issuer. Checking it costs no
12
+ * extra request.
13
+ */
14
+ CertificateRevocationCheckMethod["StapledOcsp"] = "Stapled OCSP";
15
+ // The issuer's OCSP responder, named in the certificate.
16
+ CertificateRevocationCheckMethod["Ocsp"] = "OCSP";
17
+ // The issuer's certificate revocation list, named in the certificate.
18
+ CertificateRevocationCheckMethod["Crl"] = "CRL";
19
+ })(CertificateRevocationCheckMethod || (CertificateRevocationCheckMethod = {}));
20
+ exports.default = CertificateRevocationCheckMethod;
@@ -0,0 +1,2 @@
1
+ import commonJsModule from "./CertificateRevocationCheckMethod.js";
2
+ export default commonJsModule.default;
@@ -0,0 +1,6 @@
1
+ declare enum CertificateRevocationStatus {
2
+ NotRevoked = "Not Revoked",
3
+ Revoked = "Revoked",
4
+ Unknown = "Unknown"
5
+ }
6
+ export default CertificateRevocationStatus;
@@ -0,0 +1,6 @@
1
+ declare enum CertificateRevocationStatus {
2
+ NotRevoked = "Not Revoked",
3
+ Revoked = "Revoked",
4
+ Unknown = "Unknown"
5
+ }
6
+ export default CertificateRevocationStatus;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /*
4
+ * Whether the issuer of a certificate has revoked it, as the probe found out
5
+ * from the issuer itself: an OCSP response or a certificate revocation list
6
+ * (CRL) the issuer signed.
7
+ *
8
+ * A certificate can pass every check a TLS library makes - a trusted issuer,
9
+ * a matching host name, dates that include today - and still be one its
10
+ * issuer has withdrawn. Node (OpenSSL) never asks the issuer, so before the
11
+ * probe asked, a revoked certificate read as valid while browsers refused it
12
+ * with SEC_ERROR_REVOKED_CERTIFICATE / NET::ERR_CERT_REVOKED.
13
+ *
14
+ * The values are English, like CheckOn's, because they are shown as they are.
15
+ */
16
+ var CertificateRevocationStatus;
17
+ (function (CertificateRevocationStatus) {
18
+ // The issuer's signed answer says the certificate is not revoked.
19
+ CertificateRevocationStatus["NotRevoked"] = "Not Revoked";
20
+ // The issuer's signed answer says the certificate is revoked.
21
+ CertificateRevocationStatus["Revoked"] = "Revoked";
22
+ /*
23
+ * No signed answer could be had: the certificate names no OCSP responder
24
+ * and no CRL, none answered in time, or what came back could not be
25
+ * verified. Like a browser, the probe does not treat this as revoked.
26
+ */
27
+ CertificateRevocationStatus["Unknown"] = "Unknown";
28
+ })(CertificateRevocationStatus || (CertificateRevocationStatus = {}));
29
+ exports.default = CertificateRevocationStatus;
@@ -0,0 +1,2 @@
1
+ import commonJsModule from "./CertificateRevocationStatus.js";
2
+ export default commonJsModule.default;
@@ -1,8 +1,15 @@
1
+ import CertificateRevocationCheckMethod from "./CertificateRevocationCheckMethod.mjs";
2
+ import CertificateRevocationStatus from "./CertificateRevocationStatus.mjs";
1
3
  export default interface SslMonitorResponse {
2
4
  isValidCertificate?: boolean | undefined;
3
5
  certificateValidationError?: string | undefined;
4
6
  certificateValidationErrorCode?: string | undefined;
5
7
  isSelfSigned?: boolean | undefined;
8
+ revocationStatus?: CertificateRevocationStatus | undefined;
9
+ revocationCheckMethod?: CertificateRevocationCheckMethod | undefined;
10
+ revokedAt?: Date | undefined;
11
+ revocationReason?: string | undefined;
12
+ revocationCheckError?: string | undefined;
6
13
  createdAt?: Date | undefined;
7
14
  expiresAt?: Date | undefined;
8
15
  commonName?: string | undefined;
@@ -1,8 +1,15 @@
1
+ import CertificateRevocationCheckMethod from "./CertificateRevocationCheckMethod";
2
+ import CertificateRevocationStatus from "./CertificateRevocationStatus";
1
3
  export default interface SslMonitorResponse {
2
4
  isValidCertificate?: boolean | undefined;
3
5
  certificateValidationError?: string | undefined;
4
6
  certificateValidationErrorCode?: string | undefined;
5
7
  isSelfSigned?: boolean | undefined;
8
+ revocationStatus?: CertificateRevocationStatus | undefined;
9
+ revocationCheckMethod?: CertificateRevocationCheckMethod | undefined;
10
+ revokedAt?: Date | undefined;
11
+ revocationReason?: string | undefined;
12
+ revocationCheckError?: string | undefined;
6
13
  createdAt?: Date | undefined;
7
14
  expiresAt?: Date | undefined;
8
15
  commonName?: string | undefined;
@@ -304,6 +304,12 @@ const FriendlyLabelNames = {
304
304
  "oneuptime.data.pipeline.name": "Pipeline",
305
305
  "oneuptime.data.pipeline.namespace": "Pipeline Namespace",
306
306
  "oneuptime.data.pipeline.id": "Pipeline ID",
307
+ // Each Power BI dataset whose refresh failed (DataBiRefreshCheck) is its BI tool's.
308
+ "oneuptime.data.bi.dataset.name": "Dataset",
309
+ "oneuptime.data.bi.workspace.name": "Workspace",
310
+ "oneuptime.data.bi.connection.name": "BI Tool",
311
+ "oneuptime.data.bi.dataset.id": "Dataset ID",
312
+ "oneuptime.data.bi.connection.id": "BI Tool ID",
307
313
  // --- Services / RUM / telemetry ---
308
314
  "service.name": "Service",
309
315
  "oneuptime.service.name": "Service",
@@ -479,9 +485,14 @@ const LabelPriority = {
479
485
  "oneuptime.data.store.name": 40,
480
486
  "oneuptime.data.pipeline.name": 25,
481
487
  "oneuptime.data.pipeline.namespace": 35,
488
+ "oneuptime.data.bi.dataset.name": 25,
489
+ "oneuptime.data.bi.workspace.name": 35,
490
+ "oneuptime.data.bi.connection.name": 40,
482
491
  "oneuptime.data.table.id": 95,
483
492
  "oneuptime.data.store.id": 95,
484
493
  "oneuptime.data.pipeline.id": 95,
494
+ "oneuptime.data.bi.dataset.id": 95,
495
+ "oneuptime.data.bi.connection.id": 95,
485
496
  "k8s.namespace.name": 50,
486
497
  "service.namespace": 50,
487
498
  "k8s.node.name": 60,
@@ -20,6 +20,7 @@ export default interface ServerMonitorResponse {
20
20
  basicInfrastructureMetrics?: BasicInfrastructureMetrics | undefined;
21
21
  requestReceivedAt: Date;
22
22
  onlyCheckRequestReceivedAt: boolean;
23
+ dataReceivedAt?: Date | undefined;
23
24
  processes?: ServerProcess[] | undefined;
24
25
  failureCause?: string | undefined;
25
26
  timeNow?: Date | undefined;
@@ -20,6 +20,7 @@ export default interface ServerMonitorResponse {
20
20
  basicInfrastructureMetrics?: BasicInfrastructureMetrics | undefined;
21
21
  requestReceivedAt: Date;
22
22
  onlyCheckRequestReceivedAt: boolean;
23
+ dataReceivedAt?: Date | undefined;
23
24
  processes?: ServerProcess[] | undefined;
24
25
  failureCause?: string | undefined;
25
26
  timeNow?: Date | undefined;
@@ -7,7 +7,7 @@ exports.TelemetryAlertRuleShapeProblem = exports.TelemetryAlertRuleRecovery = ex
7
7
  const FilterCondition_1 = __importDefault(require("../Filter/FilterCondition"));
8
8
  const MetricQueryCloudAggregation_1 = __importDefault(require("../../Utils/Metrics/MetricQueryCloudAggregation"));
9
9
  const ObjectID_1 = __importDefault(require("../ObjectID"));
10
- const RollingTime_1 = __importDefault(require("../RollingTime/RollingTime"));
10
+ const RollingTimeUtil_1 = __importDefault(require("../RollingTime/RollingTimeUtil"));
11
11
  const CriteriaFilter_1 = require("./CriteriaFilter");
12
12
  const MonitorCriteria_1 = __importDefault(require("./MonitorCriteria"));
13
13
  const MonitorCriteriaInstance_1 = __importDefault(require("./MonitorCriteriaInstance"));
@@ -249,9 +249,14 @@ class TelemetryAlertRuleUtil {
249
249
  return undefined;
250
250
  }
251
251
  }
252
+ /*
253
+ * The window the step's checks read: one written another way ("15
254
+ * minutes") is the one it means, and one that means none - or none at
255
+ * all - the default, as the worker reads it.
256
+ */
252
257
  static getRollingTime(monitorStep) {
253
258
  var _a, _b;
254
- return (((_b = (_a = monitorStep.data) === null || _a === void 0 ? void 0 : _a.metricMonitor) === null || _b === void 0 ? void 0 : _b.rollingTime) || RollingTime_1.default.Past1Minute);
259
+ return RollingTimeUtil_1.default.fromValueOrDefault((_b = (_a = monitorStep.data) === null || _a === void 0 ? void 0 : _a.metricMonitor) === null || _b === void 0 ? void 0 : _b.rollingTime);
255
260
  }
256
261
  /*
257
262
  * The aliases a metric rule can compare: every query's and formula's