@stashfin/grpc 1.2.790 → 1.2.792

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 (423) 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/bbps/getbills.js +2 -2
  13. package/ts/bbps/processwebhook.js +2 -2
  14. package/ts/bbps.d.ts +4 -4
  15. package/ts/bbps.js +2 -2
  16. package/ts/bureau/getbasicdetails.js +2 -2
  17. package/ts/bureau/getbureauscore.js +2 -2
  18. package/ts/bureau/getcibilwebtoken.js +2 -2
  19. package/ts/bureau/getdbrcolending.js +2 -2
  20. package/ts/bureau/getdemogs.js +2 -2
  21. package/ts/bureau/getobligation.js +2 -2
  22. package/ts/bureau/getreport.js +2 -2
  23. package/ts/bureau/ischrenabled.js +2 -2
  24. package/ts/bureau.d.ts +16 -16
  25. package/ts/bureau.js +2 -2
  26. package/ts/ckyc/ckycdownload.js +2 -2
  27. package/ts/ckyc/ckycsearch.js +2 -2
  28. package/ts/ckyc.d.ts +4 -4
  29. package/ts/ckyc.js +2 -2
  30. package/ts/colender/disburseLoan.js +2 -2
  31. package/ts/colender/forecloseLoan.js +2 -2
  32. package/ts/colender/repayLoan.js +2 -2
  33. package/ts/colender.d.ts +6 -6
  34. package/ts/colender.js +2 -2
  35. package/ts/communications/bureauidwhatsapp.d.ts +38 -0
  36. package/ts/communications/bureauidwhatsapp.js +161 -0
  37. package/ts/communications.d.ts +28 -0
  38. package/ts/communications.js +24 -0
  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/paynow.d.ts +36 -0
  63. package/ts/customers/cb/paynow.js +133 -0
  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.d.ts +36 -0
  80. package/ts/customers/enach/updatetxnstatus.js +133 -0
  81. package/ts/customers/fetchrcprofile.js +2 -2
  82. package/ts/customers/floatingvideos.js +2 -2
  83. package/ts/customers/forceupdate.js +2 -2
  84. package/ts/customers/forgotmpin.js +2 -2
  85. package/ts/customers/forgotmpinverify.js +2 -2
  86. package/ts/customers/freedom/addressconfirmation.js +2 -2
  87. package/ts/customers/freedom/freedompaynow.js +2 -2
  88. package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
  89. package/ts/customers/freedom/updateadditionalverification.js +2 -2
  90. package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
  91. package/ts/customers/getaddresslist.js +2 -2
  92. package/ts/customers/getappsubmittedscreen.js +2 -2
  93. package/ts/customers/getbankaccountdetails.js +2 -2
  94. package/ts/customers/getbasicinfo.js +2 -2
  95. package/ts/customers/getcities.js +2 -2
  96. package/ts/customers/getclistatus.js +2 -2
  97. package/ts/customers/getcompanyaccdetails.js +2 -2
  98. package/ts/customers/getcustomer.d.ts +57 -0
  99. package/ts/customers/getcustomer.js +351 -0
  100. package/ts/customers/getcustomerbyid.js +2 -2
  101. package/ts/customers/getcustomerdetailsbymobile.js +2 -2
  102. package/ts/customers/getdashboard.js +2 -2
  103. package/ts/customers/getdashboardmaincard.js +2 -2
  104. package/ts/customers/getdocuments.js +2 -2
  105. package/ts/customers/getglobalpopups.js +2 -2
  106. package/ts/customers/getlimit.js +2 -2
  107. package/ts/customers/getloclimit.js +2 -2
  108. package/ts/customers/getmessengermode.js +2 -2
  109. package/ts/customers/getoccupationlist.js +2 -2
  110. package/ts/customers/getpaymentoptions.js +2 -2
  111. package/ts/customers/getprofessionalinfo.js +2 -2
  112. package/ts/customers/getprofile.js +2 -2
  113. package/ts/customers/getrecommendedtag.d.ts +35 -0
  114. package/ts/customers/getrecommendedtag.js +134 -0
  115. package/ts/customers/getrpdlink.d.ts +40 -0
  116. package/ts/customers/getrpdlink.js +190 -0
  117. package/ts/customers/getselfieetxnid.js +2 -2
  118. package/ts/customers/getstates.js +2 -2
  119. package/ts/customers/getstep.js +2 -2
  120. package/ts/customers/getsyncstatus.js +2 -2
  121. package/ts/customers/getvanumber.js +2 -2
  122. package/ts/customers/kyc/epfo.d.ts +38 -0
  123. package/ts/customers/kyc/epfo.js +149 -0
  124. package/ts/customers/lamf/applylamf.js +2 -2
  125. package/ts/customers/lamf/sendlamfotp.js +2 -2
  126. package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
  127. package/ts/customers/lamf/updatelamfjourney.d.ts +34 -0
  128. package/ts/customers/lamf/updatelamfjourney.js +104 -0
  129. package/ts/customers/lamf/verifylamfotp.js +2 -2
  130. package/ts/customers/lamf/verifylamfpledgeotp.js +2 -2
  131. package/ts/customers/logout.js +2 -2
  132. package/ts/customers/pd/getbanklist.js +2 -2
  133. package/ts/customers/pd/validatebankaccount.js +2 -2
  134. package/ts/customers/profilebasic.js +2 -2
  135. package/ts/customers/profileupdatetnc.js +2 -2
  136. package/ts/customers/resetbanner.js +2 -2
  137. package/ts/customers/restoreaccount.js +2 -2
  138. package/ts/customers/rpd/getrpdlink.js +2 -2
  139. package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
  140. package/ts/customers/rpd/mockpayment.js +2 -2
  141. package/ts/customers/saveappslist.js +2 -2
  142. package/ts/customers/savebasicdetails.js +2 -2
  143. package/ts/customers/savelimit.js +2 -2
  144. package/ts/customers/saveunlocklimit.js +2 -2
  145. package/ts/customers/sendemailtoken.d.ts +35 -0
  146. package/ts/customers/sendemailtoken.js +117 -0
  147. package/ts/customers/sendotp.js +2 -2
  148. package/ts/customers/sendotptoemail.js +2 -2
  149. package/ts/customers/setmpin.js +2 -2
  150. package/ts/customers/skipdlrcscreen.d.ts +35 -0
  151. package/ts/customers/skipdlrcscreen.js +117 -0
  152. package/ts/customers/skipscreen.js +2 -2
  153. package/ts/customers/step1.d.ts +69 -0
  154. package/ts/customers/step1.js +395 -0
  155. package/ts/customers/step10.d.ts +73 -0
  156. package/ts/customers/step10.js +459 -0
  157. package/ts/customers/step2.d.ts +68 -0
  158. package/ts/customers/step2.js +381 -0
  159. package/ts/customers/step7.d.ts +68 -0
  160. package/ts/customers/step7.js +381 -0
  161. package/ts/customers/step8.d.ts +69 -0
  162. package/ts/customers/step8.js +395 -0
  163. package/ts/customers/step9.d.ts +75 -0
  164. package/ts/customers/step9.js +489 -0
  165. package/ts/customers/stepstatic.d.ts +66 -0
  166. package/ts/customers/stepstatic.js +354 -0
  167. package/ts/customers/submituploadeddocuments.js +2 -2
  168. package/ts/customers/syncdecisionengine.js +2 -2
  169. package/ts/customers/updatecategory.js +2 -2
  170. package/ts/customers/updatecongratulationstep.js +2 -2
  171. package/ts/customers/updatecustomerbyid.js +2 -2
  172. package/ts/customers/updatedlnumber.js +2 -2
  173. package/ts/customers/updatedob.js +2 -2
  174. package/ts/customers/updatelocstatus.js +2 -2
  175. package/ts/customers/updatemobilesendotp.js +2 -2
  176. package/ts/customers/updatemobileverifyotp.js +2 -2
  177. package/ts/customers/updateokyctxn.js +2 -2
  178. package/ts/customers/updatesanctionamount.js +2 -2
  179. package/ts/customers/updateselfieetxn.js +2 -2
  180. package/ts/customers/updatesyncstatus.js +2 -2
  181. package/ts/customers/updatevehiclenumber.js +2 -2
  182. package/ts/customers/uploaddocuments.js +2 -2
  183. package/ts/customers/validatepan.js +2 -2
  184. package/ts/customers/verifyemail.d.ts +35 -0
  185. package/ts/customers/verifyemail.js +117 -0
  186. package/ts/customers/verifympin.js +2 -2
  187. package/ts/customers/verifyotp.js +2 -2
  188. package/ts/customers/verifyotptoemail.js +2 -2
  189. package/ts/customers.d.ts +238 -238
  190. package/ts/customers.js +2 -2
  191. package/ts/decisionengine/decisionengine.d.ts +40 -0
  192. package/ts/decisionengine/decisionengine.js +191 -0
  193. package/ts/decisionengine/decisionenginetrigger.js +2 -2
  194. package/ts/decisionengine/locdisbursalapproval.js +2 -2
  195. package/ts/decisionengine/saveconsent.js +2 -2
  196. package/ts/decisionengine.d.ts +6 -6
  197. package/ts/decisionengine.js +2 -2
  198. package/ts/deveqxcustomers.d.ts +30 -30
  199. package/ts/deveqxcustomers.js +2 -2
  200. package/ts/devupi.d.ts +54 -54
  201. package/ts/devupi.js +2 -2
  202. package/ts/documents/getagreement.js +2 -2
  203. package/ts/documents/getfinancialdoc.js +2 -2
  204. package/ts/documents.d.ts +4 -4
  205. package/ts/documents.js +2 -2
  206. package/ts/eqxcustomer.d.ts +48 -48
  207. package/ts/eqxcustomer.js +2 -2
  208. package/ts/eqxcustomers/authenticateuser.js +2 -2
  209. package/ts/eqxcustomers/creditguidance.js +2 -2
  210. package/ts/eqxcustomers/getbankaccount.js +2 -2
  211. package/ts/eqxcustomers/getcustomerbyid.js +2 -2
  212. package/ts/eqxcustomers/getcustomerbymobile.js +2 -2
  213. package/ts/eqxcustomers/getdashboard.js +2 -2
  214. package/ts/eqxcustomers/getdashboardmaincard.js +2 -2
  215. package/ts/eqxcustomers/getlandinghomepage.js +2 -2
  216. package/ts/eqxcustomers/getlendingcustomerappsInfo.js +2 -2
  217. package/ts/eqxcustomers/getlendingcustomerdeviceInfo.js +2 -2
  218. package/ts/eqxcustomers/getlendinghomepage.js +2 -2
  219. package/ts/eqxcustomers/getloanplans.js +2 -2
  220. package/ts/eqxcustomers/getnotifications.js +2 -2
  221. package/ts/eqxcustomers/getstashscorecustomerprofile.js +2 -2
  222. package/ts/eqxcustomers/gettnc.js +2 -2
  223. package/ts/eqxcustomers/gettokens.js +2 -2
  224. package/ts/eqxcustomers/iscustomerregistered.js +2 -2
  225. package/ts/eqxcustomers/sendotp.js +2 -2
  226. package/ts/eqxcustomers/truecallerlogin.js +2 -2
  227. package/ts/eqxcustomers/updatecustomer.js +2 -2
  228. package/ts/eqxcustomers/updatenotification.js +2 -2
  229. package/ts/eqxcustomers/updatepushid.js +2 -2
  230. package/ts/eqxcustomers/updatesubscriptionstatus.js +2 -2
  231. package/ts/eqxcustomers/verifyotp.js +2 -2
  232. package/ts/eqxcustomers/verifytoken.js +2 -2
  233. package/ts/eqxpayments/checkpaymentstatus.js +2 -2
  234. package/ts/eqxpayments/fundtransfer.js +2 -2
  235. package/ts/eqxpayments/getpaymentoptions.js +2 -2
  236. package/ts/eqxpayments/initiatepayment.js +2 -2
  237. package/ts/eqxpayments/initiaterefund.d.ts +2 -0
  238. package/ts/eqxpayments/initiaterefund.js +32 -2
  239. package/ts/eqxpayments/nachpresentation.js +2 -2
  240. package/ts/eqxpayments/nachregistration.js +2 -2
  241. package/ts/eqxpayments.d.ts +14 -14
  242. package/ts/eqxpayments.js +2 -2
  243. package/ts/example.d.ts +4 -4
  244. package/ts/example.js +2 -2
  245. package/ts/feepayments/getbanklist.js +2 -2
  246. package/ts/feepayments.d.ts +2 -2
  247. package/ts/feepayments.js +2 -2
  248. package/ts/google/protobuf/struct.d.ts +121 -0
  249. package/ts/google/protobuf/struct.js +449 -0
  250. package/ts/google/protobuf/timestamp.d.ts +127 -0
  251. package/ts/google/protobuf/timestamp.js +97 -0
  252. package/ts/growth/checkplanstatus.js +2 -2
  253. package/ts/growth/getattachplandetails.js +2 -2
  254. package/ts/growth/getchrpaymentstatus.js +2 -2
  255. package/ts/growth/getchrpdfurl.js +2 -2
  256. package/ts/growth/getchrplans.d.ts +31 -94
  257. package/ts/growth/getchrplans.js +63 -568
  258. package/ts/growth/getchrreport.d.ts +109 -0
  259. package/ts/growth/getchrreport.js +800 -0
  260. package/ts/growth/getchrreportdata.js +2 -2
  261. package/ts/growth/getchrsubscriptionplan.js +2 -2
  262. package/ts/growth/getchrvideourl.js +2 -2
  263. package/ts/growth/getcredithealthreport.js +2 -2
  264. package/ts/growth/initiatepayment.js +2 -2
  265. package/ts/growth/notifychrpayment.js +2 -2
  266. package/ts/growth/processchrpayment.d.ts +39 -0
  267. package/ts/growth/processchrpayment.js +177 -0
  268. package/ts/growth.d.ts +8 -8
  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.d.ts +28 -28
  289. package/ts/kyc.js +2 -2
  290. package/ts/lamf/getloandetails.js +2 -2
  291. package/ts/lamf/submitotp.js +2 -2
  292. package/ts/lamf/validateuser.js +2 -2
  293. package/ts/lamf.d.ts +6 -6
  294. package/ts/lamf.js +2 -2
  295. package/ts/loans/addreference.js +2 -2
  296. package/ts/loans/addrefrences.d.ts +49 -0
  297. package/ts/loans/addrefrences.js +229 -0
  298. package/ts/loans/amortization.js +2 -2
  299. package/ts/loans/approveloan.js +2 -2
  300. package/ts/loans/banklist.js +2 -2
  301. package/ts/loans/calculateemi.js +2 -2
  302. package/ts/loans/cbloan.js +2 -2
  303. package/ts/loans/createlamfloan.js +2 -2
  304. package/ts/loans/createpenalty.js +2 -2
  305. package/ts/loans/creditlimit.js +2 -2
  306. package/ts/loans/emimoredetails.js +2 -2
  307. package/ts/loans/fcppayment.js +2 -2
  308. package/ts/loans/forecloseamount.d.ts +36 -0
  309. package/ts/loans/forecloseamount.js +133 -0
  310. package/ts/loans/foreclosepayment.js +2 -2
  311. package/ts/loans/futurepaymentmoredetails.d.ts +51 -0
  312. package/ts/loans/futurepaymentmoredetails.js +243 -0
  313. package/ts/loans/getaddonslist.js +2 -2
  314. package/ts/loans/getbankdetails.js +2 -2
  315. package/ts/loans/getbilldetails.js +2 -2
  316. package/ts/loans/getcbloandetails.js +2 -2
  317. package/ts/loans/getchrdetails.js +2 -2
  318. package/ts/loans/getcustomerloanstatus.js +2 -2
  319. package/ts/loans/getforecloseamount.js +2 -2
  320. package/ts/loans/getloanbyid.js +2 -2
  321. package/ts/loans/getlocconfirms.js +2 -2
  322. package/ts/loans/getlocdetails.js +2 -2
  323. package/ts/loans/getlocdisburse.js +2 -2
  324. package/ts/loans/getlocpartnerconfirm.d.ts +46 -0
  325. package/ts/loans/getlocpartnerconfirm.js +287 -0
  326. package/ts/loans/getlocpartnertenure.d.ts +57 -0
  327. package/ts/loans/getlocpartnertenure.js +339 -0
  328. package/ts/loans/getloctenure.js +2 -2
  329. package/ts/loans/getlocwithdraw.js +2 -2
  330. package/ts/loans/getlocwithdrawform.js +2 -2
  331. package/ts/loans/getnextdueamount.js +2 -2
  332. package/ts/loans/getpartnerlocwithdraw.d.ts +111 -0
  333. package/ts/loans/getpartnerlocwithdraw.js +1289 -0
  334. package/ts/loans/getpaymentoptions.js +2 -2
  335. package/ts/loans/getpendingemiamount.js +2 -2
  336. package/ts/loans/getsetubilldetails.js +2 -2
  337. package/ts/loans/getsummarystaticfields.js +2 -2
  338. package/ts/loans/gettransactionstatus.js +2 -2
  339. package/ts/loans/getusedlimit.js +2 -2
  340. package/ts/loans/getvirtualbankinfo.js +2 -2
  341. package/ts/loans/loansummary.js +2 -2
  342. package/ts/loans/locrequested.js +2 -2
  343. package/ts/loans/manualpaymentallocation.js +2 -2
  344. package/ts/loans/paymentallocation.js +2 -2
  345. package/ts/loans/paymenthistory.js +2 -2
  346. package/ts/loans/paynow.js +2 -2
  347. package/ts/loans/refund.js +2 -2
  348. package/ts/loans/restructureloan.js +2 -2
  349. package/ts/loans/rollback.js +2 -2
  350. package/ts/loans/rollbackextrapayment.d.ts +37 -0
  351. package/ts/loans/rollbackextrapayment.js +149 -0
  352. package/ts/loans/sendemail.js +2 -2
  353. package/ts/loans/sendnocemail.js +2 -2
  354. package/ts/loans/transactionlist.js +2 -2
  355. package/ts/loans/updatecollectionview.js +2 -2
  356. package/ts/loans/updateinstallments.js +2 -2
  357. package/ts/loans/updateloan.js +2 -2
  358. package/ts/loans/updatetransactionstatus.js +2 -2
  359. package/ts/loans.d.ts +100 -100
  360. package/ts/loans.js +2 -2
  361. package/ts/payments/checkpaymentstatus.js +2 -2
  362. package/ts/payments/fundtransfer.js +2 -2
  363. package/ts/payments/getpaymentoptions.js +2 -2
  364. package/ts/payments/initiatepayment.js +2 -2
  365. package/ts/payments/initiaterefund.js +2 -2
  366. package/ts/payments/nachpresentation.js +2 -2
  367. package/ts/payments/nachregistration.js +2 -2
  368. package/ts/payments.d.ts +14 -14
  369. package/ts/payments.js +2 -2
  370. package/ts/paymentsnode.d.ts +12 -12
  371. package/ts/paymentsnode.js +2 -2
  372. package/ts/rewards/getoffers.js +2 -2
  373. package/ts/rewards/redeemoffer.js +2 -2
  374. package/ts/rewards.d.ts +4 -4
  375. package/ts/rewards.js +2 -2
  376. package/ts/stashcash/creditsc.js +2 -2
  377. package/ts/stashcash/debitsc.js +2 -2
  378. package/ts/stashcash/getearnings.js +2 -2
  379. package/ts/stashcash/getscbalance.js +2 -2
  380. package/ts/stashcash/getschistory.js +2 -2
  381. package/ts/stashcash/reversesc.js +2 -2
  382. package/ts/stashcash.d.ts +12 -12
  383. package/ts/stashcash.js +2 -2
  384. package/ts/upi/addaccount.js +2 -2
  385. package/ts/upi/addupinumber.d.ts +39 -0
  386. package/ts/upi/addupinumber.js +177 -0
  387. package/ts/upi/addvpa.d.ts +36 -0
  388. package/ts/upi/addvpa.js +133 -0
  389. package/ts/upi/blockvpa.js +2 -2
  390. package/ts/upi/checkderegisterpermission.js +2 -2
  391. package/ts/upi/checktransactionstatus.js +2 -2
  392. package/ts/upi/declinemandate.js +2 -2
  393. package/ts/upi/declinetransaction.d.ts +53 -0
  394. package/ts/{bbps/initiatepayment.js → upi/declinetransaction.js} +111 -111
  395. package/ts/upi/deregisterprofile.js +2 -2
  396. package/ts/upi/getaccountsbyprovider.js +2 -2
  397. package/ts/upi/getallmandates.js +2 -2
  398. package/ts/upi/getavailablevpa.js +2 -2
  399. package/ts/upi/getlistedaccountproviders.js +2 -2
  400. package/ts/upi/getmandatedetails.js +2 -2
  401. package/ts/upi/getmandatehistory.js +2 -2
  402. package/ts/upi/getpendingcollectrequest.js +2 -2
  403. package/ts/upi/getprofile.js +2 -2
  404. package/ts/upi/getrecentcontacts.js +2 -2
  405. package/ts/upi/gettransactions.js +2 -2
  406. package/ts/upi/getupinumbers.js +2 -2
  407. package/ts/upi/initiatemandateaction.js +2 -2
  408. package/ts/upi/initiatetransaction.js +2 -2
  409. package/ts/upi/listblockedvpa.js +2 -2
  410. package/ts/upi/suggestvpa.d.ts +35 -0
  411. package/ts/upi/suggestvpa.js +122 -0
  412. package/ts/upi/unblockvpa.js +2 -2
  413. package/ts/upi/updatedevicebinding.js +2 -2
  414. package/ts/upi/updatedevicelinking.d.ts +49 -0
  415. package/ts/upi/updatedevicelinking.js +332 -0
  416. package/ts/upi/upinumberoperations.js +2 -2
  417. package/ts/upi/validateifsc.js +2 -2
  418. package/ts/upi/validatevpa.js +2 -2
  419. package/ts/upi.d.ts +68 -54
  420. package/ts/upi.js +12 -2
  421. package/ts/banking/aa/checktransactionstatus.d.ts +0 -38
  422. package/ts/banking/aa/checktransactionstatus.js +0 -161
  423. package/ts/bbps/initiatepayment.d.ts +0 -53
