@stashfin/grpc 1.2.418 → 1.2.420

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 (218) hide show
  1. package/package.json +1 -1
  2. package/ts/bureau/getbasicdetails.js +2 -2
  3. package/ts/bureau/getcibilwebtoken.js +2 -2
  4. package/ts/bureau/getdbrcolending.js +2 -2
  5. package/ts/bureau/getdemogs.js +2 -2
  6. package/ts/bureau/getobligation.js +2 -2
  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/getaatxnstatus.js +2 -2
  14. package/ts/customers/aa/getbanklist.js +2 -2
  15. package/ts/customers/aa/initiate.js +2 -2
  16. package/ts/customers/accidentprotectionplan.js +2 -2
  17. package/ts/customers/addaddress.js +2 -2
  18. package/ts/customers/addbankaccountdetails.js +2 -2
  19. package/ts/customers/addfathersname.js +2 -2
  20. package/ts/customers/addgstnumber.js +2 -2
  21. package/ts/customers/addmoredetails.js +2 -2
  22. package/ts/customers/addsuspendedcustomer.js +2 -2
  23. package/ts/customers/adduserapps.js +2 -2
  24. package/ts/customers/applyclijourney.js +2 -2
  25. package/ts/customers/bulksms.js +2 -2
  26. package/ts/customers/cb/cbapplicationrejecteddata.js +2 -2
  27. package/ts/customers/cb/cbpaynow.js +2 -2
  28. package/ts/customers/cb/cbsignup.js +2 -2
  29. package/ts/customers/cb/getcbtxnstatus.js +2 -2
  30. package/ts/customers/cb/getcreditbuilder.js +2 -2
  31. package/ts/customers/cb/getpaymentsummary.js +2 -2
  32. package/ts/customers/cb/insurancedetails.js +2 -2
  33. package/ts/customers/cb/lesscsimprove.js +2 -2
  34. package/ts/customers/cb/morecsimprove.js +2 -2
  35. package/ts/customers/cb/paynow.js +2 -2
  36. package/ts/customers/cb/savecreditbuilder.js +2 -2
  37. package/ts/customers/cb/updatecbstandalonecancellation.js +2 -2
  38. package/ts/customers/cb/updatecbstandaloneconfirmation.js +2 -2
  39. package/ts/customers/cb/updatecbstandalonejourney.js +2 -2
  40. package/ts/customers/cb/updatecbtxnstatus.js +2 -2
  41. package/ts/customers/changempin.js +2 -2
  42. package/ts/customers/createcustomerreference.js +2 -2
  43. package/ts/customers/createvanumber.js +2 -2
  44. package/ts/customers/customerinfo.js +2 -2
  45. package/ts/customers/deletedocument.js +2 -2
  46. package/ts/customers/deleteprofile.js +2 -2
  47. package/ts/customers/disablempin.js +2 -2
  48. package/ts/customers/enach/gettxnstatus.js +2 -2
  49. package/ts/customers/enach/getweburl.js +2 -2
  50. package/ts/customers/enach/updateenachtxnstatus.js +2 -2
  51. package/ts/customers/enach/updatetxnstatus.d.ts +4 -1
  52. package/ts/customers/enach/updatetxnstatus.js +66 -10
  53. package/ts/customers/fetchrcprofile.js +2 -2
  54. package/ts/customers/floatingvideos.js +2 -2
  55. package/ts/customers/forceupdate.js +2 -2
  56. package/ts/customers/forgotmpin.js +2 -2
  57. package/ts/customers/forgotmpinverify.js +2 -2
  58. package/ts/customers/freedom/addressconfirmation.js +2 -2
  59. package/ts/customers/freedom/freedompaynow.js +2 -2
  60. package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
  61. package/ts/customers/freedom/updateadditionalverification.js +2 -2
  62. package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
  63. package/ts/customers/getaddresslist.js +2 -2
  64. package/ts/customers/getappsubmittedscreen.js +2 -2
  65. package/ts/customers/getbankaccountdetails.js +2 -2
  66. package/ts/customers/getbasicinfo.js +2 -2
  67. package/ts/customers/getcities.js +2 -2
  68. package/ts/customers/getclistatus.js +2 -2
  69. package/ts/customers/getcompanyaccdetails.js +2 -2
  70. package/ts/customers/getcustomerbyid.js +2 -2
  71. package/ts/customers/getcustomerdetailsbymobile.js +2 -2
  72. package/ts/customers/getdashboard.js +2 -2
  73. package/ts/customers/getdashboardmaincard.js +2 -2
  74. package/ts/customers/getdocuments.js +2 -2
  75. package/ts/customers/getglobalpopups.js +2 -2
  76. package/ts/customers/getlimit.js +2 -2
  77. package/ts/customers/getloclimit.js +2 -2
  78. package/ts/customers/getmessengermode.js +2 -2
  79. package/ts/customers/getoccupationlist.js +2 -2
  80. package/ts/customers/getpaymentoptions.js +2 -2
  81. package/ts/customers/getprofessionalinfo.js +2 -2
  82. package/ts/customers/getprofile.js +2 -2
  83. package/ts/customers/getrecommendedtag.d.ts +35 -0
  84. package/ts/customers/getrecommendedtag.js +134 -0
  85. package/ts/customers/getselfieetxnid.js +2 -2
  86. package/ts/customers/getstates.js +2 -2
  87. package/ts/customers/getstep.js +2 -2
  88. package/ts/customers/getsyncstatus.js +2 -2
  89. package/ts/customers/getvanumber.js +2 -2
  90. package/ts/customers/lamf/sendlamfotp.js +2 -2
  91. package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
  92. package/ts/customers/lamf/updatelamfjourney.js +2 -2
  93. package/ts/customers/lamf/verifylamfotp.js +2 -2
  94. package/ts/customers/lamf/verifylamfpledgeotp.js +2 -2
  95. package/ts/customers/logout.js +2 -2
  96. package/ts/customers/pd/getbanklist.js +2 -2
  97. package/ts/customers/pd/validatebankaccount.js +2 -2
  98. package/ts/customers/profilebasic.js +2 -2
  99. package/ts/customers/profileupdatetnc.js +2 -2
  100. package/ts/customers/resetbanner.js +2 -2
  101. package/ts/customers/restoreaccount.js +2 -2
  102. package/ts/customers/rpd/getrpdlink.js +2 -2
  103. package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
  104. package/ts/customers/rpd/mockpayment.js +2 -2
  105. package/ts/customers/saveappslist.js +2 -2
  106. package/ts/customers/savebasicdetails.js +2 -2
  107. package/ts/customers/savelimit.js +2 -2
  108. package/ts/customers/saveunlocklimit.js +2 -2
  109. package/ts/customers/sendotp.js +2 -2
  110. package/ts/customers/sendotptoemail.js +2 -2
  111. package/ts/customers/setmpin.js +2 -2
  112. package/ts/customers/skipscreen.js +2 -2
  113. package/ts/customers/submituploadeddocuments.js +2 -2
  114. package/ts/customers/syncdecisionengine.js +2 -2
  115. package/ts/customers/updatecategory.js +2 -2
  116. package/ts/customers/updatecongratulationstep.js +2 -2
  117. package/ts/customers/updatecustomerbyid.js +2 -2
  118. package/ts/customers/updatedlnumber.js +2 -2
  119. package/ts/customers/updatedob.js +2 -2
  120. package/ts/customers/updatelocstatus.js +2 -2
  121. package/ts/customers/updatemobilesendotp.js +2 -2
  122. package/ts/customers/updatemobileverifyotp.js +2 -2
  123. package/ts/customers/updateokyctxn.js +2 -2
  124. package/ts/customers/updatesanctionamount.js +2 -2
  125. package/ts/customers/updateselfieetxn.js +2 -2
  126. package/ts/customers/updatesyncstatus.js +2 -2
  127. package/ts/customers/updatevehiclenumber.js +2 -2
  128. package/ts/customers/uploaddocuments.js +2 -2
  129. package/ts/customers/validatepan.js +2 -2
  130. package/ts/customers/verifympin.js +2 -2
  131. package/ts/customers/verifyotp.js +2 -2
  132. package/ts/customers/verifyotptoemail.js +2 -2
  133. package/ts/customers.js +2 -2
  134. package/ts/decisionengine/decisionengine.js +2 -2
  135. package/ts/decisionengine/decisionenginetrigger.js +2 -2
  136. package/ts/decisionengine/locdisbursalapproval.js +2 -2
  137. package/ts/decisionengine/saveconsent.js +2 -2
  138. package/ts/decisionengine.js +2 -2
  139. package/ts/documents/getagreement.js +2 -2
  140. package/ts/documents/getfinancialdoc.js +2 -2
  141. package/ts/documents.js +2 -2
  142. package/ts/example.js +2 -2
  143. package/ts/growth/checkplanstatus.js +2 -2
  144. package/ts/growth/getattachplandetails.js +2 -2
  145. package/ts/growth/getchrpaymentstatus.js +2 -2
  146. package/ts/growth/getchrplans.js +2 -2
  147. package/ts/growth/getcredithealthreport.js +2 -2
  148. package/ts/growth/initiatepayment.js +2 -2
  149. package/ts/growth/notifychrpayment.js +2 -2
  150. package/ts/growth/processchrpayment.js +2 -2
  151. package/ts/growth.js +2 -2
  152. package/ts/lamf/getloandetails.js +2 -2
  153. package/ts/lamf/submitotp.js +2 -2
  154. package/ts/lamf/validateuser.js +2 -2
  155. package/ts/lamf.js +2 -2
  156. package/ts/loans/amortization.js +2 -2
  157. package/ts/loans/approveloan.d.ts +1 -0
  158. package/ts/loans/approveloan.js +17 -2
  159. package/ts/loans/banklist.js +2 -2
  160. package/ts/loans/calculateemi.js +2 -2
  161. package/ts/loans/cbloan.js +2 -2
  162. package/ts/loans/createlamfloan.js +2 -2
  163. package/ts/loans/createpenalty.js +2 -2
  164. package/ts/loans/creditlimit.js +2 -2
  165. package/ts/loans/fcppayment.js +2 -2
  166. package/ts/loans/forecloseamount.js +2 -2
  167. package/ts/loans/foreclosepayment.js +2 -2
  168. package/ts/loans/futurepaymentmoredetails.js +2 -2
  169. package/ts/loans/getaddonslist.js +2 -2
  170. package/ts/loans/getbilldetails.js +2 -2
  171. package/ts/loans/getcbloandetails.js +2 -2
  172. package/ts/loans/getchrdetails.js +2 -2
  173. package/ts/loans/getcustomerloanstatus.js +2 -2
  174. package/ts/loans/getforecloseamount.js +2 -2
  175. package/ts/loans/getloanbyid.js +2 -2
  176. package/ts/loans/getnextdueamount.js +2 -2
  177. package/ts/loans/getpaymentoptions.js +2 -2
  178. package/ts/loans/getpendingemiamount.js +2 -2
  179. package/ts/loans/getsetubilldetails.js +2 -2
  180. package/ts/loans/getsummarystaticfields.js +2 -2
  181. package/ts/loans/gettransactionstatus.js +2 -2
  182. package/ts/loans/getusedlimit.js +2 -2
  183. package/ts/loans/getvirtualaccountnumber.js +2 -2
  184. package/ts/loans/getvirtualbankinfo.js +2 -2
  185. package/ts/loans/loansummary.d.ts +1 -0
  186. package/ts/loans/loansummary.js +17 -2
  187. package/ts/loans/manualpaymentallocation.d.ts +1 -0
  188. package/ts/loans/manualpaymentallocation.js +17 -3
  189. package/ts/loans/paymentallocation.js +2 -2
  190. package/ts/loans/paymenthistory.js +2 -2
  191. package/ts/loans/paynow.d.ts +1 -0
  192. package/ts/loans/paynow.js +26 -3
  193. package/ts/loans/refund.js +2 -2
  194. package/ts/loans/restructureloan.js +2 -2
  195. package/ts/loans/rollback.js +2 -2
  196. package/ts/loans/rollbackextrapayment.js +2 -2
  197. package/ts/loans/sendemail.js +2 -2
  198. package/ts/loans/sendnocemail.js +2 -2
  199. package/ts/loans/transactionlist.js +2 -2
  200. package/ts/loans/updatecollectionview.js +2 -2
  201. package/ts/loans/updateinstallments.js +2 -2
  202. package/ts/loans/updateloan.js +2 -2
  203. package/ts/loans/updatetransactionstatus.js +2 -2
  204. package/ts/loans.d.ts +0 -14
  205. package/ts/loans.js +2 -12
  206. package/ts/payments/checkpaymentstatus.js +2 -2
  207. package/ts/payments/fundtransfer.js +2 -2
  208. package/ts/payments/getpaymentoptions.js +2 -2
  209. package/ts/payments/initiatepayment.js +2 -2
  210. package/ts/payments/nachpresentation.js +2 -2
  211. package/ts/payments/nachregistration.js +2 -2
  212. package/ts/payments.js +2 -2
  213. package/ts/stashcash/creditsc.js +2 -2
  214. package/ts/stashcash/debitsc.js +2 -2
  215. package/ts/stashcash/getscbalance.js +2 -2
  216. package/ts/stashcash/getschistory.js +2 -2
  217. package/ts/stashcash/reversesc.js +2 -2
  218. package/ts/stashcash.js +2 -2
