@stashfin/grpc 1.2.744 → 1.2.746

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 (365) hide show
  1. package/package.json +1 -1
  2. package/ts/banking/aa/getaasupport.js +2 -2
  3. package/ts/banking/aa/getbanklist.js +2 -2
  4. package/ts/banking/aa/getcustomerbank.js +2 -2
  5. package/ts/banking/aa/getrpdlink.js +2 -2
  6. package/ts/banking/aa/initiate.js +2 -2
  7. package/ts/banking/aa/initiatepennydrop.js +2 -2
  8. package/ts/banking/aa/netbankinginitiate.js +2 -2
  9. package/ts/banking/aa/pollingrpd.js +2 -2
  10. package/ts/banking.js +2 -2
  11. package/ts/bbps/getbills.js +2 -2
  12. package/ts/bbps.js +2 -2
  13. package/ts/bureau/getbasicdetails.js +2 -2
  14. package/ts/bureau/getbureauscore.js +2 -2
  15. package/ts/bureau/getcibilwebtoken.js +2 -2
  16. package/ts/bureau/getdbrcolending.js +2 -2
  17. package/ts/bureau/getdemogs.js +2 -2
  18. package/ts/bureau/getobligation.js +2 -2
  19. package/ts/bureau/getreport.js +2 -2
  20. package/ts/bureau/ischrenabled.js +2 -2
  21. package/ts/bureau.js +2 -2
  22. package/ts/ckyc/ckycdownload.js +2 -2
  23. package/ts/ckyc/ckycsearch.js +2 -2
  24. package/ts/ckyc.js +2 -2
  25. package/ts/colender/disburseLoan.js +2 -2
  26. package/ts/colender/forecloseLoan.js +2 -2
  27. package/ts/colender/repayLoan.js +2 -2
  28. package/ts/colender.js +2 -2
  29. package/ts/communications/bureauidwhatsapp.js +2 -2
  30. package/ts/communications.js +2 -2
  31. package/ts/customers/aa/getaatxnstatus.js +2 -2
  32. package/ts/customers/aa/getbanklist.js +2 -2
  33. package/ts/customers/aa/initiate.js +2 -2
  34. package/ts/customers/accidentprotectionplan.js +2 -2
  35. package/ts/customers/addaddress.js +2 -2
  36. package/ts/customers/addbankaccountdetails.js +2 -2
  37. package/ts/customers/addfathersname.js +2 -2
  38. package/ts/customers/addgstnumber.js +2 -2
  39. package/ts/customers/addmoredetails.js +2 -2
  40. package/ts/customers/addsuspendedcustomer.js +2 -2
  41. package/ts/customers/adduserapps.js +2 -2
  42. package/ts/customers/applyclijourney.js +2 -2
  43. package/ts/customers/bulksms.js +2 -2
  44. package/ts/customers/cb/cbapplicationrejecteddata.js +2 -2
  45. package/ts/customers/cb/cbpaynow.js +2 -2
  46. package/ts/customers/cb/cbsignup.js +2 -2
  47. package/ts/customers/cb/getcbtxnstatus.js +2 -2
  48. package/ts/customers/cb/getcreditbuilder.js +2 -2
  49. package/ts/customers/cb/getpaymentsummary.js +2 -2
  50. package/ts/customers/cb/insurancedetails.js +2 -2
  51. package/ts/customers/cb/lesscsimprove.js +2 -2
  52. package/ts/customers/cb/morecsimprove.js +2 -2
  53. package/ts/customers/cb/paynow.js +2 -2
  54. package/ts/customers/cb/savecreditbuilder.js +2 -2
  55. package/ts/customers/cb/updatecbstandalonecancellation.js +2 -2
  56. package/ts/customers/cb/updatecbstandaloneconfirmation.js +2 -2
  57. package/ts/customers/cb/updatecbstandalonejourney.js +2 -2
  58. package/ts/customers/cb/updatecbtxnstatus.js +2 -2
  59. package/ts/customers/changempin.js +2 -2
  60. package/ts/customers/createcustomerreference.js +2 -2
  61. package/ts/customers/createvanumber.js +2 -2
  62. package/ts/customers/customerinfo.js +2 -2
  63. package/ts/customers/deletedocument.js +2 -2
  64. package/ts/customers/deleteprofile.js +2 -2
  65. package/ts/customers/disablempin.js +2 -2
  66. package/ts/customers/enach/gettxnstatus.js +2 -2
  67. package/ts/customers/enach/getweburl.js +2 -2
  68. package/ts/customers/enach/updateenachtxnstatus.js +2 -2
  69. package/ts/customers/enach/updatetxnstatus.js +2 -2
  70. package/ts/customers/fetchrcprofile.js +2 -2
  71. package/ts/customers/floatingvideos.js +2 -2
  72. package/ts/customers/forceupdate.js +2 -2
  73. package/ts/customers/forgotmpin.js +2 -2
  74. package/ts/customers/forgotmpinverify.js +2 -2
  75. package/ts/customers/freedom/addressconfirmation.js +2 -2
  76. package/ts/customers/freedom/freedompaynow.js +2 -2
  77. package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
  78. package/ts/customers/freedom/updateadditionalverification.js +2 -2
  79. package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
  80. package/ts/customers/getaddresslist.js +2 -2
  81. package/ts/customers/getappsubmittedscreen.js +2 -2
  82. package/ts/customers/getbankaccountdetails.js +2 -2
  83. package/ts/customers/getbasicinfo.js +2 -2
  84. package/ts/customers/getcities.js +2 -2
  85. package/ts/customers/getclistatus.js +2 -2
  86. package/ts/customers/getcompanyaccdetails.js +2 -2
  87. package/ts/customers/getcustomer.d.ts +57 -0
  88. package/ts/customers/getcustomer.js +351 -0
  89. package/ts/customers/getcustomerbyid.js +2 -2
  90. package/ts/customers/getcustomerdetailsbymobile.js +2 -2
  91. package/ts/customers/getdashboard.js +2 -2
  92. package/ts/customers/getdashboardmaincard.js +2 -2
  93. package/ts/customers/getdocuments.js +2 -2
  94. package/ts/customers/getglobalpopups.js +2 -2
  95. package/ts/customers/getlimit.js +2 -2
  96. package/ts/customers/getloclimit.js +2 -2
  97. package/ts/customers/getmessengermode.js +2 -2
  98. package/ts/customers/getoccupationlist.js +2 -2
  99. package/ts/customers/getpaymentoptions.js +2 -2
  100. package/ts/customers/getprofessionalinfo.js +2 -2
  101. package/ts/customers/getprofile.js +2 -2
  102. package/ts/customers/getrecommendedtag.d.ts +35 -0
  103. package/ts/customers/getrecommendedtag.js +134 -0
  104. package/ts/customers/getrpdlink.d.ts +40 -0
  105. package/ts/customers/getrpdlink.js +190 -0
  106. package/ts/customers/getselfieetxnid.js +2 -2
  107. package/ts/customers/getstates.js +2 -2
  108. package/ts/customers/getstep.js +2 -2
  109. package/ts/customers/getsyncstatus.js +2 -2
  110. package/ts/customers/getvanumber.js +2 -2
  111. package/ts/customers/kyc/epfo.d.ts +38 -0
  112. package/ts/customers/kyc/epfo.js +149 -0
  113. package/ts/customers/lamf/applylamf.js +2 -2
  114. package/ts/customers/lamf/sendlamfotp.js +2 -2
  115. package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
  116. package/ts/customers/lamf/updatelamfjourney.js +2 -2
  117. package/ts/customers/lamf/verifylamfotp.js +2 -2
  118. package/ts/customers/lamf/verifylamfpledgeotp.js +2 -2
  119. package/ts/customers/logout.js +2 -2
  120. package/ts/customers/pd/getbanklist.js +2 -2
  121. package/ts/customers/pd/validatebankaccount.js +2 -2
  122. package/ts/customers/profilebasic.js +2 -2
  123. package/ts/customers/profileupdatetnc.js +2 -2
  124. package/ts/customers/resetbanner.js +2 -2
  125. package/ts/customers/restoreaccount.js +2 -2
  126. package/ts/customers/rpd/getrpdlink.js +2 -2
  127. package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
  128. package/ts/customers/rpd/mockpayment.js +2 -2
  129. package/ts/customers/saveappslist.js +2 -2
  130. package/ts/customers/savebasicdetails.js +2 -2
  131. package/ts/customers/savelimit.js +2 -2
  132. package/ts/customers/saveunlocklimit.js +2 -2
  133. package/ts/customers/sendemailtoken.d.ts +35 -0
  134. package/ts/customers/sendemailtoken.js +117 -0
  135. package/ts/customers/sendotp.js +2 -2
  136. package/ts/customers/sendotptoemail.js +2 -2
  137. package/ts/customers/setmpin.js +2 -2
  138. package/ts/customers/skipdlrcscreen.d.ts +35 -0
  139. package/ts/customers/skipdlrcscreen.js +117 -0
  140. package/ts/customers/skipscreen.js +2 -2
  141. package/ts/customers/step1.d.ts +69 -0
  142. package/ts/customers/step1.js +395 -0
  143. package/ts/customers/step10.d.ts +73 -0
  144. package/ts/customers/step10.js +459 -0
  145. package/ts/customers/step2.d.ts +68 -0
  146. package/ts/customers/step2.js +381 -0
  147. package/ts/customers/step7.d.ts +68 -0
  148. package/ts/customers/step7.js +381 -0
  149. package/ts/customers/step8.d.ts +69 -0
  150. package/ts/customers/step8.js +395 -0
  151. package/ts/customers/step9.d.ts +75 -0
  152. package/ts/customers/step9.js +489 -0
  153. package/ts/customers/stepstatic.d.ts +66 -0
  154. package/ts/customers/stepstatic.js +354 -0
  155. package/ts/customers/submituploadeddocuments.js +2 -2
  156. package/ts/customers/syncdecisionengine.js +2 -2
  157. package/ts/customers/updatecategory.js +2 -2
  158. package/ts/customers/updatecongratulationstep.js +2 -2
  159. package/ts/customers/updatecustomerbyid.js +2 -2
  160. package/ts/customers/updatedlnumber.js +2 -2
  161. package/ts/customers/updatedob.js +2 -2
  162. package/ts/customers/updatelocstatus.js +2 -2
  163. package/ts/customers/updatemobilesendotp.js +2 -2
  164. package/ts/customers/updatemobileverifyotp.js +2 -2
  165. package/ts/customers/updateokyctxn.js +2 -2
  166. package/ts/customers/updatesanctionamount.js +2 -2
  167. package/ts/customers/updateselfieetxn.js +2 -2
  168. package/ts/customers/updatesyncstatus.js +2 -2
  169. package/ts/customers/updatevehiclenumber.js +2 -2
  170. package/ts/customers/uploaddocuments.js +2 -2
  171. package/ts/customers/validatepan.js +2 -2
  172. package/ts/customers/verifyemail.d.ts +35 -0
  173. package/ts/{loans/getvirtualaccountnumber.js → customers/verifyemail.js} +32 -32
  174. package/ts/customers/verifympin.js +2 -2
  175. package/ts/customers/verifyotp.js +2 -2
  176. package/ts/customers/verifyotptoemail.js +2 -2
  177. package/ts/customers.js +2 -2
  178. package/ts/decisionengine/decisionengine.js +2 -2
  179. package/ts/decisionengine/decisionenginetrigger.js +2 -2
  180. package/ts/decisionengine/locdisbursalapproval.js +2 -2
  181. package/ts/decisionengine/saveconsent.js +2 -2
  182. package/ts/decisionengine.js +2 -2
  183. package/ts/deveqxcustomers.js +2 -2
  184. package/ts/devupi.js +2 -2
  185. package/ts/documents/getagreement.js +2 -2
  186. package/ts/documents/getfinancialdoc.js +2 -2
  187. package/ts/documents.js +2 -2
  188. package/ts/eqxcustomer.js +2 -2
  189. package/ts/eqxcustomers/authenticateuser.js +2 -2
  190. package/ts/eqxcustomers/creditguidance.js +2 -2
  191. package/ts/eqxcustomers/getbankaccount.js +2 -2
  192. package/ts/eqxcustomers/getcustomerbyid.js +2 -2
  193. package/ts/eqxcustomers/getcustomerbymobile.js +2 -2
  194. package/ts/eqxcustomers/getdashboard.js +2 -2
  195. package/ts/eqxcustomers/getdashboardmaincard.js +2 -2
  196. package/ts/eqxcustomers/getloanplans.js +2 -2
  197. package/ts/eqxcustomers/getnotifications.js +2 -2
  198. package/ts/eqxcustomers/getstashscorecustomerprofile.js +2 -2
  199. package/ts/eqxcustomers/gettnc.js +2 -2
  200. package/ts/eqxcustomers/gettokens.js +2 -2
  201. package/ts/eqxcustomers/iscustomerregistered.js +2 -2
  202. package/ts/eqxcustomers/sendotp.js +2 -2
  203. package/ts/eqxcustomers/truecallerlogin.js +2 -2
  204. package/ts/eqxcustomers/updatecustomer.js +2 -2
  205. package/ts/eqxcustomers/updatenotification.js +2 -2
  206. package/ts/eqxcustomers/updatepushid.js +2 -2
  207. package/ts/eqxcustomers/updatesubscriptionstatus.js +2 -2
  208. package/ts/eqxcustomers/verifyotp.js +2 -2
  209. package/ts/eqxcustomers/verifytoken.js +2 -2
  210. package/ts/example.js +2 -2
  211. package/ts/feepayments/getbanklist.js +2 -2
  212. package/ts/feepayments.js +2 -2
  213. package/ts/google/protobuf/struct.d.ts +121 -0
  214. package/ts/google/protobuf/struct.js +449 -0
  215. package/ts/google/protobuf/timestamp.d.ts +127 -0
  216. package/ts/google/protobuf/timestamp.js +97 -0
  217. package/ts/growth/checkplanstatus.js +2 -2
  218. package/ts/growth/getattachplandetails.js +2 -2
  219. package/ts/growth/getchrpaymentstatus.js +2 -2
  220. package/ts/growth/getchrpdfurl.js +2 -2
  221. package/ts/growth/getchrplans.js +2 -2
  222. package/ts/growth/getchrreport.d.ts +42 -0
  223. package/ts/growth/getchrreport.js +300 -4
  224. package/ts/growth/getchrreportdata.js +2 -2
  225. package/ts/growth/getchrsubscriptionplan.js +2 -2
  226. package/ts/growth/getchrvideourl.js +2 -2
  227. package/ts/growth/getcredithealthreport.js +2 -2
  228. package/ts/growth/initiatepayment.js +2 -2
  229. package/ts/growth/notifychrpayment.js +2 -2
  230. package/ts/growth/processchrpayment.js +2 -2
  231. package/ts/growth.js +2 -2
  232. package/ts/kyc/amldetails.js +2 -2
  233. package/ts/kyc/authbridgepancomprehend.js +2 -2
  234. package/ts/kyc/bureauidwhatsapp.js +2 -2
  235. package/ts/kyc/epfo/fetchUANList.d.ts +35 -0
  236. package/ts/kyc/epfo/fetchUANList.js +119 -0
  237. package/ts/kyc/facematch.js +2 -2
  238. package/ts/kyc/fetchaadhaarbypan.js +2 -2
  239. package/ts/kyc/fetchemploymenthistory.js +2 -2
  240. package/ts/kyc/fetchuanlist.js +2 -2
  241. package/ts/kyc/getselfietxn.d.ts +37 -0
  242. package/ts/kyc/getselfietxn.js +161 -0
  243. package/ts/kyc/getselfietxnid.js +2 -2
  244. package/ts/kyc/getselfieurl.js +2 -2
  245. package/ts/kyc/nsdlpanvalidate.js +2 -2
  246. package/ts/kyc.js +2 -2
  247. package/ts/lamf/getloandetails.js +2 -2
  248. package/ts/lamf/submitotp.js +2 -2
  249. package/ts/lamf/validateuser.js +2 -2
  250. package/ts/lamf.js +2 -2
  251. package/ts/loans/addreference.js +2 -2
  252. package/ts/loans/addrefrences.d.ts +49 -0
  253. package/ts/loans/addrefrences.js +229 -0
  254. package/ts/loans/amortization.js +2 -2
  255. package/ts/loans/approveloan.js +2 -2
  256. package/ts/loans/banklist.js +2 -2
  257. package/ts/loans/calculateemi.js +2 -2
  258. package/ts/loans/cbloan.js +2 -2
  259. package/ts/loans/createlamfloan.js +2 -2
  260. package/ts/loans/createpenalty.js +2 -2
  261. package/ts/loans/creditlimit.js +2 -2
  262. package/ts/loans/emimoredetails.js +2 -2
  263. package/ts/loans/fcppayment.js +2 -2
  264. package/ts/loans/forecloseamount.js +2 -2
  265. package/ts/loans/foreclosepayment.js +2 -2
  266. package/ts/loans/futurepaymentmoredetails.js +2 -2
  267. package/ts/loans/getaddonslist.js +2 -2
  268. package/ts/loans/getbankdetails.js +2 -2
  269. package/ts/loans/getbilldetails.js +2 -2
  270. package/ts/loans/getcbloandetails.js +2 -2
  271. package/ts/loans/getchrdetails.js +2 -2
  272. package/ts/loans/getcustomerloanstatus.js +2 -2
  273. package/ts/loans/getforecloseamount.js +2 -2
  274. package/ts/loans/getloanbyid.js +2 -2
  275. package/ts/loans/getlocconfirms.js +2 -2
  276. package/ts/loans/getlocdetails.d.ts +24 -0
  277. package/ts/loans/getlocdetails.js +256 -5
  278. package/ts/loans/getlocdisburse.d.ts +3 -0
  279. package/ts/loans/getlocdisburse.js +48 -4
  280. package/ts/loans/getlocpartnerconfirm.d.ts +46 -0
  281. package/ts/loans/getlocpartnerconfirm.js +287 -0
  282. package/ts/loans/getlocpartnertenure.d.ts +57 -0
  283. package/ts/loans/getlocpartnertenure.js +339 -0
  284. package/ts/loans/getloctenure.js +2 -2
  285. package/ts/loans/getlocwithdraw.js +2 -2
  286. package/ts/loans/getlocwithdrawform.js +2 -2
  287. package/ts/loans/getnextdueamount.js +2 -2
  288. package/ts/loans/getpartnerlocwithdraw.d.ts +111 -0
  289. package/ts/loans/getpartnerlocwithdraw.js +1289 -0
  290. package/ts/loans/getpaymentoptions.js +2 -2
  291. package/ts/loans/getpendingemiamount.js +2 -2
  292. package/ts/loans/getsetubilldetails.js +2 -2
  293. package/ts/loans/getsummarystaticfields.js +2 -2
  294. package/ts/loans/gettransactionstatus.js +2 -2
  295. package/ts/loans/getusedlimit.js +2 -2
  296. package/ts/loans/getvirtualbankinfo.js +2 -2
  297. package/ts/loans/loansummary.js +2 -2
  298. package/ts/loans/locrequested.js +2 -2
  299. package/ts/loans/manualpaymentallocation.js +2 -2
  300. package/ts/loans/paymentallocation.js +2 -2
  301. package/ts/loans/paymenthistory.js +2 -2
  302. package/ts/loans/paynow.js +2 -2
  303. package/ts/loans/refund.js +2 -2
  304. package/ts/loans/restructureloan.js +2 -2
  305. package/ts/loans/rollback.js +2 -2
  306. package/ts/loans/rollbackextrapayment.js +2 -2
  307. package/ts/loans/sendemail.js +2 -2
  308. package/ts/loans/sendnocemail.js +2 -2
  309. package/ts/loans/transactionlist.js +2 -2
  310. package/ts/loans/updatecollectionview.js +2 -2
  311. package/ts/loans/updateinstallments.js +2 -2
  312. package/ts/loans/updateloan.js +2 -2
  313. package/ts/loans/updatetransactionstatus.js +2 -2
  314. package/ts/loans.js +2 -2
  315. package/ts/payments/checkpaymentstatus.js +2 -2
  316. package/ts/payments/fundtransfer.js +2 -2
  317. package/ts/payments/getpaymentoptions.js +2 -2
  318. package/ts/payments/initiatepayment.js +2 -2
  319. package/ts/payments/nachpresentation.js +2 -2
  320. package/ts/payments/nachregistration.js +2 -2
  321. package/ts/payments.js +2 -2
  322. package/ts/paymentsnode.js +2 -2
  323. package/ts/rewards/getoffers.js +2 -2
  324. package/ts/rewards/redeemoffer.js +2 -2
  325. package/ts/rewards.js +2 -2
  326. package/ts/stashcash/creditsc.js +2 -2
  327. package/ts/stashcash/debitsc.js +2 -2
  328. package/ts/stashcash/getscbalance.js +2 -2
  329. package/ts/stashcash/getschistory.js +2 -2
  330. package/ts/stashcash/reversesc.js +2 -2
  331. package/ts/stashcash.js +2 -2
  332. package/ts/upi/addaccount.js +2 -2
  333. package/ts/upi/addupinumber.d.ts +39 -0
  334. package/ts/upi/addupinumber.js +177 -0
  335. package/ts/upi/addvpa.d.ts +36 -0
  336. package/ts/upi/addvpa.js +133 -0
  337. package/ts/upi/blockvpa.js +2 -2
  338. package/ts/upi/checkderegisterpermission.js +2 -2
  339. package/ts/upi/checktransactionstatus.js +2 -2
  340. package/ts/upi/declinemandate.js +2 -2
  341. package/ts/upi/deregisterprofile.js +2 -2
  342. package/ts/upi/getaccountsbyprovider.js +2 -2
  343. package/ts/upi/getallmandates.js +2 -2
  344. package/ts/upi/getavailablevpa.js +2 -2
  345. package/ts/upi/getlistedaccountproviders.js +2 -2
  346. package/ts/upi/getmandatedetails.js +2 -2
  347. package/ts/upi/getmandatehistory.js +2 -2
  348. package/ts/upi/getpendingcollectrequest.js +2 -2
  349. package/ts/upi/getprofile.js +2 -2
  350. package/ts/upi/getrecentcontacts.js +2 -2
  351. package/ts/upi/gettransactions.js +2 -2
  352. package/ts/upi/getupinumbers.js +2 -2
  353. package/ts/upi/initiatemandateaction.js +2 -2
  354. package/ts/upi/initiatetransaction.js +2 -2
  355. package/ts/upi/listblockedvpa.js +2 -2
  356. package/ts/upi/suggestvpa.d.ts +35 -0
  357. package/ts/upi/suggestvpa.js +122 -0
  358. package/ts/upi/unblockvpa.js +2 -2
  359. package/ts/upi/updatedevicebinding.js +2 -2
  360. package/ts/upi/updatedevicelinking.js +2 -2
  361. package/ts/upi/upinumberoperations.js +2 -2
  362. package/ts/upi/validateifsc.js +2 -2
  363. package/ts/upi/validatevpa.js +2 -2
  364. package/ts/upi.js +2 -2
  365. package/ts/loans/getvirtualaccountnumber.d.ts +0 -35
