@m1kad0/hannah-proto 3.7.0 → 3.7.2
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/activity_log.js +216 -166
- package/dist/agent.js +1330 -1050
- package/dist/automation.js +142 -92
- package/dist/car_state.js +245 -195
- package/dist/compat_versions.js +1 -1
- package/dist/control.js +1675 -1255
- package/dist/descriptor.binpb +0 -0
- package/dist/device_control_menu.js +302 -222
- package/dist/event_stream.js +236 -166
- package/dist/google/protobuf/descriptor.js +1721 -1381
- package/dist/hannah.js +1 -1
- package/dist/messages.d.ts +8 -0
- package/dist/messages.js +220 -126
- package/dist/options.js +1 -1
- package/dist/satellite.js +314 -244
- package/dist/satellite_provisioning.js +38 -28
- package/dist/satellite_proxy.d.ts +5 -2
- package/dist/satellite_proxy.js +278 -208
- package/dist/shared.js +111 -71
- package/dist/speaker_enrollment.js +38 -28
- package/dist/timer_admin.js +131 -91
- package/dist/timer_service.js +467 -327
- package/dist/user_registry.js +724 -534
- package/dist/wakeword_capture.js +295 -195
- package/dist/weather.js +172 -142
- package/package.json +2 -2
package/dist/automation.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.
|
|
4
|
+
// protoc-gen-ts_proto v2.12.1
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/automation.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -21,25 +21,35 @@ exports.AutomationMessage = {
|
|
|
21
21
|
},
|
|
22
22
|
decode(input, length) {
|
|
23
23
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
24
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
25
|
+
if (previousRecursionDepth >= 100) {
|
|
26
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
27
|
+
}
|
|
28
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
29
|
+
try {
|
|
30
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
+
const message = createBaseAutomationMessage();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1: {
|
|
36
|
+
if (tag !== 10) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
message.register = exports.AutomationRegister.decode(reader, reader.uint32());
|
|
40
|
+
continue;
|
|
32
41
|
}
|
|
33
|
-
message.register = exports.AutomationRegister.decode(reader, reader.uint32());
|
|
34
|
-
continue;
|
|
35
42
|
}
|
|
43
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
reader.skip(tag & 7);
|
|
36
47
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
reader.
|
|
48
|
+
return message;
|
|
49
|
+
}
|
|
50
|
+
finally {
|
|
51
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
41
52
|
}
|
|
42
|
-
return message;
|
|
43
53
|
},
|
|
44
54
|
create(base) {
|
|
45
55
|
return exports.AutomationMessage.fromPartial(base ?? {});
|
|
@@ -64,25 +74,35 @@ exports.AutomationRegister = {
|
|
|
64
74
|
},
|
|
65
75
|
decode(input, length) {
|
|
66
76
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
67
|
-
const
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
77
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
78
|
+
if (previousRecursionDepth >= 100) {
|
|
79
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
80
|
+
}
|
|
81
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
82
|
+
try {
|
|
83
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
84
|
+
const message = createBaseAutomationRegister();
|
|
85
|
+
while (reader.pos < end) {
|
|
86
|
+
const tag = reader.uint32();
|
|
87
|
+
switch (tag >>> 3) {
|
|
88
|
+
case 1: {
|
|
89
|
+
if (tag !== 10) {
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
message.automation = reader.string();
|
|
93
|
+
continue;
|
|
75
94
|
}
|
|
76
|
-
message.automation = reader.string();
|
|
77
|
-
continue;
|
|
78
95
|
}
|
|
96
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
97
|
+
break;
|
|
98
|
+
}
|
|
99
|
+
reader.skip(tag & 7);
|
|
79
100
|
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
reader.
|
|
101
|
+
return message;
|
|
102
|
+
}
|
|
103
|
+
finally {
|
|
104
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
84
105
|
}
|
|
85
|
-
return message;
|
|
86
106
|
},
|
|
87
107
|
create(base) {
|
|
88
108
|
return exports.AutomationRegister.fromPartial(base ?? {});
|
|
@@ -108,32 +128,42 @@ exports.AutomationCommand = {
|
|
|
108
128
|
},
|
|
109
129
|
decode(input, length) {
|
|
110
130
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
111
|
-
const
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
131
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
132
|
+
if (previousRecursionDepth >= 100) {
|
|
133
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
134
|
+
}
|
|
135
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
136
|
+
try {
|
|
137
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
138
|
+
const message = createBaseAutomationCommand();
|
|
139
|
+
while (reader.pos < end) {
|
|
140
|
+
const tag = reader.uint32();
|
|
141
|
+
switch (tag >>> 3) {
|
|
142
|
+
case 1: {
|
|
143
|
+
if (tag !== 10) {
|
|
144
|
+
break;
|
|
145
|
+
}
|
|
146
|
+
message.snapshot = exports.AutomationSnapshot.decode(reader, reader.uint32());
|
|
147
|
+
continue;
|
|
119
148
|
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
149
|
+
case 2: {
|
|
150
|
+
if (tag !== 18) {
|
|
151
|
+
break;
|
|
152
|
+
}
|
|
153
|
+
message.stateChanged = exports.AutomationStateChanged.decode(reader, reader.uint32());
|
|
154
|
+
continue;
|
|
126
155
|
}
|
|
127
|
-
message.stateChanged = exports.AutomationStateChanged.decode(reader, reader.uint32());
|
|
128
|
-
continue;
|
|
129
156
|
}
|
|
157
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
158
|
+
break;
|
|
159
|
+
}
|
|
160
|
+
reader.skip(tag & 7);
|
|
130
161
|
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
reader.
|
|
162
|
+
return message;
|
|
163
|
+
}
|
|
164
|
+
finally {
|
|
165
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
135
166
|
}
|
|
136
|
-
return message;
|
|
137
167
|
},
|
|
138
168
|
create(base) {
|
|
139
169
|
return exports.AutomationCommand.fromPartial(base ?? {});
|
|
@@ -163,32 +193,42 @@ exports.AutomationSnapshot = {
|
|
|
163
193
|
},
|
|
164
194
|
decode(input, length) {
|
|
165
195
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
166
|
-
const
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
196
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
197
|
+
if (previousRecursionDepth >= 100) {
|
|
198
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
199
|
+
}
|
|
200
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
201
|
+
try {
|
|
202
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
203
|
+
const message = createBaseAutomationSnapshot();
|
|
204
|
+
while (reader.pos < end) {
|
|
205
|
+
const tag = reader.uint32();
|
|
206
|
+
switch (tag >>> 3) {
|
|
207
|
+
case 1: {
|
|
208
|
+
if (tag === 8) {
|
|
179
209
|
message.userIds.push(reader.int32());
|
|
210
|
+
continue;
|
|
180
211
|
}
|
|
181
|
-
|
|
212
|
+
if (tag === 10) {
|
|
213
|
+
const end2 = reader.uint32() + reader.pos;
|
|
214
|
+
while (reader.pos < end2) {
|
|
215
|
+
message.userIds.push(reader.int32());
|
|
216
|
+
}
|
|
217
|
+
continue;
|
|
218
|
+
}
|
|
219
|
+
break;
|
|
182
220
|
}
|
|
221
|
+
}
|
|
222
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
183
223
|
break;
|
|
184
224
|
}
|
|
225
|
+
reader.skip(tag & 7);
|
|
185
226
|
}
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
reader.
|
|
227
|
+
return message;
|
|
228
|
+
}
|
|
229
|
+
finally {
|
|
230
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
190
231
|
}
|
|
191
|
-
return message;
|
|
192
232
|
},
|
|
193
233
|
create(base) {
|
|
194
234
|
return exports.AutomationSnapshot.fromPartial(base ?? {});
|
|
@@ -214,32 +254,42 @@ exports.AutomationStateChanged = {
|
|
|
214
254
|
},
|
|
215
255
|
decode(input, length) {
|
|
216
256
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
217
|
-
const
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
257
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
258
|
+
if (previousRecursionDepth >= 100) {
|
|
259
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
260
|
+
}
|
|
261
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
262
|
+
try {
|
|
263
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
264
|
+
const message = createBaseAutomationStateChanged();
|
|
265
|
+
while (reader.pos < end) {
|
|
266
|
+
const tag = reader.uint32();
|
|
267
|
+
switch (tag >>> 3) {
|
|
268
|
+
case 1: {
|
|
269
|
+
if (tag !== 8) {
|
|
270
|
+
break;
|
|
271
|
+
}
|
|
272
|
+
message.userId = reader.int32();
|
|
273
|
+
continue;
|
|
225
274
|
}
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
275
|
+
case 2: {
|
|
276
|
+
if (tag !== 16) {
|
|
277
|
+
break;
|
|
278
|
+
}
|
|
279
|
+
message.enabled = reader.bool();
|
|
280
|
+
continue;
|
|
232
281
|
}
|
|
233
|
-
message.enabled = reader.bool();
|
|
234
|
-
continue;
|
|
235
282
|
}
|
|
283
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
284
|
+
break;
|
|
285
|
+
}
|
|
286
|
+
reader.skip(tag & 7);
|
|
236
287
|
}
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
reader.
|
|
288
|
+
return message;
|
|
289
|
+
}
|
|
290
|
+
finally {
|
|
291
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
241
292
|
}
|
|
242
|
-
return message;
|
|
243
293
|
},
|
|
244
294
|
create(base) {
|
|
245
295
|
return exports.AutomationStateChanged.fromPartial(base ?? {});
|