v2: removed balance from identity , kyc err added
Signed-off-by: nfel <nfilsaraee@gmail.com>
This commit is contained in:
parent
cc5dcc09df
commit
f969f845c5
@ -162,8 +162,7 @@ message Identity {
|
|||||||
optional Company company = 22;
|
optional Company company = 22;
|
||||||
optional string employee_info = 23;
|
optional string employee_info = 23;
|
||||||
string pub_key = 24;
|
string pub_key = 24;
|
||||||
optional float balance = 25;
|
optional UserAddress user_address = 25;
|
||||||
optional UserAddress user_address = 26;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message IdentityBasic {
|
message IdentityBasic {
|
||||||
|
|||||||
@ -17,6 +17,8 @@ enum ErrCode {
|
|||||||
FORBIDDEN = 1003;
|
FORBIDDEN = 1003;
|
||||||
BAD_AUTH = 1004;
|
BAD_AUTH = 1004;
|
||||||
SESSION_EXPIRED = 1005;
|
SESSION_EXPIRED = 1005;
|
||||||
|
USER_KYC_LV1_NOT_FOUND = 1006;
|
||||||
|
USER_KYC_LV2_NOT_FOUND = 1007;
|
||||||
|
|
||||||
// Argument validation errors
|
// Argument validation errors
|
||||||
INVALID_ARGUMENT = 2000;
|
INVALID_ARGUMENT = 2000;
|
||||||
@ -113,6 +115,7 @@ enum ErrCode {
|
|||||||
// Server errors
|
// Server errors
|
||||||
SERVER_ERROR_FREEZED_BALANCE_NEGATIVE = 8000;
|
SERVER_ERROR_FREEZED_BALANCE_NEGATIVE = 8000;
|
||||||
SERVER_ERROR_NIL_DB_TX = 8001;
|
SERVER_ERROR_NIL_DB_TX = 8001;
|
||||||
|
SERVER_ERROR_TFA_TEMPLATE_NOT_FOUND = 8002;
|
||||||
|
|
||||||
// Person-related errors
|
// Person-related errors
|
||||||
GET_PERSON_FAILED = 9000;
|
GET_PERSON_FAILED = 9000;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user