@oneuptime/common 14.0.107 → 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/DataBiConnection.d.mts +4 -0
- package/Models/DatabaseModels/DataBiConnection.d.ts +4 -0
- package/Models/DatabaseModels/DataBiConnection.js +59 -2
- 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 +9 -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/RumProductAnalyticsSavedView.d.mts +20 -0
- package/Models/DatabaseModels/RumProductAnalyticsSavedView.d.ts +20 -0
- package/Models/DatabaseModels/RumProductAnalyticsSavedView.js +353 -0
- package/Models/DatabaseModels/RumProductAnalyticsSavedView.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/WhatsAppLog.d.mts +3 -0
- package/Models/DatabaseModels/WhatsAppLog.d.ts +3 -0
- package/Models/DatabaseModels/WhatsAppLog.js +62 -0
- package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
- package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.mts +20 -0
- package/Models/DatabaseModels/WorkspaceProjectAuthToken.d.ts +20 -0
- package/Models/DatabaseModels/WorkspaceUserGroup.js +1 -1
- package/Server/Services/DatabaseService.d.mts +1 -0
- package/Server/Services/DatabaseService.d.ts +1 -0
- package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.mts +213 -0
- package/Server/Utils/Telemetry/NotificationDeliveryMetrics.d.ts +213 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +4 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +4 -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 +20 -1
- package/Types/AI/AIChatTypes.d.ts +20 -1
- package/Types/AI/AIChatTypes.js +46 -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/InvestigationNotStartedReason.d.mts +7 -0
- package/Types/AI/InvestigationNotStartedReason.d.ts +7 -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/CodeInSentence.d.mts +8 -0
- package/Types/CodeInSentence.d.ts +8 -0
- package/Types/CodeInSentence.js +875 -0
- package/Types/CodeInSentence.mjs +4 -0
- 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/Dashboard/DashboardComponentType.d.mts +2 -0
- package/Types/Dashboard/DashboardComponentType.d.ts +2 -0
- package/Types/Dashboard/DashboardComponentType.js +7 -0
- package/Types/Dashboard/DashboardComponents/ComponentArgument.d.mts +3 -1
- package/Types/Dashboard/DashboardComponents/ComponentArgument.d.ts +3 -1
- package/Types/Dashboard/DashboardComponents/ComponentArgument.js +3 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsFunnelComponent.d.mts +11 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsFunnelComponent.d.ts +11 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsFunnelComponent.js +2 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsFunnelComponent.mjs +1 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsRetentionComponent.d.mts +11 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsRetentionComponent.d.ts +11 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsRetentionComponent.js +2 -0
- package/Types/Dashboard/DashboardComponents/DashboardProductAnalyticsRetentionComponent.mjs +1 -0
- package/Types/Dashboard/PublicDashboardServedSettings.js +15 -7
- package/Types/DataObservability/DataBiRefreshAlert.d.mts +44 -0
- package/Types/DataObservability/DataBiRefreshAlert.d.ts +44 -0
- package/Types/DataObservability/DataBiRefreshAlert.js +206 -0
- package/Types/DataObservability/DataBiRefreshAlert.mjs +12 -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 +8 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +8 -0
- package/Types/DataObservability/DataObservabilityApiTypes.js +14 -0
- package/Types/DataObservability/DataTableLineage.d.mts +29 -1
- package/Types/DataObservability/DataTableLineage.d.ts +29 -1
- package/Types/DataObservability/DataTableLineage.js +27 -7
- package/Types/DataObservability/DataTableLineage.mjs +3 -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/HashedString.js +9 -2
- 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 +18 -0
- package/Types/Monitor/CriteriaFilterValues.d.ts +18 -0
- package/Types/Monitor/CriteriaFilterValues.js +346 -0
- package/Types/Monitor/CriteriaFilterValues.mjs +2 -0
- package/Types/Monitor/DataBiRefreshMonitorStep.d.mts +13 -0
- package/Types/Monitor/DataBiRefreshMonitorStep.d.ts +13 -0
- package/Types/Monitor/DataBiRefreshMonitorStep.js +108 -0
- package/Types/Monitor/DataBiRefreshMonitorStep.mjs +3 -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/IncomingEmailMonitor/IncomingEmailMonitorRequest.d.mts +1 -0
- package/Types/Monitor/IncomingEmailMonitor/IncomingEmailMonitorRequest.d.ts +1 -0
- package/Types/Monitor/MonitorCriteriaInstance.js +22 -2
- package/Types/Monitor/MonitorStep.js +28 -11
- package/Types/Monitor/MonitorStepMetricMonitor.js +6 -1
- package/Types/Monitor/MonitorStepRollingTime.d.mts +12 -0
- package/Types/Monitor/MonitorStepRollingTime.d.ts +12 -0
- package/Types/Monitor/MonitorStepRollingTime.js +117 -0
- package/Types/Monitor/MonitorStepRollingTime.mjs +2 -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/SeriesContext/SeriesLabelDisplay.js +11 -0
- package/Types/Monitor/ServerMonitor/ServerMonitorResponse.d.mts +1 -0
- package/Types/Monitor/ServerMonitor/ServerMonitorResponse.d.ts +1 -0
- package/Types/Monitor/TelemetryAlertRule.js +7 -2
- 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/NotificationRule/NotificationRepeat.d.mts +10 -0
- package/Types/NotificationRule/NotificationRepeat.d.ts +10 -0
- package/Types/NotificationRule/NotificationRepeat.js +51 -0
- package/Types/NotificationRule/NotificationRepeat.mjs +2 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.d.mts +70 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.d.ts +70 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.js +276 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgePage.mjs +12 -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/OnCallEscalationWait.d.mts +9 -0
- package/Types/OnCallDutyPolicy/OnCallEscalationWait.d.ts +9 -0
- package/Types/OnCallDutyPolicy/OnCallEscalationWait.js +44 -0
- package/Types/OnCallDutyPolicy/OnCallEscalationWait.mjs +5 -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/Probe/ProbeMonitorResponse.d.mts +1 -0
- package/Types/Probe/ProbeMonitorResponse.d.ts +1 -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 +4 -0
- package/Types/ReadingDirection.d.ts +4 -0
- package/Types/ReadingDirection.js +303 -26
- package/Types/ReadingDirection.mjs +4 -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 +8 -0
- package/Types/RollingTime/RollingTimeUtil.d.ts +8 -0
- package/Types/RollingTime/RollingTimeUtil.js +249 -71
- package/Types/Rum/ProductAnalyticsSavedViews.d.mts +56 -0
- package/Types/Rum/ProductAnalyticsSavedViews.d.ts +56 -0
- package/Types/Rum/ProductAnalyticsSavedViews.js +219 -0
- package/Types/Rum/ProductAnalyticsSavedViews.mjs +14 -0
- package/Types/SecurityEvent/Connectors/SecurityEventConnectorCatalog.js +116 -108
- 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/ServiceType.d.mts +1 -0
- package/Types/Telemetry/ServiceType.d.ts +1 -0
- package/Types/Telemetry/ServiceType.js +6 -0
- 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/Crypto.js +10 -3
- package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.d.mts +7 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.d.ts +7 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.js +67 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.mjs +2 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.d.mts +7 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.d.ts +7 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.js +68 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.mjs +2 -0
- package/Utils/Dashboard/DashboardWidgetIds.js +6 -1
- 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/Metrics/MetricQueryCloudAggregation.js +2 -4
- 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/MonitorRootCauseWording.js +28 -24
- 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/MonitorStepMetricQueries.js +2 -1
- package/Utils/Monitor/MonitorStepsValuesUtil.d.mts +13 -0
- package/Utils/Monitor/MonitorStepsValuesUtil.d.ts +13 -0
- package/Utils/Monitor/MonitorStepsValuesUtil.js +80 -0
- package/Utils/Monitor/MonitorStepsValuesUtil.mjs +2 -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/SloProjection.d.mts +18 -0
- package/Utils/Slo/SloProjection.d.ts +18 -0
- package/Utils/Slo/SloProjection.js +53 -12
- package/Utils/Slo/SloProjection.mjs +2 -0
- 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 -10
- package/Utils/StatusPage/ResourceExplorer.d.ts +1 -10
- package/Utils/StatusPage/ResourceExplorer.js +11 -29
- 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,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* ASK AI SETS THINGS UP (issue #6829): the setup actions, by name.
|
|
4
|
+
*
|
|
5
|
+
* "Monitor example.com and text me if it is down" is one plan: a website
|
|
6
|
+
* monitor, and an on-call policy that pages the person. Ask AI proposes
|
|
7
|
+
* every part of a plan in one answer, so the person approves it on one card
|
|
8
|
+
* (Dashboard ToolApprovalCard), part by part - and since these actions make
|
|
9
|
+
* something that pages people or that customers see, they wait for that
|
|
10
|
+
* approval in every permission mode, Auto-run included
|
|
11
|
+
* (Server/Utils/AI/Toolbox/SetupTools, ChatAgentRunner).
|
|
12
|
+
*
|
|
13
|
+
* The server registers the tools under these names; the Dashboard reads
|
|
14
|
+
* them to draw a plan's card ("Nothing else changes.") and to count what
|
|
15
|
+
* people do with it (ask_ai/setup_proposed, ask_ai/setup_approved). React-
|
|
16
|
+
* and server-free.
|
|
17
|
+
*/
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.AI_SETUP_ACTION_TOOL_NAMES = exports.AI_SETUP_ACTION_PARTS = exports.WHO_IS_TOLD_TOOL_NAME = exports.ADD_MONITORS_TO_STATUS_PAGE_TOOL_NAME = exports.PUBLISH_STATUS_PAGE_TOOL_NAME = exports.SET_UP_PAGING_TOOL_NAME = exports.SET_UP_WEBSITE_MONITORING_TOOL_NAME = void 0;
|
|
20
|
+
exports.isAISetupAction = isAISetupAction;
|
|
21
|
+
exports.getAISetupPlanParts = getAISetupPlanParts;
|
|
22
|
+
exports.SET_UP_WEBSITE_MONITORING_TOOL_NAME = "set_up_website_monitoring";
|
|
23
|
+
exports.SET_UP_PAGING_TOOL_NAME = "set_up_paging";
|
|
24
|
+
exports.PUBLISH_STATUS_PAGE_TOOL_NAME = "publish_status_page";
|
|
25
|
+
exports.ADD_MONITORS_TO_STATUS_PAGE_TOOL_NAME = "add_monitors_to_status_page";
|
|
26
|
+
/*
|
|
27
|
+
* The read beside them: who is told when a monitor goes down, from #6810's
|
|
28
|
+
* resolver - how Ask AI answers "who is told when example.com goes down?"
|
|
29
|
+
* once it is set up.
|
|
30
|
+
*/
|
|
31
|
+
exports.WHO_IS_TOLD_TOOL_NAME = "who_is_told";
|
|
32
|
+
/*
|
|
33
|
+
* Each setup action, and the word analytics names its part of a plan by
|
|
34
|
+
* (a token: never a name or an address).
|
|
35
|
+
*/
|
|
36
|
+
exports.AI_SETUP_ACTION_PARTS = {
|
|
37
|
+
[exports.SET_UP_PAGING_TOOL_NAME]: "paging",
|
|
38
|
+
[exports.SET_UP_WEBSITE_MONITORING_TOOL_NAME]: "website_monitor",
|
|
39
|
+
[exports.PUBLISH_STATUS_PAGE_TOOL_NAME]: "status_page",
|
|
40
|
+
[exports.ADD_MONITORS_TO_STATUS_PAGE_TOOL_NAME]: "status_page_monitors",
|
|
41
|
+
};
|
|
42
|
+
exports.AI_SETUP_ACTION_TOOL_NAMES = Object.keys(exports.AI_SETUP_ACTION_PARTS);
|
|
43
|
+
function isAISetupAction(toolName) {
|
|
44
|
+
return Boolean(toolName) && exports.AI_SETUP_ACTION_TOOL_NAMES.includes(toolName);
|
|
45
|
+
}
|
|
46
|
+
/*
|
|
47
|
+
* The parts of a plan as analytics carries them: each part's word once, in
|
|
48
|
+
* the order the plan runs them, joined by "." ("paging.website_monitor").
|
|
49
|
+
*/
|
|
50
|
+
function getAISetupPlanParts(toolNames) {
|
|
51
|
+
return exports.AI_SETUP_ACTION_TOOL_NAMES.filter((toolName) => {
|
|
52
|
+
return toolNames.includes(toolName);
|
|
53
|
+
}).map((toolName) => {
|
|
54
|
+
return exports.AI_SETUP_ACTION_PARTS[toolName];
|
|
55
|
+
});
|
|
56
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import commonJsModule from "./AISetupActions.js";
|
|
2
|
+
export const ADD_MONITORS_TO_STATUS_PAGE_TOOL_NAME = commonJsModule.ADD_MONITORS_TO_STATUS_PAGE_TOOL_NAME;
|
|
3
|
+
export const AI_SETUP_ACTION_PARTS = commonJsModule.AI_SETUP_ACTION_PARTS;
|
|
4
|
+
export const AI_SETUP_ACTION_TOOL_NAMES = commonJsModule.AI_SETUP_ACTION_TOOL_NAMES;
|
|
5
|
+
export const PUBLISH_STATUS_PAGE_TOOL_NAME = commonJsModule.PUBLISH_STATUS_PAGE_TOOL_NAME;
|
|
6
|
+
export const SET_UP_PAGING_TOOL_NAME = commonJsModule.SET_UP_PAGING_TOOL_NAME;
|
|
7
|
+
export const SET_UP_WEBSITE_MONITORING_TOOL_NAME = commonJsModule.SET_UP_WEBSITE_MONITORING_TOOL_NAME;
|
|
8
|
+
export const WHO_IS_TOLD_TOOL_NAME = commonJsModule.WHO_IS_TOLD_TOOL_NAME;
|
|
9
|
+
export const getAISetupPlanParts = commonJsModule.getAISetupPlanParts;
|
|
10
|
+
export const isAISetupAction = commonJsModule.isAISetupAction;
|
package/Types/AI/CodeTask.d.mts
CHANGED
|
@@ -265,6 +265,20 @@ export interface CodeTaskTurnJSON {
|
|
|
265
265
|
needsInput: boolean;
|
|
266
266
|
retry?: CodeTaskRetryJSON | undefined;
|
|
267
267
|
}
|
|
268
|
+
export interface CodeTaskTurnsNotShownJSON {
|
|
269
|
+
count: number;
|
|
270
|
+
workMilliseconds: number;
|
|
271
|
+
}
|
|
272
|
+
export interface CodeTaskLinkedTurnJSON {
|
|
273
|
+
number: number;
|
|
274
|
+
turn: CodeTaskTurnJSON;
|
|
275
|
+
}
|
|
276
|
+
export interface CodeTaskConversationJSON {
|
|
277
|
+
task: CodeTaskSummaryJSON;
|
|
278
|
+
turns: Array<CodeTaskTurnJSON>;
|
|
279
|
+
turnsNotShown?: CodeTaskTurnsNotShownJSON | undefined;
|
|
280
|
+
linkedTurn?: CodeTaskLinkedTurnJSON | undefined;
|
|
281
|
+
}
|
|
268
282
|
export interface CodeTaskTurnProgressJSON {
|
|
269
283
|
runId: string;
|
|
270
284
|
status: string;
|
package/Types/AI/CodeTask.d.ts
CHANGED
|
@@ -265,6 +265,20 @@ export interface CodeTaskTurnJSON {
|
|
|
265
265
|
needsInput: boolean;
|
|
266
266
|
retry?: CodeTaskRetryJSON | undefined;
|
|
267
267
|
}
|
|
268
|
+
export interface CodeTaskTurnsNotShownJSON {
|
|
269
|
+
count: number;
|
|
270
|
+
workMilliseconds: number;
|
|
271
|
+
}
|
|
272
|
+
export interface CodeTaskLinkedTurnJSON {
|
|
273
|
+
number: number;
|
|
274
|
+
turn: CodeTaskTurnJSON;
|
|
275
|
+
}
|
|
276
|
+
export interface CodeTaskConversationJSON {
|
|
277
|
+
task: CodeTaskSummaryJSON;
|
|
278
|
+
turns: Array<CodeTaskTurnJSON>;
|
|
279
|
+
turnsNotShown?: CodeTaskTurnsNotShownJSON | undefined;
|
|
280
|
+
linkedTurn?: CodeTaskLinkedTurnJSON | undefined;
|
|
281
|
+
}
|
|
268
282
|
export interface CodeTaskTurnProgressJSON {
|
|
269
283
|
runId: string;
|
|
270
284
|
status: string;
|
|
@@ -11,6 +11,13 @@ export default interface InvestigationNotStartedReason {
|
|
|
11
11
|
source: "recorded" | "current_configuration" | "unknown";
|
|
12
12
|
evaluatedAt: string;
|
|
13
13
|
decidedAfterWaitMinutes?: number | undefined;
|
|
14
|
+
facts?: InvestigationNotStartedFacts | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface InvestigationNotStartedFacts {
|
|
17
|
+
severityName?: string | undefined;
|
|
18
|
+
minimumSeverityName?: string | undefined;
|
|
19
|
+
cooldownWindowMinutes?: number | undefined;
|
|
20
|
+
dailyTokenLimit?: number | undefined;
|
|
14
21
|
}
|
|
15
22
|
export interface InvestigationGateDetails {
|
|
16
23
|
severityName?: string | undefined;
|
|
@@ -11,6 +11,13 @@ export default interface InvestigationNotStartedReason {
|
|
|
11
11
|
source: "recorded" | "current_configuration" | "unknown";
|
|
12
12
|
evaluatedAt: string;
|
|
13
13
|
decidedAfterWaitMinutes?: number | undefined;
|
|
14
|
+
facts?: InvestigationNotStartedFacts | undefined;
|
|
15
|
+
}
|
|
16
|
+
export interface InvestigationNotStartedFacts {
|
|
17
|
+
severityName?: string | undefined;
|
|
18
|
+
minimumSeverityName?: string | undefined;
|
|
19
|
+
cooldownWindowMinutes?: number | undefined;
|
|
20
|
+
dailyTokenLimit?: number | undefined;
|
|
14
21
|
}
|
|
15
22
|
export interface InvestigationGateDetails {
|
|
16
23
|
severityName?: string | undefined;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type RecordAiTokenLimitKind = "incident" | "alert";
|
|
2
|
+
export declare const RECORD_AI_TOKEN_LIMIT_KINDS: ReadonlyArray<RecordAiTokenLimitKind>;
|
|
3
|
+
export interface RecordAiTokenLimitState {
|
|
4
|
+
limitInTokens: number | null;
|
|
5
|
+
usedTokensToday: number;
|
|
6
|
+
}
|
|
7
|
+
export interface RecordAiTokenLimitWords {
|
|
8
|
+
limitName: string;
|
|
9
|
+
location: string;
|
|
10
|
+
paused: string;
|
|
11
|
+
pausedStep: string;
|
|
12
|
+
usedUp: string;
|
|
13
|
+
usedUpStep: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const RECORD_AI_TOKEN_LIMIT_WORDS: Readonly<Record<RecordAiTokenLimitKind, RecordAiTokenLimitWords>>;
|
|
16
|
+
export declare function isRecordAiTokenLimitPaused(limitInTokens: number | null | undefined): boolean;
|
|
17
|
+
export declare function getRecordAiTokenLimitMessage(kind: RecordAiTokenLimitKind, state?: Pick<RecordAiTokenLimitState, "limitInTokens"> | null | undefined): string;
|
|
18
|
+
export declare function getRecordAiTokenLimitRunError(kind: RecordAiTokenLimitKind, state: RecordAiTokenLimitState): string;
|
|
19
|
+
export declare const RECORD_AI_TOKEN_LIMIT_PATTERNS: ReadonlyArray<RegExp>;
|
|
20
|
+
export interface RecordAiTokenLimitStop {
|
|
21
|
+
kind: RecordAiTokenLimitKind;
|
|
22
|
+
isPaused: boolean;
|
|
23
|
+
}
|
|
24
|
+
export declare function readRecordAiTokenLimitStop(message: string | null | undefined): RecordAiTokenLimitStop | null;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type RecordAiTokenLimitKind = "incident" | "alert";
|
|
2
|
+
export declare const RECORD_AI_TOKEN_LIMIT_KINDS: ReadonlyArray<RecordAiTokenLimitKind>;
|
|
3
|
+
export interface RecordAiTokenLimitState {
|
|
4
|
+
limitInTokens: number | null;
|
|
5
|
+
usedTokensToday: number;
|
|
6
|
+
}
|
|
7
|
+
export interface RecordAiTokenLimitWords {
|
|
8
|
+
limitName: string;
|
|
9
|
+
location: string;
|
|
10
|
+
paused: string;
|
|
11
|
+
pausedStep: string;
|
|
12
|
+
usedUp: string;
|
|
13
|
+
usedUpStep: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const RECORD_AI_TOKEN_LIMIT_WORDS: Readonly<Record<RecordAiTokenLimitKind, RecordAiTokenLimitWords>>;
|
|
16
|
+
export declare function isRecordAiTokenLimitPaused(limitInTokens: number | null | undefined): boolean;
|
|
17
|
+
export declare function getRecordAiTokenLimitMessage(kind: RecordAiTokenLimitKind, state?: Pick<RecordAiTokenLimitState, "limitInTokens"> | null | undefined): string;
|
|
18
|
+
export declare function getRecordAiTokenLimitRunError(kind: RecordAiTokenLimitKind, state: RecordAiTokenLimitState): string;
|
|
19
|
+
export declare const RECORD_AI_TOKEN_LIMIT_PATTERNS: ReadonlyArray<RegExp>;
|
|
20
|
+
export interface RecordAiTokenLimitStop {
|
|
21
|
+
kind: RecordAiTokenLimitKind;
|
|
22
|
+
isPaused: boolean;
|
|
23
|
+
}
|
|
24
|
+
export declare function readRecordAiTokenLimitStop(message: string | null | undefined): RecordAiTokenLimitStop | null;
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* An incident's or alert's own daily AI token limit (issue #7157), in the
|
|
4
|
+
* words every message about it shares.
|
|
5
|
+
*
|
|
6
|
+
* Each kind of record has a limit of its own for automatic AI work: the
|
|
7
|
+
* Daily Incident AI Token Limit and the Daily Alert AI Token Limit, under
|
|
8
|
+
* Incidents (Alerts) → AI → Settings → More settings. It counts every
|
|
9
|
+
* incident's (alert's) automatic AI work together, over the UTC day. Once
|
|
10
|
+
* the work used it up, the next model call is refused until midnight UTC,
|
|
11
|
+
* or until someone raises the limit. A limit of 0 (or below) is a pause
|
|
12
|
+
* instead: waiting does not lift it, only raising it above 0 or clearing
|
|
13
|
+
* it does.
|
|
14
|
+
*
|
|
15
|
+
* These are not the project's own daily AI limits (Project Settings → AI →
|
|
16
|
+
* AI Features → More settings), which stop all AI work of the project and
|
|
17
|
+
* have words of their own (Types/AI/ProjectAiDailyLimits).
|
|
18
|
+
*
|
|
19
|
+
* The run's error (AIService), Try again and Investigate now on an
|
|
20
|
+
* investigation, Try again on an AI fix, and Ask AI's start_investigation
|
|
21
|
+
* say the stop in these words. The Dashboard holds the same sentences as
|
|
22
|
+
* translation keys (AiRunFailureWords, RemediationStepCopy), and tests hold
|
|
23
|
+
* the two to each other, so a sentence changed here is changed there too.
|
|
24
|
+
*/
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.RECORD_AI_TOKEN_LIMIT_PATTERNS = exports.RECORD_AI_TOKEN_LIMIT_WORDS = exports.RECORD_AI_TOKEN_LIMIT_KINDS = void 0;
|
|
27
|
+
exports.isRecordAiTokenLimitPaused = isRecordAiTokenLimitPaused;
|
|
28
|
+
exports.getRecordAiTokenLimitMessage = getRecordAiTokenLimitMessage;
|
|
29
|
+
exports.getRecordAiTokenLimitRunError = getRecordAiTokenLimitRunError;
|
|
30
|
+
exports.readRecordAiTokenLimitStop = readRecordAiTokenLimitStop;
|
|
31
|
+
exports.RECORD_AI_TOKEN_LIMIT_KINDS = ["incident", "alert"];
|
|
32
|
+
/*
|
|
33
|
+
* Every sentence whole, for each kind, so a language words each one its
|
|
34
|
+
* own way (the Dashboard's keys are these very sentences).
|
|
35
|
+
*/
|
|
36
|
+
exports.RECORD_AI_TOKEN_LIMIT_WORDS = {
|
|
37
|
+
incident: {
|
|
38
|
+
limitName: "Daily Incident AI Token Limit",
|
|
39
|
+
location: "Incidents → AI → Settings → More settings",
|
|
40
|
+
paused: "The Daily Incident AI Token Limit is set to 0, which pauses automatic AI work for incidents.",
|
|
41
|
+
pausedStep: "Raise it above 0 under Incidents → AI → Settings → More settings, or clear it, then try again.",
|
|
42
|
+
usedUp: "Automatic AI work for incidents used up today's Daily Incident AI Token Limit.",
|
|
43
|
+
usedUpStep: "Raise or clear it under Incidents → AI → Settings → More settings, or wait until midnight UTC, when it resets. Then try again.",
|
|
44
|
+
},
|
|
45
|
+
alert: {
|
|
46
|
+
limitName: "Daily Alert AI Token Limit",
|
|
47
|
+
location: "Alerts → AI → Settings → More settings",
|
|
48
|
+
paused: "The Daily Alert AI Token Limit is set to 0, which pauses automatic AI work for alerts.",
|
|
49
|
+
pausedStep: "Raise it above 0 under Alerts → AI → Settings → More settings, or clear it, then try again.",
|
|
50
|
+
usedUp: "Automatic AI work for alerts used up today's Daily Alert AI Token Limit.",
|
|
51
|
+
usedUpStep: "Raise or clear it under Alerts → AI → Settings → More settings, or wait until midnight UTC, when it resets. Then try again.",
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
/*
|
|
55
|
+
* A limit of 0, or below, pauses the work rather than running out: the safe
|
|
56
|
+
* reading of "0 tokens allowed", which the AI card and the server's reasons
|
|
57
|
+
* read the same way. No limit (null) never stops anything.
|
|
58
|
+
*/
|
|
59
|
+
function isRecordAiTokenLimitPaused(limitInTokens) {
|
|
60
|
+
return (typeof limitInTokens === "number" &&
|
|
61
|
+
!Number.isNaN(limitInTokens) &&
|
|
62
|
+
limitInTokens <= 0);
|
|
63
|
+
}
|
|
64
|
+
/*
|
|
65
|
+
* What stopped the work, and what to do, as one message with no numbers:
|
|
66
|
+
* Try again's and Investigate now's refusals, and a refused AI fix.
|
|
67
|
+
* Without a state, the limit is taken as used up - the only way the work
|
|
68
|
+
* stops when the limit could not be read back.
|
|
69
|
+
*/
|
|
70
|
+
function getRecordAiTokenLimitMessage(kind, state) {
|
|
71
|
+
const words = exports.RECORD_AI_TOKEN_LIMIT_WORDS[kind];
|
|
72
|
+
return isRecordAiTokenLimitPaused(state === null || state === void 0 ? void 0 : state.limitInTokens)
|
|
73
|
+
? `${words.paused} ${words.pausedStep}`
|
|
74
|
+
: `${words.usedUp} ${words.usedUpStep}`;
|
|
75
|
+
}
|
|
76
|
+
/*
|
|
77
|
+
* The error a model call is refused with (AIService), which becomes the
|
|
78
|
+
* run's error: the paused message as it is, and a used-up limit with how
|
|
79
|
+
* much of it today's work used - "Automatic AI work for incidents used
|
|
80
|
+
* 1,200 of its Daily Incident AI Token Limit of 1,000 tokens today." - for
|
|
81
|
+
* whoever reads the API or the AI Logs. Numbers in English, as every other
|
|
82
|
+
* server message writes them.
|
|
83
|
+
*/
|
|
84
|
+
function getRecordAiTokenLimitRunError(kind, state) {
|
|
85
|
+
const words = exports.RECORD_AI_TOKEN_LIMIT_WORDS[kind];
|
|
86
|
+
if (isRecordAiTokenLimitPaused(state.limitInTokens)) {
|
|
87
|
+
return `${words.paused} ${words.pausedStep}`;
|
|
88
|
+
}
|
|
89
|
+
const used = Math.max(0, state.usedTokensToday).toLocaleString("en-US");
|
|
90
|
+
const limit = (state.limitInTokens || 0).toLocaleString("en-US");
|
|
91
|
+
const records = kind === "incident" ? "incidents" : "alerts";
|
|
92
|
+
return `Automatic AI work for ${records} used ${used} of its ${words.limitName} of ${limit} tokens today. ${words.usedUpStep}`;
|
|
93
|
+
}
|
|
94
|
+
/*
|
|
95
|
+
* The run errors a record's limit stopped, read back: the words above, and
|
|
96
|
+
* the words a run failed with before them, which runs already stored keep.
|
|
97
|
+
* Each pattern is a fixed phrase around one bounded run of digits, so
|
|
98
|
+
* reading an error takes time in step with its length.
|
|
99
|
+
*
|
|
100
|
+
* - "The Daily Incident AI Token Limit is set to 0, ..." (paused)
|
|
101
|
+
* - "Automatic AI work for incidents used up today's Daily Incident AI
|
|
102
|
+
* Token Limit." and "... used 1,200 of its Daily Incident AI Token
|
|
103
|
+
* Limit of 1,000 tokens today." (used up)
|
|
104
|
+
* - Before: "Daily autonomous AI token budget exhausted (0 of 0 tokens
|
|
105
|
+
* used today). Autonomous AI requests resume tomorrow (UTC) — raise or
|
|
106
|
+
* unset the limit under Incidents > AI > Settings." A limit of 0 or
|
|
107
|
+
* below was a pause then too, whatever the words said. The oldest of
|
|
108
|
+
* them named no record ("in the AI settings pages"): those are read as
|
|
109
|
+
* no record's limit.
|
|
110
|
+
*/
|
|
111
|
+
const PAUSED_PATTERN = /\bDaily (Incident|Alert) AI Token Limit is set to 0\b/i;
|
|
112
|
+
const USED_UP_PATTERN = /\bused (?:up today's|[\d,]{1,20} of its) Daily (Incident|Alert) AI Token Limit\b/i;
|
|
113
|
+
const OLD_BUDGET_PATTERN = /\btoken budget exhausted \(-?[\d,.]{1,20} of (-?[\d,.]{1,20}) tokens used today\)/i;
|
|
114
|
+
const OLD_SETTINGS_PATTERN = /\bunder (Incidents|Alerts) > AI > Settings\b/i;
|
|
115
|
+
const NOT_A_DIGIT = /\D/g;
|
|
116
|
+
exports.RECORD_AI_TOKEN_LIMIT_PATTERNS = [
|
|
117
|
+
PAUSED_PATTERN,
|
|
118
|
+
USED_UP_PATTERN,
|
|
119
|
+
OLD_BUDGET_PATTERN,
|
|
120
|
+
OLD_SETTINGS_PATTERN,
|
|
121
|
+
];
|
|
122
|
+
function toKind(word) {
|
|
123
|
+
return (word || "").toLowerCase().startsWith("alert") ? "alert" : "incident";
|
|
124
|
+
}
|
|
125
|
+
/*
|
|
126
|
+
* Which record's limit stopped a run, and whether it was paused, read from
|
|
127
|
+
* the run's error. Null for any other error - the project's own daily AI
|
|
128
|
+
* limits among them, and the oldest budget errors that name no record.
|
|
129
|
+
*/
|
|
130
|
+
function readRecordAiTokenLimitStop(message) {
|
|
131
|
+
// What decides it is at an error's start.
|
|
132
|
+
const text = (message || "").substring(0, 2000);
|
|
133
|
+
const paused = PAUSED_PATTERN.exec(text);
|
|
134
|
+
if (paused) {
|
|
135
|
+
return { kind: toKind(paused[1]), isPaused: true };
|
|
136
|
+
}
|
|
137
|
+
const usedUp = USED_UP_PATTERN.exec(text);
|
|
138
|
+
if (usedUp) {
|
|
139
|
+
return { kind: toKind(usedUp[1]), isPaused: false };
|
|
140
|
+
}
|
|
141
|
+
const oldBudget = OLD_BUDGET_PATTERN.exec(text);
|
|
142
|
+
const oldSettings = OLD_SETTINGS_PATTERN.exec(text);
|
|
143
|
+
if (!oldBudget || !oldSettings) {
|
|
144
|
+
return null;
|
|
145
|
+
}
|
|
146
|
+
const limitText = oldBudget[1] || "";
|
|
147
|
+
const limitDigits = limitText.replace(NOT_A_DIGIT, "");
|
|
148
|
+
const limit = (limitText.startsWith("-") ? -1 : 1) * Number(limitDigits || "0");
|
|
149
|
+
return {
|
|
150
|
+
kind: toKind(oldSettings[1]),
|
|
151
|
+
isPaused: isRecordAiTokenLimitPaused(limit),
|
|
152
|
+
};
|
|
153
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import commonJsModule from "./RecordAiTokenLimit.js";
|
|
2
|
+
export const RECORD_AI_TOKEN_LIMIT_KINDS = commonJsModule.RECORD_AI_TOKEN_LIMIT_KINDS;
|
|
3
|
+
export const RECORD_AI_TOKEN_LIMIT_PATTERNS = commonJsModule.RECORD_AI_TOKEN_LIMIT_PATTERNS;
|
|
4
|
+
export const RECORD_AI_TOKEN_LIMIT_WORDS = commonJsModule.RECORD_AI_TOKEN_LIMIT_WORDS;
|
|
5
|
+
export const getRecordAiTokenLimitMessage = commonJsModule.getRecordAiTokenLimitMessage;
|
|
6
|
+
export const getRecordAiTokenLimitRunError = commonJsModule.getRecordAiTokenLimitRunError;
|
|
7
|
+
export const isRecordAiTokenLimitPaused = commonJsModule.isRecordAiTokenLimitPaused;
|
|
8
|
+
export const readRecordAiTokenLimitStop = commonJsModule.readRecordAiTokenLimitStop;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const TWO_FACTOR_MESSAGES: {
|
|
2
|
+
wrongCode: string;
|
|
3
|
+
wrongBackupCode: string;
|
|
4
|
+
authenticatorGone: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const INCOMPLETE_VERIFICATION_LINK_MESSAGE: string;
|
|
7
|
+
export declare const INCOMPLETE_RESET_LINK_MESSAGE: string;
|
|
8
|
+
export declare const getAccountAlreadyExistsMessage: (email: string) => string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const TWO_FACTOR_MESSAGES: {
|
|
2
|
+
wrongCode: string;
|
|
3
|
+
wrongBackupCode: string;
|
|
4
|
+
authenticatorGone: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const INCOMPLETE_VERIFICATION_LINK_MESSAGE: string;
|
|
7
|
+
export declare const INCOMPLETE_RESET_LINK_MESSAGE: string;
|
|
8
|
+
export declare const getAccountAlreadyExistsMessage: (email: string) => string;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* What the sign-up and sign-in routes answer when they refuse (#6836):
|
|
4
|
+
* what happened and what to do next, rather than "Invalid code." or "Invalid
|
|
5
|
+
* two factor auth id.". Shared by the routes (Identity/API/Authentication.ts)
|
|
6
|
+
* and their tests. React-free and server-safe.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.getAccountAlreadyExistsMessage = exports.INCOMPLETE_RESET_LINK_MESSAGE = exports.INCOMPLETE_VERIFICATION_LINK_MESSAGE = exports.TWO_FACTOR_MESSAGES = void 0;
|
|
10
|
+
exports.TWO_FACTOR_MESSAGES = {
|
|
11
|
+
wrongCode: "That code is not right. Enter the 6-digit code your authenticator app shows now.",
|
|
12
|
+
/*
|
|
13
|
+
* One answer for a code that does not exist, one already used and one of
|
|
14
|
+
* somebody else's: telling them apart would let a photographed list be
|
|
15
|
+
* checked for the codes still live.
|
|
16
|
+
*/
|
|
17
|
+
wrongBackupCode: "That backup code is not right, or it was already used. Each backup code works once.",
|
|
18
|
+
authenticatorGone: "This authenticator is no longer set up for your account. Go back and sign in again.",
|
|
19
|
+
};
|
|
20
|
+
// A verify-email link that reached OneUptime without its token.
|
|
21
|
+
exports.INCOMPLETE_VERIFICATION_LINK_MESSAGE = "This verification link is incomplete. Open the link from the email again, or sign in to get a new one.";
|
|
22
|
+
// A reset-password link that reached OneUptime without its token.
|
|
23
|
+
exports.INCOMPLETE_RESET_LINK_MESSAGE = "This password reset link is incomplete. Open the link from the email again, or ask for a new one on the Forgot Password page.";
|
|
24
|
+
// A sign-up with an email address that already has an account.
|
|
25
|
+
const getAccountAlreadyExistsMessage = (email) => {
|
|
26
|
+
return `An account with ${email} already exists. Sign in instead, or reset your password if you have forgotten it.`;
|
|
27
|
+
};
|
|
28
|
+
exports.getAccountAlreadyExistsMessage = getAccountAlreadyExistsMessage;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import commonJsModule from "./SignInMessages.js";
|
|
2
|
+
export const INCOMPLETE_RESET_LINK_MESSAGE = commonJsModule.INCOMPLETE_RESET_LINK_MESSAGE;
|
|
3
|
+
export const INCOMPLETE_VERIFICATION_LINK_MESSAGE = commonJsModule.INCOMPLETE_VERIFICATION_LINK_MESSAGE;
|
|
4
|
+
export const TWO_FACTOR_MESSAGES = commonJsModule.TWO_FACTOR_MESSAGES;
|
|
5
|
+
export const getAccountAlreadyExistsMessage = commonJsModule.getAccountAlreadyExistsMessage;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import UserNotificationStatus from "../UserNotification/UserNotificationStatus.mjs";
|
|
2
|
+
declare enum ActivationMilestone {
|
|
3
|
+
FirstMonitorCreated = "first_monitor_created",
|
|
4
|
+
FirstCheckResultReceived = "first_check_result_received",
|
|
5
|
+
FirstNotificationDelivered = "first_notification_delivered",
|
|
6
|
+
FirstTestPageAcknowledged = "first_test_page_acknowledged",
|
|
7
|
+
FirstIncidentOrAlertAcknowledged = "first_incident_or_alert_acknowledged",
|
|
8
|
+
SecondMemberJoined = "second_member_joined",
|
|
9
|
+
FirstStatusPageMonitorAdded = "first_status_page_monitor_added",
|
|
10
|
+
FirstStatusPageSubscriberAdded = "first_status_page_subscriber_added",
|
|
11
|
+
FirstOnCallPolicyExecuted = "first_on_call_policy_executed",
|
|
12
|
+
FirstLogsReceived = "first_logs_received",
|
|
13
|
+
FirstTracesReceived = "first_traces_received",
|
|
14
|
+
FirstMetricsReceived = "first_metrics_received",
|
|
15
|
+
FirstExceptionsReceived = "first_exceptions_received",
|
|
16
|
+
FirstProfilesReceived = "first_profiles_received"
|
|
17
|
+
}
|
|
18
|
+
export default ActivationMilestone;
|
|
19
|
+
export declare const ACTIVATION_EVENT_AREA: string;
|
|
20
|
+
export declare const getActivationMilestoneEventName: (milestone: ActivationMilestone) => string;
|
|
21
|
+
export interface ActivationMilestoneDetail {
|
|
22
|
+
milestone: ActivationMilestone;
|
|
23
|
+
title: string;
|
|
24
|
+
missingText: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const ACTIVATION_MILESTONE_DETAILS: ReadonlyArray<ActivationMilestoneDetail>;
|
|
27
|
+
export declare const ALL_ACTIVATION_MILESTONES: ReadonlyArray<ActivationMilestone>;
|
|
28
|
+
export declare const isActivationMilestone: (value: unknown) => value is ActivationMilestone;
|
|
29
|
+
export declare const getActivationMilestoneDetail: (milestone: ActivationMilestone) => ActivationMilestoneDetail;
|
|
30
|
+
export declare const ACTIVATION_SETUP_STEPS: ReadonlyArray<ActivationMilestone>;
|
|
31
|
+
export declare const getActivationStuckAt: (reached: ReadonlyArray<ActivationMilestone> | Set<ActivationMilestone>) => ActivationMilestone | null;
|
|
32
|
+
export interface ActivationSetupSummary {
|
|
33
|
+
stuckAt: ActivationMilestone | null;
|
|
34
|
+
isSetUp: boolean;
|
|
35
|
+
text: string;
|
|
36
|
+
}
|
|
37
|
+
export declare const ACTIVATION_SET_UP_TEXT: string;
|
|
38
|
+
export declare const getActivationSetupSummary: (reached: ReadonlyArray<ActivationMilestone> | Set<ActivationMilestone>) => ActivationSetupSummary;
|
|
39
|
+
export declare enum ActivationTelemetryKind {
|
|
40
|
+
Logs = "logs",
|
|
41
|
+
Traces = "traces",
|
|
42
|
+
Metrics = "metrics",
|
|
43
|
+
Exceptions = "exceptions",
|
|
44
|
+
Profiles = "profiles"
|
|
45
|
+
}
|
|
46
|
+
export declare const ACTIVATION_MILESTONE_OF_TELEMETRY_KIND: Readonly<Record<ActivationTelemetryKind, ActivationMilestone>>;
|
|
47
|
+
export declare const DELIVERED_NOTIFICATION_STATUSES: ReadonlyArray<UserNotificationStatus>;
|
|
48
|
+
export declare const isNotificationDeliveredStatus: (status: UserNotificationStatus | string | null | undefined) => boolean;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import UserNotificationStatus from "../UserNotification/UserNotificationStatus";
|
|
2
|
+
declare enum ActivationMilestone {
|
|
3
|
+
FirstMonitorCreated = "first_monitor_created",
|
|
4
|
+
FirstCheckResultReceived = "first_check_result_received",
|
|
5
|
+
FirstNotificationDelivered = "first_notification_delivered",
|
|
6
|
+
FirstTestPageAcknowledged = "first_test_page_acknowledged",
|
|
7
|
+
FirstIncidentOrAlertAcknowledged = "first_incident_or_alert_acknowledged",
|
|
8
|
+
SecondMemberJoined = "second_member_joined",
|
|
9
|
+
FirstStatusPageMonitorAdded = "first_status_page_monitor_added",
|
|
10
|
+
FirstStatusPageSubscriberAdded = "first_status_page_subscriber_added",
|
|
11
|
+
FirstOnCallPolicyExecuted = "first_on_call_policy_executed",
|
|
12
|
+
FirstLogsReceived = "first_logs_received",
|
|
13
|
+
FirstTracesReceived = "first_traces_received",
|
|
14
|
+
FirstMetricsReceived = "first_metrics_received",
|
|
15
|
+
FirstExceptionsReceived = "first_exceptions_received",
|
|
16
|
+
FirstProfilesReceived = "first_profiles_received"
|
|
17
|
+
}
|
|
18
|
+
export default ActivationMilestone;
|
|
19
|
+
export declare const ACTIVATION_EVENT_AREA: string;
|
|
20
|
+
export declare const getActivationMilestoneEventName: (milestone: ActivationMilestone) => string;
|
|
21
|
+
export interface ActivationMilestoneDetail {
|
|
22
|
+
milestone: ActivationMilestone;
|
|
23
|
+
title: string;
|
|
24
|
+
missingText: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const ACTIVATION_MILESTONE_DETAILS: ReadonlyArray<ActivationMilestoneDetail>;
|
|
27
|
+
export declare const ALL_ACTIVATION_MILESTONES: ReadonlyArray<ActivationMilestone>;
|
|
28
|
+
export declare const isActivationMilestone: (value: unknown) => value is ActivationMilestone;
|
|
29
|
+
export declare const getActivationMilestoneDetail: (milestone: ActivationMilestone) => ActivationMilestoneDetail;
|
|
30
|
+
export declare const ACTIVATION_SETUP_STEPS: ReadonlyArray<ActivationMilestone>;
|
|
31
|
+
export declare const getActivationStuckAt: (reached: ReadonlyArray<ActivationMilestone> | Set<ActivationMilestone>) => ActivationMilestone | null;
|
|
32
|
+
export interface ActivationSetupSummary {
|
|
33
|
+
stuckAt: ActivationMilestone | null;
|
|
34
|
+
isSetUp: boolean;
|
|
35
|
+
text: string;
|
|
36
|
+
}
|
|
37
|
+
export declare const ACTIVATION_SET_UP_TEXT: string;
|
|
38
|
+
export declare const getActivationSetupSummary: (reached: ReadonlyArray<ActivationMilestone> | Set<ActivationMilestone>) => ActivationSetupSummary;
|
|
39
|
+
export declare enum ActivationTelemetryKind {
|
|
40
|
+
Logs = "logs",
|
|
41
|
+
Traces = "traces",
|
|
42
|
+
Metrics = "metrics",
|
|
43
|
+
Exceptions = "exceptions",
|
|
44
|
+
Profiles = "profiles"
|
|
45
|
+
}
|
|
46
|
+
export declare const ACTIVATION_MILESTONE_OF_TELEMETRY_KIND: Readonly<Record<ActivationTelemetryKind, ActivationMilestone>>;
|
|
47
|
+
export declare const DELIVERED_NOTIFICATION_STATUSES: ReadonlyArray<UserNotificationStatus>;
|
|
48
|
+
export declare const isNotificationDeliveredStatus: (status: UserNotificationStatus | string | null | undefined) => boolean;
|