@stashfin/grpc 1.2.764 → 1.2.765

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 (363) hide show
  1. package/package.json +1 -1
  2. package/ts/banking/aa/getaasupport.js +2 -2
  3. package/ts/banking/aa/getbanklist.js +2 -2
  4. package/ts/banking/aa/getcustomerbank.js +2 -2
  5. package/ts/banking/aa/getrpdlink.js +2 -2
  6. package/ts/banking/aa/initiate.js +2 -2
  7. package/ts/banking/aa/initiatepennydrop.js +2 -2
  8. package/ts/banking/aa/netbankinginitiate.js +2 -2
  9. package/ts/banking/aa/pollingrpd.js +2 -2
  10. package/ts/banking.d.ts +16 -16
  11. package/ts/banking.js +2 -2
  12. package/ts/bbps/getbills.js +2 -2
  13. package/ts/bbps.d.ts +2 -2
  14. package/ts/bbps.js +2 -2
  15. package/ts/bureau/getbasicdetails.js +2 -2
  16. package/ts/bureau/getbureauscore.js +2 -2
  17. package/ts/bureau/getcibilwebtoken.js +2 -2
  18. package/ts/bureau/getdbrcolending.js +2 -2
  19. package/ts/bureau/getdemogs.js +2 -2
  20. package/ts/bureau/getobligation.js +2 -2
  21. package/ts/bureau/getreport.js +2 -2
  22. package/ts/bureau/ischrenabled.js +2 -2
  23. package/ts/bureau.d.ts +16 -16
  24. package/ts/bureau.js +2 -2
  25. package/ts/ckyc/ckycdownload.js +2 -2
  26. package/ts/ckyc/ckycsearch.js +2 -2
  27. package/ts/ckyc.d.ts +4 -4
  28. package/ts/ckyc.js +2 -2
  29. package/ts/colender/disburseLoan.js +2 -2
  30. package/ts/colender/forecloseLoan.js +2 -2
  31. package/ts/colender/repayLoan.js +2 -2
  32. package/ts/colender.d.ts +6 -6
  33. package/ts/colender.js +2 -2
  34. package/ts/communications/bureauidwhatsapp.d.ts +38 -0
  35. package/ts/communications/bureauidwhatsapp.js +161 -0
  36. package/ts/communications.d.ts +28 -0
  37. package/ts/communications.js +24 -0
  38. package/ts/customers/aa/getaatxnstatus.js +2 -2
  39. package/ts/customers/aa/getbanklist.js +2 -2
  40. package/ts/customers/aa/initiate.js +2 -2
  41. package/ts/customers/accidentprotectionplan.js +2 -2
  42. package/ts/customers/addaddress.js +2 -2
  43. package/ts/customers/addbankaccountdetails.js +2 -2
  44. package/ts/customers/addfathersname.js +2 -2
  45. package/ts/customers/addgstnumber.js +2 -2
  46. package/ts/customers/addmoredetails.js +2 -2
  47. package/ts/customers/addsuspendedcustomer.js +2 -2
  48. package/ts/customers/adduserapps.d.ts +2 -2
  49. package/ts/customers/adduserapps.js +2 -2
  50. package/ts/customers/applyclijourney.js +2 -2
  51. package/ts/customers/bulksms.js +2 -2
  52. package/ts/customers/cb/cbapplicationrejecteddata.js +2 -2
  53. package/ts/customers/cb/cbpaynow.js +2 -2
  54. package/ts/customers/cb/cbsignup.js +2 -2
  55. package/ts/customers/cb/getcbtxnstatus.js +2 -2
  56. package/ts/customers/cb/getcreditbuilder.js +2 -2
  57. package/ts/customers/cb/getpaymentsummary.js +2 -2
  58. package/ts/customers/cb/insurancedetails.js +2 -2
  59. package/ts/customers/cb/lesscsimprove.js +2 -2
  60. package/ts/customers/cb/morecsimprove.js +2 -2
  61. package/ts/customers/cb/paynow.d.ts +36 -0
  62. package/ts/customers/cb/paynow.js +133 -0
  63. package/ts/customers/cb/savecreditbuilder.js +2 -2
  64. package/ts/customers/cb/updatecbstandalonecancellation.js +2 -2
  65. package/ts/customers/cb/updatecbstandaloneconfirmation.js +2 -2
  66. package/ts/customers/cb/updatecbstandalonejourney.js +2 -2
  67. package/ts/customers/cb/updatecbtxnstatus.js +2 -2
  68. package/ts/customers/changempin.js +2 -2
  69. package/ts/customers/createcustomerreference.js +2 -2
  70. package/ts/customers/createvanumber.js +2 -2
  71. package/ts/customers/customerinfo.js +2 -2
  72. package/ts/customers/deletedocument.js +2 -2
  73. package/ts/customers/deleteprofile.js +2 -2
  74. package/ts/customers/disablempin.js +2 -2
  75. package/ts/customers/enach/gettxnstatus.js +2 -2
  76. package/ts/customers/enach/getweburl.js +2 -2
  77. package/ts/customers/enach/updateenachtxnstatus.js +2 -2
  78. package/ts/customers/enach/updatetxnstatus.d.ts +36 -0
  79. package/ts/customers/enach/updatetxnstatus.js +133 -0
  80. package/ts/customers/fetchrcprofile.js +2 -2
  81. package/ts/customers/floatingvideos.js +2 -2
  82. package/ts/customers/forceupdate.js +2 -2
  83. package/ts/customers/forgotmpin.js +2 -2
  84. package/ts/customers/forgotmpinverify.js +2 -2
  85. package/ts/customers/freedom/addressconfirmation.js +2 -2
  86. package/ts/customers/freedom/freedompaynow.js +2 -2
  87. package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
  88. package/ts/customers/freedom/updateadditionalverification.js +2 -2
  89. package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
  90. package/ts/customers/getaddresslist.js +2 -2
  91. package/ts/customers/getappsubmittedscreen.js +2 -2
  92. package/ts/customers/getbankaccountdetails.js +2 -2
  93. package/ts/customers/getbasicinfo.js +2 -2
  94. package/ts/customers/getcities.js +2 -2
  95. package/ts/customers/getclistatus.js +2 -2
  96. package/ts/customers/getcompanyaccdetails.js +2 -2
  97. package/ts/customers/getcustomerbyid.js +2 -2
  98. package/ts/customers/getcustomerdetailsbymobile.js +2 -2
  99. package/ts/customers/getdashboard.js +2 -2
  100. package/ts/customers/getdashboardmaincard.js +2 -2
  101. package/ts/customers/getdocuments.js +2 -2
  102. package/ts/customers/getglobalpopups.js +2 -2
  103. package/ts/customers/getlimit.js +2 -2
  104. package/ts/customers/getloclimit.js +2 -2
  105. package/ts/customers/getmessengermode.js +2 -2
  106. package/ts/customers/getoccupationlist.js +2 -2
  107. package/ts/customers/getpaymentoptions.js +2 -2
  108. package/ts/customers/getprofessionalinfo.js +2 -2
  109. package/ts/customers/getprofile.js +2 -2
  110. package/ts/customers/getselfieetxnid.js +2 -2
  111. package/ts/customers/getstates.js +2 -2
  112. package/ts/customers/getstep.js +2 -2
  113. package/ts/customers/getsyncstatus.js +2 -2
  114. package/ts/customers/getvanumber.js +2 -2
  115. package/ts/customers/lamf/applylamf.js +2 -2
  116. package/ts/customers/lamf/sendlamfotp.js +2 -2
  117. package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
  118. package/ts/customers/lamf/updatelamfjourney.d.ts +34 -0
  119. package/ts/customers/lamf/updatelamfjourney.js +104 -0
  120. package/ts/customers/lamf/verifylamfotp.js +2 -2
  121. package/ts/customers/lamf/verifylamfpledgeotp.js +2 -2
  122. package/ts/customers/logout.js +2 -2
  123. package/ts/customers/pd/getbanklist.js +2 -2
  124. package/ts/customers/pd/validatebankaccount.js +2 -2
  125. package/ts/customers/profilebasic.js +2 -2
  126. package/ts/customers/profileupdatetnc.js +2 -2
  127. package/ts/customers/resetbanner.js +2 -2
  128. package/ts/customers/restoreaccount.js +2 -2
  129. package/ts/customers/rpd/getrpdlink.js +2 -2
  130. package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
  131. package/ts/customers/rpd/mockpayment.js +2 -2
  132. package/ts/customers/saveappslist.js +2 -2
  133. package/ts/customers/savebasicdetails.js +2 -2
  134. package/ts/customers/savelimit.js +2 -2
  135. package/ts/customers/saveunlocklimit.js +2 -2
  136. package/ts/customers/sendotp.js +2 -2
  137. package/ts/customers/sendotptoemail.js +2 -2
  138. package/ts/customers/setmpin.js +2 -2
  139. package/ts/customers/skipscreen.js +2 -2
  140. package/ts/customers/submituploadeddocuments.js +2 -2
  141. package/ts/customers/syncdecisionengine.js +2 -2
  142. package/ts/customers/updatecategory.js +2 -2
  143. package/ts/customers/updatecongratulationstep.js +2 -2
  144. package/ts/customers/updatecustomerbyid.js +2 -2
  145. package/ts/customers/updatedlnumber.js +2 -2
  146. package/ts/customers/updatedob.js +2 -2
  147. package/ts/customers/updatelocstatus.js +2 -2
  148. package/ts/customers/updatemobilesendotp.js +2 -2
  149. package/ts/customers/updatemobileverifyotp.js +2 -2
  150. package/ts/customers/updateokyctxn.js +2 -2
  151. package/ts/customers/updatesanctionamount.js +2 -2
  152. package/ts/customers/updateselfieetxn.js +2 -2
  153. package/ts/customers/updatesyncstatus.js +2 -2
  154. package/ts/customers/updatevehiclenumber.js +2 -2
  155. package/ts/customers/uploaddocuments.js +2 -2
  156. package/ts/customers/validatepan.js +2 -2
  157. package/ts/customers/verifympin.js +2 -2
  158. package/ts/customers/verifyotp.js +2 -2
  159. package/ts/customers/verifyotptoemail.js +2 -2
  160. package/ts/customers.d.ts +238 -238
  161. package/ts/customers.js +2 -2
  162. package/ts/decisionengine/decisionengine.d.ts +40 -0
  163. package/ts/decisionengine/decisionengine.js +191 -0
  164. package/ts/decisionengine/decisionenginetrigger.js +2 -2
  165. package/ts/decisionengine/locdisbursalapproval.js +2 -2
  166. package/ts/decisionengine/saveconsent.js +2 -2
  167. package/ts/decisionengine.d.ts +6 -6
  168. package/ts/decisionengine.js +2 -2
  169. package/ts/deveqxcustomers.d.ts +30 -30
  170. package/ts/deveqxcustomers.js +2 -2
  171. package/ts/devupi.d.ts +54 -54
  172. package/ts/devupi.js +2 -2
  173. package/ts/documents/getagreement.js +2 -2
  174. package/ts/documents/getfinancialdoc.js +2 -2
  175. package/ts/documents.d.ts +4 -4
  176. package/ts/documents.js +2 -2
  177. package/ts/eqxcustomer.d.ts +44 -44
  178. package/ts/eqxcustomer.js +2 -2
  179. package/ts/eqxcustomers/authenticateuser.js +2 -2
  180. package/ts/eqxcustomers/creditguidance.js +2 -2
  181. package/ts/eqxcustomers/getbankaccount.js +2 -2
  182. package/ts/eqxcustomers/getcustomerbyid.js +2 -2
  183. package/ts/eqxcustomers/getcustomerbymobile.js +2 -2
  184. package/ts/eqxcustomers/getdashboard.js +2 -2
  185. package/ts/eqxcustomers/getdashboardmaincard.js +2 -2
  186. package/ts/eqxcustomers/getlandinghomepage.js +2 -2
  187. package/ts/eqxcustomers/getloanplans.js +2 -2
  188. package/ts/eqxcustomers/getnotifications.js +2 -2
  189. package/ts/eqxcustomers/getstashscorecustomerprofile.js +2 -2
  190. package/ts/eqxcustomers/gettnc.js +2 -2
  191. package/ts/eqxcustomers/gettokens.js +2 -2
  192. package/ts/eqxcustomers/iscustomerregistered.js +2 -2
  193. package/ts/eqxcustomers/sendotp.js +2 -2
  194. package/ts/eqxcustomers/truecallerlogin.js +2 -2
  195. package/ts/eqxcustomers/updatecustomer.js +2 -2
  196. package/ts/eqxcustomers/updatenotification.js +2 -2
  197. package/ts/eqxcustomers/updatepushid.js +2 -2
  198. package/ts/eqxcustomers/updatesubscriptionstatus.js +2 -2
  199. package/ts/eqxcustomers/verifyotp.js +2 -2
  200. package/ts/eqxcustomers/verifytoken.js +2 -2
  201. package/ts/example.d.ts +4 -4
  202. package/ts/example.js +2 -2
  203. package/ts/feepayments/getbanklist.js +2 -2
  204. package/ts/feepayments.d.ts +2 -2
  205. package/ts/feepayments.js +2 -2
  206. package/ts/growth/checkplanstatus.d.ts +48 -0
  207. package/ts/growth/checkplanstatus.js +200 -0
  208. package/ts/growth/getattachplandetails.d.ts +53 -0
  209. package/ts/growth/getattachplandetails.js +270 -0
  210. package/ts/growth/getchrpaymentstatus.d.ts +49 -0
  211. package/ts/growth/getchrpaymentstatus.js +213 -0
  212. package/ts/growth/getchrpdfurl.js +2 -2
  213. package/ts/growth/getchrplans.d.ts +49 -0
  214. package/ts/growth/getchrplans.js +212 -0
  215. package/ts/growth/getchrreport.d.ts +67 -0
  216. package/ts/growth/getchrreport.js +504 -0
  217. package/ts/growth/getchrreportdata.js +2 -2
  218. package/ts/growth/getchrsubscriptionplan.js +2 -2
  219. package/ts/growth/getchrvideourl.js +2 -2
  220. package/ts/growth/getcredithealthreport.d.ts +98 -0
  221. package/ts/growth/getcredithealthreport.js +617 -0
  222. package/ts/growth/initiatepayment.d.ts +52 -0
  223. package/ts/growth/initiatepayment.js +259 -0
  224. package/ts/growth/notifychrpayment.d.ts +42 -0
  225. package/ts/growth/notifychrpayment.js +219 -0
  226. package/ts/growth/processchrpayment.d.ts +39 -0
  227. package/ts/growth/processchrpayment.js +177 -0
  228. package/ts/growth.d.ts +8 -8
  229. package/ts/growth.js +2 -2
  230. package/ts/kyc/amldetails.js +2 -2
  231. package/ts/kyc/authbridgepancomprehend.js +2 -2
  232. package/ts/kyc/bureauidwhatsapp.js +2 -2
  233. package/ts/kyc/facematch.js +2 -2
  234. package/ts/kyc/fetchaadhaarbypan.js +2 -2
  235. package/ts/kyc/fetchemploymenthistory.js +2 -2
  236. package/ts/kyc/fetchuanlist.js +2 -2
  237. package/ts/kyc/getselfietxnid.js +2 -2
  238. package/ts/kyc/getselfieurl.js +2 -2
  239. package/ts/kyc/nsdlpanvalidate.js +2 -2
  240. package/ts/kyc/okyclinkhyperverge.d.ts +62 -0
  241. package/ts/kyc/okyclinkhyperverge.js +281 -0
  242. package/ts/kyc.d.ts +34 -20
  243. package/ts/kyc.js +12 -2
  244. package/ts/lamf/getloandetails.js +2 -2
  245. package/ts/lamf/submitotp.js +2 -2
  246. package/ts/lamf/validateuser.js +2 -2
  247. package/ts/lamf.d.ts +6 -6
  248. package/ts/lamf.js +2 -2
  249. package/ts/loans/addreference.js +2 -2
  250. package/ts/loans/amortization.js +2 -2
  251. package/ts/loans/approveloan.js +2 -2
  252. package/ts/loans/banklist.js +2 -2
  253. package/ts/loans/calculateemi.js +2 -2
  254. package/ts/loans/cbloan.js +2 -2
  255. package/ts/loans/createlamfloan.js +2 -2
  256. package/ts/loans/createpenalty.js +2 -2
  257. package/ts/loans/creditlimit.js +2 -2
  258. package/ts/loans/emimoredetails.js +2 -2
  259. package/ts/loans/fcppayment.js +2 -2
  260. package/ts/loans/forecloseamount.d.ts +36 -0
  261. package/ts/loans/forecloseamount.js +133 -0
  262. package/ts/loans/foreclosepayment.js +2 -2
  263. package/ts/loans/futurepaymentmoredetails.d.ts +51 -0
  264. package/ts/loans/futurepaymentmoredetails.js +243 -0
  265. package/ts/loans/getaddonslist.js +2 -2
  266. package/ts/loans/getbankdetails.js +2 -2
  267. package/ts/loans/getbilldetails.js +2 -2
  268. package/ts/loans/getcbloandetails.js +2 -2
  269. package/ts/loans/getchrdetails.js +2 -2
  270. package/ts/loans/getcustomerloanstatus.js +2 -2
  271. package/ts/loans/getforecloseamount.js +2 -2
  272. package/ts/loans/getloanbyid.js +2 -2
  273. package/ts/loans/getlocconfirms.js +2 -2
  274. package/ts/loans/getlocdetails.js +2 -2
  275. package/ts/loans/getlocdisburse.js +2 -2
  276. package/ts/loans/getloctenure.js +2 -2
  277. package/ts/loans/getlocwithdraw.js +2 -2
  278. package/ts/loans/getlocwithdrawform.js +2 -2
  279. package/ts/loans/getnextdueamount.js +2 -2
  280. package/ts/loans/getpaymentoptions.js +2 -2
  281. package/ts/loans/getpendingemiamount.js +2 -2
  282. package/ts/loans/getsetubilldetails.js +2 -2
  283. package/ts/loans/getsummarystaticfields.js +2 -2
  284. package/ts/loans/gettransactionstatus.js +2 -2
  285. package/ts/loans/getusedlimit.js +2 -2
  286. package/ts/loans/getvirtualaccountnumber.d.ts +35 -0
  287. package/ts/loans/getvirtualaccountnumber.js +117 -0
  288. package/ts/loans/getvirtualbankinfo.js +2 -2
  289. package/ts/loans/loansummary.js +2 -2
  290. package/ts/loans/locrequested.js +2 -2
  291. package/ts/loans/manualpaymentallocation.js +2 -2
  292. package/ts/loans/paymentallocation.js +2 -2
  293. package/ts/loans/paymenthistory.js +2 -2
  294. package/ts/loans/paynow.js +2 -2
  295. package/ts/loans/refund.js +2 -2
  296. package/ts/loans/restructureloan.js +2 -2
  297. package/ts/loans/rollback.js +2 -2
  298. package/ts/loans/rollbackextrapayment.d.ts +37 -0
  299. package/ts/loans/rollbackextrapayment.js +149 -0
  300. package/ts/loans/sendemail.js +2 -2
  301. package/ts/loans/sendnocemail.js +2 -2
  302. package/ts/loans/transactionlist.js +2 -2
  303. package/ts/loans/updatecollectionview.js +2 -2
  304. package/ts/loans/updateinstallments.js +2 -2
  305. package/ts/loans/updateloan.js +2 -2
  306. package/ts/loans/updatetransactionstatus.js +2 -2
  307. package/ts/loans.d.ts +100 -100
  308. package/ts/loans.js +2 -2
  309. package/ts/payments/checkpaymentstatus.js +2 -2
  310. package/ts/payments/fundtransfer.js +2 -2
  311. package/ts/payments/getpaymentoptions.js +2 -2
  312. package/ts/payments/initiatepayment.js +2 -2
  313. package/ts/payments/nachpresentation.js +2 -2
  314. package/ts/payments/nachregistration.js +2 -2
  315. package/ts/payments.d.ts +12 -12
  316. package/ts/payments.js +2 -2
  317. package/ts/paymentsnode.d.ts +12 -12
  318. package/ts/paymentsnode.js +2 -2
  319. package/ts/rewards/getoffers.js +2 -2
  320. package/ts/rewards/redeemoffer.js +2 -2
  321. package/ts/rewards.d.ts +4 -4
  322. package/ts/rewards.js +2 -2
  323. package/ts/stashcash/creditsc.js +2 -2
  324. package/ts/stashcash/debitsc.js +2 -2
  325. package/ts/stashcash/getearnings.js +2 -2
  326. package/ts/stashcash/getscbalance.js +2 -2
  327. package/ts/stashcash/getschistory.js +2 -2
  328. package/ts/stashcash/reversesc.js +2 -2
  329. package/ts/stashcash.d.ts +12 -12
  330. package/ts/stashcash.js +2 -2
  331. package/ts/upi/addaccount.js +2 -2
  332. package/ts/upi/blockvpa.js +2 -2
  333. package/ts/upi/checkderegisterpermission.js +2 -2
  334. package/ts/upi/checktransactionstatus.js +2 -2
  335. package/ts/upi/declinemandate.js +2 -2
  336. package/ts/upi/deregisterprofile.js +2 -2
  337. package/ts/upi/getaccountsbyprovider.js +2 -2
  338. package/ts/upi/getallmandates.js +2 -2
  339. package/ts/upi/getavailablevpa.js +2 -2
  340. package/ts/upi/getlistedaccountproviders.js +2 -2
  341. package/ts/upi/getmandatedetails.js +2 -2
  342. package/ts/upi/getmandatehistory.js +2 -2
  343. package/ts/upi/getpendingcollectrequest.js +2 -2
  344. package/ts/upi/getprofile.js +2 -2
  345. package/ts/upi/getrecentcontacts.js +2 -2
  346. package/ts/upi/gettransactions.js +2 -2
  347. package/ts/upi/getupinumbers.js +2 -2
  348. package/ts/upi/initiatemandateaction.js +2 -2
  349. package/ts/upi/initiatetransaction.js +2 -2
  350. package/ts/upi/listblockedvpa.js +2 -2
  351. package/ts/upi/unblockvpa.js +2 -2
  352. package/ts/upi/updatedevicebinding.js +2 -2
  353. package/ts/upi/updatedevicelinking.d.ts +49 -0
  354. package/ts/upi/updatedevicelinking.js +332 -0
  355. package/ts/upi/upinumberoperations.js +2 -2
  356. package/ts/upi/validateifsc.js +2 -2
  357. package/ts/upi/validatevpa.js +2 -2
  358. package/ts/upi.d.ts +54 -54
  359. package/ts/upi.js +2 -2
  360. package/ts/eqxcustomers/getlandingtoken.d.ts +0 -38
  361. package/ts/eqxcustomers/getlandingtoken.js +0 -165
  362. package/ts/eqxcustomers/registerlandingcustomer.d.ts +0 -109
  363. package/ts/eqxcustomers/registerlandingcustomer.js +0 -822
