@stashfin/grpc 1.2.647 → 1.2.649

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 (353) hide show
  1. package/package.json +1 -1
  2. package/ts/banking/aa/getaasupport.js +1 -1
  3. package/ts/banking/aa/getbanklist.js +1 -1
  4. package/ts/banking/aa/getcustomerbank.d.ts +1 -0
  5. package/ts/banking/aa/getcustomerbank.js +16 -1
  6. package/ts/banking/aa/getrpdlink.js +1 -1
  7. package/ts/banking/aa/initiate.js +1 -1
  8. package/ts/banking/aa/initiatepennydrop.js +1 -1
  9. package/ts/banking/aa/netbankinginitiate.js +1 -1
  10. package/ts/banking/aa/pollingrpd.js +1 -1
  11. package/ts/banking.js +1 -1
  12. package/ts/bureau/getbasicdetails.js +1 -1
  13. package/ts/bureau/getcibilwebtoken.js +1 -1
  14. package/ts/bureau/getdbrcolending.js +1 -1
  15. package/ts/bureau/getdemogs.js +1 -1
  16. package/ts/bureau/getobligation.js +1 -1
  17. package/ts/bureau/getreport.js +1 -1
  18. package/ts/bureau.js +1 -1
  19. package/ts/ckyc/ckycdownload.js +1 -1
  20. package/ts/ckyc/ckycsearch.js +1 -1
  21. package/ts/ckyc.js +1 -1
  22. package/ts/colender/disburseLoan.js +1 -1
  23. package/ts/colender/forecloseLoan.js +1 -1
  24. package/ts/colender/repayLoan.js +1 -1
  25. package/ts/colender.js +1 -1
  26. package/ts/customers/aa/getaatxnstatus.js +1 -1
  27. package/ts/customers/aa/getbanklist.js +1 -1
  28. package/ts/customers/aa/initiate.js +1 -1
  29. package/ts/customers/accidentprotectionplan.js +1 -1
  30. package/ts/customers/addaddress.js +1 -1
  31. package/ts/customers/addbankaccountdetails.js +1 -1
  32. package/ts/customers/addfathersname.js +1 -1
  33. package/ts/customers/addgstnumber.js +1 -1
  34. package/ts/customers/addmoredetails.js +1 -1
  35. package/ts/customers/addsuspendedcustomer.js +1 -1
  36. package/ts/customers/adduserapps.js +1 -1
  37. package/ts/customers/applyclijourney.js +1 -1
  38. package/ts/customers/bulksms.js +1 -1
  39. package/ts/customers/cb/cbapplicationrejecteddata.js +1 -1
  40. package/ts/customers/cb/cbpaynow.js +1 -1
  41. package/ts/customers/cb/cbsignup.js +1 -1
  42. package/ts/customers/cb/getcbtxnstatus.js +1 -1
  43. package/ts/customers/cb/getcreditbuilder.js +1 -1
  44. package/ts/customers/cb/getpaymentsummary.js +1 -1
  45. package/ts/customers/cb/insurancedetails.js +1 -1
  46. package/ts/customers/cb/lesscsimprove.js +1 -1
  47. package/ts/customers/cb/morecsimprove.js +1 -1
  48. package/ts/customers/cb/paynow.js +1 -1
  49. package/ts/customers/cb/savecreditbuilder.js +1 -1
  50. package/ts/customers/cb/updatecbstandalonecancellation.js +1 -1
  51. package/ts/customers/cb/updatecbstandaloneconfirmation.js +1 -1
  52. package/ts/customers/cb/updatecbstandalonejourney.js +1 -1
  53. package/ts/customers/cb/updatecbtxnstatus.js +1 -1
  54. package/ts/customers/changempin.js +1 -1
  55. package/ts/customers/createcustomerreference.js +1 -1
  56. package/ts/customers/createvanumber.js +1 -1
  57. package/ts/customers/customerinfo.js +1 -1
  58. package/ts/customers/deletedocument.js +1 -1
  59. package/ts/customers/deleteprofile.js +1 -1
  60. package/ts/customers/disablempin.js +1 -1
  61. package/ts/customers/enach/gettxnstatus.js +1 -1
  62. package/ts/customers/enach/getweburl.js +1 -1
  63. package/ts/customers/enach/updateenachtxnstatus.js +1 -1
  64. package/ts/customers/enach/updatetxnstatus.js +1 -1
  65. package/ts/customers/fetchrcprofile.js +1 -1
  66. package/ts/customers/floatingvideos.js +1 -1
  67. package/ts/customers/forceupdate.js +1 -1
  68. package/ts/customers/forgotmpin.js +1 -1
  69. package/ts/customers/forgotmpinverify.js +1 -1
  70. package/ts/customers/freedom/addressconfirmation.js +1 -1
  71. package/ts/customers/freedom/freedompaynow.js +1 -1
  72. package/ts/customers/freedom/getfreedomtxnstatus.js +1 -1
  73. package/ts/customers/freedom/updateadditionalverification.js +1 -1
  74. package/ts/customers/freedom/updatefreedomtxnstatus.js +1 -1
  75. package/ts/customers/getaddresslist.js +1 -1
  76. package/ts/customers/getappsubmittedscreen.js +1 -1
  77. package/ts/customers/getbankaccountdetails.js +1 -1
  78. package/ts/customers/getbasicinfo.js +1 -1
  79. package/ts/customers/getcities.js +1 -1
  80. package/ts/customers/getclistatus.js +1 -1
  81. package/ts/customers/getcompanyaccdetails.js +1 -1
  82. package/ts/customers/getcustomer.d.ts +57 -0
  83. package/ts/customers/getcustomer.js +351 -0
  84. package/ts/customers/getcustomerbyid.js +1 -1
  85. package/ts/customers/getcustomerdetailsbymobile.js +1 -1
  86. package/ts/customers/getdashboard.js +1 -1
  87. package/ts/customers/getdashboardmaincard.js +1 -1
  88. package/ts/customers/getdocuments.js +1 -1
  89. package/ts/customers/getglobalpopups.js +1 -1
  90. package/ts/customers/getlimit.js +1 -1
  91. package/ts/customers/getloclimit.js +1 -1
  92. package/ts/customers/getmessengermode.js +1 -1
  93. package/ts/customers/getoccupationlist.js +1 -1
  94. package/ts/customers/getpaymentoptions.js +1 -1
  95. package/ts/customers/getprofessionalinfo.js +1 -1
  96. package/ts/customers/getprofile.js +1 -1
  97. package/ts/customers/getrecommendedtag.d.ts +35 -0
  98. package/ts/customers/getrecommendedtag.js +134 -0
  99. package/ts/customers/getrpdlink.d.ts +40 -0
  100. package/ts/customers/getrpdlink.js +190 -0
  101. package/ts/customers/getselfieetxnid.js +1 -1
  102. package/ts/customers/getstates.js +1 -1
  103. package/ts/customers/getstep.js +1 -1
  104. package/ts/customers/getsyncstatus.js +1 -1
  105. package/ts/customers/getvanumber.js +1 -1
  106. package/ts/customers/kyc/epfo.d.ts +38 -0
  107. package/ts/customers/kyc/epfo.js +149 -0
  108. package/ts/customers/lamf/applylamf.js +1 -1
  109. package/ts/customers/lamf/sendlamfotp.js +1 -1
  110. package/ts/customers/lamf/sendlamfpledgeotp.js +1 -1
  111. package/ts/customers/lamf/updatelamfjourney.js +1 -1
  112. package/ts/customers/lamf/verifylamfotp.js +1 -1
  113. package/ts/customers/lamf/verifylamfpledgeotp.js +1 -1
  114. package/ts/customers/logout.js +1 -1
  115. package/ts/customers/pd/getbanklist.js +1 -1
  116. package/ts/customers/pd/validatebankaccount.js +1 -1
  117. package/ts/customers/profilebasic.js +1 -1
  118. package/ts/customers/profileupdatetnc.js +1 -1
  119. package/ts/customers/resetbanner.js +1 -1
  120. package/ts/customers/restoreaccount.js +1 -1
  121. package/ts/customers/rpd/getrpdlink.js +1 -1
  122. package/ts/customers/rpd/getrpdtransactionstatus.js +1 -1
  123. package/ts/customers/rpd/mockpayment.js +1 -1
  124. package/ts/customers/saveappslist.js +1 -1
  125. package/ts/customers/savebasicdetails.js +1 -1
  126. package/ts/customers/savelimit.js +1 -1
  127. package/ts/customers/saveunlocklimit.js +1 -1
  128. package/ts/customers/sendemailtoken.d.ts +35 -0
  129. package/ts/customers/sendemailtoken.js +117 -0
  130. package/ts/customers/sendotp.js +1 -1
  131. package/ts/customers/sendotptoemail.js +1 -1
  132. package/ts/customers/setmpin.js +1 -1
  133. package/ts/customers/skipdlrcscreen.d.ts +35 -0
  134. package/ts/customers/skipdlrcscreen.js +117 -0
  135. package/ts/customers/skipscreen.js +1 -1
  136. package/ts/customers/step1.d.ts +69 -0
  137. package/ts/customers/step1.js +395 -0
  138. package/ts/customers/step10.d.ts +73 -0
  139. package/ts/customers/step10.js +459 -0
  140. package/ts/customers/step2.d.ts +68 -0
  141. package/ts/customers/step2.js +381 -0
  142. package/ts/customers/step7.d.ts +68 -0
  143. package/ts/customers/step7.js +381 -0
  144. package/ts/customers/step8.d.ts +69 -0
  145. package/ts/customers/step8.js +395 -0
  146. package/ts/customers/step9.d.ts +75 -0
  147. package/ts/customers/step9.js +489 -0
  148. package/ts/customers/stepstatic.d.ts +66 -0
  149. package/ts/customers/stepstatic.js +354 -0
  150. package/ts/customers/submituploadeddocuments.js +1 -1
  151. package/ts/customers/syncdecisionengine.js +1 -1
  152. package/ts/customers/updatecategory.js +1 -1
  153. package/ts/customers/updatecongratulationstep.js +1 -1
  154. package/ts/customers/updatecustomerbyid.js +1 -1
  155. package/ts/customers/updatedlnumber.js +1 -1
  156. package/ts/customers/updatedob.js +1 -1
  157. package/ts/customers/updatelocstatus.js +1 -1
  158. package/ts/customers/updatemobilesendotp.js +1 -1
  159. package/ts/customers/updatemobileverifyotp.js +1 -1
  160. package/ts/customers/updateokyctxn.js +1 -1
  161. package/ts/customers/updatesanctionamount.js +1 -1
  162. package/ts/customers/updateselfieetxn.js +1 -1
  163. package/ts/customers/updatesyncstatus.js +1 -1
  164. package/ts/customers/updatevehiclenumber.js +1 -1
  165. package/ts/customers/uploaddocuments.js +1 -1
  166. package/ts/customers/validatepan.js +1 -1
  167. package/ts/customers/verifyemail.d.ts +35 -0
  168. package/ts/customers/verifyemail.js +117 -0
  169. package/ts/customers/verifympin.js +1 -1
  170. package/ts/customers/verifyotp.js +1 -1
  171. package/ts/customers/verifyotptoemail.js +1 -1
  172. package/ts/customers.js +1 -1
  173. package/ts/decisionengine/decisionengine.js +1 -1
  174. package/ts/decisionengine/decisionenginetrigger.js +1 -1
  175. package/ts/decisionengine/locdisbursalapproval.js +1 -1
  176. package/ts/decisionengine/saveconsent.js +1 -1
  177. package/ts/decisionengine.js +1 -1
  178. package/ts/documents/getagreement.js +1 -1
  179. package/ts/documents/getfinancialdoc.js +1 -1
  180. package/ts/documents.js +1 -1
  181. package/ts/eqxcustomer.d.ts +14 -0
  182. package/ts/eqxcustomer.js +11 -1
  183. package/ts/eqxcustomers/getcustomerbyid.js +1 -1
  184. package/ts/eqxcustomers/getcustomerbymobile.d.ts +40 -0
  185. package/ts/eqxcustomers/getcustomerbymobile.js +189 -0
  186. package/ts/eqxcustomers/getdashboard.js +1 -1
  187. package/ts/eqxcustomers/getdashboardmaincard.js +1 -1
  188. package/ts/eqxcustomers/getnotifications.js +1 -1
  189. package/ts/eqxcustomers/gettokens.js +1 -1
  190. package/ts/eqxcustomers/sendotp.js +1 -1
  191. package/ts/eqxcustomers/updatenotification.js +1 -1
  192. package/ts/eqxcustomers/updatepushid.js +1 -1
  193. package/ts/eqxcustomers/verifyotp.js +1 -1
  194. package/ts/eqxcustomers/verifytoken.js +1 -1
  195. package/ts/example.js +1 -1
  196. package/ts/google/protobuf/timestamp.d.ts +127 -0
  197. package/ts/google/protobuf/timestamp.js +97 -0
  198. package/ts/growth/checkplanstatus.js +1 -1
  199. package/ts/growth/getattachplandetails.js +1 -1
  200. package/ts/growth/getchrpaymentstatus.js +1 -1
  201. package/ts/growth/getchrplans.js +1 -1
  202. package/ts/growth/getcredithealthreport.js +1 -1
  203. package/ts/growth/initiatepayment.js +1 -1
  204. package/ts/growth/notifychrpayment.js +1 -1
  205. package/ts/growth/processchrpayment.js +1 -1
  206. package/ts/growth.js +1 -1
  207. package/ts/kyc/epfo/fetchUANList.d.ts +35 -0
  208. package/ts/kyc/epfo/fetchUANList.js +119 -0
  209. package/ts/kyc/facematch.js +1 -1
  210. package/ts/kyc/fetchaadhaarbypan.js +1 -1
  211. package/ts/kyc/fetchemploymenthistory.js +1 -1
  212. package/ts/kyc/fetchuanlist.js +1 -1
  213. package/ts/kyc/getselfietxn.d.ts +37 -0
  214. package/ts/kyc/getselfietxn.js +161 -0
  215. package/ts/kyc/getselfietxnid.js +1 -1
  216. package/ts/kyc/getselfieurl.js +1 -1
  217. package/ts/kyc/nsdlpanvalidate.js +1 -1
  218. package/ts/kyc.js +1 -1
  219. package/ts/lamf/getloandetails.js +1 -1
  220. package/ts/lamf/submitotp.js +1 -1
  221. package/ts/lamf/validateuser.js +1 -1
  222. package/ts/lamf.js +1 -1
  223. package/ts/loans/addreference.js +1 -1
  224. package/ts/loans/addrefrences.d.ts +49 -0
  225. package/ts/loans/addrefrences.js +229 -0
  226. package/ts/loans/amortization.js +1 -1
  227. package/ts/loans/approveloan.js +1 -1
  228. package/ts/loans/banklist.js +1 -1
  229. package/ts/loans/calculateemi.js +1 -1
  230. package/ts/loans/cbloan.js +1 -1
  231. package/ts/loans/createlamfloan.js +1 -1
  232. package/ts/loans/createpenalty.js +1 -1
  233. package/ts/loans/creditlimit.js +1 -1
  234. package/ts/loans/emimoredetails.js +1 -1
  235. package/ts/loans/fcppayment.js +1 -1
  236. package/ts/loans/forecloseamount.js +1 -1
  237. package/ts/loans/foreclosepayment.js +1 -1
  238. package/ts/loans/futurepaymentmoredetails.js +1 -1
  239. package/ts/loans/getaddonslist.js +1 -1
  240. package/ts/loans/getbankdetails.js +1 -1
  241. package/ts/loans/getbilldetails.js +1 -1
  242. package/ts/loans/getcbloandetails.js +1 -1
  243. package/ts/loans/getchrdetails.js +1 -1
  244. package/ts/loans/getcustomerloanstatus.js +1 -1
  245. package/ts/loans/getforecloseamount.js +1 -1
  246. package/ts/loans/getloanbyid.js +1 -1
  247. package/ts/loans/getlocconfirms.d.ts +1 -1
  248. package/ts/loans/getlocconfirms.js +10 -10
  249. package/ts/loans/getlocdetails.js +1 -1
  250. package/ts/loans/getlocdisburse.js +1 -1
  251. package/ts/loans/getlocpartnerconfirm.d.ts +46 -0
  252. package/ts/loans/getlocpartnerconfirm.js +287 -0
  253. package/ts/loans/getlocpartnertenure.d.ts +57 -0
  254. package/ts/loans/getlocpartnertenure.js +339 -0
  255. package/ts/loans/getloctenure.js +1 -1
  256. package/ts/loans/getlocwithdraw.d.ts +50 -49
  257. package/ts/loans/getlocwithdraw.js +414 -379
  258. package/ts/loans/getlocwithdrawform.js +1 -1
  259. package/ts/loans/getnextdueamount.js +1 -1
  260. package/ts/loans/getpartnerlocwithdraw.d.ts +111 -0
  261. package/ts/loans/getpartnerlocwithdraw.js +1289 -0
  262. package/ts/loans/getpaymentoptions.js +1 -1
  263. package/ts/loans/getpendingemiamount.js +1 -1
  264. package/ts/loans/getsetubilldetails.js +1 -1
  265. package/ts/loans/getsummarystaticfields.js +1 -1
  266. package/ts/loans/gettransactionstatus.js +1 -1
  267. package/ts/loans/getusedlimit.js +1 -1
  268. package/ts/loans/getvirtualbankinfo.js +1 -1
  269. package/ts/loans/loansummary.js +1 -1
  270. package/ts/loans/manualpaymentallocation.js +1 -1
  271. package/ts/loans/paymentallocation.js +1 -1
  272. package/ts/loans/paymenthistory.js +1 -1
  273. package/ts/loans/paynow.js +1 -1
  274. package/ts/loans/refund.js +1 -1
  275. package/ts/loans/restructureloan.js +1 -1
  276. package/ts/loans/rollback.js +1 -1
  277. package/ts/loans/rollbackextrapayment.d.ts +37 -0
  278. package/ts/loans/rollbackextrapayment.js +149 -0
  279. package/ts/loans/sendemail.js +1 -1
  280. package/ts/loans/sendnocemail.js +1 -1
  281. package/ts/loans/transactionlist.js +1 -1
  282. package/ts/loans/updatecollectionview.js +1 -1
  283. package/ts/loans/updateinstallments.js +1 -1
  284. package/ts/loans/updateloan.js +1 -1
  285. package/ts/loans/updatetransactionstatus.js +1 -1
  286. package/ts/loans.js +1 -1
  287. package/ts/payments/checkpaymentstatus.js +1 -1
  288. package/ts/payments/fundtransfer.js +1 -1
  289. package/ts/payments/getpaymentoptions.js +1 -1
  290. package/ts/payments/initiatepayment.js +1 -1
  291. package/ts/payments/nachpresentation.js +1 -1
  292. package/ts/payments/nachregistration.js +1 -1
  293. package/ts/payments.js +1 -1
  294. package/ts/paymentsnode.js +1 -1
  295. package/ts/stashcash/creditsc.js +1 -1
  296. package/ts/stashcash/debitsc.js +1 -1
  297. package/ts/stashcash/getscbalance.js +1 -1
  298. package/ts/stashcash/getschistory.js +1 -1
  299. package/ts/stashcash/reversesc.js +1 -1
  300. package/ts/stashcash.js +1 -1
  301. package/ts/upi/addaccount.d.ts +1 -13
  302. package/ts/upi/addaccount.js +10 -76
  303. package/ts/upi/addupinumber.js +1 -1
  304. package/ts/upi/addvpa.js +1 -1
  305. package/ts/upi/blockvpa.d.ts +2 -3
  306. package/ts/upi/blockvpa.js +16 -30
  307. package/ts/upi/checkderegisterpermission.js +1 -1
  308. package/ts/upi/checktransactionstatus.d.ts +1 -14
  309. package/ts/upi/checktransactionstatus.js +7 -89
  310. package/ts/upi/declinemandate.js +1 -1
  311. package/ts/upi/deregisterprofile.js +1 -1
  312. package/ts/upi/getaccountsbyprovider.d.ts +1 -14
  313. package/ts/upi/getaccountsbyprovider.js +7 -89
  314. package/ts/upi/getallmandates.d.ts +9 -9
  315. package/ts/upi/getallmandates.js +12 -14
  316. package/ts/upi/getavailablevpa.d.ts +1 -12
  317. package/ts/upi/getavailablevpa.js +10 -60
  318. package/ts/upi/getlistedaccountproviders.d.ts +12 -24
  319. package/ts/upi/getlistedaccountproviders.js +33 -100
  320. package/ts/upi/getmandatedetails.d.ts +9 -9
  321. package/ts/upi/getmandatedetails.js +12 -14
  322. package/ts/upi/getmandatehistory.d.ts +9 -9
  323. package/ts/upi/getmandatehistory.js +12 -14
  324. package/ts/upi/getpendingcollectrequest.d.ts +9 -9
  325. package/ts/upi/getpendingcollectrequest.js +12 -14
  326. package/ts/upi/getprofile.d.ts +0 -13
  327. package/ts/upi/getprofile.js +6 -88
  328. package/ts/upi/getrecentcontacts.d.ts +9 -9
  329. package/ts/upi/getrecentcontacts.js +12 -14
  330. package/ts/upi/gettransactions.d.ts +9 -9
  331. package/ts/upi/gettransactions.js +12 -14
  332. package/ts/upi/getupinumbers.d.ts +9 -9
  333. package/ts/upi/getupinumbers.js +12 -14
  334. package/ts/upi/initiatemandateaction.d.ts +9 -9
  335. package/ts/upi/initiatemandateaction.js +12 -14
  336. package/ts/upi/initiatetransaction.d.ts +1 -12
  337. package/ts/upi/initiatetransaction.js +24 -78
  338. package/ts/upi/listblockedvpa.d.ts +9 -9
  339. package/ts/upi/listblockedvpa.js +12 -14
  340. package/ts/upi/suggestvpa.js +1 -1
  341. package/ts/upi/unblockvpa.js +1 -1
  342. package/ts/upi/updatedevicebinding.js +1 -1
  343. package/ts/upi/updatedevicelinking.js +1 -1
  344. package/ts/upi/upinumberoperations.d.ts +9 -9
  345. package/ts/upi/upinumberoperations.js +12 -14
  346. package/ts/upi/validateifsc.js +1 -1
  347. package/ts/upi/validatevpa.d.ts +8 -21
  348. package/ts/upi/validatevpa.js +7 -89
  349. package/ts/upi.js +1 -1
  350. package/ts/banking/aa/checktransactionstatus.d.ts +0 -38
  351. package/ts/banking/aa/checktransactionstatus.js +0 -161
  352. package/ts/devupi.d.ts +0 -390
  353. package/ts/devupi.js +0 -282
