@stashfin/grpc 1.2.857 → 1.2.858
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/loans/getlocdetails.d.ts +27 -27
- package/ts/loans/getlocdetails.js +135 -143
package/package.json
CHANGED
|
@@ -28,12 +28,12 @@ export interface GetLocDetailsResponse {
|
|
|
28
28
|
loan_id: string;
|
|
29
29
|
rate_of_interest: number;
|
|
30
30
|
bill_amount?: string | undefined;
|
|
31
|
-
early_foreclosure_fees
|
|
32
|
-
convenience_fees
|
|
33
|
-
total_interest_pay
|
|
34
|
-
effective_annual_rate
|
|
35
|
-
transaction_rate
|
|
36
|
-
transaction_fee_amount
|
|
31
|
+
early_foreclosure_fees: number;
|
|
32
|
+
convenience_fees: number;
|
|
33
|
+
total_interest_pay: number;
|
|
34
|
+
effective_annual_rate: number;
|
|
35
|
+
transaction_rate: number;
|
|
36
|
+
transaction_fee_amount: number;
|
|
37
37
|
emi_date_l: string;
|
|
38
38
|
emi_amount_l: string;
|
|
39
39
|
first_emi_date_l: string;
|
|
@@ -42,8 +42,8 @@ export interface GetLocDetailsResponse {
|
|
|
42
42
|
processing_fees_l: string;
|
|
43
43
|
gst_l: string;
|
|
44
44
|
rate_of_interest_l: string;
|
|
45
|
-
trans_fee_plus_gst
|
|
46
|
-
processing_fee_plus_gst
|
|
45
|
+
trans_fee_plus_gst: number;
|
|
46
|
+
processing_fee_plus_gst: number;
|
|
47
47
|
bill_amount_l: string;
|
|
48
48
|
early_foreclosure_fees_l: string;
|
|
49
49
|
convenience_fees_l: string;
|
|
@@ -54,41 +54,41 @@ export interface GetLocDetailsResponse {
|
|
|
54
54
|
max_amount_l: string;
|
|
55
55
|
credit_report_fees_l: string;
|
|
56
56
|
fee_and_charges_l: string;
|
|
57
|
-
fee_and_charges
|
|
57
|
+
fee_and_charges: number;
|
|
58
58
|
add_on_l: string;
|
|
59
59
|
total_loan_amount_l: string;
|
|
60
60
|
loan_amount_l: string;
|
|
61
61
|
disbursed_amount_l: string;
|
|
62
62
|
total_payable_amount_l: string;
|
|
63
63
|
disbursal_amount_l: string;
|
|
64
|
-
fcp_interest
|
|
64
|
+
fcp_interest: number;
|
|
65
65
|
number_of_emi_l: string;
|
|
66
66
|
first_emi_amt_l: string;
|
|
67
67
|
subsequent_emi_l: string;
|
|
68
|
-
effective_roi
|
|
68
|
+
effective_roi: number;
|
|
69
69
|
effective_roi_l: string;
|
|
70
|
-
effective_annual_roi
|
|
70
|
+
effective_annual_roi: number;
|
|
71
71
|
effective_annual_roi_l: string;
|
|
72
72
|
insurance_l: string;
|
|
73
73
|
emi_card_description: string;
|
|
74
74
|
bill_card_description: string;
|
|
75
75
|
installment_amounts: string;
|
|
76
|
-
apr_title
|
|
77
|
-
apr_value
|
|
78
|
-
apr_type
|
|
79
|
-
credit_line_details_sheet
|
|
80
|
-
Acknowledgement
|
|
81
|
-
payment_undertaking
|
|
82
|
-
key_fact_statement
|
|
83
|
-
sanction_letter
|
|
84
|
-
financing_documents
|
|
85
|
-
max_amount
|
|
86
|
-
credit_report_fees
|
|
87
|
-
credit_report_actual_fees
|
|
88
|
-
plan_id
|
|
89
|
-
insurance_title
|
|
76
|
+
apr_title: string;
|
|
77
|
+
apr_value: string;
|
|
78
|
+
apr_type: string;
|
|
79
|
+
credit_line_details_sheet: string;
|
|
80
|
+
Acknowledgement: string;
|
|
81
|
+
payment_undertaking: string;
|
|
82
|
+
key_fact_statement: string;
|
|
83
|
+
sanction_letter: string;
|
|
84
|
+
financing_documents: string;
|
|
85
|
+
max_amount: number;
|
|
86
|
+
credit_report_fees: number;
|
|
87
|
+
credit_report_actual_fees: number;
|
|
88
|
+
plan_id: string;
|
|
89
|
+
insurance_title: string;
|
|
90
90
|
insurance_desc: InsuranceDescItem[];
|
|
91
|
-
upfront_interest_description
|
|
91
|
+
upfront_interest_description: string;
|
|
92
92
|
}
|
|
93
93
|
export declare const GetLocDetailsRequest: {
|
|
94
94
|
encode(message: GetLocDetailsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -219,12 +219,12 @@ function createBaseGetLocDetailsResponse() {
|
|
|
219
219
|
loan_id: "",
|
|
220
220
|
rate_of_interest: 0,
|
|
221
221
|
bill_amount: undefined,
|
|
222
|
-
early_foreclosure_fees:
|
|
223
|
-
convenience_fees:
|
|
224
|
-
total_interest_pay:
|
|
225
|
-
effective_annual_rate:
|
|
226
|
-
transaction_rate:
|
|
227
|
-
transaction_fee_amount:
|
|
222
|
+
early_foreclosure_fees: 0,
|
|
223
|
+
convenience_fees: 0,
|
|
224
|
+
total_interest_pay: 0,
|
|
225
|
+
effective_annual_rate: 0,
|
|
226
|
+
transaction_rate: 0,
|
|
227
|
+
transaction_fee_amount: 0,
|
|
228
228
|
emi_date_l: "",
|
|
229
229
|
emi_amount_l: "",
|
|
230
230
|
first_emi_date_l: "",
|
|
@@ -233,8 +233,8 @@ function createBaseGetLocDetailsResponse() {
|
|
|
233
233
|
processing_fees_l: "",
|
|
234
234
|
gst_l: "",
|
|
235
235
|
rate_of_interest_l: "",
|
|
236
|
-
trans_fee_plus_gst:
|
|
237
|
-
processing_fee_plus_gst:
|
|
236
|
+
trans_fee_plus_gst: 0,
|
|
237
|
+
processing_fee_plus_gst: 0,
|
|
238
238
|
bill_amount_l: "",
|
|
239
239
|
early_foreclosure_fees_l: "",
|
|
240
240
|
convenience_fees_l: "",
|
|
@@ -245,41 +245,41 @@ function createBaseGetLocDetailsResponse() {
|
|
|
245
245
|
max_amount_l: "",
|
|
246
246
|
credit_report_fees_l: "",
|
|
247
247
|
fee_and_charges_l: "",
|
|
248
|
-
fee_and_charges:
|
|
248
|
+
fee_and_charges: 0,
|
|
249
249
|
add_on_l: "",
|
|
250
250
|
total_loan_amount_l: "",
|
|
251
251
|
loan_amount_l: "",
|
|
252
252
|
disbursed_amount_l: "",
|
|
253
253
|
total_payable_amount_l: "",
|
|
254
254
|
disbursal_amount_l: "",
|
|
255
|
-
fcp_interest:
|
|
255
|
+
fcp_interest: 0,
|
|
256
256
|
number_of_emi_l: "",
|
|
257
257
|
first_emi_amt_l: "",
|
|
258
258
|
subsequent_emi_l: "",
|
|
259
|
-
effective_roi:
|
|
259
|
+
effective_roi: 0,
|
|
260
260
|
effective_roi_l: "",
|
|
261
|
-
effective_annual_roi:
|
|
261
|
+
effective_annual_roi: 0,
|
|
262
262
|
effective_annual_roi_l: "",
|
|
263
263
|
insurance_l: "",
|
|
264
264
|
emi_card_description: "",
|
|
265
265
|
bill_card_description: "",
|
|
266
266
|
installment_amounts: "",
|
|
267
|
-
apr_title:
|
|
268
|
-
apr_value:
|
|
269
|
-
apr_type:
|
|
270
|
-
credit_line_details_sheet:
|
|
271
|
-
Acknowledgement:
|
|
272
|
-
payment_undertaking:
|
|
273
|
-
key_fact_statement:
|
|
274
|
-
sanction_letter:
|
|
275
|
-
financing_documents:
|
|
276
|
-
max_amount:
|
|
277
|
-
credit_report_fees:
|
|
278
|
-
credit_report_actual_fees:
|
|
279
|
-
plan_id:
|
|
280
|
-
insurance_title:
|
|
267
|
+
apr_title: "",
|
|
268
|
+
apr_value: "",
|
|
269
|
+
apr_type: "",
|
|
270
|
+
credit_line_details_sheet: "",
|
|
271
|
+
Acknowledgement: "",
|
|
272
|
+
payment_undertaking: "",
|
|
273
|
+
key_fact_statement: "",
|
|
274
|
+
sanction_letter: "",
|
|
275
|
+
financing_documents: "",
|
|
276
|
+
max_amount: 0,
|
|
277
|
+
credit_report_fees: 0,
|
|
278
|
+
credit_report_actual_fees: 0,
|
|
279
|
+
plan_id: "",
|
|
280
|
+
insurance_title: "",
|
|
281
281
|
insurance_desc: [],
|
|
282
|
-
upfront_interest_description:
|
|
282
|
+
upfront_interest_description: "",
|
|
283
283
|
};
|
|
284
284
|
}
|
|
285
285
|
exports.GetLocDetailsResponse = {
|
|
@@ -329,22 +329,22 @@ exports.GetLocDetailsResponse = {
|
|
|
329
329
|
if (message.bill_amount !== undefined) {
|
|
330
330
|
writer.uint32(122).string(message.bill_amount);
|
|
331
331
|
}
|
|
332
|
-
if (message.early_foreclosure_fees !==
|
|
332
|
+
if (message.early_foreclosure_fees !== 0) {
|
|
333
333
|
writer.uint32(128).int32(message.early_foreclosure_fees);
|
|
334
334
|
}
|
|
335
|
-
if (message.convenience_fees !==
|
|
335
|
+
if (message.convenience_fees !== 0) {
|
|
336
336
|
writer.uint32(136).int32(message.convenience_fees);
|
|
337
337
|
}
|
|
338
|
-
if (message.total_interest_pay !==
|
|
338
|
+
if (message.total_interest_pay !== 0) {
|
|
339
339
|
writer.uint32(144).int32(message.total_interest_pay);
|
|
340
340
|
}
|
|
341
|
-
if (message.effective_annual_rate !==
|
|
341
|
+
if (message.effective_annual_rate !== 0) {
|
|
342
342
|
writer.uint32(157).float(message.effective_annual_rate);
|
|
343
343
|
}
|
|
344
|
-
if (message.transaction_rate !==
|
|
344
|
+
if (message.transaction_rate !== 0) {
|
|
345
345
|
writer.uint32(165).float(message.transaction_rate);
|
|
346
346
|
}
|
|
347
|
-
if (message.transaction_fee_amount !==
|
|
347
|
+
if (message.transaction_fee_amount !== 0) {
|
|
348
348
|
writer.uint32(168).int32(message.transaction_fee_amount);
|
|
349
349
|
}
|
|
350
350
|
if (message.emi_date_l !== "") {
|
|
@@ -371,10 +371,10 @@ exports.GetLocDetailsResponse = {
|
|
|
371
371
|
if (message.rate_of_interest_l !== "") {
|
|
372
372
|
writer.uint32(234).string(message.rate_of_interest_l);
|
|
373
373
|
}
|
|
374
|
-
if (message.trans_fee_plus_gst !==
|
|
374
|
+
if (message.trans_fee_plus_gst !== 0) {
|
|
375
375
|
writer.uint32(240).int32(message.trans_fee_plus_gst);
|
|
376
376
|
}
|
|
377
|
-
if (message.processing_fee_plus_gst !==
|
|
377
|
+
if (message.processing_fee_plus_gst !== 0) {
|
|
378
378
|
writer.uint32(248).int32(message.processing_fee_plus_gst);
|
|
379
379
|
}
|
|
380
380
|
if (message.bill_amount_l !== "") {
|
|
@@ -407,7 +407,7 @@ exports.GetLocDetailsResponse = {
|
|
|
407
407
|
if (message.fee_and_charges_l !== "") {
|
|
408
408
|
writer.uint32(330).string(message.fee_and_charges_l);
|
|
409
409
|
}
|
|
410
|
-
if (message.fee_and_charges !==
|
|
410
|
+
if (message.fee_and_charges !== 0) {
|
|
411
411
|
writer.uint32(336).int32(message.fee_and_charges);
|
|
412
412
|
}
|
|
413
413
|
if (message.add_on_l !== "") {
|
|
@@ -428,7 +428,7 @@ exports.GetLocDetailsResponse = {
|
|
|
428
428
|
if (message.disbursal_amount_l !== "") {
|
|
429
429
|
writer.uint32(386).string(message.disbursal_amount_l);
|
|
430
430
|
}
|
|
431
|
-
if (message.fcp_interest !==
|
|
431
|
+
if (message.fcp_interest !== 0) {
|
|
432
432
|
writer.uint32(392).int32(message.fcp_interest);
|
|
433
433
|
}
|
|
434
434
|
if (message.number_of_emi_l !== "") {
|
|
@@ -440,13 +440,13 @@ exports.GetLocDetailsResponse = {
|
|
|
440
440
|
if (message.subsequent_emi_l !== "") {
|
|
441
441
|
writer.uint32(418).string(message.subsequent_emi_l);
|
|
442
442
|
}
|
|
443
|
-
if (message.effective_roi !==
|
|
443
|
+
if (message.effective_roi !== 0) {
|
|
444
444
|
writer.uint32(429).float(message.effective_roi);
|
|
445
445
|
}
|
|
446
446
|
if (message.effective_roi_l !== "") {
|
|
447
447
|
writer.uint32(434).string(message.effective_roi_l);
|
|
448
448
|
}
|
|
449
|
-
if (message.effective_annual_roi !==
|
|
449
|
+
if (message.effective_annual_roi !== 0) {
|
|
450
450
|
writer.uint32(445).float(message.effective_annual_roi);
|
|
451
451
|
}
|
|
452
452
|
if (message.effective_annual_roi_l !== "") {
|
|
@@ -464,52 +464,52 @@ exports.GetLocDetailsResponse = {
|
|
|
464
464
|
if (message.installment_amounts !== "") {
|
|
465
465
|
writer.uint32(482).string(message.installment_amounts);
|
|
466
466
|
}
|
|
467
|
-
if (message.apr_title !==
|
|
467
|
+
if (message.apr_title !== "") {
|
|
468
468
|
writer.uint32(490).string(message.apr_title);
|
|
469
469
|
}
|
|
470
|
-
if (message.apr_value !==
|
|
470
|
+
if (message.apr_value !== "") {
|
|
471
471
|
writer.uint32(498).string(message.apr_value);
|
|
472
472
|
}
|
|
473
|
-
if (message.apr_type !==
|
|
473
|
+
if (message.apr_type !== "") {
|
|
474
474
|
writer.uint32(506).string(message.apr_type);
|
|
475
475
|
}
|
|
476
|
-
if (message.credit_line_details_sheet !==
|
|
476
|
+
if (message.credit_line_details_sheet !== "") {
|
|
477
477
|
writer.uint32(514).string(message.credit_line_details_sheet);
|
|
478
478
|
}
|
|
479
|
-
if (message.Acknowledgement !==
|
|
479
|
+
if (message.Acknowledgement !== "") {
|
|
480
480
|
writer.uint32(522).string(message.Acknowledgement);
|
|
481
481
|
}
|
|
482
|
-
if (message.payment_undertaking !==
|
|
482
|
+
if (message.payment_undertaking !== "") {
|
|
483
483
|
writer.uint32(530).string(message.payment_undertaking);
|
|
484
484
|
}
|
|
485
|
-
if (message.key_fact_statement !==
|
|
485
|
+
if (message.key_fact_statement !== "") {
|
|
486
486
|
writer.uint32(538).string(message.key_fact_statement);
|
|
487
487
|
}
|
|
488
|
-
if (message.sanction_letter !==
|
|
488
|
+
if (message.sanction_letter !== "") {
|
|
489
489
|
writer.uint32(546).string(message.sanction_letter);
|
|
490
490
|
}
|
|
491
|
-
if (message.financing_documents !==
|
|
491
|
+
if (message.financing_documents !== "") {
|
|
492
492
|
writer.uint32(554).string(message.financing_documents);
|
|
493
493
|
}
|
|
494
|
-
if (message.max_amount !==
|
|
494
|
+
if (message.max_amount !== 0) {
|
|
495
495
|
writer.uint32(560).int32(message.max_amount);
|
|
496
496
|
}
|
|
497
|
-
if (message.credit_report_fees !==
|
|
497
|
+
if (message.credit_report_fees !== 0) {
|
|
498
498
|
writer.uint32(568).int32(message.credit_report_fees);
|
|
499
499
|
}
|
|
500
|
-
if (message.credit_report_actual_fees !==
|
|
500
|
+
if (message.credit_report_actual_fees !== 0) {
|
|
501
501
|
writer.uint32(576).int32(message.credit_report_actual_fees);
|
|
502
502
|
}
|
|
503
|
-
if (message.plan_id !==
|
|
503
|
+
if (message.plan_id !== "") {
|
|
504
504
|
writer.uint32(586).string(message.plan_id);
|
|
505
505
|
}
|
|
506
|
-
if (message.insurance_title !==
|
|
506
|
+
if (message.insurance_title !== "") {
|
|
507
507
|
writer.uint32(594).string(message.insurance_title);
|
|
508
508
|
}
|
|
509
509
|
for (const v of message.insurance_desc) {
|
|
510
510
|
exports.InsuranceDescItem.encode(v, writer.uint32(602).fork()).ldelim();
|
|
511
511
|
}
|
|
512
|
-
if (message.upfront_interest_description !==
|
|
512
|
+
if (message.upfront_interest_description !== "") {
|
|
513
513
|
writer.uint32(610).string(message.upfront_interest_description);
|
|
514
514
|
}
|
|
515
515
|
return writer;
|
|
@@ -1006,16 +1006,14 @@ exports.GetLocDetailsResponse = {
|
|
|
1006
1006
|
bill_amount: isSet(object.bill_amount) ? globalThis.String(object.bill_amount) : undefined,
|
|
1007
1007
|
early_foreclosure_fees: isSet(object.early_foreclosure_fees)
|
|
1008
1008
|
? globalThis.Number(object.early_foreclosure_fees)
|
|
1009
|
-
:
|
|
1010
|
-
convenience_fees: isSet(object.convenience_fees) ? globalThis.Number(object.convenience_fees) :
|
|
1011
|
-
total_interest_pay: isSet(object.total_interest_pay) ? globalThis.Number(object.total_interest_pay) :
|
|
1012
|
-
effective_annual_rate: isSet(object.effective_annual_rate)
|
|
1013
|
-
|
|
1014
|
-
: undefined,
|
|
1015
|
-
transaction_rate: isSet(object.transaction_rate) ? globalThis.Number(object.transaction_rate) : undefined,
|
|
1009
|
+
: 0,
|
|
1010
|
+
convenience_fees: isSet(object.convenience_fees) ? globalThis.Number(object.convenience_fees) : 0,
|
|
1011
|
+
total_interest_pay: isSet(object.total_interest_pay) ? globalThis.Number(object.total_interest_pay) : 0,
|
|
1012
|
+
effective_annual_rate: isSet(object.effective_annual_rate) ? globalThis.Number(object.effective_annual_rate) : 0,
|
|
1013
|
+
transaction_rate: isSet(object.transaction_rate) ? globalThis.Number(object.transaction_rate) : 0,
|
|
1016
1014
|
transaction_fee_amount: isSet(object.transaction_fee_amount)
|
|
1017
1015
|
? globalThis.Number(object.transaction_fee_amount)
|
|
1018
|
-
:
|
|
1016
|
+
: 0,
|
|
1019
1017
|
emi_date_l: isSet(object.emi_date_l) ? globalThis.String(object.emi_date_l) : "",
|
|
1020
1018
|
emi_amount_l: isSet(object.emi_amount_l) ? globalThis.String(object.emi_amount_l) : "",
|
|
1021
1019
|
first_emi_date_l: isSet(object.first_emi_date_l) ? globalThis.String(object.first_emi_date_l) : "",
|
|
@@ -1026,10 +1024,10 @@ exports.GetLocDetailsResponse = {
|
|
|
1026
1024
|
processing_fees_l: isSet(object.processing_fees_l) ? globalThis.String(object.processing_fees_l) : "",
|
|
1027
1025
|
gst_l: isSet(object.gst_l) ? globalThis.String(object.gst_l) : "",
|
|
1028
1026
|
rate_of_interest_l: isSet(object.rate_of_interest_l) ? globalThis.String(object.rate_of_interest_l) : "",
|
|
1029
|
-
trans_fee_plus_gst: isSet(object.trans_fee_plus_gst) ? globalThis.Number(object.trans_fee_plus_gst) :
|
|
1027
|
+
trans_fee_plus_gst: isSet(object.trans_fee_plus_gst) ? globalThis.Number(object.trans_fee_plus_gst) : 0,
|
|
1030
1028
|
processing_fee_plus_gst: isSet(object.processing_fee_plus_gst)
|
|
1031
1029
|
? globalThis.Number(object.processing_fee_plus_gst)
|
|
1032
|
-
:
|
|
1030
|
+
: 0,
|
|
1033
1031
|
bill_amount_l: isSet(object.bill_amount_l) ? globalThis.String(object.bill_amount_l) : "",
|
|
1034
1032
|
early_foreclosure_fees_l: isSet(object.early_foreclosure_fees_l)
|
|
1035
1033
|
? globalThis.String(object.early_foreclosure_fees_l)
|
|
@@ -1046,7 +1044,7 @@ exports.GetLocDetailsResponse = {
|
|
|
1046
1044
|
max_amount_l: isSet(object.max_amount_l) ? globalThis.String(object.max_amount_l) : "",
|
|
1047
1045
|
credit_report_fees_l: isSet(object.credit_report_fees_l) ? globalThis.String(object.credit_report_fees_l) : "",
|
|
1048
1046
|
fee_and_charges_l: isSet(object.fee_and_charges_l) ? globalThis.String(object.fee_and_charges_l) : "",
|
|
1049
|
-
fee_and_charges: isSet(object.fee_and_charges) ? globalThis.Number(object.fee_and_charges) :
|
|
1047
|
+
fee_and_charges: isSet(object.fee_and_charges) ? globalThis.Number(object.fee_and_charges) : 0,
|
|
1050
1048
|
add_on_l: isSet(object.add_on_l) ? globalThis.String(object.add_on_l) : "",
|
|
1051
1049
|
total_loan_amount_l: isSet(object.total_loan_amount_l) ? globalThis.String(object.total_loan_amount_l) : "",
|
|
1052
1050
|
loan_amount_l: isSet(object.loan_amount_l) ? globalThis.String(object.loan_amount_l) : "",
|
|
@@ -1055,15 +1053,13 @@ exports.GetLocDetailsResponse = {
|
|
|
1055
1053
|
? globalThis.String(object.total_payable_amount_l)
|
|
1056
1054
|
: "",
|
|
1057
1055
|
disbursal_amount_l: isSet(object.disbursal_amount_l) ? globalThis.String(object.disbursal_amount_l) : "",
|
|
1058
|
-
fcp_interest: isSet(object.fcp_interest) ? globalThis.Number(object.fcp_interest) :
|
|
1056
|
+
fcp_interest: isSet(object.fcp_interest) ? globalThis.Number(object.fcp_interest) : 0,
|
|
1059
1057
|
number_of_emi_l: isSet(object.number_of_emi_l) ? globalThis.String(object.number_of_emi_l) : "",
|
|
1060
1058
|
first_emi_amt_l: isSet(object.first_emi_amt_l) ? globalThis.String(object.first_emi_amt_l) : "",
|
|
1061
1059
|
subsequent_emi_l: isSet(object.subsequent_emi_l) ? globalThis.String(object.subsequent_emi_l) : "",
|
|
1062
|
-
effective_roi: isSet(object.effective_roi) ? globalThis.Number(object.effective_roi) :
|
|
1060
|
+
effective_roi: isSet(object.effective_roi) ? globalThis.Number(object.effective_roi) : 0,
|
|
1063
1061
|
effective_roi_l: isSet(object.effective_roi_l) ? globalThis.String(object.effective_roi_l) : "",
|
|
1064
|
-
effective_annual_roi: isSet(object.effective_annual_roi)
|
|
1065
|
-
? globalThis.Number(object.effective_annual_roi)
|
|
1066
|
-
: undefined,
|
|
1062
|
+
effective_annual_roi: isSet(object.effective_annual_roi) ? globalThis.Number(object.effective_annual_roi) : 0,
|
|
1067
1063
|
effective_annual_roi_l: isSet(object.effective_annual_roi_l)
|
|
1068
1064
|
? globalThis.String(object.effective_annual_roi_l)
|
|
1069
1065
|
: "",
|
|
@@ -1071,34 +1067,30 @@ exports.GetLocDetailsResponse = {
|
|
|
1071
1067
|
emi_card_description: isSet(object.emi_card_description) ? globalThis.String(object.emi_card_description) : "",
|
|
1072
1068
|
bill_card_description: isSet(object.bill_card_description) ? globalThis.String(object.bill_card_description) : "",
|
|
1073
1069
|
installment_amounts: isSet(object.installment_amounts) ? globalThis.String(object.installment_amounts) : "",
|
|
1074
|
-
apr_title: isSet(object.apr_title) ? globalThis.String(object.apr_title) :
|
|
1075
|
-
apr_value: isSet(object.apr_value) ? globalThis.String(object.apr_value) :
|
|
1076
|
-
apr_type: isSet(object.apr_type) ? globalThis.String(object.apr_type) :
|
|
1070
|
+
apr_title: isSet(object.apr_title) ? globalThis.String(object.apr_title) : "",
|
|
1071
|
+
apr_value: isSet(object.apr_value) ? globalThis.String(object.apr_value) : "",
|
|
1072
|
+
apr_type: isSet(object.apr_type) ? globalThis.String(object.apr_type) : "",
|
|
1077
1073
|
credit_line_details_sheet: isSet(object.credit_line_details_sheet)
|
|
1078
1074
|
? globalThis.String(object.credit_line_details_sheet)
|
|
1079
|
-
:
|
|
1080
|
-
Acknowledgement: isSet(object.Acknowledgement) ? globalThis.String(object.Acknowledgement) :
|
|
1081
|
-
payment_undertaking: isSet(object.payment_undertaking)
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
? globalThis.String(object.financing_documents)
|
|
1088
|
-
: undefined,
|
|
1089
|
-
max_amount: isSet(object.max_amount) ? globalThis.Number(object.max_amount) : undefined,
|
|
1090
|
-
credit_report_fees: isSet(object.credit_report_fees) ? globalThis.Number(object.credit_report_fees) : undefined,
|
|
1075
|
+
: "",
|
|
1076
|
+
Acknowledgement: isSet(object.Acknowledgement) ? globalThis.String(object.Acknowledgement) : "",
|
|
1077
|
+
payment_undertaking: isSet(object.payment_undertaking) ? globalThis.String(object.payment_undertaking) : "",
|
|
1078
|
+
key_fact_statement: isSet(object.key_fact_statement) ? globalThis.String(object.key_fact_statement) : "",
|
|
1079
|
+
sanction_letter: isSet(object.sanction_letter) ? globalThis.String(object.sanction_letter) : "",
|
|
1080
|
+
financing_documents: isSet(object.financing_documents) ? globalThis.String(object.financing_documents) : "",
|
|
1081
|
+
max_amount: isSet(object.max_amount) ? globalThis.Number(object.max_amount) : 0,
|
|
1082
|
+
credit_report_fees: isSet(object.credit_report_fees) ? globalThis.Number(object.credit_report_fees) : 0,
|
|
1091
1083
|
credit_report_actual_fees: isSet(object.credit_report_actual_fees)
|
|
1092
1084
|
? globalThis.Number(object.credit_report_actual_fees)
|
|
1093
|
-
:
|
|
1094
|
-
plan_id: isSet(object.plan_id) ? globalThis.String(object.plan_id) :
|
|
1095
|
-
insurance_title: isSet(object.insurance_title) ? globalThis.String(object.insurance_title) :
|
|
1085
|
+
: 0,
|
|
1086
|
+
plan_id: isSet(object.plan_id) ? globalThis.String(object.plan_id) : "",
|
|
1087
|
+
insurance_title: isSet(object.insurance_title) ? globalThis.String(object.insurance_title) : "",
|
|
1096
1088
|
insurance_desc: globalThis.Array.isArray(object?.insurance_desc)
|
|
1097
1089
|
? object.insurance_desc.map((e) => exports.InsuranceDescItem.fromJSON(e))
|
|
1098
1090
|
: [],
|
|
1099
1091
|
upfront_interest_description: isSet(object.upfront_interest_description)
|
|
1100
1092
|
? globalThis.String(object.upfront_interest_description)
|
|
1101
|
-
:
|
|
1093
|
+
: "",
|
|
1102
1094
|
};
|
|
1103
1095
|
},
|
|
1104
1096
|
toJSON(message) {
|
|
@@ -1148,22 +1140,22 @@ exports.GetLocDetailsResponse = {
|
|
|
1148
1140
|
if (message.bill_amount !== undefined) {
|
|
1149
1141
|
obj.bill_amount = message.bill_amount;
|
|
1150
1142
|
}
|
|
1151
|
-
if (message.early_foreclosure_fees !==
|
|
1143
|
+
if (message.early_foreclosure_fees !== 0) {
|
|
1152
1144
|
obj.early_foreclosure_fees = Math.round(message.early_foreclosure_fees);
|
|
1153
1145
|
}
|
|
1154
|
-
if (message.convenience_fees !==
|
|
1146
|
+
if (message.convenience_fees !== 0) {
|
|
1155
1147
|
obj.convenience_fees = Math.round(message.convenience_fees);
|
|
1156
1148
|
}
|
|
1157
|
-
if (message.total_interest_pay !==
|
|
1149
|
+
if (message.total_interest_pay !== 0) {
|
|
1158
1150
|
obj.total_interest_pay = Math.round(message.total_interest_pay);
|
|
1159
1151
|
}
|
|
1160
|
-
if (message.effective_annual_rate !==
|
|
1152
|
+
if (message.effective_annual_rate !== 0) {
|
|
1161
1153
|
obj.effective_annual_rate = message.effective_annual_rate;
|
|
1162
1154
|
}
|
|
1163
|
-
if (message.transaction_rate !==
|
|
1155
|
+
if (message.transaction_rate !== 0) {
|
|
1164
1156
|
obj.transaction_rate = message.transaction_rate;
|
|
1165
1157
|
}
|
|
1166
|
-
if (message.transaction_fee_amount !==
|
|
1158
|
+
if (message.transaction_fee_amount !== 0) {
|
|
1167
1159
|
obj.transaction_fee_amount = Math.round(message.transaction_fee_amount);
|
|
1168
1160
|
}
|
|
1169
1161
|
if (message.emi_date_l !== "") {
|
|
@@ -1190,10 +1182,10 @@ exports.GetLocDetailsResponse = {
|
|
|
1190
1182
|
if (message.rate_of_interest_l !== "") {
|
|
1191
1183
|
obj.rate_of_interest_l = message.rate_of_interest_l;
|
|
1192
1184
|
}
|
|
1193
|
-
if (message.trans_fee_plus_gst !==
|
|
1185
|
+
if (message.trans_fee_plus_gst !== 0) {
|
|
1194
1186
|
obj.trans_fee_plus_gst = Math.round(message.trans_fee_plus_gst);
|
|
1195
1187
|
}
|
|
1196
|
-
if (message.processing_fee_plus_gst !==
|
|
1188
|
+
if (message.processing_fee_plus_gst !== 0) {
|
|
1197
1189
|
obj.processing_fee_plus_gst = Math.round(message.processing_fee_plus_gst);
|
|
1198
1190
|
}
|
|
1199
1191
|
if (message.bill_amount_l !== "") {
|
|
@@ -1226,7 +1218,7 @@ exports.GetLocDetailsResponse = {
|
|
|
1226
1218
|
if (message.fee_and_charges_l !== "") {
|
|
1227
1219
|
obj.fee_and_charges_l = message.fee_and_charges_l;
|
|
1228
1220
|
}
|
|
1229
|
-
if (message.fee_and_charges !==
|
|
1221
|
+
if (message.fee_and_charges !== 0) {
|
|
1230
1222
|
obj.fee_and_charges = Math.round(message.fee_and_charges);
|
|
1231
1223
|
}
|
|
1232
1224
|
if (message.add_on_l !== "") {
|
|
@@ -1247,7 +1239,7 @@ exports.GetLocDetailsResponse = {
|
|
|
1247
1239
|
if (message.disbursal_amount_l !== "") {
|
|
1248
1240
|
obj.disbursal_amount_l = message.disbursal_amount_l;
|
|
1249
1241
|
}
|
|
1250
|
-
if (message.fcp_interest !==
|
|
1242
|
+
if (message.fcp_interest !== 0) {
|
|
1251
1243
|
obj.fcp_interest = Math.round(message.fcp_interest);
|
|
1252
1244
|
}
|
|
1253
1245
|
if (message.number_of_emi_l !== "") {
|
|
@@ -1259,13 +1251,13 @@ exports.GetLocDetailsResponse = {
|
|
|
1259
1251
|
if (message.subsequent_emi_l !== "") {
|
|
1260
1252
|
obj.subsequent_emi_l = message.subsequent_emi_l;
|
|
1261
1253
|
}
|
|
1262
|
-
if (message.effective_roi !==
|
|
1254
|
+
if (message.effective_roi !== 0) {
|
|
1263
1255
|
obj.effective_roi = message.effective_roi;
|
|
1264
1256
|
}
|
|
1265
1257
|
if (message.effective_roi_l !== "") {
|
|
1266
1258
|
obj.effective_roi_l = message.effective_roi_l;
|
|
1267
1259
|
}
|
|
1268
|
-
if (message.effective_annual_roi !==
|
|
1260
|
+
if (message.effective_annual_roi !== 0) {
|
|
1269
1261
|
obj.effective_annual_roi = message.effective_annual_roi;
|
|
1270
1262
|
}
|
|
1271
1263
|
if (message.effective_annual_roi_l !== "") {
|
|
@@ -1283,52 +1275,52 @@ exports.GetLocDetailsResponse = {
|
|
|
1283
1275
|
if (message.installment_amounts !== "") {
|
|
1284
1276
|
obj.installment_amounts = message.installment_amounts;
|
|
1285
1277
|
}
|
|
1286
|
-
if (message.apr_title !==
|
|
1278
|
+
if (message.apr_title !== "") {
|
|
1287
1279
|
obj.apr_title = message.apr_title;
|
|
1288
1280
|
}
|
|
1289
|
-
if (message.apr_value !==
|
|
1281
|
+
if (message.apr_value !== "") {
|
|
1290
1282
|
obj.apr_value = message.apr_value;
|
|
1291
1283
|
}
|
|
1292
|
-
if (message.apr_type !==
|
|
1284
|
+
if (message.apr_type !== "") {
|
|
1293
1285
|
obj.apr_type = message.apr_type;
|
|
1294
1286
|
}
|
|
1295
|
-
if (message.credit_line_details_sheet !==
|
|
1287
|
+
if (message.credit_line_details_sheet !== "") {
|
|
1296
1288
|
obj.credit_line_details_sheet = message.credit_line_details_sheet;
|
|
1297
1289
|
}
|
|
1298
|
-
if (message.Acknowledgement !==
|
|
1290
|
+
if (message.Acknowledgement !== "") {
|
|
1299
1291
|
obj.Acknowledgement = message.Acknowledgement;
|
|
1300
1292
|
}
|
|
1301
|
-
if (message.payment_undertaking !==
|
|
1293
|
+
if (message.payment_undertaking !== "") {
|
|
1302
1294
|
obj.payment_undertaking = message.payment_undertaking;
|
|
1303
1295
|
}
|
|
1304
|
-
if (message.key_fact_statement !==
|
|
1296
|
+
if (message.key_fact_statement !== "") {
|
|
1305
1297
|
obj.key_fact_statement = message.key_fact_statement;
|
|
1306
1298
|
}
|
|
1307
|
-
if (message.sanction_letter !==
|
|
1299
|
+
if (message.sanction_letter !== "") {
|
|
1308
1300
|
obj.sanction_letter = message.sanction_letter;
|
|
1309
1301
|
}
|
|
1310
|
-
if (message.financing_documents !==
|
|
1302
|
+
if (message.financing_documents !== "") {
|
|
1311
1303
|
obj.financing_documents = message.financing_documents;
|
|
1312
1304
|
}
|
|
1313
|
-
if (message.max_amount !==
|
|
1305
|
+
if (message.max_amount !== 0) {
|
|
1314
1306
|
obj.max_amount = Math.round(message.max_amount);
|
|
1315
1307
|
}
|
|
1316
|
-
if (message.credit_report_fees !==
|
|
1308
|
+
if (message.credit_report_fees !== 0) {
|
|
1317
1309
|
obj.credit_report_fees = Math.round(message.credit_report_fees);
|
|
1318
1310
|
}
|
|
1319
|
-
if (message.credit_report_actual_fees !==
|
|
1311
|
+
if (message.credit_report_actual_fees !== 0) {
|
|
1320
1312
|
obj.credit_report_actual_fees = Math.round(message.credit_report_actual_fees);
|
|
1321
1313
|
}
|
|
1322
|
-
if (message.plan_id !==
|
|
1314
|
+
if (message.plan_id !== "") {
|
|
1323
1315
|
obj.plan_id = message.plan_id;
|
|
1324
1316
|
}
|
|
1325
|
-
if (message.insurance_title !==
|
|
1317
|
+
if (message.insurance_title !== "") {
|
|
1326
1318
|
obj.insurance_title = message.insurance_title;
|
|
1327
1319
|
}
|
|
1328
1320
|
if (message.insurance_desc?.length) {
|
|
1329
1321
|
obj.insurance_desc = message.insurance_desc.map((e) => exports.InsuranceDescItem.toJSON(e));
|
|
1330
1322
|
}
|
|
1331
|
-
if (message.upfront_interest_description !==
|
|
1323
|
+
if (message.upfront_interest_description !== "") {
|
|
1332
1324
|
obj.upfront_interest_description = message.upfront_interest_description;
|
|
1333
1325
|
}
|
|
1334
1326
|
return obj;
|
|
@@ -1353,12 +1345,12 @@ exports.GetLocDetailsResponse = {
|
|
|
1353
1345
|
message.loan_id = object.loan_id ?? "";
|
|
1354
1346
|
message.rate_of_interest = object.rate_of_interest ?? 0;
|
|
1355
1347
|
message.bill_amount = object.bill_amount ?? undefined;
|
|
1356
|
-
message.early_foreclosure_fees = object.early_foreclosure_fees ??
|
|
1357
|
-
message.convenience_fees = object.convenience_fees ??
|
|
1358
|
-
message.total_interest_pay = object.total_interest_pay ??
|
|
1359
|
-
message.effective_annual_rate = object.effective_annual_rate ??
|
|
1360
|
-
message.transaction_rate = object.transaction_rate ??
|
|
1361
|
-
message.transaction_fee_amount = object.transaction_fee_amount ??
|
|
1348
|
+
message.early_foreclosure_fees = object.early_foreclosure_fees ?? 0;
|
|
1349
|
+
message.convenience_fees = object.convenience_fees ?? 0;
|
|
1350
|
+
message.total_interest_pay = object.total_interest_pay ?? 0;
|
|
1351
|
+
message.effective_annual_rate = object.effective_annual_rate ?? 0;
|
|
1352
|
+
message.transaction_rate = object.transaction_rate ?? 0;
|
|
1353
|
+
message.transaction_fee_amount = object.transaction_fee_amount ?? 0;
|
|
1362
1354
|
message.emi_date_l = object.emi_date_l ?? "";
|
|
1363
1355
|
message.emi_amount_l = object.emi_amount_l ?? "";
|
|
1364
1356
|
message.first_emi_date_l = object.first_emi_date_l ?? "";
|
|
@@ -1367,8 +1359,8 @@ exports.GetLocDetailsResponse = {
|
|
|
1367
1359
|
message.processing_fees_l = object.processing_fees_l ?? "";
|
|
1368
1360
|
message.gst_l = object.gst_l ?? "";
|
|
1369
1361
|
message.rate_of_interest_l = object.rate_of_interest_l ?? "";
|
|
1370
|
-
message.trans_fee_plus_gst = object.trans_fee_plus_gst ??
|
|
1371
|
-
message.processing_fee_plus_gst = object.processing_fee_plus_gst ??
|
|
1362
|
+
message.trans_fee_plus_gst = object.trans_fee_plus_gst ?? 0;
|
|
1363
|
+
message.processing_fee_plus_gst = object.processing_fee_plus_gst ?? 0;
|
|
1372
1364
|
message.bill_amount_l = object.bill_amount_l ?? "";
|
|
1373
1365
|
message.early_foreclosure_fees_l = object.early_foreclosure_fees_l ?? "";
|
|
1374
1366
|
message.convenience_fees_l = object.convenience_fees_l ?? "";
|
|
@@ -1379,41 +1371,41 @@ exports.GetLocDetailsResponse = {
|
|
|
1379
1371
|
message.max_amount_l = object.max_amount_l ?? "";
|
|
1380
1372
|
message.credit_report_fees_l = object.credit_report_fees_l ?? "";
|
|
1381
1373
|
message.fee_and_charges_l = object.fee_and_charges_l ?? "";
|
|
1382
|
-
message.fee_and_charges = object.fee_and_charges ??
|
|
1374
|
+
message.fee_and_charges = object.fee_and_charges ?? 0;
|
|
1383
1375
|
message.add_on_l = object.add_on_l ?? "";
|
|
1384
1376
|
message.total_loan_amount_l = object.total_loan_amount_l ?? "";
|
|
1385
1377
|
message.loan_amount_l = object.loan_amount_l ?? "";
|
|
1386
1378
|
message.disbursed_amount_l = object.disbursed_amount_l ?? "";
|
|
1387
1379
|
message.total_payable_amount_l = object.total_payable_amount_l ?? "";
|
|
1388
1380
|
message.disbursal_amount_l = object.disbursal_amount_l ?? "";
|
|
1389
|
-
message.fcp_interest = object.fcp_interest ??
|
|
1381
|
+
message.fcp_interest = object.fcp_interest ?? 0;
|
|
1390
1382
|
message.number_of_emi_l = object.number_of_emi_l ?? "";
|
|
1391
1383
|
message.first_emi_amt_l = object.first_emi_amt_l ?? "";
|
|
1392
1384
|
message.subsequent_emi_l = object.subsequent_emi_l ?? "";
|
|
1393
|
-
message.effective_roi = object.effective_roi ??
|
|
1385
|
+
message.effective_roi = object.effective_roi ?? 0;
|
|
1394
1386
|
message.effective_roi_l = object.effective_roi_l ?? "";
|
|
1395
|
-
message.effective_annual_roi = object.effective_annual_roi ??
|
|
1387
|
+
message.effective_annual_roi = object.effective_annual_roi ?? 0;
|
|
1396
1388
|
message.effective_annual_roi_l = object.effective_annual_roi_l ?? "";
|
|
1397
1389
|
message.insurance_l = object.insurance_l ?? "";
|
|
1398
1390
|
message.emi_card_description = object.emi_card_description ?? "";
|
|
1399
1391
|
message.bill_card_description = object.bill_card_description ?? "";
|
|
1400
1392
|
message.installment_amounts = object.installment_amounts ?? "";
|
|
1401
|
-
message.apr_title = object.apr_title ??
|
|
1402
|
-
message.apr_value = object.apr_value ??
|
|
1403
|
-
message.apr_type = object.apr_type ??
|
|
1404
|
-
message.credit_line_details_sheet = object.credit_line_details_sheet ??
|
|
1405
|
-
message.Acknowledgement = object.Acknowledgement ??
|
|
1406
|
-
message.payment_undertaking = object.payment_undertaking ??
|
|
1407
|
-
message.key_fact_statement = object.key_fact_statement ??
|
|
1408
|
-
message.sanction_letter = object.sanction_letter ??
|
|
1409
|
-
message.financing_documents = object.financing_documents ??
|
|
1410
|
-
message.max_amount = object.max_amount ??
|
|
1411
|
-
message.credit_report_fees = object.credit_report_fees ??
|
|
1412
|
-
message.credit_report_actual_fees = object.credit_report_actual_fees ??
|
|
1413
|
-
message.plan_id = object.plan_id ??
|
|
1414
|
-
message.insurance_title = object.insurance_title ??
|
|
1393
|
+
message.apr_title = object.apr_title ?? "";
|
|
1394
|
+
message.apr_value = object.apr_value ?? "";
|
|
1395
|
+
message.apr_type = object.apr_type ?? "";
|
|
1396
|
+
message.credit_line_details_sheet = object.credit_line_details_sheet ?? "";
|
|
1397
|
+
message.Acknowledgement = object.Acknowledgement ?? "";
|
|
1398
|
+
message.payment_undertaking = object.payment_undertaking ?? "";
|
|
1399
|
+
message.key_fact_statement = object.key_fact_statement ?? "";
|
|
1400
|
+
message.sanction_letter = object.sanction_letter ?? "";
|
|
1401
|
+
message.financing_documents = object.financing_documents ?? "";
|
|
1402
|
+
message.max_amount = object.max_amount ?? 0;
|
|
1403
|
+
message.credit_report_fees = object.credit_report_fees ?? 0;
|
|
1404
|
+
message.credit_report_actual_fees = object.credit_report_actual_fees ?? 0;
|
|
1405
|
+
message.plan_id = object.plan_id ?? "";
|
|
1406
|
+
message.insurance_title = object.insurance_title ?? "";
|
|
1415
1407
|
message.insurance_desc = object.insurance_desc?.map((e) => exports.InsuranceDescItem.fromPartial(e)) || [];
|
|
1416
|
-
message.upfront_interest_description = object.upfront_interest_description ??
|
|
1408
|
+
message.upfront_interest_description = object.upfront_interest_description ?? "";
|
|
1417
1409
|
return message;
|
|
1418
1410
|
},
|
|
1419
1411
|
};
|