@stashfin/grpc 1.2.833 → 1.2.834

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 (409) hide show
  1. package/package.json +1 -1
  2. package/ts/admin/getcustomer.js +2 -2
  3. package/ts/admin/getcustomerbyid.js +2 -2
  4. package/ts/admin.js +2 -2
  5. package/ts/banking/aa/getaasupport.js +2 -2
  6. package/ts/banking/aa/getbanklist.js +2 -2
  7. package/ts/banking/aa/getcustomerbank.js +2 -2
  8. package/ts/banking/aa/getrpdlink.js +2 -2
  9. package/ts/banking/aa/initiate.js +2 -2
  10. package/ts/banking/aa/initiatepennydrop.js +2 -2
  11. package/ts/banking/aa/netbankinginitiate.js +2 -2
  12. package/ts/banking/aa/pollingrpd.js +2 -2
  13. package/ts/banking.js +2 -2
  14. package/ts/bbps/getallbbpstransactions.js +2 -2
  15. package/ts/bbps/getbills.js +2 -2
  16. package/ts/bbps/processwebhook.js +2 -2
  17. package/ts/bbps.js +2 -2
  18. package/ts/bureau/getbasicdetails.js +2 -2
  19. package/ts/bureau/getbureaudetails.d.ts +60 -0
  20. package/ts/bureau/getbureaudetails.js +374 -0
  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 +14 -0
  29. package/ts/bureau.js +12 -2
  30. package/ts/chr/notifychrpayments.js +2 -2
  31. package/ts/chr.js +2 -2
  32. package/ts/ckyc/ckycdownload.js +2 -2
  33. package/ts/ckyc/ckycsearch.js +2 -2
  34. package/ts/ckyc.js +2 -2
  35. package/ts/colender/disburseLoan.js +2 -2
  36. package/ts/colender/forecloseLoan.js +2 -2
  37. package/ts/colender/repayLoan.js +2 -2
  38. package/ts/colender.js +2 -2
  39. package/ts/communications/bureauidwhatsapp.js +2 -2
  40. package/ts/communications.js +2 -2
  41. package/ts/customers/aa/getaatxnstatus.js +2 -2
  42. package/ts/customers/aa/getbanklist.js +2 -2
  43. package/ts/customers/aa/initiate.js +2 -2
  44. package/ts/customers/accidentprotectionplan.js +2 -2
  45. package/ts/customers/addaddress.js +2 -2
  46. package/ts/customers/addbankaccountdetails.js +2 -2
  47. package/ts/customers/addfathersname.js +2 -2
  48. package/ts/customers/addgstnumber.js +2 -2
  49. package/ts/customers/addmoredetails.js +2 -2
  50. package/ts/customers/addsuspendedcustomer.js +2 -2
  51. package/ts/customers/adduserapps.js +2 -2
  52. package/ts/customers/applyclijourney.js +2 -2
  53. package/ts/customers/bulksms.js +2 -2
  54. package/ts/customers/cb/cbapplicationrejecteddata.js +2 -2
  55. package/ts/customers/cb/cbpaynow.js +2 -2
  56. package/ts/customers/cb/cbsignup.js +2 -2
  57. package/ts/customers/cb/getcbtxnstatus.js +2 -2
  58. package/ts/customers/cb/getcreditbuilder.js +2 -2
  59. package/ts/customers/cb/getpaymentsummary.js +2 -2
  60. package/ts/customers/cb/insurancedetails.js +2 -2
  61. package/ts/customers/cb/lesscsimprove.js +2 -2
  62. package/ts/customers/cb/morecsimprove.js +2 -2
  63. package/ts/customers/cb/paynow.js +2 -2
  64. package/ts/customers/cb/savecreditbuilder.js +2 -2
  65. package/ts/customers/cb/updatecbstandalonecancellation.js +2 -2
  66. package/ts/customers/cb/updatecbstandaloneconfirmation.js +2 -2
  67. package/ts/customers/cb/updatecbstandalonejourney.js +2 -2
  68. package/ts/customers/cb/updatecbtxnstatus.js +2 -2
  69. package/ts/customers/changempin.js +2 -2
  70. package/ts/customers/createcustomerreference.js +2 -2
  71. package/ts/customers/createvanumber.js +2 -2
  72. package/ts/customers/customerinfo.js +2 -2
  73. package/ts/customers/deletedocument.js +2 -2
  74. package/ts/customers/deleteprofile.js +2 -2
  75. package/ts/customers/disablempin.js +2 -2
  76. package/ts/customers/enach/gettxnstatus.js +2 -2
  77. package/ts/customers/enach/getweburl.js +2 -2
  78. package/ts/customers/enach/updateenachtxnstatus.js +2 -2
  79. package/ts/customers/enach/updatetxnstatus.js +2 -2
  80. package/ts/customers/fetchrcprofile.js +2 -2
  81. package/ts/customers/floatingvideos.js +2 -2
  82. package/ts/customers/forceupdate.js +2 -2
  83. package/ts/customers/forgotmpin.js +2 -2
  84. package/ts/customers/forgotmpinverify.js +2 -2
  85. package/ts/customers/freedom/addressconfirmation.js +2 -2
  86. package/ts/customers/freedom/freedompaynow.js +2 -2
  87. package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
  88. package/ts/customers/freedom/updateadditionalverification.js +2 -2
  89. package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
  90. package/ts/customers/getaddresslist.js +2 -2
  91. package/ts/customers/getappsubmittedscreen.js +2 -2
  92. package/ts/customers/getbankaccountdetails.js +2 -2
  93. package/ts/customers/getbasicinfo.js +2 -2
  94. package/ts/customers/getcities.js +2 -2
  95. package/ts/customers/getclistatus.js +2 -2
  96. package/ts/customers/getcompanyaccdetails.js +2 -2
  97. package/ts/customers/getcustomer.d.ts +57 -0
  98. package/ts/customers/getcustomer.js +351 -0
  99. package/ts/customers/getcustomerbyid.js +2 -2
  100. package/ts/customers/getcustomerdetailsbymobile.js +2 -2
  101. package/ts/customers/getdashboard.js +2 -2
  102. package/ts/customers/getdashboardmaincard.js +2 -2
  103. package/ts/customers/getdocuments.js +2 -2
  104. package/ts/customers/getglobalpopups.js +2 -2
  105. package/ts/customers/getlimit.js +2 -2
  106. package/ts/customers/getloclimit.js +2 -2
  107. package/ts/customers/getmessengermode.js +2 -2
  108. package/ts/customers/getoccupationlist.js +2 -2
  109. package/ts/customers/getpaymentoptions.js +2 -2
  110. package/ts/customers/getprofessionalinfo.js +2 -2
  111. package/ts/customers/getprofile.js +2 -2
  112. package/ts/customers/getrecommendedtag.d.ts +35 -0
  113. package/ts/customers/getrecommendedtag.js +134 -0
  114. package/ts/customers/getrpdlink.d.ts +40 -0
  115. package/ts/customers/getrpdlink.js +190 -0
  116. package/ts/customers/getselfieetxnid.js +2 -2
  117. package/ts/customers/getstates.js +2 -2
  118. package/ts/customers/getstep.js +2 -2
  119. package/ts/customers/getsyncstatus.js +2 -2
  120. package/ts/customers/getvanumber.js +2 -2
  121. package/ts/customers/kyc/epfo.d.ts +38 -0
  122. package/ts/customers/kyc/epfo.js +149 -0
  123. package/ts/customers/lamf/applylamf.js +2 -2
  124. package/ts/customers/lamf/sendlamfotp.js +2 -2
  125. package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
  126. package/ts/customers/lamf/updatelamfjourney.js +2 -2
  127. package/ts/customers/lamf/verifylamfotp.js +2 -2
  128. package/ts/customers/lamf/verifylamfpledgeotp.js +2 -2
  129. package/ts/customers/logout.js +2 -2
  130. package/ts/customers/pd/getbanklist.js +2 -2
  131. package/ts/customers/pd/validatebankaccount.js +2 -2
  132. package/ts/customers/profilebasic.js +2 -2
  133. package/ts/customers/profileupdatetnc.js +2 -2
  134. package/ts/customers/resetbanner.js +2 -2
  135. package/ts/customers/restoreaccount.js +2 -2
  136. package/ts/customers/rpd/getrpdlink.js +2 -2
  137. package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
  138. package/ts/customers/rpd/mockpayment.js +2 -2
  139. package/ts/customers/saveappslist.js +2 -2
  140. package/ts/customers/savebasicdetails.js +2 -2
  141. package/ts/customers/savelimit.js +2 -2
  142. package/ts/customers/saveunlocklimit.js +2 -2
  143. package/ts/customers/sendemailtoken.d.ts +35 -0
  144. package/ts/customers/sendemailtoken.js +117 -0
  145. package/ts/customers/sendotp.js +2 -2
  146. package/ts/customers/sendotptoemail.js +2 -2
  147. package/ts/customers/setmpin.js +2 -2
  148. package/ts/customers/skipdlrcscreen.d.ts +35 -0
  149. package/ts/customers/skipdlrcscreen.js +117 -0
  150. package/ts/customers/skipscreen.js +2 -2
  151. package/ts/customers/step1.d.ts +69 -0
  152. package/ts/customers/step1.js +395 -0
  153. package/ts/customers/step10.d.ts +73 -0
  154. package/ts/customers/step10.js +459 -0
  155. package/ts/customers/step2.d.ts +68 -0
  156. package/ts/customers/step2.js +381 -0
  157. package/ts/customers/step7.d.ts +68 -0
  158. package/ts/customers/step7.js +381 -0
  159. package/ts/customers/step8.d.ts +69 -0
  160. package/ts/customers/step8.js +395 -0
  161. package/ts/customers/step9.d.ts +75 -0
  162. package/ts/customers/step9.js +489 -0
  163. package/ts/customers/stepstatic.d.ts +66 -0
  164. package/ts/customers/stepstatic.js +354 -0
  165. package/ts/customers/submituploadeddocuments.js +2 -2
  166. package/ts/customers/syncdecisionengine.js +2 -2
  167. package/ts/customers/updatecategory.js +2 -2
  168. package/ts/customers/updatecongratulationstep.js +2 -2
  169. package/ts/customers/updatecustomerbyid.js +2 -2
  170. package/ts/customers/updatedlnumber.js +2 -2
  171. package/ts/customers/updatedob.js +2 -2
  172. package/ts/customers/updatelocstatus.js +2 -2
  173. package/ts/customers/updatemobilesendotp.js +2 -2
  174. package/ts/customers/updatemobileverifyotp.js +2 -2
  175. package/ts/customers/updateokyctxn.js +2 -2
  176. package/ts/customers/updatesanctionamount.js +2 -2
  177. package/ts/customers/updateselfieetxn.js +2 -2
  178. package/ts/customers/updatesyncstatus.js +2 -2
  179. package/ts/customers/updatevehiclenumber.js +2 -2
  180. package/ts/customers/uploaddocuments.js +2 -2
  181. package/ts/customers/validatepan.js +2 -2
  182. package/ts/customers/verifyemail.d.ts +35 -0
  183. package/ts/{loans/getvirtualaccountnumber.js → customers/verifyemail.js} +32 -32
  184. package/ts/customers/verifympin.js +2 -2
  185. package/ts/customers/verifyotp.js +2 -2
  186. package/ts/customers/verifyotptoemail.js +2 -2
  187. package/ts/customers.js +2 -2
  188. package/ts/decisionengine/decisionengine.js +2 -2
  189. package/ts/decisionengine/decisionenginetrigger.js +2 -2
  190. package/ts/decisionengine/locdisbursalapproval.js +2 -2
  191. package/ts/decisionengine/saveconsent.js +2 -2
  192. package/ts/decisionengine.js +2 -2
  193. package/ts/deveqxcustomers.js +2 -2
  194. package/ts/devupi.js +2 -2
  195. package/ts/digigold/buygold.js +2 -2
  196. package/ts/digigold/getbuygoldstatus.js +2 -2
  197. package/ts/digigold/getquote.js +2 -2
  198. package/ts/digigold.js +2 -2
  199. package/ts/documents/getagreement.js +2 -2
  200. package/ts/documents/getfinancialdoc.js +2 -2
  201. package/ts/documents.js +2 -2
  202. package/ts/eqxcustomer.js +2 -2
  203. package/ts/eqxcustomers/authenticateuser.js +2 -2
  204. package/ts/eqxcustomers/creditguidance.js +2 -2
  205. package/ts/eqxcustomers/getallcustomers.js +2 -2
  206. package/ts/eqxcustomers/getalltransactions.d.ts +51 -0
  207. package/ts/eqxcustomers/getalltransactions.js +258 -0
  208. package/ts/eqxcustomers/getbankaccount.js +2 -2
  209. package/ts/eqxcustomers/getcustomerbyid.js +2 -2
  210. package/ts/eqxcustomers/getcustomerbymobile.js +2 -2
  211. package/ts/eqxcustomers/getcustomerbyvpa.js +2 -2
  212. package/ts/eqxcustomers/getdashboard.js +2 -2
  213. package/ts/eqxcustomers/getdashboardmaincard.js +2 -2
  214. package/ts/eqxcustomers/getlandinghomepage.js +2 -2
  215. package/ts/eqxcustomers/getlendingcustomerappsInfo.js +2 -2
  216. package/ts/eqxcustomers/getlendingcustomerdeviceInfo.js +2 -2
  217. package/ts/eqxcustomers/getlendinghomepage.js +2 -2
  218. package/ts/eqxcustomers/getlendingrefreshtoken.js +2 -2
  219. package/ts/eqxcustomers/getlendingsyncedinfo.js +2 -2
  220. package/ts/eqxcustomers/getloanplans.js +2 -2
  221. package/ts/eqxcustomers/getnotifications.js +2 -2
  222. package/ts/eqxcustomers/getstashscorecustomerprofile.js +2 -2
  223. package/ts/eqxcustomers/gettnc.js +2 -2
  224. package/ts/eqxcustomers/gettncbycustomerid.js +2 -2
  225. package/ts/eqxcustomers/gettokens.js +2 -2
  226. package/ts/eqxcustomers/getvpalist.js +2 -2
  227. package/ts/eqxcustomers/iscustomerregistered.js +2 -2
  228. package/ts/eqxcustomers/lendingcustomerexists.js +2 -2
  229. package/ts/eqxcustomers/sendotp.js +2 -2
  230. package/ts/eqxcustomers/truecallerlogin.js +2 -2
  231. package/ts/eqxcustomers/updatecustomer.js +2 -2
  232. package/ts/eqxcustomers/updatecustomerbasicdetails.js +2 -2
  233. package/ts/eqxcustomers/updatecustomercategory.js +2 -2
  234. package/ts/eqxcustomers/updatedevicedetails.js +2 -2
  235. package/ts/eqxcustomers/updatenotification.js +2 -2
  236. package/ts/eqxcustomers/updatepushid.js +2 -2
  237. package/ts/eqxcustomers/updatesubscriptionstatus.js +2 -2
  238. package/ts/eqxcustomers/verifyotp.js +2 -2
  239. package/ts/eqxcustomers/verifytoken.js +2 -2
  240. package/ts/eqxpayments/checkpaymentstatus.js +2 -2
  241. package/ts/eqxpayments/fundtransfer.js +2 -2
  242. package/ts/eqxpayments/getpaymentoptions.js +2 -2
  243. package/ts/eqxpayments/initiatepayment.js +2 -2
  244. package/ts/eqxpayments/initiaterefund.js +2 -2
  245. package/ts/eqxpayments/nachpresentation.js +2 -2
  246. package/ts/eqxpayments/nachregistration.js +2 -2
  247. package/ts/eqxpayments.js +2 -2
  248. package/ts/example.js +2 -2
  249. package/ts/feepayments/getbanklist.js +2 -2
  250. package/ts/feepayments.js +2 -2
  251. package/ts/google/protobuf/struct.d.ts +121 -0
  252. package/ts/google/protobuf/struct.js +449 -0
  253. package/ts/google/protobuf/timestamp.d.ts +127 -0
  254. package/ts/google/protobuf/timestamp.js +97 -0
  255. package/ts/growth/checkplanstatus.js +2 -2
  256. package/ts/growth/getattachplandetails.js +2 -2
  257. package/ts/growth/getchrpaymentstatus.js +2 -2
  258. package/ts/growth/getchrpdfurl.js +2 -2
  259. package/ts/growth/getchrplans.js +2 -2
  260. package/ts/growth/getchrreport.d.ts +42 -0
  261. package/ts/growth/getchrreport.js +300 -4
  262. package/ts/growth/getchrreportdata.js +2 -2
  263. package/ts/growth/getchrsubscriptionplan.js +2 -2
  264. package/ts/growth/getchrvideourl.js +2 -2
  265. package/ts/growth/getcredithealthreport.js +2 -2
  266. package/ts/growth/initiatepayment.js +2 -2
  267. package/ts/growth/notifychrpayment.js +2 -2
  268. package/ts/growth/processchrpayment.js +2 -2
  269. package/ts/growth.js +2 -2
  270. package/ts/kyc/amldetails.js +2 -2
  271. package/ts/kyc/authbridgepancomprehend.js +2 -2
  272. package/ts/kyc/bureauidwhatsapp.js +2 -2
  273. package/ts/kyc/ckycfetchrecord.js +2 -2
  274. package/ts/kyc/ckycresendotp.js +2 -2
  275. package/ts/kyc/ckycsearchv1.js +2 -2
  276. package/ts/kyc/epfo/fetchUANList.d.ts +35 -0
  277. package/ts/kyc/epfo/fetchUANList.js +119 -0
  278. package/ts/kyc/facematch.js +2 -2
  279. package/ts/kyc/fetchaadhaarbypan.js +2 -2
  280. package/ts/kyc/fetchemploymenthistory.js +2 -2
  281. package/ts/kyc/fetchuanlist.js +2 -2
  282. package/ts/kyc/getselfietxn.d.ts +37 -0
  283. package/ts/kyc/getselfietxn.js +161 -0
  284. package/ts/kyc/getselfietxnid.js +2 -2
  285. package/ts/kyc/getselfieurl.js +2 -2
  286. package/ts/kyc/nsdlpanvalidate.js +2 -2
  287. package/ts/kyc/okyclinkhyperverge.js +2 -2
  288. package/ts/kyc.js +2 -2
  289. package/ts/lamf/getloandetails.js +2 -2
  290. package/ts/lamf/submitotp.js +2 -2
  291. package/ts/lamf/validateuser.js +2 -2
  292. package/ts/lamf.js +2 -2
  293. package/ts/loans/addreference.js +2 -2
  294. package/ts/loans/addrefrences.d.ts +49 -0
  295. package/ts/loans/addrefrences.js +229 -0
  296. package/ts/loans/amortization.js +2 -2
  297. package/ts/loans/approveloan.js +2 -2
  298. package/ts/loans/banklist.js +2 -2
  299. package/ts/loans/calculateemi.js +2 -2
  300. package/ts/loans/cbloan.js +2 -2
  301. package/ts/loans/createlamfloan.js +2 -2
  302. package/ts/loans/createpenalty.js +2 -2
  303. package/ts/loans/creditlimit.js +2 -2
  304. package/ts/loans/emimoredetails.js +2 -2
  305. package/ts/loans/fcppayment.js +2 -2
  306. package/ts/loans/forecloseamount.js +2 -2
  307. package/ts/loans/foreclosepayment.js +2 -2
  308. package/ts/loans/futurepaymentmoredetails.js +2 -2
  309. package/ts/loans/getaddonslist.js +2 -2
  310. package/ts/loans/getbankdetails.js +2 -2
  311. package/ts/loans/getbilldetails.js +2 -2
  312. package/ts/loans/getcbloandetails.js +2 -2
  313. package/ts/loans/getchrdetails.js +2 -2
  314. package/ts/loans/getcustomerloanstatus.js +2 -2
  315. package/ts/loans/getforecloseamount.js +2 -2
  316. package/ts/loans/getloanbyid.js +2 -2
  317. package/ts/loans/getlocconfirms.js +2 -2
  318. package/ts/loans/getlocdetails.js +2 -2
  319. package/ts/loans/getlocdisburse.js +2 -2
  320. package/ts/loans/getlocpartnerconfirm.d.ts +46 -0
  321. package/ts/loans/getlocpartnerconfirm.js +287 -0
  322. package/ts/loans/getlocpartnertenure.d.ts +57 -0
  323. package/ts/loans/getlocpartnertenure.js +339 -0
  324. package/ts/loans/getloctenure.js +2 -2
  325. package/ts/loans/getlocwithdraw.js +2 -2
  326. package/ts/loans/getlocwithdrawform.js +2 -2
  327. package/ts/loans/getnextdueamount.js +2 -2
  328. package/ts/loans/getpartnerlocwithdraw.d.ts +111 -0
  329. package/ts/loans/getpartnerlocwithdraw.js +1289 -0
  330. package/ts/loans/getpaymentoptions.js +2 -2
  331. package/ts/loans/getpendingemiamount.js +2 -2
  332. package/ts/loans/getsetubilldetails.js +2 -2
  333. package/ts/loans/getsummarystaticfields.js +2 -2
  334. package/ts/loans/gettransactionstatus.js +2 -2
  335. package/ts/loans/getusedlimit.js +2 -2
  336. package/ts/loans/getvirtualbankinfo.js +2 -2
  337. package/ts/loans/loansummary.js +2 -2
  338. package/ts/loans/locrequested.js +2 -2
  339. package/ts/loans/manualpaymentallocation.js +2 -2
  340. package/ts/loans/paymentallocation.js +2 -2
  341. package/ts/loans/paymenthistory.js +2 -2
  342. package/ts/loans/paynow.js +2 -2
  343. package/ts/loans/refund.js +2 -2
  344. package/ts/loans/restructureloan.js +2 -2
  345. package/ts/loans/rollback.js +2 -2
  346. package/ts/loans/rollbackextrapayment.js +2 -2
  347. package/ts/loans/sendemail.js +2 -2
  348. package/ts/loans/sendnocemail.js +2 -2
  349. package/ts/loans/transactionlist.js +2 -2
  350. package/ts/loans/updatecollectionview.js +2 -2
  351. package/ts/loans/updateinstallments.js +2 -2
  352. package/ts/loans/updateloan.js +2 -2
  353. package/ts/loans/updatetransactionstatus.js +2 -2
  354. package/ts/loans.js +2 -2
  355. package/ts/payments/cancelnachupimandate.js +2 -2
  356. package/ts/payments/checkpaymentstatus.js +2 -2
  357. package/ts/payments/fundtransfer.js +2 -2
  358. package/ts/payments/getpaymentoptions.js +2 -2
  359. package/ts/payments/initiatepayment.js +2 -2
  360. package/ts/payments/initiaterefund.js +2 -2
  361. package/ts/payments/nachpresentation.js +2 -2
  362. package/ts/payments/nachregistration.js +2 -2
  363. package/ts/payments.js +2 -2
  364. package/ts/paymentsnode.js +2 -2
  365. package/ts/rewards/getoffers.js +2 -2
  366. package/ts/rewards/redeemoffer.js +2 -2
  367. package/ts/rewards.js +2 -2
  368. package/ts/stashcash/creditsc.js +2 -2
  369. package/ts/stashcash/debitsc.js +2 -2
  370. package/ts/stashcash/getearnings.js +2 -2
  371. package/ts/stashcash/getscbalance.js +2 -2
  372. package/ts/stashcash/getschistory.js +2 -2
  373. package/ts/stashcash/reversesc.js +2 -2
  374. package/ts/stashcash.js +2 -2
  375. package/ts/upi/addaccount.js +2 -2
  376. package/ts/upi/addupinumber.d.ts +39 -0
  377. package/ts/upi/addupinumber.js +177 -0
  378. package/ts/upi/addvpa.d.ts +36 -0
  379. package/ts/upi/addvpa.js +133 -0
  380. package/ts/upi/blockvpa.js +2 -2
  381. package/ts/upi/checkderegisterpermission.js +2 -2
  382. package/ts/upi/checktransactionstatus.js +2 -2
  383. package/ts/upi/declinemandate.js +2 -2
  384. package/ts/upi/declinetransaction.js +2 -2
  385. package/ts/upi/deregisterprofile.js +2 -2
  386. package/ts/upi/getaccountsbyprovider.js +2 -2
  387. package/ts/upi/getallmandates.js +2 -2
  388. package/ts/upi/getavailablevpa.js +2 -2
  389. package/ts/upi/getlistedaccountproviders.js +2 -2
  390. package/ts/upi/getmandatedetails.js +2 -2
  391. package/ts/upi/getmandatehistory.js +2 -2
  392. package/ts/upi/getpendingcollectrequest.js +2 -2
  393. package/ts/upi/getprofile.js +2 -2
  394. package/ts/upi/getrecentcontacts.js +2 -2
  395. package/ts/upi/gettransactions.js +2 -2
  396. package/ts/upi/getupinumbers.js +2 -2
  397. package/ts/upi/initiatemandateaction.js +2 -2
  398. package/ts/upi/initiatetransaction.js +2 -2
  399. package/ts/upi/listblockedvpa.js +2 -2
  400. package/ts/upi/suggestvpa.d.ts +35 -0
  401. package/ts/upi/suggestvpa.js +122 -0
  402. package/ts/upi/unblockvpa.js +2 -2
  403. package/ts/upi/updatedevicebinding.js +2 -2
  404. package/ts/upi/updatedevicelinking.js +2 -2
  405. package/ts/upi/upinumberoperations.js +2 -2
  406. package/ts/upi/validateifsc.js +2 -2
  407. package/ts/upi/validatevpa.js +2 -2
  408. package/ts/upi.js +2 -2
  409. package/ts/loans/getvirtualaccountnumber.d.ts +0 -35
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/grpc",
3
- "version": "1.2.833",
3
+ "version": "1.2.834",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
6
  // source: admin/getcustomer.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
