From 327c46cef6c77fbc7d966b7ff3225b39f5fa126f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 12 Aug 2026 02:37:38 +0000 Subject: [PATCH 1/5] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 6539dd75..21d375d8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 48 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch/finch-9a6d840deb9e30caf68354e884cb2c72ff6ca21cfbefb5ed0ca6187932c9cd62.yml -openapi_spec_hash: ce61ace110680a502bdccf396b2a4d88 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch/finch-dc926456fb1046d38970698145fef416c9359c3675a58275ff27406c42729d9c.yml +openapi_spec_hash: 7b94021ace9eb5f155c51a5a8d49473b config_hash: 9ae56f40cec7304896138bfad5caf748 From d86cd47716a2f92779444fa7deeb454bd13c805e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 13 Aug 2026 21:35:46 +0000 Subject: [PATCH 2/5] feat(api): api update --- .stats.yml | 4 ++-- src/finch/resources/connect/sessions.py | 12 ++++++++++ src/finch/types/connect/session_new_params.py | 22 ++++++++++++++++++- tests/api_resources/connect/test_sessions.py | 8 +++++++ 4 files changed, 43 insertions(+), 3 deletions(-) diff --git a/.stats.yml b/.stats.yml index 21d375d8..61293c8e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 48 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch/finch-dc926456fb1046d38970698145fef416c9359c3675a58275ff27406c42729d9c.yml -openapi_spec_hash: 7b94021ace9eb5f155c51a5a8d49473b +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch/finch-df441d4706ab4fa56bb5e59e33ca1d0009432be21cc8c71c83e949b85b1e1129.yml +openapi_spec_hash: 368e2901f6c03dab5aef5a491f628e57 config_hash: 9ae56f40cec7304896138bfad5caf748 diff --git a/src/finch/resources/connect/sessions.py b/src/finch/resources/connect/sessions.py index 66c23cb2..2dc65194 100644 --- a/src/finch/resources/connect/sessions.py +++ b/src/finch/resources/connect/sessions.py @@ -68,6 +68,7 @@ def new( integration: Optional[session_new_params.Integration] | Omit = omit, manual: Optional[bool] | Omit = omit, minutes_to_expire: Optional[float] | Omit = omit, + recordkeeping: Optional[session_new_params.Recordkeeping] | Omit = omit, redirect_uri: Optional[str] | Omit = omit, sandbox: Optional[Literal["finch", "provider"]] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -98,6 +99,10 @@ def new( minutes_to_expire: The number of minutes until the session expires (defaults to 129,600, which is 90 days) + recordkeeping: Optional recordkeeping configuration. Can only be provided when the + `recordkeeping` product is requested. Currently supports `recordkeeper` set to + `voya`. + redirect_uri: The URI to redirect to after the Connect flow is completed sandbox: Sandbox mode for testing @@ -121,6 +126,7 @@ def new( "integration": integration, "manual": manual, "minutes_to_expire": minutes_to_expire, + "recordkeeping": recordkeeping, "redirect_uri": redirect_uri, "sandbox": sandbox, }, @@ -262,6 +268,7 @@ async def new( integration: Optional[session_new_params.Integration] | Omit = omit, manual: Optional[bool] | Omit = omit, minutes_to_expire: Optional[float] | Omit = omit, + recordkeeping: Optional[session_new_params.Recordkeeping] | Omit = omit, redirect_uri: Optional[str] | Omit = omit, sandbox: Optional[Literal["finch", "provider"]] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -292,6 +299,10 @@ async def new( minutes_to_expire: The number of minutes until the session expires (defaults to 129,600, which is 90 days) + recordkeeping: Optional recordkeeping configuration. Can only be provided when the + `recordkeeping` product is requested. Currently supports `recordkeeper` set to + `voya`. + redirect_uri: The URI to redirect to after the Connect flow is completed sandbox: Sandbox mode for testing @@ -315,6 +326,7 @@ async def new( "integration": integration, "manual": manual, "minutes_to_expire": minutes_to_expire, + "recordkeeping": recordkeeping, "redirect_uri": redirect_uri, "sandbox": sandbox, }, diff --git a/src/finch/types/connect/session_new_params.py b/src/finch/types/connect/session_new_params.py index 41091f84..5ff8e107 100644 --- a/src/finch/types/connect/session_new_params.py +++ b/src/finch/types/connect/session_new_params.py @@ -5,7 +5,7 @@ from typing import List, Optional from typing_extensions import Literal, Required, TypedDict -__all__ = ["SessionNewParams", "Integration"] +__all__ = ["SessionNewParams", "Integration", "Recordkeeping"] class SessionNewParams(TypedDict, total=False): @@ -56,6 +56,13 @@ class SessionNewParams(TypedDict, total=False): 90 days) """ + recordkeeping: Optional[Recordkeeping] + """Optional recordkeeping configuration. + + Can only be provided when the `recordkeeping` product is requested. Currently + supports `recordkeeper` set to `voya`. + """ + redirect_uri: Optional[str] """The URI to redirect to after the Connect flow is completed""" @@ -71,3 +78,16 @@ class Integration(TypedDict, total=False): auth_method: Optional[Literal["assisted", "credential", "oauth", "api_token"]] """The authentication method to use""" + + +class Recordkeeping(TypedDict, total=False): + """Optional recordkeeping configuration. + + Can only be provided when the `recordkeeping` product is requested. Currently supports `recordkeeper` set to `voya`. + """ + + plan_id: Required[str] + """The plan identifier used by the recordkeeper""" + + recordkeeper: Required[Literal["voya"]] + """The recordkeeper to configure for this connection""" diff --git a/tests/api_resources/connect/test_sessions.py b/tests/api_resources/connect/test_sessions.py index a6ece5bc..e92a2717 100644 --- a/tests/api_resources/connect/test_sessions.py +++ b/tests/api_resources/connect/test_sessions.py @@ -44,6 +44,10 @@ def test_method_new_with_all_params(self, client: Finch) -> None: }, manual=True, minutes_to_expire=1, + recordkeeping={ + "plan_id": "x", + "recordkeeper": "voya", + }, redirect_uri="redirect_uri", sandbox="finch", ) @@ -154,6 +158,10 @@ async def test_method_new_with_all_params(self, async_client: AsyncFinch) -> Non }, manual=True, minutes_to_expire=1, + recordkeeping={ + "plan_id": "x", + "recordkeeper": "voya", + }, redirect_uri="redirect_uri", sandbox="finch", ) From 4e0de6d2b7a5cd767d82434f051d2e831c3f447a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 14 Aug 2026 16:00:46 +0000 Subject: [PATCH 3/5] feat(api): api update --- .stats.yml | 4 ++-- src/finch/resources/connect/sessions.py | 4 ++-- src/finch/types/connect/session_new_params.py | 12 ++++++------ tests/api_resources/connect/test_sessions.py | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.stats.yml b/.stats.yml index 61293c8e..6f39974a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 48 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch/finch-df441d4706ab4fa56bb5e59e33ca1d0009432be21cc8c71c83e949b85b1e1129.yml -openapi_spec_hash: 368e2901f6c03dab5aef5a491f628e57 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch/finch-d189f84d03a9be12f299d621467e900538b085d77590e9fb0e9d6dd349fb8f37.yml +openapi_spec_hash: 70bdcd4000b45d3d2dc80f8202b8f46a config_hash: 9ae56f40cec7304896138bfad5caf748 diff --git a/src/finch/resources/connect/sessions.py b/src/finch/resources/connect/sessions.py index 2dc65194..8682e330 100644 --- a/src/finch/resources/connect/sessions.py +++ b/src/finch/resources/connect/sessions.py @@ -101,7 +101,7 @@ def new( recordkeeping: Optional recordkeeping configuration. Can only be provided when the `recordkeeping` product is requested. Currently supports `recordkeeper` set to - `voya`. + `voya` or `empower`. redirect_uri: The URI to redirect to after the Connect flow is completed @@ -301,7 +301,7 @@ async def new( recordkeeping: Optional recordkeeping configuration. Can only be provided when the `recordkeeping` product is requested. Currently supports `recordkeeper` set to - `voya`. + `voya` or `empower`. redirect_uri: The URI to redirect to after the Connect flow is completed diff --git a/src/finch/types/connect/session_new_params.py b/src/finch/types/connect/session_new_params.py index 5ff8e107..07f83db9 100644 --- a/src/finch/types/connect/session_new_params.py +++ b/src/finch/types/connect/session_new_params.py @@ -60,7 +60,7 @@ class SessionNewParams(TypedDict, total=False): """Optional recordkeeping configuration. Can only be provided when the `recordkeeping` product is requested. Currently - supports `recordkeeper` set to `voya`. + supports `recordkeeper` set to `voya` or `empower`. """ redirect_uri: Optional[str] @@ -83,11 +83,11 @@ class Integration(TypedDict, total=False): class Recordkeeping(TypedDict, total=False): """Optional recordkeeping configuration. - Can only be provided when the `recordkeeping` product is requested. Currently supports `recordkeeper` set to `voya`. + Can only be provided when the `recordkeeping` product is requested. Currently supports `recordkeeper` set to `voya` or `empower`. """ - plan_id: Required[str] - """The plan identifier used by the recordkeeper""" - - recordkeeper: Required[Literal["voya"]] + recordkeeper: Required[Literal["voya", "empower"]] """The recordkeeper to configure for this connection""" + + plan_id: Optional[str] + """The plan identifier used by the recordkeeper""" diff --git a/tests/api_resources/connect/test_sessions.py b/tests/api_resources/connect/test_sessions.py index e92a2717..71f214c7 100644 --- a/tests/api_resources/connect/test_sessions.py +++ b/tests/api_resources/connect/test_sessions.py @@ -45,8 +45,8 @@ def test_method_new_with_all_params(self, client: Finch) -> None: manual=True, minutes_to_expire=1, recordkeeping={ - "plan_id": "x", "recordkeeper": "voya", + "plan_id": "x", }, redirect_uri="redirect_uri", sandbox="finch", @@ -159,8 +159,8 @@ async def test_method_new_with_all_params(self, async_client: AsyncFinch) -> Non manual=True, minutes_to_expire=1, recordkeeping={ - "plan_id": "x", "recordkeeper": "voya", + "plan_id": "x", }, redirect_uri="redirect_uri", sandbox="finch", From eedea2e6a4bf4089ba9a8a0b87735930a91f7c59 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 17 Aug 2026 21:04:49 +0000 Subject: [PATCH 4/5] feat(api): api update --- .stats.yml | 4 ++-- src/finch/resources/connect/sessions.py | 4 ++-- src/finch/types/connect/session_new_params.py | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.stats.yml b/.stats.yml index 6f39974a..14602907 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 48 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch/finch-d189f84d03a9be12f299d621467e900538b085d77590e9fb0e9d6dd349fb8f37.yml -openapi_spec_hash: 70bdcd4000b45d3d2dc80f8202b8f46a +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch/finch-d7a5aa80f0d4940c2d9994e1a72d27e0a22ac2431e4dab6354ca628457c7c790.yml +openapi_spec_hash: ec74d859d1bfd431ea7210f800e02c8d config_hash: 9ae56f40cec7304896138bfad5caf748 diff --git a/src/finch/resources/connect/sessions.py b/src/finch/resources/connect/sessions.py index 8682e330..11218992 100644 --- a/src/finch/resources/connect/sessions.py +++ b/src/finch/resources/connect/sessions.py @@ -101,7 +101,7 @@ def new( recordkeeping: Optional recordkeeping configuration. Can only be provided when the `recordkeeping` product is requested. Currently supports `recordkeeper` set to - `voya` or `empower`. + `voya`, `empower`, `fidelity`, or `transamerica`. redirect_uri: The URI to redirect to after the Connect flow is completed @@ -301,7 +301,7 @@ async def new( recordkeeping: Optional recordkeeping configuration. Can only be provided when the `recordkeeping` product is requested. Currently supports `recordkeeper` set to - `voya` or `empower`. + `voya`, `empower`, `fidelity`, or `transamerica`. redirect_uri: The URI to redirect to after the Connect flow is completed diff --git a/src/finch/types/connect/session_new_params.py b/src/finch/types/connect/session_new_params.py index 07f83db9..2d77fafe 100644 --- a/src/finch/types/connect/session_new_params.py +++ b/src/finch/types/connect/session_new_params.py @@ -60,7 +60,7 @@ class SessionNewParams(TypedDict, total=False): """Optional recordkeeping configuration. Can only be provided when the `recordkeeping` product is requested. Currently - supports `recordkeeper` set to `voya` or `empower`. + supports `recordkeeper` set to `voya`, `empower`, `fidelity`, or `transamerica`. """ redirect_uri: Optional[str] @@ -83,10 +83,10 @@ class Integration(TypedDict, total=False): class Recordkeeping(TypedDict, total=False): """Optional recordkeeping configuration. - Can only be provided when the `recordkeeping` product is requested. Currently supports `recordkeeper` set to `voya` or `empower`. + Can only be provided when the `recordkeeping` product is requested. Currently supports `recordkeeper` set to `voya`, `empower`, `fidelity`, or `transamerica`. """ - recordkeeper: Required[Literal["voya", "empower"]] + recordkeeper: Required[Literal["voya", "empower", "fidelity", "transamerica"]] """The recordkeeper to configure for this connection""" plan_id: Optional[str] From d6059e8f0459ae6e58e927d28428027f377dfce8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 17 Aug 2026 21:05:18 +0000 Subject: [PATCH 5/5] release: 2.8.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 10 ++++++++++ pyproject.toml | 2 +- src/finch/_version.py | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index d1328ca9..64f9ff41 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.7.0" + ".": "2.8.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index e9d8bc5b..a46e621d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 2.8.0 (2026-08-17) + +Full Changelog: [v2.7.0...v2.8.0](https://github.com/Finch-API/finch-api-python/compare/v2.7.0...v2.8.0) + +### Features + +* **api:** api update ([eedea2e](https://github.com/Finch-API/finch-api-python/commit/eedea2e6a4bf4089ba9a8a0b87735930a91f7c59)) +* **api:** api update ([4e0de6d](https://github.com/Finch-API/finch-api-python/commit/4e0de6d2b7a5cd767d82434f051d2e831c3f447a)) +* **api:** api update ([d86cd47](https://github.com/Finch-API/finch-api-python/commit/d86cd47716a2f92779444fa7deeb454bd13c805e)) + ## 2.7.0 (2026-08-07) Full Changelog: [v2.6.0...v2.7.0](https://github.com/Finch-API/finch-api-python/compare/v2.6.0...v2.7.0) diff --git a/pyproject.toml b/pyproject.toml index 88665175..982bbdff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "finch-api" -version = "2.7.0" +version = "2.8.0" description = "The official Python library for the Finch API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/finch/_version.py b/src/finch/_version.py index e5b797bd..f7202e9a 100644 --- a/src/finch/_version.py +++ b/src/finch/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "finch" -__version__ = "2.7.0" # x-release-please-version +__version__ = "2.8.0" # x-release-please-version