@stashfin/grpc 1.2.864 → 1.2.866

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": "@stashfin/grpc",
3
- "version": "1.2.864",
3
+ "version": "1.2.866",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -13,6 +13,7 @@ export interface getAllBbpsTnxRequest {
13
13
  status?: string | undefined;
14
14
  customer_id?: string | undefined;
15
15
  account_no?: string | undefined;
16
+ biller_status?: string | undefined;
16
17
  }
17
18
  export interface BBPSTransactions {
18
19
  transaction_id?: number | undefined;
@@ -28,6 +29,7 @@ export interface BBPSTransactions {
28
29
  account_no?: string | undefined;
29
30
  biller_id?: string | undefined;
30
31
  pg_txn_ref_id?: string | undefined;
32
+ biller_status?: string | undefined;
31
33
  }
32
34
  export interface getAllBbpsTnxResponse {
33
35
  transactions: BBPSTransactions[];
@@ -25,6 +25,7 @@ function createBasegetAllBbpsTnxRequest() {
25
25
  status: undefined,
26
26
  customer_id: undefined,
27
27
  account_no: undefined,
28
+ biller_status: undefined,
28
29
  };
29
30
  }
30
31
  exports.getAllBbpsTnxRequest = {
@@ -62,6 +63,9 @@ exports.getAllBbpsTnxRequest = {
62
63
  if (message.account_no !== undefined) {
63
64
  writer.uint32(90).string(message.account_no);
64
65
  }
66
+ if (message.biller_status !== undefined) {
67
+ writer.uint32(98).string(message.biller_status);
68
+ }
65
69
  return writer;
66
70
  },
67
71
  decode(input, length) {
@@ -137,6 +141,12 @@ exports.getAllBbpsTnxRequest = {
137
141
  }
138
142
  message.account_no = reader.string();
139
143
  continue;
144
+ case 12:
145
+ if (tag !== 98) {
146
+ break;
147
+ }
148
+ message.biller_status = reader.string();
149
+ continue;
140
150
  }
141
151
  if ((tag & 7) === 4 || tag === 0) {
142
152
  break;
@@ -158,6 +168,7 @@ exports.getAllBbpsTnxRequest = {
158
168
  status: isSet(object.status) ? globalThis.String(object.status) : undefined,
159
169
  customer_id: isSet(object.customer_id) ? globalThis.String(object.customer_id) : undefined,
160
170
  account_no: isSet(object.account_no) ? globalThis.String(object.account_no) : undefined,
171
+ biller_status: isSet(object.biller_status) ? globalThis.String(object.biller_status) : undefined,
161
172
  };
162
173
  },
163
174
  toJSON(message) {
@@ -195,6 +206,9 @@ exports.getAllBbpsTnxRequest = {
195
206
  if (message.account_no !== undefined) {
196
207
  obj.account_no = message.account_no;
197
208
  }
209
+ if (message.biller_status !== undefined) {
210
+ obj.biller_status = message.biller_status;
211
+ }
198
212
  return obj;
199
213
  },
200
214
  create(base) {
@@ -213,6 +227,7 @@ exports.getAllBbpsTnxRequest = {
213
227
  message.status = object.status ?? undefined;
214
228
  message.customer_id = object.customer_id ?? undefined;
215
229
  message.account_no = object.account_no ?? undefined;
230
+ message.biller_status = object.biller_status ?? undefined;
216
231
  return message;
217
232
  },
218
233
  };
@@ -231,6 +246,7 @@ function createBaseBBPSTransactions() {
231
246
  account_no: undefined,
232
247
  biller_id: undefined,
233
248
  pg_txn_ref_id: undefined,
249
+ biller_status: undefined,
234
250
  };
235
251
  }
236
252
  exports.BBPSTransactions = {
@@ -274,6 +290,9 @@ exports.BBPSTransactions = {
274
290
  if (message.pg_txn_ref_id !== undefined) {
275
291
  writer.uint32(106).string(message.pg_txn_ref_id);
276
292
  }
293
+ if (message.biller_status !== undefined) {
294
+ writer.uint32(114).string(message.biller_status);
295
+ }
277
296
  return writer;
278
297
  },
279
298
  decode(input, length) {
@@ -361,6 +380,12 @@ exports.BBPSTransactions = {
361
380
  }
362
381
  message.pg_txn_ref_id = reader.string();
363
382
  continue;
383
+ case 14:
384
+ if (tag !== 114) {
385
+ break;
386
+ }
387
+ message.biller_status = reader.string();
388
+ continue;
364
389
  }
365
390
  if ((tag & 7) === 4 || tag === 0) {
366
391
  break;
@@ -384,6 +409,7 @@ exports.BBPSTransactions = {
384
409
  account_no: isSet(object.account_no) ? globalThis.String(object.account_no) : undefined,
385
410
  biller_id: isSet(object.biller_id) ? globalThis.String(object.biller_id) : undefined,
386
411
  pg_txn_ref_id: isSet(object.pg_txn_ref_id) ? globalThis.String(object.pg_txn_ref_id) : undefined,
412
+ biller_status: isSet(object.biller_status) ? globalThis.String(object.biller_status) : undefined,
387
413
  };
388
414
  },
389
415
  toJSON(message) {
@@ -427,6 +453,9 @@ exports.BBPSTransactions = {
427
453
  if (message.pg_txn_ref_id !== undefined) {
428
454
  obj.pg_txn_ref_id = message.pg_txn_ref_id;
429
455
  }
456
+ if (message.biller_status !== undefined) {
457
+ obj.biller_status = message.biller_status;
458
+ }
430
459
  return obj;
431
460
  },
432
461
  create(base) {
@@ -447,6 +476,7 @@ exports.BBPSTransactions = {
447
476
  message.account_no = object.account_no ?? undefined;
448
477
  message.biller_id = object.biller_id ?? undefined;
449
478
  message.pg_txn_ref_id = object.pg_txn_ref_id ?? undefined;
479
+ message.biller_status = object.biller_status ?? undefined;
450
480
  return message;
451
481
  },
452
482
  };
@@ -0,0 +1,63 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "upi.getallupitxnsdetails";
3
+ /** Request message */
4
+ export interface getAllUPITnxDetailsRequest {
5
+ page?: number | undefined;
6
+ limit?: number | undefined;
7
+ customer_id?: number | undefined;
8
+ utr?: string | undefined;
9
+ txn_status?: string | undefined;
10
+ }
11
+ export interface UPITxnsDetails {
12
+ customer_id?: number | undefined;
13
+ payer_vpa?: string | undefined;
14
+ mobile?: string | undefined;
15
+ payee_vpa?: string | undefined;
16
+ payee_acc_number?: string | undefined;
17
+ payee_ifsc?: string | undefined;
18
+ utr?: string | undefined;
19
+ amount?: string | undefined;
20
+ txn_status?: string | undefined;
21
+ response_code?: string | undefined;
22
+ response_message?: string | undefined;
23
+ created_at?: string | undefined;
24
+ updated_at?: string | undefined;
25
+ }
26
+ export interface getAllUPITnxDetailsResponse {
27
+ transactions: UPITxnsDetails[];
28
+ }
29
+ export declare const getAllUPITnxDetailsRequest: {
30
+ encode(message: getAllUPITnxDetailsRequest, writer?: _m0.Writer): _m0.Writer;
31
+ decode(input: _m0.Reader | Uint8Array, length?: number): getAllUPITnxDetailsRequest;
32
+ fromJSON(object: any): getAllUPITnxDetailsRequest;
33
+ toJSON(message: getAllUPITnxDetailsRequest): unknown;
34
+ create<I extends Exact<DeepPartial<getAllUPITnxDetailsRequest>, I>>(base?: I): getAllUPITnxDetailsRequest;
35
+ fromPartial<I extends Exact<DeepPartial<getAllUPITnxDetailsRequest>, I>>(object: I): getAllUPITnxDetailsRequest;
36
+ };
37
+ export declare const UPITxnsDetails: {
38
+ encode(message: UPITxnsDetails, writer?: _m0.Writer): _m0.Writer;
39
+ decode(input: _m0.Reader | Uint8Array, length?: number): UPITxnsDetails;
40
+ fromJSON(object: any): UPITxnsDetails;
41
+ toJSON(message: UPITxnsDetails): unknown;
42
+ create<I extends Exact<DeepPartial<UPITxnsDetails>, I>>(base?: I): UPITxnsDetails;
43
+ fromPartial<I extends Exact<DeepPartial<UPITxnsDetails>, I>>(object: I): UPITxnsDetails;
44
+ };
45
+ export declare const getAllUPITnxDetailsResponse: {
46
+ encode(message: getAllUPITnxDetailsResponse, writer?: _m0.Writer): _m0.Writer;
47
+ decode(input: _m0.Reader | Uint8Array, length?: number): getAllUPITnxDetailsResponse;
48
+ fromJSON(object: any): getAllUPITnxDetailsResponse;
49
+ toJSON(message: getAllUPITnxDetailsResponse): unknown;
50
+ create<I extends Exact<DeepPartial<getAllUPITnxDetailsResponse>, I>>(base?: I): getAllUPITnxDetailsResponse;
51
+ fromPartial<I extends Exact<DeepPartial<getAllUPITnxDetailsResponse>, I>>(object: I): getAllUPITnxDetailsResponse;
52
+ };
53
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
54
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
55
+ [K in keyof T]?: DeepPartial<T[K]>;
56
+ } : Partial<T>;
57
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
58
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
59
+ [K in keyof P]: Exact<P[K], I[K]>;
60
+ } & {
61
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
62
+ };
63
+ export {};
@@ -0,0 +1,413 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
+ // source: upi/getallupitxnsdetails.proto
7
+ var __importDefault = (this && this.__importDefault) || function (mod) {
8
+ return (mod && mod.__esModule) ? mod : { "default": mod };
9
+ };
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.getAllUPITnxDetailsResponse = exports.UPITxnsDetails = exports.getAllUPITnxDetailsRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "upi.getallupitxnsdetails";
15
+ function createBasegetAllUPITnxDetailsRequest() {
16
+ return { page: undefined, limit: undefined, customer_id: undefined, utr: undefined, txn_status: undefined };
17
+ }
18
+ exports.getAllUPITnxDetailsRequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.page !== undefined) {
21
+ writer.uint32(8).int32(message.page);
22
+ }
23
+ if (message.limit !== undefined) {
24
+ writer.uint32(16).int32(message.limit);
25
+ }
26
+ if (message.customer_id !== undefined) {
27
+ writer.uint32(24).int32(message.customer_id);
28
+ }
29
+ if (message.utr !== undefined) {
30
+ writer.uint32(34).string(message.utr);
31
+ }
32
+ if (message.txn_status !== undefined) {
33
+ writer.uint32(42).string(message.txn_status);
34
+ }
35
+ return writer;
36
+ },
37
+ decode(input, length) {
38
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
39
+ let end = length === undefined ? reader.len : reader.pos + length;
40
+ const message = createBasegetAllUPITnxDetailsRequest();
41
+ while (reader.pos < end) {
42
+ const tag = reader.uint32();
43
+ switch (tag >>> 3) {
44
+ case 1:
45
+ if (tag !== 8) {
46
+ break;
47
+ }
48
+ message.page = reader.int32();
49
+ continue;
50
+ case 2:
51
+ if (tag !== 16) {
52
+ break;
53
+ }
54
+ message.limit = reader.int32();
55
+ continue;
56
+ case 3:
57
+ if (tag !== 24) {
58
+ break;
59
+ }
60
+ message.customer_id = reader.int32();
61
+ continue;
62
+ case 4:
63
+ if (tag !== 34) {
64
+ break;
65
+ }
66
+ message.utr = reader.string();
67
+ continue;
68
+ case 5:
69
+ if (tag !== 42) {
70
+ break;
71
+ }
72
+ message.txn_status = reader.string();
73
+ continue;
74
+ }
75
+ if ((tag & 7) === 4 || tag === 0) {
76
+ break;
77
+ }
78
+ reader.skipType(tag & 7);
79
+ }
80
+ return message;
81
+ },
82
+ fromJSON(object) {
83
+ return {
84
+ page: isSet(object.page) ? globalThis.Number(object.page) : undefined,
85
+ limit: isSet(object.limit) ? globalThis.Number(object.limit) : undefined,
86
+ customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : undefined,
87
+ utr: isSet(object.utr) ? globalThis.String(object.utr) : undefined,
88
+ txn_status: isSet(object.txn_status) ? globalThis.String(object.txn_status) : undefined,
89
+ };
90
+ },
91
+ toJSON(message) {
92
+ const obj = {};
93
+ if (message.page !== undefined) {
94
+ obj.page = Math.round(message.page);
95
+ }
96
+ if (message.limit !== undefined) {
97
+ obj.limit = Math.round(message.limit);
98
+ }
99
+ if (message.customer_id !== undefined) {
100
+ obj.customer_id = Math.round(message.customer_id);
101
+ }
102
+ if (message.utr !== undefined) {
103
+ obj.utr = message.utr;
104
+ }
105
+ if (message.txn_status !== undefined) {
106
+ obj.txn_status = message.txn_status;
107
+ }
108
+ return obj;
109
+ },
110
+ create(base) {
111
+ return exports.getAllUPITnxDetailsRequest.fromPartial(base ?? {});
112
+ },
113
+ fromPartial(object) {
114
+ const message = createBasegetAllUPITnxDetailsRequest();
115
+ message.page = object.page ?? undefined;
116
+ message.limit = object.limit ?? undefined;
117
+ message.customer_id = object.customer_id ?? undefined;
118
+ message.utr = object.utr ?? undefined;
119
+ message.txn_status = object.txn_status ?? undefined;
120
+ return message;
121
+ },
122
+ };
123
+ function createBaseUPITxnsDetails() {
124
+ return {
125
+ customer_id: undefined,
126
+ payer_vpa: undefined,
127
+ mobile: undefined,
128
+ payee_vpa: undefined,
129
+ payee_acc_number: undefined,
130
+ payee_ifsc: undefined,
131
+ utr: undefined,
132
+ amount: undefined,
133
+ txn_status: undefined,
134
+ response_code: undefined,
135
+ response_message: undefined,
136
+ created_at: undefined,
137
+ updated_at: undefined,
138
+ };
139
+ }
140
+ exports.UPITxnsDetails = {
141
+ encode(message, writer = minimal_1.default.Writer.create()) {
142
+ if (message.customer_id !== undefined) {
143
+ writer.uint32(8).int32(message.customer_id);
144
+ }
145
+ if (message.payer_vpa !== undefined) {
146
+ writer.uint32(18).string(message.payer_vpa);
147
+ }
148
+ if (message.mobile !== undefined) {
149
+ writer.uint32(26).string(message.mobile);
150
+ }
151
+ if (message.payee_vpa !== undefined) {
152
+ writer.uint32(34).string(message.payee_vpa);
153
+ }
154
+ if (message.payee_acc_number !== undefined) {
155
+ writer.uint32(42).string(message.payee_acc_number);
156
+ }
157
+ if (message.payee_ifsc !== undefined) {
158
+ writer.uint32(50).string(message.payee_ifsc);
159
+ }
160
+ if (message.utr !== undefined) {
161
+ writer.uint32(58).string(message.utr);
162
+ }
163
+ if (message.amount !== undefined) {
164
+ writer.uint32(66).string(message.amount);
165
+ }
166
+ if (message.txn_status !== undefined) {
167
+ writer.uint32(74).string(message.txn_status);
168
+ }
169
+ if (message.response_code !== undefined) {
170
+ writer.uint32(82).string(message.response_code);
171
+ }
172
+ if (message.response_message !== undefined) {
173
+ writer.uint32(90).string(message.response_message);
174
+ }
175
+ if (message.created_at !== undefined) {
176
+ writer.uint32(98).string(message.created_at);
177
+ }
178
+ if (message.updated_at !== undefined) {
179
+ writer.uint32(106).string(message.updated_at);
180
+ }
181
+ return writer;
182
+ },
183
+ decode(input, length) {
184
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
185
+ let end = length === undefined ? reader.len : reader.pos + length;
186
+ const message = createBaseUPITxnsDetails();
187
+ while (reader.pos < end) {
188
+ const tag = reader.uint32();
189
+ switch (tag >>> 3) {
190
+ case 1:
191
+ if (tag !== 8) {
192
+ break;
193
+ }
194
+ message.customer_id = reader.int32();
195
+ continue;
196
+ case 2:
197
+ if (tag !== 18) {
198
+ break;
199
+ }
200
+ message.payer_vpa = reader.string();
201
+ continue;
202
+ case 3:
203
+ if (tag !== 26) {
204
+ break;
205
+ }
206
+ message.mobile = reader.string();
207
+ continue;
208
+ case 4:
209
+ if (tag !== 34) {
210
+ break;
211
+ }
212
+ message.payee_vpa = reader.string();
213
+ continue;
214
+ case 5:
215
+ if (tag !== 42) {
216
+ break;
217
+ }
218
+ message.payee_acc_number = reader.string();
219
+ continue;
220
+ case 6:
221
+ if (tag !== 50) {
222
+ break;
223
+ }
224
+ message.payee_ifsc = reader.string();
225
+ continue;
226
+ case 7:
227
+ if (tag !== 58) {
228
+ break;
229
+ }
230
+ message.utr = reader.string();
231
+ continue;
232
+ case 8:
233
+ if (tag !== 66) {
234
+ break;
235
+ }
236
+ message.amount = reader.string();
237
+ continue;
238
+ case 9:
239
+ if (tag !== 74) {
240
+ break;
241
+ }
242
+ message.txn_status = reader.string();
243
+ continue;
244
+ case 10:
245
+ if (tag !== 82) {
246
+ break;
247
+ }
248
+ message.response_code = reader.string();
249
+ continue;
250
+ case 11:
251
+ if (tag !== 90) {
252
+ break;
253
+ }
254
+ message.response_message = reader.string();
255
+ continue;
256
+ case 12:
257
+ if (tag !== 98) {
258
+ break;
259
+ }
260
+ message.created_at = reader.string();
261
+ continue;
262
+ case 13:
263
+ if (tag !== 106) {
264
+ break;
265
+ }
266
+ message.updated_at = reader.string();
267
+ continue;
268
+ }
269
+ if ((tag & 7) === 4 || tag === 0) {
270
+ break;
271
+ }
272
+ reader.skipType(tag & 7);
273
+ }
274
+ return message;
275
+ },
276
+ fromJSON(object) {
277
+ return {
278
+ customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : undefined,
279
+ payer_vpa: isSet(object.payer_vpa) ? globalThis.String(object.payer_vpa) : undefined,
280
+ mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : undefined,
281
+ payee_vpa: isSet(object.payee_vpa) ? globalThis.String(object.payee_vpa) : undefined,
282
+ payee_acc_number: isSet(object.payee_acc_number) ? globalThis.String(object.payee_acc_number) : undefined,
283
+ payee_ifsc: isSet(object.payee_ifsc) ? globalThis.String(object.payee_ifsc) : undefined,
284
+ utr: isSet(object.utr) ? globalThis.String(object.utr) : undefined,
285
+ amount: isSet(object.amount) ? globalThis.String(object.amount) : undefined,
286
+ txn_status: isSet(object.txn_status) ? globalThis.String(object.txn_status) : undefined,
287
+ response_code: isSet(object.response_code) ? globalThis.String(object.response_code) : undefined,
288
+ response_message: isSet(object.response_message) ? globalThis.String(object.response_message) : undefined,
289
+ created_at: isSet(object.created_at) ? globalThis.String(object.created_at) : undefined,
290
+ updated_at: isSet(object.updated_at) ? globalThis.String(object.updated_at) : undefined,
291
+ };
292
+ },
293
+ toJSON(message) {
294
+ const obj = {};
295
+ if (message.customer_id !== undefined) {
296
+ obj.customer_id = Math.round(message.customer_id);
297
+ }
298
+ if (message.payer_vpa !== undefined) {
299
+ obj.payer_vpa = message.payer_vpa;
300
+ }
301
+ if (message.mobile !== undefined) {
302
+ obj.mobile = message.mobile;
303
+ }
304
+ if (message.payee_vpa !== undefined) {
305
+ obj.payee_vpa = message.payee_vpa;
306
+ }
307
+ if (message.payee_acc_number !== undefined) {
308
+ obj.payee_acc_number = message.payee_acc_number;
309
+ }
310
+ if (message.payee_ifsc !== undefined) {
311
+ obj.payee_ifsc = message.payee_ifsc;
312
+ }
313
+ if (message.utr !== undefined) {
314
+ obj.utr = message.utr;
315
+ }
316
+ if (message.amount !== undefined) {
317
+ obj.amount = message.amount;
318
+ }
319
+ if (message.txn_status !== undefined) {
320
+ obj.txn_status = message.txn_status;
321
+ }
322
+ if (message.response_code !== undefined) {
323
+ obj.response_code = message.response_code;
324
+ }
325
+ if (message.response_message !== undefined) {
326
+ obj.response_message = message.response_message;
327
+ }
328
+ if (message.created_at !== undefined) {
329
+ obj.created_at = message.created_at;
330
+ }
331
+ if (message.updated_at !== undefined) {
332
+ obj.updated_at = message.updated_at;
333
+ }
334
+ return obj;
335
+ },
336
+ create(base) {
337
+ return exports.UPITxnsDetails.fromPartial(base ?? {});
338
+ },
339
+ fromPartial(object) {
340
+ const message = createBaseUPITxnsDetails();
341
+ message.customer_id = object.customer_id ?? undefined;
342
+ message.payer_vpa = object.payer_vpa ?? undefined;
343
+ message.mobile = object.mobile ?? undefined;
344
+ message.payee_vpa = object.payee_vpa ?? undefined;
345
+ message.payee_acc_number = object.payee_acc_number ?? undefined;
346
+ message.payee_ifsc = object.payee_ifsc ?? undefined;
347
+ message.utr = object.utr ?? undefined;
348
+ message.amount = object.amount ?? undefined;
349
+ message.txn_status = object.txn_status ?? undefined;
350
+ message.response_code = object.response_code ?? undefined;
351
+ message.response_message = object.response_message ?? undefined;
352
+ message.created_at = object.created_at ?? undefined;
353
+ message.updated_at = object.updated_at ?? undefined;
354
+ return message;
355
+ },
356
+ };
357
+ function createBasegetAllUPITnxDetailsResponse() {
358
+ return { transactions: [] };
359
+ }
360
+ exports.getAllUPITnxDetailsResponse = {
361
+ encode(message, writer = minimal_1.default.Writer.create()) {
362
+ for (const v of message.transactions) {
363
+ exports.UPITxnsDetails.encode(v, writer.uint32(10).fork()).ldelim();
364
+ }
365
+ return writer;
366
+ },
367
+ decode(input, length) {
368
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
369
+ let end = length === undefined ? reader.len : reader.pos + length;
370
+ const message = createBasegetAllUPITnxDetailsResponse();
371
+ while (reader.pos < end) {
372
+ const tag = reader.uint32();
373
+ switch (tag >>> 3) {
374
+ case 1:
375
+ if (tag !== 10) {
376
+ break;
377
+ }
378
+ message.transactions.push(exports.UPITxnsDetails.decode(reader, reader.uint32()));
379
+ continue;
380
+ }
381
+ if ((tag & 7) === 4 || tag === 0) {
382
+ break;
383
+ }
384
+ reader.skipType(tag & 7);
385
+ }
386
+ return message;
387
+ },
388
+ fromJSON(object) {
389
+ return {
390
+ transactions: globalThis.Array.isArray(object?.transactions)
391
+ ? object.transactions.map((e) => exports.UPITxnsDetails.fromJSON(e))
392
+ : [],
393
+ };
394
+ },
395
+ toJSON(message) {
396
+ const obj = {};
397
+ if (message.transactions?.length) {
398
+ obj.transactions = message.transactions.map((e) => exports.UPITxnsDetails.toJSON(e));
399
+ }
400
+ return obj;
401
+ },
402
+ create(base) {
403
+ return exports.getAllUPITnxDetailsResponse.fromPartial(base ?? {});
404
+ },
405
+ fromPartial(object) {
406
+ const message = createBasegetAllUPITnxDetailsResponse();
407
+ message.transactions = object.transactions?.map((e) => exports.UPITxnsDetails.fromPartial(e)) || [];
408
+ return message;
409
+ },
410
+ };
411
+ function isSet(value) {
412
+ return value !== null && value !== undefined;
413
+ }
package/ts/upi.d.ts CHANGED
@@ -8,6 +8,7 @@ import { declineTransactionRequest, declineTransactionResponse } from "./upi/dec
8
8
  import { deregisterProfileReqeust, deregisterProfileResponse } from "./upi/deregisterprofile";
