@stashfin/grpc 1.2.94 → 1.2.96
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 +101 -0
- package/ts/bureau/getdemogs.js +547 -0
- package/ts/bureau/getreport.d.ts +157 -0
- package/ts/bureau/getreport.js +1403 -0
- package/ts/bureau.d.ts +35 -7
- package/ts/bureau.js +27 -7
- 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.d.ts +25 -11
- package/ts/customers.js +17 -7
- package/ts/loans/approveloan.d.ts +1 -0
- package/ts/loans/approveloan.js +15 -1
- package/ts/loans/creditlimit.d.ts +0 -6
- package/ts/loans/creditlimit.js +5 -107
- package/ts/loans/getstaticfields.d.ts +86 -0
- package/ts/loans/getstaticfields.js +801 -0
- package/ts/loans.d.ts +14 -0
- package/ts/loans.js +10 -0
package/ts/loans/creditlimit.js
CHANGED
|
@@ -61,12 +61,6 @@ function createBasecreditLimitResponse() {
|
|
|
61
61
|
request_max_percentage: 0,
|
|
62
62
|
bill_date: "",
|
|
63
63
|
minimum_request_amount: 0,
|
|
64
|
-
sanctioned_limit_info_popup_heading: "",
|
|
65
|
-
sanctioned_limit_info_popup_body: "",
|
|
66
|
-
exposure_limit_info_popup_heading: "",
|
|
67
|
-
exposure_limit_info_popup_body: "",
|
|
68
|
-
sanctioned_limit_heading: "",
|
|
69
|
-
exposure_limit_heading: "",
|
|
70
64
|
sanctioned_limit: 0,
|
|
71
65
|
remaining_sanctioned_limit: 0,
|
|
72
66
|
};
|
|
@@ -103,29 +97,11 @@ exports.creditLimitResponse = {
|
|
|
103
97
|
if (message.minimum_request_amount !== 0) {
|
|
104
98
|
writer.uint32(80).int32(message.minimum_request_amount);
|
|
105
99
|
}
|
|
106
|
-
if (message.sanctioned_limit_info_popup_heading !== "") {
|
|
107
|
-
writer.uint32(90).string(message.sanctioned_limit_info_popup_heading);
|
|
108
|
-
}
|
|
109
|
-
if (message.sanctioned_limit_info_popup_body !== "") {
|
|
110
|
-
writer.uint32(98).string(message.sanctioned_limit_info_popup_body);
|
|
111
|
-
}
|
|
112
|
-
if (message.exposure_limit_info_popup_heading !== "") {
|
|
113
|
-
writer.uint32(106).string(message.exposure_limit_info_popup_heading);
|
|
114
|
-
}
|
|
115
|
-
if (message.exposure_limit_info_popup_body !== "") {
|
|
116
|
-
writer.uint32(114).string(message.exposure_limit_info_popup_body);
|
|
117
|
-
}
|
|
118
|
-
if (message.sanctioned_limit_heading !== "") {
|
|
119
|
-
writer.uint32(122).string(message.sanctioned_limit_heading);
|
|
120
|
-
}
|
|
121
|
-
if (message.exposure_limit_heading !== "") {
|
|
122
|
-
writer.uint32(130).string(message.exposure_limit_heading);
|
|
123
|
-
}
|
|
124
100
|
if (message.sanctioned_limit !== 0) {
|
|
125
|
-
writer.uint32(
|
|
101
|
+
writer.uint32(88).int32(message.sanctioned_limit);
|
|
126
102
|
}
|
|
127
103
|
if (message.remaining_sanctioned_limit !== 0) {
|
|
128
|
-
writer.uint32(
|
|
104
|
+
writer.uint32(96).int32(message.remaining_sanctioned_limit);
|
|
129
105
|
}
|
|
130
106
|
return writer;
|
|
131
107
|
},
|
|
@@ -197,49 +173,13 @@ exports.creditLimitResponse = {
|
|
|
197
173
|
message.minimum_request_amount = reader.int32();
|
|
198
174
|
continue;
|
|
199
175
|
case 11:
|
|
200
|
-
if (tag !==
|
|
201
|
-
break;
|
|
202
|
-
}
|
|
203
|
-
message.sanctioned_limit_info_popup_heading = reader.string();
|
|
204
|
-
continue;
|
|
205
|
-
case 12:
|
|
206
|
-
if (tag !== 98) {
|
|
207
|
-
break;
|
|
208
|
-
}
|
|
209
|
-
message.sanctioned_limit_info_popup_body = reader.string();
|
|
210
|
-
continue;
|
|
211
|
-
case 13:
|
|
212
|
-
if (tag !== 106) {
|
|
213
|
-
break;
|
|
214
|
-
}
|
|
215
|
-
message.exposure_limit_info_popup_heading = reader.string();
|
|
216
|
-
continue;
|
|
217
|
-
case 14:
|
|
218
|
-
if (tag !== 114) {
|
|
219
|
-
break;
|
|
220
|
-
}
|
|
221
|
-
message.exposure_limit_info_popup_body = reader.string();
|
|
222
|
-
continue;
|
|
223
|
-
case 15:
|
|
224
|
-
if (tag !== 122) {
|
|
225
|
-
break;
|
|
226
|
-
}
|
|
227
|
-
message.sanctioned_limit_heading = reader.string();
|
|
228
|
-
continue;
|
|
229
|
-
case 16:
|
|
230
|
-
if (tag !== 130) {
|
|
231
|
-
break;
|
|
232
|
-
}
|
|
233
|
-
message.exposure_limit_heading = reader.string();
|
|
234
|
-
continue;
|
|
235
|
-
case 17:
|
|
236
|
-
if (tag !== 136) {
|
|
176
|
+
if (tag !== 88) {
|
|
237
177
|
break;
|
|
238
178
|
}
|
|
239
179
|
message.sanctioned_limit = reader.int32();
|
|
240
180
|
continue;
|
|
241
|
-
case
|
|
242
|
-
if (tag !==
|
|
181
|
+
case 12:
|
|
182
|
+
if (tag !== 96) {
|
|
243
183
|
break;
|
|
244
184
|
}
|
|
245
185
|
message.remaining_sanctioned_limit = reader.int32();
|
|
@@ -268,24 +208,6 @@ exports.creditLimitResponse = {
|
|
|
268
208
|
minimum_request_amount: isSet(object.minimum_request_amount)
|
|
269
209
|
? globalThis.Number(object.minimum_request_amount)
|
|
270
210
|
: 0,
|
|
271
|
-
sanctioned_limit_info_popup_heading: isSet(object.sanctioned_limit_info_popup_heading)
|
|
272
|
-
? globalThis.String(object.sanctioned_limit_info_popup_heading)
|
|
273
|
-
: "",
|
|
274
|
-
sanctioned_limit_info_popup_body: isSet(object.sanctioned_limit_info_popup_body)
|
|
275
|
-
? globalThis.String(object.sanctioned_limit_info_popup_body)
|
|
276
|
-
: "",
|
|
277
|
-
exposure_limit_info_popup_heading: isSet(object.exposure_limit_info_popup_heading)
|
|
278
|
-
? globalThis.String(object.exposure_limit_info_popup_heading)
|
|
279
|
-
: "",
|
|
280
|
-
exposure_limit_info_popup_body: isSet(object.exposure_limit_info_popup_body)
|
|
281
|
-
? globalThis.String(object.exposure_limit_info_popup_body)
|
|
282
|
-
: "",
|
|
283
|
-
sanctioned_limit_heading: isSet(object.sanctioned_limit_heading)
|
|
284
|
-
? globalThis.String(object.sanctioned_limit_heading)
|
|
285
|
-
: "",
|
|
286
|
-
exposure_limit_heading: isSet(object.exposure_limit_heading)
|
|
287
|
-
? globalThis.String(object.exposure_limit_heading)
|
|
288
|
-
: "",
|
|
289
211
|
sanctioned_limit: isSet(object.sanctioned_limit) ? globalThis.Number(object.sanctioned_limit) : 0,
|
|
290
212
|
remaining_sanctioned_limit: isSet(object.remaining_sanctioned_limit)
|
|
291
213
|
? globalThis.Number(object.remaining_sanctioned_limit)
|
|
@@ -324,24 +246,6 @@ exports.creditLimitResponse = {
|
|
|
324
246
|
if (message.minimum_request_amount !== 0) {
|
|
325
247
|
obj.minimum_request_amount = Math.round(message.minimum_request_amount);
|
|
326
248
|
}
|
|
327
|
-
if (message.sanctioned_limit_info_popup_heading !== "") {
|
|
328
|
-
obj.sanctioned_limit_info_popup_heading = message.sanctioned_limit_info_popup_heading;
|
|
329
|
-
}
|
|
330
|
-
if (message.sanctioned_limit_info_popup_body !== "") {
|
|
331
|
-
obj.sanctioned_limit_info_popup_body = message.sanctioned_limit_info_popup_body;
|
|
332
|
-
}
|
|
333
|
-
if (message.exposure_limit_info_popup_heading !== "") {
|
|
334
|
-
obj.exposure_limit_info_popup_heading = message.exposure_limit_info_popup_heading;
|
|
335
|
-
}
|
|
336
|
-
if (message.exposure_limit_info_popup_body !== "") {
|
|
337
|
-
obj.exposure_limit_info_popup_body = message.exposure_limit_info_popup_body;
|
|
338
|
-
}
|
|
339
|
-
if (message.sanctioned_limit_heading !== "") {
|
|
340
|
-
obj.sanctioned_limit_heading = message.sanctioned_limit_heading;
|
|
341
|
-
}
|
|
342
|
-
if (message.exposure_limit_heading !== "") {
|
|
343
|
-
obj.exposure_limit_heading = message.exposure_limit_heading;
|
|
344
|
-
}
|
|
345
249
|
if (message.sanctioned_limit !== 0) {
|
|
346
250
|
obj.sanctioned_limit = Math.round(message.sanctioned_limit);
|
|
347
251
|
}
|
|
@@ -365,12 +269,6 @@ exports.creditLimitResponse = {
|
|
|
365
269
|
message.request_max_percentage = object.request_max_percentage ?? 0;
|
|
366
270
|
message.bill_date = object.bill_date ?? "";
|
|
367
271
|
message.minimum_request_amount = object.minimum_request_amount ?? 0;
|
|
368
|
-
message.sanctioned_limit_info_popup_heading = object.sanctioned_limit_info_popup_heading ?? "";
|
|
369
|
-
message.sanctioned_limit_info_popup_body = object.sanctioned_limit_info_popup_body ?? "";
|
|
370
|
-
message.exposure_limit_info_popup_heading = object.exposure_limit_info_popup_heading ?? "";
|
|
371
|
-
message.exposure_limit_info_popup_body = object.exposure_limit_info_popup_body ?? "";
|
|
372
|
-
message.sanctioned_limit_heading = object.sanctioned_limit_heading ?? "";
|
|
373
|
-
message.exposure_limit_heading = object.exposure_limit_heading ?? "";
|
|
374
272
|
message.sanctioned_limit = object.sanctioned_limit ?? 0;
|
|
375
273
|
message.remaining_sanctioned_limit = object.remaining_sanctioned_limit ?? 0;
|
|
376
274
|
return message;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.getstaticfields";
|
|
3
|
+
export interface getStaticFieldsRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface getStaticFieldsResponse {
|
|
6
|
+
sanctioned_limit_info_popup_heading: string;
|
|
7
|
+
sanctioned_limit_info_popup_body: string;
|
|
8
|
+
exposure_limit_info_popup_heading: string;
|
|
9
|
+
exposure_limit_info_popup_body: string;
|
|
10
|
+
sanctioned_limit_heading: string;
|
|
11
|
+
exposure_limit_heading: string;
|
|
12
|
+
emi_date_l: string;
|
|
13
|
+
emi_amount_l: string;
|
|
14
|
+
first_emi_date_l: string;
|
|
15
|
+
final_disbursal_amount_l: string;
|
|
16
|
+
upfront_interest_l: string;
|
|
17
|
+
processing_fees_l: string;
|
|
18
|
+
gst_l: string;
|
|
19
|
+
rate_of_interest_l: string;
|
|
20
|
+
bill_amount_l: string;
|
|
21
|
+
early_foreclosure_fees_l: string;
|
|
22
|
+
convenience_fees_l: string;
|
|
23
|
+
total_interest_pay_l: string;
|
|
24
|
+
effective_annual_rate_l: string;
|
|
25
|
+
trans_fee_plus_gst_l: string;
|
|
26
|
+
processing_fee_plus_gst_l: string;
|
|
27
|
+
max_amount_l: string;
|
|
28
|
+
credit_report_fees_l: string;
|
|
29
|
+
fee_and_charges_l: string;
|
|
30
|
+
add_on_l: string;
|
|
31
|
+
total_loan_amount_l: string;
|
|
32
|
+
loan_amount_l: string;
|
|
33
|
+
disbursed_amount_l: string;
|
|
34
|
+
total_payable_amount_l: string;
|
|
35
|
+
disbursal_amount_l: string;
|
|
36
|
+
number_of_emi_l: string;
|
|
37
|
+
first_emi_amt_l: string;
|
|
38
|
+
subsequent_emi_l: string;
|
|
39
|
+
effective_roi_l: string;
|
|
40
|
+
effective_annual_roi_l: string;
|
|
41
|
+
insurance_l: string;
|
|
42
|
+
apr_title: string;
|
|
43
|
+
insurance_desc: getStaticFieldsResponse_Field[];
|
|
44
|
+
insurance_title: string;
|
|
45
|
+
upfront_interest_description: string;
|
|
46
|
+
}
|
|
47
|
+
export interface getStaticFieldsResponse_Field {
|
|
48
|
+
title: string;
|
|
49
|
+
desc: string;
|
|
50
|
+
icon: string;
|
|
51
|
+
}
|
|
52
|
+
export declare const getStaticFieldsRequest: {
|
|
53
|
+
encode(_: getStaticFieldsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
54
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getStaticFieldsRequest;
|
|
55
|
+
fromJSON(_: any): getStaticFieldsRequest;
|
|
56
|
+
toJSON(_: getStaticFieldsRequest): unknown;
|
|
57
|
+
create<I extends Exact<DeepPartial<getStaticFieldsRequest>, I>>(base?: I): getStaticFieldsRequest;
|
|
58
|
+
fromPartial<I extends Exact<DeepPartial<getStaticFieldsRequest>, I>>(_: I): getStaticFieldsRequest;
|
|
59
|
+
};
|
|
60
|
+
export declare const getStaticFieldsResponse: {
|
|
61
|
+
encode(message: getStaticFieldsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
62
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getStaticFieldsResponse;
|
|
63
|
+
fromJSON(object: any): getStaticFieldsResponse;
|
|
64
|
+
toJSON(message: getStaticFieldsResponse): unknown;
|
|
65
|
+
create<I extends Exact<DeepPartial<getStaticFieldsResponse>, I>>(base?: I): getStaticFieldsResponse;
|
|
66
|
+
fromPartial<I extends Exact<DeepPartial<getStaticFieldsResponse>, I>>(object: I): getStaticFieldsResponse;
|
|
67
|
+
};
|
|
68
|
+
export declare const getStaticFieldsResponse_Field: {
|
|
69
|
+
encode(message: getStaticFieldsResponse_Field, writer?: _m0.Writer): _m0.Writer;
|
|
70
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getStaticFieldsResponse_Field;
|
|
71
|
+
fromJSON(object: any): getStaticFieldsResponse_Field;
|
|
72
|
+
toJSON(message: getStaticFieldsResponse_Field): unknown;
|
|
73
|
+
create<I extends Exact<DeepPartial<getStaticFieldsResponse_Field>, I>>(base?: I): getStaticFieldsResponse_Field;
|
|
74
|
+
fromPartial<I extends Exact<DeepPartial<getStaticFieldsResponse_Field>, I>>(object: I): getStaticFieldsResponse_Field;
|
|
75
|
+
};
|
|
76
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
77
|
+
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 {} ? {
|
|
78
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
79
|
+
} : Partial<T>;
|
|
80
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
81
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
82
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
83
|
+
} & {
|
|
84
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
85
|
+
};
|
|
86
|
+
export {};
|