From d6c5588ee7dc99e8896a45d47de98a3057a83a5f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 13 Mar 2026 19:01:03 +0000 Subject: [PATCH 1/3] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 3f376ee1..7415bfa2 100644 --- a/.stats.yml +++ b/.stats.yml @@ -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-456b3255914e823b9e463f97ff81124dfabefae6f102e0f295bf33b7cfb1b780.yml +openapi_spec_hash: ccbeda7ba9b61f9a8c2f9f4cf7a65dce config_hash: 25d7d7aa4882db6189b4b53e8e249e80 From e03e980d5c39f07e5bd28fcd5f7562fe92a4b1de Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 13 Mar 2026 23:12:42 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 +- src/increase/types/entity.py | 100 ++++++++++++++++++++++++++++++++++- 2 files changed, 101 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7415bfa2..62f093dc 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 236 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-456b3255914e823b9e463f97ff81124dfabefae6f102e0f295bf33b7cfb1b780.yml -openapi_spec_hash: ccbeda7ba9b61f9a8c2f9f4cf7a65dce +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-d5ad75c7a80acd1cb3ff0483fa0b5b2eb9d73287f107f53a8fb3a3a0b6a32ed8.yml +openapi_spec_hash: da73faf476df3eddcf0ac51c38dd1b17 config_hash: 25d7d7aa4882db6189b4b53e8e249e80 diff --git a/src/increase/types/entity.py b/src/increase/types/entity.py index 4d4ff37d..288deb14 100644 --- a/src/increase/types/entity.py +++ b/src/increase/types/entity.py @@ -39,6 +39,12 @@ "TrustTrusteeIndividual", "TrustTrusteeIndividualAddress", "TrustTrusteeIndividualIdentification", + "Validation", + "ValidationIssue", + "ValidationIssueBeneficialOwnerAddress", + "ValidationIssueBeneficialOwnerIdentity", + "ValidationIssueEntityAddress", + "ValidationIssueEntityTaxIdentifier", ] @@ -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 @@ -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. From 55b19897187617732c26deee3a8516f3e5ae7913 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 13 Mar 2026 23:13:04 +0000 Subject: [PATCH 3/3] release: 0.443.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/increase/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 585712c6..c483112c 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.442.0" + ".": "0.443.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 259d7ca3..6800a759 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/pyproject.toml b/pyproject.toml index feecb30a..3bc399aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/src/increase/_version.py b/src/increase/_version.py index eed4834e..5699c3e7 100644 --- a/src/increase/_version.py +++ b/src/increase/_version.py @@ -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