@stashfin/grpc 1.2.809 → 1.2.810

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.2.809",
3
+ "version": "1.2.810",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -20,6 +20,7 @@ export interface verifyOtpResponse {
20
20
  last_name?: string | undefined;
21
21
  message: string;
22
22
  refresh_token: string;
23
+ is_eqx_customer?: boolean | undefined;
23
24
  }
24
25
  export declare const verifyOtpReqeust: {
25
26
  encode(message: verifyOtpReqeust, writer?: _m0.Writer): _m0.Writer;
@@ -233,6 +233,7 @@ function createBaseverifyOtpResponse() {
233
233
  last_name: undefined,
234
234
  message: "",
235
235
  refresh_token: "",
236
+ is_eqx_customer: undefined,
236
237
  };
237
238
  }
238
239
  exports.verifyOtpResponse = {
@@ -255,6 +256,9 @@ exports.verifyOtpResponse = {
255
256
  if (message.refresh_token !== "") {
256
257
  writer.uint32(50).string(message.refresh_token);
257
258
  }
259
+ if (message.is_eqx_customer !== undefined) {
260
+ writer.uint32(56).bool(message.is_eqx_customer);
261
+ }
258
262
  return writer;
259
263
  },
260
264
  decode(input, length) {
@@ -300,6 +304,12 @@ exports.verifyOtpResponse = {
300
304
  }
301
305
  message.refresh_token = reader.string();
302
306
  continue;
307
+ case 7:
308
+ if (tag !== 56) {
309
+ break;
310
+ }
311
+ message.is_eqx_customer = reader.bool();
312
+ continue;
303
313
  }
304
314
  if ((tag & 7) === 4 || tag === 0) {
305
315
  break;
@@ -316,6 +326,7 @@ exports.verifyOtpResponse = {
316
326
  last_name: isSet(object.last_name) ? globalThis.String(object.last_name) : undefined,
317
327
  message: isSet(object.message) ? globalThis.String(object.message) : "",
318
328
  refresh_token: isSet(object.refresh_token) ? globalThis.String(object.refresh_token) : "",
329
+ is_eqx_customer: isSet(object.is_eqx_customer) ? globalThis.Boolean(object.is_eqx_customer) : undefined,
319
330
  };
320
331
  },
321
332
  toJSON(message) {
@@ -338,6 +349,9 @@ exports.verifyOtpResponse = {
338
349
  if (message.refresh_token !== "") {
339
350
  obj.refresh_token = message.refresh_token;
340
351
  }
352
+ if (message.is_eqx_customer !== undefined) {
353
+ obj.is_eqx_customer = message.is_eqx_customer;
354
+ }
341
355
  return obj;
342
356
  },
343
357
  create(base) {
@@ -351,6 +365,7 @@ exports.verifyOtpResponse = {
351
365
  message.last_name = object.last_name ?? undefined;
352
366
  message.message = object.message ?? "";
353
367
  message.refresh_token = object.refresh_token ?? "";
368
+ message.is_eqx_customer = object.is_eqx_customer ?? undefined;
354
369
  return message;
355
370
  },
356
371
  };