9
9
  import { getAccountsByProviderRequest, getAccountsByProviderResponse } from "./upi/getaccountsbyprovider";
10
10
  import { getAllMandatesRequest, getAllMandatesResponse } from "./upi/getallmandates";
11
+ import { getAllUPITnxDetailsRequest, getAllUPITnxDetailsResponse } from "./upi/getallupitxnsdetails";
11
12
  import { getAvailableVPARequest, getAvailableVPAResponse } from "./upi/getavailablevpa";
12
13
  import { getListedAccountProvidersRequest, getListedAccountProvidersResponse } from "./upi/getlistedaccountproviders";
13
14
  import { getMandateDetailsReponse, getMandatesDetailsRequest } from "./upi/getmandatedetails";
@@ -280,6 +281,15 @@ export declare const upiService: {
280
281
  readonly responseSerialize: (value: declineTransactionResponse) => Buffer;
281
282
  readonly responseDeserialize: (value: Buffer) => declineTransactionResponse;
282
283
  };
284
+ readonly getAllUpiTnxsDetails: {
285
+ readonly path: "/service.upi/getAllUPITnxsDetails";
286
+ readonly requestStream: false;
287
+ readonly responseStream: false;
288
+ readonly requestSerialize: (value: getAllUPITnxDetailsRequest) => Buffer;
289
+ readonly requestDeserialize: (value: Buffer) => getAllUPITnxDetailsRequest;
290
+ readonly responseSerialize: (value: getAllUPITnxDetailsResponse) => Buffer;
291
+ readonly responseDeserialize: (value: Buffer) => getAllUPITnxDetailsResponse;
292
+ };
283
293
  };
