@stashfin/grpc 1.2.261 → 1.2.263
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.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/getpaymentoptions.d.ts +51 -0
- package/ts/customers/getpaymentoptions.js +243 -0
- 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/updatecategory.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 +14 -0
- package/ts/customers.js +12 -2
- package/ts/decisionengine/decisionengine.d.ts +1 -0
- package/ts/decisionengine/decisionengine.js +20 -6
- 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 +1 -0
- package/ts/loans/approveloan.js +21 -6
- 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.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/getbilldetails.js +2 -2
- package/ts/loans/getcustomerloanstatus.js +2 -2
- package/ts/loans/getloanbyid.d.ts +1 -0
- package/ts/loans/getloanbyid.js +17 -2
- 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/getusedlimit.js +2 -2
- package/ts/loans/getvirtualbankinfo.js +2 -2
- package/ts/loans/loansummary.d.ts +1 -0
- package/ts/loans/loansummary.js +21 -6
- 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/updateinstallments.d.ts +0 -2
- package/ts/loans/updateinstallments.js +8 -45
- 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/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/getrpdlink.d.ts +0 -40
- package/ts/customers/getrpdlink.js +0 -190
|
@@ -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: customers/updatemobileverifyotp.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: customers/updateokyctxn.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: customers/updateselfieetxn.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: customers/updatevehiclenumber.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: customers/uploaddocuments.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: customers/validatepan.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: 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.1
|
|
5
|
+
// protoc v3.20.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.1
|
|
5
|
+
// protoc v3.20.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.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ import { getDashboardMainCardRequest, getDashboardMainCardResponse } from "./cus
|
|
|
42
42
|
import { getDocumentsRequest, getDocumentsResponse } from "./customers/getdocuments";
|
|
43
43
|
import { getLimitRequest, getLimitResponse } from "./customers/getlimit";
|
|
44
44
|
import { getOccupationListRequest, getOccupationListResponse } from "./customers/getoccupationlist";
|
|
45
|
+
import { paymentOptionRequest, paymentOptionResponse } from "./customers/getpaymentoptions";
|
|
45
46
|
import { getProfessionalInfoRequest, getProfessionalInfoResponse } from "./customers/getprofessionalinfo";
|
|
46
47
|
import { getCustomerProfileRequest, getCustomerProfileResponse } from "./customers/getprofile";
|
|
47
48
|
import { getSelfieeTxnIdRequest, getSelfieeTxnIdResponse } from "./customers/getselfieetxnid";
|
|
@@ -800,6 +801,15 @@ export declare const customersService: {
|
|
|
800
801
|
readonly responseSerialize: (value: updateCategoryResponse) => Buffer;
|
|
801
802
|
readonly responseDeserialize: (value: Buffer) => updateCategoryResponse;
|
|
802
803
|
};
|
|
804
|
+
readonly getPaymentOptions: {
|
|
805
|
+
readonly path: "/service.customers/getPaymentOptions";
|
|
806
|
+
readonly requestStream: false;
|
|
807
|
+
readonly responseStream: false;
|
|
808
|
+
readonly requestSerialize: (value: paymentOptionRequest) => Buffer;
|
|
809
|
+
readonly requestDeserialize: (value: Buffer) => paymentOptionRequest;
|
|
810
|
+
readonly responseSerialize: (value: paymentOptionResponse) => Buffer;
|
|
811
|
+
readonly responseDeserialize: (value: Buffer) => paymentOptionResponse;
|
|
812
|
+
};
|
|
803
813
|
};
|
|
804
814
|
export interface customersServer extends UntypedServiceImplementation {
|
|
805
815
|
sendOtp: handleUnaryCall<sendOtpRequest, sendOtpRespone>;
|
|
@@ -882,6 +892,7 @@ export interface customersServer extends UntypedServiceImplementation {
|
|
|
882
892
|
getFreedomTxnStatus: handleUnaryCall<getFreedomTxnStatusRequest, getFreedomTxnStatusResponse>;
|
|
883
893
|
updateFreedomTxnStatus: handleUnaryCall<updateFreedomTxnStatusRequest, updateFreedomTxnStatusResponse>;
|
|
884
894
|
updateCategory: handleUnaryCall<updateCategoryRequest, updateCategoryResponse>;
|
|
895
|
+
getPaymentOptions: handleUnaryCall<paymentOptionRequest, paymentOptionResponse>;
|
|
885
896
|
}
|
|
886
897
|
export interface customersClient extends Client {
|
|
887
898
|
sendOtp(request: sendOtpRequest, callback: (error: ServiceError | null, response: sendOtpRespone) => void): ClientUnaryCall;
|
|
@@ -1124,6 +1135,9 @@ export interface customersClient extends Client {
|
|
|
1124
1135
|
updateCategory(request: updateCategoryRequest, callback: (error: ServiceError | null, response: updateCategoryResponse) => void): ClientUnaryCall;
|
|
1125
1136
|
updateCategory(request: updateCategoryRequest, metadata: Metadata, callback: (error: ServiceError | null, response: updateCategoryResponse) => void): ClientUnaryCall;
|
|
1126
1137
|
updateCategory(request: updateCategoryRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: updateCategoryResponse) => void): ClientUnaryCall;
|
|
1138
|
+
getPaymentOptions(request: paymentOptionRequest, callback: (error: ServiceError | null, response: paymentOptionResponse) => void): ClientUnaryCall;
|
|
1139
|
+
getPaymentOptions(request: paymentOptionRequest, metadata: Metadata, callback: (error: ServiceError | null, response: paymentOptionResponse) => void): ClientUnaryCall;
|
|
1140
|
+
getPaymentOptions(request: paymentOptionRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: paymentOptionResponse) => void): ClientUnaryCall;
|
|
1127
1141
|
}
|
|
1128
1142
|
export declare const customersClient: {
|
|
1129
1143
|
new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): customersClient;
|
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.1
|
|
5
|
+
// protoc v3.20.3
|
|
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,6 +2,7 @@ import _m0 from "protobufjs/minimal";
|
|
|
2
2
|
export declare const protobufPackage = "decisionengine.validateLocDisbursal";
|
|
3
3
|
export interface validateDisbursalRequest {
|
|
4
4
|
customer_id: number;
|
|
5
|
+
loan_id: number;
|
|
5
6
|
stashfin_ever_dpd: number;
|
|
6
7
|
stashfin_current_dpd: number;
|
|
7
8
|
}
|
|
@@ -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: decisionengine/decisionengine.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
@@ -13,18 +13,21 @@ exports.validateDisbursalResponse = exports.validateDisbursalRequest = exports.p
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "decisionengine.validateLocDisbursal";
|
|
15
15
|
function createBasevalidateDisbursalRequest() {
|
|
16
|
-
return { customer_id: 0, stashfin_ever_dpd: 0, stashfin_current_dpd: 0 };
|
|
16
|
+
return { customer_id: 0, loan_id: 0, stashfin_ever_dpd: 0, stashfin_current_dpd: 0 };
|
|
17
17
|
}
|
|
18
18
|
exports.validateDisbursalRequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
20
|
if (message.customer_id !== 0) {
|
|
21
21
|
writer.uint32(8).int32(message.customer_id);
|
|
22
22
|
}
|
|
23
|
+
if (message.loan_id !== 0) {
|
|
24
|
+
writer.uint32(16).int32(message.loan_id);
|
|
25
|
+
}
|
|
23
26
|
if (message.stashfin_ever_dpd !== 0) {
|
|
24
|
-
writer.uint32(
|
|
27
|
+
writer.uint32(24).int32(message.stashfin_ever_dpd);
|
|
25
28
|
}
|
|
26
29
|
if (message.stashfin_current_dpd !== 0) {
|
|
27
|
-
writer.uint32(
|
|
30
|
+
writer.uint32(32).int32(message.stashfin_current_dpd);
|
|
28
31
|
}
|
|
29
32
|
return writer;
|
|
30
33
|
},
|
|
@@ -45,12 +48,18 @@ exports.validateDisbursalRequest = {
|
|
|
45
48
|
if (tag !== 16) {
|
|
46
49
|
break;
|
|
47
50
|
}
|
|
48
|
-
message.
|
|
51
|
+
message.loan_id = reader.int32();
|
|
49
52
|
continue;
|
|
50
53
|
case 3:
|
|
51
54
|
if (tag !== 24) {
|
|
52
55
|
break;
|
|
53
56
|
}
|
|
57
|
+
message.stashfin_ever_dpd = reader.int32();
|
|
58
|
+
continue;
|
|
59
|
+
case 4:
|
|
60
|
+
if (tag !== 32) {
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
54
63
|
message.stashfin_current_dpd = reader.int32();
|
|
55
64
|
continue;
|
|
56
65
|
}
|
|
@@ -64,6 +73,7 @@ exports.validateDisbursalRequest = {
|
|
|
64
73
|
fromJSON(object) {
|
|
65
74
|
return {
|
|
66
75
|
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
76
|
+
loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
|
|
67
77
|
stashfin_ever_dpd: isSet(object.stashfin_ever_dpd) ? globalThis.Number(object.stashfin_ever_dpd) : 0,
|
|
68
78
|
stashfin_current_dpd: isSet(object.stashfin_current_dpd) ? globalThis.Number(object.stashfin_current_dpd) : 0,
|
|
69
79
|
};
|
|
@@ -73,6 +83,9 @@ exports.validateDisbursalRequest = {
|
|
|
73
83
|
if (message.customer_id !== 0) {
|
|
74
84
|
obj.customer_id = Math.round(message.customer_id);
|
|
75
85
|
}
|
|
86
|
+
if (message.loan_id !== 0) {
|
|
87
|
+
obj.loan_id = Math.round(message.loan_id);
|
|
88
|
+
}
|
|
76
89
|
if (message.stashfin_ever_dpd !== 0) {
|
|
77
90
|
obj.stashfin_ever_dpd = Math.round(message.stashfin_ever_dpd);
|
|
78
91
|
}
|
|
@@ -87,6 +100,7 @@ exports.validateDisbursalRequest = {
|
|
|
87
100
|
fromPartial(object) {
|
|
88
101
|
const message = createBasevalidateDisbursalRequest();
|
|
89
102
|
message.customer_id = object.customer_id ?? 0;
|
|
103
|
+
message.loan_id = object.loan_id ?? 0;
|
|
90
104
|
message.stashfin_ever_dpd = object.stashfin_ever_dpd ?? 0;
|
|
91
105
|
message.stashfin_current_dpd = object.stashfin_current_dpd ?? 0;
|
|
92
106
|
return message;
|
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.1
|
|
5
|
+
// protoc v3.20.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;
|
package/ts/example.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: example.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/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,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
|
@@ -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,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
|
@@ -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.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 };
|
|
@@ -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 };
|
|
@@ -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 };
|