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.477.0"
".": "0.478.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-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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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.477.0"
version = "0.478.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.477.0" # x-release-please-version
__version__ = "0.478.0" # x-release-please-version
10 changes: 0 additions & 10 deletions src/increase/resources/exports.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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`.

Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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`.

Expand Down Expand Up @@ -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,
Expand Down
49 changes: 0 additions & 49 deletions src/increase/types/export_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
"AccountStatementOfx",
"AccountStatementOfxCreatedAt",
"AccountVerificationLetter",
"BalanceCsv",
"BalanceCsvCreatedAt",
"BookkeepingAccountBalanceCsv",
"DailyAccountBalanceCsv",
"EntityCsv",
Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down
18 changes: 0 additions & 18 deletions tests/api_resources/test_exports.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -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"),
Expand Down