@stashfin/grpc 1.2.800 → 1.2.802

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 (428) 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 +2 -2
  5. package/ts/banking/aa/getbanklist.js +2 -2
  6. package/ts/banking/aa/getcustomerbank.js +2 -2
  7. package/ts/banking/aa/getrpdlink.js +2 -2
  8. package/ts/banking/aa/initiate.js +2 -2
  9. package/ts/banking/aa/initiatepennydrop.js +2 -2
  10. package/ts/banking/aa/netbankinginitiate.js +2 -2
  11. package/ts/banking/aa/pollingrpd.js +2 -2
  12. package/ts/banking.d.ts +16 -16
  13. package/ts/banking.js +2 -2
  14. package/ts/bbps/getbills.js +2 -2
  15. package/ts/bbps/initiatepayment.d.ts +53 -0
  16. package/ts/bbps/initiatepayment.js +285 -0
  17. package/ts/bbps/processwebhook.js +2 -2
  18. package/ts/bbps.d.ts +4 -4
  19. package/ts/bbps.js +2 -2
  20. package/ts/bureau/getbasicdetails.js +2 -2
  21. package/ts/bureau/getbureauscore.js +2 -2
  22. package/ts/bureau/getcibilwebtoken.js +2 -2
  23. package/ts/bureau/getdbrcolending.js +2 -2
  24. package/ts/bureau/getdemogs.js +2 -2
  25. package/ts/bureau/getobligation.js +2 -2
  26. package/ts/bureau/getreport.js +2 -2
  27. package/ts/bureau/ischrenabled.js +2 -2
  28. package/ts/bureau.d.ts +16 -16
  29. package/ts/bureau.js +2 -2
  30. package/ts/ckyc/ckycdownload.js +2 -2
  31. package/ts/ckyc/ckycsearch.js +2 -2
  32. package/ts/ckyc.d.ts +4 -4
  33. package/ts/ckyc.js +2 -2
  34. package/ts/colender/disburseLoan.js +2 -2
  35. package/ts/colender/forecloseLoan.js +2 -2
  36. package/ts/colender/repayLoan.js +2 -2
  37. package/ts/colender.d.ts +6 -6
  38. package/ts/colender.js +2 -2
  39. package/ts/customers/aa/getaatxnstatus.js +2 -2
  40. package/ts/customers/aa/getbanklist.js +2 -2
  41. package/ts/customers/aa/initiate.js +2 -2
  42. package/ts/customers/accidentprotectionplan.js +2 -2
  43. package/ts/customers/addaddress.js +2 -2
  44. package/ts/customers/addbankaccountdetails.js +2 -2
  45. package/ts/customers/addfathersname.js +2 -2
  46. package/ts/customers/addgstnumber.js +2 -2
  47. package/ts/customers/addmoredetails.js +2 -2
  48. package/ts/customers/addsuspendedcustomer.js +2 -2
  49. package/ts/customers/adduserapps.d.ts +2 -2
  50. package/ts/customers/adduserapps.js +2 -2
  51. package/ts/customers/applyclijourney.js +2 -2
  52. package/ts/customers/bulksms.js +2 -2
  53. package/ts/customers/cb/cbapplicationrejecteddata.js +2 -2
  54. package/ts/customers/cb/cbpaynow.js +2 -2
  55. package/ts/customers/cb/cbsignup.js +2 -2
  56. package/ts/customers/cb/getcbtxnstatus.js +2 -2
  57. package/ts/customers/cb/getcreditbuilder.js +2 -2
  58. package/ts/customers/cb/getpaymentsummary.js +2 -2
  59. package/ts/customers/cb/insurancedetails.js +2 -2
  60. package/ts/customers/cb/lesscsimprove.js +2 -2
  61. package/ts/customers/cb/morecsimprove.js +2 -2
  62. package/ts/customers/cb/savecreditbuilder.js +2 -2
  63. package/ts/customers/cb/updatecbstandalonecancellation.js +2 -2
  64. package/ts/customers/cb/updatecbstandaloneconfirmation.js +2 -2
  65. package/ts/customers/cb/updatecbstandalonejourney.js +2 -2
  66. package/ts/customers/cb/updatecbtxnstatus.js +2 -2
  67. package/ts/customers/changempin.js +2 -2
  68. package/ts/customers/createcustomerreference.js +2 -2
  69. package/ts/customers/createvanumber.js +2 -2
  70. package/ts/customers/customerinfo.js +2 -2
  71. package/ts/customers/deletedocument.js +2 -2
  72. package/ts/customers/deleteprofile.js +2 -2
  73. package/ts/customers/disablempin.js +2 -2
  74. package/ts/customers/enach/gettxnstatus.js +2 -2
  75. package/ts/customers/enach/getweburl.js +2 -2
  76. package/ts/customers/enach/updateenachtxnstatus.js +2 -2
  77. package/ts/customers/fetchrcprofile.js +2 -2
  78. package/ts/customers/floatingvideos.js +2 -2
  79. package/ts/customers/forceupdate.js +2 -2
  80. package/ts/customers/forgotmpin.js +2 -2
  81. package/ts/customers/forgotmpinverify.js +2 -2
  82. package/ts/customers/freedom/addressconfirmation.js +2 -2
  83. package/ts/customers/freedom/freedompaynow.js +2 -2
  84. package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
  85. package/ts/customers/freedom/updateadditionalverification.js +2 -2
  86. package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
  87. package/ts/customers/getaddresslist.js +2 -2
  88. package/ts/customers/getappsubmittedscreen.js +2 -2
  89. package/ts/customers/getbankaccountdetails.js +2 -2
  90. package/ts/customers/getbasicinfo.js +2 -2
  91. package/ts/customers/getcities.js +2 -2
  92. package/ts/customers/getclistatus.js +2 -2
  93. package/ts/customers/getcompanyaccdetails.js +2 -2
  94. package/ts/customers/getcustomerbyid.js +2 -2
  95. package/ts/customers/getcustomerdetailsbymobile.js +2 -2
  96. package/ts/customers/getdashboard.js +2 -2
  97. package/ts/customers/getdashboardmaincard.js +2 -2
  98. package/ts/customers/getdocuments.js +2 -2
  99. package/ts/customers/getglobalpopups.js +2 -2
  100. package/ts/customers/getlimit.js +2 -2
  101. package/ts/customers/getloclimit.js +2 -2
  102. package/ts/customers/getmessengermode.js +2 -2
  103. package/ts/customers/getoccupationlist.js +2 -2
  104. package/ts/customers/getpaymentoptions.js +2 -2
  105. package/ts/customers/getprofessionalinfo.js +2 -2
  106. package/ts/customers/getprofile.js +2 -2
  107. package/ts/customers/getselfieetxnid.js +2 -2
  108. package/ts/customers/getstates.js +2 -2
  109. package/ts/customers/getstep.js +2 -2
  110. package/ts/customers/getsyncstatus.js +2 -2
  111. package/ts/customers/getvanumber.js +2 -2
  112. package/ts/customers/lamf/applylamf.js +2 -2
  113. package/ts/customers/lamf/sendlamfotp.js +2 -2
  114. package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
  115. package/ts/customers/lamf/verifylamfotp.js +2 -2
  116. package/ts/customers/lamf/verifylamfpledgeotp.js +2 -2
  117. package/ts/customers/logout.js +2 -2
  118. package/ts/customers/pd/getbanklist.js +2 -2
  119. package/ts/customers/pd/validatebankaccount.js +2 -2
  120. package/ts/customers/profilebasic.js +2 -2
  121. package/ts/customers/profileupdatetnc.js +2 -2
  122. package/ts/customers/resetbanner.js +2 -2
  123. package/ts/customers/restoreaccount.js +2 -2
  124. package/ts/customers/rpd/getrpdlink.js +2 -2
  125. package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
  126. package/ts/customers/rpd/mockpayment.js +2 -2
  127. package/ts/customers/saveappslist.js +2 -2
  128. package/ts/customers/savebasicdetails.js +2 -2
  129. package/ts/customers/savelimit.js +2 -2
  130. package/ts/customers/saveunlocklimit.js +2 -2
  131. package/ts/customers/sendotp.js +2 -2
  132. package/ts/customers/sendotptoemail.js +2 -2
  133. package/ts/customers/setmpin.js +2 -2
  134. package/ts/customers/skipscreen.js +2 -2
  135. package/ts/customers/submituploadeddocuments.js +2 -2
  136. package/ts/customers/syncdecisionengine.js +2 -2
  137. package/ts/customers/updatecategory.js +2 -2
  138. package/ts/customers/updatecongratulationstep.js +2 -2
  139. package/ts/customers/updatecustomerbyid.js +2 -2
  140. package/ts/customers/updatedlnumber.js +2 -2
  141. package/ts/customers/updatedob.js +2 -2
  142. package/ts/customers/updatelocstatus.js +2 -2
  143. package/ts/customers/updatemobilesendotp.js +2 -2
  144. package/ts/customers/updatemobileverifyotp.js +2 -2
  145. package/ts/customers/updateokyctxn.js +2 -2
  146. package/ts/customers/updatesanctionamount.js +2 -2
  147. package/ts/customers/updateselfieetxn.js +2 -2
  148. package/ts/customers/updatesyncstatus.js +2 -2
  149. package/ts/customers/updatevehiclenumber.js +2 -2
  150. package/ts/customers/uploaddocuments.js +2 -2
  151. package/ts/customers/validatepan.js +2 -2
  152. package/ts/customers/verifympin.js +2 -2
  153. package/ts/customers/verifyotp.js +2 -2
  154. package/ts/customers/verifyotptoemail.js +2 -2
  155. package/ts/customers.d.ts +238 -238
  156. package/ts/customers.js +2 -2
  157. package/ts/decisionengine/decisionenginetrigger.js +2 -2
  158. package/ts/decisionengine/locdisbursalapproval.js +2 -2
  159. package/ts/decisionengine/saveconsent.js +2 -2
  160. package/ts/decisionengine.d.ts +6 -6
  161. package/ts/decisionengine.js +2 -2
  162. package/ts/deveqxcustomers.d.ts +30 -30
  163. package/ts/deveqxcustomers.js +2 -2
  164. package/ts/devupi.d.ts +54 -54
  165. package/ts/devupi.js +2 -2
  166. package/ts/documents/getagreement.js +2 -2
  167. package/ts/documents/getfinancialdoc.js +2 -2
  168. package/ts/documents.d.ts +4 -4
  169. package/ts/documents.js +2 -2
  170. package/ts/eqxcustomer.d.ts +76 -48
  171. package/ts/eqxcustomer.js +22 -2
  172. package/ts/eqxcustomers/authenticateuser.js +2 -2
  173. package/ts/eqxcustomers/creditguidance.js +2 -2
  174. package/ts/eqxcustomers/getbankaccount.js +2 -2
  175. package/ts/eqxcustomers/getcustomerbyid.js +2 -2
  176. package/ts/eqxcustomers/getcustomerbymobile.js +2 -2
  177. package/ts/eqxcustomers/getdashboard.js +2 -2
  178. package/ts/eqxcustomers/getdashboardmaincard.js +2 -2
  179. package/ts/eqxcustomers/getlandinghomepage.js +2 -2
  180. package/ts/eqxcustomers/getlendingcustomerappsInfo.d.ts +1 -0
  181. package/ts/eqxcustomers/getlendingcustomerappsInfo.js +17 -3
  182. package/ts/eqxcustomers/getlendingcustomerdeviceInfo.d.ts +1 -0
  183. package/ts/eqxcustomers/getlendingcustomerdeviceInfo.js +17 -3
  184. package/ts/eqxcustomers/getlendinghomepage.d.ts +18 -0
  185. package/ts/eqxcustomers/getlendinghomepage.js +160 -3
  186. package/ts/eqxcustomers/getlendingrefreshtoken.d.ts +51 -0
  187. package/ts/eqxcustomers/getlendingrefreshtoken.js +259 -0
  188. package/ts/eqxcustomers/getlendingsyncedinfo.d.ts +48 -0
  189. package/ts/{loans/addrefrences.js → eqxcustomers/getlendingsyncedinfo.js} +68 -82
  190. package/ts/eqxcustomers/getloanplans.js +2 -2
  191. package/ts/eqxcustomers/getnotifications.js +2 -2
  192. package/ts/eqxcustomers/getstashscorecustomerprofile.js +2 -2
  193. package/ts/eqxcustomers/gettnc.js +2 -2
  194. package/ts/eqxcustomers/gettokens.js +2 -2
  195. package/ts/eqxcustomers/iscustomerregistered.js +2 -2
  196. package/ts/eqxcustomers/sendotp.js +2 -2
  197. package/ts/eqxcustomers/truecallerlogin.js +2 -2
  198. package/ts/eqxcustomers/updatecustomer.js +2 -2
  199. package/ts/eqxcustomers/updatenotification.js +2 -2
  200. package/ts/eqxcustomers/updatepushid.js +2 -2
  201. package/ts/eqxcustomers/updatesubscriptionstatus.js +2 -2
  202. package/ts/eqxcustomers/verifyotp.js +2 -2
  203. package/ts/eqxcustomers/verifytoken.js +2 -2
  204. package/ts/eqxpayments/checkpaymentstatus.js +2 -2
  205. package/ts/eqxpayments/fundtransfer.js +2 -2
  206. package/ts/eqxpayments/getpaymentoptions.js +2 -2
  207. package/ts/eqxpayments/initiatepayment.js +2 -2
  208. package/ts/eqxpayments/initiaterefund.js +2 -2
  209. package/ts/eqxpayments/nachpresentation.js +2 -2
  210. package/ts/eqxpayments/nachregistration.js +2 -2
  211. package/ts/eqxpayments.d.ts +14 -14
  212. package/ts/eqxpayments.js +2 -2
  213. package/ts/example.d.ts +4 -4
  214. package/ts/example.js +2 -2
  215. package/ts/feepayments/getbanklist.js +2 -2
  216. package/ts/feepayments.d.ts +2 -2
  217. package/ts/feepayments.js +2 -2
  218. package/ts/growth/checkplanstatus.js +2 -2
  219. package/ts/growth/getattachplandetails.js +2 -2
  220. package/ts/growth/getchrpaymentstatus.js +2 -2
  221. package/ts/growth/getchrpdfurl.js +2 -2
  222. package/ts/growth/getchrplans.d.ts +94 -31
  223. package/ts/growth/getchrplans.js +568 -63
  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.d.ts +8 -8
  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/ckycfetchrecord.js +2 -2
  236. package/ts/kyc/ckycresendotp.js +2 -2
  237. package/ts/kyc/ckycsearchv1.js +2 -2
  238. package/ts/kyc/facematch.js +2 -2
  239. package/ts/kyc/fetchaadhaarbypan.js +2 -2
  240. package/ts/kyc/fetchemploymenthistory.js +2 -2
  241. package/ts/kyc/fetchuanlist.js +2 -2
  242. package/ts/kyc/getselfietxnid.js +2 -2
  243. package/ts/kyc/getselfieurl.js +2 -2
  244. package/ts/kyc/nsdlpanvalidate.js +2 -2
  245. package/ts/kyc/okyclinkhyperverge.js +2 -2
  246. package/ts/kyc.d.ts +28 -28
  247. package/ts/kyc.js +2 -2
  248. package/ts/lamf/getloandetails.js +2 -2
  249. package/ts/lamf/submitotp.js +2 -2
  250. package/ts/lamf/validateuser.js +2 -2
  251. package/ts/lamf.d.ts +6 -6
  252. package/ts/lamf.js +2 -2
  253. package/ts/loans/addreference.js +2 -2
  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/foreclosepayment.js +2 -2
  265. package/ts/loans/getaddonslist.js +2 -2
  266. package/ts/loans/getbankdetails.js +2 -2
  267. package/ts/loans/getbilldetails.js +2 -2
  268. package/ts/loans/getcbloandetails.js +2 -2
  269. package/ts/loans/getchrdetails.js +2 -2
  270. package/ts/loans/getcustomerloanstatus.js +2 -2
  271. package/ts/loans/getforecloseamount.js +2 -2
  272. package/ts/loans/getloanbyid.js +2 -2
  273. package/ts/loans/getlocconfirms.js +2 -2
  274. package/ts/loans/getlocdetails.js +2 -2
  275. package/ts/loans/getlocdisburse.js +2 -2
  276. package/ts/loans/getloctenure.js +2 -2
  277. package/ts/loans/getlocwithdraw.js +2 -2
  278. package/ts/loans/getlocwithdrawform.js +2 -2
  279. package/ts/loans/getnextdueamount.js +2 -2
  280. package/ts/loans/getpaymentoptions.js +2 -2
  281. package/ts/loans/getpendingemiamount.js +2 -2
  282. package/ts/loans/getsetubilldetails.js +2 -2
  283. package/ts/loans/getsummarystaticfields.js +2 -2
  284. package/ts/loans/gettransactionstatus.js +2 -2
  285. package/ts/loans/getusedlimit.js +2 -2
  286. package/ts/loans/getvirtualbankinfo.js +2 -2
  287. package/ts/loans/loansummary.js +2 -2
  288. package/ts/loans/locrequested.js +2 -2
  289. package/ts/loans/manualpaymentallocation.js +2 -2
  290. package/ts/loans/paymentallocation.js +2 -2
  291. package/ts/loans/paymenthistory.js +2 -2
  292. package/ts/loans/paynow.js +2 -2
  293. package/ts/loans/refund.js +2 -2
  294. package/ts/loans/restructureloan.js +2 -2
  295. package/ts/loans/rollback.js +2 -2
  296. package/ts/loans/sendemail.js +2 -2
  297. package/ts/loans/sendnocemail.js +2 -2
  298. package/ts/loans/transactionlist.js +2 -2
  299. package/ts/loans/updatecollectionview.js +2 -2
  300. package/ts/loans/updateinstallments.js +2 -2
  301. package/ts/loans/updateloan.js +2 -2
  302. package/ts/loans/updatetransactionstatus.js +2 -2
  303. package/ts/loans.d.ts +100 -100
  304. package/ts/loans.js +2 -2
  305. package/ts/payments/checkpaymentstatus.js +2 -2
  306. package/ts/payments/fundtransfer.js +2 -2
  307. package/ts/payments/getpaymentoptions.js +2 -2
  308. package/ts/payments/initiatepayment.js +2 -2
  309. package/ts/payments/initiaterefund.js +2 -2
  310. package/ts/payments/nachpresentation.js +2 -2
  311. package/ts/payments/nachregistration.js +2 -2
  312. package/ts/payments.d.ts +14 -14
  313. package/ts/payments.js +2 -2
  314. package/ts/paymentsnode.d.ts +12 -12
  315. package/ts/paymentsnode.js +2 -2
  316. package/ts/rewards/getoffers.js +2 -2
  317. package/ts/rewards/redeemoffer.js +2 -2
  318. package/ts/rewards.d.ts +4 -4
  319. package/ts/rewards.js +2 -2
  320. package/ts/stashcash/creditsc.js +2 -2
  321. package/ts/stashcash/debitsc.js +2 -2
  322. package/ts/stashcash/getearnings.js +2 -2
  323. package/ts/stashcash/getscbalance.js +2 -2
  324. package/ts/stashcash/getschistory.js +2 -2
  325. package/ts/stashcash/reversesc.js +2 -2
  326. package/ts/stashcash.d.ts +12 -12
  327. package/ts/stashcash.js +2 -2
  328. package/ts/upi/addaccount.js +2 -2
  329. package/ts/upi/blockvpa.js +2 -2
  330. package/ts/upi/checkderegisterpermission.js +2 -2
  331. package/ts/upi/checktransactionstatus.js +2 -2
  332. package/ts/upi/declinemandate.js +2 -2
  333. package/ts/upi/declinetransaction.js +2 -2
  334. package/ts/upi/deregisterprofile.js +2 -2
  335. package/ts/upi/getaccountsbyprovider.js +2 -2
  336. package/ts/upi/getallmandates.js +2 -2
  337. package/ts/upi/getavailablevpa.js +2 -2
  338. package/ts/upi/getlistedaccountproviders.js +2 -2
  339. package/ts/upi/getmandatedetails.js +2 -2
  340. package/ts/upi/getmandatehistory.js +2 -2
  341. package/ts/upi/getpendingcollectrequest.js +2 -2
  342. package/ts/upi/getprofile.js +2 -2
  343. package/ts/upi/getrecentcontacts.js +2 -2
  344. package/ts/upi/gettransactions.js +2 -2
  345. package/ts/upi/getupinumbers.js +2 -2
  346. package/ts/upi/initiatemandateaction.js +2 -2
  347. package/ts/upi/initiatetransaction.js +2 -2
  348. package/ts/upi/listblockedvpa.js +2 -2
  349. package/ts/upi/unblockvpa.js +2 -2
  350. package/ts/upi/updatedevicebinding.js +2 -2
  351. package/ts/upi/upinumberoperations.js +2 -2
  352. package/ts/upi/validateifsc.js +2 -2
  353. package/ts/upi/validatevpa.js +2 -2
  354. package/ts/upi.d.ts +56 -56
  355. package/ts/upi.js +2 -2
  356. package/ts/communications/bureauidwhatsapp.d.ts +0 -38
  357. package/ts/communications/bureauidwhatsapp.js +0 -161
  358. package/ts/communications.d.ts +0 -28
  359. package/ts/communications.js +0 -24
  360. package/ts/customers/cb/paynow.d.ts +0 -36
  361. package/ts/customers/cb/paynow.js +0 -133
  362. package/ts/customers/enach/updatetxnstatus.d.ts +0 -36
  363. package/ts/customers/enach/updatetxnstatus.js +0 -133
  364. package/ts/customers/getcustomer.d.ts +0 -57
  365. package/ts/customers/getcustomer.js +0 -351
  366. package/ts/customers/getrecommendedtag.d.ts +0 -35
  367. package/ts/customers/getrecommendedtag.js +0 -134
  368. package/ts/customers/getrpdlink.d.ts +0 -40
  369. package/ts/customers/getrpdlink.js +0 -190
  370. package/ts/customers/kyc/epfo.d.ts +0 -38
  371. package/ts/customers/kyc/epfo.js +0 -149
  372. package/ts/customers/lamf/updatelamfjourney.d.ts +0 -34
  373. package/ts/customers/lamf/updatelamfjourney.js +0 -104
  374. package/ts/customers/sendemailtoken.d.ts +0 -35
  375. package/ts/customers/sendemailtoken.js +0 -117
  376. package/ts/customers/skipdlrcscreen.d.ts +0 -35
  377. package/ts/customers/skipdlrcscreen.js +0 -117
  378. package/ts/customers/step1.d.ts +0 -69
  379. package/ts/customers/step1.js +0 -395
  380. package/ts/customers/step10.d.ts +0 -73
  381. package/ts/customers/step10.js +0 -459
  382. package/ts/customers/step2.d.ts +0 -68
  383. package/ts/customers/step2.js +0 -381
  384. package/ts/customers/step7.d.ts +0 -68
  385. package/ts/customers/step7.js +0 -381
  386. package/ts/customers/step8.d.ts +0 -69
  387. package/ts/customers/step8.js +0 -395
  388. package/ts/customers/step9.d.ts +0 -75
  389. package/ts/customers/step9.js +0 -489
  390. package/ts/customers/stepstatic.d.ts +0 -66
  391. package/ts/customers/stepstatic.js +0 -354
  392. package/ts/customers/verifyemail.d.ts +0 -35
  393. package/ts/customers/verifyemail.js +0 -117
  394. package/ts/decisionengine/decisionengine.d.ts +0 -40
  395. package/ts/decisionengine/decisionengine.js +0 -191
  396. package/ts/google/protobuf/struct.d.ts +0 -121
  397. package/ts/google/protobuf/struct.js +0 -449
  398. package/ts/google/protobuf/timestamp.d.ts +0 -127
  399. package/ts/google/protobuf/timestamp.js +0 -97
  400. package/ts/growth/getchrreport.d.ts +0 -109
  401. package/ts/growth/getchrreport.js +0 -800
  402. package/ts/growth/processchrpayment.d.ts +0 -39
  403. package/ts/growth/processchrpayment.js +0 -177
  404. package/ts/kyc/epfo/fetchUANList.d.ts +0 -35
  405. package/ts/kyc/epfo/fetchUANList.js +0 -119
  406. package/ts/kyc/getselfietxn.d.ts +0 -37
  407. package/ts/kyc/getselfietxn.js +0 -161
  408. package/ts/loans/addrefrences.d.ts +0 -49
  409. package/ts/loans/forecloseamount.d.ts +0 -36
  410. package/ts/loans/forecloseamount.js +0 -133
  411. package/ts/loans/futurepaymentmoredetails.d.ts +0 -51
  412. package/ts/loans/futurepaymentmoredetails.js +0 -243
  413. package/ts/loans/getlocpartnerconfirm.d.ts +0 -46
  414. package/ts/loans/getlocpartnerconfirm.js +0 -287
  415. package/ts/loans/getlocpartnertenure.d.ts +0 -57
  416. package/ts/loans/getlocpartnertenure.js +0 -339
  417. package/ts/loans/getpartnerlocwithdraw.d.ts +0 -111
  418. package/ts/loans/getpartnerlocwithdraw.js +0 -1289
  419. package/ts/loans/rollbackextrapayment.d.ts +0 -37
  420. package/ts/loans/rollbackextrapayment.js +0 -149
  421. package/ts/upi/addupinumber.d.ts +0 -39
  422. package/ts/upi/addupinumber.js +0 -177
  423. package/ts/upi/addvpa.d.ts +0 -36
  424. package/ts/upi/addvpa.js +0 -133
  425. package/ts/upi/suggestvpa.d.ts +0 -35
  426. package/ts/upi/suggestvpa.js +0 -122
  427. package/ts/upi/updatedevicelinking.d.ts +0 -49
  428. package/ts/upi/updatedevicelinking.js +0 -332
