@stashfin/grpc 1.0.31 → 1.1.2

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 (509) hide show
  1. package/package.json +7 -1
  2. package/ts/bureau/getbasicdetails.d.ts +58 -0
  3. package/ts/bureau/getbasicdetails.js +355 -0
  4. package/ts/bureau/getcibilwebtoken.d.ts +49 -0
  5. package/ts/bureau/getcibilwebtoken.js +227 -0
  6. package/ts/bureau/getdbrcolending.d.ts +36 -0
  7. package/ts/bureau/getdbrcolending.js +147 -0
  8. package/ts/bureau/getdemogs.d.ts +113 -0
  9. package/ts/bureau/getdemogs.js +611 -0
  10. package/ts/bureau/getobligation.d.ts +83 -0
  11. package/ts/bureau/getobligation.js +517 -0
  12. package/ts/bureau/getreport.d.ts +188 -0
  13. package/ts/bureau/getreport.js +1640 -0
  14. package/ts/bureau.d.ts +98 -0
  15. package/ts/bureau.js +74 -0
  16. package/ts/colender/disburseLoan.d.ts +53 -0
  17. package/ts/colender/disburseLoan.js +399 -0
  18. package/ts/colender/forecloseLoan.d.ts +61 -0
  19. package/ts/colender/forecloseLoan.js +406 -0
  20. package/ts/colender/repayLoan.d.ts +61 -0
  21. package/ts/colender/repayLoan.js +406 -0
  22. package/ts/colender.d.ts +56 -0
  23. package/ts/colender.js +44 -0
  24. package/ts/customers/aa/getaatxnstatus.d.ts +35 -0
  25. package/ts/customers/aa/getaatxnstatus.js +117 -0
  26. package/ts/customers/aa/getbanklist.d.ts +49 -0
  27. package/ts/customers/aa/getbanklist.js +214 -0
  28. package/ts/customers/aa/initiate.d.ts +40 -0
  29. package/ts/customers/aa/initiate.js +209 -0
  30. package/ts/customers/accidentprotectionplan.d.ts +68 -0
  31. package/ts/customers/accidentprotectionplan.js +389 -0
  32. package/ts/customers/addaddress.d.ts +50 -0
  33. package/ts/customers/addaddress.js +265 -0
  34. package/ts/customers/addbankaccountdetails.d.ts +37 -0
  35. package/ts/customers/addbankaccountdetails.js +147 -0
  36. package/ts/customers/addfathersname.d.ts +35 -0
  37. package/ts/customers/addfathersname.js +117 -0
  38. package/ts/customers/addgstnumber.d.ts +35 -0
  39. package/ts/customers/addgstnumber.js +117 -0
  40. package/ts/customers/addmoredetails.d.ts +45 -0
  41. package/ts/customers/addmoredetails.js +271 -0
  42. package/ts/customers/addsuspendedcustomer.d.ts +36 -0
  43. package/ts/customers/addsuspendedcustomer.js +133 -0
  44. package/ts/customers/adduserapps.d.ts +74 -0
  45. package/ts/customers/adduserapps.js +210 -0
  46. package/ts/customers/applyclijourney.d.ts +34 -0
  47. package/ts/customers/applyclijourney.js +104 -0
  48. package/ts/customers/bulksms.d.ts +48 -0
  49. package/ts/customers/bulksms.js +201 -0
  50. package/ts/customers/cb/cbapplicationrejecteddata.d.ts +34 -0
  51. package/ts/customers/cb/cbapplicationrejecteddata.js +101 -0
  52. package/ts/customers/cb/cbpaynow.d.ts +37 -0
  53. package/ts/customers/cb/cbpaynow.js +147 -0
  54. package/ts/customers/cb/cbsignup.d.ts +34 -0
  55. package/ts/customers/cb/cbsignup.js +104 -0
  56. package/ts/customers/cb/getcbtxnstatus.d.ts +35 -0
  57. package/ts/customers/cb/getcbtxnstatus.js +117 -0
  58. package/ts/customers/cb/getcreditbuilder.d.ts +50 -0
  59. package/ts/customers/cb/getcreditbuilder.js +230 -0
  60. package/ts/customers/cb/getpaymentsummary.d.ts +55 -0
  61. package/ts/customers/cb/getpaymentsummary.js +302 -0
  62. package/ts/customers/cb/insurancedetails.d.ts +47 -0
  63. package/ts/customers/cb/insurancedetails.js +184 -0
  64. package/ts/customers/cb/lesscsimprove.d.ts +35 -0
  65. package/ts/customers/cb/lesscsimprove.js +117 -0
  66. package/ts/customers/cb/morecsimprove.d.ts +35 -0
  67. package/ts/customers/cb/morecsimprove.js +117 -0
  68. package/ts/customers/cb/savecreditbuilder.d.ts +35 -0
  69. package/ts/customers/cb/savecreditbuilder.js +117 -0
  70. package/ts/customers/cb/updatecbstandalonecancellation.d.ts +34 -0
  71. package/ts/customers/cb/updatecbstandalonecancellation.js +104 -0
  72. package/ts/customers/cb/updatecbstandaloneconfirmation.d.ts +34 -0
  73. package/ts/customers/cb/updatecbstandaloneconfirmation.js +104 -0
  74. package/ts/customers/cb/updatecbstandalonejourney.d.ts +34 -0
  75. package/ts/customers/cb/updatecbstandalonejourney.js +104 -0
  76. package/ts/customers/cb/updatecbtxnstatus.d.ts +36 -0
  77. package/ts/customers/cb/updatecbtxnstatus.js +133 -0
  78. package/ts/customers/changempin.d.ts +36 -0
  79. package/ts/customers/changempin.js +133 -0
  80. package/ts/customers/createcustomerreference.d.ts +43 -0
  81. package/ts/customers/createcustomerreference.js +226 -0
  82. package/ts/customers/createvanumber.d.ts +34 -0
  83. package/ts/customers/createvanumber.js +104 -0
  84. package/ts/customers/customerinfo.d.ts +59 -0
  85. package/ts/customers/customerinfo.js +481 -0
  86. package/ts/customers/deletedocument.d.ts +35 -0
  87. package/ts/{customer/setmpin.js → customers/deletedocument.js} +23 -39
  88. package/ts/customers/deleteprofile.d.ts +35 -0
  89. package/ts/customers/deleteprofile.js +120 -0
  90. package/ts/customers/disablempin.d.ts +35 -0
  91. package/ts/customers/{verifyemail.js → disablempin.js} +24 -24
  92. package/ts/customers/enach/gettxnstatus.d.ts +35 -0
  93. package/ts/customers/enach/gettxnstatus.js +117 -0
  94. package/ts/customers/enach/getweburl.d.ts +34 -0
  95. package/ts/customers/enach/getweburl.js +104 -0
  96. package/ts/customers/enach/updateenachtxnstatus.d.ts +40 -0
  97. package/ts/customers/enach/updateenachtxnstatus.js +205 -0
  98. package/ts/customers/fetchrcprofile.d.ts +45 -0
  99. package/ts/customers/fetchrcprofile.js +271 -0
  100. package/ts/customers/floatingvideos.d.ts +46 -0
  101. package/ts/customers/floatingvideos.js +172 -0
  102. package/ts/customers/forceupdate.d.ts +38 -0
  103. package/ts/customers/forceupdate.js +163 -0
  104. package/ts/customers/forgotmpin.d.ts +35 -0
  105. package/ts/customers/forgotmpin.js +117 -0
  106. package/ts/customers/forgotmpinverify.d.ts +37 -0
  107. package/ts/customers/forgotmpinverify.js +149 -0
  108. package/ts/customers/freedom/addressconfirmation.d.ts +37 -0
  109. package/ts/customers/freedom/addressconfirmation.js +149 -0
  110. package/ts/customers/freedom/freedompaynow.d.ts +37 -0
  111. package/ts/customers/freedom/freedompaynow.js +147 -0
  112. package/ts/customers/freedom/getfreedomtxnstatus.d.ts +35 -0
  113. package/ts/customers/freedom/getfreedomtxnstatus.js +117 -0
  114. package/ts/customers/freedom/updateadditionalverification.d.ts +34 -0
  115. package/ts/customers/freedom/updateadditionalverification.js +104 -0
  116. package/ts/customers/freedom/updatefreedomtxnstatus.d.ts +38 -0
  117. package/ts/customers/freedom/updatefreedomtxnstatus.js +177 -0
  118. package/ts/customers/getaddresslist.d.ts +36 -0
  119. package/ts/customers/getaddresslist.js +134 -0
  120. package/ts/customers/getappsubmittedscreen.d.ts +50 -0
  121. package/ts/customers/getappsubmittedscreen.js +230 -0
  122. package/ts/customers/getbankaccountdetails.d.ts +37 -0
  123. package/ts/customers/getbankaccountdetails.js +148 -0
  124. package/ts/customers/getbasicinfo.d.ts +56 -0
  125. package/ts/customers/getbasicinfo.js +323 -0
  126. package/ts/customers/getcities.d.ts +47 -0
  127. package/ts/customers/getcities.js +183 -0
  128. package/ts/customers/getclistatus.d.ts +34 -0
  129. package/ts/customers/getclistatus.js +104 -0
  130. package/ts/customers/getcompanyaccdetails.d.ts +37 -0
  131. package/ts/customers/getcompanyaccdetails.js +148 -0
  132. package/ts/customers/getcustomerbyid.d.ts +200 -0
  133. package/ts/customers/getcustomerbyid.js +2027 -0
  134. package/ts/customers/getcustomerdetailsbymobile.d.ts +42 -0
  135. package/ts/customers/getcustomerdetailsbymobile.js +219 -0
  136. package/ts/customers/getdashboard.d.ts +89 -0
  137. package/ts/customers/getdashboard.js +588 -0
  138. package/ts/customers/getdashboardmaincard.d.ts +73 -0
  139. package/ts/customers/getdashboardmaincard.js +579 -0
  140. package/ts/customers/getdocuments.d.ts +46 -0
  141. package/ts/customers/getdocuments.js +174 -0
  142. package/ts/customers/getglobalpopups.d.ts +49 -0
  143. package/ts/customers/getglobalpopups.js +214 -0
  144. package/ts/customers/getlimit.d.ts +35 -0
  145. package/ts/customers/getlimit.js +120 -0
  146. package/ts/customers/getloclimit.d.ts +35 -0
  147. package/ts/customers/getloclimit.js +120 -0
  148. package/ts/customers/getmessengermode.d.ts +34 -0
  149. package/ts/customers/getmessengermode.js +104 -0
  150. package/ts/customers/getoccupationlist.d.ts +34 -0
  151. package/ts/customers/getoccupationlist.js +105 -0
  152. package/ts/customers/getpaymentoptions.d.ts +51 -0
  153. package/ts/customers/getpaymentoptions.js +243 -0
  154. package/ts/customers/getprofessionalinfo.d.ts +54 -0
  155. package/ts/customers/getprofessionalinfo.js +286 -0
  156. package/ts/customers/getprofile.d.ts +26 -2
  157. package/ts/customers/getprofile.js +280 -27
  158. package/ts/customers/getselfieetxnid.d.ts +34 -0
  159. package/ts/customers/getselfieetxnid.js +104 -0
  160. package/ts/customers/getstates.d.ts +46 -0
  161. package/ts/customers/getstates.js +170 -0
  162. package/ts/customers/getstep.d.ts +24 -32
  163. package/ts/customers/getstep.js +173 -174
  164. package/ts/customers/getsyncstatus.d.ts +35 -0
  165. package/ts/customers/getsyncstatus.js +120 -0
  166. package/ts/customers/getvanumber.d.ts +35 -0
  167. package/ts/customers/getvanumber.js +117 -0
  168. package/ts/customers/kyc/epfo.d.ts +38 -0
  169. package/ts/customers/kyc/epfo.js +149 -0
  170. package/ts/customers/lamf/applylamf.d.ts +34 -0
  171. package/ts/customers/lamf/applylamf.js +104 -0
  172. package/ts/customers/lamf/sendlamfotp.d.ts +34 -0
  173. package/ts/customers/lamf/sendlamfotp.js +104 -0
  174. package/ts/customers/lamf/sendlamfpledgeotp.d.ts +34 -0
  175. package/ts/customers/lamf/sendlamfpledgeotp.js +104 -0
  176. package/ts/customers/lamf/verifylamfotp.d.ts +35 -0
  177. package/ts/customers/lamf/verifylamfotp.js +117 -0
  178. package/ts/customers/lamf/verifylamfpledgeotp.d.ts +35 -0
  179. package/ts/customers/lamf/verifylamfpledgeotp.js +117 -0
  180. package/ts/customers/logout.d.ts +34 -0
  181. package/ts/customers/logout.js +104 -0
  182. package/ts/customers/pd/getbanklist.d.ts +48 -0
  183. package/ts/customers/pd/getbanklist.js +204 -0
  184. package/ts/customers/pd/validatebankaccount.d.ts +37 -0
  185. package/ts/customers/pd/validatebankaccount.js +147 -0
  186. package/ts/customers/profilebasic.d.ts +3 -0
  187. package/ts/customers/profilebasic.js +53 -3
  188. package/ts/customers/profileupdatetnc.js +2 -2
  189. package/ts/customers/resetbanner.d.ts +34 -0
  190. package/ts/customers/resetbanner.js +104 -0
  191. package/ts/customers/restoreaccount.d.ts +36 -0
  192. package/ts/{customer/verifympin.js → customers/restoreaccount.js} +28 -44
  193. package/ts/customers/rpd/getrpdlink.d.ts +40 -0
  194. package/ts/customers/rpd/getrpdlink.js +190 -0
  195. package/ts/customers/rpd/getrpdtransactionstatus.d.ts +35 -0
  196. package/ts/customers/rpd/getrpdtransactionstatus.js +117 -0
  197. package/ts/customers/rpd/mockpayment.d.ts +37 -0
  198. package/ts/customers/rpd/mockpayment.js +149 -0
  199. package/ts/customers/saveappslist.d.ts +48 -0
  200. package/ts/customers/saveappslist.js +199 -0
  201. package/ts/customers/savebasicdetails.d.ts +48 -0
  202. package/ts/customers/savebasicdetails.js +199 -0
  203. package/ts/customers/savelimit.d.ts +35 -0
  204. package/ts/customers/savelimit.js +117 -0
  205. package/ts/customers/saveunlocklimit.d.ts +34 -0
  206. package/ts/customers/saveunlocklimit.js +104 -0
  207. package/ts/customers/sendotp.d.ts +2 -0
  208. package/ts/customers/sendotp.js +37 -5
  209. package/ts/customers/sendotptoemail.d.ts +35 -0
  210. package/ts/customers/{sendemailtoken.js → sendotptoemail.js} +23 -23
  211. package/ts/customers/setmpin.js +2 -2
  212. package/ts/customers/skipscreen.d.ts +44 -0
  213. package/ts/customers/skipscreen.js +162 -0
  214. package/ts/customers/submituploadeddocuments.d.ts +42 -0
  215. package/ts/customers/submituploadeddocuments.js +150 -0
  216. package/ts/customers/syncdecisionengine.d.ts +35 -0
  217. package/ts/customers/syncdecisionengine.js +117 -0
  218. package/ts/customers/updatecategory.d.ts +38 -0
  219. package/ts/customers/updatecategory.js +175 -0
  220. package/ts/customers/updatecongratulationstep.d.ts +34 -0
  221. package/ts/customers/updatecongratulationstep.js +104 -0
  222. package/ts/customers/updatecustomerbyid.d.ts +49 -0
  223. package/ts/customers/updatecustomerbyid.js +215 -0
  224. package/ts/customers/updatedlnumber.d.ts +35 -0
  225. package/ts/customers/updatedlnumber.js +119 -0
  226. package/ts/customers/updatedob.d.ts +35 -0
  227. package/ts/{customer/profileupdatetnc.js → customers/updatedob.js} +23 -23
  228. package/ts/customers/updatelocstatus.d.ts +36 -0
  229. package/ts/customers/updatelocstatus.js +133 -0
  230. package/ts/customers/updatemobilesendotp.d.ts +35 -0
  231. package/ts/customers/updatemobilesendotp.js +117 -0
  232. package/ts/customers/updatemobileverifyotp.d.ts +36 -0
  233. package/ts/customers/updatemobileverifyotp.js +133 -0
  234. package/ts/customers/updateokyctxn.d.ts +37 -0
  235. package/ts/customers/updateokyctxn.js +147 -0
  236. package/ts/customers/updatesanctionamount.d.ts +35 -0
  237. package/ts/customers/updatesanctionamount.js +117 -0
  238. package/ts/customers/updateselfieetxn.d.ts +36 -0
  239. package/ts/customers/updateselfieetxn.js +133 -0
  240. package/ts/customers/updatesyncstatus.d.ts +36 -0
  241. package/ts/customers/updatesyncstatus.js +133 -0
  242. package/ts/customers/updatevehiclenumber.d.ts +35 -0
  243. package/ts/customers/updatevehiclenumber.js +117 -0
  244. package/ts/customers/uploaddocuments.d.ts +37 -0
  245. package/ts/customers/uploaddocuments.js +147 -0
  246. package/ts/customers/validatepan.d.ts +46 -0
  247. package/ts/customers/validatepan.js +289 -0
  248. package/ts/customers/verifympin.js +2 -2
  249. package/ts/customers/verifyotp.d.ts +5 -0
  250. package/ts/customers/verifyotp.js +85 -15
  251. package/ts/customers/verifyotptoemail.d.ts +35 -0
  252. package/ts/customers/verifyotptoemail.js +117 -0
  253. package/ts/customers.d.ts +1520 -161
  254. package/ts/customers.js +1062 -91
  255. package/ts/decisionengine/decisionenginetrigger.d.ts +38 -0
  256. package/ts/decisionengine/decisionenginetrigger.js +163 -0
  257. package/ts/decisionengine/locdisbursalapproval.d.ts +40 -0
  258. package/ts/decisionengine/locdisbursalapproval.js +191 -0
  259. package/ts/decisionengine/saveconsent.d.ts +38 -0
  260. package/ts/{customer/getprofile.js → decisionengine/saveconsent.js} +72 -71
  261. package/ts/decisionengine.d.ts +56 -0
  262. package/ts/decisionengine.js +44 -0
  263. package/ts/documents/getagreement.d.ts +49 -0
  264. package/ts/documents/getagreement.js +213 -0
  265. package/ts/documents/getfinancialdoc.d.ts +87 -0
  266. package/ts/documents/getfinancialdoc.js +679 -0
  267. package/ts/documents.d.ts +42 -0
  268. package/ts/documents.js +34 -0
  269. package/ts/eqxcustomer.d.ts +126 -0
  270. package/ts/eqxcustomer.js +94 -0
  271. package/ts/eqxcustomers/getcustomerbyid.d.ts +43 -0
  272. package/ts/eqxcustomers/getcustomerbyid.js +243 -0
  273. package/ts/eqxcustomers/getdashboard.d.ts +103 -0
  274. package/ts/eqxcustomers/getdashboard.js +683 -0
  275. package/ts/eqxcustomers/getdashboardmaincard.d.ts +58 -0
  276. package/ts/eqxcustomers/getdashboardmaincard.js +354 -0
  277. package/ts/eqxcustomers/getnotifications.d.ts +92 -0
  278. package/ts/eqxcustomers/getnotifications.js +536 -0
  279. package/ts/eqxcustomers/sendotp.d.ts +38 -0
  280. package/ts/{customer/verifyotp.js → eqxcustomers/sendotp.js} +53 -67
  281. package/ts/eqxcustomers/updatenotification.d.ts +36 -0
  282. package/ts/eqxcustomers/updatenotification.js +147 -0
  283. package/ts/eqxcustomers/updatepushid.d.ts +36 -0
  284. package/ts/eqxcustomers/updatepushid.js +133 -0
  285. package/ts/eqxcustomers/verifyotp.d.ts +44 -0
  286. package/ts/eqxcustomers/verifyotp.js +247 -0
  287. package/ts/example.d.ts +4 -4
  288. package/ts/example.js +2 -2
  289. package/ts/growth/checkplanstatus.d.ts +48 -0
  290. package/ts/growth/checkplanstatus.js +200 -0
  291. package/ts/growth/getattachplandetails.d.ts +53 -0
  292. package/ts/growth/getattachplandetails.js +270 -0
  293. package/ts/growth/getchrpaymentstatus.d.ts +49 -0
  294. package/ts/growth/getchrpaymentstatus.js +213 -0
  295. package/ts/growth/getchrplans.d.ts +112 -0
  296. package/ts/growth/getchrplans.js +717 -0
  297. package/ts/growth/getcredithealthreport.d.ts +98 -0
  298. package/ts/growth/getcredithealthreport.js +617 -0
  299. package/ts/growth/initiatepayment.d.ts +52 -0
  300. package/ts/growth/initiatepayment.js +259 -0
  301. package/ts/growth/notifychrpayment.d.ts +42 -0
  302. package/ts/growth/notifychrpayment.js +219 -0
  303. package/ts/growth.d.ts +112 -0
  304. package/ts/growth.js +84 -0
  305. package/ts/kyc/fetchuanemployment.d.ts +66 -0
  306. package/ts/kyc/fetchuanemployment.js +359 -0
  307. package/ts/kyc/fetchuannumber.d.ts +35 -0
  308. package/ts/{customer/sendotp.js → kyc/fetchuannumber.js} +24 -38
  309. package/ts/kyc.d.ts +28 -0
  310. package/ts/kyc.js +24 -0
  311. package/ts/{customer/step10.d.ts → lamf/getloandetails.d.ts} +31 -39
  312. package/ts/lamf/getloandetails.js +351 -0
  313. package/ts/{customer/step2.d.ts → lamf/submitotp.d.ts} +30 -34
  314. package/ts/lamf/submitotp.js +327 -0
  315. package/ts/lamf/validateuser.d.ts +70 -0
  316. package/ts/lamf/validateuser.js +428 -0
  317. package/ts/lamf.d.ts +56 -0
  318. package/ts/lamf.js +44 -0
  319. package/ts/loans/amortization.d.ts +57 -0
  320. package/ts/loans/amortization.js +340 -0
  321. package/ts/loans/approveloan.d.ts +87 -0
  322. package/ts/loans/approveloan.js +791 -0
  323. package/ts/loans/banklist.d.ts +37 -0
  324. package/ts/loans/banklist.js +148 -0
  325. package/ts/loans/calculateemi.d.ts +71 -0
  326. package/ts/loans/calculateemi.js +436 -0
  327. package/ts/loans/cbloan.d.ts +46 -0
  328. package/ts/loans/cbloan.js +287 -0
  329. package/ts/loans/createlamfloan.d.ts +86 -0
  330. package/ts/loans/createlamfloan.js +776 -0
  331. package/ts/loans/createpenalty.d.ts +42 -0
  332. package/ts/loans/createpenalty.js +219 -0
  333. package/ts/loans/creditlimit.d.ts +50 -0
  334. package/ts/loans/creditlimit.js +358 -0
  335. package/ts/loans/emimoredetails.d.ts +51 -0
  336. package/ts/loans/emimoredetails.js +243 -0
  337. package/ts/loans/fcppayment.d.ts +55 -0
  338. package/ts/loans/fcppayment.js +324 -0
  339. package/ts/loans/foreclosepayment.d.ts +55 -0
  340. package/ts/loans/foreclosepayment.js +324 -0
  341. package/ts/loans/getaddonslist.d.ts +49 -0
  342. package/ts/loans/getaddonslist.js +215 -0
  343. package/ts/loans/getbilldetails.d.ts +53 -0
  344. package/ts/loans/getbilldetails.js +282 -0
  345. package/ts/loans/getcbloandetails.d.ts +37 -0
  346. package/ts/loans/getcbloandetails.js +147 -0
  347. package/ts/loans/getchrdetails.d.ts +51 -0
  348. package/ts/loans/getchrdetails.js +242 -0
  349. package/ts/loans/getcustomerloanstatus.d.ts +34 -0
  350. package/ts/loans/getcustomerloanstatus.js +104 -0
  351. package/ts/loans/getforecloseamount.d.ts +51 -0
  352. package/ts/loans/getforecloseamount.js +254 -0
  353. package/ts/loans/getloanbyid.d.ts +80 -0
  354. package/ts/loans/getloanbyid.js +571 -0
  355. package/ts/loans/getnextdueamount.d.ts +71 -0
  356. package/ts/loans/getnextdueamount.js +454 -0
  357. package/ts/loans/getpaymentoptions.d.ts +51 -0
  358. package/ts/loans/getpaymentoptions.js +243 -0
  359. package/ts/loans/getpendingemiamount.d.ts +35 -0
  360. package/ts/loans/getpendingemiamount.js +117 -0
  361. package/ts/loans/getsetubilldetails.d.ts +68 -0
  362. package/ts/loans/getsetubilldetails.js +384 -0
  363. package/ts/loans/getsummarystaticfields.d.ts +108 -0
  364. package/ts/loans/getsummarystaticfields.js +898 -0
  365. package/ts/loans/gettransactionstatus.d.ts +35 -0
  366. package/ts/loans/gettransactionstatus.js +117 -0
  367. package/ts/loans/getusedlimit.d.ts +35 -0
  368. package/ts/loans/getusedlimit.js +117 -0
  369. package/ts/loans/getvirtualbankinfo.d.ts +37 -0
  370. package/ts/loans/getvirtualbankinfo.js +148 -0
  371. package/ts/loans/loansummary.d.ts +84 -0
  372. package/ts/loans/loansummary.js +750 -0
  373. package/ts/loans/manualpaymentallocation.d.ts +40 -0
  374. package/ts/loans/manualpaymentallocation.js +200 -0
  375. package/ts/loans/paymentallocation.d.ts +38 -0
  376. package/ts/loans/paymentallocation.js +161 -0
  377. package/ts/loans/paymenthistory.d.ts +47 -0
  378. package/ts/loans/paymenthistory.js +188 -0
  379. package/ts/loans/paynow.d.ts +56 -0
  380. package/ts/loans/paynow.js +344 -0
  381. package/ts/loans/refund.d.ts +38 -0
  382. package/ts/loans/refund.js +161 -0
  383. package/ts/loans/restructureloan.d.ts +36 -0
  384. package/ts/loans/restructureloan.js +142 -0
  385. package/ts/loans/rollback.d.ts +38 -0
  386. package/ts/loans/rollback.js +161 -0
  387. package/ts/loans/sendemail.d.ts +35 -0
  388. package/ts/loans/sendemail.js +117 -0
  389. package/ts/loans/sendnocemail.d.ts +35 -0
  390. package/ts/loans/sendnocemail.js +117 -0
  391. package/ts/loans/transactionlist.d.ts +54 -0
  392. package/ts/loans/transactionlist.js +295 -0
  393. package/ts/loans/updatecollectionview.d.ts +44 -0
  394. package/ts/loans/updatecollectionview.js +257 -0
  395. package/ts/loans/updateinstallments.d.ts +40 -0
  396. package/ts/loans/updateinstallments.js +189 -0
  397. package/ts/loans/updateloan.d.ts +37 -0
  398. package/ts/loans/updateloan.js +147 -0
  399. package/ts/loans/updatetransactionstatus.d.ts +42 -0
  400. package/ts/loans/updatetransactionstatus.js +219 -0
  401. package/ts/loans.d.ts +588 -0
  402. package/ts/loans.js +424 -0
  403. package/ts/{customer/profileupdatetnc.d.ts → payments/checkpaymentstatus.d.ts} +19 -3
  404. package/ts/payments/checkpaymentstatus.js +259 -0
  405. package/ts/payments/fundtransfer.d.ts +65 -0
  406. package/ts/payments/fundtransfer.js +462 -0
  407. package/ts/{customer/sendotp.d.ts → payments/getpaymentoptions.d.ts} +26 -4
  408. package/ts/payments/getpaymentoptions.js +341 -0
  409. package/ts/{customer/verifympin.d.ts → payments/initiatepayment.d.ts} +21 -5
  410. package/ts/payments/initiatepayment.js +285 -0
  411. package/ts/{customer/setmpin.d.ts → payments/nachpresentation.d.ts} +7 -4
  412. package/ts/payments/nachpresentation.js +191 -0
  413. package/ts/payments/nachregistration.d.ts +56 -0
  414. package/ts/payments/nachregistration.js +339 -0
  415. package/ts/payments.d.ts +98 -0
  416. package/ts/payments.js +74 -0
  417. package/ts/stashcash/creditsc.js +2 -2
  418. package/ts/stashcash/debitsc.d.ts +10 -7
  419. package/ts/stashcash/debitsc.js +87 -36
  420. package/ts/stashcash/getscbalance.d.ts +1 -0
  421. package/ts/stashcash/getscbalance.js +25 -3
  422. package/ts/stashcash/getschistory.js +2 -2
  423. package/ts/stashcash/reversesc.js +2 -2
  424. package/ts/stashcash.d.ts +10 -10
  425. package/ts/stashcash.js +2 -2
  426. package/ts/upi/addaccount.d.ts +50 -0
  427. package/ts/upi/addaccount.js +347 -0
  428. package/ts/upi/blockvpa.d.ts +40 -0
  429. package/ts/upi/blockvpa.js +191 -0
  430. package/ts/upi/checktransactionstatus.d.ts +59 -0
  431. package/ts/upi/checktransactionstatus.js +487 -0
  432. package/ts/upi/declinemandate.d.ts +37 -0
  433. package/ts/upi/declinemandate.js +149 -0
  434. package/ts/upi/deregisterprofile.d.ts +40 -0
  435. package/ts/upi/deregisterprofile.js +191 -0
  436. package/ts/upi/getaccountsbyprovider.d.ts +119 -0
  437. package/ts/upi/getaccountsbyprovider.js +829 -0
  438. package/ts/upi/getallmandates.d.ts +68 -0
  439. package/ts/upi/getallmandates.js +391 -0
  440. package/ts/upi/getavailablevpa.d.ts +40 -0
  441. package/ts/upi/getavailablevpa.js +191 -0
  442. package/ts/upi/getlistedaccountproviders.d.ts +75 -0
  443. package/ts/upi/getlistedaccountproviders.js +434 -0
  444. package/ts/upi/getmandatedetails.d.ts +139 -0
  445. package/ts/upi/getmandatedetails.js +1169 -0
  446. package/ts/upi/getmandatehistory.d.ts +65 -0
  447. package/ts/upi/getmandatehistory.js +337 -0
  448. package/ts/upi/getpendingcollectrequest.d.ts +76 -0
  449. package/ts/upi/getpendingcollectrequest.js +526 -0
  450. package/ts/upi/getprofile.d.ts +143 -0
  451. package/ts/upi/getprofile.js +1132 -0
  452. package/ts/upi/getrecentcontacts.d.ts +70 -0
  453. package/ts/upi/getrecentcontacts.js +374 -0
  454. package/ts/upi/gettransactions.d.ts +95 -0
  455. package/ts/upi/gettransactions.js +590 -0
  456. package/ts/upi/getupinumbers.d.ts +62 -0
  457. package/ts/upi/getupinumbers.js +296 -0
  458. package/ts/upi/initiatemandateaction.d.ts +50 -0
  459. package/ts/upi/initiatemandateaction.js +229 -0
  460. package/ts/upi/initiatetransaction.d.ts +57 -0
  461. package/ts/upi/initiatetransaction.js +454 -0
  462. package/ts/upi/listblockedvpa.d.ts +63 -0
  463. package/ts/upi/listblockedvpa.js +311 -0
  464. package/ts/upi/unblockvpa.d.ts +40 -0
  465. package/ts/upi/unblockvpa.js +191 -0
  466. package/ts/upi/updatedevicebinding.d.ts +40 -0
  467. package/ts/upi/updatedevicebinding.js +191 -0
  468. package/ts/upi/upinumberoperations.d.ts +55 -0
  469. package/ts/upi/upinumberoperations.js +299 -0
  470. package/ts/upi/validateifsc.d.ts +64 -0
  471. package/ts/upi/validateifsc.js +441 -0
  472. package/ts/upi/validatevpa.d.ts +60 -0
  473. package/ts/upi/validatevpa.js +381 -0
  474. package/ts/upi.d.ts +363 -0
  475. package/ts/upi.js +263 -0
  476. package/ts/customer/getprofile.d.ts +0 -38
  477. package/ts/customer/getstep.d.ts +0 -78
  478. package/ts/customer/getstep.js +0 -420
  479. package/ts/customer/step1.d.ts +0 -69
  480. package/ts/customer/step1.js +0 -395
  481. package/ts/customer/step10.js +0 -459
  482. package/ts/customer/step2.js +0 -381
  483. package/ts/customer/step7.d.ts +0 -68
  484. package/ts/customer/step7.js +0 -381
  485. package/ts/customer/step8.d.ts +0 -69
  486. package/ts/customer/step8.js +0 -395
  487. package/ts/customer/step9.d.ts +0 -75
  488. package/ts/customer/step9.js +0 -489
  489. package/ts/customer/stepstatic.d.ts +0 -66
  490. package/ts/customer/stepstatic.js +0 -352
  491. package/ts/customer/verifyotp.d.ts +0 -39
  492. package/ts/customer.d.ts +0 -262
  493. package/ts/customer.js +0 -190
  494. package/ts/customers/sendemailtoken.d.ts +0 -35
  495. package/ts/customers/step1.d.ts +0 -69
  496. package/ts/customers/step1.js +0 -395
  497. package/ts/customers/step10.d.ts +0 -73
  498. package/ts/customers/step10.js +0 -459
  499. package/ts/customers/step2.d.ts +0 -68
  500. package/ts/customers/step2.js +0 -381
  501. package/ts/customers/step7.d.ts +0 -68
  502. package/ts/customers/step7.js +0 -381
  503. package/ts/customers/step8.d.ts +0 -69
  504. package/ts/customers/step8.js +0 -395
  505. package/ts/customers/step9.d.ts +0 -75
  506. package/ts/customers/step9.js +0 -489
  507. package/ts/customers/stepstatic.d.ts +0 -66
  508. package/ts/customers/stepstatic.js +0 -354
  509. package/ts/customers/verifyemail.d.ts +0 -35
