From 54d47b17477cb8920446019a39236a149648edb8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 13 Apr 2026 20:28:00 +0000 Subject: [PATCH] chore: auto-generate protobuf files [skip ci] --- gen/go/sso/twofa.pb.go | 13 +++++++++++-- gen/sso/twofa.ts | 1 + 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gen/go/sso/twofa.pb.go b/gen/go/sso/twofa.pb.go index 40e8b69..eb3f020 100644 --- a/gen/go/sso/twofa.pb.go +++ b/gen/go/sso/twofa.pb.go @@ -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" + diff --git a/gen/sso/twofa.ts b/gen/sso/twofa.ts index 25053b6..8721422 100644 --- a/gen/sso/twofa.ts +++ b/gen/sso/twofa.ts @@ -19,6 +19,7 @@ export interface Verify2FaRequest { export interface Verify2FaResponse { accessToken: string; + refreshToken: string; status: string; message: string; reserveCodes: string[];