@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,406 @@
|
|
|
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: colender/repayLoan.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.status = exports.repayResponse = exports.repayRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "colender.repayLoan";
|
|
15
|
+
function createBaserepayRequest() {
|
|
16
|
+
return {
|
|
17
|
+
customer_id: 0,
|
|
18
|
+
loan_id: 0,
|
|
19
|
+
seq_no: 0,
|
|
20
|
+
payment_mode: "",
|
|
21
|
+
utr: "",
|
|
22
|
+
payment_date: "",
|
|
23
|
+
payment_id: 0,
|
|
24
|
+
amount: 0,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
exports.repayRequest = {
|
|
28
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
29
|
+
if (message.customer_id !== 0) {
|
|
30
|
+
writer.uint32(8).int32(message.customer_id);
|
|
31
|
+
}
|
|
32
|
+
if (message.loan_id !== 0) {
|
|
33
|
+
writer.uint32(16).int32(message.loan_id);
|
|
34
|
+
}
|
|
35
|
+
if (message.seq_no !== 0) {
|
|
36
|
+
writer.uint32(24).int32(message.seq_no);
|
|
37
|
+
}
|
|
38
|
+
if (message.payment_mode !== "") {
|
|
39
|
+
writer.uint32(34).string(message.payment_mode);
|
|
40
|
+
}
|
|
41
|
+
if (message.utr !== "") {
|
|
42
|
+
writer.uint32(42).string(message.utr);
|
|
43
|
+
}
|
|
44
|
+
if (message.payment_date !== "") {
|
|
45
|
+
writer.uint32(50).string(message.payment_date);
|
|
46
|
+
}
|
|
47
|
+
if (message.payment_id !== 0) {
|
|
48
|
+
writer.uint32(56).int32(message.payment_id);
|
|
49
|
+
}
|
|
50
|
+
if (message.amount !== 0) {
|
|
51
|
+
writer.uint32(64).int32(message.amount);
|
|
52
|
+
}
|
|
53
|
+
return writer;
|
|
54
|
+
},
|
|
55
|
+
decode(input, length) {
|
|
56
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
57
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
58
|
+
const message = createBaserepayRequest();
|
|
59
|
+
while (reader.pos < end) {
|
|
60
|
+
const tag = reader.uint32();
|
|
61
|
+
switch (tag >>> 3) {
|
|
62
|
+
case 1:
|
|
63
|
+
if (tag !== 8) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
message.customer_id = reader.int32();
|
|
67
|
+
continue;
|
|
68
|
+
case 2:
|
|
69
|
+
if (tag !== 16) {
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
message.loan_id = reader.int32();
|
|
73
|
+
continue;
|
|
74
|
+
case 3:
|
|
75
|
+
if (tag !== 24) {
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
message.seq_no = reader.int32();
|
|
79
|
+
continue;
|
|
80
|
+
case 4:
|
|
81
|
+
if (tag !== 34) {
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
message.payment_mode = reader.string();
|
|
85
|
+
continue;
|
|
86
|
+
case 5:
|
|
87
|
+
if (tag !== 42) {
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
message.utr = reader.string();
|
|
91
|
+
continue;
|
|
92
|
+
case 6:
|
|
93
|
+
if (tag !== 50) {
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
message.payment_date = reader.string();
|
|
97
|
+
continue;
|
|
98
|
+
case 7:
|
|
99
|
+
if (tag !== 56) {
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
message.payment_id = reader.int32();
|
|
103
|
+
continue;
|
|
104
|
+
case 8:
|
|
105
|
+
if (tag !== 64) {
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
message.amount = reader.int32();
|
|
109
|
+
continue;
|
|
110
|
+
}
|
|
111
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
reader.skipType(tag & 7);
|
|
115
|
+
}
|
|
116
|
+
return message;
|
|
117
|
+
},
|
|
118
|
+
fromJSON(object) {
|
|
119
|
+
return {
|
|
120
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
121
|
+
loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
|
|
122
|
+
seq_no: isSet(object.seq_no) ? globalThis.Number(object.seq_no) : 0,
|
|
123
|
+
payment_mode: isSet(object.payment_mode) ? globalThis.String(object.payment_mode) : "",
|
|
124
|
+
utr: isSet(object.utr) ? globalThis.String(object.utr) : "",
|
|
125
|
+
payment_date: isSet(object.payment_date) ? globalThis.String(object.payment_date) : "",
|
|
126
|
+
payment_id: isSet(object.payment_id) ? globalThis.Number(object.payment_id) : 0,
|
|
127
|
+
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
128
|
+
};
|
|
129
|
+
},
|
|
130
|
+
toJSON(message) {
|
|
131
|
+
const obj = {};
|
|
132
|
+
if (message.customer_id !== 0) {
|
|
133
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
134
|
+
}
|
|
135
|
+
if (message.loan_id !== 0) {
|
|
136
|
+
obj.loan_id = Math.round(message.loan_id);
|
|
137
|
+
}
|
|
138
|
+
if (message.seq_no !== 0) {
|
|
139
|
+
obj.seq_no = Math.round(message.seq_no);
|
|
140
|
+
}
|
|
141
|
+
if (message.payment_mode !== "") {
|
|
142
|
+
obj.payment_mode = message.payment_mode;
|
|
143
|
+
}
|
|
144
|
+
if (message.utr !== "") {
|
|
145
|
+
obj.utr = message.utr;
|
|
146
|
+
}
|
|
147
|
+
if (message.payment_date !== "") {
|
|
148
|
+
obj.payment_date = message.payment_date;
|
|
149
|
+
}
|
|
150
|
+
if (message.payment_id !== 0) {
|
|
151
|
+
obj.payment_id = Math.round(message.payment_id);
|
|
152
|
+
}
|
|
153
|
+
if (message.amount !== 0) {
|
|
154
|
+
obj.amount = Math.round(message.amount);
|
|
155
|
+
}
|
|
156
|
+
return obj;
|
|
157
|
+
},
|
|
158
|
+
create(base) {
|
|
159
|
+
return exports.repayRequest.fromPartial(base ?? {});
|
|
160
|
+
},
|
|
161
|
+
fromPartial(object) {
|
|
162
|
+
const message = createBaserepayRequest();
|
|
163
|
+
message.customer_id = object.customer_id ?? 0;
|
|
164
|
+
message.loan_id = object.loan_id ?? 0;
|
|
165
|
+
message.seq_no = object.seq_no ?? 0;
|
|
166
|
+
message.payment_mode = object.payment_mode ?? "";
|
|
167
|
+
message.utr = object.utr ?? "";
|
|
168
|
+
message.payment_date = object.payment_date ?? "";
|
|
169
|
+
message.payment_id = object.payment_id ?? 0;
|
|
170
|
+
message.amount = object.amount ?? 0;
|
|
171
|
+
return message;
|
|
172
|
+
},
|
|
173
|
+
};
|
|
174
|
+
function createBaserepayResponse() {
|
|
175
|
+
return {
|
|
176
|
+
colender_id: 0,
|
|
177
|
+
query: undefined,
|
|
178
|
+
actionStatus: undefined,
|
|
179
|
+
installmentQuery: [],
|
|
180
|
+
paymentsQuery: [],
|
|
181
|
+
forecloseQuery: undefined,
|
|
182
|
+
closeLoanQuery: undefined,
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
exports.repayResponse = {
|
|
186
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
187
|
+
if (message.colender_id !== 0) {
|
|
188
|
+
writer.uint32(8).int32(message.colender_id);
|
|
189
|
+
}
|
|
190
|
+
if (message.query !== undefined) {
|
|
191
|
+
writer.uint32(18).string(message.query);
|
|
192
|
+
}
|
|
193
|
+
if (message.actionStatus !== undefined) {
|
|
194
|
+
exports.status.encode(message.actionStatus, writer.uint32(26).fork()).ldelim();
|
|
195
|
+
}
|
|
196
|
+
for (const v of message.installmentQuery) {
|
|
197
|
+
writer.uint32(34).string(v);
|
|
198
|
+
}
|
|
199
|
+
for (const v of message.paymentsQuery) {
|
|
200
|
+
writer.uint32(42).string(v);
|
|
201
|
+
}
|
|
202
|
+
if (message.forecloseQuery !== undefined) {
|
|
203
|
+
writer.uint32(50).string(message.forecloseQuery);
|
|
204
|
+
}
|
|
205
|
+
if (message.closeLoanQuery !== undefined) {
|
|
206
|
+
writer.uint32(58).string(message.closeLoanQuery);
|
|
207
|
+
}
|
|
208
|
+
return writer;
|
|
209
|
+
},
|
|
210
|
+
decode(input, length) {
|
|
211
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
212
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
213
|
+
const message = createBaserepayResponse();
|
|
214
|
+
while (reader.pos < end) {
|
|
215
|
+
const tag = reader.uint32();
|
|
216
|
+
switch (tag >>> 3) {
|
|
217
|
+
case 1:
|
|
218
|
+
if (tag !== 8) {
|
|
219
|
+
break;
|
|
220
|
+
}
|
|
221
|
+
message.colender_id = reader.int32();
|
|
222
|
+
continue;
|
|
223
|
+
case 2:
|
|
224
|
+
if (tag !== 18) {
|
|
225
|
+
break;
|
|
226
|
+
}
|
|
227
|
+
message.query = reader.string();
|
|
228
|
+
continue;
|
|
229
|
+
case 3:
|
|
230
|
+
if (tag !== 26) {
|
|
231
|
+
break;
|
|
232
|
+
}
|
|
233
|
+
message.actionStatus = exports.status.decode(reader, reader.uint32());
|
|
234
|
+
continue;
|
|
235
|
+
case 4:
|
|
236
|
+
if (tag !== 34) {
|
|
237
|
+
break;
|
|
238
|
+
}
|
|
239
|
+
message.installmentQuery.push(reader.string());
|
|
240
|
+
continue;
|
|
241
|
+
case 5:
|
|
242
|
+
if (tag !== 42) {
|
|
243
|
+
break;
|
|
244
|
+
}
|
|
245
|
+
message.paymentsQuery.push(reader.string());
|
|
246
|
+
continue;
|
|
247
|
+
case 6:
|
|
248
|
+
if (tag !== 50) {
|
|
249
|
+
break;
|
|
250
|
+
}
|
|
251
|
+
message.forecloseQuery = reader.string();
|
|
252
|
+
continue;
|
|
253
|
+
case 7:
|
|
254
|
+
if (tag !== 58) {
|
|
255
|
+
break;
|
|
256
|
+
}
|
|
257
|
+
message.closeLoanQuery = reader.string();
|
|
258
|
+
continue;
|
|
259
|
+
}
|
|
260
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
261
|
+
break;
|
|
262
|
+
}
|
|
263
|
+
reader.skipType(tag & 7);
|
|
264
|
+
}
|
|
265
|
+
return message;
|
|
266
|
+
},
|
|
267
|
+
fromJSON(object) {
|
|
268
|
+
return {
|
|
269
|
+
colender_id: isSet(object.colender_id) ? globalThis.Number(object.colender_id) : 0,
|
|
270
|
+
query: isSet(object.query) ? globalThis.String(object.query) : undefined,
|
|
271
|
+
actionStatus: isSet(object.actionStatus) ? exports.status.fromJSON(object.actionStatus) : undefined,
|
|
272
|
+
installmentQuery: globalThis.Array.isArray(object?.installmentQuery)
|
|
273
|
+
? object.installmentQuery.map((e) => globalThis.String(e))
|
|
274
|
+
: [],
|
|
275
|
+
paymentsQuery: globalThis.Array.isArray(object?.paymentsQuery)
|
|
276
|
+
? object.paymentsQuery.map((e) => globalThis.String(e))
|
|
277
|
+
: [],
|
|
278
|
+
forecloseQuery: isSet(object.forecloseQuery) ? globalThis.String(object.forecloseQuery) : undefined,
|
|
279
|
+
closeLoanQuery: isSet(object.closeLoanQuery) ? globalThis.String(object.closeLoanQuery) : undefined,
|
|
280
|
+
};
|
|
281
|
+
},
|
|
282
|
+
toJSON(message) {
|
|
283
|
+
const obj = {};
|
|
284
|
+
if (message.colender_id !== 0) {
|
|
285
|
+
obj.colender_id = Math.round(message.colender_id);
|
|
286
|
+
}
|
|
287
|
+
if (message.query !== undefined) {
|
|
288
|
+
obj.query = message.query;
|
|
289
|
+
}
|
|
290
|
+
if (message.actionStatus !== undefined) {
|
|
291
|
+
obj.actionStatus = exports.status.toJSON(message.actionStatus);
|
|
292
|
+
}
|
|
293
|
+
if (message.installmentQuery?.length) {
|
|
294
|
+
obj.installmentQuery = message.installmentQuery;
|
|
295
|
+
}
|
|
296
|
+
if (message.paymentsQuery?.length) {
|
|
297
|
+
obj.paymentsQuery = message.paymentsQuery;
|
|
298
|
+
}
|
|
299
|
+
if (message.forecloseQuery !== undefined) {
|
|
300
|
+
obj.forecloseQuery = message.forecloseQuery;
|
|
301
|
+
}
|
|
302
|
+
if (message.closeLoanQuery !== undefined) {
|
|
303
|
+
obj.closeLoanQuery = message.closeLoanQuery;
|
|
304
|
+
}
|
|
305
|
+
return obj;
|
|
306
|
+
},
|
|
307
|
+
create(base) {
|
|
308
|
+
return exports.repayResponse.fromPartial(base ?? {});
|
|
309
|
+
},
|
|
310
|
+
fromPartial(object) {
|
|
311
|
+
const message = createBaserepayResponse();
|
|
312
|
+
message.colender_id = object.colender_id ?? 0;
|
|
313
|
+
message.query = object.query ?? undefined;
|
|
314
|
+
message.actionStatus = (object.actionStatus !== undefined && object.actionStatus !== null)
|
|
315
|
+
? exports.status.fromPartial(object.actionStatus)
|
|
316
|
+
: undefined;
|
|
317
|
+
message.installmentQuery = object.installmentQuery?.map((e) => e) || [];
|
|
318
|
+
message.paymentsQuery = object.paymentsQuery?.map((e) => e) || [];
|
|
319
|
+
message.forecloseQuery = object.forecloseQuery ?? undefined;
|
|
320
|
+
message.closeLoanQuery = object.closeLoanQuery ?? undefined;
|
|
321
|
+
return message;
|
|
322
|
+
},
|
|
323
|
+
};
|
|
324
|
+
function createBasestatus() {
|
|
325
|
+
return { status: "", error: undefined, message: "" };
|
|
326
|
+
}
|
|
327
|
+
exports.status = {
|
|
328
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
329
|
+
if (message.status !== "") {
|
|
330
|
+
writer.uint32(10).string(message.status);
|
|
331
|
+
}
|
|
332
|
+
if (message.error !== undefined) {
|
|
333
|
+
writer.uint32(18).string(message.error);
|
|
334
|
+
}
|
|
335
|
+
if (message.message !== "") {
|
|
336
|
+
writer.uint32(26).string(message.message);
|
|
337
|
+
}
|
|
338
|
+
return writer;
|
|
339
|
+
},
|
|
340
|
+
decode(input, length) {
|
|
341
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
342
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
343
|
+
const message = createBasestatus();
|
|
344
|
+
while (reader.pos < end) {
|
|
345
|
+
const tag = reader.uint32();
|
|
346
|
+
switch (tag >>> 3) {
|
|
347
|
+
case 1:
|
|
348
|
+
if (tag !== 10) {
|
|
349
|
+
break;
|
|
350
|
+
}
|
|
351
|
+
message.status = reader.string();
|
|
352
|
+
continue;
|
|
353
|
+
case 2:
|
|
354
|
+
if (tag !== 18) {
|
|
355
|
+
break;
|
|
356
|
+
}
|
|
357
|
+
message.error = reader.string();
|
|
358
|
+
continue;
|
|
359
|
+
case 3:
|
|
360
|
+
if (tag !== 26) {
|
|
361
|
+
break;
|
|
362
|
+
}
|
|
363
|
+
message.message = reader.string();
|
|
364
|
+
continue;
|
|
365
|
+
}
|
|
366
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
367
|
+
break;
|
|
368
|
+
}
|
|
369
|
+
reader.skipType(tag & 7);
|
|
370
|
+
}
|
|
371
|
+
return message;
|
|
372
|
+
},
|
|
373
|
+
fromJSON(object) {
|
|
374
|
+
return {
|
|
375
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
376
|
+
error: isSet(object.error) ? globalThis.String(object.error) : undefined,
|
|
377
|
+
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
378
|
+
};
|
|
379
|
+
},
|
|
380
|
+
toJSON(message) {
|
|
381
|
+
const obj = {};
|
|
382
|
+
if (message.status !== "") {
|
|
383
|
+
obj.status = message.status;
|
|
384
|
+
}
|
|
385
|
+
if (message.error !== undefined) {
|
|
386
|
+
obj.error = message.error;
|
|
387
|
+
}
|
|
388
|
+
if (message.message !== "") {
|
|
389
|
+
obj.message = message.message;
|
|
390
|
+
}
|
|
391
|
+
return obj;
|
|
392
|
+
},
|
|
393
|
+
create(base) {
|
|
394
|
+
return exports.status.fromPartial(base ?? {});
|
|
395
|
+
},
|
|
396
|
+
fromPartial(object) {
|
|
397
|
+
const message = createBasestatus();
|
|
398
|
+
message.status = object.status ?? "";
|
|
399
|
+
message.error = object.error ?? undefined;
|
|
400
|
+
message.message = object.message ?? "";
|
|
401
|
+
return message;
|
|
402
|
+
},
|
|
403
|
+
};
|
|
404
|
+
function isSet(value) {
|
|
405
|
+
return value !== null && value !== undefined;
|
|
406
|
+
}
|
package/ts/colender.d.ts
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
2
|
+
import { disburalRequest, disburalResponse } from "./colender/disburseLoan";
|
|
3
|
+
import { forecloseRequest, forecloseResponse } from "./colender/forecloseLoan";
|
|
4
|
+
import { repayRequest, repayResponse } from "./colender/repayLoan";
|
|
5
|
+
export declare const protobufPackage = "service";
|
|
6
|
+
export type colenderService = typeof colenderService;
|
|
7
|
+
export declare const colenderService: {
|
|
8
|
+
readonly disburseLoan: {
|
|
9
|
+
readonly path: "/service.colender/disburseLoan";
|
|
10
|
+
readonly requestStream: false;
|
|
11
|
+
readonly responseStream: false;
|
|
12
|
+
readonly requestSerialize: (value: disburalRequest) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
13
|
+
readonly requestDeserialize: (value: Buffer) => disburalRequest;
|
|
14
|
+
readonly responseSerialize: (value: disburalResponse) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
15
|
+
readonly responseDeserialize: (value: Buffer) => disburalResponse;
|
|
16
|
+
};
|
|
17
|
+
readonly repayLoan: {
|
|
18
|
+
readonly path: "/service.colender/repayLoan";
|
|
19
|
+
readonly requestStream: false;
|
|
20
|
+
readonly responseStream: false;
|
|
21
|
+
readonly requestSerialize: (value: repayRequest) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
22
|
+
readonly requestDeserialize: (value: Buffer) => repayRequest;
|
|
23
|
+
readonly responseSerialize: (value: repayResponse) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
24
|
+
readonly responseDeserialize: (value: Buffer) => repayResponse;
|
|
25
|
+
};
|
|
26
|
+
readonly forecloseLoan: {
|
|
27
|
+
readonly path: "/service.colender/forecloseLoan";
|
|
28
|
+
readonly requestStream: false;
|
|
29
|
+
readonly responseStream: false;
|
|
30
|
+
readonly requestSerialize: (value: forecloseRequest) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
31
|
+
readonly requestDeserialize: (value: Buffer) => forecloseRequest;
|
|
32
|
+
readonly responseSerialize: (value: forecloseResponse) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
33
|
+
readonly responseDeserialize: (value: Buffer) => forecloseResponse;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
export interface colenderServer extends UntypedServiceImplementation {
|
|
37
|
+
disburseLoan: handleUnaryCall<disburalRequest, disburalResponse>;
|
|
38
|
+
repayLoan: handleUnaryCall<repayRequest, repayResponse>;
|
|
39
|
+
forecloseLoan: handleUnaryCall<forecloseRequest, forecloseResponse>;
|
|
40
|
+
}
|
|
41
|
+
export interface colenderClient extends Client {
|
|
42
|
+
disburseLoan(request: disburalRequest, callback: (error: ServiceError | null, response: disburalResponse) => void): ClientUnaryCall;
|
|
43
|
+
disburseLoan(request: disburalRequest, metadata: Metadata, callback: (error: ServiceError | null, response: disburalResponse) => void): ClientUnaryCall;
|
|
44
|
+
disburseLoan(request: disburalRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: disburalResponse) => void): ClientUnaryCall;
|
|
45
|
+
repayLoan(request: repayRequest, callback: (error: ServiceError | null, response: repayResponse) => void): ClientUnaryCall;
|
|
46
|
+
repayLoan(request: repayRequest, metadata: Metadata, callback: (error: ServiceError | null, response: repayResponse) => void): ClientUnaryCall;
|
|
47
|
+
repayLoan(request: repayRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: repayResponse) => void): ClientUnaryCall;
|
|
48
|
+
forecloseLoan(request: forecloseRequest, callback: (error: ServiceError | null, response: forecloseResponse) => void): ClientUnaryCall;
|
|
49
|
+
forecloseLoan(request: forecloseRequest, metadata: Metadata, callback: (error: ServiceError | null, response: forecloseResponse) => void): ClientUnaryCall;
|
|
50
|
+
forecloseLoan(request: forecloseRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: forecloseResponse) => void): ClientUnaryCall;
|
|
51
|
+
}
|
|
52
|
+
export declare const colenderClient: {
|
|
53
|
+
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): colenderClient;
|
|
54
|
+
service: typeof colenderService;
|
|
55
|
+
serviceName: string;
|
|
56
|
+
};
|
package/ts/colender.js
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
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: colender.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.colenderClient = exports.colenderService = exports.protobufPackage = void 0;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const grpc_js_1 = require("@grpc/grpc-js");
|
|
11
|
+
const disburseLoan_1 = require("./colender/disburseLoan");
|
|
12
|
+
const forecloseLoan_1 = require("./colender/forecloseLoan");
|
|
13
|
+
const repayLoan_1 = require("./colender/repayLoan");
|
|
14
|
+
exports.protobufPackage = "service";
|
|
15
|
+
exports.colenderService = {
|
|
16
|
+
disburseLoan: {
|
|
17
|
+
path: "/service.colender/disburseLoan",
|
|
18
|
+
requestStream: false,
|
|
19
|
+
responseStream: false,
|
|
20
|
+
requestSerialize: (value) => Buffer.from(disburseLoan_1.disburalRequest.encode(value).finish()),
|
|
21
|
+
requestDeserialize: (value) => disburseLoan_1.disburalRequest.decode(value),
|
|
22
|
+
responseSerialize: (value) => Buffer.from(disburseLoan_1.disburalResponse.encode(value).finish()),
|
|
23
|
+
responseDeserialize: (value) => disburseLoan_1.disburalResponse.decode(value),
|
|
24
|
+
},
|
|
25
|
+
repayLoan: {
|
|
26
|
+
path: "/service.colender/repayLoan",
|
|
27
|
+
requestStream: false,
|
|
28
|
+
responseStream: false,
|
|
29
|
+
requestSerialize: (value) => Buffer.from(repayLoan_1.repayRequest.encode(value).finish()),
|
|
30
|
+
requestDeserialize: (value) => repayLoan_1.repayRequest.decode(value),
|
|
31
|
+
responseSerialize: (value) => Buffer.from(repayLoan_1.repayResponse.encode(value).finish()),
|
|
32
|
+
responseDeserialize: (value) => repayLoan_1.repayResponse.decode(value),
|
|
33
|
+
},
|
|
34
|
+
forecloseLoan: {
|
|
35
|
+
path: "/service.colender/forecloseLoan",
|
|
36
|
+
requestStream: false,
|
|
37
|
+
responseStream: false,
|
|
38
|
+
requestSerialize: (value) => Buffer.from(forecloseLoan_1.forecloseRequest.encode(value).finish()),
|
|
39
|
+
requestDeserialize: (value) => forecloseLoan_1.forecloseRequest.decode(value),
|
|
40
|
+
responseSerialize: (value) => Buffer.from(forecloseLoan_1.forecloseResponse.encode(value).finish()),
|
|
41
|
+
responseDeserialize: (value) => forecloseLoan_1.forecloseResponse.decode(value),
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
exports.colenderClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.colenderService, "service.colender");
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.aa.getaatxnstatus";
|
|
3
|
+
export interface getAATransactionStatusRequest {
|
|
4
|
+
reference_id: string;
|
|
5
|
+
}
|
|
6
|
+
export interface getAATransactionStatusResponse {
|
|
7
|
+
status: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const getAATransactionStatusRequest: {
|
|
10
|
+
encode(message: getAATransactionStatusRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getAATransactionStatusRequest;
|
|
12
|
+
fromJSON(object: any): getAATransactionStatusRequest;
|
|
13
|
+
toJSON(message: getAATransactionStatusRequest): unknown;
|
|
14
|
+
create<I extends Exact<DeepPartial<getAATransactionStatusRequest>, I>>(base?: I): getAATransactionStatusRequest;
|
|
15
|
+
fromPartial<I extends Exact<DeepPartial<getAATransactionStatusRequest>, I>>(object: I): getAATransactionStatusRequest;
|
|
16
|
+
};
|
|
17
|
+
export declare const getAATransactionStatusResponse: {
|
|
18
|
+
encode(message: getAATransactionStatusResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getAATransactionStatusResponse;
|
|
20
|
+
fromJSON(object: any): getAATransactionStatusResponse;
|
|
21
|
+
toJSON(message: getAATransactionStatusResponse): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<getAATransactionStatusResponse>, I>>(base?: I): getAATransactionStatusResponse;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<getAATransactionStatusResponse>, I>>(object: I): getAATransactionStatusResponse;
|
|
24
|
+
};
|
|
25
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
26
|
+
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 {} ? {
|
|
27
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
28
|
+
} : Partial<T>;
|
|
29
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
30
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
31
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
32
|
+
} & {
|
|
33
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,117 @@
|
|
|
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: customers/aa/getaatxnstatus.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.getAATransactionStatusResponse = exports.getAATransactionStatusRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.aa.getaatxnstatus";
|
|
15
|
+
function createBasegetAATransactionStatusRequest() {
|
|
16
|
+
return { reference_id: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.getAATransactionStatusRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.reference_id !== "") {
|
|
21
|
+
writer.uint32(10).string(message.reference_id);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBasegetAATransactionStatusRequest();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 10) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.reference_id = reader.string();
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
reader.skipType(tag & 7);
|
|
43
|
+
}
|
|
44
|
+
return message;
|
|
45
|
+
},
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { reference_id: isSet(object.reference_id) ? globalThis.String(object.reference_id) : "" };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.reference_id !== "") {
|
|
52
|
+
obj.reference_id = message.reference_id;
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.getAATransactionStatusRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBasegetAATransactionStatusRequest();
|
|
61
|
+
message.reference_id = object.reference_id ?? "";
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBasegetAATransactionStatusResponse() {
|
|
66
|
+
return { status: "" };
|
|
67
|
+
}
|
|
68
|
+
exports.getAATransactionStatusResponse = {
|
|
69
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
+
if (message.status !== "") {
|
|
71
|
+
writer.uint32(10).string(message.status);
|
|
72
|
+
}
|
|
73
|
+
return writer;
|
|
74
|
+
},
|
|
75
|
+
decode(input, length) {
|
|
76
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
77
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
78
|
+
const message = createBasegetAATransactionStatusResponse();
|
|
79
|
+
while (reader.pos < end) {
|
|
80
|
+
const tag = reader.uint32();
|
|
81
|
+
switch (tag >>> 3) {
|
|
82
|
+
case 1:
|
|
83
|
+
if (tag !== 10) {
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
message.status = reader.string();
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
reader.skipType(tag & 7);
|
|
93
|
+
}
|
|
94
|
+
return message;
|
|
95
|
+
},
|
|
96
|
+
fromJSON(object) {
|
|
97
|
+
return { status: isSet(object.status) ? globalThis.String(object.status) : "" };
|
|
98
|
+
},
|
|
99
|
+
toJSON(message) {
|
|
100
|
+
const obj = {};
|
|
101
|
+
if (message.status !== "") {
|
|
102
|
+
obj.status = message.status;
|
|
103
|
+
}
|
|
104
|
+
return obj;
|
|
105
|
+
},
|
|
106
|
+
create(base) {
|
|
107
|
+
return exports.getAATransactionStatusResponse.fromPartial(base ?? {});
|
|
108
|
+
},
|
|
109
|
+
fromPartial(object) {
|
|
110
|
+
const message = createBasegetAATransactionStatusResponse();
|
|
111
|
+
message.status = object.status ?? "";
|
|
112
|
+
return message;
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
function isSet(value) {
|
|
116
|
+
return value !== null && value !== undefined;
|
|
117
|
+
}
|