@fatehan/tsrp 1.0.40 → 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/package.json +2 -2
- package/readme.md +1 -1
|
@@ -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: trips/trip.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -1123,7 +1123,7 @@ exports.Monthly = {
|
|
|
1123
1123
|
},
|
|
1124
1124
|
decode(input, length) {
|
|
1125
1125
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1126
|
-
|
|
1126
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1127
1127
|
const message = createBaseMonthly();
|
|
1128
1128
|
while (reader.pos < end) {
|
|
1129
1129
|
const tag = reader.uint32();
|
|
@@ -1413,7 +1413,7 @@ exports.MonthlyCompact = {
|
|
|
1413
1413
|
},
|
|
1414
1414
|
decode(input, length) {
|
|
1415
1415
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1416
|
-
|
|
1416
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1417
1417
|
const message = createBaseMonthlyCompact();
|
|
1418
1418
|
while (reader.pos < end) {
|
|
1419
1419
|
const tag = reader.uint32();
|
|
@@ -1709,7 +1709,7 @@ exports.MonthlyCompact_GreenDrivingEntry = {
|
|
|
1709
1709
|
},
|
|
1710
1710
|
decode(input, length) {
|
|
1711
1711
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1712
|
-
|
|
1712
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1713
1713
|
const message = createBaseMonthlyCompact_GreenDrivingEntry();
|
|
1714
1714
|
while (reader.pos < end) {
|
|
1715
1715
|
const tag = reader.uint32();
|
|
@@ -1778,7 +1778,7 @@ exports.MonthlyCompact_TemperatureEntry = {
|
|
|
1778
1778
|
},
|
|
1779
1779
|
decode(input, length) {
|
|
1780
1780
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1781
|
-
|
|
1781
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1782
1782
|
const message = createBaseMonthlyCompact_TemperatureEntry();
|
|
1783
1783
|
while (reader.pos < end) {
|
|
1784
1784
|
const tag = reader.uint32();
|
|
@@ -1847,7 +1847,7 @@ exports.MonthlyCompact_HumidityEntry = {
|
|
|
1847
1847
|
},
|
|
1848
1848
|
decode(input, length) {
|
|
1849
1849
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1850
|
-
|
|
1850
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1851
1851
|
const message = createBaseMonthlyCompact_HumidityEntry();
|
|
1852
1852
|
while (reader.pos < end) {
|
|
1853
1853
|
const tag = reader.uint32();
|
|
@@ -1916,7 +1916,7 @@ exports.MonthlyCompact_CrashesEntry = {
|
|
|
1916
1916
|
},
|
|
1917
1917
|
decode(input, length) {
|
|
1918
1918
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1919
|
-
|
|
1919
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1920
1920
|
const message = createBaseMonthlyCompact_CrashesEntry();
|
|
1921
1921
|
while (reader.pos < end) {
|
|
1922
1922
|
const tag = reader.uint32();
|
|
@@ -1985,7 +1985,7 @@ exports.MonthlyCompact_SpeedsEntry = {
|
|
|
1985
1985
|
},
|
|
1986
1986
|
decode(input, length) {
|
|
1987
1987
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1988
|
-
|
|
1988
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1989
1989
|
const message = createBaseMonthlyCompact_SpeedsEntry();
|
|
1990
1990
|
while (reader.pos < end) {
|
|
1991
1991
|
const tag = reader.uint32();
|
|
@@ -2115,7 +2115,7 @@ exports.Trip = {
|
|
|
2115
2115
|
},
|
|
2116
2116
|
decode(input, length) {
|
|
2117
2117
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2118
|
-
|
|
2118
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2119
2119
|
const message = createBaseTrip();
|
|
2120
2120
|
while (reader.pos < end) {
|
|
2121
2121
|
const tag = reader.uint32();
|
|
@@ -2422,7 +2422,7 @@ exports.TripCompact = {
|
|
|
2422
2422
|
},
|
|
2423
2423
|
decode(input, length) {
|
|
2424
2424
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2425
|
-
|
|
2425
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2426
2426
|
const message = createBaseTripCompact();
|
|
2427
2427
|
while (reader.pos < end) {
|
|
2428
2428
|
const tag = reader.uint32();
|
|
@@ -2782,7 +2782,7 @@ exports.TripCompact_GreenDrivingEntry = {
|
|
|
2782
2782
|
},
|
|
2783
2783
|
decode(input, length) {
|
|
2784
2784
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2785
|
-
|
|
2785
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2786
2786
|
const message = createBaseTripCompact_GreenDrivingEntry();
|
|
2787
2787
|
while (reader.pos < end) {
|
|
2788
2788
|
const tag = reader.uint32();
|
|
@@ -2851,7 +2851,7 @@ exports.TripCompact_TemperatureEntry = {
|
|
|
2851
2851
|
},
|
|
2852
2852
|
decode(input, length) {
|
|
2853
2853
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2854
|
-
|
|
2854
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2855
2855
|
const message = createBaseTripCompact_TemperatureEntry();
|
|
2856
2856
|
while (reader.pos < end) {
|
|
2857
2857
|
const tag = reader.uint32();
|
|
@@ -2920,7 +2920,7 @@ exports.TripCompact_HumidityEntry = {
|
|
|
2920
2920
|
},
|
|
2921
2921
|
decode(input, length) {
|
|
2922
2922
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2923
|
-
|
|
2923
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2924
2924
|
const message = createBaseTripCompact_HumidityEntry();
|
|
2925
2925
|
while (reader.pos < end) {
|
|
2926
2926
|
const tag = reader.uint32();
|
|
@@ -2989,7 +2989,7 @@ exports.TripCompact_CrashesEntry = {
|
|
|
2989
2989
|
},
|
|
2990
2990
|
decode(input, length) {
|
|
2991
2991
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2992
|
-
|
|
2992
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2993
2993
|
const message = createBaseTripCompact_CrashesEntry();
|
|
2994
2994
|
while (reader.pos < end) {
|
|
2995
2995
|
const tag = reader.uint32();
|
|
@@ -3058,7 +3058,7 @@ exports.TripCompact_SpeedsEntry = {
|
|
|
3058
3058
|
},
|
|
3059
3059
|
decode(input, length) {
|
|
3060
3060
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3061
|
-
|
|
3061
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3062
3062
|
const message = createBaseTripCompact_SpeedsEntry();
|
|
3063
3063
|
while (reader.pos < end) {
|
|
3064
3064
|
const tag = reader.uint32();
|
|
@@ -3132,7 +3132,7 @@ exports.TripPoint = {
|
|
|
3132
3132
|
},
|
|
3133
3133
|
decode(input, length) {
|
|
3134
3134
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3135
|
-
|
|
3135
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3136
3136
|
const message = createBaseTripPoint();
|
|
3137
3137
|
while (reader.pos < end) {
|
|
3138
3138
|
const tag = reader.uint32();
|
|
@@ -3213,7 +3213,7 @@ exports.TripDurationStat = {
|
|
|
3213
3213
|
},
|
|
3214
3214
|
decode(input, length) {
|
|
3215
3215
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3216
|
-
|
|
3216
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3217
3217
|
const message = createBaseTripDurationStat();
|
|
3218
3218
|
while (reader.pos < end) {
|
|
3219
3219
|
const tag = reader.uint32();
|
|
@@ -3413,7 +3413,7 @@ exports.FusionTrip = {
|
|
|
3413
3413
|
},
|
|
3414
3414
|
decode(input, length) {
|
|
3415
3415
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3416
|
-
|
|
3416
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3417
3417
|
const message = createBaseFusionTrip();
|
|
3418
3418
|
while (reader.pos < end) {
|
|
3419
3419
|
const tag = reader.uint32();
|
|
@@ -3877,7 +3877,7 @@ exports.TripTask = {
|
|
|
3877
3877
|
},
|
|
3878
3878
|
decode(input, length) {
|
|
3879
3879
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3880
|
-
|
|
3880
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3881
3881
|
const message = createBaseTripTask();
|
|
3882
3882
|
while (reader.pos < end) {
|
|
3883
3883
|
const tag = reader.uint32();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fatehan/tsrp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.41",
|
|
4
4
|
"description": "fatehan main models",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/google-protobuf": "^3.15.12",
|
|
30
30
|
"@types/long": "^5.0.0",
|
|
31
|
-
"@types/node": "^24.0
|
|
31
|
+
"@types/node": "^24.1.0",
|
|
32
32
|
"ts-node": "^10.9.2",
|
|
33
33
|
"ts-proto": "^2.7.5",
|
|
34
34
|
"typescript": "^5.8.3",
|