@stashfin/grpc 1.2.61 → 1.2.62
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
|
@@ -19,7 +19,7 @@ export interface loanSummaryResponse {
|
|
|
19
19
|
loc_disable: boolean;
|
|
20
20
|
exposure_limit: number;
|
|
21
21
|
sanctioned_limit: number;
|
|
22
|
-
|
|
22
|
+
remaining_sanctioned_limit: number;
|
|
23
23
|
}
|
|
24
24
|
export declare const loanSummaryRequest: {
|
|
25
25
|
encode(_: loanSummaryRequest, writer?: _m0.Writer): _m0.Writer;
|
package/ts/loans/loansummary.js
CHANGED
|
@@ -67,7 +67,7 @@ function createBaseloanSummaryResponse() {
|
|
|
67
67
|
loc_disable: false,
|
|
68
68
|
exposure_limit: 0,
|
|
69
69
|
sanctioned_limit: 0,
|
|
70
|
-
|
|
70
|
+
remaining_sanctioned_limit: 0,
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
exports.loanSummaryResponse = {
|
|
@@ -120,8 +120,8 @@ exports.loanSummaryResponse = {
|
|
|
120
120
|
if (message.sanctioned_limit !== 0) {
|
|
121
121
|
writer.uint32(128).int32(message.sanctioned_limit);
|
|
122
122
|
}
|
|
123
|
-
if (message.
|
|
124
|
-
writer.uint32(136).int32(message.
|
|
123
|
+
if (message.remaining_sanctioned_limit !== 0) {
|
|
124
|
+
writer.uint32(136).int32(message.remaining_sanctioned_limit);
|
|
125
125
|
}
|
|
126
126
|
return writer;
|
|
127
127
|
},
|
|
@@ -232,7 +232,7 @@ exports.loanSummaryResponse = {
|
|
|
232
232
|
if (tag !== 136) {
|
|
233
233
|
break;
|
|
234
234
|
}
|
|
235
|
-
message.
|
|
235
|
+
message.remaining_sanctioned_limit = reader.int32();
|
|
236
236
|
continue;
|
|
237
237
|
}
|
|
238
238
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -270,8 +270,8 @@ exports.loanSummaryResponse = {
|
|
|
270
270
|
loc_disable: isSet(object.loc_disable) ? globalThis.Boolean(object.loc_disable) : false,
|
|
271
271
|
exposure_limit: isSet(object.exposure_limit) ? globalThis.Number(object.exposure_limit) : 0,
|
|
272
272
|
sanctioned_limit: isSet(object.sanctioned_limit) ? globalThis.Number(object.sanctioned_limit) : 0,
|
|
273
|
-
|
|
274
|
-
? globalThis.Number(object.
|
|
273
|
+
remaining_sanctioned_limit: isSet(object.remaining_sanctioned_limit)
|
|
274
|
+
? globalThis.Number(object.remaining_sanctioned_limit)
|
|
275
275
|
: 0,
|
|
276
276
|
};
|
|
277
277
|
},
|
|
@@ -325,8 +325,8 @@ exports.loanSummaryResponse = {
|
|
|
325
325
|
if (message.sanctioned_limit !== 0) {
|
|
326
326
|
obj.sanctioned_limit = Math.round(message.sanctioned_limit);
|
|
327
327
|
}
|
|
328
|
-
if (message.
|
|
329
|
-
obj.
|
|
328
|
+
if (message.remaining_sanctioned_limit !== 0) {
|
|
329
|
+
obj.remaining_sanctioned_limit = Math.round(message.remaining_sanctioned_limit);
|
|
330
330
|
}
|
|
331
331
|
return obj;
|
|
332
332
|
},
|
|
@@ -351,7 +351,7 @@ exports.loanSummaryResponse = {
|
|
|
351
351
|
message.loc_disable = object.loc_disable ?? false;
|
|
352
352
|
message.exposure_limit = object.exposure_limit ?? 0;
|
|
353
353
|
message.sanctioned_limit = object.sanctioned_limit ?? 0;
|
|
354
|
-
message.
|
|
354
|
+
message.remaining_sanctioned_limit = object.remaining_sanctioned_limit ?? 0;
|
|
355
355
|
return message;
|
|
356
356
|
},
|
|
357
357
|
};
|