@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
@@ -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
  }
@@ -738,6 +738,18 @@ let Project = class Project extends TenantModel_1.default {
738
738
  this.requireApprovalForIncidentPublicNotes = undefined;
739
739
  // The same, for scheduled maintenance events' public notes.
740
740
  this.requireApprovalForScheduledMaintenancePublicNotes = undefined;
741
+ /*
742
+ * Whether OneUptime may record how this project's members use the
743
+ * Dashboard's setup pages (issue #6834), on while this is false. On
744
+ * OneUptime Cloud only, and only for members who pressed "Accept all"
745
+ * and did not switch it off themselves (User.disableDashboardRecording),
746
+ * with everything typed or stored masked. An organisation that wants
747
+ * none of it switches it off here, in Project Settings: then nobody is
748
+ * recorded while working in the project. Every member reads it, because
749
+ * each member's browser decides before it records; Project Owner or
750
+ * Project Admin changes it.
751
+ */
752
+ this.disableDashboardRecording = undefined;
741
753
  /*
742
754
  * Telemetry ingestion budgets for this project, per signal
743
755
  * (TelemetryIngestionBudget): set by the master admin only (Admin
@@ -797,6 +809,21 @@ let Project = class Project extends TenantModel_1.default {
797
809
  * what is in use, and choosing the goals sets it (ProjectProductsService).
798
810
  */
799
811
  this.productSettings = undefined;
812
+ /*
813
+ * A sample project (issue #6808): "Sample: Acme Shop", made in one click
814
+ * for a person to look around in, filled with made-up monitors,
815
+ * incidents, an on-call policy, a status page and telemetry
816
+ * (SampleProjectService). It can never notify anyone, be seen by the
817
+ * public or be billed: every reader that keeps it so asks
818
+ * ProjectService.isSampleProject, and SampleProjectReadersGuard lists
819
+ * them, so a new channel cannot forget it.
820
+ *
821
+ * Set once, by the server, when the sample is made, and never changed:
822
+ * nobody writes it through the API, and a project never becomes or
823
+ * stops being a sample. Every member reads it, with the project
824
+ * (ProjectAPI's list-user-projects), so every page says what it is.
825
+ */
826
+ this.isSampleProject = undefined;
800
827
  }
801
828
  };
