Skip to content

Commit

Permalink
fix(api): correct authentication methods type (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed May 13, 2024
1 parent fa53eb7 commit bcf80af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 5 additions & 5 deletions src/finch/types/introspection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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`."""
Expand Down

0 comments on commit bcf80af

Please sign in to comment.