@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
@@ -0,0 +1,180 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PROJECT_MEMBER_SEARCH_LIMIT = exports.PROJECT_MEMBER_SEARCH_MAX_LENGTH = exports.PROJECT_MEMBER_SEARCH_MIN_LENGTH = exports.PROJECT_MEMBER_SEARCH_ROUTE = void 0;
7
+ exports.readProjectMemberSearchText = readProjectMemberSearchText;
8
+ exports.toProjectMemberSearchAnswerJSON = toProjectMemberSearchAnswerJSON;
9
+ exports.readProjectMemberSearchAnswer = readProjectMemberSearchAnswer;
10
+ exports.getProjectMemberMatchRank = getProjectMemberMatchRank;
11
+ exports.rankProjectMemberMatches = rankProjectMemberMatches;
12
+ const BadDataException_1 = __importDefault(require("../Exception/BadDataException"));
13
+ /*
14
+ * SEARCH FINDS THE PROJECT'S PEOPLE (#7036).
15
+ *
16
+ * Cmd/Ctrl+K found services, schedules, teams and the rest by name, and
17
+ * never a person: a project's people are its team memberships, and finding
18
+ * one by name or email is a search through the membership to the user. The
19
+ * Dashboard now asks the server (POST /team-member/search-members) with what
20
+ * was typed, and the server searches the project's members by name and by
21
+ * email, with the reader's own permissions, as the Users page lists them
22
+ * (Server/Utils/Team/ProjectMemberSearch):
23
+ *
24
+ * - Only someone who may see the project's people (the Users page) may ask;
25
+ * anyone else is refused.
26
+ * - Emails are searched, and shown, only for a reader the Users page shows
27
+ * them to.
28
+ * - Only the project's own members are found: someone in another project
29
+ * only, or an address no one has, gives the same empty answer, so an
30
+ * answer never says whether an email exists elsewhere.
31
+ * - Bound as Search's other record searches are: at least two letters,
32
+ * a few people per answer, asked once the reader stops typing.
33
+ *
34
+ * This module is the request and the answer, read the same way on both
35
+ * sides. React-free and server-free.
36
+ */
37
+ // Where the Dashboard asks, under the API (the team member route's own path).
38
+ exports.PROJECT_MEMBER_SEARCH_ROUTE = "/team-member/search-members";
39
+ /*
40
+ * The fewest letters a search needs, as Search's other record searches send
41
+ * none shorter (PROVIDER_SEARCH_MIN_QUERY_LENGTH): one letter is in nearly
42
+ * every name, and would list people for nothing.
43
+ */
44
+ exports.PROJECT_MEMBER_SEARCH_MIN_LENGTH = 2;
45
+ /*
46
+ * The longest text searched for: a name or an address is shorter. Anything
47
+ * longer is cut rather than refused, so a pasted line still finds whom it
48
+ * starts with.
49
+ */
50
+ exports.PROJECT_MEMBER_SEARCH_MAX_LENGTH = 100;
51
+ // The most people one answer lists, as Search lists five of each kind.
52
+ exports.PROJECT_MEMBER_SEARCH_LIMIT = 5;
53
+ /*
54
+ * What was typed, as the server takes it: text, trimmed and cut to its
55
+ * limit, of at least PROJECT_MEMBER_SEARCH_MIN_LENGTH letters - a shorter
56
+ * one is refused, never answered with everyone.
57
+ */
58
+ function readProjectMemberSearchText(body) {
59
+ if (!body || typeof body !== "object" || Array.isArray(body)) {
60
+ throw new BadDataException_1.default("The search must be a JSON object with text.");
61
+ }
62
+ const raw = body["text"];
63
+ if (typeof raw !== "string") {
64
+ throw new BadDataException_1.default("Send what was typed as text, a string.");
65
+ }
66
+ const text = raw
67
+ .trim()
68
+ .substring(0, exports.PROJECT_MEMBER_SEARCH_MAX_LENGTH)
69
+ .trim();
70
+ if (text.length < exports.PROJECT_MEMBER_SEARCH_MIN_LENGTH) {
71
+ throw new BadDataException_1.default(`Type at least ${exports.PROJECT_MEMBER_SEARCH_MIN_LENGTH} letters to search the project's members.`);
72
+ }
73
+ return text;
74
+ }
75
+ // The answer, as the route sends it.
76
+ function toProjectMemberSearchAnswerJSON(matches) {
77
+ return {
78
+ members: matches.map((match) => {
79
+ const json = { userId: match.userId, name: match.name };
80
+ if (match.email) {
81
+ json["email"] = match.email;
82
+ }
83
+ return json;
84
+ }),
85
+ };
86
+ }
87
+ /*
88
+ * The answer, as the Dashboard reads it: a row with no person, or with
89
+ * neither a name nor an email to show, is dropped rather than drawn empty;
90
+ * each person once; at most PROJECT_MEMBER_SEARCH_LIMIT of them.
91
+ */
92
+ function readProjectMemberSearchAnswer(data) {
93
+ const json = data && typeof data === "object" && !Array.isArray(data)
94
+ ? data
95
+ : {};
96
+ const members = json["members"];
97
+ const seen = new Set();
98
+ const matches = [];
99
+ for (const entry of Array.isArray(members) ? members : []) {
100
+ if (!entry || typeof entry !== "object" || Array.isArray(entry)) {
101
+ continue;
102
+ }
103
+ const member = entry;
104
+ const userId = member["userId"];
105
+ const name = typeof member["name"] === "string" ? member["name"].trim() : "";
106
+ const email = typeof member["email"] === "string" ? member["email"].trim() : "";
107
+ if (typeof userId !== "string" || !userId || seen.has(userId)) {
108
+ continue;
109
+ }
110
+ if (!name && !email) {
111
+ continue;
112
+ }
113
+ seen.add(userId);
114
+ matches.push({ userId, name, ...(email ? { email } : {}) });
115
+ if (matches.length >= exports.PROJECT_MEMBER_SEARCH_LIMIT) {
116
+ break;
117
+ }
118
+ }
119
+ return matches;
120
+ }
121
+ // Lowercase, accents aside: "José" is found by "jose".
122
+ const fold = (text) => {
123
+ return text.normalize("NFKD").replace(/[̀-ͯ]+/g, "").toLowerCase().trim();
124
+ };
125
+ /*
126
+ * How well a person matches what was typed, best first: their name starts
127
+ * with it, a word of their name does, their email does, or it is somewhere
128
+ * in either.
129
+ */
130
+ function getProjectMemberMatchRank(match, text) {
131
+ const typed = fold(text);
132
+ const name = fold(match.name);
133
+ const email = fold(match.email || "");
134
+ if (typed && name.startsWith(typed)) {
135
+ return 0;
136
+ }
137
+ if (typed &&
138
+ name.split(/\s+/).some((word) => {
139
+ return word.startsWith(typed);
140
+ })) {
141
+ return 1;
142
+ }
143
+ if (typed && email.startsWith(typed)) {
144
+ return 2;
145
+ }
146
+ return 3;
147
+ }
148
+ /*
149
+ * The people an answer lists: each once, best match first, then by name
150
+ * (a person with none by their email), at most
151
+ * PROJECT_MEMBER_SEARCH_LIMIT of them.
152
+ */
153
+ function rankProjectMemberMatches(matches, text) {
154
+ const byUser = new Map();
155
+ for (const match of matches) {
156
+ if (!match.userId || (!match.name && !match.email)) {
157
+ continue;
158
+ }
159
+ const known = byUser.get(match.userId);
160
+ // One person in several teams is one person; keep what is known of them.
161
+ byUser.set(match.userId, {
162
+ userId: match.userId,
163
+ name: match.name || (known === null || known === void 0 ? void 0 : known.name) || "",
164
+ ...(match.email || (known === null || known === void 0 ? void 0 : known.email)
165
+ ? { email: match.email || (known === null || known === void 0 ? void 0 : known.email) }
166
+ : {}),
167
+ });
168
+ }
169
+ const sortName = (match) => {
170
+ return fold(match.name || match.email || "");
171
+ };
172
+ return Array.from(byUser.values())
173
+ .sort((a, b) => {
174
+ return (getProjectMemberMatchRank(a, text) -
175
+ getProjectMemberMatchRank(b, text) ||
176
+ sortName(a).localeCompare(sortName(b)) ||
177
+ a.userId.localeCompare(b.userId));
178
+ })
179
+ .slice(0, exports.PROJECT_MEMBER_SEARCH_LIMIT);
180
+ }
@@ -0,0 +1,10 @@
1
+ import commonJsModule from "./ProjectMemberSearch.js";
2
+ export const PROJECT_MEMBER_SEARCH_LIMIT = commonJsModule.PROJECT_MEMBER_SEARCH_LIMIT;
3
+ export const PROJECT_MEMBER_SEARCH_MAX_LENGTH = commonJsModule.PROJECT_MEMBER_SEARCH_MAX_LENGTH;
4
+ export const PROJECT_MEMBER_SEARCH_MIN_LENGTH = commonJsModule.PROJECT_MEMBER_SEARCH_MIN_LENGTH;
5
+ export const PROJECT_MEMBER_SEARCH_ROUTE = commonJsModule.PROJECT_MEMBER_SEARCH_ROUTE;
6
+ export const getProjectMemberMatchRank = commonJsModule.getProjectMemberMatchRank;
7
+ export const rankProjectMemberMatches = commonJsModule.rankProjectMemberMatches;
8
+ export const readProjectMemberSearchAnswer = commonJsModule.readProjectMemberSearchAnswer;
9
+ export const readProjectMemberSearchText = commonJsModule.readProjectMemberSearchText;
10
+ export const toProjectMemberSearchAnswerJSON = commonJsModule.toProjectMemberSearchAnswerJSON;
@@ -0,0 +1,15 @@
1
+ import { JSONObject } from "../JSON.mjs";
2
+ import ObjectID from "../ObjectID.mjs";
3
+ export declare const PROJECT_REMOVAL_REACH_ROUTE: string;
4
+ export declare const MAX_PEOPLE_PER_PROJECT_REMOVAL_REACH: number;
5
+ export interface PersonKeptInProject {
6
+ userId: string;
7
+ teamNames: Array<string>;
8
+ hiddenTeamCount: number;
9
+ hasTeamInReach: boolean;
10
+ }
11
+ export declare function readProjectRemovalReachRequest(body: unknown): Array<ObjectID>;
12
+ export declare function toProjectRemovalReachRequestJSON(userIds: ReadonlyArray<string>): JSONObject;
13
+ export declare function toSortedTeamNames(names: ReadonlyArray<string>): Array<string>;
14
+ export declare function toProjectRemovalReachAnswerJSON(people: ReadonlyArray<PersonKeptInProject>): JSONObject;
15
+ export declare function readProjectRemovalReachAnswer(data: unknown): Array<PersonKeptInProject>;
@@ -0,0 +1,15 @@
1
+ import { JSONObject } from "../JSON";
2
+ import ObjectID from "../ObjectID";
3
+ export declare const PROJECT_REMOVAL_REACH_ROUTE: string;
4
+ export declare const MAX_PEOPLE_PER_PROJECT_REMOVAL_REACH: number;
5
+ export interface PersonKeptInProject {
6
+ userId: string;
7
+ teamNames: Array<string>;
8
+ hiddenTeamCount: number;
9
+ hasTeamInReach: boolean;
10
+ }
11
+ export declare function readProjectRemovalReachRequest(body: unknown): Array<ObjectID>;
12
+ export declare function toProjectRemovalReachRequestJSON(userIds: ReadonlyArray<string>): JSONObject;
13
+ export declare function toSortedTeamNames(names: ReadonlyArray<string>): Array<string>;
14
+ export declare function toProjectRemovalReachAnswerJSON(people: ReadonlyArray<PersonKeptInProject>): JSONObject;
15
+ export declare function readProjectRemovalReachAnswer(data: unknown): Array<PersonKeptInProject>;
@@ -0,0 +1,154 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.MAX_PEOPLE_PER_PROJECT_REMOVAL_REACH = exports.PROJECT_REMOVAL_REACH_ROUTE = void 0;
7
+ exports.readProjectRemovalReachRequest = readProjectRemovalReachRequest;
8
+ exports.toProjectRemovalReachRequestJSON = toProjectRemovalReachRequestJSON;
9
+ exports.toSortedTeamNames = toSortedTeamNames;
10
+ exports.toProjectRemovalReachAnswerJSON = toProjectRemovalReachAnswerJSON;
11
+ exports.readProjectRemovalReachAnswer = readProjectRemovalReachAnswer;
12
+ const BadDataException_1 = __importDefault(require("../Exception/BadDataException"));
13
+ const ObjectID_1 = __importDefault(require("../ObjectID"));
14
+ /*
15
+ * WHOM REMOVE FROM PROJECT WOULD LEAVE IN THE PROJECT (#6599).
16
+ *
17
+ * Remove from Project takes someone off every team of the project, or off
18
+ * none (TeamMemberService.assertCallerMayRemoveUserFromProject): a caller
19
+ * whose Remove Team Members reaches only some teams - scoped to the teams
20
+ * they own, say - is refused, and the person stays. The Users list and the
21
+ * person's own page offered Remove from Project anyway, and said so only
22
+ * after the confirmation. Now they ask first (POST
23
+ * /team-member/project-removal-reach), for the people they show, and lock
24
+ * Remove from Project for anyone who would stay, saying which teams keep
25
+ * them there.
26
+ *
27
+ * The server answers with the caller's own permissions, the way the removal
28
+ * itself is checked, so the lock and the refusal never disagree:
29
+ *
30
+ * - only the people the caller could not take off every team are named;
31
+ * a caller who may remove anyone (a master admin, OneUptime itself) is
32
+ * answered with nobody;
33
+ * - a team's name only when the caller may read the team; the rest are
34
+ * counted, never named;
35
+ * - whether the caller may take the person off any team at all, so the
36
+ * page says where to go instead only when there is somewhere to go.
37
+ *
38
+ * This module is the request and the answer, read the same way on both
39
+ * sides. React-free and server-free.
40
+ */
41
+ // Where the Dashboard asks, under the API (the team member route's own path).
42
+ exports.PROJECT_REMOVAL_REACH_ROUTE = "/team-member/project-removal-reach";
43
+ // The most people one ask may name: a list's largest page.
44
+ exports.MAX_PEOPLE_PER_PROJECT_REMOVAL_REACH = 100;
45
+ /*
46
+ * The people asked about, as the server takes them: their user ids, each
47
+ * once, at most MAX_PEOPLE_PER_PROJECT_REMOVAL_REACH. Anything else is
48
+ * refused rather than guessed at.
49
+ */
50
+ function readProjectRemovalReachRequest(body) {
51
+ const userIds = body && typeof body === "object" && !Array.isArray(body)
52
+ ? body["userIds"]
53
+ : undefined;
54
+ if (!Array.isArray(userIds) ||
55
+ userIds.some((userId) => {
56
+ return typeof userId !== "string" || !ObjectID_1.default.isValidUUID(userId);
57
+ })) {
58
+ throw new BadDataException_1.default("Name the people to ask about by user ID.");
59
+ }
60
+ const unique = Array.from(new Set(userIds.map((userId) => {
61
+ return userId.trim().toLowerCase();
62
+ })));
63
+ if (unique.length > exports.MAX_PEOPLE_PER_PROJECT_REMOVAL_REACH) {
64
+ throw new BadDataException_1.default(`Ask about at most ${exports.MAX_PEOPLE_PER_PROJECT_REMOVAL_REACH} people at a time.`);
65
+ }
66
+ return unique.map((userId) => {
67
+ return new ObjectID_1.default(userId);
68
+ });
69
+ }
70
+ // The request, as the Dashboard sends it.
71
+ function toProjectRemovalReachRequestJSON(userIds) {
72
+ return {
73
+ userIds: Array.from(new Set(userIds
74
+ .map((userId) => {
75
+ return userId.trim().toLowerCase();
76
+ })
77
+ .filter((userId) => {
78
+ return Boolean(userId);
79
+ }))),
80
+ };
81
+ }
82
+ // A list of team names: trimmed, each once, in the reader's alphabetical order.
83
+ function toSortedTeamNames(names) {
84
+ return Array.from(new Set(names
85
+ .map((name) => {
86
+ return name.trim();
87
+ })
88
+ .filter((name) => {
89
+ return Boolean(name);
90
+ }))).sort((a, b) => {
91
+ return a.localeCompare(b, undefined, { sensitivity: "base" });
92
+ });
93
+ }
94
+ // The answer, as the route sends it.
95
+ function toProjectRemovalReachAnswerJSON(people) {
96
+ return {
97
+ people: people.map((person) => {
98
+ return {
99
+ userId: person.userId,
100
+ teamNames: toSortedTeamNames(person.teamNames),
101
+ hiddenTeamCount: Math.max(0, Math.floor(person.hiddenTeamCount)),
102
+ hasTeamInReach: person.hasTeamInReach,
103
+ };
104
+ }),
105
+ };
106
+ }
107
+ /*
108
+ * The answer, as the Dashboard reads it: a person with no id, or with no
109
+ * team keeping them - none named and none counted - is dropped, so a lock
110
+ * never says nothing; each person once.
111
+ */
112
+ function readProjectRemovalReachAnswer(data) {
113
+ const json = data && typeof data === "object" && !Array.isArray(data)
114
+ ? data
115
+ : {};
116
+ const people = json["people"];
117
+ if (!Array.isArray(people)) {
118
+ return [];
119
+ }
120
+ const seen = new Set();
121
+ const answer = [];
122
+ for (const entry of people) {
123
+ if (!entry || typeof entry !== "object" || Array.isArray(entry)) {
124
+ continue;
125
+ }
126
+ const person = entry;
127
+ const userId = typeof person["userId"] === "string"
128
+ ? person["userId"].trim().toLowerCase()
129
+ : "";
130
+ if (!userId || seen.has(userId)) {
131
+ continue;
132
+ }
133
+ const teamNames = toSortedTeamNames(Array.isArray(person["teamNames"])
134
+ ? person["teamNames"].filter((name) => {
135
+ return typeof name === "string";
136
+ })
137
+ : []);
138
+ const rawHidden = person["hiddenTeamCount"];
139
+ const hiddenTeamCount = typeof rawHidden === "number" && Number.isFinite(rawHidden)
140
+ ? Math.max(0, Math.floor(rawHidden))
141
+ : 0;
142
+ if (teamNames.length === 0 && hiddenTeamCount === 0) {
143
+ continue;
144
+ }
145
+ seen.add(userId);
146
+ answer.push({
147
+ userId: userId,
148
+ teamNames: teamNames,
149
+ hiddenTeamCount: hiddenTeamCount,
150
+ hasTeamInReach: person["hasTeamInReach"] === true,
151
+ });
152
+ }
153
+ return answer;
154
+ }
@@ -0,0 +1,8 @@
1
+ import commonJsModule from "./ProjectRemovalReach.js";
2
+ export const MAX_PEOPLE_PER_PROJECT_REMOVAL_REACH = commonJsModule.MAX_PEOPLE_PER_PROJECT_REMOVAL_REACH;
3
+ export const PROJECT_REMOVAL_REACH_ROUTE = commonJsModule.PROJECT_REMOVAL_REACH_ROUTE;
4
+ export const readProjectRemovalReachAnswer = commonJsModule.readProjectRemovalReachAnswer;
5
+ export const readProjectRemovalReachRequest = commonJsModule.readProjectRemovalReachRequest;
6
+ export const toProjectRemovalReachAnswerJSON = commonJsModule.toProjectRemovalReachAnswerJSON;
7
+ export const toProjectRemovalReachRequestJSON = commonJsModule.toProjectRemovalReachRequestJSON;
8
+ export const toSortedTeamNames = commonJsModule.toSortedTeamNames;
@@ -0,0 +1,27 @@
1
+ import { JSONObject } from "../JSON.mjs";
2
+ import ObjectID from "../ObjectID.mjs";
3
+ export declare const TEAM_MEMBER_ROUTE: string;
4
+ export declare const RESEND_INVITATION_ROUTE_END: string;
5
+ export declare function getResendInvitationRoute(teamMemberId: ObjectID | string): string;
6
+ export declare const RESEND_INVITATION_SEND_TIMEOUT_IN_MS: number;
7
+ export declare const RESEND_INVITATION_LOCK_TIMEOUT_IN_MS: number;
8
+ export interface ResentInvitation {
9
+ email: string;
10
+ }
11
+ export declare const RESEND_INVITATION_REFUSALS: {
12
+ notInvited: string;
13
+ joined: string;
14
+ emailNotSetUp: string;
15
+ emailNotSetUpForMasterAdmin: string;
16
+ alreadySending: string;
17
+ };
18
+ export declare function getInvitationNotResentMessage(data: {
19
+ email: string;
20
+ reason: string;
21
+ }): string;
22
+ export declare function getInvitationMayNotBeResentMessage(data: {
23
+ email: string;
24
+ }): string;
25
+ export declare function readResendInvitationTeamMemberId(value: unknown): ObjectID;
26
+ export declare function toResentInvitationJSON(resent: ResentInvitation): JSONObject;
27
+ export declare function readResentInvitation(data: unknown): ResentInvitation | null;
@@ -0,0 +1,27 @@
1
+ import { JSONObject } from "../JSON";
2
+ import ObjectID from "../ObjectID";
3
+ export declare const TEAM_MEMBER_ROUTE: string;
4
+ export declare const RESEND_INVITATION_ROUTE_END: string;
5
+ export declare function getResendInvitationRoute(teamMemberId: ObjectID | string): string;
6
+ export declare const RESEND_INVITATION_SEND_TIMEOUT_IN_MS: number;
7
+ export declare const RESEND_INVITATION_LOCK_TIMEOUT_IN_MS: number;
8
+ export interface ResentInvitation {
9
+ email: string;
10
+ }
11
+ export declare const RESEND_INVITATION_REFUSALS: {
12
+ notInvited: string;
13
+ joined: string;
14
+ emailNotSetUp: string;
15
+ emailNotSetUpForMasterAdmin: string;
16
+ alreadySending: string;
17
+ };
18
+ export declare function getInvitationNotResentMessage(data: {
19
+ email: string;
20
+ reason: string;
21
+ }): string;
22
+ export declare function getInvitationMayNotBeResentMessage(data: {
23
+ email: string;
24
+ }): string;
25
+ export declare function readResendInvitationTeamMemberId(value: unknown): ObjectID;
26
+ export declare function toResentInvitationJSON(resent: ResentInvitation): JSONObject;
27
+ export declare function readResentInvitation(data: unknown): ResentInvitation | null;
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.RESEND_INVITATION_REFUSALS = exports.RESEND_INVITATION_LOCK_TIMEOUT_IN_MS = exports.RESEND_INVITATION_SEND_TIMEOUT_IN_MS = exports.RESEND_INVITATION_ROUTE_END = exports.TEAM_MEMBER_ROUTE = void 0;
7
+ exports.getResendInvitationRoute = getResendInvitationRoute;
8
+ exports.getInvitationNotResentMessage = getInvitationNotResentMessage;
9
+ exports.getInvitationMayNotBeResentMessage = getInvitationMayNotBeResentMessage;
10
+ exports.readResendInvitationTeamMemberId = readResendInvitationTeamMemberId;
11
+ exports.toResentInvitationJSON = toResentInvitationJSON;
12
+ exports.readResentInvitation = readResentInvitation;
13
+ const BadDataException_1 = __importDefault(require("../Exception/BadDataException"));
14
+ const ObjectID_1 = __importDefault(require("../ObjectID"));
15
+ /*
16
+ * RESEND INVITATION (#9519).
17
+ *
18
+ * A pending person whose invitation email never reached them - the mail
19
+ * service refused it (Email Not Sent, #9511), it went to their spam, its
20
+ * link ran out - had no way to be sent it again: inviting the same address
21
+ * to the same team is refused while the invitation waits
22
+ * (Errors.TeamMemberService.ALREADY_INVITED), so it took removing them and
23
+ * inviting them again, two dialogs for one intent.
24
+ *
25
+ * Now a pending row offers Resend Invitation - on the Users list, a
26
+ * person's Teams, a team's Members and the Admin Dashboard's lists of a
27
+ * project's people - for whoever may invite to that team. It asks the
28
+ * server (POST /team-member/:id/resend-invitation, the membership's id),
29
+ * which sends the same InviteMember email a new invitation sends
30
+ * (TeamMemberService.resendInvitation): a new sign-up link and token for
31
+ * someone with no password yet, held to the same per-address limit, and
32
+ * written to the project's Email Logs, so the row says Invitation Sent
33
+ * again once it went. The server waits for the mail service, and answers
34
+ * with the address it went to, or with why it did not go.
35
+ *
36
+ * This module is the route, its answer and its refusals, read the same way
37
+ * on both sides. React-free and server-free.
38
+ */
39
+ // The team member route's own path.
40
+ exports.TEAM_MEMBER_ROUTE = "/team-member";
41
+ // What follows a membership's id in the route.
42
+ exports.RESEND_INVITATION_ROUTE_END = "/resend-invitation";
43
+ // Where a row asks, under the API: /team-member/<membership's id>/resend-invitation.
44
+ function getResendInvitationRoute(teamMemberId) {
45
+ return `${exports.TEAM_MEMBER_ROUTE}/${teamMemberId.toString()}${exports.RESEND_INVITATION_ROUTE_END}`;
46
+ }
47
+ /*
48
+ * How long the server waits for the mail service to take the email: the
49
+ * person who pressed Resend Invitation waits with it, so not for as long
50
+ * as a mail server may take to time out by itself.
51
+ */
52
+ exports.RESEND_INVITATION_SEND_TIMEOUT_IN_MS = 30 * 1000;
53
+ /*
54
+ * How long one resend of a person's invitation holds the others back: a
55
+ * second press, in another tab or by somebody else, while the first is
56
+ * still with the mail service, sends nothing more.
57
+ */
58
+ exports.RESEND_INVITATION_LOCK_TIMEOUT_IN_MS = exports.RESEND_INVITATION_SEND_TIMEOUT_IN_MS + 30 * 1000;
59
+ /*
60
+ * The refusals, in OneUptime's words. A sentence each, saying what
61
+ * happened and what to do next (Docs/ux/README.md#errors). Every API
62
+ * answer is English (Server/Locales/README.md).
63
+ */
64
+ exports.RESEND_INVITATION_REFUSALS = {
65
+ /*
66
+ * The membership is gone - the person was removed from the team, or
67
+ * declined - or is another project's: said alike, so the route tells
68
+ * nobody which ids another project has.
69
+ */
70
+ notInvited: "They are no longer invited to this team. Reload the page to see who is.",
71
+ // They have joined: no invitation is waiting for them.
72
+ joined: "They have joined the project already, so there is no invitation to send again.",
73
+ // A server with no email set up sends nothing (ServerSendingStatus).
74
+ emailNotSetUp: "This server cannot send email yet, so their invitation cannot be sent again. Ask your server's admin to set up email.",
75
+ // ... and a master admin, who can set it up, is told where, and what else works.
76
+ emailNotSetUpForMasterAdmin: "This server cannot send email yet, so their invitation cannot be sent again. Set up email in the Admin Dashboard, or send them their invitation link yourself.",
77
+ // Pressed again - or by somebody else - while the first is being sent.
78
+ alreadySending: "Their invitation is being sent again already. Wait a moment, then reload the page.",
79
+ };
80
+ /*
81
+ * The mail service refused the email: in OneUptime's words first, then the
82
+ * mail service's own (Docs/ux/README.md#errors).
83
+ */
84
+ function getInvitationNotResentMessage(data) {
85
+ const reason = data.reason.trim();
86
+ return reason
87
+ ? `The invitation email to ${data.email} was not sent. ${reason}`
88
+ : `The invitation email to ${data.email} was not sent. Check the Email tab of the project's Notification Logs to see why.`;
89
+ }
90
+ /*
91
+ * The mail service did not answer in time: it may still send it, so
92
+ * nobody is told it was not sent - and nobody is told it was.
93
+ */
94
+ function getInvitationMayNotBeResentMessage(data) {
95
+ return `The invitation email to ${data.email} may not have been sent: the mail service did not answer in time. Check the Email tab of the project's Notification Logs before you send it again.`;
96
+ }
97
+ // The membership a route's address names, or a refusal.
98
+ function readResendInvitationTeamMemberId(value) {
99
+ const id = typeof value === "string" ? value.trim() : "";
100
+ if (!id || !ObjectID_1.default.isValidUUID(id)) {
101
+ throw new BadDataException_1.default("Name the invitation to send again by its ID.");
102
+ }
103
+ return new ObjectID_1.default(id);
104
+ }
105
+ // The answer, as the route sends it.
106
+ function toResentInvitationJSON(resent) {
107
+ return {
108
+ email: resent.email,
109
+ };
110
+ }
111
+ // The answer, as a page reads it: null when it names no address.
112
+ function readResentInvitation(data) {
113
+ const json = data && typeof data === "object" && !Array.isArray(data)
114
+ ? data
115
+ : {};
116
+ const email = json["email"];
117
+ if (typeof email !== "string" || !email.trim()) {
118
+ return null;
119
+ }
120
+ return {
121
+ email: email.trim(),
122
+ };
123
+ }
@@ -0,0 +1,12 @@
1
+ import commonJsModule from "./ResendInvitation.js";
2
+ export const RESEND_INVITATION_LOCK_TIMEOUT_IN_MS = commonJsModule.RESEND_INVITATION_LOCK_TIMEOUT_IN_MS;
3
+ export const RESEND_INVITATION_REFUSALS = commonJsModule.RESEND_INVITATION_REFUSALS;
4
+ export const RESEND_INVITATION_ROUTE_END = commonJsModule.RESEND_INVITATION_ROUTE_END;
5
+ export const RESEND_INVITATION_SEND_TIMEOUT_IN_MS = commonJsModule.RESEND_INVITATION_SEND_TIMEOUT_IN_MS;
6
+ export const TEAM_MEMBER_ROUTE = commonJsModule.TEAM_MEMBER_ROUTE;
7
+ export const getInvitationMayNotBeResentMessage = commonJsModule.getInvitationMayNotBeResentMessage;
8
+ export const getInvitationNotResentMessage = commonJsModule.getInvitationNotResentMessage;
9
+ export const getResendInvitationRoute = commonJsModule.getResendInvitationRoute;
10
+ export const readResendInvitationTeamMemberId = commonJsModule.readResendInvitationTeamMemberId;
11
+ export const readResentInvitation = commonJsModule.readResentInvitation;
12
+ export const toResentInvitationJSON = commonJsModule.toResentInvitationJSON;
@@ -74,6 +74,7 @@ export declare enum UsedByRowKind {
74
74
  RumApplication = "RumApplication",
75
75
  DataStore = "DataStore",
76
76
  DataAsset = "DataAsset",
77
+ DataPipeline = "DataPipeline",
77
78
  Probe = "Probe",
78
79
  Runner = "Runner",
79
80
  AIAgent = "AIAgent"
@@ -74,6 +74,7 @@ export declare enum UsedByRowKind {
74
74
  RumApplication = "RumApplication",
75
75
  DataStore = "DataStore",
76
76
  DataAsset = "DataAsset",
77
+ DataPipeline = "DataPipeline",
77
78
  Probe = "Probe",
78
79
  Runner = "Runner",
79
80
  AIAgent = "AIAgent"
@@ -146,6 +146,7 @@ var UsedByRowKind;
146
146
  UsedByRowKind["RumApplication"] = "RumApplication";
147
147
  UsedByRowKind["DataStore"] = "DataStore";
148
148
  UsedByRowKind["DataAsset"] = "DataAsset";
149
+ UsedByRowKind["DataPipeline"] = "DataPipeline";
149
150
  UsedByRowKind["Probe"] = "Probe";
150
151
  UsedByRowKind["Runner"] = "Runner";
151
152
  UsedByRowKind["AIAgent"] = "AIAgent";
@@ -297,6 +298,7 @@ exports.TEAM_OWNED_OTHER_ROW_KINDS = [
297
298
  UsedByRowKind.RumApplication,
298
299
  UsedByRowKind.DataStore,
299
300
  UsedByRowKind.DataAsset,
301
+ UsedByRowKind.DataPipeline,
300
302
  UsedByRowKind.Probe,
301
303
  UsedByRowKind.Runner,
302
304
  UsedByRowKind.AIAgent,
@@ -94,6 +94,7 @@ exports.USED_BY_ROW_KIND_PRODUCTS = {
94
94
  [UsedBy_1.UsedByRowKind.RumApplication]: ProductKey_1.default.Rum,
95
95
  [UsedBy_1.UsedByRowKind.DataStore]: ProductKey_1.default.DataObservability,
96
96
  [UsedBy_1.UsedByRowKind.DataAsset]: ProductKey_1.default.DataObservability,
97
+ [UsedBy_1.UsedByRowKind.DataPipeline]: ProductKey_1.default.DataObservability,
97
98
  [UsedBy_1.UsedByRowKind.Probe]: ProductKey_1.default.Monitors,
98
99
  [UsedBy_1.UsedByRowKind.Runner]: ProductKey_1.default.Runbooks,
99
100
  // An AI agent belongs to the project, beside the resources it reads.