@arbiwallet/contracts 1.0.123 → 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/gen/content.ts +2 -0
- package/package.json +1 -1
- package/proto/card.proto +17 -0
- package/proto/content.proto +2 -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/gen/content.ts
CHANGED
|
@@ -284,6 +284,7 @@ export interface ReorderBlogsResponse {
|
|
|
284
284
|
export interface CreateDocumentRequest {
|
|
285
285
|
slug: string;
|
|
286
286
|
body: string;
|
|
287
|
+
title: string;
|
|
287
288
|
}
|
|
288
289
|
|
|
289
290
|
export interface CreateDocumentResponse {
|
|
@@ -416,6 +417,7 @@ export interface Document {
|
|
|
416
417
|
body: string;
|
|
417
418
|
createdAt: string;
|
|
418
419
|
updatedAt: string;
|
|
420
|
+
title: string;
|
|
419
421
|
}
|
|
420
422
|
|
|
421
423
|
export interface Story {
|
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 {
|
package/proto/content.proto
CHANGED
|
@@ -335,6 +335,7 @@ message ReorderBlogsResponse {}
|
|
|
335
335
|
message CreateDocumentRequest {
|
|
336
336
|
string slug = 1;
|
|
337
337
|
string body = 2;
|
|
338
|
+
string title = 3;
|
|
338
339
|
}
|
|
339
340
|
|
|
340
341
|
message CreateDocumentResponse {
|
|
@@ -466,6 +467,7 @@ message Document {
|
|
|
466
467
|
string body = 3;
|
|
467
468
|
string created_at = 4;
|
|
468
469
|
string updated_at = 5;
|
|
470
|
+
string title = 6;
|
|
469
471
|
}
|
|
470
472
|
|
|
471
473
|
message Story {
|