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