@stashfin/grpc 1.2.721 → 1.2.723

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 (395) hide show
  1. package/package.json +1 -1
  2. package/ts/banking/aa/getaasupport.js +2 -2
  3. package/ts/banking/aa/getbanklist.js +2 -2
  4. package/ts/banking/aa/getcustomerbank.js +2 -2
  5. package/ts/banking/aa/getrpdlink.js +2 -2
  6. package/ts/banking/aa/initiate.js +2 -2
  7. package/ts/banking/aa/initiatepennydrop.js +2 -2
  8. package/ts/banking/aa/netbankinginitiate.js +2 -2
  9. package/ts/banking/aa/pollingrpd.js +2 -2
  10. package/ts/banking.d.ts +16 -16
  11. package/ts/banking.js +2 -2
  12. package/ts/bureau/getbasicdetails.js +2 -2
  13. package/ts/bureau/getcibilwebtoken.js +2 -2
  14. package/ts/bureau/getdbrcolending.js +2 -2
  15. package/ts/bureau/getdemogs.js +2 -2
  16. package/ts/bureau/getobligation.js +2 -2
  17. package/ts/bureau/getreport.js +2 -2
  18. package/ts/bureau/ischrenabled.js +2 -2
  19. package/ts/bureau.d.ts +14 -14
  20. package/ts/bureau.js +2 -2
  21. package/ts/ckyc/ckycdownload.js +2 -2
  22. package/ts/ckyc/ckycsearch.js +2 -2
  23. package/ts/ckyc.d.ts +4 -4
  24. package/ts/ckyc.js +2 -2
  25. package/ts/colender/disburseLoan.js +2 -2
  26. package/ts/colender/forecloseLoan.js +2 -2
  27. package/ts/colender/repayLoan.js +2 -2
  28. package/ts/colender.d.ts +6 -6
  29. package/ts/colender.js +2 -2
  30. package/ts/communications/bureauidwhatsapp.d.ts +38 -0
  31. package/ts/communications/bureauidwhatsapp.js +161 -0
  32. package/ts/communications.d.ts +28 -0
  33. package/ts/communications.js +24 -0
  34. package/ts/customers/aa/getaatxnstatus.js +2 -2
  35. package/ts/customers/aa/getbanklist.js +2 -2
  36. package/ts/customers/aa/initiate.js +2 -2
  37. package/ts/customers/accidentprotectionplan.js +2 -2
  38. package/ts/customers/addaddress.js +2 -2
  39. package/ts/customers/addbankaccountdetails.js +2 -2
  40. package/ts/customers/addfathersname.js +2 -2
  41. package/ts/customers/addgstnumber.js +2 -2
  42. package/ts/customers/addmoredetails.js +2 -2
  43. package/ts/customers/addsuspendedcustomer.js +2 -2
  44. package/ts/customers/adduserapps.d.ts +2 -2
  45. package/ts/customers/adduserapps.js +2 -2
  46. package/ts/customers/applyclijourney.js +2 -2
  47. package/ts/customers/bulksms.js +2 -2
  48. package/ts/customers/cb/cbapplicationrejecteddata.js +2 -2
  49. package/ts/customers/cb/cbpaynow.js +2 -2
  50. package/ts/customers/cb/cbsignup.js +2 -2
  51. package/ts/customers/cb/getcbtxnstatus.js +2 -2
  52. package/ts/customers/cb/getcreditbuilder.js +2 -2
  53. package/ts/customers/cb/getpaymentsummary.js +2 -2
  54. package/ts/customers/cb/insurancedetails.js +2 -2
  55. package/ts/customers/cb/lesscsimprove.js +2 -2
  56. package/ts/customers/cb/morecsimprove.js +2 -2
  57. package/ts/customers/cb/paynow.d.ts +36 -0
  58. package/ts/customers/cb/paynow.js +133 -0
  59. package/ts/customers/cb/savecreditbuilder.js +2 -2
  60. package/ts/customers/cb/updatecbstandalonecancellation.js +2 -2
  61. package/ts/customers/cb/updatecbstandaloneconfirmation.js +2 -2
  62. package/ts/customers/cb/updatecbstandalonejourney.js +2 -2
  63. package/ts/customers/cb/updatecbtxnstatus.js +2 -2
  64. package/ts/customers/changempin.js +2 -2
  65. package/ts/customers/createcustomerreference.js +2 -2
  66. package/ts/customers/createvanumber.js +2 -2
  67. package/ts/customers/customerinfo.js +2 -2
  68. package/ts/customers/deletedocument.js +2 -2
  69. package/ts/customers/deleteprofile.js +2 -2
  70. package/ts/customers/disablempin.js +2 -2
  71. package/ts/customers/enach/gettxnstatus.js +2 -2
  72. package/ts/customers/enach/getweburl.js +2 -2
  73. package/ts/customers/enach/updateenachtxnstatus.js +2 -2
  74. package/ts/customers/enach/updatetxnstatus.d.ts +36 -0
  75. package/ts/customers/enach/updatetxnstatus.js +133 -0
  76. package/ts/customers/fetchrcprofile.js +2 -2
  77. package/ts/customers/floatingvideos.js +2 -2
  78. package/ts/customers/forceupdate.js +2 -2
  79. package/ts/customers/forgotmpin.js +2 -2
  80. package/ts/customers/forgotmpinverify.js +2 -2
  81. package/ts/customers/freedom/addressconfirmation.js +2 -2
  82. package/ts/customers/freedom/freedompaynow.js +2 -2
  83. package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
  84. package/ts/customers/freedom/updateadditionalverification.js +2 -2
  85. package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
  86. package/ts/customers/getaddresslist.js +2 -2
  87. package/ts/customers/getappsubmittedscreen.js +2 -2
  88. package/ts/customers/getbankaccountdetails.js +2 -2
  89. package/ts/customers/getbasicinfo.js +2 -2
  90. package/ts/customers/getcities.js +2 -2
  91. package/ts/customers/getclistatus.js +2 -2
  92. package/ts/customers/getcompanyaccdetails.js +2 -2
  93. package/ts/customers/getcustomer.d.ts +57 -0
  94. package/ts/customers/getcustomer.js +351 -0
  95. package/ts/customers/getcustomerbyid.js +2 -2
  96. package/ts/customers/getcustomerdetailsbymobile.js +2 -2
  97. package/ts/customers/getdashboard.js +2 -2
  98. package/ts/customers/getdashboardmaincard.js +2 -2
  99. package/ts/customers/getdocuments.js +2 -2
  100. package/ts/customers/getglobalpopups.js +2 -2
  101. package/ts/customers/getlimit.js +2 -2
  102. package/ts/customers/getloclimit.js +2 -2
  103. package/ts/customers/getmessengermode.js +2 -2
  104. package/ts/customers/getoccupationlist.js +2 -2
  105. package/ts/customers/getpaymentoptions.js +2 -2
  106. package/ts/customers/getprofessionalinfo.js +2 -2
  107. package/ts/customers/getprofile.js +2 -2
  108. package/ts/customers/getrecommendedtag.d.ts +35 -0
  109. package/ts/customers/getrecommendedtag.js +134 -0
  110. package/ts/customers/getrpdlink.d.ts +40 -0
  111. package/ts/customers/getrpdlink.js +190 -0
  112. package/ts/customers/getselfieetxnid.js +2 -2
  113. package/ts/customers/getstates.js +2 -2
  114. package/ts/customers/getstep.js +2 -2
  115. package/ts/customers/getsyncstatus.js +2 -2
  116. package/ts/customers/getvanumber.js +2 -2
  117. package/ts/customers/kyc/epfo.d.ts +38 -0
  118. package/ts/customers/kyc/epfo.js +149 -0
  119. package/ts/customers/lamf/applylamf.js +2 -2
  120. package/ts/customers/lamf/sendlamfotp.js +2 -2
  121. package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
  122. package/ts/customers/lamf/updatelamfjourney.d.ts +34 -0
  123. package/ts/customers/lamf/updatelamfjourney.js +104 -0
  124. package/ts/customers/lamf/verifylamfotp.js +2 -2
  125. package/ts/customers/lamf/verifylamfpledgeotp.js +2 -2
  126. package/ts/customers/logout.js +2 -2
  127. package/ts/customers/pd/getbanklist.js +2 -2
  128. package/ts/customers/pd/validatebankaccount.js +2 -2
  129. package/ts/customers/profilebasic.js +2 -2
  130. package/ts/customers/profileupdatetnc.js +2 -2
  131. package/ts/customers/resetbanner.js +2 -2
  132. package/ts/customers/restoreaccount.js +2 -2
  133. package/ts/customers/rpd/getrpdlink.js +2 -2
  134. package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
  135. package/ts/customers/rpd/mockpayment.js +2 -2
  136. package/ts/customers/saveappslist.js +2 -2
  137. package/ts/customers/savebasicdetails.js +2 -2
  138. package/ts/customers/savelimit.js +2 -2
  139. package/ts/customers/saveunlocklimit.js +2 -2
  140. package/ts/customers/sendemailtoken.d.ts +35 -0
  141. package/ts/customers/sendemailtoken.js +117 -0
  142. package/ts/customers/sendotp.js +2 -2
  143. package/ts/customers/sendotptoemail.js +2 -2
  144. package/ts/customers/setmpin.js +2 -2
  145. package/ts/customers/skipdlrcscreen.d.ts +35 -0
  146. package/ts/customers/skipdlrcscreen.js +117 -0
  147. package/ts/customers/skipscreen.js +2 -2
  148. package/ts/customers/step1.d.ts +69 -0
  149. package/ts/customers/step1.js +395 -0
  150. package/ts/customers/step10.d.ts +73 -0
  151. package/ts/customers/step10.js +459 -0
  152. package/ts/customers/step2.d.ts +68 -0
  153. package/ts/customers/step2.js +381 -0
  154. package/ts/customers/step7.d.ts +68 -0
  155. package/ts/customers/step7.js +381 -0
  156. package/ts/customers/step8.d.ts +69 -0
  157. package/ts/customers/step8.js +395 -0
  158. package/ts/customers/step9.d.ts +75 -0
  159. package/ts/customers/step9.js +489 -0
  160. package/ts/customers/stepstatic.d.ts +66 -0
  161. package/ts/customers/stepstatic.js +354 -0
  162. package/ts/customers/submituploadeddocuments.js +2 -2
  163. package/ts/customers/syncdecisionengine.js +2 -2
  164. package/ts/customers/updatecategory.js +2 -2
  165. package/ts/customers/updatecongratulationstep.js +2 -2
  166. package/ts/customers/updatecustomerbyid.js +2 -2
  167. package/ts/customers/updatedlnumber.js +2 -2
  168. package/ts/customers/updatedob.js +2 -2
  169. package/ts/customers/updatelocstatus.js +2 -2
  170. package/ts/customers/updatemobilesendotp.js +2 -2
  171. package/ts/customers/updatemobileverifyotp.js +2 -2
  172. package/ts/customers/updateokyctxn.js +2 -2
  173. package/ts/customers/updatesanctionamount.js +2 -2
  174. package/ts/customers/updateselfieetxn.js +2 -2
  175. package/ts/customers/updatesyncstatus.js +2 -2
  176. package/ts/customers/updatevehiclenumber.js +2 -2
  177. package/ts/customers/uploaddocuments.js +2 -2
  178. package/ts/customers/validatepan.js +2 -2
  179. package/ts/customers/verifyemail.d.ts +35 -0
  180. package/ts/customers/verifyemail.js +117 -0
  181. package/ts/customers/verifympin.js +2 -2
  182. package/ts/customers/verifyotp.js +2 -2
  183. package/ts/customers/verifyotptoemail.js +2 -2
  184. package/ts/customers.d.ts +238 -238
  185. package/ts/customers.js +2 -2
  186. package/ts/decisionengine/decisionengine.d.ts +40 -0
  187. package/ts/decisionengine/decisionengine.js +191 -0
  188. package/ts/decisionengine/decisionenginetrigger.js +2 -2
  189. package/ts/decisionengine/locdisbursalapproval.js +2 -2
  190. package/ts/decisionengine/saveconsent.js +2 -2
  191. package/ts/decisionengine.d.ts +6 -6
  192. package/ts/decisionengine.js +2 -2
  193. package/ts/deveqxcustomers.d.ts +30 -30
  194. package/ts/deveqxcustomers.js +2 -2
  195. package/ts/devupi.d.ts +54 -54
  196. package/ts/devupi.js +2 -2
  197. package/ts/documents/getagreement.js +2 -2
  198. package/ts/documents/getfinancialdoc.js +2 -2
  199. package/ts/documents.d.ts +4 -4
  200. package/ts/documents.js +2 -2
  201. package/ts/eqxcustomer.d.ts +36 -36
  202. package/ts/eqxcustomer.js +2 -2
  203. package/ts/eqxcustomers/authenticateuser.d.ts +1 -0
  204. package/ts/eqxcustomers/authenticateuser.js +24 -3
  205. package/ts/eqxcustomers/creditguidance.js +2 -2
  206. package/ts/eqxcustomers/getbankaccount.js +2 -2
  207. package/ts/eqxcustomers/getcustomerbyid.js +2 -2
  208. package/ts/eqxcustomers/getcustomerbymobile.js +2 -2
  209. package/ts/eqxcustomers/getdashboard.js +2 -2
  210. package/ts/eqxcustomers/getdashboardmaincard.js +2 -2
  211. package/ts/eqxcustomers/getnotifications.js +2 -2
  212. package/ts/eqxcustomers/getstashscorecustomerprofile.js +2 -2
  213. package/ts/eqxcustomers/gettokens.js +2 -2
  214. package/ts/eqxcustomers/iscustomerregistered.d.ts +1 -0
  215. package/ts/eqxcustomers/iscustomerregistered.js +20 -4
  216. package/ts/eqxcustomers/sendotp.js +2 -2
  217. package/ts/eqxcustomers/updatecustomer.js +2 -2
  218. package/ts/eqxcustomers/updatenotification.js +2 -2
  219. package/ts/eqxcustomers/updatepushid.js +2 -2
  220. package/ts/eqxcustomers/updatesubscriptionstatus.js +2 -2
  221. package/ts/eqxcustomers/verifyotp.js +2 -2
  222. package/ts/eqxcustomers/verifytoken.js +2 -2
  223. package/ts/example.d.ts +4 -4
  224. package/ts/example.js +2 -2
  225. package/ts/google/protobuf/struct.d.ts +121 -0
  226. package/ts/google/protobuf/struct.js +449 -0
  227. package/ts/google/protobuf/timestamp.d.ts +127 -0
  228. package/ts/google/protobuf/timestamp.js +97 -0
  229. package/ts/growth/checkplanstatus.d.ts +48 -0
  230. package/ts/growth/checkplanstatus.js +200 -0
  231. package/ts/growth/getattachplandetails.d.ts +53 -0
  232. package/ts/growth/getattachplandetails.js +270 -0
  233. package/ts/growth/getchrpaymentstatus.d.ts +49 -0
  234. package/ts/growth/getchrpaymentstatus.js +213 -0
  235. package/ts/growth/getchrpdfurl.js +2 -2
  236. package/ts/growth/getchrplans.d.ts +49 -0
  237. package/ts/growth/getchrplans.js +212 -0
  238. package/ts/growth/getchrreport.d.ts +109 -0
  239. package/ts/growth/getchrreport.js +800 -0
  240. package/ts/growth/getchrreportdata.js +2 -2
  241. package/ts/growth/getchrsubscriptionplan.js +2 -2
  242. package/ts/growth/getchrvideourl.js +2 -2
  243. package/ts/growth/getcredithealthreport.d.ts +98 -0
  244. package/ts/growth/getcredithealthreport.js +617 -0
  245. package/ts/growth/initiatepayment.d.ts +52 -0
  246. package/ts/growth/initiatepayment.js +259 -0
  247. package/ts/growth/notifychrpayment.d.ts +42 -0
  248. package/ts/growth/notifychrpayment.js +219 -0
  249. package/ts/growth/processchrpayment.d.ts +39 -0
  250. package/ts/growth/processchrpayment.js +177 -0
  251. package/ts/growth.d.ts +8 -8
  252. package/ts/growth.js +2 -2
  253. package/ts/kyc/amldetails.js +2 -2
  254. package/ts/kyc/authbridgepancomprehend.js +2 -2
  255. package/ts/kyc/bureauidwhatsapp.js +2 -2
  256. package/ts/kyc/epfo/fetchUANList.d.ts +35 -0
  257. package/ts/kyc/epfo/fetchUANList.js +119 -0
  258. package/ts/kyc/facematch.js +2 -2
  259. package/ts/kyc/fetchaadhaarbypan.js +2 -2
  260. package/ts/kyc/fetchemploymenthistory.js +2 -2
  261. package/ts/kyc/fetchuanlist.js +2 -2
  262. package/ts/kyc/getselfietxn.d.ts +37 -0
  263. package/ts/kyc/getselfietxn.js +161 -0
  264. package/ts/kyc/getselfietxnid.js +2 -2
  265. package/ts/kyc/getselfieurl.js +2 -2
  266. package/ts/kyc/nsdlpanvalidate.js +2 -2
  267. package/ts/kyc.d.ts +20 -20
  268. package/ts/kyc.js +2 -2
  269. package/ts/lamf/getloandetails.js +2 -2
  270. package/ts/lamf/submitotp.js +2 -2
  271. package/ts/lamf/validateuser.js +2 -2
  272. package/ts/lamf.d.ts +6 -6
  273. package/ts/lamf.js +2 -2
  274. package/ts/loans/addreference.js +2 -2
  275. package/ts/loans/addrefrences.d.ts +49 -0
  276. package/ts/loans/addrefrences.js +229 -0
  277. package/ts/loans/amortization.js +2 -2
  278. package/ts/loans/approveloan.js +2 -2
  279. package/ts/loans/banklist.js +2 -2
  280. package/ts/loans/calculateemi.js +2 -2
  281. package/ts/loans/cbloan.js +2 -2
  282. package/ts/loans/createlamfloan.js +2 -2
  283. package/ts/loans/createpenalty.js +2 -2
  284. package/ts/loans/creditlimit.js +2 -2
  285. package/ts/loans/emimoredetails.js +2 -2
  286. package/ts/loans/fcppayment.js +2 -2
  287. package/ts/loans/forecloseamount.d.ts +36 -0
  288. package/ts/loans/forecloseamount.js +133 -0
  289. package/ts/loans/foreclosepayment.js +2 -2
  290. package/ts/loans/futurepaymentmoredetails.d.ts +51 -0
  291. package/ts/loans/futurepaymentmoredetails.js +243 -0
  292. package/ts/loans/getaddonslist.js +2 -2
  293. package/ts/loans/getbankdetails.js +2 -2
  294. package/ts/loans/getbilldetails.js +2 -2
  295. package/ts/loans/getcbloandetails.js +2 -2
  296. package/ts/loans/getchrdetails.js +2 -2
  297. package/ts/loans/getcustomerloanstatus.js +2 -2
  298. package/ts/loans/getforecloseamount.js +2 -2
  299. package/ts/loans/getloanbyid.js +2 -2
  300. package/ts/loans/getlocconfirms.js +2 -2
  301. package/ts/loans/getlocdetails.js +2 -2
  302. package/ts/loans/getlocdisburse.js +2 -2
  303. package/ts/loans/getlocpartnerconfirm.d.ts +46 -0
  304. package/ts/loans/getlocpartnerconfirm.js +287 -0
  305. package/ts/loans/getlocpartnertenure.d.ts +57 -0
  306. package/ts/loans/getlocpartnertenure.js +339 -0
  307. package/ts/loans/getloctenure.js +2 -2
  308. package/ts/loans/getlocwithdraw.js +2 -2
  309. package/ts/loans/getlocwithdrawform.js +2 -2
  310. package/ts/loans/getnextdueamount.js +2 -2
  311. package/ts/loans/getpartnerlocwithdraw.d.ts +111 -0
  312. package/ts/loans/getpartnerlocwithdraw.js +1289 -0
  313. package/ts/loans/getpaymentoptions.js +2 -2
  314. package/ts/loans/getpendingemiamount.js +2 -2
  315. package/ts/loans/getsetubilldetails.js +2 -2
  316. package/ts/loans/getsummarystaticfields.js +2 -2
  317. package/ts/loans/gettransactionstatus.js +2 -2
  318. package/ts/loans/getusedlimit.js +2 -2
  319. package/ts/loans/getvirtualbankinfo.js +2 -2
  320. package/ts/loans/loansummary.js +2 -2
  321. package/ts/loans/locrequested.js +2 -2
  322. package/ts/loans/manualpaymentallocation.js +2 -2
  323. package/ts/loans/paymentallocation.js +2 -2
  324. package/ts/loans/paymenthistory.js +2 -2
  325. package/ts/loans/paynow.js +2 -2
  326. package/ts/loans/refund.js +2 -2
  327. package/ts/loans/restructureloan.js +2 -2
  328. package/ts/loans/rollback.js +2 -2
  329. package/ts/loans/rollbackextrapayment.d.ts +37 -0
  330. package/ts/loans/rollbackextrapayment.js +149 -0
  331. package/ts/loans/sendemail.js +2 -2
  332. package/ts/loans/sendnocemail.js +2 -2
  333. package/ts/loans/transactionlist.js +2 -2
  334. package/ts/loans/updatecollectionview.js +2 -2
  335. package/ts/loans/updateinstallments.js +2 -2
  336. package/ts/loans/updateloan.js +2 -2
  337. package/ts/loans/updatetransactionstatus.js +2 -2
  338. package/ts/loans.d.ts +100 -100
  339. package/ts/loans.js +2 -2
  340. package/ts/payments/checkpaymentstatus.js +2 -2
  341. package/ts/payments/fundtransfer.js +2 -2
  342. package/ts/payments/getpaymentoptions.js +2 -2
  343. package/ts/payments/initiatepayment.js +2 -2
  344. package/ts/payments/nachpresentation.js +2 -2
  345. package/ts/payments/nachregistration.js +2 -2
  346. package/ts/payments.d.ts +12 -12
  347. package/ts/payments.js +2 -2
  348. package/ts/paymentsnode.d.ts +12 -12
  349. package/ts/paymentsnode.js +2 -2
  350. package/ts/rewards/getoffers.js +2 -2
  351. package/ts/rewards/redeemoffer.js +2 -2
  352. package/ts/rewards.d.ts +4 -4
  353. package/ts/rewards.js +2 -2
  354. package/ts/stashcash/creditsc.js +2 -2
  355. package/ts/stashcash/debitsc.js +2 -2
  356. package/ts/stashcash/getscbalance.js +2 -2
  357. package/ts/stashcash/getschistory.js +2 -2
  358. package/ts/stashcash/reversesc.js +2 -2
  359. package/ts/stashcash.d.ts +10 -10
  360. package/ts/stashcash.js +2 -2
  361. package/ts/upi/addaccount.js +2 -2
  362. package/ts/upi/addupinumber.d.ts +39 -0
  363. package/ts/upi/addupinumber.js +177 -0
  364. package/ts/upi/addvpa.d.ts +36 -0
  365. package/ts/upi/addvpa.js +133 -0
  366. package/ts/upi/blockvpa.js +2 -2
  367. package/ts/upi/checkderegisterpermission.js +2 -2
  368. package/ts/upi/checktransactionstatus.js +2 -2
  369. package/ts/upi/declinemandate.js +2 -2
  370. package/ts/upi/deregisterprofile.js +2 -2
  371. package/ts/upi/getaccountsbyprovider.js +2 -2
  372. package/ts/upi/getallmandates.js +2 -2
  373. package/ts/upi/getavailablevpa.js +2 -2
  374. package/ts/upi/getlistedaccountproviders.js +2 -2
  375. package/ts/upi/getmandatedetails.js +2 -2
  376. package/ts/upi/getmandatehistory.js +2 -2
  377. package/ts/upi/getpendingcollectrequest.js +2 -2
  378. package/ts/upi/getprofile.js +2 -2
  379. package/ts/upi/getrecentcontacts.js +2 -2
  380. package/ts/upi/gettransactions.js +2 -2
  381. package/ts/upi/getupinumbers.js +2 -2
  382. package/ts/upi/initiatemandateaction.js +2 -2
  383. package/ts/upi/initiatetransaction.js +2 -2
  384. package/ts/upi/listblockedvpa.js +2 -2
  385. package/ts/upi/suggestvpa.d.ts +35 -0
  386. package/ts/upi/suggestvpa.js +122 -0
  387. package/ts/upi/unblockvpa.js +2 -2
  388. package/ts/upi/updatedevicebinding.js +2 -2
  389. package/ts/upi/updatedevicelinking.d.ts +49 -0
  390. package/ts/upi/updatedevicelinking.js +332 -0
  391. package/ts/upi/upinumberoperations.js +2 -2
  392. package/ts/upi/validateifsc.js +2 -2
  393. package/ts/upi/validatevpa.js +2 -2
  394. package/ts/upi.d.ts +54 -54
  395. package/ts/upi.js +2 -2
