@stashfin/grpc 1.2.835 → 1.2.836

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.835",
3
+ "version": "1.2.836",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -18,6 +18,7 @@ export interface getCustomerByIdResponse {
18
18
  dob?: string | undefined;
19
19
  credit_score?: number | undefined;
20
20
  is_bureau_fetched: boolean;
21
+ next_step?: string | undefined;
21
22
  }
22
23
  export declare const getCustomerByIdRequest: {
23
24
  encode(message: getCustomerByIdRequest, writer?: _m0.Writer): _m0.Writer;
@@ -79,6 +79,7 @@ function createBasegetCustomerByIdResponse() {
79
79
  dob: undefined,
80
80
  credit_score: undefined,
81
81
  is_bureau_fetched: false,
82
+ next_step: undefined,
82
83
  };
83
84
  }
84
85
  exports.getCustomerByIdResponse = {
@@ -125,6 +126,9 @@ exports.getCustomerByIdResponse = {
125
126
  if (message.is_bureau_fetched !== false) {
126
127
  writer.uint32(112).bool(message.is_bureau_fetched);
127
128
  }
129
+ if (message.next_step !== undefined) {
130
+ writer.uint32(122).string(message.next_step);
131
+ }
128
132
  return writer;
129
133
  },
130
134
  decode(input, length) {
@@ -218,6 +222,12 @@ exports.getCustomerByIdResponse = {
218
222
  }
219
223
  message.is_bureau_fetched = reader.bool();
220
224
  continue;
225
+ case 15:
226
+ if (tag !== 122) {
227
+ break;
228
+ }
229
+ message.next_step = reader.string();
230
+ continue;
221
231
  }
222
232
  if ((tag & 7) === 4 || tag === 0) {
223
233
  break;
@@ -242,6 +252,7 @@ exports.getCustomerByIdResponse = {
242
252
  dob: isSet(object.dob) ? globalThis.String(object.dob) : undefined,
243
253
  credit_score: isSet(object.credit_score) ? globalThis.Number(object.credit_score) : undefined,
244
254
  is_bureau_fetched: isSet(object.is_bureau_fetched) ? globalThis.Boolean(object.is_bureau_fetched) : false,
255
+ next_step: isSet(object.next_step) ? globalThis.String(object.next_step) : undefined,
245
256
  };
246
257
  },
247
258
  toJSON(message) {
@@ -288,6 +299,9 @@ exports.getCustomerByIdResponse = {
288
299
  if (message.is_bureau_fetched !== false) {
289
300
  obj.is_bureau_fetched = message.is_bureau_fetched;
290
301
  }
302
+ if (message.next_step !== undefined) {
303
+ obj.next_step = message.next_step;
304
+ }
291
305
  return obj;
292
306
  },
293
307
  create(base) {
@@ -309,6 +323,7 @@ exports.getCustomerByIdResponse = {
309
323
  message.dob = object.dob ?? undefined;
310
324
  message.credit_score = object.credit_score ?? undefined;
311
325
  message.is_bureau_fetched = object.is_bureau_fetched ?? false;
326
+ message.next_step = object.next_step ?? undefined;
312
327
  return message;
313
328
  },
314
329
  };