@stashfin/grpc 1.2.880 → 1.2.881

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.880",
3
+ "version": "1.2.881",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -30,6 +30,11 @@ export interface BBPSTransactions {
30
30
  biller_id?: string | undefined;
31
31
  pg_txn_ref_id?: string | undefined;
32
32
  biller_status?: string | undefined;
33
+ order_id?: string | undefined;
34
+ txn_error_code?: string | undefined;
35
+ txm_error_msg?: string | undefined;
36
+ status_error_code?: string | undefined;
37
+ status_error_msg?: string | undefined;
33
38
  }
34
39
  export interface getAllBbpsTnxResponse {
35
40
  transactions: BBPSTransactions[];
@@ -247,6 +247,11 @@ function createBaseBBPSTransactions() {
247
247
  biller_id: undefined,
248
248
  pg_txn_ref_id: undefined,
249
249
  biller_status: undefined,
250
+ order_id: undefined,
251
+ txn_error_code: undefined,
252
+ txm_error_msg: undefined,
253
+ status_error_code: undefined,
254
+ status_error_msg: undefined,
250
255
  };
251
256
  }
252
257
  exports.BBPSTransactions = {
@@ -293,6 +298,21 @@ exports.BBPSTransactions = {
293
298
  if (message.biller_status !== undefined) {
294
299
  writer.uint32(114).string(message.biller_status);
295
300
  }
301
+ if (message.order_id !== undefined) {
302
+ writer.uint32(122).string(message.order_id);
303
+ }
304
+ if (message.txn_error_code !== undefined) {
305
+ writer.uint32(130).string(message.txn_error_code);
306
+ }
307
+ if (message.txm_error_msg !== undefined) {
308
+ writer.uint32(138).string(message.txm_error_msg);
309
+ }
310
+ if (message.status_error_code !== undefined) {
311
+ writer.uint32(146).string(message.status_error_code);
312
+ }
313
+ if (message.status_error_msg !== undefined) {
314
+ writer.uint32(154).string(message.status_error_msg);
315
+ }
296
316
  return writer;
297
317
  },
298
318
  decode(input, length) {
@@ -386,6 +406,36 @@ exports.BBPSTransactions = {
386
406
  }
387
407
  message.biller_status = reader.string();
388
408
  continue;
409
+ case 15:
410
+ if (tag !== 122) {
411
+ break;
412
+ }
413
+ message.order_id = reader.string();
414
+ continue;
415
+ case 16:
416
+ if (tag !== 130) {
417
+ break;
418
+ }
419
+ message.txn_error_code = reader.string();
420
+ continue;
421
+ case 17:
422
+ if (tag !== 138) {
423
+ break;
424
+ }
425
+ message.txm_error_msg = reader.string();
426
+ continue;
427
+ case 18:
428
+ if (tag !== 146) {
429
+ break;
430
+ }
431
+ message.status_error_code = reader.string();
432
+ continue;
433
+ case 19:
434
+ if (tag !== 154) {
435
+ break;
436
+ }
437
+ message.status_error_msg = reader.string();
438
+ continue;
389
439
  }
390
440
  if ((tag & 7) === 4 || tag === 0) {
391
441
  break;
@@ -410,6 +460,11 @@ exports.BBPSTransactions = {
410
460
  biller_id: isSet(object.biller_id) ? globalThis.String(object.biller_id) : undefined,
411
461
  pg_txn_ref_id: isSet(object.pg_txn_ref_id) ? globalThis.String(object.pg_txn_ref_id) : undefined,
412
462
  biller_status: isSet(object.biller_status) ? globalThis.String(object.biller_status) : undefined,
463
+ order_id: isSet(object.order_id) ? globalThis.String(object.order_id) : undefined,
464
+ txn_error_code: isSet(object.txn_error_code) ? globalThis.String(object.txn_error_code) : undefined,
465
+ txm_error_msg: isSet(object.txm_error_msg) ? globalThis.String(object.txm_error_msg) : undefined,
466
+ status_error_code: isSet(object.status_error_code) ? globalThis.String(object.status_error_code) : undefined,
467
+ status_error_msg: isSet(object.status_error_msg) ? globalThis.String(object.status_error_msg) : undefined,
413
468
  };
414
469
  },
415
470
  toJSON(message) {
@@ -456,6 +511,21 @@ exports.BBPSTransactions = {
456
511
  if (message.biller_status !== undefined) {
457
512
  obj.biller_status = message.biller_status;
458
513
  }
514
+ if (message.order_id !== undefined) {
515
+ obj.order_id = message.order_id;
516
+ }
517
+ if (message.txn_error_code !== undefined) {
518
+ obj.txn_error_code = message.txn_error_code;
519
+ }
520
+ if (message.txm_error_msg !== undefined) {
521
+ obj.txm_error_msg = message.txm_error_msg;
522
+ }
523
+ if (message.status_error_code !== undefined) {
524
+ obj.status_error_code = message.status_error_code;
525
+ }
526
+ if (message.status_error_msg !== undefined) {
527
+ obj.status_error_msg = message.status_error_msg;
528
+ }
459
529
  return obj;
460
530
  },
461
531
  create(base) {
@@ -477,6 +547,11 @@ exports.BBPSTransactions = {
477
547
  message.biller_id = object.biller_id ?? undefined;
478
548
  message.pg_txn_ref_id = object.pg_txn_ref_id ?? undefined;
479
549
  message.biller_status = object.biller_status ?? undefined;
550
+ message.order_id = object.order_id ?? undefined;
551
+ message.txn_error_code = object.txn_error_code ?? undefined;
552
+ message.txm_error_msg = object.txm_error_msg ?? undefined;
553
+ message.status_error_code = object.status_error_code ?? undefined;
554
+ message.status_error_msg = object.status_error_msg ?? undefined;
480
555
  return message;
481
556
  },
482
557
  };