@@ -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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.3
6
6
  // source: loans/getcustomerloanstatus.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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.3
6
6
  // source: loans/getforecloseamount.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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.3
6
6
  // source: loans/getloanbyid.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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.3
6
6
  // source: loans/getnextdueamount.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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.3
6
6
  // source: loans/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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.3
6
6
  // source: loans/getpendingemiamount.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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.3
6
6
  // source: loans/getsetubilldetails.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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.3
6
6
  // source: loans/getsummarystaticfields.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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.3
6
6
  // source: loans/gettransactionstatus.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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.3
6
6
  // source: loans/getusedlimit.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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.2
6
6
  // source: loans/getvirtualaccountnumber.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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.3
6
6
  // source: loans/getvirtualbankinfo.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -45,6 +45,7 @@ export interface loanSummaryResponse {
45
45
  discount: number;
46
46
  financing_doc: string;
47
47
  sanction_latter: string;
48
+ bill_txn_plus_gst: number;
48
49
  }
49
50
  export declare const loanSummaryRequest: {
50
51
  encode(message: loanSummaryRequest, writer?: _m0.Writer): _m0.Writer;
@@ -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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.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 };
@@ -223,6 +223,7 @@ function createBaseloanSummaryResponse() {
223
223
  discount: 0,
224
224
  financing_doc: "",
225
225
  sanction_latter: "",
226
+ bill_txn_plus_gst: 0,
226
227
  };
