@stashfin/grpc 1.2.169 → 1.2.170
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 +60 -0
- package/ts/customers/addmoredetails.js +314 -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,381 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.27.4
|
|
6
|
+
// source: loans/creditlimit.proto
|
|
7
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
|
+
};
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.creditLimitResponse = exports.creditLimitRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.creditlimit";
|
|
15
|
+
function createBasecreditLimitRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.creditLimitRequest = {
|
|
19
|
+
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
return writer;
|
|
21
|
+
},
|
|
22
|
+
decode(input, length) {
|
|
23
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
24
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
+
const message = createBasecreditLimitRequest();
|
|
26
|
+
while (reader.pos < end) {
|
|
27
|
+
const tag = reader.uint32();
|
|
28
|
+
switch (tag >>> 3) {
|
|
29
|
+
}
|
|
30
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
reader.skipType(tag & 7);
|
|
34
|
+
}
|
|
35
|
+
return message;
|
|
36
|
+
},
|
|
37
|
+
fromJSON(_) {
|
|
38
|
+
return {};
|
|
39
|
+
},
|
|
40
|
+
toJSON(_) {
|
|
41
|
+
const obj = {};
|
|
42
|
+
return obj;
|
|
43
|
+
},
|
|
44
|
+
create(base) {
|
|
45
|
+
return exports.creditLimitRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBasecreditLimitRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBasecreditLimitResponse() {
|
|
53
|
+
return {
|
|
54
|
+
loc_limit: 0,
|
|
55
|
+
used_limit: 0,
|
|
56
|
+
min_tenure: 0,
|
|
57
|
+
max_tenure: 0,
|
|
58
|
+
rate_of_interest: 0,
|
|
59
|
+
increment_step: 0,
|
|
60
|
+
loc_disable: false,
|
|
61
|
+
request_max_percentage: 0,
|
|
62
|
+
bill_date: "",
|
|
63
|
+
minimum_request_amount: 0,
|
|
64
|
+
sanctioned_limit: 0,
|
|
65
|
+
remaining_sanctioned_limit: 0,
|
|
66
|
+
sanctioned_limit_info_popup_heading: "",
|
|
67
|
+
sanctioned_limit_info_popup_body: "",
|
|
68
|
+
exposure_limit_info_popup_heading: "",
|
|
69
|
+
exposure_limit_info_popup_body: "",
|
|
70
|
+
sanctioned_limit_heading: "",
|
|
71
|
+
exposure_limit_heading: "",
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
exports.creditLimitResponse = {
|
|
75
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
76
|
+
if (message.loc_limit !== 0) {
|
|
77
|
+
writer.uint32(8).int32(message.loc_limit);
|
|
78
|
+
}
|
|
79
|
+
if (message.used_limit !== 0) {
|
|
80
|
+
writer.uint32(16).int32(message.used_limit);
|
|
81
|
+
}
|
|
82
|
+
if (message.min_tenure !== 0) {
|
|
83
|
+
writer.uint32(24).int32(message.min_tenure);
|
|
84
|
+
}
|
|
85
|
+
if (message.max_tenure !== 0) {
|
|
86
|
+
writer.uint32(32).int32(message.max_tenure);
|
|
87
|
+
}
|
|
88
|
+
if (message.rate_of_interest !== 0) {
|
|
89
|
+
writer.uint32(40).int32(message.rate_of_interest);
|
|
90
|
+
}
|
|
91
|
+
if (message.increment_step !== 0) {
|
|
92
|
+
writer.uint32(48).int32(message.increment_step);
|
|
93
|
+
}
|
|
94
|
+
if (message.loc_disable !== false) {
|
|
95
|
+
writer.uint32(56).bool(message.loc_disable);
|
|
96
|
+
}
|
|
97
|
+
if (message.request_max_percentage !== 0) {
|
|
98
|
+
writer.uint32(64).int32(message.request_max_percentage);
|
|
99
|
+
}
|
|
100
|
+
if (message.bill_date !== "") {
|
|
101
|
+
writer.uint32(74).string(message.bill_date);
|
|
102
|
+
}
|
|
103
|
+
if (message.minimum_request_amount !== 0) {
|
|
104
|
+
writer.uint32(80).int32(message.minimum_request_amount);
|
|
105
|
+
}
|
|
106
|
+
if (message.sanctioned_limit !== 0) {
|
|
107
|
+
writer.uint32(88).int32(message.sanctioned_limit);
|
|
108
|
+
}
|
|
109
|
+
if (message.remaining_sanctioned_limit !== 0) {
|
|
110
|
+
writer.uint32(96).int32(message.remaining_sanctioned_limit);
|
|
111
|
+
}
|
|
112
|
+
if (message.sanctioned_limit_info_popup_heading !== "") {
|
|
113
|
+
writer.uint32(106).string(message.sanctioned_limit_info_popup_heading);
|
|
114
|
+
}
|
|
115
|
+
if (message.sanctioned_limit_info_popup_body !== "") {
|
|
116
|
+
writer.uint32(114).string(message.sanctioned_limit_info_popup_body);
|
|
117
|
+
}
|
|
118
|
+
if (message.exposure_limit_info_popup_heading !== "") {
|
|
119
|
+
writer.uint32(122).string(message.exposure_limit_info_popup_heading);
|
|
120
|
+
}
|
|
121
|
+
if (message.exposure_limit_info_popup_body !== "") {
|
|
122
|
+
writer.uint32(130).string(message.exposure_limit_info_popup_body);
|
|
123
|
+
}
|
|
124
|
+
if (message.sanctioned_limit_heading !== "") {
|
|
125
|
+
writer.uint32(138).string(message.sanctioned_limit_heading);
|
|
126
|
+
}
|
|
127
|
+
if (message.exposure_limit_heading !== "") {
|
|
128
|
+
writer.uint32(146).string(message.exposure_limit_heading);
|
|
129
|
+
}
|
|
130
|
+
return writer;
|
|
131
|
+
},
|
|
132
|
+
decode(input, length) {
|
|
133
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
134
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
135
|
+
const message = createBasecreditLimitResponse();
|
|
136
|
+
while (reader.pos < end) {
|
|
137
|
+
const tag = reader.uint32();
|
|
138
|
+
switch (tag >>> 3) {
|
|
139
|
+
case 1:
|
|
140
|
+
if (tag !== 8) {
|
|
141
|
+
break;
|
|
142
|
+
}
|
|
143
|
+
message.loc_limit = reader.int32();
|
|
144
|
+
continue;
|
|
145
|
+
case 2:
|
|
146
|
+
if (tag !== 16) {
|
|
147
|
+
break;
|
|
148
|
+
}
|
|
149
|
+
message.used_limit = reader.int32();
|
|
150
|
+
continue;
|
|
151
|
+
case 3:
|
|
152
|
+
if (tag !== 24) {
|
|
153
|
+
break;
|
|
154
|
+
}
|
|
155
|
+
message.min_tenure = reader.int32();
|
|
156
|
+
continue;
|
|
157
|
+
case 4:
|
|
158
|
+
if (tag !== 32) {
|
|
159
|
+
break;
|
|
160
|
+
}
|
|
161
|
+
message.max_tenure = reader.int32();
|
|
162
|
+
continue;
|
|
163
|
+
case 5:
|
|
164
|
+
if (tag !== 40) {
|
|
165
|
+
break;
|
|
166
|
+
}
|
|
167
|
+
message.rate_of_interest = reader.int32();
|
|
168
|
+
continue;
|
|
169
|
+
case 6:
|
|
170
|
+
if (tag !== 48) {
|
|
171
|
+
break;
|
|
172
|
+
}
|
|
173
|
+
message.increment_step = reader.int32();
|
|
174
|
+
continue;
|
|
175
|
+
case 7:
|
|
176
|
+
if (tag !== 56) {
|
|
177
|
+
break;
|
|
178
|
+
}
|
|
179
|
+
message.loc_disable = reader.bool();
|
|
180
|
+
continue;
|
|
181
|
+
case 8:
|
|
182
|
+
if (tag !== 64) {
|
|
183
|
+
break;
|
|
184
|
+
}
|
|
185
|
+
message.request_max_percentage = reader.int32();
|
|
186
|
+
continue;
|
|
187
|
+
case 9:
|
|
188
|
+
if (tag !== 74) {
|
|
189
|
+
break;
|
|
190
|
+
}
|
|
191
|
+
message.bill_date = reader.string();
|
|
192
|
+
continue;
|
|
193
|
+
case 10:
|
|
194
|
+
if (tag !== 80) {
|
|
195
|
+
break;
|
|
196
|
+
}
|
|
197
|
+
message.minimum_request_amount = reader.int32();
|
|
198
|
+
continue;
|
|
199
|
+
case 11:
|
|
200
|
+
if (tag !== 88) {
|
|
201
|
+
break;
|
|
202
|
+
}
|
|
203
|
+
message.sanctioned_limit = reader.int32();
|
|
204
|
+
continue;
|
|
205
|
+
case 12:
|
|
206
|
+
if (tag !== 96) {
|
|
207
|
+
break;
|
|
208
|
+
}
|
|
209
|
+
message.remaining_sanctioned_limit = reader.int32();
|
|
210
|
+
continue;
|
|
211
|
+
case 13:
|
|
212
|
+
if (tag !== 106) {
|
|
213
|
+
break;
|
|
214
|
+
}
|
|
215
|
+
message.sanctioned_limit_info_popup_heading = reader.string();
|
|
216
|
+
continue;
|
|
217
|
+
case 14:
|
|
218
|
+
if (tag !== 114) {
|
|
219
|
+
break;
|
|
220
|
+
}
|
|
221
|
+
message.sanctioned_limit_info_popup_body = reader.string();
|
|
222
|
+
continue;
|
|
223
|
+
case 15:
|
|
224
|
+
if (tag !== 122) {
|
|
225
|
+
break;
|
|
226
|
+
}
|
|
227
|
+
message.exposure_limit_info_popup_heading = reader.string();
|
|
228
|
+
continue;
|
|
229
|
+
case 16:
|
|
230
|
+
if (tag !== 130) {
|
|
231
|
+
break;
|
|
232
|
+
}
|
|
233
|
+
message.exposure_limit_info_popup_body = reader.string();
|
|
234
|
+
continue;
|
|
235
|
+
case 17:
|
|
236
|
+
if (tag !== 138) {
|
|
237
|
+
break;
|
|
238
|
+
}
|
|
239
|
+
message.sanctioned_limit_heading = reader.string();
|
|
240
|
+
continue;
|
|
241
|
+
case 18:
|
|
242
|
+
if (tag !== 146) {
|
|
243
|
+
break;
|
|
244
|
+
}
|
|
245
|
+
message.exposure_limit_heading = reader.string();
|
|
246
|
+
continue;
|
|
247
|
+
}
|
|
248
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
249
|
+
break;
|
|
250
|
+
}
|
|
251
|
+
reader.skipType(tag & 7);
|
|
252
|
+
}
|
|
253
|
+
return message;
|
|
254
|
+
},
|
|
255
|
+
fromJSON(object) {
|
|
256
|
+
return {
|
|
257
|
+
loc_limit: isSet(object.loc_limit) ? globalThis.Number(object.loc_limit) : 0,
|
|
258
|
+
used_limit: isSet(object.used_limit) ? globalThis.Number(object.used_limit) : 0,
|
|
259
|
+
min_tenure: isSet(object.min_tenure) ? globalThis.Number(object.min_tenure) : 0,
|
|
260
|
+
max_tenure: isSet(object.max_tenure) ? globalThis.Number(object.max_tenure) : 0,
|
|
261
|
+
rate_of_interest: isSet(object.rate_of_interest) ? globalThis.Number(object.rate_of_interest) : 0,
|
|
262
|
+
increment_step: isSet(object.increment_step) ? globalThis.Number(object.increment_step) : 0,
|
|
263
|
+
loc_disable: isSet(object.loc_disable) ? globalThis.Boolean(object.loc_disable) : false,
|
|
264
|
+
request_max_percentage: isSet(object.request_max_percentage)
|
|
265
|
+
? globalThis.Number(object.request_max_percentage)
|
|
266
|
+
: 0,
|
|
267
|
+
bill_date: isSet(object.bill_date) ? globalThis.String(object.bill_date) : "",
|
|
268
|
+
minimum_request_amount: isSet(object.minimum_request_amount)
|
|
269
|
+
? globalThis.Number(object.minimum_request_amount)
|
|
270
|
+
: 0,
|
|
271
|
+
sanctioned_limit: isSet(object.sanctioned_limit) ? globalThis.Number(object.sanctioned_limit) : 0,
|
|
272
|
+
remaining_sanctioned_limit: isSet(object.remaining_sanctioned_limit)
|
|
273
|
+
? globalThis.Number(object.remaining_sanctioned_limit)
|
|
274
|
+
: 0,
|
|
275
|
+
sanctioned_limit_info_popup_heading: isSet(object.sanctioned_limit_info_popup_heading)
|
|
276
|
+
? globalThis.String(object.sanctioned_limit_info_popup_heading)
|
|
277
|
+
: "",
|
|
278
|
+
sanctioned_limit_info_popup_body: isSet(object.sanctioned_limit_info_popup_body)
|
|
279
|
+
? globalThis.String(object.sanctioned_limit_info_popup_body)
|
|
280
|
+
: "",
|
|
281
|
+
exposure_limit_info_popup_heading: isSet(object.exposure_limit_info_popup_heading)
|
|
282
|
+
? globalThis.String(object.exposure_limit_info_popup_heading)
|
|
283
|
+
: "",
|
|
284
|
+
exposure_limit_info_popup_body: isSet(object.exposure_limit_info_popup_body)
|
|
285
|
+
? globalThis.String(object.exposure_limit_info_popup_body)
|
|
286
|
+
: "",
|
|
287
|
+
sanctioned_limit_heading: isSet(object.sanctioned_limit_heading)
|
|
288
|
+
? globalThis.String(object.sanctioned_limit_heading)
|
|
289
|
+
: "",
|
|
290
|
+
exposure_limit_heading: isSet(object.exposure_limit_heading)
|
|
291
|
+
? globalThis.String(object.exposure_limit_heading)
|
|
292
|
+
: "",
|
|
293
|
+
};
|
|
294
|
+
},
|
|
295
|
+
toJSON(message) {
|
|
296
|
+
const obj = {};
|
|
297
|
+
if (message.loc_limit !== 0) {
|
|
298
|
+
obj.loc_limit = Math.round(message.loc_limit);
|
|
299
|
+
}
|
|
300
|
+
if (message.used_limit !== 0) {
|
|
301
|
+
obj.used_limit = Math.round(message.used_limit);
|
|
302
|
+
}
|
|
303
|
+
if (message.min_tenure !== 0) {
|
|
304
|
+
obj.min_tenure = Math.round(message.min_tenure);
|
|
305
|
+
}
|
|
306
|
+
if (message.max_tenure !== 0) {
|
|
307
|
+
obj.max_tenure = Math.round(message.max_tenure);
|
|
308
|
+
}
|
|
309
|
+
if (message.rate_of_interest !== 0) {
|
|
310
|
+
obj.rate_of_interest = Math.round(message.rate_of_interest);
|
|
311
|
+
}
|
|
312
|
+
if (message.increment_step !== 0) {
|
|
313
|
+
obj.increment_step = Math.round(message.increment_step);
|
|
314
|
+
}
|
|
315
|
+
if (message.loc_disable !== false) {
|
|
316
|
+
obj.loc_disable = message.loc_disable;
|
|
317
|
+
}
|
|
318
|
+
if (message.request_max_percentage !== 0) {
|
|
319
|
+
obj.request_max_percentage = Math.round(message.request_max_percentage);
|
|
320
|
+
}
|
|
321
|
+
if (message.bill_date !== "") {
|
|
322
|
+
obj.bill_date = message.bill_date;
|
|
323
|
+
}
|
|
324
|
+
if (message.minimum_request_amount !== 0) {
|
|
325
|
+
obj.minimum_request_amount = Math.round(message.minimum_request_amount);
|
|
326
|
+
}
|
|
327
|
+
if (message.sanctioned_limit !== 0) {
|
|
328
|
+
obj.sanctioned_limit = Math.round(message.sanctioned_limit);
|
|
329
|
+
}
|
|
330
|
+
if (message.remaining_sanctioned_limit !== 0) {
|
|
331
|
+
obj.remaining_sanctioned_limit = Math.round(message.remaining_sanctioned_limit);
|
|
332
|
+
}
|
|
333
|
+
if (message.sanctioned_limit_info_popup_heading !== "") {
|
|
334
|
+
obj.sanctioned_limit_info_popup_heading = message.sanctioned_limit_info_popup_heading;
|
|
335
|
+
}
|
|
336
|
+
if (message.sanctioned_limit_info_popup_body !== "") {
|
|
337
|
+
obj.sanctioned_limit_info_popup_body = message.sanctioned_limit_info_popup_body;
|
|
338
|
+
}
|
|
339
|
+
if (message.exposure_limit_info_popup_heading !== "") {
|
|
340
|
+
obj.exposure_limit_info_popup_heading = message.exposure_limit_info_popup_heading;
|
|
341
|
+
}
|
|
342
|
+
if (message.exposure_limit_info_popup_body !== "") {
|
|
343
|
+
obj.exposure_limit_info_popup_body = message.exposure_limit_info_popup_body;
|
|
344
|
+
}
|
|
345
|
+
if (message.sanctioned_limit_heading !== "") {
|
|
346
|
+
obj.sanctioned_limit_heading = message.sanctioned_limit_heading;
|
|
347
|
+
}
|
|
348
|
+
if (message.exposure_limit_heading !== "") {
|
|
349
|
+
obj.exposure_limit_heading = message.exposure_limit_heading;
|
|
350
|
+
}
|
|
351
|
+
return obj;
|
|
352
|
+
},
|
|
353
|
+
create(base) {
|
|
354
|
+
return exports.creditLimitResponse.fromPartial(base ?? {});
|
|
355
|
+
},
|
|
356
|
+
fromPartial(object) {
|
|
357
|
+
const message = createBasecreditLimitResponse();
|
|
358
|
+
message.loc_limit = object.loc_limit ?? 0;
|
|
359
|
+
message.used_limit = object.used_limit ?? 0;
|
|
360
|
+
message.min_tenure = object.min_tenure ?? 0;
|
|
361
|
+
message.max_tenure = object.max_tenure ?? 0;
|
|
362
|
+
message.rate_of_interest = object.rate_of_interest ?? 0;
|
|
363
|
+
message.increment_step = object.increment_step ?? 0;
|
|
364
|
+
message.loc_disable = object.loc_disable ?? false;
|
|
365
|
+
message.request_max_percentage = object.request_max_percentage ?? 0;
|
|
366
|
+
message.bill_date = object.bill_date ?? "";
|
|
367
|
+
message.minimum_request_amount = object.minimum_request_amount ?? 0;
|
|
368
|
+
message.sanctioned_limit = object.sanctioned_limit ?? 0;
|
|
369
|
+
message.remaining_sanctioned_limit = object.remaining_sanctioned_limit ?? 0;
|
|
370
|
+
message.sanctioned_limit_info_popup_heading = object.sanctioned_limit_info_popup_heading ?? "";
|
|
371
|
+
message.sanctioned_limit_info_popup_body = object.sanctioned_limit_info_popup_body ?? "";
|
|
372
|
+
message.exposure_limit_info_popup_heading = object.exposure_limit_info_popup_heading ?? "";
|
|
373
|
+
message.exposure_limit_info_popup_body = object.exposure_limit_info_popup_body ?? "";
|
|
374
|
+
message.sanctioned_limit_heading = object.sanctioned_limit_heading ?? "";
|
|
375
|
+
message.exposure_limit_heading = object.exposure_limit_heading ?? "";
|
|
376
|
+
return message;
|
|
377
|
+
},
|
|
378
|
+
};
|
|
379
|
+
function isSet(value) {
|
|
380
|
+
return value !== null && value !== undefined;
|
|
381
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "loans.futurepaymentmoredetails";
|
|
3
|
+
export interface futurePaymentMoreDetailsRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface futurePaymentMoreDetailsResponse {
|
|
6
|
+
data: futurePaymentMoreDetailsResponse_Field[];
|
|
7
|
+
}
|
|
8
|
+
export interface futurePaymentMoreDetailsResponse_Field {
|
|
9
|
+
loan_number: string;
|
|
10
|
+
emi_amount: number;
|
|
11
|
+
loan_amount: number;
|
|
12
|
+
start_date: string;
|
|
13
|
+
close_date: string;
|
|
14
|
+
loan_id: number;
|
|
15
|
+
}
|
|
16
|
+
export declare const futurePaymentMoreDetailsRequest: {
|
|
17
|
+
encode(_: futurePaymentMoreDetailsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
18
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): futurePaymentMoreDetailsRequest;
|
|
19
|
+
fromJSON(_: any): futurePaymentMoreDetailsRequest;
|
|
20
|
+
toJSON(_: futurePaymentMoreDetailsRequest): unknown;
|
|
21
|
+
create<I extends Exact<DeepPartial<futurePaymentMoreDetailsRequest>, I>>(base?: I): futurePaymentMoreDetailsRequest;
|
|
22
|
+
fromPartial<I extends Exact<DeepPartial<futurePaymentMoreDetailsRequest>, I>>(_: I): futurePaymentMoreDetailsRequest;
|
|
23
|
+
};
|
|
24
|
+
export declare const futurePaymentMoreDetailsResponse: {
|
|
25
|
+
encode(message: futurePaymentMoreDetailsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
26
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): futurePaymentMoreDetailsResponse;
|
|
27
|
+
fromJSON(object: any): futurePaymentMoreDetailsResponse;
|
|
28
|
+
toJSON(message: futurePaymentMoreDetailsResponse): unknown;
|
|
29
|
+
create<I extends Exact<DeepPartial<futurePaymentMoreDetailsResponse>, I>>(base?: I): futurePaymentMoreDetailsResponse;
|
|
30
|
+
fromPartial<I extends Exact<DeepPartial<futurePaymentMoreDetailsResponse>, I>>(object: I): futurePaymentMoreDetailsResponse;
|
|
31
|
+
};
|
|
32
|
+
export declare const futurePaymentMoreDetailsResponse_Field: {
|
|
33
|
+
encode(message: futurePaymentMoreDetailsResponse_Field, writer?: _m0.Writer): _m0.Writer;
|
|
34
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): futurePaymentMoreDetailsResponse_Field;
|
|
35
|
+
fromJSON(object: any): futurePaymentMoreDetailsResponse_Field;
|
|
36
|
+
toJSON(message: futurePaymentMoreDetailsResponse_Field): unknown;
|
|
37
|
+
create<I extends Exact<DeepPartial<futurePaymentMoreDetailsResponse_Field>, I>>(base?: I): futurePaymentMoreDetailsResponse_Field;
|
|
38
|
+
fromPartial<I extends Exact<DeepPartial<futurePaymentMoreDetailsResponse_Field>, I>>(object: I): futurePaymentMoreDetailsResponse_Field;
|
|
39
|
+
};
|
|
40
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
41
|
+
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 {} ? {
|
|
42
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
43
|
+
} : Partial<T>;
|
|
44
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
45
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
46
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
47
|
+
} & {
|
|
48
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
49
|
+
};
|
|
50
|
+
export {};
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
|
+
// protoc v5.27.4
|
|
6
|
+
// source: loans/futurepaymentmoredetails.proto
|
|
7
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
|
+
};
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.futurePaymentMoreDetailsResponse_Field = exports.futurePaymentMoreDetailsResponse = exports.futurePaymentMoreDetailsRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "loans.futurepaymentmoredetails";
|
|
15
|
+
function createBasefuturePaymentMoreDetailsRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.futurePaymentMoreDetailsRequest = {
|
|
19
|
+
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
return writer;
|
|
21
|
+
},
|
|
22
|
+
decode(input, length) {
|
|
23
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
24
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
+
const message = createBasefuturePaymentMoreDetailsRequest();
|
|
26
|
+
while (reader.pos < end) {
|
|
27
|
+
const tag = reader.uint32();
|
|
28
|
+
switch (tag >>> 3) {
|
|
29
|
+
}
|
|
30
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
reader.skipType(tag & 7);
|
|
34
|
+
}
|
|
35
|
+
return message;
|
|
36
|
+
},
|
|
37
|
+
fromJSON(_) {
|
|
38
|
+
return {};
|
|
39
|
+
},
|
|
40
|
+
toJSON(_) {
|
|
41
|
+
const obj = {};
|
|
42
|
+
return obj;
|
|
43
|
+
},
|
|
44
|
+
create(base) {
|
|
45
|
+
return exports.futurePaymentMoreDetailsRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBasefuturePaymentMoreDetailsRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBasefuturePaymentMoreDetailsResponse() {
|
|
53
|
+
return { data: [] };
|
|
54
|
+
}
|
|
55
|
+
exports.futurePaymentMoreDetailsResponse = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
for (const v of message.data) {
|
|
58
|
+
exports.futurePaymentMoreDetailsResponse_Field.encode(v, writer.uint32(10).fork()).ldelim();
|
|
59
|
+
}
|
|
60
|
+
return writer;
|
|
61
|
+
},
|
|
62
|
+
decode(input, length) {
|
|
63
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
64
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
65
|
+
const message = createBasefuturePaymentMoreDetailsResponse();
|
|
66
|
+
while (reader.pos < end) {
|
|
67
|
+
const tag = reader.uint32();
|
|
68
|
+
switch (tag >>> 3) {
|
|
69
|
+
case 1:
|
|
70
|
+
if (tag !== 10) {
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
message.data.push(exports.futurePaymentMoreDetailsResponse_Field.decode(reader, reader.uint32()));
|
|
74
|
+
continue;
|
|
75
|
+
}
|
|
76
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
reader.skipType(tag & 7);
|
|
80
|
+
}
|
|
81
|
+
return message;
|
|
82
|
+
},
|
|
83
|
+
fromJSON(object) {
|
|
84
|
+
return {
|
|
85
|
+
data: globalThis.Array.isArray(object?.data)
|
|
86
|
+
? object.data.map((e) => exports.futurePaymentMoreDetailsResponse_Field.fromJSON(e))
|
|
87
|
+
: [],
|
|
88
|
+
};
|
|
89
|
+
},
|
|
90
|
+
toJSON(message) {
|
|
91
|
+
const obj = {};
|
|
92
|
+
if (message.data?.length) {
|
|
93
|
+
obj.data = message.data.map((e) => exports.futurePaymentMoreDetailsResponse_Field.toJSON(e));
|
|
94
|
+
}
|
|
95
|
+
return obj;
|
|
96
|
+
},
|
|
97
|
+
create(base) {
|
|
98
|
+
return exports.futurePaymentMoreDetailsResponse.fromPartial(base ?? {});
|
|
99
|
+
},
|
|
100
|
+
fromPartial(object) {
|
|
101
|
+
const message = createBasefuturePaymentMoreDetailsResponse();
|
|
102
|
+
message.data = object.data?.map((e) => exports.futurePaymentMoreDetailsResponse_Field.fromPartial(e)) || [];
|
|
103
|
+
return message;
|
|
104
|
+
},
|
|
105
|
+
};
|
|
106
|
+
function createBasefuturePaymentMoreDetailsResponse_Field() {
|
|
107
|
+
return { loan_number: "", emi_amount: 0, loan_amount: 0, start_date: "", close_date: "", loan_id: 0 };
|
|
108
|
+
}
|
|
109
|
+
exports.futurePaymentMoreDetailsResponse_Field = {
|
|
110
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
111
|
+
if (message.loan_number !== "") {
|
|
112
|
+
writer.uint32(10).string(message.loan_number);
|
|
113
|
+
}
|
|
114
|
+
if (message.emi_amount !== 0) {
|
|
115
|
+
writer.uint32(16).int32(message.emi_amount);
|
|
116
|
+
}
|
|
117
|
+
if (message.loan_amount !== 0) {
|
|
118
|
+
writer.uint32(24).int32(message.loan_amount);
|
|
119
|
+
}
|
|
120
|
+
if (message.start_date !== "") {
|
|
121
|
+
writer.uint32(34).string(message.start_date);
|
|
122
|
+
}
|
|
123
|
+
if (message.close_date !== "") {
|
|
124
|
+
writer.uint32(42).string(message.close_date);
|
|
125
|
+
}
|
|
126
|
+
if (message.loan_id !== 0) {
|
|
127
|
+
writer.uint32(48).int32(message.loan_id);
|
|
128
|
+
}
|
|
129
|
+
return writer;
|
|
130
|
+
},
|
|
131
|
+
decode(input, length) {
|
|
132
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
133
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
134
|
+
const message = createBasefuturePaymentMoreDetailsResponse_Field();
|
|
135
|
+
while (reader.pos < end) {
|
|
136
|
+
const tag = reader.uint32();
|
|
137
|
+
switch (tag >>> 3) {
|
|
138
|
+
case 1:
|
|
139
|
+
if (tag !== 10) {
|
|
140
|
+
break;
|
|
141
|
+
}
|
|
142
|
+
message.loan_number = reader.string();
|
|
143
|
+
continue;
|
|
144
|
+
case 2:
|
|
145
|
+
if (tag !== 16) {
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
message.emi_amount = reader.int32();
|
|
149
|
+
continue;
|
|
150
|
+
case 3:
|
|
151
|
+
if (tag !== 24) {
|
|
152
|
+
break;
|
|
153
|
+
}
|
|
154
|
+
message.loan_amount = reader.int32();
|
|
155
|
+
continue;
|
|
156
|
+
case 4:
|
|
157
|
+
if (tag !== 34) {
|
|
158
|
+
break;
|
|
159
|
+
}
|
|
160
|
+
message.start_date = reader.string();
|
|
161
|
+
continue;
|
|
162
|
+
case 5:
|
|
163
|
+
if (tag !== 42) {
|
|
164
|
+
break;
|
|
165
|
+
}
|
|
166
|
+
message.close_date = reader.string();
|
|
167
|
+
continue;
|
|
168
|
+
case 6:
|
|
169
|
+
if (tag !== 48) {
|
|
170
|
+
break;
|
|
171
|
+
}
|
|
172
|
+
message.loan_id = reader.int32();
|
|
173
|
+
continue;
|
|
174
|
+
}
|
|
175
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
176
|
+
break;
|
|
177
|
+
}
|
|
178
|
+
reader.skipType(tag & 7);
|
|
179
|
+
}
|
|
180
|
+
return message;
|
|
181
|
+
},
|
|
182
|
+
fromJSON(object) {
|
|
183
|
+
return {
|
|
184
|
+
loan_number: isSet(object.loan_number) ? globalThis.String(object.loan_number) : "",
|
|
185
|
+
emi_amount: isSet(object.emi_amount) ? globalThis.Number(object.emi_amount) : 0,
|
|
186
|
+
loan_amount: isSet(object.loan_amount) ? globalThis.Number(object.loan_amount) : 0,
|
|
187
|
+
start_date: isSet(object.start_date) ? globalThis.String(object.start_date) : "",
|
|
188
|
+
close_date: isSet(object.close_date) ? globalThis.String(object.close_date) : "",
|
|
189
|
+
loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
|
|
190
|
+
};
|
|
191
|
+
},
|
|
192
|
+
toJSON(message) {
|
|
193
|
+
const obj = {};
|
|
194
|
+
if (message.loan_number !== "") {
|
|
195
|
+
obj.loan_number = message.loan_number;
|
|
196
|
+
}
|
|
197
|
+
if (message.emi_amount !== 0) {
|
|
198
|
+
obj.emi_amount = Math.round(message.emi_amount);
|
|
199
|
+
}
|
|
200
|
+
if (message.loan_amount !== 0) {
|
|
201
|
+
obj.loan_amount = Math.round(message.loan_amount);
|
|
202
|
+
}
|
|
203
|
+
if (message.start_date !== "") {
|
|
204
|
+
obj.start_date = message.start_date;
|
|
205
|
+
}
|
|
206
|
+
if (message.close_date !== "") {
|
|
207
|
+
obj.close_date = message.close_date;
|
|
208
|
+
}
|
|
209
|
+
if (message.loan_id !== 0) {
|
|
210
|
+
obj.loan_id = Math.round(message.loan_id);
|
|
211
|
+
}
|
|
212
|
+
return obj;
|
|
213
|
+
},
|
|
214
|
+
create(base) {
|
|
215
|
+
return exports.futurePaymentMoreDetailsResponse_Field.fromPartial(base ?? {});
|
|
216
|
+
},
|
|
217
|
+
fromPartial(object) {
|
|
218
|
+
const message = createBasefuturePaymentMoreDetailsResponse_Field();
|
|
219
|
+
message.loan_number = object.loan_number ?? "";
|
|
220
|
+
message.emi_amount = object.emi_amount ?? 0;
|
|
221
|
+
message.loan_amount = object.loan_amount ?? 0;
|
|
222
|
+
message.start_date = object.start_date ?? "";
|
|
223
|
+
message.close_date = object.close_date ?? "";
|
|
224
|
+
message.loan_id = object.loan_id ?? 0;
|
|
225
|
+
return message;
|
|
226
|
+
},
|
|
227
|
+
};
|
|
228
|
+
function isSet(value) {
|
|
229
|
+
return value !== null && value !== undefined;
|
|
230
|
+
}
|