@stashfin/grpc 1.3.10 → 1.3.11

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 (380) hide show
  1. package/package.json +1 -1
  2. package/ts/admin/getcustomer.js +1 -1
  3. package/ts/admin/getcustomerbyid.js +1 -1
  4. package/ts/admin.js +1 -1
  5. package/ts/banking/aa/getaasupport.js +1 -1
  6. package/ts/banking/aa/getbanklist.js +1 -1
  7. package/ts/banking/aa/getcustomerbank.js +1 -1
  8. package/ts/banking/aa/getrpdlink.js +1 -1
  9. package/ts/banking/aa/initiate.js +1 -1
  10. package/ts/banking/aa/initiatepennydrop.js +1 -1
  11. package/ts/banking/aa/netbankinginitiate.js +1 -1
  12. package/ts/banking/aa/pollingrpd.js +1 -1
  13. package/ts/banking.js +1 -1
  14. package/ts/bbps/getallbbpstransactions.js +1 -1
  15. package/ts/bbps/getallcategory.js +1 -1
  16. package/ts/bbps/getbillforreminder.js +1 -1
  17. package/ts/bbps/getbills.js +1 -1
  18. package/ts/bbps/getorderdetails.js +1 -1
  19. package/ts/bbps/processdecryptedrudata.js +1 -1
  20. package/ts/bbps/processwebhook.d.ts +1 -91
  21. package/ts/bbps/processwebhook.js +10 -801
  22. package/ts/bbps/remindernotification.js +1 -1
  23. package/ts/bbps/sendremindercall.js +1 -1
  24. package/ts/bbps/updatetxnsstatus.js +1 -1
  25. package/ts/bbps.js +1 -1
  26. package/ts/bbpsreminder.js +1 -1
  27. package/ts/bureau/deletebureaudatabycustid.js +1 -1
  28. package/ts/bureau/getbasicdetails.js +1 -1
  29. package/ts/bureau/getbureaudetails.js +1 -1
  30. package/ts/bureau/getbureauscore.js +1 -1
  31. package/ts/bureau/getcibilwebtoken.js +1 -1
  32. package/ts/bureau/getdbrcolending.js +1 -1
  33. package/ts/bureau/getdemogs.js +1 -1
  34. package/ts/bureau/getobligation.js +1 -1
  35. package/ts/bureau/getreport.js +1 -1
  36. package/ts/bureau/ischrenabled.js +1 -1
  37. package/ts/bureau.js +1 -1
  38. package/ts/chr/notifychrpayments.js +1 -1
  39. package/ts/chr.js +1 -1
  40. package/ts/ckyc/ckycdownload.js +1 -1
  41. package/ts/ckyc/ckycsearch.js +1 -1
  42. package/ts/ckyc.js +1 -1
  43. package/ts/colender/disburseLoan.js +1 -1
  44. package/ts/colender/forecloseLoan.js +1 -1
  45. package/ts/colender/repayLoan.js +1 -1
  46. package/ts/colender.js +1 -1
  47. package/ts/cr/crmembershipinfo.js +1 -1
  48. package/ts/cr/notifycrpayments.js +1 -1
  49. package/ts/cr.js +1 -1
  50. package/ts/customers/aa/getaatxnstatus.js +1 -1
  51. package/ts/customers/aa/getbanklist.js +1 -1
  52. package/ts/customers/aa/initiate.js +1 -1
  53. package/ts/customers/accidentprotectionplan.js +1 -1
  54. package/ts/customers/addaddress.js +1 -1
  55. package/ts/customers/addbankaccountdetails.js +1 -1
  56. package/ts/customers/addfathersname.js +1 -1
  57. package/ts/customers/addgstnumber.js +1 -1
  58. package/ts/customers/addmoredetails.js +1 -1
  59. package/ts/customers/addsuspendedcustomer.js +1 -1
  60. package/ts/customers/adduserapps.js +1 -1
  61. package/ts/customers/applyclijourney.js +1 -1
  62. package/ts/customers/bulksms.js +1 -1
  63. package/ts/customers/cb/cbapplicationrejecteddata.js +1 -1
  64. package/ts/customers/cb/cbpaynow.js +1 -1
  65. package/ts/customers/cb/cbsignup.js +1 -1
  66. package/ts/customers/cb/getcbtxnstatus.js +1 -1
  67. package/ts/customers/cb/getcreditbuilder.js +1 -1
  68. package/ts/customers/cb/getpaymentsummary.js +1 -1
  69. package/ts/customers/cb/insurancedetails.js +1 -1
  70. package/ts/customers/cb/lesscsimprove.js +1 -1
  71. package/ts/customers/cb/morecsimprove.js +1 -1
  72. package/ts/customers/cb/savecreditbuilder.js +1 -1
  73. package/ts/customers/cb/updatecbstandalonecancellation.js +1 -1
  74. package/ts/customers/cb/updatecbstandaloneconfirmation.js +1 -1
  75. package/ts/customers/cb/updatecbstandalonejourney.js +1 -1
  76. package/ts/customers/cb/updatecbtxnstatus.js +1 -1
  77. package/ts/customers/changempin.js +1 -1
  78. package/ts/customers/createcustomerreference.js +1 -1
  79. package/ts/customers/createvanumber.js +1 -1
  80. package/ts/customers/customerinfo.js +1 -1
  81. package/ts/customers/deletedocument.js +1 -1
  82. package/ts/customers/deleteprofile.js +1 -1
  83. package/ts/customers/disablempin.js +1 -1
  84. package/ts/customers/enach/gettxnstatus.js +1 -1
  85. package/ts/customers/enach/getweburl.js +1 -1
  86. package/ts/customers/enach/updateenachtxnstatus.js +1 -1
  87. package/ts/customers/fetchrcprofile.js +1 -1
  88. package/ts/customers/floatingvideos.js +1 -1
  89. package/ts/customers/forceupdate.js +1 -1
  90. package/ts/customers/forgotmpin.js +1 -1
  91. package/ts/customers/forgotmpinverify.js +1 -1
  92. package/ts/customers/freedom/addressconfirmation.js +1 -1
  93. package/ts/customers/freedom/freedompaynow.js +1 -1
  94. package/ts/customers/freedom/getfreedomtxnstatus.js +1 -1
  95. package/ts/customers/freedom/updateadditionalverification.js +1 -1
  96. package/ts/customers/freedom/updatefreedomtxnstatus.js +1 -1
  97. package/ts/customers/getaddresslist.js +1 -1
  98. package/ts/customers/getappsubmittedscreen.js +1 -1
  99. package/ts/customers/getbankaccountdetails.js +1 -1
  100. package/ts/customers/getbasicinfo.js +1 -1
  101. package/ts/customers/getcities.js +1 -1
  102. package/ts/customers/getclistatus.js +1 -1
  103. package/ts/customers/getcompanyaccdetails.js +1 -1
  104. package/ts/customers/getcustomerbyid.js +1 -1
  105. package/ts/customers/getcustomerdetailsbymobile.js +1 -1
  106. package/ts/customers/getdashboard.js +1 -1
  107. package/ts/customers/getdashboardmaincard.js +1 -1
  108. package/ts/customers/getdocuments.js +1 -1
  109. package/ts/customers/getglobalpopups.js +1 -1
  110. package/ts/customers/getlimit.js +1 -1
  111. package/ts/customers/getloclimit.js +1 -1
  112. package/ts/customers/getmessengermode.js +1 -1
  113. package/ts/customers/getoccupationlist.js +1 -1
  114. package/ts/customers/getpaymentoptions.js +1 -1
  115. package/ts/customers/getprofessionalinfo.js +1 -1
  116. package/ts/customers/getprofile.js +1 -1
  117. package/ts/customers/getselfieetxnid.js +1 -1
  118. package/ts/customers/getstates.js +1 -1
  119. package/ts/customers/getstep.js +1 -1
  120. package/ts/customers/getsyncstatus.js +1 -1
  121. package/ts/customers/getvanumber.js +1 -1
  122. package/ts/customers/lamf/applylamf.js +1 -1
  123. package/ts/customers/lamf/sendlamfotp.js +1 -1
  124. package/ts/customers/lamf/sendlamfpledgeotp.js +1 -1
  125. package/ts/customers/lamf/verifylamfotp.js +1 -1
  126. package/ts/customers/lamf/verifylamfpledgeotp.js +1 -1
  127. package/ts/customers/logout.js +1 -1
  128. package/ts/customers/pd/getbanklist.js +1 -1
  129. package/ts/customers/pd/validatebankaccount.js +1 -1
  130. package/ts/customers/profilebasic.js +1 -1
  131. package/ts/customers/profileupdatetnc.js +1 -1
  132. package/ts/customers/resetbanner.js +1 -1
  133. package/ts/customers/restoreaccount.js +1 -1
  134. package/ts/customers/rpd/getrpdlink.js +1 -1
  135. package/ts/customers/rpd/getrpdtransactionstatus.js +1 -1
  136. package/ts/customers/rpd/mockpayment.js +1 -1
  137. package/ts/customers/saveappslist.js +1 -1
  138. package/ts/customers/savebasicdetails.js +1 -1
  139. package/ts/customers/savelimit.js +1 -1
  140. package/ts/customers/saveunlocklimit.js +1 -1
  141. package/ts/customers/sendotp.js +1 -1
  142. package/ts/customers/sendotptoemail.js +1 -1
  143. package/ts/customers/setmpin.js +1 -1
  144. package/ts/customers/skipscreen.js +1 -1
  145. package/ts/customers/submituploadeddocuments.js +1 -1
  146. package/ts/customers/syncdecisionengine.js +1 -1
  147. package/ts/customers/updatecategory.js +1 -1
  148. package/ts/customers/updatecongratulationstep.js +1 -1
  149. package/ts/customers/updatecustomerbyid.js +1 -1
  150. package/ts/customers/updatedlnumber.js +1 -1
  151. package/ts/customers/updatedob.js +1 -1
  152. package/ts/customers/updatelocstatus.js +1 -1
  153. package/ts/customers/updatemobilesendotp.js +1 -1
  154. package/ts/customers/updatemobileverifyotp.js +1 -1
  155. package/ts/customers/updateokyctxn.js +1 -1
  156. package/ts/customers/updatesanctionamount.js +1 -1
  157. package/ts/customers/updateselfieetxn.js +1 -1
  158. package/ts/customers/updatesyncstatus.js +1 -1
  159. package/ts/customers/updatevehiclenumber.js +1 -1
  160. package/ts/customers/uploaddocuments.js +1 -1
  161. package/ts/customers/validatepan.js +1 -1
  162. package/ts/customers/verifympin.js +1 -1
  163. package/ts/customers/verifyotp.js +1 -1
  164. package/ts/customers/verifyotptoemail.js +1 -1
  165. package/ts/customers.js +1 -1
  166. package/ts/decisionengine/decisionenginetrigger.js +1 -1
  167. package/ts/decisionengine/locdisbursalapproval.js +1 -1
  168. package/ts/decisionengine/saveconsent.js +1 -1
  169. package/ts/decisionengine.js +1 -1
  170. package/ts/deveqxcustomers.js +1 -1
  171. package/ts/devupi.js +1 -1
  172. package/ts/digigold/buygold.js +1 -1
  173. package/ts/digigold/getbuygoldstatus.js +1 -1
  174. package/ts/digigold/getquote.js +1 -1
  175. package/ts/digigold.js +1 -1
  176. package/ts/documents/getagreement.js +1 -1
  177. package/ts/documents/getfinancialdoc.js +1 -1
  178. package/ts/documents.js +1 -1
  179. package/ts/eqxcustomer.js +1 -1
  180. package/ts/eqxcustomers/authenticateuser.js +1 -1
  181. package/ts/eqxcustomers/creditguidance.js +1 -1
  182. package/ts/eqxcustomers/getallcustomers.js +1 -1
  183. package/ts/eqxcustomers/getbankaccount.js +1 -1
  184. package/ts/eqxcustomers/getcustomerbyid.js +1 -1
  185. package/ts/eqxcustomers/getcustomerbymobile.js +1 -1
  186. package/ts/eqxcustomers/getcustomerbyvpa.js +1 -1
  187. package/ts/eqxcustomers/getdashboard.js +1 -1
  188. package/ts/eqxcustomers/getdashboardmaincard.js +1 -1
  189. package/ts/eqxcustomers/getlatlong.js +1 -1
  190. package/ts/eqxcustomers/getlendingcustomerappsInfo.js +1 -1
  191. package/ts/eqxcustomers/getlendingcustomerdeviceInfo.js +1 -1
  192. package/ts/eqxcustomers/getlendinghomepage.js +1 -1
  193. package/ts/eqxcustomers/getlendingrefreshtoken.js +1 -1
  194. package/ts/eqxcustomers/getlendingsyncedinfo.js +1 -1
  195. package/ts/eqxcustomers/getloanplans.js +1 -1
  196. package/ts/eqxcustomers/getnotifications.js +1 -1
  197. package/ts/eqxcustomers/getstashscorecustomerprofile.js +1 -1
  198. package/ts/eqxcustomers/gettnc.js +1 -1
  199. package/ts/eqxcustomers/gettncbycustomerid.js +1 -1
  200. package/ts/eqxcustomers/gettokens.js +1 -1
  201. package/ts/eqxcustomers/getvpalist.js +1 -1
  202. package/ts/eqxcustomers/iscustomerregistered.js +1 -1
  203. package/ts/eqxcustomers/lendingcustomerexists.js +1 -1
  204. package/ts/eqxcustomers/sendotp.js +1 -1
  205. package/ts/eqxcustomers/truecallerlogin.js +1 -1
  206. package/ts/eqxcustomers/updatecustomer.js +1 -1
  207. package/ts/eqxcustomers/updatecustomerbasicdetails.js +1 -1
  208. package/ts/eqxcustomers/updatecustomercategory.js +1 -1
  209. package/ts/eqxcustomers/updatedevicedetails.js +1 -1
  210. package/ts/eqxcustomers/updatenotification.js +1 -1
  211. package/ts/eqxcustomers/updatepushid.js +1 -1
  212. package/ts/eqxcustomers/updatesubscriptionstatus.js +1 -1
  213. package/ts/eqxcustomers/verifyotp.js +1 -1
  214. package/ts/eqxcustomers/verifytoken.js +1 -1
  215. package/ts/eqxpayments/checkpaymentstatus.js +1 -1
  216. package/ts/eqxpayments/createorder.js +1 -1
  217. package/ts/eqxpayments/createtransaction.js +1 -1
  218. package/ts/eqxpayments/fundtransfer.js +1 -1
  219. package/ts/eqxpayments/getpaymentoptions.js +1 -1
  220. package/ts/eqxpayments/getpaymenttypes.js +1 -1
  221. package/ts/eqxpayments/initiatepayment.js +1 -1
  222. package/ts/eqxpayments/initiaterefund.js +1 -1
  223. package/ts/eqxpayments/merchants_create.js +1 -1
  224. package/ts/eqxpayments/merchants_credentials_rotate.js +1 -1
  225. package/ts/eqxpayments/merchants_get.js +1 -1
  226. package/ts/eqxpayments/merchants_list.js +1 -1
  227. package/ts/eqxpayments/merchants_update.js +1 -1
  228. package/ts/eqxpayments/nachpresentation.js +1 -1
  229. package/ts/eqxpayments/nachpresentationstatus.js +1 -1
  230. package/ts/eqxpayments/nachregistration.js +1 -1
  231. package/ts/eqxpayments/nachregistrationstatus.js +1 -1
  232. package/ts/eqxpayments/payment_modes_get.js +1 -1
  233. package/ts/eqxpayments/payment_modes_list.js +1 -1
  234. package/ts/eqxpayments/routes_create.js +1 -1
  235. package/ts/eqxpayments/routes_list.js +1 -1
  236. package/ts/eqxpayments/routes_update.js +1 -1
  237. package/ts/eqxpayments/spmc_delete.js +1 -1
  238. package/ts/eqxpayments/spmc_list.js +1 -1
  239. package/ts/eqxpayments/spmc_patch.js +1 -1
  240. package/ts/eqxpayments/spmc_upsert.js +1 -1
  241. package/ts/eqxpayments/subscribers_client_secret_rotate.js +1 -1
  242. package/ts/eqxpayments/subscribers_create.js +1 -1
  243. package/ts/eqxpayments/subscribers_get.js +1 -1
  244. package/ts/eqxpayments/subscribers_list.js +1 -1
  245. package/ts/eqxpayments/subscribers_update.js +1 -1
  246. package/ts/eqxpayments/vendors_create.js +1 -1
  247. package/ts/eqxpayments/vendors_get.js +1 -1
  248. package/ts/eqxpayments/vendors_list.js +1 -1
  249. package/ts/eqxpayments/vendors_update.js +1 -1
  250. package/ts/eqxpayments.d.ts +0 -59
  251. package/ts/eqxpayments.js +1 -42
  252. package/ts/example.js +1 -1
  253. package/ts/feepayments/getbanklist.js +1 -1
  254. package/ts/feepayments.js +1 -1
  255. package/ts/growth/getchrpdfurl.js +1 -1
  256. package/ts/growth/getchrreportdata.js +1 -1
  257. package/ts/growth/getchrsubscriptionplan.js +1 -1
  258. package/ts/growth/getchrvideourl.js +1 -1
  259. package/ts/growth.js +1 -1
  260. package/ts/kyc/amldetails.js +1 -1
  261. package/ts/kyc/authbridgepancomprehend.js +1 -1
  262. package/ts/kyc/bureauidwhatsapp.js +1 -1
  263. package/ts/kyc/ckycfetchrecord.js +1 -1
  264. package/ts/kyc/ckycresendotp.js +1 -1
  265. package/ts/kyc/ckycsearchv1.js +1 -1
  266. package/ts/kyc/ckycvalidation.js +1 -1
  267. package/ts/kyc/facematch.js +1 -1
  268. package/ts/kyc/fetchaadhaarbypan.js +1 -1
  269. package/ts/kyc/fetchemploymenthistory.js +1 -1
  270. package/ts/kyc/fetchuanlist.js +1 -1
  271. package/ts/kyc/getselfietxnid.js +1 -1
  272. package/ts/kyc/getselfieurl.js +1 -1
  273. package/ts/kyc/nsdlpanvalidate.js +1 -1
  274. package/ts/kyc/okyclinkhyperverge.js +1 -1
  275. package/ts/kyc.js +1 -1
  276. package/ts/lamf/getloandetails.js +1 -1
  277. package/ts/lamf/submitotp.js +1 -1
  278. package/ts/lamf/validateuser.js +1 -1
  279. package/ts/lamf.js +1 -1
  280. package/ts/loans/addreference.js +1 -1
  281. package/ts/loans/amortization.js +1 -1
  282. package/ts/loans/approveloan.js +1 -1
  283. package/ts/loans/banklist.js +1 -1
  284. package/ts/loans/calculateemi.js +1 -1
  285. package/ts/loans/cbloan.js +1 -1
  286. package/ts/loans/createlamfloan.js +1 -1
  287. package/ts/loans/createpenalty.js +1 -1
  288. package/ts/loans/creditlimit.js +1 -1
  289. package/ts/loans/emimoredetails.js +1 -1
  290. package/ts/loans/fcppayment.js +1 -1
  291. package/ts/loans/foreclosepayment.js +1 -1
  292. package/ts/loans/getaddonslist.js +1 -1
  293. package/ts/loans/getbankdetails.js +1 -1
  294. package/ts/loans/getbilldetails.js +1 -1
  295. package/ts/loans/getcbloandetails.js +1 -1
  296. package/ts/loans/getchrdetails.js +1 -1
  297. package/ts/loans/getcustomerloanstatus.js +1 -1
  298. package/ts/loans/getforecloseamount.js +1 -1
  299. package/ts/loans/getloanbyid.js +1 -1
  300. package/ts/loans/getlocconfirms.js +1 -1
  301. package/ts/loans/getlocdetails.js +1 -1
  302. package/ts/loans/getlocdisburse.js +1 -1
  303. package/ts/loans/getloctenure.js +1 -1
  304. package/ts/loans/getlocwithdraw.js +1 -1
  305. package/ts/loans/getlocwithdrawform.js +1 -1
  306. package/ts/loans/getnextdueamount.js +1 -1
  307. package/ts/loans/getpaymentoptions.js +1 -1
  308. package/ts/loans/getpendingemiamount.js +1 -1
  309. package/ts/loans/getsetubilldetails.js +1 -1
  310. package/ts/loans/getsummarystaticfields.js +1 -1
  311. package/ts/loans/gettransactionstatus.js +1 -1
  312. package/ts/loans/getusedlimit.js +1 -1
  313. package/ts/loans/getvirtualbankinfo.js +1 -1
  314. package/ts/loans/loansummary.js +1 -1
  315. package/ts/loans/locrequested.js +1 -1
  316. package/ts/loans/manualpaymentallocation.js +1 -1
  317. package/ts/loans/paymentallocation.js +1 -1
  318. package/ts/loans/paymenthistory.js +1 -1
  319. package/ts/loans/paynow.js +1 -1
  320. package/ts/loans/refund.js +1 -1
  321. package/ts/loans/restructureloan.js +1 -1
  322. package/ts/loans/rollback.js +1 -1
  323. package/ts/loans/sendemail.js +1 -1
  324. package/ts/loans/sendnocemail.js +1 -1
  325. package/ts/loans/transactionlist.js +1 -1
  326. package/ts/loans/updatecollectionview.js +1 -1
  327. package/ts/loans/updateinstallments.js +1 -1
  328. package/ts/loans/updateloan.js +1 -1
  329. package/ts/loans/updatetransactionstatus.js +1 -1
  330. package/ts/loans.js +1 -1
  331. package/ts/payments/cancelnachupimandate.js +1 -1
  332. package/ts/payments/checkpaymentstatus.js +1 -1
  333. package/ts/payments/fundtransfer.js +1 -1
  334. package/ts/payments/getpaymentoptions.js +1 -1
  335. package/ts/payments/initiatepayment.js +1 -1
  336. package/ts/payments/initiaterefund.js +1 -1
  337. package/ts/payments/nachpresentation.js +1 -1
  338. package/ts/payments/nachregistration.js +1 -1
  339. package/ts/payments.js +1 -1
  340. package/ts/paymentsnode.js +1 -1
  341. package/ts/rewards/getoffers.js +1 -1
  342. package/ts/rewards/redeemoffer.js +1 -1
  343. package/ts/rewards.js +1 -1
  344. package/ts/stashcash/creditsc.js +1 -1
  345. package/ts/stashcash/debitsc.js +1 -1
  346. package/ts/stashcash/getearnings.js +1 -1
  347. package/ts/stashcash/getscbalance.js +1 -1
  348. package/ts/stashcash/getschistory.js +1 -1
  349. package/ts/stashcash/reversesc.js +1 -1
  350. package/ts/stashcash.js +1 -1
  351. package/ts/upi/addaccount.js +1 -1
  352. package/ts/upi/blockvpa.js +1 -1
  353. package/ts/upi/checkderegisterpermission.js +1 -1
  354. package/ts/upi/checktransactionstatus.js +1 -1
  355. package/ts/upi/declinemandate.js +1 -1
  356. package/ts/upi/declinetransaction.js +1 -1
  357. package/ts/upi/deregisterprofile.js +1 -1
  358. package/ts/upi/getaccountsbyprovider.js +1 -1
  359. package/ts/upi/getallmandates.js +1 -1
  360. package/ts/upi/getallupitxnsdetails.js +1 -1
  361. package/ts/upi/getavailablevpa.js +1 -1
  362. package/ts/upi/getlistedaccountproviders.js +1 -1
  363. package/ts/upi/getmandatedetails.js +1 -1
  364. package/ts/upi/getmandatehistory.js +1 -1
  365. package/ts/upi/getpendingcollectrequest.js +1 -1
  366. package/ts/upi/getprofile.js +1 -1
  367. package/ts/upi/getrecentcontacts.js +1 -1
  368. package/ts/upi/gettransactions.js +1 -1
  369. package/ts/upi/getupinumbers.js +1 -1
  370. package/ts/upi/getupireport.js +1 -1
  371. package/ts/upi/getupitxnstatustype.js +1 -1
  372. package/ts/upi/initiatemandateaction.js +1 -1
  373. package/ts/upi/initiatetransaction.js +1 -1
  374. package/ts/upi/listblockedvpa.js +1 -1
  375. package/ts/upi/unblockvpa.js +1 -1
  376. package/ts/upi/updatedevicebinding.js +1 -1
  377. package/ts/upi/upinumberoperations.js +1 -1
  378. package/ts/upi/validateifsc.js +1 -1
  379. package/ts/upi/validatevpa.js +1 -1
  380. package/ts/upi.js +1 -1
