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.284.0"
".": "0.285.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: 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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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.284.0"
version = "0.285.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.284.0" # x-release-please-version
__version__ = "0.285.0" # x-release-please-version
9 changes: 3 additions & 6 deletions src/increase/types/entity_create_beneficial_owner_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""

Expand Down
9 changes: 3 additions & 6 deletions src/increase/types/entity_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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."""

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