shared-grpc-contracts 1.2.0__tar.gz → 1.2.2__tar.gz

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.
Files changed (18) hide show
  1. {shared_grpc_contracts-1.2.0 → shared_grpc_contracts-1.2.2}/PKG-INFO +1 -1
  2. {shared_grpc_contracts-1.2.0 → shared_grpc_contracts-1.2.2}/pyproject.toml +1 -1
  3. {shared_grpc_contracts-1.2.0 → shared_grpc_contracts-1.2.2}/src/shared_grpc_contracts/proto/shared/bankaccount/bank_account.proto +21 -2
  4. {shared_grpc_contracts-1.2.0 → shared_grpc_contracts-1.2.2}/src/shared_grpc_contracts.egg-info/PKG-INFO +1 -1
  5. {shared_grpc_contracts-1.2.0 → shared_grpc_contracts-1.2.2}/setup.cfg +0 -0
  6. {shared_grpc_contracts-1.2.0 → shared_grpc_contracts-1.2.2}/src/shared_grpc_contracts/__init__.py +0 -0
  7. {shared_grpc_contracts-1.2.0 → shared_grpc_contracts-1.2.2}/src/shared_grpc_contracts/proto/__init__.py +0 -0
  8. {shared_grpc_contracts-1.2.0 → shared_grpc_contracts-1.2.2}/src/shared_grpc_contracts/proto/shared/address/address.proto +0 -0
  9. {shared_grpc_contracts-1.2.0 → shared_grpc_contracts-1.2.2}/src/shared_grpc_contracts/proto/shared/checkout/checkout_variant.proto +0 -0
  10. {shared_grpc_contracts-1.2.0 → shared_grpc_contracts-1.2.2}/src/shared_grpc_contracts/proto/shared/realtime/v1/realtime_api.proto +0 -0
  11. {shared_grpc_contracts-1.2.0 → shared_grpc_contracts-1.2.2}/src/shared_grpc_contracts/proto/shared/shop/shop.proto +0 -0
  12. {shared_grpc_contracts-1.2.0 → shared_grpc_contracts-1.2.2}/src/shared_grpc_contracts/proto/shared/shop/shop_pickup.proto +0 -0
  13. {shared_grpc_contracts-1.2.0 → shared_grpc_contracts-1.2.2}/src/shared_grpc_contracts/proto/shared/stream/v1/stream_api.proto +0 -0
  14. {shared_grpc_contracts-1.2.0 → shared_grpc_contracts-1.2.2}/src/shared_grpc_contracts/proto/shared/variant/variant.proto +0 -0
  15. {shared_grpc_contracts-1.2.0 → shared_grpc_contracts-1.2.2}/src/shared_grpc_contracts/proto/shared/video/v1/video_api.proto +0 -0
  16. {shared_grpc_contracts-1.2.0 → shared_grpc_contracts-1.2.2}/src/shared_grpc_contracts.egg-info/SOURCES.txt +0 -0
  17. {shared_grpc_contracts-1.2.0 → shared_grpc_contracts-1.2.2}/src/shared_grpc_contracts.egg-info/dependency_links.txt +0 -0
  18. {shared_grpc_contracts-1.2.0 → shared_grpc_contracts-1.2.2}/src/shared_grpc_contracts.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: shared-grpc-contracts
3
- Version: 1.2.0
3
+ Version: 1.2.2
4
4
  Summary: Shared gRPC Protocol Buffer contracts
5
5
  Author: lean2708
6
6
  License-Expression: MIT
@@ -12,7 +12,7 @@ build-backend = "setuptools.build_meta"
12
12
 
13
13
  name = "shared-grpc-contracts"
14
14
 
15
- version = "1.2.0"
15
+ version = "1.2.2"
16
16
 
17
17
  description = "Shared gRPC Protocol Buffer contracts"
18
18
 
@@ -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
- int64 bank_account_id = 2;
22
+ string bank_account_id = 2;
20
23
  }
21
24
 
22
25
  message GetUserBankAccountResponse {
23
- int64 bank_account_id = 1;
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
+ }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: shared-grpc-contracts
3
- Version: 1.2.0
3
+ Version: 1.2.2
4
4
  Summary: Shared gRPC Protocol Buffer contracts
5
5
  Author: lean2708
6
6
  License-Expression: MIT