@oneuptime/common 14.0.108 → 14.0.109

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 (494) hide show
  1. package/Models/AnalyticsModels/AuditLog.js +1 -1
  2. package/Models/DatabaseModels/CloudApp.d.mts +5 -0
  3. package/Models/DatabaseModels/CloudApp.d.ts +5 -0
  4. package/Models/DatabaseModels/CloudApp.js +112 -0
  5. package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
  6. package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
  7. package/Models/DatabaseModels/GlobalConfig.js +111 -0
  8. package/Models/DatabaseModels/Index.js +7 -0
  9. package/Models/DatabaseModels/Monitor.js +14 -0
  10. package/Models/DatabaseModels/MonitorStatusTimeline.d.mts +1 -0
  11. package/Models/DatabaseModels/MonitorStatusTimeline.d.ts +1 -0
  12. package/Models/DatabaseModels/MonitorStatusTimeline.js +43 -0
  13. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +4 -0
  14. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +4 -0
  15. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +132 -2
  16. package/Models/DatabaseModels/ProductFeedback.d.mts +11 -0
  17. package/Models/DatabaseModels/ProductFeedback.d.ts +11 -0
  18. package/Models/DatabaseModels/ProductFeedback.js +203 -0
  19. package/Models/DatabaseModels/ProductFeedback.mjs +2 -0
  20. package/Models/DatabaseModels/Project.d.mts +6 -0
  21. package/Models/DatabaseModels/Project.d.ts +6 -0
  22. package/Models/DatabaseModels/Project.js +237 -0
  23. package/Models/DatabaseModels/ProjectMilestone.d.mts +11 -0
  24. package/Models/DatabaseModels/ProjectMilestone.d.ts +11 -0
  25. package/Models/DatabaseModels/ProjectMilestone.js +207 -0
  26. package/Models/DatabaseModels/ProjectMilestone.mjs +2 -0
  27. package/Models/DatabaseModels/ProjectUserPreference.d.mts +11 -0
  28. package/Models/DatabaseModels/ProjectUserPreference.d.ts +11 -0
  29. package/Models/DatabaseModels/ProjectUserPreference.js +194 -0
  30. package/Models/DatabaseModels/ProjectUserPreference.mjs +2 -0
  31. package/Models/DatabaseModels/RumSessionPin.js +16 -2
  32. package/Models/DatabaseModels/RumSessionReplayView.js +8 -1
  33. package/Models/DatabaseModels/SecurityCase.js +8 -1
  34. package/Models/DatabaseModels/User.d.mts +2 -0
  35. package/Models/DatabaseModels/User.d.ts +2 -0
  36. package/Models/DatabaseModels/User.js +52 -0
  37. package/Models/DatabaseModels/UserOnCallLog.js +32 -4
  38. package/Models/DatabaseModels/UserOnCallLogTimeline.js +10 -0
  39. package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
  40. package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.mts +9 -0
  41. package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.ts +9 -0
  42. package/Server/Services/DatabaseService.d.mts +1 -0
  43. package/Server/Services/DatabaseService.d.ts +1 -0
  44. package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.mts +2 -1
  45. package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.ts +2 -1
  46. package/Server/Utils/Workspace/WorkspaceBase.d.mts +1 -0
  47. package/Server/Utils/Workspace/WorkspaceBase.d.ts +1 -0
  48. package/Types/AI/AIActionWords.d.mts +167 -7
  49. package/Types/AI/AIActionWords.d.ts +167 -7
  50. package/Types/AI/AIActionWords.js +474 -17
  51. package/Types/AI/AIActionWords.mjs +22 -0
  52. package/Types/AI/AIChatMessageStatus.js +3 -2
  53. package/Types/AI/AIChatRecordSeen.d.mts +6 -2
  54. package/Types/AI/AIChatRecordSeen.d.ts +6 -2
  55. package/Types/AI/AIChatRecordSeen.js +48 -9
  56. package/Types/AI/AIChatRecordSeen.mjs +2 -0
  57. package/Types/AI/AIChatTypes.d.mts +19 -1
  58. package/Types/AI/AIChatTypes.d.ts +19 -1
  59. package/Types/AI/AIChatTypes.js +44 -1
  60. package/Types/AI/AIChatTypes.mjs +3 -0
  61. package/Types/AI/AIRunAttempt.d.mts +8 -0
  62. package/Types/AI/AIRunAttempt.d.ts +8 -0
  63. package/Types/AI/AIRunAttempt.js +60 -6
  64. package/Types/AI/AIRunAttempt.mjs +3 -0
  65. package/Types/AI/AISetupActions.d.mts +9 -0
  66. package/Types/AI/AISetupActions.d.ts +9 -0
  67. package/Types/AI/AISetupActions.js +56 -0
  68. package/Types/AI/AISetupActions.mjs +10 -0
  69. package/Types/AI/CodeTask.d.mts +14 -0
  70. package/Types/AI/CodeTask.d.ts +14 -0
  71. package/Types/AI/RecordAiTokenLimit.d.mts +24 -0
  72. package/Types/AI/RecordAiTokenLimit.d.ts +24 -0
  73. package/Types/AI/RecordAiTokenLimit.js +153 -0
  74. package/Types/AI/RecordAiTokenLimit.mjs +8 -0
  75. package/Types/Accounts/SignInMessages.d.mts +8 -0
  76. package/Types/Accounts/SignInMessages.d.ts +8 -0
  77. package/Types/Accounts/SignInMessages.js +28 -0
  78. package/Types/Accounts/SignInMessages.mjs +5 -0
  79. package/Types/Analytics/ActivationMilestone.d.mts +48 -0
  80. package/Types/Analytics/ActivationMilestone.d.ts +48 -0
  81. package/Types/Analytics/ActivationMilestone.js +247 -0
  82. package/Types/Analytics/ActivationMilestone.mjs +16 -0
  83. package/Types/Analytics/ChecklistProgress.d.mts +11 -0
  84. package/Types/Analytics/ChecklistProgress.d.ts +11 -0
  85. package/Types/Analytics/ChecklistProgress.js +32 -0
  86. package/Types/Analytics/ChecklistProgress.mjs +2 -0
  87. package/Types/Analytics/ProductEvent.d.mts +61 -0
  88. package/Types/Analytics/ProductEvent.d.ts +61 -0
  89. package/Types/Analytics/ProductEvent.js +430 -0
  90. package/Types/Analytics/ProductEvent.mjs +14 -0
  91. package/Types/AuditLog/AuditLogAction.d.mts +5 -1
  92. package/Types/AuditLog/AuditLogAction.d.ts +5 -1
  93. package/Types/AuditLog/AuditLogAction.js +11 -0
  94. package/Types/AuditLog/AuditLogActionLabel.d.mts +3 -0
  95. package/Types/AuditLog/AuditLogActionLabel.d.ts +3 -0
  96. package/Types/AuditLog/AuditLogActionLabel.js +30 -0
  97. package/Types/AuditLog/AuditLogActionLabel.mjs +3 -0
  98. package/Types/AuditLog/AuditLogCoverage.d.mts +2 -1
  99. package/Types/AuditLog/AuditLogCoverage.d.ts +2 -1
  100. package/Types/AuditLog/AuditLogCoverage.js +8 -1
  101. package/Types/AuditLog/AuditLogRetention.js +7 -4
  102. package/Types/AuditLog/AuditLogSessionEvent.d.mts +45 -0
  103. package/Types/AuditLog/AuditLogSessionEvent.d.ts +45 -0
  104. package/Types/AuditLog/AuditLogSessionEvent.js +210 -0
  105. package/Types/AuditLog/AuditLogSessionEvent.mjs +14 -0
  106. package/Types/AutoRemediation/RemediationRound.d.mts +4 -0
  107. package/Types/AutoRemediation/RemediationRound.d.ts +4 -0
  108. package/Types/AutoRemediation/RemediationRound.js +19 -2
  109. package/Types/AutoRemediation/RemediationRoundName.d.mts +1 -0
  110. package/Types/AutoRemediation/RemediationRoundName.d.ts +1 -0
  111. package/Types/AutoRemediation/RemediationRoundName.js +5 -0
  112. package/Types/AutoRemediation/RemediationRoundName.mjs +1 -0
  113. package/Types/Cloud/CloudAppTelemetrySignal.d.mts +9 -0
  114. package/Types/Cloud/CloudAppTelemetrySignal.d.ts +9 -0
  115. package/Types/Cloud/CloudAppTelemetrySignal.js +41 -0
  116. package/Types/Cloud/CloudAppTelemetrySignal.mjs +4 -0
  117. package/Types/Cloud/CloudPlatform.js +7 -1
  118. package/Types/CodeRepository/CodeFileSeen.d.mts +5 -0
  119. package/Types/CodeRepository/CodeFileSeen.d.ts +5 -0
  120. package/Types/CodeRepository/CodeFileSeen.js +142 -27
  121. package/Types/CustomDomain/CustomDomainDnsCheckResult.d.mts +13 -0
  122. package/Types/CustomDomain/CustomDomainDnsCheckResult.d.ts +13 -0
  123. package/Types/CustomDomain/CustomDomainDnsCheckResult.js +80 -0
  124. package/Types/CustomDomain/CustomDomainDnsCheckResult.mjs +2 -0
  125. package/Types/CustomDomain/CustomDomainServerReadiness.d.mts +55 -0
  126. package/Types/CustomDomain/CustomDomainServerReadiness.d.ts +55 -0
  127. package/Types/CustomDomain/CustomDomainServerReadiness.js +199 -0
  128. package/Types/CustomDomain/CustomDomainServerReadiness.mjs +8 -0
  129. package/Types/CustomDomain/DnsRecordCheck.d.mts +34 -0
  130. package/Types/CustomDomain/DnsRecordCheck.d.ts +34 -0
  131. package/Types/CustomDomain/DnsRecordCheck.js +175 -0
  132. package/Types/CustomDomain/DnsRecordCheck.mjs +6 -0
  133. package/Types/CustomDomain/DnsRecordCheckWords.d.mts +35 -0
  134. package/Types/CustomDomain/DnsRecordCheckWords.d.ts +35 -0
  135. package/Types/CustomDomain/DnsRecordCheckWords.js +151 -0
  136. package/Types/CustomDomain/DnsRecordCheckWords.mjs +5 -0
  137. package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.mts +1 -0
  138. package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.ts +1 -0
  139. package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.js +11 -1
  140. package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.mjs +1 -0
  141. package/Types/DataObservability/DataCheckType.d.mts +4 -0
  142. package/Types/DataObservability/DataCheckType.d.ts +4 -0
  143. package/Types/DataObservability/DataCheckType.js +17 -0
  144. package/Types/DataObservability/DataCheckType.mjs +1 -0
  145. package/Types/DataObservability/DataLineageColumnTrail.d.mts +10 -0
  146. package/Types/DataObservability/DataLineageColumnTrail.d.ts +10 -0
  147. package/Types/DataObservability/DataLineageColumnTrail.js +152 -0
  148. package/Types/DataObservability/DataLineageColumnTrail.mjs +4 -0
  149. package/Types/DataObservability/DataLineageExpansion.d.mts +29 -0
  150. package/Types/DataObservability/DataLineageExpansion.d.ts +29 -0
  151. package/Types/DataObservability/DataLineageExpansion.js +166 -0
  152. package/Types/DataObservability/DataLineageExpansion.mjs +4 -0
  153. package/Types/DataObservability/DataObservabilityApiTypes.d.mts +1 -0
  154. package/Types/DataObservability/DataObservabilityApiTypes.d.ts +1 -0
  155. package/Types/DataObservability/DataObservabilityApiTypes.js +2 -0
  156. package/Types/DataObservability/DataTableLineage.d.mts +7 -0
  157. package/Types/DataObservability/DataTableLineage.d.ts +7 -0
  158. package/Types/DataObservability/DataTableLineage.js +15 -3
  159. package/Types/DataObservability/DataTableLineage.mjs +1 -0
  160. package/Types/Date.d.mts +22 -0
  161. package/Types/Date.d.ts +22 -0
  162. package/Types/Date.js +72 -3
  163. package/Types/DateLanguage.d.mts +7 -0
  164. package/Types/DateLanguage.d.ts +7 -0
  165. package/Types/DateLanguage.js +44 -1
  166. package/Types/DateLanguage.mjs +1 -0
  167. package/Types/Docs/DocsLanguage.d.mts +2 -0
  168. package/Types/Docs/DocsLanguage.d.ts +2 -0
  169. package/Types/Docs/DocsLanguage.js +23 -1
  170. package/Types/Docs/DocsLanguage.mjs +2 -0
  171. package/Types/Docs/GlossaryTerm.d.mts +82 -0
  172. package/Types/Docs/GlossaryTerm.d.ts +82 -0
  173. package/Types/Docs/GlossaryTerm.js +126 -0
  174. package/Types/Docs/GlossaryTerm.mjs +5 -0
  175. package/Types/Email/AmazonSesAuthenticationType.d.mts +23 -0
  176. package/Types/Email/AmazonSesAuthenticationType.d.ts +23 -0
  177. package/Types/Email/AmazonSesAuthenticationType.js +40 -0
  178. package/Types/Email/AmazonSesAuthenticationType.mjs +4 -0
  179. package/Types/Email/EmailServer.d.mts +2 -0
  180. package/Types/Email/EmailServer.d.ts +2 -0
  181. package/Types/Email/EmailTemplateType.d.mts +1 -0
  182. package/Types/Email/EmailTemplateType.d.ts +1 -0
  183. package/Types/Email/EmailTemplateType.js +2 -0
  184. package/Types/Exception/BadDataExceptionWithDetails.d.mts +6 -0
  185. package/Types/Exception/BadDataExceptionWithDetails.d.ts +6 -0
  186. package/Types/Exception/BadDataExceptionWithDetails.js +20 -0
  187. package/Types/Exception/BadDataExceptionWithDetails.mjs +2 -0
  188. package/Types/Exception/ErrorMessageRule.d.mts +4 -0
  189. package/Types/Exception/ErrorMessageRule.d.ts +4 -0
  190. package/Types/Exception/ErrorMessageRule.js +143 -0
  191. package/Types/Exception/ErrorMessageRule.mjs +5 -0
  192. package/Types/Exception/UnexplainedError.d.mts +45 -0
  193. package/Types/Exception/UnexplainedError.d.ts +45 -0
  194. package/Types/Exception/UnexplainedError.js +179 -0
  195. package/Types/Exception/UnexplainedError.mjs +11 -0
  196. package/Types/Icon/IconProp.d.mts +4 -1
  197. package/Types/Icon/IconProp.d.ts +4 -1
  198. package/Types/Icon/IconProp.js +6 -0
  199. package/Types/InstallationHealth/InstallationHealth.d.mts +122 -0
  200. package/Types/InstallationHealth/InstallationHealth.d.ts +122 -0
  201. package/Types/InstallationHealth/InstallationHealth.js +513 -0
  202. package/Types/InstallationHealth/InstallationHealth.mjs +13 -0
  203. package/Types/LLM/LLMProviderExchange.d.mts +17 -0
  204. package/Types/LLM/LLMProviderExchange.d.ts +17 -0
  205. package/Types/LLM/LLMProviderExchange.js +70 -0
  206. package/Types/LLM/LLMProviderExchange.mjs +5 -0
  207. package/Types/Monitor/CriteriaFilter.d.mts +1 -0
  208. package/Types/Monitor/CriteriaFilter.d.ts +1 -0
  209. package/Types/Monitor/CriteriaFilter.js +3 -1
  210. package/Types/Monitor/CriteriaFilterTerms.js +1 -0
  211. package/Types/Monitor/CriteriaFilterValues.d.mts +2 -0
  212. package/Types/Monitor/CriteriaFilterValues.d.ts +2 -0
  213. package/Types/Monitor/CriteriaFilterValues.js +22 -0
  214. package/Types/Monitor/EvaluationSentence.d.mts +1 -0
  215. package/Types/Monitor/EvaluationSentence.d.ts +1 -0
  216. package/Types/Monitor/EvaluationSentence.js +34 -3
  217. package/Types/Monitor/EvaluationSentence.mjs +1 -0
  218. package/Types/Monitor/RetiredEvaluationTemplates.d.mts +2 -0
  219. package/Types/Monitor/RetiredEvaluationTemplates.d.ts +2 -0
  220. package/Types/Monitor/RetiredEvaluationTemplates.js +95 -0
  221. package/Types/Monitor/RetiredEvaluationTemplates.mjs +3 -0
  222. package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.d.mts +6 -0
  223. package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.d.ts +6 -0
  224. package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.js +20 -0
  225. package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.mjs +2 -0
  226. package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.d.mts +6 -0
  227. package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.d.ts +6 -0
  228. package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.js +29 -0
  229. package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.mjs +2 -0
  230. package/Types/Monitor/SSLMonitor/SslMonitorResponse.d.mts +7 -0
  231. package/Types/Monitor/SSLMonitor/SslMonitorResponse.d.ts +7 -0
  232. package/Types/Monitor/WhoIsTold.d.mts +165 -0
  233. package/Types/Monitor/WhoIsTold.d.ts +165 -0
  234. package/Types/Monitor/WhoIsTold.js +582 -0
  235. package/Types/Monitor/WhoIsTold.mjs +17 -0
  236. package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.mts +6 -0
  237. package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.ts +6 -0
  238. package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.js +34 -0
  239. package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.mjs +2 -0
  240. package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +240 -0
  241. package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +240 -0
  242. package/Types/OnCallDutyPolicy/OnCallTestPage.js +574 -0
  243. package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +52 -0
  244. package/Types/OnCallDutyPolicy/OnCallTestPageWords.d.mts +31 -0
  245. package/Types/OnCallDutyPolicy/OnCallTestPageWords.d.ts +31 -0
  246. package/Types/OnCallDutyPolicy/OnCallTestPageWords.js +105 -0
  247. package/Types/OnCallDutyPolicy/OnCallTestPageWords.mjs +14 -0
  248. package/Types/PhoneNumberDirection.d.mts +6 -0
  249. package/Types/PhoneNumberDirection.d.ts +6 -0
  250. package/Types/PhoneNumberDirection.js +123 -0
  251. package/Types/PhoneNumberDirection.mjs +6 -0
  252. package/Types/Product/ProductKey.d.mts +58 -0
  253. package/Types/Product/ProductKey.d.ts +58 -0
  254. package/Types/Product/ProductKey.js +175 -0
  255. package/Types/Product/ProductKey.mjs +8 -0
  256. package/Types/Product/ProductPins.d.mts +10 -0
  257. package/Types/Product/ProductPins.d.ts +10 -0
  258. package/Types/Product/ProductPins.js +65 -0
  259. package/Types/Product/ProductPins.mjs +6 -0
  260. package/Types/Product/ProductUsage.d.mts +21 -0
  261. package/Types/Product/ProductUsage.d.ts +21 -0
  262. package/Types/Product/ProductUsage.js +175 -0
  263. package/Types/Product/ProductUsage.mjs +10 -0
  264. package/Types/Product/ProjectProducts.d.mts +60 -0
  265. package/Types/Product/ProjectProducts.d.ts +60 -0
  266. package/Types/Product/ProjectProducts.js +336 -0
  267. package/Types/Product/ProjectProducts.mjs +19 -0
  268. package/Types/Product/ProjectProductsAnswer.d.mts +20 -0
  269. package/Types/Product/ProjectProductsAnswer.d.ts +20 -0
  270. package/Types/Product/ProjectProductsAnswer.js +139 -0
  271. package/Types/Product/ProjectProductsAnswer.mjs +7 -0
  272. package/Types/ProductFeedback/NewGitHubIssue.d.mts +12 -0
  273. package/Types/ProductFeedback/NewGitHubIssue.d.ts +12 -0
  274. package/Types/ProductFeedback/NewGitHubIssue.js +64 -0
  275. package/Types/ProductFeedback/NewGitHubIssue.mjs +5 -0
  276. package/Types/ProductFeedback/ProductFeedback.d.mts +140 -0
  277. package/Types/ProductFeedback/ProductFeedback.d.ts +140 -0
  278. package/Types/ProductFeedback/ProductFeedback.js +517 -0
  279. package/Types/ProductFeedback/ProductFeedback.mjs +49 -0
  280. package/Types/ReadingDirection.d.mts +2 -0
  281. package/Types/ReadingDirection.d.ts +2 -0
  282. package/Types/ReadingDirection.js +83 -2
  283. package/Types/ReadingDirection.mjs +2 -0
  284. package/Types/Recommendation/RecommendationType.d.mts +2 -1
  285. package/Types/Recommendation/RecommendationType.d.ts +2 -1
  286. package/Types/Recommendation/RecommendationType.js +6 -0
  287. package/Types/Reminder/ReminderInterval.d.mts +7 -0
  288. package/Types/Reminder/ReminderInterval.d.ts +7 -0
  289. package/Types/Reminder/ReminderInterval.js +110 -0
  290. package/Types/Reminder/ReminderInterval.mjs +8 -0
  291. package/Types/Retention/ResolvedRecordRetention.d.mts +19 -0
  292. package/Types/Retention/ResolvedRecordRetention.d.ts +19 -0
  293. package/Types/Retention/ResolvedRecordRetention.js +124 -0
  294. package/Types/Retention/ResolvedRecordRetention.mjs +14 -0
  295. package/Types/RollingTime/RollingTimeUtil.d.mts +1 -0
  296. package/Types/RollingTime/RollingTimeUtil.d.ts +1 -0
  297. package/Types/RollingTime/RollingTimeUtil.js +9 -0
  298. package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.js +108 -101
  299. package/Types/ServerSending/ServerSendingStatus.d.mts +69 -0
  300. package/Types/ServerSending/ServerSendingStatus.d.ts +69 -0
  301. package/Types/ServerSending/ServerSendingStatus.js +281 -0
  302. package/Types/ServerSending/ServerSendingStatus.mjs +7 -0
  303. package/Types/ServerSending/ServerSendingWords.d.mts +9 -0
  304. package/Types/ServerSending/ServerSendingWords.d.ts +9 -0
  305. package/Types/ServerSending/ServerSendingWords.js +95 -0
  306. package/Types/ServerSending/ServerSendingWords.mjs +7 -0
  307. package/Types/ServerSetup/ServerSetupChecklist.d.mts +172 -0
  308. package/Types/ServerSetup/ServerSetupChecklist.d.ts +172 -0
  309. package/Types/ServerSetup/ServerSetupChecklist.js +735 -0
  310. package/Types/ServerSetup/ServerSetupChecklist.mjs +12 -0
  311. package/Types/ServerSetup/ServerTestSend.d.mts +35 -0
  312. package/Types/ServerSetup/ServerTestSend.d.ts +35 -0
  313. package/Types/ServerSetup/ServerTestSend.js +160 -0
  314. package/Types/ServerSetup/ServerTestSend.mjs +10 -0
  315. package/Types/SetupHealth/SetupHealth.d.mts +283 -0
  316. package/Types/SetupHealth/SetupHealth.d.ts +283 -0
  317. package/Types/SetupHealth/SetupHealth.js +1047 -0
  318. package/Types/SetupHealth/SetupHealth.mjs +46 -0
  319. package/Types/StatusPage/StatusPageSummary.d.mts +1 -0
  320. package/Types/StatusPage/StatusPageSummary.d.ts +1 -0
  321. package/Types/StatusPage/StatusPageSummary.js +3 -0
  322. package/Types/StatusPage/UptimeDailyAggregate.d.mts +25 -0
  323. package/Types/StatusPage/UptimeDailyAggregate.d.ts +25 -0
  324. package/Types/Telemetry/LlmCallKind.js +1 -1
  325. package/Types/Telemetry/TelemetryIngestionBudget.d.mts +1 -0
  326. package/Types/Telemetry/TelemetryIngestionBudget.d.ts +1 -0
  327. package/Types/Telemetry/TelemetryIngestionBudget.js +135 -2
  328. package/Types/Telemetry/TelemetryIngestionBudget.mjs +1 -0
  329. package/Types/ToolImport/ToolImportCatalog.d.mts +1 -0
  330. package/Types/ToolImport/ToolImportCatalog.d.ts +1 -0
  331. package/Types/ToolImport/ToolImportCatalog.js +54 -1
  332. package/Types/ToolImport/ToolImportCatalog.mjs +1 -0
  333. package/Types/Translator.js +64 -31
  334. package/Types/UserNotification/UserNotificationEventType.d.mts +2 -1
  335. package/Types/UserNotification/UserNotificationEventType.d.ts +2 -1
  336. package/Types/UserNotification/UserNotificationEventType.js +7 -0
  337. package/Types/UserSession/SessionEndCause.d.mts +17 -0
  338. package/Types/UserSession/SessionEndCause.d.ts +17 -0
  339. package/Types/UserSession/SessionEndCause.js +79 -0
  340. package/Types/UserSession/SessionEndCause.mjs +6 -0
  341. package/Types/UserSession/SessionSignIn.d.mts +44 -0
  342. package/Types/UserSession/SessionSignIn.d.ts +44 -0
  343. package/Types/UserSession/SessionSignIn.js +174 -0
  344. package/Types/UserSession/SessionSignIn.mjs +17 -0
  345. package/Types/WelcomeChecklist/ProjectGoal.d.mts +16 -0
  346. package/Types/WelcomeChecklist/ProjectGoal.d.ts +16 -0
  347. package/Types/WelcomeChecklist/ProjectGoal.js +94 -0
  348. package/Types/WelcomeChecklist/ProjectGoal.mjs +8 -0
  349. package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +76 -0
  350. package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +76 -0
  351. package/Types/WelcomeChecklist/WelcomeChecklist.js +344 -0
  352. package/Types/WelcomeChecklist/WelcomeChecklist.mjs +19 -0
  353. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +24 -0
  354. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +24 -0
  355. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +136 -0
  356. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.mjs +9 -0
  357. package/Types/WelcomeChecklist/WelcomeChecklistState.d.mts +27 -0
  358. package/Types/WelcomeChecklist/WelcomeChecklistState.d.ts +27 -0
  359. package/Types/WelcomeChecklist/WelcomeChecklistState.js +183 -0
  360. package/Types/WelcomeChecklist/WelcomeChecklistState.mjs +13 -0
  361. package/Types/Workflow/Documentation/AIDocumentation.js +1 -1
  362. package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.d.mts +7 -0
  363. package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.d.ts +7 -0
  364. package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.js +40 -0
  365. package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.mjs +3 -0
  366. package/Types/Workspace/WorkspaceChannelMembers.d.mts +1 -0
  367. package/Types/Workspace/WorkspaceChannelMembers.d.ts +1 -0
  368. package/Types/Workspace/WorkspaceChannelMembers.js +9 -2
  369. package/UI/Components/Dropdown/Dropdown.d.mts +1 -0
  370. package/UI/Components/Dropdown/Dropdown.d.ts +1 -0
  371. package/Utils/API.js +10 -0
  372. package/Utils/Dashboard/DashboardWidgetSorts.js +25 -4
  373. package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +37 -0
  374. package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +37 -0
  375. package/Utils/Dashboard/MonitorListWidgetFormat.js +86 -0
  376. package/Utils/Dashboard/MonitorListWidgetFormat.mjs +10 -0
  377. package/Utils/GuidedSetup/OnCallPolicyRecords.d.mts +31 -0
  378. package/Utils/GuidedSetup/OnCallPolicyRecords.d.ts +31 -0
  379. package/Utils/GuidedSetup/OnCallPolicyRecords.js +89 -0
  380. package/Utils/GuidedSetup/OnCallPolicyRecords.mjs +6 -0
  381. package/Utils/GuidedSetup/StatusPageRecords.d.mts +36 -0
  382. package/Utils/GuidedSetup/StatusPageRecords.d.ts +36 -0
  383. package/Utils/GuidedSetup/StatusPageRecords.js +105 -0
  384. package/Utils/GuidedSetup/StatusPageRecords.mjs +6 -0
  385. package/Utils/GuidedSetup/WebsiteMonitorRecords.d.mts +41 -0
  386. package/Utils/GuidedSetup/WebsiteMonitorRecords.d.ts +41 -0
  387. package/Utils/GuidedSetup/WebsiteMonitorRecords.js +204 -0
  388. package/Utils/GuidedSetup/WebsiteMonitorRecords.mjs +9 -0
  389. package/Utils/Markdown/InlineImageDataUri.d.mts +9 -0
  390. package/Utils/Markdown/InlineImageDataUri.d.ts +9 -0
  391. package/Utils/Markdown/InlineImageDataUri.js +17 -1
  392. package/Utils/Markdown/InlineImageDataUri.mjs +1 -0
  393. package/Utils/Markdown/LinkReferenceDefinitions.d.mts +12 -0
  394. package/Utils/Markdown/LinkReferenceDefinitions.d.ts +12 -0
  395. package/Utils/Markdown/LinkReferenceDefinitions.js +539 -0
  396. package/Utils/Markdown/LinkReferenceDefinitions.mjs +4 -0
  397. package/Utils/Monitor/ExternalStatusPageReading.d.mts +9 -0
  398. package/Utils/Monitor/ExternalStatusPageReading.d.ts +9 -0
  399. package/Utils/Monitor/ExternalStatusPageReading.js +77 -8
  400. package/Utils/Monitor/ExternalStatusPageReading.mjs +3 -0
  401. package/Utils/Monitor/ExternalStatusPageScope.js +17 -1
  402. package/Utils/Monitor/MonitorDestinationUtil.js +2 -1
  403. package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +2 -1
  404. package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +2 -1
  405. package/Utils/Monitor/MonitorOverviewPresentationUtil.js +10 -1
  406. package/Utils/Monitor/MonitorStatusHistoryUtil.d.mts +1 -0
  407. package/Utils/Monitor/MonitorStatusHistoryUtil.d.ts +1 -0
  408. package/Utils/Monitor/MonitorStatusHistoryUtil.js +1 -0
  409. package/Utils/Monitor/MonitorSummaryProbeUtil.d.mts +2 -0
  410. package/Utils/Monitor/MonitorSummaryProbeUtil.d.ts +2 -0
  411. package/Utils/Monitor/MonitorSummaryProbeUtil.js +13 -17
  412. package/Utils/Monitor/MonitorSummarySnapshotUtil.js +5 -3
  413. package/Utils/Monitor/MonitorUptimeSummaryUtil.d.mts +1 -1
  414. package/Utils/Monitor/MonitorUptimeSummaryUtil.d.ts +1 -1
  415. package/Utils/Monitor/MonitorUptimeSummaryUtil.js +1 -0
  416. package/Utils/Monitor/MonitoringOff.d.mts +20 -0
  417. package/Utils/Monitor/MonitoringOff.d.ts +20 -0
  418. package/Utils/Monitor/MonitoringOff.js +81 -0
  419. package/Utils/Monitor/MonitoringOff.mjs +4 -0
  420. package/Utils/Monitor/NotOperationalMonitorQuery.js +9 -7
  421. package/Utils/Monitor/StateChangeLogScreenshots.d.mts +8 -0
  422. package/Utils/Monitor/StateChangeLogScreenshots.d.ts +8 -0
  423. package/Utils/Monitor/StateChangeLogScreenshots.js +116 -0
  424. package/Utils/Monitor/StateChangeLogScreenshots.mjs +3 -0
  425. package/Utils/NetworkDevice/Naming/NamingLookup.d.mts +1 -1
  426. package/Utils/NetworkDevice/Naming/NamingLookup.d.ts +1 -1
  427. package/Utils/NetworkDevice/Naming/NamingLookup.js +14 -4
  428. package/Utils/NetworkDevice/Naming/NamingLookup.mjs +1 -0
  429. package/Utils/Slo/SloErrorBudgetPolicy.d.mts +2 -1
  430. package/Utils/Slo/SloErrorBudgetPolicy.d.ts +2 -1
  431. package/Utils/Slo/SloErrorBudgetPolicy.js +8 -2
  432. package/Utils/Slo/SloListWidgetFormat.d.mts +7 -1
  433. package/Utils/Slo/SloListWidgetFormat.d.ts +7 -1
  434. package/Utils/Slo/SloListWidgetFormat.js +20 -26
  435. package/Utils/Slo/SloOverviewText.d.mts +6 -1
  436. package/Utils/Slo/SloOverviewText.d.ts +6 -1
  437. package/Utils/Slo/SloOverviewText.js +3 -3
  438. package/Utils/Slo/SloUtil.d.mts +18 -9
  439. package/Utils/Slo/SloUtil.d.ts +18 -9
  440. package/Utils/Slo/SloUtil.js +47 -10
  441. package/Utils/Slo/SloWidgetFormat.d.mts +69 -11
  442. package/Utils/Slo/SloWidgetFormat.d.ts +69 -11
  443. package/Utils/Slo/SloWidgetFormat.js +198 -50
  444. package/Utils/Slo/SloWidgetFormat.mjs +7 -0
  445. package/Utils/StatusPage/FrozenMonitorResources.d.mts +41 -0
  446. package/Utils/StatusPage/FrozenMonitorResources.d.ts +41 -0
  447. package/Utils/StatusPage/FrozenMonitorResources.js +155 -0
  448. package/Utils/StatusPage/FrozenMonitorResources.mjs +4 -0
  449. package/Utils/StatusPage/GroupNestingLayout.d.mts +2 -0
  450. package/Utils/StatusPage/GroupNestingLayout.d.ts +2 -0
  451. package/Utils/StatusPage/GroupNestingLayout.js +12 -0
  452. package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.d.mts +48 -0
  453. package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.d.ts +48 -0
  454. package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.js +181 -0
  455. package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.mjs +2 -0
  456. package/Utils/StatusPage/ResourceExplorer.d.mts +1 -0
  457. package/Utils/StatusPage/ResourceExplorer.d.ts +1 -0
  458. package/Utils/StatusPage/ResourceExplorer.js +11 -1
  459. package/Utils/StatusPage/ResourceUptime.d.mts +6 -1
  460. package/Utils/StatusPage/ResourceUptime.d.ts +6 -1
  461. package/Utils/StatusPage/ResourceUptime.js +31 -6
  462. package/Utils/StatusPage/StatusPageSummaryBuilder.d.mts +1 -0
  463. package/Utils/StatusPage/StatusPageSummaryBuilder.d.ts +1 -0
  464. package/Utils/StatusPage/StatusPageSummaryBuilder.js +12 -1
  465. package/Utils/StatusPage/StatusPageUptimeTimezone.d.mts +41 -0
  466. package/Utils/StatusPage/StatusPageUptimeTimezone.d.ts +41 -0
  467. package/Utils/StatusPage/StatusPageUptimeTimezone.js +114 -0
  468. package/Utils/StatusPage/StatusPageUptimeTimezone.mjs +2 -0
  469. package/Utils/StatusPage/UptimeDailyAggregateUtil.d.mts +3 -1
  470. package/Utils/StatusPage/UptimeDailyAggregateUtil.d.ts +3 -1
  471. package/Utils/StatusPage/UptimeDailyAggregateUtil.js +69 -50
  472. package/Utils/Telemetry/CloudInstanceIdentity.js +12 -7
  473. package/Utils/Uptime/DayUptimeGraphUtil.d.mts +8 -0
  474. package/Utils/Uptime/DayUptimeGraphUtil.d.ts +8 -0
  475. package/Utils/Uptime/DayUptimeGraphUtil.js +41 -6
  476. package/Utils/Uptime/UptimeMaintenanceUtil.d.mts +3 -0
  477. package/Utils/Uptime/UptimeMaintenanceUtil.d.ts +3 -0
  478. package/Utils/Uptime/UptimeMaintenanceUtil.js +49 -0
  479. package/Utils/Uptime/UptimeUtil.d.mts +38 -1
  480. package/Utils/Uptime/UptimeUtil.d.ts +38 -1
  481. package/Utils/Uptime/UptimeUtil.js +270 -75
  482. package/Utils/Uptime/WorstStatusTimeline.d.mts +31 -0
  483. package/Utils/Uptime/WorstStatusTimeline.d.ts +31 -0
  484. package/Utils/Uptime/WorstStatusTimeline.js +190 -0
  485. package/Utils/Uptime/WorstStatusTimeline.mjs +2 -0
  486. package/Utils/Workspace/WorkspaceSummarySetup.d.mts +25 -0
  487. package/Utils/Workspace/WorkspaceSummarySetup.d.ts +25 -0
  488. package/Utils/Workspace/WorkspaceSummarySetup.js +215 -0
  489. package/Utils/Workspace/WorkspaceSummarySetup.mjs +11 -0
  490. package/package.json +1 -1
  491. package/Utils/StatusPage/ArchivedMonitorResources.d.mts +0 -10
  492. package/Utils/StatusPage/ArchivedMonitorResources.d.ts +0 -10
  493. package/Utils/StatusPage/ArchivedMonitorResources.js +0 -33
  494. package/Utils/StatusPage/ArchivedMonitorResources.mjs +0 -2
