@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,1175 +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: bbps/processwebhookv2.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.BDTransactionResponse = exports.AuthSessionResponse = exports.TxnResponse = exports.BDTransactionRequest_MetadataEntry = exports.BDTransactionRequest_CustomerCtxEntry = exports.BDTransactionRequest = exports.PaymentDetails_AdditionalInfoEntry = exports.PaymentDetails = 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 = "bbps.processwebhookv2";
16
- function createBasePaymentDetails() {
17
- return {
18
- method: "",
19
- pg_txn_id: "",
20
- bank_ref_no: undefined,
21
- settled_at: undefined,
22
- remitter_name: undefined,
23
- upi_vpa: undefined,
24
- upi_masked_vpa: undefined,
25
- txn_process_type: undefined,
26
- bank_id: undefined,
27
- payment_category: undefined,
28
- item_code: undefined,
29
- additional_info: {},
30
- };
31
- }
32
- exports.PaymentDetails = {
33
- encode(message, writer = minimal_1.default.Writer.create()) {
34
- if (message.method !== "") {
35
- writer.uint32(10).string(message.method);
36
- }
37
- if (message.pg_txn_id !== "") {
38
- writer.uint32(18).string(message.pg_txn_id);
39
- }
40
- if (message.bank_ref_no !== undefined) {
41
- writer.uint32(26).string(message.bank_ref_no);
42
- }
43
- if (message.settled_at !== undefined) {
44
- writer.uint32(34).string(message.settled_at);
45
- }
46
- if (message.remitter_name !== undefined) {
47
- writer.uint32(42).string(message.remitter_name);
48
- }
49
- if (message.upi_vpa !== undefined) {
50
- writer.uint32(50).string(message.upi_vpa);
51
- }
52
- if (message.upi_masked_vpa !== undefined) {
53
- writer.uint32(58).string(message.upi_masked_vpa);
54
- }
55
- if (message.txn_process_type !== undefined) {
56
- writer.uint32(66).string(message.txn_process_type);
57
- }
58
- if (message.bank_id !== undefined) {
59
- writer.uint32(74).string(message.bank_id);
60
- }
61
- if (message.payment_category !== undefined) {
62
- writer.uint32(82).string(message.payment_category);
63
- }
64
- if (message.item_code !== undefined) {
65
- writer.uint32(90).string(message.item_code);
66
- }
67
- Object.entries(message.additional_info).forEach(([key, value]) => {
68
- exports.PaymentDetails_AdditionalInfoEntry.encode({ key: key, value }, writer.uint32(98).fork()).ldelim();
69
- });
70
- return writer;
71
- },
72
- decode(input, length) {
73
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
74
- let end = length === undefined ? reader.len : reader.pos + length;
75
- const message = createBasePaymentDetails();
76
- while (reader.pos < end) {
77
- const tag = reader.uint32();
78
- switch (tag >>> 3) {
79
- case 1:
80
- if (tag !== 10) {
81
- break;
82
- }
83
- message.method = reader.string();
84
- continue;
85
- case 2:
86
- if (tag !== 18) {
87
- break;
88
- }
89
- message.pg_txn_id = reader.string();
90
- continue;
91
- case 3:
92
- if (tag !== 26) {
93
- break;
94
- }
95
- message.bank_ref_no = reader.string();
96
- continue;
97
- case 4:
98
- if (tag !== 34) {
99
- break;
100
- }
101
- message.settled_at = reader.string();
102
- continue;
103
- case 5:
104
- if (tag !== 42) {
105
- break;
106
- }
107
- message.remitter_name = reader.string();
108
- continue;
109
- case 6:
110
- if (tag !== 50) {
111
- break;
112
- }
113
- message.upi_vpa = reader.string();
114
- continue;
115
- case 7:
116
- if (tag !== 58) {
117
- break;
118
- }
119
- message.upi_masked_vpa = reader.string();
120
- continue;
121
- case 8:
122
- if (tag !== 66) {
123
- break;
124
- }
125
- message.txn_process_type = reader.string();
126
- continue;
127
- case 9:
128
- if (tag !== 74) {
129
- break;
130
- }
131
- message.bank_id = reader.string();
132
- continue;
133
- case 10:
134
- if (tag !== 82) {
135
- break;
136
- }
137
- message.payment_category = reader.string();
138
- continue;
139
- case 11:
140
- if (tag !== 90) {
141
- break;
142
- }
143
- message.item_code = reader.string();
144
- continue;
145
- case 12:
146
- if (tag !== 98) {
147
- break;
148
- }
149
- const entry12 = exports.PaymentDetails_AdditionalInfoEntry.decode(reader, reader.uint32());
150
- if (entry12.value !== undefined) {
151
- message.additional_info[entry12.key] = entry12.value;
152
- }
153
- continue;
154
- }
155
- if ((tag & 7) === 4 || tag === 0) {
156
- break;
157
- }
158
- reader.skipType(tag & 7);
159
- }
160
- return message;
161
- },
162
- fromJSON(object) {
163
- return {
164
- method: isSet(object.method) ? globalThis.String(object.method) : "",
165
- pg_txn_id: isSet(object.pg_txn_id) ? globalThis.String(object.pg_txn_id) : "",
166
- bank_ref_no: isSet(object.bank_ref_no) ? globalThis.String(object.bank_ref_no) : undefined,
167
- settled_at: isSet(object.settled_at) ? globalThis.String(object.settled_at) : undefined,
168
- remitter_name: isSet(object.remitter_name) ? globalThis.String(object.remitter_name) : undefined,
169
- upi_vpa: isSet(object.upi_vpa) ? globalThis.String(object.upi_vpa) : undefined,
170
- upi_masked_vpa: isSet(object.upi_masked_vpa) ? globalThis.String(object.upi_masked_vpa) : undefined,
171
- txn_process_type: isSet(object.txn_process_type) ? globalThis.String(object.txn_process_type) : undefined,
172
- bank_id: isSet(object.bank_id) ? globalThis.String(object.bank_id) : undefined,
173
- payment_category: isSet(object.payment_category) ? globalThis.String(object.payment_category) : undefined,
174
- item_code: isSet(object.item_code) ? globalThis.String(object.item_code) : undefined,
175
- additional_info: isObject(object.additional_info)
176
- ? Object.entries(object.additional_info).reduce((acc, [key, value]) => {
177
- acc[key] = String(value);
178
- return acc;
179
- }, {})
180
- : {},
181
- };
182
- },
183
- toJSON(message) {
184
- const obj = {};
185
- if (message.method !== "") {
186
- obj.method = message.method;
187
- }
188
- if (message.pg_txn_id !== "") {
189
- obj.pg_txn_id = message.pg_txn_id;
190
- }
191
- if (message.bank_ref_no !== undefined) {
192
- obj.bank_ref_no = message.bank_ref_no;
193
- }
194
- if (message.settled_at !== undefined) {
195
- obj.settled_at = message.settled_at;
196
- }
197
- if (message.remitter_name !== undefined) {
198
- obj.remitter_name = message.remitter_name;
199
- }
200
- if (message.upi_vpa !== undefined) {
201
- obj.upi_vpa = message.upi_vpa;
202
- }
203
- if (message.upi_masked_vpa !== undefined) {
204
- obj.upi_masked_vpa = message.upi_masked_vpa;
205
- }
206
- if (message.txn_process_type !== undefined) {
207
- obj.txn_process_type = message.txn_process_type;
208
- }
209
- if (message.bank_id !== undefined) {
210
- obj.bank_id = message.bank_id;
211
- }
212
- if (message.payment_category !== undefined) {
213
- obj.payment_category = message.payment_category;
214
- }
215
- if (message.item_code !== undefined) {
216
- obj.item_code = message.item_code;
217
- }
218
- if (message.additional_info) {
219
- const entries = Object.entries(message.additional_info);
220
- if (entries.length > 0) {
221
- obj.additional_info = {};
222
- entries.forEach(([k, v]) => {
223
- obj.additional_info[k] = v;
224
- });
225
- }
226
- }
227
- return obj;
228
- },
229
- create(base) {
230
- return exports.PaymentDetails.fromPartial(base ?? {});
231
- },
232
- fromPartial(object) {
233
- const message = createBasePaymentDetails();
234
- message.method = object.method ?? "";
235
- message.pg_txn_id = object.pg_txn_id ?? "";
236
- message.bank_ref_no = object.bank_ref_no ?? undefined;
237
- message.settled_at = object.settled_at ?? undefined;
238
- message.remitter_name = object.remitter_name ?? undefined;
239
- message.upi_vpa = object.upi_vpa ?? undefined;
240
- message.upi_masked_vpa = object.upi_masked_vpa ?? undefined;
241
- message.txn_process_type = object.txn_process_type ?? undefined;
242
- message.bank_id = object.bank_id ?? undefined;
243
- message.payment_category = object.payment_category ?? undefined;
244
- message.item_code = object.item_code ?? undefined;
245
- message.additional_info = Object.entries(object.additional_info ?? {}).reduce((acc, [key, value]) => {
246
- if (value !== undefined) {
247
- acc[key] = globalThis.String(value);
248
- }
249
- return acc;
250
- }, {});
251
- return message;
252
- },
253
- };
254
- function createBasePaymentDetails_AdditionalInfoEntry() {
255
- return { key: "", value: "" };
256
- }
257
- exports.PaymentDetails_AdditionalInfoEntry = {
258
- encode(message, writer = minimal_1.default.Writer.create()) {
259
- if (message.key !== "") {
260
- writer.uint32(10).string(message.key);
261
- }
262
- if (message.value !== "") {
263
- writer.uint32(18).string(message.value);
264
- }
265
- return writer;
266
- },
267
- decode(input, length) {
268
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
269
- let end = length === undefined ? reader.len : reader.pos + length;
270
- const message = createBasePaymentDetails_AdditionalInfoEntry();
271
- while (reader.pos < end) {
272
- const tag = reader.uint32();
273
- switch (tag >>> 3) {
274
- case 1:
275
- if (tag !== 10) {
276
- break;
277
- }
278
- message.key = reader.string();
279
- continue;
280
- case 2:
281
- if (tag !== 18) {
282
- break;
283
- }
284
- message.value = reader.string();
285
- continue;
286
- }
287
- if ((tag & 7) === 4 || tag === 0) {
288
- break;
289
- }
290
- reader.skipType(tag & 7);
291
- }
292
- return message;
293
- },
294
- fromJSON(object) {
295
- return {
296
- key: isSet(object.key) ? globalThis.String(object.key) : "",
297
- value: isSet(object.value) ? globalThis.String(object.value) : "",
298
- };
299
- },
300
- toJSON(message) {
301
- const obj = {};
302
- if (message.key !== "") {
303
- obj.key = message.key;
304
- }
305
- if (message.value !== "") {
306
- obj.value = message.value;
307
- }
308
- return obj;
309
- },
310
- create(base) {
311
- return exports.PaymentDetails_AdditionalInfoEntry.fromPartial(base ?? {});
312
- },
313
- fromPartial(object) {
314
- const message = createBasePaymentDetails_AdditionalInfoEntry();
315
- message.key = object.key ?? "";
316
- message.value = object.value ?? "";
317
- return message;
318
- },
319
- };
320
- function createBaseBDTransactionRequest() {
321
- return {
322
- event_type: "",
323
- transaction_id: 0,
324
- subscriber_id: "",
325
- order_ref: "",
326
- amount_minor: 0,
327
- charged_total_minor: 0,
328
- currency: "",
329
- status: "",
330
- final: false,
331
- transaction_date: "",
332
- payment_details: undefined,
333
- customer_ctx: {},
334
- metadata: {},
335
- timestamp: "",
336
- signature: "",
337
- };
338
- }
339
- exports.BDTransactionRequest = {
340
- encode(message, writer = minimal_1.default.Writer.create()) {
341
- if (message.event_type !== "") {
342
- writer.uint32(10).string(message.event_type);
343
- }
344
- if (message.transaction_id !== 0) {
345
- writer.uint32(16).int32(message.transaction_id);
346
- }
347
- if (message.subscriber_id !== "") {
348
- writer.uint32(26).string(message.subscriber_id);
349
- }
350
- if (message.order_ref !== "") {
351
- writer.uint32(34).string(message.order_ref);
352
- }
353
- if (message.amount_minor !== 0) {
354
- writer.uint32(40).int64(message.amount_minor);
355
- }
356
- if (message.charged_total_minor !== 0) {
357
- writer.uint32(48).int64(message.charged_total_minor);
358
- }
359
- if (message.currency !== "") {
360
- writer.uint32(58).string(message.currency);
361
- }
362
- if (message.status !== "") {
363
- writer.uint32(66).string(message.status);
364
- }
365
- if (message.final !== false) {
366
- writer.uint32(72).bool(message.final);
367
- }
368
- if (message.transaction_date !== "") {
369
- writer.uint32(82).string(message.transaction_date);
370
- }
371
- if (message.payment_details !== undefined) {
372
- exports.PaymentDetails.encode(message.payment_details, writer.uint32(90).fork()).ldelim();
373
- }
374
- Object.entries(message.customer_ctx).forEach(([key, value]) => {
375
- exports.BDTransactionRequest_CustomerCtxEntry.encode({ key: key, value }, writer.uint32(98).fork()).ldelim();
376
- });
377
- Object.entries(message.metadata).forEach(([key, value]) => {
378
- exports.BDTransactionRequest_MetadataEntry.encode({ key: key, value }, writer.uint32(106).fork()).ldelim();
379
- });
380
- if (message.timestamp !== "") {
381
- writer.uint32(114).string(message.timestamp);
382
- }
383
- if (message.signature !== "") {
384
- writer.uint32(122).string(message.signature);
385
- }
386
- return writer;
387
- },
388
- decode(input, length) {
389
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
390
- let end = length === undefined ? reader.len : reader.pos + length;
391
- const message = createBaseBDTransactionRequest();
392
- while (reader.pos < end) {
393
- const tag = reader.uint32();
394
- switch (tag >>> 3) {
395
- case 1:
396
- if (tag !== 10) {
397
- break;
398
- }
399
- message.event_type = reader.string();
400
- continue;
401
- case 2:
402
- if (tag !== 16) {
403
- break;
404
- }
405
- message.transaction_id = reader.int32();
406
- continue;
407
- case 3:
408
- if (tag !== 26) {
409
- break;
410
- }
411
- message.subscriber_id = reader.string();
412
- continue;
413
- case 4:
414
- if (tag !== 34) {
415
- break;
416
- }
417
- message.order_ref = reader.string();
418
- continue;
419
- case 5:
420
- if (tag !== 40) {
421
- break;
422
- }
423
- message.amount_minor = longToNumber(reader.int64());
424
- continue;
425
- case 6:
426
- if (tag !== 48) {
427
- break;
428
- }
429
- message.charged_total_minor = longToNumber(reader.int64());
430
- continue;
431
- case 7:
432
- if (tag !== 58) {
433
- break;
434
- }
435
- message.currency = reader.string();
436
- continue;
437
- case 8:
438
- if (tag !== 66) {
439
- break;
440
- }
441
- message.status = reader.string();
442
- continue;
443
- case 9:
444
- if (tag !== 72) {
445
- break;
446
- }
447
- message.final = reader.bool();
448
- continue;
449
- case 10:
450
- if (tag !== 82) {
451
- break;
452
- }
453
- message.transaction_date = reader.string();
454
- continue;
455
- case 11:
456
- if (tag !== 90) {
457
- break;
458
- }
459
- message.payment_details = exports.PaymentDetails.decode(reader, reader.uint32());
460
- continue;
461
- case 12:
462
- if (tag !== 98) {
463
- break;
464
- }
465
- const entry12 = exports.BDTransactionRequest_CustomerCtxEntry.decode(reader, reader.uint32());
466
- if (entry12.value !== undefined) {
467
- message.customer_ctx[entry12.key] = entry12.value;
468
- }
469
- continue;
470
- case 13:
471
- if (tag !== 106) {
472
- break;
473
- }
474
- const entry13 = exports.BDTransactionRequest_MetadataEntry.decode(reader, reader.uint32());
475
- if (entry13.value !== undefined) {
476
- message.metadata[entry13.key] = entry13.value;
477
- }
478
- continue;
479
- case 14:
480
- if (tag !== 114) {
481
- break;
482
- }
483
- message.timestamp = reader.string();
484
- continue;
485
- case 15:
486
- if (tag !== 122) {
487
- break;
488
- }
489
- message.signature = reader.string();
490
- continue;
491
- }
492
- if ((tag & 7) === 4 || tag === 0) {
493
- break;
494
- }
495
- reader.skipType(tag & 7);
496
- }
497
- return message;
498
- },
499
- fromJSON(object) {
500
- return {
501
- event_type: isSet(object.event_type) ? globalThis.String(object.event_type) : "",
502
- transaction_id: isSet(object.transaction_id) ? globalThis.Number(object.transaction_id) : 0,
503
- subscriber_id: isSet(object.subscriber_id) ? globalThis.String(object.subscriber_id) : "",
504
- order_ref: isSet(object.order_ref) ? globalThis.String(object.order_ref) : "",
505
- amount_minor: isSet(object.amount_minor) ? globalThis.Number(object.amount_minor) : 0,
506
- charged_total_minor: isSet(object.charged_total_minor) ? globalThis.Number(object.charged_total_minor) : 0,
507
- currency: isSet(object.currency) ? globalThis.String(object.currency) : "",
508
- status: isSet(object.status) ? globalThis.String(object.status) : "",
509
- final: isSet(object.final) ? globalThis.Boolean(object.final) : false,
510
- transaction_date: isSet(object.transaction_date) ? globalThis.String(object.transaction_date) : "",
511
- payment_details: isSet(object.payment_details) ? exports.PaymentDetails.fromJSON(object.payment_details) : undefined,
512
- customer_ctx: isObject(object.customer_ctx)
513
- ? Object.entries(object.customer_ctx).reduce((acc, [key, value]) => {
514
- acc[key] = String(value);
515
- return acc;
516
- }, {})
517
- : {},
518
- metadata: isObject(object.metadata)
519
- ? Object.entries(object.metadata).reduce((acc, [key, value]) => {
520
- acc[key] = String(value);
521
- return acc;
522
- }, {})
523
- : {},
524
- timestamp: isSet(object.timestamp) ? globalThis.String(object.timestamp) : "",
525
- signature: isSet(object.signature) ? globalThis.String(object.signature) : "",
526
- };
527
- },
528
- toJSON(message) {
529
- const obj = {};
530
- if (message.event_type !== "") {
531
- obj.event_type = message.event_type;
532
- }
533
- if (message.transaction_id !== 0) {
534
- obj.transaction_id = Math.round(message.transaction_id);
535
- }
536
- if (message.subscriber_id !== "") {
537
- obj.subscriber_id = message.subscriber_id;
538
- }
539
- if (message.order_ref !== "") {
540
- obj.order_ref = message.order_ref;
541
- }
542
- if (message.amount_minor !== 0) {
543
- obj.amount_minor = Math.round(message.amount_minor);
544
- }
545
- if (message.charged_total_minor !== 0) {
546
- obj.charged_total_minor = Math.round(message.charged_total_minor);
547
- }
548
- if (message.currency !== "") {
549
- obj.currency = message.currency;
550
- }
551
- if (message.status !== "") {
552
- obj.status = message.status;
553
- }
554
- if (message.final !== false) {
555
- obj.final = message.final;
556
- }
557
- if (message.transaction_date !== "") {
558
- obj.transaction_date = message.transaction_date;
559
- }
560
- if (message.payment_details !== undefined) {
561
- obj.payment_details = exports.PaymentDetails.toJSON(message.payment_details);
562
- }
563
- if (message.customer_ctx) {
564
- const entries = Object.entries(message.customer_ctx);
565
- if (entries.length > 0) {
566
- obj.customer_ctx = {};
567
- entries.forEach(([k, v]) => {
568
- obj.customer_ctx[k] = v;
569
- });
570
- }
571
- }
572
- if (message.metadata) {
573
- const entries = Object.entries(message.metadata);
574
- if (entries.length > 0) {
575
- obj.metadata = {};
576
- entries.forEach(([k, v]) => {
577
- obj.metadata[k] = v;
578
- });
579
- }
580
- }
581
- if (message.timestamp !== "") {
582
- obj.timestamp = message.timestamp;
583
- }
584
- if (message.signature !== "") {
585
- obj.signature = message.signature;
586
- }
587
- return obj;
588
- },
589
- create(base) {
590
- return exports.BDTransactionRequest.fromPartial(base ?? {});
591
- },
592
- fromPartial(object) {
593
- const message = createBaseBDTransactionRequest();
594
- message.event_type = object.event_type ?? "";
595
- message.transaction_id = object.transaction_id ?? 0;
596
- message.subscriber_id = object.subscriber_id ?? "";
597
- message.order_ref = object.order_ref ?? "";
598
- message.amount_minor = object.amount_minor ?? 0;
599
- message.charged_total_minor = object.charged_total_minor ?? 0;
600
- message.currency = object.currency ?? "";
601
- message.status = object.status ?? "";
602
- message.final = object.final ?? false;
603
- message.transaction_date = object.transaction_date ?? "";
604
- message.payment_details = (object.payment_details !== undefined && object.payment_details !== null)
605
- ? exports.PaymentDetails.fromPartial(object.payment_details)
606
- : undefined;
607
- message.customer_ctx = Object.entries(object.customer_ctx ?? {}).reduce((acc, [key, value]) => {
608
- if (value !== undefined) {
609
- acc[key] = globalThis.String(value);
610
- }
611
- return acc;
612
- }, {});
613
- message.metadata = Object.entries(object.metadata ?? {}).reduce((acc, [key, value]) => {
614
- if (value !== undefined) {
615
- acc[key] = globalThis.String(value);
616
- }
617
- return acc;
618
- }, {});
619
- message.timestamp = object.timestamp ?? "";
620
- message.signature = object.signature ?? "";
621
- return message;
622
- },
623
- };
624
- function createBaseBDTransactionRequest_CustomerCtxEntry() {
625
- return { key: "", value: "" };
626
- }
627
- exports.BDTransactionRequest_CustomerCtxEntry = {
628
- encode(message, writer = minimal_1.default.Writer.create()) {
629
- if (message.key !== "") {
630
- writer.uint32(10).string(message.key);
631
- }
632
- if (message.value !== "") {
633
- writer.uint32(18).string(message.value);
634
- }
635
- return writer;
636
- },
637
- decode(input, length) {
638
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
639
- let end = length === undefined ? reader.len : reader.pos + length;
640
- const message = createBaseBDTransactionRequest_CustomerCtxEntry();
641
- while (reader.pos < end) {
642
- const tag = reader.uint32();
643
- switch (tag >>> 3) {
644
- case 1:
645
- if (tag !== 10) {
646
- break;
647
- }
648
- message.key = reader.string();
649
- continue;
650
- case 2:
651
- if (tag !== 18) {
652
- break;
653
- }
654
- message.value = reader.string();
655
- continue;
656
- }
657
- if ((tag & 7) === 4 || tag === 0) {
658
- break;
659
- }
660
- reader.skipType(tag & 7);
661
- }
662
- return message;
663
- },
664
- fromJSON(object) {
665
- return {
666
- key: isSet(object.key) ? globalThis.String(object.key) : "",
667
- value: isSet(object.value) ? globalThis.String(object.value) : "",
668
- };
669
- },
670
- toJSON(message) {
671
- const obj = {};
672
- if (message.key !== "") {
673
- obj.key = message.key;
674
- }
675
- if (message.value !== "") {
676
- obj.value = message.value;
677
- }
678
- return obj;
679
- },
680
- create(base) {
681
- return exports.BDTransactionRequest_CustomerCtxEntry.fromPartial(base ?? {});
682
- },
683
- fromPartial(object) {
684
- const message = createBaseBDTransactionRequest_CustomerCtxEntry();
685
- message.key = object.key ?? "";
686
- message.value = object.value ?? "";
687
- return message;
688
- },
689
- };
690
- function createBaseBDTransactionRequest_MetadataEntry() {
691
- return { key: "", value: "" };
692
- }
693
- exports.BDTransactionRequest_MetadataEntry = {
694
- encode(message, writer = minimal_1.default.Writer.create()) {
695
- if (message.key !== "") {
696
- writer.uint32(10).string(message.key);
697
- }
698
- if (message.value !== "") {
699
- writer.uint32(18).string(message.value);
700
- }
701
- return writer;
702
- },
703
- decode(input, length) {
704
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
705
- let end = length === undefined ? reader.len : reader.pos + length;
706
- const message = createBaseBDTransactionRequest_MetadataEntry();
707
- while (reader.pos < end) {
708
- const tag = reader.uint32();
709
- switch (tag >>> 3) {
710
- case 1:
711
- if (tag !== 10) {
712
- break;
713
- }
714
- message.key = reader.string();
715
- continue;
716
- case 2:
717
- if (tag !== 18) {
718
- break;
719
- }
720
- message.value = reader.string();
721
- continue;
722
- }
723
- if ((tag & 7) === 4 || tag === 0) {
724
- break;
725
- }
726
- reader.skipType(tag & 7);
727
- }
728
- return message;
729
- },
730
- fromJSON(object) {
731
- return {
732
- key: isSet(object.key) ? globalThis.String(object.key) : "",
733
- value: isSet(object.value) ? globalThis.String(object.value) : "",
734
- };
735
- },
736
- toJSON(message) {
737
- const obj = {};
738
- if (message.key !== "") {
739
- obj.key = message.key;
740
- }
741
- if (message.value !== "") {
742
- obj.value = message.value;
743
- }
744
- return obj;
745
- },
746
- create(base) {
747
- return exports.BDTransactionRequest_MetadataEntry.fromPartial(base ?? {});
748
- },
749
- fromPartial(object) {
750
- const message = createBaseBDTransactionRequest_MetadataEntry();
751
- message.key = object.key ?? "";
752
- message.value = object.value ?? "";
753
- return message;
754
- },
755
- };
756
- function createBaseTxnResponse() {
757
- return {
758
- id: 0,
759
- customer_id: 0,
760
- utility_name: "",
761
- provider_name: "",
762
- provider_logo: undefined,
763
- account_no: undefined,
764
- final_amount: 0,
765
- status: "",
766
- txn_id: "",
767
- order_id: "",
768
- bbps_ref_no: undefined,
769
- source_ref_no: undefined,
770
- paid_at: "",
771
- biller_status: undefined,
772
- };
773
- }
774
- exports.TxnResponse = {
775
- encode(message, writer = minimal_1.default.Writer.create()) {
776
- if (message.id !== 0) {
777
- writer.uint32(8).int32(message.id);
778
- }
779
- if (message.customer_id !== 0) {
780
- writer.uint32(16).int32(message.customer_id);
781
- }
782
- if (message.utility_name !== "") {
783
- writer.uint32(26).string(message.utility_name);
784
- }
785
- if (message.provider_name !== "") {
786
- writer.uint32(34).string(message.provider_name);
787
- }
788
- if (message.provider_logo !== undefined) {
789
- writer.uint32(42).string(message.provider_logo);
790
- }
791
- if (message.account_no !== undefined) {
792
- writer.uint32(50).string(message.account_no);
793
- }
794
- if (message.final_amount !== 0) {
795
- writer.uint32(57).double(message.final_amount);
796
- }
797
- if (message.status !== "") {
798
- writer.uint32(66).string(message.status);
799
- }
800
- if (message.txn_id !== "") {
801
- writer.uint32(74).string(message.txn_id);
802
- }
803
- if (message.order_id !== "") {
804
- writer.uint32(82).string(message.order_id);
805
- }
806
- if (message.bbps_ref_no !== undefined) {
807
- writer.uint32(90).string(message.bbps_ref_no);
808
- }
809
- if (message.source_ref_no !== undefined) {
810
- writer.uint32(98).string(message.source_ref_no);
811
- }
812
- if (message.paid_at !== "") {
813
- writer.uint32(106).string(message.paid_at);
814
- }
815
- if (message.biller_status !== undefined) {
816
- writer.uint32(114).string(message.biller_status);
817
- }
818
- return writer;
819
- },
820
- decode(input, length) {
821
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
822
- let end = length === undefined ? reader.len : reader.pos + length;
823
- const message = createBaseTxnResponse();
824
- while (reader.pos < end) {
825
- const tag = reader.uint32();
826
- switch (tag >>> 3) {
827
- case 1:
828
- if (tag !== 8) {
829
- break;
830
- }
831
- message.id = reader.int32();
832
- continue;
833
- case 2:
834
- if (tag !== 16) {
835
- break;
836
- }
837
- message.customer_id = reader.int32();
838
- continue;
839
- case 3:
840
- if (tag !== 26) {
841
- break;
842
- }
843
- message.utility_name = reader.string();
844
- continue;
845
- case 4:
846
- if (tag !== 34) {
847
- break;
848
- }
849
- message.provider_name = reader.string();
850
- continue;
851
- case 5:
852
- if (tag !== 42) {
853
- break;
854
- }
855
- message.provider_logo = reader.string();
856
- continue;
857
- case 6:
858
- if (tag !== 50) {
859
- break;
860
- }
861
- message.account_no = reader.string();
862
- continue;
863
- case 7:
864
- if (tag !== 57) {
865
- break;
866
- }
867
- message.final_amount = reader.double();
868
- continue;
869
- case 8:
870
- if (tag !== 66) {
871
- break;
872
- }
873
- message.status = reader.string();
874
- continue;
875
- case 9:
876
- if (tag !== 74) {
877
- break;
878
- }
879
- message.txn_id = reader.string();
880
- continue;
881
- case 10:
882
- if (tag !== 82) {
883
- break;
884
- }
885
- message.order_id = reader.string();
886
- continue;
887
- case 11:
888
- if (tag !== 90) {
889
- break;
890
- }
891
- message.bbps_ref_no = reader.string();
892
- continue;
893
- case 12:
894
- if (tag !== 98) {
895
- break;
896
- }
897
- message.source_ref_no = reader.string();
898
- continue;
899
- case 13:
900
- if (tag !== 106) {
901
- break;
902
- }
903
- message.paid_at = reader.string();
904
- continue;
905
- case 14:
906
- if (tag !== 114) {
907
- break;
908
- }
909
- message.biller_status = reader.string();
910
- continue;
911
- }
912
- if ((tag & 7) === 4 || tag === 0) {
913
- break;
914
- }
915
- reader.skipType(tag & 7);
916
- }
917
- return message;
918
- },
919
- fromJSON(object) {
920
- return {
921
- id: isSet(object.id) ? globalThis.Number(object.id) : 0,
922
- customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
923
- utility_name: isSet(object.utility_name) ? globalThis.String(object.utility_name) : "",
924
- provider_name: isSet(object.provider_name) ? globalThis.String(object.provider_name) : "",
925
- provider_logo: isSet(object.provider_logo) ? globalThis.String(object.provider_logo) : undefined,
926
- account_no: isSet(object.account_no) ? globalThis.String(object.account_no) : undefined,
927
- final_amount: isSet(object.final_amount) ? globalThis.Number(object.final_amount) : 0,
928
- status: isSet(object.status) ? globalThis.String(object.status) : "",
929
- txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
930
- order_id: isSet(object.order_id) ? globalThis.String(object.order_id) : "",
931
- bbps_ref_no: isSet(object.bbps_ref_no) ? globalThis.String(object.bbps_ref_no) : undefined,
932
- source_ref_no: isSet(object.source_ref_no) ? globalThis.String(object.source_ref_no) : undefined,
933
- paid_at: isSet(object.paid_at) ? globalThis.String(object.paid_at) : "",
934
- biller_status: isSet(object.biller_status) ? globalThis.String(object.biller_status) : undefined,
935
- };
936
- },
937
- toJSON(message) {
938
- const obj = {};
939
- if (message.id !== 0) {
940
- obj.id = Math.round(message.id);
941
- }
942
- if (message.customer_id !== 0) {
943
- obj.customer_id = Math.round(message.customer_id);
944
- }
945
- if (message.utility_name !== "") {
946
- obj.utility_name = message.utility_name;
947
- }
948
- if (message.provider_name !== "") {
949
- obj.provider_name = message.provider_name;
950
- }
951
- if (message.provider_logo !== undefined) {
952
- obj.provider_logo = message.provider_logo;
953
- }
954
- if (message.account_no !== undefined) {
955
- obj.account_no = message.account_no;
956
- }
957
- if (message.final_amount !== 0) {
958
- obj.final_amount = message.final_amount;
959
- }
960
- if (message.status !== "") {
961
- obj.status = message.status;
962
- }
963
- if (message.txn_id !== "") {
964
- obj.txn_id = message.txn_id;
965
- }
966
- if (message.order_id !== "") {
967
- obj.order_id = message.order_id;
968
- }
969
- if (message.bbps_ref_no !== undefined) {
970
- obj.bbps_ref_no = message.bbps_ref_no;
971
- }
972
- if (message.source_ref_no !== undefined) {
973
- obj.source_ref_no = message.source_ref_no;
974
- }
975
- if (message.paid_at !== "") {
976
- obj.paid_at = message.paid_at;
977
- }
978
- if (message.biller_status !== undefined) {
979
- obj.biller_status = message.biller_status;
980
- }
981
- return obj;
982
- },
983
- create(base) {
984
- return exports.TxnResponse.fromPartial(base ?? {});
985
- },
986
- fromPartial(object) {
987
- const message = createBaseTxnResponse();
988
- message.id = object.id ?? 0;
989
- message.customer_id = object.customer_id ?? 0;
990
- message.utility_name = object.utility_name ?? "";
991
- message.provider_name = object.provider_name ?? "";
992
- message.provider_logo = object.provider_logo ?? undefined;
993
- message.account_no = object.account_no ?? undefined;
994
- message.final_amount = object.final_amount ?? 0;
995
- message.status = object.status ?? "";
996
- message.txn_id = object.txn_id ?? "";
997
- message.order_id = object.order_id ?? "";
998
- message.bbps_ref_no = object.bbps_ref_no ?? undefined;
999
- message.source_ref_no = object.source_ref_no ?? undefined;
1000
- message.paid_at = object.paid_at ?? "";
1001
- message.biller_status = object.biller_status ?? undefined;
1002
- return message;
1003
- },
1004
- };
1005
- function createBaseAuthSessionResponse() {
1006
- return { customer_id: 0, auth_token: undefined, device_id: undefined };
1007
- }
1008
- exports.AuthSessionResponse = {
1009
- encode(message, writer = minimal_1.default.Writer.create()) {
1010
- if (message.customer_id !== 0) {
1011
- writer.uint32(8).int32(message.customer_id);
1012
- }
1013
- if (message.auth_token !== undefined) {
1014
- writer.uint32(18).string(message.auth_token);
1015
- }
1016
- if (message.device_id !== undefined) {
1017
- writer.uint32(26).string(message.device_id);
1018
- }
1019
- return writer;
1020
- },
1021
- decode(input, length) {
1022
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
1023
- let end = length === undefined ? reader.len : reader.pos + length;
1024
- const message = createBaseAuthSessionResponse();
1025
- while (reader.pos < end) {
1026
- const tag = reader.uint32();
1027
- switch (tag >>> 3) {
1028
- case 1:
1029
- if (tag !== 8) {
1030
- break;
1031
- }
1032
- message.customer_id = reader.int32();
1033
- continue;
1034
- case 2:
1035
- if (tag !== 18) {
1036
- break;
1037
- }
1038
- message.auth_token = reader.string();
1039
- continue;
1040
- case 3:
1041
- if (tag !== 26) {
1042
- break;
1043
- }
1044
- message.device_id = reader.string();
1045
- continue;
1046
- }
1047
- if ((tag & 7) === 4 || tag === 0) {
1048
- break;
1049
- }
1050
- reader.skipType(tag & 7);
1051
- }
1052
- return message;
1053
- },
1054
- fromJSON(object) {
1055
- return {
1056
- customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
1057
- auth_token: isSet(object.auth_token) ? globalThis.String(object.auth_token) : undefined,
1058
- device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : undefined,
1059
- };
1060
- },
1061
- toJSON(message) {
1062
- const obj = {};
1063
- if (message.customer_id !== 0) {
1064
- obj.customer_id = Math.round(message.customer_id);
1065
- }
1066
- if (message.auth_token !== undefined) {
1067
- obj.auth_token = message.auth_token;
1068
- }
1069
- if (message.device_id !== undefined) {
1070
- obj.device_id = message.device_id;
1071
- }
1072
- return obj;
1073
- },
1074
- create(base) {
1075
- return exports.AuthSessionResponse.fromPartial(base ?? {});
1076
- },
1077
- fromPartial(object) {
1078
- const message = createBaseAuthSessionResponse();
1079
- message.customer_id = object.customer_id ?? 0;
1080
- message.auth_token = object.auth_token ?? undefined;
1081
- message.device_id = object.device_id ?? undefined;
1082
- return message;
1083
- },
1084
- };
1085
- function createBaseBDTransactionResponse() {
1086
- return { txnResponse: undefined, authSessionResponse: undefined };
1087
- }
1088
- exports.BDTransactionResponse = {
1089
- encode(message, writer = minimal_1.default.Writer.create()) {
1090
- if (message.txnResponse !== undefined) {
1091
- exports.TxnResponse.encode(message.txnResponse, writer.uint32(10).fork()).ldelim();
1092
- }
1093
- if (message.authSessionResponse !== undefined) {
1094
- exports.AuthSessionResponse.encode(message.authSessionResponse, writer.uint32(18).fork()).ldelim();
1095
- }
1096
- return writer;
1097
- },
1098
- decode(input, length) {
1099
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
1100
- let end = length === undefined ? reader.len : reader.pos + length;
1101
- const message = createBaseBDTransactionResponse();
1102
- while (reader.pos < end) {
1103
- const tag = reader.uint32();
1104
- switch (tag >>> 3) {
1105
- case 1:
1106
- if (tag !== 10) {
1107
- break;
1108
- }
1109
- message.txnResponse = exports.TxnResponse.decode(reader, reader.uint32());
1110
- continue;
1111
- case 2:
1112
- if (tag !== 18) {
1113
- break;
1114
- }
1115
- message.authSessionResponse = exports.AuthSessionResponse.decode(reader, reader.uint32());
1116
- continue;
1117
- }
1118
- if ((tag & 7) === 4 || tag === 0) {
1119
- break;
1120
- }
1121
- reader.skipType(tag & 7);
1122
- }
1123
- return message;
1124
- },
1125
- fromJSON(object) {
1126
- return {
1127
- txnResponse: isSet(object.txnResponse) ? exports.TxnResponse.fromJSON(object.txnResponse) : undefined,
1128
- authSessionResponse: isSet(object.authSessionResponse)
1129
- ? exports.AuthSessionResponse.fromJSON(object.authSessionResponse)
1130
- : undefined,
1131
- };
1132
- },
1133
- toJSON(message) {
1134
- const obj = {};
1135
- if (message.txnResponse !== undefined) {
1136
- obj.txnResponse = exports.TxnResponse.toJSON(message.txnResponse);
1137
- }
1138
- if (message.authSessionResponse !== undefined) {
1139
- obj.authSessionResponse = exports.AuthSessionResponse.toJSON(message.authSessionResponse);
1140
- }
1141
- return obj;
1142
- },
1143
- create(base) {
1144
- return exports.BDTransactionResponse.fromPartial(base ?? {});
1145
- },
1146
- fromPartial(object) {
1147
- const message = createBaseBDTransactionResponse();
1148
- message.txnResponse = (object.txnResponse !== undefined && object.txnResponse !== null)
1149
- ? exports.TxnResponse.fromPartial(object.txnResponse)
1150
- : undefined;
1151
- message.authSessionResponse = (object.authSessionResponse !== undefined && object.authSessionResponse !== null)
1152
- ? exports.AuthSessionResponse.fromPartial(object.authSessionResponse)
1153
- : undefined;
1154
- return message;
1155
- },
1156
- };
1157
- function longToNumber(long) {
1158
- if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
1159
- throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
1160
- }
1161
- if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
1162
- throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
1163
- }
1164
- return long.toNumber();
1165
- }
1166
- if (minimal_1.default.util.Long !== long_1.default) {
1167
- minimal_1.default.util.Long = long_1.default;
1168
- minimal_1.default.configure();
1169
- }
1170
- function isObject(value) {
1171
- return typeof value === "object" && value !== null;
1172
- }
1173
- function isSet(value) {
1174
- return value !== null && value !== undefined;
1175
- }