@stashfin/grpc 1.2.262 → 1.2.264
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/getdbrcolending.js +2 -2
- package/ts/bureau/getdemogs.js +2 -2
- package/ts/bureau/getobligation.js +2 -2
- package/ts/bureau/getreport.d.ts +3 -3
- 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/getbanklist.js +2 -2
- package/ts/customers/aa/initiate.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/bulksms.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/paynow.js +2 -2
- package/ts/customers/cb/savecreditbuilder.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/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/updatetxnstatus.js +2 -2
- package/ts/customers/fetchrcprofile.js +2 -2
- package/ts/customers/floatingvideos.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/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/getcompanyaccdetails.js +2 -2
- package/ts/customers/getcustomerbyid.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/getlimit.js +2 -2
- package/ts/customers/getoccupationlist.js +2 -2
- package/ts/customers/getprofessionalinfo.js +2 -2
- package/ts/customers/getprofile.js +2 -2
- package/ts/customers/getselfieetxnid.js +2 -2
- package/ts/customers/getstates.js +2 -2
- package/ts/customers/getstep.js +2 -2
- package/ts/customers/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/rpd/getrpdlink.js +2 -2
- package/ts/customers/rpd/getrpdtransactionstatus.js +2 -2
- package/ts/customers/rpd/mockpayment.js +2 -2
- package/ts/customers/savebasicdetails.js +2 -2
- package/ts/customers/savelimit.js +2 -2
- package/ts/customers/saveunlocklimit.js +2 -2
- package/ts/customers/sendotp.js +2 -2
- package/ts/customers/sendotptoemail.js +2 -2
- package/ts/customers/setmpin.js +2 -2
- package/ts/customers/skipscreen.js +2 -2
- package/ts/customers/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/updateselfieetxn.js +2 -2
- package/ts/customers/updatevehiclenumber.js +2 -2
- package/ts/customers/uploaddocuments.js +2 -2
- package/ts/customers/validatepan.js +2 -2
- package/ts/customers/verifympin.js +2 -2
- package/ts/customers/verifyotp.js +2 -2
- package/ts/customers/verifyotptoemail.js +2 -2
- package/ts/customers.d.ts +0 -28
- package/ts/customers.js +2 -22
- package/ts/decisionengine/decisionengine.js +2 -2
- package/ts/decisionengine.js +2 -2
- package/ts/example.js +2 -2
- package/ts/growth/checkplanstatus.js +2 -2
- package/ts/growth/getattachplandetails.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/processchrpayment.js +2 -2
- package/ts/growth.js +2 -2
- package/ts/loans/amortization.js +2 -2
- package/ts/loans/approveloan.d.ts +0 -1
- package/ts/loans/approveloan.js +6 -21
- package/ts/loans/banklist.js +2 -2
- package/ts/loans/calculateemi.js +2 -2
- package/ts/loans/creditlimit.js +2 -2
- package/ts/loans/fcppayment.d.ts +1 -0
- package/ts/loans/fcppayment.js +19 -5
- package/ts/loans/forecloseamount.js +2 -2
- package/ts/loans/foreclosepayment.d.ts +1 -0
- package/ts/loans/foreclosepayment.js +19 -5
- package/ts/loans/futurepaymentmoredetails.js +2 -2
- package/ts/loans/getbilldetails.js +2 -2
- package/ts/loans/getcustomerloanstatus.js +2 -2
- package/ts/loans/getloanbyid.d.ts +0 -1
- package/ts/loans/getloanbyid.js +2 -17
- package/ts/loans/getnextdueamount.js +2 -2
- package/ts/loans/getpendingemiamount.js +2 -2
- package/ts/loans/getsummarystaticfields.js +2 -2
- package/ts/loans/gettransactionstatus.js +2 -2
- package/ts/loans/getvirtualbankinfo.js +2 -2
- package/ts/loans/loansummary.d.ts +0 -1
- package/ts/loans/loansummary.js +6 -21
- 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.d.ts +1 -0
- package/ts/loans/refund.js +19 -5
- package/ts/loans/restructureloan.js +2 -2
- package/ts/loans/rollback.d.ts +1 -0
- package/ts/loans/rollback.js +19 -5
- package/ts/loans/sendemail.js +2 -2
- package/ts/loans/sendnocemail.js +2 -2
- package/ts/loans/transactionlist.js +2 -2
- package/ts/loans/updateinstallments.d.ts +2 -0
- package/ts/loans/updateinstallments.js +45 -8
- package/ts/loans/updateloan.js +2 -2
- package/ts/loans/updatetransactionstatus.js +2 -2
- package/ts/loans.d.ts +0 -14
- package/ts/loans.js +2 -12
- package/ts/payments/checkpaymentstatus.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/bureau/getbureaulist.d.ts +0 -52
- package/ts/bureau/getbureaulist.js +0 -276
- package/ts/customers/getpaymentoptions.d.ts +0 -51
- package/ts/customers/getpaymentoptions.js +0 -243
- package/ts/customers/getrpdlink.d.ts +0 -40
- package/ts/customers/getrpdlink.js +0 -190
- package/ts/customers/updatecategory.d.ts +0 -36
- package/ts/customers/updatecategory.js +0 -147
- package/ts/loans/getusedlimit.d.ts +0 -35
- package/ts/loans/getusedlimit.js +0 -117
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: growth/checkplanstatus.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
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
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: growth/getchrplans.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: growth/getcredithealthreport.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: growth/initiatepayment.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
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
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
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
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
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,7 +46,6 @@ export interface approveLoanResponse {
|
|
|
46
46
|
credit_report_actual_fees: number;
|
|
47
47
|
plan_id: number;
|
|
48
48
|
approved_amount: number;
|
|
49
|
-
discount: number;
|
|
50
49
|
}
|
|
51
50
|
export declare const approveLoanRequest: {
|
|
52
51
|
encode(message: approveLoanRequest, writer?: _m0.Writer): _m0.Writer;
|
package/ts/loans/approveloan.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
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,7 +286,6 @@ function createBaseapproveLoanResponse() {
|
|
|
286
286
|
credit_report_actual_fees: 0,
|
|
287
287
|
plan_id: 0,
|
|
288
288
|
approved_amount: 0,
|
|
289
|
-
discount: 0,
|
|
290
289
|
};
|
|
291
290
|
}
|
|
292
291
|
exports.approveLoanResponse = {
|
|
@@ -361,7 +360,7 @@ exports.approveLoanResponse = {
|
|
|
361
360
|
writer.uint32(186).string(message.bill_card_description);
|
|
362
361
|
}
|
|
363
362
|
if (message.apr_value !== 0) {
|
|
364
|
-
writer.uint32(
|
|
363
|
+
writer.uint32(192).int32(message.apr_value);
|
|
365
364
|
}
|
|
366
365
|
if (message.apr_type !== "") {
|
|
367
366
|
writer.uint32(202).string(message.apr_type);
|
|
@@ -381,9 +380,6 @@ exports.approveLoanResponse = {
|
|
|
381
380
|
if (message.approved_amount !== 0) {
|
|
382
381
|
writer.uint32(240).int32(message.approved_amount);
|
|
383
382
|
}
|
|
384
|
-
if (message.discount !== 0) {
|
|
385
|
-
writer.uint32(248).int32(message.discount);
|
|
386
|
-
}
|
|
387
383
|
return writer;
|
|
388
384
|
},
|
|
389
385
|
decode(input, length) {
|
|
@@ -532,10 +528,10 @@ exports.approveLoanResponse = {
|
|
|
532
528
|
message.bill_card_description = reader.string();
|
|
533
529
|
continue;
|
|
534
530
|
case 24:
|
|
535
|
-
if (tag !==
|
|
531
|
+
if (tag !== 192) {
|
|
536
532
|
break;
|
|
537
533
|
}
|
|
538
|
-
message.apr_value = reader.
|
|
534
|
+
message.apr_value = reader.int32();
|
|
539
535
|
continue;
|
|
540
536
|
case 25:
|
|
541
537
|
if (tag !== 202) {
|
|
@@ -573,12 +569,6 @@ exports.approveLoanResponse = {
|
|
|
573
569
|
}
|
|
574
570
|
message.approved_amount = reader.int32();
|
|
575
571
|
continue;
|
|
576
|
-
case 31:
|
|
577
|
-
if (tag !== 248) {
|
|
578
|
-
break;
|
|
579
|
-
}
|
|
580
|
-
message.discount = reader.int32();
|
|
581
|
-
continue;
|
|
582
572
|
}
|
|
583
573
|
if ((tag & 7) === 4 || tag === 0) {
|
|
584
574
|
break;
|
|
@@ -627,7 +617,6 @@ exports.approveLoanResponse = {
|
|
|
627
617
|
: 0,
|
|
628
618
|
plan_id: isSet(object.plan_id) ? globalThis.Number(object.plan_id) : 0,
|
|
629
619
|
approved_amount: isSet(object.approved_amount) ? globalThis.Number(object.approved_amount) : 0,
|
|
630
|
-
discount: isSet(object.discount) ? globalThis.Number(object.discount) : 0,
|
|
631
620
|
};
|
|
632
621
|
},
|
|
633
622
|
toJSON(message) {
|
|
@@ -702,7 +691,7 @@ exports.approveLoanResponse = {
|
|
|
702
691
|
obj.bill_card_description = message.bill_card_description;
|
|
703
692
|
}
|
|
704
693
|
if (message.apr_value !== 0) {
|
|
705
|
-
obj.apr_value = message.apr_value;
|
|
694
|
+
obj.apr_value = Math.round(message.apr_value);
|
|
706
695
|
}
|
|
707
696
|
if (message.apr_type !== "") {
|
|
708
697
|
obj.apr_type = message.apr_type;
|
|
@@ -722,9 +711,6 @@ exports.approveLoanResponse = {
|
|
|
722
711
|
if (message.approved_amount !== 0) {
|
|
723
712
|
obj.approved_amount = Math.round(message.approved_amount);
|
|
724
713
|
}
|
|
725
|
-
if (message.discount !== 0) {
|
|
726
|
-
obj.discount = Math.round(message.discount);
|
|
727
|
-
}
|
|
728
714
|
return obj;
|
|
729
715
|
},
|
|
730
716
|
create(base) {
|
|
@@ -762,7 +748,6 @@ exports.approveLoanResponse = {
|
|
|
762
748
|
message.credit_report_actual_fees = object.credit_report_actual_fees ?? 0;
|
|
763
749
|
message.plan_id = object.plan_id ?? 0;
|
|
764
750
|
message.approved_amount = object.approved_amount ?? 0;
|
|
765
|
-
message.discount = object.discount ?? 0;
|
|
766
751
|
return message;
|
|
767
752
|
},
|
|
768
753
|
};
|
package/ts/loans/banklist.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
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
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
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
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
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.d.ts
CHANGED
package/ts/loans/fcppayment.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/fcppayment.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -13,7 +13,7 @@ exports.fcpPaymentResponse = exports.fcpPaymentRequest = exports.protobufPackage
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "loans.fcppayment";
|
|
15
15
|
function createBasefcpPaymentRequest() {
|
|
16
|
-
return { bill_amount: 0, customerid: 0, loan_id: [], mode: "" };
|
|
16
|
+
return { bill_amount: 0, customerid: 0, loan_id: [], payment_id: 0, mode: "" };
|
|
17
17
|
}
|
|
18
18
|
exports.fcpPaymentRequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -28,8 +28,11 @@ exports.fcpPaymentRequest = {
|
|
|
28
28
|
writer.int32(v);
|
|
29
29
|
}
|
|
30
30
|
writer.ldelim();
|
|
31
|
+
if (message.payment_id !== 0) {
|
|
32
|
+
writer.uint32(32).int32(message.payment_id);
|
|
33
|
+
}
|
|
31
34
|
if (message.mode !== "") {
|
|
32
|
-
writer.uint32(
|
|
35
|
+
writer.uint32(42).string(message.mode);
|
|
33
36
|
}
|
|
34
37
|
return writer;
|
|
35
38
|
},
|
|
@@ -66,7 +69,13 @@ exports.fcpPaymentRequest = {
|
|
|
66
69
|
}
|
|
67
70
|
break;
|
|
68
71
|
case 4:
|
|
69
|
-
if (tag !==
|
|
72
|
+
if (tag !== 32) {
|
|
73
|
+
break;
|
|
74
|
+
}
|
|
75
|
+
message.payment_id = reader.int32();
|
|
76
|
+
continue;
|
|
77
|
+
case 5:
|
|
78
|
+
if (tag !== 42) {
|
|
70
79
|
break;
|
|
71
80
|
}
|
|
72
81
|
message.mode = reader.string();
|
|
@@ -84,6 +93,7 @@ exports.fcpPaymentRequest = {
|
|
|
84
93
|
bill_amount: isSet(object.bill_amount) ? globalThis.Number(object.bill_amount) : 0,
|
|
85
94
|
customerid: isSet(object.customerid) ? globalThis.Number(object.customerid) : 0,
|
|
86
95
|
loan_id: globalThis.Array.isArray(object?.loan_id) ? object.loan_id.map((e) => globalThis.Number(e)) : [],
|
|
96
|
+
payment_id: isSet(object.payment_id) ? globalThis.Number(object.payment_id) : 0,
|
|
87
97
|
mode: isSet(object.mode) ? globalThis.String(object.mode) : "",
|
|
88
98
|
};
|
|
89
99
|
},
|
|
@@ -98,6 +108,9 @@ exports.fcpPaymentRequest = {
|
|
|
98
108
|
if (message.loan_id?.length) {
|
|
99
109
|
obj.loan_id = message.loan_id.map((e) => Math.round(e));
|
|
100
110
|
}
|
|
111
|
+
if (message.payment_id !== 0) {
|
|
112
|
+
obj.payment_id = Math.round(message.payment_id);
|
|
113
|
+
}
|
|
101
114
|
if (message.mode !== "") {
|
|
102
115
|
obj.mode = message.mode;
|
|
103
116
|
}
|
|
@@ -111,6 +124,7 @@ exports.fcpPaymentRequest = {
|
|
|
111
124
|
message.bill_amount = object.bill_amount ?? 0;
|
|
112
125
|
message.customerid = object.customerid ?? 0;
|
|
113
126
|
message.loan_id = object.loan_id?.map((e) => e) || [];
|
|
127
|
+
message.payment_id = object.payment_id ?? 0;
|
|
114
128
|
message.mode = object.mode ?? "";
|
|
115
129
|
return message;
|
|
116
130
|
},
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/forecloseamount.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/foreclosepayment.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -13,7 +13,7 @@ exports.foreclosePaymentResponse = exports.foreclosePaymentRequest = exports.pro
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "loans.foreclosepayment";
|
|
15
15
|
function createBaseforeclosePaymentRequest() {
|
|
16
|
-
return { amount: 0, customerid: 0, loan_id: 0, mode: "" };
|
|
16
|
+
return { amount: 0, customerid: 0, loan_id: 0, payment_id: 0, mode: "" };
|
|
17
17
|
}
|
|
18
18
|
exports.foreclosePaymentRequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -26,8 +26,11 @@ exports.foreclosePaymentRequest = {
|
|
|
26
26
|
if (message.loan_id !== 0) {
|
|
27
27
|
writer.uint32(24).int32(message.loan_id);
|
|
28
28
|
}
|
|
29
|
+
if (message.payment_id !== 0) {
|
|
30
|
+
writer.uint32(32).int32(message.payment_id);
|
|
31
|
+
}
|
|
29
32
|
if (message.mode !== "") {
|
|
30
|
-
writer.uint32(
|
|
33
|
+
writer.uint32(42).string(message.mode);
|
|
31
34
|
}
|
|
32
35
|
return writer;
|
|
33
36
|
},
|
|
@@ -57,7 +60,13 @@ exports.foreclosePaymentRequest = {
|
|
|
57
60
|
message.loan_id = reader.int32();
|
|
58
61
|
continue;
|
|
59
62
|
case 4:
|
|
60
|
-
if (tag !==
|
|
63
|
+
if (tag !== 32) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
message.payment_id = reader.int32();
|
|
67
|
+
continue;
|
|
68
|
+
case 5:
|
|
69
|
+
if (tag !== 42) {
|
|
61
70
|
break;
|
|
62
71
|
}
|
|
63
72
|
message.mode = reader.string();
|
|
@@ -75,6 +84,7 @@ exports.foreclosePaymentRequest = {
|
|
|
75
84
|
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
76
85
|
customerid: isSet(object.customerid) ? globalThis.Number(object.customerid) : 0,
|
|
77
86
|
loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
|
|
87
|
+
payment_id: isSet(object.payment_id) ? globalThis.Number(object.payment_id) : 0,
|
|
78
88
|
mode: isSet(object.mode) ? globalThis.String(object.mode) : "",
|
|
79
89
|
};
|
|
80
90
|
},
|
|
@@ -89,6 +99,9 @@ exports.foreclosePaymentRequest = {
|
|
|
89
99
|
if (message.loan_id !== 0) {
|
|
90
100
|
obj.loan_id = Math.round(message.loan_id);
|
|
91
101
|
}
|
|
102
|
+
if (message.payment_id !== 0) {
|
|
103
|
+
obj.payment_id = Math.round(message.payment_id);
|
|
104
|
+
}
|
|
92
105
|
if (message.mode !== "") {
|
|
93
106
|
obj.mode = message.mode;
|
|
94
107
|
}
|
|
@@ -102,6 +115,7 @@ exports.foreclosePaymentRequest = {
|
|
|
102
115
|
message.amount = object.amount ?? 0;
|
|
103
116
|
message.customerid = object.customerid ?? 0;
|
|
104
117
|
message.loan_id = object.loan_id ?? 0;
|
|
118
|
+
message.payment_id = object.payment_id ?? 0;
|
|
105
119
|
message.mode = object.mode ?? "";
|
|
106
120
|
return message;
|
|
107
121
|
},
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/futurepaymentmoredetails.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/getbilldetails.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
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
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
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,7 +82,6 @@ function createBasegetLoanByIdResponse() {
|
|
|
82
82
|
fees: undefined,
|
|
83
83
|
loan_create_date: "",
|
|
84
84
|
net_payable_amount: 0,
|
|
85
|
-
apr_value: 0,
|
|
86
85
|
};
|
|
87
86
|
}
|
|
88
87
|
exports.getLoanByIdResponse = {
|
|
@@ -141,9 +140,6 @@ exports.getLoanByIdResponse = {
|
|
|
141
140
|
if (message.net_payable_amount !== 0) {
|
|
142
141
|
writer.uint32(144).int32(message.net_payable_amount);
|
|
143
142
|
}
|
|
144
|
-
if (message.apr_value !== 0) {
|
|
145
|
-
writer.uint32(157).float(message.apr_value);
|
|
146
|
-
}
|
|
147
143
|
return writer;
|
|
148
144
|
},
|
|
149
145
|
decode(input, length) {
|
|
@@ -261,12 +257,6 @@ exports.getLoanByIdResponse = {
|
|
|
261
257
|
}
|
|
262
258
|
message.net_payable_amount = reader.int32();
|
|
263
259
|
continue;
|
|
264
|
-
case 19:
|
|
265
|
-
if (tag !== 157) {
|
|
266
|
-
break;
|
|
267
|
-
}
|
|
268
|
-
message.apr_value = reader.float();
|
|
269
|
-
continue;
|
|
270
260
|
}
|
|
271
261
|
if ((tag & 7) === 4 || tag === 0) {
|
|
272
262
|
break;
|
|
@@ -297,7 +287,6 @@ exports.getLoanByIdResponse = {
|
|
|
297
287
|
fees: isSet(object.fees) ? exports.getLoanByIdResponse_Field.fromJSON(object.fees) : undefined,
|
|
298
288
|
loan_create_date: isSet(object.loan_create_date) ? globalThis.String(object.loan_create_date) : "",
|
|
299
289
|
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,
|
|
301
290
|
};
|
|
302
291
|
},
|
|
303
292
|
toJSON(message) {
|
|
@@ -356,9 +345,6 @@ exports.getLoanByIdResponse = {
|
|
|
356
345
|
if (message.net_payable_amount !== 0) {
|
|
357
346
|
obj.net_payable_amount = Math.round(message.net_payable_amount);
|
|
358
347
|
}
|
|
359
|
-
if (message.apr_value !== 0) {
|
|
360
|
-
obj.apr_value = message.apr_value;
|
|
361
|
-
}
|
|
362
348
|
return obj;
|
|
363
349
|
},
|
|
364
350
|
create(base) {
|
|
@@ -386,7 +372,6 @@ exports.getLoanByIdResponse = {
|
|
|
386
372
|
: undefined;
|
|
387
373
|
message.loan_create_date = object.loan_create_date ?? "";
|
|
388
374
|
message.net_payable_amount = object.net_payable_amount ?? 0;
|
|
389
|
-
message.apr_value = object.apr_value ?? 0;
|
|
390
375
|
return message;
|
|
391
376
|
},
|
|
392
377
|
};
|
|
@@ -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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/getnextdueamount.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/getpendingemiamount.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/getsummarystaticfields.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
6
6
|
// source: loans/gettransactionstatus.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.1
|
|
5
|
+
// protoc v3.20.3
|
|
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,7 +36,6 @@ export interface loanSummaryResponse {
|
|
|
36
36
|
credit_report_actual_fees: number;
|
|
37
37
|
plan_id: number;
|
|
38
38
|
approved_amount: number;
|
|
39
|
-
discount: number;
|
|
40
39
|
}
|
|
41
40
|
export declare const loanSummaryRequest: {
|
|
42
41
|
encode(message: loanSummaryRequest, writer?: _m0.Writer): _m0.Writer;
|