@oneuptime/common 15.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 (711) 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/AIAgent.js +2 -0
  6. package/Models/DatabaseModels/AIAgentTaskPullRequest.d.mts +2 -0
  7. package/Models/DatabaseModels/AIAgentTaskPullRequest.d.ts +2 -0
  8. package/Models/DatabaseModels/AIAgentTaskPullRequest.js +62 -0
  9. package/Models/DatabaseModels/AIRun.d.mts +2 -0
  10. package/Models/DatabaseModels/AIRun.d.ts +2 -0
  11. package/Models/DatabaseModels/AIRun.js +63 -0
  12. package/Models/DatabaseModels/AlertSeverity.js +12 -3
  13. package/Models/DatabaseModels/CustomNotificationChannel.js +17 -9
  14. package/Models/DatabaseModels/DataAsset.d.mts +1 -0
  15. package/Models/DatabaseModels/DataAsset.d.ts +1 -0
  16. package/Models/DatabaseModels/DataAsset.js +23 -0
  17. package/Models/DatabaseModels/DataBiConnection.d.mts +2 -1
  18. package/Models/DatabaseModels/DataBiConnection.d.ts +2 -1
  19. package/Models/DatabaseModels/DataBiConnection.js +15 -0
  20. package/Models/DatabaseModels/DataCheck.d.mts +3 -0
  21. package/Models/DatabaseModels/DataCheck.d.ts +3 -0
  22. package/Models/DatabaseModels/DataCheck.js +49 -0
  23. package/Models/DatabaseModels/DataDashboard.d.mts +1 -0
  24. package/Models/DatabaseModels/DataDashboard.d.ts +1 -0
  25. package/Models/DatabaseModels/DataDashboard.js +15 -0
  26. package/Models/DatabaseModels/DataPipeline.d.mts +1 -0
  27. package/Models/DatabaseModels/DataPipeline.d.ts +1 -0
  28. package/Models/DatabaseModels/DataPipeline.js +25 -0
  29. package/Models/DatabaseModels/DataPipelineOwnerTeam.d.mts +19 -0
  30. package/Models/DatabaseModels/DataPipelineOwnerTeam.d.ts +19 -0
  31. package/Models/DatabaseModels/DataPipelineOwnerTeam.js +477 -0
  32. package/Models/DatabaseModels/DataPipelineOwnerTeam.mjs +2 -0
  33. package/Models/DatabaseModels/DataPipelineOwnerUser.d.mts +18 -0
  34. package/Models/DatabaseModels/DataPipelineOwnerUser.d.ts +18 -0
  35. package/Models/DatabaseModels/DataPipelineOwnerUser.js +476 -0
  36. package/Models/DatabaseModels/DataPipelineOwnerUser.mjs +2 -0
  37. package/Models/DatabaseModels/DataProduct.js +3 -2
  38. package/Models/DatabaseModels/DataStore.d.mts +1 -0
  39. package/Models/DatabaseModels/DataStore.d.ts +1 -0
  40. package/Models/DatabaseModels/DataStore.js +23 -0
  41. package/Models/DatabaseModels/DataStoreFinding.d.mts +2 -0
  42. package/Models/DatabaseModels/DataStoreFinding.d.ts +2 -0
  43. package/Models/DatabaseModels/DataStoreFinding.js +21 -0
  44. package/Models/DatabaseModels/EmailLog.d.mts +1 -0
  45. package/Models/DatabaseModels/EmailLog.d.ts +1 -0
  46. package/Models/DatabaseModels/EmailLog.js +35 -0
  47. package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
  48. package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
  49. package/Models/DatabaseModels/GlobalConfig.js +129 -1
  50. package/Models/DatabaseModels/GlobalOidc.d.mts +1 -0
  51. package/Models/DatabaseModels/GlobalOidc.d.ts +1 -0
  52. package/Models/DatabaseModels/GlobalOidc.js +29 -0
  53. package/Models/DatabaseModels/IncidentSeverity.js +12 -3
  54. package/Models/DatabaseModels/Index.js +6 -0
  55. package/Models/DatabaseModels/IoTDeviceCredential.js +3 -1
  56. package/Models/DatabaseModels/Monitor.d.mts +4 -0
  57. package/Models/DatabaseModels/Monitor.d.ts +4 -0
  58. package/Models/DatabaseModels/Monitor.js +126 -5
  59. package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
  60. package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
  61. package/Models/DatabaseModels/NetworkDevice.js +92 -17
  62. package/Models/DatabaseModels/NetworkDeviceAutoImportRule.js +2 -2
  63. package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.js +38 -15
  64. package/Models/DatabaseModels/NetworkSnmpCredentialProfile.js +4 -4
  65. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRule.js +1 -1
  66. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +6 -0
  67. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +6 -0
  68. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +156 -1
  69. package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayer.js +1 -1
  70. package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayerUser.js +1 -1
  71. package/Models/DatabaseModels/OpenStackProjectNotice.js +29 -10
  72. package/Models/DatabaseModels/Probe.d.mts +4 -0
  73. package/Models/DatabaseModels/Probe.d.ts +4 -0
  74. package/Models/DatabaseModels/Probe.js +102 -0
  75. package/Models/DatabaseModels/ProductFeedback.d.mts +2 -1
  76. package/Models/DatabaseModels/ProductFeedback.d.ts +2 -1
  77. package/Models/DatabaseModels/ProductFeedback.js +34 -2
  78. package/Models/DatabaseModels/Project.d.mts +4 -1
  79. package/Models/DatabaseModels/Project.d.ts +4 -1
  80. package/Models/DatabaseModels/Project.js +147 -7
  81. package/Models/DatabaseModels/ProjectCallSMSConfig.js +8 -2
  82. package/Models/DatabaseModels/ProjectOidc.d.mts +1 -0
  83. package/Models/DatabaseModels/ProjectOidc.d.ts +1 -0
  84. package/Models/DatabaseModels/ProjectOidc.js +46 -0
  85. package/Models/DatabaseModels/ProjectSCIM.d.mts +2 -1
  86. package/Models/DatabaseModels/ProjectSCIM.d.ts +2 -1
  87. package/Models/DatabaseModels/ProjectSCIM.js +21 -9
  88. package/Models/DatabaseModels/Reseller.js +8 -2
  89. package/Models/DatabaseModels/ResellerPlan.js +12 -3
  90. package/Models/DatabaseModels/RumApplication.d.mts +1 -0
  91. package/Models/DatabaseModels/RumApplication.d.ts +1 -0
  92. package/Models/DatabaseModels/RumApplication.js +58 -0
  93. package/Models/DatabaseModels/RumSessionErasureRequest.d.mts +1 -0
  94. package/Models/DatabaseModels/RumSessionErasureRequest.d.ts +1 -0
  95. package/Models/DatabaseModels/RumSessionErasureRequest.js +40 -0
  96. package/Models/DatabaseModels/Runbook.js +3 -2
  97. package/Models/DatabaseModels/Runner.js +2 -0
  98. package/Models/DatabaseModels/SecurityCaseTask.d.mts +1 -0
  99. package/Models/DatabaseModels/SecurityCaseTask.d.ts +1 -0
  100. package/Models/DatabaseModels/SecurityCaseTask.js +27 -0
  101. package/Models/DatabaseModels/ServerEmailLog.d.mts +12 -0
  102. package/Models/DatabaseModels/ServerEmailLog.d.ts +12 -0
  103. package/Models/DatabaseModels/ServerEmailLog.js +206 -0
  104. package/Models/DatabaseModels/ServerEmailLog.mjs +2 -0
  105. package/Models/DatabaseModels/StatusPage.js +3 -2
  106. package/Models/DatabaseModels/StatusPageGroup.js +1 -1
  107. package/Models/DatabaseModels/StatusPageResource.js +1 -1
  108. package/Models/DatabaseModels/StatusPageSCIM.d.mts +2 -1
  109. package/Models/DatabaseModels/StatusPageSCIM.d.ts +2 -1
  110. package/Models/DatabaseModels/StatusPageSCIM.js +17 -8
  111. package/Models/DatabaseModels/StatusPageSubscriber.js +35 -15
  112. package/Models/DatabaseModels/TelemetryException.js +15 -2
  113. package/Models/DatabaseModels/TelemetryIngestionKey.d.mts +2 -0
  114. package/Models/DatabaseModels/TelemetryIngestionKey.d.ts +2 -0
  115. package/Models/DatabaseModels/TelemetryIngestionKey.js +46 -1
  116. package/Models/DatabaseModels/User.d.mts +3 -0
  117. package/Models/DatabaseModels/User.d.ts +3 -0
  118. package/Models/DatabaseModels/User.js +66 -0
  119. package/Models/DatabaseModels/UserSession.d.mts +1 -0
  120. package/Models/DatabaseModels/UserSession.d.ts +1 -0
  121. package/Models/DatabaseModels/UserSession.js +32 -0
  122. package/Models/DatabaseModels/UserWebhook.js +25 -17
  123. package/Models/DatabaseModels/WebhookLog.js +12 -2
  124. package/Models/DatabaseModels/Workflow.d.mts +3 -0
  125. package/Models/DatabaseModels/Workflow.d.ts +3 -0
  126. package/Models/DatabaseModels/Workflow.js +70 -1
  127. package/Models/DatabaseModels/WorkspaceLiveMessage.js +21 -15
  128. package/Models/DatabaseModels/WorkspaceNotificationLog.js +17 -9
  129. package/Models/DatabaseModels/WorkspaceNotificationRule.js +8 -2
  130. package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
  131. package/Server/Services/DatabaseService.d.mts +27 -1
  132. package/Server/Services/DatabaseService.d.ts +27 -1
  133. package/Server/Utils/Workspace/WorkspaceBase.d.mts +1 -0
  134. package/Server/Utils/Workspace/WorkspaceBase.d.ts +1 -0
  135. package/Types/AI/AIActionWords.js +2 -1
  136. package/Types/AI/AIChatPageContext.d.mts +1 -0
  137. package/Types/AI/AIChatPageContext.d.ts +1 -0
  138. package/Types/AI/AIChatPageContext.js +6 -0
  139. package/Types/AI/AIRunProducts.d.mts +14 -0
  140. package/Types/AI/AIRunProducts.d.ts +14 -0
  141. package/Types/AI/AIRunProducts.js +40 -0
  142. package/Types/AI/AIRunProducts.mjs +2 -0
  143. package/Types/AI/AskAiRatings.d.mts +31 -0
  144. package/Types/AI/AskAiRatings.d.ts +31 -0
  145. package/Types/AI/AskAiRatings.js +173 -0
  146. package/Types/AI/AskAiRatings.mjs +13 -0
  147. package/Types/AI/CarriedRecords.d.mts +35 -0
  148. package/Types/AI/CarriedRecords.d.ts +35 -0
  149. package/Types/AI/CarriedRecords.js +211 -0
  150. package/Types/AI/CarriedRecords.mjs +3 -0
  151. package/Types/Accounts/SetPasswordLink.d.mts +6 -0
  152. package/Types/Accounts/SetPasswordLink.d.ts +6 -0
  153. package/Types/Accounts/SetPasswordLink.js +47 -0
  154. package/Types/Accounts/SetPasswordLink.mjs +7 -0
  155. package/Types/Accounts/SignUpInvitation.d.mts +12 -0
  156. package/Types/Accounts/SignUpInvitation.d.ts +12 -0
  157. package/Types/Accounts/SignUpInvitation.js +84 -0
  158. package/Types/Accounts/SignUpInvitation.mjs +5 -0
  159. package/Types/Analytics/ActivationMilestone.d.mts +2 -1
  160. package/Types/Analytics/ActivationMilestone.d.ts +2 -1
  161. package/Types/Analytics/ActivationMilestone.js +11 -0
  162. package/Types/Analytics/ProductEvent.d.mts +11 -0
  163. package/Types/Analytics/ProductEvent.d.ts +11 -0
  164. package/Types/Analytics/ProductEvent.js +166 -13
  165. package/Types/Analytics/ProductEvent.mjs +3 -0
  166. package/Types/Backup/BackupScriptRun.d.mts +17 -0
  167. package/Types/Backup/BackupScriptRun.d.ts +17 -0
  168. package/Types/Backup/BackupScriptRun.js +96 -0
  169. package/Types/Backup/BackupScriptRun.mjs +6 -0
  170. package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +2 -0
  171. package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +2 -0
  172. package/Types/BaseDatabase/DatabaseCommonInteractionPropsUtil.js +1 -1
  173. package/Types/BaseDatabase/ReadAudience.d.mts +9 -0
  174. package/Types/BaseDatabase/ReadAudience.d.ts +9 -0
  175. package/Types/BaseDatabase/ReadAudience.js +2 -0
  176. package/Types/BaseDatabase/ReadAudience.mjs +1 -0
  177. package/Types/Cloud/CloudKeyMetricGroup.d.mts +17 -0
  178. package/Types/Cloud/CloudKeyMetricGroup.d.ts +17 -0
  179. package/Types/Cloud/CloudKeyMetricGroup.js +84 -0
  180. package/Types/Cloud/CloudKeyMetricGroup.mjs +5 -0
  181. package/Types/Cloud/CloudKeyMetrics.d.mts +28 -1
  182. package/Types/Cloud/CloudKeyMetrics.d.ts +28 -1
  183. package/Types/Cloud/CloudKeyMetrics.js +1209 -206
  184. package/Types/Cloud/CloudKeyMetrics.mjs +6 -0
  185. package/Types/Cloud/CloudResourceCatalog.js +43 -12
  186. package/Types/CloudConnection/CloudConnectionSetupCommands.d.mts +1 -0
  187. package/Types/CloudConnection/CloudConnectionSetupCommands.d.ts +1 -0
  188. package/Types/CloudConnection/CloudConnectionSetupCommands.js +49 -6
  189. package/Types/CloudConnection/CloudConnectionSetupCommands.mjs +1 -0
  190. package/Types/CloudConnection/CloudStreamTemplate.js +6 -2
  191. package/Types/CodeRepository/ProductionReview.d.mts +5 -0
  192. package/Types/CodeRepository/ProductionReview.d.ts +5 -0
  193. package/Types/CodeRepository/ProductionReview.js +108 -0
  194. package/Types/CreateFormAddress.d.mts +3 -0
  195. package/Types/CreateFormAddress.d.ts +3 -0
  196. package/Types/CreateFormAddress.js +17 -0
  197. package/Types/CreateFormAddress.mjs +4 -0
  198. package/Types/DataObservability/DataAssetFreshness.d.mts +5 -0
  199. package/Types/DataObservability/DataAssetFreshness.d.ts +5 -0
  200. package/Types/DataObservability/DataAssetFreshness.js +28 -5
  201. package/Types/DataObservability/DataAssetFreshness.mjs +1 -0
  202. package/Types/DataObservability/DataBiLineage.d.mts +69 -0
  203. package/Types/DataObservability/DataBiLineage.d.ts +69 -0
  204. package/Types/DataObservability/DataBiLineage.js +198 -0
  205. package/Types/DataObservability/DataBiLineage.mjs +13 -0
  206. package/Types/DataObservability/DataLineageColumnTrail.d.mts +2 -1
  207. package/Types/DataObservability/DataLineageColumnTrail.d.ts +2 -1
  208. package/Types/DataObservability/DataLineageColumnTrail.js +41 -3
  209. package/Types/DataObservability/DataLineageColumnTrail.mjs +1 -0
  210. package/Types/DataObservability/DataLineageMap.d.mts +67 -1
  211. package/Types/DataObservability/DataLineageMap.d.ts +67 -1
  212. package/Types/DataObservability/DataLineageMap.js +335 -3
  213. package/Types/DataObservability/DataLineageMap.mjs +14 -0
  214. package/Types/DataObservability/DataObservabilityApiTypes.d.mts +42 -2
  215. package/Types/DataObservability/DataObservabilityApiTypes.d.ts +42 -2
  216. package/Types/DataObservability/DataObservabilityApiTypes.js +21 -1
  217. package/Types/DataObservability/DataObservabilityApiTypes.mjs +4 -0
  218. package/Types/DataObservability/DataObservabilityAttention.d.mts +5 -0
  219. package/Types/DataObservability/DataObservabilityAttention.d.ts +5 -0
  220. package/Types/DataObservability/DataObservabilityAttention.js +48 -1
  221. package/Types/DataObservability/DataObservabilityAttention.mjs +5 -0
  222. package/Types/DataObservability/DataPipelineSchedule.d.mts +4 -0
  223. package/Types/DataObservability/DataPipelineSchedule.d.ts +4 -0
  224. package/Types/DataObservability/DataPipelineSchedule.js +26 -6
  225. package/Types/DataObservability/DataPipelineSchedule.mjs +1 -0
  226. package/Types/DataObservability/DataTableLineage.d.mts +6 -0
  227. package/Types/DataObservability/DataTableLineage.d.ts +6 -0
  228. package/Types/DataSecurity/DataSecurityApiTypes.d.mts +24 -0
  229. package/Types/DataSecurity/DataSecurityApiTypes.d.ts +24 -0
  230. package/Types/DataSecurity/DataSecurityApiTypes.js +21 -1
  231. package/Types/DataSecurity/DataSecurityApiTypes.mjs +2 -0
  232. package/Types/DataSecurity/FindingSampleRecord.d.mts +16 -0
  233. package/Types/DataSecurity/FindingSampleRecord.d.ts +16 -0
  234. package/Types/DataSecurity/FindingSampleRecord.js +112 -0
  235. package/Types/DataSecurity/FindingSampleRecord.mjs +6 -0
  236. package/Types/Database/AccessControl/PermissionScopeNarrowing.js +6 -0
  237. package/Types/Database/DatabaseProperty.d.mts +1 -0
  238. package/Types/Database/DatabaseProperty.d.ts +1 -0
  239. package/Types/Database/DatabaseProperty.js +27 -0
  240. package/Types/Database/EncryptedValue.d.mts +2 -0
  241. package/Types/Database/EncryptedValue.d.ts +2 -0
  242. package/Types/Database/EncryptedValue.js +27 -0
  243. package/Types/Database/EncryptedValue.mjs +3 -0
  244. package/Types/Database/MoveInList.d.mts +41 -0
  245. package/Types/Database/MoveInList.d.ts +41 -0
  246. package/Types/Database/MoveInList.js +177 -0
  247. package/Types/Database/MoveInList.mjs +4 -0
  248. package/Types/Database/TableColumn.d.mts +3 -0
  249. package/Types/Database/TableColumn.d.ts +3 -0
  250. package/Types/Docs/GlossaryTerm.d.mts +1 -0
  251. package/Types/Docs/GlossaryTerm.d.ts +1 -0
  252. package/Types/Docs/GlossaryTerm.js +2 -0
  253. package/Types/Email/EmailSendFailure.d.mts +20 -0
  254. package/Types/Email/EmailSendFailure.d.ts +20 -0
  255. package/Types/Email/EmailSendFailure.js +244 -0
  256. package/Types/Email/EmailSendFailure.mjs +3 -0
  257. package/Types/Email/EmailTemplateType.d.mts +1 -0
  258. package/Types/Email/EmailTemplateType.d.ts +1 -0
  259. package/Types/Email/EmailTemplateType.js +5 -0
  260. package/Types/Email/ServerEmailLog.d.mts +41 -0
  261. package/Types/Email/ServerEmailLog.d.ts +41 -0
  262. package/Types/Email/ServerEmailLog.js +136 -0
  263. package/Types/Email/ServerEmailLog.mjs +11 -0
  264. package/Types/Exception/ProductSwitchedOffException.d.mts +12 -0
  265. package/Types/Exception/ProductSwitchedOffException.d.ts +12 -0
  266. package/Types/Exception/ProductSwitchedOffException.js +38 -0
  267. package/Types/Exception/ProductSwitchedOffException.mjs +2 -0
  268. package/Types/Exception/UnexplainedError.d.mts +7 -0
  269. package/Types/Exception/UnexplainedError.d.ts +7 -0
  270. package/Types/Exception/UnexplainedError.js +36 -1
  271. package/Types/Exception/UnexplainedError.mjs +2 -0
  272. package/Types/InstallationHealth/InstallationHealth.d.mts +39 -0
  273. package/Types/InstallationHealth/InstallationHealth.d.ts +39 -0
  274. package/Types/InstallationHealth/InstallationHealth.js +163 -0
  275. package/Types/Kubernetes/KubernetesHealth.d.mts +16 -0
  276. package/Types/Kubernetes/KubernetesHealth.d.ts +16 -0
  277. package/Types/Kubernetes/KubernetesHealth.js +128 -6
  278. package/Types/Kubernetes/KubernetesHealth.mjs +2 -0
  279. package/Types/Monitor/CloudAppAlertTemplates.d.mts +3 -13
  280. package/Types/Monitor/CloudAppAlertTemplates.d.ts +3 -13
  281. package/Types/Monitor/CloudAppAlertTemplates.js +13 -199
  282. package/Types/Monitor/CriteriaFilter.d.mts +2 -1
  283. package/Types/Monitor/CriteriaFilter.d.ts +2 -1
  284. package/Types/Monitor/CriteriaFilter.js +9 -1
  285. package/Types/Monitor/CriteriaFilterTerms.js +1 -0
  286. package/Types/Monitor/MessageQueueAlertTemplates.d.mts +6 -0
  287. package/Types/Monitor/MessageQueueAlertTemplates.d.ts +6 -0
  288. package/Types/Monitor/MessageQueueAlertTemplates.js +32 -0
  289. package/Types/Monitor/MessageQueueAlertTemplates.mjs +2 -0
  290. package/Types/Monitor/MonitorCriteriaInstance.d.mts +2 -0
  291. package/Types/Monitor/MonitorCriteriaInstance.d.ts +2 -0
  292. package/Types/Monitor/MonitorCriteriaInstance.js +52 -0
  293. package/Types/Monitor/MonitorMetricType.d.mts +2 -1
  294. package/Types/Monitor/MonitorMetricType.d.ts +2 -1
  295. package/Types/Monitor/MonitorMetricType.js +1 -0
  296. package/Types/Monitor/MonitorStepLimit.d.mts +8 -0
  297. package/Types/Monitor/MonitorStepLimit.d.ts +8 -0
  298. package/Types/Monitor/MonitorStepLimit.js +62 -0
  299. package/Types/Monitor/MonitorStepLimit.mjs +3 -0
  300. package/Types/Monitor/MonitorSteps.js +5 -0
  301. package/Types/Monitor/MonitorType.js +2 -1
  302. package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.mts +5 -0
  303. package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.ts +5 -0
  304. package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.mts +1 -1
  305. package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.ts +1 -1
  306. package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +111 -1
  307. package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +7 -1
  308. package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +7 -1
  309. package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +15 -0
  310. package/Types/Monitor/RequestHealthAlertTemplates.d.mts +66 -0
  311. package/Types/Monitor/RequestHealthAlertTemplates.d.ts +66 -0
  312. package/Types/Monitor/RequestHealthAlertTemplates.js +227 -0
  313. package/Types/Monitor/RequestHealthAlertTemplates.mjs +4 -0
  314. package/Types/Monitor/ServerlessAlertTemplates.d.mts +23 -0
  315. package/Types/Monitor/ServerlessAlertTemplates.d.ts +23 -0
  316. package/Types/Monitor/ServerlessAlertTemplates.js +111 -0
  317. package/Types/Monitor/ServerlessAlertTemplates.mjs +7 -0
  318. package/Types/Monitor/ServiceAlertTemplates.d.mts +3 -0
  319. package/Types/Monitor/ServiceAlertTemplates.d.ts +3 -0
  320. package/Types/Monitor/ServiceAlertTemplates.js +61 -0
  321. package/Types/Monitor/ServiceAlertTemplates.mjs +2 -0
  322. package/Types/Monitor/TelemetryRulePreview.js +18 -6
  323. package/Types/Monitor/WhoIsTold.d.mts +71 -0
  324. package/Types/Monitor/WhoIsTold.d.ts +71 -0
  325. package/Types/Monitor/WhoIsTold.js +348 -121
  326. package/Types/Monitor/WhoIsTold.mjs +7 -0
  327. package/Types/NetworkAutomation/RuleRunResult.js +9 -5
  328. package/Types/NetworkDevice/DiscoveredDevice.d.mts +40 -0
  329. package/Types/NetworkDevice/DiscoveredDevice.d.ts +40 -0
  330. package/Types/NetworkDevice/DiscoveredDevice.js +205 -1
  331. package/Types/NetworkDevice/DiscoveredDevice.mjs +9 -0
  332. package/Types/NetworkDevice/DiscoveryImport.js +8 -3
  333. package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.mts +26 -3
  334. package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.ts +26 -3
  335. package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.js +75 -3
  336. package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.mjs +2 -0
  337. package/Types/Notification/WhoWasTold.d.mts +190 -0
  338. package/Types/Notification/WhoWasTold.d.ts +190 -0
  339. package/Types/Notification/WhoWasTold.js +662 -0
  340. package/Types/Notification/WhoWasTold.mjs +16 -0
  341. package/Types/NotificationRule/PagingLadderDefault.d.mts +75 -0
  342. package/Types/NotificationRule/PagingLadderDefault.d.ts +75 -0
  343. package/Types/NotificationRule/PagingLadderDefault.js +529 -0
  344. package/Types/NotificationRule/PagingLadderDefault.mjs +24 -0
  345. package/Types/OnCallDutyPolicy/EveryNewEventRules.d.mts +7 -0
  346. package/Types/OnCallDutyPolicy/EveryNewEventRules.d.ts +7 -0
  347. package/Types/OnCallDutyPolicy/EveryNewEventRules.js +53 -2
  348. package/Types/OnCallDutyPolicy/EveryNewEventRules.mjs +3 -0
  349. package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.mts +6 -0
  350. package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.ts +6 -0
  351. package/Types/OnCallDutyPolicy/NotificationSetupToFinish.js +27 -0
  352. package/Types/OnCallDutyPolicy/NotificationSetupToFinish.mjs +3 -0
  353. package/Types/OnCallDutyPolicy/OnCallFireDrill.d.mts +83 -0
  354. package/Types/OnCallDutyPolicy/OnCallFireDrill.d.ts +83 -0
  355. package/Types/OnCallDutyPolicy/OnCallFireDrill.js +105 -0
  356. package/Types/OnCallDutyPolicy/OnCallFireDrill.mjs +9 -0
  357. package/Types/OnCallDutyPolicy/OnCallPagePassOn.js +12 -4
  358. package/Types/OnCallDutyPolicy/OnCallRunLevel.d.mts +12 -0
  359. package/Types/OnCallDutyPolicy/OnCallRunLevel.d.ts +12 -0
  360. package/Types/OnCallDutyPolicy/OnCallRunLevel.js +69 -8
  361. package/Types/OnCallDutyPolicy/OnCallRunLevel.mjs +3 -0
  362. package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +4 -0
  363. package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +4 -0
  364. package/Types/OnCallDutyPolicy/OnCallTestPage.js +20 -7
  365. package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +2 -0
  366. package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.mts +2 -0
  367. package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.ts +2 -0
  368. package/Types/OnCallDutyPolicy/ScheduleLayersSave.js +14 -1
  369. package/Types/OnCallDutyPolicy/ScheduleLayersSave.mjs +2 -0
  370. package/Types/OnCallDutyPolicy/UserOverrideEdit.d.mts +7 -0
  371. package/Types/OnCallDutyPolicy/UserOverrideEdit.d.ts +7 -0
  372. package/Types/OnCallDutyPolicy/UserOverrideEdit.js +63 -1
  373. package/Types/OnCallDutyPolicy/UserOverrideEdit.mjs +4 -0
  374. package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.mts +21 -1
  375. package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.ts +21 -1
  376. package/Types/OnCallDutyPolicy/UserOverrideOverlap.js +46 -2
  377. package/Types/Permission.d.mts +8 -0
  378. package/Types/Permission.d.ts +8 -0
  379. package/Types/Permission.js +84 -0
  380. package/Types/Probe/ProbeBehind.d.mts +48 -0
  381. package/Types/Probe/ProbeBehind.d.ts +48 -0
  382. package/Types/Probe/ProbeBehind.js +196 -0
  383. package/Types/Probe/ProbeBehind.mjs +6 -0
  384. package/Types/Product/ProductRecordTables.d.mts +8 -0
  385. package/Types/Product/ProductRecordTables.d.ts +8 -0
  386. package/Types/Product/ProductRecordTables.js +847 -0
  387. package/Types/Product/ProductRecordTables.mjs +5 -0
  388. package/Types/Product/ProductUsage.d.mts +2 -0
  389. package/Types/Product/ProductUsage.d.ts +2 -0
  390. package/Types/Product/ProductUsage.js +41 -6
  391. package/Types/Product/ProductUsage.mjs +2 -0
  392. package/Types/Product/ServerProductOffReason.d.mts +4 -0
  393. package/Types/Product/ServerProductOffReason.d.ts +4 -0
  394. package/Types/Product/ServerProductOffReason.js +19 -0
  395. package/Types/Product/ServerProductOffReason.mjs +2 -0
  396. package/Types/Product/ServerProducts.d.mts +2 -4
  397. package/Types/Product/ServerProducts.d.ts +2 -4
  398. package/Types/Product/ServerProducts.js +19 -17
  399. package/Types/ProductFeedback/ProductFeedback.d.mts +45 -1
  400. package/Types/ProductFeedback/ProductFeedback.d.ts +45 -1
  401. package/Types/ProductFeedback/ProductFeedback.js +185 -5
  402. package/Types/ProductFeedback/ProductFeedback.mjs +11 -0
  403. package/Types/PushNotification/PushNotificationCategory.d.mts +1 -0
  404. package/Types/PushNotification/PushNotificationCategory.d.ts +1 -0
  405. package/Types/PushNotification/PushNotificationCategory.js +17 -6
  406. package/Types/PushNotification/PushNotificationCategory.mjs +1 -0
  407. package/Types/Rules/RuleCriteriaFieldRegistry.d.mts +18 -0
  408. package/Types/Rules/RuleCriteriaFieldRegistry.d.ts +18 -0
  409. package/Types/Rules/RuleCriteriaFieldRegistry.js +34 -1
  410. package/Types/Rules/RuleCriteriaFieldRegistry.mjs +4 -0
  411. package/Types/Rum/ProductAnalytics.d.mts +9 -0
  412. package/Types/Rum/ProductAnalytics.d.ts +9 -0
  413. package/Types/Rum/ProductAnalytics.js +56 -8
  414. package/Types/Rum/ProductAnalytics.mjs +6 -0
  415. package/Types/Rum/ProductAnalyticsEvents.js +2 -1
  416. package/Types/Rum/SessionReplay.d.mts +3 -0
  417. package/Types/Rum/SessionReplay.d.ts +3 -0
  418. package/Types/Rum/SessionReplay.js +35 -1
  419. package/Types/Rum/SessionReplay.mjs +2 -0
  420. package/Types/Runbook/RunbookTriggerType.d.mts +1 -0
  421. package/Types/Runbook/RunbookTriggerType.d.ts +1 -0
  422. package/Types/Runbook/RunbookTriggerType.js +19 -1
  423. package/Types/Runbook/RunbookTriggerType.mjs +1 -0
  424. package/Types/Runner/RunnerCodeFixCapability.d.mts +3 -1
  425. package/Types/Runner/RunnerCodeFixCapability.d.ts +3 -1
  426. package/Types/Runner/RunnerCodeFixCapability.js +19 -1
  427. package/Types/Runner/RunnerCodeFixCapability.mjs +1 -0
  428. package/Types/SSO/IdentityProviderSignOut.d.mts +24 -0
  429. package/Types/SSO/IdentityProviderSignOut.d.ts +24 -0
  430. package/Types/SSO/IdentityProviderSignOut.js +124 -0
  431. package/Types/SSO/IdentityProviderSignOut.mjs +10 -0
  432. package/Types/SSO/SessionsWithoutSso.js +2 -2
  433. package/Types/SecurityCase/SecurityCaseEventEvidence.d.mts +4 -0
  434. package/Types/SecurityCase/SecurityCaseEventEvidence.d.ts +4 -0
  435. package/Types/SecurityCase/SecurityCaseEventEvidence.js +12 -0
  436. package/Types/SecurityCase/SecurityCaseMatches.d.mts +78 -0
  437. package/Types/SecurityCase/SecurityCaseMatches.d.ts +78 -0
  438. package/Types/SecurityCase/SecurityCaseMatches.js +252 -0
  439. package/Types/SecurityCase/SecurityCaseMatches.mjs +17 -0
  440. package/Types/ServerSending/ProjectCanSend.d.mts +10 -0
  441. package/Types/ServerSending/ProjectCanSend.d.ts +10 -0
  442. package/Types/ServerSending/ProjectCanSend.js +49 -0
  443. package/Types/ServerSending/ProjectCanSend.mjs +4 -0
  444. package/Types/ServerSending/ServerAlerts.d.mts +78 -0
  445. package/Types/ServerSending/ServerAlerts.d.ts +78 -0
  446. package/Types/ServerSending/ServerAlerts.js +393 -0
  447. package/Types/ServerSending/ServerAlerts.mjs +8 -0
  448. package/Types/ServerSending/ServerSendingStatus.d.mts +29 -2
  449. package/Types/ServerSending/ServerSendingStatus.d.ts +29 -2
  450. package/Types/ServerSending/ServerSendingStatus.js +231 -10
  451. package/Types/ServerSending/ServerSendingStatus.mjs +3 -0
  452. package/Types/ServerSending/ServerSetUpProblem.d.mts +46 -0
  453. package/Types/ServerSending/ServerSetUpProblem.d.ts +46 -0
  454. package/Types/ServerSending/ServerSetUpProblem.js +164 -0
  455. package/Types/ServerSending/ServerSetUpProblem.mjs +6 -0
  456. package/Types/ServerSetup/ServerSetupChecklist.d.mts +35 -1
  457. package/Types/ServerSetup/ServerSetupChecklist.d.ts +35 -1
  458. package/Types/ServerSetup/ServerSetupChecklist.js +275 -33
  459. package/Types/ServerSetup/ServerSetupChecklist.mjs +5 -0
  460. package/Types/ServerSetup/ServerTestSend.d.mts +11 -0
  461. package/Types/ServerSetup/ServerTestSend.d.ts +11 -0
  462. package/Types/ServerSetup/ServerTestSend.js +60 -3
  463. package/Types/ServerSetup/ServerTestSend.mjs +2 -0
  464. package/Types/ServiceLevelObjective/SloStatus.d.mts +3 -0
  465. package/Types/ServiceLevelObjective/SloStatus.d.ts +3 -0
  466. package/Types/ServiceLevelObjective/SloStatus.js +38 -0
  467. package/Types/ServiceLevelObjective/SloStatus.mjs +2 -0
  468. package/Types/ServiceLevelObjective/SloStatusChange.d.mts +10 -0
  469. package/Types/ServiceLevelObjective/SloStatusChange.d.ts +10 -0
  470. package/Types/ServiceLevelObjective/SloStatusChange.js +71 -0
  471. package/Types/ServiceLevelObjective/SloStatusChange.mjs +5 -0
  472. package/Types/SetupHealth/SetupHealth.d.mts +31 -3
  473. package/Types/SetupHealth/SetupHealth.d.ts +31 -3
  474. package/Types/SetupHealth/SetupHealth.js +333 -4
  475. package/Types/SetupHealth/SetupHealth.mjs +5 -0
  476. package/Types/StatusPage/NewIncidentSubscriberNotificationDefault.js +8 -5
  477. package/Types/StatusPage/StatusPageMagicLink.js +1 -1
  478. package/Types/StatusPage/StatusPagePublicName.d.mts +6 -0
  479. package/Types/StatusPage/StatusPagePublicName.d.ts +6 -0
  480. package/Types/StatusPage/StatusPagePublicName.js +32 -0
  481. package/Types/StatusPage/StatusPagePublicName.mjs +3 -0
  482. package/Types/StatusPage/StatusPageSignInMessages.d.mts +3 -0
  483. package/Types/StatusPage/StatusPageSignInMessages.d.ts +3 -0
  484. package/Types/StatusPage/StatusPageSignInMessages.js +16 -0
  485. package/Types/StatusPage/StatusPageSignInMessages.mjs +4 -0
  486. package/Types/StatusPage/StatusPageSingleSignOnProtocol.d.mts +12 -0
  487. package/Types/StatusPage/StatusPageSingleSignOnProtocol.d.ts +12 -0
  488. package/Types/StatusPage/StatusPageSingleSignOnProtocol.js +63 -0
  489. package/Types/StatusPage/StatusPageSingleSignOnProtocol.mjs +8 -0
  490. package/Types/StatusPage/StatusPageSubscriberChannel.d.mts +18 -0
  491. package/Types/StatusPage/StatusPageSubscriberChannel.d.ts +18 -0
  492. package/Types/StatusPage/StatusPageSubscriberChannel.js +91 -0
  493. package/Types/StatusPage/StatusPageSubscriberChannel.mjs +10 -0
  494. package/Types/Team/InvitationEmailsNotSent.d.mts +28 -0
  495. package/Types/Team/InvitationEmailsNotSent.d.ts +28 -0
  496. package/Types/Team/InvitationEmailsNotSent.js +261 -0
  497. package/Types/Team/InvitationEmailsNotSent.mjs +13 -0
  498. package/Types/Team/ProjectMemberSearch.d.mts +15 -0
  499. package/Types/Team/ProjectMemberSearch.d.ts +15 -0
  500. package/Types/Team/ProjectMemberSearch.js +180 -0
  501. package/Types/Team/ProjectMemberSearch.mjs +10 -0
  502. package/Types/Team/ProjectRemovalReach.d.mts +15 -0
  503. package/Types/Team/ProjectRemovalReach.d.ts +15 -0
  504. package/Types/Team/ProjectRemovalReach.js +154 -0
  505. package/Types/Team/ProjectRemovalReach.mjs +8 -0
  506. package/Types/Team/ResendInvitation.d.mts +27 -0
  507. package/Types/Team/ResendInvitation.d.ts +27 -0
  508. package/Types/Team/ResendInvitation.js +123 -0
  509. package/Types/Team/ResendInvitation.mjs +12 -0
  510. package/Types/UsedBy/UsedBy.d.mts +1 -0
  511. package/Types/UsedBy/UsedBy.d.ts +1 -0
  512. package/Types/UsedBy/UsedBy.js +2 -0
  513. package/Types/UsedBy/UsedByServerProducts.js +1 -0
  514. package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +27 -4
  515. package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +27 -4
  516. package/Types/WelcomeChecklist/WelcomeChecklist.js +166 -42
  517. package/Types/WelcomeChecklist/WelcomeChecklist.mjs +8 -0
  518. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +4 -1
  519. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +4 -1
  520. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +175 -33
  521. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.mjs +1 -0
  522. package/Types/WelcomeChecklist/WelcomeChecklistState.d.mts +1 -0
  523. package/Types/WelcomeChecklist/WelcomeChecklistState.d.ts +1 -0
  524. package/Types/WelcomeChecklist/WelcomeChecklistState.js +30 -1
  525. package/Types/WelcomeChecklist/WelcomeChecklistState.mjs +1 -0
  526. package/Types/Workflow/Component.d.mts +0 -1
  527. package/Types/Workflow/Component.d.ts +0 -1
  528. package/Types/Workspace/ConnectCallback.d.mts +2 -1
  529. package/Types/Workspace/ConnectCallback.d.ts +2 -1
  530. package/Types/Workspace/ConnectCallback.js +8 -0
  531. package/Types/Workspace/NotificationRules/BaseNotificationRule.d.mts +1 -1
  532. package/Types/Workspace/NotificationRules/BaseNotificationRule.d.ts +1 -1
  533. package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +23 -0
  534. package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +23 -0
  535. package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.mts +12 -0
  536. package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.ts +12 -0
  537. package/Types/Workspace/NotificationRules/NotificationRuleUpdates.js +106 -4
  538. package/Types/Workspace/WorkspaceMessagePayload.d.mts +2 -0
  539. package/Types/Workspace/WorkspaceMessagePayload.d.ts +2 -0
  540. package/Types/Workspace/WorkspaceMessagePayload.js +6 -1
  541. package/Types/Workspace/WorkspaceMessagePayload.mjs +1 -0
  542. package/UI/Components/Dropdown/Dropdown.d.mts +2 -0
  543. package/UI/Components/Dropdown/Dropdown.d.ts +2 -0
  544. package/Utils/AiRemediation/DeclaredCodeChange.d.mts +4 -1
  545. package/Utils/AiRemediation/DeclaredCodeChange.d.ts +4 -1
  546. package/Utils/AiRemediation/DeclaredCodeChange.js +6 -0
  547. package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.js +6 -1
  548. package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.js +6 -1
  549. package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +4 -1
  550. package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +4 -1
  551. package/Utils/Dashboard/MonitorListWidgetFormat.js +10 -5
  552. package/Utils/DataSecurity/CustomDataTypeDetector.js +3 -1
  553. package/Utils/DataSecurity/DetectorPrefilter.d.mts +9 -0
  554. package/Utils/DataSecurity/DetectorPrefilter.d.ts +9 -0
  555. package/Utils/DataSecurity/DetectorPrefilter.js +471 -0
  556. package/Utils/DataSecurity/DetectorPrefilter.mjs +6 -0
  557. package/Utils/DataSecurity/FieldClassifier.d.mts +2 -0
  558. package/Utils/DataSecurity/FieldClassifier.d.ts +2 -0
  559. package/Utils/DataSecurity/FieldClassifier.js +38 -8
  560. package/Utils/DataSecurity/OccurrenceExcerpt.d.mts +22 -0
  561. package/Utils/DataSecurity/OccurrenceExcerpt.d.ts +22 -0
  562. package/Utils/DataSecurity/OccurrenceExcerpt.js +270 -0
  563. package/Utils/DataSecurity/OccurrenceExcerpt.mjs +5 -0
  564. package/Utils/DataSecurity/TextScanner.d.mts +4 -0
  565. package/Utils/DataSecurity/TextScanner.d.ts +4 -0
  566. package/Utils/Incident/PostmortemActionItemCodeTask.d.mts +2 -0
  567. package/Utils/Incident/PostmortemActionItemCodeTask.d.ts +2 -0
  568. package/Utils/Incident/PostmortemActionItemCodeTask.js +22 -5
  569. package/Utils/Incident/PostmortemActionItemCodeTask.mjs +1 -0
  570. package/Utils/LookupTable.d.mts +1 -0
  571. package/Utils/LookupTable.d.ts +1 -0
  572. package/Utils/LookupTable.js +19 -0
  573. package/Utils/LookupTable.mjs +1 -0
  574. package/Utils/Monitor/DeviceMonitorDuplicates.d.mts +34 -0
  575. package/Utils/Monitor/DeviceMonitorDuplicates.d.ts +34 -0
  576. package/Utils/Monitor/DeviceMonitorDuplicates.js +134 -0
  577. package/Utils/Monitor/DeviceMonitorDuplicates.mjs +7 -0
  578. package/Utils/Monitor/DeviceMonitorTemplateUtil.d.mts +4 -0
  579. package/Utils/Monitor/DeviceMonitorTemplateUtil.d.ts +4 -0
  580. package/Utils/Monitor/DeviceMonitorTemplateUtil.js +33 -6
  581. package/Utils/Monitor/MonitorFirstCheckOverdue.js +5 -5
  582. package/Utils/Monitor/MonitorMetricType.js +11 -1
  583. package/Utils/Monitor/MonitorOverviewFamily.d.mts +2 -10
  584. package/Utils/Monitor/MonitorOverviewFamily.d.ts +2 -10
  585. package/Utils/Monitor/MonitorOverviewFamily.js +19 -99
  586. package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +1 -1
  587. package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +1 -1
  588. package/Utils/Monitor/MonitorOverviewPresentationUtil.js +27 -9
  589. package/Utils/Monitor/MonitorRowStatus.js +2 -2
  590. package/Utils/Monitor/MonitorTypeFamily.d.mts +14 -0
  591. package/Utils/Monitor/MonitorTypeFamily.d.ts +14 -0
  592. package/Utils/Monitor/MonitorTypeFamily.js +105 -0
  593. package/Utils/Monitor/MonitorTypeFamily.mjs +3 -0
  594. package/Utils/Monitor/ProbeFailureCauses.js +4 -1
  595. package/Utils/Monitor/ProbeStatusMonitorUtil.d.mts +5 -1
  596. package/Utils/Monitor/ProbeStatusMonitorUtil.d.ts +5 -1
  597. package/Utils/Monitor/ProbeStatusMonitorUtil.js +106 -0
  598. package/Utils/Monitor/StoredCheckEvidence.d.mts +10 -0
  599. package/Utils/Monitor/StoredCheckEvidence.d.ts +10 -0
  600. package/Utils/Monitor/StoredCheckEvidence.js +53 -0
  601. package/Utils/Monitor/StoredCheckEvidence.mjs +5 -0
  602. package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.mts +3 -0
  603. package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.ts +3 -0
  604. package/Utils/NetworkDevice/NetworkDeviceAssetFacts.js +33 -4
  605. package/Utils/NetworkDevice/NetworkDeviceAssetFacts.mjs +1 -0
  606. package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.mts +33 -0
  607. package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.ts +33 -0
  608. package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.js +105 -0
  609. package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.mjs +8 -0
  610. package/Utils/NetworkDevice/SnmpCredentialUtil.d.mts +5 -0
  611. package/Utils/NetworkDevice/SnmpCredentialUtil.d.ts +5 -0
  612. package/Utils/NetworkDevice/SnmpCredentialUtil.js +28 -3
  613. package/Utils/NetworkDevice/SnmpCredentialUtil.mjs +3 -0
  614. package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.mts +1 -0
  615. package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.ts +1 -0
  616. package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.js +20 -1
  617. package/Utils/NetworkDiscovery/SnmpScanConfigUtil.js +11 -4
  618. package/Utils/Project/ProjectBilling.d.mts +1 -0
  619. package/Utils/Project/ProjectBilling.d.ts +1 -0
  620. package/Utils/Project/ProjectBilling.js +9 -1
  621. package/Utils/Project/ProjectBilling.mjs +1 -0
  622. package/Utils/Rules/RuleCriteriaMatcher.d.mts +1 -0
  623. package/Utils/Rules/RuleCriteriaMatcher.d.ts +1 -0
  624. package/Utils/Rules/RuleCriteriaMatcher.js +6 -0
  625. package/Utils/Rules/RuleCriteriaOwnerMatch.d.mts +10 -0
  626. package/Utils/Rules/RuleCriteriaOwnerMatch.d.ts +10 -0
  627. package/Utils/Rules/RuleCriteriaOwnerMatch.js +83 -0
  628. package/Utils/Rules/RuleCriteriaOwnerMatch.mjs +4 -0
  629. package/Utils/SecurityCase/SecurityCaseMatchRules.d.mts +27 -0
  630. package/Utils/SecurityCase/SecurityCaseMatchRules.d.ts +27 -0
  631. package/Utils/SecurityCase/SecurityCaseMatchRules.js +377 -0
  632. package/Utils/SecurityCase/SecurityCaseMatchRules.mjs +9 -0
  633. package/Utils/Slo/SloBulkRecommendedPolicy.d.mts +35 -0
  634. package/Utils/Slo/SloBulkRecommendedPolicy.d.ts +35 -0
  635. package/Utils/Slo/SloBulkRecommendedPolicy.js +168 -0
  636. package/Utils/Slo/SloBulkRecommendedPolicy.mjs +6 -0
  637. package/Utils/Slo/SloBurnRateRuleState.js +3 -6
  638. package/Utils/Slo/SloErrorBudgetPolicy.d.mts +17 -0
  639. package/Utils/Slo/SloErrorBudgetPolicy.d.ts +17 -0
  640. package/Utils/Slo/SloErrorBudgetPolicy.js +72 -1
  641. package/Utils/Slo/SloErrorBudgetPolicy.mjs +4 -0
  642. package/Utils/Slo/SloFeedMarkdown.d.mts +5 -2
  643. package/Utils/Slo/SloFeedMarkdown.d.ts +5 -2
  644. package/Utils/Slo/SloFeedMarkdown.js +19 -7
  645. package/Utils/Slo/SloFeedMarkdown.mjs +1 -0
  646. package/Utils/Slo/SloHealth.d.mts +5 -0
  647. package/Utils/Slo/SloHealth.d.ts +5 -0
  648. package/Utils/Slo/SloHealth.js +27 -0
  649. package/Utils/Slo/SloListWidgetFormat.js +5 -3
  650. package/Utils/Slo/SloMetricType.js +6 -5
  651. package/Utils/Slo/SloMonitorsFirstCheck.d.mts +13 -0
  652. package/Utils/Slo/SloMonitorsFirstCheck.d.ts +13 -0
  653. package/Utils/Slo/SloMonitorsFirstCheck.js +78 -0
  654. package/Utils/Slo/SloMonitorsFirstCheck.mjs +3 -0
  655. package/Utils/Slo/SloOverviewText.js +7 -0
  656. package/Utils/Slo/SloStatusColor.d.mts +3 -0
  657. package/Utils/Slo/SloStatusColor.d.ts +3 -0
  658. package/Utils/Slo/SloStatusColor.js +3 -0
  659. package/Utils/Slo/SloStatusPosts.d.mts +18 -0
  660. package/Utils/Slo/SloStatusPosts.d.ts +18 -0
  661. package/Utils/Slo/SloStatusPosts.js +95 -0
  662. package/Utils/Slo/SloStatusPosts.mjs +3 -0
  663. package/Utils/StatusPage/GridAxisValues.d.mts +2 -0
  664. package/Utils/StatusPage/GridAxisValues.d.ts +2 -0
  665. package/Utils/StatusPage/GridAxisValues.js +33 -0
  666. package/Utils/StatusPage/GridAxisValues.mjs +3 -0
  667. package/Utils/StatusPage/GroupHierarchyView.d.mts +2 -2
  668. package/Utils/StatusPage/GroupHierarchyView.d.ts +2 -2
  669. package/Utils/StatusPage/GroupHierarchyView.js +13 -12
  670. package/Utils/StatusPage/GroupNestingLayout.d.mts +1 -0
  671. package/Utils/StatusPage/GroupNestingLayout.d.ts +1 -0
  672. package/Utils/StatusPage/GroupNestingLayout.js +25 -5
  673. package/Utils/StatusPage/HistoryWindow.d.mts +3 -0
  674. package/Utils/StatusPage/HistoryWindow.d.ts +3 -0
  675. package/Utils/StatusPage/HistoryWindow.js +24 -0
  676. package/Utils/StatusPage/HistoryWindow.mjs +4 -0
  677. package/Utils/StatusPage/ResourceExplorer.d.mts +2 -2
  678. package/Utils/StatusPage/ResourceExplorer.d.ts +2 -2
  679. package/Utils/StatusPage/ResourceExplorer.js +15 -21
  680. package/Utils/StatusPage/StatusColorsOnDark.d.mts +5 -3
  681. package/Utils/StatusPage/StatusColorsOnDark.d.ts +5 -3
  682. package/Utils/StatusPage/StatusColorsOnDark.js +18 -6
  683. package/Utils/StatusPage/StatusColorsOnDark.mjs +1 -0
  684. package/Utils/Suggestions/CodeFixSuggestion.d.mts +2 -1
  685. package/Utils/Suggestions/CodeFixSuggestion.d.ts +2 -1
  686. package/Utils/Suggestions/CodeFixSuggestion.js +9 -0
  687. package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.mts +1 -0
  688. package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.ts +1 -0
  689. package/Utils/Suggestions/InvestigationCodeFixSuggestion.js +24 -3
  690. package/Utils/Suggestions/InvestigationCodeFixSuggestion.mjs +1 -0
  691. package/Utils/Suggestions/ProfileFixSuggestion.d.mts +1 -0
  692. package/Utils/Suggestions/ProfileFixSuggestion.d.ts +1 -0
  693. package/Utils/Suggestions/ProfileFixSuggestion.js +16 -4
  694. package/Utils/Suggestions/TelemetryAiFixSuggestion.d.mts +2 -0
  695. package/Utils/Suggestions/TelemetryAiFixSuggestion.d.ts +2 -0
  696. package/Utils/Suggestions/TelemetryAiFixSuggestion.js +17 -5
  697. package/Utils/Suggestions/TelemetryAiFixSuggestion.mjs +1 -0
  698. package/Utils/Suggestions/TracePerformanceFixSuggestion.js +16 -7
  699. package/Utils/Telemetry/MobileAppFaults.d.mts +8 -0
  700. package/Utils/Telemetry/MobileAppFaults.d.ts +8 -0
  701. package/Utils/Telemetry/MobileAppFaults.js +69 -0
  702. package/Utils/Telemetry/MobileAppFaults.mjs +6 -0
  703. package/Utils/WebhookAddressMask.d.mts +9 -0
  704. package/Utils/WebhookAddressMask.d.ts +9 -0
  705. package/Utils/WebhookAddressMask.js +66 -0
  706. package/Utils/WebhookAddressMask.mjs +2 -0
  707. package/Utils/Workspace/WorkspaceRefusal.d.mts +108 -0
  708. package/Utils/Workspace/WorkspaceRefusal.d.ts +108 -0
  709. package/Utils/Workspace/WorkspaceRefusal.js +769 -0
  710. package/Utils/Workspace/WorkspaceRefusal.mjs +50 -0
  711. package/package.json +4 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
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;
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.WHO_IS_TOLD_BREAK_KINDS_MAX_LENGTH = exports.FEEDBACK_PAGE_TOKEN_MAX_LENGTH = exports.PRODUCT_EVENT_TOKEN_MAX_LENGTH = exports.toSearchQueryWords = exports.isSearchWordThatIdentifies = exports.SEARCH_QUERY_MAX_LENGTH = exports.ProductEventName = void 0;
4
4
  const ProjectGoal_1 = require("../WelcomeChecklist/ProjectGoal");
