@stashfin/grpc 1.5.38 → 1.5.39

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/grpc",
3
- "version": "1.5.38",
3
+ "version": "1.5.39",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -21,6 +21,9 @@ export interface GetLocWithdrawFormResponse {
21
21
  vkyc_limit: number;
22
22
  nudge_limit: number;
23
23
  is_vkyc_kyc_done: boolean;
24
+ is_vkyc_active: boolean;
25
+ shownudge: boolean;
26
+ vkyc_status: string;
24
27
  }
25
28
  export declare const GetLocWithdrawFormRequest: {
26
29
  encode(_: GetLocWithdrawFormRequest, writer?: _m0.Writer): _m0.Writer;
@@ -69,6 +69,9 @@ function createBaseGetLocWithdrawFormResponse() {
69
69
  vkyc_limit: 0,
70
70
  nudge_limit: 0,
71
71
  is_vkyc_kyc_done: false,
72
+ is_vkyc_active: false,
73
+ shownudge: false,
74
+ vkyc_status: "",
72
75
  };
73
76
  }
74
77
  exports.GetLocWithdrawFormResponse = {
@@ -127,6 +130,15 @@ exports.GetLocWithdrawFormResponse = {
127
130
  if (message.is_vkyc_kyc_done !== false) {
128
131
  writer.uint32(144).bool(message.is_vkyc_kyc_done);
129
132
  }
133
+ if (message.is_vkyc_active !== false) {
134
+ writer.uint32(152).bool(message.is_vkyc_active);
135
+ }
136
+ if (message.shownudge !== false) {
137
+ writer.uint32(160).bool(message.shownudge);
138
+ }
139
+ if (message.vkyc_status !== "") {
140
+ writer.uint32(170).string(message.vkyc_status);
141
+ }
130
142
  return writer;
131
143
  },
132
144
  decode(input, length) {
@@ -244,6 +256,24 @@ exports.GetLocWithdrawFormResponse = {
244
256
  }
245
257
  message.is_vkyc_kyc_done = reader.bool();
246
258
  continue;
259
+ case 19:
260
+ if (tag !== 152) {
261
+ break;
262
+ }
263
+ message.is_vkyc_active = reader.bool();
264
+ continue;
265
+ case 20:
266
+ if (tag !== 160) {
267
+ break;
268
+ }
269
+ message.shownudge = reader.bool();
270
+ continue;
271
+ case 21:
272
+ if (tag !== 170) {
273
+ break;
274
+ }
275
+ message.vkyc_status = reader.string();
276
+ continue;
247
277
  }
248
278
  if ((tag & 7) === 4 || tag === 0) {
249
279
  break;
@@ -278,6 +308,9 @@ exports.GetLocWithdrawFormResponse = {
278
308
  vkyc_limit: isSet(object.vkyc_limit) ? globalThis.Number(object.vkyc_limit) : 0,
279
309
  nudge_limit: isSet(object.nudge_limit) ? globalThis.Number(object.nudge_limit) : 0,
280
310
  is_vkyc_kyc_done: isSet(object.is_vkyc_kyc_done) ? globalThis.Boolean(object.is_vkyc_kyc_done) : false,
311
+ is_vkyc_active: isSet(object.is_vkyc_active) ? globalThis.Boolean(object.is_vkyc_active) : false,
312
+ shownudge: isSet(object.shownudge) ? globalThis.Boolean(object.shownudge) : false,
313
+ vkyc_status: isSet(object.vkyc_status) ? globalThis.String(object.vkyc_status) : "",
281
314
  };
282
315
  },
283
316
  toJSON(message) {
@@ -336,6 +369,15 @@ exports.GetLocWithdrawFormResponse = {
336
369
  if (message.is_vkyc_kyc_done !== false) {
337
370
  obj.is_vkyc_kyc_done = message.is_vkyc_kyc_done;
338
371
  }
372
+ if (message.is_vkyc_active !== false) {
373
+ obj.is_vkyc_active = message.is_vkyc_active;
374
+ }
375
+ if (message.shownudge !== false) {
376
+ obj.shownudge = message.shownudge;
377
+ }
378
+ if (message.vkyc_status !== "") {
379
+ obj.vkyc_status = message.vkyc_status;
380
+ }
339
381
  return obj;
340
382
  },
341
383
  create(base) {
@@ -361,6 +403,9 @@ exports.GetLocWithdrawFormResponse = {
361
403
  message.vkyc_limit = object.vkyc_limit ?? 0;
362
404
  message.nudge_limit = object.nudge_limit ?? 0;
363
405
  message.is_vkyc_kyc_done = object.is_vkyc_kyc_done ?? false;
406
+ message.is_vkyc_active = object.is_vkyc_active ?? false;
407
+ message.shownudge = object.shownudge ?? false;
408
+ message.vkyc_status = object.vkyc_status ?? "";
364
409
  return message;
365
410
  },
366
411
  };