@@ -0,0 +1,339 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.29.3
6
+ // source: loans/getlocpartnertenure.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.GetLocPartnerTenureResponse = exports.TenureDetail = exports.GetLocPartnerTenureRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "loans.getlocpartnertenure";
15
+ function createBaseGetLocPartnerTenureRequest() {
16
+ return { amount: 0 };
17
+ }
18
+ exports.GetLocPartnerTenureRequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.amount !== 0) {
21
+ writer.uint32(16).int32(message.amount);
22
+ }
23
+ return writer;
24
+ },
25
+ decode(input, length) {
26
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
27
+ let end = length === undefined ? reader.len : reader.pos + length;
28
+ const message = createBaseGetLocPartnerTenureRequest();
29
+ while (reader.pos < end) {
30
+ const tag = reader.uint32();
31
+ switch (tag >>> 3) {
32
+ case 2:
33
+ if (tag !== 16) {
34
+ break;
35
+ }
36
+ message.amount = reader.int32();
37
+ continue;
38
+ }
39
+ if ((tag & 7) === 4 || tag === 0) {
40
+ break;
41
+ }
42
+ reader.skipType(tag & 7);
43
+ }
44
+ return message;
45
+ },
46
+ fromJSON(object) {
47
+ return { amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0 };
48
+ },
49
+ toJSON(message) {
50
+ const obj = {};
51
+ if (message.amount !== 0) {
52
+ obj.amount = Math.round(message.amount);
53
+ }
54
+ return obj;
55
+ },
56
+ create(base) {
57
+ return exports.GetLocPartnerTenureRequest.fromPartial(base ?? {});
58
+ },
59
+ fromPartial(object) {
60
+ const message = createBaseGetLocPartnerTenureRequest();
61
+ message.amount = object.amount ?? 0;
62
+ return message;
63
+ },
64
+ };
65
+ function createBaseTenureDetail() {
66
+ return { tenure: 0, expected_emi_amount: 0 };
67
+ }
68
+ exports.TenureDetail = {
69
+ encode(message, writer = minimal_1.default.Writer.create()) {
70
+ if (message.tenure !== 0) {
71
+ writer.uint32(8).int32(message.tenure);
72
+ }
73
+ if (message.expected_emi_amount !== 0) {
74
+ writer.uint32(16).int32(message.expected_emi_amount);
75
+ }
76
+ return writer;
77
+ },
78
+ decode(input, length) {
79
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
80
+ let end = length === undefined ? reader.len : reader.pos + length;
81
+ const message = createBaseTenureDetail();
82
+ while (reader.pos < end) {
83
+ const tag = reader.uint32();
84
+ switch (tag >>> 3) {
85
+ case 1:
86
+ if (tag !== 8) {
87
+ break;
88
+ }
89
+ message.tenure = reader.int32();
90
+ continue;
91
+ case 2:
92
+ if (tag !== 16) {
93
+ break;
94
+ }
95
+ message.expected_emi_amount = reader.int32();
96
+ continue;
97
+ }
98
+ if ((tag & 7) === 4 || tag === 0) {
99
+ break;
100
+ }
101
+ reader.skipType(tag & 7);
102
+ }
103
+ return message;
104
+ },
105
+ fromJSON(object) {
106
+ return {
107
+ tenure: isSet(object.tenure) ? globalThis.Number(object.tenure) : 0,
108
+ expected_emi_amount: isSet(object.expected_emi_amount) ? globalThis.Number(object.expected_emi_amount) : 0,
109
+ };
110
+ },
111
+ toJSON(message) {
112
+ const obj = {};
113
+ if (message.tenure !== 0) {
114
+ obj.tenure = Math.round(message.tenure);
115
+ }
116
+ if (message.expected_emi_amount !== 0) {
117
+ obj.expected_emi_amount = Math.round(message.expected_emi_amount);
118
+ }
119
+ return obj;
120
+ },
121
+ create(base) {
122
+ return exports.TenureDetail.fromPartial(base ?? {});
123
+ },
124
+ fromPartial(object) {
125
+ const message = createBaseTenureDetail();
126
+ message.tenure = object.tenure ?? 0;
127
+ message.expected_emi_amount = object.expected_emi_amount ?? 0;
128
+ return message;
129
+ },
130
+ };
131
+ function createBaseGetLocPartnerTenureResponse() {
132
+ return {
133
+ amount: 0,
134
+ bill_date: "",
135
+ min_tenure: 0,
136
+ max_tenure: 0,
137
+ msg: undefined,
138
+ first_emi_date: "",
139
+ fcp_fee: 0,
140
+ fcp_interest: 0,
141
+ tenure_details: [],
142
+ is_fip: false,
143
+ amount_grossup: "",
144
+ };
145
+ }
146
+ exports.GetLocPartnerTenureResponse = {
147
+ encode(message, writer = minimal_1.default.Writer.create()) {
148
+ if (message.amount !== 0) {
149
+ writer.uint32(8).int32(message.amount);
150
+ }
151
+ if (message.bill_date !== "") {
152
+ writer.uint32(18).string(message.bill_date);
153
+ }
154
+ if (message.min_tenure !== 0) {
155
+ writer.uint32(24).int32(message.min_tenure);
156
+ }
157
+ if (message.max_tenure !== 0) {
158
+ writer.uint32(32).int32(message.max_tenure);
159
+ }
160
+ if (message.msg !== undefined) {
161
+ writer.uint32(42).string(message.msg);
162
+ }
163
+ if (message.first_emi_date !== "") {
164
+ writer.uint32(50).string(message.first_emi_date);
165
+ }
166
+ if (message.fcp_fee !== 0) {
167
+ writer.uint32(56).int32(message.fcp_fee);
168
+ }
169
+ if (message.fcp_interest !== 0) {
170
+ writer.uint32(64).int32(message.fcp_interest);
171
+ }
172
+ for (const v of message.tenure_details) {
173
+ exports.TenureDetail.encode(v, writer.uint32(74).fork()).ldelim();
174
+ }
175
+ if (message.is_fip !== false) {
176
+ writer.uint32(80).bool(message.is_fip);
177
+ }
178
+ if (message.amount_grossup !== "") {
179
+ writer.uint32(90).string(message.amount_grossup);
180
+ }
181
+ return writer;
182
+ },
183
+ decode(input, length) {
184
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
185
+ let end = length === undefined ? reader.len : reader.pos + length;
186
+ const message = createBaseGetLocPartnerTenureResponse();
187
+ while (reader.pos < end) {
188
+ const tag = reader.uint32();
189
+ switch (tag >>> 3) {
190
+ case 1:
191
+ if (tag !== 8) {
192
+ break;
193
+ }
194
+ message.amount = reader.int32();
195
+ continue;
196
+ case 2:
197
+ if (tag !== 18) {
198
+ break;
199
+ }
200
+ message.bill_date = reader.string();
201
+ continue;
202
+ case 3:
203
+ if (tag !== 24) {
204
+ break;
205
+ }
206
+ message.min_tenure = reader.int32();
207
+ continue;
208
+ case 4:
209
+ if (tag !== 32) {
210
+ break;
211
+ }
212
+ message.max_tenure = reader.int32();
213
+ continue;
214
+ case 5:
215
+ if (tag !== 42) {
216
+ break;
217
+ }
218
+ message.msg = reader.string();
219
+ continue;
220
+ case 6:
221
+ if (tag !== 50) {
222
+ break;
223
+ }
224
+ message.first_emi_date = reader.string();
225
+ continue;
226
+ case 7:
227
+ if (tag !== 56) {
228
+ break;
229
+ }
230
+ message.fcp_fee = reader.int32();
231
+ continue;
232
+ case 8:
233
+ if (tag !== 64) {
234
+ break;
235
+ }
236
+ message.fcp_interest = reader.int32();
237
+ continue;
238
+ case 9:
239
+ if (tag !== 74) {
240
+ break;
241
+ }
242
+ message.tenure_details.push(exports.TenureDetail.decode(reader, reader.uint32()));
243
+ continue;
244
+ case 10:
245
+ if (tag !== 80) {
246
+ break;
247
+ }
248
+ message.is_fip = reader.bool();
249
+ continue;
250
+ case 11:
251
+ if (tag !== 90) {
252
+ break;
253
+ }
254
+ message.amount_grossup = reader.string();
255
+ continue;
256
+ }
257
+ if ((tag & 7) === 4 || tag === 0) {
258
+ break;
259
+ }
260
+ reader.skipType(tag & 7);
261
+ }
262
+ return message;
263
+ },
264
+ fromJSON(object) {
265
+ return {
266
+ amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
267
+ bill_date: isSet(object.bill_date) ? globalThis.String(object.bill_date) : "",
268
+ min_tenure: isSet(object.min_tenure) ? globalThis.Number(object.min_tenure) : 0,
269
+ max_tenure: isSet(object.max_tenure) ? globalThis.Number(object.max_tenure) : 0,
270
+ msg: isSet(object.msg) ? globalThis.String(object.msg) : undefined,
271
+ first_emi_date: isSet(object.first_emi_date) ? globalThis.String(object.first_emi_date) : "",
272
+ fcp_fee: isSet(object.fcp_fee) ? globalThis.Number(object.fcp_fee) : 0,
273
+ fcp_interest: isSet(object.fcp_interest) ? globalThis.Number(object.fcp_interest) : 0,
274
+ tenure_details: globalThis.Array.isArray(object?.tenure_details)
275
+ ? object.tenure_details.map((e) => exports.TenureDetail.fromJSON(e))
276
+ : [],
277
+ is_fip: isSet(object.is_fip) ? globalThis.Boolean(object.is_fip) : false,
278
+ amount_grossup: isSet(object.amount_grossup) ? globalThis.String(object.amount_grossup) : "",
279
+ };
280
+ },
281
+ toJSON(message) {
282
+ const obj = {};
283
+ if (message.amount !== 0) {
284
+ obj.amount = Math.round(message.amount);
285
+ }
286
+ if (message.bill_date !== "") {
287
+ obj.bill_date = message.bill_date;
288
+ }
289
+ if (message.min_tenure !== 0) {
290
+ obj.min_tenure = Math.round(message.min_tenure);
291
+ }
292
+ if (message.max_tenure !== 0) {
293
+ obj.max_tenure = Math.round(message.max_tenure);
294
+ }
295
+ if (message.msg !== undefined) {
296
+ obj.msg = message.msg;
297
+ }
298
+ if (message.first_emi_date !== "") {
299
+ obj.first_emi_date = message.first_emi_date;
300
+ }
301
+ if (message.fcp_fee !== 0) {
302
+ obj.fcp_fee = Math.round(message.fcp_fee);
303
+ }
304
+ if (message.fcp_interest !== 0) {
305
+ obj.fcp_interest = Math.round(message.fcp_interest);
306
+ }
307
+ if (message.tenure_details?.length) {
308
+ obj.tenure_details = message.tenure_details.map((e) => exports.TenureDetail.toJSON(e));
309
+ }
310
+ if (message.is_fip !== false) {
311
+ obj.is_fip = message.is_fip;
312
+ }
313
+ if (message.amount_grossup !== "") {
314
+ obj.amount_grossup = message.amount_grossup;
315
+ }
316
+ return obj;
317
+ },
318
+ create(base) {
319
+ return exports.GetLocPartnerTenureResponse.fromPartial(base ?? {});
320
+ },
321
+ fromPartial(object) {
322
+ const message = createBaseGetLocPartnerTenureResponse();
323
+ message.amount = object.amount ?? 0;
324
+ message.bill_date = object.bill_date ?? "";
325
+ message.min_tenure = object.min_tenure ?? 0;
326
+ message.max_tenure = object.max_tenure ?? 0;
327
+ message.msg = object.msg ?? undefined;
328
+ message.first_emi_date = object.first_emi_date ?? "";
329
+ message.fcp_fee = object.fcp_fee ?? 0;
330
+ message.fcp_interest = object.fcp_interest ?? 0;
331
+ message.tenure_details = object.tenure_details?.map((e) => exports.TenureDetail.fromPartial(e)) || [];
332
+ message.is_fip = object.is_fip ?? false;
333
+ message.amount_grossup = object.amount_grossup ?? "";
334
+ return message;
335
+ },
336
+ };
337
+ function isSet(value) {
338
+ return value !== null && value !== undefined;
339
+ }
@@ -1,7 +1,7 @@
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.2
4
+ // protoc-gen-ts_proto v1.181.0
5
5
  // protoc v5.29.3
