@stashfin/grpc 1.2.530 → 1.2.532
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
|
@@ -99,6 +99,7 @@ function createBaseRecentContacts() {
|
|
|
99
99
|
payee_acc_number: undefined,
|
|
100
100
|
payee_acc_provider: undefined,
|
|
101
101
|
created_at: undefined,
|
|
102
|
+
amount: undefined,
|
|
102
103
|
};
|
|
103
104
|
}
|
|
104
105
|
exports.RecentContacts = {
|
|
@@ -118,6 +119,9 @@ exports.RecentContacts = {
|
|
|
118
119
|
if (message.created_at !== undefined) {
|
|
119
120
|
writer.uint32(42).string(message.created_at);
|
|
120
121
|
}
|
|
122
|
+
if (message.amount !== undefined) {
|
|
123
|
+
writer.uint32(50).string(message.amount);
|
|
124
|
+
}
|
|
121
125
|
return writer;
|
|
122
126
|
},
|
|
123
127
|
decode(input, length) {
|
|
@@ -157,6 +161,12 @@ exports.RecentContacts = {
|
|
|
157
161
|
}
|
|
158
162
|
message.created_at = reader.string();
|
|
159
163
|
continue;
|
|
164
|
+
case 6:
|
|
165
|
+
if (tag !== 50) {
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
message.amount = reader.string();
|
|
169
|
+
continue;
|
|
160
170
|
}
|
|
161
171
|
if ((tag & 7) === 4 || tag === 0) {
|
|
162
172
|
break;
|
|
@@ -172,6 +182,7 @@ exports.RecentContacts = {
|
|
|
172
182
|
payee_acc_number: isSet(object.payee_acc_number) ? globalThis.String(object.payee_acc_number) : undefined,
|
|
173
183
|
payee_acc_provider: isSet(object.payee_acc_provider) ? globalThis.String(object.payee_acc_provider) : undefined,
|
|
174
184
|
created_at: isSet(object.created_at) ? globalThis.String(object.created_at) : undefined,
|
|
185
|
+
amount: isSet(object.amount) ? globalThis.String(object.amount) : undefined,
|
|
175
186
|
};
|
|
176
187
|
},
|
|
177
188
|
toJSON(message) {
|
|
@@ -191,6 +202,9 @@ exports.RecentContacts = {
|
|
|
191
202
|
if (message.created_at !== undefined) {
|
|
192
203
|
obj.created_at = message.created_at;
|
|
193
204
|
}
|
|
205
|
+
if (message.amount !== undefined) {
|
|
206
|
+
obj.amount = message.amount;
|
|
207
|
+
}
|
|
194
208
|
return obj;
|
|
195
209
|
},
|
|
196
210
|
create(base) {
|
|
@@ -203,6 +217,7 @@ exports.RecentContacts = {
|
|
|
203
217
|
message.payee_acc_number = object.payee_acc_number ?? undefined;
|
|
204
218
|
message.payee_acc_provider = object.payee_acc_provider ?? undefined;
|
|
205
219
|
message.created_at = object.created_at ?? undefined;
|
|
220
|
+
message.amount = object.amount ?? undefined;
|
|
206
221
|
return message;
|
|
207
222
|
},
|
|
208
223
|
};
|
|
@@ -6,6 +6,7 @@ export interface getTransactionsRequest {
|
|
|
6
6
|
limit?: number | undefined;
|
|
7
7
|
off_set?: number | undefined;
|
|
8
8
|
search_by?: string | undefined;
|
|
9
|
+
months?: string | undefined;
|
|
9
10
|
}
|
|
10
11
|
export interface Transactions {
|
|
11
12
|
/** External transaction ID */
|
|
@@ -39,6 +40,7 @@ export interface Transactions {
|
|
|
39
40
|
}
|
|
40
41
|
export interface Data {
|
|
41
42
|
transactions: Transactions[];
|
|
43
|
+
count?: string | undefined;
|
|
42
44
|
}
|
|
43
45
|
export interface getTransactionsResponse {
|
|
44
46
|
status: string;
|
|
@@ -13,7 +13,14 @@ exports.getTransactionsResponse = exports.Data = exports.Transactions = exports.
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "upi.getTransactions";
|
|
15
15
|
function createBasegetTransactionsRequest() {
|
|
16
|
-
return {
|
|
16
|
+
return {
|
|
17
|
+
txn_status: [],
|
|
18
|
+
txn_type: [],
|
|
19
|
+
limit: undefined,
|
|
20
|
+
off_set: undefined,
|
|
21
|
+
search_by: undefined,
|
|
22
|
+
months: undefined,
|
|
23
|
+
};
|
|
17
24
|
}
|
|
18
25
|
exports.getTransactionsRequest = {
|
|
19
26
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -32,6 +39,9 @@ exports.getTransactionsRequest = {
|
|
|
32
39
|
if (message.search_by !== undefined) {
|
|
33
40
|
writer.uint32(42).string(message.search_by);
|
|
34
41
|
}
|
|
42
|
+
if (message.months !== undefined) {
|
|
43
|
+
writer.uint32(50).string(message.months);
|
|
44
|
+
}
|
|
35
45
|
return writer;
|
|
36
46
|
},
|
|
37
47
|
decode(input, length) {
|
|
@@ -71,6 +81,12 @@ exports.getTransactionsRequest = {
|
|
|
71
81
|
}
|
|
72
82
|
message.search_by = reader.string();
|
|
73
83
|
continue;
|
|
84
|
+
case 6:
|
|
85
|
+
if (tag !== 50) {
|
|
86
|
+
break;
|
|
87
|
+
}
|
|
88
|
+
message.months = reader.string();
|
|
89
|
+
continue;
|
|
74
90
|
}
|
|
75
91
|
if ((tag & 7) === 4 || tag === 0) {
|
|
76
92
|
break;
|
|
@@ -88,6 +104,7 @@ exports.getTransactionsRequest = {
|
|
|
88
104
|
limit: isSet(object.limit) ? globalThis.Number(object.limit) : undefined,
|
|
89
105
|
off_set: isSet(object.off_set) ? globalThis.Number(object.off_set) : undefined,
|
|
90
106
|
search_by: isSet(object.search_by) ? globalThis.String(object.search_by) : undefined,
|
|
107
|
+
months: isSet(object.months) ? globalThis.String(object.months) : undefined,
|
|
91
108
|
};
|
|
92
109
|
},
|
|
93
110
|
toJSON(message) {
|
|
@@ -107,6 +124,9 @@ exports.getTransactionsRequest = {
|
|
|
107
124
|
if (message.search_by !== undefined) {
|
|
108
125
|
obj.search_by = message.search_by;
|
|
109
126
|
}
|
|
127
|
+
if (message.months !== undefined) {
|
|
128
|
+
obj.months = message.months;
|
|
129
|
+
}
|
|
110
130
|
return obj;
|
|
111
131
|
},
|
|
112
132
|
create(base) {
|
|
@@ -119,6 +139,7 @@ exports.getTransactionsRequest = {
|
|
|
119
139
|
message.limit = object.limit ?? undefined;
|
|
120
140
|
message.off_set = object.off_set ?? undefined;
|
|
121
141
|
message.search_by = object.search_by ?? undefined;
|
|
142
|
+
message.months = object.months ?? undefined;
|
|
122
143
|
return message;
|
|
123
144
|
},
|
|
124
145
|
};
|
|
@@ -372,13 +393,16 @@ exports.Transactions = {
|
|
|
372
393
|
},
|
|
373
394
|
};
|
|
374
395
|
function createBaseData() {
|
|
375
|
-
return { transactions: [] };
|
|
396
|
+
return { transactions: [], count: undefined };
|
|
376
397
|
}
|
|
377
398
|
exports.Data = {
|
|
378
399
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
379
400
|
for (const v of message.transactions) {
|
|
380
401
|
exports.Transactions.encode(v, writer.uint32(10).fork()).ldelim();
|
|
381
402
|
}
|
|
403
|
+
if (message.count !== undefined) {
|
|
404
|
+
writer.uint32(18).string(message.count);
|
|
405
|
+
}
|
|
382
406
|
return writer;
|
|
383
407
|
},
|
|
384
408
|
decode(input, length) {
|
|
@@ -394,6 +418,12 @@ exports.Data = {
|
|
|
394
418
|
}
|
|
395
419
|
message.transactions.push(exports.Transactions.decode(reader, reader.uint32()));
|
|
396
420
|
continue;
|
|
421
|
+
case 2:
|
|
422
|
+
if (tag !== 18) {
|
|
423
|
+
break;
|
|
424
|
+
}
|
|
425
|
+
message.count = reader.string();
|
|
426
|
+
continue;
|
|
397
427
|
}
|
|
398
428
|
if ((tag & 7) === 4 || tag === 0) {
|
|
399
429
|
break;
|
|
@@ -407,6 +437,7 @@ exports.Data = {
|
|
|
407
437
|
transactions: globalThis.Array.isArray(object?.transactions)
|
|
408
438
|
? object.transactions.map((e) => exports.Transactions.fromJSON(e))
|
|
409
439
|
: [],
|
|
440
|
+
count: isSet(object.count) ? globalThis.String(object.count) : undefined,
|
|
410
441
|
};
|
|
411
442
|
},
|
|
412
443
|
toJSON(message) {
|
|
@@ -414,6 +445,9 @@ exports.Data = {
|
|
|
414
445
|
if (message.transactions?.length) {
|
|
415
446
|
obj.transactions = message.transactions.map((e) => exports.Transactions.toJSON(e));
|
|
416
447
|
}
|
|
448
|
+
if (message.count !== undefined) {
|
|
449
|
+
obj.count = message.count;
|
|
450
|
+
}
|
|
417
451
|
return obj;
|
|
418
452
|
},
|
|
419
453
|
create(base) {
|
|
@@ -422,6 +456,7 @@ exports.Data = {
|
|
|
422
456
|
fromPartial(object) {
|
|
423
457
|
const message = createBaseData();
|
|
424
458
|
message.transactions = object.transactions?.map((e) => exports.Transactions.fromPartial(e)) || [];
|
|
459
|
+
message.count = object.count ?? undefined;
|
|
425
460
|
return message;
|
|
426
461
|
},
|
|
427
462
|
};
|