@oneuptime/common 16.0.0 → 17.0.0

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 (572) hide show
  1. package/Models/AnalyticsModels/RumProductAnalyticsEvent.js +15 -6
  2. package/Models/AnalyticsModels/RumProductAnalyticsSession.js +27 -10
  3. package/Models/AnalyticsModels/RumProductAnalyticsUser.js +16 -4
  4. package/Models/AnalyticsModels/RumSession.js +12 -0
  5. package/Models/DatabaseModels/AlertSeverity.js +12 -3
  6. package/Models/DatabaseModels/DataAsset.d.mts +1 -0
  7. package/Models/DatabaseModels/DataAsset.d.ts +1 -0
  8. package/Models/DatabaseModels/DataAsset.js +23 -0
  9. package/Models/DatabaseModels/DataBiConnection.d.mts +2 -1
  10. package/Models/DatabaseModels/DataBiConnection.d.ts +2 -1
  11. package/Models/DatabaseModels/DataBiConnection.js +15 -0
  12. package/Models/DatabaseModels/DataCheck.d.mts +3 -0
  13. package/Models/DatabaseModels/DataCheck.d.ts +3 -0
  14. package/Models/DatabaseModels/DataCheck.js +49 -0
  15. package/Models/DatabaseModels/DataDashboard.d.mts +1 -0
  16. package/Models/DatabaseModels/DataDashboard.d.ts +1 -0
  17. package/Models/DatabaseModels/DataDashboard.js +15 -0
  18. package/Models/DatabaseModels/DataPipeline.d.mts +1 -0
  19. package/Models/DatabaseModels/DataPipeline.d.ts +1 -0
  20. package/Models/DatabaseModels/DataPipeline.js +25 -0
  21. package/Models/DatabaseModels/DataPipelineOwnerTeam.d.mts +19 -0
  22. package/Models/DatabaseModels/DataPipelineOwnerTeam.d.ts +19 -0
  23. package/Models/DatabaseModels/DataPipelineOwnerTeam.js +477 -0
  24. package/Models/DatabaseModels/DataPipelineOwnerTeam.mjs +2 -0
  25. package/Models/DatabaseModels/DataPipelineOwnerUser.d.mts +18 -0
  26. package/Models/DatabaseModels/DataPipelineOwnerUser.d.ts +18 -0
  27. package/Models/DatabaseModels/DataPipelineOwnerUser.js +476 -0
  28. package/Models/DatabaseModels/DataPipelineOwnerUser.mjs +2 -0
  29. package/Models/DatabaseModels/DataStore.d.mts +1 -0
  30. package/Models/DatabaseModels/DataStore.d.ts +1 -0
  31. package/Models/DatabaseModels/DataStore.js +23 -0
  32. package/Models/DatabaseModels/DataStoreFinding.d.mts +2 -0
  33. package/Models/DatabaseModels/DataStoreFinding.d.ts +2 -0
  34. package/Models/DatabaseModels/DataStoreFinding.js +21 -0
  35. package/Models/DatabaseModels/EmailLog.d.mts +1 -0
  36. package/Models/DatabaseModels/EmailLog.d.ts +1 -0
  37. package/Models/DatabaseModels/EmailLog.js +35 -0
  38. package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
  39. package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
  40. package/Models/DatabaseModels/GlobalConfig.js +128 -0
  41. package/Models/DatabaseModels/GlobalOidc.d.mts +1 -0
  42. package/Models/DatabaseModels/GlobalOidc.d.ts +1 -0
  43. package/Models/DatabaseModels/GlobalOidc.js +29 -0
  44. package/Models/DatabaseModels/IncidentSeverity.js +12 -3
  45. package/Models/DatabaseModels/Index.js +6 -0
  46. package/Models/DatabaseModels/Monitor.js +18 -0
  47. package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
  48. package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
  49. package/Models/DatabaseModels/NetworkDevice.js +49 -0
  50. package/Models/DatabaseModels/NetworkDeviceAutoImportRule.js +2 -2
  51. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRule.js +1 -1
  52. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +6 -0
  53. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +6 -0
  54. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +156 -1
  55. package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayer.js +1 -1
  56. package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayerUser.js +1 -1
  57. package/Models/DatabaseModels/Probe.d.mts +4 -0
  58. package/Models/DatabaseModels/Probe.d.ts +4 -0
  59. package/Models/DatabaseModels/Probe.js +100 -0
  60. package/Models/DatabaseModels/ProductFeedback.d.mts +2 -1
  61. package/Models/DatabaseModels/ProductFeedback.d.ts +2 -1
  62. package/Models/DatabaseModels/ProductFeedback.js +34 -2
  63. package/Models/DatabaseModels/Project.d.mts +4 -1
  64. package/Models/DatabaseModels/Project.d.ts +4 -1
  65. package/Models/DatabaseModels/Project.js +147 -7
  66. package/Models/DatabaseModels/ProjectCallSMSConfig.js +8 -2
  67. package/Models/DatabaseModels/ProjectOidc.d.mts +1 -0
  68. package/Models/DatabaseModels/ProjectOidc.d.ts +1 -0
  69. package/Models/DatabaseModels/ProjectOidc.js +46 -0
  70. package/Models/DatabaseModels/Reseller.js +8 -2
  71. package/Models/DatabaseModels/ResellerPlan.js +12 -3
  72. package/Models/DatabaseModels/RumApplication.d.mts +1 -0
  73. package/Models/DatabaseModels/RumApplication.d.ts +1 -0
  74. package/Models/DatabaseModels/RumApplication.js +58 -0
  75. package/Models/DatabaseModels/RumSessionErasureRequest.d.mts +1 -0
  76. package/Models/DatabaseModels/RumSessionErasureRequest.d.ts +1 -0
  77. package/Models/DatabaseModels/RumSessionErasureRequest.js +40 -0
  78. package/Models/DatabaseModels/SecurityCaseTask.d.mts +1 -0
  79. package/Models/DatabaseModels/SecurityCaseTask.d.ts +1 -0
  80. package/Models/DatabaseModels/SecurityCaseTask.js +27 -0
  81. package/Models/DatabaseModels/ServerEmailLog.d.mts +12 -0
  82. package/Models/DatabaseModels/ServerEmailLog.d.ts +12 -0
  83. package/Models/DatabaseModels/ServerEmailLog.js +206 -0
  84. package/Models/DatabaseModels/ServerEmailLog.mjs +2 -0
  85. package/Models/DatabaseModels/StatusPageGroup.js +1 -1
  86. package/Models/DatabaseModels/StatusPageResource.js +1 -1
  87. package/Models/DatabaseModels/TelemetryException.js +15 -2
  88. package/Models/DatabaseModels/TelemetryIngestionKey.js +10 -0
  89. package/Models/DatabaseModels/User.d.mts +3 -0
  90. package/Models/DatabaseModels/User.d.ts +3 -0
  91. package/Models/DatabaseModels/User.js +66 -0
  92. package/Models/DatabaseModels/UserSession.d.mts +1 -0
  93. package/Models/DatabaseModels/UserSession.d.ts +1 -0
  94. package/Models/DatabaseModels/UserSession.js +32 -0
  95. package/Models/DatabaseModels/WorkspaceLiveMessage.js +21 -15
  96. package/Models/DatabaseModels/WorkspaceNotificationLog.js +17 -9
  97. package/Models/DatabaseModels/WorkspaceNotificationRule.js +8 -2
  98. package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
  99. package/Server/Services/DatabaseService.d.mts +6 -0
  100. package/Server/Services/DatabaseService.d.ts +6 -0
  101. package/Server/Utils/Workspace/WorkspaceBase.d.mts +1 -0
  102. package/Server/Utils/Workspace/WorkspaceBase.d.ts +1 -0
  103. package/Types/AI/AIActionWords.js +1 -0
  104. package/Types/AI/AIChatPageContext.d.mts +1 -0
  105. package/Types/AI/AIChatPageContext.d.ts +1 -0
  106. package/Types/AI/AIChatPageContext.js +6 -0
  107. package/Types/AI/AIRunProducts.d.mts +14 -0
  108. package/Types/AI/AIRunProducts.d.ts +14 -0
  109. package/Types/AI/AIRunProducts.js +40 -0
  110. package/Types/AI/AIRunProducts.mjs +2 -0
  111. package/Types/AI/AskAiRatings.d.mts +31 -0
  112. package/Types/AI/AskAiRatings.d.ts +31 -0
  113. package/Types/AI/AskAiRatings.js +173 -0
  114. package/Types/AI/AskAiRatings.mjs +13 -0
  115. package/Types/Accounts/SignUpInvitation.d.mts +12 -0
  116. package/Types/Accounts/SignUpInvitation.d.ts +12 -0
  117. package/Types/Accounts/SignUpInvitation.js +84 -0
  118. package/Types/Accounts/SignUpInvitation.mjs +5 -0
  119. package/Types/Analytics/ActivationMilestone.d.mts +2 -1
  120. package/Types/Analytics/ActivationMilestone.d.ts +2 -1
  121. package/Types/Analytics/ActivationMilestone.js +11 -0
  122. package/Types/Analytics/ProductEvent.d.mts +11 -0
  123. package/Types/Analytics/ProductEvent.d.ts +11 -0
  124. package/Types/Analytics/ProductEvent.js +166 -13
  125. package/Types/Analytics/ProductEvent.mjs +3 -0
  126. package/Types/Backup/BackupScriptRun.d.mts +17 -0
  127. package/Types/Backup/BackupScriptRun.d.ts +17 -0
  128. package/Types/Backup/BackupScriptRun.js +96 -0
  129. package/Types/Backup/BackupScriptRun.mjs +6 -0
  130. package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +2 -0
  131. package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +2 -0
  132. package/Types/BaseDatabase/ReadAudience.d.mts +9 -0
  133. package/Types/BaseDatabase/ReadAudience.d.ts +9 -0
  134. package/Types/BaseDatabase/ReadAudience.js +2 -0
  135. package/Types/BaseDatabase/ReadAudience.mjs +1 -0
  136. package/Types/Cloud/CloudKeyMetricGroup.d.mts +17 -0
  137. package/Types/Cloud/CloudKeyMetricGroup.d.ts +17 -0
  138. package/Types/Cloud/CloudKeyMetricGroup.js +84 -0
  139. package/Types/Cloud/CloudKeyMetricGroup.mjs +5 -0
  140. package/Types/Cloud/CloudKeyMetrics.d.mts +28 -1
  141. package/Types/Cloud/CloudKeyMetrics.d.ts +28 -1
  142. package/Types/Cloud/CloudKeyMetrics.js +1209 -206
  143. package/Types/Cloud/CloudKeyMetrics.mjs +6 -0
  144. package/Types/Cloud/CloudResourceCatalog.js +43 -12
  145. package/Types/CloudConnection/CloudConnectionSetupCommands.d.mts +1 -0
  146. package/Types/CloudConnection/CloudConnectionSetupCommands.d.ts +1 -0
  147. package/Types/CloudConnection/CloudConnectionSetupCommands.js +49 -6
  148. package/Types/CloudConnection/CloudConnectionSetupCommands.mjs +1 -0
  149. package/Types/CloudConnection/CloudStreamTemplate.js +6 -2
  150. package/Types/CreateFormAddress.d.mts +3 -0
  151. package/Types/CreateFormAddress.d.ts +3 -0
  152. package/Types/CreateFormAddress.js +17 -0
  153. package/Types/CreateFormAddress.mjs +4 -0
  154. package/Types/DataObservability/DataAssetFreshness.d.mts +5 -0
  155. package/Types/DataObservability/DataAssetFreshness.d.ts +5 -0
  156. package/Types/DataObservability/DataAssetFreshness.js +28 -5
  157. package/Types/DataObservability/DataAssetFreshness.mjs +1 -0
  158. package/Types/DataObservability/DataBiLineage.d.mts +69 -0
  159. package/Types/DataObservability/DataBiLineage.d.ts +69 -0
  160. package/Types/DataObservability/DataBiLineage.js +198 -0
  161. package/Types/DataObservability/DataBiLineage.mjs +13 -0
  162. package/Types/DataObservability/DataLineageColumnTrail.d.mts +2 -1
  163. package/Types/DataObservability/DataLineageColumnTrail.d.ts +2 -1
  164. package/Types/DataObservability/DataLineageColumnTrail.js +41 -3
  165. package/Types/DataObservability/DataLineageColumnTrail.mjs +1 -0
  166. package/Types/DataObservability/DataLineageMap.d.mts +67 -1
  167. package/Types/DataObservability/DataLineageMap.d.ts +67 -1
  168. package/Types/DataObservability/DataLineageMap.js +335 -3
  169. package/Types/DataObservability/DataLineageMap.mjs +14 -0
  170. package/Types/DataObservability/DataObservabilityApiTypes.d.mts +42 -2
  171. package/Types/DataObservability/DataObservabilityApiTypes.d.ts +42 -2
  172. package/Types/DataObservability/DataObservabilityApiTypes.js +21 -1
  173. package/Types/DataObservability/DataObservabilityApiTypes.mjs +4 -0
  174. package/Types/DataObservability/DataObservabilityAttention.d.mts +5 -0
  175. package/Types/DataObservability/DataObservabilityAttention.d.ts +5 -0
  176. package/Types/DataObservability/DataObservabilityAttention.js +48 -1
  177. package/Types/DataObservability/DataObservabilityAttention.mjs +5 -0
  178. package/Types/DataObservability/DataPipelineSchedule.d.mts +4 -0
  179. package/Types/DataObservability/DataPipelineSchedule.d.ts +4 -0
  180. package/Types/DataObservability/DataPipelineSchedule.js +26 -6
  181. package/Types/DataObservability/DataPipelineSchedule.mjs +1 -0
  182. package/Types/DataObservability/DataTableLineage.d.mts +6 -0
  183. package/Types/DataObservability/DataTableLineage.d.ts +6 -0
  184. package/Types/DataSecurity/DataSecurityApiTypes.d.mts +24 -0
  185. package/Types/DataSecurity/DataSecurityApiTypes.d.ts +24 -0
  186. package/Types/DataSecurity/DataSecurityApiTypes.js +21 -1
  187. package/Types/DataSecurity/DataSecurityApiTypes.mjs +2 -0
  188. package/Types/DataSecurity/FindingSampleRecord.d.mts +16 -0
  189. package/Types/DataSecurity/FindingSampleRecord.d.ts +16 -0
  190. package/Types/DataSecurity/FindingSampleRecord.js +112 -0
  191. package/Types/DataSecurity/FindingSampleRecord.mjs +6 -0
  192. package/Types/Database/AccessControl/PermissionScopeNarrowing.js +6 -0
  193. package/Types/Database/MoveInList.d.mts +41 -0
  194. package/Types/Database/MoveInList.d.ts +41 -0
  195. package/Types/Database/MoveInList.js +177 -0
  196. package/Types/Database/MoveInList.mjs +4 -0
  197. package/Types/Email/ServerEmailLog.d.mts +41 -0
  198. package/Types/Email/ServerEmailLog.d.ts +41 -0
  199. package/Types/Email/ServerEmailLog.js +136 -0
  200. package/Types/Email/ServerEmailLog.mjs +11 -0
  201. package/Types/Exception/ProductSwitchedOffException.d.mts +12 -0
  202. package/Types/Exception/ProductSwitchedOffException.d.ts +12 -0
  203. package/Types/Exception/ProductSwitchedOffException.js +38 -0
  204. package/Types/Exception/ProductSwitchedOffException.mjs +2 -0
  205. package/Types/Exception/UnexplainedError.d.mts +7 -0
  206. package/Types/Exception/UnexplainedError.d.ts +7 -0
  207. package/Types/Exception/UnexplainedError.js +36 -1
  208. package/Types/Exception/UnexplainedError.mjs +2 -0
  209. package/Types/InstallationHealth/InstallationHealth.d.mts +39 -0
  210. package/Types/InstallationHealth/InstallationHealth.d.ts +39 -0
  211. package/Types/InstallationHealth/InstallationHealth.js +163 -0
  212. package/Types/Kubernetes/KubernetesHealth.d.mts +16 -0
  213. package/Types/Kubernetes/KubernetesHealth.d.ts +16 -0
  214. package/Types/Kubernetes/KubernetesHealth.js +128 -6
  215. package/Types/Kubernetes/KubernetesHealth.mjs +2 -0
  216. package/Types/Monitor/CloudAppAlertTemplates.d.mts +3 -13
  217. package/Types/Monitor/CloudAppAlertTemplates.d.ts +3 -13
  218. package/Types/Monitor/CloudAppAlertTemplates.js +13 -199
  219. package/Types/Monitor/CriteriaFilter.d.mts +2 -1
  220. package/Types/Monitor/CriteriaFilter.d.ts +2 -1
  221. package/Types/Monitor/CriteriaFilter.js +9 -1
  222. package/Types/Monitor/CriteriaFilterTerms.js +1 -0
  223. package/Types/Monitor/MessageQueueAlertTemplates.d.mts +6 -0
  224. package/Types/Monitor/MessageQueueAlertTemplates.d.ts +6 -0
  225. package/Types/Monitor/MessageQueueAlertTemplates.js +32 -0
  226. package/Types/Monitor/MessageQueueAlertTemplates.mjs +2 -0
  227. package/Types/Monitor/MonitorCriteriaInstance.d.mts +2 -0
  228. package/Types/Monitor/MonitorCriteriaInstance.d.ts +2 -0
  229. package/Types/Monitor/MonitorCriteriaInstance.js +52 -0
  230. package/Types/Monitor/MonitorMetricType.d.mts +2 -1
  231. package/Types/Monitor/MonitorMetricType.d.ts +2 -1
  232. package/Types/Monitor/MonitorMetricType.js +1 -0
  233. package/Types/Monitor/MonitorStepLimit.d.mts +8 -0
  234. package/Types/Monitor/MonitorStepLimit.d.ts +8 -0
  235. package/Types/Monitor/MonitorStepLimit.js +62 -0
  236. package/Types/Monitor/MonitorStepLimit.mjs +3 -0
  237. package/Types/Monitor/MonitorSteps.js +5 -0
  238. package/Types/Monitor/MonitorType.js +2 -1
  239. package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.mts +5 -0
  240. package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.ts +5 -0
  241. package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.mts +1 -1
  242. package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.ts +1 -1
  243. package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +111 -1
  244. package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +7 -1
  245. package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +7 -1
  246. package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +15 -0
  247. package/Types/Monitor/RequestHealthAlertTemplates.d.mts +66 -0
  248. package/Types/Monitor/RequestHealthAlertTemplates.d.ts +66 -0
  249. package/Types/Monitor/RequestHealthAlertTemplates.js +227 -0
  250. package/Types/Monitor/RequestHealthAlertTemplates.mjs +4 -0
  251. package/Types/Monitor/ServerlessAlertTemplates.d.mts +23 -0
  252. package/Types/Monitor/ServerlessAlertTemplates.d.ts +23 -0
  253. package/Types/Monitor/ServerlessAlertTemplates.js +111 -0
  254. package/Types/Monitor/ServerlessAlertTemplates.mjs +7 -0
  255. package/Types/Monitor/ServiceAlertTemplates.d.mts +3 -0
  256. package/Types/Monitor/ServiceAlertTemplates.d.ts +3 -0
  257. package/Types/Monitor/ServiceAlertTemplates.js +61 -0
  258. package/Types/Monitor/ServiceAlertTemplates.mjs +2 -0
  259. package/Types/Monitor/TelemetryRulePreview.js +18 -6
  260. package/Types/Monitor/WhoIsTold.d.mts +71 -0
  261. package/Types/Monitor/WhoIsTold.d.ts +71 -0
  262. package/Types/Monitor/WhoIsTold.js +348 -121
  263. package/Types/Monitor/WhoIsTold.mjs +7 -0
  264. package/Types/NetworkAutomation/RuleRunResult.js +9 -5
  265. package/Types/NetworkDevice/DiscoveredDevice.d.mts +40 -0
  266. package/Types/NetworkDevice/DiscoveredDevice.d.ts +40 -0
  267. package/Types/NetworkDevice/DiscoveredDevice.js +205 -1
  268. package/Types/NetworkDevice/DiscoveredDevice.mjs +9 -0
  269. package/Types/NetworkDevice/DiscoveryImport.js +8 -3
  270. package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.mts +26 -3
  271. package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.ts +26 -3
  272. package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.js +75 -3
  273. package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.mjs +2 -0
  274. package/Types/Notification/WhoWasTold.d.mts +190 -0
  275. package/Types/Notification/WhoWasTold.d.ts +190 -0
  276. package/Types/Notification/WhoWasTold.js +662 -0
  277. package/Types/Notification/WhoWasTold.mjs +16 -0
  278. package/Types/NotificationRule/PagingLadderDefault.d.mts +75 -0
  279. package/Types/NotificationRule/PagingLadderDefault.d.ts +75 -0
  280. package/Types/NotificationRule/PagingLadderDefault.js +529 -0
  281. package/Types/NotificationRule/PagingLadderDefault.mjs +24 -0
  282. package/Types/OnCallDutyPolicy/EveryNewEventRules.d.mts +7 -0
  283. package/Types/OnCallDutyPolicy/EveryNewEventRules.d.ts +7 -0
  284. package/Types/OnCallDutyPolicy/EveryNewEventRules.js +53 -2
  285. package/Types/OnCallDutyPolicy/EveryNewEventRules.mjs +3 -0
  286. package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.mts +6 -0
  287. package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.ts +6 -0
  288. package/Types/OnCallDutyPolicy/NotificationSetupToFinish.js +27 -0
  289. package/Types/OnCallDutyPolicy/NotificationSetupToFinish.mjs +3 -0
  290. package/Types/OnCallDutyPolicy/OnCallFireDrill.d.mts +83 -0
  291. package/Types/OnCallDutyPolicy/OnCallFireDrill.d.ts +83 -0
  292. package/Types/OnCallDutyPolicy/OnCallFireDrill.js +105 -0
  293. package/Types/OnCallDutyPolicy/OnCallFireDrill.mjs +9 -0
  294. package/Types/OnCallDutyPolicy/OnCallPagePassOn.js +12 -4
  295. package/Types/OnCallDutyPolicy/OnCallRunLevel.d.mts +12 -0
  296. package/Types/OnCallDutyPolicy/OnCallRunLevel.d.ts +12 -0
  297. package/Types/OnCallDutyPolicy/OnCallRunLevel.js +69 -8
  298. package/Types/OnCallDutyPolicy/OnCallRunLevel.mjs +3 -0
  299. package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +4 -0
  300. package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +4 -0
  301. package/Types/OnCallDutyPolicy/OnCallTestPage.js +20 -7
  302. package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +2 -0
  303. package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.mts +2 -0
  304. package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.ts +2 -0
  305. package/Types/OnCallDutyPolicy/ScheduleLayersSave.js +14 -1
  306. package/Types/OnCallDutyPolicy/ScheduleLayersSave.mjs +2 -0
  307. package/Types/OnCallDutyPolicy/UserOverrideEdit.d.mts +7 -0
  308. package/Types/OnCallDutyPolicy/UserOverrideEdit.d.ts +7 -0
  309. package/Types/OnCallDutyPolicy/UserOverrideEdit.js +63 -1
  310. package/Types/OnCallDutyPolicy/UserOverrideEdit.mjs +4 -0
  311. package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.mts +21 -1
  312. package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.ts +21 -1
  313. package/Types/OnCallDutyPolicy/UserOverrideOverlap.js +46 -2
  314. package/Types/Permission.d.mts +8 -0
  315. package/Types/Permission.d.ts +8 -0
  316. package/Types/Permission.js +84 -0
  317. package/Types/Probe/ProbeBehind.d.mts +48 -0
  318. package/Types/Probe/ProbeBehind.d.ts +48 -0
  319. package/Types/Probe/ProbeBehind.js +196 -0
  320. package/Types/Probe/ProbeBehind.mjs +6 -0
  321. package/Types/Product/ProductRecordTables.d.mts +8 -0
  322. package/Types/Product/ProductRecordTables.d.ts +8 -0
  323. package/Types/Product/ProductRecordTables.js +847 -0
  324. package/Types/Product/ProductRecordTables.mjs +5 -0
  325. package/Types/Product/ProductUsage.d.mts +2 -0
  326. package/Types/Product/ProductUsage.d.ts +2 -0
  327. package/Types/Product/ProductUsage.js +41 -6
  328. package/Types/Product/ProductUsage.mjs +2 -0
  329. package/Types/Product/ServerProductOffReason.d.mts +4 -0
  330. package/Types/Product/ServerProductOffReason.d.ts +4 -0
  331. package/Types/Product/ServerProductOffReason.js +19 -0
  332. package/Types/Product/ServerProductOffReason.mjs +2 -0
  333. package/Types/Product/ServerProducts.d.mts +2 -4
  334. package/Types/Product/ServerProducts.d.ts +2 -4
  335. package/Types/Product/ServerProducts.js +19 -17
  336. package/Types/ProductFeedback/ProductFeedback.d.mts +45 -1
  337. package/Types/ProductFeedback/ProductFeedback.d.ts +45 -1
  338. package/Types/ProductFeedback/ProductFeedback.js +185 -5
  339. package/Types/ProductFeedback/ProductFeedback.mjs +11 -0
  340. package/Types/PushNotification/PushNotificationCategory.d.mts +1 -0
  341. package/Types/PushNotification/PushNotificationCategory.d.ts +1 -0
  342. package/Types/PushNotification/PushNotificationCategory.js +17 -6
  343. package/Types/PushNotification/PushNotificationCategory.mjs +1 -0
  344. package/Types/Rules/RuleCriteriaFieldRegistry.d.mts +18 -0
  345. package/Types/Rules/RuleCriteriaFieldRegistry.d.ts +18 -0
  346. package/Types/Rules/RuleCriteriaFieldRegistry.js +34 -1
  347. package/Types/Rules/RuleCriteriaFieldRegistry.mjs +4 -0
  348. package/Types/Rum/ProductAnalytics.d.mts +9 -0
  349. package/Types/Rum/ProductAnalytics.d.ts +9 -0
  350. package/Types/Rum/ProductAnalytics.js +56 -8
  351. package/Types/Rum/ProductAnalytics.mjs +6 -0
  352. package/Types/Rum/ProductAnalyticsEvents.js +2 -1
  353. package/Types/Rum/SessionReplay.d.mts +3 -0
  354. package/Types/Rum/SessionReplay.d.ts +3 -0
  355. package/Types/Rum/SessionReplay.js +35 -1
  356. package/Types/Rum/SessionReplay.mjs +2 -0
  357. package/Types/Runbook/RunbookTriggerType.d.mts +1 -0
  358. package/Types/Runbook/RunbookTriggerType.d.ts +1 -0
  359. package/Types/Runbook/RunbookTriggerType.js +19 -1
  360. package/Types/Runbook/RunbookTriggerType.mjs +1 -0
  361. package/Types/SSO/IdentityProviderSignOut.d.mts +24 -0
  362. package/Types/SSO/IdentityProviderSignOut.d.ts +24 -0
  363. package/Types/SSO/IdentityProviderSignOut.js +124 -0
  364. package/Types/SSO/IdentityProviderSignOut.mjs +10 -0
  365. package/Types/SecurityCase/SecurityCaseEventEvidence.d.mts +4 -0
  366. package/Types/SecurityCase/SecurityCaseEventEvidence.d.ts +4 -0
  367. package/Types/SecurityCase/SecurityCaseEventEvidence.js +12 -0
  368. package/Types/SecurityCase/SecurityCaseMatches.d.mts +78 -0
  369. package/Types/SecurityCase/SecurityCaseMatches.d.ts +78 -0
  370. package/Types/SecurityCase/SecurityCaseMatches.js +252 -0
  371. package/Types/SecurityCase/SecurityCaseMatches.mjs +17 -0
  372. package/Types/ServerSending/ProjectCanSend.d.mts +10 -0
  373. package/Types/ServerSending/ProjectCanSend.d.ts +10 -0
  374. package/Types/ServerSending/ProjectCanSend.js +49 -0
  375. package/Types/ServerSending/ProjectCanSend.mjs +4 -0
  376. package/Types/ServerSending/ServerAlerts.d.mts +78 -0
  377. package/Types/ServerSending/ServerAlerts.d.ts +78 -0
  378. package/Types/ServerSending/ServerAlerts.js +393 -0
  379. package/Types/ServerSending/ServerAlerts.mjs +8 -0
  380. package/Types/ServerSending/ServerSendingStatus.d.mts +6 -0
  381. package/Types/ServerSending/ServerSendingStatus.d.ts +6 -0
  382. package/Types/ServerSending/ServerSendingStatus.js +23 -0
  383. package/Types/ServerSending/ServerSetUpProblem.d.mts +46 -0
  384. package/Types/ServerSending/ServerSetUpProblem.d.ts +46 -0
  385. package/Types/ServerSending/ServerSetUpProblem.js +164 -0
  386. package/Types/ServerSending/ServerSetUpProblem.mjs +6 -0
  387. package/Types/ServerSetup/ServerSetupChecklist.d.mts +35 -1
  388. package/Types/ServerSetup/ServerSetupChecklist.d.ts +35 -1
  389. package/Types/ServerSetup/ServerSetupChecklist.js +270 -33
  390. package/Types/ServerSetup/ServerSetupChecklist.mjs +5 -0
  391. package/Types/ServerSetup/ServerTestSend.d.mts +11 -0
  392. package/Types/ServerSetup/ServerTestSend.d.ts +11 -0
  393. package/Types/ServerSetup/ServerTestSend.js +60 -3
  394. package/Types/ServerSetup/ServerTestSend.mjs +2 -0
  395. package/Types/ServiceLevelObjective/SloStatus.d.mts +3 -0
  396. package/Types/ServiceLevelObjective/SloStatus.d.ts +3 -0
  397. package/Types/ServiceLevelObjective/SloStatus.js +38 -0
  398. package/Types/ServiceLevelObjective/SloStatus.mjs +2 -0
  399. package/Types/ServiceLevelObjective/SloStatusChange.d.mts +10 -0
  400. package/Types/ServiceLevelObjective/SloStatusChange.d.ts +10 -0
  401. package/Types/ServiceLevelObjective/SloStatusChange.js +71 -0
  402. package/Types/ServiceLevelObjective/SloStatusChange.mjs +5 -0
  403. package/Types/SetupHealth/SetupHealth.d.mts +31 -3
  404. package/Types/SetupHealth/SetupHealth.d.ts +31 -3
  405. package/Types/SetupHealth/SetupHealth.js +333 -4
  406. package/Types/SetupHealth/SetupHealth.mjs +5 -0
  407. package/Types/StatusPage/NewIncidentSubscriberNotificationDefault.js +8 -5
  408. package/Types/StatusPage/StatusPagePublicName.d.mts +6 -0
  409. package/Types/StatusPage/StatusPagePublicName.d.ts +6 -0
  410. package/Types/StatusPage/StatusPagePublicName.js +32 -0
  411. package/Types/StatusPage/StatusPagePublicName.mjs +3 -0
  412. package/Types/Team/InvitationEmailsNotSent.d.mts +28 -0
  413. package/Types/Team/InvitationEmailsNotSent.d.ts +28 -0
  414. package/Types/Team/InvitationEmailsNotSent.js +261 -0
  415. package/Types/Team/InvitationEmailsNotSent.mjs +13 -0
  416. package/Types/Team/ProjectMemberSearch.d.mts +15 -0
  417. package/Types/Team/ProjectMemberSearch.d.ts +15 -0
  418. package/Types/Team/ProjectMemberSearch.js +180 -0
  419. package/Types/Team/ProjectMemberSearch.mjs +10 -0
  420. package/Types/Team/ProjectRemovalReach.d.mts +15 -0
  421. package/Types/Team/ProjectRemovalReach.d.ts +15 -0
  422. package/Types/Team/ProjectRemovalReach.js +154 -0
  423. package/Types/Team/ProjectRemovalReach.mjs +8 -0
  424. package/Types/Team/ResendInvitation.d.mts +27 -0
  425. package/Types/Team/ResendInvitation.d.ts +27 -0
  426. package/Types/Team/ResendInvitation.js +123 -0
  427. package/Types/Team/ResendInvitation.mjs +12 -0
  428. package/Types/UsedBy/UsedBy.d.mts +1 -0
  429. package/Types/UsedBy/UsedBy.d.ts +1 -0
  430. package/Types/UsedBy/UsedBy.js +2 -0
  431. package/Types/UsedBy/UsedByServerProducts.js +1 -0
  432. package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +27 -4
  433. package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +27 -4
  434. package/Types/WelcomeChecklist/WelcomeChecklist.js +166 -42
  435. package/Types/WelcomeChecklist/WelcomeChecklist.mjs +8 -0
  436. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +4 -1
  437. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +4 -1
  438. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +175 -33
  439. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.mjs +1 -0
  440. package/Types/WelcomeChecklist/WelcomeChecklistState.d.mts +1 -0
  441. package/Types/WelcomeChecklist/WelcomeChecklistState.d.ts +1 -0
  442. package/Types/WelcomeChecklist/WelcomeChecklistState.js +30 -1
  443. package/Types/WelcomeChecklist/WelcomeChecklistState.mjs +1 -0
  444. package/Types/Workflow/Component.d.mts +0 -1
  445. package/Types/Workflow/Component.d.ts +0 -1
  446. package/Types/Workspace/NotificationRules/BaseNotificationRule.d.mts +1 -1
  447. package/Types/Workspace/NotificationRules/BaseNotificationRule.d.ts +1 -1
  448. package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +23 -0
  449. package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +23 -0
  450. package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.mts +12 -0
  451. package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.ts +12 -0
  452. package/Types/Workspace/NotificationRules/NotificationRuleUpdates.js +106 -4
  453. package/Types/Workspace/WorkspaceMessagePayload.d.mts +2 -0
  454. package/Types/Workspace/WorkspaceMessagePayload.d.ts +2 -0
  455. package/Types/Workspace/WorkspaceMessagePayload.js +6 -1
  456. package/Types/Workspace/WorkspaceMessagePayload.mjs +1 -0
  457. package/UI/Components/Dropdown/Dropdown.d.mts +2 -0
  458. package/UI/Components/Dropdown/Dropdown.d.ts +2 -0
  459. package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.js +6 -1
  460. package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.js +6 -1
  461. package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +4 -1
  462. package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +4 -1
  463. package/Utils/Dashboard/MonitorListWidgetFormat.js +9 -4
  464. package/Utils/DataSecurity/CustomDataTypeDetector.js +3 -1
  465. package/Utils/DataSecurity/DetectorPrefilter.d.mts +9 -0
  466. package/Utils/DataSecurity/DetectorPrefilter.d.ts +9 -0
  467. package/Utils/DataSecurity/DetectorPrefilter.js +471 -0
  468. package/Utils/DataSecurity/DetectorPrefilter.mjs +6 -0
  469. package/Utils/DataSecurity/FieldClassifier.d.mts +2 -0
  470. package/Utils/DataSecurity/FieldClassifier.d.ts +2 -0
  471. package/Utils/DataSecurity/FieldClassifier.js +38 -8
  472. package/Utils/DataSecurity/OccurrenceExcerpt.d.mts +22 -0
  473. package/Utils/DataSecurity/OccurrenceExcerpt.d.ts +22 -0
  474. package/Utils/DataSecurity/OccurrenceExcerpt.js +270 -0
  475. package/Utils/DataSecurity/OccurrenceExcerpt.mjs +5 -0
  476. package/Utils/DataSecurity/TextScanner.d.mts +4 -0
  477. package/Utils/DataSecurity/TextScanner.d.ts +4 -0
  478. package/Utils/Monitor/DeviceMonitorDuplicates.d.mts +34 -0
  479. package/Utils/Monitor/DeviceMonitorDuplicates.d.ts +34 -0
  480. package/Utils/Monitor/DeviceMonitorDuplicates.js +134 -0
  481. package/Utils/Monitor/DeviceMonitorDuplicates.mjs +7 -0
  482. package/Utils/Monitor/DeviceMonitorTemplateUtil.d.mts +4 -0
  483. package/Utils/Monitor/DeviceMonitorTemplateUtil.d.ts +4 -0
  484. package/Utils/Monitor/DeviceMonitorTemplateUtil.js +33 -6
  485. package/Utils/Monitor/MonitorMetricType.js +11 -1
  486. package/Utils/Monitor/MonitorOverviewPresentationUtil.js +21 -3
  487. package/Utils/Monitor/ProbeFailureCauses.js +4 -1
  488. package/Utils/Monitor/ProbeStatusMonitorUtil.d.mts +5 -1
  489. package/Utils/Monitor/ProbeStatusMonitorUtil.d.ts +5 -1
  490. package/Utils/Monitor/ProbeStatusMonitorUtil.js +106 -0
  491. package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.mts +3 -0
  492. package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.ts +3 -0
  493. package/Utils/NetworkDevice/NetworkDeviceAssetFacts.js +33 -4
  494. package/Utils/NetworkDevice/NetworkDeviceAssetFacts.mjs +1 -0
  495. package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.mts +33 -0
  496. package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.ts +33 -0
  497. package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.js +105 -0
  498. package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.mjs +8 -0
  499. package/Utils/NetworkDevice/SnmpCredentialUtil.d.mts +5 -0
  500. package/Utils/NetworkDevice/SnmpCredentialUtil.d.ts +5 -0
  501. package/Utils/NetworkDevice/SnmpCredentialUtil.js +28 -3
  502. package/Utils/NetworkDevice/SnmpCredentialUtil.mjs +3 -0
  503. package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.mts +1 -0
  504. package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.ts +1 -0
  505. package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.js +20 -1
  506. package/Utils/Rules/RuleCriteriaMatcher.d.mts +1 -0
  507. package/Utils/Rules/RuleCriteriaMatcher.d.ts +1 -0
  508. package/Utils/Rules/RuleCriteriaMatcher.js +6 -0
  509. package/Utils/Rules/RuleCriteriaOwnerMatch.d.mts +10 -0
  510. package/Utils/Rules/RuleCriteriaOwnerMatch.d.ts +10 -0
  511. package/Utils/Rules/RuleCriteriaOwnerMatch.js +83 -0
  512. package/Utils/Rules/RuleCriteriaOwnerMatch.mjs +4 -0
  513. package/Utils/SecurityCase/SecurityCaseMatchRules.d.mts +27 -0
  514. package/Utils/SecurityCase/SecurityCaseMatchRules.d.ts +27 -0
  515. package/Utils/SecurityCase/SecurityCaseMatchRules.js +377 -0
  516. package/Utils/SecurityCase/SecurityCaseMatchRules.mjs +9 -0
  517. package/Utils/Slo/SloBulkRecommendedPolicy.d.mts +35 -0
  518. package/Utils/Slo/SloBulkRecommendedPolicy.d.ts +35 -0
  519. package/Utils/Slo/SloBulkRecommendedPolicy.js +168 -0
  520. package/Utils/Slo/SloBulkRecommendedPolicy.mjs +6 -0
  521. package/Utils/Slo/SloBurnRateRuleState.js +3 -6
  522. package/Utils/Slo/SloErrorBudgetPolicy.d.mts +17 -0
  523. package/Utils/Slo/SloErrorBudgetPolicy.d.ts +17 -0
  524. package/Utils/Slo/SloErrorBudgetPolicy.js +72 -1
  525. package/Utils/Slo/SloErrorBudgetPolicy.mjs +4 -0
  526. package/Utils/Slo/SloFeedMarkdown.d.mts +5 -2
  527. package/Utils/Slo/SloFeedMarkdown.d.ts +5 -2
  528. package/Utils/Slo/SloFeedMarkdown.js +19 -7
  529. package/Utils/Slo/SloFeedMarkdown.mjs +1 -0
  530. package/Utils/Slo/SloHealth.d.mts +5 -0
  531. package/Utils/Slo/SloHealth.d.ts +5 -0
  532. package/Utils/Slo/SloHealth.js +27 -0
  533. package/Utils/Slo/SloListWidgetFormat.js +5 -3
  534. package/Utils/Slo/SloMetricType.js +6 -5
  535. package/Utils/Slo/SloMonitorsFirstCheck.d.mts +13 -0
  536. package/Utils/Slo/SloMonitorsFirstCheck.d.ts +13 -0
  537. package/Utils/Slo/SloMonitorsFirstCheck.js +78 -0
  538. package/Utils/Slo/SloMonitorsFirstCheck.mjs +3 -0
  539. package/Utils/Slo/SloOverviewText.js +7 -0
  540. package/Utils/Slo/SloStatusColor.d.mts +3 -0
  541. package/Utils/Slo/SloStatusColor.d.ts +3 -0
  542. package/Utils/Slo/SloStatusColor.js +3 -0
  543. package/Utils/Slo/SloStatusPosts.d.mts +18 -0
  544. package/Utils/Slo/SloStatusPosts.d.ts +18 -0
  545. package/Utils/Slo/SloStatusPosts.js +95 -0
  546. package/Utils/Slo/SloStatusPosts.mjs +3 -0
  547. package/Utils/StatusPage/GridAxisValues.d.mts +2 -0
  548. package/Utils/StatusPage/GridAxisValues.d.ts +2 -0
  549. package/Utils/StatusPage/GridAxisValues.js +33 -0
  550. package/Utils/StatusPage/GridAxisValues.mjs +3 -0
  551. package/Utils/StatusPage/GroupHierarchyView.d.mts +2 -2
  552. package/Utils/StatusPage/GroupHierarchyView.d.ts +2 -2
  553. package/Utils/StatusPage/GroupHierarchyView.js +13 -12
  554. package/Utils/StatusPage/GroupNestingLayout.d.mts +1 -0
  555. package/Utils/StatusPage/GroupNestingLayout.d.ts +1 -0
  556. package/Utils/StatusPage/GroupNestingLayout.js +25 -5
  557. package/Utils/StatusPage/ResourceExplorer.d.mts +2 -2
  558. package/Utils/StatusPage/ResourceExplorer.d.ts +2 -2
  559. package/Utils/StatusPage/ResourceExplorer.js +15 -21
  560. package/Utils/StatusPage/StatusColorsOnDark.d.mts +5 -3
  561. package/Utils/StatusPage/StatusColorsOnDark.d.ts +5 -3
  562. package/Utils/StatusPage/StatusColorsOnDark.js +18 -6
  563. package/Utils/StatusPage/StatusColorsOnDark.mjs +1 -0
  564. package/Utils/Telemetry/MobileAppFaults.d.mts +8 -0
  565. package/Utils/Telemetry/MobileAppFaults.d.ts +8 -0
  566. package/Utils/Telemetry/MobileAppFaults.js +69 -0
  567. package/Utils/Telemetry/MobileAppFaults.mjs +6 -0
  568. package/Utils/Workspace/WorkspaceRefusal.d.mts +108 -0
  569. package/Utils/Workspace/WorkspaceRefusal.d.ts +108 -0
  570. package/Utils/Workspace/WorkspaceRefusal.js +769 -0
  571. package/Utils/Workspace/WorkspaceRefusal.mjs +50 -0
  572. package/package.json +4 -1
