@stashfin/grpc 1.2.260 → 1.2.262
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/getdbrcolending.js +1 -1
- package/ts/bureau/getdemogs.js +1 -1
- package/ts/bureau/getobligation.js +1 -1
- package/ts/bureau/getreport.d.ts +3 -3
- package/ts/bureau/getreport.js +1 -1
- 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.js +1 -1
- package/ts/customers/aa/getbanklist.js +1 -1
- package/ts/customers/aa/initiate.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/bulksms.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/paynow.js +1 -1
- package/ts/customers/cb/savecreditbuilder.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/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/updatetxnstatus.js +1 -1
- package/ts/customers/fetchrcprofile.js +1 -1
- package/ts/customers/floatingvideos.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/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/getcompanyaccdetails.js +1 -1
- package/ts/customers/getcustomerbyid.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/getlimit.js +1 -1
- package/ts/customers/getoccupationlist.js +1 -1
- package/ts/customers/getpaymentoptions.d.ts +51 -0
- package/ts/customers/getpaymentoptions.js +243 -0
- 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/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/rpd/getrpdlink.js +1 -1
- package/ts/customers/rpd/getrpdtransactionstatus.js +1 -1
- package/ts/customers/rpd/mockpayment.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/updatecategory.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/updateselfieetxn.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.d.ts +14 -0
- package/ts/customers.js +11 -1
- package/ts/decisionengine/decisionengine.js +1 -1
- package/ts/decisionengine.js +1 -1
- package/ts/example.js +1 -1
- package/ts/growth/checkplanstatus.js +1 -1
- package/ts/growth/getattachplandetails.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/processchrpayment.js +1 -1
- package/ts/growth.js +1 -1
- package/ts/loans/amortization.js +1 -1
- package/ts/loans/approveloan.d.ts +1 -0
- package/ts/loans/approveloan.js +20 -5
- package/ts/loans/banklist.js +1 -1
- package/ts/loans/calculateemi.js +1 -1
- package/ts/loans/creditlimit.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/getbilldetails.js +1 -1
- package/ts/loans/getcustomerloanstatus.js +1 -1
- package/ts/loans/getloanbyid.d.ts +1 -0
- package/ts/loans/getloanbyid.js +16 -1
- package/ts/loans/getnextdueamount.js +1 -1
- package/ts/loans/getpendingemiamount.js +1 -1
- package/ts/loans/getsummarystaticfields.js +1 -1
- package/ts/loans/gettransactionstatus.js +1 -1
- package/ts/loans/getusedlimit.d.ts +35 -0
- package/ts/loans/getusedlimit.js +117 -0
- package/ts/loans/getvirtualbankinfo.js +1 -1
- package/ts/loans/loansummary.d.ts +1 -0
- package/ts/loans/loansummary.js +20 -5
- 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/updateinstallments.d.ts +0 -2
- package/ts/loans/updateinstallments.js +7 -44
- package/ts/loans/updateloan.js +1 -1
- package/ts/loans/updatetransactionstatus.js +1 -1
- package/ts/loans.d.ts +14 -0
- package/ts/loans.js +11 -1
- package/ts/payments/checkpaymentstatus.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/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/customers.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: customers.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.customersClient = exports.customersService = exports.protobufPackage = void 0;
|
|
@@ -51,6 +51,7 @@ const getdashboardmaincard_1 = require("./customers/getdashboardmaincard");
|
|
|
51
51
|
const getdocuments_1 = require("./customers/getdocuments");
|
|
52
52
|
const getlimit_1 = require("./customers/getlimit");
|
|
53
53
|
const getoccupationlist_1 = require("./customers/getoccupationlist");
|
|
54
|
+
const getpaymentoptions_1 = require("./customers/getpaymentoptions");
|
|
54
55
|
const getprofessionalinfo_1 = require("./customers/getprofessionalinfo");
|
|
55
56
|
const getprofile_1 = require("./customers/getprofile");
|
|
56
57
|
const getselfieetxnid_1 = require("./customers/getselfieetxnid");
|
|
@@ -808,5 +809,14 @@ exports.customersService = {
|
|
|
808
809
|
responseSerialize: (value) => Buffer.from(updatecategory_1.updateCategoryResponse.encode(value).finish()),
|
|
809
810
|
responseDeserialize: (value) => updatecategory_1.updateCategoryResponse.decode(value),
|
|
810
811
|
},
|
|
812
|
+
getPaymentOptions: {
|
|
813
|
+
path: "/service.customers/getPaymentOptions",
|
|
814
|
+
requestStream: false,
|
|
815
|
+
responseStream: false,
|
|
816
|
+
requestSerialize: (value) => Buffer.from(getpaymentoptions_1.paymentOptionRequest.encode(value).finish()),
|
|
817
|
+
requestDeserialize: (value) => getpaymentoptions_1.paymentOptionRequest.decode(value),
|
|
818
|
+
responseSerialize: (value) => Buffer.from(getpaymentoptions_1.paymentOptionResponse.encode(value).finish()),
|
|
819
|
+
responseDeserialize: (value) => getpaymentoptions_1.paymentOptionResponse.decode(value),
|
|
820
|
+
},
|
|
811
821
|
};
|
|
812
822
|
exports.customersClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.customersService, "service.customers");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
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 };
|
package/ts/decisionengine.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
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;
|
package/ts/example.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: example.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: growth/checkplanstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: growth/getattachplandetails.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/growth/getchrplans.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: growth/getchrplans.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: growth/getcredithealthreport.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: growth/initiatepayment.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: growth/processchrpayment.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/growth.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: growth.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.growthClient = exports.growthService = exports.protobufPackage = void 0;
|
package/ts/loans/amortization.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: loans/amortization.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -46,6 +46,7 @@ export interface approveLoanResponse {
|
|
|
46
46
|
credit_report_actual_fees: number;
|
|
47
47
|
plan_id: number;
|
|
48
48
|
approved_amount: number;
|
|
49
|
+
discount: number;
|
|
49
50
|
}
|
|
50
51
|
export declare const approveLoanRequest: {
|
|
51
52
|
encode(message: approveLoanRequest, writer?: _m0.Writer): _m0.Writer;
|
package/ts/loans/approveloan.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: loans/approveloan.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -286,6 +286,7 @@ function createBaseapproveLoanResponse() {
|
|
|
286
286
|
credit_report_actual_fees: 0,
|
|
287
287
|
plan_id: 0,
|
|
288
288
|
approved_amount: 0,
|
|
289
|
+
discount: 0,
|
|
289
290
|
};
|
|
290
291
|
}
|
|
291
292
|
exports.approveLoanResponse = {
|
|
@@ -360,7 +361,7 @@ exports.approveLoanResponse = {
|
|
|
360
361
|
writer.uint32(186).string(message.bill_card_description);
|
|
361
362
|
}
|
|
362
363
|
if (message.apr_value !== 0) {
|
|
363
|
-
writer.uint32(
|
|
364
|
+
writer.uint32(197).float(message.apr_value);
|
|
364
365
|
}
|
|
365
366
|
if (message.apr_type !== "") {
|
|
366
367
|
writer.uint32(202).string(message.apr_type);
|
|
@@ -380,6 +381,9 @@ exports.approveLoanResponse = {
|
|
|
380
381
|
if (message.approved_amount !== 0) {
|
|
381
382
|
writer.uint32(240).int32(message.approved_amount);
|
|
382
383
|
}
|
|
384
|
+
if (message.discount !== 0) {
|
|
385
|
+
writer.uint32(248).int32(message.discount);
|
|
386
|
+
}
|
|
383
387
|
return writer;
|
|
384
388
|
},
|
|
385
389
|
decode(input, length) {
|
|
@@ -528,10 +532,10 @@ exports.approveLoanResponse = {
|
|
|
528
532
|
message.bill_card_description = reader.string();
|
|
529
533
|
continue;
|
|
530
534
|
case 24:
|
|
531
|
-
if (tag !==
|
|
535
|
+
if (tag !== 197) {
|
|
532
536
|
break;
|
|
533
537
|
}
|
|
534
|
-
message.apr_value = reader.
|
|
538
|
+
message.apr_value = reader.float();
|
|
535
539
|
continue;
|
|
536
540
|
case 25:
|
|
537
541
|
if (tag !== 202) {
|
|
@@ -569,6 +573,12 @@ exports.approveLoanResponse = {
|
|
|
569
573
|
}
|
|
570
574
|
message.approved_amount = reader.int32();
|
|
571
575
|
continue;
|
|
576
|
+
case 31:
|
|
577
|
+
if (tag !== 248) {
|
|
578
|
+
break;
|
|
579
|
+
}
|
|
580
|
+
message.discount = reader.int32();
|
|
581
|
+
continue;
|
|
572
582
|
}
|
|
573
583
|
if ((tag & 7) === 4 || tag === 0) {
|
|
574
584
|
break;
|
|
@@ -617,6 +627,7 @@ exports.approveLoanResponse = {
|
|
|
617
627
|
: 0,
|
|
618
628
|
plan_id: isSet(object.plan_id) ? globalThis.Number(object.plan_id) : 0,
|
|
619
629
|
approved_amount: isSet(object.approved_amount) ? globalThis.Number(object.approved_amount) : 0,
|
|
630
|
+
discount: isSet(object.discount) ? globalThis.Number(object.discount) : 0,
|
|
620
631
|
};
|
|
621
632
|
},
|
|
622
633
|
toJSON(message) {
|
|
@@ -691,7 +702,7 @@ exports.approveLoanResponse = {
|
|
|
691
702
|
obj.bill_card_description = message.bill_card_description;
|
|
692
703
|
}
|
|
693
704
|
if (message.apr_value !== 0) {
|
|
694
|
-
obj.apr_value =
|
|
705
|
+
obj.apr_value = message.apr_value;
|
|
695
706
|
}
|
|
696
707
|
if (message.apr_type !== "") {
|
|
697
708
|
obj.apr_type = message.apr_type;
|
|
@@ -711,6 +722,9 @@ exports.approveLoanResponse = {
|
|
|
711
722
|
if (message.approved_amount !== 0) {
|
|
712
723
|
obj.approved_amount = Math.round(message.approved_amount);
|
|
713
724
|
}
|
|
725
|
+
if (message.discount !== 0) {
|
|
726
|
+
obj.discount = Math.round(message.discount);
|
|
727
|
+
}
|
|
714
728
|
return obj;
|
|
715
729
|
},
|
|
716
730
|
create(base) {
|
|
@@ -748,6 +762,7 @@ exports.approveLoanResponse = {
|
|
|
748
762
|
message.credit_report_actual_fees = object.credit_report_actual_fees ?? 0;
|
|
749
763
|
message.plan_id = object.plan_id ?? 0;
|
|
750
764
|
message.approved_amount = object.approved_amount ?? 0;
|
|
765
|
+
message.discount = object.discount ?? 0;
|
|
751
766
|
return message;
|
|
752
767
|
},
|
|
753
768
|
};
|
package/ts/loans/banklist.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: loans/banklist.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/loans/calculateemi.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: loans/calculateemi.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/loans/creditlimit.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: loans/creditlimit.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/loans/fcppayment.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: loans/fcppayment.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: loans/forecloseamount.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: loans/foreclosepayment.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: loans/futurepaymentmoredetails.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: loans/getbilldetails.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: loans/getcustomerloanstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
package/ts/loans/getloanbyid.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: loans/getloanbyid.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -82,6 +82,7 @@ function createBasegetLoanByIdResponse() {
|
|
|
82
82
|
fees: undefined,
|
|
83
83
|
loan_create_date: "",
|
|
84
84
|
net_payable_amount: 0,
|
|
85
|
+
apr_value: 0,
|
|
85
86
|
};
|
|
86
87
|
}
|
|
87
88
|
exports.getLoanByIdResponse = {
|
|
@@ -140,6 +141,9 @@ exports.getLoanByIdResponse = {
|
|
|
140
141
|
if (message.net_payable_amount !== 0) {
|
|
141
142
|
writer.uint32(144).int32(message.net_payable_amount);
|
|
142
143
|
}
|
|
144
|
+
if (message.apr_value !== 0) {
|
|
145
|
+
writer.uint32(157).float(message.apr_value);
|
|
146
|
+
}
|
|
143
147
|
return writer;
|
|
144
148
|
},
|
|
145
149
|
decode(input, length) {
|
|
@@ -257,6 +261,12 @@ exports.getLoanByIdResponse = {
|
|
|
257
261
|
}
|
|
258
262
|
message.net_payable_amount = reader.int32();
|
|
259
263
|
continue;
|
|
264
|
+
case 19:
|
|
265
|
+
if (tag !== 157) {
|
|
266
|
+
break;
|
|
267
|
+
}
|
|
268
|
+
message.apr_value = reader.float();
|
|
269
|
+
continue;
|
|
260
270
|
}
|
|
261
271
|
if ((tag & 7) === 4 || tag === 0) {
|
|
262
272
|
break;
|
|
@@ -287,6 +297,7 @@ exports.getLoanByIdResponse = {
|
|
|
287
297
|
fees: isSet(object.fees) ? exports.getLoanByIdResponse_Field.fromJSON(object.fees) : undefined,
|
|
288
298
|
loan_create_date: isSet(object.loan_create_date) ? globalThis.String(object.loan_create_date) : "",
|
|
289
299
|
net_payable_amount: isSet(object.net_payable_amount) ? globalThis.Number(object.net_payable_amount) : 0,
|
|
300
|
+
apr_value: isSet(object.apr_value) ? globalThis.Number(object.apr_value) : 0,
|
|
290
301
|
};
|
|
291
302
|
},
|
|
292
303
|
toJSON(message) {
|
|
@@ -345,6 +356,9 @@ exports.getLoanByIdResponse = {
|
|
|
345
356
|
if (message.net_payable_amount !== 0) {
|
|
346
357
|
obj.net_payable_amount = Math.round(message.net_payable_amount);
|
|
347
358
|
}
|
|
359
|
+
if (message.apr_value !== 0) {
|
|
360
|
+
obj.apr_value = message.apr_value;
|
|
361
|
+
}
|
|
348
362
|
return obj;
|
|
349
363
|
},
|
|
350
364
|
create(base) {
|
|
@@ -372,6 +386,7 @@ exports.getLoanByIdResponse = {
|
|
|
372
386
|
: undefined;
|
|
373
387
|
message.loan_create_date = object.loan_create_date ?? "";
|
|
374
388
|
message.net_payable_amount = object.net_payable_amount ?? 0;
|
|
389
|
+
message.apr_value = object.apr_value ?? 0;
|
|
375
390
|
return message;
|
|
376
391
|
},
|
|
377
392
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: loans/getnextdueamount.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: loans/getpendingemiamount.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: loans/getsummarystaticfields.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: loans/gettransactionstatus.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.getusedlimit";
|
|
3
|
+
export interface getUsedLimitfoRequest {
|
|
4
|
+
customer_id: number;
|
|
5
|
+
}
|
|
6
|
+
export interface getUsedLimitfoResponse {
|
|
7
|
+
used_limit: number;
|
|
8
|
+
}
|
|
9
|
+
export declare const getUsedLimitfoRequest: {
|
|
10
|
+
encode(message: getUsedLimitfoRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getUsedLimitfoRequest;
|
|
12
|
+
fromJSON(object: any): getUsedLimitfoRequest;
|
|
13
|
+
toJSON(message: getUsedLimitfoRequest): unknown;
|
|
14
|
+
create<I extends Exact<DeepPartial<getUsedLimitfoRequest>, I>>(base?: I): getUsedLimitfoRequest;
|
|
15
|
+
fromPartial<I extends Exact<DeepPartial<getUsedLimitfoRequest>, I>>(object: I): getUsedLimitfoRequest;
|
|
16
|
+
};
|
|
17
|
+
export declare const getUsedLimitfoResponse: {
|
|
18
|
+
encode(message: getUsedLimitfoResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getUsedLimitfoResponse;
|
|
20
|
+
fromJSON(object: any): getUsedLimitfoResponse;
|
|
21
|
+
toJSON(message: getUsedLimitfoResponse): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<getUsedLimitfoResponse>, I>>(base?: I): getUsedLimitfoResponse;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<getUsedLimitfoResponse>, I>>(object: I): getUsedLimitfoResponse;
|
|
24
|
+
};
|
|
25
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
26
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
27
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
28
|
+
} : Partial<T>;
|
|
29
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
30
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
31
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
32
|
+
} & {
|
|
33
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,117 @@
|
|
|
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/getusedlimit.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.getUsedLimitfoResponse = exports.getUsedLimitfoRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.getusedlimit";
|
|
15
|
+
function createBasegetUsedLimitfoRequest() {
|
|
16
|
+
return { customer_id: 0 };
|
|
17
|
+
}
|
|
18
|
+
exports.getUsedLimitfoRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.customer_id !== 0) {
|
|
21
|
+
writer.uint32(8).int32(message.customer_id);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBasegetUsedLimitfoRequest();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 8) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.customer_id = reader.int32();
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
reader.skipType(tag & 7);
|
|
43
|
+
}
|
|
44
|
+
return message;
|
|
45
|
+
},
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0 };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.customer_id !== 0) {
|
|
52
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.getUsedLimitfoRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBasegetUsedLimitfoRequest();
|
|
61
|
+
message.customer_id = object.customer_id ?? 0;
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBasegetUsedLimitfoResponse() {
|
|
66
|
+
return { used_limit: 0 };
|
|
67
|
+
}
|
|
68
|
+
exports.getUsedLimitfoResponse = {
|
|
69
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
+
if (message.used_limit !== 0) {
|
|
71
|
+
writer.uint32(8).int32(message.used_limit);
|
|
72
|
+
}
|
|
73
|
+
return writer;
|
|
74
|
+
},
|
|
75
|
+
decode(input, length) {
|
|
76
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
77
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
78
|
+
const message = createBasegetUsedLimitfoResponse();
|
|
79
|
+
while (reader.pos < end) {
|
|
80
|
+
const tag = reader.uint32();
|
|
81
|
+
switch (tag >>> 3) {
|
|
82
|
+
case 1:
|
|
83
|
+
if (tag !== 8) {
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
message.used_limit = reader.int32();
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
reader.skipType(tag & 7);
|
|
93
|
+
}
|
|
94
|
+
return message;
|
|
95
|
+
},
|
|
96
|
+
fromJSON(object) {
|
|
97
|
+
return { used_limit: isSet(object.used_limit) ? globalThis.Number(object.used_limit) : 0 };
|
|
98
|
+
},
|
|
99
|
+
toJSON(message) {
|
|
100
|
+
const obj = {};
|
|
101
|
+
if (message.used_limit !== 0) {
|
|
102
|
+
obj.used_limit = Math.round(message.used_limit);
|
|
103
|
+
}
|
|
104
|
+
return obj;
|
|
105
|
+
},
|
|
106
|
+
create(base) {
|
|
107
|
+
return exports.getUsedLimitfoResponse.fromPartial(base ?? {});
|
|
108
|
+
},
|
|
109
|
+
fromPartial(object) {
|
|
110
|
+
const message = createBasegetUsedLimitfoResponse();
|
|
111
|
+
message.used_limit = object.used_limit ?? 0;
|
|
112
|
+
return message;
|
|
113
|
+
},
|
|
114
|
+
};
|
|
115
|
+
function isSet(value) {
|
|
116
|
+
return value !== null && value !== undefined;
|
|
117
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.28.
|
|
5
|
+
// protoc v5.28.2
|
|
6
6
|
// source: loans/getvirtualbankinfo.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -36,6 +36,7 @@ export interface loanSummaryResponse {
|
|
|
36
36
|
credit_report_actual_fees: number;
|
|
37
37
|
plan_id: number;
|
|
38
38
|
approved_amount: number;
|
|
39
|
+
discount: number;
|
|
39
40
|
}
|
|
40
41
|
export declare const loanSummaryRequest: {
|
|
41
42
|
encode(message: loanSummaryRequest, writer?: _m0.Writer): _m0.Writer;
|