Merge pull request 'add enum for TFA message' (#3) from tfa into v2

Reviewed-on: https://git.kahrobatoken.com/Kahroba/proto/pulls/3
This commit is contained in:
nfel 2024-12-09 10:58:36 +00:00
commit 114de30b57

View File

@ -210,7 +210,13 @@ message CheckTFAReq {
} }
message TFA { message TFA {
string key = 1; OtpStateEnum state = 1;
int64 code = 2; int64 code = 2;
string transaction_id = 3; string transaction_id = 3;
}
enum OtpStateEnum {
OPT_STATE_ENUM_UNSPECIFIED = 0;
LOGIN = 1;
PAYMENT = 2;
} }