@stashfin/grpc 1.2.107 → 1.2.108
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
|
@@ -23,7 +23,7 @@ export interface getCustomerByIdResponse {
|
|
|
23
23
|
ip: string;
|
|
24
24
|
device_id: string;
|
|
25
25
|
is_registered: number;
|
|
26
|
-
|
|
26
|
+
mobile_network: string;
|
|
27
27
|
email_hash: string;
|
|
28
28
|
os_version: string;
|
|
29
29
|
push_id: string;
|
|
@@ -81,7 +81,6 @@ export interface getCustomerByIdResponse {
|
|
|
81
81
|
has_imps: number;
|
|
82
82
|
journey_inactive: number;
|
|
83
83
|
repeat_journey: number;
|
|
84
|
-
mobile_network: string;
|
|
85
84
|
}
|
|
86
85
|
export interface Address {
|
|
87
86
|
house_flat_no: string;
|
|
@@ -83,7 +83,7 @@ function createBasegetCustomerByIdResponse() {
|
|
|
83
83
|
ip: "",
|
|
84
84
|
device_id: "",
|
|
85
85
|
is_registered: 0,
|
|
86
|
-
|
|
86
|
+
mobile_network: "",
|
|
87
87
|
email_hash: "",
|
|
88
88
|
os_version: "",
|
|
89
89
|
push_id: "",
|
|
@@ -141,7 +141,6 @@ function createBasegetCustomerByIdResponse() {
|
|
|
141
141
|
has_imps: 0,
|
|
142
142
|
journey_inactive: 0,
|
|
143
143
|
repeat_journey: 0,
|
|
144
|
-
mobile_network: "",
|
|
145
144
|
};
|
|
146
145
|
}
|
|
147
146
|
exports.getCustomerByIdResponse = {
|
|
@@ -203,8 +202,8 @@ exports.getCustomerByIdResponse = {
|
|
|
203
202
|
if (message.is_registered !== 0) {
|
|
204
203
|
writer.uint32(152).int32(message.is_registered);
|
|
205
204
|
}
|
|
206
|
-
if (message.
|
|
207
|
-
writer.uint32(162).string(message.
|
|
205
|
+
if (message.mobile_network !== "") {
|
|
206
|
+
writer.uint32(162).string(message.mobile_network);
|
|
208
207
|
}
|
|
209
208
|
if (message.email_hash !== "") {
|
|
210
209
|
writer.uint32(170).string(message.email_hash);
|
|
@@ -377,9 +376,6 @@ exports.getCustomerByIdResponse = {
|
|
|
377
376
|
if (message.repeat_journey !== 0) {
|
|
378
377
|
writer.uint32(616).int32(message.repeat_journey);
|
|
379
378
|
}
|
|
380
|
-
if (message.mobile_network !== "") {
|
|
381
|
-
writer.uint32(626).string(message.mobile_network);
|
|
382
|
-
}
|
|
383
379
|
return writer;
|
|
384
380
|
},
|
|
385
381
|
decode(input, length) {
|
|
@@ -507,7 +503,7 @@ exports.getCustomerByIdResponse = {
|
|
|
507
503
|
if (tag !== 162) {
|
|
508
504
|
break;
|
|
509
505
|
}
|
|
510
|
-
message.
|
|
506
|
+
message.mobile_network = reader.string();
|
|
511
507
|
continue;
|
|
512
508
|
case 21:
|
|
513
509
|
if (tag !== 170) {
|
|
@@ -851,12 +847,6 @@ exports.getCustomerByIdResponse = {
|
|
|
851
847
|
}
|
|
852
848
|
message.repeat_journey = reader.int32();
|
|
853
849
|
continue;
|
|
854
|
-
case 78:
|
|
855
|
-
if (tag !== 626) {
|
|
856
|
-
break;
|
|
857
|
-
}
|
|
858
|
-
message.mobile_network = reader.string();
|
|
859
|
-
continue;
|
|
860
850
|
}
|
|
861
851
|
if ((tag & 7) === 4 || tag === 0) {
|
|
862
852
|
break;
|
|
@@ -886,7 +876,7 @@ exports.getCustomerByIdResponse = {
|
|
|
886
876
|
ip: isSet(object.ip) ? globalThis.String(object.ip) : "",
|
|
887
877
|
device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
|
|
888
878
|
is_registered: isSet(object.is_registered) ? globalThis.Number(object.is_registered) : 0,
|
|
889
|
-
|
|
879
|
+
mobile_network: isSet(object.mobile_network) ? globalThis.String(object.mobile_network) : "",
|
|
890
880
|
email_hash: isSet(object.email_hash) ? globalThis.String(object.email_hash) : "",
|
|
891
881
|
os_version: isSet(object.os_version) ? globalThis.String(object.os_version) : "",
|
|
892
882
|
push_id: isSet(object.push_id) ? globalThis.String(object.push_id) : "",
|
|
@@ -944,7 +934,6 @@ exports.getCustomerByIdResponse = {
|
|
|
944
934
|
has_imps: isSet(object.has_imps) ? globalThis.Number(object.has_imps) : 0,
|
|
945
935
|
journey_inactive: isSet(object.journey_inactive) ? globalThis.Number(object.journey_inactive) : 0,
|
|
946
936
|
repeat_journey: isSet(object.repeat_journey) ? globalThis.Number(object.repeat_journey) : 0,
|
|
947
|
-
mobile_network: isSet(object.mobile_network) ? globalThis.String(object.mobile_network) : "",
|
|
948
937
|
};
|
|
949
938
|
},
|
|
950
939
|
toJSON(message) {
|
|
@@ -1006,8 +995,8 @@ exports.getCustomerByIdResponse = {
|
|
|
1006
995
|
if (message.is_registered !== 0) {
|
|
1007
996
|
obj.is_registered = Math.round(message.is_registered);
|
|
1008
997
|
}
|
|
1009
|
-
if (message.
|
|
1010
|
-
obj.
|
|
998
|
+
if (message.mobile_network !== "") {
|
|
999
|
+
obj.mobile_network = message.mobile_network;
|
|
1011
1000
|
}
|
|
1012
1001
|
if (message.email_hash !== "") {
|
|
1013
1002
|
obj.email_hash = message.email_hash;
|
|
@@ -1180,9 +1169,6 @@ exports.getCustomerByIdResponse = {
|
|
|
1180
1169
|
if (message.repeat_journey !== 0) {
|
|
1181
1170
|
obj.repeat_journey = Math.round(message.repeat_journey);
|
|
1182
1171
|
}
|
|
1183
|
-
if (message.mobile_network !== "") {
|
|
1184
|
-
obj.mobile_network = message.mobile_network;
|
|
1185
|
-
}
|
|
1186
1172
|
return obj;
|
|
1187
1173
|
},
|
|
1188
1174
|
create(base) {
|
|
@@ -1209,7 +1195,7 @@ exports.getCustomerByIdResponse = {
|
|
|
1209
1195
|
message.ip = object.ip ?? "";
|
|
1210
1196
|
message.device_id = object.device_id ?? "";
|
|
1211
1197
|
message.is_registered = object.is_registered ?? 0;
|
|
1212
|
-
message.
|
|
1198
|
+
message.mobile_network = object.mobile_network ?? "";
|
|
1213
1199
|
message.email_hash = object.email_hash ?? "";
|
|
1214
1200
|
message.os_version = object.os_version ?? "";
|
|
1215
1201
|
message.push_id = object.push_id ?? "";
|
|
@@ -1273,7 +1259,6 @@ exports.getCustomerByIdResponse = {
|
|
|
1273
1259
|
message.has_imps = object.has_imps ?? 0;
|
|
1274
1260
|
message.journey_inactive = object.journey_inactive ?? 0;
|
|
1275
1261
|
message.repeat_journey = object.repeat_journey ?? 0;
|
|
1276
|
-
message.mobile_network = object.mobile_network ?? "";
|
|
1277
1262
|
return message;
|
|
1278
1263
|
},
|
|
1279
1264
|
};
|