@stashfin/grpc 1.5.15 → 1.5.16

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 (484) hide show
  1. package/package.json +1 -1
  2. package/ts/admin/getcustomer.js +2 -2
  3. package/ts/admin/getcustomerbyid.js +2 -2
  4. package/ts/admin.d.ts +4 -4
  5. package/ts/admin.js +2 -2
  6. package/ts/banking/aa/getaasupport.js +2 -2
  7. package/ts/banking/aa/getbanklist.js +2 -2
  8. package/ts/banking/aa/getcustomerbank.js +2 -2
  9. package/ts/banking/aa/getrpdlink.js +2 -2
  10. package/ts/banking/aa/initiate.js +2 -2
  11. package/ts/banking/aa/initiatepennydrop.js +2 -2
  12. package/ts/banking/aa/netbankinginitiate.js +2 -2
  13. package/ts/banking/aa/pollingrpd.js +2 -2
  14. package/ts/banking.d.ts +16 -16
  15. package/ts/banking.js +2 -2
  16. package/ts/bbps/getallbbpstransactions.js +2 -2
  17. package/ts/bbps/getallcategory.js +2 -2
  18. package/ts/bbps/getbillforreminder.js +2 -2
  19. package/ts/bbps/getbills.js +2 -2
  20. package/ts/bbps/getorderdetails.js +2 -2
  21. package/ts/bbps/processdecryptedrudata.js +2 -2
  22. package/ts/bbps/processwebhook.js +2 -2
  23. package/ts/bbps/remindernotification.js +2 -2
  24. package/ts/bbps/sendremindercall.js +2 -2
  25. package/ts/bbps/updatetxnsstatus.js +2 -2
  26. package/ts/bbps.d.ts +25 -39
  27. package/ts/bbps.js +2 -12
  28. package/ts/bbpsreminder.d.ts +2 -2
  29. package/ts/bbpsreminder.js +2 -2
  30. package/ts/bureau/deletebureaudatabycustid.js +2 -2
  31. package/ts/bureau/getbasicdetails.js +2 -2
  32. package/ts/bureau/getbureaudetails.js +2 -2
  33. package/ts/bureau/getbureauscore.js +2 -2
  34. package/ts/bureau/getcibilwebtoken.js +2 -2
  35. package/ts/bureau/getdbrcolending.js +2 -2
  36. package/ts/bureau/getdemogs.js +2 -2
  37. package/ts/bureau/getobligation.js +2 -2
  38. package/ts/bureau/getreport.js +2 -2
  39. package/ts/bureau/ischrenabled.js +2 -2
  40. package/ts/bureau.d.ts +20 -20
  41. package/ts/bureau.js +2 -2
  42. package/ts/chr/notifychrpayments.js +2 -2
  43. package/ts/chr.d.ts +2 -2
  44. package/ts/chr.js +2 -2
  45. package/ts/ckyc/ckycdownload.js +2 -2
  46. package/ts/ckyc/ckycsearch.js +2 -2
  47. package/ts/ckyc.d.ts +4 -4
  48. package/ts/ckyc.js +2 -2
  49. package/ts/colender/disburseLoan.js +2 -2
  50. package/ts/colender/forecloseLoan.js +2 -2
  51. package/ts/colender/repayLoan.js +2 -2
  52. package/ts/colender.d.ts +6 -6
  53. package/ts/colender.js +2 -2
  54. package/ts/communications/bureauidwhatsapp.d.ts +38 -0
  55. package/ts/communications/bureauidwhatsapp.js +161 -0
  56. package/ts/communications.d.ts +28 -0
  57. package/ts/communications.js +24 -0
  58. package/ts/cr/crmembershipinfo.js +2 -2
  59. package/ts/cr/notifycrpayments.js +2 -2
  60. package/ts/cr.d.ts +4 -4
  61. package/ts/cr.js +2 -2
  62. package/ts/customers/aa/getaatxnstatus.js +2 -2
  63. package/ts/customers/aa/getbanklist.js +2 -2
  64. package/ts/customers/aa/initiate.js +2 -2
  65. package/ts/customers/accidentprotectionplan.js +2 -2
  66. package/ts/customers/addaddress.js +2 -2
  67. package/ts/customers/addbankaccountdetails.js +2 -2
  68. package/ts/customers/addfathersname.js +2 -2
  69. package/ts/customers/addgstnumber.js +2 -2
  70. package/ts/customers/addmoredetails.js +2 -2
  71. package/ts/customers/addsuspendedcustomer.js +2 -2
  72. package/ts/customers/adduserapps.d.ts +2 -2
  73. package/ts/customers/adduserapps.js +2 -2
  74. package/ts/customers/applyclijourney.js +2 -2
  75. package/ts/customers/bulksms.js +2 -2
  76. package/ts/customers/cb/cbapplicationrejecteddata.js +2 -2
  77. package/ts/customers/cb/cbpaynow.js +2 -2
  78. package/ts/customers/cb/cbsignup.js +2 -2
  79. package/ts/customers/cb/getcbtxnstatus.js +2 -2
  80. package/ts/customers/cb/getcreditbuilder.js +2 -2
  81. package/ts/customers/cb/getpaymentsummary.js +2 -2
  82. package/ts/customers/cb/insurancedetails.js +2 -2
  83. package/ts/customers/cb/lesscsimprove.js +2 -2
  84. package/ts/customers/cb/morecsimprove.js +2 -2
  85. package/ts/customers/cb/paynow.d.ts +36 -0
  86. package/ts/customers/cb/paynow.js +133 -0
  87. package/ts/customers/cb/savecreditbuilder.js +2 -2
  88. package/ts/customers/cb/updatecbstandalonecancellation.js +2 -2
  89. package/ts/customers/cb/updatecbstandaloneconfirmation.js +2 -2
  90. package/ts/customers/cb/updatecbstandalonejourney.js +2 -2
  91. package/ts/customers/cb/updatecbtxnstatus.js +2 -2
  92. package/ts/customers/changempin.js +2 -2
  93. package/ts/customers/createcustomerreference.js +2 -2
  94. package/ts/customers/createvanumber.js +2 -2
  95. package/ts/customers/customerinfo.js +2 -2
  96. package/ts/customers/deletedocument.js +2 -2
  97. package/ts/customers/deleteprofile.js +2 -2
  98. package/ts/customers/disablempin.js +2 -2
  99. package/ts/customers/enach/gettxnstatus.js +2 -2
  100. package/ts/customers/enach/getweburl.js +2 -2
  101. package/ts/customers/enach/updateenachtxnstatus.js +2 -2
  102. package/ts/customers/enach/updatetxnstatus.d.ts +36 -0
  103. package/ts/customers/enach/updatetxnstatus.js +133 -0
  104. package/ts/customers/fetchrcprofile.js +2 -2
  105. package/ts/customers/floatingvideos.js +2 -2
  106. package/ts/customers/forceupdate.js +2 -2
  107. package/ts/customers/forgotmpin.js +2 -2
  108. package/ts/customers/forgotmpinverify.js +2 -2
  109. package/ts/customers/freedom/addressconfirmation.js +2 -2
  110. package/ts/customers/freedom/freedompaynow.js +2 -2
  111. package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
  112. package/ts/customers/freedom/updateadditionalverification.js +2 -2
  113. package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
  114. package/ts/customers/getaddresslist.js +2 -2
  115. package/ts/customers/getappsubmittedscreen.js +2 -2
  116. package/ts/customers/getbankaccountdetails.js +2 -2
  117. package/ts/customers/getbasicinfo.js +2 -2
  118. package/ts/customers/getcities.js +2 -2
  119. package/ts/customers/getclistatus.js +2 -2
  120. package/ts/customers/getcompanyaccdetails.js +2 -2
  121. package/ts/customers/getcustomerbyid.js +2 -2
  122. package/ts/customers/getcustomerdetailsbymobile.js +2 -2
  123. package/ts/customers/getdashboard.js +2 -2
  124. package/ts/customers/getdashboardmaincard.js +2 -2
  125. package/ts/customers/getdocuments.js +2 -2
  126. package/ts/customers/getglobalpopups.js +2 -2
  127. package/ts/customers/getlimit.js +2 -2
  128. package/ts/customers/getloclimit.js +2 -2
  129. package/ts/customers/getmessengermode.js +2 -2
  130. package/ts/customers/getoccupationlist.js +2 -2
  131. package/ts/customers/getpaymentoptions.js +2 -2
  132. package/ts/customers/getprofessionalinfo.js +2 -2
  133. package/ts/customers/getprofile.js +2 -2
  134. package/ts/customers/getselfieetxnid.js +2 -2
  135. package/ts/customers/getstates.js +2 -2
  136. package/ts/customers/getstep.js +2 -2
  137. package/ts/customers/getsyncstatus.js +2 -2
  138. package/ts/customers/getvanumber.js +2 -2
  139. package/ts/customers/lamf/applylamf.js +2 -2
  140. package/ts/customers/lamf/sendlamfotp.js +2 -2
  141. package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
  142. package/ts/customers/lamf/updatelamfjourney.d.ts +34 -0
  143. package/ts/customers/lamf/updatelamfjourney.js +104 -0
  144. package/ts/customers/lamf/verifylamfotp.js +2 -2
  145. package/ts/customers/lamf/verifylamfpledgeotp.js +2 -2
  146. package/ts/customers/logout.js +2 -2
  147. package/ts/customers/pd/getbanklist.js +2 -2
  148. package/ts/customers/pd/validatebankaccount.js +2 -2
  149. package/ts/customers/profilebasic.js +2 -2
  150. package/ts/customers/profileupdatetnc.js +2 -2
  151. package/ts/customers/resetbanner.js +2 -2
  152. package/ts/customers/restoreaccount.js +2 -2
  153. package/ts/customers/rpd/getrpdlink.js +2 -2
  154. package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
  155. package/ts/customers/rpd/mockpayment.js +2 -2
  156. package/ts/customers/saveappslist.js +2 -2
  157. package/ts/customers/savebasicdetails.js +2 -2
  158. package/ts/customers/savelimit.js +2 -2
  159. package/ts/customers/saveunlocklimit.js +2 -2
  160. package/ts/customers/sendotp.js +2 -2
  161. package/ts/customers/sendotptoemail.js +2 -2
  162. package/ts/customers/setmpin.js +2 -2
  163. package/ts/customers/skipscreen.js +2 -2
  164. package/ts/customers/submituploadeddocuments.js +2 -2
  165. package/ts/customers/syncdecisionengine.js +2 -2
  166. package/ts/customers/updatecategory.js +2 -2
  167. package/ts/customers/updatecongratulationstep.js +2 -2
  168. package/ts/customers/updatecustomerbyid.js +2 -2
  169. package/ts/customers/updatedlnumber.js +2 -2
  170. package/ts/customers/updatedob.js +2 -2
  171. package/ts/customers/updatelocstatus.js +2 -2
  172. package/ts/customers/updatemobilesendotp.js +2 -2
  173. package/ts/customers/updatemobileverifyotp.js +2 -2
  174. package/ts/customers/updateokyctxn.js +2 -2
  175. package/ts/customers/updatesanctionamount.js +2 -2
  176. package/ts/customers/updateselfieetxn.js +2 -2
  177. package/ts/customers/updatesyncstatus.js +2 -2
  178. package/ts/customers/updatevehiclenumber.js +2 -2
  179. package/ts/customers/uploaddocuments.js +2 -2
  180. package/ts/customers/validatepan.js +2 -2
  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/digigold/buygold.js +2 -2
  198. package/ts/digigold/getbuygoldstatus.js +2 -2
  199. package/ts/digigold/getquote.js +2 -2
  200. package/ts/digigold.d.ts +6 -6
  201. package/ts/digigold.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 +70 -70
  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/getallcustomers.js +2 -2
  211. package/ts/eqxcustomers/getbankaccount.js +2 -2
  212. package/ts/eqxcustomers/getcustomerbyid.js +2 -2
  213. package/ts/eqxcustomers/getcustomerbymobile.js +2 -2
  214. package/ts/eqxcustomers/getcustomerbyvpa.js +2 -2
  215. package/ts/eqxcustomers/getdashboard.js +2 -2
  216. package/ts/eqxcustomers/getdashboardmaincard.js +2 -2
  217. package/ts/eqxcustomers/getlandinghomepage.d.ts +228 -0
  218. package/ts/eqxcustomers/getlandinghomepage.js +1915 -0
  219. package/ts/eqxcustomers/getlatlong.js +2 -2
  220. package/ts/eqxcustomers/getlendingcustomerappsInfo.js +2 -2
  221. package/ts/eqxcustomers/getlendingcustomerdeviceInfo.js +2 -2
  222. package/ts/eqxcustomers/getlendinghomepage.js +2 -2
  223. package/ts/eqxcustomers/getlendingrefreshtoken.js +2 -2
  224. package/ts/eqxcustomers/getlendingsyncedinfo.js +2 -2
  225. package/ts/eqxcustomers/getloanplans.js +2 -2
  226. package/ts/eqxcustomers/getnotifications.js +2 -2
  227. package/ts/eqxcustomers/getstashscorecustomerprofile.js +2 -2
  228. package/ts/eqxcustomers/gettnc.js +2 -2
  229. package/ts/eqxcustomers/gettncbycustomerid.js +2 -2
  230. package/ts/eqxcustomers/gettokens.js +2 -2
  231. package/ts/eqxcustomers/getvpalist.js +2 -2
  232. package/ts/eqxcustomers/iscustomerregistered.js +2 -2
  233. package/ts/eqxcustomers/lendingcustomerexists.js +2 -2
  234. package/ts/eqxcustomers/sendotp.js +2 -2
  235. package/ts/eqxcustomers/truecallerlogin.js +2 -2
  236. package/ts/eqxcustomers/updatecustomer.js +2 -2
  237. package/ts/eqxcustomers/updatecustomerbasicdetails.js +2 -2
  238. package/ts/eqxcustomers/updatecustomercategory.js +2 -2
  239. package/ts/eqxcustomers/updatedevicedetails.js +2 -2
  240. package/ts/eqxcustomers/updatenotification.js +2 -2
  241. package/ts/eqxcustomers/updatepushid.js +2 -2
  242. package/ts/eqxcustomers/updatesubscriptionstatus.js +2 -2
  243. package/ts/eqxcustomers/verifyotp.js +2 -2
  244. package/ts/eqxcustomers/verifytoken.js +2 -2
  245. package/ts/eqxpayments/checkpaymentstatus.js +2 -2
  246. package/ts/eqxpayments/createorder.js +2 -2
  247. package/ts/eqxpayments/createtransaction.js +2 -2
  248. package/ts/eqxpayments/fundtransfer.js +2 -2
  249. package/ts/eqxpayments/getpaymentoptions.js +2 -2
  250. package/ts/eqxpayments/getpaymenttypes.js +2 -2
  251. package/ts/eqxpayments/initiatepayment.js +2 -2
  252. package/ts/eqxpayments/initiaterefund.js +2 -2
  253. package/ts/eqxpayments/merchants_create.js +2 -2
  254. package/ts/eqxpayments/merchants_credentials_rotate.js +2 -2
  255. package/ts/eqxpayments/merchants_get.js +2 -2
  256. package/ts/eqxpayments/merchants_list.js +2 -2
  257. package/ts/eqxpayments/merchants_update.js +2 -2
  258. package/ts/eqxpayments/nachpresentation.js +2 -2
  259. package/ts/eqxpayments/nachpresentationstatus.js +2 -2
  260. package/ts/eqxpayments/nachregistration.js +2 -2
  261. package/ts/eqxpayments/nachregistrationstatus.js +2 -2
  262. package/ts/eqxpayments/payment_modes_get.js +2 -2
  263. package/ts/eqxpayments/payment_modes_list.js +2 -2
  264. package/ts/eqxpayments/routes_create.js +2 -2
  265. package/ts/eqxpayments/routes_list.js +2 -2
  266. package/ts/eqxpayments/routes_update.js +2 -2
  267. package/ts/eqxpayments/spmc_delete.js +2 -2
  268. package/ts/eqxpayments/spmc_list.js +2 -2
  269. package/ts/eqxpayments/spmc_patch.js +2 -2
  270. package/ts/eqxpayments/spmc_upsert.js +2 -2
  271. package/ts/eqxpayments/subscribers_client_secret_rotate.js +2 -2
  272. package/ts/eqxpayments/subscribers_create.js +2 -2
  273. package/ts/eqxpayments/subscribers_get.js +2 -2
  274. package/ts/eqxpayments/subscribers_list.js +2 -2
  275. package/ts/eqxpayments/subscribers_update.js +2 -2
  276. package/ts/eqxpayments/vendors_create.js +2 -2
  277. package/ts/eqxpayments/vendors_get.js +2 -2
  278. package/ts/eqxpayments/vendors_list.js +2 -2
  279. package/ts/eqxpayments/vendors_update.js +2 -2
  280. package/ts/eqxpayments.d.ts +70 -129
  281. package/ts/eqxpayments.js +2 -43
  282. package/ts/example.d.ts +4 -4
  283. package/ts/example.js +2 -2
  284. package/ts/feepayments/getbanklist.js +2 -2
  285. package/ts/feepayments.d.ts +2 -2
  286. package/ts/feepayments.js +2 -2
  287. package/ts/growth/checkplanstatus.d.ts +48 -0
  288. package/ts/growth/checkplanstatus.js +200 -0
  289. package/ts/growth/getattachplandetails.d.ts +53 -0
  290. package/ts/growth/getattachplandetails.js +270 -0
  291. package/ts/growth/getchrpaymentstatus.d.ts +49 -0
  292. package/ts/growth/getchrpaymentstatus.js +213 -0
  293. package/ts/growth/getchrpdfurl.js +2 -2
  294. package/ts/growth/getchrplans.d.ts +49 -0
  295. package/ts/growth/getchrplans.js +212 -0
  296. package/ts/growth/getchrreport.d.ts +67 -0
  297. package/ts/growth/getchrreport.js +504 -0
  298. package/ts/growth/getchrreportdata.js +2 -2
  299. package/ts/growth/getchrsubscriptionplan.js +2 -2
  300. package/ts/growth/getchrvideourl.js +2 -2
  301. package/ts/growth/getcredithealthreport.d.ts +98 -0
  302. package/ts/growth/getcredithealthreport.js +617 -0
  303. package/ts/growth/initiatepayment.d.ts +52 -0
  304. package/ts/growth/initiatepayment.js +259 -0
  305. package/ts/growth/notifychrpayment.d.ts +42 -0
  306. package/ts/growth/notifychrpayment.js +219 -0
  307. package/ts/growth/processchrpayment.d.ts +39 -0
  308. package/ts/growth/processchrpayment.js +177 -0
  309. package/ts/growth.d.ts +8 -8
  310. package/ts/growth.js +2 -2
  311. package/ts/kyc/amldetails.js +2 -2
  312. package/ts/kyc/authbridgepancomprehend.js +2 -2
  313. package/ts/kyc/bureauidwhatsapp.js +2 -2
  314. package/ts/kyc/ckycfetchrecord.js +2 -2
  315. package/ts/kyc/ckycresendotp.js +2 -2
  316. package/ts/kyc/ckycsearchv1.js +2 -2
  317. package/ts/kyc/ckycvalidation.js +2 -2
  318. package/ts/kyc/facematch.js +2 -2
  319. package/ts/kyc/fetchaadhaarbypan.js +2 -2
  320. package/ts/kyc/fetchemploymenthistory.js +2 -2
  321. package/ts/kyc/fetchuanlist.js +2 -2
  322. package/ts/kyc/getselfietxnid.js +2 -2
  323. package/ts/kyc/getselfieurl.d.ts +1 -0
  324. package/ts/kyc/getselfieurl.js +17 -3
  325. package/ts/kyc/nsdlpanvalidate.js +2 -2
  326. package/ts/kyc/okyclinkhyperverge.js +2 -2
  327. package/ts/kyc.d.ts +32 -32
  328. package/ts/kyc.js +2 -2
  329. package/ts/lamf/getloandetails.js +2 -2
  330. package/ts/lamf/submitotp.js +2 -2
  331. package/ts/lamf/validateuser.js +2 -2
  332. package/ts/lamf.d.ts +6 -6
  333. package/ts/lamf.js +2 -2
  334. package/ts/loans/addreference.js +2 -2
  335. package/ts/loans/amortization.js +2 -2
  336. package/ts/loans/approveloan.js +2 -2
  337. package/ts/loans/banklist.js +2 -2
  338. package/ts/loans/calculateemi.js +2 -2
  339. package/ts/loans/cbloan.js +2 -2
  340. package/ts/loans/createlamfloan.js +2 -2
  341. package/ts/loans/createpenalty.js +2 -2
  342. package/ts/loans/creditlimit.js +2 -2
  343. package/ts/loans/emimoredetails.js +2 -2
  344. package/ts/loans/fcppayment.js +2 -2
  345. package/ts/loans/forecloseamount.d.ts +36 -0
  346. package/ts/loans/forecloseamount.js +133 -0
  347. package/ts/loans/foreclosepayment.js +2 -2
  348. package/ts/loans/futurepaymentmoredetails.d.ts +51 -0
  349. package/ts/loans/futurepaymentmoredetails.js +243 -0
  350. package/ts/loans/getaddonslist.js +2 -2
  351. package/ts/loans/getbankdetails.js +2 -2
  352. package/ts/loans/getbilldetails.js +2 -2
  353. package/ts/loans/getcbloandetails.js +2 -2
  354. package/ts/loans/getchrdetails.js +2 -2
  355. package/ts/loans/getcustomerloanstatus.js +2 -2
  356. package/ts/loans/getforecloseamount.js +2 -2
  357. package/ts/loans/getloanbyid.js +2 -2
  358. package/ts/loans/getlocconfirms.js +2 -2
  359. package/ts/loans/getlocdetails.js +2 -2
  360. package/ts/loans/getlocdisburse.js +2 -2
  361. package/ts/loans/getloctenure.js +2 -2
  362. package/ts/loans/getlocwithdraw.js +2 -2
  363. package/ts/loans/getlocwithdrawform.js +2 -2
  364. package/ts/loans/getnextdueamount.js +2 -2
  365. package/ts/loans/getpaymentoptions.js +2 -2
  366. package/ts/loans/getpendingemiamount.js +2 -2
  367. package/ts/loans/getsetubilldetails.js +2 -2
  368. package/ts/loans/getsummarystaticfields.js +2 -2
  369. package/ts/loans/gettransactionstatus.js +2 -2
  370. package/ts/loans/getusedlimit.js +2 -2
  371. package/ts/loans/getvirtualaccountnumber.d.ts +35 -0
  372. package/ts/loans/getvirtualaccountnumber.js +117 -0
  373. package/ts/loans/getvirtualbankinfo.js +2 -2
  374. package/ts/loans/loansummary.js +2 -2
  375. package/ts/loans/locrequested.js +2 -2
  376. package/ts/loans/manualpaymentallocation.js +2 -2
  377. package/ts/loans/paymentallocation.js +2 -2
  378. package/ts/loans/paymenthistory.js +2 -2
  379. package/ts/loans/paynow.js +2 -2
  380. package/ts/loans/refund.js +2 -2
  381. package/ts/loans/restructureloan.js +2 -2
  382. package/ts/loans/rollback.js +2 -2
  383. package/ts/loans/rollbackextrapayment.d.ts +37 -0
  384. package/ts/loans/rollbackextrapayment.js +149 -0
  385. package/ts/loans/sendemail.js +2 -2
  386. package/ts/loans/sendnocemail.js +2 -2
  387. package/ts/loans/transactionlist.js +2 -2
  388. package/ts/loans/updatecollectionview.js +2 -2
  389. package/ts/loans/updateinstallments.js +2 -2
  390. package/ts/loans/updateloan.js +2 -2
  391. package/ts/loans/updatetransactionstatus.js +2 -2
  392. package/ts/loans.d.ts +100 -100
  393. package/ts/loans.js +2 -2
  394. package/ts/payments/cancelnachupimandate.js +2 -2
  395. package/ts/payments/checkpaymentstatus.js +2 -2
  396. package/ts/payments/fundtransfer.js +2 -2
  397. package/ts/payments/getpaymentoptions.js +2 -2
  398. package/ts/payments/initiatepayment.js +2 -2
  399. package/ts/payments/initiaterefund.js +2 -2
  400. package/ts/payments/nachpresentation.js +2 -2
  401. package/ts/payments/nachregistration.js +2 -2
  402. package/ts/payments.d.ts +14 -14
  403. package/ts/payments.js +2 -2
  404. package/ts/paymentsnode.d.ts +14 -14
  405. package/ts/paymentsnode.js +2 -2
  406. package/ts/rewards/getoffers.js +2 -2
  407. package/ts/rewards/redeemoffer.js +2 -2
  408. package/ts/rewards.d.ts +4 -4
  409. package/ts/rewards.js +2 -2
  410. package/ts/stashcash/creditsc.js +2 -2
  411. package/ts/stashcash/debitsc.js +2 -2
  412. package/ts/stashcash/getearnings.js +2 -2
  413. package/ts/stashcash/getscbalance.js +2 -2
  414. package/ts/stashcash/getschistory.js +2 -2
  415. package/ts/stashcash/reversesc.js +2 -2
  416. package/ts/stashcash.d.ts +12 -12
  417. package/ts/stashcash.js +2 -2
  418. package/ts/upi/addaccount.js +2 -2
  419. package/ts/upi/blockvpa.js +2 -2
  420. package/ts/upi/checkderegisterpermission.js +2 -2
  421. package/ts/upi/checktransactionstatus.js +2 -2
  422. package/ts/upi/declinemandate.js +2 -2
  423. package/ts/upi/declinetransaction.js +2 -2
  424. package/ts/upi/deregisterprofile.js +2 -2
  425. package/ts/upi/getaccountsbyprovider.js +2 -2
  426. package/ts/upi/getallmandates.js +2 -2
  427. package/ts/upi/getallupitxnsdetails.js +2 -2
  428. package/ts/upi/getavailablevpa.js +2 -2
  429. package/ts/upi/getlistedaccountproviders.js +2 -2
  430. package/ts/upi/getmandatedetails.js +2 -2
  431. package/ts/upi/getmandatehistory.js +2 -2
  432. package/ts/upi/getpendingcollectrequest.js +2 -2
  433. package/ts/upi/getprofile.js +2 -2
  434. package/ts/upi/getrecentcontacts.js +2 -2
  435. package/ts/upi/gettransactions.js +2 -2
  436. package/ts/upi/getupinumbers.js +2 -2
  437. package/ts/upi/getupireport.js +2 -2
  438. package/ts/upi/getupitxnstatustype.js +2 -2
  439. package/ts/upi/initiatemandateaction.js +2 -2
  440. package/ts/upi/initiatetransaction.js +2 -2
  441. package/ts/upi/listblockedvpa.js +2 -2
  442. package/ts/upi/unblockvpa.js +2 -2
  443. package/ts/upi/updatedevicebinding.js +2 -2
  444. package/ts/upi/updatedevicelinking.d.ts +49 -0
  445. package/ts/upi/updatedevicelinking.js +332 -0
  446. package/ts/upi/upinumberoperations.js +2 -2
  447. package/ts/upi/validateifsc.js +2 -2
  448. package/ts/upi/validatevpa.js +2 -2
  449. package/ts/upi.d.ts +62 -62
  450. package/ts/upi.js +2 -2
  451. package/ts/bbps/processwebhookv2.d.ts +0 -157
  452. package/ts/bbps/processwebhookv2.js +0 -1175
  453. package/ts/eqxpayments/createmerchant.d.ts +0 -73
  454. package/ts/eqxpayments/createmerchant.js +0 -397
  455. package/ts/eqxpayments/createorderv2.d.ts +0 -50
  456. package/ts/eqxpayments/createorderv2.js +0 -334
  457. package/ts/eqxpayments/createpaymentcategoryclient.d.ts +0 -74
  458. package/ts/eqxpayments/createpaymentcategoryclient.js +0 -411
  459. package/ts/eqxpayments/createpaymentgateway.d.ts +0 -71
  460. package/ts/eqxpayments/createpaymentgateway.js +0 -369
  461. package/ts/eqxpayments/getgatewayconfiguration.d.ts +0 -92
  462. package/ts/eqxpayments/getgatewayconfiguration.js +0 -430
  463. package/ts/eqxpayments/getmerchantmodeconfigfees.d.ts +0 -106
  464. package/ts/eqxpayments/getmerchantmodeconfigfees.js +0 -627
  465. package/ts/eqxpayments/getorderv2.d.ts +0 -41
  466. package/ts/eqxpayments/getorderv2.js +0 -211
  467. package/ts/eqxpayments/initiateattemptv2.d.ts +0 -58
  468. package/ts/eqxpayments/initiateattemptv2.js +0 -374
  469. package/ts/eqxpayments/listcheckoutoptionsv2.d.ts +0 -96
  470. package/ts/eqxpayments/listcheckoutoptionsv2.js +0 -489
  471. package/ts/eqxpayments/listmerchants.d.ts +0 -68
  472. package/ts/eqxpayments/listmerchants.js +0 -331
  473. package/ts/eqxpayments/listpaymentcategoryclients.d.ts +0 -87
  474. package/ts/eqxpayments/listpaymentcategoryclients.js +0 -477
  475. package/ts/eqxpayments/listpaymentgateways.d.ts +0 -84
  476. package/ts/eqxpayments/listpaymentgateways.js +0 -433
  477. package/ts/eqxpayments/updatemerchant.d.ts +0 -73
  478. package/ts/eqxpayments/updatemerchant.js +0 -397
  479. package/ts/eqxpayments/updatemerchantmodeconfigfee.d.ts +0 -75
  480. package/ts/eqxpayments/updatemerchantmodeconfigfee.js +0 -417
  481. package/ts/eqxpayments/updatepaymentcategoryclient.d.ts +0 -75
  482. package/ts/eqxpayments/updatepaymentcategoryclient.js +0 -425
  483. package/ts/eqxpayments/updatepaymentgateway.d.ts +0 -71
  484. package/ts/eqxpayments/updatepaymentgateway.js +0 -369
