@oneuptime/common 14.0.108 → 14.0.109
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/AuditLog.js +1 -1
- package/Models/DatabaseModels/CloudApp.d.mts +5 -0
- package/Models/DatabaseModels/CloudApp.d.ts +5 -0
- package/Models/DatabaseModels/CloudApp.js +112 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
- package/Models/DatabaseModels/GlobalConfig.js +111 -0
- package/Models/DatabaseModels/Index.js +7 -0
- package/Models/DatabaseModels/Monitor.js +14 -0
- package/Models/DatabaseModels/MonitorStatusTimeline.d.mts +1 -0
- package/Models/DatabaseModels/MonitorStatusTimeline.d.ts +1 -0
- package/Models/DatabaseModels/MonitorStatusTimeline.js +43 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +4 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +4 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +132 -2
- package/Models/DatabaseModels/ProductFeedback.d.mts +11 -0
- package/Models/DatabaseModels/ProductFeedback.d.ts +11 -0
- package/Models/DatabaseModels/ProductFeedback.js +203 -0
- package/Models/DatabaseModels/ProductFeedback.mjs +2 -0
- package/Models/DatabaseModels/Project.d.mts +6 -0
- package/Models/DatabaseModels/Project.d.ts +6 -0
- package/Models/DatabaseModels/Project.js +237 -0
- package/Models/DatabaseModels/ProjectMilestone.d.mts +11 -0
- package/Models/DatabaseModels/ProjectMilestone.d.ts +11 -0
- package/Models/DatabaseModels/ProjectMilestone.js +207 -0
- package/Models/DatabaseModels/ProjectMilestone.mjs +2 -0
- package/Models/DatabaseModels/ProjectUserPreference.d.mts +11 -0
- package/Models/DatabaseModels/ProjectUserPreference.d.ts +11 -0
- package/Models/DatabaseModels/ProjectUserPreference.js +194 -0
- package/Models/DatabaseModels/ProjectUserPreference.mjs +2 -0
- package/Models/DatabaseModels/RumSessionPin.js +16 -2
- package/Models/DatabaseModels/RumSessionReplayView.js +8 -1
- package/Models/DatabaseModels/SecurityCase.js +8 -1
- package/Models/DatabaseModels/User.d.mts +2 -0
- package/Models/DatabaseModels/User.d.ts +2 -0
- package/Models/DatabaseModels/User.js +52 -0
- package/Models/DatabaseModels/UserOnCallLog.js +32 -4
- package/Models/DatabaseModels/UserOnCallLogTimeline.js +10 -0
- package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
- package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.mts +9 -0
- package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.ts +9 -0
- package/Server/Services/DatabaseService.d.mts +1 -0
- package/Server/Services/DatabaseService.d.ts +1 -0
- package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.mts +2 -1
- package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.ts +2 -1
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +1 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +1 -0
- package/Types/AI/AIActionWords.d.mts +167 -7
- package/Types/AI/AIActionWords.d.ts +167 -7
- package/Types/AI/AIActionWords.js +474 -17
- package/Types/AI/AIActionWords.mjs +22 -0
- package/Types/AI/AIChatMessageStatus.js +3 -2
- package/Types/AI/AIChatRecordSeen.d.mts +6 -2
- package/Types/AI/AIChatRecordSeen.d.ts +6 -2
- package/Types/AI/AIChatRecordSeen.js +48 -9
- package/Types/AI/AIChatRecordSeen.mjs +2 -0
- package/Types/AI/AIChatTypes.d.mts +19 -1
- package/Types/AI/AIChatTypes.d.ts +19 -1
- package/Types/AI/AIChatTypes.js +44 -1
- package/Types/AI/AIChatTypes.mjs +3 -0
- package/Types/AI/AIRunAttempt.d.mts +8 -0
- package/Types/AI/AIRunAttempt.d.ts +8 -0
- package/Types/AI/AIRunAttempt.js +60 -6
- package/Types/AI/AIRunAttempt.mjs +3 -0
- package/Types/AI/AISetupActions.d.mts +9 -0
- package/Types/AI/AISetupActions.d.ts +9 -0
- package/Types/AI/AISetupActions.js +56 -0
- package/Types/AI/AISetupActions.mjs +10 -0
- package/Types/AI/CodeTask.d.mts +14 -0
- package/Types/AI/CodeTask.d.ts +14 -0
- package/Types/AI/RecordAiTokenLimit.d.mts +24 -0
- package/Types/AI/RecordAiTokenLimit.d.ts +24 -0
- package/Types/AI/RecordAiTokenLimit.js +153 -0
- package/Types/AI/RecordAiTokenLimit.mjs +8 -0
- package/Types/Accounts/SignInMessages.d.mts +8 -0
- package/Types/Accounts/SignInMessages.d.ts +8 -0
- package/Types/Accounts/SignInMessages.js +28 -0
- package/Types/Accounts/SignInMessages.mjs +5 -0
- package/Types/Analytics/ActivationMilestone.d.mts +48 -0
- package/Types/Analytics/ActivationMilestone.d.ts +48 -0
- package/Types/Analytics/ActivationMilestone.js +247 -0
- package/Types/Analytics/ActivationMilestone.mjs +16 -0
- package/Types/Analytics/ChecklistProgress.d.mts +11 -0
- package/Types/Analytics/ChecklistProgress.d.ts +11 -0
- package/Types/Analytics/ChecklistProgress.js +32 -0
- package/Types/Analytics/ChecklistProgress.mjs +2 -0
- package/Types/Analytics/ProductEvent.d.mts +61 -0
- package/Types/Analytics/ProductEvent.d.ts +61 -0
- package/Types/Analytics/ProductEvent.js +430 -0
- package/Types/Analytics/ProductEvent.mjs +14 -0
- package/Types/AuditLog/AuditLogAction.d.mts +5 -1
- package/Types/AuditLog/AuditLogAction.d.ts +5 -1
- package/Types/AuditLog/AuditLogAction.js +11 -0
- package/Types/AuditLog/AuditLogActionLabel.d.mts +3 -0
- package/Types/AuditLog/AuditLogActionLabel.d.ts +3 -0
- package/Types/AuditLog/AuditLogActionLabel.js +30 -0
- package/Types/AuditLog/AuditLogActionLabel.mjs +3 -0
- package/Types/AuditLog/AuditLogCoverage.d.mts +2 -1
- package/Types/AuditLog/AuditLogCoverage.d.ts +2 -1
- package/Types/AuditLog/AuditLogCoverage.js +8 -1
- package/Types/AuditLog/AuditLogRetention.js +7 -4
- package/Types/AuditLog/AuditLogSessionEvent.d.mts +45 -0
- package/Types/AuditLog/AuditLogSessionEvent.d.ts +45 -0
- package/Types/AuditLog/AuditLogSessionEvent.js +210 -0
- package/Types/AuditLog/AuditLogSessionEvent.mjs +14 -0
- package/Types/AutoRemediation/RemediationRound.d.mts +4 -0
- package/Types/AutoRemediation/RemediationRound.d.ts +4 -0
- package/Types/AutoRemediation/RemediationRound.js +19 -2
- package/Types/AutoRemediation/RemediationRoundName.d.mts +1 -0
- package/Types/AutoRemediation/RemediationRoundName.d.ts +1 -0
- package/Types/AutoRemediation/RemediationRoundName.js +5 -0
- package/Types/AutoRemediation/RemediationRoundName.mjs +1 -0
- package/Types/Cloud/CloudAppTelemetrySignal.d.mts +9 -0
- package/Types/Cloud/CloudAppTelemetrySignal.d.ts +9 -0
- package/Types/Cloud/CloudAppTelemetrySignal.js +41 -0
- package/Types/Cloud/CloudAppTelemetrySignal.mjs +4 -0
- package/Types/Cloud/CloudPlatform.js +7 -1
- package/Types/CodeRepository/CodeFileSeen.d.mts +5 -0
- package/Types/CodeRepository/CodeFileSeen.d.ts +5 -0
- package/Types/CodeRepository/CodeFileSeen.js +142 -27
- package/Types/CustomDomain/CustomDomainDnsCheckResult.d.mts +13 -0
- package/Types/CustomDomain/CustomDomainDnsCheckResult.d.ts +13 -0
- package/Types/CustomDomain/CustomDomainDnsCheckResult.js +80 -0
- package/Types/CustomDomain/CustomDomainDnsCheckResult.mjs +2 -0
- package/Types/CustomDomain/CustomDomainServerReadiness.d.mts +55 -0
- package/Types/CustomDomain/CustomDomainServerReadiness.d.ts +55 -0
- package/Types/CustomDomain/CustomDomainServerReadiness.js +199 -0
- package/Types/CustomDomain/CustomDomainServerReadiness.mjs +8 -0
- package/Types/CustomDomain/DnsRecordCheck.d.mts +34 -0
- package/Types/CustomDomain/DnsRecordCheck.d.ts +34 -0
- package/Types/CustomDomain/DnsRecordCheck.js +175 -0
- package/Types/CustomDomain/DnsRecordCheck.mjs +6 -0
- package/Types/CustomDomain/DnsRecordCheckWords.d.mts +35 -0
- package/Types/CustomDomain/DnsRecordCheckWords.d.ts +35 -0
- package/Types/CustomDomain/DnsRecordCheckWords.js +151 -0
- package/Types/CustomDomain/DnsRecordCheckWords.mjs +5 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.mts +1 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.ts +1 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.js +11 -1
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.mjs +1 -0
- package/Types/DataObservability/DataCheckType.d.mts +4 -0
- package/Types/DataObservability/DataCheckType.d.ts +4 -0
- package/Types/DataObservability/DataCheckType.js +17 -0
- package/Types/DataObservability/DataCheckType.mjs +1 -0
- package/Types/DataObservability/DataLineageColumnTrail.d.mts +10 -0
- package/Types/DataObservability/DataLineageColumnTrail.d.ts +10 -0
- package/Types/DataObservability/DataLineageColumnTrail.js +152 -0
- package/Types/DataObservability/DataLineageColumnTrail.mjs +4 -0
- package/Types/DataObservability/DataLineageExpansion.d.mts +29 -0
- package/Types/DataObservability/DataLineageExpansion.d.ts +29 -0
- package/Types/DataObservability/DataLineageExpansion.js +166 -0
- package/Types/DataObservability/DataLineageExpansion.mjs +4 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +1 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +1 -0
- package/Types/DataObservability/DataObservabilityApiTypes.js +2 -0
- package/Types/DataObservability/DataTableLineage.d.mts +7 -0
- package/Types/DataObservability/DataTableLineage.d.ts +7 -0
- package/Types/DataObservability/DataTableLineage.js +15 -3
- package/Types/DataObservability/DataTableLineage.mjs +1 -0
- package/Types/Date.d.mts +22 -0
- package/Types/Date.d.ts +22 -0
- package/Types/Date.js +72 -3
- package/Types/DateLanguage.d.mts +7 -0
- package/Types/DateLanguage.d.ts +7 -0
- package/Types/DateLanguage.js +44 -1
- package/Types/DateLanguage.mjs +1 -0
- package/Types/Docs/DocsLanguage.d.mts +2 -0
- package/Types/Docs/DocsLanguage.d.ts +2 -0
- package/Types/Docs/DocsLanguage.js +23 -1
- package/Types/Docs/DocsLanguage.mjs +2 -0
- package/Types/Docs/GlossaryTerm.d.mts +82 -0
- package/Types/Docs/GlossaryTerm.d.ts +82 -0
- package/Types/Docs/GlossaryTerm.js +126 -0
- package/Types/Docs/GlossaryTerm.mjs +5 -0
- package/Types/Email/AmazonSesAuthenticationType.d.mts +23 -0
- package/Types/Email/AmazonSesAuthenticationType.d.ts +23 -0
- package/Types/Email/AmazonSesAuthenticationType.js +40 -0
- package/Types/Email/AmazonSesAuthenticationType.mjs +4 -0
- package/Types/Email/EmailServer.d.mts +2 -0
- package/Types/Email/EmailServer.d.ts +2 -0
- package/Types/Email/EmailTemplateType.d.mts +1 -0
- package/Types/Email/EmailTemplateType.d.ts +1 -0
- package/Types/Email/EmailTemplateType.js +2 -0
- package/Types/Exception/BadDataExceptionWithDetails.d.mts +6 -0
- package/Types/Exception/BadDataExceptionWithDetails.d.ts +6 -0
- package/Types/Exception/BadDataExceptionWithDetails.js +20 -0
- package/Types/Exception/BadDataExceptionWithDetails.mjs +2 -0
- package/Types/Exception/ErrorMessageRule.d.mts +4 -0
- package/Types/Exception/ErrorMessageRule.d.ts +4 -0
- package/Types/Exception/ErrorMessageRule.js +143 -0
- package/Types/Exception/ErrorMessageRule.mjs +5 -0
- package/Types/Exception/UnexplainedError.d.mts +45 -0
- package/Types/Exception/UnexplainedError.d.ts +45 -0
- package/Types/Exception/UnexplainedError.js +179 -0
- package/Types/Exception/UnexplainedError.mjs +11 -0
- package/Types/Icon/IconProp.d.mts +4 -1
- package/Types/Icon/IconProp.d.ts +4 -1
- package/Types/Icon/IconProp.js +6 -0
- package/Types/InstallationHealth/InstallationHealth.d.mts +122 -0
- package/Types/InstallationHealth/InstallationHealth.d.ts +122 -0
- package/Types/InstallationHealth/InstallationHealth.js +513 -0
- package/Types/InstallationHealth/InstallationHealth.mjs +13 -0
- package/Types/LLM/LLMProviderExchange.d.mts +17 -0
- package/Types/LLM/LLMProviderExchange.d.ts +17 -0
- package/Types/LLM/LLMProviderExchange.js +70 -0
- package/Types/LLM/LLMProviderExchange.mjs +5 -0
- package/Types/Monitor/CriteriaFilter.d.mts +1 -0
- package/Types/Monitor/CriteriaFilter.d.ts +1 -0
- package/Types/Monitor/CriteriaFilter.js +3 -1
- package/Types/Monitor/CriteriaFilterTerms.js +1 -0
- package/Types/Monitor/CriteriaFilterValues.d.mts +2 -0
- package/Types/Monitor/CriteriaFilterValues.d.ts +2 -0
- package/Types/Monitor/CriteriaFilterValues.js +22 -0
- package/Types/Monitor/EvaluationSentence.d.mts +1 -0
- package/Types/Monitor/EvaluationSentence.d.ts +1 -0
- package/Types/Monitor/EvaluationSentence.js +34 -3
- package/Types/Monitor/EvaluationSentence.mjs +1 -0
- package/Types/Monitor/RetiredEvaluationTemplates.d.mts +2 -0
- package/Types/Monitor/RetiredEvaluationTemplates.d.ts +2 -0
- package/Types/Monitor/RetiredEvaluationTemplates.js +95 -0
- package/Types/Monitor/RetiredEvaluationTemplates.mjs +3 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.d.mts +6 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.d.ts +6 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.js +20 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationCheckMethod.mjs +2 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.d.mts +6 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.d.ts +6 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.js +29 -0
- package/Types/Monitor/SSLMonitor/CertificateRevocationStatus.mjs +2 -0
- package/Types/Monitor/SSLMonitor/SslMonitorResponse.d.mts +7 -0
- package/Types/Monitor/SSLMonitor/SslMonitorResponse.d.ts +7 -0
- package/Types/Monitor/WhoIsTold.d.mts +165 -0
- package/Types/Monitor/WhoIsTold.d.ts +165 -0
- package/Types/Monitor/WhoIsTold.js +582 -0
- package/Types/Monitor/WhoIsTold.mjs +17 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.mts +6 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.d.ts +6 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.js +34 -0
- package/Types/OnCallDutyPolicy/OnCallDutyPolicyRunWait.mjs +2 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +240 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +240 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.js +574 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +52 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageWords.d.mts +31 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageWords.d.ts +31 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageWords.js +105 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageWords.mjs +14 -0
- package/Types/PhoneNumberDirection.d.mts +6 -0
- package/Types/PhoneNumberDirection.d.ts +6 -0
- package/Types/PhoneNumberDirection.js +123 -0
- package/Types/PhoneNumberDirection.mjs +6 -0
- package/Types/Product/ProductKey.d.mts +58 -0
- package/Types/Product/ProductKey.d.ts +58 -0
- package/Types/Product/ProductKey.js +175 -0
- package/Types/Product/ProductKey.mjs +8 -0
- package/Types/Product/ProductPins.d.mts +10 -0
- package/Types/Product/ProductPins.d.ts +10 -0
- package/Types/Product/ProductPins.js +65 -0
- package/Types/Product/ProductPins.mjs +6 -0
- package/Types/Product/ProductUsage.d.mts +21 -0
- package/Types/Product/ProductUsage.d.ts +21 -0
- package/Types/Product/ProductUsage.js +175 -0
- package/Types/Product/ProductUsage.mjs +10 -0
- package/Types/Product/ProjectProducts.d.mts +60 -0
- package/Types/Product/ProjectProducts.d.ts +60 -0
- package/Types/Product/ProjectProducts.js +336 -0
- package/Types/Product/ProjectProducts.mjs +19 -0
- package/Types/Product/ProjectProductsAnswer.d.mts +20 -0
- package/Types/Product/ProjectProductsAnswer.d.ts +20 -0
- package/Types/Product/ProjectProductsAnswer.js +139 -0
- package/Types/Product/ProjectProductsAnswer.mjs +7 -0
- package/Types/ProductFeedback/NewGitHubIssue.d.mts +12 -0
- package/Types/ProductFeedback/NewGitHubIssue.d.ts +12 -0
- package/Types/ProductFeedback/NewGitHubIssue.js +64 -0
- package/Types/ProductFeedback/NewGitHubIssue.mjs +5 -0
- package/Types/ProductFeedback/ProductFeedback.d.mts +140 -0
- package/Types/ProductFeedback/ProductFeedback.d.ts +140 -0
- package/Types/ProductFeedback/ProductFeedback.js +517 -0
- package/Types/ProductFeedback/ProductFeedback.mjs +49 -0
- package/Types/ReadingDirection.d.mts +2 -0
- package/Types/ReadingDirection.d.ts +2 -0
- package/Types/ReadingDirection.js +83 -2
- package/Types/ReadingDirection.mjs +2 -0
- package/Types/Recommendation/RecommendationType.d.mts +2 -1
- package/Types/Recommendation/RecommendationType.d.ts +2 -1
- package/Types/Recommendation/RecommendationType.js +6 -0
- package/Types/Reminder/ReminderInterval.d.mts +7 -0
- package/Types/Reminder/ReminderInterval.d.ts +7 -0
- package/Types/Reminder/ReminderInterval.js +110 -0
- package/Types/Reminder/ReminderInterval.mjs +8 -0
- package/Types/Retention/ResolvedRecordRetention.d.mts +19 -0
- package/Types/Retention/ResolvedRecordRetention.d.ts +19 -0
- package/Types/Retention/ResolvedRecordRetention.js +124 -0
- package/Types/Retention/ResolvedRecordRetention.mjs +14 -0
- package/Types/RollingTime/RollingTimeUtil.d.mts +1 -0
- package/Types/RollingTime/RollingTimeUtil.d.ts +1 -0
- package/Types/RollingTime/RollingTimeUtil.js +9 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.js +108 -101
- package/Types/ServerSending/ServerSendingStatus.d.mts +69 -0
- package/Types/ServerSending/ServerSendingStatus.d.ts +69 -0
- package/Types/ServerSending/ServerSendingStatus.js +281 -0
- package/Types/ServerSending/ServerSendingStatus.mjs +7 -0
- package/Types/ServerSending/ServerSendingWords.d.mts +9 -0
- package/Types/ServerSending/ServerSendingWords.d.ts +9 -0
- package/Types/ServerSending/ServerSendingWords.js +95 -0
- package/Types/ServerSending/ServerSendingWords.mjs +7 -0
- package/Types/ServerSetup/ServerSetupChecklist.d.mts +172 -0
- package/Types/ServerSetup/ServerSetupChecklist.d.ts +172 -0
- package/Types/ServerSetup/ServerSetupChecklist.js +735 -0
- package/Types/ServerSetup/ServerSetupChecklist.mjs +12 -0
- package/Types/ServerSetup/ServerTestSend.d.mts +35 -0
- package/Types/ServerSetup/ServerTestSend.d.ts +35 -0
- package/Types/ServerSetup/ServerTestSend.js +160 -0
- package/Types/ServerSetup/ServerTestSend.mjs +10 -0
- package/Types/SetupHealth/SetupHealth.d.mts +283 -0
- package/Types/SetupHealth/SetupHealth.d.ts +283 -0
- package/Types/SetupHealth/SetupHealth.js +1047 -0
- package/Types/SetupHealth/SetupHealth.mjs +46 -0
- package/Types/StatusPage/StatusPageSummary.d.mts +1 -0
- package/Types/StatusPage/StatusPageSummary.d.ts +1 -0
- package/Types/StatusPage/StatusPageSummary.js +3 -0
- package/Types/StatusPage/UptimeDailyAggregate.d.mts +25 -0
- package/Types/StatusPage/UptimeDailyAggregate.d.ts +25 -0
- package/Types/Telemetry/LlmCallKind.js +1 -1
- package/Types/Telemetry/TelemetryIngestionBudget.d.mts +1 -0
- package/Types/Telemetry/TelemetryIngestionBudget.d.ts +1 -0
- package/Types/Telemetry/TelemetryIngestionBudget.js +135 -2
- package/Types/Telemetry/TelemetryIngestionBudget.mjs +1 -0
- package/Types/ToolImport/ToolImportCatalog.d.mts +1 -0
- package/Types/ToolImport/ToolImportCatalog.d.ts +1 -0
- package/Types/ToolImport/ToolImportCatalog.js +54 -1
- package/Types/ToolImport/ToolImportCatalog.mjs +1 -0
- package/Types/Translator.js +64 -31
- package/Types/UserNotification/UserNotificationEventType.d.mts +2 -1
- package/Types/UserNotification/UserNotificationEventType.d.ts +2 -1
- package/Types/UserNotification/UserNotificationEventType.js +7 -0
- package/Types/UserSession/SessionEndCause.d.mts +17 -0
- package/Types/UserSession/SessionEndCause.d.ts +17 -0
- package/Types/UserSession/SessionEndCause.js +79 -0
- package/Types/UserSession/SessionEndCause.mjs +6 -0
- package/Types/UserSession/SessionSignIn.d.mts +44 -0
- package/Types/UserSession/SessionSignIn.d.ts +44 -0
- package/Types/UserSession/SessionSignIn.js +174 -0
- package/Types/UserSession/SessionSignIn.mjs +17 -0
- package/Types/WelcomeChecklist/ProjectGoal.d.mts +16 -0
- package/Types/WelcomeChecklist/ProjectGoal.d.ts +16 -0
- package/Types/WelcomeChecklist/ProjectGoal.js +94 -0
- package/Types/WelcomeChecklist/ProjectGoal.mjs +8 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +76 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +76 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.js +344 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.mjs +19 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +24 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +24 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +136 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.mjs +9 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.mts +27 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.ts +27 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.js +183 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.mjs +13 -0
- package/Types/Workflow/Documentation/AIDocumentation.js +1 -1
- package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.d.mts +7 -0
- package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.d.ts +7 -0
- package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.js +40 -0
- package/Types/Workspace/NotificationSummary/WorkspaceSummaryTestChannel.mjs +3 -0
- package/Types/Workspace/WorkspaceChannelMembers.d.mts +1 -0
- package/Types/Workspace/WorkspaceChannelMembers.d.ts +1 -0
- package/Types/Workspace/WorkspaceChannelMembers.js +9 -2
- package/UI/Components/Dropdown/Dropdown.d.mts +1 -0
- package/UI/Components/Dropdown/Dropdown.d.ts +1 -0
- package/Utils/API.js +10 -0
- package/Utils/Dashboard/DashboardWidgetSorts.js +25 -4
- package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +37 -0
- package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +37 -0
- package/Utils/Dashboard/MonitorListWidgetFormat.js +86 -0
- package/Utils/Dashboard/MonitorListWidgetFormat.mjs +10 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.d.mts +31 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.d.ts +31 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.js +89 -0
- package/Utils/GuidedSetup/OnCallPolicyRecords.mjs +6 -0
- package/Utils/GuidedSetup/StatusPageRecords.d.mts +36 -0
- package/Utils/GuidedSetup/StatusPageRecords.d.ts +36 -0
- package/Utils/GuidedSetup/StatusPageRecords.js +105 -0
- package/Utils/GuidedSetup/StatusPageRecords.mjs +6 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.d.mts +41 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.d.ts +41 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.js +204 -0
- package/Utils/GuidedSetup/WebsiteMonitorRecords.mjs +9 -0
- package/Utils/Markdown/InlineImageDataUri.d.mts +9 -0
- package/Utils/Markdown/InlineImageDataUri.d.ts +9 -0
- package/Utils/Markdown/InlineImageDataUri.js +17 -1
- package/Utils/Markdown/InlineImageDataUri.mjs +1 -0
- package/Utils/Markdown/LinkReferenceDefinitions.d.mts +12 -0
- package/Utils/Markdown/LinkReferenceDefinitions.d.ts +12 -0
- package/Utils/Markdown/LinkReferenceDefinitions.js +539 -0
- package/Utils/Markdown/LinkReferenceDefinitions.mjs +4 -0
- package/Utils/Monitor/ExternalStatusPageReading.d.mts +9 -0
- package/Utils/Monitor/ExternalStatusPageReading.d.ts +9 -0
- package/Utils/Monitor/ExternalStatusPageReading.js +77 -8
- package/Utils/Monitor/ExternalStatusPageReading.mjs +3 -0
- package/Utils/Monitor/ExternalStatusPageScope.js +17 -1
- package/Utils/Monitor/MonitorDestinationUtil.js +2 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +2 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +2 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +10 -1
- package/Utils/Monitor/MonitorStatusHistoryUtil.d.mts +1 -0
- package/Utils/Monitor/MonitorStatusHistoryUtil.d.ts +1 -0
- package/Utils/Monitor/MonitorStatusHistoryUtil.js +1 -0
- package/Utils/Monitor/MonitorSummaryProbeUtil.d.mts +2 -0
- package/Utils/Monitor/MonitorSummaryProbeUtil.d.ts +2 -0
- package/Utils/Monitor/MonitorSummaryProbeUtil.js +13 -17
- package/Utils/Monitor/MonitorSummarySnapshotUtil.js +5 -3
- package/Utils/Monitor/MonitorUptimeSummaryUtil.d.mts +1 -1
- package/Utils/Monitor/MonitorUptimeSummaryUtil.d.ts +1 -1
- package/Utils/Monitor/MonitorUptimeSummaryUtil.js +1 -0
- package/Utils/Monitor/MonitoringOff.d.mts +20 -0
- package/Utils/Monitor/MonitoringOff.d.ts +20 -0
- package/Utils/Monitor/MonitoringOff.js +81 -0
- package/Utils/Monitor/MonitoringOff.mjs +4 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.js +9 -7
- package/Utils/Monitor/StateChangeLogScreenshots.d.mts +8 -0
- package/Utils/Monitor/StateChangeLogScreenshots.d.ts +8 -0
- package/Utils/Monitor/StateChangeLogScreenshots.js +116 -0
- package/Utils/Monitor/StateChangeLogScreenshots.mjs +3 -0
- package/Utils/NetworkDevice/Naming/NamingLookup.d.mts +1 -1
- package/Utils/NetworkDevice/Naming/NamingLookup.d.ts +1 -1
- package/Utils/NetworkDevice/Naming/NamingLookup.js +14 -4
- package/Utils/NetworkDevice/Naming/NamingLookup.mjs +1 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.mts +2 -1
- package/Utils/Slo/SloErrorBudgetPolicy.d.ts +2 -1
- package/Utils/Slo/SloErrorBudgetPolicy.js +8 -2
- package/Utils/Slo/SloListWidgetFormat.d.mts +7 -1
- package/Utils/Slo/SloListWidgetFormat.d.ts +7 -1
- package/Utils/Slo/SloListWidgetFormat.js +20 -26
- package/Utils/Slo/SloOverviewText.d.mts +6 -1
- package/Utils/Slo/SloOverviewText.d.ts +6 -1
- package/Utils/Slo/SloOverviewText.js +3 -3
- package/Utils/Slo/SloUtil.d.mts +18 -9
- package/Utils/Slo/SloUtil.d.ts +18 -9
- package/Utils/Slo/SloUtil.js +47 -10
- package/Utils/Slo/SloWidgetFormat.d.mts +69 -11
- package/Utils/Slo/SloWidgetFormat.d.ts +69 -11
- package/Utils/Slo/SloWidgetFormat.js +198 -50
- package/Utils/Slo/SloWidgetFormat.mjs +7 -0
- package/Utils/StatusPage/FrozenMonitorResources.d.mts +41 -0
- package/Utils/StatusPage/FrozenMonitorResources.d.ts +41 -0
- package/Utils/StatusPage/FrozenMonitorResources.js +155 -0
- package/Utils/StatusPage/FrozenMonitorResources.mjs +4 -0
- package/Utils/StatusPage/GroupNestingLayout.d.mts +2 -0
- package/Utils/StatusPage/GroupNestingLayout.d.ts +2 -0
- package/Utils/StatusPage/GroupNestingLayout.js +12 -0
- package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.d.mts +48 -0
- package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.d.ts +48 -0
- package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.js +181 -0
- package/Utils/StatusPage/MonitorGroupUptimeDailyAggregateUtil.mjs +2 -0
- package/Utils/StatusPage/ResourceExplorer.d.mts +1 -0
- package/Utils/StatusPage/ResourceExplorer.d.ts +1 -0
- package/Utils/StatusPage/ResourceExplorer.js +11 -1
- package/Utils/StatusPage/ResourceUptime.d.mts +6 -1
- package/Utils/StatusPage/ResourceUptime.d.ts +6 -1
- package/Utils/StatusPage/ResourceUptime.js +31 -6
- package/Utils/StatusPage/StatusPageSummaryBuilder.d.mts +1 -0
- package/Utils/StatusPage/StatusPageSummaryBuilder.d.ts +1 -0
- package/Utils/StatusPage/StatusPageSummaryBuilder.js +12 -1
- package/Utils/StatusPage/StatusPageUptimeTimezone.d.mts +41 -0
- package/Utils/StatusPage/StatusPageUptimeTimezone.d.ts +41 -0
- package/Utils/StatusPage/StatusPageUptimeTimezone.js +114 -0
- package/Utils/StatusPage/StatusPageUptimeTimezone.mjs +2 -0
- package/Utils/StatusPage/UptimeDailyAggregateUtil.d.mts +3 -1
- package/Utils/StatusPage/UptimeDailyAggregateUtil.d.ts +3 -1
- package/Utils/StatusPage/UptimeDailyAggregateUtil.js +69 -50
- package/Utils/Telemetry/CloudInstanceIdentity.js +12 -7
- package/Utils/Uptime/DayUptimeGraphUtil.d.mts +8 -0
- package/Utils/Uptime/DayUptimeGraphUtil.d.ts +8 -0
- package/Utils/Uptime/DayUptimeGraphUtil.js +41 -6
- package/Utils/Uptime/UptimeMaintenanceUtil.d.mts +3 -0
- package/Utils/Uptime/UptimeMaintenanceUtil.d.ts +3 -0
- package/Utils/Uptime/UptimeMaintenanceUtil.js +49 -0
- package/Utils/Uptime/UptimeUtil.d.mts +38 -1
- package/Utils/Uptime/UptimeUtil.d.ts +38 -1
- package/Utils/Uptime/UptimeUtil.js +270 -75
- package/Utils/Uptime/WorstStatusTimeline.d.mts +31 -0
- package/Utils/Uptime/WorstStatusTimeline.d.ts +31 -0
- package/Utils/Uptime/WorstStatusTimeline.js +190 -0
- package/Utils/Uptime/WorstStatusTimeline.mjs +2 -0
- package/Utils/Workspace/WorkspaceSummarySetup.d.mts +25 -0
- package/Utils/Workspace/WorkspaceSummarySetup.d.ts +25 -0
- package/Utils/Workspace/WorkspaceSummarySetup.js +215 -0
- package/Utils/Workspace/WorkspaceSummarySetup.mjs +11 -0
- package/package.json +1 -1
- package/Utils/StatusPage/ArchivedMonitorResources.d.mts +0 -10
- package/Utils/StatusPage/ArchivedMonitorResources.d.ts +0 -10
- package/Utils/StatusPage/ArchivedMonitorResources.js +0 -33
- package/Utils/StatusPage/ArchivedMonitorResources.mjs +0 -2
|
@@ -0,0 +1,194 @@
|
|
|
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 Project_1 = __importDefault(require("./Project"));
|
|
16
|
+
const User_1 = __importDefault(require("./User"));
|
|
17
|
+
const DatabaseBaseModel_1 = __importDefault(require("./DatabaseBaseModel/DatabaseBaseModel"));
|
|
18
|
+
const Route_1 = __importDefault(require("../../Types/API/Route"));
|
|
19
|
+
const ColumnAccessControl_1 = __importDefault(require("../../Types/Database/AccessControl/ColumnAccessControl"));
|
|
20
|
+
const TableAccessControl_1 = __importDefault(require("../../Types/Database/AccessControl/TableAccessControl"));
|
|
21
|
+
const ColumnType_1 = __importDefault(require("../../Types/Database/ColumnType"));
|
|
22
|
+
const CrudApiEndpoint_1 = __importDefault(require("../../Types/Database/CrudApiEndpoint"));
|
|
23
|
+
const TableColumn_1 = __importDefault(require("../../Types/Database/TableColumn"));
|
|
24
|
+
const TableColumnType_1 = __importDefault(require("../../Types/Database/TableColumnType"));
|
|
25
|
+
const TableMetadata_1 = __importDefault(require("../../Types/Database/TableMetadata"));
|
|
26
|
+
const TenantColumn_1 = __importDefault(require("../../Types/Database/TenantColumn"));
|
|
27
|
+
const IconProp_1 = __importDefault(require("../../Types/Icon/IconProp"));
|
|
28
|
+
const ObjectID_1 = __importDefault(require("../../Types/ObjectID"));
|
|
29
|
+
const typeorm_1 = require("typeorm");
|
|
30
|
+
/*
|
|
31
|
+
* What one person chose for themselves in one project (issue #6814): today,
|
|
32
|
+
* the products they pinned to the nav bar, beside Home and Products
|
|
33
|
+
* (Types/Product/ProductPins).
|
|
34
|
+
*
|
|
35
|
+
* One row per project and person, held so by the unique index below:
|
|
36
|
+
* ProjectProductsService writes it with INSERT ... ON CONFLICT DO UPDATE,
|
|
37
|
+
* so two tabs pinning at once never leave two rows. It is deleted with its
|
|
38
|
+
* project or its user.
|
|
39
|
+
*
|
|
40
|
+
* Kept on the server, not in the browser, so the pins follow the person to
|
|
41
|
+
* another browser and device. A row of its own rather than a column on
|
|
42
|
+
* Project or TeamMember: a person may be in several teams of a project, and
|
|
43
|
+
* Project is read on nearly every request, by every member.
|
|
44
|
+
*
|
|
45
|
+
* Nobody reads or writes it through the API: the person's own pins come
|
|
46
|
+
* with the products answer (GET /project-products, ProjectProductsAPI),
|
|
47
|
+
* and they change them through POST /project-products/pins, which only ever
|
|
48
|
+
* touches the caller's own row. Nobody else's pins are ever sent.
|
|
49
|
+
*/
|
|
50
|
+
let ProjectUserPreference = class ProjectUserPreference extends DatabaseBaseModel_1.default {
|
|
51
|
+
constructor() {
|
|
52
|
+
super(...arguments);
|
|
53
|
+
this.project = undefined;
|
|
54
|
+
this.projectId = undefined;
|
|
55
|
+
this.user = undefined;
|
|
56
|
+
this.userId = undefined;
|
|
57
|
+
this.pinnedProducts = undefined;
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, ColumnAccessControl_1.default)({
|
|
62
|
+
create: [],
|
|
63
|
+
read: [],
|
|
64
|
+
update: [],
|
|
65
|
+
}),
|
|
66
|
+
(0, TableColumn_1.default)({
|
|
67
|
+
manyToOneRelationColumn: "projectId",
|
|
68
|
+
type: TableColumnType_1.default.Entity,
|
|
69
|
+
modelType: Project_1.default,
|
|
70
|
+
title: "Project",
|
|
71
|
+
description: "The project these choices are for.",
|
|
72
|
+
}),
|
|
73
|
+
(0, typeorm_1.ManyToOne)(() => {
|
|
74
|
+
return Project_1.default;
|
|
75
|
+
}, {
|
|
76
|
+
eager: false,
|
|
77
|
+
nullable: false,
|
|
78
|
+
onDelete: "CASCADE",
|
|
79
|
+
orphanedRowAction: "nullify",
|
|
80
|
+
}),
|
|
81
|
+
(0, typeorm_1.JoinColumn)({ name: "projectId" }),
|
|
82
|
+
__metadata("design:type", Project_1.default)
|
|
83
|
+
], ProjectUserPreference.prototype, "project", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, ColumnAccessControl_1.default)({
|
|
86
|
+
create: [],
|
|
87
|
+
read: [],
|
|
88
|
+
update: [],
|
|
89
|
+
}),
|
|
90
|
+
(0, TableColumn_1.default)({
|
|
91
|
+
type: TableColumnType_1.default.ObjectID,
|
|
92
|
+
required: true,
|
|
93
|
+
canReadOnRelationQuery: true,
|
|
94
|
+
title: "Project ID",
|
|
95
|
+
description: "ID of the project these choices are for.",
|
|
96
|
+
}),
|
|
97
|
+
(0, typeorm_1.Column)({
|
|
98
|
+
type: ColumnType_1.default.ObjectID,
|
|
99
|
+
nullable: false,
|
|
100
|
+
transformer: ObjectID_1.default.getDatabaseTransformer(),
|
|
101
|
+
}),
|
|
102
|
+
__metadata("design:type", ObjectID_1.default)
|
|
103
|
+
], ProjectUserPreference.prototype, "projectId", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, ColumnAccessControl_1.default)({
|
|
106
|
+
create: [],
|
|
107
|
+
read: [],
|
|
108
|
+
update: [],
|
|
109
|
+
}),
|
|
110
|
+
(0, TableColumn_1.default)({
|
|
111
|
+
manyToOneRelationColumn: "userId",
|
|
112
|
+
type: TableColumnType_1.default.Entity,
|
|
113
|
+
modelType: User_1.default,
|
|
114
|
+
title: "User",
|
|
115
|
+
description: "The person who made these choices.",
|
|
116
|
+
}),
|
|
117
|
+
(0, typeorm_1.ManyToOne)(() => {
|
|
118
|
+
return User_1.default;
|
|
119
|
+
}, {
|
|
120
|
+
eager: false,
|
|
121
|
+
nullable: false,
|
|
122
|
+
onDelete: "CASCADE",
|
|
123
|
+
orphanedRowAction: "nullify",
|
|
124
|
+
}),
|
|
125
|
+
(0, typeorm_1.JoinColumn)({ name: "userId" }),
|
|
126
|
+
__metadata("design:type", User_1.default)
|
|
127
|
+
], ProjectUserPreference.prototype, "user", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
(0, ColumnAccessControl_1.default)({
|
|
130
|
+
create: [],
|
|
131
|
+
read: [],
|
|
132
|
+
update: [],
|
|
133
|
+
}),
|
|
134
|
+
(0, TableColumn_1.default)({
|
|
135
|
+
type: TableColumnType_1.default.ObjectID,
|
|
136
|
+
required: true,
|
|
137
|
+
canReadOnRelationQuery: true,
|
|
138
|
+
title: "User ID",
|
|
139
|
+
description: "ID of the person who made these choices.",
|
|
140
|
+
}),
|
|
141
|
+
(0, typeorm_1.Column)({
|
|
142
|
+
type: ColumnType_1.default.ObjectID,
|
|
143
|
+
nullable: false,
|
|
144
|
+
transformer: ObjectID_1.default.getDatabaseTransformer(),
|
|
145
|
+
}),
|
|
146
|
+
__metadata("design:type", ObjectID_1.default)
|
|
147
|
+
], ProjectUserPreference.prototype, "userId", void 0);
|
|
148
|
+
__decorate([
|
|
149
|
+
(0, ColumnAccessControl_1.default)({
|
|
150
|
+
create: [],
|
|
151
|
+
read: [],
|
|
152
|
+
update: [],
|
|
153
|
+
}),
|
|
154
|
+
(0, TableColumn_1.default)({
|
|
155
|
+
required: false,
|
|
156
|
+
type: TableColumnType_1.default.JSON,
|
|
157
|
+
title: "Pinned Products",
|
|
158
|
+
description: "The products this person pinned to the nav bar in this project, in the order they were pinned, by their product keys (at most five).",
|
|
159
|
+
example: '["monitors", "logs"]',
|
|
160
|
+
}),
|
|
161
|
+
(0, typeorm_1.Column)({
|
|
162
|
+
type: ColumnType_1.default.JSON,
|
|
163
|
+
nullable: true,
|
|
164
|
+
unique: false,
|
|
165
|
+
}),
|
|
166
|
+
__metadata("design:type", Array)
|
|
167
|
+
], ProjectUserPreference.prototype, "pinnedProducts", void 0);
|
|
168
|
+
ProjectUserPreference = __decorate([
|
|
169
|
+
(0, TenantColumn_1.default)("projectId"),
|
|
170
|
+
(0, TableAccessControl_1.default)({
|
|
171
|
+
create: [],
|
|
172
|
+
read: [],
|
|
173
|
+
delete: [],
|
|
174
|
+
update: [],
|
|
175
|
+
}),
|
|
176
|
+
(0, CrudApiEndpoint_1.default)(new Route_1.default("/project-user-preference")),
|
|
177
|
+
(0, TableMetadata_1.default)({
|
|
178
|
+
tableName: "ProjectUserPreference",
|
|
179
|
+
singularName: "Project User Preference",
|
|
180
|
+
pluralName: "Project User Preferences",
|
|
181
|
+
icon: IconProp_1.default.User,
|
|
182
|
+
tableDescription: "What a person chose for themselves in a project, such as the products they pinned to the nav bar. Only they see it.",
|
|
183
|
+
})
|
|
184
|
+
/*
|
|
185
|
+
* One row per person in a project. Also how every read finds a person's row
|
|
186
|
+
* (projectId leads), so the table needs no other index.
|
|
187
|
+
*/
|
|
188
|
+
,
|
|
189
|
+
(0, typeorm_1.Index)(["projectId", "userId"], { unique: true }),
|
|
190
|
+
(0, typeorm_1.Entity)({
|
|
191
|
+
name: "ProjectUserPreference",
|
|
192
|
+
})
|
|
193
|
+
], ProjectUserPreference);
|
|
194
|
+
exports.default = ProjectUserPreference;
|
|
@@ -300,7 +300,14 @@ __decorate([
|
|
|
300
300
|
create: CREATE_PERMISSIONS,
|
|
301
301
|
read: READ_PERMISSIONS,
|
|
302
302
|
update: [],
|
|
303
|
-
})
|
|
303
|
+
})
|
|
304
|
+
/*
|
|
305
|
+
* Indexed: deleting the record it points at finds these rows by it
|
|
306
|
+
* (the foreign key's ON DELETE), as the purge of resolved incidents
|
|
307
|
+
* and alerts does in batches (#6903), without reading the whole table.
|
|
308
|
+
*/
|
|
309
|
+
,
|
|
310
|
+
(0, typeorm_1.Index)(),
|
|
304
311
|
(0, TableColumn_1.default)({
|
|
305
312
|
type: TableColumnType_1.default.ObjectID,
|
|
306
313
|
required: false,
|
|
@@ -344,7 +351,14 @@ __decorate([
|
|
|
344
351
|
create: CREATE_PERMISSIONS,
|
|
345
352
|
read: READ_PERMISSIONS,
|
|
346
353
|
update: [],
|
|
347
|
-
})
|
|
354
|
+
})
|
|
355
|
+
/*
|
|
356
|
+
* Indexed: deleting the record it points at finds these rows by it
|
|
357
|
+
* (the foreign key's ON DELETE), as the purge of resolved incidents
|
|
358
|
+
* and alerts does in batches (#6903), without reading the whole table.
|
|
359
|
+
*/
|
|
360
|
+
,
|
|
361
|
+
(0, typeorm_1.Index)(),
|
|
348
362
|
(0, TableColumn_1.default)({
|
|
349
363
|
type: TableColumnType_1.default.ObjectID,
|
|
350
364
|
required: false,
|
|
@@ -332,7 +332,14 @@ __decorate([
|
|
|
332
332
|
__metadata("design:type", Incident_1.default)
|
|
333
333
|
], RumSessionReplayView.prototype, "linkedIncident", void 0);
|
|
334
334
|
__decorate([
|
|
335
|
-
(0, ColumnAccessControl_1.default)({ create: [], read: READ_PERMISSIONS, update: [] })
|
|
335
|
+
(0, ColumnAccessControl_1.default)({ create: [], read: READ_PERMISSIONS, update: [] })
|
|
336
|
+
/*
|
|
337
|
+
* Indexed: deleting the record it points at finds these rows by it
|
|
338
|
+
* (the foreign key's ON DELETE), as the purge of resolved incidents
|
|
339
|
+
* and alerts does in batches (#6903), without reading the whole table.
|
|
340
|
+
*/
|
|
341
|
+
,
|
|
342
|
+
(0, typeorm_1.Index)(),
|
|
336
343
|
(0, TableColumn_1.default)({
|
|
337
344
|
type: TableColumnType_1.default.ObjectID,
|
|
338
345
|
required: false,
|
|
@@ -949,7 +949,14 @@ __decorate([
|
|
|
949
949
|
__metadata("design:type", Incident_1.default)
|
|
950
950
|
], SecurityCase.prototype, "incident", void 0);
|
|
951
951
|
__decorate([
|
|
952
|
-
(0, ColumnAccessControl_1.default)(serverWrittenColumnAccess)
|
|
952
|
+
(0, ColumnAccessControl_1.default)(serverWrittenColumnAccess)
|
|
953
|
+
/*
|
|
954
|
+
* Indexed: deleting the record it points at finds these rows by it
|
|
955
|
+
* (the foreign key's ON DELETE), as the purge of resolved incidents
|
|
956
|
+
* and alerts does in batches (#6903), without reading the whole table.
|
|
957
|
+
*/
|
|
958
|
+
,
|
|
959
|
+
(0, typeorm_1.Index)(),
|
|
953
960
|
(0, TableColumn_1.default)({
|
|
954
961
|
type: TableColumnType_1.default.ObjectID,
|
|
955
962
|
canReadOnRelationQuery: true,
|
|
@@ -149,6 +149,22 @@ let User = class User extends UserModel_1.default {
|
|
|
149
149
|
this.deletedByUser = undefined;
|
|
150
150
|
this.deletedByUserId = undefined;
|
|
151
151
|
this.enableTwoFactorAuth = undefined;
|
|
152
|
+
/*
|
|
153
|
+
* "Ask me how things went" (issue #6832), on while this is false: the
|
|
154
|
+
* question at the end of a guided setup, Was this clear? and the
|
|
155
|
+
* first-week check-in. Their own to switch off, on User Profile or with
|
|
156
|
+
* "Don't ask me again" on a question. Give feedback in Help stays: the
|
|
157
|
+
* person opens it.
|
|
158
|
+
*/
|
|
159
|
+
this.disableFeedbackQuestions = undefined;
|
|
160
|
+
/*
|
|
161
|
+
* The questions OneUptime asked this person, and when: question key
|
|
162
|
+
* (`setup_flow:website_down`, `check_in:<project id>`) to an ISO date
|
|
163
|
+
* (Types/ProductFeedback/ProductFeedback, readAskedQuestions). Each is
|
|
164
|
+
* asked once, and at most one a week. Written by OneUptime only
|
|
165
|
+
* (ProductFeedbackService, as root), when it asks.
|
|
166
|
+
*/
|
|
167
|
+
this.feedbackQuestionsAsked = undefined;
|
|
152
168
|
}
|
|
153
169
|
};
|
|
154
170
|
__decorate([
|
|
@@ -1125,6 +1141,42 @@ __decorate([
|
|
|
1125
1141
|
}),
|
|
1126
1142
|
__metadata("design:type", Boolean)
|
|
1127
1143
|
], User.prototype, "enableTwoFactorAuth", void 0);
|
|
1144
|
+
__decorate([
|
|
1145
|
+
(0, ColumnAccessControl_1.default)({
|
|
1146
|
+
create: [],
|
|
1147
|
+
read: [Permission_1.default.CurrentUser],
|
|
1148
|
+
update: [Permission_1.default.CurrentUser],
|
|
1149
|
+
}),
|
|
1150
|
+
(0, TableColumn_1.default)({
|
|
1151
|
+
title: "Disable Feedback Questions",
|
|
1152
|
+
description: "When true, OneUptime never asks this person how things went: no question at the end of a guided setup, no Was this clear?, no first-week check-in.",
|
|
1153
|
+
type: TableColumnType_1.default.Boolean,
|
|
1154
|
+
defaultValue: false,
|
|
1155
|
+
}),
|
|
1156
|
+
(0, typeorm_1.Column)({
|
|
1157
|
+
type: ColumnType_1.default.Boolean,
|
|
1158
|
+
nullable: true,
|
|
1159
|
+
default: false,
|
|
1160
|
+
}),
|
|
1161
|
+
__metadata("design:type", Boolean)
|
|
1162
|
+
], User.prototype, "disableFeedbackQuestions", void 0);
|
|
1163
|
+
__decorate([
|
|
1164
|
+
(0, ColumnAccessControl_1.default)({
|
|
1165
|
+
create: [],
|
|
1166
|
+
read: [],
|
|
1167
|
+
update: [],
|
|
1168
|
+
}),
|
|
1169
|
+
(0, TableColumn_1.default)({
|
|
1170
|
+
title: "Feedback Questions Asked",
|
|
1171
|
+
description: "The questions OneUptime asked this person about how things went, and when, so none is asked twice and at most one a week.",
|
|
1172
|
+
type: TableColumnType_1.default.JSON,
|
|
1173
|
+
}),
|
|
1174
|
+
(0, typeorm_1.Column)({
|
|
1175
|
+
type: ColumnType_1.default.JSON,
|
|
1176
|
+
nullable: true,
|
|
1177
|
+
}),
|
|
1178
|
+
__metadata("design:type", Object)
|
|
1179
|
+
], User.prototype, "feedbackQuestionsAsked", void 0);
|
|
1128
1180
|
User = __decorate([
|
|
1129
1181
|
(0, EnableDocumentation_1.default)({
|
|
1130
1182
|
isMasterAdminApiDocs: true,
|
|
@@ -405,7 +405,14 @@ __decorate([
|
|
|
405
405
|
create: [],
|
|
406
406
|
read: [Permission_1.default.CurrentUser],
|
|
407
407
|
update: [],
|
|
408
|
-
})
|
|
408
|
+
})
|
|
409
|
+
/*
|
|
410
|
+
* Indexed: deleting the record it points at finds these rows by it
|
|
411
|
+
* (the foreign key's ON DELETE), as the purge of resolved incidents
|
|
412
|
+
* and alerts does in batches (#6903), without reading the whole table.
|
|
413
|
+
*/
|
|
414
|
+
,
|
|
415
|
+
(0, typeorm_1.Index)(),
|
|
409
416
|
(0, TableColumn_1.default)({
|
|
410
417
|
type: TableColumnType_1.default.ObjectID,
|
|
411
418
|
title: "Triggered By Incident ID",
|
|
@@ -449,7 +456,14 @@ __decorate([
|
|
|
449
456
|
create: [],
|
|
450
457
|
read: [Permission_1.default.CurrentUser],
|
|
451
458
|
update: [],
|
|
452
|
-
})
|
|
459
|
+
})
|
|
460
|
+
/*
|
|
461
|
+
* Indexed: deleting the record it points at finds these rows by it
|
|
462
|
+
* (the foreign key's ON DELETE), as the purge of resolved incidents
|
|
463
|
+
* and alerts does in batches (#6903), without reading the whole table.
|
|
464
|
+
*/
|
|
465
|
+
,
|
|
466
|
+
(0, typeorm_1.Index)(),
|
|
453
467
|
(0, TableColumn_1.default)({
|
|
454
468
|
type: TableColumnType_1.default.ObjectID,
|
|
455
469
|
title: "Triggered By Alert ID",
|
|
@@ -493,7 +507,14 @@ __decorate([
|
|
|
493
507
|
create: [],
|
|
494
508
|
read: [Permission_1.default.CurrentUser],
|
|
495
509
|
update: [],
|
|
496
|
-
})
|
|
510
|
+
})
|
|
511
|
+
/*
|
|
512
|
+
* Indexed: deleting the record it points at finds these rows by it
|
|
513
|
+
* (the foreign key's ON DELETE), as the purge of resolved incidents
|
|
514
|
+
* and alerts does in batches (#6903), without reading the whole table.
|
|
515
|
+
*/
|
|
516
|
+
,
|
|
517
|
+
(0, typeorm_1.Index)(),
|
|
497
518
|
(0, TableColumn_1.default)({
|
|
498
519
|
type: TableColumnType_1.default.ObjectID,
|
|
499
520
|
title: "Triggered By Alert Episode ID",
|
|
@@ -537,7 +558,14 @@ __decorate([
|
|
|
537
558
|
create: [],
|
|
538
559
|
read: [Permission_1.default.CurrentUser],
|
|
539
560
|
update: [],
|
|
540
|
-
})
|
|
561
|
+
})
|
|
562
|
+
/*
|
|
563
|
+
* Indexed: deleting the record it points at finds these rows by it
|
|
564
|
+
* (the foreign key's ON DELETE), as the purge of resolved incidents
|
|
565
|
+
* and alerts does in batches (#6903), without reading the whole table.
|
|
566
|
+
*/
|
|
567
|
+
,
|
|
568
|
+
(0, typeorm_1.Index)(),
|
|
541
569
|
(0, TableColumn_1.default)({
|
|
542
570
|
type: TableColumnType_1.default.ObjectID,
|
|
543
571
|
title: "Triggered By Incident Episode ID",
|
|
@@ -1457,6 +1457,16 @@ UserOnCallLogTimeline = __decorate([
|
|
|
1457
1457
|
(0, typeorm_1.Index)(["userId", "createdAt"]),
|
|
1458
1458
|
(0, typeorm_1.Index)(["onCallDutyPolicyExecutionLogId", "status"]),
|
|
1459
1459
|
(0, typeorm_1.Index)(["projectId", "status"])
|
|
1460
|
+
/*
|
|
1461
|
+
* The notifications still going out, oldest first: what the stuck check
|
|
1462
|
+
* reads every five minutes (OnCallStuckNotifications). Only those that say
|
|
1463
|
+
* Sending are in it - a handful at any moment, where the table keeps every
|
|
1464
|
+
* notification ever sent - and the check's read implies its predicate.
|
|
1465
|
+
*/
|
|
1466
|
+
,
|
|
1467
|
+
(0, typeorm_1.Index)(["createdAt"], {
|
|
1468
|
+
where: `"status" = 'Sending' AND "deletedAt" IS NULL`,
|
|
1469
|
+
})
|
|
1460
1470
|
/*
|
|
1461
1471
|
* The history of the pages sent to a person: who was paged, when, through
|
|
1462
1472
|
* which of their notification rules and methods, and how it went. The rule
|
|
@@ -572,7 +572,7 @@ __decorate([
|
|
|
572
572
|
}),
|
|
573
573
|
(0, TableColumn_1.default)({
|
|
574
574
|
title: "Team Name",
|
|
575
|
-
description: "Microsoft Teams team name
|
|
575
|
+
description: "The team the summary's channels are in: for Microsoft Teams, the team's name; for Mattermost, the team's id - empty to look in the default team first, then in the bot's other teams. Not used for Slack.",
|
|
576
576
|
required: false,
|
|
577
577
|
unique: false,
|
|
578
578
|
type: TableColumnType_1.default.LongText,
|
|
@@ -54,6 +54,7 @@ export interface SlackMiscData extends MiscData {
|
|
|
54
54
|
workspaces?: Array<SlackOrganizationWorkspace> | undefined;
|
|
55
55
|
workspacesReadAt?: string | undefined;
|
|
56
56
|
defaultWorkspaceId?: string | undefined;
|
|
57
|
+
removedWorkspaces?: Array<SlackOrganizationWorkspace> | undefined;
|
|
57
58
|
}
|
|
58
59
|
export interface MicrosoftTeamsMiscData extends MiscData {
|
|
59
60
|
tenantId: string;
|
|
@@ -67,6 +68,11 @@ export interface MicrosoftTeamsMiscData extends MiscData {
|
|
|
67
68
|
availableChats?: Record<string, MicrosoftTeamsChat>;
|
|
68
69
|
installedTeams?: Record<string, MicrosoftTeamsInstalledTeam>;
|
|
69
70
|
}
|
|
71
|
+
export interface MattermostConnectionTeam {
|
|
72
|
+
id: string;
|
|
73
|
+
name: string;
|
|
74
|
+
displayName: string;
|
|
75
|
+
}
|
|
70
76
|
export interface MattermostMiscData extends MiscData {
|
|
71
77
|
serverUrl: string;
|
|
72
78
|
teamId: string;
|
|
@@ -74,6 +80,9 @@ export interface MattermostMiscData extends MiscData {
|
|
|
74
80
|
teamDisplayName: string;
|
|
75
81
|
botUserId: string;
|
|
76
82
|
botUsername: string;
|
|
83
|
+
teams?: Array<MattermostConnectionTeam> | undefined;
|
|
84
|
+
teamsReadAt?: string | undefined;
|
|
85
|
+
removedTeams?: Array<MattermostConnectionTeam> | undefined;
|
|
77
86
|
}
|
|
78
87
|
export type WorkspaceMiscData = SlackMiscData | MicrosoftTeamsMiscData | MattermostMiscData;
|
|
79
88
|
export declare const LegacyServerOnlyMiscDataKeys: ReadonlyArray<string>;
|
|
@@ -54,6 +54,7 @@ export interface SlackMiscData extends MiscData {
|
|
|
54
54
|
workspaces?: Array<SlackOrganizationWorkspace> | undefined;
|
|
55
55
|
workspacesReadAt?: string | undefined;
|
|
56
56
|
defaultWorkspaceId?: string | undefined;
|
|
57
|
+
removedWorkspaces?: Array<SlackOrganizationWorkspace> | undefined;
|
|
57
58
|
}
|
|
58
59
|
export interface MicrosoftTeamsMiscData extends MiscData {
|
|
59
60
|
tenantId: string;
|
|
@@ -67,6 +68,11 @@ export interface MicrosoftTeamsMiscData extends MiscData {
|
|
|
67
68
|
availableChats?: Record<string, MicrosoftTeamsChat>;
|
|
68
69
|
installedTeams?: Record<string, MicrosoftTeamsInstalledTeam>;
|
|
69
70
|
}
|
|
71
|
+
export interface MattermostConnectionTeam {
|
|
72
|
+
id: string;
|
|
73
|
+
name: string;
|
|
74
|
+
displayName: string;
|
|
75
|
+
}
|
|
70
76
|
export interface MattermostMiscData extends MiscData {
|
|
71
77
|
serverUrl: string;
|
|
72
78
|
teamId: string;
|
|
@@ -74,6 +80,9 @@ export interface MattermostMiscData extends MiscData {
|
|
|
74
80
|
teamDisplayName: string;
|
|
75
81
|
botUserId: string;
|
|
76
82
|
botUsername: string;
|
|
83
|
+
teams?: Array<MattermostConnectionTeam> | undefined;
|
|
84
|
+
teamsReadAt?: string | undefined;
|
|
85
|
+
removedTeams?: Array<MattermostConnectionTeam> | undefined;
|
|
77
86
|
}
|
|
78
87
|
export type WorkspaceMiscData = SlackMiscData | MicrosoftTeamsMiscData | MattermostMiscData;
|
|
79
88
|
export declare const LegacyServerOnlyMiscDataKeys: ReadonlyArray<string>;
|
|
@@ -492,6 +492,7 @@ declare class DatabaseService<TBaseModel extends BaseModel> extends BaseService
|
|
|
492
492
|
updateColumnsByIdIfUnlockedWithoutHooks(input: {
|
|
493
493
|
id: ObjectID;
|
|
494
494
|
data: PartialEntity<TBaseModel>;
|
|
495
|
+
expectedData?: PartialEntity<TBaseModel>;
|
|
495
496
|
skipUpdateDateColumn?: boolean;
|
|
496
497
|
}): Promise<boolean>;
|
|
497
498
|
hasRowWithIdWithoutHooks(id: ObjectID): Promise<boolean>;
|
|
@@ -492,6 +492,7 @@ declare class DatabaseService<TBaseModel extends BaseModel> extends BaseService
|
|
|
492
492
|
updateColumnsByIdIfUnlockedWithoutHooks(input: {
|
|
493
493
|
id: ObjectID;
|
|
494
494
|
data: PartialEntity<TBaseModel>;
|
|
495
|
+
expectedData?: PartialEntity<TBaseModel>;
|
|
495
496
|
skipUpdateDateColumn?: boolean;
|
|
496
497
|
}): Promise<boolean>;
|
|
497
498
|
hasRowWithIdWithoutHooks(id: ObjectID): Promise<boolean>;
|
|
@@ -70,7 +70,8 @@ export declare enum NotificationSchedule {
|
|
|
70
70
|
export declare enum NotificationDestination {
|
|
71
71
|
DirectMessage = "direct_message",
|
|
72
72
|
Channel = "channel",
|
|
73
|
-
IncomingWebhook = "incoming_webhook"
|
|
73
|
+
IncomingWebhook = "incoming_webhook",
|
|
74
|
+
StatusPageSubscriber = "status_page_subscriber"
|
|
74
75
|
}
|
|
75
76
|
export declare enum NotificationDeliveryStatus {
|
|
76
77
|
Delivered = "delivered",
|
|
@@ -70,7 +70,8 @@ export declare enum NotificationSchedule {
|
|
|
70
70
|
export declare enum NotificationDestination {
|
|
71
71
|
DirectMessage = "direct_message",
|
|
72
72
|
Channel = "channel",
|
|
73
|
-
IncomingWebhook = "incoming_webhook"
|
|
73
|
+
IncomingWebhook = "incoming_webhook",
|
|
74
|
+
StatusPageSubscriber = "status_page_subscriber"
|
|
74
75
|
}
|
|
75
76
|
export declare enum NotificationDeliveryStatus {
|
|
76
77
|
Delivered = "delivered",
|