"""
SOVR SDK for Python v7.0.1
The Execution Firewall for AI Agents
"""

from .client import SOVRClient, SOVRLifecycle
from .models import (
    GateCheckResult,
    ApprovalResult,
    PermitResult,
    ReceiptResult,
    ReplayResult,
    ExportBundleResult,
    StatusResult,
    ScanFinding,
    ScanResult,
    QuickScanResult,
    ScanStats,
    KillSwitchStatus,
    KillSwitchTriggerResult,
    KillSwitchRecoverResult,
    PolicyValidateResult,
    PolicyVersionResult,
    # P1: Budget
    BudgetStatusResult,
    BudgetStatusEntry,
    BudgetConsumeResult,
    BudgetHistoryResult,
    BudgetHistoryEntry,
    BudgetSetLimitResult,
    BudgetAlertResult,
    BudgetAlertEntry,
    # P1: Audit
    AuditEntry,
    AuditTrailResult,
    AuditChainVerifyResult,
    AuditStatsResult,
    AuditExportResult,
    # P1: Monitoring
    HealthComponent,
    SystemHealthResult,
    MetricPoint,
    MetricsResult,
    MonitoringAlert,
    AlertsResult,
    AlertAckResult,
    # P2: p1p2 Cognitive Security
    EpistemicCheckResult,
    SubmitEvidenceResult,
    AdversarialDetectResult,
    NarrativeFilterResult,
    NarrativeRule,
    RealityCheckResult,
    SLAMetricsResult,
    ContextBundle,
    MemoryWriteResult,
    MemorySearchResult,
    PrecedentCheckResult,
    CostEventResult,
    CanaryLogResult,
    CanaryReplayResult,
    DegradationEntry,
    DegradationListResult,
    MetaSupervisionResult,
    FailureBudgetResult,
    LLMEvaluationResult,
    ReasoningAnalysisResult,
    # P2: p3Fusion Compliance & Governance
    DataAsset,
    DataClassifyResult,
    DataLineageResult,
    DataQualityResult,
    PIIDetectResult,
    MaskDataResult,
    ConsentCheckResult,
    PIAEntry,
    ComplianceCheckResult,
    ComplianceReportResult,
    GapAnalysisResult,
    QuotaCheckResult,
    AccessValidateResult,
    SubscriptionStatsResult,
    TrustScoreResult,
    TrustScoreHistoryResult,
    BatchScoreResult,
    RiskAssessResult,
    RiskDetectResult,
    IncidentReportResult,
    IncidentEntry,
    PolicyEntry,
    CreatePolicyResult,
    EvaluatePolicyResult,
    ConflictDetectResult,
    IntegrationRule,
    CreateIntegrationRuleResult,
    PublishEventResult,
)
from .exceptions import (
    SOVRError,
    AuthenticationError,
    ForbiddenError,
    RateLimitError,
    ValidationError,
    NotFoundError,
    ActionBlockedError,
    ApprovalRequiredError,
)

__version__ = "7.0.1"
__all__ = [
    "SOVRClient",
    "SOVRLifecycle",
    # Core
    "GateCheckResult",
    "ApprovalResult",
    "PermitResult",
    "ReceiptResult",
    "ReplayResult",
    "ExportBundleResult",
    "StatusResult",
    # OpenGuard
    "ScanFinding",
    "ScanResult",
    "QuickScanResult",
    "ScanStats",
    # KillSwitch
    "KillSwitchStatus",
    "KillSwitchTriggerResult",
    "KillSwitchRecoverResult",
    # Policy
    "PolicyValidateResult",
    "PolicyVersionResult",
    # Budget
    "BudgetStatusResult",
    "BudgetStatusEntry",
    "BudgetConsumeResult",
    "BudgetHistoryResult",
    "BudgetHistoryEntry",
    "BudgetSetLimitResult",
    "BudgetAlertResult",
    "BudgetAlertEntry",
    # Audit
    "AuditEntry",
    "AuditTrailResult",
    "AuditChainVerifyResult",
    "AuditStatsResult",
    "AuditExportResult",
    # Monitoring
    "HealthComponent",
    "SystemHealthResult",
    "MetricPoint",
    "MetricsResult",
    "MonitoringAlert",
    "AlertsResult",
    "AlertAckResult",
    # p1p2 Cognitive Security
    "EpistemicCheckResult",
    "SubmitEvidenceResult",
    "AdversarialDetectResult",
    "NarrativeFilterResult",
    "NarrativeRule",
    "RealityCheckResult",
    "SLAMetricsResult",
    "ContextBundle",
    "MemoryWriteResult",
    "MemorySearchResult",
    "PrecedentCheckResult",
    "CostEventResult",
    "CanaryLogResult",
    "CanaryReplayResult",
    "DegradationEntry",
    "DegradationListResult",
    "MetaSupervisionResult",
    "FailureBudgetResult",
    "LLMEvaluationResult",
    "ReasoningAnalysisResult",
    # p3Fusion Compliance & Governance
    "DataAsset",
    "DataClassifyResult",
    "DataLineageResult",
    "DataQualityResult",
    "PIIDetectResult",
    "MaskDataResult",
    "ConsentCheckResult",
    "PIAEntry",
    "ComplianceCheckResult",
    "ComplianceReportResult",
    "GapAnalysisResult",
    "QuotaCheckResult",
    "AccessValidateResult",
    "SubscriptionStatsResult",
    "TrustScoreResult",
    "TrustScoreHistoryResult",
    "BatchScoreResult",
    "RiskAssessResult",
    "RiskDetectResult",
    "IncidentReportResult",
    "IncidentEntry",
    "PolicyEntry",
    "CreatePolicyResult",
    "EvaluatePolicyResult",
    "ConflictDetectResult",
    "IntegrationRule",
    "CreateIntegrationRuleResult",
    "PublishEventResult",
    # Errors
    "SOVRError",
    "AuthenticationError",
    "ForbiddenError",
    "RateLimitError",
    "ValidationError",
    "NotFoundError",
    "ActionBlockedError",
    "ApprovalRequiredError",
]
