@stashfin/grpc 1.2.708 → 1.2.710
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/bureau/getbasicdetails.js +2 -2
- package/ts/bureau/getcibilwebtoken.js +2 -2
- package/ts/bureau/getdbrcolending.js +2 -2
- package/ts/bureau/getdemogs.js +2 -2
- package/ts/bureau/getobligation.js +2 -2
- package/ts/bureau/getreport.js +2 -2
- package/ts/bureau.d.ts +12 -12
- 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 +36 -36
- 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/getnotifications.js +2 -2
- package/ts/eqxcustomers/getstashscorecustomerprofile.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/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/growth/getchrpdfurl.js +2 -2
- package/ts/growth/getchrreportdata.d.ts +1 -0
- package/ts/growth/getchrreportdata.js +17 -2
- package/ts/growth/getchrvideourl.d.ts +35 -0
- package/ts/{customers/verifyemail.js → growth/getchrvideourl.js} +33 -33
- package/ts/growth.d.ts +18 -4
- package/ts/growth.js +12 -2
- package/ts/kyc/amldetails.js +2 -2
- package/ts/kyc/authbridgepancomprehend.js +2 -2
- package/ts/{communications → kyc}/bureauidwhatsapp.d.ts +1 -1
- package/ts/{communications → kyc}/bureauidwhatsapp.js +4 -4
- 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 +32 -18
- package/ts/kyc.js +12 -2
- package/ts/lamf/getloandetails.js +2 -2
- package/ts/lamf/submitotp.js +2 -2
- package/ts/lamf/validateuser.js +2 -2
- package/ts/lamf.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.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/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
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
-
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.2
|
|
6
|
-
// source: growth/processchrpayment.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.processchrresponse = exports.processchrrequest = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "growth.processchrpayment";
|
|
15
|
-
function createBaseprocesschrrequest() {
|
|
16
|
-
return { txn_id: "", txn_status: "", data: "" };
|
|
17
|
-
}
|
|
18
|
-
exports.processchrrequest = {
|
|
19
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
-
if (message.txn_id !== "") {
|
|
21
|
-
writer.uint32(10).string(message.txn_id);
|
|
22
|
-
}
|
|
23
|
-
if (message.txn_status !== "") {
|
|
24
|
-
writer.uint32(18).string(message.txn_status);
|
|
25
|
-
}
|
|
26
|
-
if (message.data !== "") {
|
|
27
|
-
writer.uint32(26).string(message.data);
|
|
28
|
-
}
|
|
29
|
-
return writer;
|
|
30
|
-
},
|
|
31
|
-
decode(input, length) {
|
|
32
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
33
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
34
|
-
const message = createBaseprocesschrrequest();
|
|
35
|
-
while (reader.pos < end) {
|
|
36
|
-
const tag = reader.uint32();
|
|
37
|
-
switch (tag >>> 3) {
|
|
38
|
-
case 1:
|
|
39
|
-
if (tag !== 10) {
|
|
40
|
-
break;
|
|
41
|
-
}
|
|
42
|
-
message.txn_id = reader.string();
|
|
43
|
-
continue;
|
|
44
|
-
case 2:
|
|
45
|
-
if (tag !== 18) {
|
|
46
|
-
break;
|
|
47
|
-
}
|
|
48
|
-
message.txn_status = reader.string();
|
|
49
|
-
continue;
|
|
50
|
-
case 3:
|
|
51
|
-
if (tag !== 26) {
|
|
52
|
-
break;
|
|
53
|
-
}
|
|
54
|
-
message.data = reader.string();
|
|
55
|
-
continue;
|
|
56
|
-
}
|
|
57
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
58
|
-
break;
|
|
59
|
-
}
|
|
60
|
-
reader.skipType(tag & 7);
|
|
61
|
-
}
|
|
62
|
-
return message;
|
|
63
|
-
},
|
|
64
|
-
fromJSON(object) {
|
|
65
|
-
return {
|
|
66
|
-
txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
|
|
67
|
-
txn_status: isSet(object.txn_status) ? globalThis.String(object.txn_status) : "",
|
|
68
|
-
data: isSet(object.data) ? globalThis.String(object.data) : "",
|
|
69
|
-
};
|
|
70
|
-
},
|
|
71
|
-
toJSON(message) {
|
|
72
|
-
const obj = {};
|
|
73
|
-
if (message.txn_id !== "") {
|
|
74
|
-
obj.txn_id = message.txn_id;
|
|
75
|
-
}
|
|
76
|
-
if (message.txn_status !== "") {
|
|
77
|
-
obj.txn_status = message.txn_status;
|
|
78
|
-
}
|
|
79
|
-
if (message.data !== "") {
|
|
80
|
-
obj.data = message.data;
|
|
81
|
-
}
|
|
82
|
-
return obj;
|
|
83
|
-
},
|
|
84
|
-
create(base) {
|
|
85
|
-
return exports.processchrrequest.fromPartial(base ?? {});
|
|
86
|
-
},
|
|
87
|
-
fromPartial(object) {
|
|
88
|
-
const message = createBaseprocesschrrequest();
|
|
89
|
-
message.txn_id = object.txn_id ?? "";
|
|
90
|
-
message.txn_status = object.txn_status ?? "";
|
|
91
|
-
message.data = object.data ?? "";
|
|
92
|
-
return message;
|
|
93
|
-
},
|
|
94
|
-
};
|
|
95
|
-
function createBaseprocesschrresponse() {
|
|
96
|
-
return { status: "", statusCode: 0, message: "" };
|
|
97
|
-
}
|
|
98
|
-
exports.processchrresponse = {
|
|
99
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
100
|
-
if (message.status !== "") {
|
|
101
|
-
writer.uint32(10).string(message.status);
|
|
102
|
-
}
|
|
103
|
-
if (message.statusCode !== 0) {
|
|
104
|
-
writer.uint32(16).int32(message.statusCode);
|
|
105
|
-
}
|
|
106
|
-
if (message.message !== "") {
|
|
107
|
-
writer.uint32(26).string(message.message);
|
|
108
|
-
}
|
|
109
|
-
return writer;
|
|
110
|
-
},
|
|
111
|
-
decode(input, length) {
|
|
112
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
113
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
114
|
-
const message = createBaseprocesschrresponse();
|
|
115
|
-
while (reader.pos < end) {
|
|
116
|
-
const tag = reader.uint32();
|
|
117
|
-
switch (tag >>> 3) {
|
|
118
|
-
case 1:
|
|
119
|
-
if (tag !== 10) {
|
|
120
|
-
break;
|
|
121
|
-
}
|
|
122
|
-
message.status = reader.string();
|
|
123
|
-
continue;
|
|
124
|
-
case 2:
|
|
125
|
-
if (tag !== 16) {
|
|
126
|
-
break;
|
|
127
|
-
}
|
|
128
|
-
message.statusCode = reader.int32();
|
|
129
|
-
continue;
|
|
130
|
-
case 3:
|
|
131
|
-
if (tag !== 26) {
|
|
132
|
-
break;
|
|
133
|
-
}
|
|
134
|
-
message.message = reader.string();
|
|
135
|
-
continue;
|
|
136
|
-
}
|
|
137
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
138
|
-
break;
|
|
139
|
-
}
|
|
140
|
-
reader.skipType(tag & 7);
|
|
141
|
-
}
|
|
142
|
-
return message;
|
|
143
|
-
},
|
|
144
|
-
fromJSON(object) {
|
|
145
|
-
return {
|
|
146
|
-
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
147
|
-
statusCode: isSet(object.statusCode) ? globalThis.Number(object.statusCode) : 0,
|
|
148
|
-
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
149
|
-
};
|
|
150
|
-
},
|
|
151
|
-
toJSON(message) {
|
|
152
|
-
const obj = {};
|
|
153
|
-
if (message.status !== "") {
|
|
154
|
-
obj.status = message.status;
|
|
155
|
-
}
|
|
156
|
-
if (message.statusCode !== 0) {
|
|
157
|
-
obj.statusCode = Math.round(message.statusCode);
|
|
158
|
-
}
|
|
159
|
-
if (message.message !== "") {
|
|
160
|
-
obj.message = message.message;
|
|
161
|
-
}
|
|
162
|
-
return obj;
|
|
163
|
-
},
|
|
164
|
-
create(base) {
|
|
165
|
-
return exports.processchrresponse.fromPartial(base ?? {});
|
|
166
|
-
},
|
|
167
|
-
fromPartial(object) {
|
|
168
|
-
const message = createBaseprocesschrresponse();
|
|
169
|
-
message.status = object.status ?? "";
|
|
170
|
-
message.statusCode = object.statusCode ?? 0;
|
|
171
|
-
message.message = object.message ?? "";
|
|
172
|
-
return message;
|
|
173
|
-
},
|
|
174
|
-
};
|
|
175
|
-
function isSet(value) {
|
|
176
|
-
return value !== null && value !== undefined;
|
|
177
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "kyc.epfo.fetchUANList";
|
|
3
|
-
export interface fetchUANListRequest {
|
|
4
|
-
mobile_number: string;
|
|
5
|
-
}
|
|
6
|
-
export interface fetchUANListResponse {
|
|
7
|
-
uanList: string[];
|
|
8
|
-
}
|
|
9
|
-
export declare const fetchUANListRequest: {
|
|
10
|
-
encode(message: fetchUANListRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): fetchUANListRequest;
|
|
12
|
-
fromJSON(object: any): fetchUANListRequest;
|
|
13
|
-
toJSON(message: fetchUANListRequest): unknown;
|
|
14
|
-
create<I extends Exact<DeepPartial<fetchUANListRequest>, I>>(base?: I): fetchUANListRequest;
|
|
15
|
-
fromPartial<I extends Exact<DeepPartial<fetchUANListRequest>, I>>(object: I): fetchUANListRequest;
|
|
16
|
-
};
|
|
17
|
-
export declare const fetchUANListResponse: {
|
|
18
|
-
encode(message: fetchUANListResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): fetchUANListResponse;
|
|
20
|
-
fromJSON(object: any): fetchUANListResponse;
|
|
21
|
-
toJSON(message: fetchUANListResponse): unknown;
|
|
22
|
-
create<I extends Exact<DeepPartial<fetchUANListResponse>, I>>(base?: I): fetchUANListResponse;
|
|
23
|
-
fromPartial<I extends Exact<DeepPartial<fetchUANListResponse>, I>>(object: I): fetchUANListResponse;
|
|
24
|
-
};
|
|
25
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
26
|
-
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 {} ? {
|
|
27
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
28
|
-
} : Partial<T>;
|
|
29
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
30
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
31
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
32
|
-
} & {
|
|
33
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
34
|
-
};
|
|
35
|
-
export {};
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
-
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.29.3
|
|
6
|
-
// source: kyc/epfo/fetchUANList.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.fetchUANListResponse = exports.fetchUANListRequest = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "kyc.epfo.fetchUANList";
|
|
15
|
-
function createBasefetchUANListRequest() {
|
|
16
|
-
return { mobile_number: "" };
|
|
17
|
-
}
|
|
18
|
-
exports.fetchUANListRequest = {
|
|
19
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
-
if (message.mobile_number !== "") {
|
|
21
|
-
writer.uint32(10).string(message.mobile_number);
|
|
22
|
-
}
|
|
23
|
-
return writer;
|
|
24
|
-
},
|
|
25
|
-
decode(input, length) {
|
|
26
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
-
const message = createBasefetchUANListRequest();
|
|
29
|
-
while (reader.pos < end) {
|
|
30
|
-
const tag = reader.uint32();
|
|
31
|
-
switch (tag >>> 3) {
|
|
32
|
-
case 1:
|
|
33
|
-
if (tag !== 10) {
|
|
34
|
-
break;
|
|
35
|
-
}
|
|
36
|
-
message.mobile_number = reader.string();
|
|
37
|
-
continue;
|
|
38
|
-
}
|
|
39
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
40
|
-
break;
|
|
41
|
-
}
|
|
42
|
-
reader.skipType(tag & 7);
|
|
43
|
-
}
|
|
44
|
-
return message;
|
|
45
|
-
},
|
|
46
|
-
fromJSON(object) {
|
|
47
|
-
return { mobile_number: isSet(object.mobile_number) ? globalThis.String(object.mobile_number) : "" };
|
|
48
|
-
},
|
|
49
|
-
toJSON(message) {
|
|
50
|
-
const obj = {};
|
|
51
|
-
if (message.mobile_number !== "") {
|
|
52
|
-
obj.mobile_number = message.mobile_number;
|
|
53
|
-
}
|
|
54
|
-
return obj;
|
|
55
|
-
},
|
|
56
|
-
create(base) {
|
|
57
|
-
return exports.fetchUANListRequest.fromPartial(base ?? {});
|
|
58
|
-
},
|
|
59
|
-
fromPartial(object) {
|
|
60
|
-
const message = createBasefetchUANListRequest();
|
|
61
|
-
message.mobile_number = object.mobile_number ?? "";
|
|
62
|
-
return message;
|
|
63
|
-
},
|
|
64
|
-
};
|
|
65
|
-
function createBasefetchUANListResponse() {
|
|
66
|
-
return { uanList: [] };
|
|
67
|
-
}
|
|
68
|
-
exports.fetchUANListResponse = {
|
|
69
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
-
for (const v of message.uanList) {
|
|
71
|
-
writer.uint32(10).string(v);
|
|
72
|
-
}
|
|
73
|
-
return writer;
|
|
74
|
-
},
|
|
75
|
-
decode(input, length) {
|
|
76
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
77
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
78
|
-
const message = createBasefetchUANListResponse();
|
|
79
|
-
while (reader.pos < end) {
|
|
80
|
-
const tag = reader.uint32();
|
|
81
|
-
switch (tag >>> 3) {
|
|
82
|
-
case 1:
|
|
83
|
-
if (tag !== 10) {
|
|
84
|
-
break;
|
|
85
|
-
}
|
|
86
|
-
message.uanList.push(reader.string());
|
|
87
|
-
continue;
|
|
88
|
-
}
|
|
89
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
90
|
-
break;
|
|
91
|
-
}
|
|
92
|
-
reader.skipType(tag & 7);
|
|
93
|
-
}
|
|
94
|
-
return message;
|
|
95
|
-
},
|
|
96
|
-
fromJSON(object) {
|
|
97
|
-
return {
|
|
98
|
-
uanList: globalThis.Array.isArray(object?.uanList) ? object.uanList.map((e) => globalThis.String(e)) : [],
|
|
99
|
-
};
|
|
100
|
-
},
|
|
101
|
-
toJSON(message) {
|
|
102
|
-
const obj = {};
|
|
103
|
-
if (message.uanList?.length) {
|
|
104
|
-
obj.uanList = message.uanList;
|
|
105
|
-
}
|
|
106
|
-
return obj;
|
|
107
|
-
},
|
|
108
|
-
create(base) {
|
|
109
|
-
return exports.fetchUANListResponse.fromPartial(base ?? {});
|
|
110
|
-
},
|
|
111
|
-
fromPartial(object) {
|
|
112
|
-
const message = createBasefetchUANListResponse();
|
|
113
|
-
message.uanList = object.uanList?.map((e) => e) || [];
|
|
114
|
-
return message;
|
|
115
|
-
},
|
|
116
|
-
};
|
|
117
|
-
function isSet(value) {
|
|
118
|
-
return value !== null && value !== undefined;
|
|
119
|
-
}
|
package/ts/kyc/getselfietxn.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "kyc.getselfietxn";
|
|
3
|
-
export interface GetSelfieTxnRequest {
|
|
4
|
-
customer_id: number;
|
|
5
|
-
}
|
|
6
|
-
export interface GetSelfieTxnResponse {
|
|
7
|
-
txn_id: string;
|
|
8
|
-
workflow_id: string;
|
|
9
|
-
access_token: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const GetSelfieTxnRequest: {
|
|
12
|
-
encode(message: GetSelfieTxnRequest, writer?: _m0.Writer): _m0.Writer;
|
|
13
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GetSelfieTxnRequest;
|
|
14
|
-
fromJSON(object: any): GetSelfieTxnRequest;
|
|
15
|
-
toJSON(message: GetSelfieTxnRequest): unknown;
|
|
16
|
-
create<I extends Exact<DeepPartial<GetSelfieTxnRequest>, I>>(base?: I): GetSelfieTxnRequest;
|
|
17
|
-
fromPartial<I extends Exact<DeepPartial<GetSelfieTxnRequest>, I>>(object: I): GetSelfieTxnRequest;
|
|
18
|
-
};
|
|
19
|
-
export declare const GetSelfieTxnResponse: {
|
|
20
|
-
encode(message: GetSelfieTxnResponse, writer?: _m0.Writer): _m0.Writer;
|
|
21
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): GetSelfieTxnResponse;
|
|
22
|
-
fromJSON(object: any): GetSelfieTxnResponse;
|
|
23
|
-
toJSON(message: GetSelfieTxnResponse): unknown;
|
|
24
|
-
create<I extends Exact<DeepPartial<GetSelfieTxnResponse>, I>>(base?: I): GetSelfieTxnResponse;
|
|
25
|
-
fromPartial<I extends Exact<DeepPartial<GetSelfieTxnResponse>, I>>(object: I): GetSelfieTxnResponse;
|
|
26
|
-
};
|
|
27
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
28
|
-
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 {} ? {
|
|
29
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
30
|
-
} : Partial<T>;
|
|
31
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
32
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
33
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
34
|
-
} & {
|
|
35
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
36
|
-
};
|
|
37
|
-
export {};
|
package/ts/kyc/getselfietxn.js
DELETED
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
-
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.29.3
|
|
6
|
-
// source: kyc/getselfietxn.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.GetSelfieTxnResponse = exports.GetSelfieTxnRequest = 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 = "kyc.getselfietxn";
|
|
16
|
-
function createBaseGetSelfieTxnRequest() {
|
|
17
|
-
return { customer_id: 0 };
|
|
18
|
-
}
|
|
19
|
-
exports.GetSelfieTxnRequest = {
|
|
20
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
|
-
if (message.customer_id !== 0) {
|
|
22
|
-
writer.uint32(8).int64(message.customer_id);
|
|
23
|
-
}
|
|
24
|
-
return writer;
|
|
25
|
-
},
|
|
26
|
-
decode(input, length) {
|
|
27
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
28
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
29
|
-
const message = createBaseGetSelfieTxnRequest();
|
|
30
|
-
while (reader.pos < end) {
|
|
31
|
-
const tag = reader.uint32();
|
|
32
|
-
switch (tag >>> 3) {
|
|
33
|
-
case 1:
|
|
34
|
-
if (tag !== 8) {
|
|
35
|
-
break;
|
|
36
|
-
}
|
|
37
|
-
message.customer_id = longToNumber(reader.int64());
|
|
38
|
-
continue;
|
|
39
|
-
}
|
|
40
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
41
|
-
break;
|
|
42
|
-
}
|
|
43
|
-
reader.skipType(tag & 7);
|
|
44
|
-
}
|
|
45
|
-
return message;
|
|
46
|
-
},
|
|
47
|
-
fromJSON(object) {
|
|
48
|
-
return { customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0 };
|
|
49
|
-
},
|
|
50
|
-
toJSON(message) {
|
|
51
|
-
const obj = {};
|
|
52
|
-
if (message.customer_id !== 0) {
|
|
53
|
-
obj.customer_id = Math.round(message.customer_id);
|
|
54
|
-
}
|
|
55
|
-
return obj;
|
|
56
|
-
},
|
|
57
|
-
create(base) {
|
|
58
|
-
return exports.GetSelfieTxnRequest.fromPartial(base ?? {});
|
|
59
|
-
},
|
|
60
|
-
fromPartial(object) {
|
|
61
|
-
const message = createBaseGetSelfieTxnRequest();
|
|
62
|
-
message.customer_id = object.customer_id ?? 0;
|
|
63
|
-
return message;
|
|
64
|
-
},
|
|
65
|
-
};
|
|
66
|
-
function createBaseGetSelfieTxnResponse() {
|
|
67
|
-
return { txn_id: "", workflow_id: "", access_token: "" };
|
|
68
|
-
}
|
|
69
|
-
exports.GetSelfieTxnResponse = {
|
|
70
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
71
|
-
if (message.txn_id !== "") {
|
|
72
|
-
writer.uint32(10).string(message.txn_id);
|
|
73
|
-
}
|
|
74
|
-
if (message.workflow_id !== "") {
|
|
75
|
-
writer.uint32(18).string(message.workflow_id);
|
|
76
|
-
}
|
|
77
|
-
if (message.access_token !== "") {
|
|
78
|
-
writer.uint32(26).string(message.access_token);
|
|
79
|
-
}
|
|
80
|
-
return writer;
|
|
81
|
-
},
|
|
82
|
-
decode(input, length) {
|
|
83
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
84
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
85
|
-
const message = createBaseGetSelfieTxnResponse();
|
|
86
|
-
while (reader.pos < end) {
|
|
87
|
-
const tag = reader.uint32();
|
|
88
|
-
switch (tag >>> 3) {
|
|
89
|
-
case 1:
|
|
90
|
-
if (tag !== 10) {
|
|
91
|
-
break;
|
|
92
|
-
}
|
|
93
|
-
message.txn_id = reader.string();
|
|
94
|
-
continue;
|
|
95
|
-
case 2:
|
|
96
|
-
if (tag !== 18) {
|
|
97
|
-
break;
|
|
98
|
-
}
|
|
99
|
-
message.workflow_id = reader.string();
|
|
100
|
-
continue;
|
|
101
|
-
case 3:
|
|
102
|
-
if (tag !== 26) {
|
|
103
|
-
break;
|
|
104
|
-
}
|
|
105
|
-
message.access_token = reader.string();
|
|
106
|
-
continue;
|
|
107
|
-
}
|
|
108
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
109
|
-
break;
|
|
110
|
-
}
|
|
111
|
-
reader.skipType(tag & 7);
|
|
112
|
-
}
|
|
113
|
-
return message;
|
|
114
|
-
},
|
|
115
|
-
fromJSON(object) {
|
|
116
|
-
return {
|
|
117
|
-
txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
|
|
118
|
-
workflow_id: isSet(object.workflow_id) ? globalThis.String(object.workflow_id) : "",
|
|
119
|
-
access_token: isSet(object.access_token) ? globalThis.String(object.access_token) : "",
|
|
120
|
-
};
|
|
121
|
-
},
|
|
122
|
-
toJSON(message) {
|
|
123
|
-
const obj = {};
|
|
124
|
-
if (message.txn_id !== "") {
|
|
125
|
-
obj.txn_id = message.txn_id;
|
|
126
|
-
}
|
|
127
|
-
if (message.workflow_id !== "") {
|
|
128
|
-
obj.workflow_id = message.workflow_id;
|
|
129
|
-
}
|
|
130
|
-
if (message.access_token !== "") {
|
|
131
|
-
obj.access_token = message.access_token;
|
|
132
|
-
}
|
|
133
|
-
return obj;
|
|
134
|
-
},
|
|
135
|
-
create(base) {
|
|
136
|
-
return exports.GetSelfieTxnResponse.fromPartial(base ?? {});
|
|
137
|
-
},
|
|
138
|
-
fromPartial(object) {
|
|
139
|
-
const message = createBaseGetSelfieTxnResponse();
|
|
140
|
-
message.txn_id = object.txn_id ?? "";
|
|
141
|
-
message.workflow_id = object.workflow_id ?? "";
|
|
142
|
-
message.access_token = object.access_token ?? "";
|
|
143
|
-
return message;
|
|
144
|
-
},
|
|
145
|
-
};
|
|
146
|
-
function longToNumber(long) {
|
|
147
|
-
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
148
|
-
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
149
|
-
}
|
|
150
|
-
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
151
|
-
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
152
|
-
}
|
|
153
|
-
return long.toNumber();
|
|
154
|
-
}
|
|
155
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
156
|
-
minimal_1.default.util.Long = long_1.default;
|
|
157
|
-
minimal_1.default.configure();
|
|
158
|
-
}
|
|
159
|
-
function isSet(value) {
|
|
160
|
-
return value !== null && value !== undefined;
|
|
161
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "loans.addrefrences";
|
|
3
|
-
export interface customerReferencesRequest {
|
|
4
|
-
customer_id: number;
|
|
5
|
-
references: Reference[];
|
|
6
|
-
}
|
|
7
|
-
export interface Reference {
|
|
8
|
-
name: string;
|
|
9
|
-
mobile: string;
|
|
10
|
-
relation: string;
|
|
11
|
-
}
|
|
12
|
-
export interface customerReferencesResponse {
|
|
13
|
-
success: boolean;
|
|
14
|
-
}
|
|
15
|
-
export declare const customerReferencesRequest: {
|
|
16
|
-
encode(message: customerReferencesRequest, writer?: _m0.Writer): _m0.Writer;
|
|
17
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): customerReferencesRequest;
|
|
18
|
-
fromJSON(object: any): customerReferencesRequest;
|
|
19
|
-
toJSON(message: customerReferencesRequest): unknown;
|
|
20
|
-
create<I extends Exact<DeepPartial<customerReferencesRequest>, I>>(base?: I): customerReferencesRequest;
|
|
21
|
-
fromPartial<I extends Exact<DeepPartial<customerReferencesRequest>, I>>(object: I): customerReferencesRequest;
|
|
22
|
-
};
|
|
23
|
-
export declare const Reference: {
|
|
24
|
-
encode(message: Reference, writer?: _m0.Writer): _m0.Writer;
|
|
25
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Reference;
|
|
26
|
-
fromJSON(object: any): Reference;
|
|
27
|
-
toJSON(message: Reference): unknown;
|
|
28
|
-
create<I extends Exact<DeepPartial<Reference>, I>>(base?: I): Reference;
|
|
29
|
-
fromPartial<I extends Exact<DeepPartial<Reference>, I>>(object: I): Reference;
|
|
30
|
-
};
|
|
31
|
-
export declare const customerReferencesResponse: {
|
|
32
|
-
encode(message: customerReferencesResponse, writer?: _m0.Writer): _m0.Writer;
|
|
33
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): customerReferencesResponse;
|
|
34
|
-
fromJSON(object: any): customerReferencesResponse;
|
|
35
|
-
toJSON(message: customerReferencesResponse): unknown;
|
|
36
|
-
create<I extends Exact<DeepPartial<customerReferencesResponse>, I>>(base?: I): customerReferencesResponse;
|
|
37
|
-
fromPartial<I extends Exact<DeepPartial<customerReferencesResponse>, I>>(object: I): customerReferencesResponse;
|
|
38
|
-
};
|
|
39
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
40
|
-
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 {} ? {
|
|
41
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
42
|
-
} : Partial<T>;
|
|
43
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
44
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
45
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
46
|
-
} & {
|
|
47
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
48
|
-
};
|
|
49
|
-
export {};
|