@agent-marshal/marshal-prime-agent 0.55.2 → 0.56.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/package.json +1 -1
- package/src/generated/index.ts +256 -256
package/package.json
CHANGED
package/src/generated/index.ts
CHANGED
|
@@ -217,6 +217,84 @@ import type { SetSessionLastToolAt as _SetSessionLastToolAt } from "./SetSession
|
|
|
217
217
|
import type { SetSessionSessionName as _SetSessionSessionName } from "./SetSessionSessionName";
|
|
218
218
|
|
|
219
219
|
// Query classes
|
|
220
|
+
export class GetSessionsByQuery {
|
|
221
|
+
static readonly queryId = "GetSessionsByQuery" as const;
|
|
222
|
+
static readonly queryItemType = "Session" as const;
|
|
223
|
+
readonly queryId = "GetSessionsByQuery" as const;
|
|
224
|
+
readonly queryItemType = "Session" as const;
|
|
225
|
+
readonly query: Omit<_GetSessionsByQuery, "tx" | "createdAt">;
|
|
226
|
+
declare readonly $res: () => Session[];
|
|
227
|
+
|
|
228
|
+
constructor(args: Omit<_GetSessionsByQuery, "tx" | "createdAt">) {
|
|
229
|
+
this.query = args;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export class GetSessionsByIds {
|
|
234
|
+
static readonly queryId = "GetSessionsByIds" as const;
|
|
235
|
+
static readonly queryItemType = "Session" as const;
|
|
236
|
+
readonly queryId = "GetSessionsByIds" as const;
|
|
237
|
+
readonly queryItemType = "Session" as const;
|
|
238
|
+
readonly query: Omit<_GetSessionsByIds, "tx" | "createdAt">;
|
|
239
|
+
declare readonly $res: () => Session[];
|
|
240
|
+
|
|
241
|
+
constructor(args: Omit<_GetSessionsByIds, "tx" | "createdAt">) {
|
|
242
|
+
this.query = args;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export class GetAllSessions {
|
|
247
|
+
static readonly queryId = "GetAllSessions" as const;
|
|
248
|
+
static readonly queryItemType = "Session" as const;
|
|
249
|
+
readonly queryId = "GetAllSessions" as const;
|
|
250
|
+
readonly queryItemType = "Session" as const;
|
|
251
|
+
readonly query: Omit<_GetAllSessions, "tx" | "createdAt">;
|
|
252
|
+
declare readonly $res: () => Session[];
|
|
253
|
+
|
|
254
|
+
constructor(args: Omit<_GetAllSessions, "tx" | "createdAt">) {
|
|
255
|
+
this.query = args;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export class GetMessageReadsByQuery {
|
|
260
|
+
static readonly queryId = "GetMessageReadsByQuery" as const;
|
|
261
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
262
|
+
readonly queryId = "GetMessageReadsByQuery" as const;
|
|
263
|
+
readonly queryItemType = "MessageRead" as const;
|
|
264
|
+
readonly query: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">;
|
|
265
|
+
declare readonly $res: () => MessageRead[];
|
|
266
|
+
|
|
267
|
+
constructor(args: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">) {
|
|
268
|
+
this.query = args;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export class GetMessageReadsByIds {
|
|
273
|
+
static readonly queryId = "GetMessageReadsByIds" as const;
|
|
274
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
275
|
+
readonly queryId = "GetMessageReadsByIds" as const;
|
|
276
|
+
readonly queryItemType = "MessageRead" as const;
|
|
277
|
+
readonly query: Omit<_GetMessageReadsByIds, "tx" | "createdAt">;
|
|
278
|
+
declare readonly $res: () => MessageRead[];
|
|
279
|
+
|
|
280
|
+
constructor(args: Omit<_GetMessageReadsByIds, "tx" | "createdAt">) {
|
|
281
|
+
this.query = args;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export class GetAllMessageReads {
|
|
286
|
+
static readonly queryId = "GetAllMessageReads" as const;
|
|
287
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
288
|
+
readonly queryId = "GetAllMessageReads" as const;
|
|
289
|
+
readonly queryItemType = "MessageRead" as const;
|
|
290
|
+
readonly query: Omit<_GetAllMessageReads, "tx" | "createdAt">;
|
|
291
|
+
declare readonly $res: () => MessageRead[];
|
|
292
|
+
|
|
293
|
+
constructor(args: Omit<_GetAllMessageReads, "tx" | "createdAt">) {
|
|
294
|
+
this.query = args;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
220
298
|
export class GetSandboxRunsByQuery {
|
|
221
299
|
static readonly queryId = "GetSandboxRunsByQuery" as const;
|
|
222
300
|
static readonly queryItemType = "SandboxRun" as const;
|
|
@@ -412,87 +490,75 @@ export class GetAllRooms {
|
|
|
412
490
|
}
|
|
413
491
|
}
|
|
414
492
|
|
|
415
|
-
|
|
416
|
-
static readonly queryId = "GetSessionsByQuery" as const;
|
|
417
|
-
static readonly queryItemType = "Session" as const;
|
|
418
|
-
readonly queryId = "GetSessionsByQuery" as const;
|
|
419
|
-
readonly queryItemType = "Session" as const;
|
|
420
|
-
readonly query: Omit<_GetSessionsByQuery, "tx" | "createdAt">;
|
|
421
|
-
declare readonly $res: () => Session[];
|
|
493
|
+
// View classes
|
|
422
494
|
|
|
423
|
-
|
|
424
|
-
|
|
495
|
+
// Report classes
|
|
496
|
+
export class GetSessionById {
|
|
497
|
+
static readonly reportId = "GetSessionById" as const;
|
|
498
|
+
readonly reportId = "GetSessionById" as const;
|
|
499
|
+
readonly report: Omit<_GetSessionById, "tx">;
|
|
500
|
+
declare readonly $res: () => Session | null;
|
|
501
|
+
|
|
502
|
+
constructor(args: Omit<_GetSessionById, "tx">) {
|
|
503
|
+
this.report = args;
|
|
425
504
|
}
|
|
426
505
|
}
|
|
427
506
|
|
|
428
|
-
export class
|
|
429
|
-
static readonly
|
|
430
|
-
|
|
431
|
-
readonly
|
|
432
|
-
readonly
|
|
433
|
-
readonly query: Omit<_GetSessionsByIds, "tx" | "createdAt">;
|
|
434
|
-
declare readonly $res: () => Session[];
|
|
507
|
+
export class CountSessions {
|
|
508
|
+
static readonly reportId = "CountSessions" as const;
|
|
509
|
+
readonly reportId = "CountSessions" as const;
|
|
510
|
+
readonly report: Omit<_CountSessions, "tx">;
|
|
511
|
+
declare readonly $res: () => SessionCount;
|
|
435
512
|
|
|
436
|
-
constructor(args: Omit<
|
|
437
|
-
this.
|
|
513
|
+
constructor(args: Omit<_CountSessions, "tx">) {
|
|
514
|
+
this.report = args;
|
|
438
515
|
}
|
|
439
516
|
}
|
|
440
517
|
|
|
441
|
-
export class
|
|
442
|
-
static readonly
|
|
443
|
-
|
|
444
|
-
readonly
|
|
445
|
-
readonly
|
|
446
|
-
readonly query: Omit<_GetAllSessions, "tx" | "createdAt">;
|
|
447
|
-
declare readonly $res: () => Session[];
|
|
518
|
+
export class CountAllSessions {
|
|
519
|
+
static readonly reportId = "CountAllSessions" as const;
|
|
520
|
+
readonly reportId = "CountAllSessions" as const;
|
|
521
|
+
readonly report: Omit<_CountAllSessions, "tx">;
|
|
522
|
+
declare readonly $res: () => SessionCount;
|
|
448
523
|
|
|
449
|
-
constructor(args: Omit<
|
|
450
|
-
this.
|
|
524
|
+
constructor(args: Omit<_CountAllSessions, "tx">) {
|
|
525
|
+
this.report = args;
|
|
451
526
|
}
|
|
452
527
|
}
|
|
453
528
|
|
|
454
|
-
export class
|
|
455
|
-
static readonly
|
|
456
|
-
|
|
457
|
-
readonly
|
|
458
|
-
readonly
|
|
459
|
-
readonly query: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">;
|
|
460
|
-
declare readonly $res: () => MessageRead[];
|
|
529
|
+
export class GetMessageReadById {
|
|
530
|
+
static readonly reportId = "GetMessageReadById" as const;
|
|
531
|
+
readonly reportId = "GetMessageReadById" as const;
|
|
532
|
+
readonly report: Omit<_GetMessageReadById, "tx">;
|
|
533
|
+
declare readonly $res: () => MessageRead | null;
|
|
461
534
|
|
|
462
|
-
constructor(args: Omit<
|
|
463
|
-
this.
|
|
535
|
+
constructor(args: Omit<_GetMessageReadById, "tx">) {
|
|
536
|
+
this.report = args;
|
|
464
537
|
}
|
|
465
538
|
}
|
|
466
539
|
|
|
467
|
-
export class
|
|
468
|
-
static readonly
|
|
469
|
-
|
|
470
|
-
readonly
|
|
471
|
-
readonly
|
|
472
|
-
readonly query: Omit<_GetMessageReadsByIds, "tx" | "createdAt">;
|
|
473
|
-
declare readonly $res: () => MessageRead[];
|
|
540
|
+
export class CountMessageReads {
|
|
541
|
+
static readonly reportId = "CountMessageReads" as const;
|
|
542
|
+
readonly reportId = "CountMessageReads" as const;
|
|
543
|
+
readonly report: Omit<_CountMessageReads, "tx">;
|
|
544
|
+
declare readonly $res: () => MessageReadCount;
|
|
474
545
|
|
|
475
|
-
constructor(args: Omit<
|
|
476
|
-
this.
|
|
546
|
+
constructor(args: Omit<_CountMessageReads, "tx">) {
|
|
547
|
+
this.report = args;
|
|
477
548
|
}
|
|
478
549
|
}
|
|
479
550
|
|
|
480
|
-
export class
|
|
481
|
-
static readonly
|
|
482
|
-
|
|
483
|
-
readonly
|
|
484
|
-
readonly
|
|
485
|
-
readonly query: Omit<_GetAllMessageReads, "tx" | "createdAt">;
|
|
486
|
-
declare readonly $res: () => MessageRead[];
|
|
551
|
+
export class CountAllMessageReads {
|
|
552
|
+
static readonly reportId = "CountAllMessageReads" as const;
|
|
553
|
+
readonly reportId = "CountAllMessageReads" as const;
|
|
554
|
+
readonly report: Omit<_CountAllMessageReads, "tx">;
|
|
555
|
+
declare readonly $res: () => MessageReadCount;
|
|
487
556
|
|
|
488
|
-
constructor(args: Omit<
|
|
489
|
-
this.
|
|
557
|
+
constructor(args: Omit<_CountAllMessageReads, "tx">) {
|
|
558
|
+
this.report = args;
|
|
490
559
|
}
|
|
491
560
|
}
|
|
492
561
|
|
|
493
|
-
// View classes
|
|
494
|
-
|
|
495
|
-
// Report classes
|
|
496
562
|
export class GetSandboxRunById {
|
|
497
563
|
static readonly reportId = "GetSandboxRunById" as const;
|
|
498
564
|
readonly reportId = "GetSandboxRunById" as const;
|
|
@@ -658,73 +724,161 @@ export class CountAllRooms {
|
|
|
658
724
|
}
|
|
659
725
|
}
|
|
660
726
|
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
readonly
|
|
664
|
-
readonly
|
|
665
|
-
|
|
727
|
+
// Command classes
|
|
728
|
+
export class BroadcastMessage {
|
|
729
|
+
static readonly commandId = "BroadcastMessage" as const;
|
|
730
|
+
readonly commandId = "BroadcastMessage" as const;
|
|
731
|
+
readonly command: Omit<_BroadcastMessage, "tx" | "createdAt">;
|
|
732
|
+
declare readonly $res: () => BroadcastMessageResult;
|
|
666
733
|
|
|
667
|
-
constructor(args: Omit<
|
|
668
|
-
this.
|
|
734
|
+
constructor(args: Omit<_BroadcastMessage, "tx" | "createdAt">) {
|
|
735
|
+
this.command = args;
|
|
669
736
|
}
|
|
670
737
|
}
|
|
671
738
|
|
|
672
|
-
export class
|
|
673
|
-
static readonly
|
|
674
|
-
readonly
|
|
675
|
-
readonly
|
|
676
|
-
declare readonly $res: () =>
|
|
739
|
+
export class SendMessage {
|
|
740
|
+
static readonly commandId = "SendMessage" as const;
|
|
741
|
+
readonly commandId = "SendMessage" as const;
|
|
742
|
+
readonly command: Omit<_SendMessage, "tx" | "createdAt">;
|
|
743
|
+
declare readonly $res: () => SendMessageResult;
|
|
677
744
|
|
|
678
|
-
constructor(args: Omit<
|
|
679
|
-
this.
|
|
745
|
+
constructor(args: Omit<_SendMessage, "tx" | "createdAt">) {
|
|
746
|
+
this.command = args;
|
|
680
747
|
}
|
|
681
748
|
}
|
|
682
749
|
|
|
683
|
-
export class
|
|
684
|
-
static readonly
|
|
685
|
-
readonly
|
|
686
|
-
readonly
|
|
687
|
-
declare readonly $res: () =>
|
|
750
|
+
export class SetSessionLastToolAt {
|
|
751
|
+
static readonly commandId = "SetSessionLastToolAt" as const;
|
|
752
|
+
readonly commandId = "SetSessionLastToolAt" as const;
|
|
753
|
+
readonly command: Omit<_SetSessionLastToolAt, "tx" | "createdAt">;
|
|
754
|
+
declare readonly $res: () => void;
|
|
688
755
|
|
|
689
|
-
constructor(args: Omit<
|
|
690
|
-
this.
|
|
756
|
+
constructor(args: Omit<_SetSessionLastToolAt, "tx" | "createdAt">) {
|
|
757
|
+
this.command = args;
|
|
691
758
|
}
|
|
692
759
|
}
|
|
693
760
|
|
|
694
|
-
export class
|
|
695
|
-
static readonly
|
|
696
|
-
readonly
|
|
697
|
-
readonly
|
|
698
|
-
declare readonly $res: () =>
|
|
761
|
+
export class SetSessionLastTool {
|
|
762
|
+
static readonly commandId = "SetSessionLastTool" as const;
|
|
763
|
+
readonly commandId = "SetSessionLastTool" as const;
|
|
764
|
+
readonly command: Omit<_SetSessionLastTool, "tx" | "createdAt">;
|
|
765
|
+
declare readonly $res: () => void;
|
|
699
766
|
|
|
700
|
-
constructor(args: Omit<
|
|
701
|
-
this.
|
|
767
|
+
constructor(args: Omit<_SetSessionLastTool, "tx" | "createdAt">) {
|
|
768
|
+
this.command = args;
|
|
702
769
|
}
|
|
703
770
|
}
|
|
704
771
|
|
|
705
|
-
export class
|
|
706
|
-
static readonly
|
|
707
|
-
readonly
|
|
708
|
-
readonly
|
|
709
|
-
declare readonly $res: () =>
|
|
772
|
+
export class SetSessionLastActivityAt {
|
|
773
|
+
static readonly commandId = "SetSessionLastActivityAt" as const;
|
|
774
|
+
readonly commandId = "SetSessionLastActivityAt" as const;
|
|
775
|
+
readonly command: Omit<_SetSessionLastActivityAt, "tx" | "createdAt">;
|
|
776
|
+
declare readonly $res: () => void;
|
|
710
777
|
|
|
711
|
-
constructor(args: Omit<
|
|
712
|
-
this.
|
|
778
|
+
constructor(args: Omit<_SetSessionLastActivityAt, "tx" | "createdAt">) {
|
|
779
|
+
this.command = args;
|
|
713
780
|
}
|
|
714
781
|
}
|
|
715
782
|
|
|
716
|
-
export class
|
|
717
|
-
static readonly
|
|
718
|
-
readonly
|
|
719
|
-
readonly
|
|
720
|
-
declare readonly $res: () =>
|
|
783
|
+
export class SetSessionGitBranch {
|
|
784
|
+
static readonly commandId = "SetSessionGitBranch" as const;
|
|
785
|
+
readonly commandId = "SetSessionGitBranch" as const;
|
|
786
|
+
readonly command: Omit<_SetSessionGitBranch, "tx" | "createdAt">;
|
|
787
|
+
declare readonly $res: () => void;
|
|
721
788
|
|
|
722
|
-
constructor(args: Omit<
|
|
723
|
-
this.
|
|
789
|
+
constructor(args: Omit<_SetSessionGitBranch, "tx" | "createdAt">) {
|
|
790
|
+
this.command = args;
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
export class DeleteSessions {
|
|
795
|
+
static readonly commandId = "DeleteSessions" as const;
|
|
796
|
+
readonly commandId = "DeleteSessions" as const;
|
|
797
|
+
readonly command: Omit<_DeleteSessions, "tx" | "createdAt">;
|
|
798
|
+
declare readonly $res: () => DeleteSessionsResult;
|
|
799
|
+
|
|
800
|
+
constructor(args: Omit<_DeleteSessions, "tx" | "createdAt">) {
|
|
801
|
+
this.command = args;
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
export class SetSessionActivity {
|
|
806
|
+
static readonly commandId = "SetSessionActivity" as const;
|
|
807
|
+
readonly commandId = "SetSessionActivity" as const;
|
|
808
|
+
readonly command: Omit<_SetSessionActivity, "tx" | "createdAt">;
|
|
809
|
+
declare readonly $res: () => void;
|
|
810
|
+
|
|
811
|
+
constructor(args: Omit<_SetSessionActivity, "tx" | "createdAt">) {
|
|
812
|
+
this.command = args;
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
export class SetSessionSessionName {
|
|
817
|
+
static readonly commandId = "SetSessionSessionName" as const;
|
|
818
|
+
readonly commandId = "SetSessionSessionName" as const;
|
|
819
|
+
readonly command: Omit<_SetSessionSessionName, "tx" | "createdAt">;
|
|
820
|
+
declare readonly $res: () => void;
|
|
821
|
+
|
|
822
|
+
constructor(args: Omit<_SetSessionSessionName, "tx" | "createdAt">) {
|
|
823
|
+
this.command = args;
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
export class SetSessionCurrentTask {
|
|
828
|
+
static readonly commandId = "SetSessionCurrentTask" as const;
|
|
829
|
+
readonly commandId = "SetSessionCurrentTask" as const;
|
|
830
|
+
readonly command: Omit<_SetSessionCurrentTask, "tx" | "createdAt">;
|
|
831
|
+
declare readonly $res: () => void;
|
|
832
|
+
|
|
833
|
+
constructor(args: Omit<_SetSessionCurrentTask, "tx" | "createdAt">) {
|
|
834
|
+
this.command = args;
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
export class DeleteSession {
|
|
839
|
+
static readonly commandId = "DeleteSession" as const;
|
|
840
|
+
readonly commandId = "DeleteSession" as const;
|
|
841
|
+
readonly command: Omit<_DeleteSession, "tx" | "createdAt">;
|
|
842
|
+
declare readonly $res: () => DeleteSessionResult;
|
|
843
|
+
|
|
844
|
+
constructor(args: Omit<_DeleteSession, "tx" | "createdAt">) {
|
|
845
|
+
this.command = args;
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
export class ReadMessages {
|
|
850
|
+
static readonly commandId = "ReadMessages" as const;
|
|
851
|
+
readonly commandId = "ReadMessages" as const;
|
|
852
|
+
readonly command: Omit<_ReadMessages, "tx" | "createdAt">;
|
|
853
|
+
declare readonly $res: () => ReadMessagesResult;
|
|
854
|
+
|
|
855
|
+
constructor(args: Omit<_ReadMessages, "tx" | "createdAt">) {
|
|
856
|
+
this.command = args;
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
export class DeleteMessageRead {
|
|
861
|
+
static readonly commandId = "DeleteMessageRead" as const;
|
|
862
|
+
readonly commandId = "DeleteMessageRead" as const;
|
|
863
|
+
readonly command: Omit<_DeleteMessageRead, "tx" | "createdAt">;
|
|
864
|
+
declare readonly $res: () => DeleteMessageReadResult;
|
|
865
|
+
|
|
866
|
+
constructor(args: Omit<_DeleteMessageRead, "tx" | "createdAt">) {
|
|
867
|
+
this.command = args;
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
export class DeleteMessageReads {
|
|
872
|
+
static readonly commandId = "DeleteMessageReads" as const;
|
|
873
|
+
readonly commandId = "DeleteMessageReads" as const;
|
|
874
|
+
readonly command: Omit<_DeleteMessageReads, "tx" | "createdAt">;
|
|
875
|
+
declare readonly $res: () => DeleteMessageReadsResult;
|
|
876
|
+
|
|
877
|
+
constructor(args: Omit<_DeleteMessageReads, "tx" | "createdAt">) {
|
|
878
|
+
this.command = args;
|
|
724
879
|
}
|
|
725
880
|
}
|
|
726
881
|
|
|
727
|
-
// Command classes
|
|
728
882
|
export class ImportSandboxRun {
|
|
729
883
|
static readonly commandId = "ImportSandboxRun" as const;
|
|
730
884
|
readonly commandId = "ImportSandboxRun" as const;
|
|
@@ -912,169 +1066,15 @@ export class DeleteRooms {
|
|
|
912
1066
|
}
|
|
913
1067
|
}
|
|
914
1068
|
|
|
915
|
-
export class SetSessionLastToolAt {
|
|
916
|
-
static readonly commandId = "SetSessionLastToolAt" as const;
|
|
917
|
-
readonly commandId = "SetSessionLastToolAt" as const;
|
|
918
|
-
readonly command: Omit<_SetSessionLastToolAt, "tx" | "createdAt">;
|
|
919
|
-
declare readonly $res: () => void;
|
|
920
|
-
|
|
921
|
-
constructor(args: Omit<_SetSessionLastToolAt, "tx" | "createdAt">) {
|
|
922
|
-
this.command = args;
|
|
923
|
-
}
|
|
924
|
-
}
|
|
925
|
-
|
|
926
|
-
export class SetSessionLastTool {
|
|
927
|
-
static readonly commandId = "SetSessionLastTool" as const;
|
|
928
|
-
readonly commandId = "SetSessionLastTool" as const;
|
|
929
|
-
readonly command: Omit<_SetSessionLastTool, "tx" | "createdAt">;
|
|
930
|
-
declare readonly $res: () => void;
|
|
931
|
-
|
|
932
|
-
constructor(args: Omit<_SetSessionLastTool, "tx" | "createdAt">) {
|
|
933
|
-
this.command = args;
|
|
934
|
-
}
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
export class SetSessionLastActivityAt {
|
|
938
|
-
static readonly commandId = "SetSessionLastActivityAt" as const;
|
|
939
|
-
readonly commandId = "SetSessionLastActivityAt" as const;
|
|
940
|
-
readonly command: Omit<_SetSessionLastActivityAt, "tx" | "createdAt">;
|
|
941
|
-
declare readonly $res: () => void;
|
|
942
|
-
|
|
943
|
-
constructor(args: Omit<_SetSessionLastActivityAt, "tx" | "createdAt">) {
|
|
944
|
-
this.command = args;
|
|
945
|
-
}
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
export class SetSessionGitBranch {
|
|
949
|
-
static readonly commandId = "SetSessionGitBranch" as const;
|
|
950
|
-
readonly commandId = "SetSessionGitBranch" as const;
|
|
951
|
-
readonly command: Omit<_SetSessionGitBranch, "tx" | "createdAt">;
|
|
952
|
-
declare readonly $res: () => void;
|
|
953
|
-
|
|
954
|
-
constructor(args: Omit<_SetSessionGitBranch, "tx" | "createdAt">) {
|
|
955
|
-
this.command = args;
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
export class DeleteSessions {
|
|
960
|
-
static readonly commandId = "DeleteSessions" as const;
|
|
961
|
-
readonly commandId = "DeleteSessions" as const;
|
|
962
|
-
readonly command: Omit<_DeleteSessions, "tx" | "createdAt">;
|
|
963
|
-
declare readonly $res: () => DeleteSessionsResult;
|
|
964
|
-
|
|
965
|
-
constructor(args: Omit<_DeleteSessions, "tx" | "createdAt">) {
|
|
966
|
-
this.command = args;
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
export class SetSessionActivity {
|
|
971
|
-
static readonly commandId = "SetSessionActivity" as const;
|
|
972
|
-
readonly commandId = "SetSessionActivity" as const;
|
|
973
|
-
readonly command: Omit<_SetSessionActivity, "tx" | "createdAt">;
|
|
974
|
-
declare readonly $res: () => void;
|
|
975
|
-
|
|
976
|
-
constructor(args: Omit<_SetSessionActivity, "tx" | "createdAt">) {
|
|
977
|
-
this.command = args;
|
|
978
|
-
}
|
|
979
|
-
}
|
|
980
|
-
|
|
981
|
-
export class SetSessionSessionName {
|
|
982
|
-
static readonly commandId = "SetSessionSessionName" as const;
|
|
983
|
-
readonly commandId = "SetSessionSessionName" as const;
|
|
984
|
-
readonly command: Omit<_SetSessionSessionName, "tx" | "createdAt">;
|
|
985
|
-
declare readonly $res: () => void;
|
|
986
|
-
|
|
987
|
-
constructor(args: Omit<_SetSessionSessionName, "tx" | "createdAt">) {
|
|
988
|
-
this.command = args;
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
export class SetSessionCurrentTask {
|
|
993
|
-
static readonly commandId = "SetSessionCurrentTask" as const;
|
|
994
|
-
readonly commandId = "SetSessionCurrentTask" as const;
|
|
995
|
-
readonly command: Omit<_SetSessionCurrentTask, "tx" | "createdAt">;
|
|
996
|
-
declare readonly $res: () => void;
|
|
997
|
-
|
|
998
|
-
constructor(args: Omit<_SetSessionCurrentTask, "tx" | "createdAt">) {
|
|
999
|
-
this.command = args;
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
export class DeleteSession {
|
|
1004
|
-
static readonly commandId = "DeleteSession" as const;
|
|
1005
|
-
readonly commandId = "DeleteSession" as const;
|
|
1006
|
-
readonly command: Omit<_DeleteSession, "tx" | "createdAt">;
|
|
1007
|
-
declare readonly $res: () => DeleteSessionResult;
|
|
1008
|
-
|
|
1009
|
-
constructor(args: Omit<_DeleteSession, "tx" | "createdAt">) {
|
|
1010
|
-
this.command = args;
|
|
1011
|
-
}
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
|
-
export class ReadMessages {
|
|
1015
|
-
static readonly commandId = "ReadMessages" as const;
|
|
1016
|
-
readonly commandId = "ReadMessages" as const;
|
|
1017
|
-
readonly command: Omit<_ReadMessages, "tx" | "createdAt">;
|
|
1018
|
-
declare readonly $res: () => ReadMessagesResult;
|
|
1019
|
-
|
|
1020
|
-
constructor(args: Omit<_ReadMessages, "tx" | "createdAt">) {
|
|
1021
|
-
this.command = args;
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
|
-
export class DeleteMessageRead {
|
|
1026
|
-
static readonly commandId = "DeleteMessageRead" as const;
|
|
1027
|
-
readonly commandId = "DeleteMessageRead" as const;
|
|
1028
|
-
readonly command: Omit<_DeleteMessageRead, "tx" | "createdAt">;
|
|
1029
|
-
declare readonly $res: () => DeleteMessageReadResult;
|
|
1030
|
-
|
|
1031
|
-
constructor(args: Omit<_DeleteMessageRead, "tx" | "createdAt">) {
|
|
1032
|
-
this.command = args;
|
|
1033
|
-
}
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
export class DeleteMessageReads {
|
|
1037
|
-
static readonly commandId = "DeleteMessageReads" as const;
|
|
1038
|
-
readonly commandId = "DeleteMessageReads" as const;
|
|
1039
|
-
readonly command: Omit<_DeleteMessageReads, "tx" | "createdAt">;
|
|
1040
|
-
declare readonly $res: () => DeleteMessageReadsResult;
|
|
1041
|
-
|
|
1042
|
-
constructor(args: Omit<_DeleteMessageReads, "tx" | "createdAt">) {
|
|
1043
|
-
this.command = args;
|
|
1044
|
-
}
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
|
-
export class BroadcastMessage {
|
|
1048
|
-
static readonly commandId = "BroadcastMessage" as const;
|
|
1049
|
-
readonly commandId = "BroadcastMessage" as const;
|
|
1050
|
-
readonly command: Omit<_BroadcastMessage, "tx" | "createdAt">;
|
|
1051
|
-
declare readonly $res: () => BroadcastMessageResult;
|
|
1052
|
-
|
|
1053
|
-
constructor(args: Omit<_BroadcastMessage, "tx" | "createdAt">) {
|
|
1054
|
-
this.command = args;
|
|
1055
|
-
}
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
export class SendMessage {
|
|
1059
|
-
static readonly commandId = "SendMessage" as const;
|
|
1060
|
-
readonly commandId = "SendMessage" as const;
|
|
1061
|
-
readonly command: Omit<_SendMessage, "tx" | "createdAt">;
|
|
1062
|
-
declare readonly $res: () => SendMessageResult;
|
|
1063
|
-
|
|
1064
|
-
constructor(args: Omit<_SendMessage, "tx" | "createdAt">) {
|
|
1065
|
-
this.command = args;
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
1069
|
// Item constructors
|
|
1070
1070
|
export const items = {
|
|
1071
|
+
Session: (args: Session) => ({ item: args, itemType: "Session" }),
|
|
1072
|
+
MessageRead: (args: MessageRead) => ({ item: args, itemType: "MessageRead" }),
|
|
1071
1073
|
SandboxRun: (args: SandboxRun) => ({ item: args, itemType: "SandboxRun" }),
|
|
1072
1074
|
Message: (args: Message) => ({ item: args, itemType: "Message" }),
|
|
1073
1075
|
SessionNickname: (args: SessionNickname) => ({ item: args, itemType: "SessionNickname" }),
|
|
1074
1076
|
RoomMember: (args: RoomMember) => ({ item: args, itemType: "RoomMember" }),
|
|
1075
1077
|
Room: (args: Room) => ({ item: args, itemType: "Room" }),
|
|
1076
|
-
Session: (args: Session) => ({ item: args, itemType: "Session" }),
|
|
1077
|
-
MessageRead: (args: MessageRead) => ({ item: args, itemType: "MessageRead" }),
|
|
1078
1078
|
};
|
|
1079
1079
|
|
|
1080
1080
|
// Message events
|