From ce37699043ab07377c498b56bf6aa335a74e8de5 Mon Sep 17 00:00:00 2001 From: Mridang Agarwalla Date: Sun, 6 Jul 2025 10:31:19 +0530 Subject: [PATCH] feat(sdk): generate SDK for version v3.3.0 --- zitadel_client/api/feature_service_api.py | 26 ---- zitadel_client/api/session_service_api.py | 4 +- zitadel_client/api/user_service_api.py | 159 ++-------------------- 3 files changed, 10 insertions(+), 179 deletions(-) diff --git a/zitadel_client/api/feature_service_api.py b/zitadel_client/api/feature_service_api.py index 51b911f2..e246abeb 100644 --- a/zitadel_client/api/feature_service_api.py +++ b/zitadel_client/api/feature_service_api.py @@ -1060,19 +1060,6 @@ def __feature_service_set_organization_features_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -1290,19 +1277,6 @@ def __feature_service_set_user_features_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ diff --git a/zitadel_client/api/session_service_api.py b/zitadel_client/api/session_service_api.py index c1dff5e8..71f9a0ac 100644 --- a/zitadel_client/api/session_service_api.py +++ b/zitadel_client/api/session_service_api.py @@ -355,9 +355,9 @@ def __session_service_get_session_serialize( _path_params['sessionId'] = session_id # process the query parameters if session_token is not None: - + _query_params.append(('sessionToken', session_token)) - + # process the header parameters # process the form parameters # process the body parameter diff --git a/zitadel_client/api/user_service_api.py b/zitadel_client/api/user_service_api.py index 25b1e441..66198d19 100644 --- a/zitadel_client/api/user_service_api.py +++ b/zitadel_client/api/user_service_api.py @@ -422,19 +422,6 @@ def __user_service_add_otp_email_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -537,19 +524,6 @@ def __user_service_add_otpsms_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -896,19 +870,6 @@ def __user_service_deactivate_user_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -1215,19 +1176,6 @@ def __user_service_human_mfa_init_skipped_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -1329,13 +1277,13 @@ def __user_service_list_authentication_factors_serialize( _path_params['userId'] = user_id # process the query parameters if auth_factors is not None: - + _query_params.append(('authFactors', auth_factors)) - + if states is not None: - + _query_params.append(('states', states)) - + # process the header parameters # process the form parameters # process the body parameter @@ -1449,13 +1397,13 @@ def __user_service_list_authentication_method_types_serialize( _path_params['userId'] = user_id # process the query parameters if domain_query_include_without_domain is not None: - + _query_params.append(('domainQuery.includeWithoutDomain', domain_query_include_without_domain)) - + if domain_query_domain is not None: - + _query_params.append(('domainQuery.domain', domain_query_domain)) - + # process the header parameters # process the form parameters # process the body parameter @@ -1693,19 +1641,6 @@ def __user_service_list_passkeys_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -1924,19 +1859,6 @@ def __user_service_lock_user_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -2161,19 +2083,6 @@ def __user_service_reactivate_user_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -2398,19 +2307,6 @@ def __user_service_register_totp_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -2649,19 +2545,6 @@ def __user_service_remove_idp_link_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -3077,19 +2960,6 @@ def __user_service_remove_phone_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -4475,19 +4345,6 @@ def __user_service_unlock_user_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [