From 18b043a54ccc017483b6ed758c65c793814f8481 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 15 Aug 2025 16:00:51 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- src/increase/resources/external_accounts.py | 12 ++++++++---- src/increase/types/external_account.py | 3 ++- src/increase/types/external_account_create_params.py | 3 ++- src/increase/types/external_account_update_params.py | 3 ++- 5 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.stats.yml b/.stats.yml index 28ec9075a..2adac204c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 214 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a7861b46606a5a2d849c4403583805c1074983cffaf7acfe0a4d7bafa38c5efd.yml -openapi_spec_hash: a1cad356ebe1b02a67dbafbde7d7f1d4 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-70837ed2f8d4ade9021fc0f50bf3cd77cdf05f308c4ed75b2b4dcc42f1ec2378.yml +openapi_spec_hash: 09cf1c77dce2927cb41426a287a15437 config_hash: b0b366d8c705ea0efe62093bae953e5a diff --git a/src/increase/resources/external_accounts.py b/src/increase/resources/external_accounts.py index a6f62b31b..504541b01 100644 --- a/src/increase/resources/external_accounts.py +++ b/src/increase/resources/external_accounts.py @@ -51,7 +51,7 @@ def create( description: str, routing_number: str, account_holder: Literal["business", "individual", "unknown"] | NotGiven = NOT_GIVEN, - funding: Literal["checking", "savings", "other"] | NotGiven = NOT_GIVEN, + funding: Literal["checking", "savings", "general_ledger", "other"] | NotGiven = NOT_GIVEN, # 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, @@ -81,6 +81,7 @@ def create( - `checking` - A checking account. - `savings` - A savings account. + - `general_ledger` - A general ledger account. - `other` - A different type of account. extra_headers: Send extra headers @@ -158,7 +159,7 @@ def update( *, account_holder: Literal["business", "individual"] | NotGiven = NOT_GIVEN, description: str | NotGiven = NOT_GIVEN, - funding: Literal["checking", "savings", "other"] | NotGiven = NOT_GIVEN, + funding: Literal["checking", "savings", "general_ledger", "other"] | NotGiven = NOT_GIVEN, status: Literal["active", "archived"] | NotGiven = NOT_GIVEN, # 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. @@ -185,6 +186,7 @@ def update( - `checking` - A checking account. - `savings` - A savings account. + - `general_ledger` - A general ledger account. - `other` - A different type of account. status: The status of the External Account. @@ -317,7 +319,7 @@ async def create( description: str, routing_number: str, account_holder: Literal["business", "individual", "unknown"] | NotGiven = NOT_GIVEN, - funding: Literal["checking", "savings", "other"] | NotGiven = NOT_GIVEN, + funding: Literal["checking", "savings", "general_ledger", "other"] | NotGiven = NOT_GIVEN, # 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, @@ -347,6 +349,7 @@ async def create( - `checking` - A checking account. - `savings` - A savings account. + - `general_ledger` - A general ledger account. - `other` - A different type of account. extra_headers: Send extra headers @@ -424,7 +427,7 @@ async def update( *, account_holder: Literal["business", "individual"] | NotGiven = NOT_GIVEN, description: str | NotGiven = NOT_GIVEN, - funding: Literal["checking", "savings", "other"] | NotGiven = NOT_GIVEN, + funding: Literal["checking", "savings", "general_ledger", "other"] | NotGiven = NOT_GIVEN, status: Literal["active", "archived"] | NotGiven = NOT_GIVEN, # 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. @@ -451,6 +454,7 @@ async def update( - `checking` - A checking account. - `savings` - A savings account. + - `general_ledger` - A general ledger account. - `other` - A different type of account. status: The status of the External Account. diff --git a/src/increase/types/external_account.py b/src/increase/types/external_account.py index 1e59efa5b..42c40dcf9 100644 --- a/src/increase/types/external_account.py +++ b/src/increase/types/external_account.py @@ -33,11 +33,12 @@ class ExternalAccount(BaseModel): description: str """The External Account's description for display purposes.""" - funding: Literal["checking", "savings", "other"] + funding: Literal["checking", "savings", "general_ledger", "other"] """The type of the account to which the transfer will be sent. - `checking` - A checking account. - `savings` - A savings account. + - `general_ledger` - A general ledger account. - `other` - A different type of account. """ diff --git a/src/increase/types/external_account_create_params.py b/src/increase/types/external_account_create_params.py index 9e867766b..92e46b9de 100644 --- a/src/increase/types/external_account_create_params.py +++ b/src/increase/types/external_account_create_params.py @@ -28,10 +28,11 @@ class ExternalAccountCreateParams(TypedDict, total=False): - `unknown` - It's unknown what kind of entity owns the External Account. """ - funding: Literal["checking", "savings", "other"] + funding: Literal["checking", "savings", "general_ledger", "other"] """The type of the destination account. Defaults to `checking`. - `checking` - A checking account. - `savings` - A savings account. + - `general_ledger` - A general ledger account. - `other` - A different type of account. """ diff --git a/src/increase/types/external_account_update_params.py b/src/increase/types/external_account_update_params.py index 9e776857f..574b6dcc3 100644 --- a/src/increase/types/external_account_update_params.py +++ b/src/increase/types/external_account_update_params.py @@ -18,11 +18,12 @@ class ExternalAccountUpdateParams(TypedDict, total=False): description: str """The description you choose to give the external account.""" - funding: Literal["checking", "savings", "other"] + funding: Literal["checking", "savings", "general_ledger", "other"] """The funding type of the External Account. - `checking` - A checking account. - `savings` - A savings account. + - `general_ledger` - A general ledger account. - `other` - A different type of account. """ From ee26680aad5cb5b4fa2fcb8ac4c7c1b681f55dba Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 15 Aug 2025 16:01:15 +0000 Subject: [PATCH 2/2] release: 0.287.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/increase/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index eaf24516e..bc9e45054 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.286.0" + ".": "0.287.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e22e87da..86f7e11a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.287.0 (2025-08-15) + +Full Changelog: [v0.286.0...v0.287.0](https://github.com/Increase/increase-python/compare/v0.286.0...v0.287.0) + +### Features + +* **api:** api update ([18b043a](https://github.com/Increase/increase-python/commit/18b043a54ccc017483b6ed758c65c793814f8481)) + ## 0.286.0 (2025-08-14) Full Changelog: [v0.285.0...v0.286.0](https://github.com/Increase/increase-python/compare/v0.285.0...v0.286.0) diff --git a/pyproject.toml b/pyproject.toml index 12d510d99..08c7e46f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.286.0" +version = "0.287.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 0a35013b0..6698e5d0b 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.286.0" # x-release-please-version +__version__ = "0.287.0" # x-release-please-version