@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,1640 @@
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/getreport.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.EnquiriesData = exports.DPDCounts = exports.dpdChar = exports.Enquiries = exports.DPD = exports.TradeLine = exports.Report = exports.bureauResponse = exports.bureauRequest = 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.getreport";
16
+ function createBasebureauRequest() {
17
+ return { customer_id: 0, range: 0, bureau_type: 0, source: "", pull_type: 0 };
18
+ }
19
+ exports.bureauRequest = {
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
+ if (message.range !== 0) {
25
+ writer.uint32(16).int32(message.range);
26
+ }
27
+ if (message.bureau_type !== 0) {
28
+ writer.uint32(24).int32(message.bureau_type);
29
+ }
30
+ if (message.source !== "") {
31
+ writer.uint32(34).string(message.source);
32
+ }
33
+ if (message.pull_type !== 0) {
34
+ writer.uint32(40).int32(message.pull_type);
35
+ }
36
+ return writer;
37
+ },
38
+ decode(input, length) {
39
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
40
+ let end = length === undefined ? reader.len : reader.pos + length;
41
+ const message = createBasebureauRequest();
42
+ while (reader.pos < end) {
43
+ const tag = reader.uint32();
44
+ switch (tag >>> 3) {
45
+ case 1:
46
+ if (tag !== 8) {
47
+ break;
48
+ }
49
+ message.customer_id = longToNumber(reader.int64());
50
+ continue;
51
+ case 2:
52
+ if (tag !== 16) {
53
+ break;
54
+ }
55
+ message.range = reader.int32();
56
+ continue;
57
+ case 3:
58
+ if (tag !== 24) {
59
+ break;
60
+ }
61
+ message.bureau_type = reader.int32();
62
+ continue;
63
+ case 4:
64
+ if (tag !== 34) {
65
+ break;
66
+ }
67
+ message.source = reader.string();
68
+ continue;
69
+ case 5:
70
+ if (tag !== 40) {
71
+ break;
72
+ }
73
+ message.pull_type = reader.int32();
74
+ continue;
75
+ }
76
+ if ((tag & 7) === 4 || tag === 0) {
77
+ break;
78
+ }
79
+ reader.skipType(tag & 7);
80
+ }
81
+ return message;
82
+ },
83
+ fromJSON(object) {
84
+ return {
85
+ customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
86
+ range: isSet(object.range) ? globalThis.Number(object.range) : 0,
87
+ bureau_type: isSet(object.bureau_type) ? globalThis.Number(object.bureau_type) : 0,
88
+ source: isSet(object.source) ? globalThis.String(object.source) : "",
89
+ pull_type: isSet(object.pull_type) ? globalThis.Number(object.pull_type) : 0,
90
+ };
91
+ },
92
+ toJSON(message) {
93
+ const obj = {};
94
+ if (message.customer_id !== 0) {
95
+ obj.customer_id = Math.round(message.customer_id);
96
+ }
97
+ if (message.range !== 0) {
98
+ obj.range = Math.round(message.range);
99
+ }
100
+ if (message.bureau_type !== 0) {
101
+ obj.bureau_type = Math.round(message.bureau_type);
102
+ }
103
+ if (message.source !== "") {
104
+ obj.source = message.source;
105
+ }
106
+ if (message.pull_type !== 0) {
107
+ obj.pull_type = Math.round(message.pull_type);
108
+ }
109
+ return obj;
110
+ },
111
+ create(base) {
112
+ return exports.bureauRequest.fromPartial(base ?? {});
113
+ },
114
+ fromPartial(object) {
115
+ const message = createBasebureauRequest();
116
+ message.customer_id = object.customer_id ?? 0;
117
+ message.range = object.range ?? 0;
118
+ message.bureau_type = object.bureau_type ?? 0;
119
+ message.source = object.source ?? "";
120
+ message.pull_type = object.pull_type ?? 0;
121
+ return message;
122
+ },
123
+ };
124
+ function createBasebureauResponse() {
125
+ return { status: "", data: undefined };
126
+ }
127
+ exports.bureauResponse = {
128
+ encode(message, writer = minimal_1.default.Writer.create()) {
129
+ if (message.status !== "") {
130
+ writer.uint32(10).string(message.status);
131
+ }
132
+ if (message.data !== undefined) {
133
+ exports.Report.encode(message.data, writer.uint32(18).fork()).ldelim();
134
+ }
135
+ return writer;
136
+ },
137
+ decode(input, length) {
138
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
139
+ let end = length === undefined ? reader.len : reader.pos + length;
140
+ const message = createBasebureauResponse();
141
+ while (reader.pos < end) {
142
+ const tag = reader.uint32();
143
+ switch (tag >>> 3) {
144
+ case 1:
145
+ if (tag !== 10) {
146
+ break;
147
+ }
148
+ message.status = reader.string();
149
+ continue;
150
+ case 2:
151
+ if (tag !== 18) {
152
+ break;
153
+ }
154
+ message.data = exports.Report.decode(reader, reader.uint32());
155
+ continue;
156
+ }
157
+ if ((tag & 7) === 4 || tag === 0) {
158
+ break;
159
+ }
160
+ reader.skipType(tag & 7);
161
+ }
162
+ return message;
163
+ },
164
+ fromJSON(object) {
165
+ return {
166
+ status: isSet(object.status) ? globalThis.String(object.status) : "",
167
+ data: isSet(object.data) ? exports.Report.fromJSON(object.data) : undefined,
168
+ };
169
+ },
170
+ toJSON(message) {
171
+ const obj = {};
172
+ if (message.status !== "") {
173
+ obj.status = message.status;
174
+ }
175
+ if (message.data !== undefined) {
176
+ obj.data = exports.Report.toJSON(message.data);
177
+ }
178
+ return obj;
179
+ },
180
+ create(base) {
181
+ return exports.bureauResponse.fromPartial(base ?? {});
182
+ },
183
+ fromPartial(object) {
184
+ const message = createBasebureauResponse();
185
+ message.status = object.status ?? "";
186
+ message.data = (object.data !== undefined && object.data !== null) ? exports.Report.fromPartial(object.data) : undefined;
187
+ return message;
188
+ },
189
+ };
190
+ function createBaseReport() {
191
+ return {
192
+ report_id: 0,
193
+ score: 0,
194
+ type: "",
195
+ tradelines: [],
196
+ dpd: undefined,
197
+ enquiries: undefined,
198
+ dpd_char: undefined,
199
+ report_path: undefined,
200
+ dpd_counts: undefined,
201
+ enquiries_data: [],
202
+ };
203
+ }
204
+ exports.Report = {
205
+ encode(message, writer = minimal_1.default.Writer.create()) {
206
+ if (message.report_id !== 0) {
207
+ writer.uint32(8).int32(message.report_id);
208
+ }
209
+ if (message.score !== 0) {
210
+ writer.uint32(16).int32(message.score);
211
+ }
212
+ if (message.type !== "") {
213
+ writer.uint32(26).string(message.type);
214
+ }
215
+ for (const v of message.tradelines) {
216
+ exports.TradeLine.encode(v, writer.uint32(34).fork()).ldelim();
217
+ }
218
+ if (message.dpd !== undefined) {
219
+ exports.DPD.encode(message.dpd, writer.uint32(42).fork()).ldelim();
220
+ }
221
+ if (message.enquiries !== undefined) {
222
+ exports.Enquiries.encode(message.enquiries, writer.uint32(50).fork()).ldelim();
223
+ }
224
+ if (message.dpd_char !== undefined) {
225
+ exports.dpdChar.encode(message.dpd_char, writer.uint32(58).fork()).ldelim();
226
+ }
227
+ if (message.report_path !== undefined) {
228
+ writer.uint32(66).string(message.report_path);
229
+ }
230
+ if (message.dpd_counts !== undefined) {
231
+ exports.DPDCounts.encode(message.dpd_counts, writer.uint32(74).fork()).ldelim();
232
+ }
233
+ for (const v of message.enquiries_data) {
234
+ exports.EnquiriesData.encode(v, writer.uint32(82).fork()).ldelim();
235
+ }
236
+ return writer;
237
+ },
238
+ decode(input, length) {
239
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
240
+ let end = length === undefined ? reader.len : reader.pos + length;
241
+ const message = createBaseReport();
242
+ while (reader.pos < end) {
243
+ const tag = reader.uint32();
244
+ switch (tag >>> 3) {
245
+ case 1:
246
+ if (tag !== 8) {
247
+ break;
248
+ }
249
+ message.report_id = reader.int32();
250
+ continue;
251
+ case 2:
252
+ if (tag !== 16) {
253
+ break;
254
+ }
255
+ message.score = reader.int32();
256
+ continue;
257
+ case 3:
258
+ if (tag !== 26) {
259
+ break;
260
+ }
261
+ message.type = reader.string();
262
+ continue;
263
+ case 4:
264
+ if (tag !== 34) {
265
+ break;
266
+ }
267
+ message.tradelines.push(exports.TradeLine.decode(reader, reader.uint32()));
268
+ continue;
269
+ case 5:
270
+ if (tag !== 42) {
271
+ break;
272
+ }
273
+ message.dpd = exports.DPD.decode(reader, reader.uint32());
274
+ continue;
275
+ case 6:
276
+ if (tag !== 50) {
277
+ break;
278
+ }
279
+ message.enquiries = exports.Enquiries.decode(reader, reader.uint32());
280
+ continue;
281
+ case 7:
282
+ if (tag !== 58) {
283
+ break;
284
+ }
285
+ message.dpd_char = exports.dpdChar.decode(reader, reader.uint32());
286
+ continue;
287
+ case 8:
288
+ if (tag !== 66) {
289
+ break;
290
+ }
291
+ message.report_path = reader.string();
292
+ continue;
293
+ case 9:
294
+ if (tag !== 74) {
295
+ break;
296
+ }
297
+ message.dpd_counts = exports.DPDCounts.decode(reader, reader.uint32());
298
+ continue;
299
+ case 10:
300
+ if (tag !== 82) {
301
+ break;
302
+ }
303
+ message.enquiries_data.push(exports.EnquiriesData.decode(reader, reader.uint32()));
304
+ continue;
305
+ }
306
+ if ((tag & 7) === 4 || tag === 0) {
307
+ break;
308
+ }
309
+ reader.skipType(tag & 7);
310
+ }
311
+ return message;
312
+ },
313
+ fromJSON(object) {
314
+ return {
315
+ report_id: isSet(object.report_id) ? globalThis.Number(object.report_id) : 0,
316
+ score: isSet(object.score) ? globalThis.Number(object.score) : 0,
317
+ type: isSet(object.type) ? globalThis.String(object.type) : "",
318
+ tradelines: globalThis.Array.isArray(object?.tradelines)
319
+ ? object.tradelines.map((e) => exports.TradeLine.fromJSON(e))
320
+ : [],
321
+ dpd: isSet(object.dpd) ? exports.DPD.fromJSON(object.dpd) : undefined,
322
+ enquiries: isSet(object.enquiries) ? exports.Enquiries.fromJSON(object.enquiries) : undefined,
323
+ dpd_char: isSet(object.dpd_char) ? exports.dpdChar.fromJSON(object.dpd_char) : undefined,
324
+ report_path: isSet(object.report_path) ? globalThis.String(object.report_path) : undefined,
325
+ dpd_counts: isSet(object.dpd_counts) ? exports.DPDCounts.fromJSON(object.dpd_counts) : undefined,
326
+ enquiries_data: globalThis.Array.isArray(object?.enquiries_data)
327
+ ? object.enquiries_data.map((e) => exports.EnquiriesData.fromJSON(e))
328
+ : [],
329
+ };
330
+ },
331
+ toJSON(message) {
332
+ const obj = {};
333
+ if (message.report_id !== 0) {
334
+ obj.report_id = Math.round(message.report_id);
335
+ }
336
+ if (message.score !== 0) {
337
+ obj.score = Math.round(message.score);
338
+ }
339
+ if (message.type !== "") {
340
+ obj.type = message.type;
341
+ }
342
+ if (message.tradelines?.length) {
343
+ obj.tradelines = message.tradelines.map((e) => exports.TradeLine.toJSON(e));
344
+ }
345
+ if (message.dpd !== undefined) {
346
+ obj.dpd = exports.DPD.toJSON(message.dpd);
347
+ }
348
+ if (message.enquiries !== undefined) {
349
+ obj.enquiries = exports.Enquiries.toJSON(message.enquiries);
350
+ }
351
+ if (message.dpd_char !== undefined) {
352
+ obj.dpd_char = exports.dpdChar.toJSON(message.dpd_char);
353
+ }
354
+ if (message.report_path !== undefined) {
355
+ obj.report_path = message.report_path;
356
+ }
357
+ if (message.dpd_counts !== undefined) {
358
+ obj.dpd_counts = exports.DPDCounts.toJSON(message.dpd_counts);
359
+ }
360
+ if (message.enquiries_data?.length) {
361
+ obj.enquiries_data = message.enquiries_data.map((e) => exports.EnquiriesData.toJSON(e));
362
+ }
363
+ return obj;
364
+ },
365
+ create(base) {
366
+ return exports.Report.fromPartial(base ?? {});
367
+ },
368
+ fromPartial(object) {
369
+ const message = createBaseReport();
370
+ message.report_id = object.report_id ?? 0;
371
+ message.score = object.score ?? 0;
372
+ message.type = object.type ?? "";
373
+ message.tradelines = object.tradelines?.map((e) => exports.TradeLine.fromPartial(e)) || [];
374
+ message.dpd = (object.dpd !== undefined && object.dpd !== null) ? exports.DPD.fromPartial(object.dpd) : undefined;
375
+ message.enquiries = (object.enquiries !== undefined && object.enquiries !== null)
376
+ ? exports.Enquiries.fromPartial(object.enquiries)
377
+ : undefined;
378
+ message.dpd_char = (object.dpd_char !== undefined && object.dpd_char !== null)
379
+ ? exports.dpdChar.fromPartial(object.dpd_char)
380
+ : undefined;
381
+ message.report_path = object.report_path ?? undefined;
382
+ message.dpd_counts = (object.dpd_counts !== undefined && object.dpd_counts !== null)
383
+ ? exports.DPDCounts.fromPartial(object.dpd_counts)
384
+ : undefined;
385
+ message.enquiries_data = object.enquiries_data?.map((e) => exports.EnquiriesData.fromPartial(e)) || [];
386
+ return message;
387
+ },
388
+ };
389
+ function createBaseTradeLine() {
390
+ return {
391
+ id: 0,
392
+ account_type: "",
393
+ current_balance: 0,
394
+ date_closed: undefined,
395
+ last_payment_date: undefined,
396
+ disbursed_date: undefined,
397
+ date_reported: undefined,
398
+ sanctioned_amount: undefined,
399
+ ownership_indicator: undefined,
400
+ suit_filed: "",
401
+ overdue_amount: undefined,
402
+ settled_status: "",
403
+ account_status: undefined,
404
+ emi_amount: undefined,
405
+ credit_limit: undefined,
406
+ loan_type: undefined,
407
+ written_off_amount: undefined,
408
+ settlement_amount: undefined,
409
+ };
410
+ }
411
+ exports.TradeLine = {
412
+ encode(message, writer = minimal_1.default.Writer.create()) {
413
+ if (message.id !== 0) {
414
+ writer.uint32(8).int32(message.id);
415
+ }
416
+ if (message.account_type !== "") {
417
+ writer.uint32(18).string(message.account_type);
418
+ }
419
+ if (message.current_balance !== 0) {
420
+ writer.uint32(24).int32(message.current_balance);
421
+ }
422
+ if (message.date_closed !== undefined) {
423
+ writer.uint32(34).string(message.date_closed);
424
+ }
425
+ if (message.last_payment_date !== undefined) {
426
+ writer.uint32(42).string(message.last_payment_date);
427
+ }
428
+ if (message.disbursed_date !== undefined) {
429
+ writer.uint32(50).string(message.disbursed_date);
430
+ }
431
+ if (message.date_reported !== undefined) {
432
+ writer.uint32(58).string(message.date_reported);
433
+ }
434
+ if (message.sanctioned_amount !== undefined) {
435
+ writer.uint32(64).int64(message.sanctioned_amount);
436
+ }
437
+ if (message.ownership_indicator !== undefined) {
438
+ writer.uint32(74).string(message.ownership_indicator);
439
+ }
440
+ if (message.suit_filed !== "") {
441
+ writer.uint32(82).string(message.suit_filed);
442
+ }
443
+ if (message.overdue_amount !== undefined) {
444
+ writer.uint32(88).int32(message.overdue_amount);
445
+ }
446
+ if (message.settled_status !== "") {
447
+ writer.uint32(98).string(message.settled_status);
448
+ }
449
+ if (message.account_status !== undefined) {
450
+ writer.uint32(106).string(message.account_status);
451
+ }
452
+ if (message.emi_amount !== undefined) {
453
+ writer.uint32(112).int64(message.emi_amount);
454
+ }
455
+ if (message.credit_limit !== undefined) {
456
+ writer.uint32(120).int64(message.credit_limit);
457
+ }
458
+ if (message.loan_type !== undefined) {
459
+ writer.uint32(130).string(message.loan_type);
460
+ }
461
+ if (message.written_off_amount !== undefined) {
462
+ writer.uint32(136).int64(message.written_off_amount);
463
+ }
464
+ if (message.settlement_amount !== undefined) {
465
+ writer.uint32(144).int64(message.settlement_amount);
466
+ }
467
+ return writer;
468
+ },
469
+ decode(input, length) {
470
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
471
+ let end = length === undefined ? reader.len : reader.pos + length;
472
+ const message = createBaseTradeLine();
473
+ while (reader.pos < end) {
474
+ const tag = reader.uint32();
475
+ switch (tag >>> 3) {
476
+ case 1:
477
+ if (tag !== 8) {
478
+ break;
479
+ }
480
+ message.id = reader.int32();
481
+ continue;
482
+ case 2:
483
+ if (tag !== 18) {
484
+ break;
485
+ }
486
+ message.account_type = reader.string();
487
+ continue;
488
+ case 3:
489
+ if (tag !== 24) {
490
+ break;
491
+ }
492
+ message.current_balance = reader.int32();
493
+ continue;
494
+ case 4:
495
+ if (tag !== 34) {
496
+ break;
497
+ }
498
+ message.date_closed = reader.string();
499
+ continue;
500
+ case 5:
501
+ if (tag !== 42) {
502
+ break;
503
+ }
504
+ message.last_payment_date = reader.string();
505
+ continue;
506
+ case 6:
507
+ if (tag !== 50) {
508
+ break;
509
+ }
510
+ message.disbursed_date = reader.string();
511
+ continue;
512
+ case 7:
513
+ if (tag !== 58) {
514
+ break;
515
+ }
516
+ message.date_reported = reader.string();
517
+ continue;
518
+ case 8:
519
+ if (tag !== 64) {
520
+ break;
521
+ }
522
+ message.sanctioned_amount = longToNumber(reader.int64());
523
+ continue;
524
+ case 9:
525
+ if (tag !== 74) {
526
+ break;
527
+ }
528
+ message.ownership_indicator = reader.string();
529
+ continue;
530
+ case 10:
531
+ if (tag !== 82) {
532
+ break;
533
+ }
534
+ message.suit_filed = reader.string();
535
+ continue;
536
+ case 11:
537
+ if (tag !== 88) {
538
+ break;
539
+ }
540
+ message.overdue_amount = reader.int32();
541
+ continue;
542
+ case 12:
543
+ if (tag !== 98) {
544
+ break;
545
+ }
546
+ message.settled_status = reader.string();
547
+ continue;
548
+ case 13:
549
+ if (tag !== 106) {
550
+ break;
551
+ }
552
+ message.account_status = reader.string();
553
+ continue;
554
+ case 14:
555
+ if (tag !== 112) {
556
+ break;
557
+ }
558
+ message.emi_amount = longToNumber(reader.int64());
559
+ continue;
560
+ case 15:
561
+ if (tag !== 120) {
562
+ break;
563
+ }
564
+ message.credit_limit = longToNumber(reader.int64());
565
+ continue;
566
+ case 16:
567
+ if (tag !== 130) {
568
+ break;
569
+ }
570
+ message.loan_type = reader.string();
571
+ continue;
572
+ case 17:
573
+ if (tag !== 136) {
574
+ break;
575
+ }
576
+ message.written_off_amount = longToNumber(reader.int64());
577
+ continue;
578
+ case 18:
579
+ if (tag !== 144) {
580
+ break;
581
+ }
582
+ message.settlement_amount = longToNumber(reader.int64());
583
+ continue;
584
+ }
585
+ if ((tag & 7) === 4 || tag === 0) {
586
+ break;
587
+ }
588
+ reader.skipType(tag & 7);
589
+ }
590
+ return message;
591
+ },
592
+ fromJSON(object) {
593
+ return {
594
+ id: isSet(object.id) ? globalThis.Number(object.id) : 0,
595
+ account_type: isSet(object.account_type) ? globalThis.String(object.account_type) : "",
596
+ current_balance: isSet(object.current_balance) ? globalThis.Number(object.current_balance) : 0,
597
+ date_closed: isSet(object.date_closed) ? globalThis.String(object.date_closed) : undefined,
598
+ last_payment_date: isSet(object.last_payment_date) ? globalThis.String(object.last_payment_date) : undefined,
599
+ disbursed_date: isSet(object.disbursed_date) ? globalThis.String(object.disbursed_date) : undefined,
600
+ date_reported: isSet(object.date_reported) ? globalThis.String(object.date_reported) : undefined,
601
+ sanctioned_amount: isSet(object.sanctioned_amount) ? globalThis.Number(object.sanctioned_amount) : undefined,
602
+ ownership_indicator: isSet(object.ownership_indicator)
603
+ ? globalThis.String(object.ownership_indicator)
604
+ : undefined,
605
+ suit_filed: isSet(object.suit_filed) ? globalThis.String(object.suit_filed) : "",
606
+ overdue_amount: isSet(object.overdue_amount) ? globalThis.Number(object.overdue_amount) : undefined,
607
+ settled_status: isSet(object.settled_status) ? globalThis.String(object.settled_status) : "",
608
+ account_status: isSet(object.account_status) ? globalThis.String(object.account_status) : undefined,
609
+ emi_amount: isSet(object.emi_amount) ? globalThis.Number(object.emi_amount) : undefined,
610
+ credit_limit: isSet(object.credit_limit) ? globalThis.Number(object.credit_limit) : undefined,
611
+ loan_type: isSet(object.loan_type) ? globalThis.String(object.loan_type) : undefined,
612
+ written_off_amount: isSet(object.written_off_amount) ? globalThis.Number(object.written_off_amount) : undefined,
613
+ settlement_amount: isSet(object.settlement_amount) ? globalThis.Number(object.settlement_amount) : undefined,
614
+ };
615
+ },
616
+ toJSON(message) {
617
+ const obj = {};
618
+ if (message.id !== 0) {
619
+ obj.id = Math.round(message.id);
620
+ }
621
+ if (message.account_type !== "") {
622
+ obj.account_type = message.account_type;
623
+ }
624
+ if (message.current_balance !== 0) {
625
+ obj.current_balance = Math.round(message.current_balance);
626
+ }
627
+ if (message.date_closed !== undefined) {
628
+ obj.date_closed = message.date_closed;
629
+ }
630
+ if (message.last_payment_date !== undefined) {
631
+ obj.last_payment_date = message.last_payment_date;
632
+ }
633
+ if (message.disbursed_date !== undefined) {
634
+ obj.disbursed_date = message.disbursed_date;
635
+ }
636
+ if (message.date_reported !== undefined) {
637
+ obj.date_reported = message.date_reported;
638
+ }
639
+ if (message.sanctioned_amount !== undefined) {
640
+ obj.sanctioned_amount = Math.round(message.sanctioned_amount);
641
+ }
642
+ if (message.ownership_indicator !== undefined) {
643
+ obj.ownership_indicator = message.ownership_indicator;
644
+ }
645
+ if (message.suit_filed !== "") {
646
+ obj.suit_filed = message.suit_filed;
647
+ }
648
+ if (message.overdue_amount !== undefined) {
649
+ obj.overdue_amount = Math.round(message.overdue_amount);
650
+ }
651
+ if (message.settled_status !== "") {
652
+ obj.settled_status = message.settled_status;
653
+ }
654
+ if (message.account_status !== undefined) {
655
+ obj.account_status = message.account_status;
656
+ }
657
+ if (message.emi_amount !== undefined) {
658
+ obj.emi_amount = Math.round(message.emi_amount);
659
+ }
660
+ if (message.credit_limit !== undefined) {
661
+ obj.credit_limit = Math.round(message.credit_limit);
662
+ }
663
+ if (message.loan_type !== undefined) {
664
+ obj.loan_type = message.loan_type;
665
+ }
666
+ if (message.written_off_amount !== undefined) {
667
+ obj.written_off_amount = Math.round(message.written_off_amount);
668
+ }
669
+ if (message.settlement_amount !== undefined) {
670
+ obj.settlement_amount = Math.round(message.settlement_amount);
671
+ }
672
+ return obj;
673
+ },
674
+ create(base) {
675
+ return exports.TradeLine.fromPartial(base ?? {});
676
+ },
677
+ fromPartial(object) {
678
+ const message = createBaseTradeLine();
679
+ message.id = object.id ?? 0;
680
+ message.account_type = object.account_type ?? "";
681
+ message.current_balance = object.current_balance ?? 0;
682
+ message.date_closed = object.date_closed ?? undefined;
683
+ message.last_payment_date = object.last_payment_date ?? undefined;
684
+ message.disbursed_date = object.disbursed_date ?? undefined;
685
+ message.date_reported = object.date_reported ?? undefined;
686
+ message.sanctioned_amount = object.sanctioned_amount ?? undefined;
687
+ message.ownership_indicator = object.ownership_indicator ?? undefined;
688
+ message.suit_filed = object.suit_filed ?? "";
689
+ message.overdue_amount = object.overdue_amount ?? undefined;
690
+ message.settled_status = object.settled_status ?? "";
691
+ message.account_status = object.account_status ?? undefined;
692
+ message.emi_amount = object.emi_amount ?? undefined;
693
+ message.credit_limit = object.credit_limit ?? undefined;
694
+ message.loan_type = object.loan_type ?? undefined;
695
+ message.written_off_amount = object.written_off_amount ?? undefined;
696
+ message.settlement_amount = object.settlement_amount ?? undefined;
697
+ return message;
698
+ },
699
+ };
700
+ function createBaseDPD() {
701
+ return {
702
+ month1: 0,
703
+ month2: 0,
704
+ month3: 0,
705
+ month4: 0,
706
+ month5: 0,
707
+ month6: 0,
708
+ month7: 0,
709
+ month8: 0,
710
+ month9: 0,
711
+ month10: 0,
712
+ month11: 0,
713
+ month12: 0,
714
+ month13: 0,
715
+ month14: 0,
716
+ month15: 0,
717
+ month16: 0,
718
+ month17: 0,
719
+ month18: 0,
720
+ month19: 0,
721
+ month20: 0,
722
+ month21: 0,
723
+ month22: 0,
724
+ month23: 0,
725
+ month24: 0,
726
+ };
727
+ }
728
+ exports.DPD = {
729
+ encode(message, writer = minimal_1.default.Writer.create()) {
730
+ if (message.month1 !== 0) {
731
+ writer.uint32(8).int32(message.month1);
732
+ }
733
+ if (message.month2 !== 0) {
734
+ writer.uint32(16).int32(message.month2);
735
+ }
736
+ if (message.month3 !== 0) {
737
+ writer.uint32(24).int32(message.month3);
738
+ }
739
+ if (message.month4 !== 0) {
740
+ writer.uint32(32).int32(message.month4);
741
+ }
742
+ if (message.month5 !== 0) {
743
+ writer.uint32(40).int32(message.month5);
744
+ }
745
+ if (message.month6 !== 0) {
746
+ writer.uint32(48).int32(message.month6);
747
+ }
748
+ if (message.month7 !== 0) {
749
+ writer.uint32(56).int32(message.month7);
750
+ }
751
+ if (message.month8 !== 0) {
752
+ writer.uint32(64).int32(message.month8);
753
+ }
754
+ if (message.month9 !== 0) {
755
+ writer.uint32(72).int32(message.month9);
756
+ }
757
+ if (message.month10 !== 0) {
758
+ writer.uint32(80).int32(message.month10);
759
+ }
760
+ if (message.month11 !== 0) {
761
+ writer.uint32(88).int32(message.month11);
762
+ }
763
+ if (message.month12 !== 0) {
764
+ writer.uint32(96).int32(message.month12);
765
+ }
766
+ if (message.month13 !== 0) {
767
+ writer.uint32(104).int32(message.month13);
768
+ }
769
+ if (message.month14 !== 0) {
770
+ writer.uint32(112).int32(message.month14);
771
+ }
772
+ if (message.month15 !== 0) {
773
+ writer.uint32(120).int32(message.month15);
774
+ }
775
+ if (message.month16 !== 0) {
776
+ writer.uint32(128).int32(message.month16);
777
+ }
778
+ if (message.month17 !== 0) {
779
+ writer.uint32(136).int32(message.month17);
780
+ }
781
+ if (message.month18 !== 0) {
782
+ writer.uint32(144).int32(message.month18);
783
+ }
784
+ if (message.month19 !== 0) {
785
+ writer.uint32(152).int32(message.month19);
786
+ }
787
+ if (message.month20 !== 0) {
788
+ writer.uint32(160).int32(message.month20);
789
+ }
790
+ if (message.month21 !== 0) {
791
+ writer.uint32(168).int32(message.month21);
792
+ }
793
+ if (message.month22 !== 0) {
794
+ writer.uint32(176).int32(message.month22);
795
+ }
796
+ if (message.month23 !== 0) {
797
+ writer.uint32(184).int32(message.month23);
798
+ }
799
+ if (message.month24 !== 0) {
800
+ writer.uint32(192).int32(message.month24);
801
+ }
802
+ return writer;
803
+ },
804
+ decode(input, length) {
805
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
806
+ let end = length === undefined ? reader.len : reader.pos + length;
807
+ const message = createBaseDPD();
808
+ while (reader.pos < end) {
809
+ const tag = reader.uint32();
810
+ switch (tag >>> 3) {
811
+ case 1:
812
+ if (tag !== 8) {
813
+ break;
814
+ }
815
+ message.month1 = reader.int32();
816
+ continue;
817
+ case 2:
818
+ if (tag !== 16) {
819
+ break;
820
+ }
821
+ message.month2 = reader.int32();
822
+ continue;
823
+ case 3:
824
+ if (tag !== 24) {
825
+ break;
826
+ }
827
+ message.month3 = reader.int32();
828
+ continue;
829
+ case 4:
830
+ if (tag !== 32) {
831
+ break;
832
+ }
833
+ message.month4 = reader.int32();
834
+ continue;
835
+ case 5:
836
+ if (tag !== 40) {
837
+ break;
838
+ }
839
+ message.month5 = reader.int32();
840
+ continue;
841
+ case 6:
842
+ if (tag !== 48) {
843
+ break;
844
+ }
845
+ message.month6 = reader.int32();
846
+ continue;
847
+ case 7:
848
+ if (tag !== 56) {
849
+ break;
850
+ }
851
+ message.month7 = reader.int32();
852
+ continue;
853
+ case 8:
854
+ if (tag !== 64) {
855
+ break;
856
+ }
857
+ message.month8 = reader.int32();
858
+ continue;
859
+ case 9:
860
+ if (tag !== 72) {
861
+ break;
862
+ }
863
+ message.month9 = reader.int32();
864
+ continue;
865
+ case 10:
866
+ if (tag !== 80) {
867
+ break;
868
+ }
869
+ message.month10 = reader.int32();
870
+ continue;
871
+ case 11:
872
+ if (tag !== 88) {
873
+ break;
874
+ }
875
+ message.month11 = reader.int32();
876
+ continue;
877
+ case 12:
878
+ if (tag !== 96) {
879
+ break;
880
+ }
881
+ message.month12 = reader.int32();
882
+ continue;
883
+ case 13:
884
+ if (tag !== 104) {
885
+ break;
886
+ }
887
+ message.month13 = reader.int32();
888
+ continue;
889
+ case 14:
890
+ if (tag !== 112) {
891
+ break;
892
+ }
893
+ message.month14 = reader.int32();
894
+ continue;
895
+ case 15:
896
+ if (tag !== 120) {
897
+ break;
898
+ }
899
+ message.month15 = reader.int32();
900
+ continue;
901
+ case 16:
902
+ if (tag !== 128) {
903
+ break;
904
+ }
905
+ message.month16 = reader.int32();
906
+ continue;
907
+ case 17:
908
+ if (tag !== 136) {
909
+ break;
910
+ }
911
+ message.month17 = reader.int32();
912
+ continue;
913
+ case 18:
914
+ if (tag !== 144) {
915
+ break;
916
+ }
917
+ message.month18 = reader.int32();
918
+ continue;
919
+ case 19:
920
+ if (tag !== 152) {
921
+ break;
922
+ }
923
+ message.month19 = reader.int32();
924
+ continue;
925
+ case 20:
926
+ if (tag !== 160) {
927
+ break;
928
+ }
929
+ message.month20 = reader.int32();
930
+ continue;
931
+ case 21:
932
+ if (tag !== 168) {
933
+ break;
934
+ }
935
+ message.month21 = reader.int32();
936
+ continue;
937
+ case 22:
938
+ if (tag !== 176) {
939
+ break;
940
+ }
941
+ message.month22 = reader.int32();
942
+ continue;
943
+ case 23:
944
+ if (tag !== 184) {
945
+ break;
946
+ }
947
+ message.month23 = reader.int32();
948
+ continue;
949
+ case 24:
950
+ if (tag !== 192) {
951
+ break;
952
+ }
953
+ message.month24 = reader.int32();
954
+ continue;
955
+ }
956
+ if ((tag & 7) === 4 || tag === 0) {
957
+ break;
958
+ }
959
+ reader.skipType(tag & 7);
960
+ }
961
+ return message;
962
+ },
963
+ fromJSON(object) {
964
+ return {
965
+ month1: isSet(object.month1) ? globalThis.Number(object.month1) : 0,
966
+ month2: isSet(object.month2) ? globalThis.Number(object.month2) : 0,
967
+ month3: isSet(object.month3) ? globalThis.Number(object.month3) : 0,
968
+ month4: isSet(object.month4) ? globalThis.Number(object.month4) : 0,
969
+ month5: isSet(object.month5) ? globalThis.Number(object.month5) : 0,
970
+ month6: isSet(object.month6) ? globalThis.Number(object.month6) : 0,
971
+ month7: isSet(object.month7) ? globalThis.Number(object.month7) : 0,
972
+ month8: isSet(object.month8) ? globalThis.Number(object.month8) : 0,
973
+ month9: isSet(object.month9) ? globalThis.Number(object.month9) : 0,
974
+ month10: isSet(object.month10) ? globalThis.Number(object.month10) : 0,
975
+ month11: isSet(object.month11) ? globalThis.Number(object.month11) : 0,
976
+ month12: isSet(object.month12) ? globalThis.Number(object.month12) : 0,
977
+ month13: isSet(object.month13) ? globalThis.Number(object.month13) : 0,
978
+ month14: isSet(object.month14) ? globalThis.Number(object.month14) : 0,
979
+ month15: isSet(object.month15) ? globalThis.Number(object.month15) : 0,
980
+ month16: isSet(object.month16) ? globalThis.Number(object.month16) : 0,
981
+ month17: isSet(object.month17) ? globalThis.Number(object.month17) : 0,
982
+ month18: isSet(object.month18) ? globalThis.Number(object.month18) : 0,
983
+ month19: isSet(object.month19) ? globalThis.Number(object.month19) : 0,
984
+ month20: isSet(object.month20) ? globalThis.Number(object.month20) : 0,
985
+ month21: isSet(object.month21) ? globalThis.Number(object.month21) : 0,
986
+ month22: isSet(object.month22) ? globalThis.Number(object.month22) : 0,
987
+ month23: isSet(object.month23) ? globalThis.Number(object.month23) : 0,
988
+ month24: isSet(object.month24) ? globalThis.Number(object.month24) : 0,
989
+ };
990
+ },
991
+ toJSON(message) {
992
+ const obj = {};
993
+ if (message.month1 !== 0) {
994
+ obj.month1 = Math.round(message.month1);
995
+ }
996
+ if (message.month2 !== 0) {
997
+ obj.month2 = Math.round(message.month2);
998
+ }
999
+ if (message.month3 !== 0) {
1000
+ obj.month3 = Math.round(message.month3);
1001
+ }
1002
+ if (message.month4 !== 0) {
1003
+ obj.month4 = Math.round(message.month4);
1004
+ }
1005
+ if (message.month5 !== 0) {
1006
+ obj.month5 = Math.round(message.month5);
1007
+ }
1008
+ if (message.month6 !== 0) {
1009
+ obj.month6 = Math.round(message.month6);
1010
+ }
1011
+ if (message.month7 !== 0) {
1012
+ obj.month7 = Math.round(message.month7);
1013
+ }
1014
+ if (message.month8 !== 0) {
1015
+ obj.month8 = Math.round(message.month8);
1016
+ }
1017
+ if (message.month9 !== 0) {
1018
+ obj.month9 = Math.round(message.month9);
1019
+ }
1020
+ if (message.month10 !== 0) {
1021
+ obj.month10 = Math.round(message.month10);
1022
+ }
1023
+ if (message.month11 !== 0) {
1024
+ obj.month11 = Math.round(message.month11);
1025
+ }
1026
+ if (message.month12 !== 0) {
1027
+ obj.month12 = Math.round(message.month12);
1028
+ }
1029
+ if (message.month13 !== 0) {
1030
+ obj.month13 = Math.round(message.month13);
1031
+ }
1032
+ if (message.month14 !== 0) {
1033
+ obj.month14 = Math.round(message.month14);
1034
+ }
1035
+ if (message.month15 !== 0) {
1036
+ obj.month15 = Math.round(message.month15);
1037
+ }
1038
+ if (message.month16 !== 0) {
1039
+ obj.month16 = Math.round(message.month16);
1040
+ }
1041
+ if (message.month17 !== 0) {
1042
+ obj.month17 = Math.round(message.month17);
1043
+ }
1044
+ if (message.month18 !== 0) {
1045
+ obj.month18 = Math.round(message.month18);
1046
+ }
1047
+ if (message.month19 !== 0) {
1048
+ obj.month19 = Math.round(message.month19);
1049
+ }
1050
+ if (message.month20 !== 0) {
1051
+ obj.month20 = Math.round(message.month20);
1052
+ }
1053
+ if (message.month21 !== 0) {
1054
+ obj.month21 = Math.round(message.month21);
1055
+ }
1056
+ if (message.month22 !== 0) {
1057
+ obj.month22 = Math.round(message.month22);
1058
+ }
1059
+ if (message.month23 !== 0) {
1060
+ obj.month23 = Math.round(message.month23);
1061
+ }
1062
+ if (message.month24 !== 0) {
1063
+ obj.month24 = Math.round(message.month24);
1064
+ }
1065
+ return obj;
1066
+ },
1067
+ create(base) {
1068
+ return exports.DPD.fromPartial(base ?? {});
1069
+ },
1070
+ fromPartial(object) {
1071
+ const message = createBaseDPD();
1072
+ message.month1 = object.month1 ?? 0;
1073
+ message.month2 = object.month2 ?? 0;
1074
+ message.month3 = object.month3 ?? 0;
1075
+ message.month4 = object.month4 ?? 0;
1076
+ message.month5 = object.month5 ?? 0;
1077
+ message.month6 = object.month6 ?? 0;
1078
+ message.month7 = object.month7 ?? 0;
1079
+ message.month8 = object.month8 ?? 0;
1080
+ message.month9 = object.month9 ?? 0;
1081
+ message.month10 = object.month10 ?? 0;
1082
+ message.month11 = object.month11 ?? 0;
1083
+ message.month12 = object.month12 ?? 0;
1084
+ message.month13 = object.month13 ?? 0;
1085
+ message.month14 = object.month14 ?? 0;
1086
+ message.month15 = object.month15 ?? 0;
1087
+ message.month16 = object.month16 ?? 0;
1088
+ message.month17 = object.month17 ?? 0;
1089
+ message.month18 = object.month18 ?? 0;
1090
+ message.month19 = object.month19 ?? 0;
1091
+ message.month20 = object.month20 ?? 0;
1092
+ message.month21 = object.month21 ?? 0;
1093
+ message.month22 = object.month22 ?? 0;
1094
+ message.month23 = object.month23 ?? 0;
1095
+ message.month24 = object.month24 ?? 0;
1096
+ return message;
1097
+ },
1098
+ };
1099
+ function createBaseEnquiries() {
1100
+ return { month1: 0, month3: 0, month6: 0, month9: 0, month12: 0, month15: 0, month18: 0, month21: 0, month24: 0 };
1101
+ }
1102
+ exports.Enquiries = {
1103
+ encode(message, writer = minimal_1.default.Writer.create()) {
1104
+ if (message.month1 !== 0) {
1105
+ writer.uint32(8).int32(message.month1);
1106
+ }
1107
+ if (message.month3 !== 0) {
1108
+ writer.uint32(16).int32(message.month3);
1109
+ }
1110
+ if (message.month6 !== 0) {
1111
+ writer.uint32(24).int32(message.month6);
1112
+ }
1113
+ if (message.month9 !== 0) {
1114
+ writer.uint32(32).int32(message.month9);
1115
+ }
1116
+ if (message.month12 !== 0) {
1117
+ writer.uint32(40).int32(message.month12);
1118
+ }
1119
+ if (message.month15 !== 0) {
1120
+ writer.uint32(48).int32(message.month15);
1121
+ }
1122
+ if (message.month18 !== 0) {
1123
+ writer.uint32(56).int32(message.month18);
1124
+ }
1125
+ if (message.month21 !== 0) {
1126
+ writer.uint32(64).int32(message.month21);
1127
+ }
1128
+ if (message.month24 !== 0) {
1129
+ writer.uint32(72).int32(message.month24);
1130
+ }
1131
+ return writer;
1132
+ },
1133
+ decode(input, length) {
1134
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
1135
+ let end = length === undefined ? reader.len : reader.pos + length;
1136
+ const message = createBaseEnquiries();
1137
+ while (reader.pos < end) {
1138
+ const tag = reader.uint32();
1139
+ switch (tag >>> 3) {
1140
+ case 1:
1141
+ if (tag !== 8) {
1142
+ break;
1143
+ }
1144
+ message.month1 = reader.int32();
1145
+ continue;
1146
+ case 2:
1147
+ if (tag !== 16) {
1148
+ break;
1149
+ }
1150
+ message.month3 = reader.int32();
1151
+ continue;
1152
+ case 3:
1153
+ if (tag !== 24) {
1154
+ break;
1155
+ }
1156
+ message.month6 = reader.int32();
1157
+ continue;
1158
+ case 4:
1159
+ if (tag !== 32) {
1160
+ break;
1161
+ }
1162
+ message.month9 = reader.int32();
1163
+ continue;
1164
+ case 5:
1165
+ if (tag !== 40) {
1166
+ break;
1167
+ }
1168
+ message.month12 = reader.int32();
1169
+ continue;
1170
+ case 6:
1171
+ if (tag !== 48) {
1172
+ break;
1173
+ }
1174
+ message.month15 = reader.int32();
1175
+ continue;
1176
+ case 7:
1177
+ if (tag !== 56) {
1178
+ break;
1179
+ }
1180
+ message.month18 = reader.int32();
1181
+ continue;
1182
+ case 8:
1183
+ if (tag !== 64) {
1184
+ break;
1185
+ }
1186
+ message.month21 = reader.int32();
1187
+ continue;
1188
+ case 9:
1189
+ if (tag !== 72) {
1190
+ break;
1191
+ }
1192
+ message.month24 = reader.int32();
1193
+ continue;
1194
+ }
1195
+ if ((tag & 7) === 4 || tag === 0) {
1196
+ break;
1197
+ }
1198
+ reader.skipType(tag & 7);
1199
+ }
1200
+ return message;
1201
+ },
1202
+ fromJSON(object) {
1203
+ return {
1204
+ month1: isSet(object.month1) ? globalThis.Number(object.month1) : 0,
1205
+ month3: isSet(object.month3) ? globalThis.Number(object.month3) : 0,
1206
+ month6: isSet(object.month6) ? globalThis.Number(object.month6) : 0,
1207
+ month9: isSet(object.month9) ? globalThis.Number(object.month9) : 0,
1208
+ month12: isSet(object.month12) ? globalThis.Number(object.month12) : 0,
1209
+ month15: isSet(object.month15) ? globalThis.Number(object.month15) : 0,
1210
+ month18: isSet(object.month18) ? globalThis.Number(object.month18) : 0,
1211
+ month21: isSet(object.month21) ? globalThis.Number(object.month21) : 0,
1212
+ month24: isSet(object.month24) ? globalThis.Number(object.month24) : 0,
1213
+ };
1214
+ },
1215
+ toJSON(message) {
1216
+ const obj = {};
1217
+ if (message.month1 !== 0) {
1218
+ obj.month1 = Math.round(message.month1);
1219
+ }
1220
+ if (message.month3 !== 0) {
1221
+ obj.month3 = Math.round(message.month3);
1222
+ }
1223
+ if (message.month6 !== 0) {
1224
+ obj.month6 = Math.round(message.month6);
1225
+ }
1226
+ if (message.month9 !== 0) {
1227
+ obj.month9 = Math.round(message.month9);
1228
+ }
1229
+ if (message.month12 !== 0) {
1230
+ obj.month12 = Math.round(message.month12);
1231
+ }
1232
+ if (message.month15 !== 0) {
1233
+ obj.month15 = Math.round(message.month15);
1234
+ }
1235
+ if (message.month18 !== 0) {
1236
+ obj.month18 = Math.round(message.month18);
1237
+ }
1238
+ if (message.month21 !== 0) {
1239
+ obj.month21 = Math.round(message.month21);
1240
+ }
1241
+ if (message.month24 !== 0) {
1242
+ obj.month24 = Math.round(message.month24);
1243
+ }
1244
+ return obj;
1245
+ },
1246
+ create(base) {
1247
+ return exports.Enquiries.fromPartial(base ?? {});
1248
+ },
1249
+ fromPartial(object) {
1250
+ const message = createBaseEnquiries();
1251
+ message.month1 = object.month1 ?? 0;
1252
+ message.month3 = object.month3 ?? 0;
1253
+ message.month6 = object.month6 ?? 0;
1254
+ message.month9 = object.month9 ?? 0;
1255
+ message.month12 = object.month12 ?? 0;
1256
+ message.month15 = object.month15 ?? 0;
1257
+ message.month18 = object.month18 ?? 0;
1258
+ message.month21 = object.month21 ?? 0;
1259
+ message.month24 = object.month24 ?? 0;
1260
+ return message;
1261
+ },
1262
+ };
1263
+ function createBasedpdChar() {
1264
+ return {
1265
+ month1: false,
1266
+ month3: false,
1267
+ month6: false,
1268
+ month9: false,
1269
+ month12: false,
1270
+ month15: false,
1271
+ month18: false,
1272
+ month21: false,
1273
+ month24: false,
1274
+ };
1275
+ }
1276
+ exports.dpdChar = {
1277
+ encode(message, writer = minimal_1.default.Writer.create()) {
1278
+ if (message.month1 !== false) {
1279
+ writer.uint32(8).bool(message.month1);
1280
+ }
1281
+ if (message.month3 !== false) {
1282
+ writer.uint32(16).bool(message.month3);
1283
+ }
1284
+ if (message.month6 !== false) {
1285
+ writer.uint32(24).bool(message.month6);
1286
+ }
1287
+ if (message.month9 !== false) {
1288
+ writer.uint32(32).bool(message.month9);
1289
+ }
1290
+ if (message.month12 !== false) {
1291
+ writer.uint32(40).bool(message.month12);
1292
+ }
1293
+ if (message.month15 !== false) {
1294
+ writer.uint32(48).bool(message.month15);
1295
+ }
1296
+ if (message.month18 !== false) {
1297
+ writer.uint32(56).bool(message.month18);
1298
+ }
1299
+ if (message.month21 !== false) {
1300
+ writer.uint32(64).bool(message.month21);
1301
+ }
1302
+ if (message.month24 !== false) {
1303
+ writer.uint32(72).bool(message.month24);
1304
+ }
1305
+ return writer;
1306
+ },
1307
+ decode(input, length) {
1308
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
1309
+ let end = length === undefined ? reader.len : reader.pos + length;
1310
+ const message = createBasedpdChar();
1311
+ while (reader.pos < end) {
1312
+ const tag = reader.uint32();
1313
+ switch (tag >>> 3) {
1314
+ case 1:
1315
+ if (tag !== 8) {
1316
+ break;
1317
+ }
1318
+ message.month1 = reader.bool();
1319
+ continue;
1320
+ case 2:
1321
+ if (tag !== 16) {
1322
+ break;
1323
+ }
1324
+ message.month3 = reader.bool();
1325
+ continue;
1326
+ case 3:
1327
+ if (tag !== 24) {
1328
+ break;
1329
+ }
1330
+ message.month6 = reader.bool();
1331
+ continue;
1332
+ case 4:
1333
+ if (tag !== 32) {
1334
+ break;
1335
+ }
1336
+ message.month9 = reader.bool();
1337
+ continue;
1338
+ case 5:
1339
+ if (tag !== 40) {
1340
+ break;
1341
+ }
1342
+ message.month12 = reader.bool();
1343
+ continue;
1344
+ case 6:
1345
+ if (tag !== 48) {
1346
+ break;
1347
+ }
1348
+ message.month15 = reader.bool();
1349
+ continue;
1350
+ case 7:
1351
+ if (tag !== 56) {
1352
+ break;
1353
+ }
1354
+ message.month18 = reader.bool();
1355
+ continue;
1356
+ case 8:
1357
+ if (tag !== 64) {
1358
+ break;
1359
+ }
1360
+ message.month21 = reader.bool();
1361
+ continue;
1362
+ case 9:
1363
+ if (tag !== 72) {
1364
+ break;
1365
+ }
1366
+ message.month24 = reader.bool();
1367
+ continue;
1368
+ }
1369
+ if ((tag & 7) === 4 || tag === 0) {
1370
+ break;
1371
+ }
1372
+ reader.skipType(tag & 7);
1373
+ }
1374
+ return message;
1375
+ },
1376
+ fromJSON(object) {
1377
+ return {
1378
+ month1: isSet(object.month1) ? globalThis.Boolean(object.month1) : false,
1379
+ month3: isSet(object.month3) ? globalThis.Boolean(object.month3) : false,
1380
+ month6: isSet(object.month6) ? globalThis.Boolean(object.month6) : false,
1381
+ month9: isSet(object.month9) ? globalThis.Boolean(object.month9) : false,
1382
+ month12: isSet(object.month12) ? globalThis.Boolean(object.month12) : false,
1383
+ month15: isSet(object.month15) ? globalThis.Boolean(object.month15) : false,
1384
+ month18: isSet(object.month18) ? globalThis.Boolean(object.month18) : false,
1385
+ month21: isSet(object.month21) ? globalThis.Boolean(object.month21) : false,
1386
+ month24: isSet(object.month24) ? globalThis.Boolean(object.month24) : false,
1387
+ };
1388
+ },
1389
+ toJSON(message) {
1390
+ const obj = {};
1391
+ if (message.month1 !== false) {
1392
+ obj.month1 = message.month1;
1393
+ }
1394
+ if (message.month3 !== false) {
1395
+ obj.month3 = message.month3;
1396
+ }
1397
+ if (message.month6 !== false) {
1398
+ obj.month6 = message.month6;
1399
+ }
1400
+ if (message.month9 !== false) {
1401
+ obj.month9 = message.month9;
1402
+ }
1403
+ if (message.month12 !== false) {
1404
+ obj.month12 = message.month12;
1405
+ }
1406
+ if (message.month15 !== false) {
1407
+ obj.month15 = message.month15;
1408
+ }
1409
+ if (message.month18 !== false) {
1410
+ obj.month18 = message.month18;
1411
+ }
1412
+ if (message.month21 !== false) {
1413
+ obj.month21 = message.month21;
1414
+ }
1415
+ if (message.month24 !== false) {
1416
+ obj.month24 = message.month24;
1417
+ }
1418
+ return obj;
1419
+ },
1420
+ create(base) {
1421
+ return exports.dpdChar.fromPartial(base ?? {});
1422
+ },
1423
+ fromPartial(object) {
1424
+ const message = createBasedpdChar();
1425
+ message.month1 = object.month1 ?? false;
1426
+ message.month3 = object.month3 ?? false;
1427
+ message.month6 = object.month6 ?? false;
1428
+ message.month9 = object.month9 ?? false;
1429
+ message.month12 = object.month12 ?? false;
1430
+ message.month15 = object.month15 ?? false;
1431
+ message.month18 = object.month18 ?? false;
1432
+ message.month21 = object.month21 ?? false;
1433
+ message.month24 = object.month24 ?? false;
1434
+ return message;
1435
+ },
1436
+ };
1437
+ function createBaseDPDCounts() {
1438
+ return { dpd1to30: 0, dpd36month: 0, dpd90_plus: 0, dpd31to90: 0 };
1439
+ }
1440
+ exports.DPDCounts = {
1441
+ encode(message, writer = minimal_1.default.Writer.create()) {
1442
+ if (message.dpd1to30 !== 0) {
1443
+ writer.uint32(8).int32(message.dpd1to30);
1444
+ }
1445
+ if (message.dpd36month !== 0) {
1446
+ writer.uint32(16).int32(message.dpd36month);
1447
+ }
1448
+ if (message.dpd90_plus !== 0) {
1449
+ writer.uint32(24).int32(message.dpd90_plus);
1450
+ }
1451
+ if (message.dpd31to90 !== 0) {
1452
+ writer.uint32(32).int32(message.dpd31to90);
1453
+ }
1454
+ return writer;
1455
+ },
1456
+ decode(input, length) {
1457
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
1458
+ let end = length === undefined ? reader.len : reader.pos + length;
1459
+ const message = createBaseDPDCounts();
1460
+ while (reader.pos < end) {
1461
+ const tag = reader.uint32();
1462
+ switch (tag >>> 3) {
1463
+ case 1:
1464
+ if (tag !== 8) {
1465
+ break;
1466
+ }
1467
+ message.dpd1to30 = reader.int32();
1468
+ continue;
1469
+ case 2:
1470
+ if (tag !== 16) {
1471
+ break;
1472
+ }
1473
+ message.dpd36month = reader.int32();
1474
+ continue;
1475
+ case 3:
1476
+ if (tag !== 24) {
1477
+ break;
1478
+ }
1479
+ message.dpd90_plus = reader.int32();
1480
+ continue;
1481
+ case 4:
1482
+ if (tag !== 32) {
1483
+ break;
1484
+ }
1485
+ message.dpd31to90 = reader.int32();
1486
+ continue;
1487
+ }
1488
+ if ((tag & 7) === 4 || tag === 0) {
1489
+ break;
1490
+ }
1491
+ reader.skipType(tag & 7);
1492
+ }
1493
+ return message;
1494
+ },
1495
+ fromJSON(object) {
1496
+ return {
1497
+ dpd1to30: isSet(object.dpd1to30) ? globalThis.Number(object.dpd1to30) : 0,
1498
+ dpd36month: isSet(object.dpd36month) ? globalThis.Number(object.dpd36month) : 0,
1499
+ dpd90_plus: isSet(object.dpd90_plus) ? globalThis.Number(object.dpd90_plus) : 0,
1500
+ dpd31to90: isSet(object.dpd31to90) ? globalThis.Number(object.dpd31to90) : 0,
1501
+ };
1502
+ },
1503
+ toJSON(message) {
1504
+ const obj = {};
1505
+ if (message.dpd1to30 !== 0) {
1506
+ obj.dpd1to30 = Math.round(message.dpd1to30);
1507
+ }
1508
+ if (message.dpd36month !== 0) {
1509
+ obj.dpd36month = Math.round(message.dpd36month);
1510
+ }
1511
+ if (message.dpd90_plus !== 0) {
1512
+ obj.dpd90_plus = Math.round(message.dpd90_plus);
1513
+ }
1514
+ if (message.dpd31to90 !== 0) {
1515
+ obj.dpd31to90 = Math.round(message.dpd31to90);
1516
+ }
1517
+ return obj;
1518
+ },
1519
+ create(base) {
1520
+ return exports.DPDCounts.fromPartial(base ?? {});
1521
+ },
1522
+ fromPartial(object) {
1523
+ const message = createBaseDPDCounts();
1524
+ message.dpd1to30 = object.dpd1to30 ?? 0;
1525
+ message.dpd36month = object.dpd36month ?? 0;
1526
+ message.dpd90_plus = object.dpd90_plus ?? 0;
1527
+ message.dpd31to90 = object.dpd31to90 ?? 0;
1528
+ return message;
1529
+ },
1530
+ };
1531
+ function createBaseEnquiriesData() {
1532
+ return { date_reported: "", enquiry_purpose: 0, reporting_member: "", loan_type: undefined };
1533
+ }
1534
+ exports.EnquiriesData = {
1535
+ encode(message, writer = minimal_1.default.Writer.create()) {
1536
+ if (message.date_reported !== "") {
1537
+ writer.uint32(10).string(message.date_reported);
1538
+ }
1539
+ if (message.enquiry_purpose !== 0) {
1540
+ writer.uint32(16).int32(message.enquiry_purpose);
1541
+ }
1542
+ if (message.reporting_member !== "") {
1543
+ writer.uint32(26).string(message.reporting_member);
1544
+ }
1545
+ if (message.loan_type !== undefined) {
1546
+ writer.uint32(34).string(message.loan_type);
1547
+ }
1548
+ return writer;
1549
+ },
1550
+ decode(input, length) {
1551
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
1552
+ let end = length === undefined ? reader.len : reader.pos + length;
1553
+ const message = createBaseEnquiriesData();
1554
+ while (reader.pos < end) {
1555
+ const tag = reader.uint32();
1556
+ switch (tag >>> 3) {
1557
+ case 1:
1558
+ if (tag !== 10) {
1559
+ break;
1560
+ }
1561
+ message.date_reported = reader.string();
1562
+ continue;
1563
+ case 2:
1564
+ if (tag !== 16) {
1565
+ break;
1566
+ }
1567
+ message.enquiry_purpose = reader.int32();
1568
+ continue;
1569
+ case 3:
1570
+ if (tag !== 26) {
1571
+ break;
1572
+ }
1573
+ message.reporting_member = reader.string();
1574
+ continue;
1575
+ case 4:
1576
+ if (tag !== 34) {
1577
+ break;
1578
+ }
1579
+ message.loan_type = reader.string();
1580
+ continue;
1581
+ }
1582
+ if ((tag & 7) === 4 || tag === 0) {
1583
+ break;
1584
+ }
1585
+ reader.skipType(tag & 7);
1586
+ }
1587
+ return message;
1588
+ },
1589
+ fromJSON(object) {
1590
+ return {
1591
+ date_reported: isSet(object.date_reported) ? globalThis.String(object.date_reported) : "",
1592
+ enquiry_purpose: isSet(object.enquiry_purpose) ? globalThis.Number(object.enquiry_purpose) : 0,
1593
+ reporting_member: isSet(object.reporting_member) ? globalThis.String(object.reporting_member) : "",
1594
+ loan_type: isSet(object.loan_type) ? globalThis.String(object.loan_type) : undefined,
1595
+ };
1596
+ },
1597
+ toJSON(message) {
1598
+ const obj = {};
1599
+ if (message.date_reported !== "") {
1600
+ obj.date_reported = message.date_reported;
1601
+ }
1602
+ if (message.enquiry_purpose !== 0) {
1603
+ obj.enquiry_purpose = Math.round(message.enquiry_purpose);
1604
+ }
1605
+ if (message.reporting_member !== "") {
1606
+ obj.reporting_member = message.reporting_member;
1607
+ }
1608
+ if (message.loan_type !== undefined) {
1609
+ obj.loan_type = message.loan_type;
1610
+ }
1611
+ return obj;
1612
+ },
1613
+ create(base) {
1614
+ return exports.EnquiriesData.fromPartial(base ?? {});
1615
+ },
1616
+ fromPartial(object) {
1617
+ const message = createBaseEnquiriesData();
1618
+ message.date_reported = object.date_reported ?? "";
1619
+ message.enquiry_purpose = object.enquiry_purpose ?? 0;
1620
+ message.reporting_member = object.reporting_member ?? "";
1621
+ message.loan_type = object.loan_type ?? undefined;
1622
+ return message;
1623
+ },
1624
+ };
1625
+ function longToNumber(long) {
1626
+ if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
1627
+ throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
1628
+ }
1629
+ if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
1630
+ throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
1631
+ }
1632
+ return long.toNumber();
1633
+ }
1634
+ if (minimal_1.default.util.Long !== long_1.default) {
1635
+ minimal_1.default.util.Long = long_1.default;
1636
+ minimal_1.default.configure();
1637
+ }
1638
+ function isSet(value) {
1639
+ return value !== null && value !== undefined;
1640
+ }