284
294
  export interface upiServer extends UntypedServiceImplementation {
285
295
  getListedAccountProviders: handleUnaryCall<getListedAccountProvidersRequest, getListedAccountProvidersResponse>;
@@ -310,6 +320,7 @@ export interface upiServer extends UntypedServiceImplementation {
310
320
  getAllIpoMandates: handleUnaryCall<getAllMandatesRequest, getAllMandatesResponse>;
311
321
  checkDeregisterPermission: handleUnaryCall<checkDeregisterPermissionRequest, checkDeregisterPermissionResponse>;
312
322
  declinetransaction: handleUnaryCall<declineTransactionRequest, declineTransactionResponse>;
323
+ getAllUpiTnxsDetails: handleUnaryCall<getAllUPITnxDetailsRequest, getAllUPITnxDetailsResponse>;
313
324
  }
314
325
  export interface upiClient extends Client {
315
326
  getListedAccountProviders(request: getListedAccountProvidersRequest, callback: (error: ServiceError | null, response: getListedAccountProvidersResponse) => void): ClientUnaryCall;
@@ -396,6 +407,9 @@ export interface upiClient extends Client {
396
407
  declinetransaction(request: declineTransactionRequest, callback: (error: ServiceError | null, response: declineTransactionResponse) => void): ClientUnaryCall;
397
408
  declinetransaction(request: declineTransactionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: declineTransactionResponse) => void): ClientUnaryCall;
398
409
  declinetransaction(request: declineTransactionRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: declineTransactionResponse) => void): ClientUnaryCall;
410
+ getAllUpiTnxsDetails(request: getAllUPITnxDetailsRequest, callback: (error: ServiceError | null, response: getAllUPITnxDetailsResponse) => void): ClientUnaryCall;
411
+ getAllUpiTnxsDetails(request: getAllUPITnxDetailsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getAllUPITnxDetailsResponse) => void): ClientUnaryCall;
412
+ getAllUpiTnxsDetails(request: getAllUPITnxDetailsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getAllUPITnxDetailsResponse) => void): ClientUnaryCall;
399
413
  }
