diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 45f59399..c3829d83 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.474.0" + ".": "0.475.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index cc2badb6..cbaea0f5 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-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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0bdff390..87a1641b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/pyproject.toml b/pyproject.toml index 2597ee17..1bce2109 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/src/increase/_version.py b/src/increase/_version.py index 23dddbf3..f083bb2e 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.474.0" # x-release-please-version +__version__ = "0.475.0" # x-release-please-version diff --git a/src/increase/resources/exports.py b/src/increase/resources/exports.py index 9c2fc2ac..dee6557a 100644 --- a/src/increase/resources/exports.py +++ b/src/increase/resources/exports.py @@ -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, @@ -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`. @@ -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 @@ -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, @@ -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, @@ -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. @@ -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, @@ -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`. @@ -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 @@ -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, @@ -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, @@ -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. diff --git a/src/increase/types/export.py b/src/increase/types/export.py index 9245bab3..c4d3bcfc 100644 --- a/src/increase/types/export.py +++ b/src/increase/types/export.py @@ -18,6 +18,7 @@ "BalanceCsvCreatedAt", "BookkeepingAccountBalanceCsv", "BookkeepingAccountBalanceCsvCreatedAt", + "DailyAccountBalanceCsv", "DashboardTableCsv", "EntityCsv", "FeeCsv", @@ -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. @@ -339,6 +356,7 @@ class Export(BaseModel): "form_1099_misc", "fee_csv", "voided_check", + "daily_account_balance_csv", ] """The category of the Export. @@ -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. diff --git a/src/increase/types/export_create_params.py b/src/increase/types/export_create_params.py index e031a09a..8de18358 100644 --- a/src/increase/types/export_create_params.py +++ b/src/increase/types/export_create_params.py @@ -18,6 +18,7 @@ "BalanceCsvCreatedAt", "BookkeepingAccountBalanceCsv", "BookkeepingAccountBalanceCsvCreatedAt", + "DailyAccountBalanceCsv", "EntityCsv", "FundingInstructions", "TransactionCsv", @@ -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. @@ -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 @@ -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. @@ -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. diff --git a/src/increase/types/export_list_params.py b/src/increase/types/export_list_params.py index fa126d6a..7bfff699 100644 --- a/src/increase/types/export_list_params.py +++ b/src/increase/types/export_list_params.py @@ -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. @@ -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 diff --git a/tests/api_resources/test_exports.py b/tests/api_resources/test_exports.py index 8325f22d..29dac300 100644 --- a/tests/api_resources/test_exports.py +++ b/tests/api_resources/test_exports.py @@ -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={ @@ -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={