@@ -0,0 +1,270 @@
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/getattachplandetails.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.chrattachplanresponse = exports.plandata = exports.chrattachplanrequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "growth.getattachplandetails";
15
+ function createBasechrattachplanrequest() {
16
+ return {};
17
+ }
18
+ exports.chrattachplanrequest = {
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 = createBasechrattachplanrequest();
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.chrattachplanrequest.fromPartial(base ?? {});
46
+ },
47
+ fromPartial(_) {
48
+ const message = createBasechrattachplanrequest();
49
+ return message;
50
+ },
51
+ };
52
+ function createBaseplandata() {
53
+ return { planId: 0, amount: 0, type: "", duration: 0, discount: 0, discounted_price: 0 };
54
+ }
55
+ exports.plandata = {
56
+ encode(message, writer = minimal_1.default.Writer.create()) {
57
+ if (message.planId !== 0) {
58
+ writer.uint32(8).int32(message.planId);
59
+ }
60
+ if (message.amount !== 0) {
61
+ writer.uint32(21).float(message.amount);
62
+ }
63
+ if (message.type !== "") {
64
+ writer.uint32(26).string(message.type);
65
+ }
66
+ if (message.duration !== 0) {
67
+ writer.uint32(32).int32(message.duration);
68
+ }
69
+ if (message.discount !== 0) {
70
+ writer.uint32(45).float(message.discount);
71
+ }
72
+ if (message.discounted_price !== 0) {
73
+ writer.uint32(49).double(message.discounted_price);
74
+ }
75
+ return writer;
76
+ },
77
+ decode(input, length) {
78
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
79
+ let end = length === undefined ? reader.len : reader.pos + length;
80
+ const message = createBaseplandata();
81
+ while (reader.pos < end) {
82
+ const tag = reader.uint32();
83
+ switch (tag >>> 3) {
84
+ case 1:
85
+ if (tag !== 8) {
86
+ break;
87
+ }
88
+ message.planId = reader.int32();
89
+ continue;
90
+ case 2:
91
+ if (tag !== 21) {
92
+ break;
93
+ }
94
+ message.amount = reader.float();
95
+ continue;
96
+ case 3:
97
+ if (tag !== 26) {
98
+ break;
99
+ }
100
+ message.type = reader.string();
101
+ continue;
102
+ case 4:
103
+ if (tag !== 32) {
104
+ break;
105
+ }
106
+ message.duration = reader.int32();
107
+ continue;
108
+ case 5:
109
+ if (tag !== 45) {
110
+ break;
111
+ }
112
+ message.discount = reader.float();
113
+ continue;
114
+ case 6:
115
+ if (tag !== 49) {
116
+ break;
117
+ }
118
+ message.discounted_price = reader.double();
119
+ continue;
120
+ }
121
+ if ((tag & 7) === 4 || tag === 0) {
122
+ break;
123
+ }
124
+ reader.skipType(tag & 7);
125
+ }
126
+ return message;
127
+ },
128
+ fromJSON(object) {
129
+ return {
130
+ planId: isSet(object.planId) ? globalThis.Number(object.planId) : 0,
131
+ amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
132
+ type: isSet(object.type) ? globalThis.String(object.type) : "",
133
+ duration: isSet(object.duration) ? globalThis.Number(object.duration) : 0,
134
+ discount: isSet(object.discount) ? globalThis.Number(object.discount) : 0,
135
+ discounted_price: isSet(object.discounted_price) ? globalThis.Number(object.discounted_price) : 0,
136
+ };
137
+ },
138
+ toJSON(message) {
139
+ const obj = {};
140
+ if (message.planId !== 0) {
141
+ obj.planId = Math.round(message.planId);
142
+ }
143
+ if (message.amount !== 0) {
144
+ obj.amount = message.amount;
145
+ }
146
+ if (message.type !== "") {
147
+ obj.type = message.type;
148
+ }
149
+ if (message.duration !== 0) {
150
+ obj.duration = Math.round(message.duration);
151
+ }
152
+ if (message.discount !== 0) {
153
+ obj.discount = message.discount;
154
+ }
155
+ if (message.discounted_price !== 0) {
156
+ obj.discounted_price = message.discounted_price;
157
+ }
158
+ return obj;
159
+ },
160
+ create(base) {
161
+ return exports.plandata.fromPartial(base ?? {});
162
+ },
163
+ fromPartial(object) {
164
+ const message = createBaseplandata();
165
+ message.planId = object.planId ?? 0;
166
+ message.amount = object.amount ?? 0;
167
+ message.type = object.type ?? "";
168
+ message.duration = object.duration ?? 0;
169
+ message.discount = object.discount ?? 0;
170
+ message.discounted_price = object.discounted_price ?? 0;
171
+ return message;
172
+ },
173
+ };
174
+ function createBasechrattachplanresponse() {
175
+ return { status: "", statusCode: 0, data: undefined, message: "" };
176
+ }
177
+ exports.chrattachplanresponse = {
178
+ encode(message, writer = minimal_1.default.Writer.create()) {
179
+ if (message.status !== "") {
180
+ writer.uint32(10).string(message.status);
181
+ }
182
+ if (message.statusCode !== 0) {
183
+ writer.uint32(16).int32(message.statusCode);
184
+ }
185
+ if (message.data !== undefined) {
186
+ exports.plandata.encode(message.data, writer.uint32(26).fork()).ldelim();
187
+ }
188
+ if (message.message !== "") {
189
+ writer.uint32(34).string(message.message);
190
+ }
191
+ return writer;
192
+ },
193
+ decode(input, length) {
194
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
195
+ let end = length === undefined ? reader.len : reader.pos + length;
196
+ const message = createBasechrattachplanresponse();
197
+ while (reader.pos < end) {
198
+ const tag = reader.uint32();
199
+ switch (tag >>> 3) {
200
+ case 1:
201
+ if (tag !== 10) {
202
+ break;
203
+ }
204
+ message.status = reader.string();
205
+ continue;
206
+ case 2:
207
+ if (tag !== 16) {
208
+ break;
209
+ }
210
+ message.statusCode = reader.int32();
211
+ continue;
212
+ case 3:
213
+ if (tag !== 26) {
214
+ break;
215
+ }
216
+ message.data = exports.plandata.decode(reader, reader.uint32());
217
+ continue;
218
+ case 4:
219
+ if (tag !== 34) {
220
+ break;
221
+ }
222
+ message.message = reader.string();
223
+ continue;
224
+ }
225
+ if ((tag & 7) === 4 || tag === 0) {
226
+ break;
227
+ }
228
+ reader.skipType(tag & 7);
229
+ }
230
+ return message;
231
+ },
232
+ fromJSON(object) {
233
+ return {
234
+ status: isSet(object.status) ? globalThis.String(object.status) : "",
235
+ statusCode: isSet(object.statusCode) ? globalThis.Number(object.statusCode) : 0,
236
+ data: isSet(object.data) ? exports.plandata.fromJSON(object.data) : undefined,
237
+ message: isSet(object.message) ? globalThis.String(object.message) : "",
238
+ };
239
+ },
240
+ toJSON(message) {
241
+ const obj = {};
242
+ if (message.status !== "") {
243
+ obj.status = message.status;
244
+ }
245
+ if (message.statusCode !== 0) {
246
+ obj.statusCode = Math.round(message.statusCode);
247
+ }
248
+ if (message.data !== undefined) {
249
+ obj.data = exports.plandata.toJSON(message.data);
250
+ }
251
+ if (message.message !== "") {
252
+ obj.message = message.message;
253
+ }
254
+ return obj;
255
+ },
256
+ create(base) {
257
+ return exports.chrattachplanresponse.fromPartial(base ?? {});
258
+ },
259
+ fromPartial(object) {
260
+ const message = createBasechrattachplanresponse();
261
+ message.status = object.status ?? "";
262
+ message.statusCode = object.statusCode ?? 0;
263
+ message.data = (object.data !== undefined && object.data !== null) ? exports.plandata.fromPartial(object.data) : undefined;
264
+ message.message = object.message ?? "";
265
+ return message;
266
+ },
267
+ };
268
+ function isSet(value) {
269
+ return value !== null && value !== undefined;
270
+ }
@@ -0,0 +1,49 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "growth.getchrpaymentstatus";
3
+ export interface paymentstatusrequest {
4
+ txn_id: string;
5
+ }
6
+ export interface paymentstatus {
7
+ txn_status: string;
8
+ }
9
+ export interface paymentstatusresponse {
10
+ status: string;
11
+ statusCode: number;
12
+ data: paymentstatus | undefined;
13
+ message: string;
14
+ }
15
+ export declare const paymentstatusrequest: {
16
+ encode(message: paymentstatusrequest, writer?: _m0.Writer): _m0.Writer;
17
+ decode(input: _m0.Reader | Uint8Array, length?: number): paymentstatusrequest;
18
+ fromJSON(object: any): paymentstatusrequest;
19
+ toJSON(message: paymentstatusrequest): unknown;
20
+ create<I extends Exact<DeepPartial<paymentstatusrequest>, I>>(base?: I): paymentstatusrequest;
21
+ fromPartial<I extends Exact<DeepPartial<paymentstatusrequest>, I>>(object: I): paymentstatusrequest;
22
+ };
23
+ export declare const paymentstatus: {
24
+ encode(message: paymentstatus, writer?: _m0.Writer): _m0.Writer;
25
+ decode(input: _m0.Reader | Uint8Array, length?: number): paymentstatus;
26
+ fromJSON(object: any): paymentstatus;
27
+ toJSON(message: paymentstatus): unknown;
28
+ create<I extends Exact<DeepPartial<paymentstatus>, I>>(base?: I): paymentstatus;
29
+ fromPartial<I extends Exact<DeepPartial<paymentstatus>, I>>(object: I): paymentstatus;
30
+ };
31
+ export declare const paymentstatusresponse: {
32
+ encode(message: paymentstatusresponse, writer?: _m0.Writer): _m0.Writer;
33
+ decode(input: _m0.Reader | Uint8Array, length?: number): paymentstatusresponse;
34
+ fromJSON(object: any): paymentstatusresponse;
35
+ toJSON(message: paymentstatusresponse): unknown;
36
+ create<I extends Exact<DeepPartial<paymentstatusresponse>, I>>(base?: I): paymentstatusresponse;
37
+ fromPartial<I extends Exact<DeepPartial<paymentstatusresponse>, I>>(object: I): paymentstatusresponse;
38
+ };
39
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
40
+ 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 {} ? {
41
+ [K in keyof T]?: DeepPartial<T[K]>;
42
+ } : Partial<T>;
43
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
44
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
45
+ [K in keyof P]: Exact<P[K], I[K]>;
46
+ } & {
47
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
48
+ };
49
+ export {};
@@ -0,0 +1,213 @@
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/getchrpaymentstatus.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.paymentstatusresponse = exports.paymentstatus = exports.paymentstatusrequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "growth.getchrpaymentstatus";
15
+ function createBasepaymentstatusrequest() {
16
+ return { txn_id: "" };
17
+ }
18
+ exports.paymentstatusrequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.txn_id !== "") {
21
+ writer.uint32(10).string(message.txn_id);
22
+ }
23
+ return writer;
24
+ },
25
+ decode(input, length) {
26
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
27
+ let end = length === undefined ? reader.len : reader.pos + length;
28
+ const message = createBasepaymentstatusrequest();
29
+ while (reader.pos < end) {
30
+ const tag = reader.uint32();
31
+ switch (tag >>> 3) {
32
+ case 1:
33
+ if (tag !== 10) {
34
+ break;
35
+ }
36
+ message.txn_id = reader.string();
37
+ continue;
38
+ }
39
+ if ((tag & 7) === 4 || tag === 0) {
40
+ break;
41
+ }
42
+ reader.skipType(tag & 7);
43
+ }
44
+ return message;
45
+ },
46
+ fromJSON(object) {
47
+ return { txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "" };
48
+ },
49
+ toJSON(message) {
50
+ const obj = {};
51
+ if (message.txn_id !== "") {
52
+ obj.txn_id = message.txn_id;
53
+ }
54
+ return obj;
55
+ },
56
+ create(base) {
57
+ return exports.paymentstatusrequest.fromPartial(base ?? {});
58
+ },
59
+ fromPartial(object) {
60
+ const message = createBasepaymentstatusrequest();
61
+ message.txn_id = object.txn_id ?? "";
62
+ return message;
63
+ },
64
+ };
65
+ function createBasepaymentstatus() {
66
+ return { txn_status: "" };
67
+ }
68
+ exports.paymentstatus = {
69
+ encode(message, writer = minimal_1.default.Writer.create()) {
70
+ if (message.txn_status !== "") {
71
+ writer.uint32(10).string(message.txn_status);
72
+ }
73
+ return writer;
74
+ },
75
+ decode(input, length) {
76
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
77
+ let end = length === undefined ? reader.len : reader.pos + length;
78
+ const message = createBasepaymentstatus();
79
+ while (reader.pos < end) {
80
+ const tag = reader.uint32();
81
+ switch (tag >>> 3) {
82
+ case 1:
83
+ if (tag !== 10) {
84
+ break;
85
+ }
86
+ message.txn_status = reader.string();
87
+ continue;
88
+ }
89
+ if ((tag & 7) === 4 || tag === 0) {
90
+ break;
91
+ }
92
+ reader.skipType(tag & 7);
93
+ }
94
+ return message;
95
+ },
96
+ fromJSON(object) {
97
+ return { txn_status: isSet(object.txn_status) ? globalThis.String(object.txn_status) : "" };
98
+ },
99
+ toJSON(message) {
100
+ const obj = {};
101
+ if (message.txn_status !== "") {
102
+ obj.txn_status = message.txn_status;
103
+ }
104
+ return obj;
105
+ },
106
+ create(base) {
107
+ return exports.paymentstatus.fromPartial(base ?? {});
108
+ },
109
+ fromPartial(object) {
110
+ const message = createBasepaymentstatus();
111
+ message.txn_status = object.txn_status ?? "";
112
+ return message;
113
+ },
114
+ };
115
+ function createBasepaymentstatusresponse() {
116
+ return { status: "", statusCode: 0, data: undefined, message: "" };
117
+ }
118
+ exports.paymentstatusresponse = {
119
+ encode(message, writer = minimal_1.default.Writer.create()) {
120
+ if (message.status !== "") {
121
+ writer.uint32(10).string(message.status);
122
+ }
123
+ if (message.statusCode !== 0) {
124
+ writer.uint32(16).int32(message.statusCode);
125
+ }
126
+ if (message.data !== undefined) {
127
+ exports.paymentstatus.encode(message.data, writer.uint32(26).fork()).ldelim();
128
+ }
129
+ if (message.message !== "") {
130
+ writer.uint32(34).string(message.message);
131
+ }
132
+ return writer;
133
+ },
134
+ decode(input, length) {
135
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
136
+ let end = length === undefined ? reader.len : reader.pos + length;
137
+ const message = createBasepaymentstatusresponse();
138
+ while (reader.pos < end) {
139
+ const tag = reader.uint32();
140
+ switch (tag >>> 3) {
141
+ case 1:
142
+ if (tag !== 10) {
143
+ break;
144
+ }
145
+ message.status = reader.string();
146
+ continue;
147
+ case 2:
148
+ if (tag !== 16) {
149
+ break;
150
+ }
151
+ message.statusCode = reader.int32();
152
+ continue;
153
+ case 3:
154
+ if (tag !== 26) {
155
+ break;
156
+ }
157
+ message.data = exports.paymentstatus.decode(reader, reader.uint32());
158
+ continue;
159
+ case 4:
160
+ if (tag !== 34) {
161
+ break;
162
+ }
163
+ message.message = reader.string();
164
+ continue;
165
+ }
166
+ if ((tag & 7) === 4 || tag === 0) {
167
+ break;
168
+ }
169
+ reader.skipType(tag & 7);
170
+ }
171
+ return message;
172
+ },
173
+ fromJSON(object) {
174
+ return {
175
+ status: isSet(object.status) ? globalThis.String(object.status) : "",
176
+ statusCode: isSet(object.statusCode) ? globalThis.Number(object.statusCode) : 0,
177
+ data: isSet(object.data) ? exports.paymentstatus.fromJSON(object.data) : undefined,
178
+ message: isSet(object.message) ? globalThis.String(object.message) : "",
179
+ };
180
+ },
181
+ toJSON(message) {
182
+ const obj = {};
183
+ if (message.status !== "") {
184
+ obj.status = message.status;
185
+ }
186
+ if (message.statusCode !== 0) {
187
+ obj.statusCode = Math.round(message.statusCode);
188
+ }
189
+ if (message.data !== undefined) {
190
+ obj.data = exports.paymentstatus.toJSON(message.data);
191
+ }
192
+ if (message.message !== "") {
193
+ obj.message = message.message;
194
+ }
195
+ return obj;
196
+ },
197
+ create(base) {
198
+ return exports.paymentstatusresponse.fromPartial(base ?? {});
199
+ },
200
+ fromPartial(object) {
201
+ const message = createBasepaymentstatusresponse();
202
+ message.status = object.status ?? "";
203
+ message.statusCode = object.statusCode ?? 0;
204
+ message.data = (object.data !== undefined && object.data !== null)
205
+ ? exports.paymentstatus.fromPartial(object.data)
206
+ : undefined;
207
+ message.message = object.message ?? "";
208
+ return message;
209
+ },
210
+ };
211
+ function isSet(value) {
212
+ return value !== null && value !== undefined;
213
+ }
@@ -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 v5.29.3
4
+ // protoc-gen-ts_proto v1.181.1
5
+ // protoc v3.20.3
6
6
  // source: growth/getchrpdfurl.proto
