@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,48 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "growth.checkplanstatus";
|
|
3
|
+
export interface chrplansstatusrequest {
|
|
4
|
+
}
|
|
5
|
+
export interface planstatus {
|
|
6
|
+
planStatus: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface chrplanstatusresponse {
|
|
9
|
+
status: string;
|
|
10
|
+
statusCode: number;
|
|
11
|
+
data: planstatus | undefined;
|
|
12
|
+
message: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const chrplansstatusrequest: {
|
|
15
|
+
encode(_: chrplansstatusrequest, writer?: _m0.Writer): _m0.Writer;
|
|
16
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): chrplansstatusrequest;
|
|
17
|
+
fromJSON(_: any): chrplansstatusrequest;
|
|
18
|
+
toJSON(_: chrplansstatusrequest): unknown;
|
|
19
|
+
create<I extends Exact<DeepPartial<chrplansstatusrequest>, I>>(base?: I): chrplansstatusrequest;
|
|
20
|
+
fromPartial<I extends Exact<DeepPartial<chrplansstatusrequest>, I>>(_: I): chrplansstatusrequest;
|
|
21
|
+
};
|
|
22
|
+
export declare const planstatus: {
|
|
23
|
+
encode(message: planstatus, writer?: _m0.Writer): _m0.Writer;
|
|
24
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): planstatus;
|
|
25
|
+
fromJSON(object: any): planstatus;
|
|
26
|
+
toJSON(message: planstatus): unknown;
|
|
27
|
+
create<I extends Exact<DeepPartial<planstatus>, I>>(base?: I): planstatus;
|
|
28
|
+
fromPartial<I extends Exact<DeepPartial<planstatus>, I>>(object: I): planstatus;
|
|
29
|
+
};
|
|
30
|
+
export declare const chrplanstatusresponse: {
|
|
31
|
+
encode(message: chrplanstatusresponse, writer?: _m0.Writer): _m0.Writer;
|
|
32
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): chrplanstatusresponse;
|
|
33
|
+
fromJSON(object: any): chrplanstatusresponse;
|
|
34
|
+
toJSON(message: chrplanstatusresponse): unknown;
|
|
35
|
+
create<I extends Exact<DeepPartial<chrplanstatusresponse>, I>>(base?: I): chrplanstatusresponse;
|
|
36
|
+
fromPartial<I extends Exact<DeepPartial<chrplanstatusresponse>, I>>(object: I): chrplanstatusresponse;
|
|
37
|
+
};
|
|
38
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
39
|
+
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 {} ? {
|
|
40
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
41
|
+
} : Partial<T>;
|
|
42
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
43
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
44
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
45
|
+
} & {
|
|
46
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
47
|
+
};
|
|
48
|
+
export {};
|
|
@@ -0,0 +1,200 @@
|
|
|
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/checkplanstatus.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.chrplanstatusresponse = exports.planstatus = exports.chrplansstatusrequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "growth.checkplanstatus";
|
|
15
|
+
function createBasechrplansstatusrequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.chrplansstatusrequest = {
|
|
19
|
+
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
return writer;
|
|
21
|
+
},
|
|
22
|
+
decode(input, length) {
|
|
23
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
24
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
+
const message = createBasechrplansstatusrequest();
|
|
26
|
+
while (reader.pos < end) {
|
|
27
|
+
const tag = reader.uint32();
|
|
28
|
+
switch (tag >>> 3) {
|
|
29
|
+
}
|
|
30
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
reader.skipType(tag & 7);
|
|
34
|
+
}
|
|
35
|
+
return message;
|
|
36
|
+
},
|
|
37
|
+
fromJSON(_) {
|
|
38
|
+
return {};
|
|
39
|
+
},
|
|
40
|
+
toJSON(_) {
|
|
41
|
+
const obj = {};
|
|
42
|
+
return obj;
|
|
43
|
+
},
|
|
44
|
+
create(base) {
|
|
45
|
+
return exports.chrplansstatusrequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBasechrplansstatusrequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBaseplanstatus() {
|
|
53
|
+
return { planStatus: false };
|
|
54
|
+
}
|
|
55
|
+
exports.planstatus = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
if (message.planStatus !== false) {
|
|
58
|
+
writer.uint32(8).bool(message.planStatus);
|
|
59
|
+
}
|
|
60
|
+
return writer;
|
|
61
|
+
},
|
|
62
|
+
decode(input, length) {
|
|
63
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
64
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
65
|
+
const message = createBaseplanstatus();
|
|
66
|
+
while (reader.pos < end) {
|
|
67
|
+
const tag = reader.uint32();
|
|
68
|
+
switch (tag >>> 3) {
|
|
69
|
+
case 1:
|
|
70
|
+
if (tag !== 8) {
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
message.planStatus = reader.bool();
|
|
74
|
+
continue;
|
|
75
|
+
}
|
|
76
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
reader.skipType(tag & 7);
|
|
80
|
+
}
|
|
81
|
+
return message;
|
|
82
|
+
},
|
|
83
|
+
fromJSON(object) {
|
|
84
|
+
return { planStatus: isSet(object.planStatus) ? globalThis.Boolean(object.planStatus) : false };
|
|
85
|
+
},
|
|
86
|
+
toJSON(message) {
|
|
87
|
+
const obj = {};
|
|
88
|
+
if (message.planStatus !== false) {
|
|
89
|
+
obj.planStatus = message.planStatus;
|
|
90
|
+
}
|
|
91
|
+
return obj;
|
|
92
|
+
},
|
|
93
|
+
create(base) {
|
|
94
|
+
return exports.planstatus.fromPartial(base ?? {});
|
|
95
|
+
},
|
|
96
|
+
fromPartial(object) {
|
|
97
|
+
const message = createBaseplanstatus();
|
|
98
|
+
message.planStatus = object.planStatus ?? false;
|
|
99
|
+
return message;
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
function createBasechrplanstatusresponse() {
|
|
103
|
+
return { status: "", statusCode: 0, data: undefined, message: "" };
|
|
104
|
+
}
|
|
105
|
+
exports.chrplanstatusresponse = {
|
|
106
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
107
|
+
if (message.status !== "") {
|
|
108
|
+
writer.uint32(10).string(message.status);
|
|
109
|
+
}
|
|
110
|
+
if (message.statusCode !== 0) {
|
|
111
|
+
writer.uint32(16).int32(message.statusCode);
|
|
112
|
+
}
|
|
113
|
+
if (message.data !== undefined) {
|
|
114
|
+
exports.planstatus.encode(message.data, writer.uint32(26).fork()).ldelim();
|
|
115
|
+
}
|
|
116
|
+
if (message.message !== "") {
|
|
117
|
+
writer.uint32(34).string(message.message);
|
|
118
|
+
}
|
|
119
|
+
return writer;
|
|
120
|
+
},
|
|
121
|
+
decode(input, length) {
|
|
122
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
123
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
124
|
+
const message = createBasechrplanstatusresponse();
|
|
125
|
+
while (reader.pos < end) {
|
|
126
|
+
const tag = reader.uint32();
|
|
127
|
+
switch (tag >>> 3) {
|
|
128
|
+
case 1:
|
|
129
|
+
if (tag !== 10) {
|
|
130
|
+
break;
|
|
131
|
+
}
|
|
132
|
+
message.status = reader.string();
|
|
133
|
+
continue;
|
|
134
|
+
case 2:
|
|
135
|
+
if (tag !== 16) {
|
|
136
|
+
break;
|
|
137
|
+
}
|
|
138
|
+
message.statusCode = reader.int32();
|
|
139
|
+
continue;
|
|
140
|
+
case 3:
|
|
141
|
+
if (tag !== 26) {
|
|
142
|
+
break;
|
|
143
|
+
}
|
|
144
|
+
message.data = exports.planstatus.decode(reader, reader.uint32());
|
|
145
|
+
continue;
|
|
146
|
+
case 4:
|
|
147
|
+
if (tag !== 34) {
|
|
148
|
+
break;
|
|
149
|
+
}
|
|
150
|
+
message.message = reader.string();
|
|
151
|
+
continue;
|
|
152
|
+
}
|
|
153
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
154
|
+
break;
|
|
155
|
+
}
|
|
156
|
+
reader.skipType(tag & 7);
|
|
157
|
+
}
|
|
158
|
+
return message;
|
|
159
|
+
},
|
|
160
|
+
fromJSON(object) {
|
|
161
|
+
return {
|
|
162
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
163
|
+
statusCode: isSet(object.statusCode) ? globalThis.Number(object.statusCode) : 0,
|
|
164
|
+
data: isSet(object.data) ? exports.planstatus.fromJSON(object.data) : undefined,
|
|
165
|
+
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
166
|
+
};
|
|
167
|
+
},
|
|
168
|
+
toJSON(message) {
|
|
169
|
+
const obj = {};
|
|
170
|
+
if (message.status !== "") {
|
|
171
|
+
obj.status = message.status;
|
|
172
|
+
}
|
|
173
|
+
if (message.statusCode !== 0) {
|
|
174
|
+
obj.statusCode = Math.round(message.statusCode);
|
|
175
|
+
}
|
|
176
|
+
if (message.data !== undefined) {
|
|
177
|
+
obj.data = exports.planstatus.toJSON(message.data);
|
|
178
|
+
}
|
|
179
|
+
if (message.message !== "") {
|
|
180
|
+
obj.message = message.message;
|
|
181
|
+
}
|
|
182
|
+
return obj;
|
|
183
|
+
},
|
|
184
|
+
create(base) {
|
|
185
|
+
return exports.chrplanstatusresponse.fromPartial(base ?? {});
|
|
186
|
+
},
|
|
187
|
+
fromPartial(object) {
|
|
188
|
+
const message = createBasechrplanstatusresponse();
|
|
189
|
+
message.status = object.status ?? "";
|
|
190
|
+
message.statusCode = object.statusCode ?? 0;
|
|
191
|
+
message.data = (object.data !== undefined && object.data !== null)
|
|
192
|
+
? exports.planstatus.fromPartial(object.data)
|
|
193
|
+
: undefined;
|
|
194
|
+
message.message = object.message ?? "";
|
|
195
|
+
return message;
|
|
196
|
+
},
|
|
197
|
+
};
|
|
198
|
+
function isSet(value) {
|
|
199
|
+
return value !== null && value !== undefined;
|
|
200
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "growth.getattachplandetails";
|
|
3
|
+
export interface chrattachplanrequest {
|
|
4
|
+
}
|
|
5
|
+
export interface plandata {
|
|
6
|
+
planId: number;
|
|
7
|
+
amount: number;
|
|
8
|
+
type: string;
|
|
9
|
+
duration: number;
|
|
10
|
+
discount: number;
|
|
11
|
+
discounted_price: number;
|
|
12
|
+
}
|
|
13
|
+
export interface chrattachplanresponse {
|
|
14
|
+
status: string;
|
|
15
|
+
statusCode: number;
|
|
16
|
+
data: plandata | undefined;
|
|
17
|
+
message: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const chrattachplanrequest: {
|
|
20
|
+
encode(_: chrattachplanrequest, writer?: _m0.Writer): _m0.Writer;
|
|
21
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): chrattachplanrequest;
|
|
22
|
+
fromJSON(_: any): chrattachplanrequest;
|
|
23
|
+
toJSON(_: chrattachplanrequest): unknown;
|
|
24
|
+
create<I extends Exact<DeepPartial<chrattachplanrequest>, I>>(base?: I): chrattachplanrequest;
|
|
25
|
+
fromPartial<I extends Exact<DeepPartial<chrattachplanrequest>, I>>(_: I): chrattachplanrequest;
|
|
26
|
+
};
|
|
27
|
+
export declare const plandata: {
|
|
28
|
+
encode(message: plandata, writer?: _m0.Writer): _m0.Writer;
|
|
29
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): plandata;
|
|
30
|
+
fromJSON(object: any): plandata;
|
|
31
|
+
toJSON(message: plandata): unknown;
|
|
32
|
+
create<I extends Exact<DeepPartial<plandata>, I>>(base?: I): plandata;
|
|
33
|
+
fromPartial<I extends Exact<DeepPartial<plandata>, I>>(object: I): plandata;
|
|
34
|
+
};
|
|
35
|
+
export declare const chrattachplanresponse: {
|
|
36
|
+
encode(message: chrattachplanresponse, writer?: _m0.Writer): _m0.Writer;
|
|
37
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): chrattachplanresponse;
|
|
38
|
+
fromJSON(object: any): chrattachplanresponse;
|
|
39
|
+
toJSON(message: chrattachplanresponse): unknown;
|
|
40
|
+
create<I extends Exact<DeepPartial<chrattachplanresponse>, I>>(base?: I): chrattachplanresponse;
|
|
41
|
+
fromPartial<I extends Exact<DeepPartial<chrattachplanresponse>, I>>(object: I): chrattachplanresponse;
|
|
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,270 @@
|
|
|
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/getattachplandetails.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.chrattachplanresponse = exports.plandata = exports.chrattachplanrequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "growth.getattachplandetails";
|
|
15
|
+
function createBasechrattachplanrequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.chrattachplanrequest = {
|
|
19
|
+
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
return writer;
|
|
21
|
+
},
|
|
22
|
+
decode(input, length) {
|
|
23
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
24
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
+
const message = createBasechrattachplanrequest();
|
|
26
|
+
while (reader.pos < end) {
|
|
27
|
+
const tag = reader.uint32();
|
|
28
|
+
switch (tag >>> 3) {
|
|
29
|
+
}
|
|
30
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
reader.skipType(tag & 7);
|
|
34
|
+
}
|
|
35
|
+
return message;
|
|
36
|
+
},
|
|
37
|
+
fromJSON(_) {
|
|
38
|
+
return {};
|
|
39
|
+
},
|
|
40
|
+
toJSON(_) {
|
|
41
|
+
const obj = {};
|
|
42
|
+
return obj;
|
|
43
|
+
},
|
|
44
|
+
create(base) {
|
|
45
|
+
return exports.chrattachplanrequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBasechrattachplanrequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBaseplandata() {
|
|
53
|
+
return { planId: 0, amount: 0, type: "", duration: 0, discount: 0, discounted_price: 0 };
|
|
54
|
+
}
|
|
55
|
+
exports.plandata = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
if (message.planId !== 0) {
|
|
58
|
+
writer.uint32(8).int32(message.planId);
|
|
59
|
+
}
|
|
60
|
+
if (message.amount !== 0) {
|
|
61
|
+
writer.uint32(21).float(message.amount);
|
|
62
|
+
}
|
|
63
|
+
if (message.type !== "") {
|
|
64
|
+
writer.uint32(26).string(message.type);
|
|
65
|
+
}
|
|
66
|
+
if (message.duration !== 0) {
|
|
67
|
+
writer.uint32(32).int32(message.duration);
|
|
68
|
+
}
|
|
69
|
+
if (message.discount !== 0) {
|
|
70
|
+
writer.uint32(45).float(message.discount);
|
|
71
|
+
}
|
|
72
|
+
if (message.discounted_price !== 0) {
|
|
73
|
+
writer.uint32(49).double(message.discounted_price);
|
|
74
|
+
}
|
|
75
|
+
return writer;
|
|
76
|
+
},
|
|
77
|
+
decode(input, length) {
|
|
78
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
79
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
80
|
+
const message = createBaseplandata();
|
|
81
|
+
while (reader.pos < end) {
|
|
82
|
+
const tag = reader.uint32();
|
|
83
|
+
switch (tag >>> 3) {
|
|
84
|
+
case 1:
|
|
85
|
+
if (tag !== 8) {
|
|
86
|
+
break;
|
|
87
|
+
}
|
|
88
|
+
message.planId = reader.int32();
|
|
89
|
+
continue;
|
|
90
|
+
case 2:
|
|
91
|
+
if (tag !== 21) {
|
|
92
|
+
break;
|
|
93
|
+
}
|
|
94
|
+
message.amount = reader.float();
|
|
95
|
+
continue;
|
|
96
|
+
case 3:
|
|
97
|
+
if (tag !== 26) {
|
|
98
|
+
break;
|
|
99
|
+
}
|
|
100
|
+
message.type = reader.string();
|
|
101
|
+
continue;
|
|
102
|
+
case 4:
|
|
103
|
+
if (tag !== 32) {
|
|
104
|
+
break;
|
|
105
|
+
}
|
|
106
|
+
message.duration = reader.int32();
|
|
107
|
+
continue;
|
|
108
|
+
case 5:
|
|
109
|
+
if (tag !== 45) {
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
112
|
+
message.discount = reader.float();
|
|
113
|
+
continue;
|
|
114
|
+
case 6:
|
|
115
|
+
if (tag !== 49) {
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
message.discounted_price = reader.double();
|
|
119
|
+
continue;
|
|
120
|
+
}
|
|
121
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
122
|
+
break;
|
|
123
|
+
}
|
|
124
|
+
reader.skipType(tag & 7);
|
|
125
|
+
}
|
|
126
|
+
return message;
|
|
127
|
+
},
|
|
128
|
+
fromJSON(object) {
|
|
129
|
+
return {
|
|
130
|
+
planId: isSet(object.planId) ? globalThis.Number(object.planId) : 0,
|
|
131
|
+
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
132
|
+
type: isSet(object.type) ? globalThis.String(object.type) : "",
|
|
133
|
+
duration: isSet(object.duration) ? globalThis.Number(object.duration) : 0,
|
|
134
|
+
discount: isSet(object.discount) ? globalThis.Number(object.discount) : 0,
|
|
135
|
+
discounted_price: isSet(object.discounted_price) ? globalThis.Number(object.discounted_price) : 0,
|
|
136
|
+
};
|
|
137
|
+
},
|
|
138
|
+
toJSON(message) {
|
|
139
|
+
const obj = {};
|
|
140
|
+
if (message.planId !== 0) {
|
|
141
|
+
obj.planId = Math.round(message.planId);
|
|
142
|
+
}
|
|
143
|
+
if (message.amount !== 0) {
|
|
144
|
+
obj.amount = message.amount;
|
|
145
|
+
}
|
|
146
|
+
if (message.type !== "") {
|
|
147
|
+
obj.type = message.type;
|
|
148
|
+
}
|
|
149
|
+
if (message.duration !== 0) {
|
|
150
|
+
obj.duration = Math.round(message.duration);
|
|
151
|
+
}
|
|
152
|
+
if (message.discount !== 0) {
|
|
153
|
+
obj.discount = message.discount;
|
|
154
|
+
}
|
|
155
|
+
if (message.discounted_price !== 0) {
|
|
156
|
+
obj.discounted_price = message.discounted_price;
|
|
157
|
+
}
|
|
158
|
+
return obj;
|
|
159
|
+
},
|
|
160
|
+
create(base) {
|
|
161
|
+
return exports.plandata.fromPartial(base ?? {});
|
|
162
|
+
},
|
|
163
|
+
fromPartial(object) {
|
|
164
|
+
const message = createBaseplandata();
|
|
165
|
+
message.planId = object.planId ?? 0;
|
|
166
|
+
message.amount = object.amount ?? 0;
|
|
167
|
+
message.type = object.type ?? "";
|
|
168
|
+
message.duration = object.duration ?? 0;
|
|
169
|
+
message.discount = object.discount ?? 0;
|
|
170
|
+
message.discounted_price = object.discounted_price ?? 0;
|
|
171
|
+
return message;
|
|
172
|
+
},
|
|
173
|
+
};
|
|
174
|
+
function createBasechrattachplanresponse() {
|
|
175
|
+
return { status: "", statusCode: 0, data: undefined, message: "" };
|
|
176
|
+
}
|
|
177
|
+
exports.chrattachplanresponse = {
|
|
178
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
179
|
+
if (message.status !== "") {
|
|
180
|
+
writer.uint32(10).string(message.status);
|
|
181
|
+
}
|
|
182
|
+
if (message.statusCode !== 0) {
|
|
183
|
+
writer.uint32(16).int32(message.statusCode);
|
|
184
|
+
}
|
|
185
|
+
if (message.data !== undefined) {
|
|
186
|
+
exports.plandata.encode(message.data, writer.uint32(26).fork()).ldelim();
|
|
187
|
+
}
|
|
188
|
+
if (message.message !== "") {
|
|
189
|
+
writer.uint32(34).string(message.message);
|
|
190
|
+
}
|
|
191
|
+
return writer;
|
|
192
|
+
},
|
|
193
|
+
decode(input, length) {
|
|
194
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
195
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
196
|
+
const message = createBasechrattachplanresponse();
|
|
197
|
+
while (reader.pos < end) {
|
|
198
|
+
const tag = reader.uint32();
|
|
199
|
+
switch (tag >>> 3) {
|
|
200
|
+
case 1:
|
|
201
|
+
if (tag !== 10) {
|
|
202
|
+
break;
|
|
203
|
+
}
|
|
204
|
+
message.status = reader.string();
|
|
205
|
+
continue;
|
|
206
|
+
case 2:
|
|
207
|
+
if (tag !== 16) {
|
|
208
|
+
break;
|
|
209
|
+
}
|
|
210
|
+
message.statusCode = reader.int32();
|
|
211
|
+
continue;
|
|
212
|
+
case 3:
|
|
213
|
+
if (tag !== 26) {
|
|
214
|
+
break;
|
|
215
|
+
}
|
|
216
|
+
message.data = exports.plandata.decode(reader, reader.uint32());
|
|
217
|
+
continue;
|
|
218
|
+
case 4:
|
|
219
|
+
if (tag !== 34) {
|
|
220
|
+
break;
|
|
221
|
+
}
|
|
222
|
+
message.message = reader.string();
|
|
223
|
+
continue;
|
|
224
|
+
}
|
|
225
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
226
|
+
break;
|
|
227
|
+
}
|
|
228
|
+
reader.skipType(tag & 7);
|
|
229
|
+
}
|
|
230
|
+
return message;
|
|
231
|
+
},
|
|
232
|
+
fromJSON(object) {
|
|
233
|
+
return {
|
|
234
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
235
|
+
statusCode: isSet(object.statusCode) ? globalThis.Number(object.statusCode) : 0,
|
|
236
|
+
data: isSet(object.data) ? exports.plandata.fromJSON(object.data) : undefined,
|
|
237
|
+
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
238
|
+
};
|
|
239
|
+
},
|
|
240
|
+
toJSON(message) {
|
|
241
|
+
const obj = {};
|
|
242
|
+
if (message.status !== "") {
|
|
243
|
+
obj.status = message.status;
|
|
244
|
+
}
|
|
245
|
+
if (message.statusCode !== 0) {
|
|
246
|
+
obj.statusCode = Math.round(message.statusCode);
|
|
247
|
+
}
|
|
248
|
+
if (message.data !== undefined) {
|
|
249
|
+
obj.data = exports.plandata.toJSON(message.data);
|
|
250
|
+
}
|
|
251
|
+
if (message.message !== "") {
|
|
252
|
+
obj.message = message.message;
|
|
253
|
+
}
|
|
254
|
+
return obj;
|
|
255
|
+
},
|
|
256
|
+
create(base) {
|
|
257
|
+
return exports.chrattachplanresponse.fromPartial(base ?? {});
|
|
258
|
+
},
|
|
259
|
+
fromPartial(object) {
|
|
260
|
+
const message = createBasechrattachplanresponse();
|
|
261
|
+
message.status = object.status ?? "";
|
|
262
|
+
message.statusCode = object.statusCode ?? 0;
|
|
263
|
+
message.data = (object.data !== undefined && object.data !== null) ? exports.plandata.fromPartial(object.data) : undefined;
|
|
264
|
+
message.message = object.message ?? "";
|
|
265
|
+
return message;
|
|
266
|
+
},
|
|
267
|
+
};
|
|
268
|
+
function isSet(value) {
|
|
269
|
+
return value !== null && value !== undefined;
|
|
270
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "growth.getchrpaymentstatus";
|
|
3
|
+
export interface paymentstatusrequest {
|
|
4
|
+
txn_id: string;
|
|
5
|
+
}
|
|
6
|
+
export interface paymentstatus {
|
|
7
|
+
txn_status: string;
|
|
8
|
+
}
|
|
9
|
+
export interface paymentstatusresponse {
|
|
10
|
+
status: string;
|
|
11
|
+
statusCode: number;
|
|
12
|
+
data: paymentstatus | undefined;
|
|
13
|
+
message: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const paymentstatusrequest: {
|
|
16
|
+
encode(message: paymentstatusrequest, writer?: _m0.Writer): _m0.Writer;
|
|
17
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): paymentstatusrequest;
|
|
18
|
+
fromJSON(object: any): paymentstatusrequest;
|
|
19
|
+
toJSON(message: paymentstatusrequest): unknown;
|
|
20
|
+
create<I extends Exact<DeepPartial<paymentstatusrequest>, I>>(base?: I): paymentstatusrequest;
|
|
21
|
+
fromPartial<I extends Exact<DeepPartial<paymentstatusrequest>, I>>(object: I): paymentstatusrequest;
|
|
22
|
+
};
|
|
23
|
+
export declare const paymentstatus: {
|
|
24
|
+
encode(message: paymentstatus, writer?: _m0.Writer): _m0.Writer;
|
|
25
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): paymentstatus;
|
|
26
|
+
fromJSON(object: any): paymentstatus;
|
|
27
|
+
toJSON(message: paymentstatus): unknown;
|
|
28
|
+
create<I extends Exact<DeepPartial<paymentstatus>, I>>(base?: I): paymentstatus;
|
|
29
|
+
fromPartial<I extends Exact<DeepPartial<paymentstatus>, I>>(object: I): paymentstatus;
|
|
30
|
+
};
|
|
31
|
+
export declare const paymentstatusresponse: {
|
|
32
|
+
encode(message: paymentstatusresponse, writer?: _m0.Writer): _m0.Writer;
|
|
33
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): paymentstatusresponse;
|
|
34
|
+
fromJSON(object: any): paymentstatusresponse;
|
|
35
|
+
toJSON(message: paymentstatusresponse): unknown;
|
|
36
|
+
create<I extends Exact<DeepPartial<paymentstatusresponse>, I>>(base?: I): paymentstatusresponse;
|
|
37
|
+
fromPartial<I extends Exact<DeepPartial<paymentstatusresponse>, I>>(object: I): paymentstatusresponse;
|
|
38
|
+
};
|
|
39
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
40
|
+
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 {} ? {
|
|
41
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
42
|
+
} : Partial<T>;
|
|
43
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
44
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
45
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
46
|
+
} & {
|
|
47
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
48
|
+
};
|
|
49
|
+
export {};
|