Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.475.1"
".": "0.476.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/increase/_version.py
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions src/increase/types/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
28 changes: 5 additions & 23 deletions src/increase/types/export_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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):
Expand Down
4 changes: 0 additions & 4 deletions tests/api_resources/test_exports.py
Original file line number Diff line number Diff line change
Expand Up @@ -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={
Expand Down Expand Up @@ -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={
Expand Down