@stashfin/grpc 1.2.504 → 1.2.506

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.504",
3
+ "version": "1.2.506",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -22,6 +22,8 @@ export interface checkTransactionStatusResponse {
22
22
  payee_masked_account_number?: string | undefined;
23
23
  payee_bank_account_name?: string | undefined;
24
24
  payee_ifsc?: string | undefined;
25
+ lite_lrn?: string | undefined;
26
+ txn_type?: string | undefined;
25
27
  }
26
28
  export declare const checkTransactionStatusRequest: {
27
29
  encode(message: checkTransactionStatusRequest, writer?: _m0.Writer): _m0.Writer;
@@ -123,6 +123,8 @@ function createBasecheckTransactionStatusResponse() {
123
123
  payee_masked_account_number: undefined,
124
124
  payee_bank_account_name: undefined,
125
125
  payee_ifsc: undefined,
126
+ lite_lrn: undefined,
127
+ txn_type: undefined,
126
128
  };
127
129
  }
128
130
  exports.checkTransactionStatusResponse = {
@@ -172,6 +174,12 @@ exports.checkTransactionStatusResponse = {
172
174
  if (message.payee_ifsc !== undefined) {
173
175
  writer.uint32(122).string(message.payee_ifsc);
174
176
  }
177
+ if (message.lite_lrn !== undefined) {
178
+ writer.uint32(130).string(message.lite_lrn);
179
+ }
180
+ if (message.txn_type !== undefined) {
181
+ writer.uint32(138).string(message.txn_type);
182
+ }
175
183
  return writer;
176
184
  },
177
185
  decode(input, length) {
@@ -271,6 +279,18 @@ exports.checkTransactionStatusResponse = {
271
279
  }
272
280
  message.payee_ifsc = reader.string();
273
281
  continue;
282
+ case 16:
283
+ if (tag !== 130) {
284
+ break;
285
+ }
286
+ message.lite_lrn = reader.string();
287
+ continue;
288
+ case 17:
289
+ if (tag !== 138) {
290
+ break;
291
+ }
292
+ message.txn_type = reader.string();
293
+ continue;
274
294
  }
275
295
  if ((tag & 7) === 4 || tag === 0) {
276
296
  break;
@@ -304,6 +324,8 @@ exports.checkTransactionStatusResponse = {
304
324
  ? globalThis.String(object.payee_bank_account_name)
305
325
  : undefined,
306
326
  payee_ifsc: isSet(object.payee_ifsc) ? globalThis.String(object.payee_ifsc) : undefined,
327
+ lite_lrn: isSet(object.lite_lrn) ? globalThis.String(object.lite_lrn) : undefined,
328
+ txn_type: isSet(object.txn_type) ? globalThis.String(object.txn_type) : undefined,
307
329
  };
308
330
  },
309
331
  toJSON(message) {
@@ -353,6 +375,12 @@ exports.checkTransactionStatusResponse = {
353
375
  if (message.payee_ifsc !== undefined) {
354
376
  obj.payee_ifsc = message.payee_ifsc;
355
377
  }
378
+ if (message.lite_lrn !== undefined) {
379
+ obj.lite_lrn = message.lite_lrn;
380
+ }
381
+ if (message.txn_type !== undefined) {
382
+ obj.txn_type = message.txn_type;
383
+ }
356
384
  return obj;
357
385
  },
358
386
  create(base) {
@@ -375,6 +403,8 @@ exports.checkTransactionStatusResponse = {
375
403
  message.payee_masked_account_number = object.payee_masked_account_number ?? undefined;
376
404
  message.payee_bank_account_name = object.payee_bank_account_name ?? undefined;
377
405
  message.payee_ifsc = object.payee_ifsc ?? undefined;
406
+ message.lite_lrn = object.lite_lrn ?? undefined;
407
+ message.txn_type = object.txn_type ?? undefined;
378
408
  return message;
379
409
  },
380
410
  };
@@ -20,6 +20,7 @@ export interface initiateTransactionRequest {
20
20
  merchant_type?: string | undefined;
21
21
  payee_account_provider?: string | undefined;
22
22
  seq_no?: string | undefined;
23
+ meta_data?: string | undefined;
23
24
  }
24
25
  export interface initiateTransactionResponse {
25
26
  seq_no: string;
@@ -33,6 +33,7 @@ function createBaseinitiateTransactionRequest() {
33
33
  merchant_type: undefined,
34
34
  payee_account_provider: undefined,
35
35
  seq_no: undefined,
36
+ meta_data: undefined,
36
37
  };
37
38
  }
38
39
  exports.initiateTransactionRequest = {
@@ -94,6 +95,9 @@ exports.initiateTransactionRequest = {
94
95
  if (message.seq_no !== undefined) {
95
96
  writer.uint32(154).string(message.seq_no);
96
97
  }
98
+ if (message.meta_data !== undefined) {
99
+ writer.uint32(162).string(message.meta_data);
100
+ }
97
101
  return writer;
98
102
  },
99
103
  decode(input, length) {
@@ -217,6 +221,12 @@ exports.initiateTransactionRequest = {
217
221
  }
218
222
  message.seq_no = reader.string();
219
223
  continue;
224
+ case 20:
225
+ if (tag !== 162) {
226
+ break;
227
+ }
228
+ message.meta_data = reader.string();
229
+ continue;
220
230
  }
221
231
  if ((tag & 7) === 4 || tag === 0) {
222
232
  break;
@@ -250,6 +260,7 @@ exports.initiateTransactionRequest = {
250
260
  ? globalThis.String(object.payee_account_provider)
251
261
  : undefined,
252
262
  seq_no: isSet(object.seq_no) ? globalThis.String(object.seq_no) : undefined,
263
+ meta_data: isSet(object.meta_data) ? globalThis.String(object.meta_data) : undefined,
253
264
  };
254
265
  },
255
266
  toJSON(message) {
@@ -311,6 +322,9 @@ exports.initiateTransactionRequest = {
311
322
  if (message.seq_no !== undefined) {
312
323
  obj.seq_no = message.seq_no;
313
324
  }
325
+ if (message.meta_data !== undefined) {
326
+ obj.meta_data = message.meta_data;
327
+ }
314
328
  return obj;
315
329
  },
316
330
  create(base) {
@@ -337,6 +351,7 @@ exports.initiateTransactionRequest = {
337
351
  message.merchant_type = object.merchant_type ?? undefined;
338
352
  message.payee_account_provider = object.payee_account_provider ?? undefined;
339
353
  message.seq_no = object.seq_no ?? undefined;
354
+ message.meta_data = object.meta_data ?? undefined;
340
355
  return message;
341
356
  },
342
357
  };