@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.
Files changed (97) hide show
  1. package/dist/compat_versions.js +1 -0
  2. package/dist/descriptor.binpb +0 -0
  3. package/dist/google/protobuf/descriptor.d.ts +1 -0
  4. package/dist/google/protobuf/descriptor.js +22 -15
  5. package/dist/options.d.ts +1 -0
  6. package/dist/options.js +3 -2
  7. package/dist/v1/activity_log.d.ts +1 -0
  8. package/dist/v1/activity_log.js +3 -2
  9. package/dist/v1/agent.d.ts +1 -0
  10. package/dist/v1/agent.js +9 -6
  11. package/dist/v1/automation.d.ts +1 -0
  12. package/dist/v1/automation.js +9 -6
  13. package/dist/v1/car_state.d.ts +1 -0
  14. package/dist/v1/car_state.js +3 -2
  15. package/dist/v1/channel.d.ts +1 -0
  16. package/dist/v1/channel.js +3 -2
  17. package/dist/v1/control.d.ts +1 -0
  18. package/dist/v1/control.js +39 -26
  19. package/dist/v1/device_control_menu.d.ts +1 -0
  20. package/dist/v1/device_control_menu.js +3 -2
  21. package/dist/v1/event_stream.d.ts +1 -0
  22. package/dist/v1/event_stream.js +3 -2
  23. package/dist/v1/hannah.d.ts +1 -0
  24. package/dist/v1/hannah.js +3 -2
  25. package/dist/v1/infrastructure.d.ts +1 -0
  26. package/dist/v1/infrastructure.js +9 -6
  27. package/dist/v1/logging.d.ts +1 -0
  28. package/dist/v1/logging.js +9 -6
  29. package/dist/v1/messages.d.ts +1 -0
  30. package/dist/v1/messages.js +3 -2
  31. package/dist/v1/satellite.d.ts +1 -0
  32. package/dist/v1/satellite.js +3 -2
  33. package/dist/v1/satellite_provisioning.d.ts +1 -0
  34. package/dist/v1/satellite_provisioning.js +3 -2
  35. package/dist/v1/satellite_proxy.d.ts +1 -0
  36. package/dist/v1/satellite_proxy.js +3 -2
  37. package/dist/v1/shared.d.ts +1 -0
  38. package/dist/v1/shared.js +3 -2
  39. package/dist/v1/speaker_enrollment.d.ts +1 -0
  40. package/dist/v1/speaker_enrollment.js +3 -2
  41. package/dist/v1/timer_admin.d.ts +1 -0
  42. package/dist/v1/timer_admin.js +3 -2
  43. package/dist/v1/timer_service.d.ts +1 -0
  44. package/dist/v1/timer_service.js +3 -2
  45. package/dist/v1/user_registry.d.ts +1 -0
  46. package/dist/v1/user_registry.js +3 -2
  47. package/dist/v1/wakeword_capture.d.ts +1 -0
  48. package/dist/v1/wakeword_capture.js +3 -2
  49. package/dist/v1/weather.d.ts +1 -0
  50. package/dist/v1/weather.js +3 -2
  51. package/dist/v2/activity_log.d.ts +1 -0
  52. package/dist/v2/activity_log.js +3 -2
  53. package/dist/v2/agent.d.ts +7 -2
  54. package/dist/v2/agent.js +33 -6
  55. package/dist/v2/automation.d.ts +1 -0
  56. package/dist/v2/automation.js +9 -6
  57. package/dist/v2/car_state.d.ts +1 -0
  58. package/dist/v2/car_state.js +3 -2
  59. package/dist/v2/channel.d.ts +1 -0
  60. package/dist/v2/channel.js +3 -2
  61. package/dist/v2/control.d.ts +1 -0
  62. package/dist/v2/control.js +39 -26
  63. package/dist/v2/device_control_menu.d.ts +1 -0
  64. package/dist/v2/device_control_menu.js +3 -2
  65. package/dist/v2/device_model.d.ts +1 -0
  66. package/dist/v2/device_model.js +3 -2
  67. package/dist/v2/event_stream.d.ts +1 -0
  68. package/dist/v2/event_stream.js +3 -2
  69. package/dist/v2/hannah.d.ts +27 -1
  70. package/dist/v2/hannah.js +16 -2
  71. package/dist/v2/infrastructure.d.ts +1 -0
  72. package/dist/v2/infrastructure.js +9 -6
  73. package/dist/v2/logging.d.ts +1 -0
  74. package/dist/v2/logging.js +9 -6
  75. package/dist/v2/messages.d.ts +1 -0
  76. package/dist/v2/messages.js +3 -2
  77. package/dist/v2/satellite.d.ts +11 -0
  78. package/dist/v2/satellite.js +88 -2
  79. package/dist/v2/satellite_provisioning.d.ts +1 -0
  80. package/dist/v2/satellite_provisioning.js +3 -2
  81. package/dist/v2/satellite_proxy.d.ts +1 -0
  82. package/dist/v2/satellite_proxy.js +3 -2
  83. package/dist/v2/shared.d.ts +1 -0
  84. package/dist/v2/shared.js +3 -2
  85. package/dist/v2/speaker_enrollment.d.ts +1 -0
  86. package/dist/v2/speaker_enrollment.js +3 -2
  87. package/dist/v2/timer_admin.d.ts +1 -0
  88. package/dist/v2/timer_admin.js +3 -2
  89. package/dist/v2/timer_service.d.ts +1 -0
  90. package/dist/v2/timer_service.js +3 -2
  91. package/dist/v2/user_registry.d.ts +1 -0
  92. package/dist/v2/user_registry.js +3 -2
  93. package/dist/v2/wakeword_capture.d.ts +1 -0
  94. package/dist/v2/wakeword_capture.js +3 -2
  95. package/dist/v2/weather.d.ts +1 -0
  96. package/dist/v2/weather.js +3 -2
  97. package/package.json +3 -3
