@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
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.paynow";
|
|
3
|
+
export interface payNowRequest {
|
|
4
|
+
customer_id: number;
|
|
5
|
+
mode: string;
|
|
6
|
+
add_ons: payNowRequest_add_on[];
|
|
7
|
+
amount: number;
|
|
8
|
+
loan_id: number[];
|
|
9
|
+
installment_id: number[];
|
|
10
|
+
bill_id: number[];
|
|
11
|
+
}
|
|
12
|
+
export interface payNowRequest_add_on {
|
|
13
|
+
type: string;
|
|
14
|
+
plan_id: string;
|
|
15
|
+
amount: number;
|
|
16
|
+
meta_data: string;
|
|
17
|
+
}
|
|
18
|
+
export interface payNowResponse {
|
|
19
|
+
redirect_url: string;
|
|
20
|
+
order_id: string;
|
|
21
|
+
}
|
|
22
|
+
export declare const payNowRequest: {
|
|
23
|
+
encode(message: payNowRequest, writer?: _m0.Writer): _m0.Writer;
|
|
24
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): payNowRequest;
|
|
25
|
+
fromJSON(object: any): payNowRequest;
|
|
26
|
+
toJSON(message: payNowRequest): unknown;
|
|
27
|
+
create<I extends Exact<DeepPartial<payNowRequest>, I>>(base?: I): payNowRequest;
|
|
28
|
+
fromPartial<I extends Exact<DeepPartial<payNowRequest>, I>>(object: I): payNowRequest;
|
|
29
|
+
};
|
|
30
|
+
export declare const payNowRequest_add_on: {
|
|
31
|
+
encode(message: payNowRequest_add_on, writer?: _m0.Writer): _m0.Writer;
|
|
32
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): payNowRequest_add_on;
|
|
33
|
+
fromJSON(object: any): payNowRequest_add_on;
|
|
34
|
+
toJSON(message: payNowRequest_add_on): unknown;
|
|
35
|
+
create<I extends Exact<DeepPartial<payNowRequest_add_on>, I>>(base?: I): payNowRequest_add_on;
|
|
36
|
+
fromPartial<I extends Exact<DeepPartial<payNowRequest_add_on>, I>>(object: I): payNowRequest_add_on;
|
|
37
|
+
};
|
|
38
|
+
export declare const payNowResponse: {
|
|
39
|
+
encode(message: payNowResponse, writer?: _m0.Writer): _m0.Writer;
|
|
40
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): payNowResponse;
|
|
41
|
+
fromJSON(object: any): payNowResponse;
|
|
42
|
+
toJSON(message: payNowResponse): unknown;
|
|
43
|
+
create<I extends Exact<DeepPartial<payNowResponse>, I>>(base?: I): payNowResponse;
|
|
44
|
+
fromPartial<I extends Exact<DeepPartial<payNowResponse>, I>>(object: I): payNowResponse;
|
|
45
|
+
};
|
|
46
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
47
|
+
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 {} ? {
|
|
48
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
49
|
+
} : Partial<T>;
|
|
50
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
51
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
52
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
53
|
+
} & {
|
|
54
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
55
|
+
};
|
|
56
|
+
export {};
|
|
@@ -0,0 +1,344 @@
|
|
|
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: loans/paynow.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.payNowResponse = exports.payNowRequest_add_on = exports.payNowRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.paynow";
|
|
15
|
+
function createBasepayNowRequest() {
|
|
16
|
+
return { customer_id: 0, mode: "", add_ons: [], amount: 0, loan_id: [], installment_id: [], bill_id: [] };
|
|
17
|
+
}
|
|
18
|
+
exports.payNowRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.customer_id !== 0) {
|
|
21
|
+
writer.uint32(8).int32(message.customer_id);
|
|
22
|
+
}
|
|
23
|
+
if (message.mode !== "") {
|
|
24
|
+
writer.uint32(18).string(message.mode);
|
|
25
|
+
}
|
|
26
|
+
for (const v of message.add_ons) {
|
|
27
|
+
exports.payNowRequest_add_on.encode(v, writer.uint32(26).fork()).ldelim();
|
|
28
|
+
}
|
|
29
|
+
if (message.amount !== 0) {
|
|
30
|
+
writer.uint32(32).int32(message.amount);
|
|
31
|
+
}
|
|
32
|
+
writer.uint32(42).fork();
|
|
33
|
+
for (const v of message.loan_id) {
|
|
34
|
+
writer.int32(v);
|
|
35
|
+
}
|
|
36
|
+
writer.ldelim();
|
|
37
|
+
writer.uint32(50).fork();
|
|
38
|
+
for (const v of message.installment_id) {
|
|
39
|
+
writer.int32(v);
|
|
40
|
+
}
|
|
41
|
+
writer.ldelim();
|
|
42
|
+
writer.uint32(58).fork();
|
|
43
|
+
for (const v of message.bill_id) {
|
|
44
|
+
writer.int32(v);
|
|
45
|
+
}
|
|
46
|
+
writer.ldelim();
|
|
47
|
+
return writer;
|
|
48
|
+
},
|
|
49
|
+
decode(input, length) {
|
|
50
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
51
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
52
|
+
const message = createBasepayNowRequest();
|
|
53
|
+
while (reader.pos < end) {
|
|
54
|
+
const tag = reader.uint32();
|
|
55
|
+
switch (tag >>> 3) {
|
|
56
|
+
case 1:
|
|
57
|
+
if (tag !== 8) {
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
message.customer_id = reader.int32();
|
|
61
|
+
continue;
|
|
62
|
+
case 2:
|
|
63
|
+
if (tag !== 18) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
message.mode = reader.string();
|
|
67
|
+
continue;
|
|
68
|
+
case 3:
|
|
69
|
+
if (tag !== 26) {
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
message.add_ons.push(exports.payNowRequest_add_on.decode(reader, reader.uint32()));
|
|
73
|
+
continue;
|
|
74
|
+
case 4:
|
|
75
|
+
if (tag !== 32) {
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
message.amount = reader.int32();
|
|
79
|
+
continue;
|
|
80
|
+
case 5:
|
|
81
|
+
if (tag === 40) {
|
|
82
|
+
message.loan_id.push(reader.int32());
|
|
83
|
+
continue;
|
|
84
|
+
}
|
|
85
|
+
if (tag === 42) {
|
|
86
|
+
const end2 = reader.uint32() + reader.pos;
|
|
87
|
+
while (reader.pos < end2) {
|
|
88
|
+
message.loan_id.push(reader.int32());
|
|
89
|
+
}
|
|
90
|
+
continue;
|
|
91
|
+
}
|
|
92
|
+
break;
|
|
93
|
+
case 6:
|
|
94
|
+
if (tag === 48) {
|
|
95
|
+
message.installment_id.push(reader.int32());
|
|
96
|
+
continue;
|
|
97
|
+
}
|
|
98
|
+
if (tag === 50) {
|
|
99
|
+
const end2 = reader.uint32() + reader.pos;
|
|
100
|
+
while (reader.pos < end2) {
|
|
101
|
+
message.installment_id.push(reader.int32());
|
|
102
|
+
}
|
|
103
|
+
continue;
|
|
104
|
+
}
|
|
105
|
+
break;
|
|
106
|
+
case 7:
|
|
107
|
+
if (tag === 56) {
|
|
108
|
+
message.bill_id.push(reader.int32());
|
|
109
|
+
continue;
|
|
110
|
+
}
|
|
111
|
+
if (tag === 58) {
|
|
112
|
+
const end2 = reader.uint32() + reader.pos;
|
|
113
|
+
while (reader.pos < end2) {
|
|
114
|
+
message.bill_id.push(reader.int32());
|
|
115
|
+
}
|
|
116
|
+
continue;
|
|
117
|
+
}
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
121
|
+
break;
|
|
122
|
+
}
|
|
123
|
+
reader.skipType(tag & 7);
|
|
124
|
+
}
|
|
125
|
+
return message;
|
|
126
|
+
},
|
|
127
|
+
fromJSON(object) {
|
|
128
|
+
return {
|
|
129
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
130
|
+
mode: isSet(object.mode) ? globalThis.String(object.mode) : "",
|
|
131
|
+
add_ons: globalThis.Array.isArray(object?.add_ons)
|
|
132
|
+
? object.add_ons.map((e) => exports.payNowRequest_add_on.fromJSON(e))
|
|
133
|
+
: [],
|
|
134
|
+
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
135
|
+
loan_id: globalThis.Array.isArray(object?.loan_id) ? object.loan_id.map((e) => globalThis.Number(e)) : [],
|
|
136
|
+
installment_id: globalThis.Array.isArray(object?.installment_id)
|
|
137
|
+
? object.installment_id.map((e) => globalThis.Number(e))
|
|
138
|
+
: [],
|
|
139
|
+
bill_id: globalThis.Array.isArray(object?.bill_id) ? object.bill_id.map((e) => globalThis.Number(e)) : [],
|
|
140
|
+
};
|
|
141
|
+
},
|
|
142
|
+
toJSON(message) {
|
|
143
|
+
const obj = {};
|
|
144
|
+
if (message.customer_id !== 0) {
|
|
145
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
146
|
+
}
|
|
147
|
+
if (message.mode !== "") {
|
|
148
|
+
obj.mode = message.mode;
|
|
149
|
+
}
|
|
150
|
+
if (message.add_ons?.length) {
|
|
151
|
+
obj.add_ons = message.add_ons.map((e) => exports.payNowRequest_add_on.toJSON(e));
|
|
152
|
+
}
|
|
153
|
+
if (message.amount !== 0) {
|
|
154
|
+
obj.amount = Math.round(message.amount);
|
|
155
|
+
}
|
|
156
|
+
if (message.loan_id?.length) {
|
|
157
|
+
obj.loan_id = message.loan_id.map((e) => Math.round(e));
|
|
158
|
+
}
|
|
159
|
+
if (message.installment_id?.length) {
|
|
160
|
+
obj.installment_id = message.installment_id.map((e) => Math.round(e));
|
|
161
|
+
}
|
|
162
|
+
if (message.bill_id?.length) {
|
|
163
|
+
obj.bill_id = message.bill_id.map((e) => Math.round(e));
|
|
164
|
+
}
|
|
165
|
+
return obj;
|
|
166
|
+
},
|
|
167
|
+
create(base) {
|
|
168
|
+
return exports.payNowRequest.fromPartial(base ?? {});
|
|
169
|
+
},
|
|
170
|
+
fromPartial(object) {
|
|
171
|
+
const message = createBasepayNowRequest();
|
|
172
|
+
message.customer_id = object.customer_id ?? 0;
|
|
173
|
+
message.mode = object.mode ?? "";
|
|
174
|
+
message.add_ons = object.add_ons?.map((e) => exports.payNowRequest_add_on.fromPartial(e)) || [];
|
|
175
|
+
message.amount = object.amount ?? 0;
|
|
176
|
+
message.loan_id = object.loan_id?.map((e) => e) || [];
|
|
177
|
+
message.installment_id = object.installment_id?.map((e) => e) || [];
|
|
178
|
+
message.bill_id = object.bill_id?.map((e) => e) || [];
|
|
179
|
+
return message;
|
|
180
|
+
},
|
|
181
|
+
};
|
|
182
|
+
function createBasepayNowRequest_add_on() {
|
|
183
|
+
return { type: "", plan_id: "", amount: 0, meta_data: "" };
|
|
184
|
+
}
|
|
185
|
+
exports.payNowRequest_add_on = {
|
|
186
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
187
|
+
if (message.type !== "") {
|
|
188
|
+
writer.uint32(10).string(message.type);
|
|
189
|
+
}
|
|
190
|
+
if (message.plan_id !== "") {
|
|
191
|
+
writer.uint32(18).string(message.plan_id);
|
|
192
|
+
}
|
|
193
|
+
if (message.amount !== 0) {
|
|
194
|
+
writer.uint32(24).int32(message.amount);
|
|
195
|
+
}
|
|
196
|
+
if (message.meta_data !== "") {
|
|
197
|
+
writer.uint32(34).string(message.meta_data);
|
|
198
|
+
}
|
|
199
|
+
return writer;
|
|
200
|
+
},
|
|
201
|
+
decode(input, length) {
|
|
202
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
203
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
204
|
+
const message = createBasepayNowRequest_add_on();
|
|
205
|
+
while (reader.pos < end) {
|
|
206
|
+
const tag = reader.uint32();
|
|
207
|
+
switch (tag >>> 3) {
|
|
208
|
+
case 1:
|
|
209
|
+
if (tag !== 10) {
|
|
210
|
+
break;
|
|
211
|
+
}
|
|
212
|
+
message.type = reader.string();
|
|
213
|
+
continue;
|
|
214
|
+
case 2:
|
|
215
|
+
if (tag !== 18) {
|
|
216
|
+
break;
|
|
217
|
+
}
|
|
218
|
+
message.plan_id = reader.string();
|
|
219
|
+
continue;
|
|
220
|
+
case 3:
|
|
221
|
+
if (tag !== 24) {
|
|
222
|
+
break;
|
|
223
|
+
}
|
|
224
|
+
message.amount = reader.int32();
|
|
225
|
+
continue;
|
|
226
|
+
case 4:
|
|
227
|
+
if (tag !== 34) {
|
|
228
|
+
break;
|
|
229
|
+
}
|
|
230
|
+
message.meta_data = reader.string();
|
|
231
|
+
continue;
|
|
232
|
+
}
|
|
233
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
234
|
+
break;
|
|
235
|
+
}
|
|
236
|
+
reader.skipType(tag & 7);
|
|
237
|
+
}
|
|
238
|
+
return message;
|
|
239
|
+
},
|
|
240
|
+
fromJSON(object) {
|
|
241
|
+
return {
|
|
242
|
+
type: isSet(object.type) ? globalThis.String(object.type) : "",
|
|
243
|
+
plan_id: isSet(object.plan_id) ? globalThis.String(object.plan_id) : "",
|
|
244
|
+
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
245
|
+
meta_data: isSet(object.meta_data) ? globalThis.String(object.meta_data) : "",
|
|
246
|
+
};
|
|
247
|
+
},
|
|
248
|
+
toJSON(message) {
|
|
249
|
+
const obj = {};
|
|
250
|
+
if (message.type !== "") {
|
|
251
|
+
obj.type = message.type;
|
|
252
|
+
}
|
|
253
|
+
if (message.plan_id !== "") {
|
|
254
|
+
obj.plan_id = message.plan_id;
|
|
255
|
+
}
|
|
256
|
+
if (message.amount !== 0) {
|
|
257
|
+
obj.amount = Math.round(message.amount);
|
|
258
|
+
}
|
|
259
|
+
if (message.meta_data !== "") {
|
|
260
|
+
obj.meta_data = message.meta_data;
|
|
261
|
+
}
|
|
262
|
+
return obj;
|
|
263
|
+
},
|
|
264
|
+
create(base) {
|
|
265
|
+
return exports.payNowRequest_add_on.fromPartial(base ?? {});
|
|
266
|
+
},
|
|
267
|
+
fromPartial(object) {
|
|
268
|
+
const message = createBasepayNowRequest_add_on();
|
|
269
|
+
message.type = object.type ?? "";
|
|
270
|
+
message.plan_id = object.plan_id ?? "";
|
|
271
|
+
message.amount = object.amount ?? 0;
|
|
272
|
+
message.meta_data = object.meta_data ?? "";
|
|
273
|
+
return message;
|
|
274
|
+
},
|
|
275
|
+
};
|
|
276
|
+
function createBasepayNowResponse() {
|
|
277
|
+
return { redirect_url: "", order_id: "" };
|
|
278
|
+
}
|
|
279
|
+
exports.payNowResponse = {
|
|
280
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
281
|
+
if (message.redirect_url !== "") {
|
|
282
|
+
writer.uint32(10).string(message.redirect_url);
|
|
283
|
+
}
|
|
284
|
+
if (message.order_id !== "") {
|
|
285
|
+
writer.uint32(18).string(message.order_id);
|
|
286
|
+
}
|
|
287
|
+
return writer;
|
|
288
|
+
},
|
|
289
|
+
decode(input, length) {
|
|
290
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
291
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
292
|
+
const message = createBasepayNowResponse();
|
|
293
|
+
while (reader.pos < end) {
|
|
294
|
+
const tag = reader.uint32();
|
|
295
|
+
switch (tag >>> 3) {
|
|
296
|
+
case 1:
|
|
297
|
+
if (tag !== 10) {
|
|
298
|
+
break;
|
|
299
|
+
}
|
|
300
|
+
message.redirect_url = reader.string();
|
|
301
|
+
continue;
|
|
302
|
+
case 2:
|
|
303
|
+
if (tag !== 18) {
|
|
304
|
+
break;
|
|
305
|
+
}
|
|
306
|
+
message.order_id = reader.string();
|
|
307
|
+
continue;
|
|
308
|
+
}
|
|
309
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
310
|
+
break;
|
|
311
|
+
}
|
|
312
|
+
reader.skipType(tag & 7);
|
|
313
|
+
}
|
|
314
|
+
return message;
|
|
315
|
+
},
|
|
316
|
+
fromJSON(object) {
|
|
317
|
+
return {
|
|
318
|
+
redirect_url: isSet(object.redirect_url) ? globalThis.String(object.redirect_url) : "",
|
|
319
|
+
order_id: isSet(object.order_id) ? globalThis.String(object.order_id) : "",
|
|
320
|
+
};
|
|
321
|
+
},
|
|
322
|
+
toJSON(message) {
|
|
323
|
+
const obj = {};
|
|
324
|
+
if (message.redirect_url !== "") {
|
|
325
|
+
obj.redirect_url = message.redirect_url;
|
|
326
|
+
}
|
|
327
|
+
if (message.order_id !== "") {
|
|
328
|
+
obj.order_id = message.order_id;
|
|
329
|
+
}
|
|
330
|
+
return obj;
|
|
331
|
+
},
|
|
332
|
+
create(base) {
|
|
333
|
+
return exports.payNowResponse.fromPartial(base ?? {});
|
|
334
|
+
},
|
|
335
|
+
fromPartial(object) {
|
|
336
|
+
const message = createBasepayNowResponse();
|
|
337
|
+
message.redirect_url = object.redirect_url ?? "";
|
|
338
|
+
message.order_id = object.order_id ?? "";
|
|
339
|
+
return message;
|
|
340
|
+
},
|
|
341
|
+
};
|
|
342
|
+
function isSet(value) {
|
|
343
|
+
return value !== null && value !== undefined;
|
|
344
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.refund";
|
|
3
|
+
export interface refundRequest {
|
|
4
|
+
amount: number;
|
|
5
|
+
customerid: number;
|
|
6
|
+
loan_id: number;
|
|
7
|
+
mode: string;
|
|
8
|
+
}
|
|
9
|
+
export interface refundResponse {
|
|
10
|
+
message: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const refundRequest: {
|
|
13
|
+
encode(message: refundRequest, writer?: _m0.Writer): _m0.Writer;
|
|
14
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): refundRequest;
|
|
15
|
+
fromJSON(object: any): refundRequest;
|
|
16
|
+
toJSON(message: refundRequest): unknown;
|
|
17
|
+
create<I extends Exact<DeepPartial<refundRequest>, I>>(base?: I): refundRequest;
|
|
18
|
+
fromPartial<I extends Exact<DeepPartial<refundRequest>, I>>(object: I): refundRequest;
|
|
19
|
+
};
|
|
20
|
+
export declare const refundResponse: {
|
|
21
|
+
encode(message: refundResponse, writer?: _m0.Writer): _m0.Writer;
|
|
22
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): refundResponse;
|
|
23
|
+
fromJSON(object: any): refundResponse;
|
|
24
|
+
toJSON(message: refundResponse): unknown;
|
|
25
|
+
create<I extends Exact<DeepPartial<refundResponse>, I>>(base?: I): refundResponse;
|
|
26
|
+
fromPartial<I extends Exact<DeepPartial<refundResponse>, I>>(object: I): refundResponse;
|
|
27
|
+
};
|
|
28
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
29
|
+
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 {} ? {
|
|
30
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
31
|
+
} : Partial<T>;
|
|
32
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
33
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
34
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
35
|
+
} & {
|
|
36
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
37
|
+
};
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,161 @@
|
|
|
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: loans/refund.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.refundResponse = exports.refundRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.refund";
|
|
15
|
+
function createBaserefundRequest() {
|
|
16
|
+
return { amount: 0, customerid: 0, loan_id: 0, mode: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.refundRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.amount !== 0) {
|
|
21
|
+
writer.uint32(8).int32(message.amount);
|
|
22
|
+
}
|
|
23
|
+
if (message.customerid !== 0) {
|
|
24
|
+
writer.uint32(16).int32(message.customerid);
|
|
25
|
+
}
|
|
26
|
+
if (message.loan_id !== 0) {
|
|
27
|
+
writer.uint32(24).int32(message.loan_id);
|
|
28
|
+
}
|
|
29
|
+
if (message.mode !== "") {
|
|
30
|
+
writer.uint32(34).string(message.mode);
|
|
31
|
+
}
|
|
32
|
+
return writer;
|
|
33
|
+
},
|
|
34
|
+
decode(input, length) {
|
|
35
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
36
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
37
|
+
const message = createBaserefundRequest();
|
|
38
|
+
while (reader.pos < end) {
|
|
39
|
+
const tag = reader.uint32();
|
|
40
|
+
switch (tag >>> 3) {
|
|
41
|
+
case 1:
|
|
42
|
+
if (tag !== 8) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.amount = reader.int32();
|
|
46
|
+
continue;
|
|
47
|
+
case 2:
|
|
48
|
+
if (tag !== 16) {
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
message.customerid = reader.int32();
|
|
52
|
+
continue;
|
|
53
|
+
case 3:
|
|
54
|
+
if (tag !== 24) {
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
message.loan_id = reader.int32();
|
|
58
|
+
continue;
|
|
59
|
+
case 4:
|
|
60
|
+
if (tag !== 34) {
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
message.mode = reader.string();
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
reader.skipType(tag & 7);
|
|
70
|
+
}
|
|
71
|
+
return message;
|
|
72
|
+
},
|
|
73
|
+
fromJSON(object) {
|
|
74
|
+
return {
|
|
75
|
+
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
76
|
+
customerid: isSet(object.customerid) ? globalThis.Number(object.customerid) : 0,
|
|
77
|
+
loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
|
|
78
|
+
mode: isSet(object.mode) ? globalThis.String(object.mode) : "",
|
|
79
|
+
};
|
|
80
|
+
},
|
|
81
|
+
toJSON(message) {
|
|
82
|
+
const obj = {};
|
|
83
|
+
if (message.amount !== 0) {
|
|
84
|
+
obj.amount = Math.round(message.amount);
|
|
85
|
+
}
|
|
86
|
+
if (message.customerid !== 0) {
|
|
87
|
+
obj.customerid = Math.round(message.customerid);
|
|
88
|
+
}
|
|
89
|
+
if (message.loan_id !== 0) {
|
|
90
|
+
obj.loan_id = Math.round(message.loan_id);
|
|
91
|
+
}
|
|
92
|
+
if (message.mode !== "") {
|
|
93
|
+
obj.mode = message.mode;
|
|
94
|
+
}
|
|
95
|
+
return obj;
|
|
96
|
+
},
|
|
97
|
+
create(base) {
|
|
98
|
+
return exports.refundRequest.fromPartial(base ?? {});
|
|
99
|
+
},
|
|
100
|
+
fromPartial(object) {
|
|
101
|
+
const message = createBaserefundRequest();
|
|
102
|
+
message.amount = object.amount ?? 0;
|
|
103
|
+
message.customerid = object.customerid ?? 0;
|
|
104
|
+
message.loan_id = object.loan_id ?? 0;
|
|
105
|
+
message.mode = object.mode ?? "";
|
|
106
|
+
return message;
|
|
107
|
+
},
|
|
108
|
+
};
|
|
109
|
+
function createBaserefundResponse() {
|
|
110
|
+
return { message: "" };
|
|
111
|
+
}
|
|
112
|
+
exports.refundResponse = {
|
|
113
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
114
|
+
if (message.message !== "") {
|
|
115
|
+
writer.uint32(10).string(message.message);
|
|
116
|
+
}
|
|
117
|
+
return writer;
|
|
118
|
+
},
|
|
119
|
+
decode(input, length) {
|
|
120
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
121
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
122
|
+
const message = createBaserefundResponse();
|
|
123
|
+
while (reader.pos < end) {
|
|
124
|
+
const tag = reader.uint32();
|
|
125
|
+
switch (tag >>> 3) {
|
|
126
|
+
case 1:
|
|
127
|
+
if (tag !== 10) {
|
|
128
|
+
break;
|
|
129
|
+
}
|
|
130
|
+
message.message = reader.string();
|
|
131
|
+
continue;
|
|
132
|
+
}
|
|
133
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
134
|
+
break;
|
|
135
|
+
}
|
|
136
|
+
reader.skipType(tag & 7);
|
|
137
|
+
}
|
|
138
|
+
return message;
|
|
139
|
+
},
|
|
140
|
+
fromJSON(object) {
|
|
141
|
+
return { message: isSet(object.message) ? globalThis.String(object.message) : "" };
|
|
142
|
+
},
|
|
143
|
+
toJSON(message) {
|
|
144
|
+
const obj = {};
|
|
145
|
+
if (message.message !== "") {
|
|
146
|
+
obj.message = message.message;
|
|
147
|
+
}
|
|
148
|
+
return obj;
|
|
149
|
+
},
|
|
150
|
+
create(base) {
|
|
151
|
+
return exports.refundResponse.fromPartial(base ?? {});
|
|
152
|
+
},
|
|
153
|
+
fromPartial(object) {
|
|
154
|
+
const message = createBaserefundResponse();
|
|
155
|
+
message.message = object.message ?? "";
|
|
156
|
+
return message;
|
|
157
|
+
},
|
|
158
|
+
};
|
|
159
|
+
function isSet(value) {
|
|
160
|
+
return value !== null && value !== undefined;
|
|
161
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.restructureloan";
|
|
3
|
+
export interface restructureLoanRequest {
|
|
4
|
+
loan_id: number[];
|
|
5
|
+
tenure: number;
|
|
6
|
+
}
|
|
7
|
+
export interface restructureLoanResponse {
|
|
8
|
+
message: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const restructureLoanRequest: {
|
|
11
|
+
encode(message: restructureLoanRequest, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): restructureLoanRequest;
|
|
13
|
+
fromJSON(object: any): restructureLoanRequest;
|
|
14
|
+
toJSON(message: restructureLoanRequest): unknown;
|
|
15
|
+
create<I extends Exact<DeepPartial<restructureLoanRequest>, I>>(base?: I): restructureLoanRequest;
|
|
16
|
+
fromPartial<I extends Exact<DeepPartial<restructureLoanRequest>, I>>(object: I): restructureLoanRequest;
|
|
17
|
+
};
|
|
18
|
+
export declare const restructureLoanResponse: {
|
|
19
|
+
encode(message: restructureLoanResponse, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): restructureLoanResponse;
|
|
21
|
+
fromJSON(object: any): restructureLoanResponse;
|
|
22
|
+
toJSON(message: restructureLoanResponse): unknown;
|
|
23
|
+
create<I extends Exact<DeepPartial<restructureLoanResponse>, I>>(base?: I): restructureLoanResponse;
|
|
24
|
+
fromPartial<I extends Exact<DeepPartial<restructureLoanResponse>, I>>(object: I): restructureLoanResponse;
|
|
25
|
+
};
|
|
26
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
27
|
+
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 {} ? {
|
|
28
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
29
|
+
} : Partial<T>;
|
|
30
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
31
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
32
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
33
|
+
} & {
|
|
34
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
35
|
+
};
|
|
36
|
+
export {};
|