@lean2708/shared-grpc-contracts 1.2.0 → 1.2.1

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lean2708/shared-grpc-contracts",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Shared gRPC Protocol Buffer contracts",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -10,6 +10,9 @@ 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
 
@@ -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
+ }