@@ -1,211 +0,0 @@
1
- "use strict";
2
- // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
- // versions:
4
- // protoc-gen-ts_proto v1.181.2
5
- // protoc v6.33.1
6
- // source: eqxpayments/getorderv2.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.response = exports.request = exports.protobufPackage = void 0;
12
- /* eslint-disable */
13
- const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
- exports.protobufPackage = "eqxpayments.getorderv2";
15
- function createBaserequest() {
16
- return { transaction_id: "" };
17
- }
18
- exports.request = {
19
- encode(message, writer = minimal_1.default.Writer.create()) {
20
- if (message.transaction_id !== "") {
21
- writer.uint32(10).string(message.transaction_id);
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 = createBaserequest();
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.transaction_id = 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 { transaction_id: isSet(object.transaction_id) ? globalThis.String(object.transaction_id) : "" };
48
- },
49
- toJSON(message) {
50
- const obj = {};
51
- if (message.transaction_id !== "") {
52
- obj.transaction_id = message.transaction_id;
53
- }
54
- return obj;
55
- },
56
- create(base) {
57
- return exports.request.fromPartial(base ?? {});
58
- },
59
- fromPartial(object) {
60
- const message = createBaserequest();
61
- message.transaction_id = object.transaction_id ?? "";
62
- return message;
63
- },
64
- };
65
- function createBaseresponse() {
66
- return {
67
- transaction_id: "",
68
- order_ref: "",
69
- subscriber_id: "",
70
- status: "",
71
- final: false,
72
- last_error_code: "",
73
- last_error_message: "",
74
- };
75
- }
76
- exports.response = {
77
- encode(message, writer = minimal_1.default.Writer.create()) {
78
- if (message.transaction_id !== "") {
79
- writer.uint32(10).string(message.transaction_id);
80
- }
81
- if (message.order_ref !== "") {
82
- writer.uint32(18).string(message.order_ref);
83
- }
84
- if (message.subscriber_id !== "") {
85
- writer.uint32(26).string(message.subscriber_id);
86
- }
87
- if (message.status !== "") {
88
- writer.uint32(34).string(message.status);
89
- }
90
- if (message.final !== false) {
91
- writer.uint32(40).bool(message.final);
92
- }
93
- if (message.last_error_code !== "") {
94
- writer.uint32(50).string(message.last_error_code);
95
- }
96
- if (message.last_error_message !== "") {
97
- writer.uint32(58).string(message.last_error_message);
98
- }
99
- return writer;
100
- },
101
- decode(input, length) {
102
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
103
- let end = length === undefined ? reader.len : reader.pos + length;
104
- const message = createBaseresponse();
105
- while (reader.pos < end) {
106
- const tag = reader.uint32();
107
- switch (tag >>> 3) {
108
- case 1:
109
- if (tag !== 10) {
110
- break;
111
- }
112
- message.transaction_id = reader.string();
113
- continue;
114
- case 2:
115
- if (tag !== 18) {
116
- break;
117
- }
118
- message.order_ref = reader.string();
119
- continue;
120
- case 3:
121
- if (tag !== 26) {
122
- break;
123
- }
124
- message.subscriber_id = reader.string();
125
- continue;
126
- case 4:
127
- if (tag !== 34) {
128
- break;
129
- }
130
- message.status = reader.string();
131
- continue;
132
- case 5:
133
- if (tag !== 40) {
134
- break;
135
- }
136
- message.final = reader.bool();
137
- continue;
138
- case 6:
139
- if (tag !== 50) {
140
- break;
141
- }
142
- message.last_error_code = reader.string();
143
- continue;
144
- case 7:
145
- if (tag !== 58) {
146
- break;
147
- }
148
- message.last_error_message = reader.string();
149
- continue;
150
- }
151
- if ((tag & 7) === 4 || tag === 0) {
152
- break;
153
- }
154
- reader.skipType(tag & 7);
155
- }
156
- return message;
157
- },
158
- fromJSON(object) {
159
- return {
160
- transaction_id: isSet(object.transaction_id) ? globalThis.String(object.transaction_id) : "",
161
- order_ref: isSet(object.order_ref) ? globalThis.String(object.order_ref) : "",
162
- subscriber_id: isSet(object.subscriber_id) ? globalThis.String(object.subscriber_id) : "",
163
- status: isSet(object.status) ? globalThis.String(object.status) : "",
164
- final: isSet(object.final) ? globalThis.Boolean(object.final) : false,
165
- last_error_code: isSet(object.last_error_code) ? globalThis.String(object.last_error_code) : "",
166
- last_error_message: isSet(object.last_error_message) ? globalThis.String(object.last_error_message) : "",
167
- };
168
- },
169
- toJSON(message) {
170
- const obj = {};
171
- if (message.transaction_id !== "") {
172
- obj.transaction_id = message.transaction_id;
173
- }
174
- if (message.order_ref !== "") {
175
- obj.order_ref = message.order_ref;
176
- }
177
- if (message.subscriber_id !== "") {
178
- obj.subscriber_id = message.subscriber_id;
179
- }
180
- if (message.status !== "") {
181
- obj.status = message.status;
182
- }
183
- if (message.final !== false) {
184
- obj.final = message.final;
185
- }
186
- if (message.last_error_code !== "") {
187
- obj.last_error_code = message.last_error_code;
188
- }
189
- if (message.last_error_message !== "") {
190
- obj.last_error_message = message.last_error_message;
191
- }
192
- return obj;
193
- },
194
- create(base) {
195
- return exports.response.fromPartial(base ?? {});
196
- },
197
- fromPartial(object) {
198
- const message = createBaseresponse();
199
- message.transaction_id = object.transaction_id ?? "";
200
- message.order_ref = object.order_ref ?? "";
201
- message.subscriber_id = object.subscriber_id ?? "";
202
- message.status = object.status ?? "";
203
- message.final = object.final ?? false;
204
- message.last_error_code = object.last_error_code ?? "";
205
- message.last_error_message = object.last_error_message ?? "";
206
- return message;
207
- },
208
- };
209
- function isSet(value) {
210
- return value !== null && value !== undefined;
211
- }
@@ -1,58 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- export declare const protobufPackage = "eqxpayments.initiateattemptv2";
3
- export interface InitiateAttemptRequestV2 {
4
- /** JWT from CreateOrderV2 */
5
- checkout_token: string;
6
- /** paymode selected by user */
7
- mode_id: number;
8
- /** optional idempotency key (UUID) */
9
- client_attempt_ref: string;
10
- /** required when mode is NETBANKING */
11
- bank_code: string;
12
- }
13
- export interface InitiateAttemptResponseV2 {
14
- transaction_id: string;
15
- attempt_id: string;
16
- attempt_no: number;
17
- mode_code: string;
18
- base_amount: number;
19
- ccf_minor: number;
20
- gst_minor: number;
21
- final_amount: number;
22
- vendor_code: string;
23
- merchant_name: string;
24
- pg_txn_id: string;
25
- /** redirect/collect flows */
26
- redirect_url: string;
27
- /** UPI intent flows */
28
- intent_string: string;
29
- /** AWAITING_WEBHOOK|REDIRECTED|AUTHORIZED|CAPTURED */
30
- state: string;
31
- }
32
- export declare const InitiateAttemptRequestV2: {
33
- encode(message: InitiateAttemptRequestV2, writer?: _m0.Writer): _m0.Writer;
34
- decode(input: _m0.Reader | Uint8Array, length?: number): InitiateAttemptRequestV2;
35
- fromJSON(object: any): InitiateAttemptRequestV2;
36
- toJSON(message: InitiateAttemptRequestV2): unknown;
37
- create<I extends Exact<DeepPartial<InitiateAttemptRequestV2>, I>>(base?: I): InitiateAttemptRequestV2;
38
- fromPartial<I extends Exact<DeepPartial<InitiateAttemptRequestV2>, I>>(object: I): InitiateAttemptRequestV2;
39
- };
40
- export declare const InitiateAttemptResponseV2: {
41
- encode(message: InitiateAttemptResponseV2, writer?: _m0.Writer): _m0.Writer;
42
- decode(input: _m0.Reader | Uint8Array, length?: number): InitiateAttemptResponseV2;
43
- fromJSON(object: any): InitiateAttemptResponseV2;
44
- toJSON(message: InitiateAttemptResponseV2): unknown;
45
- create<I extends Exact<DeepPartial<InitiateAttemptResponseV2>, I>>(base?: I): InitiateAttemptResponseV2;
46
- fromPartial<I extends Exact<DeepPartial<InitiateAttemptResponseV2>, I>>(object: I): InitiateAttemptResponseV2;
47
- };
48
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
49
- 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 {} ? {
50
- [K in keyof T]?: DeepPartial<T[K]>;
51
- } : Partial<T>;
52
- type KeysOfUnion<T> = T extends T ? keyof T : never;
53
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
54
- [K in keyof P]: Exact<P[K], I[K]>;
55
- } & {
56
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
57
- };
58
- export {};
@@ -1,374 +0,0 @@
1
- "use strict";
2
- // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
- // versions:
4
- // protoc-gen-ts_proto v1.181.2
5
- // protoc v6.33.1
6
- // source: eqxpayments/initiateattemptv2.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.InitiateAttemptResponseV2 = exports.InitiateAttemptRequestV2 = 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 = "eqxpayments.initiateattemptv2";
16
- function createBaseInitiateAttemptRequestV2() {
17
- return { checkout_token: "", mode_id: 0, client_attempt_ref: "", bank_code: "" };
18
- }
19
- exports.InitiateAttemptRequestV2 = {
20
- encode(message, writer = minimal_1.default.Writer.create()) {
21
- if (message.checkout_token !== "") {
22
- writer.uint32(10).string(message.checkout_token);
23
- }
24
- if (message.mode_id !== 0) {
25
- writer.uint32(16).int32(message.mode_id);
26
- }
27
- if (message.client_attempt_ref !== "") {
28
- writer.uint32(26).string(message.client_attempt_ref);
29
- }
30
- if (message.bank_code !== "") {
31
- writer.uint32(34).string(message.bank_code);
32
- }
33
- return writer;
34
- },
35
- decode(input, length) {
36
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
37
- let end = length === undefined ? reader.len : reader.pos + length;
38
- const message = createBaseInitiateAttemptRequestV2();
39
- while (reader.pos < end) {
40
- const tag = reader.uint32();
41
- switch (tag >>> 3) {
42
- case 1:
43
- if (tag !== 10) {
44
- break;
45
- }
46
- message.checkout_token = reader.string();
47
- continue;
48
- case 2:
49
- if (tag !== 16) {
50
- break;
51
- }
52
- message.mode_id = reader.int32();
53
- continue;
54
- case 3:
55
- if (tag !== 26) {
56
- break;
57
- }
58
- message.client_attempt_ref = reader.string();
59
- continue;
60
- case 4:
61
- if (tag !== 34) {
62
- break;
63
- }
64
- message.bank_code = reader.string();
65
- continue;
66
- }
67
- if ((tag & 7) === 4 || tag === 0) {
68
- break;
69
- }
70
- reader.skipType(tag & 7);
71
- }
72
- return message;
73
- },
74
- fromJSON(object) {
75
- return {
76
- checkout_token: isSet(object.checkout_token) ? globalThis.String(object.checkout_token) : "",
77
- mode_id: isSet(object.mode_id) ? globalThis.Number(object.mode_id) : 0,
78
- client_attempt_ref: isSet(object.client_attempt_ref) ? globalThis.String(object.client_attempt_ref) : "",
79
- bank_code: isSet(object.bank_code) ? globalThis.String(object.bank_code) : "",
80
- };
81
- },
82
- toJSON(message) {
83
- const obj = {};
84
- if (message.checkout_token !== "") {
85
- obj.checkout_token = message.checkout_token;
86
- }
87
- if (message.mode_id !== 0) {
88
- obj.mode_id = Math.round(message.mode_id);
89
- }
90
- if (message.client_attempt_ref !== "") {
91
- obj.client_attempt_ref = message.client_attempt_ref;
92
- }
93
- if (message.bank_code !== "") {
94
- obj.bank_code = message.bank_code;
95
- }
96
- return obj;
97
- },
98
- create(base) {
99
- return exports.InitiateAttemptRequestV2.fromPartial(base ?? {});
100
- },
101
- fromPartial(object) {
102
- const message = createBaseInitiateAttemptRequestV2();
103
- message.checkout_token = object.checkout_token ?? "";
104
- message.mode_id = object.mode_id ?? 0;
105
- message.client_attempt_ref = object.client_attempt_ref ?? "";
106
- message.bank_code = object.bank_code ?? "";
107
- return message;
108
- },
109
- };
110
- function createBaseInitiateAttemptResponseV2() {
111
- return {
112
- transaction_id: "",
113
- attempt_id: "",
114
- attempt_no: 0,
115
- mode_code: "",
116
- base_amount: 0,
117
- ccf_minor: 0,
118
- gst_minor: 0,
119
- final_amount: 0,
120
- vendor_code: "",
121
- merchant_name: "",
122
- pg_txn_id: "",
123
- redirect_url: "",
124
- intent_string: "",
125
- state: "",
126
- };
127
- }
128
- exports.InitiateAttemptResponseV2 = {
129
- encode(message, writer = minimal_1.default.Writer.create()) {
130
- if (message.transaction_id !== "") {
131
- writer.uint32(10).string(message.transaction_id);
132
- }
133
- if (message.attempt_id !== "") {
134
- writer.uint32(18).string(message.attempt_id);
135
- }
136
- if (message.attempt_no !== 0) {
137
- writer.uint32(24).int32(message.attempt_no);
138
- }
139
- if (message.mode_code !== "") {
140
- writer.uint32(34).string(message.mode_code);
141
- }
142
- if (message.base_amount !== 0) {
143
- writer.uint32(40).int64(message.base_amount);
144
- }
145
- if (message.ccf_minor !== 0) {
146
- writer.uint32(48).int64(message.ccf_minor);
147
- }
148
- if (message.gst_minor !== 0) {
149
- writer.uint32(56).int64(message.gst_minor);
150
- }
151
- if (message.final_amount !== 0) {
152
- writer.uint32(64).int64(message.final_amount);
153
- }
154
- if (message.vendor_code !== "") {
155
- writer.uint32(74).string(message.vendor_code);
156
- }
157
- if (message.merchant_name !== "") {
158
- writer.uint32(82).string(message.merchant_name);
159
- }
160
- if (message.pg_txn_id !== "") {
161
- writer.uint32(90).string(message.pg_txn_id);
162
- }
163
- if (message.redirect_url !== "") {
164
- writer.uint32(98).string(message.redirect_url);
165
- }
166
- if (message.intent_string !== "") {
167
- writer.uint32(106).string(message.intent_string);
168
- }
169
- if (message.state !== "") {
170
- writer.uint32(114).string(message.state);
171
- }
172
- return writer;
173
- },
174
- decode(input, length) {
175
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
176
- let end = length === undefined ? reader.len : reader.pos + length;
177
- const message = createBaseInitiateAttemptResponseV2();
178
- while (reader.pos < end) {
179
- const tag = reader.uint32();
180
- switch (tag >>> 3) {
181
- case 1:
182
- if (tag !== 10) {
183
- break;
184
- }
185
- message.transaction_id = reader.string();
186
- continue;
187
- case 2:
188
- if (tag !== 18) {
189
- break;
190
- }
191
- message.attempt_id = reader.string();
192
- continue;
193
- case 3:
194
- if (tag !== 24) {
195
- break;
196
- }
197
- message.attempt_no = reader.int32();
198
- continue;
199
- case 4:
200
- if (tag !== 34) {
201
- break;
202
- }
203
- message.mode_code = reader.string();
204
- continue;
205
- case 5:
206
- if (tag !== 40) {
207
- break;
208
- }
209
- message.base_amount = longToNumber(reader.int64());
210
- continue;
211
- case 6:
212
- if (tag !== 48) {
213
- break;
214
- }
215
- message.ccf_minor = longToNumber(reader.int64());
216
- continue;
217
- case 7:
218
- if (tag !== 56) {
219
- break;
220
- }
221
- message.gst_minor = longToNumber(reader.int64());
222
- continue;
223
- case 8:
224
- if (tag !== 64) {
225
- break;
226
- }
227
- message.final_amount = longToNumber(reader.int64());
228
- continue;
229
- case 9:
230
- if (tag !== 74) {
231
- break;
232
- }
233
- message.vendor_code = reader.string();
234
- continue;
235
- case 10:
236
- if (tag !== 82) {
237
- break;
238
- }
239
- message.merchant_name = reader.string();
240
- continue;
241
- case 11:
242
- if (tag !== 90) {
243
- break;
244
- }
245
- message.pg_txn_id = reader.string();
246
- continue;
247
- case 12:
248
- if (tag !== 98) {
249
- break;
250
- }
251
- message.redirect_url = reader.string();
252
- continue;
253
- case 13:
254
- if (tag !== 106) {
255
- break;
256
- }
257
- message.intent_string = reader.string();
258
- continue;
259
- case 14:
260
- if (tag !== 114) {
261
- break;
262
- }
263
- message.state = reader.string();
264
- continue;
265
- }
266
- if ((tag & 7) === 4 || tag === 0) {
267
- break;
268
- }
269
- reader.skipType(tag & 7);
270
- }
271
- return message;
272
- },
273
- fromJSON(object) {
274
- return {
275
- transaction_id: isSet(object.transaction_id) ? globalThis.String(object.transaction_id) : "",
276
- attempt_id: isSet(object.attempt_id) ? globalThis.String(object.attempt_id) : "",
277
- attempt_no: isSet(object.attempt_no) ? globalThis.Number(object.attempt_no) : 0,
278
- mode_code: isSet(object.mode_code) ? globalThis.String(object.mode_code) : "",
279
- base_amount: isSet(object.base_amount) ? globalThis.Number(object.base_amount) : 0,
280
- ccf_minor: isSet(object.ccf_minor) ? globalThis.Number(object.ccf_minor) : 0,
281
- gst_minor: isSet(object.gst_minor) ? globalThis.Number(object.gst_minor) : 0,
282
- final_amount: isSet(object.final_amount) ? globalThis.Number(object.final_amount) : 0,
283
- vendor_code: isSet(object.vendor_code) ? globalThis.String(object.vendor_code) : "",
284
- merchant_name: isSet(object.merchant_name) ? globalThis.String(object.merchant_name) : "",
285
- pg_txn_id: isSet(object.pg_txn_id) ? globalThis.String(object.pg_txn_id) : "",
286
- redirect_url: isSet(object.redirect_url) ? globalThis.String(object.redirect_url) : "",
287
- intent_string: isSet(object.intent_string) ? globalThis.String(object.intent_string) : "",
288
- state: isSet(object.state) ? globalThis.String(object.state) : "",
289
- };
290
- },
291
- toJSON(message) {
292
- const obj = {};
293
- if (message.transaction_id !== "") {
294
- obj.transaction_id = message.transaction_id;
295
- }
296
- if (message.attempt_id !== "") {
297
- obj.attempt_id = message.attempt_id;
298
- }
299
- if (message.attempt_no !== 0) {
300
- obj.attempt_no = Math.round(message.attempt_no);
301
- }
302
- if (message.mode_code !== "") {
303
- obj.mode_code = message.mode_code;
304
- }
305
- if (message.base_amount !== 0) {
306
- obj.base_amount = Math.round(message.base_amount);
307
- }
308
- if (message.ccf_minor !== 0) {
309
- obj.ccf_minor = Math.round(message.ccf_minor);
310
- }
311
- if (message.gst_minor !== 0) {
312
- obj.gst_minor = Math.round(message.gst_minor);
313
- }
314
- if (message.final_amount !== 0) {
315
- obj.final_amount = Math.round(message.final_amount);
316
- }
317
- if (message.vendor_code !== "") {
318
- obj.vendor_code = message.vendor_code;
319
- }
320
- if (message.merchant_name !== "") {
321
- obj.merchant_name = message.merchant_name;
322
- }
323
- if (message.pg_txn_id !== "") {
324
- obj.pg_txn_id = message.pg_txn_id;
325
- }
326
- if (message.redirect_url !== "") {
327
- obj.redirect_url = message.redirect_url;
328
- }
329
- if (message.intent_string !== "") {
330
- obj.intent_string = message.intent_string;
331
- }
332
- if (message.state !== "") {
333
- obj.state = message.state;
334
- }
335
- return obj;
336
- },
337
- create(base) {
338
- return exports.InitiateAttemptResponseV2.fromPartial(base ?? {});
339
- },
340
- fromPartial(object) {
341
- const message = createBaseInitiateAttemptResponseV2();
342
- message.transaction_id = object.transaction_id ?? "";
343
- message.attempt_id = object.attempt_id ?? "";
344
- message.attempt_no = object.attempt_no ?? 0;
345
- message.mode_code = object.mode_code ?? "";
346
- message.base_amount = object.base_amount ?? 0;
347
- message.ccf_minor = object.ccf_minor ?? 0;
348
- message.gst_minor = object.gst_minor ?? 0;
349
- message.final_amount = object.final_amount ?? 0;
350
- message.vendor_code = object.vendor_code ?? "";
351
- message.merchant_name = object.merchant_name ?? "";
352
- message.pg_txn_id = object.pg_txn_id ?? "";
353
- message.redirect_url = object.redirect_url ?? "";
354
- message.intent_string = object.intent_string ?? "";
355
- message.state = object.state ?? "";
356
- return message;
357
- },
358
- };
359
- function longToNumber(long) {
360
- if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
361
- throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
362
- }
363
- if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
364
- throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
365
- }
366
- return long.toNumber();
367
- }
368
- if (minimal_1.default.util.Long !== long_1.default) {
369
- minimal_1.default.util.Long = long_1.default;
370
- minimal_1.default.configure();
371
- }
372
- function isSet(value) {
373
- return value !== null && value !== undefined;
374
- }