@stashfin/grpc 1.2.412 → 1.2.414
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 +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.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.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.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/paynow.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/enach/updatetxnstatus.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/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 +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/sendlamfotp.js +2 -2
- package/ts/customers/lamf/sendlamfpledgeotp.js +2 -2
- package/ts/customers/lamf/updatelamfjourney.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/sendemailtoken.d.ts +35 -0
- package/ts/customers/sendemailtoken.js +117 -0
- package/ts/customers/sendotp.js +2 -2
- package/ts/customers/sendotptoemail.js +2 -2
- package/ts/customers/setmpin.js +2 -2
- package/ts/customers/skipdlrcscreen.d.ts +35 -0
- package/ts/customers/skipdlrcscreen.js +117 -0
- package/ts/customers/skipscreen.js +2 -2
- 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 +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/verifyemail.d.ts +35 -0
- package/ts/{loans/getvirtualaccountnumber.js → customers/verifyemail.js} +32 -32
- package/ts/customers/verifympin.js +2 -2
- package/ts/customers/verifyotp.js +2 -2
- package/ts/customers/verifyotptoemail.js +2 -2
- package/ts/customers.js +2 -2
- package/ts/decisionengine/decisionengine.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.js +2 -2
- package/ts/documents/getagreement.d.ts +0 -1
- package/ts/documents/getagreement.js +4 -20
- package/ts/documents/getfinancialdoc.d.ts +87 -0
- package/ts/documents/getfinancialdoc.js +678 -0
- package/ts/documents.d.ts +14 -0
- package/ts/documents.js +12 -2
- package/ts/example.js +2 -2
- package/ts/google/protobuf/timestamp.d.ts +127 -0
- package/ts/google/protobuf/timestamp.js +97 -0
- package/ts/growth/checkplanstatus.js +2 -2
- package/ts/growth/getattachplandetails.js +2 -2
- package/ts/growth/getchrpaymentstatus.js +2 -2
- package/ts/growth/getchrplans.js +2 -2
- package/ts/growth/getcredithealthreport.js +2 -2
- package/ts/growth/initiatepayment.js +2 -2
- package/ts/growth/notifychrpayment.js +2 -2
- package/ts/growth/processchrpayment.js +2 -2
- package/ts/growth.js +2 -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.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/fcppayment.js +2 -2
- package/ts/loans/forecloseamount.js +2 -2
- package/ts/loans/foreclosepayment.js +2 -2
- package/ts/loans/futurepaymentmoredetails.js +2 -2
- package/ts/loans/getaddonslist.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/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.d.ts +0 -2
- package/ts/loans/getsummarystaticfields.js +3 -33
- 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.d.ts +2 -0
- package/ts/loans/loansummary.js +32 -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.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.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.js +2 -2
- package/ts/loans/getvirtualaccountnumber.d.ts +0 -35
|
@@ -1,39 +1,39 @@
|
|
|
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 v3.20.3
|
|
6
|
-
// source:
|
|
6
|
+
// source: customers/verifyemail.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.verifyEmailResponse = exports.verifyEmailRequest = exports.protobufPackage = void 0;
|
|
12
12
|
/* eslint-disable */
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "
|
|
15
|
-
function
|
|
16
|
-
return {
|
|
14
|
+
exports.protobufPackage = "customers.verifyemail";
|
|
15
|
+
function createBaseverifyEmailRequest() {
|
|
16
|
+
return { token: "" };
|
|
17
17
|
}
|
|
18
|
-
exports.
|
|
18
|
+
exports.verifyEmailRequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
-
if (message.
|
|
21
|
-
writer.uint32(
|
|
20
|
+
if (message.token !== "") {
|
|
21
|
+
writer.uint32(10).string(message.token);
|
|
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 = createBaseverifyEmailRequest();
|
|
29
29
|
while (reader.pos < end) {
|
|
30
30
|
const tag = reader.uint32();
|
|
31
31
|
switch (tag >>> 3) {
|
|
32
32
|
case 1:
|
|
33
|
-
if (tag !==
|
|
33
|
+
if (tag !== 10) {
|
|
34
34
|
break;
|
|
35
35
|
}
|
|
36
|
-
message.
|
|
36
|
+
message.token = reader.string();
|
|
37
37
|
continue;
|
|
38
38
|
}
|
|
39
39
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -44,46 +44,46 @@ exports.getVirtualAccountNumberRequest = {
|
|
|
44
44
|
return message;
|
|
45
45
|
},
|
|
46
46
|
fromJSON(object) {
|
|
47
|
-
return {
|
|
47
|
+
return { token: isSet(object.token) ? globalThis.String(object.token) : "" };
|
|
48
48
|
},
|
|
49
49
|
toJSON(message) {
|
|
50
50
|
const obj = {};
|
|
51
|
-
if (message.
|
|
52
|
-
obj.
|
|
51
|
+
if (message.token !== "") {
|
|
52
|
+
obj.token = message.token;
|
|
53
53
|
}
|
|
54
54
|
return obj;
|
|
55
55
|
},
|
|
56
56
|
create(base) {
|
|
57
|
-
return exports.
|
|
57
|
+
return exports.verifyEmailRequest.fromPartial(base ?? {});
|
|
58
58
|
},
|
|
59
59
|
fromPartial(object) {
|
|
60
|
-
const message =
|
|
61
|
-
message.
|
|
60
|
+
const message = createBaseverifyEmailRequest();
|
|
61
|
+
message.token = object.token ?? "";
|
|
62
62
|
return message;
|
|
63
63
|
},
|
|
64
64
|
};
|
|
65
|
-
function
|
|
66
|
-
return {
|
|
65
|
+
function createBaseverifyEmailResponse() {
|
|
66
|
+
return { status: false };
|
|
67
67
|
}
|
|
68
|
-
exports.
|
|
68
|
+
exports.verifyEmailResponse = {
|
|
69
69
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
-
if (message.
|
|
71
|
-
writer.uint32(
|
|
70
|
+
if (message.status !== false) {
|
|
71
|
+
writer.uint32(8).bool(message.status);
|
|
72
72
|
}
|
|
73
73
|
return writer;
|
|
74
74
|
},
|
|
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 = createBaseverifyEmailResponse();
|
|
79
79
|
while (reader.pos < end) {
|
|
80
80
|
const tag = reader.uint32();
|
|
81
81
|
switch (tag >>> 3) {
|
|
82
82
|
case 1:
|
|
83
|
-
if (tag !==
|
|
83
|
+
if (tag !== 8) {
|
|
84
84
|
break;
|
|
85
85
|
}
|
|
86
|
-
message.
|
|
86
|
+
message.status = reader.bool();
|
|
87
87
|
continue;
|
|
88
88
|
}
|
|
89
89
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -94,21 +94,21 @@ exports.getVirtualAccountNumberResponse = {
|
|
|
94
94
|
return message;
|
|
95
95
|
},
|
|
96
96
|
fromJSON(object) {
|
|
97
|
-
return {
|
|
97
|
+
return { status: isSet(object.status) ? globalThis.Boolean(object.status) : false };
|
|
98
98
|
},
|
|
99
99
|
toJSON(message) {
|
|
100
100
|
const obj = {};
|
|
101
|
-
if (message.
|
|
102
|
-
obj.
|
|
101
|
+
if (message.status !== false) {
|
|
102
|
+
obj.status = message.status;
|
|
103
103
|
}
|
|
104
104
|
return obj;
|
|
105
105
|
},
|
|
106
106
|
create(base) {
|
|
107
|
-
return exports.
|
|
107
|
+
return exports.verifyEmailResponse.fromPartial(base ?? {});
|
|
108
108
|
},
|
|
109
109
|
fromPartial(object) {
|
|
110
|
-
const message =
|
|
111
|
-
message.
|
|
110
|
+
const message = createBaseverifyEmailResponse();
|
|
111
|
+
message.status = object.status ?? false;
|
|
112
112
|
return message;
|
|
113
113
|
},
|
|
114
114
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
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
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.28.3
|
|
6
6
|
// source: customers/verifympin.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -1,8 +1,8 @@
|
|
|
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
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.28.3
|
|
6
6
|
// source: customers/verifyotp.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -1,8 +1,8 @@
|
|
|
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
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.28.3
|
|
6
6
|
// source: customers/verifyotptoemail.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/customers.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.28.3
|
|
6
6
|
// source: customers.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.customersClient = exports.customersService = exports.protobufPackage = void 0;
|
|
@@ -1,8 +1,8 @@
|
|
|
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
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: decisionengine/decisionengine.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -1,8 +1,8 @@
|
|
|
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
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.28.3
|
|
6
6
|
// source: decisionengine/decisionenginetrigger.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -1,8 +1,8 @@
|
|
|
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
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.28.3
|
|
6
6
|
// source: decisionengine/locdisbursalapproval.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -1,8 +1,8 @@
|
|
|
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
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.28.3
|
|
6
6
|
// source: decisionengine/saveconsent.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/decisionengine.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.28.3
|
|
6
6
|
// source: decisionengine.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.decision_engineClient = exports.decision_engineService = exports.protobufPackage = void 0;
|
|
@@ -1,8 +1,8 @@
|
|
|
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
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.28.3
|
|
6
6
|
// source: documents/getagreement.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -13,16 +13,13 @@ exports.documentresponse = exports.agreementdata = exports.documentrequest = exp
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "documents.getagreement";
|
|
15
15
|
function createBasedocumentrequest() {
|
|
16
|
-
return { loan_id: 0
|
|
16
|
+
return { loan_id: 0 };
|
|
17
17
|
}
|
|
18
18
|
exports.documentrequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
20
|
if (message.loan_id !== 0) {
|
|
21
21
|
writer.uint32(8).int32(message.loan_id);
|
|
22
22
|
}
|
|
23
|
-
if (message.customer_id !== 0) {
|
|
24
|
-
writer.uint32(16).int32(message.customer_id);
|
|
25
|
-
}
|
|
26
23
|
return writer;
|
|
27
24
|
},
|
|
28
25
|
decode(input, length) {
|
|
@@ -38,12 +35,6 @@ exports.documentrequest = {
|
|
|
38
35
|
}
|
|
39
36
|
message.loan_id = reader.int32();
|
|
40
37
|
continue;
|
|
41
|
-
case 2:
|
|
42
|
-
if (tag !== 16) {
|
|
43
|
-
break;
|
|
44
|
-
}
|
|
45
|
-
message.customer_id = reader.int32();
|
|
46
|
-
continue;
|
|
47
38
|
}
|
|
48
39
|
if ((tag & 7) === 4 || tag === 0) {
|
|
49
40
|
break;
|
|
@@ -53,19 +44,13 @@ exports.documentrequest = {
|
|
|
53
44
|
return message;
|
|
54
45
|
},
|
|
55
46
|
fromJSON(object) {
|
|
56
|
-
return {
|
|
57
|
-
loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
|
|
58
|
-
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
59
|
-
};
|
|
47
|
+
return { loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0 };
|
|
60
48
|
},
|
|
61
49
|
toJSON(message) {
|
|
62
50
|
const obj = {};
|
|
63
51
|
if (message.loan_id !== 0) {
|
|
64
52
|
obj.loan_id = Math.round(message.loan_id);
|
|
65
53
|
}
|
|
66
|
-
if (message.customer_id !== 0) {
|
|
67
|
-
obj.customer_id = Math.round(message.customer_id);
|
|
68
|
-
}
|
|
69
54
|
return obj;
|
|
70
55
|
},
|
|
71
56
|
create(base) {
|
|
@@ -74,7 +59,6 @@ exports.documentrequest = {
|
|
|
74
59
|
fromPartial(object) {
|
|
75
60
|
const message = createBasedocumentrequest();
|
|
76
61
|
message.loan_id = object.loan_id ?? 0;
|
|
77
|
-
message.customer_id = object.customer_id ?? 0;
|
|
78
62
|
return message;
|
|
79
63
|
},
|
|
80
64
|
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "documents.getfinancialdoc";
|
|
3
|
+
export interface financialdocrequest {
|
|
4
|
+
loan_id: number;
|
|
5
|
+
customer_id: number;
|
|
6
|
+
approved_date: string;
|
|
7
|
+
tenure: number;
|
|
8
|
+
processing_fees: number;
|
|
9
|
+
credit_report_fees: number;
|
|
10
|
+
insurance_fees: number;
|
|
11
|
+
disbured_amount: number;
|
|
12
|
+
sanctioned_amount: number;
|
|
13
|
+
apr_value: number;
|
|
14
|
+
roi: number;
|
|
15
|
+
txn_fees: number;
|
|
16
|
+
txn_fees_gst: number;
|
|
17
|
+
txn_rate: number;
|
|
18
|
+
processing_fees_rate: number;
|
|
19
|
+
processing_fees_gst: number;
|
|
20
|
+
emi_start_date: string;
|
|
21
|
+
installments: financialdocrequest_Field[];
|
|
22
|
+
}
|
|
23
|
+
export interface financialdocrequest_Field {
|
|
24
|
+
customer_id: number;
|
|
25
|
+
seq_no: number;
|
|
26
|
+
amount: number;
|
|
27
|
+
starting_balance: number;
|
|
28
|
+
ending_balance: number;
|
|
29
|
+
principal: number;
|
|
30
|
+
interest: number;
|
|
31
|
+
due_date: string;
|
|
32
|
+
status: string;
|
|
33
|
+
discount: number;
|
|
34
|
+
penalty: number;
|
|
35
|
+
}
|
|
36
|
+
export interface agreementdata {
|
|
37
|
+
agreement_url: string;
|
|
38
|
+
}
|
|
39
|
+
export interface financialdocresponse {
|
|
40
|
+
status: string;
|
|
41
|
+
statusCode: number;
|
|
42
|
+
data: agreementdata | undefined;
|
|
43
|
+
message: string;
|
|
44
|
+
}
|
|
45
|
+
export declare const financialdocrequest: {
|
|
46
|
+
encode(message: financialdocrequest, writer?: _m0.Writer): _m0.Writer;
|
|
47
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): financialdocrequest;
|
|
48
|
+
fromJSON(object: any): financialdocrequest;
|
|
49
|
+
toJSON(message: financialdocrequest): unknown;
|
|
50
|
+
create<I extends Exact<DeepPartial<financialdocrequest>, I>>(base?: I): financialdocrequest;
|
|
51
|
+
fromPartial<I extends Exact<DeepPartial<financialdocrequest>, I>>(object: I): financialdocrequest;
|
|
52
|
+
};
|
|
53
|
+
export declare const financialdocrequest_Field: {
|
|
54
|
+
encode(message: financialdocrequest_Field, writer?: _m0.Writer): _m0.Writer;
|
|
55
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): financialdocrequest_Field;
|
|
56
|
+
fromJSON(object: any): financialdocrequest_Field;
|
|
57
|
+
toJSON(message: financialdocrequest_Field): unknown;
|
|
58
|
+
create<I extends Exact<DeepPartial<financialdocrequest_Field>, I>>(base?: I): financialdocrequest_Field;
|
|
59
|
+
fromPartial<I extends Exact<DeepPartial<financialdocrequest_Field>, I>>(object: I): financialdocrequest_Field;
|
|
60
|
+
};
|
|
61
|
+
export declare const agreementdata: {
|
|
62
|
+
encode(message: agreementdata, writer?: _m0.Writer): _m0.Writer;
|
|
63
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): agreementdata;
|
|
64
|
+
fromJSON(object: any): agreementdata;
|
|
65
|
+
toJSON(message: agreementdata): unknown;
|
|
66
|
+
create<I extends Exact<DeepPartial<agreementdata>, I>>(base?: I): agreementdata;
|
|
67
|
+
fromPartial<I extends Exact<DeepPartial<agreementdata>, I>>(object: I): agreementdata;
|
|
68
|
+
};
|
|
69
|
+
export declare const financialdocresponse: {
|
|
70
|
+
encode(message: financialdocresponse, writer?: _m0.Writer): _m0.Writer;
|
|
71
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): financialdocresponse;
|
|
72
|
+
fromJSON(object: any): financialdocresponse;
|
|
73
|
+
toJSON(message: financialdocresponse): unknown;
|
|
74
|
+
create<I extends Exact<DeepPartial<financialdocresponse>, I>>(base?: I): financialdocresponse;
|
|
75
|
+
fromPartial<I extends Exact<DeepPartial<financialdocresponse>, I>>(object: I): financialdocresponse;
|
|
76
|
+
};
|
|
77
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
78
|
+
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 {} ? {
|
|
79
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
80
|
+
} : Partial<T>;
|
|
81
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
82
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
83
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
84
|
+
} & {
|
|
85
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
86
|
+
};
|
|
87
|
+
export {};
|