802
829
  __decorate([
@@ -1229,7 +1256,10 @@ __decorate([
1229
1256
  (0, TableColumn_1.default)({
1230
1257
  manyToOneRelationColumn: "createdByUserId",
1231
1258
  type: TableColumnType_1.default.Entity,
1232
- modelType: User_1.default,
1259
+ // Lazy: User imports Project back (User.sampleProject; see modelTypeThunk).
1260
+ modelTypeThunk: () => {
1261
+ return User_1.default;
1262
+ },
1233
1263
  title: "Created by User",
1234
1264
  description: "Relation to User who created this object (if this object was created by a User)",
1235
1265
  }),
@@ -1281,7 +1311,10 @@ __decorate([
1281
1311
  manyToOneRelationColumn: "deletedByUserId",
1282
1312
  type: TableColumnType_1.default.Entity,
1283
1313
  title: "Deleted by User",
1284
- modelType: User_1.default,
1314
+ // Lazy: User imports Project back (User.sampleProject; see modelTypeThunk).
1315
+ modelTypeThunk: () => {
1316
+ return User_1.default;
1317
+ },
1285
1318
  description: "Relation to User who deleted this object (if this object was deleted by a User)",
1286
1319
  }),
1287
1320
  (0, typeorm_1.ManyToOne)(() => {
@@ -5415,6 +5448,36 @@ __decorate([
5415
5448
  }),
5416
5449
  __metadata("design:type", Boolean)
5417
5450
  ], Project.prototype, "requireApprovalForScheduledMaintenancePublicNotes", void 0);
5451
+ __decorate([
5452
+ (0, ColumnAccessControl_1.default)({
5453
+ create: [],
5454
+ read: [
5455
+ Permission_1.default.ProjectOwner,
5456
+ Permission_1.default.ProjectAdmin,
5457
+ Permission_1.default.ProjectMember,
5458
+ Permission_1.default.Viewer,
5459
+ Permission_1.default.ReadProject,
5460
+ Permission_1.default.UnAuthorizedSsoUser,
5461
+ Permission_1.default.ProjectUser,
5462
+ ],
5463
+ update: [Permission_1.default.ProjectOwner, Permission_1.default.ProjectAdmin],
5464
+ }),
5465
+ (0, TableColumn_1.default)({
5466
+ required: true,
5467
+ isDefaultValueColumn: true,
5468
+ type: TableColumnType_1.default.Boolean,
5469
+ title: "Disable Dashboard Recording",
5470
+ description: "When true, OneUptime never records how members use the dashboard while working in this project. Recording happens only on OneUptime Cloud, only for members who accepted analytics, and only on the setup pages, with what they type or store masked.",
5471
+ defaultValue: false,
5472
+ example: false,
5473
+ }),
5474
+ (0, typeorm_1.Column)({
5475
+ nullable: false,
5476
+ default: false,
5477
+ type: ColumnType_1.default.Boolean,
5478
+ }),
5479
+ __metadata("design:type", Boolean)
5480
+ ], Project.prototype, "disableDashboardRecording", void 0);
5418
5481
  __decorate([
5419
5482
  (0, ColumnAccessControl_1.default)(TELEMETRY_INGESTION_BUDGET_COLUMN_ACCESS),
5420
5483
  (0, TableColumn_1.default)({
@@ -5651,6 +5714,37 @@ __decorate([
5651
5714
  }),
5652
5715
  __metadata("design:type", Object)
5653
5716
  ], Project.prototype, "productSettings", void 0);
5717
+ __decorate([
5718
+ (0, ColumnAccessControl_1.default)({
5719
+ create: [],
5720
+ read: [
5721
+ Permission_1.default.ProjectOwner,
5722
+ Permission_1.default.ProjectAdmin,
5723
+ Permission_1.default.ProjectMember,
5724
+ Permission_1.default.Viewer,
5725
+ Permission_1.default.ReadProject,
5726
+ Permission_1.default.UnAuthorizedSsoUser,
5727
+ Permission_1.default.ProjectUser,
5728
+ ],
5729
+ update: [],
5730
+ }),
5731
+ (0, TableColumn_1.default)({
5732
+ required: true,
5733
+ type: TableColumnType_1.default.Boolean,
5734
+ isDefaultValueColumn: true,
5735
+ defaultValue: false,
5736
+ title: "Is Sample Project",
5737
+ description: "A sample project made for looking around: nothing in it is real, it notifies nobody, its status page is never public and it is never billed. Set by OneUptime when the sample is made.",
5738
+ example: "false",
5739
+ }),
5740
+ (0, typeorm_1.Column)({
5741
+ type: ColumnType_1.default.Boolean,
5742
+ nullable: false,
5743
+ unique: false,
5744
+ default: false,
5745
+ }),
5746
+ __metadata("design:type", Boolean)
5747
+ ], Project.prototype, "isSampleProject", void 0);
5654
5748
  Project = __decorate([
5655
5749
  (0, EnableDocumentation_1.default)({
5656
5750
  isMasterAdminApiDocs: true,
@@ -16,6 +16,7 @@ export default class ProxmoxCluster extends BaseModel {
16
16
  agentVersion?: string;
17
17
  pveVersion?: string;
18
18
  lastSeenAt?: Date;
19
+ agentLastSeenAt?: Date;
19
20
  nodeCount?: number;
20
21
  onlineNodeCount?: number;
21
22
  guestCount?: number;
@@ -16,6 +16,7 @@ export default class ProxmoxCluster extends BaseModel {
16
16
  agentVersion?: string;
17
17
  pveVersion?: string;
18
18
  lastSeenAt?: Date;
19
+ agentLastSeenAt?: Date;
19
20
  nodeCount?: number;
20
21
  onlineNodeCount?: number;
21
22
  guestCount?: number;
@@ -50,6 +50,15 @@ let ProxmoxCluster = class ProxmoxCluster extends DatabaseBaseModel_1.default {
50
50
  this.agentVersion = undefined;
51
51
  this.pveVersion = undefined;
52
52
  this.lastSeenAt = undefined;
53
+ /*
54
+ * When the OneUptime Proxmox agent last sent anything for this cluster - its
55
+ * own scrape metrics included - whether or not it could read the Proxmox VE
56
+ * API. Fresh while lastSeenAt is stale: the agent is running but cannot read
57
+ * the cluster, which the Overview says instead of "stopped sending data".
58
+ * Written by the ingest heartbeat (ProxmoxClusterService.updateAgentLastSeen),
59
+ * never by a person. NULL until the agent first reports.
60
+ */
61
+ this.agentLastSeenAt = undefined;
53
62
  this.nodeCount = undefined;
54
63
  this.onlineNodeCount = undefined;
55
64
  this.guestCount = undefined;
@@ -336,7 +345,7 @@ __decorate([
336
345
  type: TableColumnType_1.default.ShortText,
337
346
  canReadOnRelationQuery: true,
338
347
  title: "OTel Collector Status",
339
- description: "Connection status of the OTel Collector agent (connected or disconnected)",
348
+ description: "Whether the cluster is being read: connected while it was read in the last 15 minutes, disconnected once it was not (see Agent Last Seen At for whether the agent is still sending)",
340
349
  example: "connected",
341
350
  }),
342
351
  (0, typeorm_1.Column)({
@@ -433,13 +442,25 @@ __decorate([
433
442
  Permission_1.default.ProjectAdmin,
434
443
  Permission_1.default.EditProxmoxCluster,
435
444
  ],
436
- }),
445
+ })
446
+ /*
447
+ * When the cluster was last READ - a batch that carried what the Proxmox VE
448
+ * API says about the cluster (its nodes, guests, storage, version or quorum;
449
+ * or, over the native push, a node's own status) - not when anything at all
450
+ * last arrived. An agent whose node went down, or whose token was revoked,
451
+ * keeps sending its own scrape metrics and the per-node collectors of the
452
+ * nodes still up; none of that refreshes this, so the cluster turns
453
+ * Disconnected 15 minutes after its last read (markDisconnectedClusters) and
454
+ * the stale-inventory prune, anchored here, stops with it. agentLastSeenAt
455
+ * below says whether the agent is still sending (issue #7439).
456
+ */
457
+ ,
437
458
  (0, TableColumn_1.default)({
438
459
  required: false,
439
460
  type: TableColumnType_1.default.Date,
440
461
  canReadOnRelationQuery: true,
441
462
  title: "Last Seen At",
442
- description: "When metrics were last received from this cluster",
463
+ description: "When the cluster was last read: when the agent last read its nodes, guests or storage from the Proxmox VE API, or a node last pushed its own status",
443
464
  }),
444
465
  (0, typeorm_1.Column)({
445
466
  nullable: true,
@@ -447,6 +468,34 @@ __decorate([
447
468
  }),
448
469
  __metadata("design:type", Date)
449
470
  ], ProxmoxCluster.prototype, "lastSeenAt", void 0);
471
+ __decorate([
472
+ (0, ColumnAccessControl_1.default)({
473
+ create: [],
474
+ read: [
475
+ Permission_1.default.ProjectOwner,
476
+ Permission_1.default.ProjectAdmin,
477
+ Permission_1.default.ProjectMember,
478
+ Permission_1.default.Viewer,
479
+ Permission_1.default.SettingsAdmin,
480
+ Permission_1.default.SettingsMember,
481
+ Permission_1.default.SettingsViewer,
482
+ Permission_1.default.ReadProxmoxCluster,
483
+ ],
484
+ update: [],
485
+ }),
486
+ (0, TableColumn_1.default)({
487
+ required: false,
488
+ type: TableColumnType_1.default.Date,
489
+ canReadOnRelationQuery: true,
490
+ title: "Agent Last Seen At",
491
+ description: "When the OneUptime Proxmox agent last sent anything for this cluster, whether or not it could read the Proxmox VE API",
492
+ }),
493
+ (0, typeorm_1.Column)({
494
+ nullable: true,
495
+ type: ColumnType_1.default.Date,
496
+ }),
497
+ __metadata("design:type", Date)
498
+ ], ProxmoxCluster.prototype, "agentLastSeenAt", void 0);
450
499
  __decorate([
451
500
  (0, ColumnAccessControl_1.default)({
452
501
  create: [],
@@ -730,8 +730,8 @@ __decorate([
730
730
  manyToOneRelationColumn: "onCallDutyPolicyId",
731
731
  type: TableColumnType_1.default.Entity,
732
732
  modelType: OnCallDutyPolicy_1.default,
733
- title: "On-Call Duty Policy",
734
- description: "On-Call Duty Policy associated with this Push Notification (if any)",
733
+ title: "On-Call Policy",
734
+ description: "On-Call Policy associated with this Push Notification (if any)",
735
735
  example: "b8c9d0e1-cdef-67f1-89ab-89abcdef0123",
736
736
  }),
737
737
  (0, typeorm_1.ManyToOne)(() => {
@@ -762,8 +762,8 @@ __decorate([
762
762
  type: TableColumnType_1.default.ObjectID,
763
763
  required: false,
764
764
  canReadOnRelationQuery: true,
765
- title: "On-Call Duty Policy ID",
766
- description: "ID of On-Call Duty Policy associated with this Push Notification (if any)",
765
+ title: "On-Call Policy ID",
766
+ description: "ID of On-Call Policy associated with this Push Notification (if any)",
767
767
  example: "b8c9d0e1-cdef-67f1-89ab-89abcdef0123",
768
768
  }),
769
769
  (0, typeorm_1.Column)({
@@ -789,8 +789,8 @@ __decorate([
789
789
  manyToOneRelationColumn: "onCallDutyPolicyEscalationRuleId",
790
790
  type: TableColumnType_1.default.Entity,
791
791
  modelType: OnCallDutyPolicyEscalationRule_1.default,
792
- title: "On-Call Duty Policy Escalation Rule",
793
- description: "On-Call Duty Policy Escalation Rule associated with this Push Notification (if any)",
792
+ title: "On-Call Policy Escalation Rule",
793
+ description: "On-Call Policy Escalation Rule associated with this Push Notification (if any)",
794
794
  example: "c9d0e1f2-def0-78f2-9abc-9abcdef01234",
795
795
  }),
796
796
  (0, typeorm_1.ManyToOne)(() => {
@@ -821,8 +821,8 @@ __decorate([
821
821
  type: TableColumnType_1.default.ObjectID,
822
822
  required: false,
823
823
  canReadOnRelationQuery: true,
824
- title: "On-Call Duty Policy Escalation Rule ID",
825
- description: "ID of On-Call Duty Policy Escalation Rule associated with this Push Notification (if any)",
824
+ title: "On-Call Policy Escalation Rule ID",
825
+ description: "ID of On-Call Policy Escalation Rule associated with this Push Notification (if any)",
826
826
  example: "c9d0e1f2-def0-78f2-9abc-9abcdef01234",
827
827
  }),
828
828
  (0, typeorm_1.Column)({
@@ -848,8 +848,8 @@ __decorate([
848
848
  manyToOneRelationColumn: "onCallDutyPolicyScheduleId",
849
849
  type: TableColumnType_1.default.Entity,
850
850
  modelType: OnCallDutyPolicySchedule_1.default,
851
- title: "On-Call Duty Policy Schedule",
852
- description: "On-Call Duty Policy Schedule associated with this Push Notification (if any)",
851
+ title: "On-Call Schedule",
852
+ description: "On-Call Schedule associated with this Push Notification (if any)",
853
853
  example: "d0e1f2a3-ef01-89f3-abcd-abcdef012345",
854
854
  }),
855
855
  (0, typeorm_1.ManyToOne)(() => {
@@ -880,8 +880,8 @@ __decorate([
880
880
  type: TableColumnType_1.default.ObjectID,
881
881
  required: false,
882
882
  canReadOnRelationQuery: true,
883
- title: "On-Call Duty Policy Schedule ID",
884
- description: "ID of On-Call Duty Policy Schedule associated with this Push Notification (if any)",
883
+ title: "On-Call Schedule ID",
884
+ description: "ID of On-Call Schedule associated with this Push Notification (if any)",
885
885
  example: "d0e1f2a3-ef01-89f3-abcd-abcdef012345",
886
886
  }),
887
887
  (0, typeorm_1.Column)({
@@ -160,7 +160,10 @@ __decorate([
160
160
  (0, TableColumn_1.default)({
161
161
  manyToOneRelationColumn: "createdByUserId",
162
162
  type: TableColumnType_1.default.Entity,
163
- modelType: User_1.default,
163
+ // Lazy: User imports Project, which imports this model (see modelTypeThunk).
164
+ modelTypeThunk: () => {
165
+ return User_1.default;
166
+ },
164
167
  title: "Created by User",
165
168
  description: "Relation to User who created this object (if this object was created by a User)",
166
169
  example: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
@@ -205,7 +208,10 @@ __decorate([
205
208
  manyToOneRelationColumn: "deletedByUserId",
206
209
  type: TableColumnType_1.default.Entity,
207
210
  title: "Deleted by User",
208
- modelType: User_1.default,
211
+ // Lazy: User imports Project, which imports this model (see modelTypeThunk).
212
+ modelTypeThunk: () => {
213
+ return User_1.default;
214
+ },
209
215
  description: "Relation to User who deleted this object (if this object was deleted by a User)",
210
216
  example: "b2c3d4e5-f6a7-8901-bcde-f12345678901",
211
217
  }),
@@ -228,7 +228,10 @@ __decorate([
228
228
  (0, TableColumn_1.default)({
229
229
  manyToOneRelationColumn: "createdByUserId",
230
230
  type: TableColumnType_1.default.Entity,
231
- modelType: User_1.default,
231
+ // Lazy: User imports Project, which imports this model (see modelTypeThunk).
232
+ modelTypeThunk: () => {
233
+ return User_1.default;
234
+ },
232
235
  title: "Created by User",
233
236
  description: "Relation to User who created this object (if this object was created by a User)",
234
237
  example: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
@@ -273,7 +276,10 @@ __decorate([
273
276
  manyToOneRelationColumn: "deletedByUserId",
274
277
  type: TableColumnType_1.default.Entity,
275
278
  title: "Deleted by User",
276
- modelType: User_1.default,
279
+ // Lazy: User imports Project, which imports this model (see modelTypeThunk).
280
+ modelTypeThunk: () => {
281
+ return User_1.default;
282
+ },
277
283
  description: "Relation to User who deleted this object (if this object was deleted by a User)",
278
284
  example: "b2c3d4e5-f6a7-8901-bcde-f12345678901",
279
285
  }),
@@ -2438,11 +2438,14 @@ ScheduledMaintenance = __decorate([
2438
2438
  }),
2439
2439
  (0, EnableAuditLog_1.default)(),
2440
2440
  (0, TableMetadata_1.default)({
2441
- singularName: "Scheduled Maintenance Event",
2442
- pluralName: "Scheduled Maintenance Events",
2441
+ singularName: "Maintenance Event",
2442
+ pluralName: "Maintenance Events",
2443
+ // Was "Scheduled Maintenance Event" (#6817): oneuptime_scheduled_maintenance_event stays.
2444
+ apiSingularName: "Scheduled Maintenance Event",
2445
+ apiPluralName: "Scheduled Maintenance Events",
2443
2446
  icon: IconProp_1.default.Clock,
2444
2447
  tableName: "ScheduledMaintenance",
2445
- tableDescription: "Manage scheduled maintenance event for your project",
2448
+ tableDescription: "Manage maintenance events for your project",
2446
2449
  })
2447
2450
  ], ScheduledMaintenance);
2448
2451
  exports.default = ScheduledMaintenance;
@@ -157,7 +157,7 @@ __decorate([
157
157
  type: TableColumnType_1.default.Entity,
158
158
  modelType: ScheduledMaintenance_1.default,
159
159
  title: "Scheduled Maintenance",
160
- description: "Relation to Scheduled Maintenance Event this resource belongs to",
160
+ description: "Relation to Maintenance Event this resource belongs to",
161
161
  }),
162
162
  (0, typeorm_1.ManyToOne)(() => {
163
163
  return ScheduledMaintenance_1.default;
@@ -618,10 +618,13 @@ ScheduledMaintenanceInternalNote = __decorate([
618
618
  }),
619
619
  (0, TableMetadata_1.default)({
620
620
  tableName: "ScheduledMaintenanceInternalNote",
621
- singularName: "Scheduled Event Internal Note",
622
- pluralName: "Scheduled Event Internal Notes",
621
+ singularName: "Maintenance Event Internal Note",
622
+ pluralName: "Maintenance Event Internal Notes",
623
+ // Was "Scheduled Event Internal Note" (#6817): its CLI name stays.
624
+ apiSingularName: "Scheduled Event Internal Note",
625
+ apiPluralName: "Scheduled Event Internal Notes",
623
626
  icon: IconProp_1.default.Lock,
624
- tableDescription: "Manage internal or postmortem note for your scheduled event",
627
+ tableDescription: "Manage internal or postmortem notes for your maintenance event",
625
628
  })
626
629
  ], ScheduledMaintenanceInternalNote);
627
630
  exports.default = ScheduledMaintenanceInternalNote;
@@ -139,7 +139,7 @@ __decorate([
139
139
  computed: true,
140
140
  modelType: ScheduledMaintenance_1.default,
141
141
  title: "Scheduled Maintenance",
142
- description: "Relation to Scheduled Maintenance Event this measurement value was computed for",
142
+ description: "Relation to Maintenance Event this measurement value was computed for",
143
143
  }),
144
144
  (0, typeorm_1.ManyToOne)(() => {
145
145
  return ScheduledMaintenance_1.default;
@@ -174,7 +174,7 @@ __decorate([
174
174
  computed: true,
175
175
  canReadOnRelationQuery: true,
176
176
  title: "Scheduled Maintenance ID",
177
- description: "ID of the Scheduled Maintenance Event this measurement value was computed for",
177
+ description: "ID of the Maintenance Event this measurement value was computed for",
178
178
  }),
179
179
  (0, typeorm_1.Column)({
180
180
  type: ColumnType_1.default.ObjectID,
@@ -209,7 +209,7 @@ __decorate([
209
209
  type: TableColumnType_1.default.Entity,
210
210
  modelType: ScheduledMaintenance_1.default,
211
211
  title: "Scheduled Maintenance",
212
- description: "Relation to Scheduled Maintenance Event this resource belongs to",
212
+ description: "Relation to Maintenance Event this resource belongs to",
213
213
  }),
214
214
  (0, typeorm_1.ManyToOne)(() => {
215
215
  return ScheduledMaintenance_1.default;
@@ -1097,10 +1097,13 @@ ScheduledMaintenancePublicNote = __decorate([
1097
1097
  }),
1098
1098
  (0, TableMetadata_1.default)({
1099
1099
  tableName: "ScheduledMaintenancePublicNote",
1100
- singularName: "Scheduled Event Public Note",
1101
- pluralName: "Scheduled Event Public Notes",
1100
+ singularName: "Maintenance Event Public Note",
1101
+ pluralName: "Maintenance Event Public Notes",
1102
+ // Was "Scheduled Event Public Note" (#6817): oneuptime_scheduled_event_public_note stays.
1103
+ apiSingularName: "Scheduled Event Public Note",
1104
+ apiPluralName: "Scheduled Event Public Notes",
1102
1105
  icon: IconProp_1.default.Public,
1103
- tableDescription: "Manage public notes for your scheduled event",
1106
+ tableDescription: "Manage public notes for your maintenance event",
1104
1107
  })
1105
1108
  ], ScheduledMaintenancePublicNote);
1106
1109
  exports.default = ScheduledMaintenancePublicNote;
@@ -163,7 +163,7 @@ __decorate([
163
163
  type: TableColumnType_1.default.Entity,
164
164
  modelType: ScheduledMaintenance_1.default,
165
165
  title: "Scheduled Maintenance",
166
- description: "Relation to Scheduled Maintenance Event this resource belongs to",
166
+ description: "Relation to Maintenance Event this resource belongs to",
167
167
  example: "c9d0e1f2-a3b4-5678-90ab-cdef01234567",
168
168
  }),
169
169
  (0, typeorm_1.ManyToOne)(() => {
@@ -1361,7 +1361,7 @@ Service = __decorate([
1361
1361
  singularName: "Service",
1362
1362
  pluralName: "Services",
1363
1363
  icon: IconProp_1.default.SquareStack,
1364
- tableDescription: "Services is a collection of services that you have in your organization. It can be a collection of services that you are monitoring or services that you are providing to your customers. It can be anything that you want to keep track of.",
1364
+ tableDescription: "An application or microservice you run. OneUptime adds one the first time its telemetry arrives, named by its service.name, and brings its logs, traces, metrics, exceptions, incidents and owners together.",
1365
1365
  }),
1366
1366
  (0, typeorm_1.Entity)({
1367
1367
  name: "Service",
@@ -728,8 +728,8 @@ __decorate([
728
728
  required: false,
729
729
  type: TableColumnType_1.default.EntityArray,
730
730
  modelType: OnCallDutyPolicy_1.default,
731
- title: "Alert On-Call Duty Policies",
732
- description: "On-call duty policies attached to alerts created by this burn rate rule. Incidents have their own list.",
731
+ title: "Alert On-Call Policies",
732
+ description: "On-call policies attached to alerts created by this burn rate rule. Incidents have their own list.",
733
733
  }),
734
734
  (0, typeorm_1.ManyToMany)(() => {
735
735
  return OnCallDutyPolicy_1.default;
@@ -1139,8 +1139,8 @@ __decorate([
1139
1139
  required: false,
1140
1140
  type: TableColumnType_1.default.EntityArray,
1141
1141
  modelType: OnCallDutyPolicy_1.default,
1142
- title: "Incident On-Call Duty Policies",
1143
- description: "On-call duty policies attached to incidents declared by this burn rate rule.",
1142
+ title: "Incident On-Call Policies",
1143
+ description: "On-call policies attached to incidents declared by this burn rate rule.",
1144
1144
  }),
1145
1145
  (0, typeorm_1.ManyToMany)(() => {
1146
1146
  return OnCallDutyPolicy_1.default;
@@ -641,8 +641,8 @@ __decorate([
641
641
  required: false,
642
642
  type: TableColumnType_1.default.EntityArray,
643
643
  modelType: OnCallDutyPolicy_1.default,
644
- title: "Alert On-Call Duty Policies",
645
- description: "On-call duty policies attached to alerts raised by this tier. Incidents have their own list.",
644
+ title: "Alert On-Call Policies",
645
+ description: "On-call policies attached to alerts raised by this tier. Incidents have their own list.",
646
646
  }),
647
647
  (0, typeorm_1.ManyToMany)(() => {
648
648
  return OnCallDutyPolicy_1.default;
@@ -1052,8 +1052,8 @@ __decorate([
1052
1052
  required: false,
1053
1053
  type: TableColumnType_1.default.EntityArray,
1054
1054
  modelType: OnCallDutyPolicy_1.default,
1055
- title: "Incident On-Call Duty Policies",
1056
- description: "On-call duty policies attached to incidents declared by this tier.",
1055
+ title: "Incident On-Call Policies",
1056
+ description: "On-call policies attached to incidents declared by this tier.",
1057
1057
  }),
1058
1058
  (0, typeorm_1.ManyToMany)(() => {
1059
1059
  return OnCallDutyPolicy_1.default;
@@ -791,8 +791,8 @@ __decorate([
791
791
  manyToOneRelationColumn: "onCallDutyPolicyId",
792
792
  type: TableColumnType_1.default.Entity,
793
793
  modelType: OnCallDutyPolicy_1.default,
794
- title: "On-Call Duty Policy",
795
- description: "On-Call Duty Policy associated with this SMS (if any)",
794
+ title: "On-Call Policy",
795
+ description: "On-Call Policy associated with this SMS (if any)",
796
796
  example: "b8c9d0e1-cdef-67f1-89ab-89abcdef0123",
797
797
  }),
798
798
  (0, typeorm_1.ManyToOne)(() => {
@@ -823,8 +823,8 @@ __decorate([
823
823
  type: TableColumnType_1.default.ObjectID,
824
824
  required: false,
825
825
  canReadOnRelationQuery: true,
826
- title: "On-Call Duty Policy ID",
827
- description: "ID of On-Call Duty Policy associated with this SMS (if any)",
826
+ title: "On-Call Policy ID",
827
+ description: "ID of On-Call Policy associated with this SMS (if any)",
828
828
  example: "b8c9d0e1-cdef-67f1-89ab-89abcdef0123",
829
829
  }),
830
830
  (0, typeorm_1.Column)({
@@ -850,8 +850,8 @@ __decorate([
850
850
  manyToOneRelationColumn: "onCallDutyPolicyEscalationRuleId",
851
851
  type: TableColumnType_1.default.Entity,
852
852
  modelType: OnCallDutyPolicyEscalationRule_1.default,
853
- title: "On-Call Duty Policy Escalation Rule",
854
- description: "On-Call Duty Policy Escalation Rule associated with this SMS (if any)",
853
+ title: "On-Call Policy Escalation Rule",
854
+ description: "On-Call Policy Escalation Rule associated with this SMS (if any)",
855
855
  example: "c9d0e1f2-def0-78f2-9abc-9abcdef01234",
856
856
  }),
857
857
  (0, typeorm_1.ManyToOne)(() => {
@@ -882,8 +882,8 @@ __decorate([
882
882
  type: TableColumnType_1.default.ObjectID,
883
883
  required: false,
884
884
  canReadOnRelationQuery: true,
885
- title: "On-Call Duty Policy Escalation Rule ID",
886
- description: "ID of On-Call Duty Policy Escalation Rule associated with this SMS (if any)",
885
+ title: "On-Call Policy Escalation Rule ID",
886
+ description: "ID of On-Call Policy Escalation Rule associated with this SMS (if any)",
887
887
  example: "c9d0e1f2-def0-78f2-9abc-9abcdef01234",
888
888
  }),
889
889
  (0, typeorm_1.Column)({
@@ -909,8 +909,8 @@ __decorate([
909
909
  manyToOneRelationColumn: "onCallDutyPolicyScheduleId",
910
910
  type: TableColumnType_1.default.Entity,
911
911
  modelType: OnCallDutyPolicySchedule_1.default,
912
- title: "On-Call Duty Policy Schedule",
913
- description: "On-Call Duty Policy Schedule associated with this SMS (if any)",
912
+ title: "On-Call Schedule",
913
+ description: "On-Call Schedule associated with this SMS (if any)",
914
914
  example: "d0e1f2a3-ef01-89f3-abcd-abcdef012345",
915
915
  }),
916
916
  (0, typeorm_1.ManyToOne)(() => {
@@ -941,8 +941,8 @@ __decorate([
941
941
  type: TableColumnType_1.default.ObjectID,
942
942
  required: false,
943
943
  canReadOnRelationQuery: true,
944
- title: "On-Call Duty Policy Schedule ID",
945
- description: "ID of On-Call Duty Policy Schedule associated with this SMS (if any)",
944
+ title: "On-Call Schedule ID",
945
+ description: "ID of On-Call Schedule associated with this SMS (if any)",
946
946
  example: "d0e1f2a3-ef01-89f3-abcd-abcdef012345",
947
947
  }),
948
948
  (0, typeorm_1.Column)({
@@ -1681,8 +1681,8 @@ __decorate([
1681
1681
  (0, TableColumn_1.default)({
1682
1682
  isDefaultValueColumn: true,
1683
1683
  type: TableColumnType_1.default.Boolean,
1684
- title: "Show Scheduled Event Labels",
1685
- description: "Show Scheduled Event Labels on Status Page?",
1684
+ title: "Show Maintenance Event Labels",
1685
+ description: "Show Maintenance Event Labels on Status Page?",
1686
1686
  defaultValue: false,
1687
1687
  }),
1688
1688
  (0, typeorm_1.Column)({
@@ -1818,7 +1818,7 @@ __decorate([
1818
1818
  isDefaultValueColumn: true,
1819
1819
  type: TableColumnType_1.default.Boolean,
1820
1820
  title: "Allow Subscribers to subscribe to event types",
1821
- description: "Can subscribers choose which event type like Announcements, Incidents, Scheduled Events to subscribe to?",
1821
+ description: "Can subscribers choose which event type like Announcements, Incidents, Maintenance Events to subscribe to?",
1822
1822
  defaultValue: false,
1823
1823
  }),
1824
1824
  (0, typeorm_1.Column)({
@@ -3943,8 +3943,8 @@ __decorate([
3943
3943
  (0, TableColumn_1.default)({
3944
3944
  isDefaultValueColumn: true,
3945
3945
  type: TableColumnType_1.default.Boolean,
3946
- title: "Show Scheduled Maintenance Events on Status Page",
3947
- description: "Show Scheduled Maintenance Events on Status Page?",
3946
+ title: "Show Maintenance Events on Status Page",
3947
+ description: "Show Maintenance Events on Status Page?",
3948
3948
  defaultValue: true,
3949
3949
  }),
3950
3950
  (0, typeorm_1.Column)({
@@ -1033,7 +1033,7 @@ __decorate([
1033
1033
  isDefaultValueColumn: true,
1034
1034
  type: TableColumnType_1.default.Boolean,
1035
1035
  title: "Is Subscribed to All Event Types",
1036
- description: "Is Subscriber Subscribed to All Event Types (like Incidents, Scheduled Events, Announcements) on this status page?",
1036
+ description: "Is Subscriber Subscribed to All Event Types (like Incidents, Maintenance Events, Announcements) on this status page?",
1037
1037
  defaultValue: true,
1038
1038
  }),
1039
1039
  (0, typeorm_1.Column)({
@@ -1129,7 +1129,7 @@ __decorate([
1129
1129
  required: false,
1130
1130
  type: TableColumnType_1.default.JSON,
1131
1131
  title: "Subscribed to Event Types",
1132
- description: "Which event types is the subscriber subscribed to (like Incidents, Scheduled Events, Announcements)",
1132
+ description: "Which event types is the subscriber subscribed to (like Incidents, Maintenance Events, Announcements)",
1133
1133
  }),
1134
1134
  (0, typeorm_1.Column)({
1135
1135
  type: ColumnType_1.default.JSON,