@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
@@ -16,8 +16,10 @@ const NumericColumnValue_1 = require("../Database/NumericColumnValue");
16
16
  * (Project.auditLogsRetentionInDays): a whole number of days from 7 to 180,
17
17
  * and 7 until someone sets another. The recorder stamps each entry with it
18
18
  * as it records it - the entry's retentionDate, which the AuditLog table's
19
- * TTL deletes it on - and a failing audit log export reckons with it when
20
- * the entries it has not sent are deleted, to warn a day before.
19
+ * TTL deletes it on. A failing audit log export reads those stamps back to
20
+ * warn a day before the first of the entries it has not sent is deleted,
21
+ * and reckons with the retention as it is now only when it cannot read
22
+ * them: a retention changed since moves no stamp (#6563).
21
23
  *
22
24
  * The two used to work it out each their own way, and the server took any
23
25
  * value: the settings form checked 7 to 180, but the API took -3, 0 or 3.
@@ -32,8 +34,9 @@ const NumericColumnValue_1 = require("../Database/NumericColumnValue");
32
34
  * from 7 to 180 - -3, 0 and 3 as 7, 500 as 180;
33
35
  * - getAuditLogRetentionDate: when an entry recorded at a moment is
34
36
  * deleted, that many calendar days later by the server's clock
35
- * (OneUptimeDate.addRemoveDays) - the retentionDate the recorder stamps
36
- * and the moment a failing export reckons;
37
+ * (OneUptimeDate.addRemoveDays) - the retentionDate the recorder stamps,
38
+ * and the moment a failing export reckons when it cannot read the
39
+ * stamps;
37
40
  * - getAuditLogRetentionError: why a value cannot be saved, which
38
41
  * ProjectService refuses a create or an update with. The settings form
39
42
  * checks the same range in the browser.
@@ -0,0 +1,45 @@
1
+ import AuditLogAction from "./AuditLogAction.mjs";
2
+ import ObjectID from "../ObjectID.mjs";
3
+ import { SessionEndCause } from "../UserSession/SessionEndCause.mjs";
4
+ import { SessionSignIn } from "../UserSession/SessionSignIn.mjs";
5
+ export declare const AUDIT_LOG_SESSION_RESOURCE_TYPE: string;
6
+ export declare const AUDIT_LOG_SESSION_ROOT_RESOURCE_TYPE: string;
7
+ export declare const AUDIT_LOG_SESSION_UNKNOWN_DEVICE: string;
8
+ export type SessionAuditLogAction = AuditLogAction.SignIn | AuditLogAction.SignOut | AuditLogAction.SessionTimeout | AuditLogAction.SessionRevoked;
9
+ export declare const SESSION_AUDIT_LOG_ACTIONS: ReadonlyArray<SessionAuditLogAction>;
10
+ export declare const isSessionAuditLogAction: (action: unknown) => action is SessionAuditLogAction;
11
+ export declare const getSessionEndAuditLogAction: (cause: SessionEndCause) => SessionAuditLogAction;
12
+ export declare const SESSION_END_CAUSE_DESCRIPTIONS: Readonly<Record<SessionEndCause, string>>;
13
+ export declare enum AuditLogSessionField {
14
+ Reason = "reason",
15
+ SignInMethod = "signInMethod",
16
+ SsoProvider = "ssoProvider",
17
+ SecondFactor = "secondFactor",
18
+ Device = "device",
19
+ IpAddress = "ipAddress",
20
+ Location = "location",
21
+ SignedInAt = "signedInAt",
22
+ LastActiveAt = "lastActiveAt",
23
+ EndedAt = "endedAt"
24
+ }
25
+ export declare const AUDIT_LOG_SESSION_FIELDS: ReadonlyArray<AuditLogSessionField>;
26
+ export declare const AUDIT_LOG_SESSION_FIELD_LABELS: Readonly<Record<AuditLogSessionField, string>>;
27
+ export declare const AUDIT_LOG_SESSION_TIME_FIELDS: ReadonlyArray<AuditLogSessionField>;
28
+ export interface SessionAuditEvent {
29
+ action: SessionAuditLogAction;
30
+ userId: ObjectID;
31
+ sessionId: ObjectID;
32
+ signIn?: SessionSignIn | null | undefined;
33
+ device?: string | undefined;
34
+ ipAddress?: string | undefined;
35
+ location?: string | undefined;
36
+ signedInAt?: Date | undefined;
37
+ lastActiveAt?: Date | undefined;
38
+ endedAt?: Date | undefined;
39
+ endCause?: SessionEndCause | undefined;
40
+ }
41
+ export declare const readSessionEntryFields: (changes: unknown) => Map<AuditLogSessionField, string>;
42
+ export declare const getSessionEntrySummary: (data: {
43
+ action: string | undefined;
44
+ changes: unknown;
45
+ }) => string;
@@ -0,0 +1,45 @@
1
+ import AuditLogAction from "./AuditLogAction";
2
+ import ObjectID from "../ObjectID";
3
+ import { SessionEndCause } from "../UserSession/SessionEndCause";
4
+ import { SessionSignIn } from "../UserSession/SessionSignIn";
5
+ export declare const AUDIT_LOG_SESSION_RESOURCE_TYPE: string;
6
+ export declare const AUDIT_LOG_SESSION_ROOT_RESOURCE_TYPE: string;
7
+ export declare const AUDIT_LOG_SESSION_UNKNOWN_DEVICE: string;
8
+ export type SessionAuditLogAction = AuditLogAction.SignIn | AuditLogAction.SignOut | AuditLogAction.SessionTimeout | AuditLogAction.SessionRevoked;
9
+ export declare const SESSION_AUDIT_LOG_ACTIONS: ReadonlyArray<SessionAuditLogAction>;
10
+ export declare const isSessionAuditLogAction: (action: unknown) => action is SessionAuditLogAction;
11
+ export declare const getSessionEndAuditLogAction: (cause: SessionEndCause) => SessionAuditLogAction;
12
+ export declare const SESSION_END_CAUSE_DESCRIPTIONS: Readonly<Record<SessionEndCause, string>>;
13
+ export declare enum AuditLogSessionField {
14
+ Reason = "reason",
15
+ SignInMethod = "signInMethod",
16
+ SsoProvider = "ssoProvider",
17
+ SecondFactor = "secondFactor",
18
+ Device = "device",
19
+ IpAddress = "ipAddress",
20
+ Location = "location",
21
+ SignedInAt = "signedInAt",
22
+ LastActiveAt = "lastActiveAt",
23
+ EndedAt = "endedAt"
24
+ }
25
+ export declare const AUDIT_LOG_SESSION_FIELDS: ReadonlyArray<AuditLogSessionField>;
26
+ export declare const AUDIT_LOG_SESSION_FIELD_LABELS: Readonly<Record<AuditLogSessionField, string>>;
27
+ export declare const AUDIT_LOG_SESSION_TIME_FIELDS: ReadonlyArray<AuditLogSessionField>;
28
+ export interface SessionAuditEvent {
29
+ action: SessionAuditLogAction;
30
+ userId: ObjectID;
31
+ sessionId: ObjectID;
32
+ signIn?: SessionSignIn | null | undefined;
33
+ device?: string | undefined;
34
+ ipAddress?: string | undefined;
35
+ location?: string | undefined;
36
+ signedInAt?: Date | undefined;
37
+ lastActiveAt?: Date | undefined;
38
+ endedAt?: Date | undefined;
39
+ endCause?: SessionEndCause | undefined;
40
+ }
41
+ export declare const readSessionEntryFields: (changes: unknown) => Map<AuditLogSessionField, string>;
42
+ export declare const getSessionEntrySummary: (data: {
43
+ action: string | undefined;
44
+ changes: unknown;
45
+ }) => string;
@@ -0,0 +1,210 @@
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
+ exports.getSessionEntrySummary = exports.readSessionEntryFields = exports.AUDIT_LOG_SESSION_TIME_FIELDS = exports.AUDIT_LOG_SESSION_FIELD_LABELS = exports.AUDIT_LOG_SESSION_FIELDS = exports.AuditLogSessionField = exports.SESSION_END_CAUSE_DESCRIPTIONS = exports.getSessionEndAuditLogAction = exports.isSessionAuditLogAction = exports.SESSION_AUDIT_LOG_ACTIONS = exports.AUDIT_LOG_SESSION_UNKNOWN_DEVICE = exports.AUDIT_LOG_SESSION_ROOT_RESOURCE_TYPE = exports.AUDIT_LOG_SESSION_RESOURCE_TYPE = void 0;
7
+ const AuditLogAction_1 = __importDefault(require("./AuditLogAction"));
8
+ const SessionEndCause_1 = require("../UserSession/SessionEndCause");
9
+ const SessionLength_1 = require("../UserSession/SessionLength");
10
+ /*
11
+ * PEOPLE'S SESSIONS IN THE AUDIT LOG (issue #6762).
12
+ *
13
+ * The audit log records who changed what - and, as compliance reviews ask
14
+ * of it too, who signed in, how and from where, and how each session ended:
15
+ *
16
+ * - Sign In: a session started, by any way into OneUptime - a password or
17
+ * a sign-in link with the account's second factor, a passkey, Google,
18
+ * Microsoft, Vercel, or a SAML or OpenID Connect provider.
19
+ * - Sign Out: its person signed out.
20
+ * - Session Timeout: OneUptime ended it on time - the server's idle
21
+ * timeout or session length, or 30 days without use.
22
+ * - Session Revoked: OneUptime ended it because something changed - the
23
+ * password, a blocked account, two factor authentication reset or
24
+ * required by a server admin.
25
+ *
26
+ * WHERE: in every project the person is a member of (they accepted an
27
+ * invitation to one of its teams) that records audit logs. A sign-in is to
28
+ * OneUptime, and so to each of their projects at once. Recorded whether or
29
+ * not the project stores system events, like everything a person does: a
30
+ * session is theirs, whoever or whatever ended it.
31
+ *
32
+ * WHAT AN ENTRY SAYS:
33
+ *
34
+ * - its resource is the session itself: a User Session, by the session's
35
+ * id - so a session's sign-in and its end share an id - named by the
36
+ * device it signed in from ("Chrome 130 on macOS"), and rolling up to
37
+ * its person (User, by their id);
38
+ * - its actor is the person whose session it is, so filtering the audit
39
+ * log by their email shows every sign-in and session end of theirs;
40
+ * - its fields (`changes`) say how and from where it signed in, and why
41
+ * and when it ended (AuditLogSessionField).
42
+ *
43
+ * Nothing a client wrote reaches an entry, and nothing secret: the device is
44
+ * described only in words OneUptime spells out (UserAgentDevice), as the
45
+ * security emails describe it, and an entry never carries a token or the
46
+ * raw User-Agent. A project's own SSO provider is named only in that
47
+ * project's audit log (SessionSignIn.ssoProjectId).
48
+ */
49
+ // The resource of every session entry: the session (UserSession's singular name).
50
+ exports.AUDIT_LOG_SESSION_RESOURCE_TYPE = "User Session";
51
+ // What every session entry rolls up to: the person whose session it is.
52
+ exports.AUDIT_LOG_SESSION_ROOT_RESOURCE_TYPE = "User";
53
+ // What a session entry is named when the device it signed in from is unknown.
54
+ exports.AUDIT_LOG_SESSION_UNKNOWN_DEVICE = "Unknown device";
55
+ exports.SESSION_AUDIT_LOG_ACTIONS = [
56
+ AuditLogAction_1.default.SignIn,
57
+ AuditLogAction_1.default.SignOut,
58
+ AuditLogAction_1.default.SessionTimeout,
59
+ AuditLogAction_1.default.SessionRevoked,
60
+ ];
61
+ const isSessionAuditLogAction = (action) => {
62
+ return (typeof action === "string" &&
63
+ exports.SESSION_AUDIT_LOG_ACTIONS.includes(action));
64
+ };
65
+ exports.isSessionAuditLogAction = isSessionAuditLogAction;
66
+ // The action a session's end is recorded as.
67
+ const getSessionEndAuditLogAction = (cause) => {
68
+ switch (cause) {
69
+ case SessionEndCause_1.SessionEndCause.SignedOut:
70
+ return AuditLogAction_1.default.SignOut;
71
+ case SessionEndCause_1.SessionEndCause.IdleTimeout:
72
+ case SessionEndCause_1.SessionEndCause.LengthReached:
73
+ case SessionEndCause_1.SessionEndCause.Expired:
74
+ return AuditLogAction_1.default.SessionTimeout;
75
+ default:
76
+ return AuditLogAction_1.default.SessionRevoked;
77
+ }
78
+ };
79
+ exports.getSessionEndAuditLogAction = getSessionEndAuditLogAction;
80
+ // What an entry says of why a session ended.
81
+ exports.SESSION_END_CAUSE_DESCRIPTIONS = {
82
+ [SessionEndCause_1.SessionEndCause.SignedOut]: "Signed out",
83
+ [SessionEndCause_1.SessionEndCause.IdleTimeout]: "Idle timeout reached",
84
+ [SessionEndCause_1.SessionEndCause.LengthReached]: "Session length reached",
85
+ [SessionEndCause_1.SessionEndCause.Expired]: `Not used for ${SessionLength_1.DEFAULT_SESSION_IDLE_DAYS} days`,
86
+ [SessionEndCause_1.SessionEndCause.PasswordChanged]: "Password changed",
87
+ [SessionEndCause_1.SessionEndCause.PasswordReset]: "Password reset",
88
+ [SessionEndCause_1.SessionEndCause.AccountBlocked]: "Account blocked by a server admin",
89
+ [SessionEndCause_1.SessionEndCause.TwoFactorRequired]: "Two-factor authentication required by a server admin",
90
+ [SessionEndCause_1.SessionEndCause.TwoFactorReset]: "Two-factor authentication reset by a server admin",
91
+ [SessionEndCause_1.SessionEndCause.Other]: "Session ended",
92
+ };
93
+ /*
94
+ * The fields of a session entry, as its `changes` carry them: each one a
95
+ * { field, newValue } with a text or an ISO 8601 time, in this order, and
96
+ * only when it is known.
97
+ */
98
+ var AuditLogSessionField;
99
+ (function (AuditLogSessionField) {
100
+ // Why it ended: SESSION_END_CAUSE_DESCRIPTIONS. Not on a sign-in.
101
+ AuditLogSessionField["Reason"] = "reason";
102
+ AuditLogSessionField["SignInMethod"] = "signInMethod";
103
+ // The single sign-on provider's name.
104
+ AuditLogSessionField["SsoProvider"] = "ssoProvider";
105
+ AuditLogSessionField["SecondFactor"] = "secondFactor";
106
+ // The device it signed in from: "Chrome 130 on macOS".
107
+ AuditLogSessionField["Device"] = "device";
108
+ /*
109
+ * The address of the request the entry is about - the sign-in's, the
110
+ * sign-out's - or, for a session OneUptime ended, the last one that
111
+ * session was used from.
112
+ */
113
+ AuditLogSessionField["IpAddress"] = "ipAddress";
114
+ // Where it signed in from, when the operator names the CDN headers that say it.
115
+ AuditLogSessionField["Location"] = "location";
116
+ // When it signed in. Not on a sign-in: the entry's own time says it.
117
+ AuditLogSessionField["SignedInAt"] = "signedInAt";
118
+ // When its person last used it, as OneUptime knew.
119
+ AuditLogSessionField["LastActiveAt"] = "lastActiveAt";
120
+ /*
121
+ * When it timed out: the moment its idle timeout, session length or
122
+ * refresh token ran out, which can be before the moment OneUptime
123
+ * noticed and recorded it.
124
+ */
125
+ AuditLogSessionField["EndedAt"] = "endedAt";
126
+ })(AuditLogSessionField || (exports.AuditLogSessionField = AuditLogSessionField = {}));
127
+ exports.AUDIT_LOG_SESSION_FIELDS = [
128
+ AuditLogSessionField.Reason,
129
+ AuditLogSessionField.SignInMethod,
130
+ AuditLogSessionField.SsoProvider,
131
+ AuditLogSessionField.SecondFactor,
132
+ AuditLogSessionField.Device,
133
+ AuditLogSessionField.IpAddress,
134
+ AuditLogSessionField.Location,
135
+ AuditLogSessionField.SignedInAt,
136
+ AuditLogSessionField.LastActiveAt,
137
+ AuditLogSessionField.EndedAt,
138
+ ];
139
+ exports.AUDIT_LOG_SESSION_FIELD_LABELS = {
140
+ [AuditLogSessionField.Reason]: "Reason",
141
+ [AuditLogSessionField.SignInMethod]: "Signed in with",
142
+ [AuditLogSessionField.SsoProvider]: "SSO provider",
143
+ [AuditLogSessionField.SecondFactor]: "Second factor",
144
+ [AuditLogSessionField.Device]: "Device",
145
+ [AuditLogSessionField.IpAddress]: "IP address",
146
+ [AuditLogSessionField.Location]: "Location",
147
+ [AuditLogSessionField.SignedInAt]: "Signed in at",
148
+ [AuditLogSessionField.LastActiveAt]: "Last active at",
149
+ [AuditLogSessionField.EndedAt]: "Timed out at",
150
+ };
151
+ // The fields whose values are times, which a reader shows in its own zone.
152
+ exports.AUDIT_LOG_SESSION_TIME_FIELDS = [
153
+ AuditLogSessionField.SignedInAt,
154
+ AuditLogSessionField.LastActiveAt,
155
+ AuditLogSessionField.EndedAt,
156
+ ];
157
+ /*
158
+ * The text fields of a session entry, by field, as its `changes` hold them:
159
+ * a change of a field this file names, with a text value. Anything else an
160
+ * entry holds is left out.
161
+ */
162
+ const readSessionEntryFields = (changes) => {
163
+ const fields = new Map();
164
+ if (!Array.isArray(changes)) {
165
+ return fields;
166
+ }
167
+ for (const change of changes) {
168
+ if (!change || typeof change !== "object" || Array.isArray(change)) {
169
+ continue;
170
+ }
171
+ const field = change["field"];
172
+ const value = change["newValue"];
173
+ if (typeof field !== "string" ||
174
+ !exports.AUDIT_LOG_SESSION_FIELDS.includes(field) ||
175
+ typeof value !== "string" ||
176
+ value.trim().length === 0) {
177
+ continue;
178
+ }
179
+ fields.set(field, value);
180
+ }
181
+ return fields;
182
+ };
183
+ exports.readSessionEntryFields = readSessionEntryFields;
184
+ /*
185
+ * A session entry in a few words, for the audit log's table: how it signed
186
+ * in ("Password + Authenticator app", "SAML single sign-on · Okta"), or why
187
+ * it ended ("Idle timeout reached").
188
+ */
189
+ const getSessionEntrySummary = (data) => {
190
+ const fields = (0, exports.readSessionEntryFields)(data.changes);
191
+ if (data.action === AuditLogAction_1.default.SignIn) {
192
+ const method = fields.get(AuditLogSessionField.SignInMethod);
193
+ if (!method) {
194
+ return "Signed in";
195
+ }
196
+ const secondFactor = fields.get(AuditLogSessionField.SecondFactor);
197
+ const provider = fields.get(AuditLogSessionField.SsoProvider);
198
+ let summary = method;
199
+ if (secondFactor) {
200
+ summary = `${summary} + ${secondFactor}`;
201
+ }
202
+ if (provider) {
203
+ summary = `${summary} · ${provider}`;
204
+ }
205
+ return summary;
206
+ }
207
+ return (fields.get(AuditLogSessionField.Reason) ||
208
+ exports.SESSION_END_CAUSE_DESCRIPTIONS[SessionEndCause_1.SessionEndCause.Other]);
209
+ };
210
+ exports.getSessionEntrySummary = getSessionEntrySummary;
@@ -0,0 +1,14 @@
1
+ import commonJsModule from "./AuditLogSessionEvent.js";
2
+ export const AUDIT_LOG_SESSION_FIELDS = commonJsModule.AUDIT_LOG_SESSION_FIELDS;
3
+ export const AUDIT_LOG_SESSION_FIELD_LABELS = commonJsModule.AUDIT_LOG_SESSION_FIELD_LABELS;
4
+ export const AUDIT_LOG_SESSION_RESOURCE_TYPE = commonJsModule.AUDIT_LOG_SESSION_RESOURCE_TYPE;
5
+ export const AUDIT_LOG_SESSION_ROOT_RESOURCE_TYPE = commonJsModule.AUDIT_LOG_SESSION_ROOT_RESOURCE_TYPE;
6
+ export const AUDIT_LOG_SESSION_TIME_FIELDS = commonJsModule.AUDIT_LOG_SESSION_TIME_FIELDS;
7
+ export const AUDIT_LOG_SESSION_UNKNOWN_DEVICE = commonJsModule.AUDIT_LOG_SESSION_UNKNOWN_DEVICE;
8
+ export const AuditLogSessionField = commonJsModule.AuditLogSessionField;
9
+ export const SESSION_AUDIT_LOG_ACTIONS = commonJsModule.SESSION_AUDIT_LOG_ACTIONS;
10
+ export const SESSION_END_CAUSE_DESCRIPTIONS = commonJsModule.SESSION_END_CAUSE_DESCRIPTIONS;
11
+ export const getSessionEndAuditLogAction = commonJsModule.getSessionEndAuditLogAction;
12
+ export const getSessionEntrySummary = commonJsModule.getSessionEntrySummary;
13
+ export const isSessionAuditLogAction = commonJsModule.isSessionAuditLogAction;
14
+ export const readSessionEntryFields = commonJsModule.readSessionEntryFields;
@@ -36,6 +36,10 @@ export declare enum RemediationRoundTryAgainRefusal {
36
36
  NoProvider = "NoProvider",
37
37
  CreditsUsedUp = "CreditsUsedUp",
38
38
  LimitReached = "LimitReached",
39
+ IncidentTokenLimitPaused = "IncidentTokenLimitPaused",
40
+ IncidentTokenLimitUsedUp = "IncidentTokenLimitUsedUp",
41
+ AlertTokenLimitPaused = "AlertTokenLimitPaused",
42
+ AlertTokenLimitUsedUp = "AlertTokenLimitUsedUp",
39
43
  NotStarted = "NotStarted"
40
44
  }
41
45
  export declare const REMEDIATION_ROUND_TRY_AGAIN_REFUSALS: Readonly<Record<RemediationRoundTryAgainRefusal, string>>;
@@ -36,6 +36,10 @@ export declare enum RemediationRoundTryAgainRefusal {
36
36
  NoProvider = "NoProvider",
37
37
  CreditsUsedUp = "CreditsUsedUp",
38
38
  LimitReached = "LimitReached",
39
+ IncidentTokenLimitPaused = "IncidentTokenLimitPaused",
40
+ IncidentTokenLimitUsedUp = "IncidentTokenLimitUsedUp",
41
+ AlertTokenLimitPaused = "AlertTokenLimitPaused",
42
+ AlertTokenLimitUsedUp = "AlertTokenLimitUsedUp",
39
43
  NotStarted = "NotStarted"
40
44
  }
41
45
  export declare const REMEDIATION_ROUND_TRY_AGAIN_REFUSALS: Readonly<Record<RemediationRoundTryAgainRefusal, string>>;
@@ -30,7 +30,10 @@
30
30
  *
31
31
  * Shared by the server (the routes, the runners' tool) and the Dashboard
32
32
  * (the step, and the refusals in the reader's language), so both read the
33
- * same shapes and say the same sentences. Dependency-free.
33
+ * same shapes and say the same sentences. Dependency-free, but for the
34
+ * words of an incident's or alert's daily AI token limit, which every
35
+ * message about it shares (Types/AI/RecordAiTokenLimit, itself
36
+ * dependency-free).
34
37
  */
35
38
  Object.defineProperty(exports, "__esModule", { value: true });
36
39
  exports.MAX_ROUND_CHECK_ERROR_LENGTH = exports.MAX_ROUND_CHECK_WHY_LENGTH = exports.MAX_ROUND_CHECKS = exports.REMEDIATION_ROUND_TRY_AGAIN_NOT_ALLOWED = exports.REMEDIATION_ROUND_TRY_AGAIN_REFUSALS = exports.RemediationRoundTryAgainRefusal = exports.MAX_ROUND_COMMAND_LENGTH = exports.MAX_RULED_OUT_FIX_COMMANDS = exports.MAX_RULED_OUT_WHY_NOT_LENGTH = exports.MAX_RULED_OUT_FIX_LENGTH = exports.MAX_RULED_OUT_FIXES = exports.MAX_EXPLANATION_REASON_LENGTH = exports.EXPLAIN_NO_FIX_TOOL_NAME = exports.REMEDIATION_ROUND_TRY_AGAIN_PATH = exports.REMEDIATION_ROUND_PATH = void 0;
@@ -40,6 +43,7 @@ exports.hasRemediationRoundAppliedSteps = hasRemediationRoundAppliedSteps;
40
43
  exports.getRemediationRoundTryAgainRefusal = getRemediationRoundTryAgainRefusal;
41
44
  exports.parseRemediationRoundChecks = parseRemediationRoundChecks;
42
45
  exports.parseRemediationRoundAppliedSteps = parseRemediationRoundAppliedSteps;
46
+ const RecordAiTokenLimit_1 = require("../AI/RecordAiTokenLimit");
43
47
  exports.REMEDIATION_ROUND_PATH = "/auto-remediation/round";
44
48
  exports.REMEDIATION_ROUND_TRY_AGAIN_PATH = "/auto-remediation/round-try-again";
45
49
  /*
@@ -152,7 +156,16 @@ var RemediationRoundTryAgainRefusal;
152
156
  RemediationRoundTryAgainRefusal["AiOff"] = "AiOff";
153
157
  RemediationRoundTryAgainRefusal["NoProvider"] = "NoProvider";
154
158
  RemediationRoundTryAgainRefusal["CreditsUsedUp"] = "CreditsUsedUp";
159
+ // The project's own daily AI limits (Project Settings → AI → AI Features).
155
160
  RemediationRoundTryAgainRefusal["LimitReached"] = "LimitReached";
161
+ /*
162
+ * The incident's (alert's) own daily AI token limit (#7157): set to 0,
163
+ * which pauses the work until it is raised, or used up until midnight UTC.
164
+ */
165
+ RemediationRoundTryAgainRefusal["IncidentTokenLimitPaused"] = "IncidentTokenLimitPaused";
166
+ RemediationRoundTryAgainRefusal["IncidentTokenLimitUsedUp"] = "IncidentTokenLimitUsedUp";
167
+ RemediationRoundTryAgainRefusal["AlertTokenLimitPaused"] = "AlertTokenLimitPaused";
168
+ RemediationRoundTryAgainRefusal["AlertTokenLimitUsedUp"] = "AlertTokenLimitUsedUp";
156
169
  // The queue did not take it, for no reason it could name.
157
170
  RemediationRoundTryAgainRefusal["NotStarted"] = "NotStarted";
158
171
  })(RemediationRoundTryAgainRefusal || (exports.RemediationRoundTryAgainRefusal = RemediationRoundTryAgainRefusal = {}));
@@ -165,9 +178,13 @@ exports.REMEDIATION_ROUND_TRY_AGAIN_REFUSALS = {
165
178
  [RemediationRoundTryAgainRefusal.AlertResolved]: "This alert is resolved, so OneUptime AI does not try to fix it.",
166
179
  [RemediationRoundTryAgainRefusal.AlreadyStarted]: "Someone has just started this fix again.",
167
180
  [RemediationRoundTryAgainRefusal.AiOff]: "OneUptime AI is switched off for this project. A project owner or someone with Manage Billing can turn it on in Project Settings > AI > AI Features.",
168
- [RemediationRoundTryAgainRefusal.NoProvider]: "This project has no AI provider to work out a fix with. Add one in Project Settings > AI > LLM Providers, then try again.",
181
+ [RemediationRoundTryAgainRefusal.NoProvider]: "This project has no LLM provider to work out a fix with. Add one in Project Settings > AI > LLM Providers, then try again.",
169
182
  [RemediationRoundTryAgainRefusal.CreditsUsedUp]: "This project's AI credits are used up. A project owner or someone with Manage Billing can add AI credits in Project Settings > AI > AI Credits.",
170
183
  [RemediationRoundTryAgainRefusal.LimitReached]: "The project reached its daily AI limit. OneUptime AI starts again at midnight UTC.",
184
+ [RemediationRoundTryAgainRefusal.IncidentTokenLimitPaused]: (0, RecordAiTokenLimit_1.getRecordAiTokenLimitMessage)("incident", { limitInTokens: 0 }),
185
+ [RemediationRoundTryAgainRefusal.IncidentTokenLimitUsedUp]: (0, RecordAiTokenLimit_1.getRecordAiTokenLimitMessage)("incident"),
186
+ [RemediationRoundTryAgainRefusal.AlertTokenLimitPaused]: (0, RecordAiTokenLimit_1.getRecordAiTokenLimitMessage)("alert", { limitInTokens: 0 }),
187
+ [RemediationRoundTryAgainRefusal.AlertTokenLimitUsedUp]: (0, RecordAiTokenLimit_1.getRecordAiTokenLimitMessage)("alert"),
171
188
  [RemediationRoundTryAgainRefusal.NotStarted]: "The fix could not start again. Try again in a few minutes.",
172
189
  };
173
190
  function getRemediationRoundTryAgainRefusal(refusal) {
@@ -13,6 +13,7 @@ export interface ParsedRoundName {
13
13
  name: string;
14
14
  round: number;
15
15
  }
16
+ export declare function parseClusterRoundName(name: unknown): ParsedRoundName | null;
16
17
  export declare function parseResourceRoundName(name: unknown, resourceType: AiResourceType | string | null | undefined): ParsedRoundName | null;
17
18
  export declare const REMEDIATION_ROUND_SENTENCES: {
18
19
  cluster: string;
@@ -13,6 +13,7 @@ export interface ParsedRoundName {
13
13
  name: string;
14
14
  round: number;
15
15
  }
16
+ export declare function parseClusterRoundName(name: unknown): ParsedRoundName | null;
16
17
  export declare function parseResourceRoundName(name: unknown, resourceType: AiResourceType | string | null | undefined): ParsedRoundName | null;
17
18
  export declare const REMEDIATION_ROUND_SENTENCES: {
18
19
  cluster: string;
@@ -9,6 +9,7 @@ exports.getClusterRoundNameSnapshot = getClusterRoundNameSnapshot;
9
9
  exports.parseClusterRoundNameSnapshot = parseClusterRoundNameSnapshot;
10
10
  exports.getResourceRoundNameSnapshot = getResourceRoundNameSnapshot;
11
11
  exports.parseResourceRoundNumber = parseResourceRoundNumber;
12
+ exports.parseClusterRoundName = parseClusterRoundName;
12
13
  exports.parseResourceRoundName = parseResourceRoundName;
13
14
  exports.describeRemediationRoundName = describeRemediationRoundName;
14
15
  const AiResourceType_1 = __importDefault(require("../ResourceAiAgent/AiResourceType"));
@@ -107,6 +108,10 @@ function toRound(text) {
107
108
  const round = text ? parseInt(text, 10) : 1;
108
109
  return Number.isFinite(round) && round > 1 ? round : 1;
109
110
  }
111
+ /*
112
+ * A cluster round's name read back: the cluster's name and which round,
113
+ * or null when the name is not a cluster round's.
114
+ */
110
115
  function parseClusterRoundName(name) {
111
116
  if (typeof name !== "string") {
112
117
  return null;
@@ -6,6 +6,7 @@ export const describeRemediationRoundName = commonJsModule.describeRemediationRo
6
6
  export const getClusterRoundNameSnapshot = commonJsModule.getClusterRoundNameSnapshot;
7
7
  export const getRemediationRoundResourceNoun = commonJsModule.getRemediationRoundResourceNoun;
8
8
  export const getResourceRoundNameSnapshot = commonJsModule.getResourceRoundNameSnapshot;
9
+ export const parseClusterRoundName = commonJsModule.parseClusterRoundName;
9
10
  export const parseClusterRoundNameSnapshot = commonJsModule.parseClusterRoundNameSnapshot;
10
11
  export const parseResourceRoundName = commonJsModule.parseResourceRoundName;
11
12
  export const parseResourceRoundNumber = commonJsModule.parseResourceRoundNumber;
@@ -0,0 +1,9 @@
1
+ export declare enum CloudAppTelemetrySignal {
2
+ Traces = "traces",
3
+ Logs = "logs",
4
+ Metrics = "metrics",
5
+ Profiles = "profiles"
6
+ }
7
+ export type CloudAppSignalColumn = "tracesLastReceivedAt" | "logsLastReceivedAt" | "metricsLastReceivedAt";
8
+ export declare const CLOUD_APP_SIGNAL_COLUMNS: Readonly<Partial<Record<CloudAppTelemetrySignal, CloudAppSignalColumn>>>;
9
+ export declare function getCloudAppSignalColumn(signal: CloudAppTelemetrySignal | null | undefined): CloudAppSignalColumn | null;
@@ -0,0 +1,9 @@
1
+ export declare enum CloudAppTelemetrySignal {
2
+ Traces = "traces",
3
+ Logs = "logs",
4
+ Metrics = "metrics",
5
+ Profiles = "profiles"
6
+ }
7
+ export type CloudAppSignalColumn = "tracesLastReceivedAt" | "logsLastReceivedAt" | "metricsLastReceivedAt";
8
+ export declare const CLOUD_APP_SIGNAL_COLUMNS: Readonly<Partial<Record<CloudAppTelemetrySignal, CloudAppSignalColumn>>>;
9
+ export declare function getCloudAppSignalColumn(signal: CloudAppTelemetrySignal | null | undefined): CloudAppSignalColumn | null;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /*
3
+ * THE KINDS OF TELEMETRY AN APP PLATFORMS APP SENDS.
4
+ *
5
+ * An App Platforms app (CloudApp) is made from whatever telemetry its
6
+ * instances send - traces, logs, metrics or profiles - and its page draws
7
+ * different numbers from each: requests, error rate and latency from its
8
+ * traces, its instances' CPU and memory from their metrics. So the ingest of
9
+ * each kind marks when it last received that kind for the app, one column
10
+ * each (CLOUD_APP_SIGNAL_COLUMNS, named as a RUM application's are:
11
+ * RumTelemetrySignal), and the page can say "No traces received" where it
12
+ * would otherwise show a zero it never measured (issue #6770: an App Service
13
+ * app that sent only metrics read "Running", "0 requests", "0 instances",
14
+ * with nothing to say why).
15
+ *
16
+ * Shared by the ingest (OtelIngestBaseService, CloudAppService) and the
17
+ * dashboard (CloudAppTelemetrySetup), so the two name the kinds alike.
18
+ */
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ exports.CLOUD_APP_SIGNAL_COLUMNS = exports.CloudAppTelemetrySignal = void 0;
21
+ exports.getCloudAppSignalColumn = getCloudAppSignalColumn;
22
+ var CloudAppTelemetrySignal;
23
+ (function (CloudAppTelemetrySignal) {
24
+ CloudAppTelemetrySignal["Traces"] = "traces";
25
+ CloudAppTelemetrySignal["Logs"] = "logs";
26
+ CloudAppTelemetrySignal["Metrics"] = "metrics";
27
+ // Profiles keep the app seen, and have no column of their own on it.
28
+ CloudAppTelemetrySignal["Profiles"] = "profiles";
29
+ })(CloudAppTelemetrySignal || (exports.CloudAppTelemetrySignal = CloudAppTelemetrySignal = {}));
30
+ // The CloudApp column each kind is marked on. Profiles mark none.
31
+ exports.CLOUD_APP_SIGNAL_COLUMNS = {
32
+ [CloudAppTelemetrySignal.Traces]: "tracesLastReceivedAt",
33
+ [CloudAppTelemetrySignal.Logs]: "logsLastReceivedAt",
34
+ [CloudAppTelemetrySignal.Metrics]: "metricsLastReceivedAt",
35
+ };
36
+ function getCloudAppSignalColumn(signal) {
37
+ if (!signal) {
38
+ return null;
39
+ }
40
+ return exports.CLOUD_APP_SIGNAL_COLUMNS[signal] || null;
41
+ }
@@ -0,0 +1,4 @@
1
+ import commonJsModule from "./CloudAppTelemetrySignal.js";
2
+ export const CLOUD_APP_SIGNAL_COLUMNS = commonJsModule.CLOUD_APP_SIGNAL_COLUMNS;
3
+ export const CloudAppTelemetrySignal = commonJsModule.CloudAppTelemetrySignal;
4
+ export const getCloudAppSignalColumn = commonJsModule.getCloudAppSignalColumn;
@@ -193,8 +193,14 @@ exports.MANAGED_CLOUD_PLATFORMS = [
193
193
  productName: "Azure App Service",
194
194
  description: (0, Translator_1.translationKey)("Web apps on Azure App Service."),
195
195
  docsUrl: "/docs/telemetry/cloud-other-platforms",
196
+ /*
197
+ * The Collector's and the Go SDK's `azureappservice` detectors put
198
+ * WEBSITE_INSTANCE_ID in azure.app_service.instance.id; the Node.js
199
+ * and .NET Azure detectors put it in service.instance.id. Either
200
+ * names the same instance.
201
+ */
196
202
  detection: "detector",
197
- instanceAttribute: "host.id",
203
+ instanceAttribute: "azure.app_service.instance.id",
198
204
  // The App Service detector names the site and its deployment slot.
199
205
  appAttributes: [SERVICE_NAME_ATTRIBUTE],
200
206
  appGroupAttributes: DEPLOYMENT_ENVIRONMENT_ATTRIBUTES,
@@ -1,4 +1,5 @@
1
1
  import { CloudProvider } from "./CloudPlatform.mjs";
2
+ import { Translator } from "../Translator.mjs";
2
3
  export declare enum CloudServiceModel {
3
4
  IaaS = "iaas",
4
5
  PaaS = "paas"
@@ -70,6 +71,7 @@ export interface CloudNamedOnlyResourceType {
70
71
  export declare const NAMED_ONLY_RESOURCE_TYPES: ReadonlyArray<CloudNamedOnlyResourceType>;
71
72
  export declare function getReadableCloudResourceType(type: string | null | undefined): string;
72
73
  export declare function getCloudResourceTypeDisplayName(provider: string | null | undefined, type: string | null | undefined): string;
74
+ export declare function getCloudResourceTypeText(provider: string | null | undefined, type: string | null | undefined, translator: Pick<Translator, "translateText">): string;
73
75
  export declare function getCanonicalCloudResourceType(provider: string, type: string): string;
74
76
  export declare function getAwsCloudWatchRulesForNamespace(namespace: string): ReadonlyArray<AwsCloudWatchResourceRule>;
75
77
  export declare const AWS_CLOUDWATCH_DISCOVERY_NAMESPACES: ReadonlyArray<string>;
@@ -1,4 +1,5 @@
1
1
  import { CloudProvider } from "./CloudPlatform";
2
+ import { Translator } from "../Translator";
2
3
  export declare enum CloudServiceModel {
3
4
  IaaS = "iaas",
4
5
  PaaS = "paas"
@@ -70,6 +71,7 @@ export interface CloudNamedOnlyResourceType {
70
71
  export declare const NAMED_ONLY_RESOURCE_TYPES: ReadonlyArray<CloudNamedOnlyResourceType>;
71
72
  export declare function getReadableCloudResourceType(type: string | null | undefined): string;
72
73
  export declare function getCloudResourceTypeDisplayName(provider: string | null | undefined, type: string | null | undefined): string;
74
+ export declare function getCloudResourceTypeText(provider: string | null | undefined, type: string | null | undefined, translator: Pick<Translator, "translateText">): string;
73
75
  export declare function getCanonicalCloudResourceType(provider: string, type: string): string;
74
76
  export declare function getAwsCloudWatchRulesForNamespace(namespace: string): ReadonlyArray<AwsCloudWatchResourceRule>;
75
77
  export declare const AWS_CLOUDWATCH_DISCOVERY_NAMESPACES: ReadonlyArray<string>;
@@ -7,6 +7,7 @@ exports.isInventoryOnlyCloudResourceType = isInventoryOnlyCloudResourceType;
7
7
  exports.getCloudResourceTypeLabel = getCloudResourceTypeLabel;
8
8
  exports.getReadableCloudResourceType = getReadableCloudResourceType;
9
9
  exports.getCloudResourceTypeDisplayName = getCloudResourceTypeDisplayName;
10
+ exports.getCloudResourceTypeText = getCloudResourceTypeText;
10
11
  exports.getCanonicalCloudResourceType = getCanonicalCloudResourceType;
11
12
  exports.getAwsCloudWatchRulesForNamespace = getAwsCloudWatchRulesForNamespace;
12
13
  exports.getGcpMonitoredResourceRule = getGcpMonitoredResourceRule;
@@ -1405,9 +1406,11 @@ function getReadableCloudResourceType(type) {
1405
1406
  return trimmed;
1406
1407
  }
1407
1408
  /*
1408
- * What a page calls a resource of this type: the catalog's label, a named
1409
- * only type's (Subnet, Security Group), else the type in words
1410
- * (getReadableCloudResourceType). For a page only: what is stored - a
1409
+ * What a page calls a resource of this type, in English: the catalog's
1410
+ * label, a named only type's (Subnet, Security Group), else the type in
1411
+ * words (getReadableCloudResourceType). A list of resources, which never
1412
+ * holds a named only type, draws it as it comes; where one can be named, a
1413
+ * page draws getCloudResourceTypeText. For a page only: what is stored - a
1411
1414
  * resource's name, a rule, the AI's facts - keeps getCloudResourceTypeLabel,
1412
1415
  * whose fallback is the type as the cloud spells it.
1413
1416
  */
@@ -1424,6 +1427,33 @@ function getCloudResourceTypeDisplayName(provider, type) {
1424
1427
  }
1425
1428
  return getReadableCloudResourceType(type);
1426
1429
  }
1430
+ // The words the catalog lists its types under: the clouds' product names.
1431
+ const LISTED_TYPE_LABELS = new Set(exports.CLOUD_RESOURCE_TYPES.map((descriptor) => {
1432
+ return descriptor.label;
1433
+ }));
1434
+ /*
1435
+ * A resource type's name as a page draws it, by one rule on every page
1436
+ * (#7659). The catalog's labels are the clouds' product names - "Virtual
1437
+ * Machine", "EC2 Instance", "Cloud Run Service" - drawn as written in every
1438
+ * language: as the docs' tables list them, as a resource's name carries
1439
+ * them ("web-01 (Virtual Machine)"), and as the lists, the Type filters and
1440
+ * their chips, the topology and a resource's own page draw them. So is a
1441
+ * type in words ("Transit Gateway (EC2)"). Only a named only type's label
1442
+ * is a common noun, drawn in the reader's language ("Subred") - unless a
1443
+ * listed type is called the same ("Instance Group", "Network Interface",
1444
+ * "KMS Key"): those words are a product's name, and one resource reads the
1445
+ * same whether OneUptime holds it or only a link to it.
1446
+ */
1447
+ function getCloudResourceTypeText(provider, type, translator) {
1448
+ const name = getCloudResourceTypeDisplayName(provider, type);
1449
+ if (!provider ||
1450
+ !type ||
1451
+ LISTED_TYPE_LABELS.has(name) ||
1452
+ !NAMED_ONLY_LABELS.has(typeLookupKey(provider, type))) {
1453
+ return name;
1454
+ }
1455
+ return translator.translateText(name) || name;
1456
+ }
1427
1457
  /*
1428
1458
  * The type spelled the way the catalog spells it - Azure Monitor's
1429
1459
  * `Microsoft.ServiceBus/Namespaces` becomes `Microsoft.ServiceBus/namespaces`