chore: auto-generate protobuf files [skip ci]

This commit is contained in:
github-actions[bot]
2026-04-13 20:28:00 +00:00
parent ac1252253a
commit 54d47b1747
2 changed files with 12 additions and 2 deletions

View File

@@ -84,6 +84,7 @@ func (x *Verify2FaRequest) GetTelegramCode() string {
type Verify2FaResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
ReserveCodes []string `protobuf:"bytes,5,rep,name=reserve_codes,json=reserveCodes,proto3" json:"reserve_codes,omitempty"`
@@ -128,6 +129,13 @@ func (x *Verify2FaResponse) GetAccessToken() string {
return ""
}
func (x *Verify2FaResponse) GetRefreshToken() string {
if x != nil {
return x.RefreshToken
}
return ""
}
func (x *Verify2FaResponse) GetStatus() string {
if x != nil {
return x.Status
@@ -961,9 +969,10 @@ const file_sso_twofa_proto_rawDesc = "" +
"\rtelegram_code\x18\x03 \x01(\tH\x01R\ftelegramCode\x88\x01\x01B\f\n" +
"\n" +
"_totp_codeB\x10\n" +
"\x0e_telegram_code\"\x8d\x01\n" +
"\x0e_telegram_code\"\xb2\x01\n" +
"\x11Verify2FaResponse\x12!\n" +
"\faccess_token\x18\x01 \x01(\tR\vaccessToken\x12\x16\n" +
"\faccess_token\x18\x01 \x01(\tR\vaccessToken\x12#\n" +
"\rrefresh_token\x18\x02 \x01(\tR\frefreshToken\x12\x16\n" +
"\x06status\x18\x03 \x01(\tR\x06status\x12\x18\n" +
"\amessage\x18\x04 \x01(\tR\amessage\x12#\n" +
"\rreserve_codes\x18\x05 \x03(\tR\freserveCodes\"?\n" +

View File

@@ -19,6 +19,7 @@ export interface Verify2FaRequest {
export interface Verify2FaResponse {
accessToken: string;
refreshToken: string;
status: string;
message: string;
reserveCodes: string[];