@stashfin/grpc 1.2.640 → 1.2.642

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