@stashfin/grpc 1.2.721 → 1.2.723
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 +1 -1
- package/ts/banking/aa/getaasupport.js +2 -2
- package/ts/banking/aa/getbanklist.js +2 -2
- package/ts/banking/aa/getcustomerbank.js +2 -2
- package/ts/banking/aa/getrpdlink.js +2 -2
- package/ts/banking/aa/initiate.js +2 -2
- package/ts/banking/aa/initiatepennydrop.js +2 -2
- package/ts/banking/aa/netbankinginitiate.js +2 -2
- package/ts/banking/aa/pollingrpd.js +2 -2
- package/ts/banking.d.ts +16 -16
- package/ts/banking.js +2 -2
- package/ts/bureau/getbasicdetails.js +2 -2
- package/ts/bureau/getcibilwebtoken.js +2 -2
- package/ts/bureau/getdbrcolending.js +2 -2
- package/ts/bureau/getdemogs.js +2 -2
- package/ts/bureau/getobligation.js +2 -2
- package/ts/bureau/getreport.js +2 -2
- package/ts/bureau/ischrenabled.js +2 -2
- package/ts/bureau.d.ts +14 -14
- package/ts/bureau.js +2 -2
- package/ts/ckyc/ckycdownload.js +2 -2
- package/ts/ckyc/ckycsearch.js +2 -2
- package/ts/ckyc.d.ts +4 -4
- package/ts/ckyc.js +2 -2
- package/ts/colender/disburseLoan.js +2 -2
- package/ts/colender/forecloseLoan.js +2 -2
- package/ts/colender/repayLoan.js +2 -2
- package/ts/colender.d.ts +6 -6
- package/ts/colender.js +2 -2
- package/ts/communications/bureauidwhatsapp.d.ts +38 -0
- package/ts/communications/bureauidwhatsapp.js +161 -0
- package/ts/communications.d.ts +28 -0
- package/ts/communications.js +24 -0
- package/ts/customers/aa/getaatxnstatus.js +2 -2
- package/ts/customers/aa/getbanklist.js +2 -2
- package/ts/customers/aa/initiate.js +2 -2
- package/ts/customers/accidentprotectionplan.js +2 -2
- package/ts/customers/addaddress.js +2 -2
- package/ts/customers/addbankaccountdetails.js +2 -2
- package/ts/customers/addfathersname.js +2 -2
- package/ts/customers/addgstnumber.js +2 -2
- package/ts/customers/addmoredetails.js +2 -2
- package/ts/customers/addsuspendedcustomer.js +2 -2
- package/ts/customers/adduserapps.d.ts +2 -2
- package/ts/customers/adduserapps.js +2 -2
- package/ts/customers/applyclijourney.js +2 -2
- package/ts/customers/bulksms.js +2 -2
- package/ts/customers/cb/cbapplicationrejecteddata.js +2 -2
- package/ts/customers/cb/cbpaynow.js +2 -2
- package/ts/customers/cb/cbsignup.js +2 -2
- package/ts/customers/cb/getcbtxnstatus.js +2 -2
- package/ts/customers/cb/getcreditbuilder.js +2 -2
- package/ts/customers/cb/getpaymentsummary.js +2 -2
- package/ts/customers/cb/insurancedetails.js +2 -2
- package/ts/customers/cb/lesscsimprove.js +2 -2
- package/ts/customers/cb/morecsimprove.js +2 -2
- package/ts/customers/cb/paynow.d.ts +36 -0
- package/ts/customers/cb/paynow.js +133 -0
- package/ts/customers/cb/savecreditbuilder.js +2 -2
- package/ts/customers/cb/updatecbstandalonecancellation.js +2 -2
- package/ts/customers/cb/updatecbstandaloneconfirmation.js +2 -2
- package/ts/customers/cb/updatecbstandalonejourney.js +2 -2
- package/ts/customers/cb/updatecbtxnstatus.js +2 -2
- package/ts/customers/changempin.js +2 -2
- package/ts/customers/createcustomerreference.js +2 -2
- package/ts/customers/createvanumber.js +2 -2
- package/ts/customers/customerinfo.js +2 -2
- package/ts/customers/deletedocument.js +2 -2
- package/ts/customers/deleteprofile.js +2 -2
- package/ts/customers/disablempin.js +2 -2
- package/ts/customers/enach/gettxnstatus.js +2 -2
- package/ts/customers/enach/getweburl.js +2 -2
- package/ts/customers/enach/updateenachtxnstatus.js +2 -2
- package/ts/customers/enach/updatetxnstatus.d.ts +36 -0
- package/ts/customers/enach/updatetxnstatus.js +133 -0
- package/ts/customers/fetchrcprofile.js +2 -2
- package/ts/customers/floatingvideos.js +2 -2
- package/ts/customers/forceupdate.js +2 -2
- package/ts/customers/forgotmpin.js +2 -2
- package/ts/customers/forgotmpinverify.js +2 -2
- package/ts/customers/freedom/addressconfirmation.js +2 -2
- package/ts/customers/freedom/freedompaynow.js +2 -2
- package/ts/customers/freedom/getfreedomtxnstatus.js +2 -2
- package/ts/customers/freedom/updateadditionalverification.js +2 -2
- package/ts/customers/freedom/updatefreedomtxnstatus.js +2 -2
- package/ts/customers/getaddresslist.js +2 -2
- package/ts/customers/getappsubmittedscreen.js +2 -2
- package/ts/customers/getbankaccountdetails.js +2 -2
- package/ts/customers/getbasicinfo.js +2 -2
- package/ts/customers/getcities.js +2 -2
- package/ts/customers/getclistatus.js +2 -2
- package/ts/customers/getcompanyaccdetails.js +2 -2
- package/ts/customers/getcustomer.d.ts +57 -0
- package/ts/customers/getcustomer.js +351 -0
- package/ts/customers/getcustomerbyid.js +2 -2
- package/ts/customers/getcustomerdetailsbymobile.js +2 -2
- package/ts/customers/getdashboard.js +2 -2
- package/ts/customers/getdashboardmaincard.js +2 -2
- package/ts/customers/getdocuments.js +2 -2
- package/ts/customers/getglobalpopups.js +2 -2
- package/ts/customers/getlimit.js +2 -2
- package/ts/customers/getloclimit.js +2 -2
- package/ts/customers/getmessengermode.js +2 -2
- package/ts/customers/getoccupationlist.js +2 -2
- package/ts/customers/getpaymentoptions.js +2 -2
- package/ts/customers/getprofessionalinfo.js +2 -2
- package/ts/customers/getprofile.js +2 -2
- package/ts/customers/getrecommendedtag.d.ts +35 -0
- package/ts/customers/getrecommendedtag.js +134 -0
- package/ts/customers/getrpdlink.d.ts +40 -0
- package/ts/customers/getrpdlink.js +190 -0
- package/ts/customers/getselfieetxnid.js +2 -2
- package/ts/customers/getstates.js +2 -2
- package/ts/customers/getstep.js +2 -2
- package/ts/customers/getsyncstatus.js +2 -2
- package/ts/customers/getvanumber.js +2 -2
- package/ts/customers/kyc/epfo.d.ts +38 -0
- package/ts/customers/kyc/epfo.js +149 -0
- package/ts/customers/lamf/applylamf.js +2 -2
- package/ts/customers/lamf/sendlamfotp.js +2 -2
- package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
- package/ts/customers/lamf/updatelamfjourney.d.ts +34 -0
- package/ts/customers/lamf/updatelamfjourney.js +104 -0
- package/ts/customers/lamf/verifylamfotp.js +2 -2
- package/ts/customers/lamf/verifylamfpledgeotp.js +2 -2
- package/ts/customers/logout.js +2 -2
- package/ts/customers/pd/getbanklist.js +2 -2
- package/ts/customers/pd/validatebankaccount.js +2 -2
- package/ts/customers/profilebasic.js +2 -2
- package/ts/customers/profileupdatetnc.js +2 -2
- package/ts/customers/resetbanner.js +2 -2
- package/ts/customers/restoreaccount.js +2 -2
- package/ts/customers/rpd/getrpdlink.js +2 -2
- package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
- package/ts/customers/rpd/mockpayment.js +2 -2
- package/ts/customers/saveappslist.js +2 -2
- package/ts/customers/savebasicdetails.js +2 -2
- package/ts/customers/savelimit.js +2 -2
- package/ts/customers/saveunlocklimit.js +2 -2
- package/ts/customers/sendemailtoken.d.ts +35 -0
- package/ts/customers/sendemailtoken.js +117 -0
- package/ts/customers/sendotp.js +2 -2
- package/ts/customers/sendotptoemail.js +2 -2
- package/ts/customers/setmpin.js +2 -2
- package/ts/customers/skipdlrcscreen.d.ts +35 -0
- package/ts/customers/skipdlrcscreen.js +117 -0
- package/ts/customers/skipscreen.js +2 -2
- package/ts/customers/step1.d.ts +69 -0
- package/ts/customers/step1.js +395 -0
- package/ts/customers/step10.d.ts +73 -0
- package/ts/customers/step10.js +459 -0
- package/ts/customers/step2.d.ts +68 -0
- package/ts/customers/step2.js +381 -0
- package/ts/customers/step7.d.ts +68 -0
- package/ts/customers/step7.js +381 -0
- package/ts/customers/step8.d.ts +69 -0
- package/ts/customers/step8.js +395 -0
- package/ts/customers/step9.d.ts +75 -0
- package/ts/customers/step9.js +489 -0
- package/ts/customers/stepstatic.d.ts +66 -0
- package/ts/customers/stepstatic.js +354 -0
- package/ts/customers/submituploadeddocuments.js +2 -2
- package/ts/customers/syncdecisionengine.js +2 -2
- package/ts/customers/updatecategory.js +2 -2
- package/ts/customers/updatecongratulationstep.js +2 -2
- package/ts/customers/updatecustomerbyid.js +2 -2
- package/ts/customers/updatedlnumber.js +2 -2
- package/ts/customers/updatedob.js +2 -2
- package/ts/customers/updatelocstatus.js +2 -2
- package/ts/customers/updatemobilesendotp.js +2 -2
- package/ts/customers/updatemobileverifyotp.js +2 -2
- package/ts/customers/updateokyctxn.js +2 -2
- package/ts/customers/updatesanctionamount.js +2 -2
- package/ts/customers/updateselfieetxn.js +2 -2
- package/ts/customers/updatesyncstatus.js +2 -2
- package/ts/customers/updatevehiclenumber.js +2 -2
- package/ts/customers/uploaddocuments.js +2 -2
- package/ts/customers/validatepan.js +2 -2
- package/ts/customers/verifyemail.d.ts +35 -0
- package/ts/customers/verifyemail.js +117 -0
- package/ts/customers/verifympin.js +2 -2
- package/ts/customers/verifyotp.js +2 -2
- package/ts/customers/verifyotptoemail.js +2 -2
- package/ts/customers.d.ts +238 -238
- package/ts/customers.js +2 -2
- package/ts/decisionengine/decisionengine.d.ts +40 -0
- package/ts/decisionengine/decisionengine.js +191 -0
- package/ts/decisionengine/decisionenginetrigger.js +2 -2
- package/ts/decisionengine/locdisbursalapproval.js +2 -2
- package/ts/decisionengine/saveconsent.js +2 -2
- package/ts/decisionengine.d.ts +6 -6
- package/ts/decisionengine.js +2 -2
- package/ts/deveqxcustomers.d.ts +30 -30
- package/ts/deveqxcustomers.js +2 -2
- package/ts/devupi.d.ts +54 -54
- package/ts/devupi.js +2 -2
- package/ts/documents/getagreement.js +2 -2
- package/ts/documents/getfinancialdoc.js +2 -2
- package/ts/documents.d.ts +4 -4
- package/ts/documents.js +2 -2
- package/ts/eqxcustomer.d.ts +36 -36
- package/ts/eqxcustomer.js +2 -2
- package/ts/eqxcustomers/authenticateuser.d.ts +1 -0
- package/ts/eqxcustomers/authenticateuser.js +24 -3
- package/ts/eqxcustomers/creditguidance.js +2 -2
- package/ts/eqxcustomers/getbankaccount.js +2 -2
- package/ts/eqxcustomers/getcustomerbyid.js +2 -2
- package/ts/eqxcustomers/getcustomerbymobile.js +2 -2
- package/ts/eqxcustomers/getdashboard.js +2 -2
- package/ts/eqxcustomers/getdashboardmaincard.js +2 -2
- package/ts/eqxcustomers/getnotifications.js +2 -2
- package/ts/eqxcustomers/getstashscorecustomerprofile.js +2 -2
- package/ts/eqxcustomers/gettokens.js +2 -2
- package/ts/eqxcustomers/iscustomerregistered.d.ts +1 -0
- package/ts/eqxcustomers/iscustomerregistered.js +20 -4
- package/ts/eqxcustomers/sendotp.js +2 -2
- package/ts/eqxcustomers/updatecustomer.js +2 -2
- package/ts/eqxcustomers/updatenotification.js +2 -2
- package/ts/eqxcustomers/updatepushid.js +2 -2
- package/ts/eqxcustomers/updatesubscriptionstatus.js +2 -2
- package/ts/eqxcustomers/verifyotp.js +2 -2
- package/ts/eqxcustomers/verifytoken.js +2 -2
- package/ts/example.d.ts +4 -4
- package/ts/example.js +2 -2
- package/ts/google/protobuf/struct.d.ts +121 -0
- package/ts/google/protobuf/struct.js +449 -0
- package/ts/google/protobuf/timestamp.d.ts +127 -0
- package/ts/google/protobuf/timestamp.js +97 -0
- 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/getchrpdfurl.js +2 -2
- package/ts/growth/getchrplans.d.ts +49 -0
- package/ts/growth/getchrplans.js +212 -0
- package/ts/growth/getchrreport.d.ts +109 -0
- package/ts/growth/getchrreport.js +800 -0
- package/ts/growth/getchrreportdata.js +2 -2
- package/ts/growth/getchrsubscriptionplan.js +2 -2
- package/ts/growth/getchrvideourl.js +2 -2
- 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/processchrpayment.d.ts +39 -0
- package/ts/growth/processchrpayment.js +177 -0
- package/ts/growth.d.ts +8 -8
- package/ts/growth.js +2 -2
- package/ts/kyc/amldetails.js +2 -2
- package/ts/kyc/authbridgepancomprehend.js +2 -2
- package/ts/kyc/bureauidwhatsapp.js +2 -2
- package/ts/kyc/epfo/fetchUANList.d.ts +35 -0
- package/ts/kyc/epfo/fetchUANList.js +119 -0
- package/ts/kyc/facematch.js +2 -2
- package/ts/kyc/fetchaadhaarbypan.js +2 -2
- package/ts/kyc/fetchemploymenthistory.js +2 -2
- package/ts/kyc/fetchuanlist.js +2 -2
- package/ts/kyc/getselfietxn.d.ts +37 -0
- package/ts/kyc/getselfietxn.js +161 -0
- package/ts/kyc/getselfietxnid.js +2 -2
- package/ts/kyc/getselfieurl.js +2 -2
- package/ts/kyc/nsdlpanvalidate.js +2 -2
- package/ts/kyc.d.ts +20 -20
- package/ts/kyc.js +2 -2
- package/ts/lamf/getloandetails.js +2 -2
- package/ts/lamf/submitotp.js +2 -2
- package/ts/lamf/validateuser.js +2 -2
- package/ts/lamf.d.ts +6 -6
- package/ts/lamf.js +2 -2
- package/ts/loans/addreference.js +2 -2
- package/ts/loans/addrefrences.d.ts +49 -0
- package/ts/loans/addrefrences.js +229 -0
- package/ts/loans/amortization.js +2 -2
- package/ts/loans/approveloan.js +2 -2
- package/ts/loans/banklist.js +2 -2
- package/ts/loans/calculateemi.js +2 -2
- package/ts/loans/cbloan.js +2 -2
- package/ts/loans/createlamfloan.js +2 -2
- package/ts/loans/createpenalty.js +2 -2
- package/ts/loans/creditlimit.js +2 -2
- package/ts/loans/emimoredetails.js +2 -2
- package/ts/loans/fcppayment.js +2 -2
- package/ts/loans/forecloseamount.d.ts +36 -0
- package/ts/loans/forecloseamount.js +133 -0
- package/ts/loans/foreclosepayment.js +2 -2
- package/ts/loans/futurepaymentmoredetails.d.ts +51 -0
- package/ts/loans/futurepaymentmoredetails.js +243 -0
- package/ts/loans/getaddonslist.js +2 -2
- package/ts/loans/getbankdetails.js +2 -2
- package/ts/loans/getbilldetails.js +2 -2
- package/ts/loans/getcbloandetails.js +2 -2
- package/ts/loans/getchrdetails.js +2 -2
- package/ts/loans/getcustomerloanstatus.js +2 -2
- package/ts/loans/getforecloseamount.js +2 -2
- package/ts/loans/getloanbyid.js +2 -2
- package/ts/loans/getlocconfirms.js +2 -2
- package/ts/loans/getlocdetails.js +2 -2
- package/ts/loans/getlocdisburse.js +2 -2
- package/ts/loans/getlocpartnerconfirm.d.ts +46 -0
- package/ts/loans/getlocpartnerconfirm.js +287 -0
- package/ts/loans/getlocpartnertenure.d.ts +57 -0
- package/ts/loans/getlocpartnertenure.js +339 -0
- package/ts/loans/getloctenure.js +2 -2
- package/ts/loans/getlocwithdraw.js +2 -2
- package/ts/loans/getlocwithdrawform.js +2 -2
- package/ts/loans/getnextdueamount.js +2 -2
- package/ts/loans/getpartnerlocwithdraw.d.ts +111 -0
- package/ts/loans/getpartnerlocwithdraw.js +1289 -0
- package/ts/loans/getpaymentoptions.js +2 -2
- package/ts/loans/getpendingemiamount.js +2 -2
- package/ts/loans/getsetubilldetails.js +2 -2
- package/ts/loans/getsummarystaticfields.js +2 -2
- package/ts/loans/gettransactionstatus.js +2 -2
- package/ts/loans/getusedlimit.js +2 -2
- package/ts/loans/getvirtualbankinfo.js +2 -2
- package/ts/loans/loansummary.js +2 -2
- package/ts/loans/locrequested.js +2 -2
- package/ts/loans/manualpaymentallocation.js +2 -2
- package/ts/loans/paymentallocation.js +2 -2
- package/ts/loans/paymenthistory.js +2 -2
- package/ts/loans/paynow.js +2 -2
- package/ts/loans/refund.js +2 -2
- package/ts/loans/restructureloan.js +2 -2
- package/ts/loans/rollback.js +2 -2
- package/ts/loans/rollbackextrapayment.d.ts +37 -0
- package/ts/loans/rollbackextrapayment.js +149 -0
- package/ts/loans/sendemail.js +2 -2
- package/ts/loans/sendnocemail.js +2 -2
- package/ts/loans/transactionlist.js +2 -2
- package/ts/loans/updatecollectionview.js +2 -2
- package/ts/loans/updateinstallments.js +2 -2
- package/ts/loans/updateloan.js +2 -2
- package/ts/loans/updatetransactionstatus.js +2 -2
- package/ts/loans.d.ts +100 -100
- package/ts/loans.js +2 -2
- package/ts/payments/checkpaymentstatus.js +2 -2
- package/ts/payments/fundtransfer.js +2 -2
- package/ts/payments/getpaymentoptions.js +2 -2
- package/ts/payments/initiatepayment.js +2 -2
- package/ts/payments/nachpresentation.js +2 -2
- package/ts/payments/nachregistration.js +2 -2
- package/ts/payments.d.ts +12 -12
- package/ts/payments.js +2 -2
- package/ts/paymentsnode.d.ts +12 -12
- package/ts/paymentsnode.js +2 -2
- package/ts/rewards/getoffers.js +2 -2
- package/ts/rewards/redeemoffer.js +2 -2
- package/ts/rewards.d.ts +4 -4
- package/ts/rewards.js +2 -2
- package/ts/stashcash/creditsc.js +2 -2
- package/ts/stashcash/debitsc.js +2 -2
- package/ts/stashcash/getscbalance.js +2 -2
- 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.js +2 -2
- package/ts/upi/addupinumber.d.ts +39 -0
- package/ts/upi/addupinumber.js +177 -0
- package/ts/upi/addvpa.d.ts +36 -0
- package/ts/upi/addvpa.js +133 -0
- package/ts/upi/blockvpa.js +2 -2
- package/ts/upi/checkderegisterpermission.js +2 -2
- package/ts/upi/checktransactionstatus.js +2 -2
- package/ts/upi/declinemandate.js +2 -2
- package/ts/upi/deregisterprofile.js +2 -2
- package/ts/upi/getaccountsbyprovider.js +2 -2
- package/ts/upi/getallmandates.js +2 -2
- package/ts/upi/getavailablevpa.js +2 -2
- package/ts/upi/getlistedaccountproviders.js +2 -2
- package/ts/upi/getmandatedetails.js +2 -2
- package/ts/upi/getmandatehistory.js +2 -2
- package/ts/upi/getpendingcollectrequest.js +2 -2
- package/ts/upi/getprofile.js +2 -2
- package/ts/upi/getrecentcontacts.js +2 -2
- package/ts/upi/gettransactions.js +2 -2
- package/ts/upi/getupinumbers.js +2 -2
- package/ts/upi/initiatemandateaction.js +2 -2
- package/ts/upi/initiatetransaction.js +2 -2
- package/ts/upi/listblockedvpa.js +2 -2
- package/ts/upi/suggestvpa.d.ts +35 -0
- package/ts/upi/suggestvpa.js +122 -0
- package/ts/upi/unblockvpa.js +2 -2
- package/ts/upi/updatedevicebinding.js +2 -2
- package/ts/upi/updatedevicelinking.d.ts +49 -0
- package/ts/upi/updatedevicelinking.js +332 -0
- package/ts/upi/upinumberoperations.js +2 -2
- package/ts/upi/validateifsc.js +2 -2
- package/ts/upi/validatevpa.js +2 -2
- package/ts/upi.d.ts +54 -54
- package/ts/upi.js +2 -2
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.29.3
|
|
6
|
+
// source: loans/getlocpartnerconfirm.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.GetLocPartnerConfirmResponse = exports.GetLocPartnerConfirmRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.getlocpartnerconfirm";
|
|
15
|
+
function createBaseGetLocPartnerConfirmRequest() {
|
|
16
|
+
return {
|
|
17
|
+
amount: 0,
|
|
18
|
+
tenure: 0,
|
|
19
|
+
is_fip: false,
|
|
20
|
+
credit_report_fees: 0,
|
|
21
|
+
early_foreclosure_fee: 0,
|
|
22
|
+
is_fcp: false,
|
|
23
|
+
txn_id: "",
|
|
24
|
+
max_amount: 0,
|
|
25
|
+
gateway_fees: undefined,
|
|
26
|
+
plan_id: 0,
|
|
27
|
+
gateway_type: "",
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
exports.GetLocPartnerConfirmRequest = {
|
|
31
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
32
|
+
if (message.amount !== 0) {
|
|
33
|
+
writer.uint32(9).double(message.amount);
|
|
34
|
+
}
|
|
35
|
+
if (message.tenure !== 0) {
|
|
36
|
+
writer.uint32(16).int32(message.tenure);
|
|
37
|
+
}
|
|
38
|
+
if (message.is_fip !== false) {
|
|
39
|
+
writer.uint32(24).bool(message.is_fip);
|
|
40
|
+
}
|
|
41
|
+
if (message.credit_report_fees !== 0) {
|
|
42
|
+
writer.uint32(33).double(message.credit_report_fees);
|
|
43
|
+
}
|
|
44
|
+
if (message.early_foreclosure_fee !== 0) {
|
|
45
|
+
writer.uint32(41).double(message.early_foreclosure_fee);
|
|
46
|
+
}
|
|
47
|
+
if (message.is_fcp !== false) {
|
|
48
|
+
writer.uint32(48).bool(message.is_fcp);
|
|
49
|
+
}
|
|
50
|
+
if (message.txn_id !== "") {
|
|
51
|
+
writer.uint32(58).string(message.txn_id);
|
|
52
|
+
}
|
|
53
|
+
if (message.max_amount !== 0) {
|
|
54
|
+
writer.uint32(65).double(message.max_amount);
|
|
55
|
+
}
|
|
56
|
+
if (message.gateway_fees !== undefined) {
|
|
57
|
+
writer.uint32(73).double(message.gateway_fees);
|
|
58
|
+
}
|
|
59
|
+
if (message.plan_id !== 0) {
|
|
60
|
+
writer.uint32(80).int32(message.plan_id);
|
|
61
|
+
}
|
|
62
|
+
if (message.gateway_type !== "") {
|
|
63
|
+
writer.uint32(90).string(message.gateway_type);
|
|
64
|
+
}
|
|
65
|
+
return writer;
|
|
66
|
+
},
|
|
67
|
+
decode(input, length) {
|
|
68
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
69
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
70
|
+
const message = createBaseGetLocPartnerConfirmRequest();
|
|
71
|
+
while (reader.pos < end) {
|
|
72
|
+
const tag = reader.uint32();
|
|
73
|
+
switch (tag >>> 3) {
|
|
74
|
+
case 1:
|
|
75
|
+
if (tag !== 9) {
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
message.amount = reader.double();
|
|
79
|
+
continue;
|
|
80
|
+
case 2:
|
|
81
|
+
if (tag !== 16) {
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
message.tenure = reader.int32();
|
|
85
|
+
continue;
|
|
86
|
+
case 3:
|
|
87
|
+
if (tag !== 24) {
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
message.is_fip = reader.bool();
|
|
91
|
+
continue;
|
|
92
|
+
case 4:
|
|
93
|
+
if (tag !== 33) {
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
message.credit_report_fees = reader.double();
|
|
97
|
+
continue;
|
|
98
|
+
case 5:
|
|
99
|
+
if (tag !== 41) {
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
message.early_foreclosure_fee = reader.double();
|
|
103
|
+
continue;
|
|
104
|
+
case 6:
|
|
105
|
+
if (tag !== 48) {
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
message.is_fcp = reader.bool();
|
|
109
|
+
continue;
|
|
110
|
+
case 7:
|
|
111
|
+
if (tag !== 58) {
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
message.txn_id = reader.string();
|
|
115
|
+
continue;
|
|
116
|
+
case 8:
|
|
117
|
+
if (tag !== 65) {
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
message.max_amount = reader.double();
|
|
121
|
+
continue;
|
|
122
|
+
case 9:
|
|
123
|
+
if (tag !== 73) {
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
message.gateway_fees = reader.double();
|
|
127
|
+
continue;
|
|
128
|
+
case 10:
|
|
129
|
+
if (tag !== 80) {
|
|
130
|
+
break;
|
|
131
|
+
}
|
|
132
|
+
message.plan_id = reader.int32();
|
|
133
|
+
continue;
|
|
134
|
+
case 11:
|
|
135
|
+
if (tag !== 90) {
|
|
136
|
+
break;
|
|
137
|
+
}
|
|
138
|
+
message.gateway_type = reader.string();
|
|
139
|
+
continue;
|
|
140
|
+
}
|
|
141
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
142
|
+
break;
|
|
143
|
+
}
|
|
144
|
+
reader.skipType(tag & 7);
|
|
145
|
+
}
|
|
146
|
+
return message;
|
|
147
|
+
},
|
|
148
|
+
fromJSON(object) {
|
|
149
|
+
return {
|
|
150
|
+
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
151
|
+
tenure: isSet(object.tenure) ? globalThis.Number(object.tenure) : 0,
|
|
152
|
+
is_fip: isSet(object.is_fip) ? globalThis.Boolean(object.is_fip) : false,
|
|
153
|
+
credit_report_fees: isSet(object.credit_report_fees) ? globalThis.Number(object.credit_report_fees) : 0,
|
|
154
|
+
early_foreclosure_fee: isSet(object.early_foreclosure_fee) ? globalThis.Number(object.early_foreclosure_fee) : 0,
|
|
155
|
+
is_fcp: isSet(object.is_fcp) ? globalThis.Boolean(object.is_fcp) : false,
|
|
156
|
+
txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
|
|
157
|
+
max_amount: isSet(object.max_amount) ? globalThis.Number(object.max_amount) : 0,
|
|
158
|
+
gateway_fees: isSet(object.gateway_fees) ? globalThis.Number(object.gateway_fees) : undefined,
|
|
159
|
+
plan_id: isSet(object.plan_id) ? globalThis.Number(object.plan_id) : 0,
|
|
160
|
+
gateway_type: isSet(object.gateway_type) ? globalThis.String(object.gateway_type) : "",
|
|
161
|
+
};
|
|
162
|
+
},
|
|
163
|
+
toJSON(message) {
|
|
164
|
+
const obj = {};
|
|
165
|
+
if (message.amount !== 0) {
|
|
166
|
+
obj.amount = message.amount;
|
|
167
|
+
}
|
|
168
|
+
if (message.tenure !== 0) {
|
|
169
|
+
obj.tenure = Math.round(message.tenure);
|
|
170
|
+
}
|
|
171
|
+
if (message.is_fip !== false) {
|
|
172
|
+
obj.is_fip = message.is_fip;
|
|
173
|
+
}
|
|
174
|
+
if (message.credit_report_fees !== 0) {
|
|
175
|
+
obj.credit_report_fees = message.credit_report_fees;
|
|
176
|
+
}
|
|
177
|
+
if (message.early_foreclosure_fee !== 0) {
|
|
178
|
+
obj.early_foreclosure_fee = message.early_foreclosure_fee;
|
|
179
|
+
}
|
|
180
|
+
if (message.is_fcp !== false) {
|
|
181
|
+
obj.is_fcp = message.is_fcp;
|
|
182
|
+
}
|
|
183
|
+
if (message.txn_id !== "") {
|
|
184
|
+
obj.txn_id = message.txn_id;
|
|
185
|
+
}
|
|
186
|
+
if (message.max_amount !== 0) {
|
|
187
|
+
obj.max_amount = message.max_amount;
|
|
188
|
+
}
|
|
189
|
+
if (message.gateway_fees !== undefined) {
|
|
190
|
+
obj.gateway_fees = message.gateway_fees;
|
|
191
|
+
}
|
|
192
|
+
if (message.plan_id !== 0) {
|
|
193
|
+
obj.plan_id = Math.round(message.plan_id);
|
|
194
|
+
}
|
|
195
|
+
if (message.gateway_type !== "") {
|
|
196
|
+
obj.gateway_type = message.gateway_type;
|
|
197
|
+
}
|
|
198
|
+
return obj;
|
|
199
|
+
},
|
|
200
|
+
create(base) {
|
|
201
|
+
return exports.GetLocPartnerConfirmRequest.fromPartial(base ?? {});
|
|
202
|
+
},
|
|
203
|
+
fromPartial(object) {
|
|
204
|
+
const message = createBaseGetLocPartnerConfirmRequest();
|
|
205
|
+
message.amount = object.amount ?? 0;
|
|
206
|
+
message.tenure = object.tenure ?? 0;
|
|
207
|
+
message.is_fip = object.is_fip ?? false;
|
|
208
|
+
message.credit_report_fees = object.credit_report_fees ?? 0;
|
|
209
|
+
message.early_foreclosure_fee = object.early_foreclosure_fee ?? 0;
|
|
210
|
+
message.is_fcp = object.is_fcp ?? false;
|
|
211
|
+
message.txn_id = object.txn_id ?? "";
|
|
212
|
+
message.max_amount = object.max_amount ?? 0;
|
|
213
|
+
message.gateway_fees = object.gateway_fees ?? undefined;
|
|
214
|
+
message.plan_id = object.plan_id ?? 0;
|
|
215
|
+
message.gateway_type = object.gateway_type ?? "";
|
|
216
|
+
return message;
|
|
217
|
+
},
|
|
218
|
+
};
|
|
219
|
+
function createBaseGetLocPartnerConfirmResponse() {
|
|
220
|
+
return { msg: "", status: "" };
|
|
221
|
+
}
|
|
222
|
+
exports.GetLocPartnerConfirmResponse = {
|
|
223
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
224
|
+
if (message.msg !== "") {
|
|
225
|
+
writer.uint32(10).string(message.msg);
|
|
226
|
+
}
|
|
227
|
+
if (message.status !== "") {
|
|
228
|
+
writer.uint32(18).string(message.status);
|
|
229
|
+
}
|
|
230
|
+
return writer;
|
|
231
|
+
},
|
|
232
|
+
decode(input, length) {
|
|
233
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
234
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
235
|
+
const message = createBaseGetLocPartnerConfirmResponse();
|
|
236
|
+
while (reader.pos < end) {
|
|
237
|
+
const tag = reader.uint32();
|
|
238
|
+
switch (tag >>> 3) {
|
|
239
|
+
case 1:
|
|
240
|
+
if (tag !== 10) {
|
|
241
|
+
break;
|
|
242
|
+
}
|
|
243
|
+
message.msg = reader.string();
|
|
244
|
+
continue;
|
|
245
|
+
case 2:
|
|
246
|
+
if (tag !== 18) {
|
|
247
|
+
break;
|
|
248
|
+
}
|
|
249
|
+
message.status = reader.string();
|
|
250
|
+
continue;
|
|
251
|
+
}
|
|
252
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
253
|
+
break;
|
|
254
|
+
}
|
|
255
|
+
reader.skipType(tag & 7);
|
|
256
|
+
}
|
|
257
|
+
return message;
|
|
258
|
+
},
|
|
259
|
+
fromJSON(object) {
|
|
260
|
+
return {
|
|
261
|
+
msg: isSet(object.msg) ? globalThis.String(object.msg) : "",
|
|
262
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
263
|
+
};
|
|
264
|
+
},
|
|
265
|
+
toJSON(message) {
|
|
266
|
+
const obj = {};
|
|
267
|
+
if (message.msg !== "") {
|
|
268
|
+
obj.msg = message.msg;
|
|
269
|
+
}
|
|
270
|
+
if (message.status !== "") {
|
|
271
|
+
obj.status = message.status;
|
|
272
|
+
}
|
|
273
|
+
return obj;
|
|
274
|
+
},
|
|
275
|
+
create(base) {
|
|
276
|
+
return exports.GetLocPartnerConfirmResponse.fromPartial(base ?? {});
|
|
277
|
+
},
|
|
278
|
+
fromPartial(object) {
|
|
279
|
+
const message = createBaseGetLocPartnerConfirmResponse();
|
|
280
|
+
message.msg = object.msg ?? "";
|
|
281
|
+
message.status = object.status ?? "";
|
|
282
|
+
return message;
|
|
283
|
+
},
|
|
284
|
+
};
|
|
285
|
+
function isSet(value) {
|
|
286
|
+
return value !== null && value !== undefined;
|
|
287
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.getlocpartnertenure";
|
|
3
|
+
export interface GetLocPartnerTenureRequest {
|
|
4
|
+
amount: number;
|
|
5
|
+
}
|
|
6
|
+
export interface TenureDetail {
|
|
7
|
+
tenure: number;
|
|
8
|
+
expected_emi_amount: number;
|
|
9
|
+
}
|
|
10
|
+
export interface GetLocPartnerTenureResponse {
|
|
11
|
+
amount: number;
|
|
12
|
+
bill_date: string;
|
|
13
|
+
min_tenure: number;
|
|
14
|
+
max_tenure: number;
|
|
15
|
+
msg?: string | undefined;
|
|
16
|
+
first_emi_date: string;
|
|
17
|
+
fcp_fee: number;
|
|
18
|
+
fcp_interest: number;
|
|
19
|
+
tenure_details: TenureDetail[];
|
|
20
|
+
is_fip: boolean;
|
|
21
|
+
amount_grossup: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const GetLocPartnerTenureRequest: {
|
|
24
|
+
encode(message: GetLocPartnerTenureRequest, writer?: _m0.Writer): _m0.Writer;
|
|
25
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GetLocPartnerTenureRequest;
|
|
26
|
+
fromJSON(object: any): GetLocPartnerTenureRequest;
|
|
27
|
+
toJSON(message: GetLocPartnerTenureRequest): unknown;
|
|
28
|
+
create<I extends Exact<DeepPartial<GetLocPartnerTenureRequest>, I>>(base?: I): GetLocPartnerTenureRequest;
|
|
29
|
+
fromPartial<I extends Exact<DeepPartial<GetLocPartnerTenureRequest>, I>>(object: I): GetLocPartnerTenureRequest;
|
|
30
|
+
};
|
|
31
|
+
export declare const TenureDetail: {
|
|
32
|
+
encode(message: TenureDetail, writer?: _m0.Writer): _m0.Writer;
|
|
33
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TenureDetail;
|
|
34
|
+
fromJSON(object: any): TenureDetail;
|
|
35
|
+
toJSON(message: TenureDetail): unknown;
|
|
36
|
+
create<I extends Exact<DeepPartial<TenureDetail>, I>>(base?: I): TenureDetail;
|
|
37
|
+
fromPartial<I extends Exact<DeepPartial<TenureDetail>, I>>(object: I): TenureDetail;
|
|
38
|
+
};
|
|
39
|
+
export declare const GetLocPartnerTenureResponse: {
|
|
40
|
+
encode(message: GetLocPartnerTenureResponse, writer?: _m0.Writer): _m0.Writer;
|
|
41
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GetLocPartnerTenureResponse;
|
|
42
|
+
fromJSON(object: any): GetLocPartnerTenureResponse;
|
|
43
|
+
toJSON(message: GetLocPartnerTenureResponse): unknown;
|
|
44
|
+
create<I extends Exact<DeepPartial<GetLocPartnerTenureResponse>, I>>(base?: I): GetLocPartnerTenureResponse;
|
|
45
|
+
fromPartial<I extends Exact<DeepPartial<GetLocPartnerTenureResponse>, I>>(object: I): GetLocPartnerTenureResponse;
|
|
46
|
+
};
|
|
47
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
48
|
+
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 {} ? {
|
|
49
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
50
|
+
} : Partial<T>;
|
|
51
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
52
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
53
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
54
|
+
} & {
|
|
55
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
56
|
+
};
|
|
57
|
+
export {};
|
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.29.3
|
|
6
|
+
// source: loans/getlocpartnertenure.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.GetLocPartnerTenureResponse = exports.TenureDetail = exports.GetLocPartnerTenureRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.getlocpartnertenure";
|
|
15
|
+
function createBaseGetLocPartnerTenureRequest() {
|
|
16
|
+
return { amount: 0 };
|
|
17
|
+
}
|
|
18
|
+
exports.GetLocPartnerTenureRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.amount !== 0) {
|
|
21
|
+
writer.uint32(16).int32(message.amount);
|
|
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 = createBaseGetLocPartnerTenureRequest();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 2:
|
|
33
|
+
if (tag !== 16) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.amount = reader.int32();
|
|
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 { amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0 };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.amount !== 0) {
|
|
52
|
+
obj.amount = Math.round(message.amount);
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.GetLocPartnerTenureRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBaseGetLocPartnerTenureRequest();
|
|
61
|
+
message.amount = object.amount ?? 0;
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBaseTenureDetail() {
|
|
66
|
+
return { tenure: 0, expected_emi_amount: 0 };
|
|
67
|
+
}
|
|
68
|
+
exports.TenureDetail = {
|
|
69
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
+
if (message.tenure !== 0) {
|
|
71
|
+
writer.uint32(8).int32(message.tenure);
|
|
72
|
+
}
|
|
73
|
+
if (message.expected_emi_amount !== 0) {
|
|
74
|
+
writer.uint32(16).int32(message.expected_emi_amount);
|
|
75
|
+
}
|
|
76
|
+
return writer;
|
|
77
|
+
},
|
|
78
|
+
decode(input, length) {
|
|
79
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
80
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
81
|
+
const message = createBaseTenureDetail();
|
|
82
|
+
while (reader.pos < end) {
|
|
83
|
+
const tag = reader.uint32();
|
|
84
|
+
switch (tag >>> 3) {
|
|
85
|
+
case 1:
|
|
86
|
+
if (tag !== 8) {
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
message.tenure = reader.int32();
|
|
90
|
+
continue;
|
|
91
|
+
case 2:
|
|
92
|
+
if (tag !== 16) {
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
message.expected_emi_amount = reader.int32();
|
|
96
|
+
continue;
|
|
97
|
+
}
|
|
98
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
reader.skipType(tag & 7);
|
|
102
|
+
}
|
|
103
|
+
return message;
|
|
104
|
+
},
|
|
105
|
+
fromJSON(object) {
|
|
106
|
+
return {
|
|
107
|
+
tenure: isSet(object.tenure) ? globalThis.Number(object.tenure) : 0,
|
|
108
|
+
expected_emi_amount: isSet(object.expected_emi_amount) ? globalThis.Number(object.expected_emi_amount) : 0,
|
|
109
|
+
};
|
|
110
|
+
},
|
|
111
|
+
toJSON(message) {
|
|
112
|
+
const obj = {};
|
|
113
|
+
if (message.tenure !== 0) {
|
|
114
|
+
obj.tenure = Math.round(message.tenure);
|
|
115
|
+
}
|
|
116
|
+
if (message.expected_emi_amount !== 0) {
|
|
117
|
+
obj.expected_emi_amount = Math.round(message.expected_emi_amount);
|
|
118
|
+
}
|
|
119
|
+
return obj;
|
|
120
|
+
},
|
|
121
|
+
create(base) {
|
|
122
|
+
return exports.TenureDetail.fromPartial(base ?? {});
|
|
123
|
+
},
|
|
124
|
+
fromPartial(object) {
|
|
125
|
+
const message = createBaseTenureDetail();
|
|
126
|
+
message.tenure = object.tenure ?? 0;
|
|
127
|
+
message.expected_emi_amount = object.expected_emi_amount ?? 0;
|
|
128
|
+
return message;
|
|
129
|
+
},
|
|
130
|
+
};
|
|
131
|
+
function createBaseGetLocPartnerTenureResponse() {
|
|
132
|
+
return {
|
|
133
|
+
amount: 0,
|
|
134
|
+
bill_date: "",
|
|
135
|
+
min_tenure: 0,
|
|
136
|
+
max_tenure: 0,
|
|
137
|
+
msg: undefined,
|
|
138
|
+
first_emi_date: "",
|
|
139
|
+
fcp_fee: 0,
|
|
140
|
+
fcp_interest: 0,
|
|
141
|
+
tenure_details: [],
|
|
142
|
+
is_fip: false,
|
|
143
|
+
amount_grossup: "",
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
exports.GetLocPartnerTenureResponse = {
|
|
147
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
148
|
+
if (message.amount !== 0) {
|
|
149
|
+
writer.uint32(8).int32(message.amount);
|
|
150
|
+
}
|
|
151
|
+
if (message.bill_date !== "") {
|
|
152
|
+
writer.uint32(18).string(message.bill_date);
|
|
153
|
+
}
|
|
154
|
+
if (message.min_tenure !== 0) {
|
|
155
|
+
writer.uint32(24).int32(message.min_tenure);
|
|
156
|
+
}
|
|
157
|
+
if (message.max_tenure !== 0) {
|
|
158
|
+
writer.uint32(32).int32(message.max_tenure);
|
|
159
|
+
}
|
|
160
|
+
if (message.msg !== undefined) {
|
|
161
|
+
writer.uint32(42).string(message.msg);
|
|
162
|
+
}
|
|
163
|
+
if (message.first_emi_date !== "") {
|
|
164
|
+
writer.uint32(50).string(message.first_emi_date);
|
|
165
|
+
}
|
|
166
|
+
if (message.fcp_fee !== 0) {
|
|
167
|
+
writer.uint32(56).int32(message.fcp_fee);
|
|
168
|
+
}
|
|
169
|
+
if (message.fcp_interest !== 0) {
|
|
170
|
+
writer.uint32(64).int32(message.fcp_interest);
|
|
171
|
+
}
|
|
172
|
+
for (const v of message.tenure_details) {
|
|
173
|
+
exports.TenureDetail.encode(v, writer.uint32(74).fork()).ldelim();
|
|
174
|
+
}
|
|
175
|
+
if (message.is_fip !== false) {
|
|
176
|
+
writer.uint32(80).bool(message.is_fip);
|
|
177
|
+
}
|
|
178
|
+
if (message.amount_grossup !== "") {
|
|
179
|
+
writer.uint32(90).string(message.amount_grossup);
|
|
180
|
+
}
|
|
181
|
+
return writer;
|
|
182
|
+
},
|
|
183
|
+
decode(input, length) {
|
|
184
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
185
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
186
|
+
const message = createBaseGetLocPartnerTenureResponse();
|
|
187
|
+
while (reader.pos < end) {
|
|
188
|
+
const tag = reader.uint32();
|
|
189
|
+
switch (tag >>> 3) {
|
|
190
|
+
case 1:
|
|
191
|
+
if (tag !== 8) {
|
|
192
|
+
break;
|
|
193
|
+
}
|
|
194
|
+
message.amount = reader.int32();
|
|
195
|
+
continue;
|
|
196
|
+
case 2:
|
|
197
|
+
if (tag !== 18) {
|
|
198
|
+
break;
|
|
199
|
+
}
|
|
200
|
+
message.bill_date = reader.string();
|
|
201
|
+
continue;
|
|
202
|
+
case 3:
|
|
203
|
+
if (tag !== 24) {
|
|
204
|
+
break;
|
|
205
|
+
}
|
|
206
|
+
message.min_tenure = reader.int32();
|
|
207
|
+
continue;
|
|
208
|
+
case 4:
|
|
209
|
+
if (tag !== 32) {
|
|
210
|
+
break;
|
|
211
|
+
}
|
|
212
|
+
message.max_tenure = reader.int32();
|
|
213
|
+
continue;
|
|
214
|
+
case 5:
|
|
215
|
+
if (tag !== 42) {
|
|
216
|
+
break;
|
|
217
|
+
}
|
|
218
|
+
message.msg = reader.string();
|
|
219
|
+
continue;
|
|
220
|
+
case 6:
|
|
221
|
+
if (tag !== 50) {
|
|
222
|
+
break;
|
|
223
|
+
}
|
|
224
|
+
message.first_emi_date = reader.string();
|
|
225
|
+
continue;
|
|
226
|
+
case 7:
|
|
227
|
+
if (tag !== 56) {
|
|
228
|
+
break;
|
|
229
|
+
}
|
|
230
|
+
message.fcp_fee = reader.int32();
|
|
231
|
+
continue;
|
|
232
|
+
case 8:
|
|
233
|
+
if (tag !== 64) {
|
|
234
|
+
break;
|
|
235
|
+
}
|
|
236
|
+
message.fcp_interest = reader.int32();
|
|
237
|
+
continue;
|
|
238
|
+
case 9:
|
|
239
|
+
if (tag !== 74) {
|
|
240
|
+
break;
|
|
241
|
+
}
|
|
242
|
+
message.tenure_details.push(exports.TenureDetail.decode(reader, reader.uint32()));
|
|
243
|
+
continue;
|
|
244
|
+
case 10:
|
|
245
|
+
if (tag !== 80) {
|
|
246
|
+
break;
|
|
247
|
+
}
|
|
248
|
+
message.is_fip = reader.bool();
|
|
249
|
+
continue;
|
|
250
|
+
case 11:
|
|
251
|
+
if (tag !== 90) {
|
|
252
|
+
break;
|
|
253
|
+
}
|
|
254
|
+
message.amount_grossup = reader.string();
|
|
255
|
+
continue;
|
|
256
|
+
}
|
|
257
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
258
|
+
break;
|
|
259
|
+
}
|
|
260
|
+
reader.skipType(tag & 7);
|
|
261
|
+
}
|
|
262
|
+
return message;
|
|
263
|
+
},
|
|
264
|
+
fromJSON(object) {
|
|
265
|
+
return {
|
|
266
|
+
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
267
|
+
bill_date: isSet(object.bill_date) ? globalThis.String(object.bill_date) : "",
|
|
268
|
+
min_tenure: isSet(object.min_tenure) ? globalThis.Number(object.min_tenure) : 0,
|
|
269
|
+
max_tenure: isSet(object.max_tenure) ? globalThis.Number(object.max_tenure) : 0,
|
|
270
|
+
msg: isSet(object.msg) ? globalThis.String(object.msg) : undefined,
|
|
271
|
+
first_emi_date: isSet(object.first_emi_date) ? globalThis.String(object.first_emi_date) : "",
|
|
272
|
+
fcp_fee: isSet(object.fcp_fee) ? globalThis.Number(object.fcp_fee) : 0,
|
|
273
|
+
fcp_interest: isSet(object.fcp_interest) ? globalThis.Number(object.fcp_interest) : 0,
|
|
274
|
+
tenure_details: globalThis.Array.isArray(object?.tenure_details)
|
|
275
|
+
? object.tenure_details.map((e) => exports.TenureDetail.fromJSON(e))
|
|
276
|
+
: [],
|
|
277
|
+
is_fip: isSet(object.is_fip) ? globalThis.Boolean(object.is_fip) : false,
|
|
278
|
+
amount_grossup: isSet(object.amount_grossup) ? globalThis.String(object.amount_grossup) : "",
|
|
279
|
+
};
|
|
280
|
+
},
|
|
281
|
+
toJSON(message) {
|
|
282
|
+
const obj = {};
|
|
283
|
+
if (message.amount !== 0) {
|
|
284
|
+
obj.amount = Math.round(message.amount);
|
|
285
|
+
}
|
|
286
|
+
if (message.bill_date !== "") {
|
|
287
|
+
obj.bill_date = message.bill_date;
|
|
288
|
+
}
|
|
289
|
+
if (message.min_tenure !== 0) {
|
|
290
|
+
obj.min_tenure = Math.round(message.min_tenure);
|
|
291
|
+
}
|
|
292
|
+
if (message.max_tenure !== 0) {
|
|
293
|
+
obj.max_tenure = Math.round(message.max_tenure);
|
|
294
|
+
}
|
|
295
|
+
if (message.msg !== undefined) {
|
|
296
|
+
obj.msg = message.msg;
|
|
297
|
+
}
|
|
298
|
+
if (message.first_emi_date !== "") {
|
|
299
|
+
obj.first_emi_date = message.first_emi_date;
|
|
300
|
+
}
|
|
301
|
+
if (message.fcp_fee !== 0) {
|
|
302
|
+
obj.fcp_fee = Math.round(message.fcp_fee);
|
|
303
|
+
}
|
|
304
|
+
if (message.fcp_interest !== 0) {
|
|
305
|
+
obj.fcp_interest = Math.round(message.fcp_interest);
|
|
306
|
+
}
|
|
307
|
+
if (message.tenure_details?.length) {
|
|
308
|
+
obj.tenure_details = message.tenure_details.map((e) => exports.TenureDetail.toJSON(e));
|
|
309
|
+
}
|
|
310
|
+
if (message.is_fip !== false) {
|
|
311
|
+
obj.is_fip = message.is_fip;
|
|
312
|
+
}
|
|
313
|
+
if (message.amount_grossup !== "") {
|
|
314
|
+
obj.amount_grossup = message.amount_grossup;
|
|
315
|
+
}
|
|
316
|
+
return obj;
|
|
317
|
+
},
|
|
318
|
+
create(base) {
|
|
319
|
+
return exports.GetLocPartnerTenureResponse.fromPartial(base ?? {});
|
|
320
|
+
},
|
|
321
|
+
fromPartial(object) {
|
|
322
|
+
const message = createBaseGetLocPartnerTenureResponse();
|
|
323
|
+
message.amount = object.amount ?? 0;
|
|
324
|
+
message.bill_date = object.bill_date ?? "";
|
|
325
|
+
message.min_tenure = object.min_tenure ?? 0;
|
|
326
|
+
message.max_tenure = object.max_tenure ?? 0;
|
|
327
|
+
message.msg = object.msg ?? undefined;
|
|
328
|
+
message.first_emi_date = object.first_emi_date ?? "";
|
|
329
|
+
message.fcp_fee = object.fcp_fee ?? 0;
|
|
330
|
+
message.fcp_interest = object.fcp_interest ?? 0;
|
|
331
|
+
message.tenure_details = object.tenure_details?.map((e) => exports.TenureDetail.fromPartial(e)) || [];
|
|
332
|
+
message.is_fip = object.is_fip ?? false;
|
|
333
|
+
message.amount_grossup = object.amount_grossup ?? "";
|
|
334
|
+
return message;
|
|
335
|
+
},
|
|
336
|
+
};
|
|
337
|
+
function isSet(value) {
|
|
338
|
+
return value !== null && value !== undefined;
|
|
339
|
+
}
|
package/ts/loans/getloctenure.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
5
|
-
// protoc
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v6.30.2
|
|
6
6
|
// source: loans/getloctenure.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|