1313
1414from typing import Any , Dict , List , Optional , Tuple , Union
1515
16- from pydantic import Field , StrictFloat , StrictInt , StrictStr , validate_call
16+ from pydantic import Field , StrictStr
17+ from pydantic import validate_call , StrictFloat , StrictInt
1718from typing_extensions import Annotated
1819
1920from zitadel_client .api_client import ApiClient , RequestSerialized
2021from zitadel_client .api_response import ApiResponse
21- from zitadel_client .models .oidc_service_create_callback_body import (
22- OIDCServiceCreateCallbackBody ,
23- )
22+ from zitadel_client .models .oidc_service_create_callback_body import OIDCServiceCreateCallbackBody
2423from zitadel_client .models .v2_create_callback_response import V2CreateCallbackResponse
2524from zitadel_client .models .v2_get_auth_request_response import V2GetAuthRequestResponse
2625from zitadel_client .rest import RESTResponseType
@@ -97,9 +96,9 @@ def create_callback(
9796 )
9897
9998 _response_types_map : Dict [str , Optional [str ]] = {
100- " 200" : "V2CreateCallbackResponse" ,
101- " 403" : "RpcStatus" ,
102- " 404" : "RpcStatus" ,
99+ ' 200' : "V2CreateCallbackResponse" ,
100+ ' 403' : "RpcStatus" ,
101+ ' 404' : "RpcStatus" ,
103102 }
104103 response_data = self .api_client .call_api (
105104 * _param ,
@@ -170,9 +169,9 @@ def create_callback_with_http_info(
170169 )
171170
172171 _response_types_map : Dict [str , Optional [str ]] = {
173- " 200" : "V2CreateCallbackResponse" ,
174- " 403" : "RpcStatus" ,
175- " 404" : "RpcStatus" ,
172+ ' 200' : "V2CreateCallbackResponse" ,
173+ ' 403' : "RpcStatus" ,
174+ ' 404' : "RpcStatus" ,
176175 }
177176 response_data = self .api_client .call_api (
178177 * _param ,
@@ -243,9 +242,9 @@ def create_callback_without_preload_content(
243242 )
244243
245244 _response_types_map : Dict [str , Optional [str ]] = {
246- " 200" : "V2CreateCallbackResponse" ,
247- " 403" : "RpcStatus" ,
248- " 404" : "RpcStatus" ,
245+ ' 200' : "V2CreateCallbackResponse" ,
246+ ' 403' : "RpcStatus" ,
247+ ' 404' : "RpcStatus" ,
249248 }
250249 response_data = self .api_client .call_api (
251250 * _param ,
@@ -280,7 +279,7 @@ def _create_callback_serialize(
280279
281280 # process the path parameters
282281 if auth_request_id is not None :
283- _path_params [" authRequestId" ] = auth_request_id
282+ _path_params [' authRequestId' ] = auth_request_id
284283 # process the query parameters
285284 # process the header parameters
286285 # process the form parameters
@@ -290,35 +289,35 @@ def _create_callback_serialize(
290289
291290
292291 # set the HTTP header `Accept`
293- if " Accept" not in _header_params :
294- _header_params [" Accept" ] = self .api_client .select_header_accept (
292+ if ' Accept' not in _header_params :
293+ _header_params [' Accept' ] = self .api_client .select_header_accept (
295294 [
296- " application/json"
295+ ' application/json'
297296 ]
298297 )
299298
300299 # set the HTTP header `Content-Type`
301300 if _content_type :
302- _header_params [" Content-Type" ] = _content_type
301+ _header_params [' Content-Type' ] = _content_type
303302 else :
304303 _default_content_type = (
305304 self .api_client .select_header_content_type (
306305 [
307- " application/json"
306+ ' application/json'
308307 ]
309308 )
310309 )
311310 if _default_content_type is not None :
312- _header_params [" Content-Type" ] = _default_content_type
311+ _header_params [' Content-Type' ] = _default_content_type
313312
314313 # authentication setting
315314 _auth_settings : List [str ] = [
316- " zitadelAccessToken"
315+ ' zitadelAccessToken'
317316 ]
318317
319318 return self .api_client .param_serialize (
320- method = " POST" ,
321- resource_path = " /v2/oidc/auth_requests/{authRequestId}" ,
319+ method = ' POST' ,
320+ resource_path = ' /v2/oidc/auth_requests/{authRequestId}' ,
322321 path_params = _path_params ,
323322 query_params = _query_params ,
324323 header_params = _header_params ,
@@ -388,9 +387,9 @@ def get_auth_request(
388387 )
389388
390389 _response_types_map : Dict [str , Optional [str ]] = {
391- " 200" : "V2GetAuthRequestResponse" ,
392- " 403" : "RpcStatus" ,
393- " 404" : "RpcStatus" ,
390+ ' 200' : "V2GetAuthRequestResponse" ,
391+ ' 403' : "RpcStatus" ,
392+ ' 404' : "RpcStatus" ,
394393 }
395394 response_data = self .api_client .call_api (
396395 * _param ,
@@ -457,9 +456,9 @@ def get_auth_request_with_http_info(
457456 )
458457
459458 _response_types_map : Dict [str , Optional [str ]] = {
460- " 200" : "V2GetAuthRequestResponse" ,
461- " 403" : "RpcStatus" ,
462- " 404" : "RpcStatus" ,
459+ ' 200' : "V2GetAuthRequestResponse" ,
460+ ' 403' : "RpcStatus" ,
461+ ' 404' : "RpcStatus" ,
463462 }
464463 response_data = self .api_client .call_api (
465464 * _param ,
@@ -526,9 +525,9 @@ def get_auth_request_without_preload_content(
526525 )
527526
528527 _response_types_map : Dict [str , Optional [str ]] = {
529- " 200" : "V2GetAuthRequestResponse" ,
530- " 403" : "RpcStatus" ,
531- " 404" : "RpcStatus" ,
528+ ' 200' : "V2GetAuthRequestResponse" ,
529+ ' 403' : "RpcStatus" ,
530+ ' 404' : "RpcStatus" ,
532531 }
533532 response_data = self .api_client .call_api (
534533 * _param ,
@@ -562,30 +561,30 @@ def _get_auth_request_serialize(
562561
563562 # process the path parameters
564563 if auth_request_id is not None :
565- _path_params [" authRequestId" ] = auth_request_id
564+ _path_params [' authRequestId' ] = auth_request_id
566565 # process the query parameters
567566 # process the header parameters
568567 # process the form parameters
569568 # process the body parameter
570569
571570
572571 # set the HTTP header `Accept`
573- if " Accept" not in _header_params :
574- _header_params [" Accept" ] = self .api_client .select_header_accept (
572+ if ' Accept' not in _header_params :
573+ _header_params [' Accept' ] = self .api_client .select_header_accept (
575574 [
576- " application/json"
575+ ' application/json'
577576 ]
578577 )
579578
580579
581580 # authentication setting
582581 _auth_settings : List [str ] = [
583- " zitadelAccessToken"
582+ ' zitadelAccessToken'
584583 ]
585584
586585 return self .api_client .param_serialize (
587- method = " GET" ,
588- resource_path = " /v2/oidc/auth_requests/{authRequestId}" ,
586+ method = ' GET' ,
587+ resource_path = ' /v2/oidc/auth_requests/{authRequestId}' ,
589588 path_params = _path_params ,
590589 query_params = _query_params ,
591590 header_params = _header_params ,
0 commit comments