@oneuptime/common 16.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/AlertSeverity.js +12 -3
- 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/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 +128 -0
- 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/Monitor.js +18 -0
- package/Models/DatabaseModels/NetworkDevice.d.mts +1 -0
- package/Models/DatabaseModels/NetworkDevice.d.ts +1 -0
- package/Models/DatabaseModels/NetworkDevice.js +49 -0
- package/Models/DatabaseModels/NetworkDeviceAutoImportRule.js +2 -2
- 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/Probe.d.mts +4 -0
- package/Models/DatabaseModels/Probe.d.ts +4 -0
- package/Models/DatabaseModels/Probe.js +100 -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/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/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/StatusPageGroup.js +1 -1
- package/Models/DatabaseModels/StatusPageResource.js +1 -1
- package/Models/DatabaseModels/TelemetryException.js +15 -2
- package/Models/DatabaseModels/TelemetryIngestionKey.js +10 -0
- 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/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 +6 -0
- package/Server/Services/DatabaseService.d.ts +6 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +1 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +1 -0
- package/Types/AI/AIActionWords.js +1 -0
- 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/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/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/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/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/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/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/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 +6 -0
- package/Types/ServerSending/ServerSendingStatus.d.ts +6 -0
- package/Types/ServerSending/ServerSendingStatus.js +23 -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 +270 -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/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/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/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/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 +9 -4
- 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/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/MonitorMetricType.js +11 -1
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +21 -3
- 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/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/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/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/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/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,5 @@
|
|
|
1
|
+
import commonJsModule from "./ProductRecordTables.js";
|
|
2
|
+
export const PRODUCT_RECORD_TABLES = commonJsModule.PRODUCT_RECORD_TABLES;
|
|
3
|
+
export const TABLES_OF_NO_PRODUCT = commonJsModule.TABLES_OF_NO_PRODUCT;
|
|
4
|
+
export const getOffProductOfRecordTable = commonJsModule.getOffProductOfRecordTable;
|
|
5
|
+
export const getProductsOfRecordTable = commonJsModule.getProductsOfRecordTable;
|
|
@@ -8,6 +8,8 @@ export declare enum ProductUsage {
|
|
|
8
8
|
export declare const isProductUsage: (value: unknown) => value is ProductUsage;
|
|
9
9
|
export declare const PRODUCT_USAGE_MILESTONES: Readonly<Partial<Record<ProductKey, ReadonlyArray<ActivationMilestone>>>>;
|
|
10
10
|
export declare const PRODUCTS_USED_BY_RECORDS: ReadonlyArray<ProductKey>;
|
|
11
|
+
export declare const PRODUCT_USAGE_TABLES: Readonly<Record<string, ReadonlyArray<ProductKey>>>;
|
|
12
|
+
export declare const getProductsCountingTable: (tableName: string | null | undefined) => ReadonlyArray<ProductKey>;
|
|
11
13
|
export declare const PRODUCTS_WITHOUT_SET_UP: ReadonlyArray<ProductKey>;
|
|
12
14
|
export declare const PRODUCTS_WITH_KNOWN_USAGE: ReadonlyArray<ProductKey>;
|
|
13
15
|
export declare const toProductUsage: (data: {
|
|
@@ -8,6 +8,8 @@ export declare enum ProductUsage {
|
|
|
8
8
|
export declare const isProductUsage: (value: unknown) => value is ProductUsage;
|
|
9
9
|
export declare const PRODUCT_USAGE_MILESTONES: Readonly<Partial<Record<ProductKey, ReadonlyArray<ActivationMilestone>>>>;
|
|
10
10
|
export declare const PRODUCTS_USED_BY_RECORDS: ReadonlyArray<ProductKey>;
|
|
11
|
+
export declare const PRODUCT_USAGE_TABLES: Readonly<Record<string, ReadonlyArray<ProductKey>>>;
|
|
12
|
+
export declare const getProductsCountingTable: (tableName: string | null | undefined) => ReadonlyArray<ProductKey>;
|
|
11
13
|
export declare const PRODUCTS_WITHOUT_SET_UP: ReadonlyArray<ProductKey>;
|
|
12
14
|
export declare const PRODUCTS_WITH_KNOWN_USAGE: ReadonlyArray<ProductKey>;
|
|
13
15
|
export declare const toProductUsage: (data: {
|
|
@@ -36,7 +36,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.getProductsInUse = exports.isUsedByMilestones = exports.toProductUsage = exports.PRODUCTS_WITH_KNOWN_USAGE = exports.PRODUCTS_WITHOUT_SET_UP = exports.PRODUCTS_USED_BY_RECORDS = exports.PRODUCT_USAGE_MILESTONES = exports.isProductUsage = exports.ProductUsage = void 0;
|
|
39
|
+
exports.getProductsInUse = exports.isUsedByMilestones = exports.toProductUsage = exports.PRODUCTS_WITH_KNOWN_USAGE = exports.PRODUCTS_WITHOUT_SET_UP = exports.getProductsCountingTable = exports.PRODUCT_USAGE_TABLES = exports.PRODUCTS_USED_BY_RECORDS = exports.PRODUCT_USAGE_MILESTONES = exports.isProductUsage = exports.ProductUsage = void 0;
|
|
40
40
|
const ProductKey_1 = __importStar(require("./ProductKey"));
|
|
41
41
|
const ActivationMilestone_1 = __importDefault(require("../Analytics/ActivationMilestone"));
|
|
42
42
|
/*
|
|
@@ -53,13 +53,16 @@ const ActivationMilestone_1 = __importDefault(require("../Analytics/ActivationMi
|
|
|
53
53
|
*
|
|
54
54
|
* - its records exist (a monitor, a status page, a host, a dashboard -
|
|
55
55
|
* archived ones too), for the products in PRODUCTS_USED_BY_RECORDS;
|
|
56
|
+
* a few count only the records their first page counts (#7325): the
|
|
57
|
+
* inventory's items, App Platforms' environments, the databases and
|
|
58
|
+
* buckets Data Observability watches, the data stores Data Security
|
|
59
|
+
* scans - none archived - and the sources Security Events reads, on;
|
|
56
60
|
* - its first data arrived, by the project's activation milestones
|
|
57
|
-
* (#6830), for the telemetry products in PRODUCT_USAGE_MILESTONES
|
|
61
|
+
* (#6830), for the telemetry products in PRODUCT_USAGE_MILESTONES - and
|
|
62
|
+
* AI / LLM, once its first AI call arrived.
|
|
58
63
|
*
|
|
59
|
-
* The others - Chat
|
|
60
|
-
*
|
|
61
|
-
* cheap question says whether they are in use, and no mark is better than a
|
|
62
|
-
* wrong one.
|
|
64
|
+
* The others - Chat and Settings - are not answered: there is nothing to
|
|
65
|
+
* set up in them, and no mark is better than a wrong one.
|
|
63
66
|
*
|
|
64
67
|
* Pure: the server, the Dashboard and their tests read it.
|
|
65
68
|
*/
|
|
@@ -90,6 +93,8 @@ exports.PRODUCT_USAGE_MILESTONES = {
|
|
|
90
93
|
[ProductKey_1.default.Exceptions]: [ActivationMilestone_1.default.FirstExceptionsReceived],
|
|
91
94
|
// The map of services is drawn from their traces.
|
|
92
95
|
[ProductKey_1.default.Topology]: [ActivationMilestone_1.default.FirstTracesReceived],
|
|
96
|
+
// Conversations lists the AI calls apps and AI tools send.
|
|
97
|
+
[ProductKey_1.default.Llm]: [ActivationMilestone_1.default.FirstLlmCallsReceived],
|
|
93
98
|
};
|
|
94
99
|
/*
|
|
95
100
|
* The products in use once one of their records exists. The server says
|
|
@@ -128,7 +133,37 @@ exports.PRODUCTS_USED_BY_RECORDS = [
|
|
|
128
133
|
ProductKey_1.default.Workflows,
|
|
129
134
|
ProductKey_1.default.Runbooks,
|
|
130
135
|
ProductKey_1.default.Forms,
|
|
136
|
+
// Counted by some of their records only (ProjectProductsService).
|
|
137
|
+
ProductKey_1.default.DataObservability,
|
|
138
|
+
ProductKey_1.default.SecurityEvents,
|
|
139
|
+
ProductKey_1.default.DataSecurity,
|
|
140
|
+
ProductKey_1.default.Inventory,
|
|
141
|
+
ProductKey_1.default.AppPlatforms,
|
|
131
142
|
];
|
|
143
|
+
/*
|
|
144
|
+
* The tables beside the products' main records (ProductOfTable) whose
|
|
145
|
+
* records a product counts to say it is in use (#7325) - the records its
|
|
146
|
+
* first page counts. A first one created, or the last one deleted, changes
|
|
147
|
+
* what the project uses (ProjectUsageCache). ProjectProductsService holds
|
|
148
|
+
* the exact rule of each, which a test holds this to.
|
|
149
|
+
*/
|
|
150
|
+
exports.PRODUCT_USAGE_TABLES = {
|
|
151
|
+
InventoryItem: [ProductKey_1.default.Inventory],
|
|
152
|
+
CloudResource: [ProductKey_1.default.AppPlatforms],
|
|
153
|
+
DataStore: [ProductKey_1.default.DataObservability, ProductKey_1.default.DataSecurity],
|
|
154
|
+
SecurityEventConnection: [ProductKey_1.default.SecurityEvents],
|
|
155
|
+
SecurityLogSource: [ProductKey_1.default.SecurityEvents],
|
|
156
|
+
SecurityTelemetrySource: [ProductKey_1.default.SecurityEvents],
|
|
157
|
+
};
|
|
158
|
+
// The products a table's records count for, beside its main record's.
|
|
159
|
+
const getProductsCountingTable = (tableName) => {
|
|
160
|
+
if (!tableName ||
|
|
161
|
+
!Object.prototype.hasOwnProperty.call(exports.PRODUCT_USAGE_TABLES, tableName)) {
|
|
162
|
+
return [];
|
|
163
|
+
}
|
|
164
|
+
return exports.PRODUCT_USAGE_TABLES[tableName] || [];
|
|
165
|
+
};
|
|
166
|
+
exports.getProductsCountingTable = getProductsCountingTable;
|
|
132
167
|
/*
|
|
133
168
|
* The products with nothing to set up, where having nothing is no step left
|
|
134
169
|
* undone: what happens to a project (incidents, alerts, maintenance windows)
|
|
@@ -3,7 +3,9 @@ export const PRODUCTS_USED_BY_RECORDS = commonJsModule.PRODUCTS_USED_BY_RECORDS;
|
|
|
3
3
|
export const PRODUCTS_WITHOUT_SET_UP = commonJsModule.PRODUCTS_WITHOUT_SET_UP;
|
|
4
4
|
export const PRODUCTS_WITH_KNOWN_USAGE = commonJsModule.PRODUCTS_WITH_KNOWN_USAGE;
|
|
5
5
|
export const PRODUCT_USAGE_MILESTONES = commonJsModule.PRODUCT_USAGE_MILESTONES;
|
|
6
|
+
export const PRODUCT_USAGE_TABLES = commonJsModule.PRODUCT_USAGE_TABLES;
|
|
6
7
|
export const ProductUsage = commonJsModule.ProductUsage;
|
|
8
|
+
export const getProductsCountingTable = commonJsModule.getProductsCountingTable;
|
|
7
9
|
export const getProductsInUse = commonJsModule.getProductsInUse;
|
|
8
10
|
export const isProductUsage = commonJsModule.isProductUsage;
|
|
9
11
|
export const isUsedByMilestones = commonJsModule.isUsedByMilestones;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ServerProductOffReason = void 0;
|
|
4
|
+
/*
|
|
5
|
+
* Why a product is off on this server, in a module that imports nothing.
|
|
6
|
+
* ServerProducts reads it, and exports it as before; the mobile app's suite
|
|
7
|
+
* that holds the app's copy of these values to the server's
|
|
8
|
+
* (MobileApp/src/api/serverProducts.test.ts) reads it here. Read through
|
|
9
|
+
* ServerProducts, its JSON types reach the database models and typeorm,
|
|
10
|
+
* which the mobile app neither installs nor can resolve, so its compile
|
|
11
|
+
* failed on them (6b5fb4325cc).
|
|
12
|
+
*/
|
|
13
|
+
var ServerProductOffReason;
|
|
14
|
+
(function (ServerProductOffReason) {
|
|
15
|
+
// An admin switched it off, or SERVER_PRODUCTS left it out.
|
|
16
|
+
ServerProductOffReason["SwitchedOff"] = "switched-off";
|
|
17
|
+
// DISABLE_TELEMETRY_INGESTION is set: nothing new can reach it.
|
|
18
|
+
ServerProductOffReason["TelemetryIngestionStopped"] = "telemetry-ingestion-stopped";
|
|
19
|
+
})(ServerProductOffReason || (exports.ServerProductOffReason = ServerProductOffReason = {}));
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { JSONObject } from "../JSON.mjs";
|
|
2
2
|
import ProductKey from "./ProductKey.mjs";
|
|
3
|
+
import { ServerProductOffReason } from "./ServerProductOffReason.mjs";
|
|
3
4
|
export declare const isSwitchableProduct: (product: ProductKey) => boolean;
|
|
4
5
|
export declare const SWITCHABLE_PRODUCTS: ReadonlyArray<ProductKey>;
|
|
5
6
|
export declare enum ServerProductsPreset {
|
|
@@ -15,10 +16,7 @@ export declare const getOffFromOn: (on: ReadonlyArray<ProductKey>) => Array<Prod
|
|
|
15
16
|
export declare const getOffByPreset: (preset: ServerProductsPreset) => Array<ProductKey>;
|
|
16
17
|
export declare const getPresetOf: (off: ReadonlyArray<ProductKey>) => ServerProductsPreset | null;
|
|
17
18
|
export declare const TELEMETRY_INGESTION_PRODUCTS: ReadonlyArray<ProductKey>;
|
|
18
|
-
export
|
|
19
|
-
SwitchedOff = "switched-off",
|
|
20
|
-
TelemetryIngestionStopped = "telemetry-ingestion-stopped"
|
|
21
|
-
}
|
|
19
|
+
export { ServerProductOffReason } from "./ServerProductOffReason.mjs";
|
|
22
20
|
export declare const isServerProductOffReason: (value: unknown) => value is ServerProductOffReason;
|
|
23
21
|
export type ServerProductsOff = Partial<Record<ProductKey, ServerProductOffReason>>;
|
|
24
22
|
export interface ServerProductsSettings {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { JSONObject } from "../JSON";
|
|
2
2
|
import ProductKey from "./ProductKey";
|
|
3
|
+
import { ServerProductOffReason } from "./ServerProductOffReason";
|
|
3
4
|
export declare const isSwitchableProduct: (product: ProductKey) => boolean;
|
|
4
5
|
export declare const SWITCHABLE_PRODUCTS: ReadonlyArray<ProductKey>;
|
|
5
6
|
export declare enum ServerProductsPreset {
|
|
@@ -15,10 +16,7 @@ export declare const getOffFromOn: (on: ReadonlyArray<ProductKey>) => Array<Prod
|
|
|
15
16
|
export declare const getOffByPreset: (preset: ServerProductsPreset) => Array<ProductKey>;
|
|
16
17
|
export declare const getPresetOf: (off: ReadonlyArray<ProductKey>) => ServerProductsPreset | null;
|
|
17
18
|
export declare const TELEMETRY_INGESTION_PRODUCTS: ReadonlyArray<ProductKey>;
|
|
18
|
-
export
|
|
19
|
-
SwitchedOff = "switched-off",
|
|
20
|
-
TelemetryIngestionStopped = "telemetry-ingestion-stopped"
|
|
21
|
-
}
|
|
19
|
+
export { ServerProductOffReason } from "./ServerProductOffReason";
|
|
22
20
|
export declare const isServerProductOffReason: (value: unknown) => value is ServerProductOffReason;
|
|
23
21
|
export type ServerProductsOff = Partial<Record<ProductKey, ServerProductOffReason>>;
|
|
24
22
|
export interface ServerProductsSettings {
|
|
@@ -37,6 +37,7 @@ exports.getProductOffMessage = exports.SERVER_PRODUCTS_SETTINGS_PATH = exports.w
|
|
|
37
37
|
const ProductCatalog_1 = require("./ProductCatalog");
|
|
38
38
|
const ProductKey_1 = __importStar(require("./ProductKey"));
|
|
39
39
|
const ProjectProducts_1 = require("./ProjectProducts");
|
|
40
|
+
const ServerProductOffReason_1 = require("./ServerProductOffReason");
|
|
40
41
|
/*
|
|
41
42
|
* THE PRODUCTS A SERVER SWITCHES OFF FOR EVERY PROJECT (#6815, #2471).
|
|
42
43
|
*
|
|
@@ -50,9 +51,11 @@ const ProjectProducts_1 = require("./ProjectProducts");
|
|
|
50
51
|
* on Home, not found by Search, not under More products, not pinned, and on
|
|
51
52
|
* Project Settings > Products it reads "Switched off on this server" instead
|
|
52
53
|
* of a switch. Its pages say it is switched off and who can switch it on,
|
|
53
|
-
* and the API
|
|
54
|
-
*
|
|
55
|
-
*
|
|
54
|
+
* and the API, workflows and the Slack, Microsoft Teams and Mattermost apps
|
|
55
|
+
* refuse to create, change or delete its records (Server/Utils/
|
|
56
|
+
* ServerProducts, ProductWriteRefusal, ServerProductRoutes,
|
|
57
|
+
* WorkspaceProductRefusal, #7479). Reads keep working: products that are
|
|
58
|
+
* on show records of others (an incident names its monitors).
|
|
56
59
|
*
|
|
57
60
|
* Off changes what people see and use, never what is kept or what runs:
|
|
58
61
|
* nothing is deleted, monitors keep checking, published status pages stay
|
|
@@ -178,17 +181,16 @@ exports.TELEMETRY_INGESTION_PRODUCTS = [
|
|
|
178
181
|
ProductKey_1.default.Profiles,
|
|
179
182
|
ProductKey_1.default.Exceptions,
|
|
180
183
|
];
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
})(ServerProductOffReason || (exports.ServerProductOffReason = ServerProductOffReason = {}));
|
|
184
|
+
/*
|
|
185
|
+
* Why a product is off on this server. It lives in ServerProductOffReason,
|
|
186
|
+
* which imports nothing, so the mobile app's suite reads it without this
|
|
187
|
+
* module's JSON types; it is exported from here as before.
|
|
188
|
+
*/
|
|
189
|
+
var ServerProductOffReason_2 = require("./ServerProductOffReason");
|
|
190
|
+
Object.defineProperty(exports, "ServerProductOffReason", { enumerable: true, get: function () { return ServerProductOffReason_2.ServerProductOffReason; } });
|
|
189
191
|
const isServerProductOffReason = (value) => {
|
|
190
|
-
return (value === ServerProductOffReason.SwitchedOff ||
|
|
191
|
-
value === ServerProductOffReason.TelemetryIngestionStopped);
|
|
192
|
+
return (value === ServerProductOffReason_1.ServerProductOffReason.SwitchedOff ||
|
|
193
|
+
value === ServerProductOffReason_1.ServerProductOffReason.TelemetryIngestionStopped);
|
|
192
194
|
};
|
|
193
195
|
exports.isServerProductOffReason = isServerProductOffReason;
|
|
194
196
|
/*
|
|
@@ -294,11 +296,11 @@ const getServerProductsOff = (data) => {
|
|
|
294
296
|
for (const product of exports.SWITCHABLE_PRODUCTS) {
|
|
295
297
|
if (data.isTelemetryIngestionStopped &&
|
|
296
298
|
exports.TELEMETRY_INGESTION_PRODUCTS.includes(product)) {
|
|
297
|
-
off[product] = ServerProductOffReason.TelemetryIngestionStopped;
|
|
299
|
+
off[product] = ServerProductOffReason_1.ServerProductOffReason.TelemetryIngestionStopped;
|
|
298
300
|
continue;
|
|
299
301
|
}
|
|
300
302
|
if (switchedOff.includes(product)) {
|
|
301
|
-
off[product] = ServerProductOffReason.SwitchedOff;
|
|
303
|
+
off[product] = ServerProductOffReason_1.ServerProductOffReason.SwitchedOff;
|
|
302
304
|
}
|
|
303
305
|
}
|
|
304
306
|
return off;
|
|
@@ -325,7 +327,7 @@ const shouldSuggestStoppingIngestion = (data) => {
|
|
|
325
327
|
return false;
|
|
326
328
|
}
|
|
327
329
|
return exports.TELEMETRY_INGESTION_PRODUCTS.every((product) => {
|
|
328
|
-
return data.off[product] === ServerProductOffReason.SwitchedOff;
|
|
330
|
+
return data.off[product] === ServerProductOffReason_1.ServerProductOffReason.SwitchedOff;
|
|
329
331
|
});
|
|
330
332
|
};
|
|
331
333
|
exports.shouldSuggestStoppingIngestion = shouldSuggestStoppingIngestion;
|
|
@@ -375,7 +377,7 @@ exports.SERVER_PRODUCTS_SETTINGS_PATH = "Admin Dashboard > Settings > Products";
|
|
|
375
377
|
*/
|
|
376
378
|
const getProductOffMessage = (data) => {
|
|
377
379
|
const title = (0, ProductCatalog_1.getProductTitle)(data.product);
|
|
378
|
-
if (data.reason === ServerProductOffReason.TelemetryIngestionStopped) {
|
|
380
|
+
if (data.reason === ServerProductOffReason_1.ServerProductOffReason.TelemetryIngestionStopped) {
|
|
379
381
|
return `${title} is off because telemetry ingestion is stopped on this server. A server admin can start it again by setting DISABLE_TELEMETRY_INGESTION to false and restarting OneUptime. Nothing was deleted.`;
|
|
380
382
|
}
|
|
381
383
|
return `${title} is switched off on this server. A server admin can switch it on in ${exports.SERVER_PRODUCTS_SETTINGS_PATH}. Nothing was deleted.`;
|
|
@@ -1,18 +1,25 @@
|
|
|
1
|
+
import { AskAiSourceCount } from "../AI/AskAiRatings.mjs";
|
|
1
2
|
import { JSONValue } from "../JSON.mjs";
|
|
2
3
|
export declare enum ProductFeedbackKind {
|
|
3
4
|
SetupFlow = "setup_flow",
|
|
4
5
|
General = "general",
|
|
5
6
|
Explanation = "explanation",
|
|
6
|
-
CheckIn = "check_in"
|
|
7
|
+
CheckIn = "check_in",
|
|
8
|
+
DocsPage = "docs_page"
|
|
7
9
|
}
|
|
8
10
|
export declare const PRODUCT_FEEDBACK_KINDS: ReadonlyArray<ProductFeedbackKind>;
|
|
11
|
+
export declare const DASHBOARD_FEEDBACK_KINDS: ReadonlyArray<ProductFeedbackKind>;
|
|
9
12
|
export declare const isProductFeedbackKind: (value: unknown) => value is ProductFeedbackKind;
|
|
13
|
+
export declare const isDashboardFeedbackKind: (value: unknown) => value is ProductFeedbackKind;
|
|
10
14
|
export declare const PRODUCT_FEEDBACK_ROUTE: string;
|
|
11
15
|
export declare const PRODUCT_FEEDBACK_DETAILS_ROUTE: string;
|
|
12
16
|
export declare const PRODUCT_FEEDBACK_SETTINGS_ROUTE: string;
|
|
13
17
|
export declare const PRODUCT_FEEDBACK_ASK_ROUTE: string;
|
|
14
18
|
export declare const PRODUCT_FEEDBACK_ADMIN_SUMMARY_ROUTE: string;
|
|
15
19
|
export declare const PRODUCT_FEEDBACK_ADMIN_LIST_ROUTE: string;
|
|
20
|
+
export declare const PRODUCT_FEEDBACK_ADMIN_ANSWER_ROUTE: string;
|
|
21
|
+
export declare const getProductFeedbackAdminAnswerRoute: (answerId: string) => string;
|
|
22
|
+
export declare const PRODUCT_FEEDBACK_RETENTION_IN_DAYS: number;
|
|
16
23
|
export declare const PRODUCT_FEEDBACK_DETAILS_MAX_LENGTH: number;
|
|
17
24
|
export declare const PRODUCT_FEEDBACK_TOPIC_MAX_LENGTH: number;
|
|
18
25
|
export declare const PRODUCT_FEEDBACK_PAGE_MAX_LENGTH: number;
|
|
@@ -66,9 +73,42 @@ export interface ProductFeedbackSubmission {
|
|
|
66
73
|
details: string | null;
|
|
67
74
|
page: string;
|
|
68
75
|
version: string;
|
|
76
|
+
reason?: DocsFeedbackReason | null | undefined;
|
|
69
77
|
}
|
|
70
78
|
export declare const PRODUCT_FEEDBACK_SUBMISSION_FIELDS: ReadonlyArray<string>;
|
|
71
79
|
export declare const readProductFeedbackSubmission: (body: JSONValue | undefined) => ProductFeedbackSubmission | string;
|
|
80
|
+
export declare enum DocsFeedbackReason {
|
|
81
|
+
Unclear = "unclear",
|
|
82
|
+
Missing = "missing",
|
|
83
|
+
Wrong = "wrong",
|
|
84
|
+
NotFound = "not_found"
|
|
85
|
+
}
|
|
86
|
+
export declare const DOCS_FEEDBACK_REASONS: ReadonlyArray<DocsFeedbackReason>;
|
|
87
|
+
export declare const DOCS_FEEDBACK_REASON_TITLES: Readonly<Record<DocsFeedbackReason, string>>;
|
|
88
|
+
export declare const isDocsFeedbackReason: (value: unknown) => value is DocsFeedbackReason;
|
|
89
|
+
export declare const toDocsFeedbackSubmission: (data: {
|
|
90
|
+
page: string;
|
|
91
|
+
language: string;
|
|
92
|
+
isHelpful: boolean;
|
|
93
|
+
reason?: DocsFeedbackReason | undefined;
|
|
94
|
+
version: string;
|
|
95
|
+
}) => ProductFeedbackSubmission | null;
|
|
96
|
+
export interface DocsPageFeedbackSummary {
|
|
97
|
+
page: string;
|
|
98
|
+
answers: number;
|
|
99
|
+
helpful: number;
|
|
100
|
+
notHelpful: number;
|
|
101
|
+
reasons: Array<{
|
|
102
|
+
reason: DocsFeedbackReason;
|
|
103
|
+
answers: number;
|
|
104
|
+
}>;
|
|
105
|
+
}
|
|
106
|
+
export interface DocsPageFeedbackRow {
|
|
107
|
+
page: string;
|
|
108
|
+
isHelpful: boolean | null;
|
|
109
|
+
reason: string | null;
|
|
110
|
+
}
|
|
111
|
+
export declare const summarizeDocsPageFeedback: (rows: ReadonlyArray<DocsPageFeedbackRow>) => Array<DocsPageFeedbackSummary>;
|
|
72
112
|
export declare const getFeedbackQuestionKey: (data: {
|
|
73
113
|
kind: ProductFeedbackKind;
|
|
74
114
|
topic: string;
|
|
@@ -117,6 +157,7 @@ export interface ProductFeedbackListItem {
|
|
|
117
157
|
score: number | null;
|
|
118
158
|
isPositive: boolean | null;
|
|
119
159
|
details: string | null;
|
|
160
|
+
reason?: DocsFeedbackReason | null | undefined;
|
|
120
161
|
page: string;
|
|
121
162
|
version: string;
|
|
122
163
|
createdAt: string;
|
|
@@ -145,10 +186,13 @@ export interface AskAiRatingsSummary {
|
|
|
145
186
|
helpful: number;
|
|
146
187
|
notHelpful: number;
|
|
147
188
|
ratedDown: Array<AskAiRatedDownAnswer> | null;
|
|
189
|
+
ratedDownDrewOn?: Array<AskAiSourceCount> | undefined;
|
|
148
190
|
}
|
|
149
191
|
export interface ProductFeedbackAdminSummary {
|
|
150
192
|
sinceDays: number;
|
|
193
|
+
retentionInDays?: number | undefined;
|
|
151
194
|
topics: Array<ProductFeedbackTopicSummary>;
|
|
195
|
+
docsPages?: Array<DocsPageFeedbackSummary> | undefined;
|
|
152
196
|
askAi: AskAiRatingsSummary;
|
|
153
197
|
}
|
|
154
198
|
export interface ProductFeedbackSummaryRow {
|
|
@@ -1,18 +1,25 @@
|
|
|
1
|
+
import { AskAiSourceCount } from "../AI/AskAiRatings";
|
|
1
2
|
import { JSONValue } from "../JSON";
|
|
2
3
|
export declare enum ProductFeedbackKind {
|
|
3
4
|
SetupFlow = "setup_flow",
|
|
4
5
|
General = "general",
|
|
5
6
|
Explanation = "explanation",
|
|
6
|
-
CheckIn = "check_in"
|
|
7
|
+
CheckIn = "check_in",
|
|
8
|
+
DocsPage = "docs_page"
|
|
7
9
|
}
|
|
8
10
|
export declare const PRODUCT_FEEDBACK_KINDS: ReadonlyArray<ProductFeedbackKind>;
|
|
11
|
+
export declare const DASHBOARD_FEEDBACK_KINDS: ReadonlyArray<ProductFeedbackKind>;
|
|
9
12
|
export declare const isProductFeedbackKind: (value: unknown) => value is ProductFeedbackKind;
|
|
13
|
+
export declare const isDashboardFeedbackKind: (value: unknown) => value is ProductFeedbackKind;
|
|
10
14
|
export declare const PRODUCT_FEEDBACK_ROUTE: string;
|
|
11
15
|
export declare const PRODUCT_FEEDBACK_DETAILS_ROUTE: string;
|
|
12
16
|
export declare const PRODUCT_FEEDBACK_SETTINGS_ROUTE: string;
|
|
13
17
|
export declare const PRODUCT_FEEDBACK_ASK_ROUTE: string;
|
|
14
18
|
export declare const PRODUCT_FEEDBACK_ADMIN_SUMMARY_ROUTE: string;
|
|
15
19
|
export declare const PRODUCT_FEEDBACK_ADMIN_LIST_ROUTE: string;
|
|
20
|
+
export declare const PRODUCT_FEEDBACK_ADMIN_ANSWER_ROUTE: string;
|
|
21
|
+
export declare const getProductFeedbackAdminAnswerRoute: (answerId: string) => string;
|
|
22
|
+
export declare const PRODUCT_FEEDBACK_RETENTION_IN_DAYS: number;
|
|
16
23
|
export declare const PRODUCT_FEEDBACK_DETAILS_MAX_LENGTH: number;
|
|
17
24
|
export declare const PRODUCT_FEEDBACK_TOPIC_MAX_LENGTH: number;
|
|
18
25
|
export declare const PRODUCT_FEEDBACK_PAGE_MAX_LENGTH: number;
|
|
@@ -66,9 +73,42 @@ export interface ProductFeedbackSubmission {
|
|
|
66
73
|
details: string | null;
|
|
67
74
|
page: string;
|
|
68
75
|
version: string;
|
|
76
|
+
reason?: DocsFeedbackReason | null | undefined;
|
|
69
77
|
}
|
|
70
78
|
export declare const PRODUCT_FEEDBACK_SUBMISSION_FIELDS: ReadonlyArray<string>;
|
|
71
79
|
export declare const readProductFeedbackSubmission: (body: JSONValue | undefined) => ProductFeedbackSubmission | string;
|
|
80
|
+
export declare enum DocsFeedbackReason {
|
|
81
|
+
Unclear = "unclear",
|
|
82
|
+
Missing = "missing",
|
|
83
|
+
Wrong = "wrong",
|
|
84
|
+
NotFound = "not_found"
|
|
85
|
+
}
|
|
86
|
+
export declare const DOCS_FEEDBACK_REASONS: ReadonlyArray<DocsFeedbackReason>;
|
|
87
|
+
export declare const DOCS_FEEDBACK_REASON_TITLES: Readonly<Record<DocsFeedbackReason, string>>;
|
|
88
|
+
export declare const isDocsFeedbackReason: (value: unknown) => value is DocsFeedbackReason;
|
|
89
|
+
export declare const toDocsFeedbackSubmission: (data: {
|
|
90
|
+
page: string;
|
|
91
|
+
language: string;
|
|
92
|
+
isHelpful: boolean;
|
|
93
|
+
reason?: DocsFeedbackReason | undefined;
|
|
94
|
+
version: string;
|
|
95
|
+
}) => ProductFeedbackSubmission | null;
|
|
96
|
+
export interface DocsPageFeedbackSummary {
|
|
97
|
+
page: string;
|
|
98
|
+
answers: number;
|
|
99
|
+
helpful: number;
|
|
100
|
+
notHelpful: number;
|
|
101
|
+
reasons: Array<{
|
|
102
|
+
reason: DocsFeedbackReason;
|
|
103
|
+
answers: number;
|
|
104
|
+
}>;
|
|
105
|
+
}
|
|
106
|
+
export interface DocsPageFeedbackRow {
|
|
107
|
+
page: string;
|
|
108
|
+
isHelpful: boolean | null;
|
|
109
|
+
reason: string | null;
|
|
110
|
+
}
|
|
111
|
+
export declare const summarizeDocsPageFeedback: (rows: ReadonlyArray<DocsPageFeedbackRow>) => Array<DocsPageFeedbackSummary>;
|
|
72
112
|
export declare const getFeedbackQuestionKey: (data: {
|
|
73
113
|
kind: ProductFeedbackKind;
|
|
74
114
|
topic: string;
|
|
@@ -117,6 +157,7 @@ export interface ProductFeedbackListItem {
|
|
|
117
157
|
score: number | null;
|
|
118
158
|
isPositive: boolean | null;
|
|
119
159
|
details: string | null;
|
|
160
|
+
reason?: DocsFeedbackReason | null | undefined;
|
|
120
161
|
page: string;
|
|
121
162
|
version: string;
|
|
122
163
|
createdAt: string;
|
|
@@ -145,10 +186,13 @@ export interface AskAiRatingsSummary {
|
|
|
145
186
|
helpful: number;
|
|
146
187
|
notHelpful: number;
|
|
147
188
|
ratedDown: Array<AskAiRatedDownAnswer> | null;
|
|
189
|
+
ratedDownDrewOn?: Array<AskAiSourceCount> | undefined;
|
|
148
190
|
}
|
|
149
191
|
export interface ProductFeedbackAdminSummary {
|
|
150
192
|
sinceDays: number;
|
|
193
|
+
retentionInDays?: number | undefined;
|
|
151
194
|
topics: Array<ProductFeedbackTopicSummary>;
|
|
195
|
+
docsPages?: Array<DocsPageFeedbackSummary> | undefined;
|
|
152
196
|
askAi: AskAiRatingsSummary;
|
|
153
197
|
}
|
|
154
198
|
export interface ProductFeedbackSummaryRow {
|