From ea473e28128f35c7e41e25729756732afcb8fc52 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 21:26:18 +0000 Subject: [PATCH] feat(api): api update --- .stats.yml | 2 +- src/finch/types/create_access_token_response.py | 3 +++ src/finch/types/sandbox/connection_create_response.py | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 82602177..0665a55d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 39 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-134e5b4a91099c403b3937d93a32369acc1858c784f4f5842d63d6c426b33642.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch%2Ffinch-8782658ecd57622a964238df7b5dd997ac63789f8220852660ecf32fa115296b.yml diff --git a/src/finch/types/create_access_token_response.py b/src/finch/types/create_access_token_response.py index 2a1b685a..c443de74 100644 --- a/src/finch/types/create_access_token_response.py +++ b/src/finch/types/create_access_token_response.py @@ -48,3 +48,6 @@ class CreateAccessTokenResponse(BaseModel): The ID of your customer you provided to Finch when a connect session was created for this connection. """ + + token_type: Optional[str] = None + """The RFC 8693 token type (Finch uses `bearer` tokens)""" diff --git a/src/finch/types/sandbox/connection_create_response.py b/src/finch/types/sandbox/connection_create_response.py index 1eac9e87..fd314016 100644 --- a/src/finch/types/sandbox/connection_create_response.py +++ b/src/finch/types/sandbox/connection_create_response.py @@ -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 @@ -26,3 +26,5 @@ class ConnectionCreateResponse(BaseModel): provider_id: str """The ID of the provider associated with the `access_token`.""" + + token_type: Optional[str] = None