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.434.0"
".": "0.435.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 238
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-1ce680832c1cad08fe72f9d4b9df37379affbe88f539448d991039474dce6674.yml
openapi_spec_hash: 5d9c89c10f5987dc5596134d1f2c1668
config_hash: e75db3094e90d5e48a2077b010b620f0
configured_endpoints: 236
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4d9e8a8a1909ef7c96fe28293ab07720938ce09be84687c57e3cf95890a78205.yml
openapi_spec_hash: 4b3867a81a8429bf6ab119f910e72865
config_hash: e73b1147c039cb3d6a2c56ae5926bca8
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 0.435.0 (2026-03-12)

Full Changelog: [v0.434.0...v0.435.0](https://github.com/Increase/increase-python/compare/v0.434.0...v0.435.0)

### Features

* **api:** api update ([43c7e4c](https://github.com/Increase/increase-python/commit/43c7e4c349ce6ffbcd9aa6e368e6fe6cc04f75c1))
* **api:** api update ([30d9bbd](https://github.com/Increase/increase-python/commit/30d9bbde4016c31b8396e9b182e3911f0bc2e55d))
* **api:** api update ([915d6cc](https://github.com/Increase/increase-python/commit/915d6cc439a9f01f796a7a6780e117fd2944ebf4))

## 0.434.0 (2026-03-12)

Full Changelog: [v0.433.0...v0.434.0](https://github.com/Increase/increase-python/compare/v0.433.0...v0.434.0)
Expand Down
2 changes: 0 additions & 2 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -501,9 +501,7 @@ Methods:
- <code title="patch /entities/{entity_id}">client.entities.<a href="./src/increase/resources/entities.py">update</a>(entity_id, \*\*<a href="src/increase/types/entity_update_params.py">params</a>) -> <a href="./src/increase/types/entity.py">Entity</a></code>
- <code title="get /entities">client.entities.<a href="./src/increase/resources/entities.py">list</a>(\*\*<a href="src/increase/types/entity_list_params.py">params</a>) -> <a href="./src/increase/types/entity.py">SyncPage[Entity]</a></code>
- <code title="post /entities/{entity_id}/archive">client.entities.<a href="./src/increase/resources/entities.py">archive</a>(entity_id) -> <a href="./src/increase/types/entity.py">Entity</a></code>
- <code title="post /entities/{entity_id}/archive_beneficial_owner">client.entities.<a href="./src/increase/resources/entities.py">archive_beneficial_owner</a>(entity_id, \*\*<a href="src/increase/types/entity_archive_beneficial_owner_params.py">params</a>) -> <a href="./src/increase/types/entity.py">Entity</a></code>
- <code title="post /entities/{entity_id}/create_beneficial_owner">client.entities.<a href="./src/increase/resources/entities.py">create_beneficial_owner</a>(entity_id, \*\*<a href="src/increase/types/entity_create_beneficial_owner_params.py">params</a>) -> <a href="./src/increase/types/entity.py">Entity</a></code>
- <code title="post /entities/{entity_id}/update_beneficial_owner_address">client.entities.<a href="./src/increase/resources/entities.py">update_beneficial_owner_address</a>(entity_id, \*\*<a href="src/increase/types/entity_update_beneficial_owner_address_params.py">params</a>) -> <a href="./src/increase/types/entity.py">Entity</a></code>

# BeneficialOwners

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.434.0"
version = "0.435.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.434.0" # x-release-please-version
__version__ = "0.435.0" # x-release-please-version
244 changes: 0 additions & 244 deletions src/increase/resources/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
entity_create_params,
entity_update_params,
entity_create_beneficial_owner_params,
entity_archive_beneficial_owner_params,
entity_update_beneficial_owner_address_params,
)
from .._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
from .._utils import maybe_transform, async_maybe_transform
Expand Down Expand Up @@ -378,57 +376,6 @@ def archive(
cast_to=Entity,
)

def archive_beneficial_owner(
self,
entity_id: str,
*,
beneficial_owner_id: str,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
idempotency_key: str | None = None,
) -> Entity:
"""
Archive a beneficial owner for a corporate Entity

Args:
entity_id: The identifier of the Entity associated with the Beneficial Owner that is being
archived.

beneficial_owner_id: The identifying details of anyone controlling or owning 25% or more of the
corporation.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request

extra_body: Add additional JSON properties to the request

timeout: Override the client-level default timeout for this request, in seconds

idempotency_key: Specify a custom idempotency key for this request
"""
if not entity_id:
raise ValueError(f"Expected a non-empty value for `entity_id` but received {entity_id!r}")
return self._post(
f"/entities/{entity_id}/archive_beneficial_owner",
body=maybe_transform(
{"beneficial_owner_id": beneficial_owner_id},
entity_archive_beneficial_owner_params.EntityArchiveBeneficialOwnerParams,
),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
idempotency_key=idempotency_key,
),
cast_to=Entity,
)

def create_beneficial_owner(
self,
entity_id: str,
Expand Down Expand Up @@ -479,64 +426,6 @@ def create_beneficial_owner(
cast_to=Entity,
)

def update_beneficial_owner_address(
self,
entity_id: str,
*,
address: entity_update_beneficial_owner_address_params.Address,
beneficial_owner_id: str,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
idempotency_key: str | None = None,
) -> Entity:
"""
Update the address for a beneficial owner belonging to a corporate Entity

Args:
entity_id: The identifier of the Entity associated with the Beneficial Owner whose address
is being updated.

address: The individual's physical address. Mail receiving locations like PO Boxes and
PMB's are disallowed.

beneficial_owner_id: The identifying details of anyone controlling or owning 25% or more of the
corporation.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request

extra_body: Add additional JSON properties to the request

timeout: Override the client-level default timeout for this request, in seconds

idempotency_key: Specify a custom idempotency key for this request
"""
if not entity_id:
raise ValueError(f"Expected a non-empty value for `entity_id` but received {entity_id!r}")
return self._post(
f"/entities/{entity_id}/update_beneficial_owner_address",
body=maybe_transform(
{
"address": address,
"beneficial_owner_id": beneficial_owner_id,
},
entity_update_beneficial_owner_address_params.EntityUpdateBeneficialOwnerAddressParams,
),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
idempotency_key=idempotency_key,
),
cast_to=Entity,
)


class AsyncEntitiesResource(AsyncAPIResource):
@cached_property
Expand Down Expand Up @@ -883,57 +772,6 @@ async def archive(
cast_to=Entity,
)

async def archive_beneficial_owner(
self,
entity_id: str,
*,
beneficial_owner_id: str,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
idempotency_key: str | None = None,
) -> Entity:
"""
Archive a beneficial owner for a corporate Entity

Args:
entity_id: The identifier of the Entity associated with the Beneficial Owner that is being
archived.

beneficial_owner_id: The identifying details of anyone controlling or owning 25% or more of the
corporation.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request

extra_body: Add additional JSON properties to the request

timeout: Override the client-level default timeout for this request, in seconds

idempotency_key: Specify a custom idempotency key for this request
"""
if not entity_id:
raise ValueError(f"Expected a non-empty value for `entity_id` but received {entity_id!r}")
return await self._post(
f"/entities/{entity_id}/archive_beneficial_owner",
body=await async_maybe_transform(
{"beneficial_owner_id": beneficial_owner_id},
entity_archive_beneficial_owner_params.EntityArchiveBeneficialOwnerParams,
),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
idempotency_key=idempotency_key,
),
cast_to=Entity,
)

async def create_beneficial_owner(
self,
entity_id: str,
Expand Down Expand Up @@ -984,64 +822,6 @@ async def create_beneficial_owner(
cast_to=Entity,
)

async def update_beneficial_owner_address(
self,
entity_id: str,
*,
address: entity_update_beneficial_owner_address_params.Address,
beneficial_owner_id: str,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
idempotency_key: str | None = None,
) -> Entity:
"""
Update the address for a beneficial owner belonging to a corporate Entity

Args:
entity_id: The identifier of the Entity associated with the Beneficial Owner whose address
is being updated.

address: The individual's physical address. Mail receiving locations like PO Boxes and
PMB's are disallowed.

beneficial_owner_id: The identifying details of anyone controlling or owning 25% or more of the
corporation.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request

extra_body: Add additional JSON properties to the request

timeout: Override the client-level default timeout for this request, in seconds

idempotency_key: Specify a custom idempotency key for this request
"""
if not entity_id:
raise ValueError(f"Expected a non-empty value for `entity_id` but received {entity_id!r}")
return await self._post(
f"/entities/{entity_id}/update_beneficial_owner_address",
body=await async_maybe_transform(
{
"address": address,
"beneficial_owner_id": beneficial_owner_id,
},
entity_update_beneficial_owner_address_params.EntityUpdateBeneficialOwnerAddressParams,
),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
extra_body=extra_body,
timeout=timeout,
idempotency_key=idempotency_key,
),
cast_to=Entity,
)


class EntitiesResourceWithRawResponse:
def __init__(self, entities: EntitiesResource) -> None:
Expand All @@ -1062,15 +842,9 @@ def __init__(self, entities: EntitiesResource) -> None:
self.archive = to_raw_response_wrapper(
entities.archive,
)
self.archive_beneficial_owner = to_raw_response_wrapper(
entities.archive_beneficial_owner,
)
self.create_beneficial_owner = to_raw_response_wrapper(
entities.create_beneficial_owner,
)
self.update_beneficial_owner_address = to_raw_response_wrapper(
entities.update_beneficial_owner_address,
)


class AsyncEntitiesResourceWithRawResponse:
Expand All @@ -1092,15 +866,9 @@ def __init__(self, entities: AsyncEntitiesResource) -> None:
self.archive = async_to_raw_response_wrapper(
entities.archive,
)
self.archive_beneficial_owner = async_to_raw_response_wrapper(
entities.archive_beneficial_owner,
)
self.create_beneficial_owner = async_to_raw_response_wrapper(
entities.create_beneficial_owner,
)
self.update_beneficial_owner_address = async_to_raw_response_wrapper(
entities.update_beneficial_owner_address,
)


class EntitiesResourceWithStreamingResponse:
Expand All @@ -1122,15 +890,9 @@ def __init__(self, entities: EntitiesResource) -> None:
self.archive = to_streamed_response_wrapper(
entities.archive,
)
self.archive_beneficial_owner = to_streamed_response_wrapper(
entities.archive_beneficial_owner,
)
self.create_beneficial_owner = to_streamed_response_wrapper(
entities.create_beneficial_owner,
)
self.update_beneficial_owner_address = to_streamed_response_wrapper(
entities.update_beneficial_owner_address,
)


class AsyncEntitiesResourceWithStreamingResponse:
Expand All @@ -1152,12 +914,6 @@ def __init__(self, entities: AsyncEntitiesResource) -> None:
self.archive = async_to_streamed_response_wrapper(
entities.archive,
)
self.archive_beneficial_owner = async_to_streamed_response_wrapper(
entities.archive_beneficial_owner,
)
self.create_beneficial_owner = async_to_streamed_response_wrapper(
entities.create_beneficial_owner,
)
self.update_beneficial_owner_address = async_to_streamed_response_wrapper(
entities.update_beneficial_owner_address,
)
Loading