@stashfin/grpc 1.0.33 → 1.1.3

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 (490) 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/customers/deletedocument.js +117 -0
  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/disablempin.js +117 -0
  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/customers/restoreaccount.js +133 -0
  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.js +2 -2
  208. package/ts/customers/sendotptoemail.d.ts +35 -0
  209. package/ts/customers/{sendemailtoken.js → sendotptoemail.js} +23 -23
  210. package/ts/customers/setmpin.js +2 -2
  211. package/ts/customers/skipscreen.d.ts +44 -0
  212. package/ts/customers/skipscreen.js +162 -0
  213. package/ts/customers/submituploadeddocuments.d.ts +42 -0
  214. package/ts/customers/submituploadeddocuments.js +150 -0
  215. package/ts/customers/syncdecisionengine.d.ts +35 -0
  216. package/ts/customers/syncdecisionengine.js +117 -0
  217. package/ts/customers/updatecategory.d.ts +38 -0
  218. package/ts/customers/updatecategory.js +175 -0
  219. package/ts/customers/updatecongratulationstep.d.ts +34 -0
  220. package/ts/customers/updatecongratulationstep.js +104 -0
  221. package/ts/customers/updatecustomerbyid.d.ts +49 -0
  222. package/ts/customers/updatecustomerbyid.js +215 -0
  223. package/ts/customers/updatedlnumber.d.ts +35 -0
  224. package/ts/customers/updatedlnumber.js +119 -0
  225. package/ts/customers/updatedob.d.ts +35 -0
  226. package/ts/customers/{verifyemail.js → updatedob.js} +23 -23
  227. package/ts/customers/updatelocstatus.d.ts +36 -0
  228. package/ts/customers/updatelocstatus.js +133 -0
  229. package/ts/customers/updatemobilesendotp.d.ts +35 -0
  230. package/ts/customers/updatemobilesendotp.js +117 -0
  231. package/ts/customers/updatemobileverifyotp.d.ts +36 -0
  232. package/ts/customers/updatemobileverifyotp.js +133 -0
  233. package/ts/customers/updateokyctxn.d.ts +37 -0
  234. package/ts/customers/updateokyctxn.js +147 -0
  235. package/ts/customers/updatesanctionamount.d.ts +35 -0
  236. package/ts/customers/updatesanctionamount.js +117 -0
  237. package/ts/customers/updateselfieetxn.d.ts +36 -0
  238. package/ts/customers/updateselfieetxn.js +133 -0
  239. package/ts/customers/updatesyncstatus.d.ts +36 -0
  240. package/ts/customers/updatesyncstatus.js +133 -0
  241. package/ts/customers/updatevehiclenumber.d.ts +35 -0
  242. package/ts/customers/updatevehiclenumber.js +117 -0
  243. package/ts/customers/uploaddocuments.d.ts +37 -0
  244. package/ts/customers/uploaddocuments.js +147 -0
  245. package/ts/customers/validatepan.d.ts +46 -0
  246. package/ts/customers/validatepan.js +289 -0
  247. package/ts/customers/verifympin.js +2 -2
  248. package/ts/customers/verifyotp.d.ts +4 -0
  249. package/ts/customers/verifyotp.js +65 -9
  250. package/ts/customers/verifyotptoemail.d.ts +35 -0
  251. package/ts/customers/verifyotptoemail.js +117 -0
  252. package/ts/customers.d.ts +1520 -161
  253. package/ts/customers.js +1062 -91
  254. package/ts/decisionengine/decisionenginetrigger.d.ts +38 -0
  255. package/ts/decisionengine/decisionenginetrigger.js +163 -0
  256. package/ts/decisionengine/locdisbursalapproval.d.ts +40 -0
  257. package/ts/decisionengine/locdisbursalapproval.js +191 -0
  258. package/ts/decisionengine/saveconsent.d.ts +38 -0
  259. package/ts/decisionengine/saveconsent.js +163 -0
  260. package/ts/decisionengine.d.ts +56 -0
  261. package/ts/decisionengine.js +44 -0
  262. package/ts/documents/getagreement.d.ts +49 -0
  263. package/ts/documents/getagreement.js +213 -0
  264. package/ts/documents/getfinancialdoc.d.ts +87 -0
  265. package/ts/documents/getfinancialdoc.js +679 -0
  266. package/ts/documents.d.ts +42 -0
  267. package/ts/documents.js +34 -0
  268. package/ts/eqxcustomer.d.ts +126 -0
  269. package/ts/eqxcustomer.js +94 -0
  270. package/ts/eqxcustomers/getcustomerbyid.d.ts +43 -0
  271. package/ts/eqxcustomers/getcustomerbyid.js +243 -0
  272. package/ts/eqxcustomers/getdashboard.d.ts +103 -0
  273. package/ts/eqxcustomers/getdashboard.js +683 -0
  274. package/ts/eqxcustomers/getdashboardmaincard.d.ts +58 -0
  275. package/ts/eqxcustomers/getdashboardmaincard.js +354 -0
  276. package/ts/eqxcustomers/getnotifications.d.ts +92 -0
  277. package/ts/eqxcustomers/getnotifications.js +536 -0
  278. package/ts/eqxcustomers/sendotp.d.ts +38 -0
  279. package/ts/eqxcustomers/sendotp.js +163 -0
  280. package/ts/eqxcustomers/updatenotification.d.ts +36 -0
  281. package/ts/eqxcustomers/updatenotification.js +147 -0
  282. package/ts/eqxcustomers/updatepushid.d.ts +36 -0
  283. package/ts/eqxcustomers/updatepushid.js +133 -0
  284. package/ts/eqxcustomers/verifyotp.d.ts +44 -0
  285. package/ts/eqxcustomers/verifyotp.js +247 -0
  286. package/ts/example.d.ts +4 -4
  287. package/ts/example.js +2 -2
  288. package/ts/growth/checkplanstatus.d.ts +48 -0
  289. package/ts/growth/checkplanstatus.js +200 -0
  290. package/ts/growth/getattachplandetails.d.ts +53 -0
  291. package/ts/growth/getattachplandetails.js +270 -0
  292. package/ts/growth/getchrpaymentstatus.d.ts +49 -0
  293. package/ts/growth/getchrpaymentstatus.js +213 -0
  294. package/ts/growth/getchrplans.d.ts +112 -0
  295. package/ts/growth/getchrplans.js +717 -0
  296. package/ts/growth/getcredithealthreport.d.ts +98 -0
  297. package/ts/growth/getcredithealthreport.js +617 -0
  298. package/ts/growth/initiatepayment.d.ts +52 -0
  299. package/ts/growth/initiatepayment.js +259 -0
  300. package/ts/growth/notifychrpayment.d.ts +42 -0
  301. package/ts/growth/notifychrpayment.js +219 -0
  302. package/ts/growth.d.ts +112 -0
  303. package/ts/growth.js +84 -0
  304. package/ts/kyc/fetchuanemployment.d.ts +66 -0
  305. package/ts/kyc/fetchuanemployment.js +359 -0
  306. package/ts/kyc/fetchuannumber.d.ts +35 -0
  307. package/ts/kyc/fetchuannumber.js +119 -0
  308. package/ts/kyc.d.ts +28 -0
  309. package/ts/kyc.js +24 -0
  310. package/ts/lamf/getloandetails.d.ts +65 -0
  311. package/ts/lamf/getloandetails.js +351 -0
  312. package/ts/lamf/submitotp.d.ts +64 -0
  313. package/ts/lamf/submitotp.js +327 -0
  314. package/ts/lamf/validateuser.d.ts +70 -0
  315. package/ts/lamf/validateuser.js +428 -0
  316. package/ts/lamf.d.ts +56 -0
  317. package/ts/lamf.js +44 -0
  318. package/ts/loans/amortization.d.ts +57 -0
  319. package/ts/loans/amortization.js +340 -0
  320. package/ts/loans/approveloan.d.ts +87 -0
  321. package/ts/loans/approveloan.js +791 -0
  322. package/ts/loans/banklist.d.ts +37 -0
  323. package/ts/loans/banklist.js +148 -0
  324. package/ts/loans/calculateemi.d.ts +71 -0
  325. package/ts/loans/calculateemi.js +436 -0
  326. package/ts/loans/cbloan.d.ts +46 -0
  327. package/ts/loans/cbloan.js +287 -0
  328. package/ts/loans/createlamfloan.d.ts +86 -0
  329. package/ts/loans/createlamfloan.js +776 -0
  330. package/ts/loans/createpenalty.d.ts +42 -0
  331. package/ts/loans/createpenalty.js +219 -0
  332. package/ts/loans/creditlimit.d.ts +50 -0
  333. package/ts/loans/creditlimit.js +358 -0
  334. package/ts/loans/emimoredetails.d.ts +51 -0
  335. package/ts/loans/emimoredetails.js +243 -0
  336. package/ts/loans/fcppayment.d.ts +55 -0
  337. package/ts/loans/fcppayment.js +324 -0
  338. package/ts/loans/foreclosepayment.d.ts +55 -0
  339. package/ts/loans/foreclosepayment.js +324 -0
  340. package/ts/loans/getaddonslist.d.ts +49 -0
  341. package/ts/loans/getaddonslist.js +215 -0
  342. package/ts/loans/getbilldetails.d.ts +53 -0
  343. package/ts/loans/getbilldetails.js +282 -0
  344. package/ts/loans/getcbloandetails.d.ts +37 -0
  345. package/ts/loans/getcbloandetails.js +147 -0
  346. package/ts/loans/getchrdetails.d.ts +51 -0
  347. package/ts/loans/getchrdetails.js +242 -0
  348. package/ts/loans/getcustomerloanstatus.d.ts +34 -0
  349. package/ts/loans/getcustomerloanstatus.js +104 -0
  350. package/ts/loans/getforecloseamount.d.ts +51 -0
  351. package/ts/loans/getforecloseamount.js +254 -0
  352. package/ts/loans/getloanbyid.d.ts +80 -0
  353. package/ts/loans/getloanbyid.js +571 -0
  354. package/ts/loans/getnextdueamount.d.ts +71 -0
  355. package/ts/loans/getnextdueamount.js +454 -0
  356. package/ts/loans/getpaymentoptions.d.ts +51 -0
  357. package/ts/loans/getpaymentoptions.js +243 -0
  358. package/ts/loans/getpendingemiamount.d.ts +35 -0
  359. package/ts/loans/getpendingemiamount.js +117 -0
  360. package/ts/loans/getsetubilldetails.d.ts +68 -0
  361. package/ts/loans/getsetubilldetails.js +384 -0
  362. package/ts/loans/getsummarystaticfields.d.ts +108 -0
  363. package/ts/loans/getsummarystaticfields.js +898 -0
  364. package/ts/loans/gettransactionstatus.d.ts +35 -0
  365. package/ts/loans/gettransactionstatus.js +117 -0
  366. package/ts/loans/getusedlimit.d.ts +35 -0
  367. package/ts/loans/getusedlimit.js +117 -0
  368. package/ts/loans/getvirtualbankinfo.d.ts +37 -0
  369. package/ts/loans/getvirtualbankinfo.js +148 -0
  370. package/ts/loans/loansummary.d.ts +84 -0
  371. package/ts/loans/loansummary.js +750 -0
  372. package/ts/loans/manualpaymentallocation.d.ts +40 -0
  373. package/ts/loans/manualpaymentallocation.js +200 -0
  374. package/ts/loans/paymentallocation.d.ts +38 -0
  375. package/ts/loans/paymentallocation.js +161 -0
  376. package/ts/loans/paymenthistory.d.ts +47 -0
  377. package/ts/loans/paymenthistory.js +188 -0
  378. package/ts/loans/paynow.d.ts +56 -0
  379. package/ts/loans/paynow.js +344 -0
  380. package/ts/loans/refund.d.ts +38 -0
  381. package/ts/loans/refund.js +161 -0
  382. package/ts/loans/restructureloan.d.ts +36 -0
  383. package/ts/loans/restructureloan.js +142 -0
  384. package/ts/loans/rollback.d.ts +38 -0
  385. package/ts/loans/rollback.js +161 -0
  386. package/ts/loans/sendemail.d.ts +35 -0
  387. package/ts/loans/sendemail.js +117 -0
  388. package/ts/loans/sendnocemail.d.ts +35 -0
  389. package/ts/loans/sendnocemail.js +117 -0
  390. package/ts/loans/transactionlist.d.ts +54 -0
  391. package/ts/loans/transactionlist.js +295 -0
  392. package/ts/loans/updatecollectionview.d.ts +44 -0
  393. package/ts/loans/updatecollectionview.js +257 -0
  394. package/ts/loans/updateinstallments.d.ts +40 -0
  395. package/ts/loans/updateinstallments.js +189 -0
  396. package/ts/loans/updateloan.d.ts +37 -0
  397. package/ts/loans/updateloan.js +147 -0
  398. package/ts/loans/updatetransactionstatus.d.ts +42 -0
  399. package/ts/loans/updatetransactionstatus.js +219 -0
  400. package/ts/loans.d.ts +588 -0
  401. package/ts/loans.js +424 -0
  402. package/ts/payments/checkpaymentstatus.d.ts +51 -0
  403. package/ts/payments/checkpaymentstatus.js +259 -0
  404. package/ts/payments/fundtransfer.d.ts +65 -0
  405. package/ts/payments/fundtransfer.js +462 -0
  406. package/ts/payments/getpaymentoptions.d.ts +58 -0
  407. package/ts/payments/getpaymentoptions.js +341 -0
  408. package/ts/payments/initiatepayment.d.ts +53 -0
  409. package/ts/payments/initiatepayment.js +285 -0
  410. package/ts/payments/nachpresentation.d.ts +39 -0
  411. package/ts/payments/nachpresentation.js +191 -0
  412. package/ts/payments/nachregistration.d.ts +56 -0
  413. package/ts/payments/nachregistration.js +339 -0
  414. package/ts/payments.d.ts +98 -0
  415. package/ts/payments.js +74 -0
  416. package/ts/stashcash/creditsc.js +2 -2
  417. package/ts/stashcash/debitsc.d.ts +10 -7
  418. package/ts/stashcash/debitsc.js +87 -36
  419. package/ts/stashcash/getscbalance.d.ts +1 -0
  420. package/ts/stashcash/getscbalance.js +25 -3
  421. package/ts/stashcash/getschistory.js +2 -2
  422. package/ts/stashcash/reversesc.js +2 -2
  423. package/ts/stashcash.d.ts +10 -10
  424. package/ts/stashcash.js +2 -2
  425. package/ts/upi/addaccount.d.ts +50 -0
  426. package/ts/upi/addaccount.js +347 -0
  427. package/ts/upi/blockvpa.d.ts +40 -0
  428. package/ts/upi/blockvpa.js +191 -0
  429. package/ts/upi/checktransactionstatus.d.ts +59 -0
  430. package/ts/upi/checktransactionstatus.js +487 -0
  431. package/ts/upi/declinemandate.d.ts +37 -0
  432. package/ts/upi/declinemandate.js +149 -0
  433. package/ts/upi/deregisterprofile.d.ts +40 -0
  434. package/ts/upi/deregisterprofile.js +191 -0
  435. package/ts/upi/getaccountsbyprovider.d.ts +119 -0
  436. package/ts/upi/getaccountsbyprovider.js +829 -0
  437. package/ts/upi/getallmandates.d.ts +68 -0
  438. package/ts/upi/getallmandates.js +391 -0
  439. package/ts/upi/getavailablevpa.d.ts +40 -0
  440. package/ts/upi/getavailablevpa.js +191 -0
  441. package/ts/upi/getlistedaccountproviders.d.ts +75 -0
  442. package/ts/upi/getlistedaccountproviders.js +434 -0
  443. package/ts/upi/getmandatedetails.d.ts +139 -0
  444. package/ts/upi/getmandatedetails.js +1169 -0
  445. package/ts/upi/getmandatehistory.d.ts +65 -0
  446. package/ts/upi/getmandatehistory.js +337 -0
  447. package/ts/upi/getpendingcollectrequest.d.ts +76 -0
  448. package/ts/upi/getpendingcollectrequest.js +526 -0
  449. package/ts/upi/getprofile.d.ts +143 -0
  450. package/ts/upi/getprofile.js +1132 -0
  451. package/ts/upi/getrecentcontacts.d.ts +70 -0
  452. package/ts/upi/getrecentcontacts.js +374 -0
  453. package/ts/upi/gettransactions.d.ts +95 -0
  454. package/ts/upi/gettransactions.js +590 -0
  455. package/ts/upi/getupinumbers.d.ts +62 -0
  456. package/ts/upi/getupinumbers.js +296 -0
  457. package/ts/upi/initiatemandateaction.d.ts +50 -0
  458. package/ts/upi/initiatemandateaction.js +229 -0
  459. package/ts/upi/initiatetransaction.d.ts +57 -0
  460. package/ts/upi/initiatetransaction.js +454 -0
  461. package/ts/upi/listblockedvpa.d.ts +63 -0
  462. package/ts/upi/listblockedvpa.js +311 -0
  463. package/ts/upi/unblockvpa.d.ts +40 -0
  464. package/ts/upi/unblockvpa.js +191 -0
  465. package/ts/upi/updatedevicebinding.d.ts +40 -0
  466. package/ts/upi/updatedevicebinding.js +191 -0
  467. package/ts/upi/upinumberoperations.d.ts +55 -0
  468. package/ts/upi/upinumberoperations.js +299 -0
  469. package/ts/upi/validateifsc.d.ts +64 -0
  470. package/ts/upi/validateifsc.js +441 -0
  471. package/ts/upi/validatevpa.d.ts +60 -0
  472. package/ts/upi/validatevpa.js +381 -0
  473. package/ts/upi.d.ts +363 -0
  474. package/ts/upi.js +263 -0
  475. package/ts/customers/sendemailtoken.d.ts +0 -35
  476. package/ts/customers/step1.d.ts +0 -69
  477. package/ts/customers/step1.js +0 -395
  478. package/ts/customers/step10.d.ts +0 -73
  479. package/ts/customers/step10.js +0 -459
  480. package/ts/customers/step2.d.ts +0 -68
  481. package/ts/customers/step2.js +0 -381
  482. package/ts/customers/step7.d.ts +0 -68
  483. package/ts/customers/step7.js +0 -381
  484. package/ts/customers/step8.d.ts +0 -69
  485. package/ts/customers/step8.js +0 -395
  486. package/ts/customers/step9.d.ts +0 -75
  487. package/ts/customers/step9.js +0 -489
  488. package/ts/customers/stepstatic.d.ts +0 -66
  489. package/ts/customers/stepstatic.js +0 -354
  490. package/ts/customers/verifyemail.d.ts +0 -35
