@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,2 @@
1
+ export declare const ENCRYPTED_VALUE_PREFIX: string;
2
+ export declare function isEncryptedValue(value: unknown): value is string;
@@ -0,0 +1,2 @@
1
+ export declare const ENCRYPTED_VALUE_PREFIX: string;
2
+ export declare function isEncryptedValue(value: unknown): value is string;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ENCRYPTED_VALUE_PREFIX = void 0;
4
+ exports.isEncryptedValue = isEncryptedValue;
5
+ /*
6
+ * HOW A VALUE KEPT ENCRYPTED AT REST BEGINS.
7
+ *
8
+ * DatabaseService keeps a column marked `encrypted: true` encrypted at rest
9
+ * (Server/Utils/Encryption): every value it stores there is CryptoJS's
10
+ * salted AES, base64, which begins with OpenSSL's "Salted__" header written
11
+ * in base64 - this prefix. Nothing else a column holds starts with it: a
12
+ * webhook address starts with its scheme, a community string or a token is
13
+ * never base64 of that header. So a stored value that does not start with
14
+ * it was written before its column was encrypted, and is read as it is
15
+ * until its data migration encrypts it (EncryptColumnInPlace).
16
+ *
17
+ * In Types, not beside the cipher, because a column's own TypeORM
18
+ * transformer has to tell a ciphertext apart too: a URL column hands one on
19
+ * untouched (DatabaseProperty.getEncryptedDatabaseTransformer), where
20
+ * parsing it as a URL would refuse it on its way in and read it as a broken
21
+ * address on its way out.
22
+ */
23
+ exports.ENCRYPTED_VALUE_PREFIX = "U2FsdGVkX1";
24
+ // Whether `value` is a ciphertext DatabaseService stored.
25
+ function isEncryptedValue(value) {
26
+ return typeof value === "string" && value.startsWith(exports.ENCRYPTED_VALUE_PREFIX);
27
+ }
@@ -0,0 +1,3 @@
1
+ import commonJsModule from "./EncryptedValue.js";
2
+ export const ENCRYPTED_VALUE_PREFIX = commonJsModule.ENCRYPTED_VALUE_PREFIX;
3
+ export const isEncryptedValue = commonJsModule.isEncryptedValue;
@@ -0,0 +1,41 @@
1
+ import { JSONObject } from "../JSON.mjs";
2
+ import ObjectID from "../ObjectID.mjs";
3
+ export declare const MOVE_IN_LIST_ROUTE: string;
4
+ export declare const getMoveInListRoute: (rowId: string) => string;
5
+ export interface MoveInListRequest {
6
+ placeOfId: ObjectID;
7
+ }
8
+ export interface ListPlace {
9
+ id: string;
10
+ order: number | null | undefined;
11
+ }
12
+ export interface MoveInListResult {
13
+ changedRows: Array<{
14
+ id: string;
15
+ order: number;
16
+ }>;
17
+ }
18
+ export type MoveInListChanges = {
19
+ kind: "moved";
20
+ changedRows: Array<{
21
+ id: string;
22
+ order: number;
23
+ }>;
24
+ } | {
25
+ kind: "rowNotInList";
26
+ } | {
27
+ kind: "placeNotInList";
28
+ };
29
+ export default class MoveInListUtil {
30
+ static compare(a: ListPlace, b: ListPlace): number;
31
+ static sort<TPlace extends ListPlace>(rows: ReadonlyArray<TPlace>): Array<TPlace>;
32
+ static getChanges(data: {
33
+ rows: ReadonlyArray<ListPlace>;
34
+ rowId: string;
35
+ placeOfId: string;
36
+ }): MoveInListChanges;
37
+ static parseRequest(body: unknown): MoveInListRequest;
38
+ static requestToJSON(request: MoveInListRequest): JSONObject;
39
+ static resultToJSON(result: MoveInListResult): JSONObject;
40
+ static resultFromJSON(json: unknown): MoveInListResult;
41
+ }
@@ -0,0 +1,41 @@
1
+ import { JSONObject } from "../JSON";
2
+ import ObjectID from "../ObjectID";
3
+ export declare const MOVE_IN_LIST_ROUTE: string;
4
+ export declare const getMoveInListRoute: (rowId: string) => string;
5
+ export interface MoveInListRequest {
6
+ placeOfId: ObjectID;
7
+ }
8
+ export interface ListPlace {
9
+ id: string;
10
+ order: number | null | undefined;
11
+ }
12
+ export interface MoveInListResult {
13
+ changedRows: Array<{
14
+ id: string;
15
+ order: number;
16
+ }>;
17
+ }
18
+ export type MoveInListChanges = {
19
+ kind: "moved";
20
+ changedRows: Array<{
21
+ id: string;
22
+ order: number;
23
+ }>;
24
+ } | {
25
+ kind: "rowNotInList";
26
+ } | {
27
+ kind: "placeNotInList";
28
+ };
29
+ export default class MoveInListUtil {
30
+ static compare(a: ListPlace, b: ListPlace): number;
31
+ static sort<TPlace extends ListPlace>(rows: ReadonlyArray<TPlace>): Array<TPlace>;
32
+ static getChanges(data: {
33
+ rows: ReadonlyArray<ListPlace>;
34
+ rowId: string;
35
+ placeOfId: string;
36
+ }): MoveInListChanges;
37
+ static parseRequest(body: unknown): MoveInListRequest;
38
+ static requestToJSON(request: MoveInListRequest): JSONObject;
39
+ static resultToJSON(result: MoveInListResult): JSONObject;
40
+ static resultFromJSON(json: unknown): MoveInListResult;
41
+ }
@@ -0,0 +1,177 @@
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.getMoveInListRoute = exports.MOVE_IN_LIST_ROUTE = void 0;
7
+ const BadDataException_1 = __importDefault(require("../Exception/BadDataException"));
8
+ const ObjectID_1 = __importDefault(require("../ObjectID"));
9
+ /*
10
+ * MOVING A ROW OF A NUMBERED LIST TO ANOTHER ROW'S PLACE (issue #9573).
11
+ *
12
+ * Five lists are numbered by an `order` column: the escalation rules of an
13
+ * on-call policy, the layers of a schedule, the people of a layer, the
14
+ * groups of a status page and the resources of a status page (or of one of
15
+ * its groups). Lower numbers come first; rows that share a number come in
16
+ * the order of their ids, as the database reads them.
17
+ *
18
+ * Writing a row's `order` - creating it at a number, changing its number -
19
+ * places that row and moves no other (Server/Utils/Database/
20
+ * ContiguousOrder). That is what Terraform, and anything else that numbers a
21
+ * whole list, needs: it writes every row's number on its own, all at once,
22
+ * in no set order, and every row must end at the number written.
23
+ *
24
+ * Moving a row is a request of its own, which the Dashboard sends when
25
+ * someone drags a row, or moves it up or down:
26
+ *
27
+ * POST /<the list's path>/:id/move
28
+ * { "placeOfId": "<the row whose place it takes>" }
29
+ * -> { "changedRows": [{ "_id": "<id>", "order": 2 }, ...] }
30
+ *
31
+ * The row takes the place of the row named, and the rows between them step
32
+ * one place towards where it was - so a row moved up lands just above the
33
+ * row named, and a row moved down just below it. The list is then numbered
34
+ * 1..n in its new order, which in a list numbered 1..n changes only the
35
+ * rows between the two places; a list with gaps or shared numbers (written
36
+ * through the API) comes out tidy. The server does it in one transaction
37
+ * holding the list's rows, so moves at once run one after another and
38
+ * never leave two rows at one number. `changedRows` are the rows given
39
+ * another number, the moved row among them; none when it was there already.
40
+ *
41
+ * Read by the server and the Dashboard, so it imports nothing that needs a
42
+ * server or React.
43
+ */
44
+ // The route, under the list's own API path, for the row `:id`.
45
+ exports.MOVE_IN_LIST_ROUTE = "/:id/move";
46
+ // The route for one row, as the Dashboard calls it.
47
+ const getMoveInListRoute = (rowId) => {
48
+ return `/${rowId}/move`;
49
+ };
50
+ exports.getMoveInListRoute = getMoveInListRoute;
51
+ const normalizeId = (id) => {
52
+ return id.trim().toLowerCase();
53
+ };
54
+ // A row's number, or null when it holds none: those come after the numbered.
55
+ const toNumber = (order) => {
56
+ const value = typeof order === "number" ? order : Number(order);
57
+ return order === null ||
58
+ order === undefined ||
59
+ order === "" ||
60
+ !Number.isFinite(value)
61
+ ? null
62
+ : value;
63
+ };
64
+ class MoveInListUtil {
65
+ /*
66
+ * The order a list is read in: by number, lowest first, rows without one
67
+ * last; rows that share a number by id - as the database reads them
68
+ * (DatabaseService breaks every tie by the primary key), so the server,
69
+ * the Dashboard and the status page put twins the same way round.
70
+ */
71
+ static compare(a, b) {
72
+ const aOrder = toNumber(a.order);
73
+ const bOrder = toNumber(b.order);
74
+ if (aOrder !== null && bOrder === null) {
75
+ return -1;
76
+ }
77
+ if (aOrder === null && bOrder !== null) {
78
+ return 1;
79
+ }
80
+ if (aOrder !== null && bOrder !== null && aOrder !== bOrder) {
81
+ return aOrder - bOrder;
82
+ }
83
+ const aId = normalizeId(a.id);
84
+ const bId = normalizeId(b.id);
85
+ if (aId < bId) {
86
+ return -1;
87
+ }
88
+ return aId > bId ? 1 : 0;
89
+ }
90
+ // A copy of the rows in the order the list is read in.
91
+ static sort(rows) {
92
+ return [...rows].sort((a, b) => {
93
+ return MoveInListUtil.compare(a, b);
94
+ });
95
+ }
96
+ /*
97
+ * The rows a move gives another number: the list in the order it is read
98
+ * in, the moved row taken out and put where the row named stands - just
99
+ * above it when it came from below, just below it when it came from
100
+ * above - and the list numbered 1..n. Only the rows whose number changes
101
+ * are given; a move to the row's own place changes none.
102
+ */
103
+ static getChanges(data) {
104
+ const list = MoveInListUtil.sort(data.rows);
105
+ const rowId = normalizeId(data.rowId);
106
+ const placeOfId = normalizeId(data.placeOfId);
107
+ const from = list.findIndex((row) => {
108
+ return normalizeId(row.id) === rowId;
109
+ });
110
+ if (from < 0) {
111
+ return { kind: "rowNotInList" };
112
+ }
113
+ const to = list.findIndex((row) => {
114
+ return normalizeId(row.id) === placeOfId;
115
+ });
116
+ if (to < 0) {
117
+ return { kind: "placeNotInList" };
118
+ }
119
+ if (from === to) {
120
+ return { kind: "moved", changedRows: [] };
121
+ }
122
+ const moved = [...list];
123
+ const [row] = moved.splice(from, 1);
124
+ moved.splice(to, 0, row);
125
+ const changedRows = [];
126
+ moved.forEach((place, index) => {
127
+ if (toNumber(place.order) !== index + 1) {
128
+ changedRows.push({ id: place.id, order: index + 1 });
129
+ }
130
+ });
131
+ return { kind: "moved", changedRows: changedRows };
132
+ }
133
+ // A move as the server reads it: the row whose place the moved row takes.
134
+ static parseRequest(body) {
135
+ const record = body && typeof body === "object" && !Array.isArray(body)
136
+ ? body
137
+ : null;
138
+ const placeOfId = record === null || record === void 0 ? void 0 : record["placeOfId"];
139
+ if (typeof placeOfId !== "string" ||
140
+ !ObjectID_1.default.isValidUUID(placeOfId.trim())) {
141
+ throw new BadDataException_1.default('Send placeOfId: the ID of the row whose place this row takes, as { "placeOfId": "<id>" }.');
142
+ }
143
+ return { placeOfId: new ObjectID_1.default(placeOfId.trim()) };
144
+ }
145
+ static requestToJSON(request) {
146
+ return { placeOfId: request.placeOfId.toString() };
147
+ }
148
+ static resultToJSON(result) {
149
+ return {
150
+ changedRows: result.changedRows.map((row) => {
151
+ return { _id: row.id, order: row.order };
152
+ }),
153
+ };
154
+ }
155
+ static resultFromJSON(json) {
156
+ const record = json && typeof json === "object" && !Array.isArray(json)
157
+ ? json
158
+ : null;
159
+ const rows = record === null || record === void 0 ? void 0 : record["changedRows"];
160
+ if (!Array.isArray(rows)) {
161
+ return { changedRows: [] };
162
+ }
163
+ const changedRows = [];
164
+ for (const item of rows) {
165
+ if (!item || typeof item !== "object") {
166
+ continue;
167
+ }
168
+ const id = item["_id"];
169
+ const order = toNumber(item["order"]);
170
+ if (typeof id === "string" && order !== null) {
171
+ changedRows.push({ id: id, order: order });
172
+ }
173
+ }
174
+ return { changedRows: changedRows };
175
+ }
176
+ }
177
+ exports.default = MoveInListUtil;
@@ -0,0 +1,4 @@
1
+ import commonJsModule from "./MoveInList.js";
2
+ export default commonJsModule.default;
3
+ export const MOVE_IN_LIST_ROUTE = commonJsModule.MOVE_IN_LIST_ROUTE;
4
+ export const getMoveInListRoute = commonJsModule.getMoveInListRoute;
@@ -16,8 +16,11 @@ export interface TableColumnMetadata {
16
16
  hashed?: boolean;
17
17
  hashSaltColumn?: string;
18
18
  encrypted?: boolean;
19
+ encryptedFields?: Array<string>;
19
20
  secret?: boolean;
20
21
  shownOnce?: boolean;
22
+ presentedKey?: boolean;
23
+ lookupHashColumn?: string;
21
24
  manyToOneRelationColumn?: string;
22
25
  type: TableColumnType;
23
26
  canReadOnRelationQuery?: boolean;
@@ -16,8 +16,11 @@ export interface TableColumnMetadata {
16
16
  hashed?: boolean;
17
17
  hashSaltColumn?: string;
18
18
  encrypted?: boolean;
19
+ encryptedFields?: Array<string>;
19
20
  secret?: boolean;
20
21
  shownOnce?: boolean;
22
+ presentedKey?: boolean;
23
+ lookupHashColumn?: string;
21
24
  manyToOneRelationColumn?: string;
22
25
  type: TableColumnType;
23
26
  canReadOnRelationQuery?: boolean;
@@ -46,6 +46,7 @@ declare enum GlossaryTerm {
46
46
  Logs = "logs",
47
47
  Metrics = "metrics",
48
48
  Traces = "traces",
49
+ Span = "span",
49
50
  Profiles = "profiles",
50
51
  AILLM = "ai-llm",
51
52
  DataObservability = "data-observability",
@@ -46,6 +46,7 @@ declare enum GlossaryTerm {
46
46
  Logs = "logs",
47
47
  Metrics = "metrics",
48
48
  Traces = "traces",
49
+ Span = "span",
49
50
  Profiles = "profiles",
50
51
  AILLM = "ai-llm",
51
52
  DataObservability = "data-observability",
@@ -77,6 +77,8 @@ var GlossaryTerm;
77
77
  GlossaryTerm["Logs"] = "logs";
78
78
  GlossaryTerm["Metrics"] = "metrics";
79
79
  GlossaryTerm["Traces"] = "traces";
80
+ // One step of a trace: about 180 Traces strings say it (#9133).
81
+ GlossaryTerm["Span"] = "span";
80
82
  GlossaryTerm["Profiles"] = "profiles";
81
83
  GlossaryTerm["AILLM"] = "ai-llm";
82
84
  GlossaryTerm["DataObservability"] = "data-observability";
@@ -0,0 +1,20 @@
1
+ import { ServerSendingFailureScope } from "../ServerSending/ServerSendingStatus.mjs";
2
+ export declare const EmailSendFailureScope: typeof ServerSendingFailureScope;
3
+ export type EmailSendFailureScope = ServerSendingFailureScope;
4
+ export interface EmailSendFailureFacts {
5
+ message: string;
6
+ code?: string | undefined;
7
+ responseCode?: number | undefined;
8
+ command?: string | undefined;
9
+ fromEmail?: string | undefined;
10
+ toEmail?: string | undefined;
11
+ }
12
+ export default class EmailSendFailure {
13
+ static getUnverifiedIdentities(message: string): Array<string>;
14
+ static isUnverifiedIdentity(message: string): boolean;
15
+ static classify(facts: EmailSendFailureFacts): EmailSendFailureScope;
16
+ static readError(err: unknown, addresses: {
17
+ fromEmail?: string | undefined;
18
+ toEmail?: string | undefined;
19
+ }): EmailSendFailureFacts;
20
+ }
@@ -0,0 +1,20 @@
1
+ import { ServerSendingFailureScope } from "../ServerSending/ServerSendingStatus";
2
+ export declare const EmailSendFailureScope: typeof ServerSendingFailureScope;
3
+ export type EmailSendFailureScope = ServerSendingFailureScope;
4
+ export interface EmailSendFailureFacts {
5
+ message: string;
6
+ code?: string | undefined;
7
+ responseCode?: number | undefined;
8
+ command?: string | undefined;
9
+ fromEmail?: string | undefined;
10
+ toEmail?: string | undefined;
11
+ }
12
+ export default class EmailSendFailure {
13
+ static getUnverifiedIdentities(message: string): Array<string>;
14
+ static isUnverifiedIdentity(message: string): boolean;
15
+ static classify(facts: EmailSendFailureFacts): EmailSendFailureScope;
16
+ static readError(err: unknown, addresses: {
17
+ fromEmail?: string | undefined;
18
+ toEmail?: string | undefined;
19
+ }): EmailSendFailureFacts;
20
+ }
@@ -0,0 +1,244 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EmailSendFailureScope = void 0;
4
+ const ServerSendingStatus_1 = require("../ServerSending/ServerSendingStatus");
5
+ /*
6
+ * WHOSE PROBLEM IS A FAILED EMAIL? (#9217)
7
+ *
8
+ * A mail server or provider that refuses an email says why, and the why
9
+ * decides who must act:
10
+ *
11
+ * - the recipient (or this one message): the address does not exist, its
12
+ * mailbox is full, the provider will not send to it (an Amazon SES
13
+ * sandbox that has not verified it, a Postmark inactive recipient, a
14
+ * Mailgun sandbox's authorized recipients), the message is too large.
15
+ * Every other email still goes out. It belongs on that email's log row,
16
+ * the record that sent it and the recipient - never in a banner that
17
+ * tells every admin the server's email is broken;
18
+ * - the server: the settings or the way to the mail service do not work -
19
+ * the password is refused, the host is not reached, TLS fails, the
20
+ * sender's address or domain is not verified, the account is suspended
21
+ * or out of its daily quota. No email goes out until someone fixes it,
22
+ * so the server's admins are told (ServerSendingStatus);
23
+ * - throttled: the mail service asked to slow down. That is the server's
24
+ * only while it lasts (SERVER_SEND_THROTTLE_SUSTAINED_MS).
25
+ *
26
+ * Read from what the sender knows: the error's text, and for SMTP the
27
+ * code nodemailer gives (EAUTH, ECONNECTION ...), the reply code and the
28
+ * command the server refused. An Amazon SES "Email address is not
29
+ * verified" names the identities that failed, which can be the sender or
30
+ * the recipient: it is the server's only when the sender is among them.
31
+ * Anything not known to be one recipient's is the server's, as every
32
+ * failure was before.
33
+ *
34
+ * Pure, with no Node or browser APIs.
35
+ */
36
+ // Whose problem it is, as ServerSendingStatus keeps it.
37
+ exports.EmailSendFailureScope = ServerSendingStatus_1.ServerSendingFailureScope;
38
+ // nodemailer's codes for a connection, a login or TLS that failed.
39
+ const SERVER_ERROR_CODES = [
40
+ "EAUTH",
41
+ "ENOAUTH",
42
+ "EOAUTH2",
43
+ "ECONNECTION",
44
+ "ECONNREFUSED",
45
+ "ECONNRESET",
46
+ "ETIMEDOUT",
47
+ "ESOCKET",
48
+ "EDNS",
49
+ "ENOTFOUND",
50
+ "EAI_AGAIN",
51
+ "ETLS",
52
+ "EPROXY",
53
+ "EHOSTUNREACH",
54
+ "ENETUNREACH",
55
+ ];
56
+ /*
57
+ * The sender, its domain, relaying or the account: no email goes out. Read
58
+ * before what a recipient's refusal says, since "550 5.7.1 Sender address
59
+ * rejected" is a 550 too.
60
+ */
61
+ const SENDER_PATTERNS = [
62
+ /sender[^.]*\b(?:rejected|refused|denied|not (?:allowed|authori[sz]ed|permitted|verified|owned))/i,
63
+ /\bfrom\b[^.]*\b(?:address|domain|email)\b[^.]*\b(?:not (?:a )?(?:verified|valid|allowed|permitted|authori[sz]ed)|does not match|is not a sender signature|rejected)/i,
64
+ /not a (?:verified )?sender signature|verified sender identity|sender identity/i,
65
+ /\bdomain\b[^.]*\bnot (?:verified|found|registered)|verify (?:a|your) domain/i,
66
+ /mail from domain|MailFromDomainNotVerified/i,
67
+ /relay(?:ing)? (?:access )?(?:denied|not permitted)|unable to relay|not permitted to relay/i,
68
+ /SendAsDenied|not allowed to send as|5\.7\.60\b/i,
69
+ /5\.7\.26\b|unauthenticated email|\bdmarc\b|\bspf\b|\bdkim\b/i,
70
+ /suspended|sending (?:is )?paused|SendingPaused|account (?:is )?(?:disabled|blocked|inactive|under review)/i,
71
+ /5\.7\.1\b[^.]*unusual rate/i,
72
+ ];
73
+ // A login, a key or the way to the mail service: no email goes out.
74
+ const SERVER_PATTERNS = [
75
+ /\b535\b/,
76
+ /\b534\b/,
77
+ /\b530\b[\s-]+5\.7\.0/,
78
+ /5\.7\.(?:8|9|14|57|139)\b/,
79
+ /authenticat(?:e|ion|ed)\b[^.]*\b(?:fail|unsuccessful|invalid|required|rejected|refused|denied)/i,
80
+ /\b(?:not authenticated|unauthenticated)\b/i,
81
+ /invalid login|username and password not accepted|bad credentials|invalid credentials/i,
82
+ /\b(?:invalid|unknown|unrecognized|revoked|expired|missing)\b[^.]*\b(?:api key|api token|server token|access key|token|credentials?)\b/i,
83
+ /\b(?:api key|api token|server token|access key)\b[^.]*\b(?:invalid|not valid|not recognized|revoked|expired|missing)\b/i,
84
+ /\b(?:unauthorized|forbidden)\b/i,
85
+ /\bHTTP 40[13]\b/,
86
+ /IAM role|ses:SendEmail|signature/i,
87
+ /ECONNREFUSED|ECONNRESET|ETIMEDOUT|ENOTFOUND|EAI_AGAIN|EHOSTUNREACH|ENETUNREACH/,
88
+ /connection (?:refused|closed|reset|lost|timed? ?out)|timed? ?out|timeout/i,
89
+ /unexpected socket close|socket hang up|getaddrinfo|greeting never received/i,
90
+ /\b(?:tls|ssl)\b|certificate|wrong version number|self[- ]signed/i,
91
+ ];
92
+ const DAILY_QUOTA = /daily (?:user )?(?:message |sending )?(?:quota|limit)|sending quota|quota exceeded|sending limit exceeded|5\.4\.5\b/i;
93
+ // The mail service asked to slow down: the server's only while it lasts.
94
+ const THROTTLE_PATTERNS = [
95
+ /throttl/i,
96
+ /maximum sending rate/i,
97
+ /rate limit|rate-limit|ratelimit/i,
98
+ /too many (?:requests|messages|connections|concurrent)/i,
99
+ /\bHTTP 429\b|\b429\b[^.]*too many/i,
100
+ /4\.7\.28\b/,
101
+ /try again later/i,
102
+ ];
103
+ // One recipient, or this one message: every other email still goes out.
104
+ const RECIPIENT_PATTERNS = [
105
+ /\b5\.1\.(?:1|2|3|6|10)\b/,
106
+ /\b4\.1\.1\b/,
107
+ /\b5\.2\.[12]\b/,
108
+ /\b5\.3\.4\b/,
109
+ /mailbox (?:unavailable|not found|does not exist|is full|full|disabled|inactive)|no mailbox/i,
110
+ /user unknown|unknown user|no such (?:user|recipient|address|mailbox)/i,
111
+ /recipient[^.]*\b(?:rejected|refused|not found|unknown|invalid|is not valid|does not exist|not verified|blocked|suppressed|inactive|unavailable|denied)/i,
112
+ /RecipientNotFound|InactiveRecipient|inactive (?:recipient|address)|marked as inactive/i,
113
+ /(?:mailbox|user|address|account|recipient)\b[^.]*\b(?:does not exist|doesn't exist)/i,
114
+ /(?:mailbox|inbox|recipient|user|you tried to reach)[^.]*over (?:its |the )?quota/i,
115
+ /address rejected|invalid recipient|undeliverable/i,
116
+ /suppression list|is suppressed/i,
117
+ /invalid '?to'? (?:address|field|parameter)|'to' parameter|to parameter is not a valid|is not a valid (?:email )?address/i,
118
+ /authorized recipients/i,
119
+ /message (?:size|too large|is too (?:large|big))|exceeds (?:the )?(?:maximum )?(?:message )?size/i,
120
+ /greylist/i,
121
+ /\b4\.2\.1\b|receiving mail at a rate/i,
122
+ ];
123
+ // Amazon SES: "Email address is not verified. The following identities ..."
124
+ const UNVERIFIED_IDENTITY = /(?:email )?address is not verified|identit(?:y|ies)[^.]*(?:not verified|failed the check)/i;
125
+ const EMAIL_ADDRESS = /[^\s,;:<>()"'[\]]+@[^\s,;:<>()"'[\]]+/g;
126
+ const normalize = (address) => {
127
+ return (address || "").trim().toLowerCase().replace(/\.+$/, "");
128
+ };
129
+ const matchesAny = (text, patterns) => {
130
+ return patterns.some((pattern) => {
131
+ return pattern.test(text);
132
+ });
133
+ };
134
+ class EmailSendFailure {
135
+ /*
136
+ * The identities an Amazon SES "Email address is not verified" names
137
+ * ("The following identities failed the check in region US-EAST-1:
138
+ * a@example.com, b@example.com"), lower-cased; empty when it names none.
139
+ */
140
+ static getUnverifiedIdentities(message) {
141
+ const match = message.match(/failed the check in region\s+[^:]*:\s*([^\n]*)/i);
142
+ if (!match || !match[1]) {
143
+ return [];
144
+ }
145
+ return (match[1].match(EMAIL_ADDRESS) || []).map((address) => {
146
+ return normalize(address);
147
+ });
148
+ }
149
+ // Whether the error says an identity is not verified (Amazon SES).
150
+ static isUnverifiedIdentity(message) {
151
+ return UNVERIFIED_IDENTITY.test(message);
152
+ }
153
+ static classify(facts) {
154
+ const message = facts.message || "";
155
+ const code = (facts.code || "").toUpperCase();
156
+ const command = (facts.command || "").toUpperCase();
157
+ const fromEmail = normalize(facts.fromEmail);
158
+ const toEmail = normalize(facts.toEmail);
159
+ // The connection, the login or TLS: nothing gets as far as a recipient.
160
+ if (SERVER_ERROR_CODES.includes(code)) {
161
+ return exports.EmailSendFailureScope.Server;
162
+ }
163
+ /*
164
+ * Amazon SES names the identities it has not verified: the sender's is
165
+ * the server's to fix, a sandbox recipient's only that recipient's.
166
+ */
167
+ if (EmailSendFailure.isUnverifiedIdentity(message)) {
168
+ const identities = EmailSendFailure.getUnverifiedIdentities(message);
169
+ if (identities.length === 0) {
170
+ return exports.EmailSendFailureScope.Server;
171
+ }
172
+ if (fromEmail) {
173
+ return identities.includes(fromEmail)
174
+ ? exports.EmailSendFailureScope.Server
175
+ : exports.EmailSendFailureScope.Recipient;
176
+ }
177
+ return toEmail &&
178
+ identities.every((identity) => {
179
+ return identity === toEmail;
180
+ })
181
+ ? exports.EmailSendFailureScope.Recipient
182
+ : exports.EmailSendFailureScope.Server;
183
+ }
184
+ // A daily quota lasts the day: the account's, never a slow-down.
185
+ if (DAILY_QUOTA.test(message)) {
186
+ return exports.EmailSendFailureScope.Server;
187
+ }
188
+ if (matchesAny(message, THROTTLE_PATTERNS)) {
189
+ return exports.EmailSendFailureScope.Throttled;
190
+ }
191
+ // The sender, its domain or the account: every email from it fails.
192
+ if (matchesAny(message, SENDER_PATTERNS)) {
193
+ return exports.EmailSendFailureScope.Server;
194
+ }
195
+ // An address the server refused at RCPT TO is that recipient's.
196
+ if (code === "EENVELOPE" ||
197
+ (command.startsWith("RCPT") &&
198
+ (facts.responseCode === undefined ||
199
+ (facts.responseCode >= 450 && facts.responseCode < 600)))) {
200
+ // Unless it asks for a login first, which no recipient can give.
201
+ return matchesAny(message, SERVER_PATTERNS) &&
202
+ !matchesAny(message, RECIPIENT_PATTERNS)
203
+ ? exports.EmailSendFailureScope.Server
204
+ : exports.EmailSendFailureScope.Recipient;
205
+ }
206
+ if (matchesAny(message, RECIPIENT_PATTERNS)) {
207
+ return exports.EmailSendFailureScope.Recipient;
208
+ }
209
+ // A login, a key, the connection - or nothing known: the server's.
210
+ return exports.EmailSendFailureScope.Server;
211
+ }
212
+ /*
213
+ * The facts of an error thrown by a send: its message, and what
214
+ * nodemailer adds to an SMTP error.
215
+ */
216
+ static readError(err, addresses) {
217
+ const error = err && typeof err === "object" ? err : {};
218
+ const message = typeof error["message"] === "string"
219
+ ? error["message"]
220
+ : typeof err === "string"
221
+ ? err
222
+ : "";
223
+ const response = typeof error["response"] === "string"
224
+ ? error["response"]
225
+ : "";
226
+ return {
227
+ message: response && !message.includes(response)
228
+ ? `${message} ${response}`.trim()
229
+ : message,
230
+ code: typeof error["code"] === "string"
231
+ ? error["code"]
232
+ : undefined,
233
+ responseCode: typeof error["responseCode"] === "number"
234
+ ? error["responseCode"]
235
+ : undefined,
236
+ command: typeof error["command"] === "string"
237
+ ? error["command"]
238
+ : undefined,
239
+ fromEmail: addresses.fromEmail,
240
+ toEmail: addresses.toEmail,
241
+ };
242
+ }
243
+ }
244
+ exports.default = EmailSendFailure;
@@ -0,0 +1,3 @@
1
+ import commonJsModule from "./EmailSendFailure.js";
2
+ export default commonJsModule.default;
3
+ export const EmailSendFailureScope = commonJsModule.EmailSendFailureScope;
@@ -1,6 +1,7 @@
1
1
  declare enum EmailTemplateType {
2
2
  BlankTemplate = "BlankTemplate.hbs",
3
3
  ForgotPassword = "ForgotPassword.hbs",
4
+ SetPassword = "SetPassword.hbs",
4
5
  MagicLink = "MagicLink.hbs",
5
6
  ProbeOffline = "ProbeOffline.hbs",
6
7
  SignupWelcomeEmail = "SignupWelcomeEmail.hbs",
@@ -1,6 +1,7 @@
1
1
  declare enum EmailTemplateType {
2
2
  BlankTemplate = "BlankTemplate.hbs",
3
3
  ForgotPassword = "ForgotPassword.hbs",
4
+ SetPassword = "SetPassword.hbs",
4
5
  MagicLink = "MagicLink.hbs",
5
6
  ProbeOffline = "ProbeOffline.hbs",
6
7
  SignupWelcomeEmail = "SignupWelcomeEmail.hbs",