@stashfin/grpc 1.0.33 → 1.1.3

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 (490) hide show
  1. package/package.json +7 -1
  2. package/ts/bureau/getbasicdetails.d.ts +58 -0
  3. package/ts/bureau/getbasicdetails.js +355 -0
  4. package/ts/bureau/getcibilwebtoken.d.ts +49 -0
  5. package/ts/bureau/getcibilwebtoken.js +227 -0
  6. package/ts/bureau/getdbrcolending.d.ts +36 -0
  7. package/ts/bureau/getdbrcolending.js +147 -0
  8. package/ts/bureau/getdemogs.d.ts +113 -0
  9. package/ts/bureau/getdemogs.js +611 -0
  10. package/ts/bureau/getobligation.d.ts +83 -0
  11. package/ts/bureau/getobligation.js +517 -0
  12. package/ts/bureau/getreport.d.ts +188 -0
  13. package/ts/bureau/getreport.js +1640 -0
  14. package/ts/bureau.d.ts +98 -0
  15. package/ts/bureau.js +74 -0
  16. package/ts/colender/disburseLoan.d.ts +53 -0
  17. package/ts/colender/disburseLoan.js +399 -0
  18. package/ts/colender/forecloseLoan.d.ts +61 -0
  19. package/ts/colender/forecloseLoan.js +406 -0
  20. package/ts/colender/repayLoan.d.ts +61 -0
  21. package/ts/colender/repayLoan.js +406 -0
  22. package/ts/colender.d.ts +56 -0
  23. package/ts/colender.js +44 -0
  24. package/ts/customers/aa/getaatxnstatus.d.ts +35 -0
  25. package/ts/customers/aa/getaatxnstatus.js +117 -0
  26. package/ts/customers/aa/getbanklist.d.ts +49 -0
  27. package/ts/customers/aa/getbanklist.js +214 -0
  28. package/ts/customers/aa/initiate.d.ts +40 -0
  29. package/ts/customers/aa/initiate.js +209 -0
  30. package/ts/customers/accidentprotectionplan.d.ts +68 -0
  31. package/ts/customers/accidentprotectionplan.js +389 -0
  32. package/ts/customers/addaddress.d.ts +50 -0
  33. package/ts/customers/addaddress.js +265 -0
  34. package/ts/customers/addbankaccountdetails.d.ts +37 -0
  35. package/ts/customers/addbankaccountdetails.js +147 -0
  36. package/ts/customers/addfathersname.d.ts +35 -0
  37. package/ts/customers/addfathersname.js +117 -0
  38. package/ts/customers/addgstnumber.d.ts +35 -0
  39. package/ts/customers/addgstnumber.js +117 -0
  40. package/ts/customers/addmoredetails.d.ts +45 -0
  41. package/ts/customers/addmoredetails.js +271 -0
  42. package/ts/customers/addsuspendedcustomer.d.ts +36 -0
  43. package/ts/customers/addsuspendedcustomer.js +133 -0
  44. package/ts/customers/adduserapps.d.ts +74 -0
  45. package/ts/customers/adduserapps.js +210 -0
  46. package/ts/customers/applyclijourney.d.ts +34 -0
  47. package/ts/customers/applyclijourney.js +104 -0
  48. package/ts/customers/bulksms.d.ts +48 -0
  49. package/ts/customers/bulksms.js +201 -0
  50. package/ts/customers/cb/cbapplicationrejecteddata.d.ts +34 -0
  51. package/ts/customers/cb/cbapplicationrejecteddata.js +101 -0
  52. package/ts/customers/cb/cbpaynow.d.ts +37 -0
  53. package/ts/customers/cb/cbpaynow.js +147 -0
  54. package/ts/customers/cb/cbsignup.d.ts +34 -0
  55. package/ts/customers/cb/cbsignup.js +104 -0
  56. package/ts/customers/cb/getcbtxnstatus.d.ts +35 -0
  57. package/ts/customers/cb/getcbtxnstatus.js +117 -0
  58. package/ts/customers/cb/getcreditbuilder.d.ts +50 -0
  59. package/ts/customers/cb/getcreditbuilder.js +230 -0
  60. package/ts/customers/cb/getpaymentsummary.d.ts +55 -0
  61. package/ts/customers/cb/getpaymentsummary.js +302 -0
  62. package/ts/customers/cb/insurancedetails.d.ts +47 -0
  63. package/ts/customers/cb/insurancedetails.js +184 -0
  64. package/ts/customers/cb/lesscsimprove.d.ts +35 -0
  65. package/ts/customers/cb/lesscsimprove.js +117 -0
  66. package/ts/customers/cb/morecsimprove.d.ts +35 -0
  67. package/ts/customers/cb/morecsimprove.js +117 -0
  68. package/ts/customers/cb/savecreditbuilder.d.ts +35 -0
  69. package/ts/customers/cb/savecreditbuilder.js +117 -0
  70. package/ts/customers/cb/updatecbstandalonecancellation.d.ts +34 -0
  71. package/ts/customers/cb/updatecbstandalonecancellation.js +104 -0
  72. package/ts/customers/cb/updatecbstandaloneconfirmation.d.ts +34 -0
  73. package/ts/customers/cb/updatecbstandaloneconfirmation.js +104 -0
  74. package/ts/customers/cb/updatecbstandalonejourney.d.ts +34 -0
  75. package/ts/customers/cb/updatecbstandalonejourney.js +104 -0
  76. package/ts/customers/cb/updatecbtxnstatus.d.ts +36 -0
  77. package/ts/customers/cb/updatecbtxnstatus.js +133 -0
  78. package/ts/customers/changempin.d.ts +36 -0
  79. package/ts/customers/changempin.js +133 -0
  80. package/ts/customers/createcustomerreference.d.ts +43 -0
  81. package/ts/customers/createcustomerreference.js +226 -0
  82. package/ts/customers/createvanumber.d.ts +34 -0
  83. package/ts/customers/createvanumber.js +104 -0
  84. package/ts/customers/customerinfo.d.ts +59 -0
  85. package/ts/customers/customerinfo.js +481 -0
  86. package/ts/customers/deletedocument.d.ts +35 -0
  87. package/ts/customers/deletedocument.js +117 -0
  88. package/ts/customers/deleteprofile.d.ts +35 -0
  89. package/ts/customers/deleteprofile.js +120 -0
  90. package/ts/customers/disablempin.d.ts +35 -0
  91. package/ts/customers/disablempin.js +117 -0
  92. package/ts/customers/enach/gettxnstatus.d.ts +35 -0
  93. package/ts/customers/enach/gettxnstatus.js +117 -0
  94. package/ts/customers/enach/getweburl.d.ts +34 -0
  95. package/ts/customers/enach/getweburl.js +104 -0
  96. package/ts/customers/enach/updateenachtxnstatus.d.ts +40 -0
  97. package/ts/customers/enach/updateenachtxnstatus.js +205 -0
  98. package/ts/customers/fetchrcprofile.d.ts +45 -0
  99. package/ts/customers/fetchrcprofile.js +271 -0
  100. package/ts/customers/floatingvideos.d.ts +46 -0
  101. package/ts/customers/floatingvideos.js +172 -0
  102. package/ts/customers/forceupdate.d.ts +38 -0
  103. package/ts/customers/forceupdate.js +163 -0
  104. package/ts/customers/forgotmpin.d.ts +35 -0
  105. package/ts/customers/forgotmpin.js +117 -0
  106. package/ts/customers/forgotmpinverify.d.ts +37 -0
  107. package/ts/customers/forgotmpinverify.js +149 -0
  108. package/ts/customers/freedom/addressconfirmation.d.ts +37 -0
  109. package/ts/customers/freedom/addressconfirmation.js +149 -0
  110. package/ts/customers/freedom/freedompaynow.d.ts +37 -0
  111. package/ts/customers/freedom/freedompaynow.js +147 -0
  112. package/ts/customers/freedom/getfreedomtxnstatus.d.ts +35 -0
  113. package/ts/customers/freedom/getfreedomtxnstatus.js +117 -0
  114. package/ts/customers/freedom/updateadditionalverification.d.ts +34 -0
  115. package/ts/customers/freedom/updateadditionalverification.js +104 -0
  116. package/ts/customers/freedom/updatefreedomtxnstatus.d.ts +38 -0
  117. package/ts/customers/freedom/updatefreedomtxnstatus.js +177 -0
  118. package/ts/customers/getaddresslist.d.ts +36 -0
  119. package/ts/customers/getaddresslist.js +134 -0
  120. package/ts/customers/getappsubmittedscreen.d.ts +50 -0
  121. package/ts/customers/getappsubmittedscreen.js +230 -0
  122. package/ts/customers/getbankaccountdetails.d.ts +37 -0
  123. package/ts/customers/getbankaccountdetails.js +148 -0
  124. package/ts/customers/getbasicinfo.d.ts +56 -0
  125. package/ts/customers/getbasicinfo.js +323 -0
  126. package/ts/customers/getcities.d.ts +47 -0
  127. package/ts/customers/getcities.js +183 -0
  128. package/ts/customers/getclistatus.d.ts +34 -0
  129. package/ts/customers/getclistatus.js +104 -0
  130. package/ts/customers/getcompanyaccdetails.d.ts +37 -0
  131. package/ts/customers/getcompanyaccdetails.js +148 -0
  132. package/ts/customers/getcustomerbyid.d.ts +200 -0
  133. package/ts/customers/getcustomerbyid.js +2027 -0
  134. package/ts/customers/getcustomerdetailsbymobile.d.ts +42 -0
  135. package/ts/customers/getcustomerdetailsbymobile.js +219 -0
  136. package/ts/customers/getdashboard.d.ts +89 -0
  137. package/ts/customers/getdashboard.js +588 -0
  138. package/ts/customers/getdashboardmaincard.d.ts +73 -0
  139. package/ts/customers/getdashboardmaincard.js +579 -0
  140. package/ts/customers/getdocuments.d.ts +46 -0
  141. package/ts/customers/getdocuments.js +174 -0
  142. package/ts/customers/getglobalpopups.d.ts +49 -0
  143. package/ts/customers/getglobalpopups.js +214 -0
  144. package/ts/customers/getlimit.d.ts +35 -0
  145. package/ts/customers/getlimit.js +120 -0
  146. package/ts/customers/getloclimit.d.ts +35 -0
  147. package/ts/customers/getloclimit.js +120 -0
  148. package/ts/customers/getmessengermode.d.ts +34 -0
  149. package/ts/customers/getmessengermode.js +104 -0
  150. package/ts/customers/getoccupationlist.d.ts +34 -0
  151. package/ts/customers/getoccupationlist.js +105 -0
  152. package/ts/customers/getpaymentoptions.d.ts +51 -0
  153. package/ts/customers/getpaymentoptions.js +243 -0
  154. package/ts/customers/getprofessionalinfo.d.ts +54 -0
  155. package/ts/customers/getprofessionalinfo.js +286 -0
  156. package/ts/customers/getprofile.d.ts +26 -2
  157. package/ts/customers/getprofile.js +280 -27
  158. package/ts/customers/getselfieetxnid.d.ts +34 -0
  159. package/ts/customers/getselfieetxnid.js +104 -0
  160. package/ts/customers/getstates.d.ts +46 -0
  161. package/ts/customers/getstates.js +170 -0
  162. package/ts/customers/getstep.d.ts +24 -32
  163. package/ts/customers/getstep.js +173 -174
  164. package/ts/customers/getsyncstatus.d.ts +35 -0
  165. package/ts/customers/getsyncstatus.js +120 -0
  166. package/ts/customers/getvanumber.d.ts +35 -0
  167. package/ts/customers/getvanumber.js +117 -0
  168. package/ts/customers/kyc/epfo.d.ts +38 -0
  169. package/ts/customers/kyc/epfo.js +149 -0
  170. package/ts/customers/lamf/applylamf.d.ts +34 -0
  171. package/ts/customers/lamf/applylamf.js +104 -0
  172. package/ts/customers/lamf/sendlamfotp.d.ts +34 -0
  173. package/ts/customers/lamf/sendlamfotp.js +104 -0
  174. package/ts/customers/lamf/sendlamfpledgeotp.d.ts +34 -0
  175. package/ts/customers/lamf/sendlamfpledgeotp.js +104 -0
  176. package/ts/customers/lamf/verifylamfotp.d.ts +35 -0
  177. package/ts/customers/lamf/verifylamfotp.js +117 -0
  178. package/ts/customers/lamf/verifylamfpledgeotp.d.ts +35 -0
  179. package/ts/customers/lamf/verifylamfpledgeotp.js +117 -0
  180. package/ts/customers/logout.d.ts +34 -0
  181. package/ts/customers/logout.js +104 -0
  182. package/ts/customers/pd/getbanklist.d.ts +48 -0
  183. package/ts/customers/pd/getbanklist.js +204 -0
  184. package/ts/customers/pd/validatebankaccount.d.ts +37 -0
  185. package/ts/customers/pd/validatebankaccount.js +147 -0
  186. package/ts/customers/profilebasic.d.ts +3 -0
  187. package/ts/customers/profilebasic.js +53 -3
  188. package/ts/customers/profileupdatetnc.js +2 -2
  189. package/ts/customers/resetbanner.d.ts +34 -0
  190. package/ts/customers/resetbanner.js +104 -0
  191. package/ts/customers/restoreaccount.d.ts +36 -0
  192. package/ts/customers/restoreaccount.js +133 -0
  193. package/ts/customers/rpd/getrpdlink.d.ts +40 -0
  194. package/ts/customers/rpd/getrpdlink.js +190 -0
  195. package/ts/customers/rpd/getrpdtransactionstatus.d.ts +35 -0
  196. package/ts/customers/rpd/getrpdtransactionstatus.js +117 -0
  197. package/ts/customers/rpd/mockpayment.d.ts +37 -0
  198. package/ts/customers/rpd/mockpayment.js +149 -0
  199. package/ts/customers/saveappslist.d.ts +48 -0
  200. package/ts/customers/saveappslist.js +199 -0
  201. package/ts/customers/savebasicdetails.d.ts +48 -0
  202. package/ts/customers/savebasicdetails.js +199 -0
  203. package/ts/customers/savelimit.d.ts +35 -0
  204. package/ts/customers/savelimit.js +117 -0
  205. package/ts/customers/saveunlocklimit.d.ts +34 -0
  206. package/ts/customers/saveunlocklimit.js +104 -0
  207. package/ts/customers/sendotp.js +2 -2
  208. package/ts/customers/sendotptoemail.d.ts +35 -0
  209. package/ts/customers/{sendemailtoken.js → sendotptoemail.js} +23 -23
  210. package/ts/customers/setmpin.js +2 -2
  211. package/ts/customers/skipscreen.d.ts +44 -0
  212. package/ts/customers/skipscreen.js +162 -0
  213. package/ts/customers/submituploadeddocuments.d.ts +42 -0
  214. package/ts/customers/submituploadeddocuments.js +150 -0
  215. package/ts/customers/syncdecisionengine.d.ts +35 -0
  216. package/ts/customers/syncdecisionengine.js +117 -0
  217. package/ts/customers/updatecategory.d.ts +38 -0
  218. package/ts/customers/updatecategory.js +175 -0
  219. package/ts/customers/updatecongratulationstep.d.ts +34 -0
  220. package/ts/customers/updatecongratulationstep.js +104 -0
  221. package/ts/customers/updatecustomerbyid.d.ts +49 -0
  222. package/ts/customers/updatecustomerbyid.js +215 -0
  223. package/ts/customers/updatedlnumber.d.ts +35 -0
  224. package/ts/customers/updatedlnumber.js +119 -0
  225. package/ts/customers/updatedob.d.ts +35 -0
  226. package/ts/customers/{verifyemail.js → updatedob.js} +23 -23
  227. package/ts/customers/updatelocstatus.d.ts +36 -0
  228. package/ts/customers/updatelocstatus.js +133 -0
  229. package/ts/customers/updatemobilesendotp.d.ts +35 -0
  230. package/ts/customers/updatemobilesendotp.js +117 -0
  231. package/ts/customers/updatemobileverifyotp.d.ts +36 -0
  232. package/ts/customers/updatemobileverifyotp.js +133 -0
  233. package/ts/customers/updateokyctxn.d.ts +37 -0
  234. package/ts/customers/updateokyctxn.js +147 -0
  235. package/ts/customers/updatesanctionamount.d.ts +35 -0
  236. package/ts/customers/updatesanctionamount.js +117 -0
  237. package/ts/customers/updateselfieetxn.d.ts +36 -0
  238. package/ts/customers/updateselfieetxn.js +133 -0
  239. package/ts/customers/updatesyncstatus.d.ts +36 -0
  240. package/ts/customers/updatesyncstatus.js +133 -0
  241. package/ts/customers/updatevehiclenumber.d.ts +35 -0
  242. package/ts/customers/updatevehiclenumber.js +117 -0
  243. package/ts/customers/uploaddocuments.d.ts +37 -0
  244. package/ts/customers/uploaddocuments.js +147 -0
  245. package/ts/customers/validatepan.d.ts +46 -0
  246. package/ts/customers/validatepan.js +289 -0
  247. package/ts/customers/verifympin.js +2 -2
  248. package/ts/customers/verifyotp.d.ts +4 -0
  249. package/ts/customers/verifyotp.js +65 -9
  250. package/ts/customers/verifyotptoemail.d.ts +35 -0
  251. package/ts/customers/verifyotptoemail.js +117 -0
  252. package/ts/customers.d.ts +1520 -161
  253. package/ts/customers.js +1062 -91
  254. package/ts/decisionengine/decisionenginetrigger.d.ts +38 -0
  255. package/ts/decisionengine/decisionenginetrigger.js +163 -0
  256. package/ts/decisionengine/locdisbursalapproval.d.ts +40 -0
  257. package/ts/decisionengine/locdisbursalapproval.js +191 -0
  258. package/ts/decisionengine/saveconsent.d.ts +38 -0
  259. package/ts/decisionengine/saveconsent.js +163 -0
  260. package/ts/decisionengine.d.ts +56 -0
  261. package/ts/decisionengine.js +44 -0
  262. package/ts/documents/getagreement.d.ts +49 -0
  263. package/ts/documents/getagreement.js +213 -0
  264. package/ts/documents/getfinancialdoc.d.ts +87 -0
  265. package/ts/documents/getfinancialdoc.js +679 -0
  266. package/ts/documents.d.ts +42 -0
  267. package/ts/documents.js +34 -0
  268. package/ts/eqxcustomer.d.ts +126 -0
  269. package/ts/eqxcustomer.js +94 -0
  270. package/ts/eqxcustomers/getcustomerbyid.d.ts +43 -0
  271. package/ts/eqxcustomers/getcustomerbyid.js +243 -0
  272. package/ts/eqxcustomers/getdashboard.d.ts +103 -0
  273. package/ts/eqxcustomers/getdashboard.js +683 -0
  274. package/ts/eqxcustomers/getdashboardmaincard.d.ts +58 -0
  275. package/ts/eqxcustomers/getdashboardmaincard.js +354 -0
  276. package/ts/eqxcustomers/getnotifications.d.ts +92 -0
  277. package/ts/eqxcustomers/getnotifications.js +536 -0
  278. package/ts/eqxcustomers/sendotp.d.ts +38 -0
  279. package/ts/eqxcustomers/sendotp.js +163 -0
  280. package/ts/eqxcustomers/updatenotification.d.ts +36 -0
  281. package/ts/eqxcustomers/updatenotification.js +147 -0
  282. package/ts/eqxcustomers/updatepushid.d.ts +36 -0
  283. package/ts/eqxcustomers/updatepushid.js +133 -0
  284. package/ts/eqxcustomers/verifyotp.d.ts +44 -0
  285. package/ts/eqxcustomers/verifyotp.js +247 -0
  286. package/ts/example.d.ts +4 -4
  287. package/ts/example.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/getchrplans.d.ts +112 -0
  295. package/ts/growth/getchrplans.js +717 -0
  296. package/ts/growth/getcredithealthreport.d.ts +98 -0
  297. package/ts/growth/getcredithealthreport.js +617 -0
  298. package/ts/growth/initiatepayment.d.ts +52 -0
  299. package/ts/growth/initiatepayment.js +259 -0
  300. package/ts/growth/notifychrpayment.d.ts +42 -0
  301. package/ts/growth/notifychrpayment.js +219 -0
  302. package/ts/growth.d.ts +112 -0
  303. package/ts/growth.js +84 -0
  304. package/ts/kyc/fetchuanemployment.d.ts +66 -0
  305. package/ts/kyc/fetchuanemployment.js +359 -0
  306. package/ts/kyc/fetchuannumber.d.ts +35 -0
  307. package/ts/kyc/fetchuannumber.js +119 -0
  308. package/ts/kyc.d.ts +28 -0
  309. package/ts/kyc.js +24 -0
  310. package/ts/lamf/getloandetails.d.ts +65 -0
  311. package/ts/lamf/getloandetails.js +351 -0
  312. package/ts/lamf/submitotp.d.ts +64 -0
  313. package/ts/lamf/submitotp.js +327 -0
  314. package/ts/lamf/validateuser.d.ts +70 -0
  315. package/ts/lamf/validateuser.js +428 -0
  316. package/ts/lamf.d.ts +56 -0
  317. package/ts/lamf.js +44 -0
  318. package/ts/loans/amortization.d.ts +57 -0
  319. package/ts/loans/amortization.js +340 -0
  320. package/ts/loans/approveloan.d.ts +87 -0
  321. package/ts/loans/approveloan.js +791 -0
  322. package/ts/loans/banklist.d.ts +37 -0
  323. package/ts/loans/banklist.js +148 -0
  324. package/ts/loans/calculateemi.d.ts +71 -0
  325. package/ts/loans/calculateemi.js +436 -0
  326. package/ts/loans/cbloan.d.ts +46 -0
  327. package/ts/loans/cbloan.js +287 -0
  328. package/ts/loans/createlamfloan.d.ts +86 -0
  329. package/ts/loans/createlamfloan.js +776 -0
  330. package/ts/loans/createpenalty.d.ts +42 -0
  331. package/ts/loans/createpenalty.js +219 -0
  332. package/ts/loans/creditlimit.d.ts +50 -0
  333. package/ts/loans/creditlimit.js +358 -0
  334. package/ts/loans/emimoredetails.d.ts +51 -0
  335. package/ts/loans/emimoredetails.js +243 -0
  336. package/ts/loans/fcppayment.d.ts +55 -0
  337. package/ts/loans/fcppayment.js +324 -0
  338. package/ts/loans/foreclosepayment.d.ts +55 -0
  339. package/ts/loans/foreclosepayment.js +324 -0
  340. package/ts/loans/getaddonslist.d.ts +49 -0
  341. package/ts/loans/getaddonslist.js +215 -0
  342. package/ts/loans/getbilldetails.d.ts +53 -0
  343. package/ts/loans/getbilldetails.js +282 -0
  344. package/ts/loans/getcbloandetails.d.ts +37 -0
  345. package/ts/loans/getcbloandetails.js +147 -0
  346. package/ts/loans/getchrdetails.d.ts +51 -0
  347. package/ts/loans/getchrdetails.js +242 -0
  348. package/ts/loans/getcustomerloanstatus.d.ts +34 -0
  349. package/ts/loans/getcustomerloanstatus.js +104 -0
  350. package/ts/loans/getforecloseamount.d.ts +51 -0
  351. package/ts/loans/getforecloseamount.js +254 -0
  352. package/ts/loans/getloanbyid.d.ts +80 -0
  353. package/ts/loans/getloanbyid.js +571 -0
  354. package/ts/loans/getnextdueamount.d.ts +71 -0
  355. package/ts/loans/getnextdueamount.js +454 -0
  356. package/ts/loans/getpaymentoptions.d.ts +51 -0
  357. package/ts/loans/getpaymentoptions.js +243 -0
  358. package/ts/loans/getpendingemiamount.d.ts +35 -0
  359. package/ts/loans/getpendingemiamount.js +117 -0
  360. package/ts/loans/getsetubilldetails.d.ts +68 -0
  361. package/ts/loans/getsetubilldetails.js +384 -0
  362. package/ts/loans/getsummarystaticfields.d.ts +108 -0
  363. package/ts/loans/getsummarystaticfields.js +898 -0
  364. package/ts/loans/gettransactionstatus.d.ts +35 -0
  365. package/ts/loans/gettransactionstatus.js +117 -0
  366. package/ts/loans/getusedlimit.d.ts +35 -0
  367. package/ts/loans/getusedlimit.js +117 -0
  368. package/ts/loans/getvirtualbankinfo.d.ts +37 -0
  369. package/ts/loans/getvirtualbankinfo.js +148 -0
  370. package/ts/loans/loansummary.d.ts +84 -0
  371. package/ts/loans/loansummary.js +750 -0
  372. package/ts/loans/manualpaymentallocation.d.ts +40 -0
  373. package/ts/loans/manualpaymentallocation.js +200 -0
  374. package/ts/loans/paymentallocation.d.ts +38 -0
  375. package/ts/loans/paymentallocation.js +161 -0
  376. package/ts/loans/paymenthistory.d.ts +47 -0
  377. package/ts/loans/paymenthistory.js +188 -0
  378. package/ts/loans/paynow.d.ts +56 -0
  379. package/ts/loans/paynow.js +344 -0
  380. package/ts/loans/refund.d.ts +38 -0
  381. package/ts/loans/refund.js +161 -0
  382. package/ts/loans/restructureloan.d.ts +36 -0
  383. package/ts/loans/restructureloan.js +142 -0
  384. package/ts/loans/rollback.d.ts +38 -0
  385. package/ts/loans/rollback.js +161 -0
  386. package/ts/loans/sendemail.d.ts +35 -0
  387. package/ts/loans/sendemail.js +117 -0
  388. package/ts/loans/sendnocemail.d.ts +35 -0
  389. package/ts/loans/sendnocemail.js +117 -0
  390. package/ts/loans/transactionlist.d.ts +54 -0
  391. package/ts/loans/transactionlist.js +295 -0
  392. package/ts/loans/updatecollectionview.d.ts +44 -0
  393. package/ts/loans/updatecollectionview.js +257 -0
  394. package/ts/loans/updateinstallments.d.ts +40 -0
  395. package/ts/loans/updateinstallments.js +189 -0
  396. package/ts/loans/updateloan.d.ts +37 -0
  397. package/ts/loans/updateloan.js +147 -0
  398. package/ts/loans/updatetransactionstatus.d.ts +42 -0
  399. package/ts/loans/updatetransactionstatus.js +219 -0
  400. package/ts/loans.d.ts +588 -0
  401. package/ts/loans.js +424 -0
  402. package/ts/payments/checkpaymentstatus.d.ts +51 -0
  403. package/ts/payments/checkpaymentstatus.js +259 -0
  404. package/ts/payments/fundtransfer.d.ts +65 -0
  405. package/ts/payments/fundtransfer.js +462 -0
  406. package/ts/payments/getpaymentoptions.d.ts +58 -0
  407. package/ts/payments/getpaymentoptions.js +341 -0
  408. package/ts/payments/initiatepayment.d.ts +53 -0
  409. package/ts/payments/initiatepayment.js +285 -0
  410. package/ts/payments/nachpresentation.d.ts +39 -0
  411. package/ts/payments/nachpresentation.js +191 -0
  412. package/ts/payments/nachregistration.d.ts +56 -0
  413. package/ts/payments/nachregistration.js +339 -0
  414. package/ts/payments.d.ts +98 -0
  415. package/ts/payments.js +74 -0
  416. package/ts/stashcash/creditsc.js +2 -2
  417. package/ts/stashcash/debitsc.d.ts +10 -7
  418. package/ts/stashcash/debitsc.js +87 -36
  419. package/ts/stashcash/getscbalance.d.ts +1 -0
  420. package/ts/stashcash/getscbalance.js +25 -3
  421. package/ts/stashcash/getschistory.js +2 -2
  422. package/ts/stashcash/reversesc.js +2 -2
  423. package/ts/stashcash.d.ts +10 -10
  424. package/ts/stashcash.js +2 -2
  425. package/ts/upi/addaccount.d.ts +50 -0
  426. package/ts/upi/addaccount.js +347 -0
  427. package/ts/upi/blockvpa.d.ts +40 -0
  428. package/ts/upi/blockvpa.js +191 -0
  429. package/ts/upi/checktransactionstatus.d.ts +59 -0
  430. package/ts/upi/checktransactionstatus.js +487 -0
  431. package/ts/upi/declinemandate.d.ts +37 -0
  432. package/ts/upi/declinemandate.js +149 -0
  433. package/ts/upi/deregisterprofile.d.ts +40 -0
  434. package/ts/upi/deregisterprofile.js +191 -0
  435. package/ts/upi/getaccountsbyprovider.d.ts +119 -0
  436. package/ts/upi/getaccountsbyprovider.js +829 -0
  437. package/ts/upi/getallmandates.d.ts +68 -0
  438. package/ts/upi/getallmandates.js +391 -0
  439. package/ts/upi/getavailablevpa.d.ts +40 -0
  440. package/ts/upi/getavailablevpa.js +191 -0
  441. package/ts/upi/getlistedaccountproviders.d.ts +75 -0
  442. package/ts/upi/getlistedaccountproviders.js +434 -0
  443. package/ts/upi/getmandatedetails.d.ts +139 -0
  444. package/ts/upi/getmandatedetails.js +1169 -0
  445. package/ts/upi/getmandatehistory.d.ts +65 -0
  446. package/ts/upi/getmandatehistory.js +337 -0
  447. package/ts/upi/getpendingcollectrequest.d.ts +76 -0
  448. package/ts/upi/getpendingcollectrequest.js +526 -0
  449. package/ts/upi/getprofile.d.ts +143 -0
  450. package/ts/upi/getprofile.js +1132 -0
  451. package/ts/upi/getrecentcontacts.d.ts +70 -0
  452. package/ts/upi/getrecentcontacts.js +374 -0
  453. package/ts/upi/gettransactions.d.ts +95 -0
  454. package/ts/upi/gettransactions.js +590 -0
  455. package/ts/upi/getupinumbers.d.ts +62 -0
  456. package/ts/upi/getupinumbers.js +296 -0
  457. package/ts/upi/initiatemandateaction.d.ts +50 -0
  458. package/ts/upi/initiatemandateaction.js +229 -0
  459. package/ts/upi/initiatetransaction.d.ts +57 -0
  460. package/ts/upi/initiatetransaction.js +454 -0
  461. package/ts/upi/listblockedvpa.d.ts +63 -0
  462. package/ts/upi/listblockedvpa.js +311 -0
  463. package/ts/upi/unblockvpa.d.ts +40 -0
  464. package/ts/upi/unblockvpa.js +191 -0
  465. package/ts/upi/updatedevicebinding.d.ts +40 -0
  466. package/ts/upi/updatedevicebinding.js +191 -0
  467. package/ts/upi/upinumberoperations.d.ts +55 -0
  468. package/ts/upi/upinumberoperations.js +299 -0
  469. package/ts/upi/validateifsc.d.ts +64 -0
  470. package/ts/upi/validateifsc.js +441 -0
  471. package/ts/upi/validatevpa.d.ts +60 -0
  472. package/ts/upi/validatevpa.js +381 -0
  473. package/ts/upi.d.ts +363 -0
  474. package/ts/upi.js +263 -0
  475. package/ts/customers/sendemailtoken.d.ts +0 -35
  476. package/ts/customers/step1.d.ts +0 -69
  477. package/ts/customers/step1.js +0 -395
  478. package/ts/customers/step10.d.ts +0 -73
  479. package/ts/customers/step10.js +0 -459
  480. package/ts/customers/step2.d.ts +0 -68
  481. package/ts/customers/step2.js +0 -381
  482. package/ts/customers/step7.d.ts +0 -68
  483. package/ts/customers/step7.js +0 -381
  484. package/ts/customers/step8.d.ts +0 -69
  485. package/ts/customers/step8.js +0 -395
  486. package/ts/customers/step9.d.ts +0 -75
  487. package/ts/customers/step9.js +0 -489
  488. package/ts/customers/stepstatic.d.ts +0 -66
  489. package/ts/customers/stepstatic.js +0 -354
  490. package/ts/customers/verifyemail.d.ts +0 -35
