Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion zitadel_client/api/beta_instance_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def _delete_instance_serialize(
def get_instance( self, beta_instance_service_get_instance_request: BetaInstanceServiceGetInstanceRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], Tuple[ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)] ] ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> BetaInstanceServiceGetInstanceResponse:
"""GetInstance

Get Instance Returns the instance in the current context. The instace_id in the input message will be used in the future. Required permissions: - `iam.read`
Get Instance Returns the instance in the current context. The instance_id in the input message will be used in the future. Required permissions: - `iam.read`

:param beta_instance_service_get_instance_request: (required)
:type beta_instance_service_get_instance_request: BetaInstanceServiceGetInstanceRequest
Expand Down
18 changes: 9 additions & 9 deletions zitadel_client/api/user_service_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def __init__(self, api_client=None) -> None:
def add_human_user( self, user_service_add_human_user_request: UserServiceAddHumanUserRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], Tuple[ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)] ] ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> UserServiceAddHumanUserResponse:
"""AddHumanUser

Create a new human user Create/import a new user with the type human. The newly created user will get a verification email if either the email address is not marked as verified and you did not request the verification to be returned.
Create a new human user Deprecated: Use [CreateUser](apis/resources/user_service_v2/user-service-create-user.api.mdx) to create a new user of type human instead. Create/import a new user with the type human. The newly created user will get a verification email if either the email address is not marked as verified and you did not request the verification to be returned.

:param user_service_add_human_user_request: (required)
:type user_service_add_human_user_request: UserServiceAddHumanUserRequest
Expand Down Expand Up @@ -1051,7 +1051,7 @@ def _add_secret_serialize(
def create_invite_code( self, user_service_create_invite_code_request: UserServiceCreateInviteCodeRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], Tuple[ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)] ] ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> UserServiceCreateInviteCodeResponse:
"""CreateInviteCode

Create an invite code for a user Create an invite code for a user to initialize their first authentication method (password, passkeys, IdP) depending on the organization's available methods. If an invite code has been created previously, it's url template and application name will be used as defaults for the new code. The new code will overwrite the previous one and make it invalid.
Create an invite code for a user Create an invite code for a user to initialize their first authentication method (password, passkeys, IdP) depending on the organization's available methods. If an invite code has been created previously, it's url template and application name will be used as defaults for the new code. The new code will overwrite the previous one and make it invalid. Note: It is possible to reissue a new code only when the previous code has expired, or when the user provides a wrong code three or more times during verification.

:param user_service_create_invite_code_request: (required)
:type user_service_create_invite_code_request: UserServiceCreateInviteCodeRequest
Expand Down Expand Up @@ -4634,7 +4634,7 @@ def _remove_personal_access_token_serialize(
def remove_phone( self, user_service_remove_phone_request: UserServiceRemovePhoneRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], Tuple[ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)] ] ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> UserServiceRemovePhoneResponse:
"""RemovePhone

Delete the user phone Delete the phone number of a user.
Delete the user phone Deprecated: [Update the users phone field](apis/resources/user_service_v2/user-service-update-user.api.mdx) to remove the phone number. Delete the phone number of a user.

:param user_service_remove_phone_request: (required)
:type user_service_remove_phone_request: UserServiceRemovePhoneRequest
Expand Down Expand Up @@ -5402,7 +5402,7 @@ def _resend_invite_code_serialize(
def resend_phone_code( self, user_service_resend_phone_code_request: UserServiceResendPhoneCodeRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], Tuple[ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)] ] ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> UserServiceResendPhoneCodeResponse:
"""ResendPhoneCode

Resend code to verify user phone
Resend code to verify user phone number Resend code to verify user phone number.

:param user_service_resend_phone_code_request: (required)
:type user_service_resend_phone_code_request: UserServiceResendPhoneCodeRequest
Expand Down Expand Up @@ -5786,7 +5786,7 @@ def _send_email_code_serialize(
def set_email( self, user_service_set_email_request: UserServiceSetEmailRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], Tuple[ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)] ] ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> UserServiceSetEmailResponse:
"""SetEmail

Change the user email Change the email address of a user. If the state is set to not verified, a verification code will be generated, which can be either returned or sent to the user by email..
Change the user email Deprecated: [Update the users email field](apis/resources/user_service_v2/user-service-update-user.api.mdx). Change the email address of a user. If the state is set to not verified, a verification code will be generated, which can be either returned or sent to the user by email..

