@oneuptime/common 14.0.108 → 14.0.110
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/AnalyticsModels/SecurityEvent.js +1 -1
- package/Models/DatabaseModels/AIInsight.js +2 -2
- package/Models/DatabaseModels/Alert.js +2 -2
- package/Models/DatabaseModels/AlertEpisode.js +2 -2
- package/Models/DatabaseModels/AlertEpisodeOnCallRule.js +3 -3
- package/Models/DatabaseModels/AlertGroupingRule.d.mts +1 -0
- package/Models/DatabaseModels/AlertGroupingRule.d.ts +1 -0
- package/Models/DatabaseModels/AlertGroupingRule.js +48 -2
- package/Models/DatabaseModels/AlertOnCallRule.js +3 -3
- package/Models/DatabaseModels/AlertSeverity.js +13 -4
- package/Models/DatabaseModels/AlertState.js +1 -1
- package/Models/DatabaseModels/CallLog.js +12 -12
- package/Models/DatabaseModels/CloudApp.d.mts +5 -0
- package/Models/DatabaseModels/CloudApp.d.ts +5 -0
- package/Models/DatabaseModels/CloudApp.js +112 -0
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.mts +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.ts +2 -0
- package/Models/DatabaseModels/EmailLog.js +12 -12
- package/Models/DatabaseModels/FormSubmission.js +2 -2
- package/Models/DatabaseModels/GlobalConfig.d.mts +6 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +6 -0
- package/Models/DatabaseModels/GlobalConfig.js +139 -0
- package/Models/DatabaseModels/Incident.js +2 -2
- package/Models/DatabaseModels/IncidentEpisode.js +2 -2
- package/Models/DatabaseModels/IncidentEpisodeOnCallRule.js +3 -3
- package/Models/DatabaseModels/IncidentGroupingRule.d.mts +1 -0
- package/Models/DatabaseModels/IncidentGroupingRule.d.ts +1 -0
- package/Models/DatabaseModels/IncidentGroupingRule.js +48 -2
- package/Models/DatabaseModels/IncidentOnCallRule.js +3 -3
- package/Models/DatabaseModels/IncidentSeverity.js +13 -4
- package/Models/DatabaseModels/IncidentState.js +1 -1
- package/Models/DatabaseModels/IncidentTemplate.js +2 -2
- package/Models/DatabaseModels/Index.js +7 -0
- package/Models/DatabaseModels/Monitor.js +17 -3
- 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/NetworkDevice.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDevice.js +41 -0
- package/Models/DatabaseModels/OnCallDutyPolicy.js +4 -2
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRule.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleSchedule.js +8 -5
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleTeam.js +5 -2
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRuleUser.js +5 -2
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +4 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +4 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +141 -8
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLogTimeline.js +10 -7
- package/Models/DatabaseModels/OnCallDutyPolicyFeed.js +14 -11
- package/Models/DatabaseModels/OnCallDutyPolicyOwnerTeam.js +7 -4
- package/Models/DatabaseModels/OnCallDutyPolicyOwnerUser.js +7 -4
- package/Models/DatabaseModels/OnCallDutyPolicySchedule.js +6 -3
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleCalendarFeed.js +4 -4
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayer.js +3 -3
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayerUser.js +6 -6
- package/Models/DatabaseModels/OnCallDutyPolicyTimeLog.js +9 -6
- package/Models/DatabaseModels/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 +8 -0
- package/Models/DatabaseModels/Project.d.ts +8 -0
- package/Models/DatabaseModels/Project.js +333 -2
- 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/ProxmoxCluster.d.mts +1 -0
- package/Models/DatabaseModels/ProxmoxCluster.d.ts +1 -0
- package/Models/DatabaseModels/ProxmoxCluster.js +52 -3
- package/Models/DatabaseModels/PushNotificationLog.js +12 -12
- package/Models/DatabaseModels/Reseller.js +8 -2
- package/Models/DatabaseModels/ResellerPlan.js +8 -2
- package/Models/DatabaseModels/RumSessionPin.js +16 -2
- package/Models/DatabaseModels/RumSessionReplayView.js +8 -1
- package/Models/DatabaseModels/ScheduledMaintenance.js +6 -3
- package/Models/DatabaseModels/ScheduledMaintenanceInternalNote.js +7 -4
- package/Models/DatabaseModels/ScheduledMaintenanceMeasurementValue.js +2 -2
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.js +7 -4
- package/Models/DatabaseModels/ScheduledMaintenanceStateTimeline.js +1 -1
- package/Models/DatabaseModels/SecurityCase.js +8 -1
- package/Models/DatabaseModels/Service.js +1 -1
- package/Models/DatabaseModels/ServiceLevelObjectiveBurnRateRule.js +4 -4
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.js +4 -4
- package/Models/DatabaseModels/SmsLog.js +12 -12
- package/Models/DatabaseModels/StatusPage.js +5 -5
- package/Models/DatabaseModels/StatusPageSubscriber.js +2 -2
- package/Models/DatabaseModels/TelegramLog.js +12 -12
- package/Models/DatabaseModels/TelemetryIngestionKey.js +8 -5
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.js +7 -4
- package/Models/DatabaseModels/User.d.mts +6 -0
- package/Models/DatabaseModels/User.d.ts +6 -0
- package/Models/DatabaseModels/User.js +152 -0
- package/Models/DatabaseModels/UserOnCallLog.js +38 -10
- package/Models/DatabaseModels/UserOnCallLogTimeline.js +13 -3
- package/Models/DatabaseModels/UserOnCallShiftReminderLog.js +2 -2
- package/Models/DatabaseModels/WebhookLog.js +12 -12
- package/Models/DatabaseModels/WhatsAppLog.js +12 -12
- package/Models/DatabaseModels/WorkspaceNotificationLog.js +12 -12
- package/Models/DatabaseModels/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 +21 -2
- package/Types/AI/AIChatTypes.d.ts +21 -2
- package/Types/AI/AIChatTypes.js +49 -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 +66 -0
- package/Types/Analytics/ProductEvent.d.ts +66 -0
- package/Types/Analytics/ProductEvent.js +471 -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 +3 -1
- package/Types/AuditLog/AuditLogCoverage.d.ts +3 -1
- package/Types/AuditLog/AuditLogCoverage.js +12 -3
- 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/Cloud/CloudResourceCatalog.d.mts +2 -0
- package/Types/Cloud/CloudResourceCatalog.d.ts +2 -0
- package/Types/Cloud/CloudResourceCatalog.js +33 -3
- package/Types/Cloud/CloudResourceCatalog.mjs +1 -0
- package/Types/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/DataCheckSuggestions.d.mts +25 -0
- package/Types/DataObservability/DataCheckSuggestions.d.ts +25 -0
- package/Types/DataObservability/DataCheckSuggestions.js +102 -65
- package/Types/DataObservability/DataCheckSuggestions.mjs +1 -0
- package/Types/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/Database/TableMetadata.d.mts +2 -0
- package/Types/Database/TableMetadata.d.ts +2 -0
- package/Types/Database/TableMetadata.js +6 -0
- package/Types/Date.d.mts +42 -1
- package/Types/Date.d.ts +42 -1
- package/Types/Date.js +114 -5
- package/Types/DateLanguage.d.mts +9 -0
- package/Types/DateLanguage.d.ts +9 -0
- package/Types/DateLanguage.js +87 -2
- package/Types/DateLanguage.mjs +3 -0
- package/Types/DirectionArrow.d.mts +7 -0
- package/Types/DirectionArrow.d.ts +7 -0
- package/Types/DirectionArrow.js +88 -0
- package/Types/DirectionArrow.mjs +7 -0
- package/Types/Docs/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 +83 -0
- package/Types/Docs/GlossaryTerm.d.ts +83 -0
- package/Types/Docs/GlossaryTerm.js +128 -0
- package/Types/Docs/GlossaryTerm.mjs +5 -0
- package/Types/Docs/RetiredNames.d.mts +11 -0
- package/Types/Docs/RetiredNames.d.ts +11 -0
- package/Types/Docs/RetiredNames.js +139 -0
- package/Types/Docs/RetiredNames.mjs +3 -0
- package/Types/Email/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/RefusalWithValues.d.mts +7 -0
- package/Types/Exception/RefusalWithValues.d.ts +7 -0
- package/Types/Exception/RefusalWithValues.js +76 -0
- package/Types/Exception/RefusalWithValues.mjs +3 -0
- package/Types/Exception/UnexplainedError.d.mts +58 -0
- package/Types/Exception/UnexplainedError.d.ts +58 -0
- package/Types/Exception/UnexplainedError.js +231 -0
- package/Types/Exception/UnexplainedError.mjs +12 -0
- package/Types/File/FileSize.d.mts +4 -1
- package/Types/File/FileSize.d.ts +4 -1
- package/Types/File/FileSize.js +18 -17
- package/Types/HostCollector/HostCollector.d.mts +1 -0
- package/Types/HostCollector/HostCollector.d.ts +1 -0
- package/Types/HostCollector/HostCollector.js +26 -10
- package/Types/HostCollector/HostCollector.mjs +1 -0
- package/Types/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/MonitorCriteria.js +2 -2
- package/Types/Monitor/MonitorStep.js +1 -1
- package/Types/Monitor/MonitorTemplateSyncField.d.mts +6 -0
- package/Types/Monitor/MonitorTemplateSyncField.d.ts +6 -0
- package/Types/Monitor/MonitorTemplateSyncField.js +106 -64
- package/Types/Monitor/NtpMonitor/NtpMonitorUtil.d.mts +1 -0
- package/Types/Monitor/NtpMonitor/NtpMonitorUtil.d.ts +1 -0
- package/Types/Monitor/NtpMonitor/NtpMonitorUtil.js +11 -3
- package/Types/Monitor/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 +167 -0
- package/Types/Monitor/WhoIsTold.d.ts +167 -0
- package/Types/Monitor/WhoIsTold.js +583 -0
- package/Types/Monitor/WhoIsTold.mjs +17 -0
- package/Types/NotificationRule/PagingLadder.d.mts +137 -0
- package/Types/NotificationRule/PagingLadder.d.ts +137 -0
- package/Types/NotificationRule/PagingLadder.js +682 -0
- package/Types/NotificationRule/PagingLadder.mjs +28 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.js +1 -1
- package/Types/OnCallDutyPolicy/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/OnCallPageLine.d.mts +26 -0
- package/Types/OnCallDutyPolicy/OnCallPageLine.d.ts +26 -0
- package/Types/OnCallDutyPolicy/OnCallPageLine.js +136 -0
- package/Types/OnCallDutyPolicy/OnCallPageLine.mjs +18 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +284 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +284 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.js +665 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +53 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageLine.d.mts +19 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageLine.d.ts +19 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageLine.js +222 -0
- package/Types/OnCallDutyPolicy/OnCallTestPageLine.mjs +6 -0
- package/Types/OnCallDutyPolicy/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/OnCallDutyPolicy/ScheduleLayerDefaults.js +5 -2
- package/Types/OnCallDutyPolicy/UserOverrideCoverRequest.js +9 -1
- package/Types/Permission.d.mts +2 -2
- package/Types/Permission.d.ts +2 -2
- package/Types/Permission.js +194 -193
- 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/ProductCatalog.d.mts +10 -0
- package/Types/Product/ProductCatalog.d.ts +10 -0
- package/Types/Product/ProductCatalog.js +208 -0
- package/Types/Product/ProductCatalog.mjs +6 -0
- package/Types/Product/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/ProductOfTable.d.mts +3 -0
- package/Types/Product/ProductOfTable.d.ts +3 -0
- package/Types/Product/ProductOfTable.js +68 -0
- package/Types/Product/ProductOfTable.mjs +3 -0
- package/Types/Product/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 +23 -0
- package/Types/Product/ProjectProductsAnswer.d.ts +23 -0
- package/Types/Product/ProjectProductsAnswer.js +172 -0
- package/Types/Product/ProjectProductsAnswer.mjs +8 -0
- package/Types/Product/ServerProducts.d.mts +65 -0
- package/Types/Product/ServerProducts.d.ts +65 -0
- package/Types/Product/ServerProducts.js +383 -0
- package/Types/Product/ServerProducts.mjs +26 -0
- package/Types/Product/ServerProductsAnswer.d.mts +21 -0
- package/Types/Product/ServerProductsAnswer.d.ts +21 -0
- package/Types/Product/ServerProductsAnswer.js +78 -0
- package/Types/Product/ServerProductsAnswer.mjs +5 -0
- package/Types/ProductFeedback/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 +142 -0
- package/Types/ProductFeedback/ProductFeedback.d.ts +142 -0
- package/Types/ProductFeedback/ProductFeedback.js +525 -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/Rum/SessionReplayCustomEvents.d.mts +1 -0
- package/Types/Rum/SessionReplayCustomEvents.d.ts +1 -0
- package/Types/SampleProject/SampleProject.d.mts +54 -0
- package/Types/SampleProject/SampleProject.d.ts +54 -0
- package/Types/SampleProject/SampleProject.js +177 -0
- package/Types/SampleProject/SampleProject.mjs +22 -0
- package/Types/SampleProject/SampleProjectContent.d.mts +127 -0
- package/Types/SampleProject/SampleProjectContent.d.ts +127 -0
- package/Types/SampleProject/SampleProjectContent.js +397 -0
- package/Types/SampleProject/SampleProjectContent.mjs +18 -0
- package/Types/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/TelemetryIngestSurface.js +6 -5
- 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.d.mts +1 -0
- package/Types/Translator.d.ts +1 -0
- package/Types/Translator.js +104 -33
- package/Types/Translator.mjs +1 -0
- package/Types/UsedBy/UsedBy.d.mts +103 -0
- package/Types/UsedBy/UsedBy.d.ts +103 -0
- package/Types/UsedBy/UsedBy.js +389 -0
- package/Types/UsedBy/UsedBy.mjs +20 -0
- package/Types/UsedBy/UsedByServerProducts.d.mts +4 -0
- package/Types/UsedBy/UsedByServerProducts.d.ts +4 -0
- package/Types/UsedBy/UsedByServerProducts.js +48 -0
- package/Types/UsedBy/UsedByServerProducts.mjs +3 -0
- package/Types/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 +82 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +82 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.js +396 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.mjs +23 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +25 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +25 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +139 -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/Workflow/PassedOnFields.js +2 -1
- package/Types/Workflow/Templates.js +1 -1
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +2 -0
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +2 -0
- 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/AI/MeaningMatch.d.mts +36 -0
- package/Utils/AI/MeaningMatch.d.ts +36 -0
- package/Utils/AI/MeaningMatch.js +535 -0
- package/Utils/AI/MeaningMatch.mjs +7 -0
- package/Utils/API.js +10 -0
- package/Utils/ArchivableValues.js +1 -1
- package/Utils/AuditLog/AuditLogValues.js +2 -2
- package/Utils/Dashboard/ClockWidgetFormat.d.mts +14 -2
- package/Utils/Dashboard/ClockWidgetFormat.d.ts +14 -2
- package/Utils/Dashboard/ClockWidgetFormat.js +105 -2
- package/Utils/Dashboard/DashboardViewConfigSignature.d.mts +3 -0
- package/Utils/Dashboard/DashboardViewConfigSignature.d.ts +3 -0
- package/Utils/Dashboard/DashboardViewConfigSignature.js +45 -0
- package/Utils/Dashboard/DashboardViewConfigSignature.mjs +3 -0
- package/Utils/Dashboard/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/DataSecurity/TextScanner.js +2 -2
- package/Utils/DeveloperDocs/AiAssistantExamples.js +4 -4
- package/Utils/DeveloperDocs/CliCommands.d.mts +1 -0
- package/Utils/DeveloperDocs/CliCommands.d.ts +1 -0
- package/Utils/DeveloperDocs/CliCommands.js +2 -1
- package/Utils/DeveloperDocs/CliResources.js +2 -1
- package/Utils/DeveloperDocs/TerraformSchema.js +3 -1
- 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 +20 -0
- package/Utils/Markdown/LinkReferenceDefinitions.d.ts +20 -0
- package/Utils/Markdown/LinkReferenceDefinitions.js +1901 -0
- package/Utils/Markdown/LinkReferenceDefinitions.mjs +5 -0
- package/Utils/Markdown/MarkdownTableCell.js +2 -1
- package/Utils/Markdown/OverLongText.js +523 -5
- package/Utils/Markdown/SlowMarkdown.d.mts +14 -0
- package/Utils/Markdown/SlowMarkdown.d.ts +14 -0
- package/Utils/Markdown/SlowMarkdown.js +595 -11
- package/Utils/Markdown/SlowMarkdown.mjs +6 -0
- package/Utils/ModelApiName.d.mts +11 -0
- package/Utils/ModelApiName.d.ts +11 -0
- package/Utils/ModelApiName.js +72 -0
- package/Utils/ModelApiName.mjs +5 -0
- package/Utils/Monitor/DeviceMacLearningUtil.d.mts +2 -1
- package/Utils/Monitor/DeviceMacLearningUtil.d.ts +2 -1
- package/Utils/Monitor/DeviceMacLearningUtil.js +26 -0
- package/Utils/Monitor/EndpointAttachmentUtil.js +8 -3
- package/Utils/Monitor/ExternalStatusPageReading.d.mts +12 -0
- package/Utils/Monitor/ExternalStatusPageReading.d.ts +12 -0
- package/Utils/Monitor/ExternalStatusPageReading.js +111 -8
- package/Utils/Monitor/ExternalStatusPageReading.mjs +5 -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/MonitorTemplateLinkRefusal.d.mts +9 -0
- package/Utils/Monitor/MonitorTemplateLinkRefusal.d.ts +9 -0
- package/Utils/Monitor/MonitorTemplateLinkRefusal.js +45 -0
- package/Utils/Monitor/MonitorTemplateLinkRefusal.mjs +6 -0
- package/Utils/Monitor/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/OpenStack/OpenStackCheckName.js +2 -1
- package/Utils/OpenStack/OpenStackLogScrub.js +1 -1
- package/Utils/OpenStack/OpenStackLogs.js +3 -2
- package/Utils/OpenStack/OpenStackTraces.js +2 -1
- package/Utils/Project/NotificationChannels.js +5 -5
- package/Utils/Project/ProjectBalance.js +2 -2
- package/Utils/Project/TwilioAccount.js +2 -2
- package/Utils/ScheduledMaintenanceStart.d.mts +3 -0
- package/Utils/ScheduledMaintenanceStart.d.ts +3 -0
- package/Utils/ScheduledMaintenanceStart.js +9 -0
- package/Utils/Schema/ModelSchema.js +10 -1
- package/Utils/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 +51 -1
- 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/ValueFormatter.d.mts +8 -6
- package/Utils/ValueFormatter.d.ts +8 -6
- package/Utils/ValueFormatter.js +145 -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,231 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getExplanationWords = exports.readUnexplainedError = exports.getUnexplainedServerErrorMessage = exports.UnexplainedErrorWords = exports.UNEXPLAINED_ERROR_MESSAGES = exports.SERVER_DOWN_MESSAGE = exports.UnexplainedErrorKind = exports.isErrorReference = exports.toErrorReference = exports.ERROR_REFERENCE_LENGTH = exports.ERROR_REFERENCE_FIELD = void 0;
|
|
4
|
+
const Translator_1 = require("../Translator");
|
|
5
|
+
/*
|
|
6
|
+
* An error nobody explained (#6836): the server failed in a way no message
|
|
7
|
+
* describes (a TypeError, a lost database connection), OneUptime could not
|
|
8
|
+
* be reached, or the page itself failed. These used to read "Server Error.
|
|
9
|
+
* Please try again", which says nothing a person can act on.
|
|
10
|
+
*
|
|
11
|
+
* Now each says what happened and what to do next, and a failure on the
|
|
12
|
+
* server carries a reference: the first eight characters of the id the
|
|
13
|
+
* server gives every request, which every log record of that request
|
|
14
|
+
* carries (Common/Server/Utils/StartServer, TelemetryContext), and which the
|
|
15
|
+
* server's last-resort handler names in a log line of its own. A person
|
|
16
|
+
* gives it to their administrator or to support; an administrator searches
|
|
17
|
+
* the logs for it.
|
|
18
|
+
*
|
|
19
|
+
* The English sentences below are what travels: the API answers with the
|
|
20
|
+
* server's (an API client, the CLI and Terraform read it as it is), and
|
|
21
|
+
* API.getFriendlyMessage returns one of the four for every error it cannot
|
|
22
|
+
* otherwise put into words. The Dashboard, Accounts and Admin Dashboard read
|
|
23
|
+
* them back (readUnexplainedError) and draw them with ErrorExplanation, in
|
|
24
|
+
* the reader's language, with Try again, the reference and a copy button.
|
|
25
|
+
* The sentences are keys of every app's locales: this file is a "keys" root
|
|
26
|
+
* of the Dashboard's extractor. React-free and server-safe.
|
|
27
|
+
*/
|
|
28
|
+
// The field of an error answer that holds the reference.
|
|
29
|
+
exports.ERROR_REFERENCE_FIELD = "reference";
|
|
30
|
+
// How many characters of the request's id the reference keeps.
|
|
31
|
+
exports.ERROR_REFERENCE_LENGTH = 8;
|
|
32
|
+
/*
|
|
33
|
+
* The reference for a request's id: its first eight hex digits, lower case,
|
|
34
|
+
* or null when the id has fewer (no id at all, outside a request).
|
|
35
|
+
*/
|
|
36
|
+
const toErrorReference = (requestId) => {
|
|
37
|
+
let hex = "";
|
|
38
|
+
for (const character of (requestId || "").toLowerCase()) {
|
|
39
|
+
if ((character >= "0" && character <= "9") ||
|
|
40
|
+
(character >= "a" && character <= "f")) {
|
|
41
|
+
hex += character;
|
|
42
|
+
}
|
|
43
|
+
if (hex.length === exports.ERROR_REFERENCE_LENGTH) {
|
|
44
|
+
return hex;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return null;
|
|
48
|
+
};
|
|
49
|
+
exports.toErrorReference = toErrorReference;
|
|
50
|
+
// Whether a value is a reference: eight lower-case hex digits.
|
|
51
|
+
const isErrorReference = (value) => {
|
|
52
|
+
if (typeof value !== "string" || value.length !== exports.ERROR_REFERENCE_LENGTH) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
for (const character of value) {
|
|
56
|
+
if (!((character >= "0" && character <= "9") ||
|
|
57
|
+
(character >= "a" && character <= "f"))) {
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return true;
|
|
62
|
+
};
|
|
63
|
+
exports.isErrorReference = isErrorReference;
|
|
64
|
+
// The kinds of error nobody explained.
|
|
65
|
+
var UnexplainedErrorKind;
|
|
66
|
+
(function (UnexplainedErrorKind) {
|
|
67
|
+
// The server failed, and named a reference for its logs.
|
|
68
|
+
UnexplainedErrorKind["ServerWithReference"] = "ServerWithReference";
|
|
69
|
+
// The server failed and named no reference (an older server, a proxy).
|
|
70
|
+
UnexplainedErrorKind["Server"] = "Server";
|
|
71
|
+
/*
|
|
72
|
+
* The gateway in front of OneUptime answered for it (a 502 or a 504 page):
|
|
73
|
+
* the server is down or restarting - on a new self-hosted install, often
|
|
74
|
+
* a container that keeps stopping (#1741).
|
|
75
|
+
*/
|
|
76
|
+
UnexplainedErrorKind["ServerDown"] = "ServerDown";
|
|
77
|
+
// OneUptime could not be reached at all.
|
|
78
|
+
UnexplainedErrorKind["Unreachable"] = "Unreachable";
|
|
79
|
+
// The page failed before or after it asked the server.
|
|
80
|
+
UnexplainedErrorKind["Page"] = "Page";
|
|
81
|
+
})(UnexplainedErrorKind || (exports.UnexplainedErrorKind = UnexplainedErrorKind = {}));
|
|
82
|
+
/*
|
|
83
|
+
* What API.getFriendlyMessage has always said for a gateway's 502 or 504
|
|
84
|
+
* page. Kept word for word - tests, fixtures and nginx's comments quote it -
|
|
85
|
+
* and drawn as ServerDown by ErrorExplanation.
|
|
86
|
+
*/
|
|
87
|
+
exports.SERVER_DOWN_MESSAGE = "Error connecting to server. Please try again in few minutes.";
|
|
88
|
+
/*
|
|
89
|
+
* The English sentences that travel, one per kind: each says what happened
|
|
90
|
+
* and what to do next, in one string, for every place that shows a message
|
|
91
|
+
* as text.
|
|
92
|
+
*/
|
|
93
|
+
exports.UNEXPLAINED_ERROR_MESSAGES = {
|
|
94
|
+
serverWithReference: (0, Translator_1.translationKey)("The server ran into a problem it could not explain, so this did not finish. Try again, and if it keeps failing, give this reference to your administrator or OneUptime support: {{reference}}."),
|
|
95
|
+
server: (0, Translator_1.translationKey)("The server ran into a problem it could not explain, so this did not finish. Try again in a moment."),
|
|
96
|
+
unreachable: (0, Translator_1.translationKey)("OneUptime could not be reached, so this did not finish. Check your internet connection, then try again."),
|
|
97
|
+
page: (0, Translator_1.translationKey)("This page ran into a problem, so this did not finish. Reload the page, then try again."),
|
|
98
|
+
};
|
|
99
|
+
/*
|
|
100
|
+
* The same, in parts, for ErrorExplanation: what happened (unless the page
|
|
101
|
+
* says what it was doing: "The monitor was not saved."), why, and what to
|
|
102
|
+
* do next - with the reference after it, and, for the person who runs a
|
|
103
|
+
* self-hosted server, where to look.
|
|
104
|
+
*/
|
|
105
|
+
exports.UnexplainedErrorWords = {
|
|
106
|
+
didNotFinish: (0, Translator_1.translationKey)("This did not finish."),
|
|
107
|
+
serverWhy: (0, Translator_1.translationKey)("The server ran into a problem it could not explain."),
|
|
108
|
+
serverDownWhy: (0, Translator_1.translationKey)("The OneUptime server did not answer."),
|
|
109
|
+
unreachableWhy: (0, Translator_1.translationKey)("OneUptime could not be reached."),
|
|
110
|
+
pageWhy: (0, Translator_1.translationKey)("This page ran into a problem."),
|
|
111
|
+
serverNextWithReferenceCloud: (0, Translator_1.translationKey)("Try again. If it keeps failing, contact OneUptime support and give them this reference:"),
|
|
112
|
+
serverNextWithReferenceSelfHosted: (0, Translator_1.translationKey)("Try again. If it keeps failing, give this reference to whoever runs your OneUptime server:"),
|
|
113
|
+
serverNext: (0, Translator_1.translationKey)("Try again in a moment."),
|
|
114
|
+
serverDownNext: (0, Translator_1.translationKey)("It may be starting or restarting. Try again in a few minutes."),
|
|
115
|
+
unreachableNext: (0, Translator_1.translationKey)("Check your internet connection, then try again."),
|
|
116
|
+
pageNext: (0, Translator_1.translationKey)("Reload the page, then try again."),
|
|
117
|
+
// For a master admin of a self-hosted server.
|
|
118
|
+
adminWhereToLookWithReference: (0, Translator_1.translationKey)("To see what failed, run npm run doctor -- --logs in the server's oneuptime folder and look for this reference."),
|
|
119
|
+
adminWhereToLook: (0, Translator_1.translationKey)("To see what failed, run npm run doctor -- --logs in the server's oneuptime folder."),
|
|
120
|
+
// For anyone on a self-hosted server: who installed it may not be signed in.
|
|
121
|
+
serverDownWhereToLook: (0, Translator_1.translationKey)("If you run this server, run npm run doctor in its oneuptime folder: it checks every container and shows the logs of any that is not running."),
|
|
122
|
+
openHealth: (0, Translator_1.translationKey)("Open OneUptime Health"),
|
|
123
|
+
createFailed: (0, Translator_1.translationKey)("The {{itemName}} was not created."),
|
|
124
|
+
saveFailed: (0, Translator_1.translationKey)("The {{itemName}} was not saved."),
|
|
125
|
+
loadFailed: (0, Translator_1.translationKey)("The {{itemName}} could not be loaded."),
|
|
126
|
+
pageDidNotLoadTitle: (0, Translator_1.translationKey)("Page Did Not Load"),
|
|
127
|
+
};
|
|
128
|
+
// The server's answer for a failure it could not explain, in English.
|
|
129
|
+
const getUnexplainedServerErrorMessage = (reference) => {
|
|
130
|
+
return (0, exports.isErrorReference)(reference)
|
|
131
|
+
? (0, Translator_1.fillTemplate)(exports.UNEXPLAINED_ERROR_MESSAGES.serverWithReference, {
|
|
132
|
+
reference: reference,
|
|
133
|
+
})
|
|
134
|
+
: exports.UNEXPLAINED_ERROR_MESSAGES.server;
|
|
135
|
+
};
|
|
136
|
+
exports.getUnexplainedServerErrorMessage = getUnexplainedServerErrorMessage;
|
|
137
|
+
// The words before and after {{reference}} in the server's sentence.
|
|
138
|
+
const REFERENCE_PLACEHOLDER = "{{reference}}";
|
|
139
|
+
const SERVER_WITH_REFERENCE_START = exports.UNEXPLAINED_ERROR_MESSAGES.serverWithReference.substring(0, exports.UNEXPLAINED_ERROR_MESSAGES.serverWithReference.indexOf(REFERENCE_PLACEHOLDER));
|
|
140
|
+
const SERVER_WITH_REFERENCE_END = exports.UNEXPLAINED_ERROR_MESSAGES.serverWithReference.substring(exports.UNEXPLAINED_ERROR_MESSAGES.serverWithReference.indexOf(REFERENCE_PLACEHOLDER) + REFERENCE_PLACEHOLDER.length);
|
|
141
|
+
/*
|
|
142
|
+
* Which unexplained error a message is, read back from its English sentence,
|
|
143
|
+
* or null for any other message - one the server or the page put into
|
|
144
|
+
* words, which is shown as it is.
|
|
145
|
+
*/
|
|
146
|
+
const readUnexplainedError = (message) => {
|
|
147
|
+
const text = (message || "").trim();
|
|
148
|
+
if (!text) {
|
|
149
|
+
return null;
|
|
150
|
+
}
|
|
151
|
+
if (text === exports.UNEXPLAINED_ERROR_MESSAGES.server) {
|
|
152
|
+
return { kind: UnexplainedErrorKind.Server, reference: null };
|
|
153
|
+
}
|
|
154
|
+
if (text === exports.SERVER_DOWN_MESSAGE) {
|
|
155
|
+
return { kind: UnexplainedErrorKind.ServerDown, reference: null };
|
|
156
|
+
}
|
|
157
|
+
if (text === exports.UNEXPLAINED_ERROR_MESSAGES.unreachable) {
|
|
158
|
+
return { kind: UnexplainedErrorKind.Unreachable, reference: null };
|
|
159
|
+
}
|
|
160
|
+
if (text === exports.UNEXPLAINED_ERROR_MESSAGES.page) {
|
|
161
|
+
return { kind: UnexplainedErrorKind.Page, reference: null };
|
|
162
|
+
}
|
|
163
|
+
if (text.length ===
|
|
164
|
+
SERVER_WITH_REFERENCE_START.length +
|
|
165
|
+
exports.ERROR_REFERENCE_LENGTH +
|
|
166
|
+
SERVER_WITH_REFERENCE_END.length &&
|
|
167
|
+
text.startsWith(SERVER_WITH_REFERENCE_START) &&
|
|
168
|
+
text.endsWith(SERVER_WITH_REFERENCE_END)) {
|
|
169
|
+
const reference = text.substring(SERVER_WITH_REFERENCE_START.length, SERVER_WITH_REFERENCE_START.length + exports.ERROR_REFERENCE_LENGTH);
|
|
170
|
+
if ((0, exports.isErrorReference)(reference)) {
|
|
171
|
+
return {
|
|
172
|
+
kind: UnexplainedErrorKind.ServerWithReference,
|
|
173
|
+
reference: reference,
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
return null;
|
|
178
|
+
};
|
|
179
|
+
exports.readUnexplainedError = readUnexplainedError;
|
|
180
|
+
/*
|
|
181
|
+
* The English words (translation keys) for each kind, for the reader the
|
|
182
|
+
* page has. ErrorExplanation draws them as a block of their own, and
|
|
183
|
+
* ErrorSentence inside a sentence a card writes around them
|
|
184
|
+
* (Common/UI/Utils/ErrorInSentence): one set of words for both.
|
|
185
|
+
*/
|
|
186
|
+
const getExplanationWords = (data) => {
|
|
187
|
+
const isSelfHostedAdmin = !data.isCloud && data.isMasterAdmin && !data.isVisitor;
|
|
188
|
+
switch (data.error.kind) {
|
|
189
|
+
case UnexplainedErrorKind.ServerWithReference:
|
|
190
|
+
return {
|
|
191
|
+
why: exports.UnexplainedErrorWords.serverWhy,
|
|
192
|
+
next: data.isVisitor
|
|
193
|
+
? exports.UnexplainedErrorWords.serverNext
|
|
194
|
+
: data.isCloud
|
|
195
|
+
? exports.UnexplainedErrorWords.serverNextWithReferenceCloud
|
|
196
|
+
: exports.UnexplainedErrorWords.serverNextWithReferenceSelfHosted,
|
|
197
|
+
whereToLook: isSelfHostedAdmin
|
|
198
|
+
? exports.UnexplainedErrorWords.adminWhereToLookWithReference
|
|
199
|
+
: null,
|
|
200
|
+
};
|
|
201
|
+
case UnexplainedErrorKind.Server:
|
|
202
|
+
return {
|
|
203
|
+
why: exports.UnexplainedErrorWords.serverWhy,
|
|
204
|
+
next: exports.UnexplainedErrorWords.serverNext,
|
|
205
|
+
whereToLook: isSelfHostedAdmin
|
|
206
|
+
? exports.UnexplainedErrorWords.adminWhereToLook
|
|
207
|
+
: null,
|
|
208
|
+
};
|
|
209
|
+
case UnexplainedErrorKind.ServerDown:
|
|
210
|
+
return {
|
|
211
|
+
why: exports.UnexplainedErrorWords.serverDownWhy,
|
|
212
|
+
next: exports.UnexplainedErrorWords.serverDownNext,
|
|
213
|
+
whereToLook: data.isCloud || data.isVisitor
|
|
214
|
+
? null
|
|
215
|
+
: exports.UnexplainedErrorWords.serverDownWhereToLook,
|
|
216
|
+
};
|
|
217
|
+
case UnexplainedErrorKind.Unreachable:
|
|
218
|
+
return {
|
|
219
|
+
why: exports.UnexplainedErrorWords.unreachableWhy,
|
|
220
|
+
next: exports.UnexplainedErrorWords.unreachableNext,
|
|
221
|
+
whereToLook: null,
|
|
222
|
+
};
|
|
223
|
+
default:
|
|
224
|
+
return {
|
|
225
|
+
why: exports.UnexplainedErrorWords.pageWhy,
|
|
226
|
+
next: exports.UnexplainedErrorWords.pageNext,
|
|
227
|
+
whereToLook: null,
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
};
|
|
231
|
+
exports.getExplanationWords = getExplanationWords;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import commonJsModule from "./UnexplainedError.js";
|
|
2
|
+
export const ERROR_REFERENCE_FIELD = commonJsModule.ERROR_REFERENCE_FIELD;
|
|
3
|
+
export const ERROR_REFERENCE_LENGTH = commonJsModule.ERROR_REFERENCE_LENGTH;
|
|
4
|
+
export const SERVER_DOWN_MESSAGE = commonJsModule.SERVER_DOWN_MESSAGE;
|
|
5
|
+
export const UNEXPLAINED_ERROR_MESSAGES = commonJsModule.UNEXPLAINED_ERROR_MESSAGES;
|
|
6
|
+
export const UnexplainedErrorKind = commonJsModule.UnexplainedErrorKind;
|
|
7
|
+
export const UnexplainedErrorWords = commonJsModule.UnexplainedErrorWords;
|
|
8
|
+
export const getExplanationWords = commonJsModule.getExplanationWords;
|
|
9
|
+
export const getUnexplainedServerErrorMessage = commonJsModule.getUnexplainedServerErrorMessage;
|
|
10
|
+
export const isErrorReference = commonJsModule.isErrorReference;
|
|
11
|
+
export const readUnexplainedError = commonJsModule.readUnexplainedError;
|
|
12
|
+
export const toErrorReference = commonJsModule.toErrorReference;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface FileSizeOptions {
|
|
2
|
+
language?: string | undefined;
|
|
3
|
+
}
|
|
4
|
+
export type FormatFileSizeFunction = (bytes: number, options?: FileSizeOptions) => string;
|
|
2
5
|
export declare const formatFileSize: FormatFileSizeFunction;
|
|
3
6
|
export default formatFileSize;
|
package/Types/File/FileSize.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface FileSizeOptions {
|
|
2
|
+
language?: string | undefined;
|
|
3
|
+
}
|
|
4
|
+
export type FormatFileSizeFunction = (bytes: number, options?: FileSizeOptions) => string;
|
|
2
5
|
export declare const formatFileSize: FormatFileSizeFunction;
|
|
3
6
|
export default formatFileSize;
|
package/Types/File/FileSize.js
CHANGED
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* A FILE'S SIZE AS PEOPLE READ IT: "640 B", "48 KB", "1.5 MB".
|
|
4
|
-
*
|
|
5
|
-
* Whole kilobytes under a megabyte, one decimal from a megabyte on: the
|
|
6
|
-
* precision a person compares two files by, never "47.1 KB" beside
|
|
7
|
-
* "240.0 KB". A file under a kilobyte is counted in bytes, so a tiny text
|
|
8
|
-
* file never reads as "0.1 KB" - or as "0 KB", as if it were empty.
|
|
9
|
-
*
|
|
10
|
-
* Every place that lists files says their sizes this way: the Custom Fields
|
|
11
|
-
* card, the file picker a form lists them in, a form's review step.
|
|
12
|
-
*
|
|
13
|
-
* Pure, with no React imports.
|
|
14
|
-
*/
|
|
15
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
3
|
exports.formatFileSize = void 0;
|
|
17
|
-
const
|
|
4
|
+
const DateLanguage_1 = require("../DateLanguage");
|
|
5
|
+
const formatFileSize = (bytes, options) => {
|
|
18
6
|
if (!Number.isFinite(bytes) || bytes < 0) {
|
|
19
7
|
return "";
|
|
20
8
|
}
|
|
9
|
+
const language = options === null || options === void 0 ? void 0 : options.language;
|
|
21
10
|
if (bytes < 1024) {
|
|
22
|
-
return `${Math.floor(bytes)} B`;
|
|
11
|
+
return `${(0, DateLanguage_1.formatReaderFigure)(Math.floor(bytes), { decimals: 0, language })} B`;
|
|
23
12
|
}
|
|
24
13
|
if (bytes < 1024 * 1024) {
|
|
25
|
-
return `${Math.max(1, Math.round(bytes / 1024))
|
|
14
|
+
return `${(0, DateLanguage_1.formatReaderFigure)(Math.max(1, Math.round(bytes / 1024)), {
|
|
15
|
+
decimals: 0,
|
|
16
|
+
language,
|
|
17
|
+
})} KB`;
|
|
26
18
|
}
|
|
27
|
-
|
|
19
|
+
/*
|
|
20
|
+
* Rounded to a tenth as it always was, then written with that tenth
|
|
21
|
+
* only when it is not a whole number: "1 MB", "1.5 MB".
|
|
22
|
+
*/
|
|
23
|
+
const megabytes = Math.round((bytes / (1024 * 1024)) * 10) / 10;
|
|
24
|
+
return `${(0, DateLanguage_1.formatReaderFigure)(megabytes, {
|
|
25
|
+
decimals: 1,
|
|
26
|
+
dropTrailingZeros: true,
|
|
27
|
+
language,
|
|
28
|
+
})} MB`;
|
|
28
29
|
};
|
|
29
30
|
exports.formatFileSize = formatFileSize;
|
|
30
31
|
exports.default = exports.formatFileSize;
|
|
@@ -12,26 +12,42 @@
|
|
|
12
12
|
* OneUptime sends it over OpAMP (the OpenTelemetry Agent Management
|
|
13
13
|
* Protocol).
|
|
14
14
|
*
|
|
15
|
-
* The supervisor phones home to OneUptime (POST
|
|
16
|
-
* with the project's telemetry ingestion
|
|
17
|
-
* header), and OneUptime answers with the
|
|
18
|
-
* first Collector Config of the project
|
|
19
|
-
* default for its operating system. The
|
|
20
|
-
* and whether it applied; a config that
|
|
21
|
-
* to the last one that worked.
|
|
15
|
+
* The supervisor phones home to OneUptime (POST
|
|
16
|
+
* <OneUptime URL>/telemetry/opamp/v1, with the project's telemetry ingestion
|
|
17
|
+
* key in the x-oneuptime-token header), and OneUptime answers with the
|
|
18
|
+
* config the host should run: the first Collector Config of the project
|
|
19
|
+
* that applies to it, or OneUptime's default for its operating system. The
|
|
20
|
+
* host reports which config it runs, and whether it applied; a config that
|
|
21
|
+
* fails on a host is rolled back there to the last one that worked.
|
|
22
22
|
*
|
|
23
23
|
* Plain values on purpose, so the Dashboard, the server and the tests read
|
|
24
24
|
* the same ones.
|
|
25
25
|
*/
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.HOST_COLLECTOR_ERROR_MAX_LENGTH = exports.HOST_COLLECTOR_CONFIG_MAX_BYTES = exports.HOST_COLLECTOR_CONFIG_CHANGED_NOTE = exports.HOST_COLLECTOR_CONFIG_CREATED_NOTE = exports.HostCollectorConfigStatus = exports.HOST_COLLECTOR_OS_NAMES = exports.HOST_COLLECTOR_INSTALLABLE_OS_TYPES = exports.HostCollectorOsType = exports.HOST_COLLECTOR_LABEL_ATTRIBUTE_PREFIX = exports.HOST_COLLECTOR_EXPORTER_ENDPOINT = exports.HOST_COLLECTOR_INGESTION_KEY_REFERENCE = exports.HOST_COLLECTOR_URL_REFERENCE = exports.HOST_COLLECTOR_INGESTION_KEY_ENV = exports.HOST_COLLECTOR_URL_ENV = exports.HOST_COLLECTOR_MACOS_LOG_FILE = exports.HOST_COLLECTOR_MACOS_SERVICE_LABEL = exports.HOST_COLLECTOR_SERVICE_NAME = exports.HOST_COLLECTOR_PINNED_VERSION = exports.HOST_COLLECTOR_WINDOWS_INSTALL_SCRIPT_PATH = exports.HOST_COLLECTOR_INSTALL_SCRIPT_PATH = exports.HOST_COLLECTOR_OPAMP_PATH = void 0;
|
|
27
|
+
exports.HOST_COLLECTOR_ERROR_MAX_LENGTH = exports.HOST_COLLECTOR_CONFIG_MAX_BYTES = exports.HOST_COLLECTOR_CONFIG_CHANGED_NOTE = exports.HOST_COLLECTOR_CONFIG_CREATED_NOTE = exports.HostCollectorConfigStatus = exports.HOST_COLLECTOR_OS_NAMES = exports.HOST_COLLECTOR_INSTALLABLE_OS_TYPES = exports.HostCollectorOsType = exports.HOST_COLLECTOR_LABEL_ATTRIBUTE_PREFIX = exports.HOST_COLLECTOR_EXPORTER_ENDPOINT = exports.HOST_COLLECTOR_INGESTION_KEY_REFERENCE = exports.HOST_COLLECTOR_URL_REFERENCE = exports.HOST_COLLECTOR_INGESTION_KEY_ENV = exports.HOST_COLLECTOR_URL_ENV = exports.HOST_COLLECTOR_MACOS_LOG_FILE = exports.HOST_COLLECTOR_MACOS_SERVICE_LABEL = exports.HOST_COLLECTOR_SERVICE_NAME = exports.HOST_COLLECTOR_PINNED_VERSION = exports.HOST_COLLECTOR_WINDOWS_INSTALL_SCRIPT_PATH = exports.HOST_COLLECTOR_INSTALL_SCRIPT_PATH = exports.HOST_COLLECTOR_OPAMP_PATH = exports.HOST_COLLECTOR_OPAMP_ROUTE = void 0;
|
|
28
28
|
exports.getHostCollectorOsType = getHostCollectorOsType;
|
|
29
29
|
exports.isHostCollectorOsType = isHostCollectorOsType;
|
|
30
30
|
exports.isHostCollectorConfigStatus = isHostCollectorConfigStatus;
|
|
31
31
|
exports.getHostCollectorConfigRestoredNote = getHostCollectorConfigRestoredNote;
|
|
32
32
|
exports.getHostCollectorConfigRestoredVersion = getHostCollectorConfigRestoredVersion;
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
/*
|
|
34
|
+
* Where the supervisor posts its AgentToServer messages (OpAMP over HTTP).
|
|
35
|
+
*
|
|
36
|
+
* The route as the Telemetry router declares it. It is mounted under every
|
|
37
|
+
* telemetry prefix, "/telemetry" and "/", so the App serves both addresses.
|
|
38
|
+
*/
|
|
39
|
+
exports.HOST_COLLECTOR_OPAMP_ROUTE = "/opamp/v1";
|
|
40
|
+
/*
|
|
41
|
+
* The address the installers point the supervisor at: the route under
|
|
42
|
+
* /telemetry, which every OneUptime ingress sends to the App, as the session
|
|
43
|
+
* replay recorder and the Kubernetes cost agent call theirs. The bare route
|
|
44
|
+
* reaches the App only where the ingress has a location for it; on
|
|
45
|
+
* oneuptime.com, where everything else at the root is the marketing site,
|
|
46
|
+
* the installers' first /opamp/v1 answered 404, and the hosts never got a
|
|
47
|
+
* config. Those hosts still ask at /opamp/v1, which the ingress now sends to
|
|
48
|
+
* the App too (Nginx/default.conf.template).
|
|
49
|
+
*/
|
|
50
|
+
exports.HOST_COLLECTOR_OPAMP_PATH = `/telemetry${exports.HOST_COLLECTOR_OPAMP_ROUTE}`;
|
|
35
51
|
/*
|
|
36
52
|
* Where every OneUptime serves the installers (the Docs feature set's static
|
|
37
53
|
* folder), so a self-hosted OneUptime hands out the installer of its own
|
|
@@ -12,6 +12,7 @@ export const HOST_COLLECTOR_LABEL_ATTRIBUTE_PREFIX = commonJsModule.HOST_COLLECT
|
|
|
12
12
|
export const HOST_COLLECTOR_MACOS_LOG_FILE = commonJsModule.HOST_COLLECTOR_MACOS_LOG_FILE;
|
|
13
13
|
export const HOST_COLLECTOR_MACOS_SERVICE_LABEL = commonJsModule.HOST_COLLECTOR_MACOS_SERVICE_LABEL;
|
|
14
14
|
export const HOST_COLLECTOR_OPAMP_PATH = commonJsModule.HOST_COLLECTOR_OPAMP_PATH;
|
|
15
|
+
export const HOST_COLLECTOR_OPAMP_ROUTE = commonJsModule.HOST_COLLECTOR_OPAMP_ROUTE;
|
|
15
16
|
export const HOST_COLLECTOR_OS_NAMES = commonJsModule.HOST_COLLECTOR_OS_NAMES;
|
|
16
17
|
export const HOST_COLLECTOR_PINNED_VERSION = commonJsModule.HOST_COLLECTOR_PINNED_VERSION;
|
|
17
18
|
export const HOST_COLLECTOR_SERVICE_NAME = commonJsModule.HOST_COLLECTOR_SERVICE_NAME;
|
|
@@ -241,6 +241,7 @@ declare enum IconProp {
|
|
|
241
241
|
MagnifyingGlassPlus = "MagnifyingGlassPlus",
|
|
242
242
|
Map = "Map",
|
|
243
243
|
MapPin = "MapPin",
|
|
244
|
+
Pin = "Pin",
|
|
244
245
|
Megaphone = "Megaphone",
|
|
245
246
|
Microphone = "Microphone",
|
|
246
247
|
Moon = "Moon",
|
|
@@ -339,6 +340,8 @@ declare enum IconProp {
|
|
|
339
340
|
IoT = "IoT",
|
|
340
341
|
Ceph = "Ceph",
|
|
341
342
|
StorageArray = "StorageArray",
|
|
342
|
-
Gauge = "Gauge"
|
|
343
|
+
Gauge = "Gauge",
|
|
344
|
+
SignIn = "SignIn",
|
|
345
|
+
SignOut = "SignOut"
|
|
343
346
|
}
|
|
344
347
|
export default IconProp;
|
package/Types/Icon/IconProp.d.ts
CHANGED
|
@@ -241,6 +241,7 @@ declare enum IconProp {
|
|
|
241
241
|
MagnifyingGlassPlus = "MagnifyingGlassPlus",
|
|
242
242
|
Map = "Map",
|
|
243
243
|
MapPin = "MapPin",
|
|
244
|
+
Pin = "Pin",
|
|
244
245
|
Megaphone = "Megaphone",
|
|
245
246
|
Microphone = "Microphone",
|
|
246
247
|
Moon = "Moon",
|
|
@@ -339,6 +340,8 @@ declare enum IconProp {
|
|
|
339
340
|
IoT = "IoT",
|
|
340
341
|
Ceph = "Ceph",
|
|
341
342
|
StorageArray = "StorageArray",
|
|
342
|
-
Gauge = "Gauge"
|
|
343
|
+
Gauge = "Gauge",
|
|
344
|
+
SignIn = "SignIn",
|
|
345
|
+
SignOut = "SignOut"
|
|
343
346
|
}
|
|
344
347
|
export default IconProp;
|
package/Types/Icon/IconProp.js
CHANGED
|
@@ -251,6 +251,8 @@ var IconProp;
|
|
|
251
251
|
IconProp["MagnifyingGlassPlus"] = "MagnifyingGlassPlus";
|
|
252
252
|
IconProp["Map"] = "Map";
|
|
253
253
|
IconProp["MapPin"] = "MapPin";
|
|
254
|
+
// A drawing pin: something kept in reach, such as a product pinned to the nav bar.
|
|
255
|
+
IconProp["Pin"] = "Pin";
|
|
254
256
|
IconProp["Megaphone"] = "Megaphone";
|
|
255
257
|
IconProp["Microphone"] = "Microphone";
|
|
256
258
|
IconProp["Moon"] = "Moon";
|
|
@@ -350,5 +352,9 @@ var IconProp;
|
|
|
350
352
|
IconProp["Ceph"] = "Ceph";
|
|
351
353
|
IconProp["StorageArray"] = "StorageArray";
|
|
352
354
|
IconProp["Gauge"] = "Gauge";
|
|
355
|
+
// An arrow going in through a door: signing in (the audit log's Sign In).
|
|
356
|
+
IconProp["SignIn"] = "SignIn";
|
|
357
|
+
// An arrow coming out through a door: signing out.
|
|
358
|
+
IconProp["SignOut"] = "SignOut";
|
|
353
359
|
})(IconProp || (IconProp = {}));
|
|
354
360
|
exports.default = IconProp;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { ServerSetupChecklistAnswer } from "../ServerSetup/ServerSetupChecklist.mjs";
|
|
2
|
+
export declare enum InstallationHealthLevel {
|
|
3
|
+
Fix = "fix",
|
|
4
|
+
Warn = "warn"
|
|
5
|
+
}
|
|
6
|
+
export declare enum InstallationHealthFindingId {
|
|
7
|
+
Postgres = "postgres",
|
|
8
|
+
Clickhouse = "clickhouse",
|
|
9
|
+
Valkey = "valkey",
|
|
10
|
+
MigrationFailed = "migration-failed",
|
|
11
|
+
MigrationsPending = "migrations-pending",
|
|
12
|
+
ClickhouseDisk = "clickhouse-disk",
|
|
13
|
+
QueueBacklog = "queue-backlog",
|
|
14
|
+
UpdateAvailable = "update-available"
|
|
15
|
+
}
|
|
16
|
+
export declare enum InstallationHealthCheck {
|
|
17
|
+
Postgres = "postgres",
|
|
18
|
+
Clickhouse = "clickhouse",
|
|
19
|
+
Valkey = "valkey",
|
|
20
|
+
Migrations = "migrations",
|
|
21
|
+
ClickhouseDisk = "clickhouse-disk",
|
|
22
|
+
Queues = "queues",
|
|
23
|
+
Version = "version",
|
|
24
|
+
ServerSetup = "server-setup"
|
|
25
|
+
}
|
|
26
|
+
export declare const INSTALLATION_HEALTH_ADMIN_PATHS: {
|
|
27
|
+
clickhouse: string;
|
|
28
|
+
migrations: string;
|
|
29
|
+
setup: string;
|
|
30
|
+
};
|
|
31
|
+
export declare const INSTALLATION_HEALTH_GUIDES: {
|
|
32
|
+
upgrading: string;
|
|
33
|
+
};
|
|
34
|
+
export declare const CLICKHOUSE_DISK_FIX_FREE_PERCENT: number;
|
|
35
|
+
export declare const CLICKHOUSE_DISK_WARN_FREE_PERCENT: number;
|
|
36
|
+
export declare const QUEUE_BACKLOG_LIMIT: number;
|
|
37
|
+
export declare const INSTALLATION_HEALTH_WORDS: Readonly<Record<InstallationHealthFindingId, {
|
|
38
|
+
title: string;
|
|
39
|
+
words: string;
|
|
40
|
+
fix: string;
|
|
41
|
+
}>>;
|
|
42
|
+
export declare const INSTALLATION_HEALTH_SETUP_FIX: string;
|
|
43
|
+
export declare const INSTALLATION_HEALTH_ALL_RIGHT: string;
|
|
44
|
+
export interface InstallationHealthFinding {
|
|
45
|
+
id: string;
|
|
46
|
+
level: InstallationHealthLevel;
|
|
47
|
+
title: string;
|
|
48
|
+
words: string;
|
|
49
|
+
fix: string | null;
|
|
50
|
+
values: Record<string, string>;
|
|
51
|
+
adminPath: string | null;
|
|
52
|
+
guidePath: string | null;
|
|
53
|
+
sentence: string;
|
|
54
|
+
fixSentence: string | null;
|
|
55
|
+
}
|
|
56
|
+
export interface InstallationHealthFacts {
|
|
57
|
+
isPostgresConnected: boolean;
|
|
58
|
+
isClickhouseConnected: boolean;
|
|
59
|
+
isValkeyConnected: boolean;
|
|
60
|
+
migrations: {
|
|
61
|
+
pending: number;
|
|
62
|
+
failure: {
|
|
63
|
+
name: string;
|
|
64
|
+
reason: string;
|
|
65
|
+
at: string | null;
|
|
66
|
+
} | null;
|
|
67
|
+
} | null;
|
|
68
|
+
clickhouseDisks: Array<{
|
|
69
|
+
name: string;
|
|
70
|
+
freeInBytes: number;
|
|
71
|
+
totalInBytes: number;
|
|
72
|
+
}>;
|
|
73
|
+
queues: Array<{
|
|
74
|
+
name: string;
|
|
75
|
+
waiting: number;
|
|
76
|
+
}>;
|
|
77
|
+
version: {
|
|
78
|
+
current: string;
|
|
79
|
+
latest: string | null;
|
|
80
|
+
isUpdateAvailable: boolean;
|
|
81
|
+
isUpdateCheckDisabled: boolean;
|
|
82
|
+
};
|
|
83
|
+
serverSetup: ServerSetupChecklistAnswer | null;
|
|
84
|
+
}
|
|
85
|
+
export interface InstallationHealthAnswer {
|
|
86
|
+
findings: Array<InstallationHealthFinding>;
|
|
87
|
+
checked: Array<InstallationHealthCheck>;
|
|
88
|
+
version: InstallationHealthFacts["version"];
|
|
89
|
+
addressProof: string | null;
|
|
90
|
+
checkedAt: string;
|
|
91
|
+
}
|
|
92
|
+
export default class InstallationHealthUtil {
|
|
93
|
+
static formatBytes(bytes: number): string;
|
|
94
|
+
static formatTime(value: string | null): string;
|
|
95
|
+
static finding(data: {
|
|
96
|
+
id: string;
|
|
97
|
+
level: InstallationHealthLevel;
|
|
98
|
+
title: string;
|
|
99
|
+
words: string;
|
|
100
|
+
fix: string | null;
|
|
101
|
+
values?: Record<string, string> | undefined;
|
|
102
|
+
adminPath?: string | null | undefined;
|
|
103
|
+
guidePath?: string | null | undefined;
|
|
104
|
+
}): InstallationHealthFinding;
|
|
105
|
+
private static ofCatalogue;
|
|
106
|
+
static datastoreFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
|
|
107
|
+
static migrationFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
|
|
108
|
+
static diskFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
|
|
109
|
+
static queueFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
|
|
110
|
+
static versionFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
|
|
111
|
+
static setupFindings(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
|
|
112
|
+
private static setupValues;
|
|
113
|
+
static evaluate(facts: InstallationHealthFacts): Array<InstallationHealthFinding>;
|
|
114
|
+
static worstFirst(findings: Array<InstallationHealthFinding>): Array<InstallationHealthFinding>;
|
|
115
|
+
static getAnswer(data: {
|
|
116
|
+
facts: InstallationHealthFacts;
|
|
117
|
+
addressProof: string | null;
|
|
118
|
+
checkedAt: string;
|
|
119
|
+
}): InstallationHealthAnswer;
|
|
120
|
+
static parseAnswer(value: unknown): InstallationHealthAnswer | null;
|
|
121
|
+
private static readPath;
|
|
122
|
+
}
|