@oneuptime/common 14.0.109 → 14.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Models/AnalyticsModels/SecurityEvent.js +1 -1
- package/Models/DatabaseModels/AIInsight.js +2 -2
- package/Models/DatabaseModels/AIRunRecording.d.mts +12 -0
- package/Models/DatabaseModels/AIRunRecording.d.ts +12 -0
- package/Models/DatabaseModels/AIRunRecording.js +181 -0
- package/Models/DatabaseModels/AIRunRecording.mjs +2 -0
- package/Models/DatabaseModels/Alert.js +20 -4
- 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/DataStore.js +9 -0
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.mts +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.ts +2 -0
- package/Models/DatabaseModels/EmailLog.js +14 -14
- package/Models/DatabaseModels/Form.js +3 -3
- package/Models/DatabaseModels/FormSubmission.js +6 -6
- package/Models/DatabaseModels/GlobalConfig.d.mts +1 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +1 -0
- package/Models/DatabaseModels/GlobalConfig.js +74 -45
- package/Models/DatabaseModels/Incident.js +20 -4
- 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/IncidentSlaRule.js +2 -2
- package/Models/DatabaseModels/IncidentState.js +1 -1
- package/Models/DatabaseModels/IncidentTemplate.js +2 -2
- package/Models/DatabaseModels/Index.js +4 -0
- package/Models/DatabaseModels/InventoryItem.js +11 -0
- package/Models/DatabaseModels/Monitor.js +54 -20
- package/Models/DatabaseModels/MonitorNetworkDevice.d.mts +11 -0
- package/Models/DatabaseModels/MonitorNetworkDevice.d.ts +11 -0
- package/Models/DatabaseModels/MonitorNetworkDevice.js +189 -0
- package/Models/DatabaseModels/MonitorNetworkDevice.mjs +2 -0
- package/Models/DatabaseModels/MonitorProbe.js +22 -5
- package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDevice.js +64 -7
- package/Models/DatabaseModels/NetworkEndpoint.d.mts +1 -0
- package/Models/DatabaseModels/NetworkEndpoint.d.ts +1 -0
- package/Models/DatabaseModels/NetworkEndpoint.js +39 -7
- package/Models/DatabaseModels/NetworkInterface.js +5 -5
- 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 +28 -11
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.js +10 -7
- package/Models/DatabaseModels/OnCallDutyPolicyFeed.d.mts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyFeed.d.ts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyFeed.js +16 -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/OnCallDutyPolicyUserOverride.js +35 -7
- package/Models/DatabaseModels/OpenStackCloudCheck.js +8 -1
- package/Models/DatabaseModels/Project.d.mts +3 -0
- package/Models/DatabaseModels/Project.d.ts +3 -0
- package/Models/DatabaseModels/Project.js +142 -5
- package/Models/DatabaseModels/ProjectCallSMSConfig.js +3 -1
- package/Models/DatabaseModels/ProjectSmtpConfig.js +2 -0
- 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/PublicNoteApprovalRequest.js +3 -3
- package/Models/DatabaseModels/PublicNoteApprovalStep.js +1 -1
- package/Models/DatabaseModels/PushNotificationLog.js +12 -12
- package/Models/DatabaseModels/Reseller.js +8 -2
- package/Models/DatabaseModels/ResellerPlan.js +8 -2
- package/Models/DatabaseModels/RunbookExecution.js +2 -2
- package/Models/DatabaseModels/RunbookRule.js +6 -6
- package/Models/DatabaseModels/ScheduledMaintenance.js +9 -6
- package/Models/DatabaseModels/ScheduledMaintenanceCalendarFeed.js +1 -1
- package/Models/DatabaseModels/ScheduledMaintenanceInternalNote.js +7 -4
- package/Models/DatabaseModels/ScheduledMaintenanceLabelRule.js +1 -1
- package/Models/DatabaseModels/ScheduledMaintenanceMeasurement.js +7 -7
- package/Models/DatabaseModels/ScheduledMaintenanceMeasurementValue.js +3 -3
- package/Models/DatabaseModels/ScheduledMaintenanceOwnerRule.js +6 -6
- package/Models/DatabaseModels/ScheduledMaintenanceOwnerTeam.js +4 -4
- package/Models/DatabaseModels/ScheduledMaintenanceOwnerUser.js +4 -4
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.js +10 -7
- package/Models/DatabaseModels/ScheduledMaintenanceReminderRule.js +4 -4
- package/Models/DatabaseModels/ScheduledMaintenanceStateTimeline.js +4 -4
- package/Models/DatabaseModels/ScheduledMaintenanceTemplate.js +5 -5
- 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/TeamMember.js +10 -1
- 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/Models/DatabaseModels/WorkspaceNotificationRule.js +36 -1
- package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.js +3 -3
- package/Server/Services/DatabaseService.d.mts +4 -1
- package/Server/Services/DatabaseService.d.ts +4 -1
- package/Server/Types/Database/CountBy.d.mts +1 -0
- package/Server/Types/Database/CountBy.d.ts +1 -0
- package/Server/Types/Database/UpdateLimit.d.mts +6 -0
- package/Server/Types/Database/UpdateLimit.d.ts +6 -0
- package/Types/AI/AIActionWords.d.mts +25 -1
- package/Types/AI/AIActionWords.d.ts +25 -1
- package/Types/AI/AIActionWords.js +166 -3
- package/Types/AI/AIActionWords.mjs +6 -0
- package/Types/AI/AIChatTypes.d.mts +4 -2
- package/Types/AI/AIChatTypes.d.ts +4 -2
- package/Types/AI/AIChatTypes.js +5 -0
- package/Types/AI/AiOutcomes.d.mts +57 -0
- package/Types/AI/AiOutcomes.d.ts +57 -0
- package/Types/AI/AiOutcomes.js +67 -0
- package/Types/AI/AiOutcomes.mjs +10 -0
- package/Types/AI/AiRunRefusal.d.mts +45 -0
- package/Types/AI/AiRunRefusal.d.ts +45 -0
- package/Types/AI/AiRunRefusal.js +187 -0
- package/Types/AI/AiRunRefusal.mjs +12 -0
- package/Types/AI/InvestigationRecording.d.mts +46 -0
- package/Types/AI/InvestigationRecording.d.ts +46 -0
- package/Types/AI/InvestigationRecording.js +42 -0
- package/Types/AI/InvestigationRecording.mjs +7 -0
- package/Types/API/HTTPResponse.d.mts +3 -0
- package/Types/API/HTTPResponse.d.ts +3 -0
- package/Types/API/HTTPResponse.js +15 -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/BaseDatabase/AggregateBy.d.mts +16 -0
- package/Types/BaseDatabase/AggregateBy.d.ts +16 -0
- package/Types/BaseDatabase/AggregationIntervalUtil.d.mts +16 -1
- package/Types/BaseDatabase/AggregationIntervalUtil.d.ts +16 -1
- package/Types/BaseDatabase/AggregationIntervalUtil.js +92 -2
- package/Types/BaseDatabase/ListResult.d.mts +1 -0
- package/Types/BaseDatabase/ListResult.d.ts +1 -0
- package/Types/CallAndSMS/ServerTwilioEnvironment.d.mts +47 -0
- package/Types/CallAndSMS/ServerTwilioEnvironment.d.ts +47 -0
- package/Types/CallAndSMS/ServerTwilioEnvironment.js +282 -0
- package/Types/CallAndSMS/ServerTwilioEnvironment.mjs +7 -0
- 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/Dashboard/DashboardAutoRefresh.d.mts +1 -0
- package/Types/Dashboard/DashboardAutoRefresh.d.ts +1 -0
- package/Types/Dashboard/DashboardAutoRefresh.js +21 -0
- package/Types/Dashboard/DashboardAutoRefresh.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 +26 -2
- package/Types/Date.d.ts +26 -2
- package/Types/Date.js +81 -9
- package/Types/Date.mjs +1 -0
- 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/Email/ServerEmailEnvironment.d.mts +85 -0
- package/Types/Email/ServerEmailEnvironment.d.ts +85 -0
- package/Types/Email/ServerEmailEnvironment.js +793 -0
- package/Types/Email/ServerEmailEnvironment.mjs +14 -0
- package/Types/Exception/AiRunRefusalException.d.mts +6 -0
- package/Types/Exception/AiRunRefusalException.d.ts +6 -0
- package/Types/Exception/AiRunRefusalException.js +23 -0
- package/Types/Exception/AiRunRefusalException.mjs +2 -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/Form/FormTargetCatalog.js +2 -2
- package/Types/Form/FormTargetType.js +2 -2
- 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/ListData.d.mts +2 -0
- package/Types/ListData.d.ts +2 -0
- package/Types/ListData.js +4 -0
- package/Types/Monitor/MonitorCriteria.js +2 -2
- package/Types/Monitor/MonitorCriteriaInstance.js +9 -0
- package/Types/Monitor/MonitorNotCheckedReason.d.mts +7 -0
- package/Types/Monitor/MonitorNotCheckedReason.d.ts +7 -0
- package/Types/Monitor/MonitorNotCheckedReason.js +36 -0
- package/Types/Monitor/MonitorNotCheckedReason.mjs +4 -0
- 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/SnmpMonitor/NetworkTopology.d.mts +6 -0
- package/Types/Monitor/SnmpMonitor/NetworkTopology.d.ts +6 -0
- package/Types/Monitor/UptimeHistoryLabels.js +2 -2
- 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/GlobalUserOverrideAccess.d.mts +1 -0
- package/Types/OnCallDutyPolicy/GlobalUserOverrideAccess.d.ts +1 -0
- package/Types/OnCallDutyPolicy/GlobalUserOverrideAccess.js +12 -9
- package/Types/OnCallDutyPolicy/GlobalUserOverrideAccess.mjs +1 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.d.mts +3 -1
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.d.ts +3 -1
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.js +24 -6
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.mjs +1 -0
- 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/OnCallPagePassOn.d.mts +1 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.d.ts +1 -0
- package/Types/OnCallDutyPolicy/OnCallPolicyStartedByHand.d.mts +12 -0
- package/Types/OnCallDutyPolicy/OnCallPolicyStartedByHand.d.ts +12 -0
- package/Types/OnCallDutyPolicy/OnCallPolicyStartedByHand.js +38 -0
- package/Types/OnCallDutyPolicy/OnCallPolicyStartedByHand.mjs +3 -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/ScheduleLayersSave.d.mts +92 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.ts +92 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.js +512 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.mjs +7 -0
- package/Types/OnCallDutyPolicy/UserOverrideCoverRequest.js +9 -1
- package/Types/OnCallDutyPolicy/UserOverrideEdit.d.mts +23 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.d.ts +23 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.js +105 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.mjs +6 -0
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.mts +64 -0
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.ts +64 -0
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.js +237 -0
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.mjs +14 -0
- package/Types/Permission.d.mts +2 -2
- package/Types/Permission.d.ts +2 -2
- package/Types/Permission.js +196 -195
- package/Types/Probe/ProbeCapability.d.mts +2 -1
- package/Types/Probe/ProbeCapability.d.ts +2 -1
- package/Types/Probe/ProbeCapability.js +10 -0
- 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/ReaderLanguage.d.mts +1 -0
- package/Types/ReaderLanguage.d.ts +1 -0
- package/Types/ReaderLanguage.js +13 -1
- package/Types/ReaderLanguage.mjs +1 -0
- package/Types/Rules/RuleRun.js +2 -2
- 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/ScheduledMaintenance/MaintenanceCalendar.js +1 -1
- package/Types/ServerSending/ServerSendingStatus.d.mts +7 -0
- package/Types/ServerSending/ServerSendingStatus.d.ts +7 -0
- package/Types/ServerSending/ServerSendingStatus.js +49 -2
- package/Types/ServerSetup/ServerSetupChecklist.js +3 -3
- package/Types/StateTimeline/RowsKeptOnDelete.js +1 -1
- package/Types/StatusPage/NewIncidentSubscriberNotificationDefault.d.mts +8 -0
- package/Types/StatusPage/NewIncidentSubscriberNotificationDefault.d.ts +8 -0
- package/Types/StatusPage/NewIncidentSubscriberNotificationDefault.js +50 -0
- package/Types/StatusPage/NewIncidentSubscriberNotificationDefault.mjs +3 -0
- package/Types/StatusPage/PublicNoteSubscriberNotificationDefault.js +1 -1
- package/Types/Telemetry/CompatibleIngest.d.mts +20 -0
- package/Types/Telemetry/CompatibleIngest.d.ts +20 -0
- package/Types/Telemetry/CompatibleIngest.js +123 -0
- package/Types/Telemetry/CompatibleIngest.mjs +21 -0
- package/Types/Telemetry/TelemetryIngestSurface.d.mts +5 -0
- package/Types/Telemetry/TelemetryIngestSurface.d.ts +5 -0
- package/Types/Telemetry/TelemetryIngestSurface.js +54 -12
- package/Types/TimezoneAlias.d.mts +1 -0
- package/Types/TimezoneAlias.d.ts +1 -0
- package/Types/TimezoneAlias.js +13 -0
- package/Types/Translator.d.mts +1 -0
- package/Types/Translator.d.ts +1 -0
- package/Types/Translator.js +414 -50
- 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/RunRecord.js +1 -1
- package/Types/Workflow/Templates.js +3 -3
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.mts +2 -0
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.ts +2 -0
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +28 -1
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +28 -1
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.mts +84 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.ts +84 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.js +456 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.mjs +5 -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/Dashboard/ValueWidgetSeries.d.mts +2 -0
- package/Utils/Dashboard/ValueWidgetSeries.d.ts +2 -0
- package/Utils/Dashboard/ValueWidgetSeries.js +75 -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/ExampleBuilder.js +1 -1
- package/Utils/DeveloperDocs/ResourceProfiles.js +2 -2
- package/Utils/DeveloperDocs/TerraformSchema.js +3 -1
- package/Utils/GuidedSetup/StatusPageRecords.d.mts +5 -0
- package/Utils/GuidedSetup/StatusPageRecords.d.ts +5 -0
- package/Utils/GuidedSetup/StatusPageRecords.js +27 -2
- package/Utils/GuidedSetup/StatusPageRecords.mjs +1 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.js +6 -0
- package/Utils/HostAddressUtil.d.mts +1 -0
- package/Utils/HostAddressUtil.d.ts +1 -0
- package/Utils/HostAddressUtil.js +30 -0
- package/Utils/LinearRegExp/LinearRegExp.js +5 -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/Milliseconds.d.mts +7 -0
- package/Utils/Milliseconds.d.ts +7 -0
- package/Utils/Milliseconds.js +60 -0
- package/Utils/Milliseconds.mjs +4 -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.d.mts +8 -0
- package/Utils/Monitor/EndpointAttachmentUtil.d.ts +8 -0
- package/Utils/Monitor/EndpointAttachmentUtil.js +97 -22
- package/Utils/Monitor/EndpointAttachmentUtil.mjs +4 -0
- 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/InterfaceInventoryUtil.d.mts +40 -0
- package/Utils/Monitor/InterfaceInventoryUtil.d.ts +40 -0
- package/Utils/Monitor/InterfaceInventoryUtil.js +217 -5
- package/Utils/Monitor/InterfaceInventoryUtil.mjs +8 -0
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +63 -29
- package/Utils/Monitor/MonitorOverviewProbeUtil.js +13 -2
- package/Utils/Monitor/MonitorRootCauseWording.d.mts +2 -0
- package/Utils/Monitor/MonitorRootCauseWording.d.ts +2 -0
- package/Utils/Monitor/MonitorRootCauseWording.js +58 -4
- 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/Monitor/MonitoringOff.d.mts +2 -0
- package/Utils/Monitor/MonitoringOff.d.ts +2 -0
- package/Utils/Monitor/MonitoringOff.js +21 -0
- package/Utils/Monitor/NetworkTopologyUtil.d.mts +2 -1
- package/Utils/Monitor/NetworkTopologyUtil.d.ts +2 -1
- package/Utils/Monitor/NetworkTopologyUtil.js +10 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.d.mts +2 -1
- package/Utils/Monitor/NotOperationalMonitorQuery.d.ts +2 -1
- package/Utils/Monitor/NotOperationalMonitorQuery.js +23 -4
- package/Utils/Monitor/ProbeFailureReading.d.mts +14 -0
- package/Utils/Monitor/ProbeFailureReading.d.ts +14 -0
- package/Utils/Monitor/ProbeFailureReading.js +137 -0
- package/Utils/Monitor/ProbeFailureReading.mjs +7 -0
- package/Utils/NetworkDevice/BoundMonitorNotChecked.d.mts +9 -0
- package/Utils/NetworkDevice/BoundMonitorNotChecked.d.ts +9 -0
- package/Utils/NetworkDevice/BoundMonitorNotChecked.js +15 -0
- package/Utils/NetworkDevice/BoundMonitorNotChecked.mjs +2 -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/NextNumber.js +1 -1
- package/Utils/Project/NotificationChannels.js +5 -5
- package/Utils/Project/ProjectBalance.js +2 -2
- package/Utils/Project/TwilioAccount.js +2 -2
- package/Utils/PromQL/PromQLAst.d.mts +159 -0
- package/Utils/PromQL/PromQLAst.d.ts +159 -0
- package/Utils/PromQL/PromQLAst.js +118 -0
- package/Utils/PromQL/PromQLAst.mjs +12 -0
- package/Utils/PromQL/PromQLDuration.d.mts +2 -0
- package/Utils/PromQL/PromQLDuration.d.ts +2 -0
- package/Utils/PromQL/PromQLDuration.js +78 -0
- package/Utils/PromQL/PromQLDuration.mjs +3 -0
- package/Utils/PromQL/PromQLEngine.d.mts +15 -0
- package/Utils/PromQL/PromQLEngine.d.ts +15 -0
- package/Utils/PromQL/PromQLEngine.js +965 -0
- package/Utils/PromQL/PromQLEngine.mjs +7 -0
- package/Utils/PromQL/PromQLEngineTypes.d.mts +84 -0
- package/Utils/PromQL/PromQLEngineTypes.d.ts +84 -0
- package/Utils/PromQL/PromQLEngineTypes.js +10 -0
- package/Utils/PromQL/PromQLEngineTypes.mjs +2 -0
- package/Utils/PromQL/PromQLError.d.mts +11 -0
- package/Utils/PromQL/PromQLError.d.ts +11 -0
- package/Utils/PromQL/PromQLError.js +27 -0
- package/Utils/PromQL/PromQLError.mjs +3 -0
- package/Utils/PromQL/PromQLFunctionEvaluators.d.mts +8 -0
- package/Utils/PromQL/PromQLFunctionEvaluators.d.ts +8 -0
- package/Utils/PromQL/PromQLFunctionEvaluators.js +773 -0
- package/Utils/PromQL/PromQLFunctionEvaluators.mjs +3 -0
- package/Utils/PromQL/PromQLFunctions.d.mts +10 -0
- package/Utils/PromQL/PromQLFunctions.d.ts +10 -0
- package/Utils/PromQL/PromQLFunctions.js +127 -0
- package/Utils/PromQL/PromQLFunctions.mjs +4 -0
- package/Utils/PromQL/PromQLLabels.d.mts +11 -0
- package/Utils/PromQL/PromQLLabels.d.ts +11 -0
- package/Utils/PromQL/PromQLLabels.js +218 -0
- package/Utils/PromQL/PromQLLabels.mjs +9 -0
- package/Utils/PromQL/PromQLLexer.d.mts +39 -0
- package/Utils/PromQL/PromQLLexer.d.ts +39 -0
- package/Utils/PromQL/PromQLLexer.js +391 -0
- package/Utils/PromQL/PromQLLexer.mjs +3 -0
- package/Utils/PromQL/PromQLMath.d.mts +19 -0
- package/Utils/PromQL/PromQLMath.d.ts +19 -0
- package/Utils/PromQL/PromQLMath.js +200 -0
- package/Utils/PromQL/PromQLMath.mjs +9 -0
- package/Utils/PromQL/PromQLMetricNames.d.mts +21 -0
- package/Utils/PromQL/PromQLMetricNames.d.ts +21 -0
- package/Utils/PromQL/PromQLMetricNames.js +199 -0
- package/Utils/PromQL/PromQLMetricNames.mjs +8 -0
- package/Utils/PromQL/PromQLParser.d.mts +4 -0
- package/Utils/PromQL/PromQLParser.d.ts +4 -0
- package/Utils/PromQL/PromQLParser.js +831 -0
- package/Utils/PromQL/PromQLParser.mjs +4 -0
- package/Utils/PromQL/PromQLRegex.d.mts +9 -0
- package/Utils/PromQL/PromQLRegex.d.ts +9 -0
- package/Utils/PromQL/PromQLRegex.js +74 -0
- package/Utils/PromQL/PromQLRegex.mjs +2 -0
- package/Utils/PromQL/PrometheusResponse.d.mts +25 -0
- package/Utils/PromQL/PrometheusResponse.d.ts +25 -0
- package/Utils/PromQL/PrometheusResponse.js +90 -0
- package/Utils/PromQL/PrometheusResponse.mjs +3 -0
- package/Utils/Rum/PathInSentence.d.mts +5 -0
- package/Utils/Rum/PathInSentence.d.ts +5 -0
- package/Utils/Rum/PathInSentence.js +46 -0
- package/Utils/Rum/PathInSentence.mjs +6 -0
- package/Utils/Rum/UrlScrubber.d.mts +4 -0
- package/Utils/Rum/UrlScrubber.d.ts +4 -0
- package/Utils/Rum/UrlScrubber.js +143 -3
- package/Utils/Rum/UserFlow.d.mts +1 -1
- package/Utils/Rum/UserFlow.d.ts +1 -1
- package/Utils/Rum/UserFlow.js +180 -25
- package/Utils/Rum/UserFlow.mjs +1 -1
- package/Utils/Runbook/RunbookStepsSignature.d.mts +3 -0
- package/Utils/Runbook/RunbookStepsSignature.d.ts +3 -0
- package/Utils/Runbook/RunbookStepsSignature.js +30 -0
- package/Utils/Runbook/RunbookStepsSignature.mjs +3 -0
- 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/Schema/TypeSchemas.js +6 -0
- package/Utils/Slo/SloDuration.d.mts +5 -2
- package/Utils/Slo/SloDuration.d.ts +5 -2
- package/Utils/Slo/SloDuration.js +11 -6
- package/Utils/Slo/SloHealth.js +1 -1
- package/Utils/StateOrder.js +1 -4
- package/Utils/StateTimeline/StateTimelineRowDelete.js +1 -1
- package/Utils/Telemetry/HeartbeatAvailability.d.mts +4 -0
- package/Utils/Telemetry/HeartbeatAvailability.d.ts +4 -0
- package/Utils/Telemetry/HeartbeatAvailability.js +118 -26
- package/Utils/Uptime/DayUptimeGraphUtil.js +2 -2
- 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
|
@@ -335,7 +335,7 @@ __decorate([
|
|
|
335
335
|
type: TableColumnType_1.default.ShortText,
|
|
336
336
|
allowedValues: Object.values(FormTargetType_1.default),
|
|
337
337
|
title: "Creates",
|
|
338
|
-
description: "What each submission creates: Incident, or ScheduledMaintenance (a
|
|
338
|
+
description: "What each submission creates: Incident, or ScheduledMaintenance (a maintenance event).",
|
|
339
339
|
defaultValue: FormTargetType_1.DEFAULT_FORM_TARGET_TYPE,
|
|
340
340
|
example: FormTargetType_1.default.Incident,
|
|
341
341
|
}),
|
|
@@ -425,7 +425,7 @@ __decorate([
|
|
|
425
425
|
required: false,
|
|
426
426
|
type: TableColumnType_1.default.JSON,
|
|
427
427
|
title: "On Submit Settings",
|
|
428
|
-
description: "What every submission starts with besides the answers. For incidents: defaultTitle, incidentSeverityId, incidentTemplateId, monitorIds, labelIds, onCallDutyPolicyIds, ownerUserIds and ownerTeamIds. For
|
|
428
|
+
description: "What every submission starts with besides the answers. For incidents: defaultTitle, incidentSeverityId, incidentTemplateId, monitorIds, labelIds, onCallDutyPolicyIds, ownerUserIds and ownerTeamIds. For maintenance events: defaultTitle, monitorIds, statusPageIds, labelIds, ownerUserIds, ownerTeamIds, showOnStatusPages and notifySubscribers.",
|
|
429
429
|
example: {
|
|
430
430
|
incidentSeverityId: "c3d4e5f6-a7b8-4c9d-8e1f-2a3b4c5d6e7f",
|
|
431
431
|
ownerTeamIds: ["e5f6a7b8-c9d0-4e1f-8a3b-4c5d6e7f8a9b"],
|
|
@@ -702,7 +702,7 @@ Form = __decorate([
|
|
|
702
702
|
singularName: "Form",
|
|
703
703
|
pluralName: "Forms",
|
|
704
704
|
icon: IconProp_1.default.ClipboardDocumentList,
|
|
705
|
-
tableDescription: "Forms anyone with the link can fill in, without a OneUptime account. Each submission creates an incident or a
|
|
705
|
+
tableDescription: "Forms anyone with the link can fill in, without a OneUptime account. Each submission creates an incident or a maintenance event in this project.",
|
|
706
706
|
})
|
|
707
707
|
], Form);
|
|
708
708
|
exports.default = Form;
|
|
@@ -253,7 +253,7 @@ __decorate([
|
|
|
253
253
|
type: TableColumnType_1.default.ShortText,
|
|
254
254
|
allowedValues: Object.values(FormTargetType_1.default),
|
|
255
255
|
title: "Created",
|
|
256
|
-
description: "What the submission created: Incident, or ScheduledMaintenance (a
|
|
256
|
+
description: "What the submission created: Incident, or ScheduledMaintenance (a maintenance event).",
|
|
257
257
|
example: FormTargetType_1.default.Incident,
|
|
258
258
|
}),
|
|
259
259
|
(0, typeorm_1.Column)({
|
|
@@ -319,8 +319,8 @@ __decorate([
|
|
|
319
319
|
manyToOneRelationColumn: "scheduledMaintenanceId",
|
|
320
320
|
type: TableColumnType_1.default.Entity,
|
|
321
321
|
modelType: ScheduledMaintenance_1.default,
|
|
322
|
-
title: "
|
|
323
|
-
description: "The
|
|
322
|
+
title: "Maintenance Event",
|
|
323
|
+
description: "The maintenance event this submission created. Empty for a form that creates incidents, and once that event is deleted.",
|
|
324
324
|
}),
|
|
325
325
|
(0, typeorm_1.ManyToOne)(() => {
|
|
326
326
|
return ScheduledMaintenance_1.default;
|
|
@@ -344,8 +344,8 @@ __decorate([
|
|
|
344
344
|
type: TableColumnType_1.default.ObjectID,
|
|
345
345
|
required: false,
|
|
346
346
|
canReadOnRelationQuery: true,
|
|
347
|
-
title: "
|
|
348
|
-
description: "ID of the
|
|
347
|
+
title: "Maintenance Event ID",
|
|
348
|
+
description: "ID of the maintenance event this submission created. Empty for a form that creates incidents, and once that event is deleted.",
|
|
349
349
|
example: "b8c9d0e1-f2a3-4b4c-9d5e-6f7a8b9c0d1e",
|
|
350
350
|
}),
|
|
351
351
|
(0, typeorm_1.Column)({
|
|
@@ -379,7 +379,7 @@ FormSubmission = __decorate([
|
|
|
379
379
|
singularName: "Form Submission",
|
|
380
380
|
pluralName: "Form Submissions",
|
|
381
381
|
icon: IconProp_1.default.ClipboardDocumentCheck,
|
|
382
|
-
tableDescription: "The submissions made through this project's forms: every answer, the name and email the submitter gave, and the incident or
|
|
382
|
+
tableDescription: "The submissions made through this project's forms: every answer, the name and email the submitter gave, and the incident or maintenance event each one created.",
|
|
383
383
|
})
|
|
384
384
|
], FormSubmission);
|
|
385
385
|
exports.default = FormSubmission;
|
|
@@ -365,6 +365,17 @@ let GlobalConfig = class GlobalConfig extends GlobalConfig_1.default {
|
|
|
365
365
|
* nothing is offered, and ProductFeedbackAPI takes no answer.
|
|
366
366
|
*/
|
|
367
367
|
this.disableProductFeedback = undefined;
|
|
368
|
+
/*
|
|
369
|
+
* The products switched off for every project on this server (issue
|
|
370
|
+
* #6815, Types/Product/ServerProducts): { off: [product keys], changedAt,
|
|
371
|
+
* changedByUserId }. Null until a master admin saves Admin Dashboard >
|
|
372
|
+
* Settings > Products; until then SERVER_PRODUCTS (config.env, Helm
|
|
373
|
+
* products.onThisServer) gives the starting value, and unset every product
|
|
374
|
+
* is on. Written by OneUptime only (isRoot), through the page's own route,
|
|
375
|
+
* which records who changed it: GlobalConfigService refuses a write
|
|
376
|
+
* through the CRUD API.
|
|
377
|
+
*/
|
|
378
|
+
this.serverProducts = undefined;
|
|
368
379
|
}
|
|
369
380
|
};
|
|
370
381
|
__decorate([
|
|
@@ -613,18 +624,26 @@ __decorate([
|
|
|
613
624
|
create: [],
|
|
614
625
|
read: [],
|
|
615
626
|
update: [],
|
|
616
|
-
})
|
|
627
|
+
})
|
|
628
|
+
/*
|
|
629
|
+
* Stored encrypted, as every credential column of this row is (#7739):
|
|
630
|
+
* DatabaseService encrypts it on write and decrypts it on read, so every
|
|
631
|
+
* reader gets the password as it was written. Not unique, as none of
|
|
632
|
+
* them is: each write stores a different ciphertext, and the
|
|
633
|
+
* EncryptGlobalConfigCredentials data migration encrypts a value stored
|
|
634
|
+
* before. Tests/Models/DatabaseModels/GlobalConfigCredentialColumns
|
|
635
|
+
* holds the full list, and the columns left as they are with why.
|
|
636
|
+
*/
|
|
637
|
+
,
|
|
617
638
|
(0, TableColumn_1.default)({
|
|
618
|
-
|
|
619
|
-
|
|
639
|
+
type: TableColumnType_1.default.VeryLongText,
|
|
640
|
+
encrypted: true,
|
|
620
641
|
title: "SMTP Password",
|
|
621
642
|
description: "Password for your SMTP Server",
|
|
622
643
|
}),
|
|
623
644
|
(0, typeorm_1.Column)({
|
|
624
|
-
type: ColumnType_1.default.
|
|
625
|
-
length: ColumnLength_1.default.ShortText,
|
|
645
|
+
type: ColumnType_1.default.VeryLongText,
|
|
626
646
|
nullable: true,
|
|
627
|
-
unique: true,
|
|
628
647
|
}),
|
|
629
648
|
__metadata("design:type", String)
|
|
630
649
|
], GlobalConfig.prototype, "smtpPassword", void 0);
|
|
@@ -773,8 +792,8 @@ __decorate([
|
|
|
773
792
|
update: [],
|
|
774
793
|
}),
|
|
775
794
|
(0, TableColumn_1.default)({
|
|
776
|
-
secret: true,
|
|
777
795
|
type: TableColumnType_1.default.VeryLongText,
|
|
796
|
+
encrypted: true,
|
|
778
797
|
title: "SMTP OAuth Client Secret",
|
|
779
798
|
description: "The Client Secret from your OAuth application registration. Required for OAuth authentication. For Google service accounts, this is the private key from the JSON key file.",
|
|
780
799
|
}),
|
|
@@ -864,16 +883,14 @@ __decorate([
|
|
|
864
883
|
update: [],
|
|
865
884
|
}),
|
|
866
885
|
(0, TableColumn_1.default)({
|
|
867
|
-
|
|
868
|
-
|
|
886
|
+
type: TableColumnType_1.default.VeryLongText,
|
|
887
|
+
encrypted: true,
|
|
869
888
|
title: "Twilio Auth Token",
|
|
870
889
|
description: "Auth Token for your Twilio Account",
|
|
871
890
|
}),
|
|
872
891
|
(0, typeorm_1.Column)({
|
|
873
|
-
type: ColumnType_1.default.
|
|
874
|
-
length: ColumnLength_1.default.ShortText,
|
|
892
|
+
type: ColumnType_1.default.VeryLongText,
|
|
875
893
|
nullable: true,
|
|
876
|
-
unique: true,
|
|
877
894
|
}),
|
|
878
895
|
__metadata("design:type", String)
|
|
879
896
|
], GlobalConfig.prototype, "twilioAuthToken", void 0);
|
|
@@ -1009,16 +1026,14 @@ __decorate([
|
|
|
1009
1026
|
update: [],
|
|
1010
1027
|
}),
|
|
1011
1028
|
(0, TableColumn_1.default)({
|
|
1012
|
-
|
|
1013
|
-
|
|
1029
|
+
type: TableColumnType_1.default.VeryLongText,
|
|
1030
|
+
encrypted: true,
|
|
1014
1031
|
title: "Gateway Signing Secret",
|
|
1015
1032
|
description: "The secret each request to your gateway is signed with, in the X-OneUptime-Signature header.",
|
|
1016
1033
|
}),
|
|
1017
1034
|
(0, typeorm_1.Column)({
|
|
1018
|
-
type: ColumnType_1.default.
|
|
1019
|
-
length: ColumnLength_1.default.ShortText,
|
|
1035
|
+
type: ColumnType_1.default.VeryLongText,
|
|
1020
1036
|
nullable: true,
|
|
1021
|
-
unique: false,
|
|
1022
1037
|
}),
|
|
1023
1038
|
__metadata("design:type", String)
|
|
1024
1039
|
], GlobalConfig.prototype, "callAndSmsGatewaySecret", void 0);
|
|
@@ -1029,15 +1044,14 @@ __decorate([
|
|
|
1029
1044
|
update: [],
|
|
1030
1045
|
}),
|
|
1031
1046
|
(0, TableColumn_1.default)({
|
|
1032
|
-
secret: true,
|
|
1033
1047
|
type: TableColumnType_1.default.VeryLongText,
|
|
1048
|
+
encrypted: true,
|
|
1034
1049
|
title: "Meta WhatsApp Access Token",
|
|
1035
1050
|
description: "Access token generated from Meta for sending WhatsApp messages.",
|
|
1036
1051
|
}),
|
|
1037
1052
|
(0, typeorm_1.Column)({
|
|
1038
1053
|
type: ColumnType_1.default.VeryLongText,
|
|
1039
1054
|
nullable: true,
|
|
1040
|
-
unique: true,
|
|
1041
1055
|
}),
|
|
1042
1056
|
__metadata("design:type", String)
|
|
1043
1057
|
], GlobalConfig.prototype, "metaWhatsAppAccessToken", void 0);
|
|
@@ -1105,15 +1119,14 @@ __decorate([
|
|
|
1105
1119
|
update: [],
|
|
1106
1120
|
}),
|
|
1107
1121
|
(0, TableColumn_1.default)({
|
|
1108
|
-
secret: true,
|
|
1109
1122
|
type: TableColumnType_1.default.VeryLongText,
|
|
1123
|
+
encrypted: true,
|
|
1110
1124
|
title: "Meta WhatsApp App Secret",
|
|
1111
1125
|
description: "Facebook App Secret for the WhatsApp Business Platform.",
|
|
1112
1126
|
}),
|
|
1113
1127
|
(0, typeorm_1.Column)({
|
|
1114
1128
|
type: ColumnType_1.default.VeryLongText,
|
|
1115
1129
|
nullable: true,
|
|
1116
|
-
unique: true,
|
|
1117
1130
|
}),
|
|
1118
1131
|
__metadata("design:type", String)
|
|
1119
1132
|
], GlobalConfig.prototype, "metaWhatsAppAppSecret", void 0);
|
|
@@ -1124,16 +1137,14 @@ __decorate([
|
|
|
1124
1137
|
update: [],
|
|
1125
1138
|
}),
|
|
1126
1139
|
(0, TableColumn_1.default)({
|
|
1127
|
-
|
|
1128
|
-
|
|
1140
|
+
type: TableColumnType_1.default.VeryLongText,
|
|
1141
|
+
encrypted: true,
|
|
1129
1142
|
title: "Meta WhatsApp Webhook Verify Token",
|
|
1130
1143
|
description: "Verify token configured in Meta to validate webhook subscriptions.",
|
|
1131
1144
|
}),
|
|
1132
1145
|
(0, typeorm_1.Column)({
|
|
1133
|
-
type: ColumnType_1.default.
|
|
1134
|
-
length: ColumnLength_1.default.ShortText,
|
|
1146
|
+
type: ColumnType_1.default.VeryLongText,
|
|
1135
1147
|
nullable: true,
|
|
1136
|
-
unique: true,
|
|
1137
1148
|
}),
|
|
1138
1149
|
__metadata("design:type", String)
|
|
1139
1150
|
], GlobalConfig.prototype, "metaWhatsAppWebhookVerifyToken", void 0);
|
|
@@ -1144,15 +1155,14 @@ __decorate([
|
|
|
1144
1155
|
update: [],
|
|
1145
1156
|
}),
|
|
1146
1157
|
(0, TableColumn_1.default)({
|
|
1147
|
-
secret: true,
|
|
1148
1158
|
type: TableColumnType_1.default.VeryLongText,
|
|
1159
|
+
encrypted: true,
|
|
1149
1160
|
title: "Telegram Bot Token",
|
|
1150
1161
|
description: "Bot token issued by @BotFather for sending Telegram messages.",
|
|
1151
1162
|
}),
|
|
1152
1163
|
(0, typeorm_1.Column)({
|
|
1153
1164
|
type: ColumnType_1.default.VeryLongText,
|
|
1154
1165
|
nullable: true,
|
|
1155
|
-
unique: true,
|
|
1156
1166
|
}),
|
|
1157
1167
|
__metadata("design:type", String)
|
|
1158
1168
|
], GlobalConfig.prototype, "telegramBotToken", void 0);
|
|
@@ -1182,16 +1192,14 @@ __decorate([
|
|
|
1182
1192
|
update: [],
|
|
1183
1193
|
}),
|
|
1184
1194
|
(0, TableColumn_1.default)({
|
|
1185
|
-
|
|
1186
|
-
|
|
1195
|
+
type: TableColumnType_1.default.VeryLongText,
|
|
1196
|
+
encrypted: true,
|
|
1187
1197
|
title: "Telegram Webhook Secret Token",
|
|
1188
1198
|
description: "Secret token passed to Telegram setWebhook. Telegram sends it back in the X-Telegram-Bot-Api-Secret-Token header.",
|
|
1189
1199
|
}),
|
|
1190
1200
|
(0, typeorm_1.Column)({
|
|
1191
|
-
type: ColumnType_1.default.
|
|
1192
|
-
length: ColumnLength_1.default.ShortText,
|
|
1201
|
+
type: ColumnType_1.default.VeryLongText,
|
|
1193
1202
|
nullable: true,
|
|
1194
|
-
unique: true,
|
|
1195
1203
|
}),
|
|
1196
1204
|
__metadata("design:type", String)
|
|
1197
1205
|
], GlobalConfig.prototype, "telegramWebhookSecretToken", void 0);
|
|
@@ -1240,15 +1248,14 @@ __decorate([
|
|
|
1240
1248
|
update: [],
|
|
1241
1249
|
}),
|
|
1242
1250
|
(0, TableColumn_1.default)({
|
|
1243
|
-
|
|
1244
|
-
|
|
1251
|
+
type: TableColumnType_1.default.VeryLongText,
|
|
1252
|
+
encrypted: true,
|
|
1245
1253
|
title: "Sendgrid API Key",
|
|
1246
1254
|
description: "Sendgrid API Key",
|
|
1247
1255
|
}),
|
|
1248
1256
|
(0, typeorm_1.Column)({
|
|
1249
|
-
type: ColumnType_1.default.
|
|
1257
|
+
type: ColumnType_1.default.VeryLongText,
|
|
1250
1258
|
nullable: true,
|
|
1251
|
-
unique: true,
|
|
1252
1259
|
}),
|
|
1253
1260
|
__metadata("design:type", String)
|
|
1254
1261
|
], GlobalConfig.prototype, "sendgridApiKey", void 0);
|
|
@@ -1625,7 +1632,15 @@ __decorate([
|
|
|
1625
1632
|
create: [],
|
|
1626
1633
|
read: [],
|
|
1627
1634
|
update: [],
|
|
1628
|
-
})
|
|
1635
|
+
})
|
|
1636
|
+
/*
|
|
1637
|
+
* Stored as it is, not encrypted as the credentials above are: a request
|
|
1638
|
+
* names the key, and ProjectAuthorization.isMasterApiKey finds the row
|
|
1639
|
+
* by it (WHERE "masterApiKey" = the key). An encrypted value differs on
|
|
1640
|
+
* every write, so no lookup by value could match it. It is a uuid
|
|
1641
|
+
* column, too, which holds no ciphertext.
|
|
1642
|
+
*/
|
|
1643
|
+
,
|
|
1629
1644
|
(0, TableColumn_1.default)({
|
|
1630
1645
|
secret: true,
|
|
1631
1646
|
type: TableColumnType_1.default.ObjectID,
|
|
@@ -1687,16 +1702,14 @@ __decorate([
|
|
|
1687
1702
|
update: [],
|
|
1688
1703
|
}),
|
|
1689
1704
|
(0, TableColumn_1.default)({
|
|
1690
|
-
|
|
1691
|
-
|
|
1705
|
+
type: TableColumnType_1.default.VeryLongText,
|
|
1706
|
+
encrypted: true,
|
|
1692
1707
|
title: "Enterprise License Key",
|
|
1693
1708
|
description: "Enterprise license key stored after successful validation.",
|
|
1694
1709
|
}),
|
|
1695
1710
|
(0, typeorm_1.Column)({
|
|
1696
|
-
type: ColumnType_1.default.
|
|
1697
|
-
length: ColumnLength_1.default.ShortText,
|
|
1711
|
+
type: ColumnType_1.default.VeryLongText,
|
|
1698
1712
|
nullable: true,
|
|
1699
|
-
unique: true,
|
|
1700
1713
|
}),
|
|
1701
1714
|
__metadata("design:type", String)
|
|
1702
1715
|
], GlobalConfig.prototype, "enterpriseLicenseKey", void 0);
|
|
@@ -1725,15 +1738,14 @@ __decorate([
|
|
|
1725
1738
|
update: [],
|
|
1726
1739
|
}),
|
|
1727
1740
|
(0, TableColumn_1.default)({
|
|
1728
|
-
secret: true,
|
|
1729
1741
|
type: TableColumnType_1.default.VeryLongText,
|
|
1742
|
+
encrypted: true,
|
|
1730
1743
|
title: "Enterprise License Token",
|
|
1731
1744
|
description: "Signed JWT returned from license validation.",
|
|
1732
1745
|
}),
|
|
1733
1746
|
(0, typeorm_1.Column)({
|
|
1734
1747
|
type: ColumnType_1.default.VeryLongText,
|
|
1735
1748
|
nullable: true,
|
|
1736
|
-
unique: true,
|
|
1737
1749
|
}),
|
|
1738
1750
|
__metadata("design:type", String)
|
|
1739
1751
|
], GlobalConfig.prototype, "enterpriseLicenseToken", void 0);
|
|
@@ -2918,6 +2930,23 @@ __decorate([
|
|
|
2918
2930
|
}),
|
|
2919
2931
|
__metadata("design:type", Boolean)
|
|
2920
2932
|
], GlobalConfig.prototype, "disableProductFeedback", void 0);
|
|
2933
|
+
__decorate([
|
|
2934
|
+
(0, ColumnAccessControl_1.default)({
|
|
2935
|
+
create: [],
|
|
2936
|
+
read: [],
|
|
2937
|
+
update: [],
|
|
2938
|
+
}),
|
|
2939
|
+
(0, TableColumn_1.default)({
|
|
2940
|
+
type: TableColumnType_1.default.JSON,
|
|
2941
|
+
title: "Server Products",
|
|
2942
|
+
description: "The products switched off for every project on this server, and who switched them off and when. Empty until an admin saves Admin Dashboard > Settings > Products.",
|
|
2943
|
+
}),
|
|
2944
|
+
(0, typeorm_1.Column)({
|
|
2945
|
+
type: ColumnType_1.default.JSON,
|
|
2946
|
+
nullable: true,
|
|
2947
|
+
}),
|
|
2948
|
+
__metadata("design:type", Object)
|
|
2949
|
+
], GlobalConfig.prototype, "serverProducts", void 0);
|
|
2921
2950
|
GlobalConfig = __decorate([
|
|
2922
2951
|
(0, TableMetadata_1.default)({
|
|
2923
2952
|
tableName: "GlobalConfig",
|
|
@@ -393,8 +393,14 @@ __decorate([
|
|
|
393
393
|
Permission_1.default.ReadProjectIncident,
|
|
394
394
|
],
|
|
395
395
|
update: [],
|
|
396
|
-
})
|
|
397
|
-
|
|
396
|
+
})
|
|
397
|
+
/*
|
|
398
|
+
* No bare @Index() here on purpose: the composites on the class lead with
|
|
399
|
+
* this column ("projectId", "createdAt" first), and serve every read by it
|
|
400
|
+
* and the ON DELETE CASCADE of a project. Another would cost every insert
|
|
401
|
+
* and every state change one more index write for nothing.
|
|
402
|
+
*/
|
|
403
|
+
,
|
|
398
404
|
(0, TableColumn_1.default)({
|
|
399
405
|
type: TableColumnType_1.default.ObjectID,
|
|
400
406
|
required: true,
|
|
@@ -1891,8 +1897,8 @@ __decorate([
|
|
|
1891
1897
|
required: false,
|
|
1892
1898
|
type: TableColumnType_1.default.EntityArray,
|
|
1893
1899
|
modelType: OnCallDutyPolicy_1.default,
|
|
1894
|
-
title: "On-Call
|
|
1895
|
-
description: "List of on-call
|
|
1900
|
+
title: "On-Call Policies",
|
|
1901
|
+
description: "List of on-call policies affected by this incident.",
|
|
1896
1902
|
}),
|
|
1897
1903
|
(0, typeorm_1.ManyToMany)(() => {
|
|
1898
1904
|
return OnCallDutyPolicy_1.default;
|
|
@@ -3917,6 +3923,16 @@ Incident = __decorate([
|
|
|
3917
3923
|
},
|
|
3918
3924
|
}),
|
|
3919
3925
|
(0, typeorm_1.Index)(["projectId", "currentIncidentStateId"]) // Active-incident counters on dashboard
|
|
3926
|
+
/*
|
|
3927
|
+
* The Incidents list, newest first - the order every read of incidents takes
|
|
3928
|
+
* when it asks for none (DatabaseService.getReadSort): the page's ids are
|
|
3929
|
+
* read in this index's order, ten at a time, instead of sorting every
|
|
3930
|
+
* incident of the project. It also serves every read by project and
|
|
3931
|
+
* the ON DELETE CASCADE of a project, which is why the column has no bare
|
|
3932
|
+
* index of its own.
|
|
3933
|
+
*/
|
|
3934
|
+
,
|
|
3935
|
+
(0, typeorm_1.Index)(["projectId", "createdAt"])
|
|
3920
3936
|
// The Postmortems list: its status chips and the count of each status.
|
|
3921
3937
|
,
|
|
3922
3938
|
(0, typeorm_1.Index)(["projectId", "postmortemStatusId"])
|
|
@@ -907,8 +907,8 @@ __decorate([
|
|
|
907
907
|
required: false,
|
|
908
908
|
type: TableColumnType_1.default.EntityArray,
|
|
909
909
|
modelType: OnCallDutyPolicy_1.default,
|
|
910
|
-
title: "On-Call
|
|
911
|
-
description: "List of on-call
|
|
910
|
+
title: "On-Call Policies",
|
|
911
|
+
description: "List of on-call policies to execute for this episode.",
|
|
912
912
|
}),
|
|
913
913
|
(0, typeorm_1.ManyToMany)(() => {
|
|
914
914
|
return OnCallDutyPolicy_1.default;
|
|
@@ -429,8 +429,8 @@ __decorate([
|
|
|
429
429
|
required: false,
|
|
430
430
|
type: TableColumnType_1.default.EntityArray,
|
|
431
431
|
modelType: OnCallDutyPolicy_1.default,
|
|
432
|
-
title: "On-Call
|
|
433
|
-
description: "On-call
|
|
432
|
+
title: "On-Call Policies",
|
|
433
|
+
description: "On-call policies to execute when an incident episode matches this rule.",
|
|
434
434
|
}),
|
|
435
435
|
(0, typeorm_1.ManyToMany)(() => {
|
|
436
436
|
return OnCallDutyPolicy_1.default;
|
|
@@ -604,7 +604,7 @@ IncidentEpisodeOnCallRule = __decorate([
|
|
|
604
604
|
singularName: "Incident Episode On-Call Rule",
|
|
605
605
|
pluralName: "Incident Episode On-Call Rules",
|
|
606
606
|
icon: IconProp_1.default.Call,
|
|
607
|
-
tableDescription: "Configure rules for automatically executing on-call
|
|
607
|
+
tableDescription: "Configure rules for automatically executing on-call policies when matching incident episodes are created",
|
|
608
608
|
})
|
|
609
609
|
], IncidentEpisodeOnCallRule);
|
|
610
610
|
exports.default = IncidentEpisodeOnCallRule;
|
|
@@ -47,6 +47,7 @@ export default class IncidentGroupingRule extends RuleBaseModel {
|
|
|
47
47
|
groupByIncidentTitle?: boolean;
|
|
48
48
|
groupByIncidentLabels?: boolean;
|
|
49
49
|
groupByMonitorLabels?: boolean;
|
|
50
|
+
groupByConnectedServices?: boolean;
|
|
50
51
|
enableTimeWindow?: boolean;
|
|
51
52
|
timeWindowMinutes?: number;
|
|
52
53
|
enableMinimumIncidentCount?: boolean;
|
|
@@ -47,6 +47,7 @@ export default class IncidentGroupingRule extends RuleBaseModel {
|
|
|
47
47
|
groupByIncidentTitle?: boolean;
|
|
48
48
|
groupByIncidentLabels?: boolean;
|
|
49
49
|
groupByMonitorLabels?: boolean;
|
|
50
|
+
groupByConnectedServices?: boolean;
|
|
50
51
|
enableTimeWindow?: boolean;
|
|
51
52
|
timeWindowMinutes?: number;
|
|
52
53
|
enableMinimumIncidentCount?: boolean;
|
|
@@ -63,6 +63,14 @@ let IncidentGroupingRule = class IncidentGroupingRule extends RuleBaseModel_1.de
|
|
|
63
63
|
this.groupByIncidentTitle = undefined;
|
|
64
64
|
this.groupByIncidentLabels = undefined;
|
|
65
65
|
this.groupByMonitorLabels = undefined;
|
|
66
|
+
/*
|
|
67
|
+
* Topology-aware grouping (issue #6798): an incident joins an open episode
|
|
68
|
+
* of the rule when one of its services - its own or its monitors' - is,
|
|
69
|
+
* calls or is called by a service of an incident already in it, on the
|
|
70
|
+
* Service Map (Common/Server/Utils/Topology/ConnectedServices). An
|
|
71
|
+
* incident on no service is grouped by its first monitor instead.
|
|
72
|
+
*/
|
|
73
|
+
this.groupByConnectedServices = undefined;
|
|
66
74
|
this.enableTimeWindow = undefined;
|
|
67
75
|
this.timeWindowMinutes = undefined;
|
|
68
76
|
/*
|
|
@@ -876,6 +884,44 @@ __decorate([
|
|
|
876
884
|
}),
|
|
877
885
|
__metadata("design:type", Boolean)
|
|
878
886
|
], IncidentGroupingRule.prototype, "groupByMonitorLabels", void 0);
|
|
887
|
+
__decorate([
|
|
888
|
+
(0, ColumnAccessControl_1.default)({
|
|
889
|
+
create: [
|
|
890
|
+
Permission_1.default.ProjectOwner,
|
|
891
|
+
Permission_1.default.ProjectAdmin,
|
|
892
|
+
Permission_1.default.CreateIncidentGroupingRule,
|
|
893
|
+
],
|
|
894
|
+
read: [
|
|
895
|
+
Permission_1.default.ProjectOwner,
|
|
896
|
+
Permission_1.default.ProjectAdmin,
|
|
897
|
+
Permission_1.default.ProjectMember,
|
|
898
|
+
Permission_1.default.Viewer,
|
|
899
|
+
Permission_1.default.IncidentAdmin,
|
|
900
|
+
Permission_1.default.IncidentMember,
|
|
901
|
+
Permission_1.default.IncidentViewer,
|
|
902
|
+
Permission_1.default.ReadIncidentGroupingRule,
|
|
903
|
+
],
|
|
904
|
+
update: [
|
|
905
|
+
Permission_1.default.ProjectOwner,
|
|
906
|
+
Permission_1.default.ProjectAdmin,
|
|
907
|
+
Permission_1.default.EditIncidentGroupingRule,
|
|
908
|
+
],
|
|
909
|
+
}),
|
|
910
|
+
(0, TableColumn_1.default)({
|
|
911
|
+
required: false,
|
|
912
|
+
type: TableColumnType_1.default.Boolean,
|
|
913
|
+
title: "Group By Connected Services",
|
|
914
|
+
description: "When enabled, incidents on services that call each other on the Service Map are grouped into the same episode, and incidents on unconnected services into separate ones. Incidents on no service are grouped by monitor.",
|
|
915
|
+
defaultValue: false,
|
|
916
|
+
isDefaultValueColumn: true,
|
|
917
|
+
}),
|
|
918
|
+
(0, typeorm_1.Column)({
|
|
919
|
+
type: ColumnType_1.default.Boolean,
|
|
920
|
+
nullable: false,
|
|
921
|
+
default: false,
|
|
922
|
+
}),
|
|
923
|
+
__metadata("design:type", Boolean)
|
|
924
|
+
], IncidentGroupingRule.prototype, "groupByConnectedServices", void 0);
|
|
879
925
|
__decorate([
|
|
880
926
|
(0, ColumnAccessControl_1.default)({
|
|
881
927
|
create: [
|
|
@@ -1388,8 +1434,8 @@ __decorate([
|
|
|
1388
1434
|
required: false,
|
|
1389
1435
|
type: TableColumnType_1.default.EntityArray,
|
|
1390
1436
|
modelType: OnCallDutyPolicy_1.default,
|
|
1391
|
-
title: "On-Call
|
|
1392
|
-
description: "List of on-call
|
|
1437
|
+
title: "On-Call Policies",
|
|
1438
|
+
description: "List of on-call policies to execute for episodes created by this rule.",
|
|
1393
1439
|
}),
|
|
1394
1440
|
(0, typeorm_1.ManyToMany)(() => {
|
|
1395
1441
|
return OnCallDutyPolicy_1.default;
|
|
@@ -599,8 +599,8 @@ __decorate([
|
|
|
599
599
|
required: false,
|
|
600
600
|
type: TableColumnType_1.default.EntityArray,
|
|
601
601
|
modelType: OnCallDutyPolicy_1.default,
|
|
602
|
-
title: "On-Call
|
|
603
|
-
description: "On-call
|
|
602
|
+
title: "On-Call Policies",
|
|
603
|
+
description: "On-call policies to execute when an incident matches this rule.",
|
|
604
604
|
}),
|
|
605
605
|
(0, typeorm_1.ManyToMany)(() => {
|
|
606
606
|
return OnCallDutyPolicy_1.default;
|
|
@@ -774,7 +774,7 @@ IncidentOnCallRule = __decorate([
|
|
|
774
774
|
singularName: "Incident On-Call Rule",
|
|
775
775
|
pluralName: "Incident On-Call Rules",
|
|
776
776
|
icon: IconProp_1.default.Call,
|
|
777
|
-
tableDescription: "Configure rules for automatically executing on-call
|
|
777
|
+
tableDescription: "Configure rules for automatically executing on-call policies when matching incidents are created",
|
|
778
778
|
})
|
|
779
779
|
], IncidentOnCallRule);
|
|
780
780
|
exports.default = IncidentOnCallRule;
|
|
@@ -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",
|
|
@@ -432,7 +432,7 @@ __decorate([
|
|
|
432
432
|
required: false,
|
|
433
433
|
type: TableColumnType_1.default.Number,
|
|
434
434
|
title: "Internal Note Reminder Interval (Minutes)",
|
|
435
|
-
description: "How often (in minutes) to automatically post internal notes to unresolved incidents.
|
|
435
|
+
description: "How often (in minutes) to automatically post internal notes to unresolved incidents. Only the people who can see an incident can read its internal notes. For example, set to 30 to remind your team every 30 minutes to provide an update. Leave empty to disable.",
|
|
436
436
|
canReadOnRelationQuery: true,
|
|
437
437
|
}),
|
|
438
438
|
(0, typeorm_1.Column)({
|
|
@@ -504,7 +504,7 @@ __decorate([
|
|
|
504
504
|
required: false,
|
|
505
505
|
type: TableColumnType_1.default.Markdown,
|
|
506
506
|
title: "Internal Note Reminder Template",
|
|
507
|
-
description: "The content of the automatic internal note posted
|
|
507
|
+
description: "The content of the automatic internal note posted on the incident. Use variables like {{incidentTitle}}, {{elapsedTime}}, {{slaStatus}}, {{timeToResolutionDeadline}} to include dynamic incident data. If left empty, a default template will be used.",
|
|
508
508
|
}),
|
|
509
509
|
(0, typeorm_1.Column)({
|
|
510
510
|
type: ColumnType_1.default.Markdown,
|
|
@@ -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;
|