@stashfin/grpc 1.2.777 → 1.2.779
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/processwebhook.d.ts +83 -0
- package/ts/bbps/processwebhook.js +468 -0
- package/ts/bbps.d.ts +14 -0
- package/ts/bbps.js +12 -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/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/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/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/sendotp.js +2 -2
- package/ts/customers/sendotptoemail.js +2 -2
- package/ts/customers/setmpin.js +2 -2
- package/ts/customers/skipscreen.js +2 -2
- 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/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/eqxpayments/checkpaymentstatus.js +2 -2
- package/ts/eqxpayments/fundtransfer.js +2 -2
- package/ts/eqxpayments/getpaymentoptions.js +2 -2
- package/ts/eqxpayments/initiatepayment.js +2 -2
- package/ts/eqxpayments/nachpresentation.js +2 -2
- package/ts/eqxpayments/nachregistration.js +2 -2
- package/ts/eqxpayments.js +2 -2
- package/ts/example.js +2 -2
- package/ts/feepayments/getbanklist.js +2 -2
- package/ts/feepayments.js +2 -2
- 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 +0 -42
- package/ts/growth/getchrreport.js +4 -300
- 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/ckycsearchv1.d.ts +40 -0
- package/ts/{upi/addupinumber.js → kyc/ckycsearchv1.js} +77 -63
- 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/getselfietxnid.js +2 -2
- package/ts/kyc/getselfieurl.js +2 -2
- package/ts/kyc/nsdlpanvalidate.js +2 -2
- package/ts/kyc/okyclinkhyperverge.js +2 -2
- package/ts/kyc.d.ts +14 -0
- package/ts/kyc.js +12 -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/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/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/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/getvirtualaccountnumber.d.ts +35 -0
- package/ts/{customers/verifyemail.js → loans/getvirtualaccountnumber.js} +32 -32
- 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.js +2 -2
- package/ts/stashcash/debitsc.js +2 -2
- package/ts/stashcash/getearnings.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.js +2 -2
- 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/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/customers/getcustomer.d.ts +0 -57
- package/ts/customers/getcustomer.js +0 -351
- package/ts/customers/getrecommendedtag.d.ts +0 -35
- package/ts/customers/getrecommendedtag.js +0 -134
- package/ts/customers/getrpdlink.d.ts +0 -40
- package/ts/customers/getrpdlink.js +0 -190
- package/ts/customers/kyc/epfo.d.ts +0 -38
- package/ts/customers/kyc/epfo.js +0 -149
- package/ts/customers/sendemailtoken.d.ts +0 -35
- package/ts/customers/sendemailtoken.js +0 -117
- package/ts/customers/skipdlrcscreen.d.ts +0 -35
- package/ts/customers/skipdlrcscreen.js +0 -117
- package/ts/customers/step1.d.ts +0 -69
- package/ts/customers/step1.js +0 -395
- package/ts/customers/step10.d.ts +0 -73
- package/ts/customers/step10.js +0 -459
- package/ts/customers/step2.d.ts +0 -68
- package/ts/customers/step2.js +0 -381
- package/ts/customers/step7.d.ts +0 -68
- package/ts/customers/step7.js +0 -381
- package/ts/customers/step8.d.ts +0 -69
- package/ts/customers/step8.js +0 -395
- package/ts/customers/step9.d.ts +0 -75
- package/ts/customers/step9.js +0 -489
- package/ts/customers/stepstatic.d.ts +0 -66
- package/ts/customers/stepstatic.js +0 -354
- package/ts/customers/verifyemail.d.ts +0 -35
- package/ts/google/protobuf/struct.d.ts +0 -121
- package/ts/google/protobuf/struct.js +0 -449
- package/ts/google/protobuf/timestamp.d.ts +0 -127
- package/ts/google/protobuf/timestamp.js +0 -97
- package/ts/kyc/epfo/fetchUANList.d.ts +0 -35
- package/ts/kyc/epfo/fetchUANList.js +0 -119
- package/ts/kyc/getselfietxn.d.ts +0 -37
- package/ts/kyc/getselfietxn.js +0 -161
- package/ts/loans/addrefrences.d.ts +0 -49
- package/ts/loans/addrefrences.js +0 -229
- package/ts/loans/getlocpartnerconfirm.d.ts +0 -46
- package/ts/loans/getlocpartnerconfirm.js +0 -287
- package/ts/loans/getlocpartnertenure.d.ts +0 -57
- package/ts/loans/getlocpartnertenure.js +0 -339
- package/ts/loans/getpartnerlocwithdraw.d.ts +0 -111
- package/ts/loans/getpartnerlocwithdraw.js +0 -1289
- package/ts/upi/addupinumber.d.ts +0 -39
- package/ts/upi/addvpa.d.ts +0 -36
- package/ts/upi/addvpa.js +0 -133
- package/ts/upi/suggestvpa.d.ts +0 -35
- package/ts/upi/suggestvpa.js +0 -122
package/package.json
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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: banking/aa/getaasupport.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: banking/aa/getbanklist.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: banking/aa/getcustomerbank.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: banking/aa/getrpdlink.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: banking/aa/initiate.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: banking/aa/initiatepennydrop.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: banking/aa/netbankinginitiate.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: banking/aa/pollingrpd.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/banking.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: banking.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.bankingClient = exports.bankingService = exports.protobufPackage = void 0;
|
package/ts/bbps/getbills.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: bbps/getbills.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "bbps.processwebhook";
|
|
3
|
+
/** Request message */
|
|
4
|
+
export interface BDTransactionRequest {
|
|
5
|
+
metadata: string;
|
|
6
|
+
}
|
|
7
|
+
/** Transaction response message */
|
|
8
|
+
export interface TxnResponse {
|
|
9
|
+
id: number;
|
|
10
|
+
customer_id: number;
|
|
11
|
+
utility_name: string;
|
|
12
|
+
provider_name: string;
|
|
13
|
+
/** optional / nullable */
|
|
14
|
+
provider_logo?: string | undefined;
|
|
15
|
+
/** nullable */
|
|
16
|
+
account_no?: string | undefined;
|
|
17
|
+
final_amount: number;
|
|
18
|
+
status: string;
|
|
19
|
+
txn_id: string;
|
|
20
|
+
order_id: string;
|
|
21
|
+
/** optional / nullable */
|
|
22
|
+
bbps_ref_no?: string | undefined;
|
|
23
|
+
/** optional */
|
|
24
|
+
source_ref_no?: string | undefined;
|
|
25
|
+
/** use ISO 8601 string or Timestamp */
|
|
26
|
+
paid_at: string;
|
|
27
|
+
/** optional / nullable */
|
|
28
|
+
biller_status?: string | undefined;
|
|
29
|
+
}
|
|
30
|
+
/** Auth session response message */
|
|
31
|
+
export interface AuthSessionResponse {
|
|
32
|
+
customer_id: number;
|
|
33
|
+
auth_token?: string | undefined;
|
|
34
|
+
device_id?: string | undefined;
|
|
35
|
+
}
|
|
36
|
+
/** Combined response */
|
|
37
|
+
export interface BDTransactionResponse {
|
|
38
|
+
txnResponse: TxnResponse | undefined;
|
|
39
|
+
authSessionResponse: AuthSessionResponse | undefined;
|
|
40
|
+
}
|
|
41
|
+
export declare const BDTransactionRequest: {
|
|
42
|
+
encode(message: BDTransactionRequest, writer?: _m0.Writer): _m0.Writer;
|
|
43
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BDTransactionRequest;
|
|
44
|
+
fromJSON(object: any): BDTransactionRequest;
|
|
45
|
+
toJSON(message: BDTransactionRequest): unknown;
|
|
46
|
+
create<I extends Exact<DeepPartial<BDTransactionRequest>, I>>(base?: I): BDTransactionRequest;
|
|
47
|
+
fromPartial<I extends Exact<DeepPartial<BDTransactionRequest>, I>>(object: I): BDTransactionRequest;
|
|
48
|
+
};
|
|
49
|
+
export declare const TxnResponse: {
|
|
50
|
+
encode(message: TxnResponse, writer?: _m0.Writer): _m0.Writer;
|
|
51
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TxnResponse;
|
|
52
|
+
fromJSON(object: any): TxnResponse;
|
|
53
|
+
toJSON(message: TxnResponse): unknown;
|
|
54
|
+
create<I extends Exact<DeepPartial<TxnResponse>, I>>(base?: I): TxnResponse;
|
|
55
|
+
fromPartial<I extends Exact<DeepPartial<TxnResponse>, I>>(object: I): TxnResponse;
|
|
56
|
+
};
|
|
57
|
+
export declare const AuthSessionResponse: {
|
|
58
|
+
encode(message: AuthSessionResponse, writer?: _m0.Writer): _m0.Writer;
|
|
59
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): AuthSessionResponse;
|
|
60
|
+
fromJSON(object: any): AuthSessionResponse;
|
|
61
|
+
toJSON(message: AuthSessionResponse): unknown;
|
|
62
|
+
create<I extends Exact<DeepPartial<AuthSessionResponse>, I>>(base?: I): AuthSessionResponse;
|
|
63
|
+
fromPartial<I extends Exact<DeepPartial<AuthSessionResponse>, I>>(object: I): AuthSessionResponse;
|
|
64
|
+
};
|
|
65
|
+
export declare const BDTransactionResponse: {
|
|
66
|
+
encode(message: BDTransactionResponse, writer?: _m0.Writer): _m0.Writer;
|
|
67
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BDTransactionResponse;
|
|
68
|
+
fromJSON(object: any): BDTransactionResponse;
|
|
69
|
+
toJSON(message: BDTransactionResponse): unknown;
|
|
70
|
+
create<I extends Exact<DeepPartial<BDTransactionResponse>, I>>(base?: I): BDTransactionResponse;
|
|
71
|
+
fromPartial<I extends Exact<DeepPartial<BDTransactionResponse>, I>>(object: I): BDTransactionResponse;
|
|
72
|
+
};
|
|
73
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
74
|
+
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 {} ? {
|
|
75
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
76
|
+
} : Partial<T>;
|
|
77
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
78
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
79
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
80
|
+
} & {
|
|
81
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
82
|
+
};
|
|
83
|
+
export {};
|
|
@@ -0,0 +1,468 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
|
+
// source: bbps/processwebhook.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.BDTransactionResponse = exports.AuthSessionResponse = exports.TxnResponse = exports.BDTransactionRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "bbps.processwebhook";
|
|
15
|
+
function createBaseBDTransactionRequest() {
|
|
16
|
+
return { metadata: "" };
|
|
17
|
+
}
|
|
18
|
+
exports.BDTransactionRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.metadata !== "") {
|
|
21
|
+
writer.uint32(10).string(message.metadata);
|
|
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 = createBaseBDTransactionRequest();
|
|
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.metadata = 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 { metadata: isSet(object.metadata) ? globalThis.String(object.metadata) : "" };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.metadata !== "") {
|
|
52
|
+
obj.metadata = message.metadata;
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.BDTransactionRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBaseBDTransactionRequest();
|
|
61
|
+
message.metadata = object.metadata ?? "";
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBaseTxnResponse() {
|
|
66
|
+
return {
|
|
67
|
+
id: 0,
|
|
68
|
+
customer_id: 0,
|
|
69
|
+
utility_name: "",
|
|
70
|
+
provider_name: "",
|
|
71
|
+
provider_logo: undefined,
|
|
72
|
+
account_no: undefined,
|
|
73
|
+
final_amount: 0,
|
|
74
|
+
status: "",
|
|
75
|
+
txn_id: "",
|
|
76
|
+
order_id: "",
|
|
77
|
+
bbps_ref_no: undefined,
|
|
78
|
+
source_ref_no: undefined,
|
|
79
|
+
paid_at: "",
|
|
80
|
+
biller_status: undefined,
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
exports.TxnResponse = {
|
|
84
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
85
|
+
if (message.id !== 0) {
|
|
86
|
+
writer.uint32(8).int32(message.id);
|
|
87
|
+
}
|
|
88
|
+
if (message.customer_id !== 0) {
|
|
89
|
+
writer.uint32(16).int32(message.customer_id);
|
|
90
|
+
}
|
|
91
|
+
if (message.utility_name !== "") {
|
|
92
|
+
writer.uint32(26).string(message.utility_name);
|
|
93
|
+
}
|
|
94
|
+
if (message.provider_name !== "") {
|
|
95
|
+
writer.uint32(34).string(message.provider_name);
|
|
96
|
+
}
|
|
97
|
+
if (message.provider_logo !== undefined) {
|
|
98
|
+
writer.uint32(42).string(message.provider_logo);
|
|
99
|
+
}
|
|
100
|
+
if (message.account_no !== undefined) {
|
|
101
|
+
writer.uint32(50).string(message.account_no);
|
|
102
|
+
}
|
|
103
|
+
if (message.final_amount !== 0) {
|
|
104
|
+
writer.uint32(57).double(message.final_amount);
|
|
105
|
+
}
|
|
106
|
+
if (message.status !== "") {
|
|
107
|
+
writer.uint32(66).string(message.status);
|
|
108
|
+
}
|
|
109
|
+
if (message.txn_id !== "") {
|
|
110
|
+
writer.uint32(74).string(message.txn_id);
|
|
111
|
+
}
|
|
112
|
+
if (message.order_id !== "") {
|
|
113
|
+
writer.uint32(82).string(message.order_id);
|
|
114
|
+
}
|
|
115
|
+
if (message.bbps_ref_no !== undefined) {
|
|
116
|
+
writer.uint32(90).string(message.bbps_ref_no);
|
|
117
|
+
}
|
|
118
|
+
if (message.source_ref_no !== undefined) {
|
|
119
|
+
writer.uint32(98).string(message.source_ref_no);
|
|
120
|
+
}
|
|
121
|
+
if (message.paid_at !== "") {
|
|
122
|
+
writer.uint32(106).string(message.paid_at);
|
|
123
|
+
}
|
|
124
|
+
if (message.biller_status !== undefined) {
|
|
125
|
+
writer.uint32(114).string(message.biller_status);
|
|
126
|
+
}
|
|
127
|
+
return writer;
|
|
128
|
+
},
|
|
129
|
+
decode(input, length) {
|
|
130
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
131
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
132
|
+
const message = createBaseTxnResponse();
|
|
133
|
+
while (reader.pos < end) {
|
|
134
|
+
const tag = reader.uint32();
|
|
135
|
+
switch (tag >>> 3) {
|
|
136
|
+
case 1:
|
|
137
|
+
if (tag !== 8) {
|
|
138
|
+
break;
|
|
139
|
+
}
|
|
140
|
+
message.id = reader.int32();
|
|
141
|
+
continue;
|
|
142
|
+
case 2:
|
|
143
|
+
if (tag !== 16) {
|
|
144
|
+
break;
|
|
145
|
+
}
|
|
146
|
+
message.customer_id = reader.int32();
|
|
147
|
+
continue;
|
|
148
|
+
case 3:
|
|
149
|
+
if (tag !== 26) {
|
|
150
|
+
break;
|
|
151
|
+
}
|
|
152
|
+
message.utility_name = reader.string();
|
|
153
|
+
continue;
|
|
154
|
+
case 4:
|
|
155
|
+
if (tag !== 34) {
|
|
156
|
+
break;
|
|
157
|
+
}
|
|
158
|
+
message.provider_name = reader.string();
|
|
159
|
+
continue;
|
|
160
|
+
case 5:
|
|
161
|
+
if (tag !== 42) {
|
|
162
|
+
break;
|
|
163
|
+
}
|
|
164
|
+
message.provider_logo = reader.string();
|
|
165
|
+
continue;
|
|
166
|
+
case 6:
|
|
167
|
+
if (tag !== 50) {
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
message.account_no = reader.string();
|
|
171
|
+
continue;
|
|
172
|
+
case 7:
|
|
173
|
+
if (tag !== 57) {
|
|
174
|
+
break;
|
|
175
|
+
}
|
|
176
|
+
message.final_amount = reader.double();
|
|
177
|
+
continue;
|
|
178
|
+
case 8:
|
|
179
|
+
if (tag !== 66) {
|
|
180
|
+
break;
|
|
181
|
+
}
|
|
182
|
+
message.status = reader.string();
|
|
183
|
+
continue;
|
|
184
|
+
case 9:
|
|
185
|
+
if (tag !== 74) {
|
|
186
|
+
break;
|
|
187
|
+
}
|
|
188
|
+
message.txn_id = reader.string();
|
|
189
|
+
continue;
|
|
190
|
+
case 10:
|
|
191
|
+
if (tag !== 82) {
|
|
192
|
+
break;
|
|
193
|
+
}
|
|
194
|
+
message.order_id = reader.string();
|
|
195
|
+
continue;
|
|
196
|
+
case 11:
|
|
197
|
+
if (tag !== 90) {
|
|
198
|
+
break;
|
|
199
|
+
}
|
|
200
|
+
message.bbps_ref_no = reader.string();
|
|
201
|
+
continue;
|
|
202
|
+
case 12:
|
|
203
|
+
if (tag !== 98) {
|
|
204
|
+
break;
|
|
205
|
+
}
|
|
206
|
+
message.source_ref_no = reader.string();
|
|
207
|
+
continue;
|
|
208
|
+
case 13:
|
|
209
|
+
if (tag !== 106) {
|
|
210
|
+
break;
|
|
211
|
+
}
|
|
212
|
+
message.paid_at = reader.string();
|
|
213
|
+
continue;
|
|
214
|
+
case 14:
|
|
215
|
+
if (tag !== 114) {
|
|
216
|
+
break;
|
|
217
|
+
}
|
|
218
|
+
message.biller_status = reader.string();
|
|
219
|
+
continue;
|
|
220
|
+
}
|
|
221
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
222
|
+
break;
|
|
223
|
+
}
|
|
224
|
+
reader.skipType(tag & 7);
|
|
225
|
+
}
|
|
226
|
+
return message;
|
|
227
|
+
},
|
|
228
|
+
fromJSON(object) {
|
|
229
|
+
return {
|
|
230
|
+
id: isSet(object.id) ? globalThis.Number(object.id) : 0,
|
|
231
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
232
|
+
utility_name: isSet(object.utility_name) ? globalThis.String(object.utility_name) : "",
|
|
233
|
+
provider_name: isSet(object.provider_name) ? globalThis.String(object.provider_name) : "",
|
|
234
|
+
provider_logo: isSet(object.provider_logo) ? globalThis.String(object.provider_logo) : undefined,
|
|
235
|
+
account_no: isSet(object.account_no) ? globalThis.String(object.account_no) : undefined,
|
|
236
|
+
final_amount: isSet(object.final_amount) ? globalThis.Number(object.final_amount) : 0,
|
|
237
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
238
|
+
txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
|
|
239
|
+
order_id: isSet(object.order_id) ? globalThis.String(object.order_id) : "",
|
|
240
|
+
bbps_ref_no: isSet(object.bbps_ref_no) ? globalThis.String(object.bbps_ref_no) : undefined,
|
|
241
|
+
source_ref_no: isSet(object.source_ref_no) ? globalThis.String(object.source_ref_no) : undefined,
|
|
242
|
+
paid_at: isSet(object.paid_at) ? globalThis.String(object.paid_at) : "",
|
|
243
|
+
biller_status: isSet(object.biller_status) ? globalThis.String(object.biller_status) : undefined,
|
|
244
|
+
};
|
|
245
|
+
},
|
|
246
|
+
toJSON(message) {
|
|
247
|
+
const obj = {};
|
|
248
|
+
if (message.id !== 0) {
|
|
249
|
+
obj.id = Math.round(message.id);
|
|
250
|
+
}
|
|
251
|
+
if (message.customer_id !== 0) {
|
|
252
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
253
|
+
}
|
|
254
|
+
if (message.utility_name !== "") {
|
|
255
|
+
obj.utility_name = message.utility_name;
|
|
256
|
+
}
|
|
257
|
+
if (message.provider_name !== "") {
|
|
258
|
+
obj.provider_name = message.provider_name;
|
|
259
|
+
}
|
|
260
|
+
if (message.provider_logo !== undefined) {
|
|
261
|
+
obj.provider_logo = message.provider_logo;
|
|
262
|
+
}
|
|
263
|
+
if (message.account_no !== undefined) {
|
|
264
|
+
obj.account_no = message.account_no;
|
|
265
|
+
}
|
|
266
|
+
if (message.final_amount !== 0) {
|
|
267
|
+
obj.final_amount = message.final_amount;
|
|
268
|
+
}
|
|
269
|
+
if (message.status !== "") {
|
|
270
|
+
obj.status = message.status;
|
|
271
|
+
}
|
|
272
|
+
if (message.txn_id !== "") {
|
|
273
|
+
obj.txn_id = message.txn_id;
|
|
274
|
+
}
|
|
275
|
+
if (message.order_id !== "") {
|
|
276
|
+
obj.order_id = message.order_id;
|
|
277
|
+
}
|
|
278
|
+
if (message.bbps_ref_no !== undefined) {
|
|
279
|
+
obj.bbps_ref_no = message.bbps_ref_no;
|
|
280
|
+
}
|
|
281
|
+
if (message.source_ref_no !== undefined) {
|
|
282
|
+
obj.source_ref_no = message.source_ref_no;
|
|
283
|
+
}
|
|
284
|
+
if (message.paid_at !== "") {
|
|
285
|
+
obj.paid_at = message.paid_at;
|
|
286
|
+
}
|
|
287
|
+
if (message.biller_status !== undefined) {
|
|
288
|
+
obj.biller_status = message.biller_status;
|
|
289
|
+
}
|
|
290
|
+
return obj;
|
|
291
|
+
},
|
|
292
|
+
create(base) {
|
|
293
|
+
return exports.TxnResponse.fromPartial(base ?? {});
|
|
294
|
+
},
|
|
295
|
+
fromPartial(object) {
|
|
296
|
+
const message = createBaseTxnResponse();
|
|
297
|
+
message.id = object.id ?? 0;
|
|
298
|
+
message.customer_id = object.customer_id ?? 0;
|
|
299
|
+
message.utility_name = object.utility_name ?? "";
|
|
300
|
+
message.provider_name = object.provider_name ?? "";
|
|
301
|
+
message.provider_logo = object.provider_logo ?? undefined;
|
|
302
|
+
message.account_no = object.account_no ?? undefined;
|
|
303
|
+
message.final_amount = object.final_amount ?? 0;
|
|
304
|
+
message.status = object.status ?? "";
|
|
305
|
+
message.txn_id = object.txn_id ?? "";
|
|
306
|
+
message.order_id = object.order_id ?? "";
|
|
307
|
+
message.bbps_ref_no = object.bbps_ref_no ?? undefined;
|
|
308
|
+
message.source_ref_no = object.source_ref_no ?? undefined;
|
|
309
|
+
message.paid_at = object.paid_at ?? "";
|
|
310
|
+
message.biller_status = object.biller_status ?? undefined;
|
|
311
|
+
return message;
|
|
312
|
+
},
|
|
313
|
+
};
|
|
314
|
+
function createBaseAuthSessionResponse() {
|
|
315
|
+
return { customer_id: 0, auth_token: undefined, device_id: undefined };
|
|
316
|
+
}
|
|
317
|
+
exports.AuthSessionResponse = {
|
|
318
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
319
|
+
if (message.customer_id !== 0) {
|
|
320
|
+
writer.uint32(8).int32(message.customer_id);
|
|
321
|
+
}
|
|
322
|
+
if (message.auth_token !== undefined) {
|
|
323
|
+
writer.uint32(18).string(message.auth_token);
|
|
324
|
+
}
|
|
325
|
+
if (message.device_id !== undefined) {
|
|
326
|
+
writer.uint32(26).string(message.device_id);
|
|
327
|
+
}
|
|
328
|
+
return writer;
|
|
329
|
+
},
|
|
330
|
+
decode(input, length) {
|
|
331
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
332
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
333
|
+
const message = createBaseAuthSessionResponse();
|
|
334
|
+
while (reader.pos < end) {
|
|
335
|
+
const tag = reader.uint32();
|
|
336
|
+
switch (tag >>> 3) {
|
|
337
|
+
case 1:
|
|
338
|
+
if (tag !== 8) {
|
|
339
|
+
break;
|
|
340
|
+
}
|
|
341
|
+
message.customer_id = reader.int32();
|
|
342
|
+
continue;
|
|
343
|
+
case 2:
|
|
344
|
+
if (tag !== 18) {
|
|
345
|
+
break;
|
|
346
|
+
}
|
|
347
|
+
message.auth_token = reader.string();
|
|
348
|
+
continue;
|
|
349
|
+
case 3:
|
|
350
|
+
if (tag !== 26) {
|
|
351
|
+
break;
|
|
352
|
+
}
|
|
353
|
+
message.device_id = reader.string();
|
|
354
|
+
continue;
|
|
355
|
+
}
|
|
356
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
357
|
+
break;
|
|
358
|
+
}
|
|
359
|
+
reader.skipType(tag & 7);
|
|
360
|
+
}
|
|
361
|
+
return message;
|
|
362
|
+
},
|
|
363
|
+
fromJSON(object) {
|
|
364
|
+
return {
|
|
365
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
366
|
+
auth_token: isSet(object.auth_token) ? globalThis.String(object.auth_token) : undefined,
|
|
367
|
+
device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : undefined,
|
|
368
|
+
};
|
|
369
|
+
},
|
|
370
|
+
toJSON(message) {
|
|
371
|
+
const obj = {};
|
|
372
|
+
if (message.customer_id !== 0) {
|
|
373
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
374
|
+
}
|
|
375
|
+
if (message.auth_token !== undefined) {
|
|
376
|
+
obj.auth_token = message.auth_token;
|
|
377
|
+
}
|
|
378
|
+
if (message.device_id !== undefined) {
|
|
379
|
+
obj.device_id = message.device_id;
|
|
380
|
+
}
|
|
381
|
+
return obj;
|
|
382
|
+
},
|
|
383
|
+
create(base) {
|
|
384
|
+
return exports.AuthSessionResponse.fromPartial(base ?? {});
|
|
385
|
+
},
|
|
386
|
+
fromPartial(object) {
|
|
387
|
+
const message = createBaseAuthSessionResponse();
|
|
388
|
+
message.customer_id = object.customer_id ?? 0;
|
|
389
|
+
message.auth_token = object.auth_token ?? undefined;
|
|
390
|
+
message.device_id = object.device_id ?? undefined;
|
|
391
|
+
return message;
|
|
392
|
+
},
|
|
393
|
+
};
|
|
394
|
+
function createBaseBDTransactionResponse() {
|
|
395
|
+
return { txnResponse: undefined, authSessionResponse: undefined };
|
|
396
|
+
}
|
|
397
|
+
exports.BDTransactionResponse = {
|
|
398
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
399
|
+
if (message.txnResponse !== undefined) {
|
|
400
|
+
exports.TxnResponse.encode(message.txnResponse, writer.uint32(10).fork()).ldelim();
|
|
401
|
+
}
|
|
402
|
+
if (message.authSessionResponse !== undefined) {
|
|
403
|
+
exports.AuthSessionResponse.encode(message.authSessionResponse, writer.uint32(18).fork()).ldelim();
|
|
404
|
+
}
|
|
405
|
+
return writer;
|
|
406
|
+
},
|
|
407
|
+
decode(input, length) {
|
|
408
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
409
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
410
|
+
const message = createBaseBDTransactionResponse();
|
|
411
|
+
while (reader.pos < end) {
|
|
412
|
+
const tag = reader.uint32();
|
|
413
|
+
switch (tag >>> 3) {
|
|
414
|
+
case 1:
|
|
415
|
+
if (tag !== 10) {
|
|
416
|
+
break;
|
|
417
|
+
}
|
|
418
|
+
message.txnResponse = exports.TxnResponse.decode(reader, reader.uint32());
|
|
419
|
+
continue;
|
|
420
|
+
case 2:
|
|
421
|
+
if (tag !== 18) {
|
|
422
|
+
break;
|
|
423
|
+
}
|
|
424
|
+
message.authSessionResponse = exports.AuthSessionResponse.decode(reader, reader.uint32());
|
|
425
|
+
continue;
|
|
426
|
+
}
|
|
427
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
428
|
+
break;
|
|
429
|
+
}
|
|
430
|
+
reader.skipType(tag & 7);
|
|
431
|
+
}
|
|
432
|
+
return message;
|
|
433
|
+
},
|
|
434
|
+
fromJSON(object) {
|
|
435
|
+
return {
|
|
436
|
+
txnResponse: isSet(object.txnResponse) ? exports.TxnResponse.fromJSON(object.txnResponse) : undefined,
|
|
437
|
+
authSessionResponse: isSet(object.authSessionResponse)
|
|
438
|
+
? exports.AuthSessionResponse.fromJSON(object.authSessionResponse)
|
|
439
|
+
: undefined,
|
|
440
|
+
};
|
|
441
|
+
},
|
|
442
|
+
toJSON(message) {
|
|
443
|
+
const obj = {};
|
|
444
|
+
if (message.txnResponse !== undefined) {
|
|
445
|
+
obj.txnResponse = exports.TxnResponse.toJSON(message.txnResponse);
|
|
446
|
+
}
|
|
447
|
+
if (message.authSessionResponse !== undefined) {
|
|
448
|
+
obj.authSessionResponse = exports.AuthSessionResponse.toJSON(message.authSessionResponse);
|
|
449
|
+
}
|
|
450
|
+
return obj;
|
|
451
|
+
},
|
|
452
|
+
create(base) {
|
|
453
|
+
return exports.BDTransactionResponse.fromPartial(base ?? {});
|
|
454
|
+
},
|
|
455
|
+
fromPartial(object) {
|
|
456
|
+
const message = createBaseBDTransactionResponse();
|
|
457
|
+
message.txnResponse = (object.txnResponse !== undefined && object.txnResponse !== null)
|
|
458
|
+
? exports.TxnResponse.fromPartial(object.txnResponse)
|
|
459
|
+
: undefined;
|
|
460
|
+
message.authSessionResponse = (object.authSessionResponse !== undefined && object.authSessionResponse !== null)
|
|
461
|
+
? exports.AuthSessionResponse.fromPartial(object.authSessionResponse)
|
|
462
|
+
: undefined;
|
|
463
|
+
return message;
|
|
464
|
+
},
|
|
465
|
+
};
|
|
466
|
+
function isSet(value) {
|
|
467
|
+
return value !== null && value !== undefined;
|
|
468
|
+
}
|