@oneuptime/common 14.0.109 → 14.1.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 (578) hide show
  1. package/Models/AnalyticsModels/SecurityEvent.js +1 -1
  2. package/Models/DatabaseModels/AIInsight.js +2 -2
  3. package/Models/DatabaseModels/AIRunRecording.d.mts +12 -0
  4. package/Models/DatabaseModels/AIRunRecording.d.ts +12 -0
  5. package/Models/DatabaseModels/AIRunRecording.js +181 -0
  6. package/Models/DatabaseModels/AIRunRecording.mjs +2 -0
  7. package/Models/DatabaseModels/Alert.js +20 -4
  8. package/Models/DatabaseModels/AlertEpisode.js +2 -2
  9. package/Models/DatabaseModels/AlertEpisodeOnCallRule.js +3 -3
  10. package/Models/DatabaseModels/AlertGroupingRule.d.mts +1 -0
  11. package/Models/DatabaseModels/AlertGroupingRule.d.ts +1 -0
  12. package/Models/DatabaseModels/AlertGroupingRule.js +48 -2
  13. package/Models/DatabaseModels/AlertOnCallRule.js +3 -3
  14. package/Models/DatabaseModels/AlertSeverity.js +13 -4
  15. package/Models/DatabaseModels/AlertState.js +1 -1
  16. package/Models/DatabaseModels/CallLog.js +12 -12
  17. package/Models/DatabaseModels/DataStore.js +9 -0
  18. package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.mts +2 -0
  19. package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.ts +2 -0
  20. package/Models/DatabaseModels/EmailLog.js +14 -14
  21. package/Models/DatabaseModels/Form.js +3 -3
  22. package/Models/DatabaseModels/FormSubmission.js +6 -6
  23. package/Models/DatabaseModels/GlobalConfig.d.mts +1 -0
  24. package/Models/DatabaseModels/GlobalConfig.d.ts +1 -0
  25. package/Models/DatabaseModels/GlobalConfig.js +74 -45
  26. package/Models/DatabaseModels/Incident.js +20 -4
  27. package/Models/DatabaseModels/IncidentEpisode.js +2 -2
  28. package/Models/DatabaseModels/IncidentEpisodeOnCallRule.js +3 -3
  29. package/Models/DatabaseModels/IncidentGroupingRule.d.mts +1 -0
  30. package/Models/DatabaseModels/IncidentGroupingRule.d.ts +1 -0
  31. package/Models/DatabaseModels/IncidentGroupingRule.js +48 -2
  32. package/Models/DatabaseModels/IncidentOnCallRule.js +3 -3
  33. package/Models/DatabaseModels/IncidentSeverity.js +13 -4
  34. package/Models/DatabaseModels/IncidentSlaRule.js +2 -2
  35. package/Models/DatabaseModels/IncidentState.js +1 -1
  36. package/Models/DatabaseModels/IncidentTemplate.js +2 -2
  37. package/Models/DatabaseModels/Index.js +4 -0
  38. package/Models/DatabaseModels/InventoryItem.js +11 -0
  39. package/Models/DatabaseModels/Monitor.js +54 -20
  40. package/Models/DatabaseModels/MonitorNetworkDevice.d.mts +11 -0
  41. package/Models/DatabaseModels/MonitorNetworkDevice.d.ts +11 -0
  42. package/Models/DatabaseModels/MonitorNetworkDevice.js +189 -0
  43. package/Models/DatabaseModels/MonitorNetworkDevice.mjs +2 -0
  44. package/Models/DatabaseModels/MonitorProbe.js +22 -5
  45. package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
  46. package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
  47. package/Models/DatabaseModels/NetworkDevice.js +64 -7
  48. package/Models/DatabaseModels/NetworkEndpoint.d.mts +1 -0
  49. package/Models/DatabaseModels/NetworkEndpoint.d.ts +1 -0
  50. package/Models/DatabaseModels/NetworkEndpoint.js +39 -7
  51. package/Models/DatabaseModels/NetworkInterface.js +5 -5
  52. package/Models/DatabaseModels/OnCallDutyPolicy.js +4 -2
  53. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRule.js +1 -1
  54. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleSchedule.js +8 -5
  55. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleTeam.js +5 -2
  56. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleUser.js +5 -2
  57. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +28 -11
  58. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.js +10 -7
  59. package/Models/DatabaseModels/OnCallDutyPolicyFeed.d.mts +1 -0
  60. package/Models/DatabaseModels/OnCallDutyPolicyFeed.d.ts +1 -0
  61. package/Models/DatabaseModels/OnCallDutyPolicyFeed.js +16 -11
  62. package/Models/DatabaseModels/OnCallDutyPolicyOwnerTeam.js +7 -4
  63. package/Models/DatabaseModels/OnCallDutyPolicyOwnerUser.js +7 -4
  64. package/Models/DatabaseModels/OnCallDutyPolicySchedule.js +6 -3
  65. package/Models/DatabaseModels/OnCallDutyPolicyScheduleCalendarFeed.js +4 -4
  66. package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayer.js +3 -3
  67. package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayerUser.js +6 -6
  68. package/Models/DatabaseModels/OnCallDutyPolicyTimeLog.js +9 -6
  69. package/Models/DatabaseModels/OnCallDutyPolicyUserOverride.js +35 -7
  70. package/Models/DatabaseModels/OpenStackCloudCheck.js +8 -1
  71. package/Models/DatabaseModels/Project.d.mts +3 -0
  72. package/Models/DatabaseModels/Project.d.ts +3 -0
  73. package/Models/DatabaseModels/Project.js +142 -5
  74. package/Models/DatabaseModels/ProjectCallSMSConfig.js +3 -1
  75. package/Models/DatabaseModels/ProjectSmtpConfig.js +2 -0
  76. package/Models/DatabaseModels/ProxmoxCluster.d.mts +1 -0
  77. package/Models/DatabaseModels/ProxmoxCluster.d.ts +1 -0
  78. package/Models/DatabaseModels/ProxmoxCluster.js +52 -3
  79. package/Models/DatabaseModels/PublicNoteApprovalRequest.js +3 -3
  80. package/Models/DatabaseModels/PublicNoteApprovalStep.js +1 -1
  81. package/Models/DatabaseModels/PushNotificationLog.js +12 -12
  82. package/Models/DatabaseModels/Reseller.js +8 -2
  83. package/Models/DatabaseModels/ResellerPlan.js +8 -2
  84. package/Models/DatabaseModels/RunbookExecution.js +2 -2
  85. package/Models/DatabaseModels/RunbookRule.js +6 -6
  86. package/Models/DatabaseModels/ScheduledMaintenance.js +9 -6
  87. package/Models/DatabaseModels/ScheduledMaintenanceCalendarFeed.js +1 -1
  88. package/Models/DatabaseModels/ScheduledMaintenanceInternalNote.js +7 -4
  89. package/Models/DatabaseModels/ScheduledMaintenanceLabelRule.js +1 -1
  90. package/Models/DatabaseModels/ScheduledMaintenanceMeasurement.js +7 -7
  91. package/Models/DatabaseModels/ScheduledMaintenanceMeasurementValue.js +3 -3
  92. package/Models/DatabaseModels/ScheduledMaintenanceOwnerRule.js +6 -6
  93. package/Models/DatabaseModels/ScheduledMaintenanceOwnerTeam.js +4 -4
  94. package/Models/DatabaseModels/ScheduledMaintenanceOwnerUser.js +4 -4
  95. package/Models/DatabaseModels/ScheduledMaintenancePublicNote.js +10 -7
  96. package/Models/DatabaseModels/ScheduledMaintenanceReminderRule.js +4 -4
  97. package/Models/DatabaseModels/ScheduledMaintenanceStateTimeline.js +4 -4
  98. package/Models/DatabaseModels/ScheduledMaintenanceTemplate.js +5 -5
  99. package/Models/DatabaseModels/Service.js +1 -1
  100. package/Models/DatabaseModels/ServiceLevelObjectiveBurnRateRule.js +4 -4
  101. package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.js +4 -4
  102. package/Models/DatabaseModels/SmsLog.js +12 -12
  103. package/Models/DatabaseModels/StatusPage.js +5 -5
  104. package/Models/DatabaseModels/StatusPageSubscriber.js +2 -2
  105. package/Models/DatabaseModels/TeamMember.js +10 -1
  106. package/Models/DatabaseModels/TelegramLog.js +12 -12
  107. package/Models/DatabaseModels/TelemetryIngestionKey.js +8 -5
  108. package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.js +7 -4
  109. package/Models/DatabaseModels/User.d.mts +4 -0
  110. package/Models/DatabaseModels/User.d.ts +4 -0
  111. package/Models/DatabaseModels/User.js +100 -0
  112. package/Models/DatabaseModels/UserOnCallLog.js +6 -6
  113. package/Models/DatabaseModels/UserOnCallLogTimeline.js +3 -3
  114. package/Models/DatabaseModels/UserOnCallShiftReminderLog.js +2 -2
  115. package/Models/DatabaseModels/WebhookLog.js +12 -12
  116. package/Models/DatabaseModels/WhatsAppLog.js +12 -12
  117. package/Models/DatabaseModels/WorkspaceNotificationLog.js +12 -12
  118. package/Models/DatabaseModels/WorkspaceNotificationRule.js +36 -1
  119. package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
  120. package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.js +3 -3
  121. package/Server/Services/DatabaseService.d.mts +4 -1
  122. package/Server/Services/DatabaseService.d.ts +4 -1
  123. package/Server/Types/Database/CountBy.d.mts +1 -0
  124. package/Server/Types/Database/CountBy.d.ts +1 -0
  125. package/Server/Types/Database/UpdateLimit.d.mts +6 -0
  126. package/Server/Types/Database/UpdateLimit.d.ts +6 -0
  127. package/Types/AI/AIActionWords.d.mts +25 -1
  128. package/Types/AI/AIActionWords.d.ts +25 -1
  129. package/Types/AI/AIActionWords.js +166 -3
  130. package/Types/AI/AIActionWords.mjs +6 -0
  131. package/Types/AI/AIChatTypes.d.mts +4 -2
  132. package/Types/AI/AIChatTypes.d.ts +4 -2
  133. package/Types/AI/AIChatTypes.js +5 -0
  134. package/Types/AI/AiOutcomes.d.mts +57 -0
  135. package/Types/AI/AiOutcomes.d.ts +57 -0
  136. package/Types/AI/AiOutcomes.js +67 -0
  137. package/Types/AI/AiOutcomes.mjs +10 -0
  138. package/Types/AI/AiRunRefusal.d.mts +45 -0
  139. package/Types/AI/AiRunRefusal.d.ts +45 -0
  140. package/Types/AI/AiRunRefusal.js +187 -0
  141. package/Types/AI/AiRunRefusal.mjs +12 -0
  142. package/Types/AI/InvestigationRecording.d.mts +46 -0
  143. package/Types/AI/InvestigationRecording.d.ts +46 -0
  144. package/Types/AI/InvestigationRecording.js +42 -0
  145. package/Types/AI/InvestigationRecording.mjs +7 -0
  146. package/Types/API/HTTPResponse.d.mts +3 -0
  147. package/Types/API/HTTPResponse.d.ts +3 -0
  148. package/Types/API/HTTPResponse.js +15 -0
  149. package/Types/Analytics/ProductEvent.d.mts +6 -1
  150. package/Types/Analytics/ProductEvent.d.ts +6 -1
  151. package/Types/Analytics/ProductEvent.js +41 -0
  152. package/Types/AuditLog/AuditLogCoverage.d.mts +1 -0
  153. package/Types/AuditLog/AuditLogCoverage.d.ts +1 -0
  154. package/Types/AuditLog/AuditLogCoverage.js +4 -2
  155. package/Types/BaseDatabase/AggregateBy.d.mts +16 -0
  156. package/Types/BaseDatabase/AggregateBy.d.ts +16 -0
  157. package/Types/BaseDatabase/AggregationIntervalUtil.d.mts +16 -1
  158. package/Types/BaseDatabase/AggregationIntervalUtil.d.ts +16 -1
  159. package/Types/BaseDatabase/AggregationIntervalUtil.js +92 -2
  160. package/Types/BaseDatabase/ListResult.d.mts +1 -0
  161. package/Types/BaseDatabase/ListResult.d.ts +1 -0
  162. package/Types/CallAndSMS/ServerTwilioEnvironment.d.mts +47 -0
  163. package/Types/CallAndSMS/ServerTwilioEnvironment.d.ts +47 -0
  164. package/Types/CallAndSMS/ServerTwilioEnvironment.js +282 -0
  165. package/Types/CallAndSMS/ServerTwilioEnvironment.mjs +7 -0
  166. package/Types/Cloud/CloudResourceCatalog.d.mts +2 -0
  167. package/Types/Cloud/CloudResourceCatalog.d.ts +2 -0
  168. package/Types/Cloud/CloudResourceCatalog.js +33 -3
  169. package/Types/Cloud/CloudResourceCatalog.mjs +1 -0
  170. package/Types/Dashboard/DashboardAutoRefresh.d.mts +1 -0
  171. package/Types/Dashboard/DashboardAutoRefresh.d.ts +1 -0
  172. package/Types/Dashboard/DashboardAutoRefresh.js +21 -0
  173. package/Types/Dashboard/DashboardAutoRefresh.mjs +1 -0
  174. package/Types/DataObservability/DataCheckSuggestions.d.mts +25 -0
  175. package/Types/DataObservability/DataCheckSuggestions.d.ts +25 -0
  176. package/Types/DataObservability/DataCheckSuggestions.js +102 -65
  177. package/Types/DataObservability/DataCheckSuggestions.mjs +1 -0
  178. package/Types/Database/TableMetadata.d.mts +2 -0
  179. package/Types/Database/TableMetadata.d.ts +2 -0
  180. package/Types/Database/TableMetadata.js +6 -0
  181. package/Types/Date.d.mts +26 -2
  182. package/Types/Date.d.ts +26 -2
  183. package/Types/Date.js +81 -9
  184. package/Types/Date.mjs +1 -0
  185. package/Types/DateLanguage.d.mts +2 -0
  186. package/Types/DateLanguage.d.ts +2 -0
  187. package/Types/DateLanguage.js +44 -2
  188. package/Types/DateLanguage.mjs +2 -0
  189. package/Types/DirectionArrow.d.mts +7 -0
  190. package/Types/DirectionArrow.d.ts +7 -0
  191. package/Types/DirectionArrow.js +88 -0
  192. package/Types/DirectionArrow.mjs +7 -0
  193. package/Types/Docs/GlossaryTerm.d.mts +1 -0
  194. package/Types/Docs/GlossaryTerm.d.ts +1 -0
  195. package/Types/Docs/GlossaryTerm.js +2 -0
  196. package/Types/Docs/RetiredNames.d.mts +11 -0
  197. package/Types/Docs/RetiredNames.d.ts +11 -0
  198. package/Types/Docs/RetiredNames.js +139 -0
  199. package/Types/Docs/RetiredNames.mjs +3 -0
  200. package/Types/Email/ServerEmailEnvironment.d.mts +85 -0
  201. package/Types/Email/ServerEmailEnvironment.d.ts +85 -0
  202. package/Types/Email/ServerEmailEnvironment.js +793 -0
  203. package/Types/Email/ServerEmailEnvironment.mjs +14 -0
  204. package/Types/Exception/AiRunRefusalException.d.mts +6 -0
  205. package/Types/Exception/AiRunRefusalException.d.ts +6 -0
  206. package/Types/Exception/AiRunRefusalException.js +23 -0
  207. package/Types/Exception/AiRunRefusalException.mjs +2 -0
  208. package/Types/Exception/RefusalWithValues.d.mts +7 -0
  209. package/Types/Exception/RefusalWithValues.d.ts +7 -0
  210. package/Types/Exception/RefusalWithValues.js +76 -0
  211. package/Types/Exception/RefusalWithValues.mjs +3 -0
  212. package/Types/Exception/UnexplainedError.d.mts +13 -0
  213. package/Types/Exception/UnexplainedError.d.ts +13 -0
  214. package/Types/Exception/UnexplainedError.js +53 -1
  215. package/Types/Exception/UnexplainedError.mjs +1 -0
  216. package/Types/File/FileSize.d.mts +4 -1
  217. package/Types/File/FileSize.d.ts +4 -1
  218. package/Types/File/FileSize.js +18 -17
  219. package/Types/Form/FormTargetCatalog.js +2 -2
  220. package/Types/Form/FormTargetType.js +2 -2
  221. package/Types/HostCollector/HostCollector.d.mts +1 -0
  222. package/Types/HostCollector/HostCollector.d.ts +1 -0
  223. package/Types/HostCollector/HostCollector.js +26 -10
  224. package/Types/HostCollector/HostCollector.mjs +1 -0
  225. package/Types/ListData.d.mts +2 -0
  226. package/Types/ListData.d.ts +2 -0
  227. package/Types/ListData.js +4 -0
  228. package/Types/Monitor/MonitorCriteria.js +2 -2
  229. package/Types/Monitor/MonitorCriteriaInstance.js +9 -0
  230. package/Types/Monitor/MonitorNotCheckedReason.d.mts +7 -0
  231. package/Types/Monitor/MonitorNotCheckedReason.d.ts +7 -0
  232. package/Types/Monitor/MonitorNotCheckedReason.js +36 -0
  233. package/Types/Monitor/MonitorNotCheckedReason.mjs +4 -0
  234. package/Types/Monitor/MonitorStep.js +1 -1
  235. package/Types/Monitor/MonitorTemplateSyncField.d.mts +6 -0
  236. package/Types/Monitor/MonitorTemplateSyncField.d.ts +6 -0
  237. package/Types/Monitor/MonitorTemplateSyncField.js +106 -64
  238. package/Types/Monitor/NtpMonitor/NtpMonitorUtil.d.mts +1 -0
  239. package/Types/Monitor/NtpMonitor/NtpMonitorUtil.d.ts +1 -0
  240. package/Types/Monitor/NtpMonitor/NtpMonitorUtil.js +11 -3
  241. package/Types/Monitor/SnmpMonitor/NetworkTopology.d.mts +6 -0
  242. package/Types/Monitor/SnmpMonitor/NetworkTopology.d.ts +6 -0
  243. package/Types/Monitor/UptimeHistoryLabels.js +2 -2
  244. package/Types/Monitor/WhoIsTold.d.mts +3 -1
  245. package/Types/Monitor/WhoIsTold.d.ts +3 -1
  246. package/Types/Monitor/WhoIsTold.js +2 -1
  247. package/Types/NotificationRule/PagingLadder.d.mts +137 -0
  248. package/Types/NotificationRule/PagingLadder.d.ts +137 -0
  249. package/Types/NotificationRule/PagingLadder.js +682 -0
  250. package/Types/NotificationRule/PagingLadder.mjs +28 -0
  251. package/Types/NotificationSetting/NotificationEmailRollupCategory.js +1 -1
  252. package/Types/OnCallDutyPolicy/GlobalUserOverrideAccess.d.mts +1 -0
  253. package/Types/OnCallDutyPolicy/GlobalUserOverrideAccess.d.ts +1 -0
  254. package/Types/OnCallDutyPolicy/GlobalUserOverrideAccess.js +12 -9
  255. package/Types/OnCallDutyPolicy/GlobalUserOverrideAccess.mjs +1 -0
  256. package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.d.mts +3 -1
  257. package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.d.ts +3 -1
  258. package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.js +24 -6
  259. package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.mjs +1 -0
  260. package/Types/OnCallDutyPolicy/OnCallPageLine.d.mts +26 -0
  261. package/Types/OnCallDutyPolicy/OnCallPageLine.d.ts +26 -0
  262. package/Types/OnCallDutyPolicy/OnCallPageLine.js +136 -0
  263. package/Types/OnCallDutyPolicy/OnCallPageLine.mjs +18 -0
  264. package/Types/OnCallDutyPolicy/OnCallPagePassOn.d.mts +1 -0
  265. package/Types/OnCallDutyPolicy/OnCallPagePassOn.d.ts +1 -0
  266. package/Types/OnCallDutyPolicy/OnCallPolicyStartedByHand.d.mts +12 -0
  267. package/Types/OnCallDutyPolicy/OnCallPolicyStartedByHand.d.ts +12 -0
  268. package/Types/OnCallDutyPolicy/OnCallPolicyStartedByHand.js +38 -0
  269. package/Types/OnCallDutyPolicy/OnCallPolicyStartedByHand.mjs +3 -0
  270. package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +44 -0
  271. package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +44 -0
  272. package/Types/OnCallDutyPolicy/OnCallTestPage.js +96 -5
  273. package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +1 -0
  274. package/Types/OnCallDutyPolicy/OnCallTestPageLine.d.mts +19 -0
  275. package/Types/OnCallDutyPolicy/OnCallTestPageLine.d.ts +19 -0
  276. package/Types/OnCallDutyPolicy/OnCallTestPageLine.js +222 -0
  277. package/Types/OnCallDutyPolicy/OnCallTestPageLine.mjs +6 -0
  278. package/Types/OnCallDutyPolicy/ScheduleLayerDefaults.js +5 -2
  279. package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.mts +92 -0
  280. package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.ts +92 -0
  281. package/Types/OnCallDutyPolicy/ScheduleLayersSave.js +512 -0
  282. package/Types/OnCallDutyPolicy/ScheduleLayersSave.mjs +7 -0
  283. package/Types/OnCallDutyPolicy/UserOverrideCoverRequest.js +9 -1
  284. package/Types/OnCallDutyPolicy/UserOverrideEdit.d.mts +23 -0
  285. package/Types/OnCallDutyPolicy/UserOverrideEdit.d.ts +23 -0
  286. package/Types/OnCallDutyPolicy/UserOverrideEdit.js +105 -0
  287. package/Types/OnCallDutyPolicy/UserOverrideEdit.mjs +6 -0
  288. package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.mts +64 -0
  289. package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.ts +64 -0
  290. package/Types/OnCallDutyPolicy/UserOverrideOverlap.js +237 -0
  291. package/Types/OnCallDutyPolicy/UserOverrideOverlap.mjs +14 -0
  292. package/Types/Permission.d.mts +2 -2
  293. package/Types/Permission.d.ts +2 -2
  294. package/Types/Permission.js +196 -195
  295. package/Types/Probe/ProbeCapability.d.mts +2 -1
  296. package/Types/Probe/ProbeCapability.d.ts +2 -1
  297. package/Types/Probe/ProbeCapability.js +10 -0
  298. package/Types/Product/ProductCatalog.d.mts +10 -0
  299. package/Types/Product/ProductCatalog.d.ts +10 -0
  300. package/Types/Product/ProductCatalog.js +208 -0
  301. package/Types/Product/ProductCatalog.mjs +6 -0
  302. package/Types/Product/ProductOfTable.d.mts +3 -0
  303. package/Types/Product/ProductOfTable.d.ts +3 -0
  304. package/Types/Product/ProductOfTable.js +68 -0
  305. package/Types/Product/ProductOfTable.mjs +3 -0
  306. package/Types/Product/ProjectProductsAnswer.d.mts +3 -0
  307. package/Types/Product/ProjectProductsAnswer.d.ts +3 -0
  308. package/Types/Product/ProjectProductsAnswer.js +35 -2
  309. package/Types/Product/ProjectProductsAnswer.mjs +1 -0
  310. package/Types/Product/ServerProducts.d.mts +65 -0
  311. package/Types/Product/ServerProducts.d.ts +65 -0
  312. package/Types/Product/ServerProducts.js +383 -0
  313. package/Types/Product/ServerProducts.mjs +26 -0
  314. package/Types/Product/ServerProductsAnswer.d.mts +21 -0
  315. package/Types/Product/ServerProductsAnswer.d.ts +21 -0
  316. package/Types/Product/ServerProductsAnswer.js +78 -0
  317. package/Types/Product/ServerProductsAnswer.mjs +5 -0
  318. package/Types/ProductFeedback/ProductFeedback.d.mts +3 -1
  319. package/Types/ProductFeedback/ProductFeedback.d.ts +3 -1
  320. package/Types/ProductFeedback/ProductFeedback.js +8 -0
  321. package/Types/ReaderLanguage.d.mts +1 -0
  322. package/Types/ReaderLanguage.d.ts +1 -0
  323. package/Types/ReaderLanguage.js +13 -1
  324. package/Types/ReaderLanguage.mjs +1 -0
  325. package/Types/Rules/RuleRun.js +2 -2
  326. package/Types/Rum/SessionReplayCustomEvents.d.mts +1 -0
  327. package/Types/Rum/SessionReplayCustomEvents.d.ts +1 -0
  328. package/Types/SampleProject/SampleProject.d.mts +54 -0
  329. package/Types/SampleProject/SampleProject.d.ts +54 -0
  330. package/Types/SampleProject/SampleProject.js +177 -0
  331. package/Types/SampleProject/SampleProject.mjs +22 -0
  332. package/Types/SampleProject/SampleProjectContent.d.mts +127 -0
  333. package/Types/SampleProject/SampleProjectContent.d.ts +127 -0
  334. package/Types/SampleProject/SampleProjectContent.js +397 -0
  335. package/Types/SampleProject/SampleProjectContent.mjs +18 -0
  336. package/Types/ScheduledMaintenance/MaintenanceCalendar.js +1 -1
  337. package/Types/ServerSending/ServerSendingStatus.d.mts +7 -0
  338. package/Types/ServerSending/ServerSendingStatus.d.ts +7 -0
  339. package/Types/ServerSending/ServerSendingStatus.js +49 -2
  340. package/Types/ServerSetup/ServerSetupChecklist.js +3 -3
  341. package/Types/StateTimeline/RowsKeptOnDelete.js +1 -1
  342. package/Types/StatusPage/NewIncidentSubscriberNotificationDefault.d.mts +8 -0
  343. package/Types/StatusPage/NewIncidentSubscriberNotificationDefault.d.ts +8 -0
  344. package/Types/StatusPage/NewIncidentSubscriberNotificationDefault.js +50 -0
  345. package/Types/StatusPage/NewIncidentSubscriberNotificationDefault.mjs +3 -0
  346. package/Types/StatusPage/PublicNoteSubscriberNotificationDefault.js +1 -1
  347. package/Types/Telemetry/CompatibleIngest.d.mts +20 -0
  348. package/Types/Telemetry/CompatibleIngest.d.ts +20 -0
  349. package/Types/Telemetry/CompatibleIngest.js +123 -0
  350. package/Types/Telemetry/CompatibleIngest.mjs +21 -0
  351. package/Types/Telemetry/TelemetryIngestSurface.d.mts +5 -0
  352. package/Types/Telemetry/TelemetryIngestSurface.d.ts +5 -0
  353. package/Types/Telemetry/TelemetryIngestSurface.js +54 -12
  354. package/Types/TimezoneAlias.d.mts +1 -0
  355. package/Types/TimezoneAlias.d.ts +1 -0
  356. package/Types/TimezoneAlias.js +13 -0
  357. package/Types/Translator.d.mts +1 -0
  358. package/Types/Translator.d.ts +1 -0
  359. package/Types/Translator.js +414 -50
  360. package/Types/Translator.mjs +1 -0
  361. package/Types/UsedBy/UsedBy.d.mts +103 -0
  362. package/Types/UsedBy/UsedBy.d.ts +103 -0
  363. package/Types/UsedBy/UsedBy.js +389 -0
  364. package/Types/UsedBy/UsedBy.mjs +20 -0
  365. package/Types/UsedBy/UsedByServerProducts.d.mts +4 -0
  366. package/Types/UsedBy/UsedByServerProducts.d.ts +4 -0
  367. package/Types/UsedBy/UsedByServerProducts.js +48 -0
  368. package/Types/UsedBy/UsedByServerProducts.mjs +3 -0
  369. package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +6 -0
  370. package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +6 -0
  371. package/Types/WelcomeChecklist/WelcomeChecklist.js +54 -2
  372. package/Types/WelcomeChecklist/WelcomeChecklist.mjs +4 -0
  373. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +1 -0
  374. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +1 -0
  375. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +3 -0
  376. package/Types/Workflow/PassedOnFields.js +2 -1
  377. package/Types/Workflow/RunRecord.js +1 -1
  378. package/Types/Workflow/Templates.js +3 -3
  379. package/Types/Workspace/NotificationRules/BaseNotificationRule.d.mts +2 -0
  380. package/Types/Workspace/NotificationRules/BaseNotificationRule.d.ts +2 -0
  381. package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +28 -1
  382. package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +28 -1
  383. package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.mts +84 -0
  384. package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.ts +84 -0
  385. package/Types/Workspace/NotificationRules/NotificationRuleUpdates.js +456 -0
  386. package/Types/Workspace/NotificationRules/NotificationRuleUpdates.mjs +5 -0
  387. package/Utils/AI/MeaningMatch.d.mts +36 -0
  388. package/Utils/AI/MeaningMatch.d.ts +36 -0
  389. package/Utils/AI/MeaningMatch.js +535 -0
  390. package/Utils/AI/MeaningMatch.mjs +7 -0
  391. package/Utils/ArchivableValues.js +1 -1
  392. package/Utils/AuditLog/AuditLogValues.js +2 -2
  393. package/Utils/Dashboard/ClockWidgetFormat.d.mts +14 -2
  394. package/Utils/Dashboard/ClockWidgetFormat.d.ts +14 -2
  395. package/Utils/Dashboard/ClockWidgetFormat.js +105 -2
  396. package/Utils/Dashboard/DashboardViewConfigSignature.d.mts +3 -0
  397. package/Utils/Dashboard/DashboardViewConfigSignature.d.ts +3 -0
  398. package/Utils/Dashboard/DashboardViewConfigSignature.js +45 -0
  399. package/Utils/Dashboard/DashboardViewConfigSignature.mjs +3 -0
  400. package/Utils/Dashboard/ValueWidgetSeries.d.mts +2 -0
  401. package/Utils/Dashboard/ValueWidgetSeries.d.ts +2 -0
  402. package/Utils/Dashboard/ValueWidgetSeries.js +75 -0
  403. package/Utils/DataSecurity/TextScanner.js +2 -2
  404. package/Utils/DeveloperDocs/AiAssistantExamples.js +4 -4
  405. package/Utils/DeveloperDocs/CliCommands.d.mts +1 -0
  406. package/Utils/DeveloperDocs/CliCommands.d.ts +1 -0
  407. package/Utils/DeveloperDocs/CliCommands.js +2 -1
  408. package/Utils/DeveloperDocs/CliResources.js +2 -1
  409. package/Utils/DeveloperDocs/ExampleBuilder.js +1 -1
  410. package/Utils/DeveloperDocs/ResourceProfiles.js +2 -2
  411. package/Utils/DeveloperDocs/TerraformSchema.js +3 -1
  412. package/Utils/GuidedSetup/StatusPageRecords.d.mts +5 -0
  413. package/Utils/GuidedSetup/StatusPageRecords.d.ts +5 -0
  414. package/Utils/GuidedSetup/StatusPageRecords.js +27 -2
  415. package/Utils/GuidedSetup/StatusPageRecords.mjs +1 -0
  416. package/Utils/GuidedSetup/WebsiteMonitorRecords.js +6 -0
  417. package/Utils/HostAddressUtil.d.mts +1 -0
  418. package/Utils/HostAddressUtil.d.ts +1 -0
  419. package/Utils/HostAddressUtil.js +30 -0
  420. package/Utils/LinearRegExp/LinearRegExp.js +5 -1
  421. package/Utils/Markdown/LinkReferenceDefinitions.d.mts +8 -0
  422. package/Utils/Markdown/LinkReferenceDefinitions.d.ts +8 -0
  423. package/Utils/Markdown/LinkReferenceDefinitions.js +1493 -131
  424. package/Utils/Markdown/LinkReferenceDefinitions.mjs +1 -0
  425. package/Utils/Markdown/MarkdownTableCell.js +2 -1
  426. package/Utils/Markdown/OverLongText.js +523 -5
  427. package/Utils/Markdown/SlowMarkdown.d.mts +14 -0
  428. package/Utils/Markdown/SlowMarkdown.d.ts +14 -0
  429. package/Utils/Markdown/SlowMarkdown.js +595 -11
  430. package/Utils/Markdown/SlowMarkdown.mjs +6 -0
  431. package/Utils/Milliseconds.d.mts +7 -0
  432. package/Utils/Milliseconds.d.ts +7 -0
  433. package/Utils/Milliseconds.js +60 -0
  434. package/Utils/Milliseconds.mjs +4 -0
  435. package/Utils/ModelApiName.d.mts +11 -0
  436. package/Utils/ModelApiName.d.ts +11 -0
  437. package/Utils/ModelApiName.js +72 -0
  438. package/Utils/ModelApiName.mjs +5 -0
  439. package/Utils/Monitor/DeviceMacLearningUtil.d.mts +2 -1
  440. package/Utils/Monitor/DeviceMacLearningUtil.d.ts +2 -1
  441. package/Utils/Monitor/DeviceMacLearningUtil.js +26 -0
  442. package/Utils/Monitor/EndpointAttachmentUtil.d.mts +8 -0
  443. package/Utils/Monitor/EndpointAttachmentUtil.d.ts +8 -0
  444. package/Utils/Monitor/EndpointAttachmentUtil.js +97 -22
  445. package/Utils/Monitor/EndpointAttachmentUtil.mjs +4 -0
  446. package/Utils/Monitor/ExternalStatusPageReading.d.mts +3 -0
  447. package/Utils/Monitor/ExternalStatusPageReading.d.ts +3 -0
  448. package/Utils/Monitor/ExternalStatusPageReading.js +35 -1
  449. package/Utils/Monitor/ExternalStatusPageReading.mjs +2 -0
  450. package/Utils/Monitor/InterfaceInventoryUtil.d.mts +40 -0
  451. package/Utils/Monitor/InterfaceInventoryUtil.d.ts +40 -0
  452. package/Utils/Monitor/InterfaceInventoryUtil.js +217 -5
  453. package/Utils/Monitor/InterfaceInventoryUtil.mjs +8 -0
  454. package/Utils/Monitor/MonitorOverviewPresentationUtil.js +63 -29
  455. package/Utils/Monitor/MonitorOverviewProbeUtil.js +13 -2
  456. package/Utils/Monitor/MonitorRootCauseWording.d.mts +2 -0
  457. package/Utils/Monitor/MonitorRootCauseWording.d.ts +2 -0
  458. package/Utils/Monitor/MonitorRootCauseWording.js +58 -4
  459. package/Utils/Monitor/MonitorTemplateLinkRefusal.d.mts +9 -0
  460. package/Utils/Monitor/MonitorTemplateLinkRefusal.d.ts +9 -0
  461. package/Utils/Monitor/MonitorTemplateLinkRefusal.js +45 -0
  462. package/Utils/Monitor/MonitorTemplateLinkRefusal.mjs +6 -0
  463. package/Utils/Monitor/MonitoringOff.d.mts +2 -0
  464. package/Utils/Monitor/MonitoringOff.d.ts +2 -0
  465. package/Utils/Monitor/MonitoringOff.js +21 -0
  466. package/Utils/Monitor/NetworkTopologyUtil.d.mts +2 -1
  467. package/Utils/Monitor/NetworkTopologyUtil.d.ts +2 -1
  468. package/Utils/Monitor/NetworkTopologyUtil.js +10 -0
  469. package/Utils/Monitor/NotOperationalMonitorQuery.d.mts +2 -1
  470. package/Utils/Monitor/NotOperationalMonitorQuery.d.ts +2 -1
  471. package/Utils/Monitor/NotOperationalMonitorQuery.js +23 -4
  472. package/Utils/Monitor/ProbeFailureReading.d.mts +14 -0
  473. package/Utils/Monitor/ProbeFailureReading.d.ts +14 -0
  474. package/Utils/Monitor/ProbeFailureReading.js +137 -0
  475. package/Utils/Monitor/ProbeFailureReading.mjs +7 -0
  476. package/Utils/NetworkDevice/BoundMonitorNotChecked.d.mts +9 -0
  477. package/Utils/NetworkDevice/BoundMonitorNotChecked.d.ts +9 -0
  478. package/Utils/NetworkDevice/BoundMonitorNotChecked.js +15 -0
  479. package/Utils/NetworkDevice/BoundMonitorNotChecked.mjs +2 -0
  480. package/Utils/OpenStack/OpenStackCheckName.js +2 -1
  481. package/Utils/OpenStack/OpenStackLogScrub.js +1 -1
  482. package/Utils/OpenStack/OpenStackLogs.js +3 -2
  483. package/Utils/OpenStack/OpenStackTraces.js +2 -1
  484. package/Utils/Project/NextNumber.js +1 -1
  485. package/Utils/Project/NotificationChannels.js +5 -5
  486. package/Utils/Project/ProjectBalance.js +2 -2
  487. package/Utils/Project/TwilioAccount.js +2 -2
  488. package/Utils/PromQL/PromQLAst.d.mts +159 -0
  489. package/Utils/PromQL/PromQLAst.d.ts +159 -0
  490. package/Utils/PromQL/PromQLAst.js +118 -0
  491. package/Utils/PromQL/PromQLAst.mjs +12 -0
  492. package/Utils/PromQL/PromQLDuration.d.mts +2 -0
  493. package/Utils/PromQL/PromQLDuration.d.ts +2 -0
  494. package/Utils/PromQL/PromQLDuration.js +78 -0
  495. package/Utils/PromQL/PromQLDuration.mjs +3 -0
  496. package/Utils/PromQL/PromQLEngine.d.mts +15 -0
  497. package/Utils/PromQL/PromQLEngine.d.ts +15 -0
  498. package/Utils/PromQL/PromQLEngine.js +965 -0
  499. package/Utils/PromQL/PromQLEngine.mjs +7 -0
  500. package/Utils/PromQL/PromQLEngineTypes.d.mts +84 -0
  501. package/Utils/PromQL/PromQLEngineTypes.d.ts +84 -0
  502. package/Utils/PromQL/PromQLEngineTypes.js +10 -0
  503. package/Utils/PromQL/PromQLEngineTypes.mjs +2 -0
  504. package/Utils/PromQL/PromQLError.d.mts +11 -0
  505. package/Utils/PromQL/PromQLError.d.ts +11 -0
  506. package/Utils/PromQL/PromQLError.js +27 -0
  507. package/Utils/PromQL/PromQLError.mjs +3 -0
  508. package/Utils/PromQL/PromQLFunctionEvaluators.d.mts +8 -0
  509. package/Utils/PromQL/PromQLFunctionEvaluators.d.ts +8 -0
  510. package/Utils/PromQL/PromQLFunctionEvaluators.js +773 -0
  511. package/Utils/PromQL/PromQLFunctionEvaluators.mjs +3 -0
  512. package/Utils/PromQL/PromQLFunctions.d.mts +10 -0
  513. package/Utils/PromQL/PromQLFunctions.d.ts +10 -0
  514. package/Utils/PromQL/PromQLFunctions.js +127 -0
  515. package/Utils/PromQL/PromQLFunctions.mjs +4 -0
  516. package/Utils/PromQL/PromQLLabels.d.mts +11 -0
  517. package/Utils/PromQL/PromQLLabels.d.ts +11 -0
  518. package/Utils/PromQL/PromQLLabels.js +218 -0
  519. package/Utils/PromQL/PromQLLabels.mjs +9 -0
  520. package/Utils/PromQL/PromQLLexer.d.mts +39 -0
  521. package/Utils/PromQL/PromQLLexer.d.ts +39 -0
  522. package/Utils/PromQL/PromQLLexer.js +391 -0
  523. package/Utils/PromQL/PromQLLexer.mjs +3 -0
  524. package/Utils/PromQL/PromQLMath.d.mts +19 -0
  525. package/Utils/PromQL/PromQLMath.d.ts +19 -0
  526. package/Utils/PromQL/PromQLMath.js +200 -0
  527. package/Utils/PromQL/PromQLMath.mjs +9 -0
  528. package/Utils/PromQL/PromQLMetricNames.d.mts +21 -0
  529. package/Utils/PromQL/PromQLMetricNames.d.ts +21 -0
  530. package/Utils/PromQL/PromQLMetricNames.js +199 -0
  531. package/Utils/PromQL/PromQLMetricNames.mjs +8 -0
  532. package/Utils/PromQL/PromQLParser.d.mts +4 -0
  533. package/Utils/PromQL/PromQLParser.d.ts +4 -0
  534. package/Utils/PromQL/PromQLParser.js +831 -0
  535. package/Utils/PromQL/PromQLParser.mjs +4 -0
  536. package/Utils/PromQL/PromQLRegex.d.mts +9 -0
  537. package/Utils/PromQL/PromQLRegex.d.ts +9 -0
  538. package/Utils/PromQL/PromQLRegex.js +74 -0
  539. package/Utils/PromQL/PromQLRegex.mjs +2 -0
  540. package/Utils/PromQL/PrometheusResponse.d.mts +25 -0
  541. package/Utils/PromQL/PrometheusResponse.d.ts +25 -0
  542. package/Utils/PromQL/PrometheusResponse.js +90 -0
  543. package/Utils/PromQL/PrometheusResponse.mjs +3 -0
  544. package/Utils/Rum/PathInSentence.d.mts +5 -0
  545. package/Utils/Rum/PathInSentence.d.ts +5 -0
  546. package/Utils/Rum/PathInSentence.js +46 -0
  547. package/Utils/Rum/PathInSentence.mjs +6 -0
  548. package/Utils/Rum/UrlScrubber.d.mts +4 -0
  549. package/Utils/Rum/UrlScrubber.d.ts +4 -0
  550. package/Utils/Rum/UrlScrubber.js +143 -3
  551. package/Utils/Rum/UserFlow.d.mts +1 -1
  552. package/Utils/Rum/UserFlow.d.ts +1 -1
  553. package/Utils/Rum/UserFlow.js +180 -25
  554. package/Utils/Rum/UserFlow.mjs +1 -1
  555. package/Utils/Runbook/RunbookStepsSignature.d.mts +3 -0
  556. package/Utils/Runbook/RunbookStepsSignature.d.ts +3 -0
  557. package/Utils/Runbook/RunbookStepsSignature.js +30 -0
  558. package/Utils/Runbook/RunbookStepsSignature.mjs +3 -0
  559. package/Utils/ScheduledMaintenanceStart.d.mts +3 -0
  560. package/Utils/ScheduledMaintenanceStart.d.ts +3 -0
  561. package/Utils/ScheduledMaintenanceStart.js +9 -0
  562. package/Utils/Schema/ModelSchema.js +10 -1
  563. package/Utils/Schema/TypeSchemas.js +6 -0
  564. package/Utils/Slo/SloDuration.d.mts +5 -2
  565. package/Utils/Slo/SloDuration.d.ts +5 -2
  566. package/Utils/Slo/SloDuration.js +11 -6
  567. package/Utils/Slo/SloHealth.js +1 -1
  568. package/Utils/StateOrder.js +1 -4
  569. package/Utils/StateTimeline/StateTimelineRowDelete.js +1 -1
  570. package/Utils/Telemetry/HeartbeatAvailability.d.mts +4 -0
  571. package/Utils/Telemetry/HeartbeatAvailability.d.ts +4 -0
  572. package/Utils/Telemetry/HeartbeatAvailability.js +118 -26
  573. package/Utils/Uptime/DayUptimeGraphUtil.js +2 -2
  574. package/Utils/Uptime/UptimeMaintenanceUtil.js +2 -1
  575. package/Utils/ValueFormatter.d.mts +8 -6
  576. package/Utils/ValueFormatter.d.ts +8 -6
  577. package/Utils/ValueFormatter.js +145 -0
  578. package/package.json +1 -1
