@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,627 +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.32.1
6
- // source: eqxpayments/getmerchantmodeconfigfees.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.ListData = exports.Pagination = exports.MerchantModeConfig = exports.FeeConfiguration = exports.protobufPackage = void 0;
12
- /* eslint-disable */
13
- const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
- exports.protobufPackage = "eqxpayments.getmerchantmodeconfigfees";
15
- function createBaseFeeConfiguration() {
16
- return { fee_type: "", fee_value: 0, minimum_fee: 0, maximum_fee: 0 };
17
- }
18
- exports.FeeConfiguration = {
19
- encode(message, writer = minimal_1.default.Writer.create()) {
20
- if (message.fee_type !== "") {
21
- writer.uint32(10).string(message.fee_type);
22
- }
23
- if (message.fee_value !== 0) {
24
- writer.uint32(17).double(message.fee_value);
25
- }
26
- if (message.minimum_fee !== 0) {
27
- writer.uint32(25).double(message.minimum_fee);
28
- }
29
- if (message.maximum_fee !== 0) {
30
- writer.uint32(33).double(message.maximum_fee);
31
- }
32
- return writer;
33
- },
34
- decode(input, length) {
35
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
36
- let end = length === undefined ? reader.len : reader.pos + length;
37
- const message = createBaseFeeConfiguration();
38
- while (reader.pos < end) {
39
- const tag = reader.uint32();
40
- switch (tag >>> 3) {
41
- case 1:
42
- if (tag !== 10) {
43
- break;
44
- }
45
- message.fee_type = reader.string();
46
- continue;
47
- case 2:
48
- if (tag !== 17) {
49
- break;
50
- }
51
- message.fee_value = reader.double();
52
- continue;
53
- case 3:
54
- if (tag !== 25) {
55
- break;
56
- }
57
- message.minimum_fee = reader.double();
58
- continue;
59
- case 4:
60
- if (tag !== 33) {
61
- break;
62
- }
63
- message.maximum_fee = reader.double();
64
- continue;
65
- }
66
- if ((tag & 7) === 4 || tag === 0) {
67
- break;
68
- }
69
- reader.skipType(tag & 7);
70
- }
71
- return message;
72
- },
73
- fromJSON(object) {
74
- return {
75
- fee_type: isSet(object.fee_type) ? globalThis.String(object.fee_type) : "",
76
- fee_value: isSet(object.fee_value) ? globalThis.Number(object.fee_value) : 0,
77
- minimum_fee: isSet(object.minimum_fee) ? globalThis.Number(object.minimum_fee) : 0,
78
- maximum_fee: isSet(object.maximum_fee) ? globalThis.Number(object.maximum_fee) : 0,
79
- };
80
- },
81
- toJSON(message) {
82
- const obj = {};
83
- if (message.fee_type !== "") {
84
- obj.fee_type = message.fee_type;
85
- }
86
- if (message.fee_value !== 0) {
87
- obj.fee_value = message.fee_value;
88
- }
89
- if (message.minimum_fee !== 0) {
90
- obj.minimum_fee = message.minimum_fee;
91
- }
92
- if (message.maximum_fee !== 0) {
93
- obj.maximum_fee = message.maximum_fee;
94
- }
95
- return obj;
96
- },
97
- create(base) {
98
- return exports.FeeConfiguration.fromPartial(base ?? {});
99
- },
100
- fromPartial(object) {
101
- const message = createBaseFeeConfiguration();
102
- message.fee_type = object.fee_type ?? "";
103
- message.fee_value = object.fee_value ?? 0;
104
- message.minimum_fee = object.minimum_fee ?? 0;
105
- message.maximum_fee = object.maximum_fee ?? 0;
106
- return message;
107
- },
108
- };
109
- function createBaseMerchantModeConfig() {
110
- return {
111
- id: "",
112
- merchant_id: "",
113
- merchant_name: "",
114
- payment_mode: "",
115
- client_id: "",
116
- client_name: "",
117
- fee_configuration: undefined,
118
- created_at: "",
119
- updated_at: "",
120
- };
121
- }
122
- exports.MerchantModeConfig = {
123
- encode(message, writer = minimal_1.default.Writer.create()) {
124
- if (message.id !== "") {
125
- writer.uint32(10).string(message.id);
126
- }
127
- if (message.merchant_id !== "") {
128
- writer.uint32(18).string(message.merchant_id);
129
- }
130
- if (message.merchant_name !== "") {
131
- writer.uint32(26).string(message.merchant_name);
132
- }
133
- if (message.payment_mode !== "") {
134
- writer.uint32(34).string(message.payment_mode);
135
- }
136
- if (message.client_id !== "") {
137
- writer.uint32(42).string(message.client_id);
138
- }
139
- if (message.client_name !== "") {
140
- writer.uint32(50).string(message.client_name);
141
- }
142
- if (message.fee_configuration !== undefined) {
143
- exports.FeeConfiguration.encode(message.fee_configuration, writer.uint32(58).fork()).ldelim();
144
- }
145
- if (message.created_at !== "") {
146
- writer.uint32(66).string(message.created_at);
147
- }
148
- if (message.updated_at !== "") {
149
- writer.uint32(74).string(message.updated_at);
150
- }
151
- return writer;
152
- },
153
- decode(input, length) {
154
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
155
- let end = length === undefined ? reader.len : reader.pos + length;
156
- const message = createBaseMerchantModeConfig();
157
- while (reader.pos < end) {
158
- const tag = reader.uint32();
159
- switch (tag >>> 3) {
160
- case 1:
161
- if (tag !== 10) {
162
- break;
163
- }
164
- message.id = reader.string();
165
- continue;
166
- case 2:
167
- if (tag !== 18) {
168
- break;
169
- }
170
- message.merchant_id = reader.string();
171
- continue;
172
- case 3:
173
- if (tag !== 26) {
174
- break;
175
- }
176
- message.merchant_name = reader.string();
177
- continue;
178
- case 4:
179
- if (tag !== 34) {
180
- break;
181
- }
182
- message.payment_mode = reader.string();
183
- continue;
184
- case 5:
185
- if (tag !== 42) {
186
- break;
187
- }
188
- message.client_id = reader.string();
189
- continue;
190
- case 6:
191
- if (tag !== 50) {
192
- break;
193
- }
194
- message.client_name = reader.string();
195
- continue;
196
- case 7:
197
- if (tag !== 58) {
198
- break;
199
- }
200
- message.fee_configuration = exports.FeeConfiguration.decode(reader, reader.uint32());
201
- continue;
202
- case 8:
203
- if (tag !== 66) {
204
- break;
205
- }
206
- message.created_at = reader.string();
207
- continue;
208
- case 9:
209
- if (tag !== 74) {
210
- break;
211
- }
212
- message.updated_at = reader.string();
213
- continue;
214
- }
215
- if ((tag & 7) === 4 || tag === 0) {
216
- break;
217
- }
218
- reader.skipType(tag & 7);
219
- }
220
- return message;
221
- },
222
- fromJSON(object) {
223
- return {
224
- id: isSet(object.id) ? globalThis.String(object.id) : "",
225
- merchant_id: isSet(object.merchant_id) ? globalThis.String(object.merchant_id) : "",
226
- merchant_name: isSet(object.merchant_name) ? globalThis.String(object.merchant_name) : "",
227
- payment_mode: isSet(object.payment_mode) ? globalThis.String(object.payment_mode) : "",
228
- client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : "",
229
- client_name: isSet(object.client_name) ? globalThis.String(object.client_name) : "",
230
- fee_configuration: isSet(object.fee_configuration)
231
- ? exports.FeeConfiguration.fromJSON(object.fee_configuration)
232
- : undefined,
233
- created_at: isSet(object.created_at) ? globalThis.String(object.created_at) : "",
234
- updated_at: isSet(object.updated_at) ? globalThis.String(object.updated_at) : "",
235
- };
236
- },
237
- toJSON(message) {
238
- const obj = {};
239
- if (message.id !== "") {
240
- obj.id = message.id;
241
- }
242
- if (message.merchant_id !== "") {
243
- obj.merchant_id = message.merchant_id;
244
- }
245
- if (message.merchant_name !== "") {
246
- obj.merchant_name = message.merchant_name;
247
- }
248
- if (message.payment_mode !== "") {
249
- obj.payment_mode = message.payment_mode;
250
- }
251
- if (message.client_id !== "") {
252
- obj.client_id = message.client_id;
253
- }
254
- if (message.client_name !== "") {
255
- obj.client_name = message.client_name;
256
- }
257
- if (message.fee_configuration !== undefined) {
258
- obj.fee_configuration = exports.FeeConfiguration.toJSON(message.fee_configuration);
259
- }
260
- if (message.created_at !== "") {
261
- obj.created_at = message.created_at;
262
- }
263
- if (message.updated_at !== "") {
264
- obj.updated_at = message.updated_at;
265
- }
266
- return obj;
267
- },
268
- create(base) {
269
- return exports.MerchantModeConfig.fromPartial(base ?? {});
270
- },
271
- fromPartial(object) {
272
- const message = createBaseMerchantModeConfig();
273
- message.id = object.id ?? "";
274
- message.merchant_id = object.merchant_id ?? "";
275
- message.merchant_name = object.merchant_name ?? "";
276
- message.payment_mode = object.payment_mode ?? "";
277
- message.client_id = object.client_id ?? "";
278
- message.client_name = object.client_name ?? "";
279
- message.fee_configuration = (object.fee_configuration !== undefined && object.fee_configuration !== null)
280
- ? exports.FeeConfiguration.fromPartial(object.fee_configuration)
281
- : undefined;
282
- message.created_at = object.created_at ?? "";
283
- message.updated_at = object.updated_at ?? "";
284
- return message;
285
- },
286
- };
287
- function createBasePagination() {
288
- return { page: 0, limit: 0, total: 0, total_pages: 0 };
289
- }
290
- exports.Pagination = {
291
- encode(message, writer = minimal_1.default.Writer.create()) {
292
- if (message.page !== 0) {
293
- writer.uint32(8).int32(message.page);
294
- }
295
- if (message.limit !== 0) {
296
- writer.uint32(16).int32(message.limit);
297
- }
298
- if (message.total !== 0) {
299
- writer.uint32(24).int32(message.total);
300
- }
301
- if (message.total_pages !== 0) {
302
- writer.uint32(32).int32(message.total_pages);
303
- }
304
- return writer;
305
- },
306
- decode(input, length) {
307
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
308
- let end = length === undefined ? reader.len : reader.pos + length;
309
- const message = createBasePagination();
310
- while (reader.pos < end) {
311
- const tag = reader.uint32();
312
- switch (tag >>> 3) {
313
- case 1:
314
- if (tag !== 8) {
315
- break;
316
- }
317
- message.page = reader.int32();
318
- continue;
319
- case 2:
320
- if (tag !== 16) {
321
- break;
322
- }
323
- message.limit = reader.int32();
324
- continue;
325
- case 3:
326
- if (tag !== 24) {
327
- break;
328
- }
329
- message.total = reader.int32();
330
- continue;
331
- case 4:
332
- if (tag !== 32) {
333
- break;
334
- }
335
- message.total_pages = reader.int32();
336
- continue;
337
- }
338
- if ((tag & 7) === 4 || tag === 0) {
339
- break;
340
- }
341
- reader.skipType(tag & 7);
342
- }
343
- return message;
344
- },
345
- fromJSON(object) {
346
- return {
347
- page: isSet(object.page) ? globalThis.Number(object.page) : 0,
348
- limit: isSet(object.limit) ? globalThis.Number(object.limit) : 0,
349
- total: isSet(object.total) ? globalThis.Number(object.total) : 0,
350
- total_pages: isSet(object.total_pages) ? globalThis.Number(object.total_pages) : 0,
351
- };
352
- },
353
- toJSON(message) {
354
- const obj = {};
355
- if (message.page !== 0) {
356
- obj.page = Math.round(message.page);
357
- }
358
- if (message.limit !== 0) {
359
- obj.limit = Math.round(message.limit);
360
- }
361
- if (message.total !== 0) {
362
- obj.total = Math.round(message.total);
363
- }
364
- if (message.total_pages !== 0) {
365
- obj.total_pages = Math.round(message.total_pages);
366
- }
367
- return obj;
368
- },
369
- create(base) {
370
- return exports.Pagination.fromPartial(base ?? {});
371
- },
372
- fromPartial(object) {
373
- const message = createBasePagination();
374
- message.page = object.page ?? 0;
375
- message.limit = object.limit ?? 0;
376
- message.total = object.total ?? 0;
377
- message.total_pages = object.total_pages ?? 0;
378
- return message;
379
- },
380
- };
381
- function createBaseListData() {
382
- return { configs: [], pagination: undefined };
383
- }
384
- exports.ListData = {
385
- encode(message, writer = minimal_1.default.Writer.create()) {
386
- for (const v of message.configs) {
387
- exports.MerchantModeConfig.encode(v, writer.uint32(10).fork()).ldelim();
388
- }
389
- if (message.pagination !== undefined) {
390
- exports.Pagination.encode(message.pagination, writer.uint32(18).fork()).ldelim();
391
- }
392
- return writer;
393
- },
394
- decode(input, length) {
395
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
396
- let end = length === undefined ? reader.len : reader.pos + length;
397
- const message = createBaseListData();
398
- while (reader.pos < end) {
399
- const tag = reader.uint32();
400
- switch (tag >>> 3) {
401
- case 1:
402
- if (tag !== 10) {
403
- break;
404
- }
405
- message.configs.push(exports.MerchantModeConfig.decode(reader, reader.uint32()));
406
- continue;
407
- case 2:
408
- if (tag !== 18) {
409
- break;
410
- }
411
- message.pagination = exports.Pagination.decode(reader, reader.uint32());
412
- continue;
413
- }
414
- if ((tag & 7) === 4 || tag === 0) {
415
- break;
416
- }
417
- reader.skipType(tag & 7);
418
- }
419
- return message;
420
- },
421
- fromJSON(object) {
422
- return {
423
- configs: globalThis.Array.isArray(object?.configs)
424
- ? object.configs.map((e) => exports.MerchantModeConfig.fromJSON(e))
425
- : [],
426
- pagination: isSet(object.pagination) ? exports.Pagination.fromJSON(object.pagination) : undefined,
427
- };
428
- },
429
- toJSON(message) {
430
- const obj = {};
431
- if (message.configs?.length) {
432
- obj.configs = message.configs.map((e) => exports.MerchantModeConfig.toJSON(e));
433
- }
434
- if (message.pagination !== undefined) {
435
- obj.pagination = exports.Pagination.toJSON(message.pagination);
436
- }
437
- return obj;
438
- },
439
- create(base) {
440
- return exports.ListData.fromPartial(base ?? {});
441
- },
442
- fromPartial(object) {
443
- const message = createBaseListData();
444
- message.configs = object.configs?.map((e) => exports.MerchantModeConfig.fromPartial(e)) || [];
445
- message.pagination = (object.pagination !== undefined && object.pagination !== null)
446
- ? exports.Pagination.fromPartial(object.pagination)
447
- : undefined;
448
- return message;
449
- },
450
- };
451
- function createBaserequest() {
452
- return { page: undefined, limit: undefined, merchant_id: undefined, payment_mode: undefined, client_id: undefined };
453
- }
454
- exports.request = {
455
- encode(message, writer = minimal_1.default.Writer.create()) {
456
- if (message.page !== undefined) {
457
- writer.uint32(8).int32(message.page);
458
- }
459
- if (message.limit !== undefined) {
460
- writer.uint32(16).int32(message.limit);
461
- }
462
- if (message.merchant_id !== undefined) {
463
- writer.uint32(26).string(message.merchant_id);
464
- }
465
- if (message.payment_mode !== undefined) {
466
- writer.uint32(34).string(message.payment_mode);
467
- }
468
- if (message.client_id !== undefined) {
469
- writer.uint32(42).string(message.client_id);
470
- }
471
- return writer;
472
- },
473
- decode(input, length) {
474
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
475
- let end = length === undefined ? reader.len : reader.pos + length;
476
- const message = createBaserequest();
477
- while (reader.pos < end) {
478
- const tag = reader.uint32();
479
- switch (tag >>> 3) {
480
- case 1:
481
- if (tag !== 8) {
482
- break;
483
- }
484
- message.page = reader.int32();
485
- continue;
486
- case 2:
487
- if (tag !== 16) {
488
- break;
489
- }
490
- message.limit = reader.int32();
491
- continue;
492
- case 3:
493
- if (tag !== 26) {
494
- break;
495
- }
496
- message.merchant_id = reader.string();
497
- continue;
498
- case 4:
499
- if (tag !== 34) {
500
- break;
501
- }
502
- message.payment_mode = reader.string();
503
- continue;
504
- case 5:
505
- if (tag !== 42) {
506
- break;
507
- }
508
- message.client_id = reader.string();
509
- continue;
510
- }
511
- if ((tag & 7) === 4 || tag === 0) {
512
- break;
513
- }
514
- reader.skipType(tag & 7);
515
- }
516
- return message;
517
- },
518
- fromJSON(object) {
519
- return {
520
- page: isSet(object.page) ? globalThis.Number(object.page) : undefined,
521
- limit: isSet(object.limit) ? globalThis.Number(object.limit) : undefined,
522
- merchant_id: isSet(object.merchant_id) ? globalThis.String(object.merchant_id) : undefined,
523
- payment_mode: isSet(object.payment_mode) ? globalThis.String(object.payment_mode) : undefined,
524
- client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : undefined,
525
- };
526
- },
527
- toJSON(message) {
528
- const obj = {};
529
- if (message.page !== undefined) {
530
- obj.page = Math.round(message.page);
531
- }
532
- if (message.limit !== undefined) {
533
- obj.limit = Math.round(message.limit);
534
- }
535
- if (message.merchant_id !== undefined) {
536
- obj.merchant_id = message.merchant_id;
537
- }
538
- if (message.payment_mode !== undefined) {
539
- obj.payment_mode = message.payment_mode;
540
- }
541
- if (message.client_id !== undefined) {
542
- obj.client_id = message.client_id;
543
- }
544
- return obj;
545
- },
546
- create(base) {
547
- return exports.request.fromPartial(base ?? {});
548
- },
549
- fromPartial(object) {
550
- const message = createBaserequest();
551
- message.page = object.page ?? undefined;
552
- message.limit = object.limit ?? undefined;
553
- message.merchant_id = object.merchant_id ?? undefined;
554
- message.payment_mode = object.payment_mode ?? undefined;
555
- message.client_id = object.client_id ?? undefined;
556
- return message;
557
- },
558
- };
559
- function createBaseresponse() {
560
- return { success: false, data: undefined };
561
- }
562
- exports.response = {
563
- encode(message, writer = minimal_1.default.Writer.create()) {
564
- if (message.success !== false) {
565
- writer.uint32(8).bool(message.success);
566
- }
567
- if (message.data !== undefined) {
568
- exports.ListData.encode(message.data, writer.uint32(18).fork()).ldelim();
569
- }
570
- return writer;
571
- },
572
- decode(input, length) {
573
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
574
- let end = length === undefined ? reader.len : reader.pos + length;
575
- const message = createBaseresponse();
576
- while (reader.pos < end) {
577
- const tag = reader.uint32();
578
- switch (tag >>> 3) {
579
- case 1:
580
- if (tag !== 8) {
581
- break;
582
- }
583
- message.success = reader.bool();
584
- continue;
585
- case 2:
586
- if (tag !== 18) {
587
- break;
588
- }
589
- message.data = exports.ListData.decode(reader, reader.uint32());
590
- continue;
591
- }
592
- if ((tag & 7) === 4 || tag === 0) {
593
- break;
594
- }
595
- reader.skipType(tag & 7);
596
- }
597
- return message;
598
- },
599
- fromJSON(object) {
600
- return {
601
- success: isSet(object.success) ? globalThis.Boolean(object.success) : false,
602
- data: isSet(object.data) ? exports.ListData.fromJSON(object.data) : undefined,
603
- };
604
- },
605
- toJSON(message) {
606
- const obj = {};
607
- if (message.success !== false) {
608
- obj.success = message.success;
609
- }
610
- if (message.data !== undefined) {
611
- obj.data = exports.ListData.toJSON(message.data);
612
- }
613
- return obj;
614
- },
615
- create(base) {
616
- return exports.response.fromPartial(base ?? {});
617
- },
618
- fromPartial(object) {
619
- const message = createBaseresponse();
620
- message.success = object.success ?? false;
621
- message.data = (object.data !== undefined && object.data !== null) ? exports.ListData.fromPartial(object.data) : undefined;
622
- return message;
623
- },
624
- };
625
- function isSet(value) {
626
- return value !== null && value !== undefined;
627
- }
@@ -1,41 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- export declare const protobufPackage = "eqxpayments.getorderv2";
3
- export interface request {
4
- transaction_id: string;
5
- }
6
- export interface response {
7
- transaction_id: string;
8
- order_ref: string;
9
- subscriber_id: string;
10
- status: string;
11
- final: boolean;
12
- last_error_code: string;
13
- last_error_message: string;
14
- }
15
- export declare const request: {
16
- encode(message: request, writer?: _m0.Writer): _m0.Writer;
17
- decode(input: _m0.Reader | Uint8Array, length?: number): request;
18
- fromJSON(object: any): request;
19
- toJSON(message: request): unknown;
20
- create<I extends Exact<DeepPartial<request>, I>>(base?: I): request;
21
- fromPartial<I extends Exact<DeepPartial<request>, I>>(object: I): request;
22
- };
23
- export declare const response: {
24
- encode(message: response, writer?: _m0.Writer): _m0.Writer;
25
- decode(input: _m0.Reader | Uint8Array, length?: number): response;
26
- fromJSON(object: any): response;
27
- toJSON(message: response): unknown;
28
- create<I extends Exact<DeepPartial<response>, I>>(base?: I): response;
29
- fromPartial<I extends Exact<DeepPartial<response>, I>>(object: I): response;
30
- };
31
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
32
- 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 {} ? {
33
- [K in keyof T]?: DeepPartial<T[K]>;
34
- } : Partial<T>;
35
- type KeysOfUnion<T> = T extends T ? keyof T : never;
36
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
37
- [K in keyof P]: Exact<P[K], I[K]>;
38
- } & {
39
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
40
- };
41
- export {};