@@ -928,23 +928,23 @@ class OAuthClient(BaseModel):
928928 """Timestamp when the client was last updated"""
929929
930930
931- class CreateOAuthClientParams (TypedDict ):
931+ class CreateOAuthClientParams (BaseModel ):
932932 """
933933 Parameters for creating a new OAuth client.
934934 Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.
935935 """
936936
937937 client_name : str
938938 """Human-readable name of the OAuth client"""
939- client_uri : NotRequired [str ]
939+ client_uri : Optional [str ] = None
940940 """URI of the OAuth client"""
941941 redirect_uris : List [str ]
942942 """Array of allowed redirect URIs"""
943- grant_types : NotRequired [List [OAuthClientGrantType ]]
943+ grant_types : Optional [List [OAuthClientGrantType ]] = None
944944 """Array of allowed grant types (optional, defaults to authorization_code and refresh_token)"""
945- response_types : NotRequired [List [OAuthClientResponseType ]]
945+ response_types : Optional [List [OAuthClientResponseType ]] = None
946946 """Array of allowed response types (optional, defaults to code)"""
947- scope : NotRequired [str ]
947+ scope : Optional [str ] = None
948948 """Scope of the OAuth client"""
949949
950950
@@ -980,14 +980,14 @@ class OAuthClientListResponse(BaseModel):
980980 total : int = 0
981981
982982
983- class PageParams (TypedDict ):
983+ class PageParams (BaseModel ):
984984 """
985985 Pagination parameters.
986986 """
987987
988- page : NotRequired [int ]
988+ page : Optional [int ] = None
989989 """Page number"""
990- per_page : NotRequired [int ]
990+ per_page : Optional [int ] = None
991991 """Number of items per page"""
992992
993993
0 commit comments