@stashfin/grpc 1.2.729 → 1.2.730

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 (359) 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.js +2 -2
  11. package/ts/bureau/getbasicdetails.js +2 -2
  12. package/ts/bureau/getcibilwebtoken.js +2 -2
  13. package/ts/bureau/getdbrcolending.js +2 -2
  14. package/ts/bureau/getdemogs.js +2 -2
  15. package/ts/bureau/getobligation.js +2 -2
  16. package/ts/bureau/getreport.js +2 -2
  17. package/ts/bureau/ischrenabled.js +2 -2
  18. package/ts/bureau.js +2 -2
  19. package/ts/ckyc/ckycdownload.js +2 -2
  20. package/ts/ckyc/ckycsearch.js +2 -2
  21. package/ts/ckyc.js +2 -2
  22. package/ts/colender/disburseLoan.js +2 -2
  23. package/ts/colender/forecloseLoan.js +2 -2
  24. package/ts/colender/repayLoan.js +2 -2
  25. package/ts/colender.js +2 -2
  26. package/ts/communications/bureauidwhatsapp.js +2 -2
  27. package/ts/communications.js +2 -2
  28. package/ts/customers/aa/getaatxnstatus.js +2 -2
  29. package/ts/customers/aa/getbanklist.js +2 -2
  30. package/ts/customers/aa/initiate.js +2 -2
  31. package/ts/customers/accidentprotectionplan.js +2 -2
  32. package/ts/customers/addaddress.js +2 -2
  33. package/ts/customers/addbankaccountdetails.js +2 -2
  34. package/ts/customers/addfathersname.js +2 -2
  35. package/ts/customers/addgstnumber.js +2 -2
  36. package/ts/customers/addmoredetails.js +2 -2
  37. package/ts/customers/addsuspendedcustomer.js +2 -2
  38. package/ts/customers/adduserapps.js +2 -2
  39. package/ts/customers/applyclijourney.js +2 -2
  40. package/ts/customers/bulksms.js +2 -2
  41. package/ts/customers/cb/cbapplicationrejecteddata.js +2 -2
  42. package/ts/customers/cb/cbpaynow.js +2 -2
  43. package/ts/customers/cb/cbsignup.js +2 -2
  44. package/ts/customers/cb/getcbtxnstatus.js +2 -2
  45. package/ts/customers/cb/getcreditbuilder.js +2 -2
  46. package/ts/customers/cb/getpaymentsummary.js +2 -2
  47. package/ts/customers/cb/insurancedetails.js +2 -2
  48. package/ts/customers/cb/lesscsimprove.js +2 -2
  49. package/ts/customers/cb/morecsimprove.js +2 -2
  50. package/ts/customers/cb/paynow.js +2 -2
  51. package/ts/customers/cb/savecreditbuilder.js +2 -2
  52. package/ts/customers/cb/updatecbstandalonecancellation.js +2 -2
  53. package/ts/customers/cb/updatecbstandaloneconfirmation.js +2 -2
  54. package/ts/customers/cb/updatecbstandalonejourney.js +2 -2
  55. package/ts/customers/cb/updatecbtxnstatus.js +2 -2
  56. package/ts/customers/changempin.js +2 -2
  57. package/ts/customers/createcustomerreference.js +2 -2
  58. package/ts/customers/createvanumber.js +2 -2
  59. package/ts/customers/customerinfo.js +2 -2
  60. package/ts/customers/deletedocument.js +2 -2
  61. package/ts/customers/deleteprofile.js +2 -2
  62. package/ts/customers/disablempin.js +2 -2
  63. package/ts/customers/enach/gettxnstatus.js +2 -2
  64. package/ts/customers/enach/getweburl.js +2 -2
  65. package/ts/customers/enach/updateenachtxnstatus.js +2 -2
  66. package/ts/customers/enach/updatetxnstatus.js +2 -2
  67. package/ts/customers/fetchrcprofile.js +2 -2
  68. package/ts/customers/floatingvideos.js +2 -2
  69. package/ts/customers/forceupdate.js +2 -2
  70. package/ts/customers/forgotmpin.js +2 -2
  71. package/ts/customers/forgotmpinverify.js +2 -2
  72. package/ts/customers/freedom/addressconfirmation.js +2 -2
  73. package/ts/customers/freedom/freedompaynow.js +2 -2
  74. package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
  75. package/ts/customers/freedom/updateadditionalverification.js +2 -2
  76. package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
  77. package/ts/customers/getaddresslist.js +2 -2
  78. package/ts/customers/getappsubmittedscreen.js +2 -2
  79. package/ts/customers/getbankaccountdetails.js +2 -2
  80. package/ts/customers/getbasicinfo.js +2 -2
  81. package/ts/customers/getcities.js +2 -2
  82. package/ts/customers/getclistatus.js +2 -2
  83. package/ts/customers/getcompanyaccdetails.js +2 -2
  84. package/ts/customers/getcustomer.d.ts +57 -0
  85. package/ts/customers/getcustomer.js +351 -0
  86. package/ts/customers/getcustomerbyid.js +2 -2
  87. package/ts/customers/getcustomerdetailsbymobile.js +2 -2
  88. package/ts/customers/getdashboard.js +2 -2
  89. package/ts/customers/getdashboardmaincard.js +2 -2
  90. package/ts/customers/getdocuments.js +2 -2
  91. package/ts/customers/getglobalpopups.js +2 -2
  92. package/ts/customers/getlimit.js +2 -2
  93. package/ts/customers/getloclimit.js +2 -2
  94. package/ts/customers/getmessengermode.js +2 -2
  95. package/ts/customers/getoccupationlist.js +2 -2
  96. package/ts/customers/getpaymentoptions.js +2 -2
  97. package/ts/customers/getprofessionalinfo.js +2 -2
  98. package/ts/customers/getprofile.js +2 -2
  99. package/ts/customers/getrecommendedtag.d.ts +35 -0
  100. package/ts/customers/getrecommendedtag.js +134 -0
  101. package/ts/customers/getrpdlink.d.ts +40 -0
  102. package/ts/customers/getrpdlink.js +190 -0
  103. package/ts/customers/getselfieetxnid.js +2 -2
  104. package/ts/customers/getstates.js +2 -2
  105. package/ts/customers/getstep.js +2 -2
  106. package/ts/customers/getsyncstatus.js +2 -2
  107. package/ts/customers/getvanumber.js +2 -2
  108. package/ts/customers/kyc/epfo.d.ts +38 -0
  109. package/ts/customers/kyc/epfo.js +149 -0
  110. package/ts/customers/lamf/applylamf.js +2 -2
  111. package/ts/customers/lamf/sendlamfotp.js +2 -2
  112. package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
  113. package/ts/customers/lamf/updatelamfjourney.js +2 -2
  114. package/ts/customers/lamf/verifylamfotp.js +2 -2
  115. package/ts/customers/lamf/verifylamfpledgeotp.js +2 -2
  116. package/ts/customers/logout.js +2 -2
  117. package/ts/customers/pd/getbanklist.js +2 -2
  118. package/ts/customers/pd/validatebankaccount.js +2 -2
  119. package/ts/customers/profilebasic.js +2 -2
  120. package/ts/customers/profileupdatetnc.js +2 -2
  121. package/ts/customers/resetbanner.js +2 -2
  122. package/ts/customers/restoreaccount.js +2 -2
  123. package/ts/customers/rpd/getrpdlink.js +2 -2
  124. package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
  125. package/ts/customers/rpd/mockpayment.js +2 -2
  126. package/ts/customers/saveappslist.js +2 -2
  127. package/ts/customers/savebasicdetails.js +2 -2
  128. package/ts/customers/savelimit.js +2 -2
  129. package/ts/customers/saveunlocklimit.js +2 -2
  130. package/ts/customers/sendemailtoken.d.ts +35 -0
  131. package/ts/customers/sendemailtoken.js +117 -0
  132. package/ts/customers/sendotp.js +2 -2
  133. package/ts/customers/sendotptoemail.js +2 -2
  134. package/ts/customers/setmpin.js +2 -2
  135. package/ts/customers/skipdlrcscreen.d.ts +35 -0
  136. package/ts/customers/skipdlrcscreen.js +117 -0
  137. package/ts/customers/skipscreen.js +2 -2
  138. package/ts/customers/step1.d.ts +69 -0
  139. package/ts/customers/step1.js +395 -0
  140. package/ts/customers/step10.d.ts +73 -0
  141. package/ts/customers/step10.js +459 -0
  142. package/ts/customers/step2.d.ts +68 -0
  143. package/ts/customers/step2.js +381 -0
  144. package/ts/customers/step7.d.ts +68 -0
  145. package/ts/customers/step7.js +381 -0
  146. package/ts/customers/step8.d.ts +69 -0
  147. package/ts/customers/step8.js +395 -0
  148. package/ts/customers/step9.d.ts +75 -0
  149. package/ts/customers/step9.js +489 -0
  150. package/ts/customers/stepstatic.d.ts +66 -0
  151. package/ts/customers/stepstatic.js +354 -0
  152. package/ts/customers/submituploadeddocuments.js +2 -2
  153. package/ts/customers/syncdecisionengine.js +2 -2
  154. package/ts/customers/updatecategory.js +2 -2
  155. package/ts/customers/updatecongratulationstep.js +2 -2
  156. package/ts/customers/updatecustomerbyid.js +2 -2
  157. package/ts/customers/updatedlnumber.js +2 -2
  158. package/ts/customers/updatedob.js +2 -2
  159. package/ts/customers/updatelocstatus.js +2 -2
  160. package/ts/customers/updatemobilesendotp.js +2 -2
  161. package/ts/customers/updatemobileverifyotp.js +2 -2
  162. package/ts/customers/updateokyctxn.js +2 -2
  163. package/ts/customers/updatesanctionamount.js +2 -2
  164. package/ts/customers/updateselfieetxn.js +2 -2
  165. package/ts/customers/updatesyncstatus.js +2 -2
  166. package/ts/customers/updatevehiclenumber.js +2 -2
  167. package/ts/customers/uploaddocuments.js +2 -2
  168. package/ts/customers/validatepan.js +2 -2
  169. package/ts/customers/verifyemail.d.ts +35 -0
  170. package/ts/{loans/getvirtualaccountnumber.js → customers/verifyemail.js} +32 -32
  171. package/ts/customers/verifympin.js +2 -2
  172. package/ts/customers/verifyotp.js +2 -2
  173. package/ts/customers/verifyotptoemail.js +2 -2
  174. package/ts/customers.js +2 -2
  175. package/ts/decisionengine/decisionengine.js +2 -2
  176. package/ts/decisionengine/decisionenginetrigger.js +2 -2
  177. package/ts/decisionengine/locdisbursalapproval.js +2 -2
  178. package/ts/decisionengine/saveconsent.js +2 -2
  179. package/ts/decisionengine.js +2 -2
  180. package/ts/deveqxcustomers.js +2 -2
  181. package/ts/devupi.js +2 -2
  182. package/ts/documents/getagreement.js +2 -2
  183. package/ts/documents/getfinancialdoc.js +2 -2
  184. package/ts/documents.js +2 -2
  185. package/ts/eqxcustomer.js +2 -2
  186. package/ts/eqxcustomers/authenticateuser.js +2 -2
  187. package/ts/eqxcustomers/creditguidance.js +2 -2
  188. package/ts/eqxcustomers/getbankaccount.js +2 -2
  189. package/ts/eqxcustomers/getcustomerbyid.js +2 -2
  190. package/ts/eqxcustomers/getcustomerbymobile.js +2 -2
  191. package/ts/eqxcustomers/getdashboard.js +2 -2
  192. package/ts/eqxcustomers/getdashboardmaincard.js +2 -2
  193. package/ts/eqxcustomers/getloanplans.js +2 -2
  194. package/ts/eqxcustomers/getnotifications.js +2 -2
  195. package/ts/eqxcustomers/getstashscorecustomerprofile.js +2 -2
  196. package/ts/eqxcustomers/gettokens.js +2 -2
  197. package/ts/eqxcustomers/iscustomerregistered.js +2 -2
  198. package/ts/eqxcustomers/sendotp.js +2 -2
  199. package/ts/eqxcustomers/updatecustomer.js +2 -2
  200. package/ts/eqxcustomers/updatenotification.js +2 -2
  201. package/ts/eqxcustomers/updatepushid.js +2 -2
  202. package/ts/eqxcustomers/updatesubscriptionstatus.js +2 -2
  203. package/ts/eqxcustomers/verifyotp.d.ts +1 -0
  204. package/ts/eqxcustomers/verifyotp.js +26 -3
  205. package/ts/eqxcustomers/verifytoken.js +2 -2
  206. package/ts/example.js +2 -2
  207. package/ts/feepayments/getbanklist.js +2 -2
  208. package/ts/feepayments.js +2 -2
  209. package/ts/google/protobuf/struct.d.ts +121 -0
  210. package/ts/google/protobuf/struct.js +449 -0
  211. package/ts/google/protobuf/timestamp.d.ts +127 -0
  212. package/ts/google/protobuf/timestamp.js +97 -0
  213. package/ts/growth/checkplanstatus.js +2 -2
  214. package/ts/growth/getattachplandetails.js +2 -2
  215. package/ts/growth/getchrpaymentstatus.js +2 -2
  216. package/ts/growth/getchrpdfurl.js +2 -2
  217. package/ts/growth/getchrplans.js +2 -2
  218. package/ts/growth/getchrreport.d.ts +42 -0
  219. package/ts/growth/getchrreport.js +300 -4
  220. package/ts/growth/getchrreportdata.js +2 -2
  221. package/ts/growth/getchrsubscriptionplan.js +2 -2
  222. package/ts/growth/getchrvideourl.js +2 -2
  223. package/ts/growth/getcredithealthreport.js +2 -2
  224. package/ts/growth/initiatepayment.js +2 -2
  225. package/ts/growth/notifychrpayment.js +2 -2
  226. package/ts/growth/processchrpayment.js +2 -2
  227. package/ts/growth.js +2 -2
  228. package/ts/kyc/amldetails.js +2 -2
  229. package/ts/kyc/authbridgepancomprehend.js +2 -2
  230. package/ts/kyc/bureauidwhatsapp.js +2 -2
  231. package/ts/kyc/epfo/fetchUANList.d.ts +35 -0
  232. package/ts/kyc/epfo/fetchUANList.js +119 -0
  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/getselfietxn.d.ts +37 -0
  238. package/ts/kyc/getselfietxn.js +161 -0
  239. package/ts/kyc/getselfietxnid.js +2 -2
  240. package/ts/kyc/getselfieurl.js +2 -2
  241. package/ts/kyc/nsdlpanvalidate.js +2 -2
  242. package/ts/kyc.js +2 -2
  243. package/ts/lamf/getloandetails.js +2 -2
  244. package/ts/lamf/submitotp.js +2 -2
  245. package/ts/lamf/validateuser.js +2 -2
  246. package/ts/lamf.js +2 -2
  247. package/ts/loans/addreference.js +2 -2
  248. package/ts/loans/addrefrences.d.ts +49 -0
  249. package/ts/loans/addrefrences.js +229 -0
  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.js +2 -2
  261. package/ts/loans/foreclosepayment.js +2 -2
  262. package/ts/loans/futurepaymentmoredetails.js +2 -2
  263. package/ts/loans/getaddonslist.js +2 -2
  264. package/ts/loans/getbankdetails.js +2 -2
  265. package/ts/loans/getbilldetails.js +2 -2
  266. package/ts/loans/getcbloandetails.js +2 -2
  267. package/ts/loans/getchrdetails.js +2 -2
  268. package/ts/loans/getcustomerloanstatus.js +2 -2
  269. package/ts/loans/getforecloseamount.js +2 -2
  270. package/ts/loans/getloanbyid.js +2 -2
  271. package/ts/loans/getlocconfirms.js +2 -2
  272. package/ts/loans/getlocdetails.js +2 -2
  273. package/ts/loans/getlocdisburse.js +2 -2
  274. package/ts/loans/getlocpartnerconfirm.d.ts +46 -0
  275. package/ts/loans/getlocpartnerconfirm.js +287 -0
  276. package/ts/loans/getlocpartnertenure.d.ts +57 -0
  277. package/ts/loans/getlocpartnertenure.js +339 -0
  278. package/ts/loans/getloctenure.js +2 -2
  279. package/ts/loans/getlocwithdraw.js +2 -2
  280. package/ts/loans/getlocwithdrawform.js +2 -2
  281. package/ts/loans/getnextdueamount.js +2 -2
  282. package/ts/loans/getpartnerlocwithdraw.d.ts +111 -0
  283. package/ts/loans/getpartnerlocwithdraw.js +1289 -0
  284. package/ts/loans/getpaymentoptions.js +2 -2
  285. package/ts/loans/getpendingemiamount.js +2 -2
  286. package/ts/loans/getsetubilldetails.js +2 -2
  287. package/ts/loans/getsummarystaticfields.js +2 -2
  288. package/ts/loans/gettransactionstatus.js +2 -2
  289. package/ts/loans/getusedlimit.js +2 -2
  290. package/ts/loans/getvirtualbankinfo.js +2 -2
  291. package/ts/loans/loansummary.js +2 -2
  292. package/ts/loans/locrequested.js +2 -2
  293. package/ts/loans/manualpaymentallocation.js +2 -2
  294. package/ts/loans/paymentallocation.js +2 -2
  295. package/ts/loans/paymenthistory.js +2 -2
  296. package/ts/loans/paynow.js +2 -2
  297. package/ts/loans/refund.js +2 -2
  298. package/ts/loans/restructureloan.js +2 -2
  299. package/ts/loans/rollback.js +2 -2
  300. package/ts/loans/rollbackextrapayment.js +2 -2
  301. package/ts/loans/sendemail.js +2 -2
  302. package/ts/loans/sendnocemail.js +2 -2
  303. package/ts/loans/transactionlist.js +2 -2
  304. package/ts/loans/updatecollectionview.js +2 -2
  305. package/ts/loans/updateinstallments.js +2 -2
  306. package/ts/loans/updateloan.js +2 -2
  307. package/ts/loans/updatetransactionstatus.js +2 -2
  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.js +2 -2
  316. package/ts/paymentsnode.js +2 -2
  317. package/ts/rewards/getoffers.js +2 -2
  318. package/ts/rewards/redeemoffer.js +2 -2
  319. package/ts/rewards.js +2 -2
  320. package/ts/stashcash/creditsc.js +2 -2
  321. package/ts/stashcash/debitsc.js +2 -2
  322. package/ts/stashcash/getscbalance.js +2 -2
  323. package/ts/stashcash/getschistory.js +2 -2
  324. package/ts/stashcash/reversesc.js +2 -2
  325. package/ts/stashcash.js +2 -2
  326. package/ts/upi/addaccount.js +2 -2
  327. package/ts/upi/addupinumber.d.ts +39 -0
  328. package/ts/upi/addupinumber.js +177 -0
  329. package/ts/upi/addvpa.d.ts +36 -0
  330. package/ts/upi/addvpa.js +133 -0
  331. package/ts/upi/blockvpa.js +2 -2
  332. package/ts/upi/checkderegisterpermission.js +2 -2
  333. package/ts/upi/checktransactionstatus.js +2 -2
  334. package/ts/upi/declinemandate.js +2 -2
  335. package/ts/upi/deregisterprofile.js +2 -2
  336. package/ts/upi/getaccountsbyprovider.js +2 -2
  337. package/ts/upi/getallmandates.js +2 -2
  338. package/ts/upi/getavailablevpa.js +2 -2
  339. package/ts/upi/getlistedaccountproviders.js +2 -2
  340. package/ts/upi/getmandatedetails.js +2 -2
  341. package/ts/upi/getmandatehistory.js +2 -2
  342. package/ts/upi/getpendingcollectrequest.js +2 -2
  343. package/ts/upi/getprofile.js +2 -2
  344. package/ts/upi/getrecentcontacts.js +2 -2
  345. package/ts/upi/gettransactions.js +2 -2
  346. package/ts/upi/getupinumbers.js +2 -2
  347. package/ts/upi/initiatemandateaction.js +2 -2
  348. package/ts/upi/initiatetransaction.js +2 -2
  349. package/ts/upi/listblockedvpa.js +2 -2
  350. package/ts/upi/suggestvpa.d.ts +35 -0
  351. package/ts/upi/suggestvpa.js +122 -0
  352. package/ts/upi/unblockvpa.js +2 -2
  353. package/ts/upi/updatedevicebinding.js +2 -2
  354. package/ts/upi/updatedevicelinking.js +2 -2
  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.js +2 -2
  359. package/ts/loans/getvirtualaccountnumber.d.ts +0 -35
