# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from __future__ import annotations

from typing import List, Iterable
from typing_extensions import Literal, Required, TypedDict

__all__ = ["SearchFindPersonParams", "Filter", "Pagination", "Query"]


class SearchFindPersonParams(TypedDict, total=False):
    filters: Iterable[Filter]
    """Filters to filter people."""

    pagination: Pagination
    """Pagination parameters."""

    query: Query
    """Search query to filter people."""


class Filter(TypedDict, total=False):
    field: Required[Literal["date_of_birth", "city", "active"]]

    keywords: List[str]

    max: str

    min: str

    value: str

    values: List[str]


class Pagination(TypedDict, total=False):
    page: int
    """Page number to return."""

    per_page: int
    """Number of results per page."""


class Query(TypedDict, total=False):
    value: Required[str]
    """Search query to filter people."""
