@fatehan/tsrp 1.0.26 → 1.0.28
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/google/protobuf/any.d.ts +146 -0
- package/dist/fatehan/google/protobuf/any.d.ts.map +1 -0
- package/dist/fatehan/google/protobuf/any.js +108 -0
- package/dist/fatehan/models/models.d.ts +3 -7
- package/dist/fatehan/models/models.d.ts.map +1 -1
- package/dist/fatehan/models/models.js +35 -71
- package/dist/fatehan/reports/report.d.ts +49 -88
- package/dist/fatehan/reports/report.d.ts.map +1 -1
- package/dist/fatehan/reports/report.js +3303 -3611
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +45 -0
- package/dist/index.test.js +10 -0
- package/package.json +2 -2
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
import Long from "long";
|
|
3
|
+
export declare const protobufPackage = "google.protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* `Any` contains an arbitrary serialized protocol buffer message along with a
|
|
6
|
+
* URL that describes the type of the serialized message.
|
|
7
|
+
*
|
|
8
|
+
* Protobuf library provides support to pack/unpack Any values in the form
|
|
9
|
+
* of utility functions or additional generated methods of the Any type.
|
|
10
|
+
*
|
|
11
|
+
* Example 1: Pack and unpack a message in C++.
|
|
12
|
+
*
|
|
13
|
+
* Foo foo = ...;
|
|
14
|
+
* Any any;
|
|
15
|
+
* any.PackFrom(foo);
|
|
16
|
+
* ...
|
|
17
|
+
* if (any.UnpackTo(&foo)) {
|
|
18
|
+
* ...
|
|
19
|
+
* }
|
|
20
|
+
*
|
|
21
|
+
* Example 2: Pack and unpack a message in Java.
|
|
22
|
+
*
|
|
23
|
+
* Foo foo = ...;
|
|
24
|
+
* Any any = Any.pack(foo);
|
|
25
|
+
* ...
|
|
26
|
+
* if (any.is(Foo.class)) {
|
|
27
|
+
* foo = any.unpack(Foo.class);
|
|
28
|
+
* }
|
|
29
|
+
* // or ...
|
|
30
|
+
* if (any.isSameTypeAs(Foo.getDefaultInstance())) {
|
|
31
|
+
* foo = any.unpack(Foo.getDefaultInstance());
|
|
32
|
+
* }
|
|
33
|
+
*
|
|
34
|
+
* Example 3: Pack and unpack a message in Python.
|
|
35
|
+
*
|
|
36
|
+
* foo = Foo(...)
|
|
37
|
+
* any = Any()
|
|
38
|
+
* any.Pack(foo)
|
|
39
|
+
* ...
|
|
40
|
+
* if any.Is(Foo.DESCRIPTOR):
|
|
41
|
+
* any.Unpack(foo)
|
|
42
|
+
* ...
|
|
43
|
+
*
|
|
44
|
+
* Example 4: Pack and unpack a message in Go
|
|
45
|
+
*
|
|
46
|
+
* foo := &pb.Foo{...}
|
|
47
|
+
* any, err := anypb.New(foo)
|
|
48
|
+
* if err != nil {
|
|
49
|
+
* ...
|
|
50
|
+
* }
|
|
51
|
+
* ...
|
|
52
|
+
* foo := &pb.Foo{}
|
|
53
|
+
* if err := any.UnmarshalTo(foo); err != nil {
|
|
54
|
+
* ...
|
|
55
|
+
* }
|
|
56
|
+
*
|
|
57
|
+
* The pack methods provided by protobuf library will by default use
|
|
58
|
+
* 'type.googleapis.com/full.type.name' as the type URL and the unpack
|
|
59
|
+
* methods only use the fully qualified type name after the last '/'
|
|
60
|
+
* in the type URL, for example "foo.bar.com/x/y.z" will yield type
|
|
61
|
+
* name "y.z".
|
|
62
|
+
*
|
|
63
|
+
* JSON
|
|
64
|
+
* ====
|
|
65
|
+
* The JSON representation of an `Any` value uses the regular
|
|
66
|
+
* representation of the deserialized, embedded message, with an
|
|
67
|
+
* additional field `@type` which contains the type URL. Example:
|
|
68
|
+
*
|
|
69
|
+
* package google.profile;
|
|
70
|
+
* message Person {
|
|
71
|
+
* string first_name = 1;
|
|
72
|
+
* string last_name = 2;
|
|
73
|
+
* }
|
|
74
|
+
*
|
|
75
|
+
* {
|
|
76
|
+
* "@type": "type.googleapis.com/google.profile.Person",
|
|
77
|
+
* "firstName": <string>,
|
|
78
|
+
* "lastName": <string>
|
|
79
|
+
* }
|
|
80
|
+
*
|
|
81
|
+
* If the embedded message type is well-known and has a custom JSON
|
|
82
|
+
* representation, that representation will be embedded adding a field
|
|
83
|
+
* `value` which holds the custom JSON in addition to the `@type`
|
|
84
|
+
* field. Example (for message [google.protobuf.Duration][]):
|
|
85
|
+
*
|
|
86
|
+
* {
|
|
87
|
+
* "@type": "type.googleapis.com/google.protobuf.Duration",
|
|
88
|
+
* "value": "1.212s"
|
|
89
|
+
* }
|
|
90
|
+
*/
|
|
91
|
+
export interface Any {
|
|
92
|
+
/**
|
|
93
|
+
* A URL/resource name that uniquely identifies the type of the serialized
|
|
94
|
+
* protocol buffer message. This string must contain at least
|
|
95
|
+
* one "/" character. The last segment of the URL's path must represent
|
|
96
|
+
* the fully qualified name of the type (as in
|
|
97
|
+
* `path/google.protobuf.Duration`). The name should be in a canonical form
|
|
98
|
+
* (e.g., leading "." is not accepted).
|
|
99
|
+
*
|
|
100
|
+
* In practice, teams usually precompile into the binary all types that they
|
|
101
|
+
* expect it to use in the context of Any. However, for URLs which use the
|
|
102
|
+
* scheme `http`, `https`, or no scheme, one can optionally set up a type
|
|
103
|
+
* server that maps type URLs to message definitions as follows:
|
|
104
|
+
*
|
|
105
|
+
* * If no scheme is provided, `https` is assumed.
|
|
106
|
+
* * An HTTP GET on the URL must yield a [google.protobuf.Type][]
|
|
107
|
+
* value in binary format, or produce an error.
|
|
108
|
+
* * Applications are allowed to cache lookup results based on the
|
|
109
|
+
* URL, or have them precompiled into a binary to avoid any
|
|
110
|
+
* lookup. Therefore, binary compatibility needs to be preserved
|
|
111
|
+
* on changes to types. (Use versioned type names to manage
|
|
112
|
+
* breaking changes.)
|
|
113
|
+
*
|
|
114
|
+
* Note: this functionality is not currently available in the official
|
|
115
|
+
* protobuf release, and it is not used for type URLs beginning with
|
|
116
|
+
* type.googleapis.com. As of May 2023, there are no widely used type server
|
|
117
|
+
* implementations and no plans to implement one.
|
|
118
|
+
*
|
|
119
|
+
* Schemes other than `http`, `https` (or the empty scheme) might be
|
|
120
|
+
* used with implementation specific semantics.
|
|
121
|
+
*/
|
|
122
|
+
typeUrl: string;
|
|
123
|
+
/** Must be a valid serialized protocol buffer of the above specified type. */
|
|
124
|
+
value: Uint8Array;
|
|
125
|
+
}
|
|
126
|
+
export declare const Any: MessageFns<Any>;
|
|
127
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
128
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
129
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
130
|
+
} : Partial<T>;
|
|
131
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
132
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
133
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
134
|
+
} & {
|
|
135
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
136
|
+
};
|
|
137
|
+
export interface MessageFns<T> {
|
|
138
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
139
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
140
|
+
fromJSON(object: any): T;
|
|
141
|
+
toJSON(message: T): unknown;
|
|
142
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
143
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
144
|
+
}
|
|
145
|
+
export {};
|
|
146
|
+
//# sourceMappingURL=any.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"any.d.ts","sourceRoot":"","sources":["../../../../src/fatehan/google/protobuf/any.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,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AC,GACrD,CAAC,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GAAG;KAAG,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK;CAAE,CAAC;AAMnG,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,YAAY,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,QAAQ,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC;IACzB,MAAM,CAAC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;IAC5B,MAAM,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACxD,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;CAC/D"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v2.7.0
|
|
5
|
+
// protoc v6.31.1
|
|
6
|
+
// source: google/protobuf/any.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.Any = exports.protobufPackage = void 0;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
+
exports.protobufPackage = "google.protobuf";
|
|
12
|
+
function createBaseAny() {
|
|
13
|
+
return { typeUrl: "", value: new Uint8Array(0) };
|
|
14
|
+
}
|
|
15
|
+
exports.Any = {
|
|
16
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
17
|
+
if (message.typeUrl !== "") {
|
|
18
|
+
writer.uint32(10).string(message.typeUrl);
|
|
19
|
+
}
|
|
20
|
+
if (message.value.length !== 0) {
|
|
21
|
+
writer.uint32(18).bytes(message.value);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBaseAny();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1: {
|
|
33
|
+
if (tag !== 10) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.typeUrl = reader.string();
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
case 2: {
|
|
40
|
+
if (tag !== 18) {
|
|
41
|
+
break;
|
|
42
|
+
}
|
|
43
|
+
message.value = reader.bytes();
|
|
44
|
+
continue;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
48
|
+
break;
|
|
49
|
+
}
|
|
50
|
+
reader.skip(tag & 7);
|
|
51
|
+
}
|
|
52
|
+
return message;
|
|
53
|
+
},
|
|
54
|
+
fromJSON(object) {
|
|
55
|
+
return {
|
|
56
|
+
typeUrl: isSet(object.typeUrl) ? globalThis.String(object.typeUrl) : "",
|
|
57
|
+
value: isSet(object.value) ? bytesFromBase64(object.value) : new Uint8Array(0),
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
toJSON(message) {
|
|
61
|
+
const obj = {};
|
|
62
|
+
if (message.typeUrl !== "") {
|
|
63
|
+
obj.typeUrl = message.typeUrl;
|
|
64
|
+
}
|
|
65
|
+
if (message.value.length !== 0) {
|
|
66
|
+
obj.value = base64FromBytes(message.value);
|
|
67
|
+
}
|
|
68
|
+
return obj;
|
|
69
|
+
},
|
|
70
|
+
create(base) {
|
|
71
|
+
return exports.Any.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
72
|
+
},
|
|
73
|
+
fromPartial(object) {
|
|
74
|
+
var _a, _b;
|
|
75
|
+
const message = createBaseAny();
|
|
76
|
+
message.typeUrl = (_a = object.typeUrl) !== null && _a !== void 0 ? _a : "";
|
|
77
|
+
message.value = (_b = object.value) !== null && _b !== void 0 ? _b : new Uint8Array(0);
|
|
78
|
+
return message;
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
function bytesFromBase64(b64) {
|
|
82
|
+
if (globalThis.Buffer) {
|
|
83
|
+
return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
const bin = globalThis.atob(b64);
|
|
87
|
+
const arr = new Uint8Array(bin.length);
|
|
88
|
+
for (let i = 0; i < bin.length; ++i) {
|
|
89
|
+
arr[i] = bin.charCodeAt(i);
|
|
90
|
+
}
|
|
91
|
+
return arr;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
function base64FromBytes(arr) {
|
|
95
|
+
if (globalThis.Buffer) {
|
|
96
|
+
return globalThis.Buffer.from(arr).toString("base64");
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
const bin = [];
|
|
100
|
+
arr.forEach((byte) => {
|
|
101
|
+
bin.push(globalThis.String.fromCharCode(byte));
|
|
102
|
+
});
|
|
103
|
+
return globalThis.btoa(bin.join(""));
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
function isSet(value) {
|
|
107
|
+
return value !== null && value !== undefined;
|
|
108
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
import Long from "long";
|
|
3
|
-
import { Data, DeviceStatus, FileType } from "../packets/dataModel";
|
|
3
|
+
import { Alert, Data, DeviceStatus, FileType } from "../packets/dataModel";
|
|
4
4
|
export declare const protobufPackage = "com.fatehan.models";
|
|
5
5
|
export interface Gallery {
|
|
6
6
|
id: Long;
|
|
@@ -35,11 +35,8 @@ export interface HeartbeatCache {
|
|
|
35
35
|
terminalId?: number | undefined;
|
|
36
36
|
temperature?: number | undefined;
|
|
37
37
|
ai1?: number | undefined;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
export interface HeartbeatSR03Cache {
|
|
41
|
-
heartbeat?: HeartbeatCache | undefined;
|
|
42
|
-
data?: Data | undefined;
|
|
38
|
+
odysseyCommandId?: Long | undefined;
|
|
39
|
+
scheduleAlert?: Alert | undefined;
|
|
43
40
|
}
|
|
44
41
|
export interface SinotrackCache {
|
|
45
42
|
gpsTime: Long;
|
|
@@ -98,7 +95,6 @@ export declare const Gallery: MessageFns<Gallery>;
|
|
|
98
95
|
export declare const IoList: MessageFns<IoList>;
|
|
99
96
|
export declare const IoList_ItemsEntry: MessageFns<IoList_ItemsEntry>;
|
|
100
97
|
export declare const HeartbeatCache: MessageFns<HeartbeatCache>;
|
|
101
|
-
export declare const HeartbeatSR03Cache: MessageFns<HeartbeatSR03Cache>;
|
|
102
98
|
export declare const SinotrackCache: MessageFns<SinotrackCache>;
|
|
103
99
|
export declare const Person: MessageFns<Person>;
|
|
104
100
|
export declare const PersonalAccessToken: MessageFns<PersonalAccessToken>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/fatehan/models/models.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,
|
|
1
|
+
{"version":3,"file":"models.d.ts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CAAC,IAAI,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GAAG;KAAG,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK;CAAE,CAAC;AAoCnG,MAAM,WAAW,UAAU,CAAC,CAAC;IAC3B,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,MAAM,CAAC,EAAE,YAAY,GAAG,YAAY,CAAC;IACxD,MAAM,CAAC,KAAK,EAAE,YAAY,GAAG,UAAU,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC;IAC7D,QAAQ,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC;IACzB,MAAM,CAAC,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC;IAC5B,MAAM,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACxD,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;CAC/D"}
|
|
@@ -8,7 +8,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.DeviceStatusList = exports.PersonalAccessToken = exports.Person = exports.SinotrackCache = exports.
|
|
11
|
+
exports.DeviceStatusList = exports.PersonalAccessToken = exports.Person = exports.SinotrackCache = exports.HeartbeatCache = exports.IoList_ItemsEntry = exports.IoList = exports.Gallery = exports.protobufPackage = void 0;
|
|
12
12
|
/* eslint-disable */
|
|
13
13
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
14
14
|
const long_1 = __importDefault(require("long"));
|
|
@@ -389,6 +389,8 @@ function createBaseHeartbeatCache() {
|
|
|
389
389
|
terminalId: undefined,
|
|
390
390
|
temperature: undefined,
|
|
391
391
|
ai1: undefined,
|
|
392
|
+
odysseyCommandId: undefined,
|
|
393
|
+
scheduleAlert: undefined,
|
|
392
394
|
};
|
|
393
395
|
}
|
|
394
396
|
exports.HeartbeatCache = {
|
|
@@ -423,6 +425,12 @@ exports.HeartbeatCache = {
|
|
|
423
425
|
if (message.ai1 !== undefined) {
|
|
424
426
|
writer.uint32(80).uint32(message.ai1);
|
|
425
427
|
}
|
|
428
|
+
if (message.odysseyCommandId !== undefined) {
|
|
429
|
+
writer.uint32(88).uint64(message.odysseyCommandId.toString());
|
|
430
|
+
}
|
|
431
|
+
if (message.scheduleAlert !== undefined) {
|
|
432
|
+
writer.uint32(96).int32(message.scheduleAlert);
|
|
433
|
+
}
|
|
426
434
|
return writer;
|
|
427
435
|
},
|
|
428
436
|
decode(input, length) {
|
|
@@ -502,6 +510,20 @@ exports.HeartbeatCache = {
|
|
|
502
510
|
message.ai1 = reader.uint32();
|
|
503
511
|
continue;
|
|
504
512
|
}
|
|
513
|
+
case 11: {
|
|
514
|
+
if (tag !== 88) {
|
|
515
|
+
break;
|
|
516
|
+
}
|
|
517
|
+
message.odysseyCommandId = long_1.default.fromString(reader.uint64().toString(), true);
|
|
518
|
+
continue;
|
|
519
|
+
}
|
|
520
|
+
case 12: {
|
|
521
|
+
if (tag !== 96) {
|
|
522
|
+
break;
|
|
523
|
+
}
|
|
524
|
+
message.scheduleAlert = reader.int32();
|
|
525
|
+
continue;
|
|
526
|
+
}
|
|
505
527
|
}
|
|
506
528
|
if ((tag & 7) === 4 || tag === 0) {
|
|
507
529
|
break;
|
|
@@ -522,6 +544,8 @@ exports.HeartbeatCache = {
|
|
|
522
544
|
terminalId: isSet(object.terminal_id) ? globalThis.Number(object.terminal_id) : undefined,
|
|
523
545
|
temperature: isSet(object.temperature) ? globalThis.Number(object.temperature) : undefined,
|
|
524
546
|
ai1: isSet(object.ai_1) ? globalThis.Number(object.ai_1) : undefined,
|
|
547
|
+
odysseyCommandId: isSet(object.odyssey_command_id) ? long_1.default.fromValue(object.odyssey_command_id) : undefined,
|
|
548
|
+
scheduleAlert: isSet(object.schedule_alert) ? (0, dataModel_1.alertFromJSON)(object.schedule_alert) : undefined,
|
|
525
549
|
};
|
|
526
550
|
},
|
|
527
551
|
toJSON(message) {
|
|
@@ -556,13 +580,19 @@ exports.HeartbeatCache = {
|
|
|
556
580
|
if (message.ai1 !== undefined) {
|
|
557
581
|
obj.ai_1 = Math.round(message.ai1);
|
|
558
582
|
}
|
|
583
|
+
if (message.odysseyCommandId !== undefined) {
|
|
584
|
+
obj.odyssey_command_id = (message.odysseyCommandId || long_1.default.UZERO).toString();
|
|
585
|
+
}
|
|
586
|
+
if (message.scheduleAlert !== undefined) {
|
|
587
|
+
obj.schedule_alert = (0, dataModel_1.alertToJSON)(message.scheduleAlert);
|
|
588
|
+
}
|
|
559
589
|
return obj;
|
|
560
590
|
},
|
|
561
591
|
create(base) {
|
|
562
592
|
return exports.HeartbeatCache.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
563
593
|
},
|
|
564
594
|
fromPartial(object) {
|
|
565
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
595
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
566
596
|
const message = createBaseHeartbeatCache();
|
|
567
597
|
message.ignition = (_a = object.ignition) !== null && _a !== void 0 ? _a : undefined;
|
|
568
598
|
message.gsm = (_b = object.gsm) !== null && _b !== void 0 ? _b : undefined;
|
|
@@ -578,76 +608,10 @@ exports.HeartbeatCache = {
|
|
|
578
608
|
message.terminalId = (_f = object.terminalId) !== null && _f !== void 0 ? _f : undefined;
|
|
579
609
|
message.temperature = (_g = object.temperature) !== null && _g !== void 0 ? _g : undefined;
|
|
580
610
|
message.ai1 = (_h = object.ai1) !== null && _h !== void 0 ? _h : undefined;
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
};
|
|
584
|
-
function createBaseHeartbeatSR03Cache() {
|
|
585
|
-
return { heartbeat: undefined, data: undefined };
|
|
586
|
-
}
|
|
587
|
-
exports.HeartbeatSR03Cache = {
|
|
588
|
-
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
589
|
-
if (message.heartbeat !== undefined) {
|
|
590
|
-
exports.HeartbeatCache.encode(message.heartbeat, writer.uint32(10).fork()).join();
|
|
591
|
-
}
|
|
592
|
-
if (message.data !== undefined) {
|
|
593
|
-
dataModel_1.Data.encode(message.data, writer.uint32(18).fork()).join();
|
|
594
|
-
}
|
|
595
|
-
return writer;
|
|
596
|
-
},
|
|
597
|
-
decode(input, length) {
|
|
598
|
-
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
599
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
600
|
-
const message = createBaseHeartbeatSR03Cache();
|
|
601
|
-
while (reader.pos < end) {
|
|
602
|
-
const tag = reader.uint32();
|
|
603
|
-
switch (tag >>> 3) {
|
|
604
|
-
case 1: {
|
|
605
|
-
if (tag !== 10) {
|
|
606
|
-
break;
|
|
607
|
-
}
|
|
608
|
-
message.heartbeat = exports.HeartbeatCache.decode(reader, reader.uint32());
|
|
609
|
-
continue;
|
|
610
|
-
}
|
|
611
|
-
case 2: {
|
|
612
|
-
if (tag !== 18) {
|
|
613
|
-
break;
|
|
614
|
-
}
|
|
615
|
-
message.data = dataModel_1.Data.decode(reader, reader.uint32());
|
|
616
|
-
continue;
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
620
|
-
break;
|
|
621
|
-
}
|
|
622
|
-
reader.skip(tag & 7);
|
|
623
|
-
}
|
|
624
|
-
return message;
|
|
625
|
-
},
|
|
626
|
-
fromJSON(object) {
|
|
627
|
-
return {
|
|
628
|
-
heartbeat: isSet(object.heartbeat) ? exports.HeartbeatCache.fromJSON(object.heartbeat) : undefined,
|
|
629
|
-
data: isSet(object.data) ? dataModel_1.Data.fromJSON(object.data) : undefined,
|
|
630
|
-
};
|
|
631
|
-
},
|
|
632
|
-
toJSON(message) {
|
|
633
|
-
const obj = {};
|
|
634
|
-
if (message.heartbeat !== undefined) {
|
|
635
|
-
obj.heartbeat = exports.HeartbeatCache.toJSON(message.heartbeat);
|
|
636
|
-
}
|
|
637
|
-
if (message.data !== undefined) {
|
|
638
|
-
obj.data = dataModel_1.Data.toJSON(message.data);
|
|
639
|
-
}
|
|
640
|
-
return obj;
|
|
641
|
-
},
|
|
642
|
-
create(base) {
|
|
643
|
-
return exports.HeartbeatSR03Cache.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
644
|
-
},
|
|
645
|
-
fromPartial(object) {
|
|
646
|
-
const message = createBaseHeartbeatSR03Cache();
|
|
647
|
-
message.heartbeat = (object.heartbeat !== undefined && object.heartbeat !== null)
|
|
648
|
-
? exports.HeartbeatCache.fromPartial(object.heartbeat)
|
|
611
|
+
message.odysseyCommandId = (object.odysseyCommandId !== undefined && object.odysseyCommandId !== null)
|
|
612
|
+
? long_1.default.fromValue(object.odysseyCommandId)
|
|
649
613
|
: undefined;
|
|
650
|
-
message.
|
|
614
|
+
message.scheduleAlert = (_j = object.scheduleAlert) !== null && _j !== void 0 ? _j : undefined;
|
|
651
615
|
return message;
|
|
652
616
|
},
|
|
653
617
|
};
|
|
@@ -2,6 +2,7 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
|
2
2
|
import Long from "long";
|
|
3
3
|
import { Area, Point, WorkCycle } from "../areas/area";
|
|
4
4
|
import { Data, Log } from "../packets/dataModel";
|
|
5
|
+
import { Command } from "../packets/messages";
|
|
5
6
|
import { FusionTrip, Trip, TripDurationStat, TripPoint } from "../trips/trip";
|
|
6
7
|
export declare const protobufPackage = "com.fatehan.reports";
|
|
7
8
|
export declare enum Source {
|
|
@@ -27,6 +28,46 @@ export declare enum StopCalculateIo {
|
|
|
27
28
|
}
|
|
28
29
|
export declare function stopCalculateIoFromJSON(object: any): StopCalculateIo;
|
|
29
30
|
export declare function stopCalculateIoToJSON(object: StopCalculateIo): string;
|
|
31
|
+
export interface ChartRequest {
|
|
32
|
+
deviceIds: Long[];
|
|
33
|
+
ios: string[];
|
|
34
|
+
startedAt?: Date | undefined;
|
|
35
|
+
finishedAt?: Date | undefined;
|
|
36
|
+
}
|
|
37
|
+
export interface ChartResponse {
|
|
38
|
+
cost: number;
|
|
39
|
+
records: number;
|
|
40
|
+
chart: Map<Long, ChartResponse_Chart>;
|
|
41
|
+
section: number;
|
|
42
|
+
}
|
|
43
|
+
export interface ChartResponse_Series {
|
|
44
|
+
series: string[];
|
|
45
|
+
}
|
|
46
|
+
export interface ChartResponse_Chart {
|
|
47
|
+
ios: {
|
|
48
|
+
[key: string]: ChartResponse_Series;
|
|
49
|
+
};
|
|
50
|
+
datetime: Date[];
|
|
51
|
+
}
|
|
52
|
+
export interface ChartResponse_Chart_IosEntry {
|
|
53
|
+
key: string;
|
|
54
|
+
value?: ChartResponse_Series | undefined;
|
|
55
|
+
}
|
|
56
|
+
export interface ChartResponse_ChartEntry {
|
|
57
|
+
key: Long;
|
|
58
|
+
value?: ChartResponse_Chart | undefined;
|
|
59
|
+
}
|
|
60
|
+
export interface CommandHistoryRequest {
|
|
61
|
+
deviceId: Long;
|
|
62
|
+
limit: number;
|
|
63
|
+
page: number;
|
|
64
|
+
}
|
|
65
|
+
export interface CommandHistoryResponse {
|
|
66
|
+
records: number;
|
|
67
|
+
cost: number;
|
|
68
|
+
page: number;
|
|
69
|
+
list: Command[];
|
|
70
|
+
}
|
|
30
71
|
export interface WorkCycleRequest {
|
|
31
72
|
deviceIds: Long[];
|
|
32
73
|
startedAt?: Date | undefined;
|
|
@@ -345,91 +386,6 @@ export interface TraffixRequest {
|
|
|
345
386
|
workStarts?: string | undefined;
|
|
346
387
|
workFinishes?: string | undefined;
|
|
347
388
|
}
|
|
348
|
-
export interface EnvironmentalResponse {
|
|
349
|
-
percentage: number;
|
|
350
|
-
until?: Date | undefined;
|
|
351
|
-
reports: EnvironmentalResponse_EnvironmentalField[];
|
|
352
|
-
}
|
|
353
|
-
export interface EnvironmentalResponse_EnvironmentalField {
|
|
354
|
-
deviceId: Long;
|
|
355
|
-
ignition?: boolean | undefined;
|
|
356
|
-
gpsTime?: Date | undefined;
|
|
357
|
-
defaultHumidity?: number | undefined;
|
|
358
|
-
eyeHumidity1?: number | undefined;
|
|
359
|
-
eyeHumidity2?: number | undefined;
|
|
360
|
-
eyeHumidity3?: number | undefined;
|
|
361
|
-
eyeHumidity4?: number | undefined;
|
|
362
|
-
bleHumidity01?: number | undefined;
|
|
363
|
-
bleHumidity02?: number | undefined;
|
|
364
|
-
bleHumidity03?: number | undefined;
|
|
365
|
-
bleHumidity04?: number | undefined;
|
|
366
|
-
defaultTemperature?: number | undefined;
|
|
367
|
-
intakeAirTemperature?: number | undefined;
|
|
368
|
-
ambientAirTemperature?: number | undefined;
|
|
369
|
-
engineOilTemperature?: number | undefined;
|
|
370
|
-
coolantTemperature?: number | undefined;
|
|
371
|
-
bleTemperature01?: number | undefined;
|
|
372
|
-
bleTemperature02?: number | undefined;
|
|
373
|
-
bleTemperature03?: number | undefined;
|
|
374
|
-
bleTemperature04?: number | undefined;
|
|
375
|
-
engineTemperature?: number | undefined;
|
|
376
|
-
batteryTemperature?: number | undefined;
|
|
377
|
-
dallasTemperature1?: number | undefined;
|
|
378
|
-
dallasTemperature2?: number | undefined;
|
|
379
|
-
dallasTemperature3?: number | undefined;
|
|
380
|
-
dallasTemperature4?: number | undefined;
|
|
381
|
-
llsTemperature01?: number | undefined;
|
|
382
|
-
llsTemperature02?: number | undefined;
|
|
383
|
-
llsTemperature03?: number | undefined;
|
|
384
|
-
llsTemperature04?: number | undefined;
|
|
385
|
-
eyeTemperature01?: number | undefined;
|
|
386
|
-
eyeTemperature02?: number | undefined;
|
|
387
|
-
eyeTemperature03?: number | undefined;
|
|
388
|
-
eyeTemperature04?: number | undefined;
|
|
389
|
-
}
|
|
390
|
-
export interface EnvironmentalRequest {
|
|
391
|
-
deviceId: Long;
|
|
392
|
-
startedAt?: Date | undefined;
|
|
393
|
-
finishedAt?: Date | undefined;
|
|
394
|
-
environmentalField: EnvironmentalRequest_EnvironmentalFieldEnum[];
|
|
395
|
-
}
|
|
396
|
-
export declare enum EnvironmentalRequest_EnvironmentalFieldEnum {
|
|
397
|
-
DefaultHumidity = 0,
|
|
398
|
-
EyeHumidity1 = 1,
|
|
399
|
-
EyeHumidity2 = 2,
|
|
400
|
-
EyeHumidity3 = 3,
|
|
401
|
-
EyeHumidity4 = 4,
|
|
402
|
-
BLEHumidity01 = 5,
|
|
403
|
-
BLEHumidity02 = 6,
|
|
404
|
-
BLEHumidity03 = 7,
|
|
405
|
-
BLEHumidity04 = 8,
|
|
406
|
-
DefaultTemperature = 9,
|
|
407
|
-
IntakeAirTemperature = 10,
|
|
408
|
-
AmbientAirTemperature = 11,
|
|
409
|
-
EngineOilTemperature = 12,
|
|
410
|
-
CoolantTemperature = 13,
|
|
411
|
-
BLETemperature01 = 14,
|
|
412
|
-
BLETemperature02 = 15,
|
|
413
|
-
BLETemperature03 = 16,
|
|
414
|
-
BLETemperature04 = 17,
|
|
415
|
-
EngineTemperature = 18,
|
|
416
|
-
BatteryTemperature = 19,
|
|
417
|
-
DallasTemperature1 = 20,
|
|
418
|
-
DallasTemperature2 = 21,
|
|
419
|
-
DallasTemperature3 = 22,
|
|
420
|
-
DallasTemperature4 = 23,
|
|
421
|
-
LLSTemperature01 = 24,
|
|
422
|
-
LLSTemperature02 = 25,
|
|
423
|
-
LLSTemperature03 = 26,
|
|
424
|
-
LLSTemperature04 = 27,
|
|
425
|
-
EyeTemperature01 = 28,
|
|
426
|
-
EyeTemperature02 = 29,
|
|
427
|
-
EyeTemperature03 = 30,
|
|
428
|
-
EyeTemperature04 = 31,
|
|
429
|
-
UNRECOGNIZED = -1
|
|
430
|
-
}
|
|
431
|
-
export declare function environmentalRequest_EnvironmentalFieldEnumFromJSON(object: any): EnvironmentalRequest_EnvironmentalFieldEnum;
|
|
432
|
-
export declare function environmentalRequest_EnvironmentalFieldEnumToJSON(object: EnvironmentalRequest_EnvironmentalFieldEnum): string;
|
|
433
389
|
export interface TripReportResponse {
|
|
434
390
|
cost: number;
|
|
435
391
|
threads: number;
|
|
@@ -802,6 +758,14 @@ export interface TripsSummaryResponse {
|
|
|
802
758
|
startedAt?: Date | undefined;
|
|
803
759
|
finishedAt?: Date | undefined;
|
|
804
760
|
}
|
|
761
|
+
export declare const ChartRequest: MessageFns<ChartRequest>;
|
|
762
|
+
export declare const ChartResponse: MessageFns<ChartResponse>;
|
|
763
|
+
export declare const ChartResponse_Series: MessageFns<ChartResponse_Series>;
|
|
764
|
+
export declare const ChartResponse_Chart: MessageFns<ChartResponse_Chart>;
|
|
765
|
+
export declare const ChartResponse_Chart_IosEntry: MessageFns<ChartResponse_Chart_IosEntry>;
|
|
766
|
+
export declare const ChartResponse_ChartEntry: MessageFns<ChartResponse_ChartEntry>;
|
|
767
|
+
export declare const CommandHistoryRequest: MessageFns<CommandHistoryRequest>;
|
|
768
|
+
export declare const CommandHistoryResponse: MessageFns<CommandHistoryResponse>;
|
|
805
769
|
export declare const WorkCycleRequest: MessageFns<WorkCycleRequest>;
|
|
806
770
|
export declare const WorkCycleResponse: MessageFns<WorkCycleResponse>;
|
|
807
771
|
export declare const TripReportRequest: MessageFns<TripReportRequest>;
|
|
@@ -838,9 +802,6 @@ export declare const Traffix: MessageFns<Traffix>;
|
|
|
838
802
|
export declare const Traffix_Event: MessageFns<Traffix_Event>;
|
|
839
803
|
export declare const Traffix_STOP: MessageFns<Traffix_STOP>;
|
|
840
804
|
export declare const TraffixRequest: MessageFns<TraffixRequest>;
|
|
841
|
-
export declare const EnvironmentalResponse: MessageFns<EnvironmentalResponse>;
|
|
842
|
-
export declare const EnvironmentalResponse_EnvironmentalField: MessageFns<EnvironmentalResponse_EnvironmentalField>;
|
|
843
|
-
export declare const EnvironmentalRequest: MessageFns<EnvironmentalRequest>;
|
|
844
805
|
export declare const TripReportResponse: MessageFns<TripReportResponse>;
|
|
845
806
|
export declare const AreaSummaryReviewRequest: MessageFns<AreaSummaryReviewRequest>;
|
|
846
807
|
export declare const AreaSummaryReviewResponse: MessageFns<AreaSummaryReviewResponse>;
|