@m1kad0/hannah-proto 4.5.0 → 4.6.0
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/README.md +21 -0
- package/dist/compat_interceptor.js +6 -6
- package/dist/compat_versions.js +176 -88
- package/dist/descriptor.binpb +0 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/v1/activity_log.d.ts +60 -0
- package/dist/v1/activity_log.js +453 -0
- package/dist/v1/agent.d.ts +433 -0
- package/dist/v1/agent.js +2527 -0
- package/dist/v1/automation.d.ts +54 -0
- package/dist/v1/automation.js +303 -0
- package/dist/v1/car_state.d.ts +72 -0
- package/dist/v1/car_state.js +516 -0
- package/dist/v1/channel.d.ts +102 -0
- package/dist/v1/channel.js +587 -0
- package/dist/v1/control.d.ts +383 -0
- package/dist/v1/control.js +3879 -0
- package/dist/v1/device_control_menu.d.ts +88 -0
- package/dist/v1/device_control_menu.js +629 -0
- package/dist/v1/event_stream.d.ts +63 -0
- package/dist/v1/event_stream.js +494 -0
- package/dist/v1/hannah.d.ts +1644 -0
- package/dist/v1/hannah.js +968 -0
- package/dist/v1/index.d.ts +22 -0
- package/dist/v1/index.js +58 -0
- package/dist/v1/infrastructure.d.ts +98 -0
- package/dist/v1/infrastructure.js +652 -0
- package/dist/v1/logging.d.ts +189 -0
- package/dist/v1/logging.js +775 -0
- package/dist/v1/messages.d.ts +56 -0
- package/dist/v1/messages.js +398 -0
- package/dist/v1/satellite.d.ts +90 -0
- package/dist/v1/satellite.js +637 -0
- package/dist/v1/satellite_provisioning.d.ts +33 -0
- package/dist/v1/satellite_provisioning.js +84 -0
- package/dist/v1/satellite_proxy.d.ts +100 -0
- package/dist/v1/satellite_proxy.js +546 -0
- package/dist/v1/shared.d.ts +54 -0
- package/dist/v1/shared.js +249 -0
- package/dist/v1/speaker_enrollment.d.ts +44 -0
- package/dist/v1/speaker_enrollment.js +157 -0
- package/dist/v1/timer_admin.d.ts +42 -0
- package/dist/v1/timer_admin.js +273 -0
- package/dist/v1/timer_service.d.ts +133 -0
- package/dist/v1/timer_service.js +945 -0
- package/dist/v1/user_registry.d.ts +187 -0
- package/dist/v1/user_registry.js +1612 -0
- package/dist/v1/wakeword_capture.d.ts +101 -0
- package/dist/v1/wakeword_capture.js +611 -0
- package/dist/v1/weather.d.ts +81 -0
- package/dist/v1/weather.js +366 -0
- package/package.json +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "hannah.v1";
|
|
3
|
+
/** Sent by an automation service (e.g. telegram_autoresponder) over the AutomationConnect stream. */
|
|
4
|
+
export interface AutomationMessage {
|
|
5
|
+
/** sent once, right after connecting */
|
|
6
|
+
register?: AutomationRegister | undefined;
|
|
7
|
+
}
|
|
8
|
+
/** Identifies which automation this connection represents. */
|
|
9
|
+
export interface AutomationRegister {
|
|
10
|
+
/** e.g. "telegram_autoresponder" */
|
|
11
|
+
automation: string;
|
|
12
|
+
}
|
|
13
|
+
/** Sent by Hannah Core over the AutomationConnect stream. */
|
|
14
|
+
export interface AutomationCommand {
|
|
15
|
+
/** sent once, right after register */
|
|
16
|
+
snapshot?: AutomationSnapshot | undefined;
|
|
17
|
+
/** live delta */
|
|
18
|
+
stateChanged?: AutomationStateChanged | undefined;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Full list of users with the registered automation currently enabled.
|
|
22
|
+
* Sent once per connection, right after AutomationRegister — the recovery
|
|
23
|
+
* mechanism for state changes that happened while the service was offline.
|
|
24
|
+
*/
|
|
25
|
+
export interface AutomationSnapshot {
|
|
26
|
+
userIds: number[];
|
|
27
|
+
}
|
|
28
|
+
/** A single user's enabled/disabled state changed for the registered automation. */
|
|
29
|
+
export interface AutomationStateChanged {
|
|
30
|
+
userId: number;
|
|
31
|
+
enabled: boolean;
|
|
32
|
+
}
|
|
33
|
+
export declare const AutomationMessage: MessageFns<AutomationMessage>;
|
|
34
|
+
export declare const AutomationRegister: MessageFns<AutomationRegister>;
|
|
35
|
+
export declare const AutomationCommand: MessageFns<AutomationCommand>;
|
|
36
|
+
export declare const AutomationSnapshot: MessageFns<AutomationSnapshot>;
|
|
37
|
+
export declare const AutomationStateChanged: MessageFns<AutomationStateChanged>;
|
|
38
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
|
|
39
|
+
export type DeepPartial<T> = T extends bigint ? string | number | bigint : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
40
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
41
|
+
} : Partial<T>;
|
|
42
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
43
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
44
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
45
|
+
} & {
|
|
46
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
47
|
+
};
|
|
48
|
+
export interface MessageFns<T> {
|
|
49
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
50
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
51
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
52
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
53
|
+
}
|
|
54
|
+
export {};
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
+
// versions:
|
|
4
|
+
// protoc-gen-ts_proto v2.12.1
|
|
5
|
+
// protoc unknown
|
|
6
|
+
// source: hannah/v1/automation.proto
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.AutomationStateChanged = exports.AutomationSnapshot = exports.AutomationCommand = exports.AutomationRegister = exports.AutomationMessage = exports.protobufPackage = void 0;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
|
+
exports.protobufPackage = "hannah.v1";
|
|
12
|
+
function createBaseAutomationMessage() {
|
|
13
|
+
return { register: undefined };
|
|
14
|
+
}
|
|
15
|
+
exports.AutomationMessage = {
|
|
16
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
17
|
+
if (message.register !== undefined) {
|
|
18
|
+
exports.AutomationRegister.encode(message.register, writer.uint32(10).fork()).join();
|
|
19
|
+
}
|
|
20
|
+
return writer;
|
|
21
|
+
},
|
|
22
|
+
decode(input, length) {
|
|
23
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
24
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
25
|
+
if (previousRecursionDepth >= 100) {
|
|
26
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
27
|
+
}
|
|
28
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
29
|
+
try {
|
|
30
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
+
const message = createBaseAutomationMessage();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1: {
|
|
36
|
+
if (tag !== 10) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
message.register = exports.AutomationRegister.decode(reader, reader.uint32());
|
|
40
|
+
continue;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
reader.skip(tag & 7);
|
|
47
|
+
}
|
|
48
|
+
return message;
|
|
49
|
+
}
|
|
50
|
+
finally {
|
|
51
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
create(base) {
|
|
55
|
+
return exports.AutomationMessage.fromPartial(base ?? {});
|
|
56
|
+
},
|
|
57
|
+
fromPartial(object) {
|
|
58
|
+
const message = createBaseAutomationMessage();
|
|
59
|
+
message.register = (object.register !== undefined && object.register !== null)
|
|
60
|
+
? exports.AutomationRegister.fromPartial(object.register)
|
|
61
|
+
: undefined;
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBaseAutomationRegister() {
|
|
66
|
+
return { automation: "" };
|
|
67
|
+
}
|
|
68
|
+
exports.AutomationRegister = {
|
|
69
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
70
|
+
if (message.automation !== "") {
|
|
71
|
+
writer.uint32(10).string(message.automation);
|
|
72
|
+
}
|
|
73
|
+
return writer;
|
|
74
|
+
},
|
|
75
|
+
decode(input, length) {
|
|
76
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
77
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
78
|
+
if (previousRecursionDepth >= 100) {
|
|
79
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
80
|
+
}
|
|
81
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
82
|
+
try {
|
|
83
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
84
|
+
const message = createBaseAutomationRegister();
|
|
85
|
+
while (reader.pos < end) {
|
|
86
|
+
const tag = reader.uint32();
|
|
87
|
+
switch (tag >>> 3) {
|
|
88
|
+
case 1: {
|
|
89
|
+
if (tag !== 10) {
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
message.automation = reader.string();
|
|
93
|
+
continue;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
97
|
+
break;
|
|
98
|
+
}
|
|
99
|
+
reader.skip(tag & 7);
|
|
100
|
+
}
|
|
101
|
+
return message;
|
|
102
|
+
}
|
|
103
|
+
finally {
|
|
104
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
create(base) {
|
|
108
|
+
return exports.AutomationRegister.fromPartial(base ?? {});
|
|
109
|
+
},
|
|
110
|
+
fromPartial(object) {
|
|
111
|
+
const message = createBaseAutomationRegister();
|
|
112
|
+
message.automation = object.automation ?? "";
|
|
113
|
+
return message;
|
|
114
|
+
},
|
|
115
|
+
};
|
|
116
|
+
function createBaseAutomationCommand() {
|
|
117
|
+
return { snapshot: undefined, stateChanged: undefined };
|
|
118
|
+
}
|
|
119
|
+
exports.AutomationCommand = {
|
|
120
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
121
|
+
if (message.snapshot !== undefined) {
|
|
122
|
+
exports.AutomationSnapshot.encode(message.snapshot, writer.uint32(10).fork()).join();
|
|
123
|
+
}
|
|
124
|
+
if (message.stateChanged !== undefined) {
|
|
125
|
+
exports.AutomationStateChanged.encode(message.stateChanged, writer.uint32(18).fork()).join();
|
|
126
|
+
}
|
|
127
|
+
return writer;
|
|
128
|
+
},
|
|
129
|
+
decode(input, length) {
|
|
130
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
131
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
132
|
+
if (previousRecursionDepth >= 100) {
|
|
133
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
134
|
+
}
|
|
135
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
136
|
+
try {
|
|
137
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
138
|
+
const message = createBaseAutomationCommand();
|
|
139
|
+
while (reader.pos < end) {
|
|
140
|
+
const tag = reader.uint32();
|
|
141
|
+
switch (tag >>> 3) {
|
|
142
|
+
case 1: {
|
|
143
|
+
if (tag !== 10) {
|
|
144
|
+
break;
|
|
145
|
+
}
|
|
146
|
+
message.snapshot = exports.AutomationSnapshot.decode(reader, reader.uint32());
|
|
147
|
+
continue;
|
|
148
|
+
}
|
|
149
|
+
case 2: {
|
|
150
|
+
if (tag !== 18) {
|
|
151
|
+
break;
|
|
152
|
+
}
|
|
153
|
+
message.stateChanged = exports.AutomationStateChanged.decode(reader, reader.uint32());
|
|
154
|
+
continue;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
158
|
+
break;
|
|
159
|
+
}
|
|
160
|
+
reader.skip(tag & 7);
|
|
161
|
+
}
|
|
162
|
+
return message;
|
|
163
|
+
}
|
|
164
|
+
finally {
|
|
165
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
create(base) {
|
|
169
|
+
return exports.AutomationCommand.fromPartial(base ?? {});
|
|
170
|
+
},
|
|
171
|
+
fromPartial(object) {
|
|
172
|
+
const message = createBaseAutomationCommand();
|
|
173
|
+
message.snapshot = (object.snapshot !== undefined && object.snapshot !== null)
|
|
174
|
+
? exports.AutomationSnapshot.fromPartial(object.snapshot)
|
|
175
|
+
: undefined;
|
|
176
|
+
message.stateChanged = (object.stateChanged !== undefined && object.stateChanged !== null)
|
|
177
|
+
? exports.AutomationStateChanged.fromPartial(object.stateChanged)
|
|
178
|
+
: undefined;
|
|
179
|
+
return message;
|
|
180
|
+
},
|
|
181
|
+
};
|
|
182
|
+
function createBaseAutomationSnapshot() {
|
|
183
|
+
return { userIds: [] };
|
|
184
|
+
}
|
|
185
|
+
exports.AutomationSnapshot = {
|
|
186
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
187
|
+
writer.uint32(10).fork();
|
|
188
|
+
for (const v of message.userIds) {
|
|
189
|
+
writer.int32(v);
|
|
190
|
+
}
|
|
191
|
+
writer.join();
|
|
192
|
+
return writer;
|
|
193
|
+
},
|
|
194
|
+
decode(input, length) {
|
|
195
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
196
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
197
|
+
if (previousRecursionDepth >= 100) {
|
|
198
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
199
|
+
}
|
|
200
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
201
|
+
try {
|
|
202
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
203
|
+
const message = createBaseAutomationSnapshot();
|
|
204
|
+
while (reader.pos < end) {
|
|
205
|
+
const tag = reader.uint32();
|
|
206
|
+
switch (tag >>> 3) {
|
|
207
|
+
case 1: {
|
|
208
|
+
if (tag === 8) {
|
|
209
|
+
message.userIds.push(reader.int32());
|
|
210
|
+
continue;
|
|
211
|
+
}
|
|
212
|
+
if (tag === 10) {
|
|
213
|
+
const end2 = reader.uint32() + reader.pos;
|
|
214
|
+
while (reader.pos < end2) {
|
|
215
|
+
message.userIds.push(reader.int32());
|
|
216
|
+
}
|
|
217
|
+
continue;
|
|
218
|
+
}
|
|
219
|
+
break;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
223
|
+
break;
|
|
224
|
+
}
|
|
225
|
+
reader.skip(tag & 7);
|
|
226
|
+
}
|
|
227
|
+
return message;
|
|
228
|
+
}
|
|
229
|
+
finally {
|
|
230
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
create(base) {
|
|
234
|
+
return exports.AutomationSnapshot.fromPartial(base ?? {});
|
|
235
|
+
},
|
|
236
|
+
fromPartial(object) {
|
|
237
|
+
const message = createBaseAutomationSnapshot();
|
|
238
|
+
message.userIds = object.userIds?.map((e) => e) || [];
|
|
239
|
+
return message;
|
|
240
|
+
},
|
|
241
|
+
};
|
|
242
|
+
function createBaseAutomationStateChanged() {
|
|
243
|
+
return { userId: 0, enabled: false };
|
|
244
|
+
}
|
|
245
|
+
exports.AutomationStateChanged = {
|
|
246
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
247
|
+
if (message.userId !== 0) {
|
|
248
|
+
writer.uint32(8).int32(message.userId);
|
|
249
|
+
}
|
|
250
|
+
if (message.enabled !== false) {
|
|
251
|
+
writer.uint32(16).bool(message.enabled);
|
|
252
|
+
}
|
|
253
|
+
return writer;
|
|
254
|
+
},
|
|
255
|
+
decode(input, length) {
|
|
256
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
257
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
258
|
+
if (previousRecursionDepth >= 100) {
|
|
259
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
260
|
+
}
|
|
261
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
262
|
+
try {
|
|
263
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
264
|
+
const message = createBaseAutomationStateChanged();
|
|
265
|
+
while (reader.pos < end) {
|
|
266
|
+
const tag = reader.uint32();
|
|
267
|
+
switch (tag >>> 3) {
|
|
268
|
+
case 1: {
|
|
269
|
+
if (tag !== 8) {
|
|
270
|
+
break;
|
|
271
|
+
}
|
|
272
|
+
message.userId = reader.int32();
|
|
273
|
+
continue;
|
|
274
|
+
}
|
|
275
|
+
case 2: {
|
|
276
|
+
if (tag !== 16) {
|
|
277
|
+
break;
|
|
278
|
+
}
|
|
279
|
+
message.enabled = reader.bool();
|
|
280
|
+
continue;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
284
|
+
break;
|
|
285
|
+
}
|
|
286
|
+
reader.skip(tag & 7);
|
|
287
|
+
}
|
|
288
|
+
return message;
|
|
289
|
+
}
|
|
290
|
+
finally {
|
|
291
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
create(base) {
|
|
295
|
+
return exports.AutomationStateChanged.fromPartial(base ?? {});
|
|
296
|
+
},
|
|
297
|
+
fromPartial(object) {
|
|
298
|
+
const message = createBaseAutomationStateChanged();
|
|
299
|
+
message.userId = object.userId ?? 0;
|
|
300
|
+
message.enabled = object.enabled ?? false;
|
|
301
|
+
return message;
|
|
302
|
+
},
|
|
303
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "hannah.v1";
|
|
3
|
+
export interface CarStateResponse {
|
|
4
|
+
/** false if no MQTT data received yet */
|
|
5
|
+
available: boolean;
|
|
6
|
+
state: CarStateProto | undefined;
|
|
7
|
+
}
|
|
8
|
+
export interface GetAllCarStatesResponse {
|
|
9
|
+
states: CarStateProto[];
|
|
10
|
+
}
|
|
11
|
+
export interface CarStateProto {
|
|
12
|
+
/** position */
|
|
13
|
+
latitude: number;
|
|
14
|
+
longitude: number;
|
|
15
|
+
address: string;
|
|
16
|
+
isMoving: boolean;
|
|
17
|
+
/** Unix timestamp (seconds) */
|
|
18
|
+
positionDate: bigint;
|
|
19
|
+
/** status */
|
|
20
|
+
odometer: number;
|
|
21
|
+
totalRange: number;
|
|
22
|
+
isCarLocked: boolean;
|
|
23
|
+
doorLockStatus: string;
|
|
24
|
+
overallStatus: string;
|
|
25
|
+
/** doors/windows: name → true (closed) / false (open) */
|
|
26
|
+
doors: {
|
|
27
|
+
[key: string]: boolean;
|
|
28
|
+
};
|
|
29
|
+
windows: {
|
|
30
|
+
[key: string]: boolean;
|
|
31
|
+
};
|
|
32
|
+
/** Roomie-ID des Fahrzeughalters (leer = kein Owner-Filter) */
|
|
33
|
+
ownerRoomie: string;
|
|
34
|
+
/** Metadaten */
|
|
35
|
+
displayName: string;
|
|
36
|
+
/** Nummernschild */
|
|
37
|
+
plate: string;
|
|
38
|
+
/** Fahrzeug-Identifikationsnummer */
|
|
39
|
+
vin: string;
|
|
40
|
+
/** Heimadresse für "steht zu Hause"-Erkennung */
|
|
41
|
+
homeAddress: string;
|
|
42
|
+
}
|
|
43
|
+
export interface CarStateProto_DoorsEntry {
|
|
44
|
+
key: string;
|
|
45
|
+
value: boolean;
|
|
46
|
+
}
|
|
47
|
+
export interface CarStateProto_WindowsEntry {
|
|
48
|
+
key: string;
|
|
49
|
+
value: boolean;
|
|
50
|
+
}
|
|
51
|
+
export declare const CarStateResponse: MessageFns<CarStateResponse>;
|
|
52
|
+
export declare const GetAllCarStatesResponse: MessageFns<GetAllCarStatesResponse>;
|
|
53
|
+
export declare const CarStateProto: MessageFns<CarStateProto>;
|
|
54
|
+
export declare const CarStateProto_DoorsEntry: MessageFns<CarStateProto_DoorsEntry>;
|
|
55
|
+
export declare const CarStateProto_WindowsEntry: MessageFns<CarStateProto_WindowsEntry>;
|
|
56
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
|
|
57
|
+
export type DeepPartial<T> = T extends bigint ? string | number | bigint : T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
58
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
59
|
+
} : Partial<T>;
|
|
60
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
61
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
62
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
63
|
+
} & {
|
|
64
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
65
|
+
};
|
|
66
|
+
export interface MessageFns<T> {
|
|
67
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
68
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
69
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
70
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
71
|
+
}
|
|
72
|
+
export {};
|