@oneuptime/common 15.0.0 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Models/AnalyticsModels/RumProductAnalyticsEvent.js +15 -6
- package/Models/AnalyticsModels/RumProductAnalyticsSession.js +27 -10
- package/Models/AnalyticsModels/RumProductAnalyticsUser.js +16 -4
- package/Models/AnalyticsModels/RumSession.js +12 -0
- package/Models/DatabaseModels/AIAgent.js +2 -0
- package/Models/DatabaseModels/AIAgentTaskPullRequest.d.mts +2 -0
- package/Models/DatabaseModels/AIAgentTaskPullRequest.d.ts +2 -0
- package/Models/DatabaseModels/AIAgentTaskPullRequest.js +62 -0
- package/Models/DatabaseModels/AIRun.d.mts +2 -0
- package/Models/DatabaseModels/AIRun.d.ts +2 -0
- package/Models/DatabaseModels/AIRun.js +63 -0
- package/Models/DatabaseModels/AlertSeverity.js +12 -3
- package/Models/DatabaseModels/CustomNotificationChannel.js +17 -9
- package/Models/DatabaseModels/DataAsset.d.mts +1 -0
- package/Models/DatabaseModels/DataAsset.d.ts +1 -0
- package/Models/DatabaseModels/DataAsset.js +23 -0
- package/Models/DatabaseModels/DataBiConnection.d.mts +2 -1
- package/Models/DatabaseModels/DataBiConnection.d.ts +2 -1
- package/Models/DatabaseModels/DataBiConnection.js +15 -0
- package/Models/DatabaseModels/DataCheck.d.mts +3 -0
- package/Models/DatabaseModels/DataCheck.d.ts +3 -0
- package/Models/DatabaseModels/DataCheck.js +49 -0
- package/Models/DatabaseModels/DataDashboard.d.mts +1 -0
- package/Models/DatabaseModels/DataDashboard.d.ts +1 -0
- package/Models/DatabaseModels/DataDashboard.js +15 -0
- package/Models/DatabaseModels/DataPipeline.d.mts +1 -0
- package/Models/DatabaseModels/DataPipeline.d.ts +1 -0
- package/Models/DatabaseModels/DataPipeline.js +25 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.d.mts +19 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.d.ts +19 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.js +477 -0
- package/Models/DatabaseModels/DataPipelineOwnerTeam.mjs +2 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.d.mts +18 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.d.ts +18 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.js +476 -0
- package/Models/DatabaseModels/DataPipelineOwnerUser.mjs +2 -0
- package/Models/DatabaseModels/DataProduct.js +3 -2
- package/Models/DatabaseModels/DataStore.d.mts +1 -0
- package/Models/DatabaseModels/DataStore.d.ts +1 -0
- package/Models/DatabaseModels/DataStore.js +23 -0
- package/Models/DatabaseModels/DataStoreFinding.d.mts +2 -0
- package/Models/DatabaseModels/DataStoreFinding.d.ts +2 -0
- package/Models/DatabaseModels/DataStoreFinding.js +21 -0
- package/Models/DatabaseModels/EmailLog.d.mts +1 -0
- package/Models/DatabaseModels/EmailLog.d.ts +1 -0
- package/Models/DatabaseModels/EmailLog.js +35 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +5 -0
- package/Models/DatabaseModels/GlobalConfig.d.ts +5 -0
- package/Models/DatabaseModels/GlobalConfig.js +129 -1
- package/Models/DatabaseModels/GlobalOidc.d.mts +1 -0
- package/Models/DatabaseModels/GlobalOidc.d.ts +1 -0
- package/Models/DatabaseModels/GlobalOidc.js +29 -0
- package/Models/DatabaseModels/IncidentSeverity.js +12 -3
- package/Models/DatabaseModels/Index.js +6 -0
- package/Models/DatabaseModels/IoTDeviceCredential.js +3 -1
- package/Models/DatabaseModels/Monitor.d.mts +4 -0
- package/Models/DatabaseModels/Monitor.d.ts +4 -0
- package/Models/DatabaseModels/Monitor.js +126 -5
- package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDevice.js +92 -17
- package/Models/DatabaseModels/NetworkDeviceAutoImportRule.js +2 -2
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.js +38 -15
- package/Models/DatabaseModels/NetworkSnmpCredentialProfile.js +4 -4
- package/Models/DatabaseModels/OnCallDutyPolicyEscalationRule.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +6 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +6 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +156 -1
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayer.js +1 -1
- package/Models/DatabaseModels/OnCallDutyPolicyScheduleLayerUser.js +1 -1
- package/Models/DatabaseModels/OpenStackProjectNotice.js +29 -10
- package/Models/DatabaseModels/Probe.d.mts +4 -0
- package/Models/DatabaseModels/Probe.d.ts +4 -0
- package/Models/DatabaseModels/Probe.js +102 -0
- package/Models/DatabaseModels/ProductFeedback.d.mts +2 -1
- package/Models/DatabaseModels/ProductFeedback.d.ts +2 -1
- package/Models/DatabaseModels/ProductFeedback.js +34 -2
- package/Models/DatabaseModels/Project.d.mts +4 -1
- package/Models/DatabaseModels/Project.d.ts +4 -1
- package/Models/DatabaseModels/Project.js +147 -7
- package/Models/DatabaseModels/ProjectCallSMSConfig.js +8 -2
- package/Models/DatabaseModels/ProjectOidc.d.mts +1 -0
- package/Models/DatabaseModels/ProjectOidc.d.ts +1 -0
- package/Models/DatabaseModels/ProjectOidc.js +46 -0
- package/Models/DatabaseModels/ProjectSCIM.d.mts +2 -1
- package/Models/DatabaseModels/ProjectSCIM.d.ts +2 -1
- package/Models/DatabaseModels/ProjectSCIM.js +21 -9
- package/Models/DatabaseModels/Reseller.js +8 -2
- package/Models/DatabaseModels/ResellerPlan.js +12 -3
- package/Models/DatabaseModels/RumApplication.d.mts +1 -0
- package/Models/DatabaseModels/RumApplication.d.ts +1 -0
- package/Models/DatabaseModels/RumApplication.js +58 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.d.mts +1 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.d.ts +1 -0
- package/Models/DatabaseModels/RumSessionErasureRequest.js +40 -0
- package/Models/DatabaseModels/Runbook.js +3 -2
- package/Models/DatabaseModels/Runner.js +2 -0
- package/Models/DatabaseModels/SecurityCaseTask.d.mts +1 -0
- package/Models/DatabaseModels/SecurityCaseTask.d.ts +1 -0
- package/Models/DatabaseModels/SecurityCaseTask.js +27 -0
- package/Models/DatabaseModels/ServerEmailLog.d.mts +12 -0
- package/Models/DatabaseModels/ServerEmailLog.d.ts +12 -0
- package/Models/DatabaseModels/ServerEmailLog.js +206 -0
- package/Models/DatabaseModels/ServerEmailLog.mjs +2 -0
- package/Models/DatabaseModels/StatusPage.js +3 -2
- package/Models/DatabaseModels/StatusPageGroup.js +1 -1
- package/Models/DatabaseModels/StatusPageResource.js +1 -1
- package/Models/DatabaseModels/StatusPageSCIM.d.mts +2 -1
- package/Models/DatabaseModels/StatusPageSCIM.d.ts +2 -1
- package/Models/DatabaseModels/StatusPageSCIM.js +17 -8
- package/Models/DatabaseModels/StatusPageSubscriber.js +35 -15
- package/Models/DatabaseModels/TelemetryException.js +15 -2
- package/Models/DatabaseModels/TelemetryIngestionKey.d.mts +2 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.d.ts +2 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.js +46 -1
- package/Models/DatabaseModels/User.d.mts +3 -0
- package/Models/DatabaseModels/User.d.ts +3 -0
- package/Models/DatabaseModels/User.js +66 -0
- package/Models/DatabaseModels/UserSession.d.mts +1 -0
- package/Models/DatabaseModels/UserSession.d.ts +1 -0
- package/Models/DatabaseModels/UserSession.js +32 -0
- package/Models/DatabaseModels/UserWebhook.js +25 -17
- package/Models/DatabaseModels/WebhookLog.js +12 -2
- package/Models/DatabaseModels/Workflow.d.mts +3 -0
- package/Models/DatabaseModels/Workflow.d.ts +3 -0
- package/Models/DatabaseModels/Workflow.js +70 -1
- package/Models/DatabaseModels/WorkspaceLiveMessage.js +21 -15
- package/Models/DatabaseModels/WorkspaceNotificationLog.js +17 -9
- package/Models/DatabaseModels/WorkspaceNotificationRule.js +8 -2
- package/Models/DatabaseModels/WorkspaceNotificationSummary.js +1 -1
- package/Server/Services/DatabaseService.d.mts +27 -1
- package/Server/Services/DatabaseService.d.ts +27 -1
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +1 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +1 -0
- package/Types/AI/AIActionWords.js +2 -1
- package/Types/AI/AIChatPageContext.d.mts +1 -0
- package/Types/AI/AIChatPageContext.d.ts +1 -0
- package/Types/AI/AIChatPageContext.js +6 -0
- package/Types/AI/AIRunProducts.d.mts +14 -0
- package/Types/AI/AIRunProducts.d.ts +14 -0
- package/Types/AI/AIRunProducts.js +40 -0
- package/Types/AI/AIRunProducts.mjs +2 -0
- package/Types/AI/AskAiRatings.d.mts +31 -0
- package/Types/AI/AskAiRatings.d.ts +31 -0
- package/Types/AI/AskAiRatings.js +173 -0
- package/Types/AI/AskAiRatings.mjs +13 -0
- package/Types/AI/CarriedRecords.d.mts +35 -0
- package/Types/AI/CarriedRecords.d.ts +35 -0
- package/Types/AI/CarriedRecords.js +211 -0
- package/Types/AI/CarriedRecords.mjs +3 -0
- package/Types/Accounts/SetPasswordLink.d.mts +6 -0
- package/Types/Accounts/SetPasswordLink.d.ts +6 -0
- package/Types/Accounts/SetPasswordLink.js +47 -0
- package/Types/Accounts/SetPasswordLink.mjs +7 -0
- package/Types/Accounts/SignUpInvitation.d.mts +12 -0
- package/Types/Accounts/SignUpInvitation.d.ts +12 -0
- package/Types/Accounts/SignUpInvitation.js +84 -0
- package/Types/Accounts/SignUpInvitation.mjs +5 -0
- package/Types/Analytics/ActivationMilestone.d.mts +2 -1
- package/Types/Analytics/ActivationMilestone.d.ts +2 -1
- package/Types/Analytics/ActivationMilestone.js +11 -0
- package/Types/Analytics/ProductEvent.d.mts +11 -0
- package/Types/Analytics/ProductEvent.d.ts +11 -0
- package/Types/Analytics/ProductEvent.js +166 -13
- package/Types/Analytics/ProductEvent.mjs +3 -0
- package/Types/Backup/BackupScriptRun.d.mts +17 -0
- package/Types/Backup/BackupScriptRun.d.ts +17 -0
- package/Types/Backup/BackupScriptRun.js +96 -0
- package/Types/Backup/BackupScriptRun.mjs +6 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +2 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +2 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionPropsUtil.js +1 -1
- package/Types/BaseDatabase/ReadAudience.d.mts +9 -0
- package/Types/BaseDatabase/ReadAudience.d.ts +9 -0
- package/Types/BaseDatabase/ReadAudience.js +2 -0
- package/Types/BaseDatabase/ReadAudience.mjs +1 -0
- package/Types/Cloud/CloudKeyMetricGroup.d.mts +17 -0
- package/Types/Cloud/CloudKeyMetricGroup.d.ts +17 -0
- package/Types/Cloud/CloudKeyMetricGroup.js +84 -0
- package/Types/Cloud/CloudKeyMetricGroup.mjs +5 -0
- package/Types/Cloud/CloudKeyMetrics.d.mts +28 -1
- package/Types/Cloud/CloudKeyMetrics.d.ts +28 -1
- package/Types/Cloud/CloudKeyMetrics.js +1209 -206
- package/Types/Cloud/CloudKeyMetrics.mjs +6 -0
- package/Types/Cloud/CloudResourceCatalog.js +43 -12
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.mts +1 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.d.ts +1 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +49 -6
- package/Types/CloudConnection/CloudConnectionSetupCommands.mjs +1 -0
- package/Types/CloudConnection/CloudStreamTemplate.js +6 -2
- package/Types/CodeRepository/ProductionReview.d.mts +5 -0
- package/Types/CodeRepository/ProductionReview.d.ts +5 -0
- package/Types/CodeRepository/ProductionReview.js +108 -0
- package/Types/CreateFormAddress.d.mts +3 -0
- package/Types/CreateFormAddress.d.ts +3 -0
- package/Types/CreateFormAddress.js +17 -0
- package/Types/CreateFormAddress.mjs +4 -0
- package/Types/DataObservability/DataAssetFreshness.d.mts +5 -0
- package/Types/DataObservability/DataAssetFreshness.d.ts +5 -0
- package/Types/DataObservability/DataAssetFreshness.js +28 -5
- package/Types/DataObservability/DataAssetFreshness.mjs +1 -0
- package/Types/DataObservability/DataBiLineage.d.mts +69 -0
- package/Types/DataObservability/DataBiLineage.d.ts +69 -0
- package/Types/DataObservability/DataBiLineage.js +198 -0
- package/Types/DataObservability/DataBiLineage.mjs +13 -0
- package/Types/DataObservability/DataLineageColumnTrail.d.mts +2 -1
- package/Types/DataObservability/DataLineageColumnTrail.d.ts +2 -1
- package/Types/DataObservability/DataLineageColumnTrail.js +41 -3
- package/Types/DataObservability/DataLineageColumnTrail.mjs +1 -0
- package/Types/DataObservability/DataLineageMap.d.mts +67 -1
- package/Types/DataObservability/DataLineageMap.d.ts +67 -1
- package/Types/DataObservability/DataLineageMap.js +335 -3
- package/Types/DataObservability/DataLineageMap.mjs +14 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +42 -2
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +42 -2
- package/Types/DataObservability/DataObservabilityApiTypes.js +21 -1
- package/Types/DataObservability/DataObservabilityApiTypes.mjs +4 -0
- package/Types/DataObservability/DataObservabilityAttention.d.mts +5 -0
- package/Types/DataObservability/DataObservabilityAttention.d.ts +5 -0
- package/Types/DataObservability/DataObservabilityAttention.js +48 -1
- package/Types/DataObservability/DataObservabilityAttention.mjs +5 -0
- package/Types/DataObservability/DataPipelineSchedule.d.mts +4 -0
- package/Types/DataObservability/DataPipelineSchedule.d.ts +4 -0
- package/Types/DataObservability/DataPipelineSchedule.js +26 -6
- package/Types/DataObservability/DataPipelineSchedule.mjs +1 -0
- package/Types/DataObservability/DataTableLineage.d.mts +6 -0
- package/Types/DataObservability/DataTableLineage.d.ts +6 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.mts +24 -0
- package/Types/DataSecurity/DataSecurityApiTypes.d.ts +24 -0
- package/Types/DataSecurity/DataSecurityApiTypes.js +21 -1
- package/Types/DataSecurity/DataSecurityApiTypes.mjs +2 -0
- package/Types/DataSecurity/FindingSampleRecord.d.mts +16 -0
- package/Types/DataSecurity/FindingSampleRecord.d.ts +16 -0
- package/Types/DataSecurity/FindingSampleRecord.js +112 -0
- package/Types/DataSecurity/FindingSampleRecord.mjs +6 -0
- package/Types/Database/AccessControl/PermissionScopeNarrowing.js +6 -0
- package/Types/Database/DatabaseProperty.d.mts +1 -0
- package/Types/Database/DatabaseProperty.d.ts +1 -0
- package/Types/Database/DatabaseProperty.js +27 -0
- package/Types/Database/EncryptedValue.d.mts +2 -0
- package/Types/Database/EncryptedValue.d.ts +2 -0
- package/Types/Database/EncryptedValue.js +27 -0
- package/Types/Database/EncryptedValue.mjs +3 -0
- package/Types/Database/MoveInList.d.mts +41 -0
- package/Types/Database/MoveInList.d.ts +41 -0
- package/Types/Database/MoveInList.js +177 -0
- package/Types/Database/MoveInList.mjs +4 -0
- package/Types/Database/TableColumn.d.mts +3 -0
- package/Types/Database/TableColumn.d.ts +3 -0
- package/Types/Docs/GlossaryTerm.d.mts +1 -0
- package/Types/Docs/GlossaryTerm.d.ts +1 -0
- package/Types/Docs/GlossaryTerm.js +2 -0
- package/Types/Email/EmailSendFailure.d.mts +20 -0
- package/Types/Email/EmailSendFailure.d.ts +20 -0
- package/Types/Email/EmailSendFailure.js +244 -0
- package/Types/Email/EmailSendFailure.mjs +3 -0
- package/Types/Email/EmailTemplateType.d.mts +1 -0
- package/Types/Email/EmailTemplateType.d.ts +1 -0
- package/Types/Email/EmailTemplateType.js +5 -0
- package/Types/Email/ServerEmailLog.d.mts +41 -0
- package/Types/Email/ServerEmailLog.d.ts +41 -0
- package/Types/Email/ServerEmailLog.js +136 -0
- package/Types/Email/ServerEmailLog.mjs +11 -0
- package/Types/Exception/ProductSwitchedOffException.d.mts +12 -0
- package/Types/Exception/ProductSwitchedOffException.d.ts +12 -0
- package/Types/Exception/ProductSwitchedOffException.js +38 -0
- package/Types/Exception/ProductSwitchedOffException.mjs +2 -0
- package/Types/Exception/UnexplainedError.d.mts +7 -0
- package/Types/Exception/UnexplainedError.d.ts +7 -0
- package/Types/Exception/UnexplainedError.js +36 -1
- package/Types/Exception/UnexplainedError.mjs +2 -0
- package/Types/InstallationHealth/InstallationHealth.d.mts +39 -0
- package/Types/InstallationHealth/InstallationHealth.d.ts +39 -0
- package/Types/InstallationHealth/InstallationHealth.js +163 -0
- package/Types/Kubernetes/KubernetesHealth.d.mts +16 -0
- package/Types/Kubernetes/KubernetesHealth.d.ts +16 -0
- package/Types/Kubernetes/KubernetesHealth.js +128 -6
- package/Types/Kubernetes/KubernetesHealth.mjs +2 -0
- package/Types/Monitor/CloudAppAlertTemplates.d.mts +3 -13
- package/Types/Monitor/CloudAppAlertTemplates.d.ts +3 -13
- package/Types/Monitor/CloudAppAlertTemplates.js +13 -199
- package/Types/Monitor/CriteriaFilter.d.mts +2 -1
- package/Types/Monitor/CriteriaFilter.d.ts +2 -1
- package/Types/Monitor/CriteriaFilter.js +9 -1
- package/Types/Monitor/CriteriaFilterTerms.js +1 -0
- package/Types/Monitor/MessageQueueAlertTemplates.d.mts +6 -0
- package/Types/Monitor/MessageQueueAlertTemplates.d.ts +6 -0
- package/Types/Monitor/MessageQueueAlertTemplates.js +32 -0
- package/Types/Monitor/MessageQueueAlertTemplates.mjs +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.d.mts +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.d.ts +2 -0
- package/Types/Monitor/MonitorCriteriaInstance.js +52 -0
- package/Types/Monitor/MonitorMetricType.d.mts +2 -1
- package/Types/Monitor/MonitorMetricType.d.ts +2 -1
- package/Types/Monitor/MonitorMetricType.js +1 -0
- package/Types/Monitor/MonitorStepLimit.d.mts +8 -0
- package/Types/Monitor/MonitorStepLimit.d.ts +8 -0
- package/Types/Monitor/MonitorStepLimit.js +62 -0
- package/Types/Monitor/MonitorStepLimit.mjs +3 -0
- package/Types/Monitor/MonitorSteps.js +5 -0
- package/Types/Monitor/MonitorType.js +2 -1
- package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.mts +5 -0
- package/Types/Monitor/ProbeStatusMonitor/ProbeStatusMonitorResponse.d.ts +5 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.mts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.d.ts +1 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +111 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +7 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +7 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +15 -0
- package/Types/Monitor/RequestHealthAlertTemplates.d.mts +66 -0
- package/Types/Monitor/RequestHealthAlertTemplates.d.ts +66 -0
- package/Types/Monitor/RequestHealthAlertTemplates.js +227 -0
- package/Types/Monitor/RequestHealthAlertTemplates.mjs +4 -0
- package/Types/Monitor/ServerlessAlertTemplates.d.mts +23 -0
- package/Types/Monitor/ServerlessAlertTemplates.d.ts +23 -0
- package/Types/Monitor/ServerlessAlertTemplates.js +111 -0
- package/Types/Monitor/ServerlessAlertTemplates.mjs +7 -0
- package/Types/Monitor/ServiceAlertTemplates.d.mts +3 -0
- package/Types/Monitor/ServiceAlertTemplates.d.ts +3 -0
- package/Types/Monitor/ServiceAlertTemplates.js +61 -0
- package/Types/Monitor/ServiceAlertTemplates.mjs +2 -0
- package/Types/Monitor/TelemetryRulePreview.js +18 -6
- package/Types/Monitor/WhoIsTold.d.mts +71 -0
- package/Types/Monitor/WhoIsTold.d.ts +71 -0
- package/Types/Monitor/WhoIsTold.js +348 -121
- package/Types/Monitor/WhoIsTold.mjs +7 -0
- package/Types/NetworkAutomation/RuleRunResult.js +9 -5
- package/Types/NetworkDevice/DiscoveredDevice.d.mts +40 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.ts +40 -0
- package/Types/NetworkDevice/DiscoveredDevice.js +205 -1
- package/Types/NetworkDevice/DiscoveredDevice.mjs +9 -0
- package/Types/NetworkDevice/DiscoveryImport.js +8 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.mts +26 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.ts +26 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.js +75 -3
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.mjs +2 -0
- package/Types/Notification/WhoWasTold.d.mts +190 -0
- package/Types/Notification/WhoWasTold.d.ts +190 -0
- package/Types/Notification/WhoWasTold.js +662 -0
- package/Types/Notification/WhoWasTold.mjs +16 -0
- package/Types/NotificationRule/PagingLadderDefault.d.mts +75 -0
- package/Types/NotificationRule/PagingLadderDefault.d.ts +75 -0
- package/Types/NotificationRule/PagingLadderDefault.js +529 -0
- package/Types/NotificationRule/PagingLadderDefault.mjs +24 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.d.mts +7 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.d.ts +7 -0
- package/Types/OnCallDutyPolicy/EveryNewEventRules.js +53 -2
- package/Types/OnCallDutyPolicy/EveryNewEventRules.mjs +3 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.mts +6 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.d.ts +6 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.js +27 -0
- package/Types/OnCallDutyPolicy/NotificationSetupToFinish.mjs +3 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.d.mts +83 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.d.ts +83 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.js +105 -0
- package/Types/OnCallDutyPolicy/OnCallFireDrill.mjs +9 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.js +12 -4
- package/Types/OnCallDutyPolicy/OnCallRunLevel.d.mts +12 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.d.ts +12 -0
- package/Types/OnCallDutyPolicy/OnCallRunLevel.js +69 -8
- package/Types/OnCallDutyPolicy/OnCallRunLevel.mjs +3 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.mts +4 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.d.ts +4 -0
- package/Types/OnCallDutyPolicy/OnCallTestPage.js +20 -7
- package/Types/OnCallDutyPolicy/OnCallTestPage.mjs +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.mts +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.d.ts +2 -0
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.js +14 -1
- package/Types/OnCallDutyPolicy/ScheduleLayersSave.mjs +2 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.d.mts +7 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.d.ts +7 -0
- package/Types/OnCallDutyPolicy/UserOverrideEdit.js +63 -1
- package/Types/OnCallDutyPolicy/UserOverrideEdit.mjs +4 -0
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.mts +21 -1
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.d.ts +21 -1
- package/Types/OnCallDutyPolicy/UserOverrideOverlap.js +46 -2
- package/Types/Permission.d.mts +8 -0
- package/Types/Permission.d.ts +8 -0
- package/Types/Permission.js +84 -0
- package/Types/Probe/ProbeBehind.d.mts +48 -0
- package/Types/Probe/ProbeBehind.d.ts +48 -0
- package/Types/Probe/ProbeBehind.js +196 -0
- package/Types/Probe/ProbeBehind.mjs +6 -0
- package/Types/Product/ProductRecordTables.d.mts +8 -0
- package/Types/Product/ProductRecordTables.d.ts +8 -0
- package/Types/Product/ProductRecordTables.js +847 -0
- package/Types/Product/ProductRecordTables.mjs +5 -0
- package/Types/Product/ProductUsage.d.mts +2 -0
- package/Types/Product/ProductUsage.d.ts +2 -0
- package/Types/Product/ProductUsage.js +41 -6
- package/Types/Product/ProductUsage.mjs +2 -0
- package/Types/Product/ServerProductOffReason.d.mts +4 -0
- package/Types/Product/ServerProductOffReason.d.ts +4 -0
- package/Types/Product/ServerProductOffReason.js +19 -0
- package/Types/Product/ServerProductOffReason.mjs +2 -0
- package/Types/Product/ServerProducts.d.mts +2 -4
- package/Types/Product/ServerProducts.d.ts +2 -4
- package/Types/Product/ServerProducts.js +19 -17
- package/Types/ProductFeedback/ProductFeedback.d.mts +45 -1
- package/Types/ProductFeedback/ProductFeedback.d.ts +45 -1
- package/Types/ProductFeedback/ProductFeedback.js +185 -5
- package/Types/ProductFeedback/ProductFeedback.mjs +11 -0
- package/Types/PushNotification/PushNotificationCategory.d.mts +1 -0
- package/Types/PushNotification/PushNotificationCategory.d.ts +1 -0
- package/Types/PushNotification/PushNotificationCategory.js +17 -6
- package/Types/PushNotification/PushNotificationCategory.mjs +1 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.d.mts +18 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.d.ts +18 -0
- package/Types/Rules/RuleCriteriaFieldRegistry.js +34 -1
- package/Types/Rules/RuleCriteriaFieldRegistry.mjs +4 -0
- package/Types/Rum/ProductAnalytics.d.mts +9 -0
- package/Types/Rum/ProductAnalytics.d.ts +9 -0
- package/Types/Rum/ProductAnalytics.js +56 -8
- package/Types/Rum/ProductAnalytics.mjs +6 -0
- package/Types/Rum/ProductAnalyticsEvents.js +2 -1
- package/Types/Rum/SessionReplay.d.mts +3 -0
- package/Types/Rum/SessionReplay.d.ts +3 -0
- package/Types/Rum/SessionReplay.js +35 -1
- package/Types/Rum/SessionReplay.mjs +2 -0
- package/Types/Runbook/RunbookTriggerType.d.mts +1 -0
- package/Types/Runbook/RunbookTriggerType.d.ts +1 -0
- package/Types/Runbook/RunbookTriggerType.js +19 -1
- package/Types/Runbook/RunbookTriggerType.mjs +1 -0
- package/Types/Runner/RunnerCodeFixCapability.d.mts +3 -1
- package/Types/Runner/RunnerCodeFixCapability.d.ts +3 -1
- package/Types/Runner/RunnerCodeFixCapability.js +19 -1
- package/Types/Runner/RunnerCodeFixCapability.mjs +1 -0
- package/Types/SSO/IdentityProviderSignOut.d.mts +24 -0
- package/Types/SSO/IdentityProviderSignOut.d.ts +24 -0
- package/Types/SSO/IdentityProviderSignOut.js +124 -0
- package/Types/SSO/IdentityProviderSignOut.mjs +10 -0
- package/Types/SSO/SessionsWithoutSso.js +2 -2
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.mts +4 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.d.ts +4 -0
- package/Types/SecurityCase/SecurityCaseEventEvidence.js +12 -0
- package/Types/SecurityCase/SecurityCaseMatches.d.mts +78 -0
- package/Types/SecurityCase/SecurityCaseMatches.d.ts +78 -0
- package/Types/SecurityCase/SecurityCaseMatches.js +252 -0
- package/Types/SecurityCase/SecurityCaseMatches.mjs +17 -0
- package/Types/ServerSending/ProjectCanSend.d.mts +10 -0
- package/Types/ServerSending/ProjectCanSend.d.ts +10 -0
- package/Types/ServerSending/ProjectCanSend.js +49 -0
- package/Types/ServerSending/ProjectCanSend.mjs +4 -0
- package/Types/ServerSending/ServerAlerts.d.mts +78 -0
- package/Types/ServerSending/ServerAlerts.d.ts +78 -0
- package/Types/ServerSending/ServerAlerts.js +393 -0
- package/Types/ServerSending/ServerAlerts.mjs +8 -0
- package/Types/ServerSending/ServerSendingStatus.d.mts +29 -2
- package/Types/ServerSending/ServerSendingStatus.d.ts +29 -2
- package/Types/ServerSending/ServerSendingStatus.js +231 -10
- package/Types/ServerSending/ServerSendingStatus.mjs +3 -0
- package/Types/ServerSending/ServerSetUpProblem.d.mts +46 -0
- package/Types/ServerSending/ServerSetUpProblem.d.ts +46 -0
- package/Types/ServerSending/ServerSetUpProblem.js +164 -0
- package/Types/ServerSending/ServerSetUpProblem.mjs +6 -0
- package/Types/ServerSetup/ServerSetupChecklist.d.mts +35 -1
- package/Types/ServerSetup/ServerSetupChecklist.d.ts +35 -1
- package/Types/ServerSetup/ServerSetupChecklist.js +275 -33
- package/Types/ServerSetup/ServerSetupChecklist.mjs +5 -0
- package/Types/ServerSetup/ServerTestSend.d.mts +11 -0
- package/Types/ServerSetup/ServerTestSend.d.ts +11 -0
- package/Types/ServerSetup/ServerTestSend.js +60 -3
- package/Types/ServerSetup/ServerTestSend.mjs +2 -0
- package/Types/ServiceLevelObjective/SloStatus.d.mts +3 -0
- package/Types/ServiceLevelObjective/SloStatus.d.ts +3 -0
- package/Types/ServiceLevelObjective/SloStatus.js +38 -0
- package/Types/ServiceLevelObjective/SloStatus.mjs +2 -0
- package/Types/ServiceLevelObjective/SloStatusChange.d.mts +10 -0
- package/Types/ServiceLevelObjective/SloStatusChange.d.ts +10 -0
- package/Types/ServiceLevelObjective/SloStatusChange.js +71 -0
- package/Types/ServiceLevelObjective/SloStatusChange.mjs +5 -0
- package/Types/SetupHealth/SetupHealth.d.mts +31 -3
- package/Types/SetupHealth/SetupHealth.d.ts +31 -3
- package/Types/SetupHealth/SetupHealth.js +333 -4
- package/Types/SetupHealth/SetupHealth.mjs +5 -0
- package/Types/StatusPage/NewIncidentSubscriberNotificationDefault.js +8 -5
- package/Types/StatusPage/StatusPageMagicLink.js +1 -1
- package/Types/StatusPage/StatusPagePublicName.d.mts +6 -0
- package/Types/StatusPage/StatusPagePublicName.d.ts +6 -0
- package/Types/StatusPage/StatusPagePublicName.js +32 -0
- package/Types/StatusPage/StatusPagePublicName.mjs +3 -0
- package/Types/StatusPage/StatusPageSignInMessages.d.mts +3 -0
- package/Types/StatusPage/StatusPageSignInMessages.d.ts +3 -0
- package/Types/StatusPage/StatusPageSignInMessages.js +16 -0
- package/Types/StatusPage/StatusPageSignInMessages.mjs +4 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.d.mts +12 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.d.ts +12 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.js +63 -0
- package/Types/StatusPage/StatusPageSingleSignOnProtocol.mjs +8 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.d.mts +18 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.d.ts +18 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.js +91 -0
- package/Types/StatusPage/StatusPageSubscriberChannel.mjs +10 -0
- package/Types/Team/InvitationEmailsNotSent.d.mts +28 -0
- package/Types/Team/InvitationEmailsNotSent.d.ts +28 -0
- package/Types/Team/InvitationEmailsNotSent.js +261 -0
- package/Types/Team/InvitationEmailsNotSent.mjs +13 -0
- package/Types/Team/ProjectMemberSearch.d.mts +15 -0
- package/Types/Team/ProjectMemberSearch.d.ts +15 -0
- package/Types/Team/ProjectMemberSearch.js +180 -0
- package/Types/Team/ProjectMemberSearch.mjs +10 -0
- package/Types/Team/ProjectRemovalReach.d.mts +15 -0
- package/Types/Team/ProjectRemovalReach.d.ts +15 -0
- package/Types/Team/ProjectRemovalReach.js +154 -0
- package/Types/Team/ProjectRemovalReach.mjs +8 -0
- package/Types/Team/ResendInvitation.d.mts +27 -0
- package/Types/Team/ResendInvitation.d.ts +27 -0
- package/Types/Team/ResendInvitation.js +123 -0
- package/Types/Team/ResendInvitation.mjs +12 -0
- package/Types/UsedBy/UsedBy.d.mts +1 -0
- package/Types/UsedBy/UsedBy.d.ts +1 -0
- package/Types/UsedBy/UsedBy.js +2 -0
- package/Types/UsedBy/UsedByServerProducts.js +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklist.d.mts +27 -4
- package/Types/WelcomeChecklist/WelcomeChecklist.d.ts +27 -4
- package/Types/WelcomeChecklist/WelcomeChecklist.js +166 -42
- package/Types/WelcomeChecklist/WelcomeChecklist.mjs +8 -0
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.mts +4 -1
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.d.ts +4 -1
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.js +175 -33
- package/Types/WelcomeChecklist/WelcomeChecklistAnswer.mjs +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.mts +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.d.ts +1 -0
- package/Types/WelcomeChecklist/WelcomeChecklistState.js +30 -1
- package/Types/WelcomeChecklist/WelcomeChecklistState.mjs +1 -0
- package/Types/Workflow/Component.d.mts +0 -1
- package/Types/Workflow/Component.d.ts +0 -1
- package/Types/Workspace/ConnectCallback.d.mts +2 -1
- package/Types/Workspace/ConnectCallback.d.ts +2 -1
- package/Types/Workspace/ConnectCallback.js +8 -0
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.mts +1 -1
- package/Types/Workspace/NotificationRules/BaseNotificationRule.d.ts +1 -1
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.mts +23 -0
- package/Types/Workspace/NotificationRules/NotificationRuleCondition.d.ts +23 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.mts +12 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.d.ts +12 -0
- package/Types/Workspace/NotificationRules/NotificationRuleUpdates.js +106 -4
- package/Types/Workspace/WorkspaceMessagePayload.d.mts +2 -0
- package/Types/Workspace/WorkspaceMessagePayload.d.ts +2 -0
- package/Types/Workspace/WorkspaceMessagePayload.js +6 -1
- package/Types/Workspace/WorkspaceMessagePayload.mjs +1 -0
- package/UI/Components/Dropdown/Dropdown.d.mts +2 -0
- package/UI/Components/Dropdown/Dropdown.d.ts +2 -0
- package/Utils/AiRemediation/DeclaredCodeChange.d.mts +4 -1
- package/Utils/AiRemediation/DeclaredCodeChange.d.ts +4 -1
- package/Utils/AiRemediation/DeclaredCodeChange.js +6 -0
- package/Utils/Dashboard/Components/DashboardProductAnalyticsFunnelComponent.js +6 -1
- package/Utils/Dashboard/Components/DashboardProductAnalyticsRetentionComponent.js +6 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.d.mts +4 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.d.ts +4 -1
- package/Utils/Dashboard/MonitorListWidgetFormat.js +10 -5
- package/Utils/DataSecurity/CustomDataTypeDetector.js +3 -1
- package/Utils/DataSecurity/DetectorPrefilter.d.mts +9 -0
- package/Utils/DataSecurity/DetectorPrefilter.d.ts +9 -0
- package/Utils/DataSecurity/DetectorPrefilter.js +471 -0
- package/Utils/DataSecurity/DetectorPrefilter.mjs +6 -0
- package/Utils/DataSecurity/FieldClassifier.d.mts +2 -0
- package/Utils/DataSecurity/FieldClassifier.d.ts +2 -0
- package/Utils/DataSecurity/FieldClassifier.js +38 -8
- package/Utils/DataSecurity/OccurrenceExcerpt.d.mts +22 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.d.ts +22 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.js +270 -0
- package/Utils/DataSecurity/OccurrenceExcerpt.mjs +5 -0
- package/Utils/DataSecurity/TextScanner.d.mts +4 -0
- package/Utils/DataSecurity/TextScanner.d.ts +4 -0
- package/Utils/Incident/PostmortemActionItemCodeTask.d.mts +2 -0
- package/Utils/Incident/PostmortemActionItemCodeTask.d.ts +2 -0
- package/Utils/Incident/PostmortemActionItemCodeTask.js +22 -5
- package/Utils/Incident/PostmortemActionItemCodeTask.mjs +1 -0
- package/Utils/LookupTable.d.mts +1 -0
- package/Utils/LookupTable.d.ts +1 -0
- package/Utils/LookupTable.js +19 -0
- package/Utils/LookupTable.mjs +1 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.d.mts +34 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.d.ts +34 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.js +134 -0
- package/Utils/Monitor/DeviceMonitorDuplicates.mjs +7 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.mts +4 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.d.ts +4 -0
- package/Utils/Monitor/DeviceMonitorTemplateUtil.js +33 -6
- package/Utils/Monitor/MonitorFirstCheckOverdue.js +5 -5
- package/Utils/Monitor/MonitorMetricType.js +11 -1
- package/Utils/Monitor/MonitorOverviewFamily.d.mts +2 -10
- package/Utils/Monitor/MonitorOverviewFamily.d.ts +2 -10
- package/Utils/Monitor/MonitorOverviewFamily.js +19 -99
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +1 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +1 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +27 -9
- package/Utils/Monitor/MonitorRowStatus.js +2 -2
- package/Utils/Monitor/MonitorTypeFamily.d.mts +14 -0
- package/Utils/Monitor/MonitorTypeFamily.d.ts +14 -0
- package/Utils/Monitor/MonitorTypeFamily.js +105 -0
- package/Utils/Monitor/MonitorTypeFamily.mjs +3 -0
- package/Utils/Monitor/ProbeFailureCauses.js +4 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.d.mts +5 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.d.ts +5 -1
- package/Utils/Monitor/ProbeStatusMonitorUtil.js +106 -0
- package/Utils/Monitor/StoredCheckEvidence.d.mts +10 -0
- package/Utils/Monitor/StoredCheckEvidence.d.ts +10 -0
- package/Utils/Monitor/StoredCheckEvidence.js +53 -0
- package/Utils/Monitor/StoredCheckEvidence.mjs +5 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.mts +3 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.ts +3 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.js +33 -4
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.mjs +1 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.mts +33 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.d.ts +33 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.js +105 -0
- package/Utils/NetworkDevice/NetworkDeviceStoredManufacturer.mjs +8 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.d.mts +5 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.d.ts +5 -0
- package/Utils/NetworkDevice/SnmpCredentialUtil.js +28 -3
- package/Utils/NetworkDevice/SnmpCredentialUtil.mjs +3 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.mts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.ts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.js +20 -1
- package/Utils/NetworkDiscovery/SnmpScanConfigUtil.js +11 -4
- package/Utils/Project/ProjectBilling.d.mts +1 -0
- package/Utils/Project/ProjectBilling.d.ts +1 -0
- package/Utils/Project/ProjectBilling.js +9 -1
- package/Utils/Project/ProjectBilling.mjs +1 -0
- package/Utils/Rules/RuleCriteriaMatcher.d.mts +1 -0
- package/Utils/Rules/RuleCriteriaMatcher.d.ts +1 -0
- package/Utils/Rules/RuleCriteriaMatcher.js +6 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.d.mts +10 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.d.ts +10 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.js +83 -0
- package/Utils/Rules/RuleCriteriaOwnerMatch.mjs +4 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.d.mts +27 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.d.ts +27 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.js +377 -0
- package/Utils/SecurityCase/SecurityCaseMatchRules.mjs +9 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.d.mts +35 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.d.ts +35 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.js +168 -0
- package/Utils/Slo/SloBulkRecommendedPolicy.mjs +6 -0
- package/Utils/Slo/SloBurnRateRuleState.js +3 -6
- package/Utils/Slo/SloErrorBudgetPolicy.d.mts +17 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.ts +17 -0
- package/Utils/Slo/SloErrorBudgetPolicy.js +72 -1
- package/Utils/Slo/SloErrorBudgetPolicy.mjs +4 -0
- package/Utils/Slo/SloFeedMarkdown.d.mts +5 -2
- package/Utils/Slo/SloFeedMarkdown.d.ts +5 -2
- package/Utils/Slo/SloFeedMarkdown.js +19 -7
- package/Utils/Slo/SloFeedMarkdown.mjs +1 -0
- package/Utils/Slo/SloHealth.d.mts +5 -0
- package/Utils/Slo/SloHealth.d.ts +5 -0
- package/Utils/Slo/SloHealth.js +27 -0
- package/Utils/Slo/SloListWidgetFormat.js +5 -3
- package/Utils/Slo/SloMetricType.js +6 -5
- package/Utils/Slo/SloMonitorsFirstCheck.d.mts +13 -0
- package/Utils/Slo/SloMonitorsFirstCheck.d.ts +13 -0
- package/Utils/Slo/SloMonitorsFirstCheck.js +78 -0
- package/Utils/Slo/SloMonitorsFirstCheck.mjs +3 -0
- package/Utils/Slo/SloOverviewText.js +7 -0
- package/Utils/Slo/SloStatusColor.d.mts +3 -0
- package/Utils/Slo/SloStatusColor.d.ts +3 -0
- package/Utils/Slo/SloStatusColor.js +3 -0
- package/Utils/Slo/SloStatusPosts.d.mts +18 -0
- package/Utils/Slo/SloStatusPosts.d.ts +18 -0
- package/Utils/Slo/SloStatusPosts.js +95 -0
- package/Utils/Slo/SloStatusPosts.mjs +3 -0
- package/Utils/StatusPage/GridAxisValues.d.mts +2 -0
- package/Utils/StatusPage/GridAxisValues.d.ts +2 -0
- package/Utils/StatusPage/GridAxisValues.js +33 -0
- package/Utils/StatusPage/GridAxisValues.mjs +3 -0
- package/Utils/StatusPage/GroupHierarchyView.d.mts +2 -2
- package/Utils/StatusPage/GroupHierarchyView.d.ts +2 -2
- package/Utils/StatusPage/GroupHierarchyView.js +13 -12
- package/Utils/StatusPage/GroupNestingLayout.d.mts +1 -0
- package/Utils/StatusPage/GroupNestingLayout.d.ts +1 -0
- package/Utils/StatusPage/GroupNestingLayout.js +25 -5
- package/Utils/StatusPage/HistoryWindow.d.mts +3 -0
- package/Utils/StatusPage/HistoryWindow.d.ts +3 -0
- package/Utils/StatusPage/HistoryWindow.js +24 -0
- package/Utils/StatusPage/HistoryWindow.mjs +4 -0
- package/Utils/StatusPage/ResourceExplorer.d.mts +2 -2
- package/Utils/StatusPage/ResourceExplorer.d.ts +2 -2
- package/Utils/StatusPage/ResourceExplorer.js +15 -21
- package/Utils/StatusPage/StatusColorsOnDark.d.mts +5 -3
- package/Utils/StatusPage/StatusColorsOnDark.d.ts +5 -3
- package/Utils/StatusPage/StatusColorsOnDark.js +18 -6
- package/Utils/StatusPage/StatusColorsOnDark.mjs +1 -0
- package/Utils/Suggestions/CodeFixSuggestion.d.mts +2 -1
- package/Utils/Suggestions/CodeFixSuggestion.d.ts +2 -1
- package/Utils/Suggestions/CodeFixSuggestion.js +9 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.mts +1 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.d.ts +1 -0
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.js +24 -3
- package/Utils/Suggestions/InvestigationCodeFixSuggestion.mjs +1 -0
- package/Utils/Suggestions/ProfileFixSuggestion.d.mts +1 -0
- package/Utils/Suggestions/ProfileFixSuggestion.d.ts +1 -0
- package/Utils/Suggestions/ProfileFixSuggestion.js +16 -4
- package/Utils/Suggestions/TelemetryAiFixSuggestion.d.mts +2 -0
- package/Utils/Suggestions/TelemetryAiFixSuggestion.d.ts +2 -0
- package/Utils/Suggestions/TelemetryAiFixSuggestion.js +17 -5
- package/Utils/Suggestions/TelemetryAiFixSuggestion.mjs +1 -0
- package/Utils/Suggestions/TracePerformanceFixSuggestion.js +16 -7
- package/Utils/Telemetry/MobileAppFaults.d.mts +8 -0
- package/Utils/Telemetry/MobileAppFaults.d.ts +8 -0
- package/Utils/Telemetry/MobileAppFaults.js +69 -0
- package/Utils/Telemetry/MobileAppFaults.mjs +6 -0
- package/Utils/WebhookAddressMask.d.mts +9 -0
- package/Utils/WebhookAddressMask.d.ts +9 -0
- package/Utils/WebhookAddressMask.js +66 -0
- package/Utils/WebhookAddressMask.mjs +2 -0
- package/Utils/Workspace/WorkspaceRefusal.d.mts +108 -0
- package/Utils/Workspace/WorkspaceRefusal.d.ts +108 -0
- package/Utils/Workspace/WorkspaceRefusal.js +769 -0
- package/Utils/Workspace/WorkspaceRefusal.mjs +50 -0
- package/package.json +4 -1
|
@@ -2,8 +2,8 @@ import ActivationMilestone from "../Analytics/ActivationMilestone.mjs";
|
|
|
2
2
|
import { PlanType } from "../Billing/SubscriptionPlan.mjs";
|
|
3
3
|
import ProjectGoal from "./ProjectGoal.mjs";
|
|
4
4
|
import ProductKey from "../Product/ProductKey.mjs";
|
|
5
|
+
import { SetupHealthCheck, SetupHealthFinding } from "../SetupHealth/SetupHealth.mjs";
|
|
5
6
|
export declare enum WelcomeStep {
|
|
6
|
-
ServerEmail = "server_email",
|
|
7
7
|
Import = "import",
|
|
8
8
|
Monitor = "monitor",
|
|
9
9
|
Infrastructure = "infrastructure",
|
|
@@ -28,9 +28,8 @@ export declare const getStepsForGoals: (goals: ReadonlyArray<ProjectGoal> | null
|
|
|
28
28
|
export declare const STEP_DONE_BY_MILESTONES: Readonly<Record<WelcomeStep, ReadonlyArray<ActivationMilestone>>>;
|
|
29
29
|
export interface WelcomeOutcomeFacts {
|
|
30
30
|
reached: ReadonlyArray<ActivationMilestone> | Set<ActivationMilestone>;
|
|
31
|
-
|
|
31
|
+
hasPolicyThatPagesSomeone: boolean;
|
|
32
32
|
hasFinishedImport: boolean;
|
|
33
|
-
serverCanSendEmail: boolean;
|
|
34
33
|
}
|
|
35
34
|
export declare const isWelcomeStepDoneByMilestones: (step: WelcomeStep, reached: ReadonlyArray<ActivationMilestone> | Set<ActivationMilestone>) => boolean;
|
|
36
35
|
export declare const isWelcomeStepDone: (step: WelcomeStep, facts: WelcomeOutcomeFacts) => boolean;
|
|
@@ -42,11 +41,20 @@ export interface WelcomePlanFacts {
|
|
|
42
41
|
isFreePlan: boolean;
|
|
43
42
|
}
|
|
44
43
|
export declare const getWelcomeStepPlanNeed: (step: WelcomeStep, plan: WelcomePlanFacts) => PlanType | null;
|
|
44
|
+
export declare const WELCOME_GAP_INVITATION_NOT_ACCEPTED: string;
|
|
45
|
+
export interface WelcomeStepGap {
|
|
46
|
+
check: string;
|
|
47
|
+
finding: SetupHealthFinding | null;
|
|
48
|
+
}
|
|
49
|
+
export declare const WELCOME_STEP_GAP_CHECKS: Readonly<Record<WelcomeStep, ReadonlyArray<SetupHealthCheck>>>;
|
|
50
|
+
export declare const hasWelcomeStepGapChecks: (step: WelcomeStep) => boolean;
|
|
51
|
+
export declare const getWelcomeStepGapFromFindings: (step: WelcomeStep, findings: ReadonlyArray<SetupHealthFinding>) => WelcomeStepGap | null;
|
|
45
52
|
export interface WelcomeChecklistStepState {
|
|
46
53
|
step: WelcomeStep;
|
|
47
54
|
isDone: boolean;
|
|
48
55
|
needsPlan: PlanType | null;
|
|
49
56
|
isNext: boolean;
|
|
57
|
+
gap: WelcomeStepGap | null;
|
|
50
58
|
}
|
|
51
59
|
export interface WelcomeChecklist {
|
|
52
60
|
steps: Array<WelcomeChecklistStepState>;
|
|
@@ -58,9 +66,18 @@ export declare const buildWelcomeChecklist: (data: {
|
|
|
58
66
|
goals: ReadonlyArray<ProjectGoal> | null;
|
|
59
67
|
facts: WelcomeOutcomeFacts;
|
|
60
68
|
plan: WelcomePlanFacts;
|
|
61
|
-
readerIsServerAdmin: boolean;
|
|
62
69
|
offProducts?: ReadonlyArray<ProductKey> | undefined;
|
|
63
70
|
}) => WelcomeChecklist;
|
|
71
|
+
export declare const getWelcomeMoreSteps: (data: {
|
|
72
|
+
goals: ReadonlyArray<ProjectGoal> | null;
|
|
73
|
+
offProducts?: ReadonlyArray<ProductKey> | undefined;
|
|
74
|
+
}) => Array<WelcomeStep>;
|
|
75
|
+
export declare const buildWelcomeMoreSteps: (data: {
|
|
76
|
+
goals: ReadonlyArray<ProjectGoal> | null;
|
|
77
|
+
facts: WelcomeOutcomeFacts;
|
|
78
|
+
plan: WelcomePlanFacts;
|
|
79
|
+
offProducts?: ReadonlyArray<ProductKey> | undefined;
|
|
80
|
+
}) => Array<WelcomeChecklistStepState>;
|
|
64
81
|
export declare const PROJECT_IN_USE_MILESTONES: ReadonlyArray<ActivationMilestone>;
|
|
65
82
|
export declare const isProjectInUse: (reached: ReadonlyArray<ActivationMilestone> | Set<ActivationMilestone>) => boolean;
|
|
66
83
|
export declare const shouldAskForGoals: (data: {
|
|
@@ -84,3 +101,9 @@ export interface LegacyChecklistCounts {
|
|
|
84
101
|
onCallPolicies: number;
|
|
85
102
|
}
|
|
86
103
|
export declare const isLegacyChecklistComplete: (counts: LegacyChecklistCounts) => boolean;
|
|
104
|
+
export declare const PHONE_OR_APP_METHOD_TYPES: ReadonlyArray<string>;
|
|
105
|
+
export interface WelcomeReachMethod {
|
|
106
|
+
methodType: string;
|
|
107
|
+
isVerified: boolean;
|
|
108
|
+
}
|
|
109
|
+
export declare const canPageByPhoneOrApp: (methods: ReadonlyArray<WelcomeReachMethod>) => boolean;
|
|
@@ -2,8 +2,8 @@ import ActivationMilestone from "../Analytics/ActivationMilestone";
|
|
|
2
2
|
import { PlanType } from "../Billing/SubscriptionPlan";
|
|
3
3
|
import ProjectGoal from "./ProjectGoal";
|
|
4
4
|
import ProductKey from "../Product/ProductKey";
|
|
5
|
+
import { SetupHealthCheck, SetupHealthFinding } from "../SetupHealth/SetupHealth";
|
|
5
6
|
export declare enum WelcomeStep {
|
|
6
|
-
ServerEmail = "server_email",
|
|
7
7
|
Import = "import",
|
|
8
8
|
Monitor = "monitor",
|
|
9
9
|
Infrastructure = "infrastructure",
|
|
@@ -28,9 +28,8 @@ export declare const getStepsForGoals: (goals: ReadonlyArray<ProjectGoal> | null
|
|
|
28
28
|
export declare const STEP_DONE_BY_MILESTONES: Readonly<Record<WelcomeStep, ReadonlyArray<ActivationMilestone>>>;
|
|
29
29
|
export interface WelcomeOutcomeFacts {
|
|
30
30
|
reached: ReadonlyArray<ActivationMilestone> | Set<ActivationMilestone>;
|
|
31
|
-
|
|
31
|
+
hasPolicyThatPagesSomeone: boolean;
|
|
32
32
|
hasFinishedImport: boolean;
|
|
33
|
-
serverCanSendEmail: boolean;
|
|
34
33
|
}
|
|
35
34
|
export declare const isWelcomeStepDoneByMilestones: (step: WelcomeStep, reached: ReadonlyArray<ActivationMilestone> | Set<ActivationMilestone>) => boolean;
|
|
36
35
|
export declare const isWelcomeStepDone: (step: WelcomeStep, facts: WelcomeOutcomeFacts) => boolean;
|
|
@@ -42,11 +41,20 @@ export interface WelcomePlanFacts {
|
|
|
42
41
|
isFreePlan: boolean;
|
|
43
42
|
}
|
|
44
43
|
export declare const getWelcomeStepPlanNeed: (step: WelcomeStep, plan: WelcomePlanFacts) => PlanType | null;
|
|
44
|
+
export declare const WELCOME_GAP_INVITATION_NOT_ACCEPTED: string;
|
|
45
|
+
export interface WelcomeStepGap {
|
|
46
|
+
check: string;
|
|
47
|
+
finding: SetupHealthFinding | null;
|
|
48
|
+
}
|
|
49
|
+
export declare const WELCOME_STEP_GAP_CHECKS: Readonly<Record<WelcomeStep, ReadonlyArray<SetupHealthCheck>>>;
|
|
50
|
+
export declare const hasWelcomeStepGapChecks: (step: WelcomeStep) => boolean;
|
|
51
|
+
export declare const getWelcomeStepGapFromFindings: (step: WelcomeStep, findings: ReadonlyArray<SetupHealthFinding>) => WelcomeStepGap | null;
|
|
45
52
|
export interface WelcomeChecklistStepState {
|
|
46
53
|
step: WelcomeStep;
|
|
47
54
|
isDone: boolean;
|
|
48
55
|
needsPlan: PlanType | null;
|
|
49
56
|
isNext: boolean;
|
|
57
|
+
gap: WelcomeStepGap | null;
|
|
50
58
|
}
|
|
51
59
|
export interface WelcomeChecklist {
|
|
52
60
|
steps: Array<WelcomeChecklistStepState>;
|
|
@@ -58,9 +66,18 @@ export declare const buildWelcomeChecklist: (data: {
|
|
|
58
66
|
goals: ReadonlyArray<ProjectGoal> | null;
|
|
59
67
|
facts: WelcomeOutcomeFacts;
|
|
60
68
|
plan: WelcomePlanFacts;
|
|
61
|
-
readerIsServerAdmin: boolean;
|
|
62
69
|
offProducts?: ReadonlyArray<ProductKey> | undefined;
|
|
63
70
|
}) => WelcomeChecklist;
|
|
71
|
+
export declare const getWelcomeMoreSteps: (data: {
|
|
72
|
+
goals: ReadonlyArray<ProjectGoal> | null;
|
|
73
|
+
offProducts?: ReadonlyArray<ProductKey> | undefined;
|
|
74
|
+
}) => Array<WelcomeStep>;
|
|
75
|
+
export declare const buildWelcomeMoreSteps: (data: {
|
|
76
|
+
goals: ReadonlyArray<ProjectGoal> | null;
|
|
77
|
+
facts: WelcomeOutcomeFacts;
|
|
78
|
+
plan: WelcomePlanFacts;
|
|
79
|
+
offProducts?: ReadonlyArray<ProductKey> | undefined;
|
|
80
|
+
}) => Array<WelcomeChecklistStepState>;
|
|
64
81
|
export declare const PROJECT_IN_USE_MILESTONES: ReadonlyArray<ActivationMilestone>;
|
|
65
82
|
export declare const isProjectInUse: (reached: ReadonlyArray<ActivationMilestone> | Set<ActivationMilestone>) => boolean;
|
|
66
83
|
export declare const shouldAskForGoals: (data: {
|
|
@@ -84,3 +101,9 @@ export interface LegacyChecklistCounts {
|
|
|
84
101
|
onCallPolicies: number;
|
|
85
102
|
}
|
|
86
103
|
export declare const isLegacyChecklistComplete: (counts: LegacyChecklistCounts) => boolean;
|
|
104
|
+
export declare const PHONE_OR_APP_METHOD_TYPES: ReadonlyArray<string>;
|
|
105
|
+
export interface WelcomeReachMethod {
|
|
106
|
+
methodType: string;
|
|
107
|
+
isVerified: boolean;
|
|
108
|
+
}
|
|
109
|
+
export declare const canPageByPhoneOrApp: (methods: ReadonlyArray<WelcomeReachMethod>) => boolean;
|
|
@@ -36,11 +36,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.isLegacyChecklistComplete = exports.getWelcomeAudience = exports.WelcomeAudience = exports.shouldAskForGoals = exports.isProjectInUse = exports.PROJECT_IN_USE_MILESTONES = exports.buildWelcomeChecklist = exports.getWelcomeStepPlanNeed = exports.needsOnCallRuleCheck = exports.isWelcomeStepDone = exports.isWelcomeStepDoneByMilestones = exports.STEP_DONE_BY_MILESTONES = exports.getStepsForGoals = exports.isGoalOffOnServer = exports.isWelcomeStepOffOnServer = exports.GOAL_PRODUCTS = exports.WELCOME_STEP_PRODUCTS = exports.DEFAULT_WELCOME_STEPS = exports.getPlanStepsForGoals = exports.getWelcomeMinutesLeft = exports.getWelcomeStepsMinutes = exports.WELCOME_STEP_MINUTES = exports.STEPS_OF_GOAL = exports.isWelcomeStep = exports.WELCOME_STEP_ORDER = exports.WelcomeStep = void 0;
|
|
39
|
+
exports.canPageByPhoneOrApp = exports.PHONE_OR_APP_METHOD_TYPES = exports.isLegacyChecklistComplete = exports.getWelcomeAudience = exports.WelcomeAudience = exports.shouldAskForGoals = exports.isProjectInUse = exports.PROJECT_IN_USE_MILESTONES = exports.buildWelcomeMoreSteps = exports.getWelcomeMoreSteps = exports.buildWelcomeChecklist = exports.getWelcomeStepGapFromFindings = exports.hasWelcomeStepGapChecks = exports.WELCOME_STEP_GAP_CHECKS = exports.WELCOME_GAP_INVITATION_NOT_ACCEPTED = exports.getWelcomeStepPlanNeed = exports.needsOnCallRuleCheck = exports.isWelcomeStepDone = exports.isWelcomeStepDoneByMilestones = exports.STEP_DONE_BY_MILESTONES = exports.getStepsForGoals = exports.isGoalOffOnServer = exports.isWelcomeStepOffOnServer = exports.GOAL_PRODUCTS = exports.WELCOME_STEP_PRODUCTS = exports.DEFAULT_WELCOME_STEPS = exports.getPlanStepsForGoals = exports.getWelcomeMinutesLeft = exports.getWelcomeStepsMinutes = exports.WELCOME_STEP_MINUTES = exports.STEPS_OF_GOAL = exports.isWelcomeStep = exports.WELCOME_STEP_ORDER = exports.WelcomeStep = void 0;
|
|
40
40
|
const ActivationMilestone_1 = __importDefault(require("../Analytics/ActivationMilestone"));
|
|
41
41
|
const SubscriptionPlan_1 = require("../Billing/SubscriptionPlan");
|
|
42
42
|
const ProjectGoal_1 = __importStar(require("./ProjectGoal"));
|
|
43
43
|
const ProductKey_1 = __importDefault(require("../Product/ProductKey"));
|
|
44
|
+
const SetupHealth_1 = require("../SetupHealth/SetupHealth");
|
|
44
45
|
/*
|
|
45
46
|
* THE WELCOME CHECKLIST ON HOME (issue #6803): which steps a project is
|
|
46
47
|
* shown, in which order, and when each is done.
|
|
@@ -56,24 +57,32 @@ const ProductKey_1 = __importDefault(require("../Product/ProductKey"));
|
|
|
56
57
|
* project's activation milestones (#6830, STEP_DONE_BY_MILESTONES),
|
|
57
58
|
* which the server keeps the moment they first become true - and sends
|
|
58
59
|
* to product analytics then, as activation/<milestone>.
|
|
60
|
+
* - A step whose record exists but does not work yet says why
|
|
61
|
+
* (WelcomeStepGap, #6938): the Setup health finding about its record,
|
|
62
|
+
* such as a status page that shows no monitor, with the page that fixes
|
|
63
|
+
* it - so it does not look like a step never started.
|
|
59
64
|
* - A step the project's plan cannot finish says which plan it needs
|
|
60
65
|
* (getWelcomeStepPlanNeed) and is not counted.
|
|
61
66
|
* - The next step is the first one left to do that the plan allows.
|
|
67
|
+
* - Once every step of the goals is done, the project's checklist is
|
|
68
|
+
* finished, and Home offers the core steps no goal brought that are
|
|
69
|
+
* still left (getWelcomeMoreSteps, #7986): a project that came for its
|
|
70
|
+
* website is still offered a status page and its team.
|
|
62
71
|
*
|
|
63
72
|
* The server builds the checklist (Server/Services/WelcomeChecklistService)
|
|
64
73
|
* and sends it to Home in one answer (WelcomeChecklistAnswer.ts); the
|
|
65
74
|
* Dashboard draws it with each step's words and pages
|
|
66
75
|
* (Components/Home/WelcomeChecklist/WelcomeChecklistCatalog.ts).
|
|
67
76
|
*
|
|
77
|
+
* The server's own setup (email, HTTPS, who can sign up) is not a step: its
|
|
78
|
+
* master admins see the Server setup card above the checklist instead
|
|
79
|
+
* (Components/ServerSetup/ServerSetupCard, #6824), so Home asks for it once
|
|
80
|
+
* (#7018).
|
|
81
|
+
*
|
|
68
82
|
* Pure: the server, the Dashboard and their tests read it.
|
|
69
83
|
*/
|
|
70
84
|
var WelcomeStep;
|
|
71
85
|
(function (WelcomeStep) {
|
|
72
|
-
/*
|
|
73
|
-
* A master admin of a self-hosted server that cannot send email yet: set
|
|
74
|
-
* it up in the Admin Dashboard. Not one of the project's own steps.
|
|
75
|
-
*/
|
|
76
|
-
WelcomeStep["ServerEmail"] = "server_email";
|
|
77
86
|
// Bring monitors, on-call and status pages over from another tool.
|
|
78
87
|
WelcomeStep["Import"] = "import";
|
|
79
88
|
// A monitor that has reported its first result.
|
|
@@ -92,11 +101,9 @@ var WelcomeStep;
|
|
|
92
101
|
/*
|
|
93
102
|
* Every step, in the order the checklist shows them: the order a problem
|
|
94
103
|
* flows through OneUptime ("How OneUptime works"), with what feeds it first
|
|
95
|
-
* and the team last.
|
|
96
|
-
* it nobody is told by email, and nobody gets an invitation.
|
|
104
|
+
* and the team last.
|
|
97
105
|
*/
|
|
98
106
|
exports.WELCOME_STEP_ORDER = [
|
|
99
|
-
WelcomeStep.ServerEmail,
|
|
100
107
|
WelcomeStep.Import,
|
|
101
108
|
WelcomeStep.Monitor,
|
|
102
109
|
WelcomeStep.Infrastructure,
|
|
@@ -134,8 +141,6 @@ exports.STEPS_OF_GOAL = {
|
|
|
134
141
|
* The guided setups say the same number beside their steps.
|
|
135
142
|
*/
|
|
136
143
|
exports.WELCOME_STEP_MINUTES = {
|
|
137
|
-
// An email server in the Admin Dashboard, and a test email.
|
|
138
|
-
[WelcomeStep.ServerEmail]: 5,
|
|
139
144
|
// An API key from the other tool, a preview, and the import itself.
|
|
140
145
|
[WelcomeStep.Import]: 10,
|
|
141
146
|
// An address, who is told, and a test page (#6804).
|
|
@@ -175,8 +180,7 @@ const getWelcomeMinutesLeft = (steps) => {
|
|
|
175
180
|
exports.getWelcomeMinutesLeft = getWelcomeMinutesLeft;
|
|
176
181
|
/*
|
|
177
182
|
* The steps a choice of goals would give this server's project, before it
|
|
178
|
-
* is sent: what the question says the plan is while the person picks.
|
|
179
|
-
* server's email is no goal's, so it is never counted here.
|
|
183
|
+
* is sent: what the question says the plan is while the person picks.
|
|
180
184
|
*/
|
|
181
185
|
const getPlanStepsForGoals = (goals, offProducts) => {
|
|
182
186
|
if (goals.length === 0) {
|
|
@@ -205,7 +209,6 @@ exports.DEFAULT_WELCOME_STEPS = [
|
|
|
205
209
|
* metrics and traces to a service.
|
|
206
210
|
*/
|
|
207
211
|
exports.WELCOME_STEP_PRODUCTS = {
|
|
208
|
-
[WelcomeStep.ServerEmail]: [],
|
|
209
212
|
[WelcomeStep.Import]: [],
|
|
210
213
|
[WelcomeStep.Monitor]: [ProductKey_1.default.Monitors],
|
|
211
214
|
[WelcomeStep.Infrastructure]: [ProductKey_1.default.Hosts],
|
|
@@ -272,7 +275,6 @@ exports.getStepsForGoals = getStepsForGoals;
|
|
|
272
275
|
* server or cluster's agents send metrics first.
|
|
273
276
|
*/
|
|
274
277
|
exports.STEP_DONE_BY_MILESTONES = {
|
|
275
|
-
[WelcomeStep.ServerEmail]: [],
|
|
276
278
|
[WelcomeStep.Import]: [],
|
|
277
279
|
[WelcomeStep.Monitor]: [ActivationMilestone_1.default.FirstCheckResultReceived],
|
|
278
280
|
[WelcomeStep.Infrastructure]: [ActivationMilestone_1.default.FirstMetricsReceived],
|
|
@@ -307,23 +309,22 @@ exports.isWelcomeStepDoneByMilestones = isWelcomeStepDoneByMilestones;
|
|
|
307
309
|
*/
|
|
308
310
|
const isWelcomeStepDone = (step, facts) => {
|
|
309
311
|
switch (step) {
|
|
310
|
-
case WelcomeStep.ServerEmail:
|
|
311
|
-
return facts.serverCanSendEmail;
|
|
312
312
|
case WelcomeStep.Import:
|
|
313
313
|
return facts.hasFinishedImport;
|
|
314
314
|
case WelcomeStep.OnCall:
|
|
315
315
|
return ((0, exports.isWelcomeStepDoneByMilestones)(step, facts.reached) ||
|
|
316
|
-
facts.
|
|
316
|
+
facts.hasPolicyThatPagesSomeone);
|
|
317
317
|
default:
|
|
318
318
|
return (0, exports.isWelcomeStepDoneByMilestones)(step, facts.reached);
|
|
319
319
|
}
|
|
320
320
|
};
|
|
321
321
|
exports.isWelcomeStepDone = isWelcomeStepDone;
|
|
322
322
|
/*
|
|
323
|
-
* Whether the server needs to look at the project's on-call
|
|
324
|
-
*
|
|
325
|
-
*
|
|
326
|
-
* change the
|
|
323
|
+
* Whether the server needs to look at what runs the project's on-call
|
|
324
|
+
* policies (its rules, and its monitors' criteria): the steps include "who
|
|
325
|
+
* is told" and no milestone has finished it yet. The check reads rules,
|
|
326
|
+
* monitors and responders, so it is skipped whenever it cannot change the
|
|
327
|
+
* answer.
|
|
327
328
|
*/
|
|
328
329
|
const needsOnCallRuleCheck = (data) => {
|
|
329
330
|
return (data.steps.includes(WelcomeStep.OnCall) &&
|
|
@@ -342,50 +343,150 @@ const getWelcomeStepPlanNeed = (step, plan) => {
|
|
|
342
343
|
return null;
|
|
343
344
|
};
|
|
344
345
|
exports.getWelcomeStepPlanNeed = getWelcomeStepPlanNeed;
|
|
346
|
+
/*
|
|
347
|
+
* WHY A STEP WHOSE RECORD EXISTS IS NOT DONE YET (#6938). A step ticks on
|
|
348
|
+
* its outcome, so it can be open although its record is there: a status
|
|
349
|
+
* page that shows no monitor, a monitor no probe checks, an on-call policy
|
|
350
|
+
* nothing runs or that reaches nobody, an invitation nobody accepted. Home
|
|
351
|
+
* says the break in one line under the step, and the step opens the page
|
|
352
|
+
* that fixes it, so it never looks like a step never started (principle 3:
|
|
353
|
+
* show the chain, and name the break).
|
|
354
|
+
*
|
|
355
|
+
* The breaks are Setup health's findings (Types/SetupHealth, #6812), read
|
|
356
|
+
* once for the project and said in its words, so the checklist and Setup
|
|
357
|
+
* Health never disagree. Only an invitation nobody accepted is the
|
|
358
|
+
* checklist's own: Setup health knows of one only for a responder.
|
|
359
|
+
*/
|
|
360
|
+
exports.WELCOME_GAP_INVITATION_NOT_ACCEPTED = "invitation_not_accepted";
|
|
361
|
+
/*
|
|
362
|
+
* The Setup health checks that say why a step is not done although its
|
|
363
|
+
* record exists, each step's in the order they are said: what runs a
|
|
364
|
+
* policy before what it reaches. A step with none here (importing, the
|
|
365
|
+
* team, telemetry, a server) has no finding about its record.
|
|
366
|
+
*/
|
|
367
|
+
exports.WELCOME_STEP_GAP_CHECKS = {
|
|
368
|
+
[WelcomeStep.Import]: [],
|
|
369
|
+
// A monitor no probe checks never reports its first result.
|
|
370
|
+
[WelcomeStep.Monitor]: [SetupHealth_1.SetupHealthCheck.MonitorNotChecked],
|
|
371
|
+
[WelcomeStep.Infrastructure]: [],
|
|
372
|
+
[WelcomeStep.Telemetry]: [],
|
|
373
|
+
[WelcomeStep.OnCall]: [
|
|
374
|
+
SetupHealth_1.SetupHealthCheck.PolicyNotRun,
|
|
375
|
+
SetupHealth_1.SetupHealthCheck.PolicyHasNoEscalationRules,
|
|
376
|
+
SetupHealth_1.SetupHealthCheck.PolicyReachesNobody,
|
|
377
|
+
SetupHealth_1.SetupHealthCheck.ResponderCannotBePaged,
|
|
378
|
+
],
|
|
379
|
+
[WelcomeStep.StatusPage]: [SetupHealth_1.SetupHealthCheck.StatusPageShowsNoMonitor],
|
|
380
|
+
[WelcomeStep.Team]: [],
|
|
381
|
+
};
|
|
382
|
+
// Whether a step can have a Setup health finding about its record.
|
|
383
|
+
const hasWelcomeStepGapChecks = (step) => {
|
|
384
|
+
return exports.WELCOME_STEP_GAP_CHECKS[step].length > 0;
|
|
385
|
+
};
|
|
386
|
+
exports.hasWelcomeStepGapChecks = hasWelcomeStepGapChecks;
|
|
387
|
+
/*
|
|
388
|
+
* A step's gap among the project's findings (the ones this person is
|
|
389
|
+
* shown, without the dismissed): the first finding of the first of its
|
|
390
|
+
* checks that has one, or null.
|
|
391
|
+
*/
|
|
392
|
+
const getWelcomeStepGapFromFindings = (step, findings) => {
|
|
393
|
+
for (const check of exports.WELCOME_STEP_GAP_CHECKS[step]) {
|
|
394
|
+
const finding = findings.find((candidate) => {
|
|
395
|
+
return candidate.check === check;
|
|
396
|
+
});
|
|
397
|
+
if (finding) {
|
|
398
|
+
return { check: check, finding: finding };
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
return null;
|
|
402
|
+
};
|
|
403
|
+
exports.getWelcomeStepGapFromFindings = getWelcomeStepGapFromFindings;
|
|
404
|
+
// A step's state for the facts and the plan.
|
|
405
|
+
const getWelcomeStepState = (data) => {
|
|
406
|
+
const isDone = (0, exports.isWelcomeStepDone)(data.step, data.facts);
|
|
407
|
+
return {
|
|
408
|
+
step: data.step,
|
|
409
|
+
isDone: isDone,
|
|
410
|
+
needsPlan: isDone ? null : (0, exports.getWelcomeStepPlanNeed)(data.step, data.plan),
|
|
411
|
+
gap: null,
|
|
412
|
+
};
|
|
413
|
+
};
|
|
345
414
|
const buildWelcomeChecklist = (data) => {
|
|
346
415
|
const keys = (0, exports.getStepsForGoals)(data.goals).filter((step) => {
|
|
347
416
|
return !(0, exports.isWelcomeStepOffOnServer)(step, data.offProducts || []);
|
|
348
417
|
});
|
|
349
|
-
// Shown to the one person who can fix it, and only while it is broken.
|
|
350
|
-
if (data.readerIsServerAdmin && !data.facts.serverCanSendEmail) {
|
|
351
|
-
keys.unshift(WelcomeStep.ServerEmail);
|
|
352
|
-
}
|
|
353
418
|
let hasNext = false;
|
|
354
419
|
const steps = keys.map((step) => {
|
|
355
|
-
const
|
|
356
|
-
const
|
|
357
|
-
? null
|
|
358
|
-
: (0, exports.getWelcomeStepPlanNeed)(step, data.plan);
|
|
359
|
-
const isNext = !hasNext && !isDone && needsPlan === null;
|
|
420
|
+
const state = getWelcomeStepState({ step: step, facts: data.facts, plan: data.plan });
|
|
421
|
+
const isNext = !hasNext && !state.isDone && state.needsPlan === null;
|
|
360
422
|
if (isNext) {
|
|
361
423
|
hasNext = true;
|
|
362
424
|
}
|
|
363
|
-
return {
|
|
364
|
-
step: step,
|
|
365
|
-
isDone: isDone,
|
|
366
|
-
needsPlan: needsPlan,
|
|
367
|
-
isNext: isNext,
|
|
368
|
-
};
|
|
425
|
+
return { ...state, isNext: isNext };
|
|
369
426
|
});
|
|
370
427
|
const counted = steps.filter((state) => {
|
|
371
428
|
return state.needsPlan === null;
|
|
372
429
|
});
|
|
373
|
-
const projectSteps = counted.filter((state) => {
|
|
374
|
-
return state.step !== WelcomeStep.ServerEmail;
|
|
375
|
-
});
|
|
376
430
|
return {
|
|
377
431
|
steps: steps,
|
|
378
432
|
doneCount: counted.filter((state) => {
|
|
379
433
|
return state.isDone;
|
|
380
434
|
}).length,
|
|
381
435
|
totalCount: counted.length,
|
|
382
|
-
isProjectFinished:
|
|
383
|
-
|
|
436
|
+
isProjectFinished: counted.length > 0 &&
|
|
437
|
+
counted.every((state) => {
|
|
384
438
|
return state.isDone;
|
|
385
439
|
}),
|
|
386
440
|
};
|
|
387
441
|
};
|
|
388
442
|
exports.buildWelcomeChecklist = buildWelcomeChecklist;
|
|
443
|
+
/*
|
|
444
|
+
* WHAT ELSE TO SET UP, ONCE THE GOALS' STEPS ARE DONE (#7986).
|
|
445
|
+
*
|
|
446
|
+
* The goals bring the steps a project came for, and the checklist is
|
|
447
|
+
* finished for everyone once those are done. A project that came for its
|
|
448
|
+
* website - a monitor and who is told - was then never offered on Home what
|
|
449
|
+
* every project needs next: a status page and its team. So, once finished,
|
|
450
|
+
* Home offers the core steps (DEFAULT_WELCOME_STEPS, the four every
|
|
451
|
+
* checklist had before there were goals) that no goal brought and that are
|
|
452
|
+
* not done yet, each until it is done or the person hides the card. A
|
|
453
|
+
* project that never chose goals, or skipped them, had the four already,
|
|
454
|
+
* so it is offered nothing more.
|
|
455
|
+
*/
|
|
456
|
+
const getWelcomeMoreSteps = (data) => {
|
|
457
|
+
const goalSteps = (0, exports.getStepsForGoals)(data.goals);
|
|
458
|
+
return exports.DEFAULT_WELCOME_STEPS.filter((step) => {
|
|
459
|
+
return (!goalSteps.includes(step) &&
|
|
460
|
+
!(0, exports.isWelcomeStepOffOnServer)(step, data.offProducts || []));
|
|
461
|
+
});
|
|
462
|
+
};
|
|
463
|
+
exports.getWelcomeMoreSteps = getWelcomeMoreSteps;
|
|
464
|
+
/*
|
|
465
|
+
* The core steps left to offer once the checklist is finished, in the
|
|
466
|
+
* checklist's order: the ones not done yet. None is marked next - each is
|
|
467
|
+
* offered, none is the plan - and one the plan holds back says which plan
|
|
468
|
+
* it needs, as on the checklist.
|
|
469
|
+
*/
|
|
470
|
+
const buildWelcomeMoreSteps = (data) => {
|
|
471
|
+
return (0, exports.getWelcomeMoreSteps)({
|
|
472
|
+
goals: data.goals,
|
|
473
|
+
offProducts: data.offProducts,
|
|
474
|
+
})
|
|
475
|
+
.map((step) => {
|
|
476
|
+
return {
|
|
477
|
+
...getWelcomeStepState({
|
|
478
|
+
step: step,
|
|
479
|
+
facts: data.facts,
|
|
480
|
+
plan: data.plan,
|
|
481
|
+
}),
|
|
482
|
+
isNext: false,
|
|
483
|
+
};
|
|
484
|
+
})
|
|
485
|
+
.filter((state) => {
|
|
486
|
+
return !state.isDone;
|
|
487
|
+
});
|
|
488
|
+
};
|
|
489
|
+
exports.buildWelcomeMoreSteps = buildWelcomeMoreSteps;
|
|
389
490
|
/*
|
|
390
491
|
* The milestones that say a project is already in use: it has monitors,
|
|
391
492
|
* telemetry, a status page with a monitor, or on-call that ran. A project
|
|
@@ -456,3 +557,26 @@ const isLegacyChecklistComplete = (counts) => {
|
|
|
456
557
|
counts.onCallPolicies > 0);
|
|
457
558
|
};
|
|
458
559
|
exports.isLegacyChecklistComplete = isLegacyChecklistComplete;
|
|
560
|
+
/*
|
|
561
|
+
* PAGED BY MORE THAN EMAIL (#9442). The website setup's policy pages the
|
|
562
|
+
* person who set it up by email, which ticks "Set up an on-call policy";
|
|
563
|
+
* a ticked step is a record, not a way anywhere, so Home stopped leading
|
|
564
|
+
* to the on-call guided setup - SMS, calls and the app - for an owner whom
|
|
565
|
+
* only email reaches. Home keeps a way to it until one of these, verified,
|
|
566
|
+
* can page them: a phone number (SMS, a call, WhatsApp) or a push device
|
|
567
|
+
* (the mobile app, or a browser). They are Readiness's method types
|
|
568
|
+
* (ReadinessMethodType in Server/Services/OnCallReadinessService).
|
|
569
|
+
*/
|
|
570
|
+
exports.PHONE_OR_APP_METHOD_TYPES = [
|
|
571
|
+
"SMS",
|
|
572
|
+
"Call",
|
|
573
|
+
"WhatsApp",
|
|
574
|
+
"Push",
|
|
575
|
+
];
|
|
576
|
+
// Whether a verified phone number or push device can page the person.
|
|
577
|
+
const canPageByPhoneOrApp = (methods) => {
|
|
578
|
+
return methods.some((method) => {
|
|
579
|
+
return (method.isVerified && exports.PHONE_OR_APP_METHOD_TYPES.includes(method.methodType));
|
|
580
|
+
});
|
|
581
|
+
};
|
|
582
|
+
exports.canPageByPhoneOrApp = canPageByPhoneOrApp;
|
|
@@ -1,21 +1,29 @@
|
|
|
1
1
|
import commonJsModule from "./WelcomeChecklist.js";
|
|
2
2
|
export const DEFAULT_WELCOME_STEPS = commonJsModule.DEFAULT_WELCOME_STEPS;
|
|
3
3
|
export const GOAL_PRODUCTS = commonJsModule.GOAL_PRODUCTS;
|
|
4
|
+
export const PHONE_OR_APP_METHOD_TYPES = commonJsModule.PHONE_OR_APP_METHOD_TYPES;
|
|
4
5
|
export const PROJECT_IN_USE_MILESTONES = commonJsModule.PROJECT_IN_USE_MILESTONES;
|
|
5
6
|
export const STEPS_OF_GOAL = commonJsModule.STEPS_OF_GOAL;
|
|
6
7
|
export const STEP_DONE_BY_MILESTONES = commonJsModule.STEP_DONE_BY_MILESTONES;
|
|
8
|
+
export const WELCOME_GAP_INVITATION_NOT_ACCEPTED = commonJsModule.WELCOME_GAP_INVITATION_NOT_ACCEPTED;
|
|
9
|
+
export const WELCOME_STEP_GAP_CHECKS = commonJsModule.WELCOME_STEP_GAP_CHECKS;
|
|
7
10
|
export const WELCOME_STEP_MINUTES = commonJsModule.WELCOME_STEP_MINUTES;
|
|
8
11
|
export const WELCOME_STEP_ORDER = commonJsModule.WELCOME_STEP_ORDER;
|
|
9
12
|
export const WELCOME_STEP_PRODUCTS = commonJsModule.WELCOME_STEP_PRODUCTS;
|
|
10
13
|
export const WelcomeAudience = commonJsModule.WelcomeAudience;
|
|
11
14
|
export const WelcomeStep = commonJsModule.WelcomeStep;
|
|
12
15
|
export const buildWelcomeChecklist = commonJsModule.buildWelcomeChecklist;
|
|
16
|
+
export const buildWelcomeMoreSteps = commonJsModule.buildWelcomeMoreSteps;
|
|
17
|
+
export const canPageByPhoneOrApp = commonJsModule.canPageByPhoneOrApp;
|
|
13
18
|
export const getPlanStepsForGoals = commonJsModule.getPlanStepsForGoals;
|
|
14
19
|
export const getStepsForGoals = commonJsModule.getStepsForGoals;
|
|
15
20
|
export const getWelcomeAudience = commonJsModule.getWelcomeAudience;
|
|
16
21
|
export const getWelcomeMinutesLeft = commonJsModule.getWelcomeMinutesLeft;
|
|
22
|
+
export const getWelcomeMoreSteps = commonJsModule.getWelcomeMoreSteps;
|
|
23
|
+
export const getWelcomeStepGapFromFindings = commonJsModule.getWelcomeStepGapFromFindings;
|
|
17
24
|
export const getWelcomeStepPlanNeed = commonJsModule.getWelcomeStepPlanNeed;
|
|
18
25
|
export const getWelcomeStepsMinutes = commonJsModule.getWelcomeStepsMinutes;
|
|
26
|
+
export const hasWelcomeStepGapChecks = commonJsModule.hasWelcomeStepGapChecks;
|
|
19
27
|
export const isGoalOffOnServer = commonJsModule.isGoalOffOnServer;
|
|
20
28
|
export const isLegacyChecklistComplete = commonJsModule.isLegacyChecklistComplete;
|
|
21
29
|
export const isProjectInUse = commonJsModule.isProjectInUse;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSONObject } from "../JSON.mjs";
|
|
2
2
|
import ProjectGoal from "./ProjectGoal.mjs";
|
|
3
|
-
import { WelcomeAudience, WelcomeChecklistStepState } from "./WelcomeChecklist.mjs";
|
|
3
|
+
import { WelcomeAudience, WelcomeChecklistStepState, WelcomeStepGap } from "./WelcomeChecklist.mjs";
|
|
4
4
|
export declare const WELCOME_CHECKLIST_ROUTE: string;
|
|
5
5
|
export declare const WELCOME_CHECKLIST_GOALS_ROUTE: string;
|
|
6
6
|
export declare const WELCOME_CHECKLIST_HIDE_ROUTE: string;
|
|
@@ -18,7 +18,10 @@ export interface WelcomeChecklistAnswer {
|
|
|
18
18
|
steps: Array<WelcomeChecklistStepState>;
|
|
19
19
|
doneCount: number;
|
|
20
20
|
totalCount: number;
|
|
21
|
+
moreSteps: Array<WelcomeChecklistStepState>;
|
|
22
|
+
canBePagedByPhoneOrApp: boolean | null;
|
|
21
23
|
}
|
|
22
24
|
export declare const getEmptyWelcomeChecklistAnswer: () => WelcomeChecklistAnswer;
|
|
23
25
|
export declare const toWelcomeChecklistAnswerJSON: (answer: WelcomeChecklistAnswer) => JSONObject;
|
|
26
|
+
export declare const parseWelcomeStepGap: (value: unknown) => WelcomeStepGap | null;
|
|
24
27
|
export declare const parseWelcomeChecklistAnswer: (value: unknown) => WelcomeChecklistAnswer | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSONObject } from "../JSON";
|
|
2
2
|
import ProjectGoal from "./ProjectGoal";
|
|
3
|
-
import { WelcomeAudience, WelcomeChecklistStepState } from "./WelcomeChecklist";
|
|
3
|
+
import { WelcomeAudience, WelcomeChecklistStepState, WelcomeStepGap } from "./WelcomeChecklist";
|
|
4
4
|
export declare const WELCOME_CHECKLIST_ROUTE: string;
|
|
5
5
|
export declare const WELCOME_CHECKLIST_GOALS_ROUTE: string;
|
|
6
6
|
export declare const WELCOME_CHECKLIST_HIDE_ROUTE: string;
|
|
@@ -18,7 +18,10 @@ export interface WelcomeChecklistAnswer {
|
|
|
18
18
|
steps: Array<WelcomeChecklistStepState>;
|
|
19
19
|
doneCount: number;
|
|
20
20
|
totalCount: number;
|
|
21
|
+
moreSteps: Array<WelcomeChecklistStepState>;
|
|
22
|
+
canBePagedByPhoneOrApp: boolean | null;
|
|
21
23
|
}
|
|
22
24
|
export declare const getEmptyWelcomeChecklistAnswer: () => WelcomeChecklistAnswer;
|
|
23
25
|
export declare const toWelcomeChecklistAnswerJSON: (answer: WelcomeChecklistAnswer) => JSONObject;
|
|
26
|
+
export declare const parseWelcomeStepGap: (value: unknown) => WelcomeStepGap | null;
|
|
24
27
|
export declare const parseWelcomeChecklistAnswer: (value: unknown) => WelcomeChecklistAnswer | null;
|