@stashfin/grpc 1.2.755 → 1.2.756
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.js +2 -2
- package/ts/bbps/getbills.js +2 -2
- package/ts/bbps.js +2 -2
- package/ts/bureau/getbasicdetails.js +2 -2
- package/ts/bureau/getbureauscore.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.js +2 -2
- package/ts/ckyc/ckycdownload.js +2 -2
- package/ts/ckyc/ckycsearch.js +2 -2
- 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.js +2 -2
- package/ts/communications/bureauidwhatsapp.js +2 -2
- package/ts/communications.js +2 -2
- 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.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.js +2 -2
- 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.js +2 -2
- 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.js +2 -2
- 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/{loans/getvirtualaccountnumber.js → customers/verifyemail.js} +32 -32
- package/ts/customers/verifympin.js +2 -2
- package/ts/customers/verifyotp.js +2 -2
- package/ts/customers/verifyotptoemail.js +2 -2
- package/ts/customers.js +2 -2
- package/ts/decisionengine/decisionengine.js +2 -2
- package/ts/decisionengine/decisionenginetrigger.js +2 -2
- package/ts/decisionengine/locdisbursalapproval.js +2 -2
- package/ts/decisionengine/saveconsent.js +2 -2
- package/ts/decisionengine.js +2 -2
- package/ts/deveqxcustomers.js +2 -2
- package/ts/devupi.js +2 -2
- package/ts/documents/getagreement.js +2 -2
- package/ts/documents/getfinancialdoc.js +2 -2
- package/ts/documents.js +2 -2
- 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/getlandinghomepage.js +2 -2
- package/ts/eqxcustomers/getloanplans.js +2 -2
- package/ts/eqxcustomers/getnotifications.js +2 -2
- package/ts/eqxcustomers/getstashscorecustomerprofile.js +2 -2
- package/ts/eqxcustomers/gettnc.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/truecallerlogin.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.js +2 -2
- package/ts/feepayments/getbanklist.js +2 -2
- package/ts/feepayments.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.js +2 -2
- package/ts/growth/getattachplandetails.js +2 -2
- package/ts/growth/getchrpaymentstatus.js +2 -2
- package/ts/growth/getchrpdfurl.js +2 -2
- package/ts/growth/getchrplans.js +2 -2
- package/ts/growth/getchrreport.d.ts +42 -0
- package/ts/growth/getchrreport.js +300 -4
- 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.js +2 -2
- package/ts/growth/initiatepayment.js +2 -2
- package/ts/growth/notifychrpayment.js +2 -2
- package/ts/growth/processchrpayment.js +2 -2
- 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.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.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.js +2 -2
- package/ts/loans/foreclosepayment.js +2 -2
- package/ts/loans/futurepaymentmoredetails.js +2 -2
- 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.js +2 -2
- 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.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.js +2 -2
- package/ts/paymentsnode.js +2 -2
- package/ts/rewards/getoffers.js +2 -2
- package/ts/rewards/redeemoffer.js +2 -2
- package/ts/rewards.js +2 -2
- package/ts/stashcash/creditsc.d.ts +1 -0
- package/ts/stashcash/creditsc.js +17 -3
- package/ts/stashcash/debitsc.d.ts +1 -0
- package/ts/stashcash/debitsc.js +25 -3
- package/ts/stashcash/getearnings.d.ts +51 -0
- package/ts/stashcash/getearnings.js +257 -0
- 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 +14 -0
- package/ts/stashcash.js +12 -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.js +2 -2
- package/ts/upi/upinumberoperations.js +2 -2
- package/ts/upi/validateifsc.js +2 -2
- package/ts/upi/validatevpa.js +2 -2
- package/ts/upi.js +2 -2
- package/ts/loans/getvirtualaccountnumber.d.ts +0 -35
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "stashcash.getearnings";
|
|
3
|
+
export interface getEarningRequest {
|
|
4
|
+
customer_id: number;
|
|
5
|
+
product: string;
|
|
6
|
+
}
|
|
7
|
+
export interface getEarningResponse {
|
|
8
|
+
status: string;
|
|
9
|
+
message: string;
|
|
10
|
+
data: Data | undefined;
|
|
11
|
+
}
|
|
12
|
+
export interface Data {
|
|
13
|
+
locked: number;
|
|
14
|
+
unlocked: number;
|
|
15
|
+
balance: number;
|
|
16
|
+
}
|
|
17
|
+
export declare const getEarningRequest: {
|
|
18
|
+
encode(message: getEarningRequest, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getEarningRequest;
|
|
20
|
+
fromJSON(object: any): getEarningRequest;
|
|
21
|
+
toJSON(message: getEarningRequest): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<getEarningRequest>, I>>(base?: I): getEarningRequest;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<getEarningRequest>, I>>(object: I): getEarningRequest;
|
|
24
|
+
};
|
|
25
|
+
export declare const getEarningResponse: {
|
|
26
|
+
encode(message: getEarningResponse, writer?: _m0.Writer): _m0.Writer;
|
|
27
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getEarningResponse;
|
|
28
|
+
fromJSON(object: any): getEarningResponse;
|
|
29
|
+
toJSON(message: getEarningResponse): unknown;
|
|
30
|
+
create<I extends Exact<DeepPartial<getEarningResponse>, I>>(base?: I): getEarningResponse;
|
|
31
|
+
fromPartial<I extends Exact<DeepPartial<getEarningResponse>, I>>(object: I): getEarningResponse;
|
|
32
|
+
};
|
|
33
|
+
export declare const Data: {
|
|
34
|
+
encode(message: Data, writer?: _m0.Writer): _m0.Writer;
|
|
35
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data;
|
|
36
|
+
fromJSON(object: any): Data;
|
|
37
|
+
toJSON(message: Data): unknown;
|
|
38
|
+
create<I extends Exact<DeepPartial<Data>, I>>(base?: I): Data;
|
|
39
|
+
fromPartial<I extends Exact<DeepPartial<Data>, I>>(object: I): Data;
|
|
40
|
+
};
|
|
41
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
42
|
+
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 {} ? {
|
|
43
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
44
|
+
} : Partial<T>;
|
|
45
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
46
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
47
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
48
|
+
} & {
|
|
49
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
50
|
+
};
|
|
51
|
+
export {};
|
|
@@ -0,0 +1,257 @@
|
|
|
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.2
|
|
6
|
+
// source: stashcash/getearnings.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.Data = exports.getEarningResponse = exports.getEarningRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const long_1 = __importDefault(require("long"));
|
|
14
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
15
|
+
exports.protobufPackage = "stashcash.getearnings";
|
|
16
|
+
function createBasegetEarningRequest() {
|
|
17
|
+
return { customer_id: 0, product: "" };
|
|
18
|
+
}
|
|
19
|
+
exports.getEarningRequest = {
|
|
20
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
|
+
if (message.customer_id !== 0) {
|
|
22
|
+
writer.uint32(8).int64(message.customer_id);
|
|
23
|
+
}
|
|
24
|
+
if (message.product !== "") {
|
|
25
|
+
writer.uint32(18).string(message.product);
|
|
26
|
+
}
|
|
27
|
+
return writer;
|
|
28
|
+
},
|
|
29
|
+
decode(input, length) {
|
|
30
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
31
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
32
|
+
const message = createBasegetEarningRequest();
|
|
33
|
+
while (reader.pos < end) {
|
|
34
|
+
const tag = reader.uint32();
|
|
35
|
+
switch (tag >>> 3) {
|
|
36
|
+
case 1:
|
|
37
|
+
if (tag !== 8) {
|
|
38
|
+
break;
|
|
39
|
+
}
|
|
40
|
+
message.customer_id = longToNumber(reader.int64());
|
|
41
|
+
continue;
|
|
42
|
+
case 2:
|
|
43
|
+
if (tag !== 18) {
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
message.product = reader.string();
|
|
47
|
+
continue;
|
|
48
|
+
}
|
|
49
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
reader.skipType(tag & 7);
|
|
53
|
+
}
|
|
54
|
+
return message;
|
|
55
|
+
},
|
|
56
|
+
fromJSON(object) {
|
|
57
|
+
return {
|
|
58
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
59
|
+
product: isSet(object.product) ? globalThis.String(object.product) : "",
|
|
60
|
+
};
|
|
61
|
+
},
|
|
62
|
+
toJSON(message) {
|
|
63
|
+
const obj = {};
|
|
64
|
+
if (message.customer_id !== 0) {
|
|
65
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
66
|
+
}
|
|
67
|
+
if (message.product !== "") {
|
|
68
|
+
obj.product = message.product;
|
|
69
|
+
}
|
|
70
|
+
return obj;
|
|
71
|
+
},
|
|
72
|
+
create(base) {
|
|
73
|
+
return exports.getEarningRequest.fromPartial(base ?? {});
|
|
74
|
+
},
|
|
75
|
+
fromPartial(object) {
|
|
76
|
+
const message = createBasegetEarningRequest();
|
|
77
|
+
message.customer_id = object.customer_id ?? 0;
|
|
78
|
+
message.product = object.product ?? "";
|
|
79
|
+
return message;
|
|
80
|
+
},
|
|
81
|
+
};
|
|
82
|
+
function createBasegetEarningResponse() {
|
|
83
|
+
return { status: "", message: "", data: undefined };
|
|
84
|
+
}
|
|
85
|
+
exports.getEarningResponse = {
|
|
86
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
87
|
+
if (message.status !== "") {
|
|
88
|
+
writer.uint32(10).string(message.status);
|
|
89
|
+
}
|
|
90
|
+
if (message.message !== "") {
|
|
91
|
+
writer.uint32(18).string(message.message);
|
|
92
|
+
}
|
|
93
|
+
if (message.data !== undefined) {
|
|
94
|
+
exports.Data.encode(message.data, writer.uint32(26).fork()).ldelim();
|
|
95
|
+
}
|
|
96
|
+
return writer;
|
|
97
|
+
},
|
|
98
|
+
decode(input, length) {
|
|
99
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
100
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
101
|
+
const message = createBasegetEarningResponse();
|
|
102
|
+
while (reader.pos < end) {
|
|
103
|
+
const tag = reader.uint32();
|
|
104
|
+
switch (tag >>> 3) {
|
|
105
|
+
case 1:
|
|
106
|
+
if (tag !== 10) {
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
message.status = reader.string();
|
|
110
|
+
continue;
|
|
111
|
+
case 2:
|
|
112
|
+
if (tag !== 18) {
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
message.message = reader.string();
|
|
116
|
+
continue;
|
|
117
|
+
case 3:
|
|
118
|
+
if (tag !== 26) {
|
|
119
|
+
break;
|
|
120
|
+
}
|
|
121
|
+
message.data = exports.Data.decode(reader, reader.uint32());
|
|
122
|
+
continue;
|
|
123
|
+
}
|
|
124
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
125
|
+
break;
|
|
126
|
+
}
|
|
127
|
+
reader.skipType(tag & 7);
|
|
128
|
+
}
|
|
129
|
+
return message;
|
|
130
|
+
},
|
|
131
|
+
fromJSON(object) {
|
|
132
|
+
return {
|
|
133
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
134
|
+
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
135
|
+
data: isSet(object.data) ? exports.Data.fromJSON(object.data) : undefined,
|
|
136
|
+
};
|
|
137
|
+
},
|
|
138
|
+
toJSON(message) {
|
|
139
|
+
const obj = {};
|
|
140
|
+
if (message.status !== "") {
|
|
141
|
+
obj.status = message.status;
|
|
142
|
+
}
|
|
143
|
+
if (message.message !== "") {
|
|
144
|
+
obj.message = message.message;
|
|
145
|
+
}
|
|
146
|
+
if (message.data !== undefined) {
|
|
147
|
+
obj.data = exports.Data.toJSON(message.data);
|
|
148
|
+
}
|
|
149
|
+
return obj;
|
|
150
|
+
},
|
|
151
|
+
create(base) {
|
|
152
|
+
return exports.getEarningResponse.fromPartial(base ?? {});
|
|
153
|
+
},
|
|
154
|
+
fromPartial(object) {
|
|
155
|
+
const message = createBasegetEarningResponse();
|
|
156
|
+
message.status = object.status ?? "";
|
|
157
|
+
message.message = object.message ?? "";
|
|
158
|
+
message.data = (object.data !== undefined && object.data !== null) ? exports.Data.fromPartial(object.data) : undefined;
|
|
159
|
+
return message;
|
|
160
|
+
},
|
|
161
|
+
};
|
|
162
|
+
function createBaseData() {
|
|
163
|
+
return { locked: 0, unlocked: 0, balance: 0 };
|
|
164
|
+
}
|
|
165
|
+
exports.Data = {
|
|
166
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
167
|
+
if (message.locked !== 0) {
|
|
168
|
+
writer.uint32(13).float(message.locked);
|
|
169
|
+
}
|
|
170
|
+
if (message.unlocked !== 0) {
|
|
171
|
+
writer.uint32(21).float(message.unlocked);
|
|
172
|
+
}
|
|
173
|
+
if (message.balance !== 0) {
|
|
174
|
+
writer.uint32(29).float(message.balance);
|
|
175
|
+
}
|
|
176
|
+
return writer;
|
|
177
|
+
},
|
|
178
|
+
decode(input, length) {
|
|
179
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
180
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
181
|
+
const message = createBaseData();
|
|
182
|
+
while (reader.pos < end) {
|
|
183
|
+
const tag = reader.uint32();
|
|
184
|
+
switch (tag >>> 3) {
|
|
185
|
+
case 1:
|
|
186
|
+
if (tag !== 13) {
|
|
187
|
+
break;
|
|
188
|
+
}
|
|
189
|
+
message.locked = reader.float();
|
|
190
|
+
continue;
|
|
191
|
+
case 2:
|
|
192
|
+
if (tag !== 21) {
|
|
193
|
+
break;
|
|
194
|
+
}
|
|
195
|
+
message.unlocked = reader.float();
|
|
196
|
+
continue;
|
|
197
|
+
case 3:
|
|
198
|
+
if (tag !== 29) {
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
message.balance = reader.float();
|
|
202
|
+
continue;
|
|
203
|
+
}
|
|
204
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
205
|
+
break;
|
|
206
|
+
}
|
|
207
|
+
reader.skipType(tag & 7);
|
|
208
|
+
}
|
|
209
|
+
return message;
|
|
210
|
+
},
|
|
211
|
+
fromJSON(object) {
|
|
212
|
+
return {
|
|
213
|
+
locked: isSet(object.locked) ? globalThis.Number(object.locked) : 0,
|
|
214
|
+
unlocked: isSet(object.unlocked) ? globalThis.Number(object.unlocked) : 0,
|
|
215
|
+
balance: isSet(object.balance) ? globalThis.Number(object.balance) : 0,
|
|
216
|
+
};
|
|
217
|
+
},
|
|
218
|
+
toJSON(message) {
|
|
219
|
+
const obj = {};
|
|
220
|
+
if (message.locked !== 0) {
|
|
221
|
+
obj.locked = message.locked;
|
|
222
|
+
}
|
|
223
|
+
if (message.unlocked !== 0) {
|
|
224
|
+
obj.unlocked = message.unlocked;
|
|
225
|
+
}
|
|
226
|
+
if (message.balance !== 0) {
|
|
227
|
+
obj.balance = message.balance;
|
|
228
|
+
}
|
|
229
|
+
return obj;
|
|
230
|
+
},
|
|
231
|
+
create(base) {
|
|
232
|
+
return exports.Data.fromPartial(base ?? {});
|
|
233
|
+
},
|
|
234
|
+
fromPartial(object) {
|
|
235
|
+
const message = createBaseData();
|
|
236
|
+
message.locked = object.locked ?? 0;
|
|
237
|
+
message.unlocked = object.unlocked ?? 0;
|
|
238
|
+
message.balance = object.balance ?? 0;
|
|
239
|
+
return message;
|
|
240
|
+
},
|
|
241
|
+
};
|
|
242
|
+
function longToNumber(long) {
|
|
243
|
+
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
244
|
+
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
245
|
+
}
|
|
246
|
+
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
247
|
+
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
248
|
+
}
|
|
249
|
+
return long.toNumber();
|
|
250
|
+
}
|
|
251
|
+
if (minimal_1.default.util.Long !== long_1.default) {
|
|
252
|
+
minimal_1.default.util.Long = long_1.default;
|
|
253
|
+
minimal_1.default.configure();
|
|
254
|
+
}
|
|
255
|
+
function isSet(value) {
|
|
256
|
+
return value !== null && value !== undefined;
|
|
257
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
5
|
-
// protoc
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v6.30.2
|
|
6
6
|
// source: stashcash/getscbalance.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
5
|
-
// protoc
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v6.30.2
|
|
6
6
|
// source: stashcash/getschistory.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
5
|
-
// protoc
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v6.30.2
|
|
6
6
|
// source: stashcash/reversesc.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/stashcash.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
2
2
|
import { request as request1, response as response2 } from "./stashcash/creditsc";
|
|
3
3
|
import { request as request7, response as response8 } from "./stashcash/debitsc";
|
|
4
|
+
import { getEarningRequest, getEarningResponse } from "./stashcash/getearnings";
|
|
4
5
|
import { request, response } from "./stashcash/getscbalance";
|
|
5
6
|
import { request as request5, response as response6 } from "./stashcash/getschistory";
|
|
6
7
|
import { request as request3, response as response4 } from "./stashcash/reversesc";
|
|
@@ -52,6 +53,15 @@ export declare const stashcashService: {
|
|
|
52
53
|
readonly responseSerialize: (value: response8) => Buffer;
|
|
53
54
|
readonly responseDeserialize: (value: Buffer) => response8;
|
|
54
55
|
};
|
|
56
|
+
readonly getEarnings: {
|
|
57
|
+
readonly path: "/service.stashcash/getEarnings";
|
|
58
|
+
readonly requestStream: false;
|
|
59
|
+
readonly responseStream: false;
|
|
60
|
+
readonly requestSerialize: (value: getEarningRequest) => Buffer;
|
|
61
|
+
readonly requestDeserialize: (value: Buffer) => getEarningRequest;
|
|
62
|
+
readonly responseSerialize: (value: getEarningResponse) => Buffer;
|
|
63
|
+
readonly responseDeserialize: (value: Buffer) => getEarningResponse;
|
|
64
|
+
};
|
|
55
65
|
};
|
|
56
66
|
export interface stashcashServer extends UntypedServiceImplementation {
|
|
57
67
|
getscbalance: handleUnaryCall<request, response>;
|
|
@@ -59,6 +69,7 @@ export interface stashcashServer extends UntypedServiceImplementation {
|
|
|
59
69
|
reversesc: handleUnaryCall<request3, response4>;
|
|
60
70
|
getschistory: handleUnaryCall<request5, response6>;
|
|
61
71
|
debitsc: handleUnaryCall<request7, response8>;
|
|
72
|
+
getEarnings: handleUnaryCall<getEarningRequest, getEarningResponse>;
|
|
62
73
|
}
|
|
63
74
|
export interface stashcashClient extends Client {
|
|
64
75
|
getscbalance(request: request, callback: (error: ServiceError | null, response: response) => void): ClientUnaryCall;
|
|
@@ -76,6 +87,9 @@ export interface stashcashClient extends Client {
|
|
|
76
87
|
debitsc(request: request7, callback: (error: ServiceError | null, response: response8) => void): ClientUnaryCall;
|
|
77
88
|
debitsc(request: request7, metadata: Metadata, callback: (error: ServiceError | null, response: response8) => void): ClientUnaryCall;
|
|
78
89
|
debitsc(request: request7, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: response8) => void): ClientUnaryCall;
|
|
90
|
+
getEarnings(request: getEarningRequest, callback: (error: ServiceError | null, response: getEarningResponse) => void): ClientUnaryCall;
|
|
91
|
+
getEarnings(request: getEarningRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getEarningResponse) => void): ClientUnaryCall;
|
|
92
|
+
getEarnings(request: getEarningRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getEarningResponse) => void): ClientUnaryCall;
|
|
79
93
|
}
|
|
80
94
|
export declare const stashcashClient: {
|
|
81
95
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): stashcashClient;
|
package/ts/stashcash.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
5
|
-
// protoc
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v6.30.2
|
|
6
6
|
// source: stashcash.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.stashcashClient = exports.stashcashService = exports.protobufPackage = void 0;
|
|
@@ -10,6 +10,7 @@ exports.stashcashClient = exports.stashcashService = exports.protobufPackage = v
|
|
|
10
10
|
const grpc_js_1 = require("@grpc/grpc-js");
|
|
11
11
|
const creditsc_1 = require("./stashcash/creditsc");
|
|
12
12
|
const debitsc_1 = require("./stashcash/debitsc");
|
|
13
|
+
const getearnings_1 = require("./stashcash/getearnings");
|
|
13
14
|
const getscbalance_1 = require("./stashcash/getscbalance");
|
|
14
15
|
const getschistory_1 = require("./stashcash/getschistory");
|
|
15
16
|
const reversesc_1 = require("./stashcash/reversesc");
|
|
@@ -60,5 +61,14 @@ exports.stashcashService = {
|
|
|
60
61
|
responseSerialize: (value) => Buffer.from(debitsc_1.response.encode(value).finish()),
|
|
61
62
|
responseDeserialize: (value) => debitsc_1.response.decode(value),
|
|
62
63
|
},
|
|
64
|
+
getEarnings: {
|
|
65
|
+
path: "/service.stashcash/getEarnings",
|
|
66
|
+
requestStream: false,
|
|
67
|
+
responseStream: false,
|
|
68
|
+
requestSerialize: (value) => Buffer.from(getearnings_1.getEarningRequest.encode(value).finish()),
|
|
69
|
+
requestDeserialize: (value) => getearnings_1.getEarningRequest.decode(value),
|
|
70
|
+
responseSerialize: (value) => Buffer.from(getearnings_1.getEarningResponse.encode(value).finish()),
|
|
71
|
+
responseDeserialize: (value) => getearnings_1.getEarningResponse.decode(value),
|
|
72
|
+
},
|
|
63
73
|
};
|
|
64
74
|
exports.stashcashClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.stashcashService, "service.stashcash");
|
package/ts/upi/addaccount.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
5
|
-
// protoc
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v6.30.2
|
|
6
6
|
// source: upi/addaccount.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "upi.addUpiNumber";
|
|
3
|
+
export interface addUPINumberRequest {
|
|
4
|
+
vpa: string;
|
|
5
|
+
upi_number: string;
|
|
6
|
+
operation: string;
|
|
7
|
+
status: string;
|
|
8
|
+
}
|
|
9
|
+
export interface addUPINumberResponse {
|
|
10
|
+
status: string;
|
|
11
|
+
message: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const addUPINumberRequest: {
|
|
14
|
+
encode(message: addUPINumberRequest, writer?: _m0.Writer): _m0.Writer;
|
|
15
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): addUPINumberRequest;
|
|
16
|
+
fromJSON(object: any): addUPINumberRequest;
|
|
17
|
+
toJSON(message: addUPINumberRequest): unknown;
|
|
18
|
+
create<I extends Exact<DeepPartial<addUPINumberRequest>, I>>(base?: I): addUPINumberRequest;
|
|
19
|
+
fromPartial<I extends Exact<DeepPartial<addUPINumberRequest>, I>>(object: I): addUPINumberRequest;
|
|
20
|
+
};
|
|
21
|
+
export declare const addUPINumberResponse: {
|
|
22
|
+
encode(message: addUPINumberResponse, writer?: _m0.Writer): _m0.Writer;
|
|
23
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): addUPINumberResponse;
|
|
24
|
+
fromJSON(object: any): addUPINumberResponse;
|
|
25
|
+
toJSON(message: addUPINumberResponse): unknown;
|
|
26
|
+
create<I extends Exact<DeepPartial<addUPINumberResponse>, I>>(base?: I): addUPINumberResponse;
|
|
27
|
+
fromPartial<I extends Exact<DeepPartial<addUPINumberResponse>, I>>(object: I): addUPINumberResponse;
|
|
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 {};
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.28.3
|
|
6
|
+
// source: upi/addupinumber.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.addUPINumberResponse = exports.addUPINumberRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "upi.addUpiNumber";
|
|
15
|
+
function createBaseaddUPINumberRequest() {
|
|
16
|
+
return { vpa: "", upi_number: "", operation: "", status: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.addUPINumberRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.vpa !== "") {
|
|
21
|
+
writer.uint32(10).string(message.vpa);
|
|
22
|
+
}
|
|
23
|
+
if (message.upi_number !== "") {
|
|
24
|
+
writer.uint32(18).string(message.upi_number);
|
|
25
|
+
}
|
|
26
|
+
if (message.operation !== "") {
|
|
27
|
+
writer.uint32(26).string(message.operation);
|
|
28
|
+
}
|
|
29
|
+
if (message.status !== "") {
|
|
30
|
+
writer.uint32(34).string(message.status);
|
|
31
|
+
}
|
|
32
|
+
return writer;
|
|
33
|
+
},
|
|
34
|
+
decode(input, length) {
|
|
35
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
36
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
37
|
+
const message = createBaseaddUPINumberRequest();
|
|
38
|
+
while (reader.pos < end) {
|
|
39
|
+
const tag = reader.uint32();
|
|
40
|
+
switch (tag >>> 3) {
|
|
41
|
+
case 1:
|
|
42
|
+
if (tag !== 10) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.vpa = reader.string();
|
|
46
|
+
continue;
|
|
47
|
+
case 2:
|
|
48
|
+
if (tag !== 18) {
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
message.upi_number = reader.string();
|
|
52
|
+
continue;
|
|
53
|
+
case 3:
|
|
54
|
+
if (tag !== 26) {
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
message.operation = reader.string();
|
|
58
|
+
continue;
|
|
59
|
+
case 4:
|
|
60
|
+
if (tag !== 34) {
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
message.status = reader.string();
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
reader.skipType(tag & 7);
|
|
70
|
+
}
|
|
71
|
+
return message;
|
|
72
|
+
},
|
|
73
|
+
fromJSON(object) {
|
|
74
|
+
return {
|
|
75
|
+
vpa: isSet(object.vpa) ? globalThis.String(object.vpa) : "",
|
|
76
|
+
upi_number: isSet(object.upi_number) ? globalThis.String(object.upi_number) : "",
|
|
77
|
+
operation: isSet(object.operation) ? globalThis.String(object.operation) : "",
|
|
78
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
79
|
+
};
|
|
80
|
+
},
|
|
81
|
+
toJSON(message) {
|
|
82
|
+
const obj = {};
|
|
83
|
+
if (message.vpa !== "") {
|
|
84
|
+
obj.vpa = message.vpa;
|
|
85
|
+
}
|
|
86
|
+
if (message.upi_number !== "") {
|
|
87
|
+
obj.upi_number = message.upi_number;
|
|
88
|
+
}
|
|
89
|
+
if (message.operation !== "") {
|
|
90
|
+
obj.operation = message.operation;
|
|
91
|
+
}
|
|
92
|
+
if (message.status !== "") {
|
|
93
|
+
obj.status = message.status;
|
|
94
|
+
}
|
|
95
|
+
return obj;
|
|
96
|
+
},
|
|
97
|
+
create(base) {
|
|
98
|
+
return exports.addUPINumberRequest.fromPartial(base ?? {});
|
|
99
|
+
},
|
|
100
|
+
fromPartial(object) {
|
|
101
|
+
const message = createBaseaddUPINumberRequest();
|
|
102
|
+
message.vpa = object.vpa ?? "";
|
|
103
|
+
message.upi_number = object.upi_number ?? "";
|
|
104
|
+
message.operation = object.operation ?? "";
|
|
105
|
+
message.status = object.status ?? "";
|
|
106
|
+
return message;
|
|
107
|
+
},
|
|
108
|
+
};
|
|
109
|
+
function createBaseaddUPINumberResponse() {
|
|
110
|
+
return { status: "", message: "" };
|
|
111
|
+
}
|
|
112
|
+
exports.addUPINumberResponse = {
|
|
113
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
114
|
+
if (message.status !== "") {
|
|
115
|
+
writer.uint32(10).string(message.status);
|
|
116
|
+
}
|
|
117
|
+
if (message.message !== "") {
|
|
118
|
+
writer.uint32(18).string(message.message);
|
|
119
|
+
}
|
|
120
|
+
return writer;
|
|
121
|
+
},
|
|
122
|
+
decode(input, length) {
|
|
123
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
124
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
125
|
+
const message = createBaseaddUPINumberResponse();
|
|
126
|
+
while (reader.pos < end) {
|
|
127
|
+
const tag = reader.uint32();
|
|
128
|
+
switch (tag >>> 3) {
|
|
129
|
+
case 1:
|
|
130
|
+
if (tag !== 10) {
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
message.status = reader.string();
|
|
134
|
+
continue;
|
|
135
|
+
case 2:
|
|
136
|
+
if (tag !== 18) {
|
|
137
|
+
break;
|
|
138
|
+
}
|
|
139
|
+
message.message = reader.string();
|
|
140
|
+
continue;
|
|
141
|
+
}
|
|
142
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
143
|
+
break;
|
|
144
|
+
}
|
|
145
|
+
reader.skipType(tag & 7);
|
|
146
|
+
}
|
|
147
|
+
return message;
|
|
148
|
+
},
|
|
149
|
+
fromJSON(object) {
|
|
150
|
+
return {
|
|
151
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
152
|
+
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
153
|
+
};
|
|
154
|
+
},
|
|
155
|
+
toJSON(message) {
|
|
156
|
+
const obj = {};
|
|
157
|
+
if (message.status !== "") {
|
|
158
|
+
obj.status = message.status;
|
|
159
|
+
}
|
|
160
|
+
if (message.message !== "") {
|
|
161
|
+
obj.message = message.message;
|
|
162
|
+
}
|
|
163
|
+
return obj;
|
|
164
|
+
},
|
|
165
|
+
create(base) {
|
|
166
|
+
return exports.addUPINumberResponse.fromPartial(base ?? {});
|
|
167
|
+
},
|
|
168
|
+
fromPartial(object) {
|
|
169
|
+
const message = createBaseaddUPINumberResponse();
|
|
170
|
+
message.status = object.status ?? "";
|
|
171
|
+
message.message = object.message ?? "";
|
|
172
|
+
return message;
|
|
173
|
+
},
|
|
174
|
+
};
|
|
175
|
+
function isSet(value) {
|
|
176
|
+
return value !== null && value !== undefined;
|
|
177
|
+
}
|