@stashfin/grpc 1.2.138 → 1.2.140
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 +4 -1
- package/ts/bureau/getbasicdetails.d.ts +57 -0
- package/ts/bureau/getbasicdetails.js +341 -0
- package/ts/bureau/getdemogs.d.ts +113 -0
- package/ts/bureau/getdemogs.js +611 -0
- package/ts/bureau/getreport.d.ts +184 -0
- package/ts/bureau/getreport.js +1581 -0
- package/ts/bureau.d.ts +56 -0
- package/ts/bureau.js +44 -0
- package/ts/colender/disburseLoan.d.ts +44 -0
- package/ts/colender/disburseLoan.js +256 -0
- package/ts/colender/forecloseLoan.d.ts +41 -0
- package/ts/colender/forecloseLoan.js +205 -0
- package/ts/colender/repayLoan.d.ts +48 -0
- package/ts/colender/repayLoan.js +313 -0
- package/ts/colender.d.ts +56 -0
- package/ts/colender.js +44 -0
- package/ts/customers/aa/getbanklist.d.ts +48 -0
- package/ts/customers/aa/getbanklist.js +198 -0
- package/ts/customers/aa/initiate.d.ts +40 -0
- package/ts/customers/aa/initiate.js +209 -0
- package/ts/customers/addaddress.d.ts +50 -0
- package/ts/customers/addaddress.js +265 -0
- package/ts/customers/addbankaccountdetails.d.ts +37 -0
- package/ts/customers/addbankaccountdetails.js +147 -0
- package/ts/customers/addgstnumber.d.ts +35 -0
- package/ts/customers/addgstnumber.js +117 -0
- package/ts/customers/addsuspendedcustomer.d.ts +36 -0
- package/ts/customers/addsuspendedcustomer.js +133 -0
- package/ts/customers/adduserapps.d.ts +74 -0
- package/ts/customers/adduserapps.js +210 -0
- package/ts/customers/changempin.d.ts +36 -0
- package/ts/customers/changempin.js +133 -0
- package/ts/customers/createcustomerreference.d.ts +43 -0
- package/ts/customers/createcustomerreference.js +226 -0
- package/ts/customers/deleteprofile.d.ts +35 -0
- package/ts/customers/deleteprofile.js +120 -0
- package/ts/customers/disablempin.d.ts +34 -0
- package/ts/customers/disablempin.js +104 -0
- package/ts/customers/fetchrcprofile.d.ts +45 -0
- package/ts/customers/fetchrcprofile.js +271 -0
- package/ts/customers/forgotmpin.d.ts +35 -0
- package/ts/customers/forgotmpin.js +117 -0
- package/ts/customers/forgotmpinverify.d.ts +36 -0
- package/ts/customers/forgotmpinverify.js +133 -0
- package/ts/customers/getbankaccountdetails.d.ts +36 -0
- package/ts/customers/getbankaccountdetails.js +134 -0
- package/ts/customers/getbasicinfo.d.ts +56 -0
- package/ts/customers/getbasicinfo.js +323 -0
- package/ts/customers/getcities.d.ts +47 -0
- package/ts/customers/getcities.js +183 -0
- package/ts/customers/getcustomerbyid.d.ts +128 -0
- package/ts/customers/getcustomerbyid.js +1411 -0
- package/ts/customers/getdashboard.d.ts +91 -0
- package/ts/customers/getdashboard.js +618 -0
- package/ts/customers/getdashboardmaincard.d.ts +69 -0
- package/ts/customers/getdashboardmaincard.js +520 -0
- package/ts/customers/getdocuments.d.ts +36 -0
- package/ts/customers/getdocuments.js +134 -0
- package/ts/customers/getprofessionalinfo.d.ts +54 -0
- package/ts/customers/getprofessionalinfo.js +286 -0
- package/ts/customers/getprofile.d.ts +54 -0
- package/ts/customers/getprofile.js +296 -0
- package/ts/customers/getselfieetxnid.d.ts +34 -0
- package/ts/customers/getselfieetxnid.js +104 -0
- package/ts/customers/getstates.d.ts +46 -0
- package/ts/customers/getstates.js +170 -0
- package/ts/customers/getstep.d.ts +69 -0
- package/ts/customers/getstep.js +406 -0
- package/ts/customers/profilebasic.d.ts +38 -0
- package/ts/customers/profilebasic.js +161 -0
- package/ts/customers/profileupdatetnc.d.ts +35 -0
- package/ts/customers/profileupdatetnc.js +117 -0
- package/ts/customers/savebasicdetails.d.ts +47 -0
- package/ts/customers/savebasicdetails.js +185 -0
- package/ts/customers/saveunlocklimit.d.ts +34 -0
- package/ts/customers/saveunlocklimit.js +104 -0
- package/ts/customers/sendotp.d.ts +38 -0
- package/ts/customers/sendotp.js +165 -0
- package/ts/customers/sendotptoemail.d.ts +35 -0
- package/ts/customers/sendotptoemail.js +117 -0
- package/ts/customers/setmpin.d.ts +36 -0
- package/ts/customers/setmpin.js +133 -0
- package/ts/customers/step10.d.ts +73 -0
- package/ts/customers/step10.js +459 -0
- package/ts/customers/step7.d.ts +68 -0
- package/ts/customers/step7.js +381 -0
- package/ts/customers/step8.d.ts +69 -0
- package/ts/customers/step8.js +395 -0
- package/ts/customers/step9.d.ts +75 -0
- package/ts/customers/step9.js +489 -0
- package/ts/customers/stepstatic.d.ts +66 -0
- package/ts/customers/stepstatic.js +354 -0
- package/ts/customers/updatedob.d.ts +35 -0
- package/ts/customers/updatedob.js +117 -0
- package/ts/customers/updatelocstatus.d.ts +36 -0
- package/ts/customers/updatelocstatus.js +133 -0
- package/ts/customers/updatemobilesendotp.d.ts +35 -0
- package/ts/customers/updatemobilesendotp.js +117 -0
- package/ts/customers/updatemobileverifyotp.d.ts +36 -0
- package/ts/customers/updatemobileverifyotp.js +133 -0
- package/ts/customers/updateokyctxn.d.ts +37 -0
- package/ts/customers/updateokyctxn.js +147 -0
- package/ts/customers/updateselfieetxn.d.ts +36 -0
- package/ts/customers/updateselfieetxn.js +133 -0
- package/ts/customers/validatepan.d.ts +45 -0
- package/ts/customers/validatepan.js +274 -0
- package/ts/customers/verifympin.d.ts +37 -0
- package/ts/customers/verifympin.js +149 -0
- package/ts/customers/verifyotp.d.ts +41 -0
- package/ts/customers/verifyotp.js +205 -0
- package/ts/customers/verifyotptoemail.d.ts +35 -0
- package/ts/customers/verifyotptoemail.js +117 -0
- package/ts/customers.d.ts +764 -0
- package/ts/customers.js +548 -0
- package/ts/example.d.ts +78 -0
- package/ts/example.js +199 -0
- package/ts/loans/approveloan.d.ts +40 -0
- package/ts/loans/approveloan.js +189 -0
- package/ts/loans/banklist.d.ts +37 -0
- package/ts/loans/banklist.js +148 -0
- package/ts/loans/calculateemi.d.ts +57 -0
- package/ts/loans/calculateemi.js +340 -0
- package/ts/loans/creditlimit.d.ts +51 -0
- package/ts/loans/creditlimit.js +381 -0
- package/ts/loans/futurepaymentmoredetails.d.ts +50 -0
- package/ts/loans/futurepaymentmoredetails.js +230 -0
- package/ts/loans/getcustomerloanstatus.d.ts +34 -0
- package/ts/loans/getcustomerloanstatus.js +104 -0
- package/ts/loans/getloanbyid.d.ts +53 -0
- package/ts/loans/getloanbyid.js +393 -0
- package/ts/loans/getpendingemiamount.d.ts +34 -0
- package/ts/loans/getpendingemiamount.js +104 -0
- package/ts/loans/getsummarystaticfields.d.ts +80 -0
- package/ts/loans/getsummarystaticfields.js +700 -0
- package/ts/loans/loansummary.d.ts +66 -0
- package/ts/loans/loansummary.js +593 -0
- package/ts/loans/paymentallocation.d.ts +37 -0
- package/ts/loans/paymentallocation.js +147 -0
- package/ts/loans/paymenthistory.d.ts +47 -0
- package/ts/loans/paymenthistory.js +188 -0
- package/ts/loans/restructureloan.d.ts +36 -0
- package/ts/loans/restructureloan.js +133 -0
- package/ts/loans/sendemail.d.ts +35 -0
- package/ts/loans/sendemail.js +117 -0
- package/ts/loans/sendnocemail.d.ts +35 -0
- package/ts/loans/sendnocemail.js +117 -0
- package/ts/loans/transactionlist.d.ts +52 -0
- package/ts/loans/transactionlist.js +257 -0
- package/ts/loans/updateinstallments.d.ts +42 -0
- package/ts/loans/updateinstallments.js +226 -0
- package/ts/loans/updateloan.d.ts +39 -0
- package/ts/loans/updateloan.js +175 -0
- package/ts/loans.d.ts +266 -0
- package/ts/loans.js +194 -0
- package/ts/payments.d.ts +239 -0
- package/ts/payments.js +1117 -0
- package/ts/stashcash/creditsc.d.ts +54 -0
- package/ts/stashcash/creditsc.js +301 -0
- package/ts/stashcash/debitsc.d.ts +59 -0
- package/ts/stashcash/debitsc.js +380 -0
- package/ts/stashcash/getscbalance.d.ts +53 -0
- package/ts/stashcash/getscbalance.js +293 -0
- package/ts/stashcash/getschistory.d.ts +73 -0
- package/ts/stashcash/getschistory.js +479 -0
- package/ts/stashcash/reversesc.d.ts +52 -0
- package/ts/stashcash/reversesc.js +273 -0
- package/ts/stashcash.d.ts +84 -0
- package/ts/stashcash.js +64 -0
|
@@ -0,0 +1,104 @@
|
|
|
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.27.3
|
|
6
|
+
// source: loans/getpendingemiamount.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.getPendingEmiAmountResponse = exports.getPendingEmiAmountRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.getpendingemiamount";
|
|
15
|
+
function createBasegetPendingEmiAmountRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.getPendingEmiAmountRequest = {
|
|
19
|
+
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
return writer;
|
|
21
|
+
},
|
|
22
|
+
decode(input, length) {
|
|
23
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
24
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
+
const message = createBasegetPendingEmiAmountRequest();
|
|
26
|
+
while (reader.pos < end) {
|
|
27
|
+
const tag = reader.uint32();
|
|
28
|
+
switch (tag >>> 3) {
|
|
29
|
+
}
|
|
30
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
reader.skipType(tag & 7);
|
|
34
|
+
}
|
|
35
|
+
return message;
|
|
36
|
+
},
|
|
37
|
+
fromJSON(_) {
|
|
38
|
+
return {};
|
|
39
|
+
},
|
|
40
|
+
toJSON(_) {
|
|
41
|
+
const obj = {};
|
|
42
|
+
return obj;
|
|
43
|
+
},
|
|
44
|
+
create(base) {
|
|
45
|
+
return exports.getPendingEmiAmountRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBasegetPendingEmiAmountRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBasegetPendingEmiAmountResponse() {
|
|
53
|
+
return { pending_amount: 0 };
|
|
54
|
+
}
|
|
55
|
+
exports.getPendingEmiAmountResponse = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
if (message.pending_amount !== 0) {
|
|
58
|
+
writer.uint32(8).int32(message.pending_amount);
|
|
59
|
+
}
|
|
60
|
+
return writer;
|
|
61
|
+
},
|
|
62
|
+
decode(input, length) {
|
|
63
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
64
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
65
|
+
const message = createBasegetPendingEmiAmountResponse();
|
|
66
|
+
while (reader.pos < end) {
|
|
67
|
+
const tag = reader.uint32();
|
|
68
|
+
switch (tag >>> 3) {
|
|
69
|
+
case 1:
|
|
70
|
+
if (tag !== 8) {
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
message.pending_amount = reader.int32();
|
|
74
|
+
continue;
|
|
75
|
+
}
|
|
76
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
reader.skipType(tag & 7);
|
|
80
|
+
}
|
|
81
|
+
return message;
|
|
82
|
+
},
|
|
83
|
+
fromJSON(object) {
|
|
84
|
+
return { pending_amount: isSet(object.pending_amount) ? globalThis.Number(object.pending_amount) : 0 };
|
|
85
|
+
},
|
|
86
|
+
toJSON(message) {
|
|
87
|
+
const obj = {};
|
|
88
|
+
if (message.pending_amount !== 0) {
|
|
89
|
+
obj.pending_amount = Math.round(message.pending_amount);
|
|
90
|
+
}
|
|
91
|
+
return obj;
|
|
92
|
+
},
|
|
93
|
+
create(base) {
|
|
94
|
+
return exports.getPendingEmiAmountResponse.fromPartial(base ?? {});
|
|
95
|
+
},
|
|
96
|
+
fromPartial(object) {
|
|
97
|
+
const message = createBasegetPendingEmiAmountResponse();
|
|
98
|
+
message.pending_amount = object.pending_amount ?? 0;
|
|
99
|
+
return message;
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
function isSet(value) {
|
|
103
|
+
return value !== null && value !== undefined;
|
|
104
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.getsummarystaticfields";
|
|
3
|
+
export interface getSummaryStaticFieldsRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface getSummaryStaticFieldsResponse {
|
|
6
|
+
emi_date_l: string;
|
|
7
|
+
emi_amount_l: string;
|
|
8
|
+
first_emi_date_l: string;
|
|
9
|
+
final_disbursal_amount_l: string;
|
|
10
|
+
upfront_interest_l: string;
|
|
11
|
+
processing_fees_l: string;
|
|
12
|
+
gst_l: string;
|
|
13
|
+
rate_of_interest_l: string;
|
|
14
|
+
early_foreclosure_fees_l: string;
|
|
15
|
+
convenience_fees_l: string;
|
|
16
|
+
total_interest_pay_l: string;
|
|
17
|
+
effective_annual_rate_l: string;
|
|
18
|
+
trans_fee_plus_gst_l: string;
|
|
19
|
+
processing_fee_plus_gst_l: string;
|
|
20
|
+
max_amount_l: string;
|
|
21
|
+
credit_report_fees_l: string;
|
|
22
|
+
fee_and_charges_l: string;
|
|
23
|
+
add_on_l: string;
|
|
24
|
+
total_loan_amount_l: string;
|
|
25
|
+
loan_amount_l: string;
|
|
26
|
+
disbursed_amount_l: string;
|
|
27
|
+
total_payable_amount_l: string;
|
|
28
|
+
disbursal_amount_l: string;
|
|
29
|
+
number_of_emi_l: string;
|
|
30
|
+
first_emi_amt_l: string;
|
|
31
|
+
subsequent_emi_l: string;
|
|
32
|
+
effective_roi_l: string;
|
|
33
|
+
effective_annual_roi_l: string;
|
|
34
|
+
insurance_l: string;
|
|
35
|
+
apr_title: string;
|
|
36
|
+
insurance_desc: getSummaryStaticFieldsResponse_Field[];
|
|
37
|
+
insurance_title: string;
|
|
38
|
+
upfront_interest_description: string;
|
|
39
|
+
bill_amount_l: string;
|
|
40
|
+
}
|
|
41
|
+
export interface getSummaryStaticFieldsResponse_Field {
|
|
42
|
+
title: string;
|
|
43
|
+
desc: string;
|
|
44
|
+
icon: string;
|
|
45
|
+
}
|
|
46
|
+
export declare const getSummaryStaticFieldsRequest: {
|
|
47
|
+
encode(_: getSummaryStaticFieldsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
48
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getSummaryStaticFieldsRequest;
|
|
49
|
+
fromJSON(_: any): getSummaryStaticFieldsRequest;
|
|
50
|
+
toJSON(_: getSummaryStaticFieldsRequest): unknown;
|
|
51
|
+
create<I extends Exact<DeepPartial<getSummaryStaticFieldsRequest>, I>>(base?: I): getSummaryStaticFieldsRequest;
|
|
52
|
+
fromPartial<I extends Exact<DeepPartial<getSummaryStaticFieldsRequest>, I>>(_: I): getSummaryStaticFieldsRequest;
|
|
53
|
+
};
|
|
54
|
+
export declare const getSummaryStaticFieldsResponse: {
|
|
55
|
+
encode(message: getSummaryStaticFieldsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
56
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getSummaryStaticFieldsResponse;
|
|
57
|
+
fromJSON(object: any): getSummaryStaticFieldsResponse;
|
|
58
|
+
toJSON(message: getSummaryStaticFieldsResponse): unknown;
|
|
59
|
+
create<I extends Exact<DeepPartial<getSummaryStaticFieldsResponse>, I>>(base?: I): getSummaryStaticFieldsResponse;
|
|
60
|
+
fromPartial<I extends Exact<DeepPartial<getSummaryStaticFieldsResponse>, I>>(object: I): getSummaryStaticFieldsResponse;
|
|
61
|
+
};
|
|
62
|
+
export declare const getSummaryStaticFieldsResponse_Field: {
|
|
63
|
+
encode(message: getSummaryStaticFieldsResponse_Field, writer?: _m0.Writer): _m0.Writer;
|
|
64
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getSummaryStaticFieldsResponse_Field;
|
|
65
|
+
fromJSON(object: any): getSummaryStaticFieldsResponse_Field;
|
|
66
|
+
toJSON(message: getSummaryStaticFieldsResponse_Field): unknown;
|
|
67
|
+
create<I extends Exact<DeepPartial<getSummaryStaticFieldsResponse_Field>, I>>(base?: I): getSummaryStaticFieldsResponse_Field;
|
|
68
|
+
fromPartial<I extends Exact<DeepPartial<getSummaryStaticFieldsResponse_Field>, I>>(object: I): getSummaryStaticFieldsResponse_Field;
|
|
69
|
+
};
|
|
70
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
71
|
+
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 {} ? {
|
|
72
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
73
|
+
} : Partial<T>;
|
|
74
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
75
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
76
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
77
|
+
} & {
|
|
78
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
79
|
+
};
|
|
80
|
+
export {};
|