@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,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.buildFirstOnCallPolicy = exports.getWhoIsToldMode = exports.areWhoIsToldCountsKnown = exports.WhoIsToldMode = exports.GUIDED_SETUP_POLICY_NAME = void 0;
|
|
7
|
+
const OnCallDutyPolicy_1 = __importDefault(require("../../Models/DatabaseModels/OnCallDutyPolicy"));
|
|
8
|
+
const EveryNewEventRules_1 = require("../../Types/OnCallDutyPolicy/EveryNewEventRules");
|
|
9
|
+
/*
|
|
10
|
+
* WHO IS TOLD, AND THE ON-CALL POLICY A GUIDED SETUP MAKES FOR IT.
|
|
11
|
+
*
|
|
12
|
+
* The website guided setup (#6804) and Ask AI (#6829,
|
|
13
|
+
* Server/Utils/AI/Toolbox/SetupTools) decide who is told the same way, and
|
|
14
|
+
* make the same policy when they make one:
|
|
15
|
+
*
|
|
16
|
+
* - a project with no on-call policy and no on-call rule yet gets one,
|
|
17
|
+
* "Default on-call policy", paging the people and teams picked first
|
|
18
|
+
* (FirstResponders) - "You", to start with - with the two catch-all
|
|
19
|
+
* on-call rules that run it for every new incident and alert
|
|
20
|
+
* (EveryNewEventRules);
|
|
21
|
+
* - a project that pages people already keeps its own policies and rules:
|
|
22
|
+
* they decide, and nothing is made beside them, so nobody gets a second
|
|
23
|
+
* policy paging for every incident;
|
|
24
|
+
* - somebody who may not set paging up is told as the monitor's owner,
|
|
25
|
+
* by email.
|
|
26
|
+
*
|
|
27
|
+
* Pure: the Dashboard creates the policy through the model API
|
|
28
|
+
* (WebsiteDownApi), the server through OnCallDutyPolicyService (SetupTools),
|
|
29
|
+
* as the person either way. OnCallDutyPolicyService.create reads the misc
|
|
30
|
+
* data below and adds the first escalation rule and the two rules.
|
|
31
|
+
*/
|
|
32
|
+
// The name of the policy a guided setup makes when the project has none.
|
|
33
|
+
exports.GUIDED_SETUP_POLICY_NAME = "Default on-call policy";
|
|
34
|
+
var WhoIsToldMode;
|
|
35
|
+
(function (WhoIsToldMode) {
|
|
36
|
+
// No on-call policy or rule yet: the setup makes one, paging who is picked.
|
|
37
|
+
WhoIsToldMode["CreatePolicy"] = "create_policy";
|
|
38
|
+
// The project pages people already: its own policies and rules decide.
|
|
39
|
+
WhoIsToldMode["ExistingPolicy"] = "existing_policy";
|
|
40
|
+
// Paging cannot be set up by this person: told as the monitor's owner.
|
|
41
|
+
WhoIsToldMode["OwnerEmailOnly"] = "owner_email_only";
|
|
42
|
+
})(WhoIsToldMode || (exports.WhoIsToldMode = WhoIsToldMode = {}));
|
|
43
|
+
/*
|
|
44
|
+
* Whether the project's on-call policies and rules could be counted: when
|
|
45
|
+
* they could not, nothing says the project has none, so no policy is made
|
|
46
|
+
* on that read (#7059).
|
|
47
|
+
*/
|
|
48
|
+
const areWhoIsToldCountsKnown = (facts) => {
|
|
49
|
+
return (facts.policyCount !== null &&
|
|
50
|
+
facts.incidentRuleCount !== null &&
|
|
51
|
+
facts.alertRuleCount !== null);
|
|
52
|
+
};
|
|
53
|
+
exports.areWhoIsToldCountsKnown = areWhoIsToldCountsKnown;
|
|
54
|
+
const getWhoIsToldMode = (facts) => {
|
|
55
|
+
if (!(0, exports.areWhoIsToldCountsKnown)(facts)) {
|
|
56
|
+
return WhoIsToldMode.OwnerEmailOnly;
|
|
57
|
+
}
|
|
58
|
+
if (facts.policyCount > 0 ||
|
|
59
|
+
facts.incidentRuleCount > 0 ||
|
|
60
|
+
facts.alertRuleCount > 0) {
|
|
61
|
+
return WhoIsToldMode.ExistingPolicy;
|
|
62
|
+
}
|
|
63
|
+
if (facts.mayCreatePolicy &&
|
|
64
|
+
facts.mayAddEscalationRules &&
|
|
65
|
+
facts.mayAddRules) {
|
|
66
|
+
return WhoIsToldMode.CreatePolicy;
|
|
67
|
+
}
|
|
68
|
+
return WhoIsToldMode.OwnerEmailOnly;
|
|
69
|
+
};
|
|
70
|
+
exports.getWhoIsToldMode = getWhoIsToldMode;
|
|
71
|
+
/*
|
|
72
|
+
* The project's first on-call policy, paging the people and teams picked
|
|
73
|
+
* first, with an incident and an alert on-call rule that run it for every
|
|
74
|
+
* new incident and alert. The project is the request's: the model API and
|
|
75
|
+
* the service both set it from the caller's tenant.
|
|
76
|
+
*/
|
|
77
|
+
const buildFirstOnCallPolicy = (data) => {
|
|
78
|
+
const policy = new OnCallDutyPolicy_1.default();
|
|
79
|
+
policy.name = exports.GUIDED_SETUP_POLICY_NAME;
|
|
80
|
+
return {
|
|
81
|
+
policy: policy,
|
|
82
|
+
miscDataProps: {
|
|
83
|
+
users: [...data.userIds],
|
|
84
|
+
teams: [...data.teamIds],
|
|
85
|
+
[EveryNewEventRules_1.PAGE_FOR_EVERY_NEW_INCIDENT_AND_ALERT_KEY]: true,
|
|
86
|
+
},
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
exports.buildFirstOnCallPolicy = buildFirstOnCallPolicy;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import commonJsModule from "./OnCallPolicyRecords.js";
|
|
2
|
+
export const GUIDED_SETUP_POLICY_NAME = commonJsModule.GUIDED_SETUP_POLICY_NAME;
|
|
3
|
+
export const WhoIsToldMode = commonJsModule.WhoIsToldMode;
|
|
4
|
+
export const areWhoIsToldCountsKnown = commonJsModule.areWhoIsToldCountsKnown;
|
|
5
|
+
export const buildFirstOnCallPolicy = commonJsModule.buildFirstOnCallPolicy;
|
|
6
|
+
export const getWhoIsToldMode = commonJsModule.getWhoIsToldMode;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import StatusPage from "../../Models/DatabaseModels/StatusPage.mjs";
|
|
2
|
+
import StatusPageResource from "../../Models/DatabaseModels/StatusPageResource.mjs";
|
|
3
|
+
import ObjectID from "../../Types/ObjectID.mjs";
|
|
4
|
+
import UptimePrecision from "../../Types/StatusPage/UptimePrecision.mjs";
|
|
5
|
+
export declare const STATUS_PAGE_NAME_MIN_LENGTH: number;
|
|
6
|
+
export interface StatusPageResourceOptions {
|
|
7
|
+
displayTooltip?: string | undefined;
|
|
8
|
+
showCurrentStatus?: boolean | undefined;
|
|
9
|
+
showUptimePercent?: boolean | undefined;
|
|
10
|
+
uptimePercentPrecision?: UptimePrecision | undefined;
|
|
11
|
+
showStatusHistoryChart?: boolean | undefined;
|
|
12
|
+
}
|
|
13
|
+
export declare const GUIDED_SETUP_RESOURCE_OPTIONS: StatusPageResourceOptions;
|
|
14
|
+
export interface StatusPageResourcePlacement {
|
|
15
|
+
projectId: ObjectID;
|
|
16
|
+
statusPageId: ObjectID;
|
|
17
|
+
statusPageGroupId?: ObjectID | undefined;
|
|
18
|
+
rowAxisValue?: string | undefined;
|
|
19
|
+
columnAxisValue?: string | undefined;
|
|
20
|
+
resourceOptions?: StatusPageResourceOptions | undefined;
|
|
21
|
+
}
|
|
22
|
+
export declare const buildGuidedStatusPage: (data: {
|
|
23
|
+
name: string;
|
|
24
|
+
projectId: ObjectID;
|
|
25
|
+
}) => StatusPage;
|
|
26
|
+
export declare const buildStatusPageResource: (data: {
|
|
27
|
+
placement: StatusPageResourcePlacement;
|
|
28
|
+
displayName: string;
|
|
29
|
+
displayDescription: string | undefined;
|
|
30
|
+
}) => StatusPageResource;
|
|
31
|
+
export declare const buildGuidedStatusPageMonitor: (data: {
|
|
32
|
+
projectId: ObjectID;
|
|
33
|
+
statusPageId: ObjectID;
|
|
34
|
+
monitorId: ObjectID;
|
|
35
|
+
monitorName: string;
|
|
36
|
+
}) => StatusPageResource;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import StatusPage from "../../Models/DatabaseModels/StatusPage";
|
|
2
|
+
import StatusPageResource from "../../Models/DatabaseModels/StatusPageResource";
|
|
3
|
+
import ObjectID from "../../Types/ObjectID";
|
|
4
|
+
import UptimePrecision from "../../Types/StatusPage/UptimePrecision";
|
|
5
|
+
export declare const STATUS_PAGE_NAME_MIN_LENGTH: number;
|
|
6
|
+
export interface StatusPageResourceOptions {
|
|
7
|
+
displayTooltip?: string | undefined;
|
|
8
|
+
showCurrentStatus?: boolean | undefined;
|
|
9
|
+
showUptimePercent?: boolean | undefined;
|
|
10
|
+
uptimePercentPrecision?: UptimePrecision | undefined;
|
|
11
|
+
showStatusHistoryChart?: boolean | undefined;
|
|
12
|
+
}
|
|
13
|
+
export declare const GUIDED_SETUP_RESOURCE_OPTIONS: StatusPageResourceOptions;
|
|
14
|
+
export interface StatusPageResourcePlacement {
|
|
15
|
+
projectId: ObjectID;
|
|
16
|
+
statusPageId: ObjectID;
|
|
17
|
+
statusPageGroupId?: ObjectID | undefined;
|
|
18
|
+
rowAxisValue?: string | undefined;
|
|
19
|
+
columnAxisValue?: string | undefined;
|
|
20
|
+
resourceOptions?: StatusPageResourceOptions | undefined;
|
|
21
|
+
}
|
|
22
|
+
export declare const buildGuidedStatusPage: (data: {
|
|
23
|
+
name: string;
|
|
24
|
+
projectId: ObjectID;
|
|
25
|
+
}) => StatusPage;
|
|
26
|
+
export declare const buildStatusPageResource: (data: {
|
|
27
|
+
placement: StatusPageResourcePlacement;
|
|
28
|
+
displayName: string;
|
|
29
|
+
displayDescription: string | undefined;
|
|
30
|
+
}) => StatusPageResource;
|
|
31
|
+
export declare const buildGuidedStatusPageMonitor: (data: {
|
|
32
|
+
projectId: ObjectID;
|
|
33
|
+
statusPageId: ObjectID;
|
|
34
|
+
monitorId: ObjectID;
|
|
35
|
+
monitorName: string;
|
|
36
|
+
}) => StatusPageResource;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.buildGuidedStatusPageMonitor = exports.buildStatusPageResource = exports.buildGuidedStatusPage = exports.GUIDED_SETUP_RESOURCE_OPTIONS = exports.STATUS_PAGE_NAME_MIN_LENGTH = void 0;
|
|
7
|
+
const StatusPage_1 = __importDefault(require("../../Models/DatabaseModels/StatusPage"));
|
|
8
|
+
const StatusPageResource_1 = __importDefault(require("../../Models/DatabaseModels/StatusPageResource"));
|
|
9
|
+
/*
|
|
10
|
+
* THE STATUS PAGE A GUIDED SETUP PUBLISHES, AND THE MONITORS ON IT.
|
|
11
|
+
*
|
|
12
|
+
* "Publish a status page" is set up two ways: the guided setup's page in the
|
|
13
|
+
* Dashboard (#6806, Components/GuidedSetup/StatusPage) and a sentence to Ask
|
|
14
|
+
* AI (#6829, Server/Utils/AI/Toolbox/SetupTools). Both build the page and
|
|
15
|
+
* each monitor's place on it here, as Create Status Page and Add Multiple
|
|
16
|
+
* Monitors build them, so for the same answers they make the same records:
|
|
17
|
+
*
|
|
18
|
+
* - the page: its name and project, everything else the server's defaults
|
|
19
|
+
* (public, at <host>/status-page/<id>);
|
|
20
|
+
* - each monitor: a resource named after the monitor, showing its current
|
|
21
|
+
* status, its uptime and its history.
|
|
22
|
+
*
|
|
23
|
+
* Pure: the Dashboard writes through the model API (StatusPageSetupApi and
|
|
24
|
+
* BulkAddStatusPageResources), the server through StatusPageService and
|
|
25
|
+
* StatusPageResourceService (SetupTools), as the person either way.
|
|
26
|
+
*/
|
|
27
|
+
// Create Status Page's own rule (StatusPageCreateForm): at least two letters.
|
|
28
|
+
exports.STATUS_PAGE_NAME_MIN_LENGTH = 2;
|
|
29
|
+
// How a guided setup shows each monitor: its status, its uptime and its history.
|
|
30
|
+
exports.GUIDED_SETUP_RESOURCE_OPTIONS = {
|
|
31
|
+
showCurrentStatus: true,
|
|
32
|
+
showUptimePercent: true,
|
|
33
|
+
showStatusHistoryChart: true,
|
|
34
|
+
};
|
|
35
|
+
/*
|
|
36
|
+
* The page as Create Status Page makes it: the name, trimmed, and the
|
|
37
|
+
* project; everything else the server's defaults.
|
|
38
|
+
*/
|
|
39
|
+
const buildGuidedStatusPage = (data) => {
|
|
40
|
+
const statusPage = new StatusPage_1.default();
|
|
41
|
+
statusPage.name = data.name.trim();
|
|
42
|
+
statusPage.projectId = data.projectId;
|
|
43
|
+
return statusPage;
|
|
44
|
+
};
|
|
45
|
+
exports.buildGuidedStatusPage = buildGuidedStatusPage;
|
|
46
|
+
/*
|
|
47
|
+
* One new resource, placed and set up as the bulk add says. Its name and
|
|
48
|
+
* description are its monitor's (or monitor group's); the caller points it
|
|
49
|
+
* at what it shows (monitorId or monitorGroupId).
|
|
50
|
+
*/
|
|
51
|
+
const buildStatusPageResource = (data) => {
|
|
52
|
+
const placement = data.placement;
|
|
53
|
+
const resource = new StatusPageResource_1.default();
|
|
54
|
+
resource.projectId = placement.projectId;
|
|
55
|
+
resource.statusPageId = placement.statusPageId;
|
|
56
|
+
resource.displayName = data.displayName;
|
|
57
|
+
if (data.displayDescription !== undefined) {
|
|
58
|
+
resource.displayDescription = data.displayDescription;
|
|
59
|
+
}
|
|
60
|
+
if (placement.statusPageGroupId) {
|
|
61
|
+
resource.statusPageGroupId = placement.statusPageGroupId;
|
|
62
|
+
}
|
|
63
|
+
if (placement.rowAxisValue) {
|
|
64
|
+
resource.rowAxisValue = placement.rowAxisValue;
|
|
65
|
+
}
|
|
66
|
+
if (placement.columnAxisValue) {
|
|
67
|
+
resource.columnAxisValue = placement.columnAxisValue;
|
|
68
|
+
}
|
|
69
|
+
const resourceOptions = placement.resourceOptions || {};
|
|
70
|
+
if (resourceOptions.displayTooltip) {
|
|
71
|
+
resource.displayTooltip = resourceOptions.displayTooltip;
|
|
72
|
+
}
|
|
73
|
+
if (resourceOptions.showCurrentStatus !== undefined) {
|
|
74
|
+
resource.showCurrentStatus = resourceOptions.showCurrentStatus;
|
|
75
|
+
}
|
|
76
|
+
if (resourceOptions.showUptimePercent !== undefined) {
|
|
77
|
+
resource.showUptimePercent = resourceOptions.showUptimePercent;
|
|
78
|
+
}
|
|
79
|
+
if (resourceOptions.uptimePercentPrecision) {
|
|
80
|
+
resource.uptimePercentPrecision = resourceOptions.uptimePercentPrecision;
|
|
81
|
+
}
|
|
82
|
+
if (resourceOptions.showStatusHistoryChart !== undefined) {
|
|
83
|
+
resource.showStatusHistoryChart = resourceOptions.showStatusHistoryChart;
|
|
84
|
+
}
|
|
85
|
+
return resource;
|
|
86
|
+
};
|
|
87
|
+
exports.buildStatusPageResource = buildStatusPageResource;
|
|
88
|
+
/*
|
|
89
|
+
* A monitor's place on a status page, as the guided setup adds it: named
|
|
90
|
+
* after the monitor, with its status, its uptime and its history.
|
|
91
|
+
*/
|
|
92
|
+
const buildGuidedStatusPageMonitor = (data) => {
|
|
93
|
+
const resource = (0, exports.buildStatusPageResource)({
|
|
94
|
+
placement: {
|
|
95
|
+
projectId: data.projectId,
|
|
96
|
+
statusPageId: data.statusPageId,
|
|
97
|
+
resourceOptions: exports.GUIDED_SETUP_RESOURCE_OPTIONS,
|
|
98
|
+
},
|
|
99
|
+
displayName: data.monitorName,
|
|
100
|
+
displayDescription: undefined,
|
|
101
|
+
});
|
|
102
|
+
resource.monitorId = data.monitorId;
|
|
103
|
+
return resource;
|
|
104
|
+
};
|
|
105
|
+
exports.buildGuidedStatusPageMonitor = buildGuidedStatusPageMonitor;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import commonJsModule from "./StatusPageRecords.js";
|
|
2
|
+
export const GUIDED_SETUP_RESOURCE_OPTIONS = commonJsModule.GUIDED_SETUP_RESOURCE_OPTIONS;
|
|
3
|
+
export const STATUS_PAGE_NAME_MIN_LENGTH = commonJsModule.STATUS_PAGE_NAME_MIN_LENGTH;
|
|
4
|
+
export const buildGuidedStatusPage = commonJsModule.buildGuidedStatusPage;
|
|
5
|
+
export const buildGuidedStatusPageMonitor = commonJsModule.buildGuidedStatusPageMonitor;
|
|
6
|
+
export const buildStatusPageResource = commonJsModule.buildStatusPageResource;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import Monitor from "../../Models/DatabaseModels/Monitor.mjs";
|
|
2
|
+
import ObjectID from "../../Types/ObjectID.mjs";
|
|
3
|
+
import { Translator } from "../../Types/Translator.mjs";
|
|
4
|
+
export declare const GUIDED_SETUP_MONITORING_INTERVAL: string;
|
|
5
|
+
export declare const MONITOR_NAME_MAX_LENGTH: number;
|
|
6
|
+
export interface WebsiteAddress {
|
|
7
|
+
url: string;
|
|
8
|
+
host: string;
|
|
9
|
+
monitorName: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const parseWebsiteAddress: (input: string) => WebsiteAddress | null;
|
|
12
|
+
export declare const getWebsiteAddressIdentity: (text: string) => string | null;
|
|
13
|
+
export declare const isSameWebsiteAddress: (left: string, right: string) => boolean;
|
|
14
|
+
export interface WebsiteMonitorSeeds {
|
|
15
|
+
operationalStatusId: ObjectID;
|
|
16
|
+
offlineStatusId: ObjectID;
|
|
17
|
+
incidentSeverityId: ObjectID;
|
|
18
|
+
alertSeverityId: ObjectID;
|
|
19
|
+
}
|
|
20
|
+
export interface WebsiteMonitorSeedStatus {
|
|
21
|
+
id?: ObjectID | null | undefined;
|
|
22
|
+
isOperationalState?: boolean | undefined;
|
|
23
|
+
isOfflineState?: boolean | undefined;
|
|
24
|
+
}
|
|
25
|
+
export interface WebsiteMonitorSeedSeverity {
|
|
26
|
+
id?: ObjectID | null | undefined;
|
|
27
|
+
isArchived?: boolean | undefined;
|
|
28
|
+
}
|
|
29
|
+
export declare const WEBSITE_MONITOR_SEEDS_MISSING: string;
|
|
30
|
+
export declare const pickWebsiteMonitorSeeds: (data: {
|
|
31
|
+
statuses: ReadonlyArray<WebsiteMonitorSeedStatus>;
|
|
32
|
+
incidentSeverities: ReadonlyArray<WebsiteMonitorSeedSeverity>;
|
|
33
|
+
alertSeverities: ReadonlyArray<WebsiteMonitorSeedSeverity>;
|
|
34
|
+
}) => WebsiteMonitorSeeds | null;
|
|
35
|
+
export declare const buildWebsiteMonitor: (data: {
|
|
36
|
+
address: WebsiteAddress;
|
|
37
|
+
isApi: boolean;
|
|
38
|
+
seeds: WebsiteMonitorSeeds;
|
|
39
|
+
monitoringInterval: string;
|
|
40
|
+
translator?: Translator | undefined;
|
|
41
|
+
}) => Monitor;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import Monitor from "../../Models/DatabaseModels/Monitor";
|
|
2
|
+
import ObjectID from "../../Types/ObjectID";
|
|
3
|
+
import { Translator } from "../../Types/Translator";
|
|
4
|
+
export declare const GUIDED_SETUP_MONITORING_INTERVAL: string;
|
|
5
|
+
export declare const MONITOR_NAME_MAX_LENGTH: number;
|
|
6
|
+
export interface WebsiteAddress {
|
|
7
|
+
url: string;
|
|
8
|
+
host: string;
|
|
9
|
+
monitorName: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const parseWebsiteAddress: (input: string) => WebsiteAddress | null;
|
|
12
|
+
export declare const getWebsiteAddressIdentity: (text: string) => string | null;
|
|
13
|
+
export declare const isSameWebsiteAddress: (left: string, right: string) => boolean;
|
|
14
|
+
export interface WebsiteMonitorSeeds {
|
|
15
|
+
operationalStatusId: ObjectID;
|
|
16
|
+
offlineStatusId: ObjectID;
|
|
17
|
+
incidentSeverityId: ObjectID;
|
|
18
|
+
alertSeverityId: ObjectID;
|
|
19
|
+
}
|
|
20
|
+
export interface WebsiteMonitorSeedStatus {
|
|
21
|
+
id?: ObjectID | null | undefined;
|
|
22
|
+
isOperationalState?: boolean | undefined;
|
|
23
|
+
isOfflineState?: boolean | undefined;
|
|
24
|
+
}
|
|
25
|
+
export interface WebsiteMonitorSeedSeverity {
|
|
26
|
+
id?: ObjectID | null | undefined;
|
|
27
|
+
isArchived?: boolean | undefined;
|
|
28
|
+
}
|
|
29
|
+
export declare const WEBSITE_MONITOR_SEEDS_MISSING: string;
|
|
30
|
+
export declare const pickWebsiteMonitorSeeds: (data: {
|
|
31
|
+
statuses: ReadonlyArray<WebsiteMonitorSeedStatus>;
|
|
32
|
+
incidentSeverities: ReadonlyArray<WebsiteMonitorSeedSeverity>;
|
|
33
|
+
alertSeverities: ReadonlyArray<WebsiteMonitorSeedSeverity>;
|
|
34
|
+
}) => WebsiteMonitorSeeds | null;
|
|
35
|
+
export declare const buildWebsiteMonitor: (data: {
|
|
36
|
+
address: WebsiteAddress;
|
|
37
|
+
isApi: boolean;
|
|
38
|
+
seeds: WebsiteMonitorSeeds;
|
|
39
|
+
monitoringInterval: string;
|
|
40
|
+
translator?: Translator | undefined;
|
|
41
|
+
}) => Monitor;
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.buildWebsiteMonitor = exports.pickWebsiteMonitorSeeds = exports.WEBSITE_MONITOR_SEEDS_MISSING = exports.isSameWebsiteAddress = exports.getWebsiteAddressIdentity = exports.parseWebsiteAddress = exports.MONITOR_NAME_MAX_LENGTH = exports.GUIDED_SETUP_MONITORING_INTERVAL = void 0;
|
|
7
|
+
const Monitor_1 = __importDefault(require("../../Models/DatabaseModels/Monitor"));
|
|
8
|
+
const URL_1 = __importDefault(require("../../Types/API/URL"));
|
|
9
|
+
const MonitorSteps_1 = __importDefault(require("../../Types/Monitor/MonitorSteps"));
|
|
10
|
+
const MonitorType_1 = __importDefault(require("../../Types/Monitor/MonitorType"));
|
|
11
|
+
/*
|
|
12
|
+
* THE WEBSITE MONITOR A GUIDED SETUP MAKES, ONE COPY FOR EVERY WAY IN.
|
|
13
|
+
*
|
|
14
|
+
* "Know when my website or API is down" is set up two ways: the guided
|
|
15
|
+
* setup's page in the Dashboard (#6804, Components/GuidedSetup/WebsiteDown)
|
|
16
|
+
* and a sentence to Ask AI (#6829, Server/Utils/AI/Toolbox/SetupTools). Both
|
|
17
|
+
* build the monitor here, so for the same answers they make the same record:
|
|
18
|
+
*
|
|
19
|
+
* - the address: "example.com" is enough, and https is added;
|
|
20
|
+
* - the name: the host, and the path when there is one;
|
|
21
|
+
* - the type: Website, or API when the person says it is an API;
|
|
22
|
+
* - Create Monitor's defaults for everything else: the type's criteria
|
|
23
|
+
* (offline when it does not answer, or answers outside 200 to 399, which
|
|
24
|
+
* opens an incident), every five minutes, and the probes a new monitor
|
|
25
|
+
* starts with - left to the server, which adds them when the create
|
|
26
|
+
* names none.
|
|
27
|
+
*
|
|
28
|
+
* Pure: no database, no React. The Dashboard reads and writes through the
|
|
29
|
+
* model API (WebsiteDownApi), the server through the services (SetupTools),
|
|
30
|
+
* as the person either way, so every permission, plan limit and default the
|
|
31
|
+
* server applies to Create Monitor applies to both.
|
|
32
|
+
*/
|
|
33
|
+
/*
|
|
34
|
+
* How often a new monitor is checked: Create Monitor's default, every five
|
|
35
|
+
* minutes. The Dashboard's own copy is DEFAULT_MONITORING_INTERVAL
|
|
36
|
+
* (Utils/Form/Monitor/MonitoringIntervalDefault); a test holds the two equal.
|
|
37
|
+
*/
|
|
38
|
+
exports.GUIDED_SETUP_MONITORING_INTERVAL = "*/5 * * * *";
|
|
39
|
+
// What a monitor is called at most: the host and path cut to this many characters.
|
|
40
|
+
exports.MONITOR_NAME_MAX_LENGTH = 100;
|
|
41
|
+
const SCHEME = /^[a-z][a-z0-9+.-]*:\/\//i;
|
|
42
|
+
const WHITESPACE = /\s/;
|
|
43
|
+
/*
|
|
44
|
+
* A path without its trailing slashes, taken one at a time: what a person
|
|
45
|
+
* typed is short, and no pattern runs on it (a run of slashes in the middle
|
|
46
|
+
* made /\/+$/ try again at every one of them).
|
|
47
|
+
*/
|
|
48
|
+
const withoutTrailingSlashes = (path) => {
|
|
49
|
+
let end = path.length;
|
|
50
|
+
while (end > 0 && path[end - 1] === "/") {
|
|
51
|
+
end--;
|
|
52
|
+
}
|
|
53
|
+
return path.slice(0, end);
|
|
54
|
+
};
|
|
55
|
+
const parseWebsiteAddress = (input) => {
|
|
56
|
+
const text = (input || "").trim();
|
|
57
|
+
if (!text || WHITESPACE.test(text)) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
const withScheme = SCHEME.test(text) ? text : `https://${text}`;
|
|
61
|
+
let parsed;
|
|
62
|
+
try {
|
|
63
|
+
parsed = new globalThis.URL(withScheme);
|
|
64
|
+
}
|
|
65
|
+
catch (_a) {
|
|
66
|
+
return null;
|
|
67
|
+
}
|
|
68
|
+
if (parsed.protocol !== "http:" && parsed.protocol !== "https:") {
|
|
69
|
+
return null;
|
|
70
|
+
}
|
|
71
|
+
/*
|
|
72
|
+
* No user or password in it: "mailto:ana@example.com" given https:// in
|
|
73
|
+
* front reads as one, and a password must not become a monitor's name.
|
|
74
|
+
*/
|
|
75
|
+
if (parsed.username || parsed.password) {
|
|
76
|
+
return null;
|
|
77
|
+
}
|
|
78
|
+
const host = parsed.hostname.toLowerCase();
|
|
79
|
+
// A host is a name with a dot in it, localhost, or an IP address.
|
|
80
|
+
if (!host ||
|
|
81
|
+
(!host.includes(".") && !host.includes(":") && host !== "localhost")) {
|
|
82
|
+
return null;
|
|
83
|
+
}
|
|
84
|
+
try {
|
|
85
|
+
URL_1.default.fromString(withScheme);
|
|
86
|
+
}
|
|
87
|
+
catch (_b) {
|
|
88
|
+
return null;
|
|
89
|
+
}
|
|
90
|
+
const path = withoutTrailingSlashes(parsed.pathname);
|
|
91
|
+
const name = `${host.replace(/^www\./, "")}${parsed.port ? `:${parsed.port}` : ""}${path}`;
|
|
92
|
+
return {
|
|
93
|
+
url: withScheme,
|
|
94
|
+
host: host,
|
|
95
|
+
monitorName: name.length > exports.MONITOR_NAME_MAX_LENGTH
|
|
96
|
+
? name.slice(0, exports.MONITOR_NAME_MAX_LENGTH)
|
|
97
|
+
: name,
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
exports.parseWebsiteAddress = parseWebsiteAddress;
|
|
101
|
+
/*
|
|
102
|
+
* ONE ADDRESS, HOWEVER IT WAS TYPED (#7059): the scheme, the host, the port,
|
|
103
|
+
* the path and the query a check asks for. "acme.example" is
|
|
104
|
+
* "https://acme.example/", and a host's capitals or a path's trailing slash
|
|
105
|
+
* change nothing; http and https, www or not, another path or another query
|
|
106
|
+
* are other checks. Null for text that is not a web address, or that names
|
|
107
|
+
* a user or password: the setup never checks one (parseWebsiteAddress).
|
|
108
|
+
*/
|
|
109
|
+
const getWebsiteAddressIdentity = (text) => {
|
|
110
|
+
const trimmed = (text || "").trim();
|
|
111
|
+
if (!trimmed || WHITESPACE.test(trimmed)) {
|
|
112
|
+
return null;
|
|
113
|
+
}
|
|
114
|
+
let parsed;
|
|
115
|
+
try {
|
|
116
|
+
parsed = new globalThis.URL(SCHEME.test(trimmed) ? trimmed : `https://${trimmed}`);
|
|
117
|
+
}
|
|
118
|
+
catch (_a) {
|
|
119
|
+
return null;
|
|
120
|
+
}
|
|
121
|
+
if ((parsed.protocol !== "http:" && parsed.protocol !== "https:") ||
|
|
122
|
+
parsed.username ||
|
|
123
|
+
parsed.password) {
|
|
124
|
+
return null;
|
|
125
|
+
}
|
|
126
|
+
return `${parsed.protocol}//${parsed.host.toLowerCase()}${withoutTrailingSlashes(parsed.pathname)}${parsed.search}`;
|
|
127
|
+
};
|
|
128
|
+
exports.getWebsiteAddressIdentity = getWebsiteAddressIdentity;
|
|
129
|
+
const isSameWebsiteAddress = (left, right) => {
|
|
130
|
+
const leftIdentity = (0, exports.getWebsiteAddressIdentity)(left);
|
|
131
|
+
return (leftIdentity !== null && leftIdentity === (0, exports.getWebsiteAddressIdentity)(right));
|
|
132
|
+
};
|
|
133
|
+
exports.isSameWebsiteAddress = isSameWebsiteAddress;
|
|
134
|
+
/*
|
|
135
|
+
* Why a monitor can't be made from the project's records: it has no
|
|
136
|
+
* operational or offline status, or no live severity, which Create Monitor's
|
|
137
|
+
* criteria name.
|
|
138
|
+
*/
|
|
139
|
+
exports.WEBSITE_MONITOR_SEEDS_MISSING = "This project is missing its monitor statuses or severities, so a monitor can't be made here. Create one from Create Monitor instead.";
|
|
140
|
+
/*
|
|
141
|
+
* The statuses and severities a new monitor's default criteria name, as
|
|
142
|
+
* Create Monitor seeds them: the operational and offline statuses (statuses
|
|
143
|
+
* in the project's priority order), and the most severe live incident and
|
|
144
|
+
* alert severities (severities in the project's order). Null when the
|
|
145
|
+
* project lacks one.
|
|
146
|
+
*/
|
|
147
|
+
const pickWebsiteMonitorSeeds = (data) => {
|
|
148
|
+
const operational = data.statuses.find((status) => {
|
|
149
|
+
return Boolean(status.isOperationalState);
|
|
150
|
+
});
|
|
151
|
+
const offline = data.statuses.find((status) => {
|
|
152
|
+
return Boolean(status.isOfflineState);
|
|
153
|
+
});
|
|
154
|
+
const isLive = (severity) => {
|
|
155
|
+
return !severity.isArchived;
|
|
156
|
+
};
|
|
157
|
+
const incidentSeverity = data.incidentSeverities.find(isLive);
|
|
158
|
+
const alertSeverity = data.alertSeverities.find(isLive);
|
|
159
|
+
if (!(operational === null || operational === void 0 ? void 0 : operational.id) ||
|
|
160
|
+
!(offline === null || offline === void 0 ? void 0 : offline.id) ||
|
|
161
|
+
!(incidentSeverity === null || incidentSeverity === void 0 ? void 0 : incidentSeverity.id) ||
|
|
162
|
+
!(alertSeverity === null || alertSeverity === void 0 ? void 0 : alertSeverity.id)) {
|
|
163
|
+
return null;
|
|
164
|
+
}
|
|
165
|
+
return {
|
|
166
|
+
operationalStatusId: operational.id,
|
|
167
|
+
offlineStatusId: offline.id,
|
|
168
|
+
incidentSeverityId: incidentSeverity.id,
|
|
169
|
+
alertSeverityId: alertSeverity.id,
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
exports.pickWebsiteMonitorSeeds = pickWebsiteMonitorSeeds;
|
|
173
|
+
/*
|
|
174
|
+
* The monitor Create Monitor would make for this address with every
|
|
175
|
+
* default kept: the type's criteria, named in the translator's language
|
|
176
|
+
* (English without one), and checked every `monitoringInterval` - five
|
|
177
|
+
* minutes unless the person asked for another of Create Monitor's
|
|
178
|
+
* intervals. The probes are left to the server, which adds the ones a new
|
|
179
|
+
* monitor starts with when the create names none.
|
|
180
|
+
*/
|
|
181
|
+
const buildWebsiteMonitor = (data) => {
|
|
182
|
+
var _a, _b;
|
|
183
|
+
const monitorType = data.isApi
|
|
184
|
+
? MonitorType_1.default.API
|
|
185
|
+
: MonitorType_1.default.Website;
|
|
186
|
+
const monitorSteps = MonitorSteps_1.default.getDefaultMonitorSteps({
|
|
187
|
+
defaultMonitorStatusId: data.seeds.operationalStatusId,
|
|
188
|
+
monitorType: monitorType,
|
|
189
|
+
monitorName: data.address.monitorName,
|
|
190
|
+
onlineMonitorStatusId: data.seeds.operationalStatusId,
|
|
191
|
+
offlineMonitorStatusId: data.seeds.offlineStatusId,
|
|
192
|
+
defaultIncidentSeverityId: data.seeds.incidentSeverityId,
|
|
193
|
+
defaultAlertSeverityId: data.seeds.alertSeverityId,
|
|
194
|
+
translator: data.translator,
|
|
195
|
+
});
|
|
196
|
+
(_b = (_a = monitorSteps.data) === null || _a === void 0 ? void 0 : _a.monitorStepsInstanceArray[0]) === null || _b === void 0 ? void 0 : _b.setMonitorDestination(URL_1.default.fromString(data.address.url));
|
|
197
|
+
const monitor = new Monitor_1.default();
|
|
198
|
+
monitor.name = data.address.monitorName;
|
|
199
|
+
monitor.monitorType = monitorType;
|
|
200
|
+
monitor.monitorSteps = monitorSteps;
|
|
201
|
+
monitor.monitoringInterval = data.monitoringInterval;
|
|
202
|
+
return monitor;
|
|
203
|
+
};
|
|
204
|
+
exports.buildWebsiteMonitor = buildWebsiteMonitor;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import commonJsModule from "./WebsiteMonitorRecords.js";
|
|
2
|
+
export const GUIDED_SETUP_MONITORING_INTERVAL = commonJsModule.GUIDED_SETUP_MONITORING_INTERVAL;
|
|
3
|
+
export const MONITOR_NAME_MAX_LENGTH = commonJsModule.MONITOR_NAME_MAX_LENGTH;
|
|
4
|
+
export const WEBSITE_MONITOR_SEEDS_MISSING = commonJsModule.WEBSITE_MONITOR_SEEDS_MISSING;
|
|
5
|
+
export const buildWebsiteMonitor = commonJsModule.buildWebsiteMonitor;
|
|
6
|
+
export const getWebsiteAddressIdentity = commonJsModule.getWebsiteAddressIdentity;
|
|
7
|
+
export const isSameWebsiteAddress = commonJsModule.isSameWebsiteAddress;
|
|
8
|
+
export const parseWebsiteAddress = commonJsModule.parseWebsiteAddress;
|
|
9
|
+
export const pickWebsiteMonitorSeeds = commonJsModule.pickWebsiteMonitorSeeds;
|
|
@@ -20,6 +20,15 @@ export type GetInlineImageTypeFunction = (base64: string) => InlineImageType | n
|
|
|
20
20
|
* parseInlineImageDataUri, it does not check the rest of the data.
|
|
21
21
|
*/
|
|
22
22
|
export declare const getInlineImageTypeOfBase64: GetInlineImageTypeFunction;
|
|
23
|
+
/**
|
|
24
|
+
* Whether `prefix` - the start of a data: URL up to its first ",", before
|
|
25
|
+
* its data: "data:", a media type, its parameters - is one an inline image
|
|
26
|
+
* starts with: a media type parseInlineImageDataUri takes, with no
|
|
27
|
+
* parameters but ";base64". Whatever data follows a prefix this answers
|
|
28
|
+
* false for, the URL is not an inline image. The data decides the rest, so
|
|
29
|
+
* true does not make it one.
|
|
30
|
+
*/
|
|
31
|
+
export declare const isInlineImageDataUriPrefix: (prefix: string) => boolean;
|
|
23
32
|
export type ParseInlineImageDataUriFunction = (url: string | null | undefined) => InlineImageDataUri | null;
|
|
24
33
|
/**
|
|
25
34
|
* The inline raster image `url` carries (see above), or null when it is not
|
|
@@ -20,6 +20,15 @@ export type GetInlineImageTypeFunction = (base64: string) => InlineImageType | n
|
|
|
20
20
|
* parseInlineImageDataUri, it does not check the rest of the data.
|
|
21
21
|
*/
|
|
22
22
|
export declare const getInlineImageTypeOfBase64: GetInlineImageTypeFunction;
|
|
23
|
+
/**
|
|
24
|
+
* Whether `prefix` - the start of a data: URL up to its first ",", before
|
|
25
|
+
* its data: "data:", a media type, its parameters - is one an inline image
|
|
26
|
+
* starts with: a media type parseInlineImageDataUri takes, with no
|
|
27
|
+
* parameters but ";base64". Whatever data follows a prefix this answers
|
|
28
|
+
* false for, the URL is not an inline image. The data decides the rest, so
|
|
29
|
+
* true does not make it one.
|
|
30
|
+
*/
|
|
31
|
+
export declare const isInlineImageDataUriPrefix: (prefix: string) => boolean;
|
|
23
32
|
export type ParseInlineImageDataUriFunction = (url: string | null | undefined) => InlineImageDataUri | null;
|
|
24
33
|
/**
|
|
25
34
|
* The inline raster image `url` carries (see above), or null when it is not
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
* data (see isBase64).
|
|
36
36
|
*/
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.parseInlineImageDataUri = exports.getInlineImageTypeOfBase64 = exports.isBase64Character = void 0;
|
|
38
|
+
exports.parseInlineImageDataUri = exports.isInlineImageDataUriPrefix = exports.getInlineImageTypeOfBase64 = exports.isBase64Character = void 0;
|
|
39
39
|
const DATA_URI_PREFIX_PATTERN = /^data:image\/(?:png|jpe?g|gif|webp);base64,/i;
|
|
40
40
|
const BASE64_ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
41
41
|
// How many leading bytes the signatures below need: WebP's is 12 long.
|
|
@@ -184,6 +184,22 @@ const getInlineImageTypeOfBase64 = (base64) => {
|
|
|
184
184
|
: null;
|
|
185
185
|
};
|
|
186
186
|
exports.getInlineImageTypeOfBase64 = getInlineImageTypeOfBase64;
|
|
187
|
+
/**
|
|
188
|
+
* Whether `prefix` - the start of a data: URL up to its first ",", before
|
|
189
|
+
* its data: "data:", a media type, its parameters - is one an inline image
|
|
190
|
+
* starts with: a media type parseInlineImageDataUri takes, with no
|
|
191
|
+
* parameters but ";base64". Whatever data follows a prefix this answers
|
|
192
|
+
* false for, the URL is not an inline image. The data decides the rest, so
|
|
193
|
+
* true does not make it one.
|
|
194
|
+
*/
|
|
195
|
+
const isInlineImageDataUriPrefix = (prefix) => {
|
|
196
|
+
if (typeof prefix !== "string") {
|
|
197
|
+
return false;
|
|
198
|
+
}
|
|
199
|
+
const match = prefix.match(DATA_URI_PREFIX_PATTERN);
|
|
200
|
+
return match !== null && match[0].length === prefix.length;
|
|
201
|
+
};
|
|
202
|
+
exports.isInlineImageDataUriPrefix = isInlineImageDataUriPrefix;
|
|
187
203
|
/**
|
|
188
204
|
* The inline raster image `url` carries (see above), or null when it is not
|
|
189
205
|
* one: any other scheme or media type, a media type with parameters, data
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import commonJsModule from "./InlineImageDataUri.js";
|
|
2
2
|
export const getInlineImageTypeOfBase64 = commonJsModule.getInlineImageTypeOfBase64;
|
|
3
3
|
export const isBase64Character = commonJsModule.isBase64Character;
|
|
4
|
+
export const isInlineImageDataUriPrefix = commonJsModule.isInlineImageDataUriPrefix;
|
|
4
5
|
export const parseInlineImageDataUri = commonJsModule.parseInlineImageDataUri;
|