@@ -1,10 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SETUP_HEALTH_RECORD_KINDS_WITH_A_PAGE = exports.SETUP_HEALTH_RULES = exports.SETUP_HEALTH_CACHE_TTL_IN_MS = exports.SCHEDULE_GAP_LOOKAHEAD_IN_DAYS = exports.INGESTION_KEY_HTTP_USE_RECORDED_SINCE = exports.INGESTION_KEY_USE_RECORDED_SINCE = exports.INGESTION_KEY_UNUSED_AFTER_IN_DAYS = exports.MONITOR_OFF_FOR_LONG_IN_DAYS = exports.DOMAIN_VERIFICATION_GRACE_IN_MS = exports.SETUP_HEALTH_WORDS = exports.SetupHealthEventKind = exports.SetupHealthCertificateReason = exports.SetupHealthMonitorReason = exports.SetupHealthScheduleReason = exports.SETUP_HEALTH_RESPONDER_REASON_ORDER = exports.SetupHealthResponderReason = exports.SetupHealthFix = exports.SetupHealthRecordKind = exports.SETUP_HEALTH_CHECK_ORDER = exports.SetupHealthCheck = exports.SETUP_HEALTH_LEVELS_ON_HOME = exports.SETUP_HEALTH_LEVEL_ORDER = exports.SetupHealthLevel = void 0;
3
+ exports.SETUP_HEALTH_RECORD_KINDS_WITH_A_PAGE = exports.SETUP_HEALTH_RULES = exports.SETUP_HEALTH_CACHE_TTL_IN_MS = exports.SCHEDULE_GAP_LOOKAHEAD_IN_DAYS = exports.INGESTION_KEY_HTTP_USE_RECORDED_SINCE = exports.INGESTION_KEY_USE_RECORDED_SINCE = exports.INGESTION_KEY_UNUSED_AFTER_IN_DAYS = exports.MONITOR_OFF_FOR_LONG_IN_DAYS = exports.DOMAIN_VERIFICATION_GRACE_IN_MS = exports.SETUP_HEALTH_WORDS = exports.SetupHealthEventKind = exports.SetupHealthOwnerSubject = exports.SetupHealthCertificateReason = exports.SetupHealthMonitorReason = exports.SetupHealthScheduleReason = exports.SETUP_HEALTH_RESPONDER_REASON_ORDER = exports.SetupHealthResponderReason = exports.SetupHealthFix = exports.SetupHealthRecordKind = exports.SETUP_HEALTH_CHECK_ORDER = exports.SetupHealthCheck = exports.SETUP_HEALTH_LEVELS_ON_HOME = exports.SETUP_HEALTH_LEVEL_ORDER = exports.SetupHealthLevel = void 0;
4
4
  exports.getSetupHealthFindingKey = getSetupHealthFindingKey;
