@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
|
@@ -197,7 +197,7 @@ let SecurityEvent = class SecurityEvent extends AnalyticsBaseModel_1.default {
|
|
|
197
197
|
const primaryEntityIdColumn = new TableColumn_1.default({
|
|
198
198
|
key: "primaryEntityId",
|
|
199
199
|
title: "Source ID",
|
|
200
|
-
description: "ID of the resource the security event is attributed to (a
|
|
200
|
+
description: "ID of the resource the security event is attributed to (a service representing the security source, e.g. 'Google SecOps')",
|
|
201
201
|
required: true,
|
|
202
202
|
type: TableColumnType_1.default.ObjectID,
|
|
203
203
|
accessControl: defaultColumnAccessControl,
|
|
@@ -375,8 +375,8 @@ __decorate([
|
|
|
375
375
|
type: TableColumnType_1.default.ObjectID,
|
|
376
376
|
required: false,
|
|
377
377
|
canReadOnRelationQuery: true,
|
|
378
|
-
title: "
|
|
379
|
-
description: "ID of the
|
|
378
|
+
title: "Service ID",
|
|
379
|
+
description: "ID of the service this insight is about.",
|
|
380
380
|
}),
|
|
381
381
|
(0, typeorm_1.Column)({
|
|
382
382
|
type: ColumnType_1.default.ObjectID,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import AIRun from "./AIRun.mjs";
|
|
2
|
+
import Project from "./Project.mjs";
|
|
3
|
+
import BaseModel from "./DatabaseBaseModel/DatabaseBaseModel.mjs";
|
|
4
|
+
import ObjectID from "../../Types/ObjectID.mjs";
|
|
5
|
+
import { InvestigationRecording } from "../../Types/AI/InvestigationRecording.mjs";
|
|
6
|
+
export default class AIRunRecording extends BaseModel {
|
|
7
|
+
project?: Project;
|
|
8
|
+
projectId?: ObjectID;
|
|
9
|
+
aiRun?: AIRun;
|
|
10
|
+
aiRunId?: ObjectID;
|
|
11
|
+
recording?: InvestigationRecording;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import AIRun from "./AIRun";
|
|
2
|
+
import Project from "./Project";
|
|
3
|
+
import BaseModel from "./DatabaseBaseModel/DatabaseBaseModel";
|
|
4
|
+
import ObjectID from "../../Types/ObjectID";
|
|
5
|
+
import { InvestigationRecording } from "../../Types/AI/InvestigationRecording";
|
|
6
|
+
export default class AIRunRecording extends BaseModel {
|
|
7
|
+
project?: Project;
|
|
8
|
+
projectId?: ObjectID;
|
|
9
|
+
aiRun?: AIRun;
|
|
10
|
+
aiRunId?: ObjectID;
|
|
11
|
+
recording?: InvestigationRecording;
|
|
12
|
+
}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
const AIRun_1 = __importDefault(require("./AIRun"));
|
|
16
|
+
const Project_1 = __importDefault(require("./Project"));
|
|
17
|
+
const DatabaseBaseModel_1 = __importDefault(require("./DatabaseBaseModel/DatabaseBaseModel"));
|
|
18
|
+
const ColumnAccessControl_1 = __importDefault(require("../../Types/Database/AccessControl/ColumnAccessControl"));
|
|
19
|
+
const TableAccessControl_1 = __importDefault(require("../../Types/Database/AccessControl/TableAccessControl"));
|
|
20
|
+
const ColumnType_1 = __importDefault(require("../../Types/Database/ColumnType"));
|
|
21
|
+
const TableColumn_1 = __importDefault(require("../../Types/Database/TableColumn"));
|
|
22
|
+
const TableColumnType_1 = __importDefault(require("../../Types/Database/TableColumnType"));
|
|
23
|
+
const TableMetadata_1 = __importDefault(require("../../Types/Database/TableMetadata"));
|
|
24
|
+
const TenantColumn_1 = __importDefault(require("../../Types/Database/TenantColumn"));
|
|
25
|
+
const IconProp_1 = __importDefault(require("../../Types/Icon/IconProp"));
|
|
26
|
+
const ObjectID_1 = __importDefault(require("../../Types/ObjectID"));
|
|
27
|
+
const typeorm_1 = require("typeorm");
|
|
28
|
+
/*
|
|
29
|
+
* What an AI investigation saw (issue #6800): the context it started from
|
|
30
|
+
* and every tool call it made with the text it was handed back
|
|
31
|
+
* (Types/AI/InvestigationRecording), so the run can be replayed on the same
|
|
32
|
+
* data after a prompt or model change (Server/Utils/AI/Eval/
|
|
33
|
+
* ReplayInvestigation). One row per completed investigation run that kept
|
|
34
|
+
* one; deleted with its run, and after
|
|
35
|
+
* INVESTIGATION_RECORDING_RETENTION_IN_DAYS (AIRunRecordingService).
|
|
36
|
+
*
|
|
37
|
+
* The text holds telemetry the tools read as the system - more than a
|
|
38
|
+
* project member may read through the run's activity - so the table is
|
|
39
|
+
* written and read only by the server: no client can read or write a row,
|
|
40
|
+
* and it has no CRUD API.
|
|
41
|
+
*/
|
|
42
|
+
let AIRunRecording = class AIRunRecording extends DatabaseBaseModel_1.default {
|
|
43
|
+
constructor() {
|
|
44
|
+
super(...arguments);
|
|
45
|
+
this.project = undefined;
|
|
46
|
+
this.projectId = undefined;
|
|
47
|
+
this.aiRun = undefined;
|
|
48
|
+
this.aiRunId = undefined;
|
|
49
|
+
this.recording = undefined;
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, ColumnAccessControl_1.default)({
|
|
54
|
+
create: [],
|
|
55
|
+
read: [],
|
|
56
|
+
update: [],
|
|
57
|
+
}),
|
|
58
|
+
(0, TableColumn_1.default)({
|
|
59
|
+
manyToOneRelationColumn: "projectId",
|
|
60
|
+
type: TableColumnType_1.default.Entity,
|
|
61
|
+
modelType: Project_1.default,
|
|
62
|
+
title: "Project",
|
|
63
|
+
description: "Relation to Project Resource in which this object belongs",
|
|
64
|
+
}),
|
|
65
|
+
(0, typeorm_1.ManyToOne)(() => {
|
|
66
|
+
return Project_1.default;
|
|
67
|
+
}, {
|
|
68
|
+
eager: false,
|
|
69
|
+
nullable: true,
|
|
70
|
+
onDelete: "CASCADE",
|
|
71
|
+
orphanedRowAction: "nullify",
|
|
72
|
+
}),
|
|
73
|
+
(0, typeorm_1.JoinColumn)({ name: "projectId" }),
|
|
74
|
+
__metadata("design:type", Project_1.default)
|
|
75
|
+
], AIRunRecording.prototype, "project", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, ColumnAccessControl_1.default)({
|
|
78
|
+
create: [],
|
|
79
|
+
read: [],
|
|
80
|
+
update: [],
|
|
81
|
+
}),
|
|
82
|
+
(0, typeorm_1.Index)(),
|
|
83
|
+
(0, TableColumn_1.default)({
|
|
84
|
+
type: TableColumnType_1.default.ObjectID,
|
|
85
|
+
required: true,
|
|
86
|
+
canReadOnRelationQuery: true,
|
|
87
|
+
title: "Project ID",
|
|
88
|
+
description: "ID of your OneUptime Project in which this object belongs",
|
|
89
|
+
}),
|
|
90
|
+
(0, typeorm_1.Column)({
|
|
91
|
+
type: ColumnType_1.default.ObjectID,
|
|
92
|
+
nullable: false,
|
|
93
|
+
transformer: ObjectID_1.default.getDatabaseTransformer(),
|
|
94
|
+
}),
|
|
95
|
+
__metadata("design:type", ObjectID_1.default)
|
|
96
|
+
], AIRunRecording.prototype, "projectId", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, ColumnAccessControl_1.default)({
|
|
99
|
+
create: [],
|
|
100
|
+
read: [],
|
|
101
|
+
update: [],
|
|
102
|
+
}),
|
|
103
|
+
(0, TableColumn_1.default)({
|
|
104
|
+
type: TableColumnType_1.default.Entity,
|
|
105
|
+
required: true,
|
|
106
|
+
modelType: AIRun_1.default,
|
|
107
|
+
manyToOneRelationColumn: "aiRunId",
|
|
108
|
+
title: "AI Run",
|
|
109
|
+
description: "The investigation run this recording belongs to.",
|
|
110
|
+
}),
|
|
111
|
+
(0, typeorm_1.ManyToOne)(() => {
|
|
112
|
+
return AIRun_1.default;
|
|
113
|
+
}, {
|
|
114
|
+
cascade: false,
|
|
115
|
+
eager: false,
|
|
116
|
+
nullable: false,
|
|
117
|
+
onDelete: "CASCADE",
|
|
118
|
+
orphanedRowAction: "nullify",
|
|
119
|
+
}),
|
|
120
|
+
(0, typeorm_1.JoinColumn)({ name: "aiRunId" }),
|
|
121
|
+
__metadata("design:type", AIRun_1.default)
|
|
122
|
+
], AIRunRecording.prototype, "aiRun", void 0);
|
|
123
|
+
__decorate([
|
|
124
|
+
(0, ColumnAccessControl_1.default)({
|
|
125
|
+
create: [],
|
|
126
|
+
read: [],
|
|
127
|
+
update: [],
|
|
128
|
+
}),
|
|
129
|
+
(0, typeorm_1.Index)(),
|
|
130
|
+
(0, TableColumn_1.default)({
|
|
131
|
+
type: TableColumnType_1.default.ObjectID,
|
|
132
|
+
required: true,
|
|
133
|
+
canReadOnRelationQuery: true,
|
|
134
|
+
title: "AI Run ID",
|
|
135
|
+
description: "ID of the investigation run this recording belongs to.",
|
|
136
|
+
}),
|
|
137
|
+
(0, typeorm_1.Column)({
|
|
138
|
+
type: ColumnType_1.default.ObjectID,
|
|
139
|
+
nullable: false,
|
|
140
|
+
transformer: ObjectID_1.default.getDatabaseTransformer(),
|
|
141
|
+
}),
|
|
142
|
+
__metadata("design:type", ObjectID_1.default)
|
|
143
|
+
], AIRunRecording.prototype, "aiRunId", void 0);
|
|
144
|
+
__decorate([
|
|
145
|
+
(0, ColumnAccessControl_1.default)({
|
|
146
|
+
create: [],
|
|
147
|
+
read: [],
|
|
148
|
+
update: [],
|
|
149
|
+
}),
|
|
150
|
+
(0, TableColumn_1.default)({
|
|
151
|
+
required: true,
|
|
152
|
+
type: TableColumnType_1.default.JSON,
|
|
153
|
+
title: "Recording",
|
|
154
|
+
description: "The context the investigation started from, and every tool call it made with what it was handed back.",
|
|
155
|
+
}),
|
|
156
|
+
(0, typeorm_1.Column)({
|
|
157
|
+
nullable: false,
|
|
158
|
+
type: ColumnType_1.default.JSON,
|
|
159
|
+
}),
|
|
160
|
+
__metadata("design:type", Object)
|
|
161
|
+
], AIRunRecording.prototype, "recording", void 0);
|
|
162
|
+
AIRunRecording = __decorate([
|
|
163
|
+
(0, TenantColumn_1.default)("projectId"),
|
|
164
|
+
(0, TableAccessControl_1.default)({
|
|
165
|
+
create: [],
|
|
166
|
+
read: [],
|
|
167
|
+
delete: [],
|
|
168
|
+
update: [],
|
|
169
|
+
}),
|
|
170
|
+
(0, typeorm_1.Entity)({
|
|
171
|
+
name: "AIRunRecording",
|
|
172
|
+
}),
|
|
173
|
+
(0, TableMetadata_1.default)({
|
|
174
|
+
tableName: "AIRunRecording",
|
|
175
|
+
singularName: "AI Run Recording",
|
|
176
|
+
pluralName: "AI Run Recordings",
|
|
177
|
+
icon: IconProp_1.default.Bolt,
|
|
178
|
+
tableDescription: "Internal record of what an AI investigation saw, kept for a limited time so it can be run again on the same data after a prompt or model change.",
|
|
179
|
+
})
|
|
180
|
+
], AIRunRecording);
|
|
181
|
+
exports.default = AIRunRecording;
|
|
@@ -259,8 +259,14 @@ __decorate([
|
|
|
259
259
|
Permission_1.default.ReadAlert,
|
|
260
260
|
],
|
|
261
261
|
update: [],
|
|
262
|
-
})
|
|
263
|
-
|
|
262
|
+
})
|
|
263
|
+
/*
|
|
264
|
+
* No bare @Index() here on purpose: the composites on the class lead with
|
|
265
|
+
* this column ("projectId", "createdAt" first), and serve every read by it
|
|
266
|
+
* and the ON DELETE CASCADE of a project. Another would cost every insert
|
|
267
|
+
* and every state change one more index write for nothing.
|
|
268
|
+
*/
|
|
269
|
+
,
|
|
264
270
|
(0, TableColumn_1.default)({
|
|
265
271
|
type: TableColumnType_1.default.ObjectID,
|
|
266
272
|
required: true,
|
|
@@ -673,8 +679,8 @@ __decorate([
|
|
|
673
679
|
required: false,
|
|
674
680
|
type: TableColumnType_1.default.EntityArray,
|
|
675
681
|
modelType: OnCallDutyPolicy_1.default,
|
|
676
|
-
title: "On-Call
|
|
677
|
-
description: "List of on-call
|
|
682
|
+
title: "On-Call Policies",
|
|
683
|
+
description: "List of on-call policies affected by this alert.",
|
|
678
684
|
}),
|
|
679
685
|
(0, typeorm_1.ManyToMany)(() => {
|
|
680
686
|
return OnCallDutyPolicy_1.default;
|
|
@@ -2943,6 +2949,16 @@ Alert = __decorate([
|
|
|
2943
2949
|
},
|
|
2944
2950
|
}),
|
|
2945
2951
|
(0, typeorm_1.Index)(["projectId", "currentAlertStateId"]) // Active-alert counters on dashboard
|
|
2952
|
+
/*
|
|
2953
|
+
* The Alerts list, newest first - the order every read of alerts takes
|
|
2954
|
+
* when it asks for none (DatabaseService.getReadSort): the page's ids are
|
|
2955
|
+
* read in this index's order, ten at a time, instead of sorting every
|
|
2956
|
+
* alert of the project. It also serves every read by project and
|
|
2957
|
+
* the ON DELETE CASCADE of a project, which is why the column has no bare
|
|
2958
|
+
* index of its own.
|
|
2959
|
+
*/
|
|
2960
|
+
,
|
|
2961
|
+
(0, typeorm_1.Index)(["projectId", "createdAt"])
|
|
2946
2962
|
/*
|
|
2947
2963
|
* The alerts an investigation rule makes OneUptime AI wait on: a handful at
|
|
2948
2964
|
* any moment, so the index holds only them, and the rule-wait job's "wait
|
|
@@ -979,8 +979,8 @@ __decorate([
|
|
|
979
979
|
required: false,
|
|
980
980
|
type: TableColumnType_1.default.EntityArray,
|
|
981
981
|
modelType: OnCallDutyPolicy_1.default,
|
|
982
|
-
title: "On-Call
|
|
983
|
-
description: "List of on-call
|
|
982
|
+
title: "On-Call Policies",
|
|
983
|
+
description: "List of on-call policies to execute for this episode.",
|
|
984
984
|
}),
|
|
985
985
|
(0, typeorm_1.ManyToMany)(() => {
|
|
986
986
|
return OnCallDutyPolicy_1.default;
|
|
@@ -428,8 +428,8 @@ __decorate([
|
|
|
428
428
|
required: false,
|
|
429
429
|
type: TableColumnType_1.default.EntityArray,
|
|
430
430
|
modelType: OnCallDutyPolicy_1.default,
|
|
431
|
-
title: "On-Call
|
|
432
|
-
description: "On-call
|
|
431
|
+
title: "On-Call Policies",
|
|
432
|
+
description: "On-call policies to execute when an alert episode matches this rule.",
|
|
433
433
|
}),
|
|
434
434
|
(0, typeorm_1.ManyToMany)(() => {
|
|
435
435
|
return OnCallDutyPolicy_1.default;
|
|
@@ -603,7 +603,7 @@ AlertEpisodeOnCallRule = __decorate([
|
|
|
603
603
|
singularName: "Alert Episode On-Call Rule",
|
|
604
604
|
pluralName: "Alert Episode On-Call Rules",
|
|
605
605
|
icon: IconProp_1.default.Call,
|
|
606
|
-
tableDescription: "Configure rules for automatically executing on-call
|
|
606
|
+
tableDescription: "Configure rules for automatically executing on-call policies when matching alert episodes are created",
|
|
607
607
|
})
|
|
608
608
|
], AlertEpisodeOnCallRule);
|
|
609
609
|
exports.default = AlertEpisodeOnCallRule;
|
|
@@ -44,6 +44,7 @@ export default class AlertGroupingRule extends RuleBaseModel {
|
|
|
44
44
|
groupByAlertTitle?: boolean;
|
|
45
45
|
groupByAlertLabels?: boolean;
|
|
46
46
|
groupByMonitorLabels?: boolean;
|
|
47
|
+
groupByConnectedServices?: boolean;
|
|
47
48
|
enableTimeWindow?: boolean;
|
|
48
49
|
timeWindowMinutes?: number;
|
|
49
50
|
enableMinimumAlertCount?: boolean;
|
|
@@ -44,6 +44,7 @@ export default class AlertGroupingRule extends RuleBaseModel {
|
|
|
44
44
|
groupByAlertTitle?: boolean;
|
|
45
45
|
groupByAlertLabels?: boolean;
|
|
46
46
|
groupByMonitorLabels?: boolean;
|
|
47
|
+
groupByConnectedServices?: boolean;
|
|
47
48
|
enableTimeWindow?: boolean;
|
|
48
49
|
timeWindowMinutes?: number;
|
|
49
50
|
enableMinimumAlertCount?: boolean;
|
|
@@ -62,6 +62,14 @@ let AlertGroupingRule = class AlertGroupingRule extends RuleBaseModel_1.default
|
|
|
62
62
|
this.groupByAlertTitle = undefined;
|
|
63
63
|
this.groupByAlertLabels = undefined;
|
|
64
64
|
this.groupByMonitorLabels = undefined;
|
|
65
|
+
/*
|
|
66
|
+
* Topology-aware grouping (issue #6798): an alert joins an open episode of
|
|
67
|
+
* the rule when one of its services - its own or its monitor's - is, calls
|
|
68
|
+
* or is called by a service of an alert already in it, on the Service Map
|
|
69
|
+
* (Common/Server/Utils/Topology/ConnectedServices). An alert on no service
|
|
70
|
+
* is grouped by its monitor instead.
|
|
71
|
+
*/
|
|
72
|
+
this.groupByConnectedServices = undefined;
|
|
65
73
|
this.enableTimeWindow = undefined;
|
|
66
74
|
this.timeWindowMinutes = undefined;
|
|
67
75
|
/*
|
|
@@ -872,6 +880,44 @@ __decorate([
|
|
|
872
880
|
}),
|
|
873
881
|
__metadata("design:type", Boolean)
|
|
874
882
|
], AlertGroupingRule.prototype, "groupByMonitorLabels", void 0);
|
|
883
|
+
__decorate([
|
|
884
|
+
(0, ColumnAccessControl_1.default)({
|
|
885
|
+
create: [
|
|
886
|
+
Permission_1.default.ProjectOwner,
|
|
887
|
+
Permission_1.default.ProjectAdmin,
|
|
888
|
+
Permission_1.default.CreateAlertGroupingRule,
|
|
889
|
+
],
|
|
890
|
+
read: [
|
|
891
|
+
Permission_1.default.ProjectOwner,
|
|
892
|
+
Permission_1.default.ProjectAdmin,
|
|
893
|
+
Permission_1.default.ProjectMember,
|
|
894
|
+
Permission_1.default.Viewer,
|
|
895
|
+
Permission_1.default.AlertAdmin,
|
|
896
|
+
Permission_1.default.AlertMember,
|
|
897
|
+
Permission_1.default.AlertViewer,
|
|
898
|
+
Permission_1.default.ReadAlertGroupingRule,
|
|
899
|
+
],
|
|
900
|
+
update: [
|
|
901
|
+
Permission_1.default.ProjectOwner,
|
|
902
|
+
Permission_1.default.ProjectAdmin,
|
|
903
|
+
Permission_1.default.EditAlertGroupingRule,
|
|
904
|
+
],
|
|
905
|
+
}),
|
|
906
|
+
(0, TableColumn_1.default)({
|
|
907
|
+
required: false,
|
|
908
|
+
type: TableColumnType_1.default.Boolean,
|
|
909
|
+
title: "Group By Connected Services",
|
|
910
|
+
description: "When enabled, alerts on services that call each other on the Service Map are grouped into the same episode, and alerts on unconnected services into separate ones. Alerts on no service are grouped by monitor.",
|
|
911
|
+
defaultValue: false,
|
|
912
|
+
isDefaultValueColumn: true,
|
|
913
|
+
}),
|
|
914
|
+
(0, typeorm_1.Column)({
|
|
915
|
+
type: ColumnType_1.default.Boolean,
|
|
916
|
+
nullable: false,
|
|
917
|
+
default: false,
|
|
918
|
+
}),
|
|
919
|
+
__metadata("design:type", Boolean)
|
|
920
|
+
], AlertGroupingRule.prototype, "groupByConnectedServices", void 0);
|
|
875
921
|
__decorate([
|
|
876
922
|
(0, ColumnAccessControl_1.default)({
|
|
877
923
|
create: [
|
|
@@ -1384,8 +1430,8 @@ __decorate([
|
|
|
1384
1430
|
required: false,
|
|
1385
1431
|
type: TableColumnType_1.default.EntityArray,
|
|
1386
1432
|
modelType: OnCallDutyPolicy_1.default,
|
|
1387
|
-
title: "On-Call
|
|
1388
|
-
description: "List of on-call
|
|
1433
|
+
title: "On-Call Policies",
|
|
1434
|
+
description: "List of on-call policies to execute for episodes created by this rule.",
|
|
1389
1435
|
}),
|
|
1390
1436
|
(0, typeorm_1.ManyToMany)(() => {
|
|
1391
1437
|
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 alert matches this rule.",
|
|
604
604
|
}),
|
|
605
605
|
(0, typeorm_1.ManyToMany)(() => {
|
|
606
606
|
return OnCallDutyPolicy_1.default;
|
|
@@ -774,7 +774,7 @@ AlertOnCallRule = __decorate([
|
|
|
774
774
|
singularName: "Alert On-Call Rule",
|
|
775
775
|
pluralName: "Alert 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 alerts are created",
|
|
778
778
|
})
|
|
779
779
|
], AlertOnCallRule);
|
|
780
780
|
exports.default = AlertOnCallRule;
|
|
@@ -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 @@ AlertSeverity = __decorate([
|
|
|
716
725
|
singularName: "Alert Severity",
|
|
717
726
|
pluralName: "Alert Severities",
|
|
718
727
|
icon: IconProp_1.default.Alert,
|
|
719
|
-
tableDescription: "
|
|
728
|
+
tableDescription: "How much an alert matters. A new project starts with High and Low: rename them, recolor them or add your own.",
|
|
720
729
|
}),
|
|
721
730
|
(0, typeorm_1.Entity)({
|
|
722
731
|
name: "AlertSeverity",
|
|
@@ -735,7 +735,7 @@ AlertState = __decorate([
|
|
|
735
735
|
singularName: "Alert State",
|
|
736
736
|
pluralName: "Alert States",
|
|
737
737
|
icon: IconProp_1.default.ArrowCircleRight,
|
|
738
|
-
tableDescription: "
|
|
738
|
+
tableDescription: "Where an alert is in your response. A new project starts with Identified, Acknowledged and Resolved: rename them or add your own between them.",
|
|
739
739
|
}),
|
|
740
740
|
(0, typeorm_1.Entity)({
|
|
741
741
|
name: "AlertState",
|
|
@@ -741,8 +741,8 @@ __decorate([
|
|
|
741
741
|
manyToOneRelationColumn: "onCallDutyPolicyId",
|
|
742
742
|
type: TableColumnType_1.default.Entity,
|
|
743
743
|
modelType: OnCallDutyPolicy_1.default,
|
|
744
|
-
title: "On-Call
|
|
745
|
-
description: "On-Call
|
|
744
|
+
title: "On-Call Policy",
|
|
745
|
+
description: "On-Call Policy associated with this Call (if any)",
|
|
746
746
|
example: "b8c9d0e1-cdef-67f1-89ab-89abcdef0123",
|
|
747
747
|
}),
|
|
748
748
|
(0, typeorm_1.ManyToOne)(() => {
|
|
@@ -773,8 +773,8 @@ __decorate([
|
|
|
773
773
|
type: TableColumnType_1.default.ObjectID,
|
|
774
774
|
required: false,
|
|
775
775
|
canReadOnRelationQuery: true,
|
|
776
|
-
title: "On-Call
|
|
777
|
-
description: "ID of On-Call
|
|
776
|
+
title: "On-Call Policy ID",
|
|
777
|
+
description: "ID of On-Call Policy associated with this Call (if any)",
|
|
778
778
|
example: "b8c9d0e1-cdef-67f1-89ab-89abcdef0123",
|
|
779
779
|
}),
|
|
780
780
|
(0, typeorm_1.Column)({
|
|
@@ -800,8 +800,8 @@ __decorate([
|
|
|
800
800
|
manyToOneRelationColumn: "onCallDutyPolicyEscalationRuleId",
|
|
801
801
|
type: TableColumnType_1.default.Entity,
|
|
802
802
|
modelType: OnCallDutyPolicyEscalationRule_1.default,
|
|
803
|
-
title: "On-Call
|
|
804
|
-
description: "On-Call
|
|
803
|
+
title: "On-Call Policy Escalation Rule",
|
|
804
|
+
description: "On-Call Policy Escalation Rule associated with this Call (if any)",
|
|
805
805
|
example: "c9d0e1f2-def0-78f2-9abc-9abcdef01234",
|
|
806
806
|
}),
|
|
807
807
|
(0, typeorm_1.ManyToOne)(() => {
|
|
@@ -832,8 +832,8 @@ __decorate([
|
|
|
832
832
|
type: TableColumnType_1.default.ObjectID,
|
|
833
833
|
required: false,
|
|
834
834
|
canReadOnRelationQuery: true,
|
|
835
|
-
title: "On-Call
|
|
836
|
-
description: "ID of On-Call
|
|
835
|
+
title: "On-Call Policy Escalation Rule ID",
|
|
836
|
+
description: "ID of On-Call Policy Escalation Rule associated with this Call (if any)",
|
|
837
837
|
example: "c9d0e1f2-def0-78f2-9abc-9abcdef01234",
|
|
838
838
|
}),
|
|
839
839
|
(0, typeorm_1.Column)({
|
|
@@ -859,8 +859,8 @@ __decorate([
|
|
|
859
859
|
manyToOneRelationColumn: "onCallDutyPolicyScheduleId",
|
|
860
860
|
type: TableColumnType_1.default.Entity,
|
|
861
861
|
modelType: OnCallDutyPolicySchedule_1.default,
|
|
862
|
-
title: "On-Call
|
|
863
|
-
description: "On-Call
|
|
862
|
+
title: "On-Call Schedule",
|
|
863
|
+
description: "On-Call Schedule associated with this Call (if any)",
|
|
864
864
|
example: "d0e1f2a3-ef01-89f3-abcd-abcdef012345",
|
|
865
865
|
}),
|
|
866
866
|
(0, typeorm_1.ManyToOne)(() => {
|
|
@@ -891,8 +891,8 @@ __decorate([
|
|
|
891
891
|
type: TableColumnType_1.default.ObjectID,
|
|
892
892
|
required: false,
|
|
893
893
|
canReadOnRelationQuery: true,
|
|
894
|
-
title: "On-Call
|
|
895
|
-
description: "ID of On-Call
|
|
894
|
+
title: "On-Call Schedule ID",
|
|
895
|
+
description: "ID of On-Call Schedule associated with this Call (if any)",
|
|
896
896
|
example: "d0e1f2a3-ef01-89f3-abcd-abcdef012345",
|
|
897
897
|
}),
|
|
898
898
|
(0, typeorm_1.Column)({
|
|
@@ -1519,5 +1519,14 @@ DataStore = __decorate([
|
|
|
1519
1519
|
(0, typeorm_1.Index)(["projectId", "sensitivity"]),
|
|
1520
1520
|
(0, typeorm_1.Index)(["projectId", "kind"]),
|
|
1521
1521
|
(0, typeorm_1.Index)(["projectId", "isArchived"])
|
|
1522
|
+
/*
|
|
1523
|
+
* A probe asks for the stores whose tables it collects and whose content it
|
|
1524
|
+
* scans every five minutes (DataObservabilityProbeClaim,
|
|
1525
|
+
* DataSecurityProbeClaim): each a range of one of these, oldest first, that
|
|
1526
|
+
* stops at the claim's limit.
|
|
1527
|
+
*/
|
|
1528
|
+
,
|
|
1529
|
+
(0, typeorm_1.Index)(["scanProbeId", "nextTableHealthCollectionAt"]),
|
|
1530
|
+
(0, typeorm_1.Index)(["scanProbeId", "nextContentScanAt"])
|
|
1522
1531
|
], DataStore);
|
|
1523
1532
|
exports.default = DataStore;
|
|
@@ -52,6 +52,8 @@ export default class DatabaseBaseModel extends BaseEntity {
|
|
|
52
52
|
pluralName: string | null;
|
|
53
53
|
displayNameColumn: string | null;
|
|
54
54
|
formerSingularName: string | null;
|
|
55
|
+
apiSingularName: string | null;
|
|
56
|
+
apiPluralName: string | null;
|
|
55
57
|
enableRealtimeEventsOn: EnableRealtimeEventsOn | null;
|
|
56
58
|
isOperationalResource: boolean;
|
|
57
59
|
ownedThrough: OwnedThroughMetadata | null;
|
|
@@ -52,6 +52,8 @@ export default class DatabaseBaseModel extends BaseEntity {
|
|
|
52
52
|
pluralName: string | null;
|
|
53
53
|
displayNameColumn: string | null;
|
|
54
54
|
formerSingularName: string | null;
|
|
55
|
+
apiSingularName: string | null;
|
|
56
|
+
apiPluralName: string | null;
|
|
55
57
|
enableRealtimeEventsOn: EnableRealtimeEventsOn | null;
|
|
56
58
|
isOperationalResource: boolean;
|
|
57
59
|
ownedThrough: OwnedThroughMetadata | null;
|
|
@@ -270,8 +270,8 @@ __decorate([
|
|
|
270
270
|
required: true,
|
|
271
271
|
type: TableColumnType_1.default.ShortText,
|
|
272
272
|
allowedValues: Object.values(MailStatus_1.default),
|
|
273
|
-
title: "Status of the
|
|
274
|
-
description: "Status of the
|
|
273
|
+
title: "Status of the Email",
|
|
274
|
+
description: "Status of the email sent",
|
|
275
275
|
canReadOnRelationQuery: false,
|
|
276
276
|
example: "Success",
|
|
277
277
|
}),
|
|
@@ -770,8 +770,8 @@ __decorate([
|
|
|
770
770
|
manyToOneRelationColumn: "onCallDutyPolicyId",
|
|
771
771
|
type: TableColumnType_1.default.Entity,
|
|
772
772
|
modelType: OnCallDutyPolicy_1.default,
|
|
773
|
-
title: "On-Call
|
|
774
|
-
description: "On-Call
|
|
773
|
+
title: "On-Call Policy",
|
|
774
|
+
description: "On-Call Policy associated with this email (if any)",
|
|
775
775
|
example: "b8c9d0e1-cdef-67f1-89ab-89abcdef0123",
|
|
776
776
|
}),
|
|
777
777
|
(0, typeorm_1.ManyToOne)(() => {
|
|
@@ -802,8 +802,8 @@ __decorate([
|
|
|
802
802
|
type: TableColumnType_1.default.ObjectID,
|
|
803
803
|
required: false,
|
|
804
804
|
canReadOnRelationQuery: true,
|
|
805
|
-
title: "On-Call
|
|
806
|
-
description: "ID of On-Call
|
|
805
|
+
title: "On-Call Policy ID",
|
|
806
|
+
description: "ID of On-Call Policy associated with this email (if any)",
|
|
807
807
|
example: "b8c9d0e1-cdef-67f1-89ab-89abcdef0123",
|
|
808
808
|
}),
|
|
809
809
|
(0, typeorm_1.Column)({
|
|
@@ -829,8 +829,8 @@ __decorate([
|
|
|
829
829
|
manyToOneRelationColumn: "onCallDutyPolicyEscalationRuleId",
|
|
830
830
|
type: TableColumnType_1.default.Entity,
|
|
831
831
|
modelType: OnCallDutyPolicyEscalationRule_1.default,
|
|
832
|
-
title: "On-Call
|
|
833
|
-
description: "On-Call
|
|
832
|
+
title: "On-Call Policy Escalation Rule",
|
|
833
|
+
description: "On-Call Policy Escalation Rule associated with this email (if any)",
|
|
834
834
|
example: "c9d0e1f2-def0-78f2-9abc-9abcdef01234",
|
|
835
835
|
}),
|
|
836
836
|
(0, typeorm_1.ManyToOne)(() => {
|
|
@@ -861,8 +861,8 @@ __decorate([
|
|
|
861
861
|
type: TableColumnType_1.default.ObjectID,
|
|
862
862
|
required: false,
|
|
863
863
|
canReadOnRelationQuery: true,
|
|
864
|
-
title: "On-Call
|
|
865
|
-
description: "ID of On-Call
|
|
864
|
+
title: "On-Call Policy Escalation Rule ID",
|
|
865
|
+
description: "ID of On-Call Policy Escalation Rule associated with this email (if any)",
|
|
866
866
|
example: "c9d0e1f2-def0-78f2-9abc-9abcdef01234",
|
|
867
867
|
}),
|
|
868
868
|
(0, typeorm_1.Column)({
|
|
@@ -888,8 +888,8 @@ __decorate([
|
|
|
888
888
|
manyToOneRelationColumn: "onCallDutyPolicyScheduleId",
|
|
889
889
|
type: TableColumnType_1.default.Entity,
|
|
890
890
|
modelType: OnCallDutyPolicySchedule_1.default,
|
|
891
|
-
title: "On-Call
|
|
892
|
-
description: "On-Call
|
|
891
|
+
title: "On-Call Schedule",
|
|
892
|
+
description: "On-Call Schedule associated with this email (if any)",
|
|
893
893
|
example: "d0e1f2a3-ef01-89f3-abcd-abcdef012345",
|
|
894
894
|
}),
|
|
895
895
|
(0, typeorm_1.ManyToOne)(() => {
|
|
@@ -920,8 +920,8 @@ __decorate([
|
|
|
920
920
|
type: TableColumnType_1.default.ObjectID,
|
|
921
921
|
required: false,
|
|
922
922
|
canReadOnRelationQuery: true,
|
|
923
|
-
title: "On-Call
|
|
924
|
-
description: "ID of On-Call
|
|
923
|
+
title: "On-Call Schedule ID",
|
|
924
|
+
description: "ID of On-Call Schedule associated with this email (if any)",
|
|
925
925
|
example: "d0e1f2a3-ef01-89f3-abcd-abcdef012345",
|
|
926
926
|
}),
|
|
927
927
|
(0, typeorm_1.Column)({
|