@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.getProductFeedbackTopicTitle = exports.PRODUCT_FEEDBACK_KIND_TITLES = exports.GUIDED_SETUP_TITLES = exports.summarizeProductFeedback = exports.ASK_AI_RATED_DOWN_LIST_SIZE = exports.ASK_AI_QUESTION_PREVIEW_LENGTH = exports.PRODUCT_FEEDBACK_LIST_MAX_PAGE_SIZE = exports.PRODUCT_FEEDBACK_LIST_PAGE_SIZE = void 0;
|
|
3
|
+
exports.toDocsFeedbackSubmission = exports.isDocsFeedbackReason = exports.DOCS_FEEDBACK_REASON_TITLES = exports.DOCS_FEEDBACK_REASONS = exports.DocsFeedbackReason = exports.readProductFeedbackSubmission = exports.PRODUCT_FEEDBACK_SUBMISSION_FIELDS = exports.toFeedbackDetails = exports.toFeedbackVersion = exports.toFeedbackPage = exports.toFeedbackTopic = exports.PRODUCT_FEEDBACK_GITHUB_LABEL = exports.readGiveFeedbackReceipt = exports.isGiveFeedbackEmailed = exports.getGiveFeedbackDestination = exports.ONEUPTIME_SUPPORT_EMAIL = exports.GiveFeedbackDestination = exports.toGiveFeedbackCategory = exports.isGiveFeedbackCategory = exports.GIVE_FEEDBACK_CATEGORY_TITLES = exports.DEFAULT_GIVE_FEEDBACK_CATEGORY = exports.GIVE_FEEDBACK_CATEGORIES = exports.GiveFeedbackCategory = exports.CHECK_IN_TOPIC = exports.PRODUCT_FEEDBACK_DETAILS_WINDOW_MINUTES = exports.CHECK_IN_LAST_DAY = exports.CHECK_IN_FIRST_DAY = exports.FEEDBACK_QUESTION_GAP_DAYS = exports.PRODUCT_FEEDBACK_HARD_SCORE = exports.PRODUCT_FEEDBACK_SCORES = exports.PRODUCT_FEEDBACK_HIGHEST_SCORE = exports.PRODUCT_FEEDBACK_LOWEST_SCORE = exports.PRODUCT_FEEDBACK_VERSION_MAX_LENGTH = exports.PRODUCT_FEEDBACK_PAGE_MAX_LENGTH = exports.PRODUCT_FEEDBACK_TOPIC_MAX_LENGTH = exports.PRODUCT_FEEDBACK_DETAILS_MAX_LENGTH = exports.PRODUCT_FEEDBACK_RETENTION_IN_DAYS = exports.getProductFeedbackAdminAnswerRoute = exports.PRODUCT_FEEDBACK_ADMIN_ANSWER_ROUTE = exports.PRODUCT_FEEDBACK_ADMIN_LIST_ROUTE = exports.PRODUCT_FEEDBACK_ADMIN_SUMMARY_ROUTE = exports.PRODUCT_FEEDBACK_ASK_ROUTE = exports.PRODUCT_FEEDBACK_SETTINGS_ROUTE = exports.PRODUCT_FEEDBACK_DETAILS_ROUTE = exports.PRODUCT_FEEDBACK_ROUTE = exports.isDashboardFeedbackKind = exports.isProductFeedbackKind = exports.DASHBOARD_FEEDBACK_KINDS = exports.PRODUCT_FEEDBACK_KINDS = exports.ProductFeedbackKind = void 0;
|
|
4
|
+
exports.getProductFeedbackTopicTitle = exports.PRODUCT_FEEDBACK_KIND_TITLES = exports.GUIDED_SETUP_TITLES = exports.summarizeProductFeedback = exports.ASK_AI_RATED_DOWN_LIST_SIZE = exports.ASK_AI_QUESTION_PREVIEW_LENGTH = exports.PRODUCT_FEEDBACK_LIST_MAX_PAGE_SIZE = exports.PRODUCT_FEEDBACK_LIST_PAGE_SIZE = exports.PRODUCT_FEEDBACK_SUMMARY_DAYS = exports.readProductFeedbackSettings = exports.isCheckInDue = exports.decideFeedbackQuestion = exports.FeedbackQuestionDecision = exports.withAskedQuestion = exports.readAskedQuestions = exports.FEEDBACK_QUESTIONS_KEPT = exports.readFeedbackQuestionKey = exports.getFeedbackQuestionKey = exports.summarizeDocsPageFeedback = void 0;
|
|
5
5
|
/*
|
|
6
6
|
* ASKING PEOPLE (issue #6832): how a person tells OneUptime "this was
|
|
7
7
|
* hard", and the rules for when OneUptime asks.
|
|
@@ -21,6 +21,23 @@ exports.getProductFeedbackTopicTitle = exports.PRODUCT_FEEDBACK_KIND_TITLES = ex
|
|
|
21
21
|
* - check_in "Is OneUptime set up the way you wanted?", once, on Home,
|
|
22
22
|
* for the project's creator in its first weeks.
|
|
23
23
|
*
|
|
24
|
+
* And one the docs give, not the Dashboard:
|
|
25
|
+
*
|
|
26
|
+
* - docs_page "Was this page helpful?" at the foot of a docs page, kept
|
|
27
|
+
* only where a master admin switched keeping them on
|
|
28
|
+
* (GlobalConfig.keepDocsFeedback, #7209): yes or no, and
|
|
29
|
+
* for a no what went wrong (DocsFeedbackReason). The docs
|
|
30
|
+
* page (`monitor/website-monitor`) is the topic. Posted by
|
|
31
|
+
* the docs server (App/FeatureSet/Docs), never by the
|
|
32
|
+
* Dashboard: readProductFeedbackSubmission refuses it.
|
|
33
|
+
*
|
|
34
|
+
* HOW LONG ANSWERS ARE KEPT (#7366)
|
|
35
|
+
*
|
|
36
|
+
* PRODUCT_FEEDBACK_RETENTION_IN_DAYS after they were given, then the
|
|
37
|
+
* daily purge deletes them (ProductFeedbackService's window, read by
|
|
38
|
+
* Workers' HardDelete:HardDeleteOlderItemsInDatabase). A master admin
|
|
39
|
+
* may delete one sooner, from Admin Dashboard > Feedback.
|
|
40
|
+
*
|
|
24
41
|
* WHERE ANSWERS GO
|
|
25
42
|
*
|
|
26
43
|
* Into this server's own database (Models/DatabaseModels/ProductFeedback),
|
|
@@ -66,13 +83,28 @@ var ProductFeedbackKind;
|
|
|
66
83
|
ProductFeedbackKind["General"] = "general";
|
|
67
84
|
ProductFeedbackKind["Explanation"] = "explanation";
|
|
68
85
|
ProductFeedbackKind["CheckIn"] = "check_in";
|
|
86
|
+
// "Was this page helpful?" on a docs page, where kept (#7209).
|
|
87
|
+
ProductFeedbackKind["DocsPage"] = "docs_page";
|
|
69
88
|
})(ProductFeedbackKind || (exports.ProductFeedbackKind = ProductFeedbackKind = {}));
|
|
89
|
+
// Every kind an answer is kept as: what Admin Dashboard > Feedback lists.
|
|
70
90
|
exports.PRODUCT_FEEDBACK_KINDS = Object.values(ProductFeedbackKind);
|
|
91
|
+
/*
|
|
92
|
+
* The kinds the Dashboard posts (POST /product-feedback): every kind but a
|
|
93
|
+
* docs page's, which only the docs server keeps, from the docs' own route.
|
|
94
|
+
*/
|
|
95
|
+
exports.DASHBOARD_FEEDBACK_KINDS = exports.PRODUCT_FEEDBACK_KINDS.filter((kind) => {
|
|
96
|
+
return kind !== ProductFeedbackKind.DocsPage;
|
|
97
|
+
});
|
|
71
98
|
const isProductFeedbackKind = (value) => {
|
|
72
99
|
return (typeof value === "string" &&
|
|
73
100
|
exports.PRODUCT_FEEDBACK_KINDS.includes(value));
|
|
74
101
|
};
|
|
75
102
|
exports.isProductFeedbackKind = isProductFeedbackKind;
|
|
103
|
+
const isDashboardFeedbackKind = (value) => {
|
|
104
|
+
return (typeof value === "string" &&
|
|
105
|
+
exports.DASHBOARD_FEEDBACK_KINDS.includes(value));
|
|
106
|
+
};
|
|
107
|
+
exports.isDashboardFeedbackKind = isDashboardFeedbackKind;
|
|
76
108
|
// The routes (under /api). Server/API/ProductFeedbackAPI.ts serves them.
|
|
77
109
|
exports.PRODUCT_FEEDBACK_ROUTE = "/product-feedback";
|
|
78
110
|
exports.PRODUCT_FEEDBACK_DETAILS_ROUTE = "/product-feedback/details";
|
|
@@ -80,6 +112,22 @@ exports.PRODUCT_FEEDBACK_SETTINGS_ROUTE = "/product-feedback/settings";
|
|
|
80
112
|
exports.PRODUCT_FEEDBACK_ASK_ROUTE = "/product-feedback/ask";
|
|
81
113
|
exports.PRODUCT_FEEDBACK_ADMIN_SUMMARY_ROUTE = "/product-feedback/admin/summary";
|
|
82
114
|
exports.PRODUCT_FEEDBACK_ADMIN_LIST_ROUTE = "/product-feedback/admin/list";
|
|
115
|
+
/*
|
|
116
|
+
* One answer, for a master admin to delete (#7366):
|
|
117
|
+
* DELETE /product-feedback/admin/answer/:answerId.
|
|
118
|
+
*/
|
|
119
|
+
exports.PRODUCT_FEEDBACK_ADMIN_ANSWER_ROUTE = "/product-feedback/admin/answer";
|
|
120
|
+
const getProductFeedbackAdminAnswerRoute = (answerId) => {
|
|
121
|
+
return `${exports.PRODUCT_FEEDBACK_ADMIN_ANSWER_ROUTE}/${encodeURIComponent(answerId)}`;
|
|
122
|
+
};
|
|
123
|
+
exports.getProductFeedbackAdminAnswerRoute = getProductFeedbackAdminAnswerRoute;
|
|
124
|
+
/*
|
|
125
|
+
* How long an answer is kept, from when it was given (#7366): a year, then
|
|
126
|
+
* the daily purge deletes it. Long enough to compare one release's answers
|
|
127
|
+
* with the year before's; no longer, as what a person wrote may hold more
|
|
128
|
+
* than they meant to say. The same on every server.
|
|
129
|
+
*/
|
|
130
|
+
exports.PRODUCT_FEEDBACK_RETENTION_IN_DAYS = 365;
|
|
83
131
|
// What a person may write: a few sentences, not an essay.
|
|
84
132
|
exports.PRODUCT_FEEDBACK_DETAILS_MAX_LENGTH = 2000;
|
|
85
133
|
// A topic is a word the code chose: a setup's key, an explanation's.
|
|
@@ -345,8 +393,9 @@ const readProductFeedbackSubmission = (body) => {
|
|
|
345
393
|
}
|
|
346
394
|
const data = body;
|
|
347
395
|
const kind = data["kind"];
|
|
348
|
-
|
|
349
|
-
|
|
396
|
+
// A docs page's answer is the docs server's to keep (#7209), never posted here.
|
|
397
|
+
if (!(0, exports.isDashboardFeedbackKind)(kind)) {
|
|
398
|
+
return `Set kind to one of ${exports.DASHBOARD_FEEDBACK_KINDS.join(", ")}, then send the answer again.`;
|
|
350
399
|
}
|
|
351
400
|
const topic = typeof data["topic"] === "string" ? (0, exports.toFeedbackTopic)(data["topic"]) : "";
|
|
352
401
|
const details = (0, exports.toFeedbackDetails)(data["details"]);
|
|
@@ -403,6 +452,128 @@ const readProductFeedbackSubmission = (body) => {
|
|
|
403
452
|
};
|
|
404
453
|
};
|
|
405
454
|
exports.readProductFeedbackSubmission = readProductFeedbackSubmission;
|
|
455
|
+
/*
|
|
456
|
+
* "WAS THIS PAGE HELPFUL?", KEPT ON THIS SERVER (#7209).
|
|
457
|
+
*
|
|
458
|
+
* What went wrong, as a no can say it in one click on the docs page
|
|
459
|
+
* (App/FeatureSet/Docs, Views/Partials/PageFeedback.ejs: the docs' own
|
|
460
|
+
* words, ui.feedbackReason*). Each title is the docs' English, marked as a
|
|
461
|
+
* key: Admin Dashboard > Feedback looks it up in its locales.
|
|
462
|
+
*/
|
|
463
|
+
var DocsFeedbackReason;
|
|
464
|
+
(function (DocsFeedbackReason) {
|
|
465
|
+
DocsFeedbackReason["Unclear"] = "unclear";
|
|
466
|
+
DocsFeedbackReason["Missing"] = "missing";
|
|
467
|
+
DocsFeedbackReason["Wrong"] = "wrong";
|
|
468
|
+
DocsFeedbackReason["NotFound"] = "not_found";
|
|
469
|
+
})(DocsFeedbackReason || (exports.DocsFeedbackReason = DocsFeedbackReason = {}));
|
|
470
|
+
// In the order the page offers them.
|
|
471
|
+
exports.DOCS_FEEDBACK_REASONS = [
|
|
472
|
+
DocsFeedbackReason.Unclear,
|
|
473
|
+
DocsFeedbackReason.Missing,
|
|
474
|
+
DocsFeedbackReason.Wrong,
|
|
475
|
+
DocsFeedbackReason.NotFound,
|
|
476
|
+
];
|
|
477
|
+
exports.DOCS_FEEDBACK_REASON_TITLES = {
|
|
478
|
+
[DocsFeedbackReason.Unclear]: translationKey("Hard to follow"),
|
|
479
|
+
[DocsFeedbackReason.Missing]: translationKey("Something is missing"),
|
|
480
|
+
[DocsFeedbackReason.Wrong]: translationKey("Wrong or out of date"),
|
|
481
|
+
[DocsFeedbackReason.NotFound]: translationKey("Not what I was looking for"),
|
|
482
|
+
};
|
|
483
|
+
const isDocsFeedbackReason = (value) => {
|
|
484
|
+
return (typeof value === "string" &&
|
|
485
|
+
exports.DOCS_FEEDBACK_REASONS.includes(value));
|
|
486
|
+
};
|
|
487
|
+
exports.isDocsFeedbackReason = isDocsFeedbackReason;
|
|
488
|
+
// A docs language's code: "de", "zh-CN".
|
|
489
|
+
const DOCS_LANGUAGE_PATTERN = /^[a-z]{2}(-[a-z]{2})?$/i;
|
|
490
|
+
// A docs page's address under /docs/<lang>/, as the nav writes it.
|
|
491
|
+
const DOCS_PAGE_PATTERN = /^[a-z0-9][a-z0-9_-]*(\/[a-z0-9][a-z0-9_-]*)*$/;
|
|
492
|
+
/*
|
|
493
|
+
* A docs answer as the docs server keeps it (ProductFeedbackService.
|
|
494
|
+
* keepDocsAnswer): the page as the topic, the page it was read on - its
|
|
495
|
+
* language with it - as the page, and the version. Null for a page that is
|
|
496
|
+
* not one: the docs server reads only pages its nav lists, and this holds
|
|
497
|
+
* the shape again, so no address or value is ever kept.
|
|
498
|
+
*/
|
|
499
|
+
const toDocsFeedbackSubmission = (data) => {
|
|
500
|
+
if (data.page.length > exports.PRODUCT_FEEDBACK_TOPIC_MAX_LENGTH ||
|
|
501
|
+
!DOCS_PAGE_PATTERN.test(data.page) ||
|
|
502
|
+
!DOCS_LANGUAGE_PATTERN.test(data.language)) {
|
|
503
|
+
return null;
|
|
504
|
+
}
|
|
505
|
+
return {
|
|
506
|
+
kind: ProductFeedbackKind.DocsPage,
|
|
507
|
+
topic: data.page,
|
|
508
|
+
score: null,
|
|
509
|
+
isPositive: data.isHelpful,
|
|
510
|
+
// A reason only says what went wrong: never with a yes.
|
|
511
|
+
reason: !data.isHelpful && data.reason && (0, exports.isDocsFeedbackReason)(data.reason)
|
|
512
|
+
? data.reason
|
|
513
|
+
: null,
|
|
514
|
+
details: null,
|
|
515
|
+
page: `/docs/${data.language}/${data.page}`,
|
|
516
|
+
version: (0, exports.toFeedbackVersion)(data.version),
|
|
517
|
+
};
|
|
518
|
+
};
|
|
519
|
+
exports.toDocsFeedbackSubmission = toDocsFeedbackSubmission;
|
|
520
|
+
/*
|
|
521
|
+
* The docs pages people answered for, the ones that fail them first: most
|
|
522
|
+
* noes first, then the larger share of noes, then the most answers.
|
|
523
|
+
*/
|
|
524
|
+
const summarizeDocsPageFeedback = (rows) => {
|
|
525
|
+
const byPage = new Map();
|
|
526
|
+
for (const row of rows) {
|
|
527
|
+
if (!row.page) {
|
|
528
|
+
continue;
|
|
529
|
+
}
|
|
530
|
+
let summary = byPage.get(row.page);
|
|
531
|
+
if (!summary) {
|
|
532
|
+
summary = {
|
|
533
|
+
page: row.page,
|
|
534
|
+
answers: 0,
|
|
535
|
+
helpful: 0,
|
|
536
|
+
notHelpful: 0,
|
|
537
|
+
reasons: [],
|
|
538
|
+
reasonCounts: new Map(),
|
|
539
|
+
};
|
|
540
|
+
byPage.set(row.page, summary);
|
|
541
|
+
}
|
|
542
|
+
summary.answers++;
|
|
543
|
+
if (row.isHelpful === true) {
|
|
544
|
+
summary.helpful++;
|
|
545
|
+
}
|
|
546
|
+
else if (row.isHelpful === false) {
|
|
547
|
+
summary.notHelpful++;
|
|
548
|
+
if ((0, exports.isDocsFeedbackReason)(row.reason)) {
|
|
549
|
+
summary.reasonCounts.set(row.reason, (summary.reasonCounts.get(row.reason) || 0) + 1);
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
return Array.from(byPage.values())
|
|
554
|
+
.map((summary) => {
|
|
555
|
+
const { reasonCounts, ...rest } = summary;
|
|
556
|
+
return {
|
|
557
|
+
...rest,
|
|
558
|
+
reasons: exports.DOCS_FEEDBACK_REASONS.filter((reason) => {
|
|
559
|
+
return reasonCounts.has(reason);
|
|
560
|
+
})
|
|
561
|
+
.map((reason) => {
|
|
562
|
+
return { reason: reason, answers: reasonCounts.get(reason) || 0 };
|
|
563
|
+
})
|
|
564
|
+
.sort((a, b) => {
|
|
565
|
+
return b.answers - a.answers;
|
|
566
|
+
}),
|
|
567
|
+
};
|
|
568
|
+
})
|
|
569
|
+
.sort((a, b) => {
|
|
570
|
+
return (b.notHelpful - a.notHelpful ||
|
|
571
|
+
b.notHelpful / b.answers - a.notHelpful / a.answers ||
|
|
572
|
+
b.answers - a.answers ||
|
|
573
|
+
a.page.localeCompare(b.page));
|
|
574
|
+
});
|
|
575
|
+
};
|
|
576
|
+
exports.summarizeDocsPageFeedback = summarizeDocsPageFeedback;
|
|
406
577
|
/*
|
|
407
578
|
* QUESTIONS ONEUPTIME ASKS
|
|
408
579
|
*
|
|
@@ -558,11 +729,15 @@ exports.ASK_AI_RATED_DOWN_LIST_SIZE = 25;
|
|
|
558
729
|
/*
|
|
559
730
|
* The answers, by question: setups first (hardest first, by average
|
|
560
731
|
* score), then the check-in, then explanations (least clear first), then
|
|
561
|
-
* Give feedback.
|
|
732
|
+
* Give feedback. A docs page's answers are summed up by page instead
|
|
733
|
+
* (summarizeDocsPageFeedback), so they are left out here.
|
|
562
734
|
*/
|
|
563
735
|
const summarizeProductFeedback = (rows) => {
|
|
564
736
|
const byQuestion = new Map();
|
|
565
737
|
for (const row of rows) {
|
|
738
|
+
if (row.kind === ProductFeedbackKind.DocsPage) {
|
|
739
|
+
continue;
|
|
740
|
+
}
|
|
566
741
|
const key = `${row.kind}:${row.topic}`;
|
|
567
742
|
let summary = byQuestion.get(key);
|
|
568
743
|
if (!summary) {
|
|
@@ -654,11 +829,16 @@ exports.PRODUCT_FEEDBACK_KIND_TITLES = {
|
|
|
654
829
|
[ProductFeedbackKind.General]: translationKey("Give feedback"),
|
|
655
830
|
[ProductFeedbackKind.Explanation]: translationKey("Was this clear?"),
|
|
656
831
|
[ProductFeedbackKind.CheckIn]: translationKey("First-week check-in"),
|
|
832
|
+
[ProductFeedbackKind.DocsPage]: translationKey("Was this page helpful?"),
|
|
657
833
|
};
|
|
658
834
|
const getProductFeedbackTopicTitle = (data) => {
|
|
659
835
|
if (data.kind === ProductFeedbackKind.SetupFlow) {
|
|
660
836
|
return exports.GUIDED_SETUP_TITLES[data.topic] || data.topic;
|
|
661
837
|
}
|
|
838
|
+
// A docs page by its address under /docs/: what the page links to.
|
|
839
|
+
if (data.kind === ProductFeedbackKind.DocsPage) {
|
|
840
|
+
return data.topic;
|
|
841
|
+
}
|
|
662
842
|
if (data.kind === ProductFeedbackKind.Explanation) {
|
|
663
843
|
if (data.topic === "how_oneuptime_works") {
|
|
664
844
|
return translationKey("How OneUptime works");
|
|
@@ -4,7 +4,11 @@ export const ASK_AI_RATED_DOWN_LIST_SIZE = commonJsModule.ASK_AI_RATED_DOWN_LIST
|
|
|
4
4
|
export const CHECK_IN_FIRST_DAY = commonJsModule.CHECK_IN_FIRST_DAY;
|
|
5
5
|
export const CHECK_IN_LAST_DAY = commonJsModule.CHECK_IN_LAST_DAY;
|
|
6
6
|
export const CHECK_IN_TOPIC = commonJsModule.CHECK_IN_TOPIC;
|
|
7
|
+
export const DASHBOARD_FEEDBACK_KINDS = commonJsModule.DASHBOARD_FEEDBACK_KINDS;
|
|
7
8
|
export const DEFAULT_GIVE_FEEDBACK_CATEGORY = commonJsModule.DEFAULT_GIVE_FEEDBACK_CATEGORY;
|
|
9
|
+
export const DOCS_FEEDBACK_REASONS = commonJsModule.DOCS_FEEDBACK_REASONS;
|
|
10
|
+
export const DOCS_FEEDBACK_REASON_TITLES = commonJsModule.DOCS_FEEDBACK_REASON_TITLES;
|
|
11
|
+
export const DocsFeedbackReason = commonJsModule.DocsFeedbackReason;
|
|
8
12
|
export const FEEDBACK_QUESTIONS_KEPT = commonJsModule.FEEDBACK_QUESTIONS_KEPT;
|
|
9
13
|
export const FEEDBACK_QUESTION_GAP_DAYS = commonJsModule.FEEDBACK_QUESTION_GAP_DAYS;
|
|
10
14
|
export const FeedbackQuestionDecision = commonJsModule.FeedbackQuestionDecision;
|
|
@@ -14,6 +18,7 @@ export const GUIDED_SETUP_TITLES = commonJsModule.GUIDED_SETUP_TITLES;
|
|
|
14
18
|
export const GiveFeedbackCategory = commonJsModule.GiveFeedbackCategory;
|
|
15
19
|
export const GiveFeedbackDestination = commonJsModule.GiveFeedbackDestination;
|
|
16
20
|
export const ONEUPTIME_SUPPORT_EMAIL = commonJsModule.ONEUPTIME_SUPPORT_EMAIL;
|
|
21
|
+
export const PRODUCT_FEEDBACK_ADMIN_ANSWER_ROUTE = commonJsModule.PRODUCT_FEEDBACK_ADMIN_ANSWER_ROUTE;
|
|
17
22
|
export const PRODUCT_FEEDBACK_ADMIN_LIST_ROUTE = commonJsModule.PRODUCT_FEEDBACK_ADMIN_LIST_ROUTE;
|
|
18
23
|
export const PRODUCT_FEEDBACK_ADMIN_SUMMARY_ROUTE = commonJsModule.PRODUCT_FEEDBACK_ADMIN_SUMMARY_ROUTE;
|
|
19
24
|
export const PRODUCT_FEEDBACK_ASK_ROUTE = commonJsModule.PRODUCT_FEEDBACK_ASK_ROUTE;
|
|
@@ -29,6 +34,7 @@ export const PRODUCT_FEEDBACK_LIST_MAX_PAGE_SIZE = commonJsModule.PRODUCT_FEEDBA
|
|
|
29
34
|
export const PRODUCT_FEEDBACK_LIST_PAGE_SIZE = commonJsModule.PRODUCT_FEEDBACK_LIST_PAGE_SIZE;
|
|
30
35
|
export const PRODUCT_FEEDBACK_LOWEST_SCORE = commonJsModule.PRODUCT_FEEDBACK_LOWEST_SCORE;
|
|
31
36
|
export const PRODUCT_FEEDBACK_PAGE_MAX_LENGTH = commonJsModule.PRODUCT_FEEDBACK_PAGE_MAX_LENGTH;
|
|
37
|
+
export const PRODUCT_FEEDBACK_RETENTION_IN_DAYS = commonJsModule.PRODUCT_FEEDBACK_RETENTION_IN_DAYS;
|
|
32
38
|
export const PRODUCT_FEEDBACK_ROUTE = commonJsModule.PRODUCT_FEEDBACK_ROUTE;
|
|
33
39
|
export const PRODUCT_FEEDBACK_SCORES = commonJsModule.PRODUCT_FEEDBACK_SCORES;
|
|
34
40
|
export const PRODUCT_FEEDBACK_SETTINGS_ROUTE = commonJsModule.PRODUCT_FEEDBACK_SETTINGS_ROUTE;
|
|
@@ -40,8 +46,11 @@ export const ProductFeedbackKind = commonJsModule.ProductFeedbackKind;
|
|
|
40
46
|
export const decideFeedbackQuestion = commonJsModule.decideFeedbackQuestion;
|
|
41
47
|
export const getFeedbackQuestionKey = commonJsModule.getFeedbackQuestionKey;
|
|
42
48
|
export const getGiveFeedbackDestination = commonJsModule.getGiveFeedbackDestination;
|
|
49
|
+
export const getProductFeedbackAdminAnswerRoute = commonJsModule.getProductFeedbackAdminAnswerRoute;
|
|
43
50
|
export const getProductFeedbackTopicTitle = commonJsModule.getProductFeedbackTopicTitle;
|
|
44
51
|
export const isCheckInDue = commonJsModule.isCheckInDue;
|
|
52
|
+
export const isDashboardFeedbackKind = commonJsModule.isDashboardFeedbackKind;
|
|
53
|
+
export const isDocsFeedbackReason = commonJsModule.isDocsFeedbackReason;
|
|
45
54
|
export const isGiveFeedbackCategory = commonJsModule.isGiveFeedbackCategory;
|
|
46
55
|
export const isGiveFeedbackEmailed = commonJsModule.isGiveFeedbackEmailed;
|
|
47
56
|
export const isProductFeedbackKind = commonJsModule.isProductFeedbackKind;
|
|
@@ -50,7 +59,9 @@ export const readFeedbackQuestionKey = commonJsModule.readFeedbackQuestionKey;
|
|
|
50
59
|
export const readGiveFeedbackReceipt = commonJsModule.readGiveFeedbackReceipt;
|
|
51
60
|
export const readProductFeedbackSettings = commonJsModule.readProductFeedbackSettings;
|
|
52
61
|
export const readProductFeedbackSubmission = commonJsModule.readProductFeedbackSubmission;
|
|
62
|
+
export const summarizeDocsPageFeedback = commonJsModule.summarizeDocsPageFeedback;
|
|
53
63
|
export const summarizeProductFeedback = commonJsModule.summarizeProductFeedback;
|
|
64
|
+
export const toDocsFeedbackSubmission = commonJsModule.toDocsFeedbackSubmission;
|
|
54
65
|
export const toFeedbackDetails = commonJsModule.toFeedbackDetails;
|
|
55
66
|
export const toFeedbackPage = commonJsModule.toFeedbackPage;
|
|
56
67
|
export const toFeedbackTopic = commonJsModule.toFeedbackTopic;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const ON_CALL_PAGE_PUSH_CATEGORY: string;
|
|
2
2
|
export declare const ON_CALL_OBSERVER_PAGE_PUSH_CATEGORY: string;
|
|
3
|
+
export declare const ON_CALL_TEST_PAGE_PUSH_CATEGORY: string;
|
|
3
4
|
export declare const PUSH_NOTIFICATION_CATEGORIES: ReadonlyArray<string>;
|
|
4
5
|
export declare function isPushNotificationCategory(value: unknown): value is string;
|
|
5
6
|
export declare function getOnCallPagePushCategory(page: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const ON_CALL_PAGE_PUSH_CATEGORY: string;
|
|
2
2
|
export declare const ON_CALL_OBSERVER_PAGE_PUSH_CATEGORY: string;
|
|
3
|
+
export declare const ON_CALL_TEST_PAGE_PUSH_CATEGORY: string;
|
|
3
4
|
export declare const PUSH_NOTIFICATION_CATEGORIES: ReadonlyArray<string>;
|
|
4
5
|
export declare function isPushNotificationCategory(value: unknown): value is string;
|
|
5
6
|
export declare function getOnCallPagePushCategory(page: {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
* notification shade. Every push of an on-call page - an incident, an alert
|
|
9
9
|
* or an episode, a first page, a person's page or a page again
|
|
10
10
|
* (UserNotificationRuleService) - names one of two, by who the page asks for
|
|
11
|
-
* (getOnCallPagePushCategory)
|
|
11
|
+
* (getOnCallPagePushCategory), and a test page's push (OnCallTestPage) names
|
|
12
|
+
* a third of its own:
|
|
12
13
|
*
|
|
13
14
|
* ON_CALL_PAGE_PUSH_CATEGORY a responder's page: Acknowledge and
|
|
14
15
|
* Escalate.
|
|
@@ -18,10 +19,16 @@
|
|
|
18
19
|
* only says they have seen it - the
|
|
19
20
|
* record is not acknowledged - and
|
|
20
21
|
* there is nothing to escalate.
|
|
22
|
+
* ON_CALL_TEST_PAGE_PUSH_CATEGORY a test page (#7014): "Acknowledge
|
|
23
|
+
* test page", and nothing else. It
|
|
24
|
+
* acknowledges the test, never a
|
|
25
|
+
* record - a test has none - and a
|
|
26
|
+
* real page's actions are never under
|
|
27
|
+
* it, nor it under a real page's.
|
|
21
28
|
*
|
|
22
|
-
* Each action opens the app
|
|
23
|
-
*
|
|
24
|
-
*
|
|
29
|
+
* Each action opens the app, after the phone is unlocked, and the screen it
|
|
30
|
+
* opens does what was asked, signed in as the person, as its own buttons
|
|
31
|
+
* would: a page's record's screen, or a test page's own.
|
|
25
32
|
*
|
|
26
33
|
* An app older than a category does not know it, and shows the push with no
|
|
27
34
|
* buttons, as before; so does a push that names no category. The app keeps
|
|
@@ -33,11 +40,12 @@
|
|
|
33
40
|
* web push has no categories and never reads it.
|
|
34
41
|
*/
|
|
35
42
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.PUSH_NOTIFICATION_CATEGORIES = exports.ON_CALL_OBSERVER_PAGE_PUSH_CATEGORY = exports.ON_CALL_PAGE_PUSH_CATEGORY = void 0;
|
|
43
|
+
exports.PUSH_NOTIFICATION_CATEGORIES = exports.ON_CALL_TEST_PAGE_PUSH_CATEGORY = exports.ON_CALL_OBSERVER_PAGE_PUSH_CATEGORY = exports.ON_CALL_PAGE_PUSH_CATEGORY = void 0;
|
|
37
44
|
exports.isPushNotificationCategory = isPushNotificationCategory;
|
|
38
45
|
exports.getOnCallPagePushCategory = getOnCallPagePushCategory;
|
|
39
46
|
exports.ON_CALL_PAGE_PUSH_CATEGORY = "ON_CALL_PAGE";
|
|
40
47
|
exports.ON_CALL_OBSERVER_PAGE_PUSH_CATEGORY = "ON_CALL_OBSERVER_PAGE";
|
|
48
|
+
exports.ON_CALL_TEST_PAGE_PUSH_CATEGORY = "ON_CALL_TEST_PAGE";
|
|
41
49
|
/*
|
|
42
50
|
* Every category a push may name. The push relay forwards only these: what
|
|
43
51
|
* it passes on goes to Expo under its deployment's access token.
|
|
@@ -45,6 +53,7 @@ exports.ON_CALL_OBSERVER_PAGE_PUSH_CATEGORY = "ON_CALL_OBSERVER_PAGE";
|
|
|
45
53
|
exports.PUSH_NOTIFICATION_CATEGORIES = [
|
|
46
54
|
exports.ON_CALL_PAGE_PUSH_CATEGORY,
|
|
47
55
|
exports.ON_CALL_OBSERVER_PAGE_PUSH_CATEGORY,
|
|
56
|
+
exports.ON_CALL_TEST_PAGE_PUSH_CATEGORY,
|
|
48
57
|
];
|
|
49
58
|
function isPushNotificationCategory(value) {
|
|
50
59
|
return (typeof value === "string" && exports.PUSH_NOTIFICATION_CATEGORIES.includes(value));
|
|
@@ -53,7 +62,9 @@ function isPushNotificationCategory(value) {
|
|
|
53
62
|
* The category an on-call page's push names: an observer's page gets its
|
|
54
63
|
* own, whose one action says they have seen it - the responder's
|
|
55
64
|
* Acknowledge would acknowledge the record itself, which is not theirs to.
|
|
56
|
-
* Every other page is a responder's, as every page was before.
|
|
65
|
+
* Every other page is a responder's, as every page was before. A test page
|
|
66
|
+
* never comes here: its push names ON_CALL_TEST_PAGE_PUSH_CATEGORY
|
|
67
|
+
* (OnCallTestPageDelivery).
|
|
57
68
|
*/
|
|
58
69
|
function getOnCallPagePushCategory(page) {
|
|
59
70
|
return page.isObserverPage
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import commonJsModule from "./PushNotificationCategory.js";
|
|
2
2
|
export const ON_CALL_OBSERVER_PAGE_PUSH_CATEGORY = commonJsModule.ON_CALL_OBSERVER_PAGE_PUSH_CATEGORY;
|
|
3
3
|
export const ON_CALL_PAGE_PUSH_CATEGORY = commonJsModule.ON_CALL_PAGE_PUSH_CATEGORY;
|
|
4
|
+
export const ON_CALL_TEST_PAGE_PUSH_CATEGORY = commonJsModule.ON_CALL_TEST_PAGE_PUSH_CATEGORY;
|
|
4
5
|
export const PUSH_NOTIFICATION_CATEGORIES = commonJsModule.PUSH_NOTIFICATION_CATEGORIES;
|
|
5
6
|
export const getOnCallPagePushCategory = commonJsModule.getOnCallPagePushCategory;
|
|
6
7
|
export const isPushNotificationCategory = commonJsModule.isPushNotificationCategory;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RuleCriteriaOperator } from "./RuleCriteria.mjs";
|
|
1
2
|
/**
|
|
2
3
|
* The complete API allowlist for configurable rule criteria.
|
|
3
4
|
*
|
|
@@ -7,6 +8,23 @@
|
|
|
7
8
|
*/
|
|
8
9
|
export declare const RULE_CRITERIA_FIELDS_BY_MODEL: Readonly<Record<string, ReadonlyArray<string>>>;
|
|
9
10
|
export type RegisteredRuleCriteriaModelName = keyof typeof RULE_CRITERIA_FIELDS_BY_MODEL;
|
|
11
|
+
/**
|
|
12
|
+
* WHO OWNS THE RECORD (#9353): conditions on the people and teams on a
|
|
13
|
+
* record's list of owners, which no column of the rule holds. Every field
|
|
14
|
+
* above is one of the rule's own columns, matched the way the column was
|
|
15
|
+
* before conditions existed; these live only in the rule's criteria.
|
|
16
|
+
*
|
|
17
|
+
* A filter's value is the ids of the people and teams picked, in one list,
|
|
18
|
+
* compared with "Has any of" or "Has none of". The record's owners are read
|
|
19
|
+
* when the rule is matched, as they are recorded - a member of an owning
|
|
20
|
+
* team is not an owner by being in it - so an owner added later counts from
|
|
21
|
+
* then on. It is the same matching as a workspace rule's owner condition
|
|
22
|
+
* (#7583).
|
|
23
|
+
*/
|
|
24
|
+
export declare const RULE_CRITERIA_OWNER_FIELDS_BY_MODEL: Readonly<Record<string, ReadonlyArray<string>>>;
|
|
25
|
+
export declare const RULE_CRITERIA_OWNER_OPERATORS: ReadonlyArray<RuleCriteriaOperator>;
|
|
26
|
+
export declare function getRuleCriteriaOwnerFieldsForModel(modelName: string): ReadonlyArray<string>;
|
|
27
|
+
export declare function isRuleCriteriaOwnerField(modelName: string, field: string): boolean;
|
|
10
28
|
/**
|
|
11
29
|
* The rule kinds that match nothing until they have a condition, so their
|
|
12
30
|
* services refuse to save one with an empty condition list. Every other rule
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RuleCriteriaOperator } from "./RuleCriteria";
|
|
1
2
|
/**
|
|
2
3
|
* The complete API allowlist for configurable rule criteria.
|
|
3
4
|
*
|
|
@@ -7,6 +8,23 @@
|
|
|
7
8
|
*/
|
|
8
9
|
export declare const RULE_CRITERIA_FIELDS_BY_MODEL: Readonly<Record<string, ReadonlyArray<string>>>;
|
|
9
10
|
export type RegisteredRuleCriteriaModelName = keyof typeof RULE_CRITERIA_FIELDS_BY_MODEL;
|
|
11
|
+
/**
|
|
12
|
+
* WHO OWNS THE RECORD (#9353): conditions on the people and teams on a
|
|
13
|
+
* record's list of owners, which no column of the rule holds. Every field
|
|
14
|
+
* above is one of the rule's own columns, matched the way the column was
|
|
15
|
+
* before conditions existed; these live only in the rule's criteria.
|
|
16
|
+
*
|
|
17
|
+
* A filter's value is the ids of the people and teams picked, in one list,
|
|
18
|
+
* compared with "Has any of" or "Has none of". The record's owners are read
|
|
19
|
+
* when the rule is matched, as they are recorded - a member of an owning
|
|
20
|
+
* team is not an owner by being in it - so an owner added later counts from
|
|
21
|
+
* then on. It is the same matching as a workspace rule's owner condition
|
|
22
|
+
* (#7583).
|
|
23
|
+
*/
|
|
24
|
+
export declare const RULE_CRITERIA_OWNER_FIELDS_BY_MODEL: Readonly<Record<string, ReadonlyArray<string>>>;
|
|
25
|
+
export declare const RULE_CRITERIA_OWNER_OPERATORS: ReadonlyArray<RuleCriteriaOperator>;
|
|
26
|
+
export declare function getRuleCriteriaOwnerFieldsForModel(modelName: string): ReadonlyArray<string>;
|
|
27
|
+
export declare function isRuleCriteriaOwnerField(modelName: string, field: string): boolean;
|
|
10
28
|
/**
|
|
11
29
|
* The rule kinds that match nothing until they have a condition, so their
|
|
12
30
|
* services refuse to save one with an empty condition list. Every other rule
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RULE_CRITERIA_MODELS_REQUIRING_A_CONDITION = exports.RULE_CRITERIA_FIELDS_BY_MODEL = void 0;
|
|
3
|
+
exports.RULE_CRITERIA_MODELS_REQUIRING_A_CONDITION = exports.RULE_CRITERIA_OWNER_OPERATORS = exports.RULE_CRITERIA_OWNER_FIELDS_BY_MODEL = exports.RULE_CRITERIA_FIELDS_BY_MODEL = void 0;
|
|
4
|
+
exports.getRuleCriteriaOwnerFieldsForModel = getRuleCriteriaOwnerFieldsForModel;
|
|
5
|
+
exports.isRuleCriteriaOwnerField = isRuleCriteriaOwnerField;
|
|
4
6
|
exports.isRuleCriteriaConditionRequired = isRuleCriteriaConditionRequired;
|
|
5
7
|
exports.getRuleCriteriaFieldsForModel = getRuleCriteriaFieldsForModel;
|
|
8
|
+
const RuleCriteria_1 = require("./RuleCriteria");
|
|
6
9
|
/**
|
|
7
10
|
* The complete API allowlist for configurable rule criteria.
|
|
8
11
|
*
|
|
@@ -571,6 +574,36 @@ exports.RULE_CRITERIA_FIELDS_BY_MODEL = {
|
|
|
571
574
|
"workflowDescriptionPattern",
|
|
572
575
|
],
|
|
573
576
|
};
|
|
577
|
+
/**
|
|
578
|
+
* WHO OWNS THE RECORD (#9353): conditions on the people and teams on a
|
|
579
|
+
* record's list of owners, which no column of the rule holds. Every field
|
|
580
|
+
* above is one of the rule's own columns, matched the way the column was
|
|
581
|
+
* before conditions existed; these live only in the rule's criteria.
|
|
582
|
+
*
|
|
583
|
+
* A filter's value is the ids of the people and teams picked, in one list,
|
|
584
|
+
* compared with "Has any of" or "Has none of". The record's owners are read
|
|
585
|
+
* when the rule is matched, as they are recorded - a member of an owning
|
|
586
|
+
* team is not an owner by being in it - so an owner added later counts from
|
|
587
|
+
* then on. It is the same matching as a workspace rule's owner condition
|
|
588
|
+
* (#7583).
|
|
589
|
+
*/
|
|
590
|
+
exports.RULE_CRITERIA_OWNER_FIELDS_BY_MODEL = {
|
|
591
|
+
AlertOnCallRule: ["alertOwners"],
|
|
592
|
+
};
|
|
593
|
+
// How an owner condition compares: one of the picks is an owner, or none is.
|
|
594
|
+
exports.RULE_CRITERIA_OWNER_OPERATORS = [RuleCriteria_1.RuleCriteriaOperator.HasAnyOf, RuleCriteria_1.RuleCriteriaOperator.HasNoneOf];
|
|
595
|
+
const RULE_CRITERIA_OWNER_FIELD_LOOKUP = exports.RULE_CRITERIA_OWNER_FIELDS_BY_MODEL;
|
|
596
|
+
// The owner fields of a kind of rule, or none.
|
|
597
|
+
function getRuleCriteriaOwnerFieldsForModel(modelName) {
|
|
598
|
+
if (!Object.prototype.hasOwnProperty.call(RULE_CRITERIA_OWNER_FIELD_LOOKUP, modelName)) {
|
|
599
|
+
return [];
|
|
600
|
+
}
|
|
601
|
+
return RULE_CRITERIA_OWNER_FIELD_LOOKUP[modelName] || [];
|
|
602
|
+
}
|
|
603
|
+
// Whether a field of a kind of rule is an owner condition.
|
|
604
|
+
function isRuleCriteriaOwnerField(modelName, field) {
|
|
605
|
+
return getRuleCriteriaOwnerFieldsForModel(modelName).includes(field);
|
|
606
|
+
}
|
|
574
607
|
/**
|
|
575
608
|
* The rule kinds that match nothing until they have a condition, so their
|
|
576
609
|
* services refuse to save one with an empty condition list. Every other rule
|
|
@@ -2,5 +2,9 @@ import commonJsModule from "./RuleCriteriaFieldRegistry.js";
|
|
|
2
2
|
export default commonJsModule.default;
|
|
3
3
|
export const RULE_CRITERIA_FIELDS_BY_MODEL = commonJsModule.RULE_CRITERIA_FIELDS_BY_MODEL;
|
|
4
4
|
export const RULE_CRITERIA_MODELS_REQUIRING_A_CONDITION = commonJsModule.RULE_CRITERIA_MODELS_REQUIRING_A_CONDITION;
|
|
5
|
+
export const RULE_CRITERIA_OWNER_FIELDS_BY_MODEL = commonJsModule.RULE_CRITERIA_OWNER_FIELDS_BY_MODEL;
|
|
6
|
+
export const RULE_CRITERIA_OWNER_OPERATORS = commonJsModule.RULE_CRITERIA_OWNER_OPERATORS;
|
|
5
7
|
export const getRuleCriteriaFieldsForModel = commonJsModule.getRuleCriteriaFieldsForModel;
|
|
8
|
+
export const getRuleCriteriaOwnerFieldsForModel = commonJsModule.getRuleCriteriaOwnerFieldsForModel;
|
|
6
9
|
export const isRuleCriteriaConditionRequired = commonJsModule.isRuleCriteriaConditionRequired;
|
|
10
|
+
export const isRuleCriteriaOwnerField = commonJsModule.isRuleCriteriaOwnerField;
|
|
@@ -4,8 +4,14 @@ export declare const PRODUCT_ANALYTICS_TREND_ROUTE: string;
|
|
|
4
4
|
export declare const PRODUCT_ANALYTICS_BREAKDOWN_ROUTE: string;
|
|
5
5
|
export declare const PRODUCT_ANALYTICS_PEOPLE_ROUTE: string;
|
|
6
6
|
export declare const PRODUCT_ANALYTICS_PERSON_ROUTE: string;
|
|
7
|
+
export declare const PRODUCT_ANALYTICS_RETENTION_MONTHS_OPTIONS: ReadonlyArray<number>;
|
|
8
|
+
export declare const DEFAULT_PRODUCT_ANALYTICS_RETENTION_MONTHS: number;
|
|
7
9
|
export declare const PRODUCT_ANALYTICS_RETENTION_MONTHS: number;
|
|
10
|
+
export declare const MAX_PRODUCT_ANALYTICS_RETENTION_MONTHS: number;
|
|
11
|
+
export declare function getProductAnalyticsRetentionMonths(value: unknown): number;
|
|
12
|
+
export declare function getProductAnalyticsRetentionCutoff(months: number, now: Date): Date;
|
|
8
13
|
export declare const PRODUCT_ANALYTICS_MAX_RANGE_DAYS: number;
|
|
14
|
+
export declare function getProductAnalyticsMaxRangeDays(retentionMonths: number): number;
|
|
9
15
|
export declare const PRODUCT_ANALYTICS_WEEKLY_WINDOW_DAYS: number;
|
|
10
16
|
export declare const PRODUCT_ANALYTICS_MONTHLY_WINDOW_DAYS: number;
|
|
11
17
|
export declare const PRODUCT_ANALYTICS_DORMANT_AFTER_DAYS_OPTIONS: ReadonlyArray<number>;
|
|
@@ -79,6 +85,7 @@ export interface ProductAnalyticsSummaryDto {
|
|
|
79
85
|
dormantUsers: number;
|
|
80
86
|
dormantAfterDays: number;
|
|
81
87
|
dataStartedAt: number | null;
|
|
88
|
+
retentionMonths?: number | undefined;
|
|
82
89
|
}
|
|
83
90
|
export interface ProductAnalyticsTrendDayDto {
|
|
84
91
|
day: string;
|
|
@@ -127,6 +134,7 @@ export interface ProductAnalyticsPeopleDto {
|
|
|
127
134
|
people: Array<ProductAnalyticsPersonDto>;
|
|
128
135
|
hasMore: boolean;
|
|
129
136
|
includesLabels: boolean;
|
|
137
|
+
retentionMonths?: number | undefined;
|
|
130
138
|
}
|
|
131
139
|
export interface ProductAnalyticsPersonSessionDto {
|
|
132
140
|
sessionId: string;
|
|
@@ -150,4 +158,5 @@ export interface ProductAnalyticsPersonDetailDto {
|
|
|
150
158
|
sessions: Array<ProductAnalyticsPersonSessionDto>;
|
|
151
159
|
hasMore: boolean;
|
|
152
160
|
includesLabels: boolean;
|
|
161
|
+
retentionMonths?: number | undefined;
|
|
153
162
|
}
|
|
@@ -4,8 +4,14 @@ export declare const PRODUCT_ANALYTICS_TREND_ROUTE: string;
|
|
|
4
4
|
export declare const PRODUCT_ANALYTICS_BREAKDOWN_ROUTE: string;
|
|
5
5
|
export declare const PRODUCT_ANALYTICS_PEOPLE_ROUTE: string;
|
|
6
6
|
export declare const PRODUCT_ANALYTICS_PERSON_ROUTE: string;
|
|
7
|
+
export declare const PRODUCT_ANALYTICS_RETENTION_MONTHS_OPTIONS: ReadonlyArray<number>;
|
|
8
|
+
export declare const DEFAULT_PRODUCT_ANALYTICS_RETENTION_MONTHS: number;
|
|
7
9
|
export declare const PRODUCT_ANALYTICS_RETENTION_MONTHS: number;
|
|
10
|
+
export declare const MAX_PRODUCT_ANALYTICS_RETENTION_MONTHS: number;
|
|
11
|
+
export declare function getProductAnalyticsRetentionMonths(value: unknown): number;
|
|
12
|
+
export declare function getProductAnalyticsRetentionCutoff(months: number, now: Date): Date;
|
|
8
13
|
export declare const PRODUCT_ANALYTICS_MAX_RANGE_DAYS: number;
|
|
14
|
+
export declare function getProductAnalyticsMaxRangeDays(retentionMonths: number): number;
|
|
9
15
|
export declare const PRODUCT_ANALYTICS_WEEKLY_WINDOW_DAYS: number;
|
|
10
16
|
export declare const PRODUCT_ANALYTICS_MONTHLY_WINDOW_DAYS: number;
|
|
11
17
|
export declare const PRODUCT_ANALYTICS_DORMANT_AFTER_DAYS_OPTIONS: ReadonlyArray<number>;
|
|
@@ -79,6 +85,7 @@ export interface ProductAnalyticsSummaryDto {
|
|
|
79
85
|
dormantUsers: number;
|
|
80
86
|
dormantAfterDays: number;
|
|
81
87
|
dataStartedAt: number | null;
|
|
88
|
+
retentionMonths?: number | undefined;
|
|
82
89
|
}
|
|
83
90
|
export interface ProductAnalyticsTrendDayDto {
|
|
84
91
|
day: string;
|
|
@@ -127,6 +134,7 @@ export interface ProductAnalyticsPeopleDto {
|
|
|
127
134
|
people: Array<ProductAnalyticsPersonDto>;
|
|
128
135
|
hasMore: boolean;
|
|
129
136
|
includesLabels: boolean;
|
|
137
|
+
retentionMonths?: number | undefined;
|
|
130
138
|
}
|
|
131
139
|
export interface ProductAnalyticsPersonSessionDto {
|
|
132
140
|
sessionId: string;
|
|
@@ -150,4 +158,5 @@ export interface ProductAnalyticsPersonDetailDto {
|
|
|
150
158
|
sessions: Array<ProductAnalyticsPersonSessionDto>;
|
|
151
159
|
hasMore: boolean;
|
|
152
160
|
includesLabels: boolean;
|
|
161
|
+
retentionMonths?: number | undefined;
|
|
153
162
|
}
|