@@ -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.0
5
- // protoc v6.31.0
4
+ // protoc-gen-ts_proto v1.181.2
5
+ // protoc v5.29.3
6
6
  // source: eqxcustomers/getlendingcustomerdeviceInfo.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -13,7 +13,7 @@ exports.CustomerDeviceInfoResponse = exports.DeviceGeo = exports.DeviceInfo = ex
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "eqxcustomers.getlendingcustomerdeviceInfo";
15
15
  function createBaseCustomerDeviceInfoRequest() {
16
- return { partner_lead_id: "", akara_lead_id: "", lead_source: "", device_info: undefined };
16
+ return { partner_lead_id: "", akara_lead_id: "", lead_source: "", device_info: undefined, device_synced: false };
17
17
  }
18
18
  exports.CustomerDeviceInfoRequest = {
19
19
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -29,6 +29,9 @@ exports.CustomerDeviceInfoRequest = {
29
29
  if (message.device_info !== undefined) {
30
30
  exports.DeviceInfo.encode(message.device_info, writer.uint32(34).fork()).ldelim();
31
31
  }
32
+ if (message.device_synced !== false) {
33
+ writer.uint32(40).bool(message.device_synced);
34
+ }
32
35
  return writer;
33
36
  },
34
37
  decode(input, length) {
@@ -62,6 +65,12 @@ exports.CustomerDeviceInfoRequest = {
62
65
  }
63
66
  message.device_info = exports.DeviceInfo.decode(reader, reader.uint32());
64
67
  continue;
68
+ case 5:
69
+ if (tag !== 40) {
70
+ break;
71
+ }
72
+ message.device_synced = reader.bool();
73
+ continue;
65
74
  }
66
75
  if ((tag & 7) === 4 || tag === 0) {
67
76
  break;
@@ -76,6 +85,7 @@ exports.CustomerDeviceInfoRequest = {
76
85
  akara_lead_id: isSet(object.akara_lead_id) ? globalThis.String(object.akara_lead_id) : "",
77
86
  lead_source: isSet(object.lead_source) ? globalThis.String(object.lead_source) : "",
78
87
  device_info: isSet(object.device_info) ? exports.DeviceInfo.fromJSON(object.device_info) : undefined,
88
+ device_synced: isSet(object.device_synced) ? globalThis.Boolean(object.device_synced) : false,
79
89
  };
80
90
  },
81
91
  toJSON(message) {
@@ -92,6 +102,9 @@ exports.CustomerDeviceInfoRequest = {
92
102
  if (message.device_info !== undefined) {
93
103
  obj.device_info = exports.DeviceInfo.toJSON(message.device_info);
94
104
  }
105
+ if (message.device_synced !== false) {
106
+ obj.device_synced = message.device_synced;
107
+ }
95
108
  return obj;
96
109
  },
97
110
  create(base) {
@@ -105,6 +118,7 @@ exports.CustomerDeviceInfoRequest = {
105
118
  message.device_info = (object.device_info !== undefined && object.device_info !== null)
106
119
  ? exports.DeviceInfo.fromPartial(object.device_info)
107
120
  : undefined;
121
+ message.device_synced = object.device_synced ?? false;
108
122
  return message;
109
123
  },
110
124
  };
@@ -6,6 +6,12 @@ export interface getlendingHomePageRequest {
6
6
  source?: string | undefined;
7
7
  lead_source?: string | undefined;
8
8
  personal_details?: PersonalDetails | undefined;
9
+ device_info: DeviceInfo | undefined;
10
+ }
11
+ export interface DeviceInfo {
12
+ device_id: string;
13
+ device_version?: string | undefined;
14
+ device_ip?: string | undefined;
9
15
  }
10
16
  export interface PersonalDetails {
11
17
  fname: string;
@@ -45,6 +51,10 @@ export interface DashboardData {
45
51
  image: string;
46
52
  slider_image: string;
47
53
  sections: Section[];
54
+ jwt_token: string;
55
+ auth_token: string;
56
+ device_id: string;
57
+ customer_id: string;
48
58
  }
49
59
  export interface getlendingHomePageResponse {
50
60
  status: boolean;
@@ -58,6 +68,14 @@ export declare const getlendingHomePageRequest: {
58
68
  create<I extends Exact<DeepPartial<getlendingHomePageRequest>, I>>(base?: I): getlendingHomePageRequest;
59
69
  fromPartial<I extends Exact<DeepPartial<getlendingHomePageRequest>, I>>(object: I): getlendingHomePageRequest;
60
70
  };
71
+ export declare const DeviceInfo: {
72
+ encode(message: DeviceInfo, writer?: _m0.Writer): _m0.Writer;
73
+ decode(input: _m0.Reader | Uint8Array, length?: number): DeviceInfo;
74
+ fromJSON(object: any): DeviceInfo;
75
+ toJSON(message: DeviceInfo): unknown;
76
+ create<I extends Exact<DeepPartial<DeviceInfo>, I>>(base?: I): DeviceInfo;
77
+ fromPartial<I extends Exact<DeepPartial<DeviceInfo>, I>>(object: I): DeviceInfo;
78
+ };
61
79
  export declare const PersonalDetails: {
62
80
  encode(message: PersonalDetails, writer?: _m0.Writer): _m0.Writer;
63
81
  decode(input: _m0.Reader | Uint8Array, length?: number): PersonalDetails;
@@ -1,14 +1,14 @@
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.0
5
- // protoc v6.31.0
4
+ // protoc-gen-ts_proto v1.181.2
5
+ // protoc v5.29.3
6
6
  // source: eqxcustomers/getlendinghomepage.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.getlendingHomePageResponse = exports.DashboardData = exports.Section = exports.PersonalDetails = exports.getlendingHomePageRequest = exports.protobufPackage = void 0;
11
+ exports.getlendingHomePageResponse = exports.DashboardData = exports.Section = exports.PersonalDetails = exports.DeviceInfo = exports.getlendingHomePageRequest = exports.protobufPackage = void 0;
12
12
  /* eslint-disable */
13
13
  const long_1 = __importDefault(require("long"));
14
14
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
@@ -20,6 +20,7 @@ function createBasegetlendingHomePageRequest() {
20
20
  source: undefined,
21
21
  lead_source: undefined,
22
22
  personal_details: undefined,
23
+ device_info: undefined,
23
24
  };
24
25
  }
25
26
  exports.getlendingHomePageRequest = {
@@ -39,6 +40,9 @@ exports.getlendingHomePageRequest = {
39
40
  if (message.personal_details !== undefined) {
40
41
  exports.PersonalDetails.encode(message.personal_details, writer.uint32(42).fork()).ldelim();
41
42
  }
43
+ if (message.device_info !== undefined) {
44
+ exports.DeviceInfo.encode(message.device_info, writer.uint32(50).fork()).ldelim();
45
+ }
42
46
  return writer;
43
47
  },
44
48
  decode(input, length) {
@@ -78,6 +82,12 @@ exports.getlendingHomePageRequest = {
78
82
  }
79
83
  message.personal_details = exports.PersonalDetails.decode(reader, reader.uint32());
80
84
  continue;
85
+ case 6:
86
+ if (tag !== 50) {
87
+ break;
88
+ }
89
+ message.device_info = exports.DeviceInfo.decode(reader, reader.uint32());
90
+ continue;
81
91
  }
82
92
  if ((tag & 7) === 4 || tag === 0) {
83
93
  break;
@@ -93,6 +103,7 @@ exports.getlendingHomePageRequest = {
93
103
  source: isSet(object.source) ? globalThis.String(object.source) : undefined,
94
104
  lead_source: isSet(object.lead_source) ? globalThis.String(object.lead_source) : undefined,
95
105
  personal_details: isSet(object.personal_details) ? exports.PersonalDetails.fromJSON(object.personal_details) : undefined,
106
+ device_info: isSet(object.device_info) ? exports.DeviceInfo.fromJSON(object.device_info) : undefined,
96
107
  };
97
108
  },
98
109
  toJSON(message) {
@@ -112,6 +123,9 @@ exports.getlendingHomePageRequest = {
112
123
  if (message.personal_details !== undefined) {
113
124
  obj.personal_details = exports.PersonalDetails.toJSON(message.personal_details);
114
125
  }
126
+ if (message.device_info !== undefined) {
127
+ obj.device_info = exports.DeviceInfo.toJSON(message.device_info);
128
+ }
115
129
  return obj;
116
130
  },
117
131
  create(base) {
@@ -126,6 +140,89 @@ exports.getlendingHomePageRequest = {
126
140
  message.personal_details = (object.personal_details !== undefined && object.personal_details !== null)
127
141
  ? exports.PersonalDetails.fromPartial(object.personal_details)
128
142
  : undefined;
143
+ message.device_info = (object.device_info !== undefined && object.device_info !== null)
144
+ ? exports.DeviceInfo.fromPartial(object.device_info)
145
+ : undefined;
146
+ return message;
147
+ },
148
+ };
149
+ function createBaseDeviceInfo() {
150
+ return { device_id: "", device_version: undefined, device_ip: undefined };
151
+ }
152
+ exports.DeviceInfo = {
153
+ encode(message, writer = minimal_1.default.Writer.create()) {
154
+ if (message.device_id !== "") {
155
+ writer.uint32(10).string(message.device_id);
156
+ }
157
+ if (message.device_version !== undefined) {
158
+ writer.uint32(18).string(message.device_version);
159
+ }
160
+ if (message.device_ip !== undefined) {
161
+ writer.uint32(26).string(message.device_ip);
162
+ }
163
+ return writer;
164
+ },
165
+ decode(input, length) {
166
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
167
+ let end = length === undefined ? reader.len : reader.pos + length;
168
+ const message = createBaseDeviceInfo();
169
+ while (reader.pos < end) {
170
+ const tag = reader.uint32();
171
+ switch (tag >>> 3) {
172
+ case 1:
173
+ if (tag !== 10) {
174
+ break;
175
+ }
176
+ message.device_id = reader.string();
177
+ continue;
178
+ case 2:
179
+ if (tag !== 18) {
180
+ break;
181
+ }
182
+ message.device_version = reader.string();
183
+ continue;
184
+ case 3:
185
+ if (tag !== 26) {
186
+ break;
187
+ }
188
+ message.device_ip = reader.string();
189
+ continue;
190
+ }
191
+ if ((tag & 7) === 4 || tag === 0) {
192
+ break;
193
+ }
194
+ reader.skipType(tag & 7);
195
+ }
196
+ return message;
197
+ },
198
+ fromJSON(object) {
199
+ return {
200
+ device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
201
+ device_version: isSet(object.device_version) ? globalThis.String(object.device_version) : undefined,
202
+ device_ip: isSet(object.device_ip) ? globalThis.String(object.device_ip) : undefined,
203
+ };
204
+ },
205
+ toJSON(message) {
206
+ const obj = {};
207
+ if (message.device_id !== "") {
208
+ obj.device_id = message.device_id;
209
+ }
210
+ if (message.device_version !== undefined) {
211
+ obj.device_version = message.device_version;
212
+ }
213
+ if (message.device_ip !== undefined) {
214
+ obj.device_ip = message.device_ip;
215
+ }
216
+ return obj;
217
+ },
218
+ create(base) {
219
+ return exports.DeviceInfo.fromPartial(base ?? {});
220
+ },
221
+ fromPartial(object) {
222
+ const message = createBaseDeviceInfo();
223
+ message.device_id = object.device_id ?? "";
224
+ message.device_version = object.device_version ?? undefined;
225
+ message.device_ip = object.device_ip ?? undefined;
129
226
  return message;
130
227
  },
131
228
  };
@@ -498,6 +595,10 @@ function createBaseDashboardData() {
498
595
  image: "",
499
596
  slider_image: "",
500
597
  sections: [],
598
+ jwt_token: "",
599
+ auth_token: "",
600
+ device_id: "",
601
+ customer_id: "",
501
602
  };
502
603
  }
503
604
  exports.DashboardData = {
@@ -547,6 +648,18 @@ exports.DashboardData = {
547
648
  for (const v of message.sections) {
548
649
  exports.Section.encode(v, writer.uint32(122).fork()).ldelim();
549
650
  }
651
+ if (message.jwt_token !== "") {
652
+ writer.uint32(130).string(message.jwt_token);
653
+ }
654
+ if (message.auth_token !== "") {
655
+ writer.uint32(138).string(message.auth_token);
656
+ }
657
+ if (message.device_id !== "") {
658
+ writer.uint32(146).string(message.device_id);
659
+ }
660
+ if (message.customer_id !== "") {
661
+ writer.uint32(154).string(message.customer_id);
662
+ }
550
663
  return writer;
551
664
  },
552
665
  decode(input, length) {
@@ -646,6 +759,30 @@ exports.DashboardData = {
646
759
  }
647
760
  message.sections.push(exports.Section.decode(reader, reader.uint32()));
648
761
  continue;
762
+ case 16:
763
+ if (tag !== 130) {
764
+ break;
765
+ }
766
+ message.jwt_token = reader.string();
767
+ continue;
768
+ case 17:
769
+ if (tag !== 138) {
770
+ break;
771
+ }
772
+ message.auth_token = reader.string();
773
+ continue;
774
+ case 18:
775
+ if (tag !== 146) {
776
+ break;
777
+ }
778
+ message.device_id = reader.string();
779
+ continue;
780
+ case 19:
781
+ if (tag !== 154) {
782
+ break;
783
+ }
784
+ message.customer_id = reader.string();
785
+ continue;
649
786
  }
650
787
  if ((tag & 7) === 4 || tag === 0) {
651
788
  break;
@@ -673,6 +810,10 @@ exports.DashboardData = {
673
810
  image: isSet(object.image) ? globalThis.String(object.image) : "",
674
811
  slider_image: isSet(object.slider_image) ? globalThis.String(object.slider_image) : "",
675
812
  sections: globalThis.Array.isArray(object?.sections) ? object.sections.map((e) => exports.Section.fromJSON(e)) : [],
813
+ jwt_token: isSet(object.jwt_token) ? globalThis.String(object.jwt_token) : "",
814
+ auth_token: isSet(object.auth_token) ? globalThis.String(object.auth_token) : "",
815
+ device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
816
+ customer_id: isSet(object.customer_id) ? globalThis.String(object.customer_id) : "",
676
817
  };
677
818
  },
678
819
  toJSON(message) {
@@ -722,6 +863,18 @@ exports.DashboardData = {
722
863
  if (message.sections?.length) {
723
864
  obj.sections = message.sections.map((e) => exports.Section.toJSON(e));
724
865
  }
866
+ if (message.jwt_token !== "") {
867
+ obj.jwt_token = message.jwt_token;
868
+ }
869
+ if (message.auth_token !== "") {
870
+ obj.auth_token = message.auth_token;
871
+ }
872
+ if (message.device_id !== "") {
873
+ obj.device_id = message.device_id;
874
+ }
875
+ if (message.customer_id !== "") {
876
+ obj.customer_id = message.customer_id;
877
+ }
725
878
  return obj;
726
879
  },
727
880
  create(base) {
@@ -744,6 +897,10 @@ exports.DashboardData = {
744
897
  message.image = object.image ?? "";
745
898
  message.slider_image = object.slider_image ?? "";
746
899
  message.sections = object.sections?.map((e) => exports.Section.fromPartial(e)) || [];
900
+ message.jwt_token = object.jwt_token ?? "";
901
+ message.auth_token = object.auth_token ?? "";
902
+ message.device_id = object.device_id ?? "";
903
+ message.customer_id = object.customer_id ?? "";
747
904
  return message;
748
905
  },
749
906
  };
@@ -0,0 +1,51 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "eqxcustomers.getlendingrefreshtoken";
3
+ export interface getLendingRefreshTokenRequest {
4
+ customer_id?: number | undefined;
5
+ phone_number: number;
6
+ }
7
+ export interface RefreshTokenData {
8
+ jwt_token: string;
9
+ auth_token: string;
10
+ device_id: string;
11
+ customer_id: number;
12
+ }
13
+ export interface getLendingRefreshTokenResponse {
14
+ status: string;
15
+ data: RefreshTokenData | undefined;
16
+ }
17
+ export declare const getLendingRefreshTokenRequest: {
18
+ encode(message: getLendingRefreshTokenRequest, writer?: _m0.Writer): _m0.Writer;
19
+ decode(input: _m0.Reader | Uint8Array, length?: number): getLendingRefreshTokenRequest;
20
+ fromJSON(object: any): getLendingRefreshTokenRequest;
21
+ toJSON(message: getLendingRefreshTokenRequest): unknown;
22
+ create<I extends Exact<DeepPartial<getLendingRefreshTokenRequest>, I>>(base?: I): getLendingRefreshTokenRequest;
23
+ fromPartial<I extends Exact<DeepPartial<getLendingRefreshTokenRequest>, I>>(object: I): getLendingRefreshTokenRequest;
24
+ };
25
+ export declare const RefreshTokenData: {
26
+ encode(message: RefreshTokenData, writer?: _m0.Writer): _m0.Writer;
27
+ decode(input: _m0.Reader | Uint8Array, length?: number): RefreshTokenData;
28
+ fromJSON(object: any): RefreshTokenData;
29
+ toJSON(message: RefreshTokenData): unknown;
30
+ create<I extends Exact<DeepPartial<RefreshTokenData>, I>>(base?: I): RefreshTokenData;
31
+ fromPartial<I extends Exact<DeepPartial<RefreshTokenData>, I>>(object: I): RefreshTokenData;
32
+ };
33
+ export declare const getLendingRefreshTokenResponse: {
34
+ encode(message: getLendingRefreshTokenResponse, writer?: _m0.Writer): _m0.Writer;
35
+ decode(input: _m0.Reader | Uint8Array, length?: number): getLendingRefreshTokenResponse;
36
+ fromJSON(object: any): getLendingRefreshTokenResponse;
37
+ toJSON(message: getLendingRefreshTokenResponse): unknown;
38
+ create<I extends Exact<DeepPartial<getLendingRefreshTokenResponse>, I>>(base?: I): getLendingRefreshTokenResponse;
39
+ fromPartial<I extends Exact<DeepPartial<getLendingRefreshTokenResponse>, I>>(object: I): getLendingRefreshTokenResponse;
40
+ };
41
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
42
+ 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 {} ? {
43
+ [K in keyof T]?: DeepPartial<T[K]>;
44
+ } : Partial<T>;
45
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
46
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
47
+ [K in keyof P]: Exact<P[K], I[K]>;
48
+ } & {
49
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
50
+ };
51
+ export {};
@@ -0,0 +1,259 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.2
5
+ // protoc v5.29.3
6
+ // source: eqxcustomers/getlendingrefreshtoken.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.getLendingRefreshTokenResponse = exports.RefreshTokenData = exports.getLendingRefreshTokenRequest = 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 = "eqxcustomers.getlendingrefreshtoken";
16
+ function createBasegetLendingRefreshTokenRequest() {
17
+ return { customer_id: undefined, phone_number: 0 };
18
+ }
19
+ exports.getLendingRefreshTokenRequest = {
20
+ encode(message, writer = minimal_1.default.Writer.create()) {
21
+ if (message.customer_id !== undefined) {
22
+ writer.uint32(8).int64(message.customer_id);
23
+ }
24
+ if (message.phone_number !== 0) {
25
+ writer.uint32(16).int64(message.phone_number);
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 = createBasegetLendingRefreshTokenRequest();
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 !== 16) {
44
+ break;
45
+ }
46
+ message.phone_number = longToNumber(reader.int64());
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) : undefined,
59
+ phone_number: isSet(object.phone_number) ? globalThis.Number(object.phone_number) : 0,
60
+ };
61
+ },
62
+ toJSON(message) {
63
+ const obj = {};
64
+ if (message.customer_id !== undefined) {
65
+ obj.customer_id = Math.round(message.customer_id);
66
+ }
67
+ if (message.phone_number !== 0) {
68
+ obj.phone_number = Math.round(message.phone_number);
69
+ }
70
+ return obj;
71
+ },
72
+ create(base) {
73
+ return exports.getLendingRefreshTokenRequest.fromPartial(base ?? {});
74
+ },
75
+ fromPartial(object) {
76
+ const message = createBasegetLendingRefreshTokenRequest();
77
+ message.customer_id = object.customer_id ?? undefined;
78
+ message.phone_number = object.phone_number ?? 0;
79
+ return message;
80
+ },
81
+ };
82
+ function createBaseRefreshTokenData() {
83
+ return { jwt_token: "", auth_token: "", device_id: "", customer_id: 0 };
84
+ }
85
+ exports.RefreshTokenData = {
86
+ encode(message, writer = minimal_1.default.Writer.create()) {
87
+ if (message.jwt_token !== "") {
88
+ writer.uint32(10).string(message.jwt_token);
89
+ }
90
+ if (message.auth_token !== "") {
91
+ writer.uint32(18).string(message.auth_token);
92
+ }
93
+ if (message.device_id !== "") {
94
+ writer.uint32(26).string(message.device_id);
95
+ }
96
+ if (message.customer_id !== 0) {
97
+ writer.uint32(32).int64(message.customer_id);
98
+ }
99
+ return writer;
100
+ },
101
+ decode(input, length) {
102
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
103
+ let end = length === undefined ? reader.len : reader.pos + length;
104
+ const message = createBaseRefreshTokenData();
105
+ while (reader.pos < end) {
106
+ const tag = reader.uint32();
107
+ switch (tag >>> 3) {
108
+ case 1:
109
+ if (tag !== 10) {
110
+ break;
111
+ }
112
+ message.jwt_token = reader.string();
113
+ continue;
114
+ case 2:
115
+ if (tag !== 18) {
116
+ break;
117
+ }
118
+ message.auth_token = reader.string();
119
+ continue;
120
+ case 3:
121
+ if (tag !== 26) {
122
+ break;
123
+ }
124
+ message.device_id = reader.string();
125
+ continue;
126
+ case 4:
127
+ if (tag !== 32) {
128
+ break;
129
+ }
130
+ message.customer_id = longToNumber(reader.int64());
131
+ continue;
132
+ }
133
+ if ((tag & 7) === 4 || tag === 0) {
134
+ break;
135
+ }
136
+ reader.skipType(tag & 7);
137
+ }
138
+ return message;
139
+ },
140
+ fromJSON(object) {
141
+ return {
142
+ jwt_token: isSet(object.jwt_token) ? globalThis.String(object.jwt_token) : "",
143
+ auth_token: isSet(object.auth_token) ? globalThis.String(object.auth_token) : "",
144
+ device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
145
+ customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
146
+ };
147
+ },
148
+ toJSON(message) {
149
+ const obj = {};
150
+ if (message.jwt_token !== "") {
151
+ obj.jwt_token = message.jwt_token;
152
+ }
153
+ if (message.auth_token !== "") {
154
+ obj.auth_token = message.auth_token;
155
+ }
156
+ if (message.device_id !== "") {
157
+ obj.device_id = message.device_id;
158
+ }
159
+ if (message.customer_id !== 0) {
160
+ obj.customer_id = Math.round(message.customer_id);
161
+ }
162
+ return obj;
163
+ },
164
+ create(base) {
165
+ return exports.RefreshTokenData.fromPartial(base ?? {});
166
+ },
167
+ fromPartial(object) {
168
+ const message = createBaseRefreshTokenData();
169
+ message.jwt_token = object.jwt_token ?? "";
170
+ message.auth_token = object.auth_token ?? "";
171
+ message.device_id = object.device_id ?? "";
172
+ message.customer_id = object.customer_id ?? 0;
173
+ return message;
174
+ },
175
+ };
176
+ function createBasegetLendingRefreshTokenResponse() {
177
+ return { status: "", data: undefined };
178
+ }
179
+ exports.getLendingRefreshTokenResponse = {
180
+ encode(message, writer = minimal_1.default.Writer.create()) {
181
+ if (message.status !== "") {
182
+ writer.uint32(10).string(message.status);
183
+ }
184
+ if (message.data !== undefined) {
185
+ exports.RefreshTokenData.encode(message.data, writer.uint32(18).fork()).ldelim();
186
+ }
187
+ return writer;
188
+ },
189
+ decode(input, length) {
190
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
191
+ let end = length === undefined ? reader.len : reader.pos + length;
192
+ const message = createBasegetLendingRefreshTokenResponse();
193
+ while (reader.pos < end) {
194
+ const tag = reader.uint32();
195
+ switch (tag >>> 3) {
196
+ case 1:
197
+ if (tag !== 10) {
198
+ break;
199
+ }
200
+ message.status = reader.string();
201
+ continue;
202
+ case 2:
203
+ if (tag !== 18) {
204
+ break;
205
+ }
206
+ message.data = exports.RefreshTokenData.decode(reader, reader.uint32());
207
+ continue;
208
+ }
209
+ if ((tag & 7) === 4 || tag === 0) {
210
+ break;
211
+ }
212
+ reader.skipType(tag & 7);
213
+ }
214
+ return message;
215
+ },
216
+ fromJSON(object) {
217
+ return {
218
+ status: isSet(object.status) ? globalThis.String(object.status) : "",
219
+ data: isSet(object.data) ? exports.RefreshTokenData.fromJSON(object.data) : undefined,
220
+ };
221
+ },
222
+ toJSON(message) {
223
+ const obj = {};
224
+ if (message.status !== "") {
225
+ obj.status = message.status;
226
+ }
227
+ if (message.data !== undefined) {
228
+ obj.data = exports.RefreshTokenData.toJSON(message.data);
229
+ }
230
+ return obj;
231
+ },
232
+ create(base) {
233
+ return exports.getLendingRefreshTokenResponse.fromPartial(base ?? {});
234
+ },
235
+ fromPartial(object) {
236
+ const message = createBasegetLendingRefreshTokenResponse();
237
+ message.status = object.status ?? "";
238
+ message.data = (object.data !== undefined && object.data !== null)
239
+ ? exports.RefreshTokenData.fromPartial(object.data)
240
+ : undefined;
241
+ return message;
242
+ },
243
+ };
244
+ function longToNumber(long) {
245
+ if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
246
+ throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
247
+ }
248
+ if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
249
+ throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
250
+ }
251
+ return long.toNumber();
252
+ }
253
+ if (minimal_1.default.util.Long !== long_1.default) {
254
+ minimal_1.default.util.Long = long_1.default;
255
+ minimal_1.default.configure();
256
+ }
257
+ function isSet(value) {
258
+ return value !== null && value !== undefined;
259
+ }