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.321.0"
".": "0.322.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: 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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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.321.0"
version = "0.322.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.321.0" # x-release-please-version
__version__ = "0.322.0" # x-release-please-version
12 changes: 12 additions & 0 deletions src/increase/resources/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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.

Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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.

Expand Down Expand Up @@ -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,
Expand Down
7 changes: 7 additions & 0 deletions src/increase/types/entity_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 2 additions & 0 deletions tests/api_resources/test_entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down