@alexochihua/protos 1.0.41 → 1.0.43

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": "@alexochihua/protos",
3
- "version": "1.0.41",
3
+ "version": "1.0.43",
4
4
  "private": false,
5
5
  "description": "Shared gRPC contracts and generated clients for Kapital services.",
6
6
  "license": "UNLICENSED",
@@ -10,6 +10,9 @@ import "kapital/catalogs/v1/catalogs_types.proto";
10
10
  service CatalogsService {
11
11
  rpc GetCatBins(GetCatBinsRequest) returns (GetCatBinsResponse);
12
12
  rpc GetCatGeoLocsByN(GetCatGeoLocsByNRequest) returns (GetCatGeoLocsByNResponse);
13
+ rpc GetCustomerStatus(GetCustomerStatusRequest) returns (GetCustomerStatusResponse);
14
+ rpc GetVirtualCardStatus(GetVirtualCardStatusRequest) returns (GetVirtualCardStatusResponse);
15
+ rpc GetPhysicalCardStatus(GetPhysicalCardStatusRequest) returns (GetPhysicalCardStatusResponse);
13
16
  }
14
17
 
15
18
  // ================== CreateContract ==================
@@ -31,3 +34,24 @@ message GetCatGeoLocsByNResponse {
31
34
  optional string n = 3;
32
35
  optional string value = 4;
33
36
  }
37
+
38
+ message GetCustomerStatusRequest {}
39
+
40
+ message GetCustomerStatusResponse {
41
+ kapital.common.v1.ResponseMeta meta = 1;
42
+ repeated CatalogItem customer_status = 2;
43
+ }
44
+
45
+ message GetVirtualCardStatusRequest {}
46
+
47
+ message GetVirtualCardStatusResponse {
48
+ kapital.common.v1.ResponseMeta meta = 1;
49
+ repeated CatalogItem virtual_card_status = 2;
50
+ }
51
+
52
+ message GetPhysicalCardStatusRequest {}
53
+
54
+ message GetPhysicalCardStatusResponse {
55
+ kapital.common.v1.ResponseMeta meta = 1;
56
+ repeated CatalogItem physical_card_status = 2;
57
+ }
@@ -12,3 +12,8 @@ message CatBin {
12
12
  string settlement_currency = 5;
13
13
  string value = 6;
14
14
  }
15
+
16
+ message CatalogItem {
17
+ optional string value = 1;
18
+ optional string label = 2;
19
+ }
@@ -183,8 +183,8 @@ message CreatePhysicalCardContractResponse {
183
183
 
184
184
  repeated CIPFull cip = 5;
185
185
 
186
- string card_number_virtual = 6;
187
- string card_number_physical = 7;
186
+ optional CardInfo card_virtual = 6;
187
+ optional CardInfo card_physical = 7;
188
188
  string new_emboss_uuid = 8;
189
189
 
190
190
  string expiry_date = 9;