@@ -0,0 +1,776 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.2
5
+ // protoc v5.29.3
6
+ // source: loans/createlamfloan.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.createLamfLoanResponse = exports.createLamfLoanRequest_Field = exports.createLamfLoanRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "loans.createlamfloan";
15
+ function createBasecreateLamfLoanRequest() {
16
+ return { bank_id: 0, amount: 0, tenure: 0, ip: "", addonsData: [], latitude: 0, longitude: 0 };
17
+ }
18
+ exports.createLamfLoanRequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.bank_id !== 0) {
21
+ writer.uint32(8).int32(message.bank_id);
22
+ }
23
+ if (message.amount !== 0) {
24
+ writer.uint32(16).int32(message.amount);
25
+ }
26
+ if (message.tenure !== 0) {
27
+ writer.uint32(24).int32(message.tenure);
28
+ }
29
+ if (message.ip !== "") {
30
+ writer.uint32(34).string(message.ip);
31
+ }
32
+ for (const v of message.addonsData) {
33
+ exports.createLamfLoanRequest_Field.encode(v, writer.uint32(42).fork()).ldelim();
34
+ }
35
+ if (message.latitude !== 0) {
36
+ writer.uint32(53).float(message.latitude);
37
+ }
38
+ if (message.longitude !== 0) {
39
+ writer.uint32(61).float(message.longitude);
40
+ }
41
+ return writer;
42
+ },
43
+ decode(input, length) {
44
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
45
+ let end = length === undefined ? reader.len : reader.pos + length;
46
+ const message = createBasecreateLamfLoanRequest();
47
+ while (reader.pos < end) {
48
+ const tag = reader.uint32();
49
+ switch (tag >>> 3) {
50
+ case 1:
51
+ if (tag !== 8) {
52
+ break;
53
+ }
54
+ message.bank_id = reader.int32();
55
+ continue;
56
+ case 2:
57
+ if (tag !== 16) {
58
+ break;
59
+ }
60
+ message.amount = reader.int32();
61
+ continue;
62
+ case 3:
63
+ if (tag !== 24) {
64
+ break;
65
+ }
66
+ message.tenure = reader.int32();
67
+ continue;
68
+ case 4:
69
+ if (tag !== 34) {
70
+ break;
71
+ }
72
+ message.ip = reader.string();
73
+ continue;
74
+ case 5:
75
+ if (tag !== 42) {
76
+ break;
77
+ }
78
+ message.addonsData.push(exports.createLamfLoanRequest_Field.decode(reader, reader.uint32()));
79
+ continue;
80
+ case 6:
81
+ if (tag !== 53) {
82
+ break;
83
+ }
84
+ message.latitude = reader.float();
85
+ continue;
86
+ case 7:
87
+ if (tag !== 61) {
88
+ break;
89
+ }
90
+ message.longitude = reader.float();
91
+ continue;
92
+ }
93
+ if ((tag & 7) === 4 || tag === 0) {
94
+ break;
95
+ }
96
+ reader.skipType(tag & 7);
97
+ }
98
+ return message;
99
+ },
100
+ fromJSON(object) {
101
+ return {
102
+ bank_id: isSet(object.bank_id) ? globalThis.Number(object.bank_id) : 0,
103
+ amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
104
+ tenure: isSet(object.tenure) ? globalThis.Number(object.tenure) : 0,
105
+ ip: isSet(object.ip) ? globalThis.String(object.ip) : "",
106
+ addonsData: globalThis.Array.isArray(object?.addonsData)
107
+ ? object.addonsData.map((e) => exports.createLamfLoanRequest_Field.fromJSON(e))
108
+ : [],
109
+ latitude: isSet(object.latitude) ? globalThis.Number(object.latitude) : 0,
110
+ longitude: isSet(object.longitude) ? globalThis.Number(object.longitude) : 0,
111
+ };
112
+ },
113
+ toJSON(message) {
114
+ const obj = {};
115
+ if (message.bank_id !== 0) {
116
+ obj.bank_id = Math.round(message.bank_id);
117
+ }
118
+ if (message.amount !== 0) {
119
+ obj.amount = Math.round(message.amount);
120
+ }
121
+ if (message.tenure !== 0) {
122
+ obj.tenure = Math.round(message.tenure);
123
+ }
124
+ if (message.ip !== "") {
125
+ obj.ip = message.ip;
126
+ }
127
+ if (message.addonsData?.length) {
128
+ obj.addonsData = message.addonsData.map((e) => exports.createLamfLoanRequest_Field.toJSON(e));
129
+ }
130
+ if (message.latitude !== 0) {
131
+ obj.latitude = message.latitude;
132
+ }
133
+ if (message.longitude !== 0) {
134
+ obj.longitude = message.longitude;
135
+ }
136
+ return obj;
137
+ },
138
+ create(base) {
139
+ return exports.createLamfLoanRequest.fromPartial(base ?? {});
140
+ },
141
+ fromPartial(object) {
142
+ const message = createBasecreateLamfLoanRequest();
143
+ message.bank_id = object.bank_id ?? 0;
144
+ message.amount = object.amount ?? 0;
145
+ message.tenure = object.tenure ?? 0;
146
+ message.ip = object.ip ?? "";
147
+ message.addonsData = object.addonsData?.map((e) => exports.createLamfLoanRequest_Field.fromPartial(e)) || [];
148
+ message.latitude = object.latitude ?? 0;
149
+ message.longitude = object.longitude ?? 0;
150
+ return message;
151
+ },
152
+ };
153
+ function createBasecreateLamfLoanRequest_Field() {
154
+ return { name: "", amount: 0, plan_id: 0, discount: 0 };
155
+ }
156
+ exports.createLamfLoanRequest_Field = {
157
+ encode(message, writer = minimal_1.default.Writer.create()) {
158
+ if (message.name !== "") {
159
+ writer.uint32(10).string(message.name);
160
+ }
161
+ if (message.amount !== 0) {
162
+ writer.uint32(16).int32(message.amount);
163
+ }
164
+ if (message.plan_id !== 0) {
165
+ writer.uint32(24).int32(message.plan_id);
166
+ }
167
+ if (message.discount !== 0) {
168
+ writer.uint32(32).int32(message.discount);
169
+ }
170
+ return writer;
171
+ },
172
+ decode(input, length) {
173
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
174
+ let end = length === undefined ? reader.len : reader.pos + length;
175
+ const message = createBasecreateLamfLoanRequest_Field();
176
+ while (reader.pos < end) {
177
+ const tag = reader.uint32();
178
+ switch (tag >>> 3) {
179
+ case 1:
180
+ if (tag !== 10) {
181
+ break;
182
+ }
183
+ message.name = reader.string();
184
+ continue;
185
+ case 2:
186
+ if (tag !== 16) {
187
+ break;
188
+ }
189
+ message.amount = reader.int32();
190
+ continue;
191
+ case 3:
192
+ if (tag !== 24) {
193
+ break;
194
+ }
195
+ message.plan_id = reader.int32();
196
+ continue;
197
+ case 4:
198
+ if (tag !== 32) {
199
+ break;
200
+ }
201
+ message.discount = reader.int32();
202
+ continue;
203
+ }
204
+ if ((tag & 7) === 4 || tag === 0) {
205
+ break;
206
+ }
207
+ reader.skipType(tag & 7);
208
+ }
209
+ return message;
210
+ },
211
+ fromJSON(object) {
212
+ return {
213
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
214
+ amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
215
+ plan_id: isSet(object.plan_id) ? globalThis.Number(object.plan_id) : 0,
216
+ discount: isSet(object.discount) ? globalThis.Number(object.discount) : 0,
217
+ };
218
+ },
219
+ toJSON(message) {
220
+ const obj = {};
221
+ if (message.name !== "") {
222
+ obj.name = message.name;
223
+ }
224
+ if (message.amount !== 0) {
225
+ obj.amount = Math.round(message.amount);
226
+ }
227
+ if (message.plan_id !== 0) {
228
+ obj.plan_id = Math.round(message.plan_id);
229
+ }
230
+ if (message.discount !== 0) {
231
+ obj.discount = Math.round(message.discount);
232
+ }
233
+ return obj;
234
+ },
235
+ create(base) {
236
+ return exports.createLamfLoanRequest_Field.fromPartial(base ?? {});
237
+ },
238
+ fromPartial(object) {
239
+ const message = createBasecreateLamfLoanRequest_Field();
240
+ message.name = object.name ?? "";
241
+ message.amount = object.amount ?? 0;
242
+ message.plan_id = object.plan_id ?? 0;
243
+ message.discount = object.discount ?? 0;
244
+ return message;
245
+ },
246
+ };
247
+ function createBasecreateLamfLoanResponse() {
248
+ return {
249
+ gateway_fees: 0,
250
+ striked_gateway_fees: 0,
251
+ bill_date: "",
252
+ requested_amount: 0,
253
+ tenure: 0,
254
+ emi_amount: 0,
255
+ net_amount_payable: 0,
256
+ first_emi_date: "",
257
+ final_disbursal_amount: 0,
258
+ upfront_interest: 0,
259
+ rate_of_interest: 0,
260
+ bill_amount: 0,
261
+ total_interest_pay: 0,
262
+ effective_annual_rate: 0,
263
+ transaction_fee_bill_amount: 0,
264
+ processing_fee_plus_gst: 0,
265
+ trans_fee_plus_gst: 0,
266
+ fee_and_charges: 0,
267
+ fee_and_charges_bill: 0,
268
+ effective_roi: 0,
269
+ effective_annual_roi: 0,
270
+ emi_card_description: "",
271
+ bill_card_description: "",
272
+ apr_value: 0,
273
+ apr_type: "",
274
+ max_amount: 0,
275
+ credit_report_fees: 0,
276
+ credit_report_actual_fees: 0,
277
+ plan_id: 0,
278
+ approved_amount: 0,
279
+ discount: 0,
280
+ error_code: undefined,
281
+ };
282
+ }
283
+ exports.createLamfLoanResponse = {
284
+ encode(message, writer = minimal_1.default.Writer.create()) {
285
+ if (message.gateway_fees !== 0) {
286
+ writer.uint32(8).int32(message.gateway_fees);
287
+ }
288
+ if (message.striked_gateway_fees !== 0) {
289
+ writer.uint32(16).int32(message.striked_gateway_fees);
290
+ }
291
+ if (message.bill_date !== "") {
292
+ writer.uint32(26).string(message.bill_date);
293
+ }
294
+ if (message.requested_amount !== 0) {
295
+ writer.uint32(32).int32(message.requested_amount);
296
+ }
297
+ if (message.tenure !== 0) {
298
+ writer.uint32(40).int32(message.tenure);
299
+ }
300
+ if (message.emi_amount !== 0) {
301
+ writer.uint32(48).int32(message.emi_amount);
302
+ }
303
+ if (message.net_amount_payable !== 0) {
304
+ writer.uint32(56).int32(message.net_amount_payable);
305
+ }
306
+ if (message.first_emi_date !== "") {
307
+ writer.uint32(66).string(message.first_emi_date);
308
+ }
309
+ if (message.final_disbursal_amount !== 0) {
310
+ writer.uint32(72).int32(message.final_disbursal_amount);
311
+ }
312
+ if (message.upfront_interest !== 0) {
313
+ writer.uint32(80).int32(message.upfront_interest);
314
+ }
315
+ if (message.rate_of_interest !== 0) {
316
+ writer.uint32(93).float(message.rate_of_interest);
317
+ }
318
+ if (message.bill_amount !== 0) {
319
+ writer.uint32(96).int32(message.bill_amount);
320
+ }
321
+ if (message.total_interest_pay !== 0) {
322
+ writer.uint32(104).int32(message.total_interest_pay);
323
+ }
324
+ if (message.effective_annual_rate !== 0) {
325
+ writer.uint32(112).int32(message.effective_annual_rate);
326
+ }
327
+ if (message.transaction_fee_bill_amount !== 0) {
328
+ writer.uint32(120).int32(message.transaction_fee_bill_amount);
329
+ }
330
+ if (message.processing_fee_plus_gst !== 0) {
331
+ writer.uint32(128).int32(message.processing_fee_plus_gst);
332
+ }
333
+ if (message.trans_fee_plus_gst !== 0) {
334
+ writer.uint32(136).int32(message.trans_fee_plus_gst);
335
+ }
336
+ if (message.fee_and_charges !== 0) {
337
+ writer.uint32(144).int32(message.fee_and_charges);
338
+ }
339
+ if (message.fee_and_charges_bill !== 0) {
340
+ writer.uint32(152).int32(message.fee_and_charges_bill);
341
+ }
342
+ if (message.effective_roi !== 0) {
343
+ writer.uint32(160).int32(message.effective_roi);
344
+ }
345
+ if (message.effective_annual_roi !== 0) {
346
+ writer.uint32(168).int32(message.effective_annual_roi);
347
+ }
348
+ if (message.emi_card_description !== "") {
349
+ writer.uint32(178).string(message.emi_card_description);
350
+ }
351
+ if (message.bill_card_description !== "") {
352
+ writer.uint32(186).string(message.bill_card_description);
353
+ }
354
+ if (message.apr_value !== 0) {
355
+ writer.uint32(197).float(message.apr_value);
356
+ }
357
+ if (message.apr_type !== "") {
358
+ writer.uint32(202).string(message.apr_type);
359
+ }
360
+ if (message.max_amount !== 0) {
361
+ writer.uint32(213).float(message.max_amount);
362
+ }
363
+ if (message.credit_report_fees !== 0) {
364
+ writer.uint32(216).int32(message.credit_report_fees);
365
+ }
366
+ if (message.credit_report_actual_fees !== 0) {
367
+ writer.uint32(224).int32(message.credit_report_actual_fees);
368
+ }
369
+ if (message.plan_id !== 0) {
370
+ writer.uint32(232).int32(message.plan_id);
371
+ }
372
+ if (message.approved_amount !== 0) {
373
+ writer.uint32(240).int32(message.approved_amount);
374
+ }
375
+ if (message.discount !== 0) {
376
+ writer.uint32(248).int32(message.discount);
377
+ }
378
+ if (message.error_code !== undefined) {
379
+ writer.uint32(258).string(message.error_code);
380
+ }
381
+ return writer;
382
+ },
383
+ decode(input, length) {
384
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
385
+ let end = length === undefined ? reader.len : reader.pos + length;
386
+ const message = createBasecreateLamfLoanResponse();
387
+ while (reader.pos < end) {
388
+ const tag = reader.uint32();
389
+ switch (tag >>> 3) {
390
+ case 1:
391
+ if (tag !== 8) {
392
+ break;
393
+ }
394
+ message.gateway_fees = reader.int32();
395
+ continue;
396
+ case 2:
397
+ if (tag !== 16) {
398
+ break;
399
+ }
400
+ message.striked_gateway_fees = reader.int32();
401
+ continue;
402
+ case 3:
403
+ if (tag !== 26) {
404
+ break;
405
+ }
406
+ message.bill_date = reader.string();
407
+ continue;
408
+ case 4:
409
+ if (tag !== 32) {
410
+ break;
411
+ }
412
+ message.requested_amount = reader.int32();
413
+ continue;
414
+ case 5:
415
+ if (tag !== 40) {
416
+ break;
417
+ }
418
+ message.tenure = reader.int32();
419
+ continue;
420
+ case 6:
421
+ if (tag !== 48) {
422
+ break;
423
+ }
424
+ message.emi_amount = reader.int32();
425
+ continue;
426
+ case 7:
427
+ if (tag !== 56) {
428
+ break;
429
+ }
430
+ message.net_amount_payable = reader.int32();
431
+ continue;
432
+ case 8:
433
+ if (tag !== 66) {
434
+ break;
435
+ }
436
+ message.first_emi_date = reader.string();
437
+ continue;
438
+ case 9:
439
+ if (tag !== 72) {
440
+ break;
441
+ }
442
+ message.final_disbursal_amount = reader.int32();
443
+ continue;
444
+ case 10:
445
+ if (tag !== 80) {
446
+ break;
447
+ }
448
+ message.upfront_interest = reader.int32();
449
+ continue;
450
+ case 11:
451
+ if (tag !== 93) {
452
+ break;
453
+ }
454
+ message.rate_of_interest = reader.float();
455
+ continue;
456
+ case 12:
457
+ if (tag !== 96) {
458
+ break;
459
+ }
460
+ message.bill_amount = reader.int32();
461
+ continue;
462
+ case 13:
463
+ if (tag !== 104) {
464
+ break;
465
+ }
466
+ message.total_interest_pay = reader.int32();
467
+ continue;
468
+ case 14:
469
+ if (tag !== 112) {
470
+ break;
471
+ }
472
+ message.effective_annual_rate = reader.int32();
473
+ continue;
474
+ case 15:
475
+ if (tag !== 120) {
476
+ break;
477
+ }
478
+ message.transaction_fee_bill_amount = reader.int32();
479
+ continue;
480
+ case 16:
481
+ if (tag !== 128) {
482
+ break;
483
+ }
484
+ message.processing_fee_plus_gst = reader.int32();
485
+ continue;
486
+ case 17:
487
+ if (tag !== 136) {
488
+ break;
489
+ }
490
+ message.trans_fee_plus_gst = reader.int32();
491
+ continue;
492
+ case 18:
493
+ if (tag !== 144) {
494
+ break;
495
+ }
496
+ message.fee_and_charges = reader.int32();
497
+ continue;
498
+ case 19:
499
+ if (tag !== 152) {
500
+ break;
501
+ }
502
+ message.fee_and_charges_bill = reader.int32();
503
+ continue;
504
+ case 20:
505
+ if (tag !== 160) {
506
+ break;
507
+ }
508
+ message.effective_roi = reader.int32();
509
+ continue;
510
+ case 21:
511
+ if (tag !== 168) {
512
+ break;
513
+ }
514
+ message.effective_annual_roi = reader.int32();
515
+ continue;
516
+ case 22:
517
+ if (tag !== 178) {
518
+ break;
519
+ }
520
+ message.emi_card_description = reader.string();
521
+ continue;
522
+ case 23:
523
+ if (tag !== 186) {
524
+ break;
525
+ }
526
+ message.bill_card_description = reader.string();
527
+ continue;
528
+ case 24:
529
+ if (tag !== 197) {
530
+ break;
531
+ }
532
+ message.apr_value = reader.float();
533
+ continue;
534
+ case 25:
535
+ if (tag !== 202) {
536
+ break;
537
+ }
538
+ message.apr_type = reader.string();
539
+ continue;
540
+ case 26:
541
+ if (tag !== 213) {
542
+ break;
543
+ }
544
+ message.max_amount = reader.float();
545
+ continue;
546
+ case 27:
547
+ if (tag !== 216) {
548
+ break;
549
+ }
550
+ message.credit_report_fees = reader.int32();
551
+ continue;
552
+ case 28:
553
+ if (tag !== 224) {
554
+ break;
555
+ }
556
+ message.credit_report_actual_fees = reader.int32();
557
+ continue;
558
+ case 29:
559
+ if (tag !== 232) {
560
+ break;
561
+ }
562
+ message.plan_id = reader.int32();
563
+ continue;
564
+ case 30:
565
+ if (tag !== 240) {
566
+ break;
567
+ }
568
+ message.approved_amount = reader.int32();
569
+ continue;
570
+ case 31:
571
+ if (tag !== 248) {
572
+ break;
573
+ }
574
+ message.discount = reader.int32();
575
+ continue;
576
+ case 32:
577
+ if (tag !== 258) {
578
+ break;
579
+ }
580
+ message.error_code = reader.string();
581
+ continue;
582
+ }
583
+ if ((tag & 7) === 4 || tag === 0) {
584
+ break;
585
+ }
586
+ reader.skipType(tag & 7);
587
+ }
588
+ return message;
589
+ },
590
+ fromJSON(object) {
591
+ return {
592
+ gateway_fees: isSet(object.gateway_fees) ? globalThis.Number(object.gateway_fees) : 0,
593
+ striked_gateway_fees: isSet(object.striked_gateway_fees) ? globalThis.Number(object.striked_gateway_fees) : 0,
594
+ bill_date: isSet(object.bill_date) ? globalThis.String(object.bill_date) : "",
595
+ requested_amount: isSet(object.requested_amount) ? globalThis.Number(object.requested_amount) : 0,
596
+ tenure: isSet(object.tenure) ? globalThis.Number(object.tenure) : 0,
597
+ emi_amount: isSet(object.emi_amount) ? globalThis.Number(object.emi_amount) : 0,
598
+ net_amount_payable: isSet(object.net_amount_payable) ? globalThis.Number(object.net_amount_payable) : 0,
599
+ first_emi_date: isSet(object.first_emi_date) ? globalThis.String(object.first_emi_date) : "",
600
+ final_disbursal_amount: isSet(object.final_disbursal_amount)
601
+ ? globalThis.Number(object.final_disbursal_amount)
602
+ : 0,
603
+ upfront_interest: isSet(object.upfront_interest) ? globalThis.Number(object.upfront_interest) : 0,
604
+ rate_of_interest: isSet(object.rate_of_interest) ? globalThis.Number(object.rate_of_interest) : 0,
605
+ bill_amount: isSet(object.bill_amount) ? globalThis.Number(object.bill_amount) : 0,
606
+ total_interest_pay: isSet(object.total_interest_pay) ? globalThis.Number(object.total_interest_pay) : 0,
607
+ effective_annual_rate: isSet(object.effective_annual_rate) ? globalThis.Number(object.effective_annual_rate) : 0,
608
+ transaction_fee_bill_amount: isSet(object.transaction_fee_bill_amount)
609
+ ? globalThis.Number(object.transaction_fee_bill_amount)
610
+ : 0,
611
+ processing_fee_plus_gst: isSet(object.processing_fee_plus_gst)
612
+ ? globalThis.Number(object.processing_fee_plus_gst)
613
+ : 0,
614
+ trans_fee_plus_gst: isSet(object.trans_fee_plus_gst) ? globalThis.Number(object.trans_fee_plus_gst) : 0,
615
+ fee_and_charges: isSet(object.fee_and_charges) ? globalThis.Number(object.fee_and_charges) : 0,
616
+ fee_and_charges_bill: isSet(object.fee_and_charges_bill) ? globalThis.Number(object.fee_and_charges_bill) : 0,
617
+ effective_roi: isSet(object.effective_roi) ? globalThis.Number(object.effective_roi) : 0,
618
+ effective_annual_roi: isSet(object.effective_annual_roi) ? globalThis.Number(object.effective_annual_roi) : 0,
619
+ emi_card_description: isSet(object.emi_card_description) ? globalThis.String(object.emi_card_description) : "",
620
+ bill_card_description: isSet(object.bill_card_description) ? globalThis.String(object.bill_card_description) : "",
621
+ apr_value: isSet(object.apr_value) ? globalThis.Number(object.apr_value) : 0,
622
+ apr_type: isSet(object.apr_type) ? globalThis.String(object.apr_type) : "",
623
+ max_amount: isSet(object.max_amount) ? globalThis.Number(object.max_amount) : 0,
624
+ credit_report_fees: isSet(object.credit_report_fees) ? globalThis.Number(object.credit_report_fees) : 0,
625
+ credit_report_actual_fees: isSet(object.credit_report_actual_fees)
626
+ ? globalThis.Number(object.credit_report_actual_fees)
627
+ : 0,
628
+ plan_id: isSet(object.plan_id) ? globalThis.Number(object.plan_id) : 0,
629
+ approved_amount: isSet(object.approved_amount) ? globalThis.Number(object.approved_amount) : 0,
630
+ discount: isSet(object.discount) ? globalThis.Number(object.discount) : 0,
631
+ error_code: isSet(object.error_code) ? globalThis.String(object.error_code) : undefined,
632
+ };
633
+ },
634
+ toJSON(message) {
635
+ const obj = {};
636
+ if (message.gateway_fees !== 0) {
637
+ obj.gateway_fees = Math.round(message.gateway_fees);
638
+ }
639
+ if (message.striked_gateway_fees !== 0) {
640
+ obj.striked_gateway_fees = Math.round(message.striked_gateway_fees);
641
+ }
642
+ if (message.bill_date !== "") {
643
+ obj.bill_date = message.bill_date;
644
+ }
645
+ if (message.requested_amount !== 0) {
646
+ obj.requested_amount = Math.round(message.requested_amount);
647
+ }
648
+ if (message.tenure !== 0) {
649
+ obj.tenure = Math.round(message.tenure);
650
+ }
651
+ if (message.emi_amount !== 0) {
652
+ obj.emi_amount = Math.round(message.emi_amount);
653
+ }
654
+ if (message.net_amount_payable !== 0) {
655
+ obj.net_amount_payable = Math.round(message.net_amount_payable);
656
+ }
657
+ if (message.first_emi_date !== "") {
658
+ obj.first_emi_date = message.first_emi_date;
659
+ }
660
+ if (message.final_disbursal_amount !== 0) {
661
+ obj.final_disbursal_amount = Math.round(message.final_disbursal_amount);
662
+ }
663
+ if (message.upfront_interest !== 0) {
664
+ obj.upfront_interest = Math.round(message.upfront_interest);
665
+ }
666
+ if (message.rate_of_interest !== 0) {
667
+ obj.rate_of_interest = message.rate_of_interest;
668
+ }
669
+ if (message.bill_amount !== 0) {
670
+ obj.bill_amount = Math.round(message.bill_amount);
671
+ }
672
+ if (message.total_interest_pay !== 0) {
673
+ obj.total_interest_pay = Math.round(message.total_interest_pay);
674
+ }
675
+ if (message.effective_annual_rate !== 0) {
676
+ obj.effective_annual_rate = Math.round(message.effective_annual_rate);
677
+ }
678
+ if (message.transaction_fee_bill_amount !== 0) {
679
+ obj.transaction_fee_bill_amount = Math.round(message.transaction_fee_bill_amount);
680
+ }
681
+ if (message.processing_fee_plus_gst !== 0) {
682
+ obj.processing_fee_plus_gst = Math.round(message.processing_fee_plus_gst);
683
+ }
684
+ if (message.trans_fee_plus_gst !== 0) {
685
+ obj.trans_fee_plus_gst = Math.round(message.trans_fee_plus_gst);
686
+ }
687
+ if (message.fee_and_charges !== 0) {
688
+ obj.fee_and_charges = Math.round(message.fee_and_charges);
689
+ }
690
+ if (message.fee_and_charges_bill !== 0) {
691
+ obj.fee_and_charges_bill = Math.round(message.fee_and_charges_bill);
692
+ }
693
+ if (message.effective_roi !== 0) {
694
+ obj.effective_roi = Math.round(message.effective_roi);
695
+ }
696
+ if (message.effective_annual_roi !== 0) {
697
+ obj.effective_annual_roi = Math.round(message.effective_annual_roi);
698
+ }
699
+ if (message.emi_card_description !== "") {
700
+ obj.emi_card_description = message.emi_card_description;
701
+ }
702
+ if (message.bill_card_description !== "") {
703
+ obj.bill_card_description = message.bill_card_description;
704
+ }
705
+ if (message.apr_value !== 0) {
706
+ obj.apr_value = message.apr_value;
707
+ }
708
+ if (message.apr_type !== "") {
709
+ obj.apr_type = message.apr_type;
710
+ }
711
+ if (message.max_amount !== 0) {
712
+ obj.max_amount = message.max_amount;
713
+ }
714
+ if (message.credit_report_fees !== 0) {
715
+ obj.credit_report_fees = Math.round(message.credit_report_fees);
716
+ }
717
+ if (message.credit_report_actual_fees !== 0) {
718
+ obj.credit_report_actual_fees = Math.round(message.credit_report_actual_fees);
719
+ }
720
+ if (message.plan_id !== 0) {
721
+ obj.plan_id = Math.round(message.plan_id);
722
+ }
723
+ if (message.approved_amount !== 0) {
724
+ obj.approved_amount = Math.round(message.approved_amount);
725
+ }
726
+ if (message.discount !== 0) {
727
+ obj.discount = Math.round(message.discount);
728
+ }
729
+ if (message.error_code !== undefined) {
730
+ obj.error_code = message.error_code;
731
+ }
732
+ return obj;
733
+ },
734
+ create(base) {
735
+ return exports.createLamfLoanResponse.fromPartial(base ?? {});
736
+ },
737
+ fromPartial(object) {
738
+ const message = createBasecreateLamfLoanResponse();
739
+ message.gateway_fees = object.gateway_fees ?? 0;
740
+ message.striked_gateway_fees = object.striked_gateway_fees ?? 0;
741
+ message.bill_date = object.bill_date ?? "";
742
+ message.requested_amount = object.requested_amount ?? 0;
743
+ message.tenure = object.tenure ?? 0;
744
+ message.emi_amount = object.emi_amount ?? 0;
745
+ message.net_amount_payable = object.net_amount_payable ?? 0;
746
+ message.first_emi_date = object.first_emi_date ?? "";
747
+ message.final_disbursal_amount = object.final_disbursal_amount ?? 0;
748
+ message.upfront_interest = object.upfront_interest ?? 0;
749
+ message.rate_of_interest = object.rate_of_interest ?? 0;
750
+ message.bill_amount = object.bill_amount ?? 0;
751
+ message.total_interest_pay = object.total_interest_pay ?? 0;
752
+ message.effective_annual_rate = object.effective_annual_rate ?? 0;
753
+ message.transaction_fee_bill_amount = object.transaction_fee_bill_amount ?? 0;
754
+ message.processing_fee_plus_gst = object.processing_fee_plus_gst ?? 0;
755
+ message.trans_fee_plus_gst = object.trans_fee_plus_gst ?? 0;
756
+ message.fee_and_charges = object.fee_and_charges ?? 0;
757
+ message.fee_and_charges_bill = object.fee_and_charges_bill ?? 0;
758
+ message.effective_roi = object.effective_roi ?? 0;
759
+ message.effective_annual_roi = object.effective_annual_roi ?? 0;
760
+ message.emi_card_description = object.emi_card_description ?? "";
761
+ message.bill_card_description = object.bill_card_description ?? "";
762
+ message.apr_value = object.apr_value ?? 0;
763
+ message.apr_type = object.apr_type ?? "";
764
+ message.max_amount = object.max_amount ?? 0;
765
+ message.credit_report_fees = object.credit_report_fees ?? 0;
766
+ message.credit_report_actual_fees = object.credit_report_actual_fees ?? 0;
767
+ message.plan_id = object.plan_id ?? 0;
768
+ message.approved_amount = object.approved_amount ?? 0;
769
+ message.discount = object.discount ?? 0;
770
+ message.error_code = object.error_code ?? undefined;
771
+ return message;
772
+ },
773
+ };
774
+ function isSet(value) {
775
+ return value !== null && value !== undefined;
776
+ }