@stashfin/grpc 1.2.742 → 1.2.743
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/ts/banking/aa/getaasupport.js +2 -2
- package/ts/banking/aa/getbanklist.js +2 -2
- package/ts/banking/aa/getcustomerbank.js +2 -2
- package/ts/banking/aa/getrpdlink.js +2 -2
- package/ts/banking/aa/initiate.js +2 -2
- package/ts/banking/aa/initiatepennydrop.js +2 -2
- package/ts/banking/aa/netbankinginitiate.js +2 -2
- package/ts/banking/aa/pollingrpd.js +2 -2
- package/ts/banking.d.ts +16 -16
- package/ts/banking.js +2 -2
- package/ts/bbps/getbills.d.ts +96 -0
- package/ts/bbps/getbills.js +549 -0
- package/ts/bbps.d.ts +28 -0
- package/ts/bbps.js +24 -0
- 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.d.ts +16 -16
- package/ts/bureau.js +2 -2
- package/ts/ckyc/ckycdownload.js +2 -2
- package/ts/ckyc/ckycsearch.js +2 -2
- package/ts/ckyc.d.ts +4 -4
- package/ts/ckyc.js +2 -2
- package/ts/colender/disburseLoan.js +2 -2
- package/ts/colender/forecloseLoan.js +2 -2
- package/ts/colender/repayLoan.js +2 -2
- package/ts/colender.d.ts +6 -6
- package/ts/colender.js +2 -2
- package/ts/customers/aa/getaatxnstatus.js +2 -2
- package/ts/customers/aa/getbanklist.js +2 -2
- package/ts/customers/aa/initiate.js +2 -2
- package/ts/customers/accidentprotectionplan.js +2 -2
- package/ts/customers/addaddress.js +2 -2
- package/ts/customers/addbankaccountdetails.js +2 -2
- package/ts/customers/addfathersname.js +2 -2
- package/ts/customers/addgstnumber.js +2 -2
- package/ts/customers/addmoredetails.js +2 -2
- package/ts/customers/addsuspendedcustomer.js +2 -2
- package/ts/customers/adduserapps.d.ts +2 -2
- package/ts/customers/adduserapps.js +2 -2
- package/ts/customers/applyclijourney.js +2 -2
- package/ts/customers/bulksms.js +2 -2
- package/ts/customers/cb/cbapplicationrejecteddata.js +2 -2
- package/ts/customers/cb/cbpaynow.js +2 -2
- package/ts/customers/cb/cbsignup.js +2 -2
- package/ts/customers/cb/getcbtxnstatus.js +2 -2
- package/ts/customers/cb/getcreditbuilder.js +2 -2
- package/ts/customers/cb/getpaymentsummary.js +2 -2
- package/ts/customers/cb/insurancedetails.js +2 -2
- package/ts/customers/cb/lesscsimprove.js +2 -2
- package/ts/customers/cb/morecsimprove.js +2 -2
- package/ts/customers/cb/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/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/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.d.ts +238 -238
- package/ts/customers.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.d.ts +6 -6
- package/ts/decisionengine.js +2 -2
- package/ts/deveqxcustomers.d.ts +30 -30
- package/ts/deveqxcustomers.js +2 -2
- package/ts/devupi.d.ts +54 -54
- package/ts/devupi.js +2 -2
- package/ts/documents/getagreement.js +2 -2
- package/ts/documents/getfinancialdoc.js +2 -2
- package/ts/documents.d.ts +4 -4
- package/ts/documents.js +2 -2
- package/ts/eqxcustomer.d.ts +42 -42
- 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/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.d.ts +4 -4
- package/ts/example.js +2 -2
- package/ts/feepayments/getbanklist.js +2 -2
- package/ts/feepayments.d.ts +2 -2
- package/ts/feepayments.js +2 -2
- package/ts/growth/getchrpdfurl.js +2 -2
- package/ts/growth/getchrreportdata.js +2 -2
- package/ts/growth/getchrsubscriptionplan.js +2 -2
- package/ts/growth/getchrvideourl.js +2 -2
- package/ts/growth.d.ts +8 -8
- package/ts/growth.js +2 -2
- package/ts/kyc/amldetails.js +2 -2
- package/ts/kyc/authbridgepancomprehend.js +2 -2
- package/ts/kyc/bureauidwhatsapp.js +2 -2
- package/ts/kyc/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.d.ts +20 -20
- package/ts/kyc.js +2 -2
- package/ts/lamf/getloandetails.js +2 -2
- package/ts/lamf/submitotp.js +2 -2
- package/ts/lamf/validateuser.js +2 -2
- package/ts/lamf.d.ts +6 -6
- package/ts/lamf.js +2 -2
- package/ts/loans/addreference.js +2 -2
- package/ts/loans/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/foreclosepayment.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/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/sendemail.js +2 -2
- package/ts/loans/sendnocemail.js +2 -2
- package/ts/loans/transactionlist.js +2 -2
- package/ts/loans/updatecollectionview.js +2 -2
- package/ts/loans/updateinstallments.js +2 -2
- package/ts/loans/updateloan.js +2 -2
- package/ts/loans/updatetransactionstatus.js +2 -2
- package/ts/loans.d.ts +100 -100
- package/ts/loans.js +2 -2
- package/ts/payments/checkpaymentstatus.js +2 -2
- package/ts/payments/fundtransfer.js +2 -2
- package/ts/payments/getpaymentoptions.js +2 -2
- package/ts/payments/initiatepayment.js +2 -2
- package/ts/payments/nachpresentation.js +2 -2
- package/ts/payments/nachregistration.js +2 -2
- package/ts/payments.d.ts +12 -12
- package/ts/payments.js +2 -2
- package/ts/paymentsnode.d.ts +12 -12
- package/ts/paymentsnode.js +2 -2
- package/ts/rewards/getoffers.js +2 -2
- package/ts/rewards/redeemoffer.js +2 -2
- package/ts/rewards.d.ts +4 -4
- package/ts/rewards.js +2 -2
- package/ts/stashcash/creditsc.js +2 -2
- package/ts/stashcash/debitsc.js +2 -2
- package/ts/stashcash/getscbalance.js +2 -2
- package/ts/stashcash/getschistory.js +2 -2
- package/ts/stashcash/reversesc.js +2 -2
- package/ts/stashcash.d.ts +10 -10
- package/ts/stashcash.js +2 -2
- package/ts/upi/addaccount.js +2 -2
- package/ts/upi/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/upinumberoperations.js +2 -2
- package/ts/upi/validateifsc.js +2 -2
- package/ts/upi/validatevpa.js +2 -2
- package/ts/upi.d.ts +54 -54
- package/ts/upi.js +2 -2
- package/ts/communications/bureauidwhatsapp.d.ts +0 -38
- package/ts/communications/bureauidwhatsapp.js +0 -161
- package/ts/communications.d.ts +0 -28
- package/ts/communications.js +0 -24
- package/ts/customers/cb/paynow.d.ts +0 -36
- package/ts/customers/cb/paynow.js +0 -133
- package/ts/customers/enach/updatetxnstatus.d.ts +0 -36
- package/ts/customers/enach/updatetxnstatus.js +0 -133
- 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/lamf/updatelamfjourney.d.ts +0 -34
- package/ts/customers/lamf/updatelamfjourney.js +0 -104
- 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/customers/verifyemail.js +0 -117
- package/ts/decisionengine/decisionengine.d.ts +0 -40
- package/ts/decisionengine/decisionengine.js +0 -191
- 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/growth/checkplanstatus.d.ts +0 -48
- package/ts/growth/checkplanstatus.js +0 -200
- package/ts/growth/getattachplandetails.d.ts +0 -53
- package/ts/growth/getattachplandetails.js +0 -270
- package/ts/growth/getchrpaymentstatus.d.ts +0 -49
- package/ts/growth/getchrpaymentstatus.js +0 -213
- package/ts/growth/getchrplans.d.ts +0 -49
- package/ts/growth/getchrplans.js +0 -212
- package/ts/growth/getchrreport.d.ts +0 -109
- package/ts/growth/getchrreport.js +0 -800
- package/ts/growth/getcredithealthreport.d.ts +0 -98
- package/ts/growth/getcredithealthreport.js +0 -617
- package/ts/growth/initiatepayment.d.ts +0 -52
- package/ts/growth/initiatepayment.js +0 -259
- package/ts/growth/notifychrpayment.d.ts +0 -42
- package/ts/growth/notifychrpayment.js +0 -219
- package/ts/growth/processchrpayment.d.ts +0 -39
- package/ts/growth/processchrpayment.js +0 -177
- 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/forecloseamount.d.ts +0 -36
- package/ts/loans/forecloseamount.js +0 -133
- package/ts/loans/futurepaymentmoredetails.d.ts +0 -51
- package/ts/loans/futurepaymentmoredetails.js +0 -243
- 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/loans/rollbackextrapayment.d.ts +0 -37
- package/ts/loans/rollbackextrapayment.js +0 -149
- package/ts/upi/addupinumber.d.ts +0 -39
- package/ts/upi/addupinumber.js +0 -177
- 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/ts/upi/updatedevicelinking.d.ts +0 -49
- package/ts/upi/updatedevicelinking.js +0 -332
|
@@ -0,0 +1,549 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
|
+
// protoc v5.29.3
|
|
6
|
+
// source: bbps/getbills.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.getBillsResponse = exports.BillData = exports.CustomerParam = exports.getBillsRequest = exports.BillsQueryParams = 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 = "bbps.getbills";
|
|
16
|
+
function createBaseBillsQueryParams() {
|
|
17
|
+
return { date: undefined, utilityId: undefined };
|
|
18
|
+
}
|
|
19
|
+
exports.BillsQueryParams = {
|
|
20
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
|
+
if (message.date !== undefined) {
|
|
22
|
+
writer.uint32(10).string(message.date);
|
|
23
|
+
}
|
|
24
|
+
if (message.utilityId !== undefined) {
|
|
25
|
+
writer.uint32(16).int32(message.utilityId);
|
|
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 = createBaseBillsQueryParams();
|
|
33
|
+
while (reader.pos < end) {
|
|
34
|
+
const tag = reader.uint32();
|
|
35
|
+
switch (tag >>> 3) {
|
|
36
|
+
case 1:
|
|
37
|
+
if (tag !== 10) {
|
|
38
|
+
break;
|
|
39
|
+
}
|
|
40
|
+
message.date = reader.string();
|
|
41
|
+
continue;
|
|
42
|
+
case 2:
|
|
43
|
+
if (tag !== 16) {
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
message.utilityId = reader.int32();
|
|
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
|
+
date: isSet(object.date) ? globalThis.String(object.date) : undefined,
|
|
59
|
+
utilityId: isSet(object.utilityId) ? globalThis.Number(object.utilityId) : undefined,
|
|
60
|
+
};
|
|
61
|
+
},
|
|
62
|
+
toJSON(message) {
|
|
63
|
+
const obj = {};
|
|
64
|
+
if (message.date !== undefined) {
|
|
65
|
+
obj.date = message.date;
|
|
66
|
+
}
|
|
67
|
+
if (message.utilityId !== undefined) {
|
|
68
|
+
obj.utilityId = Math.round(message.utilityId);
|
|
69
|
+
}
|
|
70
|
+
return obj;
|
|
71
|
+
},
|
|
72
|
+
create(base) {
|
|
73
|
+
return exports.BillsQueryParams.fromPartial(base ?? {});
|
|
74
|
+
},
|
|
75
|
+
fromPartial(object) {
|
|
76
|
+
const message = createBaseBillsQueryParams();
|
|
77
|
+
message.date = object.date ?? undefined;
|
|
78
|
+
message.utilityId = object.utilityId ?? undefined;
|
|
79
|
+
return message;
|
|
80
|
+
},
|
|
81
|
+
};
|
|
82
|
+
function createBasegetBillsRequest() {
|
|
83
|
+
return { queryParams: undefined, customerId: 0 };
|
|
84
|
+
}
|
|
85
|
+
exports.getBillsRequest = {
|
|
86
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
87
|
+
if (message.queryParams !== undefined) {
|
|
88
|
+
exports.BillsQueryParams.encode(message.queryParams, writer.uint32(10).fork()).ldelim();
|
|
89
|
+
}
|
|
90
|
+
if (message.customerId !== 0) {
|
|
91
|
+
writer.uint32(16).int64(message.customerId);
|
|
92
|
+
}
|
|
93
|
+
return writer;
|
|
94
|
+
},
|
|
95
|
+
decode(input, length) {
|
|
96
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
97
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
98
|
+
const message = createBasegetBillsRequest();
|
|
99
|
+
while (reader.pos < end) {
|
|
100
|
+
const tag = reader.uint32();
|
|
101
|
+
switch (tag >>> 3) {
|
|
102
|
+
case 1:
|
|
103
|
+
if (tag !== 10) {
|
|
104
|
+
break;
|
|
105
|
+
}
|
|
106
|
+
message.queryParams = exports.BillsQueryParams.decode(reader, reader.uint32());
|
|
107
|
+
continue;
|
|
108
|
+
case 2:
|
|
109
|
+
if (tag !== 16) {
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
112
|
+
message.customerId = longToNumber(reader.int64());
|
|
113
|
+
continue;
|
|
114
|
+
}
|
|
115
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
reader.skipType(tag & 7);
|
|
119
|
+
}
|
|
120
|
+
return message;
|
|
121
|
+
},
|
|
122
|
+
fromJSON(object) {
|
|
123
|
+
return {
|
|
124
|
+
queryParams: isSet(object.queryParams) ? exports.BillsQueryParams.fromJSON(object.queryParams) : undefined,
|
|
125
|
+
customerId: isSet(object.customerId) ? globalThis.Number(object.customerId) : 0,
|
|
126
|
+
};
|
|
127
|
+
},
|
|
128
|
+
toJSON(message) {
|
|
129
|
+
const obj = {};
|
|
130
|
+
if (message.queryParams !== undefined) {
|
|
131
|
+
obj.queryParams = exports.BillsQueryParams.toJSON(message.queryParams);
|
|
132
|
+
}
|
|
133
|
+
if (message.customerId !== 0) {
|
|
134
|
+
obj.customerId = Math.round(message.customerId);
|
|
135
|
+
}
|
|
136
|
+
return obj;
|
|
137
|
+
},
|
|
138
|
+
create(base) {
|
|
139
|
+
return exports.getBillsRequest.fromPartial(base ?? {});
|
|
140
|
+
},
|
|
141
|
+
fromPartial(object) {
|
|
142
|
+
const message = createBasegetBillsRequest();
|
|
143
|
+
message.queryParams = (object.queryParams !== undefined && object.queryParams !== null)
|
|
144
|
+
? exports.BillsQueryParams.fromPartial(object.queryParams)
|
|
145
|
+
: undefined;
|
|
146
|
+
message.customerId = object.customerId ?? 0;
|
|
147
|
+
return message;
|
|
148
|
+
},
|
|
149
|
+
};
|
|
150
|
+
function createBaseCustomerParam() {
|
|
151
|
+
return { value: "", name: "", parameter_name: "" };
|
|
152
|
+
}
|
|
153
|
+
exports.CustomerParam = {
|
|
154
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
155
|
+
if (message.value !== "") {
|
|
156
|
+
writer.uint32(10).string(message.value);
|
|
157
|
+
}
|
|
158
|
+
if (message.name !== "") {
|
|
159
|
+
writer.uint32(18).string(message.name);
|
|
160
|
+
}
|
|
161
|
+
if (message.parameter_name !== "") {
|
|
162
|
+
writer.uint32(26).string(message.parameter_name);
|
|
163
|
+
}
|
|
164
|
+
return writer;
|
|
165
|
+
},
|
|
166
|
+
decode(input, length) {
|
|
167
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
168
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
169
|
+
const message = createBaseCustomerParam();
|
|
170
|
+
while (reader.pos < end) {
|
|
171
|
+
const tag = reader.uint32();
|
|
172
|
+
switch (tag >>> 3) {
|
|
173
|
+
case 1:
|
|
174
|
+
if (tag !== 10) {
|
|
175
|
+
break;
|
|
176
|
+
}
|
|
177
|
+
message.value = reader.string();
|
|
178
|
+
continue;
|
|
179
|
+
case 2:
|
|
180
|
+
if (tag !== 18) {
|
|
181
|
+
break;
|
|
182
|
+
}
|
|
183
|
+
message.name = reader.string();
|
|
184
|
+
continue;
|
|
185
|
+
case 3:
|
|
186
|
+
if (tag !== 26) {
|
|
187
|
+
break;
|
|
188
|
+
}
|
|
189
|
+
message.parameter_name = reader.string();
|
|
190
|
+
continue;
|
|
191
|
+
}
|
|
192
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
193
|
+
break;
|
|
194
|
+
}
|
|
195
|
+
reader.skipType(tag & 7);
|
|
196
|
+
}
|
|
197
|
+
return message;
|
|
198
|
+
},
|
|
199
|
+
fromJSON(object) {
|
|
200
|
+
return {
|
|
201
|
+
value: isSet(object.value) ? globalThis.String(object.value) : "",
|
|
202
|
+
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
|
203
|
+
parameter_name: isSet(object.parameter_name) ? globalThis.String(object.parameter_name) : "",
|
|
204
|
+
};
|
|
205
|
+
},
|
|
206
|
+
toJSON(message) {
|
|
207
|
+
const obj = {};
|
|
208
|
+
if (message.value !== "") {
|
|
209
|
+
obj.value = message.value;
|
|
210
|
+
}
|
|
211
|
+
if (message.name !== "") {
|
|
212
|
+
obj.name = message.name;
|
|
213
|
+
}
|
|
214
|
+
if (message.parameter_name !== "") {
|
|
215
|
+
obj.parameter_name = message.parameter_name;
|
|
216
|
+
}
|
|
217
|
+
return obj;
|
|
218
|
+
},
|
|
219
|
+
create(base) {
|
|
220
|
+
return exports.CustomerParam.fromPartial(base ?? {});
|
|
221
|
+
},
|
|
222
|
+
fromPartial(object) {
|
|
223
|
+
const message = createBaseCustomerParam();
|
|
224
|
+
message.value = object.value ?? "";
|
|
225
|
+
message.name = object.name ?? "";
|
|
226
|
+
message.parameter_name = object.parameter_name ?? "";
|
|
227
|
+
return message;
|
|
228
|
+
},
|
|
229
|
+
};
|
|
230
|
+
function createBaseBillData() {
|
|
231
|
+
return {
|
|
232
|
+
id: 0,
|
|
233
|
+
utility_id: 0,
|
|
234
|
+
utility_name: "",
|
|
235
|
+
vendor_id: 0,
|
|
236
|
+
biller_id: "",
|
|
237
|
+
account_no: "",
|
|
238
|
+
bill_amount: 0,
|
|
239
|
+
provider_logo: "",
|
|
240
|
+
is_due: false,
|
|
241
|
+
note: "",
|
|
242
|
+
is_pending: false,
|
|
243
|
+
is_failed: false,
|
|
244
|
+
customer_params: [],
|
|
245
|
+
additional_validation_details: [],
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
exports.BillData = {
|
|
249
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
250
|
+
if (message.id !== 0) {
|
|
251
|
+
writer.uint32(8).int64(message.id);
|
|
252
|
+
}
|
|
253
|
+
if (message.utility_id !== 0) {
|
|
254
|
+
writer.uint32(16).int32(message.utility_id);
|
|
255
|
+
}
|
|
256
|
+
if (message.utility_name !== "") {
|
|
257
|
+
writer.uint32(26).string(message.utility_name);
|
|
258
|
+
}
|
|
259
|
+
if (message.vendor_id !== 0) {
|
|
260
|
+
writer.uint32(32).int32(message.vendor_id);
|
|
261
|
+
}
|
|
262
|
+
if (message.biller_id !== "") {
|
|
263
|
+
writer.uint32(42).string(message.biller_id);
|
|
264
|
+
}
|
|
265
|
+
if (message.account_no !== "") {
|
|
266
|
+
writer.uint32(50).string(message.account_no);
|
|
267
|
+
}
|
|
268
|
+
if (message.bill_amount !== 0) {
|
|
269
|
+
writer.uint32(57).double(message.bill_amount);
|
|
270
|
+
}
|
|
271
|
+
if (message.provider_logo !== "") {
|
|
272
|
+
writer.uint32(66).string(message.provider_logo);
|
|
273
|
+
}
|
|
274
|
+
if (message.is_due !== false) {
|
|
275
|
+
writer.uint32(72).bool(message.is_due);
|
|
276
|
+
}
|
|
277
|
+
if (message.note !== "") {
|
|
278
|
+
writer.uint32(82).string(message.note);
|
|
279
|
+
}
|
|
280
|
+
if (message.is_pending !== false) {
|
|
281
|
+
writer.uint32(88).bool(message.is_pending);
|
|
282
|
+
}
|
|
283
|
+
if (message.is_failed !== false) {
|
|
284
|
+
writer.uint32(96).bool(message.is_failed);
|
|
285
|
+
}
|
|
286
|
+
for (const v of message.customer_params) {
|
|
287
|
+
exports.CustomerParam.encode(v, writer.uint32(106).fork()).ldelim();
|
|
288
|
+
}
|
|
289
|
+
for (const v of message.additional_validation_details) {
|
|
290
|
+
exports.CustomerParam.encode(v, writer.uint32(114).fork()).ldelim();
|
|
291
|
+
}
|
|
292
|
+
return writer;
|
|
293
|
+
},
|
|
294
|
+
decode(input, length) {
|
|
295
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
296
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
297
|
+
const message = createBaseBillData();
|
|
298
|
+
while (reader.pos < end) {
|
|
299
|
+
const tag = reader.uint32();
|
|
300
|
+
switch (tag >>> 3) {
|
|
301
|
+
case 1:
|
|
302
|
+
if (tag !== 8) {
|
|
303
|
+
break;
|
|
304
|
+
}
|
|
305
|
+
message.id = longToNumber(reader.int64());
|
|
306
|
+
continue;
|
|
307
|
+
case 2:
|
|
308
|
+
if (tag !== 16) {
|
|
309
|
+
break;
|
|
310
|
+
}
|
|
311
|
+
message.utility_id = reader.int32();
|
|
312
|
+
continue;
|
|
313
|
+
case 3:
|
|
314
|
+
if (tag !== 26) {
|
|
315
|
+
break;
|
|
316
|
+
}
|
|
317
|
+
message.utility_name = reader.string();
|
|
318
|
+
continue;
|
|
319
|
+
case 4:
|
|
320
|
+
if (tag !== 32) {
|
|
321
|
+
break;
|
|
322
|
+
}
|
|
323
|
+
message.vendor_id = reader.int32();
|
|
324
|
+
continue;
|
|
325
|
+
case 5:
|
|
326
|
+
if (tag !== 42) {
|
|
327
|
+
break;
|
|
328
|
+
}
|
|
329
|
+
message.biller_id = reader.string();
|
|
330
|
+
continue;
|
|
331
|
+
case 6:
|
|
332
|
+
if (tag !== 50) {
|
|
333
|
+
break;
|
|
334
|
+
}
|
|
335
|
+
message.account_no = reader.string();
|
|
336
|
+
continue;
|
|
337
|
+
case 7:
|
|
338
|
+
if (tag !== 57) {
|
|
339
|
+
break;
|
|
340
|
+
}
|
|
341
|
+
message.bill_amount = reader.double();
|
|
342
|
+
continue;
|
|
343
|
+
case 8:
|
|
344
|
+
if (tag !== 66) {
|
|
345
|
+
break;
|
|
346
|
+
}
|
|
347
|
+
message.provider_logo = reader.string();
|
|
348
|
+
continue;
|
|
349
|
+
case 9:
|
|
350
|
+
if (tag !== 72) {
|
|
351
|
+
break;
|
|
352
|
+
}
|
|
353
|
+
message.is_due = reader.bool();
|
|
354
|
+
continue;
|
|
355
|
+
case 10:
|
|
356
|
+
if (tag !== 82) {
|
|
357
|
+
break;
|
|
358
|
+
}
|
|
359
|
+
message.note = reader.string();
|
|
360
|
+
continue;
|
|
361
|
+
case 11:
|
|
362
|
+
if (tag !== 88) {
|
|
363
|
+
break;
|
|
364
|
+
}
|
|
365
|
+
message.is_pending = reader.bool();
|
|
366
|
+
continue;
|
|
367
|
+
case 12:
|
|
368
|
+
if (tag !== 96) {
|
|
369
|
+
break;
|
|
370
|
+
}
|
|
371
|
+
message.is_failed = reader.bool();
|
|
372
|
+
continue;
|
|
373
|
+
case 13:
|
|
374
|
+
if (tag !== 106) {
|
|
375
|
+
break;
|
|
376
|
+
}
|
|
377
|
+
message.customer_params.push(exports.CustomerParam.decode(reader, reader.uint32()));
|
|
378
|
+
continue;
|
|
379
|
+
case 14:
|
|
380
|
+
if (tag !== 114) {
|
|
381
|
+
break;
|
|
382
|
+
}
|
|
383
|
+
message.additional_validation_details.push(exports.CustomerParam.decode(reader, reader.uint32()));
|
|
384
|
+
continue;
|
|
385
|
+
}
|
|
386
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
387
|
+
break;
|
|
388
|
+
}
|
|
389
|
+
reader.skipType(tag & 7);
|
|
390
|
+
}
|
|
391
|
+
return message;
|
|
392
|
+
},
|
|
393
|
+
fromJSON(object) {
|
|
394
|
+
return {
|
|
395
|
+
id: isSet(object.id) ? globalThis.Number(object.id) : 0,
|
|
396
|
+
utility_id: isSet(object.utility_id) ? globalThis.Number(object.utility_id) : 0,
|
|
397
|
+
utility_name: isSet(object.utility_name) ? globalThis.String(object.utility_name) : "",
|
|
398
|
+
vendor_id: isSet(object.vendor_id) ? globalThis.Number(object.vendor_id) : 0,
|
|
399
|
+
biller_id: isSet(object.biller_id) ? globalThis.String(object.biller_id) : "",
|
|
400
|
+
account_no: isSet(object.account_no) ? globalThis.String(object.account_no) : "",
|
|
401
|
+
bill_amount: isSet(object.bill_amount) ? globalThis.Number(object.bill_amount) : 0,
|
|
402
|
+
provider_logo: isSet(object.provider_logo) ? globalThis.String(object.provider_logo) : "",
|
|
403
|
+
is_due: isSet(object.is_due) ? globalThis.Boolean(object.is_due) : false,
|
|
404
|
+
note: isSet(object.note) ? globalThis.String(object.note) : "",
|
|
405
|
+
is_pending: isSet(object.is_pending) ? globalThis.Boolean(object.is_pending) : false,
|
|
406
|
+
is_failed: isSet(object.is_failed) ? globalThis.Boolean(object.is_failed) : false,
|
|
407
|
+
customer_params: globalThis.Array.isArray(object?.customer_params)
|
|
408
|
+
? object.customer_params.map((e) => exports.CustomerParam.fromJSON(e))
|
|
409
|
+
: [],
|
|
410
|
+
additional_validation_details: globalThis.Array.isArray(object?.additional_validation_details)
|
|
411
|
+
? object.additional_validation_details.map((e) => exports.CustomerParam.fromJSON(e))
|
|
412
|
+
: [],
|
|
413
|
+
};
|
|
414
|
+
},
|
|
415
|
+
toJSON(message) {
|
|
416
|
+
const obj = {};
|
|
417
|
+
if (message.id !== 0) {
|
|
418
|
+
obj.id = Math.round(message.id);
|
|
419
|
+
}
|
|
420
|
+
if (message.utility_id !== 0) {
|
|
421
|
+
obj.utility_id = Math.round(message.utility_id);
|
|
422
|
+
}
|
|
423
|
+
if (message.utility_name !== "") {
|
|
424
|
+
obj.utility_name = message.utility_name;
|
|
425
|
+
}
|
|
426
|
+
if (message.vendor_id !== 0) {
|
|
427
|
+
obj.vendor_id = Math.round(message.vendor_id);
|
|
428
|
+
}
|
|
429
|
+
if (message.biller_id !== "") {
|
|
430
|
+
obj.biller_id = message.biller_id;
|
|
431
|
+
}
|
|
432
|
+
if (message.account_no !== "") {
|
|
433
|
+
obj.account_no = message.account_no;
|
|
434
|
+
}
|
|
435
|
+
if (message.bill_amount !== 0) {
|
|
436
|
+
obj.bill_amount = message.bill_amount;
|
|
437
|
+
}
|
|
438
|
+
if (message.provider_logo !== "") {
|
|
439
|
+
obj.provider_logo = message.provider_logo;
|
|
440
|
+
}
|
|
441
|
+
if (message.is_due !== false) {
|
|
442
|
+
obj.is_due = message.is_due;
|
|
443
|
+
}
|
|
444
|
+
if (message.note !== "") {
|
|
445
|
+
obj.note = message.note;
|
|
446
|
+
}
|
|
447
|
+
if (message.is_pending !== false) {
|
|
448
|
+
obj.is_pending = message.is_pending;
|
|
449
|
+
}
|
|
450
|
+
if (message.is_failed !== false) {
|
|
451
|
+
obj.is_failed = message.is_failed;
|
|
452
|
+
}
|
|
453
|
+
if (message.customer_params?.length) {
|
|
454
|
+
obj.customer_params = message.customer_params.map((e) => exports.CustomerParam.toJSON(e));
|
|
455
|
+
}
|
|
456
|
+
if (message.additional_validation_details?.length) {
|
|
457
|
+
obj.additional_validation_details = message.additional_validation_details.map((e) => exports.CustomerParam.toJSON(e));
|
|
458
|
+
}
|
|
459
|
+
return obj;
|
|
460
|
+
},
|
|
461
|
+
create(base) {
|
|
462
|
+
return exports.BillData.fromPartial(base ?? {});
|
|
463
|
+
},
|
|
464
|
+
fromPartial(object) {
|
|
465
|
+
const message = createBaseBillData();
|
|
466
|
+
message.id = object.id ?? 0;
|
|
467
|
+
message.utility_id = object.utility_id ?? 0;
|
|
468
|
+
message.utility_name = object.utility_name ?? "";
|
|
469
|
+
message.vendor_id = object.vendor_id ?? 0;
|
|
470
|
+
message.biller_id = object.biller_id ?? "";
|
|
471
|
+
message.account_no = object.account_no ?? "";
|
|
472
|
+
message.bill_amount = object.bill_amount ?? 0;
|
|
473
|
+
message.provider_logo = object.provider_logo ?? "";
|
|
474
|
+
message.is_due = object.is_due ?? false;
|
|
475
|
+
message.note = object.note ?? "";
|
|
476
|
+
message.is_pending = object.is_pending ?? false;
|
|
477
|
+
message.is_failed = object.is_failed ?? false;
|
|
478
|
+
message.customer_params = object.customer_params?.map((e) => exports.CustomerParam.fromPartial(e)) || [];
|
|
479
|
+
message.additional_validation_details =
|
|
480
|
+
object.additional_validation_details?.map((e) => exports.CustomerParam.fromPartial(e)) || [];
|
|
481
|
+
return message;
|
|
482
|
+
},
|
|
483
|
+
};
|
|
484
|
+
function createBasegetBillsResponse() {
|
|
485
|
+
return { bills: [] };
|
|
486
|
+
}
|
|
487
|
+
exports.getBillsResponse = {
|
|
488
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
489
|
+
for (const v of message.bills) {
|
|
490
|
+
exports.BillData.encode(v, writer.uint32(10).fork()).ldelim();
|
|
491
|
+
}
|
|
492
|
+
return writer;
|
|
493
|
+
},
|
|
494
|
+
decode(input, length) {
|
|
495
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
496
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
497
|
+
const message = createBasegetBillsResponse();
|
|
498
|
+
while (reader.pos < end) {
|
|
499
|
+
const tag = reader.uint32();
|
|
500
|
+
switch (tag >>> 3) {
|
|
501
|
+
case 1:
|
|
502
|
+
if (tag !== 10) {
|
|
503
|
+
break;
|
|
504
|
+
}
|
|
505
|
+
message.bills.push(exports.BillData.decode(reader, reader.uint32()));
|
|
506
|
+
continue;
|
|
507
|
+
}
|
|
508
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
509
|
+
break;
|
|
510
|
+
}
|
|
511
|
+
reader.skipType(tag & 7);
|
|
512
|
+
}
|
|
513
|
+
return message;
|
|
514
|
+
},
|
|
515
|
+
fromJSON(object) {
|
|
516
|
+
return { bills: globalThis.Array.isArray(object?.bills) ? object.bills.map((e) => exports.BillData.fromJSON(e)) : [] };
|
|
517
|
+
},
|
|
518
|
+
toJSON(message) {
|
|
519
|
+
const obj = {};
|
|
520
|
+
if (message.bills?.length) {
|
|
521
|
+
obj.bills = message.bills.map((e) => exports.BillData.toJSON(e));
|
|
522
|
+
}
|
|
523
|
+
return obj;
|
|
524
|
+
},
|
|
525
|
+
create(base) {
|
|
526
|
+
return exports.getBillsResponse.fromPartial(base ?? {});
|
|
527
|
+
},
|
|
528
|
+
fromPartial(object) {
|
|
529
|
+
const message = createBasegetBillsResponse();
|
|
530
|
+
message.bills = object.bills?.map((e) => exports.BillData.fromPartial(e)) || [];
|
|
531
|
+
return message;
|
|
532
|
+
},
|
|
533
|
+
};
|
|
534
|
+
function longToNumber(long) {
|
|
535
|
+
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
536
|
+
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
537
|
+
}
|
|
538
|
+
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
539
|
+
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
540
|
+
}
|
|
541
|
+
return long.toNumber();
|
|
542
|
+
}
|
|
543
|
+
if (minimal_1.default.util.Long !== long_1.default) {
|
|
544
|
+
minimal_1.default.util.Long = long_1.default;
|
|
545
|
+
minimal_1.default.configure();
|
|
546
|
+
}
|
|
547
|
+
function isSet(value) {
|
|
548
|
+
return value !== null && value !== undefined;
|
|
549
|
+
}
|
package/ts/bbps.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
2
|
+
import { getBillsRequest, getBillsResponse } from "./bbps/getbills";
|
|
3
|
+
export declare const protobufPackage = "service";
|
|
4
|
+
export type bbpsService = typeof bbpsService;
|
|
5
|
+
export declare const bbpsService: {
|
|
6
|
+
readonly getBillList: {
|
|
7
|
+
readonly path: "/service.bbps/getBillList";
|
|
8
|
+
readonly requestStream: false;
|
|
9
|
+
readonly responseStream: false;
|
|
10
|
+
readonly requestSerialize: (value: getBillsRequest) => Buffer<ArrayBuffer>;
|
|
11
|
+
readonly requestDeserialize: (value: Buffer) => getBillsRequest;
|
|
12
|
+
readonly responseSerialize: (value: getBillsResponse) => Buffer<ArrayBuffer>;
|
|
13
|
+
readonly responseDeserialize: (value: Buffer) => getBillsResponse;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export interface bbpsServer extends UntypedServiceImplementation {
|
|
17
|
+
getBillList: handleUnaryCall<getBillsRequest, getBillsResponse>;
|
|
18
|
+
}
|
|
19
|
+
export interface bbpsClient extends Client {
|
|
20
|
+
getBillList(request: getBillsRequest, callback: (error: ServiceError | null, response: getBillsResponse) => void): ClientUnaryCall;
|
|
21
|
+
getBillList(request: getBillsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: getBillsResponse) => void): ClientUnaryCall;
|
|
22
|
+
getBillList(request: getBillsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: getBillsResponse) => void): ClientUnaryCall;
|
|
23
|
+
}
|
|
24
|
+
export declare const bbpsClient: {
|
|
25
|
+
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): bbpsClient;
|
|
26
|
+
service: typeof bbpsService;
|
|
27
|
+
serviceName: string;
|
|
28
|
+
};
|
package/ts/bbps.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
|
+
// protoc v5.29.3
|
|
6
|
+
// source: bbps.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.bbpsClient = exports.bbpsService = exports.protobufPackage = void 0;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const grpc_js_1 = require("@grpc/grpc-js");
|
|
11
|
+
const getbills_1 = require("./bbps/getbills");
|
|
12
|
+
exports.protobufPackage = "service";
|
|
13
|
+
exports.bbpsService = {
|
|
14
|
+
getBillList: {
|
|
15
|
+
path: "/service.bbps/getBillList",
|
|
16
|
+
requestStream: false,
|
|
17
|
+
responseStream: false,
|
|
18
|
+
requestSerialize: (value) => Buffer.from(getbills_1.getBillsRequest.encode(value).finish()),
|
|
19
|
+
requestDeserialize: (value) => getbills_1.getBillsRequest.decode(value),
|
|
20
|
+
responseSerialize: (value) => Buffer.from(getbills_1.getBillsResponse.encode(value).finish()),
|
|
21
|
+
responseDeserialize: (value) => getbills_1.getBillsResponse.decode(value),
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
exports.bbpsClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.bbpsService, "service.bbps");
|
|
@@ -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.2
|
|
5
|
+
// protoc v5.29.3
|
|
6
6
|
// source: bureau/getbasicdetails.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.2
|
|
5
|
+
// protoc v5.29.3
|
|
6
6
|
// source: bureau/getbureauscore.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.2
|
|
5
|
+
// protoc v5.29.3
|
|
6
6
|
// source: bureau/getcibilwebtoken.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.2
|
|
5
|
+
// protoc v5.29.3
|
|
6
6
|
// source: bureau/getdbrcolending.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/bureau/getdemogs.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.2
|
|
5
|
+
// protoc v5.29.3
|
|
6
6
|
// source: bureau/getdemogs.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.2
|
|
5
|
+
// protoc v5.29.3
|
|
6
6
|
// source: bureau/getobligation.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/bureau/getreport.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.2
|
|
5
|
+
// protoc v5.29.3
|
|
6
6
|
// source: bureau/getreport.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|