@oneuptime/common 14.0.108 → 14.0.110

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (711) hide show
  1. package/Models/AnalyticsModels/AuditLog.js +1 -1
  2. package/Models/AnalyticsModels/SecurityEvent.js +1 -1
  3. package/Models/DatabaseModels/AIInsight.js +2 -2
  4. package/Models/DatabaseModels/Alert.js +2 -2
  5. package/Models/DatabaseModels/AlertEpisode.js +2 -2
  6. package/Models/DatabaseModels/AlertEpisodeOnCallRule.js +3 -3
  7. package/Models/DatabaseModels/AlertGroupingRule.d.mts +1 -0
  8. package/Models/DatabaseModels/AlertGroupingRule.d.ts +1 -0
  9. package/Models/DatabaseModels/AlertGroupingRule.js +48 -2
  10. package/Models/DatabaseModels/AlertOnCallRule.js +3 -3
  11. package/Models/DatabaseModels/AlertSeverity.js +13 -4
  12. package/Models/DatabaseModels/AlertState.js +1 -1
  13. package/Models/DatabaseModels/CallLog.js +12 -12
  14. package/Models/DatabaseModels/CloudApp.d.mts +5 -0
  15. package/Models/DatabaseModels/CloudApp.d.ts +5 -0
  16. package/Models/DatabaseModels/CloudApp.js +112 -0
  17. package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.mts +2 -0
  18. package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.ts +2 -0
  19. package/Models/DatabaseModels/EmailLog.js +12 -12
  20. package/Models/DatabaseModels/FormSubmission.js +2 -2
  21. package/Models/DatabaseModels/GlobalConfig.d.mts +6 -0
  22. package/Models/DatabaseModels/GlobalConfig.d.ts +6 -0
  23. package/Models/DatabaseModels/GlobalConfig.js +139 -0
  24. package/Models/DatabaseModels/Incident.js +2 -2
  25. package/Models/DatabaseModels/IncidentEpisode.js +2 -2
  26. package/Models/DatabaseModels/IncidentEpisodeOnCallRule.js +3 -3
  27. package/Models/DatabaseModels/IncidentGroupingRule.d.mts +1 -0
  28. package/Models/DatabaseModels/IncidentGroupingRule.d.ts +1 -0
  29. package/Models/DatabaseModels/IncidentGroupingRule.js +48 -2
  30. package/Models/DatabaseModels/IncidentOnCallRule.js +3 -3
  31. package/Models/DatabaseModels/IncidentSeverity.js +13 -4
  32. package/Models/DatabaseModels/IncidentState.js +1 -1
  33. package/Models/DatabaseModels/IncidentTemplate.js +2 -2
  34. package/Models/DatabaseModels/Index.js +7 -0
  35. package/Models/DatabaseModels/Monitor.js +17 -3
  36. package/Models/DatabaseModels/MonitorStatusTimeline.d.mts +1 -0
  37. package/Models/DatabaseModels/MonitorStatusTimeline.d.ts +1 -0
  38. package/Models/DatabaseModels/MonitorStatusTimeline.js +43 -0
  39. package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
  40. package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
  41. package/Models/DatabaseModels/NetworkDevice.js +41 -0
  42. package/Models/DatabaseModels/OnCallDutyPolicy.js +4 -2
  43. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRule.js +1 -1
  44. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleSchedule.js +8 -5
  45. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleTeam.js +5 -2
  46. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleUser.js +5 -2
  47. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +4 -0
  48. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +4 -0
  49. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +141 -8
  50. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.js +10 -7
  51. package/Models/DatabaseModels/OnCallDutyPolicyFeed.js +14 -11
  52. package/Models/DatabaseModels/OnCallDutyPolicyOwnerTeam.js +7 -4
  53. package/Models/DatabaseModels/OnCallDutyPolicyOwnerUser.js +7 -4
  54. package/Models/DatabaseModels/OnCallDutyPolicySchedule.js +6 -3
  55. package/Models/DatabaseModels/OnCallDutyPolicyScheduleCalendarFeed.js +4 -4
  56. package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayer.js +3 -3
  57. package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayerUser.js +6 -6
  58. package/Models/DatabaseModels/OnCallDutyPolicyTimeLog.js +9 -6
  59. package/Models/DatabaseModels/ProductFeedback.d.mts +11 -0
  60. package/Models/DatabaseModels/ProductFeedback.d.ts +11 -0
  61. package/Models/DatabaseModels/ProductFeedback.js +203 -0
  62. package/Models/DatabaseModels/ProductFeedback.mjs +2 -0
  63. package/Models/DatabaseModels/Project.d.mts +8 -0
  64. package/Models/DatabaseModels/Project.d.ts +8 -0
  65. package/Models/DatabaseModels/Project.js +333 -2
  66. package/Models/DatabaseModels/ProjectMilestone.d.mts +11 -0
  67. package/Models/DatabaseModels/ProjectMilestone.d.ts +11 -0
  68. package/Models/DatabaseModels/ProjectMilestone.js +207 -0
  69. package/Models/DatabaseModels/ProjectMilestone.mjs +2 -0
  70. package/Models/DatabaseModels/ProjectUserPreference.d.mts +11 -0
  71. package/Models/DatabaseModels/ProjectUserPreference.d.ts +11 -0
  72. package/Models/DatabaseModels/ProjectUserPreference.js +194 -0
  73. package/Models/DatabaseModels/ProjectUserPreference.mjs +2 -0
  74. package/Models/DatabaseModels/ProxmoxCluster.d.mts +1 -0
  75. package/Models/DatabaseModels/ProxmoxCluster.d.ts +1 -0
  76. package/Models/DatabaseModels/ProxmoxCluster.js +52 -3
  77. package/Models/DatabaseModels/PushNotificationLog.js +12 -12
  78. package/Models/DatabaseModels/Reseller.js +8 -2
  79. package/Models/DatabaseModels/ResellerPlan.js +8 -2
  80. package/Models/DatabaseModels/RumSessionPin.js +16 -2
  81. package/Models/DatabaseModels/RumSessionReplayView.js +8 -1
  82. package/Models/DatabaseModels/ScheduledMaintenance.js +6 -3
  83. package/Models/DatabaseModels/ScheduledMaintenanceInternalNote.js +7 -4
  84. package/Models/DatabaseModels/ScheduledMaintenanceMeasurementValue.js +2 -2
  85. package/Models/DatabaseModels/ScheduledMaintenancePublicNote.js +7 -4
  86. package/Models/DatabaseModels/ScheduledMaintenanceStateTimeline.js +1 -1
  87. package/Models/DatabaseModels/SecurityCase.js +8 -1
  88. package/Models/DatabaseModels/Service.js +1 -1
  89. package/Models/DatabaseModels/ServiceLevelObjectiveBurnRateRule.js +4 -4
  90. package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.js +4 -4
  91. package/Models/DatabaseModels/SmsLog.js +12 -12
  92. package/Models/DatabaseModels/StatusPage.js +5 -5
  93. package/Models/DatabaseModels/StatusPageSubscriber.js +2 -2
  94. package/Models/DatabaseModels/TelegramLog.js +12 -12
  95. package/Models/DatabaseModels/TelemetryIngestionKey.js +8 -5
  96. package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.js +7 -4
  97. package/Models/DatabaseModels/User.d.mts +6 -0
  98. package/Models/DatabaseModels/User.d.ts +6 -0
  99. package/Models/DatabaseModels/User.js +152 -0
  100. package/Models/DatabaseModels/UserOnCallLog.js +38 -10
  101. package/Models/DatabaseModels/UserOnCallLogTimeline.js +13 -3
  102. package/Models/DatabaseModels/UserOnCallShiftReminderLog.js +2 -2
  103. package/Models/DatabaseModels/WebhookLog.js +12 -12
  104. package/Models/DatabaseModels/WhatsAppLog.js +12 -12
  105. package/Models/DatabaseModels/WorkspaceNotificationLog.js +12 -12
  106. package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
  107. package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.mts +9 -0
  108. package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.ts +9 -0
  109. package/Server/Services/DatabaseService.d.mts +1 -0
  110. package/Server/Services/DatabaseService.d.ts +1 -0
  111. package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.mts +2 -1
  112. package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.ts +2 -1
  113. package/Server/Utils/Workspace/WorkspaceBase.d.mts +1 -0
  114. package/Server/Utils/Workspace/WorkspaceBase.d.ts +1 -0
  115. package/Types/AI/AIActionWords.d.mts +167 -7
  116. package/Types/AI/AIActionWords.d.ts +167 -7
  117. package/Types/AI/AIActionWords.js +474 -17
  118. package/Types/AI/AIActionWords.mjs +22 -0
  119. package/Types/AI/AIChatMessageStatus.js +3 -2
  120. package/Types/AI/AIChatRecordSeen.d.mts +6 -2
  121. package/Types/AI/AIChatRecordSeen.d.ts +6 -2
  122. package/Types/AI/AIChatRecordSeen.js +48 -9
  123. package/Types/AI/AIChatRecordSeen.mjs +2 -0
  124. package/Types/AI/AIChatTypes.d.mts +21 -2
  125. package/Types/AI/AIChatTypes.d.ts +21 -2
  126. package/Types/AI/AIChatTypes.js +49 -1
  127. package/Types/AI/AIChatTypes.mjs +3 -0
  128. package/Types/AI/AIRunAttempt.d.mts +8 -0
  129. package/Types/AI/AIRunAttempt.d.ts +8 -0
  130. package/Types/AI/AIRunAttempt.js +60 -6
  131. package/Types/AI/AIRunAttempt.mjs +3 -0
  132. package/Types/AI/AISetupActions.d.mts +9 -0
  133. package/Types/AI/AISetupActions.d.ts +9 -0
  134. package/Types/AI/AISetupActions.js +56 -0
  135. package/Types/AI/AISetupActions.mjs +10 -0
  136. package/Types/AI/CodeTask.d.mts +14 -0
  137. package/Types/AI/CodeTask.d.ts +14 -0
  138. package/Types/AI/RecordAiTokenLimit.d.mts +24 -0
  139. package/Types/AI/RecordAiTokenLimit.d.ts +24 -0
  140. package/Types/AI/RecordAiTokenLimit.js +153 -0
  141. package/Types/AI/RecordAiTokenLimit.mjs +8 -0
  142. package/Types/Accounts/SignInMessages.d.mts +8 -0
  143. package/Types/Accounts/SignInMessages.d.ts +8 -0
  144. package/Types/Accounts/SignInMessages.js +28 -0
  145. package/Types/Accounts/SignInMessages.mjs +5 -0
  146. package/Types/Analytics/ActivationMilestone.d.mts +48 -0
  147. package/Types/Analytics/ActivationMilestone.d.ts +48 -0
  148. package/Types/Analytics/ActivationMilestone.js +247 -0
  149. package/Types/Analytics/ActivationMilestone.mjs +16 -0
  150. package/Types/Analytics/ChecklistProgress.d.mts +11 -0
  151. package/Types/Analytics/ChecklistProgress.d.ts +11 -0
  152. package/Types/Analytics/ChecklistProgress.js +32 -0
  153. package/Types/Analytics/ChecklistProgress.mjs +2 -0
  154. package/Types/Analytics/ProductEvent.d.mts +66 -0
  155. package/Types/Analytics/ProductEvent.d.ts +66 -0
  156. package/Types/Analytics/ProductEvent.js +471 -0
  157. package/Types/Analytics/ProductEvent.mjs +14 -0
  158. package/Types/AuditLog/AuditLogAction.d.mts +5 -1
  159. package/Types/AuditLog/AuditLogAction.d.ts +5 -1
  160. package/Types/AuditLog/AuditLogAction.js +11 -0
  161. package/Types/AuditLog/AuditLogActionLabel.d.mts +3 -0
  162. package/Types/AuditLog/AuditLogActionLabel.d.ts +3 -0
  163. package/Types/AuditLog/AuditLogActionLabel.js +30 -0
  164. package/Types/AuditLog/AuditLogActionLabel.mjs +3 -0
  165. package/Types/AuditLog/AuditLogCoverage.d.mts +3 -1
  166. package/Types/AuditLog/AuditLogCoverage.d.ts +3 -1
  167. package/Types/AuditLog/AuditLogCoverage.js +12 -3
  168. package/Types/AuditLog/AuditLogRetention.js +7 -4
  169. package/Types/AuditLog/AuditLogSessionEvent.d.mts +45 -0
  170. package/Types/AuditLog/AuditLogSessionEvent.d.ts +45 -0
  171. package/Types/AuditLog/AuditLogSessionEvent.js +210 -0
  172. package/Types/AuditLog/AuditLogSessionEvent.mjs +14 -0
  173. package/Types/AutoRemediation/RemediationRound.d.mts +4 -0
  174. package/Types/AutoRemediation/RemediationRound.d.ts +4 -0
  175. package/Types/AutoRemediation/RemediationRound.js +19 -2
  176. package/Types/AutoRemediation/RemediationRoundName.d.mts +1 -0
  177. package/Types/AutoRemediation/RemediationRoundName.d.ts +1 -0
  178. package/Types/AutoRemediation/RemediationRoundName.js +5 -0
  179. package/Types/AutoRemediation/RemediationRoundName.mjs +1 -0
  180. package/Types/Cloud/CloudAppTelemetrySignal.d.mts +9 -0
  181. package/Types/Cloud/CloudAppTelemetrySignal.d.ts +9 -0
  182. package/Types/Cloud/CloudAppTelemetrySignal.js +41 -0
  183. package/Types/Cloud/CloudAppTelemetrySignal.mjs +4 -0
  184. package/Types/Cloud/CloudPlatform.js +7 -1
  185. package/Types/Cloud/CloudResourceCatalog.d.mts +2 -0
  186. package/Types/Cloud/CloudResourceCatalog.d.ts +2 -0
  187. package/Types/Cloud/CloudResourceCatalog.js +33 -3
  188. package/Types/Cloud/CloudResourceCatalog.mjs +1 -0
  189. package/Types/CodeRepository/CodeFileSeen.d.mts +5 -0
  190. package/Types/CodeRepository/CodeFileSeen.d.ts +5 -0
  191. package/Types/CodeRepository/CodeFileSeen.js +142 -27
  192. package/Types/CustomDomain/CustomDomainDnsCheckResult.d.mts +13 -0
  193. package/Types/CustomDomain/CustomDomainDnsCheckResult.d.ts +13 -0
  194. package/Types/CustomDomain/CustomDomainDnsCheckResult.js +80 -0
  195. package/Types/CustomDomain/CustomDomainDnsCheckResult.mjs +2 -0
  196. package/Types/CustomDomain/CustomDomainServerReadiness.d.mts +55 -0
  197. package/Types/CustomDomain/CustomDomainServerReadiness.d.ts +55 -0
  198. package/Types/CustomDomain/CustomDomainServerReadiness.js +199 -0
  199. package/Types/CustomDomain/CustomDomainServerReadiness.mjs +8 -0
  200. package/Types/CustomDomain/DnsRecordCheck.d.mts +34 -0
  201. package/Types/CustomDomain/DnsRecordCheck.d.ts +34 -0
  202. package/Types/CustomDomain/DnsRecordCheck.js +175 -0
  203. package/Types/CustomDomain/DnsRecordCheck.mjs +6 -0
  204. package/Types/CustomDomain/DnsRecordCheckWords.d.mts +35 -0
  205. package/Types/CustomDomain/DnsRecordCheckWords.d.ts +35 -0
  206. package/Types/CustomDomain/DnsRecordCheckWords.js +151 -0
  207. package/Types/CustomDomain/DnsRecordCheckWords.mjs +5 -0
  208. package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.mts +1 -0
  209. package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.ts +1 -0
  210. package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.js +11 -1
  211. package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.mjs +1 -0
  212. package/Types/DataObservability/DataCheckSuggestions.d.mts +25 -0
  213. package/Types/DataObservability/DataCheckSuggestions.d.ts +25 -0
  214. package/Types/DataObservability/DataCheckSuggestions.js +102 -65
  215. package/Types/DataObservability/DataCheckSuggestions.mjs +1 -0
  216. package/Types/DataObservability/DataCheckType.d.mts +4 -0
  217. package/Types/DataObservability/DataCheckType.d.ts +4 -0
  218. package/Types/DataObservability/DataCheckType.js +17 -0
  219. package/Types/DataObservability/DataCheckType.mjs +1 -0
  220. package/Types/DataObservability/DataLineageColumnTrail.d.mts +10 -0
  221. package/Types/DataObservability/DataLineageColumnTrail.d.ts +10 -0
  222. package/Types/DataObservability/DataLineageColumnTrail.js +152 -0
  223. package/Types/DataObservability/DataLineageColumnTrail.mjs +4 -0
  224. package/Types/DataObservability/DataLineageExpansion.d.mts +29 -0
  225. package/Types/DataObservability/DataLineageExpansion.d.ts +29 -0
  226. package/Types/DataObservability/DataLineageExpansion.js +166 -0
  227. package/Types/DataObservability/DataLineageExpansion.mjs +4 -0
  228. package/Types/DataObservability/DataObservabilityApiTypes.d.mts +1 -0
  229. package/Types/DataObservability/DataObservabilityApiTypes.d.ts +1 -0
  230. package/Types/DataObservability/DataObservabilityApiTypes.js +2 -0
  231. package/Types/DataObservability/DataTableLineage.d.mts +7 -0
  232. package/Types/DataObservability/DataTableLineage.d.ts +7 -0
  233. package/Types/DataObservability/DataTableLineage.js +15 -3
  234. package/Types/DataObservability/DataTableLineage.mjs +1 -0
  235. package/Types/Database/TableMetadata.d.mts +2 -0
  236. package/Types/Database/TableMetadata.d.ts +2 -0
  237. package/Types/Database/TableMetadata.js +6 -0
  238. package/Types/Date.d.mts +42 -1
  239. package/Types/Date.d.ts +42 -1
  240. package/Types/Date.js +114 -5
  241. package/Types/DateLanguage.d.mts +9 -0
  242. package/Types/DateLanguage.d.ts +9 -0
  243. package/Types/DateLanguage.js +87 -2
  244. package/Types/DateLanguage.mjs +3 -0
  245. package/Types/DirectionArrow.d.mts +7 -0
  246. package/Types/DirectionArrow.d.ts +7 -0
  247. package/Types/DirectionArrow.js +88 -0
  248. package/Types/DirectionArrow.mjs +7 -0
  249. package/Types/Docs/DocsLanguage.d.mts +2 -0
  250. package/Types/Docs/DocsLanguage.d.ts +2 -0
  251. package/Types/Docs/DocsLanguage.js +23 -1
  252. package/Types/Docs/DocsLanguage.mjs +2 -0
  253. package/Types/Docs/GlossaryTerm.d.mts +83 -0
  254. package/Types/Docs/GlossaryTerm.d.ts +83 -0
  255. package/Types/Docs/GlossaryTerm.js +128 -0
  256. package/Types/Docs/GlossaryTerm.mjs +5 -0
  257. package/Types/Docs/RetiredNames.d.mts +11 -0
  258. package/Types/Docs/RetiredNames.d.ts +11 -0
  259. package/Types/Docs/RetiredNames.js +139 -0
  260. package/Types/Docs/RetiredNames.mjs +3 -0
  261. package/Types/Email/AmazonSesAuthenticationType.d.mts +23 -0
  262. package/Types/Email/AmazonSesAuthenticationType.d.ts +23 -0
  263. package/Types/Email/AmazonSesAuthenticationType.js +40 -0
  264. package/Types/Email/AmazonSesAuthenticationType.mjs +4 -0
  265. package/Types/Email/EmailServer.d.mts +2 -0
  266. package/Types/Email/EmailServer.d.ts +2 -0
  267. package/Types/Email/EmailTemplateType.d.mts +1 -0
  268. package/Types/Email/EmailTemplateType.d.ts +1 -0
  269. package/Types/Email/EmailTemplateType.js +2 -0
  270. package/Types/Exception/BadDataExceptionWithDetails.d.mts +6 -0
  271. package/Types/Exception/BadDataExceptionWithDetails.d.ts +6 -0
  272. package/Types/Exception/BadDataExceptionWithDetails.js +20 -0
  273. package/Types/Exception/BadDataExceptionWithDetails.mjs +2 -0
  274. package/Types/Exception/ErrorMessageRule.d.mts +4 -0
  275. package/Types/Exception/ErrorMessageRule.d.ts +4 -0
  276. package/Types/Exception/ErrorMessageRule.js +143 -0
  277. package/Types/Exception/ErrorMessageRule.mjs +5 -0
  278. package/Types/Exception/RefusalWithValues.d.mts +7 -0
  279. package/Types/Exception/RefusalWithValues.d.ts +7 -0
  280. package/Types/Exception/RefusalWithValues.js +76 -0
  281. package/Types/Exception/RefusalWithValues.mjs +3 -0
  282. package/Types/Exception/UnexplainedError.d.mts +58 -0
  283. package/Types/Exception/UnexplainedError.d.ts +58 -0
  284. package/Types/Exception/UnexplainedError.js +231 -0
  285. package/Types/Exception/UnexplainedError.mjs +12 -0
  286. package/Types/File/FileSize.d.mts +4 -1
  287. package/Types/File/FileSize.d.ts +4 -1
  288. package/Types/File/FileSize.js +18 -17
  289. package/Types/HostCollector/HostCollector.d.mts +1 -0
  290. package/Types/HostCollector/HostCollector.d.ts +1 -0
  291. package/Types/HostCollector/HostCollector.js +26 -10
  292. package/Types/HostCollector/HostCollector.mjs +1 -0
  293. package/Types/Icon/IconProp.d.mts +4 -1
  294. package/Types/Icon/IconProp.d.ts +4 -1
  295. package/Types/Icon/IconProp.js +6 -0
  296. package/Types/InstallationHealth/InstallationHealth.d.mts +122 -0
  297. package/Types/InstallationHealth/InstallationHealth.d.ts +122 -0
  298. package/Types/InstallationHealth/InstallationHealth.js +513 -0
  299. package/Types/InstallationHealth/InstallationHealth.mjs +13 -0
  300. package/Types/LLM/LLMProviderExchange.d.mts +17 -0
  301. package/Types/LLM/LLMProviderExchange.d.ts +17 -0
  302. package/Types/LLM/LLMProviderExchange.js +70 -0
  303. package/Types/LLM/LLMProviderExchange.mjs +5 -0
  304. package/Types/Monitor/CriteriaFilter.d.mts +1 -0
  305. package/Types/Monitor/CriteriaFilter.d.ts +1 -0
  306. package/Types/Monitor/CriteriaFilter.js +3 -1
  307. package/Types/Monitor/CriteriaFilterTerms.js +1 -0
  308. package/Types/Monitor/CriteriaFilterValues.d.mts +2 -0
  309. package/Types/Monitor/CriteriaFilterValues.d.ts +2 -0
  310. package/Types/Monitor/CriteriaFilterValues.js +22 -0
  311. package/Types/Monitor/EvaluationSentence.d.mts +1 -0
  312. package/Types/Monitor/EvaluationSentence.d.ts +1 -0
  313. package/Types/Monitor/EvaluationSentence.js +34 -3
  314. package/Types/Monitor/EvaluationSentence.mjs +1 -0
  315. package/Types/Monitor/MonitorCriteria.js +2 -2
  316. package/Types/Monitor/MonitorStep.js +1 -1
  317. package/Types/Monitor/MonitorTemplateSyncField.d.mts +6 -0
  318. package/Types/Monitor/MonitorTemplateSyncField.d.ts +6 -0
  319. package/Types/Monitor/MonitorTemplateSyncField.js +106 -64
  320. package/Types/Monitor/NtpMonitor/NtpMonitorUtil.d.mts +1 -0
  321. package/Types/Monitor/NtpMonitor/NtpMonitorUtil.d.ts +1 -0
  322. package/Types/Monitor/NtpMonitor/NtpMonitorUtil.js +11 -3
  323. package/Types/Monitor/RetiredEvaluationTemplates.d.mts +2 -0
  324. package/Types/Monitor/RetiredEvaluationTemplates.d.ts +2 -0
  325. package/Types/Monitor/RetiredEvaluationTemplates.js +95 -0
  326. package/Types/Monitor/RetiredEvaluationTemplates.mjs +3 -0
  327. package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.d.mts +6 -0
  328. package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.d.ts +6 -0
  329. package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.js +20 -0
  330. package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.mjs +2 -0
  331. package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.d.mts +6 -0
  332. package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.d.ts +6 -0
  333. package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.js +29 -0
  334. package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.mjs +2 -0
  335. package/Types/Monitor/SSLMonitor/SslMonitorResponse.d.mts +7 -0
  336. package/Types/Monitor/SSLMonitor/SslMonitorResponse.d.ts +7 -0
  337. package/Types/Monitor/WhoIsTold.d.mts +167 -0
  338. package/Types/Monitor/WhoIsTold.d.ts +167 -0
  339. package/Types/Monitor/WhoIsTold.js +583 -0
  340. package/Types/Monitor/WhoIsTold.mjs +17 -0
  341. package/Types/NotificationRule/PagingLadder.d.mts +137 -0
  342. package/Types/NotificationRule/PagingLadder.d.ts +137 -0
  343. package/Types/NotificationRule/PagingLadder.js +682 -0
  344. package/Types/NotificationRule/PagingLadder.mjs +28 -0
  345. package/Types/NotificationSetting/NotificationEmailRollupCategory.js +1 -1
  346. package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.mts +6 -0
  347. package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.ts +6 -0
  348. package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.js +34 -0
  349. package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.mjs +2 -0
  350. package/Types/OnCallDutyPolicy/OnCallPageLine.d.mts +26 -0
  351. package/Types/OnCallDutyPolicy/OnCallPageLine.d.ts +26 -0
  352. package/Types/OnCallDutyPolicy/OnCallPageLine.js +136 -0
  353. package/Types/OnCallDutyPolicy/OnCallPageLine.mjs +18 -0
  354. package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +284 -0
  355. package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +284 -0
  356. package/Types/OnCallDutyPolicy/OnCallTestPage.js +665 -0
  357. package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +53 -0
  358. package/Types/OnCallDutyPolicy/OnCallTestPageLine.d.mts +19 -0
  359. package/Types/OnCallDutyPolicy/OnCallTestPageLine.d.ts +19 -0
  360. package/Types/OnCallDutyPolicy/OnCallTestPageLine.js +222 -0
  361. package/Types/OnCallDutyPolicy/OnCallTestPageLine.mjs +6 -0
  362. package/Types/OnCallDutyPolicy/OnCallTestPageWords.d.mts +31 -0
  363. package/Types/OnCallDutyPolicy/OnCallTestPageWords.d.ts +31 -0
  364. package/Types/OnCallDutyPolicy/OnCallTestPageWords.js +105 -0
  365. package/Types/OnCallDutyPolicy/OnCallTestPageWords.mjs +14 -0
  366. package/Types/OnCallDutyPolicy/ScheduleLayerDefaults.js +5 -2
  367. package/Types/OnCallDutyPolicy/UserOverrideCoverRequest.js +9 -1
  368. package/Types/Permission.d.mts +2 -2
  369. package/Types/Permission.d.ts +2 -2
  370. package/Types/Permission.js +194 -193
  371. package/Types/PhoneNumberDirection.d.mts +6 -0
  372. package/Types/PhoneNumberDirection.d.ts +6 -0
  373. package/Types/PhoneNumberDirection.js +123 -0
  374. package/Types/PhoneNumberDirection.mjs +6 -0
  375. package/Types/Product/ProductCatalog.d.mts +10 -0
  376. package/Types/Product/ProductCatalog.d.ts +10 -0
  377. package/Types/Product/ProductCatalog.js +208 -0
  378. package/Types/Product/ProductCatalog.mjs +6 -0
  379. package/Types/Product/ProductKey.d.mts +58 -0
  380. package/Types/Product/ProductKey.d.ts +58 -0
  381. package/Types/Product/ProductKey.js +175 -0
  382. package/Types/Product/ProductKey.mjs +8 -0
  383. package/Types/Product/ProductOfTable.d.mts +3 -0
  384. package/Types/Product/ProductOfTable.d.ts +3 -0
  385. package/Types/Product/ProductOfTable.js +68 -0
  386. package/Types/Product/ProductOfTable.mjs +3 -0
  387. package/Types/Product/ProductPins.d.mts +10 -0
  388. package/Types/Product/ProductPins.d.ts +10 -0
  389. package/Types/Product/ProductPins.js +65 -0
  390. package/Types/Product/ProductPins.mjs +6 -0
  391. package/Types/Product/ProductUsage.d.mts +21 -0
  392. package/Types/Product/ProductUsage.d.ts +21 -0
  393. package/Types/Product/ProductUsage.js +175 -0
  394. package/Types/Product/ProductUsage.mjs +10 -0
  395. package/Types/Product/ProjectProducts.d.mts +60 -0
  396. package/Types/Product/ProjectProducts.d.ts +60 -0
  397. package/Types/Product/ProjectProducts.js +336 -0
  398. package/Types/Product/ProjectProducts.mjs +19 -0
  399. package/Types/Product/ProjectProductsAnswer.d.mts +23 -0
  400. package/Types/Product/ProjectProductsAnswer.d.ts +23 -0
  401. package/Types/Product/ProjectProductsAnswer.js +172 -0
  402. package/Types/Product/ProjectProductsAnswer.mjs +8 -0
  403. package/Types/Product/ServerProducts.d.mts +65 -0
  404. package/Types/Product/ServerProducts.d.ts +65 -0
  405. package/Types/Product/ServerProducts.js +383 -0
  406. package/Types/Product/ServerProducts.mjs +26 -0
  407. package/Types/Product/ServerProductsAnswer.d.mts +21 -0
  408. package/Types/Product/ServerProductsAnswer.d.ts +21 -0
  409. package/Types/Product/ServerProductsAnswer.js +78 -0
  410. package/Types/Product/ServerProductsAnswer.mjs +5 -0
  411. package/Types/ProductFeedback/NewGitHubIssue.d.mts +12 -0
  412. package/Types/ProductFeedback/NewGitHubIssue.d.ts +12 -0
  413. package/Types/ProductFeedback/NewGitHubIssue.js +64 -0
  414. package/Types/ProductFeedback/NewGitHubIssue.mjs +5 -0
  415. package/Types/ProductFeedback/ProductFeedback.d.mts +142 -0
  416. package/Types/ProductFeedback/ProductFeedback.d.ts +142 -0
  417. package/Types/ProductFeedback/ProductFeedback.js +525 -0
  418. package/Types/ProductFeedback/ProductFeedback.mjs +49 -0
  419. package/Types/ReadingDirection.d.mts +2 -0
  420. package/Types/ReadingDirection.d.ts +2 -0
  421. package/Types/ReadingDirection.js +83 -2
  422. package/Types/ReadingDirection.mjs +2 -0
  423. package/Types/Recommendation/RecommendationType.d.mts +2 -1
  424. package/Types/Recommendation/RecommendationType.d.ts +2 -1
  425. package/Types/Recommendation/RecommendationType.js +6 -0
  426. package/Types/Reminder/ReminderInterval.d.mts +7 -0
  427. package/Types/Reminder/ReminderInterval.d.ts +7 -0
  428. package/Types/Reminder/ReminderInterval.js +110 -0
  429. package/Types/Reminder/ReminderInterval.mjs +8 -0
  430. package/Types/Retention/ResolvedRecordRetention.d.mts +19 -0
  431. package/Types/Retention/ResolvedRecordRetention.d.ts +19 -0
  432. package/Types/Retention/ResolvedRecordRetention.js +124 -0
  433. package/Types/Retention/ResolvedRecordRetention.mjs +14 -0
  434. package/Types/RollingTime/RollingTimeUtil.d.mts +1 -0
  435. package/Types/RollingTime/RollingTimeUtil.d.ts +1 -0
  436. package/Types/RollingTime/RollingTimeUtil.js +9 -0
  437. package/Types/Rum/SessionReplayCustomEvents.d.mts +1 -0
  438. package/Types/Rum/SessionReplayCustomEvents.d.ts +1 -0
  439. package/Types/SampleProject/SampleProject.d.mts +54 -0
  440. package/Types/SampleProject/SampleProject.d.ts +54 -0
  441. package/Types/SampleProject/SampleProject.js +177 -0
  442. package/Types/SampleProject/SampleProject.mjs +22 -0
  443. package/Types/SampleProject/SampleProjectContent.d.mts +127 -0
  444. package/Types/SampleProject/SampleProjectContent.d.ts +127 -0
  445. package/Types/SampleProject/SampleProjectContent.js +397 -0
  446. package/Types/SampleProject/SampleProjectContent.mjs +18 -0
  447. package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.js +108 -101
  448. package/Types/ServerSending/ServerSendingStatus.d.mts +69 -0
  449. package/Types/ServerSending/ServerSendingStatus.d.ts +69 -0
  450. package/Types/ServerSending/ServerSendingStatus.js +281 -0
  451. package/Types/ServerSending/ServerSendingStatus.mjs +7 -0
  452. package/Types/ServerSending/ServerSendingWords.d.mts +9 -0
  453. package/Types/ServerSending/ServerSendingWords.d.ts +9 -0
  454. package/Types/ServerSending/ServerSendingWords.js +95 -0
  455. package/Types/ServerSending/ServerSendingWords.mjs +7 -0
  456. package/Types/ServerSetup/ServerSetupChecklist.d.mts +172 -0
  457. package/Types/ServerSetup/ServerSetupChecklist.d.ts +172 -0
  458. package/Types/ServerSetup/ServerSetupChecklist.js +735 -0
  459. package/Types/ServerSetup/ServerSetupChecklist.mjs +12 -0
  460. package/Types/ServerSetup/ServerTestSend.d.mts +35 -0
  461. package/Types/ServerSetup/ServerTestSend.d.ts +35 -0
  462. package/Types/ServerSetup/ServerTestSend.js +160 -0
  463. package/Types/ServerSetup/ServerTestSend.mjs +10 -0
  464. package/Types/SetupHealth/SetupHealth.d.mts +283 -0
  465. package/Types/SetupHealth/SetupHealth.d.ts +283 -0
  466. package/Types/SetupHealth/SetupHealth.js +1047 -0
  467. package/Types/SetupHealth/SetupHealth.mjs +46 -0
  468. package/Types/StatusPage/StatusPageSummary.d.mts +1 -0
  469. package/Types/StatusPage/StatusPageSummary.d.ts +1 -0
  470. package/Types/StatusPage/StatusPageSummary.js +3 -0
  471. package/Types/StatusPage/UptimeDailyAggregate.d.mts +25 -0
  472. package/Types/StatusPage/UptimeDailyAggregate.d.ts +25 -0
  473. package/Types/Telemetry/LlmCallKind.js +1 -1
  474. package/Types/Telemetry/TelemetryIngestSurface.js +6 -5
  475. package/Types/Telemetry/TelemetryIngestionBudget.d.mts +1 -0
  476. package/Types/Telemetry/TelemetryIngestionBudget.d.ts +1 -0
  477. package/Types/Telemetry/TelemetryIngestionBudget.js +135 -2
  478. package/Types/Telemetry/TelemetryIngestionBudget.mjs +1 -0
  479. package/Types/ToolImport/ToolImportCatalog.d.mts +1 -0
  480. package/Types/ToolImport/ToolImportCatalog.d.ts +1 -0
  481. package/Types/ToolImport/ToolImportCatalog.js +54 -1
  482. package/Types/ToolImport/ToolImportCatalog.mjs +1 -0
  483. package/Types/Translator.d.mts +1 -0
  484. package/Types/Translator.d.ts +1 -0
  485. package/Types/Translator.js +104 -33
  486. package/Types/Translator.mjs +1 -0
  487. package/Types/UsedBy/UsedBy.d.mts +103 -0
  488. package/Types/UsedBy/UsedBy.d.ts +103 -0
  489. package/Types/UsedBy/UsedBy.js +389 -0
  490. package/Types/UsedBy/UsedBy.mjs +20 -0
  491. package/Types/UsedBy/UsedByServerProducts.d.mts +4 -0
  492. package/Types/UsedBy/UsedByServerProducts.d.ts +4 -0
  493. package/Types/UsedBy/UsedByServerProducts.js +48 -0
  494. package/Types/UsedBy/UsedByServerProducts.mjs +3 -0
  495. package/Types/UserNotification/UserNotificationEventType.d.mts +2 -1
  496. package/Types/UserNotification/UserNotificationEventType.d.ts +2 -1
  497. package/Types/UserNotification/UserNotificationEventType.js +7 -0
  498. package/Types/UserSession/SessionEndCause.d.mts +17 -0
  499. package/Types/UserSession/SessionEndCause.d.ts +17 -0
  500. package/Types/UserSession/SessionEndCause.js +79 -0
  501. package/Types/UserSession/SessionEndCause.mjs +6 -0
  502. package/Types/UserSession/SessionSignIn.d.mts +44 -0
  503. package/Types/UserSession/SessionSignIn.d.ts +44 -0
  504. package/Types/UserSession/SessionSignIn.js +174 -0
  505. package/Types/UserSession/SessionSignIn.mjs +17 -0
  506. package/Types/WelcomeChecklist/ProjectGoal.d.mts +16 -0
  507. package/Types/WelcomeChecklist/ProjectGoal.d.ts +16 -0
  508. package/Types/WelcomeChecklist/ProjectGoal.js +94 -0
  509. package/Types/WelcomeChecklist/ProjectGoal.mjs +8 -0
  510. package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +82 -0
  511. package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +82 -0
  512. package/Types/WelcomeChecklist/WelcomeChecklist.js +396 -0
  513. package/Types/WelcomeChecklist/WelcomeChecklist.mjs +23 -0
  514. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +25 -0
  515. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +25 -0
  516. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +139 -0
  517. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.mjs +9 -0
  518. package/Types/WelcomeChecklist/WelcomeChecklistState.d.mts +27 -0
  519. package/Types/WelcomeChecklist/WelcomeChecklistState.d.ts +27 -0
  520. package/Types/WelcomeChecklist/WelcomeChecklistState.js +183 -0
  521. package/Types/WelcomeChecklist/WelcomeChecklistState.mjs +13 -0
  522. package/Types/Workflow/Documentation/AIDocumentation.js +1 -1
  523. package/Types/Workflow/PassedOnFields.js +2 -1
  524. package/Types/Workflow/Templates.js +1 -1
  525. package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +2 -0
  526. package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +2 -0
  527. package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.d.mts +7 -0
  528. package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.d.ts +7 -0
  529. package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.js +40 -0
  530. package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.mjs +3 -0
  531. package/Types/Workspace/WorkspaceChannelMembers.d.mts +1 -0
  532. package/Types/Workspace/WorkspaceChannelMembers.d.ts +1 -0
  533. package/Types/Workspace/WorkspaceChannelMembers.js +9 -2
  534. package/UI/Components/Dropdown/Dropdown.d.mts +1 -0
  535. package/UI/Components/Dropdown/Dropdown.d.ts +1 -0
  536. package/Utils/AI/MeaningMatch.d.mts +36 -0
  537. package/Utils/AI/MeaningMatch.d.ts +36 -0
  538. package/Utils/AI/MeaningMatch.js +535 -0
  539. package/Utils/AI/MeaningMatch.mjs +7 -0
  540. package/Utils/API.js +10 -0
  541. package/Utils/ArchivableValues.js +1 -1
  542. package/Utils/AuditLog/AuditLogValues.js +2 -2
  543. package/Utils/Dashboard/ClockWidgetFormat.d.mts +14 -2
  544. package/Utils/Dashboard/ClockWidgetFormat.d.ts +14 -2
  545. package/Utils/Dashboard/ClockWidgetFormat.js +105 -2
  546. package/Utils/Dashboard/DashboardViewConfigSignature.d.mts +3 -0
  547. package/Utils/Dashboard/DashboardViewConfigSignature.d.ts +3 -0
  548. package/Utils/Dashboard/DashboardViewConfigSignature.js +45 -0
  549. package/Utils/Dashboard/DashboardViewConfigSignature.mjs +3 -0
  550. package/Utils/Dashboard/DashboardWidgetSorts.js +25 -4
  551. package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +37 -0
  552. package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +37 -0
  553. package/Utils/Dashboard/MonitorListWidgetFormat.js +86 -0
  554. package/Utils/Dashboard/MonitorListWidgetFormat.mjs +10 -0
  555. package/Utils/DataSecurity/TextScanner.js +2 -2
  556. package/Utils/DeveloperDocs/AiAssistantExamples.js +4 -4
  557. package/Utils/DeveloperDocs/CliCommands.d.mts +1 -0
  558. package/Utils/DeveloperDocs/CliCommands.d.ts +1 -0
  559. package/Utils/DeveloperDocs/CliCommands.js +2 -1
  560. package/Utils/DeveloperDocs/CliResources.js +2 -1
  561. package/Utils/DeveloperDocs/TerraformSchema.js +3 -1
  562. package/Utils/GuidedSetup/OnCallPolicyRecords.d.mts +31 -0
  563. package/Utils/GuidedSetup/OnCallPolicyRecords.d.ts +31 -0
  564. package/Utils/GuidedSetup/OnCallPolicyRecords.js +89 -0
  565. package/Utils/GuidedSetup/OnCallPolicyRecords.mjs +6 -0
  566. package/Utils/GuidedSetup/StatusPageRecords.d.mts +36 -0
  567. package/Utils/GuidedSetup/StatusPageRecords.d.ts +36 -0
  568. package/Utils/GuidedSetup/StatusPageRecords.js +105 -0
  569. package/Utils/GuidedSetup/StatusPageRecords.mjs +6 -0
  570. package/Utils/GuidedSetup/WebsiteMonitorRecords.d.mts +41 -0
  571. package/Utils/GuidedSetup/WebsiteMonitorRecords.d.ts +41 -0
  572. package/Utils/GuidedSetup/WebsiteMonitorRecords.js +204 -0
  573. package/Utils/GuidedSetup/WebsiteMonitorRecords.mjs +9 -0
  574. package/Utils/Markdown/InlineImageDataUri.d.mts +9 -0
  575. package/Utils/Markdown/InlineImageDataUri.d.ts +9 -0
  576. package/Utils/Markdown/InlineImageDataUri.js +17 -1
  577. package/Utils/Markdown/InlineImageDataUri.mjs +1 -0
  578. package/Utils/Markdown/LinkReferenceDefinitions.d.mts +20 -0
  579. package/Utils/Markdown/LinkReferenceDefinitions.d.ts +20 -0
  580. package/Utils/Markdown/LinkReferenceDefinitions.js +1901 -0
  581. package/Utils/Markdown/LinkReferenceDefinitions.mjs +5 -0
  582. package/Utils/Markdown/MarkdownTableCell.js +2 -1
  583. package/Utils/Markdown/OverLongText.js +523 -5
  584. package/Utils/Markdown/SlowMarkdown.d.mts +14 -0
  585. package/Utils/Markdown/SlowMarkdown.d.ts +14 -0
  586. package/Utils/Markdown/SlowMarkdown.js +595 -11
  587. package/Utils/Markdown/SlowMarkdown.mjs +6 -0
  588. package/Utils/ModelApiName.d.mts +11 -0
  589. package/Utils/ModelApiName.d.ts +11 -0
  590. package/Utils/ModelApiName.js +72 -0
  591. package/Utils/ModelApiName.mjs +5 -0
  592. package/Utils/Monitor/DeviceMacLearningUtil.d.mts +2 -1
  593. package/Utils/Monitor/DeviceMacLearningUtil.d.ts +2 -1
  594. package/Utils/Monitor/DeviceMacLearningUtil.js +26 -0
  595. package/Utils/Monitor/EndpointAttachmentUtil.js +8 -3
  596. package/Utils/Monitor/ExternalStatusPageReading.d.mts +12 -0
  597. package/Utils/Monitor/ExternalStatusPageReading.d.ts +12 -0
  598. package/Utils/Monitor/ExternalStatusPageReading.js +111 -8
  599. package/Utils/Monitor/ExternalStatusPageReading.mjs +5 -0
  600. package/Utils/Monitor/ExternalStatusPageScope.js +17 -1
  601. package/Utils/Monitor/MonitorDestinationUtil.js +2 -1
  602. package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +2 -1
  603. package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +2 -1
  604. package/Utils/Monitor/MonitorOverviewPresentationUtil.js +10 -1
  605. package/Utils/Monitor/MonitorStatusHistoryUtil.d.mts +1 -0
  606. package/Utils/Monitor/MonitorStatusHistoryUtil.d.ts +1 -0
  607. package/Utils/Monitor/MonitorStatusHistoryUtil.js +1 -0
  608. package/Utils/Monitor/MonitorSummaryProbeUtil.d.mts +2 -0
  609. package/Utils/Monitor/MonitorSummaryProbeUtil.d.ts +2 -0
  610. package/Utils/Monitor/MonitorSummaryProbeUtil.js +13 -17
  611. package/Utils/Monitor/MonitorSummarySnapshotUtil.js +5 -3
  612. package/Utils/Monitor/MonitorTemplateLinkRefusal.d.mts +9 -0
  613. package/Utils/Monitor/MonitorTemplateLinkRefusal.d.ts +9 -0
  614. package/Utils/Monitor/MonitorTemplateLinkRefusal.js +45 -0
  615. package/Utils/Monitor/MonitorTemplateLinkRefusal.mjs +6 -0
  616. package/Utils/Monitor/MonitorUptimeSummaryUtil.d.mts +1 -1
  617. package/Utils/Monitor/MonitorUptimeSummaryUtil.d.ts +1 -1
  618. package/Utils/Monitor/MonitorUptimeSummaryUtil.js +1 -0
  619. package/Utils/Monitor/MonitoringOff.d.mts +20 -0
  620. package/Utils/Monitor/MonitoringOff.d.ts +20 -0
  621. package/Utils/Monitor/MonitoringOff.js +81 -0
  622. package/Utils/Monitor/MonitoringOff.mjs +4 -0
  623. package/Utils/Monitor/NotOperationalMonitorQuery.js +9 -7
  624. package/Utils/Monitor/StateChangeLogScreenshots.d.mts +8 -0
  625. package/Utils/Monitor/StateChangeLogScreenshots.d.ts +8 -0
  626. package/Utils/Monitor/StateChangeLogScreenshots.js +116 -0
  627. package/Utils/Monitor/StateChangeLogScreenshots.mjs +3 -0
  628. package/Utils/NetworkDevice/Naming/NamingLookup.d.mts +1 -1
  629. package/Utils/NetworkDevice/Naming/NamingLookup.d.ts +1 -1
  630. package/Utils/NetworkDevice/Naming/NamingLookup.js +14 -4
  631. package/Utils/NetworkDevice/Naming/NamingLookup.mjs +1 -0
  632. package/Utils/OpenStack/OpenStackCheckName.js +2 -1
  633. package/Utils/OpenStack/OpenStackLogScrub.js +1 -1
  634. package/Utils/OpenStack/OpenStackLogs.js +3 -2
  635. package/Utils/OpenStack/OpenStackTraces.js +2 -1
  636. package/Utils/Project/NotificationChannels.js +5 -5
  637. package/Utils/Project/ProjectBalance.js +2 -2
  638. package/Utils/Project/TwilioAccount.js +2 -2
  639. package/Utils/ScheduledMaintenanceStart.d.mts +3 -0
  640. package/Utils/ScheduledMaintenanceStart.d.ts +3 -0
  641. package/Utils/ScheduledMaintenanceStart.js +9 -0
  642. package/Utils/Schema/ModelSchema.js +10 -1
  643. package/Utils/Slo/SloErrorBudgetPolicy.d.mts +2 -1
  644. package/Utils/Slo/SloErrorBudgetPolicy.d.ts +2 -1
  645. package/Utils/Slo/SloErrorBudgetPolicy.js +8 -2
  646. package/Utils/Slo/SloListWidgetFormat.d.mts +7 -1
  647. package/Utils/Slo/SloListWidgetFormat.d.ts +7 -1
  648. package/Utils/Slo/SloListWidgetFormat.js +20 -26
  649. package/Utils/Slo/SloOverviewText.d.mts +6 -1
  650. package/Utils/Slo/SloOverviewText.d.ts +6 -1
  651. package/Utils/Slo/SloOverviewText.js +3 -3
  652. package/Utils/Slo/SloUtil.d.mts +18 -9
  653. package/Utils/Slo/SloUtil.d.ts +18 -9
  654. package/Utils/Slo/SloUtil.js +47 -10
  655. package/Utils/Slo/SloWidgetFormat.d.mts +69 -11
  656. package/Utils/Slo/SloWidgetFormat.d.ts +69 -11
  657. package/Utils/Slo/SloWidgetFormat.js +198 -50
  658. package/Utils/Slo/SloWidgetFormat.mjs +7 -0
  659. package/Utils/StatusPage/FrozenMonitorResources.d.mts +41 -0
  660. package/Utils/StatusPage/FrozenMonitorResources.d.ts +41 -0
  661. package/Utils/StatusPage/FrozenMonitorResources.js +155 -0
  662. package/Utils/StatusPage/FrozenMonitorResources.mjs +4 -0
  663. package/Utils/StatusPage/GroupNestingLayout.d.mts +2 -0
  664. package/Utils/StatusPage/GroupNestingLayout.d.ts +2 -0
  665. package/Utils/StatusPage/GroupNestingLayout.js +12 -0
  666. package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.d.mts +48 -0
  667. package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.d.ts +48 -0
  668. package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.js +181 -0
  669. package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.mjs +2 -0
  670. package/Utils/StatusPage/ResourceExplorer.d.mts +1 -0
  671. package/Utils/StatusPage/ResourceExplorer.d.ts +1 -0
  672. package/Utils/StatusPage/ResourceExplorer.js +11 -1
  673. package/Utils/StatusPage/ResourceUptime.d.mts +6 -1
  674. package/Utils/StatusPage/ResourceUptime.d.ts +6 -1
  675. package/Utils/StatusPage/ResourceUptime.js +31 -6
  676. package/Utils/StatusPage/StatusPageSummaryBuilder.d.mts +1 -0
  677. package/Utils/StatusPage/StatusPageSummaryBuilder.d.ts +1 -0
  678. package/Utils/StatusPage/StatusPageSummaryBuilder.js +12 -1
  679. package/Utils/StatusPage/StatusPageUptimeTimezone.d.mts +41 -0
  680. package/Utils/StatusPage/StatusPageUptimeTimezone.d.ts +41 -0
  681. package/Utils/StatusPage/StatusPageUptimeTimezone.js +114 -0
  682. package/Utils/StatusPage/StatusPageUptimeTimezone.mjs +2 -0
  683. package/Utils/StatusPage/UptimeDailyAggregateUtil.d.mts +3 -1
  684. package/Utils/StatusPage/UptimeDailyAggregateUtil.d.ts +3 -1
  685. package/Utils/StatusPage/UptimeDailyAggregateUtil.js +69 -50
  686. package/Utils/Telemetry/CloudInstanceIdentity.js +12 -7
  687. package/Utils/Uptime/DayUptimeGraphUtil.d.mts +8 -0
  688. package/Utils/Uptime/DayUptimeGraphUtil.d.ts +8 -0
  689. package/Utils/Uptime/DayUptimeGraphUtil.js +41 -6
  690. package/Utils/Uptime/UptimeMaintenanceUtil.d.mts +3 -0
  691. package/Utils/Uptime/UptimeMaintenanceUtil.d.ts +3 -0
  692. package/Utils/Uptime/UptimeMaintenanceUtil.js +51 -1
  693. package/Utils/Uptime/UptimeUtil.d.mts +38 -1
  694. package/Utils/Uptime/UptimeUtil.d.ts +38 -1
  695. package/Utils/Uptime/UptimeUtil.js +270 -75
  696. package/Utils/Uptime/WorstStatusTimeline.d.mts +31 -0
  697. package/Utils/Uptime/WorstStatusTimeline.d.ts +31 -0
  698. package/Utils/Uptime/WorstStatusTimeline.js +190 -0
  699. package/Utils/Uptime/WorstStatusTimeline.mjs +2 -0
  700. package/Utils/ValueFormatter.d.mts +8 -6
  701. package/Utils/ValueFormatter.d.ts +8 -6
  702. package/Utils/ValueFormatter.js +145 -0
  703. package/Utils/Workspace/WorkspaceSummarySetup.d.mts +25 -0
  704. package/Utils/Workspace/WorkspaceSummarySetup.d.ts +25 -0
  705. package/Utils/Workspace/WorkspaceSummarySetup.js +215 -0
  706. package/Utils/Workspace/WorkspaceSummarySetup.mjs +11 -0
  707. package/package.json +1 -1
  708. package/Utils/StatusPage/ArchivedMonitorResources.d.mts +0 -10
  709. package/Utils/StatusPage/ArchivedMonitorResources.d.ts +0 -10
  710. package/Utils/StatusPage/ArchivedMonitorResources.js +0 -33
  711. package/Utils/StatusPage/ArchivedMonitorResources.mjs +0 -2
