@stashfin/grpc 1.2.262 → 1.2.264

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.
Files changed (163) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.js +2 -2
  3. package/ts/bureau/getdbrcolending.js +2 -2
  4. package/ts/bureau/getdemogs.js +2 -2
  5. package/ts/bureau/getobligation.js +2 -2
  6. package/ts/bureau/getreport.d.ts +3 -3
  7. package/ts/bureau/getreport.js +2 -2
  8. package/ts/bureau.js +2 -2
  9. package/ts/colender/disburseLoan.js +2 -2
  10. package/ts/colender/forecloseLoan.js +2 -2
  11. package/ts/colender/repayLoan.js +2 -2
  12. package/ts/colender.js +2 -2
  13. package/ts/customers/aa/getbanklist.js +2 -2
  14. package/ts/customers/aa/initiate.js +2 -2
  15. package/ts/customers/addaddress.js +2 -2
  16. package/ts/customers/addbankaccountdetails.js +2 -2
  17. package/ts/customers/addfathersname.js +2 -2
  18. package/ts/customers/addgstnumber.js +2 -2
  19. package/ts/customers/addmoredetails.js +2 -2
  20. package/ts/customers/addsuspendedcustomer.js +2 -2
  21. package/ts/customers/adduserapps.js +2 -2
  22. package/ts/customers/bulksms.js +2 -2
  23. package/ts/customers/cb/cbsignup.js +2 -2
  24. package/ts/customers/cb/getcbtxnstatus.js +2 -2
  25. package/ts/customers/cb/getcreditbuilder.js +2 -2
  26. package/ts/customers/cb/paynow.js +2 -2
  27. package/ts/customers/cb/savecreditbuilder.js +2 -2
  28. package/ts/customers/cb/updatecbtxnstatus.js +2 -2
  29. package/ts/customers/changempin.js +2 -2
  30. package/ts/customers/createcustomerreference.js +2 -2
  31. package/ts/customers/deleteprofile.js +2 -2
  32. package/ts/customers/disablempin.js +2 -2
  33. package/ts/customers/enach/gettxnstatus.js +2 -2
  34. package/ts/customers/enach/getweburl.js +2 -2
  35. package/ts/customers/enach/updatetxnstatus.js +2 -2
  36. package/ts/customers/fetchrcprofile.js +2 -2
  37. package/ts/customers/floatingvideos.js +2 -2
  38. package/ts/customers/forgotmpin.js +2 -2
  39. package/ts/customers/forgotmpinverify.js +2 -2
  40. package/ts/customers/freedom/addressconfirmation.js +2 -2
  41. package/ts/customers/freedom/freedompaynow.js +2 -2
  42. package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
  43. package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
  44. package/ts/customers/getaddresslist.js +2 -2
  45. package/ts/customers/getappsubmittedscreen.js +2 -2
  46. package/ts/customers/getbankaccountdetails.js +2 -2
  47. package/ts/customers/getbasicinfo.js +2 -2
  48. package/ts/customers/getcities.js +2 -2
  49. package/ts/customers/getcompanyaccdetails.js +2 -2
  50. package/ts/customers/getcustomerbyid.js +2 -2
  51. package/ts/customers/getdashboard.js +2 -2
  52. package/ts/customers/getdashboardmaincard.js +2 -2
  53. package/ts/customers/getdocuments.js +2 -2
  54. package/ts/customers/getlimit.js +2 -2
  55. package/ts/customers/getoccupationlist.js +2 -2
  56. package/ts/customers/getprofessionalinfo.js +2 -2
  57. package/ts/customers/getprofile.js +2 -2
  58. package/ts/customers/getselfieetxnid.js +2 -2
  59. package/ts/customers/getstates.js +2 -2
  60. package/ts/customers/getstep.js +2 -2
  61. package/ts/customers/logout.js +2 -2
  62. package/ts/customers/pd/getbanklist.js +2 -2
  63. package/ts/customers/pd/validatebankaccount.js +2 -2
  64. package/ts/customers/profilebasic.js +2 -2
  65. package/ts/customers/profileupdatetnc.js +2 -2
  66. package/ts/customers/rpd/getrpdlink.js +2 -2
  67. package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
  68. package/ts/customers/rpd/mockpayment.js +2 -2
  69. package/ts/customers/savebasicdetails.js +2 -2
  70. package/ts/customers/savelimit.js +2 -2
  71. package/ts/customers/saveunlocklimit.js +2 -2
  72. package/ts/customers/sendotp.js +2 -2
  73. package/ts/customers/sendotptoemail.js +2 -2
  74. package/ts/customers/setmpin.js +2 -2
  75. package/ts/customers/skipscreen.js +2 -2
  76. package/ts/customers/updatecustomerbyid.js +2 -2
  77. package/ts/customers/updatedlnumber.js +2 -2
  78. package/ts/customers/updatedob.js +2 -2
  79. package/ts/customers/updatelocstatus.js +2 -2
  80. package/ts/customers/updatemobilesendotp.js +2 -2
  81. package/ts/customers/updatemobileverifyotp.js +2 -2
  82. package/ts/customers/updateokyctxn.js +2 -2
  83. package/ts/customers/updateselfieetxn.js +2 -2
  84. package/ts/customers/updatevehiclenumber.js +2 -2
  85. package/ts/customers/uploaddocuments.js +2 -2
  86. package/ts/customers/validatepan.js +2 -2
  87. package/ts/customers/verifympin.js +2 -2
  88. package/ts/customers/verifyotp.js +2 -2
  89. package/ts/customers/verifyotptoemail.js +2 -2
  90. package/ts/customers.d.ts +0 -28
  91. package/ts/customers.js +2 -22
  92. package/ts/decisionengine/decisionengine.js +2 -2
  93. package/ts/decisionengine.js +2 -2
  94. package/ts/example.js +2 -2
  95. package/ts/growth/checkplanstatus.js +2 -2
  96. package/ts/growth/getattachplandetails.js +2 -2
  97. package/ts/growth/getchrplans.js +2 -2
  98. package/ts/growth/getcredithealthreport.js +2 -2
  99. package/ts/growth/initiatepayment.js +2 -2
  100. package/ts/growth/processchrpayment.js +2 -2
  101. package/ts/growth.js +2 -2
  102. package/ts/loans/amortization.js +2 -2
  103. package/ts/loans/approveloan.d.ts +0 -1
  104. package/ts/loans/approveloan.js +6 -21
  105. package/ts/loans/banklist.js +2 -2
  106. package/ts/loans/calculateemi.js +2 -2
  107. package/ts/loans/creditlimit.js +2 -2
  108. package/ts/loans/fcppayment.d.ts +1 -0
  109. package/ts/loans/fcppayment.js +19 -5
  110. package/ts/loans/forecloseamount.js +2 -2
  111. package/ts/loans/foreclosepayment.d.ts +1 -0
  112. package/ts/loans/foreclosepayment.js +19 -5
  113. package/ts/loans/futurepaymentmoredetails.js +2 -2
  114. package/ts/loans/getbilldetails.js +2 -2
  115. package/ts/loans/getcustomerloanstatus.js +2 -2
  116. package/ts/loans/getloanbyid.d.ts +0 -1
  117. package/ts/loans/getloanbyid.js +2 -17
  118. package/ts/loans/getnextdueamount.js +2 -2
  119. package/ts/loans/getpendingemiamount.js +2 -2
  120. package/ts/loans/getsummarystaticfields.js +2 -2
  121. package/ts/loans/gettransactionstatus.js +2 -2
  122. package/ts/loans/getvirtualbankinfo.js +2 -2
  123. package/ts/loans/loansummary.d.ts +0 -1
  124. package/ts/loans/loansummary.js +6 -21
  125. package/ts/loans/paymentallocation.js +2 -2
  126. package/ts/loans/paymenthistory.js +2 -2
  127. package/ts/loans/paynow.js +2 -2
  128. package/ts/loans/refund.d.ts +1 -0
  129. package/ts/loans/refund.js +19 -5
  130. package/ts/loans/restructureloan.js +2 -2
  131. package/ts/loans/rollback.d.ts +1 -0
  132. package/ts/loans/rollback.js +19 -5
  133. package/ts/loans/sendemail.js +2 -2
  134. package/ts/loans/sendnocemail.js +2 -2
  135. package/ts/loans/transactionlist.js +2 -2
  136. package/ts/loans/updateinstallments.d.ts +2 -0
  137. package/ts/loans/updateinstallments.js +45 -8
  138. package/ts/loans/updateloan.js +2 -2
  139. package/ts/loans/updatetransactionstatus.js +2 -2
  140. package/ts/loans.d.ts +0 -14
  141. package/ts/loans.js +2 -12
  142. package/ts/payments/checkpaymentstatus.js +2 -2
  143. package/ts/payments/getpaymentoptions.js +2 -2
  144. package/ts/payments/initiatepayment.js +2 -2
  145. package/ts/payments/nachpresentation.js +2 -2
  146. package/ts/payments/nachregistration.js +2 -2
  147. package/ts/payments.js +2 -2
  148. package/ts/stashcash/creditsc.js +2 -2
  149. package/ts/stashcash/debitsc.js +2 -2
  150. package/ts/stashcash/getscbalance.js +2 -2
  151. package/ts/stashcash/getschistory.js +2 -2
  152. package/ts/stashcash/reversesc.js +2 -2
  153. package/ts/stashcash.js +2 -2
  154. package/ts/bureau/getbureaulist.d.ts +0 -52
  155. package/ts/bureau/getbureaulist.js +0 -276
  156. package/ts/customers/getpaymentoptions.d.ts +0 -51
  157. package/ts/customers/getpaymentoptions.js +0 -243
  158. package/ts/customers/getrpdlink.d.ts +0 -40
  159. package/ts/customers/getrpdlink.js +0 -190
  160. package/ts/customers/updatecategory.d.ts +0 -36
  161. package/ts/customers/updatecategory.js +0 -147
  162. package/ts/loans/getusedlimit.d.ts +0 -35
  163. package/ts/loans/getusedlimit.js +0 -117
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: loans/loansummary.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -124,7 +124,6 @@ function createBaseloanSummaryResponse() {
124
124
  credit_report_actual_fees: 0,
125
125
  plan_id: 0,
126
126
  approved_amount: 0,
127
- discount: 0,
128
127
  };