6
6
  // source: loans/getloctenure.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
@@ -12,24 +12,24 @@ export interface GetLocWithdrawlRequest {
12
12
  pcr_opt: boolean;
13
13
  }
14
14
  export interface AgreementLinks {
15
- required: boolean;
16
- error_msg: string;
17
- applicant_pdf_url: string;
18
- co_applicant_pdf_url: string;
19
- colender_agreement: string;
20
- colender: string;
21
- credit_line_detail_sheet: string;
22
- payment_undertaking: string;
23
- tc_online_disbursal: string;
24
- schedule_for_charges: string;
25
- acknowledge_by_borrower: string;
26
- venacular_declaration: string;
27
- Declaration: string;
15
+ required?: boolean | undefined;
16
+ error_msg?: string | undefined;
17
+ applicant_pdf_url?: string | undefined;
18
+ co_applicant_pdf_url?: string | undefined;
19
+ colender_agreement?: string | undefined;
20
+ colender?: string | undefined;
21
+ credit_line_detail_sheet?: string | undefined;
22
+ payment_undertaking?: string | undefined;
23
+ tc_online_disbursal?: string | undefined;
24
+ schedule_for_charges?: string | undefined;
25
+ acknowledge_by_borrower?: string | undefined;
26
+ venacular_declaration?: string | undefined;
27
+ Declaration?: string | undefined;
28
28
  }
