diff --git a/.stats.yml b/.stats.yml index 3af4b464..70538c9e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 35 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch-f3cab810772df12f57fc7a4a7e27e4fa6fb4a8022fd52178b5116b4089f0544b.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch-55ff507660a4f8b4a1809ca01861098c7bc72e8e6ea038fb3aa8c0a3b9a954e2.yml diff --git a/src/finch/types/introspection.py b/src/finch/types/introspection.py index b5c34216..888dd7c4 100644 --- a/src/finch/types/introspection.py +++ b/src/finch/types/introspection.py @@ -6,17 +6,17 @@ from .._models import BaseModel from .shared.connection_status_type import ConnectionStatusType -__all__ = ["Introspection", "AuthenticationMethods", "AuthenticationMethodsConnectionStatus"] +__all__ = ["Introspection", "AuthenticationMethod", "AuthenticationMethodConnectionStatus"] -class AuthenticationMethodsConnectionStatus(BaseModel): +class AuthenticationMethodConnectionStatus(BaseModel): message: Optional[str] = None status: Optional[ConnectionStatusType] = None -class AuthenticationMethods(BaseModel): - connection_status: Optional[AuthenticationMethodsConnectionStatus] = None +class AuthenticationMethod(BaseModel): + connection_status: Optional[AuthenticationMethodConnectionStatus] = None type: Optional[str] = None @@ -25,7 +25,7 @@ class Introspection(BaseModel): account_id: str """The Finch uuid of the account used to connect this company.""" - authentication_methods: AuthenticationMethods + authentication_methods: List[AuthenticationMethod] client_id: str """The client id of the application associated with the `access_token`."""