Skip to content

feat(api): api update #582

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 41
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-0ff5b707b4e3afcf4020e2d4b71bb4d4cfb25eac2828d6de5bee8d4d5d81550d.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-9c0b41ca8713a9440c624b0d08de0e6cbd9486978188afab2286ae67d8a97817.yml
8 changes: 4 additions & 4 deletions src/finch/resources/connect/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def new(
Create a new connect session for an employer

Args:
minutes_to_expire: The number of minutes until the session expires (defaults to 20,160, which is 14
minutes_to_expire: The number of minutes until the session expires (defaults to 43,200, which is 30
days)

extra_headers: Send extra headers
Expand Down Expand Up @@ -129,7 +129,7 @@ def reauthenticate(
Args:
connection_id: The ID of the existing connection to reauthenticate

minutes_to_expire: The number of minutes until the session expires (defaults to 20,160, which is 14
minutes_to_expire: The number of minutes until the session expires (defaults to 43,200, which is 30
days)

products: The products to request access to (optional for reauthentication)
Expand Down Expand Up @@ -207,7 +207,7 @@ async def new(
Create a new connect session for an employer

Args:
minutes_to_expire: The number of minutes until the session expires (defaults to 20,160, which is 14
minutes_to_expire: The number of minutes until the session expires (defaults to 43,200, which is 30
days)

extra_headers: Send extra headers
Expand Down Expand Up @@ -267,7 +267,7 @@ async def reauthenticate(
Args:
connection_id: The ID of the existing connection to reauthenticate

minutes_to_expire: The number of minutes until the session expires (defaults to 20,160, which is 14
minutes_to_expire: The number of minutes until the session expires (defaults to 43,200, which is 30
days)

products: The products to request access to (optional for reauthentication)
Expand Down
2 changes: 1 addition & 1 deletion src/finch/types/connect/session_new_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class SessionNewParams(TypedDict, total=False):

minutes_to_expire: Optional[float]
"""
The number of minutes until the session expires (defaults to 20,160, which is 14
The number of minutes until the session expires (defaults to 43,200, which is 30
days)
"""

Expand Down
2 changes: 1 addition & 1 deletion src/finch/types/connect/session_reauthenticate_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class SessionReauthenticateParams(TypedDict, total=False):

minutes_to_expire: Optional[int]
"""
The number of minutes until the session expires (defaults to 20,160, which is 14
The number of minutes until the session expires (defaults to 43,200, which is 30
days)
"""

Expand Down