@fatehan/tsrp 1.0.22 → 1.0.23
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/areas/area.js +6 -6
- package/dist/fatehan/google/protobuf/timestamp.js +2 -2
- package/dist/fatehan/models/fusion.js +8 -8
- package/dist/fatehan/models/models.js +10 -10
- package/dist/fatehan/models/operation.js +6 -6
- package/dist/fatehan/notifies/notify.js +12 -12
- package/dist/fatehan/packets/dataModel.js +51 -51
- package/dist/fatehan/packets/messages.js +7 -7
- package/dist/fatehan/reports/report.d.ts +2 -2
- package/dist/fatehan/reports/report.d.ts.map +1 -1
- package/dist/fatehan/reports/report.js +115 -111
- package/dist/fatehan/trips/trip.js +19 -19
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +32 -2
- package/dist/index.test.js +37 -14
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
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: reports/report.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -808,12 +808,12 @@ function tripsSummaryRequest_GroupByToJSON(object) {
|
|
|
808
808
|
}
|
|
809
809
|
}
|
|
810
810
|
function createBaseWorkCycleRequest() {
|
|
811
|
-
return {
|
|
811
|
+
return { deviceIds: [], startedAt: undefined, finishedAt: undefined, shovelStopSeconds: 0, areaStopSeconds: 0 };
|
|
812
812
|
}
|
|
813
813
|
exports.WorkCycleRequest = {
|
|
814
814
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
815
815
|
writer.uint32(10).fork();
|
|
816
|
-
for (const v of message.
|
|
816
|
+
for (const v of message.deviceIds) {
|
|
817
817
|
writer.uint64(v.toString());
|
|
818
818
|
}
|
|
819
819
|
writer.join();
|
|
@@ -833,20 +833,20 @@ exports.WorkCycleRequest = {
|
|
|
833
833
|
},
|
|
834
834
|
decode(input, length) {
|
|
835
835
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
836
|
-
|
|
836
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
837
837
|
const message = createBaseWorkCycleRequest();
|
|
838
838
|
while (reader.pos < end) {
|
|
839
839
|
const tag = reader.uint32();
|
|
840
840
|
switch (tag >>> 3) {
|
|
841
841
|
case 1: {
|
|
842
842
|
if (tag === 8) {
|
|
843
|
-
message.
|
|
843
|
+
message.deviceIds.push(long_1.default.fromString(reader.uint64().toString(), true));
|
|
844
844
|
continue;
|
|
845
845
|
}
|
|
846
846
|
if (tag === 10) {
|
|
847
847
|
const end2 = reader.uint32() + reader.pos;
|
|
848
848
|
while (reader.pos < end2) {
|
|
849
|
-
message.
|
|
849
|
+
message.deviceIds.push(long_1.default.fromString(reader.uint64().toString(), true));
|
|
850
850
|
}
|
|
851
851
|
continue;
|
|
852
852
|
}
|
|
@@ -890,7 +890,9 @@ exports.WorkCycleRequest = {
|
|
|
890
890
|
},
|
|
891
891
|
fromJSON(object) {
|
|
892
892
|
return {
|
|
893
|
-
|
|
893
|
+
deviceIds: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.device_ids)
|
|
894
|
+
? object.device_ids.map((e) => long_1.default.fromValue(e))
|
|
895
|
+
: [],
|
|
894
896
|
startedAt: isSet(object.started_at) ? fromJsonTimestamp(object.started_at) : undefined,
|
|
895
897
|
finishedAt: isSet(object.finished_at) ? fromJsonTimestamp(object.finished_at) : undefined,
|
|
896
898
|
shovelStopSeconds: isSet(object.shovel_stop_seconds) ? globalThis.Number(object.shovel_stop_seconds) : 0,
|
|
@@ -900,8 +902,8 @@ exports.WorkCycleRequest = {
|
|
|
900
902
|
toJSON(message) {
|
|
901
903
|
var _a;
|
|
902
904
|
const obj = {};
|
|
903
|
-
if ((_a = message.
|
|
904
|
-
obj.
|
|
905
|
+
if ((_a = message.deviceIds) === null || _a === void 0 ? void 0 : _a.length) {
|
|
906
|
+
obj.device_ids = message.deviceIds.map((e) => (e || long_1.default.UZERO).toString());
|
|
905
907
|
}
|
|
906
908
|
if (message.startedAt !== undefined) {
|
|
907
909
|
obj.started_at = message.startedAt.toISOString();
|
|
@@ -923,7 +925,7 @@ exports.WorkCycleRequest = {
|
|
|
923
925
|
fromPartial(object) {
|
|
924
926
|
var _a, _b, _c, _d, _e;
|
|
925
927
|
const message = createBaseWorkCycleRequest();
|
|
926
|
-
message.
|
|
928
|
+
message.deviceIds = ((_a = object.deviceIds) === null || _a === void 0 ? void 0 : _a.map((e) => long_1.default.fromValue(e))) || [];
|
|
927
929
|
message.startedAt = (_b = object.startedAt) !== null && _b !== void 0 ? _b : undefined;
|
|
928
930
|
message.finishedAt = (_c = object.finishedAt) !== null && _c !== void 0 ? _c : undefined;
|
|
929
931
|
message.shovelStopSeconds = (_d = object.shovelStopSeconds) !== null && _d !== void 0 ? _d : 0;
|
|
@@ -952,7 +954,7 @@ exports.WorkCycleResponse = {
|
|
|
952
954
|
},
|
|
953
955
|
decode(input, length) {
|
|
954
956
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
955
|
-
|
|
957
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
956
958
|
const message = createBaseWorkCycleResponse();
|
|
957
959
|
while (reader.pos < end) {
|
|
958
960
|
const tag = reader.uint32();
|
|
@@ -1053,7 +1055,7 @@ exports.TripReportRequest = {
|
|
|
1053
1055
|
},
|
|
1054
1056
|
decode(input, length) {
|
|
1055
1057
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1056
|
-
|
|
1058
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1057
1059
|
const message = createBaseTripReportRequest();
|
|
1058
1060
|
while (reader.pos < end) {
|
|
1059
1061
|
const tag = reader.uint32();
|
|
@@ -1152,7 +1154,7 @@ exports.AreaSplitterRequest = {
|
|
|
1152
1154
|
},
|
|
1153
1155
|
decode(input, length) {
|
|
1154
1156
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1155
|
-
|
|
1157
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1156
1158
|
const message = createBaseAreaSplitterRequest();
|
|
1157
1159
|
while (reader.pos < end) {
|
|
1158
1160
|
const tag = reader.uint32();
|
|
@@ -1265,7 +1267,7 @@ exports.AreaSplitterResponse = {
|
|
|
1265
1267
|
},
|
|
1266
1268
|
decode(input, length) {
|
|
1267
1269
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1268
|
-
|
|
1270
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1269
1271
|
const message = createBaseAreaSplitterResponse();
|
|
1270
1272
|
while (reader.pos < end) {
|
|
1271
1273
|
const tag = reader.uint32();
|
|
@@ -1349,7 +1351,7 @@ exports.AreaSplitterResponse_Area = {
|
|
|
1349
1351
|
},
|
|
1350
1352
|
decode(input, length) {
|
|
1351
1353
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1352
|
-
|
|
1354
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1353
1355
|
const message = createBaseAreaSplitterResponse_Area();
|
|
1354
1356
|
while (reader.pos < end) {
|
|
1355
1357
|
const tag = reader.uint32();
|
|
@@ -1457,7 +1459,7 @@ exports.AreaSplitterResponse_Record = {
|
|
|
1457
1459
|
},
|
|
1458
1460
|
decode(input, length) {
|
|
1459
1461
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1460
|
-
|
|
1462
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1461
1463
|
const message = createBaseAreaSplitterResponse_Record();
|
|
1462
1464
|
while (reader.pos < end) {
|
|
1463
1465
|
const tag = reader.uint32();
|
|
@@ -1648,7 +1650,7 @@ exports.MaintenanceRequest = {
|
|
|
1648
1650
|
},
|
|
1649
1651
|
decode(input, length) {
|
|
1650
1652
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1651
|
-
|
|
1653
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1652
1654
|
const message = createBaseMaintenanceRequest();
|
|
1653
1655
|
while (reader.pos < end) {
|
|
1654
1656
|
const tag = reader.uint32();
|
|
@@ -1776,7 +1778,7 @@ exports.MaintenanceResponse = {
|
|
|
1776
1778
|
},
|
|
1777
1779
|
decode(input, length) {
|
|
1778
1780
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1779
|
-
|
|
1781
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1780
1782
|
const message = createBaseMaintenanceResponse();
|
|
1781
1783
|
while (reader.pos < end) {
|
|
1782
1784
|
const tag = reader.uint32();
|
|
@@ -1931,7 +1933,7 @@ exports.MaintenanceResponse_Cost = {
|
|
|
1931
1933
|
},
|
|
1932
1934
|
decode(input, length) {
|
|
1933
1935
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1934
|
-
|
|
1936
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1935
1937
|
const message = createBaseMaintenanceResponse_Cost();
|
|
1936
1938
|
while (reader.pos < end) {
|
|
1937
1939
|
const tag = reader.uint32();
|
|
@@ -2075,7 +2077,7 @@ exports.MaintenanceResponse_List = {
|
|
|
2075
2077
|
},
|
|
2076
2078
|
decode(input, length) {
|
|
2077
2079
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2078
|
-
|
|
2080
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2079
2081
|
const message = createBaseMaintenanceResponse_List();
|
|
2080
2082
|
while (reader.pos < end) {
|
|
2081
2083
|
const tag = reader.uint32();
|
|
@@ -2352,7 +2354,7 @@ exports.MaintenanceResponse_Group = {
|
|
|
2352
2354
|
},
|
|
2353
2355
|
decode(input, length) {
|
|
2354
2356
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2355
|
-
|
|
2357
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2356
2358
|
const message = createBaseMaintenanceResponse_Group();
|
|
2357
2359
|
while (reader.pos < end) {
|
|
2358
2360
|
const tag = reader.uint32();
|
|
@@ -2496,7 +2498,7 @@ exports.MaintenanceResponse_Service = {
|
|
|
2496
2498
|
},
|
|
2497
2499
|
decode(input, length) {
|
|
2498
2500
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2499
|
-
|
|
2501
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2500
2502
|
const message = createBaseMaintenanceResponse_Service();
|
|
2501
2503
|
while (reader.pos < end) {
|
|
2502
2504
|
const tag = reader.uint32();
|
|
@@ -2614,7 +2616,7 @@ exports.MaintenanceResponse_Device = {
|
|
|
2614
2616
|
},
|
|
2615
2617
|
decode(input, length) {
|
|
2616
2618
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2617
|
-
|
|
2619
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2618
2620
|
const message = createBaseMaintenanceResponse_Device();
|
|
2619
2621
|
while (reader.pos < end) {
|
|
2620
2622
|
const tag = reader.uint32();
|
|
@@ -2777,7 +2779,7 @@ exports.TripPerformanceRequest = {
|
|
|
2777
2779
|
},
|
|
2778
2780
|
decode(input, length) {
|
|
2779
2781
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2780
|
-
|
|
2782
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2781
2783
|
const message = createBaseTripPerformanceRequest();
|
|
2782
2784
|
while (reader.pos < end) {
|
|
2783
2785
|
const tag = reader.uint32();
|
|
@@ -2910,7 +2912,7 @@ exports.TripPerformanceResponse = {
|
|
|
2910
2912
|
},
|
|
2911
2913
|
decode(input, length) {
|
|
2912
2914
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2913
|
-
|
|
2915
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2914
2916
|
const message = createBaseTripPerformanceResponse();
|
|
2915
2917
|
while (reader.pos < end) {
|
|
2916
2918
|
const tag = reader.uint32();
|
|
@@ -3105,7 +3107,7 @@ exports.TripPerformance = {
|
|
|
3105
3107
|
},
|
|
3106
3108
|
decode(input, length) {
|
|
3107
3109
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3108
|
-
|
|
3110
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3109
3111
|
const message = createBaseTripPerformance();
|
|
3110
3112
|
while (reader.pos < end) {
|
|
3111
3113
|
const tag = reader.uint32();
|
|
@@ -3578,7 +3580,7 @@ exports.TripPerformance_Average = {
|
|
|
3578
3580
|
},
|
|
3579
3581
|
decode(input, length) {
|
|
3580
3582
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3581
|
-
|
|
3583
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3582
3584
|
const message = createBaseTripPerformance_Average();
|
|
3583
3585
|
while (reader.pos < end) {
|
|
3584
3586
|
const tag = reader.uint32();
|
|
@@ -3685,7 +3687,7 @@ exports.TripPerformance_DrivingEntry = {
|
|
|
3685
3687
|
},
|
|
3686
3688
|
decode(input, length) {
|
|
3687
3689
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3688
|
-
|
|
3690
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3689
3691
|
const message = createBaseTripPerformance_DrivingEntry();
|
|
3690
3692
|
while (reader.pos < end) {
|
|
3691
3693
|
const tag = reader.uint32();
|
|
@@ -3754,7 +3756,7 @@ exports.TripPerformance_TemperatureEntry = {
|
|
|
3754
3756
|
},
|
|
3755
3757
|
decode(input, length) {
|
|
3756
3758
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3757
|
-
|
|
3759
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3758
3760
|
const message = createBaseTripPerformance_TemperatureEntry();
|
|
3759
3761
|
while (reader.pos < end) {
|
|
3760
3762
|
const tag = reader.uint32();
|
|
@@ -3823,7 +3825,7 @@ exports.TripPerformance_HumidityEntry = {
|
|
|
3823
3825
|
},
|
|
3824
3826
|
decode(input, length) {
|
|
3825
3827
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3826
|
-
|
|
3828
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3827
3829
|
const message = createBaseTripPerformance_HumidityEntry();
|
|
3828
3830
|
while (reader.pos < end) {
|
|
3829
3831
|
const tag = reader.uint32();
|
|
@@ -3892,7 +3894,7 @@ exports.TripPerformance_CrashesEntry = {
|
|
|
3892
3894
|
},
|
|
3893
3895
|
decode(input, length) {
|
|
3894
3896
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3895
|
-
|
|
3897
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3896
3898
|
const message = createBaseTripPerformance_CrashesEntry();
|
|
3897
3899
|
while (reader.pos < end) {
|
|
3898
3900
|
const tag = reader.uint32();
|
|
@@ -3961,7 +3963,7 @@ exports.TripPerformance_SpeedsEntry = {
|
|
|
3961
3963
|
},
|
|
3962
3964
|
decode(input, length) {
|
|
3963
3965
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3964
|
-
|
|
3966
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3965
3967
|
const message = createBaseTripPerformance_SpeedsEntry();
|
|
3966
3968
|
while (reader.pos < end) {
|
|
3967
3969
|
const tag = reader.uint32();
|
|
@@ -4029,7 +4031,7 @@ exports.LatestDataModelRequest = {
|
|
|
4029
4031
|
},
|
|
4030
4032
|
decode(input, length) {
|
|
4031
4033
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4032
|
-
|
|
4034
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4033
4035
|
const message = createBaseLatestDataModelRequest();
|
|
4034
4036
|
while (reader.pos < end) {
|
|
4035
4037
|
const tag = reader.uint32();
|
|
@@ -4193,7 +4195,7 @@ exports.DashboardIndividualResponse = {
|
|
|
4193
4195
|
},
|
|
4194
4196
|
decode(input, length) {
|
|
4195
4197
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4196
|
-
|
|
4198
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4197
4199
|
const message = createBaseDashboardIndividualResponse();
|
|
4198
4200
|
while (reader.pos < end) {
|
|
4199
4201
|
const tag = reader.uint32();
|
|
@@ -4630,7 +4632,7 @@ exports.DashboardIndividualResponse_Environmental = {
|
|
|
4630
4632
|
},
|
|
4631
4633
|
decode(input, length) {
|
|
4632
4634
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4633
|
-
|
|
4635
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4634
4636
|
const message = createBaseDashboardIndividualResponse_Environmental();
|
|
4635
4637
|
while (reader.pos < end) {
|
|
4636
4638
|
const tag = reader.uint32();
|
|
@@ -4737,7 +4739,7 @@ exports.DashboardIndividualResponse_Environmental_TemperatureEntry = {
|
|
|
4737
4739
|
},
|
|
4738
4740
|
decode(input, length) {
|
|
4739
4741
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4740
|
-
|
|
4742
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4741
4743
|
const message = createBaseDashboardIndividualResponse_Environmental_TemperatureEntry();
|
|
4742
4744
|
while (reader.pos < end) {
|
|
4743
4745
|
const tag = reader.uint32();
|
|
@@ -4806,7 +4808,7 @@ exports.DashboardIndividualResponse_Environmental_HumidityEntry = {
|
|
|
4806
4808
|
},
|
|
4807
4809
|
decode(input, length) {
|
|
4808
4810
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4809
|
-
|
|
4811
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4810
4812
|
const message = createBaseDashboardIndividualResponse_Environmental_HumidityEntry();
|
|
4811
4813
|
while (reader.pos < end) {
|
|
4812
4814
|
const tag = reader.uint32();
|
|
@@ -4875,7 +4877,7 @@ exports.DashboardIndividualResponse_GreenDrivingEntry = {
|
|
|
4875
4877
|
},
|
|
4876
4878
|
decode(input, length) {
|
|
4877
4879
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4878
|
-
|
|
4880
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4879
4881
|
const message = createBaseDashboardIndividualResponse_GreenDrivingEntry();
|
|
4880
4882
|
while (reader.pos < end) {
|
|
4881
4883
|
const tag = reader.uint32();
|
|
@@ -4944,7 +4946,7 @@ exports.DashboardIndividualResponse_SpeedsEntry = {
|
|
|
4944
4946
|
},
|
|
4945
4947
|
decode(input, length) {
|
|
4946
4948
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4947
|
-
|
|
4949
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4948
4950
|
const message = createBaseDashboardIndividualResponse_SpeedsEntry();
|
|
4949
4951
|
while (reader.pos < end) {
|
|
4950
4952
|
const tag = reader.uint32();
|
|
@@ -5018,7 +5020,7 @@ exports.DashboardIndividualRequest = {
|
|
|
5018
5020
|
},
|
|
5019
5021
|
decode(input, length) {
|
|
5020
5022
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5021
|
-
|
|
5023
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5022
5024
|
const message = createBaseDashboardIndividualRequest();
|
|
5023
5025
|
while (reader.pos < end) {
|
|
5024
5026
|
const tag = reader.uint32();
|
|
@@ -5098,7 +5100,7 @@ exports.TraffixResponse = {
|
|
|
5098
5100
|
},
|
|
5099
5101
|
decode(input, length) {
|
|
5100
5102
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5101
|
-
|
|
5103
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5102
5104
|
const message = createBaseTraffixResponse();
|
|
5103
5105
|
while (reader.pos < end) {
|
|
5104
5106
|
const tag = reader.uint32();
|
|
@@ -5205,7 +5207,7 @@ exports.Traffix = {
|
|
|
5205
5207
|
},
|
|
5206
5208
|
decode(input, length) {
|
|
5207
5209
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5208
|
-
|
|
5210
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5209
5211
|
const message = createBaseTraffix();
|
|
5210
5212
|
while (reader.pos < end) {
|
|
5211
5213
|
const tag = reader.uint32();
|
|
@@ -5464,7 +5466,7 @@ exports.Traffix_Event = {
|
|
|
5464
5466
|
},
|
|
5465
5467
|
decode(input, length) {
|
|
5466
5468
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5467
|
-
|
|
5469
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5468
5470
|
const message = createBaseTraffix_Event();
|
|
5469
5471
|
while (reader.pos < end) {
|
|
5470
5472
|
const tag = reader.uint32();
|
|
@@ -5614,7 +5616,7 @@ exports.Traffix_STOP = {
|
|
|
5614
5616
|
},
|
|
5615
5617
|
decode(input, length) {
|
|
5616
5618
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5617
|
-
|
|
5619
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5618
5620
|
const message = createBaseTraffix_STOP();
|
|
5619
5621
|
while (reader.pos < end) {
|
|
5620
5622
|
const tag = reader.uint32();
|
|
@@ -5706,7 +5708,7 @@ exports.TraffixRequest = {
|
|
|
5706
5708
|
},
|
|
5707
5709
|
decode(input, length) {
|
|
5708
5710
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5709
|
-
|
|
5711
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5710
5712
|
const message = createBaseTraffixRequest();
|
|
5711
5713
|
while (reader.pos < end) {
|
|
5712
5714
|
const tag = reader.uint32();
|
|
@@ -5822,7 +5824,7 @@ exports.EnvironmentalResponse = {
|
|
|
5822
5824
|
},
|
|
5823
5825
|
decode(input, length) {
|
|
5824
5826
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5825
|
-
|
|
5827
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5826
5828
|
const message = createBaseEnvironmentalResponse();
|
|
5827
5829
|
while (reader.pos < end) {
|
|
5828
5830
|
const tag = reader.uint32();
|
|
@@ -6041,7 +6043,7 @@ exports.EnvironmentalResponse_EnvironmentalField = {
|
|
|
6041
6043
|
},
|
|
6042
6044
|
decode(input, length) {
|
|
6043
6045
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
6044
|
-
|
|
6046
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
6045
6047
|
const message = createBaseEnvironmentalResponse_EnvironmentalField();
|
|
6046
6048
|
while (reader.pos < end) {
|
|
6047
6049
|
const tag = reader.uint32();
|
|
@@ -6522,7 +6524,7 @@ exports.EnvironmentalRequest = {
|
|
|
6522
6524
|
},
|
|
6523
6525
|
decode(input, length) {
|
|
6524
6526
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
6525
|
-
|
|
6527
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
6526
6528
|
const message = createBaseEnvironmentalRequest();
|
|
6527
6529
|
while (reader.pos < end) {
|
|
6528
6530
|
const tag = reader.uint32();
|
|
@@ -6633,7 +6635,7 @@ exports.TripReportResponse = {
|
|
|
6633
6635
|
},
|
|
6634
6636
|
decode(input, length) {
|
|
6635
6637
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
6636
|
-
|
|
6638
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
6637
6639
|
const message = createBaseTripReportResponse();
|
|
6638
6640
|
while (reader.pos < end) {
|
|
6639
6641
|
const tag = reader.uint32();
|
|
@@ -6721,7 +6723,7 @@ function createBaseAreaSummaryReviewRequest() {
|
|
|
6721
6723
|
source: 0,
|
|
6722
6724
|
areaSource: 0,
|
|
6723
6725
|
areaIds: [],
|
|
6724
|
-
|
|
6726
|
+
deviceIds: [],
|
|
6725
6727
|
};
|
|
6726
6728
|
}
|
|
6727
6729
|
exports.AreaSummaryReviewRequest = {
|
|
@@ -6750,7 +6752,7 @@ exports.AreaSummaryReviewRequest = {
|
|
|
6750
6752
|
}
|
|
6751
6753
|
writer.join();
|
|
6752
6754
|
writer.uint32(66).fork();
|
|
6753
|
-
for (const v of message.
|
|
6755
|
+
for (const v of message.deviceIds) {
|
|
6754
6756
|
writer.uint64(v.toString());
|
|
6755
6757
|
}
|
|
6756
6758
|
writer.join();
|
|
@@ -6758,7 +6760,7 @@ exports.AreaSummaryReviewRequest = {
|
|
|
6758
6760
|
},
|
|
6759
6761
|
decode(input, length) {
|
|
6760
6762
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
6761
|
-
|
|
6763
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
6762
6764
|
const message = createBaseAreaSummaryReviewRequest();
|
|
6763
6765
|
while (reader.pos < end) {
|
|
6764
6766
|
const tag = reader.uint32();
|
|
@@ -6821,13 +6823,13 @@ exports.AreaSummaryReviewRequest = {
|
|
|
6821
6823
|
}
|
|
6822
6824
|
case 8: {
|
|
6823
6825
|
if (tag === 64) {
|
|
6824
|
-
message.
|
|
6826
|
+
message.deviceIds.push(long_1.default.fromString(reader.uint64().toString(), true));
|
|
6825
6827
|
continue;
|
|
6826
6828
|
}
|
|
6827
6829
|
if (tag === 66) {
|
|
6828
6830
|
const end2 = reader.uint32() + reader.pos;
|
|
6829
6831
|
while (reader.pos < end2) {
|
|
6830
|
-
message.
|
|
6832
|
+
message.deviceIds.push(long_1.default.fromString(reader.uint64().toString(), true));
|
|
6831
6833
|
}
|
|
6832
6834
|
continue;
|
|
6833
6835
|
}
|
|
@@ -6843,27 +6845,29 @@ exports.AreaSummaryReviewRequest = {
|
|
|
6843
6845
|
},
|
|
6844
6846
|
fromJSON(object) {
|
|
6845
6847
|
return {
|
|
6846
|
-
startedAt: isSet(object.
|
|
6847
|
-
finishedAt: isSet(object.
|
|
6848
|
-
groupBy: isSet(object.
|
|
6848
|
+
startedAt: isSet(object.started_at) ? fromJsonTimestamp(object.started_at) : undefined,
|
|
6849
|
+
finishedAt: isSet(object.finished_at) ? fromJsonTimestamp(object.finished_at) : undefined,
|
|
6850
|
+
groupBy: isSet(object.group_by) ? areaSummaryReviewRequest_GroupEnumFromJSON(object.group_by) : 0,
|
|
6849
6851
|
scope: isSet(object.scope) ? areaSummaryReviewRequest_ScopeEnumFromJSON(object.scope) : 0,
|
|
6850
6852
|
source: isSet(object.source) ? sourceFromJSON(object.source) : 0,
|
|
6851
|
-
areaSource: isSet(object.
|
|
6852
|
-
areaIds: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.
|
|
6853
|
-
|
|
6853
|
+
areaSource: isSet(object.area_source) ? areaSummaryReviewRequest_AreaSourceEnumFromJSON(object.area_source) : 0,
|
|
6854
|
+
areaIds: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.area_ids) ? object.area_ids.map((e) => long_1.default.fromValue(e)) : [],
|
|
6855
|
+
deviceIds: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.device_ids)
|
|
6856
|
+
? object.device_ids.map((e) => long_1.default.fromValue(e))
|
|
6857
|
+
: [],
|
|
6854
6858
|
};
|
|
6855
6859
|
},
|
|
6856
6860
|
toJSON(message) {
|
|
6857
6861
|
var _a, _b;
|
|
6858
6862
|
const obj = {};
|
|
6859
6863
|
if (message.startedAt !== undefined) {
|
|
6860
|
-
obj.
|
|
6864
|
+
obj.started_at = message.startedAt.toISOString();
|
|
6861
6865
|
}
|
|
6862
6866
|
if (message.finishedAt !== undefined) {
|
|
6863
|
-
obj.
|
|
6867
|
+
obj.finished_at = message.finishedAt.toISOString();
|
|
6864
6868
|
}
|
|
6865
6869
|
if (message.groupBy !== 0) {
|
|
6866
|
-
obj.
|
|
6870
|
+
obj.group_by = areaSummaryReviewRequest_GroupEnumToJSON(message.groupBy);
|
|
6867
6871
|
}
|
|
6868
6872
|
if (message.scope !== 0) {
|
|
6869
6873
|
obj.scope = areaSummaryReviewRequest_ScopeEnumToJSON(message.scope);
|
|
@@ -6872,13 +6876,13 @@ exports.AreaSummaryReviewRequest = {
|
|
|
6872
6876
|
obj.source = sourceToJSON(message.source);
|
|
6873
6877
|
}
|
|
6874
6878
|
if (message.areaSource !== 0) {
|
|
6875
|
-
obj.
|
|
6879
|
+
obj.area_source = areaSummaryReviewRequest_AreaSourceEnumToJSON(message.areaSource);
|
|
6876
6880
|
}
|
|
6877
6881
|
if ((_a = message.areaIds) === null || _a === void 0 ? void 0 : _a.length) {
|
|
6878
|
-
obj.
|
|
6882
|
+
obj.area_ids = message.areaIds.map((e) => (e || long_1.default.UZERO).toString());
|
|
6879
6883
|
}
|
|
6880
|
-
if ((_b = message.
|
|
6881
|
-
obj.
|
|
6884
|
+
if ((_b = message.deviceIds) === null || _b === void 0 ? void 0 : _b.length) {
|
|
6885
|
+
obj.device_ids = message.deviceIds.map((e) => (e || long_1.default.UZERO).toString());
|
|
6882
6886
|
}
|
|
6883
6887
|
return obj;
|
|
6884
6888
|
},
|
|
@@ -6895,7 +6899,7 @@ exports.AreaSummaryReviewRequest = {
|
|
|
6895
6899
|
message.source = (_e = object.source) !== null && _e !== void 0 ? _e : 0;
|
|
6896
6900
|
message.areaSource = (_f = object.areaSource) !== null && _f !== void 0 ? _f : 0;
|
|
6897
6901
|
message.areaIds = ((_g = object.areaIds) === null || _g === void 0 ? void 0 : _g.map((e) => long_1.default.fromValue(e))) || [];
|
|
6898
|
-
message.
|
|
6902
|
+
message.deviceIds = ((_h = object.deviceIds) === null || _h === void 0 ? void 0 : _h.map((e) => long_1.default.fromValue(e))) || [];
|
|
6899
6903
|
return message;
|
|
6900
6904
|
},
|
|
6901
6905
|
};
|
|
@@ -6941,7 +6945,7 @@ exports.AreaSummaryReviewResponse = {
|
|
|
6941
6945
|
},
|
|
6942
6946
|
decode(input, length) {
|
|
6943
6947
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
6944
|
-
|
|
6948
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
6945
6949
|
const message = createBaseAreaSummaryReviewResponse();
|
|
6946
6950
|
while (reader.pos < end) {
|
|
6947
6951
|
const tag = reader.uint32();
|
|
@@ -7172,7 +7176,7 @@ exports.AreaSummaryReviewResponse_Review = {
|
|
|
7172
7176
|
},
|
|
7173
7177
|
decode(input, length) {
|
|
7174
7178
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7175
|
-
|
|
7179
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7176
7180
|
const message = createBaseAreaSummaryReviewResponse_Review();
|
|
7177
7181
|
while (reader.pos < end) {
|
|
7178
7182
|
const tag = reader.uint32();
|
|
@@ -7386,7 +7390,7 @@ exports.AreaSummaryReviewResponse_Area = {
|
|
|
7386
7390
|
},
|
|
7387
7391
|
decode(input, length) {
|
|
7388
7392
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7389
|
-
|
|
7393
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7390
7394
|
const message = createBaseAreaSummaryReviewResponse_Area();
|
|
7391
7395
|
while (reader.pos < end) {
|
|
7392
7396
|
const tag = reader.uint32();
|
|
@@ -7569,7 +7573,7 @@ exports.AreaSummaryReviewResponse_Detail = {
|
|
|
7569
7573
|
},
|
|
7570
7574
|
decode(input, length) {
|
|
7571
7575
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7572
|
-
|
|
7576
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7573
7577
|
const message = createBaseAreaSummaryReviewResponse_Detail();
|
|
7574
7578
|
while (reader.pos < end) {
|
|
7575
7579
|
const tag = reader.uint32();
|
|
@@ -7641,7 +7645,7 @@ exports.AreaSummaryReviewResponse_DevicesDetailEntry = {
|
|
|
7641
7645
|
},
|
|
7642
7646
|
decode(input, length) {
|
|
7643
7647
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7644
|
-
|
|
7648
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7645
7649
|
const message = createBaseAreaSummaryReviewResponse_DevicesDetailEntry();
|
|
7646
7650
|
while (reader.pos < end) {
|
|
7647
7651
|
const tag = reader.uint32();
|
|
@@ -7711,7 +7715,7 @@ exports.AreaSummaryReviewResponse_AreasDetailEntry = {
|
|
|
7711
7715
|
},
|
|
7712
7716
|
decode(input, length) {
|
|
7713
7717
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7714
|
-
|
|
7718
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7715
7719
|
const message = createBaseAreaSummaryReviewResponse_AreasDetailEntry();
|
|
7716
7720
|
while (reader.pos < end) {
|
|
7717
7721
|
const tag = reader.uint32();
|
|
@@ -7790,7 +7794,7 @@ exports.ShiftSummaryResponse = {
|
|
|
7790
7794
|
},
|
|
7791
7795
|
decode(input, length) {
|
|
7792
7796
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7793
|
-
|
|
7797
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7794
7798
|
const message = createBaseShiftSummaryResponse();
|
|
7795
7799
|
while (reader.pos < end) {
|
|
7796
7800
|
const tag = reader.uint32();
|
|
@@ -8009,7 +8013,7 @@ exports.ShiftSummaryResponse_Summary = {
|
|
|
8009
8013
|
},
|
|
8010
8014
|
decode(input, length) {
|
|
8011
8015
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8012
|
-
|
|
8016
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8013
8017
|
const message = createBaseShiftSummaryResponse_Summary();
|
|
8014
8018
|
while (reader.pos < end) {
|
|
8015
8019
|
const tag = reader.uint32();
|
|
@@ -8405,7 +8409,7 @@ exports.ShiftRequest = {
|
|
|
8405
8409
|
},
|
|
8406
8410
|
decode(input, length) {
|
|
8407
8411
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8408
|
-
|
|
8412
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8409
8413
|
const message = createBaseShiftRequest();
|
|
8410
8414
|
while (reader.pos < end) {
|
|
8411
8415
|
const tag = reader.uint32();
|
|
@@ -8491,7 +8495,7 @@ exports.ShiftResponse = {
|
|
|
8491
8495
|
},
|
|
8492
8496
|
decode(input, length) {
|
|
8493
8497
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8494
|
-
|
|
8498
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8495
8499
|
const message = createBaseShiftResponse();
|
|
8496
8500
|
while (reader.pos < end) {
|
|
8497
8501
|
const tag = reader.uint32();
|
|
@@ -8678,7 +8682,7 @@ exports.ShiftResponse_Shift = {
|
|
|
8678
8682
|
},
|
|
8679
8683
|
decode(input, length) {
|
|
8680
8684
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8681
|
-
|
|
8685
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8682
8686
|
const message = createBaseShiftResponse_Shift();
|
|
8683
8687
|
while (reader.pos < end) {
|
|
8684
8688
|
const tag = reader.uint32();
|
|
@@ -9130,7 +9134,7 @@ exports.ShiftSummaryRequest = {
|
|
|
9130
9134
|
},
|
|
9131
9135
|
decode(input, length) {
|
|
9132
9136
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
9133
|
-
|
|
9137
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
9134
9138
|
const message = createBaseShiftSummaryRequest();
|
|
9135
9139
|
while (reader.pos < end) {
|
|
9136
9140
|
const tag = reader.uint32();
|
|
@@ -9224,7 +9228,7 @@ exports.DeviceDataCountRequest = {
|
|
|
9224
9228
|
},
|
|
9225
9229
|
decode(input, length) {
|
|
9226
9230
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
9227
|
-
|
|
9231
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
9228
9232
|
const message = createBaseDeviceDataCountRequest();
|
|
9229
9233
|
while (reader.pos < end) {
|
|
9230
9234
|
const tag = reader.uint32();
|
|
@@ -9310,7 +9314,7 @@ exports.DeviceDataCountResponse = {
|
|
|
9310
9314
|
},
|
|
9311
9315
|
decode(input, length) {
|
|
9312
9316
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
9313
|
-
|
|
9317
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
9314
9318
|
const message = createBaseDeviceDataCountResponse();
|
|
9315
9319
|
while (reader.pos < end) {
|
|
9316
9320
|
const tag = reader.uint32();
|
|
@@ -9370,7 +9374,7 @@ exports.DeviceDataCountResponse_DeviceDataCount = {
|
|
|
9370
9374
|
},
|
|
9371
9375
|
decode(input, length) {
|
|
9372
9376
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
9373
|
-
|
|
9377
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
9374
9378
|
const message = createBaseDeviceDataCountResponse_DeviceDataCount();
|
|
9375
9379
|
while (reader.pos < end) {
|
|
9376
9380
|
const tag = reader.uint32();
|
|
@@ -9437,7 +9441,7 @@ exports.DailyTrafficResponse = {
|
|
|
9437
9441
|
},
|
|
9438
9442
|
decode(input, length) {
|
|
9439
9443
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
9440
|
-
|
|
9444
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
9441
9445
|
const message = createBaseDailyTrafficResponse();
|
|
9442
9446
|
while (reader.pos < end) {
|
|
9443
9447
|
const tag = reader.uint32();
|
|
@@ -9506,7 +9510,7 @@ exports.DailyTrafficResponse_Traffic = {
|
|
|
9506
9510
|
},
|
|
9507
9511
|
decode(input, length) {
|
|
9508
9512
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
9509
|
-
|
|
9513
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
9510
9514
|
const message = createBaseDailyTrafficResponse_Traffic();
|
|
9511
9515
|
while (reader.pos < end) {
|
|
9512
9516
|
const tag = reader.uint32();
|
|
@@ -9614,7 +9618,7 @@ exports.DailyTrafficResponse_DailyTraffic = {
|
|
|
9614
9618
|
},
|
|
9615
9619
|
decode(input, length) {
|
|
9616
9620
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
9617
|
-
|
|
9621
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
9618
9622
|
const message = createBaseDailyTrafficResponse_DailyTraffic();
|
|
9619
9623
|
while (reader.pos < end) {
|
|
9620
9624
|
const tag = reader.uint32();
|
|
@@ -9708,7 +9712,7 @@ exports.DailyTrafficRequest = {
|
|
|
9708
9712
|
},
|
|
9709
9713
|
decode(input, length) {
|
|
9710
9714
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
9711
|
-
|
|
9715
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
9712
9716
|
const message = createBaseDailyTrafficRequest();
|
|
9713
9717
|
while (reader.pos < end) {
|
|
9714
9718
|
const tag = reader.uint32();
|
|
@@ -9820,7 +9824,7 @@ exports.RouteStopPoint = {
|
|
|
9820
9824
|
},
|
|
9821
9825
|
decode(input, length) {
|
|
9822
9826
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
9823
|
-
|
|
9827
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
9824
9828
|
const message = createBaseRouteStopPoint();
|
|
9825
9829
|
while (reader.pos < end) {
|
|
9826
9830
|
const tag = reader.uint32();
|
|
@@ -9933,7 +9937,7 @@ exports.RouteStopResponse = {
|
|
|
9933
9937
|
},
|
|
9934
9938
|
decode(input, length) {
|
|
9935
9939
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
9936
|
-
|
|
9940
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
9937
9941
|
const message = createBaseRouteStopResponse();
|
|
9938
9942
|
while (reader.pos < end) {
|
|
9939
9943
|
const tag = reader.uint32();
|
|
@@ -10036,7 +10040,7 @@ exports.RouteStopRequest = {
|
|
|
10036
10040
|
},
|
|
10037
10041
|
decode(input, length) {
|
|
10038
10042
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
10039
|
-
|
|
10043
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
10040
10044
|
const message = createBaseRouteStopRequest();
|
|
10041
10045
|
while (reader.pos < end) {
|
|
10042
10046
|
const tag = reader.uint32();
|
|
@@ -10162,7 +10166,7 @@ exports.RouteReviewRequest = {
|
|
|
10162
10166
|
},
|
|
10163
10167
|
decode(input, length) {
|
|
10164
10168
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
10165
|
-
|
|
10169
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
10166
10170
|
const message = createBaseRouteReviewRequest();
|
|
10167
10171
|
while (reader.pos < end) {
|
|
10168
10172
|
const tag = reader.uint32();
|
|
@@ -10293,7 +10297,7 @@ exports.RouteReviewResponse = {
|
|
|
10293
10297
|
},
|
|
10294
10298
|
decode(input, length) {
|
|
10295
10299
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
10296
|
-
|
|
10300
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
10297
10301
|
const message = createBaseRouteReviewResponse();
|
|
10298
10302
|
while (reader.pos < end) {
|
|
10299
10303
|
const tag = reader.uint32();
|
|
@@ -10428,7 +10432,7 @@ exports.AreaReviewRequest = {
|
|
|
10428
10432
|
},
|
|
10429
10433
|
decode(input, length) {
|
|
10430
10434
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
10431
|
-
|
|
10435
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
10432
10436
|
const message = createBaseAreaReviewRequest();
|
|
10433
10437
|
while (reader.pos < end) {
|
|
10434
10438
|
const tag = reader.uint32();
|
|
@@ -10545,7 +10549,7 @@ exports.AreaReviewResponse = {
|
|
|
10545
10549
|
},
|
|
10546
10550
|
decode(input, length) {
|
|
10547
10551
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
10548
|
-
|
|
10552
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
10549
10553
|
const message = createBaseAreaReviewResponse();
|
|
10550
10554
|
while (reader.pos < end) {
|
|
10551
10555
|
const tag = reader.uint32();
|
|
@@ -10628,7 +10632,7 @@ exports.AreaReviewResponse_AreaReview = {
|
|
|
10628
10632
|
},
|
|
10629
10633
|
decode(input, length) {
|
|
10630
10634
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
10631
|
-
|
|
10635
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
10632
10636
|
const message = createBaseAreaReviewResponse_AreaReview();
|
|
10633
10637
|
while (reader.pos < end) {
|
|
10634
10638
|
const tag = reader.uint32();
|
|
@@ -10769,7 +10773,7 @@ exports.DeviceDataRequest = {
|
|
|
10769
10773
|
},
|
|
10770
10774
|
decode(input, length) {
|
|
10771
10775
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
10772
|
-
|
|
10776
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
10773
10777
|
const message = createBaseDeviceDataRequest();
|
|
10774
10778
|
while (reader.pos < end) {
|
|
10775
10779
|
const tag = reader.uint32();
|
|
@@ -10861,7 +10865,7 @@ exports.DeviceDataResponse = {
|
|
|
10861
10865
|
},
|
|
10862
10866
|
decode(input, length) {
|
|
10863
10867
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
10864
|
-
|
|
10868
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
10865
10869
|
const message = createBaseDeviceDataResponse();
|
|
10866
10870
|
while (reader.pos < end) {
|
|
10867
10871
|
const tag = reader.uint32();
|
|
@@ -10931,7 +10935,7 @@ exports.LogResponse = {
|
|
|
10931
10935
|
},
|
|
10932
10936
|
decode(input, length) {
|
|
10933
10937
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
10934
|
-
|
|
10938
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
10935
10939
|
const message = createBaseLogResponse();
|
|
10936
10940
|
while (reader.pos < end) {
|
|
10937
10941
|
const tag = reader.uint32();
|
|
@@ -11076,7 +11080,7 @@ exports.LogRequest = {
|
|
|
11076
11080
|
},
|
|
11077
11081
|
decode(input, length) {
|
|
11078
11082
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
11079
|
-
|
|
11083
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
11080
11084
|
const message = createBaseLogRequest();
|
|
11081
11085
|
while (reader.pos < end) {
|
|
11082
11086
|
const tag = reader.uint32();
|
|
@@ -11215,7 +11219,7 @@ exports.TrafficRequest = {
|
|
|
11215
11219
|
},
|
|
11216
11220
|
decode(input, length) {
|
|
11217
11221
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
11218
|
-
|
|
11222
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
11219
11223
|
const message = createBaseTrafficRequest();
|
|
11220
11224
|
while (reader.pos < end) {
|
|
11221
11225
|
const tag = reader.uint32();
|
|
@@ -11313,7 +11317,7 @@ exports.TrafficResponse = {
|
|
|
11313
11317
|
},
|
|
11314
11318
|
decode(input, length) {
|
|
11315
11319
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
11316
|
-
|
|
11320
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
11317
11321
|
const message = createBaseTrafficResponse();
|
|
11318
11322
|
while (reader.pos < end) {
|
|
11319
11323
|
const tag = reader.uint32();
|
|
@@ -11392,7 +11396,7 @@ exports.TrafficResponse_Traffic = {
|
|
|
11392
11396
|
},
|
|
11393
11397
|
decode(input, length) {
|
|
11394
11398
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
11395
|
-
|
|
11399
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
11396
11400
|
const message = createBaseTrafficResponse_Traffic();
|
|
11397
11401
|
while (reader.pos < end) {
|
|
11398
11402
|
const tag = reader.uint32();
|
|
@@ -11518,7 +11522,7 @@ exports.AttendanceRequest = {
|
|
|
11518
11522
|
},
|
|
11519
11523
|
decode(input, length) {
|
|
11520
11524
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
11521
|
-
|
|
11525
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
11522
11526
|
const message = createBaseAttendanceRequest();
|
|
11523
11527
|
while (reader.pos < end) {
|
|
11524
11528
|
const tag = reader.uint32();
|
|
@@ -11618,7 +11622,7 @@ exports.AttendanceXRequest = {
|
|
|
11618
11622
|
},
|
|
11619
11623
|
decode(input, length) {
|
|
11620
11624
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
11621
|
-
|
|
11625
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
11622
11626
|
const message = createBaseAttendanceXRequest();
|
|
11623
11627
|
while (reader.pos < end) {
|
|
11624
11628
|
const tag = reader.uint32();
|
|
@@ -11730,7 +11734,7 @@ exports.AttendanceResponse = {
|
|
|
11730
11734
|
},
|
|
11731
11735
|
decode(input, length) {
|
|
11732
11736
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
11733
|
-
|
|
11737
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
11734
11738
|
const message = createBaseAttendanceResponse();
|
|
11735
11739
|
while (reader.pos < end) {
|
|
11736
11740
|
const tag = reader.uint32();
|
|
@@ -11796,7 +11800,7 @@ exports.AttendanceResponse_Event = {
|
|
|
11796
11800
|
},
|
|
11797
11801
|
decode(input, length) {
|
|
11798
11802
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
11799
|
-
|
|
11803
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
11800
11804
|
const message = createBaseAttendanceResponse_Event();
|
|
11801
11805
|
while (reader.pos < end) {
|
|
11802
11806
|
const tag = reader.uint32();
|
|
@@ -11960,7 +11964,7 @@ exports.AttendanceResponse_Attendance = {
|
|
|
11960
11964
|
},
|
|
11961
11965
|
decode(input, length) {
|
|
11962
11966
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
11963
|
-
|
|
11967
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
11964
11968
|
const message = createBaseAttendanceResponse_Attendance();
|
|
11965
11969
|
while (reader.pos < end) {
|
|
11966
11970
|
const tag = reader.uint32();
|
|
@@ -12255,7 +12259,7 @@ exports.TripsRequest = {
|
|
|
12255
12259
|
},
|
|
12256
12260
|
decode(input, length) {
|
|
12257
12261
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12258
|
-
|
|
12262
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12259
12263
|
const message = createBaseTripsRequest();
|
|
12260
12264
|
while (reader.pos < end) {
|
|
12261
12265
|
const tag = reader.uint32();
|
|
@@ -12341,7 +12345,7 @@ exports.TripsResponse = {
|
|
|
12341
12345
|
},
|
|
12342
12346
|
decode(input, length) {
|
|
12343
12347
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12344
|
-
|
|
12348
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12345
12349
|
const message = createBaseTripsResponse();
|
|
12346
12350
|
while (reader.pos < end) {
|
|
12347
12351
|
const tag = reader.uint32();
|
|
@@ -12407,7 +12411,7 @@ exports.TripsSummaryRequest = {
|
|
|
12407
12411
|
},
|
|
12408
12412
|
decode(input, length) {
|
|
12409
12413
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12410
|
-
|
|
12414
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12411
12415
|
const message = createBaseTripsSummaryRequest();
|
|
12412
12416
|
while (reader.pos < end) {
|
|
12413
12417
|
const tag = reader.uint32();
|
|
@@ -12519,7 +12523,7 @@ exports.TripsSummaryResponse = {
|
|
|
12519
12523
|
},
|
|
12520
12524
|
decode(input, length) {
|
|
12521
12525
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12522
|
-
|
|
12526
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12523
12527
|
const message = createBaseTripsSummaryResponse();
|
|
12524
12528
|
while (reader.pos < end) {
|
|
12525
12529
|
const tag = reader.uint32();
|