chore: auto-generate protobuf files [skip ci]
This commit is contained in:
@@ -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" +
|
||||
|
||||
Reference in New Issue
Block a user