5
5
  /*
6
6
  * The behaviour events the Dashboard sends to product analytics (issue
@@ -30,9 +30,13 @@ const ProjectGoal_1 = require("../WelcomeChecklist/ProjectGoal");
30
30
  * A name (of a person, a project, a monitor, anything), an email or any
31
31
  * other address, a phone number, or text somebody wrote - a message, a
32
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
33
+ * is the words of a search that found nothing - in the Dashboard's Search
34
+ * or the docs' search box - on OneUptime Cloud only: the best sign of
35
+ * what people cannot find (issue #6830's decision). Even those carry no
36
+ * personal data (#7207): every word that could name or reach a person or
37
+ * a record is taken out first - an email address, a web or IP address, a
38
+ * host name, a number (toSearchQueryWords) - and what is left is cut to
39
+ * SEARCH_QUERY_MAX_LENGTH characters. FORBIDDEN_PROPERTY_WORDS is the
36
40
  * list the tests scan every event's property names with.
37
41
  *
38
42
  * WHERE EVENTS GO
@@ -79,6 +83,10 @@ var ProductEventName;
79
83
  ProductEventName["ImporterOpened"] = "importer/opened";
80
84
  // "Was this page helpful?" on a docs page (#6822): sent by the docs server.
81
85
  ProductEventName["DocsFeedbackGiven"] = "docs/feedback_given";
86
+ // A docs search that found nothing (#7207): sent by the docs server.
87
+ ProductEventName["DocsSearchFoundNothing"] = "docs/search_found_nothing";
88
+ // A docs page opened from the product (#7207): its link, button or Search.
89
+ ProductEventName["DocsLinkOpened"] = "docs/link_opened";
82
90
  // The guided setups (#6804, #6805, #6806).
83
91
  ProductEventName["GuidedSetupStarted"] = "guided_setup/started";
84
92
  ProductEventName["GuidedSetupStepReached"] = "guided_setup/step_reached";
@@ -105,8 +113,22 @@ var ProductEventName;
105
113
  // How to reach me (#6820): a paging ladder saved, and the grid opened.
106
114
  ProductEventName["PagingLadderSaved"] = "paging_ladder/saved";
107
115
  ProductEventName["PagingLadderGridOpened"] = "paging_ladder/grid_opened";
116
+ /*
117
+ * The project's default ladder (#7449) saved, and applied to members from
118
+ * On-Call Readiness (#7450).
119
+ */
120
+ ProductEventName["PagingLadderDefaultSaved"] = "paging_ladder/default_saved";
121
+ ProductEventName["PagingLadderDefaultApplied"] = "paging_ladder/default_applied";
122
+ // A person's own steps filled with the project's default (#9445).
123
+ ProductEventName["PagingLadderStartedFromDefault"] = "paging_ladder/started_from_default";
108
124
  // "Used by" (#6813): the full list of what refers to a record was opened.
