@stashfin/grpc 1.2.856 → 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
CHANGED
|
@@ -98,9 +98,9 @@ export interface GetLocWithdrawlResponse {
|
|
|
98
98
|
bill_card_description: string;
|
|
99
99
|
loan_id?: string | undefined;
|
|
100
100
|
installment_amounts: string;
|
|
101
|
-
apr_title
|
|
102
|
-
apr_value
|
|
103
|
-
apr_type
|
|
101
|
+
apr_title?: string | undefined;
|
|
102
|
+
apr_value?: string | undefined;
|
|
103
|
+
apr_type?: string | undefined;
|
|
104
104
|
colender_id?: number | undefined;
|
|
105
105
|
credit_line_details_sheet?: string | undefined;
|
|
106
106
|
Acknowledgement?: string | undefined;
|
|
@@ -112,14 +112,16 @@ export interface GetLocWithdrawlResponse {
|
|
|
112
112
|
agreement_links: AgreementLinks | undefined;
|
|
113
113
|
max_amount?: number | undefined;
|
|
114
114
|
credit_report_fees?: number | undefined;
|
|
115
|
-
credit_report_actual_fees?: number | undefined;
|
|
116
|
-
plan_id?: number | undefined;
|
|
117
115
|
lender_name?: string | undefined;
|
|
118
116
|
free_loc_eligible_bank?: string | undefined;
|
|
119
117
|
insurance_title?: string | undefined;
|
|
120
118
|
insurance_desc: InsuranceDesc[];
|
|
121
119
|
upfront_interest_description?: string | undefined;
|
|
122
120
|
txn_id?: string | undefined;
|
|
121
|
+
credit_report_actual_fees_int?: number | undefined;
|
|
122
|
+
credit_report_actual_fees_str?: string | undefined;
|
|
123
|
+
plan_id_int?: number | undefined;
|
|
124
|
+
plan_id_str?: string | undefined;
|
|
123
125
|
}
|
|
124
126
|
export declare const GetLocWithdrawlRequest: {
|
|
125
127
|
encode(message: GetLocWithdrawlRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -584,9 +584,9 @@ function createBaseGetLocWithdrawlResponse() {
|
|
|
584
584
|
bill_card_description: "",
|
|
585
585
|
loan_id: undefined,
|
|
586
586
|
installment_amounts: "",
|
|
587
|
-
apr_title:
|
|
588
|
-
apr_value:
|
|
589
|
-
apr_type:
|
|
587
|
+
apr_title: undefined,
|
|
588
|
+
apr_value: undefined,
|
|
589
|
+
apr_type: undefined,
|
|
590
590
|
colender_id: undefined,
|
|
591
591
|
credit_line_details_sheet: undefined,
|
|
592
592
|
Acknowledgement: undefined,
|
|
@@ -598,14 +598,16 @@ function createBaseGetLocWithdrawlResponse() {
|
|
|
598
598
|
agreement_links: undefined,
|
|
599
599
|
max_amount: undefined,
|
|
600
600
|
credit_report_fees: undefined,
|
|
601
|
-
credit_report_actual_fees: undefined,
|
|
602
|
-
plan_id: undefined,
|
|
603
601
|
lender_name: undefined,
|
|
604
602
|
free_loc_eligible_bank: undefined,
|
|
605
603
|
insurance_title: undefined,
|
|
606
604
|
insurance_desc: [],
|
|
607
605
|
upfront_interest_description: undefined,
|
|
608
606
|
txn_id: undefined,
|
|
607
|
+
credit_report_actual_fees_int: undefined,
|
|
608
|
+
credit_report_actual_fees_str: undefined,
|
|
609
|
+
plan_id_int: undefined,
|
|
610
|
+
plan_id_str: undefined,
|
|
609
611
|
};
|
|
610
612
|
}
|
|
611
613
|
exports.GetLocWithdrawlResponse = {
|
|
@@ -808,13 +810,13 @@ exports.GetLocWithdrawlResponse = {
|
|
|
808
810
|
if (message.installment_amounts !== "") {
|
|
809
811
|
writer.uint32(530).string(message.installment_amounts);
|
|
810
812
|
}
|
|
811
|
-
if (message.apr_title !==
|
|
813
|
+
if (message.apr_title !== undefined) {
|
|
812
814
|
writer.uint32(538).string(message.apr_title);
|
|
813
815
|
}
|
|
814
|
-
if (message.apr_value !==
|
|
816
|
+
if (message.apr_value !== undefined) {
|
|
815
817
|
writer.uint32(546).string(message.apr_value);
|
|
816
818
|
}
|
|
817
|
-
if (message.apr_type !==
|
|
819
|
+
if (message.apr_type !== undefined) {
|
|
818
820
|
writer.uint32(554).string(message.apr_type);
|
|
819
821
|
}
|
|
820
822
|
if (message.colender_id !== undefined) {
|
|
@@ -850,17 +852,11 @@ exports.GetLocWithdrawlResponse = {
|
|
|
850
852
|
if (message.credit_report_fees !== undefined) {
|
|
851
853
|
writer.uint32(640).int32(message.credit_report_fees);
|
|
852
854
|
}
|
|
853
|
-
if (message.credit_report_actual_fees !== undefined) {
|
|
854
|
-
writer.uint32(648).int32(message.credit_report_actual_fees);
|
|
855
|
-
}
|
|
856
|
-
if (message.plan_id !== undefined) {
|
|
857
|
-
writer.uint32(656).int32(message.plan_id);
|
|
858
|
-
}
|
|
859
855
|
if (message.lender_name !== undefined) {
|
|
860
|
-
writer.uint32(
|
|
856
|
+
writer.uint32(714).string(message.lender_name);
|
|
861
857
|
}
|
|
862
858
|
if (message.free_loc_eligible_bank !== undefined) {
|
|
863
|
-
writer.uint32(
|
|
859
|
+
writer.uint32(722).string(message.free_loc_eligible_bank);
|
|
864
860
|
}
|
|
865
861
|
if (message.insurance_title !== undefined) {
|
|
866
862
|
writer.uint32(682).string(message.insurance_title);
|
|
@@ -874,6 +870,18 @@ exports.GetLocWithdrawlResponse = {
|
|
|
874
870
|
if (message.txn_id !== undefined) {
|
|
875
871
|
writer.uint32(706).string(message.txn_id);
|
|
876
872
|
}
|
|
873
|
+
if (message.credit_report_actual_fees_int !== undefined) {
|
|
874
|
+
writer.uint32(648).int32(message.credit_report_actual_fees_int);
|
|
875
|
+
}
|
|
876
|
+
if (message.credit_report_actual_fees_str !== undefined) {
|
|
877
|
+
writer.uint32(658).string(message.credit_report_actual_fees_str);
|
|
878
|
+
}
|
|
879
|
+
if (message.plan_id_int !== undefined) {
|
|
880
|
+
writer.uint32(664).int32(message.plan_id_int);
|
|
881
|
+
}
|
|
882
|
+
if (message.plan_id_str !== undefined) {
|
|
883
|
+
writer.uint32(674).string(message.plan_id_str);
|
|
884
|
+
}
|
|
877
885
|
return writer;
|
|
878
886
|
},
|
|
879
887
|
decode(input, length) {
|
|
@@ -1363,26 +1371,14 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1363
1371
|
}
|
|
1364
1372
|
message.credit_report_fees = reader.int32();
|
|
1365
1373
|
continue;
|
|
1366
|
-
case
|
|
1367
|
-
if (tag !==
|
|
1368
|
-
break;
|
|
1369
|
-
}
|
|
1370
|
-
message.credit_report_actual_fees = reader.int32();
|
|
1371
|
-
continue;
|
|
1372
|
-
case 82:
|
|
1373
|
-
if (tag !== 656) {
|
|
1374
|
-
break;
|
|
1375
|
-
}
|
|
1376
|
-
message.plan_id = reader.int32();
|
|
1377
|
-
continue;
|
|
1378
|
-
case 83:
|
|
1379
|
-
if (tag !== 666) {
|
|
1374
|
+
case 89:
|
|
1375
|
+
if (tag !== 714) {
|
|
1380
1376
|
break;
|
|
1381
1377
|
}
|
|
1382
1378
|
message.lender_name = reader.string();
|
|
1383
1379
|
continue;
|
|
1384
|
-
case
|
|
1385
|
-
if (tag !==
|
|
1380
|
+
case 90:
|
|
1381
|
+
if (tag !== 722) {
|
|
1386
1382
|
break;
|
|
1387
1383
|
}
|
|
1388
1384
|
message.free_loc_eligible_bank = reader.string();
|
|
@@ -1411,6 +1407,30 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1411
1407
|
}
|
|
1412
1408
|
message.txn_id = reader.string();
|
|
1413
1409
|
continue;
|
|
1410
|
+
case 81:
|
|
1411
|
+
if (tag !== 648) {
|
|
1412
|
+
break;
|
|
1413
|
+
}
|
|
1414
|
+
message.credit_report_actual_fees_int = reader.int32();
|
|
1415
|
+
continue;
|
|
1416
|
+
case 82:
|
|
1417
|
+
if (tag !== 658) {
|
|
1418
|
+
break;
|
|
1419
|
+
}
|
|
1420
|
+
message.credit_report_actual_fees_str = reader.string();
|
|
1421
|
+
continue;
|
|
1422
|
+
case 83:
|
|
1423
|
+
if (tag !== 664) {
|
|
1424
|
+
break;
|
|
1425
|
+
}
|
|
1426
|
+
message.plan_id_int = reader.int32();
|
|
1427
|
+
continue;
|
|
1428
|
+
case 84:
|
|
1429
|
+
if (tag !== 674) {
|
|
1430
|
+
break;
|
|
1431
|
+
}
|
|
1432
|
+
message.plan_id_str = reader.string();
|
|
1433
|
+
continue;
|
|
1414
1434
|
}
|
|
1415
1435
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1416
1436
|
break;
|
|
@@ -1517,9 +1537,9 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1517
1537
|
bill_card_description: isSet(object.bill_card_description) ? globalThis.String(object.bill_card_description) : "",
|
|
1518
1538
|
loan_id: isSet(object.loan_id) ? globalThis.String(object.loan_id) : undefined,
|
|
1519
1539
|
installment_amounts: isSet(object.installment_amounts) ? globalThis.String(object.installment_amounts) : "",
|
|
1520
|
-
apr_title: isSet(object.apr_title) ? globalThis.String(object.apr_title) :
|
|
1521
|
-
apr_value: isSet(object.apr_value) ? globalThis.String(object.apr_value) :
|
|
1522
|
-
apr_type: isSet(object.apr_type) ? globalThis.String(object.apr_type) :
|
|
1540
|
+
apr_title: isSet(object.apr_title) ? globalThis.String(object.apr_title) : undefined,
|
|
1541
|
+
apr_value: isSet(object.apr_value) ? globalThis.String(object.apr_value) : undefined,
|
|
1542
|
+
apr_type: isSet(object.apr_type) ? globalThis.String(object.apr_type) : undefined,
|
|
1523
1543
|
colender_id: isSet(object.colender_id) ? globalThis.Number(object.colender_id) : undefined,
|
|
1524
1544
|
credit_line_details_sheet: isSet(object.credit_line_details_sheet)
|
|
1525
1545
|
? globalThis.String(object.credit_line_details_sheet)
|
|
@@ -1539,10 +1559,6 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1539
1559
|
agreement_links: isSet(object.agreement_links) ? exports.AgreementLinks.fromJSON(object.agreement_links) : undefined,
|
|
1540
1560
|
max_amount: isSet(object.max_amount) ? globalThis.Number(object.max_amount) : undefined,
|
|
1541
1561
|
credit_report_fees: isSet(object.credit_report_fees) ? globalThis.Number(object.credit_report_fees) : undefined,
|
|
1542
|
-
credit_report_actual_fees: isSet(object.credit_report_actual_fees)
|
|
1543
|
-
? globalThis.Number(object.credit_report_actual_fees)
|
|
1544
|
-
: undefined,
|
|
1545
|
-
plan_id: isSet(object.plan_id) ? globalThis.Number(object.plan_id) : undefined,
|
|
1546
1562
|
lender_name: isSet(object.lender_name) ? globalThis.String(object.lender_name) : undefined,
|
|
1547
1563
|
free_loc_eligible_bank: isSet(object.free_loc_eligible_bank)
|
|
1548
1564
|
? globalThis.String(object.free_loc_eligible_bank)
|
|
@@ -1555,6 +1571,14 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1555
1571
|
? globalThis.String(object.upfront_interest_description)
|
|
1556
1572
|
: undefined,
|
|
1557
1573
|
txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : undefined,
|
|
1574
|
+
credit_report_actual_fees_int: isSet(object.credit_report_actual_fees_int)
|
|
1575
|
+
? globalThis.Number(object.credit_report_actual_fees_int)
|
|
1576
|
+
: undefined,
|
|
1577
|
+
credit_report_actual_fees_str: isSet(object.credit_report_actual_fees_str)
|
|
1578
|
+
? globalThis.String(object.credit_report_actual_fees_str)
|
|
1579
|
+
: undefined,
|
|
1580
|
+
plan_id_int: isSet(object.plan_id_int) ? globalThis.Number(object.plan_id_int) : undefined,
|
|
1581
|
+
plan_id_str: isSet(object.plan_id_str) ? globalThis.String(object.plan_id_str) : undefined,
|
|
1558
1582
|
};
|
|
1559
1583
|
},
|
|
1560
1584
|
toJSON(message) {
|
|
@@ -1757,13 +1781,13 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1757
1781
|
if (message.installment_amounts !== "") {
|
|
1758
1782
|
obj.installment_amounts = message.installment_amounts;
|
|
1759
1783
|
}
|
|
1760
|
-
if (message.apr_title !==
|
|
1784
|
+
if (message.apr_title !== undefined) {
|
|
1761
1785
|
obj.apr_title = message.apr_title;
|
|
1762
1786
|
}
|
|
1763
|
-
if (message.apr_value !==
|
|
1787
|
+
if (message.apr_value !== undefined) {
|
|
1764
1788
|
obj.apr_value = message.apr_value;
|
|
1765
1789
|
}
|
|
1766
|
-
if (message.apr_type !==
|
|
1790
|
+
if (message.apr_type !== undefined) {
|
|
1767
1791
|
obj.apr_type = message.apr_type;
|
|
1768
1792
|
}
|
|
1769
1793
|
if (message.colender_id !== undefined) {
|
|
@@ -1799,12 +1823,6 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1799
1823
|
if (message.credit_report_fees !== undefined) {
|
|
1800
1824
|
obj.credit_report_fees = Math.round(message.credit_report_fees);
|
|
1801
1825
|
}
|
|
1802
|
-
if (message.credit_report_actual_fees !== undefined) {
|
|
1803
|
-
obj.credit_report_actual_fees = Math.round(message.credit_report_actual_fees);
|
|
1804
|
-
}
|
|
1805
|
-
if (message.plan_id !== undefined) {
|
|
1806
|
-
obj.plan_id = Math.round(message.plan_id);
|
|
1807
|
-
}
|
|
1808
1826
|
if (message.lender_name !== undefined) {
|
|
1809
1827
|
obj.lender_name = message.lender_name;
|
|
1810
1828
|
}
|
|
@@ -1823,6 +1841,18 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1823
1841
|
if (message.txn_id !== undefined) {
|
|
1824
1842
|
obj.txn_id = message.txn_id;
|
|
1825
1843
|
}
|
|
1844
|
+
if (message.credit_report_actual_fees_int !== undefined) {
|
|
1845
|
+
obj.credit_report_actual_fees_int = Math.round(message.credit_report_actual_fees_int);
|
|
1846
|
+
}
|
|
1847
|
+
if (message.credit_report_actual_fees_str !== undefined) {
|
|
1848
|
+
obj.credit_report_actual_fees_str = message.credit_report_actual_fees_str;
|
|
1849
|
+
}
|
|
1850
|
+
if (message.plan_id_int !== undefined) {
|
|
1851
|
+
obj.plan_id_int = Math.round(message.plan_id_int);
|
|
1852
|
+
}
|
|
1853
|
+
if (message.plan_id_str !== undefined) {
|
|
1854
|
+
obj.plan_id_str = message.plan_id_str;
|
|
1855
|
+
}
|
|
1826
1856
|
return obj;
|
|
1827
1857
|
},
|
|
1828
1858
|
create(base) {
|
|
@@ -1896,9 +1926,9 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1896
1926
|
message.bill_card_description = object.bill_card_description ?? "";
|
|
1897
1927
|
message.loan_id = object.loan_id ?? undefined;
|
|
1898
1928
|
message.installment_amounts = object.installment_amounts ?? "";
|
|
1899
|
-
message.apr_title = object.apr_title ??
|
|
1900
|
-
message.apr_value = object.apr_value ??
|
|
1901
|
-
message.apr_type = object.apr_type ??
|
|
1929
|
+
message.apr_title = object.apr_title ?? undefined;
|
|
1930
|
+
message.apr_value = object.apr_value ?? undefined;
|
|
1931
|
+
message.apr_type = object.apr_type ?? undefined;
|
|
1902
1932
|
message.colender_id = object.colender_id ?? undefined;
|
|
1903
1933
|
message.credit_line_details_sheet = object.credit_line_details_sheet ?? undefined;
|
|
1904
1934
|
message.Acknowledgement = object.Acknowledgement ?? undefined;
|
|
@@ -1912,14 +1942,16 @@ exports.GetLocWithdrawlResponse = {
|
|
|
1912
1942
|
: undefined;
|
|
1913
1943
|
message.max_amount = object.max_amount ?? undefined;
|
|
1914
1944
|
message.credit_report_fees = object.credit_report_fees ?? undefined;
|
|
1915
|
-
message.credit_report_actual_fees = object.credit_report_actual_fees ?? undefined;
|
|
1916
|
-
message.plan_id = object.plan_id ?? undefined;
|
|
1917
1945
|
message.lender_name = object.lender_name ?? undefined;
|
|
1918
1946
|
message.free_loc_eligible_bank = object.free_loc_eligible_bank ?? undefined;
|
|
1919
1947
|
message.insurance_title = object.insurance_title ?? undefined;
|
|
1920
1948
|
message.insurance_desc = object.insurance_desc?.map((e) => exports.InsuranceDesc.fromPartial(e)) || [];
|
|
1921
1949
|
message.upfront_interest_description = object.upfront_interest_description ?? undefined;
|
|
1922
1950
|
message.txn_id = object.txn_id ?? undefined;
|
|
1951
|
+
message.credit_report_actual_fees_int = object.credit_report_actual_fees_int ?? undefined;
|
|
1952
|
+
message.credit_report_actual_fees_str = object.credit_report_actual_fees_str ?? undefined;
|
|
1953
|
+
message.plan_id_int = object.plan_id_int ?? undefined;
|
|
1954
|
+
message.plan_id_str = object.plan_id_str ?? undefined;
|
|
1923
1955
|
return message;
|
|
1924
1956
|
},
|
|
1925
1957
|
};
|