@@ -0,0 +1,471 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toProductEventProperties = exports.getProductEventDefinition = exports.isForbiddenPropertyName = exports.getPropertyNameWords = exports.ALLOWED_PROPERTY_NAMES_WITH_FORBIDDEN_WORDS = exports.FORBIDDEN_PROPERTY_WORDS = exports.PRODUCT_EVENTS = exports.toProductEventToken = exports.COMMON_PRODUCT_EVENT_PROPERTIES = exports.FEEDBACK_PAGE_TOKEN_MAX_LENGTH = exports.PRODUCT_EVENT_TOKEN_MAX_LENGTH = exports.SEARCH_QUERY_MAX_LENGTH = exports.ProductEventName = void 0;
4
+ const ProjectGoal_1 = require("../WelcomeChecklist/ProjectGoal");
5
+ /*
6
+ * The behaviour events the Dashboard sends to product analytics (issue
7
+ * #6830), and the one rule every event follows. Written down for people in
8
+ * Docs/analytics/activation.md; the tests hold that page, this file and the
9
+ * code to each other (Tests/Types/Analytics).
10
+ *
11
+ * THE NAMING RULE
12
+ *
13
+ * `area/thing_happened`: the product area or flow, a slash, then what
14
+ * happened, in the past tense, lower case with underscores -
15
+ * `search/no_results`, `guided_setup/finished`, `activation/
16
+ * first_monitor_created`. The events sent before the rule
17
+ * (`server/monitor_created`, `dashboard/home/search-opened`, ...) keep
18
+ * their names: dashboards are built on them.
19
+ *
20
+ * WHAT EVERY EVENT CARRIES
21
+ *
22
+ * project_id, plan, edition (cloud, enterprise or community), language
23
+ * (the Dashboard's) and is_project_creator (whether the person created
24
+ * the project) - added by ProductEvents.send (Common/UI/Utils) to every
25
+ * event below. A server event carries what the server knows of these
26
+ * (project_id, plan, edition).
27
+ *
28
+ * WHAT NO EVENT CARRIES
29
+ *
30
+ * A name (of a person, a project, a monitor, anything), an email or any
31
+ * other address, a phone number, or text somebody wrote - a message, a
32
+ * note, a title, a description, a question to Ask AI. The one exception
33
+ * is the words of a search that found nothing, on OneUptime Cloud only,
34
+ * cut to SEARCH_QUERY_MAX_LENGTH characters: the best sign of what people
35
+ * cannot find (issue #6830's decision). FORBIDDEN_PROPERTY_WORDS is the
36
+ * list the tests scan every event's property names with.
37
+ *
38
+ * WHERE EVENTS GO
39
+ *
40
+ * Only where product analytics is set up - ANALYTICS_KEY and
41
+ * ANALYTICS_HOST, which OneUptime Cloud sets and a self-hosted server
42
+ * does not - and in the browser only with the visitor's consent and
43
+ * without Global Privacy Control (Utils/Analytics). A self-hosted server
44
+ * sends nothing.
45
+ *
46
+ * ADDING AN EVENT
47
+ *
48
+ * A value in ProductEventName, its entry in PRODUCT_EVENTS (each property
49
+ * it may carry - anything else is dropped before it is sent), a row in
50
+ * Docs/analytics/activation.md, and the call: ProductEvents.send(
51
+ * ProductEventName.X, { ... }). An event a later issue will send is
52
+ * marked with `reservedFor` until it is sent somewhere.
53
+ */
54
+ var ProductEventName;
55
+ (function (ProductEventName) {
56
+ // The Welcome checklist on Home, kept on the server (#6803).
57
+ ProductEventName["GoalsChosen"] = "home/goals_chosen";
58
+ ProductEventName["ChecklistStepStarted"] = "home/checklist_step_started";
59
+ ProductEventName["ChecklistStepCompleted"] = "home/checklist_step_completed";
60
+ ProductEventName["ChecklistFinished"] = "home/checklist_finished";
61
+ ProductEventName["ChecklistDismissed"] = "home/checklist_dismissed";
62
+ // An invited member's own first steps on Home (#6807).
63
+ ProductEventName["MemberStepStarted"] = "home/member_step_started";
64
+ ProductEventName["MemberStepsDismissed"] = "home/member_steps_dismissed";
65
+ // A product's "How it works" explanation was opened.
66
+ ProductEventName["HowItWorksOpened"] = "how_it_works/opened";
67
+ // A search in the command palette (Cmd/Ctrl+K) found nothing.
68
+ ProductEventName["SearchFoundNothing"] = "search/no_results";
69
+ // Ask AI.
70
+ ProductEventName["AskAiQuestionAsked"] = "ask_ai/question_asked";
71
+ ProductEventName["AskAiAnswerRated"] = "ask_ai/answer_rated";
72
+ // Ask AI sets things up (#6829): a plan proposed, approved, then tested.
73
+ ProductEventName["AskAiSetupProposed"] = "ask_ai/setup_proposed";
74
+ ProductEventName["AskAiSetupApproved"] = "ask_ai/setup_approved";
75
+ ProductEventName["AskAiSetupTestPageSent"] = "ask_ai/setup_test_page_sent";
76
+ // "Import from another tool" was opened.
77
+ ProductEventName["ImporterOpened"] = "importer/opened";
78
+ // "Was this page helpful?" on a docs page (#6822): sent by the docs server.
79
+ ProductEventName["DocsFeedbackGiven"] = "docs/feedback_given";
80
+ // The guided setups (#6804, #6805, #6806).
81
+ ProductEventName["GuidedSetupStarted"] = "guided_setup/started";
82
+ ProductEventName["GuidedSetupStepReached"] = "guided_setup/step_reached";
83
+ ProductEventName["GuidedSetupFinished"] = "guided_setup/finished";
84
+ ProductEventName["GuidedSetupLeft"] = "guided_setup/left";
85
+ /*
86
+ * Somebody told OneUptime how something went (#6832): "How easy was
87
+ * that?" at the end of a guided setup, Give feedback, "Was this clear?"
88
+ * or the first-week check-in. Never the words they wrote.
89
+ */
90
+ ProductEventName["FeedbackGiven"] = "feedback/given";
91
+ // Products that fit the project: hidden, shown and pinned (#6814).
92
+ ProductEventName["ProductHidden"] = "products/product_hidden";
93
+ ProductEventName["ProductShown"] = "products/product_shown";
94
+ ProductEventName["AllProductsShown"] = "products/all_products_shown";
95
+ ProductEventName["ProductPinned"] = "products/product_pinned";
96
+ ProductEventName["ProductUnpinned"] = "products/product_unpinned";
97
+ // Setup health (#6812): what is misconfigured in the project.
98
+ ProductEventName["SetupHealthOpened"] = "setup_health/opened";
99
+ ProductEventName["SetupHealthFixOpened"] = "setup_health/fix_opened";
100
+ ProductEventName["SetupHealthFindingDismissed"] = "setup_health/finding_dismissed";
101
+ ProductEventName["SetupHealthFindingRestored"] = "setup_health/finding_restored";
102
+ // How to reach me (#6820): a paging ladder saved, and the grid opened.
103
+ ProductEventName["PagingLadderSaved"] = "paging_ladder/saved";
104
+ ProductEventName["PagingLadderGridOpened"] = "paging_ladder/grid_opened";
105
+ // "Used by" (#6813): the full list of what refers to a record was opened.
106
+ ProductEventName["UsedByListOpened"] = "used_by/list_opened";
107
+ /*
108
+ * A sample project (#6808): made or opened again from an entry point,
109
+ * and deleted from its bar. The only events a sample sends: nothing done
110
+ * inside one is a project getting value (ProductEvents.send).
111
+ */
112
+ ProductEventName["SampleProjectStarted"] = "sample_project/started";
113
+ ProductEventName["SampleProjectDeleted"] = "sample_project/deleted";
114
+ })(ProductEventName || (exports.ProductEventName = ProductEventName = {}));
115
+ // The words of a search that found nothing, at most this long (Cloud only).
116
+ exports.SEARCH_QUERY_MAX_LENGTH = 40;
117
+ // A word-like value (a step's key, where something was opened from) is cut to this.
118
+ exports.PRODUCT_EVENT_TOKEN_MAX_LENGTH = 60;
119
+ // The page a feedback answer was given on: a route with no ids, cut to this.
120
+ exports.FEEDBACK_PAGE_TOKEN_MAX_LENGTH = 200;
121
+ // What ProductEvents.send adds to every event above.
122
+ exports.COMMON_PRODUCT_EVENT_PROPERTIES = [
123
+ "project_id",
124
+ "plan",
125
+ "edition",
126
+ "language",
127
+ "is_project_creator",
128
+ ];
129
+ const token = (name) => {
130
+ return {
131
+ name: name,
132
+ isToken: true,
133
+ maxLength: exports.PRODUCT_EVENT_TOKEN_MAX_LENGTH,
134
+ };
135
+ };
136
+ const TOKEN_UNSAFE_CHARACTERS = /[^a-z0-9_./-]/g;
137
+ /*
138
+ * A value as a token property carries it (ProductEventPropertySpec.isToken):
139
+ * cut to the property's own length, or PRODUCT_EVENT_TOKEN_MAX_LENGTH.
140
+ */
141
+ const toProductEventToken = (value, maxLength) => {
142
+ return value
143
+ .toLowerCase()
144
+ .replace(TOKEN_UNSAFE_CHARACTERS, "_")
145
+ .slice(0, maxLength !== null && maxLength !== void 0 ? maxLength : exports.PRODUCT_EVENT_TOKEN_MAX_LENGTH);
146
+ };
147
+ exports.toProductEventToken = toProductEventToken;
148
+ /*
149
+ * The goals a project chose (ProjectGoal values joined by ".", in order:
150
+ * toGoalsEventValue), on the checklist's events, so the funnel splits by
151
+ * goal. Long enough for every goal.
152
+ */
153
+ const goalsProperty = {
154
+ name: "goals",
155
+ isToken: true,
156
+ maxLength: ProjectGoal_1.GOALS_EVENT_VALUE_MAX_LENGTH,
157
+ };
158
+ exports.PRODUCT_EVENTS = [
159
+ {
160
+ name: ProductEventName.GoalsChosen,
161
+ description: 'The project\'s goals were chosen on Home ("What do you want to do first?"), skipped (no goals), or changed.',
162
+ properties: [goalsProperty, { name: "goal_count" }, { name: "is_change" }],
163
+ },
164
+ {
165
+ name: ProductEventName.ChecklistStepStarted,
166
+ description: "A step of the Welcome checklist on Home was opened: its page, its guided setup, or Billing when the plan holds it back.",
167
+ properties: [token("step"), goalsProperty, token("needs_plan")],
168
+ },
169
+ {
170
+ name: ProductEventName.ChecklistStepCompleted,
171
+ description: "A step of the Welcome checklist on Home was seen done for the first time.",
172
+ properties: [token("step"), goalsProperty],
173
+ },
174
+ {
175
+ name: ProductEventName.ChecklistFinished,
176
+ description: "Every step of the Welcome checklist on Home was seen done for the first time.",
177
+ properties: [{ name: "step_count" }, goalsProperty],
178
+ },
179
+ {
180
+ name: ProductEventName.ChecklistDismissed,
181
+ description: "Somebody hid the Welcome checklist on Home for themselves, and how far it was.",
182
+ properties: [{ name: "done_count" }, { name: "step_count" }, goalsProperty],
183
+ },
184
+ {
185
+ name: ProductEventName.MemberStepStarted,
186
+ description: "An invited member opened one of their own first steps on Home: their setup checklist, a test page to themselves, their shifts or the mobile app.",
187
+ properties: [token("step")],
188
+ },
189
+ {
190
+ name: ProductEventName.MemberStepsDismissed,
191
+ description: "An invited member hid their own first steps on Home, and how many were left.",
192
+ properties: [{ name: "open_count" }],
193
+ },
194
+ {
195
+ name: ProductEventName.HowItWorksOpened,
196
+ description: 'A "How it works" explanation was opened: a product\'s, from beside the page\'s title, or How OneUptime works (product "oneuptime"), from Help, Home, Search or the phone menu (source).',
197
+ properties: [token("product"), token("source")],
198
+ },
199
+ {
200
+ name: ProductEventName.SearchFoundNothing,
201
+ description: "A search in the command palette settled with no result. On Cloud, with the words typed, cut short.",
202
+ properties: [
203
+ token("source"),
204
+ { name: "query_length" },
205
+ {
206
+ name: "query",
207
+ isCloudOnly: true,
208
+ maxLength: exports.SEARCH_QUERY_MAX_LENGTH,
209
+ },
210
+ ],
211
+ },
212
+ {
213
+ name: ProductEventName.AskAiQuestionAsked,
214
+ description: "A question was sent to Ask AI. Never the question: whether it started a conversation, and the permission mode.",
215
+ properties: [{ name: "is_new_conversation" }, token("permission_mode")],
216
+ },
217
+ {
218
+ name: ProductEventName.AskAiAnswerRated,
219
+ description: "An Ask AI answer was rated helpful or not helpful, or its rating was cleared.",
220
+ properties: [token("rating")],
221
+ },
222
+ {
223
+ name: ProductEventName.AskAiSetupProposed,
224
+ description: "Ask AI proposed a setup plan on one approval card: its parts (paging, website_monitor, status_page, status_page_monitors), how many, and the permission mode.",
225
+ properties: [
226
+ token("parts"),
227
+ { name: "part_count" },
228
+ token("permission_mode"),
229
+ ],
230
+ },
231
+ {
232
+ name: ProductEventName.AskAiSetupApproved,
233
+ description: "A setup plan's card was answered: the parts approved, and how many were approved and skipped.",
234
+ properties: [
235
+ token("parts"),
236
+ { name: "approved_count" },
237
+ { name: "skipped_count" },
238
+ ],
239
+ },
240
+ {
241
+ name: ProductEventName.AskAiSetupTestPageSent,
242
+ description: "A test page was sent from under an answer that set something up: to yourself or to the policy it made (target).",
243
+ properties: [token("target")],
244
+ },
245
+ {
246
+ name: ProductEventName.ImporterOpened,
247
+ description: '"Import from another tool" was opened, and from where (?from= on its address, "settings" when it says nothing).',
248
+ properties: [token("from")],
249
+ },
250
+ {
251
+ name: ProductEventName.DocsFeedbackGiven,
252
+ description: 'A docs page was rated by "Was this page helpful?", on docs where product analytics is set up (OneUptime Cloud), with what went wrong when a no says (reason). Sent by the docs server (Docs/Utils/DocsFeedback).',
253
+ properties: [token("page"), { name: "is_helpful" }, token("reason")],
254
+ },
255
+ {
256
+ name: ProductEventName.GuidedSetupStarted,
257
+ description: "A guided setup was opened.",
258
+ properties: [token("setup")],
259
+ },
260
+ {
261
+ name: ProductEventName.GuidedSetupStepReached,
262
+ description: "A guided setup moved on to a step.",
263
+ properties: [token("setup"), token("step"), { name: "step_number" }],
264
+ },
265
+ {
266
+ name: ProductEventName.GuidedSetupFinished,
267
+ description: "A guided setup reached its end: the thing works and was tested.",
268
+ properties: [token("setup"), { name: "seconds_taken" }],
269
+ },
270
+ {
271
+ name: ProductEventName.GuidedSetupLeft,
272
+ description: "A guided setup was left before its end, and at which step.",
273
+ properties: [token("setup"), token("step"), { name: "step_number" }],
274
+ },
275
+ {
276
+ name: ProductEventName.FeedbackGiven,
277
+ description: 'Somebody answered "How easy was that?" at the end of a guided setup, sent Give feedback, rated an explanation ("Was this clear?") or answered the first-week check-in: the kind, what it was about (topic), the score or thumbs, whether they wrote anything (has_details) and the page as a route with no ids. Never what they wrote.',
278
+ properties: [
279
+ token("kind"),
280
+ token("topic"),
281
+ { name: "score" },
282
+ { name: "is_positive" },
283
+ { name: "has_details" },
284
+ {
285
+ name: "page",
286
+ isToken: true,
287
+ maxLength: exports.FEEDBACK_PAGE_TOKEN_MAX_LENGTH,
288
+ },
289
+ ],
290
+ },
291
+ {
292
+ name: ProductEventName.ProductHidden,
293
+ description: "A product was hidden in the project (Project Settings > Products, or Home's Keep hidden), and whether it had data.",
294
+ properties: [token("product"), token("source"), { name: "has_data" }],
295
+ },
296
+ {
297
+ name: ProductEventName.ProductShown,
298
+ description: "A hidden product was shown again in the project (Project Settings > Products, or Home's Show it).",
299
+ properties: [token("product"), token("source")],
300
+ },
301
+ {
302
+ name: ProductEventName.AllProductsShown,
303
+ description: "Every product was shown again in the project, and how many had been hidden.",
304
+ properties: [{ name: "hidden_count" }],
305
+ },
306
+ {
307
+ name: ProductEventName.ProductPinned,
308
+ description: "Somebody pinned a product to the nav bar (from the products menu or the product's page), and how many they have pinned now.",
309
+ properties: [token("product"), token("source"), { name: "pin_count" }],
310
+ },
311
+ {
312
+ name: ProductEventName.ProductUnpinned,
313
+ description: "Somebody unpinned a product from the nav bar, and how many they have pinned now.",
314
+ properties: [token("product"), token("source"), { name: "pin_count" }],
315
+ },
316
+ {
317
+ name: ProductEventName.SetupHealthOpened,
318
+ description: 'Setup health was opened, from where (?from= on its address, "direct" when it says nothing), and how many findings of each level it showed.',
319
+ properties: [
320
+ token("source"),
321
+ { name: "pages_will_not_arrive_count" },
322
+ { name: "worth_fixing_count" },
323
+ { name: "suggestion_count" },
324
+ { name: "dismissed_count" },
325
+ ],
326
+ },
327
+ {
328
+ name: ProductEventName.SetupHealthFixOpened,
329
+ description: "The fix of a Setup health finding was opened: which check, at which level.",
330
+ properties: [token("check"), token("level")],
331
+ },
332
+ {
333
+ name: ProductEventName.SetupHealthFindingDismissed,
334
+ description: "A Setup health finding was dismissed for everyone: which check, and whether a reason was given (never the reason).",
335
+ properties: [token("check"), { name: "has_reason" }],
336
+ },
337
+ {
338
+ name: ProductEventName.SetupHealthFindingRestored,
339
+ description: "A dismissed Setup health finding was restored.",
340
+ properties: [token("check")],
341
+ },
342
+ {
343
+ name: ProductEventName.PagingLadderSaved,
344
+ description: "A paging ladder was saved on How to Reach Me: by the person or for a member, how many steps, and how many cards that differed it replaced.",
345
+ properties: [
346
+ { name: "is_own" },
347
+ { name: "step_count" },
348
+ { name: "replaced_card_count" },
349
+ ],
350
+ },
351
+ {
352
+ name: ProductEventName.PagingLadderGridOpened,
353
+ description: "The per-severity grid behind a paging ladder was opened on How to Reach Me, and how many cards differed from the ladder then.",
354
+ properties: [{ name: "is_own" }, { name: "differing_card_count" }],
355
+ },
356
+ {
357
+ name: ProductEventName.UsedByListOpened,
358
+ description: 'The full list of what refers to a record was opened: a relation\'s "See all" on a record\'s Used by card (relation), or a label\'s Used by (relation "all").',
359
+ properties: [token("record_kind"), token("relation")],
360
+ },
361
+ {
362
+ name: ProductEventName.SampleProjectStarted,
363
+ description: "Explore Sample Project was pressed: where (from - welcome, goals, home), and whether a sample was made or the person's existing one opened (is_new).",
364
+ properties: [token("from"), { name: "is_new" }],
365
+ },
366
+ {
367
+ name: ProductEventName.SampleProjectDeleted,
368
+ description: "A sample project was deleted from its bar, and how many days after it was made (days_kept).",
369
+ properties: [{ name: "days_kept" }],
370
+ },
371
+ ];
372
+ /*
373
+ * The words a property name may not hold, split at underscores and capital
374
+ * letters: `project_name`, `toEmail` and `message_text` hold one each. The
375
+ * tests scan every event's property names - these, the server's and the
376
+ * ones sent before the rule - with it.
377
+ */
378
+ exports.FORBIDDEN_PROPERTY_WORDS = [
379
+ "name",
380
+ "names",
381
+ "email",
382
+ "emails",
383
+ "mail",
384
+ "address",
385
+ "addresses",
386
+ "phone",
387
+ "message",
388
+ "messages",
389
+ "text",
390
+ "body",
391
+ "title",
392
+ "description",
393
+ "content",
394
+ "comment",
395
+ "note",
396
+ "notes",
397
+ "question",
398
+ "answer",
399
+ "password",
400
+ "token",
401
+ "secret",
402
+ "ip",
403
+ ];
404
+ /*
405
+ * Property names that hold a forbidden word and are allowed anyway, each
406
+ * with why: none of them carries what the word suggests.
407
+ */
408
+ exports.ALLOWED_PROPERTY_NAMES_WITH_FORBIDDEN_WORDS = {
409
+ has_password: "Whether the person signed up with a password (server/user_created): true or false.",
410
+ query: `The words of a search that found nothing: on Cloud only, cut to ${exports.SEARCH_QUERY_MAX_LENGTH} characters (search/no_results, issue #6830's decision).`,
411
+ utm_content: "The utm_content of the link a person signed up through: the ad or link variant a campaign named, not text anyone wrote.",
412
+ utmContent: "utm_content as the sign-up page keeps it (utm_event): the ad or link variant a campaign named.",
413
+ };
414
+ const getPropertyNameWords = (propertyName) => {
415
+ return propertyName
416
+ .replace(/([a-z0-9])([A-Z])/g, "$1_$2")
417
+ .toLowerCase()
418
+ .split(/[^a-z0-9]+/)
419
+ .filter((word) => {
420
+ return word.length > 0;
421
+ });
422
+ };
423
+ exports.getPropertyNameWords = getPropertyNameWords;
424
+ // Whether a property name holds a word no event may carry.
425
+ const isForbiddenPropertyName = (propertyName) => {
426
+ if (exports.ALLOWED_PROPERTY_NAMES_WITH_FORBIDDEN_WORDS[propertyName]) {
427
+ return false;
428
+ }
429
+ return (0, exports.getPropertyNameWords)(propertyName).some((word) => {
430
+ return exports.FORBIDDEN_PROPERTY_WORDS.includes(word);
431
+ });
432
+ };
433
+ exports.isForbiddenPropertyName = isForbiddenPropertyName;
434
+ const getProductEventDefinition = (name) => {
435
+ return (exports.PRODUCT_EVENTS.find((event) => {
436
+ return event.name === name;
437
+ }) || null);
438
+ };
439
+ exports.getProductEventDefinition = getProductEventDefinition;
440
+ /*
441
+ * The properties an event may carry, as they may be sent: only the ones its
442
+ * definition lists, a Cloud-only one only on Cloud, strings cut to their
443
+ * length, and only plain values - a string, a number or true/false. What is
444
+ * not listed is dropped, so a property nobody reviewed is never sent.
445
+ */
446
+ const toProductEventProperties = (data) => {
447
+ const definition = (0, exports.getProductEventDefinition)(data.name);
448
+ const allowed = {};
449
+ if (!definition || !data.properties) {
450
+ return allowed;
451
+ }
452
+ for (const spec of definition.properties) {
453
+ if (spec.isCloudOnly && !data.isCloud) {
454
+ continue;
455
+ }
456
+ const value = data.properties[spec.name];
457
+ if (typeof value === "string") {
458
+ const text = spec.isToken
459
+ ? (0, exports.toProductEventToken)(value, spec.maxLength)
460
+ : value;
461
+ allowed[spec.name] =
462
+ spec.maxLength !== undefined ? text.slice(0, spec.maxLength) : text;
463
+ }
464
+ else if ((typeof value === "number" && Number.isFinite(value)) ||
465
+ typeof value === "boolean") {
466
+ allowed[spec.name] = value;
467
+ }
468
+ }
469
+ return allowed;
470
+ };
471
+ exports.toProductEventProperties = toProductEventProperties;
@@ -0,0 +1,14 @@
1
+ import commonJsModule from "./ProductEvent.js";
2
+ export const ALLOWED_PROPERTY_NAMES_WITH_FORBIDDEN_WORDS = commonJsModule.ALLOWED_PROPERTY_NAMES_WITH_FORBIDDEN_WORDS;
3
+ export const COMMON_PRODUCT_EVENT_PROPERTIES = commonJsModule.COMMON_PRODUCT_EVENT_PROPERTIES;
4
+ export const FEEDBACK_PAGE_TOKEN_MAX_LENGTH = commonJsModule.FEEDBACK_PAGE_TOKEN_MAX_LENGTH;
5
+ export const FORBIDDEN_PROPERTY_WORDS = commonJsModule.FORBIDDEN_PROPERTY_WORDS;
6
+ export const PRODUCT_EVENTS = commonJsModule.PRODUCT_EVENTS;
7
+ export const PRODUCT_EVENT_TOKEN_MAX_LENGTH = commonJsModule.PRODUCT_EVENT_TOKEN_MAX_LENGTH;
8
+ export const ProductEventName = commonJsModule.ProductEventName;
9
+ export const SEARCH_QUERY_MAX_LENGTH = commonJsModule.SEARCH_QUERY_MAX_LENGTH;
10
+ export const getProductEventDefinition = commonJsModule.getProductEventDefinition;
11
+ export const getPropertyNameWords = commonJsModule.getPropertyNameWords;
12
+ export const isForbiddenPropertyName = commonJsModule.isForbiddenPropertyName;
13
+ export const toProductEventProperties = commonJsModule.toProductEventProperties;
14
+ export const toProductEventToken = commonJsModule.toProductEventToken;
@@ -2,6 +2,10 @@ declare enum AuditLogAction {
2
2
  Create = "Create",
3
3
  Update = "Update",
4
4
  Delete = "Delete",
5
- Download = "Download"
5
+ Download = "Download",
6
+ SignIn = "SignIn",
7
+ SignOut = "SignOut",
8
+ SessionTimeout = "SessionTimeout",
9
+ SessionRevoked = "SessionRevoked"
6
10
  }