109
125
  ProductEventName["UsedByListOpened"] = "used_by/list_opened";
126
+ /*
127
+ * "When this goes down" (#7079): its chain opened, and a fix opened from
128
+ * one of its breaks or owners who aren't emailed. Never a name.
129
+ */
130
+ ProductEventName["WhoIsToldChainOpened"] = "who_is_told/chain_opened";
131
+ ProductEventName["WhoIsToldFixOpened"] = "who_is_told/fix_opened";
110
132
  /*
111
133
  * Putting a status page, a dashboard or a form on its own domain (#7024):
112
134
  * Add Custom Domain opened, the domain added to the project, each DNS
@@ -121,10 +143,64 @@ var ProductEventName;
121
143
  })(ProductEventName || (exports.ProductEventName = ProductEventName = {}));
122
144
  // The words of a search that found nothing, at most this long (Cloud only).
123
145
  exports.SEARCH_QUERY_MAX_LENGTH = 40;
146
+ /*
147
+ * Whether a word of a search could name or reach a person, or name a
148
+ * record (#7207). It does when it holds:
149
+ *
150
+ * - an @: an email address, a handle;
151
+ * - a scheme ("https://") or starts with "www.": a web address;
152
+ * - a dot between two letters: a host or a file's name, a first.last
153
+ * user name;
154
+ * - two digits in a row: a phone number, an IP or a postal address, a
155
+ * date, an id;
156
+ * - a digit, in a word longer than 6 characters: an id or a key
157
+ * ("a1b2c3d4").
158
+ *
159
+ * A product's own short names with a digit stay: k8s, ec2, ipv6, oauth2.
160
+ */
161
+ const WEB_ADDRESS_START = /^www\./i;
162
+ const DOT_BETWEEN_LETTERS = /\p{L}\.\p{L}/u;
163
+ const TWO_DIGITS = /\d\d/;
164
+ const A_DIGIT = /\d/;
165
+ const isSearchWordThatIdentifies = (word) => {
166
+ return (word.includes("@") ||
167
+ word.includes("://") ||
168
+ WEB_ADDRESS_START.test(word) ||
169
+ DOT_BETWEEN_LETTERS.test(word) ||
170
+ TWO_DIGITS.test(word) ||
171
+ (A_DIGIT.test(word) && word.length > 6));
172
+ };
173
+ exports.isSearchWordThatIdentifies = isSearchWordThatIdentifies;
174
+ /*
175
+ * The words of a search as an event may carry them (#7207): each word that
176
+ * could name or reach a person or a record taken out (see above), and what
177
+ * is left cut to SEARCH_QUERY_MAX_LENGTH characters, at a word where it
178
+ * can. "maya@acme.example sso 10.0.0.4 setup" is "sso setup".
179
+ */
180
+ const toSearchQueryWords = (value) => {
181
+ const words = value
182
+ .split(/\s+/)
183
+ .filter((word) => {
184
+ return word.length > 0 && !(0, exports.isSearchWordThatIdentifies)(word);
185
+ })
186
+ .join(" ");
187
+ if (words.length <= exports.SEARCH_QUERY_MAX_LENGTH) {
188
+ return words;
189
+ }
190
+ const cut = words.slice(0, exports.SEARCH_QUERY_MAX_LENGTH);
191
+ const lastSpace = cut.lastIndexOf(" ");
192
+ return (lastSpace > 0 ? cut.slice(0, lastSpace) : cut).trim();
193
+ };
194
+ exports.toSearchQueryWords = toSearchQueryWords;
124
195
  // A word-like value (a step's key, where something was opened from) is cut to this.