227
228
  }
228
229
  exports.loanSummaryResponse = {
@@ -326,6 +327,9 @@ exports.loanSummaryResponse = {
326
327
  if (message.sanction_latter !== "") {
327
328
  writer.uint32(266).string(message.sanction_latter);
328
329
  }
330
+ if (message.bill_txn_plus_gst !== 0) {
331
+ writer.uint32(272).int32(message.bill_txn_plus_gst);
332
+ }
329
333
  return writer;
330
334
  },
331
335
  decode(input, length) {
@@ -533,6 +537,12 @@ exports.loanSummaryResponse = {
533
537
  }
534
538
  message.sanction_latter = reader.string();
535
539
  continue;
540
+ case 34:
541
+ if (tag !== 272) {
542
+ break;
543
+ }
544
+ message.bill_txn_plus_gst = reader.int32();
545
+ continue;
536
546
  }
537
547
  if ((tag & 7) === 4 || tag === 0) {
538
548
  break;
@@ -584,6 +594,7 @@ exports.loanSummaryResponse = {
584
594
  discount: isSet(object.discount) ? globalThis.Number(object.discount) : 0,
585
595
  financing_doc: isSet(object.financing_doc) ? globalThis.String(object.financing_doc) : "",
586
596
  sanction_latter: isSet(object.sanction_latter) ? globalThis.String(object.sanction_latter) : "",
597
+ bill_txn_plus_gst: isSet(object.bill_txn_plus_gst) ? globalThis.Number(object.bill_txn_plus_gst) : 0,
587
598
  };
588
599
  },
589
600
  toJSON(message) {
@@ -687,6 +698,9 @@ exports.loanSummaryResponse = {
687
698
  if (message.sanction_latter !== "") {
688
699
  obj.sanction_latter = message.sanction_latter;
689
700
  }
701
+ if (message.bill_txn_plus_gst !== 0) {
702
+ obj.bill_txn_plus_gst = Math.round(message.bill_txn_plus_gst);
703
+ }
690
704
  return obj;
691
705
  },
692
706
  create(base) {
@@ -727,6 +741,7 @@ exports.loanSummaryResponse = {
727
741
  message.discount = object.discount ?? 0;
728
742
  message.financing_doc = object.financing_doc ?? "";
729
743
  message.sanction_latter = object.sanction_latter ?? "";
744
+ message.bill_txn_plus_gst = object.bill_txn_plus_gst ?? 0;
730
745
  return message;
731
746
  },
732
747
  };
@@ -5,6 +5,7 @@ export interface manualPaymentAllocationRequest {
5
5
  amount: number;
6
6
  type: string;
7
7
  loan_id: number[];
8
+ mode: string;
8
9
  }
9
10
  export interface manualPaymentAllocationResponse {
10
11
  message: string;
@@ -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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.3
6
6
  // source: loans/manualpaymentallocation.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -13,7 +13,7 @@ exports.manualPaymentAllocationResponse = exports.manualPaymentAllocationRequest
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "loans.manualpaymentallocation";
15
15
  function createBasemanualPaymentAllocationRequest() {
16
- return { customer_id: 0, amount: 0, type: "", loan_id: [] };
16
+ return { customer_id: 0, amount: 0, type: "", loan_id: [], mode: "" };
17
17
  }
18
18
  exports.manualPaymentAllocationRequest = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -31,6 +31,9 @@ exports.manualPaymentAllocationRequest = {
31
31
  writer.int32(v);
32
32
  }
33
33
  writer.ldelim();
34
+ if (message.mode !== "") {
35
+ writer.uint32(42).string(message.mode);
36
+ }
34
37
  return writer;
35
38
  },
36
39
  decode(input, length) {
@@ -71,6 +74,12 @@ exports.manualPaymentAllocationRequest = {
71
74
  continue;
72
75
  }
73
76
  break;
77
+ case 5:
78
+ if (tag !== 42) {
79
+ break;
80
+ }
81
+ message.mode = reader.string();
82
+ continue;
74
83
  }
75
84
  if ((tag & 7) === 4 || tag === 0) {
76
85
  break;
@@ -85,6 +94,7 @@ exports.manualPaymentAllocationRequest = {
85
94
  amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
86
95
  type: isSet(object.type) ? globalThis.String(object.type) : "",
87
96
  loan_id: globalThis.Array.isArray(object?.loan_id) ? object.loan_id.map((e) => globalThis.Number(e)) : [],
97
+ mode: isSet(object.mode) ? globalThis.String(object.mode) : "",
88
98
  };
89
99
  },
90
100
  toJSON(message) {
@@ -101,6 +111,9 @@ exports.manualPaymentAllocationRequest = {
101
111
  if (message.loan_id?.length) {
102
112
  obj.loan_id = message.loan_id.map((e) => Math.round(e));
103
113
  }
114
+ if (message.mode !== "") {
115
+ obj.mode = message.mode;
116
+ }
104
117
  return obj;
105
118
  },
106
119
  create(base) {
@@ -112,6 +125,7 @@ exports.manualPaymentAllocationRequest = {
112
125
  message.amount = object.amount ?? 0;
113
126
  message.type = object.type ?? "";
114
127
  message.loan_id = object.loan_id?.map((e) => e) || [];
128
+ message.mode = object.mode ?? "";
115
129
  return message;
116
130
  },
117
131
  };
@@ -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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.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 };
@@ -7,6 +7,7 @@ export interface payNowRequest {
7
7
  amount: number;
8
8
  loan_id: number[];
9
9
  installment_id: number[];
10
+ bill_id: number[];
10
11
  }
11
12
  export interface payNowRequest_add_on {
12
13
  type: string;
@@ -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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.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 };
@@ -13,7 +13,7 @@ exports.payNowResponse = exports.payNowRequest_add_on = exports.payNowRequest =
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "loans.paynow";
15
15
  function createBasepayNowRequest() {
16
- return { customer_id: 0, mode: "", add_ons: [], amount: 0, loan_id: [], installment_id: [] };
16
+ return { customer_id: 0, mode: "", add_ons: [], amount: 0, loan_id: [], installment_id: [], bill_id: [] };
17
17
  }
18
18
  exports.payNowRequest = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -39,6 +39,11 @@ exports.payNowRequest = {
39
39
  writer.int32(v);
40
40
  }
41
41
  writer.ldelim();
42
+ writer.uint32(58).fork();
43
+ for (const v of message.bill_id) {
44
+ writer.int32(v);
45
+ }
46
+ writer.ldelim();
42
47
  return writer;
43
48
  },
44
49
  decode(input, length) {
@@ -98,6 +103,19 @@ exports.payNowRequest = {
98
103
  continue;
99
104
  }
100
105
  break;
106
+ case 7:
107
+ if (tag === 56) {
108
+ message.bill_id.push(reader.int32());
109
+ continue;
110
+ }
111
+ if (tag === 58) {
112
+ const end2 = reader.uint32() + reader.pos;
113
+ while (reader.pos < end2) {
114
+ message.bill_id.push(reader.int32());
115
+ }
116
+ continue;
117
+ }
118
+ break;
101
119
  }
102
120
  if ((tag & 7) === 4 || tag === 0) {
103
121
  break;
@@ -118,6 +136,7 @@ exports.payNowRequest = {
118
136
  installment_id: globalThis.Array.isArray(object?.installment_id)
119
137
  ? object.installment_id.map((e) => globalThis.Number(e))
120
138
  : [],
139
+ bill_id: globalThis.Array.isArray(object?.bill_id) ? object.bill_id.map((e) => globalThis.Number(e)) : [],
121
140
  };
122
141
  },
123
142
  toJSON(message) {
@@ -140,6 +159,9 @@ exports.payNowRequest = {
140
159
  if (message.installment_id?.length) {
141
160
  obj.installment_id = message.installment_id.map((e) => Math.round(e));
142
161
  }
162
+ if (message.bill_id?.length) {
163
+ obj.bill_id = message.bill_id.map((e) => Math.round(e));
164
+ }
143
165
  return obj;
144
166
  },
145
167
  create(base) {
@@ -153,6 +175,7 @@ exports.payNowRequest = {
153
175
  message.amount = object.amount ?? 0;
154
176
  message.loan_id = object.loan_id?.map((e) => e) || [];
155
177
  message.installment_id = object.installment_id?.map((e) => e) || [];
178
+ message.bill_id = object.bill_id?.map((e) => e) || [];
156
179
  return message;
157
180
  },
158
181
  };
@@ -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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.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 };
@@ -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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.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 };
@@ -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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.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 };
@@ -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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.3
6
6
  // source: loans/rollbackextrapayment.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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.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 };