@@ -2,648 +2,23 @@
2
2
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
3
  // versions:
4
4
  // protoc-gen-ts_proto v1.181.2
5
- // protoc v6.32.1
5
+ // protoc v6.33.0
6
6
  // source: bbps/processwebhook.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
9
9
  };
10
10
  Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.BDTransactionResponse = exports.AuthSessionResponse = exports.TxnResponse = exports.BDTransactionRequest = exports.Metadata = exports.CustomerContext = exports.PaymentDetails = exports.PaymentAdditionalInfo = exports.protobufPackage = void 0;
11
+ exports.BDTransactionResponse = exports.AuthSessionResponse = exports.TxnResponse = exports.BDTransactionRequest = exports.protobufPackage = void 0;
12
12
  /* eslint-disable */
13
- const long_1 = __importDefault(require("long"));
14
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
15
14
  exports.protobufPackage = "bbps.processwebhook";
16
- function createBasePaymentAdditionalInfo() {
17
- return { additional_info1: undefined, additional_info2: undefined, additional_info3: undefined };
18
- }
19
- exports.PaymentAdditionalInfo = {
20
- encode(message, writer = minimal_1.default.Writer.create()) {
21
- if (message.additional_info1 !== undefined) {
22
- writer.uint32(10).string(message.additional_info1);
23
- }
24
- if (message.additional_info2 !== undefined) {
25
- writer.uint32(18).string(message.additional_info2);
26
- }
27
- if (message.additional_info3 !== undefined) {
28
- writer.uint32(26).string(message.additional_info3);
29
- }
30
- return writer;
31
- },
32
- decode(input, length) {
33
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
34
- let end = length === undefined ? reader.len : reader.pos + length;
35
- const message = createBasePaymentAdditionalInfo();
36
- while (reader.pos < end) {
37
- const tag = reader.uint32();
38
- switch (tag >>> 3) {
39
- case 1:
40
- if (tag !== 10) {
41
- break;
42
- }
43
- message.additional_info1 = reader.string();
44
- continue;
45
- case 2:
46
- if (tag !== 18) {
47
- break;
48
- }
49
- message.additional_info2 = reader.string();
50
- continue;
51
- case 3:
52
- if (tag !== 26) {
53
- break;
54
- }
55
- message.additional_info3 = reader.string();
56
- continue;
57
- }
58
- if ((tag & 7) === 4 || tag === 0) {
59
- break;
60
- }
61
- reader.skipType(tag & 7);
62
- }
63
- return message;
64
- },
65
- fromJSON(object) {
66
- return {
67
- additional_info1: isSet(object.additional_info1) ? globalThis.String(object.additional_info1) : undefined,
68
- additional_info2: isSet(object.additional_info2) ? globalThis.String(object.additional_info2) : undefined,
69
- additional_info3: isSet(object.additional_info3) ? globalThis.String(object.additional_info3) : undefined,
70
- };
71
- },
72
- toJSON(message) {
73
- const obj = {};
74
- if (message.additional_info1 !== undefined) {
75
- obj.additional_info1 = message.additional_info1;
76
- }
77
- if (message.additional_info2 !== undefined) {
78
- obj.additional_info2 = message.additional_info2;
79
- }
80
- if (message.additional_info3 !== undefined) {
81
- obj.additional_info3 = message.additional_info3;
82
- }
83
- return obj;
84
- },
85
- create(base) {
86
- return exports.PaymentAdditionalInfo.fromPartial(base ?? {});
87
- },
88
- fromPartial(object) {
89
- const message = createBasePaymentAdditionalInfo();
90
- message.additional_info1 = object.additional_info1 ?? undefined;
91
- message.additional_info2 = object.additional_info2 ?? undefined;
92
- message.additional_info3 = object.additional_info3 ?? undefined;
93
- return message;
94
- },
95
- };
96
- function createBasePaymentDetails() {
97
- return {
98
- method: undefined,
99
- pg_txn_id: undefined,
100
- bank_ref_no: undefined,
101
- settled_at: undefined,
102
- remitter_name: undefined,
103
- txn_process_type: undefined,
104
- bank_id: undefined,
105
- payment_category: undefined,
106
- item_code: undefined,
107
- upi_vpa: undefined,
108
- upi_masked_vpa: undefined,
109
- card_type: undefined,
110
- card_masked: undefined,
111
- card_end: undefined,
112
- card_issuer: undefined,
113
- card_network: undefined,
114
- auth_code: undefined,
115
- account_number: undefined,
116
- ifsc: undefined,
117
- bank_name: undefined,
118
- additional_info: undefined,
119
- };
120
- }
121
- exports.PaymentDetails = {
122
- encode(message, writer = minimal_1.default.Writer.create()) {
123
- if (message.method !== undefined) {
124
- writer.uint32(10).string(message.method);
125
- }
126
- if (message.pg_txn_id !== undefined) {
127
- writer.uint32(18).string(message.pg_txn_id);
128
- }
129
- if (message.bank_ref_no !== undefined) {
130
- writer.uint32(26).string(message.bank_ref_no);
131
- }
132
- if (message.settled_at !== undefined) {
133
- writer.uint32(34).string(message.settled_at);
134
- }
135
- if (message.remitter_name !== undefined) {
136
- writer.uint32(42).string(message.remitter_name);
137
- }
138
- if (message.txn_process_type !== undefined) {
139
- writer.uint32(50).string(message.txn_process_type);
140
- }
141
- if (message.bank_id !== undefined) {
142
- writer.uint32(58).string(message.bank_id);
143
- }
144
- if (message.payment_category !== undefined) {
145
- writer.uint32(66).string(message.payment_category);
146
- }
147
- if (message.item_code !== undefined) {
148
- writer.uint32(74).string(message.item_code);
149
- }
150
- if (message.upi_vpa !== undefined) {
151
- writer.uint32(82).string(message.upi_vpa);
152
- }
153
- if (message.upi_masked_vpa !== undefined) {
154
- writer.uint32(90).string(message.upi_masked_vpa);
155
- }
156
- if (message.card_type !== undefined) {
157
- writer.uint32(98).string(message.card_type);
158
- }
159
- if (message.card_masked !== undefined) {
160
- writer.uint32(106).string(message.card_masked);
161
- }
162
- if (message.card_end !== undefined) {
163
- writer.uint32(114).string(message.card_end);
164
- }
165
- if (message.card_issuer !== undefined) {
166
- writer.uint32(122).string(message.card_issuer);
167
- }
168
- if (message.card_network !== undefined) {
169
- writer.uint32(130).string(message.card_network);
170
- }
171
- if (message.auth_code !== undefined) {
172
- writer.uint32(138).string(message.auth_code);
173
- }
174
- if (message.account_number !== undefined) {
175
- writer.uint32(146).string(message.account_number);
176
- }
177
- if (message.ifsc !== undefined) {
178
- writer.uint32(154).string(message.ifsc);
179
- }
180
- if (message.bank_name !== undefined) {
181
- writer.uint32(162).string(message.bank_name);
182
- }
183
- if (message.additional_info !== undefined) {
184
- exports.PaymentAdditionalInfo.encode(message.additional_info, writer.uint32(170).fork()).ldelim();
185
- }
186
- return writer;
187
- },
188
- decode(input, length) {
189
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
190
- let end = length === undefined ? reader.len : reader.pos + length;
191
- const message = createBasePaymentDetails();
192
- while (reader.pos < end) {
193
- const tag = reader.uint32();
194
- switch (tag >>> 3) {
195
- case 1:
196
- if (tag !== 10) {
197
- break;
198
- }
199
- message.method = reader.string();
200
- continue;
201
- case 2:
202
- if (tag !== 18) {
203
- break;
204
- }
205
- message.pg_txn_id = reader.string();
206
- continue;
207
- case 3:
208
- if (tag !== 26) {
209
- break;
210
- }
211
- message.bank_ref_no = reader.string();
212
- continue;
213
- case 4:
214
- if (tag !== 34) {
215
- break;
216
- }
217
- message.settled_at = reader.string();
218
- continue;
219
- case 5:
220
- if (tag !== 42) {
221
- break;
222
- }
223
- message.remitter_name = reader.string();
224
- continue;
225
- case 6:
226
- if (tag !== 50) {
227
- break;
228
- }
229
- message.txn_process_type = reader.string();
230
- continue;
231
- case 7:
232
- if (tag !== 58) {
233
- break;
234
- }
235
- message.bank_id = reader.string();
236
- continue;
237
- case 8:
238
- if (tag !== 66) {
239
- break;
240
- }
241
- message.payment_category = reader.string();
242
- continue;
243
- case 9:
244
- if (tag !== 74) {
245
- break;
246
- }
247
- message.item_code = reader.string();
248
- continue;
249
- case 10:
250
- if (tag !== 82) {
251
- break;
252
- }
253
- message.upi_vpa = reader.string();
254
- continue;
255
- case 11:
256
- if (tag !== 90) {
257
- break;
258
- }
259
- message.upi_masked_vpa = reader.string();
260
- continue;
261
- case 12:
262
- if (tag !== 98) {
263
- break;
264
- }
265
- message.card_type = reader.string();
266
- continue;
267
- case 13:
268
- if (tag !== 106) {
269
- break;
270
- }
271
- message.card_masked = reader.string();
272
- continue;
273
- case 14:
274
- if (tag !== 114) {
275
- break;
276
- }
277
- message.card_end = reader.string();
278
- continue;
279
- case 15:
280
- if (tag !== 122) {
281
- break;
282
- }
283
- message.card_issuer = reader.string();
284
- continue;
285
- case 16:
286
- if (tag !== 130) {
287
- break;
288
- }
289
- message.card_network = reader.string();
290
- continue;
291
- case 17:
292
- if (tag !== 138) {
293
- break;
294
- }
295
- message.auth_code = reader.string();
296
- continue;
297
- case 18:
298
- if (tag !== 146) {
299
- break;
300
- }
301
- message.account_number = reader.string();
302
- continue;
303
- case 19:
304
- if (tag !== 154) {
305
- break;
306
- }
307
- message.ifsc = reader.string();
308
- continue;
309
- case 20:
310
- if (tag !== 162) {
311
- break;
312
- }
313
- message.bank_name = reader.string();
314
- continue;
315
- case 21:
316
- if (tag !== 170) {
317
- break;
318
- }
319
- message.additional_info = exports.PaymentAdditionalInfo.decode(reader, reader.uint32());
320
- continue;
321
- }
322
- if ((tag & 7) === 4 || tag === 0) {
323
- break;
324
- }
325
- reader.skipType(tag & 7);
326
- }
327
- return message;
328
- },
329
- fromJSON(object) {
330
- return {
331
- method: isSet(object.method) ? globalThis.String(object.method) : undefined,
332
- pg_txn_id: isSet(object.pg_txn_id) ? globalThis.String(object.pg_txn_id) : undefined,
333
- bank_ref_no: isSet(object.bank_ref_no) ? globalThis.String(object.bank_ref_no) : undefined,
334
- settled_at: isSet(object.settled_at) ? globalThis.String(object.settled_at) : undefined,
335
- remitter_name: isSet(object.remitter_name) ? globalThis.String(object.remitter_name) : undefined,
336
- txn_process_type: isSet(object.txn_process_type) ? globalThis.String(object.txn_process_type) : undefined,
337
- bank_id: isSet(object.bank_id) ? globalThis.String(object.bank_id) : undefined,
338
- payment_category: isSet(object.payment_category) ? globalThis.String(object.payment_category) : undefined,
339
- item_code: isSet(object.item_code) ? globalThis.String(object.item_code) : undefined,
340
- upi_vpa: isSet(object.upi_vpa) ? globalThis.String(object.upi_vpa) : undefined,
341
- upi_masked_vpa: isSet(object.upi_masked_vpa) ? globalThis.String(object.upi_masked_vpa) : undefined,
342
- card_type: isSet(object.card_type) ? globalThis.String(object.card_type) : undefined,
343
- card_masked: isSet(object.card_masked) ? globalThis.String(object.card_masked) : undefined,
344
- card_end: isSet(object.card_end) ? globalThis.String(object.card_end) : undefined,
345
- card_issuer: isSet(object.card_issuer) ? globalThis.String(object.card_issuer) : undefined,
346
- card_network: isSet(object.card_network) ? globalThis.String(object.card_network) : undefined,
347
- auth_code: isSet(object.auth_code) ? globalThis.String(object.auth_code) : undefined,
348
- account_number: isSet(object.account_number) ? globalThis.String(object.account_number) : undefined,
349
- ifsc: isSet(object.ifsc) ? globalThis.String(object.ifsc) : undefined,
350
- bank_name: isSet(object.bank_name) ? globalThis.String(object.bank_name) : undefined,
351
- additional_info: isSet(object.additional_info)
352
- ? exports.PaymentAdditionalInfo.fromJSON(object.additional_info)
353
- : undefined,
354
- };
355
- },
356
- toJSON(message) {
357
- const obj = {};
358
- if (message.method !== undefined) {
359
- obj.method = message.method;
360
- }
361
- if (message.pg_txn_id !== undefined) {
362
- obj.pg_txn_id = message.pg_txn_id;
363
- }
364
- if (message.bank_ref_no !== undefined) {
365
- obj.bank_ref_no = message.bank_ref_no;
366
- }
367
- if (message.settled_at !== undefined) {
368
- obj.settled_at = message.settled_at;
369
- }
370
- if (message.remitter_name !== undefined) {
371
- obj.remitter_name = message.remitter_name;
372
- }
373
- if (message.txn_process_type !== undefined) {
374
- obj.txn_process_type = message.txn_process_type;
375
- }
376
- if (message.bank_id !== undefined) {
377
- obj.bank_id = message.bank_id;
378
- }
379
- if (message.payment_category !== undefined) {
380
- obj.payment_category = message.payment_category;
381
- }
382
- if (message.item_code !== undefined) {
383
- obj.item_code = message.item_code;
384
- }
385
- if (message.upi_vpa !== undefined) {
386
- obj.upi_vpa = message.upi_vpa;
387
- }
388
- if (message.upi_masked_vpa !== undefined) {
389
- obj.upi_masked_vpa = message.upi_masked_vpa;
390
- }
391
- if (message.card_type !== undefined) {
392
- obj.card_type = message.card_type;
393
- }
394
- if (message.card_masked !== undefined) {
395
- obj.card_masked = message.card_masked;
396
- }
397
- if (message.card_end !== undefined) {
398
- obj.card_end = message.card_end;
399
- }
400
- if (message.card_issuer !== undefined) {
401
- obj.card_issuer = message.card_issuer;
402
- }
403
- if (message.card_network !== undefined) {
404
- obj.card_network = message.card_network;
405
- }
406
- if (message.auth_code !== undefined) {
407
- obj.auth_code = message.auth_code;
408
- }
409
- if (message.account_number !== undefined) {
410
- obj.account_number = message.account_number;
411
- }
412
- if (message.ifsc !== undefined) {
413
- obj.ifsc = message.ifsc;
414
- }
415
- if (message.bank_name !== undefined) {
416
- obj.bank_name = message.bank_name;
417
- }
418
- if (message.additional_info !== undefined) {
419
- obj.additional_info = exports.PaymentAdditionalInfo.toJSON(message.additional_info);
420
- }
421
- return obj;
422
- },
423
- create(base) {
424
- return exports.PaymentDetails.fromPartial(base ?? {});
425
- },
426
- fromPartial(object) {
427
- const message = createBasePaymentDetails();
428
- message.method = object.method ?? undefined;
429
- message.pg_txn_id = object.pg_txn_id ?? undefined;
430
- message.bank_ref_no = object.bank_ref_no ?? undefined;
431
- message.settled_at = object.settled_at ?? undefined;
432
- message.remitter_name = object.remitter_name ?? undefined;
433
- message.txn_process_type = object.txn_process_type ?? undefined;
434
- message.bank_id = object.bank_id ?? undefined;
435
- message.payment_category = object.payment_category ?? undefined;
436
- message.item_code = object.item_code ?? undefined;
437
- message.upi_vpa = object.upi_vpa ?? undefined;
438
- message.upi_masked_vpa = object.upi_masked_vpa ?? undefined;
439
- message.card_type = object.card_type ?? undefined;
440
- message.card_masked = object.card_masked ?? undefined;
441
- message.card_end = object.card_end ?? undefined;
442
- message.card_issuer = object.card_issuer ?? undefined;
443
- message.card_network = object.card_network ?? undefined;
444
- message.auth_code = object.auth_code ?? undefined;
445
- message.account_number = object.account_number ?? undefined;
446
- message.ifsc = object.ifsc ?? undefined;
447
- message.bank_name = object.bank_name ?? undefined;
448
- message.additional_info = (object.additional_info !== undefined && object.additional_info !== null)
449
- ? exports.PaymentAdditionalInfo.fromPartial(object.additional_info)
450
- : undefined;
451
- return message;
452
- },
453
- };
454
- function createBaseCustomerContext() {
455
- return { customer_id: undefined, email: undefined };
456
- }
457
- exports.CustomerContext = {
458
- encode(message, writer = minimal_1.default.Writer.create()) {
459
- if (message.customer_id !== undefined) {
460
- writer.uint32(10).string(message.customer_id);
461
- }
462
- if (message.email !== undefined) {
463
- writer.uint32(18).string(message.email);
464
- }
465
- return writer;
466
- },
467
- decode(input, length) {
468
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
469
- let end = length === undefined ? reader.len : reader.pos + length;
470
- const message = createBaseCustomerContext();
471
- while (reader.pos < end) {
472
- const tag = reader.uint32();
473
- switch (tag >>> 3) {
474
- case 1:
475
- if (tag !== 10) {
476
- break;
477
- }
478
- message.customer_id = reader.string();
479
- continue;
480
- case 2:
481
- if (tag !== 18) {
482
- break;
483
- }
484
- message.email = reader.string();
485
- continue;
486
- }
487
- if ((tag & 7) === 4 || tag === 0) {
488
- break;
489
- }
490
- reader.skipType(tag & 7);
491
- }
492
- return message;
493
- },
494
- fromJSON(object) {
495
- return {
496
- customer_id: isSet(object.customer_id) ? globalThis.String(object.customer_id) : undefined,
497
- email: isSet(object.email) ? globalThis.String(object.email) : undefined,
498
- };
499
- },
500
- toJSON(message) {
501
- const obj = {};
502
- if (message.customer_id !== undefined) {
503
- obj.customer_id = message.customer_id;
504
- }
505
- if (message.email !== undefined) {
506
- obj.email = message.email;
507
- }
508
- return obj;
509
- },
510
- create(base) {
511
- return exports.CustomerContext.fromPartial(base ?? {});
512
- },
513
- fromPartial(object) {
514
- const message = createBaseCustomerContext();
515
- message.customer_id = object.customer_id ?? undefined;
516
- message.email = object.email ?? undefined;
517
- return message;
518
- },
519
- };
520
- function createBaseMetadata() {
521
- return { source: undefined, campaign: undefined };
522
- }
523
- exports.Metadata = {
524
- encode(message, writer = minimal_1.default.Writer.create()) {
525
- if (message.source !== undefined) {
526
- writer.uint32(10).string(message.source);
527
- }
528
- if (message.campaign !== undefined) {
529
- writer.uint32(18).string(message.campaign);
530
- }
531
- return writer;
532
- },
533
- decode(input, length) {
534
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
535
- let end = length === undefined ? reader.len : reader.pos + length;
536
- const message = createBaseMetadata();
537
- while (reader.pos < end) {
538
- const tag = reader.uint32();
539
- switch (tag >>> 3) {
540
- case 1:
541
- if (tag !== 10) {
542
- break;
543
- }
544
- message.source = reader.string();
545
- continue;
546
- case 2:
547
- if (tag !== 18) {
548
- break;
549
- }
550
- message.campaign = reader.string();
551
- continue;
552
- }
553
- if ((tag & 7) === 4 || tag === 0) {
554
- break;
555
- }
556
- reader.skipType(tag & 7);
557
- }
558
- return message;
559
- },
560
- fromJSON(object) {
561
- return {
562
- source: isSet(object.source) ? globalThis.String(object.source) : undefined,
563
- campaign: isSet(object.campaign) ? globalThis.String(object.campaign) : undefined,
564
- };
565
- },
566
- toJSON(message) {
567
- const obj = {};
568
- if (message.source !== undefined) {
569
- obj.source = message.source;
570
- }
571
- if (message.campaign !== undefined) {
572
- obj.campaign = message.campaign;
573
- }
574
- return obj;
575
- },
576
- create(base) {
577
- return exports.Metadata.fromPartial(base ?? {});
578
- },
579
- fromPartial(object) {
580
- const message = createBaseMetadata();
581
- message.source = object.source ?? undefined;
582
- message.campaign = object.campaign ?? undefined;
583
- return message;
584
- },
585
- };
586
15
  function createBaseBDTransactionRequest() {
587
- return {
588
- transaction_id: undefined,
589
- client_id: undefined,
590
- order_id: undefined,
591
- amount_minor: undefined,
592
- charged_total_minor: undefined,
593
- currency: undefined,
594
- status: undefined,
595
- final: undefined,
596
- transaction_date: undefined,
597
- payment_details: undefined,
598
- customer_ctx: undefined,
599
- metadata: undefined,
600
- timestamp: undefined,
601
- signature: undefined,
602
- };
16
+ return { metadata: "" };
603
17
  }