@@ -0,0 +1,36 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "upi.addvpa";
3
+ export interface addVPARequest {
4
+ vpa: string;
5
+ }
6
+ export interface addVPAResponse {
7
+ status: string;
8
+ message: string;
9
+ }
10
+ export declare const addVPARequest: {
11
+ encode(message: addVPARequest, writer?: _m0.Writer): _m0.Writer;
12
+ decode(input: _m0.Reader | Uint8Array, length?: number): addVPARequest;
13
+ fromJSON(object: any): addVPARequest;
14
+ toJSON(message: addVPARequest): unknown;
15
+ create<I extends Exact<DeepPartial<addVPARequest>, I>>(base?: I): addVPARequest;
16
+ fromPartial<I extends Exact<DeepPartial<addVPARequest>, I>>(object: I): addVPARequest;
17
+ };
18
+ export declare const addVPAResponse: {
19
+ encode(message: addVPAResponse, writer?: _m0.Writer): _m0.Writer;
20
+ decode(input: _m0.Reader | Uint8Array, length?: number): addVPAResponse;
21
+ fromJSON(object: any): addVPAResponse;
22
+ toJSON(message: addVPAResponse): unknown;
23
+ create<I extends Exact<DeepPartial<addVPAResponse>, I>>(base?: I): addVPAResponse;
24
+ fromPartial<I extends Exact<DeepPartial<addVPAResponse>, I>>(object: I): addVPAResponse;
25
+ };
26
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
27
+ 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 {} ? {
28
+ [K in keyof T]?: DeepPartial<T[K]>;
29
+ } : Partial<T>;
30
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
31
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
32
+ [K in keyof P]: Exact<P[K], I[K]>;
33
+ } & {
34
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
35
+ };
36
+ export {};
@@ -0,0 +1,133 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.28.3
6
+ // source: upi/addvpa.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.addVPAResponse = exports.addVPARequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "upi.addvpa";
15
+ function createBaseaddVPARequest() {
16
+ return { vpa: "" };
17
+ }
18
+ exports.addVPARequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.vpa !== "") {
21
+ writer.uint32(10).string(message.vpa);
22
+ }
23
+ return writer;
24
+ },
25
+ decode(input, length) {
26
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
27
+ let end = length === undefined ? reader.len : reader.pos + length;
28
+ const message = createBaseaddVPARequest();
29
+ while (reader.pos < end) {
30
+ const tag = reader.uint32();
31
+ switch (tag >>> 3) {
32
+ case 1:
33
+ if (tag !== 10) {
34
+ break;
35
+ }
36
+ message.vpa = reader.string();
37
+ continue;
38
+ }
39
+ if ((tag & 7) === 4 || tag === 0) {
40
+ break;
41
+ }
42
+ reader.skipType(tag & 7);
43
+ }
44
+ return message;
45
+ },
46
+ fromJSON(object) {
47
+ return { vpa: isSet(object.vpa) ? globalThis.String(object.vpa) : "" };
48
+ },
49
+ toJSON(message) {
50
+ const obj = {};
51
+ if (message.vpa !== "") {
52
+ obj.vpa = message.vpa;
53
+ }
54
+ return obj;
55
+ },
56
+ create(base) {
57
+ return exports.addVPARequest.fromPartial(base ?? {});
58
+ },
59
+ fromPartial(object) {
60
+ const message = createBaseaddVPARequest();
61
+ message.vpa = object.vpa ?? "";
62
+ return message;
63
+ },
64
+ };
65
+ function createBaseaddVPAResponse() {
66
+ return { status: "", message: "" };
67
+ }
68
+ exports.addVPAResponse = {
69
+ encode(message, writer = minimal_1.default.Writer.create()) {
70
+ if (message.status !== "") {
71
+ writer.uint32(10).string(message.status);
72
+ }
73
+ if (message.message !== "") {
74
+ writer.uint32(18).string(message.message);
75
+ }
76
+ return writer;
77
+ },
78
+ decode(input, length) {
79
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
80
+ let end = length === undefined ? reader.len : reader.pos + length;
81
+ const message = createBaseaddVPAResponse();
82
+ while (reader.pos < end) {
83
+ const tag = reader.uint32();
84
+ switch (tag >>> 3) {
85
+ case 1:
86
+ if (tag !== 10) {
87
+ break;
88
+ }
89
+ message.status = reader.string();
90
+ continue;
91
+ case 2:
92
+ if (tag !== 18) {
93
+ break;
94
+ }
95
+ message.message = reader.string();
96
+ continue;
97
+ }
98
+ if ((tag & 7) === 4 || tag === 0) {
99
+ break;
100
+ }
101
+ reader.skipType(tag & 7);
102
+ }
103
+ return message;
104
+ },
105
+ fromJSON(object) {
106
+ return {
107
+ status: isSet(object.status) ? globalThis.String(object.status) : "",
108
+ message: isSet(object.message) ? globalThis.String(object.message) : "",
109
+ };
110
+ },
111
+ toJSON(message) {
112
+ const obj = {};
113
+ if (message.status !== "") {
114
+ obj.status = message.status;
115
+ }
116
+ if (message.message !== "") {
117
+ obj.message = message.message;
118
+ }
119
+ return obj;
120
+ },
121
+ create(base) {
122
+ return exports.addVPAResponse.fromPartial(base ?? {});
123
+ },
124
+ fromPartial(object) {
125
+ const message = createBaseaddVPAResponse();
126
+ message.status = object.status ?? "";
127
+ message.message = object.message ?? "";
128
+ return message;
129
+ },
130
+ };
131
+ function isSet(value) {
132
+ return value !== null && value !== undefined;
133
+ }
@@ -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.2
5
- // protoc v5.29.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.0
6
6
  // source: upi/blockvpa.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.2
