"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from .organization import Organization, OrganizationTypedDict
from .user import User, UserTypedDict
from duckyai.types import BaseModel
from typing import List, Optional
from typing_extensions import NotRequired, TypedDict


class SignInResponseTypedDict(TypedDict):
    user: NotRequired[UserTypedDict]
    organizations: NotRequired[List[OrganizationTypedDict]]


class SignInResponse(BaseModel):
    user: Optional[User] = None

    organizations: Optional[List[Organization]] = None