400
414
  export declare const upiClient: {
401
415
  new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): upiClient;
package/ts/upi.js CHANGED
@@ -17,6 +17,7 @@ const declinetransaction_1 = require("./upi/declinetransaction");
17
17
  const deregisterprofile_1 = require("./upi/deregisterprofile");
18
18
  const getaccountsbyprovider_1 = require("./upi/getaccountsbyprovider");
19
19
  const getallmandates_1 = require("./upi/getallmandates");
20
+ const getallupitxnsdetails_1 = require("./upi/getallupitxnsdetails");
20
21
  const getavailablevpa_1 = require("./upi/getavailablevpa");
21
22
  const getlistedaccountproviders_1 = require("./upi/getlistedaccountproviders");
22
23
  const getmandatedetails_1 = require("./upi/getmandatedetails");
@@ -288,5 +289,14 @@ exports.upiService = {
288
289
  responseSerialize: (value) => Buffer.from(declinetransaction_1.declineTransactionResponse.encode(value).finish()),
289
290
  responseDeserialize: (value) => declinetransaction_1.declineTransactionResponse.decode(value),
290
291
  },
292
+ getAllUpiTnxsDetails: {
293
+ path: "/service.upi/getAllUPITnxsDetails",
294
+ requestStream: false,
295
+ responseStream: false,
296
+ requestSerialize: (value) => Buffer.from(getallupitxnsdetails_1.getAllUPITnxDetailsRequest.encode(value).finish()),
297
+ requestDeserialize: (value) => getallupitxnsdetails_1.getAllUPITnxDetailsRequest.decode(value),
298
+ responseSerialize: (value) => Buffer.from(getallupitxnsdetails_1.getAllUPITnxDetailsResponse.encode(value).finish()),
299
+ responseDeserialize: (value) => getallupitxnsdetails_1.getAllUPITnxDetailsResponse.decode(value),
300
+ },
291
301
  };
292
302
  exports.upiClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.upiService, "service.upi");