@stashfin/grpc 1.0.31 → 1.1.2
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.
- package/package.json +7 -1
- package/ts/bureau/getbasicdetails.d.ts +58 -0
- package/ts/bureau/getbasicdetails.js +355 -0
- package/ts/bureau/getcibilwebtoken.d.ts +49 -0
- package/ts/bureau/getcibilwebtoken.js +227 -0
- package/ts/bureau/getdbrcolending.d.ts +36 -0
- package/ts/bureau/getdbrcolending.js +147 -0
- package/ts/bureau/getdemogs.d.ts +113 -0
- package/ts/bureau/getdemogs.js +611 -0
- package/ts/bureau/getobligation.d.ts +83 -0
- package/ts/bureau/getobligation.js +517 -0
- package/ts/bureau/getreport.d.ts +188 -0
- package/ts/bureau/getreport.js +1640 -0
- package/ts/bureau.d.ts +98 -0
- package/ts/bureau.js +74 -0
- package/ts/colender/disburseLoan.d.ts +53 -0
- package/ts/colender/disburseLoan.js +399 -0
- package/ts/colender/forecloseLoan.d.ts +61 -0
- package/ts/colender/forecloseLoan.js +406 -0
- package/ts/colender/repayLoan.d.ts +61 -0
- package/ts/colender/repayLoan.js +406 -0
- package/ts/colender.d.ts +56 -0
- package/ts/colender.js +44 -0
- package/ts/customers/aa/getaatxnstatus.d.ts +35 -0
- package/ts/customers/aa/getaatxnstatus.js +117 -0
- package/ts/customers/aa/getbanklist.d.ts +49 -0
- package/ts/customers/aa/getbanklist.js +214 -0
- package/ts/customers/aa/initiate.d.ts +40 -0
- package/ts/customers/aa/initiate.js +209 -0
- package/ts/customers/accidentprotectionplan.d.ts +68 -0
- package/ts/customers/accidentprotectionplan.js +389 -0
- package/ts/customers/addaddress.d.ts +50 -0
- package/ts/customers/addaddress.js +265 -0
- package/ts/customers/addbankaccountdetails.d.ts +37 -0
- package/ts/customers/addbankaccountdetails.js +147 -0
- package/ts/customers/addfathersname.d.ts +35 -0
- package/ts/customers/addfathersname.js +117 -0
- package/ts/customers/addgstnumber.d.ts +35 -0
- package/ts/customers/addgstnumber.js +117 -0
- package/ts/customers/addmoredetails.d.ts +45 -0
- package/ts/customers/addmoredetails.js +271 -0
- package/ts/customers/addsuspendedcustomer.d.ts +36 -0
- package/ts/customers/addsuspendedcustomer.js +133 -0
- package/ts/customers/adduserapps.d.ts +74 -0
- package/ts/customers/adduserapps.js +210 -0
- package/ts/customers/applyclijourney.d.ts +34 -0
- package/ts/customers/applyclijourney.js +104 -0
- package/ts/customers/bulksms.d.ts +48 -0
- package/ts/customers/bulksms.js +201 -0
- package/ts/customers/cb/cbapplicationrejecteddata.d.ts +34 -0
- package/ts/customers/cb/cbapplicationrejecteddata.js +101 -0
- package/ts/customers/cb/cbpaynow.d.ts +37 -0
- package/ts/customers/cb/cbpaynow.js +147 -0
- package/ts/customers/cb/cbsignup.d.ts +34 -0
- package/ts/customers/cb/cbsignup.js +104 -0
- package/ts/customers/cb/getcbtxnstatus.d.ts +35 -0
- package/ts/customers/cb/getcbtxnstatus.js +117 -0
- package/ts/customers/cb/getcreditbuilder.d.ts +50 -0
- package/ts/customers/cb/getcreditbuilder.js +230 -0
- package/ts/customers/cb/getpaymentsummary.d.ts +55 -0
- package/ts/customers/cb/getpaymentsummary.js +302 -0
- package/ts/customers/cb/insurancedetails.d.ts +47 -0
- package/ts/customers/cb/insurancedetails.js +184 -0
- package/ts/customers/cb/lesscsimprove.d.ts +35 -0
- package/ts/customers/cb/lesscsimprove.js +117 -0
- package/ts/customers/cb/morecsimprove.d.ts +35 -0
- package/ts/customers/cb/morecsimprove.js +117 -0
- package/ts/customers/cb/savecreditbuilder.d.ts +35 -0
- package/ts/customers/cb/savecreditbuilder.js +117 -0
- package/ts/customers/cb/updatecbstandalonecancellation.d.ts +34 -0
- package/ts/customers/cb/updatecbstandalonecancellation.js +104 -0
- package/ts/customers/cb/updatecbstandaloneconfirmation.d.ts +34 -0
- package/ts/customers/cb/updatecbstandaloneconfirmation.js +104 -0
- package/ts/customers/cb/updatecbstandalonejourney.d.ts +34 -0
- package/ts/customers/cb/updatecbstandalonejourney.js +104 -0
- package/ts/customers/cb/updatecbtxnstatus.d.ts +36 -0
- package/ts/customers/cb/updatecbtxnstatus.js +133 -0
- package/ts/customers/changempin.d.ts +36 -0
- package/ts/customers/changempin.js +133 -0
- package/ts/customers/createcustomerreference.d.ts +43 -0
- package/ts/customers/createcustomerreference.js +226 -0
- package/ts/customers/createvanumber.d.ts +34 -0
- package/ts/customers/createvanumber.js +104 -0
- package/ts/customers/customerinfo.d.ts +59 -0
- package/ts/customers/customerinfo.js +481 -0
- package/ts/customers/deletedocument.d.ts +35 -0
- package/ts/{customer/setmpin.js → customers/deletedocument.js} +23 -39
- package/ts/customers/deleteprofile.d.ts +35 -0
- package/ts/customers/deleteprofile.js +120 -0
- package/ts/customers/disablempin.d.ts +35 -0
- package/ts/customers/{verifyemail.js → disablempin.js} +24 -24
- package/ts/customers/enach/gettxnstatus.d.ts +35 -0
- package/ts/customers/enach/gettxnstatus.js +117 -0
- package/ts/customers/enach/getweburl.d.ts +34 -0
- package/ts/customers/enach/getweburl.js +104 -0
- package/ts/customers/enach/updateenachtxnstatus.d.ts +40 -0
- package/ts/customers/enach/updateenachtxnstatus.js +205 -0
- package/ts/customers/fetchrcprofile.d.ts +45 -0
- package/ts/customers/fetchrcprofile.js +271 -0
- package/ts/customers/floatingvideos.d.ts +46 -0
- package/ts/customers/floatingvideos.js +172 -0
- package/ts/customers/forceupdate.d.ts +38 -0
- package/ts/customers/forceupdate.js +163 -0
- package/ts/customers/forgotmpin.d.ts +35 -0
- package/ts/customers/forgotmpin.js +117 -0
- package/ts/customers/forgotmpinverify.d.ts +37 -0
- package/ts/customers/forgotmpinverify.js +149 -0
- package/ts/customers/freedom/addressconfirmation.d.ts +37 -0
- package/ts/customers/freedom/addressconfirmation.js +149 -0
- package/ts/customers/freedom/freedompaynow.d.ts +37 -0
- package/ts/customers/freedom/freedompaynow.js +147 -0
- package/ts/customers/freedom/getfreedomtxnstatus.d.ts +35 -0
- package/ts/customers/freedom/getfreedomtxnstatus.js +117 -0
- package/ts/customers/freedom/updateadditionalverification.d.ts +34 -0
- package/ts/customers/freedom/updateadditionalverification.js +104 -0
- package/ts/customers/freedom/updatefreedomtxnstatus.d.ts +38 -0
- package/ts/customers/freedom/updatefreedomtxnstatus.js +177 -0
- package/ts/customers/getaddresslist.d.ts +36 -0
- package/ts/customers/getaddresslist.js +134 -0
- package/ts/customers/getappsubmittedscreen.d.ts +50 -0
- package/ts/customers/getappsubmittedscreen.js +230 -0
- package/ts/customers/getbankaccountdetails.d.ts +37 -0
- package/ts/customers/getbankaccountdetails.js +148 -0
- package/ts/customers/getbasicinfo.d.ts +56 -0
- package/ts/customers/getbasicinfo.js +323 -0
- package/ts/customers/getcities.d.ts +47 -0
- package/ts/customers/getcities.js +183 -0
- package/ts/customers/getclistatus.d.ts +34 -0
- package/ts/customers/getclistatus.js +104 -0
- package/ts/customers/getcompanyaccdetails.d.ts +37 -0
- package/ts/customers/getcompanyaccdetails.js +148 -0
- package/ts/customers/getcustomerbyid.d.ts +200 -0
- package/ts/customers/getcustomerbyid.js +2027 -0
- package/ts/customers/getcustomerdetailsbymobile.d.ts +42 -0
- package/ts/customers/getcustomerdetailsbymobile.js +219 -0
- package/ts/customers/getdashboard.d.ts +89 -0
- package/ts/customers/getdashboard.js +588 -0
- package/ts/customers/getdashboardmaincard.d.ts +73 -0
- package/ts/customers/getdashboardmaincard.js +579 -0
- package/ts/customers/getdocuments.d.ts +46 -0
- package/ts/customers/getdocuments.js +174 -0
- package/ts/customers/getglobalpopups.d.ts +49 -0
- package/ts/customers/getglobalpopups.js +214 -0
- package/ts/customers/getlimit.d.ts +35 -0
- package/ts/customers/getlimit.js +120 -0
- package/ts/customers/getloclimit.d.ts +35 -0
- package/ts/customers/getloclimit.js +120 -0
- package/ts/customers/getmessengermode.d.ts +34 -0
- package/ts/customers/getmessengermode.js +104 -0
- package/ts/customers/getoccupationlist.d.ts +34 -0
- package/ts/customers/getoccupationlist.js +105 -0
- package/ts/customers/getpaymentoptions.d.ts +51 -0
- package/ts/customers/getpaymentoptions.js +243 -0
- package/ts/customers/getprofessionalinfo.d.ts +54 -0
- package/ts/customers/getprofessionalinfo.js +286 -0
- package/ts/customers/getprofile.d.ts +26 -2
- package/ts/customers/getprofile.js +280 -27
- package/ts/customers/getselfieetxnid.d.ts +34 -0
- package/ts/customers/getselfieetxnid.js +104 -0
- package/ts/customers/getstates.d.ts +46 -0
- package/ts/customers/getstates.js +170 -0
- package/ts/customers/getstep.d.ts +24 -32
- package/ts/customers/getstep.js +173 -174
- package/ts/customers/getsyncstatus.d.ts +35 -0
- package/ts/customers/getsyncstatus.js +120 -0
- package/ts/customers/getvanumber.d.ts +35 -0
- package/ts/customers/getvanumber.js +117 -0
- package/ts/customers/kyc/epfo.d.ts +38 -0
- package/ts/customers/kyc/epfo.js +149 -0
- package/ts/customers/lamf/applylamf.d.ts +34 -0
- package/ts/customers/lamf/applylamf.js +104 -0
- package/ts/customers/lamf/sendlamfotp.d.ts +34 -0
- package/ts/customers/lamf/sendlamfotp.js +104 -0
- package/ts/customers/lamf/sendlamfpledgeotp.d.ts +34 -0
- package/ts/customers/lamf/sendlamfpledgeotp.js +104 -0
- package/ts/customers/lamf/verifylamfotp.d.ts +35 -0
- package/ts/customers/lamf/verifylamfotp.js +117 -0
- package/ts/customers/lamf/verifylamfpledgeotp.d.ts +35 -0
- package/ts/customers/lamf/verifylamfpledgeotp.js +117 -0
- package/ts/customers/logout.d.ts +34 -0
- package/ts/customers/logout.js +104 -0
- package/ts/customers/pd/getbanklist.d.ts +48 -0
- package/ts/customers/pd/getbanklist.js +204 -0
- package/ts/customers/pd/validatebankaccount.d.ts +37 -0
- package/ts/customers/pd/validatebankaccount.js +147 -0
- package/ts/customers/profilebasic.d.ts +3 -0
- package/ts/customers/profilebasic.js +53 -3
- package/ts/customers/profileupdatetnc.js +2 -2
- package/ts/customers/resetbanner.d.ts +34 -0
- package/ts/customers/resetbanner.js +104 -0
- package/ts/customers/restoreaccount.d.ts +36 -0
- package/ts/{customer/verifympin.js → customers/restoreaccount.js} +28 -44
- package/ts/customers/rpd/getrpdlink.d.ts +40 -0
- package/ts/customers/rpd/getrpdlink.js +190 -0
- package/ts/customers/rpd/getrpdtransactionstatus.d.ts +35 -0
- package/ts/customers/rpd/getrpdtransactionstatus.js +117 -0
- package/ts/customers/rpd/mockpayment.d.ts +37 -0
- package/ts/customers/rpd/mockpayment.js +149 -0
- package/ts/customers/saveappslist.d.ts +48 -0
- package/ts/customers/saveappslist.js +199 -0
- package/ts/customers/savebasicdetails.d.ts +48 -0
- package/ts/customers/savebasicdetails.js +199 -0
- package/ts/customers/savelimit.d.ts +35 -0
- package/ts/customers/savelimit.js +117 -0
- package/ts/customers/saveunlocklimit.d.ts +34 -0
- package/ts/customers/saveunlocklimit.js +104 -0
- package/ts/customers/sendotp.d.ts +2 -0
- package/ts/customers/sendotp.js +37 -5
- package/ts/customers/sendotptoemail.d.ts +35 -0
- package/ts/customers/{sendemailtoken.js → sendotptoemail.js} +23 -23
- package/ts/customers/setmpin.js +2 -2
- package/ts/customers/skipscreen.d.ts +44 -0
- package/ts/customers/skipscreen.js +162 -0
- package/ts/customers/submituploadeddocuments.d.ts +42 -0
- package/ts/customers/submituploadeddocuments.js +150 -0
- package/ts/customers/syncdecisionengine.d.ts +35 -0
- package/ts/customers/syncdecisionengine.js +117 -0
- package/ts/customers/updatecategory.d.ts +38 -0
- package/ts/customers/updatecategory.js +175 -0
- package/ts/customers/updatecongratulationstep.d.ts +34 -0
- package/ts/customers/updatecongratulationstep.js +104 -0
- package/ts/customers/updatecustomerbyid.d.ts +49 -0
- package/ts/customers/updatecustomerbyid.js +215 -0
- package/ts/customers/updatedlnumber.d.ts +35 -0
- package/ts/customers/updatedlnumber.js +119 -0
- package/ts/customers/updatedob.d.ts +35 -0
- package/ts/{customer/profileupdatetnc.js → customers/updatedob.js} +23 -23
- package/ts/customers/updatelocstatus.d.ts +36 -0
- package/ts/customers/updatelocstatus.js +133 -0
- package/ts/customers/updatemobilesendotp.d.ts +35 -0
- package/ts/customers/updatemobilesendotp.js +117 -0
- package/ts/customers/updatemobileverifyotp.d.ts +36 -0
- package/ts/customers/updatemobileverifyotp.js +133 -0
- package/ts/customers/updateokyctxn.d.ts +37 -0
- package/ts/customers/updateokyctxn.js +147 -0
- package/ts/customers/updatesanctionamount.d.ts +35 -0
- package/ts/customers/updatesanctionamount.js +117 -0
- package/ts/customers/updateselfieetxn.d.ts +36 -0
- package/ts/customers/updateselfieetxn.js +133 -0
- package/ts/customers/updatesyncstatus.d.ts +36 -0
- package/ts/customers/updatesyncstatus.js +133 -0
- package/ts/customers/updatevehiclenumber.d.ts +35 -0
- package/ts/customers/updatevehiclenumber.js +117 -0
- package/ts/customers/uploaddocuments.d.ts +37 -0
- package/ts/customers/uploaddocuments.js +147 -0
- package/ts/customers/validatepan.d.ts +46 -0
- package/ts/customers/validatepan.js +289 -0
- package/ts/customers/verifympin.js +2 -2
- package/ts/customers/verifyotp.d.ts +5 -0
- package/ts/customers/verifyotp.js +85 -15
- package/ts/customers/verifyotptoemail.d.ts +35 -0
- package/ts/customers/verifyotptoemail.js +117 -0
- package/ts/customers.d.ts +1520 -161
- package/ts/customers.js +1062 -91
- package/ts/decisionengine/decisionenginetrigger.d.ts +38 -0
- package/ts/decisionengine/decisionenginetrigger.js +163 -0
- package/ts/decisionengine/locdisbursalapproval.d.ts +40 -0
- package/ts/decisionengine/locdisbursalapproval.js +191 -0
- package/ts/decisionengine/saveconsent.d.ts +38 -0
- package/ts/{customer/getprofile.js → decisionengine/saveconsent.js} +72 -71
- package/ts/decisionengine.d.ts +56 -0
- package/ts/decisionengine.js +44 -0
- package/ts/documents/getagreement.d.ts +49 -0
- package/ts/documents/getagreement.js +213 -0
- package/ts/documents/getfinancialdoc.d.ts +87 -0
- package/ts/documents/getfinancialdoc.js +679 -0
- package/ts/documents.d.ts +42 -0
- package/ts/documents.js +34 -0
- package/ts/eqxcustomer.d.ts +126 -0
- package/ts/eqxcustomer.js +94 -0
- package/ts/eqxcustomers/getcustomerbyid.d.ts +43 -0
- package/ts/eqxcustomers/getcustomerbyid.js +243 -0
- package/ts/eqxcustomers/getdashboard.d.ts +103 -0
- package/ts/eqxcustomers/getdashboard.js +683 -0
- package/ts/eqxcustomers/getdashboardmaincard.d.ts +58 -0
- package/ts/eqxcustomers/getdashboardmaincard.js +354 -0
- package/ts/eqxcustomers/getnotifications.d.ts +92 -0
- package/ts/eqxcustomers/getnotifications.js +536 -0
- package/ts/eqxcustomers/sendotp.d.ts +38 -0
- package/ts/{customer/verifyotp.js → eqxcustomers/sendotp.js} +53 -67
- package/ts/eqxcustomers/updatenotification.d.ts +36 -0
- package/ts/eqxcustomers/updatenotification.js +147 -0
- package/ts/eqxcustomers/updatepushid.d.ts +36 -0
- package/ts/eqxcustomers/updatepushid.js +133 -0
- package/ts/eqxcustomers/verifyotp.d.ts +44 -0
- package/ts/eqxcustomers/verifyotp.js +247 -0
- package/ts/example.d.ts +4 -4
- package/ts/example.js +2 -2
- package/ts/growth/checkplanstatus.d.ts +48 -0
- package/ts/growth/checkplanstatus.js +200 -0
- package/ts/growth/getattachplandetails.d.ts +53 -0
- package/ts/growth/getattachplandetails.js +270 -0
- package/ts/growth/getchrpaymentstatus.d.ts +49 -0
- package/ts/growth/getchrpaymentstatus.js +213 -0
- package/ts/growth/getchrplans.d.ts +112 -0
- package/ts/growth/getchrplans.js +717 -0
- package/ts/growth/getcredithealthreport.d.ts +98 -0
- package/ts/growth/getcredithealthreport.js +617 -0
- package/ts/growth/initiatepayment.d.ts +52 -0
- package/ts/growth/initiatepayment.js +259 -0
- package/ts/growth/notifychrpayment.d.ts +42 -0
- package/ts/growth/notifychrpayment.js +219 -0
- package/ts/growth.d.ts +112 -0
- package/ts/growth.js +84 -0
- package/ts/kyc/fetchuanemployment.d.ts +66 -0
- package/ts/kyc/fetchuanemployment.js +359 -0
- package/ts/kyc/fetchuannumber.d.ts +35 -0
- package/ts/{customer/sendotp.js → kyc/fetchuannumber.js} +24 -38
- package/ts/kyc.d.ts +28 -0
- package/ts/kyc.js +24 -0
- package/ts/{customer/step10.d.ts → lamf/getloandetails.d.ts} +31 -39
- package/ts/lamf/getloandetails.js +351 -0
- package/ts/{customer/step2.d.ts → lamf/submitotp.d.ts} +30 -34
- package/ts/lamf/submitotp.js +327 -0
- package/ts/lamf/validateuser.d.ts +70 -0
- package/ts/lamf/validateuser.js +428 -0
- package/ts/lamf.d.ts +56 -0
- package/ts/lamf.js +44 -0
- package/ts/loans/amortization.d.ts +57 -0
- package/ts/loans/amortization.js +340 -0
- package/ts/loans/approveloan.d.ts +87 -0
- package/ts/loans/approveloan.js +791 -0
- package/ts/loans/banklist.d.ts +37 -0
- package/ts/loans/banklist.js +148 -0
- package/ts/loans/calculateemi.d.ts +71 -0
- package/ts/loans/calculateemi.js +436 -0
- package/ts/loans/cbloan.d.ts +46 -0
- package/ts/loans/cbloan.js +287 -0
- package/ts/loans/createlamfloan.d.ts +86 -0
- package/ts/loans/createlamfloan.js +776 -0
- package/ts/loans/createpenalty.d.ts +42 -0
- package/ts/loans/createpenalty.js +219 -0
- package/ts/loans/creditlimit.d.ts +50 -0
- package/ts/loans/creditlimit.js +358 -0
- package/ts/loans/emimoredetails.d.ts +51 -0
- package/ts/loans/emimoredetails.js +243 -0
- package/ts/loans/fcppayment.d.ts +55 -0
- package/ts/loans/fcppayment.js +324 -0
- package/ts/loans/foreclosepayment.d.ts +55 -0
- package/ts/loans/foreclosepayment.js +324 -0
- package/ts/loans/getaddonslist.d.ts +49 -0
- package/ts/loans/getaddonslist.js +215 -0
- package/ts/loans/getbilldetails.d.ts +53 -0
- package/ts/loans/getbilldetails.js +282 -0
- package/ts/loans/getcbloandetails.d.ts +37 -0
- package/ts/loans/getcbloandetails.js +147 -0
- package/ts/loans/getchrdetails.d.ts +51 -0
- package/ts/loans/getchrdetails.js +242 -0
- package/ts/loans/getcustomerloanstatus.d.ts +34 -0
- package/ts/loans/getcustomerloanstatus.js +104 -0
- package/ts/loans/getforecloseamount.d.ts +51 -0
- package/ts/loans/getforecloseamount.js +254 -0
- package/ts/loans/getloanbyid.d.ts +80 -0
- package/ts/loans/getloanbyid.js +571 -0
- package/ts/loans/getnextdueamount.d.ts +71 -0
- package/ts/loans/getnextdueamount.js +454 -0
- package/ts/loans/getpaymentoptions.d.ts +51 -0
- package/ts/loans/getpaymentoptions.js +243 -0
- package/ts/loans/getpendingemiamount.d.ts +35 -0
- package/ts/loans/getpendingemiamount.js +117 -0
- package/ts/loans/getsetubilldetails.d.ts +68 -0
- package/ts/loans/getsetubilldetails.js +384 -0
- package/ts/loans/getsummarystaticfields.d.ts +108 -0
- package/ts/loans/getsummarystaticfields.js +898 -0
- package/ts/loans/gettransactionstatus.d.ts +35 -0
- package/ts/loans/gettransactionstatus.js +117 -0
- package/ts/loans/getusedlimit.d.ts +35 -0
- package/ts/loans/getusedlimit.js +117 -0
- package/ts/loans/getvirtualbankinfo.d.ts +37 -0
- package/ts/loans/getvirtualbankinfo.js +148 -0
- package/ts/loans/loansummary.d.ts +84 -0
- package/ts/loans/loansummary.js +750 -0
- package/ts/loans/manualpaymentallocation.d.ts +40 -0
- package/ts/loans/manualpaymentallocation.js +200 -0
- package/ts/loans/paymentallocation.d.ts +38 -0
- package/ts/loans/paymentallocation.js +161 -0
- package/ts/loans/paymenthistory.d.ts +47 -0
- package/ts/loans/paymenthistory.js +188 -0
- package/ts/loans/paynow.d.ts +56 -0
- package/ts/loans/paynow.js +344 -0
- package/ts/loans/refund.d.ts +38 -0
- package/ts/loans/refund.js +161 -0
- package/ts/loans/restructureloan.d.ts +36 -0
- package/ts/loans/restructureloan.js +142 -0
- package/ts/loans/rollback.d.ts +38 -0
- package/ts/loans/rollback.js +161 -0
- package/ts/loans/sendemail.d.ts +35 -0
- package/ts/loans/sendemail.js +117 -0
- package/ts/loans/sendnocemail.d.ts +35 -0
- package/ts/loans/sendnocemail.js +117 -0
- package/ts/loans/transactionlist.d.ts +54 -0
- package/ts/loans/transactionlist.js +295 -0
- package/ts/loans/updatecollectionview.d.ts +44 -0
- package/ts/loans/updatecollectionview.js +257 -0
- package/ts/loans/updateinstallments.d.ts +40 -0
- package/ts/loans/updateinstallments.js +189 -0
- package/ts/loans/updateloan.d.ts +37 -0
- package/ts/loans/updateloan.js +147 -0
- package/ts/loans/updatetransactionstatus.d.ts +42 -0
- package/ts/loans/updatetransactionstatus.js +219 -0
- package/ts/loans.d.ts +588 -0
- package/ts/loans.js +424 -0
- package/ts/{customer/profileupdatetnc.d.ts → payments/checkpaymentstatus.d.ts} +19 -3
- package/ts/payments/checkpaymentstatus.js +259 -0
- package/ts/payments/fundtransfer.d.ts +65 -0
- package/ts/payments/fundtransfer.js +462 -0
- package/ts/{customer/sendotp.d.ts → payments/getpaymentoptions.d.ts} +26 -4
- package/ts/payments/getpaymentoptions.js +341 -0
- package/ts/{customer/verifympin.d.ts → payments/initiatepayment.d.ts} +21 -5
- package/ts/payments/initiatepayment.js +285 -0
- package/ts/{customer/setmpin.d.ts → payments/nachpresentation.d.ts} +7 -4
- package/ts/payments/nachpresentation.js +191 -0
- package/ts/payments/nachregistration.d.ts +56 -0
- package/ts/payments/nachregistration.js +339 -0
- package/ts/payments.d.ts +98 -0
- package/ts/payments.js +74 -0
- package/ts/stashcash/creditsc.js +2 -2
- package/ts/stashcash/debitsc.d.ts +10 -7
- package/ts/stashcash/debitsc.js +87 -36
- package/ts/stashcash/getscbalance.d.ts +1 -0
- package/ts/stashcash/getscbalance.js +25 -3
- package/ts/stashcash/getschistory.js +2 -2
- package/ts/stashcash/reversesc.js +2 -2
- package/ts/stashcash.d.ts +10 -10
- package/ts/stashcash.js +2 -2
- package/ts/upi/addaccount.d.ts +50 -0
- package/ts/upi/addaccount.js +347 -0
- package/ts/upi/blockvpa.d.ts +40 -0
- package/ts/upi/blockvpa.js +191 -0
- package/ts/upi/checktransactionstatus.d.ts +59 -0
- package/ts/upi/checktransactionstatus.js +487 -0
- package/ts/upi/declinemandate.d.ts +37 -0
- package/ts/upi/declinemandate.js +149 -0
- package/ts/upi/deregisterprofile.d.ts +40 -0
- package/ts/upi/deregisterprofile.js +191 -0
- package/ts/upi/getaccountsbyprovider.d.ts +119 -0
- package/ts/upi/getaccountsbyprovider.js +829 -0
- package/ts/upi/getallmandates.d.ts +68 -0
- package/ts/upi/getallmandates.js +391 -0
- package/ts/upi/getavailablevpa.d.ts +40 -0
- package/ts/upi/getavailablevpa.js +191 -0
- package/ts/upi/getlistedaccountproviders.d.ts +75 -0
- package/ts/upi/getlistedaccountproviders.js +434 -0
- package/ts/upi/getmandatedetails.d.ts +139 -0
- package/ts/upi/getmandatedetails.js +1169 -0
- package/ts/upi/getmandatehistory.d.ts +65 -0
- package/ts/upi/getmandatehistory.js +337 -0
- package/ts/upi/getpendingcollectrequest.d.ts +76 -0
- package/ts/upi/getpendingcollectrequest.js +526 -0
- package/ts/upi/getprofile.d.ts +143 -0
- package/ts/upi/getprofile.js +1132 -0
- package/ts/upi/getrecentcontacts.d.ts +70 -0
- package/ts/upi/getrecentcontacts.js +374 -0
- package/ts/upi/gettransactions.d.ts +95 -0
- package/ts/upi/gettransactions.js +590 -0
- package/ts/upi/getupinumbers.d.ts +62 -0
- package/ts/upi/getupinumbers.js +296 -0
- package/ts/upi/initiatemandateaction.d.ts +50 -0
- package/ts/upi/initiatemandateaction.js +229 -0
- package/ts/upi/initiatetransaction.d.ts +57 -0
- package/ts/upi/initiatetransaction.js +454 -0
- package/ts/upi/listblockedvpa.d.ts +63 -0
- package/ts/upi/listblockedvpa.js +311 -0
- package/ts/upi/unblockvpa.d.ts +40 -0
- package/ts/upi/unblockvpa.js +191 -0
- package/ts/upi/updatedevicebinding.d.ts +40 -0
- package/ts/upi/updatedevicebinding.js +191 -0
- package/ts/upi/upinumberoperations.d.ts +55 -0
- package/ts/upi/upinumberoperations.js +299 -0
- package/ts/upi/validateifsc.d.ts +64 -0
- package/ts/upi/validateifsc.js +441 -0
- package/ts/upi/validatevpa.d.ts +60 -0
- package/ts/upi/validatevpa.js +381 -0
- package/ts/upi.d.ts +363 -0
- package/ts/upi.js +263 -0
- package/ts/customer/getprofile.d.ts +0 -38
- package/ts/customer/getstep.d.ts +0 -78
- package/ts/customer/getstep.js +0 -420
- package/ts/customer/step1.d.ts +0 -69
- package/ts/customer/step1.js +0 -395
- package/ts/customer/step10.js +0 -459
- package/ts/customer/step2.js +0 -381
- package/ts/customer/step7.d.ts +0 -68
- package/ts/customer/step7.js +0 -381
- package/ts/customer/step8.d.ts +0 -69
- package/ts/customer/step8.js +0 -395
- package/ts/customer/step9.d.ts +0 -75
- package/ts/customer/step9.js +0 -489
- package/ts/customer/stepstatic.d.ts +0 -66
- package/ts/customer/stepstatic.js +0 -352
- package/ts/customer/verifyotp.d.ts +0 -39
- package/ts/customer.d.ts +0 -262
- package/ts/customer.js +0 -190
- package/ts/customers/sendemailtoken.d.ts +0 -35
- package/ts/customers/step1.d.ts +0 -69
- package/ts/customers/step1.js +0 -395
- package/ts/customers/step10.d.ts +0 -73
- package/ts/customers/step10.js +0 -459
- package/ts/customers/step2.d.ts +0 -68
- package/ts/customers/step2.js +0 -381
- package/ts/customers/step7.d.ts +0 -68
- package/ts/customers/step7.js +0 -381
- package/ts/customers/step8.d.ts +0 -69
- package/ts/customers/step8.js +0 -395
- package/ts/customers/step9.d.ts +0 -75
- package/ts/customers/step9.js +0 -489
- package/ts/customers/stepstatic.d.ts +0 -66
- package/ts/customers/stepstatic.js +0 -354
- package/ts/customers/verifyemail.d.ts +0 -35
package/ts/payments.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
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: payments.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.paymentsClient = exports.paymentsService = exports.protobufPackage = void 0;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const grpc_js_1 = require("@grpc/grpc-js");
|
|
11
|
+
const checkpaymentstatus_1 = require("./payments/checkpaymentstatus");
|
|
12
|
+
const fundtransfer_1 = require("./payments/fundtransfer");
|
|
13
|
+
const getpaymentoptions_1 = require("./payments/getpaymentoptions");
|
|
14
|
+
const initiatepayment_1 = require("./payments/initiatepayment");
|
|
15
|
+
const nachpresentation_1 = require("./payments/nachpresentation");
|
|
16
|
+
const nachregistration_1 = require("./payments/nachregistration");
|
|
17
|
+
exports.protobufPackage = "service";
|
|
18
|
+
exports.paymentsService = {
|
|
19
|
+
getpaymentoptions: {
|
|
20
|
+
path: "/service.payments/getpaymentoptions",
|
|
21
|
+
requestStream: false,
|
|
22
|
+
responseStream: false,
|
|
23
|
+
requestSerialize: (value) => Buffer.from(getpaymentoptions_1.request.encode(value).finish()),
|
|
24
|
+
requestDeserialize: (value) => getpaymentoptions_1.request.decode(value),
|
|
25
|
+
responseSerialize: (value) => Buffer.from(getpaymentoptions_1.response.encode(value).finish()),
|
|
26
|
+
responseDeserialize: (value) => getpaymentoptions_1.response.decode(value),
|
|
27
|
+
},
|
|
28
|
+
initiatepayment: {
|
|
29
|
+
path: "/service.payments/initiatepayment",
|
|
30
|
+
requestStream: false,
|
|
31
|
+
responseStream: false,
|
|
32
|
+
requestSerialize: (value) => Buffer.from(initiatepayment_1.request.encode(value).finish()),
|
|
33
|
+
requestDeserialize: (value) => initiatepayment_1.request.decode(value),
|
|
34
|
+
responseSerialize: (value) => Buffer.from(initiatepayment_1.response.encode(value).finish()),
|
|
35
|
+
responseDeserialize: (value) => initiatepayment_1.response.decode(value),
|
|
36
|
+
},
|
|
37
|
+
checkpaymentstatus: {
|
|
38
|
+
path: "/service.payments/checkpaymentstatus",
|
|
39
|
+
requestStream: false,
|
|
40
|
+
responseStream: false,
|
|
41
|
+
requestSerialize: (value) => Buffer.from(checkpaymentstatus_1.request.encode(value).finish()),
|
|
42
|
+
requestDeserialize: (value) => checkpaymentstatus_1.request.decode(value),
|
|
43
|
+
responseSerialize: (value) => Buffer.from(checkpaymentstatus_1.response.encode(value).finish()),
|
|
44
|
+
responseDeserialize: (value) => checkpaymentstatus_1.response.decode(value),
|
|
45
|
+
},
|
|
46
|
+
nachregistration: {
|
|
47
|
+
path: "/service.payments/nachregistration",
|
|
48
|
+
requestStream: false,
|
|
49
|
+
responseStream: false,
|
|
50
|
+
requestSerialize: (value) => Buffer.from(nachregistration_1.request.encode(value).finish()),
|
|
51
|
+
requestDeserialize: (value) => nachregistration_1.request.decode(value),
|
|
52
|
+
responseSerialize: (value) => Buffer.from(nachregistration_1.response.encode(value).finish()),
|
|
53
|
+
responseDeserialize: (value) => nachregistration_1.response.decode(value),
|
|
54
|
+
},
|
|
55
|
+
nachpresentation: {
|
|
56
|
+
path: "/service.payments/nachpresentation",
|
|
57
|
+
requestStream: false,
|
|
58
|
+
responseStream: false,
|
|
59
|
+
requestSerialize: (value) => Buffer.from(nachpresentation_1.request.encode(value).finish()),
|
|
60
|
+
requestDeserialize: (value) => nachpresentation_1.request.decode(value),
|
|
61
|
+
responseSerialize: (value) => Buffer.from(nachpresentation_1.response.encode(value).finish()),
|
|
62
|
+
responseDeserialize: (value) => nachpresentation_1.response.decode(value),
|
|
63
|
+
},
|
|
64
|
+
fundtransfer: {
|
|
65
|
+
path: "/service.payments/fundtransfer",
|
|
66
|
+
requestStream: false,
|
|
67
|
+
responseStream: false,
|
|
68
|
+
requestSerialize: (value) => Buffer.from(fundtransfer_1.request.encode(value).finish()),
|
|
69
|
+
requestDeserialize: (value) => fundtransfer_1.request.decode(value),
|
|
70
|
+
responseSerialize: (value) => Buffer.from(fundtransfer_1.response.encode(value).finish()),
|
|
71
|
+
responseDeserialize: (value) => fundtransfer_1.response.decode(value),
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
exports.paymentsClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.paymentsService, "service.payments");
|
package/ts/stashcash/creditsc.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
5
|
-
// protoc
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
|
+
// protoc v5.29.3
|
|
6
6
|
// source: stashcash/creditsc.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -3,21 +3,24 @@ export declare const protobufPackage = "stashcash.debitsc";
|
|
|
3
3
|
export interface request {
|
|
4
4
|
customer_id: number;
|
|
5
5
|
flag: number;
|
|
6
|
-
campaign_id
|
|
6
|
+
campaign_id: number;
|
|
7
7
|
amount?: number | undefined;
|
|
8
8
|
sc_type?: string | undefined;
|
|
9
|
+
txn_id?: string | undefined;
|
|
9
10
|
}
|
|
10
11
|
export interface response {
|
|
11
12
|
status: string;
|
|
12
13
|
data?: response_Data | undefined;
|
|
13
14
|
}
|
|
14
15
|
export interface response_Data {
|
|
15
|
-
locked
|
|
16
|
-
unlocked
|
|
17
|
-
balance
|
|
18
|
-
rupee_balance
|
|
19
|
-
txn_id:
|
|
20
|
-
conversion_factor
|
|
16
|
+
locked?: number | undefined;
|
|
17
|
+
unlocked?: number | undefined;
|
|
18
|
+
balance?: number | undefined;
|
|
19
|
+
rupee_balance?: number | undefined;
|
|
20
|
+
txn_id: string;
|
|
21
|
+
conversion_factor?: number | undefined;
|
|
22
|
+
txn_status: string;
|
|
23
|
+
txn_sc?: number | undefined;
|
|
21
24
|
}
|
|
22
25
|
export declare const request: {
|
|
23
26
|
encode(message: request, writer?: _m0.Writer): _m0.Writer;
|
package/ts/stashcash/debitsc.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
5
|
-
// protoc
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
|
+
// protoc v5.29.3
|
|
6
6
|
// source: stashcash/debitsc.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -14,7 +14,7 @@ const long_1 = __importDefault(require("long"));
|
|
|
14
14
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
15
15
|
exports.protobufPackage = "stashcash.debitsc";
|
|
16
16
|
function createBaserequest() {
|
|
17
|
-
return { customer_id: 0, flag: 0, campaign_id:
|
|
17
|
+
return { customer_id: 0, flag: 0, campaign_id: 0, amount: undefined, sc_type: undefined, txn_id: undefined };
|
|
18
18
|
}
|
|
19
19
|
exports.request = {
|
|
20
20
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -24,7 +24,7 @@ exports.request = {
|
|
|
24
24
|
if (message.flag !== 0) {
|
|
25
25
|
writer.uint32(16).int32(message.flag);
|
|
26
26
|
}
|
|
27
|
-
if (message.campaign_id !==
|
|
27
|
+
if (message.campaign_id !== 0) {
|
|
28
28
|
writer.uint32(24).int64(message.campaign_id);
|
|
29
29
|
}
|
|
30
30
|
if (message.amount !== undefined) {
|
|
@@ -33,6 +33,9 @@ exports.request = {
|
|
|
33
33
|
if (message.sc_type !== undefined) {
|
|
34
34
|
writer.uint32(42).string(message.sc_type);
|
|
35
35
|
}
|
|
36
|
+
if (message.txn_id !== undefined) {
|
|
37
|
+
writer.uint32(50).string(message.txn_id);
|
|
38
|
+
}
|
|
36
39
|
return writer;
|
|
37
40
|
},
|
|
38
41
|
decode(input, length) {
|
|
@@ -72,6 +75,12 @@ exports.request = {
|
|
|
72
75
|
}
|
|
73
76
|
message.sc_type = reader.string();
|
|
74
77
|
continue;
|
|
78
|
+
case 6:
|
|
79
|
+
if (tag !== 50) {
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
message.txn_id = reader.string();
|
|
83
|
+
continue;
|
|
75
84
|
}
|
|
76
85
|
if ((tag & 7) === 4 || tag === 0) {
|
|
77
86
|
break;
|
|
@@ -84,9 +93,10 @@ exports.request = {
|
|
|
84
93
|
return {
|
|
85
94
|
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
86
95
|
flag: isSet(object.flag) ? globalThis.Number(object.flag) : 0,
|
|
87
|
-
campaign_id: isSet(object.campaign_id) ? globalThis.Number(object.campaign_id) :
|
|
96
|
+
campaign_id: isSet(object.campaign_id) ? globalThis.Number(object.campaign_id) : 0,
|
|
88
97
|
amount: isSet(object.amount) ? globalThis.Number(object.amount) : undefined,
|
|
89
98
|
sc_type: isSet(object.sc_type) ? globalThis.String(object.sc_type) : undefined,
|
|
99
|
+
txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : undefined,
|
|
90
100
|
};
|
|
91
101
|
},
|
|
92
102
|
toJSON(message) {
|
|
@@ -97,7 +107,7 @@ exports.request = {
|
|
|
97
107
|
if (message.flag !== 0) {
|
|
98
108
|
obj.flag = Math.round(message.flag);
|
|
99
109
|
}
|
|
100
|
-
if (message.campaign_id !==
|
|
110
|
+
if (message.campaign_id !== 0) {
|
|
101
111
|
obj.campaign_id = Math.round(message.campaign_id);
|
|
102
112
|
}
|
|
103
113
|
if (message.amount !== undefined) {
|
|
@@ -106,6 +116,9 @@ exports.request = {
|
|
|
106
116
|
if (message.sc_type !== undefined) {
|
|
107
117
|
obj.sc_type = message.sc_type;
|
|
108
118
|
}
|
|
119
|
+
if (message.txn_id !== undefined) {
|
|
120
|
+
obj.txn_id = message.txn_id;
|
|
121
|
+
}
|
|
109
122
|
return obj;
|
|
110
123
|
},
|
|
111
124
|
create(base) {
|
|
@@ -115,9 +128,10 @@ exports.request = {
|
|
|
115
128
|
const message = createBaserequest();
|
|
116
129
|
message.customer_id = object.customer_id ?? 0;
|
|
117
130
|
message.flag = object.flag ?? 0;
|
|
118
|
-
message.campaign_id = object.campaign_id ??
|
|
131
|
+
message.campaign_id = object.campaign_id ?? 0;
|
|
119
132
|
message.amount = object.amount ?? undefined;
|
|
120
133
|
message.sc_type = object.sc_type ?? undefined;
|
|
134
|
+
message.txn_id = object.txn_id ?? undefined;
|
|
121
135
|
return message;
|
|
122
136
|
},
|
|
123
137
|
};
|
|
@@ -190,28 +204,43 @@ exports.response = {
|
|
|
190
204
|
},
|
|
191
205
|
};
|
|
192
206
|
function createBaseresponse_Data() {
|
|
193
|
-
return {
|
|
207
|
+
return {
|
|
208
|
+
locked: undefined,
|
|
209
|
+
unlocked: undefined,
|
|
210
|
+
balance: undefined,
|
|
211
|
+
rupee_balance: undefined,
|
|
212
|
+
txn_id: "",
|
|
213
|
+
conversion_factor: undefined,
|
|
214
|
+
txn_status: "",
|
|
215
|
+
txn_sc: undefined,
|
|
216
|
+
};
|
|
194
217
|
}
|
|
195
218
|
exports.response_Data = {
|
|
196
219
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
197
|
-
if (message.locked !==
|
|
220
|
+
if (message.locked !== undefined) {
|
|
198
221
|
writer.uint32(13).float(message.locked);
|
|
199
222
|
}
|
|
200
|
-
if (message.unlocked !==
|
|
223
|
+
if (message.unlocked !== undefined) {
|
|
201
224
|
writer.uint32(21).float(message.unlocked);
|
|
202
225
|
}
|
|
203
|
-
if (message.balance !==
|
|
226
|
+
if (message.balance !== undefined) {
|
|
204
227
|
writer.uint32(29).float(message.balance);
|
|
205
228
|
}
|
|
206
|
-
if (message.rupee_balance !==
|
|
229
|
+
if (message.rupee_balance !== undefined) {
|
|
207
230
|
writer.uint32(37).float(message.rupee_balance);
|
|
208
231
|
}
|
|
209
|
-
if (message.txn_id !==
|
|
210
|
-
writer.uint32(
|
|
232
|
+
if (message.txn_id !== "") {
|
|
233
|
+
writer.uint32(42).string(message.txn_id);
|
|
211
234
|
}
|
|
212
|
-
if (message.conversion_factor !==
|
|
235
|
+
if (message.conversion_factor !== undefined) {
|
|
213
236
|
writer.uint32(48).int32(message.conversion_factor);
|
|
214
237
|
}
|
|
238
|
+
if (message.txn_status !== "") {
|
|
239
|
+
writer.uint32(58).string(message.txn_status);
|
|
240
|
+
}
|
|
241
|
+
if (message.txn_sc !== undefined) {
|
|
242
|
+
writer.uint32(69).float(message.txn_sc);
|
|
243
|
+
}
|
|
215
244
|
return writer;
|
|
216
245
|
},
|
|
217
246
|
decode(input, length) {
|
|
@@ -246,10 +275,10 @@ exports.response_Data = {
|
|
|
246
275
|
message.rupee_balance = reader.float();
|
|
247
276
|
continue;
|
|
248
277
|
case 5:
|
|
249
|
-
if (tag !==
|
|
278
|
+
if (tag !== 42) {
|
|
250
279
|
break;
|
|
251
280
|
}
|
|
252
|
-
message.txn_id =
|
|
281
|
+
message.txn_id = reader.string();
|
|
253
282
|
continue;
|
|
254
283
|
case 6:
|
|
255
284
|
if (tag !== 48) {
|
|
@@ -257,6 +286,18 @@ exports.response_Data = {
|
|
|
257
286
|
}
|
|
258
287
|
message.conversion_factor = reader.int32();
|
|
259
288
|
continue;
|
|
289
|
+
case 7:
|
|
290
|
+
if (tag !== 58) {
|
|
291
|
+
break;
|
|
292
|
+
}
|
|
293
|
+
message.txn_status = reader.string();
|
|
294
|
+
continue;
|
|
295
|
+
case 8:
|
|
296
|
+
if (tag !== 69) {
|
|
297
|
+
break;
|
|
298
|
+
}
|
|
299
|
+
message.txn_sc = reader.float();
|
|
300
|
+
continue;
|
|
260
301
|
}
|
|
261
302
|
if ((tag & 7) === 4 || tag === 0) {
|
|
262
303
|
break;
|
|
@@ -267,34 +308,42 @@ exports.response_Data = {
|
|
|
267
308
|
},
|
|
268
309
|
fromJSON(object) {
|
|
269
310
|
return {
|
|
270
|
-
locked: isSet(object.locked) ? globalThis.Number(object.locked) :
|
|
271
|
-
unlocked: isSet(object.unlocked) ? globalThis.Number(object.unlocked) :
|
|
272
|
-
balance: isSet(object.balance) ? globalThis.Number(object.balance) :
|
|
273
|
-
rupee_balance: isSet(object.rupee_balance) ? globalThis.Number(object.rupee_balance) :
|
|
274
|
-
txn_id: isSet(object.txn_id) ? globalThis.
|
|
275
|
-
conversion_factor: isSet(object.conversion_factor) ? globalThis.Number(object.conversion_factor) :
|
|
311
|
+
locked: isSet(object.locked) ? globalThis.Number(object.locked) : undefined,
|
|
312
|
+
unlocked: isSet(object.unlocked) ? globalThis.Number(object.unlocked) : undefined,
|
|
313
|
+
balance: isSet(object.balance) ? globalThis.Number(object.balance) : undefined,
|
|
314
|
+
rupee_balance: isSet(object.rupee_balance) ? globalThis.Number(object.rupee_balance) : undefined,
|
|
315
|
+
txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
|
|
316
|
+
conversion_factor: isSet(object.conversion_factor) ? globalThis.Number(object.conversion_factor) : undefined,
|
|
317
|
+
txn_status: isSet(object.txn_status) ? globalThis.String(object.txn_status) : "",
|
|
318
|
+
txn_sc: isSet(object.txn_sc) ? globalThis.Number(object.txn_sc) : undefined,
|
|
276
319
|
};
|
|
277
320
|
},
|
|
278
321
|
toJSON(message) {
|
|
279
322
|
const obj = {};
|
|
280
|
-
if (message.locked !==
|
|
323
|
+
if (message.locked !== undefined) {
|
|
281
324
|
obj.locked = message.locked;
|
|
282
325
|
}
|
|
283
|
-
if (message.unlocked !==
|
|
326
|
+
if (message.unlocked !== undefined) {
|
|
284
327
|
obj.unlocked = message.unlocked;
|
|
285
328
|
}
|
|
286
|
-
if (message.balance !==
|
|
329
|
+
if (message.balance !== undefined) {
|
|
287
330
|
obj.balance = message.balance;
|
|
288
331
|
}
|
|
289
|
-
if (message.rupee_balance !==
|
|
332
|
+
if (message.rupee_balance !== undefined) {
|
|
290
333
|
obj.rupee_balance = message.rupee_balance;
|
|
291
334
|
}
|
|
292
|
-
if (message.txn_id !==
|
|
293
|
-
obj.txn_id =
|
|
335
|
+
if (message.txn_id !== "") {
|
|
336
|
+
obj.txn_id = message.txn_id;
|
|
294
337
|
}
|
|
295
|
-
if (message.conversion_factor !==
|
|
338
|
+
if (message.conversion_factor !== undefined) {
|
|
296
339
|
obj.conversion_factor = Math.round(message.conversion_factor);
|
|
297
340
|
}
|
|
341
|
+
if (message.txn_status !== "") {
|
|
342
|
+
obj.txn_status = message.txn_status;
|
|
343
|
+
}
|
|
344
|
+
if (message.txn_sc !== undefined) {
|
|
345
|
+
obj.txn_sc = message.txn_sc;
|
|
346
|
+
}
|
|
298
347
|
return obj;
|
|
299
348
|
},
|
|
300
349
|
create(base) {
|
|
@@ -302,12 +351,14 @@ exports.response_Data = {
|
|
|
302
351
|
},
|
|
303
352
|
fromPartial(object) {
|
|
304
353
|
const message = createBaseresponse_Data();
|
|
305
|
-
message.locked = object.locked ??
|
|
306
|
-
message.unlocked = object.unlocked ??
|
|
307
|
-
message.balance = object.balance ??
|
|
308
|
-
message.rupee_balance = object.rupee_balance ??
|
|
309
|
-
message.txn_id = object.txn_id ??
|
|
310
|
-
message.conversion_factor = object.conversion_factor ??
|
|
354
|
+
message.locked = object.locked ?? undefined;
|
|
355
|
+
message.unlocked = object.unlocked ?? undefined;
|
|
356
|
+
message.balance = object.balance ?? undefined;
|
|
357
|
+
message.rupee_balance = object.rupee_balance ?? undefined;
|
|
358
|
+
message.txn_id = object.txn_id ?? "";
|
|
359
|
+
message.conversion_factor = object.conversion_factor ?? undefined;
|
|
360
|
+
message.txn_status = object.txn_status ?? "";
|
|
361
|
+
message.txn_sc = object.txn_sc ?? undefined;
|
|
311
362
|
return message;
|
|
312
363
|
},
|
|
313
364
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
5
|
-
// protoc
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
|
+
// protoc v5.29.3
|
|
6
6
|
// source: stashcash/getscbalance.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -132,7 +132,15 @@ exports.response = {
|
|
|
132
132
|
},
|
|
133
133
|
};
|
|
134
134
|
function createBaseresponse_Data() {
|
|
135
|
-
return {
|
|
135
|
+
return {
|
|
136
|
+
locked: 0,
|
|
137
|
+
unlocked: 0,
|
|
138
|
+
balance: 0,
|
|
139
|
+
rupee_balance: 0,
|
|
140
|
+
user_guide: false,
|
|
141
|
+
is_frozen: false,
|
|
142
|
+
conversion_factor: 0,
|
|
143
|
+
};
|
|
136
144
|
}
|
|
137
145
|
exports.response_Data = {
|
|
138
146
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -154,6 +162,9 @@ exports.response_Data = {
|
|
|
154
162
|
if (message.is_frozen !== false) {
|
|
155
163
|
writer.uint32(48).bool(message.is_frozen);
|
|
156
164
|
}
|
|
165
|
+
if (message.conversion_factor !== 0) {
|
|
166
|
+
writer.uint32(61).float(message.conversion_factor);
|
|
167
|
+
}
|
|
157
168
|
return writer;
|
|
158
169
|
},
|
|
159
170
|
decode(input, length) {
|
|
@@ -199,6 +210,12 @@ exports.response_Data = {
|
|
|
199
210
|
}
|
|
200
211
|
message.is_frozen = reader.bool();
|
|
201
212
|
continue;
|
|
213
|
+
case 7:
|
|
214
|
+
if (tag !== 61) {
|
|
215
|
+
break;
|
|
216
|
+
}
|
|
217
|
+
message.conversion_factor = reader.float();
|
|
218
|
+
continue;
|
|
202
219
|
}
|
|
203
220
|
if ((tag & 7) === 4 || tag === 0) {
|
|
204
221
|
break;
|
|
@@ -215,6 +232,7 @@ exports.response_Data = {
|
|
|
215
232
|
rupee_balance: isSet(object.rupee_balance) ? globalThis.Number(object.rupee_balance) : 0,
|
|
216
233
|
user_guide: isSet(object.user_guide) ? globalThis.Boolean(object.user_guide) : false,
|
|
217
234
|
is_frozen: isSet(object.is_frozen) ? globalThis.Boolean(object.is_frozen) : false,
|
|
235
|
+
conversion_factor: isSet(object.conversion_factor) ? globalThis.Number(object.conversion_factor) : 0,
|
|
218
236
|
};
|
|
219
237
|
},
|
|
220
238
|
toJSON(message) {
|
|
@@ -237,6 +255,9 @@ exports.response_Data = {
|
|
|
237
255
|
if (message.is_frozen !== false) {
|
|
238
256
|
obj.is_frozen = message.is_frozen;
|
|
239
257
|
}
|
|
258
|
+
if (message.conversion_factor !== 0) {
|
|
259
|
+
obj.conversion_factor = message.conversion_factor;
|
|
260
|
+
}
|
|
240
261
|
return obj;
|
|
241
262
|
},
|
|
242
263
|
create(base) {
|
|
@@ -250,6 +271,7 @@ exports.response_Data = {
|
|
|
250
271
|
message.rupee_balance = object.rupee_balance ?? 0;
|
|
251
272
|
message.user_guide = object.user_guide ?? false;
|
|
252
273
|
message.is_frozen = object.is_frozen ?? false;
|
|
274
|
+
message.conversion_factor = object.conversion_factor ?? 0;
|
|
253
275
|
return message;
|
|
254
276
|
},
|
|
255
277
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
5
|
-
// protoc
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
|
+
// protoc v5.29.3
|
|
6
6
|
// source: stashcash/getschistory.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
5
|
-
// protoc
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
|
+
// protoc v5.29.3
|
|
6
6
|
// source: stashcash/reversesc.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/stashcash.d.ts
CHANGED
|
@@ -11,45 +11,45 @@ export declare const stashcashService: {
|
|
|
11
11
|
readonly path: "/service.stashcash/getscbalance";
|
|
12
12
|
readonly requestStream: false;
|
|
13
13
|
readonly responseStream: false;
|
|
14
|
-
readonly requestSerialize: (value: request) => Buffer
|
|
14
|
+
readonly requestSerialize: (value: request) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
15
15
|
readonly requestDeserialize: (value: Buffer) => request;
|
|
16
|
-
readonly responseSerialize: (value: response) => Buffer
|
|
16
|
+
readonly responseSerialize: (value: response) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
17
17
|
readonly responseDeserialize: (value: Buffer) => response;
|
|
18
18
|
};
|
|
19
19
|
readonly creditsc: {
|
|
20
20
|
readonly path: "/service.stashcash/creditsc";
|
|
21
21
|
readonly requestStream: false;
|
|
22
22
|
readonly responseStream: false;
|
|
23
|
-
readonly requestSerialize: (value: request1) => Buffer
|
|
23
|
+
readonly requestSerialize: (value: request1) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
24
24
|
readonly requestDeserialize: (value: Buffer) => request1;
|
|
25
|
-
readonly responseSerialize: (value: response2) => Buffer
|
|
25
|
+
readonly responseSerialize: (value: response2) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
26
26
|
readonly responseDeserialize: (value: Buffer) => response2;
|
|
27
27
|
};
|
|
28
28
|
readonly reversesc: {
|
|
29
29
|
readonly path: "/service.stashcash/reversesc";
|
|
30
30
|
readonly requestStream: false;
|
|
31
31
|
readonly responseStream: false;
|
|
32
|
-
readonly requestSerialize: (value: request3) => Buffer
|
|
32
|
+
readonly requestSerialize: (value: request3) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
33
33
|
readonly requestDeserialize: (value: Buffer) => request3;
|
|
34
|
-
readonly responseSerialize: (value: response4) => Buffer
|
|
34
|
+
readonly responseSerialize: (value: response4) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
35
35
|
readonly responseDeserialize: (value: Buffer) => response4;
|
|
36
36
|
};
|
|
37
37
|
readonly getschistory: {
|
|
38
38
|
readonly path: "/service.stashcash/getschistory";
|
|
39
39
|
readonly requestStream: false;
|
|
40
40
|
readonly responseStream: false;
|
|
41
|
-
readonly requestSerialize: (value: request5) => Buffer
|
|
41
|
+
readonly requestSerialize: (value: request5) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
42
42
|
readonly requestDeserialize: (value: Buffer) => request5;
|
|
43
|
-
readonly responseSerialize: (value: response6) => Buffer
|
|
43
|
+
readonly responseSerialize: (value: response6) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
44
44
|
readonly responseDeserialize: (value: Buffer) => response6;
|
|
45
45
|
};
|
|
46
46
|
readonly debitsc: {
|
|
47
47
|
readonly path: "/service.stashcash/debitsc";
|
|
48
48
|
readonly requestStream: false;
|
|
49
49
|
readonly responseStream: false;
|
|
50
|
-
readonly requestSerialize: (value: request7) => Buffer
|
|
50
|
+
readonly requestSerialize: (value: request7) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
51
51
|
readonly requestDeserialize: (value: Buffer) => request7;
|
|
52
|
-
readonly responseSerialize: (value: response8) => Buffer
|
|
52
|
+
readonly responseSerialize: (value: response8) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
53
53
|
readonly responseDeserialize: (value: Buffer) => response8;
|
|
54
54
|
};
|
|
55
55
|
};
|
package/ts/stashcash.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
5
|
-
// protoc
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
|
+
// protoc v5.29.3
|
|
6
6
|
// source: stashcash.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.stashcashClient = exports.stashcashService = exports.protobufPackage = void 0;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "upi.addAccount";
|
|
3
|
+
export interface addAccountRequest {
|
|
4
|
+
acc_number: string;
|
|
5
|
+
acc_ref_number: string;
|
|
6
|
+
acc_type: string;
|
|
7
|
+
acc_name: string;
|
|
8
|
+
aeba?: string | undefined;
|
|
9
|
+
mbeba?: string | undefined;
|
|
10
|
+
ifsc: string;
|
|
11
|
+
vpa?: string | undefined;
|
|
12
|
+
mmid?: string | undefined;
|
|
13
|
+
default_credit: string;
|
|
14
|
+
default_debit: string;
|
|
15
|
+
status: string;
|
|
16
|
+
is_primary?: string | undefined;
|
|
17
|
+
is_active?: string | undefined;
|
|
18
|
+
profile_id: string;
|
|
19
|
+
}
|
|
20
|
+
export interface addAccountResponse {
|
|
21
|
+
acc_number: string;
|
|
22
|
+
message: string;
|
|
23
|
+
}
|
|
24
|
+
export declare const addAccountRequest: {
|
|
25
|
+
encode(message: addAccountRequest, writer?: _m0.Writer): _m0.Writer;
|
|
26
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): addAccountRequest;
|
|
27
|
+
fromJSON(object: any): addAccountRequest;
|
|
28
|
+
toJSON(message: addAccountRequest): unknown;
|
|
29
|
+
create<I extends Exact<DeepPartial<addAccountRequest>, I>>(base?: I): addAccountRequest;
|
|
30
|
+
fromPartial<I extends Exact<DeepPartial<addAccountRequest>, I>>(object: I): addAccountRequest;
|
|
31
|
+
};
|
|
32
|
+
export declare const addAccountResponse: {
|
|
33
|
+
encode(message: addAccountResponse, writer?: _m0.Writer): _m0.Writer;
|
|
34
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): addAccountResponse;
|
|
35
|
+
fromJSON(object: any): addAccountResponse;
|
|
36
|
+
toJSON(message: addAccountResponse): unknown;
|
|
37
|
+
create<I extends Exact<DeepPartial<addAccountResponse>, I>>(base?: I): addAccountResponse;
|
|
38
|
+
fromPartial<I extends Exact<DeepPartial<addAccountResponse>, I>>(object: I): addAccountResponse;
|
|
39
|
+
};
|
|
40
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
41
|
+
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 {} ? {
|
|
42
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
43
|
+
} : Partial<T>;
|
|
44
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
45
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
46
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
47
|
+
} & {
|
|
48
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
49
|
+
};
|
|
50
|
+
export {};
|