@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/control.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/control.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -27,39 +27,49 @@ exports.SubmitTextRequest = {
|
|
|
27
27
|
},
|
|
28
28
|
decode(input, length) {
|
|
29
29
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
30
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
31
|
+
if (previousRecursionDepth >= 100) {
|
|
32
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
33
|
+
}
|
|
34
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
35
|
+
try {
|
|
36
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
37
|
+
const message = createBaseSubmitTextRequest();
|
|
38
|
+
while (reader.pos < end) {
|
|
39
|
+
const tag = reader.uint32();
|
|
40
|
+
switch (tag >>> 3) {
|
|
41
|
+
case 1: {
|
|
42
|
+
if (tag !== 10) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.text = reader.string();
|
|
46
|
+
continue;
|
|
38
47
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
48
|
+
case 2: {
|
|
49
|
+
if (tag !== 18) {
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
message.sourceService = reader.string();
|
|
53
|
+
continue;
|
|
45
54
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
55
|
+
case 3: {
|
|
56
|
+
if (tag !== 26) {
|
|
57
|
+
break;
|
|
58
|
+
}
|
|
59
|
+
message.sourceUserId = reader.string();
|
|
60
|
+
continue;
|
|
52
61
|
}
|
|
53
|
-
message.sourceUserId = reader.string();
|
|
54
|
-
continue;
|
|
55
62
|
}
|
|
63
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
reader.skip(tag & 7);
|
|
56
67
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
reader.
|
|
68
|
+
return message;
|
|
69
|
+
}
|
|
70
|
+
finally {
|
|
71
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
61
72
|
}
|
|
62
|
-
return message;
|
|
63
73
|
},
|
|
64
74
|
create(base) {
|
|
65
75
|
return exports.SubmitTextRequest.fromPartial(base ?? {});
|
|
@@ -87,32 +97,42 @@ exports.SubmitTextResponse = {
|
|
|
87
97
|
},
|
|
88
98
|
decode(input, length) {
|
|
89
99
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
90
|
-
const
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
100
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
101
|
+
if (previousRecursionDepth >= 100) {
|
|
102
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
103
|
+
}
|
|
104
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
105
|
+
try {
|
|
106
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
107
|
+
const message = createBaseSubmitTextResponse();
|
|
108
|
+
while (reader.pos < end) {
|
|
109
|
+
const tag = reader.uint32();
|
|
110
|
+
switch (tag >>> 3) {
|
|
111
|
+
case 1: {
|
|
112
|
+
if (tag !== 10) {
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
message.answer = reader.string();
|
|
116
|
+
continue;
|
|
98
117
|
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
118
|
+
case 2: {
|
|
119
|
+
if (tag !== 18) {
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
message.intentName = reader.string();
|
|
123
|
+
continue;
|
|
105
124
|
}
|
|
106
|
-
message.intentName = reader.string();
|
|
107
|
-
continue;
|
|
108
125
|
}
|
|
126
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
reader.skip(tag & 7);
|
|
109
130
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
reader.
|
|
131
|
+
return message;
|
|
132
|
+
}
|
|
133
|
+
finally {
|
|
134
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
114
135
|
}
|
|
115
|
-
return message;
|
|
116
136
|
},
|
|
117
137
|
create(base) {
|
|
118
138
|
return exports.SubmitTextResponse.fromPartial(base ?? {});
|
|
@@ -142,39 +162,49 @@ exports.SubmitVoiceRequest = {
|
|
|
142
162
|
},
|
|
143
163
|
decode(input, length) {
|
|
144
164
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
145
|
-
const
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
165
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
166
|
+
if (previousRecursionDepth >= 100) {
|
|
167
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
168
|
+
}
|
|
169
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
170
|
+
try {
|
|
171
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
172
|
+
const message = createBaseSubmitVoiceRequest();
|
|
173
|
+
while (reader.pos < end) {
|
|
174
|
+
const tag = reader.uint32();
|
|
175
|
+
switch (tag >>> 3) {
|
|
176
|
+
case 1: {
|
|
177
|
+
if (tag !== 10) {
|
|
178
|
+
break;
|
|
179
|
+
}
|
|
180
|
+
message.audio = reader.bytes();
|
|
181
|
+
continue;
|
|
153
182
|
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
183
|
+
case 2: {
|
|
184
|
+
if (tag !== 18) {
|
|
185
|
+
break;
|
|
186
|
+
}
|
|
187
|
+
message.sourceService = reader.string();
|
|
188
|
+
continue;
|
|
160
189
|
}
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
190
|
+
case 3: {
|
|
191
|
+
if (tag !== 26) {
|
|
192
|
+
break;
|
|
193
|
+
}
|
|
194
|
+
message.sourceUserId = reader.string();
|
|
195
|
+
continue;
|
|
167
196
|
}
|
|
168
|
-
message.sourceUserId = reader.string();
|
|
169
|
-
continue;
|
|
170
197
|
}
|
|
198
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
reader.skip(tag & 7);
|
|
171
202
|
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
reader.
|
|
203
|
+
return message;
|
|
204
|
+
}
|
|
205
|
+
finally {
|
|
206
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
176
207
|
}
|
|
177
|
-
return message;
|
|
178
208
|
},
|
|
179
209
|
create(base) {
|
|
180
210
|
return exports.SubmitVoiceRequest.fromPartial(base ?? {});
|
|
@@ -208,46 +238,56 @@ exports.SubmitVoiceResponse = {
|
|
|
208
238
|
},
|
|
209
239
|
decode(input, length) {
|
|
210
240
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
211
|
-
const
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
241
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
242
|
+
if (previousRecursionDepth >= 100) {
|
|
243
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
244
|
+
}
|
|
245
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
246
|
+
try {
|
|
247
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
248
|
+
const message = createBaseSubmitVoiceResponse();
|
|
249
|
+
while (reader.pos < end) {
|
|
250
|
+
const tag = reader.uint32();
|
|
251
|
+
switch (tag >>> 3) {
|
|
252
|
+
case 1: {
|
|
253
|
+
if (tag !== 10) {
|
|
254
|
+
break;
|
|
255
|
+
}
|
|
256
|
+
message.transcript = reader.string();
|
|
257
|
+
continue;
|
|
219
258
|
}
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
259
|
+
case 2: {
|
|
260
|
+
if (tag !== 18) {
|
|
261
|
+
break;
|
|
262
|
+
}
|
|
263
|
+
message.answer = reader.string();
|
|
264
|
+
continue;
|
|
226
265
|
}
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
266
|
+
case 3: {
|
|
267
|
+
if (tag !== 26) {
|
|
268
|
+
break;
|
|
269
|
+
}
|
|
270
|
+
message.intentName = reader.string();
|
|
271
|
+
continue;
|
|
233
272
|
}
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
273
|
+
case 4: {
|
|
274
|
+
if (tag !== 34) {
|
|
275
|
+
break;
|
|
276
|
+
}
|
|
277
|
+
message.audioOgg = reader.bytes();
|
|
278
|
+
continue;
|
|
240
279
|
}
|
|
241
|
-
message.audioOgg = reader.bytes();
|
|
242
|
-
continue;
|
|
243
280
|
}
|
|
281
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
282
|
+
break;
|
|
283
|
+
}
|
|
284
|
+
reader.skip(tag & 7);
|
|
244
285
|
}
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
reader.
|
|
286
|
+
return message;
|
|
287
|
+
}
|
|
288
|
+
finally {
|
|
289
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
249
290
|
}
|
|
250
|
-
return message;
|
|
251
291
|
},
|
|
252
292
|
create(base) {
|
|
253
293
|
return exports.SubmitVoiceResponse.fromPartial(base ?? {});
|
|
@@ -282,46 +322,56 @@ exports.AnnounceRequest = {
|
|
|
282
322
|
},
|
|
283
323
|
decode(input, length) {
|
|
284
324
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
285
|
-
const
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
325
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
326
|
+
if (previousRecursionDepth >= 100) {
|
|
327
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
328
|
+
}
|
|
329
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
330
|
+
try {
|
|
331
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
332
|
+
const message = createBaseAnnounceRequest();
|
|
333
|
+
while (reader.pos < end) {
|
|
334
|
+
const tag = reader.uint32();
|
|
335
|
+
switch (tag >>> 3) {
|
|
336
|
+
case 1: {
|
|
337
|
+
if (tag !== 10) {
|
|
338
|
+
break;
|
|
339
|
+
}
|
|
340
|
+
message.text = reader.string();
|
|
341
|
+
continue;
|
|
293
342
|
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
343
|
+
case 2: {
|
|
344
|
+
if (tag !== 18) {
|
|
345
|
+
break;
|
|
346
|
+
}
|
|
347
|
+
message.device = reader.string();
|
|
348
|
+
continue;
|
|
300
349
|
}
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
350
|
+
case 3: {
|
|
351
|
+
if (tag !== 26) {
|
|
352
|
+
break;
|
|
353
|
+
}
|
|
354
|
+
message.roomId = reader.string();
|
|
355
|
+
continue;
|
|
307
356
|
}
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
357
|
+
case 4: {
|
|
358
|
+
if (tag !== 32) {
|
|
359
|
+
break;
|
|
360
|
+
}
|
|
361
|
+
message.userId = reader.int32();
|
|
362
|
+
continue;
|
|
314
363
|
}
|
|
315
|
-
message.userId = reader.int32();
|
|
316
|
-
continue;
|
|
317
364
|
}
|
|
365
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
366
|
+
break;
|
|
367
|
+
}
|
|
368
|
+
reader.skip(tag & 7);
|
|
318
369
|
}
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
reader.
|
|
370
|
+
return message;
|
|
371
|
+
}
|
|
372
|
+
finally {
|
|
373
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
323
374
|
}
|
|
324
|
-
return message;
|
|
325
375
|
},
|
|
326
376
|
create(base) {
|
|
327
377
|
return exports.AnnounceRequest.fromPartial(base ?? {});
|
|
@@ -350,32 +400,42 @@ exports.Room = {
|
|
|
350
400
|
},
|
|
351
401
|
decode(input, length) {
|
|
352
402
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
353
|
-
const
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
403
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
404
|
+
if (previousRecursionDepth >= 100) {
|
|
405
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
406
|
+
}
|
|
407
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
408
|
+
try {
|
|
409
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
410
|
+
const message = createBaseRoom();
|
|
411
|
+
while (reader.pos < end) {
|
|
412
|
+
const tag = reader.uint32();
|
|
413
|
+
switch (tag >>> 3) {
|
|
414
|
+
case 1: {
|
|
415
|
+
if (tag !== 10) {
|
|
416
|
+
break;
|
|
417
|
+
}
|
|
418
|
+
message.roomId = reader.string();
|
|
419
|
+
continue;
|
|
361
420
|
}
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
421
|
+
case 2: {
|
|
422
|
+
if (tag !== 18) {
|
|
423
|
+
break;
|
|
424
|
+
}
|
|
425
|
+
message.displayName = reader.string();
|
|
426
|
+
continue;
|
|
368
427
|
}
|
|
369
|
-
message.displayName = reader.string();
|
|
370
|
-
continue;
|
|
371
428
|
}
|
|
429
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
430
|
+
break;
|
|
431
|
+
}
|
|
432
|
+
reader.skip(tag & 7);
|
|
372
433
|
}
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
reader.
|
|
434
|
+
return message;
|
|
435
|
+
}
|
|
436
|
+
finally {
|
|
437
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
377
438
|
}
|
|
378
|
-
return message;
|
|
379
439
|
},
|
|
380
440
|
create(base) {
|
|
381
441
|
return exports.Room.fromPartial(base ?? {});
|
|
@@ -399,25 +459,35 @@ exports.GetRoomsResponse = {
|
|
|
399
459
|
},
|
|
400
460
|
decode(input, length) {
|
|
401
461
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
402
|
-
const
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
462
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
463
|
+
if (previousRecursionDepth >= 100) {
|
|
464
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
465
|
+
}
|
|
466
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
467
|
+
try {
|
|
468
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
469
|
+
const message = createBaseGetRoomsResponse();
|
|
470
|
+
while (reader.pos < end) {
|
|
471
|
+
const tag = reader.uint32();
|
|
472
|
+
switch (tag >>> 3) {
|
|
473
|
+
case 1: {
|
|
474
|
+
if (tag !== 10) {
|
|
475
|
+
break;
|
|
476
|
+
}
|
|
477
|
+
message.rooms.push(exports.Room.decode(reader, reader.uint32()));
|
|
478
|
+
continue;
|
|
410
479
|
}
|
|
411
|
-
message.rooms.push(exports.Room.decode(reader, reader.uint32()));
|
|
412
|
-
continue;
|
|
413
480
|
}
|
|
481
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
482
|
+
break;
|
|
483
|
+
}
|
|
484
|
+
reader.skip(tag & 7);
|
|
414
485
|
}
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
reader.
|
|
486
|
+
return message;
|
|
487
|
+
}
|
|
488
|
+
finally {
|
|
489
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
419
490
|
}
|
|
420
|
-
return message;
|
|
421
491
|
},
|
|
422
492
|
create(base) {
|
|
423
493
|
return exports.GetRoomsResponse.fromPartial(base ?? {});
|
|
@@ -446,39 +516,49 @@ exports.GroupSatellite = {
|
|
|
446
516
|
},
|
|
447
517
|
decode(input, length) {
|
|
448
518
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
449
|
-
const
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
519
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
520
|
+
if (previousRecursionDepth >= 100) {
|
|
521
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
522
|
+
}
|
|
523
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
524
|
+
try {
|
|
525
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
526
|
+
const message = createBaseGroupSatellite();
|
|
527
|
+
while (reader.pos < end) {
|
|
528
|
+
const tag = reader.uint32();
|
|
529
|
+
switch (tag >>> 3) {
|
|
530
|
+
case 1: {
|
|
531
|
+
if (tag !== 10) {
|
|
532
|
+
break;
|
|
533
|
+
}
|
|
534
|
+
message.deviceId = reader.string();
|
|
535
|
+
continue;
|
|
457
536
|
}
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
537
|
+
case 2: {
|
|
538
|
+
if (tag !== 18) {
|
|
539
|
+
break;
|
|
540
|
+
}
|
|
541
|
+
message.displayName = reader.string();
|
|
542
|
+
continue;
|
|
464
543
|
}
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
544
|
+
case 3: {
|
|
545
|
+
if (tag !== 26) {
|
|
546
|
+
break;
|
|
547
|
+
}
|
|
548
|
+
message.roomId = reader.string();
|
|
549
|
+
continue;
|
|
471
550
|
}
|
|
472
|
-
message.roomId = reader.string();
|
|
473
|
-
continue;
|
|
474
551
|
}
|
|
552
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
553
|
+
break;
|
|
554
|
+
}
|
|
555
|
+
reader.skip(tag & 7);
|
|
475
556
|
}
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
reader.
|
|
557
|
+
return message;
|
|
558
|
+
}
|
|
559
|
+
finally {
|
|
560
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
480
561
|
}
|
|
481
|
-
return message;
|
|
482
562
|
},
|
|
483
563
|
create(base) {
|
|
484
564
|
return exports.GroupSatellite.fromPartial(base ?? {});
|
|
@@ -509,39 +589,49 @@ exports.Group = {
|
|
|
509
589
|
},
|
|
510
590
|
decode(input, length) {
|
|
511
591
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
512
|
-
const
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
592
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
593
|
+
if (previousRecursionDepth >= 100) {
|
|
594
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
595
|
+
}
|
|
596
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
597
|
+
try {
|
|
598
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
599
|
+
const message = createBaseGroup();
|
|
600
|
+
while (reader.pos < end) {
|
|
601
|
+
const tag = reader.uint32();
|
|
602
|
+
switch (tag >>> 3) {
|
|
603
|
+
case 1: {
|
|
604
|
+
if (tag !== 10) {
|
|
605
|
+
break;
|
|
606
|
+
}
|
|
607
|
+
message.groupId = reader.string();
|
|
608
|
+
continue;
|
|
520
609
|
}
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
610
|
+
case 2: {
|
|
611
|
+
if (tag !== 18) {
|
|
612
|
+
break;
|
|
613
|
+
}
|
|
614
|
+
message.displayName = reader.string();
|
|
615
|
+
continue;
|
|
527
616
|
}
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
617
|
+
case 3: {
|
|
618
|
+
if (tag !== 26) {
|
|
619
|
+
break;
|
|
620
|
+
}
|
|
621
|
+
message.satellites.push(exports.GroupSatellite.decode(reader, reader.uint32()));
|
|
622
|
+
continue;
|
|
534
623
|
}
|
|
535
|
-
message.satellites.push(exports.GroupSatellite.decode(reader, reader.uint32()));
|
|
536
|
-
continue;
|
|
537
624
|
}
|
|
625
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
626
|
+
break;
|
|
627
|
+
}
|
|
628
|
+
reader.skip(tag & 7);
|
|
538
629
|
}
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
reader.
|
|
630
|
+
return message;
|
|
631
|
+
}
|
|
632
|
+
finally {
|
|
633
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
543
634
|
}
|
|
544
|
-
return message;
|
|
545
635
|
},
|
|
546
636
|
create(base) {
|
|
547
637
|
return exports.Group.fromPartial(base ?? {});
|
|
@@ -566,25 +656,35 @@ exports.GetGroupsResponse = {
|
|
|
566
656
|
},
|
|
567
657
|
decode(input, length) {
|
|
568
658
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
569
|
-
const
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
659
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
660
|
+
if (previousRecursionDepth >= 100) {
|
|
661
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
662
|
+
}
|
|
663
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
664
|
+
try {
|
|
665
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
666
|
+
const message = createBaseGetGroupsResponse();
|
|
667
|
+
while (reader.pos < end) {
|
|
668
|
+
const tag = reader.uint32();
|
|
669
|
+
switch (tag >>> 3) {
|
|
670
|
+
case 1: {
|
|
671
|
+
if (tag !== 10) {
|
|
672
|
+
break;
|
|
673
|
+
}
|
|
674
|
+
message.groups.push(exports.Group.decode(reader, reader.uint32()));
|
|
675
|
+
continue;
|
|
577
676
|
}
|
|
578
|
-
message.groups.push(exports.Group.decode(reader, reader.uint32()));
|
|
579
|
-
continue;
|
|
580
677
|
}
|
|
678
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
679
|
+
break;
|
|
680
|
+
}
|
|
681
|
+
reader.skip(tag & 7);
|
|
581
682
|
}
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
reader.
|
|
683
|
+
return message;
|
|
684
|
+
}
|
|
685
|
+
finally {
|
|
686
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
586
687
|
}
|
|
587
|
-
return message;
|
|
588
688
|
},
|
|
589
689
|
create(base) {
|
|
590
690
|
return exports.GetGroupsResponse.fromPartial(base ?? {});
|
|
@@ -610,32 +710,42 @@ exports.CreateGroupRequest = {
|
|
|
610
710
|
},
|
|
611
711
|
decode(input, length) {
|
|
612
712
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
613
|
-
const
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
713
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
714
|
+
if (previousRecursionDepth >= 100) {
|
|
715
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
716
|
+
}
|
|
717
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
718
|
+
try {
|
|
719
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
720
|
+
const message = createBaseCreateGroupRequest();
|
|
721
|
+
while (reader.pos < end) {
|
|
722
|
+
const tag = reader.uint32();
|
|
723
|
+
switch (tag >>> 3) {
|
|
724
|
+
case 1: {
|
|
725
|
+
if (tag !== 10) {
|
|
726
|
+
break;
|
|
727
|
+
}
|
|
728
|
+
message.groupId = reader.string();
|
|
729
|
+
continue;
|
|
621
730
|
}
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
731
|
+
case 2: {
|
|
732
|
+
if (tag !== 18) {
|
|
733
|
+
break;
|
|
734
|
+
}
|
|
735
|
+
message.displayName = reader.string();
|
|
736
|
+
continue;
|
|
628
737
|
}
|
|
629
|
-
message.displayName = reader.string();
|
|
630
|
-
continue;
|
|
631
738
|
}
|
|
739
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
740
|
+
break;
|
|
741
|
+
}
|
|
742
|
+
reader.skip(tag & 7);
|
|
632
743
|
}
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
reader.
|
|
744
|
+
return message;
|
|
745
|
+
}
|
|
746
|
+
finally {
|
|
747
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
637
748
|
}
|
|
638
|
-
return message;
|
|
639
749
|
},
|
|
640
750
|
create(base) {
|
|
641
751
|
return exports.CreateGroupRequest.fromPartial(base ?? {});
|
|
@@ -662,32 +772,42 @@ exports.UpdateGroupRequest = {
|
|
|
662
772
|
},
|
|
663
773
|
decode(input, length) {
|
|
664
774
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
665
|
-
const
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
775
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
776
|
+
if (previousRecursionDepth >= 100) {
|
|
777
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
778
|
+
}
|
|
779
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
780
|
+
try {
|
|
781
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
782
|
+
const message = createBaseUpdateGroupRequest();
|
|
783
|
+
while (reader.pos < end) {
|
|
784
|
+
const tag = reader.uint32();
|
|
785
|
+
switch (tag >>> 3) {
|
|
786
|
+
case 1: {
|
|
787
|
+
if (tag !== 10) {
|
|
788
|
+
break;
|
|
789
|
+
}
|
|
790
|
+
message.groupId = reader.string();
|
|
791
|
+
continue;
|
|
673
792
|
}
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
793
|
+
case 2: {
|
|
794
|
+
if (tag !== 18) {
|
|
795
|
+
break;
|
|
796
|
+
}
|
|
797
|
+
message.displayName = reader.string();
|
|
798
|
+
continue;
|
|
680
799
|
}
|
|
681
|
-
message.displayName = reader.string();
|
|
682
|
-
continue;
|
|
683
800
|
}
|
|
801
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
802
|
+
break;
|
|
803
|
+
}
|
|
804
|
+
reader.skip(tag & 7);
|
|
684
805
|
}
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
reader.
|
|
806
|
+
return message;
|
|
807
|
+
}
|
|
808
|
+
finally {
|
|
809
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
689
810
|
}
|
|
690
|
-
return message;
|
|
691
811
|
},
|
|
692
812
|
create(base) {
|
|
693
813
|
return exports.UpdateGroupRequest.fromPartial(base ?? {});
|
|
@@ -711,25 +831,35 @@ exports.DeleteGroupRequest = {
|
|
|
711
831
|
},
|
|
712
832
|
decode(input, length) {
|
|
713
833
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
714
|
-
const
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
834
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
835
|
+
if (previousRecursionDepth >= 100) {
|
|
836
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
837
|
+
}
|
|
838
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
839
|
+
try {
|
|
840
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
841
|
+
const message = createBaseDeleteGroupRequest();
|
|
842
|
+
while (reader.pos < end) {
|
|
843
|
+
const tag = reader.uint32();
|
|
844
|
+
switch (tag >>> 3) {
|
|
845
|
+
case 1: {
|
|
846
|
+
if (tag !== 10) {
|
|
847
|
+
break;
|
|
848
|
+
}
|
|
849
|
+
message.groupId = reader.string();
|
|
850
|
+
continue;
|
|
722
851
|
}
|
|
723
|
-
message.groupId = reader.string();
|
|
724
|
-
continue;
|
|
725
852
|
}
|
|
853
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
854
|
+
break;
|
|
855
|
+
}
|
|
856
|
+
reader.skip(tag & 7);
|
|
726
857
|
}
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
reader.
|
|
858
|
+
return message;
|
|
859
|
+
}
|
|
860
|
+
finally {
|
|
861
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
731
862
|
}
|
|
732
|
-
return message;
|
|
733
863
|
},
|
|
734
864
|
create(base) {
|
|
735
865
|
return exports.DeleteGroupRequest.fromPartial(base ?? {});
|
|
@@ -755,32 +885,42 @@ exports.SetGroupSatellitesRequest = {
|
|
|
755
885
|
},
|
|
756
886
|
decode(input, length) {
|
|
757
887
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
758
|
-
const
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
888
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
889
|
+
if (previousRecursionDepth >= 100) {
|
|
890
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
891
|
+
}
|
|
892
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
893
|
+
try {
|
|
894
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
895
|
+
const message = createBaseSetGroupSatellitesRequest();
|
|
896
|
+
while (reader.pos < end) {
|
|
897
|
+
const tag = reader.uint32();
|
|
898
|
+
switch (tag >>> 3) {
|
|
899
|
+
case 1: {
|
|
900
|
+
if (tag !== 10) {
|
|
901
|
+
break;
|
|
902
|
+
}
|
|
903
|
+
message.groupId = reader.string();
|
|
904
|
+
continue;
|
|
766
905
|
}
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
906
|
+
case 2: {
|
|
907
|
+
if (tag !== 18) {
|
|
908
|
+
break;
|
|
909
|
+
}
|
|
910
|
+
message.deviceIds.push(reader.string());
|
|
911
|
+
continue;
|
|
773
912
|
}
|
|
774
|
-
message.deviceIds.push(reader.string());
|
|
775
|
-
continue;
|
|
776
913
|
}
|
|
914
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
915
|
+
break;
|
|
916
|
+
}
|
|
917
|
+
reader.skip(tag & 7);
|
|
777
918
|
}
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
reader.
|
|
919
|
+
return message;
|
|
920
|
+
}
|
|
921
|
+
finally {
|
|
922
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
782
923
|
}
|
|
783
|
-
return message;
|
|
784
924
|
},
|
|
785
925
|
create(base) {
|
|
786
926
|
return exports.SetGroupSatellitesRequest.fromPartial(base ?? {});
|
|
@@ -846,95 +986,105 @@ exports.Trigger = {
|
|
|
846
986
|
},
|
|
847
987
|
decode(input, length) {
|
|
848
988
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
849
|
-
const
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
989
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
990
|
+
if (previousRecursionDepth >= 100) {
|
|
991
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
992
|
+
}
|
|
993
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
994
|
+
try {
|
|
995
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
996
|
+
const message = createBaseTrigger();
|
|
997
|
+
while (reader.pos < end) {
|
|
998
|
+
const tag = reader.uint32();
|
|
999
|
+
switch (tag >>> 3) {
|
|
1000
|
+
case 1: {
|
|
1001
|
+
if (tag !== 10) {
|
|
1002
|
+
break;
|
|
1003
|
+
}
|
|
1004
|
+
message.id = reader.string();
|
|
1005
|
+
continue;
|
|
857
1006
|
}
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
1007
|
+
case 2: {
|
|
1008
|
+
if (tag !== 18) {
|
|
1009
|
+
break;
|
|
1010
|
+
}
|
|
1011
|
+
message.whenJson = reader.string();
|
|
1012
|
+
continue;
|
|
864
1013
|
}
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
1014
|
+
case 3: {
|
|
1015
|
+
if (tag !== 26) {
|
|
1016
|
+
break;
|
|
1017
|
+
}
|
|
1018
|
+
message.cancelWhenJson = reader.string();
|
|
1019
|
+
continue;
|
|
871
1020
|
}
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
1021
|
+
case 4: {
|
|
1022
|
+
if (tag !== 34) {
|
|
1023
|
+
break;
|
|
1024
|
+
}
|
|
1025
|
+
message.onResponseJson = reader.string();
|
|
1026
|
+
continue;
|
|
878
1027
|
}
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
1028
|
+
case 5: {
|
|
1029
|
+
if (tag !== 42) {
|
|
1030
|
+
break;
|
|
1031
|
+
}
|
|
1032
|
+
message.say = reader.string();
|
|
1033
|
+
continue;
|
|
885
1034
|
}
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
1035
|
+
case 6: {
|
|
1036
|
+
if (tag !== 50) {
|
|
1037
|
+
break;
|
|
1038
|
+
}
|
|
1039
|
+
message.ask = reader.string();
|
|
1040
|
+
continue;
|
|
892
1041
|
}
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
1042
|
+
case 7: {
|
|
1043
|
+
if (tag !== 56) {
|
|
1044
|
+
break;
|
|
1045
|
+
}
|
|
1046
|
+
message.rephrase = reader.bool();
|
|
1047
|
+
continue;
|
|
899
1048
|
}
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
1049
|
+
case 8: {
|
|
1050
|
+
if (tag !== 66) {
|
|
1051
|
+
break;
|
|
1052
|
+
}
|
|
1053
|
+
message.room = reader.string();
|
|
1054
|
+
continue;
|
|
906
1055
|
}
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
1056
|
+
case 9: {
|
|
1057
|
+
if (tag !== 72) {
|
|
1058
|
+
break;
|
|
1059
|
+
}
|
|
1060
|
+
message.cooldown = reader.int32();
|
|
1061
|
+
continue;
|
|
913
1062
|
}
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
1063
|
+
case 10: {
|
|
1064
|
+
if (tag !== 82) {
|
|
1065
|
+
break;
|
|
1066
|
+
}
|
|
1067
|
+
message.delay = reader.string();
|
|
1068
|
+
continue;
|
|
920
1069
|
}
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
1070
|
+
case 11: {
|
|
1071
|
+
if (tag !== 90) {
|
|
1072
|
+
break;
|
|
1073
|
+
}
|
|
1074
|
+
message.actionsJson = reader.string();
|
|
1075
|
+
continue;
|
|
927
1076
|
}
|
|
928
|
-
message.actionsJson = reader.string();
|
|
929
|
-
continue;
|
|
930
1077
|
}
|
|
1078
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1079
|
+
break;
|
|
1080
|
+
}
|
|
1081
|
+
reader.skip(tag & 7);
|
|
931
1082
|
}
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
reader.
|
|
1083
|
+
return message;
|
|
1084
|
+
}
|
|
1085
|
+
finally {
|
|
1086
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
936
1087
|
}
|
|
937
|
-
return message;
|
|
938
1088
|
},
|
|
939
1089
|
create(base) {
|
|
940
1090
|
return exports.Trigger.fromPartial(base ?? {});
|
|
@@ -967,25 +1117,35 @@ exports.GetTriggersResponse = {
|
|
|
967
1117
|
},
|
|
968
1118
|
decode(input, length) {
|
|
969
1119
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
970
|
-
const
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
1120
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1121
|
+
if (previousRecursionDepth >= 100) {
|
|
1122
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1123
|
+
}
|
|
1124
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1125
|
+
try {
|
|
1126
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1127
|
+
const message = createBaseGetTriggersResponse();
|
|
1128
|
+
while (reader.pos < end) {
|
|
1129
|
+
const tag = reader.uint32();
|
|
1130
|
+
switch (tag >>> 3) {
|
|
1131
|
+
case 1: {
|
|
1132
|
+
if (tag !== 10) {
|
|
1133
|
+
break;
|
|
1134
|
+
}
|
|
1135
|
+
message.triggers.push(exports.Trigger.decode(reader, reader.uint32()));
|
|
1136
|
+
continue;
|
|
978
1137
|
}
|
|
979
|
-
message.triggers.push(exports.Trigger.decode(reader, reader.uint32()));
|
|
980
|
-
continue;
|
|
981
1138
|
}
|
|
1139
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1140
|
+
break;
|
|
1141
|
+
}
|
|
1142
|
+
reader.skip(tag & 7);
|
|
982
1143
|
}
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
reader.
|
|
1144
|
+
return message;
|
|
1145
|
+
}
|
|
1146
|
+
finally {
|
|
1147
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
987
1148
|
}
|
|
988
|
-
return message;
|
|
989
1149
|
},
|
|
990
1150
|
create(base) {
|
|
991
1151
|
return exports.GetTriggersResponse.fromPartial(base ?? {});
|
|
@@ -1050,95 +1210,105 @@ exports.CreateTriggerRequest = {
|
|
|
1050
1210
|
},
|
|
1051
1211
|
decode(input, length) {
|
|
1052
1212
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1053
|
-
const
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1213
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1214
|
+
if (previousRecursionDepth >= 100) {
|
|
1215
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1216
|
+
}
|
|
1217
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1218
|
+
try {
|
|
1219
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1220
|
+
const message = createBaseCreateTriggerRequest();
|
|
1221
|
+
while (reader.pos < end) {
|
|
1222
|
+
const tag = reader.uint32();
|
|
1223
|
+
switch (tag >>> 3) {
|
|
1224
|
+
case 1: {
|
|
1225
|
+
if (tag !== 10) {
|
|
1226
|
+
break;
|
|
1227
|
+
}
|
|
1228
|
+
message.id = reader.string();
|
|
1229
|
+
continue;
|
|
1061
1230
|
}
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1231
|
+
case 2: {
|
|
1232
|
+
if (tag !== 18) {
|
|
1233
|
+
break;
|
|
1234
|
+
}
|
|
1235
|
+
message.whenJson = reader.string();
|
|
1236
|
+
continue;
|
|
1068
1237
|
}
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1238
|
+
case 3: {
|
|
1239
|
+
if (tag !== 26) {
|
|
1240
|
+
break;
|
|
1241
|
+
}
|
|
1242
|
+
message.cancelWhenJson = reader.string();
|
|
1243
|
+
continue;
|
|
1075
1244
|
}
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1245
|
+
case 4: {
|
|
1246
|
+
if (tag !== 34) {
|
|
1247
|
+
break;
|
|
1248
|
+
}
|
|
1249
|
+
message.onResponseJson = reader.string();
|
|
1250
|
+
continue;
|
|
1082
1251
|
}
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1252
|
+
case 5: {
|
|
1253
|
+
if (tag !== 42) {
|
|
1254
|
+
break;
|
|
1255
|
+
}
|
|
1256
|
+
message.say = reader.string();
|
|
1257
|
+
continue;
|
|
1089
1258
|
}
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1259
|
+
case 6: {
|
|
1260
|
+
if (tag !== 50) {
|
|
1261
|
+
break;
|
|
1262
|
+
}
|
|
1263
|
+
message.ask = reader.string();
|
|
1264
|
+
continue;
|
|
1096
1265
|
}
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1266
|
+
case 7: {
|
|
1267
|
+
if (tag !== 56) {
|
|
1268
|
+
break;
|
|
1269
|
+
}
|
|
1270
|
+
message.rephrase = reader.bool();
|
|
1271
|
+
continue;
|
|
1103
1272
|
}
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1273
|
+
case 8: {
|
|
1274
|
+
if (tag !== 66) {
|
|
1275
|
+
break;
|
|
1276
|
+
}
|
|
1277
|
+
message.room = reader.string();
|
|
1278
|
+
continue;
|
|
1110
1279
|
}
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1280
|
+
case 9: {
|
|
1281
|
+
if (tag !== 72) {
|
|
1282
|
+
break;
|
|
1283
|
+
}
|
|
1284
|
+
message.cooldown = reader.int32();
|
|
1285
|
+
continue;
|
|
1117
1286
|
}
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1287
|
+
case 10: {
|
|
1288
|
+
if (tag !== 82) {
|
|
1289
|
+
break;
|
|
1290
|
+
}
|
|
1291
|
+
message.delay = reader.string();
|
|
1292
|
+
continue;
|
|
1124
1293
|
}
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1294
|
+
case 11: {
|
|
1295
|
+
if (tag !== 90) {
|
|
1296
|
+
break;
|
|
1297
|
+
}
|
|
1298
|
+
message.actionsJson = reader.string();
|
|
1299
|
+
continue;
|
|
1131
1300
|
}
|
|
1132
|
-
message.actionsJson = reader.string();
|
|
1133
|
-
continue;
|
|
1134
1301
|
}
|
|
1302
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1303
|
+
break;
|
|
1304
|
+
}
|
|
1305
|
+
reader.skip(tag & 7);
|
|
1135
1306
|
}
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
reader.
|
|
1307
|
+
return message;
|
|
1308
|
+
}
|
|
1309
|
+
finally {
|
|
1310
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1140
1311
|
}
|
|
1141
|
-
return message;
|
|
1142
1312
|
},
|
|
1143
1313
|
create(base) {
|
|
1144
1314
|
return exports.CreateTriggerRequest.fromPartial(base ?? {});
|
|
@@ -1213,95 +1383,105 @@ exports.UpdateTriggerRequest = {
|
|
|
1213
1383
|
},
|
|
1214
1384
|
decode(input, length) {
|
|
1215
1385
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1216
|
-
const
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1386
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1387
|
+
if (previousRecursionDepth >= 100) {
|
|
1388
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1389
|
+
}
|
|
1390
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1391
|
+
try {
|
|
1392
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1393
|
+
const message = createBaseUpdateTriggerRequest();
|
|
1394
|
+
while (reader.pos < end) {
|
|
1395
|
+
const tag = reader.uint32();
|
|
1396
|
+
switch (tag >>> 3) {
|
|
1397
|
+
case 1: {
|
|
1398
|
+
if (tag !== 10) {
|
|
1399
|
+
break;
|
|
1400
|
+
}
|
|
1401
|
+
message.id = reader.string();
|
|
1402
|
+
continue;
|
|
1224
1403
|
}
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1404
|
+
case 2: {
|
|
1405
|
+
if (tag !== 18) {
|
|
1406
|
+
break;
|
|
1407
|
+
}
|
|
1408
|
+
message.whenJson = reader.string();
|
|
1409
|
+
continue;
|
|
1231
1410
|
}
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1411
|
+
case 3: {
|
|
1412
|
+
if (tag !== 26) {
|
|
1413
|
+
break;
|
|
1414
|
+
}
|
|
1415
|
+
message.cancelWhenJson = reader.string();
|
|
1416
|
+
continue;
|
|
1238
1417
|
}
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1418
|
+
case 4: {
|
|
1419
|
+
if (tag !== 34) {
|
|
1420
|
+
break;
|
|
1421
|
+
}
|
|
1422
|
+
message.onResponseJson = reader.string();
|
|
1423
|
+
continue;
|
|
1245
1424
|
}
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1425
|
+
case 5: {
|
|
1426
|
+
if (tag !== 42) {
|
|
1427
|
+
break;
|
|
1428
|
+
}
|
|
1429
|
+
message.say = reader.string();
|
|
1430
|
+
continue;
|
|
1252
1431
|
}
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1432
|
+
case 6: {
|
|
1433
|
+
if (tag !== 50) {
|
|
1434
|
+
break;
|
|
1435
|
+
}
|
|
1436
|
+
message.ask = reader.string();
|
|
1437
|
+
continue;
|
|
1259
1438
|
}
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1439
|
+
case 7: {
|
|
1440
|
+
if (tag !== 56) {
|
|
1441
|
+
break;
|
|
1442
|
+
}
|
|
1443
|
+
message.rephrase = reader.bool();
|
|
1444
|
+
continue;
|
|
1266
1445
|
}
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1446
|
+
case 8: {
|
|
1447
|
+
if (tag !== 66) {
|
|
1448
|
+
break;
|
|
1449
|
+
}
|
|
1450
|
+
message.room = reader.string();
|
|
1451
|
+
continue;
|
|
1273
1452
|
}
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1453
|
+
case 9: {
|
|
1454
|
+
if (tag !== 72) {
|
|
1455
|
+
break;
|
|
1456
|
+
}
|
|
1457
|
+
message.cooldown = reader.int32();
|
|
1458
|
+
continue;
|
|
1280
1459
|
}
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1460
|
+
case 10: {
|
|
1461
|
+
if (tag !== 82) {
|
|
1462
|
+
break;
|
|
1463
|
+
}
|
|
1464
|
+
message.delay = reader.string();
|
|
1465
|
+
continue;
|
|
1287
1466
|
}
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1467
|
+
case 11: {
|
|
1468
|
+
if (tag !== 90) {
|
|
1469
|
+
break;
|
|
1470
|
+
}
|
|
1471
|
+
message.actionsJson = reader.string();
|
|
1472
|
+
continue;
|
|
1294
1473
|
}
|
|
1295
|
-
message.actionsJson = reader.string();
|
|
1296
|
-
continue;
|
|
1297
1474
|
}
|
|
1475
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1476
|
+
break;
|
|
1477
|
+
}
|
|
1478
|
+
reader.skip(tag & 7);
|
|
1298
1479
|
}
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
reader.
|
|
1480
|
+
return message;
|
|
1481
|
+
}
|
|
1482
|
+
finally {
|
|
1483
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1303
1484
|
}
|
|
1304
|
-
return message;
|
|
1305
1485
|
},
|
|
1306
1486
|
create(base) {
|
|
1307
1487
|
return exports.UpdateTriggerRequest.fromPartial(base ?? {});
|
|
@@ -1334,25 +1514,35 @@ exports.DeleteTriggerRequest = {
|
|
|
1334
1514
|
},
|
|
1335
1515
|
decode(input, length) {
|
|
1336
1516
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1337
|
-
const
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1517
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1518
|
+
if (previousRecursionDepth >= 100) {
|
|
1519
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1520
|
+
}
|
|
1521
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1522
|
+
try {
|
|
1523
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1524
|
+
const message = createBaseDeleteTriggerRequest();
|
|
1525
|
+
while (reader.pos < end) {
|
|
1526
|
+
const tag = reader.uint32();
|
|
1527
|
+
switch (tag >>> 3) {
|
|
1528
|
+
case 1: {
|
|
1529
|
+
if (tag !== 10) {
|
|
1530
|
+
break;
|
|
1531
|
+
}
|
|
1532
|
+
message.id = reader.string();
|
|
1533
|
+
continue;
|
|
1345
1534
|
}
|
|
1346
|
-
message.id = reader.string();
|
|
1347
|
-
continue;
|
|
1348
1535
|
}
|
|
1536
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1537
|
+
break;
|
|
1538
|
+
}
|
|
1539
|
+
reader.skip(tag & 7);
|
|
1349
1540
|
}
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
reader.
|
|
1541
|
+
return message;
|
|
1542
|
+
}
|
|
1543
|
+
finally {
|
|
1544
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1354
1545
|
}
|
|
1355
|
-
return message;
|
|
1356
1546
|
},
|
|
1357
1547
|
create(base) {
|
|
1358
1548
|
return exports.DeleteTriggerRequest.fromPartial(base ?? {});
|
|
@@ -1411,88 +1601,98 @@ exports.Alarm = {
|
|
|
1411
1601
|
},
|
|
1412
1602
|
decode(input, length) {
|
|
1413
1603
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1414
|
-
const
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1604
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1605
|
+
if (previousRecursionDepth >= 100) {
|
|
1606
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1607
|
+
}
|
|
1608
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1609
|
+
try {
|
|
1610
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1611
|
+
const message = createBaseAlarm();
|
|
1612
|
+
while (reader.pos < end) {
|
|
1613
|
+
const tag = reader.uint32();
|
|
1614
|
+
switch (tag >>> 3) {
|
|
1615
|
+
case 1: {
|
|
1616
|
+
if (tag !== 8) {
|
|
1617
|
+
break;
|
|
1618
|
+
}
|
|
1619
|
+
message.id = reader.int32();
|
|
1620
|
+
continue;
|
|
1429
1621
|
}
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1622
|
+
case 2: {
|
|
1623
|
+
if (tag !== 18) {
|
|
1624
|
+
break;
|
|
1625
|
+
}
|
|
1626
|
+
message.satelliteId = reader.string();
|
|
1627
|
+
continue;
|
|
1436
1628
|
}
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
message.weekdays.push(reader.int32());
|
|
1629
|
+
case 3: {
|
|
1630
|
+
if (tag !== 26) {
|
|
1631
|
+
break;
|
|
1632
|
+
}
|
|
1633
|
+
message.time = reader.string();
|
|
1443
1634
|
continue;
|
|
1444
1635
|
}
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
while (reader.pos < end2) {
|
|
1636
|
+
case 4: {
|
|
1637
|
+
if (tag === 32) {
|
|
1448
1638
|
message.weekdays.push(reader.int32());
|
|
1639
|
+
continue;
|
|
1449
1640
|
}
|
|
1641
|
+
if (tag === 34) {
|
|
1642
|
+
const end2 = reader.uint32() + reader.pos;
|
|
1643
|
+
while (reader.pos < end2) {
|
|
1644
|
+
message.weekdays.push(reader.int32());
|
|
1645
|
+
}
|
|
1646
|
+
continue;
|
|
1647
|
+
}
|
|
1648
|
+
break;
|
|
1649
|
+
}
|
|
1650
|
+
case 5: {
|
|
1651
|
+
if (tag !== 42) {
|
|
1652
|
+
break;
|
|
1653
|
+
}
|
|
1654
|
+
message.skipDates.push(reader.string());
|
|
1450
1655
|
continue;
|
|
1451
1656
|
}
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1657
|
+
case 6: {
|
|
1658
|
+
if (tag !== 50) {
|
|
1659
|
+
break;
|
|
1660
|
+
}
|
|
1661
|
+
message.oneShotDate = reader.string();
|
|
1662
|
+
continue;
|
|
1457
1663
|
}
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1664
|
+
case 7: {
|
|
1665
|
+
if (tag !== 56) {
|
|
1666
|
+
break;
|
|
1667
|
+
}
|
|
1668
|
+
message.enabled = reader.bool();
|
|
1669
|
+
continue;
|
|
1464
1670
|
}
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1671
|
+
case 8: {
|
|
1672
|
+
if (tag !== 66) {
|
|
1673
|
+
break;
|
|
1674
|
+
}
|
|
1675
|
+
message.label = reader.string();
|
|
1676
|
+
continue;
|
|
1471
1677
|
}
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1678
|
+
case 9: {
|
|
1679
|
+
if (tag !== 72) {
|
|
1680
|
+
break;
|
|
1681
|
+
}
|
|
1682
|
+
message.userId = reader.int32();
|
|
1683
|
+
continue;
|
|
1478
1684
|
}
|
|
1479
|
-
message.label = reader.string();
|
|
1480
|
-
continue;
|
|
1481
1685
|
}
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
break;
|
|
1485
|
-
}
|
|
1486
|
-
message.userId = reader.int32();
|
|
1487
|
-
continue;
|
|
1686
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1687
|
+
break;
|
|
1488
1688
|
}
|
|
1689
|
+
reader.skip(tag & 7);
|
|
1489
1690
|
}
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
reader.
|
|
1691
|
+
return message;
|
|
1692
|
+
}
|
|
1693
|
+
finally {
|
|
1694
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1494
1695
|
}
|
|
1495
|
-
return message;
|
|
1496
1696
|
},
|
|
1497
1697
|
create(base) {
|
|
1498
1698
|
return exports.Alarm.fromPartial(base ?? {});
|
|
@@ -1523,25 +1723,35 @@ exports.GetAlarmsResponse = {
|
|
|
1523
1723
|
},
|
|
1524
1724
|
decode(input, length) {
|
|
1525
1725
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1526
|
-
const
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1726
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1727
|
+
if (previousRecursionDepth >= 100) {
|
|
1728
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1729
|
+
}
|
|
1730
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1731
|
+
try {
|
|
1732
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1733
|
+
const message = createBaseGetAlarmsResponse();
|
|
1734
|
+
while (reader.pos < end) {
|
|
1735
|
+
const tag = reader.uint32();
|
|
1736
|
+
switch (tag >>> 3) {
|
|
1737
|
+
case 1: {
|
|
1738
|
+
if (tag !== 10) {
|
|
1739
|
+
break;
|
|
1740
|
+
}
|
|
1741
|
+
message.alarms.push(exports.Alarm.decode(reader, reader.uint32()));
|
|
1742
|
+
continue;
|
|
1534
1743
|
}
|
|
1535
|
-
message.alarms.push(exports.Alarm.decode(reader, reader.uint32()));
|
|
1536
|
-
continue;
|
|
1537
1744
|
}
|
|
1745
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1746
|
+
break;
|
|
1747
|
+
}
|
|
1748
|
+
reader.skip(tag & 7);
|
|
1538
1749
|
}
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
reader.
|
|
1750
|
+
return message;
|
|
1751
|
+
}
|
|
1752
|
+
finally {
|
|
1753
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1543
1754
|
}
|
|
1544
|
-
return message;
|
|
1545
1755
|
},
|
|
1546
1756
|
create(base) {
|
|
1547
1757
|
return exports.GetAlarmsResponse.fromPartial(base ?? {});
|
|
@@ -1581,67 +1791,77 @@ exports.CreateAlarmRequest = {
|
|
|
1581
1791
|
},
|
|
1582
1792
|
decode(input, length) {
|
|
1583
1793
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1584
|
-
const
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1794
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1795
|
+
if (previousRecursionDepth >= 100) {
|
|
1796
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1797
|
+
}
|
|
1798
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1799
|
+
try {
|
|
1800
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1801
|
+
const message = createBaseCreateAlarmRequest();
|
|
1802
|
+
while (reader.pos < end) {
|
|
1803
|
+
const tag = reader.uint32();
|
|
1804
|
+
switch (tag >>> 3) {
|
|
1805
|
+
case 1: {
|
|
1806
|
+
if (tag !== 10) {
|
|
1807
|
+
break;
|
|
1808
|
+
}
|
|
1809
|
+
message.satelliteId = reader.string();
|
|
1810
|
+
continue;
|
|
1599
1811
|
}
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
message.weekdays.push(reader.int32());
|
|
1812
|
+
case 2: {
|
|
1813
|
+
if (tag !== 18) {
|
|
1814
|
+
break;
|
|
1815
|
+
}
|
|
1816
|
+
message.time = reader.string();
|
|
1606
1817
|
continue;
|
|
1607
1818
|
}
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
while (reader.pos < end2) {
|
|
1819
|
+
case 3: {
|
|
1820
|
+
if (tag === 24) {
|
|
1611
1821
|
message.weekdays.push(reader.int32());
|
|
1822
|
+
continue;
|
|
1823
|
+
}
|
|
1824
|
+
if (tag === 26) {
|
|
1825
|
+
const end2 = reader.uint32() + reader.pos;
|
|
1826
|
+
while (reader.pos < end2) {
|
|
1827
|
+
message.weekdays.push(reader.int32());
|
|
1828
|
+
}
|
|
1829
|
+
continue;
|
|
1612
1830
|
}
|
|
1831
|
+
break;
|
|
1832
|
+
}
|
|
1833
|
+
case 4: {
|
|
1834
|
+
if (tag !== 34) {
|
|
1835
|
+
break;
|
|
1836
|
+
}
|
|
1837
|
+
message.oneShotDate = reader.string();
|
|
1613
1838
|
continue;
|
|
1614
1839
|
}
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1840
|
+
case 5: {
|
|
1841
|
+
if (tag !== 42) {
|
|
1842
|
+
break;
|
|
1843
|
+
}
|
|
1844
|
+
message.label = reader.string();
|
|
1845
|
+
continue;
|
|
1620
1846
|
}
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1847
|
+
case 6: {
|
|
1848
|
+
if (tag !== 48) {
|
|
1849
|
+
break;
|
|
1850
|
+
}
|
|
1851
|
+
message.userId = reader.int32();
|
|
1852
|
+
continue;
|
|
1627
1853
|
}
|
|
1628
|
-
message.label = reader.string();
|
|
1629
|
-
continue;
|
|
1630
1854
|
}
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
break;
|
|
1634
|
-
}
|
|
1635
|
-
message.userId = reader.int32();
|
|
1636
|
-
continue;
|
|
1855
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1856
|
+
break;
|
|
1637
1857
|
}
|
|
1858
|
+
reader.skip(tag & 7);
|
|
1638
1859
|
}
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
reader.
|
|
1860
|
+
return message;
|
|
1861
|
+
}
|
|
1862
|
+
finally {
|
|
1863
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1643
1864
|
}
|
|
1644
|
-
return message;
|
|
1645
1865
|
},
|
|
1646
1866
|
create(base) {
|
|
1647
1867
|
return exports.CreateAlarmRequest.fromPartial(base ?? {});
|
|
@@ -1675,39 +1895,49 @@ exports.CreateAlarmResponse = {
|
|
|
1675
1895
|
},
|
|
1676
1896
|
decode(input, length) {
|
|
1677
1897
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1678
|
-
const
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1898
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1899
|
+
if (previousRecursionDepth >= 100) {
|
|
1900
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1901
|
+
}
|
|
1902
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1903
|
+
try {
|
|
1904
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1905
|
+
const message = createBaseCreateAlarmResponse();
|
|
1906
|
+
while (reader.pos < end) {
|
|
1907
|
+
const tag = reader.uint32();
|
|
1908
|
+
switch (tag >>> 3) {
|
|
1909
|
+
case 1: {
|
|
1910
|
+
if (tag !== 8) {
|
|
1911
|
+
break;
|
|
1912
|
+
}
|
|
1913
|
+
message.ok = reader.bool();
|
|
1914
|
+
continue;
|
|
1686
1915
|
}
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1916
|
+
case 2: {
|
|
1917
|
+
if (tag !== 16) {
|
|
1918
|
+
break;
|
|
1919
|
+
}
|
|
1920
|
+
message.id = reader.int32();
|
|
1921
|
+
continue;
|
|
1693
1922
|
}
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1923
|
+
case 3: {
|
|
1924
|
+
if (tag !== 26) {
|
|
1925
|
+
break;
|
|
1926
|
+
}
|
|
1927
|
+
message.message = reader.string();
|
|
1928
|
+
continue;
|
|
1700
1929
|
}
|
|
1701
|
-
message.message = reader.string();
|
|
1702
|
-
continue;
|
|
1703
1930
|
}
|
|
1931
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1932
|
+
break;
|
|
1933
|
+
}
|
|
1934
|
+
reader.skip(tag & 7);
|
|
1704
1935
|
}
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
reader.
|
|
1936
|
+
return message;
|
|
1937
|
+
}
|
|
1938
|
+
finally {
|
|
1939
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1709
1940
|
}
|
|
1710
|
-
return message;
|
|
1711
1941
|
},
|
|
1712
1942
|
create(base) {
|
|
1713
1943
|
return exports.CreateAlarmResponse.fromPartial(base ?? {});
|
|
@@ -1755,81 +1985,91 @@ exports.UpdateAlarmRequest = {
|
|
|
1755
1985
|
},
|
|
1756
1986
|
decode(input, length) {
|
|
1757
1987
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1758
|
-
const
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1988
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1989
|
+
if (previousRecursionDepth >= 100) {
|
|
1990
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1991
|
+
}
|
|
1992
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1993
|
+
try {
|
|
1994
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1995
|
+
const message = createBaseUpdateAlarmRequest();
|
|
1996
|
+
while (reader.pos < end) {
|
|
1997
|
+
const tag = reader.uint32();
|
|
1998
|
+
switch (tag >>> 3) {
|
|
1999
|
+
case 1: {
|
|
2000
|
+
if (tag !== 8) {
|
|
2001
|
+
break;
|
|
2002
|
+
}
|
|
2003
|
+
message.id = reader.int32();
|
|
2004
|
+
continue;
|
|
1773
2005
|
}
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
2006
|
+
case 2: {
|
|
2007
|
+
if (tag !== 18) {
|
|
2008
|
+
break;
|
|
2009
|
+
}
|
|
2010
|
+
message.satelliteId = reader.string();
|
|
2011
|
+
continue;
|
|
1780
2012
|
}
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
message.weekdays.push(reader.int32());
|
|
2013
|
+
case 3: {
|
|
2014
|
+
if (tag !== 26) {
|
|
2015
|
+
break;
|
|
2016
|
+
}
|
|
2017
|
+
message.time = reader.string();
|
|
1787
2018
|
continue;
|
|
1788
2019
|
}
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
while (reader.pos < end2) {
|
|
2020
|
+
case 4: {
|
|
2021
|
+
if (tag === 32) {
|
|
1792
2022
|
message.weekdays.push(reader.int32());
|
|
2023
|
+
continue;
|
|
2024
|
+
}
|
|
2025
|
+
if (tag === 34) {
|
|
2026
|
+
const end2 = reader.uint32() + reader.pos;
|
|
2027
|
+
while (reader.pos < end2) {
|
|
2028
|
+
message.weekdays.push(reader.int32());
|
|
2029
|
+
}
|
|
2030
|
+
continue;
|
|
1793
2031
|
}
|
|
2032
|
+
break;
|
|
2033
|
+
}
|
|
2034
|
+
case 5: {
|
|
2035
|
+
if (tag !== 42) {
|
|
2036
|
+
break;
|
|
2037
|
+
}
|
|
2038
|
+
message.skipDates.push(reader.string());
|
|
1794
2039
|
continue;
|
|
1795
2040
|
}
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
2041
|
+
case 6: {
|
|
2042
|
+
if (tag !== 50) {
|
|
2043
|
+
break;
|
|
2044
|
+
}
|
|
2045
|
+
message.oneShotDate = reader.string();
|
|
2046
|
+
continue;
|
|
1801
2047
|
}
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
2048
|
+
case 7: {
|
|
2049
|
+
if (tag !== 56) {
|
|
2050
|
+
break;
|
|
2051
|
+
}
|
|
2052
|
+
message.enabled = reader.bool();
|
|
2053
|
+
continue;
|
|
1808
2054
|
}
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
2055
|
+
case 8: {
|
|
2056
|
+
if (tag !== 66) {
|
|
2057
|
+
break;
|
|
2058
|
+
}
|
|
2059
|
+
message.label = reader.string();
|
|
2060
|
+
continue;
|
|
1815
2061
|
}
|
|
1816
|
-
message.enabled = reader.bool();
|
|
1817
|
-
continue;
|
|
1818
2062
|
}
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
break;
|
|
1822
|
-
}
|
|
1823
|
-
message.label = reader.string();
|
|
1824
|
-
continue;
|
|
2063
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2064
|
+
break;
|
|
1825
2065
|
}
|
|
2066
|
+
reader.skip(tag & 7);
|
|
1826
2067
|
}
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
reader.
|
|
2068
|
+
return message;
|
|
2069
|
+
}
|
|
2070
|
+
finally {
|
|
2071
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1831
2072
|
}
|
|
1832
|
-
return message;
|
|
1833
2073
|
},
|
|
1834
2074
|
create(base) {
|
|
1835
2075
|
return exports.UpdateAlarmRequest.fromPartial(base ?? {});
|
|
@@ -1859,25 +2099,35 @@ exports.DeleteAlarmRequest = {
|
|
|
1859
2099
|
},
|
|
1860
2100
|
decode(input, length) {
|
|
1861
2101
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1862
|
-
const
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
2102
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2103
|
+
if (previousRecursionDepth >= 100) {
|
|
2104
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2105
|
+
}
|
|
2106
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2107
|
+
try {
|
|
2108
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2109
|
+
const message = createBaseDeleteAlarmRequest();
|
|
2110
|
+
while (reader.pos < end) {
|
|
2111
|
+
const tag = reader.uint32();
|
|
2112
|
+
switch (tag >>> 3) {
|
|
2113
|
+
case 1: {
|
|
2114
|
+
if (tag !== 8) {
|
|
2115
|
+
break;
|
|
2116
|
+
}
|
|
2117
|
+
message.id = reader.int32();
|
|
2118
|
+
continue;
|
|
1870
2119
|
}
|
|
1871
|
-
message.id = reader.int32();
|
|
1872
|
-
continue;
|
|
1873
2120
|
}
|
|
2121
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2122
|
+
break;
|
|
2123
|
+
}
|
|
2124
|
+
reader.skip(tag & 7);
|
|
1874
2125
|
}
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
reader.
|
|
2126
|
+
return message;
|
|
2127
|
+
}
|
|
2128
|
+
finally {
|
|
2129
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1879
2130
|
}
|
|
1880
|
-
return message;
|
|
1881
2131
|
},
|
|
1882
2132
|
create(base) {
|
|
1883
2133
|
return exports.DeleteAlarmRequest.fromPartial(base ?? {});
|
|
@@ -1906,39 +2156,49 @@ exports.Category = {
|
|
|
1906
2156
|
},
|
|
1907
2157
|
decode(input, length) {
|
|
1908
2158
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1909
|
-
const
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
2159
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2160
|
+
if (previousRecursionDepth >= 100) {
|
|
2161
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2162
|
+
}
|
|
2163
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2164
|
+
try {
|
|
2165
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2166
|
+
const message = createBaseCategory();
|
|
2167
|
+
while (reader.pos < end) {
|
|
2168
|
+
const tag = reader.uint32();
|
|
2169
|
+
switch (tag >>> 3) {
|
|
2170
|
+
case 1: {
|
|
2171
|
+
if (tag !== 8) {
|
|
2172
|
+
break;
|
|
2173
|
+
}
|
|
2174
|
+
message.id = reader.int32();
|
|
2175
|
+
continue;
|
|
1917
2176
|
}
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
2177
|
+
case 2: {
|
|
2178
|
+
if (tag !== 18) {
|
|
2179
|
+
break;
|
|
2180
|
+
}
|
|
2181
|
+
message.name = reader.string();
|
|
2182
|
+
continue;
|
|
1924
2183
|
}
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
2184
|
+
case 3: {
|
|
2185
|
+
if (tag !== 24) {
|
|
2186
|
+
break;
|
|
2187
|
+
}
|
|
2188
|
+
message.parentId = reader.int32();
|
|
2189
|
+
continue;
|
|
1931
2190
|
}
|
|
1932
|
-
message.parentId = reader.int32();
|
|
1933
|
-
continue;
|
|
1934
2191
|
}
|
|
2192
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2193
|
+
break;
|
|
2194
|
+
}
|
|
2195
|
+
reader.skip(tag & 7);
|
|
1935
2196
|
}
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
reader.
|
|
2197
|
+
return message;
|
|
2198
|
+
}
|
|
2199
|
+
finally {
|
|
2200
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1940
2201
|
}
|
|
1941
|
-
return message;
|
|
1942
2202
|
},
|
|
1943
2203
|
create(base) {
|
|
1944
2204
|
return exports.Category.fromPartial(base ?? {});
|
|
@@ -1972,46 +2232,56 @@ exports.Setting = {
|
|
|
1972
2232
|
},
|
|
1973
2233
|
decode(input, length) {
|
|
1974
2234
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1975
|
-
const
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
2235
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2236
|
+
if (previousRecursionDepth >= 100) {
|
|
2237
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2238
|
+
}
|
|
2239
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2240
|
+
try {
|
|
2241
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2242
|
+
const message = createBaseSetting();
|
|
2243
|
+
while (reader.pos < end) {
|
|
2244
|
+
const tag = reader.uint32();
|
|
2245
|
+
switch (tag >>> 3) {
|
|
2246
|
+
case 1: {
|
|
2247
|
+
if (tag !== 8) {
|
|
2248
|
+
break;
|
|
2249
|
+
}
|
|
2250
|
+
message.id = reader.int32();
|
|
2251
|
+
continue;
|
|
1983
2252
|
}
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
2253
|
+
case 2: {
|
|
2254
|
+
if (tag !== 16) {
|
|
2255
|
+
break;
|
|
2256
|
+
}
|
|
2257
|
+
message.categoryId = reader.int32();
|
|
2258
|
+
continue;
|
|
1990
2259
|
}
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
2260
|
+
case 3: {
|
|
2261
|
+
if (tag !== 26) {
|
|
2262
|
+
break;
|
|
2263
|
+
}
|
|
2264
|
+
message.name = reader.string();
|
|
2265
|
+
continue;
|
|
1997
2266
|
}
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2267
|
+
case 4: {
|
|
2268
|
+
if (tag !== 34) {
|
|
2269
|
+
break;
|
|
2270
|
+
}
|
|
2271
|
+
message.value = reader.string();
|
|
2272
|
+
continue;
|
|
2004
2273
|
}
|
|
2005
|
-
message.value = reader.string();
|
|
2006
|
-
continue;
|
|
2007
2274
|
}
|
|
2275
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2276
|
+
break;
|
|
2277
|
+
}
|
|
2278
|
+
reader.skip(tag & 7);
|
|
2008
2279
|
}
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
reader.
|
|
2280
|
+
return message;
|
|
2281
|
+
}
|
|
2282
|
+
finally {
|
|
2283
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2013
2284
|
}
|
|
2014
|
-
return message;
|
|
2015
2285
|
},
|
|
2016
2286
|
create(base) {
|
|
2017
2287
|
return exports.Setting.fromPartial(base ?? {});
|
|
@@ -2040,32 +2310,42 @@ exports.GetSettingsResponse = {
|
|
|
2040
2310
|
},
|
|
2041
2311
|
decode(input, length) {
|
|
2042
2312
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2043
|
-
const
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2313
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2314
|
+
if (previousRecursionDepth >= 100) {
|
|
2315
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2316
|
+
}
|
|
2317
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2318
|
+
try {
|
|
2319
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2320
|
+
const message = createBaseGetSettingsResponse();
|
|
2321
|
+
while (reader.pos < end) {
|
|
2322
|
+
const tag = reader.uint32();
|
|
2323
|
+
switch (tag >>> 3) {
|
|
2324
|
+
case 1: {
|
|
2325
|
+
if (tag !== 10) {
|
|
2326
|
+
break;
|
|
2327
|
+
}
|
|
2328
|
+
message.categories.push(exports.Category.decode(reader, reader.uint32()));
|
|
2329
|
+
continue;
|
|
2051
2330
|
}
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2331
|
+
case 2: {
|
|
2332
|
+
if (tag !== 18) {
|
|
2333
|
+
break;
|
|
2334
|
+
}
|
|
2335
|
+
message.settings.push(exports.Setting.decode(reader, reader.uint32()));
|
|
2336
|
+
continue;
|
|
2058
2337
|
}
|
|
2059
|
-
message.settings.push(exports.Setting.decode(reader, reader.uint32()));
|
|
2060
|
-
continue;
|
|
2061
2338
|
}
|
|
2339
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2340
|
+
break;
|
|
2341
|
+
}
|
|
2342
|
+
reader.skip(tag & 7);
|
|
2062
2343
|
}
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
reader.
|
|
2344
|
+
return message;
|
|
2345
|
+
}
|
|
2346
|
+
finally {
|
|
2347
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2067
2348
|
}
|
|
2068
|
-
return message;
|
|
2069
2349
|
},
|
|
2070
2350
|
create(base) {
|
|
2071
2351
|
return exports.GetSettingsResponse.fromPartial(base ?? {});
|
|
@@ -2092,32 +2372,42 @@ exports.SettingUpdate = {
|
|
|
2092
2372
|
},
|
|
2093
2373
|
decode(input, length) {
|
|
2094
2374
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2095
|
-
const
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2375
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2376
|
+
if (previousRecursionDepth >= 100) {
|
|
2377
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2378
|
+
}
|
|
2379
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2380
|
+
try {
|
|
2381
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2382
|
+
const message = createBaseSettingUpdate();
|
|
2383
|
+
while (reader.pos < end) {
|
|
2384
|
+
const tag = reader.uint32();
|
|
2385
|
+
switch (tag >>> 3) {
|
|
2386
|
+
case 1: {
|
|
2387
|
+
if (tag !== 8) {
|
|
2388
|
+
break;
|
|
2389
|
+
}
|
|
2390
|
+
message.settingId = reader.int32();
|
|
2391
|
+
continue;
|
|
2103
2392
|
}
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2393
|
+
case 2: {
|
|
2394
|
+
if (tag !== 18) {
|
|
2395
|
+
break;
|
|
2396
|
+
}
|
|
2397
|
+
message.value = reader.string();
|
|
2398
|
+
continue;
|
|
2110
2399
|
}
|
|
2111
|
-
message.value = reader.string();
|
|
2112
|
-
continue;
|
|
2113
2400
|
}
|
|
2401
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2402
|
+
break;
|
|
2403
|
+
}
|
|
2404
|
+
reader.skip(tag & 7);
|
|
2114
2405
|
}
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
reader.
|
|
2406
|
+
return message;
|
|
2407
|
+
}
|
|
2408
|
+
finally {
|
|
2409
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2119
2410
|
}
|
|
2120
|
-
return message;
|
|
2121
2411
|
},
|
|
2122
2412
|
create(base) {
|
|
2123
2413
|
return exports.SettingUpdate.fromPartial(base ?? {});
|
|
@@ -2141,25 +2431,35 @@ exports.UpdateConfigRequest = {
|
|
|
2141
2431
|
},
|
|
2142
2432
|
decode(input, length) {
|
|
2143
2433
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2144
|
-
const
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2434
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2435
|
+
if (previousRecursionDepth >= 100) {
|
|
2436
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2437
|
+
}
|
|
2438
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2439
|
+
try {
|
|
2440
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2441
|
+
const message = createBaseUpdateConfigRequest();
|
|
2442
|
+
while (reader.pos < end) {
|
|
2443
|
+
const tag = reader.uint32();
|
|
2444
|
+
switch (tag >>> 3) {
|
|
2445
|
+
case 1: {
|
|
2446
|
+
if (tag !== 10) {
|
|
2447
|
+
break;
|
|
2448
|
+
}
|
|
2449
|
+
message.updates.push(exports.SettingUpdate.decode(reader, reader.uint32()));
|
|
2450
|
+
continue;
|
|
2152
2451
|
}
|
|
2153
|
-
message.updates.push(exports.SettingUpdate.decode(reader, reader.uint32()));
|
|
2154
|
-
continue;
|
|
2155
2452
|
}
|
|
2453
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2454
|
+
break;
|
|
2455
|
+
}
|
|
2456
|
+
reader.skip(tag & 7);
|
|
2156
2457
|
}
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
reader.
|
|
2458
|
+
return message;
|
|
2459
|
+
}
|
|
2460
|
+
finally {
|
|
2461
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2161
2462
|
}
|
|
2162
|
-
return message;
|
|
2163
2463
|
},
|
|
2164
2464
|
create(base) {
|
|
2165
2465
|
return exports.UpdateConfigRequest.fromPartial(base ?? {});
|
|
@@ -2191,46 +2491,56 @@ exports.BleTag = {
|
|
|
2191
2491
|
},
|
|
2192
2492
|
decode(input, length) {
|
|
2193
2493
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2194
|
-
const
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2494
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2495
|
+
if (previousRecursionDepth >= 100) {
|
|
2496
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2497
|
+
}
|
|
2498
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2499
|
+
try {
|
|
2500
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2501
|
+
const message = createBaseBleTag();
|
|
2502
|
+
while (reader.pos < end) {
|
|
2503
|
+
const tag = reader.uint32();
|
|
2504
|
+
switch (tag >>> 3) {
|
|
2505
|
+
case 1: {
|
|
2506
|
+
if (tag !== 8) {
|
|
2507
|
+
break;
|
|
2508
|
+
}
|
|
2509
|
+
message.id = reader.int32();
|
|
2510
|
+
continue;
|
|
2202
2511
|
}
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2512
|
+
case 2: {
|
|
2513
|
+
if (tag !== 18) {
|
|
2514
|
+
break;
|
|
2515
|
+
}
|
|
2516
|
+
message.macAddress = reader.string();
|
|
2517
|
+
continue;
|
|
2209
2518
|
}
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2519
|
+
case 3: {
|
|
2520
|
+
if (tag !== 26) {
|
|
2521
|
+
break;
|
|
2522
|
+
}
|
|
2523
|
+
message.label = reader.string();
|
|
2524
|
+
continue;
|
|
2216
2525
|
}
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2526
|
+
case 4: {
|
|
2527
|
+
if (tag !== 32) {
|
|
2528
|
+
break;
|
|
2529
|
+
}
|
|
2530
|
+
message.userId = reader.int32();
|
|
2531
|
+
continue;
|
|
2223
2532
|
}
|
|
2224
|
-
message.userId = reader.int32();
|
|
2225
|
-
continue;
|
|
2226
2533
|
}
|
|
2534
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2535
|
+
break;
|
|
2536
|
+
}
|
|
2537
|
+
reader.skip(tag & 7);
|
|
2227
2538
|
}
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
reader.
|
|
2539
|
+
return message;
|
|
2540
|
+
}
|
|
2541
|
+
finally {
|
|
2542
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2232
2543
|
}
|
|
2233
|
-
return message;
|
|
2234
2544
|
},
|
|
2235
2545
|
create(base) {
|
|
2236
2546
|
return exports.BleTag.fromPartial(base ?? {});
|
|
@@ -2256,25 +2566,35 @@ exports.GetBleTagsResponse = {
|
|
|
2256
2566
|
},
|
|
2257
2567
|
decode(input, length) {
|
|
2258
2568
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2259
|
-
const
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2569
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2570
|
+
if (previousRecursionDepth >= 100) {
|
|
2571
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2572
|
+
}
|
|
2573
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2574
|
+
try {
|
|
2575
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2576
|
+
const message = createBaseGetBleTagsResponse();
|
|
2577
|
+
while (reader.pos < end) {
|
|
2578
|
+
const tag = reader.uint32();
|
|
2579
|
+
switch (tag >>> 3) {
|
|
2580
|
+
case 1: {
|
|
2581
|
+
if (tag !== 10) {
|
|
2582
|
+
break;
|
|
2583
|
+
}
|
|
2584
|
+
message.tags.push(exports.BleTag.decode(reader, reader.uint32()));
|
|
2585
|
+
continue;
|
|
2267
2586
|
}
|
|
2268
|
-
message.tags.push(exports.BleTag.decode(reader, reader.uint32()));
|
|
2269
|
-
continue;
|
|
2270
2587
|
}
|
|
2588
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2589
|
+
break;
|
|
2590
|
+
}
|
|
2591
|
+
reader.skip(tag & 7);
|
|
2271
2592
|
}
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
reader.
|
|
2593
|
+
return message;
|
|
2594
|
+
}
|
|
2595
|
+
finally {
|
|
2596
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2276
2597
|
}
|
|
2277
|
-
return message;
|
|
2278
2598
|
},
|
|
2279
2599
|
create(base) {
|
|
2280
2600
|
return exports.GetBleTagsResponse.fromPartial(base ?? {});
|
|
@@ -2303,39 +2623,49 @@ exports.CreateBleTagRequest = {
|
|
|
2303
2623
|
},
|
|
2304
2624
|
decode(input, length) {
|
|
2305
2625
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2306
|
-
const
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2626
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2627
|
+
if (previousRecursionDepth >= 100) {
|
|
2628
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2629
|
+
}
|
|
2630
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2631
|
+
try {
|
|
2632
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2633
|
+
const message = createBaseCreateBleTagRequest();
|
|
2634
|
+
while (reader.pos < end) {
|
|
2635
|
+
const tag = reader.uint32();
|
|
2636
|
+
switch (tag >>> 3) {
|
|
2637
|
+
case 1: {
|
|
2638
|
+
if (tag !== 10) {
|
|
2639
|
+
break;
|
|
2640
|
+
}
|
|
2641
|
+
message.macAddress = reader.string();
|
|
2642
|
+
continue;
|
|
2314
2643
|
}
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2644
|
+
case 2: {
|
|
2645
|
+
if (tag !== 18) {
|
|
2646
|
+
break;
|
|
2647
|
+
}
|
|
2648
|
+
message.label = reader.string();
|
|
2649
|
+
continue;
|
|
2321
2650
|
}
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2651
|
+
case 3: {
|
|
2652
|
+
if (tag !== 24) {
|
|
2653
|
+
break;
|
|
2654
|
+
}
|
|
2655
|
+
message.userId = reader.int32();
|
|
2656
|
+
continue;
|
|
2328
2657
|
}
|
|
2329
|
-
message.userId = reader.int32();
|
|
2330
|
-
continue;
|
|
2331
2658
|
}
|
|
2659
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2660
|
+
break;
|
|
2661
|
+
}
|
|
2662
|
+
reader.skip(tag & 7);
|
|
2332
2663
|
}
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
reader.
|
|
2664
|
+
return message;
|
|
2665
|
+
}
|
|
2666
|
+
finally {
|
|
2667
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2337
2668
|
}
|
|
2338
|
-
return message;
|
|
2339
2669
|
},
|
|
2340
2670
|
create(base) {
|
|
2341
2671
|
return exports.CreateBleTagRequest.fromPartial(base ?? {});
|
|
@@ -2366,39 +2696,49 @@ exports.CreateBleTagResponse = {
|
|
|
2366
2696
|
},
|
|
2367
2697
|
decode(input, length) {
|
|
2368
2698
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2369
|
-
const
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2699
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2700
|
+
if (previousRecursionDepth >= 100) {
|
|
2701
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2702
|
+
}
|
|
2703
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2704
|
+
try {
|
|
2705
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2706
|
+
const message = createBaseCreateBleTagResponse();
|
|
2707
|
+
while (reader.pos < end) {
|
|
2708
|
+
const tag = reader.uint32();
|
|
2709
|
+
switch (tag >>> 3) {
|
|
2710
|
+
case 1: {
|
|
2711
|
+
if (tag !== 8) {
|
|
2712
|
+
break;
|
|
2713
|
+
}
|
|
2714
|
+
message.ok = reader.bool();
|
|
2715
|
+
continue;
|
|
2377
2716
|
}
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2717
|
+
case 2: {
|
|
2718
|
+
if (tag !== 16) {
|
|
2719
|
+
break;
|
|
2720
|
+
}
|
|
2721
|
+
message.id = reader.int32();
|
|
2722
|
+
continue;
|
|
2384
2723
|
}
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2724
|
+
case 3: {
|
|
2725
|
+
if (tag !== 26) {
|
|
2726
|
+
break;
|
|
2727
|
+
}
|
|
2728
|
+
message.message = reader.string();
|
|
2729
|
+
continue;
|
|
2391
2730
|
}
|
|
2392
|
-
message.message = reader.string();
|
|
2393
|
-
continue;
|
|
2394
2731
|
}
|
|
2732
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2733
|
+
break;
|
|
2734
|
+
}
|
|
2735
|
+
reader.skip(tag & 7);
|
|
2395
2736
|
}
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
reader.
|
|
2737
|
+
return message;
|
|
2738
|
+
}
|
|
2739
|
+
finally {
|
|
2740
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2400
2741
|
}
|
|
2401
|
-
return message;
|
|
2402
2742
|
},
|
|
2403
2743
|
create(base) {
|
|
2404
2744
|
return exports.CreateBleTagResponse.fromPartial(base ?? {});
|
|
@@ -2432,46 +2772,56 @@ exports.UpdateBleTagRequest = {
|
|
|
2432
2772
|
},
|
|
2433
2773
|
decode(input, length) {
|
|
2434
2774
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2435
|
-
const
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2775
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2776
|
+
if (previousRecursionDepth >= 100) {
|
|
2777
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2778
|
+
}
|
|
2779
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2780
|
+
try {
|
|
2781
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2782
|
+
const message = createBaseUpdateBleTagRequest();
|
|
2783
|
+
while (reader.pos < end) {
|
|
2784
|
+
const tag = reader.uint32();
|
|
2785
|
+
switch (tag >>> 3) {
|
|
2786
|
+
case 1: {
|
|
2787
|
+
if (tag !== 8) {
|
|
2788
|
+
break;
|
|
2789
|
+
}
|
|
2790
|
+
message.id = reader.int32();
|
|
2791
|
+
continue;
|
|
2443
2792
|
}
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2793
|
+
case 2: {
|
|
2794
|
+
if (tag !== 18) {
|
|
2795
|
+
break;
|
|
2796
|
+
}
|
|
2797
|
+
message.macAddress = reader.string();
|
|
2798
|
+
continue;
|
|
2450
2799
|
}
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2800
|
+
case 3: {
|
|
2801
|
+
if (tag !== 26) {
|
|
2802
|
+
break;
|
|
2803
|
+
}
|
|
2804
|
+
message.label = reader.string();
|
|
2805
|
+
continue;
|
|
2457
2806
|
}
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2807
|
+
case 4: {
|
|
2808
|
+
if (tag !== 32) {
|
|
2809
|
+
break;
|
|
2810
|
+
}
|
|
2811
|
+
message.userId = reader.int32();
|
|
2812
|
+
continue;
|
|
2464
2813
|
}
|
|
2465
|
-
message.userId = reader.int32();
|
|
2466
|
-
continue;
|
|
2467
2814
|
}
|
|
2815
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2816
|
+
break;
|
|
2817
|
+
}
|
|
2818
|
+
reader.skip(tag & 7);
|
|
2468
2819
|
}
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
reader.
|
|
2820
|
+
return message;
|
|
2821
|
+
}
|
|
2822
|
+
finally {
|
|
2823
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2473
2824
|
}
|
|
2474
|
-
return message;
|
|
2475
2825
|
},
|
|
2476
2826
|
create(base) {
|
|
2477
2827
|
return exports.UpdateBleTagRequest.fromPartial(base ?? {});
|
|
@@ -2497,25 +2847,35 @@ exports.DeleteBleTagRequest = {
|
|
|
2497
2847
|
},
|
|
2498
2848
|
decode(input, length) {
|
|
2499
2849
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2500
|
-
const
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2850
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2851
|
+
if (previousRecursionDepth >= 100) {
|
|
2852
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2853
|
+
}
|
|
2854
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2855
|
+
try {
|
|
2856
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2857
|
+
const message = createBaseDeleteBleTagRequest();
|
|
2858
|
+
while (reader.pos < end) {
|
|
2859
|
+
const tag = reader.uint32();
|
|
2860
|
+
switch (tag >>> 3) {
|
|
2861
|
+
case 1: {
|
|
2862
|
+
if (tag !== 8) {
|
|
2863
|
+
break;
|
|
2864
|
+
}
|
|
2865
|
+
message.id = reader.int32();
|
|
2866
|
+
continue;
|
|
2508
2867
|
}
|
|
2509
|
-
message.id = reader.int32();
|
|
2510
|
-
continue;
|
|
2511
2868
|
}
|
|
2869
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2870
|
+
break;
|
|
2871
|
+
}
|
|
2872
|
+
reader.skip(tag & 7);
|
|
2512
2873
|
}
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
reader.
|
|
2874
|
+
return message;
|
|
2875
|
+
}
|
|
2876
|
+
finally {
|
|
2877
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2517
2878
|
}
|
|
2518
|
-
return message;
|
|
2519
2879
|
},
|
|
2520
2880
|
create(base) {
|
|
2521
2881
|
return exports.DeleteBleTagRequest.fromPartial(base ?? {});
|
|
@@ -2552,60 +2912,70 @@ exports.Car = {
|
|
|
2552
2912
|
},
|
|
2553
2913
|
decode(input, length) {
|
|
2554
2914
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2555
|
-
const
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2915
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2916
|
+
if (previousRecursionDepth >= 100) {
|
|
2917
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2918
|
+
}
|
|
2919
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2920
|
+
try {
|
|
2921
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2922
|
+
const message = createBaseCar();
|
|
2923
|
+
while (reader.pos < end) {
|
|
2924
|
+
const tag = reader.uint32();
|
|
2925
|
+
switch (tag >>> 3) {
|
|
2926
|
+
case 1: {
|
|
2927
|
+
if (tag !== 8) {
|
|
2928
|
+
break;
|
|
2929
|
+
}
|
|
2930
|
+
message.id = reader.int32();
|
|
2931
|
+
continue;
|
|
2570
2932
|
}
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2933
|
+
case 2: {
|
|
2934
|
+
if (tag !== 18) {
|
|
2935
|
+
break;
|
|
2936
|
+
}
|
|
2937
|
+
message.topicPrefix = reader.string();
|
|
2938
|
+
continue;
|
|
2577
2939
|
}
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
message.ownerUserIds.push(reader.int32());
|
|
2940
|
+
case 3: {
|
|
2941
|
+
if (tag !== 26) {
|
|
2942
|
+
break;
|
|
2943
|
+
}
|
|
2944
|
+
message.homeAddress = reader.string();
|
|
2584
2945
|
continue;
|
|
2585
2946
|
}
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
while (reader.pos < end2) {
|
|
2947
|
+
case 4: {
|
|
2948
|
+
if (tag === 32) {
|
|
2589
2949
|
message.ownerUserIds.push(reader.int32());
|
|
2950
|
+
continue;
|
|
2951
|
+
}
|
|
2952
|
+
if (tag === 34) {
|
|
2953
|
+
const end2 = reader.uint32() + reader.pos;
|
|
2954
|
+
while (reader.pos < end2) {
|
|
2955
|
+
message.ownerUserIds.push(reader.int32());
|
|
2956
|
+
}
|
|
2957
|
+
continue;
|
|
2958
|
+
}
|
|
2959
|
+
break;
|
|
2960
|
+
}
|
|
2961
|
+
case 5: {
|
|
2962
|
+
if (tag !== 42) {
|
|
2963
|
+
break;
|
|
2590
2964
|
}
|
|
2965
|
+
message.name = reader.string();
|
|
2591
2966
|
continue;
|
|
2592
2967
|
}
|
|
2593
|
-
break;
|
|
2594
2968
|
}
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
break;
|
|
2598
|
-
}
|
|
2599
|
-
message.name = reader.string();
|
|
2600
|
-
continue;
|
|
2969
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2970
|
+
break;
|
|
2601
2971
|
}
|
|
2972
|
+
reader.skip(tag & 7);
|
|
2602
2973
|
}
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
reader.
|
|
2974
|
+
return message;
|
|
2975
|
+
}
|
|
2976
|
+
finally {
|
|
2977
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2607
2978
|
}
|
|
2608
|
-
return message;
|
|
2609
2979
|
},
|
|
2610
2980
|
create(base) {
|
|
2611
2981
|
return exports.Car.fromPartial(base ?? {});
|
|
@@ -2632,25 +3002,35 @@ exports.GetCarsResponse = {
|
|
|
2632
3002
|
},
|
|
2633
3003
|
decode(input, length) {
|
|
2634
3004
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2635
|
-
const
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
3005
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
3006
|
+
if (previousRecursionDepth >= 100) {
|
|
3007
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
3008
|
+
}
|
|
3009
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
3010
|
+
try {
|
|
3011
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3012
|
+
const message = createBaseGetCarsResponse();
|
|
3013
|
+
while (reader.pos < end) {
|
|
3014
|
+
const tag = reader.uint32();
|
|
3015
|
+
switch (tag >>> 3) {
|
|
3016
|
+
case 1: {
|
|
3017
|
+
if (tag !== 10) {
|
|
3018
|
+
break;
|
|
3019
|
+
}
|
|
3020
|
+
message.cars.push(exports.Car.decode(reader, reader.uint32()));
|
|
3021
|
+
continue;
|
|
2643
3022
|
}
|
|
2644
|
-
message.cars.push(exports.Car.decode(reader, reader.uint32()));
|
|
2645
|
-
continue;
|
|
2646
3023
|
}
|
|
3024
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3025
|
+
break;
|
|
3026
|
+
}
|
|
3027
|
+
reader.skip(tag & 7);
|
|
2647
3028
|
}
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
reader.
|
|
3029
|
+
return message;
|
|
3030
|
+
}
|
|
3031
|
+
finally {
|
|
3032
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2652
3033
|
}
|
|
2653
|
-
return message;
|
|
2654
3034
|
},
|
|
2655
3035
|
create(base) {
|
|
2656
3036
|
return exports.GetCarsResponse.fromPartial(base ?? {});
|
|
@@ -2684,53 +3064,63 @@ exports.CreateCarRequest = {
|
|
|
2684
3064
|
},
|
|
2685
3065
|
decode(input, length) {
|
|
2686
3066
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2687
|
-
const
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
3067
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
3068
|
+
if (previousRecursionDepth >= 100) {
|
|
3069
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
3070
|
+
}
|
|
3071
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
3072
|
+
try {
|
|
3073
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3074
|
+
const message = createBaseCreateCarRequest();
|
|
3075
|
+
while (reader.pos < end) {
|
|
3076
|
+
const tag = reader.uint32();
|
|
3077
|
+
switch (tag >>> 3) {
|
|
3078
|
+
case 1: {
|
|
3079
|
+
if (tag !== 10) {
|
|
3080
|
+
break;
|
|
3081
|
+
}
|
|
3082
|
+
message.topicPrefix = reader.string();
|
|
3083
|
+
continue;
|
|
2702
3084
|
}
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
message.ownerUserIds.push(reader.int32());
|
|
3085
|
+
case 2: {
|
|
3086
|
+
if (tag !== 18) {
|
|
3087
|
+
break;
|
|
3088
|
+
}
|
|
3089
|
+
message.homeAddress = reader.string();
|
|
2709
3090
|
continue;
|
|
2710
3091
|
}
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
while (reader.pos < end2) {
|
|
3092
|
+
case 3: {
|
|
3093
|
+
if (tag === 24) {
|
|
2714
3094
|
message.ownerUserIds.push(reader.int32());
|
|
3095
|
+
continue;
|
|
3096
|
+
}
|
|
3097
|
+
if (tag === 26) {
|
|
3098
|
+
const end2 = reader.uint32() + reader.pos;
|
|
3099
|
+
while (reader.pos < end2) {
|
|
3100
|
+
message.ownerUserIds.push(reader.int32());
|
|
3101
|
+
}
|
|
3102
|
+
continue;
|
|
2715
3103
|
}
|
|
3104
|
+
break;
|
|
3105
|
+
}
|
|
3106
|
+
case 4: {
|
|
3107
|
+
if (tag !== 34) {
|
|
3108
|
+
break;
|
|
3109
|
+
}
|
|
3110
|
+
message.name = reader.string();
|
|
2716
3111
|
continue;
|
|
2717
3112
|
}
|
|
2718
|
-
break;
|
|
2719
3113
|
}
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
break;
|
|
2723
|
-
}
|
|
2724
|
-
message.name = reader.string();
|
|
2725
|
-
continue;
|
|
3114
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3115
|
+
break;
|
|
2726
3116
|
}
|
|
3117
|
+
reader.skip(tag & 7);
|
|
2727
3118
|
}
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
reader.
|
|
3119
|
+
return message;
|
|
3120
|
+
}
|
|
3121
|
+
finally {
|
|
3122
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2732
3123
|
}
|
|
2733
|
-
return message;
|
|
2734
3124
|
},
|
|
2735
3125
|
create(base) {
|
|
2736
3126
|
return exports.CreateCarRequest.fromPartial(base ?? {});
|
|
@@ -2762,39 +3152,49 @@ exports.CreateCarResponse = {
|
|
|
2762
3152
|
},
|
|
2763
3153
|
decode(input, length) {
|
|
2764
3154
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2765
|
-
const
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
3155
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
3156
|
+
if (previousRecursionDepth >= 100) {
|
|
3157
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
3158
|
+
}
|
|
3159
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
3160
|
+
try {
|
|
3161
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3162
|
+
const message = createBaseCreateCarResponse();
|
|
3163
|
+
while (reader.pos < end) {
|
|
3164
|
+
const tag = reader.uint32();
|
|
3165
|
+
switch (tag >>> 3) {
|
|
3166
|
+
case 1: {
|
|
3167
|
+
if (tag !== 8) {
|
|
3168
|
+
break;
|
|
3169
|
+
}
|
|
3170
|
+
message.ok = reader.bool();
|
|
3171
|
+
continue;
|
|
2773
3172
|
}
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
3173
|
+
case 2: {
|
|
3174
|
+
if (tag !== 16) {
|
|
3175
|
+
break;
|
|
3176
|
+
}
|
|
3177
|
+
message.id = reader.int32();
|
|
3178
|
+
continue;
|
|
2780
3179
|
}
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
3180
|
+
case 3: {
|
|
3181
|
+
if (tag !== 26) {
|
|
3182
|
+
break;
|
|
3183
|
+
}
|
|
3184
|
+
message.message = reader.string();
|
|
3185
|
+
continue;
|
|
2787
3186
|
}
|
|
2788
|
-
message.message = reader.string();
|
|
2789
|
-
continue;
|
|
2790
3187
|
}
|
|
3188
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3189
|
+
break;
|
|
3190
|
+
}
|
|
3191
|
+
reader.skip(tag & 7);
|
|
2791
3192
|
}
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
reader.
|
|
3193
|
+
return message;
|
|
3194
|
+
}
|
|
3195
|
+
finally {
|
|
3196
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2796
3197
|
}
|
|
2797
|
-
return message;
|
|
2798
3198
|
},
|
|
2799
3199
|
create(base) {
|
|
2800
3200
|
return exports.CreateCarResponse.fromPartial(base ?? {});
|
|
@@ -2833,60 +3233,70 @@ exports.UpdateCarRequest = {
|
|
|
2833
3233
|
},
|
|
2834
3234
|
decode(input, length) {
|
|
2835
3235
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2836
|
-
const
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
3236
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
3237
|
+
if (previousRecursionDepth >= 100) {
|
|
3238
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
3239
|
+
}
|
|
3240
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
3241
|
+
try {
|
|
3242
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3243
|
+
const message = createBaseUpdateCarRequest();
|
|
3244
|
+
while (reader.pos < end) {
|
|
3245
|
+
const tag = reader.uint32();
|
|
3246
|
+
switch (tag >>> 3) {
|
|
3247
|
+
case 1: {
|
|
3248
|
+
if (tag !== 8) {
|
|
3249
|
+
break;
|
|
3250
|
+
}
|
|
3251
|
+
message.id = reader.int32();
|
|
3252
|
+
continue;
|
|
2851
3253
|
}
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
3254
|
+
case 2: {
|
|
3255
|
+
if (tag !== 18) {
|
|
3256
|
+
break;
|
|
3257
|
+
}
|
|
3258
|
+
message.topicPrefix = reader.string();
|
|
3259
|
+
continue;
|
|
2858
3260
|
}
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
message.ownerUserIds.push(reader.int32());
|
|
3261
|
+
case 3: {
|
|
3262
|
+
if (tag !== 26) {
|
|
3263
|
+
break;
|
|
3264
|
+
}
|
|
3265
|
+
message.homeAddress = reader.string();
|
|
2865
3266
|
continue;
|
|
2866
3267
|
}
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
while (reader.pos < end2) {
|
|
3268
|
+
case 4: {
|
|
3269
|
+
if (tag === 32) {
|
|
2870
3270
|
message.ownerUserIds.push(reader.int32());
|
|
3271
|
+
continue;
|
|
3272
|
+
}
|
|
3273
|
+
if (tag === 34) {
|
|
3274
|
+
const end2 = reader.uint32() + reader.pos;
|
|
3275
|
+
while (reader.pos < end2) {
|
|
3276
|
+
message.ownerUserIds.push(reader.int32());
|
|
3277
|
+
}
|
|
3278
|
+
continue;
|
|
3279
|
+
}
|
|
3280
|
+
break;
|
|
3281
|
+
}
|
|
3282
|
+
case 5: {
|
|
3283
|
+
if (tag !== 42) {
|
|
3284
|
+
break;
|
|
2871
3285
|
}
|
|
3286
|
+
message.name = reader.string();
|
|
2872
3287
|
continue;
|
|
2873
3288
|
}
|
|
2874
|
-
break;
|
|
2875
3289
|
}
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
break;
|
|
2879
|
-
}
|
|
2880
|
-
message.name = reader.string();
|
|
2881
|
-
continue;
|
|
3290
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3291
|
+
break;
|
|
2882
3292
|
}
|
|
3293
|
+
reader.skip(tag & 7);
|
|
2883
3294
|
}
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
reader.
|
|
3295
|
+
return message;
|
|
3296
|
+
}
|
|
3297
|
+
finally {
|
|
3298
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2888
3299
|
}
|
|
2889
|
-
return message;
|
|
2890
3300
|
},
|
|
2891
3301
|
create(base) {
|
|
2892
3302
|
return exports.UpdateCarRequest.fromPartial(base ?? {});
|
|
@@ -2913,25 +3323,35 @@ exports.DeleteCarRequest = {
|
|
|
2913
3323
|
},
|
|
2914
3324
|
decode(input, length) {
|
|
2915
3325
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2916
|
-
const
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
3326
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
3327
|
+
if (previousRecursionDepth >= 100) {
|
|
3328
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
3329
|
+
}
|
|
3330
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
3331
|
+
try {
|
|
3332
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3333
|
+
const message = createBaseDeleteCarRequest();
|
|
3334
|
+
while (reader.pos < end) {
|
|
3335
|
+
const tag = reader.uint32();
|
|
3336
|
+
switch (tag >>> 3) {
|
|
3337
|
+
case 1: {
|
|
3338
|
+
if (tag !== 8) {
|
|
3339
|
+
break;
|
|
3340
|
+
}
|
|
3341
|
+
message.id = reader.int32();
|
|
3342
|
+
continue;
|
|
2924
3343
|
}
|
|
2925
|
-
message.id = reader.int32();
|
|
2926
|
-
continue;
|
|
2927
3344
|
}
|
|
3345
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3346
|
+
break;
|
|
3347
|
+
}
|
|
3348
|
+
reader.skip(tag & 7);
|
|
2928
3349
|
}
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
reader.
|
|
3350
|
+
return message;
|
|
3351
|
+
}
|
|
3352
|
+
finally {
|
|
3353
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2933
3354
|
}
|
|
2934
|
-
return message;
|
|
2935
3355
|
},
|
|
2936
3356
|
create(base) {
|
|
2937
3357
|
return exports.DeleteCarRequest.fromPartial(base ?? {});
|