chore: auto-generate protobuf files [skip ci]
This commit is contained in:
@@ -251,7 +251,6 @@ type ChangePasswordRequest struct {
|
||||
OldPassword string `protobuf:"bytes,2,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"`
|
||||
NewPassword string `protobuf:"bytes,3,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
|
||||
Code *string `protobuf:"bytes,4,opt,name=code,proto3,oneof" json:"code,omitempty"`
|
||||
Pin *string `protobuf:"bytes,5,opt,name=pin,proto3,oneof" json:"pin,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -314,13 +313,6 @@ func (x *ChangePasswordRequest) GetCode() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *ChangePasswordRequest) GetPin() string {
|
||||
if x != nil && x.Pin != nil {
|
||||
return *x.Pin
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type ChangePasswordResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
||||
@@ -373,6 +365,422 @@ func (x *ChangePasswordResponse) GetMessage() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
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"`
|
||||
Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SetPinRequest) Reset() {
|
||||
*x = SetPinRequest{}
|
||||
mi := &file_account_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *SetPinRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SetPinRequest) ProtoMessage() {}
|
||||
|
||||
func (x *SetPinRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_account_proto_msgTypes[4]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use SetPinRequest.ProtoReflect.Descriptor instead.
|
||||
func (*SetPinRequest) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *SetPinRequest) GetUserId() string {
|
||||
if x != nil {
|
||||
return x.UserId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *SetPinRequest) GetPin() string {
|
||||
if x != nil {
|
||||
return x.Pin
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type SetPinResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
||||
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SetPinResponse) Reset() {
|
||||
*x = SetPinResponse{}
|
||||
mi := &file_account_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *SetPinResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SetPinResponse) ProtoMessage() {}
|
||||
|
||||
func (x *SetPinResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_account_proto_msgTypes[5]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use SetPinResponse.ProtoReflect.Descriptor instead.
|
||||
func (*SetPinResponse) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *SetPinResponse) GetSuccess() bool {
|
||||
if x != nil {
|
||||
return x.Success
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *SetPinResponse) GetMessage() string {
|
||||
if x != nil {
|
||||
return x.Message
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
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"`
|
||||
Pin string `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UnlockPinRequest) Reset() {
|
||||
*x = UnlockPinRequest{}
|
||||
mi := &file_account_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *UnlockPinRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UnlockPinRequest) ProtoMessage() {}
|
||||
|
||||
func (x *UnlockPinRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_account_proto_msgTypes[6]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use UnlockPinRequest.ProtoReflect.Descriptor instead.
|
||||
func (*UnlockPinRequest) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *UnlockPinRequest) GetAccessToken() string {
|
||||
if x != nil {
|
||||
return x.AccessToken
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *UnlockPinRequest) GetPin() string {
|
||||
if x != nil {
|
||||
return x.Pin
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type UnlockPinResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
||||
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *UnlockPinResponse) Reset() {
|
||||
*x = UnlockPinResponse{}
|
||||
mi := &file_account_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *UnlockPinResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*UnlockPinResponse) ProtoMessage() {}
|
||||
|
||||
func (x *UnlockPinResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_account_proto_msgTypes[7]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use UnlockPinResponse.ProtoReflect.Descriptor instead.
|
||||
func (*UnlockPinResponse) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *UnlockPinResponse) GetSuccess() bool {
|
||||
if x != nil {
|
||||
return x.Success
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *UnlockPinResponse) GetMessage() string {
|
||||
if x != nil {
|
||||
return x.Message
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type GetPinStatusRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *GetPinStatusRequest) Reset() {
|
||||
*x = GetPinStatusRequest{}
|
||||
mi := &file_account_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *GetPinStatusRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*GetPinStatusRequest) ProtoMessage() {}
|
||||
|
||||
func (x *GetPinStatusRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_account_proto_msgTypes[8]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use GetPinStatusRequest.ProtoReflect.Descriptor instead.
|
||||
func (*GetPinStatusRequest) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *GetPinStatusRequest) GetUserId() string {
|
||||
if x != nil {
|
||||
return x.UserId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type GetPinStatusResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
HasPin bool `protobuf:"varint,1,opt,name=has_pin,json=hasPin,proto3" json:"has_pin,omitempty"`
|
||||
IsLocked bool `protobuf:"varint,2,opt,name=is_locked,json=isLocked,proto3" json:"is_locked,omitempty"`
|
||||
LockUntil string `protobuf:"bytes,3,opt,name=lock_until,json=lockUntil,proto3" json:"lock_until,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *GetPinStatusResponse) Reset() {
|
||||
*x = GetPinStatusResponse{}
|
||||
mi := &file_account_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *GetPinStatusResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*GetPinStatusResponse) ProtoMessage() {}
|
||||
|
||||
func (x *GetPinStatusResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_account_proto_msgTypes[9]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use GetPinStatusResponse.ProtoReflect.Descriptor instead.
|
||||
func (*GetPinStatusResponse) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *GetPinStatusResponse) GetHasPin() bool {
|
||||
if x != nil {
|
||||
return x.HasPin
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *GetPinStatusResponse) GetIsLocked() bool {
|
||||
if x != nil {
|
||||
return x.IsLocked
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *GetPinStatusResponse) GetLockUntil() string {
|
||||
if x != nil {
|
||||
return x.LockUntil
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
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"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *RemovePinRequest) Reset() {
|
||||
*x = RemovePinRequest{}
|
||||
mi := &file_account_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *RemovePinRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*RemovePinRequest) ProtoMessage() {}
|
||||
|
||||
func (x *RemovePinRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_account_proto_msgTypes[10]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use RemovePinRequest.ProtoReflect.Descriptor instead.
|
||||
func (*RemovePinRequest) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *RemovePinRequest) GetPin() string {
|
||||
if x != nil {
|
||||
return x.Pin
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *RemovePinRequest) GetUserId() string {
|
||||
if x != nil {
|
||||
return x.UserId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type RemovePinResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
||||
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *RemovePinResponse) Reset() {
|
||||
*x = RemovePinResponse{}
|
||||
mi := &file_account_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *RemovePinResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*RemovePinResponse) ProtoMessage() {}
|
||||
|
||||
func (x *RemovePinResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_account_proto_msgTypes[11]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use RemovePinResponse.ProtoReflect.Descriptor instead.
|
||||
func (*RemovePinResponse) Descriptor() ([]byte, []int) {
|
||||
return file_account_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *RemovePinResponse) GetSuccess() bool {
|
||||
if x != nil {
|
||||
return x.Success
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *RemovePinResponse) GetMessage() string {
|
||||
if x != nil {
|
||||
return x.Message
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_account_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_account_proto_rawDesc = "" +
|
||||
@@ -404,22 +812,49 @@ 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\"\xb7\x01\n" +
|
||||
"\f_employee_id\"\x98\x01\n" +
|
||||
"\x15ChangePasswordRequest\x12\x17\n" +
|
||||
"\auser_id\x18\x01 \x01(\tR\x06userId\x12!\n" +
|
||||
"\fold_password\x18\x02 \x01(\tR\voldPassword\x12!\n" +
|
||||
"\fnew_password\x18\x03 \x01(\tR\vnewPassword\x12\x17\n" +
|
||||
"\x04code\x18\x04 \x01(\tH\x00R\x04code\x88\x01\x01\x12\x15\n" +
|
||||
"\x03pin\x18\x05 \x01(\tH\x01R\x03pin\x88\x01\x01B\a\n" +
|
||||
"\x05_codeB\x06\n" +
|
||||
"\x04_pin\"L\n" +
|
||||
"\x04code\x18\x04 \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\amessage2\xb6\x01\n" +
|
||||
"\amessage\x18\x02 \x01(\tR\amessage\":\n" +
|
||||
"\rSetPinRequest\x12\x17\n" +
|
||||
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x10\n" +
|
||||
"\x03pin\x18\x02 \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" +
|
||||
"\x03pin\x18\x02 \x01(\tR\x03pin\"G\n" +
|
||||
"\x11UnlockPinResponse\x12\x18\n" +
|
||||
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
|
||||
"\amessage\x18\x02 \x01(\tR\amessage\".\n" +
|
||||
"\x13GetPinStatusRequest\x12\x17\n" +
|
||||
"\auser_id\x18\x01 \x01(\tR\x06userId\"k\n" +
|
||||
"\x14GetPinStatusResponse\x12\x17\n" +
|
||||
"\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" +
|
||||
"\x10RemovePinRequest\x12\x10\n" +
|
||||
"\x03pin\x18\x01 \x01(\tR\x03pin\x12\x17\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" +
|
||||
"\x0eAccountService\x12K\n" +
|
||||
"\n" +
|
||||
"GetAccount\x12\x1d.account.v1.GetAccountRequest\x1a\x1e.account.v1.GetAccountResponse\x12W\n" +
|
||||
"\x0eChangePassword\x12!.account.v1.ChangePasswordRequest\x1a\".account.v1.ChangePasswordResponseB*Z(git.lendry.ru/lendry-erp/proto.git/go;pbb\x06proto3"
|
||||
"\x0eChangePassword\x12!.account.v1.ChangePasswordRequest\x1a\".account.v1.ChangePasswordResponse\x12?\n" +
|
||||
"\x06SetPin\x12\x19.account.v1.SetPinRequest\x1a\x1a.account.v1.SetPinResponse\x12H\n" +
|
||||
"\tUnlockPin\x12\x1c.account.v1.UnlockPinRequest\x1a\x1d.account.v1.UnlockPinResponse\x12Q\n" +
|
||||
"\fGetPinStatus\x12\x1f.account.v1.GetPinStatusRequest\x1a .account.v1.GetPinStatusResponse\x12H\n" +
|
||||
"\tRemovePin\x12\x1c.account.v1.RemovePinRequest\x1a\x1d.account.v1.RemovePinResponseB*Z(git.lendry.ru/lendry-erp/proto.git/go;pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_account_proto_rawDescOnce sync.Once
|
||||
@@ -433,23 +868,39 @@ func file_account_proto_rawDescGZIP() []byte {
|
||||
return file_account_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_account_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
||||
var file_account_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
||||
var file_account_proto_goTypes = []any{
|
||||
(*GetAccountRequest)(nil), // 0: account.v1.GetAccountRequest
|
||||
(*GetAccountResponse)(nil), // 1: account.v1.GetAccountResponse
|
||||
(*ChangePasswordRequest)(nil), // 2: account.v1.ChangePasswordRequest
|
||||
(*ChangePasswordResponse)(nil), // 3: account.v1.ChangePasswordResponse
|
||||
(*SetPinRequest)(nil), // 4: account.v1.SetPinRequest
|
||||
(*SetPinResponse)(nil), // 5: account.v1.SetPinResponse
|
||||
(*UnlockPinRequest)(nil), // 6: account.v1.UnlockPinRequest
|
||||
(*UnlockPinResponse)(nil), // 7: account.v1.UnlockPinResponse
|
||||
(*GetPinStatusRequest)(nil), // 8: account.v1.GetPinStatusRequest
|
||||
(*GetPinStatusResponse)(nil), // 9: account.v1.GetPinStatusResponse
|
||||
(*RemovePinRequest)(nil), // 10: account.v1.RemovePinRequest
|
||||
(*RemovePinResponse)(nil), // 11: account.v1.RemovePinResponse
|
||||
}
|
||||
var file_account_proto_depIdxs = []int32{
|
||||
0, // 0: account.v1.AccountService.GetAccount:input_type -> account.v1.GetAccountRequest
|
||||
2, // 1: account.v1.AccountService.ChangePassword:input_type -> account.v1.ChangePasswordRequest
|
||||
1, // 2: account.v1.AccountService.GetAccount:output_type -> account.v1.GetAccountResponse
|
||||
3, // 3: account.v1.AccountService.ChangePassword:output_type -> account.v1.ChangePasswordResponse
|
||||
2, // [2:4] is the sub-list for method output_type
|
||||
0, // [0:2] is the sub-list for method input_type
|
||||
0, // [0:0] is the sub-list for extension type_name
|
||||
0, // [0:0] is the sub-list for extension extendee
|
||||
0, // [0:0] is the sub-list for field type_name
|
||||
0, // 0: account.v1.AccountService.GetAccount:input_type -> account.v1.GetAccountRequest
|
||||
2, // 1: account.v1.AccountService.ChangePassword:input_type -> account.v1.ChangePasswordRequest
|
||||
4, // 2: account.v1.AccountService.SetPin:input_type -> account.v1.SetPinRequest
|
||||
6, // 3: account.v1.AccountService.UnlockPin:input_type -> account.v1.UnlockPinRequest
|
||||
8, // 4: account.v1.AccountService.GetPinStatus:input_type -> account.v1.GetPinStatusRequest
|
||||
10, // 5: account.v1.AccountService.RemovePin:input_type -> account.v1.RemovePinRequest
|
||||
1, // 6: account.v1.AccountService.GetAccount:output_type -> account.v1.GetAccountResponse
|
||||
3, // 7: account.v1.AccountService.ChangePassword:output_type -> account.v1.ChangePasswordResponse
|
||||
5, // 8: account.v1.AccountService.SetPin:output_type -> account.v1.SetPinResponse
|
||||
7, // 9: account.v1.AccountService.UnlockPin:output_type -> account.v1.UnlockPinResponse
|
||||
9, // 10: account.v1.AccountService.GetPinStatus:output_type -> account.v1.GetPinStatusResponse
|
||||
11, // 11: account.v1.AccountService.RemovePin:output_type -> account.v1.RemovePinResponse
|
||||
6, // [6:12] is the sub-list for method output_type
|
||||
0, // [0:6] is the sub-list for method input_type
|
||||
0, // [0:0] is the sub-list for extension type_name
|
||||
0, // [0:0] is the sub-list for extension extendee
|
||||
0, // [0:0] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_account_proto_init() }
|
||||
@@ -465,7 +916,7 @@ func file_account_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_account_proto_rawDesc), len(file_account_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 4,
|
||||
NumMessages: 12,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user