@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
|
@@ -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:
|
|
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 !==
|
|
186
|
-
writer.uint32(
|
|
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 !==
|
|
237
|
+
if (tag !== 58) {
|
|
238
238
|
break;
|
|
239
239
|
}
|
|
240
|
-
message.bureau_type = reader.
|
|
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.
|
|
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 !==
|
|
289
|
-
obj.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 ??
|
|
307
|
+
message.bureau_type = object.bureau_type ?? "";
|
|
308
308
|
message.gender = object.gender ?? "";
|
|
309
309
|
return message;
|
|
310
310
|
},
|