7
11
  export default AuditLogAction;
@@ -2,6 +2,10 @@ declare enum AuditLogAction {
2
2
  Create = "Create",
3
3
  Update = "Update",
4
4
  Delete = "Delete",
5
- Download = "Download"
5
+ Download = "Download",
6
+ SignIn = "SignIn",
7
+ SignOut = "SignOut",
8
+ SessionTimeout = "SessionTimeout",
9
+ SessionRevoked = "SessionRevoked"
6
10
  }
7
11
  export default AuditLogAction;
@@ -10,5 +10,16 @@ var AuditLogAction;
10
10
  * capture's pcap file. Nothing changed, but who has the traffic matters.
11
11
  */
12
12
  AuditLogAction["Download"] = "Download";
13
+ /*
14
+ * A person's sessions (issue #6762): who signed in to OneUptime, how and
15
+ * from where, and how each session ended - signed out, timed out, or
16
+ * revoked because the password changed or the account was blocked. Each
17
+ * is filed in every project its person is a member of, as an entry about
18
+ * the session (Types/AuditLog/AuditLogSessionEvent).
19
+ */
20
+ AuditLogAction["SignIn"] = "SignIn";
21
+ AuditLogAction["SignOut"] = "SignOut";
22
+ AuditLogAction["SessionTimeout"] = "SessionTimeout";
23
+ AuditLogAction["SessionRevoked"] = "SessionRevoked";
13
24
  })(AuditLogAction || (AuditLogAction = {}));
