@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,617 @@
|
|
|
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 v6.30.1
|
|
6
|
+
// source: growth/getcredithealthreport.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.credithealthreportresponse = exports.chrdatawrapper = exports.chrdata_referandearn = exports.chrdata_recommendedplan = exports.chrdata = exports.credithealthreportrequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "growth.getcredithealthreport";
|
|
15
|
+
function createBasecredithealthreportrequest() {
|
|
16
|
+
return { refresh_report: false };
|
|
17
|
+
}
|
|
18
|
+
exports.credithealthreportrequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.refresh_report !== false) {
|
|
21
|
+
writer.uint32(8).bool(message.refresh_report);
|
|
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 = createBasecredithealthreportrequest();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 8) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.refresh_report = reader.bool();
|
|
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 { refresh_report: isSet(object.refresh_report) ? globalThis.Boolean(object.refresh_report) : false };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.refresh_report !== false) {
|
|
52
|
+
obj.refresh_report = message.refresh_report;
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.credithealthreportrequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBasecredithealthreportrequest();
|
|
61
|
+
message.refresh_report = object.refresh_report ?? false;
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBasechrdata() {
|
|
66
|
+
return {
|
|
67
|
+
plan_type_text: "",
|
|
68
|
+
cibil_score: 0,
|
|
69
|
+
cibil_state_text: "",
|
|
70
|
+
cibil_state_text_color: "",
|
|
71
|
+
report_url: "",
|
|
72
|
+
refresh_date: "",
|
|
73
|
+
refresh_enabled: 0,
|
|
74
|
+
plan_subscription_id: 0,
|
|
75
|
+
recommended_plan: undefined,
|
|
76
|
+
user_state: "",
|
|
77
|
+
refer_and_earn: undefined,
|
|
78
|
+
report_refresh_count: 0,
|
|
79
|
+
recommended_plan_status: false,
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
exports.chrdata = {
|
|
83
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
84
|
+
if (message.plan_type_text !== "") {
|
|
85
|
+
writer.uint32(10).string(message.plan_type_text);
|
|
86
|
+
}
|
|
87
|
+
if (message.cibil_score !== 0) {
|
|
88
|
+
writer.uint32(16).int32(message.cibil_score);
|
|
89
|
+
}
|
|
90
|
+
if (message.cibil_state_text !== "") {
|
|
91
|
+
writer.uint32(26).string(message.cibil_state_text);
|
|
92
|
+
}
|
|
93
|
+
if (message.cibil_state_text_color !== "") {
|
|
94
|
+
writer.uint32(34).string(message.cibil_state_text_color);
|
|
95
|
+
}
|
|
96
|
+
if (message.report_url !== "") {
|
|
97
|
+
writer.uint32(42).string(message.report_url);
|
|
98
|
+
}
|
|
99
|
+
if (message.refresh_date !== "") {
|
|
100
|
+
writer.uint32(50).string(message.refresh_date);
|
|
101
|
+
}
|
|
102
|
+
if (message.refresh_enabled !== 0) {
|
|
103
|
+
writer.uint32(56).int32(message.refresh_enabled);
|
|
104
|
+
}
|
|
105
|
+
if (message.plan_subscription_id !== 0) {
|
|
106
|
+
writer.uint32(64).int32(message.plan_subscription_id);
|
|
107
|
+
}
|
|
108
|
+
if (message.recommended_plan !== undefined) {
|
|
109
|
+
exports.chrdata_recommendedplan.encode(message.recommended_plan, writer.uint32(74).fork()).ldelim();
|
|
110
|
+
}
|
|
111
|
+
if (message.user_state !== "") {
|
|
112
|
+
writer.uint32(82).string(message.user_state);
|
|
113
|
+
}
|
|
114
|
+
if (message.refer_and_earn !== undefined) {
|
|
115
|
+
exports.chrdata_referandearn.encode(message.refer_and_earn, writer.uint32(90).fork()).ldelim();
|
|
116
|
+
}
|
|
117
|
+
if (message.report_refresh_count !== 0) {
|
|
118
|
+
writer.uint32(96).int32(message.report_refresh_count);
|
|
119
|
+
}
|
|
120
|
+
if (message.recommended_plan_status !== false) {
|
|
121
|
+
writer.uint32(104).bool(message.recommended_plan_status);
|
|
122
|
+
}
|
|
123
|
+
return writer;
|
|
124
|
+
},
|
|
125
|
+
decode(input, length) {
|
|
126
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
127
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
128
|
+
const message = createBasechrdata();
|
|
129
|
+
while (reader.pos < end) {
|
|
130
|
+
const tag = reader.uint32();
|
|
131
|
+
switch (tag >>> 3) {
|
|
132
|
+
case 1:
|
|
133
|
+
if (tag !== 10) {
|
|
134
|
+
break;
|
|
135
|
+
}
|
|
136
|
+
message.plan_type_text = reader.string();
|
|
137
|
+
continue;
|
|
138
|
+
case 2:
|
|
139
|
+
if (tag !== 16) {
|
|
140
|
+
break;
|
|
141
|
+
}
|
|
142
|
+
message.cibil_score = reader.int32();
|
|
143
|
+
continue;
|
|
144
|
+
case 3:
|
|
145
|
+
if (tag !== 26) {
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
message.cibil_state_text = reader.string();
|
|
149
|
+
continue;
|
|
150
|
+
case 4:
|
|
151
|
+
if (tag !== 34) {
|
|
152
|
+
break;
|
|
153
|
+
}
|
|
154
|
+
message.cibil_state_text_color = reader.string();
|
|
155
|
+
continue;
|
|
156
|
+
case 5:
|
|
157
|
+
if (tag !== 42) {
|
|
158
|
+
break;
|
|
159
|
+
}
|
|
160
|
+
message.report_url = reader.string();
|
|
161
|
+
continue;
|
|
162
|
+
case 6:
|
|
163
|
+
if (tag !== 50) {
|
|
164
|
+
break;
|
|
165
|
+
}
|
|
166
|
+
message.refresh_date = reader.string();
|
|
167
|
+
continue;
|
|
168
|
+
case 7:
|
|
169
|
+
if (tag !== 56) {
|
|
170
|
+
break;
|
|
171
|
+
}
|
|
172
|
+
message.refresh_enabled = reader.int32();
|
|
173
|
+
continue;
|
|
174
|
+
case 8:
|
|
175
|
+
if (tag !== 64) {
|
|
176
|
+
break;
|
|
177
|
+
}
|
|
178
|
+
message.plan_subscription_id = reader.int32();
|
|
179
|
+
continue;
|
|
180
|
+
case 9:
|
|
181
|
+
if (tag !== 74) {
|
|
182
|
+
break;
|
|
183
|
+
}
|
|
184
|
+
message.recommended_plan = exports.chrdata_recommendedplan.decode(reader, reader.uint32());
|
|
185
|
+
continue;
|
|
186
|
+
case 10:
|
|
187
|
+
if (tag !== 82) {
|
|
188
|
+
break;
|
|
189
|
+
}
|
|
190
|
+
message.user_state = reader.string();
|
|
191
|
+
continue;
|
|
192
|
+
case 11:
|
|
193
|
+
if (tag !== 90) {
|
|
194
|
+
break;
|
|
195
|
+
}
|
|
196
|
+
message.refer_and_earn = exports.chrdata_referandearn.decode(reader, reader.uint32());
|
|
197
|
+
continue;
|
|
198
|
+
case 12:
|
|
199
|
+
if (tag !== 96) {
|
|
200
|
+
break;
|
|
201
|
+
}
|
|
202
|
+
message.report_refresh_count = reader.int32();
|
|
203
|
+
continue;
|
|
204
|
+
case 13:
|
|
205
|
+
if (tag !== 104) {
|
|
206
|
+
break;
|
|
207
|
+
}
|
|
208
|
+
message.recommended_plan_status = reader.bool();
|
|
209
|
+
continue;
|
|
210
|
+
}
|
|
211
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
212
|
+
break;
|
|
213
|
+
}
|
|
214
|
+
reader.skipType(tag & 7);
|
|
215
|
+
}
|
|
216
|
+
return message;
|
|
217
|
+
},
|
|
218
|
+
fromJSON(object) {
|
|
219
|
+
return {
|
|
220
|
+
plan_type_text: isSet(object.plan_type_text) ? globalThis.String(object.plan_type_text) : "",
|
|
221
|
+
cibil_score: isSet(object.cibil_score) ? globalThis.Number(object.cibil_score) : 0,
|
|
222
|
+
cibil_state_text: isSet(object.cibil_state_text) ? globalThis.String(object.cibil_state_text) : "",
|
|
223
|
+
cibil_state_text_color: isSet(object.cibil_state_text_color)
|
|
224
|
+
? globalThis.String(object.cibil_state_text_color)
|
|
225
|
+
: "",
|
|
226
|
+
report_url: isSet(object.report_url) ? globalThis.String(object.report_url) : "",
|
|
227
|
+
refresh_date: isSet(object.refresh_date) ? globalThis.String(object.refresh_date) : "",
|
|
228
|
+
refresh_enabled: isSet(object.refresh_enabled) ? globalThis.Number(object.refresh_enabled) : 0,
|
|
229
|
+
plan_subscription_id: isSet(object.plan_subscription_id) ? globalThis.Number(object.plan_subscription_id) : 0,
|
|
230
|
+
recommended_plan: isSet(object.recommended_plan)
|
|
231
|
+
? exports.chrdata_recommendedplan.fromJSON(object.recommended_plan)
|
|
232
|
+
: undefined,
|
|
233
|
+
user_state: isSet(object.user_state) ? globalThis.String(object.user_state) : "",
|
|
234
|
+
refer_and_earn: isSet(object.refer_and_earn) ? exports.chrdata_referandearn.fromJSON(object.refer_and_earn) : undefined,
|
|
235
|
+
report_refresh_count: isSet(object.report_refresh_count) ? globalThis.Number(object.report_refresh_count) : 0,
|
|
236
|
+
recommended_plan_status: isSet(object.recommended_plan_status)
|
|
237
|
+
? globalThis.Boolean(object.recommended_plan_status)
|
|
238
|
+
: false,
|
|
239
|
+
};
|
|
240
|
+
},
|
|
241
|
+
toJSON(message) {
|
|
242
|
+
const obj = {};
|
|
243
|
+
if (message.plan_type_text !== "") {
|
|
244
|
+
obj.plan_type_text = message.plan_type_text;
|
|
245
|
+
}
|
|
246
|
+
if (message.cibil_score !== 0) {
|
|
247
|
+
obj.cibil_score = Math.round(message.cibil_score);
|
|
248
|
+
}
|
|
249
|
+
if (message.cibil_state_text !== "") {
|
|
250
|
+
obj.cibil_state_text = message.cibil_state_text;
|
|
251
|
+
}
|
|
252
|
+
if (message.cibil_state_text_color !== "") {
|
|
253
|
+
obj.cibil_state_text_color = message.cibil_state_text_color;
|
|
254
|
+
}
|
|
255
|
+
if (message.report_url !== "") {
|
|
256
|
+
obj.report_url = message.report_url;
|
|
257
|
+
}
|
|
258
|
+
if (message.refresh_date !== "") {
|
|
259
|
+
obj.refresh_date = message.refresh_date;
|
|
260
|
+
}
|
|
261
|
+
if (message.refresh_enabled !== 0) {
|
|
262
|
+
obj.refresh_enabled = Math.round(message.refresh_enabled);
|
|
263
|
+
}
|
|
264
|
+
if (message.plan_subscription_id !== 0) {
|
|
265
|
+
obj.plan_subscription_id = Math.round(message.plan_subscription_id);
|
|
266
|
+
}
|
|
267
|
+
if (message.recommended_plan !== undefined) {
|
|
268
|
+
obj.recommended_plan = exports.chrdata_recommendedplan.toJSON(message.recommended_plan);
|
|
269
|
+
}
|
|
270
|
+
if (message.user_state !== "") {
|
|
271
|
+
obj.user_state = message.user_state;
|
|
272
|
+
}
|
|
273
|
+
if (message.refer_and_earn !== undefined) {
|
|
274
|
+
obj.refer_and_earn = exports.chrdata_referandearn.toJSON(message.refer_and_earn);
|
|
275
|
+
}
|
|
276
|
+
if (message.report_refresh_count !== 0) {
|
|
277
|
+
obj.report_refresh_count = Math.round(message.report_refresh_count);
|
|
278
|
+
}
|
|
279
|
+
if (message.recommended_plan_status !== false) {
|
|
280
|
+
obj.recommended_plan_status = message.recommended_plan_status;
|
|
281
|
+
}
|
|
282
|
+
return obj;
|
|
283
|
+
},
|
|
284
|
+
create(base) {
|
|
285
|
+
return exports.chrdata.fromPartial(base ?? {});
|
|
286
|
+
},
|
|
287
|
+
fromPartial(object) {
|
|
288
|
+
const message = createBasechrdata();
|
|
289
|
+
message.plan_type_text = object.plan_type_text ?? "";
|
|
290
|
+
message.cibil_score = object.cibil_score ?? 0;
|
|
291
|
+
message.cibil_state_text = object.cibil_state_text ?? "";
|
|
292
|
+
message.cibil_state_text_color = object.cibil_state_text_color ?? "";
|
|
293
|
+
message.report_url = object.report_url ?? "";
|
|
294
|
+
message.refresh_date = object.refresh_date ?? "";
|
|
295
|
+
message.refresh_enabled = object.refresh_enabled ?? 0;
|
|
296
|
+
message.plan_subscription_id = object.plan_subscription_id ?? 0;
|
|
297
|
+
message.recommended_plan = (object.recommended_plan !== undefined && object.recommended_plan !== null)
|
|
298
|
+
? exports.chrdata_recommendedplan.fromPartial(object.recommended_plan)
|
|
299
|
+
: undefined;
|
|
300
|
+
message.user_state = object.user_state ?? "";
|
|
301
|
+
message.refer_and_earn = (object.refer_and_earn !== undefined && object.refer_and_earn !== null)
|
|
302
|
+
? exports.chrdata_referandearn.fromPartial(object.refer_and_earn)
|
|
303
|
+
: undefined;
|
|
304
|
+
message.report_refresh_count = object.report_refresh_count ?? 0;
|
|
305
|
+
message.recommended_plan_status = object.recommended_plan_status ?? false;
|
|
306
|
+
return message;
|
|
307
|
+
},
|
|
308
|
+
};
|
|
309
|
+
function createBasechrdata_recommendedplan() {
|
|
310
|
+
return { label: "", benefits: [], cta_text: "", amount: 0, plan_id: 0 };
|
|
311
|
+
}
|
|
312
|
+
exports.chrdata_recommendedplan = {
|
|
313
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
314
|
+
if (message.label !== "") {
|
|
315
|
+
writer.uint32(10).string(message.label);
|
|
316
|
+
}
|
|
317
|
+
for (const v of message.benefits) {
|
|
318
|
+
writer.uint32(18).string(v);
|
|
319
|
+
}
|
|
320
|
+
if (message.cta_text !== "") {
|
|
321
|
+
writer.uint32(26).string(message.cta_text);
|
|
322
|
+
}
|
|
323
|
+
if (message.amount !== 0) {
|
|
324
|
+
writer.uint32(33).double(message.amount);
|
|
325
|
+
}
|
|
326
|
+
if (message.plan_id !== 0) {
|
|
327
|
+
writer.uint32(40).int32(message.plan_id);
|
|
328
|
+
}
|
|
329
|
+
return writer;
|
|
330
|
+
},
|
|
331
|
+
decode(input, length) {
|
|
332
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
333
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
334
|
+
const message = createBasechrdata_recommendedplan();
|
|
335
|
+
while (reader.pos < end) {
|
|
336
|
+
const tag = reader.uint32();
|
|
337
|
+
switch (tag >>> 3) {
|
|
338
|
+
case 1:
|
|
339
|
+
if (tag !== 10) {
|
|
340
|
+
break;
|
|
341
|
+
}
|
|
342
|
+
message.label = reader.string();
|
|
343
|
+
continue;
|
|
344
|
+
case 2:
|
|
345
|
+
if (tag !== 18) {
|
|
346
|
+
break;
|
|
347
|
+
}
|
|
348
|
+
message.benefits.push(reader.string());
|
|
349
|
+
continue;
|
|
350
|
+
case 3:
|
|
351
|
+
if (tag !== 26) {
|
|
352
|
+
break;
|
|
353
|
+
}
|
|
354
|
+
message.cta_text = reader.string();
|
|
355
|
+
continue;
|
|
356
|
+
case 4:
|
|
357
|
+
if (tag !== 33) {
|
|
358
|
+
break;
|
|
359
|
+
}
|
|
360
|
+
message.amount = reader.double();
|
|
361
|
+
continue;
|
|
362
|
+
case 5:
|
|
363
|
+
if (tag !== 40) {
|
|
364
|
+
break;
|
|
365
|
+
}
|
|
366
|
+
message.plan_id = reader.int32();
|
|
367
|
+
continue;
|
|
368
|
+
}
|
|
369
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
370
|
+
break;
|
|
371
|
+
}
|
|
372
|
+
reader.skipType(tag & 7);
|
|
373
|
+
}
|
|
374
|
+
return message;
|
|
375
|
+
},
|
|
376
|
+
fromJSON(object) {
|
|
377
|
+
return {
|
|
378
|
+
label: isSet(object.label) ? globalThis.String(object.label) : "",
|
|
379
|
+
benefits: globalThis.Array.isArray(object?.benefits) ? object.benefits.map((e) => globalThis.String(e)) : [],
|
|
380
|
+
cta_text: isSet(object.cta_text) ? globalThis.String(object.cta_text) : "",
|
|
381
|
+
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
382
|
+
plan_id: isSet(object.plan_id) ? globalThis.Number(object.plan_id) : 0,
|
|
383
|
+
};
|
|
384
|
+
},
|
|
385
|
+
toJSON(message) {
|
|
386
|
+
const obj = {};
|
|
387
|
+
if (message.label !== "") {
|
|
388
|
+
obj.label = message.label;
|
|
389
|
+
}
|
|
390
|
+
if (message.benefits?.length) {
|
|
391
|
+
obj.benefits = message.benefits;
|
|
392
|
+
}
|
|
393
|
+
if (message.cta_text !== "") {
|
|
394
|
+
obj.cta_text = message.cta_text;
|
|
395
|
+
}
|
|
396
|
+
if (message.amount !== 0) {
|
|
397
|
+
obj.amount = message.amount;
|
|
398
|
+
}
|
|
399
|
+
if (message.plan_id !== 0) {
|
|
400
|
+
obj.plan_id = Math.round(message.plan_id);
|
|
401
|
+
}
|
|
402
|
+
return obj;
|
|
403
|
+
},
|
|
404
|
+
create(base) {
|
|
405
|
+
return exports.chrdata_recommendedplan.fromPartial(base ?? {});
|
|
406
|
+
},
|
|
407
|
+
fromPartial(object) {
|
|
408
|
+
const message = createBasechrdata_recommendedplan();
|
|
409
|
+
message.label = object.label ?? "";
|
|
410
|
+
message.benefits = object.benefits?.map((e) => e) || [];
|
|
411
|
+
message.cta_text = object.cta_text ?? "";
|
|
412
|
+
message.amount = object.amount ?? 0;
|
|
413
|
+
message.plan_id = object.plan_id ?? 0;
|
|
414
|
+
return message;
|
|
415
|
+
},
|
|
416
|
+
};
|
|
417
|
+
function createBasechrdata_referandearn() {
|
|
418
|
+
return { referral_amount: 0 };
|
|
419
|
+
}
|
|
420
|
+
exports.chrdata_referandearn = {
|
|
421
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
422
|
+
if (message.referral_amount !== 0) {
|
|
423
|
+
writer.uint32(8).int32(message.referral_amount);
|
|
424
|
+
}
|
|
425
|
+
return writer;
|
|
426
|
+
},
|
|
427
|
+
decode(input, length) {
|
|
428
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
429
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
430
|
+
const message = createBasechrdata_referandearn();
|
|
431
|
+
while (reader.pos < end) {
|
|
432
|
+
const tag = reader.uint32();
|
|
433
|
+
switch (tag >>> 3) {
|
|
434
|
+
case 1:
|
|
435
|
+
if (tag !== 8) {
|
|
436
|
+
break;
|
|
437
|
+
}
|
|
438
|
+
message.referral_amount = reader.int32();
|
|
439
|
+
continue;
|
|
440
|
+
}
|
|
441
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
442
|
+
break;
|
|
443
|
+
}
|
|
444
|
+
reader.skipType(tag & 7);
|
|
445
|
+
}
|
|
446
|
+
return message;
|
|
447
|
+
},
|
|
448
|
+
fromJSON(object) {
|
|
449
|
+
return { referral_amount: isSet(object.referral_amount) ? globalThis.Number(object.referral_amount) : 0 };
|
|
450
|
+
},
|
|
451
|
+
toJSON(message) {
|
|
452
|
+
const obj = {};
|
|
453
|
+
if (message.referral_amount !== 0) {
|
|
454
|
+
obj.referral_amount = Math.round(message.referral_amount);
|
|
455
|
+
}
|
|
456
|
+
return obj;
|
|
457
|
+
},
|
|
458
|
+
create(base) {
|
|
459
|
+
return exports.chrdata_referandearn.fromPartial(base ?? {});
|
|
460
|
+
},
|
|
461
|
+
fromPartial(object) {
|
|
462
|
+
const message = createBasechrdata_referandearn();
|
|
463
|
+
message.referral_amount = object.referral_amount ?? 0;
|
|
464
|
+
return message;
|
|
465
|
+
},
|
|
466
|
+
};
|
|
467
|
+
function createBasechrdatawrapper() {
|
|
468
|
+
return { chr_data: undefined };
|
|
469
|
+
}
|
|
470
|
+
exports.chrdatawrapper = {
|
|
471
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
472
|
+
if (message.chr_data !== undefined) {
|
|
473
|
+
exports.chrdata.encode(message.chr_data, writer.uint32(10).fork()).ldelim();
|
|
474
|
+
}
|
|
475
|
+
return writer;
|
|
476
|
+
},
|
|
477
|
+
decode(input, length) {
|
|
478
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
479
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
480
|
+
const message = createBasechrdatawrapper();
|
|
481
|
+
while (reader.pos < end) {
|
|
482
|
+
const tag = reader.uint32();
|
|
483
|
+
switch (tag >>> 3) {
|
|
484
|
+
case 1:
|
|
485
|
+
if (tag !== 10) {
|
|
486
|
+
break;
|
|
487
|
+
}
|
|
488
|
+
message.chr_data = exports.chrdata.decode(reader, reader.uint32());
|
|
489
|
+
continue;
|
|
490
|
+
}
|
|
491
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
492
|
+
break;
|
|
493
|
+
}
|
|
494
|
+
reader.skipType(tag & 7);
|
|
495
|
+
}
|
|
496
|
+
return message;
|
|
497
|
+
},
|
|
498
|
+
fromJSON(object) {
|
|
499
|
+
return { chr_data: isSet(object.chr_data) ? exports.chrdata.fromJSON(object.chr_data) : undefined };
|
|
500
|
+
},
|
|
501
|
+
toJSON(message) {
|
|
502
|
+
const obj = {};
|
|
503
|
+
if (message.chr_data !== undefined) {
|
|
504
|
+
obj.chr_data = exports.chrdata.toJSON(message.chr_data);
|
|
505
|
+
}
|
|
506
|
+
return obj;
|
|
507
|
+
},
|
|
508
|
+
create(base) {
|
|
509
|
+
return exports.chrdatawrapper.fromPartial(base ?? {});
|
|
510
|
+
},
|
|
511
|
+
fromPartial(object) {
|
|
512
|
+
const message = createBasechrdatawrapper();
|
|
513
|
+
message.chr_data = (object.chr_data !== undefined && object.chr_data !== null)
|
|
514
|
+
? exports.chrdata.fromPartial(object.chr_data)
|
|
515
|
+
: undefined;
|
|
516
|
+
return message;
|
|
517
|
+
},
|
|
518
|
+
};
|
|
519
|
+
function createBasecredithealthreportresponse() {
|
|
520
|
+
return { status: "", statusCode: 0, data: undefined, message: "" };
|
|
521
|
+
}
|
|
522
|
+
exports.credithealthreportresponse = {
|
|
523
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
524
|
+
if (message.status !== "") {
|
|
525
|
+
writer.uint32(10).string(message.status);
|
|
526
|
+
}
|
|
527
|
+
if (message.statusCode !== 0) {
|
|
528
|
+
writer.uint32(16).int32(message.statusCode);
|
|
529
|
+
}
|
|
530
|
+
if (message.data !== undefined) {
|
|
531
|
+
exports.chrdatawrapper.encode(message.data, writer.uint32(26).fork()).ldelim();
|
|
532
|
+
}
|
|
533
|
+
if (message.message !== "") {
|
|
534
|
+
writer.uint32(34).string(message.message);
|
|
535
|
+
}
|
|
536
|
+
return writer;
|
|
537
|
+
},
|
|
538
|
+
decode(input, length) {
|
|
539
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
540
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
541
|
+
const message = createBasecredithealthreportresponse();
|
|
542
|
+
while (reader.pos < end) {
|
|
543
|
+
const tag = reader.uint32();
|
|
544
|
+
switch (tag >>> 3) {
|
|
545
|
+
case 1:
|
|
546
|
+
if (tag !== 10) {
|
|
547
|
+
break;
|
|
548
|
+
}
|
|
549
|
+
message.status = reader.string();
|
|
550
|
+
continue;
|
|
551
|
+
case 2:
|
|
552
|
+
if (tag !== 16) {
|
|
553
|
+
break;
|
|
554
|
+
}
|
|
555
|
+
message.statusCode = reader.int32();
|
|
556
|
+
continue;
|
|
557
|
+
case 3:
|
|
558
|
+
if (tag !== 26) {
|
|
559
|
+
break;
|
|
560
|
+
}
|
|
561
|
+
message.data = exports.chrdatawrapper.decode(reader, reader.uint32());
|
|
562
|
+
continue;
|
|
563
|
+
case 4:
|
|
564
|
+
if (tag !== 34) {
|
|
565
|
+
break;
|
|
566
|
+
}
|
|
567
|
+
message.message = reader.string();
|
|
568
|
+
continue;
|
|
569
|
+
}
|
|
570
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
571
|
+
break;
|
|
572
|
+
}
|
|
573
|
+
reader.skipType(tag & 7);
|
|
574
|
+
}
|
|
575
|
+
return message;
|
|
576
|
+
},
|
|
577
|
+
fromJSON(object) {
|
|
578
|
+
return {
|
|
579
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
580
|
+
statusCode: isSet(object.statusCode) ? globalThis.Number(object.statusCode) : 0,
|
|
581
|
+
data: isSet(object.data) ? exports.chrdatawrapper.fromJSON(object.data) : undefined,
|
|
582
|
+
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
583
|
+
};
|
|
584
|
+
},
|
|
585
|
+
toJSON(message) {
|
|
586
|
+
const obj = {};
|
|
587
|
+
if (message.status !== "") {
|
|
588
|
+
obj.status = message.status;
|
|
589
|
+
}
|
|
590
|
+
if (message.statusCode !== 0) {
|
|
591
|
+
obj.statusCode = Math.round(message.statusCode);
|
|
592
|
+
}
|
|
593
|
+
if (message.data !== undefined) {
|
|
594
|
+
obj.data = exports.chrdatawrapper.toJSON(message.data);
|
|
595
|
+
}
|
|
596
|
+
if (message.message !== "") {
|
|
597
|
+
obj.message = message.message;
|
|
598
|
+
}
|
|
599
|
+
return obj;
|
|
600
|
+
},
|
|
601
|
+
create(base) {
|
|
602
|
+
return exports.credithealthreportresponse.fromPartial(base ?? {});
|
|
603
|
+
},
|
|
604
|
+
fromPartial(object) {
|
|
605
|
+
const message = createBasecredithealthreportresponse();
|
|
606
|
+
message.status = object.status ?? "";
|
|
607
|
+
message.statusCode = object.statusCode ?? 0;
|
|
608
|
+
message.data = (object.data !== undefined && object.data !== null)
|
|
609
|
+
? exports.chrdatawrapper.fromPartial(object.data)
|
|
610
|
+
: undefined;
|
|
611
|
+
message.message = object.message ?? "";
|
|
612
|
+
return message;
|
|
613
|
+
},
|
|
614
|
+
};
|
|
615
|
+
function isSet(value) {
|
|
616
|
+
return value !== null && value !== undefined;
|
|
617
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "growth.initiatepayment";
|
|
3
|
+
export interface initiatepaymentrequest {
|
|
4
|
+
plan_id: number;
|
|
5
|
+
report_type: string;
|
|
6
|
+
amount: number;
|
|
7
|
+
}
|
|
8
|
+
export interface redirectdata {
|
|
9
|
+
redirect_url: string;
|
|
10
|
+
txn_id: string;
|
|
11
|
+
}
|
|
12
|
+
export interface initiatepaymentresponse {
|
|
13
|
+
status: string;
|
|
14
|
+
statusCode: number;
|
|
15
|
+
data: redirectdata | undefined;
|
|
16
|
+
message: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const initiatepaymentrequest: {
|
|
19
|
+
encode(message: initiatepaymentrequest, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): initiatepaymentrequest;
|
|
21
|
+
fromJSON(object: any): initiatepaymentrequest;
|
|
22
|
+
toJSON(message: initiatepaymentrequest): unknown;
|
|
23
|
+
create<I extends Exact<DeepPartial<initiatepaymentrequest>, I>>(base?: I): initiatepaymentrequest;
|
|
24
|
+
fromPartial<I extends Exact<DeepPartial<initiatepaymentrequest>, I>>(object: I): initiatepaymentrequest;
|
|
25
|
+
};
|
|
26
|
+
export declare const redirectdata: {
|
|
27
|
+
encode(message: redirectdata, writer?: _m0.Writer): _m0.Writer;
|
|
28
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): redirectdata;
|
|
29
|
+
fromJSON(object: any): redirectdata;
|
|
30
|
+
toJSON(message: redirectdata): unknown;
|
|
31
|
+
create<I extends Exact<DeepPartial<redirectdata>, I>>(base?: I): redirectdata;
|
|
32
|
+
fromPartial<I extends Exact<DeepPartial<redirectdata>, I>>(object: I): redirectdata;
|
|
33
|
+
};
|
|
34
|
+
export declare const initiatepaymentresponse: {
|
|
35
|
+
encode(message: initiatepaymentresponse, writer?: _m0.Writer): _m0.Writer;
|
|
36
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): initiatepaymentresponse;
|
|
37
|
+
fromJSON(object: any): initiatepaymentresponse;
|
|
38
|
+
toJSON(message: initiatepaymentresponse): unknown;
|
|
39
|
+
create<I extends Exact<DeepPartial<initiatepaymentresponse>, I>>(base?: I): initiatepaymentresponse;
|
|
40
|
+
fromPartial<I extends Exact<DeepPartial<initiatepaymentresponse>, I>>(object: I): initiatepaymentresponse;
|
|
41
|
+
};
|
|
42
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
43
|
+
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 {} ? {
|
|
44
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
45
|
+
} : Partial<T>;
|
|
46
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
47
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
48
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
49
|
+
} & {
|
|
50
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
51
|
+
};
|
|
52
|
+
export {};
|