@stashfin/grpc 1.2.804 → 1.2.806

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