@@ -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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.3
6
6
  // source: loans/updatecollectionview.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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.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 };
@@ -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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.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
@@ -33,7 +33,6 @@ import { payNowRequest, payNowResponse } from "./loans/paynow";
33
33
  import { refundRequest, refundResponse } from "./loans/refund";
34
34
  import { restructureLoanRequest, restructureLoanResponse } from "./loans/restructureloan";
35
35
  import { rollbackRequest, rollbackResponse } from "./loans/rollback";
36
- import { rollbackExtraPaymentRequest, rollbackExtraPaymentResponse } from "./loans/rollbackextrapayment";
37
36
  import { sendEmailRequest, sendEmailResponse } from "./loans/sendemail";
38
37
  import { sendNocEmailRequest, sendNocEmailResponse } from "./loans/sendnocemail";
39
38
  import { transactionListRequest, transactionListResponse } from "./loans/transactionlist";
@@ -413,15 +412,6 @@ export declare const loansService: {
413
412
  readonly responseSerialize: (value: manualPaymentAllocationResponse) => Buffer;
414
413
  readonly responseDeserialize: (value: Buffer) => manualPaymentAllocationResponse;
415
414
  };
416
- readonly rollbackExtraPayment: {
417
- readonly path: "/service.loans/rollbackExtraPayment";
418
- readonly requestStream: false;
419
- readonly responseStream: false;
420
- readonly requestSerialize: (value: rollbackExtraPaymentRequest) => Buffer;
421
- readonly requestDeserialize: (value: Buffer) => rollbackExtraPaymentRequest;
422
- readonly responseSerialize: (value: rollbackExtraPaymentResponse) => Buffer;
423
- readonly responseDeserialize: (value: Buffer) => rollbackExtraPaymentResponse;
424
- };
425
415
  };
