@oneuptime/common 14.0.105 → 14.0.106
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/CloudCost.d.mts +2 -0
- package/Models/AnalyticsModels/CloudCost.d.ts +2 -0
- package/Models/AnalyticsModels/CloudCost.js +27 -0
- package/Models/AnalyticsModels/Index.js +8 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.d.mts +14 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.d.ts +14 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.js +410 -0
- package/Models/AnalyticsModels/RumProductAnalyticsSession.mjs +11 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.d.mts +4 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.d.ts +4 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.js +210 -0
- package/Models/AnalyticsModels/RumProductAnalyticsUser.mjs +2 -0
- package/Models/AnalyticsModels/RumSession.js +66 -12
- package/Models/AnalyticsModels/RumSessionChunk.js +30 -2
- package/Models/DatabaseModels/AIAgentTaskPullRequest.js +24 -9
- package/Models/DatabaseModels/AIRun.d.mts +4 -0
- package/Models/DatabaseModels/AIRun.d.ts +4 -0
- package/Models/DatabaseModels/AIRun.js +107 -0
- package/Models/DatabaseModels/Alert.d.mts +2 -0
- package/Models/DatabaseModels/Alert.d.ts +2 -0
- package/Models/DatabaseModels/Alert.js +70 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/AlertEpisodeOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/AlertGroupingRule.d.mts +2 -0
- package/Models/DatabaseModels/AlertGroupingRule.d.ts +2 -0
- package/Models/DatabaseModels/AlertGroupingRule.js +85 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/AlertOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/AuditLogExport.d.mts +1 -0
- package/Models/DatabaseModels/AuditLogExport.d.ts +1 -0
- package/Models/DatabaseModels/AuditLogExport.js +32 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.d.mts +4 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.d.ts +4 -0
- package/Models/DatabaseModels/AutoRemediationSuggestion.js +109 -0
- package/Models/DatabaseModels/CephCluster.d.mts +1 -0
- package/Models/DatabaseModels/CephCluster.d.ts +1 -0
- package/Models/DatabaseModels/CephCluster.js +36 -0
- package/Models/DatabaseModels/CloudAccount.d.mts +1 -0
- package/Models/DatabaseModels/CloudAccount.d.ts +1 -0
- package/Models/DatabaseModels/CloudAccount.js +27 -0
- package/Models/DatabaseModels/CloudConnection.d.mts +1 -0
- package/Models/DatabaseModels/CloudConnection.d.ts +1 -0
- package/Models/DatabaseModels/CloudConnection.js +27 -6
- package/Models/DatabaseModels/CodeRepository.js +23 -6
- package/Models/DatabaseModels/DataStoreFinding.js +8 -2
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.mts +2 -1
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.d.ts +2 -1
- package/Models/DatabaseModels/DatabaseBaseModel/DatabaseBaseModel.js +21 -0
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.d.mts +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.d.ts +2 -0
- package/Models/DatabaseModels/DatabaseBaseModel/OnCallRuleBaseModel.js +35 -1
- package/Models/DatabaseModels/DatabaseServer.d.mts +1 -0
- package/Models/DatabaseModels/DatabaseServer.d.ts +1 -0
- package/Models/DatabaseModels/DatabaseServer.js +36 -0
- package/Models/DatabaseModels/DockerHost.d.mts +1 -0
- package/Models/DatabaseModels/DockerHost.d.ts +1 -0
- package/Models/DatabaseModels/DockerHost.js +36 -0
- package/Models/DatabaseModels/DockerSwarmCluster.d.mts +1 -0
- package/Models/DatabaseModels/DockerSwarmCluster.d.ts +1 -0
- package/Models/DatabaseModels/DockerSwarmCluster.js +36 -0
- package/Models/DatabaseModels/GlobalConfig.d.mts +36 -1
- package/Models/DatabaseModels/GlobalConfig.d.ts +36 -1
- package/Models/DatabaseModels/GlobalConfig.js +635 -2
- package/Models/DatabaseModels/Host.d.mts +1 -0
- package/Models/DatabaseModels/Host.d.ts +1 -0
- package/Models/DatabaseModels/Host.js +36 -0
- package/Models/DatabaseModels/Incident.d.mts +2 -0
- package/Models/DatabaseModels/Incident.d.ts +2 -0
- package/Models/DatabaseModels/Incident.js +70 -0
- package/Models/DatabaseModels/IncidentEpisodeFeed.d.mts +2 -1
- package/Models/DatabaseModels/IncidentEpisodeFeed.d.ts +2 -1
- package/Models/DatabaseModels/IncidentEpisodeFeed.js +7 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/IncidentEpisodeOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/IncidentEpisodePublicNote.d.mts +5 -0
- package/Models/DatabaseModels/IncidentEpisodePublicNote.d.ts +5 -0
- package/Models/DatabaseModels/IncidentEpisodePublicNote.js +185 -0
- package/Models/DatabaseModels/IncidentFeed.d.mts +2 -1
- package/Models/DatabaseModels/IncidentFeed.d.ts +2 -1
- package/Models/DatabaseModels/IncidentFeed.js +7 -0
- package/Models/DatabaseModels/IncidentGroupingRule.d.mts +2 -0
- package/Models/DatabaseModels/IncidentGroupingRule.d.ts +2 -0
- package/Models/DatabaseModels/IncidentGroupingRule.js +85 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/IncidentOnCallRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.js +456 -0
- package/Models/DatabaseModels/IncidentOwnerRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/IncidentPublicNote.d.mts +5 -0
- package/Models/DatabaseModels/IncidentPublicNote.d.ts +5 -0
- package/Models/DatabaseModels/IncidentPublicNote.js +185 -0
- package/Models/DatabaseModels/Index.js +24 -0
- package/Models/DatabaseModels/KubernetesCluster.d.mts +1 -0
- package/Models/DatabaseModels/KubernetesCluster.d.ts +1 -0
- package/Models/DatabaseModels/KubernetesCluster.js +36 -0
- package/Models/DatabaseModels/LlmProvider.d.mts +1 -0
- package/Models/DatabaseModels/LlmProvider.d.ts +1 -0
- package/Models/DatabaseModels/LlmProvider.js +39 -0
- package/Models/DatabaseModels/Monitor.d.mts +2 -0
- package/Models/DatabaseModels/Monitor.d.ts +2 -0
- package/Models/DatabaseModels/Monitor.js +98 -2
- package/Models/DatabaseModels/NetworkDeviceDiscoveryImport.js +11 -6
- package/Models/DatabaseModels/NetworkEndpoint.d.mts +1 -0
- package/Models/DatabaseModels/NetworkEndpoint.d.ts +1 -0
- package/Models/DatabaseModels/NetworkEndpoint.js +48 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.mts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.d.ts +1 -0
- package/Models/DatabaseModels/OnCallDutyPolicyExecutionLog.js +54 -0
- package/Models/DatabaseModels/OpenStackCloud.d.mts +1 -0
- package/Models/DatabaseModels/OpenStackCloud.d.ts +1 -0
- package/Models/DatabaseModels/OpenStackCloud.js +27 -0
- package/Models/DatabaseModels/PacketCapture.js +3 -1
- package/Models/DatabaseModels/PodmanHost.d.mts +1 -0
- package/Models/DatabaseModels/PodmanHost.d.ts +1 -0
- package/Models/DatabaseModels/PodmanHost.js +36 -0
- package/Models/DatabaseModels/Project.d.mts +19 -0
- package/Models/DatabaseModels/Project.d.ts +19 -0
- package/Models/DatabaseModels/Project.js +541 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.d.mts +10 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.d.ts +10 -0
- package/Models/DatabaseModels/ProjectSmtpConfig.js +335 -1
- package/Models/DatabaseModels/ProxmoxCluster.d.mts +1 -0
- package/Models/DatabaseModels/ProxmoxCluster.d.ts +1 -0
- package/Models/DatabaseModels/ProxmoxCluster.js +36 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.d.mts +29 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.d.ts +29 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.js +460 -0
- package/Models/DatabaseModels/PublicNoteApprovalRequest.mjs +3 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.d.mts +19 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.d.ts +19 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.js +363 -0
- package/Models/DatabaseModels/PublicNoteApprovalStep.mjs +2 -0
- package/Models/DatabaseModels/RumApplication.d.mts +6 -0
- package/Models/DatabaseModels/RumApplication.d.ts +6 -0
- package/Models/DatabaseModels/RumApplication.js +202 -2
- package/Models/DatabaseModels/ScheduledMaintenance.d.mts +2 -0
- package/Models/DatabaseModels/ScheduledMaintenance.d.ts +2 -0
- package/Models/DatabaseModels/ScheduledMaintenance.js +63 -0
- package/Models/DatabaseModels/ScheduledMaintenanceFeed.d.mts +2 -1
- package/Models/DatabaseModels/ScheduledMaintenanceFeed.d.ts +2 -1
- package/Models/DatabaseModels/ScheduledMaintenanceFeed.js +7 -0
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.d.mts +5 -0
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.d.ts +5 -0
- package/Models/DatabaseModels/ScheduledMaintenancePublicNote.js +185 -0
- package/Models/DatabaseModels/ServerlessFunction.js +10 -2
- package/Models/DatabaseModels/ServiceLevelObjective.d.mts +5 -0
- package/Models/DatabaseModels/ServiceLevelObjective.d.ts +5 -0
- package/Models/DatabaseModels/ServiceLevelObjective.js +174 -3
- package/Models/DatabaseModels/ServiceLevelObjectiveBurnRateRule.js +1 -1
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.d.mts +54 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.d.ts +54 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.js +1674 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveErrorBudgetPolicyTier.mjs +2 -0
- package/Models/DatabaseModels/ServiceLevelObjectiveFeed.d.mts +8 -1
- package/Models/DatabaseModels/ServiceLevelObjectiveFeed.d.ts +8 -1
- package/Models/DatabaseModels/ServiceLevelObjectiveFeed.js +14 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.d.mts +10 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.d.ts +10 -0
- package/Models/DatabaseModels/TelemetryIngestionKey.js +199 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.d.mts +19 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.d.ts +19 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.js +297 -0
- package/Models/DatabaseModels/TelemetryIngestionKeyRefusal.mjs +2 -0
- package/Models/DatabaseModels/TelemetryUsageBilling.js +35 -122
- package/Models/DatabaseModels/User.d.mts +1 -0
- package/Models/DatabaseModels/User.d.ts +1 -0
- package/Models/DatabaseModels/User.js +29 -0
- package/Models/DatabaseModels/UserSession.js +10 -4
- package/Models/DatabaseModels/VMwareVCenter.d.mts +1 -0
- package/Models/DatabaseModels/VMwareVCenter.d.ts +1 -0
- package/Models/DatabaseModels/VMwareVCenter.js +36 -0
- package/Models/DatabaseModels/Workflow.d.mts +1 -0
- package/Models/DatabaseModels/Workflow.d.ts +1 -0
- package/Models/DatabaseModels/Workflow.js +45 -0
- package/Models/DatabaseModels/WorkflowVersion.d.mts +24 -0
- package/Models/DatabaseModels/WorkflowVersion.d.ts +24 -0
- package/Models/DatabaseModels/WorkflowVersion.js +529 -0
- package/Models/DatabaseModels/WorkflowVersion.mjs +2 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.d.mts +18 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.d.ts +18 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.js +499 -0
- package/Models/DatabaseModels/WorkspaceNotificationRuleOwningTeam.mjs +2 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.d.mts +31 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.d.ts +31 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.js +537 -0
- package/Models/DatabaseModels/WorkspacePublicNoteApprovalMessage.mjs +2 -0
- package/Server/Services/DatabaseService.d.mts +4 -0
- package/Server/Services/DatabaseService.d.ts +4 -0
- package/Server/Types/Database/UpdateByID.d.mts +1 -0
- package/Server/Types/Database/UpdateByID.d.ts +1 -0
- package/Server/Types/Database/UpdateOneBy.d.mts +1 -0
- package/Server/Types/Database/UpdateOneBy.d.ts +1 -0
- package/Server/Utils/Workspace/WorkspaceBase.d.mts +7 -1
- package/Server/Utils/Workspace/WorkspaceBase.d.ts +7 -1
- package/Types/AI/AIActionWords.d.mts +16 -0
- package/Types/AI/AIActionWords.d.ts +16 -0
- package/Types/AI/AIActionWords.js +105 -1
- package/Types/AI/AIActionWords.mjs +3 -0
- package/Types/AI/AIAgentRunLimits.d.mts +76 -13
- package/Types/AI/AIAgentRunLimits.d.ts +76 -13
- package/Types/AI/AIAgentRunLimits.js +434 -51
- package/Types/AI/AIAgentRunLimits.mjs +10 -2
- package/Types/AI/AIChatRecordSeen.d.mts +49 -0
- package/Types/AI/AIChatRecordSeen.d.ts +49 -0
- package/Types/AI/AIChatRecordSeen.js +337 -0
- package/Types/AI/AIChatRecordSeen.mjs +12 -0
- package/Types/AI/AIChatTypes.d.mts +7 -0
- package/Types/AI/AIChatTypes.d.ts +7 -0
- package/Types/AI/AIChatTypes.js +15 -1
- package/Types/AI/AIChatTypes.mjs +1 -0
- package/Types/AI/AIRunAttempt.d.mts +30 -0
- package/Types/AI/AIRunAttempt.d.ts +30 -0
- package/Types/AI/AIRunAttempt.js +175 -0
- package/Types/AI/AIRunAttempt.mjs +5 -0
- package/Types/AI/AIRunEventType.d.mts +3 -0
- package/Types/AI/AIRunEventType.d.ts +3 -0
- package/Types/AI/AIRunEventType.js +28 -0
- package/Types/AI/AIRunStatus.d.mts +2 -0
- package/Types/AI/AIRunStatus.d.ts +2 -0
- package/Types/AI/AIRunStatus.js +12 -0
- package/Types/AI/AgentLoopDetector.d.mts +29 -0
- package/Types/AI/AgentLoopDetector.d.ts +29 -0
- package/Types/AI/AgentLoopDetector.js +196 -0
- package/Types/AI/AgentLoopDetector.mjs +9 -0
- package/Types/AI/CodeAgentRunLimits.d.mts +28 -0
- package/Types/AI/CodeAgentRunLimits.d.ts +28 -0
- package/Types/AI/CodeAgentRunLimits.js +163 -0
- package/Types/AI/CodeAgentRunLimits.mjs +2 -0
- package/Types/AI/CodeFixTaskContext.d.mts +2 -0
- package/Types/AI/CodeFixTaskContext.d.ts +2 -0
- package/Types/AI/CodeTask.d.mts +20 -0
- package/Types/AI/CodeTask.d.ts +20 -0
- package/Types/AI/CodeTask.js +23 -1
- package/Types/AI/CodeTask.mjs +4 -0
- package/Types/AI/CodeTaskRetry.d.mts +21 -0
- package/Types/AI/CodeTaskRetry.d.ts +21 -0
- package/Types/AI/CodeTaskRetry.js +61 -0
- package/Types/AI/CodeTaskRetry.mjs +4 -0
- package/Types/AI/CodeTaskStage.d.mts +19 -0
- package/Types/AI/CodeTaskStage.d.ts +19 -0
- package/Types/AI/CodeTaskStage.js +78 -0
- package/Types/AI/CodeTaskStage.mjs +3 -0
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.d.mts +0 -1
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.d.ts +0 -1
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.js +6 -4
- package/Types/AI/ExternalMcpServer/ExternalMcpServerLimits.mjs +0 -1
- package/Types/AI/ProjectAiRunLimits.d.mts +24 -0
- package/Types/AI/ProjectAiRunLimits.d.ts +24 -0
- package/Types/AI/ProjectAiRunLimits.js +137 -0
- package/Types/AI/ProjectAiRunLimits.mjs +9 -0
- package/Types/AI/TransientAIFailure.d.mts +16 -0
- package/Types/AI/TransientAIFailure.d.ts +16 -0
- package/Types/AI/TransientAIFailure.js +228 -0
- package/Types/AI/TransientAIFailure.mjs +4 -0
- package/Types/Accounts/AccountsLanguage.js +1 -0
- package/Types/AdminDashboard/AdminDashboardLanguage.js +1 -0
- package/Types/AnalyticsDatabase/AnalyticsTableName.d.mts +3 -1
- package/Types/AnalyticsDatabase/AnalyticsTableName.d.ts +3 -1
- package/Types/AnalyticsDatabase/AnalyticsTableName.js +16 -0
- package/Types/AuditLog/AuditLogCoverage.d.mts +40 -0
- package/Types/AuditLog/AuditLogCoverage.d.ts +40 -0
- package/Types/AuditLog/AuditLogCoverage.js +804 -0
- package/Types/AuditLog/AuditLogCoverage.mjs +17 -0
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.d.mts +13 -1
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.d.ts +13 -1
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.js +92 -8
- package/Types/AuditLog/Export/AuditLogExportDestinationCatalog.mjs +5 -0
- package/Types/AuditLog/Export/AuditLogExportRecord.d.mts +14 -4
- package/Types/AuditLog/Export/AuditLogExportRecord.d.ts +14 -4
- package/Types/AuditLog/Export/AuditLogExportRecord.js +86 -29
- package/Types/AuditLog/Export/AuditLogExportRecord.mjs +7 -0
- package/Types/AutoRemediation/RemediationApprovals.d.mts +16 -0
- package/Types/AutoRemediation/RemediationApprovals.d.ts +16 -0
- package/Types/AutoRemediation/RemediationApprovals.js +92 -0
- package/Types/AutoRemediation/RemediationApprovals.mjs +7 -0
- package/Types/AutoRemediation/RemediationRound.d.mts +56 -0
- package/Types/AutoRemediation/RemediationRound.d.ts +56 -0
- package/Types/AutoRemediation/RemediationRound.js +242 -0
- package/Types/AutoRemediation/RemediationRound.mjs +22 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.mts +2 -0
- package/Types/BaseDatabase/DatabaseCommonInteractionProps.d.ts +2 -0
- package/Types/BaseDatabase/EnableAuditLogOn.d.mts +1 -0
- package/Types/BaseDatabase/EnableAuditLogOn.d.ts +1 -0
- package/Types/BaseDatabase/WriteSource.d.mts +6 -0
- package/Types/BaseDatabase/WriteSource.d.ts +6 -0
- package/Types/BaseDatabase/WriteSource.js +25 -0
- package/Types/BaseDatabase/WriteSource.mjs +4 -0
- package/Types/Cloud/CloudCommitments.d.mts +74 -0
- package/Types/Cloud/CloudCommitments.d.ts +74 -0
- package/Types/Cloud/CloudCommitments.js +294 -0
- package/Types/Cloud/CloudCommitments.mjs +17 -0
- package/Types/Cloud/CloudConnectionTelemetry.d.mts +3 -0
- package/Types/Cloud/CloudConnectionTelemetry.d.ts +3 -0
- package/Types/Cloud/CloudConnectionTelemetry.js +28 -0
- package/Types/Cloud/CloudConnectionTelemetry.mjs +3 -0
- package/Types/Cloud/CloudCost.d.mts +22 -0
- package/Types/Cloud/CloudCost.d.ts +22 -0
- package/Types/Cloud/CloudCost.js +126 -1
- package/Types/Cloud/CloudCost.mjs +7 -0
- package/Types/Cloud/CloudKeyMetrics.d.mts +13 -0
- package/Types/Cloud/CloudKeyMetrics.d.ts +13 -0
- package/Types/Cloud/CloudKeyMetrics.js +174 -1
- package/Types/Cloud/CloudKeyMetrics.mjs +10 -0
- package/Types/Cloud/CloudLogGroups.d.mts +27 -1
- package/Types/Cloud/CloudLogGroups.d.ts +27 -1
- package/Types/Cloud/CloudLogGroups.js +191 -10
- package/Types/Cloud/CloudLogGroups.mjs +11 -0
- package/Types/Cloud/CloudMonitoredResource.d.mts +1 -0
- package/Types/Cloud/CloudMonitoredResource.d.ts +1 -0
- package/Types/Cloud/CloudMonitoredResource.js +23 -0
- package/Types/Cloud/CloudMonitoredResource.mjs +1 -0
- package/Types/Cloud/CloudPlatformCosts.d.mts +54 -0
- package/Types/Cloud/CloudPlatformCosts.d.ts +54 -0
- package/Types/Cloud/CloudPlatformCosts.js +249 -0
- package/Types/Cloud/CloudPlatformCosts.mjs +7 -0
- package/Types/Cloud/CloudResourceCatalog.js +10 -0
- package/Types/Cloud/CloudResourceHealth.d.mts +1 -0
- package/Types/Cloud/CloudResourceHealth.d.ts +1 -0
- package/Types/Cloud/CloudResourceHealth.js +4 -1
- package/Types/Cloud/CloudResourceMetricAggregation.d.mts +21 -0
- package/Types/Cloud/CloudResourceMetricAggregation.d.ts +21 -0
- package/Types/Cloud/CloudResourceMetricAggregation.js +140 -0
- package/Types/Cloud/CloudResourceMetricAggregation.mjs +4 -0
- package/Types/Cloud/CloudWatchLogSeverity.d.mts +7 -0
- package/Types/Cloud/CloudWatchLogSeverity.d.ts +7 -0
- package/Types/Cloud/CloudWatchLogSeverity.js +182 -0
- package/Types/Cloud/CloudWatchLogSeverity.mjs +4 -0
- package/Types/Cloud/RdsConnectionLimits.d.mts +53 -0
- package/Types/Cloud/RdsConnectionLimits.d.ts +53 -0
- package/Types/Cloud/RdsConnectionLimits.js +404 -0
- package/Types/Cloud/RdsConnectionLimits.mjs +24 -0
- package/Types/CloudConnection/AwsStackSets.d.mts +51 -0
- package/Types/CloudConnection/AwsStackSets.d.ts +51 -0
- package/Types/CloudConnection/AwsStackSets.js +188 -0
- package/Types/CloudConnection/AwsStackSets.mjs +15 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.mts +33 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.d.ts +33 -0
- package/Types/CloudConnection/CloudAiAgentSetupCommands.js +468 -53
- package/Types/CloudConnection/CloudAiAgentSetupCommands.mjs +16 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.mts +3 -0
- package/Types/CloudConnection/CloudConnectionCatalog.d.ts +3 -0
- package/Types/CloudConnection/CloudConnectionCatalog.js +31 -1
- package/Types/CloudConnection/CloudConnectionCatalog.mjs +2 -0
- package/Types/CloudConnection/CloudConnectionSetupCommands.js +24 -7
- package/Types/CloudConnection/CloudOrganizationAgents.d.mts +45 -0
- package/Types/CloudConnection/CloudOrganizationAgents.d.ts +45 -0
- package/Types/CloudConnection/CloudOrganizationAgents.js +182 -0
- package/Types/CloudConnection/CloudOrganizationAgents.mjs +12 -0
- package/Types/CloudConnection/CloudStream.d.mts +46 -1
- package/Types/CloudConnection/CloudStream.d.ts +46 -1
- package/Types/CloudConnection/CloudStream.js +316 -23
- package/Types/CloudConnection/CloudStream.mjs +31 -0
- package/Types/CloudConnection/CloudStreamAzure.d.mts +60 -0
- package/Types/CloudConnection/CloudStreamAzure.d.ts +60 -0
- package/Types/CloudConnection/CloudStreamAzure.js +418 -0
- package/Types/CloudConnection/CloudStreamAzure.mjs +35 -0
- package/Types/CloudConnection/CloudStreamGcp.d.mts +55 -0
- package/Types/CloudConnection/CloudStreamGcp.d.ts +55 -0
- package/Types/CloudConnection/CloudStreamGcp.js +247 -0
- package/Types/CloudConnection/CloudStreamGcp.mjs +25 -0
- package/Types/CloudConnection/CloudStreamOrganization.d.mts +17 -0
- package/Types/CloudConnection/CloudStreamOrganization.d.ts +17 -0
- package/Types/CloudConnection/CloudStreamOrganization.js +176 -0
- package/Types/CloudConnection/CloudStreamOrganization.mjs +9 -0
- package/Types/CloudConnection/CloudStreamTemplate.d.mts +3 -5
- package/Types/CloudConnection/CloudStreamTemplate.d.ts +3 -5
- package/Types/CloudConnection/CloudStreamTemplate.js +11 -21
- package/Types/CodeRepository/CodeChangeProposedOnKey.d.mts +1 -0
- package/Types/CodeRepository/CodeChangeProposedOnKey.d.ts +1 -0
- package/Types/CodeRepository/CodeChangeProposedOnKey.js +12 -0
- package/Types/CodeRepository/CodeChangeProposedOnKey.mjs +2 -0
- package/Types/CodeRepository/CodeFileSeen.d.mts +106 -0
- package/Types/CodeRepository/CodeFileSeen.d.ts +106 -0
- package/Types/CodeRepository/CodeFileSeen.js +523 -0
- package/Types/CodeRepository/CodeFileSeen.mjs +17 -0
- package/Types/CodeRepository/CodeFileValuesHidden.d.mts +21 -0
- package/Types/CodeRepository/CodeFileValuesHidden.d.ts +21 -0
- package/Types/CodeRepository/CodeFileValuesHidden.js +135 -0
- package/Types/CodeRepository/CodeFileValuesHidden.mjs +6 -0
- package/Types/CodeRepository/CodeHost.d.mts +15 -0
- package/Types/CodeRepository/CodeHost.d.ts +15 -0
- package/Types/CodeRepository/CodeHost.js +195 -6
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.mts +1 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.d.ts +1 -0
- package/Types/CustomNotificationChannel/CustomNotificationChannelPayload.js +3 -0
- package/Types/Dashboard/DashboardComponentType.d.mts +2 -0
- package/Types/Dashboard/DashboardComponentType.d.ts +2 -0
- package/Types/Dashboard/DashboardComponentType.js +24 -1
- package/Types/Dashboard/DashboardComponentType.mjs +2 -0
- package/Types/Dashboard/DashboardLanguage.js +1 -0
- package/Types/Dashboard/PublicDashboardServedSettings.d.mts +19 -0
- package/Types/Dashboard/PublicDashboardServedSettings.d.ts +19 -0
- package/Types/Dashboard/PublicDashboardServedSettings.js +501 -0
- package/Types/Dashboard/PublicDashboardServedSettings.mjs +12 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.mts +17 -0
- package/Types/DataObservability/DataObservabilityApiTypes.d.ts +17 -0
- package/Types/DataObservability/DataObservabilityApiTypes.js +5 -1
- package/Types/DataObservability/DataObservabilityApiTypes.mjs +1 -0
- package/Types/DataObservability/DataObservabilityAttention.d.mts +78 -0
- package/Types/DataObservability/DataObservabilityAttention.d.ts +78 -0
- package/Types/DataObservability/DataObservabilityAttention.js +163 -0
- package/Types/DataObservability/DataObservabilityAttention.mjs +12 -0
- package/Types/Database/AccessControl/PermissionScopeNarrowing.js +4 -0
- package/Types/Database/EnableAuditLog.js +3 -0
- package/Types/Date.d.mts +9 -0
- package/Types/Date.d.ts +9 -0
- package/Types/Date.js +57 -8
- package/Types/DateLanguage.d.mts +3 -0
- package/Types/DateLanguage.d.ts +3 -0
- package/Types/DateLanguage.js +59 -10
- package/Types/DateLanguage.mjs +3 -0
- package/Types/Email/EmailServer.d.mts +7 -0
- package/Types/Email/EmailServer.d.ts +7 -0
- package/Types/Email/EmailTemplateType.d.mts +2 -0
- package/Types/Email/EmailTemplateType.d.ts +2 -0
- package/Types/Email/EmailTemplateType.js +3 -0
- package/Types/Email/MailTransportType.d.mts +29 -9
- package/Types/Email/MailTransportType.d.ts +29 -9
- package/Types/Email/MailTransportType.js +56 -8
- package/Types/Email/MailTransportType.mjs +4 -0
- package/Types/Email/MailgunDomain.d.mts +2 -0
- package/Types/Email/MailgunDomain.d.ts +2 -0
- package/Types/Email/MailgunDomain.js +57 -0
- package/Types/Email/MailgunDomain.mjs +3 -0
- package/Types/Email/MailgunRegion.d.mts +8 -0
- package/Types/Email/MailgunRegion.d.ts +8 -0
- package/Types/Email/MailgunRegion.js +32 -0
- package/Types/Email/MailgunRegion.mjs +5 -0
- package/Types/Exception/ConflictException.d.mts +6 -0
- package/Types/Exception/ConflictException.d.ts +6 -0
- package/Types/Exception/ConflictException.js +30 -0
- package/Types/Exception/ConflictException.mjs +2 -0
- package/Types/Exception/ExceptionCode.d.mts +1 -0
- package/Types/Exception/ExceptionCode.d.ts +1 -0
- package/Types/Exception/ExceptionCode.js +2 -0
- package/Types/Kubernetes/KubernetesClusterAiAccess.d.mts +0 -1
- package/Types/Kubernetes/KubernetesClusterAiAccess.d.ts +0 -1
- package/Types/Kubernetes/KubernetesClusterAiAccess.js +7 -6
- package/Types/Kubernetes/KubernetesClusterAiAccess.mjs +0 -1
- package/Types/Kubernetes/KubernetesEvent.js +5 -4
- package/Types/LlmObservability/LlmConnectionCatalog.d.mts +5 -0
- package/Types/LlmObservability/LlmConnectionCatalog.d.ts +5 -0
- package/Types/LlmObservability/LlmConnectionCatalog.js +35 -0
- package/Types/LlmObservability/LlmConnectionProvider.d.mts +1 -0
- package/Types/LlmObservability/LlmConnectionProvider.d.ts +1 -0
- package/Types/LlmObservability/LlmConnectionProvider.js +4 -2
- package/Types/LlmObservability/LlmConnectionRecords.d.mts +7 -0
- package/Types/LlmObservability/LlmConnectionRecords.d.ts +7 -0
- package/Types/LlmObservability/LlmConnectionTest.d.mts +1 -0
- package/Types/LlmObservability/LlmConnectionTest.d.ts +1 -0
- package/Types/Log/LogEventName.d.mts +6 -0
- package/Types/Log/LogEventName.d.ts +6 -0
- package/Types/Log/LogEventName.js +59 -0
- package/Types/Log/LogEventName.mjs +4 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.d.mts +15 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.d.ts +15 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.js +51 -0
- package/Types/MessageQueue/MessageQueueCloudConnectionMetrics.mjs +4 -0
- package/Types/MessageQueue/MessageQueueMetricCatalog.d.mts +1 -1
- package/Types/MessageQueue/MessageQueueMetricCatalog.d.ts +1 -1
- package/Types/MessageQueue/MessageQueueMetricCatalog.js +64 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.d.mts +65 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.d.ts +65 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.js +326 -0
- package/Types/MessageQueue/MessageQueueSpanPopulation.mjs +22 -0
- package/Types/MessageQueue/MessageQueueTopology.d.mts +59 -0
- package/Types/MessageQueue/MessageQueueTopology.d.ts +59 -0
- package/Types/MessageQueue/MessageQueueTopology.js +211 -0
- package/Types/MessageQueue/MessageQueueTopology.mjs +8 -0
- package/Types/MessageQueue/MessagingSystem.js +6 -2
- package/Types/Metrics/MetricsQuery.d.mts +1 -0
- package/Types/Metrics/MetricsQuery.d.ts +1 -0
- package/Types/Monitor/CloudAlertTemplates.d.mts +122 -0
- package/Types/Monitor/CloudAlertTemplates.d.ts +122 -0
- package/Types/Monitor/CloudAlertTemplates.js +2003 -0
- package/Types/Monitor/CloudAlertTemplates.mjs +26 -0
- package/Types/Monitor/CloudAppAlertTemplates.d.mts +34 -0
- package/Types/Monitor/CloudAppAlertTemplates.d.ts +34 -0
- package/Types/Monitor/CloudAppAlertTemplates.js +331 -0
- package/Types/Monitor/CloudAppAlertTemplates.mjs +8 -0
- package/Types/Monitor/IncomingMonitor/IncomingMonitorRequest.d.mts +1 -0
- package/Types/Monitor/IncomingMonitor/IncomingMonitorRequest.d.ts +1 -0
- package/Types/Monitor/MessageQueueAlertTemplates.js +3 -0
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.mts +1 -0
- package/Types/Monitor/MetricMonitor/MetricMonitorResponse.d.ts +1 -0
- package/Types/Monitor/MonitorEvaluationDetails.d.mts +80 -0
- package/Types/Monitor/MonitorEvaluationDetails.d.ts +80 -0
- package/Types/Monitor/MonitorEvaluationDetails.js +41 -0
- package/Types/Monitor/MonitorEvaluationDetails.mjs +3 -0
- package/Types/Monitor/MonitorStepMetricMonitor.d.mts +2 -0
- package/Types/Monitor/MonitorStepMetricMonitor.d.ts +2 -0
- package/Types/Monitor/MonitorStepMetricMonitor.js +4 -0
- package/Types/Monitor/MonitorSummarySnapshot.d.mts +1 -0
- package/Types/Monitor/MonitorSummarySnapshot.d.ts +1 -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 +113 -13
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.mts +16 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.d.ts +16 -1
- package/Types/Monitor/Recommendation/MonitorRecommendationTypes.js +18 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.d.mts +10 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.d.ts +10 -0
- package/Types/Monitor/Recommendation/MonitorRecommendationUtil.js +54 -1
- package/Types/Monitor/TelemetryAlertRule.js +19 -1
- package/Types/NetFlow/NetworkTrafficUsage.d.mts +56 -0
- package/Types/NetFlow/NetworkTrafficUsage.d.ts +56 -0
- package/Types/NetFlow/NetworkTrafficUsage.js +171 -1
- package/Types/NetFlow/NetworkTrafficUsage.mjs +11 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.d.mts +43 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.d.ts +43 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.js +107 -0
- package/Types/NetworkController/NetworkControllerApplianceLink.mjs +8 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.mts +105 -0
- package/Types/NetworkDevice/DiscoveredDevice.d.ts +105 -0
- package/Types/NetworkDevice/DiscoveredDevice.js +407 -0
- package/Types/NetworkDevice/DiscoveredDevice.mjs +23 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.d.mts +10 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.d.ts +10 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.js +93 -0
- package/Types/NetworkDevice/DiscoveredDeviceRetention.mjs +11 -0
- package/Types/NetworkDevice/DiscoveryImport.d.mts +12 -0
- package/Types/NetworkDevice/DiscoveryImport.d.ts +12 -0
- package/Types/NetworkDevice/DiscoveryImport.js +53 -1
- package/Types/NetworkDevice/DiscoveryImport.mjs +2 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.d.mts +2 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.d.ts +2 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.js +19 -0
- package/Types/NetworkDevice/NetworkDeviceTelemetryAttribute.mjs +3 -0
- package/Types/NotificationSetting/NotificationEmailRollupCategory.js +8 -0
- package/Types/NotificationSetting/NotificationEmailRollupPolicy.js +7 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.mts +2 -0
- package/Types/NotificationSetting/NotificationSettingEventType.d.ts +2 -0
- package/Types/NotificationSetting/NotificationSettingEventType.js +9 -0
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.d.mts +5 -3
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.d.ts +5 -3
- package/Types/OnCallDutyPolicy/OnCallAcknowledgementTimeout.js +98 -11
- package/Types/OnCallDutyPolicy/OnCallObserverPage.d.mts +61 -0
- package/Types/OnCallDutyPolicy/OnCallObserverPage.d.ts +61 -0
- package/Types/OnCallDutyPolicy/OnCallObserverPage.js +331 -0
- package/Types/OnCallDutyPolicy/OnCallObserverPage.mjs +24 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.d.mts +5 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.d.ts +5 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.js +21 -0
- package/Types/OnCallDutyPolicy/OnCallPageAs.mjs +2 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.d.mts +1 -0
- package/Types/OnCallDutyPolicy/OnCallPagePassOn.d.ts +1 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.d.mts +59 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.d.ts +59 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.js +388 -0
- package/Types/OnCallDutyPolicy/OnCallPageWords.mjs +24 -0
- package/Types/OnCallDutyPolicy/OnCallPersonPage.d.mts +10 -3
- package/Types/OnCallDutyPolicy/OnCallPersonPage.d.ts +10 -3
- package/Types/OnCallDutyPolicy/OnCallPersonPage.js +172 -37
- package/Types/OnCallDutyPolicy/OnCallPersonPage.mjs +2 -0
- package/Types/Permission.d.mts +28 -0
- package/Types/Permission.d.ts +28 -0
- package/Types/Permission.js +288 -0
- package/Types/ProviderLogo/AllProviderLogoMarks.js +2 -0
- package/Types/ProviderLogo/Marks/cursor.d.mts +3 -0
- package/Types/ProviderLogo/Marks/cursor.d.ts +3 -0
- package/Types/ProviderLogo/Marks/cursor.js +12 -0
- package/Types/ProviderLogo/Marks/cursor.mjs +2 -0
- package/Types/ProviderLogo/ProviderLogo.d.mts +1 -0
- package/Types/ProviderLogo/ProviderLogo.d.ts +1 -0
- package/Types/ProviderLogo/ProviderLogo.js +2 -0
- package/Types/ProviderLogo/ProviderLogoMarks.js +1 -0
- package/Types/PushNotification/PushNotificationCategory.d.mts +4 -0
- package/Types/PushNotification/PushNotificationCategory.d.ts +4 -0
- package/Types/PushNotification/PushNotificationCategory.js +36 -12
- package/Types/PushNotification/PushNotificationCategory.mjs +2 -0
- package/Types/ReadingDirection.js +2 -2
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.mts +4 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.d.ts +4 -0
- package/Types/ResourceAiAgent/CloudAiAgentNames.js +32 -3
- package/Types/ResourceAiAgent/CloudAiAgentNames.mjs +4 -0
- package/Types/ResourceAiAgent/ResourceAiAccess.d.mts +1 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.d.ts +1 -1
- package/Types/ResourceAiAgent/ResourceAiAccess.js +13 -6
- package/Types/ResourceAiAgent/ResourceAiAccess.mjs +1 -1
- package/Types/Rum/ProductAnalytics.d.mts +153 -0
- package/Types/Rum/ProductAnalytics.d.ts +153 -0
- package/Types/Rum/ProductAnalytics.js +204 -0
- package/Types/Rum/ProductAnalytics.mjs +36 -0
- package/Types/Rum/RumApplicationStatus.d.mts +30 -0
- package/Types/Rum/RumApplicationStatus.d.ts +30 -0
- package/Types/Rum/RumApplicationStatus.js +147 -0
- package/Types/Rum/RumApplicationStatus.mjs +14 -0
- package/Types/Rum/RumTelemetrySignal.d.mts +7 -0
- package/Types/Rum/RumTelemetrySignal.d.ts +7 -0
- package/Types/Rum/RumTelemetrySignal.js +30 -0
- package/Types/Rum/RumTelemetrySignal.mjs +3 -0
- package/Types/Rum/SessionReplay.d.mts +6 -0
- package/Types/Rum/SessionReplay.d.ts +6 -0
- package/Types/Rum/SessionReplayApi.d.mts +7 -0
- package/Types/Rum/SessionReplayApi.d.ts +7 -0
- package/Types/Rum/SessionReplayCustomEvents.d.mts +11 -0
- package/Types/Rum/SessionReplayCustomEvents.d.ts +11 -0
- package/Types/Rum/SessionReplayCustomEvents.js +11 -0
- package/Types/Rum/SessionReplayCustomEvents.mjs +1 -0
- package/Types/Rum/SessionReplayFrustrationSignals.d.mts +90 -0
- package/Types/Rum/SessionReplayFrustrationSignals.d.ts +90 -0
- package/Types/Rum/SessionReplayFrustrationSignals.js +349 -0
- package/Types/Rum/SessionReplayFrustrationSignals.mjs +22 -0
- package/Types/SecurityCase/SecurityConnection.d.mts +9 -0
- package/Types/SecurityCase/SecurityConnection.d.ts +9 -0
- package/Types/SecurityEvent/SecurityEventScope.d.mts +12 -0
- package/Types/SecurityEvent/SecurityEventScope.d.ts +12 -0
- package/Types/SecurityEvent/SecurityEventScope.js +109 -0
- package/Types/SecurityEvent/SecurityEventScope.mjs +8 -0
- package/Types/Serverless/ServerlessFunctionStatus.d.mts +30 -0
- package/Types/Serverless/ServerlessFunctionStatus.d.ts +30 -0
- package/Types/Serverless/ServerlessFunctionStatus.js +153 -0
- package/Types/Serverless/ServerlessFunctionStatus.mjs +14 -0
- package/Types/Service/ServiceTelemetryStatus.d.mts +32 -0
- package/Types/Service/ServiceTelemetryStatus.d.ts +32 -0
- package/Types/Service/ServiceTelemetryStatus.js +138 -0
- package/Types/Service/ServiceTelemetryStatus.mjs +15 -0
- package/Types/StatusPage/PublicNoteApproval.d.mts +146 -0
- package/Types/StatusPage/PublicNoteApproval.d.ts +146 -0
- package/Types/StatusPage/PublicNoteApproval.js +473 -0
- package/Types/StatusPage/PublicNoteApproval.mjs +8 -0
- package/Types/StatusPage/StateChangeSubscriberNotification.d.mts +9 -0
- package/Types/StatusPage/StateChangeSubscriberNotification.d.ts +9 -0
- package/Types/StatusPage/StateChangeSubscriberNotification.js +16 -0
- package/Types/StatusPage/StatusPageLanguage.js +1 -0
- package/Types/StatusPage/StatusPageReport.d.mts +3 -0
- package/Types/StatusPage/StatusPageReport.d.ts +3 -0
- package/Types/StatusPage/SubscriberNotificationResend.d.mts +1 -0
- package/Types/StatusPage/SubscriberNotificationResend.d.ts +1 -0
- package/Types/StatusPage/SubscriberNotificationResend.js +2 -0
- package/Types/Table/DefaultTableColumns.d.mts +22 -0
- package/Types/Table/DefaultTableColumns.d.ts +22 -0
- package/Types/Table/DefaultTableColumns.js +166 -0
- package/Types/Table/DefaultTableColumns.mjs +6 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.d.mts +15 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.d.ts +15 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.js +96 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleHeld.mjs +2 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.d.mts +12 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.d.ts +12 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.js +72 -0
- package/Types/TeamOwnedRule/TeamOwnedRuleKinds.mjs +4 -0
- package/Types/Telemetry/LlmConventions.d.mts +5 -0
- package/Types/Telemetry/LlmConventions.d.ts +5 -0
- package/Types/Telemetry/LlmConventions.js +51 -3
- package/Types/Telemetry/LlmConventions.mjs +5 -0
- package/Types/Telemetry/LlmConversationApi.d.mts +7 -0
- package/Types/Telemetry/LlmConversationApi.d.ts +7 -0
- package/Types/Telemetry/LlmConversationApi.js +37 -1
- package/Types/Telemetry/LlmConversationApi.mjs +2 -0
- package/Types/Telemetry/LlmMetricConventions.d.mts +10 -0
- package/Types/Telemetry/LlmMetricConventions.d.ts +10 -0
- package/Types/Telemetry/LlmMetricConventions.js +84 -14
- package/Types/Telemetry/LlmMetricConventions.mjs +3 -0
- package/Types/Telemetry/LlmMetricUsageApi.d.mts +27 -0
- package/Types/Telemetry/LlmMetricUsageApi.d.ts +27 -0
- package/Types/Telemetry/LlmMetricUsageApi.js +73 -0
- package/Types/Telemetry/LlmMetricUsageApi.mjs +7 -0
- package/Types/Telemetry/LlmProviders.d.mts +23 -0
- package/Types/Telemetry/LlmProviders.d.ts +23 -0
- package/Types/Telemetry/LlmProviders.js +288 -0
- package/Types/Telemetry/LlmProviders.mjs +16 -0
- package/Types/Telemetry/LlmSetupCheckApi.d.mts +93 -0
- package/Types/Telemetry/LlmSetupCheckApi.d.ts +93 -0
- package/Types/Telemetry/LlmSetupCheckApi.js +269 -0
- package/Types/Telemetry/LlmSetupCheckApi.mjs +11 -0
- package/Types/Telemetry/LlmUsageApi.d.mts +49 -0
- package/Types/Telemetry/LlmUsageApi.d.ts +49 -0
- package/Types/Telemetry/LlmUsageApi.js +131 -0
- package/Types/Telemetry/LlmUsageApi.mjs +10 -0
- package/Types/Telemetry/ScrubRule.js +2 -1
- package/Types/Telemetry/TelemetryIngestRefusal.d.mts +23 -0
- package/Types/Telemetry/TelemetryIngestRefusal.d.ts +23 -0
- package/Types/Telemetry/TelemetryIngestRefusal.js +81 -0
- package/Types/Telemetry/TelemetryIngestRefusal.mjs +7 -0
- package/Types/Telemetry/TelemetryIngestionBudget.d.mts +160 -0
- package/Types/Telemetry/TelemetryIngestionBudget.d.ts +160 -0
- package/Types/Telemetry/TelemetryIngestionBudget.js +600 -0
- package/Types/Telemetry/TelemetryIngestionBudget.mjs +52 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.d.mts +7 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.d.ts +7 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.js +50 -0
- package/Types/Telemetry/TelemetryIngestionBudgetMetricType.mjs +2 -0
- package/Types/Telemetry/TelemetryIngestionKeyPolicy.d.mts +2 -0
- package/Types/Telemetry/TelemetryIngestionKeyPolicy.d.ts +2 -0
- package/Types/Telemetry/TelemetryQuery.d.mts +3 -0
- package/Types/Telemetry/TelemetryQuery.d.ts +3 -0
- package/Types/Telemetry/TelemetryUsage.d.mts +79 -0
- package/Types/Telemetry/TelemetryUsage.d.ts +79 -0
- package/Types/Telemetry/TelemetryUsage.js +176 -0
- package/Types/Telemetry/TelemetryUsage.mjs +22 -0
- package/Types/Trace/TraceScrubPatternType.js +2 -1
- package/Types/Translator.d.mts +6 -0
- package/Types/Translator.d.ts +6 -0
- package/Types/Translator.js +113 -12
- package/Types/Translator.mjs +6 -0
- package/Types/UserLanguage.d.mts +7 -0
- package/Types/UserLanguage.d.ts +7 -0
- package/Types/UserLanguage.js +78 -0
- package/Types/UserLanguage.mjs +5 -0
- package/Types/Workflow/Components/OnCall.js +28 -1
- package/Types/Workflow/Components/OnCallPageSettings.d.mts +3 -0
- package/Types/Workflow/Components/OnCallPageSettings.d.ts +3 -0
- package/Types/Workflow/Components/OnCallPageSettings.js +25 -0
- package/Types/Workflow/Components/OnCallPageSettings.mjs +1 -0
- package/Types/Workflow/WorkflowDraft.d.mts +2 -0
- package/Types/Workflow/WorkflowDraft.d.ts +2 -0
- package/Types/Workflow/WorkflowDraft.js +32 -23
- package/Types/Workflow/WorkflowDraft.mjs +1 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.d.mts +1 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.d.ts +1 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.js +11 -0
- package/Types/Workflow/WorkflowDraftProposedOnKey.mjs +2 -0
- package/Types/Workflow/WorkflowDraftRebase.d.mts +74 -0
- package/Types/Workflow/WorkflowDraftRebase.d.ts +74 -0
- package/Types/Workflow/WorkflowDraftRebase.js +447 -0
- package/Types/Workflow/WorkflowDraftRebase.mjs +9 -0
- package/Types/Workflow/WorkflowDraftSeen.d.mts +39 -0
- package/Types/Workflow/WorkflowDraftSeen.d.ts +39 -0
- package/Types/Workflow/WorkflowDraftSeen.js +161 -0
- package/Types/Workflow/WorkflowDraftSeen.mjs +6 -0
- package/Types/Workflow/WorkflowGraphRevision.d.mts +2 -0
- package/Types/Workflow/WorkflowGraphRevision.d.ts +2 -0
- package/Types/Workflow/WorkflowGraphRevision.js +45 -0
- package/Types/Workflow/WorkflowGraphRevision.mjs +3 -0
- package/Types/Workflow/WorkflowVersion.d.mts +11 -0
- package/Types/Workflow/WorkflowVersion.d.ts +11 -0
- package/Types/Workflow/WorkflowVersion.js +63 -0
- package/Types/Workflow/WorkflowVersion.mjs +7 -0
- package/Utils/AI/InvestigationImpactNumbers.d.mts +33 -0
- package/Utils/AI/InvestigationImpactNumbers.d.ts +33 -0
- package/Utils/AI/InvestigationImpactNumbers.js +307 -0
- package/Utils/AI/InvestigationImpactNumbers.mjs +9 -0
- package/Utils/AI/InvestigationReport.d.mts +14 -0
- package/Utils/AI/InvestigationReport.d.ts +14 -0
- package/Utils/AI/InvestigationReport.js +136 -3
- package/Utils/AI/InvestigationReport.mjs +4 -0
- package/Utils/AiRemediation/CloudChangeWords.js +6 -0
- package/Utils/AiRemediation/DeclaredCodeChange.d.mts +106 -0
- package/Utils/AiRemediation/DeclaredCodeChange.d.ts +106 -0
- package/Utils/AiRemediation/DeclaredCodeChange.js +451 -0
- package/Utils/AiRemediation/DeclaredCodeChange.mjs +16 -0
- package/Utils/AiRemediation/Resource/CloudCommandPolicy.js +4 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.mts +1 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.d.ts +1 -0
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.js +144 -11
- package/Utils/AiRemediation/Resource/CloudOperationCatalog.mjs +1 -0
- package/Utils/AuditLog/AuditLogTypedValues.d.mts +23 -0
- package/Utils/AuditLog/AuditLogTypedValues.d.ts +23 -0
- package/Utils/AuditLog/AuditLogTypedValues.js +331 -0
- package/Utils/AuditLog/AuditLogTypedValues.mjs +8 -0
- package/Utils/AuditLog/AuditLogValues.d.mts +25 -0
- package/Utils/AuditLog/AuditLogValues.d.ts +25 -0
- package/Utils/AuditLog/AuditLogValues.js +398 -0
- package/Utils/AuditLog/AuditLogValues.mjs +15 -0
- package/Utils/CronScheduleText.js +2 -2
- package/Utils/Dashboard/DashboardWidgetIds.d.mts +9 -0
- package/Utils/Dashboard/DashboardWidgetIds.d.ts +9 -0
- package/Utils/Dashboard/DashboardWidgetIds.js +136 -0
- package/Utils/Dashboard/DashboardWidgetIds.mjs +4 -0
- package/Utils/Dashboard/DashboardWidgetSorts.js +7 -1
- package/Utils/Dashboard/LabelVariable.js +12 -2
- package/Utils/Dashboard/SloWidgetSource.d.mts +2 -2
- package/Utils/Dashboard/SloWidgetSource.d.ts +2 -2
- package/Utils/Dashboard/SloWidgetSource.js +14 -3
- package/Utils/Dashboard/StoredDashboardViewConfig.d.mts +7 -0
- package/Utils/Dashboard/StoredDashboardViewConfig.d.ts +7 -0
- package/Utils/Dashboard/StoredDashboardViewConfig.js +124 -22
- package/Utils/Episode/EpisodeOpeningThreshold.d.mts +9 -0
- package/Utils/Episode/EpisodeOpeningThreshold.d.ts +9 -0
- package/Utils/Episode/EpisodeOpeningThreshold.js +64 -0
- package/Utils/Episode/EpisodeOpeningThreshold.mjs +7 -0
- package/Utils/LLM/LlmProviderResponseTimeout.d.mts +4 -0
- package/Utils/LLM/LlmProviderResponseTimeout.d.ts +4 -0
- package/Utils/LLM/LlmProviderResponseTimeout.js +24 -0
- package/Utils/LLM/LlmProviderResponseTimeout.mjs +4 -0
- package/Utils/LinearRegExp/PatternWork.d.mts +1 -0
- package/Utils/LinearRegExp/PatternWork.d.ts +1 -0
- package/Utils/LinearRegExp/PatternWork.js +10 -4
- package/Utils/LinearRegExp/PatternWork.mjs +1 -0
- package/Utils/Markdown/Base64Data.d.mts +8 -0
- package/Utils/Markdown/Base64Data.d.ts +8 -0
- package/Utils/Markdown/Base64Data.js +130 -0
- package/Utils/Markdown/Base64Data.mjs +4 -0
- package/Utils/Metrics/MetricExplorerUrl.d.mts +1 -0
- package/Utils/Metrics/MetricExplorerUrl.d.ts +1 -0
- package/Utils/Metrics/MetricExplorerUrl.js +14 -3
- package/Utils/Metrics/MetricFormulaEvaluator.d.mts +18 -0
- package/Utils/Metrics/MetricFormulaEvaluator.d.ts +18 -0
- package/Utils/Metrics/MetricFormulaEvaluator.js +112 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.d.mts +62 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.d.ts +62 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.js +335 -0
- package/Utils/Metrics/MetricQueryCloudAggregation.mjs +2 -0
- package/Utils/Metrics/MetricQueryServices.d.mts +14 -0
- package/Utils/Metrics/MetricQueryServices.d.ts +14 -0
- package/Utils/Metrics/MetricQueryServices.js +121 -0
- package/Utils/Metrics/MetricQueryServices.mjs +2 -0
- package/Utils/Metrics/MetricWholeWindow.d.mts +11 -0
- package/Utils/Metrics/MetricWholeWindow.d.ts +11 -0
- package/Utils/Metrics/MetricWholeWindow.js +50 -0
- package/Utils/Metrics/MetricWholeWindow.mjs +2 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.d.mts +23 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.d.ts +23 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.js +154 -0
- package/Utils/Monitor/MetricTelemetrySnapshot.mjs +2 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.d.mts +13 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.d.ts +13 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.js +59 -0
- package/Utils/Monitor/MonitorAutoResolveTemplates.mjs +2 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.d.mts +8 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.d.ts +8 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.js +81 -0
- package/Utils/Monitor/MonitorEvaluationDetailsUtil.mjs +2 -0
- package/Utils/Monitor/MonitorGroupMonitoring.d.mts +25 -0
- package/Utils/Monitor/MonitorGroupMonitoring.d.ts +25 -0
- package/Utils/Monitor/MonitorGroupMonitoring.js +78 -0
- package/Utils/Monitor/MonitorGroupMonitoring.mjs +3 -0
- package/Utils/Monitor/MonitorOverviewFamily.d.mts +2 -1
- package/Utils/Monitor/MonitorOverviewFamily.d.ts +2 -1
- package/Utils/Monitor/MonitorOverviewFamily.js +35 -3
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.mts +1 -0
- package/Utils/Monitor/MonitorOverviewPresentationUtil.d.ts +1 -0
- package/Utils/Monitor/MonitorOverviewPresentationUtil.js +5 -0
- package/Utils/Monitor/MonitorStepMetricQueries.d.mts +61 -0
- package/Utils/Monitor/MonitorStepMetricQueries.d.ts +61 -0
- package/Utils/Monitor/MonitorStepMetricQueries.js +616 -0
- package/Utils/Monitor/MonitorStepMetricQueries.mjs +6 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.d.mts +62 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.d.ts +62 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.js +415 -0
- package/Utils/Monitor/MonitorStepMetricThresholds.mjs +4 -0
- package/Utils/Monitor/NetworkTopologyUtil.d.mts +1 -0
- package/Utils/Monitor/NetworkTopologyUtil.d.ts +1 -0
- package/Utils/Monitor/NetworkTopologyUtil.js +27 -7
- package/Utils/Monitor/NetworkTopologyUtil.mjs +1 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.d.mts +5 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.d.ts +5 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.js +37 -0
- package/Utils/Monitor/NotOperationalMonitorQuery.mjs +2 -0
- package/Utils/NameBreaks.js +44 -12
- package/Utils/NetworkDevice/DeviceNameLikeness.d.mts +33 -0
- package/Utils/NetworkDevice/DeviceNameLikeness.d.ts +33 -0
- package/Utils/NetworkDevice/DeviceNameLikeness.js +279 -0
- package/Utils/NetworkDevice/DeviceNameLikeness.mjs +14 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.d.mts +13 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.d.ts +13 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.js +104 -0
- package/Utils/NetworkDevice/DiscoveredDeviceIdentity.mjs +6 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.mts +12 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.d.ts +12 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.js +92 -0
- package/Utils/NetworkDiscovery/DiscoveredEndpointDeviceBuilder.mjs +3 -0
- package/Utils/Project/ProjectBilling.d.mts +1 -0
- package/Utils/Project/ProjectBilling.d.ts +1 -0
- package/Utils/Project/ProjectBilling.js +27 -3
- package/Utils/Project/ProjectBilling.mjs +1 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.d.mts +9 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.d.ts +9 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.js +337 -0
- package/Utils/Rum/SessionReplayFrustrationSettingsValidation.mjs +5 -0
- package/Utils/Rum/UserFlow.js +6 -2
- package/Utils/Runbook/RunbookStepExecutionChanges.d.mts +32 -0
- package/Utils/Runbook/RunbookStepExecutionChanges.d.ts +32 -0
- package/Utils/Runbook/RunbookStepExecutionChanges.js +264 -0
- package/Utils/Runbook/RunbookStepExecutionChanges.mjs +11 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.d.mts +1 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.d.ts +1 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.js +33 -0
- package/Utils/SecurityCase/SecurityConnectionMatch.mjs +1 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.d.mts +5 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.d.ts +5 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.js +458 -0
- package/Utils/SecurityEvent/LogParsers/DatabaseServerLogLine.mjs +6 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.mts +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.d.ts +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.js +30 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogLine.mjs +1 -0
- package/Utils/SecurityEvent/LogParsers/SecurityLogParser.js +9 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.d.mts +3 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.d.ts +3 -0
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.js +223 -33
- package/Utils/SecurityEvent/LogParsers/WebAttackLogParser.mjs +3 -0
- package/Utils/SecurityEvent/SecurityScanWords.d.mts +2 -0
- package/Utils/SecurityEvent/SecurityScanWords.d.ts +2 -0
- package/Utils/SecurityEvent/SecurityScanWords.js +122 -0
- package/Utils/SecurityEvent/SecurityScanWords.mjs +3 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.d.mts +42 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.d.ts +42 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.js +207 -0
- package/Utils/Slo/SloBulkRecommendedBurnRateRules.mjs +10 -0
- package/Utils/Slo/SloBurnRateTemplate.d.mts +23 -3
- package/Utils/Slo/SloBurnRateTemplate.d.ts +23 -3
- package/Utils/Slo/SloBurnRateTemplate.js +96 -17
- package/Utils/Slo/SloBurnRateTemplate.mjs +6 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.mts +99 -0
- package/Utils/Slo/SloErrorBudgetPolicy.d.ts +99 -0
- package/Utils/Slo/SloErrorBudgetPolicy.js +398 -0
- package/Utils/Slo/SloErrorBudgetPolicy.mjs +25 -0
- package/Utils/Slo/SloEvaluation.d.mts +22 -0
- package/Utils/Slo/SloEvaluation.d.ts +22 -0
- package/Utils/Slo/SloEvaluation.js +43 -1
- package/Utils/Slo/SloEvaluation.mjs +4 -0
- package/Utils/Slo/SloFeedMarkdown.d.mts +27 -0
- package/Utils/Slo/SloFeedMarkdown.d.ts +27 -0
- package/Utils/Slo/SloFeedMarkdown.js +118 -3
- package/Utils/Slo/SloFeedMarkdown.mjs +2 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.d.mts +73 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.d.ts +73 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.js +348 -0
- package/Utils/Slo/SloRecommendedBurnRateRules.mjs +28 -0
- package/Utils/Slo/SloRecordOutputColumns.d.mts +25 -0
- package/Utils/Slo/SloRecordOutputColumns.d.ts +25 -0
- package/Utils/Slo/SloRecordOutputColumns.js +87 -0
- package/Utils/Slo/SloRecordOutputColumns.mjs +9 -0
- package/Utils/Slo/SloStatusColor.d.mts +6 -0
- package/Utils/Slo/SloStatusColor.d.ts +6 -0
- package/Utils/Slo/SloStatusColor.js +23 -1
- package/Utils/Slo/SloStatusColor.mjs +2 -0
- package/Utils/Slo/SloUtil.d.mts +4 -0
- package/Utils/Slo/SloUtil.d.ts +4 -0
- package/Utils/Slo/SloUtil.js +8 -2
- package/Utils/Sms/OnCallPageSms.d.mts +18 -0
- package/Utils/Sms/OnCallPageSms.d.ts +18 -0
- package/Utils/Sms/OnCallPageSms.js +88 -6
- package/Utils/StatusPage/Report.js +2 -0
- package/Utils/StatusPage/ReportPeriod.d.mts +4 -4
- package/Utils/StatusPage/ReportPeriod.d.ts +4 -4
- package/Utils/StatusPage/ReportPeriod.js +23 -47
- package/Utils/StatusPage/ReportText.d.mts +33 -0
- package/Utils/StatusPage/ReportText.d.ts +33 -0
- package/Utils/StatusPage/ReportText.js +266 -0
- package/Utils/StatusPage/ReportText.mjs +3 -0
- package/Utils/Telemetry/CloudHealthDescription.d.mts +53 -0
- package/Utils/Telemetry/CloudHealthDescription.d.ts +53 -0
- package/Utils/Telemetry/CloudHealthDescription.js +310 -0
- package/Utils/Telemetry/CloudHealthDescription.mjs +13 -0
- package/Utils/Telemetry/LlmCallCounting.d.mts +30 -0
- package/Utils/Telemetry/LlmCallCounting.d.ts +30 -0
- package/Utils/Telemetry/LlmCallCounting.js +109 -0
- package/Utils/Telemetry/LlmCallCounting.mjs +2 -0
- package/Utils/Telemetry/LlmConversationTranscript.js +12 -6
- package/Utils/Telemetry/LlmLogEvents.d.mts +45 -0
- package/Utils/Telemetry/LlmLogEvents.d.ts +45 -0
- package/Utils/Telemetry/LlmLogEvents.js +613 -0
- package/Utils/Telemetry/LlmLogEvents.mjs +4 -0
- package/Utils/Telemetry/LlmMessageParser.d.mts +1 -0
- package/Utils/Telemetry/LlmMessageParser.d.ts +1 -0
- package/Utils/Telemetry/LlmMessageParser.js +60 -2
- package/Utils/Telemetry/LlmMetricUsage.d.mts +27 -0
- package/Utils/Telemetry/LlmMetricUsage.d.ts +27 -0
- package/Utils/Telemetry/LlmMetricUsage.js +189 -0
- package/Utils/Telemetry/LlmMetricUsage.mjs +2 -0
- package/Utils/Telemetry/LlmUsage.d.mts +51 -0
- package/Utils/Telemetry/LlmUsage.d.ts +51 -0
- package/Utils/Telemetry/LlmUsage.js +266 -0
- package/Utils/Telemetry/LlmUsage.mjs +3 -0
- package/Utils/Telemetry/ScrubNestedValues.d.mts +14 -0
- package/Utils/Telemetry/ScrubNestedValues.d.ts +14 -0
- package/Utils/Telemetry/ScrubNestedValues.js +302 -0
- package/Utils/Telemetry/ScrubNestedValues.mjs +4 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.d.mts +18 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.d.ts +18 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.js +141 -0
- package/Utils/Telemetry/TelemetryIngestionBudgetMetricType.mjs +9 -0
- package/Utils/Workflow/WorkflowGraphChanges.d.mts +65 -0
- package/Utils/Workflow/WorkflowGraphChanges.d.ts +65 -0
- package/Utils/Workflow/WorkflowGraphChanges.js +530 -0
- package/Utils/Workflow/WorkflowGraphChanges.mjs +8 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.d.mts +12 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.d.ts +12 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.js +214 -0
- package/Utils/Workflow/WorkflowGraphSnapshot.mjs +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,473 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PublicNoteApprovalMessages = exports.PUBLIC_NOTE_APPROVAL_TEXT_MAX_LENGTH = exports.PublicNoteApprovalDecision = exports.PublicNoteApprovalState = exports.PublicNoteApprovalEventType = exports.PublicNoteApprovalStatus = void 0;
|
|
4
|
+
/*
|
|
5
|
+
* PUBLIC NOTE APPROVAL.
|
|
6
|
+
*
|
|
7
|
+
* A project can ask for public notes to be approved before they are
|
|
8
|
+
* published (Incidents > Settings > Public Note Approval, and the same page
|
|
9
|
+
* under Scheduled Maintenance). Off by default: a project that never turns it
|
|
10
|
+
* on posts public notes exactly as before.
|
|
11
|
+
*
|
|
12
|
+
* With it on, a new public note - from the Dashboard, the API, a workflow,
|
|
13
|
+
* OneUptime AI, Slack, Microsoft Teams, an SLA's reminder or a state change -
|
|
14
|
+
* is saved but not published: no status page shows it, no subscriber is told,
|
|
15
|
+
* no chat channel gets it and no workflow starts with it, until the project's
|
|
16
|
+
* approvers say yes. The approvers are one step or several, in order: each
|
|
17
|
+
* step is a list of people and teams, any one of whom may approve for the
|
|
18
|
+
* step. A note is published when its last step approves it, and only then;
|
|
19
|
+
* it may be rejected at any step, with a reason, and its author can change it
|
|
20
|
+
* and send it again.
|
|
21
|
+
*
|
|
22
|
+
* Who may decide is read when they decide, from the steps as they are then:
|
|
23
|
+
* adding someone to a step, or to a team a step names, lets them decide on
|
|
24
|
+
* the notes already waiting; taking them off takes that away. A note keeps
|
|
25
|
+
* the approvals it has, by step: the step it waits for is the first one, in
|
|
26
|
+
* the steps' current order, that has not approved it. Were every step to
|
|
27
|
+
* have approved it already (one that had not was taken out), its last step
|
|
28
|
+
* is asked once more, so a note is never published by a change of settings,
|
|
29
|
+
* only by somebody approving it.
|
|
30
|
+
*
|
|
31
|
+
* Nobody decides on a note they sent for approval, and nobody approves a
|
|
32
|
+
* note for two steps: a second pair of eyes is what approval is for.
|
|
33
|
+
*
|
|
34
|
+
* An edit of a published note waits too: the status page keeps showing the
|
|
35
|
+
* note as it was approved, and the edit (pendingNote) replaces it once it is
|
|
36
|
+
* approved. An edit of a note that is not published yet starts its approval
|
|
37
|
+
* again, from the first step: an approval is of the words it was given.
|
|
38
|
+
*
|
|
39
|
+
* This file is shared by the server, which decides, and the Dashboard, which
|
|
40
|
+
* shows the same words. Server/Utils/Notes/PublicNoteApprovalEngine writes
|
|
41
|
+
* what is decided here.
|
|
42
|
+
*/
|
|
43
|
+
// Where a note stands: the note's approvalStatus column.
|
|
44
|
+
var PublicNoteApprovalStatus;
|
|
45
|
+
(function (PublicNoteApprovalStatus) {
|
|
46
|
+
PublicNoteApprovalStatus["WaitingForApproval"] = "WaitingForApproval";
|
|
47
|
+
PublicNoteApprovalStatus["Approved"] = "Approved";
|
|
48
|
+
PublicNoteApprovalStatus["Rejected"] = "Rejected";
|
|
49
|
+
})(PublicNoteApprovalStatus || (exports.PublicNoteApprovalStatus = PublicNoteApprovalStatus = {}));
|
|
50
|
+
/*
|
|
51
|
+
* Which public notes a project's approval steps are for: an incident's and
|
|
52
|
+
* an episode's (Incidents), or a scheduled maintenance event's.
|
|
53
|
+
*/
|
|
54
|
+
var PublicNoteApprovalEventType;
|
|
55
|
+
(function (PublicNoteApprovalEventType) {
|
|
56
|
+
PublicNoteApprovalEventType["Incident"] = "Incident";
|
|
57
|
+
PublicNoteApprovalEventType["ScheduledMaintenance"] = "ScheduledMaintenance";
|
|
58
|
+
})(PublicNoteApprovalEventType || (exports.PublicNoteApprovalEventType = PublicNoteApprovalEventType = {}));
|
|
59
|
+
/*
|
|
60
|
+
* How a note reads, from its columns: what the Dashboard draws and what the
|
|
61
|
+
* server allows next.
|
|
62
|
+
*/
|
|
63
|
+
var PublicNoteApprovalState;
|
|
64
|
+
(function (PublicNoteApprovalState) {
|
|
65
|
+
// On the status page; nothing waiting.
|
|
66
|
+
PublicNoteApprovalState["Published"] = "Published";
|
|
67
|
+
// Not published yet: it waits for an approver.
|
|
68
|
+
PublicNoteApprovalState["WaitingForApproval"] = "WaitingForApproval";
|
|
69
|
+
// Not published: an approver said no. Its author can change it and send it again.
|
|
70
|
+
PublicNoteApprovalState["Rejected"] = "Rejected";
|
|
71
|
+
// Published; an edit of it waits for an approver.
|
|
72
|
+
PublicNoteApprovalState["EditWaitingForApproval"] = "EditWaitingForApproval";
|
|
73
|
+
// Published; an edit of it was rejected. The note shows as it was approved.
|
|
74
|
+
PublicNoteApprovalState["EditRejected"] = "EditRejected";
|
|
75
|
+
})(PublicNoteApprovalState || (exports.PublicNoteApprovalState = PublicNoteApprovalState = {}));
|
|
76
|
+
var PublicNoteApprovalDecision;
|
|
77
|
+
(function (PublicNoteApprovalDecision) {
|
|
78
|
+
PublicNoteApprovalDecision["Approve"] = "Approve";
|
|
79
|
+
PublicNoteApprovalDecision["Reject"] = "Reject";
|
|
80
|
+
})(PublicNoteApprovalDecision || (exports.PublicNoteApprovalDecision = PublicNoteApprovalDecision = {}));
|
|
81
|
+
// The longest comment or reason a decision keeps.
|
|
82
|
+
exports.PUBLIC_NOTE_APPROVAL_TEXT_MAX_LENGTH = 2000;
|
|
83
|
+
exports.PublicNoteApprovalMessages = {
|
|
84
|
+
notAPerson: "Only a signed-in person can approve or reject a public note: approvers are people.",
|
|
85
|
+
notWaiting: "This public note is not waiting for approval.",
|
|
86
|
+
noSteps: "Nobody can approve this public note: no approvers are set up. A project admin can add them in Settings > Public Note Approval.",
|
|
87
|
+
notAnApprover: (stepLabel) => {
|
|
88
|
+
return `You are not an approver of ${stepLabel}, which this public note is waiting for.`;
|
|
89
|
+
},
|
|
90
|
+
sentByYou: "You sent this public note for approval, so someone else has to approve or reject it.",
|
|
91
|
+
approvedEarlierStep: "You approved an earlier step of this public note, so someone else has to approve this one.",
|
|
92
|
+
reasonRequired: "Say why the public note is rejected: its author sees the reason.",
|
|
93
|
+
decidedMeanwhile: "Somebody decided on this public note a moment ago. Refresh to see what they chose.",
|
|
94
|
+
changedMeanwhile: "This public note changed a moment ago, so your edit was not saved. Refresh to see it as it is now, then make your edit again.",
|
|
95
|
+
notRejected: "Only a rejected public note can be sent for approval again. Edit a note that is waiting to send it again.",
|
|
96
|
+
stillWaiting: "This public note is already waiting for approval.",
|
|
97
|
+
noEditWaiting: "This public note has no edit waiting for approval.",
|
|
98
|
+
oneNoteAtATime: "Edit one public note at a time while public notes need approval.",
|
|
99
|
+
attachmentsOfPublishedNote: "The files of a published note cannot change while public notes need approval. Post a new note with the files instead.",
|
|
100
|
+
writtenByOneUptime: (column) => {
|
|
101
|
+
return `${column} is set by OneUptime as a public note is approved, and cannot be written.`;
|
|
102
|
+
},
|
|
103
|
+
};
|
|
104
|
+
class PublicNoteApproval {
|
|
105
|
+
/*
|
|
106
|
+
* How a note reads. Only a note that says it is not published is held:
|
|
107
|
+
* one that was not read as either is published, as every note was before
|
|
108
|
+
* approval existed (the column defaults to published). An unpublished note
|
|
109
|
+
* that is not rejected waits, whatever else its status says.
|
|
110
|
+
*/
|
|
111
|
+
static getState(columns) {
|
|
112
|
+
const status = columns === null || columns === void 0 ? void 0 : columns.approvalStatus;
|
|
113
|
+
if ((columns === null || columns === void 0 ? void 0 : columns.isPublished) === false) {
|
|
114
|
+
return status === PublicNoteApprovalStatus.Rejected
|
|
115
|
+
? PublicNoteApprovalState.Rejected
|
|
116
|
+
: PublicNoteApprovalState.WaitingForApproval;
|
|
117
|
+
}
|
|
118
|
+
if (status === PublicNoteApprovalStatus.WaitingForApproval) {
|
|
119
|
+
return PublicNoteApprovalState.EditWaitingForApproval;
|
|
120
|
+
}
|
|
121
|
+
if (status === PublicNoteApprovalStatus.Rejected) {
|
|
122
|
+
return PublicNoteApprovalState.EditRejected;
|
|
123
|
+
}
|
|
124
|
+
return PublicNoteApprovalState.Published;
|
|
125
|
+
}
|
|
126
|
+
// A note, or its edit, waits for an approver.
|
|
127
|
+
static isWaiting(state) {
|
|
128
|
+
return (state === PublicNoteApprovalState.WaitingForApproval ||
|
|
129
|
+
state === PublicNoteApprovalState.EditWaitingForApproval);
|
|
130
|
+
}
|
|
131
|
+
// A note, or its edit, was rejected.
|
|
132
|
+
static isRejected(state) {
|
|
133
|
+
return (state === PublicNoteApprovalState.Rejected ||
|
|
134
|
+
state === PublicNoteApprovalState.EditRejected);
|
|
135
|
+
}
|
|
136
|
+
// The steps in the order a note goes through them.
|
|
137
|
+
static sortSteps(steps) {
|
|
138
|
+
return [...steps].sort((a, b) => {
|
|
139
|
+
if (a.order !== b.order) {
|
|
140
|
+
return a.order - b.order;
|
|
141
|
+
}
|
|
142
|
+
return a.id < b.id ? -1 : a.id > b.id ? 1 : 0;
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
/*
|
|
146
|
+
* The step a note waits for: the first step, in the steps' order now, that
|
|
147
|
+
* has not approved it in this round. When every step has (one that had not
|
|
148
|
+
* was taken out since), the last step is asked again. None when there are
|
|
149
|
+
* no steps.
|
|
150
|
+
*/
|
|
151
|
+
static getPosition(round, steps) {
|
|
152
|
+
const sorted = this.sortSteps(steps);
|
|
153
|
+
if (sorted.length === 0) {
|
|
154
|
+
return {
|
|
155
|
+
step: null,
|
|
156
|
+
number: 0,
|
|
157
|
+
count: 0,
|
|
158
|
+
isFinal: false,
|
|
159
|
+
isAskedAgain: false,
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
const approvedStepIds = new Set(((round === null || round === void 0 ? void 0 : round.approvals) || []).map((given) => {
|
|
163
|
+
return given.stepId;
|
|
164
|
+
}));
|
|
165
|
+
const remaining = sorted.filter((step) => {
|
|
166
|
+
return !approvedStepIds.has(step.id);
|
|
167
|
+
});
|
|
168
|
+
if (remaining.length === 0) {
|
|
169
|
+
return {
|
|
170
|
+
step: sorted[sorted.length - 1],
|
|
171
|
+
number: sorted.length,
|
|
172
|
+
count: sorted.length,
|
|
173
|
+
isFinal: true,
|
|
174
|
+
isAskedAgain: true,
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
const step = remaining[0];
|
|
178
|
+
return {
|
|
179
|
+
step: step,
|
|
180
|
+
number: sorted.indexOf(step) + 1,
|
|
181
|
+
count: sorted.length,
|
|
182
|
+
isFinal: remaining.length === 1,
|
|
183
|
+
isAskedAgain: false,
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
// "step 2 (Legal)", "step 1": how a sentence names a step.
|
|
187
|
+
static getStepLabel(position) {
|
|
188
|
+
if (!position.step) {
|
|
189
|
+
return "an approval step";
|
|
190
|
+
}
|
|
191
|
+
if (position.count <= 1) {
|
|
192
|
+
return position.step.name
|
|
193
|
+
? `the approval step "${position.step.name}"`
|
|
194
|
+
: "the approval step";
|
|
195
|
+
}
|
|
196
|
+
return position.step.name
|
|
197
|
+
? `step ${position.number} ("${position.step.name}")`
|
|
198
|
+
: `step ${position.number}`;
|
|
199
|
+
}
|
|
200
|
+
// Whether a person is named on a step, themselves or through a team.
|
|
201
|
+
static isApproverOf(data) {
|
|
202
|
+
if (data.step.userIds.includes(data.userId)) {
|
|
203
|
+
return true;
|
|
204
|
+
}
|
|
205
|
+
return data.step.teamIds.some((teamId) => {
|
|
206
|
+
return data.userTeamIds.includes(teamId);
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
/*
|
|
210
|
+
* Why this person may not make this decision on the note now, or null
|
|
211
|
+
* when they may. Either decision takes someone named on the step the note
|
|
212
|
+
* waits for, who did not send it for approval. Approving also takes
|
|
213
|
+
* someone who has not approved an earlier step of it: one person never
|
|
214
|
+
* approves a note twice. Rejecting publishes nothing, so an earlier
|
|
215
|
+
* approver named on this step may still reject.
|
|
216
|
+
*/
|
|
217
|
+
static getDecisionRefusal(data) {
|
|
218
|
+
var _a, _b;
|
|
219
|
+
if (!data.userId) {
|
|
220
|
+
return exports.PublicNoteApprovalMessages.notAPerson;
|
|
221
|
+
}
|
|
222
|
+
if (!this.isWaiting(data.state)) {
|
|
223
|
+
return exports.PublicNoteApprovalMessages.notWaiting;
|
|
224
|
+
}
|
|
225
|
+
const position = this.getPosition(data.round, data.steps);
|
|
226
|
+
if (!position.step) {
|
|
227
|
+
return exports.PublicNoteApprovalMessages.noSteps;
|
|
228
|
+
}
|
|
229
|
+
if (!this.isApproverOf({
|
|
230
|
+
step: position.step,
|
|
231
|
+
userId: data.userId,
|
|
232
|
+
userTeamIds: data.userTeamIds,
|
|
233
|
+
})) {
|
|
234
|
+
return exports.PublicNoteApprovalMessages.notAnApprover(this.getStepLabel(position));
|
|
235
|
+
}
|
|
236
|
+
if (((_a = data.round) === null || _a === void 0 ? void 0 : _a.submittedByUserId) === data.userId) {
|
|
237
|
+
return exports.PublicNoteApprovalMessages.sentByYou;
|
|
238
|
+
}
|
|
239
|
+
if (data.decision === PublicNoteApprovalDecision.Approve &&
|
|
240
|
+
(((_b = data.round) === null || _b === void 0 ? void 0 : _b.approvals) || []).some((given) => {
|
|
241
|
+
return given.userId === data.userId;
|
|
242
|
+
})) {
|
|
243
|
+
return exports.PublicNoteApprovalMessages.approvedEarlierStep;
|
|
244
|
+
}
|
|
245
|
+
return null;
|
|
246
|
+
}
|
|
247
|
+
/*
|
|
248
|
+
* The people a step asks: the ones it names and the members of the teams
|
|
249
|
+
* it names (`teamMembers`, by team), less the person who sent the note
|
|
250
|
+
* and anyone who approved it already. In the order named, once each.
|
|
251
|
+
*/
|
|
252
|
+
static getPeopleToAsk(data) {
|
|
253
|
+
var _a, _b;
|
|
254
|
+
const excluded = new Set((((_a = data.round) === null || _a === void 0 ? void 0 : _a.approvals) || []).map((given) => {
|
|
255
|
+
return given.userId;
|
|
256
|
+
}));
|
|
257
|
+
if ((_b = data.round) === null || _b === void 0 ? void 0 : _b.submittedByUserId) {
|
|
258
|
+
excluded.add(data.round.submittedByUserId);
|
|
259
|
+
}
|
|
260
|
+
const people = [];
|
|
261
|
+
const add = (userId) => {
|
|
262
|
+
if (!excluded.has(userId) && !people.includes(userId)) {
|
|
263
|
+
people.push(userId);
|
|
264
|
+
}
|
|
265
|
+
};
|
|
266
|
+
data.step.userIds.forEach(add);
|
|
267
|
+
for (const teamId of data.step.teamIds) {
|
|
268
|
+
(Object.prototype.hasOwnProperty.call(data.teamMembers, teamId)
|
|
269
|
+
? data.teamMembers[teamId] || []
|
|
270
|
+
: []).forEach(add);
|
|
271
|
+
}
|
|
272
|
+
return people;
|
|
273
|
+
}
|
|
274
|
+
// A new round: the note, or its edit, sent for approval now.
|
|
275
|
+
static startRound(data) {
|
|
276
|
+
const round = {
|
|
277
|
+
submittedAt: data.now.toISOString(),
|
|
278
|
+
isEdit: data.isEdit,
|
|
279
|
+
approvals: [],
|
|
280
|
+
};
|
|
281
|
+
if (data.submittedByUserId) {
|
|
282
|
+
round.submittedByUserId = data.submittedByUserId;
|
|
283
|
+
}
|
|
284
|
+
if (data.isEdit && data.notifySubscribersOfEdit) {
|
|
285
|
+
round.notifySubscribersOfEdit = true;
|
|
286
|
+
}
|
|
287
|
+
if (!data.isEdit && data.keepPostedAt) {
|
|
288
|
+
round.keepPostedAt = true;
|
|
289
|
+
}
|
|
290
|
+
if (data.isEdit && data.before) {
|
|
291
|
+
round.before = {
|
|
292
|
+
status: data.before.status,
|
|
293
|
+
round: this.withoutBefore(data.before.round),
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
return round;
|
|
297
|
+
}
|
|
298
|
+
// The round once a step approved it.
|
|
299
|
+
static recordApproval(data) {
|
|
300
|
+
const round = this.copyRound(data.round || this.startRound({ now: data.now, isEdit: false }));
|
|
301
|
+
const given = {
|
|
302
|
+
stepId: data.step.id,
|
|
303
|
+
userId: data.userId,
|
|
304
|
+
at: data.now.toISOString(),
|
|
305
|
+
};
|
|
306
|
+
if (data.step.name) {
|
|
307
|
+
given.stepName = data.step.name;
|
|
308
|
+
}
|
|
309
|
+
const comment = this.cleanText(data.comment);
|
|
310
|
+
if (comment) {
|
|
311
|
+
given.comment = comment;
|
|
312
|
+
}
|
|
313
|
+
round.approvals.push(given);
|
|
314
|
+
delete round.rejection;
|
|
315
|
+
if (data.isFinal) {
|
|
316
|
+
round.publishedAt = data.now.toISOString();
|
|
317
|
+
}
|
|
318
|
+
return round;
|
|
319
|
+
}
|
|
320
|
+
// The round once a step rejected it.
|
|
321
|
+
static recordRejection(data) {
|
|
322
|
+
const round = this.copyRound(data.round || this.startRound({ now: data.now, isEdit: false }));
|
|
323
|
+
const rejection = {
|
|
324
|
+
userId: data.userId,
|
|
325
|
+
at: data.now.toISOString(),
|
|
326
|
+
reason: this.cleanText(data.reason),
|
|
327
|
+
};
|
|
328
|
+
if (data.step) {
|
|
329
|
+
rejection.stepId = data.step.id;
|
|
330
|
+
if (data.step.name) {
|
|
331
|
+
rejection.stepName = data.step.name;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
round.rejection = rejection;
|
|
335
|
+
return round;
|
|
336
|
+
}
|
|
337
|
+
/*
|
|
338
|
+
* A comment or a reason as it is kept: trimmed, and at most
|
|
339
|
+
* PUBLIC_NOTE_APPROVAL_TEXT_MAX_LENGTH characters. Anything that is not
|
|
340
|
+
* text is none.
|
|
341
|
+
*/
|
|
342
|
+
static cleanText(value) {
|
|
343
|
+
if (typeof value !== "string") {
|
|
344
|
+
return "";
|
|
345
|
+
}
|
|
346
|
+
return value.trim().substring(0, exports.PUBLIC_NOTE_APPROVAL_TEXT_MAX_LENGTH);
|
|
347
|
+
}
|
|
348
|
+
/*
|
|
349
|
+
* A note's approval column, read: null when it holds no round, and only
|
|
350
|
+
* the parts of one that are what they say they are - the column is JSON,
|
|
351
|
+
* so a row written by hand or by a newer build is read with care.
|
|
352
|
+
*/
|
|
353
|
+
static readRound(value) {
|
|
354
|
+
if (!this.isObject(value)) {
|
|
355
|
+
return null;
|
|
356
|
+
}
|
|
357
|
+
const submittedAt = value["submittedAt"];
|
|
358
|
+
if (typeof submittedAt !== "string" || !submittedAt) {
|
|
359
|
+
return null;
|
|
360
|
+
}
|
|
361
|
+
const round = {
|
|
362
|
+
submittedAt: submittedAt,
|
|
363
|
+
isEdit: value["isEdit"] === true,
|
|
364
|
+
approvals: [],
|
|
365
|
+
};
|
|
366
|
+
if (typeof value["submittedByUserId"] === "string" &&
|
|
367
|
+
value["submittedByUserId"]) {
|
|
368
|
+
round.submittedByUserId = value["submittedByUserId"];
|
|
369
|
+
}
|
|
370
|
+
if (value["notifySubscribersOfEdit"] === true) {
|
|
371
|
+
round.notifySubscribersOfEdit = true;
|
|
372
|
+
}
|
|
373
|
+
if (value["keepPostedAt"] === true) {
|
|
374
|
+
round.keepPostedAt = true;
|
|
375
|
+
}
|
|
376
|
+
if (typeof value["publishedAt"] === "string" && value["publishedAt"]) {
|
|
377
|
+
round.publishedAt = value["publishedAt"];
|
|
378
|
+
}
|
|
379
|
+
const approvals = value["approvals"];
|
|
380
|
+
if (Array.isArray(approvals)) {
|
|
381
|
+
for (const item of approvals) {
|
|
382
|
+
const given = this.readGiven(item);
|
|
383
|
+
if (given) {
|
|
384
|
+
round.approvals.push(given);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
const rejection = this.readRejection(value["rejection"]);
|
|
389
|
+
if (rejection) {
|
|
390
|
+
round.rejection = rejection;
|
|
391
|
+
}
|
|
392
|
+
const before = value["before"];
|
|
393
|
+
if (this.isObject(before)) {
|
|
394
|
+
const status = before["status"];
|
|
395
|
+
round.before = {
|
|
396
|
+
status: this.isStatus(status) ? status : null,
|
|
397
|
+
// One level only: a round before an edit has no edit before it.
|
|
398
|
+
round: this.withoutBefore(this.readRound(before["round"])),
|
|
399
|
+
};
|
|
400
|
+
}
|
|
401
|
+
return round;
|
|
402
|
+
}
|
|
403
|
+
// A round as the approval column stores it.
|
|
404
|
+
static toJSON(round) {
|
|
405
|
+
return JSON.parse(JSON.stringify(round));
|
|
406
|
+
}
|
|
407
|
+
static isStatus(value) {
|
|
408
|
+
return (typeof value === "string" &&
|
|
409
|
+
Object.values(PublicNoteApprovalStatus).includes(value));
|
|
410
|
+
}
|
|
411
|
+
static withoutBefore(round) {
|
|
412
|
+
if (!round) {
|
|
413
|
+
return null;
|
|
414
|
+
}
|
|
415
|
+
const copy = Object.assign(Object.assign({}, round), { approvals: [...round.approvals] });
|
|
416
|
+
delete copy.before;
|
|
417
|
+
return copy;
|
|
418
|
+
}
|
|
419
|
+
static copyRound(round) {
|
|
420
|
+
return (this.readRound(this.toJSON(round)) || Object.assign(Object.assign({}, round), { approvals: [...round.approvals] }));
|
|
421
|
+
}
|
|
422
|
+
static readGiven(value) {
|
|
423
|
+
if (!this.isObject(value)) {
|
|
424
|
+
return null;
|
|
425
|
+
}
|
|
426
|
+
const stepId = value["stepId"];
|
|
427
|
+
const userId = value["userId"];
|
|
428
|
+
const at = value["at"];
|
|
429
|
+
if (typeof stepId !== "string" ||
|
|
430
|
+
!stepId ||
|
|
431
|
+
typeof userId !== "string" ||
|
|
432
|
+
!userId ||
|
|
433
|
+
typeof at !== "string" ||
|
|
434
|
+
!at) {
|
|
435
|
+
return null;
|
|
436
|
+
}
|
|
437
|
+
const given = { stepId, userId, at };
|
|
438
|
+
if (typeof value["stepName"] === "string" && value["stepName"]) {
|
|
439
|
+
given.stepName = value["stepName"];
|
|
440
|
+
}
|
|
441
|
+
if (typeof value["comment"] === "string" && value["comment"]) {
|
|
442
|
+
given.comment = value["comment"];
|
|
443
|
+
}
|
|
444
|
+
return given;
|
|
445
|
+
}
|
|
446
|
+
static readRejection(value) {
|
|
447
|
+
if (!this.isObject(value)) {
|
|
448
|
+
return null;
|
|
449
|
+
}
|
|
450
|
+
const userId = value["userId"];
|
|
451
|
+
const at = value["at"];
|
|
452
|
+
const reason = value["reason"];
|
|
453
|
+
if (typeof userId !== "string" ||
|
|
454
|
+
!userId ||
|
|
455
|
+
typeof at !== "string" ||
|
|
456
|
+
!at ||
|
|
457
|
+
typeof reason !== "string") {
|
|
458
|
+
return null;
|
|
459
|
+
}
|
|
460
|
+
const rejection = { userId, at, reason };
|
|
461
|
+
if (typeof value["stepId"] === "string" && value["stepId"]) {
|
|
462
|
+
rejection.stepId = value["stepId"];
|
|
463
|
+
}
|
|
464
|
+
if (typeof value["stepName"] === "string" && value["stepName"]) {
|
|
465
|
+
rejection.stepName = value["stepName"];
|
|
466
|
+
}
|
|
467
|
+
return rejection;
|
|
468
|
+
}
|
|
469
|
+
static isObject(value) {
|
|
470
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
exports.default = PublicNoteApproval;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import commonJsModule from "./PublicNoteApproval.js";
|
|
2
|
+
export default commonJsModule.default;
|
|
3
|
+
export const PUBLIC_NOTE_APPROVAL_TEXT_MAX_LENGTH = commonJsModule.PUBLIC_NOTE_APPROVAL_TEXT_MAX_LENGTH;
|
|
4
|
+
export const PublicNoteApprovalDecision = commonJsModule.PublicNoteApprovalDecision;
|
|
5
|
+
export const PublicNoteApprovalEventType = commonJsModule.PublicNoteApprovalEventType;
|
|
6
|
+
export const PublicNoteApprovalMessages = commonJsModule.PublicNoteApprovalMessages;
|
|
7
|
+
export const PublicNoteApprovalState = commonJsModule.PublicNoteApprovalState;
|
|
8
|
+
export const PublicNoteApprovalStatus = commonJsModule.PublicNoteApprovalStatus;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSONObject } from "../JSON.mjs";
|
|
2
|
+
import ObjectID from "../ObjectID.mjs";
|
|
2
3
|
import StatusPageSubscriberNotificationStatus from "./StatusPageSubscriberNotificationStatus.mjs";
|
|
3
4
|
export interface StateChangeNotificationColumns {
|
|
4
5
|
shouldStatusPageSubscribersBeNotified?: boolean | undefined;
|
|
@@ -18,6 +19,14 @@ export default class StateChangeSubscriberNotification {
|
|
|
18
19
|
hasPublicNote: boolean;
|
|
19
20
|
skippedMessage: string;
|
|
20
21
|
}): StateChangeSubscriberNotificationDecision | null;
|
|
22
|
+
static isPublicNoteHeldForApproval<TEventType>(data: {
|
|
23
|
+
projectId: ObjectID | undefined | null;
|
|
24
|
+
eventType: TEventType;
|
|
25
|
+
isApprovalRequired: (query: {
|
|
26
|
+
projectId: ObjectID;
|
|
27
|
+
eventType: TEventType;
|
|
28
|
+
}) => Promise<boolean>;
|
|
29
|
+
}): Promise<boolean>;
|
|
21
30
|
static applyToStateChange(data: {
|
|
22
31
|
stateChange: StateChangeNotificationColumns;
|
|
23
32
|
hasPublicNote: boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JSONObject } from "../JSON";
|
|
2
|
+
import ObjectID from "../ObjectID";
|
|
2
3
|
import StatusPageSubscriberNotificationStatus from "./StatusPageSubscriberNotificationStatus";
|
|
3
4
|
export interface StateChangeNotificationColumns {
|
|
4
5
|
shouldStatusPageSubscribersBeNotified?: boolean | undefined;
|
|
@@ -18,6 +19,14 @@ export default class StateChangeSubscriberNotification {
|
|
|
18
19
|
hasPublicNote: boolean;
|
|
19
20
|
skippedMessage: string;
|
|
20
21
|
}): StateChangeSubscriberNotificationDecision | null;
|
|
22
|
+
static isPublicNoteHeldForApproval<TEventType>(data: {
|
|
23
|
+
projectId: ObjectID | undefined | null;
|
|
24
|
+
eventType: TEventType;
|
|
25
|
+
isApprovalRequired: (query: {
|
|
26
|
+
projectId: ObjectID;
|
|
27
|
+
eventType: TEventType;
|
|
28
|
+
}) => Promise<boolean>;
|
|
29
|
+
}): Promise<boolean>;
|
|
21
30
|
static applyToStateChange(data: {
|
|
22
31
|
stateChange: StateChangeNotificationColumns;
|
|
23
32
|
hasPublicNote: boolean;
|
|
@@ -52,6 +52,22 @@ class StateChangeSubscriberNotification {
|
|
|
52
52
|
status: StatusPageSubscriberNotificationStatus_1.default.Pending,
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
+
/*
|
|
56
|
+
* Whether the note a state change posts will wait for approval, so it is
|
|
57
|
+
* not the message subscribers get about the change: the project asks for
|
|
58
|
+
* its public notes of this kind to be approved (PublicNoteApproval). A
|
|
59
|
+
* change with no project to ask about is not held. `isApprovalRequired`
|
|
60
|
+
* reads the project's switch (PublicNoteApprovalPolicy.isRequired).
|
|
61
|
+
*/
|
|
62
|
+
static async isPublicNoteHeldForApproval(data) {
|
|
63
|
+
if (!data.projectId) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return await data.isApprovalRequired({
|
|
67
|
+
projectId: data.projectId,
|
|
68
|
+
eventType: data.eventType,
|
|
69
|
+
});
|
|
70
|
+
}
|
|
55
71
|
// Writes getDecision's answer onto the state change about to be created.
|
|
56
72
|
static applyToStateChange(data) {
|
|
57
73
|
const decision = this.getDecision({
|
|
@@ -38,6 +38,7 @@ exports.SUPPORTED_STATUS_PAGE_LANGUAGES = [
|
|
|
38
38
|
},
|
|
39
39
|
{ code: "hi", nativeName: "हिन्दी", englishName: "Hindi" },
|
|
40
40
|
{ code: "fa", nativeName: "فارسی", englishName: "Persian" },
|
|
41
|
+
{ code: "ar", nativeName: "العربية", englishName: "Arabic" },
|
|
41
42
|
];
|
|
42
43
|
exports.SUPPORTED_STATUS_PAGE_LANGUAGE_CODES = exports.SUPPORTED_STATUS_PAGE_LANGUAGES.map((language) => {
|
|
43
44
|
return language.code;
|
|
@@ -4,6 +4,7 @@ export interface StatusPageReportItem {
|
|
|
4
4
|
uptimePercent: number;
|
|
5
5
|
uptimePercentAsString: string;
|
|
6
6
|
downtimeInHoursAndMinutes: string;
|
|
7
|
+
downtimeInMinutes?: number | undefined;
|
|
7
8
|
groupName: string;
|
|
8
9
|
groupPath: string;
|
|
9
10
|
}
|
|
@@ -11,6 +12,7 @@ export interface StatusPageReportGroupMetrics {
|
|
|
11
12
|
uptimePercent: number;
|
|
12
13
|
uptimePercentAsString: string;
|
|
13
14
|
downtimeInHoursAndMinutes: string;
|
|
15
|
+
downtimeInMinutes?: number | undefined;
|
|
14
16
|
totalIncidentCount: number;
|
|
15
17
|
}
|
|
16
18
|
export interface StatusPageReportGroup extends StatusPageReportGroupMetrics {
|
|
@@ -41,6 +43,7 @@ export interface StatusPageReport {
|
|
|
41
43
|
totalIncidents: number;
|
|
42
44
|
averageUptimePercent: string;
|
|
43
45
|
totalDowntimeInHoursAndMinutes: string;
|
|
46
|
+
totalDowntimeInMinutes?: number | undefined;
|
|
44
47
|
resources: Array<StatusPageReportItem>;
|
|
45
48
|
groups: Array<StatusPageReportGroup>;
|
|
46
49
|
ungroupedResources: Array<StatusPageReportItem>;
|
|
@@ -4,6 +4,7 @@ export interface StatusPageReportItem {
|
|
|
4
4
|
uptimePercent: number;
|
|
5
5
|
uptimePercentAsString: string;
|
|
6
6
|
downtimeInHoursAndMinutes: string;
|
|
7
|
+
downtimeInMinutes?: number | undefined;
|
|
7
8
|
groupName: string;
|
|
8
9
|
groupPath: string;
|
|
9
10
|
}
|
|
@@ -11,6 +12,7 @@ export interface StatusPageReportGroupMetrics {
|
|
|
11
12
|
uptimePercent: number;
|
|
12
13
|
uptimePercentAsString: string;
|
|
13
14
|
downtimeInHoursAndMinutes: string;
|
|
15
|
+
downtimeInMinutes?: number | undefined;
|
|
14
16
|
totalIncidentCount: number;
|
|
15
17
|
}
|
|
16
18
|
export interface StatusPageReportGroup extends StatusPageReportGroupMetrics {
|
|
@@ -41,6 +43,7 @@ export interface StatusPageReport {
|
|
|
41
43
|
totalIncidents: number;
|
|
42
44
|
averageUptimePercent: string;
|
|
43
45
|
totalDowntimeInHoursAndMinutes: string;
|
|
46
|
+
totalDowntimeInMinutes?: number | undefined;
|
|
44
47
|
resources: Array<StatusPageReportItem>;
|
|
45
48
|
groups: Array<StatusPageReportGroup>;
|
|
46
49
|
ungroupedResources: Array<StatusPageReportItem>;
|
|
@@ -5,6 +5,7 @@ export declare enum SubscriberNotificationResendAction {
|
|
|
5
5
|
}
|
|
6
6
|
export default class SubscriberNotificationResend {
|
|
7
7
|
static readonly notePostedWithoutNotifyingMessage: string;
|
|
8
|
+
static readonly notPublishedMessage: string;
|
|
8
9
|
static readonly beingSentMessage: string;
|
|
9
10
|
static readonly noPermissionToResendNoteMessage: string;
|
|
10
11
|
static readonly noPermissionToNotifyAboutEditMessage: string;
|
|
@@ -5,6 +5,7 @@ export declare enum SubscriberNotificationResendAction {
|
|
|
5
5
|
}
|
|
6
6
|
export default class SubscriberNotificationResend {
|
|
7
7
|
static readonly notePostedWithoutNotifyingMessage: string;
|
|
8
|
+
static readonly notPublishedMessage: string;
|
|
8
9
|
static readonly beingSentMessage: string;
|
|
9
10
|
static readonly noPermissionToResendNoteMessage: string;
|
|
10
11
|
static readonly noPermissionToNotifyAboutEditMessage: string;
|
|
@@ -100,6 +100,8 @@ class SubscriberNotificationResend {
|
|
|
100
100
|
* shown to whoever asked.
|
|
101
101
|
*/
|
|
102
102
|
SubscriberNotificationResend.notePostedWithoutNotifyingMessage = "This note was posted without notifying subscribers, so there is nothing to resend. Post a new note with Notify Status Page Subscribers ticked to tell them.";
|
|
103
|
+
// A public note waiting for approval, or rejected (PublicNoteApproval).
|
|
104
|
+
SubscriberNotificationResend.notPublishedMessage = "Subscribers are told about this public note once it is published. It is waiting for approval.";
|
|
103
105
|
SubscriberNotificationResend.beingSentMessage = "This notification is being sent right now. Wait until it has finished, then send it again.";
|
|
104
106
|
SubscriberNotificationResend.noPermissionToResendNoteMessage = "You do not have permission to send this note's notification again. Sending it again needs the permission to post public notes that notify subscribers, as well as the permission to edit public notes.";
|
|
105
107
|
SubscriberNotificationResend.noPermissionToNotifyAboutEditMessage = "You do not have permission to notify subscribers about this edit. Notifying them needs the permission to post public notes that notify subscribers, as well as the permission to edit public notes. Save the edit without notifying subscribers, or ask someone who can post notifying notes.";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { JSONObject } from "../JSON.mjs";
|
|
2
|
+
export interface TableColumnLayout {
|
|
3
|
+
order: Array<string>;
|
|
4
|
+
hidden: Array<string>;
|
|
5
|
+
}
|
|
6
|
+
export type DefaultTableColumns = Record<string, TableColumnLayout>;
|
|
7
|
+
export declare const MAX_DEFAULT_TABLE_COLUMNS_TABLES: number;
|
|
8
|
+
export declare const MAX_TABLE_KEY_LENGTH: number;
|
|
9
|
+
export declare const MAX_TABLE_LAYOUT_COLUMN_IDS: number;
|
|
10
|
+
export declare const MAX_TABLE_COLUMN_ID_LENGTH: number;
|
|
11
|
+
export declare class DefaultTableColumnsUtil {
|
|
12
|
+
static getProblem(value: unknown): string | null;
|
|
13
|
+
static parseLayout(value: unknown): TableColumnLayout | null;
|
|
14
|
+
static parse(value: unknown): DefaultTableColumns | null;
|
|
15
|
+
static getLayout(value: unknown, tableKey: string): TableColumnLayout | null;
|
|
16
|
+
static withLayout(data: {
|
|
17
|
+
value: unknown;
|
|
18
|
+
tableKey: string;
|
|
19
|
+
layout: TableColumnLayout | null;
|
|
20
|
+
}): DefaultTableColumns | null;
|
|
21
|
+
static toJSON(value: DefaultTableColumns | null): JSONObject | null;
|
|
22
|
+
}
|