@oneuptime/common 14.0.99 → 14.0.101
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/ExceptionInstance.d.mts +2 -0
- package/Models/AnalyticsModels/ExceptionInstance.d.ts +2 -0
- package/Models/AnalyticsModels/ExceptionInstance.js +31 -0
- package/Models/AnalyticsModels/LogCountBaseline.d.mts +6 -0
- package/Models/AnalyticsModels/LogCountBaseline.d.ts +6 -0
- package/Models/AnalyticsModels/LogCountBaseline.js +7 -1
- package/Models/AnalyticsModels/MetricBaselineHourly.d.mts +11 -6
- package/Models/AnalyticsModels/MetricBaselineHourly.d.ts +11 -6
- package/Models/AnalyticsModels/MetricBaselineHourly.js +12 -7
- package/Models/AnalyticsModels/NetworkTrafficUsage.js +30 -10
- package/Models/AnalyticsModels/RumSessionChunk.js +1 -1
- package/Models/AnalyticsModels/SpanCountBaseline.d.mts +17 -9
- package/Models/AnalyticsModels/SpanCountBaseline.d.ts +17 -9
- package/Models/AnalyticsModels/SpanCountBaseline.js +18 -10
- package/Models/DatabaseModels/CloudApp.d.mts +27 -0
- package/Models/DatabaseModels/CloudApp.d.ts +27 -0
- package/Models/DatabaseModels/CloudApp.js +414 -0
- package/Models/DatabaseModels/CloudApp.mjs +2 -0
- package/Models/DatabaseModels/CloudAppRevision.d.mts +23 -0
- package/Models/DatabaseModels/CloudAppRevision.d.ts +23 -0
- package/Models/DatabaseModels/CloudAppRevision.js +351 -0
- package/Models/DatabaseModels/CloudAppRevision.mjs +2 -0
- package/Models/DatabaseModels/CloudResourceFeed.d.mts +4 -1
- package/Models/DatabaseModels/CloudResourceFeed.d.ts +4 -1
- package/Models/DatabaseModels/CloudResourceFeed.js +17 -1
- package/Models/DatabaseModels/CloudResourceFeed.mjs +1 -0
- package/Models/DatabaseModels/CloudResourceInstance.d.mts +4 -0
- package/Models/DatabaseModels/CloudResourceInstance.d.ts +4 -0
- package/Models/DatabaseModels/CloudResourceInstance.js +60 -1
- package/Models/DatabaseModels/CloudResourceLabelRule.d.mts +2 -0
- package/Models/DatabaseModels/CloudResourceLabelRule.d.ts +2 -0
- package/Models/DatabaseModels/CloudResourceLabelRule.js +44 -1
- package/Models/DatabaseModels/CloudResourceOwnerRule.d.mts +2 -0
- package/Models/DatabaseModels/CloudResourceOwnerRule.d.ts +2 -0
- package/Models/DatabaseModels/CloudResourceOwnerRule.js +44 -1
- package/Models/DatabaseModels/Dashboard.d.mts +2 -0
- package/Models/DatabaseModels/Dashboard.d.ts +2 -0
- package/Models/DatabaseModels/Dashboard.js +88 -0
- package/Models/DatabaseModels/DataSecurityIdentity.d.mts +29 -0
- package/Models/DatabaseModels/DataSecurityIdentity.d.ts +29 -0
- package/Models/DatabaseModels/DataSecurityIdentity.js +535 -0
- package/Models/DatabaseModels/DataSecurityIdentity.mjs +2 -0
- package/Models/DatabaseModels/DataStore.d.mts +1 -0
- package/Models/DatabaseModels/DataStore.d.ts +1 -0
- package/Models/DatabaseModels/DataStore.js +16 -0
- package/Models/DatabaseModels/DataStoreAccess.d.mts +1 -0
- package/Models/DatabaseModels/DataStoreAccess.d.ts +1 -0
- package/Models/DatabaseModels/DataStoreAccess.js +20 -0
- package/Models/DatabaseModels/DataStoreFinding.d.mts +3 -0
- package/Models/DatabaseModels/DataStoreFinding.d.ts +3 -0
- package/Models/DatabaseModels/DataStoreFinding.js +63 -1
- package/Models/DatabaseModels/DetectionRule.d.mts +1 -0
- package/Models/DatabaseModels/DetectionRule.d.ts +1 -0
- package/Models/DatabaseModels/DetectionRule.js +31 -0
- package/Models/DatabaseModels/ExceptionSavedView.d.mts +16 -0
- package/Models/DatabaseModels/ExceptionSavedView.d.ts +16 -0
- package/Models/DatabaseModels/ExceptionSavedView.js +413 -0
- package/Models/DatabaseModels/ExceptionSavedView.mjs +2 -0
- package/Models/DatabaseModels/FormDomain.d.mts +28 -0
- package/Models/DatabaseModels/FormDomain.d.ts +28 -0
- package/Models/DatabaseModels/FormDomain.js +598 -0
- package/Models/DatabaseModels/FormDomain.mjs +2 -0
- package/Models/DatabaseModels/IncidentEpisodeRoleMember.js +10 -1
- package/Models/DatabaseModels/Index.js +12 -0
- package/Models/DatabaseModels/KubernetesResource.d.mts +1 -0
- package/Models/DatabaseModels/KubernetesResource.d.ts +1 -0
- package/Models/DatabaseModels/KubernetesResource.js +36 -0
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.d.mts +2 -1
- package/Models/DatabaseModels/NetworkDeviceDiscoveryScan.d.ts +2 -1
- package/Models/DatabaseModels/NetworkEndpoint.d.mts +2 -0
- package/Models/DatabaseModels/NetworkEndpoint.d.ts +2 -0
- package/Models/DatabaseModels/NetworkEndpoint.js +62 -1
- package/Models/DatabaseModels/ProxmoxCluster.d.mts +2 -0
- package/Models/DatabaseModels/ProxmoxCluster.d.ts +2 -0
- package/Models/DatabaseModels/ProxmoxCluster.js +66 -0
- package/Models/DatabaseModels/ProxmoxResource.d.mts +13 -0
- package/Models/DatabaseModels/ProxmoxResource.d.ts +13 -0
- package/Models/DatabaseModels/ProxmoxResource.js +292 -0
- package/Models/DatabaseModels/StatusPageSubscriber.d.mts +1 -0
- package/Models/DatabaseModels/StatusPageSubscriber.d.ts +1 -0
- package/Models/DatabaseModels/StatusPageSubscriber.js +52 -0
- package/Models/DatabaseModels/TelemetryException.d.mts +5 -0
- package/Models/DatabaseModels/TelemetryException.d.ts +5 -0
- package/Models/DatabaseModels/TelemetryException.js +183 -0
- package/Models/DatabaseModels/TelemetryExceptionActivity.d.mts +42 -0
- package/Models/DatabaseModels/TelemetryExceptionActivity.d.ts +42 -0
- package/Models/DatabaseModels/TelemetryExceptionActivity.js +527 -0
- package/Models/DatabaseModels/TelemetryExceptionActivity.mjs +3 -0
- package/Server/Services/DatabaseService.d.mts +10 -0
- package/Server/Services/DatabaseService.d.ts +10 -0
- package/Types/AI/AIResourceContext.d.mts +2 -0
- package/Types/AI/AIResourceContext.d.ts +2 -0
- package/Types/AI/AIResourceContext.js +5 -0
- package/Types/Analytics/CookieConsent.d.mts +1 -0
- package/Types/Analytics/CookieConsent.d.ts +1 -0
- package/Types/Analytics/CookieConsent.js +10 -0
- package/Types/Analytics/CookieConsent.mjs +2 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.d.mts +3 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.d.ts +3 -0
- package/Types/AutoRemediation/AiRemediationCommandPlan.js +11 -2
- package/Types/AutoRemediation/RemediationTrackRecord.d.mts +26 -0
- package/Types/AutoRemediation/RemediationTrackRecord.d.ts +26 -0
- package/Types/AutoRemediation/RemediationTrackRecord.js +137 -0
- package/Types/AutoRemediation/RemediationTrackRecord.mjs +8 -0
- package/Types/AutoRemediation/RemediationTrackRecordWords.d.mts +10 -0
- package/Types/AutoRemediation/RemediationTrackRecordWords.d.ts +10 -0
- package/Types/AutoRemediation/RemediationTrackRecordWords.js +86 -0
- package/Types/AutoRemediation/RemediationTrackRecordWords.mjs +9 -0
- package/Types/BaseDatabase/AggregateBy.d.mts +13 -0
- package/Types/BaseDatabase/AggregateBy.d.ts +13 -0
- package/Types/Billing/SubscriptionPlanPricing.d.mts +2 -0
- package/Types/Billing/SubscriptionPlanPricing.d.ts +2 -0
- package/Types/Billing/SubscriptionPlanPricing.js +30 -0
- package/Types/Billing/SubscriptionPlanPricing.mjs +2 -0
- package/Types/Cloud/CloudPlatform.d.mts +3 -0
- package/Types/Cloud/CloudPlatform.d.ts +3 -0
- package/Types/Cloud/CloudPlatform.js +50 -0
- package/Types/Cloud/CloudResourceKind.d.mts +11 -0
- package/Types/Cloud/CloudResourceKind.d.ts +11 -0
- package/Types/Cloud/CloudResourceKind.js +78 -9
- package/Types/Cloud/CloudResourceKind.mjs +5 -0
- package/Types/CloudConnection/CloudConnectionCatalog.js +10 -8
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +32 -10
- package/Types/CustomField/CustomFieldFile.d.mts +69 -0
- package/Types/CustomField/CustomFieldFile.d.ts +69 -0
- package/Types/CustomField/CustomFieldFile.js +235 -0
- package/Types/CustomField/CustomFieldFile.mjs +16 -0
- package/Types/CustomField/CustomFieldRecordKinds.d.mts +25 -0
- package/Types/CustomField/CustomFieldRecordKinds.d.ts +25 -0
- package/Types/CustomField/CustomFieldRecordKinds.js +111 -0
- package/Types/CustomField/CustomFieldRecordKinds.mjs +6 -0
- package/Types/CustomField/CustomFieldType.d.mts +15 -1
- package/Types/CustomField/CustomFieldType.d.ts +15 -1
- package/Types/CustomField/CustomFieldType.js +14 -0
- package/Types/CustomField/CustomFieldValueFormat.d.mts +3 -2
- package/Types/CustomField/CustomFieldValueFormat.d.ts +3 -2
- package/Types/CustomField/CustomFieldValueFormat.js +8 -2
- package/Types/CustomField/CustomFieldValueMapping.js +31 -2
- package/Types/CustomField/CustomFieldValueValidator.js +41 -1
- package/Types/Dashboard/DashboardLanguage.d.mts +1 -0
- package/Types/Dashboard/DashboardLanguage.d.ts +1 -0
- package/Types/Dashboard/DashboardLanguage.js +7 -1
- package/Types/Dashboard/DashboardLanguage.mjs +1 -0
- package/Types/Dashboard/DashboardTemplateFallbackHints.d.mts +4 -0
- package/Types/Dashboard/DashboardTemplateFallbackHints.d.ts +4 -0
- package/Types/Dashboard/DashboardTemplateFallbackHints.js +42 -0
- package/Types/Dashboard/DashboardTemplateFallbackHints.mjs +4 -0
- package/Types/Dashboard/DashboardTemplates.js +34 -11
- package/Types/DataSecurity/ComplianceRequirementCatalog.js +4 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.d.mts +1 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.d.ts +1 -0
- package/Types/DataSecurity/DataSecurityCheckCatalog.js +53 -0
- package/Types/DataSecurity/DataSecurityIdentity.d.mts +27 -0
- package/Types/DataSecurity/DataSecurityIdentity.d.ts +27 -0
- package/Types/DataSecurity/DataSecurityIdentity.js +160 -0
- package/Types/DataSecurity/DataSecurityIdentity.mjs +14 -0
- package/Types/DataSecurity/DataSecurityResponseAction.d.mts +9 -1
- package/Types/DataSecurity/DataSecurityResponseAction.d.ts +9 -1
- package/Types/DataSecurity/DataSecurityResponseAction.js +113 -26
- package/Types/DataSecurity/DataSecurityResponseAction.mjs +2 -0
- package/Types/DataSecurity/DataStoreAccess.d.mts +7 -0
- package/Types/DataSecurity/DataStoreAccess.d.ts +7 -0
- package/Types/DataSecurity/DataStoreAccess.js +23 -1
- package/Types/DataSecurity/DataStoreAccess.mjs +2 -0
- package/Types/Date.d.mts +30 -1
- package/Types/Date.d.ts +30 -1
- package/Types/Date.js +173 -5
- package/Types/Email/EmailMessage.d.mts +1 -0
- package/Types/Email/EmailMessage.d.ts +1 -0
- package/Types/Episode/EpisodeMembersAdd.d.mts +2 -0
- package/Types/Episode/EpisodeMembersAdd.d.ts +2 -0
- package/Types/Episode/EpisodeMembersAdd.js +9 -1
- package/Types/Episode/EpisodeMembersAdd.mjs +2 -0
- package/Types/File/FileContentCheck.d.mts +13 -0
- package/Types/File/FileContentCheck.d.ts +13 -0
- package/Types/File/FileContentCheck.js +301 -0
- package/Types/File/FileContentCheck.mjs +4 -0
- package/Types/File/FileSize.d.mts +3 -0
- package/Types/File/FileSize.d.ts +3 -0
- package/Types/File/FileSize.js +30 -0
- package/Types/File/FileSize.mjs +3 -0
- package/Types/File/FileTypeIcon.d.mts +4 -0
- package/Types/File/FileTypeIcon.d.ts +4 -0
- package/Types/File/FileTypeIcon.js +26 -0
- package/Types/File/FileTypeIcon.mjs +3 -0
- package/Types/File/MimeTypeLabel.d.mts +3 -0
- package/Types/File/MimeTypeLabel.d.ts +3 -0
- package/Types/File/MimeTypeLabel.js +39 -0
- package/Types/File/MimeTypeLabel.mjs +3 -0
- package/Types/Form/FormCustomDomain.d.mts +19 -0
- package/Types/Form/FormCustomDomain.d.ts +19 -0
- package/Types/Form/FormCustomDomain.js +86 -0
- package/Types/Form/FormCustomDomain.mjs +13 -0
- package/Types/Form/FormField.js +6 -0
- package/Types/Form/FormFileAnswer.d.mts +34 -0
- package/Types/Form/FormFileAnswer.d.ts +34 -0
- package/Types/Form/FormFileAnswer.js +203 -0
- package/Types/Form/FormFileAnswer.mjs +10 -0
- package/Types/Form/FormPublic.d.mts +16 -1
- package/Types/Form/FormPublic.d.ts +16 -1
- package/Types/Form/FormPublic.js +184 -2
- package/Types/Form/FormPublic.mjs +5 -0
- package/Types/Form/FormSubmissionAnswer.js +29 -0
- package/Types/InstallScripts/InstallScripts.d.mts +28 -0
- package/Types/InstallScripts/InstallScripts.d.ts +28 -0
- package/Types/InstallScripts/InstallScripts.js +225 -0
- package/Types/InstallScripts/InstallScripts.mjs +11 -0
- package/Types/Kubernetes/KubernetesClusterProvider.d.mts +10 -0
- package/Types/Kubernetes/KubernetesClusterProvider.d.ts +10 -0
- package/Types/Kubernetes/KubernetesClusterProvider.js +95 -0
- package/Types/Kubernetes/KubernetesClusterProvider.mjs +8 -0
- package/Types/Kubernetes/KubernetesHealth.d.mts +92 -0
- package/Types/Kubernetes/KubernetesHealth.d.ts +92 -0
- package/Types/Kubernetes/KubernetesHealth.js +1273 -0
- package/Types/Kubernetes/KubernetesHealth.mjs +32 -0
- package/Types/Kubernetes/KubernetesInventoryExtractor.d.mts +2 -0
- package/Types/Kubernetes/KubernetesInventoryExtractor.d.ts +2 -0
- package/Types/Kubernetes/KubernetesInventoryExtractor.js +30 -16
- package/Types/Kubernetes/KubernetesObjectParser.d.mts +54 -0
- package/Types/Kubernetes/KubernetesObjectParser.d.ts +54 -0
- package/Types/Kubernetes/KubernetesObjectParser.js +228 -38
- package/Types/Kubernetes/KubernetesObjectParser.mjs +6 -0
- package/Types/Kubernetes/OpenShiftObjectAttributes.d.mts +20 -0
- package/Types/Kubernetes/OpenShiftObjectAttributes.d.ts +20 -0
- package/Types/Kubernetes/OpenShiftObjectAttributes.js +124 -0
- package/Types/Kubernetes/OpenShiftObjectAttributes.mjs +5 -0
- package/Types/Kubernetes/OpenShiftObjectParser.d.mts +140 -0
- package/Types/Kubernetes/OpenShiftObjectParser.d.ts +140 -0
- package/Types/Kubernetes/OpenShiftObjectParser.js +436 -0
- package/Types/Kubernetes/OpenShiftObjectParser.mjs +22 -0
- package/Types/Metrics/MetricQueryConfigData.d.mts +2 -0
- package/Types/Metrics/MetricQueryConfigData.d.ts +2 -0
- package/Types/Metrics/MetricQueryFallback.d.mts +10 -0
- package/Types/Metrics/MetricQueryFallback.d.ts +10 -0
- package/Types/Metrics/MetricQueryFallback.js +2 -0
- package/Types/Metrics/MetricQueryFallback.mjs +1 -0
- package/Types/Monitor/CephAlertTemplates.d.mts +2 -2
- package/Types/Monitor/CephAlertTemplates.d.ts +2 -2
- package/Types/Monitor/CephAlertTemplates.js +17 -14
- package/Types/Monitor/CephMetricCatalog.d.mts +2 -0
- package/Types/Monitor/CephMetricCatalog.d.ts +2 -0
- package/Types/Monitor/CephMetricCatalog.js +72 -29
- package/Types/Monitor/CephMetricCatalog.mjs +2 -0
- package/Types/Monitor/CriteriaFilter.d.mts +17 -0
- package/Types/Monitor/CriteriaFilter.d.ts +17 -0
- package/Types/Monitor/CriteriaFilter.js +23 -1
- package/Types/Monitor/CriteriaFilter.mjs +3 -0
- package/Types/Monitor/DockerAlertTemplates.d.mts +1 -0
- package/Types/Monitor/DockerAlertTemplates.d.ts +1 -0
- package/Types/Monitor/DockerAlertTemplates.js +63 -52
- package/Types/Monitor/DockerMetricCatalog.js +16 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.d.mts +1 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.d.ts +1 -0
- package/Types/Monitor/DockerSwarmAlertTemplates.js +13 -2
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.d.mts +34 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.d.ts +34 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.js +170 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorEvaluation.mjs +12 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorResponse.d.mts +17 -0
- package/Types/Monitor/ExceptionMonitor/ExceptionMonitorResponse.d.ts +17 -0
- package/Types/Monitor/HostMetricCatalog.d.mts +2 -0
- package/Types/Monitor/HostMetricCatalog.d.ts +2 -0
- package/Types/Monitor/HostMetricCatalog.js +20 -11
- package/Types/Monitor/IotAlertTemplates.d.mts +1 -0
- package/Types/Monitor/IotAlertTemplates.d.ts +1 -0
- package/Types/Monitor/IotAlertTemplates.js +11 -7
- package/Types/Monitor/KubernetesAlertTemplates.d.mts +15 -12
- package/Types/Monitor/KubernetesAlertTemplates.d.ts +15 -12
- package/Types/Monitor/KubernetesAlertTemplates.js +393 -73
- package/Types/Monitor/KubernetesMetricCatalog.d.mts +2 -1
- package/Types/Monitor/KubernetesMetricCatalog.d.ts +2 -1
- package/Types/Monitor/KubernetesMetricCatalog.js +119 -1
- package/Types/Monitor/LogMonitor/LogMonitorResponse.d.mts +1 -0
- package/Types/Monitor/LogMonitor/LogMonitorResponse.d.ts +1 -0
- package/Types/Monitor/MetricMonitor/MetricCriteriaContext.d.mts +24 -1
- package/Types/Monitor/MetricMonitor/MetricCriteriaContext.d.ts +24 -1
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.mts +1 -0
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.ts +1 -0
- package/Types/Monitor/MonitorStepCephMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepCephMonitor.d.ts +1 -0
- package/Types/Monitor/MonitorStepDockerMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepDockerMonitor.d.ts +1 -0
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.d.mts +10 -0
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.d.ts +10 -0
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.js +3 -1
- package/Types/Monitor/MonitorStepDockerSwarmMonitor.mjs +1 -0
- package/Types/Monitor/MonitorStepExceptionMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepExceptionMonitor.d.ts +1 -0
- package/Types/Monitor/MonitorStepExceptionMonitor.js +13 -2
- package/Types/Monitor/MonitorStepHostMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepHostMonitor.d.ts +1 -0
- package/Types/Monitor/MonitorStepIoTMonitor.d.mts +9 -0
- package/Types/Monitor/MonitorStepIoTMonitor.d.ts +9 -0
- package/Types/Monitor/MonitorStepIoTMonitor.js +21 -0
- package/Types/Monitor/MonitorStepKubernetesMonitor.d.mts +11 -1
- package/Types/Monitor/MonitorStepKubernetesMonitor.d.ts +11 -1
- package/Types/Monitor/MonitorStepKubernetesMonitor.js +15 -4
- package/Types/Monitor/MonitorStepKubernetesMonitor.mjs +2 -0
- package/Types/Monitor/MonitorStepPodmanMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepPodmanMonitor.d.ts +1 -0
- package/Types/Monitor/MonitorStepProxmoxMonitor.d.mts +5 -3
- package/Types/Monitor/MonitorStepProxmoxMonitor.d.ts +5 -3
- package/Types/Monitor/MonitorStepProxmoxMonitor.js +1 -1
- package/Types/Monitor/MonitorStepStorageArrayMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepStorageArrayMonitor.d.ts +1 -0
- package/Types/Monitor/MonitorStepVMwareMonitor.d.mts +1 -0
- package/Types/Monitor/MonitorStepVMwareMonitor.d.ts +1 -0
- package/Types/Monitor/OpenShiftAlertTemplates.d.mts +29 -0
- package/Types/Monitor/OpenShiftAlertTemplates.d.ts +29 -0
- package/Types/Monitor/OpenShiftAlertTemplates.js +220 -0
- package/Types/Monitor/OpenShiftAlertTemplates.mjs +9 -0
- package/Types/Monitor/PodmanAlertTemplates.d.mts +1 -10
- package/Types/Monitor/PodmanAlertTemplates.d.ts +1 -10
- package/Types/Monitor/PodmanAlertTemplates.js +40 -85
- package/Types/Monitor/PodmanAlertTemplates.mjs +0 -1
- package/Types/Monitor/PodmanMetricCatalog.js +16 -0
- package/Types/Monitor/ProxmoxAlertTemplates.d.mts +1 -0
- package/Types/Monitor/ProxmoxAlertTemplates.d.ts +1 -0
- package/Types/Monitor/ProxmoxAlertTemplates.js +190 -4
- package/Types/Monitor/ProxmoxAlertTemplates.mjs +1 -0
- package/Types/Monitor/ProxmoxMetricCatalog.js +43 -22
- package/Types/Monitor/ProxmoxNotificationAlertTemplates.d.mts +24 -0
- package/Types/Monitor/ProxmoxNotificationAlertTemplates.d.ts +24 -0
- package/Types/Monitor/ProxmoxNotificationAlertTemplates.js +251 -0
- package/Types/Monitor/ProxmoxNotificationAlertTemplates.mjs +12 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationCatalog.js +71 -3
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +1 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +1 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.js +23 -7
- package/Types/Monitor/ServiceAlertTemplates.js +111 -3
- package/Types/Monitor/SnmpMonitor/NetworkTopology.d.mts +9 -0
- package/Types/Monitor/SnmpMonitor/NetworkTopology.d.ts +9 -0
- package/Types/Monitor/SnmpMonitor/SnmpHardwareIdentity.d.mts +5 -0
- package/Types/Monitor/SnmpMonitor/SnmpHardwareIdentity.d.ts +5 -0
- package/Types/Monitor/SnmpMonitor/SnmpHardwareIdentity.js +2 -0
- package/Types/Monitor/SnmpMonitor/SnmpHardwareIdentity.mjs +1 -0
- package/Types/Monitor/SnmpMonitor/SnmpVendorIdentity.d.mts +27 -0
- package/Types/Monitor/SnmpMonitor/SnmpVendorIdentity.d.ts +27 -0
- package/Types/Monitor/SnmpMonitor/SnmpVendorIdentity.js +97 -0
- package/Types/Monitor/SnmpMonitor/SnmpVendorIdentity.mjs +4 -0
- package/Types/Monitor/StorageArrayAlertTemplates.d.mts +1 -0
- package/Types/Monitor/StorageArrayAlertTemplates.d.ts +1 -0
- package/Types/Monitor/StorageArrayAlertTemplates.js +8 -1
- package/Types/Monitor/StorageArrayMetricCatalog.js +10 -1
- package/Types/Monitor/TelemetryAlertRule.d.mts +8 -1
- package/Types/Monitor/TelemetryAlertRule.d.ts +8 -1
- package/Types/Monitor/TelemetryAlertRule.js +62 -35
- package/Types/Monitor/TraceMonitor/TraceMonitorResponse.d.mts +1 -0
- package/Types/Monitor/TraceMonitor/TraceMonitorResponse.d.ts +1 -0
- package/Types/Monitor/VMwareAlertTemplates.d.mts +1 -0
- package/Types/Monitor/VMwareAlertTemplates.d.ts +1 -0
- package/Types/Monitor/VMwareAlertTemplates.js +41 -19
- package/Types/NetFlow/NetworkTrafficUsage.d.mts +40 -1
- package/Types/NetFlow/NetworkTrafficUsage.d.ts +40 -1
- package/Types/NetFlow/NetworkTrafficUsage.js +58 -6
- package/Types/NetFlow/NetworkTrafficUsage.mjs +1 -0
- package/Types/NetworkController/NetworkControllerProvider.d.mts +1 -0
- package/Types/NetworkController/NetworkControllerProvider.d.ts +1 -0
- package/Types/NetworkController/NetworkControllerProvider.js +8 -0
- package/Types/NetworkController/NetworkControllerProvider.mjs +1 -0
- package/Types/NetworkController/NetworkControllerReadSummary.d.mts +3 -0
- package/Types/NetworkController/NetworkControllerReadSummary.d.ts +3 -0
- package/Types/NetworkController/NetworkControllerReadSummary.js +7 -1
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.mts +49 -2
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.d.ts +49 -2
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.js +252 -17
- package/Types/NetworkDevice/NetworkDeviceDiscoveredDetails.mjs +7 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.d.mts +1 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.d.ts +1 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.js +9 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.mts +1 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.ts +1 -0
- package/Types/NotificationSetting/NotificationSettingEventType.js +8 -0
- package/Types/Permission.d.mts +5 -0
- package/Types/Permission.d.ts +5 -0
- package/Types/Permission.js +59 -1
- package/Types/PrivateRecord/PrivateRecordHeld.d.mts +18 -0
- package/Types/PrivateRecord/PrivateRecordHeld.d.ts +18 -0
- package/Types/PrivateRecord/PrivateRecordHeld.js +101 -0
- package/Types/PrivateRecord/PrivateRecordHeld.mjs +2 -0
- package/Types/PrivateRecord/PrivateRecordParts.d.mts +14 -0
- package/Types/PrivateRecord/PrivateRecordParts.d.ts +14 -0
- package/Types/PrivateRecord/PrivateRecordParts.js +95 -0
- package/Types/PrivateRecord/PrivateRecordParts.mjs +4 -0
- package/Types/ReaderLanguage.d.mts +11 -0
- package/Types/ReaderLanguage.d.ts +11 -0
- package/Types/ReaderLanguage.js +173 -0
- package/Types/ReaderLanguage.mjs +12 -0
- package/Types/ReadingDirection.d.mts +4 -0
- package/Types/ReadingDirection.d.ts +4 -0
- package/Types/ReadingDirection.js +52 -1
- package/Types/ReadingDirection.mjs +4 -0
- package/Types/Rules/RuleCriteriaSubject.d.mts +3 -1
- package/Types/Rules/RuleCriteriaSubject.d.ts +3 -1
- package/Types/Rules/RuleCriteriaSubject.js +16 -1
- package/Types/Rules/RuleCriteriaSubject.mjs +1 -0
- package/Types/Rules/RuleRun.d.mts +5 -1
- package/Types/Rules/RuleRun.d.ts +5 -1
- package/Types/Rules/RuleRun.js +10 -2
- package/Types/Rum/SessionReplay.d.mts +1 -0
- package/Types/Rum/SessionReplay.d.ts +1 -0
- package/Types/Rum/SessionReplay.js +4 -2
- package/Types/Rum/SessionReplay.mjs +1 -0
- package/Types/Rum/UserFlow.d.mts +11 -0
- package/Types/Rum/UserFlow.d.ts +11 -0
- package/Types/Rum/UserFlow.js +27 -12
- package/Types/SecurityCase/SecurityCaseContext.d.mts +33 -1
- package/Types/SecurityCase/SecurityCaseContext.d.ts +33 -1
- package/Types/SecurityCase/SecurityCaseContext.js +6 -1
- package/Types/SecurityCase/SecurityCaseContext.mjs +2 -0
- package/Types/SecurityEvent/RealTimeDetection.d.mts +13 -0
- package/Types/SecurityEvent/RealTimeDetection.d.ts +13 -0
- package/Types/SecurityEvent/RealTimeDetection.js +60 -0
- package/Types/SecurityEvent/RealTimeDetection.mjs +8 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.mts +7 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.d.ts +7 -0
- package/Types/SecurityPlaybook/SecurityPlaybookAction.js +80 -3
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.mts +15 -1
- package/Types/SecurityPlaybook/SecurityPlaybookStep.d.ts +15 -1
- package/Types/SecurityPlaybook/SecurityPlaybookStep.js +112 -3
- package/Types/SecurityPlaybook/SecurityPlaybookStep.mjs +5 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.d.mts +44 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.d.ts +44 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.js +188 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepCondition.mjs +9 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepResult.d.mts +1 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepResult.d.ts +1 -0
- package/Types/SecurityPlaybook/SecurityPlaybookStepResult.js +1 -0
- package/Types/SecurityPlaybook/SecurityPlaybookTemplates.d.mts +2 -0
- package/Types/SecurityPlaybook/SecurityPlaybookTemplates.d.ts +2 -0
- package/Types/SecurityPlaybook/SecurityPlaybookTemplates.js +67 -16
- package/Types/SecurityPlaybook/SecurityPlaybookTemplates.mjs +2 -0
- package/Types/StatusPage/DefaultStatusNames.d.mts +4 -0
- package/Types/StatusPage/DefaultStatusNames.d.ts +4 -0
- package/Types/StatusPage/DefaultStatusNames.js +50 -0
- package/Types/StatusPage/DefaultStatusNames.mjs +4 -0
- package/Types/StatusPage/StateChangeNoteMessage.d.mts +18 -1
- package/Types/StatusPage/StateChangeNoteMessage.d.ts +18 -1
- package/Types/StatusPage/StateChangeNoteMessage.js +60 -9
- package/Types/StatusPage/StateChangeNoteMessage.mjs +1 -0
- package/Types/StatusPage/StatusPageLanguage.d.mts +2 -0
- package/Types/StatusPage/StatusPageLanguage.d.ts +2 -0
- package/Types/StatusPage/StatusPageLanguage.js +10 -1
- package/Types/StatusPage/StatusPageLanguage.mjs +2 -0
- package/Types/Telemetry/ExceptionFingerprintLookup.d.mts +9 -0
- package/Types/Telemetry/ExceptionFingerprintLookup.d.ts +9 -0
- package/Types/Telemetry/ExceptionFingerprintLookup.js +55 -0
- package/Types/Telemetry/ExceptionFingerprintLookup.mjs +4 -0
- package/Types/Telemetry/ExceptionGroupFingerprints.d.mts +10 -0
- package/Types/Telemetry/ExceptionGroupFingerprints.d.ts +10 -0
- package/Types/Telemetry/ExceptionGroupFingerprints.js +114 -0
- package/Types/Telemetry/ExceptionGroupFingerprints.mjs +6 -0
- package/Types/Telemetry/ExceptionListStats.d.mts +19 -0
- package/Types/Telemetry/ExceptionListStats.d.ts +19 -0
- package/Types/Telemetry/ExceptionListStats.js +122 -0
- package/Types/Telemetry/ExceptionListStats.mjs +9 -0
- package/Types/Telemetry/ExceptionSpanScope.d.mts +3 -0
- package/Types/Telemetry/ExceptionSpanScope.d.ts +3 -0
- package/Types/Telemetry/ExceptionSpanScope.js +39 -3
- package/Types/Telemetry/ExceptionSpanScope.mjs +2 -0
- package/Types/Telemetry/SimilarExceptions.d.mts +33 -0
- package/Types/Telemetry/SimilarExceptions.d.ts +33 -0
- package/Types/Telemetry/SimilarExceptions.js +109 -0
- package/Types/Telemetry/SimilarExceptions.mjs +10 -0
- package/Types/Telemetry/TelemetrySavedViewState.d.mts +4 -0
- package/Types/Telemetry/TelemetrySavedViewState.d.ts +4 -0
- package/Types/Telemetry/TraceSpanType.d.mts +1 -0
- package/Types/Telemetry/TraceSpanType.d.ts +1 -0
- package/Types/Telemetry/TraceSpanType.js +17 -3
- package/Types/Telemetry/TraceSpanType.mjs +1 -0
- package/Types/Theme/ThemePreference.js +2 -1
- package/Types/Translator.d.mts +77 -0
- package/Types/Translator.d.ts +77 -0
- package/Types/Translator.js +582 -0
- package/Types/Translator.mjs +18 -0
- package/Types/VideoCall/VideoCallProvider.js +6 -3
- package/Types/Workflow/ComponentID.d.mts +5 -0
- package/Types/Workflow/ComponentID.d.ts +5 -0
- package/Types/Workflow/ComponentID.js +12 -0
- package/Types/Workflow/Components/API.js +91 -0
- package/Types/Workflow/Components/ApiGetById.d.mts +16 -0
- package/Types/Workflow/Components/ApiGetById.d.ts +16 -0
- package/Types/Workflow/Components/ApiGetById.js +69 -0
- package/Types/Workflow/Components/ApiGetById.mjs +4 -0
- package/Types/Workflow/Components/FromAnotherTool.d.mts +94 -0
- package/Types/Workflow/Components/FromAnotherTool.d.ts +94 -0
- package/Types/Workflow/Components/FromAnotherTool.js +541 -0
- package/Types/Workflow/Components/FromAnotherTool.mjs +23 -0
- package/Types/Workflow/Components/JavaScriptCheck.d.mts +16 -0
- package/Types/Workflow/Components/JavaScriptCheck.d.ts +16 -0
- package/Types/Workflow/Components/JavaScriptCheck.js +145 -0
- package/Types/Workflow/Components/JavaScriptCheck.mjs +5 -0
- package/Types/Workflow/Components/Zabbix.d.mts +62 -0
- package/Types/Workflow/Components/Zabbix.d.ts +62 -0
- package/Types/Workflow/Components/Zabbix.js +343 -0
- package/Types/Workflow/Components/Zabbix.mjs +17 -0
- package/Types/Workflow/Components.js +21 -0
- package/Types/Workflow/Documentation/APIDocumentation.d.mts +1 -0
- package/Types/Workflow/Documentation/APIDocumentation.d.ts +1 -0
- package/Types/Workflow/Documentation/APIDocumentation.js +48 -1
- package/Types/Workflow/Documentation/APIDocumentation.mjs +1 -0
- package/Types/Workflow/Documentation/DocumentationContext.js +2 -0
- package/Types/Workflow/Documentation/DocumentationLinks.d.mts +3 -0
- package/Types/Workflow/Documentation/DocumentationLinks.d.ts +3 -0
- package/Types/Workflow/Documentation/DocumentationLinks.js +3 -0
- package/Types/Workflow/Documentation/FromAnotherToolDocumentation.d.mts +5 -0
- package/Types/Workflow/Documentation/FromAnotherToolDocumentation.d.ts +5 -0
- package/Types/Workflow/Documentation/FromAnotherToolDocumentation.js +89 -0
- package/Types/Workflow/Documentation/FromAnotherToolDocumentation.mjs +3 -0
- package/Types/Workflow/Documentation/Index.js +7 -0
- package/Types/Workflow/Documentation/UtilityDocumentation.d.mts +1 -0
- package/Types/Workflow/Documentation/UtilityDocumentation.d.ts +1 -0
- package/Types/Workflow/Documentation/UtilityDocumentation.js +40 -1
- package/Types/Workflow/Documentation/UtilityDocumentation.mjs +1 -0
- package/Types/Workflow/Documentation/ZabbixDocumentation.d.mts +4 -0
- package/Types/Workflow/Documentation/ZabbixDocumentation.d.ts +4 -0
- package/Types/Workflow/Documentation/ZabbixDocumentation.js +67 -0
- package/Types/Workflow/Documentation/ZabbixDocumentation.mjs +2 -0
- package/Types/Workflow/TemplateLayout.d.mts +44 -0
- package/Types/Workflow/TemplateLayout.d.ts +44 -0
- package/Types/Workflow/TemplateLayout.js +125 -0
- package/Types/Workflow/TemplateLayout.mjs +7 -0
- package/Types/Workflow/Templates.d.mts +42 -12
- package/Types/Workflow/Templates.d.ts +42 -12
- package/Types/Workflow/Templates.js +2046 -6220
- package/Types/Workflow/Templates.mjs +1 -0
- package/Types/Workflow/UnhandledStepFailure.d.mts +15 -0
- package/Types/Workflow/UnhandledStepFailure.d.ts +15 -0
- package/Types/Workflow/UnhandledStepFailure.js +68 -0
- package/Types/Workflow/UnhandledStepFailure.mjs +5 -0
- package/Types/Workspace/MicrosoftTeamsCloud.d.mts +26 -0
- package/Types/Workspace/MicrosoftTeamsCloud.d.ts +26 -0
- package/Types/Workspace/MicrosoftTeamsCloud.js +214 -0
- package/Types/Workspace/MicrosoftTeamsCloud.mjs +4 -0
- package/Types/Workspace/WorkspaceChannelLink.d.mts +1 -0
- package/Types/Workspace/WorkspaceChannelLink.d.ts +1 -0
- package/Types/Workspace/WorkspaceChannelLink.js +45 -6
- package/UI/Utils/TranslateTemplate.d.mts +3 -68
- package/UI/Utils/TranslateTemplate.d.ts +3 -68
- package/Utils/AI/InvestigationReport.d.mts +9 -0
- package/Utils/AI/InvestigationReport.d.ts +9 -0
- package/Utils/AI/InvestigationReport.js +122 -10
- package/Utils/AI/InvestigationReport.mjs +3 -0
- package/Utils/AiRemediation/CloudChangeWords.d.mts +32 -0
- package/Utils/AiRemediation/CloudChangeWords.d.ts +32 -0
- package/Utils/AiRemediation/CloudChangeWords.js +242 -0
- package/Utils/AiRemediation/CloudChangeWords.mjs +8 -0
- package/Utils/AiRemediation/RemediationChangeKey.d.mts +2 -0
- package/Utils/AiRemediation/RemediationChangeKey.d.ts +2 -0
- package/Utils/AiRemediation/RemediationChangeKey.js +132 -0
- package/Utils/AiRemediation/RemediationChangeKey.mjs +2 -0
- package/Utils/Dashboard/DashboardBoardLayout.d.mts +46 -0
- package/Utils/Dashboard/DashboardBoardLayout.d.ts +46 -0
- package/Utils/Dashboard/DashboardBoardLayout.js +238 -0
- package/Utils/Dashboard/DashboardBoardLayout.mjs +11 -0
- package/Utils/Dashboard/ValueWidgetLayout.js +9 -1
- package/Utils/Dashboard/VariableInterpolation.d.mts +1 -0
- package/Utils/Dashboard/VariableInterpolation.d.ts +1 -0
- package/Utils/Dashboard/VariableInterpolation.js +19 -0
- package/Utils/DataSecurity/FieldClassifier.d.mts +2 -0
- package/Utils/DataSecurity/FieldClassifier.d.ts +2 -0
- package/Utils/DataSecurity/UnplacedFields.d.mts +35 -0
- package/Utils/DataSecurity/UnplacedFields.d.ts +35 -0
- package/Utils/DataSecurity/UnplacedFields.js +407 -0
- package/Utils/DataSecurity/UnplacedFields.mjs +19 -0
- package/Utils/Exceptions/ExceptionActivity.d.mts +22 -0
- package/Utils/Exceptions/ExceptionActivity.d.ts +22 -0
- package/Utils/Exceptions/ExceptionActivity.js +141 -0
- package/Utils/Exceptions/ExceptionActivity.mjs +6 -0
- package/Utils/Exceptions/ExceptionUserId.d.mts +8 -0
- package/Utils/Exceptions/ExceptionUserId.d.ts +8 -0
- package/Utils/Exceptions/ExceptionUserId.js +79 -0
- package/Utils/Exceptions/ExceptionUserId.mjs +6 -0
- package/Utils/Inventory/InventoryAssetDetails.d.mts +7 -0
- package/Utils/Inventory/InventoryAssetDetails.d.ts +7 -0
- package/Utils/Inventory/InventoryAssetDetails.js +70 -1
- package/Utils/Inventory/InventoryAssetDetails.mjs +1 -0
- package/Utils/Metrics/MetricQueryFallback.d.mts +24 -0
- package/Utils/Metrics/MetricQueryFallback.d.ts +24 -0
- package/Utils/Metrics/MetricQueryFallback.js +208 -0
- package/Utils/Metrics/MetricQueryFallback.mjs +2 -0
- package/Utils/Monitor/EndpointAttachmentUtil.d.mts +15 -2
- package/Utils/Monitor/EndpointAttachmentUtil.d.ts +15 -2
- package/Utils/Monitor/EndpointAttachmentUtil.js +83 -1
- package/Utils/Monitor/EndpointAttachmentUtil.mjs +1 -0
- package/Utils/Monitor/NeighborIdentityUtil.d.mts +15 -0
- package/Utils/Monitor/NeighborIdentityUtil.d.ts +15 -0
- package/Utils/Monitor/NeighborIdentityUtil.js +58 -0
- package/Utils/Monitor/NeighborIdentityUtil.mjs +3 -0
- package/Utils/Monitor/NetworkTopologyUtil.d.mts +13 -0
- package/Utils/Monitor/NetworkTopologyUtil.d.ts +13 -0
- package/Utils/Monitor/NetworkTopologyUtil.js +293 -70
- package/Utils/NetworkDevice/DeviceOwnMacUtil.d.mts +20 -0
- package/Utils/NetworkDevice/DeviceOwnMacUtil.d.ts +20 -0
- package/Utils/NetworkDevice/DeviceOwnMacUtil.js +81 -0
- package/Utils/NetworkDevice/DeviceOwnMacUtil.mjs +4 -0
- package/Utils/NetworkDevice/DeviceWebUiUtil.d.mts +20 -0
- package/Utils/NetworkDevice/DeviceWebUiUtil.d.ts +20 -0
- package/Utils/NetworkDevice/DeviceWebUiUtil.js +139 -0
- package/Utils/NetworkDevice/DeviceWebUiUtil.mjs +4 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.mts +1 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.d.ts +1 -0
- package/Utils/NetworkDevice/NetworkDeviceAssetFacts.js +64 -6
- package/Utils/NetworkDevice/SystemDescriptionUtil.d.mts +10 -0
- package/Utils/NetworkDevice/SystemDescriptionUtil.d.ts +10 -0
- package/Utils/NetworkDevice/SystemDescriptionUtil.js +69 -5
- package/Utils/NetworkDevice/SystemDescriptionUtil.mjs +2 -0
- package/Utils/NetworkDiscovery/DiscoveredDetailsPlan.d.mts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredDetailsPlan.d.ts +1 -0
- package/Utils/NetworkDiscovery/DiscoveredDetailsPlan.js +19 -6
- package/Utils/NetworkDiscovery/DiscoveredHostUtil.d.mts +1 -1
- package/Utils/NetworkDiscovery/DiscoveredHostUtil.d.ts +1 -1
- package/Utils/NetworkDiscovery/DiscoveredHostUtil.js +18 -1
- package/Utils/Proxmox/ProxmoxNotifications.d.mts +62 -0
- package/Utils/Proxmox/ProxmoxNotifications.d.ts +62 -0
- package/Utils/Proxmox/ProxmoxNotifications.js +458 -0
- package/Utils/Proxmox/ProxmoxNotifications.mjs +20 -0
- package/Utils/Rules/RuleRunSummary.d.mts +6 -3
- package/Utils/Rules/RuleRunSummary.d.ts +6 -3
- package/Utils/Rules/RuleRunSummary.js +11 -7
- package/Utils/Rum/UserFlow.d.mts +20 -0
- package/Utils/Rum/UserFlow.d.ts +20 -0
- package/Utils/Rum/UserFlow.js +41 -3
- package/Utils/Rum/UserFlow.mjs +1 -0
- package/Utils/Schema/MonitorSchemas.js +2 -0
- package/Utils/Sms/Gsm7Text.d.mts +3 -0
- package/Utils/Sms/Gsm7Text.d.ts +3 -0
- package/Utils/Sms/Gsm7Text.js +109 -8
- package/Utils/Sms/Gsm7Text.mjs +3 -0
- package/Utils/Sms/SubscriberSms.js +9 -1
- package/Utils/Telemetry/ChangeEventFields.d.mts +11 -0
- package/Utils/Telemetry/ChangeEventFields.d.ts +11 -0
- package/Utils/Telemetry/ChangeEventFields.js +33 -3
- package/Utils/Telemetry/CloudAppRevisionName.d.mts +4 -0
- package/Utils/Telemetry/CloudAppRevisionName.d.ts +4 -0
- package/Utils/Telemetry/CloudAppRevisionName.js +27 -0
- package/Utils/Telemetry/CloudAppRevisionName.mjs +2 -0
- package/Utils/Telemetry/CloudInstanceIdentity.d.mts +1 -0
- package/Utils/Telemetry/CloudInstanceIdentity.d.ts +1 -0
- package/Utils/Telemetry/CloudInstanceIdentity.js +10 -0
- package/Utils/Telemetry/CloudInstanceIdentity.mjs +1 -0
- package/package.json +1 -1
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import { RuleRunResult, RuleRunType } from "../../Types/Rules/RuleRun";
|
|
1
|
+
import { RuleRunResourceNouns, RuleRunResult, RuleRunType } from "../../Types/Rules/RuleRun";
|
|
2
2
|
export declare function withIndefiniteArticle(noun: string): string;
|
|
3
3
|
export default class RuleRunSummary {
|
|
4
|
-
static describeConfirmation(ruleType: RuleRunType): string;
|
|
5
|
-
static describeRunNowCard(ruleType: RuleRunType): string;
|
|
4
|
+
static describeConfirmation(ruleType: RuleRunType, nouns?: RuleRunResourceNouns | undefined): string;
|
|
5
|
+
static describeRunNowCard(ruleType: RuleRunType, nouns?: RuleRunResourceNouns | undefined): string;
|
|
6
6
|
static describeBulkConfirmation(data: {
|
|
7
7
|
ruleType: RuleRunType;
|
|
8
8
|
ruleCount: number;
|
|
9
|
+
nouns?: RuleRunResourceNouns | undefined;
|
|
9
10
|
}): string;
|
|
10
11
|
static describeProgress(data: {
|
|
11
12
|
ruleType: RuleRunType;
|
|
12
13
|
result: RuleRunResult;
|
|
14
|
+
nouns?: RuleRunResourceNouns | undefined;
|
|
13
15
|
}): string;
|
|
14
16
|
static describe(data: {
|
|
15
17
|
ruleType: RuleRunType;
|
|
16
18
|
result: RuleRunResult;
|
|
19
|
+
nouns?: RuleRunResourceNouns | undefined;
|
|
17
20
|
}): string;
|
|
18
21
|
private static describeStatusPageSync;
|
|
19
22
|
private static describeSloSync;
|
|
@@ -10,6 +10,10 @@ const RuleRun_1 = require("../../Types/Rules/RuleRun");
|
|
|
10
10
|
* common case once a rule has been run - "matched 40, added 0" with no reason
|
|
11
11
|
* reads as a broken button - so how each outcome is phrased is the part of
|
|
12
12
|
* this feature that most needs every branch pinned by a test.
|
|
13
|
+
*
|
|
14
|
+
* Each takes the nouns of the page the rule runs from, when that page calls
|
|
15
|
+
* its records otherwise than the rule's model does (RuleRunResourceNouns):
|
|
16
|
+
* App Platforms runs the cloud rules over its environments.
|
|
13
17
|
*/
|
|
14
18
|
function count(value, singular, plural) {
|
|
15
19
|
return `${value} ${value === 1 ? singular : plural}`;
|
|
@@ -43,8 +47,8 @@ function withIndefiniteArticle(noun) {
|
|
|
43
47
|
}
|
|
44
48
|
class RuleRunSummary {
|
|
45
49
|
// What the confirmation modal says the run is about to do.
|
|
46
|
-
static describeConfirmation(ruleType) {
|
|
47
|
-
const meta = RuleRun_1.RuleRunTypeUtil.getMetadata(ruleType);
|
|
50
|
+
static describeConfirmation(ruleType, nouns) {
|
|
51
|
+
const meta = RuleRun_1.RuleRunTypeUtil.getMetadata(ruleType, nouns);
|
|
48
52
|
switch (meta.action) {
|
|
49
53
|
case RuleRun_1.RuleRunAction.AddLabels:
|
|
50
54
|
return `Attach this rule's labels to the existing ${meta.resourcePlural} it matches. Labels are only added, never removed, so running this more than once is safe.`;
|
|
@@ -64,8 +68,8 @@ class RuleRunSummary {
|
|
|
64
68
|
}
|
|
65
69
|
}
|
|
66
70
|
// The sentence beside "Run Now" on a rule's own view page.
|
|
67
|
-
static describeRunNowCard(ruleType) {
|
|
68
|
-
const meta = RuleRun_1.RuleRunTypeUtil.getMetadata(ruleType);
|
|
71
|
+
static describeRunNowCard(ruleType, nouns) {
|
|
72
|
+
const meta = RuleRun_1.RuleRunTypeUtil.getMetadata(ruleType, nouns);
|
|
69
73
|
if (meta.action === RuleRun_1.RuleRunAction.SyncStatusPageMonitors) {
|
|
70
74
|
return "Re-sync this status page with this rule now: add the monitors it matches and remove the ones it added that no longer match.";
|
|
71
75
|
}
|
|
@@ -80,7 +84,7 @@ class RuleRunSummary {
|
|
|
80
84
|
* rules it says plainly that it adds owners silently.
|
|
81
85
|
*/
|
|
82
86
|
static describeBulkConfirmation(data) {
|
|
83
|
-
const meta = RuleRun_1.RuleRunTypeUtil.getMetadata(data.ruleType);
|
|
87
|
+
const meta = RuleRun_1.RuleRunTypeUtil.getMetadata(data.ruleType, data.nouns);
|
|
84
88
|
const rules = count(data.ruleCount, "selected rule", "selected rules");
|
|
85
89
|
if (meta.action === RuleRun_1.RuleRunAction.SyncStatusPageMonitors) {
|
|
86
90
|
return `Re-sync this status page against ${rules}? Each rule adds the monitors it matches and removes the monitors it added that no longer match. Monitors added by hand are never touched.`;
|
|
@@ -98,12 +102,12 @@ class RuleRunSummary {
|
|
|
98
102
|
}
|
|
99
103
|
// The line shown while a run is still chaining passes.
|
|
100
104
|
static describeProgress(data) {
|
|
101
|
-
const meta = RuleRun_1.RuleRunTypeUtil.getMetadata(data.ruleType);
|
|
105
|
+
const meta = RuleRun_1.RuleRunTypeUtil.getMetadata(data.ruleType, data.nouns);
|
|
102
106
|
return `Evaluated ${resources(data.result.resourcesEvaluated, meta)} so far, and updated ${data.result.resourcesUpdated}. Still running — leave this open.`;
|
|
103
107
|
}
|
|
104
108
|
// The report once a run is done.
|
|
105
109
|
static describe(data) {
|
|
106
|
-
const meta = RuleRun_1.RuleRunTypeUtil.getMetadata(data.ruleType);
|
|
110
|
+
const meta = RuleRun_1.RuleRunTypeUtil.getMetadata(data.ruleType, data.nouns);
|
|
107
111
|
const result = data.result;
|
|
108
112
|
if (meta.action === RuleRun_1.RuleRunAction.SyncStatusPageMonitors) {
|
|
109
113
|
return RuleRunSummary.describeStatusPageSync(result);
|
package/Utils/Rum/UserFlow.d.mts
CHANGED
|
@@ -126,17 +126,36 @@ export interface UserFlowAnalysis {
|
|
|
126
126
|
availablePages: Array<UserFlowPageCount>;
|
|
127
127
|
deviceTypes: Array<string>;
|
|
128
128
|
includesHost: boolean;
|
|
129
|
+
journeys: Array<UserFlowJourney>;
|
|
129
130
|
}
|
|
130
131
|
export interface UserFlowJourney {
|
|
131
132
|
sessionId: string;
|
|
132
133
|
startUnixMs: number;
|
|
133
134
|
durationMs: number;
|
|
134
135
|
deviceType: string;
|
|
136
|
+
browserName: string;
|
|
137
|
+
countryCode: string;
|
|
135
138
|
pages: Array<string>;
|
|
136
139
|
errorPages: Set<string>;
|
|
137
140
|
frustrationPages: Set<string>;
|
|
138
141
|
hadErrors: boolean;
|
|
139
142
|
hadFrustration: boolean;
|
|
143
|
+
errorCount: number;
|
|
144
|
+
frustrationCount: number;
|
|
145
|
+
isTruncated: boolean;
|
|
146
|
+
hasRecording: boolean | undefined;
|
|
147
|
+
}
|
|
148
|
+
export interface UserFlowJourneyStep {
|
|
149
|
+
page: string;
|
|
150
|
+
visit: number;
|
|
151
|
+
isLanding: boolean;
|
|
152
|
+
isExit: boolean;
|
|
153
|
+
hadError: boolean;
|
|
154
|
+
hadFrustration: boolean;
|
|
155
|
+
}
|
|
156
|
+
export interface UserFlowJourneySteps {
|
|
157
|
+
steps: Array<UserFlowJourneyStep>;
|
|
158
|
+
revisits: number;
|
|
140
159
|
}
|
|
141
160
|
export declare function isDynamicPathSegment(segment: string): boolean;
|
|
142
161
|
export declare function toUserFlowPageKey(rawUrl: string, options: {
|
|
@@ -150,6 +169,7 @@ export declare function buildUserFlowJourneys(response: UserFlowJourneysResponse
|
|
|
150
169
|
journeys: Array<UserFlowJourney>;
|
|
151
170
|
includesHost: boolean;
|
|
152
171
|
};
|
|
172
|
+
export declare function buildUserFlowJourneySteps(journey: UserFlowJourney): UserFlowJourneySteps;
|
|
153
173
|
export declare function sliceJourneyForMap(pages: Array<string>, anchorPage: string | null, direction: UserFlowDirection): Array<string> | null;
|
|
154
174
|
export declare function buildUserFlowGraph(journeys: Array<UserFlowJourney>, options: Pick<UserFlowOptions, "anchorPage" | "direction" | "steps" | "pagesPerStep">): UserFlowGraph;
|
|
155
175
|
export declare function buildUserFlowPageStats(journeys: Array<UserFlowJourney>): Array<UserFlowPageStats>;
|
package/Utils/Rum/UserFlow.d.ts
CHANGED
|
@@ -126,17 +126,36 @@ export interface UserFlowAnalysis {
|
|
|
126
126
|
availablePages: Array<UserFlowPageCount>;
|
|
127
127
|
deviceTypes: Array<string>;
|
|
128
128
|
includesHost: boolean;
|
|
129
|
+
journeys: Array<UserFlowJourney>;
|
|
129
130
|
}
|
|
130
131
|
export interface UserFlowJourney {
|
|
131
132
|
sessionId: string;
|
|
132
133
|
startUnixMs: number;
|
|
133
134
|
durationMs: number;
|
|
134
135
|
deviceType: string;
|
|
136
|
+
browserName: string;
|
|
137
|
+
countryCode: string;
|
|
135
138
|
pages: Array<string>;
|
|
136
139
|
errorPages: Set<string>;
|
|
137
140
|
frustrationPages: Set<string>;
|
|
138
141
|
hadErrors: boolean;
|
|
139
142
|
hadFrustration: boolean;
|
|
143
|
+
errorCount: number;
|
|
144
|
+
frustrationCount: number;
|
|
145
|
+
isTruncated: boolean;
|
|
146
|
+
hasRecording: boolean | undefined;
|
|
147
|
+
}
|
|
148
|
+
export interface UserFlowJourneyStep {
|
|
149
|
+
page: string;
|
|
150
|
+
visit: number;
|
|
151
|
+
isLanding: boolean;
|
|
152
|
+
isExit: boolean;
|
|
153
|
+
hadError: boolean;
|
|
154
|
+
hadFrustration: boolean;
|
|
155
|
+
}
|
|
156
|
+
export interface UserFlowJourneySteps {
|
|
157
|
+
steps: Array<UserFlowJourneyStep>;
|
|
158
|
+
revisits: number;
|
|
140
159
|
}
|
|
141
160
|
export declare function isDynamicPathSegment(segment: string): boolean;
|
|
142
161
|
export declare function toUserFlowPageKey(rawUrl: string, options: {
|
|
@@ -150,6 +169,7 @@ export declare function buildUserFlowJourneys(response: UserFlowJourneysResponse
|
|
|
150
169
|
journeys: Array<UserFlowJourney>;
|
|
151
170
|
includesHost: boolean;
|
|
152
171
|
};
|
|
172
|
+
export declare function buildUserFlowJourneySteps(journey: UserFlowJourney): UserFlowJourneySteps;
|
|
153
173
|
export declare function sliceJourneyForMap(pages: Array<string>, anchorPage: string | null, direction: UserFlowDirection): Array<string> | null;
|
|
154
174
|
export declare function buildUserFlowGraph(journeys: Array<UserFlowJourney>, options: Pick<UserFlowOptions, "anchorPage" | "direction" | "steps" | "pagesPerStep">): UserFlowGraph;
|
|
155
175
|
export declare function buildUserFlowPageStats(journeys: Array<UserFlowJourney>): Array<UserFlowPageStats>;
|
package/Utils/Rum/UserFlow.js
CHANGED
|
@@ -7,6 +7,7 @@ exports.spansMultipleHosts = spansMultipleHosts;
|
|
|
7
7
|
exports.toSessionListUrlPrefix = toSessionListUrlPrefix;
|
|
8
8
|
exports.getUserFlowPageLabel = getUserFlowPageLabel;
|
|
9
9
|
exports.buildUserFlowJourneys = buildUserFlowJourneys;
|
|
10
|
+
exports.buildUserFlowJourneySteps = buildUserFlowJourneySteps;
|
|
10
11
|
exports.sliceJourneyForMap = sliceJourneyForMap;
|
|
11
12
|
exports.buildUserFlowGraph = buildUserFlowGraph;
|
|
12
13
|
exports.buildUserFlowPageStats = buildUserFlowPageStats;
|
|
@@ -271,13 +272,43 @@ function toJourney(session, pages, errorPages, frustrationPages) {
|
|
|
271
272
|
startUnixMs: session.startUnixMs,
|
|
272
273
|
durationMs: session.durationMs,
|
|
273
274
|
deviceType: session.deviceType,
|
|
275
|
+
browserName: session.browserName,
|
|
276
|
+
countryCode: session.countryCode,
|
|
274
277
|
pages: pages,
|
|
275
278
|
errorPages: errorPages,
|
|
276
279
|
frustrationPages: frustrationPages,
|
|
277
280
|
hadErrors: session.errorCount > 0 || errorPages.size > 0,
|
|
278
281
|
hadFrustration: session.frustrationCount > 0 || frustrationPages.size > 0,
|
|
282
|
+
errorCount: session.errorCount,
|
|
283
|
+
frustrationCount: session.frustrationCount,
|
|
284
|
+
isTruncated: session.isTruncated === true,
|
|
285
|
+
hasRecording: session.hasRecording,
|
|
279
286
|
};
|
|
280
287
|
}
|
|
288
|
+
/*
|
|
289
|
+
* A journey read page by page: where it landed, where it left, and each
|
|
290
|
+
* return to a page already seen. The last page of a journey that was cut is
|
|
291
|
+
* not where the session ended, so nothing is marked as the exit there.
|
|
292
|
+
*/
|
|
293
|
+
function buildUserFlowJourneySteps(journey) {
|
|
294
|
+
const visits = new Counter();
|
|
295
|
+
let revisits = 0;
|
|
296
|
+
const steps = journey.pages.map((page, index) => {
|
|
297
|
+
visits.add(page);
|
|
298
|
+
if (visits.get(page) > 1) {
|
|
299
|
+
revisits += 1;
|
|
300
|
+
}
|
|
301
|
+
return {
|
|
302
|
+
page: page,
|
|
303
|
+
visit: visits.get(page),
|
|
304
|
+
isLanding: index === 0,
|
|
305
|
+
isExit: index === journey.pages.length - 1 && !journey.isTruncated,
|
|
306
|
+
hadError: journey.errorPages.has(page),
|
|
307
|
+
hadFrustration: journey.frustrationPages.has(page),
|
|
308
|
+
};
|
|
309
|
+
});
|
|
310
|
+
return { steps: steps, revisits: revisits };
|
|
311
|
+
}
|
|
281
312
|
/* ------------------------------------------------------------------ */
|
|
282
313
|
/* Small counting helpers */
|
|
283
314
|
/* ------------------------------------------------------------------ */
|
|
@@ -799,6 +830,7 @@ function sessionsNoun(count) {
|
|
|
799
830
|
* also shows, so a finding can always be checked against the map.
|
|
800
831
|
*/
|
|
801
832
|
function buildUserFlowInsights(journeys, pages, loops) {
|
|
833
|
+
var _a;
|
|
802
834
|
const total = journeys.length;
|
|
803
835
|
if (total === 0) {
|
|
804
836
|
return [];
|
|
@@ -904,10 +936,15 @@ function buildUserFlowInsights(journeys, pages, loops) {
|
|
|
904
936
|
share: loop.share,
|
|
905
937
|
});
|
|
906
938
|
}
|
|
907
|
-
const
|
|
939
|
+
const byEntries = [...pages].sort((a, b) => {
|
|
908
940
|
return b.entries - a.entries;
|
|
909
|
-
})
|
|
910
|
-
|
|
941
|
+
});
|
|
942
|
+
const entry = byEntries[0];
|
|
943
|
+
/*
|
|
944
|
+
* "Most sessions start on" is untrue of a tie, which is what one person's
|
|
945
|
+
* few sessions, each landing somewhere else, usually are.
|
|
946
|
+
*/
|
|
947
|
+
if (entry && entry.entries > 0 && ((_a = byEntries[1]) === null || _a === void 0 ? void 0 : _a.entries) !== entry.entries) {
|
|
911
948
|
const share = ratio(entry.entries, total);
|
|
912
949
|
insights.push({
|
|
913
950
|
kind: "top-entry",
|
|
@@ -954,5 +991,6 @@ function analyzeUserFlow(response, partialOptions = {}) {
|
|
|
954
991
|
}),
|
|
955
992
|
deviceTypes: deviceTypes,
|
|
956
993
|
includesHost: includesHost,
|
|
994
|
+
journeys: journeys,
|
|
957
995
|
};
|
|
958
996
|
}
|
package/Utils/Rum/UserFlow.mjs
CHANGED
|
@@ -17,6 +17,7 @@ export const USER_FLOW_SAMPLE_SESSIONS = commonJsModule.USER_FLOW_SAMPLE_SESSION
|
|
|
17
17
|
export const analyzeUserFlow = commonJsModule.analyzeUserFlow;
|
|
18
18
|
export const buildUserFlowGraph = commonJsModule.buildUserFlowGraph;
|
|
19
19
|
export const buildUserFlowInsights = commonJsModule.buildUserFlowInsights;
|
|
20
|
+
export const buildUserFlowJourneySteps = commonJsModule.buildUserFlowJourneySteps;
|
|
20
21
|
export const buildUserFlowJourneys = commonJsModule.buildUserFlowJourneys;
|
|
21
22
|
export const buildUserFlowLoops = commonJsModule.buildUserFlowLoops;
|
|
22
23
|
export const buildUserFlowPageStats = commonJsModule.buildUserFlowPageStats;
|
|
@@ -43,6 +43,8 @@ exports.CriteriaFilterSchema = Zod_1.default.object({
|
|
|
43
43
|
method: Zod_1.default.string().optional(),
|
|
44
44
|
windowDays: Zod_1.default.number().optional(),
|
|
45
45
|
minSamples: Zod_1.default.number().optional(),
|
|
46
|
+
sigmaCount: Zod_1.default.number().optional(),
|
|
47
|
+
minimumCount: Zod_1.default.number().optional(),
|
|
46
48
|
}).optional(),
|
|
47
49
|
}).optional(),
|
|
48
50
|
snmpMonitorOptions: Zod_1.default.object({
|
package/Utils/Sms/Gsm7Text.d.mts
CHANGED
|
@@ -2,3 +2,6 @@ export declare const GSM_7_LOOK_ALIKES: ReadonlyMap<string, string>;
|
|
|
2
2
|
export declare const toGsm7Text: (text: string) => string;
|
|
3
3
|
export declare const toOneLine: (text: string) => string;
|
|
4
4
|
export declare const toGsm7Message: (text: string) => string;
|
|
5
|
+
export declare const toUcs2Text: (text: string) => string;
|
|
6
|
+
export declare const toUcs2Message: (text: string) => string;
|
|
7
|
+
export declare const isGsm7OutsideLinks: (text: string) => boolean;
|
package/Utils/Sms/Gsm7Text.d.ts
CHANGED
|
@@ -2,3 +2,6 @@ export declare const GSM_7_LOOK_ALIKES: ReadonlyMap<string, string>;
|
|
|
2
2
|
export declare const toGsm7Text: (text: string) => string;
|
|
3
3
|
export declare const toOneLine: (text: string) => string;
|
|
4
4
|
export declare const toGsm7Message: (text: string) => string;
|
|
5
|
+
export declare const toUcs2Text: (text: string) => string;
|
|
6
|
+
export declare const toUcs2Message: (text: string) => string;
|
|
7
|
+
export declare const isGsm7OutsideLinks: (text: string) => boolean;
|
package/Utils/Sms/Gsm7Text.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toGsm7Message = exports.toOneLine = exports.toGsm7Text = exports.GSM_7_LOOK_ALIKES = void 0;
|
|
3
|
+
exports.isGsm7OutsideLinks = exports.toUcs2Message = exports.toUcs2Text = exports.toGsm7Message = exports.toOneLine = exports.toGsm7Text = exports.GSM_7_LOOK_ALIKES = void 0;
|
|
4
4
|
const SmsSegments_1 = require("./SmsSegments");
|
|
5
5
|
/*
|
|
6
6
|
* TEXT WRITTEN IN THE CHARACTERS AN SMS CARRIES CHEAPLY.
|
|
@@ -450,22 +450,22 @@ const collapseSpaces = (text) => {
|
|
|
450
450
|
return collapsed;
|
|
451
451
|
};
|
|
452
452
|
/*
|
|
453
|
-
* A
|
|
454
|
-
*
|
|
455
|
-
*
|
|
456
|
-
*
|
|
453
|
+
* A message's words written with `writeWord` - but for its links, which go
|
|
454
|
+
* out exactly as written: a link is an address, and a look-alike would lead
|
|
455
|
+
* somewhere else. Line breaks are kept; spaces are single, and none is left
|
|
456
|
+
* where a character was left out.
|
|
457
457
|
*/
|
|
458
|
-
const
|
|
458
|
+
const writeMessage = (text, writeWord) => {
|
|
459
459
|
let written = "";
|
|
460
460
|
let word = "";
|
|
461
461
|
const flushWord = () => {
|
|
462
|
-
written += isLinkWord(word) ? word : (
|
|
462
|
+
written += isLinkWord(word) ? word : writeWord(word);
|
|
463
463
|
word = "";
|
|
464
464
|
};
|
|
465
465
|
for (const character of text) {
|
|
466
466
|
if (WHITESPACE.test(character)) {
|
|
467
467
|
flushWord();
|
|
468
|
-
written += (
|
|
468
|
+
written += writeWord(character);
|
|
469
469
|
continue;
|
|
470
470
|
}
|
|
471
471
|
word += character;
|
|
@@ -473,4 +473,105 @@ const toGsm7Message = (text) => {
|
|
|
473
473
|
flushWord();
|
|
474
474
|
return collapseSpaces(written);
|
|
475
475
|
};
|
|
476
|
+
// A whole message in GSM-7's characters (toGsm7Text), but for its links.
|
|
477
|
+
const toGsm7Message = (text) => {
|
|
478
|
+
return writeMessage(text, exports.toGsm7Text);
|
|
479
|
+
};
|
|
476
480
|
exports.toGsm7Message = toGsm7Message;
|
|
481
|
+
/*
|
|
482
|
+
* A TEXT THAT GOES OUT IN UCS-2 WHATEVER ITS PUNCTUATION.
|
|
483
|
+
*
|
|
484
|
+
* A text with letters of another script - Chinese, Japanese, Persian,
|
|
485
|
+
* Russian - is UCS-2 however it is punctuated, and there a full-width
|
|
486
|
+
* colon costs what ":" does: one place each. Written with GSM-7's
|
|
487
|
+
* look-alikes it costs no less and reads worse - "事件:Acme" came out as
|
|
488
|
+
* "事件:Acme", "失败(欧洲)" as "失败(欧洲)". So such a text keeps every
|
|
489
|
+
* character as written but for what says nothing, left out as toGsm7Text
|
|
490
|
+
* leaves it out: an emoji (a sign with a look-alike - © ® ™ ↔ - is text
|
|
491
|
+
* and stays), invisible formatting (a joiner between two letters of a
|
|
492
|
+
* script it shapes stays, and so do the marks that keep a value's own
|
|
493
|
+
* direction in a sentence read from the right - see BIDI_MARKS), control
|
|
494
|
+
* and private-use characters, and a mark with nothing before it to carry
|
|
495
|
+
* it. A space of any kind, and a tab, is a space.
|
|
496
|
+
*/
|
|
497
|
+
/*
|
|
498
|
+
* The invisible marks that say which way a run of text reads: the
|
|
499
|
+
* isolates a Persian sentence puts around an English title (U+2066 to
|
|
500
|
+
* U+2069, Common/Server/Utils/ServerTranslation), the left-to-right,
|
|
501
|
+
* right-to-left and Arabic letter marks. Without them "(Critical)" at the
|
|
502
|
+
* end of an English title in a Persian text lost its closing bracket to
|
|
503
|
+
* the other end.
|
|
504
|
+
*/
|
|
505
|
+
const BIDI_MARKS = new Set([
|
|
506
|
+
0x200e, 0x200f, 0x061c, 0x2066, 0x2067, 0x2068, 0x2069,
|
|
507
|
+
]);
|
|
508
|
+
const toUcs2Text = (text) => {
|
|
509
|
+
const characters = Array.from(text.normalize("NFC"));
|
|
510
|
+
let written = "";
|
|
511
|
+
for (let index = 0; index < characters.length; index++) {
|
|
512
|
+
const character = characters[index];
|
|
513
|
+
const codePoint = codePointOf(character);
|
|
514
|
+
if (character === "\n" || character === "\r") {
|
|
515
|
+
written += character;
|
|
516
|
+
continue;
|
|
517
|
+
}
|
|
518
|
+
if (character === "\t" || SPACE_CHARACTER.test(character)) {
|
|
519
|
+
written += SPACE;
|
|
520
|
+
continue;
|
|
521
|
+
}
|
|
522
|
+
if (codePoint === ZERO_WIDTH_JOINER ||
|
|
523
|
+
codePoint === ZERO_WIDTH_NON_JOINER) {
|
|
524
|
+
// Kept only between two letters of a script that is kept as written.
|
|
525
|
+
if (isKeptScriptLetter(characters[index - 1]) &&
|
|
526
|
+
isKeptScriptLetter(characters[index + 1])) {
|
|
527
|
+
written += character;
|
|
528
|
+
}
|
|
529
|
+
continue;
|
|
530
|
+
}
|
|
531
|
+
if (BIDI_MARKS.has(codePoint)) {
|
|
532
|
+
written += character;
|
|
533
|
+
continue;
|
|
534
|
+
}
|
|
535
|
+
if ((isEmojiPart(character) && !exports.GSM_7_LOOK_ALIKES.has(character)) ||
|
|
536
|
+
FORMAT_CHARACTER.test(character) ||
|
|
537
|
+
CONTROL_CHARACTER.test(character) ||
|
|
538
|
+
UNREADABLE_CHARACTER.test(character)) {
|
|
539
|
+
continue;
|
|
540
|
+
}
|
|
541
|
+
if (MARK.test(character) && written.length === 0) {
|
|
542
|
+
continue;
|
|
543
|
+
}
|
|
544
|
+
written += character;
|
|
545
|
+
}
|
|
546
|
+
return written;
|
|
547
|
+
};
|
|
548
|
+
exports.toUcs2Text = toUcs2Text;
|
|
549
|
+
// A whole message as toUcs2Text writes it, but for its links.
|
|
550
|
+
const toUcs2Message = (text) => {
|
|
551
|
+
return writeMessage(text, exports.toUcs2Text);
|
|
552
|
+
};
|
|
553
|
+
exports.toUcs2Message = toUcs2Message;
|
|
554
|
+
/*
|
|
555
|
+
* Whether a message's words are all GSM-7's characters, its links aside:
|
|
556
|
+
* a link goes out exactly as written, whatever it holds, so it does not
|
|
557
|
+
* decide how the words around it are written.
|
|
558
|
+
*/
|
|
559
|
+
const isGsm7OutsideLinks = (text) => {
|
|
560
|
+
let word = "";
|
|
561
|
+
const isGsm7Word = () => {
|
|
562
|
+
const gsm7 = isLinkWord(word) || (0, SmsSegments_1.isGsm7Text)(word);
|
|
563
|
+
word = "";
|
|
564
|
+
return gsm7;
|
|
565
|
+
};
|
|
566
|
+
for (const character of text) {
|
|
567
|
+
if (WHITESPACE.test(character)) {
|
|
568
|
+
if (!isGsm7Word() || !(0, SmsSegments_1.isGsm7Text)(character)) {
|
|
569
|
+
return false;
|
|
570
|
+
}
|
|
571
|
+
continue;
|
|
572
|
+
}
|
|
573
|
+
word += character;
|
|
574
|
+
}
|
|
575
|
+
return isGsm7Word();
|
|
576
|
+
};
|
|
577
|
+
exports.isGsm7OutsideLinks = isGsm7OutsideLinks;
|
package/Utils/Sms/Gsm7Text.mjs
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import commonJsModule from "./Gsm7Text.js";
|
|
2
2
|
export const GSM_7_LOOK_ALIKES = commonJsModule.GSM_7_LOOK_ALIKES;
|
|
3
|
+
export const isGsm7OutsideLinks = commonJsModule.isGsm7OutsideLinks;
|
|
3
4
|
export const toGsm7Message = commonJsModule.toGsm7Message;
|
|
4
5
|
export const toGsm7Text = commonJsModule.toGsm7Text;
|
|
5
6
|
export const toOneLine = commonJsModule.toOneLine;
|
|
7
|
+
export const toUcs2Message = commonJsModule.toUcs2Message;
|
|
8
|
+
export const toUcs2Text = commonJsModule.toUcs2Text;
|
|
@@ -21,6 +21,13 @@ const Gsm7Text_1 = require("./Gsm7Text");
|
|
|
21
21
|
* go out exactly as written: a link is an address, and a look-alike would
|
|
22
22
|
* lead somewhere else. Letters of other scripts are kept as written.
|
|
23
23
|
*
|
|
24
|
+
* A text that stays UCS-2 whatever its punctuation - written in Chinese,
|
|
25
|
+
* Japanese, Persian or another script, which is how a status page writes to
|
|
26
|
+
* a subscriber who reads it in that language - keeps its punctuation as
|
|
27
|
+
* written instead (Gsm7Text's toUcs2Text): there a look-alike costs the
|
|
28
|
+
* same and only reads worse. What says nothing - an emoji - is still left
|
|
29
|
+
* out.
|
|
30
|
+
*
|
|
24
31
|
* A custom SMS template a team wrote for its page goes out as written, with
|
|
25
32
|
* every value it places: the team chose its words and texts through its own
|
|
26
33
|
* Twilio account (a custom SMS template is used only with one), where
|
|
@@ -29,7 +36,8 @@ const Gsm7Text_1 = require("./Gsm7Text");
|
|
|
29
36
|
* Pure, with no Node or browser APIs. Linear in the text's length.
|
|
30
37
|
*/
|
|
31
38
|
const writeDefaultSubscriberSms = (text) => {
|
|
32
|
-
|
|
39
|
+
const gsm7 = (0, Gsm7Text_1.toGsm7Message)(text).trim();
|
|
40
|
+
return (0, Gsm7Text_1.isGsm7OutsideLinks)(gsm7) ? gsm7 : (0, Gsm7Text_1.toUcs2Message)(text).trim();
|
|
33
41
|
};
|
|
34
42
|
exports.writeDefaultSubscriberSms = writeDefaultSubscriberSms;
|
|
35
43
|
exports.default = exports.writeDefaultSubscriberSms;
|
|
@@ -14,6 +14,7 @@ export declare enum ChangeEventSource {
|
|
|
14
14
|
Api = "api",
|
|
15
15
|
ServiceVersion = "service-version",
|
|
16
16
|
Kubernetes = "kubernetes",
|
|
17
|
+
AppPlatform = "app-platform",
|
|
17
18
|
OneUptimeAi = "oneuptime-ai",
|
|
18
19
|
Runbook = "runbook",
|
|
19
20
|
Cloud = "cloud",
|
|
@@ -51,6 +52,11 @@ export declare const ChangeEventAttribute: {
|
|
|
51
52
|
readonly CloudActor: string;
|
|
52
53
|
readonly CloudEventId: string;
|
|
53
54
|
readonly CloudAccountRecordId: string;
|
|
55
|
+
readonly CloudPlatform: string;
|
|
56
|
+
readonly AppPlatformApp: string;
|
|
57
|
+
readonly AppPlatformAppId: string;
|
|
58
|
+
readonly AppPlatformRevision: string;
|
|
59
|
+
readonly PreviousRevision: string;
|
|
54
60
|
};
|
|
55
61
|
export declare const RESERVED_CHANGE_ATTRIBUTE_PREFIX: string;
|
|
56
62
|
export declare enum ChangeEventStatus {
|
|
@@ -98,6 +104,11 @@ export interface ChangeEventFields {
|
|
|
98
104
|
cloudOperation?: string | undefined;
|
|
99
105
|
cloudActor?: string | undefined;
|
|
100
106
|
cloudAccountRecordId?: string | undefined;
|
|
107
|
+
cloudPlatform?: string | undefined;
|
|
108
|
+
appPlatformApp?: string | undefined;
|
|
109
|
+
appPlatformAppId?: string | undefined;
|
|
110
|
+
appPlatformRevision?: string | undefined;
|
|
111
|
+
previousRevision?: string | undefined;
|
|
101
112
|
}
|
|
102
113
|
export declare function readChangeEventFields(attributes: Dictionary<unknown> | null | undefined): ChangeEventFields;
|
|
103
114
|
export declare function shortCommitSha(sha: string): string;
|
|
@@ -14,6 +14,7 @@ export declare enum ChangeEventSource {
|
|
|
14
14
|
Api = "api",
|
|
15
15
|
ServiceVersion = "service-version",
|
|
16
16
|
Kubernetes = "kubernetes",
|
|
17
|
+
AppPlatform = "app-platform",
|
|
17
18
|
OneUptimeAi = "oneuptime-ai",
|
|
18
19
|
Runbook = "runbook",
|
|
19
20
|
Cloud = "cloud",
|
|
@@ -51,6 +52,11 @@ export declare const ChangeEventAttribute: {
|
|
|
51
52
|
readonly CloudActor: string;
|
|
52
53
|
readonly CloudEventId: string;
|
|
53
54
|
readonly CloudAccountRecordId: string;
|
|
55
|
+
readonly CloudPlatform: string;
|
|
56
|
+
readonly AppPlatformApp: string;
|
|
57
|
+
readonly AppPlatformAppId: string;
|
|
58
|
+
readonly AppPlatformRevision: string;
|
|
59
|
+
readonly PreviousRevision: string;
|
|
54
60
|
};
|
|
55
61
|
export declare const RESERVED_CHANGE_ATTRIBUTE_PREFIX: string;
|
|
56
62
|
export declare enum ChangeEventStatus {
|
|
@@ -98,6 +104,11 @@ export interface ChangeEventFields {
|
|
|
98
104
|
cloudOperation?: string | undefined;
|
|
99
105
|
cloudActor?: string | undefined;
|
|
100
106
|
cloudAccountRecordId?: string | undefined;
|
|
107
|
+
cloudPlatform?: string | undefined;
|
|
108
|
+
appPlatformApp?: string | undefined;
|
|
109
|
+
appPlatformAppId?: string | undefined;
|
|
110
|
+
appPlatformRevision?: string | undefined;
|
|
111
|
+
previousRevision?: string | undefined;
|
|
101
112
|
}
|
|
102
113
|
export declare function readChangeEventFields(attributes: Dictionary<unknown> | null | undefined): ChangeEventFields;
|
|
103
114
|
export declare function shortCommitSha(sha: string): string;
|
|
@@ -11,9 +11,10 @@ exports.describeChangeEventSource = describeChangeEventSource;
|
|
|
11
11
|
* Change events (Models/AnalyticsModels/ChangeEvent) come from several
|
|
12
12
|
* places: CI/CD pipelines and the CLI post them to the ingest API, and
|
|
13
13
|
* OneUptime records others itself - a service that starts reporting a new
|
|
14
|
-
* service.version, a Kubernetes Deployment that starts a new ReplicaSet,
|
|
15
|
-
*
|
|
16
|
-
*
|
|
14
|
+
* service.version, a Kubernetes Deployment that starts a new ReplicaSet, an
|
|
15
|
+
* app on an app platform that starts running a new revision, a fix command
|
|
16
|
+
* OneUptime AI ran, a runbook that ran, a change a cloud account's activity
|
|
17
|
+
* log recorded, a health event its provider published.
|
|
17
18
|
* They all keep what
|
|
18
19
|
* they know in the row's attributes map, under OpenTelemetry's semantic
|
|
19
20
|
* convention names where one exists (service.version,
|
|
@@ -52,6 +53,12 @@ var ChangeEventSource;
|
|
|
52
53
|
ChangeEventSource["ServiceVersion"] = "service-version";
|
|
53
54
|
// A Kubernetes Deployment started a new ReplicaSet.
|
|
54
55
|
ChangeEventSource["Kubernetes"] = "kubernetes";
|
|
56
|
+
/*
|
|
57
|
+
* An app on a managed app platform (ECS, Cloud Run, Container Apps...)
|
|
58
|
+
* started running a revision it had not run before, or went back to one
|
|
59
|
+
* it ran before (CloudAppRevisionService).
|
|
60
|
+
*/
|
|
61
|
+
ChangeEventSource["AppPlatform"] = "app-platform";
|
|
55
62
|
// A fix command OneUptime AI ran.
|
|
56
63
|
ChangeEventSource["OneUptimeAi"] = "oneuptime-ai";
|
|
57
64
|
// A runbook OneUptime ran.
|
|
@@ -100,6 +107,13 @@ exports.ChangeEventAttribute = {
|
|
|
100
107
|
CloudEventId: "oneuptime.cloud.event_id",
|
|
101
108
|
// The CloudAccount row the change belongs to.
|
|
102
109
|
CloudAccountRecordId: "oneuptime.cloud_account.id",
|
|
110
|
+
// The app platform an app runs on: OpenTelemetry's cloud.platform.
|
|
111
|
+
CloudPlatform: "cloud.platform",
|
|
112
|
+
// An App Platforms app (CloudApp): its name, its row and its revisions.
|
|
113
|
+
AppPlatformApp: "oneuptime.app_platform.app",
|
|
114
|
+
AppPlatformAppId: "oneuptime.app_platform.app_id",
|
|
115
|
+
AppPlatformRevision: "oneuptime.app_platform.revision",
|
|
116
|
+
PreviousRevision: "oneuptime.change.previous_revision",
|
|
103
117
|
};
|
|
104
118
|
/*
|
|
105
119
|
* Attribute keys under this prefix are OneUptime's own. The ingest API
|
|
@@ -217,6 +231,11 @@ function readChangeEventFields(attributes) {
|
|
|
217
231
|
cloudOperation: read(exports.ChangeEventAttribute.CloudOperation),
|
|
218
232
|
cloudActor: read(exports.ChangeEventAttribute.CloudActor),
|
|
219
233
|
cloudAccountRecordId: read(exports.ChangeEventAttribute.CloudAccountRecordId),
|
|
234
|
+
cloudPlatform: read(exports.ChangeEventAttribute.CloudPlatform),
|
|
235
|
+
appPlatformApp: read(exports.ChangeEventAttribute.AppPlatformApp),
|
|
236
|
+
appPlatformAppId: read(exports.ChangeEventAttribute.AppPlatformAppId),
|
|
237
|
+
appPlatformRevision: read(exports.ChangeEventAttribute.AppPlatformRevision),
|
|
238
|
+
previousRevision: read(exports.ChangeEventAttribute.PreviousRevision),
|
|
220
239
|
};
|
|
221
240
|
for (const key of Object.keys(fields)) {
|
|
222
241
|
if (fields[key] === undefined) {
|
|
@@ -254,6 +273,15 @@ function describeChangeEventFields(fields) {
|
|
|
254
273
|
: "";
|
|
255
274
|
parts.push(`deployment ${namespace}${fields.kubernetesDeployment}`);
|
|
256
275
|
}
|
|
276
|
+
if (fields.appPlatformApp) {
|
|
277
|
+
parts.push(`app ${fields.appPlatformApp}`);
|
|
278
|
+
}
|
|
279
|
+
if (fields.appPlatformRevision && fields.previousRevision) {
|
|
280
|
+
parts.push(`revision ${fields.previousRevision} → ${fields.appPlatformRevision}`);
|
|
281
|
+
}
|
|
282
|
+
else if (fields.appPlatformRevision) {
|
|
283
|
+
parts.push(`revision ${fields.appPlatformRevision}`);
|
|
284
|
+
}
|
|
257
285
|
if (fields.kubernetesReplicaSet && fields.previousReplicaSet) {
|
|
258
286
|
parts.push(`ReplicaSet ${fields.previousReplicaSet} → ${fields.kubernetesReplicaSet}`);
|
|
259
287
|
}
|
|
@@ -305,6 +333,8 @@ function describeChangeEventSource(source) {
|
|
|
305
333
|
return "a new service.version in telemetry";
|
|
306
334
|
case ChangeEventSource.Kubernetes:
|
|
307
335
|
return "a new Kubernetes ReplicaSet";
|
|
336
|
+
case ChangeEventSource.AppPlatform:
|
|
337
|
+
return "a new revision on an app platform";
|
|
308
338
|
case ChangeEventSource.OneUptimeAi:
|
|
309
339
|
return "a fix OneUptime AI ran";
|
|
310
340
|
case ChangeEventSource.Runbook:
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getShortCloudAppRevision = getShortCloudAppRevision;
|
|
4
|
+
/*
|
|
5
|
+
* A revision as a line about its app names it. Cloud Run and Container Apps
|
|
6
|
+
* name a revision after its service ("checkout-00042-xyz",
|
|
7
|
+
* "checkout--abc123"), so a line that already names the app leaves the
|
|
8
|
+
* app's name off the front - "Deployed checkout: revision 00042-xyz replaced
|
|
9
|
+
* 00041-abc", not "revision checkout-00042-xyz replaced checkout-00041-abc";
|
|
10
|
+
* anything else is shown as it is. The Dashboard's rows, header and charts
|
|
11
|
+
* and the server's feed lines and change titles say it the same way; the
|
|
12
|
+
* change event's attributes keep the whole name.
|
|
13
|
+
*/
|
|
14
|
+
function getShortCloudAppRevision(data) {
|
|
15
|
+
const revision = (data.revision || "").trim();
|
|
16
|
+
const appName = (data.appName || "").trim();
|
|
17
|
+
if (!revision || !appName) {
|
|
18
|
+
return revision;
|
|
19
|
+
}
|
|
20
|
+
for (const separator of ["--", "-"]) {
|
|
21
|
+
const prefix = `${appName}${separator}`;
|
|
22
|
+
if (revision.startsWith(prefix) && revision.length > prefix.length) {
|
|
23
|
+
return revision.slice(prefix.length);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
return revision;
|
|
27
|
+
}
|