diff --git a/.release-please-manifest.json b/.release-please-manifest.json index db5791310..4942d18ad 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.321.0" + ".": "0.322.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index dc28c5ae5..0ece17005 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-5d85239e5d724254ab22d922c6cad05e1c361c791ef4a578e1165158bd967753.yml -openapi_spec_hash: b2c90485c02d643ad09954f4d88dbc25 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-387c9e5ff5305d470ddf290a424b9d0f087fa295b56cf82265f2dfe8355a589a.yml +openapi_spec_hash: 2c624b8535be90329028f6b10281a313 config_hash: e1885b38eded054b77308a024c5d80cc diff --git a/CHANGELOG.md b/CHANGELOG.md index bb1ad4ed9..8ef012bc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.322.0 (2025-09-08) + +Full Changelog: [v0.321.0...v0.322.0](https://github.com/Increase/increase-python/compare/v0.321.0...v0.322.0) + +### Features + +* **api:** api update ([f6920eb](https://github.com/Increase/increase-python/commit/f6920eb2d70a1c0a7df43898772bbfe3e0ce7a8f)) + ## 0.321.0 (2025-09-08) Full Changelog: [v0.320.0...v0.321.0](https://github.com/Increase/increase-python/compare/v0.320.0...v0.321.0) diff --git a/pyproject.toml b/pyproject.toml index 11d27c3bf..d5d79156c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.321.0" +version = "0.322.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 79980d54f..540af3028 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.321.0" # x-release-please-version +__version__ = "0.322.0" # x-release-please-version diff --git a/src/increase/resources/entities.py b/src/increase/resources/entities.py index b3f038161..a46aad2b0 100644 --- a/src/increase/resources/entities.py +++ b/src/increase/resources/entities.py @@ -194,6 +194,7 @@ def update( entity_id: str, *, corporation: entity_update_params.Corporation | NotGiven = NOT_GIVEN, + details_confirmed_at: Union[str, datetime] | NotGiven = NOT_GIVEN, government_authority: entity_update_params.GovernmentAuthority | NotGiven = NOT_GIVEN, natural_person: entity_update_params.NaturalPerson | NotGiven = NOT_GIVEN, risk_rating: entity_update_params.RiskRating | NotGiven = NOT_GIVEN, @@ -216,6 +217,10 @@ def 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. + details_confirmed_at: When your user last confirmed the Entity's details. Depending on your program, + you may be required to affirmatively confirm details with your users on an + annual basis. + 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. @@ -249,6 +254,7 @@ def update( body=maybe_transform( { "corporation": corporation, + "details_confirmed_at": details_confirmed_at, "government_authority": government_authority, "natural_person": natural_person, "risk_rating": risk_rating, @@ -836,6 +842,7 @@ async def update( entity_id: str, *, corporation: entity_update_params.Corporation | NotGiven = NOT_GIVEN, + details_confirmed_at: Union[str, datetime] | NotGiven = NOT_GIVEN, government_authority: entity_update_params.GovernmentAuthority | NotGiven = NOT_GIVEN, natural_person: entity_update_params.NaturalPerson | NotGiven = NOT_GIVEN, risk_rating: entity_update_params.RiskRating | NotGiven = NOT_GIVEN, @@ -858,6 +865,10 @@ async def 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. + details_confirmed_at: When your user last confirmed the Entity's details. Depending on your program, + you may be required to affirmatively confirm details with your users on an + annual basis. + 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. @@ -891,6 +902,7 @@ async def update( body=await async_maybe_transform( { "corporation": corporation, + "details_confirmed_at": details_confirmed_at, "government_authority": government_authority, "natural_person": natural_person, "risk_rating": risk_rating, diff --git a/src/increase/types/entity_update_params.py b/src/increase/types/entity_update_params.py index 532b73717..28b57a7e8 100644 --- a/src/increase/types/entity_update_params.py +++ b/src/increase/types/entity_update_params.py @@ -31,6 +31,13 @@ class EntityUpdateParams(TypedDict, total=False): will fail. """ + details_confirmed_at: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] + """When your user last confirmed the Entity's details. + + Depending on your program, you may be required to affirmatively confirm details + with your users on an annual basis. + """ + government_authority: GovernmentAuthority """Details of the government authority entity to update. diff --git a/tests/api_resources/test_entities.py b/tests/api_resources/test_entities.py index 082ee9311..192de0078 100644 --- a/tests/api_resources/test_entities.py +++ b/tests/api_resources/test_entities.py @@ -358,6 +358,7 @@ def test_method_update_with_all_params(self, client: Increase) -> None: "industry_code": "x", "name": "x", }, + details_confirmed_at=parse_datetime("2019-12-27T18:11:19.117Z"), government_authority={ "address": { "city": "x", @@ -1284,6 +1285,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncIncrease) "industry_code": "x", "name": "x", }, + details_confirmed_at=parse_datetime("2019-12-27T18:11:19.117Z"), government_authority={ "address": { "city": "x",