add internal rpc file and LookUpName rpc
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package auth.v1;
|
||||
|
||||
import "auth/v1/msg.proto";
|
||||
|
||||
service InternalAuthorizationService {
|
||||
rpc LookUpName(LookUpNameReq) returns (LookUpNameRes) {}
|
||||
}
|
||||
@@ -220,4 +220,18 @@ enum OtpStateEnum {
|
||||
LOGIN = 1;
|
||||
INTERNAL_TRANSFER = 2;
|
||||
EXTERNAL_TRANSFER = 3;
|
||||
}
|
||||
|
||||
message Recipient {
|
||||
string id = 1;
|
||||
optional string first_name = 2;
|
||||
optional string last_name = 3;
|
||||
}
|
||||
|
||||
message LookUpNameReq {
|
||||
Recipient recipient = 1;
|
||||
}
|
||||
|
||||
message LookUpNameRes {
|
||||
Recipient recipient = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user