14
25
  exports.default = AuditLogAction;
@@ -0,0 +1,3 @@
1
+ import AuditLogAction from "./AuditLogAction.mjs";
2
+ export declare const AUDIT_LOG_ACTION_LABELS: Readonly<Record<AuditLogAction, string>>;
3
+ export declare const getAuditLogActionLabel: (action: string | undefined) => string;
@@ -0,0 +1,3 @@
1
+ import AuditLogAction from "./AuditLogAction";
2
+ export declare const AUDIT_LOG_ACTION_LABELS: Readonly<Record<AuditLogAction, string>>;
3
+ export declare const getAuditLogActionLabel: (action: string | undefined) => string;
@@ -0,0 +1,30 @@
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.getAuditLogActionLabel = exports.AUDIT_LOG_ACTION_LABELS = void 0;
7
+ const AuditLogAction_1 = __importDefault(require("./AuditLogAction"));
8
+ /*
9
+ * How each action reads where people read the audit log: its table, its
10
+ * filter and an entry's details. An entry, the API and an export carry the
11
+ * action itself ("SignIn"); these are its words ("Sign In").
12
+ */
13
+ exports.AUDIT_LOG_ACTION_LABELS = {
14
+ [AuditLogAction_1.default.Create]: "Create",
15
+ [AuditLogAction_1.default.Update]: "Update",
16
+ [AuditLogAction_1.default.Delete]: "Delete",
17
+ [AuditLogAction_1.default.Download]: "Download",
18
+ [AuditLogAction_1.default.SignIn]: "Sign In",
19
+ [AuditLogAction_1.default.SignOut]: "Sign Out",
20
+ [AuditLogAction_1.default.SessionTimeout]: "Session Timeout",
21
+ [AuditLogAction_1.default.SessionRevoked]: "Session Revoked",
22
+ };
23
+ // The words of an action, or the action as it is when it is not one this release knows.
24
+ const getAuditLogActionLabel = (action) => {
25
+ if (!action) {
26
+ return "Unknown";
27
+ }
28
+ return exports.AUDIT_LOG_ACTION_LABELS[action] || action;
29
+ };
30
+ exports.getAuditLogActionLabel = getAuditLogActionLabel;
@@ -0,0 +1,3 @@
1
+ import commonJsModule from "./AuditLogActionLabel.js";
2
+ export const AUDIT_LOG_ACTION_LABELS = commonJsModule.AUDIT_LOG_ACTION_LABELS;
3
+ export const getAuditLogActionLabel = commonJsModule.getAuditLogActionLabel;
@@ -7,7 +7,8 @@ export declare enum AuditLogExemptionKind {
7
7
  Reported = "Reported",
8
8
  ActivityFeed = "ActivityFeed",
9
9
  WorkingState = "WorkingState",
10
- PersonalSetup = "PersonalSetup"
10
+ PersonalSetup = "PersonalSetup",
11
+ PersonalPreference = "PersonalPreference"
11
12
  }
