@oneuptime/common 14.0.109 → 14.0.110

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 (285) hide show
  1. package/Models/AnalyticsModels/SecurityEvent.js +1 -1
  2. package/Models/DatabaseModels/AIInsight.js +2 -2
  3. package/Models/DatabaseModels/Alert.js +2 -2
  4. package/Models/DatabaseModels/AlertEpisode.js +2 -2
  5. package/Models/DatabaseModels/AlertEpisodeOnCallRule.js +3 -3
  6. package/Models/DatabaseModels/AlertGroupingRule.d.mts +1 -0
  7. package/Models/DatabaseModels/AlertGroupingRule.d.ts +1 -0
  8. package/Models/DatabaseModels/AlertGroupingRule.js +48 -2
  9. package/Models/DatabaseModels/AlertOnCallRule.js +3 -3
  10. package/Models/DatabaseModels/AlertSeverity.js +13 -4
  11. package/Models/DatabaseModels/AlertState.js +1 -1
  12. package/Models/DatabaseModels/CallLog.js +12 -12
  13. package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.mts +2 -0
  14. package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.ts +2 -0
  15. package/Models/DatabaseModels/EmailLog.js +12 -12
  16. package/Models/DatabaseModels/FormSubmission.js +2 -2
  17. package/Models/DatabaseModels/GlobalConfig.d.mts +1 -0
  18. package/Models/DatabaseModels/GlobalConfig.d.ts +1 -0
  19. package/Models/DatabaseModels/GlobalConfig.js +28 -0
  20. package/Models/DatabaseModels/Incident.js +2 -2
  21. package/Models/DatabaseModels/IncidentEpisode.js +2 -2
  22. package/Models/DatabaseModels/IncidentEpisodeOnCallRule.js +3 -3
  23. package/Models/DatabaseModels/IncidentGroupingRule.d.mts +1 -0
  24. package/Models/DatabaseModels/IncidentGroupingRule.d.ts +1 -0
  25. package/Models/DatabaseModels/IncidentGroupingRule.js +48 -2
  26. package/Models/DatabaseModels/IncidentOnCallRule.js +3 -3
  27. package/Models/DatabaseModels/IncidentSeverity.js +13 -4
  28. package/Models/DatabaseModels/IncidentState.js +1 -1
  29. package/Models/DatabaseModels/IncidentTemplate.js +2 -2
  30. package/Models/DatabaseModels/Monitor.js +3 -3
  31. package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
  32. package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
  33. package/Models/DatabaseModels/NetworkDevice.js +41 -0
  34. package/Models/DatabaseModels/OnCallDutyPolicy.js +4 -2
  35. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRule.js +1 -1
  36. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleSchedule.js +8 -5
  37. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleTeam.js +5 -2
  38. package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleUser.js +5 -2
  39. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +9 -6
  40. package/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.js +10 -7
  41. package/Models/DatabaseModels/OnCallDutyPolicyFeed.js +14 -11
  42. package/Models/DatabaseModels/OnCallDutyPolicyOwnerTeam.js +7 -4
  43. package/Models/DatabaseModels/OnCallDutyPolicyOwnerUser.js +7 -4
  44. package/Models/DatabaseModels/OnCallDutyPolicySchedule.js +6 -3
  45. package/Models/DatabaseModels/OnCallDutyPolicyScheduleCalendarFeed.js +4 -4
  46. package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayer.js +3 -3
  47. package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayerUser.js +6 -6
  48. package/Models/DatabaseModels/OnCallDutyPolicyTimeLog.js +9 -6
  49. package/Models/DatabaseModels/Project.d.mts +2 -0
  50. package/Models/DatabaseModels/Project.d.ts +2 -0
  51. package/Models/DatabaseModels/Project.js +96 -2
  52. package/Models/DatabaseModels/ProxmoxCluster.d.mts +1 -0
  53. package/Models/DatabaseModels/ProxmoxCluster.d.ts +1 -0
  54. package/Models/DatabaseModels/ProxmoxCluster.js +52 -3
  55. package/Models/DatabaseModels/PushNotificationLog.js +12 -12
  56. package/Models/DatabaseModels/Reseller.js +8 -2
  57. package/Models/DatabaseModels/ResellerPlan.js +8 -2
  58. package/Models/DatabaseModels/ScheduledMaintenance.js +6 -3
  59. package/Models/DatabaseModels/ScheduledMaintenanceInternalNote.js +7 -4
  60. package/Models/DatabaseModels/ScheduledMaintenanceMeasurementValue.js +2 -2
  61. package/Models/DatabaseModels/ScheduledMaintenancePublicNote.js +7 -4
  62. package/Models/DatabaseModels/ScheduledMaintenanceStateTimeline.js +1 -1
  63. package/Models/DatabaseModels/Service.js +1 -1
  64. package/Models/DatabaseModels/ServiceLevelObjectiveBurnRateRule.js +4 -4
  65. package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.js +4 -4
  66. package/Models/DatabaseModels/SmsLog.js +12 -12
  67. package/Models/DatabaseModels/StatusPage.js +5 -5
  68. package/Models/DatabaseModels/StatusPageSubscriber.js +2 -2
  69. package/Models/DatabaseModels/TelegramLog.js +12 -12
  70. package/Models/DatabaseModels/TelemetryIngestionKey.js +8 -5
  71. package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.js +7 -4
  72. package/Models/DatabaseModels/User.d.mts +4 -0
  73. package/Models/DatabaseModels/User.d.ts +4 -0
  74. package/Models/DatabaseModels/User.js +100 -0
  75. package/Models/DatabaseModels/UserOnCallLog.js +6 -6
  76. package/Models/DatabaseModels/UserOnCallLogTimeline.js +3 -3
  77. package/Models/DatabaseModels/UserOnCallShiftReminderLog.js +2 -2
  78. package/Models/DatabaseModels/WebhookLog.js +12 -12
  79. package/Models/DatabaseModels/WhatsAppLog.js +12 -12
  80. package/Models/DatabaseModels/WorkspaceNotificationLog.js +12 -12
  81. package/Types/AI/AIChatTypes.d.mts +2 -1
  82. package/Types/AI/AIChatTypes.d.ts +2 -1
  83. package/Types/AI/AIChatTypes.js +5 -0
  84. package/Types/Analytics/ProductEvent.d.mts +6 -1
  85. package/Types/Analytics/ProductEvent.d.ts +6 -1
  86. package/Types/Analytics/ProductEvent.js +41 -0
  87. package/Types/AuditLog/AuditLogCoverage.d.mts +1 -0
  88. package/Types/AuditLog/AuditLogCoverage.d.ts +1 -0
  89. package/Types/AuditLog/AuditLogCoverage.js +4 -2
  90. package/Types/Cloud/CloudResourceCatalog.d.mts +2 -0
  91. package/Types/Cloud/CloudResourceCatalog.d.ts +2 -0
  92. package/Types/Cloud/CloudResourceCatalog.js +33 -3
  93. package/Types/Cloud/CloudResourceCatalog.mjs +1 -0
  94. package/Types/DataObservability/DataCheckSuggestions.d.mts +25 -0
  95. package/Types/DataObservability/DataCheckSuggestions.d.ts +25 -0
  96. package/Types/DataObservability/DataCheckSuggestions.js +102 -65
  97. package/Types/DataObservability/DataCheckSuggestions.mjs +1 -0
  98. package/Types/Database/TableMetadata.d.mts +2 -0
  99. package/Types/Database/TableMetadata.d.ts +2 -0
  100. package/Types/Database/TableMetadata.js +6 -0
  101. package/Types/Date.d.mts +20 -1
  102. package/Types/Date.d.ts +20 -1
  103. package/Types/Date.js +42 -2
  104. package/Types/DateLanguage.d.mts +2 -0
  105. package/Types/DateLanguage.d.ts +2 -0
  106. package/Types/DateLanguage.js +44 -2
  107. package/Types/DateLanguage.mjs +2 -0
  108. package/Types/DirectionArrow.d.mts +7 -0
  109. package/Types/DirectionArrow.d.ts +7 -0
  110. package/Types/DirectionArrow.js +88 -0
  111. package/Types/DirectionArrow.mjs +7 -0
  112. package/Types/Docs/GlossaryTerm.d.mts +1 -0
  113. package/Types/Docs/GlossaryTerm.d.ts +1 -0
  114. package/Types/Docs/GlossaryTerm.js +2 -0
  115. package/Types/Docs/RetiredNames.d.mts +11 -0
  116. package/Types/Docs/RetiredNames.d.ts +11 -0
  117. package/Types/Docs/RetiredNames.js +139 -0
  118. package/Types/Docs/RetiredNames.mjs +3 -0
  119. package/Types/Exception/RefusalWithValues.d.mts +7 -0
  120. package/Types/Exception/RefusalWithValues.d.ts +7 -0
  121. package/Types/Exception/RefusalWithValues.js +76 -0
  122. package/Types/Exception/RefusalWithValues.mjs +3 -0
  123. package/Types/Exception/UnexplainedError.d.mts +13 -0
  124. package/Types/Exception/UnexplainedError.d.ts +13 -0
  125. package/Types/Exception/UnexplainedError.js +53 -1
  126. package/Types/Exception/UnexplainedError.mjs +1 -0
  127. package/Types/File/FileSize.d.mts +4 -1
  128. package/Types/File/FileSize.d.ts +4 -1
  129. package/Types/File/FileSize.js +18 -17
  130. package/Types/HostCollector/HostCollector.d.mts +1 -0
  131. package/Types/HostCollector/HostCollector.d.ts +1 -0
  132. package/Types/HostCollector/HostCollector.js +26 -10
  133. package/Types/HostCollector/HostCollector.mjs +1 -0
  134. package/Types/Monitor/MonitorCriteria.js +2 -2
  135. package/Types/Monitor/MonitorStep.js +1 -1
  136. package/Types/Monitor/MonitorTemplateSyncField.d.mts +6 -0
  137. package/Types/Monitor/MonitorTemplateSyncField.d.ts +6 -0
  138. package/Types/Monitor/MonitorTemplateSyncField.js +106 -64
  139. package/Types/Monitor/NtpMonitor/NtpMonitorUtil.d.mts +1 -0
  140. package/Types/Monitor/NtpMonitor/NtpMonitorUtil.d.ts +1 -0
  141. package/Types/Monitor/NtpMonitor/NtpMonitorUtil.js +11 -3
  142. package/Types/Monitor/WhoIsTold.d.mts +3 -1
  143. package/Types/Monitor/WhoIsTold.d.ts +3 -1
  144. package/Types/Monitor/WhoIsTold.js +2 -1
  145. package/Types/NotificationRule/PagingLadder.d.mts +137 -0
  146. package/Types/NotificationRule/PagingLadder.d.ts +137 -0
  147. package/Types/NotificationRule/PagingLadder.js +682 -0
  148. package/Types/NotificationRule/PagingLadder.mjs +28 -0
  149. package/Types/NotificationSetting/NotificationEmailRollupCategory.js +1 -1
  150. package/Types/OnCallDutyPolicy/OnCallPageLine.d.mts +26 -0
  151. package/Types/OnCallDutyPolicy/OnCallPageLine.d.ts +26 -0
  152. package/Types/OnCallDutyPolicy/OnCallPageLine.js +136 -0
  153. package/Types/OnCallDutyPolicy/OnCallPageLine.mjs +18 -0
  154. package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +44 -0
  155. package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +44 -0
  156. package/Types/OnCallDutyPolicy/OnCallTestPage.js +96 -5
  157. package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +1 -0
  158. package/Types/OnCallDutyPolicy/OnCallTestPageLine.d.mts +19 -0
  159. package/Types/OnCallDutyPolicy/OnCallTestPageLine.d.ts +19 -0
  160. package/Types/OnCallDutyPolicy/OnCallTestPageLine.js +222 -0
  161. package/Types/OnCallDutyPolicy/OnCallTestPageLine.mjs +6 -0
  162. package/Types/OnCallDutyPolicy/ScheduleLayerDefaults.js +5 -2
  163. package/Types/OnCallDutyPolicy/UserOverrideCoverRequest.js +9 -1
  164. package/Types/Permission.d.mts +2 -2
  165. package/Types/Permission.d.ts +2 -2
  166. package/Types/Permission.js +194 -193
  167. package/Types/Product/ProductCatalog.d.mts +10 -0
  168. package/Types/Product/ProductCatalog.d.ts +10 -0
  169. package/Types/Product/ProductCatalog.js +208 -0
  170. package/Types/Product/ProductCatalog.mjs +6 -0
  171. package/Types/Product/ProductOfTable.d.mts +3 -0
  172. package/Types/Product/ProductOfTable.d.ts +3 -0
  173. package/Types/Product/ProductOfTable.js +68 -0
  174. package/Types/Product/ProductOfTable.mjs +3 -0
  175. package/Types/Product/ProjectProductsAnswer.d.mts +3 -0
  176. package/Types/Product/ProjectProductsAnswer.d.ts +3 -0
  177. package/Types/Product/ProjectProductsAnswer.js +35 -2
  178. package/Types/Product/ProjectProductsAnswer.mjs +1 -0
  179. package/Types/Product/ServerProducts.d.mts +65 -0
  180. package/Types/Product/ServerProducts.d.ts +65 -0
  181. package/Types/Product/ServerProducts.js +383 -0
  182. package/Types/Product/ServerProducts.mjs +26 -0
  183. package/Types/Product/ServerProductsAnswer.d.mts +21 -0
  184. package/Types/Product/ServerProductsAnswer.d.ts +21 -0
  185. package/Types/Product/ServerProductsAnswer.js +78 -0
  186. package/Types/Product/ServerProductsAnswer.mjs +5 -0
  187. package/Types/ProductFeedback/ProductFeedback.d.mts +3 -1
  188. package/Types/ProductFeedback/ProductFeedback.d.ts +3 -1
  189. package/Types/ProductFeedback/ProductFeedback.js +8 -0
  190. package/Types/Rum/SessionReplayCustomEvents.d.mts +1 -0
  191. package/Types/Rum/SessionReplayCustomEvents.d.ts +1 -0
  192. package/Types/SampleProject/SampleProject.d.mts +54 -0
  193. package/Types/SampleProject/SampleProject.d.ts +54 -0
  194. package/Types/SampleProject/SampleProject.js +177 -0
  195. package/Types/SampleProject/SampleProject.mjs +22 -0
  196. package/Types/SampleProject/SampleProjectContent.d.mts +127 -0
  197. package/Types/SampleProject/SampleProjectContent.d.ts +127 -0
  198. package/Types/SampleProject/SampleProjectContent.js +397 -0
  199. package/Types/SampleProject/SampleProjectContent.mjs +18 -0
  200. package/Types/Telemetry/TelemetryIngestSurface.js +6 -5
  201. package/Types/Translator.d.mts +1 -0
  202. package/Types/Translator.d.ts +1 -0
  203. package/Types/Translator.js +40 -2
  204. package/Types/Translator.mjs +1 -0
  205. package/Types/UsedBy/UsedBy.d.mts +103 -0
  206. package/Types/UsedBy/UsedBy.d.ts +103 -0
  207. package/Types/UsedBy/UsedBy.js +389 -0
  208. package/Types/UsedBy/UsedBy.mjs +20 -0
  209. package/Types/UsedBy/UsedByServerProducts.d.mts +4 -0
  210. package/Types/UsedBy/UsedByServerProducts.d.ts +4 -0
  211. package/Types/UsedBy/UsedByServerProducts.js +48 -0
  212. package/Types/UsedBy/UsedByServerProducts.mjs +3 -0
  213. package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +6 -0
  214. package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +6 -0
  215. package/Types/WelcomeChecklist/WelcomeChecklist.js +54 -2
  216. package/Types/WelcomeChecklist/WelcomeChecklist.mjs +4 -0
  217. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +1 -0
  218. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +1 -0
  219. package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +3 -0
  220. package/Types/Workflow/PassedOnFields.js +2 -1
  221. package/Types/Workflow/Templates.js +1 -1
  222. package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +2 -0
  223. package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +2 -0
  224. package/Utils/AI/MeaningMatch.d.mts +36 -0
  225. package/Utils/AI/MeaningMatch.d.ts +36 -0
  226. package/Utils/AI/MeaningMatch.js +535 -0
  227. package/Utils/AI/MeaningMatch.mjs +7 -0
  228. package/Utils/ArchivableValues.js +1 -1
  229. package/Utils/AuditLog/AuditLogValues.js +2 -2
  230. package/Utils/Dashboard/ClockWidgetFormat.d.mts +14 -2
  231. package/Utils/Dashboard/ClockWidgetFormat.d.ts +14 -2
  232. package/Utils/Dashboard/ClockWidgetFormat.js +105 -2
  233. package/Utils/Dashboard/DashboardViewConfigSignature.d.mts +3 -0
  234. package/Utils/Dashboard/DashboardViewConfigSignature.d.ts +3 -0
  235. package/Utils/Dashboard/DashboardViewConfigSignature.js +45 -0
  236. package/Utils/Dashboard/DashboardViewConfigSignature.mjs +3 -0
  237. package/Utils/DataSecurity/TextScanner.js +2 -2
  238. package/Utils/DeveloperDocs/AiAssistantExamples.js +4 -4
  239. package/Utils/DeveloperDocs/CliCommands.d.mts +1 -0
  240. package/Utils/DeveloperDocs/CliCommands.d.ts +1 -0
  241. package/Utils/DeveloperDocs/CliCommands.js +2 -1
  242. package/Utils/DeveloperDocs/CliResources.js +2 -1
  243. package/Utils/DeveloperDocs/TerraformSchema.js +3 -1
  244. package/Utils/Markdown/LinkReferenceDefinitions.d.mts +8 -0
  245. package/Utils/Markdown/LinkReferenceDefinitions.d.ts +8 -0
  246. package/Utils/Markdown/LinkReferenceDefinitions.js +1493 -131
  247. package/Utils/Markdown/LinkReferenceDefinitions.mjs +1 -0
  248. package/Utils/Markdown/MarkdownTableCell.js +2 -1
  249. package/Utils/Markdown/OverLongText.js +523 -5
  250. package/Utils/Markdown/SlowMarkdown.d.mts +14 -0
  251. package/Utils/Markdown/SlowMarkdown.d.ts +14 -0
  252. package/Utils/Markdown/SlowMarkdown.js +595 -11
  253. package/Utils/Markdown/SlowMarkdown.mjs +6 -0
  254. package/Utils/ModelApiName.d.mts +11 -0
  255. package/Utils/ModelApiName.d.ts +11 -0
  256. package/Utils/ModelApiName.js +72 -0
  257. package/Utils/ModelApiName.mjs +5 -0
  258. package/Utils/Monitor/DeviceMacLearningUtil.d.mts +2 -1
  259. package/Utils/Monitor/DeviceMacLearningUtil.d.ts +2 -1
  260. package/Utils/Monitor/DeviceMacLearningUtil.js +26 -0
  261. package/Utils/Monitor/EndpointAttachmentUtil.js +8 -3
  262. package/Utils/Monitor/ExternalStatusPageReading.d.mts +3 -0
  263. package/Utils/Monitor/ExternalStatusPageReading.d.ts +3 -0
  264. package/Utils/Monitor/ExternalStatusPageReading.js +35 -1
  265. package/Utils/Monitor/ExternalStatusPageReading.mjs +2 -0
  266. package/Utils/Monitor/MonitorTemplateLinkRefusal.d.mts +9 -0
  267. package/Utils/Monitor/MonitorTemplateLinkRefusal.d.ts +9 -0
  268. package/Utils/Monitor/MonitorTemplateLinkRefusal.js +45 -0
  269. package/Utils/Monitor/MonitorTemplateLinkRefusal.mjs +6 -0
  270. package/Utils/OpenStack/OpenStackCheckName.js +2 -1
  271. package/Utils/OpenStack/OpenStackLogScrub.js +1 -1
  272. package/Utils/OpenStack/OpenStackLogs.js +3 -2
  273. package/Utils/OpenStack/OpenStackTraces.js +2 -1
  274. package/Utils/Project/NotificationChannels.js +5 -5
  275. package/Utils/Project/ProjectBalance.js +2 -2
  276. package/Utils/Project/TwilioAccount.js +2 -2
  277. package/Utils/ScheduledMaintenanceStart.d.mts +3 -0
  278. package/Utils/ScheduledMaintenanceStart.d.ts +3 -0
  279. package/Utils/ScheduledMaintenanceStart.js +9 -0
  280. package/Utils/Schema/ModelSchema.js +10 -1
  281. package/Utils/Uptime/UptimeMaintenanceUtil.js +2 -1
  282. package/Utils/ValueFormatter.d.mts +8 -6
  283. package/Utils/ValueFormatter.d.ts +8 -6
  284. package/Utils/ValueFormatter.js +145 -0
  285. package/package.json +1 -1
