@lean2708/shared-grpc-contracts 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -10,17 +10,20 @@ service BankAccountService {
|
|
|
10
10
|
|
|
11
11
|
rpc GetUserBankAccount(GetUserBankAccountRequest)
|
|
12
12
|
returns (GetUserBankAccountResponse);
|
|
13
|
+
|
|
14
|
+
rpc DecryptAccountNumber(DecryptAccountNumberRequest)
|
|
15
|
+
returns (DecryptAccountNumberResponse);
|
|
13
16
|
}
|
|
14
17
|
|
|
15
18
|
|
|
16
19
|
message GetUserBankAccountRequest {
|
|
17
20
|
string user_id = 1;
|
|
18
21
|
|
|
19
|
-
|
|
22
|
+
string bank_account_id = 2;
|
|
20
23
|
}
|
|
21
24
|
|
|
22
25
|
message GetUserBankAccountResponse {
|
|
23
|
-
|
|
26
|
+
string bank_account_id = 1;
|
|
24
27
|
|
|
25
28
|
string user_id = 2;
|
|
26
29
|
|
|
@@ -33,3 +36,19 @@ message GetUserBankAccountResponse {
|
|
|
33
36
|
|
|
34
37
|
bool is_default = 8;
|
|
35
38
|
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
message DecryptAccountNumberRequest {
|
|
42
|
+
|
|
43
|
+
string user_id = 1;
|
|
44
|
+
|
|
45
|
+
string account_number_encrypted = 2;
|
|
46
|
+
|
|
47
|
+
int64 refund_id = 3;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
message DecryptAccountNumberResponse {
|
|
51
|
+
|
|
52
|
+
string account_number = 1;
|
|
53
|
+
|
|
54
|
+
}
|