12
13
  export interface AuditLogExemptionKindDescription {
13
14
  title: string;
@@ -24,6 +25,7 @@ export declare const looksLikeSecretColumn: (name: string, type: TableColumnType
24
25
  export interface AuditLogCoverageModel {
25
26
  tableName: string | null;
26
27
  singularName: string | null;
28
+ apiSingularName?: string | null | undefined;
27
29
  getTenantColumn: () => string | null;
28
30
  getTableColumns: () => {
29
31
  columns: Array<string>;
@@ -7,7 +7,8 @@ export declare enum AuditLogExemptionKind {
7
7
  Reported = "Reported",
8
8
  ActivityFeed = "ActivityFeed",
9
9
  WorkingState = "WorkingState",
10
- PersonalSetup = "PersonalSetup"
10
+ PersonalSetup = "PersonalSetup",
11
+ PersonalPreference = "PersonalPreference"
11
12
  }
12
13
  export interface AuditLogExemptionKindDescription {
13
14
  title: string;
@@ -24,6 +25,7 @@ export declare const looksLikeSecretColumn: (name: string, type: TableColumnType
24
25
  export interface AuditLogCoverageModel {
25
26
  tableName: string | null;
26
27
  singularName: string | null;
28
+ apiSingularName?: string | null | undefined;
27
29
  getTenantColumn: () => string | null;
28
30
  getTableColumns: () => {
29
31
  columns: Array<string>;
@@ -29,7 +29,7 @@ const TableColumnType_1 = __importDefault(require("../Database/TableColumnType")
29
29
  * for the reason its kind gives (AUDIT_LOG_EXEMPTION_KINDS): what machines
30
30
  * write and rewrite all day - logs, reports, feeds, working state - would
31
31
  * bury every change a person made, and a person's own notification setup
32
- * is theirs alone;
32
+ * and preferences are theirs alone;
33
33
  * - every other project-scoped model is audited on create, update and
34
34
  * delete, with the configuration getDefaultAuditLogOn works out below.
35
35
  *
@@ -44,6 +44,7 @@ var AuditLogExemptionKind;
44
44
  AuditLogExemptionKind["ActivityFeed"] = "ActivityFeed";
45
45
  AuditLogExemptionKind["WorkingState"] = "WorkingState";
46
46
  AuditLogExemptionKind["PersonalSetup"] = "PersonalSetup";
47
+ AuditLogExemptionKind["PersonalPreference"] = "PersonalPreference";
47
48
  })(AuditLogExemptionKind || (exports.AuditLogExemptionKind = AuditLogExemptionKind = {}));
48
49
  exports.AUDIT_LOG_EXEMPTION_KINDS = {
49
50
  [AuditLogExemptionKind.MessageLog]: {
@@ -70,6 +71,10 @@ exports.AUDIT_LOG_EXEMPTION_KINDS = {
70
71
  title: "A person's own notification setup",
71
72
  reason: "A person's own notification methods, rules and chat accounts, with addresses and numbers only they may read. An administrator changing someone else's is recorded separately, without the address or number.",
72
73
  },
74
+ [AuditLogExemptionKind.PersonalPreference]: {
75
+ title: "A person's own preferences",
76
+ reason: "What a person chose for themselves in a project, such as the products they pinned to the top bar. Only they see it and only they can change it, so an entry would tell nobody anything.",
77
+ },
73
78
  };
74
79
  /*
75
80
  * The project-scoped models that are NOT audited, by table name, each with
@@ -214,6 +219,8 @@ exports.AUDIT_LOG_EXEMPT_TABLES = {
214
219
  UserWebhook: AuditLogExemptionKind.PersonalSetup,
215
220
  UserWhatsApp: AuditLogExemptionKind.PersonalSetup,
216
221
  WorkspaceUserAuthToken: AuditLogExemptionKind.PersonalSetup,
222
+ // A person's own preferences.
223
+ ProjectUserPreference: AuditLogExemptionKind.PersonalPreference,
217
224
  };
218
225
  /*
219
226
  * The resources with an Audit Logs page of their own. A page lists the
@@ -616,8 +623,10 @@ const inferRootResource = (model) => {
616
623
  }
617
624
  const root = getRelatedModel(metadata.modelType);
618
625
  const rootTable = root.tableName;
626
+ // The type the root's own entries are stored under, so the two match.
627
+ const rootType = root.apiSingularName || root.singularName;
619
628
  if (!rootTable ||
620
- !root.singularName ||
629
+ !rootType ||
621
630
  rootTable === tableName ||
622
631
  !tableName.startsWith(rootTable) ||
623
632
  !exports.AUDIT_LOG_ROOT_RESOURCE_TABLES.has(rootTable)) {
@@ -635,7 +644,7 @@ const inferRootResource = (model) => {
635
644
  if (!found || rootTable.length > found.tableLength) {
636
645
  found = {
637
646
  tableLength: rootTable.length,
638
- root: { resourceType: root.singularName, column: idColumn },
647
+ root: { resourceType: rootType, column: idColumn },
639
648
  };
640
649
  isTied = false;
641
650
  }