from datetime import date from typing import Literal from pydantic import BaseModel class Transaction(BaseModel): transaction_id: str date: date account: str amount: float status: Literal["Matched", "Unmatched", "Pending"] flag: Literal["None", "Duplicate", "Threshold Breach", "Manual Review"] class ReconSummary(BaseModel): total: int matched: int unmatched: int pending: int flagged: int