@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,354 +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.27.3
|
|
6
|
-
// source: customers/stepstatic.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.stepstaticResponse_Field = exports.stepstaticResponse = exports.Validation = exports.stepstaticRequest = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "customers.stepstatic";
|
|
15
|
-
function createBasestepstaticRequest() {
|
|
16
|
-
return {};
|
|
17
|
-
}
|
|
18
|
-
exports.stepstaticRequest = {
|
|
19
|
-
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
20
|
-
return writer;
|
|
21
|
-
},
|
|
22
|
-
decode(input, length) {
|
|
23
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
24
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
-
const message = createBasestepstaticRequest();
|
|
26
|
-
while (reader.pos < end) {
|
|
27
|
-
const tag = reader.uint32();
|
|
28
|
-
switch (tag >>> 3) {
|
|
29
|
-
}
|
|
30
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
31
|
-
break;
|
|
32
|
-
}
|
|
33
|
-
reader.skipType(tag & 7);
|
|
34
|
-
}
|
|
35
|
-
return message;
|
|
36
|
-
},
|
|
37
|
-
fromJSON(_) {
|
|
38
|
-
return {};
|
|
39
|
-
},
|
|
40
|
-
toJSON(_) {
|
|
41
|
-
const obj = {};
|
|
42
|
-
return obj;
|
|
43
|
-
},
|
|
44
|
-
create(base) {
|
|
45
|
-
return exports.stepstaticRequest.fromPartial(base ?? {});
|
|
46
|
-
},
|
|
47
|
-
fromPartial(_) {
|
|
48
|
-
const message = createBasestepstaticRequest();
|
|
49
|
-
return message;
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
|
-
function createBaseValidation() {
|
|
53
|
-
return { key: "", value: "", message: "" };
|
|
54
|
-
}
|
|
55
|
-
exports.Validation = {
|
|
56
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
-
if (message.key !== "") {
|
|
58
|
-
writer.uint32(10).string(message.key);
|
|
59
|
-
}
|
|
60
|
-
if (message.value !== "") {
|
|
61
|
-
writer.uint32(18).string(message.value);
|
|
62
|
-
}
|
|
63
|
-
if (message.message !== "") {
|
|
64
|
-
writer.uint32(26).string(message.message);
|
|
65
|
-
}
|
|
66
|
-
return writer;
|
|
67
|
-
},
|
|
68
|
-
decode(input, length) {
|
|
69
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
70
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
71
|
-
const message = createBaseValidation();
|
|
72
|
-
while (reader.pos < end) {
|
|
73
|
-
const tag = reader.uint32();
|
|
74
|
-
switch (tag >>> 3) {
|
|
75
|
-
case 1:
|
|
76
|
-
if (tag !== 10) {
|
|
77
|
-
break;
|
|
78
|
-
}
|
|
79
|
-
message.key = reader.string();
|
|
80
|
-
continue;
|
|
81
|
-
case 2:
|
|
82
|
-
if (tag !== 18) {
|
|
83
|
-
break;
|
|
84
|
-
}
|
|
85
|
-
message.value = reader.string();
|
|
86
|
-
continue;
|
|
87
|
-
case 3:
|
|
88
|
-
if (tag !== 26) {
|
|
89
|
-
break;
|
|
90
|
-
}
|
|
91
|
-
message.message = reader.string();
|
|
92
|
-
continue;
|
|
93
|
-
}
|
|
94
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
95
|
-
break;
|
|
96
|
-
}
|
|
97
|
-
reader.skipType(tag & 7);
|
|
98
|
-
}
|
|
99
|
-
return message;
|
|
100
|
-
},
|
|
101
|
-
fromJSON(object) {
|
|
102
|
-
return {
|
|
103
|
-
key: isSet(object.key) ? globalThis.String(object.key) : "",
|
|
104
|
-
value: isSet(object.value) ? globalThis.String(object.value) : "",
|
|
105
|
-
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
106
|
-
};
|
|
107
|
-
},
|
|
108
|
-
toJSON(message) {
|
|
109
|
-
const obj = {};
|
|
110
|
-
if (message.key !== "") {
|
|
111
|
-
obj.key = message.key;
|
|
112
|
-
}
|
|
113
|
-
if (message.value !== "") {
|
|
114
|
-
obj.value = message.value;
|
|
115
|
-
}
|
|
116
|
-
if (message.message !== "") {
|
|
117
|
-
obj.message = message.message;
|
|
118
|
-
}
|
|
119
|
-
return obj;
|
|
120
|
-
},
|
|
121
|
-
create(base) {
|
|
122
|
-
return exports.Validation.fromPartial(base ?? {});
|
|
123
|
-
},
|
|
124
|
-
fromPartial(object) {
|
|
125
|
-
const message = createBaseValidation();
|
|
126
|
-
message.key = object.key ?? "";
|
|
127
|
-
message.value = object.value ?? "";
|
|
128
|
-
message.message = object.message ?? "";
|
|
129
|
-
return message;
|
|
130
|
-
},
|
|
131
|
-
};
|
|
132
|
-
function createBasestepstaticResponse() {
|
|
133
|
-
return { page: "", type: "", button_text: "", data: [] };
|
|
134
|
-
}
|
|
135
|
-
exports.stepstaticResponse = {
|
|
136
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
137
|
-
if (message.page !== "") {
|
|
138
|
-
writer.uint32(10).string(message.page);
|
|
139
|
-
}
|
|
140
|
-
if (message.type !== "") {
|
|
141
|
-
writer.uint32(18).string(message.type);
|
|
142
|
-
}
|
|
143
|
-
if (message.button_text !== "") {
|
|
144
|
-
writer.uint32(26).string(message.button_text);
|
|
145
|
-
}
|
|
146
|
-
for (const v of message.data) {
|
|
147
|
-
exports.stepstaticResponse_Field.encode(v, writer.uint32(34).fork()).ldelim();
|
|
148
|
-
}
|
|
149
|
-
return writer;
|
|
150
|
-
},
|
|
151
|
-
decode(input, length) {
|
|
152
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
153
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
154
|
-
const message = createBasestepstaticResponse();
|
|
155
|
-
while (reader.pos < end) {
|
|
156
|
-
const tag = reader.uint32();
|
|
157
|
-
switch (tag >>> 3) {
|
|
158
|
-
case 1:
|
|
159
|
-
if (tag !== 10) {
|
|
160
|
-
break;
|
|
161
|
-
}
|
|
162
|
-
message.page = reader.string();
|
|
163
|
-
continue;
|
|
164
|
-
case 2:
|
|
165
|
-
if (tag !== 18) {
|
|
166
|
-
break;
|
|
167
|
-
}
|
|
168
|
-
message.type = reader.string();
|
|
169
|
-
continue;
|
|
170
|
-
case 3:
|
|
171
|
-
if (tag !== 26) {
|
|
172
|
-
break;
|
|
173
|
-
}
|
|
174
|
-
message.button_text = reader.string();
|
|
175
|
-
continue;
|
|
176
|
-
case 4:
|
|
177
|
-
if (tag !== 34) {
|
|
178
|
-
break;
|
|
179
|
-
}
|
|
180
|
-
message.data.push(exports.stepstaticResponse_Field.decode(reader, reader.uint32()));
|
|
181
|
-
continue;
|
|
182
|
-
}
|
|
183
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
184
|
-
break;
|
|
185
|
-
}
|
|
186
|
-
reader.skipType(tag & 7);
|
|
187
|
-
}
|
|
188
|
-
return message;
|
|
189
|
-
},
|
|
190
|
-
fromJSON(object) {
|
|
191
|
-
return {
|
|
192
|
-
page: isSet(object.page) ? globalThis.String(object.page) : "",
|
|
193
|
-
type: isSet(object.type) ? globalThis.String(object.type) : "",
|
|
194
|
-
button_text: isSet(object.button_text) ? globalThis.String(object.button_text) : "",
|
|
195
|
-
data: globalThis.Array.isArray(object?.data)
|
|
196
|
-
? object.data.map((e) => exports.stepstaticResponse_Field.fromJSON(e))
|
|
197
|
-
: [],
|
|
198
|
-
};
|
|
199
|
-
},
|
|
200
|
-
toJSON(message) {
|
|
201
|
-
const obj = {};
|
|
202
|
-
if (message.page !== "") {
|
|
203
|
-
obj.page = message.page;
|
|
204
|
-
}
|
|
205
|
-
if (message.type !== "") {
|
|
206
|
-
obj.type = message.type;
|
|
207
|
-
}
|
|
208
|
-
if (message.button_text !== "") {
|
|
209
|
-
obj.button_text = message.button_text;
|
|
210
|
-
}
|
|
211
|
-
if (message.data?.length) {
|
|
212
|
-
obj.data = message.data.map((e) => exports.stepstaticResponse_Field.toJSON(e));
|
|
213
|
-
}
|
|
214
|
-
return obj;
|
|
215
|
-
},
|
|
216
|
-
create(base) {
|
|
217
|
-
return exports.stepstaticResponse.fromPartial(base ?? {});
|
|
218
|
-
},
|
|
219
|
-
fromPartial(object) {
|
|
220
|
-
const message = createBasestepstaticResponse();
|
|
221
|
-
message.page = object.page ?? "";
|
|
222
|
-
message.type = object.type ?? "";
|
|
223
|
-
message.button_text = object.button_text ?? "";
|
|
224
|
-
message.data = object.data?.map((e) => exports.stepstaticResponse_Field.fromPartial(e)) || [];
|
|
225
|
-
return message;
|
|
226
|
-
},
|
|
227
|
-
};
|
|
228
|
-
function createBasestepstaticResponse_Field() {
|
|
229
|
-
return { label: "", key: "", input_type: "", data_type: "", icon: "", validations: [] };
|
|
230
|
-
}
|
|
231
|
-
exports.stepstaticResponse_Field = {
|
|
232
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
233
|
-
if (message.label !== "") {
|
|
234
|
-
writer.uint32(10).string(message.label);
|
|
235
|
-
}
|
|
236
|
-
if (message.key !== "") {
|
|
237
|
-
writer.uint32(18).string(message.key);
|
|
238
|
-
}
|
|
239
|
-
if (message.input_type !== "") {
|
|
240
|
-
writer.uint32(26).string(message.input_type);
|
|
241
|
-
}
|
|
242
|
-
if (message.data_type !== "") {
|
|
243
|
-
writer.uint32(34).string(message.data_type);
|
|
244
|
-
}
|
|
245
|
-
if (message.icon !== "") {
|
|
246
|
-
writer.uint32(42).string(message.icon);
|
|
247
|
-
}
|
|
248
|
-
for (const v of message.validations) {
|
|
249
|
-
exports.Validation.encode(v, writer.uint32(58).fork()).ldelim();
|
|
250
|
-
}
|
|
251
|
-
return writer;
|
|
252
|
-
},
|
|
253
|
-
decode(input, length) {
|
|
254
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
255
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
256
|
-
const message = createBasestepstaticResponse_Field();
|
|
257
|
-
while (reader.pos < end) {
|
|
258
|
-
const tag = reader.uint32();
|
|
259
|
-
switch (tag >>> 3) {
|
|
260
|
-
case 1:
|
|
261
|
-
if (tag !== 10) {
|
|
262
|
-
break;
|
|
263
|
-
}
|
|
264
|
-
message.label = reader.string();
|
|
265
|
-
continue;
|
|
266
|
-
case 2:
|
|
267
|
-
if (tag !== 18) {
|
|
268
|
-
break;
|
|
269
|
-
}
|
|
270
|
-
message.key = reader.string();
|
|
271
|
-
continue;
|
|
272
|
-
case 3:
|
|
273
|
-
if (tag !== 26) {
|
|
274
|
-
break;
|
|
275
|
-
}
|
|
276
|
-
message.input_type = reader.string();
|
|
277
|
-
continue;
|
|
278
|
-
case 4:
|
|
279
|
-
if (tag !== 34) {
|
|
280
|
-
break;
|
|
281
|
-
}
|
|
282
|
-
message.data_type = reader.string();
|
|
283
|
-
continue;
|
|
284
|
-
case 5:
|
|
285
|
-
if (tag !== 42) {
|
|
286
|
-
break;
|
|
287
|
-
}
|
|
288
|
-
message.icon = reader.string();
|
|
289
|
-
continue;
|
|
290
|
-
case 7:
|
|
291
|
-
if (tag !== 58) {
|
|
292
|
-
break;
|
|
293
|
-
}
|
|
294
|
-
message.validations.push(exports.Validation.decode(reader, reader.uint32()));
|
|
295
|
-
continue;
|
|
296
|
-
}
|
|
297
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
298
|
-
break;
|
|
299
|
-
}
|
|
300
|
-
reader.skipType(tag & 7);
|
|
301
|
-
}
|
|
302
|
-
return message;
|
|
303
|
-
},
|
|
304
|
-
fromJSON(object) {
|
|
305
|
-
return {
|
|
306
|
-
label: isSet(object.label) ? globalThis.String(object.label) : "",
|
|
307
|
-
key: isSet(object.key) ? globalThis.String(object.key) : "",
|
|
308
|
-
input_type: isSet(object.input_type) ? globalThis.String(object.input_type) : "",
|
|
309
|
-
data_type: isSet(object.data_type) ? globalThis.String(object.data_type) : "",
|
|
310
|
-
icon: isSet(object.icon) ? globalThis.String(object.icon) : "",
|
|
311
|
-
validations: globalThis.Array.isArray(object?.validations)
|
|
312
|
-
? object.validations.map((e) => exports.Validation.fromJSON(e))
|
|
313
|
-
: [],
|
|
314
|
-
};
|
|
315
|
-
},
|
|
316
|
-
toJSON(message) {
|
|
317
|
-
const obj = {};
|
|
318
|
-
if (message.label !== "") {
|
|
319
|
-
obj.label = message.label;
|
|
320
|
-
}
|
|
321
|
-
if (message.key !== "") {
|
|
322
|
-
obj.key = message.key;
|
|
323
|
-
}
|
|
324
|
-
if (message.input_type !== "") {
|
|
325
|
-
obj.input_type = message.input_type;
|
|
326
|
-
}
|
|
327
|
-
if (message.data_type !== "") {
|
|
328
|
-
obj.data_type = message.data_type;
|
|
329
|
-
}
|
|
330
|
-
if (message.icon !== "") {
|
|
331
|
-
obj.icon = message.icon;
|
|
332
|
-
}
|
|
333
|
-
if (message.validations?.length) {
|
|
334
|
-
obj.validations = message.validations.map((e) => exports.Validation.toJSON(e));
|
|
335
|
-
}
|
|
336
|
-
return obj;
|
|
337
|
-
},
|
|
338
|
-
create(base) {
|
|
339
|
-
return exports.stepstaticResponse_Field.fromPartial(base ?? {});
|
|
340
|
-
},
|
|
341
|
-
fromPartial(object) {
|
|
342
|
-
const message = createBasestepstaticResponse_Field();
|
|
343
|
-
message.label = object.label ?? "";
|
|
344
|
-
message.key = object.key ?? "";
|
|
345
|
-
message.input_type = object.input_type ?? "";
|
|
346
|
-
message.data_type = object.data_type ?? "";
|
|
347
|
-
message.icon = object.icon ?? "";
|
|
348
|
-
message.validations = object.validations?.map((e) => exports.Validation.fromPartial(e)) || [];
|
|
349
|
-
return message;
|
|
350
|
-
},
|
|
351
|
-
};
|
|
352
|
-
function isSet(value) {
|
|
353
|
-
return value !== null && value !== undefined;
|
|
354
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "customers.verifyemail";
|
|
3
|
-
export interface verifyEmailRequest {
|
|
4
|
-
token: string;
|
|
5
|
-
}
|
|
6
|
-
export interface verifyEmailResponse {
|
|
7
|
-
status: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const verifyEmailRequest: {
|
|
10
|
-
encode(message: verifyEmailRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): verifyEmailRequest;
|
|
12
|
-
fromJSON(object: any): verifyEmailRequest;
|
|
13
|
-
toJSON(message: verifyEmailRequest): unknown;
|
|
14
|
-
create<I extends Exact<DeepPartial<verifyEmailRequest>, I>>(base?: I): verifyEmailRequest;
|
|
15
|
-
fromPartial<I extends Exact<DeepPartial<verifyEmailRequest>, I>>(object: I): verifyEmailRequest;
|
|
16
|
-
};
|
|
17
|
-
export declare const verifyEmailResponse: {
|
|
18
|
-
encode(message: verifyEmailResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): verifyEmailResponse;
|
|
20
|
-
fromJSON(object: any): verifyEmailResponse;
|
|
21
|
-
toJSON(message: verifyEmailResponse): unknown;
|
|
22
|
-
create<I extends Exact<DeepPartial<verifyEmailResponse>, I>>(base?: I): verifyEmailResponse;
|
|
23
|
-
fromPartial<I extends Exact<DeepPartial<verifyEmailResponse>, I>>(object: I): verifyEmailResponse;
|
|
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,40 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "decisionengine.validateLocDisbursal";
|
|
3
|
-
export interface validateDisbursalRequest {
|
|
4
|
-
customer_id: number;
|
|
5
|
-
loan_id: number;
|
|
6
|
-
stashfin_ever_dpd: number;
|
|
7
|
-
stashfin_current_dpd: number;
|
|
8
|
-
}
|
|
9
|
-
export interface validateDisbursalResponse {
|
|
10
|
-
success: boolean;
|
|
11
|
-
message: string;
|
|
12
|
-
error_code: string;
|
|
13
|
-
}
|
|
14
|
-
export declare const validateDisbursalRequest: {
|
|
15
|
-
encode(message: validateDisbursalRequest, writer?: _m0.Writer): _m0.Writer;
|
|
16
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): validateDisbursalRequest;
|
|
17
|
-
fromJSON(object: any): validateDisbursalRequest;
|
|
18
|
-
toJSON(message: validateDisbursalRequest): unknown;
|
|
19
|
-
create<I extends Exact<DeepPartial<validateDisbursalRequest>, I>>(base?: I): validateDisbursalRequest;
|
|
20
|
-
fromPartial<I extends Exact<DeepPartial<validateDisbursalRequest>, I>>(object: I): validateDisbursalRequest;
|
|
21
|
-
};
|
|
22
|
-
export declare const validateDisbursalResponse: {
|
|
23
|
-
encode(message: validateDisbursalResponse, writer?: _m0.Writer): _m0.Writer;
|
|
24
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): validateDisbursalResponse;
|
|
25
|
-
fromJSON(object: any): validateDisbursalResponse;
|
|
26
|
-
toJSON(message: validateDisbursalResponse): unknown;
|
|
27
|
-
create<I extends Exact<DeepPartial<validateDisbursalResponse>, I>>(base?: I): validateDisbursalResponse;
|
|
28
|
-
fromPartial<I extends Exact<DeepPartial<validateDisbursalResponse>, I>>(object: I): validateDisbursalResponse;
|
|
29
|
-
};
|
|
30
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
31
|
-
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 {} ? {
|
|
32
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
33
|
-
} : Partial<T>;
|
|
34
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
35
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
36
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
37
|
-
} & {
|
|
38
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
39
|
-
};
|
|
40
|
-
export {};
|
|
@@ -1,191 +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: decisionengine/decisionengine.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.validateDisbursalResponse = exports.validateDisbursalRequest = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "decisionengine.validateLocDisbursal";
|
|
15
|
-
function createBasevalidateDisbursalRequest() {
|
|
16
|
-
return { customer_id: 0, loan_id: 0, stashfin_ever_dpd: 0, stashfin_current_dpd: 0 };
|
|
17
|
-
}
|
|
18
|
-
exports.validateDisbursalRequest = {
|
|
19
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
-
if (message.customer_id !== 0) {
|
|
21
|
-
writer.uint32(8).int32(message.customer_id);
|
|
22
|
-
}
|
|
23
|
-
if (message.loan_id !== 0) {
|
|
24
|
-
writer.uint32(16).int32(message.loan_id);
|
|
25
|
-
}
|
|
26
|
-
if (message.stashfin_ever_dpd !== 0) {
|
|
27
|
-
writer.uint32(24).int32(message.stashfin_ever_dpd);
|
|
28
|
-
}
|
|
29
|
-
if (message.stashfin_current_dpd !== 0) {
|
|
30
|
-
writer.uint32(32).int32(message.stashfin_current_dpd);
|
|
31
|
-
}
|
|
32
|
-
return writer;
|
|
33
|
-
},
|
|
34
|
-
decode(input, length) {
|
|
35
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
36
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
37
|
-
const message = createBasevalidateDisbursalRequest();
|
|
38
|
-
while (reader.pos < end) {
|
|
39
|
-
const tag = reader.uint32();
|
|
40
|
-
switch (tag >>> 3) {
|
|
41
|
-
case 1:
|
|
42
|
-
if (tag !== 8) {
|
|
43
|
-
break;
|
|
44
|
-
}
|
|
45
|
-
message.customer_id = reader.int32();
|
|
46
|
-
continue;
|
|
47
|
-
case 2:
|
|
48
|
-
if (tag !== 16) {
|
|
49
|
-
break;
|
|
50
|
-
}
|
|
51
|
-
message.loan_id = reader.int32();
|
|
52
|
-
continue;
|
|
53
|
-
case 3:
|
|
54
|
-
if (tag !== 24) {
|
|
55
|
-
break;
|
|
56
|
-
}
|
|
57
|
-
message.stashfin_ever_dpd = reader.int32();
|
|
58
|
-
continue;
|
|
59
|
-
case 4:
|
|
60
|
-
if (tag !== 32) {
|
|
61
|
-
break;
|
|
62
|
-
}
|
|
63
|
-
message.stashfin_current_dpd = reader.int32();
|
|
64
|
-
continue;
|
|
65
|
-
}
|
|
66
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
67
|
-
break;
|
|
68
|
-
}
|
|
69
|
-
reader.skipType(tag & 7);
|
|
70
|
-
}
|
|
71
|
-
return message;
|
|
72
|
-
},
|
|
73
|
-
fromJSON(object) {
|
|
74
|
-
return {
|
|
75
|
-
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
76
|
-
loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
|
|
77
|
-
stashfin_ever_dpd: isSet(object.stashfin_ever_dpd) ? globalThis.Number(object.stashfin_ever_dpd) : 0,
|
|
78
|
-
stashfin_current_dpd: isSet(object.stashfin_current_dpd) ? globalThis.Number(object.stashfin_current_dpd) : 0,
|
|
79
|
-
};
|
|
80
|
-
},
|
|
81
|
-
toJSON(message) {
|
|
82
|
-
const obj = {};
|
|
83
|
-
if (message.customer_id !== 0) {
|
|
84
|
-
obj.customer_id = Math.round(message.customer_id);
|
|
85
|
-
}
|
|
86
|
-
if (message.loan_id !== 0) {
|
|
87
|
-
obj.loan_id = Math.round(message.loan_id);
|
|
88
|
-
}
|
|
89
|
-
if (message.stashfin_ever_dpd !== 0) {
|
|
90
|
-
obj.stashfin_ever_dpd = Math.round(message.stashfin_ever_dpd);
|
|
91
|
-
}
|
|
92
|
-
if (message.stashfin_current_dpd !== 0) {
|
|
93
|
-
obj.stashfin_current_dpd = Math.round(message.stashfin_current_dpd);
|
|
94
|
-
}
|
|
95
|
-
return obj;
|
|
96
|
-
},
|
|
97
|
-
create(base) {
|
|
98
|
-
return exports.validateDisbursalRequest.fromPartial(base ?? {});
|
|
99
|
-
},
|
|
100
|
-
fromPartial(object) {
|
|
101
|
-
const message = createBasevalidateDisbursalRequest();
|
|
102
|
-
message.customer_id = object.customer_id ?? 0;
|
|
103
|
-
message.loan_id = object.loan_id ?? 0;
|
|
104
|
-
message.stashfin_ever_dpd = object.stashfin_ever_dpd ?? 0;
|
|
105
|
-
message.stashfin_current_dpd = object.stashfin_current_dpd ?? 0;
|
|
106
|
-
return message;
|
|
107
|
-
},
|
|
108
|
-
};
|
|
109
|
-
function createBasevalidateDisbursalResponse() {
|
|
110
|
-
return { success: false, message: "", error_code: "" };
|
|
111
|
-
}
|
|
112
|
-
exports.validateDisbursalResponse = {
|
|
113
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
114
|
-
if (message.success !== false) {
|
|
115
|
-
writer.uint32(8).bool(message.success);
|
|
116
|
-
}
|
|
117
|
-
if (message.message !== "") {
|
|
118
|
-
writer.uint32(18).string(message.message);
|
|
119
|
-
}
|
|
120
|
-
if (message.error_code !== "") {
|
|
121
|
-
writer.uint32(26).string(message.error_code);
|
|
122
|
-
}
|
|
123
|
-
return writer;
|
|
124
|
-
},
|
|
125
|
-
decode(input, length) {
|
|
126
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
127
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
128
|
-
const message = createBasevalidateDisbursalResponse();
|
|
129
|
-
while (reader.pos < end) {
|
|
130
|
-
const tag = reader.uint32();
|
|
131
|
-
switch (tag >>> 3) {
|
|
132
|
-
case 1:
|
|
133
|
-
if (tag !== 8) {
|
|
134
|
-
break;
|
|
135
|
-
}
|
|
136
|
-
message.success = reader.bool();
|
|
137
|
-
continue;
|
|
138
|
-
case 2:
|
|
139
|
-
if (tag !== 18) {
|
|
140
|
-
break;
|
|
141
|
-
}
|
|
142
|
-
message.message = reader.string();
|
|
143
|
-
continue;
|
|
144
|
-
case 3:
|
|
145
|
-
if (tag !== 26) {
|
|
146
|
-
break;
|
|
147
|
-
}
|
|
148
|
-
message.error_code = reader.string();
|
|
149
|
-
continue;
|
|
150
|
-
}
|
|
151
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
152
|
-
break;
|
|
153
|
-
}
|
|
154
|
-
reader.skipType(tag & 7);
|
|
155
|
-
}
|
|
156
|
-
return message;
|
|
157
|
-
},
|
|
158
|
-
fromJSON(object) {
|
|
159
|
-
return {
|
|
160
|
-
success: isSet(object.success) ? globalThis.Boolean(object.success) : false,
|
|
161
|
-
message: isSet(object.message) ? globalThis.String(object.message) : "",
|
|
162
|
-
error_code: isSet(object.error_code) ? globalThis.String(object.error_code) : "",
|
|
163
|
-
};
|
|
164
|
-
},
|
|
165
|
-
toJSON(message) {
|
|
166
|
-
const obj = {};
|
|
167
|
-
if (message.success !== false) {
|
|
168
|
-
obj.success = message.success;
|
|
169
|
-
}
|
|
170
|
-
if (message.message !== "") {
|
|
171
|
-
obj.message = message.message;
|
|
172
|
-
}
|
|
173
|
-
if (message.error_code !== "") {
|
|
174
|
-
obj.error_code = message.error_code;
|
|
175
|
-
}
|
|
176
|
-
return obj;
|
|
177
|
-
},
|
|
178
|
-
create(base) {
|
|
179
|
-
return exports.validateDisbursalResponse.fromPartial(base ?? {});
|
|
180
|
-
},
|
|
181
|
-
fromPartial(object) {
|
|
182
|
-
const message = createBasevalidateDisbursalResponse();
|
|
183
|
-
message.success = object.success ?? false;
|
|
184
|
-
message.message = object.message ?? "";
|
|
185
|
-
message.error_code = object.error_code ?? "";
|
|
186
|
-
return message;
|
|
187
|
-
},
|
|
188
|
-
};
|
|
189
|
-
function isSet(value) {
|
|
190
|
-
return value !== null && value !== undefined;
|
|
191
|
-
}
|