@stashfin/grpc 1.2.381 → 1.2.382
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/creditlimit.d.ts +1 -0
- package/ts/loans/creditlimit.js +15 -0
package/package.json
CHANGED
|
@@ -19,6 +19,7 @@ export interface creditLimitResponse {
|
|
|
19
19
|
exposure_limit_heading: string;
|
|
20
20
|
sanction_upgrade: boolean;
|
|
21
21
|
new_sanctioned_limit: number;
|
|
22
|
+
enach_amount: number;
|
|
22
23
|
}
|
|
23
24
|
export declare const creditLimitRequest: {
|
|
24
25
|
encode(_: creditLimitRequest, writer?: _m0.Writer): _m0.Writer;
|
package/ts/loans/creditlimit.js
CHANGED
|
@@ -67,6 +67,7 @@ function createBasecreditLimitResponse() {
|
|
|
67
67
|
exposure_limit_heading: "",
|
|
68
68
|
sanction_upgrade: false,
|
|
69
69
|
new_sanctioned_limit: 0,
|
|
70
|
+
enach_amount: 0,
|
|
70
71
|
};
|
|
71
72
|
}
|
|
72
73
|
exports.creditLimitResponse = {
|
|
@@ -119,6 +120,9 @@ exports.creditLimitResponse = {
|
|
|
119
120
|
if (message.new_sanctioned_limit !== 0) {
|
|
120
121
|
writer.uint32(128).int32(message.new_sanctioned_limit);
|
|
121
122
|
}
|
|
123
|
+
if (message.enach_amount !== 0) {
|
|
124
|
+
writer.uint32(136).int32(message.enach_amount);
|
|
125
|
+
}
|
|
122
126
|
return writer;
|
|
123
127
|
},
|
|
124
128
|
decode(input, length) {
|
|
@@ -224,6 +228,12 @@ exports.creditLimitResponse = {
|
|
|
224
228
|
}
|
|
225
229
|
message.new_sanctioned_limit = reader.int32();
|
|
226
230
|
continue;
|
|
231
|
+
case 17:
|
|
232
|
+
if (tag !== 136) {
|
|
233
|
+
break;
|
|
234
|
+
}
|
|
235
|
+
message.enach_amount = reader.int32();
|
|
236
|
+
continue;
|
|
227
237
|
}
|
|
228
238
|
if ((tag & 7) === 4 || tag === 0) {
|
|
229
239
|
break;
|
|
@@ -260,6 +270,7 @@ exports.creditLimitResponse = {
|
|
|
260
270
|
: "",
|
|
261
271
|
sanction_upgrade: isSet(object.sanction_upgrade) ? globalThis.Boolean(object.sanction_upgrade) : false,
|
|
262
272
|
new_sanctioned_limit: isSet(object.new_sanctioned_limit) ? globalThis.Number(object.new_sanctioned_limit) : 0,
|
|
273
|
+
enach_amount: isSet(object.enach_amount) ? globalThis.Number(object.enach_amount) : 0,
|
|
263
274
|
};
|
|
264
275
|
},
|
|
265
276
|
toJSON(message) {
|
|
@@ -312,6 +323,9 @@ exports.creditLimitResponse = {
|
|
|
312
323
|
if (message.new_sanctioned_limit !== 0) {
|
|
313
324
|
obj.new_sanctioned_limit = Math.round(message.new_sanctioned_limit);
|
|
314
325
|
}
|
|
326
|
+
if (message.enach_amount !== 0) {
|
|
327
|
+
obj.enach_amount = Math.round(message.enach_amount);
|
|
328
|
+
}
|
|
315
329
|
return obj;
|
|
316
330
|
},
|
|
317
331
|
create(base) {
|
|
@@ -335,6 +349,7 @@ exports.creditLimitResponse = {
|
|
|
335
349
|
message.exposure_limit_heading = object.exposure_limit_heading ?? "";
|
|
336
350
|
message.sanction_upgrade = object.sanction_upgrade ?? false;
|
|
337
351
|
message.new_sanctioned_limit = object.new_sanctioned_limit ?? 0;
|
|
352
|
+
message.enach_amount = object.enach_amount ?? 0;
|
|
338
353
|
return message;
|
|
339
354
|
},
|
|
340
355
|
};
|