@stashfin/grpc 1.2.169 → 1.2.171
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.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 +188 -0
- package/ts/bureau/getreport.js +1640 -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/addfathersname.d.ts +35 -0
- package/ts/customers/addfathersname.js +117 -0
- package/ts/customers/addgstnumber.d.ts +35 -0
- package/ts/customers/addgstnumber.js +117 -0
- package/ts/customers/addmoredetails.d.ts +47 -0
- package/ts/customers/addmoredetails.js +185 -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/bulksms.d.ts +48 -0
- package/ts/customers/bulksms.js +201 -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 +37 -0
- package/ts/customers/getbankaccountdetails.js +148 -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/getcompanyaccdetails.d.ts +37 -0
- package/ts/customers/getcompanyaccdetails.js +148 -0
- package/ts/customers/getcustomerbyid.d.ts +142 -0
- package/ts/customers/getcustomerbyid.js +1521 -0
- package/ts/customers/getdashboard.d.ts +88 -0
- package/ts/customers/getdashboard.js +574 -0
- package/ts/customers/getdashboardmaincard.d.ts +70 -0
- package/ts/customers/getdashboardmaincard.js +534 -0
- package/ts/customers/getdocuments.d.ts +46 -0
- package/ts/customers/getdocuments.js +174 -0
- package/ts/customers/getlimit.d.ts +37 -0
- package/ts/customers/getlimit.js +148 -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/logout.d.ts +34 -0
- package/ts/customers/logout.js +104 -0
- package/ts/customers/profilebasic.d.ts +40 -0
- package/ts/customers/profilebasic.js +189 -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/skipscreen.d.ts +44 -0
- package/ts/customers/skipscreen.js +162 -0
- package/ts/customers/updatecustomerbyid.d.ts +48 -0
- package/ts/customers/updatecustomerbyid.js +201 -0
- package/ts/customers/updatedlnumber.d.ts +35 -0
- package/ts/customers/updatedlnumber.js +119 -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/updatevehiclenumber.d.ts +35 -0
- package/ts/customers/updatevehiclenumber.js +117 -0
- package/ts/customers/uploaddocuments.d.ts +37 -0
- package/ts/customers/uploaddocuments.js +172 -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 +796 -0
- package/ts/customers.js +572 -0
- package/ts/example.d.ts +78 -0
- package/ts/example.js +199 -0
- package/ts/growth/processchrpayment.d.ts +40 -0
- package/ts/growth/processchrpayment.js +205 -0
- package/ts/growth.d.ts +28 -0
- package/ts/growth.js +24 -0
- package/ts/loans/approveloan.d.ts +81 -0
- package/ts/loans/approveloan.js +703 -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/getbilldetails.d.ts +38 -0
- package/ts/loans/getbilldetails.js +161 -0
- package/ts/loans/getcustomerloanstatus.d.ts +34 -0
- package/ts/loans/getcustomerloanstatus.js +104 -0
- package/ts/loans/getloanbyid.d.ts +48 -0
- package/ts/loans/getloanbyid.js +318 -0
- package/ts/loans/getnextdueamount.d.ts +34 -0
- package/ts/loans/getnextdueamount.js +104 -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 +38 -0
- package/ts/loans/paymentallocation.js +161 -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 +37 -0
- package/ts/loans/updateloan.js +147 -0
- package/ts/loans.d.ts +294 -0
- package/ts/loans.js +214 -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,188 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "bureau.getreport";
|
|
3
|
+
export interface bureauRequest {
|
|
4
|
+
customer_id: number;
|
|
5
|
+
range: number;
|
|
6
|
+
bureau_type: number;
|
|
7
|
+
source: string;
|
|
8
|
+
pull_type: number;
|
|
9
|
+
}
|
|
10
|
+
export interface bureauResponse {
|
|
11
|
+
status: string;
|
|
12
|
+
data?: Report | undefined;
|
|
13
|
+
}
|
|
14
|
+
export interface Report {
|
|
15
|
+
report_id: number;
|
|
16
|
+
score: number;
|
|
17
|
+
type: string;
|
|
18
|
+
tradelines: TradeLine[];
|
|
19
|
+
dpd: DPD | undefined;
|
|
20
|
+
enquiries: Enquiries | undefined;
|
|
21
|
+
dpd_char: dpdChar | undefined;
|
|
22
|
+
report_path?: string | undefined;
|
|
23
|
+
dpd_counts?: DPDCounts | undefined;
|
|
24
|
+
enquiries_data: EnquiriesData[];
|
|
25
|
+
}
|
|
26
|
+
export interface TradeLine {
|
|
27
|
+
id: number;
|
|
28
|
+
account_type: string;
|
|
29
|
+
current_balance: number;
|
|
30
|
+
date_closed?: string | undefined;
|
|
31
|
+
last_payment_date?: string | undefined;
|
|
32
|
+
disbursed_date?: string | undefined;
|
|
33
|
+
date_reported?: string | undefined;
|
|
34
|
+
sanctioned_amount?: number | undefined;
|
|
35
|
+
ownership_indicator?: string | undefined;
|
|
36
|
+
suit_filed: string;
|
|
37
|
+
overdue_amount?: number | undefined;
|
|
38
|
+
settled_status: string;
|
|
39
|
+
account_status?: string | undefined;
|
|
40
|
+
emi_amount?: number | undefined;
|
|
41
|
+
credit_limit?: number | undefined;
|
|
42
|
+
loan_type?: string | undefined;
|
|
43
|
+
written_off_amount?: number | undefined;
|
|
44
|
+
settlement_amount?: number | undefined;
|
|
45
|
+
}
|
|
46
|
+
export interface DPD {
|
|
47
|
+
month1: number;
|
|
48
|
+
month2: number;
|
|
49
|
+
month3: number;
|
|
50
|
+
month4: number;
|
|
51
|
+
month5: number;
|
|
52
|
+
month6: number;
|
|
53
|
+
month7: number;
|
|
54
|
+
month8: number;
|
|
55
|
+
month9: number;
|
|
56
|
+
month10: number;
|
|
57
|
+
month11: number;
|
|
58
|
+
month12: number;
|
|
59
|
+
month13: number;
|
|
60
|
+
month14: number;
|
|
61
|
+
month15: number;
|
|
62
|
+
month16: number;
|
|
63
|
+
month17: number;
|
|
64
|
+
month18: number;
|
|
65
|
+
month19: number;
|
|
66
|
+
month20: number;
|
|
67
|
+
month21: number;
|
|
68
|
+
month22: number;
|
|
69
|
+
month23: number;
|
|
70
|
+
month24: number;
|
|
71
|
+
}
|
|
72
|
+
export interface Enquiries {
|
|
73
|
+
month1: number;
|
|
74
|
+
month3: number;
|
|
75
|
+
month6: number;
|
|
76
|
+
month9: number;
|
|
77
|
+
month12: number;
|
|
78
|
+
month15: number;
|
|
79
|
+
month18: number;
|
|
80
|
+
month21: number;
|
|
81
|
+
month24: number;
|
|
82
|
+
}
|
|
83
|
+
export interface dpdChar {
|
|
84
|
+
month1: boolean;
|
|
85
|
+
month3: boolean;
|
|
86
|
+
month6: boolean;
|
|
87
|
+
month9: boolean;
|
|
88
|
+
month12: boolean;
|
|
89
|
+
month15: boolean;
|
|
90
|
+
month18: boolean;
|
|
91
|
+
month21: boolean;
|
|
92
|
+
month24: boolean;
|
|
93
|
+
}
|
|
94
|
+
export interface DPDCounts {
|
|
95
|
+
dpd1to30: number;
|
|
96
|
+
dpd36month: number;
|
|
97
|
+
dpd90_plus: number;
|
|
98
|
+
dpd31to90: number;
|
|
99
|
+
}
|
|
100
|
+
export interface EnquiriesData {
|
|
101
|
+
date_reported: string;
|
|
102
|
+
enquiry_purpose: number;
|
|
103
|
+
reporting_member: string;
|
|
104
|
+
loan_type?: string | undefined;
|
|
105
|
+
}
|
|
106
|
+
export declare const bureauRequest: {
|
|
107
|
+
encode(message: bureauRequest, writer?: _m0.Writer): _m0.Writer;
|
|
108
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): bureauRequest;
|
|
109
|
+
fromJSON(object: any): bureauRequest;
|
|
110
|
+
toJSON(message: bureauRequest): unknown;
|
|
111
|
+
create<I extends Exact<DeepPartial<bureauRequest>, I>>(base?: I): bureauRequest;
|
|
112
|
+
fromPartial<I extends Exact<DeepPartial<bureauRequest>, I>>(object: I): bureauRequest;
|
|
113
|
+
};
|
|
114
|
+
export declare const bureauResponse: {
|
|
115
|
+
encode(message: bureauResponse, writer?: _m0.Writer): _m0.Writer;
|
|
116
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): bureauResponse;
|
|
117
|
+
fromJSON(object: any): bureauResponse;
|
|
118
|
+
toJSON(message: bureauResponse): unknown;
|
|
119
|
+
create<I extends Exact<DeepPartial<bureauResponse>, I>>(base?: I): bureauResponse;
|
|
120
|
+
fromPartial<I extends Exact<DeepPartial<bureauResponse>, I>>(object: I): bureauResponse;
|
|
121
|
+
};
|
|
122
|
+
export declare const Report: {
|
|
123
|
+
encode(message: Report, writer?: _m0.Writer): _m0.Writer;
|
|
124
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Report;
|
|
125
|
+
fromJSON(object: any): Report;
|
|
126
|
+
toJSON(message: Report): unknown;
|
|
127
|
+
create<I extends Exact<DeepPartial<Report>, I>>(base?: I): Report;
|
|
128
|
+
fromPartial<I extends Exact<DeepPartial<Report>, I>>(object: I): Report;
|
|
129
|
+
};
|
|
130
|
+
export declare const TradeLine: {
|
|
131
|
+
encode(message: TradeLine, writer?: _m0.Writer): _m0.Writer;
|
|
132
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): TradeLine;
|
|
133
|
+
fromJSON(object: any): TradeLine;
|
|
134
|
+
toJSON(message: TradeLine): unknown;
|
|
135
|
+
create<I extends Exact<DeepPartial<TradeLine>, I>>(base?: I): TradeLine;
|
|
136
|
+
fromPartial<I extends Exact<DeepPartial<TradeLine>, I>>(object: I): TradeLine;
|
|
137
|
+
};
|
|
138
|
+
export declare const DPD: {
|
|
139
|
+
encode(message: DPD, writer?: _m0.Writer): _m0.Writer;
|
|
140
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DPD;
|
|
141
|
+
fromJSON(object: any): DPD;
|
|
142
|
+
toJSON(message: DPD): unknown;
|
|
143
|
+
create<I extends Exact<DeepPartial<DPD>, I>>(base?: I): DPD;
|
|
144
|
+
fromPartial<I extends Exact<DeepPartial<DPD>, I>>(object: I): DPD;
|
|
145
|
+
};
|
|
146
|
+
export declare const Enquiries: {
|
|
147
|
+
encode(message: Enquiries, writer?: _m0.Writer): _m0.Writer;
|
|
148
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Enquiries;
|
|
149
|
+
fromJSON(object: any): Enquiries;
|
|
150
|
+
toJSON(message: Enquiries): unknown;
|
|
151
|
+
create<I extends Exact<DeepPartial<Enquiries>, I>>(base?: I): Enquiries;
|
|
152
|
+
fromPartial<I extends Exact<DeepPartial<Enquiries>, I>>(object: I): Enquiries;
|
|
153
|
+
};
|
|
154
|
+
export declare const dpdChar: {
|
|
155
|
+
encode(message: dpdChar, writer?: _m0.Writer): _m0.Writer;
|
|
156
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): dpdChar;
|
|
157
|
+
fromJSON(object: any): dpdChar;
|
|
158
|
+
toJSON(message: dpdChar): unknown;
|
|
159
|
+
create<I extends Exact<DeepPartial<dpdChar>, I>>(base?: I): dpdChar;
|
|
160
|
+
fromPartial<I extends Exact<DeepPartial<dpdChar>, I>>(object: I): dpdChar;
|
|
161
|
+
};
|
|
162
|
+
export declare const DPDCounts: {
|
|
163
|
+
encode(message: DPDCounts, writer?: _m0.Writer): _m0.Writer;
|
|
164
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): DPDCounts;
|
|
165
|
+
fromJSON(object: any): DPDCounts;
|
|
166
|
+
toJSON(message: DPDCounts): unknown;
|
|
167
|
+
create<I extends Exact<DeepPartial<DPDCounts>, I>>(base?: I): DPDCounts;
|
|
168
|
+
fromPartial<I extends Exact<DeepPartial<DPDCounts>, I>>(object: I): DPDCounts;
|
|
169
|
+
};
|
|
170
|
+
export declare const EnquiriesData: {
|
|
171
|
+
encode(message: EnquiriesData, writer?: _m0.Writer): _m0.Writer;
|
|
172
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): EnquiriesData;
|
|
173
|
+
fromJSON(object: any): EnquiriesData;
|
|
174
|
+
toJSON(message: EnquiriesData): unknown;
|
|
175
|
+
create<I extends Exact<DeepPartial<EnquiriesData>, I>>(base?: I): EnquiriesData;
|
|
176
|
+
fromPartial<I extends Exact<DeepPartial<EnquiriesData>, I>>(object: I): EnquiriesData;
|
|
177
|
+
};
|
|
178
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
179
|
+
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 {} ? {
|
|
180
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
181
|
+
} : Partial<T>;
|
|
182
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
183
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
184
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
185
|
+
} & {
|
|
186
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
187
|
+
};
|
|
188
|
+
export {};
|