@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.
- package/Models/AnalyticsModels/SecurityEvent.js +1 -1
- package/Models/DatabaseModels/AIInsight.js +2 -2
- package/Models/DatabaseModels/Alert.js +2 -2
- package/Models/DatabaseModels/AlertEpisode.js +2 -2
- package/Models/DatabaseModels/AlertEpisodeOnCallRule.js +3 -3
- package/Models/DatabaseModels/AlertGroupingRule.d.mts +1 -0
- package/Models/DatabaseModels/AlertGroupingRule.d.ts +1 -0
- package/Models/DatabaseModels/AlertGroupingRule.js +48 -2
- package/Models/DatabaseModels/AlertOnCallRule.js +3 -3
- package/Models/DatabaseModels/AlertSeverity.js +13 -4
- package/Models/DatabaseModels/AlertState.js +1 -1
- package/Models/DatabaseModels/CallLog.js +12 -12
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.mts +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.ts +2 -0
- package/Models/DatabaseModels/EmailLog.js +12 -12
- package/Models/DatabaseModels/FormSubmission.js +2 -2
- package/Models/DatabaseModels/GlobalConfig.d.mts +1 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +1 -0
- package/Models/DatabaseModels/GlobalConfig.js +28 -0
- package/Models/DatabaseModels/Incident.js +2 -2
- package/Models/DatabaseModels/IncidentEpisode.js +2 -2
- package/Models/DatabaseModels/IncidentEpisodeOnCallRule.js +3 -3
- package/Models/DatabaseModels/IncidentGroupingRule.d.mts +1 -0
- package/Models/DatabaseModels/IncidentGroupingRule.d.ts +1 -0
- package/Models/DatabaseModels/IncidentGroupingRule.js +48 -2
- package/Models/DatabaseModels/IncidentOnCallRule.js +3 -3
- package/Models/DatabaseModels/IncidentSeverity.js +13 -4
- package/Models/DatabaseModels/IncidentState.js +1 -1
- package/Models/DatabaseModels/IncidentTemplate.js +2 -2
- package/Models/DatabaseModels/Monitor.js +3 -3
- package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDevice.js +41 -0
- package/Models/DatabaseModels/OnCallDutyPolicy.js +4 -2
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRule.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleSchedule.js +8 -5
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleTeam.js +5 -2
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleUser.js +5 -2
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +9 -6
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.js +10 -7
- package/Models/DatabaseModels/OnCallDutyPolicyFeed.js +14 -11
- package/Models/DatabaseModels/OnCallDutyPolicyOwnerTeam.js +7 -4
- package/Models/DatabaseModels/OnCallDutyPolicyOwnerUser.js +7 -4
- package/Models/DatabaseModels/OnCallDutyPolicySchedule.js +6 -3
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleCalendarFeed.js +4 -4
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayer.js +3 -3
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayerUser.js +6 -6
- package/Models/DatabaseModels/OnCallDutyPolicyTimeLog.js +9 -6
- package/Models/DatabaseModels/Project.d.mts +2 -0
- package/Models/DatabaseModels/Project.d.ts +2 -0
- package/Models/DatabaseModels/Project.js +96 -2
- package/Models/DatabaseModels/ProxmoxCluster.d.mts +1 -0
- package/Models/DatabaseModels/ProxmoxCluster.d.ts +1 -0
- package/Models/DatabaseModels/ProxmoxCluster.js +52 -3
- package/Models/DatabaseModels/PushNotificationLog.js +12 -12
- package/Models/DatabaseModels/Reseller.js +8 -2
- package/Models/DatabaseModels/ResellerPlan.js +8 -2
- package/Models/DatabaseModels/ScheduledMaintenance.js +6 -3
- package/Models/DatabaseModels/ScheduledMaintenanceInternalNote.js +7 -4
- package/Models/DatabaseModels/ScheduledMaintenanceMeasurementValue.js +2 -2
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.js +7 -4
- package/Models/DatabaseModels/ScheduledMaintenanceStateTimeline.js +1 -1
- package/Models/DatabaseModels/Service.js +1 -1
- package/Models/DatabaseModels/ServiceLevelObjectiveBurnRateRule.js +4 -4
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.js +4 -4
- package/Models/DatabaseModels/SmsLog.js +12 -12
- package/Models/DatabaseModels/StatusPage.js +5 -5
- package/Models/DatabaseModels/StatusPageSubscriber.js +2 -2
- package/Models/DatabaseModels/TelegramLog.js +12 -12
- package/Models/DatabaseModels/TelemetryIngestionKey.js +8 -5
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.js +7 -4
- package/Models/DatabaseModels/User.d.mts +4 -0
- package/Models/DatabaseModels/User.d.ts +4 -0
- package/Models/DatabaseModels/User.js +100 -0
- package/Models/DatabaseModels/UserOnCallLog.js +6 -6
- package/Models/DatabaseModels/UserOnCallLogTimeline.js +3 -3
- package/Models/DatabaseModels/UserOnCallShiftReminderLog.js +2 -2
- package/Models/DatabaseModels/WebhookLog.js +12 -12
- package/Models/DatabaseModels/WhatsAppLog.js +12 -12
- package/Models/DatabaseModels/WorkspaceNotificationLog.js +12 -12
- package/Types/AI/AIChatTypes.d.mts +2 -1
- package/Types/AI/AIChatTypes.d.ts +2 -1
- package/Types/AI/AIChatTypes.js +5 -0
- package/Types/Analytics/ProductEvent.d.mts +6 -1
- package/Types/Analytics/ProductEvent.d.ts +6 -1
- package/Types/Analytics/ProductEvent.js +41 -0
- package/Types/AuditLog/AuditLogCoverage.d.mts +1 -0
- package/Types/AuditLog/AuditLogCoverage.d.ts +1 -0
- package/Types/AuditLog/AuditLogCoverage.js +4 -2
- package/Types/Cloud/CloudResourceCatalog.d.mts +2 -0
- package/Types/Cloud/CloudResourceCatalog.d.ts +2 -0
- package/Types/Cloud/CloudResourceCatalog.js +33 -3
- package/Types/Cloud/CloudResourceCatalog.mjs +1 -0
- package/Types/DataObservability/DataCheckSuggestions.d.mts +25 -0
- package/Types/DataObservability/DataCheckSuggestions.d.ts +25 -0
- package/Types/DataObservability/DataCheckSuggestions.js +102 -65
- package/Types/DataObservability/DataCheckSuggestions.mjs +1 -0
- package/Types/Database/TableMetadata.d.mts +2 -0
- package/Types/Database/TableMetadata.d.ts +2 -0
- package/Types/Database/TableMetadata.js +6 -0
- package/Types/Date.d.mts +20 -1
- package/Types/Date.d.ts +20 -1
- package/Types/Date.js +42 -2
- package/Types/DateLanguage.d.mts +2 -0
- package/Types/DateLanguage.d.ts +2 -0
- package/Types/DateLanguage.js +44 -2
- package/Types/DateLanguage.mjs +2 -0
- package/Types/DirectionArrow.d.mts +7 -0
- package/Types/DirectionArrow.d.ts +7 -0
- package/Types/DirectionArrow.js +88 -0
- package/Types/DirectionArrow.mjs +7 -0
- package/Types/Docs/GlossaryTerm.d.mts +1 -0
- package/Types/Docs/GlossaryTerm.d.ts +1 -0
- package/Types/Docs/GlossaryTerm.js +2 -0
- package/Types/Docs/RetiredNames.d.mts +11 -0
- package/Types/Docs/RetiredNames.d.ts +11 -0
- package/Types/Docs/RetiredNames.js +139 -0
- package/Types/Docs/RetiredNames.mjs +3 -0
- package/Types/Exception/RefusalWithValues.d.mts +7 -0
- package/Types/Exception/RefusalWithValues.d.ts +7 -0
- package/Types/Exception/RefusalWithValues.js +76 -0
- package/Types/Exception/RefusalWithValues.mjs +3 -0
- package/Types/Exception/UnexplainedError.d.mts +13 -0
- package/Types/Exception/UnexplainedError.d.ts +13 -0
- package/Types/Exception/UnexplainedError.js +53 -1
- package/Types/Exception/UnexplainedError.mjs +1 -0
- package/Types/File/FileSize.d.mts +4 -1
- package/Types/File/FileSize.d.ts +4 -1
- package/Types/File/FileSize.js +18 -17
- package/Types/HostCollector/HostCollector.d.mts +1 -0
- package/Types/HostCollector/HostCollector.d.ts +1 -0
- package/Types/HostCollector/HostCollector.js +26 -10
- package/Types/HostCollector/HostCollector.mjs +1 -0
- package/Types/Monitor/MonitorCriteria.js +2 -2
- package/Types/Monitor/MonitorStep.js +1 -1
- package/Types/Monitor/MonitorTemplateSyncField.d.mts +6 -0
- package/Types/Monitor/MonitorTemplateSyncField.d.ts +6 -0
- package/Types/Monitor/MonitorTemplateSyncField.js +106 -64
- package/Types/Monitor/NtpMonitor/NtpMonitorUtil.d.mts +1 -0
- package/Types/Monitor/NtpMonitor/NtpMonitorUtil.d.ts +1 -0
- package/Types/Monitor/NtpMonitor/NtpMonitorUtil.js +11 -3
- package/Types/Monitor/WhoIsTold.d.mts +3 -1
- package/Types/Monitor/WhoIsTold.d.ts +3 -1
- package/Types/Monitor/WhoIsTold.js +2 -1
- package/Types/NotificationRule/PagingLadder.d.mts +137 -0
- package/Types/NotificationRule/PagingLadder.d.ts +137 -0
- package/Types/NotificationRule/PagingLadder.js +682 -0
- package/Types/NotificationRule/PagingLadder.mjs +28 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.js +1 -1
- package/Types/OnCallDutyPolicy/OnCallPageLine.d.mts +26 -0
- package/Types/OnCallDutyPolicy/OnCallPageLine.d.ts +26 -0
- package/Types/OnCallDutyPolicy/OnCallPageLine.js +136 -0
- package/Types/OnCallDutyPolicy/OnCallPageLine.mjs +18 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +44 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +44 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.js +96 -5
- package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +1 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageLine.d.mts +19 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageLine.d.ts +19 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageLine.js +222 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageLine.mjs +6 -0
- package/Types/OnCallDutyPolicy/ScheduleLayerDefaults.js +5 -2
- package/Types/OnCallDutyPolicy/UserOverrideCoverRequest.js +9 -1
- package/Types/Permission.d.mts +2 -2
- package/Types/Permission.d.ts +2 -2
- package/Types/Permission.js +194 -193
- package/Types/Product/ProductCatalog.d.mts +10 -0
- package/Types/Product/ProductCatalog.d.ts +10 -0
- package/Types/Product/ProductCatalog.js +208 -0
- package/Types/Product/ProductCatalog.mjs +6 -0
- package/Types/Product/ProductOfTable.d.mts +3 -0
- package/Types/Product/ProductOfTable.d.ts +3 -0
- package/Types/Product/ProductOfTable.js +68 -0
- package/Types/Product/ProductOfTable.mjs +3 -0
- package/Types/Product/ProjectProductsAnswer.d.mts +3 -0
- package/Types/Product/ProjectProductsAnswer.d.ts +3 -0
- package/Types/Product/ProjectProductsAnswer.js +35 -2
- package/Types/Product/ProjectProductsAnswer.mjs +1 -0
- package/Types/Product/ServerProducts.d.mts +65 -0
- package/Types/Product/ServerProducts.d.ts +65 -0
- package/Types/Product/ServerProducts.js +383 -0
- package/Types/Product/ServerProducts.mjs +26 -0
- package/Types/Product/ServerProductsAnswer.d.mts +21 -0
- package/Types/Product/ServerProductsAnswer.d.ts +21 -0
- package/Types/Product/ServerProductsAnswer.js +78 -0
- package/Types/Product/ServerProductsAnswer.mjs +5 -0
- package/Types/ProductFeedback/ProductFeedback.d.mts +3 -1
- package/Types/ProductFeedback/ProductFeedback.d.ts +3 -1
- package/Types/ProductFeedback/ProductFeedback.js +8 -0
- package/Types/Rum/SessionReplayCustomEvents.d.mts +1 -0
- package/Types/Rum/SessionReplayCustomEvents.d.ts +1 -0
- package/Types/SampleProject/SampleProject.d.mts +54 -0
- package/Types/SampleProject/SampleProject.d.ts +54 -0
- package/Types/SampleProject/SampleProject.js +177 -0
- package/Types/SampleProject/SampleProject.mjs +22 -0
- package/Types/SampleProject/SampleProjectContent.d.mts +127 -0
- package/Types/SampleProject/SampleProjectContent.d.ts +127 -0
- package/Types/SampleProject/SampleProjectContent.js +397 -0
- package/Types/SampleProject/SampleProjectContent.mjs +18 -0
- package/Types/Telemetry/TelemetryIngestSurface.js +6 -5
- package/Types/Translator.d.mts +1 -0
- package/Types/Translator.d.ts +1 -0
- package/Types/Translator.js +40 -2
- package/Types/Translator.mjs +1 -0
- package/Types/UsedBy/UsedBy.d.mts +103 -0
- package/Types/UsedBy/UsedBy.d.ts +103 -0
- package/Types/UsedBy/UsedBy.js +389 -0
- package/Types/UsedBy/UsedBy.mjs +20 -0
- package/Types/UsedBy/UsedByServerProducts.d.mts +4 -0
- package/Types/UsedBy/UsedByServerProducts.d.ts +4 -0
- package/Types/UsedBy/UsedByServerProducts.js +48 -0
- package/Types/UsedBy/UsedByServerProducts.mjs +3 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +6 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +6 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.js +54 -2
- package/Types/WelcomeChecklist/WelcomeChecklist.mjs +4 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +3 -0
- package/Types/Workflow/PassedOnFields.js +2 -1
- package/Types/Workflow/Templates.js +1 -1
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +2 -0
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +2 -0
- package/Utils/AI/MeaningMatch.d.mts +36 -0
- package/Utils/AI/MeaningMatch.d.ts +36 -0
- package/Utils/AI/MeaningMatch.js +535 -0
- package/Utils/AI/MeaningMatch.mjs +7 -0
- package/Utils/ArchivableValues.js +1 -1
- package/Utils/AuditLog/AuditLogValues.js +2 -2
- package/Utils/Dashboard/ClockWidgetFormat.d.mts +14 -2
- package/Utils/Dashboard/ClockWidgetFormat.d.ts +14 -2
- package/Utils/Dashboard/ClockWidgetFormat.js +105 -2
- package/Utils/Dashboard/DashboardViewConfigSignature.d.mts +3 -0
- package/Utils/Dashboard/DashboardViewConfigSignature.d.ts +3 -0
- package/Utils/Dashboard/DashboardViewConfigSignature.js +45 -0
- package/Utils/Dashboard/DashboardViewConfigSignature.mjs +3 -0
- package/Utils/DataSecurity/TextScanner.js +2 -2
- package/Utils/DeveloperDocs/AiAssistantExamples.js +4 -4
- package/Utils/DeveloperDocs/CliCommands.d.mts +1 -0
- package/Utils/DeveloperDocs/CliCommands.d.ts +1 -0
- package/Utils/DeveloperDocs/CliCommands.js +2 -1
- package/Utils/DeveloperDocs/CliResources.js +2 -1
- package/Utils/DeveloperDocs/TerraformSchema.js +3 -1
- package/Utils/Markdown/LinkReferenceDefinitions.d.mts +8 -0
- package/Utils/Markdown/LinkReferenceDefinitions.d.ts +8 -0
- package/Utils/Markdown/LinkReferenceDefinitions.js +1493 -131
- package/Utils/Markdown/LinkReferenceDefinitions.mjs +1 -0
- package/Utils/Markdown/MarkdownTableCell.js +2 -1
- package/Utils/Markdown/OverLongText.js +523 -5
- package/Utils/Markdown/SlowMarkdown.d.mts +14 -0
- package/Utils/Markdown/SlowMarkdown.d.ts +14 -0
- package/Utils/Markdown/SlowMarkdown.js +595 -11
- package/Utils/Markdown/SlowMarkdown.mjs +6 -0
- package/Utils/ModelApiName.d.mts +11 -0
- package/Utils/ModelApiName.d.ts +11 -0
- package/Utils/ModelApiName.js +72 -0
- package/Utils/ModelApiName.mjs +5 -0
- package/Utils/Monitor/DeviceMacLearningUtil.d.mts +2 -1
- package/Utils/Monitor/DeviceMacLearningUtil.d.ts +2 -1
- package/Utils/Monitor/DeviceMacLearningUtil.js +26 -0
- package/Utils/Monitor/EndpointAttachmentUtil.js +8 -3
- package/Utils/Monitor/ExternalStatusPageReading.d.mts +3 -0
- package/Utils/Monitor/ExternalStatusPageReading.d.ts +3 -0
- package/Utils/Monitor/ExternalStatusPageReading.js +35 -1
- package/Utils/Monitor/ExternalStatusPageReading.mjs +2 -0
- package/Utils/Monitor/MonitorTemplateLinkRefusal.d.mts +9 -0
- package/Utils/Monitor/MonitorTemplateLinkRefusal.d.ts +9 -0
- package/Utils/Monitor/MonitorTemplateLinkRefusal.js +45 -0
- package/Utils/Monitor/MonitorTemplateLinkRefusal.mjs +6 -0
- package/Utils/OpenStack/OpenStackCheckName.js +2 -1
- package/Utils/OpenStack/OpenStackLogScrub.js +1 -1
- package/Utils/OpenStack/OpenStackLogs.js +3 -2
- package/Utils/OpenStack/OpenStackTraces.js +2 -1
- package/Utils/Project/NotificationChannels.js +5 -5
- package/Utils/Project/ProjectBalance.js +2 -2
- package/Utils/Project/TwilioAccount.js +2 -2
- package/Utils/ScheduledMaintenanceStart.d.mts +3 -0
- package/Utils/ScheduledMaintenanceStart.d.ts +3 -0
- package/Utils/ScheduledMaintenanceStart.js +9 -0
- package/Utils/Schema/ModelSchema.js +10 -1
- package/Utils/Uptime/UptimeMaintenanceUtil.js +2 -1
- package/Utils/ValueFormatter.d.mts +8 -6
- package/Utils/ValueFormatter.d.ts +8 -6
- package/Utils/ValueFormatter.js +145 -0
- 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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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: "
|
|
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: "
|
|
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
|
|
869
|
-
description: "List of on-call
|
|
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
|
|
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
|
|
2274
|
-
description: "Disable Monitoring because of Ongoing
|
|
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
|
|
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: "
|
|
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
|
|
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
|
|
243
|
-
description: "Relation to On
|
|
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
|
|
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: "
|
|
569
|
-
pluralName: "
|
|
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: "
|
|
524
|
-
pluralName: "
|
|
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: "
|
|
524
|
-
pluralName: "
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1887
|
-
pluralName: "On-Call
|
|
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: "
|
|
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
|
|
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: "
|
|
224
|
-
description: "ID of your OneUptime on-call
|
|
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
|
|
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
|
|
1182
|
-
pluralName: "On-Call
|
|
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
|
|
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
|
|
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: "
|
|
232
|
-
description: "
|
|
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: "
|
|
390
|
-
example: "## User Added to On-Call
|
|
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
|
|
462
|
-
description: "On
|
|
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
|
|
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
|
|
661
|
-
pluralName: "On
|
|
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: "
|
|
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
|
|
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: "
|
|
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: "
|
|
510
|
-
pluralName: "
|
|
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
|
|
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: "
|
|
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: "
|
|
509
|
-
pluralName: "
|
|
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
|
|
842
|
-
pluralName: "On-Call
|
|
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: "
|
|
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
|
|
194
|
-
description: "Relation to the On-Call
|
|
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
|
|
218
|
-
description: "ID of the On-Call
|
|
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
|
|
163
|
-
description: "Relation to On-Call
|
|
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
|
|
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
|
|
159
|
-
description: "Relation to On-Call
|
|
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
|
|
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
|
|
236
|
-
description: "Relation to On-Call
|
|
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
|
|
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
|
|
198
|
-
description: "ID of your On-Call
|
|
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
|
|
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
|
|
638
|
-
pluralName: "On
|
|
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: "
|
|
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
|
}
|