diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ca3555a7..26817e15 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.477.0" + ".": "0.478.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 3a06ad51..0be591b7 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 241 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-9cc37a5650ead65f77fe88834795d2e80f5f0f79e474d15030145f8303835a4f.yml -openapi_spec_hash: 68ec4be9e1dd4153a3175ad41a36352f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-76519f799070d5e184aa17c924a502d5767ba63eed88e48255145e1c36a19b7f.yml +openapi_spec_hash: 4bac99d90df83788bc79092b880d9ac6 config_hash: d48e9f65bcf642f92610034d6c43f07a diff --git a/CHANGELOG.md b/CHANGELOG.md index b2ce7b9f..adf5d321 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.478.0 (2026-04-11) + +Full Changelog: [v0.477.0...v0.478.0](https://github.com/Increase/increase-python/compare/v0.477.0...v0.478.0) + +### Features + +* **api:** api update ([0859196](https://github.com/Increase/increase-python/commit/08591966c8a62e4a60a61947cb37002599bc3c87)) + ## 0.477.0 (2026-04-10) Full Changelog: [v0.476.0...v0.477.0](https://github.com/Increase/increase-python/compare/v0.476.0...v0.477.0) diff --git a/pyproject.toml b/pyproject.toml index f003c91c..2e5c195c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.477.0" +version = "0.478.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 80bc1ebb..9e0a8509 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.477.0" # x-release-please-version +__version__ = "0.478.0" # x-release-please-version diff --git a/src/increase/resources/exports.py b/src/increase/resources/exports.py index dee6557a..cefd4082 100644 --- a/src/increase/resources/exports.py +++ b/src/increase/resources/exports.py @@ -63,7 +63,6 @@ def create( account_statement_bai2: export_create_params.AccountStatementBai2 | Omit = omit, account_statement_ofx: export_create_params.AccountStatementOfx | Omit = omit, account_verification_letter: export_create_params.AccountVerificationLetter | Omit = omit, - balance_csv: export_create_params.BalanceCsv | Omit = omit, bookkeeping_account_balance_csv: export_create_params.BookkeepingAccountBalanceCsv | Omit = omit, daily_account_balance_csv: export_create_params.DailyAccountBalanceCsv | Omit = omit, entity_csv: export_create_params.EntityCsv | Omit = omit, @@ -112,9 +111,6 @@ def create( account_verification_letter: Options for the created export. Required if `category` is equal to `account_verification_letter`. - balance_csv: Options for the created export. Required if `category` is equal to - `balance_csv`. - bookkeeping_account_balance_csv: Options for the created export. Required if `category` is equal to `bookkeeping_account_balance_csv`. @@ -152,7 +148,6 @@ def create( "account_statement_bai2": account_statement_bai2, "account_statement_ofx": account_statement_ofx, "account_verification_letter": account_verification_letter, - "balance_csv": balance_csv, "bookkeeping_account_balance_csv": bookkeeping_account_balance_csv, "daily_account_balance_csv": daily_account_balance_csv, "entity_csv": entity_csv, @@ -356,7 +351,6 @@ async def create( account_statement_bai2: export_create_params.AccountStatementBai2 | Omit = omit, account_statement_ofx: export_create_params.AccountStatementOfx | Omit = omit, account_verification_letter: export_create_params.AccountVerificationLetter | Omit = omit, - balance_csv: export_create_params.BalanceCsv | Omit = omit, bookkeeping_account_balance_csv: export_create_params.BookkeepingAccountBalanceCsv | Omit = omit, daily_account_balance_csv: export_create_params.DailyAccountBalanceCsv | Omit = omit, entity_csv: export_create_params.EntityCsv | Omit = omit, @@ -405,9 +399,6 @@ async def create( account_verification_letter: Options for the created export. Required if `category` is equal to `account_verification_letter`. - balance_csv: Options for the created export. Required if `category` is equal to - `balance_csv`. - bookkeeping_account_balance_csv: Options for the created export. Required if `category` is equal to `bookkeeping_account_balance_csv`. @@ -445,7 +436,6 @@ async def create( "account_statement_bai2": account_statement_bai2, "account_statement_ofx": account_statement_ofx, "account_verification_letter": account_verification_letter, - "balance_csv": balance_csv, "bookkeeping_account_balance_csv": bookkeeping_account_balance_csv, "daily_account_balance_csv": daily_account_balance_csv, "entity_csv": entity_csv, diff --git a/src/increase/types/export_create_params.py b/src/increase/types/export_create_params.py index 0f5ad0cd..9d883de3 100644 --- a/src/increase/types/export_create_params.py +++ b/src/increase/types/export_create_params.py @@ -14,8 +14,6 @@ "AccountStatementOfx", "AccountStatementOfxCreatedAt", "AccountVerificationLetter", - "BalanceCsv", - "BalanceCsvCreatedAt", "BookkeepingAccountBalanceCsv", "DailyAccountBalanceCsv", "EntityCsv", @@ -83,12 +81,6 @@ class ExportCreateParams(TypedDict, total=False): Required if `category` is equal to `account_verification_letter`. """ - balance_csv: BalanceCsv - """Options for the created export. - - Required if `category` is equal to `balance_csv`. - """ - bookkeeping_account_balance_csv: BookkeepingAccountBalanceCsv """Options for the created export. @@ -195,47 +187,6 @@ class AccountVerificationLetter(TypedDict, total=False): """The date of the balance to include in the letter. Defaults to the current date.""" -class BalanceCsvCreatedAt(TypedDict, total=False): - """Filter results by time range on the `created_at` attribute.""" - - after: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] - """ - Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) - timestamp. - """ - - before: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] - """ - Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) - timestamp. - """ - - on_or_after: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] - """ - Return results on or after this - [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp. - """ - - on_or_before: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] - """ - Return results on or before this - [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp. - """ - - -class BalanceCsv(TypedDict, total=False): - """Options for the created export. - - Required if `category` is equal to `balance_csv`. - """ - - account_id: str - """Filter exported Balances to the specified Account.""" - - created_at: BalanceCsvCreatedAt - """Filter results by time range on the `created_at` attribute.""" - - class BookkeepingAccountBalanceCsv(TypedDict, total=False): """Options for the created export. diff --git a/tests/api_resources/test_exports.py b/tests/api_resources/test_exports.py index 0bdf3446..ab05c991 100644 --- a/tests/api_resources/test_exports.py +++ b/tests/api_resources/test_exports.py @@ -46,15 +46,6 @@ def test_method_create_with_all_params(self, client: Increase) -> None: "account_number_id": "account_number_id", "balance_date": parse_date("2019-12-27"), }, - balance_csv={ - "account_id": "account_id", - "created_at": { - "after": parse_datetime("2019-12-27T18:11:19.117Z"), - "before": parse_datetime("2019-12-27T18:11:19.117Z"), - "on_or_after": parse_datetime("2019-12-27T18:11:19.117Z"), - "on_or_before": parse_datetime("2019-12-27T18:11:19.117Z"), - }, - }, bookkeeping_account_balance_csv={ "bookkeeping_account_id": "bookkeeping_account_id", "on_or_after_date": parse_date("2019-12-27"), @@ -223,15 +214,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) "account_number_id": "account_number_id", "balance_date": parse_date("2019-12-27"), }, - balance_csv={ - "account_id": "account_id", - "created_at": { - "after": parse_datetime("2019-12-27T18:11:19.117Z"), - "before": parse_datetime("2019-12-27T18:11:19.117Z"), - "on_or_after": parse_datetime("2019-12-27T18:11:19.117Z"), - "on_or_before": parse_datetime("2019-12-27T18:11:19.117Z"), - }, - }, bookkeeping_account_balance_csv={ "bookkeeping_account_id": "bookkeeping_account_id", "on_or_after_date": parse_date("2019-12-27"),