From 7cb8a48e9368b336937c9bfe9b33c3bb006bb2dc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 21 Nov 2025 06:13:05 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- src/increase/types/check_transfer.py | 6 ++++++ src/increase/types/check_transfer_create_params.py | 7 +++++++ tests/api_resources/test_check_transfers.py | 2 ++ 4 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index d979adc25..75b8da62e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 229 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-3ef3456ba39c18b7b1228fd167c74b4d344057e133ef4abd3e130471b9e19ed3.yml -openapi_spec_hash: a55adf2eae6cbe811937dd7b0691939e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-cea252dc0453b92916edc9d8fc79e120d049068b86fb4a554e91709483a5f97f.yml +openapi_spec_hash: 7d34811e865a82a1ce2117d75a04d3ac config_hash: ca1425272e17fa23d4466d33492334fa diff --git a/src/increase/types/check_transfer.py b/src/increase/types/check_transfer.py index 343f316ca..d1ff468da 100644 --- a/src/increase/types/check_transfer.py +++ b/src/increase/types/check_transfer.py @@ -123,6 +123,12 @@ class PhysicalCheckMailingAddress(BaseModel): name: Optional[str] = None """The name component of the check's mailing address.""" + phone: Optional[str] = None + """ + The phone number to be used in case of delivery issues at the check's mailing + address. Only used for FedEx overnight shipping. + """ + postal_code: Optional[str] = None """The postal code of the check's destination.""" diff --git a/src/increase/types/check_transfer_create_params.py b/src/increase/types/check_transfer_create_params.py index a5c16e971..3d391b4c7 100644 --- a/src/increase/types/check_transfer_create_params.py +++ b/src/increase/types/check_transfer_create_params.py @@ -109,6 +109,13 @@ class PhysicalCheckMailingAddress(TypedDict, total=False): Defaults to the provided `recipient_name` parameter if `name` is not provided. """ + phone: str + """The phone number to associate with the check's destination address. + + Will be supplied to FedEx as the contact phone number for the recipient to be + used in case of delivery issues. + """ + class PhysicalCheckPayer(TypedDict, total=False): contents: Required[str] diff --git a/tests/api_resources/test_check_transfers.py b/tests/api_resources/test_check_transfers.py index d697cc169..cf5d328ef 100644 --- a/tests/api_resources/test_check_transfers.py +++ b/tests/api_resources/test_check_transfers.py @@ -48,6 +48,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None: "state": "NY", "line2": "x", "name": "Ian Crease", + "phone": "+16505046304", }, "memo": "Check payment", "recipient_name": "Ian Crease", @@ -336,6 +337,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) "state": "NY", "line2": "x", "name": "Ian Crease", + "phone": "+16505046304", }, "memo": "Check payment", "recipient_name": "Ian Crease", From 28b2695e0cb170f388e2513fd35f3f90245d21d4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 21 Nov 2025 06:13:26 +0000 Subject: [PATCH 2/2] release: 0.398.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 2f62033bd..f7ef15b5d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.397.0" + ".": "0.398.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index dc77253a3..c8801e7e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.398.0 (2025-11-21) + +Full Changelog: [v0.397.0...v0.398.0](https://github.com/Increase/increase-python/compare/v0.397.0...v0.398.0) + +### Features + +* **api:** api update ([7cb8a48](https://github.com/Increase/increase-python/commit/7cb8a48e9368b336937c9bfe9b33c3bb006bb2dc)) + ## 0.397.0 (2025-11-20) Full Changelog: [v0.396.0...v0.397.0](https://github.com/Increase/increase-python/compare/v0.396.0...v0.397.0) diff --git a/pyproject.toml b/pyproject.toml index 2f210b00f..691fcde53 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.397.0" +version = "0.398.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 6ebab217e..37c8e725b 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.397.0" # x-release-please-version +__version__ = "0.398.0" # x-release-please-version