@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
|
@@ -36,7 +36,7 @@ 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.NO_INVESTIGATION_CODE_FIX_SUGGESTION = exports.AUTOMATIC_CODE_FIX_BLOCKER_BY_RULE_BLOCKER = exports.AutomaticCodeFixBlocker = void 0;
|
|
39
|
+
exports.HIDDEN_INVESTIGATION_CODE_FIX_SUGGESTION = exports.NO_INVESTIGATION_CODE_FIX_SUGGESTION = exports.AUTOMATIC_CODE_FIX_BLOCKER_BY_RULE_BLOCKER = exports.AutomaticCodeFixBlocker = void 0;
|
|
40
40
|
exports.parseAutomaticCodeFixBlocker = parseAutomaticCodeFixBlocker;
|
|
41
41
|
exports.getInvestigationCodeFixSuggestion = getInvestigationCodeFixSuggestion;
|
|
42
42
|
exports.investigationCodeFixSuggestionToJSON = investigationCodeFixSuggestionToJSON;
|
|
@@ -72,7 +72,8 @@ const SuggestionOffer_1 = __importStar(require("./SuggestionOffer"));
|
|
|
72
72
|
* in Code), and whether OneUptime AI or a person asked for it;
|
|
73
73
|
* - Done: it did its work - its pull request is open for review, it read
|
|
74
74
|
* the code and found nothing to change, or it waits for an answer in
|
|
75
|
-
* Code
|
|
75
|
+
* Code - or it is there, in a task the reader may not read
|
|
76
|
+
* (FinishedFixOutcome.Hidden), and nothing more is said of it;
|
|
76
77
|
* - SetUp: no repository is connected, or Code's own gate stands in the
|
|
77
78
|
* way (the plan, AI credits or an LLM provider, the day's limit, a
|
|
78
79
|
* Runner online) - the one step to take;
|
|
@@ -129,6 +130,20 @@ exports.NO_INVESTIGATION_CODE_FIX_SUGGESTION = {
|
|
|
129
130
|
isAutomatic: false,
|
|
130
131
|
automaticBlocker: null,
|
|
131
132
|
};
|
|
133
|
+
/*
|
|
134
|
+
* The fix pull request is there, in a task the reader may not read: a reply
|
|
135
|
+
* carried a private incident or alert into it that they do not see
|
|
136
|
+
* (FinishedFixOutcome.Hidden). Nothing of it: not whether it works still or
|
|
137
|
+
* is done, not who asked for it, and no task to link to.
|
|
138
|
+
*/
|
|
139
|
+
exports.HIDDEN_INVESTIGATION_CODE_FIX_SUGGESTION = {
|
|
140
|
+
offer: SuggestionOffer_1.default.Done,
|
|
141
|
+
fixOutcome: CodeFixSuggestion_1.FinishedFixOutcome.Hidden,
|
|
142
|
+
blocker: null,
|
|
143
|
+
aiRunId: null,
|
|
144
|
+
isAutomatic: false,
|
|
145
|
+
automaticBlocker: null,
|
|
146
|
+
};
|
|
132
147
|
function getInvestigationCodeFixSuggestion(input) {
|
|
133
148
|
var _a;
|
|
134
149
|
// A reply to the finished fix is under way: work in progress.
|
|
@@ -186,7 +201,9 @@ function investigationCodeFixSuggestionToJSON(suggestion) {
|
|
|
186
201
|
/*
|
|
187
202
|
* Reads the suggestion off the wire. Anything this build cannot draw - an
|
|
188
203
|
* offer it does not know, an InProgress or Done without its task - reads as
|
|
189
|
-
* None, so an unknown answer never draws an action or a dead link.
|
|
204
|
+
* None, so an unknown answer never draws an action or a dead link. A fix
|
|
205
|
+
* hidden from the reader reads as hidden, with no task whatever the wire
|
|
206
|
+
* says.
|
|
190
207
|
*/
|
|
191
208
|
function parseInvestigationCodeFixSuggestion(value) {
|
|
192
209
|
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
@@ -201,6 +218,10 @@ function parseInvestigationCodeFixSuggestion(value) {
|
|
|
201
218
|
if (offer === SuggestionOffer_1.default.None) {
|
|
202
219
|
return exports.NO_INVESTIGATION_CODE_FIX_SUGGESTION;
|
|
203
220
|
}
|
|
221
|
+
if (offer === SuggestionOffer_1.default.Done &&
|
|
222
|
+
(0, CodeFixSuggestion_1.parseFinishedFixOutcome)(record["fixOutcome"]) === CodeFixSuggestion_1.FinishedFixOutcome.Hidden) {
|
|
223
|
+
return exports.HIDDEN_INVESTIGATION_CODE_FIX_SUGGESTION;
|
|
224
|
+
}
|
|
204
225
|
if ((offer === SuggestionOffer_1.default.InProgress || offer === SuggestionOffer_1.default.Done) &&
|
|
205
226
|
!aiRunId) {
|
|
206
227
|
return exports.NO_INVESTIGATION_CODE_FIX_SUGGESTION;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import commonJsModule from "./InvestigationCodeFixSuggestion.js";
|
|
2
2
|
export const AUTOMATIC_CODE_FIX_BLOCKER_BY_RULE_BLOCKER = commonJsModule.AUTOMATIC_CODE_FIX_BLOCKER_BY_RULE_BLOCKER;
|
|
3
3
|
export const AutomaticCodeFixBlocker = commonJsModule.AutomaticCodeFixBlocker;
|
|
4
|
+
export const HIDDEN_INVESTIGATION_CODE_FIX_SUGGESTION = commonJsModule.HIDDEN_INVESTIGATION_CODE_FIX_SUGGESTION;
|
|
4
5
|
export const NO_INVESTIGATION_CODE_FIX_SUGGESTION = commonJsModule.NO_INVESTIGATION_CODE_FIX_SUGGESTION;
|
|
5
6
|
export const getInvestigationCodeFixSuggestion = commonJsModule.getInvestigationCodeFixSuggestion;
|
|
6
7
|
export const investigationCodeFixSuggestionToJSON = commonJsModule.investigationCodeFixSuggestionToJSON;
|
|
@@ -49,6 +49,7 @@ export interface ProfileFixSuggestion extends ProfileFixOffer {
|
|
|
49
49
|
repository: ProfileFixRepository | null;
|
|
50
50
|
repositories: Array<ProfileFixRepository>;
|
|
51
51
|
taskId: string | null;
|
|
52
|
+
isHidden?: boolean | undefined;
|
|
52
53
|
}
|
|
53
54
|
export declare const NO_PROFILE_FIX_SUGGESTION: ProfileFixSuggestion;
|
|
54
55
|
export declare function parseProfileHotspotEvidence(value: unknown): ProfileHotspotEvidence | null;
|
|
@@ -49,6 +49,7 @@ export interface ProfileFixSuggestion extends ProfileFixOffer {
|
|
|
49
49
|
repository: ProfileFixRepository | null;
|
|
50
50
|
repositories: Array<ProfileFixRepository>;
|
|
51
51
|
taskId: string | null;
|
|
52
|
+
isHidden?: boolean | undefined;
|
|
52
53
|
}
|
|
53
54
|
export declare const NO_PROFILE_FIX_SUGGESTION: ProfileFixSuggestion;
|
|
54
55
|
export declare function parseProfileHotspotEvidence(value: unknown): ProfileHotspotEvidence | null;
|
|
@@ -240,9 +240,10 @@ function parseBlocker(value) {
|
|
|
240
240
|
/*
|
|
241
241
|
* Reads the suggestion route's answer. Whatever does not hold together - a
|
|
242
242
|
* fix offered for a function the rule would not offer, nowhere to ask it, a
|
|
243
|
-
* set-up step that does not say what it is, work in progress with no task
|
|
244
|
-
*
|
|
245
|
-
* does not fully
|
|
243
|
+
* set-up step that does not say what it is, work in progress with no task
|
|
244
|
+
* (but one hidden from the person, which has none) - reads as no
|
|
245
|
+
* suggestion, so the panel never draws an action the answer does not fully
|
|
246
|
+
* back.
|
|
246
247
|
*/
|
|
247
248
|
function parseProfileFixSuggestion(value) {
|
|
248
249
|
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
@@ -274,6 +275,16 @@ function parseProfileFixSuggestion(value) {
|
|
|
274
275
|
? record["taskId"]
|
|
275
276
|
: null;
|
|
276
277
|
if (offer === SuggestionOffer_1.default.InProgress) {
|
|
278
|
+
// A task hidden from the person links to nothing, whatever the wire says.
|
|
279
|
+
if (record["isHidden"] === true) {
|
|
280
|
+
return {
|
|
281
|
+
...exports.NO_PROFILE_FIX_SUGGESTION,
|
|
282
|
+
offer,
|
|
283
|
+
reason,
|
|
284
|
+
evidence,
|
|
285
|
+
isHidden: true,
|
|
286
|
+
};
|
|
287
|
+
}
|
|
277
288
|
if (!taskId) {
|
|
278
289
|
return exports.NO_PROFILE_FIX_SUGGESTION;
|
|
279
290
|
}
|
|
@@ -333,6 +344,7 @@ function profileFixSuggestionToJSON(suggestion) {
|
|
|
333
344
|
repositories: suggestion.repositories.map((repository) => {
|
|
334
345
|
return { id: repository.id, name: repository.name };
|
|
335
346
|
}),
|
|
336
|
-
taskId: suggestion.taskId,
|
|
347
|
+
taskId: suggestion.isHidden ? null : suggestion.taskId,
|
|
348
|
+
...(suggestion.isHidden ? { isHidden: true } : {}),
|
|
337
349
|
};
|
|
338
350
|
}
|
|
@@ -12,9 +12,11 @@ export interface TelemetryAiFixSuggestion {
|
|
|
12
12
|
repository: TelemetryAiFixRepository | null;
|
|
13
13
|
repositories: Array<TelemetryAiFixRepository>;
|
|
14
14
|
taskId: string | null;
|
|
15
|
+
isHidden?: boolean | undefined;
|
|
15
16
|
recipe?: string | undefined;
|
|
16
17
|
}
|
|
17
18
|
export declare const NO_TELEMETRY_AI_FIX_SUGGESTION: TelemetryAiFixSuggestion;
|
|
19
|
+
export declare const HIDDEN_TELEMETRY_AI_FIX_SUGGESTION: TelemetryAiFixSuggestion;
|
|
18
20
|
export declare const TELEMETRY_AI_FIX_CONNECT_REPOSITORY_MESSAGE: string;
|
|
19
21
|
export interface TelemetryAiFixOfferInput {
|
|
20
22
|
isAiEnabled: boolean;
|
|
@@ -12,9 +12,11 @@ export interface TelemetryAiFixSuggestion {
|
|
|
12
12
|
repository: TelemetryAiFixRepository | null;
|
|
13
13
|
repositories: Array<TelemetryAiFixRepository>;
|
|
14
14
|
taskId: string | null;
|
|
15
|
+
isHidden?: boolean | undefined;
|
|
15
16
|
recipe?: string | undefined;
|
|
16
17
|
}
|
|
17
18
|
export declare const NO_TELEMETRY_AI_FIX_SUGGESTION: TelemetryAiFixSuggestion;
|
|
19
|
+
export declare const HIDDEN_TELEMETRY_AI_FIX_SUGGESTION: TelemetryAiFixSuggestion;
|
|
18
20
|
export declare const TELEMETRY_AI_FIX_CONNECT_REPOSITORY_MESSAGE: string;
|
|
19
21
|
export interface TelemetryAiFixOfferInput {
|
|
20
22
|
isAiEnabled: boolean;
|
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.TELEMETRY_AI_FIX_CONNECT_REPOSITORY_MESSAGE = exports.NO_TELEMETRY_AI_FIX_SUGGESTION = void 0;
|
|
36
|
+
exports.TELEMETRY_AI_FIX_CONNECT_REPOSITORY_MESSAGE = exports.HIDDEN_TELEMETRY_AI_FIX_SUGGESTION = exports.NO_TELEMETRY_AI_FIX_SUGGESTION = void 0;
|
|
37
37
|
exports.getTelemetryAiFixOffer = getTelemetryAiFixOffer;
|
|
38
38
|
exports.parseTelemetryAiFixSuggestion = parseTelemetryAiFixSuggestion;
|
|
39
39
|
exports.telemetryAiFixSuggestionToJSON = telemetryAiFixSuggestionToJSON;
|
|
@@ -49,6 +49,12 @@ exports.NO_TELEMETRY_AI_FIX_SUGGESTION = {
|
|
|
49
49
|
repositories: [],
|
|
50
50
|
taskId: null,
|
|
51
51
|
};
|
|
52
|
+
// A fix on its way in a task hidden from the person: there, and nothing of it.
|
|
53
|
+
exports.HIDDEN_TELEMETRY_AI_FIX_SUGGESTION = {
|
|
54
|
+
...exports.NO_TELEMETRY_AI_FIX_SUGGESTION,
|
|
55
|
+
offer: SuggestionOffer_1.default.InProgress,
|
|
56
|
+
isHidden: true,
|
|
57
|
+
};
|
|
52
58
|
exports.TELEMETRY_AI_FIX_CONNECT_REPOSITORY_MESSAGE = "Connect the repository that holds this code in Code, so OneUptime AI can open a pull request in it.";
|
|
53
59
|
function getTelemetryAiFixOffer(input) {
|
|
54
60
|
const offer = (0, CodeFixSuggestion_1.getCodeFixOffer)({
|
|
@@ -94,9 +100,10 @@ function parseRepository(value) {
|
|
|
94
100
|
}
|
|
95
101
|
/*
|
|
96
102
|
* Reads the suggestion route's answer. Whatever does not hold together - an
|
|
97
|
-
* in-progress offer with no task
|
|
98
|
-
*
|
|
99
|
-
* an action the answer does
|
|
103
|
+
* in-progress offer with no task (but one hidden from the person, which has
|
|
104
|
+
* none), a set-up step with no blocker, an action with nowhere to ask it -
|
|
105
|
+
* reads as no suggestion, so the page never draws an action the answer does
|
|
106
|
+
* not fully back.
|
|
100
107
|
*/
|
|
101
108
|
function parseTelemetryAiFixSuggestion(value) {
|
|
102
109
|
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
@@ -109,6 +116,10 @@ function parseTelemetryAiFixSuggestion(value) {
|
|
|
109
116
|
}
|
|
110
117
|
const taskId = readText(record["taskId"]);
|
|
111
118
|
if (offer === SuggestionOffer_1.default.InProgress) {
|
|
119
|
+
// A task hidden from the person links to nothing, whatever the wire says.
|
|
120
|
+
if (record["isHidden"] === true) {
|
|
121
|
+
return exports.HIDDEN_TELEMETRY_AI_FIX_SUGGESTION;
|
|
122
|
+
}
|
|
112
123
|
return taskId
|
|
113
124
|
? { ...exports.NO_TELEMETRY_AI_FIX_SUGGESTION, offer, taskId }
|
|
114
125
|
: exports.NO_TELEMETRY_AI_FIX_SUGGESTION;
|
|
@@ -161,7 +172,8 @@ function telemetryAiFixSuggestionToJSON(suggestion) {
|
|
|
161
172
|
repositories: suggestion.repositories.map((repository) => {
|
|
162
173
|
return { id: repository.id, name: repository.name };
|
|
163
174
|
}),
|
|
164
|
-
taskId: suggestion.taskId,
|
|
175
|
+
taskId: suggestion.isHidden ? null : suggestion.taskId,
|
|
176
|
+
...(suggestion.isHidden ? { isHidden: true } : {}),
|
|
165
177
|
...(suggestion.recipe ? { recipe: suggestion.recipe } : {}),
|
|
166
178
|
};
|
|
167
179
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import commonJsModule from "./TelemetryAiFixSuggestion.js";
|
|
2
|
+
export const HIDDEN_TELEMETRY_AI_FIX_SUGGESTION = commonJsModule.HIDDEN_TELEMETRY_AI_FIX_SUGGESTION;
|
|
2
3
|
export const NO_TELEMETRY_AI_FIX_SUGGESTION = commonJsModule.NO_TELEMETRY_AI_FIX_SUGGESTION;
|
|
3
4
|
export const TELEMETRY_AI_FIX_CONNECT_REPOSITORY_MESSAGE = commonJsModule.TELEMETRY_AI_FIX_CONNECT_REPOSITORY_MESSAGE;
|
|
4
5
|
export const getTelemetryAiFixOffer = commonJsModule.getTelemetryAiFixOffer;
|
|
@@ -331,8 +331,9 @@ function parsePerformanceFinding(value) {
|
|
|
331
331
|
/*
|
|
332
332
|
* Reads the suggestion route's answer. Whatever does not hold together - an
|
|
333
333
|
* offer that names no finding, a finding the rule would not offer, an
|
|
334
|
-
* in-progress or done offer with no run
|
|
335
|
-
*
|
|
334
|
+
* in-progress or done offer with no run (but a fix hidden from the reader,
|
|
335
|
+
* which has none), a done offer that does not say how it came out, a set-up
|
|
336
|
+
* step whose blocker this build cannot draw - reads as
|
|
336
337
|
* no suggestion, so the page never draws an action the answer does not
|
|
337
338
|
* fully back. A set-up step with no blocker at all is a repository to
|
|
338
339
|
* connect, as it was before blockers were sent.
|
|
@@ -350,16 +351,24 @@ function parseTracePerformanceFixSuggestion(value) {
|
|
|
350
351
|
if (!finding || !isFindingWorthFixing(finding)) {
|
|
351
352
|
return exports.NO_TRACE_PERFORMANCE_FIX_SUGGESTION;
|
|
352
353
|
}
|
|
353
|
-
const
|
|
354
|
+
const fixOutcome = offer === SuggestionOffer_1.default.Done
|
|
355
|
+
? (0, CodeFixSuggestion_1.parseFinishedFixOutcome)(record["fixOutcome"])
|
|
356
|
+
: null;
|
|
357
|
+
/*
|
|
358
|
+
* A fix in a task the reader may not read (FinishedFixOutcome.Hidden)
|
|
359
|
+
* links to nothing, whatever the wire says.
|
|
360
|
+
*/
|
|
361
|
+
const isHidden = fixOutcome === CodeFixSuggestion_1.FinishedFixOutcome.Hidden;
|
|
362
|
+
const aiRunId = !isHidden &&
|
|
363
|
+
typeof record["aiRunId"] === "string" &&
|
|
364
|
+
record["aiRunId"].length > 0
|
|
354
365
|
? record["aiRunId"]
|
|
355
366
|
: null;
|
|
356
|
-
const linksRun =
|
|
367
|
+
const linksRun = !isHidden &&
|
|
368
|
+
(offer === SuggestionOffer_1.default.InProgress || offer === SuggestionOffer_1.default.Done);
|
|
357
369
|
if (linksRun && !aiRunId) {
|
|
358
370
|
return exports.NO_TRACE_PERFORMANCE_FIX_SUGGESTION;
|
|
359
371
|
}
|
|
360
|
-
const fixOutcome = offer === SuggestionOffer_1.default.Done
|
|
361
|
-
? (0, CodeFixSuggestion_1.parseFinishedFixOutcome)(record["fixOutcome"])
|
|
362
|
-
: null;
|
|
363
372
|
if (offer === SuggestionOffer_1.default.Done && !fixOutcome) {
|
|
364
373
|
return exports.NO_TRACE_PERFORMANCE_FIX_SUGGESTION;
|
|
365
374
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare enum MobileAppFaultKind {
|
|
2
|
+
Crash = "crash",
|
|
3
|
+
Anr = "anr"
|
|
4
|
+
}
|
|
5
|
+
export declare const MOBILE_APP_FAULT_EVENT_NAMES: Readonly<Record<MobileAppFaultKind, ReadonlyArray<string>>>;
|
|
6
|
+
export declare const ANR_EXCEPTION_TYPE: string;
|
|
7
|
+
export declare const ANR_EXCEPTION_MESSAGE: string;
|
|
8
|
+
export declare function getMobileAppFaultKind(attributes: Record<string, unknown> | undefined | null): MobileAppFaultKind | null;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare enum MobileAppFaultKind {
|
|
2
|
+
Crash = "crash",
|
|
3
|
+
Anr = "anr"
|
|
4
|
+
}
|
|
5
|
+
export declare const MOBILE_APP_FAULT_EVENT_NAMES: Readonly<Record<MobileAppFaultKind, ReadonlyArray<string>>>;
|
|
6
|
+
export declare const ANR_EXCEPTION_TYPE: string;
|
|
7
|
+
export declare const ANR_EXCEPTION_MESSAGE: string;
|
|
8
|
+
export declare function getMobileAppFaultKind(attributes: Record<string, unknown> | undefined | null): MobileAppFaultKind | null;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ANR_EXCEPTION_MESSAGE = exports.ANR_EXCEPTION_TYPE = exports.MOBILE_APP_FAULT_EVENT_NAMES = exports.MobileAppFaultKind = void 0;
|
|
4
|
+
exports.getMobileAppFaultKind = getMobileAppFaultKind;
|
|
5
|
+
const LogEventName_1 = require("../../Types/Log/LogEventName");
|
|
6
|
+
/*
|
|
7
|
+
* THE CRASHES AND ANRS A MOBILE APP'S OPENTELEMETRY SDK REPORTS.
|
|
8
|
+
*
|
|
9
|
+
* OpenTelemetry Android reports the two faults that end a person's use of an
|
|
10
|
+
* app as log records that are events, in the record's OTLP event name
|
|
11
|
+
* field, never as spans:
|
|
12
|
+
*
|
|
13
|
+
* - a crash, an uncaught exception that killed the process: `app.crash`
|
|
14
|
+
* since 1.5.0, `device.crash` before it (0.11.0 to 1.4.x, and still with
|
|
15
|
+
* `useLatestExperimental = false`), with the exception's
|
|
16
|
+
* `exception.type`, `exception.message` and `exception.stacktrace`. Its
|
|
17
|
+
* optional native-crash module reports a signal (`SIGSEGV`) the same way,
|
|
18
|
+
* on the next launch;
|
|
19
|
+
* - an ANR (Application Not Responding): the main thread stopped
|
|
20
|
+
* answering for five seconds or more. `device.anr` since 0.14.0, with the
|
|
21
|
+
* main thread's stack in `exception.stacktrace` and no type or message.
|
|
22
|
+
*
|
|
23
|
+
* Log ingest stamps a record's event name onto its `event.name` attribute
|
|
24
|
+
* (LogEventName), so both are read from there, whichever field the SDK sent
|
|
25
|
+
* it in: 0.10.0 and older sent `device.crash` as that attribute.
|
|
26
|
+
*
|
|
27
|
+
* What OneUptime does with them (LogExceptionExtractor): both are
|
|
28
|
+
* exceptions, and both are unhandled - a crash escaped everything, and an
|
|
29
|
+
* ANR is a freeze nobody caught - although neither sets `exception.escaped`.
|
|
30
|
+
* An ANR is filed under the type below with the message below, so it reads
|
|
31
|
+
* as what it is in Exceptions, instead of a row with no type or message.
|
|
32
|
+
*/
|
|
33
|
+
var MobileAppFaultKind;
|
|
34
|
+
(function (MobileAppFaultKind) {
|
|
35
|
+
MobileAppFaultKind["Crash"] = "crash";
|
|
36
|
+
MobileAppFaultKind["Anr"] = "anr";
|
|
37
|
+
})(MobileAppFaultKind || (exports.MobileAppFaultKind = MobileAppFaultKind = {}));
|
|
38
|
+
// The event names each fault is reported under, in every SDK OneUptime reads.
|
|
39
|
+
exports.MOBILE_APP_FAULT_EVENT_NAMES = {
|
|
40
|
+
[MobileAppFaultKind.Crash]: ["app.crash", "device.crash"],
|
|
41
|
+
[MobileAppFaultKind.Anr]: ["device.anr"],
|
|
42
|
+
};
|
|
43
|
+
/*
|
|
44
|
+
* What an ANR is filed under. "ANR" is the word Android itself uses, in the
|
|
45
|
+
* Play Console's Android vitals and in the system's own dialog's logs, so a
|
|
46
|
+
* person who sees it knows what happened.
|
|
47
|
+
*/
|
|
48
|
+
exports.ANR_EXCEPTION_TYPE = "ANR";
|
|
49
|
+
exports.ANR_EXCEPTION_MESSAGE = "Application Not Responding: the app's main thread was blocked, so it stopped responding to input.";
|
|
50
|
+
/*
|
|
51
|
+
* The fault a log record reports, from its attributes (event.name), or null
|
|
52
|
+
* when it is not a mobile app's crash or ANR. Never throws.
|
|
53
|
+
*/
|
|
54
|
+
function getMobileAppFaultKind(attributes) {
|
|
55
|
+
if (!attributes || typeof attributes !== "object") {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
const eventName = attributes[LogEventName_1.LogEventNameAttributeKey];
|
|
59
|
+
if (typeof eventName !== "string") {
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
const name = eventName.trim();
|
|
63
|
+
for (const kind of Object.values(MobileAppFaultKind)) {
|
|
64
|
+
if (exports.MOBILE_APP_FAULT_EVENT_NAMES[kind].includes(name)) {
|
|
65
|
+
return kind;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return null;
|
|
69
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import commonJsModule from "./MobileAppFaults.js";
|
|
2
|
+
export const ANR_EXCEPTION_MESSAGE = commonJsModule.ANR_EXCEPTION_MESSAGE;
|
|
3
|
+
export const ANR_EXCEPTION_TYPE = commonJsModule.ANR_EXCEPTION_TYPE;
|
|
4
|
+
export const MOBILE_APP_FAULT_EVENT_NAMES = commonJsModule.MOBILE_APP_FAULT_EVENT_NAMES;
|
|
5
|
+
export const MobileAppFaultKind = commonJsModule.MobileAppFaultKind;
|
|
6
|
+
export const getMobileAppFaultKind = commonJsModule.getMobileAppFaultKind;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default class WebhookAddressMask {
|
|
2
|
+
static readonly MASK: string;
|
|
3
|
+
static mask(address: {
|
|
4
|
+
toString(): string;
|
|
5
|
+
} | string | null | undefined): string;
|
|
6
|
+
static maskIn(text: string, address: {
|
|
7
|
+
toString(): string;
|
|
8
|
+
} | string | null | undefined): string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default class WebhookAddressMask {
|
|
2
|
+
static readonly MASK: string;
|
|
3
|
+
static mask(address: {
|
|
4
|
+
toString(): string;
|
|
5
|
+
} | string | null | undefined): string;
|
|
6
|
+
static maskIn(text: string, address: {
|
|
7
|
+
toString(): string;
|
|
8
|
+
} | string | null | undefined): string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/*
|
|
4
|
+
* A WEBHOOK'S ADDRESS, AS A LOG KEEPS IT.
|
|
5
|
+
*
|
|
6
|
+
* A webhook's address is its credential: a Slack, Microsoft Teams or
|
|
7
|
+
* Discord incoming webhook carries its secret in its path, others carry a
|
|
8
|
+
* token in the query, or a user and password before the host. Whoever holds
|
|
9
|
+
* the address posts into the channel. The webhook itself keeps it encrypted
|
|
10
|
+
* at rest, and only its owner reads it back (#9013), but a log of what was
|
|
11
|
+
* sent is read by everyone who reads the project's notification logs, and
|
|
12
|
+
* kept for months. So the log keeps the address's scheme, host and port -
|
|
13
|
+
* what tells a person's webhooks apart - and none of the rest:
|
|
14
|
+
*
|
|
15
|
+
* https://hooks.slack.com/services/T0/B0/XXXX -> https://hooks.slack.com/•••
|
|
16
|
+
* https://user:pass@alerts.example.com:8443/in -> https://alerts.example.com:8443/•••
|
|
17
|
+
* https://alerts.example.com -> https://alerts.example.com
|
|
18
|
+
*
|
|
19
|
+
* "/•••" says something was left out, and is there only when something was.
|
|
20
|
+
* An address that cannot be read is nothing but the mask: no part of it can
|
|
21
|
+
* be told apart from its secret. Masking a masked address changes nothing,
|
|
22
|
+
* so a log written by either release, or masked twice, reads the same.
|
|
23
|
+
*/
|
|
24
|
+
// The schemes a webhook is posted over; anything else is masked whole.
|
|
25
|
+
const WEB_PROTOCOL = /^https?:$/;
|
|
26
|
+
class WebhookAddressMask {
|
|
27
|
+
static mask(address) {
|
|
28
|
+
const text = ((address === null || address === void 0 ? void 0 : address.toString()) || "").trim();
|
|
29
|
+
if (!text) {
|
|
30
|
+
return "";
|
|
31
|
+
}
|
|
32
|
+
let parsed;
|
|
33
|
+
try {
|
|
34
|
+
parsed = new globalThis.URL(text);
|
|
35
|
+
}
|
|
36
|
+
catch (_a) {
|
|
37
|
+
return WebhookAddressMask.MASK;
|
|
38
|
+
}
|
|
39
|
+
// `host` is the host and its port; never a user or a password.
|
|
40
|
+
if (!parsed.host || !WEB_PROTOCOL.test(parsed.protocol)) {
|
|
41
|
+
return WebhookAddressMask.MASK;
|
|
42
|
+
}
|
|
43
|
+
const origin = `${parsed.protocol}//${parsed.host}`;
|
|
44
|
+
const hasMore = parsed.username !== "" ||
|
|
45
|
+
parsed.password !== "" ||
|
|
46
|
+
(parsed.pathname !== "" && parsed.pathname !== "/") ||
|
|
47
|
+
parsed.search !== "" ||
|
|
48
|
+
parsed.hash !== "";
|
|
49
|
+
return hasMore ? `${origin}/${WebhookAddressMask.MASK}` : origin;
|
|
50
|
+
}
|
|
51
|
+
/*
|
|
52
|
+
* `text` with every place it quotes `address` masked: an error a send
|
|
53
|
+
* failed with can quote the address it was sent to, and the log keeps the
|
|
54
|
+
* error's words.
|
|
55
|
+
*/
|
|
56
|
+
static maskIn(text, address) {
|
|
57
|
+
const raw = ((address === null || address === void 0 ? void 0 : address.toString()) || "").trim();
|
|
58
|
+
if (!text || !raw) {
|
|
59
|
+
return text;
|
|
60
|
+
}
|
|
61
|
+
return text.split(raw).join(WebhookAddressMask.mask(raw));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
// What stands for the part of an address a log does not keep.
|
|
65
|
+
WebhookAddressMask.MASK = "•••";
|
|
66
|
+
exports.default = WebhookAddressMask;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import WorkspaceType from "../../Types/Workspace/WorkspaceType.mjs";
|
|
2
|
+
export interface WorkspaceRefusalFamily {
|
|
3
|
+
reason: string;
|
|
4
|
+
codes: ReadonlyArray<string>;
|
|
5
|
+
}
|
|
6
|
+
export interface WorkspaceRefusalReading {
|
|
7
|
+
reason: string;
|
|
8
|
+
detail?: string | undefined;
|
|
9
|
+
}
|
|
10
|
+
export declare const SLACK_CHANNEL_NOT_FOUND_REFUSAL: WorkspaceRefusalFamily;
|
|
11
|
+
export declare const SLACK_BOT_NOT_IN_CHANNEL_REFUSAL: WorkspaceRefusalFamily;
|
|
12
|
+
export declare const SLACK_CHANNEL_ARCHIVED_REFUSAL: WorkspaceRefusalFamily;
|
|
13
|
+
export declare const SLACK_CHANNEL_ALREADY_ARCHIVED_REFUSAL: WorkspaceRefusalFamily;
|
|
14
|
+
export declare const SLACK_NOT_CONNECTED_REFUSAL: WorkspaceRefusalFamily;
|
|
15
|
+
export declare const SLACK_MISSING_PERMISSION_REFUSAL: WorkspaceRefusalFamily;
|
|
16
|
+
export declare const SLACK_WORKSPACE_NOT_ADDED_REFUSAL: WorkspaceRefusalFamily;
|
|
17
|
+
export declare const SLACK_RATE_LIMITED_REFUSAL: WorkspaceRefusalFamily;
|
|
18
|
+
export declare const SLACK_MESSAGE_TOO_LONG_REFUSAL: WorkspaceRefusalFamily;
|
|
19
|
+
export declare const SLACK_UNREADABLE_REQUEST_REFUSAL: WorkspaceRefusalFamily;
|
|
20
|
+
export declare const SLACK_RESTRICTED_REFUSAL: WorkspaceRefusalFamily;
|
|
21
|
+
export declare const SLACK_NAME_TAKEN_REFUSAL: WorkspaceRefusalFamily;
|
|
22
|
+
export declare const SLACK_INVALID_NAME_REFUSAL: WorkspaceRefusalFamily;
|
|
23
|
+
export declare const SLACK_ACCOUNT_NOT_FOUND_REFUSAL: WorkspaceRefusalFamily;
|
|
24
|
+
export declare const SLACK_CANNOT_JOIN_REFUSAL: WorkspaceRefusalFamily;
|
|
25
|
+
export declare const SLACK_UNAVAILABLE_REFUSAL: WorkspaceRefusalFamily;
|
|
26
|
+
export declare const SLACK_MESSAGE_GONE_REFUSAL: WorkspaceRefusalFamily;
|
|
27
|
+
export declare const SLACK_MESSAGE_LOCKED_REFUSAL: WorkspaceRefusalFamily;
|
|
28
|
+
export declare const SLACK_EXPIRED_REFUSAL: WorkspaceRefusalFamily;
|
|
29
|
+
export declare const SLACK_CHANNEL_KIND_REFUSAL: WorkspaceRefusalFamily;
|
|
30
|
+
export declare const SLACK_OUTDATED_REFUSAL: WorkspaceRefusalFamily;
|
|
31
|
+
export declare const SLACK_REFUSALS: ReadonlyArray<WorkspaceRefusalFamily>;
|
|
32
|
+
export declare const SLACK_UNKNOWN_REFUSAL_REASON: string;
|
|
33
|
+
export interface MicrosoftTeamsRefusalFamily extends WorkspaceRefusalFamily {
|
|
34
|
+
statuses: ReadonlyArray<number>;
|
|
35
|
+
}
|
|
36
|
+
export declare const MICROSOFT_TEAMS_APP_NOT_IN_TEAM_REFUSAL: MicrosoftTeamsRefusalFamily;
|
|
37
|
+
export declare const MICROSOFT_TEAMS_BLOCKED_BY_USER_REFUSAL: MicrosoftTeamsRefusalFamily;
|
|
38
|
+
export declare const MICROSOFT_TEAMS_APP_DISABLED_REFUSAL: MicrosoftTeamsRefusalFamily;
|
|
39
|
+
export declare const MICROSOFT_TEAMS_NOT_CONNECTED_REFUSAL: MicrosoftTeamsRefusalFamily;
|
|
40
|
+
export declare const MICROSOFT_TEAMS_MISSING_PERMISSION_REFUSAL: MicrosoftTeamsRefusalFamily;
|
|
41
|
+
export declare const MICROSOFT_TEAMS_MESSAGE_GONE_REFUSAL: MicrosoftTeamsRefusalFamily;
|
|
42
|
+
export declare const MICROSOFT_TEAMS_NOT_FOUND_REFUSAL: MicrosoftTeamsRefusalFamily;
|
|
43
|
+
export declare const MICROSOFT_TEAMS_NAME_TAKEN_REFUSAL: MicrosoftTeamsRefusalFamily;
|
|
44
|
+
export declare const MICROSOFT_TEAMS_MESSAGE_TOO_LARGE_REFUSAL: MicrosoftTeamsRefusalFamily;
|
|
45
|
+
export declare const MICROSOFT_TEAMS_RATE_LIMITED_REFUSAL: MicrosoftTeamsRefusalFamily;
|
|
46
|
+
export declare const MICROSOFT_TEAMS_UNAVAILABLE_REFUSAL: MicrosoftTeamsRefusalFamily;
|
|
47
|
+
export declare const MICROSOFT_TEAMS_REFUSALS: ReadonlyArray<MicrosoftTeamsRefusalFamily>;
|
|
48
|
+
export declare const MICROSOFT_TEAMS_UNKNOWN_REFUSAL_REASON: string;
|
|
49
|
+
export interface MattermostRefusalFamily extends WorkspaceRefusalFamily {
|
|
50
|
+
statuses: ReadonlyArray<number>;
|
|
51
|
+
idEnds: ReadonlyArray<string>;
|
|
52
|
+
}
|
|
53
|
+
export declare const MATTERMOST_NOT_CONNECTED_REFUSAL: MattermostRefusalFamily;
|
|
54
|
+
export declare const MATTERMOST_CHANNEL_ARCHIVED_REFUSAL: MattermostRefusalFamily;
|
|
55
|
+
export declare const MATTERMOST_NAME_TAKEN_REFUSAL: MattermostRefusalFamily;
|
|
56
|
+
export declare const MATTERMOST_NOT_IN_TEAM_REFUSAL: MattermostRefusalFamily;
|
|
57
|
+
export declare const MATTERMOST_ACCOUNT_NOT_FOUND_REFUSAL: MattermostRefusalFamily;
|
|
58
|
+
export declare const MATTERMOST_NOT_ALLOWED_REFUSAL: MattermostRefusalFamily;
|
|
59
|
+
export declare const MATTERMOST_NOT_FOUND_REFUSAL: MattermostRefusalFamily;
|
|
60
|
+
export declare const MATTERMOST_MESSAGE_TOO_LONG_REFUSAL: MattermostRefusalFamily;
|
|
61
|
+
export declare const MATTERMOST_RATE_LIMITED_REFUSAL: MattermostRefusalFamily;
|
|
62
|
+
export declare const MATTERMOST_UNAVAILABLE_REFUSAL: MattermostRefusalFamily;
|
|
63
|
+
export declare const MATTERMOST_REFUSALS: ReadonlyArray<MattermostRefusalFamily>;
|
|
64
|
+
export declare const MATTERMOST_UNKNOWN_REFUSAL_REASON: string;
|
|
65
|
+
export default class WorkspaceRefusal {
|
|
66
|
+
static getDetailMarker(workspaceType: WorkspaceType): string;
|
|
67
|
+
static withDetail(data: {
|
|
68
|
+
reason: string;
|
|
69
|
+
workspaceType: WorkspaceType;
|
|
70
|
+
detail?: string | undefined;
|
|
71
|
+
}): string;
|
|
72
|
+
static getSlackFamily(code: string | undefined | null): WorkspaceRefusalFamily | undefined;
|
|
73
|
+
static getSlackReason(code: string | undefined | null): string;
|
|
74
|
+
static describeSlackRefusal(code: string | undefined | null): string;
|
|
75
|
+
static getSlackCodeOfMessage(message: string | undefined | null): string | null;
|
|
76
|
+
static getMicrosoftTeamsFamily(data: {
|
|
77
|
+
statusCode?: number | undefined;
|
|
78
|
+
code?: string | undefined;
|
|
79
|
+
message?: string | undefined;
|
|
80
|
+
}): MicrosoftTeamsRefusalFamily | undefined;
|
|
81
|
+
static describeMicrosoftTeamsRefusal(data: {
|
|
82
|
+
statusCode?: number | undefined;
|
|
83
|
+
code?: string | undefined;
|
|
84
|
+
message?: string | undefined;
|
|
85
|
+
}): string;
|
|
86
|
+
static getMattermostFamily(data: {
|
|
87
|
+
statusCode?: number | undefined;
|
|
88
|
+
errorId?: string | undefined;
|
|
89
|
+
}): MattermostRefusalFamily | undefined;
|
|
90
|
+
static describeMattermostRefusal(data: {
|
|
91
|
+
statusCode?: number | undefined;
|
|
92
|
+
errorId?: string | undefined;
|
|
93
|
+
message?: string | undefined;
|
|
94
|
+
}): string;
|
|
95
|
+
static read(data: {
|
|
96
|
+
message: string | undefined | null;
|
|
97
|
+
workspaceType?: WorkspaceType | undefined;
|
|
98
|
+
}): WorkspaceRefusalReading;
|
|
99
|
+
static toText(data: {
|
|
100
|
+
reading: WorkspaceRefusalReading;
|
|
101
|
+
workspaceType?: WorkspaceType | undefined;
|
|
102
|
+
}): string;
|
|
103
|
+
static getRefusedWithWords(data: {
|
|
104
|
+
workspaceType: WorkspaceType;
|
|
105
|
+
words: string;
|
|
106
|
+
}): string;
|
|
107
|
+
private static withoutFullStop;
|
|
108
|
+
}
|