29
29
  export interface InsuranceDesc {
30
30
  title: string;
31
- desc: string;
32
- icon: string;
31
+ desc?: string | undefined;
32
+ icon?: string | undefined;
33
33
  }
34
34
  export interface GetLocWithdrawlResponse {
35
35
  gateway_fees?: number | undefined;
@@ -44,18 +44,18 @@ export interface GetLocWithdrawlResponse {
44
44
  first_emi_date: string;
45
45
  emi_date: string;
46
46
  final_disbursal_amount: number;
47
- upfront_interest: number;
47
+ upfront_interest?: number | undefined;
48
48
  approved_amount: number;
49
- processing_fees: number;
50
- gst: number;
51
- rate_of_interest: number;
49
+ processing_fees?: number | undefined;
50
+ gst?: number | undefined;
51
+ rate_of_interest?: number | undefined;
52
52
  bill_amount: number;
53
- early_foreclosure_fees: number;
54
- convenience_fees: number;
55
- total_interest_pay: number;
56
- effective_annual_rate: number;
57
- transaction_rate: number;
58
- transaction_fee_amount: number;
53
+ early_foreclosure_fees?: number | undefined;
54
+ convenience_fees?: number | undefined;
55
+ total_interest_pay?: number | undefined;
56
+ effective_annual_rate?: number | undefined;
57
+ transaction_rate?: number | undefined;
58
+ transaction_fee_amount?: number | undefined;
59
59
  emi_date_l: string;
60
60
  emi_amount_l: string;
61
61
  first_emi_date_l: string;
@@ -69,56 +69,57 @@ export interface GetLocWithdrawlResponse {
69
69
  convenience_fees_l: string;
70
70
  total_interest_pay_l: string;
71
71
  effective_annual_rate_l: string;
72
- transaction_fee_bill_amount: number;
73
- processing_fee_plus_gst: number;
74
- trans_fee_plus_gst: number;
72
+ transaction_fee_bill_amount?: number | undefined;
73
+ processing_fee_plus_gst?: number | undefined;
74
+ trans_fee_plus_gst?: number | undefined;
75
75
  trans_fee_plus_gst_l: string;
76
76
  processing_fee_plus_gst_l: string;
77
77
  max_amount_l: string;
78
78
  credit_report_fees_l: string;
79
79
  fee_and_charges_l: string;
80
- fee_and_charges: number;
81
- fee_and_charges_bill: number;
80
+ fee_and_charges?: number | undefined;
81
+ fee_and_charges_bill?: number | undefined;
82
82
  add_on_l: string;
83
83
  total_loan_amount_l: string;
84
84
  loan_amount_l: string;
85
85
  disbursed_amount_l: string;
86
86
  total_payable_amount_l: string;
87
87
  disbursal_amount_l: string;
88
- fcp_interest: number;
88
+ fcp_interest?: number | undefined;
89
89
  number_of_emi_l: string;
90
90
  first_emi_amt_l: string;
91
91
  subsequent_emi_l: string;
92
92
  effective_roi_l: string;
93
- effective_roi: number;
93
+ effective_roi?: number | undefined;
94
94
  effective_annual_roi_l: string;
95
- effective_annual_roi: number;
95
+ effective_annual_roi?: number | undefined;
96
96
  insurance_l: string;
97
97
  emi_card_description: string;
98
98
  bill_card_description: string;
99
99
  loan_id: string;
100
+ installment_amounts: string;
100
101
  apr_title: string;
101
102
  apr_value: string;
102
103
  apr_type: string;
103
- colender_id: number;
104
- credit_line_details_sheet: string;
105
- Acknowledgement: string;
106
- payment_undertaking: string;
107
- key_fact_statement: string;
108
- sanction_letter: string;
109
- financing_documents: string;
110
- landers_credit_facility_form: string;
104
+ colender_id?: number | undefined;
105
+ credit_line_details_sheet?: string | undefined;
106
+ Acknowledgement?: string | undefined;
107
+ payment_undertaking?: string | undefined;
108
+ key_fact_statement?: string | undefined;
109
+ sanction_letter?: string | undefined;
110
+ financing_documents?: string | undefined;
111
+ landers_credit_facility_form?: string | undefined;
111
112
  agreement_links: AgreementLinks | undefined;
112
- max_amount: number;
113
- credit_report_fees: number;
114
- credit_report_actual_fees: number;
115
- plan_id: string;
113
+ max_amount?: number | undefined;
114
+ credit_report_fees?: number | undefined;
115
+ credit_report_actual_fees?: number | undefined;
116
+ plan_id?: number | undefined;
116
117
  lender_name?: string | undefined;
117
- free_loc_eligible_bank: string;
118
- insurance_title: string;
118
+ free_loc_eligible_bank?: string | undefined;
119
+ insurance_title?: string | undefined;
119
120
  insurance_desc: InsuranceDesc[];
120
- upfront_interest_description: string;
121
- txn_id: string;
121
+ upfront_interest_description?: string | undefined;
122
+ txn_id?: string | undefined;
122
123
  }
123
124
  export declare const GetLocWithdrawlRequest: {
124
125
  encode(message: GetLocWithdrawlRequest, writer?: _m0.Writer): _m0.Writer;