chore: auto-generate protobuf files [skip ci]

This commit is contained in:
github-actions[bot]
2026-04-03 18:28:49 +00:00
parent 7c7c165f97
commit 9e8b59c82a
2 changed files with 12 additions and 42 deletions

View File

@@ -38,7 +38,6 @@ export interface GetAccountResponse {
export interface ChangePasswordRequest {
userId: string;
accessToken: string;
oldPassword: string;
newPassword: string;
code?: string | undefined;
@@ -51,7 +50,6 @@ export interface ChangePasswordResponse {
export interface SetPinRequest {
userId: string;
accessToken: string;
pin: string;
}
@@ -61,7 +59,7 @@ export interface SetPinResponse {
}
export interface UnlockPinRequest {
accessToken: string;
userId: string;
pin: string;
}
@@ -83,7 +81,6 @@ export interface GetPinStatusResponse {
export interface RemovePinRequest {
pin: string;
userId: string;
accessToken: string;
}
export interface RemovePinResponse {

View File

@@ -248,7 +248,6 @@ func (x *GetAccountResponse) GetHasPin() bool {
type ChangePasswordRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
OldPassword string `protobuf:"bytes,3,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"`
NewPassword string `protobuf:"bytes,4,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
Code *string `protobuf:"bytes,5,opt,name=code,proto3,oneof" json:"code,omitempty"`
@@ -293,13 +292,6 @@ func (x *ChangePasswordRequest) GetUserId() string {
return ""
}
func (x *ChangePasswordRequest) GetAccessToken() string {
if x != nil {
return x.AccessToken
}
return ""
}
func (x *ChangePasswordRequest) GetOldPassword() string {
if x != nil {
return x.OldPassword
@@ -376,7 +368,6 @@ func (x *ChangePasswordResponse) GetMessage() string {
type SetPinRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
Pin string `protobuf:"bytes,3,opt,name=pin,proto3" json:"pin,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
@@ -419,13 +410,6 @@ func (x *SetPinRequest) GetUserId() string {
return ""
}
func (x *SetPinRequest) GetAccessToken() string {
if x != nil {
return x.AccessToken
}
return ""
}
func (x *SetPinRequest) GetPin() string {
if x != nil {
return x.Pin
@@ -487,7 +471,7 @@ func (x *SetPinResponse) GetMessage() string {
type UnlockPinRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
@@ -523,9 +507,9 @@ func (*UnlockPinRequest) Descriptor() ([]byte, []int) {
return file_account_proto_rawDescGZIP(), []int{6}
}
func (x *UnlockPinRequest) GetAccessToken() string {
func (x *UnlockPinRequest) GetUserId() string {
if x != nil {
return x.AccessToken
return x.UserId
}
return ""
}
@@ -697,7 +681,6 @@ type RemovePinRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Pin string `protobuf:"bytes,1,opt,name=pin,proto3" json:"pin,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@@ -746,13 +729,6 @@ func (x *RemovePinRequest) GetUserId() string {
return ""
}
func (x *RemovePinRequest) GetAccessToken() string {
if x != nil {
return x.AccessToken
}
return ""
}
type RemovePinResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
@@ -836,26 +812,24 @@ const file_account_proto_rawDesc = "" +
"\blanguage\x18\x10 \x01(\tR\blanguage\x12$\n" +
"\x0etwo_fa_enabled\x18\x11 \x01(\bR\ftwoFaEnabled\x12\x17\n" +
"\ahas_pin\x18\x12 \x01(\bR\x06hasPinB\x0e\n" +
"\f_employee_id\"\xbb\x01\n" +
"\f_employee_id\"\x98\x01\n" +
"\x15ChangePasswordRequest\x12\x17\n" +
"\auser_id\x18\x01 \x01(\tR\x06userId\x12!\n" +
"\faccess_token\x18\x02 \x01(\tR\vaccessToken\x12!\n" +
"\fold_password\x18\x03 \x01(\tR\voldPassword\x12!\n" +
"\fnew_password\x18\x04 \x01(\tR\vnewPassword\x12\x17\n" +
"\x04code\x18\x05 \x01(\tH\x00R\x04code\x88\x01\x01B\a\n" +
"\x05_code\"L\n" +
"\x16ChangePasswordResponse\x12\x18\n" +
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
"\amessage\x18\x02 \x01(\tR\amessage\"]\n" +
"\amessage\x18\x02 \x01(\tR\amessage\":\n" +
"\rSetPinRequest\x12\x17\n" +
"\auser_id\x18\x01 \x01(\tR\x06userId\x12!\n" +
"\faccess_token\x18\x02 \x01(\tR\vaccessToken\x12\x10\n" +
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x10\n" +
"\x03pin\x18\x03 \x01(\tR\x03pin\"D\n" +
"\x0eSetPinResponse\x12\x18\n" +
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
"\amessage\x18\x02 \x01(\tR\amessage\"G\n" +
"\x10UnlockPinRequest\x12!\n" +
"\faccess_token\x18\x01 \x01(\tR\vaccessToken\x12\x10\n" +
"\amessage\x18\x02 \x01(\tR\amessage\"=\n" +
"\x10UnlockPinRequest\x12\x17\n" +
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x10\n" +
"\x03pin\x18\x02 \x01(\tR\x03pin\"G\n" +
"\x11UnlockPinResponse\x12\x18\n" +
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
@@ -866,11 +840,10 @@ const file_account_proto_rawDesc = "" +
"\ahas_pin\x18\x01 \x01(\bR\x06hasPin\x12\x1b\n" +
"\tis_locked\x18\x02 \x01(\bR\bisLocked\x12\x1d\n" +
"\n" +
"lock_until\x18\x03 \x01(\tR\tlockUntil\"`\n" +
"lock_until\x18\x03 \x01(\tR\tlockUntil\"=\n" +
"\x10RemovePinRequest\x12\x10\n" +
"\x03pin\x18\x01 \x01(\tR\x03pin\x12\x17\n" +
"\auser_id\x18\x02 \x01(\tR\x06userId\x12!\n" +
"\faccess_token\x18\x03 \x01(\tR\vaccessToken\"G\n" +
"\auser_id\x18\x02 \x01(\tR\x06userId\"G\n" +
"\x11RemovePinResponse\x12\x18\n" +
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
"\amessage\x18\x02 \x01(\tR\amessage2\xde\x03\n" +