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 .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 238
openapi_spec_hash: 355ca6c73f05d0ce3888debdc2e1a7d8
openapi_spec_hash: fa67b808ca579e929aea7dd917b18cf9
config_hash: 2ae0d8aaecf01b38cbf9f9e112822c23
2 changes: 1 addition & 1 deletion scripts/mock

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions src/increase/types/beneficial_owner_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,15 @@ class IndividualAddress(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."""

country: str
"""The two-letter ISO 3166-1 alpha-2 code for the country of the address.

Defaults to `US`.
"""

line2: str
"""The second line of the address. This might be the floor or room number."""

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

country: str
"""The two-letter ISO 3166-1 alpha-2 code for the country of the address.

Defaults to `US`.
"""

line2: str
"""The second line of the address. This might be the floor or room number."""

Expand Down
54 changes: 36 additions & 18 deletions src/increase/types/entity_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,15 @@ class CorporationAddress(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."""

country: str
"""The two-letter ISO 3166-1 alpha-2 code for the country of the address.

Defaults to `US`.
"""

line2: str
"""The second line of the address. This might be the floor or room number."""

Expand All @@ -164,12 +167,15 @@ 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."""

country: str
"""The two-letter ISO 3166-1 alpha-2 code for the country of the address.

Defaults to `US`.
"""

line2: str
"""The second line of the address. This might be the floor or room number."""

Expand Down Expand Up @@ -523,12 +529,15 @@ class JointIndividualAddress(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."""

country: str
"""The two-letter ISO 3166-1 alpha-2 code for the country of the address.

Defaults to `US`.
"""

line2: str
"""The second line of the address. This might be the floor or room number."""

Expand Down Expand Up @@ -702,12 +711,15 @@ class NaturalPersonAddress(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."""

country: str
"""The two-letter ISO 3166-1 alpha-2 code for the country of the address.

Defaults to `US`.
"""

line2: str
"""The second line of the address. This might be the floor or room number."""

Expand Down Expand Up @@ -959,12 +971,15 @@ class TrustTrusteeIndividualAddress(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."""

country: str
"""The two-letter ISO 3166-1 alpha-2 code for the country of the address.

Defaults to `US`.
"""

line2: str
"""The second line of the address. This might be the floor or room number."""

Expand Down Expand Up @@ -1148,12 +1163,15 @@ class TrustGrantorAddress(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."""

country: str
"""The two-letter ISO 3166-1 alpha-2 code for the country of the address.

Defaults to `US`.
"""

line2: str
"""The second line of the address. This might be the floor or room number."""

Expand Down
18 changes: 12 additions & 6 deletions src/increase/types/entity_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,15 @@ class CorporationAddress(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."""

country: str
"""The two-letter ISO 3166-1 alpha-2 code for the country of the address.

Defaults to `US`.
"""

line2: str
"""The second line of the address. This might be the floor or room number."""

Expand Down Expand Up @@ -236,12 +239,15 @@ class NaturalPersonAddress(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."""

country: str
"""The two-letter ISO 3166-1 alpha-2 code for the country of the address.

Defaults to `US`.
"""

line2: str
"""The second line of the address. This might be the floor or room number."""

Expand Down
14 changes: 4 additions & 10 deletions tests/api_resources/test_beneficial_owners.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def test_method_create(self, client: Increase) -> None:
individual={
"address": {
"city": "New York",
"country": "US",
"line1": "33 Liberty Street",
},
"date_of_birth": parse_date("1970-01-31"),
Expand All @@ -49,8 +48,8 @@ def test_method_create_with_all_params(self, client: Increase) -> None:
individual={
"address": {
"city": "New York",
"country": "US",
"line1": "33 Liberty Street",
"country": "US",
"line2": "x",
"state": "NY",
"zip": "10045",
Expand Down Expand Up @@ -93,7 +92,6 @@ def test_raw_response_create(self, client: Increase) -> None:
individual={
"address": {
"city": "New York",
"country": "US",
"line1": "33 Liberty Street",
},
"date_of_birth": parse_date("1970-01-31"),
Expand All @@ -118,7 +116,6 @@ def test_streaming_response_create(self, client: Increase) -> None:
individual={
"address": {
"city": "New York",
"country": "US",
"line1": "33 Liberty Street",
},
"date_of_birth": parse_date("1970-01-31"),
Expand Down Expand Up @@ -191,8 +188,8 @@ def test_method_update_with_all_params(self, client: Increase) -> None:
entity_beneficial_owner_id="entity_beneficial_owner_vozma8szzu1sxezp5zq6",
address={
"city": "New York",
"country": "US",
"line1": "33 Liberty Street",
"country": "US",
"line2": "Unit 2",
"state": "NY",
"zip": "10045",
Expand Down Expand Up @@ -352,7 +349,6 @@ async def test_method_create(self, async_client: AsyncIncrease) -> None:
individual={
"address": {
"city": "New York",
"country": "US",
"line1": "33 Liberty Street",
},
"date_of_birth": parse_date("1970-01-31"),
Expand All @@ -373,8 +369,8 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease)
individual={
"address": {
"city": "New York",
"country": "US",
"line1": "33 Liberty Street",
"country": "US",
"line2": "x",
"state": "NY",
"zip": "10045",
Expand Down Expand Up @@ -417,7 +413,6 @@ async def test_raw_response_create(self, async_client: AsyncIncrease) -> None:
individual={
"address": {
"city": "New York",
"country": "US",
"line1": "33 Liberty Street",
},
"date_of_birth": parse_date("1970-01-31"),
Expand All @@ -442,7 +437,6 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N
individual={
"address": {
"city": "New York",
"country": "US",
"line1": "33 Liberty Street",
},
"date_of_birth": parse_date("1970-01-31"),
Expand Down Expand Up @@ -515,8 +509,8 @@ async def test_method_update_with_all_params(self, async_client: AsyncIncrease)
entity_beneficial_owner_id="entity_beneficial_owner_vozma8szzu1sxezp5zq6",
address={
"city": "New York",
"country": "US",
"line1": "33 Liberty Street",
"country": "US",
"line2": "Unit 2",
"state": "NY",
"zip": "10045",
Expand Down
Loading
Loading