:param user_service_set_email_request: (required)
:type user_service_set_email_request: UserServiceSetEmailRequest
Expand Down Expand Up @@ -5914,7 +5914,7 @@ def _set_email_serialize(
def set_password( self, user_service_set_password_request: UserServiceSetPasswordRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], Tuple[ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)] ] ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> UserServiceSetPasswordResponse:
"""SetPassword

Change password Change the password of a user with either a verification code or the current password..
Change password Deprecated: [Update the users password](apis/resources/user_service_v2/user-service-update-user.api.mdx) instead. Change the password of a user with either a verification code or the current password..

:param user_service_set_password_request: (required)
:type user_service_set_password_request: UserServiceSetPasswordRequest
Expand Down Expand Up @@ -6042,7 +6042,7 @@ def _set_password_serialize(
def set_phone( self, user_service_set_phone_request: UserServiceSetPhoneRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], Tuple[ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)] ] ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> UserServiceSetPhoneResponse:
"""SetPhone

Set the user phone Set the phone number of a user. If the state is set to not verified, a verification code will be generated, which can be either returned or sent to the user by sms..
Set the user phone Deprecated: [Update the users phone field](apis/resources/user_service_v2/user-service-update-user.api.mdx). Set the phone number of a user. If the state is set to not verified, a verification code will be generated, which can be either returned or sent to the user by sms..

:param user_service_set_phone_request: (required)
:type user_service_set_phone_request: UserServiceSetPhoneRequest
Expand Down Expand Up @@ -6554,7 +6554,7 @@ def _unlock_user_serialize(
def update_human_user( self, user_service_update_human_user_request: UserServiceUpdateHumanUserRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], Tuple[ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)] ] ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> UserServiceUpdateHumanUserResponse:
"""UpdateHumanUser

Update Human User Update all information from a user..
Update Human User Deprecated: Use [UpdateUser](apis/resources/user_service_v2/user-service-update-user.api.mdx) to update a user of type human instead. Update all information from a user.

:param user_service_update_human_user_request: (required)
:type user_service_update_human_user_request: UserServiceUpdateHumanUserRequest
Expand Down Expand Up @@ -7194,7 +7194,7 @@ def _verify_passkey_registration_serialize(
def verify_phone( self, user_service_verify_phone_request: UserServiceVerifyPhoneRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], Tuple[ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)] ] ] = None, _request_auth: Optional[Dict[StrictStr, Any]] = None, _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> UserServiceVerifyPhoneResponse:
"""VerifyPhone

Verify the phone Verify the phone with the generated code..
Verify the phone number Verify the phone number with the generated code.

