@m1kad0/hannah-proto 3.7.1 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/activity_log.js +216 -166
- package/dist/agent.d.ts +17 -0
- package/dist/agent.js +1354 -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
|
-
|
|
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);
|
|
137
148
|
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
reader.
|
|
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
|
-
|
|
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);
|
|
294
315
|
}
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
reader.
|
|
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
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
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);
|
|
368
396
|
}
|
|
369
|
-
|
|
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
|
-
|
|
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);
|
|
443
484
|
}
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
reader.
|
|
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
|
-
|
|
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);
|
|
487
538
|
}
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
reader.
|
|
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
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
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);
|
|
643
701
|
}
|
|
644
|
-
|
|
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
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
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);
|
|
789
867
|
}
|
|
790
|
-
|
|
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
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
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);
|
|
831
919
|
}
|
|
832
|
-
|
|
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
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
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);
|
|
892
990
|
}
|
|
893
|
-
|
|
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
|
-
|
|
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);
|
|
1246
1397
|
}
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
reader.
|
|
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 ?? {});
|
|
@@ -1327,6 +1487,8 @@ function createBaseAgentDevice() {
|
|
|
1327
1487
|
stateType: 0,
|
|
1328
1488
|
enumValues: undefined,
|
|
1329
1489
|
writable: false,
|
|
1490
|
+
deviceId: "",
|
|
1491
|
+
canonicalKey: "",
|
|
1330
1492
|
};
|
|
1331
1493
|
}
|
|
1332
1494
|
exports.AgentDevice = {
|
|
@@ -1364,102 +1526,132 @@ exports.AgentDevice = {
|
|
|
1364
1526
|
if (message.writable !== false) {
|
|
1365
1527
|
writer.uint32(88).bool(message.writable);
|
|
1366
1528
|
}
|
|
1529
|
+
if (message.deviceId !== "") {
|
|
1530
|
+
writer.uint32(98).string(message.deviceId);
|
|
1531
|
+
}
|
|
1532
|
+
if (message.canonicalKey !== "") {
|
|
1533
|
+
writer.uint32(106).string(message.canonicalKey);
|
|
1534
|
+
}
|
|
1367
1535
|
return writer;
|
|
1368
1536
|
},
|
|
1369
1537
|
decode(input, length) {
|
|
1370
1538
|
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
|
-
|
|
1539
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1540
|
+
if (previousRecursionDepth >= 100) {
|
|
1541
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1542
|
+
}
|
|
1543
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1544
|
+
try {
|
|
1545
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1546
|
+
const message = createBaseAgentDevice();
|
|
1547
|
+
while (reader.pos < end) {
|
|
1548
|
+
const tag = reader.uint32();
|
|
1549
|
+
switch (tag >>> 3) {
|
|
1550
|
+
case 1: {
|
|
1551
|
+
if (tag !== 10) {
|
|
1552
|
+
break;
|
|
1553
|
+
}
|
|
1554
|
+
message.stateId = reader.string();
|
|
1555
|
+
continue;
|
|
1556
|
+
}
|
|
1557
|
+
case 2: {
|
|
1558
|
+
if (tag !== 18) {
|
|
1559
|
+
break;
|
|
1560
|
+
}
|
|
1561
|
+
message.floor = reader.string();
|
|
1562
|
+
continue;
|
|
1563
|
+
}
|
|
1564
|
+
case 3: {
|
|
1565
|
+
if (tag !== 26) {
|
|
1566
|
+
break;
|
|
1567
|
+
}
|
|
1568
|
+
message.room = reader.string();
|
|
1569
|
+
continue;
|
|
1570
|
+
}
|
|
1571
|
+
case 4: {
|
|
1572
|
+
if (tag !== 34) {
|
|
1573
|
+
break;
|
|
1574
|
+
}
|
|
1575
|
+
message.device = reader.string();
|
|
1576
|
+
continue;
|
|
1577
|
+
}
|
|
1578
|
+
case 5: {
|
|
1579
|
+
if (tag !== 42) {
|
|
1580
|
+
break;
|
|
1581
|
+
}
|
|
1582
|
+
message.deviceType = reader.string();
|
|
1583
|
+
continue;
|
|
1584
|
+
}
|
|
1585
|
+
case 6: {
|
|
1586
|
+
if (tag !== 50) {
|
|
1587
|
+
break;
|
|
1588
|
+
}
|
|
1589
|
+
message.functions.push(reader.string());
|
|
1590
|
+
continue;
|
|
1591
|
+
}
|
|
1592
|
+
case 7: {
|
|
1593
|
+
if (tag !== 58) {
|
|
1594
|
+
break;
|
|
1595
|
+
}
|
|
1596
|
+
message.value = exports.AgentStateValue.decode(reader, reader.uint32());
|
|
1597
|
+
continue;
|
|
1598
|
+
}
|
|
1599
|
+
case 8: {
|
|
1600
|
+
if (tag !== 66) {
|
|
1601
|
+
break;
|
|
1602
|
+
}
|
|
1603
|
+
const entry8 = exports.AgentDevice_RoomNamesEntry.decode(reader, reader.uint32());
|
|
1604
|
+
if (entry8.value !== undefined) {
|
|
1605
|
+
message.roomNames[entry8.key] = entry8.value;
|
|
1606
|
+
}
|
|
1607
|
+
continue;
|
|
1608
|
+
}
|
|
1609
|
+
case 9: {
|
|
1610
|
+
if (tag !== 72) {
|
|
1611
|
+
break;
|
|
1612
|
+
}
|
|
1613
|
+
message.stateType = reader.int32();
|
|
1614
|
+
continue;
|
|
1615
|
+
}
|
|
1616
|
+
case 10: {
|
|
1617
|
+
if (tag !== 82) {
|
|
1618
|
+
break;
|
|
1619
|
+
}
|
|
1620
|
+
message.enumValues = shared_1.EnumValues.decode(reader, reader.uint32());
|
|
1621
|
+
continue;
|
|
1622
|
+
}
|
|
1623
|
+
case 11: {
|
|
1624
|
+
if (tag !== 88) {
|
|
1625
|
+
break;
|
|
1626
|
+
}
|
|
1627
|
+
message.writable = reader.bool();
|
|
1628
|
+
continue;
|
|
1629
|
+
}
|
|
1630
|
+
case 12: {
|
|
1631
|
+
if (tag !== 98) {
|
|
1632
|
+
break;
|
|
1633
|
+
}
|
|
1634
|
+
message.deviceId = reader.string();
|
|
1635
|
+
continue;
|
|
1636
|
+
}
|
|
1637
|
+
case 13: {
|
|
1638
|
+
if (tag !== 106) {
|
|
1639
|
+
break;
|
|
1640
|
+
}
|
|
1641
|
+
message.canonicalKey = reader.string();
|
|
1642
|
+
continue;
|
|
1643
|
+
}
|
|
1644
|
+
}
|
|
1645
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1646
|
+
break;
|
|
1647
|
+
}
|
|
1648
|
+
reader.skip(tag & 7);
|
|
1456
1649
|
}
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
reader.
|
|
1650
|
+
return message;
|
|
1651
|
+
}
|
|
1652
|
+
finally {
|
|
1653
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1461
1654
|
}
|
|
1462
|
-
return message;
|
|
1463
1655
|
},
|
|
1464
1656
|
create(base) {
|
|
1465
1657
|
return exports.AgentDevice.fromPartial(base ?? {});
|
|
@@ -1486,6 +1678,8 @@ exports.AgentDevice = {
|
|
|
1486
1678
|
? shared_1.EnumValues.fromPartial(object.enumValues)
|
|
1487
1679
|
: undefined;
|
|
1488
1680
|
message.writable = object.writable ?? false;
|
|
1681
|
+
message.deviceId = object.deviceId ?? "";
|
|
1682
|
+
message.canonicalKey = object.canonicalKey ?? "";
|
|
1489
1683
|
return message;
|
|
1490
1684
|
},
|
|
1491
1685
|
};
|
|
@@ -1504,32 +1698,42 @@ exports.AgentDevice_RoomNamesEntry = {
|
|
|
1504
1698
|
},
|
|
1505
1699
|
decode(input, length) {
|
|
1506
1700
|
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
|
-
|
|
1701
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1702
|
+
if (previousRecursionDepth >= 100) {
|
|
1703
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1704
|
+
}
|
|
1705
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1706
|
+
try {
|
|
1707
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1708
|
+
const message = createBaseAgentDevice_RoomNamesEntry();
|
|
1709
|
+
while (reader.pos < end) {
|
|
1710
|
+
const tag = reader.uint32();
|
|
1711
|
+
switch (tag >>> 3) {
|
|
1712
|
+
case 1: {
|
|
1713
|
+
if (tag !== 10) {
|
|
1714
|
+
break;
|
|
1715
|
+
}
|
|
1716
|
+
message.key = reader.string();
|
|
1717
|
+
continue;
|
|
1718
|
+
}
|
|
1719
|
+
case 2: {
|
|
1720
|
+
if (tag !== 18) {
|
|
1721
|
+
break;
|
|
1722
|
+
}
|
|
1723
|
+
message.value = reader.string();
|
|
1724
|
+
continue;
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1728
|
+
break;
|
|
1729
|
+
}
|
|
1730
|
+
reader.skip(tag & 7);
|
|
1529
1731
|
}
|
|
1530
|
-
|
|
1732
|
+
return message;
|
|
1733
|
+
}
|
|
1734
|
+
finally {
|
|
1735
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1531
1736
|
}
|
|
1532
|
-
return message;
|
|
1533
1737
|
},
|
|
1534
1738
|
create(base) {
|
|
1535
1739
|
return exports.AgentDevice_RoomNamesEntry.fromPartial(base ?? {});
|
|
@@ -1553,25 +1757,35 @@ exports.AgentDeviceSnapshot = {
|
|
|
1553
1757
|
},
|
|
1554
1758
|
decode(input, length) {
|
|
1555
1759
|
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
|
-
|
|
1760
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1761
|
+
if (previousRecursionDepth >= 100) {
|
|
1762
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1763
|
+
}
|
|
1764
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1765
|
+
try {
|
|
1766
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1767
|
+
const message = createBaseAgentDeviceSnapshot();
|
|
1768
|
+
while (reader.pos < end) {
|
|
1769
|
+
const tag = reader.uint32();
|
|
1770
|
+
switch (tag >>> 3) {
|
|
1771
|
+
case 1: {
|
|
1772
|
+
if (tag !== 10) {
|
|
1773
|
+
break;
|
|
1774
|
+
}
|
|
1775
|
+
message.devices.push(exports.AgentDevice.decode(reader, reader.uint32()));
|
|
1776
|
+
continue;
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1780
|
+
break;
|
|
1781
|
+
}
|
|
1782
|
+
reader.skip(tag & 7);
|
|
1571
1783
|
}
|
|
1572
|
-
|
|
1784
|
+
return message;
|
|
1785
|
+
}
|
|
1786
|
+
finally {
|
|
1787
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1573
1788
|
}
|
|
1574
|
-
return message;
|
|
1575
1789
|
},
|
|
1576
1790
|
create(base) {
|
|
1577
1791
|
return exports.AgentDeviceSnapshot.fromPartial(base ?? {});
|
|
@@ -1597,35 +1811,45 @@ exports.AgentRoom = {
|
|
|
1597
1811
|
},
|
|
1598
1812
|
decode(input, length) {
|
|
1599
1813
|
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
|
-
|
|
1814
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1815
|
+
if (previousRecursionDepth >= 100) {
|
|
1816
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1817
|
+
}
|
|
1818
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1819
|
+
try {
|
|
1820
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1821
|
+
const message = createBaseAgentRoom();
|
|
1822
|
+
while (reader.pos < end) {
|
|
1823
|
+
const tag = reader.uint32();
|
|
1824
|
+
switch (tag >>> 3) {
|
|
1825
|
+
case 1: {
|
|
1826
|
+
if (tag !== 10) {
|
|
1827
|
+
break;
|
|
1828
|
+
}
|
|
1829
|
+
message.roomId = reader.string();
|
|
1830
|
+
continue;
|
|
1831
|
+
}
|
|
1832
|
+
case 2: {
|
|
1833
|
+
if (tag !== 18) {
|
|
1834
|
+
break;
|
|
1835
|
+
}
|
|
1836
|
+
const entry2 = exports.AgentRoom_DisplayNamesEntry.decode(reader, reader.uint32());
|
|
1837
|
+
if (entry2.value !== undefined) {
|
|
1838
|
+
message.displayNames[entry2.key] = entry2.value;
|
|
1839
|
+
}
|
|
1840
|
+
continue;
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1844
|
+
break;
|
|
1845
|
+
}
|
|
1846
|
+
reader.skip(tag & 7);
|
|
1622
1847
|
}
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
reader.
|
|
1848
|
+
return message;
|
|
1849
|
+
}
|
|
1850
|
+
finally {
|
|
1851
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1627
1852
|
}
|
|
1628
|
-
return message;
|
|
1629
1853
|
},
|
|
1630
1854
|
create(base) {
|
|
1631
1855
|
return exports.AgentRoom.fromPartial(base ?? {});
|
|
@@ -1657,32 +1881,42 @@ exports.AgentRoom_DisplayNamesEntry = {
|
|
|
1657
1881
|
},
|
|
1658
1882
|
decode(input, length) {
|
|
1659
1883
|
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
|
-
|
|
1884
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1885
|
+
if (previousRecursionDepth >= 100) {
|
|
1886
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1887
|
+
}
|
|
1888
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1889
|
+
try {
|
|
1890
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1891
|
+
const message = createBaseAgentRoom_DisplayNamesEntry();
|
|
1892
|
+
while (reader.pos < end) {
|
|
1893
|
+
const tag = reader.uint32();
|
|
1894
|
+
switch (tag >>> 3) {
|
|
1895
|
+
case 1: {
|
|
1896
|
+
if (tag !== 10) {
|
|
1897
|
+
break;
|
|
1898
|
+
}
|
|
1899
|
+
message.key = reader.string();
|
|
1900
|
+
continue;
|
|
1901
|
+
}
|
|
1902
|
+
case 2: {
|
|
1903
|
+
if (tag !== 18) {
|
|
1904
|
+
break;
|
|
1905
|
+
}
|
|
1906
|
+
message.value = reader.string();
|
|
1907
|
+
continue;
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1911
|
+
break;
|
|
1912
|
+
}
|
|
1913
|
+
reader.skip(tag & 7);
|
|
1679
1914
|
}
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
reader.
|
|
1915
|
+
return message;
|
|
1916
|
+
}
|
|
1917
|
+
finally {
|
|
1918
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1684
1919
|
}
|
|
1685
|
-
return message;
|
|
1686
1920
|
},
|
|
1687
1921
|
create(base) {
|
|
1688
1922
|
return exports.AgentRoom_DisplayNamesEntry.fromPartial(base ?? {});
|
|
@@ -1706,25 +1940,35 @@ exports.AgentRoomSnapshot = {
|
|
|
1706
1940
|
},
|
|
1707
1941
|
decode(input, length) {
|
|
1708
1942
|
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
|
-
|
|
1943
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1944
|
+
if (previousRecursionDepth >= 100) {
|
|
1945
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1946
|
+
}
|
|
1947
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1948
|
+
try {
|
|
1949
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1950
|
+
const message = createBaseAgentRoomSnapshot();
|
|
1951
|
+
while (reader.pos < end) {
|
|
1952
|
+
const tag = reader.uint32();
|
|
1953
|
+
switch (tag >>> 3) {
|
|
1954
|
+
case 1: {
|
|
1955
|
+
if (tag !== 10) {
|
|
1956
|
+
break;
|
|
1957
|
+
}
|
|
1958
|
+
message.rooms.push(exports.AgentRoom.decode(reader, reader.uint32()));
|
|
1959
|
+
continue;
|
|
1960
|
+
}
|
|
1961
|
+
}
|
|
1962
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1963
|
+
break;
|
|
1964
|
+
}
|
|
1965
|
+
reader.skip(tag & 7);
|
|
1721
1966
|
}
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
reader.
|
|
1967
|
+
return message;
|
|
1968
|
+
}
|
|
1969
|
+
finally {
|
|
1970
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1726
1971
|
}
|
|
1727
|
-
return message;
|
|
1728
1972
|
},
|
|
1729
1973
|
create(base) {
|
|
1730
1974
|
return exports.AgentRoomSnapshot.fromPartial(base ?? {});
|
|
@@ -1759,53 +2003,63 @@ exports.AgentResident = {
|
|
|
1759
2003
|
},
|
|
1760
2004
|
decode(input, length) {
|
|
1761
2005
|
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
|
-
|
|
2006
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2007
|
+
if (previousRecursionDepth >= 100) {
|
|
2008
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2009
|
+
}
|
|
2010
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2011
|
+
try {
|
|
2012
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2013
|
+
const message = createBaseAgentResident();
|
|
2014
|
+
while (reader.pos < end) {
|
|
2015
|
+
const tag = reader.uint32();
|
|
2016
|
+
switch (tag >>> 3) {
|
|
2017
|
+
case 1: {
|
|
2018
|
+
if (tag !== 10) {
|
|
2019
|
+
break;
|
|
2020
|
+
}
|
|
2021
|
+
message.roomieId = reader.string();
|
|
2022
|
+
continue;
|
|
2023
|
+
}
|
|
2024
|
+
case 2: {
|
|
2025
|
+
if (tag !== 18) {
|
|
2026
|
+
break;
|
|
2027
|
+
}
|
|
2028
|
+
message.name = reader.string();
|
|
2029
|
+
continue;
|
|
2030
|
+
}
|
|
2031
|
+
case 3: {
|
|
2032
|
+
if (tag !== 24) {
|
|
2033
|
+
break;
|
|
2034
|
+
}
|
|
2035
|
+
message.type = reader.int32();
|
|
2036
|
+
continue;
|
|
2037
|
+
}
|
|
2038
|
+
case 4: {
|
|
2039
|
+
if (tag !== 32) {
|
|
2040
|
+
break;
|
|
2041
|
+
}
|
|
2042
|
+
message.moodLevel = reader.int32();
|
|
2043
|
+
continue;
|
|
2044
|
+
}
|
|
2045
|
+
case 5: {
|
|
2046
|
+
if (tag !== 40) {
|
|
2047
|
+
break;
|
|
2048
|
+
}
|
|
2049
|
+
message.presenceState = reader.int32();
|
|
2050
|
+
continue;
|
|
2051
|
+
}
|
|
2052
|
+
}
|
|
2053
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2054
|
+
break;
|
|
2055
|
+
}
|
|
2056
|
+
reader.skip(tag & 7);
|
|
1805
2057
|
}
|
|
1806
|
-
|
|
2058
|
+
return message;
|
|
2059
|
+
}
|
|
2060
|
+
finally {
|
|
2061
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1807
2062
|
}
|
|
1808
|
-
return message;
|
|
1809
2063
|
},
|
|
1810
2064
|
create(base) {
|
|
1811
2065
|
return exports.AgentResident.fromPartial(base ?? {});
|
|
@@ -1832,25 +2086,35 @@ exports.AgentResidentSnapshot = {
|
|
|
1832
2086
|
},
|
|
1833
2087
|
decode(input, length) {
|
|
1834
2088
|
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
|
-
|
|
2089
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2090
|
+
if (previousRecursionDepth >= 100) {
|
|
2091
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2092
|
+
}
|
|
2093
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2094
|
+
try {
|
|
2095
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2096
|
+
const message = createBaseAgentResidentSnapshot();
|
|
2097
|
+
while (reader.pos < end) {
|
|
2098
|
+
const tag = reader.uint32();
|
|
2099
|
+
switch (tag >>> 3) {
|
|
2100
|
+
case 1: {
|
|
2101
|
+
if (tag !== 10) {
|
|
2102
|
+
break;
|
|
2103
|
+
}
|
|
2104
|
+
message.residents.push(exports.AgentResident.decode(reader, reader.uint32()));
|
|
2105
|
+
continue;
|
|
2106
|
+
}
|
|
2107
|
+
}
|
|
2108
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2109
|
+
break;
|
|
2110
|
+
}
|
|
2111
|
+
reader.skip(tag & 7);
|
|
1850
2112
|
}
|
|
1851
|
-
|
|
2113
|
+
return message;
|
|
2114
|
+
}
|
|
2115
|
+
finally {
|
|
2116
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1852
2117
|
}
|
|
1853
|
-
return message;
|
|
1854
2118
|
},
|
|
1855
2119
|
create(base) {
|
|
1856
2120
|
return exports.AgentResidentSnapshot.fromPartial(base ?? {});
|
|
@@ -1879,39 +2143,49 @@ exports.AgentAskResident = {
|
|
|
1879
2143
|
},
|
|
1880
2144
|
decode(input, length) {
|
|
1881
2145
|
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
|
-
|
|
2146
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2147
|
+
if (previousRecursionDepth >= 100) {
|
|
2148
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2149
|
+
}
|
|
2150
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2151
|
+
try {
|
|
2152
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2153
|
+
const message = createBaseAgentAskResident();
|
|
2154
|
+
while (reader.pos < end) {
|
|
2155
|
+
const tag = reader.uint32();
|
|
2156
|
+
switch (tag >>> 3) {
|
|
2157
|
+
case 3: {
|
|
2158
|
+
if (tag !== 26) {
|
|
2159
|
+
break;
|
|
2160
|
+
}
|
|
2161
|
+
message.correlationId = reader.string();
|
|
2162
|
+
continue;
|
|
2163
|
+
}
|
|
2164
|
+
case 1: {
|
|
2165
|
+
if (tag !== 10) {
|
|
2166
|
+
break;
|
|
2167
|
+
}
|
|
2168
|
+
message.room = reader.string();
|
|
2169
|
+
continue;
|
|
2170
|
+
}
|
|
2171
|
+
case 2: {
|
|
2172
|
+
if (tag !== 18) {
|
|
2173
|
+
break;
|
|
2174
|
+
}
|
|
2175
|
+
message.question = reader.string();
|
|
2176
|
+
continue;
|
|
2177
|
+
}
|
|
2178
|
+
}
|
|
2179
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2180
|
+
break;
|
|
2181
|
+
}
|
|
2182
|
+
reader.skip(tag & 7);
|
|
1908
2183
|
}
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
reader.
|
|
2184
|
+
return message;
|
|
2185
|
+
}
|
|
2186
|
+
finally {
|
|
2187
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1913
2188
|
}
|
|
1914
|
-
return message;
|
|
1915
2189
|
},
|
|
1916
2190
|
create(base) {
|
|
1917
2191
|
return exports.AgentAskResident.fromPartial(base ?? {});
|
|
@@ -1939,32 +2213,42 @@ exports.AgentResidentAnswered = {
|
|
|
1939
2213
|
},
|
|
1940
2214
|
decode(input, length) {
|
|
1941
2215
|
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
|
-
|
|
2216
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2217
|
+
if (previousRecursionDepth >= 100) {
|
|
2218
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2219
|
+
}
|
|
2220
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2221
|
+
try {
|
|
2222
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2223
|
+
const message = createBaseAgentResidentAnswered();
|
|
2224
|
+
while (reader.pos < end) {
|
|
2225
|
+
const tag = reader.uint32();
|
|
2226
|
+
switch (tag >>> 3) {
|
|
2227
|
+
case 1: {
|
|
2228
|
+
if (tag !== 10) {
|
|
2229
|
+
break;
|
|
2230
|
+
}
|
|
2231
|
+
message.correlationId = reader.string();
|
|
2232
|
+
continue;
|
|
2233
|
+
}
|
|
2234
|
+
case 2: {
|
|
2235
|
+
if (tag !== 18) {
|
|
2236
|
+
break;
|
|
2237
|
+
}
|
|
2238
|
+
message.answer = reader.string();
|
|
2239
|
+
continue;
|
|
2240
|
+
}
|
|
2241
|
+
}
|
|
2242
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2243
|
+
break;
|
|
2244
|
+
}
|
|
2245
|
+
reader.skip(tag & 7);
|
|
1961
2246
|
}
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
reader.
|
|
2247
|
+
return message;
|
|
2248
|
+
}
|
|
2249
|
+
finally {
|
|
2250
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1966
2251
|
}
|
|
1967
|
-
return message;
|
|
1968
2252
|
},
|
|
1969
2253
|
create(base) {
|
|
1970
2254
|
return exports.AgentResidentAnswered.fromPartial(base ?? {});
|
|
@@ -2000,53 +2284,63 @@ exports.AgentBleUpdate = {
|
|
|
2000
2284
|
},
|
|
2001
2285
|
decode(input, length) {
|
|
2002
2286
|
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
|
-
|
|
2287
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2288
|
+
if (previousRecursionDepth >= 100) {
|
|
2289
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2290
|
+
}
|
|
2291
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2292
|
+
try {
|
|
2293
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2294
|
+
const message = createBaseAgentBleUpdate();
|
|
2295
|
+
while (reader.pos < end) {
|
|
2296
|
+
const tag = reader.uint32();
|
|
2297
|
+
switch (tag >>> 3) {
|
|
2298
|
+
case 1: {
|
|
2299
|
+
if (tag !== 10) {
|
|
2300
|
+
break;
|
|
2301
|
+
}
|
|
2302
|
+
message.label = reader.string();
|
|
2303
|
+
continue;
|
|
2304
|
+
}
|
|
2305
|
+
case 2: {
|
|
2306
|
+
if (tag !== 18) {
|
|
2307
|
+
break;
|
|
2308
|
+
}
|
|
2309
|
+
message.mac = reader.string();
|
|
2310
|
+
continue;
|
|
2311
|
+
}
|
|
2312
|
+
case 3: {
|
|
2313
|
+
if (tag !== 26) {
|
|
2314
|
+
break;
|
|
2315
|
+
}
|
|
2316
|
+
message.room = reader.string();
|
|
2317
|
+
continue;
|
|
2318
|
+
}
|
|
2319
|
+
case 4: {
|
|
2320
|
+
if (tag !== 34) {
|
|
2321
|
+
break;
|
|
2322
|
+
}
|
|
2323
|
+
message.satellite = reader.string();
|
|
2324
|
+
continue;
|
|
2325
|
+
}
|
|
2326
|
+
case 5: {
|
|
2327
|
+
if (tag !== 40) {
|
|
2328
|
+
break;
|
|
2329
|
+
}
|
|
2330
|
+
message.rssi = reader.int32();
|
|
2331
|
+
continue;
|
|
2332
|
+
}
|
|
2333
|
+
}
|
|
2334
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2335
|
+
break;
|
|
2336
|
+
}
|
|
2337
|
+
reader.skip(tag & 7);
|
|
2046
2338
|
}
|
|
2047
|
-
|
|
2339
|
+
return message;
|
|
2340
|
+
}
|
|
2341
|
+
finally {
|
|
2342
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2048
2343
|
}
|
|
2049
|
-
return message;
|
|
2050
2344
|
},
|
|
2051
2345
|
create(base) {
|
|
2052
2346
|
return exports.AgentBleUpdate.fromPartial(base ?? {});
|
|
@@ -2094,74 +2388,84 @@ exports.AgentSensorUpdate = {
|
|
|
2094
2388
|
},
|
|
2095
2389
|
decode(input, length) {
|
|
2096
2390
|
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
|
-
|
|
2391
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2392
|
+
if (previousRecursionDepth >= 100) {
|
|
2393
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2394
|
+
}
|
|
2395
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2396
|
+
try {
|
|
2397
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2398
|
+
const message = createBaseAgentSensorUpdate();
|
|
2399
|
+
while (reader.pos < end) {
|
|
2400
|
+
const tag = reader.uint32();
|
|
2401
|
+
switch (tag >>> 3) {
|
|
2402
|
+
case 1: {
|
|
2403
|
+
if (tag !== 10) {
|
|
2404
|
+
break;
|
|
2405
|
+
}
|
|
2406
|
+
message.device = reader.string();
|
|
2407
|
+
continue;
|
|
2408
|
+
}
|
|
2409
|
+
case 2: {
|
|
2410
|
+
if (tag !== 21) {
|
|
2411
|
+
break;
|
|
2412
|
+
}
|
|
2413
|
+
message.temperature = reader.float();
|
|
2414
|
+
continue;
|
|
2415
|
+
}
|
|
2416
|
+
case 3: {
|
|
2417
|
+
if (tag !== 29) {
|
|
2418
|
+
break;
|
|
2419
|
+
}
|
|
2420
|
+
message.pressure = reader.float();
|
|
2421
|
+
continue;
|
|
2422
|
+
}
|
|
2423
|
+
case 4: {
|
|
2424
|
+
if (tag !== 37) {
|
|
2425
|
+
break;
|
|
2426
|
+
}
|
|
2427
|
+
message.humidity = reader.float();
|
|
2428
|
+
continue;
|
|
2429
|
+
}
|
|
2430
|
+
case 6: {
|
|
2431
|
+
if (tag !== 53) {
|
|
2432
|
+
break;
|
|
2433
|
+
}
|
|
2434
|
+
message.iaq = reader.float();
|
|
2435
|
+
continue;
|
|
2436
|
+
}
|
|
2437
|
+
case 7: {
|
|
2438
|
+
if (tag !== 56) {
|
|
2439
|
+
break;
|
|
2440
|
+
}
|
|
2441
|
+
message.iaqAccuracy = reader.uint32();
|
|
2442
|
+
continue;
|
|
2443
|
+
}
|
|
2444
|
+
case 8: {
|
|
2445
|
+
if (tag !== 69) {
|
|
2446
|
+
break;
|
|
2447
|
+
}
|
|
2448
|
+
message.co2Equiv = reader.float();
|
|
2449
|
+
continue;
|
|
2450
|
+
}
|
|
2451
|
+
case 9: {
|
|
2452
|
+
if (tag !== 77) {
|
|
2453
|
+
break;
|
|
2454
|
+
}
|
|
2455
|
+
message.vocEquiv = reader.float();
|
|
2456
|
+
continue;
|
|
2457
|
+
}
|
|
2458
|
+
}
|
|
2459
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2460
|
+
break;
|
|
2461
|
+
}
|
|
2462
|
+
reader.skip(tag & 7);
|
|
2161
2463
|
}
|
|
2162
|
-
|
|
2464
|
+
return message;
|
|
2465
|
+
}
|
|
2466
|
+
finally {
|
|
2467
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2163
2468
|
}
|
|
2164
|
-
return message;
|
|
2165
2469
|
},
|
|
2166
2470
|
create(base) {
|
|
2167
2471
|
return exports.AgentSensorUpdate.fromPartial(base ?? {});
|