From 962cd2e59b1f117bbeaeaddb10ed8a796d64316b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 15 Dec 2025 18:42:44 +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 | 11 +++++++++-- tests/api_resources/test_check_transfers.py | 2 ++ 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index beed026f6..989a349be 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 230 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-6b5ac6804e3261a05214c5891c95222ef1b5e9003f211ab32db1d03a7531835a.yml -openapi_spec_hash: 611c8d38ba7122a428f57f3069aac84a +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e2b7de6202d48efc0e77fd72d2788987e6e3ecf2dfff8a491b88fe9a838f0bd5.yml +openapi_spec_hash: 5af8bcd38aae780c364688cb048d258b config_hash: ff2eb5f192b4de36611b37b27961c2d8 diff --git a/src/increase/types/check_transfer.py b/src/increase/types/check_transfer.py index b9bb58b99..00ed3a04a 100644 --- a/src/increase/types/check_transfer.py +++ b/src/increase/types/check_transfer.py @@ -178,6 +178,12 @@ class PhysicalCheckReturnAddress(BaseModel): name: Optional[str] = None """The name component of the check's return address.""" + phone: Optional[str] = None + """The shipper's phone number to be used in case of delivery issues. + + 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 44a617e04..a93f1da43 100644 --- a/src/increase/types/check_transfer_create_params.py +++ b/src/increase/types/check_transfer_create_params.py @@ -114,8 +114,8 @@ class PhysicalCheckMailingAddress(TypedDict, total=False): phone: str """The phone number to associate with the check's destination address. - The number is only used when `shipping_method` is `fedex_overnight` and will be - supplied to FedEx to be used in case of delivery issues. + The phone number is only used when `shipping_method` is `fedex_overnight` and + will be supplied to FedEx to be used in case of delivery issues. """ @@ -148,6 +148,13 @@ class PhysicalCheckReturnAddress(TypedDict, total=False): line2: str """The second line of the return address.""" + phone: str + """The phone number to associate with the shipper. + + The phone number is only used when `shipping_method` is `fedex_overnight` and + will be supplied to FedEx to be used in case of delivery issues. + """ + class PhysicalCheckTyped(TypedDict, total=False): """Details relating to the physical check that Increase will print and mail. diff --git a/tests/api_resources/test_check_transfers.py b/tests/api_resources/test_check_transfers.py index 43df830d1..c3d6def2c 100644 --- a/tests/api_resources/test_check_transfers.py +++ b/tests/api_resources/test_check_transfers.py @@ -63,6 +63,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None: "postal_code": "x", "state": "x", "line2": "x", + "phone": "x", }, "shipping_method": "usps_first_class", "signature_text": "Ian Crease", @@ -353,6 +354,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) "postal_code": "x", "state": "x", "line2": "x", + "phone": "x", }, "shipping_method": "usps_first_class", "signature_text": "Ian Crease", From ff3879220307f3e95ad1c10d302ac54ff06e14bf Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 15 Dec 2025 18:43:08 +0000 Subject: [PATCH 2/2] release: 0.412.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 179ae823c..39edb4e3a 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.411.0" + ".": "0.412.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 52c87a348..2bcb7d4f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.412.0 (2025-12-15) + +Full Changelog: [v0.411.0...v0.412.0](https://github.com/Increase/increase-python/compare/v0.411.0...v0.412.0) + +### Features + +* **api:** api update ([962cd2e](https://github.com/Increase/increase-python/commit/962cd2e59b1f117bbeaeaddb10ed8a796d64316b)) + ## 0.411.0 (2025-12-15) Full Changelog: [v0.410.0...v0.411.0](https://github.com/Increase/increase-python/compare/v0.410.0...v0.411.0) diff --git a/pyproject.toml b/pyproject.toml index 09e3d4e30..dff39c588 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.411.0" +version = "0.412.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 1315ef5ad..810c4645b 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.411.0" # x-release-please-version +__version__ = "0.412.0" # x-release-please-version