@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
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getStatusPageSingleSignOnProtocolQuery = exports.readStatusPageSingleSignOnProtocol = exports.MOVED_SINGLE_SIGN_ON_PATHS = exports.STATUS_PAGE_SINGLE_SIGN_ON_PROTOCOL_QUERY_PARAM = exports.DEFAULT_STATUS_PAGE_SINGLE_SIGN_ON_PROTOCOL = exports.STATUS_PAGE_SINGLE_SIGN_ON_PROTOCOLS = void 0;
|
|
4
|
+
/*
|
|
5
|
+
* The protocols a status page's single sign-on providers speak, as the
|
|
6
|
+
* dashboard's one Single Sign-On page names its tabs in the address
|
|
7
|
+
* (`…/status-pages/:id/sso?protocol=oidc`).
|
|
8
|
+
*
|
|
9
|
+
* They were two menu entries until #9130, "SSO" and "OIDC", side by side
|
|
10
|
+
* with the same lock icon: one kind of record (a sign-on provider) on two
|
|
11
|
+
* pages, under one name ("SSO") that is also what OIDC is. The SAML page
|
|
12
|
+
* kept its address and is the first tab; the OIDC page's address is still
|
|
13
|
+
* in bookmarks and wikis, so the dashboard forwards it to its tab
|
|
14
|
+
* (MOVED_SINGLE_SIGN_ON_PATHS).
|
|
15
|
+
*
|
|
16
|
+
* React-free and database-free, so the dashboard and a test can both read
|
|
17
|
+
* it.
|
|
18
|
+
*/
|
|
19
|
+
var StatusPageSingleSignOnProtocol;
|
|
20
|
+
(function (StatusPageSingleSignOnProtocol) {
|
|
21
|
+
StatusPageSingleSignOnProtocol["SAML"] = "saml";
|
|
22
|
+
StatusPageSingleSignOnProtocol["OIDC"] = "oidc";
|
|
23
|
+
})(StatusPageSingleSignOnProtocol || (StatusPageSingleSignOnProtocol = {}));
|
|
24
|
+
// In tab order. The first is the tab a bare address opens.
|
|
25
|
+
exports.STATUS_PAGE_SINGLE_SIGN_ON_PROTOCOLS = [StatusPageSingleSignOnProtocol.SAML, StatusPageSingleSignOnProtocol.OIDC];
|
|
26
|
+
exports.DEFAULT_STATUS_PAGE_SINGLE_SIGN_ON_PROTOCOL = StatusPageSingleSignOnProtocol.SAML;
|
|
27
|
+
// The query parameter that names the open tab.
|
|
28
|
+
exports.STATUS_PAGE_SINGLE_SIGN_ON_PROTOCOL_QUERY_PARAM = "protocol";
|
|
29
|
+
/*
|
|
30
|
+
* Where each protocol's page used to be, under a status page's own address,
|
|
31
|
+
* and the tab it is now. SAML's page ("sso") is the Single Sign-On page
|
|
32
|
+
* itself, so only OIDC's moved.
|
|
33
|
+
*/
|
|
34
|
+
exports.MOVED_SINGLE_SIGN_ON_PATHS = {
|
|
35
|
+
oidc: StatusPageSingleSignOnProtocol.OIDC,
|
|
36
|
+
};
|
|
37
|
+
// The protocol a value names, or null when it names none.
|
|
38
|
+
const readStatusPageSingleSignOnProtocol = (value) => {
|
|
39
|
+
if (typeof value !== "string") {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
const normalized = value.trim().toLowerCase();
|
|
43
|
+
for (const protocol of exports.STATUS_PAGE_SINGLE_SIGN_ON_PROTOCOLS) {
|
|
44
|
+
if (protocol === normalized) {
|
|
45
|
+
return protocol;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return null;
|
|
49
|
+
};
|
|
50
|
+
exports.readStatusPageSingleSignOnProtocol = readStatusPageSingleSignOnProtocol;
|
|
51
|
+
/*
|
|
52
|
+
* The query that opens the Single Sign-On page on a protocol's tab:
|
|
53
|
+
* { protocol: "oidc" }, and nothing for the first tab, whose address is
|
|
54
|
+
* the bare one - the address the page itself shows once that tab is open.
|
|
55
|
+
*/
|
|
56
|
+
const getStatusPageSingleSignOnProtocolQuery = (protocol) => {
|
|
57
|
+
if (protocol === exports.DEFAULT_STATUS_PAGE_SINGLE_SIGN_ON_PROTOCOL) {
|
|
58
|
+
return {};
|
|
59
|
+
}
|
|
60
|
+
return { [exports.STATUS_PAGE_SINGLE_SIGN_ON_PROTOCOL_QUERY_PARAM]: protocol };
|
|
61
|
+
};
|
|
62
|
+
exports.getStatusPageSingleSignOnProtocolQuery = getStatusPageSingleSignOnProtocolQuery;
|
|
63
|
+
exports.default = StatusPageSingleSignOnProtocol;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import commonJsModule from "./StatusPageSingleSignOnProtocol.js";
|
|
2
|
+
export default commonJsModule.default;
|
|
3
|
+
export const DEFAULT_STATUS_PAGE_SINGLE_SIGN_ON_PROTOCOL = commonJsModule.DEFAULT_STATUS_PAGE_SINGLE_SIGN_ON_PROTOCOL;
|
|
4
|
+
export const MOVED_SINGLE_SIGN_ON_PATHS = commonJsModule.MOVED_SINGLE_SIGN_ON_PATHS;
|
|
5
|
+
export const STATUS_PAGE_SINGLE_SIGN_ON_PROTOCOLS = commonJsModule.STATUS_PAGE_SINGLE_SIGN_ON_PROTOCOLS;
|
|
6
|
+
export const STATUS_PAGE_SINGLE_SIGN_ON_PROTOCOL_QUERY_PARAM = commonJsModule.STATUS_PAGE_SINGLE_SIGN_ON_PROTOCOL_QUERY_PARAM;
|
|
7
|
+
export const getStatusPageSingleSignOnProtocolQuery = commonJsModule.getStatusPageSingleSignOnProtocolQuery;
|
|
8
|
+
export const readStatusPageSingleSignOnProtocol = commonJsModule.readStatusPageSingleSignOnProtocol;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Dictionary from "../Dictionary.mjs";
|
|
2
|
+
import { StatusPageSubscriberUnsubscribeChannel } from "./StatusPageSubscriberUnsubscribe.mjs";
|
|
3
|
+
declare enum StatusPageSubscriberChannel {
|
|
4
|
+
Email = "email",
|
|
5
|
+
SMS = "sms",
|
|
6
|
+
Slack = "slack",
|
|
7
|
+
MicrosoftTeams = "microsoft-teams",
|
|
8
|
+
Webhook = "webhook"
|
|
9
|
+
}
|
|
10
|
+
export declare const STATUS_PAGE_SUBSCRIBER_CHANNELS: ReadonlyArray<StatusPageSubscriberChannel>;
|
|
11
|
+
export declare const DEFAULT_STATUS_PAGE_SUBSCRIBER_CHANNEL: StatusPageSubscriberChannel;
|
|
12
|
+
export declare const STATUS_PAGE_SUBSCRIBER_CHANNEL_QUERY_PARAM: string;
|
|
13
|
+
export declare const STATUS_PAGE_SUBSCRIBERS_PAGE_PATH: string;
|
|
14
|
+
export declare const MOVED_SUBSCRIBER_LIST_PATHS: Readonly<Record<string, StatusPageSubscriberChannel>>;
|
|
15
|
+
export declare const readStatusPageSubscriberChannel: (value: string | null | undefined) => StatusPageSubscriberChannel | null;
|
|
16
|
+
export declare const getStatusPageSubscriberChannelQuery: (channel: StatusPageSubscriberChannel) => Dictionary<string>;
|
|
17
|
+
export declare const getStatusPageSubscriberChannelForUnsubscribeChannel: (channel: StatusPageSubscriberUnsubscribeChannel) => StatusPageSubscriberChannel;
|
|
18
|
+
export default StatusPageSubscriberChannel;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Dictionary from "../Dictionary";
|
|
2
|
+
import { StatusPageSubscriberUnsubscribeChannel } from "./StatusPageSubscriberUnsubscribe";
|
|
3
|
+
declare enum StatusPageSubscriberChannel {
|
|
4
|
+
Email = "email",
|
|
5
|
+
SMS = "sms",
|
|
6
|
+
Slack = "slack",
|
|
7
|
+
MicrosoftTeams = "microsoft-teams",
|
|
8
|
+
Webhook = "webhook"
|
|
9
|
+
}
|
|
10
|
+
export declare const STATUS_PAGE_SUBSCRIBER_CHANNELS: ReadonlyArray<StatusPageSubscriberChannel>;
|
|
11
|
+
export declare const DEFAULT_STATUS_PAGE_SUBSCRIBER_CHANNEL: StatusPageSubscriberChannel;
|
|
12
|
+
export declare const STATUS_PAGE_SUBSCRIBER_CHANNEL_QUERY_PARAM: string;
|
|
13
|
+
export declare const STATUS_PAGE_SUBSCRIBERS_PAGE_PATH: string;
|
|
14
|
+
export declare const MOVED_SUBSCRIBER_LIST_PATHS: Readonly<Record<string, StatusPageSubscriberChannel>>;
|
|
15
|
+
export declare const readStatusPageSubscriberChannel: (value: string | null | undefined) => StatusPageSubscriberChannel | null;
|
|
16
|
+
export declare const getStatusPageSubscriberChannelQuery: (channel: StatusPageSubscriberChannel) => Dictionary<string>;
|
|
17
|
+
export declare const getStatusPageSubscriberChannelForUnsubscribeChannel: (channel: StatusPageSubscriberUnsubscribeChannel) => StatusPageSubscriberChannel;
|
|
18
|
+
export default StatusPageSubscriberChannel;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getStatusPageSubscriberChannelForUnsubscribeChannel = exports.getStatusPageSubscriberChannelQuery = exports.readStatusPageSubscriberChannel = exports.MOVED_SUBSCRIBER_LIST_PATHS = exports.STATUS_PAGE_SUBSCRIBERS_PAGE_PATH = exports.STATUS_PAGE_SUBSCRIBER_CHANNEL_QUERY_PARAM = exports.DEFAULT_STATUS_PAGE_SUBSCRIBER_CHANNEL = exports.STATUS_PAGE_SUBSCRIBER_CHANNELS = void 0;
|
|
4
|
+
const StatusPageSubscriberUnsubscribe_1 = require("./StatusPageSubscriberUnsubscribe");
|
|
5
|
+
/*
|
|
6
|
+
* The channels a status page's subscribers are reached on, as the
|
|
7
|
+
* dashboard's one Subscribers page names its tabs in the address
|
|
8
|
+
* (`…/status-pages/:id/subscribers?channel=sms`).
|
|
9
|
+
*
|
|
10
|
+
* Each channel was a page of its own until #9125 - Email Subscribers, SMS
|
|
11
|
+
* Subscribers, Slack Subscribers, Microsoft Teams Subscribers and Webhook
|
|
12
|
+
* Subscribers, five menu entries for one kind of record - and those
|
|
13
|
+
* addresses are still in bookmarks, wikis and the emails the server sent.
|
|
14
|
+
* They are named here, once, and the dashboard forwards each to its tab
|
|
15
|
+
* (MOVED_SUBSCRIBER_LIST_PATHS). Anything that links to a channel's list,
|
|
16
|
+
* the server's emails included, builds the address from this vocabulary.
|
|
17
|
+
*
|
|
18
|
+
* React-free and database-free, so the server, the dashboard and a test can
|
|
19
|
+
* all read it.
|
|
20
|
+
*/
|
|
21
|
+
var StatusPageSubscriberChannel;
|
|
22
|
+
(function (StatusPageSubscriberChannel) {
|
|
23
|
+
StatusPageSubscriberChannel["Email"] = "email";
|
|
24
|
+
StatusPageSubscriberChannel["SMS"] = "sms";
|
|
25
|
+
StatusPageSubscriberChannel["Slack"] = "slack";
|
|
26
|
+
StatusPageSubscriberChannel["MicrosoftTeams"] = "microsoft-teams";
|
|
27
|
+
StatusPageSubscriberChannel["Webhook"] = "webhook";
|
|
28
|
+
})(StatusPageSubscriberChannel || (StatusPageSubscriberChannel = {}));
|
|
29
|
+
// In tab order. The first is the tab a bare address opens.
|
|
30
|
+
exports.STATUS_PAGE_SUBSCRIBER_CHANNELS = [
|
|
31
|
+
StatusPageSubscriberChannel.Email,
|
|
32
|
+
StatusPageSubscriberChannel.SMS,
|
|
33
|
+
StatusPageSubscriberChannel.Slack,
|
|
34
|
+
StatusPageSubscriberChannel.MicrosoftTeams,
|
|
35
|
+
StatusPageSubscriberChannel.Webhook,
|
|
36
|
+
];
|
|
37
|
+
exports.DEFAULT_STATUS_PAGE_SUBSCRIBER_CHANNEL = StatusPageSubscriberChannel.Email;
|
|
38
|
+
// The query parameter that names the open tab.
|
|
39
|
+
exports.STATUS_PAGE_SUBSCRIBER_CHANNEL_QUERY_PARAM = "channel";
|
|
40
|
+
// The Subscribers page, under a status page's own address.
|
|
41
|
+
exports.STATUS_PAGE_SUBSCRIBERS_PAGE_PATH = "subscribers";
|
|
42
|
+
/*
|
|
43
|
+
* Where each channel's list used to be, under a status page's own address,
|
|
44
|
+
* and the tab it is now.
|
|
45
|
+
*/
|
|
46
|
+
exports.MOVED_SUBSCRIBER_LIST_PATHS = {
|
|
47
|
+
"email-subscribers": StatusPageSubscriberChannel.Email,
|
|
48
|
+
"sms-subscribers": StatusPageSubscriberChannel.SMS,
|
|
49
|
+
"slack-subscribers": StatusPageSubscriberChannel.Slack,
|
|
50
|
+
"microsoft-teams-subscribers": StatusPageSubscriberChannel.MicrosoftTeams,
|
|
51
|
+
"webhook-subscribers": StatusPageSubscriberChannel.Webhook,
|
|
52
|
+
};
|
|
53
|
+
// The channel a value names, or null when it names none.
|
|
54
|
+
const readStatusPageSubscriberChannel = (value) => {
|
|
55
|
+
if (typeof value !== "string") {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
const normalized = value.trim().toLowerCase();
|
|
59
|
+
for (const channel of exports.STATUS_PAGE_SUBSCRIBER_CHANNELS) {
|
|
60
|
+
if (channel === normalized) {
|
|
61
|
+
return channel;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
return null;
|
|
65
|
+
};
|
|
66
|
+
exports.readStatusPageSubscriberChannel = readStatusPageSubscriberChannel;
|
|
67
|
+
/*
|
|
68
|
+
* The query that opens the Subscribers page on a channel's tab:
|
|
69
|
+
* { channel: "sms" }, and nothing for the first tab, whose address is the
|
|
70
|
+
* bare one - the address the page itself shows once that tab is open.
|
|
71
|
+
*/
|
|
72
|
+
const getStatusPageSubscriberChannelQuery = (channel) => {
|
|
73
|
+
if (channel === exports.DEFAULT_STATUS_PAGE_SUBSCRIBER_CHANNEL) {
|
|
74
|
+
return {};
|
|
75
|
+
}
|
|
76
|
+
return { [exports.STATUS_PAGE_SUBSCRIBER_CHANNEL_QUERY_PARAM]: channel };
|
|
77
|
+
};
|
|
78
|
+
exports.getStatusPageSubscriberChannelQuery = getStatusPageSubscriberChannelQuery;
|
|
79
|
+
const CHANNEL_BY_UNSUBSCRIBE_CHANNEL = {
|
|
80
|
+
[StatusPageSubscriberUnsubscribe_1.StatusPageSubscriberUnsubscribeChannel.Email]: StatusPageSubscriberChannel.Email,
|
|
81
|
+
[StatusPageSubscriberUnsubscribe_1.StatusPageSubscriberUnsubscribeChannel.SMS]: StatusPageSubscriberChannel.SMS,
|
|
82
|
+
[StatusPageSubscriberUnsubscribe_1.StatusPageSubscriberUnsubscribeChannel.Slack]: StatusPageSubscriberChannel.Slack,
|
|
83
|
+
[StatusPageSubscriberUnsubscribe_1.StatusPageSubscriberUnsubscribeChannel.MicrosoftTeams]: StatusPageSubscriberChannel.MicrosoftTeams,
|
|
84
|
+
[StatusPageSubscriberUnsubscribe_1.StatusPageSubscriberUnsubscribeChannel.Webhook]: StatusPageSubscriberChannel.Webhook,
|
|
85
|
+
};
|
|
86
|
+
// The tab a subscriber's channel is on, as the server's emails name it.
|
|
87
|
+
const getStatusPageSubscriberChannelForUnsubscribeChannel = (channel) => {
|
|
88
|
+
return CHANNEL_BY_UNSUBSCRIBE_CHANNEL[channel];
|
|
89
|
+
};
|
|
90
|
+
exports.getStatusPageSubscriberChannelForUnsubscribeChannel = getStatusPageSubscriberChannelForUnsubscribeChannel;
|
|
91
|
+
exports.default = StatusPageSubscriberChannel;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import commonJsModule from "./StatusPageSubscriberChannel.js";
|
|
2
|
+
export default commonJsModule.default;
|
|
3
|
+
export const DEFAULT_STATUS_PAGE_SUBSCRIBER_CHANNEL = commonJsModule.DEFAULT_STATUS_PAGE_SUBSCRIBER_CHANNEL;
|
|
4
|
+
export const MOVED_SUBSCRIBER_LIST_PATHS = commonJsModule.MOVED_SUBSCRIBER_LIST_PATHS;
|
|
5
|
+
export const STATUS_PAGE_SUBSCRIBERS_PAGE_PATH = commonJsModule.STATUS_PAGE_SUBSCRIBERS_PAGE_PATH;
|
|
6
|
+
export const STATUS_PAGE_SUBSCRIBER_CHANNELS = commonJsModule.STATUS_PAGE_SUBSCRIBER_CHANNELS;
|
|
7
|
+
export const STATUS_PAGE_SUBSCRIBER_CHANNEL_QUERY_PARAM = commonJsModule.STATUS_PAGE_SUBSCRIBER_CHANNEL_QUERY_PARAM;
|
|
8
|
+
export const getStatusPageSubscriberChannelForUnsubscribeChannel = commonJsModule.getStatusPageSubscriberChannelForUnsubscribeChannel;
|
|
9
|
+
export const getStatusPageSubscriberChannelQuery = commonJsModule.getStatusPageSubscriberChannelQuery;
|
|
10
|
+
export const readStatusPageSubscriberChannel = commonJsModule.readStatusPageSubscriberChannel;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { JSONObject } from "../JSON.mjs";
|
|
2
|
+
import ObjectID from "../ObjectID.mjs";
|
|
3
|
+
export declare const INVITATION_EMAILS_NOT_SENT_ROUTE: string;
|
|
4
|
+
export declare const MAX_PEOPLE_PER_INVITATION_EMAILS_READ: number;
|
|
5
|
+
export interface InvitationEmailNotSent {
|
|
6
|
+
userId: string;
|
|
7
|
+
statusMessage: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function readInvitationEmailsNotSentRequest(body: unknown): Array<ObjectID>;
|
|
10
|
+
export declare function toInvitationEmailsNotSentRequestJSON(userIds: ReadonlyArray<string>): JSONObject;
|
|
11
|
+
export declare function toInvitationEmailsNotSentAnswerJSON(people: ReadonlyArray<InvitationEmailNotSent>): JSONObject;
|
|
12
|
+
export declare function readInvitationEmailsNotSentAnswer(data: unknown): Array<InvitationEmailNotSent>;
|
|
13
|
+
export declare const INVITATION_EMAILS_NOT_SENT_IN_PROJECTS_ROUTE: string;
|
|
14
|
+
export interface ProjectInvitee {
|
|
15
|
+
projectId: string;
|
|
16
|
+
userId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface ProjectInvitationEmailNotSent extends ProjectInvitee {
|
|
19
|
+
statusMessage: string;
|
|
20
|
+
}
|
|
21
|
+
export declare function getProjectInviteeKey(invitee: ProjectInvitee): string;
|
|
22
|
+
export declare function readInvitationEmailsNotSentInProjectsRequest(body: unknown): Array<{
|
|
23
|
+
projectId: ObjectID;
|
|
24
|
+
userId: ObjectID;
|
|
25
|
+
}>;
|
|
26
|
+
export declare function toInvitationEmailsNotSentInProjectsRequestJSON(invitees: ReadonlyArray<ProjectInvitee>): JSONObject;
|
|
27
|
+
export declare function toInvitationEmailsNotSentInProjectsAnswerJSON(invitees: ReadonlyArray<ProjectInvitationEmailNotSent>): JSONObject;
|
|
28
|
+
export declare function readInvitationEmailsNotSentInProjectsAnswer(data: unknown): Array<ProjectInvitationEmailNotSent>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { JSONObject } from "../JSON";
|
|
2
|
+
import ObjectID from "../ObjectID";
|
|
3
|
+
export declare const INVITATION_EMAILS_NOT_SENT_ROUTE: string;
|
|
4
|
+
export declare const MAX_PEOPLE_PER_INVITATION_EMAILS_READ: number;
|
|
5
|
+
export interface InvitationEmailNotSent {
|
|
6
|
+
userId: string;
|
|
7
|
+
statusMessage: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function readInvitationEmailsNotSentRequest(body: unknown): Array<ObjectID>;
|
|
10
|
+
export declare function toInvitationEmailsNotSentRequestJSON(userIds: ReadonlyArray<string>): JSONObject;
|
|
11
|
+
export declare function toInvitationEmailsNotSentAnswerJSON(people: ReadonlyArray<InvitationEmailNotSent>): JSONObject;
|
|
12
|
+
export declare function readInvitationEmailsNotSentAnswer(data: unknown): Array<InvitationEmailNotSent>;
|
|
13
|
+
export declare const INVITATION_EMAILS_NOT_SENT_IN_PROJECTS_ROUTE: string;
|
|
14
|
+
export interface ProjectInvitee {
|
|
15
|
+
projectId: string;
|
|
16
|
+
userId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface ProjectInvitationEmailNotSent extends ProjectInvitee {
|
|
19
|
+
statusMessage: string;
|
|
20
|
+
}
|
|
21
|
+
export declare function getProjectInviteeKey(invitee: ProjectInvitee): string;
|
|
22
|
+
export declare function readInvitationEmailsNotSentInProjectsRequest(body: unknown): Array<{
|
|
23
|
+
projectId: ObjectID;
|
|
24
|
+
userId: ObjectID;
|
|
25
|
+
}>;
|
|
26
|
+
export declare function toInvitationEmailsNotSentInProjectsRequestJSON(invitees: ReadonlyArray<ProjectInvitee>): JSONObject;
|
|
27
|
+
export declare function toInvitationEmailsNotSentInProjectsAnswerJSON(invitees: ReadonlyArray<ProjectInvitationEmailNotSent>): JSONObject;
|
|
28
|
+
export declare function readInvitationEmailsNotSentInProjectsAnswer(data: unknown): Array<ProjectInvitationEmailNotSent>;
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.INVITATION_EMAILS_NOT_SENT_IN_PROJECTS_ROUTE = exports.MAX_PEOPLE_PER_INVITATION_EMAILS_READ = exports.INVITATION_EMAILS_NOT_SENT_ROUTE = void 0;
|
|
7
|
+
exports.readInvitationEmailsNotSentRequest = readInvitationEmailsNotSentRequest;
|
|
8
|
+
exports.toInvitationEmailsNotSentRequestJSON = toInvitationEmailsNotSentRequestJSON;
|
|
9
|
+
exports.toInvitationEmailsNotSentAnswerJSON = toInvitationEmailsNotSentAnswerJSON;
|
|
10
|
+
exports.readInvitationEmailsNotSentAnswer = readInvitationEmailsNotSentAnswer;
|
|
11
|
+
exports.getProjectInviteeKey = getProjectInviteeKey;
|
|
12
|
+
exports.readInvitationEmailsNotSentInProjectsRequest = readInvitationEmailsNotSentInProjectsRequest;
|
|
13
|
+
exports.toInvitationEmailsNotSentInProjectsRequestJSON = toInvitationEmailsNotSentInProjectsRequestJSON;
|
|
14
|
+
exports.toInvitationEmailsNotSentInProjectsAnswerJSON = toInvitationEmailsNotSentInProjectsAnswerJSON;
|
|
15
|
+
exports.readInvitationEmailsNotSentInProjectsAnswer = readInvitationEmailsNotSentInProjectsAnswer;
|
|
16
|
+
const BadDataException_1 = __importDefault(require("../Exception/BadDataException"));
|
|
17
|
+
const ObjectID_1 = __importDefault(require("../ObjectID"));
|
|
18
|
+
/*
|
|
19
|
+
* WHOSE INVITATION EMAIL WAS NOT SENT, ON A PAGE OF PEOPLE (#9511).
|
|
20
|
+
*
|
|
21
|
+
* On a server that can send email, the Users list showed every pending
|
|
22
|
+
* invitation as Invitation Sent, even one whose email the mail service
|
|
23
|
+
* refused - a wrong SMTP password, a full quota, an address the provider
|
|
24
|
+
* rejected - so nothing reached the person, and the person who invited them
|
|
25
|
+
* waited for an answer that would not come. The failure was in the
|
|
26
|
+
* project's Email Logs all along. Now the lists ask the server about the
|
|
27
|
+
* pending people they show (POST /team-member/invitation-emails-not-sent),
|
|
28
|
+
* and say Email Not Sent for each one whose latest invitation email failed,
|
|
29
|
+
* with the mail service's answer as the Email Log words it.
|
|
30
|
+
*
|
|
31
|
+
* The server reads the project's Email Logs with the caller's own
|
|
32
|
+
* permissions, so nobody is told a failure, or its reason, that they could
|
|
33
|
+
* not read under Notification Logs > Email: a caller who may not read them
|
|
34
|
+
* is answered with nobody. One read per page of people, never one per row.
|
|
35
|
+
*
|
|
36
|
+
* This module is the request and the answer, read the same way on both
|
|
37
|
+
* sides. React-free and server-free.
|
|
38
|
+
*/
|
|
39
|
+
// Where the Dashboard asks, under the API (the team member route's own path).
|
|
40
|
+
exports.INVITATION_EMAILS_NOT_SENT_ROUTE = "/team-member/invitation-emails-not-sent";
|
|
41
|
+
// The most people one ask may name: a list's largest page.
|
|
42
|
+
exports.MAX_PEOPLE_PER_INVITATION_EMAILS_READ = 100;
|
|
43
|
+
// A user id as both sides compare it.
|
|
44
|
+
const toUserIdText = (userId) => {
|
|
45
|
+
return userId.trim().toLowerCase();
|
|
46
|
+
};
|
|
47
|
+
/*
|
|
48
|
+
* The people asked about, as the server takes them: their user ids, each
|
|
49
|
+
* once, at most MAX_PEOPLE_PER_INVITATION_EMAILS_READ. Anything else is
|
|
50
|
+
* refused rather than guessed at.
|
|
51
|
+
*/
|
|
52
|
+
function readInvitationEmailsNotSentRequest(body) {
|
|
53
|
+
const userIds = body && typeof body === "object" && !Array.isArray(body)
|
|
54
|
+
? body["userIds"]
|
|
55
|
+
: undefined;
|
|
56
|
+
if (!Array.isArray(userIds) ||
|
|
57
|
+
userIds.some((userId) => {
|
|
58
|
+
return typeof userId !== "string" || !ObjectID_1.default.isValidUUID(userId);
|
|
59
|
+
})) {
|
|
60
|
+
throw new BadDataException_1.default("Name the people to ask about by user ID.");
|
|
61
|
+
}
|
|
62
|
+
const unique = Array.from(new Set(userIds.map(toUserIdText)));
|
|
63
|
+
if (unique.length > exports.MAX_PEOPLE_PER_INVITATION_EMAILS_READ) {
|
|
64
|
+
throw new BadDataException_1.default(`Ask about at most ${exports.MAX_PEOPLE_PER_INVITATION_EMAILS_READ} people at a time.`);
|
|
65
|
+
}
|
|
66
|
+
return unique.map((userId) => {
|
|
67
|
+
return new ObjectID_1.default(userId);
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
// The request, as the Dashboard sends it: each person once, at most a page.
|
|
71
|
+
function toInvitationEmailsNotSentRequestJSON(userIds) {
|
|
72
|
+
return {
|
|
73
|
+
userIds: Array.from(new Set(userIds.map(toUserIdText).filter((userId) => {
|
|
74
|
+
return Boolean(userId);
|
|
75
|
+
}))).slice(0, exports.MAX_PEOPLE_PER_INVITATION_EMAILS_READ),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
// The answer, as the route sends it.
|
|
79
|
+
function toInvitationEmailsNotSentAnswerJSON(people) {
|
|
80
|
+
return {
|
|
81
|
+
people: people.map((person) => {
|
|
82
|
+
return {
|
|
83
|
+
userId: toUserIdText(person.userId),
|
|
84
|
+
statusMessage: person.statusMessage,
|
|
85
|
+
};
|
|
86
|
+
}),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
/*
|
|
90
|
+
* The answer, as the Dashboard reads it: a person with no id is dropped,
|
|
91
|
+
* each person once, and a reason that is not text reads as none.
|
|
92
|
+
*/
|
|
93
|
+
function readInvitationEmailsNotSentAnswer(data) {
|
|
94
|
+
const json = data && typeof data === "object" && !Array.isArray(data)
|
|
95
|
+
? data
|
|
96
|
+
: {};
|
|
97
|
+
const people = json["people"];
|
|
98
|
+
if (!Array.isArray(people)) {
|
|
99
|
+
return [];
|
|
100
|
+
}
|
|
101
|
+
const seen = new Set();
|
|
102
|
+
const answer = [];
|
|
103
|
+
for (const entry of people) {
|
|
104
|
+
if (!entry || typeof entry !== "object" || Array.isArray(entry)) {
|
|
105
|
+
continue;
|
|
106
|
+
}
|
|
107
|
+
const person = entry;
|
|
108
|
+
const userId = typeof person["userId"] === "string"
|
|
109
|
+
? toUserIdText(person["userId"])
|
|
110
|
+
: "";
|
|
111
|
+
if (!userId || seen.has(userId)) {
|
|
112
|
+
continue;
|
|
113
|
+
}
|
|
114
|
+
seen.add(userId);
|
|
115
|
+
answer.push({
|
|
116
|
+
userId: userId,
|
|
117
|
+
statusMessage: typeof person["statusMessage"] === "string"
|
|
118
|
+
? person["statusMessage"].trim()
|
|
119
|
+
: "",
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
return answer;
|
|
123
|
+
}
|
|
124
|
+
/*
|
|
125
|
+
* THE SAME, ACROSS PROJECTS, FOR A MASTER ADMIN (#9518).
|
|
126
|
+
*
|
|
127
|
+
* The Admin Dashboard lists a project's people too - a project's Users,
|
|
128
|
+
* one of its teams, one of its people - and a person's projects (Users > a
|
|
129
|
+
* person > Projects), and every one of them said Invitation Sent for a
|
|
130
|
+
* pending invitation whose email the mail service refused. It works in no
|
|
131
|
+
* project, and a person's projects are many, so it names each pending
|
|
132
|
+
* row's person with the row's project (POST /team-member/invitation-emails-
|
|
133
|
+
* not-sent-in-projects), and the server reads those projects' Email Logs,
|
|
134
|
+
* as master admins may (master admins only). The same rule decides: a
|
|
135
|
+
* person's latest invitation email to that project. One read per page,
|
|
136
|
+
* never one per row.
|
|
137
|
+
*/
|
|
138
|
+
// Where the Admin Dashboard asks, under the API.
|
|
139
|
+
exports.INVITATION_EMAILS_NOT_SENT_IN_PROJECTS_ROUTE = "/team-member/invitation-emails-not-sent-in-projects";
|
|
140
|
+
// A project invitee as both sides compare them: "<project id>/<user id>".
|
|
141
|
+
function getProjectInviteeKey(invitee) {
|
|
142
|
+
return `${toUserIdText(invitee.projectId)}/${toUserIdText(invitee.userId)}`;
|
|
143
|
+
}
|
|
144
|
+
/*
|
|
145
|
+
* The invitees asked about, as the server takes them: a project and a
|
|
146
|
+
* person each, each pair once, at most MAX_PEOPLE_PER_INVITATION_EMAILS_READ.
|
|
147
|
+
* Anything else is refused rather than guessed at.
|
|
148
|
+
*/
|
|
149
|
+
function readInvitationEmailsNotSentInProjectsRequest(body) {
|
|
150
|
+
const invitees = body && typeof body === "object" && !Array.isArray(body)
|
|
151
|
+
? body["invitees"]
|
|
152
|
+
: undefined;
|
|
153
|
+
const isInvitee = (entry) => {
|
|
154
|
+
if (!entry || typeof entry !== "object" || Array.isArray(entry)) {
|
|
155
|
+
return false;
|
|
156
|
+
}
|
|
157
|
+
const projectId = entry["projectId"];
|
|
158
|
+
const userId = entry["userId"];
|
|
159
|
+
return (typeof projectId === "string" &&
|
|
160
|
+
ObjectID_1.default.isValidUUID(projectId) &&
|
|
161
|
+
typeof userId === "string" &&
|
|
162
|
+
ObjectID_1.default.isValidUUID(userId));
|
|
163
|
+
};
|
|
164
|
+
if (!Array.isArray(invitees) || !invitees.every(isInvitee)) {
|
|
165
|
+
throw new BadDataException_1.default("Name the people to ask about by project ID and user ID.");
|
|
166
|
+
}
|
|
167
|
+
const unique = new Map();
|
|
168
|
+
for (const entry of invitees) {
|
|
169
|
+
const invitee = {
|
|
170
|
+
projectId: toUserIdText(entry["projectId"]),
|
|
171
|
+
userId: toUserIdText(entry["userId"]),
|
|
172
|
+
};
|
|
173
|
+
unique.set(getProjectInviteeKey(invitee), invitee);
|
|
174
|
+
}
|
|
175
|
+
if (unique.size > exports.MAX_PEOPLE_PER_INVITATION_EMAILS_READ) {
|
|
176
|
+
throw new BadDataException_1.default(`Ask about at most ${exports.MAX_PEOPLE_PER_INVITATION_EMAILS_READ} people at a time.`);
|
|
177
|
+
}
|
|
178
|
+
return Array.from(unique.values()).map((invitee) => {
|
|
179
|
+
return {
|
|
180
|
+
projectId: new ObjectID_1.default(invitee.projectId),
|
|
181
|
+
userId: new ObjectID_1.default(invitee.userId),
|
|
182
|
+
};
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
// The request, as the Admin Dashboard sends it: each invitee once, at most a page.
|
|
186
|
+
function toInvitationEmailsNotSentInProjectsRequestJSON(invitees) {
|
|
187
|
+
const unique = new Map();
|
|
188
|
+
for (const invitee of invitees) {
|
|
189
|
+
const projectId = toUserIdText(invitee.projectId);
|
|
190
|
+
const userId = toUserIdText(invitee.userId);
|
|
191
|
+
if (!projectId || !userId) {
|
|
192
|
+
continue;
|
|
193
|
+
}
|
|
194
|
+
unique.set(getProjectInviteeKey(invitee), {
|
|
195
|
+
projectId: projectId,
|
|
196
|
+
userId: userId,
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
return {
|
|
200
|
+
invitees: Array.from(unique.values()).slice(0, exports.MAX_PEOPLE_PER_INVITATION_EMAILS_READ),
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
// The answer, as the route sends it.
|
|
204
|
+
function toInvitationEmailsNotSentInProjectsAnswerJSON(invitees) {
|
|
205
|
+
return {
|
|
206
|
+
invitees: invitees.map((invitee) => {
|
|
207
|
+
return {
|
|
208
|
+
projectId: toUserIdText(invitee.projectId),
|
|
209
|
+
userId: toUserIdText(invitee.userId),
|
|
210
|
+
statusMessage: invitee.statusMessage,
|
|
211
|
+
};
|
|
212
|
+
}),
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
/*
|
|
216
|
+
* The answer, as the Admin Dashboard reads it: an invitee with no project
|
|
217
|
+
* or no person is dropped, each pair once, and a reason that is not text
|
|
218
|
+
* reads as none.
|
|
219
|
+
*/
|
|
220
|
+
function readInvitationEmailsNotSentInProjectsAnswer(data) {
|
|
221
|
+
const json = data && typeof data === "object" && !Array.isArray(data)
|
|
222
|
+
? data
|
|
223
|
+
: {};
|
|
224
|
+
const invitees = json["invitees"];
|
|
225
|
+
if (!Array.isArray(invitees)) {
|
|
226
|
+
return [];
|
|
227
|
+
}
|
|
228
|
+
const seen = new Set();
|
|
229
|
+
const answer = [];
|
|
230
|
+
for (const entry of invitees) {
|
|
231
|
+
if (!entry || typeof entry !== "object" || Array.isArray(entry)) {
|
|
232
|
+
continue;
|
|
233
|
+
}
|
|
234
|
+
const invitee = entry;
|
|
235
|
+
const projectId = typeof invitee["projectId"] === "string"
|
|
236
|
+
? toUserIdText(invitee["projectId"])
|
|
237
|
+
: "";
|
|
238
|
+
const userId = typeof invitee["userId"] === "string"
|
|
239
|
+
? toUserIdText(invitee["userId"])
|
|
240
|
+
: "";
|
|
241
|
+
if (!projectId || !userId) {
|
|
242
|
+
continue;
|
|
243
|
+
}
|
|
244
|
+
const key = getProjectInviteeKey({
|
|
245
|
+
projectId: projectId,
|
|
246
|
+
userId: userId,
|
|
247
|
+
});
|
|
248
|
+
if (seen.has(key)) {
|
|
249
|
+
continue;
|
|
250
|
+
}
|
|
251
|
+
seen.add(key);
|
|
252
|
+
answer.push({
|
|
253
|
+
projectId: projectId,
|
|
254
|
+
userId: userId,
|
|
255
|
+
statusMessage: typeof invitee["statusMessage"] === "string"
|
|
256
|
+
? invitee["statusMessage"].trim()
|
|
257
|
+
: "",
|
|
258
|
+
});
|
|
259
|
+
}
|
|
260
|
+
return answer;
|
|
261
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import commonJsModule from "./InvitationEmailsNotSent.js";
|
|
2
|
+
export const INVITATION_EMAILS_NOT_SENT_IN_PROJECTS_ROUTE = commonJsModule.INVITATION_EMAILS_NOT_SENT_IN_PROJECTS_ROUTE;
|
|
3
|
+
export const INVITATION_EMAILS_NOT_SENT_ROUTE = commonJsModule.INVITATION_EMAILS_NOT_SENT_ROUTE;
|
|
4
|
+
export const MAX_PEOPLE_PER_INVITATION_EMAILS_READ = commonJsModule.MAX_PEOPLE_PER_INVITATION_EMAILS_READ;
|
|
5
|
+
export const getProjectInviteeKey = commonJsModule.getProjectInviteeKey;
|
|
6
|
+
export const readInvitationEmailsNotSentAnswer = commonJsModule.readInvitationEmailsNotSentAnswer;
|
|
7
|
+
export const readInvitationEmailsNotSentInProjectsAnswer = commonJsModule.readInvitationEmailsNotSentInProjectsAnswer;
|
|
8
|
+
export const readInvitationEmailsNotSentInProjectsRequest = commonJsModule.readInvitationEmailsNotSentInProjectsRequest;
|
|
9
|
+
export const readInvitationEmailsNotSentRequest = commonJsModule.readInvitationEmailsNotSentRequest;
|
|
10
|
+
export const toInvitationEmailsNotSentAnswerJSON = commonJsModule.toInvitationEmailsNotSentAnswerJSON;
|
|
11
|
+
export const toInvitationEmailsNotSentInProjectsAnswerJSON = commonJsModule.toInvitationEmailsNotSentInProjectsAnswerJSON;
|
|
12
|
+
export const toInvitationEmailsNotSentInProjectsRequestJSON = commonJsModule.toInvitationEmailsNotSentInProjectsRequestJSON;
|
|
13
|
+
export const toInvitationEmailsNotSentRequestJSON = commonJsModule.toInvitationEmailsNotSentRequestJSON;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { JSONObject } from "../JSON.mjs";
|
|
2
|
+
export declare const PROJECT_MEMBER_SEARCH_ROUTE: string;
|
|
3
|
+
export declare const PROJECT_MEMBER_SEARCH_MIN_LENGTH: number;
|
|
4
|
+
export declare const PROJECT_MEMBER_SEARCH_MAX_LENGTH: number;
|
|
5
|
+
export declare const PROJECT_MEMBER_SEARCH_LIMIT: number;
|
|
6
|
+
export interface ProjectMemberSearchMatch {
|
|
7
|
+
userId: string;
|
|
8
|
+
name: string;
|
|
9
|
+
email?: string | undefined;
|
|
10
|
+
}
|
|
11
|
+
export declare function readProjectMemberSearchText(body: unknown): string;
|
|
12
|
+
export declare function toProjectMemberSearchAnswerJSON(matches: ReadonlyArray<ProjectMemberSearchMatch>): JSONObject;
|
|
13
|
+
export declare function readProjectMemberSearchAnswer(data: unknown): Array<ProjectMemberSearchMatch>;
|
|
14
|
+
export declare function getProjectMemberMatchRank(match: ProjectMemberSearchMatch, text: string): number;
|
|
15
|
+
export declare function rankProjectMemberMatches(matches: ReadonlyArray<ProjectMemberSearchMatch>, text: string): Array<ProjectMemberSearchMatch>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { JSONObject } from "../JSON";
|
|
2
|
+
export declare const PROJECT_MEMBER_SEARCH_ROUTE: string;
|
|
3
|
+
export declare const PROJECT_MEMBER_SEARCH_MIN_LENGTH: number;
|
|
4
|
+
export declare const PROJECT_MEMBER_SEARCH_MAX_LENGTH: number;
|
|
5
|
+
export declare const PROJECT_MEMBER_SEARCH_LIMIT: number;
|
|
6
|
+
export interface ProjectMemberSearchMatch {
|
|
7
|
+
userId: string;
|
|
8
|
+
name: string;
|
|
9
|
+
email?: string | undefined;
|
|
10
|
+
}
|
|
11
|
+
export declare function readProjectMemberSearchText(body: unknown): string;
|
|
12
|
+
export declare function toProjectMemberSearchAnswerJSON(matches: ReadonlyArray<ProjectMemberSearchMatch>): JSONObject;
|
|
13
|
+
export declare function readProjectMemberSearchAnswer(data: unknown): Array<ProjectMemberSearchMatch>;
|
|
14
|
+
export declare function getProjectMemberMatchRank(match: ProjectMemberSearchMatch, text: string): number;
|
|
15
|
+
export declare function rankProjectMemberMatches(matches: ReadonlyArray<ProjectMemberSearchMatch>, text: string): Array<ProjectMemberSearchMatch>;
|