From e376854c444d77aa7fdd2c5e95f613e986672d14 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 5 Sep 2025 22:19:43 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- src/increase/resources/entities.py | 24 ++++++++++++++-------- src/increase/types/entity_update_params.py | 24 ++++++++++++++++++---- 3 files changed, 38 insertions(+), 14 deletions(-) diff --git a/.stats.yml b/.stats.yml index 11b34180d..675fc1658 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 217 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e74540ca75fc4e7a0e28d2c41c53c6131dff74e1e3c1472601db19509bb77451.yml -openapi_spec_hash: 4030ac2965b556670d1b427ffc5c554b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a91424eba488276a87e396d4172d7381d22e9ff38639a98aafdbcc2f8b53d000.yml +openapi_spec_hash: 52c779ffbbb1e3a46738d374849ca92b config_hash: e1885b38eded054b77308a024c5d80cc diff --git a/src/increase/resources/entities.py b/src/increase/resources/entities.py index ebb7f995d..43a9af62c 100644 --- a/src/increase/resources/entities.py +++ b/src/increase/resources/entities.py @@ -212,11 +212,14 @@ def update( Args: entity_id: The entity identifier. - corporation: Details of the corporation entity to update. + corporation: Details of the corporation entity to update. If you specify this parameter and + the entity is not a corporation, the request will fail. - government_authority: Details of the government authority entity to update. + government_authority: Details of the government authority entity to update. If you specify this + parameter and the entity is not a government authority, the request will fail. - natural_person: Details of the natural person entity to update. + natural_person: Details of the natural person entity to update. If you specify this parameter + and the entity is not a natural person, the request will fail. risk_rating: An assessment of the entity’s potential risk of involvement in financial crimes, such as money laundering. @@ -224,7 +227,8 @@ def update( third_party_verification: A reference to data stored in a third-party verification service. Your integration may or may not use this field. - trust: Details of the trust entity to update. + trust: Details of the trust entity to update. If you specify this parameter and the + entity is not a trust, the request will fail. extra_headers: Send extra headers @@ -848,11 +852,14 @@ async def update( Args: entity_id: The entity identifier. - corporation: Details of the corporation entity to update. + corporation: Details of the corporation entity to update. If you specify this parameter and + the entity is not a corporation, the request will fail. - government_authority: Details of the government authority entity to update. + government_authority: Details of the government authority entity to update. If you specify this + parameter and the entity is not a government authority, the request will fail. - natural_person: Details of the natural person entity to update. + natural_person: Details of the natural person entity to update. If you specify this parameter + and the entity is not a natural person, the request will fail. risk_rating: An assessment of the entity’s potential risk of involvement in financial crimes, such as money laundering. @@ -860,7 +867,8 @@ async def update( third_party_verification: A reference to data stored in a third-party verification service. Your integration may or may not use this field. - trust: Details of the trust entity to update. + trust: Details of the trust entity to update. If you specify this parameter and the + entity is not a trust, the request will fail. extra_headers: Send extra headers diff --git a/src/increase/types/entity_update_params.py b/src/increase/types/entity_update_params.py index e3d6416b5..ef04ae33a 100644 --- a/src/increase/types/entity_update_params.py +++ b/src/increase/types/entity_update_params.py @@ -21,13 +21,25 @@ class EntityUpdateParams(TypedDict, total=False): corporation: Corporation - """Details of the corporation entity to update.""" + """Details of the corporation entity to update. + + If you specify this parameter and the entity is not a corporation, the request + will fail. + """ government_authority: GovernmentAuthority - """Details of the government authority entity to update.""" + """Details of the government authority entity to update. + + If you specify this parameter and the entity is not a government authority, the + request will fail. + """ natural_person: NaturalPerson - """Details of the natural person entity to update.""" + """Details of the natural person entity to update. + + If you specify this parameter and the entity is not a natural person, the + request will fail. + """ risk_rating: RiskRating """ @@ -42,7 +54,11 @@ class EntityUpdateParams(TypedDict, total=False): """ trust: Trust - """Details of the trust entity to update.""" + """Details of the trust entity to update. + + If you specify this parameter and the entity is not a trust, the request will + fail. + """ class Corporation(TypedDict, total=False): From 8686fb92762efbe9cafff2163a3f528e196aef90 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 5 Sep 2025 22:20:03 +0000 Subject: [PATCH 2/2] release: 0.317.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 d4bd34171..34760ea6d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.316.0" + ".": "0.317.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 6250872c1..9e954d970 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.317.0 (2025-09-05) + +Full Changelog: [v0.316.0...v0.317.0](https://github.com/Increase/increase-python/compare/v0.316.0...v0.317.0) + +### Features + +* **api:** api update ([e376854](https://github.com/Increase/increase-python/commit/e376854c444d77aa7fdd2c5e95f613e986672d14)) + ## 0.316.0 (2025-09-05) Full Changelog: [v0.315.0...v0.316.0](https://github.com/Increase/increase-python/compare/v0.315.0...v0.316.0) diff --git a/pyproject.toml b/pyproject.toml index f4fbcd694..44561b6f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.316.0" +version = "0.317.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 21aa1fec6..227708d28 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.316.0" # x-release-please-version +__version__ = "0.317.0" # x-release-please-version