@@ -53,6 +53,18 @@ let NetworkEndpoint = class NetworkEndpoint extends DatabaseBaseModel_1.default
53
53
  this.siteId = undefined;
54
54
  this.firstSeenAt = undefined;
55
55
  this.lastSeenAt = undefined;
56
+ /*
57
+ * lastSeenAt, a day at a time: it takes lastSeenAt's value only once
58
+ * lastSeenAt is a day or more past it (NetworkEndpointService), so it is
59
+ * never later than lastSeenAt and never a day behind it. The age-out
60
+ * (DiscoveredDeviceAgeOut) finds its candidates by this column's index and
61
+ * checks lastSeenAt on the row. lastSeenAt itself is in no index, so the
62
+ * walk's refresh of it changes no indexed column and can be a HOT update;
63
+ * this column changes about once a day an endpoint.
64
+ *
65
+ * The server's alone: nobody reads or writes it through the API.
66
+ */
67
+ this.coarseLastSeenAt = undefined;
56
68
  /*
57
69
  * When a person last added this device or changed its vendor, address or
58
70
  * site - through the Dashboard, the API, Terraform or a workflow, never the
@@ -641,13 +653,12 @@ __decorate([
641
653
  ],
642
654
  update: [],
643
655
  }),
644
- (0, typeorm_1.Index)(),
645
656
  (0, TableColumn_1.default)({
646
657
  required: false,
647
658
  type: TableColumnType_1.default.Date,
648
659
  canReadOnRelationQuery: true,
649
660
  title: "Last Seen At",
650
- description: "When this endpoint was last seen in an ARP or FDB walk",
661
+ description: "When this endpoint was last seen in an ARP or FDB walk, or in a network controller's client list. While a walk keeps seeing it unchanged, this is refreshed every 15 minutes, so it is accurate to within 15 minutes and one poll.",
651
662
  }),
652
663
  (0, typeorm_1.Column)({
653
664
  nullable: true,
@@ -655,6 +666,25 @@ __decorate([
655
666
  }),
656
667
  __metadata("design:type", Date)
657
668
  ], NetworkEndpoint.prototype, "lastSeenAt", void 0);
669
+ __decorate([
670
+ (0, ColumnAccessControl_1.default)({
671
+ create: [],
672
+ read: [],
673
+ update: [],
674
+ }),
675
+ (0, TableColumn_1.default)({
676
+ required: false,
677
+ type: TableColumnType_1.default.Date,
678
+ title: "Coarse Last Seen At",
679
+ description: "When this endpoint was last seen, to within a day. Managed by the server, for removing devices no longer seen.",
680
+ hideColumnInDocumentation: true,
681
+ }),
682
+ (0, typeorm_1.Column)({
683
+ nullable: true,
684
+ type: ColumnType_1.default.Date,
685
+ }),
686
+ __metadata("design:type", Date)
687
+ ], NetworkEndpoint.prototype, "coarseLastSeenAt", void 0);
658
688
  __decorate([
659
689
  (0, ColumnAccessControl_1.default)({
660
690
  create: [],
@@ -869,13 +899,15 @@ NetworkEndpoint = __decorate([
869
899
  where: '"deletedAt" IS NULL',
870
900
  })
871
901
  /*
872
- * A project's live endpoints by when they were last seen: what the job that
873
- * removes devices no longer seen (DiscoveredDeviceAgeOut, issue #6389) reads
874
- * - whether a project has any due, the oldest first, and the devices that
875
- * saw anything lately - without reading every row of the project.
902
+ * A project's live endpoints by when they were last seen, to the day: what
903
+ * the job that removes devices no longer seen (DiscoveredDeviceAgeOut, issue
904
+ * #6389) reads - whether a project has any due, the oldest first, and the
905
+ * devices that saw anything lately - without reading every row of the
906
+ * project. It holds coarseLastSeenAt, not lastSeenAt, so the walk's refresh
907
+ * of lastSeenAt changes no indexed column and can be a HOT update.
876
908
  */
