@stashfin/grpc 1.2.672 → 1.2.674
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/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.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/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.d.ts +390 -0
- package/ts/devupi.js +282 -0
- 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/getbankaccount.d.ts +5 -4
- package/ts/eqxcustomers/getbankaccount.js +33 -19
- 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/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/verifyotp.js +2 -2
- package/ts/eqxcustomers/verifytoken.js +2 -2
- 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.js +2 -2
- package/ts/growth/getattachplandetails.js +2 -2
- package/ts/growth/getchrpaymentstatus.js +2 -2
- package/ts/growth/getchrplans.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/authbridgepancomprehend.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/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.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.js +2 -2
- package/ts/upi/addaccount.d.ts +13 -1
- package/ts/upi/addaccount.js +77 -11
- 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.d.ts +3 -2
- package/ts/upi/blockvpa.js +31 -17
- package/ts/upi/checkderegisterpermission.js +2 -2
- package/ts/upi/checktransactionstatus.d.ts +14 -1
- package/ts/upi/checktransactionstatus.js +90 -8
- package/ts/upi/declinemandate.js +2 -2
- package/ts/upi/deregisterprofile.js +2 -2
- package/ts/upi/getaccountsbyprovider.d.ts +14 -1
- package/ts/upi/getaccountsbyprovider.js +90 -8
- package/ts/upi/getallmandates.d.ts +9 -9
- package/ts/upi/getallmandates.js +15 -13
- package/ts/upi/getavailablevpa.d.ts +12 -1
- package/ts/upi/getavailablevpa.js +61 -11
- package/ts/upi/getlistedaccountproviders.d.ts +24 -12
- package/ts/upi/getlistedaccountproviders.js +101 -34
- package/ts/upi/getmandatedetails.d.ts +9 -9
- package/ts/upi/getmandatedetails.js +15 -13
- package/ts/upi/getmandatehistory.d.ts +9 -9
- package/ts/upi/getmandatehistory.js +15 -13
- package/ts/upi/getpendingcollectrequest.d.ts +9 -9
- package/ts/upi/getpendingcollectrequest.js +15 -13
- package/ts/upi/getprofile.d.ts +13 -0
- package/ts/upi/getprofile.js +89 -7
- package/ts/upi/getrecentcontacts.d.ts +9 -9
- package/ts/upi/getrecentcontacts.js +15 -13
- package/ts/upi/gettransactions.d.ts +9 -9
- package/ts/upi/gettransactions.js +15 -13
- package/ts/upi/getupinumbers.d.ts +9 -9
- package/ts/upi/getupinumbers.js +15 -13
- package/ts/upi/initiatemandateaction.d.ts +9 -9
- package/ts/upi/initiatemandateaction.js +15 -13
- package/ts/upi/initiatetransaction.d.ts +12 -1
- package/ts/upi/initiatetransaction.js +79 -25
- package/ts/upi/listblockedvpa.d.ts +9 -9
- package/ts/upi/listblockedvpa.js +15 -13
- 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.d.ts +9 -9
- package/ts/upi/upinumberoperations.js +15 -13
- package/ts/upi/validateifsc.js +2 -2
- package/ts/upi/validatevpa.d.ts +21 -8
- package/ts/upi/validatevpa.js +90 -8
- package/ts/upi.js +2 -2
- package/ts/loans/getvirtualaccountnumber.d.ts +0 -35
package/ts/upi/addaccount.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.1
|
|
6
6
|
// source: upi/addaccount.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
9
|
};
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.addAccountResponse = exports.addAccountRequest = exports.protobufPackage = void 0;
|
|
11
|
+
exports.addAccountResponse = exports.addAccountResponseData = exports.addAccountRequest = exports.protobufPackage = void 0;
|
|
12
12
|
/* eslint-disable */
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "upi.addAccount";
|
|
@@ -276,17 +276,70 @@ exports.addAccountRequest = {
|
|
|
276
276
|
return message;
|
|
277
277
|
},
|
|
278
278
|
};
|
|
279
|
-
function
|
|
280
|
-
return { acc_number: ""
|
|
279
|
+
function createBaseaddAccountResponseData() {
|
|
280
|
+
return { acc_number: "" };
|
|
281
281
|
}
|
|
282
|
-
exports.
|
|
282
|
+
exports.addAccountResponseData = {
|
|
283
283
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
284
284
|
if (message.acc_number !== "") {
|
|
285
285
|
writer.uint32(10).string(message.acc_number);
|
|
286
286
|
}
|
|
287
|
+
return writer;
|
|
288
|
+
},
|
|
289
|
+
decode(input, length) {
|
|
290
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
291
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
292
|
+
const message = createBaseaddAccountResponseData();
|
|
293
|
+
while (reader.pos < end) {
|
|
294
|
+
const tag = reader.uint32();
|
|
295
|
+
switch (tag >>> 3) {
|
|
296
|
+
case 1:
|
|
297
|
+
if (tag !== 10) {
|
|
298
|
+
break;
|
|
299
|
+
}
|
|
300
|
+
message.acc_number = reader.string();
|
|
301
|
+
continue;
|
|
302
|
+
}
|
|
303
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
304
|
+
break;
|
|
305
|
+
}
|
|
306
|
+
reader.skipType(tag & 7);
|
|
307
|
+
}
|
|
308
|
+
return message;
|
|
309
|
+
},
|
|
310
|
+
fromJSON(object) {
|
|
311
|
+
return { acc_number: isSet(object.acc_number) ? globalThis.String(object.acc_number) : "" };
|
|
312
|
+
},
|
|
313
|
+
toJSON(message) {
|
|
314
|
+
const obj = {};
|
|
315
|
+
if (message.acc_number !== "") {
|
|
316
|
+
obj.acc_number = message.acc_number;
|
|
317
|
+
}
|
|
318
|
+
return obj;
|
|
319
|
+
},
|
|
320
|
+
create(base) {
|
|
321
|
+
return exports.addAccountResponseData.fromPartial(base ?? {});
|
|
322
|
+
},
|
|
323
|
+
fromPartial(object) {
|
|
324
|
+
const message = createBaseaddAccountResponseData();
|
|
325
|
+
message.acc_number = object.acc_number ?? "";
|
|
326
|
+
return message;
|
|
327
|
+
},
|
|
328
|
+
};
|
|
329
|
+
function createBaseaddAccountResponse() {
|
|
330
|
+
return { status: "", message: "", data: undefined };
|
|
331
|
+
}
|
|
332
|
+
exports.addAccountResponse = {
|
|
333
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
334
|
+
if (message.status !== "") {
|
|
335
|
+
writer.uint32(10).string(message.status);
|
|
336
|
+
}
|
|
287
337
|
if (message.message !== "") {
|
|
288
338
|
writer.uint32(18).string(message.message);
|
|
289
339
|
}
|
|
340
|
+
if (message.data !== undefined) {
|
|
341
|
+
exports.addAccountResponseData.encode(message.data, writer.uint32(26).fork()).ldelim();
|
|
342
|
+
}
|
|
290
343
|
return writer;
|
|
291
344
|
},
|
|
292
345
|
decode(input, length) {
|
|
@@ -300,7 +353,7 @@ exports.addAccountResponse = {
|
|
|
300
353
|
if (tag !== 10) {
|
|
301
354
|
break;
|
|
302
355
|
}
|
|
303
|
-
message.
|
|
356
|
+
message.status = reader.string();
|
|
304
357
|
continue;
|
|
305
358
|
case 2:
|
|
306
359
|
if (tag !== 18) {
|
|
@@ -308,6 +361,12 @@ exports.addAccountResponse = {
|
|
|
308
361
|
}
|
|
309
362
|
message.message = reader.string();
|
|
310
363
|
continue;
|
|
364
|
+
case 3:
|
|
365
|
+
if (tag !== 26) {
|
|
366
|
+
break;
|
|
367
|
+
}
|
|
368
|
+
message.data = exports.addAccountResponseData.decode(reader, reader.uint32());
|
|
369
|
+
continue;
|
|
311
370
|
}
|
|
312
371
|
if ((tag & 7) === 4 || tag === 0) {
|
|
313
372
|
break;
|
|
@@ -318,18 +377,22 @@ exports.addAccountResponse = {
|
|
|
318
377
|
},
|
|
319
378
|
fromJSON(object) {
|
|
320
379
|
return {
|
|
321
|
-
|
|
380
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
322
381
|
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
382
|
+
data: isSet(object.data) ? exports.addAccountResponseData.fromJSON(object.data) : undefined,
|
|
323
383
|
};
|
|
324
384
|
},
|
|
325
385
|
toJSON(message) {
|
|
326
386
|
const obj = {};
|
|
327
|
-
if (message.
|
|
328
|
-
obj.
|
|
387
|
+
if (message.status !== "") {
|
|
388
|
+
obj.status = message.status;
|
|
329
389
|
}
|
|
330
390
|
if (message.message !== "") {
|
|
331
391
|
obj.message = message.message;
|
|
332
392
|
}
|
|
393
|
+
if (message.data !== undefined) {
|
|
394
|
+
obj.data = exports.addAccountResponseData.toJSON(message.data);
|
|
395
|
+
}
|
|
333
396
|
return obj;
|
|
334
397
|
},
|
|
335
398
|
create(base) {
|
|
@@ -337,8 +400,11 @@ exports.addAccountResponse = {
|
|
|
337
400
|
},
|
|
338
401
|
fromPartial(object) {
|
|
339
402
|
const message = createBaseaddAccountResponse();
|
|
340
|
-
message.
|
|
403
|
+
message.status = object.status ?? "";
|
|
341
404
|
message.message = object.message ?? "";
|
|
405
|
+
message.data = (object.data !== undefined && object.data !== null)
|
|
406
|
+
? exports.addAccountResponseData.fromPartial(object.data)
|
|
407
|
+
: undefined;
|
|
342
408
|
return message;
|
|
343
409
|
},
|
|
344
410
|
};
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "upi.addvpa";
|
|
3
|
+
export interface addVPARequest {
|
|
4
|
+
vpa: string;
|
|
5
|
+
}
|
|
6
|
+
export interface addVPAResponse {
|
|
7
|
+
status: string;
|
|
8
|
+
message: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const addVPARequest: {
|
|
11
|
+
encode(message: addVPARequest, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): addVPARequest;
|
|
13
|
+
fromJSON(object: any): addVPARequest;
|
|
14
|
+
toJSON(message: addVPARequest): unknown;
|
|
15
|
+
create<I extends Exact<DeepPartial<addVPARequest>, I>>(base?: I): addVPARequest;
|
|
16
|
+
fromPartial<I extends Exact<DeepPartial<addVPARequest>, I>>(object: I): addVPARequest;
|
|
17
|
+
};
|
|
18
|
+
export declare const addVPAResponse: {
|
|
19
|
+
encode(message: addVPAResponse, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): addVPAResponse;
|
|
21
|
+
fromJSON(object: any): addVPAResponse;
|
|
22
|
+
toJSON(message: addVPAResponse): unknown;
|
|
23
|
+
create<I extends Exact<DeepPartial<addVPAResponse>, I>>(base?: I): addVPAResponse;
|
|
24
|
+
fromPartial<I extends Exact<DeepPartial<addVPAResponse>, I>>(object: I): addVPAResponse;
|
|
25
|
+
};
|
|
26
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
27
|
+
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 {} ? {
|
|
28
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
29
|
+
} : Partial<T>;
|
|
30
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
31
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
32
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
33
|
+
} & {
|
|
34
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
35
|
+
};
|
|
36
|
+
export {};
|
package/ts/upi/addvpa.js
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
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/addvpa.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.addVPAResponse = exports.addVPARequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "upi.addvpa";
|
|
15
|
+
function createBaseaddVPARequest() {
|
|
16
|
+
return { vpa: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.addVPARequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.vpa !== "") {
|
|
21
|
+
writer.uint32(10).string(message.vpa);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBaseaddVPARequest();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 10) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.vpa = reader.string();
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
reader.skipType(tag & 7);
|
|
43
|
+
}
|
|
44
|
+
return message;
|
|
45
|
+
},
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { vpa: isSet(object.vpa) ? globalThis.String(object.vpa) : "" };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.vpa !== "") {
|
|
52
|
+
obj.vpa = message.vpa;
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.addVPARequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBaseaddVPARequest();
|
|
61
|
+
message.vpa = object.vpa ?? "";
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBaseaddVPAResponse() {
|
|
66
|
+
return { status: "", message: "" };
|
|
67
|
+
}
|
|
68
|
+
exports.addVPAResponse = {
|
|
69
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
+
if (message.status !== "") {
|
|
71
|
+
writer.uint32(10).string(message.status);
|
|
72
|
+
}
|
|
73
|
+
if (message.message !== "") {
|
|
74
|
+
writer.uint32(18).string(message.message);
|
|
75
|
+
}
|
|
76
|
+
return writer;
|
|
77
|
+
},
|
|
78
|
+
decode(input, length) {
|
|
79
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
80
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
81
|
+
const message = createBaseaddVPAResponse();
|
|
82
|
+
while (reader.pos < end) {
|
|
83
|
+
const tag = reader.uint32();
|
|
84
|
+
switch (tag >>> 3) {
|
|
85
|
+
case 1:
|
|
86
|
+
if (tag !== 10) {
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
message.status = reader.string();
|
|
90
|
+
continue;
|
|
91
|
+
case 2:
|
|
92
|
+
if (tag !== 18) {
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
message.message = reader.string();
|
|
96
|
+
continue;
|
|
97
|
+
}
|
|
98
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
reader.skipType(tag & 7);
|
|
102
|
+
}
|
|
103
|
+
return message;
|
|
104
|
+
},
|
|
105
|
+
fromJSON(object) {
|
|
106
|
+
return {
|
|
107
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
108
|
+
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
109
|
+
};
|
|
110
|
+
},
|
|
111
|
+
toJSON(message) {
|
|
112
|
+
const obj = {};
|
|
113
|
+
if (message.status !== "") {
|
|
114
|
+
obj.status = message.status;
|
|
115
|
+
}
|
|
116
|
+
if (message.message !== "") {
|
|
117
|
+
obj.message = message.message;
|
|
118
|
+
}
|
|
119
|
+
return obj;
|
|
120
|
+
},
|
|
121
|
+
create(base) {
|
|
122
|
+
return exports.addVPAResponse.fromPartial(base ?? {});
|
|
123
|
+
},
|
|
124
|
+
fromPartial(object) {
|
|
125
|
+
const message = createBaseaddVPAResponse();
|
|
126
|
+
message.status = object.status ?? "";
|
|
127
|
+
message.message = object.message ?? "";
|
|
128
|
+
return message;
|
|
129
|
+
},
|
|
130
|
+
};
|
|
131
|
+
function isSet(value) {
|
|
132
|
+
return value !== null && value !== undefined;
|
|
133
|
+
}
|
package/ts/upi/blockvpa.d.ts
CHANGED
|
@@ -2,10 +2,11 @@ import _m0 from "protobufjs/minimal";
|
|
|
2
2
|
export declare const protobufPackage = "upi.blockVPA";
|
|
3
3
|
export interface blockVPARequest {
|
|
4
4
|
reason: string;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
vpa: string;
|
|
6
|
+
block_vpa: string;
|
|
7
7
|
profile_id: string;
|
|
8
8
|
device_id: string;
|
|
9
|
+
mobile: string;
|
|
9
10
|
}
|
|
10
11
|
export interface blockVPAResponse {
|
|
11
12
|
status: string;
|
package/ts/upi/blockvpa.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.1
|
|
6
6
|
// source: upi/blockvpa.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -13,18 +13,18 @@ exports.blockVPAResponse = exports.blockVPARequest = exports.protobufPackage = v
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "upi.blockVPA";
|
|
15
15
|
function createBaseblockVPARequest() {
|
|
16
|
-
return { reason: "",
|
|
16
|
+
return { reason: "", vpa: "", block_vpa: "", profile_id: "", device_id: "", mobile: "" };
|
|
17
17
|
}
|
|
18
18
|
exports.blockVPARequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
20
|
if (message.reason !== "") {
|
|
21
21
|
writer.uint32(10).string(message.reason);
|
|
22
22
|
}
|
|
23
|
-
if (message.
|
|
24
|
-
writer.uint32(18).string(message.
|
|
23
|
+
if (message.vpa !== "") {
|
|
24
|
+
writer.uint32(18).string(message.vpa);
|
|
25
25
|
}
|
|
26
|
-
if (message.
|
|
27
|
-
writer.uint32(26).string(message.
|
|
26
|
+
if (message.block_vpa !== "") {
|
|
27
|
+
writer.uint32(26).string(message.block_vpa);
|
|
28
28
|
}
|
|
29
29
|
if (message.profile_id !== "") {
|
|
30
30
|
writer.uint32(34).string(message.profile_id);
|
|
@@ -32,6 +32,9 @@ exports.blockVPARequest = {
|
|
|
32
32
|
if (message.device_id !== "") {
|
|
33
33
|
writer.uint32(42).string(message.device_id);
|
|
34
34
|
}
|
|
35
|
+
if (message.mobile !== "") {
|
|
36
|
+
writer.uint32(50).string(message.mobile);
|
|
37
|
+
}
|
|
35
38
|
return writer;
|
|
36
39
|
},
|
|
37
40
|
decode(input, length) {
|
|
@@ -51,13 +54,13 @@ exports.blockVPARequest = {
|
|
|
51
54
|
if (tag !== 18) {
|
|
52
55
|
break;
|
|
53
56
|
}
|
|
54
|
-
message.
|
|
57
|
+
message.vpa = reader.string();
|
|
55
58
|
continue;
|
|
56
59
|
case 3:
|
|
57
60
|
if (tag !== 26) {
|
|
58
61
|
break;
|
|
59
62
|
}
|
|
60
|
-
message.
|
|
63
|
+
message.block_vpa = reader.string();
|
|
61
64
|
continue;
|
|
62
65
|
case 4:
|
|
63
66
|
if (tag !== 34) {
|
|
@@ -71,6 +74,12 @@ exports.blockVPARequest = {
|
|
|
71
74
|
}
|
|
72
75
|
message.device_id = reader.string();
|
|
73
76
|
continue;
|
|
77
|
+
case 6:
|
|
78
|
+
if (tag !== 50) {
|
|
79
|
+
break;
|
|
80
|
+
}
|
|
81
|
+
message.mobile = reader.string();
|
|
82
|
+
continue;
|
|
74
83
|
}
|
|
75
84
|
if ((tag & 7) === 4 || tag === 0) {
|
|
76
85
|
break;
|
|
@@ -82,10 +91,11 @@ exports.blockVPARequest = {
|
|
|
82
91
|
fromJSON(object) {
|
|
83
92
|
return {
|
|
84
93
|
reason: isSet(object.reason) ? globalThis.String(object.reason) : "",
|
|
85
|
-
|
|
86
|
-
|
|
94
|
+
vpa: isSet(object.vpa) ? globalThis.String(object.vpa) : "",
|
|
95
|
+
block_vpa: isSet(object.block_vpa) ? globalThis.String(object.block_vpa) : "",
|
|
87
96
|
profile_id: isSet(object.profile_id) ? globalThis.String(object.profile_id) : "",
|
|
88
97
|
device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
|
|
98
|
+
mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "",
|
|
89
99
|
};
|
|
90
100
|
},
|
|
91
101
|
toJSON(message) {
|
|
@@ -93,11 +103,11 @@ exports.blockVPARequest = {
|
|
|
93
103
|
if (message.reason !== "") {
|
|
94
104
|
obj.reason = message.reason;
|
|
95
105
|
}
|
|
96
|
-
if (message.
|
|
97
|
-
obj.
|
|
106
|
+
if (message.vpa !== "") {
|
|
107
|
+
obj.vpa = message.vpa;
|
|
98
108
|
}
|
|
99
|
-
if (message.
|
|
100
|
-
obj.
|
|
109
|
+
if (message.block_vpa !== "") {
|
|
110
|
+
obj.block_vpa = message.block_vpa;
|
|
101
111
|
}
|
|
102
112
|
if (message.profile_id !== "") {
|
|
103
113
|
obj.profile_id = message.profile_id;
|
|
@@ -105,6 +115,9 @@ exports.blockVPARequest = {
|
|
|
105
115
|
if (message.device_id !== "") {
|
|
106
116
|
obj.device_id = message.device_id;
|
|
107
117
|
}
|
|
118
|
+
if (message.mobile !== "") {
|
|
119
|
+
obj.mobile = message.mobile;
|
|
120
|
+
}
|
|
108
121
|
return obj;
|
|
109
122
|
},
|
|
110
123
|
create(base) {
|
|
@@ -113,10 +126,11 @@ exports.blockVPARequest = {
|
|
|
113
126
|
fromPartial(object) {
|
|
114
127
|
const message = createBaseblockVPARequest();
|
|
115
128
|
message.reason = object.reason ?? "";
|
|
116
|
-
message.
|
|
117
|
-
message.
|
|
129
|
+
message.vpa = object.vpa ?? "";
|
|
130
|
+
message.block_vpa = object.block_vpa ?? "";
|
|
118
131
|
message.profile_id = object.profile_id ?? "";
|
|
119
132
|
message.device_id = object.device_id ?? "";
|
|
133
|
+
message.mobile = object.mobile ?? "";
|
|
120
134
|
return message;
|
|
121
135
|
},
|
|
122
136
|
};
|