@agent-marshal/marshal-prime-agent 0.53.4 → 0.53.5
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 +225 -225
package/package.json
CHANGED
package/src/generated/index.ts
CHANGED
|
@@ -191,84 +191,6 @@ 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
|
-
|
|
272
194
|
export class GetSessionsByQuery {
|
|
273
195
|
static readonly queryId = "GetSessionsByQuery" as const;
|
|
274
196
|
static readonly queryItemType = "Session" as const;
|
|
@@ -347,6 +269,84 @@ export class GetAllSessionNicknames {
|
|
|
347
269
|
}
|
|
348
270
|
}
|
|
349
271
|
|
|
272
|
+
export class GetMessageReadsByQuery {
|
|
273
|
+
static readonly queryId = "GetMessageReadsByQuery" as const;
|
|
274
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
275
|
+
readonly queryId = "GetMessageReadsByQuery" as const;
|
|
276
|
+
readonly queryItemType = "MessageRead" as const;
|
|
277
|
+
readonly query: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">;
|
|
278
|
+
declare readonly $res: () => MessageRead[];
|
|
279
|
+
|
|
280
|
+
constructor(args: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">) {
|
|
281
|
+
this.query = args;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export class GetMessageReadsByIds {
|
|
286
|
+
static readonly queryId = "GetMessageReadsByIds" as const;
|
|
287
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
288
|
+
readonly queryId = "GetMessageReadsByIds" as const;
|
|
289
|
+
readonly queryItemType = "MessageRead" as const;
|
|
290
|
+
readonly query: Omit<_GetMessageReadsByIds, "tx" | "createdAt">;
|
|
291
|
+
declare readonly $res: () => MessageRead[];
|
|
292
|
+
|
|
293
|
+
constructor(args: Omit<_GetMessageReadsByIds, "tx" | "createdAt">) {
|
|
294
|
+
this.query = args;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export class GetAllMessageReads {
|
|
299
|
+
static readonly queryId = "GetAllMessageReads" as const;
|
|
300
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
301
|
+
readonly queryId = "GetAllMessageReads" as const;
|
|
302
|
+
readonly queryItemType = "MessageRead" as const;
|
|
303
|
+
readonly query: Omit<_GetAllMessageReads, "tx" | "createdAt">;
|
|
304
|
+
declare readonly $res: () => MessageRead[];
|
|
305
|
+
|
|
306
|
+
constructor(args: Omit<_GetAllMessageReads, "tx" | "createdAt">) {
|
|
307
|
+
this.query = args;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export class GetRoomMembersByQuery {
|
|
312
|
+
static readonly queryId = "GetRoomMembersByQuery" as const;
|
|
313
|
+
static readonly queryItemType = "RoomMember" as const;
|
|
314
|
+
readonly queryId = "GetRoomMembersByQuery" as const;
|
|
315
|
+
readonly queryItemType = "RoomMember" as const;
|
|
316
|
+
readonly query: Omit<_GetRoomMembersByQuery, "tx" | "createdAt">;
|
|
317
|
+
declare readonly $res: () => RoomMember[];
|
|
318
|
+
|
|
319
|
+
constructor(args: Omit<_GetRoomMembersByQuery, "tx" | "createdAt">) {
|
|
320
|
+
this.query = args;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export class GetRoomMembersByIds {
|
|
325
|
+
static readonly queryId = "GetRoomMembersByIds" as const;
|
|
326
|
+
static readonly queryItemType = "RoomMember" as const;
|
|
327
|
+
readonly queryId = "GetRoomMembersByIds" as const;
|
|
328
|
+
readonly queryItemType = "RoomMember" as const;
|
|
329
|
+
readonly query: Omit<_GetRoomMembersByIds, "tx" | "createdAt">;
|
|
330
|
+
declare readonly $res: () => RoomMember[];
|
|
331
|
+
|
|
332
|
+
constructor(args: Omit<_GetRoomMembersByIds, "tx" | "createdAt">) {
|
|
333
|
+
this.query = args;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export class GetAllRoomMembers {
|
|
338
|
+
static readonly queryId = "GetAllRoomMembers" as const;
|
|
339
|
+
static readonly queryItemType = "RoomMember" as const;
|
|
340
|
+
readonly queryId = "GetAllRoomMembers" as const;
|
|
341
|
+
readonly queryItemType = "RoomMember" as const;
|
|
342
|
+
readonly query: Omit<_GetAllRoomMembers, "tx" | "createdAt">;
|
|
343
|
+
declare readonly $res: () => RoomMember[];
|
|
344
|
+
|
|
345
|
+
constructor(args: Omit<_GetAllRoomMembers, "tx" | "createdAt">) {
|
|
346
|
+
this.query = args;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
350
|
export class GetMessagesByQuery {
|
|
351
351
|
static readonly queryId = "GetMessagesByQuery" as const;
|
|
352
352
|
static readonly queryItemType = "Message" as const;
|
|
@@ -428,72 +428,6 @@ export class GetAllRooms {
|
|
|
428
428
|
// View classes
|
|
429
429
|
|
|
430
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;
|
|
436
|
-
|
|
437
|
-
constructor(args: Omit<_GetRoomMemberById, "tx">) {
|
|
438
|
-
this.report = args;
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
|
|
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;
|
|
447
|
-
|
|
448
|
-
constructor(args: Omit<_CountRoomMembers, "tx">) {
|
|
449
|
-
this.report = args;
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
|
|
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;
|
|
458
|
-
|
|
459
|
-
constructor(args: Omit<_CountAllRoomMembers, "tx">) {
|
|
460
|
-
this.report = args;
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
|
|
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;
|
|
469
|
-
|
|
470
|
-
constructor(args: Omit<_GetMessageReadById, "tx">) {
|
|
471
|
-
this.report = args;
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
|
|
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;
|
|
480
|
-
|
|
481
|
-
constructor(args: Omit<_CountMessageReads, "tx">) {
|
|
482
|
-
this.report = args;
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
|
|
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;
|
|
491
|
-
|
|
492
|
-
constructor(args: Omit<_CountAllMessageReads, "tx">) {
|
|
493
|
-
this.report = args;
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
|
|
497
431
|
export class GetSessionById {
|
|
498
432
|
static readonly reportId = "GetSessionById" as const;
|
|
499
433
|
readonly reportId = "GetSessionById" as const;
|
|
@@ -560,6 +494,72 @@ export class CountAllSessionNicknames {
|
|
|
560
494
|
}
|
|
561
495
|
}
|
|
562
496
|
|
|
497
|
+
export class GetMessageReadById {
|
|
498
|
+
static readonly reportId = "GetMessageReadById" as const;
|
|
499
|
+
readonly reportId = "GetMessageReadById" as const;
|
|
500
|
+
readonly report: Omit<_GetMessageReadById, "tx">;
|
|
501
|
+
declare readonly $res: () => MessageRead | null;
|
|
502
|
+
|
|
503
|
+
constructor(args: Omit<_GetMessageReadById, "tx">) {
|
|
504
|
+
this.report = args;
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export class CountMessageReads {
|
|
509
|
+
static readonly reportId = "CountMessageReads" as const;
|
|
510
|
+
readonly reportId = "CountMessageReads" as const;
|
|
511
|
+
readonly report: Omit<_CountMessageReads, "tx">;
|
|
512
|
+
declare readonly $res: () => MessageReadCount;
|
|
513
|
+
|
|
514
|
+
constructor(args: Omit<_CountMessageReads, "tx">) {
|
|
515
|
+
this.report = args;
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
export class CountAllMessageReads {
|
|
520
|
+
static readonly reportId = "CountAllMessageReads" as const;
|
|
521
|
+
readonly reportId = "CountAllMessageReads" as const;
|
|
522
|
+
readonly report: Omit<_CountAllMessageReads, "tx">;
|
|
523
|
+
declare readonly $res: () => MessageReadCount;
|
|
524
|
+
|
|
525
|
+
constructor(args: Omit<_CountAllMessageReads, "tx">) {
|
|
526
|
+
this.report = args;
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
export class GetRoomMemberById {
|
|
531
|
+
static readonly reportId = "GetRoomMemberById" as const;
|
|
532
|
+
readonly reportId = "GetRoomMemberById" as const;
|
|
533
|
+
readonly report: Omit<_GetRoomMemberById, "tx">;
|
|
534
|
+
declare readonly $res: () => RoomMember | null;
|
|
535
|
+
|
|
536
|
+
constructor(args: Omit<_GetRoomMemberById, "tx">) {
|
|
537
|
+
this.report = args;
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
export class CountRoomMembers {
|
|
542
|
+
static readonly reportId = "CountRoomMembers" as const;
|
|
543
|
+
readonly reportId = "CountRoomMembers" as const;
|
|
544
|
+
readonly report: Omit<_CountRoomMembers, "tx">;
|
|
545
|
+
declare readonly $res: () => RoomMemberCount;
|
|
546
|
+
|
|
547
|
+
constructor(args: Omit<_CountRoomMembers, "tx">) {
|
|
548
|
+
this.report = args;
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
export class CountAllRoomMembers {
|
|
553
|
+
static readonly reportId = "CountAllRoomMembers" as const;
|
|
554
|
+
readonly reportId = "CountAllRoomMembers" as const;
|
|
555
|
+
readonly report: Omit<_CountAllRoomMembers, "tx">;
|
|
556
|
+
declare readonly $res: () => RoomMemberCount;
|
|
557
|
+
|
|
558
|
+
constructor(args: Omit<_CountAllRoomMembers, "tx">) {
|
|
559
|
+
this.report = args;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
|
|
563
563
|
export class GetMessageById {
|
|
564
564
|
static readonly reportId = "GetMessageById" as const;
|
|
565
565
|
readonly reportId = "GetMessageById" as const;
|
|
@@ -627,79 +627,24 @@ export class CountAllRooms {
|
|
|
627
627
|
}
|
|
628
628
|
|
|
629
629
|
// Command classes
|
|
630
|
-
export class
|
|
631
|
-
static readonly commandId = "
|
|
632
|
-
readonly commandId = "
|
|
633
|
-
readonly command: Omit<
|
|
634
|
-
declare readonly $res: () =>
|
|
635
|
-
|
|
636
|
-
constructor(args: Omit<_AckMessages, "tx" | "createdAt">) {
|
|
637
|
-
this.command = args;
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
|
|
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;
|
|
646
|
-
|
|
647
|
-
constructor(args: Omit<_DeleteRoomMember, "tx" | "createdAt">) {
|
|
648
|
-
this.command = args;
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
|
|
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;
|
|
657
|
-
|
|
658
|
-
constructor(args: Omit<_DeleteRoomMembers, "tx" | "createdAt">) {
|
|
659
|
-
this.command = args;
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
|
|
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;
|
|
668
|
-
|
|
669
|
-
constructor(args: Omit<_LeaveRoom, "tx" | "createdAt">) {
|
|
670
|
-
this.command = args;
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
|
|
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;
|
|
679
|
-
|
|
680
|
-
constructor(args: Omit<_JoinRoom, "tx" | "createdAt">) {
|
|
681
|
-
this.command = args;
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
|
|
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;
|
|
630
|
+
export class BroadcastMessage {
|
|
631
|
+
static readonly commandId = "BroadcastMessage" as const;
|
|
632
|
+
readonly commandId = "BroadcastMessage" as const;
|
|
633
|
+
readonly command: Omit<_BroadcastMessage, "tx" | "createdAt">;
|
|
634
|
+
declare readonly $res: () => BroadcastMessageResult;
|
|
690
635
|
|
|
691
|
-
constructor(args: Omit<
|
|
636
|
+
constructor(args: Omit<_BroadcastMessage, "tx" | "createdAt">) {
|
|
692
637
|
this.command = args;
|
|
693
638
|
}
|
|
694
639
|
}
|
|
695
640
|
|
|
696
|
-
export class
|
|
697
|
-
static readonly commandId = "
|
|
698
|
-
readonly commandId = "
|
|
699
|
-
readonly command: Omit<
|
|
700
|
-
declare readonly $res: () =>
|
|
641
|
+
export class SendMessage {
|
|
642
|
+
static readonly commandId = "SendMessage" as const;
|
|
643
|
+
readonly commandId = "SendMessage" as const;
|
|
644
|
+
readonly command: Omit<_SendMessage, "tx" | "createdAt">;
|
|
645
|
+
declare readonly $res: () => SendMessageResult;
|
|
701
646
|
|
|
702
|
-
constructor(args: Omit<
|
|
647
|
+
constructor(args: Omit<_SendMessage, "tx" | "createdAt">) {
|
|
703
648
|
this.command = args;
|
|
704
649
|
}
|
|
705
650
|
}
|
|
@@ -836,24 +781,79 @@ export class DeleteSessionNicknames {
|
|
|
836
781
|
}
|
|
837
782
|
}
|
|
838
783
|
|
|
839
|
-
export class
|
|
840
|
-
static readonly commandId = "
|
|
841
|
-
readonly commandId = "
|
|
842
|
-
readonly command: Omit<
|
|
843
|
-
declare readonly $res: () =>
|
|
784
|
+
export class DeleteMessageRead {
|
|
785
|
+
static readonly commandId = "DeleteMessageRead" as const;
|
|
786
|
+
readonly commandId = "DeleteMessageRead" as const;
|
|
787
|
+
readonly command: Omit<_DeleteMessageRead, "tx" | "createdAt">;
|
|
788
|
+
declare readonly $res: () => DeleteMessageReadResult;
|
|
844
789
|
|
|
845
|
-
constructor(args: Omit<
|
|
790
|
+
constructor(args: Omit<_DeleteMessageRead, "tx" | "createdAt">) {
|
|
846
791
|
this.command = args;
|
|
847
792
|
}
|
|
848
793
|
}
|
|
849
794
|
|
|
850
|
-
export class
|
|
851
|
-
static readonly commandId = "
|
|
852
|
-
readonly commandId = "
|
|
853
|
-
readonly command: Omit<
|
|
854
|
-
declare readonly $res: () =>
|
|
795
|
+
export class DeleteMessageReads {
|
|
796
|
+
static readonly commandId = "DeleteMessageReads" as const;
|
|
797
|
+
readonly commandId = "DeleteMessageReads" as const;
|
|
798
|
+
readonly command: Omit<_DeleteMessageReads, "tx" | "createdAt">;
|
|
799
|
+
declare readonly $res: () => DeleteMessageReadsResult;
|
|
855
800
|
|
|
856
|
-
constructor(args: Omit<
|
|
801
|
+
constructor(args: Omit<_DeleteMessageReads, "tx" | "createdAt">) {
|
|
802
|
+
this.command = args;
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
export class AckMessages {
|
|
807
|
+
static readonly commandId = "AckMessages" as const;
|
|
808
|
+
readonly commandId = "AckMessages" as const;
|
|
809
|
+
readonly command: Omit<_AckMessages, "tx" | "createdAt">;
|
|
810
|
+
declare readonly $res: () => AckMessagesResult;
|
|
811
|
+
|
|
812
|
+
constructor(args: Omit<_AckMessages, "tx" | "createdAt">) {
|
|
813
|
+
this.command = args;
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
export class DeleteRoomMember {
|
|
818
|
+
static readonly commandId = "DeleteRoomMember" as const;
|
|
819
|
+
readonly commandId = "DeleteRoomMember" as const;
|
|
820
|
+
readonly command: Omit<_DeleteRoomMember, "tx" | "createdAt">;
|
|
821
|
+
declare readonly $res: () => DeleteRoomMemberResult;
|
|
822
|
+
|
|
823
|
+
constructor(args: Omit<_DeleteRoomMember, "tx" | "createdAt">) {
|
|
824
|
+
this.command = args;
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
export class DeleteRoomMembers {
|
|
829
|
+
static readonly commandId = "DeleteRoomMembers" as const;
|
|
830
|
+
readonly commandId = "DeleteRoomMembers" as const;
|
|
831
|
+
readonly command: Omit<_DeleteRoomMembers, "tx" | "createdAt">;
|
|
832
|
+
declare readonly $res: () => DeleteRoomMembersResult;
|
|
833
|
+
|
|
834
|
+
constructor(args: Omit<_DeleteRoomMembers, "tx" | "createdAt">) {
|
|
835
|
+
this.command = args;
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
export class LeaveRoom {
|
|
840
|
+
static readonly commandId = "LeaveRoom" as const;
|
|
841
|
+
readonly commandId = "LeaveRoom" as const;
|
|
842
|
+
readonly command: Omit<_LeaveRoom, "tx" | "createdAt">;
|
|
843
|
+
declare readonly $res: () => LeaveRoomResult;
|
|
844
|
+
|
|
845
|
+
constructor(args: Omit<_LeaveRoom, "tx" | "createdAt">) {
|
|
846
|
+
this.command = args;
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
export class JoinRoom {
|
|
851
|
+
static readonly commandId = "JoinRoom" as const;
|
|
852
|
+
readonly commandId = "JoinRoom" as const;
|
|
853
|
+
readonly command: Omit<_JoinRoom, "tx" | "createdAt">;
|
|
854
|
+
declare readonly $res: () => JoinRoomResult;
|
|
855
|
+
|
|
856
|
+
constructor(args: Omit<_JoinRoom, "tx" | "createdAt">) {
|
|
857
857
|
this.command = args;
|
|
858
858
|
}
|
|
859
859
|
}
|
|
@@ -937,10 +937,10 @@ export class ReadMessages {
|
|
|
937
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" }),
|
|
942
940
|
Session: (args: Session) => ({ item: args, itemType: "Session" }),
|
|
943
941
|
SessionNickname: (args: SessionNickname) => ({ item: args, itemType: "SessionNickname" }),
|
|
942
|
+
MessageRead: (args: MessageRead) => ({ item: args, itemType: "MessageRead" }),
|
|
943
|
+
RoomMember: (args: RoomMember) => ({ item: args, itemType: "RoomMember" }),
|
|
944
944
|
Message: (args: Message) => ({ item: args, itemType: "Message" }),
|
|
945
945
|
Room: (args: Room) => ({ item: args, itemType: "Room" }),
|
|
946
946
|
};
|