diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b57b68f8..808fe524 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.475.1" + ".": "0.476.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index cbaea0f5..238fb5aa 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-f4f26466e66f9f8c45d2291dac32c1de360e4bb73cac74c5ea5125359dc75fa5.yml -openapi_spec_hash: 4aa51886cd76bc38a881dcea41020d99 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-16584f71f31837a98f04250e08aec539fd7eb0bf69178b0e6b24254642f6755f.yml +openapi_spec_hash: a67f1f1147858e6b2143b5215fc80e04 config_hash: d48e9f65bcf642f92610034d6c43f07a diff --git a/CHANGELOG.md b/CHANGELOG.md index cf0ffdb0..5e79df86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.476.0 (2026-04-10) + +Full Changelog: [v0.475.1...v0.476.0](https://github.com/Increase/increase-python/compare/v0.475.1...v0.476.0) + +### Features + +* **api:** api update ([923f938](https://github.com/Increase/increase-python/commit/923f938a95109c113fe88fee567d5aa8596adf20)) + ## 0.475.1 (2026-04-10) Full Changelog: [v0.475.0...v0.475.1](https://github.com/Increase/increase-python/compare/v0.475.0...v0.475.1) diff --git a/pyproject.toml b/pyproject.toml index 20bdf8a8..8afe5c9c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.475.1" +version = "0.476.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 a441cc9a..3a46a878 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.475.1" # x-release-please-version +__version__ = "0.476.0" # x-release-please-version diff --git a/src/increase/types/export.py b/src/increase/types/export.py index c4d3bcfc..c2d66dda 100644 --- a/src/increase/types/export.py +++ b/src/increase/types/export.py @@ -54,12 +54,12 @@ class AccountStatementBai2(BaseModel): class AccountStatementOfxCreatedAt(BaseModel): """Filter transactions by their created date.""" - after: Optional[datetime] = None - """Filter results to transactions created after this time.""" - before: Optional[datetime] = None """Filter results to transactions created before this time.""" + on_or_after: Optional[datetime] = None + """Filter results to transactions created on or after this time.""" + class AccountStatementOfx(BaseModel): """Details of the account statement OFX export. diff --git a/src/increase/types/export_create_params.py b/src/increase/types/export_create_params.py index 8de18358..65670a4f 100644 --- a/src/increase/types/export_create_params.py +++ b/src/increase/types/export_create_params.py @@ -160,32 +160,14 @@ class AccountStatementBai2(TypedDict, total=False): """ -class AccountStatementOfxCreatedAt(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. - """ +class AccountStatementOfxCreatedAt(TypedDict, total=False, extra_items=object): # type: ignore[call-arg] + """Filter transactions by their created date.""" before: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")] - """ - Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) - timestamp. - """ + """Filter results to transactions created before this time.""" 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. - """ + """Filter results to transactions created on or after this time.""" class AccountStatementOfx(TypedDict, total=False): @@ -198,7 +180,7 @@ class AccountStatementOfx(TypedDict, total=False): """The Account to create a statement for.""" created_at: AccountStatementOfxCreatedAt - """Filter results by time range on the `created_at` attribute.""" + """Filter transactions by their created date.""" class AccountVerificationLetter(TypedDict, total=False): diff --git a/tests/api_resources/test_exports.py b/tests/api_resources/test_exports.py index 29dac300..6be8af62 100644 --- a/tests/api_resources/test_exports.py +++ b/tests/api_resources/test_exports.py @@ -38,10 +38,8 @@ def test_method_create_with_all_params(self, client: Increase) -> None: account_statement_ofx={ "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"), }, }, account_verification_letter={ @@ -221,10 +219,8 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) account_statement_ofx={ "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"), }, }, account_verification_letter={