Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 239
openapi_spec_hash: f0a8620e85b9d96f7ebd57a165897ee4
openapi_spec_hash: d69c3c426b210ddc3698bd8dfe135ba7
config_hash: 1ca082e374ef7000e2a5971e8da740e0
2 changes: 1 addition & 1 deletion scripts/mock

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions src/increase/types/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ class TrustAddress(BaseModel):


class TrustGrantorAddress(BaseModel):
"""The person's address."""
"""The grantor's address."""

city: Optional[str] = None
"""The city, district, town, or village of the address."""
Expand All @@ -600,12 +600,12 @@ class TrustGrantorAddress(BaseModel):


class TrustGrantorIdentification(BaseModel):
"""A means of verifying the person's identity."""
"""A means of verifying the grantor's identity."""

method: Literal[
"social_security_number", "individual_taxpayer_identification_number", "passport", "drivers_license", "other"
]
"""A method that can be used to verify the individual's identity.
"""A method that can be used to verify the grantor's identity.

- `social_security_number` - A social security number.
- `individual_taxpayer_identification_number` - An individual taxpayer
Expand All @@ -618,7 +618,7 @@ class TrustGrantorIdentification(BaseModel):
number_last4: str
"""
The last 4 digits of the identification number that can be used to verify the
individual's identity.
grantor's identity.
"""

if TYPE_CHECKING:
Expand All @@ -637,17 +637,17 @@ def __getattr__(self, attr: str) -> object: ...
class TrustGrantor(BaseModel):
"""The grantor of the trust. Will be present if the `category` is `revocable`."""

address: TrustGrantorAddress
"""The person's address."""
address: Optional[TrustGrantorAddress] = None
"""The grantor's address."""

date_of_birth: date
"""The person's date of birth in YYYY-MM-DD format."""
date_of_birth: Optional[date] = None
"""The grantor's date of birth in YYYY-MM-DD format."""

identification: Optional[TrustGrantorIdentification] = None
"""A means of verifying the person's identity."""
"""A means of verifying the grantor's identity."""

name: str
"""The person's legal name."""
"""The grantor's legal name."""


class TrustTrusteeIndividualAddress(BaseModel):
Expand Down
8 changes: 4 additions & 4 deletions src/increase/types/entity_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ class TrustTrustee(TypedDict, total=False):


class TrustGrantorAddress(TypedDict, total=False):
"""The individual's physical address.
"""The grantor's physical address.

Mail receiving locations like PO Boxes and PMB's are disallowed.
"""
Expand Down Expand Up @@ -1287,19 +1287,19 @@ class TrustGrantor(TypedDict, total=False):
"""The grantor of the trust. Required if `category` is equal to `revocable`."""

address: Required[TrustGrantorAddress]
"""The individual's physical address.
"""The grantor's physical address.

Mail receiving locations like PO Boxes and PMB's are disallowed.
"""

date_of_birth: Required[Annotated[Union[str, date], PropertyInfo(format="iso8601")]]
"""The person's date of birth in YYYY-MM-DD format."""
"""The grantor's date of birth in YYYY-MM-DD format."""

identification: Required[TrustGrantorIdentification]
"""A means of verifying the person's identity."""

name: Required[str]
"""The person's legal name."""
"""The grantor's legal name."""

confirmed_no_us_tax_id: bool
"""
Expand Down
Loading