@stashfin/grpc 1.2.635 → 1.2.637
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
|
@@ -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
|
};
|
|
@@ -11,7 +11,6 @@ export interface getAccountsByProviderResponse {
|
|
|
11
11
|
response?: string | undefined;
|
|
12
12
|
ActCode?: string | undefined;
|
|
13
13
|
message?: string | undefined;
|
|
14
|
-
Response?: string | undefined;
|
|
15
14
|
BankRRN?: string | undefined;
|
|
16
15
|
UpiTranlogId?: string | undefined;
|
|
17
16
|
UserProfile?: string | undefined;
|
|
@@ -112,7 +112,6 @@ function createBasegetAccountsByProviderResponse() {
|
|
|
112
112
|
response: undefined,
|
|
113
113
|
ActCode: undefined,
|
|
114
114
|
message: undefined,
|
|
115
|
-
Response: undefined,
|
|
116
115
|
BankRRN: undefined,
|
|
117
116
|
UpiTranlogId: undefined,
|
|
118
117
|
UserProfile: undefined,
|
|
@@ -138,35 +137,32 @@ exports.getAccountsByProviderResponse = {
|
|
|
138
137
|
if (message.message !== undefined) {
|
|
139
138
|
writer.uint32(34).string(message.message);
|
|
140
139
|
}
|
|
141
|
-
if (message.Response !== undefined) {
|
|
142
|
-
writer.uint32(42).string(message.Response);
|
|
143
|
-
}
|
|
144
140
|
if (message.BankRRN !== undefined) {
|
|
145
|
-
writer.uint32(
|
|
141
|
+
writer.uint32(42).string(message.BankRRN);
|
|
146
142
|
}
|
|
147
143
|
if (message.UpiTranlogId !== undefined) {
|
|
148
|
-
writer.uint32(
|
|
144
|
+
writer.uint32(50).string(message.UpiTranlogId);
|
|
149
145
|
}
|
|
150
146
|
if (message.UserProfile !== undefined) {
|
|
151
|
-
writer.uint32(
|
|
147
|
+
writer.uint32(58).string(message.UserProfile);
|
|
152
148
|
}
|
|
153
149
|
if (message.SeqNo !== undefined) {
|
|
154
|
-
writer.uint32(
|
|
150
|
+
writer.uint32(66).string(message.SeqNo);
|
|
155
151
|
}
|
|
156
152
|
if (message.PayerRespCode !== undefined) {
|
|
157
|
-
writer.uint32(
|
|
153
|
+
writer.uint32(74).string(message.PayerRespCode);
|
|
158
154
|
}
|
|
159
155
|
if (message.PayeeRespCode !== undefined) {
|
|
160
|
-
writer.uint32(
|
|
156
|
+
writer.uint32(82).string(message.PayeeRespCode);
|
|
161
157
|
}
|
|
162
158
|
if (message.PayerRevRespCode !== undefined) {
|
|
163
|
-
writer.uint32(
|
|
159
|
+
writer.uint32(90).string(message.PayerRevRespCode);
|
|
164
160
|
}
|
|
165
161
|
if (message.PayeeRevRespCode !== undefined) {
|
|
166
|
-
writer.uint32(
|
|
162
|
+
writer.uint32(98).string(message.PayeeRevRespCode);
|
|
167
163
|
}
|
|
168
164
|
if (message.MobileAppData !== undefined) {
|
|
169
|
-
exports.MobileAppDataList.encode(message.MobileAppData, writer.uint32(
|
|
165
|
+
exports.MobileAppDataList.encode(message.MobileAppData, writer.uint32(106).fork()).ldelim();
|
|
170
166
|
}
|
|
171
167
|
return writer;
|
|
172
168
|
},
|
|
@@ -205,60 +201,54 @@ exports.getAccountsByProviderResponse = {
|
|
|
205
201
|
if (tag !== 42) {
|
|
206
202
|
break;
|
|
207
203
|
}
|
|
208
|
-
message.
|
|
204
|
+
message.BankRRN = reader.string();
|
|
209
205
|
continue;
|
|
210
206
|
case 6:
|
|
211
207
|
if (tag !== 50) {
|
|
212
208
|
break;
|
|
213
209
|
}
|
|
214
|
-
message.
|
|
210
|
+
message.UpiTranlogId = reader.string();
|
|
215
211
|
continue;
|
|
216
212
|
case 7:
|
|
217
213
|
if (tag !== 58) {
|
|
218
214
|
break;
|
|
219
215
|
}
|
|
220
|
-
message.
|
|
216
|
+
message.UserProfile = reader.string();
|
|
221
217
|
continue;
|
|
222
218
|
case 8:
|
|
223
219
|
if (tag !== 66) {
|
|
224
220
|
break;
|
|
225
221
|
}
|
|
226
|
-
message.
|
|
222
|
+
message.SeqNo = reader.string();
|
|
227
223
|
continue;
|
|
228
224
|
case 9:
|
|
229
225
|
if (tag !== 74) {
|
|
230
226
|
break;
|
|
231
227
|
}
|
|
232
|
-
message.
|
|
228
|
+
message.PayerRespCode = reader.string();
|
|
233
229
|
continue;
|
|
234
230
|
case 10:
|
|
235
231
|
if (tag !== 82) {
|
|
236
232
|
break;
|
|
237
233
|
}
|
|
238
|
-
message.
|
|
234
|
+
message.PayeeRespCode = reader.string();
|
|
239
235
|
continue;
|
|
240
236
|
case 11:
|
|
241
237
|
if (tag !== 90) {
|
|
242
238
|
break;
|
|
243
239
|
}
|
|
244
|
-
message.
|
|
240
|
+
message.PayerRevRespCode = reader.string();
|
|
245
241
|
continue;
|
|
246
242
|
case 12:
|
|
247
243
|
if (tag !== 98) {
|
|
248
244
|
break;
|
|
249
245
|
}
|
|
250
|
-
message.
|
|
246
|
+
message.PayeeRevRespCode = reader.string();
|
|
251
247
|
continue;
|
|
252
248
|
case 13:
|
|
253
249
|
if (tag !== 106) {
|
|
254
250
|
break;
|
|
255
251
|
}
|
|
256
|
-
message.PayeeRevRespCode = reader.string();
|
|
257
|
-
continue;
|
|
258
|
-
case 14:
|
|
259
|
-
if (tag !== 114) {
|
|
260
|
-
break;
|
|
261
|
-
}
|
|
262
252
|
message.MobileAppData = exports.MobileAppDataList.decode(reader, reader.uint32());
|
|
263
253
|
continue;
|
|
264
254
|
}
|
|
@@ -275,7 +265,6 @@ exports.getAccountsByProviderResponse = {
|
|
|
275
265
|
response: isSet(object.response) ? globalThis.String(object.response) : undefined,
|
|
276
266
|
ActCode: isSet(object.ActCode) ? globalThis.String(object.ActCode) : undefined,
|
|
277
267
|
message: isSet(object.message) ? globalThis.String(object.message) : undefined,
|
|
278
|
-
Response: isSet(object.Response) ? globalThis.String(object.Response) : undefined,
|
|
279
268
|
BankRRN: isSet(object.BankRRN) ? globalThis.String(object.BankRRN) : undefined,
|
|
280
269
|
UpiTranlogId: isSet(object.UpiTranlogId) ? globalThis.String(object.UpiTranlogId) : undefined,
|
|
281
270
|
UserProfile: isSet(object.UserProfile) ? globalThis.String(object.UserProfile) : undefined,
|
|
@@ -301,9 +290,6 @@ exports.getAccountsByProviderResponse = {
|
|
|
301
290
|
if (message.message !== undefined) {
|
|
302
291
|
obj.message = message.message;
|
|
303
292
|
}
|
|
304
|
-
if (message.Response !== undefined) {
|
|
305
|
-
obj.Response = message.Response;
|
|
306
|
-
}
|
|
307
293
|
if (message.BankRRN !== undefined) {
|
|
308
294
|
obj.BankRRN = message.BankRRN;
|
|
309
295
|
}
|
|
@@ -342,7 +328,6 @@ exports.getAccountsByProviderResponse = {
|
|
|
342
328
|
message.response = object.response ?? undefined;
|
|
343
329
|
message.ActCode = object.ActCode ?? undefined;
|
|
344
330
|
message.message = object.message ?? undefined;
|
|
345
|
-
message.Response = object.Response ?? undefined;
|
|
346
331
|
message.BankRRN = object.BankRRN ?? undefined;
|
|
347
332
|
message.UpiTranlogId = object.UpiTranlogId ?? undefined;
|
|
348
333
|
message.UserProfile = object.UserProfile ?? undefined;
|