426
416
  export interface loansServer extends UntypedServiceImplementation {
427
417
  creditlimit: handleUnaryCall<creditLimitRequest, creditLimitResponse>;
@@ -465,7 +455,6 @@ export interface loansServer extends UntypedServiceImplementation {
465
455
  getCBloanDetails: handleUnaryCall<getCBloanDetailsRequest, getCBloanDetailsResponse>;
466
456
  createLamFloan: handleUnaryCall<createLamfLoanRequest, createLamfLoanResponse>;
467
457
  manualPaymentAllocation: handleUnaryCall<manualPaymentAllocationRequest, manualPaymentAllocationResponse>;
468
- rollbackExtraPayment: handleUnaryCall<rollbackExtraPaymentRequest, rollbackExtraPaymentResponse>;
469
458
  }
470
459
  export interface loansClient extends Client {
471
460
  creditlimit(request: creditLimitRequest, callback: (error: ServiceError | null, response: creditLimitResponse) => void): ClientUnaryCall;
@@ -591,9 +580,6 @@ export interface loansClient extends Client {
591
580
  manualPaymentAllocation(request: manualPaymentAllocationRequest, callback: (error: ServiceError | null, response: manualPaymentAllocationResponse) => void): ClientUnaryCall;
592
581
  manualPaymentAllocation(request: manualPaymentAllocationRequest, metadata: Metadata, callback: (error: ServiceError | null, response: manualPaymentAllocationResponse) => void): ClientUnaryCall;
593
582
  manualPaymentAllocation(request: manualPaymentAllocationRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: manualPaymentAllocationResponse) => void): ClientUnaryCall;
594
- rollbackExtraPayment(request: rollbackExtraPaymentRequest, callback: (error: ServiceError | null, response: rollbackExtraPaymentResponse) => void): ClientUnaryCall;
595
- rollbackExtraPayment(request: rollbackExtraPaymentRequest, metadata: Metadata, callback: (error: ServiceError | null, response: rollbackExtraPaymentResponse) => void): ClientUnaryCall;
596
- rollbackExtraPayment(request: rollbackExtraPaymentRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: rollbackExtraPaymentResponse) => void): ClientUnaryCall;
597
583
  }
