@m1kad0/hannah-proto 3.7.1 → 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.js +198 -148
- 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/agent.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/agent.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -66,81 +66,91 @@ exports.AgentMessage = {
|
|
|
66
66
|
},
|
|
67
67
|
decode(input, length) {
|
|
68
68
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
69
|
-
const
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
69
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
70
|
+
if (previousRecursionDepth >= 100) {
|
|
71
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
72
|
+
}
|
|
73
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
74
|
+
try {
|
|
75
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
76
|
+
const message = createBaseAgentMessage();
|
|
77
|
+
while (reader.pos < end) {
|
|
78
|
+
const tag = reader.uint32();
|
|
79
|
+
switch (tag >>> 3) {
|
|
80
|
+
case 1: {
|
|
81
|
+
if (tag !== 10) {
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
message.stateUpdate = exports.AgentStateUpdate.decode(reader, reader.uint32());
|
|
85
|
+
continue;
|
|
86
|
+
}
|
|
87
|
+
case 2: {
|
|
88
|
+
if (tag !== 18) {
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
message.residentUpdate = exports.AgentResident.decode(reader, reader.uint32());
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
case 3: {
|
|
95
|
+
if (tag !== 26) {
|
|
96
|
+
break;
|
|
97
|
+
}
|
|
98
|
+
message.textCommand = exports.AgentTextCommand.decode(reader, reader.uint32());
|
|
99
|
+
continue;
|
|
100
|
+
}
|
|
101
|
+
case 4: {
|
|
102
|
+
if (tag !== 34) {
|
|
103
|
+
break;
|
|
104
|
+
}
|
|
105
|
+
message.satelliteControl = exports.AgentSatelliteControl.decode(reader, reader.uint32());
|
|
106
|
+
continue;
|
|
107
|
+
}
|
|
108
|
+
case 5: {
|
|
109
|
+
if (tag !== 42) {
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
112
|
+
message.sendSnapshot = exports.AgentDeviceSnapshot.decode(reader, reader.uint32());
|
|
113
|
+
continue;
|
|
114
|
+
}
|
|
115
|
+
case 6: {
|
|
116
|
+
if (tag !== 50) {
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
message.sendResidents = exports.AgentResidentSnapshot.decode(reader, reader.uint32());
|
|
120
|
+
continue;
|
|
121
|
+
}
|
|
122
|
+
case 7: {
|
|
123
|
+
if (tag !== 58) {
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
message.askResident = exports.AgentAskResident.decode(reader, reader.uint32());
|
|
127
|
+
continue;
|
|
128
|
+
}
|
|
129
|
+
case 8: {
|
|
130
|
+
if (tag !== 66) {
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
message.sendRooms = exports.AgentRoomSnapshot.decode(reader, reader.uint32());
|
|
134
|
+
continue;
|
|
135
|
+
}
|
|
136
|
+
case 9: {
|
|
137
|
+
if (tag !== 74) {
|
|
138
|
+
break;
|
|
139
|
+
}
|
|
140
|
+
message.weatherUpdate = weather_1.AgentWeatherUpdate.decode(reader, reader.uint32());
|
|
141
|
+
continue;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
145
|
+
break;
|
|
146
|
+
}
|
|
147
|
+
reader.skip(tag & 7);
|
|
140
148
|
}
|
|
141
|
-
|
|
149
|
+
return message;
|
|
150
|
+
}
|
|
151
|
+
finally {
|
|
152
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
142
153
|
}
|
|
143
|
-
return message;
|
|
144
154
|
},
|
|
145
155
|
create(base) {
|
|
146
156
|
return exports.AgentMessage.fromPartial(base ?? {});
|
|
@@ -223,81 +233,91 @@ exports.AgentSatelliteControl = {
|
|
|
223
233
|
},
|
|
224
234
|
decode(input, length) {
|
|
225
235
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
226
|
-
const
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
236
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
237
|
+
if (previousRecursionDepth >= 100) {
|
|
238
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
239
|
+
}
|
|
240
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
241
|
+
try {
|
|
242
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
243
|
+
const message = createBaseAgentSatelliteControl();
|
|
244
|
+
while (reader.pos < end) {
|
|
245
|
+
const tag = reader.uint32();
|
|
246
|
+
switch (tag >>> 3) {
|
|
247
|
+
case 1: {
|
|
248
|
+
if (tag !== 10) {
|
|
249
|
+
break;
|
|
250
|
+
}
|
|
251
|
+
message.room = reader.string();
|
|
252
|
+
continue;
|
|
253
|
+
}
|
|
254
|
+
case 7: {
|
|
255
|
+
if (tag !== 58) {
|
|
256
|
+
break;
|
|
257
|
+
}
|
|
258
|
+
message.deviceId = reader.string();
|
|
259
|
+
continue;
|
|
260
|
+
}
|
|
261
|
+
case 2: {
|
|
262
|
+
if (tag !== 16) {
|
|
263
|
+
break;
|
|
264
|
+
}
|
|
265
|
+
message.dnd = reader.bool();
|
|
266
|
+
continue;
|
|
267
|
+
}
|
|
268
|
+
case 3: {
|
|
269
|
+
if (tag !== 24) {
|
|
270
|
+
break;
|
|
271
|
+
}
|
|
272
|
+
message.mute = reader.bool();
|
|
273
|
+
continue;
|
|
274
|
+
}
|
|
275
|
+
case 4: {
|
|
276
|
+
if (tag !== 32) {
|
|
277
|
+
break;
|
|
278
|
+
}
|
|
279
|
+
message.volume = reader.int32();
|
|
280
|
+
continue;
|
|
281
|
+
}
|
|
282
|
+
case 5: {
|
|
283
|
+
if (tag !== 42) {
|
|
284
|
+
break;
|
|
285
|
+
}
|
|
286
|
+
message.announcement = reader.string();
|
|
287
|
+
continue;
|
|
288
|
+
}
|
|
289
|
+
case 6: {
|
|
290
|
+
if (tag !== 50) {
|
|
291
|
+
break;
|
|
292
|
+
}
|
|
293
|
+
message.announcementSsml = reader.string();
|
|
294
|
+
continue;
|
|
295
|
+
}
|
|
296
|
+
case 8: {
|
|
297
|
+
if (tag !== 66) {
|
|
298
|
+
break;
|
|
299
|
+
}
|
|
300
|
+
message.announcementRephrase = reader.string();
|
|
301
|
+
continue;
|
|
302
|
+
}
|
|
303
|
+
case 9: {
|
|
304
|
+
if (tag !== 74) {
|
|
305
|
+
break;
|
|
306
|
+
}
|
|
307
|
+
message.capture = exports.CaptureControl.decode(reader, reader.uint32());
|
|
308
|
+
continue;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
312
|
+
break;
|
|
313
|
+
}
|
|
314
|
+
reader.skip(tag & 7);
|
|
297
315
|
}
|
|
298
|
-
|
|
316
|
+
return message;
|
|
317
|
+
}
|
|
318
|
+
finally {
|
|
319
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
299
320
|
}
|
|
300
|
-
return message;
|
|
301
321
|
},
|
|
302
322
|
create(base) {
|
|
303
323
|
return exports.AgentSatelliteControl.fromPartial(base ?? {});
|
|
@@ -336,39 +356,49 @@ exports.CaptureControl = {
|
|
|
336
356
|
},
|
|
337
357
|
decode(input, length) {
|
|
338
358
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
339
|
-
const
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
359
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
360
|
+
if (previousRecursionDepth >= 100) {
|
|
361
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
362
|
+
}
|
|
363
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
364
|
+
try {
|
|
365
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
366
|
+
const message = createBaseCaptureControl();
|
|
367
|
+
while (reader.pos < end) {
|
|
368
|
+
const tag = reader.uint32();
|
|
369
|
+
switch (tag >>> 3) {
|
|
370
|
+
case 1: {
|
|
371
|
+
if (tag !== 10) {
|
|
372
|
+
break;
|
|
373
|
+
}
|
|
374
|
+
message.sampleType = wakeword_capture_1.SampleType.decode(reader, reader.uint32());
|
|
375
|
+
continue;
|
|
376
|
+
}
|
|
377
|
+
case 2: {
|
|
378
|
+
if (tag !== 16) {
|
|
379
|
+
break;
|
|
380
|
+
}
|
|
381
|
+
message.captureMode = reader.int32();
|
|
382
|
+
continue;
|
|
383
|
+
}
|
|
384
|
+
case 3: {
|
|
385
|
+
if (tag !== 24) {
|
|
386
|
+
break;
|
|
387
|
+
}
|
|
388
|
+
message.stop = reader.bool();
|
|
389
|
+
continue;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
393
|
+
break;
|
|
394
|
+
}
|
|
395
|
+
reader.skip(tag & 7);
|
|
365
396
|
}
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
reader.
|
|
397
|
+
return message;
|
|
398
|
+
}
|
|
399
|
+
finally {
|
|
400
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
370
401
|
}
|
|
371
|
-
return message;
|
|
372
402
|
},
|
|
373
403
|
create(base) {
|
|
374
404
|
return exports.CaptureControl.fromPartial(base ?? {});
|
|
@@ -407,46 +437,56 @@ exports.AgentStateUpdate = {
|
|
|
407
437
|
},
|
|
408
438
|
decode(input, length) {
|
|
409
439
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
410
|
-
const
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
440
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
441
|
+
if (previousRecursionDepth >= 100) {
|
|
442
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
443
|
+
}
|
|
444
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
445
|
+
try {
|
|
446
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
447
|
+
const message = createBaseAgentStateUpdate();
|
|
448
|
+
while (reader.pos < end) {
|
|
449
|
+
const tag = reader.uint32();
|
|
450
|
+
switch (tag >>> 3) {
|
|
451
|
+
case 1: {
|
|
452
|
+
if (tag !== 10) {
|
|
453
|
+
break;
|
|
454
|
+
}
|
|
455
|
+
message.stateId = reader.string();
|
|
456
|
+
continue;
|
|
457
|
+
}
|
|
458
|
+
case 2: {
|
|
459
|
+
if (tag !== 18) {
|
|
460
|
+
break;
|
|
461
|
+
}
|
|
462
|
+
message.value = reader.string();
|
|
463
|
+
continue;
|
|
464
|
+
}
|
|
465
|
+
case 3: {
|
|
466
|
+
if (tag !== 24) {
|
|
467
|
+
break;
|
|
468
|
+
}
|
|
469
|
+
message.ack = reader.bool();
|
|
470
|
+
continue;
|
|
471
|
+
}
|
|
472
|
+
case 4: {
|
|
473
|
+
if (tag !== 32) {
|
|
474
|
+
break;
|
|
475
|
+
}
|
|
476
|
+
message.ts = reader.int64();
|
|
477
|
+
continue;
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
481
|
+
break;
|
|
482
|
+
}
|
|
483
|
+
reader.skip(tag & 7);
|
|
446
484
|
}
|
|
447
|
-
|
|
485
|
+
return message;
|
|
486
|
+
}
|
|
487
|
+
finally {
|
|
488
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
448
489
|
}
|
|
449
|
-
return message;
|
|
450
490
|
},
|
|
451
491
|
create(base) {
|
|
452
492
|
return exports.AgentStateUpdate.fromPartial(base ?? {});
|
|
@@ -472,25 +512,35 @@ exports.AgentTextCommand = {
|
|
|
472
512
|
},
|
|
473
513
|
decode(input, length) {
|
|
474
514
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
475
|
-
const
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
515
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
516
|
+
if (previousRecursionDepth >= 100) {
|
|
517
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
518
|
+
}
|
|
519
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
520
|
+
try {
|
|
521
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
522
|
+
const message = createBaseAgentTextCommand();
|
|
523
|
+
while (reader.pos < end) {
|
|
524
|
+
const tag = reader.uint32();
|
|
525
|
+
switch (tag >>> 3) {
|
|
526
|
+
case 1: {
|
|
527
|
+
if (tag !== 10) {
|
|
528
|
+
break;
|
|
529
|
+
}
|
|
530
|
+
message.text = reader.string();
|
|
531
|
+
continue;
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
535
|
+
break;
|
|
536
|
+
}
|
|
537
|
+
reader.skip(tag & 7);
|
|
490
538
|
}
|
|
491
|
-
|
|
539
|
+
return message;
|
|
540
|
+
}
|
|
541
|
+
finally {
|
|
542
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
492
543
|
}
|
|
493
|
-
return message;
|
|
494
544
|
},
|
|
495
545
|
create(base) {
|
|
496
546
|
return exports.AgentTextCommand.fromPartial(base ?? {});
|
|
@@ -555,95 +605,105 @@ exports.AgentCommand = {
|
|
|
555
605
|
},
|
|
556
606
|
decode(input, length) {
|
|
557
607
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
558
|
-
const
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
608
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
609
|
+
if (previousRecursionDepth >= 100) {
|
|
610
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
611
|
+
}
|
|
612
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
613
|
+
try {
|
|
614
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
615
|
+
const message = createBaseAgentCommand();
|
|
616
|
+
while (reader.pos < end) {
|
|
617
|
+
const tag = reader.uint32();
|
|
618
|
+
switch (tag >>> 3) {
|
|
619
|
+
case 1: {
|
|
620
|
+
if (tag !== 10) {
|
|
621
|
+
break;
|
|
622
|
+
}
|
|
623
|
+
message.setState = exports.AgentSetState.decode(reader, reader.uint32());
|
|
624
|
+
continue;
|
|
625
|
+
}
|
|
626
|
+
case 2: {
|
|
627
|
+
if (tag !== 18) {
|
|
628
|
+
break;
|
|
629
|
+
}
|
|
630
|
+
message.watchMore = exports.AgentWatchMore.decode(reader, reader.uint32());
|
|
631
|
+
continue;
|
|
632
|
+
}
|
|
633
|
+
case 3: {
|
|
634
|
+
if (tag !== 26) {
|
|
635
|
+
break;
|
|
636
|
+
}
|
|
637
|
+
message.setResident = exports.AgentSetResident.decode(reader, reader.uint32());
|
|
638
|
+
continue;
|
|
639
|
+
}
|
|
640
|
+
case 4: {
|
|
641
|
+
if (tag !== 34) {
|
|
642
|
+
break;
|
|
643
|
+
}
|
|
644
|
+
message.satelliteUpdate = exports.AgentSatelliteUpdate.decode(reader, reader.uint32());
|
|
645
|
+
continue;
|
|
646
|
+
}
|
|
647
|
+
case 5: {
|
|
648
|
+
if (tag !== 42) {
|
|
649
|
+
break;
|
|
650
|
+
}
|
|
651
|
+
message.textAnswer = exports.AgentTextAnswer.decode(reader, reader.uint32());
|
|
652
|
+
continue;
|
|
653
|
+
}
|
|
654
|
+
case 6: {
|
|
655
|
+
if (tag !== 50) {
|
|
656
|
+
break;
|
|
657
|
+
}
|
|
658
|
+
message.firmwareEvent = exports.AgentFirmwareEvent.decode(reader, reader.uint32());
|
|
659
|
+
continue;
|
|
660
|
+
}
|
|
661
|
+
case 7: {
|
|
662
|
+
if (tag !== 58) {
|
|
663
|
+
break;
|
|
664
|
+
}
|
|
665
|
+
message.bleUpdate = exports.AgentBleUpdate.decode(reader, reader.uint32());
|
|
666
|
+
continue;
|
|
667
|
+
}
|
|
668
|
+
case 8: {
|
|
669
|
+
if (tag !== 66) {
|
|
670
|
+
break;
|
|
671
|
+
}
|
|
672
|
+
message.sensorUpdate = exports.AgentSensorUpdate.decode(reader, reader.uint32());
|
|
673
|
+
continue;
|
|
674
|
+
}
|
|
675
|
+
case 9: {
|
|
676
|
+
if (tag !== 74) {
|
|
677
|
+
break;
|
|
678
|
+
}
|
|
679
|
+
message.residentAnswered = exports.AgentResidentAnswered.decode(reader, reader.uint32());
|
|
680
|
+
continue;
|
|
681
|
+
}
|
|
682
|
+
case 10: {
|
|
683
|
+
if (tag !== 82) {
|
|
684
|
+
break;
|
|
685
|
+
}
|
|
686
|
+
message.satelliteDeleted = exports.AgentSatelliteDeleted.decode(reader, reader.uint32());
|
|
687
|
+
continue;
|
|
688
|
+
}
|
|
689
|
+
case 11: {
|
|
690
|
+
if (tag !== 90) {
|
|
691
|
+
break;
|
|
692
|
+
}
|
|
693
|
+
message.setResidentMood = exports.AgentSetResidentMood.decode(reader, reader.uint32());
|
|
694
|
+
continue;
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
698
|
+
break;
|
|
699
|
+
}
|
|
700
|
+
reader.skip(tag & 7);
|
|
640
701
|
}
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
reader.
|
|
702
|
+
return message;
|
|
703
|
+
}
|
|
704
|
+
finally {
|
|
705
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
645
706
|
}
|
|
646
|
-
return message;
|
|
647
707
|
},
|
|
648
708
|
create(base) {
|
|
649
709
|
return exports.AgentCommand.fromPartial(base ?? {});
|
|
@@ -704,39 +764,49 @@ exports.AgentFirmwareEvent = {
|
|
|
704
764
|
},
|
|
705
765
|
decode(input, length) {
|
|
706
766
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
707
|
-
const
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
767
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
768
|
+
if (previousRecursionDepth >= 100) {
|
|
769
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
770
|
+
}
|
|
771
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
772
|
+
try {
|
|
773
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
774
|
+
const message = createBaseAgentFirmwareEvent();
|
|
775
|
+
while (reader.pos < end) {
|
|
776
|
+
const tag = reader.uint32();
|
|
777
|
+
switch (tag >>> 3) {
|
|
778
|
+
case 1: {
|
|
779
|
+
if (tag !== 10) {
|
|
780
|
+
break;
|
|
781
|
+
}
|
|
782
|
+
message.device = reader.string();
|
|
783
|
+
continue;
|
|
784
|
+
}
|
|
785
|
+
case 2: {
|
|
786
|
+
if (tag !== 18) {
|
|
787
|
+
break;
|
|
788
|
+
}
|
|
789
|
+
message.version = reader.string();
|
|
790
|
+
continue;
|
|
791
|
+
}
|
|
792
|
+
case 3: {
|
|
793
|
+
if (tag !== 24) {
|
|
794
|
+
break;
|
|
795
|
+
}
|
|
796
|
+
message.updateAvailable = reader.bool();
|
|
797
|
+
continue;
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
801
|
+
break;
|
|
802
|
+
}
|
|
803
|
+
reader.skip(tag & 7);
|
|
733
804
|
}
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
reader.
|
|
805
|
+
return message;
|
|
806
|
+
}
|
|
807
|
+
finally {
|
|
808
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
738
809
|
}
|
|
739
|
-
return message;
|
|
740
810
|
},
|
|
741
811
|
create(base) {
|
|
742
812
|
return exports.AgentFirmwareEvent.fromPartial(base ?? {});
|
|
@@ -764,32 +834,42 @@ exports.AgentSetState = {
|
|
|
764
834
|
},
|
|
765
835
|
decode(input, length) {
|
|
766
836
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
767
|
-
const
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
837
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
838
|
+
if (previousRecursionDepth >= 100) {
|
|
839
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
840
|
+
}
|
|
841
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
842
|
+
try {
|
|
843
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
844
|
+
const message = createBaseAgentSetState();
|
|
845
|
+
while (reader.pos < end) {
|
|
846
|
+
const tag = reader.uint32();
|
|
847
|
+
switch (tag >>> 3) {
|
|
848
|
+
case 1: {
|
|
849
|
+
if (tag !== 10) {
|
|
850
|
+
break;
|
|
851
|
+
}
|
|
852
|
+
message.stateId = reader.string();
|
|
853
|
+
continue;
|
|
854
|
+
}
|
|
855
|
+
case 2: {
|
|
856
|
+
if (tag !== 18) {
|
|
857
|
+
break;
|
|
858
|
+
}
|
|
859
|
+
message.value = reader.string();
|
|
860
|
+
continue;
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
864
|
+
break;
|
|
865
|
+
}
|
|
866
|
+
reader.skip(tag & 7);
|
|
786
867
|
}
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
reader.
|
|
868
|
+
return message;
|
|
869
|
+
}
|
|
870
|
+
finally {
|
|
871
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
791
872
|
}
|
|
792
|
-
return message;
|
|
793
873
|
},
|
|
794
874
|
create(base) {
|
|
795
875
|
return exports.AgentSetState.fromPartial(base ?? {});
|
|
@@ -813,25 +893,35 @@ exports.AgentWatchMore = {
|
|
|
813
893
|
},
|
|
814
894
|
decode(input, length) {
|
|
815
895
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
816
|
-
const
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
896
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
897
|
+
if (previousRecursionDepth >= 100) {
|
|
898
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
899
|
+
}
|
|
900
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
901
|
+
try {
|
|
902
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
903
|
+
const message = createBaseAgentWatchMore();
|
|
904
|
+
while (reader.pos < end) {
|
|
905
|
+
const tag = reader.uint32();
|
|
906
|
+
switch (tag >>> 3) {
|
|
907
|
+
case 1: {
|
|
908
|
+
if (tag !== 10) {
|
|
909
|
+
break;
|
|
910
|
+
}
|
|
911
|
+
message.stateIds.push(reader.string());
|
|
912
|
+
continue;
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
916
|
+
break;
|
|
917
|
+
}
|
|
918
|
+
reader.skip(tag & 7);
|
|
828
919
|
}
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
reader.
|
|
920
|
+
return message;
|
|
921
|
+
}
|
|
922
|
+
finally {
|
|
923
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
833
924
|
}
|
|
834
|
-
return message;
|
|
835
925
|
},
|
|
836
926
|
create(base) {
|
|
837
927
|
return exports.AgentWatchMore.fromPartial(base ?? {});
|
|
@@ -860,39 +950,49 @@ exports.AgentSetResident = {
|
|
|
860
950
|
},
|
|
861
951
|
decode(input, length) {
|
|
862
952
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
863
|
-
const
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
953
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
954
|
+
if (previousRecursionDepth >= 100) {
|
|
955
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
956
|
+
}
|
|
957
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
958
|
+
try {
|
|
959
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
960
|
+
const message = createBaseAgentSetResident();
|
|
961
|
+
while (reader.pos < end) {
|
|
962
|
+
const tag = reader.uint32();
|
|
963
|
+
switch (tag >>> 3) {
|
|
964
|
+
case 1: {
|
|
965
|
+
if (tag !== 10) {
|
|
966
|
+
break;
|
|
967
|
+
}
|
|
968
|
+
message.residentId = reader.string();
|
|
969
|
+
continue;
|
|
970
|
+
}
|
|
971
|
+
case 2: {
|
|
972
|
+
if (tag !== 16) {
|
|
973
|
+
break;
|
|
974
|
+
}
|
|
975
|
+
message.presenceState = reader.int32();
|
|
976
|
+
continue;
|
|
977
|
+
}
|
|
978
|
+
case 3: {
|
|
979
|
+
if (tag !== 24) {
|
|
980
|
+
break;
|
|
981
|
+
}
|
|
982
|
+
message.type = reader.int32();
|
|
983
|
+
continue;
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
987
|
+
break;
|
|
988
|
+
}
|
|
989
|
+
reader.skip(tag & 7);
|
|
889
990
|
}
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
reader.
|
|
991
|
+
return message;
|
|
992
|
+
}
|
|
993
|
+
finally {
|
|
994
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
894
995
|
}
|
|
895
|
-
return message;
|
|
896
996
|
},
|
|
897
997
|
create(base) {
|
|
898
998
|
return exports.AgentSetResident.fromPartial(base ?? {});
|
|
@@ -923,39 +1023,49 @@ exports.AgentSetResidentMood = {
|
|
|
923
1023
|
},
|
|
924
1024
|
decode(input, length) {
|
|
925
1025
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
926
|
-
const
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
1026
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1027
|
+
if (previousRecursionDepth >= 100) {
|
|
1028
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1029
|
+
}
|
|
1030
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1031
|
+
try {
|
|
1032
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1033
|
+
const message = createBaseAgentSetResidentMood();
|
|
1034
|
+
while (reader.pos < end) {
|
|
1035
|
+
const tag = reader.uint32();
|
|
1036
|
+
switch (tag >>> 3) {
|
|
1037
|
+
case 1: {
|
|
1038
|
+
if (tag !== 10) {
|
|
1039
|
+
break;
|
|
1040
|
+
}
|
|
1041
|
+
message.residentId = reader.string();
|
|
1042
|
+
continue;
|
|
1043
|
+
}
|
|
1044
|
+
case 2: {
|
|
1045
|
+
if (tag !== 16) {
|
|
1046
|
+
break;
|
|
1047
|
+
}
|
|
1048
|
+
message.mood = reader.int32();
|
|
1049
|
+
continue;
|
|
1050
|
+
}
|
|
1051
|
+
case 3: {
|
|
1052
|
+
if (tag !== 24) {
|
|
1053
|
+
break;
|
|
1054
|
+
}
|
|
1055
|
+
message.type = reader.int32();
|
|
1056
|
+
continue;
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1060
|
+
break;
|
|
1061
|
+
}
|
|
1062
|
+
reader.skip(tag & 7);
|
|
955
1063
|
}
|
|
956
|
-
|
|
1064
|
+
return message;
|
|
1065
|
+
}
|
|
1066
|
+
finally {
|
|
1067
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
957
1068
|
}
|
|
958
|
-
return message;
|
|
959
1069
|
},
|
|
960
1070
|
create(base) {
|
|
961
1071
|
return exports.AgentSetResidentMood.fromPartial(base ?? {});
|
|
@@ -1010,74 +1120,84 @@ exports.AgentSatelliteUpdate = {
|
|
|
1010
1120
|
},
|
|
1011
1121
|
decode(input, length) {
|
|
1012
1122
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1013
|
-
const
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1123
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1124
|
+
if (previousRecursionDepth >= 100) {
|
|
1125
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1126
|
+
}
|
|
1127
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1128
|
+
try {
|
|
1129
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1130
|
+
const message = createBaseAgentSatelliteUpdate();
|
|
1131
|
+
while (reader.pos < end) {
|
|
1132
|
+
const tag = reader.uint32();
|
|
1133
|
+
switch (tag >>> 3) {
|
|
1134
|
+
case 1: {
|
|
1135
|
+
if (tag !== 10) {
|
|
1136
|
+
break;
|
|
1137
|
+
}
|
|
1138
|
+
message.deviceId = reader.string();
|
|
1139
|
+
continue;
|
|
1140
|
+
}
|
|
1141
|
+
case 2: {
|
|
1142
|
+
if (tag !== 18) {
|
|
1143
|
+
break;
|
|
1144
|
+
}
|
|
1145
|
+
message.room = reader.string();
|
|
1146
|
+
continue;
|
|
1147
|
+
}
|
|
1148
|
+
case 3: {
|
|
1149
|
+
if (tag !== 26) {
|
|
1150
|
+
break;
|
|
1151
|
+
}
|
|
1152
|
+
message.address = reader.string();
|
|
1153
|
+
continue;
|
|
1154
|
+
}
|
|
1155
|
+
case 4: {
|
|
1156
|
+
if (tag !== 32) {
|
|
1157
|
+
break;
|
|
1158
|
+
}
|
|
1159
|
+
message.online = reader.bool();
|
|
1160
|
+
continue;
|
|
1161
|
+
}
|
|
1162
|
+
case 5: {
|
|
1163
|
+
if (tag !== 40) {
|
|
1164
|
+
break;
|
|
1165
|
+
}
|
|
1166
|
+
message.volume = reader.int32();
|
|
1167
|
+
continue;
|
|
1168
|
+
}
|
|
1169
|
+
case 6: {
|
|
1170
|
+
if (tag !== 48) {
|
|
1171
|
+
break;
|
|
1172
|
+
}
|
|
1173
|
+
message.mute = reader.bool();
|
|
1174
|
+
continue;
|
|
1175
|
+
}
|
|
1176
|
+
case 8: {
|
|
1177
|
+
if (tag !== 66) {
|
|
1178
|
+
break;
|
|
1179
|
+
}
|
|
1180
|
+
message.displayName = reader.string();
|
|
1181
|
+
continue;
|
|
1182
|
+
}
|
|
1183
|
+
case 9: {
|
|
1184
|
+
if (tag !== 72) {
|
|
1185
|
+
break;
|
|
1186
|
+
}
|
|
1187
|
+
message.dnd = reader.bool();
|
|
1188
|
+
continue;
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1192
|
+
break;
|
|
1193
|
+
}
|
|
1194
|
+
reader.skip(tag & 7);
|
|
1077
1195
|
}
|
|
1078
|
-
|
|
1196
|
+
return message;
|
|
1197
|
+
}
|
|
1198
|
+
finally {
|
|
1199
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1079
1200
|
}
|
|
1080
|
-
return message;
|
|
1081
1201
|
},
|
|
1082
1202
|
create(base) {
|
|
1083
1203
|
return exports.AgentSatelliteUpdate.fromPartial(base ?? {});
|
|
@@ -1110,32 +1230,42 @@ exports.AgentSatelliteDeleted = {
|
|
|
1110
1230
|
},
|
|
1111
1231
|
decode(input, length) {
|
|
1112
1232
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1113
|
-
const
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1233
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1234
|
+
if (previousRecursionDepth >= 100) {
|
|
1235
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1236
|
+
}
|
|
1237
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1238
|
+
try {
|
|
1239
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1240
|
+
const message = createBaseAgentSatelliteDeleted();
|
|
1241
|
+
while (reader.pos < end) {
|
|
1242
|
+
const tag = reader.uint32();
|
|
1243
|
+
switch (tag >>> 3) {
|
|
1244
|
+
case 1: {
|
|
1245
|
+
if (tag !== 10) {
|
|
1246
|
+
break;
|
|
1247
|
+
}
|
|
1248
|
+
message.deviceId = reader.string();
|
|
1249
|
+
continue;
|
|
1250
|
+
}
|
|
1251
|
+
case 2: {
|
|
1252
|
+
if (tag !== 18) {
|
|
1253
|
+
break;
|
|
1254
|
+
}
|
|
1255
|
+
message.room = reader.string();
|
|
1256
|
+
continue;
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1260
|
+
break;
|
|
1261
|
+
}
|
|
1262
|
+
reader.skip(tag & 7);
|
|
1135
1263
|
}
|
|
1136
|
-
|
|
1264
|
+
return message;
|
|
1265
|
+
}
|
|
1266
|
+
finally {
|
|
1267
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1137
1268
|
}
|
|
1138
|
-
return message;
|
|
1139
1269
|
},
|
|
1140
1270
|
create(base) {
|
|
1141
1271
|
return exports.AgentSatelliteDeleted.fromPartial(base ?? {});
|
|
@@ -1162,32 +1292,42 @@ exports.AgentTextAnswer = {
|
|
|
1162
1292
|
},
|
|
1163
1293
|
decode(input, length) {
|
|
1164
1294
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1165
|
-
const
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1295
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1296
|
+
if (previousRecursionDepth >= 100) {
|
|
1297
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1298
|
+
}
|
|
1299
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1300
|
+
try {
|
|
1301
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1302
|
+
const message = createBaseAgentTextAnswer();
|
|
1303
|
+
while (reader.pos < end) {
|
|
1304
|
+
const tag = reader.uint32();
|
|
1305
|
+
switch (tag >>> 3) {
|
|
1306
|
+
case 1: {
|
|
1307
|
+
if (tag !== 10) {
|
|
1308
|
+
break;
|
|
1309
|
+
}
|
|
1310
|
+
message.text = reader.string();
|
|
1311
|
+
continue;
|
|
1312
|
+
}
|
|
1313
|
+
case 2: {
|
|
1314
|
+
if (tag !== 18) {
|
|
1315
|
+
break;
|
|
1316
|
+
}
|
|
1317
|
+
message.intent = reader.string();
|
|
1318
|
+
continue;
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1322
|
+
break;
|
|
1323
|
+
}
|
|
1324
|
+
reader.skip(tag & 7);
|
|
1187
1325
|
}
|
|
1188
|
-
|
|
1326
|
+
return message;
|
|
1327
|
+
}
|
|
1328
|
+
finally {
|
|
1329
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1189
1330
|
}
|
|
1190
|
-
return message;
|
|
1191
1331
|
},
|
|
1192
1332
|
create(base) {
|
|
1193
1333
|
return exports.AgentTextAnswer.fromPartial(base ?? {});
|
|
@@ -1217,39 +1357,49 @@ exports.AgentNotification = {
|
|
|
1217
1357
|
},
|
|
1218
1358
|
decode(input, length) {
|
|
1219
1359
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1220
|
-
const
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1360
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1361
|
+
if (previousRecursionDepth >= 100) {
|
|
1362
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1363
|
+
}
|
|
1364
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1365
|
+
try {
|
|
1366
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1367
|
+
const message = createBaseAgentNotification();
|
|
1368
|
+
while (reader.pos < end) {
|
|
1369
|
+
const tag = reader.uint32();
|
|
1370
|
+
switch (tag >>> 3) {
|
|
1371
|
+
case 1: {
|
|
1372
|
+
if (tag !== 10) {
|
|
1373
|
+
break;
|
|
1374
|
+
}
|
|
1375
|
+
message.text = reader.string();
|
|
1376
|
+
continue;
|
|
1377
|
+
}
|
|
1378
|
+
case 2: {
|
|
1379
|
+
if (tag !== 16) {
|
|
1380
|
+
break;
|
|
1381
|
+
}
|
|
1382
|
+
message.direct = reader.bool();
|
|
1383
|
+
continue;
|
|
1384
|
+
}
|
|
1385
|
+
case 3: {
|
|
1386
|
+
if (tag !== 26) {
|
|
1387
|
+
break;
|
|
1388
|
+
}
|
|
1389
|
+
message.severity = reader.string();
|
|
1390
|
+
continue;
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1394
|
+
break;
|
|
1395
|
+
}
|
|
1396
|
+
reader.skip(tag & 7);
|
|
1249
1397
|
}
|
|
1250
|
-
|
|
1398
|
+
return message;
|
|
1399
|
+
}
|
|
1400
|
+
finally {
|
|
1401
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1251
1402
|
}
|
|
1252
|
-
return message;
|
|
1253
1403
|
},
|
|
1254
1404
|
create(base) {
|
|
1255
1405
|
return exports.AgentNotification.fromPartial(base ?? {});
|
|
@@ -1277,32 +1427,42 @@ exports.AgentStateValue = {
|
|
|
1277
1427
|
},
|
|
1278
1428
|
decode(input, length) {
|
|
1279
1429
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1280
|
-
const
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1430
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1431
|
+
if (previousRecursionDepth >= 100) {
|
|
1432
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1433
|
+
}
|
|
1434
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1435
|
+
try {
|
|
1436
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1437
|
+
const message = createBaseAgentStateValue();
|
|
1438
|
+
while (reader.pos < end) {
|
|
1439
|
+
const tag = reader.uint32();
|
|
1440
|
+
switch (tag >>> 3) {
|
|
1441
|
+
case 1: {
|
|
1442
|
+
if (tag !== 10) {
|
|
1443
|
+
break;
|
|
1444
|
+
}
|
|
1445
|
+
message.value = reader.string();
|
|
1446
|
+
continue;
|
|
1447
|
+
}
|
|
1448
|
+
case 2: {
|
|
1449
|
+
if (tag !== 16) {
|
|
1450
|
+
break;
|
|
1451
|
+
}
|
|
1452
|
+
message.ack = reader.bool();
|
|
1453
|
+
continue;
|
|
1454
|
+
}
|
|
1455
|
+
}
|
|
1456
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1457
|
+
break;
|
|
1458
|
+
}
|
|
1459
|
+
reader.skip(tag & 7);
|
|
1302
1460
|
}
|
|
1303
|
-
|
|
1461
|
+
return message;
|
|
1462
|
+
}
|
|
1463
|
+
finally {
|
|
1464
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1304
1465
|
}
|
|
1305
|
-
return message;
|
|
1306
1466
|
},
|
|
1307
1467
|
create(base) {
|
|
1308
1468
|
return exports.AgentStateValue.fromPartial(base ?? {});
|
|
@@ -1368,98 +1528,108 @@ exports.AgentDevice = {
|
|
|
1368
1528
|
},
|
|
1369
1529
|
decode(input, length) {
|
|
1370
1530
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1371
|
-
const
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1531
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1532
|
+
if (previousRecursionDepth >= 100) {
|
|
1533
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1534
|
+
}
|
|
1535
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1536
|
+
try {
|
|
1537
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1538
|
+
const message = createBaseAgentDevice();
|
|
1539
|
+
while (reader.pos < end) {
|
|
1540
|
+
const tag = reader.uint32();
|
|
1541
|
+
switch (tag >>> 3) {
|
|
1542
|
+
case 1: {
|
|
1543
|
+
if (tag !== 10) {
|
|
1544
|
+
break;
|
|
1545
|
+
}
|
|
1546
|
+
message.stateId = reader.string();
|
|
1547
|
+
continue;
|
|
1548
|
+
}
|
|
1549
|
+
case 2: {
|
|
1550
|
+
if (tag !== 18) {
|
|
1551
|
+
break;
|
|
1552
|
+
}
|
|
1553
|
+
message.floor = reader.string();
|
|
1554
|
+
continue;
|
|
1555
|
+
}
|
|
1556
|
+
case 3: {
|
|
1557
|
+
if (tag !== 26) {
|
|
1558
|
+
break;
|
|
1559
|
+
}
|
|
1560
|
+
message.room = reader.string();
|
|
1561
|
+
continue;
|
|
1562
|
+
}
|
|
1563
|
+
case 4: {
|
|
1564
|
+
if (tag !== 34) {
|
|
1565
|
+
break;
|
|
1566
|
+
}
|
|
1567
|
+
message.device = reader.string();
|
|
1568
|
+
continue;
|
|
1569
|
+
}
|
|
1570
|
+
case 5: {
|
|
1571
|
+
if (tag !== 42) {
|
|
1572
|
+
break;
|
|
1573
|
+
}
|
|
1574
|
+
message.deviceType = reader.string();
|
|
1575
|
+
continue;
|
|
1576
|
+
}
|
|
1577
|
+
case 6: {
|
|
1578
|
+
if (tag !== 50) {
|
|
1579
|
+
break;
|
|
1580
|
+
}
|
|
1581
|
+
message.functions.push(reader.string());
|
|
1582
|
+
continue;
|
|
1583
|
+
}
|
|
1584
|
+
case 7: {
|
|
1585
|
+
if (tag !== 58) {
|
|
1586
|
+
break;
|
|
1587
|
+
}
|
|
1588
|
+
message.value = exports.AgentStateValue.decode(reader, reader.uint32());
|
|
1589
|
+
continue;
|
|
1590
|
+
}
|
|
1591
|
+
case 8: {
|
|
1592
|
+
if (tag !== 66) {
|
|
1593
|
+
break;
|
|
1594
|
+
}
|
|
1595
|
+
const entry8 = exports.AgentDevice_RoomNamesEntry.decode(reader, reader.uint32());
|
|
1596
|
+
if (entry8.value !== undefined) {
|
|
1597
|
+
message.roomNames[entry8.key] = entry8.value;
|
|
1598
|
+
}
|
|
1599
|
+
continue;
|
|
1600
|
+
}
|
|
1601
|
+
case 9: {
|
|
1602
|
+
if (tag !== 72) {
|
|
1603
|
+
break;
|
|
1604
|
+
}
|
|
1605
|
+
message.stateType = reader.int32();
|
|
1606
|
+
continue;
|
|
1607
|
+
}
|
|
1608
|
+
case 10: {
|
|
1609
|
+
if (tag !== 82) {
|
|
1610
|
+
break;
|
|
1611
|
+
}
|
|
1612
|
+
message.enumValues = shared_1.EnumValues.decode(reader, reader.uint32());
|
|
1613
|
+
continue;
|
|
1614
|
+
}
|
|
1615
|
+
case 11: {
|
|
1616
|
+
if (tag !== 88) {
|
|
1617
|
+
break;
|
|
1618
|
+
}
|
|
1619
|
+
message.writable = reader.bool();
|
|
1620
|
+
continue;
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1624
|
+
break;
|
|
1625
|
+
}
|
|
1626
|
+
reader.skip(tag & 7);
|
|
1456
1627
|
}
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
reader.
|
|
1628
|
+
return message;
|
|
1629
|
+
}
|
|
1630
|
+
finally {
|
|
1631
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1461
1632
|
}
|
|
1462
|
-
return message;
|
|
1463
1633
|
},
|
|
1464
1634
|
create(base) {
|
|
1465
1635
|
return exports.AgentDevice.fromPartial(base ?? {});
|
|
@@ -1504,32 +1674,42 @@ exports.AgentDevice_RoomNamesEntry = {
|
|
|
1504
1674
|
},
|
|
1505
1675
|
decode(input, length) {
|
|
1506
1676
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1507
|
-
const
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1677
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1678
|
+
if (previousRecursionDepth >= 100) {
|
|
1679
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1680
|
+
}
|
|
1681
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1682
|
+
try {
|
|
1683
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1684
|
+
const message = createBaseAgentDevice_RoomNamesEntry();
|
|
1685
|
+
while (reader.pos < end) {
|
|
1686
|
+
const tag = reader.uint32();
|
|
1687
|
+
switch (tag >>> 3) {
|
|
1688
|
+
case 1: {
|
|
1689
|
+
if (tag !== 10) {
|
|
1690
|
+
break;
|
|
1691
|
+
}
|
|
1692
|
+
message.key = reader.string();
|
|
1693
|
+
continue;
|
|
1694
|
+
}
|
|
1695
|
+
case 2: {
|
|
1696
|
+
if (tag !== 18) {
|
|
1697
|
+
break;
|
|
1698
|
+
}
|
|
1699
|
+
message.value = reader.string();
|
|
1700
|
+
continue;
|
|
1701
|
+
}
|
|
1702
|
+
}
|
|
1703
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1704
|
+
break;
|
|
1705
|
+
}
|
|
1706
|
+
reader.skip(tag & 7);
|
|
1529
1707
|
}
|
|
1530
|
-
|
|
1708
|
+
return message;
|
|
1709
|
+
}
|
|
1710
|
+
finally {
|
|
1711
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1531
1712
|
}
|
|
1532
|
-
return message;
|
|
1533
1713
|
},
|
|
1534
1714
|
create(base) {
|
|
1535
1715
|
return exports.AgentDevice_RoomNamesEntry.fromPartial(base ?? {});
|
|
@@ -1553,25 +1733,35 @@ exports.AgentDeviceSnapshot = {
|
|
|
1553
1733
|
},
|
|
1554
1734
|
decode(input, length) {
|
|
1555
1735
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1556
|
-
const
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1736
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1737
|
+
if (previousRecursionDepth >= 100) {
|
|
1738
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1739
|
+
}
|
|
1740
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1741
|
+
try {
|
|
1742
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1743
|
+
const message = createBaseAgentDeviceSnapshot();
|
|
1744
|
+
while (reader.pos < end) {
|
|
1745
|
+
const tag = reader.uint32();
|
|
1746
|
+
switch (tag >>> 3) {
|
|
1747
|
+
case 1: {
|
|
1748
|
+
if (tag !== 10) {
|
|
1749
|
+
break;
|
|
1750
|
+
}
|
|
1751
|
+
message.devices.push(exports.AgentDevice.decode(reader, reader.uint32()));
|
|
1752
|
+
continue;
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1756
|
+
break;
|
|
1757
|
+
}
|
|
1758
|
+
reader.skip(tag & 7);
|
|
1571
1759
|
}
|
|
1572
|
-
|
|
1760
|
+
return message;
|
|
1761
|
+
}
|
|
1762
|
+
finally {
|
|
1763
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1573
1764
|
}
|
|
1574
|
-
return message;
|
|
1575
1765
|
},
|
|
1576
1766
|
create(base) {
|
|
1577
1767
|
return exports.AgentDeviceSnapshot.fromPartial(base ?? {});
|
|
@@ -1597,35 +1787,45 @@ exports.AgentRoom = {
|
|
|
1597
1787
|
},
|
|
1598
1788
|
decode(input, length) {
|
|
1599
1789
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1600
|
-
const
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1790
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1791
|
+
if (previousRecursionDepth >= 100) {
|
|
1792
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1793
|
+
}
|
|
1794
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1795
|
+
try {
|
|
1796
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1797
|
+
const message = createBaseAgentRoom();
|
|
1798
|
+
while (reader.pos < end) {
|
|
1799
|
+
const tag = reader.uint32();
|
|
1800
|
+
switch (tag >>> 3) {
|
|
1801
|
+
case 1: {
|
|
1802
|
+
if (tag !== 10) {
|
|
1803
|
+
break;
|
|
1804
|
+
}
|
|
1805
|
+
message.roomId = reader.string();
|
|
1806
|
+
continue;
|
|
1807
|
+
}
|
|
1808
|
+
case 2: {
|
|
1809
|
+
if (tag !== 18) {
|
|
1810
|
+
break;
|
|
1811
|
+
}
|
|
1812
|
+
const entry2 = exports.AgentRoom_DisplayNamesEntry.decode(reader, reader.uint32());
|
|
1813
|
+
if (entry2.value !== undefined) {
|
|
1814
|
+
message.displayNames[entry2.key] = entry2.value;
|
|
1815
|
+
}
|
|
1816
|
+
continue;
|
|
1817
|
+
}
|
|
1818
|
+
}
|
|
1819
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1820
|
+
break;
|
|
1821
|
+
}
|
|
1822
|
+
reader.skip(tag & 7);
|
|
1625
1823
|
}
|
|
1626
|
-
|
|
1824
|
+
return message;
|
|
1825
|
+
}
|
|
1826
|
+
finally {
|
|
1827
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1627
1828
|
}
|
|
1628
|
-
return message;
|
|
1629
1829
|
},
|
|
1630
1830
|
create(base) {
|
|
1631
1831
|
return exports.AgentRoom.fromPartial(base ?? {});
|
|
@@ -1657,32 +1857,42 @@ exports.AgentRoom_DisplayNamesEntry = {
|
|
|
1657
1857
|
},
|
|
1658
1858
|
decode(input, length) {
|
|
1659
1859
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1660
|
-
const
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1860
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1861
|
+
if (previousRecursionDepth >= 100) {
|
|
1862
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1863
|
+
}
|
|
1864
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1865
|
+
try {
|
|
1866
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1867
|
+
const message = createBaseAgentRoom_DisplayNamesEntry();
|
|
1868
|
+
while (reader.pos < end) {
|
|
1869
|
+
const tag = reader.uint32();
|
|
1870
|
+
switch (tag >>> 3) {
|
|
1871
|
+
case 1: {
|
|
1872
|
+
if (tag !== 10) {
|
|
1873
|
+
break;
|
|
1874
|
+
}
|
|
1875
|
+
message.key = reader.string();
|
|
1876
|
+
continue;
|
|
1877
|
+
}
|
|
1878
|
+
case 2: {
|
|
1879
|
+
if (tag !== 18) {
|
|
1880
|
+
break;
|
|
1881
|
+
}
|
|
1882
|
+
message.value = reader.string();
|
|
1883
|
+
continue;
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1887
|
+
break;
|
|
1888
|
+
}
|
|
1889
|
+
reader.skip(tag & 7);
|
|
1682
1890
|
}
|
|
1683
|
-
|
|
1891
|
+
return message;
|
|
1892
|
+
}
|
|
1893
|
+
finally {
|
|
1894
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1684
1895
|
}
|
|
1685
|
-
return message;
|
|
1686
1896
|
},
|
|
1687
1897
|
create(base) {
|
|
1688
1898
|
return exports.AgentRoom_DisplayNamesEntry.fromPartial(base ?? {});
|
|
@@ -1706,25 +1916,35 @@ exports.AgentRoomSnapshot = {
|
|
|
1706
1916
|
},
|
|
1707
1917
|
decode(input, length) {
|
|
1708
1918
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1709
|
-
const
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1919
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1920
|
+
if (previousRecursionDepth >= 100) {
|
|
1921
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1922
|
+
}
|
|
1923
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1924
|
+
try {
|
|
1925
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1926
|
+
const message = createBaseAgentRoomSnapshot();
|
|
1927
|
+
while (reader.pos < end) {
|
|
1928
|
+
const tag = reader.uint32();
|
|
1929
|
+
switch (tag >>> 3) {
|
|
1930
|
+
case 1: {
|
|
1931
|
+
if (tag !== 10) {
|
|
1932
|
+
break;
|
|
1933
|
+
}
|
|
1934
|
+
message.rooms.push(exports.AgentRoom.decode(reader, reader.uint32()));
|
|
1935
|
+
continue;
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1939
|
+
break;
|
|
1940
|
+
}
|
|
1941
|
+
reader.skip(tag & 7);
|
|
1724
1942
|
}
|
|
1725
|
-
|
|
1943
|
+
return message;
|
|
1944
|
+
}
|
|
1945
|
+
finally {
|
|
1946
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1726
1947
|
}
|
|
1727
|
-
return message;
|
|
1728
1948
|
},
|
|
1729
1949
|
create(base) {
|
|
1730
1950
|
return exports.AgentRoomSnapshot.fromPartial(base ?? {});
|
|
@@ -1759,53 +1979,63 @@ exports.AgentResident = {
|
|
|
1759
1979
|
},
|
|
1760
1980
|
decode(input, length) {
|
|
1761
1981
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1762
|
-
const
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1982
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1983
|
+
if (previousRecursionDepth >= 100) {
|
|
1984
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1985
|
+
}
|
|
1986
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1987
|
+
try {
|
|
1988
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1989
|
+
const message = createBaseAgentResident();
|
|
1990
|
+
while (reader.pos < end) {
|
|
1991
|
+
const tag = reader.uint32();
|
|
1992
|
+
switch (tag >>> 3) {
|
|
1993
|
+
case 1: {
|
|
1994
|
+
if (tag !== 10) {
|
|
1995
|
+
break;
|
|
1996
|
+
}
|
|
1997
|
+
message.roomieId = reader.string();
|
|
1998
|
+
continue;
|
|
1999
|
+
}
|
|
2000
|
+
case 2: {
|
|
2001
|
+
if (tag !== 18) {
|
|
2002
|
+
break;
|
|
2003
|
+
}
|
|
2004
|
+
message.name = reader.string();
|
|
2005
|
+
continue;
|
|
2006
|
+
}
|
|
2007
|
+
case 3: {
|
|
2008
|
+
if (tag !== 24) {
|
|
2009
|
+
break;
|
|
2010
|
+
}
|
|
2011
|
+
message.type = reader.int32();
|
|
2012
|
+
continue;
|
|
2013
|
+
}
|
|
2014
|
+
case 4: {
|
|
2015
|
+
if (tag !== 32) {
|
|
2016
|
+
break;
|
|
2017
|
+
}
|
|
2018
|
+
message.moodLevel = reader.int32();
|
|
2019
|
+
continue;
|
|
2020
|
+
}
|
|
2021
|
+
case 5: {
|
|
2022
|
+
if (tag !== 40) {
|
|
2023
|
+
break;
|
|
2024
|
+
}
|
|
2025
|
+
message.presenceState = reader.int32();
|
|
2026
|
+
continue;
|
|
2027
|
+
}
|
|
2028
|
+
}
|
|
2029
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2030
|
+
break;
|
|
2031
|
+
}
|
|
2032
|
+
reader.skip(tag & 7);
|
|
1805
2033
|
}
|
|
1806
|
-
|
|
2034
|
+
return message;
|
|
2035
|
+
}
|
|
2036
|
+
finally {
|
|
2037
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1807
2038
|
}
|
|
1808
|
-
return message;
|
|
1809
2039
|
},
|
|
1810
2040
|
create(base) {
|
|
1811
2041
|
return exports.AgentResident.fromPartial(base ?? {});
|
|
@@ -1832,25 +2062,35 @@ exports.AgentResidentSnapshot = {
|
|
|
1832
2062
|
},
|
|
1833
2063
|
decode(input, length) {
|
|
1834
2064
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1835
|
-
const
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
2065
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2066
|
+
if (previousRecursionDepth >= 100) {
|
|
2067
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2068
|
+
}
|
|
2069
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2070
|
+
try {
|
|
2071
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2072
|
+
const message = createBaseAgentResidentSnapshot();
|
|
2073
|
+
while (reader.pos < end) {
|
|
2074
|
+
const tag = reader.uint32();
|
|
2075
|
+
switch (tag >>> 3) {
|
|
2076
|
+
case 1: {
|
|
2077
|
+
if (tag !== 10) {
|
|
2078
|
+
break;
|
|
2079
|
+
}
|
|
2080
|
+
message.residents.push(exports.AgentResident.decode(reader, reader.uint32()));
|
|
2081
|
+
continue;
|
|
2082
|
+
}
|
|
2083
|
+
}
|
|
2084
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2085
|
+
break;
|
|
2086
|
+
}
|
|
2087
|
+
reader.skip(tag & 7);
|
|
1850
2088
|
}
|
|
1851
|
-
|
|
2089
|
+
return message;
|
|
2090
|
+
}
|
|
2091
|
+
finally {
|
|
2092
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1852
2093
|
}
|
|
1853
|
-
return message;
|
|
1854
2094
|
},
|
|
1855
2095
|
create(base) {
|
|
1856
2096
|
return exports.AgentResidentSnapshot.fromPartial(base ?? {});
|
|
@@ -1879,39 +2119,49 @@ exports.AgentAskResident = {
|
|
|
1879
2119
|
},
|
|
1880
2120
|
decode(input, length) {
|
|
1881
2121
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1882
|
-
const
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
2122
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2123
|
+
if (previousRecursionDepth >= 100) {
|
|
2124
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2125
|
+
}
|
|
2126
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2127
|
+
try {
|
|
2128
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2129
|
+
const message = createBaseAgentAskResident();
|
|
2130
|
+
while (reader.pos < end) {
|
|
2131
|
+
const tag = reader.uint32();
|
|
2132
|
+
switch (tag >>> 3) {
|
|
2133
|
+
case 3: {
|
|
2134
|
+
if (tag !== 26) {
|
|
2135
|
+
break;
|
|
2136
|
+
}
|
|
2137
|
+
message.correlationId = reader.string();
|
|
2138
|
+
continue;
|
|
2139
|
+
}
|
|
2140
|
+
case 1: {
|
|
2141
|
+
if (tag !== 10) {
|
|
2142
|
+
break;
|
|
2143
|
+
}
|
|
2144
|
+
message.room = reader.string();
|
|
2145
|
+
continue;
|
|
2146
|
+
}
|
|
2147
|
+
case 2: {
|
|
2148
|
+
if (tag !== 18) {
|
|
2149
|
+
break;
|
|
2150
|
+
}
|
|
2151
|
+
message.question = reader.string();
|
|
2152
|
+
continue;
|
|
2153
|
+
}
|
|
2154
|
+
}
|
|
2155
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2156
|
+
break;
|
|
2157
|
+
}
|
|
2158
|
+
reader.skip(tag & 7);
|
|
1908
2159
|
}
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
reader.
|
|
2160
|
+
return message;
|
|
2161
|
+
}
|
|
2162
|
+
finally {
|
|
2163
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1913
2164
|
}
|
|
1914
|
-
return message;
|
|
1915
2165
|
},
|
|
1916
2166
|
create(base) {
|
|
1917
2167
|
return exports.AgentAskResident.fromPartial(base ?? {});
|
|
@@ -1939,32 +2189,42 @@ exports.AgentResidentAnswered = {
|
|
|
1939
2189
|
},
|
|
1940
2190
|
decode(input, length) {
|
|
1941
2191
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1942
|
-
const
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
2192
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2193
|
+
if (previousRecursionDepth >= 100) {
|
|
2194
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2195
|
+
}
|
|
2196
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2197
|
+
try {
|
|
2198
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2199
|
+
const message = createBaseAgentResidentAnswered();
|
|
2200
|
+
while (reader.pos < end) {
|
|
2201
|
+
const tag = reader.uint32();
|
|
2202
|
+
switch (tag >>> 3) {
|
|
2203
|
+
case 1: {
|
|
2204
|
+
if (tag !== 10) {
|
|
2205
|
+
break;
|
|
2206
|
+
}
|
|
2207
|
+
message.correlationId = reader.string();
|
|
2208
|
+
continue;
|
|
2209
|
+
}
|
|
2210
|
+
case 2: {
|
|
2211
|
+
if (tag !== 18) {
|
|
2212
|
+
break;
|
|
2213
|
+
}
|
|
2214
|
+
message.answer = reader.string();
|
|
2215
|
+
continue;
|
|
2216
|
+
}
|
|
2217
|
+
}
|
|
2218
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2219
|
+
break;
|
|
2220
|
+
}
|
|
2221
|
+
reader.skip(tag & 7);
|
|
1961
2222
|
}
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
reader.
|
|
2223
|
+
return message;
|
|
2224
|
+
}
|
|
2225
|
+
finally {
|
|
2226
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1966
2227
|
}
|
|
1967
|
-
return message;
|
|
1968
2228
|
},
|
|
1969
2229
|
create(base) {
|
|
1970
2230
|
return exports.AgentResidentAnswered.fromPartial(base ?? {});
|
|
@@ -2000,53 +2260,63 @@ exports.AgentBleUpdate = {
|
|
|
2000
2260
|
},
|
|
2001
2261
|
decode(input, length) {
|
|
2002
2262
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2003
|
-
const
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2263
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2264
|
+
if (previousRecursionDepth >= 100) {
|
|
2265
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2266
|
+
}
|
|
2267
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2268
|
+
try {
|
|
2269
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2270
|
+
const message = createBaseAgentBleUpdate();
|
|
2271
|
+
while (reader.pos < end) {
|
|
2272
|
+
const tag = reader.uint32();
|
|
2273
|
+
switch (tag >>> 3) {
|
|
2274
|
+
case 1: {
|
|
2275
|
+
if (tag !== 10) {
|
|
2276
|
+
break;
|
|
2277
|
+
}
|
|
2278
|
+
message.label = reader.string();
|
|
2279
|
+
continue;
|
|
2280
|
+
}
|
|
2281
|
+
case 2: {
|
|
2282
|
+
if (tag !== 18) {
|
|
2283
|
+
break;
|
|
2284
|
+
}
|
|
2285
|
+
message.mac = reader.string();
|
|
2286
|
+
continue;
|
|
2287
|
+
}
|
|
2288
|
+
case 3: {
|
|
2289
|
+
if (tag !== 26) {
|
|
2290
|
+
break;
|
|
2291
|
+
}
|
|
2292
|
+
message.room = reader.string();
|
|
2293
|
+
continue;
|
|
2294
|
+
}
|
|
2295
|
+
case 4: {
|
|
2296
|
+
if (tag !== 34) {
|
|
2297
|
+
break;
|
|
2298
|
+
}
|
|
2299
|
+
message.satellite = reader.string();
|
|
2300
|
+
continue;
|
|
2301
|
+
}
|
|
2302
|
+
case 5: {
|
|
2303
|
+
if (tag !== 40) {
|
|
2304
|
+
break;
|
|
2305
|
+
}
|
|
2306
|
+
message.rssi = reader.int32();
|
|
2307
|
+
continue;
|
|
2308
|
+
}
|
|
2309
|
+
}
|
|
2310
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2311
|
+
break;
|
|
2312
|
+
}
|
|
2313
|
+
reader.skip(tag & 7);
|
|
2046
2314
|
}
|
|
2047
|
-
|
|
2315
|
+
return message;
|
|
2316
|
+
}
|
|
2317
|
+
finally {
|
|
2318
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2048
2319
|
}
|
|
2049
|
-
return message;
|
|
2050
2320
|
},
|
|
2051
2321
|
create(base) {
|
|
2052
2322
|
return exports.AgentBleUpdate.fromPartial(base ?? {});
|
|
@@ -2094,74 +2364,84 @@ exports.AgentSensorUpdate = {
|
|
|
2094
2364
|
},
|
|
2095
2365
|
decode(input, length) {
|
|
2096
2366
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2097
|
-
const
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2367
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2368
|
+
if (previousRecursionDepth >= 100) {
|
|
2369
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2370
|
+
}
|
|
2371
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2372
|
+
try {
|
|
2373
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2374
|
+
const message = createBaseAgentSensorUpdate();
|
|
2375
|
+
while (reader.pos < end) {
|
|
2376
|
+
const tag = reader.uint32();
|
|
2377
|
+
switch (tag >>> 3) {
|
|
2378
|
+
case 1: {
|
|
2379
|
+
if (tag !== 10) {
|
|
2380
|
+
break;
|
|
2381
|
+
}
|
|
2382
|
+
message.device = reader.string();
|
|
2383
|
+
continue;
|
|
2384
|
+
}
|
|
2385
|
+
case 2: {
|
|
2386
|
+
if (tag !== 21) {
|
|
2387
|
+
break;
|
|
2388
|
+
}
|
|
2389
|
+
message.temperature = reader.float();
|
|
2390
|
+
continue;
|
|
2391
|
+
}
|
|
2392
|
+
case 3: {
|
|
2393
|
+
if (tag !== 29) {
|
|
2394
|
+
break;
|
|
2395
|
+
}
|
|
2396
|
+
message.pressure = reader.float();
|
|
2397
|
+
continue;
|
|
2398
|
+
}
|
|
2399
|
+
case 4: {
|
|
2400
|
+
if (tag !== 37) {
|
|
2401
|
+
break;
|
|
2402
|
+
}
|
|
2403
|
+
message.humidity = reader.float();
|
|
2404
|
+
continue;
|
|
2405
|
+
}
|
|
2406
|
+
case 6: {
|
|
2407
|
+
if (tag !== 53) {
|
|
2408
|
+
break;
|
|
2409
|
+
}
|
|
2410
|
+
message.iaq = reader.float();
|
|
2411
|
+
continue;
|
|
2412
|
+
}
|
|
2413
|
+
case 7: {
|
|
2414
|
+
if (tag !== 56) {
|
|
2415
|
+
break;
|
|
2416
|
+
}
|
|
2417
|
+
message.iaqAccuracy = reader.uint32();
|
|
2418
|
+
continue;
|
|
2419
|
+
}
|
|
2420
|
+
case 8: {
|
|
2421
|
+
if (tag !== 69) {
|
|
2422
|
+
break;
|
|
2423
|
+
}
|
|
2424
|
+
message.co2Equiv = reader.float();
|
|
2425
|
+
continue;
|
|
2426
|
+
}
|
|
2427
|
+
case 9: {
|
|
2428
|
+
if (tag !== 77) {
|
|
2429
|
+
break;
|
|
2430
|
+
}
|
|
2431
|
+
message.vocEquiv = reader.float();
|
|
2432
|
+
continue;
|
|
2433
|
+
}
|
|
2434
|
+
}
|
|
2435
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2436
|
+
break;
|
|
2437
|
+
}
|
|
2438
|
+
reader.skip(tag & 7);
|
|
2161
2439
|
}
|
|
2162
|
-
|
|
2440
|
+
return message;
|
|
2441
|
+
}
|
|
2442
|
+
finally {
|
|
2443
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2163
2444
|
}
|
|
2164
|
-
return message;
|
|
2165
2445
|
},
|
|
2166
2446
|
create(base) {
|
|
2167
2447
|
return exports.AgentSensorUpdate.fromPartial(base ?? {});
|