@stashfin/grpc 1.2.603 → 1.2.605
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/checktransactionstatus.d.ts +38 -0
- package/ts/banking/aa/checktransactionstatus.js +161 -0
- package/ts/banking/aa/getaasupport.js +1 -1
- package/ts/banking/aa/getbanklist.js +1 -1
- package/ts/banking/aa/getcustomerbank.js +1 -1
- package/ts/banking/aa/getrpdlink.js +1 -1
- package/ts/banking/aa/initiate.d.ts +0 -1
- package/ts/banking/aa/initiate.js +9 -23
- package/ts/banking/aa/initiatepennydrop.js +1 -1
- package/ts/banking/aa/netbankinginitiate.d.ts +37 -0
- package/ts/{loans/rollbackextrapayment.js → banking/aa/netbankinginitiate.js} +63 -51
- package/ts/banking.d.ts +28 -0
- package/ts/banking.js +21 -1
- package/ts/bureau/getbasicdetails.js +1 -1
- package/ts/bureau/getcibilwebtoken.js +1 -1
- package/ts/bureau/getdbrcolending.js +1 -1
- package/ts/bureau/getdemogs.js +1 -1
- package/ts/bureau/getobligation.js +1 -1
- package/ts/bureau/getreport.js +1 -1
- package/ts/bureau.js +1 -1
- package/ts/ckyc/ckycdownload.js +1 -1
- package/ts/ckyc/ckycsearch.js +1 -1
- package/ts/ckyc.js +1 -1
- package/ts/colender/disburseLoan.js +1 -1
- package/ts/colender/forecloseLoan.js +1 -1
- package/ts/colender/repayLoan.js +1 -1
- package/ts/colender.js +1 -1
- package/ts/customers/aa/getaatxnstatus.js +1 -1
- package/ts/customers/aa/getbanklist.js +1 -1
- package/ts/customers/aa/initiate.js +1 -1
- package/ts/customers/accidentprotectionplan.js +1 -1
- package/ts/customers/addaddress.js +1 -1
- package/ts/customers/addbankaccountdetails.js +1 -1
- package/ts/customers/addfathersname.js +1 -1
- package/ts/customers/addgstnumber.js +1 -1
- package/ts/customers/addmoredetails.js +1 -1
- package/ts/customers/addsuspendedcustomer.js +1 -1
- package/ts/customers/adduserapps.js +1 -1
- package/ts/customers/applyclijourney.js +1 -1
- package/ts/customers/bulksms.js +1 -1
- package/ts/customers/cb/cbapplicationrejecteddata.js +1 -1
- package/ts/customers/cb/cbpaynow.js +1 -1
- package/ts/customers/cb/cbsignup.js +1 -1
- package/ts/customers/cb/getcbtxnstatus.js +1 -1
- package/ts/customers/cb/getcreditbuilder.js +1 -1
- package/ts/customers/cb/getpaymentsummary.js +1 -1
- package/ts/customers/cb/insurancedetails.js +1 -1
- package/ts/customers/cb/lesscsimprove.js +1 -1
- package/ts/customers/cb/morecsimprove.js +1 -1
- package/ts/customers/cb/paynow.js +1 -1
- package/ts/customers/cb/savecreditbuilder.js +1 -1
- package/ts/customers/cb/updatecbstandalonecancellation.js +1 -1
- package/ts/customers/cb/updatecbstandaloneconfirmation.js +1 -1
- package/ts/customers/cb/updatecbstandalonejourney.js +1 -1
- package/ts/customers/cb/updatecbtxnstatus.js +1 -1
- package/ts/customers/changempin.js +1 -1
- package/ts/customers/createcustomerreference.js +1 -1
- package/ts/customers/createvanumber.js +1 -1
- package/ts/customers/customerinfo.js +1 -1
- package/ts/customers/deletedocument.js +1 -1
- package/ts/customers/deleteprofile.js +1 -1
- package/ts/customers/disablempin.js +1 -1
- package/ts/customers/enach/gettxnstatus.js +1 -1
- package/ts/customers/enach/getweburl.js +1 -1
- package/ts/customers/enach/updateenachtxnstatus.js +1 -1
- package/ts/customers/enach/updatetxnstatus.js +1 -1
- package/ts/customers/fetchrcprofile.js +1 -1
- package/ts/customers/floatingvideos.js +1 -1
- package/ts/customers/forceupdate.js +1 -1
- package/ts/customers/forgotmpin.js +1 -1
- package/ts/customers/forgotmpinverify.js +1 -1
- package/ts/customers/freedom/addressconfirmation.js +1 -1
- package/ts/customers/freedom/freedompaynow.js +1 -1
- package/ts/customers/freedom/getfreedomtxnstatus.js +1 -1
- package/ts/customers/freedom/updateadditionalverification.js +1 -1
- package/ts/customers/freedom/updatefreedomtxnstatus.js +1 -1
- package/ts/customers/getaddresslist.js +1 -1
- package/ts/customers/getappsubmittedscreen.js +1 -1
- package/ts/customers/getbankaccountdetails.js +1 -1
- package/ts/customers/getbasicinfo.js +1 -1
- package/ts/customers/getcities.js +1 -1
- package/ts/customers/getclistatus.js +1 -1
- package/ts/customers/getcompanyaccdetails.js +1 -1
- package/ts/customers/getcustomerbyid.js +1 -1
- package/ts/customers/getcustomerdetailsbymobile.js +1 -1
- package/ts/customers/getdashboard.js +1 -1
- package/ts/customers/getdashboardmaincard.js +1 -1
- package/ts/customers/getdocuments.js +1 -1
- package/ts/customers/getglobalpopups.js +1 -1
- package/ts/customers/getlimit.js +1 -1
- package/ts/customers/getloclimit.js +1 -1
- package/ts/customers/getmessengermode.js +1 -1
- package/ts/customers/getoccupationlist.js +1 -1
- package/ts/customers/getpaymentoptions.js +1 -1
- package/ts/customers/getprofessionalinfo.js +1 -1
- package/ts/customers/getprofile.js +1 -1
- package/ts/customers/getselfieetxnid.js +1 -1
- package/ts/customers/getstates.js +1 -1
- package/ts/customers/getstep.js +1 -1
- package/ts/customers/getsyncstatus.js +1 -1
- package/ts/customers/getvanumber.js +1 -1
- package/ts/customers/lamf/applylamf.js +1 -1
- package/ts/customers/lamf/sendlamfotp.js +1 -1
- package/ts/customers/lamf/sendlamfpledgeotp.js +1 -1
- package/ts/customers/lamf/updatelamfjourney.js +1 -1
- package/ts/customers/lamf/verifylamfotp.js +1 -1
- package/ts/customers/lamf/verifylamfpledgeotp.js +1 -1
- package/ts/customers/logout.js +1 -1
- package/ts/customers/pd/getbanklist.js +1 -1
- package/ts/customers/pd/validatebankaccount.js +1 -1
- package/ts/customers/profilebasic.js +1 -1
- package/ts/customers/profileupdatetnc.js +1 -1
- package/ts/customers/resetbanner.js +1 -1
- package/ts/customers/restoreaccount.js +1 -1
- package/ts/customers/rpd/getrpdlink.js +1 -1
- package/ts/customers/rpd/getrpdtransactionstatus.js +1 -1
- package/ts/customers/rpd/mockpayment.js +1 -1
- package/ts/customers/saveappslist.js +1 -1
- package/ts/customers/savebasicdetails.js +1 -1
- package/ts/customers/savelimit.js +1 -1
- package/ts/customers/saveunlocklimit.js +1 -1
- package/ts/customers/sendotp.js +1 -1
- package/ts/customers/sendotptoemail.js +1 -1
- package/ts/customers/setmpin.js +1 -1
- package/ts/customers/skipscreen.js +1 -1
- package/ts/customers/submituploadeddocuments.js +1 -1
- package/ts/customers/syncdecisionengine.js +1 -1
- package/ts/customers/updatecategory.js +1 -1
- package/ts/customers/updatecongratulationstep.js +1 -1
- package/ts/customers/updatecustomerbyid.js +1 -1
- package/ts/customers/updatedlnumber.js +1 -1
- package/ts/customers/updatedob.js +1 -1
- package/ts/customers/updatelocstatus.js +1 -1
- package/ts/customers/updatemobilesendotp.js +1 -1
- package/ts/customers/updatemobileverifyotp.js +1 -1
- package/ts/customers/updateokyctxn.js +1 -1
- package/ts/customers/updatesanctionamount.js +1 -1
- package/ts/customers/updateselfieetxn.js +1 -1
- package/ts/customers/updatesyncstatus.js +1 -1
- package/ts/customers/updatevehiclenumber.js +1 -1
- package/ts/customers/uploaddocuments.js +1 -1
- package/ts/customers/validatepan.js +1 -1
- package/ts/customers/verifympin.js +1 -1
- package/ts/customers/verifyotp.js +1 -1
- package/ts/customers/verifyotptoemail.js +1 -1
- package/ts/customers.js +1 -1
- package/ts/decisionengine/decisionengine.js +1 -1
- package/ts/decisionengine/decisionenginetrigger.js +1 -1
- package/ts/decisionengine/locdisbursalapproval.js +1 -1
- package/ts/decisionengine/saveconsent.js +1 -1
- package/ts/decisionengine.js +1 -1
- package/ts/documents/getagreement.js +1 -1
- package/ts/documents/getfinancialdoc.js +1 -1
- package/ts/documents.js +1 -1
- package/ts/eqxcustomer.d.ts +14 -0
- package/ts/eqxcustomer.js +11 -1
- package/ts/eqxcustomers/getcustomerbyid.js +1 -1
- package/ts/eqxcustomers/getdashboard.js +1 -1
- package/ts/eqxcustomers/getdashboardmaincard.js +1 -1
- package/ts/eqxcustomers/getnotifications.js +1 -1
- package/ts/eqxcustomers/sendotp.js +1 -1
- package/ts/eqxcustomers/updatenotification.js +1 -1
- package/ts/eqxcustomers/updatepushid.js +1 -1
- package/ts/eqxcustomers/verifyotp.js +1 -1
- package/ts/eqxcustomers/verifytoken.d.ts +36 -0
- package/ts/{customers/getrecommendedtag.js → eqxcustomers/verifytoken.js} +49 -36
- package/ts/example.js +1 -1
- package/ts/growth/checkplanstatus.js +1 -1
- package/ts/growth/getattachplandetails.js +1 -1
- package/ts/growth/getchrpaymentstatus.js +1 -1
- package/ts/growth/getchrplans.js +1 -1
- package/ts/growth/getcredithealthreport.js +1 -1
- package/ts/growth/initiatepayment.js +1 -1
- package/ts/growth/notifychrpayment.js +1 -1
- package/ts/growth/processchrpayment.js +1 -1
- package/ts/growth.js +1 -1
- package/ts/kyc/facematch.js +1 -1
- package/ts/kyc/fetchemploymenthistory.js +1 -1
- package/ts/kyc/fetchuanlist.js +1 -1
- package/ts/kyc/getselfietxnid.js +1 -1
- package/ts/kyc/nsdlpanvalidate.js +1 -1
- package/ts/kyc.js +1 -1
- package/ts/lamf/getloandetails.js +1 -1
- package/ts/lamf/submitotp.js +1 -1
- package/ts/lamf/validateuser.js +1 -1
- package/ts/lamf.js +1 -1
- package/ts/loans/addreference.js +1 -1
- package/ts/loans/amortization.js +1 -1
- package/ts/loans/approveloan.js +1 -1
- package/ts/loans/banklist.js +1 -1
- package/ts/loans/calculateemi.js +1 -1
- package/ts/loans/cbloan.js +1 -1
- package/ts/loans/createlamfloan.js +1 -1
- package/ts/loans/createpenalty.js +1 -1
- package/ts/loans/creditlimit.js +1 -1
- package/ts/loans/emimoredetails.js +1 -1
- package/ts/loans/fcppayment.js +1 -1
- package/ts/loans/forecloseamount.js +1 -1
- package/ts/loans/foreclosepayment.js +1 -1
- package/ts/loans/futurepaymentmoredetails.js +1 -1
- package/ts/loans/getaddonslist.js +1 -1
- package/ts/loans/getbilldetails.js +1 -1
- package/ts/loans/getcbloandetails.js +1 -1
- package/ts/loans/getchrdetails.js +1 -1
- package/ts/loans/getcustomerloanstatus.js +1 -1
- package/ts/loans/getforecloseamount.js +1 -1
- package/ts/loans/getloanbyid.js +1 -1
- package/ts/loans/getnextdueamount.js +1 -1
- package/ts/loans/getpaymentoptions.js +1 -1
- package/ts/loans/getpendingemiamount.js +1 -1
- package/ts/loans/getsetubilldetails.js +1 -1
- package/ts/loans/getsummarystaticfields.js +1 -1
- package/ts/loans/gettransactionstatus.js +1 -1
- package/ts/loans/getusedlimit.js +1 -1
- package/ts/loans/getvirtualbankinfo.js +1 -1
- package/ts/loans/loansummary.js +1 -1
- package/ts/loans/manualpaymentallocation.js +1 -1
- package/ts/loans/paymentallocation.js +1 -1
- package/ts/loans/paymenthistory.js +1 -1
- package/ts/loans/paynow.js +1 -1
- package/ts/loans/refund.js +1 -1
- package/ts/loans/restructureloan.js +1 -1
- package/ts/loans/rollback.js +1 -1
- package/ts/loans/sendemail.js +1 -1
- package/ts/loans/sendnocemail.js +1 -1
- package/ts/loans/transactionlist.js +1 -1
- package/ts/loans/updatecollectionview.js +1 -1
- package/ts/loans/updateinstallments.js +1 -1
- package/ts/loans/updateloan.js +1 -1
- package/ts/loans/updatetransactionstatus.js +1 -1
- package/ts/loans.js +1 -1
- package/ts/payments/checkpaymentstatus.js +1 -1
- package/ts/payments/fundtransfer.js +1 -1
- package/ts/payments/getpaymentoptions.js +1 -1
- package/ts/payments/initiatepayment.js +1 -1
- package/ts/payments/nachpresentation.js +1 -1
- package/ts/payments/nachregistration.js +1 -1
- package/ts/payments.js +1 -1
- package/ts/paymentsnode.js +1 -1
- package/ts/stashcash/creditsc.js +1 -1
- package/ts/stashcash/debitsc.js +1 -1
- package/ts/stashcash/getscbalance.js +1 -1
- package/ts/stashcash/getschistory.js +1 -1
- package/ts/stashcash/reversesc.js +1 -1
- package/ts/stashcash.js +1 -1
- package/ts/upi/addaccount.js +1 -1
- package/ts/upi/addupinumber.js +1 -1
- package/ts/upi/addvpa.js +1 -1
- package/ts/upi/blockvpa.js +1 -1
- package/ts/upi/checkderegisterpermission.js +1 -1
- package/ts/upi/checktransactionstatus.js +1 -1
- package/ts/upi/declinemandate.js +1 -1
- package/ts/upi/deregisterprofile.js +1 -1
- package/ts/upi/getaccountsbyprovider.js +1 -1
- package/ts/upi/getallmandates.js +1 -1
- package/ts/upi/getavailablevpa.js +1 -1
- package/ts/upi/getlistedaccountproviders.js +1 -1
- package/ts/upi/getmandatedetails.js +1 -1
- package/ts/upi/getmandatehistory.js +1 -1
- package/ts/upi/getpendingcollectrequest.js +1 -1
- package/ts/upi/getprofile.js +1 -1
- package/ts/upi/getrecentcontacts.js +1 -1
- package/ts/upi/gettransactions.js +1 -1
- package/ts/upi/getupinumbers.js +1 -1
- package/ts/upi/initiatemandateaction.js +1 -1
- package/ts/upi/initiatetransaction.js +1 -1
- package/ts/upi/listblockedvpa.js +1 -1
- package/ts/upi/suggestvpa.js +1 -1
- package/ts/upi/unblockvpa.js +1 -1
- package/ts/upi/updatedevicebinding.js +1 -1
- package/ts/upi/updatedevicelinking.js +1 -1
- package/ts/upi/upinumberoperations.js +1 -1
- package/ts/upi/validateifsc.js +1 -1
- package/ts/upi/validatevpa.js +1 -1
- package/ts/upi.js +1 -1
- 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/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/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/google/protobuf/timestamp.d.ts +0 -127
- package/ts/google/protobuf/timestamp.js +0 -97
- package/ts/kyc/epfo/fetchUANList.d.ts +0 -35
- package/ts/kyc/epfo/fetchUANList.js +0 -119
- package/ts/loans/addrefrences.d.ts +0 -49
- package/ts/loans/addrefrences.js +0 -229
- package/ts/loans/rollbackextrapayment.d.ts +0 -37
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/updatedob.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/updatelocstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/updatemobilesendotp.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/updatemobileverifyotp.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/updateokyctxn.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/updatesanctionamount.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/updateselfieetxn.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/updatesyncstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/updatevehiclenumber.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/uploaddocuments.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/validatepan.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/verifympin.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/verifyotp.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers/verifyotptoemail.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/customers.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: customers.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.28.2
|
|
6
6
|
// source: decisionengine/decisionengine.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: decisionengine/decisionenginetrigger.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: decisionengine/locdisbursalapproval.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: decisionengine/saveconsent.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/decisionengine.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: decisionengine.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: documents/getagreement.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: documents/getfinancialdoc.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/documents.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: documents.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
package/ts/eqxcustomer.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { sendOtpRequest, sendOtpResponse } from "./eqxcustomers/sendotp";
|
|
|
7
7
|
import { updateNotificationRequest, updateNotificationResponse } from "./eqxcustomers/updatenotification";
|
|
8
8
|
import { updatePushIdRequest, updatePushIdResponse } from "./eqxcustomers/updatepushid";
|
|
9
9
|
import { verifyOtpReqeust, verifyOtpResponse } from "./eqxcustomers/verifyotp";
|
|
10
|
+
import { VerifyTokenRequest, VerifyTokenResponse } from "./eqxcustomers/verifytoken";
|
|
10
11
|
export declare const protobufPackage = "service";
|
|
11
12
|
export type eqxcustomersService = typeof eqxcustomersService;
|
|
12
13
|
export declare const eqxcustomersService: {
|
|
@@ -82,6 +83,15 @@ export declare const eqxcustomersService: {
|
|
|
82
83
|
readonly responseSerialize: (value: updateNotificationResponse) => Buffer;
|
|
83
84
|
readonly responseDeserialize: (value: Buffer) => updateNotificationResponse;
|
|
84
85
|
};
|
|
86
|
+
readonly verifyToken: {
|
|
87
|
+
readonly path: "/service.eqxcustomers/VerifyToken";
|
|
88
|
+
readonly requestStream: false;
|
|
89
|
+
readonly responseStream: false;
|
|
90
|
+
readonly requestSerialize: (value: VerifyTokenRequest) => Buffer;
|
|
91
|
+
readonly requestDeserialize: (value: Buffer) => VerifyTokenRequest;
|
|
92
|
+
readonly responseSerialize: (value: VerifyTokenResponse) => Buffer;
|
|
93
|
+
readonly responseDeserialize: (value: Buffer) => VerifyTokenResponse;
|
|
94
|
+
};
|
|
85
95
|
};
|
|
86
96
|
export interface eqxcustomersServer extends UntypedServiceImplementation {
|
|
87
97
|
sendOtp: handleUnaryCall<sendOtpRequest, sendOtpResponse>;
|
|
@@ -92,6 +102,7 @@ export interface eqxcustomersServer extends UntypedServiceImplementation {
|
|
|
92
102
|
updatePushId: handleUnaryCall<updatePushIdRequest, updatePushIdResponse>;
|
|
93
103
|
getnotifications: handleUnaryCall<getNotificationsRequest, getNotificationsResponse>;
|
|
94
104
|
updateNotifications: handleUnaryCall<updateNotificationRequest, updateNotificationResponse>;
|
|
105
|
+
verifyToken: handleUnaryCall<VerifyTokenRequest, VerifyTokenResponse>;
|
|
95
106
|
}
|
|
96
107
|
export interface eqxcustomersClient extends Client {
|
|
97
108
|
sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpResponse) => void): ClientUnaryCall;
|
|
@@ -118,6 +129,9 @@ export interface eqxcustomersClient extends Client {
|
|
|
118
129
|
updateNotifications(request: updateNotificationRequest, callback: (error: ServiceError | null, response: updateNotificationResponse) => void): ClientUnaryCall;
|
|
119
130
|
updateNotifications(request: updateNotificationRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateNotificationResponse) => void): ClientUnaryCall;
|
|
120
131
|
updateNotifications(request: updateNotificationRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateNotificationResponse) => void): ClientUnaryCall;
|
|
132
|
+
verifyToken(request: VerifyTokenRequest, callback: (error: ServiceError | null, response: VerifyTokenResponse) => void): ClientUnaryCall;
|
|
133
|
+
verifyToken(request: VerifyTokenRequest, metadata: Metadata, callback: (error: ServiceError | null, response: VerifyTokenResponse) => void): ClientUnaryCall;
|
|
134
|
+
verifyToken(request: VerifyTokenRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: VerifyTokenResponse) => void): ClientUnaryCall;
|
|
121
135
|
}
|
|
122
136
|
export declare const eqxcustomersClient: {
|
|
123
137
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): eqxcustomersClient;
|
package/ts/eqxcustomer.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: eqxcustomer.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -16,6 +16,7 @@ const sendotp_1 = require("./eqxcustomers/sendotp");
|
|
|
16
16
|
const updatenotification_1 = require("./eqxcustomers/updatenotification");
|
|
17
17
|
const updatepushid_1 = require("./eqxcustomers/updatepushid");
|
|
18
18
|
const verifyotp_1 = require("./eqxcustomers/verifyotp");
|
|
19
|
+
const verifytoken_1 = require("./eqxcustomers/verifytoken");
|
|
19
20
|
exports.protobufPackage = "service";
|
|
20
21
|
exports.eqxcustomersService = {
|
|
21
22
|
sendOtp: {
|
|
@@ -90,5 +91,14 @@ exports.eqxcustomersService = {
|
|
|
90
91
|
responseSerialize: (value) => Buffer.from(updatenotification_1.updateNotificationResponse.encode(value).finish()),
|
|
91
92
|
responseDeserialize: (value) => updatenotification_1.updateNotificationResponse.decode(value),
|
|
92
93
|
},
|
|
94
|
+
verifyToken: {
|
|
95
|
+
path: "/service.eqxcustomers/VerifyToken",
|
|
96
|
+
requestStream: false,
|
|
97
|
+
responseStream: false,
|
|
98
|
+
requestSerialize: (value) => Buffer.from(verifytoken_1.VerifyTokenRequest.encode(value).finish()),
|
|
99
|
+
requestDeserialize: (value) => verifytoken_1.VerifyTokenRequest.decode(value),
|
|
100
|
+
responseSerialize: (value) => Buffer.from(verifytoken_1.VerifyTokenResponse.encode(value).finish()),
|
|
101
|
+
responseDeserialize: (value) => verifytoken_1.VerifyTokenResponse.decode(value),
|
|
102
|
+
},
|
|
93
103
|
};
|
|
94
104
|
exports.eqxcustomersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.eqxcustomersService, "service.eqxcustomers");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: eqxcustomers/getcustomerbyid.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: eqxcustomers/getdashboard.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: eqxcustomers/getdashboardmaincard.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: eqxcustomers/getnotifications.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: eqxcustomers/sendotp.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: eqxcustomers/updatenotification.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: eqxcustomers/updatepushid.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: eqxcustomers/verifyotp.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "eqxcustomers.verifytoken";
|
|
3
|
+
export interface VerifyTokenRequest {
|
|
4
|
+
token: string;
|
|
5
|
+
}
|
|
6
|
+
export interface VerifyTokenResponse {
|
|
7
|
+
is_valid: boolean;
|
|
8
|
+
customer_id: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const VerifyTokenRequest: {
|
|
11
|
+
encode(message: VerifyTokenRequest, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): VerifyTokenRequest;
|
|
13
|
+
fromJSON(object: any): VerifyTokenRequest;
|
|
14
|
+
toJSON(message: VerifyTokenRequest): unknown;
|
|
15
|
+
create<I extends Exact<DeepPartial<VerifyTokenRequest>, I>>(base?: I): VerifyTokenRequest;
|
|
16
|
+
fromPartial<I extends Exact<DeepPartial<VerifyTokenRequest>, I>>(object: I): VerifyTokenRequest;
|
|
17
|
+
};
|
|
18
|
+
export declare const VerifyTokenResponse: {
|
|
19
|
+
encode(message: VerifyTokenResponse, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): VerifyTokenResponse;
|
|
21
|
+
fromJSON(object: any): VerifyTokenResponse;
|
|
22
|
+
toJSON(message: VerifyTokenResponse): unknown;
|
|
23
|
+
create<I extends Exact<DeepPartial<VerifyTokenResponse>, I>>(base?: I): VerifyTokenResponse;
|
|
24
|
+
fromPartial<I extends Exact<DeepPartial<VerifyTokenResponse>, I>>(object: I): VerifyTokenResponse;
|
|
25
|
+
};
|
|
26
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
27
|
+
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 {} ? {
|
|
28
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
29
|
+
} : Partial<T>;
|
|
30
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
31
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
32
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
33
|
+
} & {
|
|
34
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
35
|
+
};
|
|
36
|
+
export {};
|
|
@@ -1,32 +1,41 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
5
|
-
// protoc v5.
|
|
6
|
-
// source:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
|
+
// protoc v5.29.3
|
|
6
|
+
// source: eqxcustomers/verifytoken.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
9
|
};
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.
|
|
11
|
+
exports.VerifyTokenResponse = exports.VerifyTokenRequest = exports.protobufPackage = void 0;
|
|
12
12
|
/* eslint-disable */
|
|
13
13
|
const long_1 = __importDefault(require("long"));
|
|
14
14
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
15
|
-
exports.protobufPackage = "
|
|
16
|
-
function
|
|
17
|
-
return {};
|
|
15
|
+
exports.protobufPackage = "eqxcustomers.verifytoken";
|
|
16
|
+
function createBaseVerifyTokenRequest() {
|
|
17
|
+
return { token: "" };
|
|
18
18
|
}
|
|
19
|
-
exports.
|
|
20
|
-
encode(
|
|
19
|
+
exports.VerifyTokenRequest = {
|
|
20
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
|
+
if (message.token !== "") {
|
|
22
|
+
writer.uint32(10).string(message.token);
|
|
23
|
+
}
|
|
21
24
|
return writer;
|
|
22
25
|
},
|
|
23
26
|
decode(input, length) {
|
|
24
27
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
25
28
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
26
|
-
const message =
|
|
29
|
+
const message = createBaseVerifyTokenRequest();
|
|
27
30
|
while (reader.pos < end) {
|
|
28
31
|
const tag = reader.uint32();
|
|
29
32
|
switch (tag >>> 3) {
|
|
33
|
+
case 1:
|
|
34
|
+
if (tag !== 10) {
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
message.token = reader.string();
|
|
38
|
+
continue;
|
|
30
39
|
}
|
|
31
40
|
if ((tag & 7) === 4 || tag === 0) {
|
|
32
41
|
break;
|
|
@@ -35,38 +44,42 @@ exports.getRecommendedTagRequest = {
|
|
|
35
44
|
}
|
|
36
45
|
return message;
|
|
37
46
|
},
|
|
38
|
-
fromJSON(
|
|
39
|
-
return {};
|
|
47
|
+
fromJSON(object) {
|
|
48
|
+
return { token: isSet(object.token) ? globalThis.String(object.token) : "" };
|
|
40
49
|
},
|
|
41
|
-
toJSON(
|
|
50
|
+
toJSON(message) {
|
|
42
51
|
const obj = {};
|
|
52
|
+
if (message.token !== "") {
|
|
53
|
+
obj.token = message.token;
|
|
54
|
+
}
|
|
43
55
|
return obj;
|
|
44
56
|
},
|
|
45
57
|
create(base) {
|
|
46
|
-
return exports.
|
|
58
|
+
return exports.VerifyTokenRequest.fromPartial(base ?? {});
|
|
47
59
|
},
|
|
48
|
-
fromPartial(
|
|
49
|
-
const message =
|
|
60
|
+
fromPartial(object) {
|
|
61
|
+
const message = createBaseVerifyTokenRequest();
|
|
62
|
+
message.token = object.token ?? "";
|
|
50
63
|
return message;
|
|
51
64
|
},
|
|
52
65
|
};
|
|
53
|
-
function
|
|
54
|
-
return {
|
|
66
|
+
function createBaseVerifyTokenResponse() {
|
|
67
|
+
return { is_valid: false, customer_id: 0 };
|
|
55
68
|
}
|
|
56
|
-
exports.
|
|
69
|
+
exports.VerifyTokenResponse = {
|
|
57
70
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
58
|
-
if (message.
|
|
59
|
-
writer.uint32(8).
|
|
71
|
+
if (message.is_valid !== false) {
|
|
72
|
+
writer.uint32(8).bool(message.is_valid);
|
|
60
73
|
}
|
|
61
|
-
if (message.
|
|
62
|
-
writer.uint32(16).int64(message.
|
|
74
|
+
if (message.customer_id !== 0) {
|
|
75
|
+
writer.uint32(16).int64(message.customer_id);
|
|
63
76
|
}
|
|
64
77
|
return writer;
|
|
65
78
|
},
|
|
66
79
|
decode(input, length) {
|
|
67
80
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
68
81
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
69
|
-
const message =
|
|
82
|
+
const message = createBaseVerifyTokenResponse();
|
|
70
83
|
while (reader.pos < end) {
|
|
71
84
|
const tag = reader.uint32();
|
|
72
85
|
switch (tag >>> 3) {
|
|
@@ -74,13 +87,13 @@ exports.getRecommendedTagResponse = {
|
|
|
74
87
|
if (tag !== 8) {
|
|
75
88
|
break;
|
|
76
89
|
}
|
|
77
|
-
message.
|
|
90
|
+
message.is_valid = reader.bool();
|
|
78
91
|
continue;
|
|
79
92
|
case 2:
|
|
80
93
|
if (tag !== 16) {
|
|
81
94
|
break;
|
|
82
95
|
}
|
|
83
|
-
message.
|
|
96
|
+
message.customer_id = longToNumber(reader.int64());
|
|
84
97
|
continue;
|
|
85
98
|
}
|
|
86
99
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -92,27 +105,27 @@ exports.getRecommendedTagResponse = {
|
|
|
92
105
|
},
|
|
93
106
|
fromJSON(object) {
|
|
94
107
|
return {
|
|
95
|
-
|
|
96
|
-
|
|
108
|
+
is_valid: isSet(object.is_valid) ? globalThis.Boolean(object.is_valid) : false,
|
|
109
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
97
110
|
};
|
|
98
111
|
},
|
|
99
112
|
toJSON(message) {
|
|
100
113
|
const obj = {};
|
|
101
|
-
if (message.
|
|
102
|
-
obj.
|
|
114
|
+
if (message.is_valid !== false) {
|
|
115
|
+
obj.is_valid = message.is_valid;
|
|
103
116
|
}
|
|
104
|
-
if (message.
|
|
105
|
-
obj.
|
|
117
|
+
if (message.customer_id !== 0) {
|
|
118
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
106
119
|
}
|
|
107
120
|
return obj;
|
|
108
121
|
},
|
|
109
122
|
create(base) {
|
|
110
|
-
return exports.
|
|
123
|
+
return exports.VerifyTokenResponse.fromPartial(base ?? {});
|
|
111
124
|
},
|
|
112
125
|
fromPartial(object) {
|
|
113
|
-
const message =
|
|
114
|
-
message.
|
|
115
|
-
message.
|
|
126
|
+
const message = createBaseVerifyTokenResponse();
|
|
127
|
+
message.is_valid = object.is_valid ?? false;
|
|
128
|
+
message.customer_id = object.customer_id ?? 0;
|
|
116
129
|
return message;
|
|
117
130
|
},
|
|
118
131
|
};
|
package/ts/example.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: example.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: growth/checkplanstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: growth/getattachplandetails.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.2
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: growth/getchrpaymentstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|