Skip to content

Commit af0ae3e

Browse files
release: 1.24.0 (#655)
* chore(ci): add timeout thresholds for CI jobs * chore(internal): import reformatting * feat(api): api update * release: 1.24.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 8e45820 commit af0ae3e

25 files changed

+110
-80
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
jobs:
1212
lint:
13+
timeout-minutes: 10
1314
name: lint
1415
runs-on: ubuntu-latest
1516
steps:
@@ -30,6 +31,7 @@ jobs:
3031
run: ./scripts/lint
3132

3233
test:
34+
timeout-minutes: 10
3335
name: test
3436
runs-on: ubuntu-latest
3537
steps:

.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.23.1"
2+
".": "1.24.0"
33
}

.stats.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 46
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-994dba9c79ac2c892333168717abd8ffe2cb4d84d67d7e69c6cf9e566500d4dd.yml
3-
openapi_spec_hash: 9720f3c873048c15f1f3c8f95f15ecd3
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-a9dc15ba77c4c6e40c8f2429b1d614e7fe6888910579b54002fb90d418682d09.yml
3+
openapi_spec_hash: be98b11d320aa0a1f3443650ce1b5b90
44
config_hash: 53778a0b839c4f6ad34fbba051f5e8a6

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## 1.24.0 (2025-04-22)
4+
5+
Full Changelog: [v1.23.1...v1.24.0](https://github.com/Finch-API/finch-api-python/compare/v1.23.1...v1.24.0)
6+
7+
### Features
8+
9+
* **api:** api update ([413f186](https://github.com/Finch-API/finch-api-python/commit/413f186d7136681b6c7a99fe65255d9ca1fea927))
10+
11+
12+
### Chores
13+
14+
* **ci:** add timeout thresholds for CI jobs ([2371362](https://github.com/Finch-API/finch-api-python/commit/2371362a02516444916f738f2be85d97fdf1297a))
15+
* **internal:** import reformatting ([e3c3f1e](https://github.com/Finch-API/finch-api-python/commit/e3c3f1ea2e693e1732b77b3b392548e77e646190))
16+
317
## 1.23.1 (2025-04-22)
418

519
Full Changelog: [v1.23.0...v1.23.1](https://github.com/Finch-API/finch-api-python/compare/v1.23.0...v1.23.1)

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "finch-api"
3-
version = "1.23.1"
3+
version = "1.24.0"
44
description = "The official Python library for the Finch API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/finch/_client.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@
2121
ProxiesTypes,
2222
RequestOptions,
2323
)
24-
from ._utils import (
25-
is_given,
26-
get_async_library,
27-
)
24+
from ._utils import is_given, get_async_library
2825
from ._version import __version__
2926
from .resources import account, webhooks, providers, access_tokens, request_forwarding
3027
from ._streaming import Stream as Stream, AsyncStream as AsyncStream

src/finch/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "finch"
4-
__version__ = "1.23.1" # x-release-please-version
4+
__version__ = "1.24.0" # x-release-please-version

src/finch/resources/connect/sessions.py

+45-8
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99

1010
from ... import _legacy_response
1111
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
12-
from ..._utils import (
13-
maybe_transform,
14-
async_maybe_transform,
15-
)
12+
from ..._utils import maybe_transform, async_maybe_transform
1613
from ..._compat import cached_property
1714
from ..._resource import SyncAPIResource, AsyncAPIResource
1815
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper
@@ -50,7 +47,18 @@ def new(
5047
customer_id: str,
5148
customer_name: str,
5249
products: List[
53-
Literal["company", "directory", "individual", "employment", "payment", "pay_statement", "benefits", "ssn"]
50+
Literal[
51+
"company",
52+
"directory",
53+
"individual",
54+
"employment",
55+
"payment",
56+
"pay_statement",
57+
"benefits",
58+
"ssn",
59+
"deduction",
60+
"documents",
61+
]
5462
],
5563
customer_email: Optional[str] | NotGiven = NOT_GIVEN,
5664
integration: Optional[session_new_params.Integration] | NotGiven = NOT_GIVEN,
@@ -110,7 +118,16 @@ def reauthenticate(
110118
products: Optional[
111119
List[
112120
Literal[
113-
"company", "directory", "individual", "employment", "payment", "pay_statement", "benefits", "ssn"
121+
"company",
122+
"directory",
123+
"individual",
124+
"employment",
125+
"payment",
126+
"pay_statement",
127+
"benefits",
128+
"ssn",
129+
"deduction",
130+
"documents",
114131
]
115132
]
116133
]
@@ -188,7 +205,18 @@ async def new(
188205
customer_id: str,
189206
customer_name: str,
190207
products: List[
191-
Literal["company", "directory", "individual", "employment", "payment", "pay_statement", "benefits", "ssn"]
208+
Literal[
209+
"company",
210+
"directory",
211+
"individual",
212+
"employment",
213+
"payment",
214+
"pay_statement",
215+
"benefits",
216+
"ssn",
217+
"deduction",
218+
"documents",
219+
]
192220
],
193221
customer_email: Optional[str] | NotGiven = NOT_GIVEN,
194222
integration: Optional[session_new_params.Integration] | NotGiven = NOT_GIVEN,
@@ -248,7 +276,16 @@ async def reauthenticate(
248276
products: Optional[
249277
List[
250278
Literal[
251-
"company", "directory", "individual", "employment", "payment", "pay_statement", "benefits", "ssn"
279+
"company",
280+
"directory",
281+
"individual",
282+
"employment",
283+
"payment",
284+
"pay_statement",
285+
"benefits",
286+
"ssn",
287+
"deduction",
288+
"documents",
252289
]
253290
]
254291
]

src/finch/resources/hris/benefits/benefits.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88

99
from .... import _legacy_response
1010
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
11-
from ...._utils import (
12-
maybe_transform,
13-
async_maybe_transform,
14-
)
11+
from ...._utils import maybe_transform, async_maybe_transform
1512
from ...._compat import cached_property
1613
from .individuals import (
1714
Individuals,

src/finch/resources/hris/benefits/individuals.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88

99
from .... import _legacy_response
1010
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
11-
from ...._utils import (
12-
maybe_transform,
13-
async_maybe_transform,
14-
)
11+
from ...._utils import maybe_transform, async_maybe_transform
1512
from ...._compat import cached_property
1613
from ...._resource import SyncAPIResource, AsyncAPIResource
1714
from ...._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

src/finch/resources/hris/company/pay_statement_item/rules.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99

1010
from ..... import _legacy_response
1111
from ....._types import NOT_GIVEN, Body, Query, Headers, NotGiven
12-
from ....._utils import (
13-
maybe_transform,
14-
async_maybe_transform,
15-
)
12+
from ....._utils import maybe_transform, async_maybe_transform
1613
from ....._compat import cached_property
1714
from ....._resource import SyncAPIResource, AsyncAPIResource
1815
from ....._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

src/finch/resources/hris/documents.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99

1010
from ... import _legacy_response
1111
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
12-
from ..._utils import (
13-
maybe_transform,
14-
async_maybe_transform,
15-
)
12+
from ..._utils import maybe_transform, async_maybe_transform
1613
from ..._compat import cached_property
1714
from ..._resource import SyncAPIResource, AsyncAPIResource
1815
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

src/finch/resources/jobs/automated.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@
88

99
from ... import _legacy_response
1010
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
11-
from ..._utils import (
12-
required_args,
13-
maybe_transform,
14-
async_maybe_transform,
15-
)
11+
from ..._utils import required_args, maybe_transform, async_maybe_transform
1612
from ..._compat import cached_property
1713
from ..._resource import SyncAPIResource, AsyncAPIResource
1814
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

src/finch/resources/request_forwarding.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99
from .. import _legacy_response
1010
from ..types import request_forwarding_forward_params
1111
from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven
12-
from .._utils import (
13-
maybe_transform,
14-
async_maybe_transform,
15-
)
12+
from .._utils import maybe_transform, async_maybe_transform
1613
from .._compat import cached_property
1714
from .._resource import SyncAPIResource, AsyncAPIResource
1815
from .._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

src/finch/resources/sandbox/company.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88

99
from ... import _legacy_response
1010
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
11-
from ..._utils import (
12-
maybe_transform,
13-
async_maybe_transform,
14-
)
11+
from ..._utils import maybe_transform, async_maybe_transform
1512
from ..._compat import cached_property
1613
from ..._resource import SyncAPIResource, AsyncAPIResource
1714
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

src/finch/resources/sandbox/connections/accounts.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99

1010
from .... import _legacy_response
1111
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
12-
from ...._utils import (
13-
maybe_transform,
14-
async_maybe_transform,
15-
)
12+
from ...._utils import maybe_transform, async_maybe_transform
1613
from ...._compat import cached_property
1714
from ...._resource import SyncAPIResource, AsyncAPIResource
1815
from ...._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

src/finch/resources/sandbox/connections/connections.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@
1717
AsyncAccountsWithStreamingResponse,
1818
)
1919
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
20-
from ...._utils import (
21-
maybe_transform,
22-
async_maybe_transform,
23-
)
20+
from ...._utils import maybe_transform, async_maybe_transform
2421
from ...._compat import cached_property
2522
from ...._resource import SyncAPIResource, AsyncAPIResource
2623
from ...._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

src/finch/resources/sandbox/directory.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88

99
from ... import _legacy_response
1010
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
11-
from ..._utils import (
12-
maybe_transform,
13-
async_maybe_transform,
14-
)
11+
from ..._utils import maybe_transform, async_maybe_transform
1512
from ..._compat import cached_property
1613
from ..._resource import SyncAPIResource, AsyncAPIResource
1714
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

src/finch/resources/sandbox/employment.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99

1010
from ... import _legacy_response
1111
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
12-
from ..._utils import (
13-
maybe_transform,
14-
async_maybe_transform,
15-
)
12+
from ..._utils import maybe_transform, async_maybe_transform
1613
from ..._compat import cached_property
1714
from ..._resource import SyncAPIResource, AsyncAPIResource
1815
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

src/finch/resources/sandbox/individual.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99

1010
from ... import _legacy_response
1111
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
12-
from ..._utils import (
13-
maybe_transform,
14-
async_maybe_transform,
15-
)
12+
from ..._utils import maybe_transform, async_maybe_transform
1613
from ..._compat import cached_property
1714
from ..._resource import SyncAPIResource, AsyncAPIResource
1815
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

src/finch/resources/sandbox/jobs/configuration.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88

99
from .... import _legacy_response
1010
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
11-
from ...._utils import (
12-
maybe_transform,
13-
async_maybe_transform,
14-
)
11+
from ...._utils import maybe_transform, async_maybe_transform
1512
from ...._compat import cached_property
1613
from ...._resource import SyncAPIResource, AsyncAPIResource
1714
from ...._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

src/finch/resources/sandbox/jobs/jobs.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88

99
from .... import _legacy_response
1010
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
11-
from ...._utils import (
12-
maybe_transform,
13-
async_maybe_transform,
14-
)
11+
from ...._utils import maybe_transform, async_maybe_transform
1512
from ...._compat import cached_property
1613
from ...._resource import SyncAPIResource, AsyncAPIResource
1714
from ...._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

src/finch/resources/sandbox/payment.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@
88

99
from ... import _legacy_response
1010
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
11-
from ..._utils import (
12-
maybe_transform,
13-
async_maybe_transform,
14-
)
11+
from ..._utils import maybe_transform, async_maybe_transform
1512
from ..._compat import cached_property
1613
from ..._resource import SyncAPIResource, AsyncAPIResource
1714
from ..._response import to_streamed_response_wrapper, async_to_streamed_response_wrapper

src/finch/types/connect/session_new_params.py

+14-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,20 @@ class SessionNewParams(TypedDict, total=False):
1414
customer_name: Required[str]
1515

1616
products: Required[
17-
List[Literal["company", "directory", "individual", "employment", "payment", "pay_statement", "benefits", "ssn"]]
17+
List[
18+
Literal[
19+
"company",
20+
"directory",
21+
"individual",
22+
"employment",
23+
"payment",
24+
"pay_statement",
25+
"benefits",
26+
"ssn",
27+
"deduction",
28+
"documents",
29+
]
30+
]
1831
]
1932

2033
customer_email: Optional[str]

src/finch/types/connect/session_reauthenticate_params.py

+14-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,20 @@ class SessionReauthenticateParams(TypedDict, total=False):
1919
"""
2020

2121
products: Optional[
22-
List[Literal["company", "directory", "individual", "employment", "payment", "pay_statement", "benefits", "ssn"]]
22+
List[
23+
Literal[
24+
"company",
25+
"directory",
26+
"individual",
27+
"employment",
28+
"payment",
29+
"pay_statement",
30+
"benefits",
31+
"ssn",
32+
"deduction",
33+
"documents",
34+
]
35+
]
2336
]
2437
"""The products to request access to (optional for reauthentication)"""
2538

0 commit comments

Comments
 (0)