Skip to content

Commit 413f186

Browse files
feat(api): api update
1 parent e3c3f1e commit 413f186

File tree

4 files changed

+74
-8
lines changed

4 files changed

+74
-8
lines changed

.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

src/finch/resources/connect/sessions.py

+44-4
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,18 @@ def new(
4747
customer_id: str,
4848
customer_name: str,
4949
products: List[
50-
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+
]
5162
],
5263
customer_email: Optional[str] | NotGiven = NOT_GIVEN,
5364
integration: Optional[session_new_params.Integration] | NotGiven = NOT_GIVEN,
@@ -107,7 +118,16 @@ def reauthenticate(
107118
products: Optional[
108119
List[
109120
Literal[
110-
"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",
111131
]
112132
]
113133
]
@@ -185,7 +205,18 @@ async def new(
185205
customer_id: str,
186206
customer_name: str,
187207
products: List[
188-
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+
]
189220
],
190221
customer_email: Optional[str] | NotGiven = NOT_GIVEN,
191222
integration: Optional[session_new_params.Integration] | NotGiven = NOT_GIVEN,
@@ -245,7 +276,16 @@ async def reauthenticate(
245276
products: Optional[
246277
List[
247278
Literal[
248-
"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",
249289
]
250290
]
251291
]

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)