@@ -0,0 +1,683 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.2
5
+ // protoc v5.29.3
6
+ // source: eqxcustomers/getdashboard.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.Tag = exports.Items = exports.Block = exports.Block_groups = exports.getDashboardResponse = exports.getDashboardRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "eqxcustomers.getdashboard";
15
+ function createBasegetDashboardRequest() {
16
+ return {};
17
+ }
18
+ exports.getDashboardRequest = {
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 = createBasegetDashboardRequest();
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.getDashboardRequest.fromPartial(base ?? {});
46
+ },
47
+ fromPartial(_) {
48
+ const message = createBasegetDashboardRequest();
49
+ return message;
50
+ },
51
+ };
52
+ function createBasegetDashboardResponse() {
53
+ return { groups: [] };
54
+ }
55
+ exports.getDashboardResponse = {
56
+ encode(message, writer = minimal_1.default.Writer.create()) {
57
+ for (const v of message.groups) {
58
+ exports.Block_groups.encode(v, writer.uint32(10).fork()).ldelim();
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 = createBasegetDashboardResponse();
66
+ while (reader.pos < end) {
67
+ const tag = reader.uint32();
68
+ switch (tag >>> 3) {
69
+ case 1:
70
+ if (tag !== 10) {
71
+ break;
72
+ }
73
+ message.groups.push(exports.Block_groups.decode(reader, reader.uint32()));
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 {
85
+ groups: globalThis.Array.isArray(object?.groups) ? object.groups.map((e) => exports.Block_groups.fromJSON(e)) : [],
86
+ };
87
+ },
88
+ toJSON(message) {
89
+ const obj = {};
90
+ if (message.groups?.length) {
91
+ obj.groups = message.groups.map((e) => exports.Block_groups.toJSON(e));
92
+ }
93
+ return obj;
94
+ },
95
+ create(base) {
96
+ return exports.getDashboardResponse.fromPartial(base ?? {});
97
+ },
98
+ fromPartial(object) {
99
+ const message = createBasegetDashboardResponse();
100
+ message.groups = object.groups?.map((e) => exports.Block_groups.fromPartial(e)) || [];
101
+ return message;
102
+ },
103
+ };
104
+ function createBaseBlock_groups() {
105
+ return { group_name: "", seq_no: undefined, blocks: [] };
106
+ }
107
+ exports.Block_groups = {
108
+ encode(message, writer = minimal_1.default.Writer.create()) {
109
+ if (message.group_name !== "") {
110
+ writer.uint32(10).string(message.group_name);
111
+ }
112
+ if (message.seq_no !== undefined) {
113
+ writer.uint32(16).int32(message.seq_no);
114
+ }
115
+ for (const v of message.blocks) {
116
+ exports.Block.encode(v, writer.uint32(26).fork()).ldelim();
117
+ }
118
+ return writer;
119
+ },
120
+ decode(input, length) {
121
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
122
+ let end = length === undefined ? reader.len : reader.pos + length;
123
+ const message = createBaseBlock_groups();
124
+ while (reader.pos < end) {
125
+ const tag = reader.uint32();
126
+ switch (tag >>> 3) {
127
+ case 1:
128
+ if (tag !== 10) {
129
+ break;
130
+ }
131
+ message.group_name = reader.string();
132
+ continue;
133
+ case 2:
134
+ if (tag !== 16) {
135
+ break;
136
+ }
137
+ message.seq_no = reader.int32();
138
+ continue;
139
+ case 3:
140
+ if (tag !== 26) {
141
+ break;
142
+ }
143
+ message.blocks.push(exports.Block.decode(reader, reader.uint32()));
144
+ continue;
145
+ }
146
+ if ((tag & 7) === 4 || tag === 0) {
147
+ break;
148
+ }
149
+ reader.skipType(tag & 7);
150
+ }
151
+ return message;
152
+ },
153
+ fromJSON(object) {
154
+ return {
155
+ group_name: isSet(object.group_name) ? globalThis.String(object.group_name) : "",
156
+ seq_no: isSet(object.seq_no) ? globalThis.Number(object.seq_no) : undefined,
157
+ blocks: globalThis.Array.isArray(object?.blocks) ? object.blocks.map((e) => exports.Block.fromJSON(e)) : [],
158
+ };
159
+ },
160
+ toJSON(message) {
161
+ const obj = {};
162
+ if (message.group_name !== "") {
163
+ obj.group_name = message.group_name;
164
+ }
165
+ if (message.seq_no !== undefined) {
166
+ obj.seq_no = Math.round(message.seq_no);
167
+ }
168
+ if (message.blocks?.length) {
169
+ obj.blocks = message.blocks.map((e) => exports.Block.toJSON(e));
170
+ }
171
+ return obj;
172
+ },
173
+ create(base) {
174
+ return exports.Block_groups.fromPartial(base ?? {});
175
+ },
176
+ fromPartial(object) {
177
+ const message = createBaseBlock_groups();
178
+ message.group_name = object.group_name ?? "";
179
+ message.seq_no = object.seq_no ?? undefined;
180
+ message.blocks = object.blocks?.map((e) => exports.Block.fromPartial(e)) || [];
181
+ return message;
182
+ },
183
+ };
184
+ function createBaseBlock() {
185
+ return { block_name: "", seq_no: undefined, items: [], block_type: undefined, block_title: undefined };
186
+ }
187
+ exports.Block = {
188
+ encode(message, writer = minimal_1.default.Writer.create()) {
189
+ if (message.block_name !== "") {
190
+ writer.uint32(10).string(message.block_name);
191
+ }
192
+ if (message.seq_no !== undefined) {
193
+ writer.uint32(16).int32(message.seq_no);
194
+ }
195
+ for (const v of message.items) {
196
+ exports.Items.encode(v, writer.uint32(26).fork()).ldelim();
197
+ }
198
+ if (message.block_type !== undefined) {
199
+ writer.uint32(34).string(message.block_type);
200
+ }
201
+ if (message.block_title !== undefined) {
202
+ writer.uint32(42).string(message.block_title);
203
+ }
204
+ return writer;
205
+ },
206
+ decode(input, length) {
207
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
208
+ let end = length === undefined ? reader.len : reader.pos + length;
209
+ const message = createBaseBlock();
210
+ while (reader.pos < end) {
211
+ const tag = reader.uint32();
212
+ switch (tag >>> 3) {
213
+ case 1:
214
+ if (tag !== 10) {
215
+ break;
216
+ }
217
+ message.block_name = reader.string();
218
+ continue;
219
+ case 2:
220
+ if (tag !== 16) {
221
+ break;
222
+ }
223
+ message.seq_no = reader.int32();
224
+ continue;
225
+ case 3:
226
+ if (tag !== 26) {
227
+ break;
228
+ }
229
+ message.items.push(exports.Items.decode(reader, reader.uint32()));
230
+ continue;
231
+ case 4:
232
+ if (tag !== 34) {
233
+ break;
234
+ }
235
+ message.block_type = reader.string();
236
+ continue;
237
+ case 5:
238
+ if (tag !== 42) {
239
+ break;
240
+ }
241
+ message.block_title = reader.string();
242
+ continue;
243
+ }
244
+ if ((tag & 7) === 4 || tag === 0) {
245
+ break;
246
+ }
247
+ reader.skipType(tag & 7);
248
+ }
249
+ return message;
250
+ },
251
+ fromJSON(object) {
252
+ return {
253
+ block_name: isSet(object.block_name) ? globalThis.String(object.block_name) : "",
254
+ seq_no: isSet(object.seq_no) ? globalThis.Number(object.seq_no) : undefined,
255
+ items: globalThis.Array.isArray(object?.items) ? object.items.map((e) => exports.Items.fromJSON(e)) : [],
256
+ block_type: isSet(object.block_type) ? globalThis.String(object.block_type) : undefined,
257
+ block_title: isSet(object.block_title) ? globalThis.String(object.block_title) : undefined,
258
+ };
259
+ },
260
+ toJSON(message) {
261
+ const obj = {};
262
+ if (message.block_name !== "") {
263
+ obj.block_name = message.block_name;
264
+ }
265
+ if (message.seq_no !== undefined) {
266
+ obj.seq_no = Math.round(message.seq_no);
267
+ }
268
+ if (message.items?.length) {
269
+ obj.items = message.items.map((e) => exports.Items.toJSON(e));
270
+ }
271
+ if (message.block_type !== undefined) {
272
+ obj.block_type = message.block_type;
273
+ }
274
+ if (message.block_title !== undefined) {
275
+ obj.block_title = message.block_title;
276
+ }
277
+ return obj;
278
+ },
279
+ create(base) {
280
+ return exports.Block.fromPartial(base ?? {});
281
+ },
282
+ fromPartial(object) {
283
+ const message = createBaseBlock();
284
+ message.block_name = object.block_name ?? "";
285
+ message.seq_no = object.seq_no ?? undefined;
286
+ message.items = object.items?.map((e) => exports.Items.fromPartial(e)) || [];
287
+ message.block_type = object.block_type ?? undefined;
288
+ message.block_title = object.block_title ?? undefined;
289
+ return message;
290
+ },
291
+ };
292
+ function createBaseItems() {
293
+ return {
294
+ text: undefined,
295
+ sub_text: undefined,
296
+ image_url: undefined,
297
+ video_url: undefined,
298
+ video_length: undefined,
299
+ action_url: undefined,
300
+ landing_page: undefined,
301
+ api_mode: undefined,
302
+ app_version: undefined,
303
+ old_customers: undefined,
304
+ is_new: undefined,
305
+ action_type: undefined,
306
+ color1: undefined,
307
+ color2: undefined,
308
+ image_trailing: undefined,
309
+ tag: undefined,
310
+ overlay_image: undefined,
311
+ title: undefined,
312
+ };
313
+ }
314
+ exports.Items = {
315
+ encode(message, writer = minimal_1.default.Writer.create()) {
316
+ if (message.text !== undefined) {
317
+ writer.uint32(10).string(message.text);
318
+ }
319
+ if (message.sub_text !== undefined) {
320
+ writer.uint32(18).string(message.sub_text);
321
+ }
322
+ if (message.image_url !== undefined) {
323
+ writer.uint32(26).string(message.image_url);
324
+ }
325
+ if (message.video_url !== undefined) {
326
+ writer.uint32(34).string(message.video_url);
327
+ }
328
+ if (message.video_length !== undefined) {
329
+ writer.uint32(40).int32(message.video_length);
330
+ }
331
+ if (message.action_url !== undefined) {
332
+ writer.uint32(50).string(message.action_url);
333
+ }
334
+ if (message.landing_page !== undefined) {
335
+ writer.uint32(58).string(message.landing_page);
336
+ }
337
+ if (message.api_mode !== undefined) {
338
+ writer.uint32(66).string(message.api_mode);
339
+ }
340
+ if (message.app_version !== undefined) {
341
+ writer.uint32(74).string(message.app_version);
342
+ }
343
+ if (message.old_customers !== undefined) {
344
+ writer.uint32(80).bool(message.old_customers);
345
+ }
346
+ if (message.is_new !== undefined) {
347
+ writer.uint32(88).bool(message.is_new);
348
+ }
349
+ if (message.action_type !== undefined) {
350
+ writer.uint32(98).string(message.action_type);
351
+ }
352
+ if (message.color1 !== undefined) {
353
+ writer.uint32(106).string(message.color1);
354
+ }
355
+ if (message.color2 !== undefined) {
356
+ writer.uint32(114).string(message.color2);
357
+ }
358
+ if (message.image_trailing !== undefined) {
359
+ writer.uint32(122).string(message.image_trailing);
360
+ }
361
+ if (message.tag !== undefined) {
362
+ exports.Tag.encode(message.tag, writer.uint32(130).fork()).ldelim();
363
+ }
364
+ if (message.overlay_image !== undefined) {
365
+ writer.uint32(138).string(message.overlay_image);
366
+ }
367
+ if (message.title !== undefined) {
368
+ writer.uint32(146).string(message.title);
369
+ }
370
+ return writer;
371
+ },
372
+ decode(input, length) {
373
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
374
+ let end = length === undefined ? reader.len : reader.pos + length;
375
+ const message = createBaseItems();
376
+ while (reader.pos < end) {
377
+ const tag = reader.uint32();
378
+ switch (tag >>> 3) {
379
+ case 1:
380
+ if (tag !== 10) {
381
+ break;
382
+ }
383
+ message.text = reader.string();
384
+ continue;
385
+ case 2:
386
+ if (tag !== 18) {
387
+ break;
388
+ }
389
+ message.sub_text = reader.string();
390
+ continue;
391
+ case 3:
392
+ if (tag !== 26) {
393
+ break;
394
+ }
395
+ message.image_url = reader.string();
396
+ continue;
397
+ case 4:
398
+ if (tag !== 34) {
399
+ break;
400
+ }
401
+ message.video_url = reader.string();
402
+ continue;
403
+ case 5:
404
+ if (tag !== 40) {
405
+ break;
406
+ }
407
+ message.video_length = reader.int32();
408
+ continue;
409
+ case 6:
410
+ if (tag !== 50) {
411
+ break;
412
+ }
413
+ message.action_url = reader.string();
414
+ continue;
415
+ case 7:
416
+ if (tag !== 58) {
417
+ break;
418
+ }
419
+ message.landing_page = reader.string();
420
+ continue;
421
+ case 8:
422
+ if (tag !== 66) {
423
+ break;
424
+ }
425
+ message.api_mode = reader.string();
426
+ continue;
427
+ case 9:
428
+ if (tag !== 74) {
429
+ break;
430
+ }
431
+ message.app_version = reader.string();
432
+ continue;
433
+ case 10:
434
+ if (tag !== 80) {
435
+ break;
436
+ }
437
+ message.old_customers = reader.bool();
438
+ continue;
439
+ case 11:
440
+ if (tag !== 88) {
441
+ break;
442
+ }
443
+ message.is_new = reader.bool();
444
+ continue;
445
+ case 12:
446
+ if (tag !== 98) {
447
+ break;
448
+ }
449
+ message.action_type = reader.string();
450
+ continue;
451
+ case 13:
452
+ if (tag !== 106) {
453
+ break;
454
+ }
455
+ message.color1 = reader.string();
456
+ continue;
457
+ case 14:
458
+ if (tag !== 114) {
459
+ break;
460
+ }
461
+ message.color2 = reader.string();
462
+ continue;
463
+ case 15:
464
+ if (tag !== 122) {
465
+ break;
466
+ }
467
+ message.image_trailing = reader.string();
468
+ continue;
469
+ case 16:
470
+ if (tag !== 130) {
471
+ break;
472
+ }
473
+ message.tag = exports.Tag.decode(reader, reader.uint32());
474
+ continue;
475
+ case 17:
476
+ if (tag !== 138) {
477
+ break;
478
+ }
479
+ message.overlay_image = reader.string();
480
+ continue;
481
+ case 18:
482
+ if (tag !== 146) {
483
+ break;
484
+ }
485
+ message.title = reader.string();
486
+ continue;
487
+ }
488
+ if ((tag & 7) === 4 || tag === 0) {
489
+ break;
490
+ }
491
+ reader.skipType(tag & 7);
492
+ }
493
+ return message;
494
+ },
495
+ fromJSON(object) {
496
+ return {
497
+ text: isSet(object.text) ? globalThis.String(object.text) : undefined,
498
+ sub_text: isSet(object.sub_text) ? globalThis.String(object.sub_text) : undefined,
499
+ image_url: isSet(object.image_url) ? globalThis.String(object.image_url) : undefined,
500
+ video_url: isSet(object.video_url) ? globalThis.String(object.video_url) : undefined,
501
+ video_length: isSet(object.video_length) ? globalThis.Number(object.video_length) : undefined,
502
+ action_url: isSet(object.action_url) ? globalThis.String(object.action_url) : undefined,
503
+ landing_page: isSet(object.landing_page) ? globalThis.String(object.landing_page) : undefined,
504
+ api_mode: isSet(object.api_mode) ? globalThis.String(object.api_mode) : undefined,
505
+ app_version: isSet(object.app_version) ? globalThis.String(object.app_version) : undefined,
506
+ old_customers: isSet(object.old_customers) ? globalThis.Boolean(object.old_customers) : undefined,
507
+ is_new: isSet(object.is_new) ? globalThis.Boolean(object.is_new) : undefined,
508
+ action_type: isSet(object.action_type) ? globalThis.String(object.action_type) : undefined,
509
+ color1: isSet(object.color1) ? globalThis.String(object.color1) : undefined,
510
+ color2: isSet(object.color2) ? globalThis.String(object.color2) : undefined,
511
+ image_trailing: isSet(object.image_trailing) ? globalThis.String(object.image_trailing) : undefined,
512
+ tag: isSet(object.tag) ? exports.Tag.fromJSON(object.tag) : undefined,
513
+ overlay_image: isSet(object.overlay_image) ? globalThis.String(object.overlay_image) : undefined,
514
+ title: isSet(object.title) ? globalThis.String(object.title) : undefined,
515
+ };
516
+ },
517
+ toJSON(message) {
518
+ const obj = {};
519
+ if (message.text !== undefined) {
520
+ obj.text = message.text;
521
+ }
522
+ if (message.sub_text !== undefined) {
523
+ obj.sub_text = message.sub_text;
524
+ }
525
+ if (message.image_url !== undefined) {
526
+ obj.image_url = message.image_url;
527
+ }
528
+ if (message.video_url !== undefined) {
529
+ obj.video_url = message.video_url;
530
+ }
531
+ if (message.video_length !== undefined) {
532
+ obj.video_length = Math.round(message.video_length);
533
+ }
534
+ if (message.action_url !== undefined) {
535
+ obj.action_url = message.action_url;
536
+ }
537
+ if (message.landing_page !== undefined) {
538
+ obj.landing_page = message.landing_page;
539
+ }
540
+ if (message.api_mode !== undefined) {
541
+ obj.api_mode = message.api_mode;
542
+ }
543
+ if (message.app_version !== undefined) {
544
+ obj.app_version = message.app_version;
545
+ }
546
+ if (message.old_customers !== undefined) {
547
+ obj.old_customers = message.old_customers;
548
+ }
549
+ if (message.is_new !== undefined) {
550
+ obj.is_new = message.is_new;
551
+ }
552
+ if (message.action_type !== undefined) {
553
+ obj.action_type = message.action_type;
554
+ }
555
+ if (message.color1 !== undefined) {
556
+ obj.color1 = message.color1;
557
+ }
558
+ if (message.color2 !== undefined) {
559
+ obj.color2 = message.color2;
560
+ }
561
+ if (message.image_trailing !== undefined) {
562
+ obj.image_trailing = message.image_trailing;
563
+ }
564
+ if (message.tag !== undefined) {
565
+ obj.tag = exports.Tag.toJSON(message.tag);
566
+ }
567
+ if (message.overlay_image !== undefined) {
568
+ obj.overlay_image = message.overlay_image;
569
+ }
570
+ if (message.title !== undefined) {
571
+ obj.title = message.title;
572
+ }
573
+ return obj;
574
+ },
575
+ create(base) {
576
+ return exports.Items.fromPartial(base ?? {});
577
+ },
578
+ fromPartial(object) {
579
+ const message = createBaseItems();
580
+ message.text = object.text ?? undefined;
581
+ message.sub_text = object.sub_text ?? undefined;
582
+ message.image_url = object.image_url ?? undefined;
583
+ message.video_url = object.video_url ?? undefined;
584
+ message.video_length = object.video_length ?? undefined;
585
+ message.action_url = object.action_url ?? undefined;
586
+ message.landing_page = object.landing_page ?? undefined;
587
+ message.api_mode = object.api_mode ?? undefined;
588
+ message.app_version = object.app_version ?? undefined;
589
+ message.old_customers = object.old_customers ?? undefined;
590
+ message.is_new = object.is_new ?? undefined;
591
+ message.action_type = object.action_type ?? undefined;
592
+ message.color1 = object.color1 ?? undefined;
593
+ message.color2 = object.color2 ?? undefined;
594
+ message.image_trailing = object.image_trailing ?? undefined;
595
+ message.tag = (object.tag !== undefined && object.tag !== null) ? exports.Tag.fromPartial(object.tag) : undefined;
596
+ message.overlay_image = object.overlay_image ?? undefined;
597
+ message.title = object.title ?? undefined;
598
+ return message;
599
+ },
600
+ };
601
+ function createBaseTag() {
602
+ return { text: "", bg_color: "", text_color: "" };
603
+ }
604
+ exports.Tag = {
605
+ encode(message, writer = minimal_1.default.Writer.create()) {
606
+ if (message.text !== "") {
607
+ writer.uint32(10).string(message.text);
608
+ }
609
+ if (message.bg_color !== "") {
610
+ writer.uint32(18).string(message.bg_color);
611
+ }
612
+ if (message.text_color !== "") {
613
+ writer.uint32(26).string(message.text_color);
614
+ }
615
+ return writer;
616
+ },
617
+ decode(input, length) {
618
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
619
+ let end = length === undefined ? reader.len : reader.pos + length;
620
+ const message = createBaseTag();
621
+ while (reader.pos < end) {
622
+ const tag = reader.uint32();
623
+ switch (tag >>> 3) {
624
+ case 1:
625
+ if (tag !== 10) {
626
+ break;
627
+ }
628
+ message.text = reader.string();
629
+ continue;
630
+ case 2:
631
+ if (tag !== 18) {
632
+ break;
633
+ }
634
+ message.bg_color = reader.string();
635
+ continue;
636
+ case 3:
637
+ if (tag !== 26) {
638
+ break;
639
+ }
640
+ message.text_color = reader.string();
641
+ continue;
642
+ }
643
+ if ((tag & 7) === 4 || tag === 0) {
644
+ break;
645
+ }
646
+ reader.skipType(tag & 7);
647
+ }
648
+ return message;
649
+ },
650
+ fromJSON(object) {
651
+ return {
652
+ text: isSet(object.text) ? globalThis.String(object.text) : "",
653
+ bg_color: isSet(object.bg_color) ? globalThis.String(object.bg_color) : "",
654
+ text_color: isSet(object.text_color) ? globalThis.String(object.text_color) : "",
655
+ };
656
+ },
657
+ toJSON(message) {
658
+ const obj = {};
659
+ if (message.text !== "") {
660
+ obj.text = message.text;
661
+ }
662
+ if (message.bg_color !== "") {
663
+ obj.bg_color = message.bg_color;
664
+ }
665
+ if (message.text_color !== "") {
666
+ obj.text_color = message.text_color;
667
+ }
668
+ return obj;
669
+ },
670
+ create(base) {
671
+ return exports.Tag.fromPartial(base ?? {});
672
+ },
673
+ fromPartial(object) {
674
+ const message = createBaseTag();
675
+ message.text = object.text ?? "";
676
+ message.bg_color = object.bg_color ?? "";
677
+ message.text_color = object.text_color ?? "";
678
+ return message;
679
+ },
680
+ };
681
+ function isSet(value) {
682
+ return value !== null && value !== undefined;
683
+ }