Skip to content

release: 1.7.0 #509

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 2 commits into from
Oct 3, 2024
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 .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.6.0"
".": "1.7.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 39
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-ea62ee98f625bf64ae053b9d966dfd8a62d7dca686f86e3825b117c53e10ad16.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-6a3981b3fb38fe3ebae980af27e09f31d22db3659699afdd61f336594209ce42.yml
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.7.0 (2024-10-03)

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

### Features

* **api:** api update ([#508](https://github.com/Finch-API/finch-api-python/issues/508)) ([9f99841](https://github.com/Finch-API/finch-api-python/commit/9f99841fe0afefaf51c535b145cebdb013d7e6be))

## 1.6.0 (2024-09-25)

Full Changelog: [v1.5.0...v1.6.0](https://github.com/Finch-API/finch-api-python/compare/v1.5.0...v1.6.0)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "finch-api"
version = "1.6.0"
version = "1.7.0"
description = "The official Python library for the Finch API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/finch/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "finch"
__version__ = "1.6.0" # x-release-please-version
__version__ = "1.7.0" # x-release-please-version
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 10,080, which is 7
minutes_to_expire: The number of minutes until the session expires (defaults to 20,160, which is 14
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 10,080, which is 7
minutes_to_expire: The number of minutes until the session expires (defaults to 20,160, which is 14
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 10,080, which is 7
minutes_to_expire: The number of minutes until the session expires (defaults to 20,160, which is 14
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 10,080, which is 7
minutes_to_expire: The number of minutes until the session expires (defaults to 20,160, which is 14
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 10,080, which is 7
The number of minutes until the session expires (defaults to 20,160, which is 14
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 10,080, which is 7
The number of minutes until the session expires (defaults to 20,160, which is 14
days)
"""

Expand Down
8 changes: 7 additions & 1 deletion src/finch/types/create_access_token_response.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing import List
from typing import List, Optional
from typing_extensions import Literal

from .._models import BaseModel
Expand Down Expand Up @@ -42,3 +42,9 @@ class CreateAccessTokenResponse(BaseModel):

provider_id: str
"""The ID of the provider associated with the `access_token`."""

customer_id: Optional[str] = None
"""
The ID of your customer you provided to Finch when a connect session was created
for this connection.
"""
18 changes: 18 additions & 0 deletions src/finch/types/introspection.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,24 @@ class Introspection(BaseModel):
- `finch` - finch-generated data.
"""

customer_email: Optional[str] = None
"""
The email of your customer you provided to Finch when a connect session was
created for this connection.
"""

customer_id: Optional[str] = None
"""
The ID of your customer you provided to Finch when a connect session was created
for this connection.
"""

customer_name: Optional[str] = None
"""
The name of your customer you provided to Finch when a connect session was
created for this connection.
"""

manual: bool
"""
Whether the connection associated with the `access_token` uses the Assisted
Expand Down