@stashfin/grpc 1.2.189 → 1.2.190

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.189",
3
+ "version": "1.2.190",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -16,7 +16,7 @@ export interface Report {
16
16
  dob: string;
17
17
  income: number;
18
18
  pull_date: string;
19
- bureau_type: number;
19
+ bureau_type: string;
20
20
  gender: string;
21
21
  }
22
22
  export declare const detailsRequest: {
@@ -160,7 +160,7 @@ exports.detailsResponse = {
160
160
  },
161
161
  };
162
162
  function createBaseReport() {
163
- return { score: 0, name: "", occupation: "", dob: "", income: 0, pull_date: "", bureau_type: 0, gender: "" };
163
+ return { score: 0, name: "", occupation: "", dob: "", income: 0, pull_date: "", bureau_type: "", gender: "" };
164
164
  }
165
165
  exports.Report = {
166
166
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -182,8 +182,8 @@ exports.Report = {
182
182
  if (message.pull_date !== "") {
183
183
  writer.uint32(50).string(message.pull_date);
184
184
  }
185
- if (message.bureau_type !== 0) {
186
- writer.uint32(56).int32(message.bureau_type);
185
+ if (message.bureau_type !== "") {
186
+ writer.uint32(58).string(message.bureau_type);
187
187
  }
188
188
  if (message.gender !== "") {
189
189
  writer.uint32(66).string(message.gender);
@@ -234,10 +234,10 @@ exports.Report = {
234
234
  message.pull_date = reader.string();
235
235
  continue;
236
236
  case 7:
237
- if (tag !== 56) {
237
+ if (tag !== 58) {
238
238
  break;
239
239
  }
240
- message.bureau_type = reader.int32();
240
+ message.bureau_type = reader.string();
241
241
  continue;
242
242
  case 8:
243
243
  if (tag !== 66) {
@@ -261,7 +261,7 @@ exports.Report = {
261
261
  dob: isSet(object.dob) ? globalThis.String(object.dob) : "",
262
262
  income: isSet(object.income) ? globalThis.Number(object.income) : 0,
263
263
  pull_date: isSet(object.pull_date) ? globalThis.String(object.pull_date) : "",
264
- bureau_type: isSet(object.bureau_type) ? globalThis.Number(object.bureau_type) : 0,
264
+ bureau_type: isSet(object.bureau_type) ? globalThis.String(object.bureau_type) : "",
265
265
  gender: isSet(object.gender) ? globalThis.String(object.gender) : "",
266
266
  };
267
267
  },
@@ -285,8 +285,8 @@ exports.Report = {
285
285
  if (message.pull_date !== "") {
286
286
  obj.pull_date = message.pull_date;
287
287
  }
288
- if (message.bureau_type !== 0) {
289
- obj.bureau_type = Math.round(message.bureau_type);
288
+ if (message.bureau_type !== "") {
289
+ obj.bureau_type = message.bureau_type;
290
290
  }
291
291
  if (message.gender !== "") {
292
292
  obj.gender = message.gender;
@@ -304,7 +304,7 @@ exports.Report = {
304
304
  message.dob = object.dob ?? "";
305
305
  message.income = object.income ?? 0;
306
306
  message.pull_date = object.pull_date ?? "";
307
- message.bureau_type = object.bureau_type ?? 0;
307
+ message.bureau_type = object.bureau_type ?? "";
308
308
  message.gender = object.gender ?? "";
309
309
  return message;
310
310
  },