diff --git a/proto/zitadel/admin.proto b/proto/zitadel/admin.proto index 760f270e6d..153f3b8f54 100644 --- a/proto/zitadel/admin.proto +++ b/proto/zitadel/admin.proto @@ -6494,48 +6494,48 @@ message SetDefaultInitMessageTextRequest { } ]; string title = 2 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"ZITADEL - Initialize User\"" - max_length: 200; + max_length: 500; } ]; string pre_header = 3 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Initialize User\"" - max_length: 200; + max_length: 500; } ]; string subject = 4 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Initialize User\"" - max_length: 200; + max_length: 500; } ]; string greeting = 5 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Hello {{.FirstName}} {{.LastName}},\"" - max_length: 200; - } - ]; - string text = 6 [ - (validate.rules).string = {max_len: 1000}, - (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { - example: "\"This user was created in Zitadel. Use the username {{.PreferredLoginName}} to log in. Please click the button below to finish the initialization process. (Code {{.Code}}) If you didn't ask for this mail, please ignore it.\"" max_length: 1000; } ]; - string button_text = 7 [ - (validate.rules).string = {max_len: 200}, + string text = 6 [ + (validate.rules).string = {max_bytes: 40000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { - example: "\"Finish initialization\"" - max_length: 200; + example: "\"This user was created in Zitadel. Use the username {{.PreferredLoginName}} to log in. Please click the button below to finish the initialization process. (Code {{.Code}}) If you didn't ask for this mail, please ignore it.\"" + max_length: 10000; } ]; - string footer_text = 8 [(validate.rules).string = {max_len: 200}]; + string button_text = 7 [ + (validate.rules).string = {max_bytes: 4000}, + (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { + example: "\"Finish initialization\"" + max_length: 1000; + } + ]; + string footer_text = 8 [(validate.rules).string = {max_bytes: 8000}]; } message SetDefaultInitMessageTextResponse { @@ -6577,48 +6577,48 @@ message SetDefaultPasswordResetMessageTextRequest { } ]; string title = 2 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"ZITADEL - Reset Password\"" - max_length: 200; + max_length: 500; } ]; string pre_header = 3 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Reset Password\"" - max_length: 200; + max_length: 500; } ]; string subject = 4 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Reset Password\"" - max_length: 200; + max_length: 500; } ]; string greeting = 5 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Hello {{.FirstName}} {{.LastName}},\"" - max_length: 200; + max_length: 1000; } ]; string text = 6 [ - (validate.rules).string = {max_len: 800}, + (validate.rules).string = {max_bytes: 40000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"We received a password reset request. Please use the button below to reset your password. (Code {{.Code}}) If you didn't ask for this mail, please ignore it.\"" - max_length: 800; + max_length: 10000; } ]; string button_text = 7 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Reset Password\"" - max_length: 200; + max_length: 500; } ]; - string footer_text = 8 [(validate.rules).string = {max_len: 200}]; + string footer_text = 8 [(validate.rules).string = {max_bytes: 8000}]; } message SetDefaultPasswordResetMessageTextResponse { @@ -6660,48 +6660,48 @@ message SetDefaultVerifyEmailMessageTextRequest { } ]; string title = 2 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"ZITADEL - Verify Email\"" - max_length: 200; + max_length: 500; } ]; string pre_header = 3 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Verify Email\"" - max_length: 200; + max_length: 500; } ]; string subject = 4 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Verify Email\"" - max_length: 200; + max_length: 500; } ]; string greeting = 5 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Hello {{.FirstName}} {{.LastName}},\"" - max_length: 200; + max_length: 1000; } ]; string text = 6 [ - (validate.rules).string = {max_len: 800}, + (validate.rules).string = {max_bytes: 40000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"A new email has been added. Please use the button below to verify your mail. (Code {{.Code}}) If you didn't add a new email, please ignore this email.\"" - max_length: 800; + max_length: 10000; } ]; string button_text = 7 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Verify Email\"" - max_length: 200; + max_length: 1000; } ]; - string footer_text = 8 [(validate.rules).string = {max_len: 200}]; + string footer_text = 8 [(validate.rules).string = {max_bytes: 8000}]; } message SetDefaultVerifyEmailMessageTextResponse { @@ -6743,31 +6743,31 @@ message SetDefaultVerifyPhoneMessageTextRequest { } ]; string title = 2 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"ZITADEL - Verify Phone\"" - max_length: 200; + max_length: 500; } ]; string pre_header = 3 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Verify Phone\"" - max_length: 200; + max_length: 500; } ]; string subject = 4 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Verify Phone\"" - max_length: 200; + max_length: 500; } ]; string greeting = 5 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Hello {{.FirstName}} {{.LastName}},\"" - max_length: 200; + max_length: 1000; } ]; string text = 6 [ @@ -6778,13 +6778,13 @@ message SetDefaultVerifyPhoneMessageTextRequest { } ]; string button_text = 7 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Verify Phone\"" - max_length: 200; + max_length: 1000; } ]; - string footer_text = 8 [(validate.rules).string = {max_len: 200}]; + string footer_text = 8 [(validate.rules).string = {max_bytes: 8000}]; } message SetDefaultVerifyPhoneMessageTextResponse { @@ -6869,48 +6869,48 @@ message SetDefaultVerifyEmailOTPMessageTextRequest { } ]; string title = 2 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"ZITADEL - One-time Password\"" - max_length: 200; + max_length: 500; } ]; string pre_header = 3 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Verify One-time Password \"" - max_length: 200; + max_length: 500; } ]; string subject = 4 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Verify One-time Password\"" - max_length: 200; + max_length: 500; } ]; string greeting = 5 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Hello {{.FirstName}} {{.LastName}},\"" - max_length: 200; + max_length: 1000; } ]; string text = 6 [ - (validate.rules).string = {max_len: 800}, + (validate.rules).string = {max_bytes: 40000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Please use the \\\"Authenticate\\\" button or copy the one-time password {{.OTP}} and paste it to to the authentication screen in order to authenticate at ZITADEL within the next five minutes.\"" - max_length: 800; + max_length: 10000; } ]; string button_text = 7 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Authenticate\"" - max_length: 200; + max_length: 500; } ]; - string footer_text = 8 [(validate.rules).string = {max_len: 200}]; + string footer_text = 8 [(validate.rules).string = {max_bytes: 8000}]; } message SetDefaultVerifyEmailOTPMessageTextResponse { @@ -6952,48 +6952,48 @@ message SetDefaultDomainClaimedMessageTextRequest { } ]; string title = 2 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"ZITADEL - Domain has been claimed\"" - max_length: 200; + max_length: 500; } ]; string pre_header = 3 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Change email / username\"" - max_length: 200; + max_length: 500; } ]; string subject = 4 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Domain has been claimed\"" - max_length: 200; + max_length: 500; } ]; string greeting = 5 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Hello {{.FirstName}} {{.LastName}},\"" - max_length: 200; + max_length: 1000; } ]; string text = 6 [ - (validate.rules).string = {max_len: 800}, + (validate.rules).string = {max_bytes: 40000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"The domain {{.Domain}} has been claimed by an organization. Your current user {{.UserName}} is not part of this organization. Therefore you'll have to change your email when you log in. We have created a temporary username ({{.TempUsername}}) for this login.\"" - max_length: 800; + max_length: 10000; } ]; string button_text = 7 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Login\"" - max_length: 200; + max_length: 1000; } ]; - string footer_text = 8 [(validate.rules).string = {max_len: 200}]; + string footer_text = 8 [(validate.rules).string = {max_bytes: 8000}]; } message SetDefaultDomainClaimedMessageTextResponse { @@ -7035,48 +7035,48 @@ message SetDefaultPasswordChangeMessageTextRequest { } ]; string title = 2 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"ZITADEL - Password of the user has changed\"" - max_length: 200; + max_length: 500; } ]; string pre_header = 3 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Password Changed\"" - max_length: 200; + max_length: 500; } ]; string subject = 4 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Password of user has changed\"" - max_length: 200; + max_length: 500; } ]; string greeting = 5 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Hello {{.FirstName}} {{.LastName}},\"" - max_length: 200; + max_length: 1000; } ]; string text = 6 [ - (validate.rules).string = {max_len: 800}, + (validate.rules).string = {max_bytes: 40000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"The password of your user has changed, if this change was not done by you, please be advised to immediately reset your password.\"" - max_length: 800; + max_length: 10000; } ]; string button_text = 7 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Login\"" - max_length: 200; + max_length: 1000; } ]; - string footer_text = 8 [(validate.rules).string = {max_len: 200}]; + string footer_text = 8 [(validate.rules).string = {max_len: 8000}]; } message SetDefaultPasswordChangeMessageTextResponse { @@ -7119,48 +7119,48 @@ message SetDefaultPasswordlessRegistrationMessageTextRequest { } ]; string title = 2 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"ZITADEL - Add Passwordless Login\"" - max_length: 200; + max_length: 500; } ]; string pre_header = 3 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Add Passwordless Login\"" - max_length: 200; + max_length: 500; } ]; string subject = 4 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Add Passwordless Login\"" - max_length: 200; + max_length: 500; } ]; string greeting = 5 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Hello {{.FirstName}} {{.LastName}},\"" - max_length: 200; + max_length: 500; } ]; string text = 6 [ - (validate.rules).string = {max_len: 800}, + (validate.rules).string = {max_bytes: 40000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"We received a request to add a token for passwordless login. Please use the button below to add your token or device for passwordless login.\"" - max_length: 800; + max_length: 10000; } ]; string button_text = 7 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Add Passwordless Login\"" - max_length: 200; + max_length: 1000; } ]; - string footer_text = 8 [(validate.rules).string = {max_len: 200}]; + string footer_text = 8 [(validate.rules).string = {max_bytes: 8000}]; } message SetDefaultPasswordlessRegistrationMessageTextResponse { diff --git a/proto/zitadel/management.proto b/proto/zitadel/management.proto index 9f4675dee9..abaf8d6baf 100644 --- a/proto/zitadel/management.proto +++ b/proto/zitadel/management.proto @@ -10599,48 +10599,48 @@ message SetCustomInitMessageTextRequest { } ]; string title = 2 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"ZITADEL - Initialize User\"" - max_length: 200; + max_length: 500; } ]; string pre_header = 3 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Initialize User\"" - max_length: 200; + max_length: 500; } ]; string subject = 4 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Initialize User\"" - max_length: 200; + max_length: 500; } ]; string greeting = 5 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Hello {{.FirstName}} {{.LastName}},\"" - max_length: 200; + max_length: 1000; } ]; string text = 6 [ - (validate.rules).string = {max_len: 800}, + (validate.rules).string = {max_bytes: 40000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"This user was created in Zitadel. Use the username {{.PreferredLoginName}} to log in. Please click the button below to finish the initialization process. (Code {{.Code}}) If you didn't ask for this mail, please ignore it.\"" - max_length: 800; + max_length: 10000; } ]; string button_text = 7 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Finish initialization\"" - max_length: 200; + max_length: 1000; } ]; - string footer_text = 8 [(validate.rules).string = {max_len: 200}]; + string footer_text = 8 [(validate.rules).string = {max_bytes: 8000}]; } message SetCustomInitMessageTextResponse { @@ -10749,48 +10749,48 @@ message SetCustomPasswordResetMessageTextRequest { } ]; string title = 2 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"ZITADEL - Reset Password\"" - max_length: 200; + max_length: 500; } ]; string pre_header = 3 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Reset Password\"" - max_length: 200; + max_length: 500; } ]; string subject = 4 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Reset Password\"" - max_length: 200; + max_length: 500; } ]; string greeting = 5 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Hello {{.FirstName}} {{.LastName}},\"" - max_length: 200; + max_length: 1000; } ]; string text = 6 [ - (validate.rules).string = {max_len: 800}, + (validate.rules).string = {max_bytes: 40000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"We received a password reset request. Please use the button below to reset your password. (Code {{.Code}}) If you didn't ask for this mail, please ignore it.\"" - max_length: 800; + max_length: 10000; } ]; string button_text = 7 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Reset Password\"" - max_length: 200; + max_length: 1000; } ]; - string footer_text = 8 [(validate.rules).string = {max_len: 200}]; + string footer_text = 8 [(validate.rules).string = {max_bytes: 8000}]; } message SetCustomPasswordResetMessageTextResponse { @@ -10829,48 +10829,48 @@ message SetCustomVerifyEmailMessageTextRequest { } ]; string title = 2 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"ZITADEL - Verify Email\"" - max_length: 200; + max_length: 500; } ]; string pre_header = 3 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Verify Email\"" - max_length: 200; + max_length: 500; } ]; string subject = 4 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Verify Email\"" - max_length: 200; + max_length: 500; } ]; string greeting = 5 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Hello {{.FirstName}} {{.LastName}},\"" - max_length: 200; + max_length: 1000; } ]; string text = 6 [ - (validate.rules).string = {max_len: 800}, + (validate.rules).string = {max_bytes: 40000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"A new email has been added. Please use the button below to verify your mail. (Code {{.Code}}) If you didn't add a new email, please ignore this email.\"" - max_length: 800; + max_length: 10000; } ]; string button_text = 7 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Verify Email\"" - max_length: 200; + max_length: 1000; } ]; - string footer_text = 8 [(validate.rules).string = {max_len: 200}]; + string footer_text = 8 [(validate.rules).string = {max_bytes: 8000}]; } message SetCustomVerifyEmailMessageTextResponse { @@ -10909,31 +10909,31 @@ message SetCustomVerifyPhoneMessageTextRequest { } ]; string title = 2 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"ZITADEL - Verify Phone\"" - max_length: 200; + max_length: 500; } ]; string pre_header = 3 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Verify Phone\"" - max_length: 200; + max_length: 500; } ]; string subject = 4 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Verify Phone\"" - max_length: 200; + max_length: 500; } ]; string greeting = 5 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Hello {{.FirstName}} {{.LastName}},\"" - max_length: 200; + max_length: 1000; } ]; string text = 6 [ @@ -10944,13 +10944,13 @@ message SetCustomVerifyPhoneMessageTextRequest { } ]; string button_text = 7 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Verify Phone\"" - max_length: 200; + max_length: 1000; } ]; - string footer_text = 8 [(validate.rules).string = {max_len: 200}]; + string footer_text = 8 [(validate.rules).string = {max_bytes: 8000}]; } message SetCustomVerifyPhoneMessageTextResponse { @@ -11033,48 +11033,48 @@ message SetCustomVerifyEmailOTPMessageTextRequest { } ]; string title = 2 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"ZITADEL - One-time Password\"" - max_length: 200; + max_length: 500; } ]; string pre_header = 3 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Verify One-time Password \"" - max_length: 200; + max_length: 500; } ]; string subject = 4 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Verify One-time Password\"" - max_length: 200; + max_length: 500; } ]; string greeting = 5 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Hello {{.FirstName}} {{.LastName}},\"" - max_length: 200; + max_length: 1000; } ]; string text = 6 [ - (validate.rules).string = {max_len: 800}, + (validate.rules).string = {max_bytes: 40000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Please use the \\\"Authenticate\\\" button or copy the one-time password {{.OTP}} and paste it to to the authentication screen in order to authenticate at ZITADEL within the next five minutes.\"" - max_length: 800; + max_length: 10000; } ]; string button_text = 7 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Authenticate\"" - max_length: 200; + max_length: 1000; } ]; - string footer_text = 8 [(validate.rules).string = {max_len: 200}]; + string footer_text = 8 [(validate.rules).string = {max_bytes: 8000}]; } message SetCustomVerifyEmailOTPMessageTextResponse { @@ -11113,48 +11113,48 @@ message SetCustomDomainClaimedMessageTextRequest { } ]; string title = 2 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"ZITADEL - Domain has been claimed\"" - max_length: 200; + max_length: 500; } ]; string pre_header = 3 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Change email / username\"" - max_length: 200; + max_length: 500; } ]; string subject = 4 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Domain has been claimed\"" - max_length: 200; + max_length: 500; } ]; string greeting = 5 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Hello {{.FirstName}} {{.LastName}},\"" - max_length: 200; + max_length: 1000; } ]; string text = 6 [ - (validate.rules).string = {max_len: 800}, + (validate.rules).string = {max_bytes: 40000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"The domain {{.Domain}} has been claimed by an organization. Your current user {{.UserName}} is not part of this organization. Therefore you'll have to change your email when you log in. We have created a temporary username ({{.TempUsername}}) for this login.\"" - max_length: 800; + max_length: 10000; } ]; string button_text = 7 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Login\"" - max_length: 200; + max_length: 1000; } ]; - string footer_text = 8 [(validate.rules).string = {max_len: 200}]; + string footer_text = 8 [(validate.rules).string = {max_bytes: 8000}]; } message SetCustomDomainClaimedMessageTextResponse { @@ -11194,48 +11194,48 @@ message SetCustomPasswordlessRegistrationMessageTextRequest { } ]; string title = 2 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"ZITADEL - Password of the user has changed\"" - max_length: 200; + max_length: 500; } ]; string pre_header = 3 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Password Changed\"" - max_length: 200; + max_length: 500; } ]; string subject = 4 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Password of user has changed\"" - max_length: 200; + max_length: 500; } ]; string greeting = 5 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Hello {{.FirstName}} {{.LastName}},\"" - max_length: 200; + max_length: 1000; } ]; string text = 6 [ - (validate.rules).string = {max_len: 800}, + (validate.rules).string = {max_bytes: 40000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"The password of your user has changed, if this change was not done by you, please be advised to immediately reset your password.\"" - max_length: 800; + max_length: 10000; } ]; string button_text = 7 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Login\"" - max_length: 200; + max_length: 500; } ]; - string footer_text = 8 [(validate.rules).string = {max_len: 200}]; + string footer_text = 8 [(validate.rules).string = {max_bytes: 8000}]; } message SetCustomPasswordlessRegistrationMessageTextResponse { @@ -11274,48 +11274,48 @@ message SetCustomPasswordChangeMessageTextRequest { } ]; string title = 2 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"ZITADEL - Add Passwordless Login\"" - max_length: 200; + max_length: 500; } ]; string pre_header = 3 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Add Passwordless Login\"" - max_length: 200; + max_length: 500; } ]; string subject = 4 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 2000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Add Passwordless Login\"" - max_length: 200; + max_length: 500; } ]; string greeting = 5 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Hello {{.FirstName}} {{.LastName}},\"" - max_length: 200; + max_length: 1000; } ]; string text = 6 [ - (validate.rules).string = {max_len: 800}, + (validate.rules).string = {max_bytes: 40000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"We received a request to add a token for passwordless login. Please use the button below to add your token or device for passwordless login.\"" - max_length: 800; + max_length: 10000; } ]; string button_text = 7 [ - (validate.rules).string = {max_len: 200}, + (validate.rules).string = {max_bytes: 4000}, (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { example: "\"Add Passwordless Login\"" - max_length: 200; + max_length: 500; } ]; - string footer_text = 8 [(validate.rules).string = {max_len: 200}]; + string footer_text = 8 [(validate.rules).string = {max_bytes: 8000}]; } message SetCustomPasswordChangeMessageTextResponse {