From 64f90524a5bee7f84aa3684d7708878bb90974d2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 28 Mar 2025 14:25:39 +0000 Subject: [PATCH 1/3] feat(api): api update (#1057) --- .stats.yml | 4 ++-- src/increase/resources/simulations/ach_transfers.py | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index 43f60f9cc..22f84a370 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 199 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-33b4fdf3af0d0c7816a818cea776370220613e9ea8812a8339e6203d0f4b23e6.yml -openapi_spec_hash: 242db9c21568746bbbbdf9cf090db82e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-0c56c1b233d21b65fc15f6f38bedf45c04afa14afc5ac02bbf6ab23d7bfa9120.yml +openapi_spec_hash: de85d714d7d32c0680577b47c7123390 config_hash: 20a463ecd33bd32b7b9bc6f4990907ac diff --git a/src/increase/resources/simulations/ach_transfers.py b/src/increase/resources/simulations/ach_transfers.py index e1443a6e4..394ce3ce7 100644 --- a/src/increase/resources/simulations/ach_transfers.py +++ b/src/increase/resources/simulations/ach_transfers.py @@ -488,7 +488,9 @@ def settle( ) -> ACHTransfer: """ Simulates the settlement of an [ACH Transfer](#ach-transfers) by the Federal - Reserve. This transfer must first have a `status` of `submitted`. Without this + Reserve. This transfer must first have a `status` of `pending_submission` or + `submitted`. For convenience, if the transfer is in `status`: + `pending_submission`, the simulation will also submit the transfer. Without this simulation the transfer will eventually settle on its own following the same Federal Reserve timeline as in production. @@ -1029,7 +1031,9 @@ async def settle( ) -> ACHTransfer: """ Simulates the settlement of an [ACH Transfer](#ach-transfers) by the Federal - Reserve. This transfer must first have a `status` of `submitted`. Without this + Reserve. This transfer must first have a `status` of `pending_submission` or + `submitted`. For convenience, if the transfer is in `status`: + `pending_submission`, the simulation will also submit the transfer. Without this simulation the transfer will eventually settle on its own following the same Federal Reserve timeline as in production. From 6986f66fcb48dcf9a195fd8282194517878576fa Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 28 Mar 2025 23:33:25 +0000 Subject: [PATCH 2/3] feat(api): api update (#1059) --- .stats.yml | 4 ++-- src/increase/types/check_transfer_create_params.py | 8 ++++++++ tests/api_resources/test_check_transfers.py | 10 ++++++++-- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index 22f84a370..b5601607b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 199 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-0c56c1b233d21b65fc15f6f38bedf45c04afa14afc5ac02bbf6ab23d7bfa9120.yml -openapi_spec_hash: de85d714d7d32c0680577b47c7123390 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-cc8e6b6ae3f31bfee6a3b1ed5d48604196757c1a78fec7054dc453c44ab8aa86.yml +openapi_spec_hash: 720e772da4156f4325664fb8b8df1d81 config_hash: 20a463ecd33bd32b7b9bc6f4990907ac diff --git a/src/increase/types/check_transfer_create_params.py b/src/increase/types/check_transfer_create_params.py index 2e44ed237..a87148450 100644 --- a/src/increase/types/check_transfer_create_params.py +++ b/src/increase/types/check_transfer_create_params.py @@ -133,3 +133,11 @@ class ThirdParty(TypedDict, total=False): generate a check number for you; you should inspect the response and use that check number. """ + + recipient_name: str + """The pay-to name you will print on the check. + + If provided, this is used for [Positive Pay](/documentation/positive-pay). If + this is omitted, Increase will be unable to validate the payee name when the + check is deposited. + """ diff --git a/tests/api_resources/test_check_transfers.py b/tests/api_resources/test_check_transfers.py index 03ed3dc18..772927741 100644 --- a/tests/api_resources/test_check_transfers.py +++ b/tests/api_resources/test_check_transfers.py @@ -61,7 +61,10 @@ def test_method_create_with_all_params(self, client: Increase) -> None: "signature_text": "Ian Crease", }, require_approval=True, - third_party={"check_number": "x"}, + third_party={ + "check_number": "x", + "recipient_name": "x", + }, ) assert_matches_type(CheckTransfer, check_transfer, path=["response"]) @@ -341,7 +344,10 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) "signature_text": "Ian Crease", }, require_approval=True, - third_party={"check_number": "x"}, + third_party={ + "check_number": "x", + "recipient_name": "x", + }, ) assert_matches_type(CheckTransfer, check_transfer, path=["response"]) From a77abdd5456a109978b4bf05b7669bf29df1050f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 28 Mar 2025 23:33:51 +0000 Subject: [PATCH 3/3] release: 0.214.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 9 +++++++++ pyproject.toml | 2 +- src/increase/_version.py | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 7ad6591ce..e459c8057 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.213.0" + ".": "0.214.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index a7daeb8ad..97157678a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.214.0 (2025-03-28) + +Full Changelog: [v0.213.0...v0.214.0](https://github.com/Increase/increase-python/compare/v0.213.0...v0.214.0) + +### Features + +* **api:** api update ([#1057](https://github.com/Increase/increase-python/issues/1057)) ([64f9052](https://github.com/Increase/increase-python/commit/64f90524a5bee7f84aa3684d7708878bb90974d2)) +* **api:** api update ([#1059](https://github.com/Increase/increase-python/issues/1059)) ([6986f66](https://github.com/Increase/increase-python/commit/6986f66fcb48dcf9a195fd8282194517878576fa)) + ## 0.213.0 (2025-03-26) Full Changelog: [v0.212.0...v0.213.0](https://github.com/Increase/increase-python/compare/v0.212.0...v0.213.0) diff --git a/pyproject.toml b/pyproject.toml index 75966fb1d..2ed2e9e3c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.213.0" +version = "0.214.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 8baa7ef41..bab479ba3 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.213.0" # x-release-please-version +__version__ = "0.214.0" # x-release-please-version