@@ -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/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.12.1
4
+ // protoc-gen-ts_proto v2.18.0
5
5
  // protoc unknown
6
6
  // source: hannah/v2/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.v2";
12
+ exports.protobufFileName = "hannah/v2/satellite_proxy.proto";
12
13
  function createBaseProxyHeartbeat() {
13
14
  return { proxyId: "", udpHost: "", udpPort: 0 };
14
15
  }
@@ -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/shared.proto";
3
4
  export interface Empty {
4
5
  }
5
6
  export interface StatusResponse {
package/dist/v2/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.12.1
4
+ // protoc-gen-ts_proto v2.18.0
5
5
  // protoc unknown
6
6
  // source: hannah/v2/shared.proto
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.StatusResponse = exports.Empty = exports.protobufPackage = void 0;
8
+ exports.StatusResponse = exports.Empty = 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/shared.proto";
12
13
  function createBaseEmpty() {
13
14
  return {};
14
15
  }
@@ -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/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.12.1
4
+ // protoc-gen-ts_proto v2.18.0
5
5
  // protoc unknown
6
6
  // source: hannah/v2/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.v2";
12
+ exports.protobufFileName = "hannah/v2/speaker_enrollment.proto";
12
13
  function createBaseEnrollVoiceprintRequest() {
13
14
  return { userId: "", audioPcm: new Uint8Array(0), sampleRate: 0 };
14
15
  }
@@ -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/timer_admin.proto";
3
4
  export interface Timer {
4
5
  timerId: string;
5
6
  label: 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.12.1
4
+ // protoc-gen-ts_proto v2.18.0
5
5
  // protoc unknown
6
6
  // source: hannah/v2/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.v2";
12
+ exports.protobufFileName = "hannah/v2/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.v2";
3
+ export declare const protobufFileName = "hannah/v2/timer_service.proto";
3
4
  /** Sent by Hannah Core over the TimerConnect stream. */
4
5
  export interface TimerCommand {
5
6
  /** create a new timer */
@@ -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.12.1
4
+ // protoc-gen-ts_proto v2.18.0
5
5
  // protoc unknown
6
6
  // source: hannah/v2/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.v2";
12
+ exports.protobufFileName = "hannah/v2/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.v2";
4
+ export declare const protobufFileName = "hannah/v2/user_registry.proto";
4
5
  export interface User {
5
6
  id: number;
6
7
  userName: 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.12.1
4
+ // protoc-gen-ts_proto v2.18.0
5
5
  // protoc unknown
6
6
  // source: hannah/v2/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.v2";
12
+ exports.protobufFileName = "hannah/v2/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.v2";
3
+ export declare const protobufFileName = "hannah/v2/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.12.1
4
+ // protoc-gen-ts_proto v2.18.0
5
5
  // protoc unknown
6
6
  // source: hannah/v2/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.v2";
12
+ exports.protobufFileName = "hannah/v2/wakeword_capture.proto";
12
13
  var CaptureMode;
13
14
  (function (CaptureMode) {
14
15
  CaptureMode[CaptureMode["CAPTURE_MODE_UNSPECIFIED"] = 0] = "CAPTURE_MODE_UNSPECIFIED";
@@ -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/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
@@ -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.12.1
4
+ // protoc-gen-ts_proto v2.18.0
5
5
  // protoc unknown
6
6
  // source: hannah/v2/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.v2";
12
+ exports.protobufFileName = "hannah/v2/weather.proto";
12
13
  function createBaseWeatherCurrentData() {
13
14
  return {
14
15
  temperature: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m1kad0/hannah-proto",
3
- "version": "5.4.0",
3
+ "version": "5.5.0",
4
4
  "description": "Generated TypeScript gRPC-js client stubs for the Hannah voice assistant proto schema",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/index.js",
@@ -22,8 +22,8 @@
22
22
  "@grpc/grpc-js": "^1.14.4"
23
23
  },
24
24
  "devDependencies": {
25
- "@grpc/grpc-js": "1.14.5",
26
- "ts-proto": "2.12.1",
25
+ "@grpc/grpc-js": "1.14.6",
26
+ "ts-proto": "2.18.0",
27
27
  "typescript": "7.0.2"
28
28
  },
29
29
  "allowScripts": {