129
128
  }
130
129
  exports.loanSummaryResponse = {
@@ -199,7 +198,7 @@ exports.loanSummaryResponse = {
199
198
  writer.uint32(186).string(message.bill_card_description);
200
199
  }
201
200
  if (message.apr_value !== 0) {
202
- writer.uint32(197).float(message.apr_value);
201
+ writer.uint32(192).int32(message.apr_value);
203
202
  }
204
203
  if (message.apr_type !== "") {
205
204
  writer.uint32(202).string(message.apr_type);
@@ -219,9 +218,6 @@ exports.loanSummaryResponse = {
219
218
  if (message.approved_amount !== 0) {
220
219
  writer.uint32(240).int32(message.approved_amount);
221
220
  }
222
- if (message.discount !== 0) {
223
- writer.uint32(248).int32(message.discount);
224
- }
225
221
  return writer;
226
222
  },
227
223
  decode(input, length) {
@@ -370,10 +366,10 @@ exports.loanSummaryResponse = {
370
366
  message.bill_card_description = reader.string();
371
367
  continue;
372
368
  case 24:
373
- if (tag !== 197) {
369
+ if (tag !== 192) {
374
370
  break;
375
371
  }
376
- message.apr_value = reader.float();
372
+ message.apr_value = reader.int32();
377
373
  continue;
378
374
  case 25:
379
375
  if (tag !== 202) {
@@ -411,12 +407,6 @@ exports.loanSummaryResponse = {
411
407
  }
412
408
  message.approved_amount = reader.int32();
413
409
  continue;
414
- case 31:
415
- if (tag !== 248) {
416
- break;
417
- }
418
- message.discount = reader.int32();
419
- continue;
420
410
  }
421
411
  if ((tag & 7) === 4 || tag === 0) {
422
412
  break;
@@ -465,7 +455,6 @@ exports.loanSummaryResponse = {
465
455
  : 0,
466
456
  plan_id: isSet(object.plan_id) ? globalThis.Number(object.plan_id) : 0,
467
457
  approved_amount: isSet(object.approved_amount) ? globalThis.Number(object.approved_amount) : 0,
468
- discount: isSet(object.discount) ? globalThis.Number(object.discount) : 0,
469
458
  };
470
459
  },
471
460
  toJSON(message) {
@@ -540,7 +529,7 @@ exports.loanSummaryResponse = {
540
529
  obj.bill_card_description = message.bill_card_description;
541
530
  }
542
531
  if (message.apr_value !== 0) {
543
- obj.apr_value = message.apr_value;
532
+ obj.apr_value = Math.round(message.apr_value);
544
533
  }
545
534
  if (message.apr_type !== "") {
546
535
  obj.apr_type = message.apr_type;
@@ -560,9 +549,6 @@ exports.loanSummaryResponse = {
560
549
  if (message.approved_amount !== 0) {
561
550
  obj.approved_amount = Math.round(message.approved_amount);
562
551
  }
563
- if (message.discount !== 0) {
564
- obj.discount = Math.round(message.discount);
565
- }
566
552
  return obj;
567
553
  },
568
554
  create(base) {
@@ -600,7 +586,6 @@ exports.loanSummaryResponse = {
600
586
  message.credit_report_actual_fees = object.credit_report_actual_fees ?? 0;
601
587
  message.plan_id = object.plan_id ?? 0;
602
588
  message.approved_amount = object.approved_amount ?? 0;
603
- message.discount = object.discount ?? 0;
604
589
  return message;
605
590
  },
606
591
  };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: loans/paymentallocation.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: loans/paymenthistory.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: loans/paynow.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -4,6 +4,7 @@ export interface refundRequest {
4
4
  amount: number;
5
5
  customerid: number;
6
6
  loan_id: number;
7
+ payment_id: number;
7
8
  mode: string;
8
9
  }
9
10
  export interface refundResponse {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: loans/refund.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -13,7 +13,7 @@ exports.refundResponse = exports.refundRequest = exports.protobufPackage = void
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "loans.refund";
15
15
  function createBaserefundRequest() {
16
- return { amount: 0, customerid: 0, loan_id: 0, mode: "" };
16
+ return { amount: 0, customerid: 0, loan_id: 0, payment_id: 0, mode: "" };
17
17
  }
18
18
  exports.refundRequest = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -26,8 +26,11 @@ exports.refundRequest = {
26
26
  if (message.loan_id !== 0) {
27
27
  writer.uint32(24).int32(message.loan_id);
28
28
  }
29
+ if (message.payment_id !== 0) {
30
+ writer.uint32(32).int32(message.payment_id);
31
+ }
29
32
  if (message.mode !== "") {
30
- writer.uint32(34).string(message.mode);
33
+ writer.uint32(42).string(message.mode);
31
34
  }
32
35
  return writer;
33
36
  },
@@ -57,7 +60,13 @@ exports.refundRequest = {
57
60
  message.loan_id = reader.int32();
58
61
  continue;
59
62
  case 4:
60
- if (tag !== 34) {
63
+ if (tag !== 32) {
64
+ break;
65
+ }
66
+ message.payment_id = reader.int32();
67
+ continue;
68
+ case 5:
69
+ if (tag !== 42) {
61
70
  break;
62
71
  }
63
72
  message.mode = reader.string();
@@ -75,6 +84,7 @@ exports.refundRequest = {
75
84
  amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
76
85
  customerid: isSet(object.customerid) ? globalThis.Number(object.customerid) : 0,
77
86
  loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
87
+ payment_id: isSet(object.payment_id) ? globalThis.Number(object.payment_id) : 0,
78
88
  mode: isSet(object.mode) ? globalThis.String(object.mode) : "",
79
89
  };
80
90
  },
@@ -89,6 +99,9 @@ exports.refundRequest = {
89
99
  if (message.loan_id !== 0) {
90
100
  obj.loan_id = Math.round(message.loan_id);
91
101
  }
102
+ if (message.payment_id !== 0) {
103
+ obj.payment_id = Math.round(message.payment_id);
104
+ }
92
105
  if (message.mode !== "") {
93
106
  obj.mode = message.mode;
94
107
  }
@@ -102,6 +115,7 @@ exports.refundRequest = {
102
115
  message.amount = object.amount ?? 0;
103
116
  message.customerid = object.customerid ?? 0;
104
117
  message.loan_id = object.loan_id ?? 0;
118
+ message.payment_id = object.payment_id ?? 0;
105
119
  message.mode = object.mode ?? "";
106
120
  return message;
107
121
  },
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: loans/restructureloan.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -4,6 +4,7 @@ export interface rollbackRequest {
4
4
  amount: number;
5
5
  customerid: number;
6
6
  loan_id: number;
7
+ payment_id: number;
7
8
  mode: string;
8
9
  }
9
10
  export interface rollbackResponse {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: loans/rollback.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -13,7 +13,7 @@ exports.rollbackResponse = exports.rollbackRequest = exports.protobufPackage = v
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "loans.rollback";
15
15
  function createBaserollbackRequest() {
16
- return { amount: 0, customerid: 0, loan_id: 0, mode: "" };
16
+ return { amount: 0, customerid: 0, loan_id: 0, payment_id: 0, mode: "" };
17
17
  }
18
18
  exports.rollbackRequest = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -26,8 +26,11 @@ exports.rollbackRequest = {
26
26
  if (message.loan_id !== 0) {
27
27
  writer.uint32(24).int32(message.loan_id);
28
28
  }
29
+ if (message.payment_id !== 0) {
30
+ writer.uint32(32).int32(message.payment_id);
31
+ }
29
32
  if (message.mode !== "") {
30
- writer.uint32(34).string(message.mode);
33
+ writer.uint32(42).string(message.mode);
31
34
  }
32
35
  return writer;
33
36
  },
@@ -57,7 +60,13 @@ exports.rollbackRequest = {
57
60
  message.loan_id = reader.int32();
58
61
  continue;
59
62
  case 4:
60
- if (tag !== 34) {
63
+ if (tag !== 32) {
64
+ break;
65
+ }
66
+ message.payment_id = reader.int32();
67
+ continue;
68
+ case 5:
69
+ if (tag !== 42) {
61
70
  break;
62
71
  }
63
72
  message.mode = reader.string();
@@ -75,6 +84,7 @@ exports.rollbackRequest = {
75
84
  amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
76
85
  customerid: isSet(object.customerid) ? globalThis.Number(object.customerid) : 0,
77
86
  loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
87
+ payment_id: isSet(object.payment_id) ? globalThis.Number(object.payment_id) : 0,
78
88
  mode: isSet(object.mode) ? globalThis.String(object.mode) : "",
79
89
  };
80
90
  },
@@ -89,6 +99,9 @@ exports.rollbackRequest = {
89
99
  if (message.loan_id !== 0) {
90
100
  obj.loan_id = Math.round(message.loan_id);
91
101
  }
102
+ if (message.payment_id !== 0) {
103
+ obj.payment_id = Math.round(message.payment_id);
104
+ }
92
105
  if (message.mode !== "") {
93
106
  obj.mode = message.mode;
94
107
  }
@@ -102,6 +115,7 @@ exports.rollbackRequest = {
102
115
  message.amount = object.amount ?? 0;
103
116
  message.customerid = object.customerid ?? 0;
104
117
  message.loan_id = object.loan_id ?? 0;
118
+ message.payment_id = object.payment_id ?? 0;
105
119
  message.mode = object.mode ?? "";
106
120
  return message;
107
121
  },
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: loans/sendemail.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: loans/sendnocemail.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: loans/transactionlist.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -4,8 +4,10 @@ export interface updateInstallmentsRequest {
4
4
  installment_id: number;
5
5
  r_principal: number;
6
6
  r_interest: number;
7
+ r_penalty: number;
7
8
  r_pif_principal: number;
8
9
  r_pif_interest: number;
10
+ r_pif_penalty: number;
9
11
  amount: number;
10
12
  }
11
13
  export interface updateInstallmentsResponse {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: loans/updateinstallments.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -13,7 +13,16 @@ exports.updateInstallmentsResponse = exports.updateInstallmentsRequest = exports
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "loans.updateinstallments";
15
15
  function createBaseupdateInstallmentsRequest() {
16
- return { installment_id: 0, r_principal: 0, r_interest: 0, r_pif_principal: 0, r_pif_interest: 0, amount: 0 };
16
+ return {
17
+ installment_id: 0,
18
+ r_principal: 0,
19
+ r_interest: 0,
20
+ r_penalty: 0,
21
+ r_pif_principal: 0,
22
+ r_pif_interest: 0,
23
+ r_pif_penalty: 0,
24
+ amount: 0,
25
+ };
17
26
  }
18
27
  exports.updateInstallmentsRequest = {
19
28
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -26,14 +35,20 @@ exports.updateInstallmentsRequest = {
26
35
  if (message.r_interest !== 0) {
27
36
  writer.uint32(24).int32(message.r_interest);
28
37
  }
38
+ if (message.r_penalty !== 0) {
39
+ writer.uint32(32).int32(message.r_penalty);
40
+ }
29
41
  if (message.r_pif_principal !== 0) {
30
- writer.uint32(32).int32(message.r_pif_principal);
42
+ writer.uint32(40).int32(message.r_pif_principal);
31
43
  }
32
44
  if (message.r_pif_interest !== 0) {
33
- writer.uint32(40).int32(message.r_pif_interest);
45
+ writer.uint32(48).int32(message.r_pif_interest);
46
+ }
47
+ if (message.r_pif_penalty !== 0) {
48
+ writer.uint32(56).int32(message.r_pif_penalty);
34
49
  }
35
50
  if (message.amount !== 0) {
36
- writer.uint32(48).int32(message.amount);
51
+ writer.uint32(64).int32(message.amount);
37
52
  }
38
53
  return writer;
39
54
  },
@@ -66,18 +81,30 @@ exports.updateInstallmentsRequest = {
66
81
  if (tag !== 32) {
67
82
  break;
68
83
  }
69
- message.r_pif_principal = reader.int32();
84
+ message.r_penalty = reader.int32();
70
85
  continue;
71
86
  case 5:
72
87
  if (tag !== 40) {
73
88
  break;
74
89
  }
75
- message.r_pif_interest = reader.int32();
90
+ message.r_pif_principal = reader.int32();
76
91
  continue;
77
92
  case 6:
78
93
  if (tag !== 48) {
79
94
  break;
80
95
  }
96
+ message.r_pif_interest = reader.int32();
97
+ continue;
98
+ case 7:
99
+ if (tag !== 56) {
100
+ break;
101
+ }
102
+ message.r_pif_penalty = reader.int32();
103
+ continue;
104
+ case 8:
105
+ if (tag !== 64) {
106
+ break;
107
+ }
81
108
  message.amount = reader.int32();
82
109
  continue;
83
110
  }
@@ -93,8 +120,10 @@ exports.updateInstallmentsRequest = {
93
120
  installment_id: isSet(object.installment_id) ? globalThis.Number(object.installment_id) : 0,
94
121
  r_principal: isSet(object.r_principal) ? globalThis.Number(object.r_principal) : 0,
95
122
  r_interest: isSet(object.r_interest) ? globalThis.Number(object.r_interest) : 0,
123
+ r_penalty: isSet(object.r_penalty) ? globalThis.Number(object.r_penalty) : 0,
96
124
  r_pif_principal: isSet(object.r_pif_principal) ? globalThis.Number(object.r_pif_principal) : 0,
97
125
  r_pif_interest: isSet(object.r_pif_interest) ? globalThis.Number(object.r_pif_interest) : 0,
126
+ r_pif_penalty: isSet(object.r_pif_penalty) ? globalThis.Number(object.r_pif_penalty) : 0,
98
127
  amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
99
128
  };
100
129
  },
@@ -109,12 +138,18 @@ exports.updateInstallmentsRequest = {
109
138
  if (message.r_interest !== 0) {
110
139
  obj.r_interest = Math.round(message.r_interest);
111
140
  }
141
+ if (message.r_penalty !== 0) {
142
+ obj.r_penalty = Math.round(message.r_penalty);
143
+ }
112
144
  if (message.r_pif_principal !== 0) {
113
145
  obj.r_pif_principal = Math.round(message.r_pif_principal);
114
146
  }
115
147
  if (message.r_pif_interest !== 0) {
116
148
  obj.r_pif_interest = Math.round(message.r_pif_interest);
117
149
  }
150
+ if (message.r_pif_penalty !== 0) {
151
+ obj.r_pif_penalty = Math.round(message.r_pif_penalty);
152
+ }
118
153
  if (message.amount !== 0) {
119
154
  obj.amount = Math.round(message.amount);
120
155
  }
@@ -128,8 +163,10 @@ exports.updateInstallmentsRequest = {
128
163
  message.installment_id = object.installment_id ?? 0;
129
164
  message.r_principal = object.r_principal ?? 0;
130
165
  message.r_interest = object.r_interest ?? 0;
166
+ message.r_penalty = object.r_penalty ?? 0;
131
167
  message.r_pif_principal = object.r_pif_principal ?? 0;
132
168
  message.r_pif_interest = object.r_pif_interest ?? 0;
169
+ message.r_pif_penalty = object.r_pif_penalty ?? 0;
133
170
  message.amount = object.amount ?? 0;
134
171
  return message;
135
172
  },
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: loans/updateloan.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: loans/updatetransactionstatus.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/ts/loans.d.ts CHANGED
@@ -15,7 +15,6 @@ import { getNextdueAmountRequest, getNextdueAmountResponse } from "./loans/getne
15
15
  import { getPendingEmiAmountRequest, getPendingEmiAmountResponse } from "./loans/getpendingemiamount";
16
16
  import { getSummaryStaticFieldsRequest, getSummaryStaticFieldsResponse } from "./loans/getsummarystaticfields";
17
17
  import { getTransactionStatusRequest, getTransactionStatusResponse } from "./loans/gettransactionstatus";
18
- import { getUsedLimitfoRequest, getUsedLimitfoResponse } from "./loans/getusedlimit";
19
18
  import { getVirtualBankInfoRequest, getVirtualBankInfoResponse } from "./loans/getvirtualbankinfo";
20
19
  import { loanSummaryRequest, loanSummaryResponse } from "./loans/loansummary";
21
20
  import { paymentAllocationRequest, paymentAllocationResponse } from "./loans/paymentallocation";
@@ -303,15 +302,6 @@ export declare const loansService: {
303
302
  readonly responseSerialize: (value: updateTransactionStatusResponse) => Buffer;
304
303
  readonly responseDeserialize: (value: Buffer) => updateTransactionStatusResponse;
305
304
  };
306
- readonly getUsedLimit: {
307
- readonly path: "/service.loans/getUsedLimit";
308
- readonly requestStream: false;
309
- readonly responseStream: false;
310
- readonly requestSerialize: (value: getUsedLimitfoRequest) => Buffer;
311
- readonly requestDeserialize: (value: Buffer) => getUsedLimitfoRequest;
312
- readonly responseSerialize: (value: getUsedLimitfoResponse) => Buffer;
313
- readonly responseDeserialize: (value: Buffer) => getUsedLimitfoResponse;
314
- };
315
305
  };
316
306
  export interface loansServer extends UntypedServiceImplementation {
317
307
  creditlimit: handleUnaryCall<creditLimitRequest, creditLimitResponse>;
@@ -344,7 +334,6 @@ export interface loansServer extends UntypedServiceImplementation {
344
334
  getVirtualBankInfo: handleUnaryCall<getVirtualBankInfoRequest, getVirtualBankInfoResponse>;
345
335
  gettransactionstatus: handleUnaryCall<getTransactionStatusRequest, getTransactionStatusResponse>;
346
336
  updatetransactionstatus: handleUnaryCall<updateTransactionStatusRequest, updateTransactionStatusResponse>;
347
- getUsedLimit: handleUnaryCall<getUsedLimitfoRequest, getUsedLimitfoResponse>;
348
337
  }
349
338
  export interface loansClient extends Client {
350
339
  creditlimit(request: creditLimitRequest, callback: (error: ServiceError | null, response: creditLimitResponse) => void): ClientUnaryCall;
@@ -437,9 +426,6 @@ export interface loansClient extends Client {
437
426
  updatetransactionstatus(request: updateTransactionStatusRequest, callback: (error: ServiceError | null, response: updateTransactionStatusResponse) => void): ClientUnaryCall;
438
427
  updatetransactionstatus(request: updateTransactionStatusRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateTransactionStatusResponse) => void): ClientUnaryCall;
439
428
  updatetransactionstatus(request: updateTransactionStatusRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateTransactionStatusResponse) => void): ClientUnaryCall;
440
- getUsedLimit(request: getUsedLimitfoRequest, callback: (error: ServiceError | null, response: getUsedLimitfoResponse) => void): ClientUnaryCall;
441
- getUsedLimit(request: getUsedLimitfoRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getUsedLimitfoResponse) => void): ClientUnaryCall;
442
- getUsedLimit(request: getUsedLimitfoRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getUsedLimitfoResponse) => void): ClientUnaryCall;
443
429
  }
444
430
  export declare const loansClient: {
445
431
  new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): loansClient;
package/ts/loans.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: loans.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.loansClient = exports.loansService = exports.protobufPackage = void 0;
@@ -24,7 +24,6 @@ const getnextdueamount_1 = require("./loans/getnextdueamount");
24
24
  const getpendingemiamount_1 = require("./loans/getpendingemiamount");
25
25
  const getsummarystaticfields_1 = require("./loans/getsummarystaticfields");
26
26
  const gettransactionstatus_1 = require("./loans/gettransactionstatus");
27
- const getusedlimit_1 = require("./loans/getusedlimit");
28
27
  const getvirtualbankinfo_1 = require("./loans/getvirtualbankinfo");
29
28
  const loansummary_1 = require("./loans/loansummary");
30
29
  const paymentallocation_1 = require("./loans/paymentallocation");
@@ -311,14 +310,5 @@ exports.loansService = {
311
310
  responseSerialize: (value) => Buffer.from(updatetransactionstatus_1.updateTransactionStatusResponse.encode(value).finish()),
312
311
  responseDeserialize: (value) => updatetransactionstatus_1.updateTransactionStatusResponse.decode(value),
313
312
  },
314
- getUsedLimit: {
315
- path: "/service.loans/getUsedLimit",
316
- requestStream: false,
317
- responseStream: false,
318
- requestSerialize: (value) => Buffer.from(getusedlimit_1.getUsedLimitfoRequest.encode(value).finish()),
319
- requestDeserialize: (value) => getusedlimit_1.getUsedLimitfoRequest.decode(value),
320
- responseSerialize: (value) => Buffer.from(getusedlimit_1.getUsedLimitfoResponse.encode(value).finish()),
321
- responseDeserialize: (value) => getusedlimit_1.getUsedLimitfoResponse.decode(value),
322
- },
323
313
  };
324
314
  exports.loansClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.loansService, "service.loans");
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: payments/checkpaymentstatus.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: payments/getpaymentoptions.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: payments/initiatepayment.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: payments/nachpresentation.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: payments/nachregistration.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/ts/payments.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.0
5
- // protoc v5.28.2
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: payments.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.paymentsClient = exports.paymentsService = exports.protobufPackage = void 0;