@@ -1,25 +1,37 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.30.2
6
6
  // source: loans/getlocdetails.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
9
9
  };
10
10
  Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.GetLocDetailsResponse = exports.GetLocDetailsRequest = exports.protobufPackage = void 0;
11
+ exports.GetLocDetailsResponse = exports.InsuranceDescItem = exports.GetLocDetailsRequest = exports.protobufPackage = void 0;
12
12
  /* eslint-disable */
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "loans.getlocdetails";
15
15
  function createBaseGetLocDetailsRequest() {
16
- return { customer_id: 0 };
16
+ return { customer_id: 0, pcr_enable: false, credit_shield_enable: false, credit_shield_opt: false, pcr_opt: false };
17
17
  }
18
18
  exports.GetLocDetailsRequest = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
20
20
  if (message.customer_id !== 0) {
21
21
  writer.uint32(8).int32(message.customer_id);
22
22
  }
23
+ if (message.pcr_enable !== false) {
24
+ writer.uint32(16).bool(message.pcr_enable);
25
+ }
26
+ if (message.credit_shield_enable !== false) {
27
+ writer.uint32(24).bool(message.credit_shield_enable);
28
+ }
29
+ if (message.credit_shield_opt !== false) {
30
+ writer.uint32(32).bool(message.credit_shield_opt);
31
+ }
32
+ if (message.pcr_opt !== false) {
33
+ writer.uint32(40).bool(message.pcr_opt);
34
+ }
23
35
  return writer;
