@stashfin/grpc 1.2.838 → 1.2.840

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.838",
3
+ "version": "1.2.840",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -19,6 +19,7 @@ export interface getCustomerByIdResponse {
19
19
  credit_score?: number | undefined;
20
20
  is_bureau_fetched: boolean;
21
21
  next_step?: string | undefined;
22
+ is_akara_registered?: string | undefined;
22
23
  }
23
24
  export declare const getCustomerByIdRequest: {
24
25
  encode(message: getCustomerByIdRequest, writer?: _m0.Writer): _m0.Writer;
@@ -80,6 +80,7 @@ function createBasegetCustomerByIdResponse() {
80
80
  credit_score: undefined,
81
81
  is_bureau_fetched: false,
82
82
  next_step: undefined,
83
+ is_akara_registered: undefined,
83
84
  };
84
85
  }
85
86
  exports.getCustomerByIdResponse = {
@@ -129,6 +130,9 @@ exports.getCustomerByIdResponse = {
129
130
  if (message.next_step !== undefined) {
130
131
  writer.uint32(122).string(message.next_step);
131
132
  }
133
+ if (message.is_akara_registered !== undefined) {
134
+ writer.uint32(130).string(message.is_akara_registered);
135
+ }
132
136
  return writer;
133
137
  },
134
138
  decode(input, length) {
@@ -228,6 +232,12 @@ exports.getCustomerByIdResponse = {
228
232
  }
229
233
  message.next_step = reader.string();
230
234
  continue;
235
+ case 16:
236
+ if (tag !== 130) {
237
+ break;
238
+ }
239
+ message.is_akara_registered = reader.string();
240
+ continue;
231
241
  }
232
242
  if ((tag & 7) === 4 || tag === 0) {
233
243
  break;
@@ -253,6 +263,9 @@ exports.getCustomerByIdResponse = {
253
263
  credit_score: isSet(object.credit_score) ? globalThis.Number(object.credit_score) : undefined,
254
264
  is_bureau_fetched: isSet(object.is_bureau_fetched) ? globalThis.Boolean(object.is_bureau_fetched) : false,
255
265
  next_step: isSet(object.next_step) ? globalThis.String(object.next_step) : undefined,
266
+ is_akara_registered: isSet(object.is_akara_registered)
267
+ ? globalThis.String(object.is_akara_registered)
268
+ : undefined,
256
269
  };
257
270
  },
258
271
  toJSON(message) {
@@ -302,6 +315,9 @@ exports.getCustomerByIdResponse = {
302
315
  if (message.next_step !== undefined) {
303
316
  obj.next_step = message.next_step;
304
317
  }
318
+ if (message.is_akara_registered !== undefined) {
319
+ obj.is_akara_registered = message.is_akara_registered;
320
+ }
305
321
  return obj;
306
322
  },
307
323
  create(base) {
@@ -324,6 +340,7 @@ exports.getCustomerByIdResponse = {
324
340
  message.credit_score = object.credit_score ?? undefined;
325
341
  message.is_bureau_fetched = object.is_bureau_fetched ?? false;
326
342
  message.next_step = object.next_step ?? undefined;
343
+ message.is_akara_registered = object.is_akara_registered ?? undefined;
327
344
  return message;
328
345
  },
329
346
  };