fix: extend message text lengths and change to bytes (#6429)

* fix: extend message text lengths and change to bytes

* fix: change phone message text length

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
Fabi 2023-09-07 16:30:14 +02:00 committed by GitHub
parent 62d679e553
commit 8c444a8442
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 210 additions and 210 deletions

View File

@ -6494,48 +6494,48 @@ message SetDefaultInitMessageTextRequest {
} }
]; ];
string title = 2 [ string title = 2 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"ZITADEL - Initialize User\"" example: "\"ZITADEL - Initialize User\""
max_length: 200; max_length: 500;
} }
]; ];
string pre_header = 3 [ string pre_header = 3 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Initialize User\"" example: "\"Initialize User\""
max_length: 200; max_length: 500;
} }
]; ];
string subject = 4 [ string subject = 4 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Initialize User\"" example: "\"Initialize User\""
max_length: 200; max_length: 500;
} }
]; ];
string greeting = 5 [ string greeting = 5 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Hello {{.FirstName}} {{.LastName}},\"" 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; max_length: 1000;
} }
]; ];
string button_text = 7 [ string text = 6 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 40000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Finish initialization\"" 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: 200; 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 { message SetDefaultInitMessageTextResponse {
@ -6577,48 +6577,48 @@ message SetDefaultPasswordResetMessageTextRequest {
} }
]; ];
string title = 2 [ string title = 2 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"ZITADEL - Reset Password\"" example: "\"ZITADEL - Reset Password\""
max_length: 200; max_length: 500;
} }
]; ];
string pre_header = 3 [ string pre_header = 3 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Reset Password\"" example: "\"Reset Password\""
max_length: 200; max_length: 500;
} }
]; ];
string subject = 4 [ string subject = 4 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Reset Password\"" example: "\"Reset Password\""
max_length: 200; max_length: 500;
} }
]; ];
string greeting = 5 [ string greeting = 5 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Hello {{.FirstName}} {{.LastName}},\"" example: "\"Hello {{.FirstName}} {{.LastName}},\""
max_length: 200; max_length: 1000;
} }
]; ];
string text = 6 [ string text = 6 [
(validate.rules).string = {max_len: 800}, (validate.rules).string = {max_bytes: 40000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (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.\"" 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 [ string button_text = 7 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Reset Password\"" 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 { message SetDefaultPasswordResetMessageTextResponse {
@ -6660,48 +6660,48 @@ message SetDefaultVerifyEmailMessageTextRequest {
} }
]; ];
string title = 2 [ string title = 2 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"ZITADEL - Verify Email\"" example: "\"ZITADEL - Verify Email\""
max_length: 200; max_length: 500;
} }
]; ];
string pre_header = 3 [ string pre_header = 3 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Verify Email\"" example: "\"Verify Email\""
max_length: 200; max_length: 500;
} }
]; ];
string subject = 4 [ string subject = 4 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Verify Email\"" example: "\"Verify Email\""
max_length: 200; max_length: 500;
} }
]; ];
string greeting = 5 [ string greeting = 5 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Hello {{.FirstName}} {{.LastName}},\"" example: "\"Hello {{.FirstName}} {{.LastName}},\""
max_length: 200; max_length: 1000;
} }
]; ];
string text = 6 [ string text = 6 [
(validate.rules).string = {max_len: 800}, (validate.rules).string = {max_bytes: 40000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (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.\"" 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 [ string button_text = 7 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Verify Email\"" 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 { message SetDefaultVerifyEmailMessageTextResponse {
@ -6743,31 +6743,31 @@ message SetDefaultVerifyPhoneMessageTextRequest {
} }
]; ];
string title = 2 [ string title = 2 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"ZITADEL - Verify Phone\"" example: "\"ZITADEL - Verify Phone\""
max_length: 200; max_length: 500;
} }
]; ];
string pre_header = 3 [ string pre_header = 3 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Verify Phone\"" example: "\"Verify Phone\""
max_length: 200; max_length: 500;
} }
]; ];
string subject = 4 [ string subject = 4 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Verify Phone\"" example: "\"Verify Phone\""
max_length: 200; max_length: 500;
} }
]; ];
string greeting = 5 [ string greeting = 5 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Hello {{.FirstName}} {{.LastName}},\"" example: "\"Hello {{.FirstName}} {{.LastName}},\""
max_length: 200; max_length: 1000;
} }
]; ];
string text = 6 [ string text = 6 [
@ -6778,13 +6778,13 @@ message SetDefaultVerifyPhoneMessageTextRequest {
} }
]; ];
string button_text = 7 [ string button_text = 7 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Verify Phone\"" 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 { message SetDefaultVerifyPhoneMessageTextResponse {
@ -6869,48 +6869,48 @@ message SetDefaultVerifyEmailOTPMessageTextRequest {
} }
]; ];
string title = 2 [ string title = 2 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"ZITADEL - One-time Password\"" example: "\"ZITADEL - One-time Password\""
max_length: 200; max_length: 500;
} }
]; ];
string pre_header = 3 [ string pre_header = 3 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Verify One-time Password \"" example: "\"Verify One-time Password \""
max_length: 200; max_length: 500;
} }
]; ];
string subject = 4 [ string subject = 4 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Verify One-time Password\"" example: "\"Verify One-time Password\""
max_length: 200; max_length: 500;
} }
]; ];
string greeting = 5 [ string greeting = 5 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Hello {{.FirstName}} {{.LastName}},\"" example: "\"Hello {{.FirstName}} {{.LastName}},\""
max_length: 200; max_length: 1000;
} }
]; ];
string text = 6 [ string text = 6 [
(validate.rules).string = {max_len: 800}, (validate.rules).string = {max_bytes: 40000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (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.\"" 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 [ string button_text = 7 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Authenticate\"" 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 { message SetDefaultVerifyEmailOTPMessageTextResponse {
@ -6952,48 +6952,48 @@ message SetDefaultDomainClaimedMessageTextRequest {
} }
]; ];
string title = 2 [ string title = 2 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"ZITADEL - Domain has been claimed\"" example: "\"ZITADEL - Domain has been claimed\""
max_length: 200; max_length: 500;
} }
]; ];
string pre_header = 3 [ string pre_header = 3 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Change email / username\"" example: "\"Change email / username\""
max_length: 200; max_length: 500;
} }
]; ];
string subject = 4 [ string subject = 4 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Domain has been claimed\"" example: "\"Domain has been claimed\""
max_length: 200; max_length: 500;
} }
]; ];
string greeting = 5 [ string greeting = 5 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Hello {{.FirstName}} {{.LastName}},\"" example: "\"Hello {{.FirstName}} {{.LastName}},\""
max_length: 200; max_length: 1000;
} }
]; ];
string text = 6 [ string text = 6 [
(validate.rules).string = {max_len: 800}, (validate.rules).string = {max_bytes: 40000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (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.\"" 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 [ string button_text = 7 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Login\"" 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 { message SetDefaultDomainClaimedMessageTextResponse {
@ -7035,48 +7035,48 @@ message SetDefaultPasswordChangeMessageTextRequest {
} }
]; ];
string title = 2 [ string title = 2 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"ZITADEL - Password of the user has changed\"" example: "\"ZITADEL - Password of the user has changed\""
max_length: 200; max_length: 500;
} }
]; ];
string pre_header = 3 [ string pre_header = 3 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Password Changed\"" example: "\"Password Changed\""
max_length: 200; max_length: 500;
} }
]; ];
string subject = 4 [ string subject = 4 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Password of user has changed\"" example: "\"Password of user has changed\""
max_length: 200; max_length: 500;
} }
]; ];
string greeting = 5 [ string greeting = 5 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Hello {{.FirstName}} {{.LastName}},\"" example: "\"Hello {{.FirstName}} {{.LastName}},\""
max_length: 200; max_length: 1000;
} }
]; ];
string text = 6 [ string text = 6 [
(validate.rules).string = {max_len: 800}, (validate.rules).string = {max_bytes: 40000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (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.\"" 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 [ string button_text = 7 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Login\"" 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 { message SetDefaultPasswordChangeMessageTextResponse {
@ -7119,48 +7119,48 @@ message SetDefaultPasswordlessRegistrationMessageTextRequest {
} }
]; ];
string title = 2 [ string title = 2 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"ZITADEL - Add Passwordless Login\"" example: "\"ZITADEL - Add Passwordless Login\""
max_length: 200; max_length: 500;
} }
]; ];
string pre_header = 3 [ string pre_header = 3 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Add Passwordless Login\"" example: "\"Add Passwordless Login\""
max_length: 200; max_length: 500;
} }
]; ];
string subject = 4 [ string subject = 4 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Add Passwordless Login\"" example: "\"Add Passwordless Login\""
max_length: 200; max_length: 500;
} }
]; ];
string greeting = 5 [ string greeting = 5 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Hello {{.FirstName}} {{.LastName}},\"" example: "\"Hello {{.FirstName}} {{.LastName}},\""
max_length: 200; max_length: 500;
} }
]; ];
string text = 6 [ string text = 6 [
(validate.rules).string = {max_len: 800}, (validate.rules).string = {max_bytes: 40000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (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.\"" 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 [ string button_text = 7 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Add Passwordless Login\"" 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 { message SetDefaultPasswordlessRegistrationMessageTextResponse {

View File

@ -10599,48 +10599,48 @@ message SetCustomInitMessageTextRequest {
} }
]; ];
string title = 2 [ string title = 2 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"ZITADEL - Initialize User\"" example: "\"ZITADEL - Initialize User\""
max_length: 200; max_length: 500;
} }
]; ];
string pre_header = 3 [ string pre_header = 3 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Initialize User\"" example: "\"Initialize User\""
max_length: 200; max_length: 500;
} }
]; ];
string subject = 4 [ string subject = 4 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Initialize User\"" example: "\"Initialize User\""
max_length: 200; max_length: 500;
} }
]; ];
string greeting = 5 [ string greeting = 5 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Hello {{.FirstName}} {{.LastName}},\"" example: "\"Hello {{.FirstName}} {{.LastName}},\""
max_length: 200; max_length: 1000;
} }
]; ];
string text = 6 [ string text = 6 [
(validate.rules).string = {max_len: 800}, (validate.rules).string = {max_bytes: 40000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (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.\"" 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 [ string button_text = 7 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Finish initialization\"" 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 { message SetCustomInitMessageTextResponse {
@ -10749,48 +10749,48 @@ message SetCustomPasswordResetMessageTextRequest {
} }
]; ];
string title = 2 [ string title = 2 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"ZITADEL - Reset Password\"" example: "\"ZITADEL - Reset Password\""
max_length: 200; max_length: 500;
} }
]; ];
string pre_header = 3 [ string pre_header = 3 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Reset Password\"" example: "\"Reset Password\""
max_length: 200; max_length: 500;
} }
]; ];
string subject = 4 [ string subject = 4 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Reset Password\"" example: "\"Reset Password\""
max_length: 200; max_length: 500;
} }
]; ];
string greeting = 5 [ string greeting = 5 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Hello {{.FirstName}} {{.LastName}},\"" example: "\"Hello {{.FirstName}} {{.LastName}},\""
max_length: 200; max_length: 1000;
} }
]; ];
string text = 6 [ string text = 6 [
(validate.rules).string = {max_len: 800}, (validate.rules).string = {max_bytes: 40000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (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.\"" 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 [ string button_text = 7 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Reset Password\"" 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 { message SetCustomPasswordResetMessageTextResponse {
@ -10829,48 +10829,48 @@ message SetCustomVerifyEmailMessageTextRequest {
} }
]; ];
string title = 2 [ string title = 2 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"ZITADEL - Verify Email\"" example: "\"ZITADEL - Verify Email\""
max_length: 200; max_length: 500;
} }
]; ];
string pre_header = 3 [ string pre_header = 3 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Verify Email\"" example: "\"Verify Email\""
max_length: 200; max_length: 500;
} }
]; ];
string subject = 4 [ string subject = 4 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Verify Email\"" example: "\"Verify Email\""
max_length: 200; max_length: 500;
} }
]; ];
string greeting = 5 [ string greeting = 5 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Hello {{.FirstName}} {{.LastName}},\"" example: "\"Hello {{.FirstName}} {{.LastName}},\""
max_length: 200; max_length: 1000;
} }
]; ];
string text = 6 [ string text = 6 [
(validate.rules).string = {max_len: 800}, (validate.rules).string = {max_bytes: 40000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (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.\"" 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 [ string button_text = 7 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Verify Email\"" 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 { message SetCustomVerifyEmailMessageTextResponse {
@ -10909,31 +10909,31 @@ message SetCustomVerifyPhoneMessageTextRequest {
} }
]; ];
string title = 2 [ string title = 2 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"ZITADEL - Verify Phone\"" example: "\"ZITADEL - Verify Phone\""
max_length: 200; max_length: 500;
} }
]; ];
string pre_header = 3 [ string pre_header = 3 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Verify Phone\"" example: "\"Verify Phone\""
max_length: 200; max_length: 500;
} }
]; ];
string subject = 4 [ string subject = 4 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Verify Phone\"" example: "\"Verify Phone\""
max_length: 200; max_length: 500;
} }
]; ];
string greeting = 5 [ string greeting = 5 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Hello {{.FirstName}} {{.LastName}},\"" example: "\"Hello {{.FirstName}} {{.LastName}},\""
max_length: 200; max_length: 1000;
} }
]; ];
string text = 6 [ string text = 6 [
@ -10944,13 +10944,13 @@ message SetCustomVerifyPhoneMessageTextRequest {
} }
]; ];
string button_text = 7 [ string button_text = 7 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Verify Phone\"" 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 { message SetCustomVerifyPhoneMessageTextResponse {
@ -11033,48 +11033,48 @@ message SetCustomVerifyEmailOTPMessageTextRequest {
} }
]; ];
string title = 2 [ string title = 2 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"ZITADEL - One-time Password\"" example: "\"ZITADEL - One-time Password\""
max_length: 200; max_length: 500;
} }
]; ];
string pre_header = 3 [ string pre_header = 3 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Verify One-time Password \"" example: "\"Verify One-time Password \""
max_length: 200; max_length: 500;
} }
]; ];
string subject = 4 [ string subject = 4 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Verify One-time Password\"" example: "\"Verify One-time Password\""
max_length: 200; max_length: 500;
} }
]; ];
string greeting = 5 [ string greeting = 5 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Hello {{.FirstName}} {{.LastName}},\"" example: "\"Hello {{.FirstName}} {{.LastName}},\""
max_length: 200; max_length: 1000;
} }
]; ];
string text = 6 [ string text = 6 [
(validate.rules).string = {max_len: 800}, (validate.rules).string = {max_bytes: 40000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (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.\"" 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 [ string button_text = 7 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Authenticate\"" 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 { message SetCustomVerifyEmailOTPMessageTextResponse {
@ -11113,48 +11113,48 @@ message SetCustomDomainClaimedMessageTextRequest {
} }
]; ];
string title = 2 [ string title = 2 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"ZITADEL - Domain has been claimed\"" example: "\"ZITADEL - Domain has been claimed\""
max_length: 200; max_length: 500;
} }
]; ];
string pre_header = 3 [ string pre_header = 3 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Change email / username\"" example: "\"Change email / username\""
max_length: 200; max_length: 500;
} }
]; ];
string subject = 4 [ string subject = 4 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Domain has been claimed\"" example: "\"Domain has been claimed\""
max_length: 200; max_length: 500;
} }
]; ];
string greeting = 5 [ string greeting = 5 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Hello {{.FirstName}} {{.LastName}},\"" example: "\"Hello {{.FirstName}} {{.LastName}},\""
max_length: 200; max_length: 1000;
} }
]; ];
string text = 6 [ string text = 6 [
(validate.rules).string = {max_len: 800}, (validate.rules).string = {max_bytes: 40000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (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.\"" 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 [ string button_text = 7 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Login\"" 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 { message SetCustomDomainClaimedMessageTextResponse {
@ -11194,48 +11194,48 @@ message SetCustomPasswordlessRegistrationMessageTextRequest {
} }
]; ];
string title = 2 [ string title = 2 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"ZITADEL - Password of the user has changed\"" example: "\"ZITADEL - Password of the user has changed\""
max_length: 200; max_length: 500;
} }
]; ];
string pre_header = 3 [ string pre_header = 3 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Password Changed\"" example: "\"Password Changed\""
max_length: 200; max_length: 500;
} }
]; ];
string subject = 4 [ string subject = 4 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Password of user has changed\"" example: "\"Password of user has changed\""
max_length: 200; max_length: 500;
} }
]; ];
string greeting = 5 [ string greeting = 5 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Hello {{.FirstName}} {{.LastName}},\"" example: "\"Hello {{.FirstName}} {{.LastName}},\""
max_length: 200; max_length: 1000;
} }
]; ];
string text = 6 [ string text = 6 [
(validate.rules).string = {max_len: 800}, (validate.rules).string = {max_bytes: 40000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (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.\"" 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 [ string button_text = 7 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Login\"" 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 { message SetCustomPasswordlessRegistrationMessageTextResponse {
@ -11274,48 +11274,48 @@ message SetCustomPasswordChangeMessageTextRequest {
} }
]; ];
string title = 2 [ string title = 2 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"ZITADEL - Add Passwordless Login\"" example: "\"ZITADEL - Add Passwordless Login\""
max_length: 200; max_length: 500;
} }
]; ];
string pre_header = 3 [ string pre_header = 3 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Add Passwordless Login\"" example: "\"Add Passwordless Login\""
max_length: 200; max_length: 500;
} }
]; ];
string subject = 4 [ string subject = 4 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 2000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Add Passwordless Login\"" example: "\"Add Passwordless Login\""
max_length: 200; max_length: 500;
} }
]; ];
string greeting = 5 [ string greeting = 5 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Hello {{.FirstName}} {{.LastName}},\"" example: "\"Hello {{.FirstName}} {{.LastName}},\""
max_length: 200; max_length: 1000;
} }
]; ];
string text = 6 [ string text = 6 [
(validate.rules).string = {max_len: 800}, (validate.rules).string = {max_bytes: 40000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (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.\"" 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 [ string button_text = 7 [
(validate.rules).string = {max_len: 200}, (validate.rules).string = {max_bytes: 4000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"Add Passwordless Login\"" 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 { message SetCustomPasswordChangeMessageTextResponse {