@agent-marshal/marshal-pi 0.59.1 → 0.60.1
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/package.json
CHANGED
package/src/generated/index.ts
CHANGED
|
@@ -15,6 +15,7 @@ export type { AutoSource } from "./AutoSource";
|
|
|
15
15
|
export type { BroadcastMessageArgs } from "./BroadcastMessageArgs";
|
|
16
16
|
export type { BroadcastMessageResult } from "./BroadcastMessageResult";
|
|
17
17
|
export type { ClientId } from "./ClientId";
|
|
18
|
+
export type { CloseOperatorConsoleArgs } from "./CloseOperatorConsoleArgs";
|
|
18
19
|
export type { DeleteMessageArgs } from "./DeleteMessageArgs";
|
|
19
20
|
export type { DeleteMessageReadArgs } from "./DeleteMessageReadArgs";
|
|
20
21
|
export type { DeleteMessageReadResult } from "./DeleteMessageReadResult";
|
|
@@ -70,6 +71,7 @@ export type { NotifyChannelArgs } from "./NotifyChannelArgs";
|
|
|
70
71
|
export type { NumericFilter } from "./NumericFilter";
|
|
71
72
|
export type { ReadMessagesArgs } from "./ReadMessagesArgs";
|
|
72
73
|
export type { ReadMessagesResult } from "./ReadMessagesResult";
|
|
74
|
+
export type { RegisterOperatorConsoleArgs } from "./RegisterOperatorConsoleArgs";
|
|
73
75
|
export type { RegisterSessionArgs } from "./RegisterSessionArgs";
|
|
74
76
|
export type { Room } from "./Room";
|
|
75
77
|
export type { RoomCount } from "./RoomCount";
|
|
@@ -120,6 +122,7 @@ import type { AckMessages as _AckMessages } from "./AckMessages";
|
|
|
120
122
|
import type { AckMessagesResult } from "./AckMessagesResult";
|
|
121
123
|
import type { BroadcastMessage as _BroadcastMessage } from "./BroadcastMessage";
|
|
122
124
|
import type { BroadcastMessageResult } from "./BroadcastMessageResult";
|
|
125
|
+
import type { CloseOperatorConsole as _CloseOperatorConsole } from "./CloseOperatorConsole";
|
|
123
126
|
import type { CountAllMessageReads as _CountAllMessageReads } from "./CountAllMessageReads";
|
|
124
127
|
import type { CountAllMessages as _CountAllMessages } from "./CountAllMessages";
|
|
125
128
|
import type { CountAllRoomMembers as _CountAllRoomMembers } from "./CountAllRoomMembers";
|
|
@@ -212,6 +215,7 @@ import type { MessageReadCount } from "./MessageReadCount";
|
|
|
212
215
|
import type { NotifyChannel as _NotifyChannel } from "./NotifyChannel";
|
|
213
216
|
import type { ReadMessages as _ReadMessages } from "./ReadMessages";
|
|
214
217
|
import type { ReadMessagesResult } from "./ReadMessagesResult";
|
|
218
|
+
import type { RegisterOperatorConsole as _RegisterOperatorConsole } from "./RegisterOperatorConsole";
|
|
215
219
|
import type { RegisterSession as _RegisterSession } from "./RegisterSession";
|
|
216
220
|
import type { Room } from "./Room";
|
|
217
221
|
import type { RoomCount } from "./RoomCount";
|
|
@@ -239,80 +243,119 @@ import type { WakeWatcher } from "./WakeWatcher";
|
|
|
239
243
|
import type { WakeWatcherCount } from "./WakeWatcherCount";
|
|
240
244
|
|
|
241
245
|
// Query classes
|
|
242
|
-
export class
|
|
243
|
-
static readonly queryId = "
|
|
244
|
-
static readonly queryItemType = "
|
|
245
|
-
readonly queryId = "
|
|
246
|
-
readonly queryItemType = "
|
|
247
|
-
readonly query: Omit<
|
|
248
|
-
declare readonly $res: () =>
|
|
246
|
+
export class GetSandboxRunsByIds {
|
|
247
|
+
static readonly queryId = "GetSandboxRunsByIds" as const;
|
|
248
|
+
static readonly queryItemType = "SandboxRun" as const;
|
|
249
|
+
readonly queryId = "GetSandboxRunsByIds" as const;
|
|
250
|
+
readonly queryItemType = "SandboxRun" as const;
|
|
251
|
+
readonly query: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">;
|
|
252
|
+
declare readonly $res: () => SandboxRun[];
|
|
249
253
|
|
|
250
|
-
constructor(args: Omit<
|
|
254
|
+
constructor(args: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">) {
|
|
251
255
|
this.query = args;
|
|
252
256
|
}
|
|
253
257
|
}
|
|
254
258
|
|
|
255
|
-
export class
|
|
256
|
-
static readonly queryId = "
|
|
257
|
-
static readonly queryItemType = "
|
|
258
|
-
readonly queryId = "
|
|
259
|
-
readonly queryItemType = "
|
|
260
|
-
readonly query: Omit<
|
|
261
|
-
declare readonly $res: () =>
|
|
259
|
+
export class GetAllSandboxRuns {
|
|
260
|
+
static readonly queryId = "GetAllSandboxRuns" as const;
|
|
261
|
+
static readonly queryItemType = "SandboxRun" as const;
|
|
262
|
+
readonly queryId = "GetAllSandboxRuns" as const;
|
|
263
|
+
readonly queryItemType = "SandboxRun" as const;
|
|
264
|
+
readonly query: Omit<_GetAllSandboxRuns, "tx" | "createdAt">;
|
|
265
|
+
declare readonly $res: () => SandboxRun[];
|
|
262
266
|
|
|
263
|
-
constructor(args: Omit<
|
|
267
|
+
constructor(args: Omit<_GetAllSandboxRuns, "tx" | "createdAt">) {
|
|
264
268
|
this.query = args;
|
|
265
269
|
}
|
|
266
270
|
}
|
|
267
271
|
|
|
268
|
-
export class
|
|
269
|
-
static readonly queryId = "
|
|
270
|
-
static readonly queryItemType = "
|
|
271
|
-
readonly queryId = "
|
|
272
|
-
readonly queryItemType = "
|
|
273
|
-
readonly query: Omit<
|
|
274
|
-
declare readonly $res: () =>
|
|
272
|
+
export class GetSandboxRunsByQuery {
|
|
273
|
+
static readonly queryId = "GetSandboxRunsByQuery" as const;
|
|
274
|
+
static readonly queryItemType = "SandboxRun" as const;
|
|
275
|
+
readonly queryId = "GetSandboxRunsByQuery" as const;
|
|
276
|
+
readonly queryItemType = "SandboxRun" as const;
|
|
277
|
+
readonly query: Omit<_GetSandboxRunsByQuery, "tx" | "createdAt">;
|
|
278
|
+
declare readonly $res: () => SandboxRun[];
|
|
275
279
|
|
|
276
|
-
constructor(args: Omit<
|
|
280
|
+
constructor(args: Omit<_GetSandboxRunsByQuery, "tx" | "createdAt">) {
|
|
277
281
|
this.query = args;
|
|
278
282
|
}
|
|
279
283
|
}
|
|
280
284
|
|
|
281
|
-
export class
|
|
282
|
-
static readonly queryId = "
|
|
283
|
-
static readonly queryItemType = "
|
|
284
|
-
readonly queryId = "
|
|
285
|
-
readonly queryItemType = "
|
|
286
|
-
readonly query: Omit<
|
|
287
|
-
declare readonly $res: () =>
|
|
285
|
+
export class GetMessagesByQuery {
|
|
286
|
+
static readonly queryId = "GetMessagesByQuery" as const;
|
|
287
|
+
static readonly queryItemType = "Message" as const;
|
|
288
|
+
readonly queryId = "GetMessagesByQuery" as const;
|
|
289
|
+
readonly queryItemType = "Message" as const;
|
|
290
|
+
readonly query: Omit<_GetMessagesByQuery, "tx" | "createdAt">;
|
|
291
|
+
declare readonly $res: () => Message[];
|
|
288
292
|
|
|
289
|
-
constructor(args: Omit<
|
|
293
|
+
constructor(args: Omit<_GetMessagesByQuery, "tx" | "createdAt">) {
|
|
290
294
|
this.query = args;
|
|
291
295
|
}
|
|
292
296
|
}
|
|
293
297
|
|
|
294
|
-
export class
|
|
295
|
-
static readonly queryId = "
|
|
296
|
-
static readonly queryItemType = "
|
|
297
|
-
readonly queryId = "
|
|
298
|
-
readonly queryItemType = "
|
|
299
|
-
readonly query: Omit<
|
|
300
|
-
declare readonly $res: () =>
|
|
298
|
+
export class GetMessagesByIds {
|
|
299
|
+
static readonly queryId = "GetMessagesByIds" as const;
|
|
300
|
+
static readonly queryItemType = "Message" as const;
|
|
301
|
+
readonly queryId = "GetMessagesByIds" as const;
|
|
302
|
+
readonly queryItemType = "Message" as const;
|
|
303
|
+
readonly query: Omit<_GetMessagesByIds, "tx" | "createdAt">;
|
|
304
|
+
declare readonly $res: () => Message[];
|
|
301
305
|
|
|
302
|
-
constructor(args: Omit<
|
|
306
|
+
constructor(args: Omit<_GetMessagesByIds, "tx" | "createdAt">) {
|
|
303
307
|
this.query = args;
|
|
304
308
|
}
|
|
305
309
|
}
|
|
306
310
|
|
|
307
|
-
export class
|
|
308
|
-
static readonly queryId = "
|
|
309
|
-
static readonly queryItemType = "
|
|
310
|
-
readonly queryId = "
|
|
311
|
-
readonly queryItemType = "
|
|
312
|
-
readonly query: Omit<
|
|
313
|
-
declare readonly $res: () =>
|
|
311
|
+
export class GetAllMessages {
|
|
312
|
+
static readonly queryId = "GetAllMessages" as const;
|
|
313
|
+
static readonly queryItemType = "Message" as const;
|
|
314
|
+
readonly queryId = "GetAllMessages" as const;
|
|
315
|
+
readonly queryItemType = "Message" as const;
|
|
316
|
+
readonly query: Omit<_GetAllMessages, "tx" | "createdAt">;
|
|
317
|
+
declare readonly $res: () => Message[];
|
|
314
318
|
|
|
315
|
-
constructor(args: Omit<
|
|
319
|
+
constructor(args: Omit<_GetAllMessages, "tx" | "createdAt">) {
|
|
320
|
+
this.query = args;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export class GetMessageReadsByQuery {
|
|
325
|
+
static readonly queryId = "GetMessageReadsByQuery" as const;
|
|
326
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
327
|
+
readonly queryId = "GetMessageReadsByQuery" as const;
|
|
328
|
+
readonly queryItemType = "MessageRead" as const;
|
|
329
|
+
readonly query: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">;
|
|
330
|
+
declare readonly $res: () => MessageRead[];
|
|
331
|
+
|
|
332
|
+
constructor(args: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">) {
|
|
333
|
+
this.query = args;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export class GetMessageReadsByIds {
|
|
338
|
+
static readonly queryId = "GetMessageReadsByIds" as const;
|
|
339
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
340
|
+
readonly queryId = "GetMessageReadsByIds" as const;
|
|
341
|
+
readonly queryItemType = "MessageRead" as const;
|
|
342
|
+
readonly query: Omit<_GetMessageReadsByIds, "tx" | "createdAt">;
|
|
343
|
+
declare readonly $res: () => MessageRead[];
|
|
344
|
+
|
|
345
|
+
constructor(args: Omit<_GetMessageReadsByIds, "tx" | "createdAt">) {
|
|
346
|
+
this.query = args;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export class GetAllMessageReads {
|
|
351
|
+
static readonly queryId = "GetAllMessageReads" as const;
|
|
352
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
353
|
+
readonly queryId = "GetAllMessageReads" as const;
|
|
354
|
+
readonly queryItemType = "MessageRead" as const;
|
|
355
|
+
readonly query: Omit<_GetAllMessageReads, "tx" | "createdAt">;
|
|
356
|
+
declare readonly $res: () => MessageRead[];
|
|
357
|
+
|
|
358
|
+
constructor(args: Omit<_GetAllMessageReads, "tx" | "createdAt">) {
|
|
316
359
|
this.query = args;
|
|
317
360
|
}
|
|
318
361
|
}
|
|
@@ -356,41 +399,41 @@ export class GetAllSessions {
|
|
|
356
399
|
}
|
|
357
400
|
}
|
|
358
401
|
|
|
359
|
-
export class
|
|
360
|
-
static readonly queryId = "
|
|
361
|
-
static readonly queryItemType = "
|
|
362
|
-
readonly queryId = "
|
|
363
|
-
readonly queryItemType = "
|
|
364
|
-
readonly query: Omit<
|
|
365
|
-
declare readonly $res: () =>
|
|
402
|
+
export class GetSessionNicknamesByQuery {
|
|
403
|
+
static readonly queryId = "GetSessionNicknamesByQuery" as const;
|
|
404
|
+
static readonly queryItemType = "SessionNickname" as const;
|
|
405
|
+
readonly queryId = "GetSessionNicknamesByQuery" as const;
|
|
406
|
+
readonly queryItemType = "SessionNickname" as const;
|
|
407
|
+
readonly query: Omit<_GetSessionNicknamesByQuery, "tx" | "createdAt">;
|
|
408
|
+
declare readonly $res: () => SessionNickname[];
|
|
366
409
|
|
|
367
|
-
constructor(args: Omit<
|
|
410
|
+
constructor(args: Omit<_GetSessionNicknamesByQuery, "tx" | "createdAt">) {
|
|
368
411
|
this.query = args;
|
|
369
412
|
}
|
|
370
413
|
}
|
|
371
414
|
|
|
372
|
-
export class
|
|
373
|
-
static readonly queryId = "
|
|
374
|
-
static readonly queryItemType = "
|
|
375
|
-
readonly queryId = "
|
|
376
|
-
readonly queryItemType = "
|
|
377
|
-
readonly query: Omit<
|
|
378
|
-
declare readonly $res: () =>
|
|
415
|
+
export class GetSessionNicknamesByIds {
|
|
416
|
+
static readonly queryId = "GetSessionNicknamesByIds" as const;
|
|
417
|
+
static readonly queryItemType = "SessionNickname" as const;
|
|
418
|
+
readonly queryId = "GetSessionNicknamesByIds" as const;
|
|
419
|
+
readonly queryItemType = "SessionNickname" as const;
|
|
420
|
+
readonly query: Omit<_GetSessionNicknamesByIds, "tx" | "createdAt">;
|
|
421
|
+
declare readonly $res: () => SessionNickname[];
|
|
379
422
|
|
|
380
|
-
constructor(args: Omit<
|
|
423
|
+
constructor(args: Omit<_GetSessionNicknamesByIds, "tx" | "createdAt">) {
|
|
381
424
|
this.query = args;
|
|
382
425
|
}
|
|
383
426
|
}
|
|
384
427
|
|
|
385
|
-
export class
|
|
386
|
-
static readonly queryId = "
|
|
387
|
-
static readonly queryItemType = "
|
|
388
|
-
readonly queryId = "
|
|
389
|
-
readonly queryItemType = "
|
|
390
|
-
readonly query: Omit<
|
|
391
|
-
declare readonly $res: () =>
|
|
428
|
+
export class GetAllSessionNicknames {
|
|
429
|
+
static readonly queryId = "GetAllSessionNicknames" as const;
|
|
430
|
+
static readonly queryItemType = "SessionNickname" as const;
|
|
431
|
+
readonly queryId = "GetAllSessionNicknames" as const;
|
|
432
|
+
readonly queryItemType = "SessionNickname" as const;
|
|
433
|
+
readonly query: Omit<_GetAllSessionNicknames, "tx" | "createdAt">;
|
|
434
|
+
declare readonly $res: () => SessionNickname[];
|
|
392
435
|
|
|
393
|
-
constructor(args: Omit<
|
|
436
|
+
constructor(args: Omit<_GetAllSessionNicknames, "tx" | "createdAt">) {
|
|
394
437
|
this.query = args;
|
|
395
438
|
}
|
|
396
439
|
}
|
|
@@ -434,188 +477,182 @@ export class GetAllRoomMembers {
|
|
|
434
477
|
}
|
|
435
478
|
}
|
|
436
479
|
|
|
437
|
-
export class
|
|
438
|
-
static readonly queryId = "
|
|
439
|
-
static readonly queryItemType = "
|
|
440
|
-
readonly queryId = "
|
|
441
|
-
readonly queryItemType = "
|
|
442
|
-
readonly query: Omit<
|
|
443
|
-
declare readonly $res: () =>
|
|
480
|
+
export class GetRoomsByQuery {
|
|
481
|
+
static readonly queryId = "GetRoomsByQuery" as const;
|
|
482
|
+
static readonly queryItemType = "Room" as const;
|
|
483
|
+
readonly queryId = "GetRoomsByQuery" as const;
|
|
484
|
+
readonly queryItemType = "Room" as const;
|
|
485
|
+
readonly query: Omit<_GetRoomsByQuery, "tx" | "createdAt">;
|
|
486
|
+
declare readonly $res: () => Room[];
|
|
444
487
|
|
|
445
|
-
constructor(args: Omit<
|
|
488
|
+
constructor(args: Omit<_GetRoomsByQuery, "tx" | "createdAt">) {
|
|
446
489
|
this.query = args;
|
|
447
490
|
}
|
|
448
491
|
}
|
|
449
492
|
|
|
450
|
-
export class
|
|
451
|
-
static readonly queryId = "
|
|
452
|
-
static readonly queryItemType = "
|
|
453
|
-
readonly queryId = "
|
|
454
|
-
readonly queryItemType = "
|
|
455
|
-
readonly query: Omit<
|
|
456
|
-
declare readonly $res: () =>
|
|
493
|
+
export class GetRoomsByIds {
|
|
494
|
+
static readonly queryId = "GetRoomsByIds" as const;
|
|
495
|
+
static readonly queryItemType = "Room" as const;
|
|
496
|
+
readonly queryId = "GetRoomsByIds" as const;
|
|
497
|
+
readonly queryItemType = "Room" as const;
|
|
498
|
+
readonly query: Omit<_GetRoomsByIds, "tx" | "createdAt">;
|
|
499
|
+
declare readonly $res: () => Room[];
|
|
457
500
|
|
|
458
|
-
constructor(args: Omit<
|
|
501
|
+
constructor(args: Omit<_GetRoomsByIds, "tx" | "createdAt">) {
|
|
459
502
|
this.query = args;
|
|
460
503
|
}
|
|
461
504
|
}
|
|
462
505
|
|
|
463
|
-
export class
|
|
464
|
-
static readonly queryId = "
|
|
465
|
-
static readonly queryItemType = "
|
|
466
|
-
readonly queryId = "
|
|
467
|
-
readonly queryItemType = "
|
|
468
|
-
readonly query: Omit<
|
|
469
|
-
declare readonly $res: () =>
|
|
506
|
+
export class GetAllRooms {
|
|
507
|
+
static readonly queryId = "GetAllRooms" as const;
|
|
508
|
+
static readonly queryItemType = "Room" as const;
|
|
509
|
+
readonly queryId = "GetAllRooms" as const;
|
|
510
|
+
readonly queryItemType = "Room" as const;
|
|
511
|
+
readonly query: Omit<_GetAllRooms, "tx" | "createdAt">;
|
|
512
|
+
declare readonly $res: () => Room[];
|
|
470
513
|
|
|
471
|
-
constructor(args: Omit<
|
|
514
|
+
constructor(args: Omit<_GetAllRooms, "tx" | "createdAt">) {
|
|
472
515
|
this.query = args;
|
|
473
516
|
}
|
|
474
517
|
}
|
|
475
518
|
|
|
476
|
-
export class
|
|
477
|
-
static readonly queryId = "
|
|
478
|
-
static readonly queryItemType = "
|
|
479
|
-
readonly queryId = "
|
|
480
|
-
readonly queryItemType = "
|
|
481
|
-
readonly query: Omit<
|
|
482
|
-
declare readonly $res: () =>
|
|
519
|
+
export class GetWakeWatchersByQuery {
|
|
520
|
+
static readonly queryId = "GetWakeWatchersByQuery" as const;
|
|
521
|
+
static readonly queryItemType = "WakeWatcher" as const;
|
|
522
|
+
readonly queryId = "GetWakeWatchersByQuery" as const;
|
|
523
|
+
readonly queryItemType = "WakeWatcher" as const;
|
|
524
|
+
readonly query: Omit<_GetWakeWatchersByQuery, "tx" | "createdAt">;
|
|
525
|
+
declare readonly $res: () => WakeWatcher[];
|
|
483
526
|
|
|
484
|
-
constructor(args: Omit<
|
|
527
|
+
constructor(args: Omit<_GetWakeWatchersByQuery, "tx" | "createdAt">) {
|
|
485
528
|
this.query = args;
|
|
486
529
|
}
|
|
487
530
|
}
|
|
488
531
|
|
|
489
|
-
export class
|
|
490
|
-
static readonly queryId = "
|
|
491
|
-
static readonly queryItemType = "
|
|
492
|
-
readonly queryId = "
|
|
493
|
-
readonly queryItemType = "
|
|
494
|
-
readonly query: Omit<
|
|
495
|
-
declare readonly $res: () =>
|
|
532
|
+
export class GetWakeWatchersByIds {
|
|
533
|
+
static readonly queryId = "GetWakeWatchersByIds" as const;
|
|
534
|
+
static readonly queryItemType = "WakeWatcher" as const;
|
|
535
|
+
readonly queryId = "GetWakeWatchersByIds" as const;
|
|
536
|
+
readonly queryItemType = "WakeWatcher" as const;
|
|
537
|
+
readonly query: Omit<_GetWakeWatchersByIds, "tx" | "createdAt">;
|
|
538
|
+
declare readonly $res: () => WakeWatcher[];
|
|
496
539
|
|
|
497
|
-
constructor(args: Omit<
|
|
540
|
+
constructor(args: Omit<_GetWakeWatchersByIds, "tx" | "createdAt">) {
|
|
498
541
|
this.query = args;
|
|
499
542
|
}
|
|
500
543
|
}
|
|
501
544
|
|
|
502
|
-
export class
|
|
503
|
-
static readonly queryId = "
|
|
504
|
-
static readonly queryItemType = "
|
|
505
|
-
readonly queryId = "
|
|
506
|
-
readonly queryItemType = "
|
|
507
|
-
readonly query: Omit<
|
|
508
|
-
declare readonly $res: () =>
|
|
545
|
+
export class GetAllWakeWatchers {
|
|
546
|
+
static readonly queryId = "GetAllWakeWatchers" as const;
|
|
547
|
+
static readonly queryItemType = "WakeWatcher" as const;
|
|
548
|
+
readonly queryId = "GetAllWakeWatchers" as const;
|
|
549
|
+
readonly queryItemType = "WakeWatcher" as const;
|
|
550
|
+
readonly query: Omit<_GetAllWakeWatchers, "tx" | "createdAt">;
|
|
551
|
+
declare readonly $res: () => WakeWatcher[];
|
|
509
552
|
|
|
510
|
-
constructor(args: Omit<
|
|
553
|
+
constructor(args: Omit<_GetAllWakeWatchers, "tx" | "createdAt">) {
|
|
511
554
|
this.query = args;
|
|
512
555
|
}
|
|
513
556
|
}
|
|
514
557
|
|
|
515
|
-
|
|
516
|
-
static readonly queryId = "GetSandboxRunsByQuery" as const;
|
|
517
|
-
static readonly queryItemType = "SandboxRun" as const;
|
|
518
|
-
readonly queryId = "GetSandboxRunsByQuery" as const;
|
|
519
|
-
readonly queryItemType = "SandboxRun" as const;
|
|
520
|
-
readonly query: Omit<_GetSandboxRunsByQuery, "tx" | "createdAt">;
|
|
521
|
-
declare readonly $res: () => SandboxRun[];
|
|
558
|
+
// View classes
|
|
522
559
|
|
|
523
|
-
|
|
524
|
-
|
|
560
|
+
// Report classes
|
|
561
|
+
export class GetSandboxRunById {
|
|
562
|
+
static readonly reportId = "GetSandboxRunById" as const;
|
|
563
|
+
readonly reportId = "GetSandboxRunById" as const;
|
|
564
|
+
readonly report: Omit<_GetSandboxRunById, "tx">;
|
|
565
|
+
declare readonly $res: () => SandboxRun | null;
|
|
566
|
+
|
|
567
|
+
constructor(args: Omit<_GetSandboxRunById, "tx">) {
|
|
568
|
+
this.report = args;
|
|
525
569
|
}
|
|
526
570
|
}
|
|
527
571
|
|
|
528
|
-
export class
|
|
529
|
-
static readonly
|
|
530
|
-
|
|
531
|
-
readonly
|
|
532
|
-
readonly
|
|
533
|
-
readonly query: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">;
|
|
534
|
-
declare readonly $res: () => SandboxRun[];
|
|
572
|
+
export class CountSandboxRuns {
|
|
573
|
+
static readonly reportId = "CountSandboxRuns" as const;
|
|
574
|
+
readonly reportId = "CountSandboxRuns" as const;
|
|
575
|
+
readonly report: Omit<_CountSandboxRuns, "tx">;
|
|
576
|
+
declare readonly $res: () => SandboxRunCount;
|
|
535
577
|
|
|
536
|
-
constructor(args: Omit<
|
|
537
|
-
this.
|
|
578
|
+
constructor(args: Omit<_CountSandboxRuns, "tx">) {
|
|
579
|
+
this.report = args;
|
|
538
580
|
}
|
|
539
581
|
}
|
|
540
582
|
|
|
541
|
-
export class
|
|
542
|
-
static readonly
|
|
543
|
-
|
|
544
|
-
readonly
|
|
545
|
-
readonly
|
|
546
|
-
readonly query: Omit<_GetAllSandboxRuns, "tx" | "createdAt">;
|
|
547
|
-
declare readonly $res: () => SandboxRun[];
|
|
583
|
+
export class CountAllSandboxRuns {
|
|
584
|
+
static readonly reportId = "CountAllSandboxRuns" as const;
|
|
585
|
+
readonly reportId = "CountAllSandboxRuns" as const;
|
|
586
|
+
readonly report: Omit<_CountAllSandboxRuns, "tx">;
|
|
587
|
+
declare readonly $res: () => SandboxRunCount;
|
|
548
588
|
|
|
549
|
-
constructor(args: Omit<
|
|
550
|
-
this.
|
|
589
|
+
constructor(args: Omit<_CountAllSandboxRuns, "tx">) {
|
|
590
|
+
this.report = args;
|
|
551
591
|
}
|
|
552
592
|
}
|
|
553
593
|
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
readonly reportId = "GetRoomById" as const;
|
|
560
|
-
readonly report: Omit<_GetRoomById, "tx">;
|
|
561
|
-
declare readonly $res: () => Room | null;
|
|
594
|
+
export class GetMessageById {
|
|
595
|
+
static readonly reportId = "GetMessageById" as const;
|
|
596
|
+
readonly reportId = "GetMessageById" as const;
|
|
597
|
+
readonly report: Omit<_GetMessageById, "tx">;
|
|
598
|
+
declare readonly $res: () => Message | null;
|
|
562
599
|
|
|
563
|
-
constructor(args: Omit<
|
|
600
|
+
constructor(args: Omit<_GetMessageById, "tx">) {
|
|
564
601
|
this.report = args;
|
|
565
602
|
}
|
|
566
603
|
}
|
|
567
604
|
|
|
568
|
-
export class
|
|
569
|
-
static readonly reportId = "
|
|
570
|
-
readonly reportId = "
|
|
571
|
-
readonly report: Omit<
|
|
572
|
-
declare readonly $res: () =>
|
|
605
|
+
export class CountMessages {
|
|
606
|
+
static readonly reportId = "CountMessages" as const;
|
|
607
|
+
readonly reportId = "CountMessages" as const;
|
|
608
|
+
readonly report: Omit<_CountMessages, "tx">;
|
|
609
|
+
declare readonly $res: () => MessageCount;
|
|
573
610
|
|
|
574
|
-
constructor(args: Omit<
|
|
611
|
+
constructor(args: Omit<_CountMessages, "tx">) {
|
|
575
612
|
this.report = args;
|
|
576
613
|
}
|
|
577
614
|
}
|
|
578
615
|
|
|
579
|
-
export class
|
|
580
|
-
static readonly reportId = "
|
|
581
|
-
readonly reportId = "
|
|
582
|
-
readonly report: Omit<
|
|
583
|
-
declare readonly $res: () =>
|
|
616
|
+
export class CountAllMessages {
|
|
617
|
+
static readonly reportId = "CountAllMessages" as const;
|
|
618
|
+
readonly reportId = "CountAllMessages" as const;
|
|
619
|
+
readonly report: Omit<_CountAllMessages, "tx">;
|
|
620
|
+
declare readonly $res: () => MessageCount;
|
|
584
621
|
|
|
585
|
-
constructor(args: Omit<
|
|
622
|
+
constructor(args: Omit<_CountAllMessages, "tx">) {
|
|
586
623
|
this.report = args;
|
|
587
624
|
}
|
|
588
625
|
}
|
|
589
626
|
|
|
590
|
-
export class
|
|
591
|
-
static readonly reportId = "
|
|
592
|
-
readonly reportId = "
|
|
593
|
-
readonly report: Omit<
|
|
594
|
-
declare readonly $res: () =>
|
|
627
|
+
export class GetMessageReadById {
|
|
628
|
+
static readonly reportId = "GetMessageReadById" as const;
|
|
629
|
+
readonly reportId = "GetMessageReadById" as const;
|
|
630
|
+
readonly report: Omit<_GetMessageReadById, "tx">;
|
|
631
|
+
declare readonly $res: () => MessageRead | null;
|
|
595
632
|
|
|
596
|
-
constructor(args: Omit<
|
|
633
|
+
constructor(args: Omit<_GetMessageReadById, "tx">) {
|
|
597
634
|
this.report = args;
|
|
598
635
|
}
|
|
599
636
|
}
|
|
600
637
|
|
|
601
|
-
export class
|
|
602
|
-
static readonly reportId = "
|
|
603
|
-
readonly reportId = "
|
|
604
|
-
readonly report: Omit<
|
|
605
|
-
declare readonly $res: () =>
|
|
638
|
+
export class CountMessageReads {
|
|
639
|
+
static readonly reportId = "CountMessageReads" as const;
|
|
640
|
+
readonly reportId = "CountMessageReads" as const;
|
|
641
|
+
readonly report: Omit<_CountMessageReads, "tx">;
|
|
642
|
+
declare readonly $res: () => MessageReadCount;
|
|
606
643
|
|
|
607
|
-
constructor(args: Omit<
|
|
644
|
+
constructor(args: Omit<_CountMessageReads, "tx">) {
|
|
608
645
|
this.report = args;
|
|
609
646
|
}
|
|
610
647
|
}
|
|
611
648
|
|
|
612
|
-
export class
|
|
613
|
-
static readonly reportId = "
|
|
614
|
-
readonly reportId = "
|
|
615
|
-
readonly report: Omit<
|
|
616
|
-
declare readonly $res: () =>
|
|
649
|
+
export class CountAllMessageReads {
|
|
650
|
+
static readonly reportId = "CountAllMessageReads" as const;
|
|
651
|
+
readonly reportId = "CountAllMessageReads" as const;
|
|
652
|
+
readonly report: Omit<_CountAllMessageReads, "tx">;
|
|
653
|
+
declare readonly $res: () => MessageReadCount;
|
|
617
654
|
|
|
618
|
-
constructor(args: Omit<
|
|
655
|
+
constructor(args: Omit<_CountAllMessageReads, "tx">) {
|
|
619
656
|
this.report = args;
|
|
620
657
|
}
|
|
621
658
|
}
|
|
@@ -653,35 +690,35 @@ export class CountAllSessions {
|
|
|
653
690
|
}
|
|
654
691
|
}
|
|
655
692
|
|
|
656
|
-
export class
|
|
657
|
-
static readonly reportId = "
|
|
658
|
-
readonly reportId = "
|
|
659
|
-
readonly report: Omit<
|
|
660
|
-
declare readonly $res: () =>
|
|
693
|
+
export class GetSessionNicknameById {
|
|
694
|
+
static readonly reportId = "GetSessionNicknameById" as const;
|
|
695
|
+
readonly reportId = "GetSessionNicknameById" as const;
|
|
696
|
+
readonly report: Omit<_GetSessionNicknameById, "tx">;
|
|
697
|
+
declare readonly $res: () => SessionNickname | null;
|
|
661
698
|
|
|
662
|
-
constructor(args: Omit<
|
|
699
|
+
constructor(args: Omit<_GetSessionNicknameById, "tx">) {
|
|
663
700
|
this.report = args;
|
|
664
701
|
}
|
|
665
702
|
}
|
|
666
703
|
|
|
667
|
-
export class
|
|
668
|
-
static readonly reportId = "
|
|
669
|
-
readonly reportId = "
|
|
670
|
-
readonly report: Omit<
|
|
671
|
-
declare readonly $res: () =>
|
|
704
|
+
export class CountSessionNicknames {
|
|
705
|
+
static readonly reportId = "CountSessionNicknames" as const;
|
|
706
|
+
readonly reportId = "CountSessionNicknames" as const;
|
|
707
|
+
readonly report: Omit<_CountSessionNicknames, "tx">;
|
|
708
|
+
declare readonly $res: () => SessionNicknameCount;
|
|
672
709
|
|
|
673
|
-
constructor(args: Omit<
|
|
710
|
+
constructor(args: Omit<_CountSessionNicknames, "tx">) {
|
|
674
711
|
this.report = args;
|
|
675
712
|
}
|
|
676
713
|
}
|
|
677
714
|
|
|
678
|
-
export class
|
|
679
|
-
static readonly reportId = "
|
|
680
|
-
readonly reportId = "
|
|
681
|
-
readonly report: Omit<
|
|
682
|
-
declare readonly $res: () =>
|
|
715
|
+
export class CountAllSessionNicknames {
|
|
716
|
+
static readonly reportId = "CountAllSessionNicknames" as const;
|
|
717
|
+
readonly reportId = "CountAllSessionNicknames" as const;
|
|
718
|
+
readonly report: Omit<_CountAllSessionNicknames, "tx">;
|
|
719
|
+
declare readonly $res: () => SessionNicknameCount;
|
|
683
720
|
|
|
684
|
-
constructor(args: Omit<
|
|
721
|
+
constructor(args: Omit<_CountAllSessionNicknames, "tx">) {
|
|
685
722
|
this.report = args;
|
|
686
723
|
}
|
|
687
724
|
}
|
|
@@ -719,190 +756,223 @@ export class CountAllRoomMembers {
|
|
|
719
756
|
}
|
|
720
757
|
}
|
|
721
758
|
|
|
722
|
-
export class
|
|
723
|
-
static readonly reportId = "
|
|
724
|
-
readonly reportId = "
|
|
725
|
-
readonly report: Omit<
|
|
726
|
-
declare readonly $res: () =>
|
|
759
|
+
export class GetRoomById {
|
|
760
|
+
static readonly reportId = "GetRoomById" as const;
|
|
761
|
+
readonly reportId = "GetRoomById" as const;
|
|
762
|
+
readonly report: Omit<_GetRoomById, "tx">;
|
|
763
|
+
declare readonly $res: () => Room | null;
|
|
727
764
|
|
|
728
|
-
constructor(args: Omit<
|
|
765
|
+
constructor(args: Omit<_GetRoomById, "tx">) {
|
|
729
766
|
this.report = args;
|
|
730
767
|
}
|
|
731
768
|
}
|
|
732
769
|
|
|
733
|
-
export class
|
|
734
|
-
static readonly reportId = "
|
|
735
|
-
readonly reportId = "
|
|
736
|
-
readonly report: Omit<
|
|
737
|
-
declare readonly $res: () =>
|
|
770
|
+
export class CountRooms {
|
|
771
|
+
static readonly reportId = "CountRooms" as const;
|
|
772
|
+
readonly reportId = "CountRooms" as const;
|
|
773
|
+
readonly report: Omit<_CountRooms, "tx">;
|
|
774
|
+
declare readonly $res: () => RoomCount;
|
|
738
775
|
|
|
739
|
-
constructor(args: Omit<
|
|
776
|
+
constructor(args: Omit<_CountRooms, "tx">) {
|
|
740
777
|
this.report = args;
|
|
741
778
|
}
|
|
742
779
|
}
|
|
743
780
|
|
|
744
|
-
export class
|
|
745
|
-
static readonly reportId = "
|
|
746
|
-
readonly reportId = "
|
|
747
|
-
readonly report: Omit<
|
|
748
|
-
declare readonly $res: () =>
|
|
781
|
+
export class CountAllRooms {
|
|
782
|
+
static readonly reportId = "CountAllRooms" as const;
|
|
783
|
+
readonly reportId = "CountAllRooms" as const;
|
|
784
|
+
readonly report: Omit<_CountAllRooms, "tx">;
|
|
785
|
+
declare readonly $res: () => RoomCount;
|
|
749
786
|
|
|
750
|
-
constructor(args: Omit<
|
|
787
|
+
constructor(args: Omit<_CountAllRooms, "tx">) {
|
|
751
788
|
this.report = args;
|
|
752
789
|
}
|
|
753
790
|
}
|
|
754
791
|
|
|
755
|
-
export class
|
|
756
|
-
static readonly reportId = "
|
|
757
|
-
readonly reportId = "
|
|
758
|
-
readonly report: Omit<
|
|
759
|
-
declare readonly $res: () =>
|
|
792
|
+
export class GetWakeWatcherById {
|
|
793
|
+
static readonly reportId = "GetWakeWatcherById" as const;
|
|
794
|
+
readonly reportId = "GetWakeWatcherById" as const;
|
|
795
|
+
readonly report: Omit<_GetWakeWatcherById, "tx">;
|
|
796
|
+
declare readonly $res: () => WakeWatcher | null;
|
|
760
797
|
|
|
761
|
-
constructor(args: Omit<
|
|
798
|
+
constructor(args: Omit<_GetWakeWatcherById, "tx">) {
|
|
762
799
|
this.report = args;
|
|
763
800
|
}
|
|
764
801
|
}
|
|
765
802
|
|
|
766
|
-
export class
|
|
767
|
-
static readonly reportId = "
|
|
768
|
-
readonly reportId = "
|
|
769
|
-
readonly report: Omit<
|
|
770
|
-
declare readonly $res: () =>
|
|
803
|
+
export class CountWakeWatchers {
|
|
804
|
+
static readonly reportId = "CountWakeWatchers" as const;
|
|
805
|
+
readonly reportId = "CountWakeWatchers" as const;
|
|
806
|
+
readonly report: Omit<_CountWakeWatchers, "tx">;
|
|
807
|
+
declare readonly $res: () => WakeWatcherCount;
|
|
771
808
|
|
|
772
|
-
constructor(args: Omit<
|
|
809
|
+
constructor(args: Omit<_CountWakeWatchers, "tx">) {
|
|
773
810
|
this.report = args;
|
|
774
811
|
}
|
|
775
812
|
}
|
|
776
813
|
|
|
777
|
-
export class
|
|
778
|
-
static readonly reportId = "
|
|
779
|
-
readonly reportId = "
|
|
780
|
-
readonly report: Omit<
|
|
781
|
-
declare readonly $res: () =>
|
|
814
|
+
export class CountAllWakeWatchers {
|
|
815
|
+
static readonly reportId = "CountAllWakeWatchers" as const;
|
|
816
|
+
readonly reportId = "CountAllWakeWatchers" as const;
|
|
817
|
+
readonly report: Omit<_CountAllWakeWatchers, "tx">;
|
|
818
|
+
declare readonly $res: () => WakeWatcherCount;
|
|
782
819
|
|
|
783
|
-
constructor(args: Omit<
|
|
820
|
+
constructor(args: Omit<_CountAllWakeWatchers, "tx">) {
|
|
784
821
|
this.report = args;
|
|
785
822
|
}
|
|
786
823
|
}
|
|
787
824
|
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
readonly
|
|
791
|
-
readonly
|
|
792
|
-
|
|
825
|
+
// Command classes
|
|
826
|
+
export class ImportSandboxRun {
|
|
827
|
+
static readonly commandId = "ImportSandboxRun" as const;
|
|
828
|
+
readonly commandId = "ImportSandboxRun" as const;
|
|
829
|
+
readonly command: Omit<_ImportSandboxRun, "tx" | "createdAt">;
|
|
830
|
+
declare readonly $res: () => SandboxRunId;
|
|
793
831
|
|
|
794
|
-
constructor(args: Omit<
|
|
795
|
-
this.
|
|
832
|
+
constructor(args: Omit<_ImportSandboxRun, "tx" | "createdAt">) {
|
|
833
|
+
this.command = args;
|
|
796
834
|
}
|
|
797
835
|
}
|
|
798
836
|
|
|
799
|
-
export class
|
|
800
|
-
static readonly
|
|
801
|
-
readonly
|
|
802
|
-
readonly
|
|
803
|
-
declare readonly $res: () =>
|
|
837
|
+
export class DeleteSandboxRuns {
|
|
838
|
+
static readonly commandId = "DeleteSandboxRuns" as const;
|
|
839
|
+
readonly commandId = "DeleteSandboxRuns" as const;
|
|
840
|
+
readonly command: Omit<_DeleteSandboxRuns, "tx" | "createdAt">;
|
|
841
|
+
declare readonly $res: () => DeleteSandboxRunsResult;
|
|
804
842
|
|
|
805
|
-
constructor(args: Omit<
|
|
806
|
-
this.
|
|
843
|
+
constructor(args: Omit<_DeleteSandboxRuns, "tx" | "createdAt">) {
|
|
844
|
+
this.command = args;
|
|
807
845
|
}
|
|
808
846
|
}
|
|
809
847
|
|
|
810
|
-
export class
|
|
811
|
-
static readonly
|
|
812
|
-
readonly
|
|
813
|
-
readonly
|
|
814
|
-
declare readonly $res: () =>
|
|
848
|
+
export class DeleteSandboxRun {
|
|
849
|
+
static readonly commandId = "DeleteSandboxRun" as const;
|
|
850
|
+
readonly commandId = "DeleteSandboxRun" as const;
|
|
851
|
+
readonly command: Omit<_DeleteSandboxRun, "tx" | "createdAt">;
|
|
852
|
+
declare readonly $res: () => DeleteSandboxRunResult;
|
|
815
853
|
|
|
816
|
-
constructor(args: Omit<
|
|
817
|
-
this.
|
|
854
|
+
constructor(args: Omit<_DeleteSandboxRun, "tx" | "createdAt">) {
|
|
855
|
+
this.command = args;
|
|
818
856
|
}
|
|
819
857
|
}
|
|
820
858
|
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
readonly
|
|
825
|
-
readonly
|
|
826
|
-
declare readonly $res: () => DeleteRoomResult;
|
|
859
|
+
export class BroadcastMessage {
|
|
860
|
+
static readonly commandId = "BroadcastMessage" as const;
|
|
861
|
+
readonly commandId = "BroadcastMessage" as const;
|
|
862
|
+
readonly command: Omit<_BroadcastMessage, "tx" | "createdAt">;
|
|
863
|
+
declare readonly $res: () => BroadcastMessageResult;
|
|
827
864
|
|
|
828
|
-
constructor(args: Omit<
|
|
865
|
+
constructor(args: Omit<_BroadcastMessage, "tx" | "createdAt">) {
|
|
829
866
|
this.command = args;
|
|
830
867
|
}
|
|
831
868
|
}
|
|
832
869
|
|
|
833
|
-
export class
|
|
834
|
-
static readonly commandId = "
|
|
835
|
-
readonly commandId = "
|
|
836
|
-
readonly command: Omit<
|
|
837
|
-
declare readonly $res: () =>
|
|
870
|
+
export class ReadMessages {
|
|
871
|
+
static readonly commandId = "ReadMessages" as const;
|
|
872
|
+
readonly commandId = "ReadMessages" as const;
|
|
873
|
+
readonly command: Omit<_ReadMessages, "tx" | "createdAt">;
|
|
874
|
+
declare readonly $res: () => ReadMessagesResult;
|
|
838
875
|
|
|
839
|
-
constructor(args: Omit<
|
|
876
|
+
constructor(args: Omit<_ReadMessages, "tx" | "createdAt">) {
|
|
840
877
|
this.command = args;
|
|
841
878
|
}
|
|
842
879
|
}
|
|
843
880
|
|
|
844
|
-
export class
|
|
845
|
-
static readonly commandId = "
|
|
846
|
-
readonly commandId = "
|
|
847
|
-
readonly command: Omit<
|
|
848
|
-
declare readonly $res: () =>
|
|
881
|
+
export class SendMessage {
|
|
882
|
+
static readonly commandId = "SendMessage" as const;
|
|
883
|
+
readonly commandId = "SendMessage" as const;
|
|
884
|
+
readonly command: Omit<_SendMessage, "tx" | "createdAt">;
|
|
885
|
+
declare readonly $res: () => SendMessageResult;
|
|
886
|
+
|
|
887
|
+
constructor(args: Omit<_SendMessage, "tx" | "createdAt">) {
|
|
888
|
+
this.command = args;
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
export class LeaveRoom {
|
|
893
|
+
static readonly commandId = "LeaveRoom" as const;
|
|
894
|
+
readonly commandId = "LeaveRoom" as const;
|
|
895
|
+
readonly command: Omit<_LeaveRoom, "tx" | "createdAt">;
|
|
896
|
+
declare readonly $res: () => LeaveRoomResult;
|
|
897
|
+
|
|
898
|
+
constructor(args: Omit<_LeaveRoom, "tx" | "createdAt">) {
|
|
899
|
+
this.command = args;
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
export class JoinRoom {
|
|
904
|
+
static readonly commandId = "JoinRoom" as const;
|
|
905
|
+
readonly commandId = "JoinRoom" as const;
|
|
906
|
+
readonly command: Omit<_JoinRoom, "tx" | "createdAt">;
|
|
907
|
+
declare readonly $res: () => JoinRoomResult;
|
|
908
|
+
|
|
909
|
+
constructor(args: Omit<_JoinRoom, "tx" | "createdAt">) {
|
|
910
|
+
this.command = args;
|
|
911
|
+
}
|
|
912
|
+
}
|
|
849
913
|
|
|
850
|
-
|
|
914
|
+
export class DeleteMessages {
|
|
915
|
+
static readonly commandId = "DeleteMessages" as const;
|
|
916
|
+
readonly commandId = "DeleteMessages" as const;
|
|
917
|
+
readonly command: Omit<_DeleteMessages, "tx" | "createdAt">;
|
|
918
|
+
declare readonly $res: () => DeleteMessagesResult;
|
|
919
|
+
|
|
920
|
+
constructor(args: Omit<_DeleteMessages, "tx" | "createdAt">) {
|
|
851
921
|
this.command = args;
|
|
852
922
|
}
|
|
853
923
|
}
|
|
854
924
|
|
|
855
|
-
export class
|
|
856
|
-
static readonly commandId = "
|
|
857
|
-
readonly commandId = "
|
|
858
|
-
readonly command: Omit<
|
|
859
|
-
declare readonly $res: () =>
|
|
925
|
+
export class DeleteMessage {
|
|
926
|
+
static readonly commandId = "DeleteMessage" as const;
|
|
927
|
+
readonly commandId = "DeleteMessage" as const;
|
|
928
|
+
readonly command: Omit<_DeleteMessage, "tx" | "createdAt">;
|
|
929
|
+
declare readonly $res: () => DeleteMessageResult;
|
|
860
930
|
|
|
861
|
-
constructor(args: Omit<
|
|
931
|
+
constructor(args: Omit<_DeleteMessage, "tx" | "createdAt">) {
|
|
862
932
|
this.command = args;
|
|
863
933
|
}
|
|
864
934
|
}
|
|
865
935
|
|
|
866
|
-
export class
|
|
867
|
-
static readonly commandId = "
|
|
868
|
-
readonly commandId = "
|
|
869
|
-
readonly command: Omit<
|
|
870
|
-
declare readonly $res: () =>
|
|
936
|
+
export class DeleteMessageReads {
|
|
937
|
+
static readonly commandId = "DeleteMessageReads" as const;
|
|
938
|
+
readonly commandId = "DeleteMessageReads" as const;
|
|
939
|
+
readonly command: Omit<_DeleteMessageReads, "tx" | "createdAt">;
|
|
940
|
+
declare readonly $res: () => DeleteMessageReadsResult;
|
|
871
941
|
|
|
872
|
-
constructor(args: Omit<
|
|
942
|
+
constructor(args: Omit<_DeleteMessageReads, "tx" | "createdAt">) {
|
|
873
943
|
this.command = args;
|
|
874
944
|
}
|
|
875
945
|
}
|
|
876
946
|
|
|
877
|
-
export class
|
|
878
|
-
static readonly commandId = "
|
|
879
|
-
readonly commandId = "
|
|
880
|
-
readonly command: Omit<
|
|
881
|
-
declare readonly $res: () =>
|
|
947
|
+
export class DeleteMessageRead {
|
|
948
|
+
static readonly commandId = "DeleteMessageRead" as const;
|
|
949
|
+
readonly commandId = "DeleteMessageRead" as const;
|
|
950
|
+
readonly command: Omit<_DeleteMessageRead, "tx" | "createdAt">;
|
|
951
|
+
declare readonly $res: () => DeleteMessageReadResult;
|
|
882
952
|
|
|
883
|
-
constructor(args: Omit<
|
|
953
|
+
constructor(args: Omit<_DeleteMessageRead, "tx" | "createdAt">) {
|
|
884
954
|
this.command = args;
|
|
885
955
|
}
|
|
886
956
|
}
|
|
887
957
|
|
|
888
|
-
export class
|
|
889
|
-
static readonly commandId = "
|
|
890
|
-
readonly commandId = "
|
|
891
|
-
readonly command: Omit<
|
|
892
|
-
declare readonly $res: () =>
|
|
958
|
+
export class AckMessages {
|
|
959
|
+
static readonly commandId = "AckMessages" as const;
|
|
960
|
+
readonly commandId = "AckMessages" as const;
|
|
961
|
+
readonly command: Omit<_AckMessages, "tx" | "createdAt">;
|
|
962
|
+
declare readonly $res: () => AckMessagesResult;
|
|
893
963
|
|
|
894
|
-
constructor(args: Omit<
|
|
964
|
+
constructor(args: Omit<_AckMessages, "tx" | "createdAt">) {
|
|
895
965
|
this.command = args;
|
|
896
966
|
}
|
|
897
967
|
}
|
|
898
968
|
|
|
899
|
-
export class
|
|
900
|
-
static readonly commandId = "
|
|
901
|
-
readonly commandId = "
|
|
902
|
-
readonly command: Omit<
|
|
903
|
-
declare readonly $res: () =>
|
|
969
|
+
export class RegisterOperatorConsole {
|
|
970
|
+
static readonly commandId = "RegisterOperatorConsole" as const;
|
|
971
|
+
readonly commandId = "RegisterOperatorConsole" as const;
|
|
972
|
+
readonly command: Omit<_RegisterOperatorConsole, "tx" | "createdAt">;
|
|
973
|
+
declare readonly $res: () => void;
|
|
904
974
|
|
|
905
|
-
constructor(args: Omit<
|
|
975
|
+
constructor(args: Omit<_RegisterOperatorConsole, "tx" | "createdAt">) {
|
|
906
976
|
this.command = args;
|
|
907
977
|
}
|
|
908
978
|
}
|
|
@@ -929,6 +999,17 @@ export class SetSessionLastTool {
|
|
|
929
999
|
}
|
|
930
1000
|
}
|
|
931
1001
|
|
|
1002
|
+
export class CloseOperatorConsole {
|
|
1003
|
+
static readonly commandId = "CloseOperatorConsole" as const;
|
|
1004
|
+
readonly commandId = "CloseOperatorConsole" as const;
|
|
1005
|
+
readonly command: Omit<_CloseOperatorConsole, "tx" | "createdAt">;
|
|
1006
|
+
declare readonly $res: () => void;
|
|
1007
|
+
|
|
1008
|
+
constructor(args: Omit<_CloseOperatorConsole, "tx" | "createdAt">) {
|
|
1009
|
+
this.command = args;
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
|
|
932
1013
|
export class RegisterSession {
|
|
933
1014
|
static readonly commandId = "RegisterSession" as const;
|
|
934
1015
|
readonly commandId = "RegisterSession" as const;
|
|
@@ -1017,46 +1098,24 @@ export class DeleteSession {
|
|
|
1017
1098
|
}
|
|
1018
1099
|
}
|
|
1019
1100
|
|
|
1020
|
-
export class
|
|
1021
|
-
static readonly commandId = "
|
|
1022
|
-
readonly commandId = "
|
|
1023
|
-
readonly command: Omit<
|
|
1024
|
-
declare readonly $res: () =>
|
|
1025
|
-
|
|
1026
|
-
constructor(args: Omit<_DeleteWakeWatcher, "tx" | "createdAt">) {
|
|
1027
|
-
this.command = args;
|
|
1028
|
-
}
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
export class DeleteWakeWatchers {
|
|
1032
|
-
static readonly commandId = "DeleteWakeWatchers" as const;
|
|
1033
|
-
readonly commandId = "DeleteWakeWatchers" as const;
|
|
1034
|
-
readonly command: Omit<_DeleteWakeWatchers, "tx" | "createdAt">;
|
|
1035
|
-
declare readonly $res: () => DeleteWakeWatchersResult;
|
|
1036
|
-
|
|
1037
|
-
constructor(args: Omit<_DeleteWakeWatchers, "tx" | "createdAt">) {
|
|
1038
|
-
this.command = args;
|
|
1039
|
-
}
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
export class AckMessages {
|
|
1043
|
-
static readonly commandId = "AckMessages" as const;
|
|
1044
|
-
readonly commandId = "AckMessages" as const;
|
|
1045
|
-
readonly command: Omit<_AckMessages, "tx" | "createdAt">;
|
|
1046
|
-
declare readonly $res: () => AckMessagesResult;
|
|
1101
|
+
export class DeleteSessionNickname {
|
|
1102
|
+
static readonly commandId = "DeleteSessionNickname" as const;
|
|
1103
|
+
readonly commandId = "DeleteSessionNickname" as const;
|
|
1104
|
+
readonly command: Omit<_DeleteSessionNickname, "tx" | "createdAt">;
|
|
1105
|
+
declare readonly $res: () => DeleteSessionNicknameResult;
|
|
1047
1106
|
|
|
1048
|
-
constructor(args: Omit<
|
|
1107
|
+
constructor(args: Omit<_DeleteSessionNickname, "tx" | "createdAt">) {
|
|
1049
1108
|
this.command = args;
|
|
1050
1109
|
}
|
|
1051
1110
|
}
|
|
1052
1111
|
|
|
1053
|
-
export class
|
|
1054
|
-
static readonly commandId = "
|
|
1055
|
-
readonly commandId = "
|
|
1056
|
-
readonly command: Omit<
|
|
1057
|
-
declare readonly $res: () =>
|
|
1112
|
+
export class DeleteSessionNicknames {
|
|
1113
|
+
static readonly commandId = "DeleteSessionNicknames" as const;
|
|
1114
|
+
readonly commandId = "DeleteSessionNicknames" as const;
|
|
1115
|
+
readonly command: Omit<_DeleteSessionNicknames, "tx" | "createdAt">;
|
|
1116
|
+
declare readonly $res: () => DeleteSessionNicknamesResult;
|
|
1058
1117
|
|
|
1059
|
-
constructor(args: Omit<
|
|
1118
|
+
constructor(args: Omit<_DeleteSessionNicknames, "tx" | "createdAt">) {
|
|
1060
1119
|
this.command = args;
|
|
1061
1120
|
}
|
|
1062
1121
|
}
|
|
@@ -1072,137 +1131,104 @@ export class DeleteRoomMembers {
|
|
|
1072
1131
|
}
|
|
1073
1132
|
}
|
|
1074
1133
|
|
|
1075
|
-
export class
|
|
1076
|
-
static readonly commandId = "
|
|
1077
|
-
readonly commandId = "
|
|
1078
|
-
readonly command: Omit<
|
|
1079
|
-
declare readonly $res: () =>
|
|
1080
|
-
|
|
1081
|
-
constructor(args: Omit<_DeleteMessage, "tx" | "createdAt">) {
|
|
1082
|
-
this.command = args;
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
export class DeleteMessages {
|
|
1087
|
-
static readonly commandId = "DeleteMessages" as const;
|
|
1088
|
-
readonly commandId = "DeleteMessages" as const;
|
|
1089
|
-
readonly command: Omit<_DeleteMessages, "tx" | "createdAt">;
|
|
1090
|
-
declare readonly $res: () => DeleteMessagesResult;
|
|
1091
|
-
|
|
1092
|
-
constructor(args: Omit<_DeleteMessages, "tx" | "createdAt">) {
|
|
1093
|
-
this.command = args;
|
|
1094
|
-
}
|
|
1095
|
-
}
|
|
1096
|
-
|
|
1097
|
-
export class DeleteMessageRead {
|
|
1098
|
-
static readonly commandId = "DeleteMessageRead" as const;
|
|
1099
|
-
readonly commandId = "DeleteMessageRead" as const;
|
|
1100
|
-
readonly command: Omit<_DeleteMessageRead, "tx" | "createdAt">;
|
|
1101
|
-
declare readonly $res: () => DeleteMessageReadResult;
|
|
1102
|
-
|
|
1103
|
-
constructor(args: Omit<_DeleteMessageRead, "tx" | "createdAt">) {
|
|
1104
|
-
this.command = args;
|
|
1105
|
-
}
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
export class DeleteMessageReads {
|
|
1109
|
-
static readonly commandId = "DeleteMessageReads" as const;
|
|
1110
|
-
readonly commandId = "DeleteMessageReads" as const;
|
|
1111
|
-
readonly command: Omit<_DeleteMessageReads, "tx" | "createdAt">;
|
|
1112
|
-
declare readonly $res: () => DeleteMessageReadsResult;
|
|
1134
|
+
export class DeleteRoomMember {
|
|
1135
|
+
static readonly commandId = "DeleteRoomMember" as const;
|
|
1136
|
+
readonly commandId = "DeleteRoomMember" as const;
|
|
1137
|
+
readonly command: Omit<_DeleteRoomMember, "tx" | "createdAt">;
|
|
1138
|
+
declare readonly $res: () => DeleteRoomMemberResult;
|
|
1113
1139
|
|
|
1114
|
-
constructor(args: Omit<
|
|
1140
|
+
constructor(args: Omit<_DeleteRoomMember, "tx" | "createdAt">) {
|
|
1115
1141
|
this.command = args;
|
|
1116
1142
|
}
|
|
1117
1143
|
}
|
|
1118
1144
|
|
|
1119
|
-
export class
|
|
1120
|
-
static readonly commandId = "
|
|
1121
|
-
readonly commandId = "
|
|
1122
|
-
readonly command: Omit<
|
|
1123
|
-
declare readonly $res: () =>
|
|
1145
|
+
export class NotifyChannel {
|
|
1146
|
+
static readonly commandId = "NotifyChannel" as const;
|
|
1147
|
+
readonly commandId = "NotifyChannel" as const;
|
|
1148
|
+
readonly command: Omit<_NotifyChannel, "tx" | "createdAt">;
|
|
1149
|
+
declare readonly $res: () => void;
|
|
1124
1150
|
|
|
1125
|
-
constructor(args: Omit<
|
|
1151
|
+
constructor(args: Omit<_NotifyChannel, "tx" | "createdAt">) {
|
|
1126
1152
|
this.command = args;
|
|
1127
1153
|
}
|
|
1128
1154
|
}
|
|
1129
1155
|
|
|
1130
|
-
export class
|
|
1131
|
-
static readonly commandId = "
|
|
1132
|
-
readonly commandId = "
|
|
1133
|
-
readonly command: Omit<
|
|
1134
|
-
declare readonly $res: () =>
|
|
1156
|
+
export class DeleteRoom {
|
|
1157
|
+
static readonly commandId = "DeleteRoom" as const;
|
|
1158
|
+
readonly commandId = "DeleteRoom" as const;
|
|
1159
|
+
readonly command: Omit<_DeleteRoom, "tx" | "createdAt">;
|
|
1160
|
+
declare readonly $res: () => DeleteRoomResult;
|
|
1135
1161
|
|
|
1136
|
-
constructor(args: Omit<
|
|
1162
|
+
constructor(args: Omit<_DeleteRoom, "tx" | "createdAt">) {
|
|
1137
1163
|
this.command = args;
|
|
1138
1164
|
}
|
|
1139
1165
|
}
|
|
1140
1166
|
|
|
1141
|
-
export class
|
|
1142
|
-
static readonly commandId = "
|
|
1143
|
-
readonly commandId = "
|
|
1144
|
-
readonly command: Omit<
|
|
1145
|
-
declare readonly $res: () =>
|
|
1167
|
+
export class SetRoomName {
|
|
1168
|
+
static readonly commandId = "SetRoomName" as const;
|
|
1169
|
+
readonly commandId = "SetRoomName" as const;
|
|
1170
|
+
readonly command: Omit<_SetRoomName, "tx" | "createdAt">;
|
|
1171
|
+
declare readonly $res: () => void;
|
|
1146
1172
|
|
|
1147
|
-
constructor(args: Omit<
|
|
1173
|
+
constructor(args: Omit<_SetRoomName, "tx" | "createdAt">) {
|
|
1148
1174
|
this.command = args;
|
|
1149
1175
|
}
|
|
1150
1176
|
}
|
|
1151
1177
|
|
|
1152
|
-
export class
|
|
1153
|
-
static readonly commandId = "
|
|
1154
|
-
readonly commandId = "
|
|
1155
|
-
readonly command: Omit<
|
|
1156
|
-
declare readonly $res: () =>
|
|
1178
|
+
export class DeleteRooms {
|
|
1179
|
+
static readonly commandId = "DeleteRooms" as const;
|
|
1180
|
+
readonly commandId = "DeleteRooms" as const;
|
|
1181
|
+
readonly command: Omit<_DeleteRooms, "tx" | "createdAt">;
|
|
1182
|
+
declare readonly $res: () => DeleteRoomsResult;
|
|
1157
1183
|
|
|
1158
|
-
constructor(args: Omit<
|
|
1184
|
+
constructor(args: Omit<_DeleteRooms, "tx" | "createdAt">) {
|
|
1159
1185
|
this.command = args;
|
|
1160
1186
|
}
|
|
1161
1187
|
}
|
|
1162
1188
|
|
|
1163
|
-
export class
|
|
1164
|
-
static readonly commandId = "
|
|
1165
|
-
readonly commandId = "
|
|
1166
|
-
readonly command: Omit<
|
|
1167
|
-
declare readonly $res: () =>
|
|
1189
|
+
export class SetRoomDescription {
|
|
1190
|
+
static readonly commandId = "SetRoomDescription" as const;
|
|
1191
|
+
readonly commandId = "SetRoomDescription" as const;
|
|
1192
|
+
readonly command: Omit<_SetRoomDescription, "tx" | "createdAt">;
|
|
1193
|
+
declare readonly $res: () => void;
|
|
1168
1194
|
|
|
1169
|
-
constructor(args: Omit<
|
|
1195
|
+
constructor(args: Omit<_SetRoomDescription, "tx" | "createdAt">) {
|
|
1170
1196
|
this.command = args;
|
|
1171
1197
|
}
|
|
1172
1198
|
}
|
|
1173
1199
|
|
|
1174
|
-
export class
|
|
1175
|
-
static readonly commandId = "
|
|
1176
|
-
readonly commandId = "
|
|
1177
|
-
readonly command: Omit<
|
|
1178
|
-
declare readonly $res: () =>
|
|
1200
|
+
export class DeleteWakeWatcher {
|
|
1201
|
+
static readonly commandId = "DeleteWakeWatcher" as const;
|
|
1202
|
+
readonly commandId = "DeleteWakeWatcher" as const;
|
|
1203
|
+
readonly command: Omit<_DeleteWakeWatcher, "tx" | "createdAt">;
|
|
1204
|
+
declare readonly $res: () => DeleteWakeWatcherResult;
|
|
1179
1205
|
|
|
1180
|
-
constructor(args: Omit<
|
|
1206
|
+
constructor(args: Omit<_DeleteWakeWatcher, "tx" | "createdAt">) {
|
|
1181
1207
|
this.command = args;
|
|
1182
1208
|
}
|
|
1183
1209
|
}
|
|
1184
1210
|
|
|
1185
|
-
export class
|
|
1186
|
-
static readonly commandId = "
|
|
1187
|
-
readonly commandId = "
|
|
1188
|
-
readonly command: Omit<
|
|
1189
|
-
declare readonly $res: () =>
|
|
1211
|
+
export class DeleteWakeWatchers {
|
|
1212
|
+
static readonly commandId = "DeleteWakeWatchers" as const;
|
|
1213
|
+
readonly commandId = "DeleteWakeWatchers" as const;
|
|
1214
|
+
readonly command: Omit<_DeleteWakeWatchers, "tx" | "createdAt">;
|
|
1215
|
+
declare readonly $res: () => DeleteWakeWatchersResult;
|
|
1190
1216
|
|
|
1191
|
-
constructor(args: Omit<
|
|
1217
|
+
constructor(args: Omit<_DeleteWakeWatchers, "tx" | "createdAt">) {
|
|
1192
1218
|
this.command = args;
|
|
1193
1219
|
}
|
|
1194
1220
|
}
|
|
1195
1221
|
|
|
1196
1222
|
// Item constructors
|
|
1197
1223
|
export const items = {
|
|
1198
|
-
|
|
1199
|
-
SessionNickname: (args: SessionNickname) => ({ item: args, itemType: "SessionNickname" }),
|
|
1200
|
-
Session: (args: Session) => ({ item: args, itemType: "Session" }),
|
|
1201
|
-
WakeWatcher: (args: WakeWatcher) => ({ item: args, itemType: "WakeWatcher" }),
|
|
1202
|
-
RoomMember: (args: RoomMember) => ({ item: args, itemType: "RoomMember" }),
|
|
1224
|
+
SandboxRun: (args: SandboxRun) => ({ item: args, itemType: "SandboxRun" }),
|
|
1203
1225
|
Message: (args: Message) => ({ item: args, itemType: "Message" }),
|
|
1204
1226
|
MessageRead: (args: MessageRead) => ({ item: args, itemType: "MessageRead" }),
|
|
1205
|
-
|
|
1227
|
+
Session: (args: Session) => ({ item: args, itemType: "Session" }),
|
|
1228
|
+
SessionNickname: (args: SessionNickname) => ({ item: args, itemType: "SessionNickname" }),
|
|
1229
|
+
RoomMember: (args: RoomMember) => ({ item: args, itemType: "RoomMember" }),
|
|
1230
|
+
Room: (args: Room) => ({ item: args, itemType: "Room" }),
|
|
1231
|
+
WakeWatcher: (args: WakeWatcher) => ({ item: args, itemType: "WakeWatcher" }),
|
|
1206
1232
|
};
|
|
1207
1233
|
|
|
1208
1234
|
// Message events
|