diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b69919dfd..e0b999409 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.222.0" + ".": "0.223.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 853824a8f..d33052a80 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-f3fa36b4bd3a55445fc8f959c9023e2ace20ec8957e492288d45170f1f284ca6.yml -openapi_spec_hash: 837c92afcea095a3cdd40deca976839c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-55c174581a08cabdf3fcf2fc66d480d497c5f77ab8f0f5e776cc7113b4960037.yml +openapi_spec_hash: 8f70d88f00c9c15ebd8e9049e9f65063 config_hash: 20a463ecd33bd32b7b9bc6f4990907ac diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bd63e729..1980de884 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 0.223.0 (2025-04-12) + +Full Changelog: [v0.222.0...v0.223.0](https://github.com/Increase/increase-python/compare/v0.222.0...v0.223.0) + +### Features + +* **api:** api update ([f8c1b01](https://github.com/Increase/increase-python/commit/f8c1b0100f2bd6103fb9723758b1dbc4a79a6927)) +* **api:** api update ([4e3f4f7](https://github.com/Increase/increase-python/commit/4e3f4f7eae5975fcc72118322bf7672efa2d8f75)) +* **api:** api update ([77049a7](https://github.com/Increase/increase-python/commit/77049a796a927efd09963dbeb629e5160d0e05b4)) + ## 0.222.0 (2025-04-11) Full Changelog: [v0.221.0...v0.222.0](https://github.com/Increase/increase-python/compare/v0.221.0...v0.222.0) diff --git a/pyproject.toml b/pyproject.toml index bfbd23ae2..b85bd76ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.222.0" +version = "0.223.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 c6578183e..78d0013e7 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.222.0" # x-release-please-version +__version__ = "0.223.0" # x-release-please-version diff --git a/src/increase/types/check_transfer.py b/src/increase/types/check_transfer.py index 3f5feff94..3e97d2bae 100644 --- a/src/increase/types/check_transfer.py +++ b/src/increase/types/check_transfer.py @@ -168,6 +168,9 @@ class PhysicalCheckTrackingUpdate(BaseModel): class PhysicalCheck(BaseModel): + attachment_file_id: Optional[str] = None + """The ID of the file for the check attachment.""" + mailing_address: PhysicalCheckMailingAddress """Details for where Increase will mail the check.""" @@ -271,9 +274,6 @@ class Submission(BaseModel): class ThirdParty(BaseModel): - check_number: Optional[str] = None - """The check number that you will print on the check.""" - recipient_name: Optional[str] = None """The name that you will print on the check.""" diff --git a/src/increase/types/check_transfer_create_params.py b/src/increase/types/check_transfer_create_params.py index cc7d86ee8..fb930c320 100644 --- a/src/increase/types/check_transfer_create_params.py +++ b/src/increase/types/check_transfer_create_params.py @@ -144,14 +144,6 @@ class PhysicalCheck(TypedDict, total=False): class ThirdParty(TypedDict, total=False): - check_number: str - """The check number you will print on the check. - - This should not contain leading zeroes. If this is omitted, Increase will - 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. diff --git a/src/increase/types/physical_card_profile.py b/src/increase/types/physical_card_profile.py index 85d7cc08d..77eb2ac30 100644 --- a/src/increase/types/physical_card_profile.py +++ b/src/increase/types/physical_card_profile.py @@ -55,6 +55,9 @@ class PhysicalCardProfile(BaseModel): group. """ + program_id: str + """The identifier for the Program this Physical Card Profile belongs to.""" + status: Literal["pending_creating", "pending_reviewing", "rejected", "pending_submitting", "active", "archived"] """The status of the Physical Card Profile. diff --git a/tests/api_resources/test_check_transfers.py b/tests/api_resources/test_check_transfers.py index a96bae822..063d15862 100644 --- a/tests/api_resources/test_check_transfers.py +++ b/tests/api_resources/test_check_transfers.py @@ -63,10 +63,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None: "signature_text": "Ian Crease", }, require_approval=True, - third_party={ - "check_number": "x", - "recipient_name": "x", - }, + third_party={"recipient_name": "x"}, ) assert_matches_type(CheckTransfer, check_transfer, path=["response"]) @@ -348,10 +345,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) "signature_text": "Ian Crease", }, require_approval=True, - third_party={ - "check_number": "x", - "recipient_name": "x", - }, + third_party={"recipient_name": "x"}, ) assert_matches_type(CheckTransfer, check_transfer, path=["response"])