diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 2a4a5d792..182fd7857 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.284.0" + ".": "0.285.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 4e2a1cd4e..c3a436da3 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 202 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-86536168d84b951766d3c56adf7b371f15e15de83fff1de4b8052f55bb98034d.yml -openapi_spec_hash: 28053671bf8df1b93086dbe6123f8163 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-06c4af41ee358cc77681ee9eb3e3997fb985c94baa60639f3b21bba1a73dd990.yml +openapi_spec_hash: 636b35479a21d9be089b2d9b95646ba9 config_hash: a185e9a72778cc4658ea73fb3a7f1354 diff --git a/CHANGELOG.md b/CHANGELOG.md index 72221959d..f9e8aea86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.285.0 (2025-08-14) + +Full Changelog: [v0.284.0...v0.285.0](https://github.com/Increase/increase-python/compare/v0.284.0...v0.285.0) + +### Features + +* **api:** api update ([8357883](https://github.com/Increase/increase-python/commit/8357883ce85f203b357cf9a32e59c833ec19a6cf)) + ## 0.284.0 (2025-08-13) Full Changelog: [v0.283.0...v0.284.0](https://github.com/Increase/increase-python/compare/v0.283.0...v0.284.0) diff --git a/pyproject.toml b/pyproject.toml index 683224994..b12e5035c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.284.0" +version = "0.285.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 23e1590c5..136fbbeb9 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.284.0" # x-release-please-version +__version__ = "0.285.0" # x-release-please-version diff --git a/src/increase/types/entity_create_beneficial_owner_params.py b/src/increase/types/entity_create_beneficial_owner_params.py index bdc31d5d7..9876edb42 100644 --- a/src/increase/types/entity_create_beneficial_owner_params.py +++ b/src/increase/types/entity_create_beneficial_owner_params.py @@ -29,18 +29,15 @@ class EntityCreateBeneficialOwnerParams(TypedDict, total=False): class BeneficialOwnerIndividualAddress(TypedDict, total=False): + city: Required[str] + """The city, district, town, or village of the address.""" + country: Required[str] """The two-letter ISO 3166-1 alpha-2 code for the country of the address.""" line1: Required[str] """The first line of the address. This is usually the street number and street.""" - city: str - """The city, district, town, or village of the address. - - Required in certain countries. - """ - line2: str """The second line of the address. This might be the floor or room number.""" diff --git a/src/increase/types/entity_create_params.py b/src/increase/types/entity_create_params.py index 47559b358..65cff4053 100644 --- a/src/increase/types/entity_create_params.py +++ b/src/increase/types/entity_create_params.py @@ -132,18 +132,15 @@ class CorporationAddress(TypedDict, total=False): class CorporationBeneficialOwnerIndividualAddress(TypedDict, total=False): + city: Required[str] + """The city, district, town, or village of the address.""" + country: Required[str] """The two-letter ISO 3166-1 alpha-2 code for the country of the address.""" line1: Required[str] """The first line of the address. This is usually the street number and street.""" - city: str - """The city, district, town, or village of the address. - - Required in certain countries. - """ - line2: str """The second line of the address. This might be the floor or room number.""" diff --git a/src/increase/types/entity_update_beneficial_owner_address_params.py b/src/increase/types/entity_update_beneficial_owner_address_params.py index 8024488fa..bbf846143 100644 --- a/src/increase/types/entity_update_beneficial_owner_address_params.py +++ b/src/increase/types/entity_update_beneficial_owner_address_params.py @@ -22,18 +22,15 @@ class EntityUpdateBeneficialOwnerAddressParams(TypedDict, total=False): class Address(TypedDict, total=False): + city: Required[str] + """The city, district, town, or village of the address.""" + country: Required[str] """The two-letter ISO 3166-1 alpha-2 code for the country of the address.""" line1: Required[str] """The first line of the address. This is usually the street number and street.""" - city: str - """The city, district, town, or village of the address. - - Required in certain countries. - """ - line2: str """The second line of the address. This might be the floor or room number.""" diff --git a/tests/api_resources/test_entities.py b/tests/api_resources/test_entities.py index b0b86d7e5..b0b4e8aeb 100644 --- a/tests/api_resources/test_entities.py +++ b/tests/api_resources/test_entities.py @@ -44,9 +44,9 @@ def test_method_create_with_all_params(self, client: Increase) -> None: { "individual": { "address": { + "city": "New York", "country": "x", "line1": "33 Liberty Street", - "city": "New York", "line2": "x", "state": "NY", "zip": "10045", @@ -506,6 +506,7 @@ def test_method_create_beneficial_owner(self, client: Increase) -> None: beneficial_owner={ "individual": { "address": { + "city": "New York", "country": "US", "line1": "33 Liberty Street", }, @@ -528,9 +529,9 @@ def test_method_create_beneficial_owner_with_all_params(self, client: Increase) beneficial_owner={ "individual": { "address": { + "city": "New York", "country": "US", "line1": "33 Liberty Street", - "city": "New York", "line2": "x", "state": "NY", "zip": "10045", @@ -574,6 +575,7 @@ def test_raw_response_create_beneficial_owner(self, client: Increase) -> None: beneficial_owner={ "individual": { "address": { + "city": "New York", "country": "US", "line1": "33 Liberty Street", }, @@ -600,6 +602,7 @@ def test_streaming_response_create_beneficial_owner(self, client: Increase) -> N beneficial_owner={ "individual": { "address": { + "city": "New York", "country": "US", "line1": "33 Liberty Street", }, @@ -629,6 +632,7 @@ def test_path_params_create_beneficial_owner(self, client: Increase) -> None: beneficial_owner={ "individual": { "address": { + "city": "New York", "country": "US", "line1": "33 Liberty Street", }, @@ -724,6 +728,7 @@ def test_method_update_beneficial_owner_address(self, client: Increase) -> None: entity = client.entities.update_beneficial_owner_address( entity_id="entity_n8y8tnk2p9339ti393yi", address={ + "city": "New York", "country": "US", "line1": "33 Liberty Street", }, @@ -736,9 +741,9 @@ def test_method_update_beneficial_owner_address_with_all_params(self, client: In entity = client.entities.update_beneficial_owner_address( entity_id="entity_n8y8tnk2p9339ti393yi", address={ + "city": "New York", "country": "US", "line1": "33 Liberty Street", - "city": "New York", "line2": "Unit 2", "state": "NY", "zip": "10045", @@ -752,6 +757,7 @@ def test_raw_response_update_beneficial_owner_address(self, client: Increase) -> response = client.entities.with_raw_response.update_beneficial_owner_address( entity_id="entity_n8y8tnk2p9339ti393yi", address={ + "city": "New York", "country": "US", "line1": "33 Liberty Street", }, @@ -768,6 +774,7 @@ def test_streaming_response_update_beneficial_owner_address(self, client: Increa with client.entities.with_streaming_response.update_beneficial_owner_address( entity_id="entity_n8y8tnk2p9339ti393yi", address={ + "city": "New York", "country": "US", "line1": "33 Liberty Street", }, @@ -787,6 +794,7 @@ def test_path_params_update_beneficial_owner_address(self, client: Increase) -> client.entities.with_raw_response.update_beneficial_owner_address( entity_id="", address={ + "city": "New York", "country": "US", "line1": "33 Liberty Street", }, @@ -864,9 +872,9 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) { "individual": { "address": { + "city": "New York", "country": "x", "line1": "33 Liberty Street", - "city": "New York", "line2": "x", "state": "NY", "zip": "10045", @@ -1326,6 +1334,7 @@ async def test_method_create_beneficial_owner(self, async_client: AsyncIncrease) beneficial_owner={ "individual": { "address": { + "city": "New York", "country": "US", "line1": "33 Liberty Street", }, @@ -1348,9 +1357,9 @@ async def test_method_create_beneficial_owner_with_all_params(self, async_client beneficial_owner={ "individual": { "address": { + "city": "New York", "country": "US", "line1": "33 Liberty Street", - "city": "New York", "line2": "x", "state": "NY", "zip": "10045", @@ -1394,6 +1403,7 @@ async def test_raw_response_create_beneficial_owner(self, async_client: AsyncInc beneficial_owner={ "individual": { "address": { + "city": "New York", "country": "US", "line1": "33 Liberty Street", }, @@ -1420,6 +1430,7 @@ async def test_streaming_response_create_beneficial_owner(self, async_client: As beneficial_owner={ "individual": { "address": { + "city": "New York", "country": "US", "line1": "33 Liberty Street", }, @@ -1449,6 +1460,7 @@ async def test_path_params_create_beneficial_owner(self, async_client: AsyncIncr beneficial_owner={ "individual": { "address": { + "city": "New York", "country": "US", "line1": "33 Liberty Street", }, @@ -1544,6 +1556,7 @@ async def test_method_update_beneficial_owner_address(self, async_client: AsyncI entity = await async_client.entities.update_beneficial_owner_address( entity_id="entity_n8y8tnk2p9339ti393yi", address={ + "city": "New York", "country": "US", "line1": "33 Liberty Street", }, @@ -1556,9 +1569,9 @@ async def test_method_update_beneficial_owner_address_with_all_params(self, asyn entity = await async_client.entities.update_beneficial_owner_address( entity_id="entity_n8y8tnk2p9339ti393yi", address={ + "city": "New York", "country": "US", "line1": "33 Liberty Street", - "city": "New York", "line2": "Unit 2", "state": "NY", "zip": "10045", @@ -1572,6 +1585,7 @@ async def test_raw_response_update_beneficial_owner_address(self, async_client: response = await async_client.entities.with_raw_response.update_beneficial_owner_address( entity_id="entity_n8y8tnk2p9339ti393yi", address={ + "city": "New York", "country": "US", "line1": "33 Liberty Street", }, @@ -1588,6 +1602,7 @@ async def test_streaming_response_update_beneficial_owner_address(self, async_cl async with async_client.entities.with_streaming_response.update_beneficial_owner_address( entity_id="entity_n8y8tnk2p9339ti393yi", address={ + "city": "New York", "country": "US", "line1": "33 Liberty Street", }, @@ -1607,6 +1622,7 @@ async def test_path_params_update_beneficial_owner_address(self, async_client: A await async_client.entities.with_raw_response.update_beneficial_owner_address( entity_id="", address={ + "city": "New York", "country": "US", "line1": "33 Liberty Street", },