@@ -0,0 +1,800 @@
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.30.1
6
+ // source: growth/getchrreport.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.chrReportResponse = exports.ScoreAnalysis = exports.HeadingData = exports.HeadingTip = exports.TradeLineData = exports.chrReportRequest = 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 = "growth.getchrreport";
16
+ function createBasechrReportRequest() {
17
+ return { customer_id: 0, fisrt_name: "", last_name: "" };
18
+ }
19
+ exports.chrReportRequest = {
20
+ encode(message, writer = minimal_1.default.Writer.create()) {
21
+ if (message.customer_id !== 0) {
22
+ writer.uint32(8).int32(message.customer_id);
23
+ }
24
+ if (message.fisrt_name !== "") {
25
+ writer.uint32(18).string(message.fisrt_name);
26
+ }
27
+ if (message.last_name !== "") {
28
+ writer.uint32(26).string(message.last_name);
29
+ }
30
+ return writer;
31
+ },
32
+ decode(input, length) {
33
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
34
+ let end = length === undefined ? reader.len : reader.pos + length;
35
+ const message = createBasechrReportRequest();
36
+ while (reader.pos < end) {
37
+ const tag = reader.uint32();
38
+ switch (tag >>> 3) {
39
+ case 1:
40
+ if (tag !== 8) {
41
+ break;
42
+ }
43
+ message.customer_id = reader.int32();
44
+ continue;
45
+ case 2:
46
+ if (tag !== 18) {
47
+ break;
48
+ }
49
+ message.fisrt_name = reader.string();
50
+ continue;
51
+ case 3:
52
+ if (tag !== 26) {
53
+ break;
54
+ }
55
+ message.last_name = reader.string();
56
+ continue;
57
+ }
58
+ if ((tag & 7) === 4 || tag === 0) {
59
+ break;
60
+ }
61
+ reader.skipType(tag & 7);
62
+ }
63
+ return message;
64
+ },
65
+ fromJSON(object) {
66
+ return {
67
+ customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
68
+ fisrt_name: isSet(object.fisrt_name) ? globalThis.String(object.fisrt_name) : "",
69
+ last_name: isSet(object.last_name) ? globalThis.String(object.last_name) : "",
70
+ };
71
+ },
72
+ toJSON(message) {
73
+ const obj = {};
74
+ if (message.customer_id !== 0) {
75
+ obj.customer_id = Math.round(message.customer_id);
76
+ }
77
+ if (message.fisrt_name !== "") {
78
+ obj.fisrt_name = message.fisrt_name;
79
+ }
80
+ if (message.last_name !== "") {
81
+ obj.last_name = message.last_name;
82
+ }
83
+ return obj;
84
+ },
85
+ create(base) {
86
+ return exports.chrReportRequest.fromPartial(base ?? {});
87
+ },
88
+ fromPartial(object) {
89
+ const message = createBasechrReportRequest();
90
+ message.customer_id = object.customer_id ?? 0;
91
+ message.fisrt_name = object.fisrt_name ?? "";
92
+ message.last_name = object.last_name ?? "";
93
+ return message;
94
+ },
95
+ };
96
+ function createBaseTradeLineData() {
97
+ return {
98
+ id: 0,
99
+ account_type: "",
100
+ current_balance: 0,
101
+ date_closed: undefined,
102
+ last_payment_date: undefined,
103
+ disbursed_date: undefined,
104
+ date_reported: undefined,
105
+ sanctioned_amount: undefined,
106
+ ownership_indicator: undefined,
107
+ suit_filed: "",
108
+ overdue_amount: undefined,
109
+ settled_status: "",
110
+ account_status: undefined,
111
+ emi_amount: undefined,
112
+ credit_limit: undefined,
113
+ loan_type: undefined,
114
+ written_off_amount: undefined,
115
+ settlement_amount: undefined,
116
+ };
117
+ }
118
+ exports.TradeLineData = {
119
+ encode(message, writer = minimal_1.default.Writer.create()) {
120
+ if (message.id !== 0) {
121
+ writer.uint32(8).int32(message.id);
122
+ }
123
+ if (message.account_type !== "") {
124
+ writer.uint32(18).string(message.account_type);
125
+ }
126
+ if (message.current_balance !== 0) {
127
+ writer.uint32(24).int32(message.current_balance);
128
+ }
129
+ if (message.date_closed !== undefined) {
130
+ writer.uint32(34).string(message.date_closed);
131
+ }
132
+ if (message.last_payment_date !== undefined) {
133
+ writer.uint32(42).string(message.last_payment_date);
134
+ }
135
+ if (message.disbursed_date !== undefined) {
136
+ writer.uint32(50).string(message.disbursed_date);
137
+ }
138
+ if (message.date_reported !== undefined) {
139
+ writer.uint32(58).string(message.date_reported);
140
+ }
141
+ if (message.sanctioned_amount !== undefined) {
142
+ writer.uint32(64).int64(message.sanctioned_amount);
143
+ }
144
+ if (message.ownership_indicator !== undefined) {
145
+ writer.uint32(74).string(message.ownership_indicator);
146
+ }
147
+ if (message.suit_filed !== "") {
148
+ writer.uint32(82).string(message.suit_filed);
149
+ }
150
+ if (message.overdue_amount !== undefined) {
151
+ writer.uint32(88).int32(message.overdue_amount);
152
+ }
153
+ if (message.settled_status !== "") {
154
+ writer.uint32(98).string(message.settled_status);
155
+ }
156
+ if (message.account_status !== undefined) {
157
+ writer.uint32(106).string(message.account_status);
158
+ }
159
+ if (message.emi_amount !== undefined) {
160
+ writer.uint32(112).int64(message.emi_amount);
161
+ }
162
+ if (message.credit_limit !== undefined) {
163
+ writer.uint32(120).int64(message.credit_limit);
164
+ }
165
+ if (message.loan_type !== undefined) {
166
+ writer.uint32(130).string(message.loan_type);
167
+ }
168
+ if (message.written_off_amount !== undefined) {
169
+ writer.uint32(136).int64(message.written_off_amount);
170
+ }
171
+ if (message.settlement_amount !== undefined) {
172
+ writer.uint32(144).int64(message.settlement_amount);
173
+ }
174
+ return writer;
175
+ },
176
+ decode(input, length) {
177
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
178
+ let end = length === undefined ? reader.len : reader.pos + length;
179
+ const message = createBaseTradeLineData();
180
+ while (reader.pos < end) {
181
+ const tag = reader.uint32();
182
+ switch (tag >>> 3) {
183
+ case 1:
184
+ if (tag !== 8) {
185
+ break;
186
+ }
187
+ message.id = reader.int32();
188
+ continue;
189
+ case 2:
190
+ if (tag !== 18) {
191
+ break;
192
+ }
193
+ message.account_type = reader.string();
194
+ continue;
195
+ case 3:
196
+ if (tag !== 24) {
197
+ break;
198
+ }
199
+ message.current_balance = reader.int32();
200
+ continue;
201
+ case 4:
202
+ if (tag !== 34) {
203
+ break;
204
+ }
205
+ message.date_closed = reader.string();
206
+ continue;
207
+ case 5:
208
+ if (tag !== 42) {
209
+ break;
210
+ }
211
+ message.last_payment_date = reader.string();
212
+ continue;
213
+ case 6:
214
+ if (tag !== 50) {
215
+ break;
216
+ }
217
+ message.disbursed_date = reader.string();
218
+ continue;
219
+ case 7:
220
+ if (tag !== 58) {
221
+ break;
222
+ }
223
+ message.date_reported = reader.string();
224
+ continue;
225
+ case 8:
226
+ if (tag !== 64) {
227
+ break;
228
+ }
229
+ message.sanctioned_amount = longToNumber(reader.int64());
230
+ continue;
231
+ case 9:
232
+ if (tag !== 74) {
233
+ break;
234
+ }
235
+ message.ownership_indicator = reader.string();
236
+ continue;
237
+ case 10:
238
+ if (tag !== 82) {
239
+ break;
240
+ }
241
+ message.suit_filed = reader.string();
242
+ continue;
243
+ case 11:
244
+ if (tag !== 88) {
245
+ break;
246
+ }
247
+ message.overdue_amount = reader.int32();
248
+ continue;
249
+ case 12:
250
+ if (tag !== 98) {
251
+ break;
252
+ }
253
+ message.settled_status = reader.string();
254
+ continue;
255
+ case 13:
256
+ if (tag !== 106) {
257
+ break;
258
+ }
259
+ message.account_status = reader.string();
260
+ continue;
261
+ case 14:
262
+ if (tag !== 112) {
263
+ break;
264
+ }
265
+ message.emi_amount = longToNumber(reader.int64());
266
+ continue;
267
+ case 15:
268
+ if (tag !== 120) {
269
+ break;
270
+ }
271
+ message.credit_limit = longToNumber(reader.int64());
272
+ continue;
273
+ case 16:
274
+ if (tag !== 130) {
275
+ break;
276
+ }
277
+ message.loan_type = reader.string();
278
+ continue;
279
+ case 17:
280
+ if (tag !== 136) {
281
+ break;
282
+ }
283
+ message.written_off_amount = longToNumber(reader.int64());
284
+ continue;
285
+ case 18:
286
+ if (tag !== 144) {
287
+ break;
288
+ }
289
+ message.settlement_amount = longToNumber(reader.int64());
290
+ continue;
291
+ }
292
+ if ((tag & 7) === 4 || tag === 0) {
293
+ break;
294
+ }
295
+ reader.skipType(tag & 7);
296
+ }
297
+ return message;
298
+ },
299
+ fromJSON(object) {
300
+ return {
301
+ id: isSet(object.id) ? globalThis.Number(object.id) : 0,
302
+ account_type: isSet(object.account_type) ? globalThis.String(object.account_type) : "",
303
+ current_balance: isSet(object.current_balance) ? globalThis.Number(object.current_balance) : 0,
304
+ date_closed: isSet(object.date_closed) ? globalThis.String(object.date_closed) : undefined,
305
+ last_payment_date: isSet(object.last_payment_date) ? globalThis.String(object.last_payment_date) : undefined,
306
+ disbursed_date: isSet(object.disbursed_date) ? globalThis.String(object.disbursed_date) : undefined,
307
+ date_reported: isSet(object.date_reported) ? globalThis.String(object.date_reported) : undefined,
308
+ sanctioned_amount: isSet(object.sanctioned_amount) ? globalThis.Number(object.sanctioned_amount) : undefined,
309
+ ownership_indicator: isSet(object.ownership_indicator)
310
+ ? globalThis.String(object.ownership_indicator)
311
+ : undefined,
312
+ suit_filed: isSet(object.suit_filed) ? globalThis.String(object.suit_filed) : "",
313
+ overdue_amount: isSet(object.overdue_amount) ? globalThis.Number(object.overdue_amount) : undefined,
314
+ settled_status: isSet(object.settled_status) ? globalThis.String(object.settled_status) : "",
315
+ account_status: isSet(object.account_status) ? globalThis.String(object.account_status) : undefined,
316
+ emi_amount: isSet(object.emi_amount) ? globalThis.Number(object.emi_amount) : undefined,
317
+ credit_limit: isSet(object.credit_limit) ? globalThis.Number(object.credit_limit) : undefined,
318
+ loan_type: isSet(object.loan_type) ? globalThis.String(object.loan_type) : undefined,
319
+ written_off_amount: isSet(object.written_off_amount) ? globalThis.Number(object.written_off_amount) : undefined,
320
+ settlement_amount: isSet(object.settlement_amount) ? globalThis.Number(object.settlement_amount) : undefined,
321
+ };
322
+ },
323
+ toJSON(message) {
324
+ const obj = {};
325
+ if (message.id !== 0) {
326
+ obj.id = Math.round(message.id);
327
+ }
328
+ if (message.account_type !== "") {
329
+ obj.account_type = message.account_type;
330
+ }
331
+ if (message.current_balance !== 0) {
332
+ obj.current_balance = Math.round(message.current_balance);
333
+ }
334
+ if (message.date_closed !== undefined) {
335
+ obj.date_closed = message.date_closed;
336
+ }
337
+ if (message.last_payment_date !== undefined) {
338
+ obj.last_payment_date = message.last_payment_date;
339
+ }
340
+ if (message.disbursed_date !== undefined) {
341
+ obj.disbursed_date = message.disbursed_date;
342
+ }
343
+ if (message.date_reported !== undefined) {
344
+ obj.date_reported = message.date_reported;
345
+ }
346
+ if (message.sanctioned_amount !== undefined) {
347
+ obj.sanctioned_amount = Math.round(message.sanctioned_amount);
348
+ }
349
+ if (message.ownership_indicator !== undefined) {
350
+ obj.ownership_indicator = message.ownership_indicator;
351
+ }
352
+ if (message.suit_filed !== "") {
353
+ obj.suit_filed = message.suit_filed;
354
+ }
355
+ if (message.overdue_amount !== undefined) {
356
+ obj.overdue_amount = Math.round(message.overdue_amount);
357
+ }
358
+ if (message.settled_status !== "") {
359
+ obj.settled_status = message.settled_status;
360
+ }
361
+ if (message.account_status !== undefined) {
362
+ obj.account_status = message.account_status;
363
+ }
364
+ if (message.emi_amount !== undefined) {
365
+ obj.emi_amount = Math.round(message.emi_amount);
366
+ }
367
+ if (message.credit_limit !== undefined) {
368
+ obj.credit_limit = Math.round(message.credit_limit);
369
+ }
370
+ if (message.loan_type !== undefined) {
371
+ obj.loan_type = message.loan_type;
372
+ }
373
+ if (message.written_off_amount !== undefined) {
374
+ obj.written_off_amount = Math.round(message.written_off_amount);
375
+ }
376
+ if (message.settlement_amount !== undefined) {
377
+ obj.settlement_amount = Math.round(message.settlement_amount);
378
+ }
379
+ return obj;
380
+ },
381
+ create(base) {
382
+ return exports.TradeLineData.fromPartial(base ?? {});
383
+ },
384
+ fromPartial(object) {
385
+ const message = createBaseTradeLineData();
386
+ message.id = object.id ?? 0;
387
+ message.account_type = object.account_type ?? "";
388
+ message.current_balance = object.current_balance ?? 0;
389
+ message.date_closed = object.date_closed ?? undefined;
390
+ message.last_payment_date = object.last_payment_date ?? undefined;
391
+ message.disbursed_date = object.disbursed_date ?? undefined;
392
+ message.date_reported = object.date_reported ?? undefined;
393
+ message.sanctioned_amount = object.sanctioned_amount ?? undefined;
394
+ message.ownership_indicator = object.ownership_indicator ?? undefined;
395
+ message.suit_filed = object.suit_filed ?? "";
396
+ message.overdue_amount = object.overdue_amount ?? undefined;
397
+ message.settled_status = object.settled_status ?? "";
398
+ message.account_status = object.account_status ?? undefined;
399
+ message.emi_amount = object.emi_amount ?? undefined;
400
+ message.credit_limit = object.credit_limit ?? undefined;
401
+ message.loan_type = object.loan_type ?? undefined;
402
+ message.written_off_amount = object.written_off_amount ?? undefined;
403
+ message.settlement_amount = object.settlement_amount ?? undefined;
404
+ return message;
405
+ },
406
+ };
407
+ function createBaseHeadingTip() {
408
+ return { title: "", content: "" };
409
+ }
410
+ exports.HeadingTip = {
411
+ encode(message, writer = minimal_1.default.Writer.create()) {
412
+ if (message.title !== "") {
413
+ writer.uint32(10).string(message.title);
414
+ }
415
+ if (message.content !== "") {
416
+ writer.uint32(18).string(message.content);
417
+ }
418
+ return writer;
419
+ },
420
+ decode(input, length) {
421
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
422
+ let end = length === undefined ? reader.len : reader.pos + length;
423
+ const message = createBaseHeadingTip();
424
+ while (reader.pos < end) {
425
+ const tag = reader.uint32();
426
+ switch (tag >>> 3) {
427
+ case 1:
428
+ if (tag !== 10) {
429
+ break;
430
+ }
431
+ message.title = reader.string();
432
+ continue;
433
+ case 2:
434
+ if (tag !== 18) {
435
+ break;
436
+ }
437
+ message.content = reader.string();
438
+ continue;
439
+ }
440
+ if ((tag & 7) === 4 || tag === 0) {
441
+ break;
442
+ }
443
+ reader.skipType(tag & 7);
444
+ }
445
+ return message;
446
+ },
447
+ fromJSON(object) {
448
+ return {
449
+ title: isSet(object.title) ? globalThis.String(object.title) : "",
450
+ content: isSet(object.content) ? globalThis.String(object.content) : "",
451
+ };
452
+ },
453
+ toJSON(message) {
454
+ const obj = {};
455
+ if (message.title !== "") {
456
+ obj.title = message.title;
457
+ }
458
+ if (message.content !== "") {
459
+ obj.content = message.content;
460
+ }
461
+ return obj;
462
+ },
463
+ create(base) {
464
+ return exports.HeadingTip.fromPartial(base ?? {});
465
+ },
466
+ fromPartial(object) {
467
+ const message = createBaseHeadingTip();
468
+ message.title = object.title ?? "";
469
+ message.content = object.content ?? "";
470
+ return message;
471
+ },
472
+ };
473
+ function createBaseHeadingData() {
474
+ return { key: "", value: "" };
475
+ }
476
+ exports.HeadingData = {
477
+ encode(message, writer = minimal_1.default.Writer.create()) {
478
+ if (message.key !== "") {
479
+ writer.uint32(10).string(message.key);
480
+ }
481
+ if (message.value !== "") {
482
+ writer.uint32(18).string(message.value);
483
+ }
484
+ return writer;
485
+ },
486
+ decode(input, length) {
487
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
488
+ let end = length === undefined ? reader.len : reader.pos + length;
489
+ const message = createBaseHeadingData();
490
+ while (reader.pos < end) {
491
+ const tag = reader.uint32();
492
+ switch (tag >>> 3) {
493
+ case 1:
494
+ if (tag !== 10) {
495
+ break;
496
+ }
497
+ message.key = reader.string();
498
+ continue;
499
+ case 2:
500
+ if (tag !== 18) {
501
+ break;
502
+ }
503
+ message.value = reader.string();
504
+ continue;
505
+ }
506
+ if ((tag & 7) === 4 || tag === 0) {
507
+ break;
508
+ }
509
+ reader.skipType(tag & 7);
510
+ }
511
+ return message;
512
+ },
513
+ fromJSON(object) {
514
+ return {
515
+ key: isSet(object.key) ? globalThis.String(object.key) : "",
516
+ value: isSet(object.value) ? globalThis.String(object.value) : "",
517
+ };
518
+ },
519
+ toJSON(message) {
520
+ const obj = {};
521
+ if (message.key !== "") {
522
+ obj.key = message.key;
523
+ }
524
+ if (message.value !== "") {
525
+ obj.value = message.value;
526
+ }
527
+ return obj;
528
+ },
529
+ create(base) {
530
+ return exports.HeadingData.fromPartial(base ?? {});
531
+ },
532
+ fromPartial(object) {
533
+ const message = createBaseHeadingData();
534
+ message.key = object.key ?? "";
535
+ message.value = object.value ?? "";
536
+ return message;
537
+ },
538
+ };
539
+ function createBaseScoreAnalysis() {
540
+ return {
541
+ heading: "",
542
+ description: "",
543
+ logoimage: "",
544
+ ratingcount: "",
545
+ ratingtype: "",
546
+ headingtips: [],
547
+ headingdata: [],
548
+ };
549
+ }
550
+ exports.ScoreAnalysis = {
551
+ encode(message, writer = minimal_1.default.Writer.create()) {
552
+ if (message.heading !== "") {
553
+ writer.uint32(10).string(message.heading);
554
+ }
555
+ if (message.description !== "") {
556
+ writer.uint32(18).string(message.description);
557
+ }
558
+ if (message.logoimage !== "") {
559
+ writer.uint32(26).string(message.logoimage);
560
+ }
561
+ if (message.ratingcount !== "") {
562
+ writer.uint32(34).string(message.ratingcount);
563
+ }
564
+ if (message.ratingtype !== "") {
565
+ writer.uint32(42).string(message.ratingtype);
566
+ }
567
+ for (const v of message.headingtips) {
568
+ exports.HeadingTip.encode(v, writer.uint32(50).fork()).ldelim();
569
+ }
570
+ for (const v of message.headingdata) {
571
+ exports.HeadingData.encode(v, writer.uint32(58).fork()).ldelim();
572
+ }
573
+ return writer;
574
+ },
575
+ decode(input, length) {
576
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
577
+ let end = length === undefined ? reader.len : reader.pos + length;
578
+ const message = createBaseScoreAnalysis();
579
+ while (reader.pos < end) {
580
+ const tag = reader.uint32();
581
+ switch (tag >>> 3) {
582
+ case 1:
583
+ if (tag !== 10) {
584
+ break;
585
+ }
586
+ message.heading = reader.string();
587
+ continue;
588
+ case 2:
589
+ if (tag !== 18) {
590
+ break;
591
+ }
592
+ message.description = reader.string();
593
+ continue;
594
+ case 3:
595
+ if (tag !== 26) {
596
+ break;
597
+ }
598
+ message.logoimage = reader.string();
599
+ continue;
600
+ case 4:
601
+ if (tag !== 34) {
602
+ break;
603
+ }
604
+ message.ratingcount = reader.string();
605
+ continue;
606
+ case 5:
607
+ if (tag !== 42) {
608
+ break;
609
+ }
610
+ message.ratingtype = reader.string();
611
+ continue;
612
+ case 6:
613
+ if (tag !== 50) {
614
+ break;
615
+ }
616
+ message.headingtips.push(exports.HeadingTip.decode(reader, reader.uint32()));
617
+ continue;
618
+ case 7:
619
+ if (tag !== 58) {
620
+ break;
621
+ }
622
+ message.headingdata.push(exports.HeadingData.decode(reader, reader.uint32()));
623
+ continue;
624
+ }
625
+ if ((tag & 7) === 4 || tag === 0) {
626
+ break;
627
+ }
628
+ reader.skipType(tag & 7);
629
+ }
630
+ return message;
631
+ },
632
+ fromJSON(object) {
633
+ return {
634
+ heading: isSet(object.heading) ? globalThis.String(object.heading) : "",
635
+ description: isSet(object.description) ? globalThis.String(object.description) : "",
636
+ logoimage: isSet(object.logoimage) ? globalThis.String(object.logoimage) : "",
637
+ ratingcount: isSet(object.ratingcount) ? globalThis.String(object.ratingcount) : "",
638
+ ratingtype: isSet(object.ratingtype) ? globalThis.String(object.ratingtype) : "",
639
+ headingtips: globalThis.Array.isArray(object?.headingtips)
640
+ ? object.headingtips.map((e) => exports.HeadingTip.fromJSON(e))
641
+ : [],
642
+ headingdata: globalThis.Array.isArray(object?.headingdata)
643
+ ? object.headingdata.map((e) => exports.HeadingData.fromJSON(e))
644
+ : [],
645
+ };
646
+ },
647
+ toJSON(message) {
648
+ const obj = {};
649
+ if (message.heading !== "") {
650
+ obj.heading = message.heading;
651
+ }
652
+ if (message.description !== "") {
653
+ obj.description = message.description;
654
+ }
655
+ if (message.logoimage !== "") {
656
+ obj.logoimage = message.logoimage;
657
+ }
658
+ if (message.ratingcount !== "") {
659
+ obj.ratingcount = message.ratingcount;
660
+ }
661
+ if (message.ratingtype !== "") {
662
+ obj.ratingtype = message.ratingtype;
663
+ }
664
+ if (message.headingtips?.length) {
665
+ obj.headingtips = message.headingtips.map((e) => exports.HeadingTip.toJSON(e));
666
+ }
667
+ if (message.headingdata?.length) {
668
+ obj.headingdata = message.headingdata.map((e) => exports.HeadingData.toJSON(e));
669
+ }
670
+ return obj;
671
+ },
672
+ create(base) {
673
+ return exports.ScoreAnalysis.fromPartial(base ?? {});
674
+ },
675
+ fromPartial(object) {
676
+ const message = createBaseScoreAnalysis();
677
+ message.heading = object.heading ?? "";
678
+ message.description = object.description ?? "";
679
+ message.logoimage = object.logoimage ?? "";
680
+ message.ratingcount = object.ratingcount ?? "";
681
+ message.ratingtype = object.ratingtype ?? "";
682
+ message.headingtips = object.headingtips?.map((e) => exports.HeadingTip.fromPartial(e)) || [];
683
+ message.headingdata = object.headingdata?.map((e) => exports.HeadingData.fromPartial(e)) || [];
684
+ return message;
685
+ },
686
+ };
687
+ function createBasechrReportResponse() {
688
+ return { resport_url: "", credit_score: 0, tradelines: [], scoreanalysis: [] };
689
+ }
690
+ exports.chrReportResponse = {
691
+ encode(message, writer = minimal_1.default.Writer.create()) {
692
+ if (message.resport_url !== "") {
693
+ writer.uint32(10).string(message.resport_url);
694
+ }
695
+ if (message.credit_score !== 0) {
696
+ writer.uint32(16).int32(message.credit_score);
697
+ }
698
+ for (const v of message.tradelines) {
699
+ exports.TradeLineData.encode(v, writer.uint32(26).fork()).ldelim();
700
+ }
701
+ for (const v of message.scoreanalysis) {
702
+ exports.ScoreAnalysis.encode(v, writer.uint32(34).fork()).ldelim();
703
+ }
704
+ return writer;
705
+ },
706
+ decode(input, length) {
707
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
708
+ let end = length === undefined ? reader.len : reader.pos + length;
709
+ const message = createBasechrReportResponse();
710
+ while (reader.pos < end) {
711
+ const tag = reader.uint32();
712
+ switch (tag >>> 3) {
713
+ case 1:
714
+ if (tag !== 10) {
715
+ break;
716
+ }
717
+ message.resport_url = reader.string();
718
+ continue;
719
+ case 2:
720
+ if (tag !== 16) {
721
+ break;
722
+ }
723
+ message.credit_score = reader.int32();
724
+ continue;
725
+ case 3:
726
+ if (tag !== 26) {
727
+ break;
728
+ }
729
+ message.tradelines.push(exports.TradeLineData.decode(reader, reader.uint32()));
730
+ continue;
731
+ case 4:
732
+ if (tag !== 34) {
733
+ break;
734
+ }
735
+ message.scoreanalysis.push(exports.ScoreAnalysis.decode(reader, reader.uint32()));
736
+ continue;
737
+ }
738
+ if ((tag & 7) === 4 || tag === 0) {
739
+ break;
740
+ }
741
+ reader.skipType(tag & 7);
742
+ }
743
+ return message;
744
+ },
745
+ fromJSON(object) {
746
+ return {
747
+ resport_url: isSet(object.resport_url) ? globalThis.String(object.resport_url) : "",
748
+ credit_score: isSet(object.credit_score) ? globalThis.Number(object.credit_score) : 0,
749
+ tradelines: globalThis.Array.isArray(object?.tradelines)
750
+ ? object.tradelines.map((e) => exports.TradeLineData.fromJSON(e))
751
+ : [],
752
+ scoreanalysis: globalThis.Array.isArray(object?.scoreanalysis)
753
+ ? object.scoreanalysis.map((e) => exports.ScoreAnalysis.fromJSON(e))
754
+ : [],
755
+ };
756
+ },
757
+ toJSON(message) {
758
+ const obj = {};
759
+ if (message.resport_url !== "") {
760
+ obj.resport_url = message.resport_url;
761
+ }
762
+ if (message.credit_score !== 0) {
763
+ obj.credit_score = Math.round(message.credit_score);
764
+ }
765
+ if (message.tradelines?.length) {
766
+ obj.tradelines = message.tradelines.map((e) => exports.TradeLineData.toJSON(e));
767
+ }
768
+ if (message.scoreanalysis?.length) {
769
+ obj.scoreanalysis = message.scoreanalysis.map((e) => exports.ScoreAnalysis.toJSON(e));
770
+ }
771
+ return obj;
772
+ },
773
+ create(base) {
774
+ return exports.chrReportResponse.fromPartial(base ?? {});
775
+ },
776
+ fromPartial(object) {
777
+ const message = createBasechrReportResponse();
778
+ message.resport_url = object.resport_url ?? "";
779
+ message.credit_score = object.credit_score ?? 0;
780
+ message.tradelines = object.tradelines?.map((e) => exports.TradeLineData.fromPartial(e)) || [];
781
+ message.scoreanalysis = object.scoreanalysis?.map((e) => exports.ScoreAnalysis.fromPartial(e)) || [];
782
+ return message;
783
+ },
784
+ };
785
+ function longToNumber(long) {
786
+ if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
787
+ throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
788
+ }
789
+ if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
790
+ throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
791
+ }
792
+ return long.toNumber();
793
+ }
794
+ if (minimal_1.default.util.Long !== long_1.default) {
795
+ minimal_1.default.util.Long = long_1.default;
796
+ minimal_1.default.configure();
797
+ }
798
+ function isSet(value) {
799
+ return value !== null && value !== undefined;
800
+ }