@m1kad0/hannah-proto 5.4.0 → 5.5.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/dist/compat_versions.js +1 -0
- package/dist/descriptor.binpb +0 -0
- package/dist/google/protobuf/descriptor.d.ts +1 -0
- package/dist/google/protobuf/descriptor.js +22 -15
- package/dist/options.d.ts +1 -0
- package/dist/options.js +3 -2
- package/dist/v1/activity_log.d.ts +1 -0
- package/dist/v1/activity_log.js +3 -2
- package/dist/v1/agent.d.ts +1 -0
- package/dist/v1/agent.js +9 -6
- package/dist/v1/automation.d.ts +1 -0
- package/dist/v1/automation.js +9 -6
- package/dist/v1/car_state.d.ts +1 -0
- package/dist/v1/car_state.js +3 -2
- package/dist/v1/channel.d.ts +1 -0
- package/dist/v1/channel.js +3 -2
- package/dist/v1/control.d.ts +1 -0
- package/dist/v1/control.js +39 -26
- package/dist/v1/device_control_menu.d.ts +1 -0
- package/dist/v1/device_control_menu.js +3 -2
- package/dist/v1/event_stream.d.ts +1 -0
- package/dist/v1/event_stream.js +3 -2
- package/dist/v1/hannah.d.ts +1 -0
- package/dist/v1/hannah.js +3 -2
- package/dist/v1/infrastructure.d.ts +1 -0
- package/dist/v1/infrastructure.js +9 -6
- package/dist/v1/logging.d.ts +1 -0
- package/dist/v1/logging.js +9 -6
- package/dist/v1/messages.d.ts +1 -0
- package/dist/v1/messages.js +3 -2
- package/dist/v1/satellite.d.ts +1 -0
- package/dist/v1/satellite.js +3 -2
- package/dist/v1/satellite_provisioning.d.ts +1 -0
- package/dist/v1/satellite_provisioning.js +3 -2
- package/dist/v1/satellite_proxy.d.ts +1 -0
- package/dist/v1/satellite_proxy.js +3 -2
- package/dist/v1/shared.d.ts +1 -0
- package/dist/v1/shared.js +3 -2
- package/dist/v1/speaker_enrollment.d.ts +1 -0
- package/dist/v1/speaker_enrollment.js +3 -2
- package/dist/v1/timer_admin.d.ts +1 -0
- package/dist/v1/timer_admin.js +3 -2
- package/dist/v1/timer_service.d.ts +1 -0
- package/dist/v1/timer_service.js +3 -2
- package/dist/v1/user_registry.d.ts +1 -0
- package/dist/v1/user_registry.js +3 -2
- package/dist/v1/wakeword_capture.d.ts +1 -0
- package/dist/v1/wakeword_capture.js +3 -2
- package/dist/v1/weather.d.ts +1 -0
- package/dist/v1/weather.js +3 -2
- package/dist/v2/activity_log.d.ts +1 -0
- package/dist/v2/activity_log.js +3 -2
- package/dist/v2/agent.d.ts +7 -2
- package/dist/v2/agent.js +33 -6
- package/dist/v2/automation.d.ts +1 -0
- package/dist/v2/automation.js +9 -6
- package/dist/v2/car_state.d.ts +1 -0
- package/dist/v2/car_state.js +3 -2
- package/dist/v2/channel.d.ts +1 -0
- package/dist/v2/channel.js +3 -2
- package/dist/v2/control.d.ts +1 -0
- package/dist/v2/control.js +39 -26
- package/dist/v2/device_control_menu.d.ts +1 -0
- package/dist/v2/device_control_menu.js +3 -2
- package/dist/v2/device_model.d.ts +1 -0
- package/dist/v2/device_model.js +3 -2
- package/dist/v2/event_stream.d.ts +1 -0
- package/dist/v2/event_stream.js +3 -2
- package/dist/v2/hannah.d.ts +27 -1
- package/dist/v2/hannah.js +16 -2
- package/dist/v2/infrastructure.d.ts +1 -0
- package/dist/v2/infrastructure.js +9 -6
- package/dist/v2/logging.d.ts +1 -0
- package/dist/v2/logging.js +9 -6
- package/dist/v2/messages.d.ts +1 -0
- package/dist/v2/messages.js +3 -2
- package/dist/v2/satellite.d.ts +11 -0
- package/dist/v2/satellite.js +88 -2
- package/dist/v2/satellite_provisioning.d.ts +1 -0
- package/dist/v2/satellite_provisioning.js +3 -2
- package/dist/v2/satellite_proxy.d.ts +1 -0
- package/dist/v2/satellite_proxy.js +3 -2
- package/dist/v2/shared.d.ts +1 -0
- package/dist/v2/shared.js +3 -2
- package/dist/v2/speaker_enrollment.d.ts +1 -0
- package/dist/v2/speaker_enrollment.js +3 -2
- package/dist/v2/timer_admin.d.ts +1 -0
- package/dist/v2/timer_admin.js +3 -2
- package/dist/v2/timer_service.d.ts +1 -0
- package/dist/v2/timer_service.js +3 -2
- package/dist/v2/user_registry.d.ts +1 -0
- package/dist/v2/user_registry.js +3 -2
- package/dist/v2/wakeword_capture.d.ts +1 -0
- package/dist/v2/wakeword_capture.js +3 -2
- package/dist/v2/weather.d.ts +1 -0
- package/dist/v2/weather.js +3 -2
- package/package.json +3 -3
package/dist/v1/messages.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
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.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/v1/messages.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.DeleteMessageRequest = exports.ListMessagesResponse = exports.ListMessagesRequest = exports.CreateMessageRequest = exports.Message = exports.protobufPackage = void 0;
|
|
8
|
+
exports.DeleteMessageRequest = exports.ListMessagesResponse = exports.ListMessagesRequest = exports.CreateMessageRequest = exports.Message = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
exports.protobufPackage = "hannah.v1";
|
|
12
|
+
exports.protobufFileName = "hannah/v1/messages.proto";
|
|
12
13
|
function createBaseMessage() {
|
|
13
14
|
return { id: 0, userId: 0, content: "", source: "", createdAt: "", senderUserId: 0, replyToId: 0 };
|
|
14
15
|
}
|
package/dist/v1/satellite.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
export declare const protobufPackage = "hannah.v1";
|
|
3
|
+
export declare const protobufFileName = "hannah/v1/satellite.proto";
|
|
3
4
|
export interface Satellite {
|
|
4
5
|
deviceId: string;
|
|
5
6
|
/** live-reported room (UDP/proxy registration); empty if not connected */
|
package/dist/v1/satellite.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
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.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/v1/satellite.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.DeleteSatelliteRequest = exports.SetSatelliteSmalltalkFollowupRequest = exports.SetSatelliteOwnerRequest = exports.SetSatelliteDisplayNameRequest = exports.SetSatelliteRoomRequest = exports.GetSatellitesResponse = exports.Satellite = exports.protobufPackage = void 0;
|
|
8
|
+
exports.DeleteSatelliteRequest = exports.SetSatelliteSmalltalkFollowupRequest = exports.SetSatelliteOwnerRequest = exports.SetSatelliteDisplayNameRequest = exports.SetSatelliteRoomRequest = exports.GetSatellitesResponse = exports.Satellite = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
exports.protobufPackage = "hannah.v1";
|
|
12
|
+
exports.protobufFileName = "hannah/v1/satellite.proto";
|
|
12
13
|
function createBaseSatellite() {
|
|
13
14
|
return {
|
|
14
15
|
deviceId: "",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
export declare const protobufPackage = "hannah.v1";
|
|
3
|
+
export declare const protobufFileName = "hannah/v1/satellite_provisioning.proto";
|
|
3
4
|
/**
|
|
4
5
|
* Sent by the ioBroker adapter (WebFlasher) before flashing a satellite.
|
|
5
6
|
* Hannah stores the seed + pre-config; when the satellite first connects with
|
|
@@ -1,14 +1,15 @@
|
|
|
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.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/v1/satellite_provisioning.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.ProvisionSatelliteRequest = exports.protobufPackage = void 0;
|
|
8
|
+
exports.ProvisionSatelliteRequest = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
exports.protobufPackage = "hannah.v1";
|
|
12
|
+
exports.protobufFileName = "hannah/v1/satellite_provisioning.proto";
|
|
12
13
|
function createBaseProvisionSatelliteRequest() {
|
|
13
14
|
return { seed: "", displayName: "", roomId: "" };
|
|
14
15
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
export declare const protobufPackage = "hannah.v1";
|
|
3
|
+
export declare const protobufFileName = "hannah/v1/satellite_proxy.proto";
|
|
3
4
|
/** Sent by the proxy periodically to keep the RegisterProxy stream alive. */
|
|
4
5
|
export interface ProxyHeartbeat {
|
|
5
6
|
/** human-readable identifier, e.g. "hannah-proxy-living-room" */
|
|
@@ -1,14 +1,15 @@
|
|
|
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.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/v1/satellite_proxy.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.SatelliteRegistration = exports.SubmitSatelliteAudioResponse = exports.SubmitSatelliteAudioRequest = exports.PlayAudioCommand = exports.ProxyAck = exports.ProxyCommand = exports.ProxyHeartbeat = exports.protobufPackage = void 0;
|
|
8
|
+
exports.SatelliteRegistration = exports.SubmitSatelliteAudioResponse = exports.SubmitSatelliteAudioRequest = exports.PlayAudioCommand = exports.ProxyAck = exports.ProxyCommand = exports.ProxyHeartbeat = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
exports.protobufPackage = "hannah.v1";
|
|
12
|
+
exports.protobufFileName = "hannah/v1/satellite_proxy.proto";
|
|
12
13
|
function createBaseProxyHeartbeat() {
|
|
13
14
|
return { proxyId: "", udpHost: "", udpPort: 0 };
|
|
14
15
|
}
|
package/dist/v1/shared.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
export declare const protobufPackage = "hannah.v1";
|
|
3
|
+
export declare const protobufFileName = "hannah/v1/shared.proto";
|
|
3
4
|
/**
|
|
4
5
|
* Classification of an ioBroker state's value, derived from common.type/role/states.
|
|
5
6
|
* Lets consumers (e.g. the WebUI trigger editor) offer the right operators/input widget
|
package/dist/v1/shared.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
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.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/v1/shared.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.EnumValues_ValuesEntry = exports.EnumValues = exports.StatusResponse = exports.Empty = exports.StateType = exports.protobufPackage = void 0;
|
|
8
|
+
exports.EnumValues_ValuesEntry = exports.EnumValues = exports.StatusResponse = exports.Empty = exports.StateType = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
exports.protobufPackage = "hannah.v1";
|
|
12
|
+
exports.protobufFileName = "hannah/v1/shared.proto";
|
|
12
13
|
/**
|
|
13
14
|
* Classification of an ioBroker state's value, derived from common.type/role/states.
|
|
14
15
|
* Lets consumers (e.g. the WebUI trigger editor) offer the right operators/input widget
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
export declare const protobufPackage = "hannah.v1";
|
|
3
|
+
export declare const protobufFileName = "hannah/v1/speaker_enrollment.proto";
|
|
3
4
|
export interface EnrollVoiceprintRequest {
|
|
4
5
|
/** Hannah user this voice sample belongs to (users.id, stable) */
|
|
5
6
|
userId: string;
|
|
@@ -1,14 +1,15 @@
|
|
|
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.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/v1/speaker_enrollment.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.StartVoiceEnrollmentRequest = exports.EnrollVoiceprintRequest = exports.protobufPackage = void 0;
|
|
8
|
+
exports.StartVoiceEnrollmentRequest = exports.EnrollVoiceprintRequest = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
exports.protobufPackage = "hannah.v1";
|
|
12
|
+
exports.protobufFileName = "hannah/v1/speaker_enrollment.proto";
|
|
12
13
|
function createBaseEnrollVoiceprintRequest() {
|
|
13
14
|
return { userId: "", audioPcm: new Uint8Array(0), sampleRate: 0 };
|
|
14
15
|
}
|
package/dist/v1/timer_admin.d.ts
CHANGED
package/dist/v1/timer_admin.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
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.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/v1/timer_admin.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.DeleteTimerRequest = exports.GetTimersResponse = exports.GetTimersRequest = exports.Timer = exports.protobufPackage = void 0;
|
|
8
|
+
exports.DeleteTimerRequest = exports.GetTimersResponse = exports.GetTimersRequest = exports.Timer = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
exports.protobufPackage = "hannah.v1";
|
|
12
|
+
exports.protobufFileName = "hannah/v1/timer_admin.proto";
|
|
12
13
|
function createBaseTimer() {
|
|
13
14
|
return { timerId: "", label: "", seconds: 0n, roomId: "", userId: 0 };
|
|
14
15
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
export declare const protobufPackage = "hannah.v1";
|
|
3
|
+
export declare const protobufFileName = "hannah/v1/timer_service.proto";
|
|
3
4
|
/** Sent by Hannah Core over the TimerConnect stream. */
|
|
4
5
|
export interface TimerCommand {
|
|
5
6
|
/** create a new timer */
|
package/dist/v1/timer_service.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
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.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/v1/timer_service.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.TimerInfo_MetadataEntry = exports.TimerInfo = exports.TimerListResponse = exports.TimerFired_MetadataEntry = exports.TimerFired = exports.TimerAck = exports.TimerMessage = exports.TimerListRequest = exports.TimerCancel = exports.TimerCreate_MetadataEntry = exports.TimerCreate = exports.TimerNotReady = exports.TimerReady = exports.TimerCommand = exports.protobufPackage = void 0;
|
|
8
|
+
exports.TimerInfo_MetadataEntry = exports.TimerInfo = exports.TimerListResponse = exports.TimerFired_MetadataEntry = exports.TimerFired = exports.TimerAck = exports.TimerMessage = exports.TimerListRequest = exports.TimerCancel = exports.TimerCreate_MetadataEntry = exports.TimerCreate = exports.TimerNotReady = exports.TimerReady = exports.TimerCommand = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
exports.protobufPackage = "hannah.v1";
|
|
12
|
+
exports.protobufFileName = "hannah/v1/timer_service.proto";
|
|
12
13
|
function createBaseTimerCommand() {
|
|
13
14
|
return { create: undefined, cancel: undefined, list: undefined, ready: undefined, notReady: undefined };
|
|
14
15
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
import { ResidentType } from "./agent";
|
|
3
3
|
export declare const protobufPackage = "hannah.v1";
|
|
4
|
+
export declare const protobufFileName = "hannah/v1/user_registry.proto";
|
|
4
5
|
export interface User {
|
|
5
6
|
id: number;
|
|
6
7
|
userName: string;
|
package/dist/v1/user_registry.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
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.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/v1/user_registry.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.GetResidentsResponse = exports.Resident = exports.DeleteUserRequest = exports.UpdateUserRequest = exports.CreateUserResponse = exports.CreateUserRequest = exports.SetAutomationRequest = exports.SetSystemMessagesRequest = exports.SetTrustLevelRequest = exports.CreateLinkTokenResponse = exports.CreateLinkTokenRequest = exports.UnlinkAccountRequest = exports.LinkAccountRequest = exports.LoginRequest = exports.UserResponse = exports.LinkedAccountLookup = exports.GetUserRequest = exports.GetUsersResponse = exports.GetUsersRequest = exports.User_LinkedAccountsEntry = exports.User = exports.protobufPackage = void 0;
|
|
8
|
+
exports.GetResidentsResponse = exports.Resident = exports.DeleteUserRequest = exports.UpdateUserRequest = exports.CreateUserResponse = exports.CreateUserRequest = exports.SetAutomationRequest = exports.SetSystemMessagesRequest = exports.SetTrustLevelRequest = exports.CreateLinkTokenResponse = exports.CreateLinkTokenRequest = exports.UnlinkAccountRequest = exports.LinkAccountRequest = exports.LoginRequest = exports.UserResponse = exports.LinkedAccountLookup = exports.GetUserRequest = exports.GetUsersResponse = exports.GetUsersRequest = exports.User_LinkedAccountsEntry = exports.User = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
exports.protobufPackage = "hannah.v1";
|
|
12
|
+
exports.protobufFileName = "hannah/v1/user_registry.proto";
|
|
12
13
|
function createBaseUser() {
|
|
13
14
|
return {
|
|
14
15
|
id: 0,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
export declare const protobufPackage = "hannah.v1";
|
|
3
|
+
export declare const protobufFileName = "hannah/v1/wakeword_capture.proto";
|
|
3
4
|
export declare enum CaptureMode {
|
|
4
5
|
CAPTURE_MODE_UNSPECIFIED = 0,
|
|
5
6
|
CAPTURE_MODE_PTT = 2,
|
|
@@ -1,14 +1,15 @@
|
|
|
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.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/v1/wakeword_capture.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.CollectorAck = exports.CollectorMessage = exports.HeyHannahSample = exports.NoiseSample = exports.SampleType = exports.CaptureCommand = exports.SatelliteAudioChunk = exports.SatelliteCaptureResponse = exports.TriggerPlinkRequest = exports.SatelliteCaptureRequest = exports.CaptureMode = exports.protobufPackage = void 0;
|
|
8
|
+
exports.CollectorAck = exports.CollectorMessage = exports.HeyHannahSample = exports.NoiseSample = exports.SampleType = exports.CaptureCommand = exports.SatelliteAudioChunk = exports.SatelliteCaptureResponse = exports.TriggerPlinkRequest = exports.SatelliteCaptureRequest = exports.CaptureMode = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
exports.protobufPackage = "hannah.v1";
|
|
12
|
+
exports.protobufFileName = "hannah/v1/wakeword_capture.proto";
|
|
12
13
|
var CaptureMode;
|
|
13
14
|
(function (CaptureMode) {
|
|
14
15
|
CaptureMode[CaptureMode["CAPTURE_MODE_UNSPECIFIED"] = 0] = "CAPTURE_MODE_UNSPECIFIED";
|
package/dist/v1/weather.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
export declare const protobufPackage = "hannah.v1";
|
|
3
|
+
export declare const protobufFileName = "hannah/v1/weather.proto";
|
|
3
4
|
/**
|
|
4
5
|
* Current weather conditions, discovered by the ioBroker adapter from a configured
|
|
5
6
|
* weather source and pushed via AgentMessage.weather_update. Field set is deliberately
|
package/dist/v1/weather.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
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.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/v1/weather.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.AgentWeatherUpdate = exports.WeatherForecastDay = exports.WeatherCurrentData = exports.protobufPackage = void 0;
|
|
8
|
+
exports.AgentWeatherUpdate = exports.WeatherForecastDay = exports.WeatherCurrentData = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
exports.protobufPackage = "hannah.v1";
|
|
12
|
+
exports.protobufFileName = "hannah/v1/weather.proto";
|
|
12
13
|
function createBaseWeatherCurrentData() {
|
|
13
14
|
return {
|
|
14
15
|
temperature: 0,
|
package/dist/v2/activity_log.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
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.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/v2/activity_log.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.ActivityAudioChunk = exports.StreamActivityAudioRequest = exports.ListActivityLogResponse = exports.ListActivityLogRequest = exports.ActivityLogEntry = exports.protobufPackage = void 0;
|
|
8
|
+
exports.ActivityAudioChunk = exports.StreamActivityAudioRequest = exports.ListActivityLogResponse = exports.ListActivityLogRequest = exports.ActivityLogEntry = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
exports.protobufPackage = "hannah.v2";
|
|
12
|
+
exports.protobufFileName = "hannah/v2/activity_log.proto";
|
|
12
13
|
function createBaseActivityLogEntry() {
|
|
13
14
|
return {
|
|
14
15
|
id: 0n,
|
package/dist/v2/agent.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { DeviceAvailability, SetSlot, SlotUpdate, TypedDeviceSnapshot } from "./
|
|
|
3
3
|
import { CaptureMode, SampleType } from "./wakeword_capture";
|
|
4
4
|
import { AgentWeatherUpdate } from "./weather";
|
|
5
5
|
export declare const protobufPackage = "hannah.v2";
|
|
6
|
+
export declare const protobufFileName = "hannah/v2/agent.proto";
|
|
6
7
|
export declare enum ResidentType {
|
|
7
8
|
RESIDENT_TYPE_UNSPECIFIED = 0,
|
|
8
9
|
ROOMIE = 1,
|
|
@@ -66,7 +67,7 @@ export interface AgentMessage {
|
|
|
66
67
|
/**
|
|
67
68
|
* Adapter instructs Hannah to control satellites in a room or a specific satellite.
|
|
68
69
|
* room: room_id (enum ID segment) or "all" for all rooms.
|
|
69
|
-
* device_id: if non-empty, only the named satellite is targeted (volume/mute/capture only);
|
|
70
|
+
* device_id: if non-empty, only the named satellite is targeted (volume/mute/led_brightness/capture only);
|
|
70
71
|
* room is still required (used for room-scoped commands and as fallback).
|
|
71
72
|
* For capture, device_id is mandatory — never room-broadcast.
|
|
72
73
|
*/
|
|
@@ -88,6 +89,8 @@ export interface AgentSatelliteControl {
|
|
|
88
89
|
announcementRephrase?: string | undefined;
|
|
89
90
|
/** start/stop a Voice Collector capture on this satellite */
|
|
90
91
|
capture?: CaptureControl | undefined;
|
|
92
|
+
/** set the brightness of the LED ring (0–100 percent, 0 = ring off). hannah-proto#27 */
|
|
93
|
+
ledBrightness?: number | undefined;
|
|
91
94
|
}
|
|
92
95
|
/**
|
|
93
96
|
* Start or stop a Voice Collector capture — the AgentSatelliteControl counterpart
|
|
@@ -233,7 +236,7 @@ export interface AgentSetResidentMood {
|
|
|
233
236
|
}
|
|
234
237
|
/**
|
|
235
238
|
* Hannah notifies the adapter that a satellite registered or disconnected,
|
|
236
|
-
* or that a satellite's volume
|
|
239
|
+
* or that a satellite's volume, mute, do-not-disturb state or LED brightness changed.
|
|
237
240
|
* The adapter updates hannah.<instance>.satellites.rooms.<room_id>.* states accordingly.
|
|
238
241
|
*/
|
|
239
242
|
export interface AgentSatelliteUpdate {
|
|
@@ -253,6 +256,8 @@ export interface AgentSatelliteUpdate {
|
|
|
253
256
|
displayName: string;
|
|
254
257
|
/** current do-not-disturb state; absent = no change */
|
|
255
258
|
dnd?: boolean | undefined;
|
|
259
|
+
/** current LED ring brightness (0–100 percent, 0 = ring off); absent = no change. hannah-proto#27 */
|
|
260
|
+
ledBrightness?: number | undefined;
|
|
256
261
|
}
|
|
257
262
|
/**
|
|
258
263
|
* Hannah Core deleted a satellite (RoomManager.delete_satellite()) — the adapter
|
package/dist/v2/agent.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
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.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/v2/agent.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.AgentSensorUpdate = exports.AgentBleUpdate = exports.AgentResidentAnswered = exports.AgentAskResident = exports.AgentResidentSnapshot = exports.AgentResident = exports.AgentRoomSnapshot = exports.AgentRoom_DisplayNamesEntry = exports.AgentRoom = exports.AgentNotification = exports.AgentTextAnswer = exports.AgentSatelliteDeleted = exports.AgentSatelliteUpdate = exports.AgentSetResidentMood = exports.AgentSetResident = exports.AgentWatchMore = exports.AgentSetState = exports.AgentFirmwareEvent = exports.UnknownFields = exports.AgentAck = exports.AgentCommand = exports.AgentTextCommand = exports.AgentStateUpdate = exports.CaptureControl = exports.AgentSatelliteControl = exports.AgentMessage = exports.ResidentPresenceAction = exports.ResidentType = exports.protobufPackage = void 0;
|
|
8
|
+
exports.AgentSensorUpdate = exports.AgentBleUpdate = exports.AgentResidentAnswered = exports.AgentAskResident = exports.AgentResidentSnapshot = exports.AgentResident = exports.AgentRoomSnapshot = exports.AgentRoom_DisplayNamesEntry = exports.AgentRoom = exports.AgentNotification = exports.AgentTextAnswer = exports.AgentSatelliteDeleted = exports.AgentSatelliteUpdate = exports.AgentSetResidentMood = exports.AgentSetResident = exports.AgentWatchMore = exports.AgentSetState = exports.AgentFirmwareEvent = exports.UnknownFields = exports.AgentAck = exports.AgentCommand = exports.AgentTextCommand = exports.AgentStateUpdate = exports.CaptureControl = exports.AgentSatelliteControl = exports.AgentMessage = exports.ResidentPresenceAction = exports.ResidentType = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
const device_model_1 = require("./device_model");
|
|
12
12
|
const wakeword_capture_1 = require("./wakeword_capture");
|
|
13
13
|
const weather_1 = require("./weather");
|
|
14
14
|
exports.protobufPackage = "hannah.v2";
|
|
15
|
+
exports.protobufFileName = "hannah/v2/agent.proto";
|
|
15
16
|
var ResidentType;
|
|
16
17
|
(function (ResidentType) {
|
|
17
18
|
ResidentType[ResidentType["RESIDENT_TYPE_UNSPECIFIED"] = 0] = "RESIDENT_TYPE_UNSPECIFIED";
|
|
@@ -260,6 +261,7 @@ function createBaseAgentSatelliteControl() {
|
|
|
260
261
|
announcementSsml: undefined,
|
|
261
262
|
announcementRephrase: undefined,
|
|
262
263
|
capture: undefined,
|
|
264
|
+
ledBrightness: undefined,
|
|
263
265
|
};
|
|
264
266
|
}
|
|
265
267
|
exports.AgentSatelliteControl = {
|
|
@@ -291,6 +293,9 @@ exports.AgentSatelliteControl = {
|
|
|
291
293
|
if (message.capture !== undefined) {
|
|
292
294
|
exports.CaptureControl.encode(message.capture, writer.uint32(74).fork()).join();
|
|
293
295
|
}
|
|
296
|
+
if (message.ledBrightness !== undefined) {
|
|
297
|
+
writer.uint32(80).int32(message.ledBrightness);
|
|
298
|
+
}
|
|
294
299
|
return writer;
|
|
295
300
|
},
|
|
296
301
|
decode(input, length) {
|
|
@@ -369,6 +374,13 @@ exports.AgentSatelliteControl = {
|
|
|
369
374
|
message.capture = exports.CaptureControl.decode(reader, reader.uint32());
|
|
370
375
|
continue;
|
|
371
376
|
}
|
|
377
|
+
case 10: {
|
|
378
|
+
if (tag !== 80) {
|
|
379
|
+
break;
|
|
380
|
+
}
|
|
381
|
+
message.ledBrightness = reader.int32();
|
|
382
|
+
continue;
|
|
383
|
+
}
|
|
372
384
|
}
|
|
373
385
|
if ((tag & 7) === 4 || tag === 0) {
|
|
374
386
|
break;
|
|
@@ -397,6 +409,7 @@ exports.AgentSatelliteControl = {
|
|
|
397
409
|
message.capture = (object.capture !== undefined && object.capture !== null)
|
|
398
410
|
? exports.CaptureControl.fromPartial(object.capture)
|
|
399
411
|
: undefined;
|
|
412
|
+
message.ledBrightness = object.ledBrightness ?? undefined;
|
|
400
413
|
return message;
|
|
401
414
|
},
|
|
402
415
|
};
|
|
@@ -918,11 +931,13 @@ exports.UnknownFields = {
|
|
|
918
931
|
if (message.messageType !== "") {
|
|
919
932
|
writer.uint32(10).string(message.messageType);
|
|
920
933
|
}
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
934
|
+
if (message.fieldNumbers.length !== 0) {
|
|
935
|
+
writer.uint32(18).fork();
|
|
936
|
+
for (const v of message.fieldNumbers) {
|
|
937
|
+
writer.uint32(v);
|
|
938
|
+
}
|
|
939
|
+
writer.join();
|
|
924
940
|
}
|
|
925
|
-
writer.join();
|
|
926
941
|
return writer;
|
|
927
942
|
},
|
|
928
943
|
decode(input, length) {
|
|
@@ -1323,6 +1338,7 @@ function createBaseAgentSatelliteUpdate() {
|
|
|
1323
1338
|
mute: undefined,
|
|
1324
1339
|
displayName: "",
|
|
1325
1340
|
dnd: undefined,
|
|
1341
|
+
ledBrightness: undefined,
|
|
1326
1342
|
};
|
|
1327
1343
|
}
|
|
1328
1344
|
exports.AgentSatelliteUpdate = {
|
|
@@ -1351,6 +1367,9 @@ exports.AgentSatelliteUpdate = {
|
|
|
1351
1367
|
if (message.dnd !== undefined) {
|
|
1352
1368
|
writer.uint32(72).bool(message.dnd);
|
|
1353
1369
|
}
|
|
1370
|
+
if (message.ledBrightness !== undefined) {
|
|
1371
|
+
writer.uint32(80).int32(message.ledBrightness);
|
|
1372
|
+
}
|
|
1354
1373
|
return writer;
|
|
1355
1374
|
},
|
|
1356
1375
|
decode(input, length) {
|
|
@@ -1422,6 +1441,13 @@ exports.AgentSatelliteUpdate = {
|
|
|
1422
1441
|
message.dnd = reader.bool();
|
|
1423
1442
|
continue;
|
|
1424
1443
|
}
|
|
1444
|
+
case 10: {
|
|
1445
|
+
if (tag !== 80) {
|
|
1446
|
+
break;
|
|
1447
|
+
}
|
|
1448
|
+
message.ledBrightness = reader.int32();
|
|
1449
|
+
continue;
|
|
1450
|
+
}
|
|
1425
1451
|
}
|
|
1426
1452
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1427
1453
|
break;
|
|
@@ -1447,6 +1473,7 @@ exports.AgentSatelliteUpdate = {
|
|
|
1447
1473
|
message.mute = object.mute ?? undefined;
|
|
1448
1474
|
message.displayName = object.displayName ?? "";
|
|
1449
1475
|
message.dnd = object.dnd ?? undefined;
|
|
1476
|
+
message.ledBrightness = object.ledBrightness ?? undefined;
|
|
1450
1477
|
return message;
|
|
1451
1478
|
},
|
|
1452
1479
|
};
|
package/dist/v2/automation.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
export declare const protobufPackage = "hannah.v2";
|
|
3
|
+
export declare const protobufFileName = "hannah/v2/automation.proto";
|
|
3
4
|
/** Sent by an automation service (e.g. telegram_autoresponder) over the AutomationConnect stream. */
|
|
4
5
|
export interface AutomationMessage {
|
|
5
6
|
/** sent once, right after connecting */
|
package/dist/v2/automation.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
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.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/v2/automation.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.AutomationStateChanged = exports.AutomationSnapshot = exports.AutomationCommand = exports.AutomationRegister = exports.AutomationMessage = exports.protobufPackage = void 0;
|
|
8
|
+
exports.AutomationStateChanged = exports.AutomationSnapshot = exports.AutomationCommand = exports.AutomationRegister = exports.AutomationMessage = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
exports.protobufPackage = "hannah.v2";
|
|
12
|
+
exports.protobufFileName = "hannah/v2/automation.proto";
|
|
12
13
|
function createBaseAutomationMessage() {
|
|
13
14
|
return { register: undefined };
|
|
14
15
|
}
|
|
@@ -184,11 +185,13 @@ function createBaseAutomationSnapshot() {
|
|
|
184
185
|
}
|
|
185
186
|
exports.AutomationSnapshot = {
|
|
186
187
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
if (message.userIds.length !== 0) {
|
|
189
|
+
writer.uint32(10).fork();
|
|
190
|
+
for (const v of message.userIds) {
|
|
191
|
+
writer.int32(v);
|
|
192
|
+
}
|
|
193
|
+
writer.join();
|
|
190
194
|
}
|
|
191
|
-
writer.join();
|
|
192
195
|
return writer;
|
|
193
196
|
},
|
|
194
197
|
decode(input, length) {
|
package/dist/v2/car_state.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
export declare const protobufPackage = "hannah.v2";
|
|
3
|
+
export declare const protobufFileName = "hannah/v2/car_state.proto";
|
|
3
4
|
export interface CarStateResponse {
|
|
4
5
|
/** false if no MQTT data received yet */
|
|
5
6
|
available: boolean;
|
package/dist/v2/car_state.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
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.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/v2/car_state.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.CarStateProto_WindowsEntry = exports.CarStateProto_DoorsEntry = exports.CarStateProto = exports.GetAllCarStatesResponse = exports.CarStateResponse = exports.protobufPackage = void 0;
|
|
8
|
+
exports.CarStateProto_WindowsEntry = exports.CarStateProto_DoorsEntry = exports.CarStateProto = exports.GetAllCarStatesResponse = exports.CarStateResponse = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
exports.protobufPackage = "hannah.v2";
|
|
12
|
+
exports.protobufFileName = "hannah/v2/car_state.proto";
|
|
12
13
|
function createBaseCarStateResponse() {
|
|
13
14
|
return { available: false, state: undefined };
|
|
14
15
|
}
|
package/dist/v2/channel.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
2
|
export declare const protobufPackage = "hannah.v2";
|
|
3
|
+
export declare const protobufFileName = "hannah/v2/channel.proto";
|
|
3
4
|
export declare enum RedeemResult {
|
|
4
5
|
REDEEM_RESULT_UNSPECIFIED = 0,
|
|
5
6
|
REDEEM_OK = 1,
|
package/dist/v2/channel.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
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.
|
|
4
|
+
// protoc-gen-ts_proto v2.18.0
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/v2/channel.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.GetChannelsResponse = exports.ChannelInfo = exports.RedeemLinkTokenResult = exports.ChannelRegistered = exports.ChannelCommand = exports.RedeemLinkToken = exports.ChannelRegister = exports.ChannelMessage = exports.RedeemResult = exports.protobufPackage = void 0;
|
|
8
|
+
exports.GetChannelsResponse = exports.ChannelInfo = exports.RedeemLinkTokenResult = exports.ChannelRegistered = exports.ChannelCommand = exports.RedeemLinkToken = exports.ChannelRegister = exports.ChannelMessage = exports.RedeemResult = exports.protobufFileName = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
exports.protobufPackage = "hannah.v2";
|
|
12
|
+
exports.protobufFileName = "hannah/v2/channel.proto";
|
|
12
13
|
var RedeemResult;
|
|
13
14
|
(function (RedeemResult) {
|
|
14
15
|
RedeemResult[RedeemResult["REDEEM_RESULT_UNSPECIFIED"] = 0] = "REDEEM_RESULT_UNSPECIFIED";
|
package/dist/v2/control.d.ts
CHANGED