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.474.0"
".": "0.475.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-8bbf0093efa65975131da3735f2adc0ec05432cde8c05e9c9796bc7d553103ae.yml
openapi_spec_hash: 5080ba849a5b100ace3bec9da24d4dc7
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-f4f26466e66f9f8c45d2291dac32c1de360e4bb73cac74c5ea5125359dc75fa5.yml
openapi_spec_hash: 4aa51886cd76bc38a881dcea41020d99
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.475.0 (2026-04-09)

Full Changelog: [v0.474.0...v0.475.0](https://github.com/Increase/increase-python/compare/v0.474.0...v0.475.0)

### Features

* **api:** api update ([96900a9](https://github.com/Increase/increase-python/commit/96900a99e1d1ecb11fa6eda30c1a955d55e4a9c3))

## 0.474.0 (2026-04-09)

Full Changelog: [v0.473.1...v0.474.0](https://github.com/Increase/increase-python/compare/v0.473.1...v0.474.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.474.0"
version = "0.475.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.474.0" # x-release-please-version
__version__ = "0.475.0" # x-release-please-version
22 changes: 22 additions & 0 deletions src/increase/resources/exports.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,14 @@ def create(
"account_verification_letter",
"funding_instructions",
"voided_check",
"daily_account_balance_csv",
],
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,
funding_instructions: export_create_params.FundingInstructions | Omit = omit,
transaction_csv: export_create_params.TransactionCsv | Omit = omit,
Expand Down Expand Up @@ -98,6 +100,8 @@ def create(
- `account_verification_letter` - A PDF of an account verification letter.
- `funding_instructions` - A PDF of funding instructions.
- `voided_check` - A PDF of a voided check.
- `daily_account_balance_csv` - Export a CSV of daily account balances with
starting and ending balances for a given date range.

account_statement_bai2: Options for the created export. Required if `category` is equal to
`account_statement_bai2`.
Expand All @@ -114,6 +118,9 @@ def create(
bookkeeping_account_balance_csv: Options for the created export. Required if `category` is equal to
`bookkeeping_account_balance_csv`.

daily_account_balance_csv: Options for the created export. Required if `category` is equal to
`daily_account_balance_csv`.

entity_csv: Options for the created export. Required if `category` is equal to `entity_csv`.

funding_instructions: Options for the created export. Required if `category` is equal to
Expand Down Expand Up @@ -147,6 +154,7 @@ def create(
"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,
"funding_instructions": funding_instructions,
"transaction_csv": transaction_csv,
Expand Down Expand Up @@ -218,6 +226,7 @@ def list(
"form_1099_misc",
"fee_csv",
"voided_check",
"daily_account_balance_csv",
]
| Omit = omit,
created_at: export_list_params.CreatedAt | Omit = omit,
Expand Down Expand Up @@ -261,6 +270,8 @@ def list(
- `fee_csv` - Export a CSV of fees. The time range must not include any fees
that are part of an open fee statement.
- `voided_check` - A PDF of a voided check.
- `daily_account_balance_csv` - Export a CSV of daily account balances with
starting and ending balances for a given date range.

cursor: Return the page of entries after this one.

Expand Down Expand Up @@ -340,12 +351,14 @@ async def create(
"account_verification_letter",
"funding_instructions",
"voided_check",
"daily_account_balance_csv",
],
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,
funding_instructions: export_create_params.FundingInstructions | Omit = omit,
transaction_csv: export_create_params.TransactionCsv | Omit = omit,
Expand Down Expand Up @@ -380,6 +393,8 @@ async def create(
- `account_verification_letter` - A PDF of an account verification letter.
- `funding_instructions` - A PDF of funding instructions.
- `voided_check` - A PDF of a voided check.
- `daily_account_balance_csv` - Export a CSV of daily account balances with
starting and ending balances for a given date range.

account_statement_bai2: Options for the created export. Required if `category` is equal to
`account_statement_bai2`.
Expand All @@ -396,6 +411,9 @@ async def create(
bookkeeping_account_balance_csv: Options for the created export. Required if `category` is equal to
`bookkeeping_account_balance_csv`.

daily_account_balance_csv: Options for the created export. Required if `category` is equal to
`daily_account_balance_csv`.

entity_csv: Options for the created export. Required if `category` is equal to `entity_csv`.

funding_instructions: Options for the created export. Required if `category` is equal to
Expand Down Expand Up @@ -429,6 +447,7 @@ async def create(
"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,
"funding_instructions": funding_instructions,
"transaction_csv": transaction_csv,
Expand Down Expand Up @@ -500,6 +519,7 @@ def list(
"form_1099_misc",
"fee_csv",
"voided_check",
"daily_account_balance_csv",
]
| Omit = omit,
created_at: export_list_params.CreatedAt | Omit = omit,
Expand Down Expand Up @@ -543,6 +563,8 @@ def list(
- `fee_csv` - Export a CSV of fees. The time range must not include any fees
that are part of an open fee statement.
- `voided_check` - A PDF of a voided check.
- `daily_account_balance_csv` - Export a CSV of daily account balances with
starting and ending balances for a given date range.

cursor: Return the page of entries after this one.

Expand Down
27 changes: 27 additions & 0 deletions src/increase/types/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"BalanceCsvCreatedAt",
"BookkeepingAccountBalanceCsv",
"BookkeepingAccountBalanceCsvCreatedAt",
"DailyAccountBalanceCsv",
"DashboardTableCsv",
"EntityCsv",
"FeeCsv",
Expand Down Expand Up @@ -132,6 +133,22 @@ class BookkeepingAccountBalanceCsv(BaseModel):
"""Filter balances by their created date."""


class DailyAccountBalanceCsv(BaseModel):
"""Details of the daily account balance CSV export.

This field will be present when the `category` is equal to `daily_account_balance_csv`.
"""

account_id: Optional[str] = None
"""Filter results by Account."""

on_or_after_date: Optional[date] = None
"""Filter balances on or after this date."""

on_or_before_date: Optional[date] = None
"""Filter balances on or before this date."""


class DashboardTableCsv(BaseModel):
"""Details of the dashboard table CSV export.

Expand Down Expand Up @@ -339,6 +356,7 @@ class Export(BaseModel):
"form_1099_misc",
"fee_csv",
"voided_check",
"daily_account_balance_csv",
]
"""The category of the Export.

Expand Down Expand Up @@ -366,11 +384,20 @@ class Export(BaseModel):
- `fee_csv` - Export a CSV of fees. The time range must not include any fees
that are part of an open fee statement.
- `voided_check` - A PDF of a voided check.
- `daily_account_balance_csv` - Export a CSV of daily account balances with
starting and ending balances for a given date range.
"""

created_at: datetime
"""The time the Export was created."""

daily_account_balance_csv: Optional[DailyAccountBalanceCsv] = None
"""Details of the daily account balance CSV export.

This field will be present when the `category` is equal to
`daily_account_balance_csv`.
"""

dashboard_table_csv: Optional[DashboardTableCsv] = None
"""Details of the dashboard table CSV export.

Expand Down
26 changes: 26 additions & 0 deletions src/increase/types/export_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"BalanceCsvCreatedAt",
"BookkeepingAccountBalanceCsv",
"BookkeepingAccountBalanceCsvCreatedAt",
"DailyAccountBalanceCsv",
"EntityCsv",
"FundingInstructions",
"TransactionCsv",
Expand All @@ -41,6 +42,7 @@ class ExportCreateParams(TypedDict, total=False):
"account_verification_letter",
"funding_instructions",
"voided_check",
"daily_account_balance_csv",
]
]
"""The type of Export to create.
Expand All @@ -60,6 +62,8 @@ class ExportCreateParams(TypedDict, total=False):
- `account_verification_letter` - A PDF of an account verification letter.
- `funding_instructions` - A PDF of funding instructions.
- `voided_check` - A PDF of a voided check.
- `daily_account_balance_csv` - Export a CSV of daily account balances with
starting and ending balances for a given date range.
"""

account_statement_bai2: AccountStatementBai2
Expand Down Expand Up @@ -92,6 +96,12 @@ class ExportCreateParams(TypedDict, total=False):
Required if `category` is equal to `bookkeeping_account_balance_csv`.
"""

daily_account_balance_csv: DailyAccountBalanceCsv
"""Options for the created export.

Required if `category` is equal to `daily_account_balance_csv`.
"""

entity_csv: EntityCsv
"""Options for the created export.

Expand Down Expand Up @@ -289,6 +299,22 @@ class BookkeepingAccountBalanceCsv(TypedDict, total=False):
"""Filter results by time range on the `created_at` attribute."""


class DailyAccountBalanceCsv(TypedDict, total=False):
"""Options for the created export.

Required if `category` is equal to `daily_account_balance_csv`.
"""

account_id: str
"""Filter exported Balances to the specified Account."""

on_or_after_date: Annotated[Union[str, date], PropertyInfo(format="iso8601")]
"""Filter exported Balances to those on or after this date."""

on_or_before_date: Annotated[Union[str, date], PropertyInfo(format="iso8601")]
"""Filter exported Balances to those on or before this date."""


class EntityCsv(TypedDict, total=False):
"""Options for the created export.

Expand Down
3 changes: 3 additions & 0 deletions src/increase/types/export_list_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class ExportListParams(TypedDict, total=False):
"form_1099_misc",
"fee_csv",
"voided_check",
"daily_account_balance_csv",
]
"""Filter Exports for those with the specified category.

Expand All @@ -51,6 +52,8 @@ class ExportListParams(TypedDict, total=False):
- `fee_csv` - Export a CSV of fees. The time range must not include any fees
that are part of an open fee statement.
- `voided_check` - A PDF of a voided check.
- `daily_account_balance_csv` - Export a CSV of daily account balances with
starting and ending balances for a given date range.
"""

created_at: CreatedAt
Expand Down
10 changes: 10 additions & 0 deletions tests/api_resources/test_exports.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ def test_method_create_with_all_params(self, client: Increase) -> None:
"on_or_before": parse_datetime("2019-12-27T18:11:19.117Z"),
},
},
daily_account_balance_csv={
"account_id": "account_id",
"on_or_after_date": parse_date("2019-12-27"),
"on_or_before_date": parse_date("2019-12-27"),
},
entity_csv={},
funding_instructions={"account_number_id": "account_number_id"},
transaction_csv={
Expand Down Expand Up @@ -244,6 +249,11 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease)
"on_or_before": parse_datetime("2019-12-27T18:11:19.117Z"),
},
},
daily_account_balance_csv={
"account_id": "account_id",
"on_or_after_date": parse_date("2019-12-27"),
"on_or_before_date": parse_date("2019-12-27"),
},
entity_csv={},
funding_instructions={"account_number_id": "account_number_id"},
transaction_csv={
Expand Down