chore: auto-generate protobuf files [skip ci]
This commit is contained in:
@@ -41,6 +41,7 @@ export interface ChangePasswordRequest {
|
|||||||
oldPassword: string;
|
oldPassword: string;
|
||||||
newPassword: string;
|
newPassword: string;
|
||||||
code?: string | undefined;
|
code?: string | undefined;
|
||||||
|
sessionId: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ChangePasswordResponse {
|
export interface ChangePasswordResponse {
|
||||||
@@ -50,6 +51,7 @@ export interface ChangePasswordResponse {
|
|||||||
|
|
||||||
export interface SetPinRequest {
|
export interface SetPinRequest {
|
||||||
userId: string;
|
userId: string;
|
||||||
|
sessionId: string;
|
||||||
pin: string;
|
pin: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -60,6 +62,7 @@ export interface SetPinResponse {
|
|||||||
|
|
||||||
export interface UnlockPinRequest {
|
export interface UnlockPinRequest {
|
||||||
userId: string;
|
userId: string;
|
||||||
|
sessionId: string;
|
||||||
pin: string;
|
pin: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -70,6 +73,7 @@ export interface UnlockPinResponse {
|
|||||||
|
|
||||||
export interface GetPinStatusRequest {
|
export interface GetPinStatusRequest {
|
||||||
userId: string;
|
userId: string;
|
||||||
|
sessionId: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface GetPinStatusResponse {
|
export interface GetPinStatusResponse {
|
||||||
@@ -81,6 +85,7 @@ export interface GetPinStatusResponse {
|
|||||||
export interface RemovePinRequest {
|
export interface RemovePinRequest {
|
||||||
pin: string;
|
pin: string;
|
||||||
userId: string;
|
userId: string;
|
||||||
|
sessionId: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface RemovePinResponse {
|
export interface RemovePinResponse {
|
||||||
|
|||||||
@@ -251,6 +251,7 @@ type ChangePasswordRequest struct {
|
|||||||
OldPassword string `protobuf:"bytes,3,opt,name=old_password,json=oldPassword,proto3" json:"old_password,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"`
|
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"`
|
Code *string `protobuf:"bytes,5,opt,name=code,proto3,oneof" json:"code,omitempty"`
|
||||||
|
SessionId string `protobuf:"bytes,6,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
@@ -313,6 +314,13 @@ func (x *ChangePasswordRequest) GetCode() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *ChangePasswordRequest) GetSessionId() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.SessionId
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
type ChangePasswordResponse struct {
|
type ChangePasswordResponse struct {
|
||||||
state protoimpl.MessageState `protogen:"open.v1"`
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
||||||
@@ -368,6 +376,7 @@ func (x *ChangePasswordResponse) GetMessage() string {
|
|||||||
type SetPinRequest struct {
|
type SetPinRequest struct {
|
||||||
state protoimpl.MessageState `protogen:"open.v1"`
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||||
|
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
||||||
Pin string `protobuf:"bytes,3,opt,name=pin,proto3" json:"pin,omitempty"`
|
Pin string `protobuf:"bytes,3,opt,name=pin,proto3" json:"pin,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@@ -410,6 +419,13 @@ func (x *SetPinRequest) GetUserId() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *SetPinRequest) GetSessionId() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.SessionId
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
func (x *SetPinRequest) GetPin() string {
|
func (x *SetPinRequest) GetPin() string {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.Pin
|
return x.Pin
|
||||||
@@ -472,7 +488,8 @@ func (x *SetPinResponse) GetMessage() string {
|
|||||||
type UnlockPinRequest struct {
|
type UnlockPinRequest struct {
|
||||||
state protoimpl.MessageState `protogen:"open.v1"`
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,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"`
|
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
||||||
|
Pin string `protobuf:"bytes,3,opt,name=pin,proto3" json:"pin,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
@@ -514,6 +531,13 @@ func (x *UnlockPinRequest) GetUserId() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *UnlockPinRequest) GetSessionId() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.SessionId
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
func (x *UnlockPinRequest) GetPin() string {
|
func (x *UnlockPinRequest) GetPin() string {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.Pin
|
return x.Pin
|
||||||
@@ -576,6 +600,7 @@ func (x *UnlockPinResponse) GetMessage() string {
|
|||||||
type GetPinStatusRequest struct {
|
type GetPinStatusRequest struct {
|
||||||
state protoimpl.MessageState `protogen:"open.v1"`
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||||
|
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
@@ -617,6 +642,13 @@ func (x *GetPinStatusRequest) GetUserId() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *GetPinStatusRequest) GetSessionId() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.SessionId
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
type GetPinStatusResponse struct {
|
type GetPinStatusResponse struct {
|
||||||
state protoimpl.MessageState `protogen:"open.v1"`
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
HasPin bool `protobuf:"varint,1,opt,name=has_pin,json=hasPin,proto3" json:"has_pin,omitempty"`
|
HasPin bool `protobuf:"varint,1,opt,name=has_pin,json=hasPin,proto3" json:"has_pin,omitempty"`
|
||||||
@@ -681,6 +713,7 @@ type RemovePinRequest struct {
|
|||||||
state protoimpl.MessageState `protogen:"open.v1"`
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
Pin string `protobuf:"bytes,1,opt,name=pin,proto3" json:"pin,omitempty"`
|
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"`
|
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||||
|
SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
@@ -729,6 +762,13 @@ func (x *RemovePinRequest) GetUserId() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *RemovePinRequest) GetSessionId() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.SessionId
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
type RemovePinResponse struct {
|
type RemovePinResponse struct {
|
||||||
state protoimpl.MessageState `protogen:"open.v1"`
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
||||||
@@ -812,38 +852,48 @@ const file_account_proto_rawDesc = "" +
|
|||||||
"\blanguage\x18\x10 \x01(\tR\blanguage\x12$\n" +
|
"\blanguage\x18\x10 \x01(\tR\blanguage\x12$\n" +
|
||||||
"\x0etwo_fa_enabled\x18\x11 \x01(\bR\ftwoFaEnabled\x12\x17\n" +
|
"\x0etwo_fa_enabled\x18\x11 \x01(\bR\ftwoFaEnabled\x12\x17\n" +
|
||||||
"\ahas_pin\x18\x12 \x01(\bR\x06hasPinB\x0e\n" +
|
"\ahas_pin\x18\x12 \x01(\bR\x06hasPinB\x0e\n" +
|
||||||
"\f_employee_id\"\x98\x01\n" +
|
"\f_employee_id\"\xb7\x01\n" +
|
||||||
"\x15ChangePasswordRequest\x12\x17\n" +
|
"\x15ChangePasswordRequest\x12\x17\n" +
|
||||||
"\auser_id\x18\x01 \x01(\tR\x06userId\x12!\n" +
|
"\auser_id\x18\x01 \x01(\tR\x06userId\x12!\n" +
|
||||||
"\fold_password\x18\x03 \x01(\tR\voldPassword\x12!\n" +
|
"\fold_password\x18\x03 \x01(\tR\voldPassword\x12!\n" +
|
||||||
"\fnew_password\x18\x04 \x01(\tR\vnewPassword\x12\x17\n" +
|
"\fnew_password\x18\x04 \x01(\tR\vnewPassword\x12\x17\n" +
|
||||||
"\x04code\x18\x05 \x01(\tH\x00R\x04code\x88\x01\x01B\a\n" +
|
"\x04code\x18\x05 \x01(\tH\x00R\x04code\x88\x01\x01\x12\x1d\n" +
|
||||||
|
"\n" +
|
||||||
|
"session_id\x18\x06 \x01(\tR\tsessionIdB\a\n" +
|
||||||
"\x05_code\"L\n" +
|
"\x05_code\"L\n" +
|
||||||
"\x16ChangePasswordResponse\x12\x18\n" +
|
"\x16ChangePasswordResponse\x12\x18\n" +
|
||||||
"\asuccess\x18\x01 \x01(\bR\asuccess\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\"Y\n" +
|
||||||
"\rSetPinRequest\x12\x17\n" +
|
"\rSetPinRequest\x12\x17\n" +
|
||||||
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x10\n" +
|
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x1d\n" +
|
||||||
|
"\n" +
|
||||||
|
"session_id\x18\x02 \x01(\tR\tsessionId\x12\x10\n" +
|
||||||
"\x03pin\x18\x03 \x01(\tR\x03pin\"D\n" +
|
"\x03pin\x18\x03 \x01(\tR\x03pin\"D\n" +
|
||||||
"\x0eSetPinResponse\x12\x18\n" +
|
"\x0eSetPinResponse\x12\x18\n" +
|
||||||
"\asuccess\x18\x01 \x01(\bR\asuccess\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" +
|
||||||
"\x10UnlockPinRequest\x12\x17\n" +
|
"\x10UnlockPinRequest\x12\x17\n" +
|
||||||
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x10\n" +
|
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x1d\n" +
|
||||||
"\x03pin\x18\x02 \x01(\tR\x03pin\"G\n" +
|
"\n" +
|
||||||
|
"session_id\x18\x02 \x01(\tR\tsessionId\x12\x10\n" +
|
||||||
|
"\x03pin\x18\x03 \x01(\tR\x03pin\"G\n" +
|
||||||
"\x11UnlockPinResponse\x12\x18\n" +
|
"\x11UnlockPinResponse\x12\x18\n" +
|
||||||
"\asuccess\x18\x01 \x01(\bR\asuccess\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\"M\n" +
|
||||||
"\x13GetPinStatusRequest\x12\x17\n" +
|
"\x13GetPinStatusRequest\x12\x17\n" +
|
||||||
"\auser_id\x18\x01 \x01(\tR\x06userId\"k\n" +
|
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x1d\n" +
|
||||||
|
"\n" +
|
||||||
|
"session_id\x18\x02 \x01(\tR\tsessionId\"k\n" +
|
||||||
"\x14GetPinStatusResponse\x12\x17\n" +
|
"\x14GetPinStatusResponse\x12\x17\n" +
|
||||||
"\ahas_pin\x18\x01 \x01(\bR\x06hasPin\x12\x1b\n" +
|
"\ahas_pin\x18\x01 \x01(\bR\x06hasPin\x12\x1b\n" +
|
||||||
"\tis_locked\x18\x02 \x01(\bR\bisLocked\x12\x1d\n" +
|
"\tis_locked\x18\x02 \x01(\bR\bisLocked\x12\x1d\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
"lock_until\x18\x03 \x01(\tR\tlockUntil\"=\n" +
|
"lock_until\x18\x03 \x01(\tR\tlockUntil\"\\\n" +
|
||||||
"\x10RemovePinRequest\x12\x10\n" +
|
"\x10RemovePinRequest\x12\x10\n" +
|
||||||
"\x03pin\x18\x01 \x01(\tR\x03pin\x12\x17\n" +
|
"\x03pin\x18\x01 \x01(\tR\x03pin\x12\x17\n" +
|
||||||
"\auser_id\x18\x02 \x01(\tR\x06userId\"G\n" +
|
"\auser_id\x18\x02 \x01(\tR\x06userId\x12\x1d\n" +
|
||||||
|
"\n" +
|
||||||
|
"session_id\x18\x03 \x01(\tR\tsessionId\"G\n" +
|
||||||
"\x11RemovePinResponse\x12\x18\n" +
|
"\x11RemovePinResponse\x12\x18\n" +
|
||||||
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
|
||||||
"\amessage\x18\x02 \x01(\tR\amessage2\xde\x03\n" +
|
"\amessage\x18\x02 \x01(\tR\amessage2\xde\x03\n" +
|
||||||
|
|||||||
Reference in New Issue
Block a user