@fatehan/tsrp 1.0.39 → 1.0.41
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/dist/fatehan/apis/client.d.ts +358 -0
- package/dist/fatehan/apis/client.d.ts.map +1 -0
- package/dist/fatehan/apis/client.js +5360 -0
- package/dist/fatehan/areas/area.js +6 -6
- package/dist/fatehan/google/protobuf/timestamp.js +2 -2
- package/dist/fatehan/models/fusion.js +9 -9
- package/dist/fatehan/models/models.d.ts +11 -0
- package/dist/fatehan/models/models.d.ts.map +1 -1
- package/dist/fatehan/models/models.js +191 -17
- package/dist/fatehan/models/operation.d.ts +13 -0
- package/dist/fatehan/models/operation.d.ts.map +1 -1
- package/dist/fatehan/models/operation.js +232 -7
- package/dist/fatehan/notifies/notify.d.ts +1 -0
- package/dist/fatehan/notifies/notify.d.ts.map +1 -1
- package/dist/fatehan/notifies/notify.js +30 -12
- package/dist/fatehan/packets/dataModel.js +54 -54
- package/dist/fatehan/packets/messages.js +9 -9
- package/dist/fatehan/reports/report.js +88 -88
- package/dist/fatehan/trips/trip.js +19 -19
- package/dist/system.io.d.ts.map +1 -1
- package/dist/system.io.js +4 -2
- package/package.json +2 -2
- package/readme.md +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.7.
|
|
4
|
+
// protoc-gen-ts_proto v2.7.5
|
|
5
5
|
// protoc v6.31.1
|
|
6
6
|
// source: models/operation.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
9
|
};
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.OperationMileageMemory = exports.Destination_Event = exports.Destination = exports.DestinationList = exports.Operation = exports.Operation_Status = exports.protobufPackage = void 0;
|
|
11
|
+
exports.TripFailedJob = exports.OperationMileageMemory = exports.Destination_Event = exports.Destination = exports.DestinationList = exports.Operation = exports.Operation_Status = exports.protobufPackage = void 0;
|
|
12
12
|
exports.operation_StatusFromJSON = operation_StatusFromJSON;
|
|
13
13
|
exports.operation_StatusToJSON = operation_StatusToJSON;
|
|
14
14
|
/* eslint-disable */
|
|
@@ -204,7 +204,7 @@ exports.Operation = {
|
|
|
204
204
|
},
|
|
205
205
|
decode(input, length) {
|
|
206
206
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
207
|
-
|
|
207
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
208
208
|
const message = createBaseOperation();
|
|
209
209
|
while (reader.pos < end) {
|
|
210
210
|
const tag = reader.uint32();
|
|
@@ -648,7 +648,7 @@ exports.DestinationList = {
|
|
|
648
648
|
},
|
|
649
649
|
decode(input, length) {
|
|
650
650
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
651
|
-
|
|
651
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
652
652
|
const message = createBaseDestinationList();
|
|
653
653
|
while (reader.pos < end) {
|
|
654
654
|
const tag = reader.uint32();
|
|
@@ -717,7 +717,7 @@ exports.Destination = {
|
|
|
717
717
|
},
|
|
718
718
|
decode(input, length) {
|
|
719
719
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
720
|
-
|
|
720
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
721
721
|
const message = createBaseDestination();
|
|
722
722
|
while (reader.pos < end) {
|
|
723
723
|
const tag = reader.uint32();
|
|
@@ -834,7 +834,7 @@ exports.Destination_Event = {
|
|
|
834
834
|
},
|
|
835
835
|
decode(input, length) {
|
|
836
836
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
837
|
-
|
|
837
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
838
838
|
const message = createBaseDestination_Event();
|
|
839
839
|
while (reader.pos < end) {
|
|
840
840
|
const tag = reader.uint32();
|
|
@@ -932,7 +932,7 @@ exports.OperationMileageMemory = {
|
|
|
932
932
|
},
|
|
933
933
|
decode(input, length) {
|
|
934
934
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
935
|
-
|
|
935
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
936
936
|
const message = createBaseOperationMileageMemory();
|
|
937
937
|
while (reader.pos < end) {
|
|
938
938
|
const tag = reader.uint32();
|
|
@@ -1000,6 +1000,231 @@ exports.OperationMileageMemory = {
|
|
|
1000
1000
|
return message;
|
|
1001
1001
|
},
|
|
1002
1002
|
};
|
|
1003
|
+
function createBaseTripFailedJob() {
|
|
1004
|
+
return {
|
|
1005
|
+
uuid: "",
|
|
1006
|
+
handler: "",
|
|
1007
|
+
date: "",
|
|
1008
|
+
deviceId: "",
|
|
1009
|
+
startedAt: undefined,
|
|
1010
|
+
failedAt: undefined,
|
|
1011
|
+
runningAt: undefined,
|
|
1012
|
+
tries: 0,
|
|
1013
|
+
exception: undefined,
|
|
1014
|
+
payload: undefined,
|
|
1015
|
+
};
|
|
1016
|
+
}
|
|
1017
|
+
exports.TripFailedJob = {
|
|
1018
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1019
|
+
if (message.uuid !== "") {
|
|
1020
|
+
writer.uint32(10).string(message.uuid);
|
|
1021
|
+
}
|
|
1022
|
+
if (message.handler !== "") {
|
|
1023
|
+
writer.uint32(18).string(message.handler);
|
|
1024
|
+
}
|
|
1025
|
+
if (message.date !== "") {
|
|
1026
|
+
writer.uint32(26).string(message.date);
|
|
1027
|
+
}
|
|
1028
|
+
if (message.deviceId !== "") {
|
|
1029
|
+
writer.uint32(34).string(message.deviceId);
|
|
1030
|
+
}
|
|
1031
|
+
if (message.startedAt !== undefined) {
|
|
1032
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.startedAt), writer.uint32(42).fork()).join();
|
|
1033
|
+
}
|
|
1034
|
+
if (message.failedAt !== undefined) {
|
|
1035
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.failedAt), writer.uint32(50).fork()).join();
|
|
1036
|
+
}
|
|
1037
|
+
if (message.runningAt !== undefined) {
|
|
1038
|
+
timestamp_1.Timestamp.encode(toTimestamp(message.runningAt), writer.uint32(58).fork()).join();
|
|
1039
|
+
}
|
|
1040
|
+
if (message.tries !== 0) {
|
|
1041
|
+
writer.uint32(64).uint32(message.tries);
|
|
1042
|
+
}
|
|
1043
|
+
if (message.exception !== undefined) {
|
|
1044
|
+
writer.uint32(74).string(message.exception);
|
|
1045
|
+
}
|
|
1046
|
+
if (message.payload !== undefined) {
|
|
1047
|
+
writer.uint32(82).bytes(message.payload);
|
|
1048
|
+
}
|
|
1049
|
+
return writer;
|
|
1050
|
+
},
|
|
1051
|
+
decode(input, length) {
|
|
1052
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1053
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1054
|
+
const message = createBaseTripFailedJob();
|
|
1055
|
+
while (reader.pos < end) {
|
|
1056
|
+
const tag = reader.uint32();
|
|
1057
|
+
switch (tag >>> 3) {
|
|
1058
|
+
case 1: {
|
|
1059
|
+
if (tag !== 10) {
|
|
1060
|
+
break;
|
|
1061
|
+
}
|
|
1062
|
+
message.uuid = reader.string();
|
|
1063
|
+
continue;
|
|
1064
|
+
}
|
|
1065
|
+
case 2: {
|
|
1066
|
+
if (tag !== 18) {
|
|
1067
|
+
break;
|
|
1068
|
+
}
|
|
1069
|
+
message.handler = reader.string();
|
|
1070
|
+
continue;
|
|
1071
|
+
}
|
|
1072
|
+
case 3: {
|
|
1073
|
+
if (tag !== 26) {
|
|
1074
|
+
break;
|
|
1075
|
+
}
|
|
1076
|
+
message.date = reader.string();
|
|
1077
|
+
continue;
|
|
1078
|
+
}
|
|
1079
|
+
case 4: {
|
|
1080
|
+
if (tag !== 34) {
|
|
1081
|
+
break;
|
|
1082
|
+
}
|
|
1083
|
+
message.deviceId = reader.string();
|
|
1084
|
+
continue;
|
|
1085
|
+
}
|
|
1086
|
+
case 5: {
|
|
1087
|
+
if (tag !== 42) {
|
|
1088
|
+
break;
|
|
1089
|
+
}
|
|
1090
|
+
message.startedAt = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
1091
|
+
continue;
|
|
1092
|
+
}
|
|
1093
|
+
case 6: {
|
|
1094
|
+
if (tag !== 50) {
|
|
1095
|
+
break;
|
|
1096
|
+
}
|
|
1097
|
+
message.failedAt = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
1098
|
+
continue;
|
|
1099
|
+
}
|
|
1100
|
+
case 7: {
|
|
1101
|
+
if (tag !== 58) {
|
|
1102
|
+
break;
|
|
1103
|
+
}
|
|
1104
|
+
message.runningAt = fromTimestamp(timestamp_1.Timestamp.decode(reader, reader.uint32()));
|
|
1105
|
+
continue;
|
|
1106
|
+
}
|
|
1107
|
+
case 8: {
|
|
1108
|
+
if (tag !== 64) {
|
|
1109
|
+
break;
|
|
1110
|
+
}
|
|
1111
|
+
message.tries = reader.uint32();
|
|
1112
|
+
continue;
|
|
1113
|
+
}
|
|
1114
|
+
case 9: {
|
|
1115
|
+
if (tag !== 74) {
|
|
1116
|
+
break;
|
|
1117
|
+
}
|
|
1118
|
+
message.exception = reader.string();
|
|
1119
|
+
continue;
|
|
1120
|
+
}
|
|
1121
|
+
case 10: {
|
|
1122
|
+
if (tag !== 82) {
|
|
1123
|
+
break;
|
|
1124
|
+
}
|
|
1125
|
+
message.payload = reader.bytes();
|
|
1126
|
+
continue;
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1130
|
+
break;
|
|
1131
|
+
}
|
|
1132
|
+
reader.skip(tag & 7);
|
|
1133
|
+
}
|
|
1134
|
+
return message;
|
|
1135
|
+
},
|
|
1136
|
+
fromJSON(object) {
|
|
1137
|
+
return {
|
|
1138
|
+
uuid: isSet(object.uuid) ? globalThis.String(object.uuid) : "",
|
|
1139
|
+
handler: isSet(object.handler) ? globalThis.String(object.handler) : "",
|
|
1140
|
+
date: isSet(object.date) ? globalThis.String(object.date) : "",
|
|
1141
|
+
deviceId: isSet(object.deviceId) ? globalThis.String(object.deviceId) : "",
|
|
1142
|
+
startedAt: isSet(object.startedAt) ? fromJsonTimestamp(object.startedAt) : undefined,
|
|
1143
|
+
failedAt: isSet(object.failedAt) ? fromJsonTimestamp(object.failedAt) : undefined,
|
|
1144
|
+
runningAt: isSet(object.runningAt) ? fromJsonTimestamp(object.runningAt) : undefined,
|
|
1145
|
+
tries: isSet(object.tries) ? globalThis.Number(object.tries) : 0,
|
|
1146
|
+
exception: isSet(object.exception) ? globalThis.String(object.exception) : undefined,
|
|
1147
|
+
payload: isSet(object.payload) ? bytesFromBase64(object.payload) : undefined,
|
|
1148
|
+
};
|
|
1149
|
+
},
|
|
1150
|
+
toJSON(message) {
|
|
1151
|
+
const obj = {};
|
|
1152
|
+
if (message.uuid !== "") {
|
|
1153
|
+
obj.uuid = message.uuid;
|
|
1154
|
+
}
|
|
1155
|
+
if (message.handler !== "") {
|
|
1156
|
+
obj.handler = message.handler;
|
|
1157
|
+
}
|
|
1158
|
+
if (message.date !== "") {
|
|
1159
|
+
obj.date = message.date;
|
|
1160
|
+
}
|
|
1161
|
+
if (message.deviceId !== "") {
|
|
1162
|
+
obj.deviceId = message.deviceId;
|
|
1163
|
+
}
|
|
1164
|
+
if (message.startedAt !== undefined) {
|
|
1165
|
+
obj.startedAt = message.startedAt.toISOString();
|
|
1166
|
+
}
|
|
1167
|
+
if (message.failedAt !== undefined) {
|
|
1168
|
+
obj.failedAt = message.failedAt.toISOString();
|
|
1169
|
+
}
|
|
1170
|
+
if (message.runningAt !== undefined) {
|
|
1171
|
+
obj.runningAt = message.runningAt.toISOString();
|
|
1172
|
+
}
|
|
1173
|
+
if (message.tries !== 0) {
|
|
1174
|
+
obj.tries = Math.round(message.tries);
|
|
1175
|
+
}
|
|
1176
|
+
if (message.exception !== undefined) {
|
|
1177
|
+
obj.exception = message.exception;
|
|
1178
|
+
}
|
|
1179
|
+
if (message.payload !== undefined) {
|
|
1180
|
+
obj.payload = base64FromBytes(message.payload);
|
|
1181
|
+
}
|
|
1182
|
+
return obj;
|
|
1183
|
+
},
|
|
1184
|
+
create(base) {
|
|
1185
|
+
return exports.TripFailedJob.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1186
|
+
},
|
|
1187
|
+
fromPartial(object) {
|
|
1188
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
1189
|
+
const message = createBaseTripFailedJob();
|
|
1190
|
+
message.uuid = (_a = object.uuid) !== null && _a !== void 0 ? _a : "";
|
|
1191
|
+
message.handler = (_b = object.handler) !== null && _b !== void 0 ? _b : "";
|
|
1192
|
+
message.date = (_c = object.date) !== null && _c !== void 0 ? _c : "";
|
|
1193
|
+
message.deviceId = (_d = object.deviceId) !== null && _d !== void 0 ? _d : "";
|
|
1194
|
+
message.startedAt = (_e = object.startedAt) !== null && _e !== void 0 ? _e : undefined;
|
|
1195
|
+
message.failedAt = (_f = object.failedAt) !== null && _f !== void 0 ? _f : undefined;
|
|
1196
|
+
message.runningAt = (_g = object.runningAt) !== null && _g !== void 0 ? _g : undefined;
|
|
1197
|
+
message.tries = (_h = object.tries) !== null && _h !== void 0 ? _h : 0;
|
|
1198
|
+
message.exception = (_j = object.exception) !== null && _j !== void 0 ? _j : undefined;
|
|
1199
|
+
message.payload = (_k = object.payload) !== null && _k !== void 0 ? _k : undefined;
|
|
1200
|
+
return message;
|
|
1201
|
+
},
|
|
1202
|
+
};
|
|
1203
|
+
function bytesFromBase64(b64) {
|
|
1204
|
+
if (globalThis.Buffer) {
|
|
1205
|
+
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
|
|
1206
|
+
}
|
|
1207
|
+
else {
|
|
1208
|
+
const bin = globalThis.atob(b64);
|
|
1209
|
+
const arr = new Uint8Array(bin.length);
|
|
1210
|
+
for (let i = 0; i < bin.length; ++i) {
|
|
1211
|
+
arr[i] = bin.charCodeAt(i);
|
|
1212
|
+
}
|
|
1213
|
+
return arr;
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
function base64FromBytes(arr) {
|
|
1217
|
+
if (globalThis.Buffer) {
|
|
1218
|
+
return globalThis.Buffer.from(arr).toString("base64");
|
|
1219
|
+
}
|
|
1220
|
+
else {
|
|
1221
|
+
const bin = [];
|
|
1222
|
+
arr.forEach((byte) => {
|
|
1223
|
+
bin.push(globalThis.String.fromCharCode(byte));
|
|
1224
|
+
});
|
|
1225
|
+
return globalThis.btoa(bin.join(""));
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1003
1228
|
function toTimestamp(date) {
|
|
1004
1229
|
const seconds = numberToLong(Math.trunc(date.getTime() / 1000));
|
|
1005
1230
|
const nanos = (date.getTime() % 1000) * 1000000;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notify.d.ts","sourceRoot":"","sources":["../../../src/fatehan/notifies/notify.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,KAAK,EAA8B,MAAM,sBAAsB,CAAC;AAEzE,eAAO,MAAM,eAAe,yBAAyB,CAAC;AAEtD,oBAAY,GAAG;IACb,IAAI,IAAI;IACR,GAAG,IAAI;IACP,GAAG,IAAI;IACP,KAAK,IAAI;IACT,QAAQ,IAAI;IACZ,IAAI,IAAI;IACR,YAAY,KAAK;CAClB;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG,CAyB5C;AAED,wBAAgB,SAAS,CAAC,MAAM,EAAE,GAAG,GAAG,MAAM,CAkB7C;AA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|
|
6
6
|
// source: notifies/notify.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -161,6 +161,7 @@ function createBaseNotifyJob() {
|
|
|
161
161
|
id: long_1.default.UZERO,
|
|
162
162
|
userId: long_1.default.UZERO,
|
|
163
163
|
alertId: undefined,
|
|
164
|
+
userAlertId: undefined,
|
|
164
165
|
alert: 0,
|
|
165
166
|
retries: 0,
|
|
166
167
|
priority: 0,
|
|
@@ -179,6 +180,9 @@ exports.NotifyJob = {
|
|
|
179
180
|
if (message.alertId !== undefined) {
|
|
180
181
|
writer.uint32(24).uint64(message.alertId.toString());
|
|
181
182
|
}
|
|
183
|
+
if (message.userAlertId !== undefined) {
|
|
184
|
+
writer.uint32(72).uint64(message.userAlertId.toString());
|
|
185
|
+
}
|
|
182
186
|
if (message.alert !== 0) {
|
|
183
187
|
writer.uint32(32).int32(message.alert);
|
|
184
188
|
}
|
|
@@ -200,7 +204,7 @@ exports.NotifyJob = {
|
|
|
200
204
|
},
|
|
201
205
|
decode(input, length) {
|
|
202
206
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
203
|
-
|
|
207
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
204
208
|
const message = createBaseNotifyJob();
|
|
205
209
|
while (reader.pos < end) {
|
|
206
210
|
const tag = reader.uint32();
|
|
@@ -226,6 +230,13 @@ exports.NotifyJob = {
|
|
|
226
230
|
message.alertId = long_1.default.fromString(reader.uint64().toString(), true);
|
|
227
231
|
continue;
|
|
228
232
|
}
|
|
233
|
+
case 9: {
|
|
234
|
+
if (tag !== 72) {
|
|
235
|
+
break;
|
|
236
|
+
}
|
|
237
|
+
message.userAlertId = long_1.default.fromString(reader.uint64().toString(), true);
|
|
238
|
+
continue;
|
|
239
|
+
}
|
|
229
240
|
case 4: {
|
|
230
241
|
if (tag !== 32) {
|
|
231
242
|
break;
|
|
@@ -281,6 +292,7 @@ exports.NotifyJob = {
|
|
|
281
292
|
id: isSet(object.id) ? long_1.default.fromValue(object.id) : long_1.default.UZERO,
|
|
282
293
|
userId: isSet(object.user_id) ? long_1.default.fromValue(object.user_id) : long_1.default.UZERO,
|
|
283
294
|
alertId: isSet(object.alert_id) ? long_1.default.fromValue(object.alert_id) : undefined,
|
|
295
|
+
userAlertId: isSet(object.user_alert_id) ? long_1.default.fromValue(object.user_alert_id) : undefined,
|
|
284
296
|
alert: isSet(object.alert) ? (0, dataModel_1.alertFromJSON)(object.alert) : 0,
|
|
285
297
|
retries: isSet(object.retries) ? globalThis.Number(object.retries) : 0,
|
|
286
298
|
priority: isSet(object.priority) ? notifyJob_PriorityFromJSON(object.priority) : 0,
|
|
@@ -300,6 +312,9 @@ exports.NotifyJob = {
|
|
|
300
312
|
if (message.alertId !== undefined) {
|
|
301
313
|
obj.alert_id = (message.alertId || long_1.default.UZERO).toString();
|
|
302
314
|
}
|
|
315
|
+
if (message.userAlertId !== undefined) {
|
|
316
|
+
obj.user_alert_id = (message.userAlertId || long_1.default.UZERO).toString();
|
|
317
|
+
}
|
|
303
318
|
if (message.alert !== 0) {
|
|
304
319
|
obj.alert = (0, dataModel_1.alertToJSON)(message.alert);
|
|
305
320
|
}
|
|
@@ -330,6 +345,9 @@ exports.NotifyJob = {
|
|
|
330
345
|
message.alertId = (object.alertId !== undefined && object.alertId !== null)
|
|
331
346
|
? long_1.default.fromValue(object.alertId)
|
|
332
347
|
: undefined;
|
|
348
|
+
message.userAlertId = (object.userAlertId !== undefined && object.userAlertId !== null)
|
|
349
|
+
? long_1.default.fromValue(object.userAlertId)
|
|
350
|
+
: undefined;
|
|
333
351
|
message.alert = (_a = object.alert) !== null && _a !== void 0 ? _a : 0;
|
|
334
352
|
message.retries = (_b = object.retries) !== null && _b !== void 0 ? _b : 0;
|
|
335
353
|
message.priority = (_c = object.priority) !== null && _c !== void 0 ? _c : 0;
|
|
@@ -398,7 +416,7 @@ exports.UserDeviceAlert = {
|
|
|
398
416
|
},
|
|
399
417
|
decode(input, length) {
|
|
400
418
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
401
|
-
|
|
419
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
402
420
|
const message = createBaseUserDeviceAlert();
|
|
403
421
|
while (reader.pos < end) {
|
|
404
422
|
const tag = reader.uint32();
|
|
@@ -630,7 +648,7 @@ exports.UserDeviceAlert_Condition = {
|
|
|
630
648
|
},
|
|
631
649
|
decode(input, length) {
|
|
632
650
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
633
|
-
|
|
651
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
634
652
|
const message = createBaseUserDeviceAlert_Condition();
|
|
635
653
|
while (reader.pos < end) {
|
|
636
654
|
const tag = reader.uint32();
|
|
@@ -754,7 +772,7 @@ exports.UserDeviceAlert_ConditionList = {
|
|
|
754
772
|
},
|
|
755
773
|
decode(input, length) {
|
|
756
774
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
757
|
-
|
|
775
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
758
776
|
const message = createBaseUserDeviceAlert_ConditionList();
|
|
759
777
|
while (reader.pos < end) {
|
|
760
778
|
const tag = reader.uint32();
|
|
@@ -814,7 +832,7 @@ exports.UserDeviceAlert_ConditionEntry = {
|
|
|
814
832
|
},
|
|
815
833
|
decode(input, length) {
|
|
816
834
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
817
|
-
|
|
835
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
818
836
|
const message = createBaseUserDeviceAlert_ConditionEntry();
|
|
819
837
|
while (reader.pos < end) {
|
|
820
838
|
const tag = reader.uint32();
|
|
@@ -882,7 +900,7 @@ exports.UserDeviceAlertList = {
|
|
|
882
900
|
},
|
|
883
901
|
decode(input, length) {
|
|
884
902
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
885
|
-
|
|
903
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
886
904
|
const message = createBaseUserDeviceAlertList();
|
|
887
905
|
while (reader.pos < end) {
|
|
888
906
|
const tag = reader.uint32();
|
|
@@ -943,7 +961,7 @@ exports.Receiver = {
|
|
|
943
961
|
},
|
|
944
962
|
decode(input, length) {
|
|
945
963
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
946
|
-
|
|
964
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
947
965
|
const message = createBaseReceiver();
|
|
948
966
|
while (reader.pos < end) {
|
|
949
967
|
const tag = reader.uint32();
|
|
@@ -1060,7 +1078,7 @@ exports.Notify = {
|
|
|
1060
1078
|
},
|
|
1061
1079
|
decode(input, length) {
|
|
1062
1080
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1063
|
-
|
|
1081
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1064
1082
|
const message = createBaseNotify();
|
|
1065
1083
|
while (reader.pos < end) {
|
|
1066
1084
|
const tag = reader.uint32();
|
|
@@ -1248,7 +1266,7 @@ exports.Notify_DataEntry = {
|
|
|
1248
1266
|
},
|
|
1249
1267
|
decode(input, length) {
|
|
1250
1268
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1251
|
-
|
|
1269
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1252
1270
|
const message = createBaseNotify_DataEntry();
|
|
1253
1271
|
while (reader.pos < end) {
|
|
1254
1272
|
const tag = reader.uint32();
|
|
@@ -1370,7 +1388,7 @@ exports.Notification = {
|
|
|
1370
1388
|
},
|
|
1371
1389
|
decode(input, length) {
|
|
1372
1390
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1373
|
-
|
|
1391
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1374
1392
|
const message = createBaseNotification();
|
|
1375
1393
|
while (reader.pos < end) {
|
|
1376
1394
|
const tag = reader.uint32();
|
|
@@ -1616,7 +1634,7 @@ exports.Notification_DataEntry = {
|
|
|
1616
1634
|
},
|
|
1617
1635
|
decode(input, length) {
|
|
1618
1636
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1619
|
-
|
|
1637
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1620
1638
|
const message = createBaseNotification_DataEntry();
|
|
1621
1639
|
while (reader.pos < end) {
|
|
1622
1640
|
const tag = reader.uint32();
|