604
18
  exports.BDTransactionRequest = {
605
19
  encode(message, writer = minimal_1.default.Writer.create()) {
606
- if (message.transaction_id !== undefined) {
607
- writer.uint32(10).string(message.transaction_id);
608
- }
609
- if (message.client_id !== undefined) {
610
- writer.uint32(18).string(message.client_id);
611
- }
612
- if (message.order_id !== undefined) {
613
- writer.uint32(26).string(message.order_id);
614
- }
615
- if (message.amount_minor !== undefined) {
616
- writer.uint32(32).int64(message.amount_minor);
617
- }
618
- if (message.charged_total_minor !== undefined) {
619
- writer.uint32(40).int64(message.charged_total_minor);
620
- }
621
- if (message.currency !== undefined) {
622
- writer.uint32(50).string(message.currency);
623
- }
624
- if (message.status !== undefined) {
625
- writer.uint32(58).string(message.status);
626
- }
627
- if (message.final !== undefined) {
628
- writer.uint32(64).bool(message.final);
629
- }
630
- if (message.transaction_date !== undefined) {
631
- writer.uint32(74).string(message.transaction_date);
632
- }
633
- if (message.payment_details !== undefined) {
634
- exports.PaymentDetails.encode(message.payment_details, writer.uint32(82).fork()).ldelim();
635
- }
636
- if (message.customer_ctx !== undefined) {
637
- exports.CustomerContext.encode(message.customer_ctx, writer.uint32(90).fork()).ldelim();
638
- }
639
- if (message.metadata !== undefined) {
640
- exports.Metadata.encode(message.metadata, writer.uint32(98).fork()).ldelim();
641
- }
642
- if (message.timestamp !== undefined) {
643
- writer.uint32(106).string(message.timestamp);
644
- }
645
- if (message.signature !== undefined) {
646
- writer.uint32(114).string(message.signature);
20
+ if (message.metadata !== "") {
21
+ writer.uint32(10).string(message.metadata);
647
22
  }
648
23
  return writer;
649
24
  },
@@ -658,85 +33,7 @@ exports.BDTransactionRequest = {
658
33
  if (tag !== 10) {
659
34
  break;
660
35
  }
661
- message.transaction_id = reader.string();
662
- continue;
663
- case 2:
664
- if (tag !== 18) {
665
- break;
666
- }
667
- message.client_id = reader.string();
668
- continue;
669
- case 3:
670
- if (tag !== 26) {
671
- break;
672
- }
673
- message.order_id = reader.string();
674
- continue;
675
- case 4:
676
- if (tag !== 32) {
677
- break;
678
- }
679
- message.amount_minor = longToNumber(reader.int64());
680
- continue;
681
- case 5:
682
- if (tag !== 40) {
683
- break;
684
- }
685
- message.charged_total_minor = longToNumber(reader.int64());
686
- continue;
687
- case 6:
688
- if (tag !== 50) {
689
- break;
690
- }
691
- message.currency = reader.string();
692
- continue;
693
- case 7:
694
- if (tag !== 58) {
695
- break;
696
- }
697
- message.status = reader.string();
698
- continue;
699
- case 8:
700
- if (tag !== 64) {
701
- break;
702
- }
703
- message.final = reader.bool();
704
- continue;
705
- case 9:
706
- if (tag !== 74) {
707
- break;
708
- }
709
- message.transaction_date = reader.string();
710
- continue;
711
- case 10:
712
- if (tag !== 82) {
713
- break;
714
- }
715
- message.payment_details = exports.PaymentDetails.decode(reader, reader.uint32());
716
- continue;
717
- case 11:
718
- if (tag !== 90) {
719
- break;
720
- }
721
- message.customer_ctx = exports.CustomerContext.decode(reader, reader.uint32());
722
- continue;
723
- case 12:
724
- if (tag !== 98) {
725
- break;
726
- }
727
- message.metadata = exports.Metadata.decode(reader, reader.uint32());
728
- continue;
729
- case 13:
730
- if (tag !== 106) {
731
- break;
732
- }
733
- message.timestamp = reader.string();
734
- continue;
735
- case 14:
736
- if (tag !== 114) {
737
- break;
738
- }
739
- message.signature = reader.string();
36
+ message.metadata = reader.string();
740
37
  continue;
741
38
  }
742
39
  if ((tag & 7) === 4 || tag === 0) {
@@ -747,68 +44,12 @@ exports.BDTransactionRequest = {
747
44
  return message;
748
45
  },
749
46
  fromJSON(object) {
750
- return {
751
- transaction_id: isSet(object.transaction_id) ? globalThis.String(object.transaction_id) : undefined,
752
- client_id: isSet(object.client_id) ? globalThis.String(object.client_id) : undefined,
753
- order_id: isSet(object.order_id) ? globalThis.String(object.order_id) : undefined,
754
- amount_minor: isSet(object.amount_minor) ? globalThis.Number(object.amount_minor) : undefined,
755
- charged_total_minor: isSet(object.charged_total_minor)
756
- ? globalThis.Number(object.charged_total_minor)
757
- : undefined,
758
- currency: isSet(object.currency) ? globalThis.String(object.currency) : undefined,
759
- status: isSet(object.status) ? globalThis.String(object.status) : undefined,
760
- final: isSet(object.final) ? globalThis.Boolean(object.final) : undefined,
761
- transaction_date: isSet(object.transaction_date) ? globalThis.String(object.transaction_date) : undefined,
762
- payment_details: isSet(object.payment_details) ? exports.PaymentDetails.fromJSON(object.payment_details) : undefined,
763
- customer_ctx: isSet(object.customer_ctx) ? exports.CustomerContext.fromJSON(object.customer_ctx) : undefined,
764
- metadata: isSet(object.metadata) ? exports.Metadata.fromJSON(object.metadata) : undefined,
765
- timestamp: isSet(object.timestamp) ? globalThis.String(object.timestamp) : undefined,
766
- signature: isSet(object.signature) ? globalThis.String(object.signature) : undefined,
767
- };
47
+ return { metadata: isSet(object.metadata) ? globalThis.String(object.metadata) : "" };
768
48
  },
769
49
  toJSON(message) {
770
50
  const obj = {};
771
- if (message.transaction_id !== undefined) {
772
- obj.transaction_id = message.transaction_id;
773
- }
774
- if (message.client_id !== undefined) {
775
- obj.client_id = message.client_id;
776
- }
777
- if (message.order_id !== undefined) {
778
- obj.order_id = message.order_id;
779
- }
780
- if (message.amount_minor !== undefined) {
781
- obj.amount_minor = Math.round(message.amount_minor);
782
- }
783
- if (message.charged_total_minor !== undefined) {
784
- obj.charged_total_minor = Math.round(message.charged_total_minor);
785
- }
786
- if (message.currency !== undefined) {
787
- obj.currency = message.currency;
788
- }
789
- if (message.status !== undefined) {
790
- obj.status = message.status;
791
- }
792
- if (message.final !== undefined) {
793
- obj.final = message.final;
794
- }
795
- if (message.transaction_date !== undefined) {
796
- obj.transaction_date = message.transaction_date;
797
- }
798
- if (message.payment_details !== undefined) {
799
- obj.payment_details = exports.PaymentDetails.toJSON(message.payment_details);
800
- }
801
- if (message.customer_ctx !== undefined) {
802
- obj.customer_ctx = exports.CustomerContext.toJSON(message.customer_ctx);
803
- }
804
- if (message.metadata !== undefined) {
805
- obj.metadata = exports.Metadata.toJSON(message.metadata);
806
- }
807
- if (message.timestamp !== undefined) {
808
- obj.timestamp = message.timestamp;
809
- }
810
- if (message.signature !== undefined) {
811
- obj.signature = message.signature;
51
+ if (message.metadata !== "") {
52
+ obj.metadata = message.metadata;
812
53
  }
813
54
  return obj;
814
55
  },
@@ -817,26 +58,7 @@ exports.BDTransactionRequest = {
817
58
  },
818
59
  fromPartial(object) {
819
60
  const message = createBaseBDTransactionRequest();
820
- message.transaction_id = object.transaction_id ?? undefined;
821
- message.client_id = object.client_id ?? undefined;
822
- message.order_id = object.order_id ?? undefined;
823
- message.amount_minor = object.amount_minor ?? undefined;
824
- message.charged_total_minor = object.charged_total_minor ?? undefined;
825
- message.currency = object.currency ?? undefined;
826
- message.status = object.status ?? undefined;
827
- message.final = object.final ?? undefined;
828
- message.transaction_date = object.transaction_date ?? undefined;
829
- message.payment_details = (object.payment_details !== undefined && object.payment_details !== null)
830
- ? exports.PaymentDetails.fromPartial(object.payment_details)
831
- : undefined;
832
- message.customer_ctx = (object.customer_ctx !== undefined && object.customer_ctx !== null)
833
- ? exports.CustomerContext.fromPartial(object.customer_ctx)
834
- : undefined;
835
- message.metadata = (object.metadata !== undefined && object.metadata !== null)
836
- ? exports.Metadata.fromPartial(object.metadata)
837
- : undefined;
838
- message.timestamp = object.timestamp ?? undefined;
839
- message.signature = object.signature ?? undefined;
61
+ message.metadata = object.metadata ?? "";
840
62
  return message;
841
63
  },
842
64
  };
@@ -1241,19 +463,6 @@ exports.BDTransactionResponse = {
1241
463
  return message;
1242
464
  },
1243
465
  };
1244
- function longToNumber(long) {
1245
- if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
1246
- throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
1247
- }
1248
- if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
1249
- throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
1250
- }
1251
- return long.toNumber();
1252
- }
1253
- if (minimal_1.default.util.Long !== long_1.default) {
1254
- minimal_1.default.util.Long = long_1.default;
1255
- minimal_1.default.configure();
1256
- }
1257
466
  function isSet(value) {
1258
467
  return value !== null && value !== undefined;
1259
468
  }