Skip to content
Merged
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 .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.442.0"
".": "0.443.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 236
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-fae765b6b1b34f9c649fec11885e4d0e5b8b1cab0baf0f440dfd5eba040e7047.yml
openapi_spec_hash: 9900b1c763a43261e0288896379541fe
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-d5ad75c7a80acd1cb3ff0483fa0b5b2eb9d73287f107f53a8fb3a3a0b6a32ed8.yml
openapi_spec_hash: da73faf476df3eddcf0ac51c38dd1b17
config_hash: 25d7d7aa4882db6189b4b53e8e249e80
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.443.0 (2026-03-13)

Full Changelog: [v0.442.0...v0.443.0](https://github.com/Increase/increase-python/compare/v0.442.0...v0.443.0)

### Features

* **api:** api update ([e03e980](https://github.com/Increase/increase-python/commit/e03e980d5c39f07e5bd28fcd5f7562fe92a4b1de))

## 0.442.0 (2026-03-13)

Full Changelog: [v0.441.0...v0.442.0](https://github.com/Increase/increase-python/compare/v0.441.0...v0.442.0)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "increase"
version = "0.442.0"
version = "0.443.0"
description = "The official Python library for the increase API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/increase/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "increase"
__version__ = "0.442.0" # x-release-please-version
__version__ = "0.443.0" # x-release-please-version
100 changes: 99 additions & 1 deletion src/increase/types/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
"TrustTrusteeIndividual",
"TrustTrusteeIndividualAddress",
"TrustTrusteeIndividualIdentification",
"Validation",
"ValidationIssue",
"ValidationIssueBeneficialOwnerAddress",
"ValidationIssueBeneficialOwnerIdentity",
"ValidationIssueEntityAddress",
"ValidationIssueEntityTaxIdentifier",
]


Expand Down Expand Up @@ -703,10 +709,99 @@ class Trust(BaseModel):
"""The trustees of the trust."""


class ValidationIssueBeneficialOwnerAddress(BaseModel):
"""Details when the issue is with a beneficial owner's address."""

beneficial_owner_id: str
"""The ID of the beneficial owner."""

reason: Literal["mailbox_address"]
"""The reason the address is invalid.

- `mailbox_address` - The address is a mailbox or other non-physical address.
"""


class ValidationIssueBeneficialOwnerIdentity(BaseModel):
"""Details when the issue is with a beneficial owner's identity verification."""

beneficial_owner_id: str
"""The ID of the beneficial owner."""


class ValidationIssueEntityAddress(BaseModel):
"""Details when the issue is with the entity's address."""

reason: Literal["mailbox_address"]
"""The reason the address is invalid.

- `mailbox_address` - The address is a mailbox or other non-physical address.
"""


class ValidationIssueEntityTaxIdentifier(BaseModel):
"""Details when the issue is with the entity's tax ID."""

pass


class ValidationIssue(BaseModel):
beneficial_owner_address: Optional[ValidationIssueBeneficialOwnerAddress] = None
"""Details when the issue is with a beneficial owner's address."""

beneficial_owner_identity: Optional[ValidationIssueBeneficialOwnerIdentity] = None
"""Details when the issue is with a beneficial owner's identity verification."""

category: Literal[
"entity_tax_identifier", "entity_address", "beneficial_owner_identity", "beneficial_owner_address"
]
"""The type of issue.

We may add additional possible values for this enum over time; your application
should be able to handle such additions gracefully.

- `entity_tax_identifier` - The entity's tax identifier could not be validated.
Update the tax ID with the
[update an entity API](/documentation/api/entities#update-an-entity.corporation.tax_identifier).
- `entity_address` - The entity's address could not be validated. Update the
address with the
[update an entity API](/documentation/api/entities#update-an-entity.corporation.address).
- `beneficial_owner_identity` - A beneficial owner's identity could not be
verified. Update the identification with the
[update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
- `beneficial_owner_address` - A beneficial owner's address could not be
validated. Update the address with the
[update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
"""

entity_address: Optional[ValidationIssueEntityAddress] = None
"""Details when the issue is with the entity's address."""

entity_tax_identifier: Optional[ValidationIssueEntityTaxIdentifier] = None
"""Details when the issue is with the entity's tax ID."""


class Validation(BaseModel):
"""The validation results for the entity."""

issues: List[ValidationIssue]
"""The list of issues that need to be addressed."""

status: Literal["pending", "valid", "invalid"]
"""The validation status for the entity.

If the status is `invalid`, the `issues` array will be populated.

- `pending` - The submitted data is being validated.
- `valid` - The submitted data is valid.
- `invalid` - Additional information is required to validate the data.
"""


class Entity(BaseModel):
"""Entities are the legal entities that own accounts.

They can be people, corporations, partnerships, government authorities, or trusts.
They can be people, corporations, partnerships, government authorities, or trusts. To learn more, see [Entities](/documentation/entities).
"""

id: str
Expand Down Expand Up @@ -818,6 +913,9 @@ class Entity(BaseModel):
For this resource it will always be `entity`.
"""

validation: Optional[Validation] = None
"""The validation results for the entity."""

if TYPE_CHECKING:
# Some versions of Pydantic <2.8.0 have a bug and don’t allow assigning a
# value to this field, so for compatibility we avoid doing it at runtime.
Expand Down