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

from __future__ import annotations
from .createbusinesserror import CreateBusinessError, CreateBusinessErrorTypedDict
from .createindividualerror import CreateIndividualError, CreateIndividualErrorTypedDict
from moovio_sdk.types import BaseModel
from typing import Optional
from typing_extensions import NotRequired, TypedDict


class CreateProfileErrorTypedDict(TypedDict):
    individual: NotRequired[CreateIndividualErrorTypedDict]
    business: NotRequired[CreateBusinessErrorTypedDict]


class CreateProfileError(BaseModel):
    individual: Optional[CreateIndividualError] = None

    business: Optional[CreateBusinessError] = None