:param user_service_verify_phone_request: (required)
:type user_service_verify_phone_request: UserServiceVerifyPhoneRequest
Expand Down
4 changes: 4 additions & 0 deletions zitadel_client/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@
from zitadel_client.models.identity_provider_service_saml_binding import IdentityProviderServiceSAMLBinding
from zitadel_client.models.identity_provider_service_saml_config import IdentityProviderServiceSAMLConfig
from zitadel_client.models.identity_provider_service_saml_name_id_format import IdentityProviderServiceSAMLNameIDFormat
from zitadel_client.models.identity_provider_service_saml_signature_algorithm import IdentityProviderServiceSAMLSignatureAlgorithm
from zitadel_client.models.oidc_service_any import OIDCServiceAny
from zitadel_client.models.oidc_service_auth_request import OIDCServiceAuthRequest
from zitadel_client.models.oidc_service_authorization_error import OIDCServiceAuthorizationError
Expand Down Expand Up @@ -784,6 +785,7 @@
from zitadel_client.models.session_service_delete_session_request import SessionServiceDeleteSessionRequest
from zitadel_client.models.session_service_delete_session_response import SessionServiceDeleteSessionResponse
from zitadel_client.models.session_service_details import SessionServiceDetails
from zitadel_client.models.session_service_expiration_date_query import SessionServiceExpirationDateQuery
from zitadel_client.models.session_service_factors import SessionServiceFactors
from zitadel_client.models.session_service_get_session_request import SessionServiceGetSessionRequest
from zitadel_client.models.session_service_get_session_response import SessionServiceGetSessionResponse
Expand Down Expand Up @@ -884,6 +886,7 @@
from zitadel_client.models.user_service_auth_factor_u2_f import UserServiceAuthFactorU2F
from zitadel_client.models.user_service_auth_factors import UserServiceAuthFactors
from zitadel_client.models.user_service_authentication_method_type import UserServiceAuthenticationMethodType
from zitadel_client.models.user_service_byte_filter_method import UserServiceByteFilterMethod
from zitadel_client.models.user_service_connect_error import UserServiceConnectError
from zitadel_client.models.user_service_create_invite_code_request import UserServiceCreateInviteCodeRequest
from zitadel_client.models.user_service_create_invite_code_response import UserServiceCreateInviteCodeResponse
Expand Down Expand Up @@ -954,6 +957,7 @@
from zitadel_client.models.user_service_metadata import UserServiceMetadata
from zitadel_client.models.user_service_metadata_key_filter import UserServiceMetadataKeyFilter
from zitadel_client.models.user_service_metadata_search_filter import UserServiceMetadataSearchFilter
from zitadel_client.models.user_service_metadata_value_filter import UserServiceMetadataValueFilter
from zitadel_client.models.user_service_nick_name_query import UserServiceNickNameQuery
from zitadel_client.models.user_service_not_query import UserServiceNotQuery
from zitadel_client.models.user_service_notification_type import UserServiceNotificationType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class BetaFeatureServiceImprovedPerformance(str, Enum):
allowed enum values
"""
IMPROVED_PERFORMANCE_UNSPECIFIED = 'IMPROVED_PERFORMANCE_UNSPECIFIED'
IMPROVED_PERFORMANCE_ORG_BY_ID = 'IMPROVED_PERFORMANCE_ORG_BY_ID'
IMPROVED_PERFORMANCE_PROJECT_GRANT = 'IMPROVED_PERFORMANCE_PROJECT_GRANT'
IMPROVED_PERFORMANCE_PROJECT = 'IMPROVED_PERFORMANCE_PROJECT'
IMPROVED_PERFORMANCE_USER_GRANT = 'IMPROVED_PERFORMANCE_USER_GRANT'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,11 @@ class FeatureServiceGetInstanceFeaturesResponse(BaseModel):
improved_performance: Optional[FeatureServiceImprovedPerformanceFeatureFlag] = Field(default=None, alias="improvedPerformance")
debug_oidc_parent_error: Optional[FeatureServiceFeatureFlag] = Field(default=None, alias="debugOidcParentError")
oidc_single_v1_session_termination: Optional[FeatureServiceFeatureFlag] = Field(default=None, alias="oidcSingleV1SessionTermination")
disable_user_token_event: Optional[FeatureServiceFeatureFlag] = Field(default=None, alias="disableUserTokenEvent")
enable_back_channel_logout: Optional[FeatureServiceFeatureFlag] = Field(default=None, alias="enableBackChannelLogout")
login_v2: Optional[FeatureServiceLoginV2FeatureFlag] = Field(default=None, alias="loginV2")
permission_check_v2: Optional[FeatureServiceFeatureFlag] = Field(default=None, alias="permissionCheckV2")
console_use_v2_user_api: Optional[FeatureServiceFeatureFlag] = Field(default=None, alias="consoleUseV2UserApi")
__properties: ClassVar[List[str]] = ["details", "loginDefaultOrg", "userSchema", "oidcTokenExchange", "improvedPerformance", "debugOidcParentError", "oidcSingleV1SessionTermination", "disableUserTokenEvent", "enableBackChannelLogout", "loginV2", "permissionCheckV2", "consoleUseV2UserApi"]
__properties: ClassVar[List[str]] = ["details", "loginDefaultOrg", "userSchema", "oidcTokenExchange", "improvedPerformance", "debugOidcParentError", "oidcSingleV1SessionTermination", "enableBackChannelLogout", "loginV2", "permissionCheckV2", "consoleUseV2UserApi"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -104,9 +103,6 @@ def to_dict(self) -> Dict[str, Any]:
# override the default output from pydantic by calling `to_dict()` of oidc_single_v1_session_termination
if self.oidc_single_v1_session_termination:
_dict['oidcSingleV1SessionTermination'] = self.oidc_single_v1_session_termination.to_dict()
# override the default output from pydantic by calling `to_dict()` of disable_user_token_event
if self.disable_user_token_event:
_dict['disableUserTokenEvent'] = self.disable_user_token_event.to_dict()
# override the default output from pydantic by calling `to_dict()` of enable_back_channel_logout
if self.enable_back_channel_logout:
_dict['enableBackChannelLogout'] = self.enable_back_channel_logout.to_dict()
Expand Down Expand Up @@ -138,7 +134,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"improvedPerformance": FeatureServiceImprovedPerformanceFeatureFlag.from_dict(obj["improvedPerformance"]) if obj.get("improvedPerformance") is not None else None,
"debugOidcParentError": FeatureServiceFeatureFlag.from_dict(obj["debugOidcParentError"]) if obj.get("debugOidcParentError") is not None else None,
"oidcSingleV1SessionTermination": FeatureServiceFeatureFlag.from_dict(obj["oidcSingleV1SessionTermination"]) if obj.get("oidcSingleV1SessionTermination") is not None else None,
"disableUserTokenEvent": FeatureServiceFeatureFlag.from_dict(obj["disableUserTokenEvent"]) if obj.get("disableUserTokenEvent") is not None else None,
"enableBackChannelLogout": FeatureServiceFeatureFlag.from_dict(obj["enableBackChannelLogout"]) if obj.get("enableBackChannelLogout") is not None else None,
"loginV2": FeatureServiceLoginV2FeatureFlag.from_dict(obj["loginV2"]) if obj.get("loginV2") is not None else None,
"permissionCheckV2": FeatureServiceFeatureFlag.from_dict(obj["permissionCheckV2"]) if obj.get("permissionCheckV2") is not None else None,
Expand Down
Loading
Loading