@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
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.parseWelcomeChecklistAnswer = exports.toWelcomeChecklistAnswerJSON = exports.getEmptyWelcomeChecklistAnswer = exports.WELCOME_CHECKLIST_BROWSER_STATE_ROUTE = exports.WELCOME_CHECKLIST_SHOW_ROUTE = exports.WELCOME_CHECKLIST_HIDE_ROUTE = exports.WELCOME_CHECKLIST_GOALS_ROUTE = exports.WELCOME_CHECKLIST_ROUTE = void 0;
|
|
3
|
+
exports.parseWelcomeChecklistAnswer = exports.parseWelcomeStepGap = exports.toWelcomeChecklistAnswerJSON = exports.getEmptyWelcomeChecklistAnswer = exports.WELCOME_CHECKLIST_BROWSER_STATE_ROUTE = exports.WELCOME_CHECKLIST_SHOW_ROUTE = exports.WELCOME_CHECKLIST_HIDE_ROUTE = exports.WELCOME_CHECKLIST_GOALS_ROUTE = exports.WELCOME_CHECKLIST_ROUTE = void 0;
|
|
4
4
|
const SubscriptionPlan_1 = require("../Billing/SubscriptionPlan");
|
|
5
|
+
const SetupHealth_1 = require("../SetupHealth/SetupHealth");
|
|
5
6
|
const ProjectGoal_1 = require("./ProjectGoal");
|
|
6
7
|
const WelcomeChecklist_1 = require("./WelcomeChecklist");
|
|
7
8
|
/*
|
|
@@ -44,9 +45,27 @@ const getEmptyWelcomeChecklistAnswer = () => {
|
|
|
44
45
|
steps: [],
|
|
45
46
|
doneCount: 0,
|
|
46
47
|
totalCount: 0,
|
|
48
|
+
moreSteps: [],
|
|
49
|
+
canBePagedByPhoneOrApp: null,
|
|
47
50
|
};
|
|
48
51
|
};
|
|
49
52
|
exports.getEmptyWelcomeChecklistAnswer = getEmptyWelcomeChecklistAnswer;
|
|
53
|
+
const toStepJSON = (state) => {
|
|
54
|
+
return {
|
|
55
|
+
step: state.step,
|
|
56
|
+
isDone: state.isDone,
|
|
57
|
+
needsPlan: state.needsPlan,
|
|
58
|
+
isNext: state.isNext,
|
|
59
|
+
gap: state.gap
|
|
60
|
+
? {
|
|
61
|
+
check: state.gap.check,
|
|
62
|
+
finding: state.gap.finding
|
|
63
|
+
? JSON.parse(JSON.stringify(state.gap.finding))
|
|
64
|
+
: null,
|
|
65
|
+
}
|
|
66
|
+
: null,
|
|
67
|
+
};
|
|
68
|
+
};
|
|
50
69
|
const toWelcomeChecklistAnswerJSON = (answer) => {
|
|
51
70
|
return {
|
|
52
71
|
audience: answer.audience,
|
|
@@ -57,19 +76,120 @@ const toWelcomeChecklistAnswerJSON = (answer) => {
|
|
|
57
76
|
isFinished: answer.isFinished,
|
|
58
77
|
canSendEmail: answer.canSendEmail,
|
|
59
78
|
hasAcknowledgedTestPage: answer.hasAcknowledgedTestPage,
|
|
60
|
-
steps: answer.steps.map(
|
|
61
|
-
return {
|
|
62
|
-
step: state.step,
|
|
63
|
-
isDone: state.isDone,
|
|
64
|
-
needsPlan: state.needsPlan,
|
|
65
|
-
isNext: state.isNext,
|
|
66
|
-
};
|
|
67
|
-
}),
|
|
79
|
+
steps: answer.steps.map(toStepJSON),
|
|
68
80
|
doneCount: answer.doneCount,
|
|
69
81
|
totalCount: answer.totalCount,
|
|
82
|
+
moreSteps: answer.moreSteps.map(toStepJSON),
|
|
83
|
+
canBePagedByPhoneOrApp: answer.canBePagedByPhoneOrApp,
|
|
70
84
|
};
|
|
71
85
|
};
|
|
72
86
|
exports.toWelcomeChecklistAnswerJSON = toWelcomeChecklistAnswerJSON;
|
|
87
|
+
const isOneOf = (values) => {
|
|
88
|
+
return (value) => {
|
|
89
|
+
return typeof value === "string" && values.includes(value);
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
const isSetupHealthCheck = isOneOf(Object.values(SetupHealth_1.SetupHealthCheck));
|
|
93
|
+
const isSetupHealthFix = isOneOf(Object.values(SetupHealth_1.SetupHealthFix));
|
|
94
|
+
const isSetupHealthLevel = isOneOf(Object.values(SetupHealth_1.SetupHealthLevel));
|
|
95
|
+
const isSetupHealthRecordKind = isOneOf(Object.values(SetupHealth_1.SetupHealthRecordKind));
|
|
96
|
+
const readText = (value) => {
|
|
97
|
+
return typeof value === "string" ? value : "";
|
|
98
|
+
};
|
|
99
|
+
const readRecord = (value) => {
|
|
100
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
101
|
+
return null;
|
|
102
|
+
}
|
|
103
|
+
const raw = value;
|
|
104
|
+
if (!isSetupHealthRecordKind(raw["kind"])) {
|
|
105
|
+
return null;
|
|
106
|
+
}
|
|
107
|
+
return {
|
|
108
|
+
kind: raw["kind"],
|
|
109
|
+
id: readText(raw["id"]),
|
|
110
|
+
name: readText(raw["name"]),
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
/*
|
|
114
|
+
* The Setup health finding a step's gap holds, as Home draws it: its
|
|
115
|
+
* sentence, its values and its fix are known to the Dashboard, or the gap
|
|
116
|
+
* is left out - a newer server's check is never drawn half.
|
|
117
|
+
*/
|
|
118
|
+
const parseFinding = (value) => {
|
|
119
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
120
|
+
return null;
|
|
121
|
+
}
|
|
122
|
+
const raw = value;
|
|
123
|
+
const record = readRecord(raw["record"]);
|
|
124
|
+
if (!isSetupHealthCheck(raw["check"]) ||
|
|
125
|
+
!isSetupHealthFix(raw["fix"]) ||
|
|
126
|
+
!isSetupHealthLevel(raw["level"]) ||
|
|
127
|
+
!record ||
|
|
128
|
+
typeof raw["words"] !== "string" ||
|
|
129
|
+
!raw["words"]) {
|
|
130
|
+
return null;
|
|
131
|
+
}
|
|
132
|
+
const values = {};
|
|
133
|
+
if (raw["values"] &&
|
|
134
|
+
typeof raw["values"] === "object" &&
|
|
135
|
+
!Array.isArray(raw["values"])) {
|
|
136
|
+
for (const [key, item] of Object.entries(raw["values"])) {
|
|
137
|
+
if (typeof item === "string") {
|
|
138
|
+
values[key] = item;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
const finding = {
|
|
143
|
+
key: readText(raw["key"]),
|
|
144
|
+
check: raw["check"],
|
|
145
|
+
level: raw["level"],
|
|
146
|
+
subject: readText(raw["subject"]),
|
|
147
|
+
reason: readText(raw["reason"]),
|
|
148
|
+
record: record,
|
|
149
|
+
related: Array.isArray(raw["related"])
|
|
150
|
+
? raw["related"]
|
|
151
|
+
.map(readRecord)
|
|
152
|
+
.filter((item) => {
|
|
153
|
+
return item !== null;
|
|
154
|
+
})
|
|
155
|
+
.map((item) => {
|
|
156
|
+
return item;
|
|
157
|
+
})
|
|
158
|
+
: [],
|
|
159
|
+
fix: raw["fix"],
|
|
160
|
+
fixRecordId: readText(raw["fixRecordId"]),
|
|
161
|
+
words: raw["words"],
|
|
162
|
+
values: values,
|
|
163
|
+
sentence: readText(raw["sentence"]),
|
|
164
|
+
};
|
|
165
|
+
if (typeof raw["startsAt"] === "string" && raw["startsAt"]) {
|
|
166
|
+
finding.startsAt = raw["startsAt"];
|
|
167
|
+
}
|
|
168
|
+
if (typeof raw["balanceInUSDCents"] === "number" &&
|
|
169
|
+
Number.isFinite(raw["balanceInUSDCents"])) {
|
|
170
|
+
finding.balanceInUSDCents = raw["balanceInUSDCents"];
|
|
171
|
+
}
|
|
172
|
+
return finding;
|
|
173
|
+
};
|
|
174
|
+
/*
|
|
175
|
+
* A step's gap as a body holds it, or null when it is not one Home can
|
|
176
|
+
* draw: the checklist's own, or a Setup health finding it knows.
|
|
177
|
+
*/
|
|
178
|
+
const parseWelcomeStepGap = (value) => {
|
|
179
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) {
|
|
180
|
+
return null;
|
|
181
|
+
}
|
|
182
|
+
const raw = value;
|
|
183
|
+
if (raw["check"] === WelcomeChecklist_1.WELCOME_GAP_INVITATION_NOT_ACCEPTED) {
|
|
184
|
+
return { check: WelcomeChecklist_1.WELCOME_GAP_INVITATION_NOT_ACCEPTED, finding: null };
|
|
185
|
+
}
|
|
186
|
+
const finding = parseFinding(raw["finding"]);
|
|
187
|
+
if (!finding || finding.check !== raw["check"]) {
|
|
188
|
+
return null;
|
|
189
|
+
}
|
|
190
|
+
return { check: finding.check, finding: finding };
|
|
191
|
+
};
|
|
192
|
+
exports.parseWelcomeStepGap = parseWelcomeStepGap;
|
|
73
193
|
const isPlanType = (value) => {
|
|
74
194
|
return (typeof value === "string" &&
|
|
75
195
|
Object.values(SubscriptionPlan_1.PlanType).includes(value));
|
|
@@ -79,6 +199,44 @@ const toCount = (value) => {
|
|
|
79
199
|
? Math.floor(value)
|
|
80
200
|
: 0;
|
|
81
201
|
};
|
|
202
|
+
/*
|
|
203
|
+
* The steps a body's list holds. Steps the Dashboard does not know (a newer
|
|
204
|
+
* server) are left out, each step is listed once, and at most one is next
|
|
205
|
+
* - none at all where none may be.
|
|
206
|
+
*/
|
|
207
|
+
const parseSteps = (value, options) => {
|
|
208
|
+
const steps = [];
|
|
209
|
+
let hasNext = false;
|
|
210
|
+
if (!Array.isArray(value)) {
|
|
211
|
+
return steps;
|
|
212
|
+
}
|
|
213
|
+
for (const item of value) {
|
|
214
|
+
if (!item || typeof item !== "object") {
|
|
215
|
+
continue;
|
|
216
|
+
}
|
|
217
|
+
const step = item;
|
|
218
|
+
if (!(0, WelcomeChecklist_1.isWelcomeStep)(step["step"]) ||
|
|
219
|
+
steps.some((state) => {
|
|
220
|
+
return state.step === step["step"];
|
|
221
|
+
})) {
|
|
222
|
+
continue;
|
|
223
|
+
}
|
|
224
|
+
const isDone = step["isDone"] === true;
|
|
225
|
+
const isNext = options.mayHaveNext && step["isNext"] === true && !hasNext;
|
|
226
|
+
if (isNext) {
|
|
227
|
+
hasNext = true;
|
|
228
|
+
}
|
|
229
|
+
steps.push({
|
|
230
|
+
step: step["step"],
|
|
231
|
+
isDone: isDone,
|
|
232
|
+
needsPlan: isPlanType(step["needsPlan"]) ? step["needsPlan"] : null,
|
|
233
|
+
isNext: isNext,
|
|
234
|
+
// A done step has nothing missing.
|
|
235
|
+
gap: isDone ? null : (0, exports.parseWelcomeStepGap)(step["gap"]),
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
return steps;
|
|
239
|
+
};
|
|
82
240
|
/*
|
|
83
241
|
* The answer a response body holds, or null when it is not one. Steps the
|
|
84
242
|
* Dashboard does not know (a newer server) are left out, and at most one
|
|
@@ -93,29 +251,6 @@ const parseWelcomeChecklistAnswer = (value) => {
|
|
|
93
251
|
raw["audience"] !== WelcomeChecklist_1.WelcomeAudience.InvitedMember) {
|
|
94
252
|
return null;
|
|
95
253
|
}
|
|
96
|
-
const steps = [];
|
|
97
|
-
let hasNext = false;
|
|
98
|
-
if (Array.isArray(raw["steps"])) {
|
|
99
|
-
for (const item of raw["steps"]) {
|
|
100
|
-
if (!item || typeof item !== "object") {
|
|
101
|
-
continue;
|
|
102
|
-
}
|
|
103
|
-
const step = item;
|
|
104
|
-
if (!(0, WelcomeChecklist_1.isWelcomeStep)(step["step"])) {
|
|
105
|
-
continue;
|
|
106
|
-
}
|
|
107
|
-
const isNext = step["isNext"] === true && !hasNext;
|
|
108
|
-
if (isNext) {
|
|
109
|
-
hasNext = true;
|
|
110
|
-
}
|
|
111
|
-
steps.push({
|
|
112
|
-
step: step["step"],
|
|
113
|
-
isDone: step["isDone"] === true,
|
|
114
|
-
needsPlan: isPlanType(step["needsPlan"]) ? step["needsPlan"] : null,
|
|
115
|
-
isNext: isNext,
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
254
|
const goals = Array.isArray(raw["goals"])
|
|
120
255
|
? (0, ProjectGoal_1.parseProjectGoals)(raw["goals"].filter(ProjectGoal_1.isProjectGoal))
|
|
121
256
|
: null;
|
|
@@ -128,9 +263,16 @@ const parseWelcomeChecklistAnswer = (value) => {
|
|
|
128
263
|
isFinished: raw["isFinished"] === true,
|
|
129
264
|
canSendEmail: raw["canSendEmail"] !== false,
|
|
130
265
|
hasAcknowledgedTestPage: raw["hasAcknowledgedTestPage"] === true,
|
|
131
|
-
steps: steps,
|
|
266
|
+
steps: parseSteps(raw["steps"], { mayHaveNext: true }),
|
|
132
267
|
doneCount: toCount(raw["doneCount"]),
|
|
133
268
|
totalCount: toCount(raw["totalCount"]),
|
|
269
|
+
// Offered, not planned: none of them is next, and none is done.
|
|
270
|
+
moreSteps: parseSteps(raw["moreSteps"], { mayHaveNext: false }).filter((state) => {
|
|
271
|
+
return !state.isDone;
|
|
272
|
+
}),
|
|
273
|
+
canBePagedByPhoneOrApp: typeof raw["canBePagedByPhoneOrApp"] === "boolean"
|
|
274
|
+
? raw["canBePagedByPhoneOrApp"]
|
|
275
|
+
: null,
|
|
134
276
|
};
|
|
135
277
|
};
|
|
136
278
|
exports.parseWelcomeChecklistAnswer = parseWelcomeChecklistAnswer;
|
|
@@ -6,4 +6,5 @@ export const WELCOME_CHECKLIST_ROUTE = commonJsModule.WELCOME_CHECKLIST_ROUTE;
|
|
|
6
6
|
export const WELCOME_CHECKLIST_SHOW_ROUTE = commonJsModule.WELCOME_CHECKLIST_SHOW_ROUTE;
|
|
7
7
|
export const getEmptyWelcomeChecklistAnswer = commonJsModule.getEmptyWelcomeChecklistAnswer;
|
|
8
8
|
export const parseWelcomeChecklistAnswer = commonJsModule.parseWelcomeChecklistAnswer;
|
|
9
|
+
export const parseWelcomeStepGap = commonJsModule.parseWelcomeStepGap;
|
|
9
10
|
export const toWelcomeChecklistAnswerJSON = commonJsModule.toWelcomeChecklistAnswerJSON;
|
|
@@ -24,4 +24,5 @@ export declare const isWelcomeChecklistHiddenFor: (state: WelcomeChecklistState,
|
|
|
24
24
|
export declare const withWelcomeChecklistHiddenFor: (state: WelcomeChecklistState, userId: string, isHidden: boolean) => WelcomeChecklistState;
|
|
25
25
|
export declare const hasAcknowledgedTestPage: (state: WelcomeChecklistState, userId: string | null | undefined) => boolean;
|
|
26
26
|
export declare const withTestPageAcknowledgedBy: (state: WelcomeChecklistState, userId: string) => WelcomeChecklistState;
|
|
27
|
+
export declare const withTestPagesAcknowledgedBefore: (state: WelcomeChecklistState, userIds: Array<string>) => WelcomeChecklistState;
|
|
27
28
|
export declare const withWelcomeChecklistFinished: (state: WelcomeChecklistState, finishedBy: WelcomeChecklistFinishedBy, at: Date) => WelcomeChecklistState;
|
|
@@ -24,4 +24,5 @@ export declare const isWelcomeChecklistHiddenFor: (state: WelcomeChecklistState,
|
|
|
24
24
|
export declare const withWelcomeChecklistHiddenFor: (state: WelcomeChecklistState, userId: string, isHidden: boolean) => WelcomeChecklistState;
|
|
25
25
|
export declare const hasAcknowledgedTestPage: (state: WelcomeChecklistState, userId: string | null | undefined) => boolean;
|
|
26
26
|
export declare const withTestPageAcknowledgedBy: (state: WelcomeChecklistState, userId: string) => WelcomeChecklistState;
|
|
27
|
+
export declare const withTestPagesAcknowledgedBefore: (state: WelcomeChecklistState, userIds: Array<string>) => WelcomeChecklistState;
|
|
27
28
|
export declare const withWelcomeChecklistFinished: (state: WelcomeChecklistState, finishedBy: WelcomeChecklistFinishedBy, at: Date) => WelcomeChecklistState;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.withWelcomeChecklistFinished = exports.withTestPageAcknowledgedBy = exports.hasAcknowledgedTestPage = exports.withWelcomeChecklistHiddenFor = exports.isWelcomeChecklistHiddenFor = exports.isWelcomeChecklistFinished = exports.needsLegacyCheck = exports.getNewProjectWelcomeChecklistState = exports.toWelcomeChecklistStateJSON = exports.parseWelcomeChecklistState = exports.MAX_HIDDEN_FOR_USER_IDS = exports.WelcomeChecklistFinishedBy = void 0;
|
|
3
|
+
exports.withWelcomeChecklistFinished = exports.withTestPagesAcknowledgedBefore = exports.withTestPageAcknowledgedBy = exports.hasAcknowledgedTestPage = exports.withWelcomeChecklistHiddenFor = exports.isWelcomeChecklistHiddenFor = exports.isWelcomeChecklistFinished = exports.needsLegacyCheck = exports.getNewProjectWelcomeChecklistState = exports.toWelcomeChecklistStateJSON = exports.parseWelcomeChecklistState = exports.MAX_HIDDEN_FOR_USER_IDS = exports.WelcomeChecklistFinishedBy = void 0;
|
|
4
4
|
/*
|
|
5
5
|
* WHAT THE SERVER KEEPS ABOUT A PROJECT'S WELCOME CHECKLIST (issue #6803),
|
|
6
6
|
* in Project.welcomeChecklistState. The goals themselves are a column of
|
|
@@ -176,6 +176,35 @@ const withTestPageAcknowledgedBy = (state, userId) => {
|
|
|
176
176
|
};
|
|
177
177
|
};
|
|
178
178
|
exports.withTestPageAcknowledgedBy = withTestPageAcknowledgedBy;
|
|
179
|
+
/*
|
|
180
|
+
* The state with members noted as having acknowledged a test page before
|
|
181
|
+
* the note was kept (#7042): a test page acknowledged before #6807 shipped,
|
|
182
|
+
* or a note a write lost before #7043. They are older than every member
|
|
183
|
+
* noted since, so they go before them, oldest first, each once - and when
|
|
184
|
+
* the list is full it is still the newest that are kept. The same state
|
|
185
|
+
* when every one of them is noted already, so the caller can skip the write.
|
|
186
|
+
*/
|
|
187
|
+
const withTestPagesAcknowledgedBefore = (state, userIds) => {
|
|
188
|
+
var _a;
|
|
189
|
+
const noted = state.testPageAcknowledgedByUserIds || [];
|
|
190
|
+
const earlier = [];
|
|
191
|
+
for (const userId of userIds) {
|
|
192
|
+
const id = typeof userId === "string"
|
|
193
|
+
? (_a = readString(userId.trim())) === null || _a === void 0 ? void 0 : _a.toLowerCase()
|
|
194
|
+
: undefined;
|
|
195
|
+
if (id && !noted.includes(id) && !earlier.includes(id)) {
|
|
196
|
+
earlier.push(id);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
if (earlier.length === 0) {
|
|
200
|
+
return state;
|
|
201
|
+
}
|
|
202
|
+
return {
|
|
203
|
+
...state,
|
|
204
|
+
testPageAcknowledgedByUserIds: [...earlier, ...noted].slice(-exports.MAX_HIDDEN_FOR_USER_IDS),
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
exports.withTestPagesAcknowledgedBefore = withTestPagesAcknowledgedBefore;
|
|
179
208
|
// The state with the checklist finished, unless it already was.
|
|
180
209
|
const withWelcomeChecklistFinished = (state, finishedBy, at) => {
|
|
181
210
|
if (state.finishedAt) {
|
|
@@ -9,5 +9,6 @@ export const needsLegacyCheck = commonJsModule.needsLegacyCheck;
|
|
|
9
9
|
export const parseWelcomeChecklistState = commonJsModule.parseWelcomeChecklistState;
|
|
10
10
|
export const toWelcomeChecklistStateJSON = commonJsModule.toWelcomeChecklistStateJSON;
|
|
11
11
|
export const withTestPageAcknowledgedBy = commonJsModule.withTestPageAcknowledgedBy;
|
|
12
|
+
export const withTestPagesAcknowledgedBefore = commonJsModule.withTestPagesAcknowledgedBefore;
|
|
12
13
|
export const withWelcomeChecklistFinished = commonJsModule.withWelcomeChecklistFinished;
|
|
13
14
|
export const withWelcomeChecklistHiddenFor = commonJsModule.withWelcomeChecklistHiddenFor;
|
|
@@ -39,7 +39,8 @@ export declare const CONNECT_ERROR_QUERY_PARAM: string;
|
|
|
39
39
|
export declare const CONNECT_PROVIDER_QUERY_PARAM: string;
|
|
40
40
|
export declare const CONNECT_NOTICE_QUERY_PARAM: string;
|
|
41
41
|
export declare enum ConnectProviderNotice {
|
|
42
|
-
GitHubInstalled = "github-installed"
|
|
42
|
+
GitHubInstalled = "github-installed",
|
|
43
|
+
ZoomAdded = "zoom-added"
|
|
43
44
|
}
|
|
44
45
|
export declare const CONNECT_CONNECTED_QUERY_PARAM: string;
|
|
45
46
|
export declare const CONNECT_START_PAGE_QUERY_PARAM: string;
|
|
@@ -39,7 +39,8 @@ export declare const CONNECT_ERROR_QUERY_PARAM: string;
|
|
|
39
39
|
export declare const CONNECT_PROVIDER_QUERY_PARAM: string;
|
|
40
40
|
export declare const CONNECT_NOTICE_QUERY_PARAM: string;
|
|
41
41
|
export declare enum ConnectProviderNotice {
|
|
42
|
-
GitHubInstalled = "github-installed"
|
|
42
|
+
GitHubInstalled = "github-installed",
|
|
43
|
+
ZoomAdded = "zoom-added"
|
|
43
44
|
}
|
|
44
45
|
export declare const CONNECT_CONNECTED_QUERY_PARAM: string;
|
|
45
46
|
export declare const CONNECT_START_PAGE_QUERY_PARAM: string;
|
|
@@ -127,10 +127,18 @@ var ConnectProviderNotice;
|
|
|
127
127
|
* ours. Nothing was connected; the page offers to connect the installation.
|
|
128
128
|
*/
|
|
129
129
|
ConnectProviderNotice["GitHubInstalled"] = "github-installed";
|
|
130
|
+
/*
|
|
131
|
+
* Zoom: OneUptime was added to a Zoom account from Zoom itself - the
|
|
132
|
+
* authorization link the Zoom App Marketplace gives - so Zoom sent the
|
|
133
|
+
* browser back with no state of ours. Nothing was connected; the Video
|
|
134
|
+
* Calls page offers to connect Zoom.
|
|
135
|
+
*/
|
|
136
|
+
ConnectProviderNotice["ZoomAdded"] = "zoom-added";
|
|
130
137
|
})(ConnectProviderNotice || (exports.ConnectProviderNotice = ConnectProviderNotice = {}));
|
|
131
138
|
// The provider each notice belongs to: a page shows only its own.
|
|
132
139
|
const PROVIDER_OF_NOTICE = {
|
|
133
140
|
[ConnectProviderNotice.GitHubInstalled]: ConnectProvider.GitHub,
|
|
141
|
+
[ConnectProviderNotice.ZoomAdded]: ConnectProvider.Zoom,
|
|
134
142
|
};
|
|
135
143
|
/*
|
|
136
144
|
* A video call connection a sign-in made or reconnected: the Video Calls
|
|
@@ -10,6 +10,6 @@ export default interface BaseNotificationRule {
|
|
|
10
10
|
existingTeam?: string;
|
|
11
11
|
shouldPostToExistingChat?: boolean;
|
|
12
12
|
existingChatIds?: Array<string>;
|
|
13
|
-
updatesToPost?: Array<NotificationRuleUpdateKind> | undefined;
|
|
13
|
+
updatesToPost?: Array<NotificationRuleUpdateKind> | null | undefined;
|
|
14
14
|
shouldMentionWhoIsOnCall?: boolean | undefined;
|
|
15
15
|
}
|
|
@@ -10,6 +10,6 @@ export default interface BaseNotificationRule {
|
|
|
10
10
|
existingTeam?: string;
|
|
11
11
|
shouldPostToExistingChat?: boolean;
|
|
12
12
|
existingChatIds?: Array<string>;
|
|
13
|
-
updatesToPost?: Array<NotificationRuleUpdateKind> | undefined;
|
|
13
|
+
updatesToPost?: Array<NotificationRuleUpdateKind> | null | undefined;
|
|
14
14
|
shouldMentionWhoIsOnCall?: boolean | undefined;
|
|
15
15
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import AlertSeverity from "../../../Models/DatabaseModels/AlertSeverity.mjs";
|
|
2
2
|
import AlertState from "../../../Models/DatabaseModels/AlertState.mjs";
|
|
3
|
+
import BaseModel from "../../../Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.mjs";
|
|
3
4
|
import IncidentSeverity from "../../../Models/DatabaseModels/IncidentSeverity.mjs";
|
|
4
5
|
import IncidentState from "../../../Models/DatabaseModels/IncidentState.mjs";
|
|
5
6
|
import Label from "../../../Models/DatabaseModels/Label.mjs";
|
|
@@ -59,6 +60,7 @@ export declare enum NotificationRuleConditionCheckOn {
|
|
|
59
60
|
Slos = "SLOs",
|
|
60
61
|
SloLabels = "SLO Labels",
|
|
61
62
|
SloErrorBudgetPolicyChange = "Error Budget Policy Change",
|
|
63
|
+
SloStatusChange = "SLO Status Change",
|
|
62
64
|
IncidentOwners = "Incident Owner",
|
|
63
65
|
AlertOwners = "Alert Owner",
|
|
64
66
|
IncidentEpisodeOwners = "Incident Episode Owner",
|
|
@@ -73,6 +75,7 @@ export type NotificationRuleConditionValues = {
|
|
|
73
75
|
};
|
|
74
76
|
export declare const OWNER_CHECK_ON_BY_EVENT_TYPE: Readonly<Partial<Record<NotificationRuleEventType, NotificationRuleConditionCheckOn>>>;
|
|
75
77
|
export declare const OWNER_CHECK_ONS: ReadonlyArray<NotificationRuleConditionCheckOn>;
|
|
78
|
+
export declare const FIXED_LIST_CHECK_ONS: ReadonlyArray<NotificationRuleConditionCheckOn>;
|
|
76
79
|
export declare const CHECK_ON_LABELS: Readonly<Partial<Record<NotificationRuleConditionCheckOn, string>>>;
|
|
77
80
|
export declare function getCheckOnLabel(checkOn: NotificationRuleConditionCheckOn): string;
|
|
78
81
|
export declare enum ConditionType {
|
|
@@ -130,6 +133,26 @@ export declare class NotificationRuleConditionUtil {
|
|
|
130
133
|
static getValues(values: Partial<NotificationRuleConditionValues>): NotificationRuleConditionValues;
|
|
131
134
|
static getCheckOnsUsed(filters: Array<NotificationRuleCondition> | undefined | null): Set<NotificationRuleConditionCheckOn>;
|
|
132
135
|
static getValueIds(condition: NotificationRuleCondition | undefined | null): Array<string>;
|
|
136
|
+
static isRecordValueField(checkOn: NotificationRuleConditionCheckOn | undefined): boolean;
|
|
137
|
+
static getRecordsByCheckOn(data: {
|
|
138
|
+
checkOn: NotificationRuleConditionCheckOn | undefined;
|
|
139
|
+
alertSeverities?: Array<AlertSeverity> | undefined;
|
|
140
|
+
alertStates?: Array<AlertState> | undefined;
|
|
141
|
+
incidentSeverities?: Array<IncidentSeverity> | undefined;
|
|
142
|
+
monitorStatus?: Array<MonitorStatus> | undefined;
|
|
143
|
+
incidentStates?: Array<IncidentState> | undefined;
|
|
144
|
+
scheduledMaintenanceStates?: Array<ScheduledMaintenanceState> | undefined;
|
|
145
|
+
labels?: Array<Label> | undefined;
|
|
146
|
+
monitors?: Array<Monitor> | undefined;
|
|
147
|
+
securityCasePriorities?: Array<SecurityCasePriority> | undefined;
|
|
148
|
+
securityCaseStatuses?: Array<SecurityCaseStatus> | undefined;
|
|
149
|
+
serviceLevelObjectives?: Array<ServiceLevelObjective> | undefined;
|
|
150
|
+
onCallDutyPolicies?: Array<OnCallDutyPolicy> | undefined;
|
|
151
|
+
}): Array<BaseModel> | undefined;
|
|
152
|
+
static getIdsNotFound(data: {
|
|
153
|
+
ids: Array<string>;
|
|
154
|
+
records: Array<BaseModel> | undefined;
|
|
155
|
+
}): Array<string>;
|
|
133
156
|
static getDropdownOptionsByCheckOn(data: {
|
|
134
157
|
alertSeverities: Array<AlertSeverity>;
|
|
135
158
|
alertStates: Array<AlertState>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import AlertSeverity from "../../../Models/DatabaseModels/AlertSeverity";
|
|
2
2
|
import AlertState from "../../../Models/DatabaseModels/AlertState";
|
|
3
|
+
import BaseModel from "../../../Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel";
|
|
3
4
|
import IncidentSeverity from "../../../Models/DatabaseModels/IncidentSeverity";
|
|
4
5
|
import IncidentState from "../../../Models/DatabaseModels/IncidentState";
|
|
5
6
|
import Label from "../../../Models/DatabaseModels/Label";
|
|
@@ -59,6 +60,7 @@ export declare enum NotificationRuleConditionCheckOn {
|
|
|
59
60
|
Slos = "SLOs",
|
|
60
61
|
SloLabels = "SLO Labels",
|
|
61
62
|
SloErrorBudgetPolicyChange = "Error Budget Policy Change",
|
|
63
|
+
SloStatusChange = "SLO Status Change",
|
|
62
64
|
IncidentOwners = "Incident Owner",
|
|
63
65
|
AlertOwners = "Alert Owner",
|
|
64
66
|
IncidentEpisodeOwners = "Incident Episode Owner",
|
|
@@ -73,6 +75,7 @@ export type NotificationRuleConditionValues = {
|
|
|
73
75
|
};
|
|
74
76
|
export declare const OWNER_CHECK_ON_BY_EVENT_TYPE: Readonly<Partial<Record<NotificationRuleEventType, NotificationRuleConditionCheckOn>>>;
|
|
75
77
|
export declare const OWNER_CHECK_ONS: ReadonlyArray<NotificationRuleConditionCheckOn>;
|
|
78
|
+
export declare const FIXED_LIST_CHECK_ONS: ReadonlyArray<NotificationRuleConditionCheckOn>;
|
|
76
79
|
export declare const CHECK_ON_LABELS: Readonly<Partial<Record<NotificationRuleConditionCheckOn, string>>>;
|
|
77
80
|
export declare function getCheckOnLabel(checkOn: NotificationRuleConditionCheckOn): string;
|
|
78
81
|
export declare enum ConditionType {
|
|
@@ -130,6 +133,26 @@ export declare class NotificationRuleConditionUtil {
|
|
|
130
133
|
static getValues(values: Partial<NotificationRuleConditionValues>): NotificationRuleConditionValues;
|
|
131
134
|
static getCheckOnsUsed(filters: Array<NotificationRuleCondition> | undefined | null): Set<NotificationRuleConditionCheckOn>;
|
|
132
135
|
static getValueIds(condition: NotificationRuleCondition | undefined | null): Array<string>;
|
|
136
|
+
static isRecordValueField(checkOn: NotificationRuleConditionCheckOn | undefined): boolean;
|
|
137
|
+
static getRecordsByCheckOn(data: {
|
|
138
|
+
checkOn: NotificationRuleConditionCheckOn | undefined;
|
|
139
|
+
alertSeverities?: Array<AlertSeverity> | undefined;
|
|
140
|
+
alertStates?: Array<AlertState> | undefined;
|
|
141
|
+
incidentSeverities?: Array<IncidentSeverity> | undefined;
|
|
142
|
+
monitorStatus?: Array<MonitorStatus> | undefined;
|
|
143
|
+
incidentStates?: Array<IncidentState> | undefined;
|
|
144
|
+
scheduledMaintenanceStates?: Array<ScheduledMaintenanceState> | undefined;
|
|
145
|
+
labels?: Array<Label> | undefined;
|
|
146
|
+
monitors?: Array<Monitor> | undefined;
|
|
147
|
+
securityCasePriorities?: Array<SecurityCasePriority> | undefined;
|
|
148
|
+
securityCaseStatuses?: Array<SecurityCaseStatus> | undefined;
|
|
149
|
+
serviceLevelObjectives?: Array<ServiceLevelObjective> | undefined;
|
|
150
|
+
onCallDutyPolicies?: Array<OnCallDutyPolicy> | undefined;
|
|
151
|
+
}): Array<BaseModel> | undefined;
|
|
152
|
+
static getIdsNotFound(data: {
|
|
153
|
+
ids: Array<string>;
|
|
154
|
+
records: Array<BaseModel> | undefined;
|
|
155
|
+
}): Array<string>;
|
|
133
156
|
static getDropdownOptionsByCheckOn(data: {
|
|
134
157
|
alertSeverities: Array<AlertSeverity>;
|
|
135
158
|
alertStates: Array<AlertState>;
|
|
@@ -47,6 +47,18 @@ export default class NotificationRuleUpdates {
|
|
|
47
47
|
static canChooseUpdates(eventType: NotificationRuleEventType | undefined): boolean;
|
|
48
48
|
static getNewRuleUpdatesToPost(eventType: NotificationRuleEventType | undefined): Array<NotificationRuleUpdateKind> | undefined;
|
|
49
49
|
static getNewRuleUpdates(eventType: NotificationRuleEventType | undefined): RuleWithUpdates;
|
|
50
|
+
static hasNewRuleUpdates(eventType: NotificationRuleEventType | undefined): boolean;
|
|
51
|
+
static saysUpdatesToPost(rule: unknown): boolean;
|
|
52
|
+
static withNewRuleUpdates<T>(data: {
|
|
53
|
+
rule: T;
|
|
54
|
+
eventType: NotificationRuleEventType | undefined;
|
|
55
|
+
}): T;
|
|
56
|
+
static withKeptUpdates<T>(data: {
|
|
57
|
+
written: T;
|
|
58
|
+
eventType: NotificationRuleEventType | undefined;
|
|
59
|
+
stored: StoredRuleUpdates;
|
|
60
|
+
storedEventType: NotificationRuleEventType | undefined;
|
|
61
|
+
}): T;
|
|
50
62
|
static getKeyKinds(eventType: NotificationRuleEventType | undefined): Array<NotificationRuleUpdateKind>;
|
|
51
63
|
static getChosenKinds(rule: StoredRuleUpdates): Array<NotificationRuleUpdateKind> | undefined;
|
|
52
64
|
static getChoice(data: {
|
|
@@ -47,6 +47,18 @@ export default class NotificationRuleUpdates {
|
|
|
47
47
|
static canChooseUpdates(eventType: NotificationRuleEventType | undefined): boolean;
|
|
48
48
|
static getNewRuleUpdatesToPost(eventType: NotificationRuleEventType | undefined): Array<NotificationRuleUpdateKind> | undefined;
|
|
49
49
|
static getNewRuleUpdates(eventType: NotificationRuleEventType | undefined): RuleWithUpdates;
|
|
50
|
+
static hasNewRuleUpdates(eventType: NotificationRuleEventType | undefined): boolean;
|
|
51
|
+
static saysUpdatesToPost(rule: unknown): boolean;
|
|
52
|
+
static withNewRuleUpdates<T>(data: {
|
|
53
|
+
rule: T;
|
|
54
|
+
eventType: NotificationRuleEventType | undefined;
|
|
55
|
+
}): T;
|
|
56
|
+
static withKeptUpdates<T>(data: {
|
|
57
|
+
written: T;
|
|
58
|
+
eventType: NotificationRuleEventType | undefined;
|
|
59
|
+
stored: StoredRuleUpdates;
|
|
60
|
+
storedEventType: NotificationRuleEventType | undefined;
|
|
61
|
+
}): T;
|
|
50
62
|
static getKeyKinds(eventType: NotificationRuleEventType | undefined): Array<NotificationRuleUpdateKind>;
|
|
51
63
|
static getChosenKinds(rule: StoredRuleUpdates): Array<NotificationRuleUpdateKind> | undefined;
|
|
52
64
|
static getChoice(data: {
|