5
- // protoc v5.29.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.0
6
6
  // source: upi/checkderegisterpermission.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.2
5
- // protoc v5.29.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.0
6
6
  // source: upi/checktransactionstatus.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.2
5
- // protoc v5.29.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.0
6
6
  // source: upi/declinemandate.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -0,0 +1,53 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "upi.declineTransaction";
3
+ export interface declineTransactionRequest {
4
+ mobile: string;
5
+ customer_id: number;
6
+ txn_id: string;
7
+ vpa: string;
8
+ decline_reason?: string | undefined;
9
+ decline_code?: string | undefined;
10
+ }
11
+ export interface transactionData {
12
+ txn_id: string;
13
+ }
14
+ export interface declineTransactionResponse {
15
+ status: string;
16
+ message: string;
17
+ data?: transactionData | undefined;
18
+ }
19
+ export declare const declineTransactionRequest: {
20
+ encode(message: declineTransactionRequest, writer?: _m0.Writer): _m0.Writer;
21
+ decode(input: _m0.Reader | Uint8Array, length?: number): declineTransactionRequest;
22
+ fromJSON(object: any): declineTransactionRequest;
23
+ toJSON(message: declineTransactionRequest): unknown;
24
+ create<I extends Exact<DeepPartial<declineTransactionRequest>, I>>(base?: I): declineTransactionRequest;
25
+ fromPartial<I extends Exact<DeepPartial<declineTransactionRequest>, I>>(object: I): declineTransactionRequest;
26
+ };
27
+ export declare const transactionData: {
28
+ encode(message: transactionData, writer?: _m0.Writer): _m0.Writer;
29
+ decode(input: _m0.Reader | Uint8Array, length?: number): transactionData;
30
+ fromJSON(object: any): transactionData;
31
+ toJSON(message: transactionData): unknown;
32
+ create<I extends Exact<DeepPartial<transactionData>, I>>(base?: I): transactionData;
33
+ fromPartial<I extends Exact<DeepPartial<transactionData>, I>>(object: I): transactionData;
34
+ };
35
+ export declare const declineTransactionResponse: {
36
+ encode(message: declineTransactionResponse, writer?: _m0.Writer): _m0.Writer;
37
+ decode(input: _m0.Reader | Uint8Array, length?: number): declineTransactionResponse;
38
+ fromJSON(object: any): declineTransactionResponse;
39
+ toJSON(message: declineTransactionResponse): unknown;
40
+ create<I extends Exact<DeepPartial<declineTransactionResponse>, I>>(base?: I): declineTransactionResponse;
41
+ fromPartial<I extends Exact<DeepPartial<declineTransactionResponse>, I>>(object: I): declineTransactionResponse;
42
+ };
43
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
44
+ 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 {} ? {
45
+ [K in keyof T]?: DeepPartial<T[K]>;
46
+ } : Partial<T>;
47
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
48
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
49
+ [K in keyof P]: Exact<P[K], I[K]>;
50
+ } & {
51
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
52
+ };
53
+ export {};
@@ -1,85 +1,85 @@
1
1
  "use strict";
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
- // protoc-gen-ts_proto v1.181.2
5
- // protoc v5.29.3
6
- // source: bbps/initiatepayment.proto
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.0
6
+ // source: upi/declinetransaction.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.response_Data = exports.response = exports.request = exports.protobufPackage = void 0;
11
+ exports.declineTransactionResponse = exports.transactionData = exports.declineTransactionRequest = 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"));
15
- exports.protobufPackage = "bbps.initiatepayment";
16
- function createBaserequest() {
17
- return { customer_id: 0, client_id: "", mode: "", amount: 0, external_order_id: "", meta_data: undefined };
15
+ exports.protobufPackage = "upi.declineTransaction";
16
+ function createBasedeclineTransactionRequest() {
17
+ return { mobile: "", customer_id: 0, txn_id: "", vpa: "", decline_reason: undefined, decline_code: undefined };
18
18
  }
19
- exports.request = {
19
+ exports.declineTransactionRequest = {
20
20
  encode(message, writer = minimal_1.default.Writer.create()) {
21
- if (message.customer_id !== 0) {
22
- writer.uint32(8).int64(message.customer_id);
21
+ if (message.mobile !== "") {
22
+ writer.uint32(10).string(message.mobile);
23
23
  }
24
- if (message.client_id !== "") {
25
- writer.uint32(18).string(message.client_id);
24
+ if (message.customer_id !== 0) {
25
+ writer.uint32(16).int64(message.customer_id);
26
26
  }
27
- if (message.mode !== "") {
28
- writer.uint32(26).string(message.mode);
27
+ if (message.txn_id !== "") {
28
+ writer.uint32(26).string(message.txn_id);
29
29
  }
30
- if (message.amount !== 0) {
31
- writer.uint32(32).int64(message.amount);
30
+ if (message.vpa !== "") {
31
+ writer.uint32(34).string(message.vpa);
32
32
  }
33
- if (message.external_order_id !== "") {
34
- writer.uint32(42).string(message.external_order_id);
33
+ if (message.decline_reason !== undefined) {
34
+ writer.uint32(42).string(message.decline_reason);
35
35
  }
36
- if (message.meta_data !== undefined) {
37
- writer.uint32(50).string(message.meta_data);
36
+ if (message.decline_code !== undefined) {
37
+ writer.uint32(50).string(message.decline_code);
38
38
  }
39
39
  return writer;
40
40
  },
41
41
  decode(input, length) {
42
42
  const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
43
43
  let end = length === undefined ? reader.len : reader.pos + length;
44
- const message = createBaserequest();
44
+ const message = createBasedeclineTransactionRequest();
45
45
  while (reader.pos < end) {
46
46
  const tag = reader.uint32();
47
47
  switch (tag >>> 3) {
48
48
  case 1:
49
- if (tag !== 8) {
49
+ if (tag !== 10) {
50
50
  break;
51
51
  }
52
- message.customer_id = longToNumber(reader.int64());
52
+ message.mobile = reader.string();
53
53
  continue;
54
54
  case 2:
55
- if (tag !== 18) {
55
+ if (tag !== 16) {
56
56
  break;
57
57
  }
58
- message.client_id = reader.string();
58
+ message.customer_id = longToNumber(reader.int64());
59
59
  continue;
60
60
  case 3:
61
61
  if (tag !== 26) {
62
62
  break;
63
63
  }
64
- message.mode = reader.string();
64
+ message.txn_id = reader.string();
65
65
  continue;
66
66
  case 4:
67
- if (tag !== 32) {
67
+ if (tag !== 34) {
68
68
  break;
69
69
  }
70
- message.amount = longToNumber(reader.int64());
70
+ message.vpa = reader.string();
71
71
  continue;
72
72
  case 5:
73
73
  if (tag !== 42) {
74
74
  break;
75
75
  }
76
- message.external_order_id = reader.string();
76
+ message.decline_reason = reader.string();
77
77
  continue;
78
78
  case 6:
79
79
  if (tag !== 50) {
80
80
  break;
81
81
  }
82
- message.meta_data = reader.string();
82
+ message.decline_code = reader.string();
83
83
  continue;
84
84
  }
85
85
  if ((tag & 7) === 4 || tag === 0) {
@@ -91,70 +91,64 @@ exports.request = {
91
91
  },
92
92
  fromJSON(object) {
93
93
  return {
94
+ mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "",
94
95
  customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
95
- client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : "",
96
- mode: isSet(object.mode) ? globalThis.String(object.mode) : "",
97
- amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
98
- external_order_id: isSet(object.external_order_id) ? globalThis.String(object.external_order_id) : "",
99
- meta_data: isSet(object.meta_data) ? globalThis.String(object.meta_data) : undefined,
96
+ txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
97
+ vpa: isSet(object.vpa) ? globalThis.String(object.vpa) : "",
98
+ decline_reason: isSet(object.decline_reason) ? globalThis.String(object.decline_reason) : undefined,
99
+ decline_code: isSet(object.decline_code) ? globalThis.String(object.decline_code) : undefined,
100
100
  };
101
101
  },
102
102
  toJSON(message) {
103
103
  const obj = {};
104
+ if (message.mobile !== "") {
105
+ obj.mobile = message.mobile;
106
+ }
104
107
  if (message.customer_id !== 0) {
105
108
  obj.customer_id = Math.round(message.customer_id);
106
109
  }
107
- if (message.client_id !== "") {
108
- obj.client_id = message.client_id;
110
+ if (message.txn_id !== "") {
111
+ obj.txn_id = message.txn_id;
109
112
  }
110
- if (message.mode !== "") {
111
- obj.mode = message.mode;
113
+ if (message.vpa !== "") {
114
+ obj.vpa = message.vpa;
112
115
  }
113
- if (message.amount !== 0) {
114
- obj.amount = Math.round(message.amount);
116
+ if (message.decline_reason !== undefined) {
117
+ obj.decline_reason = message.decline_reason;
115
118
  }
116
- if (message.external_order_id !== "") {
117
- obj.external_order_id = message.external_order_id;
118
- }
119
- if (message.meta_data !== undefined) {
120
- obj.meta_data = message.meta_data;
119
+ if (message.decline_code !== undefined) {
120
+ obj.decline_code = message.decline_code;
121
121
  }
122
122
  return obj;
123
123
  },
124
124
  create(base) {
125
- return exports.request.fromPartial(base ?? {});
125
+ return exports.declineTransactionRequest.fromPartial(base ?? {});
126
126
  },
127
127
  fromPartial(object) {
128
- const message = createBaserequest();
128
+ const message = createBasedeclineTransactionRequest();
129
+ message.mobile = object.mobile ?? "";
129
130
  message.customer_id = object.customer_id ?? 0;
130
- message.client_id = object.client_id ?? "";
131
- message.mode = object.mode ?? "";
132
- message.amount = object.amount ?? 0;
133
- message.external_order_id = object.external_order_id ?? "";
134
- message.meta_data = object.meta_data ?? undefined;
131
+ message.txn_id = object.txn_id ?? "";
132
+ message.vpa = object.vpa ?? "";
133
+ message.decline_reason = object.decline_reason ?? undefined;
134
+ message.decline_code = object.decline_code ?? undefined;
135
135
  return message;
136
136
  },
137
137
  };
138
- function createBaseresponse() {
139
- return { status: "", status_code: 0, data: undefined };
138
+ function createBasetransactionData() {
139
+ return { txn_id: "" };
140
140
  }
141
- exports.response = {
141
+ exports.transactionData = {
142
142
  encode(message, writer = minimal_1.default.Writer.create()) {
143
- if (message.status !== "") {
144
- writer.uint32(10).string(message.status);
145
- }
146
- if (message.status_code !== 0) {
147
- writer.uint32(16).int32(message.status_code);
148
- }
149
- if (message.data !== undefined) {
150
- exports.response_Data.encode(message.data, writer.uint32(26).fork()).ldelim();
143
+ if (message.txn_id !== "") {
144
+ writer.uint32(10).string(message.txn_id);
151
145
  }
152
146
  return writer;
153
147
  },
154
148
  decode(input, length) {
155
149
  const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
156
150
  let end = length === undefined ? reader.len : reader.pos + length;
157
- const message = createBaseresponse();
151
+ const message = createBasetransactionData();
158
152
  while (reader.pos < end) {
159
153
  const tag = reader.uint32();
160
154
  switch (tag >>> 3) {
@@ -162,19 +156,7 @@ exports.response = {
162
156
  if (tag !== 10) {
163
157
  break;
164
158
  }
165
- message.status = reader.string();
166
- continue;
167
- case 2:
168
- if (tag !== 16) {
169
- break;
170
- }
171
- message.status_code = reader.int32();
172
- continue;
173
- case 3:
174
- if (tag !== 26) {
175
- break;
176
- }
177
- message.data = exports.response_Data.decode(reader, reader.uint32());
159
+ message.txn_id = reader.string();
178
160
  continue;
179
161
  }
180
162
  if ((tag & 7) === 4 || tag === 0) {
@@ -185,52 +167,44 @@ exports.response = {
185
167
  return message;
186
168
  },
187
169
  fromJSON(object) {
188
- return {
189
- status: isSet(object.status) ? globalThis.String(object.status) : "",
190
- status_code: isSet(object.status_code) ? globalThis.Number(object.status_code) : 0,
191
- data: isSet(object.data) ? exports.response_Data.fromJSON(object.data) : undefined,
192
- };
170
+ return { txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "" };
193
171
  },
194
172
  toJSON(message) {
195
173
  const obj = {};
196
- if (message.status !== "") {
197
- obj.status = message.status;
198
- }
199
- if (message.status_code !== 0) {
200
- obj.status_code = Math.round(message.status_code);
201
- }
202
- if (message.data !== undefined) {
203
- obj.data = exports.response_Data.toJSON(message.data);
174
+ if (message.txn_id !== "") {
175
+ obj.txn_id = message.txn_id;
204
176
  }
205
177
  return obj;
206
178
  },
207
179
  create(base) {
208
- return exports.response.fromPartial(base ?? {});
180
+ return exports.transactionData.fromPartial(base ?? {});
209
181
  },
210
182
  fromPartial(object) {
211
- const message = createBaseresponse();
212
- message.status = object.status ?? "";
213
- message.status_code = object.status_code ?? 0;
214
- message.data = (object.data !== undefined && object.data !== null)
215
- ? exports.response_Data.fromPartial(object.data)
216
- : undefined;
183
+ const message = createBasetransactionData();
184
+ message.txn_id = object.txn_id ?? "";
217
185
  return message;
218
186
  },
219
187
  };
220
- function createBaseresponse_Data() {
221
- return { redirect_url: undefined };
188
+ function createBasedeclineTransactionResponse() {
189
+ return { status: "", message: "", data: undefined };
222
190
  }
223
- exports.response_Data = {
191
+ exports.declineTransactionResponse = {
224
192
  encode(message, writer = minimal_1.default.Writer.create()) {
225
- if (message.redirect_url !== undefined) {
226
- writer.uint32(10).string(message.redirect_url);
193
+ if (message.status !== "") {
194
+ writer.uint32(10).string(message.status);
195
+ }
196
+ if (message.message !== "") {
197
+ writer.uint32(18).string(message.message);
198
+ }
199
+ if (message.data !== undefined) {
200
+ exports.transactionData.encode(message.data, writer.uint32(26).fork()).ldelim();
227
201
  }
228
202
  return writer;
229
203
  },
230
204
  decode(input, length) {
231
205
  const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
232
206
  let end = length === undefined ? reader.len : reader.pos + length;
233
- const message = createBaseresponse_Data();
207
+ const message = createBasedeclineTransactionResponse();
234
208
  while (reader.pos < end) {
235
209
  const tag = reader.uint32();
236
210
  switch (tag >>> 3) {
@@ -238,7 +212,19 @@ exports.response_Data = {
238
212
  if (tag !== 10) {
239
213
  break;
240
214
  }
241
- message.redirect_url = reader.string();
215
+ message.status = reader.string();
216
+ continue;
217
+ case 2:
218
+ if (tag !== 18) {
219
+ break;
220
+ }
221
+ message.message = reader.string();
222
+ continue;
223
+ case 3:
224
+ if (tag !== 26) {
225
+ break;
226
+ }
227
+ message.data = exports.transactionData.decode(reader, reader.uint32());
242
228
  continue;
243
229
  }
244
230
  if ((tag & 7) === 4 || tag === 0) {
@@ -249,21 +235,35 @@ exports.response_Data = {
249
235
  return message;
250
236
  },
251
237
  fromJSON(object) {
252
- return { redirect_url: isSet(object.redirect_url) ? globalThis.String(object.redirect_url) : undefined };
238
+ return {
239
+ status: isSet(object.status) ? globalThis.String(object.status) : "",
240
+ message: isSet(object.message) ? globalThis.String(object.message) : "",
241
+ data: isSet(object.data) ? exports.transactionData.fromJSON(object.data) : undefined,
242
+ };
253
243
  },
254
244
  toJSON(message) {
255
245
  const obj = {};
256
- if (message.redirect_url !== undefined) {
257
- obj.redirect_url = message.redirect_url;
246
+ if (message.status !== "") {
247
+ obj.status = message.status;
248
+ }
249
+ if (message.message !== "") {
250
+ obj.message = message.message;
251
+ }
252
+ if (message.data !== undefined) {
253
+ obj.data = exports.transactionData.toJSON(message.data);
258
254
  }
259
255
  return obj;
260
256
  },
261
257
  create(base) {
262
- return exports.response_Data.fromPartial(base ?? {});
258
+ return exports.declineTransactionResponse.fromPartial(base ?? {});
263
259
  },
264
260
  fromPartial(object) {
265
- const message = createBaseresponse_Data();
266
- message.redirect_url = object.redirect_url ?? undefined;
261
+ const message = createBasedeclineTransactionResponse();
262
+ message.status = object.status ?? "";
263
+ message.message = object.message ?? "";
264
+ message.data = (object.data !== undefined && object.data !== null)
265
+ ? exports.transactionData.fromPartial(object.data)
266
+ : undefined;
267
267
  return message;
268
268
  },
269
269
  };
@@ -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.2
5
- // protoc v5.29.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.0
6
6
  // source: upi/deregisterprofile.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.2
5
- // protoc v5.29.3
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v6.31.0
6
6
  // source: upi/getaccountsbyprovider.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };