@stashfin/grpc 1.2.708 → 1.2.709
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.js +2 -2
- package/ts/growth.d.ts +4 -4
- package/ts/growth.js +2 -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/customers/verifyemail.js +0 -117
- package/ts/decisionengine/decisionengine.d.ts +0 -40
- package/ts/decisionengine/decisionengine.js +0 -191
- package/ts/google/protobuf/struct.d.ts +0 -121
- package/ts/google/protobuf/struct.js +0 -449
- package/ts/google/protobuf/timestamp.d.ts +0 -127
- package/ts/google/protobuf/timestamp.js +0 -97
- package/ts/growth/checkplanstatus.d.ts +0 -48
- package/ts/growth/checkplanstatus.js +0 -200
- package/ts/growth/getattachplandetails.d.ts +0 -53
- package/ts/growth/getattachplandetails.js +0 -270
- package/ts/growth/getchrpaymentstatus.d.ts +0 -49
- package/ts/growth/getchrpaymentstatus.js +0 -213
- package/ts/growth/getchrplans.d.ts +0 -49
- package/ts/growth/getchrplans.js +0 -212
- package/ts/growth/getchrreport.d.ts +0 -109
- package/ts/growth/getchrreport.js +0 -800
- package/ts/growth/getcredithealthreport.d.ts +0 -98
- package/ts/growth/getcredithealthreport.js +0 -617
- package/ts/growth/initiatepayment.d.ts +0 -52
- package/ts/growth/initiatepayment.js +0 -259
- package/ts/growth/notifychrpayment.d.ts +0 -42
- package/ts/growth/notifychrpayment.js +0 -219
- package/ts/growth/processchrpayment.d.ts +0 -39
- package/ts/growth/processchrpayment.js +0 -177
- package/ts/kyc/epfo/fetchUANList.d.ts +0 -35
- package/ts/kyc/epfo/fetchUANList.js +0 -119
- package/ts/kyc/getselfietxn.d.ts +0 -37
- package/ts/kyc/getselfietxn.js +0 -161
- package/ts/loans/addrefrences.d.ts +0 -49
- package/ts/loans/addrefrences.js +0 -229
- package/ts/loans/forecloseamount.d.ts +0 -36
- package/ts/loans/forecloseamount.js +0 -133
- package/ts/loans/futurepaymentmoredetails.d.ts +0 -51
- package/ts/loans/futurepaymentmoredetails.js +0 -243
- package/ts/loans/getlocpartnerconfirm.d.ts +0 -46
- package/ts/loans/getlocpartnerconfirm.js +0 -287
- package/ts/loans/getlocpartnertenure.d.ts +0 -57
- package/ts/loans/getlocpartnertenure.js +0 -339
- package/ts/loans/getpartnerlocwithdraw.d.ts +0 -111
- package/ts/loans/getpartnerlocwithdraw.js +0 -1289
- package/ts/loans/rollbackextrapayment.d.ts +0 -37
- package/ts/loans/rollbackextrapayment.js +0 -149
- package/ts/upi/addupinumber.d.ts +0 -39
- package/ts/upi/addupinumber.js +0 -177
- package/ts/upi/addvpa.d.ts +0 -36
- package/ts/upi/addvpa.js +0 -133
- package/ts/upi/suggestvpa.d.ts +0 -35
- package/ts/upi/suggestvpa.js +0 -122
- package/ts/upi/updatedevicelinking.d.ts +0 -49
- package/ts/upi/updatedevicelinking.js +0 -332
|
@@ -1,133 +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: customers/enach/updatetxnstatus.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.updateTxnStatusResponse = exports.updateTxnStatusRequest = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "customers.enach.updatetxnstatus";
|
|
15
|
-
function createBaseupdateTxnStatusRequest() {
|
|
16
|
-
return { txn_id: "", status: "" };
|
|
17
|
-
}
|
|
18
|
-
exports.updateTxnStatusRequest = {
|
|
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.status !== "") {
|
|
24
|
-
writer.uint32(18).string(message.status);
|
|
25
|
-
}
|
|
26
|
-
return writer;
|
|
27
|
-
},
|
|
28
|
-
decode(input, length) {
|
|
29
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
30
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
-
const message = createBaseupdateTxnStatusRequest();
|
|
32
|
-
while (reader.pos < end) {
|
|
33
|
-
const tag = reader.uint32();
|
|
34
|
-
switch (tag >>> 3) {
|
|
35
|
-
case 1:
|
|
36
|
-
if (tag !== 10) {
|
|
37
|
-
break;
|
|
38
|
-
}
|
|
39
|
-
message.txn_id = reader.string();
|
|
40
|
-
continue;
|
|
41
|
-
case 2:
|
|
42
|
-
if (tag !== 18) {
|
|
43
|
-
break;
|
|
44
|
-
}
|
|
45
|
-
message.status = reader.string();
|
|
46
|
-
continue;
|
|
47
|
-
}
|
|
48
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
49
|
-
break;
|
|
50
|
-
}
|
|
51
|
-
reader.skipType(tag & 7);
|
|
52
|
-
}
|
|
53
|
-
return message;
|
|
54
|
-
},
|
|
55
|
-
fromJSON(object) {
|
|
56
|
-
return {
|
|
57
|
-
txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
|
|
58
|
-
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
59
|
-
};
|
|
60
|
-
},
|
|
61
|
-
toJSON(message) {
|
|
62
|
-
const obj = {};
|
|
63
|
-
if (message.txn_id !== "") {
|
|
64
|
-
obj.txn_id = message.txn_id;
|
|
65
|
-
}
|
|
66
|
-
if (message.status !== "") {
|
|
67
|
-
obj.status = message.status;
|
|
68
|
-
}
|
|
69
|
-
return obj;
|
|
70
|
-
},
|
|
71
|
-
create(base) {
|
|
72
|
-
return exports.updateTxnStatusRequest.fromPartial(base ?? {});
|
|
73
|
-
},
|
|
74
|
-
fromPartial(object) {
|
|
75
|
-
const message = createBaseupdateTxnStatusRequest();
|
|
76
|
-
message.txn_id = object.txn_id ?? "";
|
|
77
|
-
message.status = object.status ?? "";
|
|
78
|
-
return message;
|
|
79
|
-
},
|
|
80
|
-
};
|
|
81
|
-
function createBaseupdateTxnStatusResponse() {
|
|
82
|
-
return { status: "" };
|
|
83
|
-
}
|
|
84
|
-
exports.updateTxnStatusResponse = {
|
|
85
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
86
|
-
if (message.status !== "") {
|
|
87
|
-
writer.uint32(10).string(message.status);
|
|
88
|
-
}
|
|
89
|
-
return writer;
|
|
90
|
-
},
|
|
91
|
-
decode(input, length) {
|
|
92
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
93
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
94
|
-
const message = createBaseupdateTxnStatusResponse();
|
|
95
|
-
while (reader.pos < end) {
|
|
96
|
-
const tag = reader.uint32();
|
|
97
|
-
switch (tag >>> 3) {
|
|
98
|
-
case 1:
|
|
99
|
-
if (tag !== 10) {
|
|
100
|
-
break;
|
|
101
|
-
}
|
|
102
|
-
message.status = reader.string();
|
|
103
|
-
continue;
|
|
104
|
-
}
|
|
105
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
106
|
-
break;
|
|
107
|
-
}
|
|
108
|
-
reader.skipType(tag & 7);
|
|
109
|
-
}
|
|
110
|
-
return message;
|
|
111
|
-
},
|
|
112
|
-
fromJSON(object) {
|
|
113
|
-
return { status: isSet(object.status) ? globalThis.String(object.status) : "" };
|
|
114
|
-
},
|
|
115
|
-
toJSON(message) {
|
|
116
|
-
const obj = {};
|
|
117
|
-
if (message.status !== "") {
|
|
118
|
-
obj.status = message.status;
|
|
119
|
-
}
|
|
120
|
-
return obj;
|
|
121
|
-
},
|
|
122
|
-
create(base) {
|
|
123
|
-
return exports.updateTxnStatusResponse.fromPartial(base ?? {});
|
|
124
|
-
},
|
|
125
|
-
fromPartial(object) {
|
|
126
|
-
const message = createBaseupdateTxnStatusResponse();
|
|
127
|
-
message.status = object.status ?? "";
|
|
128
|
-
return message;
|
|
129
|
-
},
|
|
130
|
-
};
|
|
131
|
-
function isSet(value) {
|
|
132
|
-
return value !== null && value !== undefined;
|
|
133
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "customers.getcustomer";
|
|
3
|
-
export interface getCustomerRequest {
|
|
4
|
-
customer_id: number;
|
|
5
|
-
}
|
|
6
|
-
export interface getCustomerResponse {
|
|
7
|
-
success: boolean;
|
|
8
|
-
data?: Data | undefined;
|
|
9
|
-
error_code?: number | undefined;
|
|
10
|
-
error_message?: string | undefined;
|
|
11
|
-
}
|
|
12
|
-
export interface Data {
|
|
13
|
-
first_name: string;
|
|
14
|
-
middle_name?: string | undefined;
|
|
15
|
-
last_name?: string | undefined;
|
|
16
|
-
pan: string;
|
|
17
|
-
dob: string;
|
|
18
|
-
email?: string | undefined;
|
|
19
|
-
phone: string;
|
|
20
|
-
is_otp_done?: boolean | undefined;
|
|
21
|
-
is_email_verify_done?: boolean | undefined;
|
|
22
|
-
}
|
|
23
|
-
export declare const getCustomerRequest: {
|
|
24
|
-
encode(message: getCustomerRequest, writer?: _m0.Writer): _m0.Writer;
|
|
25
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getCustomerRequest;
|
|
26
|
-
fromJSON(object: any): getCustomerRequest;
|
|
27
|
-
toJSON(message: getCustomerRequest): unknown;
|
|
28
|
-
create<I extends Exact<DeepPartial<getCustomerRequest>, I>>(base?: I): getCustomerRequest;
|
|
29
|
-
fromPartial<I extends Exact<DeepPartial<getCustomerRequest>, I>>(object: I): getCustomerRequest;
|
|
30
|
-
};
|
|
31
|
-
export declare const getCustomerResponse: {
|
|
32
|
-
encode(message: getCustomerResponse, writer?: _m0.Writer): _m0.Writer;
|
|
33
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getCustomerResponse;
|
|
34
|
-
fromJSON(object: any): getCustomerResponse;
|
|
35
|
-
toJSON(message: getCustomerResponse): unknown;
|
|
36
|
-
create<I extends Exact<DeepPartial<getCustomerResponse>, I>>(base?: I): getCustomerResponse;
|
|
37
|
-
fromPartial<I extends Exact<DeepPartial<getCustomerResponse>, I>>(object: I): getCustomerResponse;
|
|
38
|
-
};
|
|
39
|
-
export declare const Data: {
|
|
40
|
-
encode(message: Data, writer?: _m0.Writer): _m0.Writer;
|
|
41
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data;
|
|
42
|
-
fromJSON(object: any): Data;
|
|
43
|
-
toJSON(message: Data): unknown;
|
|
44
|
-
create<I extends Exact<DeepPartial<Data>, I>>(base?: I): Data;
|
|
45
|
-
fromPartial<I extends Exact<DeepPartial<Data>, I>>(object: I): Data;
|
|
46
|
-
};
|
|
47
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
48
|
-
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 {} ? {
|
|
49
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
50
|
-
} : Partial<T>;
|
|
51
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
52
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
53
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
54
|
-
} & {
|
|
55
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
56
|
-
};
|
|
57
|
-
export {};
|
|
@@ -1,351 +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: customers/getcustomer.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.Data = exports.getCustomerResponse = exports.getCustomerRequest = 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 = "customers.getcustomer";
|
|
16
|
-
function createBasegetCustomerRequest() {
|
|
17
|
-
return { customer_id: 0 };
|
|
18
|
-
}
|
|
19
|
-
exports.getCustomerRequest = {
|
|
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 = createBasegetCustomerRequest();
|
|
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.getCustomerRequest.fromPartial(base ?? {});
|
|
59
|
-
},
|
|
60
|
-
fromPartial(object) {
|
|
61
|
-
const message = createBasegetCustomerRequest();
|
|
62
|
-
message.customer_id = object.customer_id ?? 0;
|
|
63
|
-
return message;
|
|
64
|
-
},
|
|
65
|
-
};
|
|
66
|
-
function createBasegetCustomerResponse() {
|
|
67
|
-
return { success: false, data: undefined, error_code: undefined, error_message: undefined };
|
|
68
|
-
}
|
|
69
|
-
exports.getCustomerResponse = {
|
|
70
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
71
|
-
if (message.success !== false) {
|
|
72
|
-
writer.uint32(8).bool(message.success);
|
|
73
|
-
}
|
|
74
|
-
if (message.data !== undefined) {
|
|
75
|
-
exports.Data.encode(message.data, writer.uint32(18).fork()).ldelim();
|
|
76
|
-
}
|
|
77
|
-
if (message.error_code !== undefined) {
|
|
78
|
-
writer.uint32(24).int32(message.error_code);
|
|
79
|
-
}
|
|
80
|
-
if (message.error_message !== undefined) {
|
|
81
|
-
writer.uint32(34).string(message.error_message);
|
|
82
|
-
}
|
|
83
|
-
return writer;
|
|
84
|
-
},
|
|
85
|
-
decode(input, length) {
|
|
86
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
87
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
88
|
-
const message = createBasegetCustomerResponse();
|
|
89
|
-
while (reader.pos < end) {
|
|
90
|
-
const tag = reader.uint32();
|
|
91
|
-
switch (tag >>> 3) {
|
|
92
|
-
case 1:
|
|
93
|
-
if (tag !== 8) {
|
|
94
|
-
break;
|
|
95
|
-
}
|
|
96
|
-
message.success = reader.bool();
|
|
97
|
-
continue;
|
|
98
|
-
case 2:
|
|
99
|
-
if (tag !== 18) {
|
|
100
|
-
break;
|
|
101
|
-
}
|
|
102
|
-
message.data = exports.Data.decode(reader, reader.uint32());
|
|
103
|
-
continue;
|
|
104
|
-
case 3:
|
|
105
|
-
if (tag !== 24) {
|
|
106
|
-
break;
|
|
107
|
-
}
|
|
108
|
-
message.error_code = reader.int32();
|
|
109
|
-
continue;
|
|
110
|
-
case 4:
|
|
111
|
-
if (tag !== 34) {
|
|
112
|
-
break;
|
|
113
|
-
}
|
|
114
|
-
message.error_message = reader.string();
|
|
115
|
-
continue;
|
|
116
|
-
}
|
|
117
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
118
|
-
break;
|
|
119
|
-
}
|
|
120
|
-
reader.skipType(tag & 7);
|
|
121
|
-
}
|
|
122
|
-
return message;
|
|
123
|
-
},
|
|
124
|
-
fromJSON(object) {
|
|
125
|
-
return {
|
|
126
|
-
success: isSet(object.success) ? globalThis.Boolean(object.success) : false,
|
|
127
|
-
data: isSet(object.data) ? exports.Data.fromJSON(object.data) : undefined,
|
|
128
|
-
error_code: isSet(object.error_code) ? globalThis.Number(object.error_code) : undefined,
|
|
129
|
-
error_message: isSet(object.error_message) ? globalThis.String(object.error_message) : undefined,
|
|
130
|
-
};
|
|
131
|
-
},
|
|
132
|
-
toJSON(message) {
|
|
133
|
-
const obj = {};
|
|
134
|
-
if (message.success !== false) {
|
|
135
|
-
obj.success = message.success;
|
|
136
|
-
}
|
|
137
|
-
if (message.data !== undefined) {
|
|
138
|
-
obj.data = exports.Data.toJSON(message.data);
|
|
139
|
-
}
|
|
140
|
-
if (message.error_code !== undefined) {
|
|
141
|
-
obj.error_code = Math.round(message.error_code);
|
|
142
|
-
}
|
|
143
|
-
if (message.error_message !== undefined) {
|
|
144
|
-
obj.error_message = message.error_message;
|
|
145
|
-
}
|
|
146
|
-
return obj;
|
|
147
|
-
},
|
|
148
|
-
create(base) {
|
|
149
|
-
return exports.getCustomerResponse.fromPartial(base ?? {});
|
|
150
|
-
},
|
|
151
|
-
fromPartial(object) {
|
|
152
|
-
const message = createBasegetCustomerResponse();
|
|
153
|
-
message.success = object.success ?? false;
|
|
154
|
-
message.data = (object.data !== undefined && object.data !== null) ? exports.Data.fromPartial(object.data) : undefined;
|
|
155
|
-
message.error_code = object.error_code ?? undefined;
|
|
156
|
-
message.error_message = object.error_message ?? undefined;
|
|
157
|
-
return message;
|
|
158
|
-
},
|
|
159
|
-
};
|
|
160
|
-
function createBaseData() {
|
|
161
|
-
return {
|
|
162
|
-
first_name: "",
|
|
163
|
-
middle_name: undefined,
|
|
164
|
-
last_name: undefined,
|
|
165
|
-
pan: "",
|
|
166
|
-
dob: "",
|
|
167
|
-
email: undefined,
|
|
168
|
-
phone: "",
|
|
169
|
-
is_otp_done: undefined,
|
|
170
|
-
is_email_verify_done: undefined,
|
|
171
|
-
};
|
|
172
|
-
}
|
|
173
|
-
exports.Data = {
|
|
174
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
175
|
-
if (message.first_name !== "") {
|
|
176
|
-
writer.uint32(10).string(message.first_name);
|
|
177
|
-
}
|
|
178
|
-
if (message.middle_name !== undefined) {
|
|
179
|
-
writer.uint32(18).string(message.middle_name);
|
|
180
|
-
}
|
|
181
|
-
if (message.last_name !== undefined) {
|
|
182
|
-
writer.uint32(26).string(message.last_name);
|
|
183
|
-
}
|
|
184
|
-
if (message.pan !== "") {
|
|
185
|
-
writer.uint32(34).string(message.pan);
|
|
186
|
-
}
|
|
187
|
-
if (message.dob !== "") {
|
|
188
|
-
writer.uint32(42).string(message.dob);
|
|
189
|
-
}
|
|
190
|
-
if (message.email !== undefined) {
|
|
191
|
-
writer.uint32(50).string(message.email);
|
|
192
|
-
}
|
|
193
|
-
if (message.phone !== "") {
|
|
194
|
-
writer.uint32(58).string(message.phone);
|
|
195
|
-
}
|
|
196
|
-
if (message.is_otp_done !== undefined) {
|
|
197
|
-
writer.uint32(64).bool(message.is_otp_done);
|
|
198
|
-
}
|
|
199
|
-
if (message.is_email_verify_done !== undefined) {
|
|
200
|
-
writer.uint32(72).bool(message.is_email_verify_done);
|
|
201
|
-
}
|
|
202
|
-
return writer;
|
|
203
|
-
},
|
|
204
|
-
decode(input, length) {
|
|
205
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
206
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
207
|
-
const message = createBaseData();
|
|
208
|
-
while (reader.pos < end) {
|
|
209
|
-
const tag = reader.uint32();
|
|
210
|
-
switch (tag >>> 3) {
|
|
211
|
-
case 1:
|
|
212
|
-
if (tag !== 10) {
|
|
213
|
-
break;
|
|
214
|
-
}
|
|
215
|
-
message.first_name = reader.string();
|
|
216
|
-
continue;
|
|
217
|
-
case 2:
|
|
218
|
-
if (tag !== 18) {
|
|
219
|
-
break;
|
|
220
|
-
}
|
|
221
|
-
message.middle_name = reader.string();
|
|
222
|
-
continue;
|
|
223
|
-
case 3:
|
|
224
|
-
if (tag !== 26) {
|
|
225
|
-
break;
|
|
226
|
-
}
|
|
227
|
-
message.last_name = reader.string();
|
|
228
|
-
continue;
|
|
229
|
-
case 4:
|
|
230
|
-
if (tag !== 34) {
|
|
231
|
-
break;
|
|
232
|
-
}
|
|
233
|
-
message.pan = reader.string();
|
|
234
|
-
continue;
|
|
235
|
-
case 5:
|
|
236
|
-
if (tag !== 42) {
|
|
237
|
-
break;
|
|
238
|
-
}
|
|
239
|
-
message.dob = reader.string();
|
|
240
|
-
continue;
|
|
241
|
-
case 6:
|
|
242
|
-
if (tag !== 50) {
|
|
243
|
-
break;
|
|
244
|
-
}
|
|
245
|
-
message.email = reader.string();
|
|
246
|
-
continue;
|
|
247
|
-
case 7:
|
|
248
|
-
if (tag !== 58) {
|
|
249
|
-
break;
|
|
250
|
-
}
|
|
251
|
-
message.phone = reader.string();
|
|
252
|
-
continue;
|
|
253
|
-
case 8:
|
|
254
|
-
if (tag !== 64) {
|
|
255
|
-
break;
|
|
256
|
-
}
|
|
257
|
-
message.is_otp_done = reader.bool();
|
|
258
|
-
continue;
|
|
259
|
-
case 9:
|
|
260
|
-
if (tag !== 72) {
|
|
261
|
-
break;
|
|
262
|
-
}
|
|
263
|
-
message.is_email_verify_done = reader.bool();
|
|
264
|
-
continue;
|
|
265
|
-
}
|
|
266
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
267
|
-
break;
|
|
268
|
-
}
|
|
269
|
-
reader.skipType(tag & 7);
|
|
270
|
-
}
|
|
271
|
-
return message;
|
|
272
|
-
},
|
|
273
|
-
fromJSON(object) {
|
|
274
|
-
return {
|
|
275
|
-
first_name: isSet(object.first_name) ? globalThis.String(object.first_name) : "",
|
|
276
|
-
middle_name: isSet(object.middle_name) ? globalThis.String(object.middle_name) : undefined,
|
|
277
|
-
last_name: isSet(object.last_name) ? globalThis.String(object.last_name) : undefined,
|
|
278
|
-
pan: isSet(object.pan) ? globalThis.String(object.pan) : "",
|
|
279
|
-
dob: isSet(object.dob) ? globalThis.String(object.dob) : "",
|
|
280
|
-
email: isSet(object.email) ? globalThis.String(object.email) : undefined,
|
|
281
|
-
phone: isSet(object.phone) ? globalThis.String(object.phone) : "",
|
|
282
|
-
is_otp_done: isSet(object.is_otp_done) ? globalThis.Boolean(object.is_otp_done) : undefined,
|
|
283
|
-
is_email_verify_done: isSet(object.is_email_verify_done)
|
|
284
|
-
? globalThis.Boolean(object.is_email_verify_done)
|
|
285
|
-
: undefined,
|
|
286
|
-
};
|
|
287
|
-
},
|
|
288
|
-
toJSON(message) {
|
|
289
|
-
const obj = {};
|
|
290
|
-
if (message.first_name !== "") {
|
|
291
|
-
obj.first_name = message.first_name;
|
|
292
|
-
}
|
|
293
|
-
if (message.middle_name !== undefined) {
|
|
294
|
-
obj.middle_name = message.middle_name;
|
|
295
|
-
}
|
|
296
|
-
if (message.last_name !== undefined) {
|
|
297
|
-
obj.last_name = message.last_name;
|
|
298
|
-
}
|
|
299
|
-
if (message.pan !== "") {
|
|
300
|
-
obj.pan = message.pan;
|
|
301
|
-
}
|
|
302
|
-
if (message.dob !== "") {
|
|
303
|
-
obj.dob = message.dob;
|
|
304
|
-
}
|
|
305
|
-
if (message.email !== undefined) {
|
|
306
|
-
obj.email = message.email;
|
|
307
|
-
}
|
|
308
|
-
if (message.phone !== "") {
|
|
309
|
-
obj.phone = message.phone;
|
|
310
|
-
}
|
|
311
|
-
if (message.is_otp_done !== undefined) {
|
|
312
|
-
obj.is_otp_done = message.is_otp_done;
|
|
313
|
-
}
|
|
314
|
-
if (message.is_email_verify_done !== undefined) {
|
|
315
|
-
obj.is_email_verify_done = message.is_email_verify_done;
|
|
316
|
-
}
|
|
317
|
-
return obj;
|
|
318
|
-
},
|
|
319
|
-
create(base) {
|
|
320
|
-
return exports.Data.fromPartial(base ?? {});
|
|
321
|
-
},
|
|
322
|
-
fromPartial(object) {
|
|
323
|
-
const message = createBaseData();
|
|
324
|
-
message.first_name = object.first_name ?? "";
|
|
325
|
-
message.middle_name = object.middle_name ?? undefined;
|
|
326
|
-
message.last_name = object.last_name ?? undefined;
|
|
327
|
-
message.pan = object.pan ?? "";
|
|
328
|
-
message.dob = object.dob ?? "";
|
|
329
|
-
message.email = object.email ?? undefined;
|
|
330
|
-
message.phone = object.phone ?? "";
|
|
331
|
-
message.is_otp_done = object.is_otp_done ?? undefined;
|
|
332
|
-
message.is_email_verify_done = object.is_email_verify_done ?? undefined;
|
|
333
|
-
return message;
|
|
334
|
-
},
|
|
335
|
-
};
|
|
336
|
-
function longToNumber(long) {
|
|
337
|
-
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
338
|
-
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
339
|
-
}
|
|
340
|
-
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
341
|
-
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
342
|
-
}
|
|
343
|
-
return long.toNumber();
|
|
344
|
-
}
|
|
345
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
346
|
-
minimal_1.default.util.Long = long_1.default;
|
|
347
|
-
minimal_1.default.configure();
|
|
348
|
-
}
|
|
349
|
-
function isSet(value) {
|
|
350
|
-
return value !== null && value !== undefined;
|
|
351
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "customers.getrecommendedtag";
|
|
3
|
-
export interface getRecommendedTagRequest {
|
|
4
|
-
}
|
|
5
|
-
export interface getRecommendedTagResponse {
|
|
6
|
-
click_to_call: number;
|
|
7
|
-
ym_chat: number;
|
|
8
|
-
}
|
|
9
|
-
export declare const getRecommendedTagRequest: {
|
|
10
|
-
encode(_: getRecommendedTagRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getRecommendedTagRequest;
|
|
12
|
-
fromJSON(_: any): getRecommendedTagRequest;
|
|
13
|
-
toJSON(_: getRecommendedTagRequest): unknown;
|
|
14
|
-
create<I extends Exact<DeepPartial<getRecommendedTagRequest>, I>>(base?: I): getRecommendedTagRequest;
|
|
15
|
-
fromPartial<I extends Exact<DeepPartial<getRecommendedTagRequest>, I>>(_: I): getRecommendedTagRequest;
|
|
16
|
-
};
|
|
17
|
-
export declare const getRecommendedTagResponse: {
|
|
18
|
-
encode(message: getRecommendedTagResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): getRecommendedTagResponse;
|
|
20
|
-
fromJSON(object: any): getRecommendedTagResponse;
|
|
21
|
-
toJSON(message: getRecommendedTagResponse): unknown;
|
|
22
|
-
create<I extends Exact<DeepPartial<getRecommendedTagResponse>, I>>(base?: I): getRecommendedTagResponse;
|
|
23
|
-
fromPartial<I extends Exact<DeepPartial<getRecommendedTagResponse>, I>>(object: I): getRecommendedTagResponse;
|
|
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 {};
|