@stashfin/grpc 1.2.348 → 1.2.349
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/approveloan.js +12 -12
- package/ts/loans/loansummary.js +12 -12
package/package.json
CHANGED
package/ts/loans/approveloan.js
CHANGED
|
@@ -323,10 +323,10 @@ exports.approveLoanResponse = {
|
|
|
323
323
|
writer.uint32(72).int32(message.final_disbursal_amount);
|
|
324
324
|
}
|
|
325
325
|
if (message.upfront_interest !== 0) {
|
|
326
|
-
writer.uint32(
|
|
326
|
+
writer.uint32(80).int32(message.upfront_interest);
|
|
327
327
|
}
|
|
328
328
|
if (message.rate_of_interest !== 0) {
|
|
329
|
-
writer.uint32(
|
|
329
|
+
writer.uint32(93).float(message.rate_of_interest);
|
|
330
330
|
}
|
|
331
331
|
if (message.bill_amount !== 0) {
|
|
332
332
|
writer.uint32(96).int32(message.bill_amount);
|
|
@@ -371,7 +371,7 @@ exports.approveLoanResponse = {
|
|
|
371
371
|
writer.uint32(202).string(message.apr_type);
|
|
372
372
|
}
|
|
373
373
|
if (message.max_amount !== 0) {
|
|
374
|
-
writer.uint32(
|
|
374
|
+
writer.uint32(213).float(message.max_amount);
|
|
375
375
|
}
|
|
376
376
|
if (message.credit_report_fees !== 0) {
|
|
377
377
|
writer.uint32(216).int32(message.credit_report_fees);
|
|
@@ -452,16 +452,16 @@ exports.approveLoanResponse = {
|
|
|
452
452
|
message.final_disbursal_amount = reader.int32();
|
|
453
453
|
continue;
|
|
454
454
|
case 10:
|
|
455
|
-
if (tag !==
|
|
455
|
+
if (tag !== 80) {
|
|
456
456
|
break;
|
|
457
457
|
}
|
|
458
|
-
message.upfront_interest = reader.
|
|
458
|
+
message.upfront_interest = reader.int32();
|
|
459
459
|
continue;
|
|
460
460
|
case 11:
|
|
461
|
-
if (tag !==
|
|
461
|
+
if (tag !== 93) {
|
|
462
462
|
break;
|
|
463
463
|
}
|
|
464
|
-
message.rate_of_interest = reader.
|
|
464
|
+
message.rate_of_interest = reader.float();
|
|
465
465
|
continue;
|
|
466
466
|
case 12:
|
|
467
467
|
if (tag !== 96) {
|
|
@@ -548,10 +548,10 @@ exports.approveLoanResponse = {
|
|
|
548
548
|
message.apr_type = reader.string();
|
|
549
549
|
continue;
|
|
550
550
|
case 26:
|
|
551
|
-
if (tag !==
|
|
551
|
+
if (tag !== 213) {
|
|
552
552
|
break;
|
|
553
553
|
}
|
|
554
|
-
message.max_amount = reader.
|
|
554
|
+
message.max_amount = reader.float();
|
|
555
555
|
continue;
|
|
556
556
|
case 27:
|
|
557
557
|
if (tag !== 216) {
|
|
@@ -664,10 +664,10 @@ exports.approveLoanResponse = {
|
|
|
664
664
|
obj.final_disbursal_amount = Math.round(message.final_disbursal_amount);
|
|
665
665
|
}
|
|
666
666
|
if (message.upfront_interest !== 0) {
|
|
667
|
-
obj.upfront_interest = message.upfront_interest;
|
|
667
|
+
obj.upfront_interest = Math.round(message.upfront_interest);
|
|
668
668
|
}
|
|
669
669
|
if (message.rate_of_interest !== 0) {
|
|
670
|
-
obj.rate_of_interest =
|
|
670
|
+
obj.rate_of_interest = message.rate_of_interest;
|
|
671
671
|
}
|
|
672
672
|
if (message.bill_amount !== 0) {
|
|
673
673
|
obj.bill_amount = Math.round(message.bill_amount);
|
|
@@ -712,7 +712,7 @@ exports.approveLoanResponse = {
|
|
|
712
712
|
obj.apr_type = message.apr_type;
|
|
713
713
|
}
|
|
714
714
|
if (message.max_amount !== 0) {
|
|
715
|
-
obj.max_amount =
|
|
715
|
+
obj.max_amount = message.max_amount;
|
|
716
716
|
}
|
|
717
717
|
if (message.credit_report_fees !== 0) {
|
|
718
718
|
obj.credit_report_fees = Math.round(message.credit_report_fees);
|
package/ts/loans/loansummary.js
CHANGED
|
@@ -253,10 +253,10 @@ exports.loanSummaryResponse = {
|
|
|
253
253
|
writer.uint32(72).int32(message.final_disbursal_amount);
|
|
254
254
|
}
|
|
255
255
|
if (message.upfront_interest !== 0) {
|
|
256
|
-
writer.uint32(
|
|
256
|
+
writer.uint32(80).int32(message.upfront_interest);
|
|
257
257
|
}
|
|
258
258
|
if (message.rate_of_interest !== 0) {
|
|
259
|
-
writer.uint32(
|
|
259
|
+
writer.uint32(93).float(message.rate_of_interest);
|
|
260
260
|
}
|
|
261
261
|
if (message.bill_amount !== 0) {
|
|
262
262
|
writer.uint32(96).int32(message.bill_amount);
|
|
@@ -301,7 +301,7 @@ exports.loanSummaryResponse = {
|
|
|
301
301
|
writer.uint32(202).string(message.apr_type);
|
|
302
302
|
}
|
|
303
303
|
if (message.max_amount !== 0) {
|
|
304
|
-
writer.uint32(
|
|
304
|
+
writer.uint32(213).float(message.max_amount);
|
|
305
305
|
}
|
|
306
306
|
if (message.credit_report_fees !== 0) {
|
|
307
307
|
writer.uint32(216).int32(message.credit_report_fees);
|
|
@@ -382,16 +382,16 @@ exports.loanSummaryResponse = {
|
|
|
382
382
|
message.final_disbursal_amount = reader.int32();
|
|
383
383
|
continue;
|
|
384
384
|
case 10:
|
|
385
|
-
if (tag !==
|
|
385
|
+
if (tag !== 80) {
|
|
386
386
|
break;
|
|
387
387
|
}
|
|
388
|
-
message.upfront_interest = reader.
|
|
388
|
+
message.upfront_interest = reader.int32();
|
|
389
389
|
continue;
|
|
390
390
|
case 11:
|
|
391
|
-
if (tag !==
|
|
391
|
+
if (tag !== 93) {
|
|
392
392
|
break;
|
|
393
393
|
}
|
|
394
|
-
message.rate_of_interest = reader.
|
|
394
|
+
message.rate_of_interest = reader.float();
|
|
395
395
|
continue;
|
|
396
396
|
case 12:
|
|
397
397
|
if (tag !== 96) {
|
|
@@ -478,10 +478,10 @@ exports.loanSummaryResponse = {
|
|
|
478
478
|
message.apr_type = reader.string();
|
|
479
479
|
continue;
|
|
480
480
|
case 26:
|
|
481
|
-
if (tag !==
|
|
481
|
+
if (tag !== 213) {
|
|
482
482
|
break;
|
|
483
483
|
}
|
|
484
|
-
message.max_amount = reader.
|
|
484
|
+
message.max_amount = reader.float();
|
|
485
485
|
continue;
|
|
486
486
|
case 27:
|
|
487
487
|
if (tag !== 216) {
|
|
@@ -594,10 +594,10 @@ exports.loanSummaryResponse = {
|
|
|
594
594
|
obj.final_disbursal_amount = Math.round(message.final_disbursal_amount);
|
|
595
595
|
}
|
|
596
596
|
if (message.upfront_interest !== 0) {
|
|
597
|
-
obj.upfront_interest = message.upfront_interest;
|
|
597
|
+
obj.upfront_interest = Math.round(message.upfront_interest);
|
|
598
598
|
}
|
|
599
599
|
if (message.rate_of_interest !== 0) {
|
|
600
|
-
obj.rate_of_interest =
|
|
600
|
+
obj.rate_of_interest = message.rate_of_interest;
|
|
601
601
|
}
|
|
602
602
|
if (message.bill_amount !== 0) {
|
|
603
603
|
obj.bill_amount = Math.round(message.bill_amount);
|
|
@@ -642,7 +642,7 @@ exports.loanSummaryResponse = {
|
|
|
642
642
|
obj.apr_type = message.apr_type;
|
|
643
643
|
}
|
|
644
644
|
if (message.max_amount !== 0) {
|
|
645
|
-
obj.max_amount =
|
|
645
|
+
obj.max_amount = message.max_amount;
|
|
646
646
|
}
|
|
647
647
|
if (message.credit_report_fees !== 0) {
|
|
648
648
|
obj.credit_report_fees = Math.round(message.credit_report_fees);
|