125
196
  exports.PRODUCT_EVENT_TOKEN_MAX_LENGTH = 60;
126
197
  // The page a feedback answer was given on: a route with no ids, cut to this.
127
198
  exports.FEEDBACK_PAGE_TOKEN_MAX_LENGTH = 200;
199
+ /*
200
+ * The kinds of break a chain names, joined by "." (who_is_told/
201
+ * chain_opened): long enough for every kind there is.
202
+ */
203
+ exports.WHO_IS_TOLD_BREAK_KINDS_MAX_LENGTH = 200;
128
204
  // What ProductEvents.send adds to every event above.
129
205
  exports.COMMON_PRODUCT_EVENT_PROPERTIES = [
130
206
  "project_id",
@@ -162,6 +238,16 @@ const goalsProperty = {
162
238
  isToken: true,
163
239
  maxLength: ProjectGoal_1.GOALS_EVENT_VALUE_MAX_LENGTH,
164
240
  };
241
+ /*
242
+ * The words of a search that found nothing: on Cloud only, with no word
243
+ * that could name or reach a person (toSearchQueryWords), cut short.
244
+ */
245
+ const searchWordsProperty = {
246
+ name: "query",
247
+ isCloudOnly: true,
248
+ isSearchWords: true,
249
+ maxLength: exports.SEARCH_QUERY_MAX_LENGTH,
250
+ };
165
251
  exports.PRODUCT_EVENTS = [
166
252
  {
167
253
  name: ProductEventName.GoalsChosen,
@@ -210,15 +296,11 @@ exports.PRODUCT_EVENTS = [
210
296
  },
211
297
  {
212
298
  name: ProductEventName.SearchFoundNothing,
213
- description: "A search in the command palette settled with no result. On Cloud, with the words typed, cut short.",
299
+ description: "A search in the command palette settled with no result. On Cloud, with the words typed, cut short, and none that could name or reach a person.",
214
300
  properties: [
215
301
  token("source"),
216
302
  { name: "query_length" },
217
- {
218
- name: "query",
219
- isCloudOnly: true,
220
- maxLength: exports.SEARCH_QUERY_MAX_LENGTH,
221
- },
303
+ searchWordsProperty,
222
304
  ],
223
305
  },
224
306
  {
@@ -264,10 +346,27 @@ exports.PRODUCT_EVENTS = [
264
346
  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).',
265
347
  properties: [token("page"), { name: "is_helpful" }, token("reason")],
266
348
  },
349
+ {
350
+ name: ProductEventName.DocsSearchFoundNothing,
351
+ description: "A search in the docs' search box settled with nothing found: 2 characters or more, a second after the docs server answered with no page, or when the box closed on it. Sent by the docs server (Docs/Utils/DocsSearchReport), only where product analytics is set up and with the reader's consent. On Cloud, with the words typed, cut short, and none that could name or reach a person.",
352
+ properties: [{ name: "query_length" }, searchWordsProperty],
353
+ },
354
+ {
355
+ name: ProductEventName.DocsLinkOpened,
356
+ description: 'A docs page was opened from the product: a "Learn more" link (source learn_more), a list\'s View Documentation (view_documentation) or a docs result of Search (search). The page is its address under /docs/, without its language or anchor.',
357
+ properties: [
358
+ {
359
+ name: "page",
360
+ isToken: true,
361
+ maxLength: exports.FEEDBACK_PAGE_TOKEN_MAX_LENGTH,
362
+ },
363
+ token("source"),
364
+ ],
365
+ },
267
366
  {
268
367
  name: ProductEventName.GuidedSetupStarted,
269
- description: "A guided setup was opened.",
270
- properties: [token("setup")],
368
+ description: "A guided setup was opened, and where from when the way in names itself (from: empty_list, how_it_works, create_monitor, website_down_summary).",
369
+ properties: [token("setup"), token("from")],
271
370
  },
272
371
  {
273
372
  name: ProductEventName.GuidedSetupStepReached,
@@ -370,11 +469,54 @@ exports.PRODUCT_EVENTS = [
370
469
  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.",
371
470
  properties: [{ name: "is_own" }, { name: "differing_card_count" }],
372
471
  },
472
+ {
473
+ name: ProductEventName.PagingLadderDefaultSaved,
474
+ description: "The project's default ladder for new members was saved in Project Settings > Notifications > Notification Channels: how many steps it has (0: turned off).",
475
+ properties: [{ name: "step_count" }],
476
+ },
477
+ {
478
+ name: ProductEventName.PagingLadderDefaultApplied,
479
+ description: "The project's default ladder was applied from On-Call Readiness to the members picked: how many were picked, and how many got it, were skipped or failed.",
480
+ properties: [
481
+ { name: "member_count" },
482
+ { name: "applied_count" },
483
+ { name: "skipped_count" },
484
+ { name: "failed_count" },
485
+ ],
486
+ },
487
+ {
488
+ name: ProductEventName.PagingLadderStartedFromDefault,
489
+ description: "Start From the Project's Default filled a paging ladder on How to Reach Me with the project's default, before it was saved: by the person or for a member, how many steps it gave, and how many of the default's channels it left out as not verified.",
490
+ properties: [
491
+ { name: "is_own" },
492
+ { name: "step_count" },
493
+ { name: "left_out_count" },
494
+ ],
495
+ },
373
496
  {
374
497
  name: ProductEventName.UsedByListOpened,
375
498
  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").',
376
499
  properties: [token("record_kind"), token("relation")],
377
500
  },
501
+ {
502
+ name: ProductEventName.WhoIsToldChainOpened,
503
+ description: "Show the chain was opened on When this goes down: where the card is (place), how many breaks it named and of which kinds, and how many owners it said aren't emailed.",
504
+ properties: [
505
+ token("place"),
506
+ { name: "break_count" },
507
+ {
508
+ name: "break_kinds",
509
+ isToken: true,
510
+ maxLength: exports.WHO_IS_TOLD_BREAK_KINDS_MAX_LENGTH,
511
+ },
512
+ { name: "owners_not_emailed_count" },
513
+ ],
514
+ },
515
+ {
516
+ name: ProductEventName.WhoIsToldFixOpened,
517
+ description: "A fix was opened from When this goes down: where the card is (place), the break it puts right or owner_not_emailed (kind), and the page it opens (fix).",
518
+ properties: [token("place"), token("kind"), token("fix")],
519
+ },
378
520
  {
379
521
  name: ProductEventName.CustomDomainAddStarted,
380
522
  description: "Add Custom Domain was opened, for a status page, a dashboard or a form (kind).",
@@ -457,7 +599,7 @@ exports.FORBIDDEN_PROPERTY_WORDS = [
457
599
  */
458
600
  exports.ALLOWED_PROPERTY_NAMES_WITH_FORBIDDEN_WORDS = {
459
601
  has_password: "Whether the person signed up with a password (server/user_created): true or false.",
460
- 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).`,
602
+ query: `The words of a search that found nothing: on Cloud only, with every word that could name or reach a person taken out, cut to ${exports.SEARCH_QUERY_MAX_LENGTH} characters (search/no_results and docs/search_found_nothing, issue #6830's decision and #7207).`,
461
603
  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.",
462
604
  utmContent: "utm_content as the sign-up page keeps it (utm_event): the ad or link variant a campaign named.",
463
605
  };
@@ -505,6 +647,17 @@ const toProductEventProperties = (data) => {
505
647
  }
506
648
  const value = data.properties[spec.name];
507
649
  if (typeof value === "string") {
650
+ if (spec.isSearchWords) {
651
+ const words = (0, exports.toSearchQueryWords)(value);
652
+ // Nothing left that could be sent: the property is left out.
653
+ if (words) {
654
+ allowed[spec.name] =
655
+ spec.maxLength !== undefined
656
+ ? words.slice(0, spec.maxLength)
657
+ : words;
658
+ }
659
+ continue;
660
+ }
508
661
  const text = spec.isToken
509
662
  ? (0, exports.toProductEventToken)(value, spec.maxLength)
510
663
  : value;
@@ -7,8 +7,11 @@ export const PRODUCT_EVENTS = commonJsModule.PRODUCT_EVENTS;
7
7
  export const PRODUCT_EVENT_TOKEN_MAX_LENGTH = commonJsModule.PRODUCT_EVENT_TOKEN_MAX_LENGTH;
8
8
  export const ProductEventName = commonJsModule.ProductEventName;
9
9
  export const SEARCH_QUERY_MAX_LENGTH = commonJsModule.SEARCH_QUERY_MAX_LENGTH;
10
+ export const WHO_IS_TOLD_BREAK_KINDS_MAX_LENGTH = commonJsModule.WHO_IS_TOLD_BREAK_KINDS_MAX_LENGTH;
10
11
  export const getProductEventDefinition = commonJsModule.getProductEventDefinition;
11
12
  export const getPropertyNameWords = commonJsModule.getPropertyNameWords;
12
13
  export const isForbiddenPropertyName = commonJsModule.isForbiddenPropertyName;
14
+ export const isSearchWordThatIdentifies = commonJsModule.isSearchWordThatIdentifies;
13
15
  export const toProductEventProperties = commonJsModule.toProductEventProperties;
14
16
  export const toProductEventToken = commonJsModule.toProductEventToken;
17
+ export const toSearchQueryWords = commonJsModule.toSearchQueryWords;
@@ -0,0 +1,17 @@
1
+ export declare const BACKUP_SCRIPT_RUN_PATH: string;
2
+ export declare const BACKUP_SCRIPT_RUN_URL_PATH: string;
3
+ export interface BackupScriptRun {
4
+ at: string;
5
+ succeeded: boolean;
6
+ sizeInBytes: number | null;
7
+ }
8
+ export interface BackupScriptCheckIn {
9
+ succeeded: boolean;
10
+ sizeInBytes: number | null;
11
+ }
12
+ export declare const readBackupScriptCheckIn: (body: unknown) => BackupScriptCheckIn | null;
13
+ export declare const readBackupScriptRun: (value: unknown) => BackupScriptRun | null;
14
+ export declare const toBackupScriptRun: (data: {
15
+ checkIn: BackupScriptCheckIn;
16
+ now: Date;
17
+ }) => BackupScriptRun;
@@ -0,0 +1,17 @@
1
+ export declare const BACKUP_SCRIPT_RUN_PATH: string;
2
+ export declare const BACKUP_SCRIPT_RUN_URL_PATH: string;
3
+ export interface BackupScriptRun {
4
+ at: string;
5
+ succeeded: boolean;
6
+ sizeInBytes: number | null;
7
+ }
8
+ export interface BackupScriptCheckIn {
9
+ succeeded: boolean;
10
+ sizeInBytes: number | null;
11
+ }
12
+ export declare const readBackupScriptCheckIn: (body: unknown) => BackupScriptCheckIn | null;
13
+ export declare const readBackupScriptRun: (value: unknown) => BackupScriptRun | null;
14
+ export declare const toBackupScriptRun: (data: {
15
+ checkIn: BackupScriptCheckIn;
16
+ now: Date;
17
+ }) => BackupScriptRun;
@@ -0,0 +1,96 @@
1
+ "use strict";
2
+ /*
3
+ * `npm run backup` TELLS THE SERVER IT RAN (#7026).
4
+ *
5
+ * On the Community Edition a server's backups are `npm run backup`
6
+ * (backup.sh, on the Docker Compose server): a pg_dump of PostgreSQL into
7
+ * the Backups folder. The server used to know nothing of it, so the setup
8
+ * checklist's Backups item was only the admin's word ("This server is
9
+ * backed up"). Now the script tells the server each time it runs, through
10
+ * Scripts/Install/BackupScriptRun.js, and the item is measured, as the
11
+ * Enterprise Edition's scheduled backups are: "Backed up with npm run
12
+ * backup", "Failing: the last backup failed on ...", or out of date.
13
+ *
14
+ * What is recorded is what the checklist needs and nothing else: when the
15
+ * server was told (the run had just finished), whether pg_dump succeeded,
16
+ * and the size of the dump it wrote. Never a path, a host or a credential.
17
+ * One record, GlobalConfig.backupScriptLastRun, replaced by every run.
18
+ *
19
+ * Who may tell it: only the server's operator. The script presents the
20
+ * server's own cluster key (ONEUPTIME_SECRET, from config.env) to the
21
+ * ingress on that same server, POST /api/admin/health/backup-run, behind
22
+ * ClusterKeyAuthorization, as `npm run doctor` asks the server how it is.
23
+ * No session and no API key is taken there: a project's member, an outsider
24
+ * and a master admin's browser are all refused. A master admin says a server
25
+ * is backed up some other way on the checklist itself.
26
+ *
27
+ * Pure, with no Node or browser APIs: the server, the checklist's rules and
28
+ * their tests read it.
29
+ */
30
+ Object.defineProperty(exports, "__esModule", { value: true });
31
+ exports.toBackupScriptRun = exports.readBackupScriptRun = exports.readBackupScriptCheckIn = exports.BACKUP_SCRIPT_RUN_URL_PATH = exports.BACKUP_SCRIPT_RUN_PATH = void 0;
32
+ // Where the script tells the server, under the app's /api/admin/health.
33
+ exports.BACKUP_SCRIPT_RUN_PATH = "/backup-run";
34
+ // The whole address, as the script calls it on the server's own ingress.
35
+ exports.BACKUP_SCRIPT_RUN_URL_PATH = `/api/admin/health${exports.BACKUP_SCRIPT_RUN_PATH}`;
36
+ const isObject = (value) => {
37
+ return Boolean(value) && typeof value === "object" && !Array.isArray(value);
38
+ };
39
+ // A size that is one: a whole number of bytes, from 0 up.
40
+ const readSize = (value) => {
41
+ if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 0) {
42
+ return null;
43
+ }
44
+ return value;
45
+ };
46
+ /*
47
+ * What a request to the route carries, or null when it is not a check-in:
48
+ * `succeeded` must be true or false; a size that is not a whole number of
49
+ * bytes is left out, and so is any size of a run that failed. Nothing else
50
+ * the body holds is read.
51
+ */
52
+ const readBackupScriptCheckIn = (body) => {
53
+ if (!isObject(body) || typeof body["succeeded"] !== "boolean") {
54
+ return null;
55
+ }
56
+ const succeeded = body["succeeded"];
57
+ return {
58
+ succeeded: succeeded,
59
+ sizeInBytes: succeeded ? readSize(body["sizeInBytes"]) : null,
60
+ };
61
+ };
62
+ exports.readBackupScriptCheckIn = readBackupScriptCheckIn;
63
+ /*
64
+ * The run the server kept (GlobalConfig.backupScriptLastRun), read whole, or
65
+ * null when there is none or it is not one: a server that has never been
66
+ * told, and one upgraded from before the script told it.
67
+ */
68
+ const readBackupScriptRun = (value) => {
69
+ if (!isObject(value) || typeof value["succeeded"] !== "boolean") {
70
+ return null;
71
+ }
72
+ const at = value["at"];
73
+ if (typeof at !== "string") {
74
+ return null;
75
+ }
76
+ const date = new Date(at);
77
+ if (Number.isNaN(date.getTime())) {
78
+ return null;
79
+ }
80
+ const succeeded = value["succeeded"];
81
+ return {
82
+ at: date.toISOString(),
83
+ succeeded: succeeded,
84
+ sizeInBytes: succeeded ? readSize(value["sizeInBytes"]) : null,
85
+ };
86
+ };
87
+ exports.readBackupScriptRun = readBackupScriptRun;
88
+ // The run to keep for a check-in the server was handed at `now`.
89
+ const toBackupScriptRun = (data) => {
90
+ return {
91
+ at: data.now.toISOString(),
92
+ succeeded: data.checkIn.succeeded,
93
+ sizeInBytes: data.checkIn.succeeded ? data.checkIn.sizeInBytes : null,
94
+ };
95
+ };
96
+ exports.toBackupScriptRun = toBackupScriptRun;
@@ -0,0 +1,6 @@
1
+ import commonJsModule from "./BackupScriptRun.js";
2
+ export const BACKUP_SCRIPT_RUN_PATH = commonJsModule.BACKUP_SCRIPT_RUN_PATH;
3
+ export const BACKUP_SCRIPT_RUN_URL_PATH = commonJsModule.BACKUP_SCRIPT_RUN_URL_PATH;
4
+ export const readBackupScriptCheckIn = commonJsModule.readBackupScriptCheckIn;
5
+ export const readBackupScriptRun = commonJsModule.readBackupScriptRun;
6
+ export const toBackupScriptRun = commonJsModule.toBackupScriptRun;
@@ -5,6 +5,7 @@ import RequestOrigin from "../RequestOrigin.mjs";
5
5
  import { UserGlobalAccessPermission, UserTenantAccessPermission } from "../Permission.mjs";
6
6
  import UserType from "../UserType.mjs";
7
7
  import WriteSource from "./WriteSource.mjs";
8
+ import ReadAudience from "./ReadAudience.mjs";
8
9
  export default interface DatabaseCommonInteractionProps {
9
10
  userId?: ObjectID | undefined;
10
11
  userGlobalAccessPermission?: UserGlobalAccessPermission | undefined;
@@ -27,4 +28,5 @@ export default interface DatabaseCommonInteractionProps {
27
28
  writeSource?: WriteSource | undefined;
28
29
  isReadOnlyCredential?: boolean | undefined;
29
30
  requestOrigin?: RequestOrigin | undefined;
31
+ readAudience?: ReadAudience | undefined;
30
32
  }
@@ -5,6 +5,7 @@ import RequestOrigin from "../RequestOrigin";
5
5
  import { UserGlobalAccessPermission, UserTenantAccessPermission } from "../Permission";
6
6
  import UserType from "../UserType";
7
7
  import WriteSource from "./WriteSource";
8
+ import ReadAudience from "./ReadAudience";
8
9
  export default interface DatabaseCommonInteractionProps {
9
10
  userId?: ObjectID | undefined;
10
11
  userGlobalAccessPermission?: UserGlobalAccessPermission | undefined;
@@ -27,4 +28,5 @@ export default interface DatabaseCommonInteractionProps {
27
28
  writeSource?: WriteSource | undefined;
28
29
  isReadOnlyCredential?: boolean | undefined;
29
30
  requestOrigin?: RequestOrigin | undefined;
31
+ readAudience?: ReadAudience | undefined;
30
32
  }
@@ -134,6 +134,6 @@ class DatabaseCommonInteractionPropsUtil {
134
134
  ];
135
135
  }
136
136
  }
137
- DatabaseCommonInteractionPropsUtil.AUTHENTICATION_REQUIRED_MESSAGE = "Authentication required. Please log in to access this resource.";
137
+ DatabaseCommonInteractionPropsUtil.AUTHENTICATION_REQUIRED_MESSAGE = "Authentication required. Please sign in to access this resource.";
138
138
  DatabaseCommonInteractionPropsUtil.READ_ONLY_CREDENTIAL_MESSAGE = "This MCP client was connected with read-only access, so it cannot make changes. Connect it again and allow read and write access.";
139
139
  exports.default = DatabaseCommonInteractionPropsUtil;
@@ -0,0 +1,9 @@
1
+ import Dictionary from "../Dictionary.mjs";
2
+ export default interface ReadAudience {
3
+ _type: "ReadAudience";
4
+ projectId: string;
5
+ ownedOnlyPermissions: Array<string>;
6
+ labelledPermissions: Array<string>;
7
+ named: Dictionary<Array<string>>;
8
+ telemetryBlockedIds: Array<string>;
9
+ }
@@ -0,0 +1,9 @@
1
+ import Dictionary from "../Dictionary";
2
+ export default interface ReadAudience {
3
+ _type: "ReadAudience";
4
+ projectId: string;
5
+ ownedOnlyPermissions: Array<string>;
6
+ labelledPermissions: Array<string>;
7
+ named: Dictionary<Array<string>>;
8
+ telemetryBlockedIds: Array<string>;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ import "./ReadAudience.js";
@@ -0,0 +1,17 @@
1
+ export declare enum CloudKeyMetricGroup {
2
+ Availability = "availability",
3
+ Traffic = "traffic",
4
+ Errors = "errors",
5
+ Latency = "latency",
6
+ Compute = "compute",
7
+ Memory = "memory",
8
+ Storage = "storage",
9
+ Network = "network",
10
+ Connections = "connections",
11
+ Cache = "cache",
12
+ Backlog = "backlog",
13
+ Replication = "replication"
14
+ }
15
+ export declare const CLOUD_KEY_METRIC_GROUP_ORDER: ReadonlyArray<CloudKeyMetricGroup>;
16
+ export declare const CLOUD_KEY_METRIC_GROUP_LABELS: Readonly<Record<CloudKeyMetricGroup, string>>;
17
+ export declare function getCloudKeyMetricGroupOrder(group: CloudKeyMetricGroup): number;
@@ -0,0 +1,17 @@
1
+ export declare enum CloudKeyMetricGroup {
2
+ Availability = "availability",
3
+ Traffic = "traffic",
4
+ Errors = "errors",
5
+ Latency = "latency",
6
+ Compute = "compute",
7
+ Memory = "memory",
8
+ Storage = "storage",
9
+ Network = "network",
10
+ Connections = "connections",
11
+ Cache = "cache",
12
+ Backlog = "backlog",
13
+ Replication = "replication"
14
+ }
15
+ export declare const CLOUD_KEY_METRIC_GROUP_ORDER: ReadonlyArray<CloudKeyMetricGroup>;
16
+ export declare const CLOUD_KEY_METRIC_GROUP_LABELS: Readonly<Record<CloudKeyMetricGroup, string>>;
17
+ export declare function getCloudKeyMetricGroupOrder(group: CloudKeyMetricGroup): number;
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CLOUD_KEY_METRIC_GROUP_LABELS = exports.CLOUD_KEY_METRIC_GROUP_ORDER = exports.CloudKeyMetricGroup = void 0;
4
+ exports.getCloudKeyMetricGroupOrder = getCloudKeyMetricGroupOrder;
5
+ const Translator_1 = require("../Translator");
6
+ /*
7
+ * WHAT A CLOUD RESOURCE'S KEY METRIC IS ABOUT.
8
+ *
9
+ * Every key metric a cloud connection reads (CloudKeyMetrics) is filed
10
+ * under one of these, so a resource's Metrics card reads as a few short
11
+ * sections - Availability, Traffic, Errors, Latency, then the resources it
12
+ * uses - rather than one alphabetical list of twenty names. The sections
13
+ * come in this order on every resource of every cloud: whether it is up
14
+ * first, then what it serves and how well (the requests, errors and
15
+ * latency an alert is usually about), then what it runs on.
16
+ *
17
+ * Each name is a word the Dashboard already says in every language, so a
18
+ * section's heading reads in the reader's language; the metrics under it
19
+ * keep their cloud's own names, drawn as written.
20
+ */
21
+ var CloudKeyMetricGroup;
22
+ (function (CloudKeyMetricGroup) {
23
+ // Up or down: health checks, availability, healthy hosts, tunnels.
24
+ CloudKeyMetricGroup["Availability"] = "availability";
25
+ // What it serves: requests, invocations, messages, bytes processed.
26
+ CloudKeyMetricGroup["Traffic"] = "traffic";
27
+ // What failed: 5xx and 4xx, failed runs, throttles, rejections.
28
+ CloudKeyMetricGroup["Errors"] = "errors";
29
+ // How long it takes: response time, query and request latency.
30
+ CloudKeyMetricGroup["Latency"] = "latency";
31
+ // What it computes with: CPU, DTUs, request units, server load, credits.
32
+ CloudKeyMetricGroup["Compute"] = "compute";
33
+ CloudKeyMetricGroup["Memory"] = "memory";
34
+ // What it keeps, and how fast it reads and writes it: disks, IOPS, capacity.
35
+ CloudKeyMetricGroup["Storage"] = "storage";
36
+ // Bytes and packets in and out.
37
+ CloudKeyMetricGroup["Network"] = "network";
38
+ // Connections, sessions and clients.
39
+ CloudKeyMetricGroup["Connections"] = "connections";
40
+ // Hits, misses, evictions and keys.
41
+ CloudKeyMetricGroup["Cache"] = "cache";
42
+ // Work waiting: queue depth, the oldest message, a request queue.
43
+ CloudKeyMetricGroup["Backlog"] = "backlog";
44
+ // How far a replica is behind.
45
+ CloudKeyMetricGroup["Replication"] = "replication";
46
+ })(CloudKeyMetricGroup || (exports.CloudKeyMetricGroup = CloudKeyMetricGroup = {}));
47
+ // The order a resource's sections come in (see the top of this file).
48
+ exports.CLOUD_KEY_METRIC_GROUP_ORDER = [
49
+ CloudKeyMetricGroup.Availability,
50
+ CloudKeyMetricGroup.Traffic,
51
+ CloudKeyMetricGroup.Errors,
52
+ CloudKeyMetricGroup.Latency,
53
+ CloudKeyMetricGroup.Compute,
54
+ CloudKeyMetricGroup.Memory,
55
+ CloudKeyMetricGroup.Storage,
56
+ CloudKeyMetricGroup.Network,
57
+ CloudKeyMetricGroup.Connections,
58
+ CloudKeyMetricGroup.Cache,
59
+ CloudKeyMetricGroup.Backlog,
60
+ CloudKeyMetricGroup.Replication,
61
+ ];
62
+ /*
63
+ * Each section's heading, in English: keys of the Dashboard's locale files,
64
+ * drawn in the reader's language.
65
+ */
66
+ exports.CLOUD_KEY_METRIC_GROUP_LABELS = {
67
+ [CloudKeyMetricGroup.Availability]: (0, Translator_1.translationKey)("Availability"),
68
+ [CloudKeyMetricGroup.Traffic]: (0, Translator_1.translationKey)("Traffic"),
69
+ [CloudKeyMetricGroup.Errors]: (0, Translator_1.translationKey)("Errors"),
70
+ [CloudKeyMetricGroup.Latency]: (0, Translator_1.translationKey)("Latency"),
71
+ [CloudKeyMetricGroup.Compute]: (0, Translator_1.translationKey)("Compute"),
72
+ [CloudKeyMetricGroup.Memory]: (0, Translator_1.translationKey)("Memory"),
73
+ [CloudKeyMetricGroup.Storage]: (0, Translator_1.translationKey)("Storage"),
74
+ [CloudKeyMetricGroup.Network]: (0, Translator_1.translationKey)("Network"),
75
+ [CloudKeyMetricGroup.Connections]: (0, Translator_1.translationKey)("Connections"),
76
+ [CloudKeyMetricGroup.Cache]: (0, Translator_1.translationKey)("Cache"),
77
+ [CloudKeyMetricGroup.Backlog]: (0, Translator_1.translationKey)("Backlog"),
78
+ [CloudKeyMetricGroup.Replication]: (0, Translator_1.translationKey)("Replication"),
79
+ };
80
+ // A section's place in CLOUD_KEY_METRIC_GROUP_ORDER.
81
+ function getCloudKeyMetricGroupOrder(group) {
82
+ const index = exports.CLOUD_KEY_METRIC_GROUP_ORDER.indexOf(group);
83
+ return index < 0 ? exports.CLOUD_KEY_METRIC_GROUP_ORDER.length : index;
84
+ }
@@ -0,0 +1,5 @@
1
+ import commonJsModule from "./CloudKeyMetricGroup.js";
2
+ export const CLOUD_KEY_METRIC_GROUP_LABELS = commonJsModule.CLOUD_KEY_METRIC_GROUP_LABELS;
3
+ export const CLOUD_KEY_METRIC_GROUP_ORDER = commonJsModule.CLOUD_KEY_METRIC_GROUP_ORDER;
4
+ export const CloudKeyMetricGroup = commonJsModule.CloudKeyMetricGroup;
5
+ export const getCloudKeyMetricGroupOrder = commonJsModule.getCloudKeyMetricGroupOrder;