5
5
  exports.makeSetupHealthFinding = makeSetupHealthFinding;
6
6
  exports.getChainFindings = getChainFindings;
7
+ exports.getOwnerNotEmailedFindings = getOwnerNotEmailedFindings;
8
+ exports.getSetupHealthFactsForReader = getSetupHealthFactsForReader;
9
+ exports.hasSetupHealthPrivateEvent = hasSetupHealthPrivateEvent;
7
10
  exports.getResponderFindings = getResponderFindings;
11
+ exports.getResponderPhoneFindings = getResponderPhoneFindings;
8
12
  exports.getPolicyNotRunFindings = getPolicyNotRunFindings;
9
13
  exports.getScheduleFindings = getScheduleFindings;
10
14
  exports.formatEnglishTime = formatEnglishTime;
@@ -53,9 +57,10 @@ const OnCallTestPage_1 = require("../OnCallDutyPolicy/OnCallTestPage");
53
57
  * (Server/Services/SetupHealthService), and every rule here is a small pure
54
58
  * function over them, so a test can hand any project to each rule. The
55
59
  * monitors' findings are the breaks of their "When this goes down" chains
56
- * (Types/Monitor/WhoIsTold, #6810), resolved for the whole project at once
57
- * (WhoIsToldService.resolveProject): the card on a monitor and this list
58
- * share one set of rules and never disagree.
60
+ * (Types/Monitor/WhoIsTold, #6810), and the owners their incidents' and
61
+ * alerts' Created email never reaches (#9371), resolved for the whole
62
+ * project at once (WhoIsToldService.resolveProject): the card on a monitor
63
+ * and this list share one set of rules and never disagree.
59
64
  *
60
65
  * A finding says what is wrong in one sentence, names the one record it is
61
66
  * about, and says which page fixes it. Its words are a template the
@@ -107,6 +112,13 @@ var SetupHealthCheck;
107
112
  SetupHealthCheck["ChannelOff"] = "channel_off";
108
113
  SetupHealthCheck["NoBalance"] = "no_balance";
109
114
  SetupHealthCheck["ServerCannotSend"] = "server_cannot_send";
115
+ // From the chains' owners no Created email reaches (#9371).
116
+ SetupHealthCheck["OwnerNotEmailed"] = "owner_not_emailed";
117
+ /*
118
+ * Somebody on a policy with no verified phone method while the project
119
+ * asks people on call for one (#7449): from Readiness's answer.
120
+ */
121
+ SetupHealthCheck["ResponderHasNoPhone"] = "responder_has_no_phone";
110
122
  // The project's other records.
111
123
  SetupHealthCheck["PolicyNotRun"] = "policy_not_run";
112
124
  SetupHealthCheck["ScheduleHasNobodyOnCall"] = "schedule_has_nobody_on_call";
@@ -133,8 +145,10 @@ exports.SETUP_HEALTH_CHECK_ORDER = [
133
145
  SetupHealthCheck.PolicyHasNoEscalationRules,
134
146
  SetupHealthCheck.PolicyReachesNobody,
135
147
  SetupHealthCheck.ResponderCannotBePaged,
148
+ SetupHealthCheck.ResponderHasNoPhone,
136
149
  SetupHealthCheck.MonitorPagesNobody,
137
150
  SetupHealthCheck.MonitorTellsNobody,
151
+ SetupHealthCheck.OwnerNotEmailed,
138
152
  SetupHealthCheck.PolicyNotRun,
139
153
  SetupHealthCheck.ScheduleHasNobodyOnCall,
140
154
  SetupHealthCheck.LowBalance,
@@ -162,6 +176,11 @@ var SetupHealthRecordKind;
162
176
  SetupHealthRecordKind["StatusPageDomain"] = "StatusPageDomain";
163
177
  SetupHealthRecordKind["TelemetryIngestionKey"] = "TelemetryIngestionKey";
164
178
  SetupHealthRecordKind["Project"] = "Project";
179
+ // A team named as an owner that the Created email reaches nobody through (#9371).
180
+ SetupHealthRecordKind["Team"] = "Team";
181
+ // An owner rule that adds someone no Created email reaches (#9371).
182
+ SetupHealthRecordKind["IncidentOwnerRule"] = "IncidentOwnerRule";
183
+ SetupHealthRecordKind["AlertOwnerRule"] = "AlertOwnerRule";
165
184
  })(SetupHealthRecordKind || (exports.SetupHealthRecordKind = SetupHealthRecordKind = {}));
166
185
  // The page that puts a finding right.
167
186
  var SetupHealthFix;
@@ -187,6 +206,15 @@ var SetupHealthFix;
187
206
  SetupHealthFix["WorkspaceNotificationRules"] = "WorkspaceNotificationRules";
188
207
  // The ingestion key's own page: when it was last used, and Delete.
189
208
  SetupHealthFix["TelemetryIngestionKey"] = "TelemetryIngestionKey";
209
+ /*
210
+ * Where an owner no Created email reaches is put right (#9371), as the
211
+ * When this goes down card links it: a team's members, the network
212
+ * device's owners, the incident or alert owner rules.
213
+ */
214
+ SetupHealthFix["TeamMembers"] = "TeamMembers";
215
+ SetupHealthFix["NetworkDeviceOwners"] = "NetworkDeviceOwners";
216
+ SetupHealthFix["IncidentOwnerRules"] = "IncidentOwnerRules";
217
+ SetupHealthFix["AlertOwnerRules"] = "AlertOwnerRules";
190
218
  })(SetupHealthFix || (exports.SetupHealthFix = SetupHealthFix = {}));
191
219
  // Why a responder can't be paged (ResponderCannotBePaged's reasons), worst first.
192
220
  var SetupHealthResponderReason;
@@ -229,6 +257,31 @@ var SetupHealthCertificateReason;
229
257
  SetupHealthCertificateReason["NotIssued"] = "not_issued";
230
258
  SetupHealthCertificateReason["Expired"] = "expired";
231
259
  })(SetupHealthCertificateReason || (exports.SetupHealthCertificateReason = SetupHealthCertificateReason = {}));
260
+ /*
261
+ * AN OWNER NO CREATED EMAIL REACHES (OwnerNotEmailed's subjects, #9371):
262
+ * what names them, and why the email can't reach them - each with its own
263
+ * record and fix, as the When this goes down card links it:
264
+ *
265
+ * - a team of the project with nobody in it who is a member, wherever it
266
+ * is named: the team (Open Team);
267
+ * - somebody who isn't a member of the project, or a team of another
268
+ * project, named in a monitor's criteria (Open Criteria), owning the
269
+ * network device a monitor watches (Open Network Device), or added by
270
+ * an owner rule (Open Owner Rules).
271
+ *
272
+ * The values are kept in dismissals (getSetupHealthDismissalId), so they
273
+ * are never renamed.
274
+ */
275
+ var SetupHealthOwnerSubject;
276
+ (function (SetupHealthOwnerSubject) {
277
+ SetupHealthOwnerSubject["TeamHasNobody"] = "team_has_nobody";
278
+ SetupHealthOwnerSubject["CriteriaNotInProject"] = "criteria_not_in_project";
279
+ SetupHealthOwnerSubject["CriteriaTeamOfAnotherProject"] = "criteria_team_of_another_project";
280
+ SetupHealthOwnerSubject["NetworkDeviceNotInProject"] = "network_device_not_in_project";
281
+ SetupHealthOwnerSubject["NetworkDeviceTeamOfAnotherProject"] = "network_device_team_of_another_project";
282
+ SetupHealthOwnerSubject["OwnerRuleNotInProject"] = "owner_rule_not_in_project";
283
+ SetupHealthOwnerSubject["OwnerRuleTeamOfAnotherProject"] = "owner_rule_team_of_another_project";
284
+ })(SetupHealthOwnerSubject || (exports.SetupHealthOwnerSubject = SetupHealthOwnerSubject = {}));
232
285
  // Which records an incident or an alert has the on-call rules of.
