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