598
584
  export declare const loansClient: {
599
585
  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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.3
6
6
  // source: loans.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.loansClient = exports.loansService = exports.protobufPackage = void 0;
@@ -42,7 +42,6 @@ const paynow_1 = require("./loans/paynow");
42
42
  const refund_1 = require("./loans/refund");
43
43
  const restructureloan_1 = require("./loans/restructureloan");
44
44
  const rollback_1 = require("./loans/rollback");
45
- const rollbackextrapayment_1 = require("./loans/rollbackextrapayment");
46
45
  const sendemail_1 = require("./loans/sendemail");
47
46
  const sendnocemail_1 = require("./loans/sendnocemail");
48
47
  const transactionlist_1 = require("./loans/transactionlist");
@@ -421,14 +420,5 @@ exports.loansService = {
421
420
  responseSerialize: (value) => Buffer.from(manualpaymentallocation_1.manualPaymentAllocationResponse.encode(value).finish()),
422
421
  responseDeserialize: (value) => manualpaymentallocation_1.manualPaymentAllocationResponse.decode(value),
423
422
  },
424
- rollbackExtraPayment: {
425
- path: "/service.loans/rollbackExtraPayment",
426
- requestStream: false,
427
- responseStream: false,
428
- requestSerialize: (value) => Buffer.from(rollbackextrapayment_1.rollbackExtraPaymentRequest.encode(value).finish()),
429
- requestDeserialize: (value) => rollbackextrapayment_1.rollbackExtraPaymentRequest.decode(value),
430
- responseSerialize: (value) => Buffer.from(rollbackextrapayment_1.rollbackExtraPaymentResponse.encode(value).finish()),
431
- responseDeserialize: (value) => rollbackextrapayment_1.rollbackExtraPaymentResponse.decode(value),
432
- },
433
423
  };
434
424
  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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.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.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.3
6
6
  // source: payments/fundtransfer.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };