@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,523 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.findCodeFilesChangedSinceProposed = exports.readCodeChangeProposedOn = exports.findCodeFilesUnseen = exports.findCodeFileUnseen = exports.CodeFileUnseen = exports.getCodeFileViews = exports.addLinesShown = exports.getLinesNotShown = exports.addLineRanges = exports.getCodeFileLinesShown = exports.seeCodeFile = exports.readCodeFileRecordId = exports.getCodeFileRecordId = exports.normalizeCodeBranchName = exports.normalizeCodeFilePath = exports.CODE_FILE_VERSION_PART = void 0;
|
|
4
|
+
const AIChatRecordSeen_1 = require("../AI/AIChatRecordSeen");
|
|
5
|
+
const CodeFileValuesHidden_1 = require("./CodeFileValuesHidden");
|
|
6
|
+
/*
|
|
7
|
+
* WHAT ASK AI HAS SEEN OF A REPOSITORY'S FILES, AND WHAT A COMMIT OF THEM
|
|
8
|
+
* WOULD UNDO (issue #6313).
|
|
9
|
+
*
|
|
10
|
+
* Ask AI changes code by writing each file whole (commit_code_to_branch,
|
|
11
|
+
* open_code_pull_request), from what read_code_file showed it, and the
|
|
12
|
+
* commit is made on the branch as the branch is when it runs. So a change
|
|
13
|
+
* pushed to the file after Ask AI read it - by a teammate, by CI, by the
|
|
14
|
+
* person themselves - is undone by the commit, without a word; and so is
|
|
15
|
+
* the branch's own version of a file Ask AI read on another branch
|
|
16
|
+
* (read_code_file reads the repository's main branch unless it is told
|
|
17
|
+
* another).
|
|
18
|
+
*
|
|
19
|
+
* So OneUptime keeps what each read showed the model (Types/AI/
|
|
20
|
+
* AIChatRecordSeen): a record per file per branch - the repository, the
|
|
21
|
+
* branch and the path - whose one part is a keyed fingerprint of the
|
|
22
|
+
* version shown, made from the host's blob of it, never the content. A
|
|
23
|
+
* commit of Ask AI's own keeps every file it wrote the same way: Ask AI
|
|
24
|
+
* knows those as it wrote them.
|
|
25
|
+
*
|
|
26
|
+
* Before a commit is approved, each file it writes is held to that, as the
|
|
27
|
+
* branch has it now:
|
|
28
|
+
* - as Ask AI last saw it on that branch, or - never seen there - as Ask
|
|
29
|
+
* AI saw it on any other: nothing to say;
|
|
30
|
+
* - changed on the branch since Ask AI last saw it there (pushed to,
|
|
31
|
+
* deleted, renamed away): the commit would undo that;
|
|
32
|
+
* - seen on other branches only, and different on this one;
|
|
33
|
+
* - never seen, and on the branch: the commit replaces what is there;
|
|
34
|
+
* - not on the branch at all: a new file, nothing to say;
|
|
35
|
+
* - and when the branch could not be read: never "unchanged".
|
|
36
|
+
*
|
|
37
|
+
* And a version Ask AI saw is not one it saw all of (issue #6330):
|
|
38
|
+
* read_code_file shows a file a window at a time - at most so many lines
|
|
39
|
+
* and bytes, often only the lines around a stack frame - and a read keeps
|
|
40
|
+
* which lines it showed. Ask AI's reads of the version the branch has add
|
|
41
|
+
* up, on every branch it read it on, from where it last saw another
|
|
42
|
+
* version there; a line none of them showed is one the commit drops
|
|
43
|
+
* unseen. A commit of Ask AI's own wrote all of a file, and a citation
|
|
44
|
+
* from before OneUptime kept lines reads as all of it.
|
|
45
|
+
*
|
|
46
|
+
* And a line Ask AI saw is not every value in it (issue #6364): what looks
|
|
47
|
+
* like a secret or personal data reads as a placeholder, "[redacted-ip]",
|
|
48
|
+
* so a version Ask AI writes whole puts the placeholder where the value
|
|
49
|
+
* was. That is held to what the change writes, not to what Ask AI saw
|
|
50
|
+
* (CodeFileValuesHidden), and said beside the rest.
|
|
51
|
+
*
|
|
52
|
+
* Pure: no host, no clock, no key. The fingerprints are the caller's.
|
|
53
|
+
*/
|
|
54
|
+
// The one part of a file as seen: its version.
|
|
55
|
+
exports.CODE_FILE_VERSION_PART = "version";
|
|
56
|
+
/*
|
|
57
|
+
* What separates a record ID's pieces. A repository's ID has no ":", and
|
|
58
|
+
* git allows none in a branch's name, so the path - which may - is
|
|
59
|
+
* everything after the second.
|
|
60
|
+
*/
|
|
61
|
+
const ID_SEPARATOR = ":";
|
|
62
|
+
/*
|
|
63
|
+
* A path as a commit writes it (CodeWriteTools): without the leading
|
|
64
|
+
* slashes a model sometimes adds, so a read of "/src/a.ts" and a commit of
|
|
65
|
+
* "src/a.ts" are the same file.
|
|
66
|
+
*/
|
|
67
|
+
const normalizeCodeFilePath = (filePath) => {
|
|
68
|
+
let start = 0;
|
|
69
|
+
const trimmed = filePath.trim();
|
|
70
|
+
while (start < trimmed.length && trimmed[start] === "/") {
|
|
71
|
+
start++;
|
|
72
|
+
}
|
|
73
|
+
return trimmed.substring(start);
|
|
74
|
+
};
|
|
75
|
+
exports.normalizeCodeFilePath = normalizeCodeFilePath;
|
|
76
|
+
const BRANCH_REF_PREFIX = "refs/heads/";
|
|
77
|
+
// A branch by its name, as a commit names it: "fix/login", never "refs/heads/fix/login".
|
|
78
|
+
const normalizeCodeBranchName = (branchName) => {
|
|
79
|
+
const trimmed = branchName.trim();
|
|
80
|
+
return trimmed.startsWith(BRANCH_REF_PREFIX)
|
|
81
|
+
? trimmed.substring(BRANCH_REF_PREFIX.length)
|
|
82
|
+
: trimmed;
|
|
83
|
+
};
|
|
84
|
+
exports.normalizeCodeBranchName = normalizeCodeBranchName;
|
|
85
|
+
/*
|
|
86
|
+
* The ID a file on a branch is kept by: "<repository>:<branch>:<path>",
|
|
87
|
+
* exactly as git names them (AIChatRecordSeen tells "README.md" from
|
|
88
|
+
* "readme.md"). Null for one it cannot keep - a piece missing, a ":" where
|
|
89
|
+
* git allows none, or longer than a record's ID may be - which only ever
|
|
90
|
+
* leaves Ask AI knowing less.
|
|
91
|
+
*/
|
|
92
|
+
const getCodeFileRecordId = (address) => {
|
|
93
|
+
const repositoryId = address.repositoryId.trim().toLowerCase();
|
|
94
|
+
const branchName = address.branchName;
|
|
95
|
+
const filePath = address.filePath;
|
|
96
|
+
if (!repositoryId ||
|
|
97
|
+
repositoryId.includes(ID_SEPARATOR) ||
|
|
98
|
+
!branchName ||
|
|
99
|
+
branchName.includes(ID_SEPARATOR) ||
|
|
100
|
+
branchName.trim() !== branchName ||
|
|
101
|
+
!filePath) {
|
|
102
|
+
return null;
|
|
103
|
+
}
|
|
104
|
+
const recordId = `${repositoryId}${ID_SEPARATOR}${branchName}${ID_SEPARATOR}${filePath}`;
|
|
105
|
+
return recordId.length <= AIChatRecordSeen_1.MAX_RECORD_ID_LENGTHS[AIChatRecordSeen_1.AIChatRecordSeenType.CodeFile]
|
|
106
|
+
? recordId
|
|
107
|
+
: null;
|
|
108
|
+
};
|
|
109
|
+
exports.getCodeFileRecordId = getCodeFileRecordId;
|
|
110
|
+
// The file a record ID names, or null for one that names none.
|
|
111
|
+
const readCodeFileRecordId = (recordId) => {
|
|
112
|
+
const first = recordId.indexOf(ID_SEPARATOR);
|
|
113
|
+
if (first <= 0) {
|
|
114
|
+
return null;
|
|
115
|
+
}
|
|
116
|
+
const second = recordId.indexOf(ID_SEPARATOR, first + 1);
|
|
117
|
+
if (second <= first + 1 || second >= recordId.length - 1) {
|
|
118
|
+
return null;
|
|
119
|
+
}
|
|
120
|
+
return {
|
|
121
|
+
repositoryId: recordId.substring(0, first),
|
|
122
|
+
branchName: recordId.substring(first + 1, second),
|
|
123
|
+
filePath: recordId.substring(second + 1),
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
exports.readCodeFileRecordId = readCodeFileRecordId;
|
|
127
|
+
/*
|
|
128
|
+
* What a result showed the model of one file on one branch: a whole
|
|
129
|
+
* record, as a file is written whole. A file has no revision of its own:
|
|
130
|
+
* its version is its one part - and the lines shown of it, when only some
|
|
131
|
+
* were, are said beside it.
|
|
132
|
+
*/
|
|
133
|
+
const seeCodeFile = (data) => {
|
|
134
|
+
const recordId = (0, exports.getCodeFileRecordId)(data);
|
|
135
|
+
if (!recordId) {
|
|
136
|
+
return null;
|
|
137
|
+
}
|
|
138
|
+
const parts = data.fingerprint
|
|
139
|
+
? [{ id: exports.CODE_FILE_VERSION_PART, fingerprint: data.fingerprint }]
|
|
140
|
+
: [];
|
|
141
|
+
return Object.assign({ recordType: AIChatRecordSeen_1.AIChatRecordSeenType.CodeFile, recordId: recordId, revision: 0, parts: parts }, (data.fingerprint && data.linesShown
|
|
142
|
+
? {
|
|
143
|
+
linesShown: {
|
|
144
|
+
lineCount: data.linesShown.lineCount,
|
|
145
|
+
ranges: data.linesShown.ranges.map((range) => {
|
|
146
|
+
return { first: range.first, last: range.last };
|
|
147
|
+
}),
|
|
148
|
+
},
|
|
149
|
+
}
|
|
150
|
+
: {}));
|
|
151
|
+
};
|
|
152
|
+
exports.seeCodeFile = seeCodeFile;
|
|
153
|
+
/*
|
|
154
|
+
* What a read showed of a file's lines: nothing to keep when it showed
|
|
155
|
+
* every one of them - an empty file's none included - or the run it
|
|
156
|
+
* showed, which may be no line at all.
|
|
157
|
+
*/
|
|
158
|
+
const getCodeFileLinesShown = (data) => {
|
|
159
|
+
if (data.lineCount <= 0 ||
|
|
160
|
+
(data.firstLine <= 1 && data.lastLine >= data.lineCount)) {
|
|
161
|
+
return undefined;
|
|
162
|
+
}
|
|
163
|
+
const first = Math.max(1, data.firstLine);
|
|
164
|
+
const last = Math.min(data.lineCount, data.lastLine);
|
|
165
|
+
return {
|
|
166
|
+
lineCount: data.lineCount,
|
|
167
|
+
ranges: first <= last ? [{ first, last }] : [],
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
exports.getCodeFileLinesShown = getCodeFileLinesShown;
|
|
171
|
+
/*
|
|
172
|
+
* Runs of lines put together: in order, each run joined to every run it
|
|
173
|
+
* overlaps or touches, so lines 1 to 400 and 401 to 800 are 1 to 800.
|
|
174
|
+
*/
|
|
175
|
+
const addLineRanges = (ranges) => {
|
|
176
|
+
const sorted = ranges
|
|
177
|
+
.filter((range) => {
|
|
178
|
+
return range.first <= range.last;
|
|
179
|
+
})
|
|
180
|
+
.map((range) => {
|
|
181
|
+
return { first: range.first, last: range.last };
|
|
182
|
+
})
|
|
183
|
+
.sort((a, b) => {
|
|
184
|
+
return a.first - b.first || a.last - b.last;
|
|
185
|
+
});
|
|
186
|
+
const added = [];
|
|
187
|
+
for (const range of sorted) {
|
|
188
|
+
const previous = added[added.length - 1];
|
|
189
|
+
if (previous && range.first <= previous.last + 1) {
|
|
190
|
+
previous.last = Math.max(previous.last, range.last);
|
|
191
|
+
}
|
|
192
|
+
else {
|
|
193
|
+
added.push(range);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
return added;
|
|
197
|
+
};
|
|
198
|
+
exports.addLineRanges = addLineRanges;
|
|
199
|
+
// The runs of a file's lines that none of the runs shown holds, in order.
|
|
200
|
+
const getLinesNotShown = (shown) => {
|
|
201
|
+
const notShown = [];
|
|
202
|
+
let next = 1;
|
|
203
|
+
for (const range of (0, exports.addLineRanges)(shown.ranges)) {
|
|
204
|
+
if (range.first > next) {
|
|
205
|
+
notShown.push({
|
|
206
|
+
first: next,
|
|
207
|
+
last: Math.min(range.first - 1, shown.lineCount),
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
next = Math.max(next, range.last + 1);
|
|
211
|
+
}
|
|
212
|
+
if (next <= shown.lineCount) {
|
|
213
|
+
notShown.push({ first: next, last: shown.lineCount });
|
|
214
|
+
}
|
|
215
|
+
return notShown.filter((range) => {
|
|
216
|
+
return range.first <= range.last;
|
|
217
|
+
});
|
|
218
|
+
};
|
|
219
|
+
exports.getLinesNotShown = getLinesNotShown;
|
|
220
|
+
/*
|
|
221
|
+
* What two views of one version showed of it, added up: all of it - left
|
|
222
|
+
* out - when either did, or when together they show every line. Their
|
|
223
|
+
* line counts are one version's, so the same; were they not, the longer
|
|
224
|
+
* is the one held to, which only ever leaves more unread.
|
|
225
|
+
*/
|
|
226
|
+
const addLinesShown = (shown, more) => {
|
|
227
|
+
if (!shown || !more) {
|
|
228
|
+
return undefined;
|
|
229
|
+
}
|
|
230
|
+
const added = {
|
|
231
|
+
lineCount: Math.max(shown.lineCount, more.lineCount),
|
|
232
|
+
ranges: (0, exports.addLineRanges)([...shown.ranges, ...more.ranges]),
|
|
233
|
+
};
|
|
234
|
+
return (0, exports.getLinesNotShown)(added).length === 0 ? undefined : added;
|
|
235
|
+
};
|
|
236
|
+
exports.addLinesShown = addLinesShown;
|
|
237
|
+
/*
|
|
238
|
+
* What the model was shown of one file of a repository: its last view of
|
|
239
|
+
* it on each branch, oldest first - with the lines of that version every
|
|
240
|
+
* view of it there showed since it last saw another (issue #6330). A
|
|
241
|
+
* record that is not well formed, or that is only part of one, shows
|
|
242
|
+
* nothing.
|
|
243
|
+
*/
|
|
244
|
+
const getCodeFileViews = (data) => {
|
|
245
|
+
var _a;
|
|
246
|
+
const repositoryId = data.repositoryId.trim().toLowerCase();
|
|
247
|
+
const byBranch = new Map();
|
|
248
|
+
let order = 0;
|
|
249
|
+
for (const value of data.records || []) {
|
|
250
|
+
order++;
|
|
251
|
+
const record = (0, AIChatRecordSeen_1.readAIChatRecordSeen)(value);
|
|
252
|
+
if (!record ||
|
|
253
|
+
record.recordType !== AIChatRecordSeen_1.AIChatRecordSeenType.CodeFile ||
|
|
254
|
+
record.isPartial) {
|
|
255
|
+
continue;
|
|
256
|
+
}
|
|
257
|
+
const address = (0, exports.readCodeFileRecordId)(record.recordId);
|
|
258
|
+
if (!address ||
|
|
259
|
+
address.repositoryId.toLowerCase() !== repositoryId ||
|
|
260
|
+
address.filePath !== data.filePath) {
|
|
261
|
+
continue;
|
|
262
|
+
}
|
|
263
|
+
const version = record.parts.find((part) => {
|
|
264
|
+
return part.id === exports.CODE_FILE_VERSION_PART;
|
|
265
|
+
});
|
|
266
|
+
const fingerprint = (_a = version === null || version === void 0 ? void 0 : version.fingerprint) !== null && _a !== void 0 ? _a : null;
|
|
267
|
+
const before = byBranch.get(address.branchName);
|
|
268
|
+
/*
|
|
269
|
+
* The last view on each branch replaces the ones before it; one of the
|
|
270
|
+
* same version adds the lines it showed to theirs.
|
|
271
|
+
*/
|
|
272
|
+
const linesShown = fingerprint === null
|
|
273
|
+
? undefined
|
|
274
|
+
: before && before.fingerprint === fingerprint
|
|
275
|
+
? (0, exports.addLinesShown)(before.linesShown, record.linesShown)
|
|
276
|
+
: record.linesShown;
|
|
277
|
+
byBranch.delete(address.branchName);
|
|
278
|
+
byBranch.set(address.branchName, Object.assign({ branchName: address.branchName, fingerprint: fingerprint, order: order }, (linesShown ? { linesShown } : {})));
|
|
279
|
+
}
|
|
280
|
+
return Array.from(byBranch.values());
|
|
281
|
+
};
|
|
282
|
+
exports.getCodeFileViews = getCodeFileViews;
|
|
283
|
+
// What a change would undo of a file Ask AI never saw as the branch has it.
|
|
284
|
+
var CodeFileUnseen;
|
|
285
|
+
(function (CodeFileUnseen) {
|
|
286
|
+
// It changed on the branch after Ask AI last saw it there.
|
|
287
|
+
CodeFileUnseen["ChangedSinceRead"] = "ChangedSinceRead";
|
|
288
|
+
// Ask AI saw it on other branches only, and it is different on this one.
|
|
289
|
+
CodeFileUnseen["ReadOnAnotherBranch"] = "ReadOnAnotherBranch";
|
|
290
|
+
// Ask AI never saw it, and the branch has it.
|
|
291
|
+
CodeFileUnseen["NotRead"] = "NotRead";
|
|
292
|
+
/*
|
|
293
|
+
* Ask AI saw this version, but only some of its lines (issue #6330): the
|
|
294
|
+
* change writes all of it, and drops what Ask AI never saw.
|
|
295
|
+
*/
|
|
296
|
+
CodeFileUnseen["ReadInPart"] = "ReadInPart";
|
|
297
|
+
// The branch could not be read, so nothing can be said of it.
|
|
298
|
+
CodeFileUnseen["NotChecked"] = "NotChecked";
|
|
299
|
+
/*
|
|
300
|
+
* Ask AI's version holds a placeholder OneUptime showed it in place of a
|
|
301
|
+
* value it hid - an IP address, an email address, a key - more often
|
|
302
|
+
* than the file on the branch does (issue #6364): the change writes the
|
|
303
|
+
* placeholder where the value was. Said of what the change writes, so
|
|
304
|
+
* beside any of the others, never instead of one.
|
|
305
|
+
*/
|
|
306
|
+
CodeFileUnseen["ValuesHidden"] = "ValuesHidden";
|
|
307
|
+
})(CodeFileUnseen || (exports.CodeFileUnseen = CodeFileUnseen = {}));
|
|
308
|
+
/*
|
|
309
|
+
* What Ask AI never saw of a version it saw (issue #6330): its views of
|
|
310
|
+
* that version add up, on whichever branch - one version is the same
|
|
311
|
+
* lines everywhere. Null when they showed every line, or when there is no
|
|
312
|
+
* file.
|
|
313
|
+
*/
|
|
314
|
+
const findLinesNotRead = (data) => {
|
|
315
|
+
if (data.fingerprint === null) {
|
|
316
|
+
return null;
|
|
317
|
+
}
|
|
318
|
+
const ofVersion = data.views.filter((view) => {
|
|
319
|
+
return view.fingerprint === data.fingerprint;
|
|
320
|
+
});
|
|
321
|
+
if (ofVersion.length === 0) {
|
|
322
|
+
return null;
|
|
323
|
+
}
|
|
324
|
+
let shown = ofVersion[0].linesShown;
|
|
325
|
+
for (const view of ofVersion.slice(1)) {
|
|
326
|
+
shown = (0, exports.addLinesShown)(shown, view.linesShown);
|
|
327
|
+
}
|
|
328
|
+
if (!shown) {
|
|
329
|
+
return null;
|
|
330
|
+
}
|
|
331
|
+
const linesNotRead = (0, exports.getLinesNotShown)(shown);
|
|
332
|
+
return linesNotRead.length === 0
|
|
333
|
+
? null
|
|
334
|
+
: {
|
|
335
|
+
unseen: CodeFileUnseen.ReadInPart,
|
|
336
|
+
lineCount: shown.lineCount,
|
|
337
|
+
linesNotRead: linesNotRead,
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
/*
|
|
341
|
+
* What writing a file whole would undo that Ask AI never saw, or null for
|
|
342
|
+
* nothing: the rules at the top of this file. Ask AI's last view of the
|
|
343
|
+
* file on the branch the change writes to decides it; with none, the file
|
|
344
|
+
* as the branch has it must be one Ask AI saw somewhere - and then all of
|
|
345
|
+
* it (issue #6330).
|
|
346
|
+
*/
|
|
347
|
+
const findCodeFileUnseen = (data) => {
|
|
348
|
+
if (data.now.state === "unreadable") {
|
|
349
|
+
return { unseen: CodeFileUnseen.NotChecked };
|
|
350
|
+
}
|
|
351
|
+
const fingerprintNow = data.now.state === "file" ? data.now.fingerprint : null;
|
|
352
|
+
const onBranch = data.views.find((view) => {
|
|
353
|
+
return view.branchName === data.branchName;
|
|
354
|
+
});
|
|
355
|
+
if (onBranch) {
|
|
356
|
+
return onBranch.fingerprint === fingerprintNow
|
|
357
|
+
? findLinesNotRead({ views: data.views, fingerprint: fingerprintNow })
|
|
358
|
+
: { unseen: CodeFileUnseen.ChangedSinceRead };
|
|
359
|
+
}
|
|
360
|
+
// Not on the branch: the change adds it, and undoes nothing.
|
|
361
|
+
if (fingerprintNow === null) {
|
|
362
|
+
return null;
|
|
363
|
+
}
|
|
364
|
+
const elsewhere = data.views.filter((view) => {
|
|
365
|
+
return view.branchName !== data.branchName;
|
|
366
|
+
});
|
|
367
|
+
if (elsewhere.some((view) => {
|
|
368
|
+
return view.fingerprint === fingerprintNow;
|
|
369
|
+
})) {
|
|
370
|
+
return findLinesNotRead({ views: data.views, fingerprint: fingerprintNow });
|
|
371
|
+
}
|
|
372
|
+
let latestWithFile = null;
|
|
373
|
+
for (const view of elsewhere) {
|
|
374
|
+
if (view.fingerprint !== null &&
|
|
375
|
+
(!latestWithFile || view.order > latestWithFile.order)) {
|
|
376
|
+
latestWithFile = view;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
return latestWithFile
|
|
380
|
+
? {
|
|
381
|
+
unseen: CodeFileUnseen.ReadOnAnotherBranch,
|
|
382
|
+
readOnBranch: latestWithFile.branchName,
|
|
383
|
+
}
|
|
384
|
+
: { unseen: CodeFileUnseen.NotRead };
|
|
385
|
+
};
|
|
386
|
+
exports.findCodeFileUnseen = findCodeFileUnseen;
|
|
387
|
+
// What writing these files whole would undo that Ask AI never saw, in the change's order.
|
|
388
|
+
const findCodeFilesUnseen = (data) => {
|
|
389
|
+
const findings = [];
|
|
390
|
+
for (const file of data.files) {
|
|
391
|
+
const found = (0, exports.findCodeFileUnseen)({
|
|
392
|
+
views: (0, exports.getCodeFileViews)({
|
|
393
|
+
records: data.records,
|
|
394
|
+
repositoryId: data.repositoryId,
|
|
395
|
+
filePath: file.filePath,
|
|
396
|
+
}),
|
|
397
|
+
branchName: data.branchName,
|
|
398
|
+
now: file.now,
|
|
399
|
+
});
|
|
400
|
+
if (found) {
|
|
401
|
+
findings.push(Object.assign({ filePath: file.filePath }, found));
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
return findings;
|
|
405
|
+
};
|
|
406
|
+
exports.findCodeFilesUnseen = findCodeFilesUnseen;
|
|
407
|
+
const MAX_PROPOSED_FILES = 100;
|
|
408
|
+
const MAX_PROPOSED_TEXT_LENGTH = 4096;
|
|
409
|
+
const isShortText = (value) => {
|
|
410
|
+
return (typeof value === "string" &&
|
|
411
|
+
value.length > 0 &&
|
|
412
|
+
value.length <= MAX_PROPOSED_TEXT_LENGTH);
|
|
413
|
+
};
|
|
414
|
+
const isRecord = (value) => {
|
|
415
|
+
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
416
|
+
};
|
|
417
|
+
/*
|
|
418
|
+
* The lines a finding of a file read in part says Ask AI never saw, or
|
|
419
|
+
* null for none that are well formed: a note for the pull request's
|
|
420
|
+
* reviewer, so a damaged one leaves out the note, never the finding.
|
|
421
|
+
*/
|
|
422
|
+
const readLinesNotRead = (finding) => {
|
|
423
|
+
const lineCount = finding["lineCount"];
|
|
424
|
+
if (finding["unseen"] !== CodeFileUnseen.ReadInPart ||
|
|
425
|
+
typeof lineCount !== "number" ||
|
|
426
|
+
!Number.isSafeInteger(lineCount) ||
|
|
427
|
+
lineCount < 1) {
|
|
428
|
+
return null;
|
|
429
|
+
}
|
|
430
|
+
const linesNotRead = (0, AIChatRecordSeen_1.readAIChatLineRanges)(finding["linesNotRead"], lineCount);
|
|
431
|
+
return linesNotRead && linesNotRead.length > 0
|
|
432
|
+
? { lineCount, linesNotRead }
|
|
433
|
+
: null;
|
|
434
|
+
};
|
|
435
|
+
/*
|
|
436
|
+
* What a finding of hidden values says Ask AI's version writes in their
|
|
437
|
+
* place (issue #6364), when it is well formed: a note for the pull
|
|
438
|
+
* request's reviewer too, so a damaged one leaves out the note, never the
|
|
439
|
+
* finding.
|
|
440
|
+
*/
|
|
441
|
+
const readValuesHidden = (finding) => {
|
|
442
|
+
if (finding["unseen"] !== CodeFileUnseen.ValuesHidden) {
|
|
443
|
+
return {};
|
|
444
|
+
}
|
|
445
|
+
const placeholdersWritten = (0, CodeFileValuesHidden_1.readCodePlaceholdersWritten)(finding["placeholdersWritten"]);
|
|
446
|
+
return Object.assign(Object.assign({}, (placeholdersWritten ? { placeholdersWritten } : {})), (finding["branchTextNotRead"] === true
|
|
447
|
+
? { branchTextNotRead: true }
|
|
448
|
+
: {}));
|
|
449
|
+
};
|
|
450
|
+
/*
|
|
451
|
+
* What a change was proposed on, as its arguments carry it, or null for
|
|
452
|
+
* anything not well formed. OneUptime writes it over whatever the model
|
|
453
|
+
* sent (the prepare), but it is read as untrusted all the same: a damaged
|
|
454
|
+
* one holds the change to nothing it can say.
|
|
455
|
+
*/
|
|
456
|
+
const readCodeChangeProposedOn = (value) => {
|
|
457
|
+
if (!isRecord(value)) {
|
|
458
|
+
return null;
|
|
459
|
+
}
|
|
460
|
+
const branchName = value["branchName"];
|
|
461
|
+
const files = value["files"];
|
|
462
|
+
const unseen = value["unseen"];
|
|
463
|
+
if (!isShortText(branchName) ||
|
|
464
|
+
!Array.isArray(files) ||
|
|
465
|
+
files.length > MAX_PROPOSED_FILES ||
|
|
466
|
+
!Array.isArray(unseen) ||
|
|
467
|
+
unseen.length > MAX_PROPOSED_FILES) {
|
|
468
|
+
return null;
|
|
469
|
+
}
|
|
470
|
+
const read = {
|
|
471
|
+
branchName: branchName,
|
|
472
|
+
files: [],
|
|
473
|
+
unseen: [],
|
|
474
|
+
};
|
|
475
|
+
for (const file of files) {
|
|
476
|
+
if (!isRecord(file) ||
|
|
477
|
+
!isShortText(file["filePath"]) ||
|
|
478
|
+
!(file["fingerprint"] === null || isShortText(file["fingerprint"]))) {
|
|
479
|
+
return null;
|
|
480
|
+
}
|
|
481
|
+
read.files.push({
|
|
482
|
+
filePath: file["filePath"],
|
|
483
|
+
fingerprint: file["fingerprint"],
|
|
484
|
+
});
|
|
485
|
+
}
|
|
486
|
+
for (const finding of unseen) {
|
|
487
|
+
if (!isRecord(finding) ||
|
|
488
|
+
!isShortText(finding["filePath"]) ||
|
|
489
|
+
!Object.values(CodeFileUnseen).includes(finding["unseen"]) ||
|
|
490
|
+
!(finding["readOnBranch"] === undefined ||
|
|
491
|
+
isShortText(finding["readOnBranch"]))) {
|
|
492
|
+
return null;
|
|
493
|
+
}
|
|
494
|
+
read.unseen.push(Object.assign(Object.assign(Object.assign({ filePath: finding["filePath"], unseen: finding["unseen"] }, (finding["readOnBranch"] !== undefined
|
|
495
|
+
? { readOnBranch: finding["readOnBranch"] }
|
|
496
|
+
: {})), (readLinesNotRead(finding) || {})), readValuesHidden(finding)));
|
|
497
|
+
}
|
|
498
|
+
return read;
|
|
499
|
+
};
|
|
500
|
+
exports.readCodeChangeProposedOn = readCodeChangeProposedOn;
|
|
501
|
+
/*
|
|
502
|
+
* The files that are no longer as the card showed them, by path: changed
|
|
503
|
+
* since, or no longer readable, so nothing can be said of them. A file the
|
|
504
|
+
* card could not read is held to nothing.
|
|
505
|
+
*/
|
|
506
|
+
const findCodeFilesChangedSinceProposed = (data) => {
|
|
507
|
+
const changed = [];
|
|
508
|
+
for (const proposed of data.proposedOn.files) {
|
|
509
|
+
const entry = data.now.find((candidate) => {
|
|
510
|
+
return candidate.filePath === proposed.filePath;
|
|
511
|
+
});
|
|
512
|
+
if (!entry || entry.now.state === "unreadable") {
|
|
513
|
+
changed.push(proposed.filePath);
|
|
514
|
+
continue;
|
|
515
|
+
}
|
|
516
|
+
const fingerprintNow = entry.now.state === "file" ? entry.now.fingerprint : null;
|
|
517
|
+
if (fingerprintNow !== proposed.fingerprint) {
|
|
518
|
+
changed.push(proposed.filePath);
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
return changed;
|
|
522
|
+
};
|
|
523
|
+
exports.findCodeFilesChangedSinceProposed = findCodeFilesChangedSinceProposed;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import commonJsModule from "./CodeFileSeen.js";
|
|
2
|
+
export const CODE_FILE_VERSION_PART = commonJsModule.CODE_FILE_VERSION_PART;
|
|
3
|
+
export const CodeFileUnseen = commonJsModule.CodeFileUnseen;
|
|
4
|
+
export const addLineRanges = commonJsModule.addLineRanges;
|
|
5
|
+
export const addLinesShown = commonJsModule.addLinesShown;
|
|
6
|
+
export const findCodeFileUnseen = commonJsModule.findCodeFileUnseen;
|
|
7
|
+
export const findCodeFilesChangedSinceProposed = commonJsModule.findCodeFilesChangedSinceProposed;
|
|
8
|
+
export const findCodeFilesUnseen = commonJsModule.findCodeFilesUnseen;
|
|
9
|
+
export const getCodeFileLinesShown = commonJsModule.getCodeFileLinesShown;
|
|
10
|
+
export const getCodeFileRecordId = commonJsModule.getCodeFileRecordId;
|
|
11
|
+
export const getCodeFileViews = commonJsModule.getCodeFileViews;
|
|
12
|
+
export const getLinesNotShown = commonJsModule.getLinesNotShown;
|
|
13
|
+
export const normalizeCodeBranchName = commonJsModule.normalizeCodeBranchName;
|
|
14
|
+
export const normalizeCodeFilePath = commonJsModule.normalizeCodeFilePath;
|
|
15
|
+
export const readCodeChangeProposedOn = commonJsModule.readCodeChangeProposedOn;
|
|
16
|
+
export const readCodeFileRecordId = commonJsModule.readCodeFileRecordId;
|
|
17
|
+
export const seeCodeFile = commonJsModule.seeCodeFile;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AIChatLineRange } from "../AI/AIChatRecordSeen.mjs";
|
|
2
|
+
export interface CodeFilePlaceholderWritten {
|
|
3
|
+
placeholder: string;
|
|
4
|
+
written: number;
|
|
5
|
+
onBranch: number;
|
|
6
|
+
lines: Array<AIChatLineRange>;
|
|
7
|
+
}
|
|
8
|
+
type CountFunction = (text: string, placeholder: string) => number;
|
|
9
|
+
export declare const countCodePlaceholder: CountFunction;
|
|
10
|
+
type ContainsAnyFunction = (text: string, placeholders: ReadonlyArray<string>) => boolean;
|
|
11
|
+
export declare const holdsCodePlaceholder: ContainsAnyFunction;
|
|
12
|
+
type FindWrittenFunction = (data: {
|
|
13
|
+
content: string;
|
|
14
|
+
branchContent: string;
|
|
15
|
+
placeholders: ReadonlyArray<string>;
|
|
16
|
+
}) => Array<CodeFilePlaceholderWritten>;
|
|
17
|
+
export declare const findCodePlaceholdersWritten: FindWrittenFunction;
|
|
18
|
+
export declare const MAX_PLACEHOLDERS_WRITTEN: number;
|
|
19
|
+
type ReadWrittenFunction = (value: unknown) => Array<CodeFilePlaceholderWritten> | null;
|
|
20
|
+
export declare const readCodePlaceholdersWritten: ReadWrittenFunction;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AIChatLineRange } from "../AI/AIChatRecordSeen";
|
|
2
|
+
export interface CodeFilePlaceholderWritten {
|
|
3
|
+
placeholder: string;
|
|
4
|
+
written: number;
|
|
5
|
+
onBranch: number;
|
|
6
|
+
lines: Array<AIChatLineRange>;
|
|
7
|
+
}
|
|
8
|
+
type CountFunction = (text: string, placeholder: string) => number;
|
|
9
|
+
export declare const countCodePlaceholder: CountFunction;
|
|
10
|
+
type ContainsAnyFunction = (text: string, placeholders: ReadonlyArray<string>) => boolean;
|
|
11
|
+
export declare const holdsCodePlaceholder: ContainsAnyFunction;
|
|
12
|
+
type FindWrittenFunction = (data: {
|
|
13
|
+
content: string;
|
|
14
|
+
branchContent: string;
|
|
15
|
+
placeholders: ReadonlyArray<string>;
|
|
16
|
+
}) => Array<CodeFilePlaceholderWritten>;
|
|
17
|
+
export declare const findCodePlaceholdersWritten: FindWrittenFunction;
|
|
18
|
+
export declare const MAX_PLACEHOLDERS_WRITTEN: number;
|
|
19
|
+
type ReadWrittenFunction = (value: unknown) => Array<CodeFilePlaceholderWritten> | null;
|
|
20
|
+
export declare const readCodePlaceholdersWritten: ReadWrittenFunction;
|
|
21
|
+
export {};
|