@@ -299,7 +299,10 @@ __decorate([
299
299
  (0, TableColumn_1.default)({
300
300
  manyToOneRelationColumn: "createdByUserId",
301
301
  type: TableColumnType_1.default.Entity,
302
- modelType: User_1.default,
302
+ // Lazy: User imports Project, which imports this model (see modelTypeThunk).
303
+ modelTypeThunk: () => {
304
+ return User_1.default;
305
+ },
303
306
  title: "Created by User",
304
307
  description: "Relation to User who created this object (if this object was created by a User)",
305
308
  }),
@@ -371,7 +374,10 @@ __decorate([
371
374
  manyToOneRelationColumn: "deletedByUserId",
372
375
  type: TableColumnType_1.default.Entity,
373
376
  title: "Deleted by User",
374
- modelType: User_1.default,
377
+ // Lazy: User imports Project, which imports this model (see modelTypeThunk).
378
+ modelTypeThunk: () => {
379
+ return User_1.default;
380
+ },
375
381
  description: "Relation to User who deleted this object (if this object was deleted by a User)",
376
382
  }),
377
383
  (0, typeorm_1.ManyToOne)(() => {
@@ -604,7 +610,10 @@ __decorate([
604
610
  (0, TableColumn_1.default)({
605
611
  manyToOneRelationColumn: "archivedByUserId",
606
612
  type: TableColumnType_1.default.Entity,
607
- modelType: User_1.default,
613
+ // Lazy: User imports Project, which imports this model (see modelTypeThunk).
614
+ modelTypeThunk: () => {
615
+ return User_1.default;
616
+ },
608
617
  title: "Archived by User",
609
618
  description: "Relation to User who archived this object (if this object was archived by a User)",
610
619
  }),
@@ -716,7 +725,7 @@ IncidentSeverity = __decorate([
716
725
  singularName: "Incident Severity",
717
726
  pluralName: "Incident Severities",
718
727
  icon: IconProp_1.default.Alert,
719
- tableDescription: "Manage incident severity for your project (Created, Acknowledged for example). Add / edit or remove severities.",
728
+ tableDescription: "How much an incident matters. A new project starts with Critical Incident, Major Incident and Minor Incident: rename them, recolor them or add your own.",
720
729
  }),
721
730
  (0, typeorm_1.Entity)({
722
731
  name: "IncidentSeverity",
@@ -768,7 +768,7 @@ IncidentState = __decorate([
768
768
  singularName: "Incident State",
769
769
  pluralName: "Incident States",
770
770
  icon: IconProp_1.default.ArrowCircleRight,
771
- tableDescription: "Manage incident states for your project (Created, Acknowledged for example). Add / edit or remove states.",
771
+ tableDescription: "Where an incident is in your response. A new project starts with Identified, Acknowledged and Resolved: rename them or add your own between them.",
772
772
  }),
773
773
  (0, typeorm_1.Entity)({
774
774
  name: "IncidentState",
@@ -865,8 +865,8 @@ __decorate([
865
865
  required: false,
866
866
  type: TableColumnType_1.default.EntityArray,
867
867
  modelType: OnCallDutyPolicy_1.default,
868
- title: "On-Call Duty Policies",
869
- description: "List of on-call duty policies affected by this incident template.",
868
+ title: "On-Call Policies",
869
+ description: "List of on-call policies affected by this incident template.",
870
870
  }),
871
871
  (0, typeorm_1.ManyToMany)(() => {
872
872
  return OnCallDutyPolicy_1.default;
@@ -1911,7 +1911,7 @@ __decorate([
1911
1911
  type: TableColumnType_1.default.MonitorSteps,
1912
1912
  required: false,
1913
1913
  title: "Monitor Steps",
1914
- description: "What would you like to monitor and what is the criteria?",
1914
+ description: "What the monitor checks, and the criteria that judge each result. The Dashboard shows a step's criteria on the monitor's Criteria page.",
1915
1915
  canReadOnRelationQuery: true,
1916
1916
  }),
1917
1917
  (0, typeorm_1.Column)({
@@ -2270,8 +2270,8 @@ __decorate([
2270
2270
  type: TableColumnType_1.default.Boolean,
2271
2271
  required: true,
2272
2272
  isDefaultValueColumn: true,
2273
- title: "Disable Monitoring because of Ongoing Scheduled Maintenance Event",
2274
- description: "Disable Monitoring because of Ongoing Scheduled Maintenance Event",
2273
+ title: "Disable Monitoring because of Ongoing Maintenance Event",
2274
+ description: "Disable Monitoring because of Ongoing Maintenance Event",
2275
2275
  defaultValue: false,
2276
2276
  }),
2277
2277
  (0, typeorm_1.Column)({
@@ -83,6 +83,7 @@ export default class NetworkDevice extends BaseModel {
83
83
  transceiverSnapshot?: Array<NetworkDeviceTransceiver>;
84
84
  lastSeenAt?: Date;
85
85
  lastPolledAt?: Date;
86
+ lastPollReceivedAt?: Date;
86
87
  isReachable?: boolean;
87
88
  isSnmpReachable?: boolean;
88
89
  lastSnmpSeenAt?: Date;
@@ -83,6 +83,7 @@ export default class NetworkDevice extends BaseModel {
83
83
  transceiverSnapshot?: Array<NetworkDeviceTransceiver>;
84
84
  lastSeenAt?: Date;
85
85
  lastPolledAt?: Date;
86
+ lastPollReceivedAt?: Date;
86
87
  isReachable?: boolean;
87
88
  isSnmpReachable?: boolean;
88
89
  lastSnmpSeenAt?: Date;
@@ -274,6 +274,20 @@ let NetworkDevice = class NetworkDevice extends DatabaseBaseModel_1.default {
274
274
  this.transceiverSnapshot = undefined;
275
275
  this.lastSeenAt = undefined;
276
276
  this.lastPolledAt = undefined;
277
+ /*
278
+ * The receipt time of the poll whose verdict the row holds, which is what
279
+ * keeps an older poll from overwriting a newer one (OneUptime issue #7389).
280
+ * Written with the verdict, in one statement that only writes a poll
281
+ * received after this time (NetworkDeviceService.writePollVerdict).
282
+ *
283
+ * lastPolledAt cannot do this job. It is stamped when OneUptime processed
284
+ * the poll, because the stale-poll check, the topology and the stale pill
285
+ * all read it to tell whether polls are still coming through, and a queue
286
+ * backlog does not stop them.
287
+ *
288
+ * Read-only for everyone: only the poll pipeline writes it.
289
+ */
290
+ this.lastPollReceivedAt = undefined;
277
291
  this.isReachable = undefined;
278
292
  this.isSnmpReachable = undefined;
279
293
  this.lastSnmpSeenAt = undefined;
@@ -2994,6 +3008,33 @@ __decorate([
2994
3008
  }),
2995
3009
  __metadata("design:type", Date)
2996
3010
  ], NetworkDevice.prototype, "lastPolledAt", void 0);
3011
+ __decorate([
3012
+ (0, ColumnAccessControl_1.default)({
3013
+ create: [],
3014
+ read: [
3015
+ Permission_1.default.ProjectOwner,
3016
+ Permission_1.default.ProjectAdmin,
3017
+ Permission_1.default.ProjectMember,
3018
+ Permission_1.default.Viewer,
3019
+ Permission_1.default.SettingsAdmin,
3020
+ Permission_1.default.SettingsMember,
3021
+ Permission_1.default.SettingsViewer,
3022
+ Permission_1.default.ReadNetworkDevice,
3023
+ ],
3024
+ update: [],
3025
+ }),
3026
+ (0, TableColumn_1.default)({
3027
+ required: false,
3028
+ type: TableColumnType_1.default.Date,
3029
+ title: "Last Poll Received At",
3030
+ description: "When OneUptime received the poll whose result this device shows (isReachable, isSnmpReachable and the interface counts). A poll received earlier never overwrites that result: a retried poll, or one that waited longer in the queue than the poll after it. Managed by OneUptime.",
3031
+ }),
3032
+ (0, typeorm_1.Column)({
3033
+ nullable: true,
3034
+ type: ColumnType_1.default.Date,
3035
+ }),
3036
+ __metadata("design:type", Date)
3037
+ ], NetworkDevice.prototype, "lastPollReceivedAt", void 0);
2997
3038
  __decorate([
2998
3039
  (0, ColumnAccessControl_1.default)({
2999
3040
  create: [],
@@ -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
  })
@@ -406,7 +406,7 @@ __decorate([
406
406
  type: TableColumnType_1.default.Entity,
407
407
  modelType: Incident_1.default,
408
408
  title: "Triggered By Incident",
409
- description: "Relation to Incident which triggered this on-call duty policy.",
409
+ description: "Relation to Incident which triggered this on-call policy.",
410
410
  example: "f6a7b8c9-d0e1-2345-f012-456789012345",
411
411
  }),
412
412
  (0, typeorm_1.ManyToOne)(() => {
@@ -490,7 +490,7 @@ __decorate([
490
490
  type: TableColumnType_1.default.Entity,
491
491
  modelType: Alert_1.default,
492
492
  title: "Triggered By Alert",
493
- description: "Relation to Alert which triggered this on-call duty policy.",
493
+ description: "Relation to Alert which triggered this on-call policy.",
494
494
  example: "a7b8c9d0-e1f2-3456-0123-567890123456",
495
495
  }),
496
496
  (0, typeorm_1.ManyToOne)(() => {
@@ -806,7 +806,7 @@ __decorate([
806
806
  type: TableColumnType_1.default.ShortText,
807
807
  allowedValues: Object.values(UserNotificationEventType_1.default),
808
808
  title: "Notification Event Type",
809
- description: "Type of event that triggered this on-call duty policy.",
809
+ description: "Type of event that triggered this on-call policy.",
810
810
  canReadOnRelationQuery: false,
811
811
  example: "Incident Created",
812
812
  }),
@@ -1883,10 +1883,13 @@ OnCallDutyPolicyExecutionLog = __decorate([
1883
1883
  }),
1884
1884
  (0, TableMetadata_1.default)({
1885
1885
  tableName: "OnCallDutyPolicyExecutionLog",
1886
- singularName: "On-Call Duty Execution Log",
1887
- pluralName: "On-Call Duty Execution Log",
1886
+ singularName: "On-Call Policy Execution Log",
1887
+ pluralName: "On-Call Policy Execution Logs",
1888
+ // Its names before #6817, which the API, the CLI and MCP keep.
1889
+ apiSingularName: "On-Call Duty Execution Log",
1890
+ apiPluralName: "On-Call Duty Execution Log",
1888
1891
  icon: IconProp_1.default.Call,
1889
- tableDescription: "Logs for on-call duty policy execution.",
1892
+ tableDescription: "Each time an on-call policy runs: what started it, how far it got, and who it paged.",
1890
1893
  })
1891
1894
  ], OnCallDutyPolicyExecutionLog);
1892
1895
  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;
@@ -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 OnCallDutyPolicy in which this resource belongs",
191
+ description: "Relation to the on-call policy this resource belongs to",
192
192
  example: "8b9c0d1e-2f3a-4b5c-6d7e-8f9a0b1c2d3e",
193
193
  }),
194
194
  (0, typeorm_1.ManyToOne)(() => {
@@ -228,8 +228,8 @@ __decorate([
228
228
  (0, TableColumn_1.default)({
229
229
  type: TableColumnType_1.default.ObjectID,
230
230
  required: true,
231
- title: "OnCallDutyPolicy ID",
232
- description: "Relation to OnCallDutyPolicy ID in which this resource belongs",
231
+ title: "On-Call Policy ID",
232
+ description: "ID of the on-call policy this resource belongs to",
233
233
  example: "8b9c0d1e-2f3a-4b5c-6d7e-8f9a0b1c2d3e",
234
234
  }),
235
235
  (0, typeorm_1.Column)({
@@ -386,8 +386,8 @@ __decorate([
386
386
  type: TableColumnType_1.default.Markdown,
387
387
  required: true,
388
388
  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.",
389
+ description: "What happened to the on-call policy, in Markdown",
390
+ example: "## User Added to On-Call Policy\n\nJohn Doe has been added to the on-call rotation for the weekend shift.",
391
391
  }),
392
392
  (0, typeorm_1.Column)({
393
393
  type: ColumnType_1.default.Markdown,
@@ -458,8 +458,8 @@ __decorate([
458
458
  type: TableColumnType_1.default.ShortText,
459
459
  allowedValues: Object.values(OnCallDutyPolicyFeedEventType),
460
460
  required: true,
461
- title: "On Call Duty Policy Feed Event",
462
- description: "On Call Duty Policy Feed Event",
461
+ title: "On-Call Policy Feed Event",
462
+ description: "On-Call Policy Feed Event",
463
463
  example: "UserAdded",
464
464
  }),
465
465
  (0, typeorm_1.Column)({
@@ -495,7 +495,7 @@ __decorate([
495
495
  type: TableColumnType_1.default.Color,
496
496
  required: true,
497
497
  title: "Color",
498
- description: "Display color for the onCallDutyPolicy log",
498
+ description: "Display color for the on-call policy's feed entry",
499
499
  example: "#2ecc71",
500
500
  }),
501
501
  (0, typeorm_1.Column)({
@@ -657,10 +657,13 @@ OnCallDutyPolicyFeed = __decorate([
657
657
  }),
658
658
  (0, TableMetadata_1.default)({
659
659
  tableName: "OnCallDutyPolicyFeed",
660
- singularName: "On Call Duty Policy Feed",
661
- pluralName: "On Call Duty Policy Feeds",
660
+ singularName: "On-Call Policy Feed",
661
+ pluralName: "On-Call Policy Feeds",
662
+ // Its names before #6817, which the API, the CLI and MCP keep.
663
+ apiSingularName: "On Call Duty Policy Feed",
664
+ apiPluralName: "On Call Duty Policy Feeds",
662
665
  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.",
666
+ tableDescription: "What happened to an on-call policy, in order: every change to it and every time it ran.",
664
667
  })
665
668
  ], OnCallDutyPolicyFeed);
666
669
  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)({
@@ -194,8 +194,8 @@ __decorate([
194
194
  type: TableColumnType_1.default.ObjectID,
195
195
  required: false,
196
196
  canReadOnRelationQuery: true,
197
- title: "On-Call Policy Schedule ID",
198
- description: "ID of your On-Call Policy Schedule where this escalation rule belongs.",
197
+ title: "On-Call Schedule ID",
198
+ description: "ID of your On-Call Schedule where this escalation rule belongs.",
199
199
  example: "f6a7b8c9-d0e1-2345-f012-456789012345",
200
200
  }),
201
201
  (0, typeorm_1.Column)({
@@ -269,7 +269,7 @@ __decorate([
269
269
  required: false,
270
270
  canReadOnRelationQuery: true,
271
271
  title: "Team ID",
272
- description: "ID of your On-Call Policy Team ID where this escalation rule belongs.",
272
+ description: "ID of the team this log belongs to.",
273
273
  example: "d4e5f6a7-b8c9-0123-def0-234567890123",
274
274
  }),
275
275
  (0, typeorm_1.Column)({
@@ -634,10 +634,13 @@ OnCallDutyPolicyTimeLog = __decorate([
634
634
  }),
635
635
  (0, TableMetadata_1.default)({
636
636
  tableName: "OnCallDutyPolicyTimeLog",
637
- singularName: "On Call Time Log",
638
- pluralName: "On Call Time Logs",
637
+ singularName: "On-Call Time Log",
638
+ pluralName: "On-Call Time Logs",
639
+ // Its names before #6817, which the API, the CLI and MCP keep.
640
+ apiSingularName: "On Call Time Log",
641
+ apiPluralName: "On Call Time Logs",
639
642
  icon: IconProp_1.default.Call,
640
- tableDescription: "Manage on-call duty user overrides, for example if the user is on leave you can override the on-call duty policy for that user so all the alerts will be routed to the other user.",
643
+ tableDescription: "When each person was on call for an on-call policy, from when their shift started to when it ended: what the User On-Call Time report adds up.",
641
644
  })
642
645
  ], OnCallDutyPolicyTimeLog);
643
646
  exports.default = OnCallDutyPolicyTimeLog;
@@ -185,6 +185,7 @@ export default class Project extends TenantModel {
185
185
  recordAndTranscribeIncidentCalls?: boolean;
186
186
  requireApprovalForIncidentPublicNotes?: boolean;
187
187
  requireApprovalForScheduledMaintenancePublicNotes?: boolean;
188
+ disableDashboardRecording?: boolean;
188
189
  logsDailyIngestionBudgetInGB?: number;
189
190
  tracesDailyIngestionBudgetInGB?: number;
190
191
  metricsDailyIngestionBudgetInGB?: number;
@@ -198,4 +199,5 @@ export default class Project extends TenantModel {
198
199
  goals?: Array<string>;
199
200
  welcomeChecklistState?: JSONObject;
200
201
  productSettings?: JSONObject;
202
+ isSampleProject?: boolean;
201
203
  }