@stashfin/grpc 1.5.4 → 1.5.5

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.4",
3
+ "version": "1.5.5",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -21,6 +21,7 @@ export interface getCustomerByIdResponse {
21
21
  next_step?: string | undefined;
22
22
  is_akara_registered?: string | undefined;
23
23
  eqx_customer_category?: string | undefined;
24
+ integrityStatus?: string | undefined;
24
25
  }
25
26
  export declare const getCustomerByIdRequest: {
26
27
  encode(message: getCustomerByIdRequest, writer?: _m0.Writer): _m0.Writer;
@@ -82,6 +82,7 @@ function createBasegetCustomerByIdResponse() {
82
82
  next_step: undefined,
83
83
  is_akara_registered: undefined,
84
84
  eqx_customer_category: undefined,
85
+ integrityStatus: undefined,
85
86
  };
86
87
  }
87
88
  exports.getCustomerByIdResponse = {
@@ -137,6 +138,9 @@ exports.getCustomerByIdResponse = {
137
138
  if (message.eqx_customer_category !== undefined) {
138
139
  writer.uint32(138).string(message.eqx_customer_category);
139
140
  }
141
+ if (message.integrityStatus !== undefined) {
142
+ writer.uint32(146).string(message.integrityStatus);
143
+ }
140
144
  return writer;
141
145
  },
142
146
  decode(input, length) {
@@ -248,6 +252,12 @@ exports.getCustomerByIdResponse = {
248
252
  }
249
253
  message.eqx_customer_category = reader.string();
250
254
  continue;
255
+ case 18:
256
+ if (tag !== 146) {
257
+ break;
258
+ }
259
+ message.integrityStatus = reader.string();
260
+ continue;
251
261
  }
252
262
  if ((tag & 7) === 4 || tag === 0) {
253
263
  break;
@@ -279,6 +289,7 @@ exports.getCustomerByIdResponse = {
279
289
  eqx_customer_category: isSet(object.eqx_customer_category)
280
290
  ? globalThis.String(object.eqx_customer_category)
281
291
  : undefined,
292
+ integrityStatus: isSet(object.integrityStatus) ? globalThis.String(object.integrityStatus) : undefined,
282
293
  };
283
294
  },
284
295
  toJSON(message) {
@@ -334,6 +345,9 @@ exports.getCustomerByIdResponse = {
334
345
  if (message.eqx_customer_category !== undefined) {
335
346
  obj.eqx_customer_category = message.eqx_customer_category;
336
347
  }
348
+ if (message.integrityStatus !== undefined) {
349
+ obj.integrityStatus = message.integrityStatus;
350
+ }
337
351
  return obj;
338
352
  },
339
353
  create(base) {
@@ -358,6 +372,7 @@ exports.getCustomerByIdResponse = {
358
372
  message.next_step = object.next_step ?? undefined;
359
373
  message.is_akara_registered = object.is_akara_registered ?? undefined;
360
374
  message.eqx_customer_category = object.eqx_customer_category ?? undefined;
375
+ message.integrityStatus = object.integrityStatus ?? undefined;
361
376
  return message;
362
377
  },
363
378
  };