# generated by datamodel-codegen:
#   filename:  media_buy/get_products_async_response_working.json
#   timestamp: 2026-02-12T02:11:19+00:00

from __future__ import annotations

from typing import Annotated

from adcp.types.base import AdCPBaseModel
from pydantic import ConfigDict, Field

from ..core import context as context_1
from ..core import ext as ext_1


class GetProductsWorking(AdCPBaseModel):
    model_config = ConfigDict(
        extra='allow',
    )
    context: context_1.ContextObject | None = None
    current_step: Annotated[
        str | None,
        Field(
            description="Current step in the search process (e.g., 'searching_inventory', 'validating_availability')"
        ),
    ] = None
    ext: ext_1.ExtensionObject | None = None
    percentage: Annotated[
        float | None,
        Field(description='Progress percentage of the search operation', ge=0.0, le=100.0),
    ] = None
    step_number: Annotated[int | None, Field(description='Current step number (1-indexed)')] = None
    total_steps: Annotated[
        int | None, Field(description='Total number of steps in the search process')
    ] = None
