@stashfin/grpc 1.2.635 → 1.2.636
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/getloctenure.d.ts +2 -2
- package/ts/loans/getloctenure.js +18 -18
package/package.json
CHANGED
|
@@ -14,11 +14,11 @@ export interface GetLocTenureResponse {
|
|
|
14
14
|
max_tenure: number;
|
|
15
15
|
msg?: string | undefined;
|
|
16
16
|
first_emi_date: string;
|
|
17
|
-
fcp_fee:
|
|
17
|
+
fcp_fee: string;
|
|
18
18
|
fcp_interest: number;
|
|
19
19
|
tenure_details: TenureDetail[];
|
|
20
20
|
is_fip: boolean;
|
|
21
|
-
amount_grossup:
|
|
21
|
+
amount_grossup: number;
|
|
22
22
|
}
|
|
23
23
|
export declare const GetLocTenureRequest: {
|
|
24
24
|
encode(message: GetLocTenureRequest, writer?: _m0.Writer): _m0.Writer;
|
package/ts/loans/getloctenure.js
CHANGED
|
@@ -136,11 +136,11 @@ function createBaseGetLocTenureResponse() {
|
|
|
136
136
|
max_tenure: 0,
|
|
137
137
|
msg: undefined,
|
|
138
138
|
first_emi_date: "",
|
|
139
|
-
fcp_fee:
|
|
139
|
+
fcp_fee: "",
|
|
140
140
|
fcp_interest: 0,
|
|
141
141
|
tenure_details: [],
|
|
142
142
|
is_fip: false,
|
|
143
|
-
amount_grossup:
|
|
143
|
+
amount_grossup: 0,
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
146
|
exports.GetLocTenureResponse = {
|
|
@@ -163,8 +163,8 @@ exports.GetLocTenureResponse = {
|
|
|
163
163
|
if (message.first_emi_date !== "") {
|
|
164
164
|
writer.uint32(50).string(message.first_emi_date);
|
|
165
165
|
}
|
|
166
|
-
if (message.fcp_fee !==
|
|
167
|
-
writer.uint32(
|
|
166
|
+
if (message.fcp_fee !== "") {
|
|
167
|
+
writer.uint32(58).string(message.fcp_fee);
|
|
168
168
|
}
|
|
169
169
|
if (message.fcp_interest !== 0) {
|
|
170
170
|
writer.uint32(64).int32(message.fcp_interest);
|
|
@@ -175,8 +175,8 @@ exports.GetLocTenureResponse = {
|
|
|
175
175
|
if (message.is_fip !== false) {
|
|
176
176
|
writer.uint32(80).bool(message.is_fip);
|
|
177
177
|
}
|
|
178
|
-
if (message.amount_grossup !==
|
|
179
|
-
writer.uint32(
|
|
178
|
+
if (message.amount_grossup !== 0) {
|
|
179
|
+
writer.uint32(88).int32(message.amount_grossup);
|
|
180
180
|
}
|
|
181
181
|
return writer;
|
|
182
182
|
},
|
|
@@ -224,10 +224,10 @@ exports.GetLocTenureResponse = {
|
|
|
224
224
|
message.first_emi_date = reader.string();
|
|
225
225
|
continue;
|
|
226
226
|
case 7:
|
|
227
|
-
if (tag !==
|
|
227
|
+
if (tag !== 58) {
|
|
228
228
|
break;
|
|
229
229
|
}
|
|
230
|
-
message.fcp_fee = reader.
|
|
230
|
+
message.fcp_fee = reader.string();
|
|
231
231
|
continue;
|
|
232
232
|
case 8:
|
|
233
233
|
if (tag !== 64) {
|
|
@@ -248,10 +248,10 @@ exports.GetLocTenureResponse = {
|
|
|
248
248
|
message.is_fip = reader.bool();
|
|
249
249
|
continue;
|
|
250
250
|
case 11:
|
|
251
|
-
if (tag !==
|
|
251
|
+
if (tag !== 88) {
|
|
252
252
|
break;
|
|
253
253
|
}
|
|
254
|
-
message.amount_grossup = reader.
|
|
254
|
+
message.amount_grossup = reader.int32();
|
|
255
255
|
continue;
|
|
256
256
|
}
|
|
257
257
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -269,13 +269,13 @@ exports.GetLocTenureResponse = {
|
|
|
269
269
|
max_tenure: isSet(object.max_tenure) ? globalThis.Number(object.max_tenure) : 0,
|
|
270
270
|
msg: isSet(object.msg) ? globalThis.String(object.msg) : undefined,
|
|
271
271
|
first_emi_date: isSet(object.first_emi_date) ? globalThis.String(object.first_emi_date) : "",
|
|
272
|
-
fcp_fee: isSet(object.fcp_fee) ? globalThis.
|
|
272
|
+
fcp_fee: isSet(object.fcp_fee) ? globalThis.String(object.fcp_fee) : "",
|
|
273
273
|
fcp_interest: isSet(object.fcp_interest) ? globalThis.Number(object.fcp_interest) : 0,
|
|
274
274
|
tenure_details: globalThis.Array.isArray(object?.tenure_details)
|
|
275
275
|
? object.tenure_details.map((e) => exports.TenureDetail.fromJSON(e))
|
|
276
276
|
: [],
|
|
277
277
|
is_fip: isSet(object.is_fip) ? globalThis.Boolean(object.is_fip) : false,
|
|
278
|
-
amount_grossup: isSet(object.amount_grossup) ? globalThis.
|
|
278
|
+
amount_grossup: isSet(object.amount_grossup) ? globalThis.Number(object.amount_grossup) : 0,
|
|
279
279
|
};
|
|
280
280
|
},
|
|
281
281
|
toJSON(message) {
|
|
@@ -298,8 +298,8 @@ exports.GetLocTenureResponse = {
|
|
|
298
298
|
if (message.first_emi_date !== "") {
|
|
299
299
|
obj.first_emi_date = message.first_emi_date;
|
|
300
300
|
}
|
|
301
|
-
if (message.fcp_fee !==
|
|
302
|
-
obj.fcp_fee =
|
|
301
|
+
if (message.fcp_fee !== "") {
|
|
302
|
+
obj.fcp_fee = message.fcp_fee;
|
|
303
303
|
}
|
|
304
304
|
if (message.fcp_interest !== 0) {
|
|
305
305
|
obj.fcp_interest = Math.round(message.fcp_interest);
|
|
@@ -310,8 +310,8 @@ exports.GetLocTenureResponse = {
|
|
|
310
310
|
if (message.is_fip !== false) {
|
|
311
311
|
obj.is_fip = message.is_fip;
|
|
312
312
|
}
|
|
313
|
-
if (message.amount_grossup !==
|
|
314
|
-
obj.amount_grossup = message.amount_grossup;
|
|
313
|
+
if (message.amount_grossup !== 0) {
|
|
314
|
+
obj.amount_grossup = Math.round(message.amount_grossup);
|
|
315
315
|
}
|
|
316
316
|
return obj;
|
|
317
317
|
},
|
|
@@ -326,11 +326,11 @@ exports.GetLocTenureResponse = {
|
|
|
326
326
|
message.max_tenure = object.max_tenure ?? 0;
|
|
327
327
|
message.msg = object.msg ?? undefined;
|
|
328
328
|
message.first_emi_date = object.first_emi_date ?? "";
|
|
329
|
-
message.fcp_fee = object.fcp_fee ??
|
|
329
|
+
message.fcp_fee = object.fcp_fee ?? "";
|
|
330
330
|
message.fcp_interest = object.fcp_interest ?? 0;
|
|
331
331
|
message.tenure_details = object.tenure_details?.map((e) => exports.TenureDetail.fromPartial(e)) || [];
|
|
332
332
|
message.is_fip = object.is_fip ?? false;
|
|
333
|
-
message.amount_grossup = object.amount_grossup ??
|
|
333
|
+
message.amount_grossup = object.amount_grossup ?? 0;
|
|
334
334
|
return message;
|
|
335
335
|
},
|
|
336
336
|
};
|