@@ -0,0 +1,517 @@
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: bureau/getobligation.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.AccountList = exports.Bureau = exports.Data = exports.obligationResponse = exports.obligationRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const long_1 = __importDefault(require("long"));
14
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
15
+ exports.protobufPackage = "bureau.getobligation";
16
+ function createBaseobligationRequest() {
17
+ return { customer_id: 0 };
18
+ }
19
+ exports.obligationRequest = {
20
+ encode(message, writer = minimal_1.default.Writer.create()) {
21
+ if (message.customer_id !== 0) {
22
+ writer.uint32(8).int64(message.customer_id);
23
+ }
24
+ return writer;
25
+ },
26
+ decode(input, length) {
27
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
28
+ let end = length === undefined ? reader.len : reader.pos + length;
29
+ const message = createBaseobligationRequest();
30
+ while (reader.pos < end) {
31
+ const tag = reader.uint32();
32
+ switch (tag >>> 3) {
33
+ case 1:
34
+ if (tag !== 8) {
35
+ break;
36
+ }
37
+ message.customer_id = longToNumber(reader.int64());
38
+ continue;
39
+ }
40
+ if ((tag & 7) === 4 || tag === 0) {
41
+ break;
42
+ }
43
+ reader.skipType(tag & 7);
44
+ }
45
+ return message;
46
+ },
47
+ fromJSON(object) {
48
+ return { customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0 };
49
+ },
50
+ toJSON(message) {
51
+ const obj = {};
52
+ if (message.customer_id !== 0) {
53
+ obj.customer_id = Math.round(message.customer_id);
54
+ }
55
+ return obj;
56
+ },
57
+ create(base) {
58
+ return exports.obligationRequest.fromPartial(base ?? {});
59
+ },
60
+ fromPartial(object) {
61
+ const message = createBaseobligationRequest();
62
+ message.customer_id = object.customer_id ?? 0;
63
+ return message;
64
+ },
65
+ };
66
+ function createBaseobligationResponse() {
67
+ return { status: "", data: undefined };
68
+ }
69
+ exports.obligationResponse = {
70
+ encode(message, writer = minimal_1.default.Writer.create()) {
71
+ if (message.status !== "") {
72
+ writer.uint32(10).string(message.status);
73
+ }
74
+ if (message.data !== undefined) {
75
+ exports.Data.encode(message.data, writer.uint32(18).fork()).ldelim();
76
+ }
77
+ return writer;
78
+ },
79
+ decode(input, length) {
80
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
81
+ let end = length === undefined ? reader.len : reader.pos + length;
82
+ const message = createBaseobligationResponse();
83
+ while (reader.pos < end) {
84
+ const tag = reader.uint32();
85
+ switch (tag >>> 3) {
86
+ case 1:
87
+ if (tag !== 10) {
88
+ break;
89
+ }
90
+ message.status = reader.string();
91
+ continue;
92
+ case 2:
93
+ if (tag !== 18) {
94
+ break;
95
+ }
96
+ message.data = exports.Data.decode(reader, reader.uint32());
97
+ continue;
98
+ }
99
+ if ((tag & 7) === 4 || tag === 0) {
100
+ break;
101
+ }
102
+ reader.skipType(tag & 7);
103
+ }
104
+ return message;
105
+ },
106
+ fromJSON(object) {
107
+ return {
108
+ status: isSet(object.status) ? globalThis.String(object.status) : "",
109
+ data: isSet(object.data) ? exports.Data.fromJSON(object.data) : undefined,
110
+ };
111
+ },
112
+ toJSON(message) {
113
+ const obj = {};
114
+ if (message.status !== "") {
115
+ obj.status = message.status;
116
+ }
117
+ if (message.data !== undefined) {
118
+ obj.data = exports.Data.toJSON(message.data);
119
+ }
120
+ return obj;
121
+ },
122
+ create(base) {
123
+ return exports.obligationResponse.fromPartial(base ?? {});
124
+ },
125
+ fromPartial(object) {
126
+ const message = createBaseobligationResponse();
127
+ message.status = object.status ?? "";
128
+ message.data = (object.data !== undefined && object.data !== null) ? exports.Data.fromPartial(object.data) : undefined;
129
+ return message;
130
+ },
131
+ };
132
+ function createBaseData() {
133
+ return {
134
+ max_allowed_dbr: 0,
135
+ active_loans_obligation: 0,
136
+ monthly_obligations: 0,
137
+ bureau_month_obligations: 0,
138
+ max_obligation: 0,
139
+ salary: 0,
140
+ max_emi: 0,
141
+ bureau: undefined,
142
+ bureau_obligation_rows: [],
143
+ };
144
+ }
145
+ exports.Data = {
146
+ encode(message, writer = minimal_1.default.Writer.create()) {
147
+ if (message.max_allowed_dbr !== 0) {
148
+ writer.uint32(8).int32(message.max_allowed_dbr);
149
+ }
150
+ if (message.active_loans_obligation !== 0) {
151
+ writer.uint32(16).int32(message.active_loans_obligation);
152
+ }
153
+ if (message.monthly_obligations !== 0) {
154
+ writer.uint32(24).int32(message.monthly_obligations);
155
+ }
156
+ if (message.bureau_month_obligations !== 0) {
157
+ writer.uint32(32).int32(message.bureau_month_obligations);
158
+ }
159
+ if (message.max_obligation !== 0) {
160
+ writer.uint32(40).int32(message.max_obligation);
161
+ }
162
+ if (message.salary !== 0) {
163
+ writer.uint32(48).int32(message.salary);
164
+ }
165
+ if (message.max_emi !== 0) {
166
+ writer.uint32(56).int32(message.max_emi);
167
+ }
168
+ if (message.bureau !== undefined) {
169
+ exports.Bureau.encode(message.bureau, writer.uint32(66).fork()).ldelim();
170
+ }
171
+ for (const v of message.bureau_obligation_rows) {
172
+ exports.AccountList.encode(v, writer.uint32(74).fork()).ldelim();
173
+ }
174
+ return writer;
175
+ },
176
+ decode(input, length) {
177
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
178
+ let end = length === undefined ? reader.len : reader.pos + length;
179
+ const message = createBaseData();
180
+ while (reader.pos < end) {
181
+ const tag = reader.uint32();
182
+ switch (tag >>> 3) {
183
+ case 1:
184
+ if (tag !== 8) {
185
+ break;
186
+ }
187
+ message.max_allowed_dbr = reader.int32();
188
+ continue;
189
+ case 2:
190
+ if (tag !== 16) {
191
+ break;
192
+ }
193
+ message.active_loans_obligation = reader.int32();
194
+ continue;
195
+ case 3:
196
+ if (tag !== 24) {
197
+ break;
198
+ }
199
+ message.monthly_obligations = reader.int32();
200
+ continue;
201
+ case 4:
202
+ if (tag !== 32) {
203
+ break;
204
+ }
205
+ message.bureau_month_obligations = reader.int32();
206
+ continue;
207
+ case 5:
208
+ if (tag !== 40) {
209
+ break;
210
+ }
211
+ message.max_obligation = reader.int32();
212
+ continue;
213
+ case 6:
214
+ if (tag !== 48) {
215
+ break;
216
+ }
217
+ message.salary = reader.int32();
218
+ continue;
219
+ case 7:
220
+ if (tag !== 56) {
221
+ break;
222
+ }
223
+ message.max_emi = reader.int32();
224
+ continue;
225
+ case 8:
226
+ if (tag !== 66) {
227
+ break;
228
+ }
229
+ message.bureau = exports.Bureau.decode(reader, reader.uint32());
230
+ continue;
231
+ case 9:
232
+ if (tag !== 74) {
233
+ break;
234
+ }
235
+ message.bureau_obligation_rows.push(exports.AccountList.decode(reader, reader.uint32()));
236
+ continue;
237
+ }
238
+ if ((tag & 7) === 4 || tag === 0) {
239
+ break;
240
+ }
241
+ reader.skipType(tag & 7);
242
+ }
243
+ return message;
244
+ },
245
+ fromJSON(object) {
246
+ return {
247
+ max_allowed_dbr: isSet(object.max_allowed_dbr) ? globalThis.Number(object.max_allowed_dbr) : 0,
248
+ active_loans_obligation: isSet(object.active_loans_obligation)
249
+ ? globalThis.Number(object.active_loans_obligation)
250
+ : 0,
251
+ monthly_obligations: isSet(object.monthly_obligations) ? globalThis.Number(object.monthly_obligations) : 0,
252
+ bureau_month_obligations: isSet(object.bureau_month_obligations)
253
+ ? globalThis.Number(object.bureau_month_obligations)
254
+ : 0,
255
+ max_obligation: isSet(object.max_obligation) ? globalThis.Number(object.max_obligation) : 0,
256
+ salary: isSet(object.salary) ? globalThis.Number(object.salary) : 0,
257
+ max_emi: isSet(object.max_emi) ? globalThis.Number(object.max_emi) : 0,
258
+ bureau: isSet(object.bureau) ? exports.Bureau.fromJSON(object.bureau) : undefined,
259
+ bureau_obligation_rows: globalThis.Array.isArray(object?.bureau_obligation_rows)
260
+ ? object.bureau_obligation_rows.map((e) => exports.AccountList.fromJSON(e))
261
+ : [],
262
+ };
263
+ },
264
+ toJSON(message) {
265
+ const obj = {};
266
+ if (message.max_allowed_dbr !== 0) {
267
+ obj.max_allowed_dbr = Math.round(message.max_allowed_dbr);
268
+ }
269
+ if (message.active_loans_obligation !== 0) {
270
+ obj.active_loans_obligation = Math.round(message.active_loans_obligation);
271
+ }
272
+ if (message.monthly_obligations !== 0) {
273
+ obj.monthly_obligations = Math.round(message.monthly_obligations);
274
+ }
275
+ if (message.bureau_month_obligations !== 0) {
276
+ obj.bureau_month_obligations = Math.round(message.bureau_month_obligations);
277
+ }
278
+ if (message.max_obligation !== 0) {
279
+ obj.max_obligation = Math.round(message.max_obligation);
280
+ }
281
+ if (message.salary !== 0) {
282
+ obj.salary = Math.round(message.salary);
283
+ }
284
+ if (message.max_emi !== 0) {
285
+ obj.max_emi = Math.round(message.max_emi);
286
+ }
287
+ if (message.bureau !== undefined) {
288
+ obj.bureau = exports.Bureau.toJSON(message.bureau);
289
+ }
290
+ if (message.bureau_obligation_rows?.length) {
291
+ obj.bureau_obligation_rows = message.bureau_obligation_rows.map((e) => exports.AccountList.toJSON(e));
292
+ }
293
+ return obj;
294
+ },
295
+ create(base) {
296
+ return exports.Data.fromPartial(base ?? {});
297
+ },
298
+ fromPartial(object) {
299
+ const message = createBaseData();
300
+ message.max_allowed_dbr = object.max_allowed_dbr ?? 0;
301
+ message.active_loans_obligation = object.active_loans_obligation ?? 0;
302
+ message.monthly_obligations = object.monthly_obligations ?? 0;
303
+ message.bureau_month_obligations = object.bureau_month_obligations ?? 0;
304
+ message.max_obligation = object.max_obligation ?? 0;
305
+ message.salary = object.salary ?? 0;
306
+ message.max_emi = object.max_emi ?? 0;
307
+ message.bureau = (object.bureau !== undefined && object.bureau !== null)
308
+ ? exports.Bureau.fromPartial(object.bureau)
309
+ : undefined;
310
+ message.bureau_obligation_rows = object.bureau_obligation_rows?.map((e) => exports.AccountList.fromPartial(e)) || [];
311
+ return message;
312
+ },
313
+ };
314
+ function createBaseBureau() {
315
+ return { score: 0, pull_date: "" };
316
+ }
317
+ exports.Bureau = {
318
+ encode(message, writer = minimal_1.default.Writer.create()) {
319
+ if (message.score !== 0) {
320
+ writer.uint32(8).int32(message.score);
321
+ }
322
+ if (message.pull_date !== "") {
323
+ writer.uint32(18).string(message.pull_date);
324
+ }
325
+ return writer;
326
+ },
327
+ decode(input, length) {
328
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
329
+ let end = length === undefined ? reader.len : reader.pos + length;
330
+ const message = createBaseBureau();
331
+ while (reader.pos < end) {
332
+ const tag = reader.uint32();
333
+ switch (tag >>> 3) {
334
+ case 1:
335
+ if (tag !== 8) {
336
+ break;
337
+ }
338
+ message.score = reader.int32();
339
+ continue;
340
+ case 2:
341
+ if (tag !== 18) {
342
+ break;
343
+ }
344
+ message.pull_date = reader.string();
345
+ continue;
346
+ }
347
+ if ((tag & 7) === 4 || tag === 0) {
348
+ break;
349
+ }
350
+ reader.skipType(tag & 7);
351
+ }
352
+ return message;
353
+ },
354
+ fromJSON(object) {
355
+ return {
356
+ score: isSet(object.score) ? globalThis.Number(object.score) : 0,
357
+ pull_date: isSet(object.pull_date) ? globalThis.String(object.pull_date) : "",
358
+ };
359
+ },
360
+ toJSON(message) {
361
+ const obj = {};
362
+ if (message.score !== 0) {
363
+ obj.score = Math.round(message.score);
364
+ }
365
+ if (message.pull_date !== "") {
366
+ obj.pull_date = message.pull_date;
367
+ }
368
+ return obj;
369
+ },
370
+ create(base) {
371
+ return exports.Bureau.fromPartial(base ?? {});
372
+ },
373
+ fromPartial(object) {
374
+ const message = createBaseBureau();
375
+ message.score = object.score ?? 0;
376
+ message.pull_date = object.pull_date ?? "";
377
+ return message;
378
+ },
379
+ };
380
+ function createBaseAccountList() {
381
+ return { id: 0, account_type: 0, current_balance: 0, sanctioned_amount: 0, emi_amount: 0, obligation: 0 };
382
+ }
383
+ exports.AccountList = {
384
+ encode(message, writer = minimal_1.default.Writer.create()) {
385
+ if (message.id !== 0) {
386
+ writer.uint32(8).int64(message.id);
387
+ }
388
+ if (message.account_type !== 0) {
389
+ writer.uint32(16).int32(message.account_type);
390
+ }
391
+ if (message.current_balance !== 0) {
392
+ writer.uint32(24).int32(message.current_balance);
393
+ }
394
+ if (message.sanctioned_amount !== 0) {
395
+ writer.uint32(32).int32(message.sanctioned_amount);
396
+ }
397
+ if (message.emi_amount !== 0) {
398
+ writer.uint32(40).int32(message.emi_amount);
399
+ }
400
+ if (message.obligation !== 0) {
401
+ writer.uint32(48).int32(message.obligation);
402
+ }
403
+ return writer;
404
+ },
405
+ decode(input, length) {
406
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
407
+ let end = length === undefined ? reader.len : reader.pos + length;
408
+ const message = createBaseAccountList();
409
+ while (reader.pos < end) {
410
+ const tag = reader.uint32();
411
+ switch (tag >>> 3) {
412
+ case 1:
413
+ if (tag !== 8) {
414
+ break;
415
+ }
416
+ message.id = longToNumber(reader.int64());
417
+ continue;
418
+ case 2:
419
+ if (tag !== 16) {
420
+ break;
421
+ }
422
+ message.account_type = reader.int32();
423
+ continue;
424
+ case 3:
425
+ if (tag !== 24) {
426
+ break;
427
+ }
428
+ message.current_balance = reader.int32();
429
+ continue;
430
+ case 4:
431
+ if (tag !== 32) {
432
+ break;
433
+ }
434
+ message.sanctioned_amount = reader.int32();
435
+ continue;
436
+ case 5:
437
+ if (tag !== 40) {
438
+ break;
439
+ }
440
+ message.emi_amount = reader.int32();
441
+ continue;
442
+ case 6:
443
+ if (tag !== 48) {
444
+ break;
445
+ }
446
+ message.obligation = reader.int32();
447
+ continue;
448
+ }
449
+ if ((tag & 7) === 4 || tag === 0) {
450
+ break;
451
+ }
452
+ reader.skipType(tag & 7);
453
+ }
454
+ return message;
455
+ },
456
+ fromJSON(object) {
457
+ return {
458
+ id: isSet(object.id) ? globalThis.Number(object.id) : 0,
459
+ account_type: isSet(object.account_type) ? globalThis.Number(object.account_type) : 0,
460
+ current_balance: isSet(object.current_balance) ? globalThis.Number(object.current_balance) : 0,
461
+ sanctioned_amount: isSet(object.sanctioned_amount) ? globalThis.Number(object.sanctioned_amount) : 0,
462
+ emi_amount: isSet(object.emi_amount) ? globalThis.Number(object.emi_amount) : 0,
463
+ obligation: isSet(object.obligation) ? globalThis.Number(object.obligation) : 0,
464
+ };
465
+ },
466
+ toJSON(message) {
467
+ const obj = {};
468
+ if (message.id !== 0) {
469
+ obj.id = Math.round(message.id);
470
+ }
471
+ if (message.account_type !== 0) {
472
+ obj.account_type = Math.round(message.account_type);
473
+ }
474
+ if (message.current_balance !== 0) {
475
+ obj.current_balance = Math.round(message.current_balance);
476
+ }
477
+ if (message.sanctioned_amount !== 0) {
478
+ obj.sanctioned_amount = Math.round(message.sanctioned_amount);
479
+ }
480
+ if (message.emi_amount !== 0) {
481
+ obj.emi_amount = Math.round(message.emi_amount);
482
+ }
483
+ if (message.obligation !== 0) {
484
+ obj.obligation = Math.round(message.obligation);
485
+ }
486
+ return obj;
487
+ },
488
+ create(base) {
489
+ return exports.AccountList.fromPartial(base ?? {});
490
+ },
491
+ fromPartial(object) {
492
+ const message = createBaseAccountList();
493
+ message.id = object.id ?? 0;
494
+ message.account_type = object.account_type ?? 0;
495
+ message.current_balance = object.current_balance ?? 0;
496
+ message.sanctioned_amount = object.sanctioned_amount ?? 0;
497
+ message.emi_amount = object.emi_amount ?? 0;
498
+ message.obligation = object.obligation ?? 0;
499
+ return message;
500
+ },
501
+ };
502
+ function longToNumber(long) {
503
+ if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
504
+ throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
505
+ }
506
+ if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
507
+ throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
508
+ }
509
+ return long.toNumber();
510
+ }
511
+ if (minimal_1.default.util.Long !== long_1.default) {
512
+ minimal_1.default.util.Long = long_1.default;
513
+ minimal_1.default.configure();
514
+ }
515
+ function isSet(value) {
516
+ return value !== null && value !== undefined;
517
+ }
@@ -0,0 +1,188 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "bureau.getreport";
3
+ export interface bureauRequest {
4
+ customer_id: number;
5
+ range: number;
6
+ bureau_type: number;
7
+ source: string;
8
+ pull_type: number;
9
+ }
10
+ export interface bureauResponse {
11
+ status: string;
12
+ data?: Report | undefined;
13
+ }
14
+ export interface Report {
15
+ report_id: number;
16
+ score: number;
17
+ type: string;
18
+ tradelines: TradeLine[];
19
+ dpd?: DPD | undefined;
20
+ enquiries?: Enquiries | undefined;
21
+ dpd_char?: dpdChar | undefined;
22
+ report_path?: string | undefined;
23
+ dpd_counts?: DPDCounts | undefined;
24
+ enquiries_data: EnquiriesData[];
25
+ }
26
+ export interface TradeLine {
27
+ id: number;
28
+ account_type: string;
29
+ current_balance: number;
30
+ date_closed?: string | undefined;
31
+ last_payment_date?: string | undefined;
32
+ disbursed_date?: string | undefined;
33
+ date_reported?: string | undefined;
34
+ sanctioned_amount?: number | undefined;
35
+ ownership_indicator?: string | undefined;
36
+ suit_filed: string;
37
+ overdue_amount?: number | undefined;
38
+ settled_status: string;
39
+ account_status?: string | undefined;
40
+ emi_amount?: number | undefined;
41
+ credit_limit?: number | undefined;
42
+ loan_type?: string | undefined;
43
+ written_off_amount?: number | undefined;
44
+ settlement_amount?: number | undefined;
45
+ }
46
+ export interface DPD {
47
+ month1: number;
48
+ month2: number;
49
+ month3: number;
50
+ month4: number;
51
+ month5: number;
52
+ month6: number;
53
+ month7: number;
54
+ month8: number;
55
+ month9: number;
56
+ month10: number;
57
+ month11: number;
58
+ month12: number;
59
+ month13: number;
60
+ month14: number;
61
+ month15: number;
62
+ month16: number;
63
+ month17: number;
64
+ month18: number;
65
+ month19: number;
66
+ month20: number;
67
+ month21: number;
68
+ month22: number;
69
+ month23: number;
70
+ month24: number;
71
+ }
72
+ export interface Enquiries {
73
+ month1: number;
74
+ month3: number;
75
+ month6: number;
76
+ month9: number;
77
+ month12: number;
78
+ month15: number;
79
+ month18: number;
80
+ month21: number;
81
+ month24: number;
82
+ }
83
+ export interface dpdChar {
84
+ month1: boolean;
85
+ month3: boolean;
86
+ month6: boolean;
87
+ month9: boolean;
88
+ month12: boolean;
89
+ month15: boolean;
90
+ month18: boolean;
91
+ month21: boolean;
92
+ month24: boolean;
93
+ }
94
+ export interface DPDCounts {
95
+ dpd1to30: number;
96
+ dpd36month: number;
97
+ dpd90_plus: number;
98
+ dpd31to90: number;
99
+ }
100
+ export interface EnquiriesData {
101
+ date_reported: string;
102
+ enquiry_purpose: number;
103
+ reporting_member: string;
104
+ loan_type?: string | undefined;
105
+ }
106
+ export declare const bureauRequest: {
107
+ encode(message: bureauRequest, writer?: _m0.Writer): _m0.Writer;
108
+ decode(input: _m0.Reader | Uint8Array, length?: number): bureauRequest;
109
+ fromJSON(object: any): bureauRequest;
110
+ toJSON(message: bureauRequest): unknown;
111
+ create<I extends Exact<DeepPartial<bureauRequest>, I>>(base?: I): bureauRequest;
112
+ fromPartial<I extends Exact<DeepPartial<bureauRequest>, I>>(object: I): bureauRequest;
113
+ };
114
+ export declare const bureauResponse: {
115
+ encode(message: bureauResponse, writer?: _m0.Writer): _m0.Writer;
116
+ decode(input: _m0.Reader | Uint8Array, length?: number): bureauResponse;
117
+ fromJSON(object: any): bureauResponse;
118
+ toJSON(message: bureauResponse): unknown;
119
+ create<I extends Exact<DeepPartial<bureauResponse>, I>>(base?: I): bureauResponse;
120
+ fromPartial<I extends Exact<DeepPartial<bureauResponse>, I>>(object: I): bureauResponse;
121
+ };
122
+ export declare const Report: {
123
+ encode(message: Report, writer?: _m0.Writer): _m0.Writer;
124
+ decode(input: _m0.Reader | Uint8Array, length?: number): Report;
125
+ fromJSON(object: any): Report;
126
+ toJSON(message: Report): unknown;
127
+ create<I extends Exact<DeepPartial<Report>, I>>(base?: I): Report;
128
+ fromPartial<I extends Exact<DeepPartial<Report>, I>>(object: I): Report;
129
+ };
130
+ export declare const TradeLine: {
131
+ encode(message: TradeLine, writer?: _m0.Writer): _m0.Writer;
132
+ decode(input: _m0.Reader | Uint8Array, length?: number): TradeLine;
133
+ fromJSON(object: any): TradeLine;
134
+ toJSON(message: TradeLine): unknown;
135
+ create<I extends Exact<DeepPartial<TradeLine>, I>>(base?: I): TradeLine;
136
+ fromPartial<I extends Exact<DeepPartial<TradeLine>, I>>(object: I): TradeLine;
137
+ };
138
+ export declare const DPD: {
139
+ encode(message: DPD, writer?: _m0.Writer): _m0.Writer;
140
+ decode(input: _m0.Reader | Uint8Array, length?: number): DPD;
141
+ fromJSON(object: any): DPD;
142
+ toJSON(message: DPD): unknown;
143
+ create<I extends Exact<DeepPartial<DPD>, I>>(base?: I): DPD;
144
+ fromPartial<I extends Exact<DeepPartial<DPD>, I>>(object: I): DPD;
145
+ };
146
+ export declare const Enquiries: {
147
+ encode(message: Enquiries, writer?: _m0.Writer): _m0.Writer;
148
+ decode(input: _m0.Reader | Uint8Array, length?: number): Enquiries;
149
+ fromJSON(object: any): Enquiries;
150
+ toJSON(message: Enquiries): unknown;
151
+ create<I extends Exact<DeepPartial<Enquiries>, I>>(base?: I): Enquiries;
152
+ fromPartial<I extends Exact<DeepPartial<Enquiries>, I>>(object: I): Enquiries;
153
+ };
154
+ export declare const dpdChar: {
155
+ encode(message: dpdChar, writer?: _m0.Writer): _m0.Writer;
156
+ decode(input: _m0.Reader | Uint8Array, length?: number): dpdChar;
157
+ fromJSON(object: any): dpdChar;
158
+ toJSON(message: dpdChar): unknown;
159
+ create<I extends Exact<DeepPartial<dpdChar>, I>>(base?: I): dpdChar;
160
+ fromPartial<I extends Exact<DeepPartial<dpdChar>, I>>(object: I): dpdChar;
161
+ };
162
+ export declare const DPDCounts: {
163
+ encode(message: DPDCounts, writer?: _m0.Writer): _m0.Writer;
164
+ decode(input: _m0.Reader | Uint8Array, length?: number): DPDCounts;
165
+ fromJSON(object: any): DPDCounts;
166
+ toJSON(message: DPDCounts): unknown;
167
+ create<I extends Exact<DeepPartial<DPDCounts>, I>>(base?: I): DPDCounts;
168
+ fromPartial<I extends Exact<DeepPartial<DPDCounts>, I>>(object: I): DPDCounts;
169
+ };
170
+ export declare const EnquiriesData: {
171
+ encode(message: EnquiriesData, writer?: _m0.Writer): _m0.Writer;
172
+ decode(input: _m0.Reader | Uint8Array, length?: number): EnquiriesData;
173
+ fromJSON(object: any): EnquiriesData;
174
+ toJSON(message: EnquiriesData): unknown;
175
+ create<I extends Exact<DeepPartial<EnquiriesData>, I>>(base?: I): EnquiriesData;
176
+ fromPartial<I extends Exact<DeepPartial<EnquiriesData>, I>>(object: I): EnquiriesData;
177
+ };
178
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
179
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
180
+ [K in keyof T]?: DeepPartial<T[K]>;
181
+ } : Partial<T>;
182
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
183
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
184
+ [K in keyof P]: Exact<P[K], I[K]>;
185
+ } & {
186
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
187
+ };
188
+ export {};