@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
|
@@ -43,8 +43,12 @@
|
|
|
43
43
|
* Pure, with no Node or browser APIs: the server, the Dashboard, the Admin
|
|
44
44
|
* Dashboard, the Accounts pages and their tests all read it.
|
|
45
45
|
*/
|
|
46
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
47
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
48
|
+
};
|
|
46
49
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47
|
-
exports.MAX_SERVER_SENDING_FAILURE_LENGTH = exports.SERVER_SENDING_HEALTH_REWRITE_INTERVAL_MS = exports.SERVER_SENDING_CHANNELS = exports.ServerSendingState = exports.ServerSendingChannel = void 0;
|
|
50
|
+
exports.MAX_SERVER_SENDING_RECIPIENT_REFUSALS = exports.SERVER_SENDING_THROTTLE_SUSTAINED_MS = exports.MAX_SERVER_SENDING_FAILURE_LENGTH = exports.SERVER_SENDING_HEALTH_REWRITE_INTERVAL_MS = exports.SERVER_SENDING_CHANNELS = exports.ServerSendingFailureScope = exports.ServerSendingState = exports.ServerSendingChannel = void 0;
|
|
51
|
+
const ServerSetUpProblem_1 = __importDefault(require("./ServerSetUpProblem"));
|
|
48
52
|
var ServerSendingChannel;
|
|
49
53
|
(function (ServerSendingChannel) {
|
|
50
54
|
ServerSendingChannel["Email"] = "email";
|
|
@@ -59,6 +63,22 @@ var ServerSendingState;
|
|
|
59
63
|
ServerSendingState["Working"] = "working";
|
|
60
64
|
ServerSendingState["Failing"] = "failing";
|
|
61
65
|
})(ServerSendingState || (exports.ServerSendingState = ServerSendingState = {}));
|
|
66
|
+
/*
|
|
67
|
+
* Whose problem a failed send is (#9217): the server's - its settings, the
|
|
68
|
+
* way to the provider, its account - which every admin is told of; one
|
|
69
|
+
* recipient's or one message's, which is said on that email's log row and
|
|
70
|
+
* the record that sent it, never in the banner; or the provider asking to
|
|
71
|
+
* slow down, which is the server's only once it has lasted
|
|
72
|
+
* (SERVER_SENDING_THROTTLE_SUSTAINED_MS). Email works it out from what the
|
|
73
|
+
* mail service said (Types/Email/EmailSendFailure); SMS and calls say
|
|
74
|
+
* nothing, and every failure of theirs is the server's, as it always was.
|
|
75
|
+
*/
|
|
76
|
+
var ServerSendingFailureScope;
|
|
77
|
+
(function (ServerSendingFailureScope) {
|
|
78
|
+
ServerSendingFailureScope["Server"] = "server";
|
|
79
|
+
ServerSendingFailureScope["Recipient"] = "recipient";
|
|
80
|
+
ServerSendingFailureScope["Throttled"] = "throttled";
|
|
81
|
+
})(ServerSendingFailureScope || (exports.ServerSendingFailureScope = ServerSendingFailureScope = {}));
|
|
62
82
|
exports.SERVER_SENDING_CHANNELS = [
|
|
63
83
|
ServerSendingChannel.Email,
|
|
64
84
|
ServerSendingChannel.SMS,
|
|
@@ -75,6 +95,17 @@ exports.SERVER_SENDING_CHANNELS = [
|
|
|
75
95
|
exports.SERVER_SENDING_HEALTH_REWRITE_INTERVAL_MS = 60 * 60 * 1000;
|
|
76
96
|
// The longest failure reason kept: a mail server's answer can be long.
|
|
77
97
|
exports.MAX_SERVER_SENDING_FAILURE_LENGTH = 500;
|
|
98
|
+
/*
|
|
99
|
+
* How long a provider may ask to slow down, with nothing going out, before
|
|
100
|
+
* the server's sends are said to fail: a burst is the provider pacing a
|
|
101
|
+
* busy hour, and the email is sent again; a quarter of an hour of it is the
|
|
102
|
+
* account's limit, and email is late.
|
|
103
|
+
*/
|
|
104
|
+
exports.SERVER_SENDING_THROTTLE_SUSTAINED_MS = 15 * 60 * 1000;
|
|
105
|
+
// The most recipient refusals kept, newest first.
|
|
106
|
+
exports.MAX_SERVER_SENDING_RECIPIENT_REFUSALS = 5;
|
|
107
|
+
// The longest recipient address kept.
|
|
108
|
+
const MAX_RECIPIENT_LENGTH = 320;
|
|
78
109
|
const EMPTY_ENTRY = {
|
|
79
110
|
lastSucceededAt: null,
|
|
80
111
|
lastFailedAt: null,
|
|
@@ -117,6 +148,41 @@ const readCount = (value) => {
|
|
|
117
148
|
const isObject = (value) => {
|
|
118
149
|
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
119
150
|
};
|
|
151
|
+
const readRecipient = (value) => {
|
|
152
|
+
if (typeof value !== "string") {
|
|
153
|
+
return null;
|
|
154
|
+
}
|
|
155
|
+
const recipient = value.trim();
|
|
156
|
+
return recipient && recipient.length <= MAX_RECIPIENT_LENGTH
|
|
157
|
+
? recipient
|
|
158
|
+
: null;
|
|
159
|
+
};
|
|
160
|
+
const isSameRecipient = (a, b) => {
|
|
161
|
+
return a.trim().toLowerCase() === b.trim().toLowerCase();
|
|
162
|
+
};
|
|
163
|
+
// The recipient refusals kept, read whole: a row that is not one is left out.
|
|
164
|
+
const readRecipientRefusals = (value) => {
|
|
165
|
+
if (!Array.isArray(value)) {
|
|
166
|
+
return [];
|
|
167
|
+
}
|
|
168
|
+
const refusals = [];
|
|
169
|
+
for (const row of value) {
|
|
170
|
+
if (!isObject(row)) {
|
|
171
|
+
continue;
|
|
172
|
+
}
|
|
173
|
+
const recipient = readRecipient(row["recipient"]);
|
|
174
|
+
const reason = readText(row["reason"]);
|
|
175
|
+
const at = readDate(row["at"]);
|
|
176
|
+
if (!recipient || !reason || !at) {
|
|
177
|
+
continue;
|
|
178
|
+
}
|
|
179
|
+
refusals.push({ recipient: recipient, reason: reason, at: at });
|
|
180
|
+
if (refusals.length >= exports.MAX_SERVER_SENDING_RECIPIENT_REFUSALS) {
|
|
181
|
+
break;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
return refusals;
|
|
185
|
+
};
|
|
120
186
|
class ServerSendingStatusUtil {
|
|
121
187
|
// One channel's entry, read whole from whatever was stored.
|
|
122
188
|
static readEntry(value) {
|
|
@@ -133,6 +199,17 @@ class ServerSendingStatusUtil {
|
|
|
133
199
|
if (settingsFingerprint) {
|
|
134
200
|
entry.settingsFingerprint = settingsFingerprint;
|
|
135
201
|
}
|
|
202
|
+
if (ServerSendingStatusUtil.isFailureScope(value["failureScope"])) {
|
|
203
|
+
entry.failureScope = value["failureScope"];
|
|
204
|
+
}
|
|
205
|
+
const throttledSince = readDate(value["throttledSince"]);
|
|
206
|
+
if (throttledSince) {
|
|
207
|
+
entry.throttledSince = throttledSince;
|
|
208
|
+
}
|
|
209
|
+
const refusals = readRecipientRefusals(value["recipientRefusals"]);
|
|
210
|
+
if (refusals.length > 0) {
|
|
211
|
+
entry.recipientRefusals = refusals;
|
|
212
|
+
}
|
|
136
213
|
return entry;
|
|
137
214
|
}
|
|
138
215
|
/*
|
|
@@ -199,8 +276,9 @@ class ServerSendingStatusUtil {
|
|
|
199
276
|
return ServerSendingState.Untested;
|
|
200
277
|
}
|
|
201
278
|
static getStatus(data) {
|
|
279
|
+
var _a;
|
|
202
280
|
const isSetUp = !data.setUpProblem;
|
|
203
|
-
|
|
281
|
+
const status = {
|
|
204
282
|
channel: data.channel,
|
|
205
283
|
state: ServerSendingStatusUtil.getState({
|
|
206
284
|
isSetUp: isSetUp,
|
|
@@ -212,6 +290,15 @@ class ServerSendingStatusUtil {
|
|
|
212
290
|
lastFailure: data.entry.lastFailure,
|
|
213
291
|
setUpProblem: data.setUpProblem,
|
|
214
292
|
};
|
|
293
|
+
if (!isSetUp && data.setUpProblemWords) {
|
|
294
|
+
status.setUpProblemWords = data.setUpProblemWords;
|
|
295
|
+
}
|
|
296
|
+
if (isSetUp && ((_a = data.entry.recipientRefusals) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
297
|
+
status.recipientRefusals = data.entry.recipientRefusals.map((refusal) => {
|
|
298
|
+
return { ...refusal };
|
|
299
|
+
});
|
|
300
|
+
}
|
|
301
|
+
return status;
|
|
215
302
|
}
|
|
216
303
|
/*
|
|
217
304
|
* What a page anybody can open may say: the server is known not to be
|
|
@@ -228,6 +315,15 @@ class ServerSendingStatusUtil {
|
|
|
228
315
|
}
|
|
229
316
|
return true;
|
|
230
317
|
}
|
|
318
|
+
/*
|
|
319
|
+
* Whether a send would go out now, as the people of a project are told it
|
|
320
|
+
* (#7151, #6880): not while the channel is not set up, nor while it fails.
|
|
321
|
+
* Said to signed-in members only, as a yes or no (ProjectCanSend): never
|
|
322
|
+
* why, which is the server's admins'.
|
|
323
|
+
*/
|
|
324
|
+
static canSendNow(status) {
|
|
325
|
+
return !ServerSendingStatusUtil.needsAttention(status);
|
|
326
|
+
}
|
|
231
327
|
/*
|
|
232
328
|
* Whether a master admin should be told, in the product, that this
|
|
233
329
|
* channel does not work: not set up, or failing.
|
|
@@ -236,29 +332,103 @@ class ServerSendingStatusUtil {
|
|
|
236
332
|
return (status.state === ServerSendingState.NotSetUp ||
|
|
237
333
|
status.state === ServerSendingState.Failing);
|
|
238
334
|
}
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
335
|
+
/*
|
|
336
|
+
* The entry after a send went out through the settings the entry is
|
|
337
|
+
* learned with - the same settings, sender and way to the provider every
|
|
338
|
+
* failure of the server's was about: the server's sends go out again, and
|
|
339
|
+
* the provider no longer asks to slow down. A recipient refused before is
|
|
340
|
+
* taken off only by a send to that recipient, never by a test to another.
|
|
341
|
+
*/
|
|
342
|
+
static withSucceeded(entry, now, recipient) {
|
|
343
|
+
const next = {
|
|
242
344
|
...entry,
|
|
243
345
|
lastSucceededAt: now.toISOString(),
|
|
244
346
|
failingSince: null,
|
|
245
347
|
};
|
|
348
|
+
delete next.failureScope;
|
|
349
|
+
delete next.throttledSince;
|
|
350
|
+
const refusals = (entry.recipientRefusals || []).filter((refusal) => {
|
|
351
|
+
return !recipient || !isSameRecipient(refusal.recipient, recipient);
|
|
352
|
+
});
|
|
353
|
+
if (refusals.length > 0) {
|
|
354
|
+
next.recipientRefusals = refusals;
|
|
355
|
+
}
|
|
356
|
+
else {
|
|
357
|
+
delete next.recipientRefusals;
|
|
358
|
+
}
|
|
359
|
+
return next;
|
|
246
360
|
}
|
|
247
|
-
// The entry after a send failed, and why.
|
|
361
|
+
// The entry after a send failed for a reason of the server's, and why.
|
|
248
362
|
static withFailed(entry, reason, now) {
|
|
249
363
|
return {
|
|
250
364
|
...entry,
|
|
251
365
|
lastFailedAt: now.toISOString(),
|
|
252
366
|
failingSince: entry.failingSince || now.toISOString(),
|
|
253
367
|
lastFailure: readText(reason) || "Unknown error.",
|
|
368
|
+
failureScope: ServerSendingFailureScope.Server,
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
/*
|
|
372
|
+
* The entry after the provider asked to slow down: failing, since it
|
|
373
|
+
* first did, once it has lasted SERVER_SENDING_THROTTLE_SUSTAINED_MS with
|
|
374
|
+
* nothing going out.
|
|
375
|
+
*/
|
|
376
|
+
static withThrottled(entry, reason, now) {
|
|
377
|
+
const throttledSince = entry.throttledSince || now.toISOString();
|
|
378
|
+
const next = {
|
|
379
|
+
...entry,
|
|
380
|
+
throttledSince: throttledSince,
|
|
381
|
+
};
|
|
382
|
+
if (!entry.failingSince &&
|
|
383
|
+
now.getTime() - new Date(throttledSince).getTime() <
|
|
384
|
+
exports.SERVER_SENDING_THROTTLE_SUSTAINED_MS) {
|
|
385
|
+
return next;
|
|
386
|
+
}
|
|
387
|
+
return {
|
|
388
|
+
...next,
|
|
389
|
+
lastFailedAt: now.toISOString(),
|
|
390
|
+
failingSince: entry.failingSince || throttledSince,
|
|
391
|
+
lastFailure: readText(reason) || "Unknown error.",
|
|
392
|
+
failureScope: entry.failingSince
|
|
393
|
+
? entry.failureScope || ServerSendingFailureScope.Server
|
|
394
|
+
: ServerSendingFailureScope.Throttled,
|
|
254
395
|
};
|
|
255
396
|
}
|
|
397
|
+
/*
|
|
398
|
+
* The entry after one recipient was refused: kept among the recipient
|
|
399
|
+
* refusals, newest first. Whether the server's sends fail is left as it
|
|
400
|
+
* was - every other email still goes out.
|
|
401
|
+
*/
|
|
402
|
+
static withRecipientRefused(entry, recipient, reason, now) {
|
|
403
|
+
const address = readRecipient(recipient);
|
|
404
|
+
if (!address) {
|
|
405
|
+
return { ...entry };
|
|
406
|
+
}
|
|
407
|
+
const refusals = [
|
|
408
|
+
{
|
|
409
|
+
recipient: address,
|
|
410
|
+
reason: readText(reason) || "Unknown error.",
|
|
411
|
+
at: now.toISOString(),
|
|
412
|
+
},
|
|
413
|
+
...(entry.recipientRefusals || []).filter((refusal) => {
|
|
414
|
+
return !isSameRecipient(refusal.recipient, address);
|
|
415
|
+
}),
|
|
416
|
+
].slice(0, exports.MAX_SERVER_SENDING_RECIPIENT_REFUSALS);
|
|
417
|
+
return { ...entry, recipientRefusals: refusals };
|
|
418
|
+
}
|
|
256
419
|
/*
|
|
257
420
|
* Whether a send that went out is news worth a write: the first ever, the
|
|
258
421
|
* first after failures, or the same news an hour later.
|
|
259
422
|
*/
|
|
260
|
-
static shouldWriteSucceeded(entry, now) {
|
|
261
|
-
if (!entry.lastSucceededAt || entry.failingSince) {
|
|
423
|
+
static shouldWriteSucceeded(entry, now, recipient) {
|
|
424
|
+
if (!entry.lastSucceededAt || entry.failingSince || entry.throttledSince) {
|
|
425
|
+
return true;
|
|
426
|
+
}
|
|
427
|
+
// A recipient refused before, that a send has now gone out to.
|
|
428
|
+
if (recipient &&
|
|
429
|
+
(entry.recipientRefusals || []).some((refusal) => {
|
|
430
|
+
return isSameRecipient(refusal.recipient, recipient);
|
|
431
|
+
})) {
|
|
262
432
|
return true;
|
|
263
433
|
}
|
|
264
434
|
return (now.getTime() - new Date(entry.lastSucceededAt).getTime() >=
|
|
@@ -278,6 +448,45 @@ class ServerSendingStatusUtil {
|
|
|
278
448
|
return (now.getTime() - new Date(entry.lastFailedAt).getTime() >=
|
|
279
449
|
exports.SERVER_SENDING_HEALTH_REWRITE_INTERVAL_MS);
|
|
280
450
|
}
|
|
451
|
+
/*
|
|
452
|
+
* Whether a slow-down is news worth a write: the first, the one that
|
|
453
|
+
* makes it last long enough to be failing, or the same an hour later.
|
|
454
|
+
*/
|
|
455
|
+
static shouldWriteThrottled(entry, now) {
|
|
456
|
+
if (!entry.throttledSince) {
|
|
457
|
+
return true;
|
|
458
|
+
}
|
|
459
|
+
if (!entry.failingSince) {
|
|
460
|
+
return (now.getTime() - new Date(entry.throttledSince).getTime() >=
|
|
461
|
+
exports.SERVER_SENDING_THROTTLE_SUSTAINED_MS);
|
|
462
|
+
}
|
|
463
|
+
return (!entry.lastFailedAt ||
|
|
464
|
+
now.getTime() - new Date(entry.lastFailedAt).getTime() >=
|
|
465
|
+
exports.SERVER_SENDING_HEALTH_REWRITE_INTERVAL_MS);
|
|
466
|
+
}
|
|
467
|
+
/*
|
|
468
|
+
* Whether a recipient's refusal is news worth a write: one not kept, a
|
|
469
|
+
* new reason, or the same an hour later.
|
|
470
|
+
*/
|
|
471
|
+
static shouldWriteRecipientRefused(entry, recipient, reason, now) {
|
|
472
|
+
if (!readRecipient(recipient)) {
|
|
473
|
+
return false;
|
|
474
|
+
}
|
|
475
|
+
const kept = (entry.recipientRefusals || []).find((refusal) => {
|
|
476
|
+
return isSameRecipient(refusal.recipient, recipient);
|
|
477
|
+
});
|
|
478
|
+
if (!kept) {
|
|
479
|
+
return true;
|
|
480
|
+
}
|
|
481
|
+
if ((readText(reason) || "Unknown error.") !== kept.reason) {
|
|
482
|
+
return true;
|
|
483
|
+
}
|
|
484
|
+
return (now.getTime() - new Date(kept.at).getTime() >=
|
|
485
|
+
exports.SERVER_SENDING_HEALTH_REWRITE_INTERVAL_MS);
|
|
486
|
+
}
|
|
487
|
+
static isFailureScope(value) {
|
|
488
|
+
return Object.values(ServerSendingFailureScope).includes(value);
|
|
489
|
+
}
|
|
281
490
|
static isChannel(value) {
|
|
282
491
|
return exports.SERVER_SENDING_CHANNELS.includes(value);
|
|
283
492
|
}
|
|
@@ -300,7 +509,7 @@ class ServerSendingStatusUtil {
|
|
|
300
509
|
!ServerSendingStatusUtil.isState(row["state"])) {
|
|
301
510
|
continue;
|
|
302
511
|
}
|
|
303
|
-
|
|
512
|
+
const status = {
|
|
304
513
|
channel: row["channel"],
|
|
305
514
|
state: row["state"],
|
|
306
515
|
hasWorked: row["hasWorked"] === true,
|
|
@@ -308,7 +517,19 @@ class ServerSendingStatusUtil {
|
|
|
308
517
|
failingSince: readDate(row["failingSince"]),
|
|
309
518
|
lastFailure: readText(row["lastFailure"]),
|
|
310
519
|
setUpProblem: readText(row["setUpProblem"]),
|
|
311
|
-
}
|
|
520
|
+
};
|
|
521
|
+
// Words only beside the sentence they say, and only ones this page knows.
|
|
522
|
+
const setUpProblemWords = status.setUpProblem
|
|
523
|
+
? ServerSetUpProblem_1.default.parse(row["setUpProblemWords"])
|
|
524
|
+
: null;
|
|
525
|
+
if (setUpProblemWords) {
|
|
526
|
+
status.setUpProblemWords = setUpProblemWords;
|
|
527
|
+
}
|
|
528
|
+
const refusals = readRecipientRefusals(row["recipientRefusals"]);
|
|
529
|
+
if (refusals.length > 0) {
|
|
530
|
+
status.recipientRefusals = refusals;
|
|
531
|
+
}
|
|
532
|
+
channels.push(status);
|
|
312
533
|
}
|
|
313
534
|
const probes = value["globalProbes"];
|
|
314
535
|
return {
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import commonJsModule from "./ServerSendingStatus.js";
|
|
2
2
|
export default commonJsModule.default;
|
|
3
3
|
export const MAX_SERVER_SENDING_FAILURE_LENGTH = commonJsModule.MAX_SERVER_SENDING_FAILURE_LENGTH;
|
|
4
|
+
export const MAX_SERVER_SENDING_RECIPIENT_REFUSALS = commonJsModule.MAX_SERVER_SENDING_RECIPIENT_REFUSALS;
|
|
4
5
|
export const SERVER_SENDING_CHANNELS = commonJsModule.SERVER_SENDING_CHANNELS;
|
|
5
6
|
export const SERVER_SENDING_HEALTH_REWRITE_INTERVAL_MS = commonJsModule.SERVER_SENDING_HEALTH_REWRITE_INTERVAL_MS;
|
|
7
|
+
export const SERVER_SENDING_THROTTLE_SUSTAINED_MS = commonJsModule.SERVER_SENDING_THROTTLE_SUSTAINED_MS;
|
|
6
8
|
export const ServerSendingChannel = commonJsModule.ServerSendingChannel;
|
|
9
|
+
export const ServerSendingFailureScope = commonJsModule.ServerSendingFailureScope;
|
|
7
10
|
export const ServerSendingState = commonJsModule.ServerSendingState;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { TemplateValues } from "../Translator.mjs";
|
|
2
|
+
export declare const SERVER_PUSH_TURNED_OFF_PROBLEM: string;
|
|
3
|
+
export declare const SERVER_SET_UP_PROBLEMS: {
|
|
4
|
+
emailNotSetUp: string;
|
|
5
|
+
emailSettingNotSet: string;
|
|
6
|
+
smsNotSetUp: string;
|
|
7
|
+
callNotSetUp: string;
|
|
8
|
+
twilioUsedForSmsOnly: string;
|
|
9
|
+
twilioUsedForCallsOnly: string;
|
|
10
|
+
twilioHasNoSmsNumber: string;
|
|
11
|
+
twilioHasNoCallNumber: string;
|
|
12
|
+
pushTurnedOff: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const SERVER_EMAIL_SETTING_NAMES: {
|
|
15
|
+
apiKey: string;
|
|
16
|
+
fromEmail: string;
|
|
17
|
+
fromName: string;
|
|
18
|
+
host: string;
|
|
19
|
+
port: string;
|
|
20
|
+
username: string;
|
|
21
|
+
oauthClientId: string;
|
|
22
|
+
oauthClientSecret: string;
|
|
23
|
+
oauthTokenUrl: string;
|
|
24
|
+
oauthScope: string;
|
|
25
|
+
accessKeyId: string;
|
|
26
|
+
secretAccessKey: string;
|
|
27
|
+
serverApiToken: string;
|
|
28
|
+
awsRegion: string;
|
|
29
|
+
mailgunDomain: string;
|
|
30
|
+
};
|
|
31
|
+
export declare const SERVER_EMAIL_PROVIDER_NAMES: ReadonlyArray<string>;
|
|
32
|
+
export interface ServerSetUpProblemWords {
|
|
33
|
+
template: string;
|
|
34
|
+
values: {
|
|
35
|
+
provider?: string | undefined;
|
|
36
|
+
field?: string | undefined;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export default class ServerSetUpProblem {
|
|
40
|
+
static of(template: string): ServerSetUpProblemWords;
|
|
41
|
+
static emailSettingNotSet(provider: string, field: string): ServerSetUpProblemWords;
|
|
42
|
+
static toEnglish(words: ServerSetUpProblemWords): string;
|
|
43
|
+
static toValues(words: ServerSetUpProblemWords): TemplateValues;
|
|
44
|
+
static parse(value: unknown): ServerSetUpProblemWords | null;
|
|
45
|
+
static isTemplate(template: string): boolean;
|
|
46
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { TemplateValues } from "../Translator";
|
|
2
|
+
export declare const SERVER_PUSH_TURNED_OFF_PROBLEM: string;
|
|
3
|
+
export declare const SERVER_SET_UP_PROBLEMS: {
|
|
4
|
+
emailNotSetUp: string;
|
|
5
|
+
emailSettingNotSet: string;
|
|
6
|
+
smsNotSetUp: string;
|
|
7
|
+
callNotSetUp: string;
|
|
8
|
+
twilioUsedForSmsOnly: string;
|
|
9
|
+
twilioUsedForCallsOnly: string;
|
|
10
|
+
twilioHasNoSmsNumber: string;
|
|
11
|
+
twilioHasNoCallNumber: string;
|
|
12
|
+
pushTurnedOff: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const SERVER_EMAIL_SETTING_NAMES: {
|
|
15
|
+
apiKey: string;
|
|
16
|
+
fromEmail: string;
|
|
17
|
+
fromName: string;
|
|
18
|
+
host: string;
|
|
19
|
+
port: string;
|
|
20
|
+
username: string;
|
|
21
|
+
oauthClientId: string;
|
|
22
|
+
oauthClientSecret: string;
|
|
23
|
+
oauthTokenUrl: string;
|
|
24
|
+
oauthScope: string;
|
|
25
|
+
accessKeyId: string;
|
|
26
|
+
secretAccessKey: string;
|
|
27
|
+
serverApiToken: string;
|
|
28
|
+
awsRegion: string;
|
|
29
|
+
mailgunDomain: string;
|
|
30
|
+
};
|
|
31
|
+
export declare const SERVER_EMAIL_PROVIDER_NAMES: ReadonlyArray<string>;
|
|
32
|
+
export interface ServerSetUpProblemWords {
|
|
33
|
+
template: string;
|
|
34
|
+
values: {
|
|
35
|
+
provider?: string | undefined;
|
|
36
|
+
field?: string | undefined;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export default class ServerSetUpProblem {
|
|
40
|
+
static of(template: string): ServerSetUpProblemWords;
|
|
41
|
+
static emailSettingNotSet(provider: string, field: string): ServerSetUpProblemWords;
|
|
42
|
+
static toEnglish(words: ServerSetUpProblemWords): string;
|
|
43
|
+
static toValues(words: ServerSetUpProblemWords): TemplateValues;
|
|
44
|
+
static parse(value: unknown): ServerSetUpProblemWords | null;
|
|
45
|
+
static isTemplate(template: string): boolean;
|
|
46
|
+
}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SERVER_EMAIL_PROVIDER_NAMES = exports.SERVER_EMAIL_SETTING_NAMES = exports.SERVER_SET_UP_PROBLEMS = exports.SERVER_PUSH_TURNED_OFF_PROBLEM = void 0;
|
|
4
|
+
const Translator_1 = require("../Translator");
|
|
5
|
+
/*
|
|
6
|
+
* WHAT A CHANNEL'S SETTINGS ARE MISSING, IN WORDS EVERY LANGUAGE HAS (#9437).
|
|
7
|
+
*
|
|
8
|
+
* The server works out what the settings of its email, SMS, calls and push
|
|
9
|
+
* are missing (Server/Utils/ServerSending/ServerChannelSetup), and Server
|
|
10
|
+
* Setup (/admin/setup) and the test cards on Settings > Emails and Settings
|
|
11
|
+
* > Call and SMS say it. It used to be sent as a finished English sentence,
|
|
12
|
+
* drawn as it came, so a German or Persian reader read "Nothing is set up
|
|
13
|
+
* under Settings > Emails yet." under a title and a status in their own
|
|
14
|
+
* language.
|
|
15
|
+
*
|
|
16
|
+
* So the server sends it as words too: one of the sentences below - a
|
|
17
|
+
* translation key in every language the Admin Dashboard speaks - and the
|
|
18
|
+
* values that fill it: a provider's name, drawn as written (SendGrid is
|
|
19
|
+
* SendGrid in every language), and the name of the setting that is left
|
|
20
|
+
* blank, which is a key of its own, looked up as the settings form draws
|
|
21
|
+
* it. The English sentence is still sent beside it (setUpProblem), so a
|
|
22
|
+
* page of an older version, and `npm run doctor`, read what they always did.
|
|
23
|
+
*
|
|
24
|
+
* What is not OneUptime's own sentence - what is wrong with the GLOBAL_EMAIL_
|
|
25
|
+
* or GLOBAL_TWILIO_ environment variables, named by the variables, and a
|
|
26
|
+
* provider's own answer - is sent as written, with no words: it is drawn as
|
|
27
|
+
* it came.
|
|
28
|
+
*
|
|
29
|
+
* Pure, with no Node or browser APIs.
|
|
30
|
+
*/
|
|
31
|
+
// The setting a push turned off is read from: said by a test push too.
|
|
32
|
+
exports.SERVER_PUSH_TURNED_OFF_PROBLEM = (0, Translator_1.translationKey)("Push notifications are turned off under Settings > Push Notifications.");
|
|
33
|
+
exports.SERVER_SET_UP_PROBLEMS = {
|
|
34
|
+
emailNotSetUp: (0, Translator_1.translationKey)("Nothing is set up under Settings > Emails yet."),
|
|
35
|
+
// A provider's name, and a setting of its form (SERVER_EMAIL_SETTING_NAMES).
|
|
36
|
+
emailSettingNotSet: (0, Translator_1.translationKey)("{{provider}}: the {{field}} is not set under Settings > Emails."),
|
|
37
|
+
smsNotSetUp: (0, Translator_1.translationKey)("No Twilio account or SMS gateway is set up under Settings > Call and SMS."),
|
|
38
|
+
callNotSetUp: (0, Translator_1.translationKey)("No Twilio account or call gateway is set up under Settings > Call and SMS."),
|
|
39
|
+
// The server's Twilio account, used for one kind of message (TwilioPhoneNumbers.getCannotSendReason).
|
|
40
|
+
twilioUsedForSmsOnly: (0, Translator_1.translationKey)("This Twilio config is used for SMS only, so it makes no calls."),
|
|
41
|
+
twilioUsedForCallsOnly: (0, Translator_1.translationKey)("This Twilio config is used for calls only, so it sends no SMS."),
|
|
42
|
+
twilioHasNoSmsNumber: (0, Translator_1.translationKey)("This Twilio config has no number to send SMS from."),
|
|
43
|
+
twilioHasNoCallNumber: (0, Translator_1.translationKey)("This Twilio config has no number to make calls from."),
|
|
44
|
+
pushTurnedOff: exports.SERVER_PUSH_TURNED_OFF_PROBLEM,
|
|
45
|
+
};
|
|
46
|
+
/*
|
|
47
|
+
* The settings of Settings > Emails a set-up problem can name, as the form
|
|
48
|
+
* names them: looked up in the reader's language with the sentence.
|
|
49
|
+
*/
|
|
50
|
+
exports.SERVER_EMAIL_SETTING_NAMES = {
|
|
51
|
+
apiKey: (0, Translator_1.translationKey)("API Key"),
|
|
52
|
+
fromEmail: (0, Translator_1.translationKey)("From Email"),
|
|
53
|
+
fromName: (0, Translator_1.translationKey)("From Name"),
|
|
54
|
+
host: (0, Translator_1.translationKey)("Host"),
|
|
55
|
+
port: (0, Translator_1.translationKey)("Port"),
|
|
56
|
+
username: (0, Translator_1.translationKey)("Username"),
|
|
57
|
+
oauthClientId: (0, Translator_1.translationKey)("OAuth Client ID"),
|
|
58
|
+
oauthClientSecret: (0, Translator_1.translationKey)("OAuth Client Secret"),
|
|
59
|
+
oauthTokenUrl: (0, Translator_1.translationKey)("OAuth Token URL"),
|
|
60
|
+
oauthScope: (0, Translator_1.translationKey)("OAuth Scope"),
|
|
61
|
+
accessKeyId: (0, Translator_1.translationKey)("Access Key ID"),
|
|
62
|
+
secretAccessKey: (0, Translator_1.translationKey)("Secret Access Key"),
|
|
63
|
+
serverApiToken: (0, Translator_1.translationKey)("Server API Token"),
|
|
64
|
+
awsRegion: (0, Translator_1.translationKey)("Region (an AWS Region code, such as us-east-1)"),
|
|
65
|
+
mailgunDomain: (0, Translator_1.translationKey)("Domain (the sending domain, such as mg.example.com)"),
|
|
66
|
+
};
|
|
67
|
+
/*
|
|
68
|
+
* The providers a set-up problem can name, as the Email settings page names
|
|
69
|
+
* them: product names, the same in every language.
|
|
70
|
+
*/
|
|
71
|
+
exports.SERVER_EMAIL_PROVIDER_NAMES = [
|
|
72
|
+
"SMTP",
|
|
73
|
+
"Microsoft Graph",
|
|
74
|
+
"SendGrid",
|
|
75
|
+
"Amazon SES",
|
|
76
|
+
"Mailgun",
|
|
77
|
+
"Postmark",
|
|
78
|
+
"Resend",
|
|
79
|
+
];
|
|
80
|
+
const TEMPLATES = Object.values(exports.SERVER_SET_UP_PROBLEMS);
|
|
81
|
+
const SETTING_NAMES = Object.values(exports.SERVER_EMAIL_SETTING_NAMES);
|
|
82
|
+
class ServerSetUpProblem {
|
|
83
|
+
// A sentence of OneUptime's own, with no values.
|
|
84
|
+
static of(template) {
|
|
85
|
+
return { template: template, values: {} };
|
|
86
|
+
}
|
|
87
|
+
// "SendGrid: the API Key is not set under Settings > Emails.", in words.
|
|
88
|
+
static emailSettingNotSet(provider, field) {
|
|
89
|
+
return {
|
|
90
|
+
template: exports.SERVER_SET_UP_PROBLEMS.emailSettingNotSet,
|
|
91
|
+
values: { provider: provider, field: field },
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
// The English sentence: what the server sends beside the words, and logs.
|
|
95
|
+
static toEnglish(words) {
|
|
96
|
+
return (0, Translator_1.fillTemplate)(words.template, ServerSetUpProblem.toValues(words));
|
|
97
|
+
}
|
|
98
|
+
/*
|
|
99
|
+
* What fills the sentence when a page draws it: the provider as written,
|
|
100
|
+
* the setting looked up with the sentence, in the same language.
|
|
101
|
+
*/
|
|
102
|
+
static toValues(words) {
|
|
103
|
+
const values = {};
|
|
104
|
+
if (words.values.provider) {
|
|
105
|
+
values["provider"] = words.values.provider;
|
|
106
|
+
}
|
|
107
|
+
if (words.values.field) {
|
|
108
|
+
values["field"] = (0, Translator_1.translatableTerm)(words.values.field);
|
|
109
|
+
}
|
|
110
|
+
return values;
|
|
111
|
+
}
|
|
112
|
+
/*
|
|
113
|
+
* Words read from an answer, or null when they are not ones this
|
|
114
|
+
* version knows: a sentence of the list above, with the values it names
|
|
115
|
+
* and nothing else - a provider of the list, a setting of the list. A
|
|
116
|
+
* page then draws the English sentence sent beside them, as it came.
|
|
117
|
+
*/
|
|
118
|
+
static parse(value) {
|
|
119
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
120
|
+
return null;
|
|
121
|
+
}
|
|
122
|
+
const row = value;
|
|
123
|
+
const template = row["template"];
|
|
124
|
+
const values = row["values"];
|
|
125
|
+
if (typeof template !== "string" || !TEMPLATES.includes(template)) {
|
|
126
|
+
return null;
|
|
127
|
+
}
|
|
128
|
+
if (values !== undefined &&
|
|
129
|
+
(!values || typeof values !== "object" || Array.isArray(values))) {
|
|
130
|
+
return null;
|
|
131
|
+
}
|
|
132
|
+
const given = values || {};
|
|
133
|
+
const words = { template: template, values: {} };
|
|
134
|
+
for (const key of Object.keys(given)) {
|
|
135
|
+
if (key !== "provider" && key !== "field") {
|
|
136
|
+
return null;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
const placeholders = (template.match(/\{\{(\w+)\}\}/g) || []).map((placeholder) => {
|
|
140
|
+
return placeholder.slice(2, -2);
|
|
141
|
+
});
|
|
142
|
+
if (placeholders.includes("provider")) {
|
|
143
|
+
const provider = given["provider"];
|
|
144
|
+
if (typeof provider !== "string" ||
|
|
145
|
+
!exports.SERVER_EMAIL_PROVIDER_NAMES.includes(provider)) {
|
|
146
|
+
return null;
|
|
147
|
+
}
|
|
148
|
+
words.values.provider = provider;
|
|
149
|
+
}
|
|
150
|
+
if (placeholders.includes("field")) {
|
|
151
|
+
const field = given["field"];
|
|
152
|
+
if (typeof field !== "string" || !SETTING_NAMES.includes(field)) {
|
|
153
|
+
return null;
|
|
154
|
+
}
|
|
155
|
+
words.values.field = field;
|
|
156
|
+
}
|
|
157
|
+
return words;
|
|
158
|
+
}
|
|
159
|
+
// Whether a sentence is one of OneUptime's own set-up problems.
|
|
160
|
+
static isTemplate(template) {
|
|
161
|
+
return TEMPLATES.includes(template);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
exports.default = ServerSetUpProblem;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import commonJsModule from "./ServerSetUpProblem.js";
|
|
2
|
+
export default commonJsModule.default;
|
|
3
|
+
export const SERVER_EMAIL_PROVIDER_NAMES = commonJsModule.SERVER_EMAIL_PROVIDER_NAMES;
|
|
4
|
+
export const SERVER_EMAIL_SETTING_NAMES = commonJsModule.SERVER_EMAIL_SETTING_NAMES;
|
|
5
|
+
export const SERVER_PUSH_TURNED_OFF_PROBLEM = commonJsModule.SERVER_PUSH_TURNED_OFF_PROBLEM;
|
|
6
|
+
export const SERVER_SET_UP_PROBLEMS = commonJsModule.SERVER_SET_UP_PROBLEMS;
|