@agent-marshal/marshal-prime-agent 0.53.0 → 0.53.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/generated/index.ts +252 -251
package/package.json
CHANGED
package/src/generated/index.ts
CHANGED
|
@@ -191,6 +191,84 @@ import type { SetSessionLastToolAt as _SetSessionLastToolAt } from "./SetSession
|
|
|
191
191
|
import type { SetSessionSessionName as _SetSessionSessionName } from "./SetSessionSessionName";
|
|
192
192
|
|
|
193
193
|
// Query classes
|
|
194
|
+
export class GetRoomMembersByQuery {
|
|
195
|
+
static readonly queryId = "GetRoomMembersByQuery" as const;
|
|
196
|
+
static readonly queryItemType = "RoomMember" as const;
|
|
197
|
+
readonly queryId = "GetRoomMembersByQuery" as const;
|
|
198
|
+
readonly queryItemType = "RoomMember" as const;
|
|
199
|
+
readonly query: Omit<_GetRoomMembersByQuery, "tx" | "createdAt">;
|
|
200
|
+
declare readonly $res: () => RoomMember[];
|
|
201
|
+
|
|
202
|
+
constructor(args: Omit<_GetRoomMembersByQuery, "tx" | "createdAt">) {
|
|
203
|
+
this.query = args;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export class GetRoomMembersByIds {
|
|
208
|
+
static readonly queryId = "GetRoomMembersByIds" as const;
|
|
209
|
+
static readonly queryItemType = "RoomMember" as const;
|
|
210
|
+
readonly queryId = "GetRoomMembersByIds" as const;
|
|
211
|
+
readonly queryItemType = "RoomMember" as const;
|
|
212
|
+
readonly query: Omit<_GetRoomMembersByIds, "tx" | "createdAt">;
|
|
213
|
+
declare readonly $res: () => RoomMember[];
|
|
214
|
+
|
|
215
|
+
constructor(args: Omit<_GetRoomMembersByIds, "tx" | "createdAt">) {
|
|
216
|
+
this.query = args;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export class GetAllRoomMembers {
|
|
221
|
+
static readonly queryId = "GetAllRoomMembers" as const;
|
|
222
|
+
static readonly queryItemType = "RoomMember" as const;
|
|
223
|
+
readonly queryId = "GetAllRoomMembers" as const;
|
|
224
|
+
readonly queryItemType = "RoomMember" as const;
|
|
225
|
+
readonly query: Omit<_GetAllRoomMembers, "tx" | "createdAt">;
|
|
226
|
+
declare readonly $res: () => RoomMember[];
|
|
227
|
+
|
|
228
|
+
constructor(args: Omit<_GetAllRoomMembers, "tx" | "createdAt">) {
|
|
229
|
+
this.query = args;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export class GetMessageReadsByQuery {
|
|
234
|
+
static readonly queryId = "GetMessageReadsByQuery" as const;
|
|
235
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
236
|
+
readonly queryId = "GetMessageReadsByQuery" as const;
|
|
237
|
+
readonly queryItemType = "MessageRead" as const;
|
|
238
|
+
readonly query: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">;
|
|
239
|
+
declare readonly $res: () => MessageRead[];
|
|
240
|
+
|
|
241
|
+
constructor(args: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">) {
|
|
242
|
+
this.query = args;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export class GetMessageReadsByIds {
|
|
247
|
+
static readonly queryId = "GetMessageReadsByIds" as const;
|
|
248
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
249
|
+
readonly queryId = "GetMessageReadsByIds" as const;
|
|
250
|
+
readonly queryItemType = "MessageRead" as const;
|
|
251
|
+
readonly query: Omit<_GetMessageReadsByIds, "tx" | "createdAt">;
|
|
252
|
+
declare readonly $res: () => MessageRead[];
|
|
253
|
+
|
|
254
|
+
constructor(args: Omit<_GetMessageReadsByIds, "tx" | "createdAt">) {
|
|
255
|
+
this.query = args;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export class GetAllMessageReads {
|
|
260
|
+
static readonly queryId = "GetAllMessageReads" as const;
|
|
261
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
262
|
+
readonly queryId = "GetAllMessageReads" as const;
|
|
263
|
+
readonly queryItemType = "MessageRead" as const;
|
|
264
|
+
readonly query: Omit<_GetAllMessageReads, "tx" | "createdAt">;
|
|
265
|
+
declare readonly $res: () => MessageRead[];
|
|
266
|
+
|
|
267
|
+
constructor(args: Omit<_GetAllMessageReads, "tx" | "createdAt">) {
|
|
268
|
+
this.query = args;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
194
272
|
export class GetSessionsByQuery {
|
|
195
273
|
static readonly queryId = "GetSessionsByQuery" as const;
|
|
196
274
|
static readonly queryItemType = "Session" as const;
|
|
@@ -347,94 +425,71 @@ export class GetAllRooms {
|
|
|
347
425
|
}
|
|
348
426
|
}
|
|
349
427
|
|
|
350
|
-
|
|
351
|
-
static readonly queryId = "GetRoomMembersByQuery" as const;
|
|
352
|
-
static readonly queryItemType = "RoomMember" as const;
|
|
353
|
-
readonly queryId = "GetRoomMembersByQuery" as const;
|
|
354
|
-
readonly queryItemType = "RoomMember" as const;
|
|
355
|
-
readonly query: Omit<_GetRoomMembersByQuery, "tx" | "createdAt">;
|
|
356
|
-
declare readonly $res: () => RoomMember[];
|
|
357
|
-
|
|
358
|
-
constructor(args: Omit<_GetRoomMembersByQuery, "tx" | "createdAt">) {
|
|
359
|
-
this.query = args;
|
|
360
|
-
}
|
|
361
|
-
}
|
|
428
|
+
// View classes
|
|
362
429
|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
static readonly
|
|
366
|
-
readonly
|
|
367
|
-
readonly
|
|
368
|
-
readonly
|
|
369
|
-
declare readonly $res: () => RoomMember[];
|
|
430
|
+
// Report classes
|
|
431
|
+
export class GetRoomMemberById {
|
|
432
|
+
static readonly reportId = "GetRoomMemberById" as const;
|
|
433
|
+
readonly reportId = "GetRoomMemberById" as const;
|
|
434
|
+
readonly report: Omit<_GetRoomMemberById, "tx">;
|
|
435
|
+
declare readonly $res: () => RoomMember | null;
|
|
370
436
|
|
|
371
|
-
constructor(args: Omit<
|
|
372
|
-
this.
|
|
437
|
+
constructor(args: Omit<_GetRoomMemberById, "tx">) {
|
|
438
|
+
this.report = args;
|
|
373
439
|
}
|
|
374
440
|
}
|
|
375
441
|
|
|
376
|
-
export class
|
|
377
|
-
static readonly
|
|
378
|
-
|
|
379
|
-
readonly
|
|
380
|
-
readonly
|
|
381
|
-
readonly query: Omit<_GetAllRoomMembers, "tx" | "createdAt">;
|
|
382
|
-
declare readonly $res: () => RoomMember[];
|
|
442
|
+
export class CountRoomMembers {
|
|
443
|
+
static readonly reportId = "CountRoomMembers" as const;
|
|
444
|
+
readonly reportId = "CountRoomMembers" as const;
|
|
445
|
+
readonly report: Omit<_CountRoomMembers, "tx">;
|
|
446
|
+
declare readonly $res: () => RoomMemberCount;
|
|
383
447
|
|
|
384
|
-
constructor(args: Omit<
|
|
385
|
-
this.
|
|
448
|
+
constructor(args: Omit<_CountRoomMembers, "tx">) {
|
|
449
|
+
this.report = args;
|
|
386
450
|
}
|
|
387
451
|
}
|
|
388
452
|
|
|
389
|
-
export class
|
|
390
|
-
static readonly
|
|
391
|
-
|
|
392
|
-
readonly
|
|
393
|
-
readonly
|
|
394
|
-
readonly query: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">;
|
|
395
|
-
declare readonly $res: () => MessageRead[];
|
|
453
|
+
export class CountAllRoomMembers {
|
|
454
|
+
static readonly reportId = "CountAllRoomMembers" as const;
|
|
455
|
+
readonly reportId = "CountAllRoomMembers" as const;
|
|
456
|
+
readonly report: Omit<_CountAllRoomMembers, "tx">;
|
|
457
|
+
declare readonly $res: () => RoomMemberCount;
|
|
396
458
|
|
|
397
|
-
constructor(args: Omit<
|
|
398
|
-
this.
|
|
459
|
+
constructor(args: Omit<_CountAllRoomMembers, "tx">) {
|
|
460
|
+
this.report = args;
|
|
399
461
|
}
|
|
400
462
|
}
|
|
401
463
|
|
|
402
|
-
export class
|
|
403
|
-
static readonly
|
|
404
|
-
|
|
405
|
-
readonly
|
|
406
|
-
readonly
|
|
407
|
-
readonly query: Omit<_GetMessageReadsByIds, "tx" | "createdAt">;
|
|
408
|
-
declare readonly $res: () => MessageRead[];
|
|
464
|
+
export class GetMessageReadById {
|
|
465
|
+
static readonly reportId = "GetMessageReadById" as const;
|
|
466
|
+
readonly reportId = "GetMessageReadById" as const;
|
|
467
|
+
readonly report: Omit<_GetMessageReadById, "tx">;
|
|
468
|
+
declare readonly $res: () => MessageRead | null;
|
|
409
469
|
|
|
410
|
-
constructor(args: Omit<
|
|
411
|
-
this.
|
|
470
|
+
constructor(args: Omit<_GetMessageReadById, "tx">) {
|
|
471
|
+
this.report = args;
|
|
412
472
|
}
|
|
413
473
|
}
|
|
414
474
|
|
|
415
|
-
export class
|
|
416
|
-
static readonly
|
|
417
|
-
|
|
418
|
-
readonly
|
|
419
|
-
readonly
|
|
420
|
-
readonly query: Omit<_GetAllMessageReads, "tx" | "createdAt">;
|
|
421
|
-
declare readonly $res: () => MessageRead[];
|
|
475
|
+
export class CountMessageReads {
|
|
476
|
+
static readonly reportId = "CountMessageReads" as const;
|
|
477
|
+
readonly reportId = "CountMessageReads" as const;
|
|
478
|
+
readonly report: Omit<_CountMessageReads, "tx">;
|
|
479
|
+
declare readonly $res: () => MessageReadCount;
|
|
422
480
|
|
|
423
|
-
constructor(args: Omit<
|
|
424
|
-
this.
|
|
481
|
+
constructor(args: Omit<_CountMessageReads, "tx">) {
|
|
482
|
+
this.report = args;
|
|
425
483
|
}
|
|
426
484
|
}
|
|
427
485
|
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
readonly reportId = "CountAllSessions" as const;
|
|
434
|
-
readonly report: Omit<_CountAllSessions, "tx">;
|
|
435
|
-
declare readonly $res: () => SessionCount;
|
|
486
|
+
export class CountAllMessageReads {
|
|
487
|
+
static readonly reportId = "CountAllMessageReads" as const;
|
|
488
|
+
readonly reportId = "CountAllMessageReads" as const;
|
|
489
|
+
readonly report: Omit<_CountAllMessageReads, "tx">;
|
|
490
|
+
declare readonly $res: () => MessageReadCount;
|
|
436
491
|
|
|
437
|
-
constructor(args: Omit<
|
|
492
|
+
constructor(args: Omit<_CountAllMessageReads, "tx">) {
|
|
438
493
|
this.report = args;
|
|
439
494
|
}
|
|
440
495
|
}
|
|
@@ -461,13 +516,13 @@ export class CountSessions {
|
|
|
461
516
|
}
|
|
462
517
|
}
|
|
463
518
|
|
|
464
|
-
export class
|
|
465
|
-
static readonly reportId = "
|
|
466
|
-
readonly reportId = "
|
|
467
|
-
readonly report: Omit<
|
|
468
|
-
declare readonly $res: () =>
|
|
519
|
+
export class CountAllSessions {
|
|
520
|
+
static readonly reportId = "CountAllSessions" as const;
|
|
521
|
+
readonly reportId = "CountAllSessions" as const;
|
|
522
|
+
readonly report: Omit<_CountAllSessions, "tx">;
|
|
523
|
+
declare readonly $res: () => SessionCount;
|
|
469
524
|
|
|
470
|
-
constructor(args: Omit<
|
|
525
|
+
constructor(args: Omit<_CountAllSessions, "tx">) {
|
|
471
526
|
this.report = args;
|
|
472
527
|
}
|
|
473
528
|
}
|
|
@@ -494,13 +549,13 @@ export class CountSessionNicknames {
|
|
|
494
549
|
}
|
|
495
550
|
}
|
|
496
551
|
|
|
497
|
-
export class
|
|
498
|
-
static readonly reportId = "
|
|
499
|
-
readonly reportId = "
|
|
500
|
-
readonly report: Omit<
|
|
501
|
-
declare readonly $res: () =>
|
|
552
|
+
export class CountAllSessionNicknames {
|
|
553
|
+
static readonly reportId = "CountAllSessionNicknames" as const;
|
|
554
|
+
readonly reportId = "CountAllSessionNicknames" as const;
|
|
555
|
+
readonly report: Omit<_CountAllSessionNicknames, "tx">;
|
|
556
|
+
declare readonly $res: () => SessionNicknameCount;
|
|
502
557
|
|
|
503
|
-
constructor(args: Omit<
|
|
558
|
+
constructor(args: Omit<_CountAllSessionNicknames, "tx">) {
|
|
504
559
|
this.report = args;
|
|
505
560
|
}
|
|
506
561
|
}
|
|
@@ -527,13 +582,13 @@ export class CountMessages {
|
|
|
527
582
|
}
|
|
528
583
|
}
|
|
529
584
|
|
|
530
|
-
export class
|
|
531
|
-
static readonly reportId = "
|
|
532
|
-
readonly reportId = "
|
|
533
|
-
readonly report: Omit<
|
|
534
|
-
declare readonly $res: () =>
|
|
585
|
+
export class CountAllMessages {
|
|
586
|
+
static readonly reportId = "CountAllMessages" as const;
|
|
587
|
+
readonly reportId = "CountAllMessages" as const;
|
|
588
|
+
readonly report: Omit<_CountAllMessages, "tx">;
|
|
589
|
+
declare readonly $res: () => MessageCount;
|
|
535
590
|
|
|
536
|
-
constructor(args: Omit<
|
|
591
|
+
constructor(args: Omit<_CountAllMessages, "tx">) {
|
|
537
592
|
this.report = args;
|
|
538
593
|
}
|
|
539
594
|
}
|
|
@@ -560,80 +615,91 @@ export class CountRooms {
|
|
|
560
615
|
}
|
|
561
616
|
}
|
|
562
617
|
|
|
563
|
-
export class
|
|
564
|
-
static readonly reportId = "
|
|
565
|
-
readonly reportId = "
|
|
566
|
-
readonly report: Omit<
|
|
567
|
-
declare readonly $res: () =>
|
|
618
|
+
export class CountAllRooms {
|
|
619
|
+
static readonly reportId = "CountAllRooms" as const;
|
|
620
|
+
readonly reportId = "CountAllRooms" as const;
|
|
621
|
+
readonly report: Omit<_CountAllRooms, "tx">;
|
|
622
|
+
declare readonly $res: () => RoomCount;
|
|
568
623
|
|
|
569
|
-
constructor(args: Omit<
|
|
624
|
+
constructor(args: Omit<_CountAllRooms, "tx">) {
|
|
570
625
|
this.report = args;
|
|
571
626
|
}
|
|
572
627
|
}
|
|
573
628
|
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
readonly
|
|
577
|
-
readonly
|
|
578
|
-
|
|
629
|
+
// Command classes
|
|
630
|
+
export class AckMessages {
|
|
631
|
+
static readonly commandId = "AckMessages" as const;
|
|
632
|
+
readonly commandId = "AckMessages" as const;
|
|
633
|
+
readonly command: Omit<_AckMessages, "tx" | "createdAt">;
|
|
634
|
+
declare readonly $res: () => AckMessagesResult;
|
|
579
635
|
|
|
580
|
-
constructor(args: Omit<
|
|
581
|
-
this.
|
|
636
|
+
constructor(args: Omit<_AckMessages, "tx" | "createdAt">) {
|
|
637
|
+
this.command = args;
|
|
582
638
|
}
|
|
583
639
|
}
|
|
584
640
|
|
|
585
|
-
export class
|
|
586
|
-
static readonly
|
|
587
|
-
readonly
|
|
588
|
-
readonly
|
|
589
|
-
declare readonly $res: () =>
|
|
641
|
+
export class DeleteRoomMember {
|
|
642
|
+
static readonly commandId = "DeleteRoomMember" as const;
|
|
643
|
+
readonly commandId = "DeleteRoomMember" as const;
|
|
644
|
+
readonly command: Omit<_DeleteRoomMember, "tx" | "createdAt">;
|
|
645
|
+
declare readonly $res: () => DeleteRoomMemberResult;
|
|
590
646
|
|
|
591
|
-
constructor(args: Omit<
|
|
592
|
-
this.
|
|
647
|
+
constructor(args: Omit<_DeleteRoomMember, "tx" | "createdAt">) {
|
|
648
|
+
this.command = args;
|
|
593
649
|
}
|
|
594
650
|
}
|
|
595
651
|
|
|
596
|
-
export class
|
|
597
|
-
static readonly
|
|
598
|
-
readonly
|
|
599
|
-
readonly
|
|
600
|
-
declare readonly $res: () =>
|
|
652
|
+
export class DeleteRoomMembers {
|
|
653
|
+
static readonly commandId = "DeleteRoomMembers" as const;
|
|
654
|
+
readonly commandId = "DeleteRoomMembers" as const;
|
|
655
|
+
readonly command: Omit<_DeleteRoomMembers, "tx" | "createdAt">;
|
|
656
|
+
declare readonly $res: () => DeleteRoomMembersResult;
|
|
601
657
|
|
|
602
|
-
constructor(args: Omit<
|
|
603
|
-
this.
|
|
658
|
+
constructor(args: Omit<_DeleteRoomMembers, "tx" | "createdAt">) {
|
|
659
|
+
this.command = args;
|
|
604
660
|
}
|
|
605
661
|
}
|
|
606
662
|
|
|
607
|
-
export class
|
|
608
|
-
static readonly
|
|
609
|
-
readonly
|
|
610
|
-
readonly
|
|
611
|
-
declare readonly $res: () =>
|
|
663
|
+
export class LeaveRoom {
|
|
664
|
+
static readonly commandId = "LeaveRoom" as const;
|
|
665
|
+
readonly commandId = "LeaveRoom" as const;
|
|
666
|
+
readonly command: Omit<_LeaveRoom, "tx" | "createdAt">;
|
|
667
|
+
declare readonly $res: () => LeaveRoomResult;
|
|
612
668
|
|
|
613
|
-
constructor(args: Omit<
|
|
614
|
-
this.
|
|
669
|
+
constructor(args: Omit<_LeaveRoom, "tx" | "createdAt">) {
|
|
670
|
+
this.command = args;
|
|
615
671
|
}
|
|
616
672
|
}
|
|
617
673
|
|
|
618
|
-
export class
|
|
619
|
-
static readonly
|
|
620
|
-
readonly
|
|
621
|
-
readonly
|
|
622
|
-
declare readonly $res: () =>
|
|
674
|
+
export class JoinRoom {
|
|
675
|
+
static readonly commandId = "JoinRoom" as const;
|
|
676
|
+
readonly commandId = "JoinRoom" as const;
|
|
677
|
+
readonly command: Omit<_JoinRoom, "tx" | "createdAt">;
|
|
678
|
+
declare readonly $res: () => JoinRoomResult;
|
|
623
679
|
|
|
624
|
-
constructor(args: Omit<
|
|
625
|
-
this.
|
|
680
|
+
constructor(args: Omit<_JoinRoom, "tx" | "createdAt">) {
|
|
681
|
+
this.command = args;
|
|
626
682
|
}
|
|
627
683
|
}
|
|
628
684
|
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
readonly
|
|
633
|
-
readonly
|
|
634
|
-
declare readonly $res: () => DeleteSessionResult;
|
|
685
|
+
export class DeleteMessageRead {
|
|
686
|
+
static readonly commandId = "DeleteMessageRead" as const;
|
|
687
|
+
readonly commandId = "DeleteMessageRead" as const;
|
|
688
|
+
readonly command: Omit<_DeleteMessageRead, "tx" | "createdAt">;
|
|
689
|
+
declare readonly $res: () => DeleteMessageReadResult;
|
|
635
690
|
|
|
636
|
-
constructor(args: Omit<
|
|
691
|
+
constructor(args: Omit<_DeleteMessageRead, "tx" | "createdAt">) {
|
|
692
|
+
this.command = args;
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
export class DeleteMessageReads {
|
|
697
|
+
static readonly commandId = "DeleteMessageReads" as const;
|
|
698
|
+
readonly commandId = "DeleteMessageReads" as const;
|
|
699
|
+
readonly command: Omit<_DeleteMessageReads, "tx" | "createdAt">;
|
|
700
|
+
declare readonly $res: () => DeleteMessageReadsResult;
|
|
701
|
+
|
|
702
|
+
constructor(args: Omit<_DeleteMessageReads, "tx" | "createdAt">) {
|
|
637
703
|
this.command = args;
|
|
638
704
|
}
|
|
639
705
|
}
|
|
@@ -660,13 +726,13 @@ export class SetSessionLastTool {
|
|
|
660
726
|
}
|
|
661
727
|
}
|
|
662
728
|
|
|
663
|
-
export class
|
|
664
|
-
static readonly commandId = "
|
|
665
|
-
readonly commandId = "
|
|
666
|
-
readonly command: Omit<
|
|
729
|
+
export class SetSessionLastActivityAt {
|
|
730
|
+
static readonly commandId = "SetSessionLastActivityAt" as const;
|
|
731
|
+
readonly commandId = "SetSessionLastActivityAt" as const;
|
|
732
|
+
readonly command: Omit<_SetSessionLastActivityAt, "tx" | "createdAt">;
|
|
667
733
|
declare readonly $res: () => void;
|
|
668
734
|
|
|
669
|
-
constructor(args: Omit<
|
|
735
|
+
constructor(args: Omit<_SetSessionLastActivityAt, "tx" | "createdAt">) {
|
|
670
736
|
this.command = args;
|
|
671
737
|
}
|
|
672
738
|
}
|
|
@@ -682,13 +748,13 @@ export class SetSessionGitBranch {
|
|
|
682
748
|
}
|
|
683
749
|
}
|
|
684
750
|
|
|
685
|
-
export class
|
|
686
|
-
static readonly commandId = "
|
|
687
|
-
readonly commandId = "
|
|
688
|
-
readonly command: Omit<
|
|
689
|
-
declare readonly $res: () =>
|
|
751
|
+
export class DeleteSessions {
|
|
752
|
+
static readonly commandId = "DeleteSessions" as const;
|
|
753
|
+
readonly commandId = "DeleteSessions" as const;
|
|
754
|
+
readonly command: Omit<_DeleteSessions, "tx" | "createdAt">;
|
|
755
|
+
declare readonly $res: () => DeleteSessionsResult;
|
|
690
756
|
|
|
691
|
-
constructor(args: Omit<
|
|
757
|
+
constructor(args: Omit<_DeleteSessions, "tx" | "createdAt">) {
|
|
692
758
|
this.command = args;
|
|
693
759
|
}
|
|
694
760
|
}
|
|
@@ -715,13 +781,35 @@ export class SetSessionSessionName {
|
|
|
715
781
|
}
|
|
716
782
|
}
|
|
717
783
|
|
|
718
|
-
export class
|
|
719
|
-
static readonly commandId = "
|
|
720
|
-
readonly commandId = "
|
|
721
|
-
readonly command: Omit<
|
|
722
|
-
declare readonly $res: () =>
|
|
784
|
+
export class SetSessionCurrentTask {
|
|
785
|
+
static readonly commandId = "SetSessionCurrentTask" as const;
|
|
786
|
+
readonly commandId = "SetSessionCurrentTask" as const;
|
|
787
|
+
readonly command: Omit<_SetSessionCurrentTask, "tx" | "createdAt">;
|
|
788
|
+
declare readonly $res: () => void;
|
|
723
789
|
|
|
724
|
-
constructor(args: Omit<
|
|
790
|
+
constructor(args: Omit<_SetSessionCurrentTask, "tx" | "createdAt">) {
|
|
791
|
+
this.command = args;
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
export class DeleteSession {
|
|
796
|
+
static readonly commandId = "DeleteSession" as const;
|
|
797
|
+
readonly commandId = "DeleteSession" as const;
|
|
798
|
+
readonly command: Omit<_DeleteSession, "tx" | "createdAt">;
|
|
799
|
+
declare readonly $res: () => DeleteSessionResult;
|
|
800
|
+
|
|
801
|
+
constructor(args: Omit<_DeleteSession, "tx" | "createdAt">) {
|
|
802
|
+
this.command = args;
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
export class NotifyChannel {
|
|
807
|
+
static readonly commandId = "NotifyChannel" as const;
|
|
808
|
+
readonly commandId = "NotifyChannel" as const;
|
|
809
|
+
readonly command: Omit<_NotifyChannel, "tx" | "createdAt">;
|
|
810
|
+
declare readonly $res: () => void;
|
|
811
|
+
|
|
812
|
+
constructor(args: Omit<_NotifyChannel, "tx" | "createdAt">) {
|
|
725
813
|
this.command = args;
|
|
726
814
|
}
|
|
727
815
|
}
|
|
@@ -748,24 +836,24 @@ export class DeleteSessionNicknames {
|
|
|
748
836
|
}
|
|
749
837
|
}
|
|
750
838
|
|
|
751
|
-
export class
|
|
752
|
-
static readonly commandId = "
|
|
753
|
-
readonly commandId = "
|
|
754
|
-
readonly command: Omit<
|
|
755
|
-
declare readonly $res: () =>
|
|
839
|
+
export class BroadcastMessage {
|
|
840
|
+
static readonly commandId = "BroadcastMessage" as const;
|
|
841
|
+
readonly commandId = "BroadcastMessage" as const;
|
|
842
|
+
readonly command: Omit<_BroadcastMessage, "tx" | "createdAt">;
|
|
843
|
+
declare readonly $res: () => BroadcastMessageResult;
|
|
756
844
|
|
|
757
|
-
constructor(args: Omit<
|
|
845
|
+
constructor(args: Omit<_BroadcastMessage, "tx" | "createdAt">) {
|
|
758
846
|
this.command = args;
|
|
759
847
|
}
|
|
760
848
|
}
|
|
761
849
|
|
|
762
|
-
export class
|
|
763
|
-
static readonly commandId = "
|
|
764
|
-
readonly commandId = "
|
|
765
|
-
readonly command: Omit<
|
|
766
|
-
declare readonly $res: () =>
|
|
850
|
+
export class SendMessage {
|
|
851
|
+
static readonly commandId = "SendMessage" as const;
|
|
852
|
+
readonly commandId = "SendMessage" as const;
|
|
853
|
+
readonly command: Omit<_SendMessage, "tx" | "createdAt">;
|
|
854
|
+
declare readonly $res: () => SendMessageResult;
|
|
767
855
|
|
|
768
|
-
constructor(args: Omit<
|
|
856
|
+
constructor(args: Omit<_SendMessage, "tx" | "createdAt">) {
|
|
769
857
|
this.command = args;
|
|
770
858
|
}
|
|
771
859
|
}
|
|
@@ -836,61 +924,6 @@ export class DeleteRooms {
|
|
|
836
924
|
}
|
|
837
925
|
}
|
|
838
926
|
|
|
839
|
-
export class BroadcastMessage {
|
|
840
|
-
static readonly commandId = "BroadcastMessage" as const;
|
|
841
|
-
readonly commandId = "BroadcastMessage" as const;
|
|
842
|
-
readonly command: Omit<_BroadcastMessage, "tx" | "createdAt">;
|
|
843
|
-
declare readonly $res: () => BroadcastMessageResult;
|
|
844
|
-
|
|
845
|
-
constructor(args: Omit<_BroadcastMessage, "tx" | "createdAt">) {
|
|
846
|
-
this.command = args;
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
export class AckMessages {
|
|
851
|
-
static readonly commandId = "AckMessages" as const;
|
|
852
|
-
readonly commandId = "AckMessages" as const;
|
|
853
|
-
readonly command: Omit<_AckMessages, "tx" | "createdAt">;
|
|
854
|
-
declare readonly $res: () => AckMessagesResult;
|
|
855
|
-
|
|
856
|
-
constructor(args: Omit<_AckMessages, "tx" | "createdAt">) {
|
|
857
|
-
this.command = args;
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
export class DeleteRoomMember {
|
|
862
|
-
static readonly commandId = "DeleteRoomMember" as const;
|
|
863
|
-
readonly commandId = "DeleteRoomMember" as const;
|
|
864
|
-
readonly command: Omit<_DeleteRoomMember, "tx" | "createdAt">;
|
|
865
|
-
declare readonly $res: () => DeleteRoomMemberResult;
|
|
866
|
-
|
|
867
|
-
constructor(args: Omit<_DeleteRoomMember, "tx" | "createdAt">) {
|
|
868
|
-
this.command = args;
|
|
869
|
-
}
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
export class DeleteRoomMembers {
|
|
873
|
-
static readonly commandId = "DeleteRoomMembers" as const;
|
|
874
|
-
readonly commandId = "DeleteRoomMembers" as const;
|
|
875
|
-
readonly command: Omit<_DeleteRoomMembers, "tx" | "createdAt">;
|
|
876
|
-
declare readonly $res: () => DeleteRoomMembersResult;
|
|
877
|
-
|
|
878
|
-
constructor(args: Omit<_DeleteRoomMembers, "tx" | "createdAt">) {
|
|
879
|
-
this.command = args;
|
|
880
|
-
}
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
export class NotifyChannel {
|
|
884
|
-
static readonly commandId = "NotifyChannel" as const;
|
|
885
|
-
readonly commandId = "NotifyChannel" as const;
|
|
886
|
-
readonly command: Omit<_NotifyChannel, "tx" | "createdAt">;
|
|
887
|
-
declare readonly $res: () => void;
|
|
888
|
-
|
|
889
|
-
constructor(args: Omit<_NotifyChannel, "tx" | "createdAt">) {
|
|
890
|
-
this.command = args;
|
|
891
|
-
}
|
|
892
|
-
}
|
|
893
|
-
|
|
894
927
|
export class ReadMessages {
|
|
895
928
|
static readonly commandId = "ReadMessages" as const;
|
|
896
929
|
readonly commandId = "ReadMessages" as const;
|
|
@@ -902,47 +935,14 @@ export class ReadMessages {
|
|
|
902
935
|
}
|
|
903
936
|
}
|
|
904
937
|
|
|
905
|
-
export class SendMessage {
|
|
906
|
-
static readonly commandId = "SendMessage" as const;
|
|
907
|
-
readonly commandId = "SendMessage" as const;
|
|
908
|
-
readonly command: Omit<_SendMessage, "tx" | "createdAt">;
|
|
909
|
-
declare readonly $res: () => SendMessageResult;
|
|
910
|
-
|
|
911
|
-
constructor(args: Omit<_SendMessage, "tx" | "createdAt">) {
|
|
912
|
-
this.command = args;
|
|
913
|
-
}
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
export class DeleteMessageRead {
|
|
917
|
-
static readonly commandId = "DeleteMessageRead" as const;
|
|
918
|
-
readonly commandId = "DeleteMessageRead" as const;
|
|
919
|
-
readonly command: Omit<_DeleteMessageRead, "tx" | "createdAt">;
|
|
920
|
-
declare readonly $res: () => DeleteMessageReadResult;
|
|
921
|
-
|
|
922
|
-
constructor(args: Omit<_DeleteMessageRead, "tx" | "createdAt">) {
|
|
923
|
-
this.command = args;
|
|
924
|
-
}
|
|
925
|
-
}
|
|
926
|
-
|
|
927
|
-
export class DeleteMessageReads {
|
|
928
|
-
static readonly commandId = "DeleteMessageReads" as const;
|
|
929
|
-
readonly commandId = "DeleteMessageReads" as const;
|
|
930
|
-
readonly command: Omit<_DeleteMessageReads, "tx" | "createdAt">;
|
|
931
|
-
declare readonly $res: () => DeleteMessageReadsResult;
|
|
932
|
-
|
|
933
|
-
constructor(args: Omit<_DeleteMessageReads, "tx" | "createdAt">) {
|
|
934
|
-
this.command = args;
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
|
|
938
938
|
// Item constructors
|
|
939
939
|
export const items = {
|
|
940
|
+
RoomMember: (args: RoomMember) => ({ item: args, itemType: "RoomMember" }),
|
|
941
|
+
MessageRead: (args: MessageRead) => ({ item: args, itemType: "MessageRead" }),
|
|
940
942
|
Session: (args: Session) => ({ item: args, itemType: "Session" }),
|
|
941
943
|
SessionNickname: (args: SessionNickname) => ({ item: args, itemType: "SessionNickname" }),
|
|
942
944
|
Message: (args: Message) => ({ item: args, itemType: "Message" }),
|
|
943
945
|
Room: (args: Room) => ({ item: args, itemType: "Room" }),
|
|
944
|
-
RoomMember: (args: RoomMember) => ({ item: args, itemType: "RoomMember" }),
|
|
945
|
-
MessageRead: (args: MessageRead) => ({ item: args, itemType: "MessageRead" }),
|
|
946
946
|
};
|
|
947
947
|
|
|
948
948
|
// Message events
|
|
@@ -960,6 +960,7 @@ export const MykoEvent = {
|
|
|
960
960
|
ReportCancel: "ws:m:report-cancel",
|
|
961
961
|
ReportResponse: "ws:m:report-response",
|
|
962
962
|
Report: "ws:m:report",
|
|
963
|
+
ViewSampleRate: "ws:m:view-sample-rate",
|
|
963
964
|
ViewWindow: "ws:m:view-window",
|
|
964
965
|
ViewCancel: "ws:m:view-cancel",
|
|
965
966
|
ViewResponse: "ws:m:view-response",
|