# generated by datamodel-codegen:
#   filename:  personio-auth-api.yaml

from __future__ import annotations

from typing import Any, Dict

from pydantic_extra_types.pendulum_dt import Date, DateTime

from ..v1 import MyAuthBaseModel


class Response(MyAuthBaseModel):
    success: bool
    data: Dict[str, Any]


class Data(MyAuthBaseModel):
    token: str
    expires_in: float | None = None
    scope: str | None = None


class AuthenticationTokenResponse(Response):
    data: Data | None = None
