From 45d1db42e8e3c4b98fd7554f6ec3d13c6c9f89c1 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 31 Mar 2026 13:32:26 +0000 Subject: [PATCH 1/3] chore(tests): bump steady to v0.20.1 --- scripts/mock | 6 +++--- scripts/test | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/mock b/scripts/mock index f99ce052..01313f23 100755 --- a/scripts/mock +++ b/scripts/mock @@ -22,9 +22,9 @@ echo "==> Starting mock server with URL ${URL}" # Run steady mock on the given spec if [ "$1" == "--daemon" ]; then # Pre-install the package so the download doesn't eat into the startup timeout - npm exec --package=@stdy/cli@0.19.7 -- steady --version + npm exec --package=@stdy/cli@0.20.1 -- steady --version - npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=dots --validator-form-object-format=dots "$URL" &> .stdy.log & + npm exec --package=@stdy/cli@0.20.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=dots --validator-form-object-format=dots "$URL" &> .stdy.log & # Wait for server to come online via health endpoint (max 30s) echo -n "Waiting for server" @@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=dots --validator-form-object-format=dots "$URL" + npm exec --package=@stdy/cli@0.20.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=dots --validator-form-object-format=dots "$URL" fi diff --git a/scripts/test b/scripts/test index 26735b24..99cebbfe 100755 --- a/scripts/test +++ b/scripts/test @@ -43,7 +43,7 @@ elif ! steady_is_running ; then echo -e "To run the server, pass in the path or url of your OpenAPI" echo -e "spec to the steady command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.7 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=dots --validator-form-object-format=dots${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.20.1 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=comma --validator-form-array-format=comma --validator-query-object-format=dots --validator-form-object-format=dots${NC}" echo exit 1 From e30f42a48193642a7c327f8017068e92f58bd5f5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 31 Mar 2026 15:26:55 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 ++-- src/increase/resources/inbound_ach_transfers.py | 8 -------- src/increase/types/declined_transaction.py | 6 +++--- src/increase/types/inbound_ach_transfer.py | 6 +++--- src/increase/types/inbound_ach_transfer_decline_params.py | 4 ---- 5 files changed, 8 insertions(+), 20 deletions(-) diff --git a/.stats.yml b/.stats.yml index 7b45f5b9..6f1916c1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 236 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-ec66c42c6badee269e15e5f4b9e9881b2ab484d31b4426d5364390794bf72b14.yml -openapi_spec_hash: d8651196e5ffce19bee74f276d900d64 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-83b14e7fc19ffc252017eb4d438bfefde36b3a92a235ed669838d2fadcfdf4e8.yml +openapi_spec_hash: 581503d1dea135d37c180f632120c0b5 config_hash: 4945e03affdf289484733306e4797f81 diff --git a/src/increase/resources/inbound_ach_transfers.py b/src/increase/resources/inbound_ach_transfers.py index 3b0f05f1..163a4ed4 100644 --- a/src/increase/resources/inbound_ach_transfers.py +++ b/src/increase/resources/inbound_ach_transfers.py @@ -215,7 +215,6 @@ def decline( *, reason: Literal[ "insufficient_funds", - "returned_per_odfi_request", "authorization_revoked_by_customer", "payment_stopped", "customer_advised_unauthorized_improper_ineligible_or_incomplete", @@ -246,9 +245,6 @@ def decline( - `insufficient_funds` - The customer's account has insufficient funds. This reason is only allowed for debits. The Nacha return code is R01. - - `returned_per_odfi_request` - The originating financial institution asked for - this transfer to be returned. The receiving bank is complying with the - request. The Nacha return code is R06. - `authorization_revoked_by_customer` - The customer no longer authorizes this transaction. The Nacha return code is R07. - `payment_stopped` - The customer asked for the payment to be stopped. This @@ -571,7 +567,6 @@ async def decline( *, reason: Literal[ "insufficient_funds", - "returned_per_odfi_request", "authorization_revoked_by_customer", "payment_stopped", "customer_advised_unauthorized_improper_ineligible_or_incomplete", @@ -602,9 +597,6 @@ async def decline( - `insufficient_funds` - The customer's account has insufficient funds. This reason is only allowed for debits. The Nacha return code is R01. - - `returned_per_odfi_request` - The originating financial institution asked for - this transfer to be returned. The receiving bank is complying with the - request. The Nacha return code is R06. - `authorization_revoked_by_customer` - The customer no longer authorizes this transaction. The Nacha return code is R07. - `payment_stopped` - The customer asked for the payment to be stopped. This diff --git a/src/increase/types/declined_transaction.py b/src/increase/types/declined_transaction.py index c0be01ec..7b1f5f3f 100644 --- a/src/increase/types/declined_transaction.py +++ b/src/increase/types/declined_transaction.py @@ -76,9 +76,9 @@ class SourceACHDecline(BaseModel): "entity_not_active", "group_locked", "transaction_not_allowed", + "returned_per_odfi_request", "user_initiated", "insufficient_funds", - "returned_per_odfi_request", "authorization_revoked_by_customer", "payment_stopped", "customer_advised_unauthorized_improper_ineligible_or_incomplete", @@ -98,11 +98,11 @@ class SourceACHDecline(BaseModel): - `group_locked` - Your account is inactive. - `transaction_not_allowed` - The transaction is not allowed per Increase's terms. - - `user_initiated` - Your integration declined this transfer via the API. - - `insufficient_funds` - Your account contains insufficient funds. - `returned_per_odfi_request` - The originating financial institution asked for this transfer to be returned. The receiving bank is complying with the request. + - `user_initiated` - Your integration declined this transfer via the API. + - `insufficient_funds` - Your account contains insufficient funds. - `authorization_revoked_by_customer` - The customer no longer authorizes this transaction. - `payment_stopped` - The customer asked for the payment to be stopped. diff --git a/src/increase/types/inbound_ach_transfer.py b/src/increase/types/inbound_ach_transfer.py index 266877d8..37dc2fbe 100644 --- a/src/increase/types/inbound_ach_transfer.py +++ b/src/increase/types/inbound_ach_transfer.py @@ -73,9 +73,9 @@ class Decline(BaseModel): "entity_not_active", "group_locked", "transaction_not_allowed", + "returned_per_odfi_request", "user_initiated", "insufficient_funds", - "returned_per_odfi_request", "authorization_revoked_by_customer", "payment_stopped", "customer_advised_unauthorized_improper_ineligible_or_incomplete", @@ -95,11 +95,11 @@ class Decline(BaseModel): - `group_locked` - Your account is inactive. - `transaction_not_allowed` - The transaction is not allowed per Increase's terms. - - `user_initiated` - Your integration declined this transfer via the API. - - `insufficient_funds` - Your account contains insufficient funds. - `returned_per_odfi_request` - The originating financial institution asked for this transfer to be returned. The receiving bank is complying with the request. + - `user_initiated` - Your integration declined this transfer via the API. + - `insufficient_funds` - Your account contains insufficient funds. - `authorization_revoked_by_customer` - The customer no longer authorizes this transaction. - `payment_stopped` - The customer asked for the payment to be stopped. diff --git a/src/increase/types/inbound_ach_transfer_decline_params.py b/src/increase/types/inbound_ach_transfer_decline_params.py index 20b70f44..2f248bb5 100644 --- a/src/increase/types/inbound_ach_transfer_decline_params.py +++ b/src/increase/types/inbound_ach_transfer_decline_params.py @@ -10,7 +10,6 @@ class InboundACHTransferDeclineParams(TypedDict, total=False): reason: Literal[ "insufficient_funds", - "returned_per_odfi_request", "authorization_revoked_by_customer", "payment_stopped", "customer_advised_unauthorized_improper_ineligible_or_incomplete", @@ -27,9 +26,6 @@ class InboundACHTransferDeclineParams(TypedDict, total=False): - `insufficient_funds` - The customer's account has insufficient funds. This reason is only allowed for debits. The Nacha return code is R01. - - `returned_per_odfi_request` - The originating financial institution asked for - this transfer to be returned. The receiving bank is complying with the - request. The Nacha return code is R06. - `authorization_revoked_by_customer` - The customer no longer authorizes this transaction. The Nacha return code is R07. - `payment_stopped` - The customer asked for the payment to be stopped. This From 5c08c192b488285282a94aacca2e32d2990aae11 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 31 Mar 2026 15:27:20 +0000 Subject: [PATCH 3/3] release: 0.466.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 13 +++++++++++++ pyproject.toml | 2 +- src/increase/_version.py | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e4c7212c..9140438b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.465.0" + ".": "0.466.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 124262b5..27012188 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 0.466.0 (2026-03-31) + +Full Changelog: [v0.465.0...v0.466.0](https://github.com/Increase/increase-python/compare/v0.465.0...v0.466.0) + +### Features + +* **api:** api update ([e30f42a](https://github.com/Increase/increase-python/commit/e30f42a48193642a7c327f8017068e92f58bd5f5)) + + +### Chores + +* **tests:** bump steady to v0.20.1 ([45d1db4](https://github.com/Increase/increase-python/commit/45d1db42e8e3c4b98fd7554f6ec3d13c6c9f89c1)) + ## 0.465.0 (2026-03-30) Full Changelog: [v0.464.0...v0.465.0](https://github.com/Increase/increase-python/compare/v0.464.0...v0.465.0) diff --git a/pyproject.toml b/pyproject.toml index ee67ac88..c2a8306b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.465.0" +version = "0.466.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 7ab2313b..76220569 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.465.0" # x-release-please-version +__version__ = "0.466.0" # x-release-please-version