877
909
  ,
878
- (0, typeorm_1.Index)(["projectId", "lastSeenAt"], {
910
+ (0, typeorm_1.Index)(["projectId", "coarseLastSeenAt"], {
879
911
  where: '"deletedAt" IS NULL',
880
912
  }),
881
913
  (0, TableMetadata_1.default)({
@@ -490,7 +490,7 @@ __decorate([
490
490
  type: TableColumnType_1.default.Number,
491
491
  canReadOnRelationQuery: true,
492
492
  title: "In Rate (Mbps)",
493
- description: "Most recent inbound throughput in Mbps, computed from SNMP counters.",
493
+ description: "Inbound throughput in Mbps, computed from SNMP counters between two polls. Written again when it moves by a tenth or more (and by more than 1% of the link speed), and at least every 15 minutes.",
494
494
  }),
495
495
  (0, typeorm_1.Column)({
496
496
  nullable: true,
@@ -519,7 +519,7 @@ __decorate([
519
519
  type: TableColumnType_1.default.Number,
520
520
  canReadOnRelationQuery: true,
521
521
  title: "Out Rate (Mbps)",
522
- description: "Most recent outbound throughput in Mbps, computed from SNMP counters.",
522
+ description: "Outbound throughput in Mbps, computed from SNMP counters between two polls. Written again when it moves by a tenth or more (and by more than 1% of the link speed), and at least every 15 minutes.",
523
523
  }),
524
524
  (0, typeorm_1.Column)({
525
525
  nullable: true,
@@ -548,7 +548,7 @@ __decorate([
548
548
  type: TableColumnType_1.default.Number,
549
549
  canReadOnRelationQuery: true,
550
550
  title: "Utilization Percent",
551
- description: "Most recent utilization as a percent of interface speed (max of in/out).",
551
+ description: "Utilization as a percent of interface speed (max of in/out) between two polls. Written again when it moves by a tenth or more (and by more than a point), crosses 80%, and at least every 15 minutes.",
552
552
  }),
553
553
  (0, typeorm_1.Column)({
554
554
  nullable: true,
@@ -577,7 +577,7 @@ __decorate([
577
577
  type: TableColumnType_1.default.Number,
578
578
  canReadOnRelationQuery: true,
579
579
  title: "Errors Per Second",
580
- description: "Most recent error rate (in + out errors per second) computed from SNMP counters.",
580
+ description: "Error rate (in + out errors per second) computed from SNMP counters between two polls. Written again when errors start or stop, when it moves by a tenth or more, and at least every 15 minutes.",
581
581
  }),
582
582
  (0, typeorm_1.Column)({
583
583
  nullable: true,
@@ -606,7 +606,7 @@ __decorate([
606
606
  type: TableColumnType_1.default.Date,
607
607
  canReadOnRelationQuery: true,
608
608
  title: "Last Seen At",
609
- description: "When this interface was last seen in an SNMP walk",
609
+ description: "When an SNMP walk last saw this interface, to within 15 minutes: a walk that finds an interface unchanged writes it again only every 15 minutes.",
610
610
  }),
611
611
  (0, typeorm_1.Column)({
612
612
  nullable: true,
@@ -853,9 +853,11 @@ OnCallDutyPolicy = __decorate([
853
853
  (0, TableMetadata_1.default)({
854
854
  tableName: "OnCallDutyPolicy",
855
855
  singularName: "On-Call Policy",
856
- pluralName: "On-Call Duty Policies",
856
+ pluralName: "On-Call Policies",
857
+ // Was "On-Call Duty Policies" (#6817): MCP's list_on_call_duty_policies stays.
858
+ apiPluralName: "On-Call Duty Policies",
857
859
  icon: IconProp_1.default.Call,
858
- tableDescription: "Manage on-call duty, schedules and roster for your project",
860
+ tableDescription: "Who is paged about an incident, an alert or an episode, and who is paged next if nobody acknowledges. Its levels are escalation rules.",
859
861
  })
860
862
  ], OnCallDutyPolicy);
861
863
  exports.default = OnCallDutyPolicy;
@@ -552,7 +552,7 @@ OnCallDutyPolicyEscalationRule = __decorate([
552
552
  singularName: "Escalation Rule",
553
553
  pluralName: "Escalation Rules",
554
554
  icon: IconProp_1.default.Call,
555
- tableDescription: "Manage on-call duty escalation rule for the on-call policy.",
555
+ tableDescription: "Manage on-call escalation rule for the on-call policy.",
556
556
  })
557
557
  ], OnCallDutyPolicyEscalationRule);
558
558
  exports.default = OnCallDutyPolicyEscalationRule;
@@ -239,8 +239,8 @@ __decorate([
239
239
  manyToOneRelationColumn: "onCallDutyPolicyScheduleId",
240
240
  type: TableColumnType_1.default.Entity,
241
241
  modelType: OnCallDutyPolicySchedule_1.default,
242
- title: "On Call Policy Schedule",
243
- description: "Relation to On Call Policy Schedule who is in this escalation rule.",
242
+ title: "On-Call Schedule",
243
+ description: "Relation to On-Call Schedule who is in this escalation rule.",
244
244
  }),
245
245
  (0, typeorm_1.ManyToOne)(() => {
246
246
  return OnCallDutyPolicySchedule_1.default;
@@ -277,7 +277,7 @@ __decorate([
277
277
  }),
278
278
  (0, TableColumn_1.default)({
279
279
  type: TableColumnType_1.default.ObjectID,
280
- title: "On Call Duty Policy Schedule ID",
280
+ title: "On-Call Schedule ID",
281
281
  description: "ID of the on-call schedule the escalation rule pages: whoever is on call in it",
282
282
  }),
283
283
  (0, typeorm_1.Column)({
@@ -565,8 +565,11 @@ OnCallDutyPolicyEscalationRuleSchedule = __decorate([
565
565
  }),
566
566
  (0, TableMetadata_1.default)({
567
567
  tableName: "OnCallDutyPolicyEscalationRuleSchedule",
568
- singularName: "Schedule's On-Call Duty Escalation Rule",
569
- pluralName: "Schedule's On-Call Duty Escalation Rules",
568
+ singularName: "Escalation Rule Schedule",
569
+ pluralName: "Escalation Rule Schedules",
570
+ // Its names before #6817, which the API, the CLI and MCP keep.
571
+ apiSingularName: "Schedule's On-Call Duty Escalation Rule",
572
+ apiPluralName: "Schedule's On-Call Duty Escalation Rules",
570
573
  icon: IconProp_1.default.Calendar,
571
574
  tableDescription: "Add on-call schedules to your escalation rules.",
572
575
  })
@@ -520,8 +520,11 @@ OnCallDutyPolicyEscalationRuleTeam = __decorate([
520
520
  }),
521
521
  (0, TableMetadata_1.default)({
522
522
  tableName: "OnCallDutyPolicyEscalationRuleTeam",
523
- singularName: "Team On-Call Duty Escalation Rule",
524
- pluralName: "Team On-Call Duty Escalation Rules",
523
+ singularName: "Escalation Rule Team",
524
+ pluralName: "Escalation Rule Teams",
525
+ // Its names before #6817, which the API, the CLI and MCP keep.
526
+ apiSingularName: "Team On-Call Duty Escalation Rule",
527
+ apiPluralName: "Team On-Call Duty Escalation Rules",
525
528
  icon: IconProp_1.default.Call,
526
529
  tableDescription: "Add teams to your escalation rules.",
527
530
  })
@@ -520,8 +520,11 @@ OnCallDutyPolicyEscalationRuleUser = __decorate([
520
520
  }),
521
521
  (0, TableMetadata_1.default)({
522
522
  tableName: "OnCallDutyPolicyEscalationRuleUser",
523
- singularName: "User's On-Call Duty Escalation Rule",
524
- pluralName: "User's On-Call Duty Escalation Rules",
523
+ singularName: "Escalation Rule User",
524
+ pluralName: "Escalation Rule Users",
525
+ // Its names before #6817, which the API, the CLI and MCP keep.
526
+ apiSingularName: "User's On-Call Duty Escalation Rule",
527
+ apiPluralName: "User's On-Call Duty Escalation Rules",
525
528
  icon: IconProp_1.default.Call,
526
529
  tableDescription: "Add users to your escalation rules.",
527
530
  })
@@ -277,8 +277,9 @@ __decorate([
277
277
  Permission_1.default.ReadProjectOnCallDutyPolicyExecutionLog,
278
278
  ],
279
279
  update: [],
280
- }),
281
- (0, typeorm_1.Index)(),
280
+ })
281
+ // Indexed with createdAt (see the class): the list's order.
282
+ ,
282
283
  (0, TableColumn_1.default)({
283
284
  type: TableColumnType_1.default.ObjectID,
284
285
  required: true,
@@ -361,10 +362,10 @@ __decorate([
361
362
  * Empty for a direct page, which no on-call policy is behind. Not
362
363
  * `required`, so OneUptime's own create of one passes DatabaseService
363
364
  * .checkRequiredFields; every other create still has to name the policy
364
- * it runs (OnCallDutyPolicyExecutionLogService.onBeforeCreate).
365
+ * it runs (OnCallDutyPolicyExecutionLogService.onBeforeCreate). Indexed
366
+ * with createdAt (see the class): the policy's list of runs.
365
367
  */
366
368
  ,
367
- (0, typeorm_1.Index)(),
368
369
  (0, TableColumn_1.default)({
369
370
  type: TableColumnType_1.default.ObjectID,
370
371
  canReadOnRelationQuery: true,
@@ -406,7 +407,7 @@ __decorate([
406
407
  type: TableColumnType_1.default.Entity,
407
408
  modelType: Incident_1.default,
408
409
  title: "Triggered By Incident",
409
- description: "Relation to Incident which triggered this on-call duty policy.",
410
+ description: "Relation to Incident which triggered this on-call policy.",
410
411
  example: "f6a7b8c9-d0e1-2345-f012-456789012345",
411
412
  }),
412
413
  (0, typeorm_1.ManyToOne)(() => {
@@ -490,7 +491,7 @@ __decorate([
490
491
  type: TableColumnType_1.default.Entity,
491
492
  modelType: Alert_1.default,
492
493
  title: "Triggered By Alert",
493
- description: "Relation to Alert which triggered this on-call duty policy.",
494
+ description: "Relation to Alert which triggered this on-call policy.",
494
495
  example: "a7b8c9d0-e1f2-3456-0123-567890123456",
495
496
  }),
496
497
  (0, typeorm_1.ManyToOne)(() => {
@@ -806,7 +807,7 @@ __decorate([
806
807
  type: TableColumnType_1.default.ShortText,
807
808
  allowedValues: Object.values(UserNotificationEventType_1.default),
808
809
  title: "Notification Event Type",
809
- description: "Type of event that triggered this on-call duty policy.",
810
+ description: "Type of event that triggered this on-call policy.",
810
811
  canReadOnRelationQuery: false,
811
812
  example: "Incident Created",
812
813
  }),
@@ -1880,13 +1881,29 @@ OnCallDutyPolicyExecutionLog = __decorate([
1880
1881
  ,
1881
1882
  (0, typeorm_1.Index)(["acknowledgementTimeoutStartedAt"], {
1882
1883
  where: '"acknowledgementTimeoutStartedAt" IS NOT NULL AND "deletedAt" IS NULL',
1883
- }),
1884
+ })
1885
+ /*
1886
+ * The On-Call Policy Logs list (ExecutionLogsTable): a project's runs, or a
1887
+ * policy's, newest first. Without these the list read every run of the
1888
+ * project or policy and sorted them for each page. Each also serves every
1889
+ * read by its leading column alone - a project's or a policy's runs, and
1890
+ * the ON DELETE CASCADE of either - which bare indexes on projectId and
1891
+ * onCallDutyPolicyId used to. A policy's list filters on its project too;
1892
+ * statistics that say a policy's runs are all in its project let the
1893
+ * planner read it in order (AddOnCallExecutionLogListIndexes1809165100000).
1894
+ */
1895
+ ,
1896
+ (0, typeorm_1.Index)(["projectId", "createdAt"]),
1897
+ (0, typeorm_1.Index)(["onCallDutyPolicyId", "createdAt"]),
1884
1898
  (0, TableMetadata_1.default)({
1885
1899
  tableName: "OnCallDutyPolicyExecutionLog",
1886
- singularName: "On-Call Duty Execution Log",
1887
- pluralName: "On-Call Duty Execution Log",
1900
+ singularName: "On-Call Policy Execution Log",
1901
+ pluralName: "On-Call Policy Execution Logs",
1902
+ // Its names before #6817, which the API, the CLI and MCP keep.
1903
+ apiSingularName: "On-Call Duty Execution Log",
1904
+ apiPluralName: "On-Call Duty Execution Log",
1888
1905
  icon: IconProp_1.default.Call,
1889
- tableDescription: "Logs for on-call duty policy execution.",
1906
+ tableDescription: "Each time an on-call policy runs: what started it, how far it got, and who it paged.",
1890
1907
  })
1891
1908
  ], OnCallDutyPolicyExecutionLog);
1892
1909
  exports.default = OnCallDutyPolicyExecutionLog;
@@ -188,7 +188,7 @@ __decorate([
188
188
  type: TableColumnType_1.default.Entity,
189
189
  modelType: OnCallDutyPolicy_1.default,
190
190
  title: "OnCallDutyPolicy",
191
- description: "Relation to on-call duty policy Resource in which this object belongs",
191
+ description: "Relation to the on-call policy this object belongs to",
192
192
  }),
193
193
  (0, typeorm_1.ManyToOne)(() => {
194
194
  return OnCallDutyPolicy_1.default;
@@ -220,8 +220,8 @@ __decorate([
220
220
  (0, TableColumn_1.default)({
221
221
  type: TableColumnType_1.default.ObjectID,
222
222
  canReadOnRelationQuery: true,
223
- title: "OnCallDutyPolicy ID",
224
- description: "ID of your OneUptime on-call duty policy in which this object belongs. Empty for a step of a direct page, which has no on-call policy.",
223
+ title: "On-Call Policy ID",
224
+ description: "ID of your OneUptime on-call policy in which this object belongs. Empty for a step of a direct page, which has no on-call policy.",
225
225
  }),
226
226
  (0, typeorm_1.Column)({
227
227
  type: ColumnType_1.default.ObjectID,
@@ -660,7 +660,7 @@ __decorate([
660
660
  type: TableColumnType_1.default.ShortText,
661
661
  allowedValues: Object.values(UserNotificationEventType_1.default),
662
662
  title: "Notification Event Type",
663
- description: "Type of event that triggered this on-call duty policy.",
663
+ description: "Type of event that triggered this on-call policy.",
664
664
  canReadOnRelationQuery: false,
665
665
  }),
666
666
  (0, typeorm_1.Column)({
@@ -1178,10 +1178,13 @@ OnCallDutyPolicyExecutionLogTimeline = __decorate([
1178
1178
  (0, typeorm_1.Index)(["alertSentToUserId", "projectId"]),
1179
1179
  (0, TableMetadata_1.default)({
1180
1180
  tableName: "OnCallDutyPolicyExecutionLogTimeline",
1181
- singularName: "On-Call Duty Execution Log Timeline",
1182
- pluralName: "On-Call Duty Execution Log Timeline",
1181
+ singularName: "On-Call Policy Execution Log Timeline",
1182
+ pluralName: "On-Call Policy Execution Log Timeline",
1183
+ // Its names before #6817, which the API, the CLI and MCP keep.
1184
+ apiSingularName: "On-Call Duty Execution Log Timeline",
1185
+ apiPluralName: "On-Call Duty Execution Log Timeline",
1183
1186
  icon: IconProp_1.default.Call,
1184
- tableDescription: "Timeline events for on-call duty policy execution log.",
1187
+ tableDescription: "Timeline events for on-call policy execution log.",
1185
1188
  })
1186
1189
  ], OnCallDutyPolicyExecutionLogTimeline);
1187
1190
  exports.default = OnCallDutyPolicyExecutionLogTimeline;
@@ -18,6 +18,7 @@ export declare enum OnCallDutyPolicyFeedEventType {
18
18
  OwnerTeamAdded = "OwnerTeamAdded",
19
19
  OwnerTeamRemoved = "OwnerTeamRemoved",
20
20
  UserOverrideAdded = "UserOverrideAdded",
21
+ UserOverrideChanged = "UserOverrideChanged",
21
22
  UserOverrideRemoved = "UserOverrideRemoved",
22
23
  CoverageGapStarted = "CoverageGapStarted"
23
24
  }
@@ -18,6 +18,7 @@ export declare enum OnCallDutyPolicyFeedEventType {
18
18
  OwnerTeamAdded = "OwnerTeamAdded",
19
19
  OwnerTeamRemoved = "OwnerTeamRemoved",
20
20
  UserOverrideAdded = "UserOverrideAdded",
21
+ UserOverrideChanged = "UserOverrideChanged",
21
22
  UserOverrideRemoved = "UserOverrideRemoved",
22
23
  CoverageGapStarted = "CoverageGapStarted"
23
24
  }
@@ -51,6 +51,8 @@ var OnCallDutyPolicyFeedEventType;
51
51
  OnCallDutyPolicyFeedEventType["OwnerTeamAdded"] = "OwnerTeamAdded";
52
52
  OnCallDutyPolicyFeedEventType["OwnerTeamRemoved"] = "OwnerTeamRemoved";
53
53
  OnCallDutyPolicyFeedEventType["UserOverrideAdded"] = "UserOverrideAdded";
54
+ // An override's times, or who covers, changed (issue #7631).
55
+ OnCallDutyPolicyFeedEventType["UserOverrideChanged"] = "UserOverrideChanged";
54
56
  OnCallDutyPolicyFeedEventType["UserOverrideRemoved"] = "UserOverrideRemoved";
55
57
  /*
56
58
  * A schedule attached to this policy stopped having anybody on call. Distinct
@@ -188,7 +190,7 @@ __decorate([
188
190
  type: TableColumnType_1.default.Entity,
189
191
  modelType: OnCallDutyPolicy_1.default,
190
192
  title: "OnCallDutyPolicy",
191
- description: "Relation to OnCallDutyPolicy in which this resource belongs",
193
+ description: "Relation to the on-call policy this resource belongs to",
192
194
  example: "8b9c0d1e-2f3a-4b5c-6d7e-8f9a0b1c2d3e",
193
195
  }),
194
196
  (0, typeorm_1.ManyToOne)(() => {
@@ -228,8 +230,8 @@ __decorate([
228
230
  (0, TableColumn_1.default)({
229
231
  type: TableColumnType_1.default.ObjectID,
230
232
  required: true,
231
- title: "OnCallDutyPolicy ID",
232
- description: "Relation to OnCallDutyPolicy ID in which this resource belongs",
233
+ title: "On-Call Policy ID",
234
+ description: "ID of the on-call policy this resource belongs to",
233
235
  example: "8b9c0d1e-2f3a-4b5c-6d7e-8f9a0b1c2d3e",
234
236
  }),
235
237
  (0, typeorm_1.Column)({
@@ -386,8 +388,8 @@ __decorate([
386
388
  type: TableColumnType_1.default.Markdown,
387
389
  required: true,
388
390
  title: "Log (in Markdown)",
389
- description: "Log of the entire onCallDutyPolicy state change in Markdown",
390
- example: "## User Added to On-Call Duty Policy\n\nJohn Doe has been added to the on-call rotation for the weekend shift.",
391
+ description: "What happened to the on-call policy, in Markdown",
392
+ example: "## User Added to On-Call Policy\n\nJohn Doe has been added to the on-call rotation for the weekend shift.",
391
393
  }),
392
394
  (0, typeorm_1.Column)({
393
395
  type: ColumnType_1.default.Markdown,
@@ -458,8 +460,8 @@ __decorate([
458
460
  type: TableColumnType_1.default.ShortText,
459
461
  allowedValues: Object.values(OnCallDutyPolicyFeedEventType),
460
462
  required: true,
461
- title: "On Call Duty Policy Feed Event",
462
- description: "On Call Duty Policy Feed Event",
463
+ title: "On-Call Policy Feed Event",
464
+ description: "On-Call Policy Feed Event",
463
465
  example: "UserAdded",
464
466
  }),
465
467
  (0, typeorm_1.Column)({
@@ -495,7 +497,7 @@ __decorate([
495
497
  type: TableColumnType_1.default.Color,
496
498
  required: true,
497
499
  title: "Color",
498
- description: "Display color for the onCallDutyPolicy log",
500
+ description: "Display color for the on-call policy's feed entry",
499
501
  example: "#2ecc71",
500
502
  }),
501
503
  (0, typeorm_1.Column)({
@@ -657,10 +659,13 @@ OnCallDutyPolicyFeed = __decorate([
657
659
  }),
658
660
  (0, TableMetadata_1.default)({
659
661
  tableName: "OnCallDutyPolicyFeed",
660
- singularName: "On Call Duty Policy Feed",
661
- pluralName: "On Call Duty Policy Feeds",
662
+ singularName: "On-Call Policy Feed",
663
+ pluralName: "On-Call Policy Feeds",
664
+ // Its names before #6817, which the API, the CLI and MCP keep.
665
+ apiSingularName: "On Call Duty Policy Feed",
666
+ apiPluralName: "On Call Duty Policy Feeds",
662
667
  icon: IconProp_1.default.List,
663
- tableDescription: "Log of the entire onCallDutyPolicy state change. This is a log of all the on call duty policy changes.",
668
+ tableDescription: "What happened to an on-call policy, in order: every change to it and every time it ran.",
664
669
  })
665
670
  ], OnCallDutyPolicyFeed);
666
671
  exports.default = OnCallDutyPolicyFeed;
@@ -233,7 +233,7 @@ __decorate([
233
233
  type: TableColumnType_1.default.Entity,
234
234
  modelType: OnCallDutyPolicy_1.default,
235
235
  title: "OnCallDutyPolicy",
236
- description: "Relation to OnCallDutyPolicy Resource in which this object belongs",
236
+ description: "Relation to the on-call policy this object belongs to",
237
237
  }),
238
238
  (0, typeorm_1.ManyToOne)(() => {
239
239
  return OnCallDutyPolicy_1.default;
@@ -273,7 +273,7 @@ __decorate([
273
273
  type: TableColumnType_1.default.ObjectID,
274
274
  required: true,
275
275
  canReadOnRelationQuery: true,
276
- title: "OnCallDutyPolicy ID",
276
+ title: "On-Call Policy ID",
277
277
  description: "ID of the on-call policy the team owns",
278
278
  }),
279
279
  (0, typeorm_1.Column)({
@@ -506,8 +506,11 @@ OnCallDutyPolicyOwnerTeam = __decorate([
506
506
  (0, CrudApiEndpoint_1.default)(new Route_1.default("/on-call-duty-policy-owner-team")),
507
507
  (0, TableMetadata_1.default)({
508
508
  tableName: "OnCallDutyPolicyOwnerTeam",
509
- singularName: "OnCallDutyPolicy Team Owner",
510
- pluralName: "OnCallDutyPolicy Team Owners",
509
+ singularName: "On-Call Policy Team Owner",
510
+ pluralName: "On-Call Policy Team Owners",
511
+ // Its names before #6817, which the API, the CLI and MCP keep.
512
+ apiSingularName: "OnCallDutyPolicy Team Owner",
513
+ apiPluralName: "OnCallDutyPolicy Team Owners",
511
514
  icon: IconProp_1.default.Signal,
512
515
  tableDescription: "Add teams as owners to your on-call policies.",
513
516
  }),
@@ -232,7 +232,7 @@ __decorate([
232
232
  type: TableColumnType_1.default.Entity,
233
233
  modelType: OnCallDutyPolicy_1.default,
234
234
  title: "OnCallDutyPolicy",
235
- description: "Relation to OnCallDutyPolicy Resource in which this object belongs",
235
+ description: "Relation to the on-call policy this object belongs to",
236
236
  }),
237
237
  (0, typeorm_1.ManyToOne)(() => {
238
238
  return OnCallDutyPolicy_1.default;
@@ -272,7 +272,7 @@ __decorate([
272
272
  type: TableColumnType_1.default.ObjectID,
273
273
  required: true,
274
274
  canReadOnRelationQuery: true,
275
- title: "OnCallDutyPolicy ID",
275
+ title: "On-Call Policy ID",
276
276
  description: "ID of the on-call policy the user owns",
277
277
  }),
278
278
  (0, typeorm_1.Column)({
@@ -505,8 +505,11 @@ OnCallDutyPolicyOwnerUser = __decorate([
505
505
  (0, CrudApiEndpoint_1.default)(new Route_1.default("/onCallDutyPolicy-owner-user")),
506
506
  (0, TableMetadata_1.default)({
507
507
  tableName: "OnCallDutyPolicyOwnerUser",
508
- singularName: "OnCallDutyPolicy User Owner",
509
- pluralName: "OnCallDutyPolicy User Owners",
508
+ singularName: "On-Call Policy User Owner",
509
+ pluralName: "On-Call Policy User Owners",
510
+ // Its names before #6817, which the API, the CLI and MCP keep.
511
+ apiSingularName: "OnCallDutyPolicy User Owner",
512
+ apiPluralName: "OnCallDutyPolicy User Owners",
510
513
  icon: IconProp_1.default.Signal,
511
514
  tableDescription: "Add users as owners to your on-call policies.",
512
515
  }),
@@ -838,10 +838,13 @@ OnCallDutyPolicySchedule = __decorate([
838
838
  }),
839
839
  (0, TableMetadata_1.default)({
840
840
  tableName: "OnCallDutyPolicySchedule",
841
- singularName: "On-Call Policy Schedule",
842
- pluralName: "On-Call Duty Policy Schedules",
841
+ singularName: "On-Call Schedule",
842
+ pluralName: "On-Call Schedules",
843
+ // Was "On-Call Policy Schedule" (#6817): oneuptime_on_call_policy_schedule stays.
844
+ apiSingularName: "On-Call Policy Schedule",
845
+ apiPluralName: "On-Call Duty Policy Schedules",
843
846
  icon: IconProp_1.default.Calendar,
844
- tableDescription: "Manage schedules and rotations for your on-call duty policy.",
847
+ tableDescription: "Who is on call at any moment: people take turns in layers, and each one hands over to the next.",
845
848
  })
846
849
  ], OnCallDutyPolicySchedule);
847
850
  exports.default = OnCallDutyPolicySchedule;
@@ -190,8 +190,8 @@ __decorate([
190
190
  manyToOneRelationColumn: "onCallDutyPolicyScheduleId",
191
191
  type: TableColumnType_1.default.Entity,
192
192
  modelType: OnCallDutyPolicySchedule_1.default,
193
- title: "On-Call Policy Schedule",
194
- description: "Relation to the On-Call Policy Schedule this feed renders.",
193
+ title: "On-Call Schedule",
194
+ description: "Relation to the On-Call Schedule this feed renders.",
195
195
  }),
196
196
  (0, typeorm_1.ManyToOne)(() => {
197
197
  return OnCallDutyPolicySchedule_1.default;
@@ -214,8 +214,8 @@ __decorate([
214
214
  type: TableColumnType_1.default.ObjectID,
215
215
  required: true,
216
216
  canReadOnRelationQuery: true,
217
- title: "On-Call Policy Schedule ID",
218
- description: "ID of the On-Call Policy Schedule this feed renders.",
217
+ title: "On-Call Schedule ID",
218
+ description: "ID of the On-Call Schedule this feed renders.",
219
219
  example: "5f8b9c0d-e1a2-4b3c-8d5e-6f7a8b9c0d1e",
220
220
  }),
221
221
  (0, typeorm_1.Column)({
@@ -159,8 +159,8 @@ __decorate([
159
159
  manyToOneRelationColumn: "onCallDutyPolicyScheduleId",
160
160
  type: TableColumnType_1.default.Entity,
161
161
  modelType: OnCallDutyPolicySchedule_1.default,
162
- title: "On-Call Policy Schedule",
163
- description: "Relation to On-Call Policy Schedule where this escalation rule belongs.",
162
+ title: "On-Call Schedule",
163
+ description: "Relation to On-Call Schedule where this escalation rule belongs.",
164
164
  }),
165
165
  (0, typeorm_1.ManyToOne)(() => {
166
166
  return OnCallDutyPolicySchedule_1.default;
@@ -200,7 +200,7 @@ __decorate([
200
200
  type: TableColumnType_1.default.ObjectID,
201
201
  required: true,
202
202
  canReadOnRelationQuery: true,
203
- title: "On-Call Policy Schedule ID",
203
+ title: "On-Call Schedule ID",
204
204
  description: "ID of the on-call schedule the layer is in",
205
205
  }),
206
206
  (0, typeorm_1.Column)({
@@ -155,8 +155,8 @@ __decorate([
155
155
  manyToOneRelationColumn: "onCallDutyPolicyScheduleId",
156
156
  type: TableColumnType_1.default.Entity,
157
157
  modelType: OnCallDutyPolicySchedule_1.default,
158
- title: "On-Call Policy Schedule",
159
- description: "Relation to On-Call Policy Schedule where this escalation rule belongs.",
158
+ title: "On-Call Schedule",
159
+ description: "Relation to On-Call Schedule where this escalation rule belongs.",
160
160
  }),
161
161
  (0, typeorm_1.ManyToOne)(() => {
162
162
  return OnCallDutyPolicySchedule_1.default;
@@ -196,7 +196,7 @@ __decorate([
196
196
  type: TableColumnType_1.default.ObjectID,
197
197
  required: true,
198
198
  canReadOnRelationQuery: true,
199
- title: "On-Call Policy Schedule ID",
199
+ title: "On-Call Schedule ID",
200
200
  description: "ID of the on-call schedule the layer is in",
201
201
  }),
202
202
  (0, typeorm_1.Column)({
@@ -232,8 +232,8 @@ __decorate([
232
232
  manyToOneRelationColumn: "onCallDutyPolicyScheduleLayerId",
233
233
  type: TableColumnType_1.default.Entity,
234
234
  modelType: OnCallDutyPolicyScheduleLayer_1.default,
235
- title: "On-Call Policy Schedule Layer",
236
- description: "Relation to On-Call Policy Schedule Layer where this belongs.",
235
+ title: "On-Call Schedule Layer",
236
+ description: "Relation to On-Call Schedule Layer where this belongs.",
237
237
  }),
238
238
  (0, typeorm_1.ManyToOne)(() => {
239
239
  return OnCallDutyPolicyScheduleLayer_1.default;
@@ -273,7 +273,7 @@ __decorate([
273
273
  type: TableColumnType_1.default.ObjectID,
274
274
  required: true,
275
275
  canReadOnRelationQuery: true,
276
- title: "On-Call Policy Schedule Layer ID",
276
+ title: "On-Call Schedule Layer ID",
277
277
  description: "ID of the layer the person takes turns on call in",
278
278
  }),
279
279
  (0, typeorm_1.Column)({