@m1kad0/hannah-proto 0.3.3 → 0.3.4
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/agent.d.ts +46 -1
- package/dist/agent.js +2010 -1
- package/dist/car_state.d.ts +24 -1
- package/dist/car_state.js +457 -1
- package/dist/control.d.ts +71 -0
- package/dist/control.js +3707 -1
- package/dist/device_control_menu.d.ts +23 -0
- package/dist/device_control_menu.js +314 -1
- package/dist/event_stream.d.ts +24 -0
- package/dist/event_stream.js +353 -1
- package/dist/hannah.d.ts +1160 -0
- package/dist/hannah.js +704 -1
- package/dist/satellite_provisioning.d.ts +19 -0
- package/dist/satellite_provisioning.js +65 -1
- package/dist/satellite_proxy.d.ts +25 -0
- package/dist/satellite_proxy.js +478 -1
- package/dist/shared.d.ts +20 -0
- package/dist/shared.js +84 -1
- package/dist/speaker_enrollment.d.ts +19 -0
- package/dist/speaker_enrollment.js +65 -1
- package/dist/timer_service.d.ts +34 -2
- package/dist/timer_service.js +796 -1
- package/dist/user_registry.d.ts +36 -0
- package/dist/user_registry.js +1179 -1
- package/dist/wakeword_capture.d.ts +22 -0
- package/dist/wakeword_capture.js +221 -1
- package/package.json +11 -4
package/dist/agent.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
1
2
|
export declare const protobufPackage = "hannah";
|
|
2
3
|
export declare enum ResidentType {
|
|
3
4
|
RESIDENT_TYPE_UNSPECIFIED = 0,
|
|
@@ -61,7 +62,7 @@ export interface AgentStateUpdate {
|
|
|
61
62
|
/** true = confirmed by device */
|
|
62
63
|
ack: boolean;
|
|
63
64
|
/** Unix timestamp in milliseconds */
|
|
64
|
-
ts:
|
|
65
|
+
ts: bigint;
|
|
65
66
|
}
|
|
66
67
|
/** The text-command state in ioBroker changed — treat as a SubmitText call. */
|
|
67
68
|
export interface AgentTextCommand {
|
|
@@ -305,3 +306,47 @@ export interface AgentSensorUpdate {
|
|
|
305
306
|
/** breath VOC equivalent ppm (BSEC2); 0 when not available */
|
|
306
307
|
vocEquiv: number;
|
|
307
308
|
}
|
|
309
|
+
export declare const AgentMessage: MessageFns<AgentMessage>;
|
|
310
|
+
export declare const AgentSatelliteControl: MessageFns<AgentSatelliteControl>;
|
|
311
|
+
export declare const AgentStateUpdate: MessageFns<AgentStateUpdate>;
|
|
312
|
+
export declare const AgentTextCommand: MessageFns<AgentTextCommand>;
|
|
313
|
+
export declare const AgentCommand: MessageFns<AgentCommand>;
|
|
314
|
+
export declare const AgentFirmwareEvent: MessageFns<AgentFirmwareEvent>;
|
|
315
|
+
export declare const AgentSetState: MessageFns<AgentSetState>;
|
|
316
|
+
export declare const AgentWatchMore: MessageFns<AgentWatchMore>;
|
|
317
|
+
export declare const AgentSetResident: MessageFns<AgentSetResident>;
|
|
318
|
+
export declare const AgentSetResidentMood: MessageFns<AgentSetResidentMood>;
|
|
319
|
+
export declare const AgentSatelliteUpdate: MessageFns<AgentSatelliteUpdate>;
|
|
320
|
+
export declare const AgentSatelliteDeleted: MessageFns<AgentSatelliteDeleted>;
|
|
321
|
+
export declare const AgentTextAnswer: MessageFns<AgentTextAnswer>;
|
|
322
|
+
export declare const AgentNotification: MessageFns<AgentNotification>;
|
|
323
|
+
export declare const AgentStateValue: MessageFns<AgentStateValue>;
|
|
324
|
+
export declare const AgentDevice: MessageFns<AgentDevice>;
|
|
325
|
+
export declare const AgentDevice_RoomNamesEntry: MessageFns<AgentDevice_RoomNamesEntry>;
|
|
326
|
+
export declare const AgentDeviceSnapshot: MessageFns<AgentDeviceSnapshot>;
|
|
327
|
+
export declare const AgentRoom: MessageFns<AgentRoom>;
|
|
328
|
+
export declare const AgentRoom_DisplayNamesEntry: MessageFns<AgentRoom_DisplayNamesEntry>;
|
|
329
|
+
export declare const AgentRoomSnapshot: MessageFns<AgentRoomSnapshot>;
|
|
330
|
+
export declare const AgentResident: MessageFns<AgentResident>;
|
|
331
|
+
export declare const AgentResidentSnapshot: MessageFns<AgentResidentSnapshot>;
|
|
332
|
+
export declare const AgentAskResident: MessageFns<AgentAskResident>;
|
|
333
|
+
export declare const AgentResidentAnswered: MessageFns<AgentResidentAnswered>;
|
|
334
|
+
export declare const AgentBleUpdate: MessageFns<AgentBleUpdate>;
|
|
335
|
+
export declare const AgentSensorUpdate: MessageFns<AgentSensorUpdate>;
|
|
336
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | bigint | undefined;
|
|
337
|
+
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 {} ? {
|
|
338
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
339
|
+
} : Partial<T>;
|
|
340
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
341
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
342
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
343
|
+
} & {
|
|
344
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
345
|
+
};
|
|
346
|
+
export interface MessageFns<T> {
|
|
347
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
348
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
349
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
350
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
351
|
+
}
|
|
352
|
+
export {};
|