@agent-marshal/marshal-pi 0.60.3 → 0.60.4
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 +289 -289
package/package.json
CHANGED
package/src/generated/index.ts
CHANGED
|
@@ -243,41 +243,80 @@ import type { WakeWatcher } from "./WakeWatcher";
|
|
|
243
243
|
import type { WakeWatcherCount } from "./WakeWatcherCount";
|
|
244
244
|
|
|
245
245
|
// Query classes
|
|
246
|
-
export class
|
|
247
|
-
static readonly queryId = "
|
|
248
|
-
static readonly queryItemType = "
|
|
249
|
-
readonly queryId = "
|
|
250
|
-
readonly queryItemType = "
|
|
251
|
-
readonly query: Omit<
|
|
252
|
-
declare readonly $res: () =>
|
|
246
|
+
export class GetRoomsByQuery {
|
|
247
|
+
static readonly queryId = "GetRoomsByQuery" as const;
|
|
248
|
+
static readonly queryItemType = "Room" as const;
|
|
249
|
+
readonly queryId = "GetRoomsByQuery" as const;
|
|
250
|
+
readonly queryItemType = "Room" as const;
|
|
251
|
+
readonly query: Omit<_GetRoomsByQuery, "tx" | "createdAt">;
|
|
252
|
+
declare readonly $res: () => Room[];
|
|
253
253
|
|
|
254
|
-
constructor(args: Omit<
|
|
254
|
+
constructor(args: Omit<_GetRoomsByQuery, "tx" | "createdAt">) {
|
|
255
255
|
this.query = args;
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
export class
|
|
260
|
-
static readonly queryId = "
|
|
261
|
-
static readonly queryItemType = "
|
|
262
|
-
readonly queryId = "
|
|
263
|
-
readonly queryItemType = "
|
|
264
|
-
readonly query: Omit<
|
|
265
|
-
declare readonly $res: () =>
|
|
259
|
+
export class GetRoomsByIds {
|
|
260
|
+
static readonly queryId = "GetRoomsByIds" as const;
|
|
261
|
+
static readonly queryItemType = "Room" as const;
|
|
262
|
+
readonly queryId = "GetRoomsByIds" as const;
|
|
263
|
+
readonly queryItemType = "Room" as const;
|
|
264
|
+
readonly query: Omit<_GetRoomsByIds, "tx" | "createdAt">;
|
|
265
|
+
declare readonly $res: () => Room[];
|
|
266
266
|
|
|
267
|
-
constructor(args: Omit<
|
|
267
|
+
constructor(args: Omit<_GetRoomsByIds, "tx" | "createdAt">) {
|
|
268
268
|
this.query = args;
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export class
|
|
273
|
-
static readonly queryId = "
|
|
274
|
-
static readonly queryItemType = "
|
|
275
|
-
readonly queryId = "
|
|
276
|
-
readonly queryItemType = "
|
|
277
|
-
readonly query: Omit<
|
|
278
|
-
declare readonly $res: () =>
|
|
272
|
+
export class GetAllRooms {
|
|
273
|
+
static readonly queryId = "GetAllRooms" as const;
|
|
274
|
+
static readonly queryItemType = "Room" as const;
|
|
275
|
+
readonly queryId = "GetAllRooms" as const;
|
|
276
|
+
readonly queryItemType = "Room" as const;
|
|
277
|
+
readonly query: Omit<_GetAllRooms, "tx" | "createdAt">;
|
|
278
|
+
declare readonly $res: () => Room[];
|
|
279
279
|
|
|
280
|
-
constructor(args: Omit<
|
|
280
|
+
constructor(args: Omit<_GetAllRooms, "tx" | "createdAt">) {
|
|
281
|
+
this.query = args;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export class GetWakeWatchersByQuery {
|
|
286
|
+
static readonly queryId = "GetWakeWatchersByQuery" as const;
|
|
287
|
+
static readonly queryItemType = "WakeWatcher" as const;
|
|
288
|
+
readonly queryId = "GetWakeWatchersByQuery" as const;
|
|
289
|
+
readonly queryItemType = "WakeWatcher" as const;
|
|
290
|
+
readonly query: Omit<_GetWakeWatchersByQuery, "tx" | "createdAt">;
|
|
291
|
+
declare readonly $res: () => WakeWatcher[];
|
|
292
|
+
|
|
293
|
+
constructor(args: Omit<_GetWakeWatchersByQuery, "tx" | "createdAt">) {
|
|
294
|
+
this.query = args;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export class GetWakeWatchersByIds {
|
|
299
|
+
static readonly queryId = "GetWakeWatchersByIds" as const;
|
|
300
|
+
static readonly queryItemType = "WakeWatcher" as const;
|
|
301
|
+
readonly queryId = "GetWakeWatchersByIds" as const;
|
|
302
|
+
readonly queryItemType = "WakeWatcher" as const;
|
|
303
|
+
readonly query: Omit<_GetWakeWatchersByIds, "tx" | "createdAt">;
|
|
304
|
+
declare readonly $res: () => WakeWatcher[];
|
|
305
|
+
|
|
306
|
+
constructor(args: Omit<_GetWakeWatchersByIds, "tx" | "createdAt">) {
|
|
307
|
+
this.query = args;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export class GetAllWakeWatchers {
|
|
312
|
+
static readonly queryId = "GetAllWakeWatchers" as const;
|
|
313
|
+
static readonly queryItemType = "WakeWatcher" as const;
|
|
314
|
+
readonly queryId = "GetAllWakeWatchers" as const;
|
|
315
|
+
readonly queryItemType = "WakeWatcher" as const;
|
|
316
|
+
readonly query: Omit<_GetAllWakeWatchers, "tx" | "createdAt">;
|
|
317
|
+
declare readonly $res: () => WakeWatcher[];
|
|
318
|
+
|
|
319
|
+
constructor(args: Omit<_GetAllWakeWatchers, "tx" | "createdAt">) {
|
|
281
320
|
this.query = args;
|
|
282
321
|
}
|
|
283
322
|
}
|
|
@@ -360,84 +399,6 @@ export class GetAllMessageReads {
|
|
|
360
399
|
}
|
|
361
400
|
}
|
|
362
401
|
|
|
363
|
-
export class GetRoomsByQuery {
|
|
364
|
-
static readonly queryId = "GetRoomsByQuery" as const;
|
|
365
|
-
static readonly queryItemType = "Room" as const;
|
|
366
|
-
readonly queryId = "GetRoomsByQuery" as const;
|
|
367
|
-
readonly queryItemType = "Room" as const;
|
|
368
|
-
readonly query: Omit<_GetRoomsByQuery, "tx" | "createdAt">;
|
|
369
|
-
declare readonly $res: () => Room[];
|
|
370
|
-
|
|
371
|
-
constructor(args: Omit<_GetRoomsByQuery, "tx" | "createdAt">) {
|
|
372
|
-
this.query = args;
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
export class GetRoomsByIds {
|
|
377
|
-
static readonly queryId = "GetRoomsByIds" as const;
|
|
378
|
-
static readonly queryItemType = "Room" as const;
|
|
379
|
-
readonly queryId = "GetRoomsByIds" as const;
|
|
380
|
-
readonly queryItemType = "Room" as const;
|
|
381
|
-
readonly query: Omit<_GetRoomsByIds, "tx" | "createdAt">;
|
|
382
|
-
declare readonly $res: () => Room[];
|
|
383
|
-
|
|
384
|
-
constructor(args: Omit<_GetRoomsByIds, "tx" | "createdAt">) {
|
|
385
|
-
this.query = args;
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
export class GetAllRooms {
|
|
390
|
-
static readonly queryId = "GetAllRooms" as const;
|
|
391
|
-
static readonly queryItemType = "Room" as const;
|
|
392
|
-
readonly queryId = "GetAllRooms" as const;
|
|
393
|
-
readonly queryItemType = "Room" as const;
|
|
394
|
-
readonly query: Omit<_GetAllRooms, "tx" | "createdAt">;
|
|
395
|
-
declare readonly $res: () => Room[];
|
|
396
|
-
|
|
397
|
-
constructor(args: Omit<_GetAllRooms, "tx" | "createdAt">) {
|
|
398
|
-
this.query = args;
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
export class GetWakeWatchersByQuery {
|
|
403
|
-
static readonly queryId = "GetWakeWatchersByQuery" as const;
|
|
404
|
-
static readonly queryItemType = "WakeWatcher" as const;
|
|
405
|
-
readonly queryId = "GetWakeWatchersByQuery" as const;
|
|
406
|
-
readonly queryItemType = "WakeWatcher" as const;
|
|
407
|
-
readonly query: Omit<_GetWakeWatchersByQuery, "tx" | "createdAt">;
|
|
408
|
-
declare readonly $res: () => WakeWatcher[];
|
|
409
|
-
|
|
410
|
-
constructor(args: Omit<_GetWakeWatchersByQuery, "tx" | "createdAt">) {
|
|
411
|
-
this.query = args;
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
export class GetWakeWatchersByIds {
|
|
416
|
-
static readonly queryId = "GetWakeWatchersByIds" as const;
|
|
417
|
-
static readonly queryItemType = "WakeWatcher" as const;
|
|
418
|
-
readonly queryId = "GetWakeWatchersByIds" as const;
|
|
419
|
-
readonly queryItemType = "WakeWatcher" as const;
|
|
420
|
-
readonly query: Omit<_GetWakeWatchersByIds, "tx" | "createdAt">;
|
|
421
|
-
declare readonly $res: () => WakeWatcher[];
|
|
422
|
-
|
|
423
|
-
constructor(args: Omit<_GetWakeWatchersByIds, "tx" | "createdAt">) {
|
|
424
|
-
this.query = args;
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
export class GetAllWakeWatchers {
|
|
429
|
-
static readonly queryId = "GetAllWakeWatchers" as const;
|
|
430
|
-
static readonly queryItemType = "WakeWatcher" as const;
|
|
431
|
-
readonly queryId = "GetAllWakeWatchers" as const;
|
|
432
|
-
readonly queryItemType = "WakeWatcher" as const;
|
|
433
|
-
readonly query: Omit<_GetAllWakeWatchers, "tx" | "createdAt">;
|
|
434
|
-
declare readonly $res: () => WakeWatcher[];
|
|
435
|
-
|
|
436
|
-
constructor(args: Omit<_GetAllWakeWatchers, "tx" | "createdAt">) {
|
|
437
|
-
this.query = args;
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
|
|
441
402
|
export class GetSessionsByQuery {
|
|
442
403
|
static readonly queryId = "GetSessionsByQuery" as const;
|
|
443
404
|
static readonly queryItemType = "Session" as const;
|
|
@@ -555,170 +516,176 @@ export class GetAllRoomMembers {
|
|
|
555
516
|
}
|
|
556
517
|
}
|
|
557
518
|
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
readonly
|
|
564
|
-
readonly
|
|
565
|
-
declare readonly $res: () => SandboxRun | null;
|
|
519
|
+
export class GetSandboxRunsByIds {
|
|
520
|
+
static readonly queryId = "GetSandboxRunsByIds" as const;
|
|
521
|
+
static readonly queryItemType = "SandboxRun" as const;
|
|
522
|
+
readonly queryId = "GetSandboxRunsByIds" as const;
|
|
523
|
+
readonly queryItemType = "SandboxRun" as const;
|
|
524
|
+
readonly query: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">;
|
|
525
|
+
declare readonly $res: () => SandboxRun[];
|
|
566
526
|
|
|
567
|
-
constructor(args: Omit<
|
|
568
|
-
this.
|
|
527
|
+
constructor(args: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">) {
|
|
528
|
+
this.query = args;
|
|
569
529
|
}
|
|
570
530
|
}
|
|
571
531
|
|
|
572
|
-
export class
|
|
573
|
-
static readonly
|
|
574
|
-
readonly
|
|
575
|
-
readonly
|
|
576
|
-
|
|
532
|
+
export class GetAllSandboxRuns {
|
|
533
|
+
static readonly queryId = "GetAllSandboxRuns" as const;
|
|
534
|
+
static readonly queryItemType = "SandboxRun" as const;
|
|
535
|
+
readonly queryId = "GetAllSandboxRuns" as const;
|
|
536
|
+
readonly queryItemType = "SandboxRun" as const;
|
|
537
|
+
readonly query: Omit<_GetAllSandboxRuns, "tx" | "createdAt">;
|
|
538
|
+
declare readonly $res: () => SandboxRun[];
|
|
577
539
|
|
|
578
|
-
constructor(args: Omit<
|
|
579
|
-
this.
|
|
540
|
+
constructor(args: Omit<_GetAllSandboxRuns, "tx" | "createdAt">) {
|
|
541
|
+
this.query = args;
|
|
580
542
|
}
|
|
581
543
|
}
|
|
582
544
|
|
|
583
|
-
export class
|
|
584
|
-
static readonly
|
|
585
|
-
readonly
|
|
586
|
-
readonly
|
|
587
|
-
|
|
545
|
+
export class GetSandboxRunsByQuery {
|
|
546
|
+
static readonly queryId = "GetSandboxRunsByQuery" as const;
|
|
547
|
+
static readonly queryItemType = "SandboxRun" as const;
|
|
548
|
+
readonly queryId = "GetSandboxRunsByQuery" as const;
|
|
549
|
+
readonly queryItemType = "SandboxRun" as const;
|
|
550
|
+
readonly query: Omit<_GetSandboxRunsByQuery, "tx" | "createdAt">;
|
|
551
|
+
declare readonly $res: () => SandboxRun[];
|
|
588
552
|
|
|
589
|
-
constructor(args: Omit<
|
|
590
|
-
this.
|
|
553
|
+
constructor(args: Omit<_GetSandboxRunsByQuery, "tx" | "createdAt">) {
|
|
554
|
+
this.query = args;
|
|
591
555
|
}
|
|
592
556
|
}
|
|
593
557
|
|
|
594
|
-
|
|
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;
|
|
558
|
+
// View classes
|
|
599
559
|
|
|
600
|
-
|
|
560
|
+
// Report classes
|
|
561
|
+
export class GetRoomById {
|
|
562
|
+
static readonly reportId = "GetRoomById" as const;
|
|
563
|
+
readonly reportId = "GetRoomById" as const;
|
|
564
|
+
readonly report: Omit<_GetRoomById, "tx">;
|
|
565
|
+
declare readonly $res: () => Room | null;
|
|
566
|
+
|
|
567
|
+
constructor(args: Omit<_GetRoomById, "tx">) {
|
|
601
568
|
this.report = args;
|
|
602
569
|
}
|
|
603
570
|
}
|
|
604
571
|
|
|
605
|
-
export class
|
|
606
|
-
static readonly reportId = "
|
|
607
|
-
readonly reportId = "
|
|
608
|
-
readonly report: Omit<
|
|
609
|
-
declare readonly $res: () =>
|
|
572
|
+
export class CountRooms {
|
|
573
|
+
static readonly reportId = "CountRooms" as const;
|
|
574
|
+
readonly reportId = "CountRooms" as const;
|
|
575
|
+
readonly report: Omit<_CountRooms, "tx">;
|
|
576
|
+
declare readonly $res: () => RoomCount;
|
|
610
577
|
|
|
611
|
-
constructor(args: Omit<
|
|
578
|
+
constructor(args: Omit<_CountRooms, "tx">) {
|
|
612
579
|
this.report = args;
|
|
613
580
|
}
|
|
614
581
|
}
|
|
615
582
|
|
|
616
|
-
export class
|
|
617
|
-
static readonly reportId = "
|
|
618
|
-
readonly reportId = "
|
|
619
|
-
readonly report: Omit<
|
|
620
|
-
declare readonly $res: () =>
|
|
583
|
+
export class CountAllRooms {
|
|
584
|
+
static readonly reportId = "CountAllRooms" as const;
|
|
585
|
+
readonly reportId = "CountAllRooms" as const;
|
|
586
|
+
readonly report: Omit<_CountAllRooms, "tx">;
|
|
587
|
+
declare readonly $res: () => RoomCount;
|
|
621
588
|
|
|
622
|
-
constructor(args: Omit<
|
|
589
|
+
constructor(args: Omit<_CountAllRooms, "tx">) {
|
|
623
590
|
this.report = args;
|
|
624
591
|
}
|
|
625
592
|
}
|
|
626
593
|
|
|
627
|
-
export class
|
|
628
|
-
static readonly reportId = "
|
|
629
|
-
readonly reportId = "
|
|
630
|
-
readonly report: Omit<
|
|
631
|
-
declare readonly $res: () =>
|
|
594
|
+
export class GetWakeWatcherById {
|
|
595
|
+
static readonly reportId = "GetWakeWatcherById" as const;
|
|
596
|
+
readonly reportId = "GetWakeWatcherById" as const;
|
|
597
|
+
readonly report: Omit<_GetWakeWatcherById, "tx">;
|
|
598
|
+
declare readonly $res: () => WakeWatcher | null;
|
|
632
599
|
|
|
633
|
-
constructor(args: Omit<
|
|
600
|
+
constructor(args: Omit<_GetWakeWatcherById, "tx">) {
|
|
634
601
|
this.report = args;
|
|
635
602
|
}
|
|
636
603
|
}
|
|
637
604
|
|
|
638
|
-
export class
|
|
639
|
-
static readonly reportId = "
|
|
640
|
-
readonly reportId = "
|
|
641
|
-
readonly report: Omit<
|
|
642
|
-
declare readonly $res: () =>
|
|
605
|
+
export class CountWakeWatchers {
|
|
606
|
+
static readonly reportId = "CountWakeWatchers" as const;
|
|
607
|
+
readonly reportId = "CountWakeWatchers" as const;
|
|
608
|
+
readonly report: Omit<_CountWakeWatchers, "tx">;
|
|
609
|
+
declare readonly $res: () => WakeWatcherCount;
|
|
643
610
|
|
|
644
|
-
constructor(args: Omit<
|
|
611
|
+
constructor(args: Omit<_CountWakeWatchers, "tx">) {
|
|
645
612
|
this.report = args;
|
|
646
613
|
}
|
|
647
614
|
}
|
|
648
615
|
|
|
649
|
-
export class
|
|
650
|
-
static readonly reportId = "
|
|
651
|
-
readonly reportId = "
|
|
652
|
-
readonly report: Omit<
|
|
653
|
-
declare readonly $res: () =>
|
|
616
|
+
export class CountAllWakeWatchers {
|
|
617
|
+
static readonly reportId = "CountAllWakeWatchers" as const;
|
|
618
|
+
readonly reportId = "CountAllWakeWatchers" as const;
|
|
619
|
+
readonly report: Omit<_CountAllWakeWatchers, "tx">;
|
|
620
|
+
declare readonly $res: () => WakeWatcherCount;
|
|
654
621
|
|
|
655
|
-
constructor(args: Omit<
|
|
622
|
+
constructor(args: Omit<_CountAllWakeWatchers, "tx">) {
|
|
656
623
|
this.report = args;
|
|
657
624
|
}
|
|
658
625
|
}
|
|
659
626
|
|
|
660
|
-
export class
|
|
661
|
-
static readonly reportId = "
|
|
662
|
-
readonly reportId = "
|
|
663
|
-
readonly report: Omit<
|
|
664
|
-
declare readonly $res: () =>
|
|
627
|
+
export class GetMessageById {
|
|
628
|
+
static readonly reportId = "GetMessageById" as const;
|
|
629
|
+
readonly reportId = "GetMessageById" as const;
|
|
630
|
+
readonly report: Omit<_GetMessageById, "tx">;
|
|
631
|
+
declare readonly $res: () => Message | null;
|
|
665
632
|
|
|
666
|
-
constructor(args: Omit<
|
|
633
|
+
constructor(args: Omit<_GetMessageById, "tx">) {
|
|
667
634
|
this.report = args;
|
|
668
635
|
}
|
|
669
636
|
}
|
|
670
637
|
|
|
671
|
-
export class
|
|
672
|
-
static readonly reportId = "
|
|
673
|
-
readonly reportId = "
|
|
674
|
-
readonly report: Omit<
|
|
675
|
-
declare readonly $res: () =>
|
|
638
|
+
export class CountMessages {
|
|
639
|
+
static readonly reportId = "CountMessages" as const;
|
|
640
|
+
readonly reportId = "CountMessages" as const;
|
|
641
|
+
readonly report: Omit<_CountMessages, "tx">;
|
|
642
|
+
declare readonly $res: () => MessageCount;
|
|
676
643
|
|
|
677
|
-
constructor(args: Omit<
|
|
644
|
+
constructor(args: Omit<_CountMessages, "tx">) {
|
|
678
645
|
this.report = args;
|
|
679
646
|
}
|
|
680
647
|
}
|
|
681
648
|
|
|
682
|
-
export class
|
|
683
|
-
static readonly reportId = "
|
|
684
|
-
readonly reportId = "
|
|
685
|
-
readonly report: Omit<
|
|
686
|
-
declare readonly $res: () =>
|
|
649
|
+
export class CountAllMessages {
|
|
650
|
+
static readonly reportId = "CountAllMessages" as const;
|
|
651
|
+
readonly reportId = "CountAllMessages" as const;
|
|
652
|
+
readonly report: Omit<_CountAllMessages, "tx">;
|
|
653
|
+
declare readonly $res: () => MessageCount;
|
|
687
654
|
|
|
688
|
-
constructor(args: Omit<
|
|
655
|
+
constructor(args: Omit<_CountAllMessages, "tx">) {
|
|
689
656
|
this.report = args;
|
|
690
657
|
}
|
|
691
658
|
}
|
|
692
659
|
|
|
693
|
-
export class
|
|
694
|
-
static readonly reportId = "
|
|
695
|
-
readonly reportId = "
|
|
696
|
-
readonly report: Omit<
|
|
697
|
-
declare readonly $res: () =>
|
|
660
|
+
export class GetMessageReadById {
|
|
661
|
+
static readonly reportId = "GetMessageReadById" as const;
|
|
662
|
+
readonly reportId = "GetMessageReadById" as const;
|
|
663
|
+
readonly report: Omit<_GetMessageReadById, "tx">;
|
|
664
|
+
declare readonly $res: () => MessageRead | null;
|
|
698
665
|
|
|
699
|
-
constructor(args: Omit<
|
|
666
|
+
constructor(args: Omit<_GetMessageReadById, "tx">) {
|
|
700
667
|
this.report = args;
|
|
701
668
|
}
|
|
702
669
|
}
|
|
703
670
|
|
|
704
|
-
export class
|
|
705
|
-
static readonly reportId = "
|
|
706
|
-
readonly reportId = "
|
|
707
|
-
readonly report: Omit<
|
|
708
|
-
declare readonly $res: () =>
|
|
671
|
+
export class CountMessageReads {
|
|
672
|
+
static readonly reportId = "CountMessageReads" as const;
|
|
673
|
+
readonly reportId = "CountMessageReads" as const;
|
|
674
|
+
readonly report: Omit<_CountMessageReads, "tx">;
|
|
675
|
+
declare readonly $res: () => MessageReadCount;
|
|
709
676
|
|
|
710
|
-
constructor(args: Omit<
|
|
677
|
+
constructor(args: Omit<_CountMessageReads, "tx">) {
|
|
711
678
|
this.report = args;
|
|
712
679
|
}
|
|
713
680
|
}
|
|
714
681
|
|
|
715
|
-
export class
|
|
716
|
-
static readonly reportId = "
|
|
717
|
-
readonly reportId = "
|
|
718
|
-
readonly report: Omit<
|
|
719
|
-
declare readonly $res: () =>
|
|
682
|
+
export class CountAllMessageReads {
|
|
683
|
+
static readonly reportId = "CountAllMessageReads" as const;
|
|
684
|
+
readonly reportId = "CountAllMessageReads" as const;
|
|
685
|
+
readonly report: Omit<_CountAllMessageReads, "tx">;
|
|
686
|
+
declare readonly $res: () => MessageReadCount;
|
|
720
687
|
|
|
721
|
-
constructor(args: Omit<
|
|
688
|
+
constructor(args: Omit<_CountAllMessageReads, "tx">) {
|
|
722
689
|
this.report = args;
|
|
723
690
|
}
|
|
724
691
|
}
|
|
@@ -822,40 +789,40 @@ export class CountAllRoomMembers {
|
|
|
822
789
|
}
|
|
823
790
|
}
|
|
824
791
|
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
readonly
|
|
829
|
-
readonly
|
|
830
|
-
declare readonly $res: () => SandboxRunId;
|
|
792
|
+
export class GetSandboxRunById {
|
|
793
|
+
static readonly reportId = "GetSandboxRunById" as const;
|
|
794
|
+
readonly reportId = "GetSandboxRunById" as const;
|
|
795
|
+
readonly report: Omit<_GetSandboxRunById, "tx">;
|
|
796
|
+
declare readonly $res: () => SandboxRun | null;
|
|
831
797
|
|
|
832
|
-
constructor(args: Omit<
|
|
833
|
-
this.
|
|
798
|
+
constructor(args: Omit<_GetSandboxRunById, "tx">) {
|
|
799
|
+
this.report = args;
|
|
834
800
|
}
|
|
835
801
|
}
|
|
836
802
|
|
|
837
|
-
export class
|
|
838
|
-
static readonly
|
|
839
|
-
readonly
|
|
840
|
-
readonly
|
|
841
|
-
declare readonly $res: () =>
|
|
803
|
+
export class CountSandboxRuns {
|
|
804
|
+
static readonly reportId = "CountSandboxRuns" as const;
|
|
805
|
+
readonly reportId = "CountSandboxRuns" as const;
|
|
806
|
+
readonly report: Omit<_CountSandboxRuns, "tx">;
|
|
807
|
+
declare readonly $res: () => SandboxRunCount;
|
|
842
808
|
|
|
843
|
-
constructor(args: Omit<
|
|
844
|
-
this.
|
|
809
|
+
constructor(args: Omit<_CountSandboxRuns, "tx">) {
|
|
810
|
+
this.report = args;
|
|
845
811
|
}
|
|
846
812
|
}
|
|
847
813
|
|
|
848
|
-
export class
|
|
849
|
-
static readonly
|
|
850
|
-
readonly
|
|
851
|
-
readonly
|
|
852
|
-
declare readonly $res: () =>
|
|
814
|
+
export class CountAllSandboxRuns {
|
|
815
|
+
static readonly reportId = "CountAllSandboxRuns" as const;
|
|
816
|
+
readonly reportId = "CountAllSandboxRuns" as const;
|
|
817
|
+
readonly report: Omit<_CountAllSandboxRuns, "tx">;
|
|
818
|
+
declare readonly $res: () => SandboxRunCount;
|
|
853
819
|
|
|
854
|
-
constructor(args: Omit<
|
|
855
|
-
this.
|
|
820
|
+
constructor(args: Omit<_CountAllSandboxRuns, "tx">) {
|
|
821
|
+
this.report = args;
|
|
856
822
|
}
|
|
857
823
|
}
|
|
858
824
|
|
|
825
|
+
// Command classes
|
|
859
826
|
export class BroadcastMessage {
|
|
860
827
|
static readonly commandId = "BroadcastMessage" as const;
|
|
861
828
|
readonly commandId = "BroadcastMessage" as const;
|
|
@@ -889,28 +856,6 @@ export class SendMessage {
|
|
|
889
856
|
}
|
|
890
857
|
}
|
|
891
858
|
|
|
892
|
-
export class DeleteMessages {
|
|
893
|
-
static readonly commandId = "DeleteMessages" as const;
|
|
894
|
-
readonly commandId = "DeleteMessages" as const;
|
|
895
|
-
readonly command: Omit<_DeleteMessages, "tx" | "createdAt">;
|
|
896
|
-
declare readonly $res: () => DeleteMessagesResult;
|
|
897
|
-
|
|
898
|
-
constructor(args: Omit<_DeleteMessages, "tx" | "createdAt">) {
|
|
899
|
-
this.command = args;
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
export class DeleteMessage {
|
|
904
|
-
static readonly commandId = "DeleteMessage" as const;
|
|
905
|
-
readonly commandId = "DeleteMessage" as const;
|
|
906
|
-
readonly command: Omit<_DeleteMessage, "tx" | "createdAt">;
|
|
907
|
-
declare readonly $res: () => DeleteMessageResult;
|
|
908
|
-
|
|
909
|
-
constructor(args: Omit<_DeleteMessage, "tx" | "createdAt">) {
|
|
910
|
-
this.command = args;
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
|
|
914
859
|
export class NotifyChannel {
|
|
915
860
|
static readonly commandId = "NotifyChannel" as const;
|
|
916
861
|
readonly commandId = "NotifyChannel" as const;
|
|
@@ -922,50 +867,6 @@ export class NotifyChannel {
|
|
|
922
867
|
}
|
|
923
868
|
}
|
|
924
869
|
|
|
925
|
-
export class DeleteMessageReads {
|
|
926
|
-
static readonly commandId = "DeleteMessageReads" as const;
|
|
927
|
-
readonly commandId = "DeleteMessageReads" as const;
|
|
928
|
-
readonly command: Omit<_DeleteMessageReads, "tx" | "createdAt">;
|
|
929
|
-
declare readonly $res: () => DeleteMessageReadsResult;
|
|
930
|
-
|
|
931
|
-
constructor(args: Omit<_DeleteMessageReads, "tx" | "createdAt">) {
|
|
932
|
-
this.command = args;
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
export class DeleteMessageRead {
|
|
937
|
-
static readonly commandId = "DeleteMessageRead" as const;
|
|
938
|
-
readonly commandId = "DeleteMessageRead" as const;
|
|
939
|
-
readonly command: Omit<_DeleteMessageRead, "tx" | "createdAt">;
|
|
940
|
-
declare readonly $res: () => DeleteMessageReadResult;
|
|
941
|
-
|
|
942
|
-
constructor(args: Omit<_DeleteMessageRead, "tx" | "createdAt">) {
|
|
943
|
-
this.command = args;
|
|
944
|
-
}
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
export class LeaveRoom {
|
|
948
|
-
static readonly commandId = "LeaveRoom" as const;
|
|
949
|
-
readonly commandId = "LeaveRoom" as const;
|
|
950
|
-
readonly command: Omit<_LeaveRoom, "tx" | "createdAt">;
|
|
951
|
-
declare readonly $res: () => LeaveRoomResult;
|
|
952
|
-
|
|
953
|
-
constructor(args: Omit<_LeaveRoom, "tx" | "createdAt">) {
|
|
954
|
-
this.command = args;
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
export class JoinRoom {
|
|
959
|
-
static readonly commandId = "JoinRoom" as const;
|
|
960
|
-
readonly commandId = "JoinRoom" as const;
|
|
961
|
-
readonly command: Omit<_JoinRoom, "tx" | "createdAt">;
|
|
962
|
-
declare readonly $res: () => JoinRoomResult;
|
|
963
|
-
|
|
964
|
-
constructor(args: Omit<_JoinRoom, "tx" | "createdAt">) {
|
|
965
|
-
this.command = args;
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
|
|
969
870
|
export class DeleteRoom {
|
|
970
871
|
static readonly commandId = "DeleteRoom" as const;
|
|
971
872
|
readonly commandId = "DeleteRoom" as const;
|
|
@@ -1032,6 +933,50 @@ export class DeleteWakeWatchers {
|
|
|
1032
933
|
}
|
|
1033
934
|
}
|
|
1034
935
|
|
|
936
|
+
export class DeleteMessages {
|
|
937
|
+
static readonly commandId = "DeleteMessages" as const;
|
|
938
|
+
readonly commandId = "DeleteMessages" as const;
|
|
939
|
+
readonly command: Omit<_DeleteMessages, "tx" | "createdAt">;
|
|
940
|
+
declare readonly $res: () => DeleteMessagesResult;
|
|
941
|
+
|
|
942
|
+
constructor(args: Omit<_DeleteMessages, "tx" | "createdAt">) {
|
|
943
|
+
this.command = args;
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
export class DeleteMessage {
|
|
948
|
+
static readonly commandId = "DeleteMessage" as const;
|
|
949
|
+
readonly commandId = "DeleteMessage" as const;
|
|
950
|
+
readonly command: Omit<_DeleteMessage, "tx" | "createdAt">;
|
|
951
|
+
declare readonly $res: () => DeleteMessageResult;
|
|
952
|
+
|
|
953
|
+
constructor(args: Omit<_DeleteMessage, "tx" | "createdAt">) {
|
|
954
|
+
this.command = args;
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
export class DeleteMessageReads {
|
|
959
|
+
static readonly commandId = "DeleteMessageReads" as const;
|
|
960
|
+
readonly commandId = "DeleteMessageReads" as const;
|
|
961
|
+
readonly command: Omit<_DeleteMessageReads, "tx" | "createdAt">;
|
|
962
|
+
declare readonly $res: () => DeleteMessageReadsResult;
|
|
963
|
+
|
|
964
|
+
constructor(args: Omit<_DeleteMessageReads, "tx" | "createdAt">) {
|
|
965
|
+
this.command = args;
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
export class DeleteMessageRead {
|
|
970
|
+
static readonly commandId = "DeleteMessageRead" as const;
|
|
971
|
+
readonly commandId = "DeleteMessageRead" as const;
|
|
972
|
+
readonly command: Omit<_DeleteMessageRead, "tx" | "createdAt">;
|
|
973
|
+
declare readonly $res: () => DeleteMessageReadResult;
|
|
974
|
+
|
|
975
|
+
constructor(args: Omit<_DeleteMessageRead, "tx" | "createdAt">) {
|
|
976
|
+
this.command = args;
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
|
|
1035
980
|
export class AckMessages {
|
|
1036
981
|
static readonly commandId = "AckMessages" as const;
|
|
1037
982
|
readonly commandId = "AckMessages" as const;
|
|
@@ -1219,16 +1164,71 @@ export class DeleteRoomMember {
|
|
|
1219
1164
|
}
|
|
1220
1165
|
}
|
|
1221
1166
|
|
|
1167
|
+
export class LeaveRoom {
|
|
1168
|
+
static readonly commandId = "LeaveRoom" as const;
|
|
1169
|
+
readonly commandId = "LeaveRoom" as const;
|
|
1170
|
+
readonly command: Omit<_LeaveRoom, "tx" | "createdAt">;
|
|
1171
|
+
declare readonly $res: () => LeaveRoomResult;
|
|
1172
|
+
|
|
1173
|
+
constructor(args: Omit<_LeaveRoom, "tx" | "createdAt">) {
|
|
1174
|
+
this.command = args;
|
|
1175
|
+
}
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
export class JoinRoom {
|
|
1179
|
+
static readonly commandId = "JoinRoom" as const;
|
|
1180
|
+
readonly commandId = "JoinRoom" as const;
|
|
1181
|
+
readonly command: Omit<_JoinRoom, "tx" | "createdAt">;
|
|
1182
|
+
declare readonly $res: () => JoinRoomResult;
|
|
1183
|
+
|
|
1184
|
+
constructor(args: Omit<_JoinRoom, "tx" | "createdAt">) {
|
|
1185
|
+
this.command = args;
|
|
1186
|
+
}
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
export class ImportSandboxRun {
|
|
1190
|
+
static readonly commandId = "ImportSandboxRun" as const;
|
|
1191
|
+
readonly commandId = "ImportSandboxRun" as const;
|
|
1192
|
+
readonly command: Omit<_ImportSandboxRun, "tx" | "createdAt">;
|
|
1193
|
+
declare readonly $res: () => SandboxRunId;
|
|
1194
|
+
|
|
1195
|
+
constructor(args: Omit<_ImportSandboxRun, "tx" | "createdAt">) {
|
|
1196
|
+
this.command = args;
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
export class DeleteSandboxRuns {
|
|
1201
|
+
static readonly commandId = "DeleteSandboxRuns" as const;
|
|
1202
|
+
readonly commandId = "DeleteSandboxRuns" as const;
|
|
1203
|
+
readonly command: Omit<_DeleteSandboxRuns, "tx" | "createdAt">;
|
|
1204
|
+
declare readonly $res: () => DeleteSandboxRunsResult;
|
|
1205
|
+
|
|
1206
|
+
constructor(args: Omit<_DeleteSandboxRuns, "tx" | "createdAt">) {
|
|
1207
|
+
this.command = args;
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
export class DeleteSandboxRun {
|
|
1212
|
+
static readonly commandId = "DeleteSandboxRun" as const;
|
|
1213
|
+
readonly commandId = "DeleteSandboxRun" as const;
|
|
1214
|
+
readonly command: Omit<_DeleteSandboxRun, "tx" | "createdAt">;
|
|
1215
|
+
declare readonly $res: () => DeleteSandboxRunResult;
|
|
1216
|
+
|
|
1217
|
+
constructor(args: Omit<_DeleteSandboxRun, "tx" | "createdAt">) {
|
|
1218
|
+
this.command = args;
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
1222
|
// Item constructors
|
|
1223
1223
|
export const items = {
|
|
1224
|
-
SandboxRun: (args: SandboxRun) => ({ item: args, itemType: "SandboxRun" }),
|
|
1225
|
-
Message: (args: Message) => ({ item: args, itemType: "Message" }),
|
|
1226
|
-
MessageRead: (args: MessageRead) => ({ item: args, itemType: "MessageRead" }),
|
|
1227
1224
|
Room: (args: Room) => ({ item: args, itemType: "Room" }),
|
|
1228
1225
|
WakeWatcher: (args: WakeWatcher) => ({ item: args, itemType: "WakeWatcher" }),
|
|
1226
|
+
Message: (args: Message) => ({ item: args, itemType: "Message" }),
|
|
1227
|
+
MessageRead: (args: MessageRead) => ({ item: args, itemType: "MessageRead" }),
|
|
1229
1228
|
Session: (args: Session) => ({ item: args, itemType: "Session" }),
|
|
1230
1229
|
SessionNickname: (args: SessionNickname) => ({ item: args, itemType: "SessionNickname" }),
|
|
1231
1230
|
RoomMember: (args: RoomMember) => ({ item: args, itemType: "RoomMember" }),
|
|
1231
|
+
SandboxRun: (args: SandboxRun) => ({ item: args, itemType: "SandboxRun" }),
|
|
1232
1232
|
};
|
|
1233
1233
|
|
|
1234
1234
|
// Message events
|