from typing import Optional
from pydantic import BaseModel


class BatchMetadata(BaseModel):
    start_sequence: int
    end_sequence: int
    batch_number: int


class BatchResponse(BaseModel):
    accepted: bool
    sequences: list[int]
    next_expected: int
    message: Optional[str] = None