24
36
  },
25
37
  decode(input, length) {
@@ -35,6 +47,30 @@ exports.GetLocDetailsRequest = {
35
47
  }
36
48
  message.customer_id = reader.int32();
37
49
  continue;
50
+ case 2:
51
+ if (tag !== 16) {
52
+ break;
53
+ }
54
+ message.pcr_enable = reader.bool();
55
+ continue;
56
+ case 3:
57
+ if (tag !== 24) {
58
+ break;
59
+ }
60
+ message.credit_shield_enable = reader.bool();
61
+ continue;
62
+ case 4:
63
+ if (tag !== 32) {
64
+ break;
65
+ }
66
+ message.credit_shield_opt = reader.bool();
67
+ continue;
68
+ case 5:
69
+ if (tag !== 40) {
70
+ break;
71
+ }
72
+ message.pcr_opt = reader.bool();
73
+ continue;
38
74
  }
39
75
  if ((tag & 7) === 4 || tag === 0) {
40
76
  break;
@@ -44,13 +80,33 @@ exports.GetLocDetailsRequest = {
44
80
  return message;
45
81
  },
46
82
  fromJSON(object) {
47
- return { customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0 };
83
+ return {
84
+ customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
85
+ pcr_enable: isSet(object.pcr_enable) ? globalThis.Boolean(object.pcr_enable) : false,
86
+ credit_shield_enable: isSet(object.credit_shield_enable)
87
+ ? globalThis.Boolean(object.credit_shield_enable)
88
+ : false,
89
+ credit_shield_opt: isSet(object.credit_shield_opt) ? globalThis.Boolean(object.credit_shield_opt) : false,
90
+ pcr_opt: isSet(object.pcr_opt) ? globalThis.Boolean(object.pcr_opt) : false,
91
+ };
48
92
  },
49
93
  toJSON(message) {
50
94
  const obj = {};
51
95
  if (message.customer_id !== 0) {
52
96
  obj.customer_id = Math.round(message.customer_id);
53
97
  }
98
+ if (message.pcr_enable !== false) {
99
+ obj.pcr_enable = message.pcr_enable;
100
+ }
101
+ if (message.credit_shield_enable !== false) {
102
+ obj.credit_shield_enable = message.credit_shield_enable;
103
+ }
104
+ if (message.credit_shield_opt !== false) {
105
+ obj.credit_shield_opt = message.credit_shield_opt;
106
+ }
107
+ if (message.pcr_opt !== false) {
108
+ obj.pcr_opt = message.pcr_opt;
109
+ }
54
110
  return obj;
55
111
  },
56
112
  create(base) {
@@ -59,6 +115,90 @@ exports.GetLocDetailsRequest = {
59
115
  fromPartial(object) {
60
116
  const message = createBaseGetLocDetailsRequest();
61
117
  message.customer_id = object.customer_id ?? 0;
118
+ message.pcr_enable = object.pcr_enable ?? false;
119
+ message.credit_shield_enable = object.credit_shield_enable ?? false;
120
+ message.credit_shield_opt = object.credit_shield_opt ?? false;
121
+ message.pcr_opt = object.pcr_opt ?? false;
122
+ return message;
123
+ },
124
+ };
125
+ function createBaseInsuranceDescItem() {
126
+ return { title: "", desc: "", icon: "" };
127
+ }
128
+ exports.InsuranceDescItem = {
129
+ encode(message, writer = minimal_1.default.Writer.create()) {
130
+ if (message.title !== "") {
131
+ writer.uint32(10).string(message.title);
132
+ }
133
+ if (message.desc !== "") {
134
+ writer.uint32(18).string(message.desc);
135
+ }
136
+ if (message.icon !== "") {
137
+ writer.uint32(26).string(message.icon);
138
+ }
139
+ return writer;
140
+ },
141
+ decode(input, length) {
142
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
143
+ let end = length === undefined ? reader.len : reader.pos + length;
144
+ const message = createBaseInsuranceDescItem();
145
+ while (reader.pos < end) {
146
+ const tag = reader.uint32();
147
+ switch (tag >>> 3) {
148
+ case 1:
149
+ if (tag !== 10) {
150
+ break;
151
+ }
152
+ message.title = reader.string();
153
+ continue;
154
+ case 2:
155
+ if (tag !== 18) {
156
+ break;
157
+ }
158
+ message.desc = reader.string();
159
+ continue;
160
+ case 3:
161
+ if (tag !== 26) {
162
+ break;
163
+ }
164
+ message.icon = reader.string();
165
+ continue;
166
+ }
167
+ if ((tag & 7) === 4 || tag === 0) {
168
+ break;
169
+ }
170
+ reader.skipType(tag & 7);
171
+ }
172
+ return message;
173
+ },
174
+ fromJSON(object) {
175
+ return {
176
+ title: isSet(object.title) ? globalThis.String(object.title) : "",
177
+ desc: isSet(object.desc) ? globalThis.String(object.desc) : "",
178
+ icon: isSet(object.icon) ? globalThis.String(object.icon) : "",
179
+ };
180
+ },
181
+ toJSON(message) {
182
+ const obj = {};
183
+ if (message.title !== "") {
184
+ obj.title = message.title;
185
+ }
186
+ if (message.desc !== "") {
187
+ obj.desc = message.desc;
188
+ }
189
+ if (message.icon !== "") {
190
+ obj.icon = message.icon;
191
+ }
192
+ return obj;
193
+ },
194
+ create(base) {
195
+ return exports.InsuranceDescItem.fromPartial(base ?? {});
196
+ },
197
+ fromPartial(object) {
198
+ const message = createBaseInsuranceDescItem();
199
+ message.title = object.title ?? "";
200
+ message.desc = object.desc ?? "";
201
+ message.icon = object.icon ?? "";
62
202
  return message;
63
203
  },
64
204
  };
@@ -133,6 +273,13 @@ function createBaseGetLocDetailsResponse() {
133
273
  key_fact_statement: "",
134
274
  sanction_letter: "",
135
275
  financing_documents: "",
276
+ max_amount: 0,
277
+ credit_report_fees: 0,
278
+ credit_report_actual_fees: 0,
279
+ plan_id: "",
280
+ insurance_title: "",
281
+ insurance_desc: [],
282
+ upfront_interest_description: "",
136
283
  };
137
284
  }
138
285
  exports.GetLocDetailsResponse = {
@@ -344,6 +491,27 @@ exports.GetLocDetailsResponse = {
344
491
  if (message.financing_documents !== "") {
345
492
  writer.uint32(554).string(message.financing_documents);
346
493
  }
494
+ if (message.max_amount !== 0) {
495
+ writer.uint32(560).int32(message.max_amount);
496
+ }
497
+ if (message.credit_report_fees !== 0) {
498
+ writer.uint32(568).int32(message.credit_report_fees);
499
+ }
500
+ if (message.credit_report_actual_fees !== 0) {
501
+ writer.uint32(576).int32(message.credit_report_actual_fees);
502
+ }
503
+ if (message.plan_id !== "") {
504
+ writer.uint32(586).string(message.plan_id);
505
+ }
506
+ if (message.insurance_title !== "") {
507
+ writer.uint32(594).string(message.insurance_title);
508
+ }
509
+ for (const v of message.insurance_desc) {
510
+ exports.InsuranceDescItem.encode(v, writer.uint32(602).fork()).ldelim();
511
+ }
512
+ if (message.upfront_interest_description !== "") {
513
+ writer.uint32(610).string(message.upfront_interest_description);
514
+ }
347
515
  return writer;
348
516
  },
349
517
  decode(input, length) {
@@ -767,6 +935,48 @@ exports.GetLocDetailsResponse = {
767
935
  }
768
936
  message.financing_documents = reader.string();
769
937
  continue;
938
+ case 70:
939
+ if (tag !== 560) {
940
+ break;
941
+ }
942
+ message.max_amount = reader.int32();
943
+ continue;
944
+ case 71:
945
+ if (tag !== 568) {
946
+ break;
947
+ }
948
+ message.credit_report_fees = reader.int32();
949
+ continue;
950
+ case 72:
951
+ if (tag !== 576) {
952
+ break;
953
+ }
954
+ message.credit_report_actual_fees = reader.int32();
955
+ continue;
956
+ case 73:
957
+ if (tag !== 586) {
958
+ break;
959
+ }
960
+ message.plan_id = reader.string();
961
+ continue;
962
+ case 74:
963
+ if (tag !== 594) {
964
+ break;
965
+ }
966
+ message.insurance_title = reader.string();
967
+ continue;
968
+ case 75:
969
+ if (tag !== 602) {
970
+ break;
971
+ }
972
+ message.insurance_desc.push(exports.InsuranceDescItem.decode(reader, reader.uint32()));
973
+ continue;
974
+ case 76:
975
+ if (tag !== 610) {
976
+ break;
977
+ }
978
+ message.upfront_interest_description = reader.string();
979
+ continue;
770
980
  }
771
981
  if ((tag & 7) === 4 || tag === 0) {
772
982
  break;
@@ -868,6 +1078,19 @@ exports.GetLocDetailsResponse = {
868
1078
  key_fact_statement: isSet(object.key_fact_statement) ? globalThis.String(object.key_fact_statement) : "",
869
1079
  sanction_letter: isSet(object.sanction_letter) ? globalThis.String(object.sanction_letter) : "",
870
1080
  financing_documents: isSet(object.financing_documents) ? globalThis.String(object.financing_documents) : "",
1081
+ max_amount: isSet(object.max_amount) ? globalThis.Number(object.max_amount) : 0,
1082
+ credit_report_fees: isSet(object.credit_report_fees) ? globalThis.Number(object.credit_report_fees) : 0,
1083
+ credit_report_actual_fees: isSet(object.credit_report_actual_fees)
1084
+ ? globalThis.Number(object.credit_report_actual_fees)
1085
+ : 0,
1086
+ plan_id: isSet(object.plan_id) ? globalThis.String(object.plan_id) : "",
1087
+ insurance_title: isSet(object.insurance_title) ? globalThis.String(object.insurance_title) : "",
1088
+ insurance_desc: globalThis.Array.isArray(object?.insurance_desc)
1089
+ ? object.insurance_desc.map((e) => exports.InsuranceDescItem.fromJSON(e))
1090
+ : [],
1091
+ upfront_interest_description: isSet(object.upfront_interest_description)
1092
+ ? globalThis.String(object.upfront_interest_description)
1093
+ : "",
871
1094
  };
872
1095
  },
873
1096
  toJSON(message) {
@@ -1079,6 +1302,27 @@ exports.GetLocDetailsResponse = {
1079
1302
  if (message.financing_documents !== "") {
1080
1303
  obj.financing_documents = message.financing_documents;
1081
1304
  }
1305
+ if (message.max_amount !== 0) {
1306
+ obj.max_amount = Math.round(message.max_amount);
1307
+ }
1308
+ if (message.credit_report_fees !== 0) {
1309
+ obj.credit_report_fees = Math.round(message.credit_report_fees);
1310
+ }
1311
+ if (message.credit_report_actual_fees !== 0) {
1312
+ obj.credit_report_actual_fees = Math.round(message.credit_report_actual_fees);
1313
+ }
1314
+ if (message.plan_id !== "") {
1315
+ obj.plan_id = message.plan_id;
1316
+ }
1317
+ if (message.insurance_title !== "") {
1318
+ obj.insurance_title = message.insurance_title;
1319
+ }
1320
+ if (message.insurance_desc?.length) {
1321
+ obj.insurance_desc = message.insurance_desc.map((e) => exports.InsuranceDescItem.toJSON(e));
1322
+ }
1323
+ if (message.upfront_interest_description !== "") {
1324
+ obj.upfront_interest_description = message.upfront_interest_description;
1325
+ }
1082
1326
  return obj;
1083
1327
  },
1084
1328
  create(base) {
@@ -1155,6 +1399,13 @@ exports.GetLocDetailsResponse = {
1155
1399
  message.key_fact_statement = object.key_fact_statement ?? "";
1156
1400
  message.sanction_letter = object.sanction_letter ?? "";
1157
1401
  message.financing_documents = object.financing_documents ?? "";
1402
+ message.max_amount = object.max_amount ?? 0;
1403
+ message.credit_report_fees = object.credit_report_fees ?? 0;
1404
+ message.credit_report_actual_fees = object.credit_report_actual_fees ?? 0;
1405
+ message.plan_id = object.plan_id ?? "";
1406
+ message.insurance_title = object.insurance_title ?? "";
1407
+ message.insurance_desc = object.insurance_desc?.map((e) => exports.InsuranceDescItem.fromPartial(e)) || [];
1408
+ message.upfront_interest_description = object.upfront_interest_description ?? "";
1158
1409
  return message;
1159
1410
  },
1160
1411
  };
@@ -2,6 +2,9 @@ import _m0 from "protobufjs/minimal";
2
2
  export declare const protobufPackage = "loans.getlocdisburse";
3
3
  export interface GetLocDisburseRequest {
4
4
  customer_id: number;
5
+ credit_report_fees: number;
6
+ max_amount: number;
7
+ plan_id: string;
5
8
  }
6
9
  export interface GetLocDisburseResponse {
7
10
  msg?: string | undefined;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.30.2
6
6
  // source: loans/getlocdisburse.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -13,13 +13,22 @@ exports.GetLocDisburseResponse = exports.GetLocDisburseRequest = exports.protobu
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "loans.getlocdisburse";
15
15
  function createBaseGetLocDisburseRequest() {
16
- return { customer_id: 0 };
16
+ return { customer_id: 0, credit_report_fees: 0, max_amount: 0, plan_id: "" };
17
17
  }
18
18
  exports.GetLocDisburseRequest = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
20
20
  if (message.customer_id !== 0) {
21
21
  writer.uint32(8).int32(message.customer_id);
22
22
  }
23
+ if (message.credit_report_fees !== 0) {
24
+ writer.uint32(16).int32(message.credit_report_fees);
25
+ }
26
+ if (message.max_amount !== 0) {
27
+ writer.uint32(24).int32(message.max_amount);
28
+ }
29
+ if (message.plan_id !== "") {
30
+ writer.uint32(34).string(message.plan_id);
31
+ }
23
32
  return writer;
24
33
  },
25
34
  decode(input, length) {
@@ -35,6 +44,24 @@ exports.GetLocDisburseRequest = {
35
44
  }
36
45
  message.customer_id = reader.int32();
37
46
  continue;
47
+ case 2:
48
+ if (tag !== 16) {
49
+ break;
50
+ }
51
+ message.credit_report_fees = reader.int32();
52
+ continue;
53
+ case 3:
54
+ if (tag !== 24) {
55
+ break;
56
+ }
57
+ message.max_amount = reader.int32();
58
+ continue;
59
+ case 4:
60
+ if (tag !== 34) {
61
+ break;
62
+ }
63
+ message.plan_id = reader.string();
64
+ continue;
38
65
  }
39
66
  if ((tag & 7) === 4 || tag === 0) {
40
67
  break;
@@ -44,13 +71,27 @@ exports.GetLocDisburseRequest = {
44
71
  return message;
45
72
  },
46
73
  fromJSON(object) {
47
- return { customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0 };
74
+ return {
75
+ customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
76
+ credit_report_fees: isSet(object.credit_report_fees) ? globalThis.Number(object.credit_report_fees) : 0,
77
+ max_amount: isSet(object.max_amount) ? globalThis.Number(object.max_amount) : 0,
78
+ plan_id: isSet(object.plan_id) ? globalThis.String(object.plan_id) : "",
79
+ };
48
80
  },
49
81
  toJSON(message) {
50
82
  const obj = {};
51
83
  if (message.customer_id !== 0) {
52
84
  obj.customer_id = Math.round(message.customer_id);
53
85
  }
86
+ if (message.credit_report_fees !== 0) {
87
+ obj.credit_report_fees = Math.round(message.credit_report_fees);
88
+ }
89
+ if (message.max_amount !== 0) {
90
+ obj.max_amount = Math.round(message.max_amount);
91
+ }
92
+ if (message.plan_id !== "") {
93
+ obj.plan_id = message.plan_id;
94
+ }
54
95
  return obj;
55
96
  },
56
97
  create(base) {
@@ -59,6 +100,9 @@ exports.GetLocDisburseRequest = {
59
100
  fromPartial(object) {
60
101
  const message = createBaseGetLocDisburseRequest();
61
102
  message.customer_id = object.customer_id ?? 0;
103
+ message.credit_report_fees = object.credit_report_fees ?? 0;
104
+ message.max_amount = object.max_amount ?? 0;
105
+ message.plan_id = object.plan_id ?? "";
62
106
  return message;
63
107
  },
64
108
  };
@@ -0,0 +1,46 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "loans.getlocpartnerconfirm";
3
+ export interface GetLocPartnerConfirmRequest {
4
+ amount: number;
5
+ tenure: number;
6
+ is_fip: boolean;
7
+ credit_report_fees: number;
8
+ early_foreclosure_fee: number;
9
+ is_fcp: boolean;
10
+ txn_id: string;
11
+ max_amount: number;
12
+ gateway_fees?: number | undefined;
13
+ plan_id: number;
14
+ gateway_type: string;
15
+ }
16
+ export interface GetLocPartnerConfirmResponse {
17
+ msg: string;
18
+ status: string;
19
+ }
20
+ export declare const GetLocPartnerConfirmRequest: {
21
+ encode(message: GetLocPartnerConfirmRequest, writer?: _m0.Writer): _m0.Writer;
22
+ decode(input: _m0.Reader | Uint8Array, length?: number): GetLocPartnerConfirmRequest;
23
+ fromJSON(object: any): GetLocPartnerConfirmRequest;
24
+ toJSON(message: GetLocPartnerConfirmRequest): unknown;
25
+ create<I extends Exact<DeepPartial<GetLocPartnerConfirmRequest>, I>>(base?: I): GetLocPartnerConfirmRequest;
26
+ fromPartial<I extends Exact<DeepPartial<GetLocPartnerConfirmRequest>, I>>(object: I): GetLocPartnerConfirmRequest;
27
+ };
28
+ export declare const GetLocPartnerConfirmResponse: {
29
+ encode(message: GetLocPartnerConfirmResponse, writer?: _m0.Writer): _m0.Writer;
30
+ decode(input: _m0.Reader | Uint8Array, length?: number): GetLocPartnerConfirmResponse;
31
+ fromJSON(object: any): GetLocPartnerConfirmResponse;
32
+ toJSON(message: GetLocPartnerConfirmResponse): unknown;
33
+ create<I extends Exact<DeepPartial<GetLocPartnerConfirmResponse>, I>>(base?: I): GetLocPartnerConfirmResponse;
34
+ fromPartial<I extends Exact<DeepPartial<GetLocPartnerConfirmResponse>, I>>(object: I): GetLocPartnerConfirmResponse;
35
+ };
36
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
37
+ 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 {} ? {
38
+ [K in keyof T]?: DeepPartial<T[K]>;
39
+ } : Partial<T>;
40
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
41
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
42
+ [K in keyof P]: Exact<P[K], I[K]>;
43
+ } & {
44
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
45
+ };
46
+ export {};