@m1kad0/hannah-proto 4.8.0 → 5.1.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 +20 -12
- package/dist/compat_interceptor.js +1 -1
- package/dist/compat_versions.js +89 -89
- package/dist/descriptor.binpb +0 -0
- package/dist/index.d.ts +1 -22
- package/dist/index.js +2 -23
- package/dist/{activity_log.d.ts → v2/activity_log.d.ts} +1 -1
- package/dist/{activity_log.js → v2/activity_log.js} +2 -2
- package/dist/{agent.d.ts → v2/agent.d.ts} +61 -86
- package/dist/{agent.js → v2/agent.js} +224 -426
- package/dist/{automation.d.ts → v2/automation.d.ts} +1 -1
- package/dist/{automation.js → v2/automation.js} +2 -2
- package/dist/{car_state.d.ts → v2/car_state.d.ts} +1 -1
- package/dist/{car_state.js → v2/car_state.js} +2 -2
- package/dist/{channel.d.ts → v2/channel.d.ts} +1 -1
- package/dist/{channel.js → v2/channel.js} +2 -2
- package/dist/{control.d.ts → v2/control.d.ts} +1 -1
- package/dist/{control.js → v2/control.js} +2 -2
- package/dist/v2/device_control_menu.d.ts +69 -0
- package/dist/v2/device_control_menu.js +339 -0
- package/dist/v2/device_model.d.ts +240 -0
- package/dist/v2/device_model.js +777 -0
- package/dist/{event_stream.d.ts → v2/event_stream.d.ts} +1 -1
- package/dist/{event_stream.js → v2/event_stream.js} +2 -2
- package/dist/{hannah.d.ts → v2/hannah.d.ts} +86 -86
- package/dist/{hannah.js → v2/hannah.js} +88 -88
- package/dist/v2/index.d.ts +23 -0
- package/dist/v2/index.js +59 -0
- package/dist/{infrastructure.d.ts → v2/infrastructure.d.ts} +1 -1
- package/dist/{infrastructure.js → v2/infrastructure.js} +2 -2
- package/dist/{logging.d.ts → v2/logging.d.ts} +4 -4
- package/dist/{logging.js → v2/logging.js} +6 -6
- package/dist/{messages.d.ts → v2/messages.d.ts} +1 -1
- package/dist/{messages.js → v2/messages.js} +2 -2
- package/dist/{satellite.d.ts → v2/satellite.d.ts} +1 -1
- package/dist/{satellite.js → v2/satellite.js} +2 -2
- package/dist/{satellite_provisioning.d.ts → v2/satellite_provisioning.d.ts} +1 -1
- package/dist/{satellite_provisioning.js → v2/satellite_provisioning.js} +2 -2
- package/dist/{satellite_proxy.d.ts → v2/satellite_proxy.d.ts} +1 -1
- package/dist/{satellite_proxy.js → v2/satellite_proxy.js} +2 -2
- package/dist/{shared.d.ts → v2/shared.d.ts} +1 -28
- package/dist/v2/shared.js +113 -0
- package/dist/{speaker_enrollment.d.ts → v2/speaker_enrollment.d.ts} +1 -1
- package/dist/{speaker_enrollment.js → v2/speaker_enrollment.js} +2 -2
- package/dist/{timer_admin.d.ts → v2/timer_admin.d.ts} +1 -1
- package/dist/{timer_admin.js → v2/timer_admin.js} +2 -2
- package/dist/{timer_service.d.ts → v2/timer_service.d.ts} +1 -1
- package/dist/{timer_service.js → v2/timer_service.js} +2 -2
- package/dist/{user_registry.d.ts → v2/user_registry.d.ts} +1 -1
- package/dist/{user_registry.js → v2/user_registry.js} +2 -2
- package/dist/{wakeword_capture.d.ts → v2/wakeword_capture.d.ts} +1 -1
- package/dist/{wakeword_capture.js → v2/wakeword_capture.js} +2 -2
- package/dist/{weather.d.ts → v2/weather.d.ts} +1 -1
- package/dist/{weather.js → v2/weather.js} +2 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/device_control_menu.d.ts +0 -88
- package/dist/device_control_menu.js +0 -629
- package/dist/shared.js +0 -249
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v2.12.1
|
|
5
5
|
// protoc unknown
|
|
6
|
-
// source: hannah/hannah.proto
|
|
6
|
+
// source: hannah/v2/hannah.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.HannahServiceClient = exports.HannahServiceService = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
@@ -27,11 +27,11 @@ const timer_admin_1 = require("./timer_admin");
|
|
|
27
27
|
const timer_service_1 = require("./timer_service");
|
|
28
28
|
const user_registry_1 = require("./user_registry");
|
|
29
29
|
const wakeword_capture_1 = require("./wakeword_capture");
|
|
30
|
-
exports.protobufPackage = "hannah";
|
|
30
|
+
exports.protobufPackage = "hannah.v2";
|
|
31
31
|
exports.HannahServiceService = {
|
|
32
32
|
/** --- User Registry --- */
|
|
33
33
|
getUsers: {
|
|
34
|
-
path: "/hannah.HannahService/GetUsers",
|
|
34
|
+
path: "/hannah.v2.HannahService/GetUsers",
|
|
35
35
|
requestStream: false,
|
|
36
36
|
responseStream: false,
|
|
37
37
|
requestSerialize: (value) => Buffer.from(user_registry_1.GetUsersRequest.encode(value).finish()),
|
|
@@ -40,7 +40,7 @@ exports.HannahServiceService = {
|
|
|
40
40
|
responseDeserialize: (value) => user_registry_1.GetUsersResponse.decode(value),
|
|
41
41
|
},
|
|
42
42
|
getUser: {
|
|
43
|
-
path: "/hannah.HannahService/GetUser",
|
|
43
|
+
path: "/hannah.v2.HannahService/GetUser",
|
|
44
44
|
requestStream: false,
|
|
45
45
|
responseStream: false,
|
|
46
46
|
requestSerialize: (value) => Buffer.from(user_registry_1.GetUserRequest.encode(value).finish()),
|
|
@@ -49,7 +49,7 @@ exports.HannahServiceService = {
|
|
|
49
49
|
responseDeserialize: (value) => user_registry_1.UserResponse.decode(value),
|
|
50
50
|
},
|
|
51
51
|
linkAccount: {
|
|
52
|
-
path: "/hannah.HannahService/LinkAccount",
|
|
52
|
+
path: "/hannah.v2.HannahService/LinkAccount",
|
|
53
53
|
requestStream: false,
|
|
54
54
|
responseStream: false,
|
|
55
55
|
requestSerialize: (value) => Buffer.from(user_registry_1.LinkAccountRequest.encode(value).finish()),
|
|
@@ -58,7 +58,7 @@ exports.HannahServiceService = {
|
|
|
58
58
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
59
59
|
},
|
|
60
60
|
unlinkAccount: {
|
|
61
|
-
path: "/hannah.HannahService/UnlinkAccount",
|
|
61
|
+
path: "/hannah.v2.HannahService/UnlinkAccount",
|
|
62
62
|
requestStream: false,
|
|
63
63
|
responseStream: false,
|
|
64
64
|
requestSerialize: (value) => Buffer.from(user_registry_1.UnlinkAccountRequest.encode(value).finish()),
|
|
@@ -71,7 +71,7 @@ exports.HannahServiceService = {
|
|
|
71
71
|
* Redeemed by the adapter over ChannelConnect.
|
|
72
72
|
*/
|
|
73
73
|
createLinkToken: {
|
|
74
|
-
path: "/hannah.HannahService/CreateLinkToken",
|
|
74
|
+
path: "/hannah.v2.HannahService/CreateLinkToken",
|
|
75
75
|
requestStream: false,
|
|
76
76
|
responseStream: false,
|
|
77
77
|
requestSerialize: (value) => Buffer.from(user_registry_1.CreateLinkTokenRequest.encode(value).finish()),
|
|
@@ -80,7 +80,7 @@ exports.HannahServiceService = {
|
|
|
80
80
|
responseDeserialize: (value) => user_registry_1.CreateLinkTokenResponse.decode(value),
|
|
81
81
|
},
|
|
82
82
|
setTrustLevel: {
|
|
83
|
-
path: "/hannah.HannahService/SetTrustLevel",
|
|
83
|
+
path: "/hannah.v2.HannahService/SetTrustLevel",
|
|
84
84
|
requestStream: false,
|
|
85
85
|
responseStream: false,
|
|
86
86
|
requestSerialize: (value) => Buffer.from(user_registry_1.SetTrustLevelRequest.encode(value).finish()),
|
|
@@ -89,7 +89,7 @@ exports.HannahServiceService = {
|
|
|
89
89
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
90
90
|
},
|
|
91
91
|
setSystemMessages: {
|
|
92
|
-
path: "/hannah.HannahService/SetSystemMessages",
|
|
92
|
+
path: "/hannah.v2.HannahService/SetSystemMessages",
|
|
93
93
|
requestStream: false,
|
|
94
94
|
responseStream: false,
|
|
95
95
|
requestSerialize: (value) => Buffer.from(user_registry_1.SetSystemMessagesRequest.encode(value).finish()),
|
|
@@ -102,7 +102,7 @@ exports.HannahServiceService = {
|
|
|
102
102
|
* Pushes a live update to any connected AutomationConnect stream registered for it.
|
|
103
103
|
*/
|
|
104
104
|
setAutomation: {
|
|
105
|
-
path: "/hannah.HannahService/SetAutomation",
|
|
105
|
+
path: "/hannah.v2.HannahService/SetAutomation",
|
|
106
106
|
requestStream: false,
|
|
107
107
|
responseStream: false,
|
|
108
108
|
requestSerialize: (value) => Buffer.from(user_registry_1.SetAutomationRequest.encode(value).finish()),
|
|
@@ -111,7 +111,7 @@ exports.HannahServiceService = {
|
|
|
111
111
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
112
112
|
},
|
|
113
113
|
login: {
|
|
114
|
-
path: "/hannah.HannahService/Login",
|
|
114
|
+
path: "/hannah.v2.HannahService/Login",
|
|
115
115
|
requestStream: false,
|
|
116
116
|
responseStream: false,
|
|
117
117
|
requestSerialize: (value) => Buffer.from(user_registry_1.LoginRequest.encode(value).finish()),
|
|
@@ -121,7 +121,7 @@ exports.HannahServiceService = {
|
|
|
121
121
|
},
|
|
122
122
|
/** --- User-Verwaltung (Admin-UI, #27 Phase 6) --- */
|
|
123
123
|
createUser: {
|
|
124
|
-
path: "/hannah.HannahService/CreateUser",
|
|
124
|
+
path: "/hannah.v2.HannahService/CreateUser",
|
|
125
125
|
requestStream: false,
|
|
126
126
|
responseStream: false,
|
|
127
127
|
requestSerialize: (value) => Buffer.from(user_registry_1.CreateUserRequest.encode(value).finish()),
|
|
@@ -130,7 +130,7 @@ exports.HannahServiceService = {
|
|
|
130
130
|
responseDeserialize: (value) => user_registry_1.CreateUserResponse.decode(value),
|
|
131
131
|
},
|
|
132
132
|
updateUser: {
|
|
133
|
-
path: "/hannah.HannahService/UpdateUser",
|
|
133
|
+
path: "/hannah.v2.HannahService/UpdateUser",
|
|
134
134
|
requestStream: false,
|
|
135
135
|
responseStream: false,
|
|
136
136
|
requestSerialize: (value) => Buffer.from(user_registry_1.UpdateUserRequest.encode(value).finish()),
|
|
@@ -139,7 +139,7 @@ exports.HannahServiceService = {
|
|
|
139
139
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
140
140
|
},
|
|
141
141
|
deleteUser: {
|
|
142
|
-
path: "/hannah.HannahService/DeleteUser",
|
|
142
|
+
path: "/hannah.v2.HannahService/DeleteUser",
|
|
143
143
|
requestStream: false,
|
|
144
144
|
responseStream: false,
|
|
145
145
|
requestSerialize: (value) => Buffer.from(user_registry_1.DeleteUserRequest.encode(value).finish()),
|
|
@@ -149,7 +149,7 @@ exports.HannahServiceService = {
|
|
|
149
149
|
},
|
|
150
150
|
/** Residents (Roomies/Guests/Pets) aus dem ioBroker-Adapter-Cache — fürs "Resident verknüpfen"-Dropdown. */
|
|
151
151
|
getResidents: {
|
|
152
|
-
path: "/hannah.HannahService/GetResidents",
|
|
152
|
+
path: "/hannah.v2.HannahService/GetResidents",
|
|
153
153
|
requestStream: false,
|
|
154
154
|
responseStream: false,
|
|
155
155
|
requestSerialize: (value) => Buffer.from(shared_1.Empty.encode(value).finish()),
|
|
@@ -162,7 +162,7 @@ exports.HannahServiceService = {
|
|
|
162
162
|
* Returns all rooms and devices with current state — for building control menus.
|
|
163
163
|
*/
|
|
164
164
|
getDevices: {
|
|
165
|
-
path: "/hannah.HannahService/GetDevices",
|
|
165
|
+
path: "/hannah.v2.HannahService/GetDevices",
|
|
166
166
|
requestStream: false,
|
|
167
167
|
responseStream: false,
|
|
168
168
|
requestSerialize: (value) => Buffer.from(shared_1.Empty.encode(value).finish()),
|
|
@@ -172,7 +172,7 @@ exports.HannahServiceService = {
|
|
|
172
172
|
},
|
|
173
173
|
/** Directly set a device state (bypasses NLU). Trust level check is done by the caller. */
|
|
174
174
|
controlDevice: {
|
|
175
|
-
path: "/hannah.HannahService/ControlDevice",
|
|
175
|
+
path: "/hannah.v2.HannahService/ControlDevice",
|
|
176
176
|
requestStream: false,
|
|
177
177
|
responseStream: false,
|
|
178
178
|
requestSerialize: (value) => Buffer.from(device_control_menu_1.ControlDeviceRequest.encode(value).finish()),
|
|
@@ -185,7 +185,7 @@ exports.HannahServiceService = {
|
|
|
185
185
|
* Submit a plain-text command; Hannah processes it through NLU and returns the answer.
|
|
186
186
|
*/
|
|
187
187
|
submitText: {
|
|
188
|
-
path: "/hannah.HannahService/SubmitText",
|
|
188
|
+
path: "/hannah.v2.HannahService/SubmitText",
|
|
189
189
|
requestStream: false,
|
|
190
190
|
responseStream: false,
|
|
191
191
|
requestSerialize: (value) => Buffer.from(control_1.SubmitTextRequest.encode(value).finish()),
|
|
@@ -195,7 +195,7 @@ exports.HannahServiceService = {
|
|
|
195
195
|
},
|
|
196
196
|
/** Submit a voice message (OGG/Opus bytes); Hannah does STT → NLU → TTS and returns the result. */
|
|
197
197
|
submitVoice: {
|
|
198
|
-
path: "/hannah.HannahService/SubmitVoice",
|
|
198
|
+
path: "/hannah.v2.HannahService/SubmitVoice",
|
|
199
199
|
requestStream: false,
|
|
200
200
|
responseStream: false,
|
|
201
201
|
requestSerialize: (value) => Buffer.from(control_1.SubmitVoiceRequest.encode(value).finish()),
|
|
@@ -205,7 +205,7 @@ exports.HannahServiceService = {
|
|
|
205
205
|
},
|
|
206
206
|
/** Send a TTS announcement to one satellite or all ("all"). */
|
|
207
207
|
announce: {
|
|
208
|
-
path: "/hannah.HannahService/Announce",
|
|
208
|
+
path: "/hannah.v2.HannahService/Announce",
|
|
209
209
|
requestStream: false,
|
|
210
210
|
responseStream: false,
|
|
211
211
|
requestSerialize: (value) => Buffer.from(control_1.AnnounceRequest.encode(value).finish()),
|
|
@@ -218,7 +218,7 @@ exports.HannahServiceService = {
|
|
|
218
218
|
* direct=true: skip LLM reformulation. severity: "alert"|"notify"|"info".
|
|
219
219
|
*/
|
|
220
220
|
notify: {
|
|
221
|
-
path: "/hannah.HannahService/Notify",
|
|
221
|
+
path: "/hannah.v2.HannahService/Notify",
|
|
222
222
|
requestStream: false,
|
|
223
223
|
responseStream: false,
|
|
224
224
|
requestSerialize: (value) => Buffer.from(agent_1.AgentNotification.encode(value).finish()),
|
|
@@ -228,7 +228,7 @@ exports.HannahServiceService = {
|
|
|
228
228
|
},
|
|
229
229
|
/** List all known satellites (DB + live status merged). */
|
|
230
230
|
getSatellites: {
|
|
231
|
-
path: "/hannah.HannahService/GetSatellites",
|
|
231
|
+
path: "/hannah.v2.HannahService/GetSatellites",
|
|
232
232
|
requestStream: false,
|
|
233
233
|
responseStream: false,
|
|
234
234
|
requestSerialize: (value) => Buffer.from(shared_1.Empty.encode(value).finish()),
|
|
@@ -238,7 +238,7 @@ exports.HannahServiceService = {
|
|
|
238
238
|
},
|
|
239
239
|
/** --- Satellites (Admin-UI, #27 Phase 2) --- */
|
|
240
240
|
setSatelliteRoom: {
|
|
241
|
-
path: "/hannah.HannahService/SetSatelliteRoom",
|
|
241
|
+
path: "/hannah.v2.HannahService/SetSatelliteRoom",
|
|
242
242
|
requestStream: false,
|
|
243
243
|
responseStream: false,
|
|
244
244
|
requestSerialize: (value) => Buffer.from(satellite_1.SetSatelliteRoomRequest.encode(value).finish()),
|
|
@@ -247,7 +247,7 @@ exports.HannahServiceService = {
|
|
|
247
247
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
248
248
|
},
|
|
249
249
|
setSatelliteDisplayName: {
|
|
250
|
-
path: "/hannah.HannahService/SetSatelliteDisplayName",
|
|
250
|
+
path: "/hannah.v2.HannahService/SetSatelliteDisplayName",
|
|
251
251
|
requestStream: false,
|
|
252
252
|
responseStream: false,
|
|
253
253
|
requestSerialize: (value) => Buffer.from(satellite_1.SetSatelliteDisplayNameRequest.encode(value).finish()),
|
|
@@ -257,7 +257,7 @@ exports.HannahServiceService = {
|
|
|
257
257
|
},
|
|
258
258
|
/** Assign a satellite to a Person (User), independent of its room. #31 */
|
|
259
259
|
setSatelliteOwner: {
|
|
260
|
-
path: "/hannah.HannahService/SetSatelliteOwner",
|
|
260
|
+
path: "/hannah.v2.HannahService/SetSatelliteOwner",
|
|
261
261
|
requestStream: false,
|
|
262
262
|
responseStream: false,
|
|
263
263
|
requestSerialize: (value) => Buffer.from(satellite_1.SetSatelliteOwnerRequest.encode(value).finish()),
|
|
@@ -270,7 +270,7 @@ exports.HannahServiceService = {
|
|
|
270
270
|
* waiting for wake-word/PTT again (silence-timeout lives in the satellite firmware). #158
|
|
271
271
|
*/
|
|
272
272
|
setSatelliteSmalltalkFollowup: {
|
|
273
|
-
path: "/hannah.HannahService/SetSatelliteSmalltalkFollowup",
|
|
273
|
+
path: "/hannah.v2.HannahService/SetSatelliteSmalltalkFollowup",
|
|
274
274
|
requestStream: false,
|
|
275
275
|
responseStream: false,
|
|
276
276
|
requestSerialize: (value) => Buffer.from(satellite_1.SetSatelliteSmalltalkFollowupRequest.encode(value).finish()),
|
|
@@ -280,7 +280,7 @@ exports.HannahServiceService = {
|
|
|
280
280
|
},
|
|
281
281
|
/** Delete existing satellite */
|
|
282
282
|
deleteSatellite: {
|
|
283
|
-
path: "/hannah.HannahService/DeleteSatellite",
|
|
283
|
+
path: "/hannah.v2.HannahService/DeleteSatellite",
|
|
284
284
|
requestStream: false,
|
|
285
285
|
responseStream: false,
|
|
286
286
|
requestSerialize: (value) => Buffer.from(satellite_1.DeleteSatelliteRequest.encode(value).finish()),
|
|
@@ -290,7 +290,7 @@ exports.HannahServiceService = {
|
|
|
290
290
|
},
|
|
291
291
|
/** --- Rooms/Groups (Admin-UI, #27 Phase 1) --- */
|
|
292
292
|
getRooms: {
|
|
293
|
-
path: "/hannah.HannahService/GetRooms",
|
|
293
|
+
path: "/hannah.v2.HannahService/GetRooms",
|
|
294
294
|
requestStream: false,
|
|
295
295
|
responseStream: false,
|
|
296
296
|
requestSerialize: (value) => Buffer.from(shared_1.Empty.encode(value).finish()),
|
|
@@ -299,7 +299,7 @@ exports.HannahServiceService = {
|
|
|
299
299
|
responseDeserialize: (value) => control_1.GetRoomsResponse.decode(value),
|
|
300
300
|
},
|
|
301
301
|
getGroups: {
|
|
302
|
-
path: "/hannah.HannahService/GetGroups",
|
|
302
|
+
path: "/hannah.v2.HannahService/GetGroups",
|
|
303
303
|
requestStream: false,
|
|
304
304
|
responseStream: false,
|
|
305
305
|
requestSerialize: (value) => Buffer.from(shared_1.Empty.encode(value).finish()),
|
|
@@ -308,7 +308,7 @@ exports.HannahServiceService = {
|
|
|
308
308
|
responseDeserialize: (value) => control_1.GetGroupsResponse.decode(value),
|
|
309
309
|
},
|
|
310
310
|
createGroup: {
|
|
311
|
-
path: "/hannah.HannahService/CreateGroup",
|
|
311
|
+
path: "/hannah.v2.HannahService/CreateGroup",
|
|
312
312
|
requestStream: false,
|
|
313
313
|
responseStream: false,
|
|
314
314
|
requestSerialize: (value) => Buffer.from(control_1.CreateGroupRequest.encode(value).finish()),
|
|
@@ -317,7 +317,7 @@ exports.HannahServiceService = {
|
|
|
317
317
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
318
318
|
},
|
|
319
319
|
updateGroup: {
|
|
320
|
-
path: "/hannah.HannahService/UpdateGroup",
|
|
320
|
+
path: "/hannah.v2.HannahService/UpdateGroup",
|
|
321
321
|
requestStream: false,
|
|
322
322
|
responseStream: false,
|
|
323
323
|
requestSerialize: (value) => Buffer.from(control_1.UpdateGroupRequest.encode(value).finish()),
|
|
@@ -326,7 +326,7 @@ exports.HannahServiceService = {
|
|
|
326
326
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
327
327
|
},
|
|
328
328
|
deleteGroup: {
|
|
329
|
-
path: "/hannah.HannahService/DeleteGroup",
|
|
329
|
+
path: "/hannah.v2.HannahService/DeleteGroup",
|
|
330
330
|
requestStream: false,
|
|
331
331
|
responseStream: false,
|
|
332
332
|
requestSerialize: (value) => Buffer.from(control_1.DeleteGroupRequest.encode(value).finish()),
|
|
@@ -335,7 +335,7 @@ exports.HannahServiceService = {
|
|
|
335
335
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
336
336
|
},
|
|
337
337
|
setGroupSatellites: {
|
|
338
|
-
path: "/hannah.HannahService/SetGroupSatellites",
|
|
338
|
+
path: "/hannah.v2.HannahService/SetGroupSatellites",
|
|
339
339
|
requestStream: false,
|
|
340
340
|
responseStream: false,
|
|
341
341
|
requestSerialize: (value) => Buffer.from(control_1.SetGroupSatellitesRequest.encode(value).finish()),
|
|
@@ -345,7 +345,7 @@ exports.HannahServiceService = {
|
|
|
345
345
|
},
|
|
346
346
|
/** --- Triggers (Admin-UI, #28) --- */
|
|
347
347
|
getTriggers: {
|
|
348
|
-
path: "/hannah.HannahService/GetTriggers",
|
|
348
|
+
path: "/hannah.v2.HannahService/GetTriggers",
|
|
349
349
|
requestStream: false,
|
|
350
350
|
responseStream: false,
|
|
351
351
|
requestSerialize: (value) => Buffer.from(shared_1.Empty.encode(value).finish()),
|
|
@@ -354,7 +354,7 @@ exports.HannahServiceService = {
|
|
|
354
354
|
responseDeserialize: (value) => control_1.GetTriggersResponse.decode(value),
|
|
355
355
|
},
|
|
356
356
|
createTrigger: {
|
|
357
|
-
path: "/hannah.HannahService/CreateTrigger",
|
|
357
|
+
path: "/hannah.v2.HannahService/CreateTrigger",
|
|
358
358
|
requestStream: false,
|
|
359
359
|
responseStream: false,
|
|
360
360
|
requestSerialize: (value) => Buffer.from(control_1.CreateTriggerRequest.encode(value).finish()),
|
|
@@ -363,7 +363,7 @@ exports.HannahServiceService = {
|
|
|
363
363
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
364
364
|
},
|
|
365
365
|
updateTrigger: {
|
|
366
|
-
path: "/hannah.HannahService/UpdateTrigger",
|
|
366
|
+
path: "/hannah.v2.HannahService/UpdateTrigger",
|
|
367
367
|
requestStream: false,
|
|
368
368
|
responseStream: false,
|
|
369
369
|
requestSerialize: (value) => Buffer.from(control_1.UpdateTriggerRequest.encode(value).finish()),
|
|
@@ -372,7 +372,7 @@ exports.HannahServiceService = {
|
|
|
372
372
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
373
373
|
},
|
|
374
374
|
deleteTrigger: {
|
|
375
|
-
path: "/hannah.HannahService/DeleteTrigger",
|
|
375
|
+
path: "/hannah.v2.HannahService/DeleteTrigger",
|
|
376
376
|
requestStream: false,
|
|
377
377
|
responseStream: false,
|
|
378
378
|
requestSerialize: (value) => Buffer.from(control_1.DeleteTriggerRequest.encode(value).finish()),
|
|
@@ -382,7 +382,7 @@ exports.HannahServiceService = {
|
|
|
382
382
|
},
|
|
383
383
|
/** --- Alarms (Wecker, #4) --- */
|
|
384
384
|
getAlarms: {
|
|
385
|
-
path: "/hannah.HannahService/GetAlarms",
|
|
385
|
+
path: "/hannah.v2.HannahService/GetAlarms",
|
|
386
386
|
requestStream: false,
|
|
387
387
|
responseStream: false,
|
|
388
388
|
requestSerialize: (value) => Buffer.from(shared_1.Empty.encode(value).finish()),
|
|
@@ -391,7 +391,7 @@ exports.HannahServiceService = {
|
|
|
391
391
|
responseDeserialize: (value) => control_1.GetAlarmsResponse.decode(value),
|
|
392
392
|
},
|
|
393
393
|
createAlarm: {
|
|
394
|
-
path: "/hannah.HannahService/CreateAlarm",
|
|
394
|
+
path: "/hannah.v2.HannahService/CreateAlarm",
|
|
395
395
|
requestStream: false,
|
|
396
396
|
responseStream: false,
|
|
397
397
|
requestSerialize: (value) => Buffer.from(control_1.CreateAlarmRequest.encode(value).finish()),
|
|
@@ -400,7 +400,7 @@ exports.HannahServiceService = {
|
|
|
400
400
|
responseDeserialize: (value) => control_1.CreateAlarmResponse.decode(value),
|
|
401
401
|
},
|
|
402
402
|
updateAlarm: {
|
|
403
|
-
path: "/hannah.HannahService/UpdateAlarm",
|
|
403
|
+
path: "/hannah.v2.HannahService/UpdateAlarm",
|
|
404
404
|
requestStream: false,
|
|
405
405
|
responseStream: false,
|
|
406
406
|
requestSerialize: (value) => Buffer.from(control_1.UpdateAlarmRequest.encode(value).finish()),
|
|
@@ -409,7 +409,7 @@ exports.HannahServiceService = {
|
|
|
409
409
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
410
410
|
},
|
|
411
411
|
deleteAlarm: {
|
|
412
|
-
path: "/hannah.HannahService/DeleteAlarm",
|
|
412
|
+
path: "/hannah.v2.HannahService/DeleteAlarm",
|
|
413
413
|
requestStream: false,
|
|
414
414
|
responseStream: false,
|
|
415
415
|
requestSerialize: (value) => Buffer.from(control_1.DeleteAlarmRequest.encode(value).finish()),
|
|
@@ -424,7 +424,7 @@ exports.HannahServiceService = {
|
|
|
424
424
|
* vorab bekannt/geseedet — es gibt keinen verbleibenden Bedarf, neue Settings anzulegen.
|
|
425
425
|
*/
|
|
426
426
|
getSettings: {
|
|
427
|
-
path: "/hannah.HannahService/GetSettings",
|
|
427
|
+
path: "/hannah.v2.HannahService/GetSettings",
|
|
428
428
|
requestStream: false,
|
|
429
429
|
responseStream: false,
|
|
430
430
|
requestSerialize: (value) => Buffer.from(shared_1.Empty.encode(value).finish()),
|
|
@@ -433,7 +433,7 @@ exports.HannahServiceService = {
|
|
|
433
433
|
responseDeserialize: (value) => control_1.GetSettingsResponse.decode(value),
|
|
434
434
|
},
|
|
435
435
|
updateConfig: {
|
|
436
|
-
path: "/hannah.HannahService/UpdateConfig",
|
|
436
|
+
path: "/hannah.v2.HannahService/UpdateConfig",
|
|
437
437
|
requestStream: false,
|
|
438
438
|
responseStream: false,
|
|
439
439
|
requestSerialize: (value) => Buffer.from(control_1.UpdateConfigRequest.encode(value).finish()),
|
|
@@ -443,7 +443,7 @@ exports.HannahServiceService = {
|
|
|
443
443
|
},
|
|
444
444
|
/** --- BLE Tags (Admin-UI, #115 — eigenes Modell statt Settings-JSON-Blob) --- */
|
|
445
445
|
getBleTags: {
|
|
446
|
-
path: "/hannah.HannahService/GetBleTags",
|
|
446
|
+
path: "/hannah.v2.HannahService/GetBleTags",
|
|
447
447
|
requestStream: false,
|
|
448
448
|
responseStream: false,
|
|
449
449
|
requestSerialize: (value) => Buffer.from(shared_1.Empty.encode(value).finish()),
|
|
@@ -452,7 +452,7 @@ exports.HannahServiceService = {
|
|
|
452
452
|
responseDeserialize: (value) => control_1.GetBleTagsResponse.decode(value),
|
|
453
453
|
},
|
|
454
454
|
createBleTag: {
|
|
455
|
-
path: "/hannah.HannahService/CreateBleTag",
|
|
455
|
+
path: "/hannah.v2.HannahService/CreateBleTag",
|
|
456
456
|
requestStream: false,
|
|
457
457
|
responseStream: false,
|
|
458
458
|
requestSerialize: (value) => Buffer.from(control_1.CreateBleTagRequest.encode(value).finish()),
|
|
@@ -461,7 +461,7 @@ exports.HannahServiceService = {
|
|
|
461
461
|
responseDeserialize: (value) => control_1.CreateBleTagResponse.decode(value),
|
|
462
462
|
},
|
|
463
463
|
updateBleTag: {
|
|
464
|
-
path: "/hannah.HannahService/UpdateBleTag",
|
|
464
|
+
path: "/hannah.v2.HannahService/UpdateBleTag",
|
|
465
465
|
requestStream: false,
|
|
466
466
|
responseStream: false,
|
|
467
467
|
requestSerialize: (value) => Buffer.from(control_1.UpdateBleTagRequest.encode(value).finish()),
|
|
@@ -470,7 +470,7 @@ exports.HannahServiceService = {
|
|
|
470
470
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
471
471
|
},
|
|
472
472
|
deleteBleTag: {
|
|
473
|
-
path: "/hannah.HannahService/DeleteBleTag",
|
|
473
|
+
path: "/hannah.v2.HannahService/DeleteBleTag",
|
|
474
474
|
requestStream: false,
|
|
475
475
|
responseStream: false,
|
|
476
476
|
requestSerialize: (value) => Buffer.from(control_1.DeleteBleTagRequest.encode(value).finish()),
|
|
@@ -480,7 +480,7 @@ exports.HannahServiceService = {
|
|
|
480
480
|
},
|
|
481
481
|
/** --- Presence Sources (Admin-UI, hannah#294 — presence fusion) --- */
|
|
482
482
|
getPresenceSources: {
|
|
483
|
-
path: "/hannah.HannahService/GetPresenceSources",
|
|
483
|
+
path: "/hannah.v2.HannahService/GetPresenceSources",
|
|
484
484
|
requestStream: false,
|
|
485
485
|
responseStream: false,
|
|
486
486
|
requestSerialize: (value) => Buffer.from(shared_1.Empty.encode(value).finish()),
|
|
@@ -489,7 +489,7 @@ exports.HannahServiceService = {
|
|
|
489
489
|
responseDeserialize: (value) => control_1.GetPresenceSourcesResponse.decode(value),
|
|
490
490
|
},
|
|
491
491
|
createPresenceSource: {
|
|
492
|
-
path: "/hannah.HannahService/CreatePresenceSource",
|
|
492
|
+
path: "/hannah.v2.HannahService/CreatePresenceSource",
|
|
493
493
|
requestStream: false,
|
|
494
494
|
responseStream: false,
|
|
495
495
|
requestSerialize: (value) => Buffer.from(control_1.CreatePresenceSourceRequest.encode(value).finish()),
|
|
@@ -498,7 +498,7 @@ exports.HannahServiceService = {
|
|
|
498
498
|
responseDeserialize: (value) => control_1.CreatePresenceSourceResponse.decode(value),
|
|
499
499
|
},
|
|
500
500
|
updatePresenceSource: {
|
|
501
|
-
path: "/hannah.HannahService/UpdatePresenceSource",
|
|
501
|
+
path: "/hannah.v2.HannahService/UpdatePresenceSource",
|
|
502
502
|
requestStream: false,
|
|
503
503
|
responseStream: false,
|
|
504
504
|
requestSerialize: (value) => Buffer.from(control_1.UpdatePresenceSourceRequest.encode(value).finish()),
|
|
@@ -507,7 +507,7 @@ exports.HannahServiceService = {
|
|
|
507
507
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
508
508
|
},
|
|
509
509
|
deletePresenceSource: {
|
|
510
|
-
path: "/hannah.HannahService/DeletePresenceSource",
|
|
510
|
+
path: "/hannah.v2.HannahService/DeletePresenceSource",
|
|
511
511
|
requestStream: false,
|
|
512
512
|
responseStream: false,
|
|
513
513
|
requestSerialize: (value) => Buffer.from(control_1.DeletePresenceSourceRequest.encode(value).finish()),
|
|
@@ -517,7 +517,7 @@ exports.HannahServiceService = {
|
|
|
517
517
|
},
|
|
518
518
|
/** --- Cars (Admin-UI, #115 — eigenes Modell + user_to_car-Pivot statt Settings-JSON-Blob) --- */
|
|
519
519
|
getCars: {
|
|
520
|
-
path: "/hannah.HannahService/GetCars",
|
|
520
|
+
path: "/hannah.v2.HannahService/GetCars",
|
|
521
521
|
requestStream: false,
|
|
522
522
|
responseStream: false,
|
|
523
523
|
requestSerialize: (value) => Buffer.from(shared_1.Empty.encode(value).finish()),
|
|
@@ -526,7 +526,7 @@ exports.HannahServiceService = {
|
|
|
526
526
|
responseDeserialize: (value) => control_1.GetCarsResponse.decode(value),
|
|
527
527
|
},
|
|
528
528
|
createCar: {
|
|
529
|
-
path: "/hannah.HannahService/CreateCar",
|
|
529
|
+
path: "/hannah.v2.HannahService/CreateCar",
|
|
530
530
|
requestStream: false,
|
|
531
531
|
responseStream: false,
|
|
532
532
|
requestSerialize: (value) => Buffer.from(control_1.CreateCarRequest.encode(value).finish()),
|
|
@@ -535,7 +535,7 @@ exports.HannahServiceService = {
|
|
|
535
535
|
responseDeserialize: (value) => control_1.CreateCarResponse.decode(value),
|
|
536
536
|
},
|
|
537
537
|
updateCar: {
|
|
538
|
-
path: "/hannah.HannahService/UpdateCar",
|
|
538
|
+
path: "/hannah.v2.HannahService/UpdateCar",
|
|
539
539
|
requestStream: false,
|
|
540
540
|
responseStream: false,
|
|
541
541
|
requestSerialize: (value) => Buffer.from(control_1.UpdateCarRequest.encode(value).finish()),
|
|
@@ -544,7 +544,7 @@ exports.HannahServiceService = {
|
|
|
544
544
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
545
545
|
},
|
|
546
546
|
deleteCar: {
|
|
547
|
-
path: "/hannah.HannahService/DeleteCar",
|
|
547
|
+
path: "/hannah.v2.HannahService/DeleteCar",
|
|
548
548
|
requestStream: false,
|
|
549
549
|
responseStream: false,
|
|
550
550
|
requestSerialize: (value) => Buffer.from(control_1.DeleteCarRequest.encode(value).finish()),
|
|
@@ -557,7 +557,7 @@ exports.HannahServiceService = {
|
|
|
557
557
|
* Returns the current cached car state (available=false if no data received yet).
|
|
558
558
|
*/
|
|
559
559
|
getCarState: {
|
|
560
|
-
path: "/hannah.HannahService/GetCarState",
|
|
560
|
+
path: "/hannah.v2.HannahService/GetCarState",
|
|
561
561
|
requestStream: false,
|
|
562
562
|
responseStream: false,
|
|
563
563
|
requestSerialize: (value) => Buffer.from(shared_1.Empty.encode(value).finish()),
|
|
@@ -567,7 +567,7 @@ exports.HannahServiceService = {
|
|
|
567
567
|
},
|
|
568
568
|
/** Returns all tracked car states (one per configured car). */
|
|
569
569
|
getAllCarStates: {
|
|
570
|
-
path: "/hannah.HannahService/GetAllCarStates",
|
|
570
|
+
path: "/hannah.v2.HannahService/GetAllCarStates",
|
|
571
571
|
requestStream: false,
|
|
572
572
|
responseStream: false,
|
|
573
573
|
requestSerialize: (value) => Buffer.from(shared_1.Empty.encode(value).finish()),
|
|
@@ -582,7 +582,7 @@ exports.HannahServiceService = {
|
|
|
582
582
|
* Known event types: "car.parked", "resident.arrived", "resident.departed", "satellite.firmware"
|
|
583
583
|
*/
|
|
584
584
|
subscribeEvents: {
|
|
585
|
-
path: "/hannah.HannahService/SubscribeEvents",
|
|
585
|
+
path: "/hannah.v2.HannahService/SubscribeEvents",
|
|
586
586
|
requestStream: false,
|
|
587
587
|
responseStream: true,
|
|
588
588
|
requestSerialize: (value) => Buffer.from(event_stream_1.EventFilter.encode(value).finish()),
|
|
@@ -595,7 +595,7 @@ exports.HannahServiceService = {
|
|
|
595
595
|
* Trigger an immediate OTA update for a satellite (bypasses residents check).
|
|
596
596
|
*/
|
|
597
597
|
triggerFirmwareUpdate: {
|
|
598
|
-
path: "/hannah.HannahService/TriggerFirmwareUpdate",
|
|
598
|
+
path: "/hannah.v2.HannahService/TriggerFirmwareUpdate",
|
|
599
599
|
requestStream: false,
|
|
600
600
|
responseStream: false,
|
|
601
601
|
requestSerialize: (value) => Buffer.from(event_stream_1.TriggerFirmwareUpdateRequest.encode(value).finish()),
|
|
@@ -610,7 +610,7 @@ exports.HannahServiceService = {
|
|
|
610
610
|
* respond, since MQTT stays alive in that failure mode.
|
|
611
611
|
*/
|
|
612
612
|
triggerSatelliteRestart: {
|
|
613
|
-
path: "/hannah.HannahService/TriggerSatelliteRestart",
|
|
613
|
+
path: "/hannah.v2.HannahService/TriggerSatelliteRestart",
|
|
614
614
|
requestStream: false,
|
|
615
615
|
responseStream: false,
|
|
616
616
|
requestSerialize: (value) => Buffer.from(event_stream_1.TriggerSatelliteRestartRequest.encode(value).finish()),
|
|
@@ -626,7 +626,7 @@ exports.HannahServiceService = {
|
|
|
626
626
|
* The stream stays open until the collector disconnects; Hannah then auto-releases the satellite.
|
|
627
627
|
*/
|
|
628
628
|
requestSatelliteCapture: {
|
|
629
|
-
path: "/hannah.HannahService/RequestSatelliteCapture",
|
|
629
|
+
path: "/hannah.v2.HannahService/RequestSatelliteCapture",
|
|
630
630
|
requestStream: false,
|
|
631
631
|
responseStream: false,
|
|
632
632
|
requestSerialize: (value) => Buffer.from(wakeword_capture_1.SatelliteCaptureRequest.encode(value).finish()),
|
|
@@ -635,7 +635,7 @@ exports.HannahServiceService = {
|
|
|
635
635
|
responseDeserialize: (value) => wakeword_capture_1.SatelliteCaptureResponse.decode(value),
|
|
636
636
|
},
|
|
637
637
|
releaseSatelliteCapture: {
|
|
638
|
-
path: "/hannah.HannahService/ReleaseSatelliteCapture",
|
|
638
|
+
path: "/hannah.v2.HannahService/ReleaseSatelliteCapture",
|
|
639
639
|
requestStream: false,
|
|
640
640
|
responseStream: false,
|
|
641
641
|
requestSerialize: (value) => Buffer.from(wakeword_capture_1.SatelliteCaptureRequest.encode(value).finish()),
|
|
@@ -644,7 +644,7 @@ exports.HannahServiceService = {
|
|
|
644
644
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
645
645
|
},
|
|
646
646
|
streamSatelliteAudio: {
|
|
647
|
-
path: "/hannah.HannahService/StreamSatelliteAudio",
|
|
647
|
+
path: "/hannah.v2.HannahService/StreamSatelliteAudio",
|
|
648
648
|
requestStream: false,
|
|
649
649
|
responseStream: true,
|
|
650
650
|
requestSerialize: (value) => Buffer.from(wakeword_capture_1.SatelliteCaptureRequest.encode(value).finish()),
|
|
@@ -657,7 +657,7 @@ exports.HannahServiceService = {
|
|
|
657
657
|
* Returns after PTT is released — Collector calls this in a loop for guided hey-hannah collection.
|
|
658
658
|
*/
|
|
659
659
|
triggerPlink: {
|
|
660
|
-
path: "/hannah.HannahService/TriggerPlink",
|
|
660
|
+
path: "/hannah.v2.HannahService/TriggerPlink",
|
|
661
661
|
requestStream: false,
|
|
662
662
|
responseStream: false,
|
|
663
663
|
requestSerialize: (value) => Buffer.from(wakeword_capture_1.TriggerPlinkRequest.encode(value).finish()),
|
|
@@ -671,7 +671,7 @@ exports.HannahServiceService = {
|
|
|
671
671
|
* down to start/stop satellite captures instead of the Collector polling for them.
|
|
672
672
|
*/
|
|
673
673
|
collectorConnect: {
|
|
674
|
-
path: "/hannah.HannahService/CollectorConnect",
|
|
674
|
+
path: "/hannah.v2.HannahService/CollectorConnect",
|
|
675
675
|
requestStream: true,
|
|
676
676
|
responseStream: true,
|
|
677
677
|
requestSerialize: (value) => Buffer.from(wakeword_capture_1.CollectorMessage.encode(value).finish()),
|
|
@@ -685,7 +685,7 @@ exports.HannahServiceService = {
|
|
|
685
685
|
* to the connected Collector. Fails with ok=false if no Collector is connected.
|
|
686
686
|
*/
|
|
687
687
|
triggerCollectorCapture: {
|
|
688
|
-
path: "/hannah.HannahService/TriggerCollectorCapture",
|
|
688
|
+
path: "/hannah.v2.HannahService/TriggerCollectorCapture",
|
|
689
689
|
requestStream: false,
|
|
690
690
|
responseStream: false,
|
|
691
691
|
requestSerialize: (value) => Buffer.from(wakeword_capture_1.CaptureCommand.encode(value).finish()),
|
|
@@ -700,7 +700,7 @@ exports.HannahServiceService = {
|
|
|
700
700
|
* disables its own UDP server. If the stream drops, Hannah re-enables UDP.
|
|
701
701
|
*/
|
|
702
702
|
registerProxy: {
|
|
703
|
-
path: "/hannah.HannahService/RegisterProxy",
|
|
703
|
+
path: "/hannah.v2.HannahService/RegisterProxy",
|
|
704
704
|
requestStream: true,
|
|
705
705
|
responseStream: true,
|
|
706
706
|
requestSerialize: (value) => Buffer.from(satellite_proxy_1.ProxyHeartbeat.encode(value).finish()),
|
|
@@ -714,7 +714,7 @@ exports.HannahServiceService = {
|
|
|
714
714
|
* the result so the proxy can play TTS audio back to the satellite.
|
|
715
715
|
*/
|
|
716
716
|
submitSatelliteAudio: {
|
|
717
|
-
path: "/hannah.HannahService/SubmitSatelliteAudio",
|
|
717
|
+
path: "/hannah.v2.HannahService/SubmitSatelliteAudio",
|
|
718
718
|
requestStream: false,
|
|
719
719
|
responseStream: false,
|
|
720
720
|
requestSerialize: (value) => Buffer.from(satellite_proxy_1.SubmitSatelliteAudioRequest.encode(value).finish()),
|
|
@@ -727,7 +727,7 @@ exports.HannahServiceService = {
|
|
|
727
727
|
* Hannah updates its room registry (hannah/rooms MQTT) immediately.
|
|
728
728
|
*/
|
|
729
729
|
notifySatelliteRegistered: {
|
|
730
|
-
path: "/hannah.HannahService/NotifySatelliteRegistered",
|
|
730
|
+
path: "/hannah.v2.HannahService/NotifySatelliteRegistered",
|
|
731
731
|
requestStream: false,
|
|
732
732
|
responseStream: false,
|
|
733
733
|
requestSerialize: (value) => Buffer.from(satellite_proxy_1.SatelliteRegistration.encode(value).finish()),
|
|
@@ -736,7 +736,7 @@ exports.HannahServiceService = {
|
|
|
736
736
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
737
737
|
},
|
|
738
738
|
notifySatelliteGone: {
|
|
739
|
-
path: "/hannah.HannahService/NotifySatelliteGone",
|
|
739
|
+
path: "/hannah.v2.HannahService/NotifySatelliteGone",
|
|
740
740
|
requestStream: false,
|
|
741
741
|
responseStream: false,
|
|
742
742
|
requestSerialize: (value) => Buffer.from(satellite_proxy_1.SatelliteRegistration.encode(value).finish()),
|
|
@@ -750,7 +750,7 @@ exports.HannahServiceService = {
|
|
|
750
750
|
* When the satellite first connects with that seed, Hannah links serial → pre-config and clears the seed.
|
|
751
751
|
*/
|
|
752
752
|
provisionSatellite: {
|
|
753
|
-
path: "/hannah.HannahService/ProvisionSatellite",
|
|
753
|
+
path: "/hannah.v2.HannahService/ProvisionSatellite",
|
|
754
754
|
requestStream: false,
|
|
755
755
|
responseStream: false,
|
|
756
756
|
requestSerialize: (value) => Buffer.from(satellite_provisioning_1.ProvisionSatelliteRequest.encode(value).finish()),
|
|
@@ -766,7 +766,7 @@ exports.HannahServiceService = {
|
|
|
766
766
|
* no hard cut) until hannah#8 confirms Core no longer needs it as an external RPC.
|
|
767
767
|
*/
|
|
768
768
|
startVoiceEnrollment: {
|
|
769
|
-
path: "/hannah.HannahService/StartVoiceEnrollment",
|
|
769
|
+
path: "/hannah.v2.HannahService/StartVoiceEnrollment",
|
|
770
770
|
requestStream: false,
|
|
771
771
|
responseStream: false,
|
|
772
772
|
requestSerialize: (value) => Buffer.from(speaker_enrollment_1.StartVoiceEnrollmentRequest.encode(value).finish()),
|
|
@@ -775,7 +775,7 @@ exports.HannahServiceService = {
|
|
|
775
775
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
776
776
|
},
|
|
777
777
|
enrollVoiceprint: {
|
|
778
|
-
path: "/hannah.HannahService/EnrollVoiceprint",
|
|
778
|
+
path: "/hannah.v2.HannahService/EnrollVoiceprint",
|
|
779
779
|
requestStream: false,
|
|
780
780
|
responseStream: false,
|
|
781
781
|
requestSerialize: (value) => Buffer.from(speaker_enrollment_1.EnrollVoiceprintRequest.encode(value).finish()),
|
|
@@ -790,7 +790,7 @@ exports.HannahServiceService = {
|
|
|
790
790
|
* Hannah sends timer commands (create, cancel, list); the service fires events when timers expire.
|
|
791
791
|
*/
|
|
792
792
|
timerConnect: {
|
|
793
|
-
path: "/hannah.HannahService/TimerConnect",
|
|
793
|
+
path: "/hannah.v2.HannahService/TimerConnect",
|
|
794
794
|
requestStream: true,
|
|
795
795
|
responseStream: true,
|
|
796
796
|
requestSerialize: (value) => Buffer.from(timer_service_1.TimerMessage.encode(value).finish()),
|
|
@@ -804,7 +804,7 @@ exports.HannahServiceService = {
|
|
|
804
804
|
* Admin-UI or Telegram bot listing/cancelling a user's active timers.
|
|
805
805
|
*/
|
|
806
806
|
getTimers: {
|
|
807
|
-
path: "/hannah.HannahService/GetTimers",
|
|
807
|
+
path: "/hannah.v2.HannahService/GetTimers",
|
|
808
808
|
requestStream: false,
|
|
809
809
|
responseStream: false,
|
|
810
810
|
requestSerialize: (value) => Buffer.from(timer_admin_1.GetTimersRequest.encode(value).finish()),
|
|
@@ -813,7 +813,7 @@ exports.HannahServiceService = {
|
|
|
813
813
|
responseDeserialize: (value) => timer_admin_1.GetTimersResponse.decode(value),
|
|
814
814
|
},
|
|
815
815
|
deleteTimer: {
|
|
816
|
-
path: "/hannah.HannahService/DeleteTimer",
|
|
816
|
+
path: "/hannah.v2.HannahService/DeleteTimer",
|
|
817
817
|
requestStream: false,
|
|
818
818
|
responseStream: false,
|
|
819
819
|
requestSerialize: (value) => Buffer.from(timer_admin_1.DeleteTimerRequest.encode(value).finish()),
|
|
@@ -829,7 +829,7 @@ exports.HannahServiceService = {
|
|
|
829
829
|
* The adapter initiates the connection; if Hannah restarts, the adapter reconnects.
|
|
830
830
|
*/
|
|
831
831
|
agentConnect: {
|
|
832
|
-
path: "/hannah.HannahService/AgentConnect",
|
|
832
|
+
path: "/hannah.v2.HannahService/AgentConnect",
|
|
833
833
|
requestStream: true,
|
|
834
834
|
responseStream: true,
|
|
835
835
|
requestSerialize: (value) => Buffer.from(agent_1.AgentMessage.encode(value).finish()),
|
|
@@ -847,7 +847,7 @@ exports.HannahServiceService = {
|
|
|
847
847
|
* instead of missing state changes that happened while it was offline.
|
|
848
848
|
*/
|
|
849
849
|
automationConnect: {
|
|
850
|
-
path: "/hannah.HannahService/AutomationConnect",
|
|
850
|
+
path: "/hannah.v2.HannahService/AutomationConnect",
|
|
851
851
|
requestStream: true,
|
|
852
852
|
responseStream: true,
|
|
853
853
|
requestSerialize: (value) => Buffer.from(automation_1.AutomationMessage.encode(value).finish()),
|
|
@@ -863,7 +863,7 @@ exports.HannahServiceService = {
|
|
|
863
863
|
* first. Link tokens (CreateLinkToken) are redeemed over this stream.
|
|
864
864
|
*/
|
|
865
865
|
channelConnect: {
|
|
866
|
-
path: "/hannah.HannahService/ChannelConnect",
|
|
866
|
+
path: "/hannah.v2.HannahService/ChannelConnect",
|
|
867
867
|
requestStream: true,
|
|
868
868
|
responseStream: true,
|
|
869
869
|
requestSerialize: (value) => Buffer.from(channel_1.ChannelMessage.encode(value).finish()),
|
|
@@ -873,7 +873,7 @@ exports.HannahServiceService = {
|
|
|
873
873
|
},
|
|
874
874
|
/** Currently connected channel adapters and whether they support account linking. */
|
|
875
875
|
getChannels: {
|
|
876
|
-
path: "/hannah.HannahService/GetChannels",
|
|
876
|
+
path: "/hannah.v2.HannahService/GetChannels",
|
|
877
877
|
requestStream: false,
|
|
878
878
|
responseStream: false,
|
|
879
879
|
requestSerialize: (value) => Buffer.from(shared_1.Empty.encode(value).finish()),
|
|
@@ -888,7 +888,7 @@ exports.HannahServiceService = {
|
|
|
888
888
|
* subscribing, followed by ServiceAvailable/ServiceUnavailable deltas.
|
|
889
889
|
*/
|
|
890
890
|
subscribeInfrastructure: {
|
|
891
|
-
path: "/hannah.HannahService/SubscribeInfrastructure",
|
|
891
|
+
path: "/hannah.v2.HannahService/SubscribeInfrastructure",
|
|
892
892
|
requestStream: false,
|
|
893
893
|
responseStream: true,
|
|
894
894
|
requestSerialize: (value) => Buffer.from(infrastructure_1.InfrastructureFilter.encode(value).finish()),
|
|
@@ -903,7 +903,7 @@ exports.HannahServiceService = {
|
|
|
903
903
|
* semantics as ChannelConnect). Not related to CollectorConnect (wakeword capture).
|
|
904
904
|
*/
|
|
905
905
|
logCollectorConnect: {
|
|
906
|
-
path: "/hannah.HannahService/LogCollectorConnect",
|
|
906
|
+
path: "/hannah.v2.HannahService/LogCollectorConnect",
|
|
907
907
|
requestStream: true,
|
|
908
908
|
responseStream: true,
|
|
909
909
|
requestSerialize: (value) => Buffer.from(infrastructure_1.LogCollectorMessage.encode(value).finish()),
|
|
@@ -919,7 +919,7 @@ exports.HannahServiceService = {
|
|
|
919
919
|
* stored WAV and streamed as raw PCM chunks.
|
|
920
920
|
*/
|
|
921
921
|
listActivityLog: {
|
|
922
|
-
path: "/hannah.HannahService/ListActivityLog",
|
|
922
|
+
path: "/hannah.v2.HannahService/ListActivityLog",
|
|
923
923
|
requestStream: false,
|
|
924
924
|
responseStream: false,
|
|
925
925
|
requestSerialize: (value) => Buffer.from(activity_log_1.ListActivityLogRequest.encode(value).finish()),
|
|
@@ -928,7 +928,7 @@ exports.HannahServiceService = {
|
|
|
928
928
|
responseDeserialize: (value) => activity_log_1.ListActivityLogResponse.decode(value),
|
|
929
929
|
},
|
|
930
930
|
streamActivityAudio: {
|
|
931
|
-
path: "/hannah.HannahService/StreamActivityAudio",
|
|
931
|
+
path: "/hannah.v2.HannahService/StreamActivityAudio",
|
|
932
932
|
requestStream: false,
|
|
933
933
|
responseStream: true,
|
|
934
934
|
requestSerialize: (value) => Buffer.from(activity_log_1.StreamActivityAudioRequest.encode(value).finish()),
|
|
@@ -938,7 +938,7 @@ exports.HannahServiceService = {
|
|
|
938
938
|
},
|
|
939
939
|
/** --- Messages (passive per-user mailbox, third notification type) --- */
|
|
940
940
|
createMessage: {
|
|
941
|
-
path: "/hannah.HannahService/CreateMessage",
|
|
941
|
+
path: "/hannah.v2.HannahService/CreateMessage",
|
|
942
942
|
requestStream: false,
|
|
943
943
|
responseStream: false,
|
|
944
944
|
requestSerialize: (value) => Buffer.from(messages_1.CreateMessageRequest.encode(value).finish()),
|
|
@@ -947,7 +947,7 @@ exports.HannahServiceService = {
|
|
|
947
947
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
948
948
|
},
|
|
949
949
|
listMessages: {
|
|
950
|
-
path: "/hannah.HannahService/ListMessages",
|
|
950
|
+
path: "/hannah.v2.HannahService/ListMessages",
|
|
951
951
|
requestStream: false,
|
|
952
952
|
responseStream: false,
|
|
953
953
|
requestSerialize: (value) => Buffer.from(messages_1.ListMessagesRequest.encode(value).finish()),
|
|
@@ -956,7 +956,7 @@ exports.HannahServiceService = {
|
|
|
956
956
|
responseDeserialize: (value) => messages_1.ListMessagesResponse.decode(value),
|
|
957
957
|
},
|
|
958
958
|
deleteMessage: {
|
|
959
|
-
path: "/hannah.HannahService/DeleteMessage",
|
|
959
|
+
path: "/hannah.v2.HannahService/DeleteMessage",
|
|
960
960
|
requestStream: false,
|
|
961
961
|
responseStream: false,
|
|
962
962
|
requestSerialize: (value) => Buffer.from(messages_1.DeleteMessageRequest.encode(value).finish()),
|
|
@@ -965,4 +965,4 @@ exports.HannahServiceService = {
|
|
|
965
965
|
responseDeserialize: (value) => shared_1.StatusResponse.decode(value),
|
|
966
966
|
},
|
|
967
967
|
};
|
|
968
|
-
exports.HannahServiceClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.HannahServiceService, "hannah.HannahService");
|
|
968
|
+
exports.HannahServiceClient = (0, grpc_js_1.makeGenericClientConstructor)(exports.HannahServiceService, "hannah.v2.HannahService");
|