233
286
  var SetupHealthEventKind;
234
287
  (function (SetupHealthEventKind) {
@@ -257,6 +310,7 @@ exports.SETUP_HEALTH_WORDS = {
257
310
  [SetupHealthResponderReason.NoRuleNoFallback]: (0, Translator_1.translationKey)("{{name}} has no on-call rule for some pages an on-call policy sends them, and this project doesn't fall back to verified methods."),
258
311
  [SetupHealthResponderReason.OptedOut]: (0, Translator_1.translationKey)("{{name}} opted out of some pages an on-call policy sends them."),
259
312
  },
313
+ responderHasNoPhone: (0, Translator_1.translationKey)("{{name}} is on call but has no verified phone method, which this project asks everyone on call to have."),
260
314
  channelOff: (0, Translator_1.translationKey)("{{channel}} is off in this project, so pages that use it are not sent."),
261
315
  noBalance: (0, Translator_1.translationKey)("This project has no balance left for SMS and calls, so they are not sent."),
262
316
  serverCannotSend: {
@@ -264,6 +318,20 @@ exports.SETUP_HEALTH_WORDS = {
264
318
  [WhoIsTold_1.WhoIsToldServerChannel.SMS]: (0, Translator_1.translationKey)("This server can't send SMS yet, so SMS pages are not sent."),
265
319
  [WhoIsTold_1.WhoIsToldServerChannel.Call]: (0, Translator_1.translationKey)("This server can't make phone calls yet, so call pages are not sent."),
266
320
  },
321
+ /*
322
+ * The card says the team's in these words, and the rest in two sentences
323
+ * of its own (why, then where they are named): here each is one, with
324
+ * the monitor or the owner rule that names them.
325
+ */
326
+ ownerNotEmailed: {
327
+ [SetupHealthOwnerSubject.TeamHasNobody]: (0, Translator_1.translationKey)("Team {{team}} has nobody in it who is a member of this project, so nobody is emailed through it."),
328
+ [SetupHealthOwnerSubject.CriteriaNotInProject]: (0, Translator_1.translationKey)("Someone named as an owner in the criteria of {{monitor}} isn't a member of this project, so isn't emailed."),
329
+ [SetupHealthOwnerSubject.CriteriaTeamOfAnotherProject]: (0, Translator_1.translationKey)("A team of another project is named as an owner in the criteria of {{monitor}}, so nobody is emailed through it."),
330
+ [SetupHealthOwnerSubject.NetworkDeviceNotInProject]: (0, Translator_1.translationKey)("An owner of the network device {{monitor}} watches isn't a member of this project, so isn't emailed."),
331
+ [SetupHealthOwnerSubject.NetworkDeviceTeamOfAnotherProject]: (0, Translator_1.translationKey)("A team of another project owns the network device {{monitor}} watches, so nobody is emailed through it."),
332
+ [SetupHealthOwnerSubject.OwnerRuleNotInProject]: (0, Translator_1.translationKey)("Owner rule {{rule}} adds someone who isn't a member of this project as an owner, so they aren't emailed."),
333
+ [SetupHealthOwnerSubject.OwnerRuleTeamOfAnotherProject]: (0, Translator_1.translationKey)("Owner rule {{rule}} adds a team of another project as an owner, so nobody is emailed through it."),
334
+ },
267
335
  policyNotRun: (0, Translator_1.translationKey)("On-call policy {{policy}} pages nobody: no on-call rule and no monitor runs it."),
268
336
  scheduleHasNobodyOnCall: {
269
337
  [SetupHealthScheduleReason.NoRotations]: (0, Translator_1.translationKey)("On-call schedule {{schedule}} has no rotations, so nobody is ever on call in it."),
@@ -429,6 +497,232 @@ function getChainFindings(facts, chain) {
429
497
  }
430
498
  return findings;
431
499
  }
500
+ /*
501
+ * Each incident and alert a chain opens that its reader may see, and the
502
+ * incident an alert incident rule declares from it: one hidden from them
503
+ * (isHidden, getSetupHealthFactsForReader) is left out, with what it
504
+ * declares, as the card leaves them out.
505
+ */
506
+ function getVisibleEvents(chain) {
507
+ const events = [];
508
+ for (const item of chain.criteria) {
509
+ for (const event of item.events) {
510
+ if (event.isHidden) {
511
+ continue;
512
+ }
513
+ events.push(event);
514
+ if (event.declares && !event.declares.incident.isHidden) {
515
+ events.push(event.declares.incident);
516
+ }
517
+ }
518
+ }
519
+ return events;
520
+ }
521
+ // What names an owner no email reaches, and why, as one subject.
522
+ function getOwnerSubject(owner) {
523
+ if (owner.problem === WhoIsTold_1.WhoIsToldOwnerProblem.TeamHasNobodyInProject) {
524
+ return SetupHealthOwnerSubject.TeamHasNobody;
525
+ }
526
+ const isPerson = owner.problem === WhoIsTold_1.WhoIsToldOwnerProblem.NotInProject;
527
+ switch (owner.addedBy) {
528
+ case WhoIsTold_1.WhoIsToldOwnerAddedBy.NetworkDevice:
529
+ return isPerson
530
+ ? SetupHealthOwnerSubject.NetworkDeviceNotInProject
531
+ : SetupHealthOwnerSubject.NetworkDeviceTeamOfAnotherProject;
532
+ case WhoIsTold_1.WhoIsToldOwnerAddedBy.OwnerRule:
533
+ return isPerson
534
+ ? SetupHealthOwnerSubject.OwnerRuleNotInProject
535
+ : SetupHealthOwnerSubject.OwnerRuleTeamOfAnotherProject;
536
+ default:
537
+ return isPerson
538
+ ? SetupHealthOwnerSubject.CriteriaNotInProject
539
+ : SetupHealthOwnerSubject.CriteriaTeamOfAnotherProject;
540
+ }
541
+ }
542
+ /*
543
+ * ONE OWNER NO CREATED EMAIL REACHES, AS A FINDING (#9371), about the
544
+ * record that puts it right - as the card links it:
545
+ *
546
+ * - a team of the project with nobody in it who is a member: the team,
547
+ * whose members are its fix, affecting the monitors whose records
548
+ * name it;
549
+ * - named in a monitor's criteria, or owning the network device a
550
+ * monitor watches: that monitor, with its criteria or the device's
551
+ * owners as its fix;
552
+ * - added by an owner rule: the rule, with the incident's or alert's
553
+ * owner rules as its fix, affecting the monitors whose records it
554
+ * adds them to.
555
+ *
556
+ * Null for an owner the card links no page for: a device's owner with no
557
+ * device, an owner rule's with no rule.
558
+ */
559
+ function getOwnerNotEmailedFinding(data) {
560
+ var _a;
561
+ const { chain, event, owner } = data;
562
+ const monitor = monitorRecord(chain);
563
+ const subject = getOwnerSubject(owner);
564
+ const words = exports.SETUP_HEALTH_WORDS.ownerNotEmailed[subject];
565
+ if (subject === SetupHealthOwnerSubject.TeamHasNobody) {
566
+ return makeSetupHealthFinding({
567
+ check: SetupHealthCheck.OwnerNotEmailed,
568
+ level: SetupHealthLevel.WorthFixing,
569
+ record: {
570
+ kind: SetupHealthRecordKind.Team,
571
+ id: owner.id,
572
+ name: owner.name,
573
+ },
574
+ subject: subject,
575
+ related: [monitor],
576
+ fix: SetupHealthFix.TeamMembers,
577
+ fixRecordId: owner.id,
578
+ words: words,
579
+ values: { team: owner.name },
580
+ });
581
+ }
582
+ if (owner.addedBy === WhoIsTold_1.WhoIsToldOwnerAddedBy.OwnerRule) {
583
+ if (!((_a = owner.rule) === null || _a === void 0 ? void 0 : _a.id)) {
584
+ return null;
585
+ }
586
+ const isAlert = event.kind === OnCallTestPage_1.OnCallTestPageRecordKind.Alert;
587
+ return makeSetupHealthFinding({
588
+ check: SetupHealthCheck.OwnerNotEmailed,
589
+ level: SetupHealthLevel.WorthFixing,
590
+ record: {
591
+ kind: isAlert
592
+ ? SetupHealthRecordKind.AlertOwnerRule
593
+ : SetupHealthRecordKind.IncidentOwnerRule,
594
+ id: owner.rule.id,
595
+ name: owner.rule.name,
596
+ },
597
+ subject: subject,
598
+ related: [monitor],
599
+ fix: isAlert
600
+ ? SetupHealthFix.AlertOwnerRules
601
+ : SetupHealthFix.IncidentOwnerRules,
602
+ words: words,
603
+ values: { rule: owner.rule.name },
604
+ });
605
+ }
606
+ if (owner.addedBy === WhoIsTold_1.WhoIsToldOwnerAddedBy.NetworkDevice) {
607
+ if (!owner.networkDeviceId) {
608
+ return null;
609
+ }
610
+ return makeSetupHealthFinding({
611
+ check: SetupHealthCheck.OwnerNotEmailed,
612
+ level: SetupHealthLevel.WorthFixing,
613
+ record: monitor,
614
+ subject: subject,
615
+ fix: SetupHealthFix.NetworkDeviceOwners,
616
+ fixRecordId: owner.networkDeviceId,
617
+ words: words,
618
+ values: { monitor: chain.monitorName },
619
+ });
620
+ }
621
+ return makeSetupHealthFinding({
622
+ check: SetupHealthCheck.OwnerNotEmailed,
623
+ level: SetupHealthLevel.WorthFixing,
624
+ record: monitor,
625
+ subject: subject,
626
+ fix: SetupHealthFix.MonitorCriteria,
627
+ fixRecordId: monitor.id,
628
+ words: words,
629
+ values: { monitor: chain.monitorName },
630
+ });
631
+ }
632
+ /*
633
+ * THE OWNERS NO CREATED EMAIL REACHES (#9371): every owner the chains'
634
+ * incidents and alerts name that their Created email can't reach
635
+ * (WhoIsToldOwners.notReached, the card's "Owners who aren't emailed"),
636
+ * each as a finding about what puts it right. Worth fixing, not a page
637
+ * that won't arrive: the email still goes out, to the owners it reaches or
638
+ * to the Project Owners. A record hidden from the reader names nobody here,
639
+ * as on the card. One place that names someone for many monitors is one
640
+ * finding, affecting each.
641
+ */
642
+ function getOwnerNotEmailedFindings(facts) {
643
+ const findings = [];
644
+ for (const chain of facts.chains) {
645
+ for (const event of getVisibleEvents(chain)) {
646
+ for (const owner of event.owners.notReached || []) {
647
+ const finding = getOwnerNotEmailedFinding({
648
+ chain: chain,
649
+ event: event,
650
+ owner: owner,
651
+ });
652
+ if (finding) {
653
+ findings.push(finding);
654
+ }
655
+ }
656
+ }
657
+ }
658
+ return findings;
659
+ }
660
+ /*
661
+ * THE FACTS AS ONE READER'S CARDS TELL THEM (#9370). A private incident or
662
+ * alert a monitor would open that is not the reader's to see once it
663
+ * exists (#7213) raises no break on that monitor's card for them - nothing
664
+ * of whom it tells - so it raises no finding here either: each chain with
665
+ * such a record has its breaks worked out again without it, as the card
666
+ * works them out (getWhoIsToldBreaksForReader). A policy's or a person's
667
+ * break that some other record raises stays, about that record's monitor
668
+ * alone. Such a record is marked hidden too (isHidden), so none of its
669
+ * owners no Created email reaches is listed for them (#9371): the card
670
+ * tells them nothing of its owners. The chains themselves are kept whole,
671
+ * so a policy a private record's criteria names is still run by something
672
+ * (getPolicyNotRunFindings). The same facts when nothing is hidden from the
673
+ * reader.
674
+ */
675
+ function getSetupHealthFactsForReader(facts, isHidden) {
676
+ if (!facts.chains.some((chain) => {
677
+ return (0, WhoIsTold_1.hasWhoIsToldHiddenEvent)(chain, isHidden);
678
+ })) {
679
+ return facts;
680
+ }
681
+ // A record as the reader is told it: marked hidden when it is.
682
+ const marked = (event) => {
683
+ return isHidden(event) ? { ...event, isHidden: true } : event;
684
+ };
685
+ return {
686
+ ...facts,
687
+ chains: facts.chains.map((chain) => {
688
+ if (!(0, WhoIsTold_1.hasWhoIsToldHiddenEvent)(chain, isHidden)) {
689
+ return chain;
690
+ }
691
+ return {
692
+ ...chain,
693
+ breaks: (0, WhoIsTold_1.getWhoIsToldBreaksForReader)({
694
+ result: chain,
695
+ isHidden: isHidden,
696
+ }),
697
+ criteria: chain.criteria.map((item) => {
698
+ return {
699
+ ...item,
700
+ events: item.events.map((event) => {
701
+ const shown = marked(event);
702
+ return event.declares
703
+ ? {
704
+ ...shown,
705
+ declares: {
706
+ ...event.declares,
707
+ incident: marked(event.declares.incident),
708
+ },
709
+ }
710
+ : shown;
711
+ }),
712
+ };
713
+ }),
714
+ };
715
+ }),
716
+ };
717
+ }
718
+ // Whether some chain would open a private incident or alert.
719
+ function hasSetupHealthPrivateEvent(facts) {
720
+ return facts.chains.some((chain) => {
721
+ return (0, WhoIsTold_1.hasWhoIsToldHiddenEvent)(chain, (event) => {
722
+ return event.isPrivate === true;
723
+ });
724
+ });
725
+ }
432
726
  function getBreakFinding(data) {
433
727
  const brk = data.brk;
434
728
  switch (brk.kind) {
@@ -584,6 +878,32 @@ function getResponderFindings(facts) {
584
878
  });
585
879
  });
586
880
  }
881
+ /*
882
+ * The people on a policy with no verified phone method while their project
883
+ * asks everyone on call for one (#7449), as Readiness answers it - never
884
+ * worked out a second time. Somebody nothing reaches is already a finding
885
+ * of their own (getResponderFindings), which says more.
886
+ */
887
+ function getResponderPhoneFindings(facts) {
888
+ return facts.responders
889
+ .filter((responder) => {
890
+ return (Boolean(responder.isMissingPhoneMethod) && !responder.isNotReachable);
891
+ })
892
+ .map((responder) => {
893
+ return makeSetupHealthFinding({
894
+ check: SetupHealthCheck.ResponderHasNoPhone,
895
+ level: SetupHealthLevel.WorthFixing,
896
+ record: {
897
+ kind: SetupHealthRecordKind.User,
898
+ id: responder.userId,
899
+ name: responder.name,
900
+ },
901
+ fix: SetupHealthFix.OnCallReadiness,
902
+ words: exports.SETUP_HEALTH_WORDS.responderHasNoPhone,
903
+ values: { name: responder.name || "Someone" },
904
+ });
905
+ });
906
+ }
587
907
  // The ids of the policies a monitor's criteria names for what it opens.
588
908
  function getPolicyIdsNamedByCriteria(chains) {
589
909
  const named = new Set();
@@ -1075,7 +1395,9 @@ exports.SETUP_HEALTH_RULES = [
1075
1395
  });
1076
1396
  },
