@stashfin/grpc 1.2.102 → 1.2.106
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
|
@@ -83,7 +83,7 @@ function createBasegetCustomerByIdResponse() {
|
|
|
83
83
|
ip: "",
|
|
84
84
|
device_id: "",
|
|
85
85
|
is_registered: 0,
|
|
86
|
-
mobile_hash:
|
|
86
|
+
mobile_hash: undefined,
|
|
87
87
|
email_hash: "",
|
|
88
88
|
os_version: "",
|
|
89
89
|
push_id: "",
|
|
@@ -203,7 +203,7 @@ exports.getCustomerByIdResponse = {
|
|
|
203
203
|
if (message.is_registered !== 0) {
|
|
204
204
|
writer.uint32(152).int32(message.is_registered);
|
|
205
205
|
}
|
|
206
|
-
if (message.mobile_hash !==
|
|
206
|
+
if (message.mobile_hash !== undefined) {
|
|
207
207
|
writer.uint32(162).string(message.mobile_hash);
|
|
208
208
|
}
|
|
209
209
|
if (message.email_hash !== "") {
|
|
@@ -886,7 +886,7 @@ exports.getCustomerByIdResponse = {
|
|
|
886
886
|
ip: isSet(object.ip) ? globalThis.String(object.ip) : "",
|
|
887
887
|
device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
|
|
888
888
|
is_registered: isSet(object.is_registered) ? globalThis.Number(object.is_registered) : 0,
|
|
889
|
-
mobile_hash: isSet(object.mobile_hash) ? globalThis.String(object.mobile_hash) :
|
|
889
|
+
mobile_hash: isSet(object.mobile_hash) ? globalThis.String(object.mobile_hash) : undefined,
|
|
890
890
|
email_hash: isSet(object.email_hash) ? globalThis.String(object.email_hash) : "",
|
|
891
891
|
os_version: isSet(object.os_version) ? globalThis.String(object.os_version) : "",
|
|
892
892
|
push_id: isSet(object.push_id) ? globalThis.String(object.push_id) : "",
|
|
@@ -1006,7 +1006,7 @@ exports.getCustomerByIdResponse = {
|
|
|
1006
1006
|
if (message.is_registered !== 0) {
|
|
1007
1007
|
obj.is_registered = Math.round(message.is_registered);
|
|
1008
1008
|
}
|
|
1009
|
-
if (message.mobile_hash !==
|
|
1009
|
+
if (message.mobile_hash !== undefined) {
|
|
1010
1010
|
obj.mobile_hash = message.mobile_hash;
|
|
1011
1011
|
}
|
|
1012
1012
|
if (message.email_hash !== "") {
|
|
@@ -1209,7 +1209,7 @@ exports.getCustomerByIdResponse = {
|
|
|
1209
1209
|
message.ip = object.ip ?? "";
|
|
1210
1210
|
message.device_id = object.device_id ?? "";
|
|
1211
1211
|
message.is_registered = object.is_registered ?? 0;
|
|
1212
|
-
message.mobile_hash = object.mobile_hash ??
|
|
1212
|
+
message.mobile_hash = object.mobile_hash ?? undefined;
|
|
1213
1213
|
message.email_hash = object.email_hash ?? "";
|
|
1214
1214
|
message.os_version = object.os_version ?? "";
|
|
1215
1215
|
message.push_id = object.push_id ?? "";
|