@@ -0,0 +1,459 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v5.27.3
6
+ // source: customers/step10.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.step10Response_Field = exports.step10Response = exports.Validation = exports.step10Request = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "customers.step10";
15
+ function createBasestep10Request() {
16
+ return {
17
+ email: "",
18
+ father_name: "",
19
+ monthly_income: 0,
20
+ company_name: "",
21
+ salary_date: "",
22
+ occupation: "",
23
+ gender: "",
24
+ };
25
+ }
26
+ exports.step10Request = {
27
+ encode(message, writer = minimal_1.default.Writer.create()) {
28
+ if (message.email !== "") {
29
+ writer.uint32(10).string(message.email);
30
+ }
31
+ if (message.father_name !== "") {
32
+ writer.uint32(18).string(message.father_name);
33
+ }
34
+ if (message.monthly_income !== 0) {
35
+ writer.uint32(29).float(message.monthly_income);
36
+ }
37
+ if (message.company_name !== "") {
38
+ writer.uint32(34).string(message.company_name);
39
+ }
40
+ if (message.salary_date !== "") {
41
+ writer.uint32(42).string(message.salary_date);
42
+ }
43
+ if (message.occupation !== "") {
44
+ writer.uint32(50).string(message.occupation);
45
+ }
46
+ if (message.gender !== "") {
47
+ writer.uint32(58).string(message.gender);
48
+ }
49
+ return writer;
50
+ },
51
+ decode(input, length) {
52
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
53
+ let end = length === undefined ? reader.len : reader.pos + length;
54
+ const message = createBasestep10Request();
55
+ while (reader.pos < end) {
56
+ const tag = reader.uint32();
57
+ switch (tag >>> 3) {
58
+ case 1:
59
+ if (tag !== 10) {
60
+ break;
61
+ }
62
+ message.email = reader.string();
63
+ continue;
64
+ case 2:
65
+ if (tag !== 18) {
66
+ break;
67
+ }
68
+ message.father_name = reader.string();
69
+ continue;
70
+ case 3:
71
+ if (tag !== 29) {
72
+ break;
73
+ }
74
+ message.monthly_income = reader.float();
75
+ continue;
76
+ case 4:
77
+ if (tag !== 34) {
78
+ break;
79
+ }
80
+ message.company_name = reader.string();
81
+ continue;
82
+ case 5:
83
+ if (tag !== 42) {
84
+ break;
85
+ }
86
+ message.salary_date = reader.string();
87
+ continue;
88
+ case 6:
89
+ if (tag !== 50) {
90
+ break;
91
+ }
92
+ message.occupation = reader.string();
93
+ continue;
94
+ case 7:
95
+ if (tag !== 58) {
96
+ break;
97
+ }
98
+ message.gender = reader.string();
99
+ continue;
100
+ }
101
+ if ((tag & 7) === 4 || tag === 0) {
102
+ break;
103
+ }
104
+ reader.skipType(tag & 7);
105
+ }
106
+ return message;
107
+ },
108
+ fromJSON(object) {
109
+ return {
110
+ email: isSet(object.email) ? globalThis.String(object.email) : "",
111
+ father_name: isSet(object.father_name) ? globalThis.String(object.father_name) : "",
112
+ monthly_income: isSet(object.monthly_income) ? globalThis.Number(object.monthly_income) : 0,
113
+ company_name: isSet(object.company_name) ? globalThis.String(object.company_name) : "",
114
+ salary_date: isSet(object.salary_date) ? globalThis.String(object.salary_date) : "",
115
+ occupation: isSet(object.occupation) ? globalThis.String(object.occupation) : "",
116
+ gender: isSet(object.gender) ? globalThis.String(object.gender) : "",
117
+ };
118
+ },
119
+ toJSON(message) {
120
+ const obj = {};
121
+ if (message.email !== "") {
122
+ obj.email = message.email;
123
+ }
124
+ if (message.father_name !== "") {
125
+ obj.father_name = message.father_name;
126
+ }
127
+ if (message.monthly_income !== 0) {
128
+ obj.monthly_income = message.monthly_income;
129
+ }
130
+ if (message.company_name !== "") {
131
+ obj.company_name = message.company_name;
132
+ }
133
+ if (message.salary_date !== "") {
134
+ obj.salary_date = message.salary_date;
135
+ }
136
+ if (message.occupation !== "") {
137
+ obj.occupation = message.occupation;
138
+ }
139
+ if (message.gender !== "") {
140
+ obj.gender = message.gender;
141
+ }
142
+ return obj;
143
+ },
144
+ create(base) {
145
+ return exports.step10Request.fromPartial(base ?? {});
146
+ },
147
+ fromPartial(object) {
148
+ const message = createBasestep10Request();
149
+ message.email = object.email ?? "";
150
+ message.father_name = object.father_name ?? "";
151
+ message.monthly_income = object.monthly_income ?? 0;
152
+ message.company_name = object.company_name ?? "";
153
+ message.salary_date = object.salary_date ?? "";
154
+ message.occupation = object.occupation ?? "";
155
+ message.gender = object.gender ?? "";
156
+ return message;
157
+ },
158
+ };
159
+ function createBaseValidation() {
160
+ return { key: "", value: "", message: "" };
161
+ }
162
+ exports.Validation = {
163
+ encode(message, writer = minimal_1.default.Writer.create()) {
164
+ if (message.key !== "") {
165
+ writer.uint32(10).string(message.key);
166
+ }
167
+ if (message.value !== "") {
168
+ writer.uint32(18).string(message.value);
169
+ }
170
+ if (message.message !== "") {
171
+ writer.uint32(26).string(message.message);
172
+ }
173
+ return writer;
174
+ },
175
+ decode(input, length) {
176
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
177
+ let end = length === undefined ? reader.len : reader.pos + length;
178
+ const message = createBaseValidation();
179
+ while (reader.pos < end) {
180
+ const tag = reader.uint32();
181
+ switch (tag >>> 3) {
182
+ case 1:
183
+ if (tag !== 10) {
184
+ break;
185
+ }
186
+ message.key = reader.string();
187
+ continue;
188
+ case 2:
189
+ if (tag !== 18) {
190
+ break;
191
+ }
192
+ message.value = reader.string();
193
+ continue;
194
+ case 3:
195
+ if (tag !== 26) {
196
+ break;
197
+ }
198
+ message.message = reader.string();
199
+ continue;
200
+ }
201
+ if ((tag & 7) === 4 || tag === 0) {
202
+ break;
203
+ }
204
+ reader.skipType(tag & 7);
205
+ }
206
+ return message;
207
+ },
208
+ fromJSON(object) {
209
+ return {
210
+ key: isSet(object.key) ? globalThis.String(object.key) : "",
211
+ value: isSet(object.value) ? globalThis.String(object.value) : "",
212
+ message: isSet(object.message) ? globalThis.String(object.message) : "",
213
+ };
214
+ },
215
+ toJSON(message) {
216
+ const obj = {};
217
+ if (message.key !== "") {
218
+ obj.key = message.key;
219
+ }
220
+ if (message.value !== "") {
221
+ obj.value = message.value;
222
+ }
223
+ if (message.message !== "") {
224
+ obj.message = message.message;
225
+ }
226
+ return obj;
227
+ },
228
+ create(base) {
229
+ return exports.Validation.fromPartial(base ?? {});
230
+ },
231
+ fromPartial(object) {
232
+ const message = createBaseValidation();
233
+ message.key = object.key ?? "";
234
+ message.value = object.value ?? "";
235
+ message.message = object.message ?? "";
236
+ return message;
237
+ },
238
+ };
239
+ function createBasestep10Response() {
240
+ return { page: "", type: "", button_text: "", data: [] };
241
+ }
242
+ exports.step10Response = {
243
+ encode(message, writer = minimal_1.default.Writer.create()) {
244
+ if (message.page !== "") {
245
+ writer.uint32(10).string(message.page);
246
+ }
247
+ if (message.type !== "") {
248
+ writer.uint32(18).string(message.type);
249
+ }
250
+ if (message.button_text !== "") {
251
+ writer.uint32(26).string(message.button_text);
252
+ }
253
+ for (const v of message.data) {
254
+ exports.step10Response_Field.encode(v, writer.uint32(34).fork()).ldelim();
255
+ }
256
+ return writer;
257
+ },
258
+ decode(input, length) {
259
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
260
+ let end = length === undefined ? reader.len : reader.pos + length;
261
+ const message = createBasestep10Response();
262
+ while (reader.pos < end) {
263
+ const tag = reader.uint32();
264
+ switch (tag >>> 3) {
265
+ case 1:
266
+ if (tag !== 10) {
267
+ break;
268
+ }
269
+ message.page = reader.string();
270
+ continue;
271
+ case 2:
272
+ if (tag !== 18) {
273
+ break;
274
+ }
275
+ message.type = reader.string();
276
+ continue;
277
+ case 3:
278
+ if (tag !== 26) {
279
+ break;
280
+ }
281
+ message.button_text = reader.string();
282
+ continue;
283
+ case 4:
284
+ if (tag !== 34) {
285
+ break;
286
+ }
287
+ message.data.push(exports.step10Response_Field.decode(reader, reader.uint32()));
288
+ continue;
289
+ }
290
+ if ((tag & 7) === 4 || tag === 0) {
291
+ break;
292
+ }
293
+ reader.skipType(tag & 7);
294
+ }
295
+ return message;
296
+ },
297
+ fromJSON(object) {
298
+ return {
299
+ page: isSet(object.page) ? globalThis.String(object.page) : "",
300
+ type: isSet(object.type) ? globalThis.String(object.type) : "",
301
+ button_text: isSet(object.button_text) ? globalThis.String(object.button_text) : "",
302
+ data: globalThis.Array.isArray(object?.data) ? object.data.map((e) => exports.step10Response_Field.fromJSON(e)) : [],
303
+ };
304
+ },
305
+ toJSON(message) {
306
+ const obj = {};
307
+ if (message.page !== "") {
308
+ obj.page = message.page;
309
+ }
310
+ if (message.type !== "") {
311
+ obj.type = message.type;
312
+ }
313
+ if (message.button_text !== "") {
314
+ obj.button_text = message.button_text;
315
+ }
316
+ if (message.data?.length) {
317
+ obj.data = message.data.map((e) => exports.step10Response_Field.toJSON(e));
318
+ }
319
+ return obj;
320
+ },
321
+ create(base) {
322
+ return exports.step10Response.fromPartial(base ?? {});
323
+ },
324
+ fromPartial(object) {
325
+ const message = createBasestep10Response();
326
+ message.page = object.page ?? "";
327
+ message.type = object.type ?? "";
328
+ message.button_text = object.button_text ?? "";
329
+ message.data = object.data?.map((e) => exports.step10Response_Field.fromPartial(e)) || [];
330
+ return message;
331
+ },
332
+ };
333
+ function createBasestep10Response_Field() {
334
+ return { label: "", key: "", input_type: "", data_type: "", icon: "", validations: [] };
335
+ }
336
+ exports.step10Response_Field = {
337
+ encode(message, writer = minimal_1.default.Writer.create()) {
338
+ if (message.label !== "") {
339
+ writer.uint32(10).string(message.label);
340
+ }
341
+ if (message.key !== "") {
342
+ writer.uint32(18).string(message.key);
343
+ }
344
+ if (message.input_type !== "") {
345
+ writer.uint32(26).string(message.input_type);
346
+ }
347
+ if (message.data_type !== "") {
348
+ writer.uint32(34).string(message.data_type);
349
+ }
350
+ if (message.icon !== "") {
351
+ writer.uint32(42).string(message.icon);
352
+ }
353
+ for (const v of message.validations) {
354
+ exports.Validation.encode(v, writer.uint32(58).fork()).ldelim();
355
+ }
356
+ return writer;
357
+ },
358
+ decode(input, length) {
359
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
360
+ let end = length === undefined ? reader.len : reader.pos + length;
361
+ const message = createBasestep10Response_Field();
362
+ while (reader.pos < end) {
363
+ const tag = reader.uint32();
364
+ switch (tag >>> 3) {
365
+ case 1:
366
+ if (tag !== 10) {
367
+ break;
368
+ }
369
+ message.label = reader.string();
370
+ continue;
371
+ case 2:
372
+ if (tag !== 18) {
373
+ break;
374
+ }
375
+ message.key = reader.string();
376
+ continue;
377
+ case 3:
378
+ if (tag !== 26) {
379
+ break;
380
+ }
381
+ message.input_type = reader.string();
382
+ continue;
383
+ case 4:
384
+ if (tag !== 34) {
385
+ break;
386
+ }
387
+ message.data_type = reader.string();
388
+ continue;
389
+ case 5:
390
+ if (tag !== 42) {
391
+ break;
392
+ }
393
+ message.icon = reader.string();
394
+ continue;
395
+ case 7:
396
+ if (tag !== 58) {
397
+ break;
398
+ }
399
+ message.validations.push(exports.Validation.decode(reader, reader.uint32()));
400
+ continue;
401
+ }
402
+ if ((tag & 7) === 4 || tag === 0) {
403
+ break;
404
+ }
405
+ reader.skipType(tag & 7);
406
+ }
407
+ return message;
408
+ },
409
+ fromJSON(object) {
410
+ return {
411
+ label: isSet(object.label) ? globalThis.String(object.label) : "",
412
+ key: isSet(object.key) ? globalThis.String(object.key) : "",
413
+ input_type: isSet(object.input_type) ? globalThis.String(object.input_type) : "",
414
+ data_type: isSet(object.data_type) ? globalThis.String(object.data_type) : "",
415
+ icon: isSet(object.icon) ? globalThis.String(object.icon) : "",
416
+ validations: globalThis.Array.isArray(object?.validations)
417
+ ? object.validations.map((e) => exports.Validation.fromJSON(e))
418
+ : [],
419
+ };
420
+ },
421
+ toJSON(message) {
422
+ const obj = {};
423
+ if (message.label !== "") {
424
+ obj.label = message.label;
425
+ }
426
+ if (message.key !== "") {
427
+ obj.key = message.key;
428
+ }
429
+ if (message.input_type !== "") {
430
+ obj.input_type = message.input_type;
431
+ }
432
+ if (message.data_type !== "") {
433
+ obj.data_type = message.data_type;
434
+ }
435
+ if (message.icon !== "") {
436
+ obj.icon = message.icon;
437
+ }
438
+ if (message.validations?.length) {
439
+ obj.validations = message.validations.map((e) => exports.Validation.toJSON(e));
440
+ }
441
+ return obj;
442
+ },
443
+ create(base) {
444
+ return exports.step10Response_Field.fromPartial(base ?? {});
445
+ },
446
+ fromPartial(object) {
447
+ const message = createBasestep10Response_Field();
448
+ message.label = object.label ?? "";
449
+ message.key = object.key ?? "";
450
+ message.input_type = object.input_type ?? "";
451
+ message.data_type = object.data_type ?? "";
452
+ message.icon = object.icon ?? "";
453
+ message.validations = object.validations?.map((e) => exports.Validation.fromPartial(e)) || [];
454
+ return message;
455
+ },
456
+ };
457
+ function isSet(value) {
458
+ return value !== null && value !== undefined;
459
+ }
@@ -0,0 +1,68 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "customers.step2";
3
+ export interface step2Request {
4
+ pincode: string;
5
+ dob: string;
6
+ }
7
+ export interface Validation {
8
+ key: string;
9
+ value: string;
10
+ message: string;
11
+ }
12
+ export interface step2Response {
13
+ page: string;
14
+ type: string;
15
+ button_text: string;
16
+ data: step2Response_Field[];
17
+ }
18
+ export interface step2Response_Field {
19
+ label: string;
20
+ key: string;
21
+ input_type: string;
22
+ data_type: string;
23
+ icon: string;
24
+ validations: Validation[];
25
+ }
26
+ export declare const step2Request: {
27
+ encode(message: step2Request, writer?: _m0.Writer): _m0.Writer;
28
+ decode(input: _m0.Reader | Uint8Array, length?: number): step2Request;
29
+ fromJSON(object: any): step2Request;
30
+ toJSON(message: step2Request): unknown;
31
+ create<I extends Exact<DeepPartial<step2Request>, I>>(base?: I): step2Request;
32
+ fromPartial<I extends Exact<DeepPartial<step2Request>, I>>(object: I): step2Request;
33
+ };
34
+ export declare const Validation: {
35
+ encode(message: Validation, writer?: _m0.Writer): _m0.Writer;
36
+ decode(input: _m0.Reader | Uint8Array, length?: number): Validation;
37
+ fromJSON(object: any): Validation;
38
+ toJSON(message: Validation): unknown;
39
+ create<I extends Exact<DeepPartial<Validation>, I>>(base?: I): Validation;
40
+ fromPartial<I extends Exact<DeepPartial<Validation>, I>>(object: I): Validation;
41
+ };
42
+ export declare const step2Response: {
43
+ encode(message: step2Response, writer?: _m0.Writer): _m0.Writer;
44
+ decode(input: _m0.Reader | Uint8Array, length?: number): step2Response;
45
+ fromJSON(object: any): step2Response;
46
+ toJSON(message: step2Response): unknown;
47
+ create<I extends Exact<DeepPartial<step2Response>, I>>(base?: I): step2Response;
48
+ fromPartial<I extends Exact<DeepPartial<step2Response>, I>>(object: I): step2Response;
49
+ };
50
+ export declare const step2Response_Field: {
51
+ encode(message: step2Response_Field, writer?: _m0.Writer): _m0.Writer;
52
+ decode(input: _m0.Reader | Uint8Array, length?: number): step2Response_Field;
53
+ fromJSON(object: any): step2Response_Field;
54
+ toJSON(message: step2Response_Field): unknown;
55
+ create<I extends Exact<DeepPartial<step2Response_Field>, I>>(base?: I): step2Response_Field;
56
+ fromPartial<I extends Exact<DeepPartial<step2Response_Field>, I>>(object: I): step2Response_Field;
57
+ };
58
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
59
+ 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 {} ? {
60
+ [K in keyof T]?: DeepPartial<T[K]>;
61
+ } : Partial<T>;
62
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
63
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
64
+ [K in keyof P]: Exact<P[K], I[K]>;
65
+ } & {
66
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
67
+ };
68
+ export {};