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