@arbiwallet/contracts 1.0.50 → 1.0.51

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/gen/card.ts CHANGED
@@ -23,6 +23,10 @@ export enum CardStatus {
23
23
 
24
24
  export interface GetCardProvidersInfoRequest {
25
25
  accountId: number;
26
+ email: string;
27
+ phone: string;
28
+ firstName: string;
29
+ lastName: string;
26
30
  }
27
31
 
28
32
  export interface CardProviderInfo {
@@ -36,6 +40,8 @@ export interface CardProviderInfo {
36
40
  regions: string[];
37
41
  phonePrefixes: string[];
38
42
  cardRegion: string;
43
+ issueFee: string;
44
+ requiredAmount: string;
39
45
  }
40
46
 
41
47
  export interface GetCardProvidersInfoResponse {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arbiwallet/contracts",
3
3
  "descriptions": "Generate and manage smart contracts for ArbiWallet",
4
- "version": "1.0.50",
4
+ "version": "1.0.51",
5
5
  "scripts": {
6
6
  "generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
7
7
  },
package/proto/card.proto CHANGED
@@ -48,6 +48,10 @@ enum CardStatus {
48
48
 
49
49
  message GetCardProvidersInfoRequest {
50
50
  int64 account_id = 1;
51
+ string email = 2;
52
+ string phone = 3;
53
+ string first_name = 4;
54
+ string last_name = 5;
51
55
  }
52
56
 
53
57
  message CardProviderInfo {
@@ -61,6 +65,8 @@ message CardProviderInfo {
61
65
  repeated string regions = 8;
62
66
  repeated string phone_prefixes = 9;
63
67
  string card_region = 10;
68
+ string issue_fee = 11;
69
+ string required_amount = 12;
64
70
  }
65
71
 
66
72
  message GetCardProvidersInfoResponse {