"""Pydantic models for Lambda response validation.""" from __future__ import annotations from pydantic import BaseModel, Field class OutboxProcessResponse(BaseModel): """Response model for outbox processor.""" failed: int = Field(default=0, description='The failed number of events') processed: int = Field(default=0, description='The processed number of events') skipped: int = Field(default=0, description='The skipped number of events') total: int = Field(default=0, description='The total number of events')