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

from __future__ import annotations
from .relatedpepcreate import RelatedPepCreate, RelatedPepCreateTypedDict
from ascend_sdk.types import BaseModel
from typing import List, Optional
from typing_extensions import NotRequired, TypedDict


class RelatedPepDetailsCreateTypedDict(TypedDict):
    r"""Details surrounding the related politically exposed persons"""

    direct_or_indirect_related_peps: bool
    r"""Indication as to whether or not an account has direct or indirect related politically exposed persons"""
    related_peps: NotRequired[List[RelatedPepCreateTypedDict]]
    r"""Related Peps"""


class RelatedPepDetailsCreate(BaseModel):
    r"""Details surrounding the related politically exposed persons"""

    direct_or_indirect_related_peps: bool
    r"""Indication as to whether or not an account has direct or indirect related politically exposed persons"""

    related_peps: Optional[List[RelatedPepCreate]] = None
    r"""Related Peps"""
