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

Lines changed: 110 additions & 80 deletions

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
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

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

.stats.yml

Lines changed: 2 additions & 2 deletions
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

Lines changed: 14 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 4 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 45 additions & 8 deletions
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

Lines changed: 1 addition & 4 deletions
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

Lines changed: 1 addition & 4 deletions
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

0 commit comments

Comments
 (0)