@@ -181,7 +181,7 @@ class AuditLog extends AnalyticsBaseModel_1.default {
181
181
  const actionColumn = new TableColumn_1.default({
182
182
  key: "action",
183
183
  title: "Action",
184
- description: "The action performed: Create, Update, Delete, or Download (a packet capture file was downloaded).",
184
+ description: "The action performed: Create, Update, Delete, or Download (a packet capture file was downloaded); for a person's session, SignIn, SignOut, SessionTimeout or SessionRevoked.",
185
185
  required: true,
186
186
  type: TableColumnType_1.default.Text,
187
187
  accessControl: {
@@ -21,6 +21,11 @@ export default class CloudApp extends BaseModel {
21
21
  currentRevisionSince?: Date;
22
22
  previousRevision?: string;
23
23
  lastSeenAt?: Date;
24
+ tracesLastReceivedAt?: Date;
25
+ logsLastReceivedAt?: Date;
26
+ metricsLastReceivedAt?: Date;
27
+ signalArrivalsTrackedSince?: Date;
28
+ providerResourceId?: string;
24
29
  createdByUserId?: ObjectID;
25
30
  deletedByUser?: User;
26
31
  deletedByUserId?: ObjectID;
@@ -21,6 +21,11 @@ export default class CloudApp extends BaseModel {
21
21
  currentRevisionSince?: Date;
22
22
  previousRevision?: string;
23
23
  lastSeenAt?: Date;
24
+ tracesLastReceivedAt?: Date;
25
+ logsLastReceivedAt?: Date;
26
+ metricsLastReceivedAt?: Date;
27
+ signalArrivalsTrackedSince?: Date;
28
+ providerResourceId?: string;
24
29
  createdByUserId?: ObjectID;
25
30
  deletedByUser?: User;
26
31
  deletedByUserId?: ObjectID;
@@ -73,6 +73,40 @@ let CloudApp = class CloudApp extends DatabaseBaseModel_1.default {
73
73
  this.currentRevisionSince = undefined;
74
74
  this.previousRevision = undefined;
75
75
  this.lastSeenAt = undefined;
76
+ /*
77
+ * When each kind of telemetry was last received for this app (issue
78
+ * #6770), as a RUM application keeps them (RumApplication's
79
+ * <signal>LastReceivedAt): an app's page reads them to tell what it
80
+ * measured from what it never received. Its requests, error rate and
81
+ * latency come from its traces, so an app that sends only metrics says
82
+ * "No traces received" where it said "0 requests", and its setup card
83
+ * says what to add.
84
+ *
85
+ * Written by the ingest of each kind as root, at most once per kind per
86
+ * maintenance-fence window (CloudAppService.recordApp, from
87
+ * OtelIngestBaseService), so each trails live traffic by the same few
88
+ * minutes lastSeenAt does. No create/update ACL: nobody sets them by hand.
89
+ */
90
+ this.tracesLastReceivedAt = undefined;
91
+ this.logsLastReceivedAt = undefined;
92
+ this.metricsLastReceivedAt = undefined;
93
+ /*
94
+ * Since when the three columns above are kept: when the app was created,
95
+ * or - for an app that existed before they were - when this install
96
+ * started keeping them (the migration gives every existing row that
97
+ * moment). A column that is still empty means "nothing of that kind since
98
+ * this date", never "nothing ever": an app that sent traces only before
99
+ * the upgrade has no tracesLastReceivedAt, and its page says "no traces
100
+ * received since <this date>", which stays true.
101
+ */
102
+ this.signalArrivalsTrackedSince = undefined;
103
+ /*
104
+ * The cloud provider's own id for the app, when its telemetry carries
105
+ * cloud.resource_id - the Azure App Service detectors set it to the
106
+ * site's resource id. It is what links the app to the Cloud Resource
107
+ * Azure Monitor reports it as, whose platform metrics its page shows.
108
+ */
109
+ this.providerResourceId = undefined;
76
110
  this.createdByUserId = undefined;
77
111
  this.deletedByUser = undefined;
78
112
  this.deletedByUserId = undefined;
@@ -340,6 +374,84 @@ __decorate([
340
374
  }),
341
375
  __metadata("design:type", Date)
342
376
  ], CloudApp.prototype, "lastSeenAt", void 0);
377
+ __decorate([
378
+ (0, ColumnAccessControl_1.default)({ create: [], read: READ_PERMISSIONS, update: [] }),
379
+ (0, TableColumn_1.default)({
380
+ required: false,
381
+ type: TableColumnType_1.default.Date,
382
+ canReadOnRelationQuery: true,
383
+ title: "Traces Last Received At",
384
+ description: "When spans last arrived from this app.",
385
+ }),
386
+ (0, typeorm_1.Column)({
387
+ nullable: true,
388
+ type: ColumnType_1.default.Date,
389
+ }),
390
+ __metadata("design:type", Date)
391
+ ], CloudApp.prototype, "tracesLastReceivedAt", void 0);
392
+ __decorate([
393
+ (0, ColumnAccessControl_1.default)({ create: [], read: READ_PERMISSIONS, update: [] }),
394
+ (0, TableColumn_1.default)({
395
+ required: false,
396
+ type: TableColumnType_1.default.Date,
397
+ canReadOnRelationQuery: true,
398
+ title: "Logs Last Received At",
399
+ description: "When logs last arrived from this app.",
400
+ }),
401
+ (0, typeorm_1.Column)({
402
+ nullable: true,
403
+ type: ColumnType_1.default.Date,
404
+ }),
405
+ __metadata("design:type", Date)
406
+ ], CloudApp.prototype, "logsLastReceivedAt", void 0);
407
+ __decorate([
408
+ (0, ColumnAccessControl_1.default)({ create: [], read: READ_PERMISSIONS, update: [] }),
409
+ (0, TableColumn_1.default)({
410
+ required: false,
411
+ type: TableColumnType_1.default.Date,
412
+ canReadOnRelationQuery: true,
413
+ title: "Metrics Last Received At",
414
+ description: "When metrics last arrived from this app.",
415
+ }),
416
+ (0, typeorm_1.Column)({
417
+ nullable: true,
418
+ type: ColumnType_1.default.Date,
419
+ }),
420
+ __metadata("design:type", Date)
421
+ ], CloudApp.prototype, "metricsLastReceivedAt", void 0);
422
+ __decorate([
423
+ (0, ColumnAccessControl_1.default)({ create: [], read: READ_PERMISSIONS, update: [] }),
424
+ (0, TableColumn_1.default)({
425
+ required: false,
426
+ type: TableColumnType_1.default.Date,
427
+ canReadOnRelationQuery: true,
428
+ title: "Signal Arrivals Tracked Since",
429
+ description: "Since when OneUptime has recorded when traces, logs and metrics last arrived from this app.",
430
+ }),
431
+ (0, typeorm_1.Column)({
432
+ nullable: true,
433
+ type: ColumnType_1.default.Date,
434
+ default: () => {
435
+ return "now()";
436
+ },
437
+ }),
438
+ __metadata("design:type", Date)
439
+ ], CloudApp.prototype, "signalArrivalsTrackedSince", void 0);
440
+ __decorate([
441
+ (0, ColumnAccessControl_1.default)({ create: [], read: READ_PERMISSIONS, update: [] }),
442
+ (0, TableColumn_1.default)({
443
+ required: false,
444
+ type: TableColumnType_1.default.VeryLongText,
445
+ title: "Provider Resource ID",
446
+ description: "The cloud provider's id for the app (cloud.resource_id), such as an Azure App Service app's resource id.",
447
+ example: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-prod/providers/Microsoft.Web/sites/checkout",
448
+ }),
449
+ (0, typeorm_1.Column)({
450
+ nullable: true,
451
+ type: ColumnType_1.default.VeryLongText,
452
+ }),
453
+ __metadata("design:type", String)
454
+ ], CloudApp.prototype, "providerResourceId", void 0);
343
455
  __decorate([
344
456
  (0, ColumnAccessControl_1.default)({ create: [], read: READ_PERMISSIONS, update: [] }),
345
457
  (0, TableColumn_1.default)({
@@ -1,6 +1,7 @@
1
1
  import GlobalConfigModel from "./DatabaseBaseModel/GlobalConfig.mjs";
2
2
  import Hostname from "../../Types/API/Hostname.mjs";
3
3
  import Email from "../../Types/Email.mjs";
4
+ import AmazonSesAuthenticationType from "../../Types/Email/AmazonSesAuthenticationType.mjs";
4
5
  import MailgunRegion from "../../Types/Email/MailgunRegion.mjs";
5
6
  import MailTransportType from "../../Types/Email/MailTransportType.mjs";
6
7
  import OAuthProviderType from "../../Types/Email/OAuthProviderType.mjs";
@@ -69,6 +70,7 @@ export default class GlobalConfig extends GlobalConfigModel {
69
70
  sendgridApiKey?: string;
70
71
  sendgridFromEmail?: Email;
71
72
  sendgridFromName?: string;
73
+ amazonSesAuthenticationType?: AmazonSesAuthenticationType;
72
74
  amazonSesAccessKeyId?: string;
73
75
  amazonSesSecretAccessKey?: string;
74
76
  amazonSesRegion?: string;
@@ -151,4 +153,7 @@ export default class GlobalConfig extends GlobalConfigModel {
151
153
  telemetryIngestionBudgetWarningPercent?: number;
152
154
  telemetryIngestionBudgetResetTime?: string;
153
155
  telemetryIngestionBudgetResetTimezone?: string;
156
+ serverSendingHealth?: JSONObject;
157
+ serverSetupChoices?: JSONObject;
158
+ disableProductFeedback?: boolean;
154
159
  }
@@ -1,6 +1,7 @@
1
1
  import GlobalConfigModel from "../../Models/DatabaseModels/DatabaseBaseModel/GlobalConfig";
2
2
  import Hostname from "../../Types/API/Hostname";
3
3
  import Email from "../../Types/Email";
4
+ import AmazonSesAuthenticationType from "../../Types/Email/AmazonSesAuthenticationType";
4
5
  import MailgunRegion from "../../Types/Email/MailgunRegion";
5
6
  import MailTransportType from "../../Types/Email/MailTransportType";
6
7
  import OAuthProviderType from "../../Types/Email/OAuthProviderType";
@@ -69,6 +70,7 @@ export default class GlobalConfig extends GlobalConfigModel {
69
70
  sendgridApiKey?: string;
70
71
  sendgridFromEmail?: Email;
71
72
  sendgridFromName?: string;
73
+ amazonSesAuthenticationType?: AmazonSesAuthenticationType;
72
74
  amazonSesAccessKeyId?: string;
73
75
  amazonSesSecretAccessKey?: string;
74
76
  amazonSesRegion?: string;
@@ -151,4 +153,7 @@ export default class GlobalConfig extends GlobalConfigModel {
151
153
  telemetryIngestionBudgetWarningPercent?: number;
152
154
  telemetryIngestionBudgetResetTime?: string;
153
155
  telemetryIngestionBudgetResetTimezone?: string;
156
+ serverSendingHealth?: JSONObject;
157
+ serverSetupChoices?: JSONObject;
158
+ disableProductFeedback?: boolean;
154
159
  }
@@ -26,6 +26,7 @@ const TableColumn_1 = __importDefault(require("../../Types/Database/TableColumn"
26
26
  const TableColumnType_1 = __importDefault(require("../../Types/Database/TableColumnType"));
27
27
  const TableMetadata_1 = __importDefault(require("../../Types/Database/TableMetadata"));
28
28
  const Email_1 = __importDefault(require("../../Types/Email"));
29
+ const AmazonSesAuthenticationType_1 = __importDefault(require("../../Types/Email/AmazonSesAuthenticationType"));
29
30
  const MailgunRegion_1 = __importDefault(require("../../Types/Email/MailgunRegion"));
30
31
  const MailTransportType_1 = __importDefault(require("../../Types/Email/MailTransportType"));
31
32
  const OAuthProviderType_1 = __importDefault(require("../../Types/Email/OAuthProviderType"));
@@ -178,6 +179,14 @@ let GlobalConfig = class GlobalConfig extends GlobalConfig_1.default {
178
179
  * Email Server Type keeps each provider's settings as they were. Every
179
180
  * key is encrypted at rest.
180
181
  */
182
+ /*
183
+ * How the server signs in to Amazon SES: with the access key below, or
184
+ * as the IAM role AWS gives the server itself (#7000), when no key is
185
+ * stored at all. Never set, it signs in with the access key, as every
186
+ * server did before there was a choice. Saving the IAM role clears the
187
+ * access key (GlobalConfigService).
188
+ */
189
+ this.amazonSesAuthenticationType = undefined;
181
190
  this.amazonSesAccessKeyId = undefined;
182
191
  this.amazonSesSecretAccessKey = undefined;
183
192
  this.amazonSesRegion = undefined;
@@ -326,6 +335,36 @@ let GlobalConfig = class GlobalConfig extends GlobalConfig_1.default {
326
335
  this.telemetryIngestionBudgetWarningPercent = undefined;
327
336
  this.telemetryIngestionBudgetResetTime = undefined;
328
337
  this.telemetryIngestionBudgetResetTimezone = undefined;
338
+ /*
339
+ * What the server remembers of its own last sends, per channel (email,
340
+ * SMS, calls, push): when one last went out, when one last failed, since
341
+ * when they have been failing and why (Types/ServerSending/
342
+ * ServerSendingStatus). Written by the senders as it changes, and started
343
+ * again when a channel's settings are saved; read for whether the server
344
+ * can send (ServerSendingStatus). Written by OneUptime only (isRoot):
345
+ * GlobalConfigService refuses a master admin's write through the CRUD API.
346
+ */
347
+ this.serverSendingHealth = undefined;
348
+ /*
349
+ * What the server's admins chose on its setup checklist (Types/ServerSetup/
350
+ * ServerSetupChecklist): a check the server does without ("We will use
351
+ * email and push only"), one done some way the server cannot see ("This
352
+ * server is backed up"), with who chose it and when, and each admin's
353
+ * "Hide" of the card. Everything else on the checklist is worked out from
354
+ * the server's real state. Written by OneUptime only (isRoot), through the
355
+ * checklist's own routes: GlobalConfigService refuses a write through the
356
+ * CRUD API.
357
+ */
358
+ this.serverSetupChoices = undefined;
359
+ /*
360
+ * Whether OneUptime asks people how things went (issue #6832): the
361
+ * question at the end of a guided setup, Was this clear? and the
362
+ * first-week check-in, and whether Give feedback is in Help. On unless
363
+ * a master admin turns it off (Admin Dashboard > Feedback): the answers
364
+ * stay on this server either way (ProductFeedback). Off, nothing asks,
365
+ * nothing is offered, and ProductFeedbackAPI takes no answer.
366
+ */
367
+ this.disableProductFeedback = undefined;
329
368
  }
330
369
  };
331
370
  __decorate([
@@ -1249,6 +1288,25 @@ __decorate([
1249
1288
  }),
1250
1289
  __metadata("design:type", String)
1251
1290
  ], GlobalConfig.prototype, "sendgridFromName", void 0);
1291
+ __decorate([
1292
+ (0, ColumnAccessControl_1.default)({
1293
+ create: [],
1294
+ read: [],
1295
+ update: [],
1296
+ }),
1297
+ (0, TableColumn_1.default)({
1298
+ type: TableColumnType_1.default.ShortText,
1299
+ allowedValues: Object.values(AmazonSesAuthenticationType_1.default),
1300
+ title: "Amazon SES Authentication Type",
1301
+ description: "How the server signs in to Amazon SES: with an IAM user's access key, or as the IAM role AWS gives the server (IAM roles for service accounts or EKS Pod Identity, an ECS task role, an EC2 instance profile), with no key stored. Access Key when not set.",
1302
+ }),
1303
+ (0, typeorm_1.Column)({
1304
+ type: ColumnType_1.default.ShortText,
1305
+ length: ColumnLength_1.default.ShortText,
1306
+ nullable: true,
1307
+ }),
1308
+ __metadata("design:type", String)
1309
+ ], GlobalConfig.prototype, "amazonSesAuthenticationType", void 0);
1252
1310
  __decorate([
1253
1311
  (0, ColumnAccessControl_1.default)({
1254
1312
  create: [],
@@ -2807,6 +2865,59 @@ __decorate([
2807
2865
  }),
2808
2866
  __metadata("design:type", String)
2809
2867
  ], GlobalConfig.prototype, "telemetryIngestionBudgetResetTimezone", void 0);
2868
+ __decorate([
2869
+ (0, ColumnAccessControl_1.default)({
2870
+ create: [],
2871
+ read: [],
2872
+ update: [],
2873
+ }),
2874
+ (0, TableColumn_1.default)({
2875
+ type: TableColumnType_1.default.JSON,
2876
+ title: "Server Sending Health",
2877
+ description: "What this server remembers of its own last emails, SMS, calls and push notifications: when one last went out, when one last failed, since when they have been failing and why.",
2878
+ }),
2879
+ (0, typeorm_1.Column)({
2880
+ type: ColumnType_1.default.JSON,
2881
+ nullable: true,
2882
+ }),
2883
+ __metadata("design:type", Object)
2884
+ ], GlobalConfig.prototype, "serverSendingHealth", void 0);
2885
+ __decorate([
2886
+ (0, ColumnAccessControl_1.default)({
2887
+ create: [],
2888
+ read: [],
2889
+ update: [],
2890
+ }),
2891
+ (0, TableColumn_1.default)({
2892
+ type: TableColumnType_1.default.JSON,
2893
+ title: "Server Setup Choices",
2894
+ description: "What this server's admins chose on its setup checklist: checks it does without, checks done some way the server cannot see, and who hid the checklist's card.",
2895
+ }),
2896
+ (0, typeorm_1.Column)({
2897
+ type: ColumnType_1.default.JSON,
2898
+ nullable: true,
2899
+ }),
2900
+ __metadata("design:type", Object)
2901
+ ], GlobalConfig.prototype, "serverSetupChoices", void 0);
2902
+ __decorate([
2903
+ (0, ColumnAccessControl_1.default)({
2904
+ create: [],
2905
+ read: [],
2906
+ update: [],
2907
+ }),
2908
+ (0, TableColumn_1.default)({
2909
+ type: TableColumnType_1.default.Boolean,
2910
+ title: "Disable Product Feedback",
2911
+ description: "When enabled, OneUptime asks nobody how things went and offers no Give feedback: no question at the end of a guided setup, no Was this clear?, no first-week check-in.",
2912
+ defaultValue: false,
2913
+ }),
2914
+ (0, typeorm_1.Column)({
2915
+ type: ColumnType_1.default.Boolean,
2916
+ nullable: true,
2917
+ default: false,
2918
+ }),
2919
+ __metadata("design:type", Boolean)
2920
+ ], GlobalConfig.prototype, "disableProductFeedback", void 0);
2810
2921
  GlobalConfig = __decorate([
2811
2922
  (0, TableMetadata_1.default)({
2812
2923
  tableName: "GlobalConfig",
@@ -131,6 +131,9 @@ const RumSessionReplayView_1 = __importDefault(require("./RumSessionReplayView")
131
131
  const RumSessionErasureRequest_1 = __importDefault(require("./RumSessionErasureRequest"));
132
132
  const RumSessionPin_1 = __importDefault(require("./RumSessionPin"));
133
133
  const RumProductAnalyticsSavedView_1 = __importDefault(require("./RumProductAnalyticsSavedView"));
134
+ // Activation milestones of a project (issue #6830)
135
+ const ProjectMilestone_1 = __importDefault(require("./ProjectMilestone"));
136
+ const ProjectUserPreference_1 = __importDefault(require("./ProjectUserPreference"));
134
137
  // API Keys
135
138
  const ApiKey_1 = __importDefault(require("./ApiKey"));
136
139
  const ApiKeyCustomRole_1 = __importDefault(require("./ApiKeyCustomRole"));
@@ -147,6 +150,7 @@ const EmailVerificationToken_1 = __importDefault(require("./EmailVerificationTok
147
150
  const File_1 = __importDefault(require("./File"));
148
151
  const GlobalConfig_1 = __importDefault(require("./GlobalConfig"));
149
152
  const InstanceHealthLog_1 = __importDefault(require("./InstanceHealthLog"));
153
+ const ProductFeedback_1 = __importDefault(require("./ProductFeedback"));
150
154
  const InstanceReceivingPeriod_1 = __importDefault(require("./InstanceReceivingPeriod"));
151
155
  const InstanceTokenSigningKey_1 = __importDefault(require("./InstanceTokenSigningKey"));
152
156
  const GreenlockCertificate_1 = __importDefault(require("./GreenlockCertificate"));
@@ -1009,6 +1013,7 @@ const AllModelTypes = [
1009
1013
  OpenSourceDeployment_1.default,
1010
1014
  GlobalConfig_1.default,
1011
1015
  InstanceHealthLog_1.default,
1016
+ ProductFeedback_1.default,
1012
1017
  InstanceReceivingPeriod_1.default,
1013
1018
  InstanceTokenSigningKey_1.default,
1014
1019
  MonitorGroup_1.default,
@@ -1238,6 +1243,8 @@ const AllModelTypes = [
1238
1243
  RumSessionErasureRequest_1.default,
1239
1244
  RumSessionPin_1.default,
1240
1245
  RumProductAnalyticsSavedView_1.default,
1246
+ ProjectMilestone_1.default,
1247
+ ProjectUserPreference_1.default,
1241
1248
  DeletedProject_1.default,
1242
1249
  MarketplaceSubscription_1.default,
1243
1250
  MarketplaceUsageReport_1.default,
@@ -528,6 +528,13 @@ __decorate([
528
528
  isDefaultValueColumn: true,
529
529
  required: true,
530
530
  type: TableColumnType_1.default.Boolean,
531
+ /*
532
+ * Read with a record that names the monitor - a network device bound to
533
+ * it, a network link it watches - as with its current status: an
534
+ * archived monitor's status is frozen, and what reads the record must be
535
+ * able to tell (Utils/Monitor/MonitoringOff.isMonitored).
536
+ */
537
+ canReadOnRelationQuery: true,
531
538
  title: "Is Archived",
532
539
  description: "Archived monitors are hidden from monitor lists and status pages, are not checked, and open no incidents or alerts. Unarchiving resumes monitoring.",
533
540
  defaultValue: false,
@@ -2071,6 +2078,13 @@ __decorate([
2071
2078
  type: TableColumnType_1.default.Boolean,
2072
2079
  required: true,
2073
2080
  isDefaultValueColumn: true,
2081
+ /*
2082
+ * Read with a record that names the monitor - a network device bound to
2083
+ * it, a network link it watches - as with its current status: while
2084
+ * its monitoring is off that status is frozen, and what reads the
2085
+ * record must be able to tell (Utils/Monitor/MonitoringOff).
2086
+ */
2087
+ canReadOnRelationQuery: true,
2074
2088
  title: "Disable Monitoring",
2075
2089
  description: "Disable active monitoring for this resource?",
2076
2090
  defaultValue: false,
@@ -17,6 +17,7 @@ export default class MonitorStatusTimeline extends BaseModel {
17
17
  monitorStatus?: MonitorStatus;
18
18
  monitorStatusId?: ObjectID;
19
19
  isOwnerNotified?: boolean;
20
+ isMonitoringOff?: boolean;
20
21
  statusChangeLog?: JSONObject;
21
22
  rootCause?: string;
22
23
  endsAt?: Date;
@@ -17,6 +17,7 @@ export default class MonitorStatusTimeline extends BaseModel {
17
17
  monitorStatus?: MonitorStatus;
18
18
  monitorStatusId?: ObjectID;
19
19
  isOwnerNotified?: boolean;
20
+ isMonitoringOff?: boolean;
20
21
  statusChangeLog?: JSONObject;
21
22
  rootCause?: string;
22
23
  endsAt?: Date;
@@ -49,6 +49,17 @@ let MonitorStatusTimeline = class MonitorStatusTimeline extends DatabaseBaseMode
49
49
  this.monitorStatus = undefined;
50
50
  this.monitorStatusId = undefined;
51
51
  this.isOwnerNotified = undefined;
52
+ /*
53
+ * Whether the monitor's monitoring was turned off (Monitor
54
+ * disableActiveMonitoring) for the time this status event covers. Nothing
55
+ * checked the monitor then, so the status is only what its last check saw
56
+ * before that: uptime, status page bars, SLOs and monitor group graphs
57
+ * leave the time out instead of counting it as that status (issues #6480
58
+ * and #6987). OneUptime decides it, never a write
59
+ * (MonitorStatusTimelineService): turning monitoring off or on starts a
60
+ * status event of its own, with the status the monitor holds.
61
+ */
62
+ this.isMonitoringOff = undefined;
52
63
  this.statusChangeLog = undefined;
53
64
  this.rootCause = undefined;
54
65
  this.endsAt = undefined;
@@ -459,6 +470,38 @@ __decorate([
459
470
  }),
460
471
  __metadata("design:type", Boolean)
461
472
  ], MonitorStatusTimeline.prototype, "isOwnerNotified", void 0);
473
+ __decorate([
474
+ (0, ColumnAccessControl_1.default)({
475
+ create: [],
476
+ read: [
477
+ Permission_1.default.ProjectOwner,
478
+ Permission_1.default.ProjectAdmin,
479
+ Permission_1.default.ProjectMember,
480
+ Permission_1.default.Viewer,
481
+ Permission_1.default.MonitorAdmin,
482
+ Permission_1.default.MonitorMember,
483
+ Permission_1.default.MonitorViewer,
484
+ Permission_1.default.ReadMonitorStatusTimeline,
485
+ ],
486
+ update: [],
487
+ }),
488
+ (0, TableColumn_1.default)({
489
+ type: TableColumnType_1.default.Boolean,
490
+ computed: true,
491
+ required: true,
492
+ isDefaultValueColumn: true,
493
+ title: "Monitoring Off",
494
+ description: "Was the monitor's monitoring turned off for this status event? Uptime, status pages and SLOs leave this time out.",
495
+ defaultValue: false,
496
+ example: false,
497
+ }),
498
+ (0, typeorm_1.Column)({
499
+ type: ColumnType_1.default.Boolean,
500
+ nullable: false,
501
+ default: false,
502
+ }),
503
+ __metadata("design:type", Boolean)
504
+ ], MonitorStatusTimeline.prototype, "isMonitoringOff", void 0);
462
505
  __decorate([
463
506
  (0, ColumnAccessControl_1.default)({
464
507
  create: [],
@@ -8,6 +8,7 @@ import BaseModel from "./DatabaseBaseModel/DatabaseBaseModel.mjs";
8
8
  import ObjectID from "../../Types/ObjectID.mjs";
9
9
  import OnCallDutyPolicyStatus from "../../Types/OnCallDutyPolicy/OnCallDutyPolicyStatus.mjs";
10
10
  import { OnCallPolicyAiHoldOutcome } from "../../Types/OnCallDutyPolicy/OnCallPolicyAiHold.mjs";
11
+ import { OnCallTestPageRecordKind } from "../../Types/OnCallDutyPolicy/OnCallTestPage.mjs";
11
12
  import UserNotificationEventType from "../../Types/UserNotification/UserNotificationEventType.mjs";
12
13
  import Alert from "./Alert.mjs";
13
14
  import AlertEpisode from "./AlertEpisode.mjs";
@@ -55,4 +56,7 @@ export default class OnCallDutyPolicyExecutionLog extends BaseModel {
55
56
  triggeredByWorkflowName?: string;
56
57
  pageMessage?: string;
57
58
  isObserverPage?: boolean;
59
+ testPageRecordKind?: OnCallTestPageRecordKind;
60
+ testPageSeverityId?: ObjectID;
61
+ testPageWalksEscalation?: boolean;
58
62
  }
@@ -8,6 +8,7 @@ import BaseModel from "./DatabaseBaseModel/DatabaseBaseModel";
8
8
  import ObjectID from "../../Types/ObjectID";
9
9
  import OnCallDutyPolicyStatus from "../../Types/OnCallDutyPolicy/OnCallDutyPolicyStatus";
10
10
  import { OnCallPolicyAiHoldOutcome } from "../../Types/OnCallDutyPolicy/OnCallPolicyAiHold";
11
+ import { OnCallTestPageRecordKind } from "../../Types/OnCallDutyPolicy/OnCallTestPage";
11
12
  import UserNotificationEventType from "../../Types/UserNotification/UserNotificationEventType";
12
13
  import Alert from "./Alert";
13
14
  import AlertEpisode from "./AlertEpisode";
@@ -55,4 +56,7 @@ export default class OnCallDutyPolicyExecutionLog extends BaseModel {
55
56
  triggeredByWorkflowName?: string;
56
57
  pageMessage?: string;
57
58
  isObserverPage?: boolean;
59
+ testPageRecordKind?: OnCallTestPageRecordKind;
60
+ testPageSeverityId?: ObjectID;
61
+ testPageWalksEscalation?: boolean;
58
62
  }