@fatehan/tsrp 1.0.21 → 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 +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +46 -1
- 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: packets/dataModel.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -2364,7 +2364,7 @@ exports.IoElement = {
|
|
|
2364
2364
|
},
|
|
2365
2365
|
decode(input, length) {
|
|
2366
2366
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2367
|
-
|
|
2367
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2368
2368
|
const message = createBaseIoElement();
|
|
2369
2369
|
while (reader.pos < end) {
|
|
2370
2370
|
const tag = reader.uint32();
|
|
@@ -3730,7 +3730,7 @@ exports.IoElement_DallasTemperature = {
|
|
|
3730
3730
|
},
|
|
3731
3731
|
decode(input, length) {
|
|
3732
3732
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3733
|
-
|
|
3733
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3734
3734
|
const message = createBaseIoElement_DallasTemperature();
|
|
3735
3735
|
while (reader.pos < end) {
|
|
3736
3736
|
const tag = reader.uint32();
|
|
@@ -3990,7 +3990,7 @@ exports.IoElement_LLS = {
|
|
|
3990
3990
|
},
|
|
3991
3991
|
decode(input, length) {
|
|
3992
3992
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3993
|
-
|
|
3993
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3994
3994
|
const message = createBaseIoElement_LLS();
|
|
3995
3995
|
while (reader.pos < end) {
|
|
3996
3996
|
const tag = reader.uint32();
|
|
@@ -4310,7 +4310,7 @@ exports.IoElement_Eye = {
|
|
|
4310
4310
|
},
|
|
4311
4311
|
decode(input, length) {
|
|
4312
4312
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4313
|
-
|
|
4313
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4314
4314
|
const message = createBaseIoElement_Eye();
|
|
4315
4315
|
while (reader.pos < end) {
|
|
4316
4316
|
const tag = reader.uint32();
|
|
@@ -4894,7 +4894,7 @@ exports.IoElement_Ble = {
|
|
|
4894
4894
|
},
|
|
4895
4895
|
decode(input, length) {
|
|
4896
4896
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
4897
|
-
|
|
4897
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
4898
4898
|
const message = createBaseIoElement_Ble();
|
|
4899
4899
|
while (reader.pos < end) {
|
|
4900
4900
|
const tag = reader.uint32();
|
|
@@ -5126,7 +5126,7 @@ exports.IoElement_Driver = {
|
|
|
5126
5126
|
},
|
|
5127
5127
|
decode(input, length) {
|
|
5128
5128
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5129
|
-
|
|
5129
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5130
5130
|
const message = createBaseIoElement_Driver();
|
|
5131
5131
|
while (reader.pos < end) {
|
|
5132
5132
|
const tag = reader.uint32();
|
|
@@ -5278,7 +5278,7 @@ exports.IoElement_MSP500 = {
|
|
|
5278
5278
|
},
|
|
5279
5279
|
decode(input, length) {
|
|
5280
5280
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5281
|
-
|
|
5281
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5282
5282
|
const message = createBaseIoElement_MSP500();
|
|
5283
5283
|
while (reader.pos < end) {
|
|
5284
5284
|
const tag = reader.uint32();
|
|
@@ -5648,7 +5648,7 @@ exports.EventualIoElements = {
|
|
|
5648
5648
|
},
|
|
5649
5649
|
decode(input, length) {
|
|
5650
5650
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
5651
|
-
|
|
5651
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
5652
5652
|
const message = createBaseEventualIoElements();
|
|
5653
5653
|
while (reader.pos < end) {
|
|
5654
5654
|
const tag = reader.uint32();
|
|
@@ -6850,7 +6850,7 @@ exports.ObdElements = {
|
|
|
6850
6850
|
},
|
|
6851
6851
|
decode(input, length) {
|
|
6852
6852
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
6853
|
-
|
|
6853
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
6854
6854
|
const message = createBaseObdElements();
|
|
6855
6855
|
while (reader.pos < end) {
|
|
6856
6856
|
const tag = reader.uint32();
|
|
@@ -7660,7 +7660,7 @@ exports.FmsElement = {
|
|
|
7660
7660
|
},
|
|
7661
7661
|
decode(input, length) {
|
|
7662
7662
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
7663
|
-
|
|
7663
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
7664
7664
|
const message = createBaseFmsElement();
|
|
7665
7665
|
while (reader.pos < end) {
|
|
7666
7666
|
const tag = reader.uint32();
|
|
@@ -8432,7 +8432,7 @@ exports.ObdOemElements = {
|
|
|
8432
8432
|
},
|
|
8433
8433
|
decode(input, length) {
|
|
8434
8434
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8435
|
-
|
|
8435
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8436
8436
|
const message = createBaseObdOemElements();
|
|
8437
8437
|
while (reader.pos < end) {
|
|
8438
8438
|
const tag = reader.uint32();
|
|
@@ -8786,7 +8786,7 @@ exports.BleSensorsIoElements = {
|
|
|
8786
8786
|
},
|
|
8787
8787
|
decode(input, length) {
|
|
8788
8788
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
8789
|
-
|
|
8789
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
8790
8790
|
const message = createBaseBleSensorsIoElements();
|
|
8791
8791
|
while (reader.pos < end) {
|
|
8792
8792
|
const tag = reader.uint32();
|
|
@@ -9868,7 +9868,7 @@ exports.CanAdaptersElements = {
|
|
|
9868
9868
|
},
|
|
9869
9869
|
decode(input, length) {
|
|
9870
9870
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
9871
|
-
|
|
9871
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
9872
9872
|
const message = createBaseCanAdaptersElements();
|
|
9873
9873
|
while (reader.pos < end) {
|
|
9874
9874
|
const tag = reader.uint32();
|
|
@@ -11677,7 +11677,7 @@ exports.CanAdaptersElements_Ssf = {
|
|
|
11677
11677
|
},
|
|
11678
11678
|
decode(input, length) {
|
|
11679
11679
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
11680
|
-
|
|
11680
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
11681
11681
|
const message = createBaseCanAdaptersElements_Ssf();
|
|
11682
11682
|
while (reader.pos < end) {
|
|
11683
11683
|
const tag = reader.uint32();
|
|
@@ -12391,7 +12391,7 @@ exports.CanAdaptersElements_Csf = {
|
|
|
12391
12391
|
},
|
|
12392
12392
|
decode(input, length) {
|
|
12393
12393
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12394
|
-
|
|
12394
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12395
12395
|
const message = createBaseCanAdaptersElements_Csf();
|
|
12396
12396
|
while (reader.pos < end) {
|
|
12397
12397
|
const tag = reader.uint32();
|
|
@@ -12947,7 +12947,7 @@ exports.CanAdaptersElements_Isf = {
|
|
|
12947
12947
|
},
|
|
12948
12948
|
decode(input, length) {
|
|
12949
12949
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
12950
|
-
|
|
12950
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
12951
12951
|
const message = createBaseCanAdaptersElements_Isf();
|
|
12952
12952
|
while (reader.pos < end) {
|
|
12953
12953
|
const tag = reader.uint32();
|
|
@@ -13747,7 +13747,7 @@ exports.CanAdaptersElements_Asf = {
|
|
|
13747
13747
|
},
|
|
13748
13748
|
decode(input, length) {
|
|
13749
13749
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
13750
|
-
|
|
13750
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
13751
13751
|
const message = createBaseCanAdaptersElements_Asf();
|
|
13752
13752
|
while (reader.pos < end) {
|
|
13753
13753
|
const tag = reader.uint32();
|
|
@@ -14603,7 +14603,7 @@ exports.CanAdaptersElements_Usf = {
|
|
|
14603
14603
|
},
|
|
14604
14604
|
decode(input, length) {
|
|
14605
14605
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
14606
|
-
|
|
14606
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
14607
14607
|
const message = createBaseCanAdaptersElements_Usf();
|
|
14608
14608
|
while (reader.pos < end) {
|
|
14609
14609
|
const tag = reader.uint32();
|
|
@@ -14959,7 +14959,7 @@ exports.CanAdaptersElements_Cisf = {
|
|
|
14959
14959
|
},
|
|
14960
14960
|
decode(input, length) {
|
|
14961
14961
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
14962
|
-
|
|
14962
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
14963
14963
|
const message = createBaseCanAdaptersElements_Cisf();
|
|
14964
14964
|
while (reader.pos < end) {
|
|
14965
14965
|
const tag = reader.uint32();
|
|
@@ -15355,7 +15355,7 @@ exports.CanAdaptersElements_LcCan = {
|
|
|
15355
15355
|
},
|
|
15356
15356
|
decode(input, length) {
|
|
15357
15357
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
15358
|
-
|
|
15358
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
15359
15359
|
const message = createBaseCanAdaptersElements_LcCan();
|
|
15360
15360
|
while (reader.pos < end) {
|
|
15361
15361
|
const tag = reader.uint32();
|
|
@@ -15531,7 +15531,7 @@ exports.ADAS = {
|
|
|
15531
15531
|
},
|
|
15532
15532
|
decode(input, length) {
|
|
15533
15533
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
15534
|
-
|
|
15534
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
15535
15535
|
const message = createBaseADAS();
|
|
15536
15536
|
while (reader.pos < end) {
|
|
15537
15537
|
const tag = reader.uint32();
|
|
@@ -15679,7 +15679,7 @@ exports.Compact = {
|
|
|
15679
15679
|
},
|
|
15680
15680
|
decode(input, length) {
|
|
15681
15681
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
15682
|
-
|
|
15682
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
15683
15683
|
const message = createBaseCompact();
|
|
15684
15684
|
while (reader.pos < end) {
|
|
15685
15685
|
const tag = reader.uint32();
|
|
@@ -15889,7 +15889,7 @@ exports.Compact_AlertValuesEntry = {
|
|
|
15889
15889
|
},
|
|
15890
15890
|
decode(input, length) {
|
|
15891
15891
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
15892
|
-
|
|
15892
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
15893
15893
|
const message = createBaseCompact_AlertValuesEntry();
|
|
15894
15894
|
while (reader.pos < end) {
|
|
15895
15895
|
const tag = reader.uint32();
|
|
@@ -15981,7 +15981,7 @@ exports.Log = {
|
|
|
15981
15981
|
},
|
|
15982
15982
|
decode(input, length) {
|
|
15983
15983
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
15984
|
-
|
|
15984
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
15985
15985
|
const message = createBaseLog();
|
|
15986
15986
|
while (reader.pos < end) {
|
|
15987
15987
|
const tag = reader.uint32();
|
|
@@ -16151,7 +16151,7 @@ exports.Data = {
|
|
|
16151
16151
|
},
|
|
16152
16152
|
decode(input, length) {
|
|
16153
16153
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
16154
|
-
|
|
16154
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
16155
16155
|
const message = createBaseData();
|
|
16156
16156
|
while (reader.pos < end) {
|
|
16157
16157
|
const tag = reader.uint32();
|
|
@@ -16331,7 +16331,7 @@ exports.Authorize = {
|
|
|
16331
16331
|
},
|
|
16332
16332
|
decode(input, length) {
|
|
16333
16333
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
16334
|
-
|
|
16334
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
16335
16335
|
const message = createBaseAuthorize();
|
|
16336
16336
|
while (reader.pos < end) {
|
|
16337
16337
|
const tag = reader.uint32();
|
|
@@ -16430,7 +16430,7 @@ exports.Packet = {
|
|
|
16430
16430
|
},
|
|
16431
16431
|
decode(input, length) {
|
|
16432
16432
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
16433
|
-
|
|
16433
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
16434
16434
|
const message = createBasePacket();
|
|
16435
16435
|
while (reader.pos < end) {
|
|
16436
16436
|
const tag = reader.uint32();
|
|
@@ -16630,7 +16630,7 @@ exports.Stream = {
|
|
|
16630
16630
|
},
|
|
16631
16631
|
decode(input, length) {
|
|
16632
16632
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
16633
|
-
|
|
16633
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
16634
16634
|
const message = createBaseStream();
|
|
16635
16635
|
while (reader.pos < end) {
|
|
16636
16636
|
const tag = reader.uint32();
|
|
@@ -16696,7 +16696,7 @@ exports.ReplyConcox = {
|
|
|
16696
16696
|
},
|
|
16697
16697
|
decode(input, length) {
|
|
16698
16698
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
16699
|
-
|
|
16699
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
16700
16700
|
const message = createBaseReplyConcox();
|
|
16701
16701
|
while (reader.pos < end) {
|
|
16702
16702
|
const tag = reader.uint32();
|
|
@@ -16754,7 +16754,7 @@ exports.ReplyConcox_Item = {
|
|
|
16754
16754
|
},
|
|
16755
16755
|
decode(input, length) {
|
|
16756
16756
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
16757
|
-
|
|
16757
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
16758
16758
|
const message = createBaseReplyConcox_Item();
|
|
16759
16759
|
while (reader.pos < end) {
|
|
16760
16760
|
const tag = reader.uint32();
|
|
@@ -16832,7 +16832,7 @@ exports.ReplyTeltonika = {
|
|
|
16832
16832
|
},
|
|
16833
16833
|
decode(input, length) {
|
|
16834
16834
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
16835
|
-
|
|
16835
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
16836
16836
|
const message = createBaseReplyTeltonika();
|
|
16837
16837
|
while (reader.pos < end) {
|
|
16838
16838
|
const tag = reader.uint32();
|
|
@@ -16943,7 +16943,7 @@ exports.AdditionalInformation = {
|
|
|
16943
16943
|
},
|
|
16944
16944
|
decode(input, length) {
|
|
16945
16945
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
16946
|
-
|
|
16946
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
16947
16947
|
const message = createBaseAdditionalInformation();
|
|
16948
16948
|
while (reader.pos < end) {
|
|
16949
16949
|
const tag = reader.uint32();
|
|
@@ -17039,7 +17039,7 @@ exports.Jtt808SignalingDataMessage1211 = {
|
|
|
17039
17039
|
},
|
|
17040
17040
|
decode(input, length) {
|
|
17041
17041
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
17042
|
-
|
|
17042
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
17043
17043
|
const message = createBaseJtt808SignalingDataMessage1211();
|
|
17044
17044
|
while (reader.pos < end) {
|
|
17045
17045
|
const tag = reader.uint32();
|
|
@@ -17139,7 +17139,7 @@ exports.Jtt808SignalingDataMessage1210 = {
|
|
|
17139
17139
|
},
|
|
17140
17140
|
decode(input, length) {
|
|
17141
17141
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
17142
|
-
|
|
17142
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
17143
17143
|
const message = createBaseJtt808SignalingDataMessage1210();
|
|
17144
17144
|
while (reader.pos < end) {
|
|
17145
17145
|
const tag = reader.uint32();
|
|
@@ -17262,7 +17262,7 @@ exports.Jtt808SignalingDataMessage1210_Attachment = {
|
|
|
17262
17262
|
},
|
|
17263
17263
|
decode(input, length) {
|
|
17264
17264
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
17265
|
-
|
|
17265
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
17266
17266
|
const message = createBaseJtt808SignalingDataMessage1210_Attachment();
|
|
17267
17267
|
while (reader.pos < end) {
|
|
17268
17268
|
const tag = reader.uint32();
|
|
@@ -17334,7 +17334,7 @@ exports.Jtt10780x0001Answer = {
|
|
|
17334
17334
|
},
|
|
17335
17335
|
decode(input, length) {
|
|
17336
17336
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
17337
|
-
|
|
17337
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
17338
17338
|
const message = createBaseJtt10780x0001Answer();
|
|
17339
17339
|
while (reader.pos < end) {
|
|
17340
17340
|
const tag = reader.uint32();
|
|
@@ -17424,7 +17424,7 @@ exports.Jtt1078EventMediaInfoUpload = {
|
|
|
17424
17424
|
},
|
|
17425
17425
|
decode(input, length) {
|
|
17426
17426
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
17427
|
-
|
|
17427
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
17428
17428
|
const message = createBaseJtt1078EventMediaInfoUpload();
|
|
17429
17429
|
while (reader.pos < end) {
|
|
17430
17430
|
const tag = reader.uint32();
|
|
@@ -17541,7 +17541,7 @@ exports.Jtt1078EventMediaDataUpload = {
|
|
|
17541
17541
|
},
|
|
17542
17542
|
decode(input, length) {
|
|
17543
17543
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
17544
|
-
|
|
17544
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
17545
17545
|
const message = createBaseJtt1078EventMediaDataUpload();
|
|
17546
17546
|
while (reader.pos < end) {
|
|
17547
17547
|
const tag = reader.uint32();
|
|
@@ -17661,7 +17661,7 @@ exports.Jtt808SignalingDataMessage1212 = {
|
|
|
17661
17661
|
},
|
|
17662
17662
|
decode(input, length) {
|
|
17663
17663
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
17664
|
-
|
|
17664
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
17665
17665
|
const message = createBaseJtt808SignalingDataMessage1212();
|
|
17666
17666
|
while (reader.pos < end) {
|
|
17667
17667
|
const tag = reader.uint32();
|
|
@@ -17742,7 +17742,7 @@ exports.ConcoxLikeR31 = {
|
|
|
17742
17742
|
},
|
|
17743
17743
|
decode(input, length) {
|
|
17744
17744
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
17745
|
-
|
|
17745
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
17746
17746
|
const message = createBaseConcoxLikeR31();
|
|
17747
17747
|
while (reader.pos < end) {
|
|
17748
17748
|
const tag = reader.uint32();
|
|
@@ -17823,7 +17823,7 @@ exports.ConcoxRecording0x8d = {
|
|
|
17823
17823
|
},
|
|
17824
17824
|
decode(input, length) {
|
|
17825
17825
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
17826
|
-
|
|
17826
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
17827
17827
|
const message = createBaseConcoxRecording0x8d();
|
|
17828
17828
|
while (reader.pos < end) {
|
|
17829
17829
|
const tag = reader.uint32();
|
|
@@ -17946,7 +17946,7 @@ exports.Client = {
|
|
|
17946
17946
|
},
|
|
17947
17947
|
decode(input, length) {
|
|
17948
17948
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
17949
|
-
|
|
17949
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
17950
17950
|
const message = createBaseClient();
|
|
17951
17951
|
while (reader.pos < end) {
|
|
17952
17952
|
const tag = reader.uint32();
|
|
@@ -18078,7 +18078,7 @@ exports.OdysseyDevice = {
|
|
|
18078
18078
|
},
|
|
18079
18079
|
decode(input, length) {
|
|
18080
18080
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
18081
|
-
|
|
18081
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
18082
18082
|
const message = createBaseOdysseyDevice();
|
|
18083
18083
|
while (reader.pos < end) {
|
|
18084
18084
|
const tag = reader.uint32();
|
|
@@ -18308,7 +18308,7 @@ exports.FusionDevice = {
|
|
|
18308
18308
|
},
|
|
18309
18309
|
decode(input, length) {
|
|
18310
18310
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
18311
|
-
|
|
18311
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
18312
18312
|
const message = createBaseFusionDevice();
|
|
18313
18313
|
while (reader.pos < end) {
|
|
18314
18314
|
const tag = reader.uint32();
|
|
@@ -18534,7 +18534,7 @@ exports.DeviceData = {
|
|
|
18534
18534
|
},
|
|
18535
18535
|
decode(input, length) {
|
|
18536
18536
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
18537
|
-
|
|
18537
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
18538
18538
|
const message = createBaseDeviceData();
|
|
18539
18539
|
while (reader.pos < end) {
|
|
18540
18540
|
const tag = reader.uint32();
|
|
@@ -18639,7 +18639,7 @@ exports.Task = {
|
|
|
18639
18639
|
},
|
|
18640
18640
|
decode(input, length) {
|
|
18641
18641
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
18642
|
-
|
|
18642
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
18643
18643
|
const message = createBaseTask();
|
|
18644
18644
|
while (reader.pos < end) {
|
|
18645
18645
|
const tag = reader.uint32();
|
|
@@ -18782,7 +18782,7 @@ exports.Task_AlertIdNumberEntry = {
|
|
|
18782
18782
|
},
|
|
18783
18783
|
decode(input, length) {
|
|
18784
18784
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
18785
|
-
|
|
18785
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
18786
18786
|
const message = createBaseTask_AlertIdNumberEntry();
|
|
18787
18787
|
while (reader.pos < end) {
|
|
18788
18788
|
const tag = reader.uint32();
|
|
@@ -18874,7 +18874,7 @@ exports.DeviceStatus = {
|
|
|
18874
18874
|
},
|
|
18875
18875
|
decode(input, length) {
|
|
18876
18876
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
18877
|
-
|
|
18877
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
18878
18878
|
const message = createBaseDeviceStatus();
|
|
18879
18879
|
while (reader.pos < end) {
|
|
18880
18880
|
const tag = reader.uint32();
|
|
@@ -19011,7 +19011,7 @@ exports.JTT808MediaRetrieval0802 = {
|
|
|
19011
19011
|
},
|
|
19012
19012
|
decode(input, length) {
|
|
19013
19013
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
19014
|
-
|
|
19014
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
19015
19015
|
const message = createBaseJTT808MediaRetrieval0802();
|
|
19016
19016
|
while (reader.pos < end) {
|
|
19017
19017
|
const tag = reader.uint32();
|
|
@@ -19104,7 +19104,7 @@ exports.JTT808MediaRetrieval0802_Item = {
|
|
|
19104
19104
|
},
|
|
19105
19105
|
decode(input, length) {
|
|
19106
19106
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
19107
|
-
|
|
19107
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
19108
19108
|
const message = createBaseJTT808MediaRetrieval0802_Item();
|
|
19109
19109
|
while (reader.pos < end) {
|
|
19110
19110
|
const tag = reader.uint32();
|
|
@@ -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: packets/messages.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -93,7 +93,7 @@ exports.CommandContent = {
|
|
|
93
93
|
},
|
|
94
94
|
decode(input, length) {
|
|
95
95
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
96
|
-
|
|
96
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
97
97
|
const message = createBaseCommandContent();
|
|
98
98
|
while (reader.pos < end) {
|
|
99
99
|
const tag = reader.uint32();
|
|
@@ -215,7 +215,7 @@ exports.CommandAkn = {
|
|
|
215
215
|
},
|
|
216
216
|
decode(input, length) {
|
|
217
217
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
218
|
-
|
|
218
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
219
219
|
const message = createBaseCommandAkn();
|
|
220
220
|
while (reader.pos < end) {
|
|
221
221
|
const tag = reader.uint32();
|
|
@@ -319,7 +319,7 @@ exports.Command = {
|
|
|
319
319
|
},
|
|
320
320
|
decode(input, length) {
|
|
321
321
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
322
|
-
|
|
322
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
323
323
|
const message = createBaseCommand();
|
|
324
324
|
while (reader.pos < end) {
|
|
325
325
|
const tag = reader.uint32();
|
|
@@ -506,7 +506,7 @@ exports.CommandValidation = {
|
|
|
506
506
|
},
|
|
507
507
|
decode(input, length) {
|
|
508
508
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
509
|
-
|
|
509
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
510
510
|
const message = createBaseCommandValidation();
|
|
511
511
|
while (reader.pos < end) {
|
|
512
512
|
const tag = reader.uint32();
|
|
@@ -623,7 +623,7 @@ exports.CommandFormat = {
|
|
|
623
623
|
},
|
|
624
624
|
decode(input, length) {
|
|
625
625
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
626
|
-
|
|
626
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
627
627
|
const message = createBaseCommandFormat();
|
|
628
628
|
while (reader.pos < end) {
|
|
629
629
|
const tag = reader.uint32();
|
|
@@ -742,7 +742,7 @@ exports.CommandStruct = {
|
|
|
742
742
|
},
|
|
743
743
|
decode(input, length) {
|
|
744
744
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
745
|
-
|
|
745
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
746
746
|
const message = createBaseCommandStruct();
|
|
747
747
|
while (reader.pos < end) {
|
|
748
748
|
const tag = reader.uint32();
|
|
@@ -28,7 +28,7 @@ export declare enum StopCalculateIo {
|
|
|
28
28
|
export declare function stopCalculateIoFromJSON(object: any): StopCalculateIo;
|
|
29
29
|
export declare function stopCalculateIoToJSON(object: StopCalculateIo): string;
|
|
30
30
|
export interface WorkCycleRequest {
|
|
31
|
-
|
|
31
|
+
deviceIds: Long[];
|
|
32
32
|
startedAt?: Date | undefined;
|
|
33
33
|
finishedAt?: Date | undefined;
|
|
34
34
|
shovelStopSeconds: number;
|
|
@@ -444,7 +444,7 @@ export interface AreaSummaryReviewRequest {
|
|
|
444
444
|
source: Source;
|
|
445
445
|
areaSource: AreaSummaryReviewRequest_AreaSourceEnum;
|
|
446
446
|
areaIds: Long[];
|
|
447
|
-
|
|
447
|
+
deviceIds: Long[];
|
|
448
448
|
}
|
|
449
449
|
export declare enum AreaSummaryReviewRequest_GroupEnum {
|
|
450
450
|
none = 0,
|