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

from __future__ import annotations
from .negativenewsupdate import NegativeNewsUpdate, NegativeNewsUpdateTypedDict
from ascend_sdk.types import BaseModel
from typing import Optional
from typing_extensions import NotRequired, TypedDict


class EntityDueDiligenceUpdateTypedDict(TypedDict):
    r"""Due Diligence for Legal Entities required when a Legal Entity is the Primary Owner on an Account."""

    entity_issues_bearer_shares: NotRequired[bool]
    r"""Indicates whether the entity issues bearer shares"""
    negative_news: NotRequired[NegativeNewsUpdateTypedDict]
    r"""Negative News detail."""


class EntityDueDiligenceUpdate(BaseModel):
    r"""Due Diligence for Legal Entities required when a Legal Entity is the Primary Owner on an Account."""

    entity_issues_bearer_shares: Optional[bool] = None
    r"""Indicates whether the entity issues bearer shares"""

    negative_news: Optional[NegativeNewsUpdate] = None
    r"""Negative News detail."""