7
7
  var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -0,0 +1,49 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "growth.getchrplans";
3
+ export interface chrPlansRequest {
4
+ }
5
+ export interface PlanData {
6
+ plan_id: number;
7
+ amount: number;
8
+ discount: number;
9
+ discounted_price: number;
10
+ is_active: boolean;
11
+ }
12
+ export interface chrPlansResponse {
13
+ data: PlanData[];
14
+ }
15
+ export declare const chrPlansRequest: {
16
+ encode(_: chrPlansRequest, writer?: _m0.Writer): _m0.Writer;
17
+ decode(input: _m0.Reader | Uint8Array, length?: number): chrPlansRequest;
18
+ fromJSON(_: any): chrPlansRequest;
19
+ toJSON(_: chrPlansRequest): unknown;
20
+ create<I extends Exact<DeepPartial<chrPlansRequest>, I>>(base?: I): chrPlansRequest;
21
+ fromPartial<I extends Exact<DeepPartial<chrPlansRequest>, I>>(_: I): chrPlansRequest;
22
+ };
23
+ export declare const PlanData: {
24
+ encode(message: PlanData, writer?: _m0.Writer): _m0.Writer;
25
+ decode(input: _m0.Reader | Uint8Array, length?: number): PlanData;
26
+ fromJSON(object: any): PlanData;
27
+ toJSON(message: PlanData): unknown;
28
+ create<I extends Exact<DeepPartial<PlanData>, I>>(base?: I): PlanData;
29
+ fromPartial<I extends Exact<DeepPartial<PlanData>, I>>(object: I): PlanData;
30
+ };
31
+ export declare const chrPlansResponse: {
32
+ encode(message: chrPlansResponse, writer?: _m0.Writer): _m0.Writer;
33
+ decode(input: _m0.Reader | Uint8Array, length?: number): chrPlansResponse;
34
+ fromJSON(object: any): chrPlansResponse;
35
+ toJSON(message: chrPlansResponse): unknown;
36
+ create<I extends Exact<DeepPartial<chrPlansResponse>, I>>(base?: I): chrPlansResponse;
37
+ fromPartial<I extends Exact<DeepPartial<chrPlansResponse>, I>>(object: I): chrPlansResponse;
38
+ };
39
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
40
+ 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 {} ? {
41
+ [K in keyof T]?: DeepPartial<T[K]>;
42
+ } : Partial<T>;
43
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
44
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
45
+ [K in keyof P]: Exact<P[K], I[K]>;
46
+ } & {
47
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
48
+ };
49
+ export {};