diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 1014297e..83946c94 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.514.0" + ".": "0.515.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 15c18bb6..f08fdee0 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 238 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-894485303846b0d3d71172a30ddb9de5903207874792f84c774e9d9900fe0769.yml -openapi_spec_hash: 9a4d6d3040580b3d0a4e0264dd77127f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase/increase-b6168f5ea09213fe8a507a6b13ac02357a31fff02d2801be24c35f8f495142cd.yml +openapi_spec_hash: c0e12e8e60af1893509f4dea2ea2feae config_hash: ac050010e5453883d5e5fa603554a2e0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 15be4109..1c2e1a11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 0.515.0 (2026-05-08) + +Full Changelog: [v0.514.0...v0.515.0](https://github.com/Increase/increase-python/compare/v0.514.0...v0.515.0) + +### Features + +* **api:** api update ([2566081](https://github.com/Increase/increase-python/commit/2566081f0fab640ca0f944c04a3f78e20b15c942)) +* **api:** api update ([5559687](https://github.com/Increase/increase-python/commit/5559687ce4b00924f772480b48f3152e268b6555)) +* **api:** api update ([b347c83](https://github.com/Increase/increase-python/commit/b347c83bc2ffc000f7c306c331a6b74d6f42a325)) + + +### Bug Fixes + +* **client:** add missing f-string prefix in file type error message ([bab71ae](https://github.com/Increase/increase-python/commit/bab71ae7f5e297075b3f020b02d6467281d44e92)) + ## 0.514.0 (2026-05-04) Full Changelog: [v0.513.0...v0.514.0](https://github.com/Increase/increase-python/compare/v0.513.0...v0.514.0) diff --git a/pyproject.toml b/pyproject.toml index f53b8e6b..10565a85 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.514.0" +version = "0.515.0" description = "The official Python library for the increase API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/increase/_files.py b/src/increase/_files.py index 5882610c..44f8d1db 100644 --- a/src/increase/_files.py +++ b/src/increase/_files.py @@ -99,7 +99,7 @@ async def async_to_httpx_files(files: RequestFiles | None) -> HttpxRequestFiles elif is_sequence_t(files): files = [(key, await _async_transform_file(file)) for key, file in files] else: - raise TypeError("Unexpected file type input {type(files)}, expected mapping or sequence") + raise TypeError(f"Unexpected file type input {type(files)}, expected mapping or sequence") return files diff --git a/src/increase/_version.py b/src/increase/_version.py index 95260538..8bcfb43f 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.514.0" # x-release-please-version +__version__ = "0.515.0" # x-release-please-version diff --git a/src/increase/resources/exports.py b/src/increase/resources/exports.py index cefd4082..7f125e90 100644 --- a/src/increase/resources/exports.py +++ b/src/increase/resources/exports.py @@ -90,7 +90,7 @@ def create( a given date and optional Account. - `transaction_csv` - Export a CSV of all transactions for a given time range. - `balance_csv` - Export a CSV of account balances for the dates in a given - range. + range. (deprecated, use `daily_account_balance_csv` instead) - `bookkeeping_account_balance_csv` - Export a CSV of bookkeeping account balances for the dates in a given range. - `entity_csv` - Export a CSV of entities with a given status. @@ -250,7 +250,7 @@ def list( a given date and optional Account. - `transaction_csv` - Export a CSV of all transactions for a given time range. - `balance_csv` - Export a CSV of account balances for the dates in a given - range. + range. (deprecated, use `daily_account_balance_csv` instead) - `bookkeeping_account_balance_csv` - Export a CSV of bookkeeping account balances for the dates in a given range. - `entity_csv` - Export a CSV of entities with a given status. @@ -378,7 +378,7 @@ async def create( a given date and optional Account. - `transaction_csv` - Export a CSV of all transactions for a given time range. - `balance_csv` - Export a CSV of account balances for the dates in a given - range. + range. (deprecated, use `daily_account_balance_csv` instead) - `bookkeeping_account_balance_csv` - Export a CSV of bookkeeping account balances for the dates in a given range. - `entity_csv` - Export a CSV of entities with a given status. @@ -538,7 +538,7 @@ def list( a given date and optional Account. - `transaction_csv` - Export a CSV of all transactions for a given time range. - `balance_csv` - Export a CSV of account balances for the dates in a given - range. + range. (deprecated, use `daily_account_balance_csv` instead) - `bookkeeping_account_balance_csv` - Export a CSV of bookkeeping account balances for the dates in a given range. - `entity_csv` - Export a CSV of entities with a given status. diff --git a/src/increase/types/export.py b/src/increase/types/export.py index c127d385..f1ab2d4c 100644 --- a/src/increase/types/export.py +++ b/src/increase/types/export.py @@ -361,7 +361,7 @@ class Export(BaseModel): a given date and optional Account. - `transaction_csv` - Export a CSV of all transactions for a given time range. - `balance_csv` - Export a CSV of account balances for the dates in a given - range. + range. (deprecated, use `daily_account_balance_csv` instead) - `bookkeeping_account_balance_csv` - Export a CSV of bookkeeping account balances for the dates in a given range. - `entity_csv` - Export a CSV of entities with a given status. diff --git a/src/increase/types/export_create_params.py b/src/increase/types/export_create_params.py index 9d883de3..dc9e9eda 100644 --- a/src/increase/types/export_create_params.py +++ b/src/increase/types/export_create_params.py @@ -50,7 +50,7 @@ class ExportCreateParams(TypedDict, total=False): a given date and optional Account. - `transaction_csv` - Export a CSV of all transactions for a given time range. - `balance_csv` - Export a CSV of account balances for the dates in a given - range. + range. (deprecated, use `daily_account_balance_csv` instead) - `bookkeeping_account_balance_csv` - Export a CSV of bookkeeping account balances for the dates in a given range. - `entity_csv` - Export a CSV of entities with a given status. diff --git a/src/increase/types/export_list_params.py b/src/increase/types/export_list_params.py index 7bfff699..fb439549 100644 --- a/src/increase/types/export_list_params.py +++ b/src/increase/types/export_list_params.py @@ -37,7 +37,7 @@ class ExportListParams(TypedDict, total=False): a given date and optional Account. - `transaction_csv` - Export a CSV of all transactions for a given time range. - `balance_csv` - Export a CSV of account balances for the dates in a given - range. + range. (deprecated, use `daily_account_balance_csv` instead) - `bookkeeping_account_balance_csv` - Export a CSV of bookkeeping account balances for the dates in a given range. - `entity_csv` - Export a CSV of entities with a given status. diff --git a/tests/api_resources/test_beneficial_owners.py b/tests/api_resources/test_beneficial_owners.py index f41b5c45..d7dc4944 100644 --- a/tests/api_resources/test_beneficial_owners.py +++ b/tests/api_resources/test_beneficial_owners.py @@ -62,7 +62,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None: "drivers_license": { "expiration_date": parse_date("2019-12-27"), "file_id": "file_id", - "state": "x", + "state": "xx", "back_file_id": "back_file_id", }, "other": { @@ -204,7 +204,7 @@ def test_method_update_with_all_params(self, client: Increase) -> None: "drivers_license": { "expiration_date": parse_date("2019-12-27"), "file_id": "file_id", - "state": "x", + "state": "xx", "back_file_id": "back_file_id", }, "other": { @@ -385,7 +385,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) "drivers_license": { "expiration_date": parse_date("2019-12-27"), "file_id": "file_id", - "state": "x", + "state": "xx", "back_file_id": "back_file_id", }, "other": { @@ -527,7 +527,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncIncrease) "drivers_license": { "expiration_date": parse_date("2019-12-27"), "file_id": "file_id", - "state": "x", + "state": "xx", "back_file_id": "back_file_id", }, "other": { diff --git a/tests/api_resources/test_card_push_transfers.py b/tests/api_resources/test_card_push_transfers.py index 3326af29..5598beb4 100644 --- a/tests/api_resources/test_card_push_transfers.py +++ b/tests/api_resources/test_card_push_transfers.py @@ -24,7 +24,7 @@ def test_method_create(self, client: Increase) -> None: card_push_transfer = client.card_push_transfers.create( business_application_identifier="funds_disbursement", card_token_id="outbound_card_token_zlt0ml6youq3q7vcdlg0", - merchant_category_code="1234", + merchant_category_code="5734", merchant_city_name="New York", merchant_name="Acme Corp", merchant_name_prefix="Acme", @@ -49,7 +49,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None: card_push_transfer = client.card_push_transfers.create( business_application_identifier="funds_disbursement", card_token_id="outbound_card_token_zlt0ml6youq3q7vcdlg0", - merchant_category_code="1234", + merchant_category_code="5734", merchant_city_name="New York", merchant_name="Acme Corp", merchant_name_prefix="Acme", @@ -81,7 +81,7 @@ def test_raw_response_create(self, client: Increase) -> None: response = client.card_push_transfers.with_raw_response.create( business_application_identifier="funds_disbursement", card_token_id="outbound_card_token_zlt0ml6youq3q7vcdlg0", - merchant_category_code="1234", + merchant_category_code="5734", merchant_city_name="New York", merchant_name="Acme Corp", merchant_name_prefix="Acme", @@ -110,7 +110,7 @@ def test_streaming_response_create(self, client: Increase) -> None: with client.card_push_transfers.with_streaming_response.create( business_application_identifier="funds_disbursement", card_token_id="outbound_card_token_zlt0ml6youq3q7vcdlg0", - merchant_category_code="1234", + merchant_category_code="5734", merchant_city_name="New York", merchant_name="Acme Corp", merchant_name_prefix="Acme", @@ -303,7 +303,7 @@ async def test_method_create(self, async_client: AsyncIncrease) -> None: card_push_transfer = await async_client.card_push_transfers.create( business_application_identifier="funds_disbursement", card_token_id="outbound_card_token_zlt0ml6youq3q7vcdlg0", - merchant_category_code="1234", + merchant_category_code="5734", merchant_city_name="New York", merchant_name="Acme Corp", merchant_name_prefix="Acme", @@ -328,7 +328,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) card_push_transfer = await async_client.card_push_transfers.create( business_application_identifier="funds_disbursement", card_token_id="outbound_card_token_zlt0ml6youq3q7vcdlg0", - merchant_category_code="1234", + merchant_category_code="5734", merchant_city_name="New York", merchant_name="Acme Corp", merchant_name_prefix="Acme", @@ -360,7 +360,7 @@ async def test_raw_response_create(self, async_client: AsyncIncrease) -> None: response = await async_client.card_push_transfers.with_raw_response.create( business_application_identifier="funds_disbursement", card_token_id="outbound_card_token_zlt0ml6youq3q7vcdlg0", - merchant_category_code="1234", + merchant_category_code="5734", merchant_city_name="New York", merchant_name="Acme Corp", merchant_name_prefix="Acme", @@ -389,7 +389,7 @@ async def test_streaming_response_create(self, async_client: AsyncIncrease) -> N async with async_client.card_push_transfers.with_streaming_response.create( business_application_identifier="funds_disbursement", card_token_id="outbound_card_token_zlt0ml6youq3q7vcdlg0", - merchant_category_code="1234", + merchant_category_code="5734", merchant_city_name="New York", merchant_name="Acme Corp", merchant_name_prefix="Acme", diff --git a/tests/api_resources/test_entities.py b/tests/api_resources/test_entities.py index cf0cf7a4..452de585 100644 --- a/tests/api_resources/test_entities.py +++ b/tests/api_resources/test_entities.py @@ -57,7 +57,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None: "drivers_license": { "expiration_date": parse_date("2019-12-27"), "file_id": "file_id", - "state": "x", + "state": "xx", "back_file_id": "back_file_id", }, "other": { @@ -96,7 +96,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None: "address": { "city": "x", "line1": "x", - "state": "x", + "state": "xx", "zip": "x", "line2": "x", }, @@ -124,7 +124,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None: "drivers_license": { "expiration_date": parse_date("2019-12-27"), "file_id": "file_id", - "state": "x", + "state": "xx", "back_file_id": "back_file_id", }, "other": { @@ -161,7 +161,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None: "drivers_license": { "expiration_date": parse_date("2019-12-27"), "file_id": "file_id", - "state": "x", + "state": "xx", "back_file_id": "back_file_id", }, "other": { @@ -200,7 +200,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None: "address": { "city": "x", "line1": "x", - "state": "x", + "state": "xx", "zip": "x", "line2": "x", }, @@ -225,7 +225,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None: "drivers_license": { "expiration_date": parse_date("2019-12-27"), "file_id": "file_id", - "state": "x", + "state": "xx", "back_file_id": "back_file_id", }, "other": { @@ -264,7 +264,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None: "drivers_license": { "expiration_date": parse_date("2019-12-27"), "file_id": "file_id", - "state": "x", + "state": "xx", "back_file_id": "back_file_id", }, "other": { @@ -385,7 +385,7 @@ def test_method_update_with_all_params(self, client: Increase) -> None: "address": { "city": "x", "line1": "x", - "state": "x", + "state": "xx", "zip": "x", "line2": "x", }, @@ -407,7 +407,7 @@ def test_method_update_with_all_params(self, client: Increase) -> None: "drivers_license": { "expiration_date": parse_date("2019-12-27"), "file_id": "file_id", - "state": "x", + "state": "xx", "back_file_id": "back_file_id", }, "other": { @@ -444,7 +444,7 @@ def test_method_update_with_all_params(self, client: Increase) -> None: "address": { "city": "x", "line1": "x", - "state": "x", + "state": "xx", "zip": "x", "line2": "x", }, @@ -607,7 +607,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) "drivers_license": { "expiration_date": parse_date("2019-12-27"), "file_id": "file_id", - "state": "x", + "state": "xx", "back_file_id": "back_file_id", }, "other": { @@ -646,7 +646,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) "address": { "city": "x", "line1": "x", - "state": "x", + "state": "xx", "zip": "x", "line2": "x", }, @@ -674,7 +674,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) "drivers_license": { "expiration_date": parse_date("2019-12-27"), "file_id": "file_id", - "state": "x", + "state": "xx", "back_file_id": "back_file_id", }, "other": { @@ -711,7 +711,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) "drivers_license": { "expiration_date": parse_date("2019-12-27"), "file_id": "file_id", - "state": "x", + "state": "xx", "back_file_id": "back_file_id", }, "other": { @@ -750,7 +750,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) "address": { "city": "x", "line1": "x", - "state": "x", + "state": "xx", "zip": "x", "line2": "x", }, @@ -775,7 +775,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) "drivers_license": { "expiration_date": parse_date("2019-12-27"), "file_id": "file_id", - "state": "x", + "state": "xx", "back_file_id": "back_file_id", }, "other": { @@ -814,7 +814,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) "drivers_license": { "expiration_date": parse_date("2019-12-27"), "file_id": "file_id", - "state": "x", + "state": "xx", "back_file_id": "back_file_id", }, "other": { @@ -935,7 +935,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncIncrease) "address": { "city": "x", "line1": "x", - "state": "x", + "state": "xx", "zip": "x", "line2": "x", }, @@ -957,7 +957,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncIncrease) "drivers_license": { "expiration_date": parse_date("2019-12-27"), "file_id": "file_id", - "state": "x", + "state": "xx", "back_file_id": "back_file_id", }, "other": { @@ -994,7 +994,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncIncrease) "address": { "city": "x", "line1": "x", - "state": "x", + "state": "xx", "zip": "x", "line2": "x", }, diff --git a/tests/api_resources/test_fednow_transfers.py b/tests/api_resources/test_fednow_transfers.py index 53a035ac..865c5824 100644 --- a/tests/api_resources/test_fednow_transfers.py +++ b/tests/api_resources/test_fednow_transfers.py @@ -48,7 +48,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None: debtor_address={ "city": "x", "postal_code": "21029-9469", - "state": "x", + "state": "xx", "line1": "x", }, external_account_id="external_account_id", @@ -281,7 +281,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) debtor_address={ "city": "x", "postal_code": "21029-9469", - "state": "x", + "state": "xx", "line1": "x", }, external_account_id="external_account_id",