From 6c57880a9bb6222b67f5d4b5e925eaf7f37350cf Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 24 Nov 2025 22:21:39 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- src/increase/resources/files.py | 8 ++++++++ src/increase/types/check_transfer.py | 3 +++ src/increase/types/check_transfer_create_params.py | 8 ++++++++ src/increase/types/file.py | 4 ++++ src/increase/types/file_create_params.py | 4 ++++ src/increase/types/file_list_params.py | 1 + tests/api_resources/test_check_transfers.py | 2 ++ 8 files changed, 32 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 94f44024..b52e8c7d 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-a66f039751a4ffdebbbf533f24f55cd2c42708b9cf105512849849fddaafb5e8.yml -openapi_spec_hash: c265609bceb053f898ea14b1191fe927 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-bd464d151612058d8029150b376949b22d5515af23621465c0ce1c1069b91644.yml +openapi_spec_hash: e60e1548c523a0ee7c9daa1bd988cbc5 config_hash: ca1425272e17fa23d4466d33492334fa diff --git a/src/increase/resources/files.py b/src/increase/resources/files.py index 4c71d089..8e0880de 100644 --- a/src/increase/resources/files.py +++ b/src/increase/resources/files.py @@ -55,6 +55,7 @@ def create( "check_image_back", "mailed_check_image", "check_attachment", + "check_voucher_image", "form_ss_4", "identity_document", "loan_application_supplemental_document", @@ -97,6 +98,9 @@ def create( - `mailed_check_image` - An image of a check that was mailed to a recipient. - `check_attachment` - A document to be printed on an additional page and mailed with a check that you've requested Increase print. + - `check_voucher_image` - An image to be used as the check voucher image, which + is printed in the middle of the trifold area of a check. This must be a + 2550x1100 pixel PNG. - `form_ss_4` - IRS Form SS-4. - `identity_document` - An image of a government-issued ID. - `loan_application_supplemental_document` - A supplemental document for a Loan @@ -283,6 +287,7 @@ async def create( "check_image_back", "mailed_check_image", "check_attachment", + "check_voucher_image", "form_ss_4", "identity_document", "loan_application_supplemental_document", @@ -325,6 +330,9 @@ async def create( - `mailed_check_image` - An image of a check that was mailed to a recipient. - `check_attachment` - A document to be printed on an additional page and mailed with a check that you've requested Increase print. + - `check_voucher_image` - An image to be used as the check voucher image, which + is printed in the middle of the trifold area of a check. This must be a + 2550x1100 pixel PNG. - `form_ss_4` - IRS Form SS-4. - `identity_document` - An image of a government-issued ID. - `loan_application_supplemental_document` - A supplemental document for a Loan diff --git a/src/increase/types/check_transfer.py b/src/increase/types/check_transfer.py index d1ff468d..a9dfb1c5 100644 --- a/src/increase/types/check_transfer.py +++ b/src/increase/types/check_transfer.py @@ -185,6 +185,9 @@ class PhysicalCheck(BaseModel): attachment_file_id: Optional[str] = None """The ID of the file for the check attachment.""" + check_voucher_image_file_id: Optional[str] = None + """The ID of the file for the check voucher image.""" + mailing_address: PhysicalCheckMailingAddress """Details for where Increase will mail the check.""" diff --git a/src/increase/types/check_transfer_create_params.py b/src/increase/types/check_transfer_create_params.py index 009a5ee4..c55b483c 100644 --- a/src/increase/types/check_transfer_create_params.py +++ b/src/increase/types/check_transfer_create_params.py @@ -161,6 +161,14 @@ class PhysicalCheckTyped(TypedDict, total=False): https://increase.com/documentation/originating-checks#printing-checks . """ + check_voucher_image_file_id: str + """The ID of a File to be used as the check voucher image. + + This must have `purpose: check_voucher_image`. For details on pricing and + restrictions, see + https://increase.com/documentation/originating-checks#printing-checks . + """ + note: str """The descriptor that will be printed on the letter included with the check.""" diff --git a/src/increase/types/file.py b/src/increase/types/file.py index 8dc3e8fb..c50998f1 100644 --- a/src/increase/types/file.py +++ b/src/increase/types/file.py @@ -50,6 +50,7 @@ class File(BaseModel): "processed_check_image_back", "mailed_check_image", "check_attachment", + "check_voucher_image", "inbound_mail_item", "form_1099_int", "form_1099_misc", @@ -90,6 +91,9 @@ class File(BaseModel): - `mailed_check_image` - An image of a check that was mailed to a recipient. - `check_attachment` - A document to be printed on an additional page and mailed with a check that you've requested Increase print. + - `check_voucher_image` - An image to be used as the check voucher image, which + is printed in the middle of the trifold area of a check. This must be a + 2550x1100 pixel PNG. - `inbound_mail_item` - A scanned mail item sent to Increase. - `form_1099_int` - IRS Form 1099-INT. - `form_1099_misc` - IRS Form 1099-MISC. diff --git a/src/increase/types/file_create_params.py b/src/increase/types/file_create_params.py index ba802de0..8677b27f 100644 --- a/src/increase/types/file_create_params.py +++ b/src/increase/types/file_create_params.py @@ -25,6 +25,7 @@ class FileCreateParams(TypedDict, total=False): "check_image_back", "mailed_check_image", "check_attachment", + "check_voucher_image", "form_ss_4", "identity_document", "loan_application_supplemental_document", @@ -49,6 +50,9 @@ class FileCreateParams(TypedDict, total=False): - `mailed_check_image` - An image of a check that was mailed to a recipient. - `check_attachment` - A document to be printed on an additional page and mailed with a check that you've requested Increase print. + - `check_voucher_image` - An image to be used as the check voucher image, which + is printed in the middle of the trifold area of a check. This must be a + 2550x1100 pixel PNG. - `form_ss_4` - IRS Form SS-4. - `identity_document` - An image of a government-issued ID. - `loan_application_supplemental_document` - A supplemental document for a Loan diff --git a/src/increase/types/file_list_params.py b/src/increase/types/file_list_params.py index eb333197..b8768035 100644 --- a/src/increase/types/file_list_params.py +++ b/src/increase/types/file_list_params.py @@ -72,6 +72,7 @@ class CreatedAt(TypedDict, total=False): "processed_check_image_back", "mailed_check_image", "check_attachment", + "check_voucher_image", "inbound_mail_item", "form_1099_int", "form_1099_misc", diff --git a/tests/api_resources/test_check_transfers.py b/tests/api_resources/test_check_transfers.py index cf5d328e..43df830d 100644 --- a/tests/api_resources/test_check_transfers.py +++ b/tests/api_resources/test_check_transfers.py @@ -53,6 +53,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None: "memo": "Check payment", "recipient_name": "Ian Crease", "attachment_file_id": "attachment_file_id", + "check_voucher_image_file_id": "check_voucher_image_file_id", "note": "x", "payer": [{"contents": "x"}], "return_address": { @@ -342,6 +343,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) "memo": "Check payment", "recipient_name": "Ian Crease", "attachment_file_id": "attachment_file_id", + "check_voucher_image_file_id": "check_voucher_image_file_id", "note": "x", "payer": [{"contents": "x"}], "return_address": { From f4fdfb24c1f62dc17c39e23c98ea8f517789933c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 24 Nov 2025 22:22:00 +0000 Subject: [PATCH 2/2] release: 0.401.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 88948f35..f4b8c8ab 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.400.0" + ".": "0.401.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 6305313d..70fe5fd4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.401.0 (2025-11-24) + +Full Changelog: [v0.400.0...v0.401.0](https://github.com/Increase/increase-python/compare/v0.400.0...v0.401.0) + +### Features + +* **api:** api update ([6c57880](https://github.com/Increase/increase-python/commit/6c57880a9bb6222b67f5d4b5e925eaf7f37350cf)) + ## 0.400.0 (2025-11-24) Full Changelog: [v0.399.0...v0.400.0](https://github.com/Increase/increase-python/compare/v0.399.0...v0.400.0) diff --git a/pyproject.toml b/pyproject.toml index b0a15666..19cc2e34 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.400.0" +version = "0.401.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 91aeef79..5db0e202 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.400.0" # x-release-please-version +__version__ = "0.401.0" # x-release-please-version