@stashfin/grpc 1.2.568 → 1.2.571
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/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.d.ts +12 -12
- package/ts/bureau.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.d.ts +6 -6
- 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.d.ts +2 -2
- 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.d.ts +36 -0
- package/ts/customers/cb/paynow.js +133 -0
- 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.d.ts +36 -0
- package/ts/customers/enach/updatetxnstatus.js +133 -0
- 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/getcustomer.d.ts +57 -0
- package/ts/customers/getcustomer.js +351 -0
- 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/getrecommendedtag.d.ts +35 -0
- package/ts/customers/getrecommendedtag.js +134 -0
- package/ts/customers/getrpdlink.d.ts +40 -0
- package/ts/customers/getrpdlink.js +190 -0
- 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/kyc/epfo.d.ts +38 -0
- package/ts/customers/kyc/epfo.js +149 -0
- 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.d.ts +34 -0
- package/ts/customers/lamf/updatelamfjourney.js +104 -0
- 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/sendemailtoken.d.ts +35 -0
- package/ts/customers/sendemailtoken.js +117 -0
- package/ts/customers/sendotp.js +1 -1
- package/ts/customers/sendotptoemail.js +1 -1
- package/ts/customers/setmpin.js +1 -1
- package/ts/customers/skipdlrcscreen.d.ts +35 -0
- package/ts/customers/skipdlrcscreen.js +117 -0
- package/ts/customers/skipscreen.js +1 -1
- package/ts/customers/step1.d.ts +69 -0
- package/ts/customers/step1.js +395 -0
- package/ts/customers/step10.d.ts +73 -0
- package/ts/customers/step10.js +459 -0
- package/ts/customers/step2.d.ts +68 -0
- package/ts/customers/step2.js +381 -0
- package/ts/customers/step7.d.ts +68 -0
- package/ts/customers/step7.js +381 -0
- package/ts/customers/step8.d.ts +69 -0
- package/ts/customers/step8.js +395 -0
- package/ts/customers/step9.d.ts +75 -0
- package/ts/customers/step9.js +489 -0
- package/ts/customers/stepstatic.d.ts +66 -0
- package/ts/customers/stepstatic.js +354 -0
- 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/verifyemail.d.ts +35 -0
- package/ts/customers/verifyemail.js +117 -0
- package/ts/customers/verifympin.js +1 -1
- package/ts/customers/verifyotp.js +1 -1
- package/ts/customers/verifyotptoemail.js +1 -1
- package/ts/customers.d.ts +236 -236
- package/ts/customers.js +1 -1
- package/ts/decisionengine/decisionengine.d.ts +40 -0
- package/ts/decisionengine/decisionengine.js +191 -0
- package/ts/decisionengine/decisionenginetrigger.js +1 -1
- package/ts/decisionengine/locdisbursalapproval.js +1 -1
- package/ts/decisionengine/saveconsent.js +1 -1
- package/ts/decisionengine.d.ts +6 -6
- package/ts/decisionengine.js +1 -1
- package/ts/documents/getagreement.js +1 -1
- package/ts/documents/getfinancialdoc.js +1 -1
- package/ts/documents.d.ts +4 -4
- package/ts/documents.js +1 -1
- package/ts/eqxcustomer.d.ts +16 -16
- package/ts/eqxcustomer.js +1 -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/example.d.ts +4 -4
- package/ts/example.js +1 -1
- package/ts/google/protobuf/timestamp.d.ts +127 -0
- package/ts/google/protobuf/timestamp.js +97 -0
- 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.d.ts +39 -0
- package/ts/growth/processchrpayment.js +177 -0
- package/ts/growth.d.ts +14 -14
- package/ts/growth.js +1 -1
- package/ts/kyc/epfo/fetchUANList.d.ts +35 -0
- package/ts/kyc/{fetchuannumber.js → epfo/fetchUANList.js} +29 -29
- package/ts/kyc.d.ts +11 -25
- package/ts/kyc.js +8 -18
- package/ts/lamf/getloandetails.js +1 -1
- package/ts/lamf/submitotp.js +1 -1
- package/ts/lamf/validateuser.js +1 -1
- package/ts/lamf.d.ts +6 -6
- package/ts/lamf.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.d.ts +36 -0
- package/ts/loans/forecloseamount.js +133 -0
- package/ts/loans/foreclosepayment.js +1 -1
- package/ts/loans/futurepaymentmoredetails.d.ts +51 -0
- package/ts/loans/futurepaymentmoredetails.js +243 -0
- 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/rollbackextrapayment.d.ts +37 -0
- package/ts/loans/rollbackextrapayment.js +149 -0
- 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.d.ts +82 -82
- 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.d.ts +12 -12
- package/ts/payments.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.d.ts +10 -10
- package/ts/stashcash.js +1 -1
- package/ts/upi/addaccount.js +1 -1
- package/ts/upi/addupinumber.d.ts +39 -0
- package/ts/upi/addupinumber.js +177 -0
- package/ts/upi/addvpa.d.ts +36 -0
- package/ts/upi/addvpa.js +133 -0
- package/ts/upi/blockvpa.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.d.ts +35 -0
- package/ts/upi/suggestvpa.js +122 -0
- package/ts/upi/unblockvpa.js +1 -1
- package/ts/upi/updatedevicebinding.js +1 -1
- package/ts/upi/updatedevicelinking.d.ts +49 -0
- package/ts/upi/updatedevicelinking.js +332 -0
- package/ts/upi/upinumberoperations.js +1 -1
- package/ts/upi/validateifsc.js +1 -1
- package/ts/upi/validatevpa.js +1 -1
- package/ts/upi.d.ts +50 -50
- package/ts/upi.js +1 -1
- package/ts/kyc/fetchuanemployment.d.ts +0 -66
- package/ts/kyc/fetchuanemployment.js +0 -359
- package/ts/kyc/fetchuannumber.d.ts +0 -35
|
@@ -1,31 +1,31 @@
|
|
|
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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
|
-
// source: kyc/
|
|
6
|
+
// source: kyc/epfo/fetchUANList.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.fetchUANListResponse = exports.fetchUANListRequest = exports.protobufPackage = void 0;
|
|
12
12
|
/* eslint-disable */
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "kyc.
|
|
15
|
-
function
|
|
16
|
-
return {
|
|
14
|
+
exports.protobufPackage = "kyc.epfo.fetchUANList";
|
|
15
|
+
function createBasefetchUANListRequest() {
|
|
16
|
+
return { mobile_number: "" };
|
|
17
17
|
}
|
|
18
|
-
exports.
|
|
18
|
+
exports.fetchUANListRequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
-
if (message.
|
|
21
|
-
writer.uint32(10).string(message.
|
|
20
|
+
if (message.mobile_number !== "") {
|
|
21
|
+
writer.uint32(10).string(message.mobile_number);
|
|
22
22
|
}
|
|
23
23
|
return writer;
|
|
24
24
|
},
|
|
25
25
|
decode(input, length) {
|
|
26
26
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
27
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
-
const message =
|
|
28
|
+
const message = createBasefetchUANListRequest();
|
|
29
29
|
while (reader.pos < end) {
|
|
30
30
|
const tag = reader.uint32();
|
|
31
31
|
switch (tag >>> 3) {
|
|
@@ -33,7 +33,7 @@ exports.fetchUanListRequest = {
|
|
|
33
33
|
if (tag !== 10) {
|
|
34
34
|
break;
|
|
35
35
|
}
|
|
36
|
-
message.
|
|
36
|
+
message.mobile_number = reader.string();
|
|
37
37
|
continue;
|
|
38
38
|
}
|
|
39
39
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -44,30 +44,30 @@ exports.fetchUanListRequest = {
|
|
|
44
44
|
return message;
|
|
45
45
|
},
|
|
46
46
|
fromJSON(object) {
|
|
47
|
-
return {
|
|
47
|
+
return { mobile_number: isSet(object.mobile_number) ? globalThis.String(object.mobile_number) : "" };
|
|
48
48
|
},
|
|
49
49
|
toJSON(message) {
|
|
50
50
|
const obj = {};
|
|
51
|
-
if (message.
|
|
52
|
-
obj.
|
|
51
|
+
if (message.mobile_number !== "") {
|
|
52
|
+
obj.mobile_number = message.mobile_number;
|
|
53
53
|
}
|
|
54
54
|
return obj;
|
|
55
55
|
},
|
|
56
56
|
create(base) {
|
|
57
|
-
return exports.
|
|
57
|
+
return exports.fetchUANListRequest.fromPartial(base ?? {});
|
|
58
58
|
},
|
|
59
59
|
fromPartial(object) {
|
|
60
|
-
const message =
|
|
61
|
-
message.
|
|
60
|
+
const message = createBasefetchUANListRequest();
|
|
61
|
+
message.mobile_number = object.mobile_number ?? "";
|
|
62
62
|
return message;
|
|
63
63
|
},
|
|
64
64
|
};
|
|
65
|
-
function
|
|
66
|
-
return {
|
|
65
|
+
function createBasefetchUANListResponse() {
|
|
66
|
+
return { uanList: [] };
|
|
67
67
|
}
|
|
68
|
-
exports.
|
|
68
|
+
exports.fetchUANListResponse = {
|
|
69
69
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
-
for (const v of message.
|
|
70
|
+
for (const v of message.uanList) {
|
|
71
71
|
writer.uint32(10).string(v);
|
|
72
72
|
}
|
|
73
73
|
return writer;
|
|
@@ -75,7 +75,7 @@ exports.fetchUanListResponse = {
|
|
|
75
75
|
decode(input, length) {
|
|
76
76
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
77
77
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
78
|
-
const message =
|
|
78
|
+
const message = createBasefetchUANListResponse();
|
|
79
79
|
while (reader.pos < end) {
|
|
80
80
|
const tag = reader.uint32();
|
|
81
81
|
switch (tag >>> 3) {
|
|
@@ -83,7 +83,7 @@ exports.fetchUanListResponse = {
|
|
|
83
83
|
if (tag !== 10) {
|
|
84
84
|
break;
|
|
85
85
|
}
|
|
86
|
-
message.
|
|
86
|
+
message.uanList.push(reader.string());
|
|
87
87
|
continue;
|
|
88
88
|
}
|
|
89
89
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -95,22 +95,22 @@ exports.fetchUanListResponse = {
|
|
|
95
95
|
},
|
|
96
96
|
fromJSON(object) {
|
|
97
97
|
return {
|
|
98
|
-
|
|
98
|
+
uanList: globalThis.Array.isArray(object?.uanList) ? object.uanList.map((e) => globalThis.String(e)) : [],
|
|
99
99
|
};
|
|
100
100
|
},
|
|
101
101
|
toJSON(message) {
|
|
102
102
|
const obj = {};
|
|
103
|
-
if (message.
|
|
104
|
-
obj.
|
|
103
|
+
if (message.uanList?.length) {
|
|
104
|
+
obj.uanList = message.uanList;
|
|
105
105
|
}
|
|
106
106
|
return obj;
|
|
107
107
|
},
|
|
108
108
|
create(base) {
|
|
109
|
-
return exports.
|
|
109
|
+
return exports.fetchUANListResponse.fromPartial(base ?? {});
|
|
110
110
|
},
|
|
111
111
|
fromPartial(object) {
|
|
112
|
-
const message =
|
|
113
|
-
message.
|
|
112
|
+
const message = createBasefetchUANListResponse();
|
|
113
|
+
message.uanList = object.uanList?.map((e) => e) || [];
|
|
114
114
|
return message;
|
|
115
115
|
},
|
|
116
116
|
};
|
package/ts/kyc.d.ts
CHANGED
|
@@ -1,39 +1,25 @@
|
|
|
1
1
|
import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
|
|
2
|
-
import {
|
|
3
|
-
import { fetchUanListRequest, fetchUanListResponse } from "./kyc/fetchuannumber";
|
|
2
|
+
import { EpfoRequest, EpfoResponse } from "./customers/kyc/epfo";
|
|
4
3
|
export declare const protobufPackage = "service";
|
|
5
4
|
export type kycService = typeof kycService;
|
|
6
5
|
export declare const kycService: {
|
|
7
|
-
readonly
|
|
8
|
-
readonly path: "/service.kyc/
|
|
6
|
+
readonly epfo: {
|
|
7
|
+
readonly path: "/service.kyc/epfo";
|
|
9
8
|
readonly requestStream: false;
|
|
10
9
|
readonly responseStream: false;
|
|
11
|
-
readonly requestSerialize: (value:
|
|
12
|
-
readonly requestDeserialize: (value: Buffer) =>
|
|
13
|
-
readonly responseSerialize: (value:
|
|
14
|
-
readonly responseDeserialize: (value: Buffer) =>
|
|
15
|
-
};
|
|
16
|
-
readonly fetchUanEmployment: {
|
|
17
|
-
readonly path: "/service.kyc/fetchUanEmployment";
|
|
18
|
-
readonly requestStream: false;
|
|
19
|
-
readonly responseStream: false;
|
|
20
|
-
readonly requestSerialize: (value: fetchUanEmploymentRequest) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
21
|
-
readonly requestDeserialize: (value: Buffer) => fetchUanEmploymentRequest;
|
|
22
|
-
readonly responseSerialize: (value: fetchUanEmploymentResponse) => Buffer<Uint8Array<ArrayBufferLike>>;
|
|
23
|
-
readonly responseDeserialize: (value: Buffer) => fetchUanEmploymentResponse;
|
|
10
|
+
readonly requestSerialize: (value: EpfoRequest) => Buffer;
|
|
11
|
+
readonly requestDeserialize: (value: Buffer) => EpfoRequest;
|
|
12
|
+
readonly responseSerialize: (value: EpfoResponse) => Buffer;
|
|
13
|
+
readonly responseDeserialize: (value: Buffer) => EpfoResponse;
|
|
24
14
|
};
|
|
25
15
|
};
|
|
26
16
|
export interface kycServer extends UntypedServiceImplementation {
|
|
27
|
-
|
|
28
|
-
fetchUanEmployment: handleUnaryCall<fetchUanEmploymentRequest, fetchUanEmploymentResponse>;
|
|
17
|
+
epfo: handleUnaryCall<EpfoRequest, EpfoResponse>;
|
|
29
18
|
}
|
|
30
19
|
export interface kycClient extends Client {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
fetchUanEmployment(request: fetchUanEmploymentRequest, callback: (error: ServiceError | null, response: fetchUanEmploymentResponse) => void): ClientUnaryCall;
|
|
35
|
-
fetchUanEmployment(request: fetchUanEmploymentRequest, metadata: Metadata, callback: (error: ServiceError | null, response: fetchUanEmploymentResponse) => void): ClientUnaryCall;
|
|
36
|
-
fetchUanEmployment(request: fetchUanEmploymentRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: fetchUanEmploymentResponse) => void): ClientUnaryCall;
|
|
20
|
+
epfo(request: EpfoRequest, callback: (error: ServiceError | null, response: EpfoResponse) => void): ClientUnaryCall;
|
|
21
|
+
epfo(request: EpfoRequest, metadata: Metadata, callback: (error: ServiceError | null, response: EpfoResponse) => void): ClientUnaryCall;
|
|
22
|
+
epfo(request: EpfoRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: EpfoResponse) => void): ClientUnaryCall;
|
|
37
23
|
}
|
|
38
24
|
export declare const kycClient: {
|
|
39
25
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): kycClient;
|
package/ts/kyc.js
CHANGED
|
@@ -1,34 +1,24 @@
|
|
|
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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: kyc.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.kycClient = exports.kycService = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const grpc_js_1 = require("@grpc/grpc-js");
|
|
11
|
-
const
|
|
12
|
-
const fetchuannumber_1 = require("./kyc/fetchuannumber");
|
|
11
|
+
const epfo_1 = require("./customers/kyc/epfo");
|
|
13
12
|
exports.protobufPackage = "service";
|
|
14
13
|
exports.kycService = {
|
|
15
|
-
|
|
16
|
-
path: "/service.kyc/
|
|
14
|
+
epfo: {
|
|
15
|
+
path: "/service.kyc/epfo",
|
|
17
16
|
requestStream: false,
|
|
18
17
|
responseStream: false,
|
|
19
|
-
requestSerialize: (value) => Buffer.from(
|
|
20
|
-
requestDeserialize: (value) =>
|
|
21
|
-
responseSerialize: (value) => Buffer.from(
|
|
22
|
-
responseDeserialize: (value) =>
|
|
23
|
-
},
|
|
24
|
-
fetchUanEmployment: {
|
|
25
|
-
path: "/service.kyc/fetchUanEmployment",
|
|
26
|
-
requestStream: false,
|
|
27
|
-
responseStream: false,
|
|
28
|
-
requestSerialize: (value) => Buffer.from(fetchuanemployment_1.fetchUanEmploymentRequest.encode(value).finish()),
|
|
29
|
-
requestDeserialize: (value) => fetchuanemployment_1.fetchUanEmploymentRequest.decode(value),
|
|
30
|
-
responseSerialize: (value) => Buffer.from(fetchuanemployment_1.fetchUanEmploymentResponse.encode(value).finish()),
|
|
31
|
-
responseDeserialize: (value) => fetchuanemployment_1.fetchUanEmploymentResponse.decode(value),
|
|
18
|
+
requestSerialize: (value) => Buffer.from(epfo_1.EpfoRequest.encode(value).finish()),
|
|
19
|
+
requestDeserialize: (value) => epfo_1.EpfoRequest.decode(value),
|
|
20
|
+
responseSerialize: (value) => Buffer.from(epfo_1.EpfoResponse.encode(value).finish()),
|
|
21
|
+
responseDeserialize: (value) => epfo_1.EpfoResponse.decode(value),
|
|
32
22
|
},
|
|
33
23
|
};
|
|
34
24
|
exports.kycClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.kycService, "service.kyc");
|
|
@@ -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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: lamf/getloandetails.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/lamf/submitotp.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: lamf/submitotp.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/lamf/validateuser.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: lamf/validateuser.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/lamf.d.ts
CHANGED
|
@@ -9,27 +9,27 @@ export declare const lamfService: {
|
|
|
9
9
|
readonly path: "/service.lamf/validatelamfuser";
|
|
10
10
|
readonly requestStream: false;
|
|
11
11
|
readonly responseStream: false;
|
|
12
|
-
readonly requestSerialize: (value: request) => Buffer
|
|
12
|
+
readonly requestSerialize: (value: request) => Buffer;
|
|
13
13
|
readonly requestDeserialize: (value: Buffer) => request;
|
|
14
|
-
readonly responseSerialize: (value: response) => Buffer
|
|
14
|
+
readonly responseSerialize: (value: response) => Buffer;
|
|
15
15
|
readonly responseDeserialize: (value: Buffer) => response;
|
|
16
16
|
};
|
|
17
17
|
readonly submitlamfotp: {
|
|
18
18
|
readonly path: "/service.lamf/submitlamfotp";
|
|
19
19
|
readonly requestStream: false;
|
|
20
20
|
readonly responseStream: false;
|
|
21
|
-
readonly requestSerialize: (value: request1) => Buffer
|
|
21
|
+
readonly requestSerialize: (value: request1) => Buffer;
|
|
22
22
|
readonly requestDeserialize: (value: Buffer) => request1;
|
|
23
|
-
readonly responseSerialize: (value: response2) => Buffer
|
|
23
|
+
readonly responseSerialize: (value: response2) => Buffer;
|
|
24
24
|
readonly responseDeserialize: (value: Buffer) => response2;
|
|
25
25
|
};
|
|
26
26
|
readonly getlamfloandetails: {
|
|
27
27
|
readonly path: "/service.lamf/getlamfloandetails";
|
|
28
28
|
readonly requestStream: false;
|
|
29
29
|
readonly responseStream: false;
|
|
30
|
-
readonly requestSerialize: (value: request3) => Buffer
|
|
30
|
+
readonly requestSerialize: (value: request3) => Buffer;
|
|
31
31
|
readonly requestDeserialize: (value: Buffer) => request3;
|
|
32
|
-
readonly responseSerialize: (value: response4) => Buffer
|
|
32
|
+
readonly responseSerialize: (value: response4) => Buffer;
|
|
33
33
|
readonly responseDeserialize: (value: Buffer) => response4;
|
|
34
34
|
};
|
|
35
35
|
};
|
package/ts/lamf.js
CHANGED
package/ts/loans/amortization.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: loans/amortization.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/approveloan.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: loans/approveloan.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/banklist.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: loans/banklist.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/calculateemi.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: loans/calculateemi.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/cbloan.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: loans/cbloan.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: loans/createlamfloan.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: loans/createpenalty.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/creditlimit.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: loans/creditlimit.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: loans/emimoredetails.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/loans/fcppayment.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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: loans/fcppayment.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 = "loans.forecloseamount";
|
|
3
|
+
export interface forecloseAmountRequest {
|
|
4
|
+
customerid: number;
|
|
5
|
+
loan_id: number;
|
|
6
|
+
}
|
|
7
|
+
export interface forecloseAmountResponse {
|
|
8
|
+
foreclosed_amount: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const forecloseAmountRequest: {
|
|
11
|
+
encode(message: forecloseAmountRequest, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): forecloseAmountRequest;
|
|
13
|
+
fromJSON(object: any): forecloseAmountRequest;
|
|
14
|
+
toJSON(message: forecloseAmountRequest): unknown;
|
|
15
|
+
create<I extends Exact<DeepPartial<forecloseAmountRequest>, I>>(base?: I): forecloseAmountRequest;
|
|
16
|
+
fromPartial<I extends Exact<DeepPartial<forecloseAmountRequest>, I>>(object: I): forecloseAmountRequest;
|
|
17
|
+
};
|
|
18
|
+
export declare const forecloseAmountResponse: {
|
|
19
|
+
encode(message: forecloseAmountResponse, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): forecloseAmountResponse;
|
|
21
|
+
fromJSON(object: any): forecloseAmountResponse;
|
|
22
|
+
toJSON(message: forecloseAmountResponse): unknown;
|
|
23
|
+
create<I extends Exact<DeepPartial<forecloseAmountResponse>, I>>(base?: I): forecloseAmountResponse;
|
|
24
|
+
fromPartial<I extends Exact<DeepPartial<forecloseAmountResponse>, I>>(object: I): forecloseAmountResponse;
|
|
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 {};
|
|
@@ -0,0 +1,133 @@
|
|
|
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: loans/forecloseamount.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.forecloseAmountResponse = exports.forecloseAmountRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.forecloseamount";
|
|
15
|
+
function createBaseforecloseAmountRequest() {
|
|
16
|
+
return { customerid: 0, loan_id: 0 };
|
|
17
|
+
}
|
|
18
|
+
exports.forecloseAmountRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.customerid !== 0) {
|
|
21
|
+
writer.uint32(8).int32(message.customerid);
|
|
22
|
+
}
|
|
23
|
+
if (message.loan_id !== 0) {
|
|
24
|
+
writer.uint32(16).int32(message.loan_id);
|
|
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 = createBaseforecloseAmountRequest();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1:
|
|
36
|
+
if (tag !== 8) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
message.customerid = reader.int32();
|
|
40
|
+
continue;
|
|
41
|
+
case 2:
|
|
42
|
+
if (tag !== 16) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.loan_id = reader.int32();
|
|
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
|
+
customerid: isSet(object.customerid) ? globalThis.Number(object.customerid) : 0,
|
|
58
|
+
loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
|
|
59
|
+
};
|
|
60
|
+
},
|
|
61
|
+
toJSON(message) {
|
|
62
|
+
const obj = {};
|
|
63
|
+
if (message.customerid !== 0) {
|
|
64
|
+
obj.customerid = Math.round(message.customerid);
|
|
65
|
+
}
|
|
66
|
+
if (message.loan_id !== 0) {
|
|
67
|
+
obj.loan_id = Math.round(message.loan_id);
|
|
68
|
+
}
|
|
69
|
+
return obj;
|
|
70
|
+
},
|
|
71
|
+
create(base) {
|
|
72
|
+
return exports.forecloseAmountRequest.fromPartial(base ?? {});
|
|
73
|
+
},
|
|
74
|
+
fromPartial(object) {
|
|
75
|
+
const message = createBaseforecloseAmountRequest();
|
|
76
|
+
message.customerid = object.customerid ?? 0;
|
|
77
|
+
message.loan_id = object.loan_id ?? 0;
|
|
78
|
+
return message;
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
function createBaseforecloseAmountResponse() {
|
|
82
|
+
return { foreclosed_amount: 0 };
|
|
83
|
+
}
|
|
84
|
+
exports.forecloseAmountResponse = {
|
|
85
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
86
|
+
if (message.foreclosed_amount !== 0) {
|
|
87
|
+
writer.uint32(8).int32(message.foreclosed_amount);
|
|
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 = createBaseforecloseAmountResponse();
|
|
95
|
+
while (reader.pos < end) {
|
|
96
|
+
const tag = reader.uint32();
|
|
97
|
+
switch (tag >>> 3) {
|
|
98
|
+
case 1:
|
|
99
|
+
if (tag !== 8) {
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
message.foreclosed_amount = reader.int32();
|
|
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 { foreclosed_amount: isSet(object.foreclosed_amount) ? globalThis.Number(object.foreclosed_amount) : 0 };
|
|
114
|
+
},
|
|
115
|
+
toJSON(message) {
|
|
116
|
+
const obj = {};
|
|
117
|
+
if (message.foreclosed_amount !== 0) {
|
|
118
|
+
obj.foreclosed_amount = Math.round(message.foreclosed_amount);
|
|
119
|
+
}
|
|
120
|
+
return obj;
|
|
121
|
+
},
|
|
122
|
+
create(base) {
|
|
123
|
+
return exports.forecloseAmountResponse.fromPartial(base ?? {});
|
|
124
|
+
},
|
|
125
|
+
fromPartial(object) {
|
|
126
|
+
const message = createBaseforecloseAmountResponse();
|
|
127
|
+
message.foreclosed_amount = object.foreclosed_amount ?? 0;
|
|
128
|
+
return message;
|
|
129
|
+
},
|
|
130
|
+
};
|
|
131
|
+
function isSet(value) {
|
|
132
|
+
return value !== null && value !== undefined;
|
|
133
|
+
}
|
|
@@ -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.0
|
|
5
5
|
// protoc v5.29.3
|
|
6
6
|
// source: loans/foreclosepayment.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.futurepaymentmoredetails";
|
|
3
|
+
export interface futurePaymentMoreDetailsRequest {
|
|
4
|
+
date: string;
|
|
5
|
+
}
|
|
6
|
+
export interface futurePaymentMoreDetailsResponse {
|
|
7
|
+
data: futurePaymentMoreDetailsResponse_Field[];
|
|
8
|
+
}
|
|
9
|
+
export interface futurePaymentMoreDetailsResponse_Field {
|
|
10
|
+
loan_number: string;
|
|
11
|
+
emi_amount: number;
|
|
12
|
+
loan_amount: number;
|
|
13
|
+
start_date: string;
|
|
14
|
+
close_date: string;
|
|
15
|
+
loan_id: number;
|
|
16
|
+
}
|
|
17
|
+
export declare const futurePaymentMoreDetailsRequest: {
|
|
18
|
+
encode(message: futurePaymentMoreDetailsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): futurePaymentMoreDetailsRequest;
|
|
20
|
+
fromJSON(object: any): futurePaymentMoreDetailsRequest;
|
|
21
|
+
toJSON(message: futurePaymentMoreDetailsRequest): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<futurePaymentMoreDetailsRequest>, I>>(base?: I): futurePaymentMoreDetailsRequest;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<futurePaymentMoreDetailsRequest>, I>>(object: I): futurePaymentMoreDetailsRequest;
|
|
24
|
+
};
|
|
25
|
+
export declare const futurePaymentMoreDetailsResponse: {
|
|
26
|
+
encode(message: futurePaymentMoreDetailsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
27
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): futurePaymentMoreDetailsResponse;
|
|
28
|
+
fromJSON(object: any): futurePaymentMoreDetailsResponse;
|
|
29
|
+
toJSON(message: futurePaymentMoreDetailsResponse): unknown;
|
|
30
|
+
create<I extends Exact<DeepPartial<futurePaymentMoreDetailsResponse>, I>>(base?: I): futurePaymentMoreDetailsResponse;
|
|
31
|
+
fromPartial<I extends Exact<DeepPartial<futurePaymentMoreDetailsResponse>, I>>(object: I): futurePaymentMoreDetailsResponse;
|
|
32
|
+
};
|
|
33
|
+
export declare const futurePaymentMoreDetailsResponse_Field: {
|
|
34
|
+
encode(message: futurePaymentMoreDetailsResponse_Field, writer?: _m0.Writer): _m0.Writer;
|
|
35
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): futurePaymentMoreDetailsResponse_Field;
|
|
36
|
+
fromJSON(object: any): futurePaymentMoreDetailsResponse_Field;
|
|
37
|
+
toJSON(message: futurePaymentMoreDetailsResponse_Field): unknown;
|
|
38
|
+
create<I extends Exact<DeepPartial<futurePaymentMoreDetailsResponse_Field>, I>>(base?: I): futurePaymentMoreDetailsResponse_Field;
|
|
39
|
+
fromPartial<I extends Exact<DeepPartial<futurePaymentMoreDetailsResponse_Field>, I>>(object: I): futurePaymentMoreDetailsResponse_Field;
|
|
40
|
+
};
|
|
41
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
42
|
+
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 {} ? {
|
|
43
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
44
|
+
} : Partial<T>;
|
|
45
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
46
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
47
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
48
|
+
} & {
|
|
49
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
50
|
+
};
|
|
51
|
+
export {};
|