1077
1397
  getResponderFindings,
1398
+ getResponderPhoneFindings,
1078
1399
  getServerFindings,
1400
+ getOwnerNotEmailedFindings,
1079
1401
  getPolicyNotRunFindings,
1080
1402
  getScheduleFindings,
1081
1403
  getLowBalanceFindings,
@@ -1200,6 +1522,7 @@ function getSetupHealthCounts(findings) {
1200
1522
  };
1201
1523
  }
1202
1524
  function isRecordReadable(record, readable) {
1525
+ var _a, _b, _c;
1203
1526
  switch (record.kind) {
1204
1527
  case SetupHealthRecordKind.Monitor:
1205
1528
  return readable.monitorIds.has(record.id);
@@ -1218,6 +1541,12 @@ function isRecordReadable(record, readable) {
1218
1541
  return false;
1219
1542
  case SetupHealthRecordKind.Project:
1220
1543
  return true;
1544
+ case SetupHealthRecordKind.Team:
1545
+ return Boolean((_a = readable.teamIds) === null || _a === void 0 ? void 0 : _a.has(record.id));
1546
+ case SetupHealthRecordKind.IncidentOwnerRule:
1547
+ return Boolean((_b = readable.incidentOwnerRuleIds) === null || _b === void 0 ? void 0 : _b.has(record.id));
1548
+ case SetupHealthRecordKind.AlertOwnerRule:
1549
+ return Boolean((_c = readable.alertOwnerRuleIds) === null || _c === void 0 ? void 0 : _c.has(record.id));
1221
1550
  }
1222
1551
  }
1223
1552
  function isSetupHealthFindingReadable(finding, readable) {
@@ -19,6 +19,7 @@ export const SetupHealthEventKind = commonJsModule.SetupHealthEventKind;
19
19
  export const SetupHealthFix = commonJsModule.SetupHealthFix;
20
20
  export const SetupHealthLevel = commonJsModule.SetupHealthLevel;
21
21
  export const SetupHealthMonitorReason = commonJsModule.SetupHealthMonitorReason;
22
+ export const SetupHealthOwnerSubject = commonJsModule.SetupHealthOwnerSubject;
22
23
  export const SetupHealthRecordKind = commonJsModule.SetupHealthRecordKind;
23
24
  export const SetupHealthResponderReason = commonJsModule.SetupHealthResponderReason;
24
25
  export const SetupHealthScheduleReason = commonJsModule.SetupHealthScheduleReason;
@@ -35,12 +36,15 @@ export const getLowBalanceFindings = commonJsModule.getLowBalanceFindings;
35
36
  export const getMonitorNotCheckedFindings = commonJsModule.getMonitorNotCheckedFindings;
36
37
  export const getMonitorOffForLongFindings = commonJsModule.getMonitorOffForLongFindings;
37
38
  export const getOwnerFindings = commonJsModule.getOwnerFindings;
39
+ export const getOwnerNotEmailedFindings = commonJsModule.getOwnerNotEmailedFindings;
38
40
  export const getPolicyNotRunFindings = commonJsModule.getPolicyNotRunFindings;
39
41
  export const getResponderFindings = commonJsModule.getResponderFindings;
42
+ export const getResponderPhoneFindings = commonJsModule.getResponderPhoneFindings;
40
43
  export const getScheduleFindings = commonJsModule.getScheduleFindings;
41
44
  export const getServerFindings = commonJsModule.getServerFindings;
42
45
  export const getSetupHealthCounts = commonJsModule.getSetupHealthCounts;
43
46
  export const getSetupHealthDismissalId = commonJsModule.getSetupHealthDismissalId;
47
+ export const getSetupHealthFactsForReader = commonJsModule.getSetupHealthFactsForReader;
44
48
  export const getSetupHealthFindingKey = commonJsModule.getSetupHealthFindingKey;
45
49
  export const getSetupHealthFindings = commonJsModule.getSetupHealthFindings;
46
50
  export const getSetupHealthFindingsForRecord = commonJsModule.getSetupHealthFindingsForRecord;
@@ -50,6 +54,7 @@ export const getStatusPageDomainFindings = commonJsModule.getStatusPageDomainFin
50
54
  export const getStatusPageFindings = commonJsModule.getStatusPageFindings;
51
55
  export const getTelemetryFindings = commonJsModule.getTelemetryFindings;
52
56
  export const getWorkspaceFindings = commonJsModule.getWorkspaceFindings;
57
+ export const hasSetupHealthPrivateEvent = commonJsModule.hasSetupHealthPrivateEvent;
53
58
  export const isIngestionKeyNeverUsed = commonJsModule.isIngestionKeyNeverUsed;
54
59
  export const isSetupHealthFindingReadable = commonJsModule.isSetupHealthFindingReadable;
55
60
  export const isSetupHealthRecordKindWithAPage = commonJsModule.isSetupHealthRecordKindWithAPage;
@@ -23,16 +23,19 @@
23
23
  * declared without notifying stays quiet
24
24
  * (PublicNoteSubscriberNotificationDefault).
25
25
  *
26
- * People also declare incidents where no box asks: Slack's and Microsoft
27
- * Teams' Declare Incident forms, and OneUptime AI when someone asks it to.
28
- * Those follow the switch too, as the box would have started
26
+ * Slack's and Microsoft Teams' Declare Incident forms ask too, their box
27
+ * starting the same way (Server/Utils/Workspace
28
+ * /WorkspaceIncidentSubscriberNotification, #7917). People also declare
29
+ * incidents where no box asks: OneUptime AI when someone asks it to, and a
30
+ * chat form opened before the chats asked. Those follow the switch, as the
31
+ * box would have started
29
32
  * (Server/Utils/StatusPage/NewIncidentSubscriberNotificationDefaultReader):
30
33
  * off, they are declared without notifying. Incidents nobody declares by
31
34
  * hand - by monitors, the API, Terraform, workflows or a public form - keep
32
35
  * their own value, which notifies unless they say otherwise.
33
36
  *
34
- * Shared by the dashboard, which starts the box from it, the server, which
35
- * declares the chat and AI incidents by it, and their tests.
37
+ * Shared by the dashboard and the chats, which start the box from it, the
38
+ * server, which declares the AI's incidents by it, and their tests.
36
39
  */
37
40
  Object.defineProperty(exports, "__esModule", { value: true });
38
41
  exports.NEW_INCIDENT_NOTIFY_DEFAULT_COLUMN = void 0;
@@ -0,0 +1,6 @@
1
+ export interface StatusPageNames {
2
+ pageTitle?: string | null | undefined;
3
+ name?: string | null | undefined;
4
+ }
5
+ export declare const getStatusPagePublicName: (statusPage: StatusPageNames) => string;
6
+ export default getStatusPagePublicName;
@@ -0,0 +1,6 @@
1
+ export interface StatusPageNames {
2
+ pageTitle?: string | null | undefined;
3
+ name?: string | null | undefined;
4
+ }
5
+ export declare const getStatusPagePublicName: (statusPage: StatusPageNames) => string;
6
+ export default getStatusPagePublicName;
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ /*
3
+ * A STATUS PAGE'S NAME, AS ITS VISITORS READ IT (#7467).
4
+ *
5
+ * A status page has two names: its name, the one field Create Status Page
6
+ * and the guided setup ask for, and its Page Title (Branding > Title and
7
+ * Search Engine Description, folded under More settings), which few people
8
+ * ever set. The public page read the Page Title alone, so a new page - made
9
+ * either way, with no Page Title - named itself nowhere: its tab read
10
+ * "Status Page", its header was empty, and a customer landing on it could
11
+ * not tell whose status it was, while the guided setup's preview of the
12
+ * same page showed its name.
13
+ *
14
+ * A page's public name is its Page Title when it has one, else its name -
15
+ * the rule its page's HTML title, its subscribers' emails and its
16
+ * maintenance calendar already followed. The public page's header and tab,
17
+ * the status page server's answers and the guided setup's preview all read
18
+ * it here, so they say the same name. A page with a Page Title never sends
19
+ * its name to a visitor: the name may be one the team uses among
20
+ * themselves.
21
+ */
22
+ Object.defineProperty(exports, "__esModule", { value: true });
23
+ exports.getStatusPagePublicName = void 0;
24
+ const getStatusPagePublicName = (statusPage) => {
25
+ const pageTitle = (statusPage.pageTitle || "").trim();
26
+ if (pageTitle) {
27
+ return pageTitle;
28
+ }
29
+ return (statusPage.name || "").trim();
30
+ };
31
+ exports.getStatusPagePublicName = getStatusPagePublicName;
32
+ exports.default = exports.getStatusPagePublicName;
@@ -0,0 +1,3 @@
1
+ import commonJsModule from "./StatusPagePublicName.js";
2
+ export default commonJsModule.default;
3
+ export const getStatusPagePublicName = commonJsModule.getStatusPagePublicName;
@@ -0,0 +1,28 @@
1
+ import { JSONObject } from "../JSON.mjs";
2
+ import ObjectID from "../ObjectID.mjs";
3
+ export declare const INVITATION_EMAILS_NOT_SENT_ROUTE: string;
4
+ export declare const MAX_PEOPLE_PER_INVITATION_EMAILS_READ: number;
5
+ export interface InvitationEmailNotSent {
6
+ userId: string;
7
+ statusMessage: string;
8
+ }
9
+ export declare function readInvitationEmailsNotSentRequest(body: unknown): Array<ObjectID>;
10
+ export declare function toInvitationEmailsNotSentRequestJSON(userIds: ReadonlyArray<string>): JSONObject;
11
+ export declare function toInvitationEmailsNotSentAnswerJSON(people: ReadonlyArray<InvitationEmailNotSent>): JSONObject;
12
+ export declare function readInvitationEmailsNotSentAnswer(data: unknown): Array<InvitationEmailNotSent>;
13
+ export declare const INVITATION_EMAILS_NOT_SENT_IN_PROJECTS_ROUTE: string;
14
+ export interface ProjectInvitee {
15
+ projectId: string;
16
+ userId: string;
17
+ }
18
+ export interface ProjectInvitationEmailNotSent extends ProjectInvitee {
19
+ statusMessage: string;
20
+ }
21
+ export declare function getProjectInviteeKey(invitee: ProjectInvitee): string;
22
+ export declare function readInvitationEmailsNotSentInProjectsRequest(body: unknown): Array<{
23
+ projectId: ObjectID;
24
+ userId: ObjectID;
25
+ }>;
26
+ export declare function toInvitationEmailsNotSentInProjectsRequestJSON(invitees: ReadonlyArray<ProjectInvitee>): JSONObject;
27
+ export declare function toInvitationEmailsNotSentInProjectsAnswerJSON(invitees: ReadonlyArray<ProjectInvitationEmailNotSent>): JSONObject;
28
+ export declare function readInvitationEmailsNotSentInProjectsAnswer(data: unknown): Array<ProjectInvitationEmailNotSent>;
@@ -0,0 +1,28 @@
1
+ import { JSONObject } from "../JSON";
2
+ import ObjectID from "../ObjectID";
3
+ export declare const INVITATION_EMAILS_NOT_SENT_ROUTE: string;
4
+ export declare const MAX_PEOPLE_PER_INVITATION_EMAILS_READ: number;
5
+ export interface InvitationEmailNotSent {
6
+ userId: string;
7
+ statusMessage: string;
8
+ }
9
+ export declare function readInvitationEmailsNotSentRequest(body: unknown): Array<ObjectID>;
10
+ export declare function toInvitationEmailsNotSentRequestJSON(userIds: ReadonlyArray<string>): JSONObject;
11
+ export declare function toInvitationEmailsNotSentAnswerJSON(people: ReadonlyArray<InvitationEmailNotSent>): JSONObject;
12
+ export declare function readInvitationEmailsNotSentAnswer(data: unknown): Array<InvitationEmailNotSent>;
13
+ export declare const INVITATION_EMAILS_NOT_SENT_IN_PROJECTS_ROUTE: string;
14
+ export interface ProjectInvitee {
15
+ projectId: string;
16
+ userId: string;
17
+ }
18
+ export interface ProjectInvitationEmailNotSent extends ProjectInvitee {
19
+ statusMessage: string;
20
+ }
21
+ export declare function getProjectInviteeKey(invitee: ProjectInvitee): string;
22
+ export declare function readInvitationEmailsNotSentInProjectsRequest(body: unknown): Array<{
23
+ projectId: ObjectID;
24
+ userId: ObjectID;
25
+ }>;
26
+ export declare function toInvitationEmailsNotSentInProjectsRequestJSON(invitees: ReadonlyArray<ProjectInvitee>): JSONObject;
27
+ export declare function toInvitationEmailsNotSentInProjectsAnswerJSON(invitees: ReadonlyArray<ProjectInvitationEmailNotSent>): JSONObject;
28
+ export declare function readInvitationEmailsNotSentInProjectsAnswer(data: unknown): Array<ProjectInvitationEmailNotSent>;