"""ARR-owned validation and PostgreSQL ingestion for deterministic Opera results."""

from arr_ingestion.contracts import DeliveryEnvelope, IngestionError
from arr_ingestion.direct_contracts import (
    DIRECT_CONTRACT_VERSION,
    MAX_DIRECT_PAYLOAD_BYTES,
    DirectSubmissionReceipt,
    DirectSubmissionRequest,
    SubmissionGrant,
)
from arr_ingestion.direct_postgres import PostgresDirectIngestionRepository
from arr_ingestion.direct_service import DirectSubmissionService
from arr_ingestion.direct_validation import DirectResultValidator

__all__ = [
    "DIRECT_CONTRACT_VERSION",
    "MAX_DIRECT_PAYLOAD_BYTES",
    "DeliveryEnvelope",
    "DirectResultValidator",
    "DirectSubmissionReceipt",
    "DirectSubmissionRequest",
    "DirectSubmissionService",
    "IngestionError",
    "PostgresDirectIngestionRepository",
    "SubmissionGrant",
]