6
  // source: admin/getcustomerbyid.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/ts/admin.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
6
  // source: admin.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.adminClient = exports.adminService = exports.protobufPackage = void 0;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
6
  // source: banking/aa/getaasupport.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
6
  // source: banking/aa/getbanklist.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
6
  // source: banking/aa/getcustomerbank.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
6
  // source: banking/aa/getrpdlink.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
6
  // source: banking/aa/initiate.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
6
  // source: banking/aa/initiatepennydrop.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
6
  // source: banking/aa/netbankinginitiate.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
6
  // source: banking/aa/pollingrpd.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/ts/banking.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
6
  // source: banking.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.bankingClient = exports.bankingService = exports.protobufPackage = void 0;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
6
  // source: bbps/getallbbpstransactions.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
6
  // source: bbps/getbills.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
6
  // source: bbps/processwebhook.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/ts/bbps.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
6
  // source: bbps.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  exports.bbpsClient = exports.bbpsService = exports.protobufPackage = void 0;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
6
  // source: bureau/getbasicdetails.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -0,0 +1,60 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "bureau.getbureaudetails";
3
+ /** Request message */
4
+ export interface getAllBureauReportRequest {
5
+ page?: number | undefined;
6
+ limit?: number | undefined;
7
+ name?: string | undefined;
8
+ customer_id?: number | undefined;
9
+ bureau_id?: number | undefined;
10
+ start_date?: string | undefined;
11
+ end_date?: string | undefined;
12
+ pull_source?: string | undefined;
13
+ score?: number | undefined;
14
+ }
15
+ export interface BureauReport {
16
+ name?: string | undefined;
17
+ customer_id?: number | undefined;
18
+ score?: number | undefined;
19
+ bureau_id?: number | undefined;
20
+ pull_source?: string | undefined;
21
+ created_at?: string | undefined;
22
+ }
23
+ export interface getAllBureauReportResponse {
24
+ bureaureports: BureauReport[];
25
+ }
26
+ export declare const getAllBureauReportRequest: {
27
+ encode(message: getAllBureauReportRequest, writer?: _m0.Writer): _m0.Writer;
28
+ decode(input: _m0.Reader | Uint8Array, length?: number): getAllBureauReportRequest;
29
+ fromJSON(object: any): getAllBureauReportRequest;
30
+ toJSON(message: getAllBureauReportRequest): unknown;
31
+ create<I extends Exact<DeepPartial<getAllBureauReportRequest>, I>>(base?: I): getAllBureauReportRequest;
32
+ fromPartial<I extends Exact<DeepPartial<getAllBureauReportRequest>, I>>(object: I): getAllBureauReportRequest;
33
+ };
34
+ export declare const BureauReport: {
35
+ encode(message: BureauReport, writer?: _m0.Writer): _m0.Writer;
36
+ decode(input: _m0.Reader | Uint8Array, length?: number): BureauReport;
37
+ fromJSON(object: any): BureauReport;
38
+ toJSON(message: BureauReport): unknown;
39
+ create<I extends Exact<DeepPartial<BureauReport>, I>>(base?: I): BureauReport;
40
+ fromPartial<I extends Exact<DeepPartial<BureauReport>, I>>(object: I): BureauReport;
41
+ };
42
+ export declare const getAllBureauReportResponse: {
43
+ encode(message: getAllBureauReportResponse, writer?: _m0.Writer): _m0.Writer;
44
+ decode(input: _m0.Reader | Uint8Array, length?: number): getAllBureauReportResponse;
45
+ fromJSON(object: any): getAllBureauReportResponse;
46
+ toJSON(message: getAllBureauReportResponse): unknown;
47
+ create<I extends Exact<DeepPartial<getAllBureauReportResponse>, I>>(base?: I): getAllBureauReportResponse;
48
+ fromPartial<I extends Exact<DeepPartial<getAllBureauReportResponse>, I>>(object: I): getAllBureauReportResponse;
49
+ };
50
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
51
+ 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 {} ? {
52
+ [K in keyof T]?: DeepPartial<T[K]>;
53
+ } : Partial<T>;
54
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
55
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
56
+ [K in keyof P]: Exact<P[K], I[K]>;
57
+ } & {
58
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
59
+ };
60
+ export {};
@@ -0,0 +1,374 @@
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 v6.31.1
6
+ // source: bureau/getbureaudetails.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.getAllBureauReportResponse = exports.BureauReport = exports.getAllBureauReportRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "bureau.getbureaudetails";
15
+ function createBasegetAllBureauReportRequest() {
16
+ return {
17
+ page: undefined,
18
+ limit: undefined,
19
+ name: undefined,
20
+ customer_id: undefined,
21
+ bureau_id: undefined,
22
+ start_date: undefined,
23
+ end_date: undefined,
24
+ pull_source: undefined,
25
+ score: undefined,
26
+ };
27
+ }
28
+ exports.getAllBureauReportRequest = {
29
+ encode(message, writer = minimal_1.default.Writer.create()) {
30
+ if (message.page !== undefined) {
31
+ writer.uint32(8).int32(message.page);
32
+ }
33
+ if (message.limit !== undefined) {
34
+ writer.uint32(16).int32(message.limit);
35
+ }
36
+ if (message.name !== undefined) {
37
+ writer.uint32(26).string(message.name);
38
+ }
39
+ if (message.customer_id !== undefined) {
40
+ writer.uint32(32).int32(message.customer_id);
41
+ }
42
+ if (message.bureau_id !== undefined) {
43
+ writer.uint32(40).int32(message.bureau_id);
44
+ }
45
+ if (message.start_date !== undefined) {
46
+ writer.uint32(50).string(message.start_date);
47
+ }
48
+ if (message.end_date !== undefined) {
49
+ writer.uint32(58).string(message.end_date);
50
+ }
51
+ if (message.pull_source !== undefined) {
52
+ writer.uint32(66).string(message.pull_source);
53
+ }
54
+ if (message.score !== undefined) {
55
+ writer.uint32(72).int32(message.score);
56
+ }
57
+ return writer;
58
+ },
59
+ decode(input, length) {
60
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
61
+ let end = length === undefined ? reader.len : reader.pos + length;
62
+ const message = createBasegetAllBureauReportRequest();
63
+ while (reader.pos < end) {
64
+ const tag = reader.uint32();
65
+ switch (tag >>> 3) {
66
+ case 1:
67
+ if (tag !== 8) {
68
+ break;
69
+ }
70
+ message.page = reader.int32();
71
+ continue;
72
+ case 2:
73
+ if (tag !== 16) {
74
+ break;
75
+ }
76
+ message.limit = reader.int32();
77
+ continue;
78
+ case 3:
79
+ if (tag !== 26) {
80
+ break;
81
+ }
82
+ message.name = reader.string();
83
+ continue;
84
+ case 4:
85
+ if (tag !== 32) {
86
+ break;
87
+ }
88
+ message.customer_id = reader.int32();
89
+ continue;
90
+ case 5:
91
+ if (tag !== 40) {
92
+ break;
93
+ }
94
+ message.bureau_id = reader.int32();
95
+ continue;
96
+ case 6:
97
+ if (tag !== 50) {
98
+ break;
99
+ }
100
+ message.start_date = reader.string();
101
+ continue;
102
+ case 7:
103
+ if (tag !== 58) {
104
+ break;
105
+ }
106
+ message.end_date = reader.string();
107
+ continue;
108
+ case 8:
109
+ if (tag !== 66) {
110
+ break;
111
+ }
112
+ message.pull_source = reader.string();
113
+ continue;
114
+ case 9:
115
+ if (tag !== 72) {
116
+ break;
117
+ }
118
+ message.score = reader.int32();
119
+ continue;
120
+ }
121
+ if ((tag & 7) === 4 || tag === 0) {
122
+ break;
123
+ }
124
+ reader.skipType(tag & 7);
125
+ }
126
+ return message;
127
+ },
128
+ fromJSON(object) {
129
+ return {
130
+ page: isSet(object.page) ? globalThis.Number(object.page) : undefined,
131
+ limit: isSet(object.limit) ? globalThis.Number(object.limit) : undefined,
132
+ name: isSet(object.name) ? globalThis.String(object.name) : undefined,
133
+ customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : undefined,
134
+ bureau_id: isSet(object.bureau_id) ? globalThis.Number(object.bureau_id) : undefined,
135
+ start_date: isSet(object.start_date) ? globalThis.String(object.start_date) : undefined,
136
+ end_date: isSet(object.end_date) ? globalThis.String(object.end_date) : undefined,
137
+ pull_source: isSet(object.pull_source) ? globalThis.String(object.pull_source) : undefined,
138
+ score: isSet(object.score) ? globalThis.Number(object.score) : undefined,
139
+ };
140
+ },
141
+ toJSON(message) {
142
+ const obj = {};
143
+ if (message.page !== undefined) {
144
+ obj.page = Math.round(message.page);
145
+ }
146
+ if (message.limit !== undefined) {
147
+ obj.limit = Math.round(message.limit);
148
+ }
149
+ if (message.name !== undefined) {
150
+ obj.name = message.name;
151
+ }
152
+ if (message.customer_id !== undefined) {
153
+ obj.customer_id = Math.round(message.customer_id);
154
+ }
155
+ if (message.bureau_id !== undefined) {
156
+ obj.bureau_id = Math.round(message.bureau_id);
157
+ }
158
+ if (message.start_date !== undefined) {
159
+ obj.start_date = message.start_date;
160
+ }
161
+ if (message.end_date !== undefined) {
162
+ obj.end_date = message.end_date;
163
+ }
164
+ if (message.pull_source !== undefined) {
165
+ obj.pull_source = message.pull_source;
166
+ }
167
+ if (message.score !== undefined) {
168
+ obj.score = Math.round(message.score);
169
+ }
170
+ return obj;
171
+ },
172
+ create(base) {
173
+ return exports.getAllBureauReportRequest.fromPartial(base ?? {});
174
+ },
175
+ fromPartial(object) {
176
+ const message = createBasegetAllBureauReportRequest();
177
+ message.page = object.page ?? undefined;
178
+ message.limit = object.limit ?? undefined;
179
+ message.name = object.name ?? undefined;
180
+ message.customer_id = object.customer_id ?? undefined;
181
+ message.bureau_id = object.bureau_id ?? undefined;
182
+ message.start_date = object.start_date ?? undefined;
183
+ message.end_date = object.end_date ?? undefined;
184
+ message.pull_source = object.pull_source ?? undefined;
185
+ message.score = object.score ?? undefined;
186
+ return message;
187
+ },
188
+ };
189
+ function createBaseBureauReport() {
190
+ return {
191
+ name: undefined,
192
+ customer_id: undefined,
193
+ score: undefined,
194
+ bureau_id: undefined,
195
+ pull_source: undefined,
196
+ created_at: undefined,
197
+ };
198
+ }
199
+ exports.BureauReport = {
200
+ encode(message, writer = minimal_1.default.Writer.create()) {
201
+ if (message.name !== undefined) {
202
+ writer.uint32(10).string(message.name);
203
+ }
204
+ if (message.customer_id !== undefined) {
205
+ writer.uint32(16).int32(message.customer_id);
206
+ }
207
+ if (message.score !== undefined) {
208
+ writer.uint32(24).int32(message.score);
209
+ }
210
+ if (message.bureau_id !== undefined) {
211
+ writer.uint32(32).int32(message.bureau_id);
212
+ }
213
+ if (message.pull_source !== undefined) {
214
+ writer.uint32(42).string(message.pull_source);
215
+ }
216
+ if (message.created_at !== undefined) {
217
+ writer.uint32(50).string(message.created_at);
218
+ }
219
+ return writer;
220
+ },
221
+ decode(input, length) {
222
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
223
+ let end = length === undefined ? reader.len : reader.pos + length;
224
+ const message = createBaseBureauReport();
225
+ while (reader.pos < end) {
226
+ const tag = reader.uint32();
227
+ switch (tag >>> 3) {
228
+ case 1:
229
+ if (tag !== 10) {
230
+ break;
231
+ }
232
+ message.name = reader.string();
233
+ continue;
234
+ case 2:
235
+ if (tag !== 16) {
236
+ break;
237
+ }
238
+ message.customer_id = reader.int32();
239
+ continue;
240
+ case 3:
241
+ if (tag !== 24) {
242
+ break;
243
+ }
244
+ message.score = reader.int32();
245
+ continue;
246
+ case 4:
247
+ if (tag !== 32) {
248
+ break;
249
+ }
250
+ message.bureau_id = reader.int32();
251
+ continue;
252
+ case 5:
253
+ if (tag !== 42) {
254
+ break;
255
+ }
256
+ message.pull_source = reader.string();
257
+ continue;
258
+ case 6:
259
+ if (tag !== 50) {
260
+ break;
261
+ }
262
+ message.created_at = reader.string();
263
+ continue;
264
+ }
265
+ if ((tag & 7) === 4 || tag === 0) {
266
+ break;
267
+ }
268
+ reader.skipType(tag & 7);
269
+ }
270
+ return message;
271
+ },
272
+ fromJSON(object) {
273
+ return {
274
+ name: isSet(object.name) ? globalThis.String(object.name) : undefined,
275
+ customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : undefined,
276
+ score: isSet(object.score) ? globalThis.Number(object.score) : undefined,
277
+ bureau_id: isSet(object.bureau_id) ? globalThis.Number(object.bureau_id) : undefined,
278
+ pull_source: isSet(object.pull_source) ? globalThis.String(object.pull_source) : undefined,
279
+ created_at: isSet(object.created_at) ? globalThis.String(object.created_at) : undefined,
280
+ };
281
+ },
282
+ toJSON(message) {
283
+ const obj = {};
284
+ if (message.name !== undefined) {
285
+ obj.name = message.name;
286
+ }
287
+ if (message.customer_id !== undefined) {
288
+ obj.customer_id = Math.round(message.customer_id);
289
+ }
290
+ if (message.score !== undefined) {
291
+ obj.score = Math.round(message.score);
292
+ }
293
+ if (message.bureau_id !== undefined) {
294
+ obj.bureau_id = Math.round(message.bureau_id);
295
+ }
296
+ if (message.pull_source !== undefined) {
297
+ obj.pull_source = message.pull_source;
298
+ }
299
+ if (message.created_at !== undefined) {
300
+ obj.created_at = message.created_at;
301
+ }
302
+ return obj;
303
+ },
304
+ create(base) {
305
+ return exports.BureauReport.fromPartial(base ?? {});
306
+ },
307
+ fromPartial(object) {
308
+ const message = createBaseBureauReport();
309
+ message.name = object.name ?? undefined;
310
+ message.customer_id = object.customer_id ?? undefined;
311
+ message.score = object.score ?? undefined;
312
+ message.bureau_id = object.bureau_id ?? undefined;
313
+ message.pull_source = object.pull_source ?? undefined;
314
+ message.created_at = object.created_at ?? undefined;
315
+ return message;
316
+ },
317
+ };
318
+ function createBasegetAllBureauReportResponse() {
319
+ return { bureaureports: [] };
320
+ }
321
+ exports.getAllBureauReportResponse = {
322
+ encode(message, writer = minimal_1.default.Writer.create()) {
323
+ for (const v of message.bureaureports) {
324
+ exports.BureauReport.encode(v, writer.uint32(10).fork()).ldelim();
325
+ }
326
+ return writer;
327
+ },
328
+ decode(input, length) {
329
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
330
+ let end = length === undefined ? reader.len : reader.pos + length;
331
+ const message = createBasegetAllBureauReportResponse();
332
+ while (reader.pos < end) {
333
+ const tag = reader.uint32();
334
+ switch (tag >>> 3) {
335
+ case 1:
336
+ if (tag !== 10) {
337
+ break;
338
+ }
339
+ message.bureaureports.push(exports.BureauReport.decode(reader, reader.uint32()));
340
+ continue;
341
+ }
342
+ if ((tag & 7) === 4 || tag === 0) {
343
+ break;
344
+ }
345
+ reader.skipType(tag & 7);
346
+ }
347
+ return message;
348
+ },
349
+ fromJSON(object) {
350
+ return {
351
+ bureaureports: globalThis.Array.isArray(object?.bureaureports)
352
+ ? object.bureaureports.map((e) => exports.BureauReport.fromJSON(e))
353
+ : [],
354
+ };
355
+ },
356
+ toJSON(message) {
357
+ const obj = {};
358
+ if (message.bureaureports?.length) {
359
+ obj.bureaureports = message.bureaureports.map((e) => exports.BureauReport.toJSON(e));
360
+ }
361
+ return obj;
362
+ },
363
+ create(base) {
364
+ return exports.getAllBureauReportResponse.fromPartial(base ?? {});
365
+ },
366
+ fromPartial(object) {
367
+ const message = createBasegetAllBureauReportResponse();
368
+ message.bureaureports = object.bureaureports?.map((e) => exports.BureauReport.fromPartial(e)) || [];
369
+ return message;
370
+ },
371
+ };
372
+ function isSet(value) {
373
+ return value !== null && value !== undefined;
374
+ }
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.1
5
- // protoc v3.20.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.1
6
6
  // source: bureau/getbureauscore.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };