@stashfin/grpc 1.5.21 → 1.5.31
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/admin/getcustomer.js +1 -1
- package/ts/admin/getcustomerbyid.js +1 -1
- package/ts/admin.js +1 -1
- package/ts/banking/aa/getaasupport.js +1 -1
- package/ts/banking/aa/getbanklist.js +1 -1
- package/ts/banking/aa/getcustomerbank.js +1 -1
- package/ts/banking/aa/getrpdlink.js +1 -1
- package/ts/banking/aa/initiate.js +1 -1
- package/ts/banking/aa/initiatepennydrop.js +1 -1
- package/ts/banking/aa/netbankinginitiate.js +1 -1
- package/ts/banking/aa/pollingrpd.js +1 -1
- package/ts/banking.js +1 -1
- package/ts/bbps/getallbbpstransactions.js +1 -1
- package/ts/bbps/getallcategory.js +1 -1
- package/ts/bbps/getbillforreminder.js +1 -1
- package/ts/bbps/getbills.js +1 -1
- package/ts/bbps/getorderdetails.js +1 -1
- package/ts/bbps/processdecryptedrudata.js +1 -1
- package/ts/bbps/processwebhook.js +1 -1
- package/ts/bbps/processwebhookv2.d.ts +157 -0
- package/ts/bbps/processwebhookv2.js +1175 -0
- package/ts/bbps/remindernotification.d.ts +14 -0
- package/ts/bbps/remindernotification.js +217 -1
- package/ts/bbps/sendremindercall.js +1 -1
- package/ts/bbps/updatetxnsstatus.js +1 -1
- package/ts/bbps.js +1 -1
- package/ts/bbpsreminder.js +1 -1
- package/ts/bureau/deletebureaudatabycustid.js +1 -1
- package/ts/bureau/getbasicdetails.js +1 -1
- package/ts/bureau/getbureaudetails.js +1 -1
- package/ts/bureau/getbureauscore.js +1 -1
- package/ts/bureau/getcibilwebtoken.js +1 -1
- package/ts/bureau/getdbrcolending.js +1 -1
- package/ts/bureau/getdemogs.js +1 -1
- package/ts/bureau/getobligation.js +1 -1
- package/ts/bureau/getreport.js +1 -1
- package/ts/bureau/ischrenabled.js +1 -1
- package/ts/bureau.js +1 -1
- package/ts/chr/notifychrpayments.js +1 -1
- package/ts/chr.js +1 -1
- package/ts/ckyc/ckycdownload.js +1 -1
- package/ts/ckyc/ckycsearch.js +1 -1
- package/ts/ckyc.js +1 -1
- package/ts/colender/disburseLoan.js +1 -1
- package/ts/colender/forecloseLoan.js +1 -1
- package/ts/colender/repayLoan.js +1 -1
- package/ts/colender.js +1 -1
- package/ts/cr/crmembershipinfo.js +1 -1
- package/ts/cr/notifycrpayments.js +1 -1
- package/ts/cr.js +1 -1
- package/ts/customers/aa/getaatxnstatus.js +1 -1
- package/ts/customers/aa/getbanklist.js +1 -1
- package/ts/customers/aa/initiate.js +1 -1
- package/ts/customers/accidentprotectionplan.js +1 -1
- package/ts/customers/addaddress.js +1 -1
- package/ts/customers/addbankaccountdetails.js +1 -1
- package/ts/customers/addfathersname.js +1 -1
- package/ts/customers/addgstnumber.js +1 -1
- package/ts/customers/addmoredetails.js +1 -1
- package/ts/customers/addsuspendedcustomer.js +1 -1
- package/ts/customers/adduserapps.js +1 -1
- package/ts/customers/applyclijourney.js +1 -1
- package/ts/customers/bulksms.js +1 -1
- package/ts/customers/cb/cbapplicationrejecteddata.js +1 -1
- package/ts/customers/cb/cbpaynow.js +1 -1
- package/ts/customers/cb/cbsignup.js +1 -1
- package/ts/customers/cb/getcbtxnstatus.js +1 -1
- package/ts/customers/cb/getcreditbuilder.js +1 -1
- package/ts/customers/cb/getpaymentsummary.js +1 -1
- package/ts/customers/cb/insurancedetails.js +1 -1
- package/ts/customers/cb/lesscsimprove.js +1 -1
- package/ts/customers/cb/morecsimprove.js +1 -1
- package/ts/customers/cb/savecreditbuilder.js +1 -1
- package/ts/customers/cb/updatecbstandalonecancellation.js +1 -1
- package/ts/customers/cb/updatecbstandaloneconfirmation.js +1 -1
- package/ts/customers/cb/updatecbstandalonejourney.js +1 -1
- package/ts/customers/cb/updatecbtxnstatus.js +1 -1
- package/ts/customers/changempin.js +1 -1
- package/ts/customers/createcustomerreference.js +1 -1
- package/ts/customers/createvanumber.js +1 -1
- package/ts/customers/customerinfo.js +1 -1
- package/ts/customers/deletedocument.js +1 -1
- package/ts/customers/deleteprofile.js +1 -1
- package/ts/customers/disablempin.js +1 -1
- package/ts/customers/enach/gettxnstatus.js +1 -1
- package/ts/customers/enach/getweburl.js +1 -1
- package/ts/customers/enach/updateenachtxnstatus.js +1 -1
- package/ts/customers/fetchrcprofile.js +1 -1
- package/ts/customers/floatingvideos.js +1 -1
- package/ts/customers/forceupdate.js +1 -1
- package/ts/customers/forgotmpin.js +1 -1
- package/ts/customers/forgotmpinverify.js +1 -1
- package/ts/customers/freedom/addressconfirmation.js +1 -1
- package/ts/customers/freedom/freedompaynow.js +1 -1
- package/ts/customers/freedom/getfreedomtxnstatus.js +1 -1
- package/ts/customers/freedom/updateadditionalverification.js +1 -1
- package/ts/customers/freedom/updatefreedomtxnstatus.js +1 -1
- package/ts/customers/getaddresslist.js +1 -1
- package/ts/customers/getappsubmittedscreen.js +1 -1
- package/ts/customers/getbankaccountdetails.js +1 -1
- package/ts/customers/getbasicinfo.js +1 -1
- package/ts/customers/getcities.js +1 -1
- package/ts/customers/getclistatus.js +1 -1
- package/ts/customers/getcompanyaccdetails.js +1 -1
- package/ts/customers/getcustomerbyid.js +1 -1
- package/ts/customers/getcustomerdetailsbymobile.js +1 -1
- package/ts/customers/getdashboard.js +1 -1
- package/ts/customers/getdashboardmaincard.js +1 -1
- package/ts/customers/getdocuments.js +1 -1
- package/ts/customers/getglobalpopups.js +1 -1
- package/ts/customers/getlimit.js +1 -1
- package/ts/customers/getloclimit.js +1 -1
- package/ts/customers/getmessengermode.js +1 -1
- package/ts/customers/getoccupationlist.js +1 -1
- package/ts/customers/getpaymentoptions.js +1 -1
- package/ts/customers/getprofessionalinfo.js +1 -1
- package/ts/customers/getprofile.js +1 -1
- package/ts/customers/getselfieetxnid.js +1 -1
- package/ts/customers/getstates.js +1 -1
- package/ts/customers/getstep.js +1 -1
- package/ts/customers/getsyncstatus.js +1 -1
- package/ts/customers/getvanumber.js +1 -1
- package/ts/customers/lamf/applylamf.js +1 -1
- package/ts/customers/lamf/sendlamfotp.js +1 -1
- package/ts/customers/lamf/sendlamfpledgeotp.js +1 -1
- package/ts/customers/lamf/verifylamfotp.js +1 -1
- package/ts/customers/lamf/verifylamfpledgeotp.js +1 -1
- package/ts/customers/logout.js +1 -1
- package/ts/customers/pd/getbanklist.js +1 -1
- package/ts/customers/pd/validatebankaccount.js +1 -1
- package/ts/customers/profilebasic.js +1 -1
- package/ts/customers/profileupdatetnc.js +1 -1
- package/ts/customers/resetbanner.js +1 -1
- package/ts/customers/restoreaccount.js +1 -1
- package/ts/customers/rpd/getrpdlink.js +1 -1
- package/ts/customers/rpd/getrpdtransactionstatus.js +1 -1
- package/ts/customers/rpd/mockpayment.js +1 -1
- package/ts/customers/saveappslist.js +1 -1
- package/ts/customers/savebasicdetails.js +1 -1
- package/ts/customers/savelimit.js +1 -1
- package/ts/customers/saveunlocklimit.js +1 -1
- package/ts/customers/sendotp.js +1 -1
- package/ts/customers/sendotptoemail.js +1 -1
- package/ts/customers/setmpin.js +1 -1
- package/ts/customers/skipscreen.js +1 -1
- package/ts/customers/submituploadeddocuments.js +1 -1
- package/ts/customers/syncdecisionengine.js +1 -1
- package/ts/customers/updatecategory.js +1 -1
- package/ts/customers/updatecongratulationstep.js +1 -1
- package/ts/customers/updatecustomerbyid.js +1 -1
- package/ts/customers/updatedlnumber.js +1 -1
- package/ts/customers/updatedob.js +1 -1
- package/ts/customers/updatelocstatus.js +1 -1
- package/ts/customers/updatemobilesendotp.js +1 -1
- package/ts/customers/updatemobileverifyotp.js +1 -1
- package/ts/customers/updateokyctxn.js +1 -1
- package/ts/customers/updatesanctionamount.js +1 -1
- package/ts/customers/updateselfieetxn.js +1 -1
- package/ts/customers/updatesyncstatus.js +1 -1
- package/ts/customers/updatevehiclenumber.js +1 -1
- package/ts/customers/uploaddocuments.js +1 -1
- package/ts/customers/validatepan.js +1 -1
- package/ts/customers/verifympin.js +1 -1
- package/ts/customers/verifyotp.js +1 -1
- package/ts/customers/verifyotptoemail.js +1 -1
- package/ts/customers.js +1 -1
- package/ts/decisionengine/decisionenginetrigger.js +1 -1
- package/ts/decisionengine/locdisbursalapproval.js +1 -1
- package/ts/decisionengine/saveconsent.js +1 -1
- package/ts/decisionengine.js +1 -1
- package/ts/deveqxcustomers.js +1 -1
- package/ts/devupi.js +1 -1
- package/ts/digigold/buygold.js +1 -1
- package/ts/digigold/getbuygoldstatus.js +1 -1
- package/ts/digigold/getquote.js +1 -1
- package/ts/digigold.js +1 -1
- package/ts/documents/getagreement.js +1 -1
- package/ts/documents/getfinancialdoc.js +1 -1
- package/ts/documents.js +1 -1
- package/ts/eqxcustomer.js +1 -1
- package/ts/eqxcustomers/authenticateuser.js +1 -1
- package/ts/eqxcustomers/creditguidance.js +1 -1
- package/ts/eqxcustomers/getallcustomers.js +1 -1
- package/ts/eqxcustomers/getbankaccount.js +1 -1
- package/ts/eqxcustomers/getcustomerbyid.js +1 -1
- package/ts/eqxcustomers/getcustomerbymobile.js +1 -1
- package/ts/eqxcustomers/getcustomerbyvpa.js +1 -1
- package/ts/eqxcustomers/getdashboard.js +1 -1
- package/ts/eqxcustomers/getdashboardmaincard.js +1 -1
- package/ts/eqxcustomers/getlatlong.js +1 -1
- package/ts/eqxcustomers/getlendingcustomerappsInfo.js +1 -1
- package/ts/eqxcustomers/getlendingcustomerdeviceInfo.js +1 -1
- package/ts/eqxcustomers/getlendinghomepage.js +1 -1
- package/ts/eqxcustomers/getlendingrefreshtoken.js +1 -1
- package/ts/eqxcustomers/getlendingsyncedinfo.js +1 -1
- package/ts/eqxcustomers/getloanplans.js +1 -1
- package/ts/eqxcustomers/getnotifications.js +1 -1
- package/ts/eqxcustomers/getstashscorecustomerprofile.js +1 -1
- package/ts/eqxcustomers/gettnc.js +1 -1
- package/ts/eqxcustomers/gettncbycustomerid.js +1 -1
- package/ts/eqxcustomers/gettokens.js +1 -1
- package/ts/eqxcustomers/getvpalist.js +1 -1
- package/ts/eqxcustomers/iscustomerregistered.js +1 -1
- package/ts/eqxcustomers/lendingcustomerexists.js +1 -1
- package/ts/eqxcustomers/sendotp.js +1 -1
- package/ts/eqxcustomers/truecallerlogin.js +1 -1
- package/ts/eqxcustomers/updatecustomer.js +1 -1
- package/ts/eqxcustomers/updatecustomerbasicdetails.js +1 -1
- package/ts/eqxcustomers/updatecustomercategory.js +1 -1
- package/ts/eqxcustomers/updatedevicedetails.js +1 -1
- package/ts/eqxcustomers/updatenotification.js +1 -1
- package/ts/eqxcustomers/updatepushid.js +1 -1
- package/ts/eqxcustomers/updatesubscriptionstatus.js +1 -1
- package/ts/eqxcustomers/verifyotp.js +1 -1
- package/ts/eqxcustomers/verifytoken.js +1 -1
- package/ts/eqxpayments/checkpaymentstatus.js +1 -1
- package/ts/eqxpayments/createmerchant.d.ts +73 -0
- package/ts/eqxpayments/createmerchant.js +397 -0
- package/ts/eqxpayments/createorder.js +1 -1
- package/ts/eqxpayments/createorderv2.d.ts +50 -0
- package/ts/eqxpayments/createorderv2.js +334 -0
- package/ts/eqxpayments/createpaymentcategoryclient.d.ts +74 -0
- package/ts/eqxpayments/createpaymentcategoryclient.js +411 -0
- package/ts/eqxpayments/createpaymentgateway.d.ts +71 -0
- package/ts/eqxpayments/createpaymentgateway.js +369 -0
- package/ts/eqxpayments/createtransaction.js +1 -1
- package/ts/eqxpayments/fundtransfer.js +1 -1
- package/ts/eqxpayments/getgatewayconfiguration.d.ts +92 -0
- package/ts/eqxpayments/getgatewayconfiguration.js +430 -0
- package/ts/eqxpayments/getmerchantmodeconfigfees.d.ts +106 -0
- package/ts/eqxpayments/getmerchantmodeconfigfees.js +627 -0
- package/ts/eqxpayments/getorderv2.d.ts +41 -0
- package/ts/eqxpayments/getorderv2.js +211 -0
- package/ts/eqxpayments/getpaymentoptions.js +1 -1
- package/ts/eqxpayments/getpaymenttypes.js +1 -1
- package/ts/eqxpayments/initiateattemptv2.d.ts +58 -0
- package/ts/eqxpayments/initiateattemptv2.js +374 -0
- package/ts/eqxpayments/initiatepayment.js +1 -1
- package/ts/eqxpayments/initiaterefund.js +1 -1
- package/ts/eqxpayments/listcheckoutoptionsv2.d.ts +96 -0
- package/ts/eqxpayments/listcheckoutoptionsv2.js +489 -0
- package/ts/eqxpayments/listmerchants.d.ts +68 -0
- package/ts/eqxpayments/listmerchants.js +331 -0
- package/ts/eqxpayments/listpaymentcategoryclients.d.ts +87 -0
- package/ts/eqxpayments/listpaymentcategoryclients.js +477 -0
- package/ts/eqxpayments/listpaymentgateways.d.ts +84 -0
- package/ts/eqxpayments/listpaymentgateways.js +433 -0
- package/ts/eqxpayments/merchants_create.js +1 -1
- package/ts/eqxpayments/merchants_credentials_rotate.js +1 -1
- package/ts/eqxpayments/merchants_get.js +1 -1
- package/ts/eqxpayments/merchants_list.js +1 -1
- package/ts/eqxpayments/merchants_update.js +1 -1
- package/ts/eqxpayments/nachpresentation.js +1 -1
- package/ts/eqxpayments/nachpresentationstatus.js +1 -1
- package/ts/eqxpayments/nachregistration.js +1 -1
- package/ts/eqxpayments/nachregistrationstatus.js +1 -1
- package/ts/eqxpayments/payment_modes_get.js +1 -1
- package/ts/eqxpayments/payment_modes_list.js +1 -1
- package/ts/eqxpayments/routes_create.js +1 -1
- package/ts/eqxpayments/routes_list.js +1 -1
- package/ts/eqxpayments/routes_update.js +1 -1
- package/ts/eqxpayments/spmc_delete.js +1 -1
- package/ts/eqxpayments/spmc_list.js +1 -1
- package/ts/eqxpayments/spmc_patch.js +1 -1
- package/ts/eqxpayments/spmc_upsert.js +1 -1
- package/ts/eqxpayments/subscribers_client_secret_rotate.js +1 -1
- package/ts/eqxpayments/subscribers_create.js +1 -1
- package/ts/eqxpayments/subscribers_get.js +1 -1
- package/ts/eqxpayments/subscribers_list.js +1 -1
- package/ts/eqxpayments/subscribers_update.js +1 -1
- package/ts/eqxpayments/updatemerchant.d.ts +73 -0
- package/ts/eqxpayments/updatemerchant.js +397 -0
- package/ts/eqxpayments/updatemerchantmodeconfigfee.d.ts +75 -0
- package/ts/eqxpayments/updatemerchantmodeconfigfee.js +417 -0
- package/ts/eqxpayments/updatepaymentcategoryclient.d.ts +75 -0
- package/ts/eqxpayments/updatepaymentcategoryclient.js +425 -0
- package/ts/eqxpayments/updatepaymentgateway.d.ts +71 -0
- package/ts/eqxpayments/updatepaymentgateway.js +369 -0
- package/ts/eqxpayments/vendors_create.js +1 -1
- package/ts/eqxpayments/vendors_get.js +1 -1
- package/ts/eqxpayments/vendors_list.js +1 -1
- package/ts/eqxpayments/vendors_update.js +1 -1
- package/ts/eqxpayments.js +1 -1
- package/ts/example.js +1 -1
- package/ts/feepayments/getbanklist.js +1 -1
- package/ts/feepayments.js +1 -1
- package/ts/growth/getchrpdfurl.js +1 -1
- package/ts/growth/getchrreportdata.js +1 -1
- package/ts/growth/getchrsubscriptionplan.js +1 -1
- package/ts/growth/getchrvideourl.js +1 -1
- package/ts/growth.js +1 -1
- package/ts/kyc/amldetails.js +1 -1
- package/ts/kyc/authbridgepancomprehend.js +1 -1
- package/ts/kyc/bureauidwhatsapp.js +1 -1
- package/ts/kyc/ckycfetchrecord.js +1 -1
- package/ts/kyc/ckycresendotp.js +1 -1
- package/ts/kyc/ckycsearchv1.js +1 -1
- package/ts/kyc/ckycvalidation.js +1 -1
- package/ts/kyc/facematch.js +1 -1
- package/ts/kyc/fetchaadhaarbypan.js +1 -1
- package/ts/kyc/fetchemploymenthistory.js +1 -1
- package/ts/kyc/fetchuanlist.js +1 -1
- package/ts/kyc/getselfiestatusbureauid.js +1 -1
- package/ts/kyc/getselfietxnid.js +1 -1
- package/ts/kyc/getselfieurl.js +1 -1
- package/ts/kyc/getselfieurlbybureauid.js +1 -1
- package/ts/kyc/nsdlpanvalidate.js +1 -1
- package/ts/kyc/okyclinkhyperverge.js +1 -1
- package/ts/kyc.js +1 -1
- package/ts/lamf/getloandetails.js +1 -1
- package/ts/lamf/submitotp.js +1 -1
- package/ts/lamf/validateuser.js +1 -1
- package/ts/lamf.js +1 -1
- package/ts/loans/addreference.js +1 -1
- package/ts/loans/amortization.js +1 -1
- package/ts/loans/approveloan.js +1 -1
- package/ts/loans/banklist.js +1 -1
- package/ts/loans/calculateemi.js +1 -1
- package/ts/loans/cbloan.js +1 -1
- package/ts/loans/createlamfloan.js +1 -1
- package/ts/loans/createpenalty.js +1 -1
- package/ts/loans/creditlimit.js +1 -1
- package/ts/loans/emimoredetails.js +1 -1
- package/ts/loans/fcppayment.js +1 -1
- package/ts/loans/foreclosepayment.js +1 -1
- package/ts/loans/getaddonslist.js +1 -1
- package/ts/loans/getbankdetails.js +1 -1
- package/ts/loans/getbilldetails.js +1 -1
- package/ts/loans/getcbloandetails.js +1 -1
- package/ts/loans/getchrdetails.js +1 -1
- package/ts/loans/getcustomerloanstatus.js +1 -1
- package/ts/loans/getforecloseamount.js +1 -1
- package/ts/loans/getloanbyid.js +1 -1
- package/ts/loans/getlocconfirms.js +1 -1
- package/ts/loans/getlocdetails.js +1 -1
- package/ts/loans/getlocdisburse.js +1 -1
- package/ts/loans/getloctenure.js +1 -1
- package/ts/loans/getlocwithdraw.js +1 -1
- package/ts/loans/getlocwithdrawform.js +1 -1
- package/ts/loans/getnextdueamount.js +1 -1
- package/ts/loans/getpaymentoptions.js +1 -1
- package/ts/loans/getpendingemiamount.js +1 -1
- package/ts/loans/getsetubilldetails.js +1 -1
- package/ts/loans/getsummarystaticfields.js +1 -1
- package/ts/loans/gettransactionstatus.js +1 -1
- package/ts/loans/getusedlimit.js +1 -1
- package/ts/loans/getvirtualbankinfo.js +1 -1
- package/ts/loans/loansummary.js +1 -1
- package/ts/loans/locrequested.js +1 -1
- package/ts/loans/manualpaymentallocation.js +1 -1
- package/ts/loans/paymentallocation.js +1 -1
- package/ts/loans/paymenthistory.js +1 -1
- package/ts/loans/paynow.js +1 -1
- package/ts/loans/refund.js +1 -1
- package/ts/loans/restructureloan.js +1 -1
- package/ts/loans/rollback.js +1 -1
- package/ts/loans/sendemail.js +1 -1
- package/ts/loans/sendnocemail.js +1 -1
- package/ts/loans/transactionlist.js +1 -1
- package/ts/loans/updatecollectionview.js +1 -1
- package/ts/loans/updateinstallments.js +1 -1
- package/ts/loans/updateloan.js +1 -1
- package/ts/loans/updatetransactionstatus.js +1 -1
- package/ts/loans.js +1 -1
- package/ts/payments/cancelnachupimandate.js +1 -1
- package/ts/payments/checkpaymentstatus.js +1 -1
- package/ts/payments/fundtransfer.js +1 -1
- package/ts/payments/getpaymentoptions.js +1 -1
- package/ts/payments/initiatepayment.js +1 -1
- package/ts/payments/initiaterefund.js +1 -1
- package/ts/payments/nachpresentation.js +1 -1
- package/ts/payments/nachregistration.js +1 -1
- package/ts/payments.js +1 -1
- package/ts/paymentsnode.js +1 -1
- package/ts/rewards/getoffers.js +1 -1
- package/ts/rewards/redeemoffer.js +1 -1
- package/ts/rewards.js +1 -1
- package/ts/stashcash/creditsc.js +1 -1
- package/ts/stashcash/debitsc.js +1 -1
- package/ts/stashcash/getearnings.js +1 -1
- package/ts/stashcash/getscbalance.js +1 -1
- package/ts/stashcash/getschistory.js +1 -1
- package/ts/stashcash/reversesc.js +1 -1
- package/ts/stashcash.js +1 -1
- package/ts/upi/addaccount.js +1 -1
- package/ts/upi/blockvpa.js +1 -1
- package/ts/upi/checkderegisterpermission.js +1 -1
- package/ts/upi/checktransactionstatus.js +1 -1
- package/ts/upi/declinemandate.js +1 -1
- package/ts/upi/declinetransaction.js +1 -1
- package/ts/upi/deregisterprofile.js +1 -1
- package/ts/upi/getaccountsbyprovider.js +1 -1
- package/ts/upi/getallmandates.js +1 -1
- package/ts/upi/getallupitxnsdetails.js +1 -1
- package/ts/upi/getavailablevpa.js +1 -1
- package/ts/upi/getlistedaccountproviders.js +1 -1
- package/ts/upi/getmandatedetails.js +1 -1
- package/ts/upi/getmandatehistory.js +1 -1
- package/ts/upi/getpendingcollectrequest.js +1 -1
- package/ts/upi/getprofile.js +1 -1
- package/ts/upi/getrecentcontacts.js +1 -1
- package/ts/upi/gettransactions.js +1 -1
- package/ts/upi/getupinumbers.js +1 -1
- package/ts/upi/getupireport.js +1 -1
- package/ts/upi/getupitxnstatustype.js +1 -1
- package/ts/upi/initiatemandateaction.js +1 -1
- package/ts/upi/initiatetransaction.js +1 -1
- package/ts/upi/listblockedvpa.js +1 -1
- package/ts/upi/unblockvpa.js +1 -1
- package/ts/upi/updatedevicebinding.js +1 -1
- package/ts/upi/upinumberoperations.js +1 -1
- package/ts/upi/validateifsc.js +1 -1
- package/ts/upi/validatevpa.js +1 -1
- package/ts/upi.js +1 -1
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "eqxpayments.listcheckoutoptionsv2";
|
|
3
|
+
/** Reference for banks the user can pick when mode is NETBANKING. */
|
|
4
|
+
export interface BankInfo {
|
|
5
|
+
/** e.g., "HDFC" */
|
|
6
|
+
code: string;
|
|
7
|
+
/** e.g., "HDFC Bank" */
|
|
8
|
+
label: string;
|
|
9
|
+
/** CDN URL to SVG/PNG */
|
|
10
|
+
logo_url: string;
|
|
11
|
+
}
|
|
12
|
+
export interface MoneyQuote {
|
|
13
|
+
/** Which paymode this quote is for */
|
|
14
|
+
mode_code: string;
|
|
15
|
+
/** FK -> payment_mode_v2.id */
|
|
16
|
+
mode_id: number;
|
|
17
|
+
/** Amounts (in minor units, e.g., paise) */
|
|
18
|
+
base_amount: number;
|
|
19
|
+
/** computed convenience/processing fee */
|
|
20
|
+
ccf_minor: number;
|
|
21
|
+
/** GST on CCF */
|
|
22
|
+
gst_minor: number;
|
|
23
|
+
/** base + ccf + gst (rounded to paise) */
|
|
24
|
+
final_amount: number;
|
|
25
|
+
/** UI helpers */
|
|
26
|
+
pricing_model: string;
|
|
27
|
+
/** from SPMC */
|
|
28
|
+
enabled: boolean;
|
|
29
|
+
/** from SPMC */
|
|
30
|
+
ui_order: number;
|
|
31
|
+
/**
|
|
32
|
+
* NETBANKING ONLY: Allowed banks for this subscriber/mode (route ∩ vendor support)
|
|
33
|
+
* Omitted/empty for non-NETBANKING modes.
|
|
34
|
+
*/
|
|
35
|
+
allowed_banks: BankInfo[];
|
|
36
|
+
/** Optional: hash of sorted bank codes for client caching/memoization */
|
|
37
|
+
banks_version: string;
|
|
38
|
+
}
|
|
39
|
+
export interface ListCheckoutOptionsRequestV2 {
|
|
40
|
+
/** JWT/hash returned by CreateOrderV2. Server validates and loads tx. */
|
|
41
|
+
checkout_token: string;
|
|
42
|
+
}
|
|
43
|
+
export interface ListCheckoutOptionsResponseV2 {
|
|
44
|
+
transaction_id: string;
|
|
45
|
+
subscriber_id: string;
|
|
46
|
+
order_ref: string;
|
|
47
|
+
/** One quote per enabled paymode (sorted by ui_order) */
|
|
48
|
+
options: MoneyQuote[];
|
|
49
|
+
/** Quote metadata */
|
|
50
|
+
quote_version: string;
|
|
51
|
+
/** ISO-8601 UTC timestamp */
|
|
52
|
+
expires_at: string;
|
|
53
|
+
}
|
|
54
|
+
export declare const BankInfo: {
|
|
55
|
+
encode(message: BankInfo, writer?: _m0.Writer): _m0.Writer;
|
|
56
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BankInfo;
|
|
57
|
+
fromJSON(object: any): BankInfo;
|
|
58
|
+
toJSON(message: BankInfo): unknown;
|
|
59
|
+
create<I extends Exact<DeepPartial<BankInfo>, I>>(base?: I): BankInfo;
|
|
60
|
+
fromPartial<I extends Exact<DeepPartial<BankInfo>, I>>(object: I): BankInfo;
|
|
61
|
+
};
|
|
62
|
+
export declare const MoneyQuote: {
|
|
63
|
+
encode(message: MoneyQuote, writer?: _m0.Writer): _m0.Writer;
|
|
64
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MoneyQuote;
|
|
65
|
+
fromJSON(object: any): MoneyQuote;
|
|
66
|
+
toJSON(message: MoneyQuote): unknown;
|
|
67
|
+
create<I extends Exact<DeepPartial<MoneyQuote>, I>>(base?: I): MoneyQuote;
|
|
68
|
+
fromPartial<I extends Exact<DeepPartial<MoneyQuote>, I>>(object: I): MoneyQuote;
|
|
69
|
+
};
|
|
70
|
+
export declare const ListCheckoutOptionsRequestV2: {
|
|
71
|
+
encode(message: ListCheckoutOptionsRequestV2, writer?: _m0.Writer): _m0.Writer;
|
|
72
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ListCheckoutOptionsRequestV2;
|
|
73
|
+
fromJSON(object: any): ListCheckoutOptionsRequestV2;
|
|
74
|
+
toJSON(message: ListCheckoutOptionsRequestV2): unknown;
|
|
75
|
+
create<I extends Exact<DeepPartial<ListCheckoutOptionsRequestV2>, I>>(base?: I): ListCheckoutOptionsRequestV2;
|
|
76
|
+
fromPartial<I extends Exact<DeepPartial<ListCheckoutOptionsRequestV2>, I>>(object: I): ListCheckoutOptionsRequestV2;
|
|
77
|
+
};
|
|
78
|
+
export declare const ListCheckoutOptionsResponseV2: {
|
|
79
|
+
encode(message: ListCheckoutOptionsResponseV2, writer?: _m0.Writer): _m0.Writer;
|
|
80
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ListCheckoutOptionsResponseV2;
|
|
81
|
+
fromJSON(object: any): ListCheckoutOptionsResponseV2;
|
|
82
|
+
toJSON(message: ListCheckoutOptionsResponseV2): unknown;
|
|
83
|
+
create<I extends Exact<DeepPartial<ListCheckoutOptionsResponseV2>, I>>(base?: I): ListCheckoutOptionsResponseV2;
|
|
84
|
+
fromPartial<I extends Exact<DeepPartial<ListCheckoutOptionsResponseV2>, I>>(object: I): ListCheckoutOptionsResponseV2;
|
|
85
|
+
};
|
|
86
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
87
|
+
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 {} ? {
|
|
88
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
89
|
+
} : Partial<T>;
|
|
90
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
91
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
92
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
93
|
+
} & {
|
|
94
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
95
|
+
};
|
|
96
|
+
export {};
|
|
@@ -0,0 +1,489 @@
|
|
|
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 v6.33.2
|
|
6
|
+
// source: eqxpayments/listcheckoutoptionsv2.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.ListCheckoutOptionsResponseV2 = exports.ListCheckoutOptionsRequestV2 = exports.MoneyQuote = exports.BankInfo = 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 = "eqxpayments.listcheckoutoptionsv2";
|
|
16
|
+
function createBaseBankInfo() {
|
|
17
|
+
return { code: "", label: "", logo_url: "" };
|
|
18
|
+
}
|
|
19
|
+
exports.BankInfo = {
|
|
20
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
|
+
if (message.code !== "") {
|
|
22
|
+
writer.uint32(10).string(message.code);
|
|
23
|
+
}
|
|
24
|
+
if (message.label !== "") {
|
|
25
|
+
writer.uint32(18).string(message.label);
|
|
26
|
+
}
|
|
27
|
+
if (message.logo_url !== "") {
|
|
28
|
+
writer.uint32(26).string(message.logo_url);
|
|
29
|
+
}
|
|
30
|
+
return writer;
|
|
31
|
+
},
|
|
32
|
+
decode(input, length) {
|
|
33
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
34
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
35
|
+
const message = createBaseBankInfo();
|
|
36
|
+
while (reader.pos < end) {
|
|
37
|
+
const tag = reader.uint32();
|
|
38
|
+
switch (tag >>> 3) {
|
|
39
|
+
case 1:
|
|
40
|
+
if (tag !== 10) {
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
message.code = reader.string();
|
|
44
|
+
continue;
|
|
45
|
+
case 2:
|
|
46
|
+
if (tag !== 18) {
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
message.label = reader.string();
|
|
50
|
+
continue;
|
|
51
|
+
case 3:
|
|
52
|
+
if (tag !== 26) {
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
55
|
+
message.logo_url = reader.string();
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
59
|
+
break;
|
|
60
|
+
}
|
|
61
|
+
reader.skipType(tag & 7);
|
|
62
|
+
}
|
|
63
|
+
return message;
|
|
64
|
+
},
|
|
65
|
+
fromJSON(object) {
|
|
66
|
+
return {
|
|
67
|
+
code: isSet(object.code) ? globalThis.String(object.code) : "",
|
|
68
|
+
label: isSet(object.label) ? globalThis.String(object.label) : "",
|
|
69
|
+
logo_url: isSet(object.logo_url) ? globalThis.String(object.logo_url) : "",
|
|
70
|
+
};
|
|
71
|
+
},
|
|
72
|
+
toJSON(message) {
|
|
73
|
+
const obj = {};
|
|
74
|
+
if (message.code !== "") {
|
|
75
|
+
obj.code = message.code;
|
|
76
|
+
}
|
|
77
|
+
if (message.label !== "") {
|
|
78
|
+
obj.label = message.label;
|
|
79
|
+
}
|
|
80
|
+
if (message.logo_url !== "") {
|
|
81
|
+
obj.logo_url = message.logo_url;
|
|
82
|
+
}
|
|
83
|
+
return obj;
|
|
84
|
+
},
|
|
85
|
+
create(base) {
|
|
86
|
+
return exports.BankInfo.fromPartial(base ?? {});
|
|
87
|
+
},
|
|
88
|
+
fromPartial(object) {
|
|
89
|
+
const message = createBaseBankInfo();
|
|
90
|
+
message.code = object.code ?? "";
|
|
91
|
+
message.label = object.label ?? "";
|
|
92
|
+
message.logo_url = object.logo_url ?? "";
|
|
93
|
+
return message;
|
|
94
|
+
},
|
|
95
|
+
};
|
|
96
|
+
function createBaseMoneyQuote() {
|
|
97
|
+
return {
|
|
98
|
+
mode_code: "",
|
|
99
|
+
mode_id: 0,
|
|
100
|
+
base_amount: 0,
|
|
101
|
+
ccf_minor: 0,
|
|
102
|
+
gst_minor: 0,
|
|
103
|
+
final_amount: 0,
|
|
104
|
+
pricing_model: "",
|
|
105
|
+
enabled: false,
|
|
106
|
+
ui_order: 0,
|
|
107
|
+
allowed_banks: [],
|
|
108
|
+
banks_version: "",
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
exports.MoneyQuote = {
|
|
112
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
113
|
+
if (message.mode_code !== "") {
|
|
114
|
+
writer.uint32(10).string(message.mode_code);
|
|
115
|
+
}
|
|
116
|
+
if (message.mode_id !== 0) {
|
|
117
|
+
writer.uint32(16).int32(message.mode_id);
|
|
118
|
+
}
|
|
119
|
+
if (message.base_amount !== 0) {
|
|
120
|
+
writer.uint32(24).int64(message.base_amount);
|
|
121
|
+
}
|
|
122
|
+
if (message.ccf_minor !== 0) {
|
|
123
|
+
writer.uint32(32).int64(message.ccf_minor);
|
|
124
|
+
}
|
|
125
|
+
if (message.gst_minor !== 0) {
|
|
126
|
+
writer.uint32(40).int64(message.gst_minor);
|
|
127
|
+
}
|
|
128
|
+
if (message.final_amount !== 0) {
|
|
129
|
+
writer.uint32(48).int64(message.final_amount);
|
|
130
|
+
}
|
|
131
|
+
if (message.pricing_model !== "") {
|
|
132
|
+
writer.uint32(58).string(message.pricing_model);
|
|
133
|
+
}
|
|
134
|
+
if (message.enabled !== false) {
|
|
135
|
+
writer.uint32(64).bool(message.enabled);
|
|
136
|
+
}
|
|
137
|
+
if (message.ui_order !== 0) {
|
|
138
|
+
writer.uint32(72).int32(message.ui_order);
|
|
139
|
+
}
|
|
140
|
+
for (const v of message.allowed_banks) {
|
|
141
|
+
exports.BankInfo.encode(v, writer.uint32(82).fork()).ldelim();
|
|
142
|
+
}
|
|
143
|
+
if (message.banks_version !== "") {
|
|
144
|
+
writer.uint32(90).string(message.banks_version);
|
|
145
|
+
}
|
|
146
|
+
return writer;
|
|
147
|
+
},
|
|
148
|
+
decode(input, length) {
|
|
149
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
150
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
151
|
+
const message = createBaseMoneyQuote();
|
|
152
|
+
while (reader.pos < end) {
|
|
153
|
+
const tag = reader.uint32();
|
|
154
|
+
switch (tag >>> 3) {
|
|
155
|
+
case 1:
|
|
156
|
+
if (tag !== 10) {
|
|
157
|
+
break;
|
|
158
|
+
}
|
|
159
|
+
message.mode_code = reader.string();
|
|
160
|
+
continue;
|
|
161
|
+
case 2:
|
|
162
|
+
if (tag !== 16) {
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
165
|
+
message.mode_id = reader.int32();
|
|
166
|
+
continue;
|
|
167
|
+
case 3:
|
|
168
|
+
if (tag !== 24) {
|
|
169
|
+
break;
|
|
170
|
+
}
|
|
171
|
+
message.base_amount = longToNumber(reader.int64());
|
|
172
|
+
continue;
|
|
173
|
+
case 4:
|
|
174
|
+
if (tag !== 32) {
|
|
175
|
+
break;
|
|
176
|
+
}
|
|
177
|
+
message.ccf_minor = longToNumber(reader.int64());
|
|
178
|
+
continue;
|
|
179
|
+
case 5:
|
|
180
|
+
if (tag !== 40) {
|
|
181
|
+
break;
|
|
182
|
+
}
|
|
183
|
+
message.gst_minor = longToNumber(reader.int64());
|
|
184
|
+
continue;
|
|
185
|
+
case 6:
|
|
186
|
+
if (tag !== 48) {
|
|
187
|
+
break;
|
|
188
|
+
}
|
|
189
|
+
message.final_amount = longToNumber(reader.int64());
|
|
190
|
+
continue;
|
|
191
|
+
case 7:
|
|
192
|
+
if (tag !== 58) {
|
|
193
|
+
break;
|
|
194
|
+
}
|
|
195
|
+
message.pricing_model = reader.string();
|
|
196
|
+
continue;
|
|
197
|
+
case 8:
|
|
198
|
+
if (tag !== 64) {
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
message.enabled = reader.bool();
|
|
202
|
+
continue;
|
|
203
|
+
case 9:
|
|
204
|
+
if (tag !== 72) {
|
|
205
|
+
break;
|
|
206
|
+
}
|
|
207
|
+
message.ui_order = reader.int32();
|
|
208
|
+
continue;
|
|
209
|
+
case 10:
|
|
210
|
+
if (tag !== 82) {
|
|
211
|
+
break;
|
|
212
|
+
}
|
|
213
|
+
message.allowed_banks.push(exports.BankInfo.decode(reader, reader.uint32()));
|
|
214
|
+
continue;
|
|
215
|
+
case 11:
|
|
216
|
+
if (tag !== 90) {
|
|
217
|
+
break;
|
|
218
|
+
}
|
|
219
|
+
message.banks_version = reader.string();
|
|
220
|
+
continue;
|
|
221
|
+
}
|
|
222
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
223
|
+
break;
|
|
224
|
+
}
|
|
225
|
+
reader.skipType(tag & 7);
|
|
226
|
+
}
|
|
227
|
+
return message;
|
|
228
|
+
},
|
|
229
|
+
fromJSON(object) {
|
|
230
|
+
return {
|
|
231
|
+
mode_code: isSet(object.mode_code) ? globalThis.String(object.mode_code) : "",
|
|
232
|
+
mode_id: isSet(object.mode_id) ? globalThis.Number(object.mode_id) : 0,
|
|
233
|
+
base_amount: isSet(object.base_amount) ? globalThis.Number(object.base_amount) : 0,
|
|
234
|
+
ccf_minor: isSet(object.ccf_minor) ? globalThis.Number(object.ccf_minor) : 0,
|
|
235
|
+
gst_minor: isSet(object.gst_minor) ? globalThis.Number(object.gst_minor) : 0,
|
|
236
|
+
final_amount: isSet(object.final_amount) ? globalThis.Number(object.final_amount) : 0,
|
|
237
|
+
pricing_model: isSet(object.pricing_model) ? globalThis.String(object.pricing_model) : "",
|
|
238
|
+
enabled: isSet(object.enabled) ? globalThis.Boolean(object.enabled) : false,
|
|
239
|
+
ui_order: isSet(object.ui_order) ? globalThis.Number(object.ui_order) : 0,
|
|
240
|
+
allowed_banks: globalThis.Array.isArray(object?.allowed_banks)
|
|
241
|
+
? object.allowed_banks.map((e) => exports.BankInfo.fromJSON(e))
|
|
242
|
+
: [],
|
|
243
|
+
banks_version: isSet(object.banks_version) ? globalThis.String(object.banks_version) : "",
|
|
244
|
+
};
|
|
245
|
+
},
|
|
246
|
+
toJSON(message) {
|
|
247
|
+
const obj = {};
|
|
248
|
+
if (message.mode_code !== "") {
|
|
249
|
+
obj.mode_code = message.mode_code;
|
|
250
|
+
}
|
|
251
|
+
if (message.mode_id !== 0) {
|
|
252
|
+
obj.mode_id = Math.round(message.mode_id);
|
|
253
|
+
}
|
|
254
|
+
if (message.base_amount !== 0) {
|
|
255
|
+
obj.base_amount = Math.round(message.base_amount);
|
|
256
|
+
}
|
|
257
|
+
if (message.ccf_minor !== 0) {
|
|
258
|
+
obj.ccf_minor = Math.round(message.ccf_minor);
|
|
259
|
+
}
|
|
260
|
+
if (message.gst_minor !== 0) {
|
|
261
|
+
obj.gst_minor = Math.round(message.gst_minor);
|
|
262
|
+
}
|
|
263
|
+
if (message.final_amount !== 0) {
|
|
264
|
+
obj.final_amount = Math.round(message.final_amount);
|
|
265
|
+
}
|
|
266
|
+
if (message.pricing_model !== "") {
|
|
267
|
+
obj.pricing_model = message.pricing_model;
|
|
268
|
+
}
|
|
269
|
+
if (message.enabled !== false) {
|
|
270
|
+
obj.enabled = message.enabled;
|
|
271
|
+
}
|
|
272
|
+
if (message.ui_order !== 0) {
|
|
273
|
+
obj.ui_order = Math.round(message.ui_order);
|
|
274
|
+
}
|
|
275
|
+
if (message.allowed_banks?.length) {
|
|
276
|
+
obj.allowed_banks = message.allowed_banks.map((e) => exports.BankInfo.toJSON(e));
|
|
277
|
+
}
|
|
278
|
+
if (message.banks_version !== "") {
|
|
279
|
+
obj.banks_version = message.banks_version;
|
|
280
|
+
}
|
|
281
|
+
return obj;
|
|
282
|
+
},
|
|
283
|
+
create(base) {
|
|
284
|
+
return exports.MoneyQuote.fromPartial(base ?? {});
|
|
285
|
+
},
|
|
286
|
+
fromPartial(object) {
|
|
287
|
+
const message = createBaseMoneyQuote();
|
|
288
|
+
message.mode_code = object.mode_code ?? "";
|
|
289
|
+
message.mode_id = object.mode_id ?? 0;
|
|
290
|
+
message.base_amount = object.base_amount ?? 0;
|
|
291
|
+
message.ccf_minor = object.ccf_minor ?? 0;
|
|
292
|
+
message.gst_minor = object.gst_minor ?? 0;
|
|
293
|
+
message.final_amount = object.final_amount ?? 0;
|
|
294
|
+
message.pricing_model = object.pricing_model ?? "";
|
|
295
|
+
message.enabled = object.enabled ?? false;
|
|
296
|
+
message.ui_order = object.ui_order ?? 0;
|
|
297
|
+
message.allowed_banks = object.allowed_banks?.map((e) => exports.BankInfo.fromPartial(e)) || [];
|
|
298
|
+
message.banks_version = object.banks_version ?? "";
|
|
299
|
+
return message;
|
|
300
|
+
},
|
|
301
|
+
};
|
|
302
|
+
function createBaseListCheckoutOptionsRequestV2() {
|
|
303
|
+
return { checkout_token: "" };
|
|
304
|
+
}
|
|
305
|
+
exports.ListCheckoutOptionsRequestV2 = {
|
|
306
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
307
|
+
if (message.checkout_token !== "") {
|
|
308
|
+
writer.uint32(10).string(message.checkout_token);
|
|
309
|
+
}
|
|
310
|
+
return writer;
|
|
311
|
+
},
|
|
312
|
+
decode(input, length) {
|
|
313
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
314
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
315
|
+
const message = createBaseListCheckoutOptionsRequestV2();
|
|
316
|
+
while (reader.pos < end) {
|
|
317
|
+
const tag = reader.uint32();
|
|
318
|
+
switch (tag >>> 3) {
|
|
319
|
+
case 1:
|
|
320
|
+
if (tag !== 10) {
|
|
321
|
+
break;
|
|
322
|
+
}
|
|
323
|
+
message.checkout_token = reader.string();
|
|
324
|
+
continue;
|
|
325
|
+
}
|
|
326
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
327
|
+
break;
|
|
328
|
+
}
|
|
329
|
+
reader.skipType(tag & 7);
|
|
330
|
+
}
|
|
331
|
+
return message;
|
|
332
|
+
},
|
|
333
|
+
fromJSON(object) {
|
|
334
|
+
return { checkout_token: isSet(object.checkout_token) ? globalThis.String(object.checkout_token) : "" };
|
|
335
|
+
},
|
|
336
|
+
toJSON(message) {
|
|
337
|
+
const obj = {};
|
|
338
|
+
if (message.checkout_token !== "") {
|
|
339
|
+
obj.checkout_token = message.checkout_token;
|
|
340
|
+
}
|
|
341
|
+
return obj;
|
|
342
|
+
},
|
|
343
|
+
create(base) {
|
|
344
|
+
return exports.ListCheckoutOptionsRequestV2.fromPartial(base ?? {});
|
|
345
|
+
},
|
|
346
|
+
fromPartial(object) {
|
|
347
|
+
const message = createBaseListCheckoutOptionsRequestV2();
|
|
348
|
+
message.checkout_token = object.checkout_token ?? "";
|
|
349
|
+
return message;
|
|
350
|
+
},
|
|
351
|
+
};
|
|
352
|
+
function createBaseListCheckoutOptionsResponseV2() {
|
|
353
|
+
return { transaction_id: "", subscriber_id: "", order_ref: "", options: [], quote_version: "", expires_at: "" };
|
|
354
|
+
}
|
|
355
|
+
exports.ListCheckoutOptionsResponseV2 = {
|
|
356
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
357
|
+
if (message.transaction_id !== "") {
|
|
358
|
+
writer.uint32(10).string(message.transaction_id);
|
|
359
|
+
}
|
|
360
|
+
if (message.subscriber_id !== "") {
|
|
361
|
+
writer.uint32(18).string(message.subscriber_id);
|
|
362
|
+
}
|
|
363
|
+
if (message.order_ref !== "") {
|
|
364
|
+
writer.uint32(26).string(message.order_ref);
|
|
365
|
+
}
|
|
366
|
+
for (const v of message.options) {
|
|
367
|
+
exports.MoneyQuote.encode(v, writer.uint32(34).fork()).ldelim();
|
|
368
|
+
}
|
|
369
|
+
if (message.quote_version !== "") {
|
|
370
|
+
writer.uint32(42).string(message.quote_version);
|
|
371
|
+
}
|
|
372
|
+
if (message.expires_at !== "") {
|
|
373
|
+
writer.uint32(50).string(message.expires_at);
|
|
374
|
+
}
|
|
375
|
+
return writer;
|
|
376
|
+
},
|
|
377
|
+
decode(input, length) {
|
|
378
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
379
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
380
|
+
const message = createBaseListCheckoutOptionsResponseV2();
|
|
381
|
+
while (reader.pos < end) {
|
|
382
|
+
const tag = reader.uint32();
|
|
383
|
+
switch (tag >>> 3) {
|
|
384
|
+
case 1:
|
|
385
|
+
if (tag !== 10) {
|
|
386
|
+
break;
|
|
387
|
+
}
|
|
388
|
+
message.transaction_id = reader.string();
|
|
389
|
+
continue;
|
|
390
|
+
case 2:
|
|
391
|
+
if (tag !== 18) {
|
|
392
|
+
break;
|
|
393
|
+
}
|
|
394
|
+
message.subscriber_id = reader.string();
|
|
395
|
+
continue;
|
|
396
|
+
case 3:
|
|
397
|
+
if (tag !== 26) {
|
|
398
|
+
break;
|
|
399
|
+
}
|
|
400
|
+
message.order_ref = reader.string();
|
|
401
|
+
continue;
|
|
402
|
+
case 4:
|
|
403
|
+
if (tag !== 34) {
|
|
404
|
+
break;
|
|
405
|
+
}
|
|
406
|
+
message.options.push(exports.MoneyQuote.decode(reader, reader.uint32()));
|
|
407
|
+
continue;
|
|
408
|
+
case 5:
|
|
409
|
+
if (tag !== 42) {
|
|
410
|
+
break;
|
|
411
|
+
}
|
|
412
|
+
message.quote_version = reader.string();
|
|
413
|
+
continue;
|
|
414
|
+
case 6:
|
|
415
|
+
if (tag !== 50) {
|
|
416
|
+
break;
|
|
417
|
+
}
|
|
418
|
+
message.expires_at = reader.string();
|
|
419
|
+
continue;
|
|
420
|
+
}
|
|
421
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
422
|
+
break;
|
|
423
|
+
}
|
|
424
|
+
reader.skipType(tag & 7);
|
|
425
|
+
}
|
|
426
|
+
return message;
|
|
427
|
+
},
|
|
428
|
+
fromJSON(object) {
|
|
429
|
+
return {
|
|
430
|
+
transaction_id: isSet(object.transaction_id) ? globalThis.String(object.transaction_id) : "",
|
|
431
|
+
subscriber_id: isSet(object.subscriber_id) ? globalThis.String(object.subscriber_id) : "",
|
|
432
|
+
order_ref: isSet(object.order_ref) ? globalThis.String(object.order_ref) : "",
|
|
433
|
+
options: globalThis.Array.isArray(object?.options) ? object.options.map((e) => exports.MoneyQuote.fromJSON(e)) : [],
|
|
434
|
+
quote_version: isSet(object.quote_version) ? globalThis.String(object.quote_version) : "",
|
|
435
|
+
expires_at: isSet(object.expires_at) ? globalThis.String(object.expires_at) : "",
|
|
436
|
+
};
|
|
437
|
+
},
|
|
438
|
+
toJSON(message) {
|
|
439
|
+
const obj = {};
|
|
440
|
+
if (message.transaction_id !== "") {
|
|
441
|
+
obj.transaction_id = message.transaction_id;
|
|
442
|
+
}
|
|
443
|
+
if (message.subscriber_id !== "") {
|
|
444
|
+
obj.subscriber_id = message.subscriber_id;
|
|
445
|
+
}
|
|
446
|
+
if (message.order_ref !== "") {
|
|
447
|
+
obj.order_ref = message.order_ref;
|
|
448
|
+
}
|
|
449
|
+
if (message.options?.length) {
|
|
450
|
+
obj.options = message.options.map((e) => exports.MoneyQuote.toJSON(e));
|
|
451
|
+
}
|
|
452
|
+
if (message.quote_version !== "") {
|
|
453
|
+
obj.quote_version = message.quote_version;
|
|
454
|
+
}
|
|
455
|
+
if (message.expires_at !== "") {
|
|
456
|
+
obj.expires_at = message.expires_at;
|
|
457
|
+
}
|
|
458
|
+
return obj;
|
|
459
|
+
},
|
|
460
|
+
create(base) {
|
|
461
|
+
return exports.ListCheckoutOptionsResponseV2.fromPartial(base ?? {});
|
|
462
|
+
},
|
|
463
|
+
fromPartial(object) {
|
|
464
|
+
const message = createBaseListCheckoutOptionsResponseV2();
|
|
465
|
+
message.transaction_id = object.transaction_id ?? "";
|
|
466
|
+
message.subscriber_id = object.subscriber_id ?? "";
|
|
467
|
+
message.order_ref = object.order_ref ?? "";
|
|
468
|
+
message.options = object.options?.map((e) => exports.MoneyQuote.fromPartial(e)) || [];
|
|
469
|
+
message.quote_version = object.quote_version ?? "";
|
|
470
|
+
message.expires_at = object.expires_at ?? "";
|
|
471
|
+
return message;
|
|
472
|
+
},
|
|
473
|
+
};
|
|
474
|
+
function longToNumber(long) {
|
|
475
|
+
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
476
|
+
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
477
|
+
}
|
|
478
|
+
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
479
|
+
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
480
|
+
}
|
|
481
|
+
return long.toNumber();
|
|
482
|
+
}
|
|
483
|
+
if (minimal_1.default.util.Long !== long_1.default) {
|
|
484
|
+
minimal_1.default.util.Long = long_1.default;
|
|
485
|
+
minimal_1.default.configure();
|
|
486
|
+
}
|
|
487
|
+
function isSet(value) {
|
|
488
|
+
return value !== null && value !== undefined;
|
|
489
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "eqxpayments.listmerchants";
|
|
3
|
+
/** Merchant structure for list */
|
|
4
|
+
export interface Merchant {
|
|
5
|
+
merchant_id: string;
|
|
6
|
+
merchant_name: string;
|
|
7
|
+
merchant_code: string;
|
|
8
|
+
gateway_id: string;
|
|
9
|
+
status: string;
|
|
10
|
+
created_at: string;
|
|
11
|
+
updated_at: string;
|
|
12
|
+
}
|
|
13
|
+
/** List data structure */
|
|
14
|
+
export interface ListData {
|
|
15
|
+
merchants: Merchant[];
|
|
16
|
+
}
|
|
17
|
+
/** Request message */
|
|
18
|
+
export interface request {
|
|
19
|
+
gateway_id: string;
|
|
20
|
+
}
|
|
21
|
+
/** Response message */
|
|
22
|
+
export interface response {
|
|
23
|
+
success: boolean;
|
|
24
|
+
data: ListData | undefined;
|
|
25
|
+
}
|
|
26
|
+
export declare const Merchant: {
|
|
27
|
+
encode(message: Merchant, writer?: _m0.Writer): _m0.Writer;
|
|
28
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Merchant;
|
|
29
|
+
fromJSON(object: any): Merchant;
|
|
30
|
+
toJSON(message: Merchant): unknown;
|
|
31
|
+
create<I extends Exact<DeepPartial<Merchant>, I>>(base?: I): Merchant;
|
|
32
|
+
fromPartial<I extends Exact<DeepPartial<Merchant>, I>>(object: I): Merchant;
|
|
33
|
+
};
|
|
34
|
+
export declare const ListData: {
|
|
35
|
+
encode(message: ListData, writer?: _m0.Writer): _m0.Writer;
|
|
36
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): ListData;
|
|
37
|
+
fromJSON(object: any): ListData;
|
|
38
|
+
toJSON(message: ListData): unknown;
|
|
39
|
+
create<I extends Exact<DeepPartial<ListData>, I>>(base?: I): ListData;
|
|
40
|
+
fromPartial<I extends Exact<DeepPartial<ListData>, I>>(object: I): ListData;
|
|
41
|
+
};
|
|
42
|
+
export declare const request: {
|
|
43
|
+
encode(message: request, writer?: _m0.Writer): _m0.Writer;
|
|
44
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): request;
|
|
45
|
+
fromJSON(object: any): request;
|
|
46
|
+
toJSON(message: request): unknown;
|
|
47
|
+
create<I extends Exact<DeepPartial<request>, I>>(base?: I): request;
|
|
48
|
+
fromPartial<I extends Exact<DeepPartial<request>, I>>(object: I): request;
|
|
49
|
+
};
|
|
50
|
+
export declare const response: {
|
|
51
|
+
encode(message: response, writer?: _m0.Writer): _m0.Writer;
|
|
52
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): response;
|
|
53
|
+
fromJSON(object: any): response;
|
|
54
|
+
toJSON(message: response): unknown;
|
|
55
|
+
create<I extends Exact<DeepPartial<response>, I>>(base?: I): response;
|
|
56
|
+
fromPartial<I extends Exact<DeepPartial<response>, I>>(object: I): response;
|
|
57
|
+
};
|
|
58
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
59
|
+
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 {} ? {
|
|
60
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
61
|
+
} : Partial<T>;
|
|
62
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
63
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
64
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
65
|
+
} & {
|
|
66
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
67
|
+
};
|
|
68
|
+
export {};
|