@arbiwallet/contracts 1.0.124 → 1.0.125
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 +32 -0
- package/package.json +1 -1
- package/proto/card.proto +17 -0
package/gen/card.ts
CHANGED
|
@@ -42,6 +42,36 @@ export interface CardProviderInfo {
|
|
|
42
42
|
cardRegion: string;
|
|
43
43
|
issueFee: string;
|
|
44
44
|
requiredAmount: string;
|
|
45
|
+
productId: number;
|
|
46
|
+
name: string;
|
|
47
|
+
subtitle: string;
|
|
48
|
+
topupFeePercent: string;
|
|
49
|
+
minFirstTopup: string;
|
|
50
|
+
minRegularTopup: string;
|
|
51
|
+
monthlyServiceFee: string;
|
|
52
|
+
validityPeriod: string;
|
|
53
|
+
mobilePaySupport: string;
|
|
54
|
+
transactionFee: string;
|
|
55
|
+
atmWithdrawalFee: string;
|
|
56
|
+
fxFee: string;
|
|
57
|
+
limits: { [key: string]: string };
|
|
58
|
+
details: { [key: string]: string };
|
|
59
|
+
info: { [key: string]: string };
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export interface CardProviderInfo_LimitsEntry {
|
|
63
|
+
key: string;
|
|
64
|
+
value: string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export interface CardProviderInfo_DetailsEntry {
|
|
68
|
+
key: string;
|
|
69
|
+
value: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface CardProviderInfo_InfoEntry {
|
|
73
|
+
key: string;
|
|
74
|
+
value: string;
|
|
45
75
|
}
|
|
46
76
|
|
|
47
77
|
export interface GetCardProvidersInfoResponse {
|
|
@@ -69,6 +99,7 @@ export interface CreateCardRequest {
|
|
|
69
99
|
kycApplicantJson: string;
|
|
70
100
|
kycResourcesJson: string;
|
|
71
101
|
kycVerifiedResources: KycVerifiedResource[];
|
|
102
|
+
productId: number;
|
|
72
103
|
}
|
|
73
104
|
|
|
74
105
|
export interface KycVerifiedResource {
|
|
@@ -185,6 +216,7 @@ export interface ExecuteCreateWithLedgerRequest {
|
|
|
185
216
|
idempotencySeed: string;
|
|
186
217
|
skipBalanceCheck: boolean;
|
|
187
218
|
previewOnly: boolean;
|
|
219
|
+
productId: number;
|
|
188
220
|
}
|
|
189
221
|
|
|
190
222
|
export interface ExecuteCreateWithLedgerResponse {
|
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.
|
|
4
|
+
"version": "1.0.125",
|
|
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
|
@@ -72,6 +72,21 @@ message CardProviderInfo {
|
|
|
72
72
|
string card_region = 10;
|
|
73
73
|
string issue_fee = 11;
|
|
74
74
|
string required_amount = 12;
|
|
75
|
+
int64 product_id = 13;
|
|
76
|
+
string name = 14;
|
|
77
|
+
string subtitle = 15;
|
|
78
|
+
string topup_fee_percent = 16;
|
|
79
|
+
string min_first_topup = 17;
|
|
80
|
+
string min_regular_topup = 18;
|
|
81
|
+
string monthly_service_fee = 19;
|
|
82
|
+
string validity_period = 20;
|
|
83
|
+
string mobile_pay_support = 21;
|
|
84
|
+
string transaction_fee = 22;
|
|
85
|
+
string atm_withdrawal_fee = 23;
|
|
86
|
+
string fx_fee = 24;
|
|
87
|
+
map<string, string> limits = 25;
|
|
88
|
+
map<string, string> details = 26;
|
|
89
|
+
map<string, string> info = 27;
|
|
75
90
|
}
|
|
76
91
|
|
|
77
92
|
message GetCardProvidersInfoResponse {
|
|
@@ -99,6 +114,7 @@ message CreateCardRequest {
|
|
|
99
114
|
string kyc_applicant_json = 18;
|
|
100
115
|
string kyc_resources_json = 19;
|
|
101
116
|
repeated KycVerifiedResource kyc_verified_resources = 20;
|
|
117
|
+
int64 product_id = 21;
|
|
102
118
|
}
|
|
103
119
|
|
|
104
120
|
message KycVerifiedResource {
|
|
@@ -215,6 +231,7 @@ message ExecuteCreateWithLedgerRequest {
|
|
|
215
231
|
string idempotency_seed = 12;
|
|
216
232
|
bool skip_balance_check = 13;
|
|
217
233
|
bool preview_only = 14;
|
|
234
|
+
int64 product_id = 15;
|
|
218
235
|
}
|
|
219
236
|
|
|
220
237
|
message ExecuteCreateWithLedgerResponse {
|