@stashfin/grpc 1.2.380 → 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
CHANGED
|
@@ -137,6 +137,7 @@ function createBasegetPocketPersonalAccidentProtectionPlanResponse() {
|
|
|
137
137
|
terms_link: "",
|
|
138
138
|
button_name: "",
|
|
139
139
|
status: "",
|
|
140
|
+
plan_name: "",
|
|
140
141
|
plan_details: undefined,
|
|
141
142
|
};
|
|
142
143
|
}
|
|
@@ -160,8 +161,11 @@ exports.getPocketPersonalAccidentProtectionPlanResponse = {
|
|
|
160
161
|
if (message.status !== "") {
|
|
161
162
|
writer.uint32(50).string(message.status);
|
|
162
163
|
}
|
|
164
|
+
if (message.plan_name !== "") {
|
|
165
|
+
writer.uint32(58).string(message.plan_name);
|
|
166
|
+
}
|
|
163
167
|
if (message.plan_details !== undefined) {
|
|
164
|
-
exports.PlanDetails.encode(message.plan_details, writer.uint32(
|
|
168
|
+
exports.PlanDetails.encode(message.plan_details, writer.uint32(66).fork()).ldelim();
|
|
165
169
|
}
|
|
166
170
|
return writer;
|
|
167
171
|
},
|
|
@@ -212,6 +216,12 @@ exports.getPocketPersonalAccidentProtectionPlanResponse = {
|
|
|
212
216
|
if (tag !== 58) {
|
|
213
217
|
break;
|
|
214
218
|
}
|
|
219
|
+
message.plan_name = reader.string();
|
|
220
|
+
continue;
|
|
221
|
+
case 8:
|
|
222
|
+
if (tag !== 66) {
|
|
223
|
+
break;
|
|
224
|
+
}
|
|
215
225
|
message.plan_details = exports.PlanDetails.decode(reader, reader.uint32());
|
|
216
226
|
continue;
|
|
217
227
|
}
|
|
@@ -230,6 +240,7 @@ exports.getPocketPersonalAccidentProtectionPlanResponse = {
|
|
|
230
240
|
terms_link: isSet(object.terms_link) ? globalThis.String(object.terms_link) : "",
|
|
231
241
|
button_name: isSet(object.button_name) ? globalThis.String(object.button_name) : "",
|
|
232
242
|
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
243
|
+
plan_name: isSet(object.plan_name) ? globalThis.String(object.plan_name) : "",
|
|
233
244
|
plan_details: isSet(object.plan_details) ? exports.PlanDetails.fromJSON(object.plan_details) : undefined,
|
|
234
245
|
};
|
|
235
246
|
},
|
|
@@ -253,6 +264,9 @@ exports.getPocketPersonalAccidentProtectionPlanResponse = {
|
|
|
253
264
|
if (message.status !== "") {
|
|
254
265
|
obj.status = message.status;
|
|
255
266
|
}
|
|
267
|
+
if (message.plan_name !== "") {
|
|
268
|
+
obj.plan_name = message.plan_name;
|
|
269
|
+
}
|
|
256
270
|
if (message.plan_details !== undefined) {
|
|
257
271
|
obj.plan_details = exports.PlanDetails.toJSON(message.plan_details);
|
|
258
272
|
}
|
|
@@ -269,6 +283,7 @@ exports.getPocketPersonalAccidentProtectionPlanResponse = {
|
|
|
269
283
|
message.terms_link = object.terms_link ?? "";
|
|
270
284
|
message.button_name = object.button_name ?? "";
|
|
271
285
|
message.status = object.status ?? "";
|
|
286
|
+
message.plan_name = object.plan_name ?? "";
|
|
272
287
|
message.plan_details = (object.plan_details !== undefined && object.plan_details !== null)
|
|
273
288
|
? exports.PlanDetails.fromPartial(object.plan_details)
|
|
274
289
|
: undefined;
|
|
@@ -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
|
};
|