@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
|
@@ -576,7 +576,7 @@ __decorate([
|
|
|
576
576
|
type: TableColumnType_1.default.EntityArray,
|
|
577
577
|
modelType: Host_1.default,
|
|
578
578
|
title: "Hosts",
|
|
579
|
-
description: "List of hosts to pre-populate on
|
|
579
|
+
description: "List of hosts to pre-populate on maintenance events created from this template.",
|
|
580
580
|
}),
|
|
581
581
|
(0, typeorm_1.ManyToMany)(() => {
|
|
582
582
|
return Host_1.default;
|
|
@@ -628,7 +628,7 @@ __decorate([
|
|
|
628
628
|
type: TableColumnType_1.default.EntityArray,
|
|
629
629
|
modelType: KubernetesCluster_1.default,
|
|
630
630
|
title: "Kubernetes Clusters",
|
|
631
|
-
description: "List of Kubernetes clusters to pre-populate on
|
|
631
|
+
description: "List of Kubernetes clusters to pre-populate on maintenance events created from this template.",
|
|
632
632
|
}),
|
|
633
633
|
(0, typeorm_1.ManyToMany)(() => {
|
|
634
634
|
return KubernetesCluster_1.default;
|
|
@@ -680,7 +680,7 @@ __decorate([
|
|
|
680
680
|
type: TableColumnType_1.default.EntityArray,
|
|
681
681
|
modelType: DockerHost_1.default,
|
|
682
682
|
title: "Docker Hosts",
|
|
683
|
-
description: "List of Docker hosts to pre-populate on
|
|
683
|
+
description: "List of Docker hosts to pre-populate on maintenance events created from this template.",
|
|
684
684
|
}),
|
|
685
685
|
(0, typeorm_1.ManyToMany)(() => {
|
|
686
686
|
return DockerHost_1.default;
|
|
@@ -732,7 +732,7 @@ __decorate([
|
|
|
732
732
|
type: TableColumnType_1.default.EntityArray,
|
|
733
733
|
modelType: PodmanHost_1.default,
|
|
734
734
|
title: "Podman Hosts",
|
|
735
|
-
description: "List of Podman hosts to pre-populate on
|
|
735
|
+
description: "List of Podman hosts to pre-populate on maintenance events created from this template.",
|
|
736
736
|
}),
|
|
737
737
|
(0, typeorm_1.ManyToMany)(() => {
|
|
738
738
|
return PodmanHost_1.default;
|
|
@@ -784,7 +784,7 @@ __decorate([
|
|
|
784
784
|
type: TableColumnType_1.default.EntityArray,
|
|
785
785
|
modelType: Service_1.default,
|
|
786
786
|
title: "Services",
|
|
787
|
-
description: "List of services to pre-populate on
|
|
787
|
+
description: "List of services to pre-populate on maintenance events created from this template.",
|
|
788
788
|
}),
|
|
789
789
|
(0, typeorm_1.ManyToMany)(() => {
|
|
790
790
|
return Service_1.default;
|
|
@@ -1361,7 +1361,7 @@ Service = __decorate([
|
|
|
1361
1361
|
singularName: "Service",
|
|
1362
1362
|
pluralName: "Services",
|
|
1363
1363
|
icon: IconProp_1.default.SquareStack,
|
|
1364
|
-
tableDescription: "
|
|
1364
|
+
tableDescription: "An application or microservice you run. OneUptime adds one the first time its telemetry arrives, named by its service.name, and brings its logs, traces, metrics, exceptions, incidents and owners together.",
|
|
1365
1365
|
}),
|
|
1366
1366
|
(0, typeorm_1.Entity)({
|
|
1367
1367
|
name: "Service",
|
|
@@ -728,8 +728,8 @@ __decorate([
|
|
|
728
728
|
required: false,
|
|
729
729
|
type: TableColumnType_1.default.EntityArray,
|
|
730
730
|
modelType: OnCallDutyPolicy_1.default,
|
|
731
|
-
title: "Alert On-Call
|
|
732
|
-
description: "On-call
|
|
731
|
+
title: "Alert On-Call Policies",
|
|
732
|
+
description: "On-call policies attached to alerts created by this burn rate rule. Incidents have their own list.",
|
|
733
733
|
}),
|
|
734
734
|
(0, typeorm_1.ManyToMany)(() => {
|
|
735
735
|
return OnCallDutyPolicy_1.default;
|
|
@@ -1139,8 +1139,8 @@ __decorate([
|
|
|
1139
1139
|
required: false,
|
|
1140
1140
|
type: TableColumnType_1.default.EntityArray,
|
|
1141
1141
|
modelType: OnCallDutyPolicy_1.default,
|
|
1142
|
-
title: "Incident On-Call
|
|
1143
|
-
description: "On-call
|
|
1142
|
+
title: "Incident On-Call Policies",
|
|
1143
|
+
description: "On-call policies attached to incidents declared by this burn rate rule.",
|
|
1144
1144
|
}),
|
|
1145
1145
|
(0, typeorm_1.ManyToMany)(() => {
|
|
1146
1146
|
return OnCallDutyPolicy_1.default;
|
|
@@ -641,8 +641,8 @@ __decorate([
|
|
|
641
641
|
required: false,
|
|
642
642
|
type: TableColumnType_1.default.EntityArray,
|
|
643
643
|
modelType: OnCallDutyPolicy_1.default,
|
|
644
|
-
title: "Alert On-Call
|
|
645
|
-
description: "On-call
|
|
644
|
+
title: "Alert On-Call Policies",
|
|
645
|
+
description: "On-call policies attached to alerts raised by this tier. Incidents have their own list.",
|
|
646
646
|
}),
|
|
647
647
|
(0, typeorm_1.ManyToMany)(() => {
|
|
648
648
|
return OnCallDutyPolicy_1.default;
|
|
@@ -1052,8 +1052,8 @@ __decorate([
|
|
|
1052
1052
|
required: false,
|
|
1053
1053
|
type: TableColumnType_1.default.EntityArray,
|
|
1054
1054
|
modelType: OnCallDutyPolicy_1.default,
|
|
1055
|
-
title: "Incident On-Call
|
|
1056
|
-
description: "On-call
|
|
1055
|
+
title: "Incident On-Call Policies",
|
|
1056
|
+
description: "On-call policies attached to incidents declared by this tier.",
|
|
1057
1057
|
}),
|
|
1058
1058
|
(0, typeorm_1.ManyToMany)(() => {
|
|
1059
1059
|
return OnCallDutyPolicy_1.default;
|
|
@@ -791,8 +791,8 @@ __decorate([
|
|
|
791
791
|
manyToOneRelationColumn: "onCallDutyPolicyId",
|
|
792
792
|
type: TableColumnType_1.default.Entity,
|
|
793
793
|
modelType: OnCallDutyPolicy_1.default,
|
|
794
|
-
title: "On-Call
|
|
795
|
-
description: "On-Call
|
|
794
|
+
title: "On-Call Policy",
|
|
795
|
+
description: "On-Call Policy associated with this SMS (if any)",
|
|
796
796
|
example: "b8c9d0e1-cdef-67f1-89ab-89abcdef0123",
|
|
797
797
|
}),
|
|
798
798
|
(0, typeorm_1.ManyToOne)(() => {
|
|
@@ -823,8 +823,8 @@ __decorate([
|
|
|
823
823
|
type: TableColumnType_1.default.ObjectID,
|
|
824
824
|
required: false,
|
|
825
825
|
canReadOnRelationQuery: true,
|
|
826
|
-
title: "On-Call
|
|
827
|
-
description: "ID of On-Call
|
|
826
|
+
title: "On-Call Policy ID",
|
|
827
|
+
description: "ID of On-Call Policy associated with this SMS (if any)",
|
|
828
828
|
example: "b8c9d0e1-cdef-67f1-89ab-89abcdef0123",
|
|
829
829
|
}),
|
|
830
830
|
(0, typeorm_1.Column)({
|
|
@@ -850,8 +850,8 @@ __decorate([
|
|
|
850
850
|
manyToOneRelationColumn: "onCallDutyPolicyEscalationRuleId",
|
|
851
851
|
type: TableColumnType_1.default.Entity,
|
|
852
852
|
modelType: OnCallDutyPolicyEscalationRule_1.default,
|
|
853
|
-
title: "On-Call
|
|
854
|
-
description: "On-Call
|
|
853
|
+
title: "On-Call Policy Escalation Rule",
|
|
854
|
+
description: "On-Call Policy Escalation Rule associated with this SMS (if any)",
|
|
855
855
|
example: "c9d0e1f2-def0-78f2-9abc-9abcdef01234",
|
|
856
856
|
}),
|
|
857
857
|
(0, typeorm_1.ManyToOne)(() => {
|
|
@@ -882,8 +882,8 @@ __decorate([
|
|
|
882
882
|
type: TableColumnType_1.default.ObjectID,
|
|
883
883
|
required: false,
|
|
884
884
|
canReadOnRelationQuery: true,
|
|
885
|
-
title: "On-Call
|
|
886
|
-
description: "ID of On-Call
|
|
885
|
+
title: "On-Call Policy Escalation Rule ID",
|
|
886
|
+
description: "ID of On-Call Policy Escalation Rule associated with this SMS (if any)",
|
|
887
887
|
example: "c9d0e1f2-def0-78f2-9abc-9abcdef01234",
|
|
888
888
|
}),
|
|
889
889
|
(0, typeorm_1.Column)({
|
|
@@ -909,8 +909,8 @@ __decorate([
|
|
|
909
909
|
manyToOneRelationColumn: "onCallDutyPolicyScheduleId",
|
|
910
910
|
type: TableColumnType_1.default.Entity,
|
|
911
911
|
modelType: OnCallDutyPolicySchedule_1.default,
|
|
912
|
-
title: "On-Call
|
|
913
|
-
description: "On-Call
|
|
912
|
+
title: "On-Call Schedule",
|
|
913
|
+
description: "On-Call Schedule associated with this SMS (if any)",
|
|
914
914
|
example: "d0e1f2a3-ef01-89f3-abcd-abcdef012345",
|
|
915
915
|
}),
|
|
916
916
|
(0, typeorm_1.ManyToOne)(() => {
|
|
@@ -941,8 +941,8 @@ __decorate([
|
|
|
941
941
|
type: TableColumnType_1.default.ObjectID,
|
|
942
942
|
required: false,
|
|
943
943
|
canReadOnRelationQuery: true,
|
|
944
|
-
title: "On-Call
|
|
945
|
-
description: "ID of On-Call
|
|
944
|
+
title: "On-Call Schedule ID",
|
|
945
|
+
description: "ID of On-Call Schedule associated with this SMS (if any)",
|
|
946
946
|
example: "d0e1f2a3-ef01-89f3-abcd-abcdef012345",
|
|
947
947
|
}),
|
|
948
948
|
(0, typeorm_1.Column)({
|
|
@@ -1681,8 +1681,8 @@ __decorate([
|
|
|
1681
1681
|
(0, TableColumn_1.default)({
|
|
1682
1682
|
isDefaultValueColumn: true,
|
|
1683
1683
|
type: TableColumnType_1.default.Boolean,
|
|
1684
|
-
title: "Show
|
|
1685
|
-
description: "Show
|
|
1684
|
+
title: "Show Maintenance Event Labels",
|
|
1685
|
+
description: "Show Maintenance Event Labels on Status Page?",
|
|
1686
1686
|
defaultValue: false,
|
|
1687
1687
|
}),
|
|
1688
1688
|
(0, typeorm_1.Column)({
|
|
@@ -1818,7 +1818,7 @@ __decorate([
|
|
|
1818
1818
|
isDefaultValueColumn: true,
|
|
1819
1819
|
type: TableColumnType_1.default.Boolean,
|
|
1820
1820
|
title: "Allow Subscribers to subscribe to event types",
|
|
1821
|
-
description: "Can subscribers choose which event type like Announcements, Incidents,
|
|
1821
|
+
description: "Can subscribers choose which event type like Announcements, Incidents, Maintenance Events to subscribe to?",
|
|
1822
1822
|
defaultValue: false,
|
|
1823
1823
|
}),
|
|
1824
1824
|
(0, typeorm_1.Column)({
|
|
@@ -3943,8 +3943,8 @@ __decorate([
|
|
|
3943
3943
|
(0, TableColumn_1.default)({
|
|
3944
3944
|
isDefaultValueColumn: true,
|
|
3945
3945
|
type: TableColumnType_1.default.Boolean,
|
|
3946
|
-
title: "Show
|
|
3947
|
-
description: "Show
|
|
3946
|
+
title: "Show Maintenance Events on Status Page",
|
|
3947
|
+
description: "Show Maintenance Events on Status Page?",
|
|
3948
3948
|
defaultValue: true,
|
|
3949
3949
|
}),
|
|
3950
3950
|
(0, typeorm_1.Column)({
|
|
@@ -1033,7 +1033,7 @@ __decorate([
|
|
|
1033
1033
|
isDefaultValueColumn: true,
|
|
1034
1034
|
type: TableColumnType_1.default.Boolean,
|
|
1035
1035
|
title: "Is Subscribed to All Event Types",
|
|
1036
|
-
description: "Is Subscriber Subscribed to All Event Types (like Incidents,
|
|
1036
|
+
description: "Is Subscriber Subscribed to All Event Types (like Incidents, Maintenance Events, Announcements) on this status page?",
|
|
1037
1037
|
defaultValue: true,
|
|
1038
1038
|
}),
|
|
1039
1039
|
(0, typeorm_1.Column)({
|
|
@@ -1129,7 +1129,7 @@ __decorate([
|
|
|
1129
1129
|
required: false,
|
|
1130
1130
|
type: TableColumnType_1.default.JSON,
|
|
1131
1131
|
title: "Subscribed to Event Types",
|
|
1132
|
-
description: "Which event types is the subscriber subscribed to (like Incidents,
|
|
1132
|
+
description: "Which event types is the subscriber subscribed to (like Incidents, Maintenance Events, Announcements)",
|
|
1133
1133
|
}),
|
|
1134
1134
|
(0, typeorm_1.Column)({
|
|
1135
1135
|
type: ColumnType_1.default.JSON,
|
|
@@ -487,7 +487,16 @@ TeamMember = __decorate([
|
|
|
487
487
|
(0, CrudApiEndpoint_1.default)(new Route_1.default("/team-member")),
|
|
488
488
|
(0, typeorm_1.Entity)({
|
|
489
489
|
name: "TeamMember",
|
|
490
|
-
})
|
|
490
|
+
})
|
|
491
|
+
/*
|
|
492
|
+
* A person's memberships, by person and project. Every sign-in reads all of
|
|
493
|
+
* them (AccessTokenService.refreshUserAllPermissions), every request in a
|
|
494
|
+
* project reads theirs in it (getTeamIdsForUser, a permission set rebuilt),
|
|
495
|
+
* and the dashboard's header counts their pending invitations on every
|
|
496
|
+
* page. Without it each of those read the whole table.
|
|
497
|
+
*/
|
|
498
|
+
,
|
|
499
|
+
(0, typeorm_1.Index)(["userId", "projectId"]),
|
|
491
500
|
(0, EnableWorkflow_1.default)({
|
|
492
501
|
create: true,
|
|
493
502
|
delete: true,
|
|
@@ -796,8 +796,8 @@ __decorate([
|
|
|
796
796
|
manyToOneRelationColumn: "onCallDutyPolicyId",
|
|
797
797
|
type: TableColumnType_1.default.Entity,
|
|
798
798
|
modelType: OnCallDutyPolicy_1.default,
|
|
799
|
-
title: "On-Call
|
|
800
|
-
description: "On-Call
|
|
799
|
+
title: "On-Call Policy",
|
|
800
|
+
description: "On-Call Policy associated with this message (if any)",
|
|
801
801
|
}),
|
|
802
802
|
(0, typeorm_1.ManyToOne)(() => {
|
|
803
803
|
return OnCallDutyPolicy_1.default;
|
|
@@ -827,8 +827,8 @@ __decorate([
|
|
|
827
827
|
type: TableColumnType_1.default.ObjectID,
|
|
828
828
|
required: false,
|
|
829
829
|
canReadOnRelationQuery: true,
|
|
830
|
-
title: "On-Call
|
|
831
|
-
description: "ID of On-Call
|
|
830
|
+
title: "On-Call Policy ID",
|
|
831
|
+
description: "ID of On-Call Policy associated with this message (if any)",
|
|
832
832
|
}),
|
|
833
833
|
(0, typeorm_1.Column)({
|
|
834
834
|
type: ColumnType_1.default.ObjectID,
|
|
@@ -853,8 +853,8 @@ __decorate([
|
|
|
853
853
|
manyToOneRelationColumn: "onCallDutyPolicyEscalationRuleId",
|
|
854
854
|
type: TableColumnType_1.default.Entity,
|
|
855
855
|
modelType: OnCallDutyPolicyEscalationRule_1.default,
|
|
856
|
-
title: "On-Call
|
|
857
|
-
description: "On-Call
|
|
856
|
+
title: "On-Call Policy Escalation Rule",
|
|
857
|
+
description: "On-Call Policy Escalation Rule associated with this message (if any)",
|
|
858
858
|
}),
|
|
859
859
|
(0, typeorm_1.ManyToOne)(() => {
|
|
860
860
|
return OnCallDutyPolicyEscalationRule_1.default;
|
|
@@ -884,8 +884,8 @@ __decorate([
|
|
|
884
884
|
type: TableColumnType_1.default.ObjectID,
|
|
885
885
|
required: false,
|
|
886
886
|
canReadOnRelationQuery: true,
|
|
887
|
-
title: "On-Call
|
|
888
|
-
description: "ID of On-Call
|
|
887
|
+
title: "On-Call Policy Escalation Rule ID",
|
|
888
|
+
description: "ID of On-Call Policy Escalation Rule associated with this message (if any)",
|
|
889
889
|
}),
|
|
890
890
|
(0, typeorm_1.Column)({
|
|
891
891
|
type: ColumnType_1.default.ObjectID,
|
|
@@ -910,8 +910,8 @@ __decorate([
|
|
|
910
910
|
manyToOneRelationColumn: "onCallDutyPolicyScheduleId",
|
|
911
911
|
type: TableColumnType_1.default.Entity,
|
|
912
912
|
modelType: OnCallDutyPolicySchedule_1.default,
|
|
913
|
-
title: "On-Call
|
|
914
|
-
description: "On-Call
|
|
913
|
+
title: "On-Call Schedule",
|
|
914
|
+
description: "On-Call Schedule associated with this message (if any)",
|
|
915
915
|
}),
|
|
916
916
|
(0, typeorm_1.ManyToOne)(() => {
|
|
917
917
|
return OnCallDutyPolicySchedule_1.default;
|
|
@@ -941,8 +941,8 @@ __decorate([
|
|
|
941
941
|
type: TableColumnType_1.default.ObjectID,
|
|
942
942
|
required: false,
|
|
943
943
|
canReadOnRelationQuery: true,
|
|
944
|
-
title: "On-Call
|
|
945
|
-
description: "ID of On-Call
|
|
944
|
+
title: "On-Call Schedule ID",
|
|
945
|
+
description: "ID of On-Call Schedule associated with this message (if any)",
|
|
946
946
|
}),
|
|
947
947
|
(0, typeorm_1.Column)({
|
|
948
948
|
type: ColumnType_1.default.ObjectID,
|
|
@@ -390,8 +390,8 @@ __decorate([
|
|
|
390
390
|
type: TableColumnType_1.default.ObjectID,
|
|
391
391
|
isDefaultValueColumn: false,
|
|
392
392
|
computed: true,
|
|
393
|
-
title: "
|
|
394
|
-
description: "Secret
|
|
393
|
+
title: "Ingestion Key",
|
|
394
|
+
description: "Secret ingestion key",
|
|
395
395
|
example: "c3d4e5f6-a7b8-9012-cdef-123456789012",
|
|
396
396
|
}),
|
|
397
397
|
(0, typeorm_1.Column)({
|
|
@@ -807,10 +807,13 @@ TelemetryIngestionKey = __decorate([
|
|
|
807
807
|
}),
|
|
808
808
|
(0, TableMetadata_1.default)({
|
|
809
809
|
tableName: "TelemetryIngestionKey",
|
|
810
|
-
singularName: "
|
|
811
|
-
pluralName: "
|
|
810
|
+
singularName: "Ingestion Key",
|
|
811
|
+
pluralName: "Ingestion Keys",
|
|
812
|
+
// Was "Telemetry Ingestion Key" (#6817): oneuptime_telemetry_ingestion_key stays.
|
|
813
|
+
apiSingularName: "Telemetry Ingestion Key",
|
|
814
|
+
apiPluralName: "Telemetry Ingestion Keys",
|
|
812
815
|
icon: IconProp_1.default.Code,
|
|
813
|
-
tableDescription: "Manage
|
|
816
|
+
tableDescription: "Manage ingestion keys for your project",
|
|
814
817
|
})
|
|
815
818
|
], TelemetryIngestionKey);
|
|
816
819
|
exports.default = TelemetryIngestionKey;
|
|
@@ -111,7 +111,7 @@ __decorate([
|
|
|
111
111
|
manyToOneRelationColumn: "telemetryIngestionKeyId",
|
|
112
112
|
type: TableColumnType_1.default.Entity,
|
|
113
113
|
modelType: TelemetryIngestionKey_1.default,
|
|
114
|
-
title: "
|
|
114
|
+
title: "Ingestion Key",
|
|
115
115
|
description: "The ingestion key the refused telemetry was sent with.",
|
|
116
116
|
}),
|
|
117
117
|
(0, typeorm_1.ManyToOne)(() => {
|
|
@@ -132,7 +132,7 @@ __decorate([
|
|
|
132
132
|
type: TableColumnType_1.default.ObjectID,
|
|
133
133
|
required: true,
|
|
134
134
|
canReadOnRelationQuery: true,
|
|
135
|
-
title: "
|
|
135
|
+
title: "Ingestion Key ID",
|
|
136
136
|
description: "ID of the ingestion key the refused telemetry was sent with.",
|
|
137
137
|
}),
|
|
138
138
|
(0, typeorm_1.Column)({
|
|
@@ -282,8 +282,11 @@ TelemetryIngestionKeyRefusal = __decorate([
|
|
|
282
282
|
(0, CrudApiEndpoint_1.default)(new Route_1.default("/telemetry-ingestion-key-refusal")),
|
|
283
283
|
(0, TableMetadata_1.default)({
|
|
284
284
|
tableName: "TelemetryIngestionKeyRefusal",
|
|
285
|
-
singularName: "
|
|
286
|
-
pluralName: "
|
|
285
|
+
singularName: "Ingestion Key Refusal",
|
|
286
|
+
pluralName: "Ingestion Key Refusals",
|
|
287
|
+
// Was "Telemetry Ingestion Key Refusal" (#6817): its CLI name stays.
|
|
288
|
+
apiSingularName: "Telemetry Ingestion Key Refusal",
|
|
289
|
+
apiPluralName: "Telemetry Ingestion Key Refusals",
|
|
287
290
|
icon: IconProp_1.default.Code,
|
|
288
291
|
tableDescription: "Telemetry the ingest endpoints refused, counted per ingestion key, reason and ingest surface: how many requests, and when the first and the latest were refused. Written by the ingest endpoints; not user-editable.",
|
|
289
292
|
}),
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import File from "./File.mjs";
|
|
2
|
+
import Project from "./Project.mjs";
|
|
2
3
|
import UserModel from "./DatabaseBaseModel/UserModel.mjs";
|
|
3
4
|
import CompanySize from "../../Types/Company/CompanySize.mjs";
|
|
4
5
|
import JobRole from "../../Types/Company/JobRole.mjs";
|
|
@@ -65,6 +66,9 @@ declare class User extends UserModel {
|
|
|
65
66
|
deletedByUserId?: ObjectID;
|
|
66
67
|
enableTwoFactorAuth?: boolean;
|
|
67
68
|
disableFeedbackQuestions?: boolean;
|
|
69
|
+
disableDashboardRecording?: boolean;
|
|
68
70
|
feedbackQuestionsAsked?: JSONObject;
|
|
71
|
+
sampleProject?: Project;
|
|
72
|
+
sampleProjectId?: ObjectID;
|
|
69
73
|
}
|
|
70
74
|
export default User;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import File from "./File";
|
|
2
|
+
import Project from "./Project";
|
|
2
3
|
import UserModel from "../../Models/DatabaseModels/DatabaseBaseModel/UserModel";
|
|
3
4
|
import CompanySize from "../../Types/Company/CompanySize";
|
|
4
5
|
import JobRole from "../../Types/Company/JobRole";
|
|
@@ -65,6 +66,9 @@ declare class User extends UserModel {
|
|
|
65
66
|
deletedByUserId?: ObjectID;
|
|
66
67
|
enableTwoFactorAuth?: boolean;
|
|
67
68
|
disableFeedbackQuestions?: boolean;
|
|
69
|
+
disableDashboardRecording?: boolean;
|
|
68
70
|
feedbackQuestionsAsked?: JSONObject;
|
|
71
|
+
sampleProject?: Project;
|
|
72
|
+
sampleProjectId?: ObjectID;
|
|
69
73
|
}
|
|
70
74
|
export default User;
|
|
@@ -13,6 +13,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
const File_1 = __importDefault(require("./File"));
|
|
16
|
+
const Project_1 = __importDefault(require("./Project"));
|
|
16
17
|
const UserModel_1 = __importDefault(require("../../Models/DatabaseModels/DatabaseBaseModel/UserModel"));
|
|
17
18
|
const Route_1 = __importDefault(require("../../Types/API/Route"));
|
|
18
19
|
const CompanySize_1 = __importDefault(require("../../Types/Company/CompanySize"));
|
|
@@ -157,6 +158,15 @@ let User = class User extends UserModel_1.default {
|
|
|
157
158
|
* person opens it.
|
|
158
159
|
*/
|
|
159
160
|
this.disableFeedbackQuestions = undefined;
|
|
161
|
+
/*
|
|
162
|
+
* "Record how I use the setup pages" (issue #6834), on while this is
|
|
163
|
+
* false: on OneUptime Cloud, and only once the person pressed "Accept
|
|
164
|
+
* all", OneUptime may record their use of the Dashboard's first-run
|
|
165
|
+
* pages, with everything typed or stored masked. Their own to switch off,
|
|
166
|
+
* on User Profile beside the feedback questions. A self-hosted server
|
|
167
|
+
* never records anybody, whatever this says.
|
|
168
|
+
*/
|
|
169
|
+
this.disableDashboardRecording = undefined;
|
|
160
170
|
/*
|
|
161
171
|
* The questions OneUptime asked this person, and when: question key
|
|
162
172
|
* (`setup_flow:website_down`, `check_in:<project id>`) to an ISO date
|
|
@@ -165,6 +175,28 @@ let User = class User extends UserModel_1.default {
|
|
|
165
175
|
* (ProductFeedbackService, as root), when it asks.
|
|
166
176
|
*/
|
|
167
177
|
this.feedbackQuestionsAsked = undefined;
|
|
178
|
+
/*
|
|
179
|
+
* The sample project this person was made up for (issue #6808): one of
|
|
180
|
+
* the "sample people" who staff its on-call policy and own its
|
|
181
|
+
* incidents. Not a real person, and never one:
|
|
182
|
+
*
|
|
183
|
+
* - they can never sign in: blocked, with no password and an address
|
|
184
|
+
* on the reserved .invalid domain (SamplePeople), which every
|
|
185
|
+
* sign-in path and MailService refuse;
|
|
186
|
+
* - they are members of their sample project only, written without
|
|
187
|
+
* hooks, so no invitation, notification method or rule is made for
|
|
188
|
+
* them, and TeamMemberService refuses them in any other project;
|
|
189
|
+
* - they are left out of every count of people on the server: the
|
|
190
|
+
* license's seats, its user-count report and the self-hosted
|
|
191
|
+
* marketplace's user-hours;
|
|
192
|
+
* - the database deletes them with the project (ON DELETE CASCADE),
|
|
193
|
+
* whatever deletes it.
|
|
194
|
+
*
|
|
195
|
+
* Null for everyone real. Written by OneUptime only, as root, when the
|
|
196
|
+
* sample is made (SampleProjectService), and never read through the API.
|
|
197
|
+
*/
|
|
198
|
+
this.sampleProject = undefined;
|
|
199
|
+
this.sampleProjectId = undefined;
|
|
168
200
|
}
|
|
169
201
|
};
|
|
170
202
|
__decorate([
|
|
@@ -1160,6 +1192,25 @@ __decorate([
|
|
|
1160
1192
|
}),
|
|
1161
1193
|
__metadata("design:type", Boolean)
|
|
1162
1194
|
], User.prototype, "disableFeedbackQuestions", void 0);
|
|
1195
|
+
__decorate([
|
|
1196
|
+
(0, ColumnAccessControl_1.default)({
|
|
1197
|
+
create: [],
|
|
1198
|
+
read: [Permission_1.default.CurrentUser],
|
|
1199
|
+
update: [Permission_1.default.CurrentUser],
|
|
1200
|
+
}),
|
|
1201
|
+
(0, TableColumn_1.default)({
|
|
1202
|
+
title: "Disable Dashboard Recording",
|
|
1203
|
+
description: "When true, OneUptime never records how this person uses the dashboard. Recording happens only on OneUptime Cloud, only for people who accepted analytics, and only on the setup pages, with what they type or store masked.",
|
|
1204
|
+
type: TableColumnType_1.default.Boolean,
|
|
1205
|
+
defaultValue: false,
|
|
1206
|
+
}),
|
|
1207
|
+
(0, typeorm_1.Column)({
|
|
1208
|
+
type: ColumnType_1.default.Boolean,
|
|
1209
|
+
nullable: true,
|
|
1210
|
+
default: false,
|
|
1211
|
+
}),
|
|
1212
|
+
__metadata("design:type", Boolean)
|
|
1213
|
+
], User.prototype, "disableDashboardRecording", void 0);
|
|
1163
1214
|
__decorate([
|
|
1164
1215
|
(0, ColumnAccessControl_1.default)({
|
|
1165
1216
|
create: [],
|
|
@@ -1177,6 +1228,55 @@ __decorate([
|
|
|
1177
1228
|
}),
|
|
1178
1229
|
__metadata("design:type", Object)
|
|
1179
1230
|
], User.prototype, "feedbackQuestionsAsked", void 0);
|
|
1231
|
+
__decorate([
|
|
1232
|
+
(0, ColumnAccessControl_1.default)({
|
|
1233
|
+
create: [],
|
|
1234
|
+
read: [],
|
|
1235
|
+
update: [],
|
|
1236
|
+
}),
|
|
1237
|
+
(0, TableColumn_1.default)({
|
|
1238
|
+
manyToOneRelationColumn: "sampleProjectId",
|
|
1239
|
+
type: TableColumnType_1.default.Entity,
|
|
1240
|
+
// Lazy: Project imports User back (see modelTypeThunk).
|
|
1241
|
+
modelTypeThunk: () => {
|
|
1242
|
+
return Project_1.default;
|
|
1243
|
+
},
|
|
1244
|
+
title: "Sample Project",
|
|
1245
|
+
description: "The sample project this made-up person belongs to. Set only for the sample people of a sample project.",
|
|
1246
|
+
hideColumnInDocumentation: true,
|
|
1247
|
+
}),
|
|
1248
|
+
(0, typeorm_1.ManyToOne)(() => {
|
|
1249
|
+
return Project_1.default;
|
|
1250
|
+
}, {
|
|
1251
|
+
eager: false,
|
|
1252
|
+
nullable: true,
|
|
1253
|
+
onDelete: "CASCADE",
|
|
1254
|
+
orphanedRowAction: "delete",
|
|
1255
|
+
}),
|
|
1256
|
+
(0, typeorm_1.JoinColumn)({ name: "sampleProjectId" }),
|
|
1257
|
+
__metadata("design:type", Project_1.default)
|
|
1258
|
+
], User.prototype, "sampleProject", void 0);
|
|
1259
|
+
__decorate([
|
|
1260
|
+
(0, ColumnAccessControl_1.default)({
|
|
1261
|
+
create: [],
|
|
1262
|
+
read: [],
|
|
1263
|
+
update: [],
|
|
1264
|
+
}),
|
|
1265
|
+
(0, typeorm_1.Index)(),
|
|
1266
|
+
(0, TableColumn_1.default)({
|
|
1267
|
+
type: TableColumnType_1.default.ObjectID,
|
|
1268
|
+
title: "Sample Project ID",
|
|
1269
|
+
description: "ID of the sample project this made-up person belongs to. Set only for the sample people of a sample project.",
|
|
1270
|
+
hideColumnInDocumentation: true,
|
|
1271
|
+
example: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
1272
|
+
}),
|
|
1273
|
+
(0, typeorm_1.Column)({
|
|
1274
|
+
type: ColumnType_1.default.ObjectID,
|
|
1275
|
+
nullable: true,
|
|
1276
|
+
transformer: ObjectID_1.default.getDatabaseTransformer(),
|
|
1277
|
+
}),
|
|
1278
|
+
__metadata("design:type", ObjectID_1.default)
|
|
1279
|
+
], User.prototype, "sampleProjectId", void 0);
|
|
1180
1280
|
User = __decorate([
|
|
1181
1281
|
(0, EnableDocumentation_1.default)({
|
|
1182
1282
|
isMasterAdminApiDocs: true,
|
|
@@ -387,7 +387,7 @@ __decorate([
|
|
|
387
387
|
type: TableColumnType_1.default.Entity,
|
|
388
388
|
modelType: Incident_1.default,
|
|
389
389
|
title: "Triggered By Incident",
|
|
390
|
-
description: "Relation to Incident which triggered this on-call
|
|
390
|
+
description: "Relation to Incident which triggered this on-call policy.",
|
|
391
391
|
}),
|
|
392
392
|
(0, typeorm_1.ManyToOne)(() => {
|
|
393
393
|
return Incident_1.default;
|
|
@@ -438,7 +438,7 @@ __decorate([
|
|
|
438
438
|
type: TableColumnType_1.default.Entity,
|
|
439
439
|
modelType: Alert_1.default,
|
|
440
440
|
title: "Triggered By Alert",
|
|
441
|
-
description: "Relation to Alert which triggered this on-call
|
|
441
|
+
description: "Relation to Alert which triggered this on-call policy.",
|
|
442
442
|
}),
|
|
443
443
|
(0, typeorm_1.ManyToOne)(() => {
|
|
444
444
|
return Alert_1.default;
|
|
@@ -489,7 +489,7 @@ __decorate([
|
|
|
489
489
|
type: TableColumnType_1.default.Entity,
|
|
490
490
|
modelType: AlertEpisode_1.default,
|
|
491
491
|
title: "Triggered By Alert Episode",
|
|
492
|
-
description: "Relation to Alert Episode which triggered this on-call
|
|
492
|
+
description: "Relation to Alert Episode which triggered this on-call policy.",
|
|
493
493
|
}),
|
|
494
494
|
(0, typeorm_1.ManyToOne)(() => {
|
|
495
495
|
return AlertEpisode_1.default;
|
|
@@ -540,7 +540,7 @@ __decorate([
|
|
|
540
540
|
type: TableColumnType_1.default.Entity,
|
|
541
541
|
modelType: IncidentEpisode_1.default,
|
|
542
542
|
title: "Triggered By Incident Episode",
|
|
543
|
-
description: "Relation to Incident Episode which triggered this on-call
|
|
543
|
+
description: "Relation to Incident Episode which triggered this on-call policy.",
|
|
544
544
|
}),
|
|
545
545
|
(0, typeorm_1.ManyToOne)(() => {
|
|
546
546
|
return IncidentEpisode_1.default;
|
|
@@ -871,7 +871,7 @@ __decorate([
|
|
|
871
871
|
manyToOneRelationColumn: "onCallDutyScheduleId",
|
|
872
872
|
type: TableColumnType_1.default.Entity,
|
|
873
873
|
modelType: OnCallDutyPolicySchedule_1.default,
|
|
874
|
-
title: "On
|
|
874
|
+
title: "On-Call Schedule",
|
|
875
875
|
description: "Which schedule did the user belong to when the alert was sent?",
|
|
876
876
|
}),
|
|
877
877
|
(0, typeorm_1.ManyToOne)(() => {
|
|
@@ -893,7 +893,7 @@ __decorate([
|
|
|
893
893
|
}),
|
|
894
894
|
(0, TableColumn_1.default)({
|
|
895
895
|
type: TableColumnType_1.default.ObjectID,
|
|
896
|
-
title: "On
|
|
896
|
+
title: "On-Call Schedule ID",
|
|
897
897
|
description: "Which schedule ID did the user belong to when the alert was sent?",
|
|
898
898
|
example: "5e6f7a8b-9c0d-1e2f-3a4b-5c6d7e8f9a0b",
|
|
899
899
|
}),
|
|
@@ -345,7 +345,7 @@ __decorate([
|
|
|
345
345
|
type: TableColumnType_1.default.Entity,
|
|
346
346
|
modelType: OnCallDutyPolicy_1.default,
|
|
347
347
|
title: "OnCallDutyPolicy",
|
|
348
|
-
description: "Relation to on-call
|
|
348
|
+
description: "Relation to the on-call policy this object belongs to",
|
|
349
349
|
}),
|
|
350
350
|
(0, typeorm_1.ManyToOne)(() => {
|
|
351
351
|
return OnCallDutyPolicy_1.default;
|
|
@@ -368,8 +368,8 @@ __decorate([
|
|
|
368
368
|
(0, TableColumn_1.default)({
|
|
369
369
|
type: TableColumnType_1.default.ObjectID,
|
|
370
370
|
canReadOnRelationQuery: true,
|
|
371
|
-
title: "
|
|
372
|
-
description: "ID of your OneUptime on-call
|
|
371
|
+
title: "On-Call Policy ID",
|
|
372
|
+
description: "ID of your OneUptime on-call policy in which this object belongs. Empty when the person was paged directly, without an on-call policy.",
|
|
373
373
|
}),
|
|
374
374
|
(0, typeorm_1.Column)({
|
|
375
375
|
type: ColumnType_1.default.ObjectID,
|
|
@@ -195,7 +195,7 @@ __decorate([
|
|
|
195
195
|
manyToOneRelationColumn: "onCallDutyPolicyScheduleId",
|
|
196
196
|
type: TableColumnType_1.default.Entity,
|
|
197
197
|
modelType: OnCallDutyPolicySchedule_1.default,
|
|
198
|
-
title: "On-Call
|
|
198
|
+
title: "On-Call Schedule",
|
|
199
199
|
description: "Relation to the schedule the reminded shift is on.",
|
|
200
200
|
}),
|
|
201
201
|
(0, typeorm_1.ManyToOne)(() => {
|
|
@@ -220,7 +220,7 @@ __decorate([
|
|
|
220
220
|
type: TableColumnType_1.default.ObjectID,
|
|
221
221
|
required: true,
|
|
222
222
|
canReadOnRelationQuery: true,
|
|
223
|
-
title: "On-Call
|
|
223
|
+
title: "On-Call Schedule ID",
|
|
224
224
|
description: "ID of the schedule the reminded shift is on.",
|
|
225
225
|
example: "5f8b9c0d-e1a2-4b3c-8d5e-6f7a8b9c0d1e",
|
|
226
226
|
}),
|