@agent-marshal/marshal-prime-agent 0.55.1 → 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/Session.ts +13 -1
- package/src/generated/SessionQuery.ts +1 -1
- package/src/generated/index.ts +380 -380
package/package.json
CHANGED
package/src/generated/Session.ts
CHANGED
|
@@ -127,4 +127,16 @@ project?: string | null,
|
|
|
127
127
|
* channels OFF still can't render a push, so the message is queued to
|
|
128
128
|
* the inbox (delivered_live = false) rather than claimed as live.
|
|
129
129
|
*/
|
|
130
|
-
channelsEnabled?: boolean | null,
|
|
130
|
+
channelsEnabled?: boolean | null,
|
|
131
|
+
/**
|
|
132
|
+
* Whether this session's client acks each live push itself, once it has
|
|
133
|
+
* passed it on (the Claude shim: once it has flushed it to Claude's
|
|
134
|
+
* stdin). When set, `SendMessage` leaves a pushed message unread until
|
|
135
|
+
* that ack instead of marking it read as soon as the push is handed to
|
|
136
|
+
* the connection, so a push lost before the client gets it (a connection
|
|
137
|
+
* that stops being read and then dies) comes back in the next inbox
|
|
138
|
+
* pull. What happens after the client's ack is past the daemon's view.
|
|
139
|
+
* `None` = a client that doesn't ack pushes; the daemon marks them read
|
|
140
|
+
* for it.
|
|
141
|
+
*/
|
|
142
|
+
acksPushes?: boolean | null, id: SessionId, };
|
|
@@ -6,4 +6,4 @@ import type { SessionId } from "./SessionId";
|
|
|
6
6
|
import type { StringFilter } from "./StringFilter";
|
|
7
7
|
import type { Unfilterable } from "./Unfilterable";
|
|
8
8
|
|
|
9
|
-
export type SessionQuery = { clientId?: IdFilter<ClientId> | null, pid?: NumericFilter<number> | null, cwd?: StringFilter | null, gitBranch?: StringFilter | null, currentTask?: StringFilter | null, sessionName?: StringFilter | null, activity?: StringFilter | null, kind?: StringFilter | null, connectedAt?: NumericFilter<bigint> | null, lastActivityAt?: NumericFilter<bigint> | null, lastTool?: StringFilter | null, lastToolAt?: NumericFilter<bigint> | null, operator?: StringFilter | null, host?: Unfilterable | null, project?: StringFilter | null, channelsEnabled?: boolean | null, id?: IdFilter<SessionId> | null, };
|
|
9
|
+
export type SessionQuery = { clientId?: IdFilter<ClientId> | null, pid?: NumericFilter<number> | null, cwd?: StringFilter | null, gitBranch?: StringFilter | null, currentTask?: StringFilter | null, sessionName?: StringFilter | null, activity?: StringFilter | null, kind?: StringFilter | null, connectedAt?: NumericFilter<bigint> | null, lastActivityAt?: NumericFilter<bigint> | null, lastTool?: StringFilter | null, lastToolAt?: NumericFilter<bigint> | null, operator?: StringFilter | null, host?: Unfilterable | null, project?: StringFilter | null, channelsEnabled?: boolean | null, acksPushes?: boolean | null, id?: IdFilter<SessionId> | null, };
|
package/src/generated/index.ts
CHANGED
|
@@ -217,119 +217,80 @@ 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
|
|
221
|
-
static readonly queryId = "
|
|
222
|
-
static readonly queryItemType = "
|
|
223
|
-
readonly queryId = "
|
|
224
|
-
readonly queryItemType = "
|
|
225
|
-
readonly query: Omit<
|
|
226
|
-
declare readonly $res: () =>
|
|
227
|
-
|
|
228
|
-
constructor(args: Omit<_GetSessionNicknamesByQuery, "tx" | "createdAt">) {
|
|
229
|
-
this.query = args;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
export class GetSessionNicknamesByIds {
|
|
234
|
-
static readonly queryId = "GetSessionNicknamesByIds" as const;
|
|
235
|
-
static readonly queryItemType = "SessionNickname" as const;
|
|
236
|
-
readonly queryId = "GetSessionNicknamesByIds" as const;
|
|
237
|
-
readonly queryItemType = "SessionNickname" as const;
|
|
238
|
-
readonly query: Omit<_GetSessionNicknamesByIds, "tx" | "createdAt">;
|
|
239
|
-
declare readonly $res: () => SessionNickname[];
|
|
240
|
-
|
|
241
|
-
constructor(args: Omit<_GetSessionNicknamesByIds, "tx" | "createdAt">) {
|
|
242
|
-
this.query = args;
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
export class GetAllSessionNicknames {
|
|
247
|
-
static readonly queryId = "GetAllSessionNicknames" as const;
|
|
248
|
-
static readonly queryItemType = "SessionNickname" as const;
|
|
249
|
-
readonly queryId = "GetAllSessionNicknames" as const;
|
|
250
|
-
readonly queryItemType = "SessionNickname" as const;
|
|
251
|
-
readonly query: Omit<_GetAllSessionNicknames, "tx" | "createdAt">;
|
|
252
|
-
declare readonly $res: () => SessionNickname[];
|
|
253
|
-
|
|
254
|
-
constructor(args: Omit<_GetAllSessionNicknames, "tx" | "createdAt">) {
|
|
255
|
-
this.query = args;
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
export class GetRoomMembersByQuery {
|
|
260
|
-
static readonly queryId = "GetRoomMembersByQuery" as const;
|
|
261
|
-
static readonly queryItemType = "RoomMember" as const;
|
|
262
|
-
readonly queryId = "GetRoomMembersByQuery" as const;
|
|
263
|
-
readonly queryItemType = "RoomMember" as const;
|
|
264
|
-
readonly query: Omit<_GetRoomMembersByQuery, "tx" | "createdAt">;
|
|
265
|
-
declare readonly $res: () => RoomMember[];
|
|
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[];
|
|
266
227
|
|
|
267
|
-
constructor(args: Omit<
|
|
228
|
+
constructor(args: Omit<_GetSessionsByQuery, "tx" | "createdAt">) {
|
|
268
229
|
this.query = args;
|
|
269
230
|
}
|
|
270
231
|
}
|
|
271
232
|
|
|
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: () =>
|
|
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[];
|
|
279
240
|
|
|
280
|
-
constructor(args: Omit<
|
|
241
|
+
constructor(args: Omit<_GetSessionsByIds, "tx" | "createdAt">) {
|
|
281
242
|
this.query = args;
|
|
282
243
|
}
|
|
283
244
|
}
|
|
284
245
|
|
|
285
|
-
export class
|
|
286
|
-
static readonly queryId = "
|
|
287
|
-
static readonly queryItemType = "
|
|
288
|
-
readonly queryId = "
|
|
289
|
-
readonly queryItemType = "
|
|
290
|
-
readonly query: Omit<
|
|
291
|
-
declare readonly $res: () =>
|
|
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[];
|
|
292
253
|
|
|
293
|
-
constructor(args: Omit<
|
|
254
|
+
constructor(args: Omit<_GetAllSessions, "tx" | "createdAt">) {
|
|
294
255
|
this.query = args;
|
|
295
256
|
}
|
|
296
257
|
}
|
|
297
258
|
|
|
298
|
-
export class
|
|
299
|
-
static readonly queryId = "
|
|
300
|
-
static readonly queryItemType = "
|
|
301
|
-
readonly queryId = "
|
|
302
|
-
readonly queryItemType = "
|
|
303
|
-
readonly query: Omit<
|
|
304
|
-
declare readonly $res: () =>
|
|
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[];
|
|
305
266
|
|
|
306
|
-
constructor(args: Omit<
|
|
267
|
+
constructor(args: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">) {
|
|
307
268
|
this.query = args;
|
|
308
269
|
}
|
|
309
270
|
}
|
|
310
271
|
|
|
311
|
-
export class
|
|
312
|
-
static readonly queryId = "
|
|
313
|
-
static readonly queryItemType = "
|
|
314
|
-
readonly queryId = "
|
|
315
|
-
readonly queryItemType = "
|
|
316
|
-
readonly query: Omit<
|
|
317
|
-
declare readonly $res: () =>
|
|
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[];
|
|
318
279
|
|
|
319
|
-
constructor(args: Omit<
|
|
280
|
+
constructor(args: Omit<_GetMessageReadsByIds, "tx" | "createdAt">) {
|
|
320
281
|
this.query = args;
|
|
321
282
|
}
|
|
322
283
|
}
|
|
323
284
|
|
|
324
|
-
export class
|
|
325
|
-
static readonly queryId = "
|
|
326
|
-
static readonly queryItemType = "
|
|
327
|
-
readonly queryId = "
|
|
328
|
-
readonly queryItemType = "
|
|
329
|
-
readonly query: Omit<
|
|
330
|
-
declare readonly $res: () =>
|
|
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[];
|
|
331
292
|
|
|
332
|
-
constructor(args: Omit<
|
|
293
|
+
constructor(args: Omit<_GetAllMessageReads, "tx" | "createdAt">) {
|
|
333
294
|
this.query = args;
|
|
334
295
|
}
|
|
335
296
|
}
|
|
@@ -412,182 +373,188 @@ export class GetAllMessages {
|
|
|
412
373
|
}
|
|
413
374
|
}
|
|
414
375
|
|
|
415
|
-
export class
|
|
416
|
-
static readonly queryId = "
|
|
417
|
-
static readonly queryItemType = "
|
|
418
|
-
readonly queryId = "
|
|
419
|
-
readonly queryItemType = "
|
|
420
|
-
readonly query: Omit<
|
|
421
|
-
declare readonly $res: () =>
|
|
376
|
+
export class GetSessionNicknamesByQuery {
|
|
377
|
+
static readonly queryId = "GetSessionNicknamesByQuery" as const;
|
|
378
|
+
static readonly queryItemType = "SessionNickname" as const;
|
|
379
|
+
readonly queryId = "GetSessionNicknamesByQuery" as const;
|
|
380
|
+
readonly queryItemType = "SessionNickname" as const;
|
|
381
|
+
readonly query: Omit<_GetSessionNicknamesByQuery, "tx" | "createdAt">;
|
|
382
|
+
declare readonly $res: () => SessionNickname[];
|
|
422
383
|
|
|
423
|
-
constructor(args: Omit<
|
|
384
|
+
constructor(args: Omit<_GetSessionNicknamesByQuery, "tx" | "createdAt">) {
|
|
424
385
|
this.query = args;
|
|
425
386
|
}
|
|
426
387
|
}
|
|
427
388
|
|
|
428
|
-
export class
|
|
429
|
-
static readonly queryId = "
|
|
430
|
-
static readonly queryItemType = "
|
|
431
|
-
readonly queryId = "
|
|
432
|
-
readonly queryItemType = "
|
|
433
|
-
readonly query: Omit<
|
|
434
|
-
declare readonly $res: () =>
|
|
389
|
+
export class GetSessionNicknamesByIds {
|
|
390
|
+
static readonly queryId = "GetSessionNicknamesByIds" as const;
|
|
391
|
+
static readonly queryItemType = "SessionNickname" as const;
|
|
392
|
+
readonly queryId = "GetSessionNicknamesByIds" as const;
|
|
393
|
+
readonly queryItemType = "SessionNickname" as const;
|
|
394
|
+
readonly query: Omit<_GetSessionNicknamesByIds, "tx" | "createdAt">;
|
|
395
|
+
declare readonly $res: () => SessionNickname[];
|
|
435
396
|
|
|
436
|
-
constructor(args: Omit<
|
|
397
|
+
constructor(args: Omit<_GetSessionNicknamesByIds, "tx" | "createdAt">) {
|
|
437
398
|
this.query = args;
|
|
438
399
|
}
|
|
439
400
|
}
|
|
440
401
|
|
|
441
|
-
export class
|
|
442
|
-
static readonly queryId = "
|
|
443
|
-
static readonly queryItemType = "
|
|
444
|
-
readonly queryId = "
|
|
445
|
-
readonly queryItemType = "
|
|
446
|
-
readonly query: Omit<
|
|
447
|
-
declare readonly $res: () =>
|
|
402
|
+
export class GetAllSessionNicknames {
|
|
403
|
+
static readonly queryId = "GetAllSessionNicknames" as const;
|
|
404
|
+
static readonly queryItemType = "SessionNickname" as const;
|
|
405
|
+
readonly queryId = "GetAllSessionNicknames" as const;
|
|
406
|
+
readonly queryItemType = "SessionNickname" as const;
|
|
407
|
+
readonly query: Omit<_GetAllSessionNicknames, "tx" | "createdAt">;
|
|
408
|
+
declare readonly $res: () => SessionNickname[];
|
|
448
409
|
|
|
449
|
-
constructor(args: Omit<
|
|
410
|
+
constructor(args: Omit<_GetAllSessionNicknames, "tx" | "createdAt">) {
|
|
450
411
|
this.query = args;
|
|
451
412
|
}
|
|
452
413
|
}
|
|
453
414
|
|
|
454
|
-
export class
|
|
455
|
-
static readonly queryId = "
|
|
456
|
-
static readonly queryItemType = "
|
|
457
|
-
readonly queryId = "
|
|
458
|
-
readonly queryItemType = "
|
|
459
|
-
readonly query: Omit<
|
|
460
|
-
declare readonly $res: () =>
|
|
415
|
+
export class GetRoomMembersByQuery {
|
|
416
|
+
static readonly queryId = "GetRoomMembersByQuery" as const;
|
|
417
|
+
static readonly queryItemType = "RoomMember" as const;
|
|
418
|
+
readonly queryId = "GetRoomMembersByQuery" as const;
|
|
419
|
+
readonly queryItemType = "RoomMember" as const;
|
|
420
|
+
readonly query: Omit<_GetRoomMembersByQuery, "tx" | "createdAt">;
|
|
421
|
+
declare readonly $res: () => RoomMember[];
|
|
461
422
|
|
|
462
|
-
constructor(args: Omit<
|
|
423
|
+
constructor(args: Omit<_GetRoomMembersByQuery, "tx" | "createdAt">) {
|
|
463
424
|
this.query = args;
|
|
464
425
|
}
|
|
465
426
|
}
|
|
466
427
|
|
|
467
|
-
export class
|
|
468
|
-
static readonly queryId = "
|
|
469
|
-
static readonly queryItemType = "
|
|
470
|
-
readonly queryId = "
|
|
471
|
-
readonly queryItemType = "
|
|
472
|
-
readonly query: Omit<
|
|
473
|
-
declare readonly $res: () =>
|
|
428
|
+
export class GetRoomMembersByIds {
|
|
429
|
+
static readonly queryId = "GetRoomMembersByIds" as const;
|
|
430
|
+
static readonly queryItemType = "RoomMember" as const;
|
|
431
|
+
readonly queryId = "GetRoomMembersByIds" as const;
|
|
432
|
+
readonly queryItemType = "RoomMember" as const;
|
|
433
|
+
readonly query: Omit<_GetRoomMembersByIds, "tx" | "createdAt">;
|
|
434
|
+
declare readonly $res: () => RoomMember[];
|
|
474
435
|
|
|
475
|
-
constructor(args: Omit<
|
|
436
|
+
constructor(args: Omit<_GetRoomMembersByIds, "tx" | "createdAt">) {
|
|
476
437
|
this.query = args;
|
|
477
438
|
}
|
|
478
439
|
}
|
|
479
440
|
|
|
480
|
-
export class
|
|
481
|
-
static readonly queryId = "
|
|
482
|
-
static readonly queryItemType = "
|
|
483
|
-
readonly queryId = "
|
|
484
|
-
readonly queryItemType = "
|
|
485
|
-
readonly query: Omit<
|
|
486
|
-
declare readonly $res: () =>
|
|
441
|
+
export class GetAllRoomMembers {
|
|
442
|
+
static readonly queryId = "GetAllRoomMembers" as const;
|
|
443
|
+
static readonly queryItemType = "RoomMember" as const;
|
|
444
|
+
readonly queryId = "GetAllRoomMembers" as const;
|
|
445
|
+
readonly queryItemType = "RoomMember" as const;
|
|
446
|
+
readonly query: Omit<_GetAllRoomMembers, "tx" | "createdAt">;
|
|
447
|
+
declare readonly $res: () => RoomMember[];
|
|
487
448
|
|
|
488
|
-
constructor(args: Omit<
|
|
449
|
+
constructor(args: Omit<_GetAllRoomMembers, "tx" | "createdAt">) {
|
|
489
450
|
this.query = args;
|
|
490
451
|
}
|
|
491
452
|
}
|
|
492
453
|
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
readonly
|
|
499
|
-
readonly
|
|
500
|
-
declare readonly $res: () => SessionNickname | null;
|
|
454
|
+
export class GetRoomsByQuery {
|
|
455
|
+
static readonly queryId = "GetRoomsByQuery" as const;
|
|
456
|
+
static readonly queryItemType = "Room" as const;
|
|
457
|
+
readonly queryId = "GetRoomsByQuery" as const;
|
|
458
|
+
readonly queryItemType = "Room" as const;
|
|
459
|
+
readonly query: Omit<_GetRoomsByQuery, "tx" | "createdAt">;
|
|
460
|
+
declare readonly $res: () => Room[];
|
|
501
461
|
|
|
502
|
-
constructor(args: Omit<
|
|
503
|
-
this.
|
|
462
|
+
constructor(args: Omit<_GetRoomsByQuery, "tx" | "createdAt">) {
|
|
463
|
+
this.query = args;
|
|
504
464
|
}
|
|
505
465
|
}
|
|
506
466
|
|
|
507
|
-
export class
|
|
508
|
-
static readonly
|
|
509
|
-
readonly
|
|
510
|
-
readonly
|
|
511
|
-
|
|
467
|
+
export class GetRoomsByIds {
|
|
468
|
+
static readonly queryId = "GetRoomsByIds" as const;
|
|
469
|
+
static readonly queryItemType = "Room" as const;
|
|
470
|
+
readonly queryId = "GetRoomsByIds" as const;
|
|
471
|
+
readonly queryItemType = "Room" as const;
|
|
472
|
+
readonly query: Omit<_GetRoomsByIds, "tx" | "createdAt">;
|
|
473
|
+
declare readonly $res: () => Room[];
|
|
512
474
|
|
|
513
|
-
constructor(args: Omit<
|
|
514
|
-
this.
|
|
475
|
+
constructor(args: Omit<_GetRoomsByIds, "tx" | "createdAt">) {
|
|
476
|
+
this.query = args;
|
|
515
477
|
}
|
|
516
478
|
}
|
|
517
479
|
|
|
518
|
-
export class
|
|
519
|
-
static readonly
|
|
520
|
-
readonly
|
|
521
|
-
readonly
|
|
522
|
-
|
|
480
|
+
export class GetAllRooms {
|
|
481
|
+
static readonly queryId = "GetAllRooms" as const;
|
|
482
|
+
static readonly queryItemType = "Room" as const;
|
|
483
|
+
readonly queryId = "GetAllRooms" as const;
|
|
484
|
+
readonly queryItemType = "Room" as const;
|
|
485
|
+
readonly query: Omit<_GetAllRooms, "tx" | "createdAt">;
|
|
486
|
+
declare readonly $res: () => Room[];
|
|
523
487
|
|
|
524
|
-
constructor(args: Omit<
|
|
525
|
-
this.
|
|
488
|
+
constructor(args: Omit<_GetAllRooms, "tx" | "createdAt">) {
|
|
489
|
+
this.query = args;
|
|
526
490
|
}
|
|
527
491
|
}
|
|
528
492
|
|
|
529
|
-
|
|
530
|
-
static readonly reportId = "GetRoomMemberById" as const;
|
|
531
|
-
readonly reportId = "GetRoomMemberById" as const;
|
|
532
|
-
readonly report: Omit<_GetRoomMemberById, "tx">;
|
|
533
|
-
declare readonly $res: () => RoomMember | null;
|
|
493
|
+
// View classes
|
|
534
494
|
|
|
535
|
-
|
|
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">) {
|
|
536
503
|
this.report = args;
|
|
537
504
|
}
|
|
538
505
|
}
|
|
539
506
|
|
|
540
|
-
export class
|
|
541
|
-
static readonly reportId = "
|
|
542
|
-
readonly reportId = "
|
|
543
|
-
readonly report: Omit<
|
|
544
|
-
declare readonly $res: () =>
|
|
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;
|
|
545
512
|
|
|
546
|
-
constructor(args: Omit<
|
|
513
|
+
constructor(args: Omit<_CountSessions, "tx">) {
|
|
547
514
|
this.report = args;
|
|
548
515
|
}
|
|
549
516
|
}
|
|
550
517
|
|
|
551
|
-
export class
|
|
552
|
-
static readonly reportId = "
|
|
553
|
-
readonly reportId = "
|
|
554
|
-
readonly report: Omit<
|
|
555
|
-
declare readonly $res: () =>
|
|
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;
|
|
556
523
|
|
|
557
|
-
constructor(args: Omit<
|
|
524
|
+
constructor(args: Omit<_CountAllSessions, "tx">) {
|
|
558
525
|
this.report = args;
|
|
559
526
|
}
|
|
560
527
|
}
|
|
561
528
|
|
|
562
|
-
export class
|
|
563
|
-
static readonly reportId = "
|
|
564
|
-
readonly reportId = "
|
|
565
|
-
readonly report: Omit<
|
|
566
|
-
declare readonly $res: () =>
|
|
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;
|
|
567
534
|
|
|
568
|
-
constructor(args: Omit<
|
|
535
|
+
constructor(args: Omit<_GetMessageReadById, "tx">) {
|
|
569
536
|
this.report = args;
|
|
570
537
|
}
|
|
571
538
|
}
|
|
572
539
|
|
|
573
|
-
export class
|
|
574
|
-
static readonly reportId = "
|
|
575
|
-
readonly reportId = "
|
|
576
|
-
readonly report: Omit<
|
|
577
|
-
declare readonly $res: () =>
|
|
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;
|
|
578
545
|
|
|
579
|
-
constructor(args: Omit<
|
|
546
|
+
constructor(args: Omit<_CountMessageReads, "tx">) {
|
|
580
547
|
this.report = args;
|
|
581
548
|
}
|
|
582
549
|
}
|
|
583
550
|
|
|
584
|
-
export class
|
|
585
|
-
static readonly reportId = "
|
|
586
|
-
readonly reportId = "
|
|
587
|
-
readonly report: Omit<
|
|
588
|
-
declare readonly $res: () =>
|
|
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;
|
|
589
556
|
|
|
590
|
-
constructor(args: Omit<
|
|
557
|
+
constructor(args: Omit<_CountAllMessageReads, "tx">) {
|
|
591
558
|
this.report = args;
|
|
592
559
|
}
|
|
593
560
|
}
|
|
@@ -658,212 +625,223 @@ export class CountAllMessages {
|
|
|
658
625
|
}
|
|
659
626
|
}
|
|
660
627
|
|
|
661
|
-
export class
|
|
662
|
-
static readonly reportId = "
|
|
663
|
-
readonly reportId = "
|
|
664
|
-
readonly report: Omit<
|
|
665
|
-
declare readonly $res: () =>
|
|
628
|
+
export class GetSessionNicknameById {
|
|
629
|
+
static readonly reportId = "GetSessionNicknameById" as const;
|
|
630
|
+
readonly reportId = "GetSessionNicknameById" as const;
|
|
631
|
+
readonly report: Omit<_GetSessionNicknameById, "tx">;
|
|
632
|
+
declare readonly $res: () => SessionNickname | null;
|
|
666
633
|
|
|
667
|
-
constructor(args: Omit<
|
|
634
|
+
constructor(args: Omit<_GetSessionNicknameById, "tx">) {
|
|
668
635
|
this.report = args;
|
|
669
636
|
}
|
|
670
637
|
}
|
|
671
638
|
|
|
672
|
-
export class
|
|
673
|
-
static readonly reportId = "
|
|
674
|
-
readonly reportId = "
|
|
675
|
-
readonly report: Omit<
|
|
676
|
-
declare readonly $res: () =>
|
|
639
|
+
export class CountSessionNicknames {
|
|
640
|
+
static readonly reportId = "CountSessionNicknames" as const;
|
|
641
|
+
readonly reportId = "CountSessionNicknames" as const;
|
|
642
|
+
readonly report: Omit<_CountSessionNicknames, "tx">;
|
|
643
|
+
declare readonly $res: () => SessionNicknameCount;
|
|
677
644
|
|
|
678
|
-
constructor(args: Omit<
|
|
645
|
+
constructor(args: Omit<_CountSessionNicknames, "tx">) {
|
|
679
646
|
this.report = args;
|
|
680
647
|
}
|
|
681
648
|
}
|
|
682
649
|
|
|
683
|
-
export class
|
|
684
|
-
static readonly reportId = "
|
|
685
|
-
readonly reportId = "
|
|
686
|
-
readonly report: Omit<
|
|
687
|
-
declare readonly $res: () =>
|
|
650
|
+
export class CountAllSessionNicknames {
|
|
651
|
+
static readonly reportId = "CountAllSessionNicknames" as const;
|
|
652
|
+
readonly reportId = "CountAllSessionNicknames" as const;
|
|
653
|
+
readonly report: Omit<_CountAllSessionNicknames, "tx">;
|
|
654
|
+
declare readonly $res: () => SessionNicknameCount;
|
|
688
655
|
|
|
689
|
-
constructor(args: Omit<
|
|
656
|
+
constructor(args: Omit<_CountAllSessionNicknames, "tx">) {
|
|
690
657
|
this.report = args;
|
|
691
658
|
}
|
|
692
659
|
}
|
|
693
660
|
|
|
694
|
-
export class
|
|
695
|
-
static readonly reportId = "
|
|
696
|
-
readonly reportId = "
|
|
697
|
-
readonly report: Omit<
|
|
698
|
-
declare readonly $res: () =>
|
|
661
|
+
export class GetRoomMemberById {
|
|
662
|
+
static readonly reportId = "GetRoomMemberById" as const;
|
|
663
|
+
readonly reportId = "GetRoomMemberById" as const;
|
|
664
|
+
readonly report: Omit<_GetRoomMemberById, "tx">;
|
|
665
|
+
declare readonly $res: () => RoomMember | null;
|
|
699
666
|
|
|
700
|
-
constructor(args: Omit<
|
|
667
|
+
constructor(args: Omit<_GetRoomMemberById, "tx">) {
|
|
701
668
|
this.report = args;
|
|
702
669
|
}
|
|
703
670
|
}
|
|
704
671
|
|
|
705
|
-
export class
|
|
706
|
-
static readonly reportId = "
|
|
707
|
-
readonly reportId = "
|
|
708
|
-
readonly report: Omit<
|
|
709
|
-
declare readonly $res: () =>
|
|
672
|
+
export class CountRoomMembers {
|
|
673
|
+
static readonly reportId = "CountRoomMembers" as const;
|
|
674
|
+
readonly reportId = "CountRoomMembers" as const;
|
|
675
|
+
readonly report: Omit<_CountRoomMembers, "tx">;
|
|
676
|
+
declare readonly $res: () => RoomMemberCount;
|
|
710
677
|
|
|
711
|
-
constructor(args: Omit<
|
|
678
|
+
constructor(args: Omit<_CountRoomMembers, "tx">) {
|
|
712
679
|
this.report = args;
|
|
713
680
|
}
|
|
714
681
|
}
|
|
715
682
|
|
|
716
|
-
export class
|
|
717
|
-
static readonly reportId = "
|
|
718
|
-
readonly reportId = "
|
|
719
|
-
readonly report: Omit<
|
|
720
|
-
declare readonly $res: () =>
|
|
683
|
+
export class CountAllRoomMembers {
|
|
684
|
+
static readonly reportId = "CountAllRoomMembers" as const;
|
|
685
|
+
readonly reportId = "CountAllRoomMembers" as const;
|
|
686
|
+
readonly report: Omit<_CountAllRoomMembers, "tx">;
|
|
687
|
+
declare readonly $res: () => RoomMemberCount;
|
|
721
688
|
|
|
722
|
-
constructor(args: Omit<
|
|
689
|
+
constructor(args: Omit<_CountAllRoomMembers, "tx">) {
|
|
723
690
|
this.report = args;
|
|
724
691
|
}
|
|
725
692
|
}
|
|
726
693
|
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
readonly
|
|
731
|
-
readonly
|
|
732
|
-
declare readonly $res: () => DeleteSessionNicknameResult;
|
|
694
|
+
export class GetRoomById {
|
|
695
|
+
static readonly reportId = "GetRoomById" as const;
|
|
696
|
+
readonly reportId = "GetRoomById" as const;
|
|
697
|
+
readonly report: Omit<_GetRoomById, "tx">;
|
|
698
|
+
declare readonly $res: () => Room | null;
|
|
733
699
|
|
|
734
|
-
constructor(args: Omit<
|
|
735
|
-
this.
|
|
700
|
+
constructor(args: Omit<_GetRoomById, "tx">) {
|
|
701
|
+
this.report = args;
|
|
736
702
|
}
|
|
737
703
|
}
|
|
738
704
|
|
|
739
|
-
export class
|
|
740
|
-
static readonly
|
|
741
|
-
readonly
|
|
742
|
-
readonly
|
|
743
|
-
declare readonly $res: () =>
|
|
705
|
+
export class CountRooms {
|
|
706
|
+
static readonly reportId = "CountRooms" as const;
|
|
707
|
+
readonly reportId = "CountRooms" as const;
|
|
708
|
+
readonly report: Omit<_CountRooms, "tx">;
|
|
709
|
+
declare readonly $res: () => RoomCount;
|
|
744
710
|
|
|
745
|
-
constructor(args: Omit<
|
|
746
|
-
this.
|
|
711
|
+
constructor(args: Omit<_CountRooms, "tx">) {
|
|
712
|
+
this.report = args;
|
|
747
713
|
}
|
|
748
714
|
}
|
|
749
715
|
|
|
750
|
-
export class
|
|
751
|
-
static readonly
|
|
752
|
-
readonly
|
|
753
|
-
readonly
|
|
754
|
-
declare readonly $res: () =>
|
|
716
|
+
export class CountAllRooms {
|
|
717
|
+
static readonly reportId = "CountAllRooms" as const;
|
|
718
|
+
readonly reportId = "CountAllRooms" as const;
|
|
719
|
+
readonly report: Omit<_CountAllRooms, "tx">;
|
|
720
|
+
declare readonly $res: () => RoomCount;
|
|
755
721
|
|
|
756
|
-
constructor(args: Omit<
|
|
722
|
+
constructor(args: Omit<_CountAllRooms, "tx">) {
|
|
723
|
+
this.report = args;
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
|
|
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;
|
|
733
|
+
|
|
734
|
+
constructor(args: Omit<_BroadcastMessage, "tx" | "createdAt">) {
|
|
757
735
|
this.command = args;
|
|
758
736
|
}
|
|
759
737
|
}
|
|
760
738
|
|
|
761
|
-
export class
|
|
762
|
-
static readonly commandId = "
|
|
763
|
-
readonly commandId = "
|
|
764
|
-
readonly command: Omit<
|
|
765
|
-
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;
|
|
766
744
|
|
|
767
|
-
constructor(args: Omit<
|
|
745
|
+
constructor(args: Omit<_SendMessage, "tx" | "createdAt">) {
|
|
768
746
|
this.command = args;
|
|
769
747
|
}
|
|
770
748
|
}
|
|
771
749
|
|
|
772
|
-
export class
|
|
773
|
-
static readonly commandId = "
|
|
774
|
-
readonly commandId = "
|
|
775
|
-
readonly command: Omit<
|
|
776
|
-
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;
|
|
777
755
|
|
|
778
|
-
constructor(args: Omit<
|
|
756
|
+
constructor(args: Omit<_SetSessionLastToolAt, "tx" | "createdAt">) {
|
|
779
757
|
this.command = args;
|
|
780
758
|
}
|
|
781
759
|
}
|
|
782
760
|
|
|
783
|
-
export class
|
|
784
|
-
static readonly commandId = "
|
|
785
|
-
readonly commandId = "
|
|
786
|
-
readonly command: Omit<
|
|
787
|
-
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;
|
|
788
766
|
|
|
789
|
-
constructor(args: Omit<
|
|
767
|
+
constructor(args: Omit<_SetSessionLastTool, "tx" | "createdAt">) {
|
|
790
768
|
this.command = args;
|
|
791
769
|
}
|
|
792
770
|
}
|
|
793
771
|
|
|
794
|
-
export class
|
|
795
|
-
static readonly commandId = "
|
|
796
|
-
readonly commandId = "
|
|
797
|
-
readonly command: Omit<
|
|
798
|
-
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;
|
|
799
777
|
|
|
800
|
-
constructor(args: Omit<
|
|
778
|
+
constructor(args: Omit<_SetSessionLastActivityAt, "tx" | "createdAt">) {
|
|
801
779
|
this.command = args;
|
|
802
780
|
}
|
|
803
781
|
}
|
|
804
782
|
|
|
805
|
-
export class
|
|
806
|
-
static readonly commandId = "
|
|
807
|
-
readonly commandId = "
|
|
808
|
-
readonly command: Omit<
|
|
809
|
-
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;
|
|
810
788
|
|
|
811
|
-
constructor(args: Omit<
|
|
789
|
+
constructor(args: Omit<_SetSessionGitBranch, "tx" | "createdAt">) {
|
|
812
790
|
this.command = args;
|
|
813
791
|
}
|
|
814
792
|
}
|
|
815
793
|
|
|
816
|
-
export class
|
|
817
|
-
static readonly commandId = "
|
|
818
|
-
readonly commandId = "
|
|
819
|
-
readonly command: Omit<
|
|
820
|
-
declare readonly $res: () =>
|
|
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;
|
|
821
799
|
|
|
822
|
-
constructor(args: Omit<
|
|
800
|
+
constructor(args: Omit<_DeleteSessions, "tx" | "createdAt">) {
|
|
823
801
|
this.command = args;
|
|
824
802
|
}
|
|
825
803
|
}
|
|
826
804
|
|
|
827
|
-
export class
|
|
828
|
-
static readonly commandId = "
|
|
829
|
-
readonly commandId = "
|
|
830
|
-
readonly command: Omit<
|
|
831
|
-
declare readonly $res: () =>
|
|
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;
|
|
832
810
|
|
|
833
|
-
constructor(args: Omit<
|
|
811
|
+
constructor(args: Omit<_SetSessionActivity, "tx" | "createdAt">) {
|
|
834
812
|
this.command = args;
|
|
835
813
|
}
|
|
836
814
|
}
|
|
837
815
|
|
|
838
|
-
export class
|
|
839
|
-
static readonly commandId = "
|
|
840
|
-
readonly commandId = "
|
|
841
|
-
readonly command: Omit<
|
|
816
|
+
export class SetSessionSessionName {
|
|
817
|
+
static readonly commandId = "SetSessionSessionName" as const;
|
|
818
|
+
readonly commandId = "SetSessionSessionName" as const;
|
|
819
|
+
readonly command: Omit<_SetSessionSessionName, "tx" | "createdAt">;
|
|
842
820
|
declare readonly $res: () => void;
|
|
843
821
|
|
|
844
|
-
constructor(args: Omit<
|
|
822
|
+
constructor(args: Omit<_SetSessionSessionName, "tx" | "createdAt">) {
|
|
845
823
|
this.command = args;
|
|
846
824
|
}
|
|
847
825
|
}
|
|
848
826
|
|
|
849
|
-
export class
|
|
850
|
-
static readonly commandId = "
|
|
851
|
-
readonly commandId = "
|
|
852
|
-
readonly command: Omit<
|
|
827
|
+
export class SetSessionCurrentTask {
|
|
828
|
+
static readonly commandId = "SetSessionCurrentTask" as const;
|
|
829
|
+
readonly commandId = "SetSessionCurrentTask" as const;
|
|
830
|
+
readonly command: Omit<_SetSessionCurrentTask, "tx" | "createdAt">;
|
|
853
831
|
declare readonly $res: () => void;
|
|
854
832
|
|
|
855
|
-
constructor(args: Omit<
|
|
833
|
+
constructor(args: Omit<_SetSessionCurrentTask, "tx" | "createdAt">) {
|
|
856
834
|
this.command = args;
|
|
857
835
|
}
|
|
858
836
|
}
|
|
859
837
|
|
|
860
|
-
export class
|
|
861
|
-
static readonly commandId = "
|
|
862
|
-
readonly commandId = "
|
|
863
|
-
readonly command: Omit<
|
|
864
|
-
declare readonly $res: () =>
|
|
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;
|
|
865
843
|
|
|
866
|
-
constructor(args: Omit<
|
|
844
|
+
constructor(args: Omit<_DeleteSession, "tx" | "createdAt">) {
|
|
867
845
|
this.command = args;
|
|
868
846
|
}
|
|
869
847
|
}
|
|
@@ -879,6 +857,28 @@ export class ReadMessages {
|
|
|
879
857
|
}
|
|
880
858
|
}
|
|
881
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;
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
|
|
882
882
|
export class ImportSandboxRun {
|
|
883
883
|
static readonly commandId = "ImportSandboxRun" as const;
|
|
884
884
|
readonly commandId = "ImportSandboxRun" as const;
|
|
@@ -945,136 +945,136 @@ export class NotifyChannel {
|
|
|
945
945
|
}
|
|
946
946
|
}
|
|
947
947
|
|
|
948
|
-
export class
|
|
949
|
-
static readonly commandId = "
|
|
950
|
-
readonly commandId = "
|
|
951
|
-
readonly command: Omit<
|
|
952
|
-
declare readonly $res: () =>
|
|
948
|
+
export class DeleteSessionNickname {
|
|
949
|
+
static readonly commandId = "DeleteSessionNickname" as const;
|
|
950
|
+
readonly commandId = "DeleteSessionNickname" as const;
|
|
951
|
+
readonly command: Omit<_DeleteSessionNickname, "tx" | "createdAt">;
|
|
952
|
+
declare readonly $res: () => DeleteSessionNicknameResult;
|
|
953
953
|
|
|
954
|
-
constructor(args: Omit<
|
|
954
|
+
constructor(args: Omit<_DeleteSessionNickname, "tx" | "createdAt">) {
|
|
955
955
|
this.command = args;
|
|
956
956
|
}
|
|
957
957
|
}
|
|
958
958
|
|
|
959
|
-
export class
|
|
960
|
-
static readonly commandId = "
|
|
961
|
-
readonly commandId = "
|
|
962
|
-
readonly command: Omit<
|
|
963
|
-
declare readonly $res: () =>
|
|
959
|
+
export class DeleteSessionNicknames {
|
|
960
|
+
static readonly commandId = "DeleteSessionNicknames" as const;
|
|
961
|
+
readonly commandId = "DeleteSessionNicknames" as const;
|
|
962
|
+
readonly command: Omit<_DeleteSessionNicknames, "tx" | "createdAt">;
|
|
963
|
+
declare readonly $res: () => DeleteSessionNicknamesResult;
|
|
964
964
|
|
|
965
|
-
constructor(args: Omit<
|
|
965
|
+
constructor(args: Omit<_DeleteSessionNicknames, "tx" | "createdAt">) {
|
|
966
966
|
this.command = args;
|
|
967
967
|
}
|
|
968
968
|
}
|
|
969
969
|
|
|
970
|
-
export class
|
|
971
|
-
static readonly commandId = "
|
|
972
|
-
readonly commandId = "
|
|
973
|
-
readonly command: Omit<
|
|
974
|
-
declare readonly $res: () =>
|
|
970
|
+
export class AckMessages {
|
|
971
|
+
static readonly commandId = "AckMessages" as const;
|
|
972
|
+
readonly commandId = "AckMessages" as const;
|
|
973
|
+
readonly command: Omit<_AckMessages, "tx" | "createdAt">;
|
|
974
|
+
declare readonly $res: () => AckMessagesResult;
|
|
975
975
|
|
|
976
|
-
constructor(args: Omit<
|
|
976
|
+
constructor(args: Omit<_AckMessages, "tx" | "createdAt">) {
|
|
977
977
|
this.command = args;
|
|
978
978
|
}
|
|
979
979
|
}
|
|
980
980
|
|
|
981
|
-
export class
|
|
982
|
-
static readonly commandId = "
|
|
983
|
-
readonly commandId = "
|
|
984
|
-
readonly command: Omit<
|
|
985
|
-
declare readonly $res: () =>
|
|
981
|
+
export class DeleteRoomMember {
|
|
982
|
+
static readonly commandId = "DeleteRoomMember" as const;
|
|
983
|
+
readonly commandId = "DeleteRoomMember" as const;
|
|
984
|
+
readonly command: Omit<_DeleteRoomMember, "tx" | "createdAt">;
|
|
985
|
+
declare readonly $res: () => DeleteRoomMemberResult;
|
|
986
986
|
|
|
987
|
-
constructor(args: Omit<
|
|
987
|
+
constructor(args: Omit<_DeleteRoomMember, "tx" | "createdAt">) {
|
|
988
988
|
this.command = args;
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
991
|
|
|
992
|
-
export class
|
|
993
|
-
static readonly commandId = "
|
|
994
|
-
readonly commandId = "
|
|
995
|
-
readonly command: Omit<
|
|
996
|
-
declare readonly $res: () =>
|
|
992
|
+
export class DeleteRoomMembers {
|
|
993
|
+
static readonly commandId = "DeleteRoomMembers" as const;
|
|
994
|
+
readonly commandId = "DeleteRoomMembers" as const;
|
|
995
|
+
readonly command: Omit<_DeleteRoomMembers, "tx" | "createdAt">;
|
|
996
|
+
declare readonly $res: () => DeleteRoomMembersResult;
|
|
997
997
|
|
|
998
|
-
constructor(args: Omit<
|
|
998
|
+
constructor(args: Omit<_DeleteRoomMembers, "tx" | "createdAt">) {
|
|
999
999
|
this.command = args;
|
|
1000
1000
|
}
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
|
-
export class
|
|
1004
|
-
static readonly commandId = "
|
|
1005
|
-
readonly commandId = "
|
|
1006
|
-
readonly command: Omit<
|
|
1007
|
-
declare readonly $res: () =>
|
|
1003
|
+
export class LeaveRoom {
|
|
1004
|
+
static readonly commandId = "LeaveRoom" as const;
|
|
1005
|
+
readonly commandId = "LeaveRoom" as const;
|
|
1006
|
+
readonly command: Omit<_LeaveRoom, "tx" | "createdAt">;
|
|
1007
|
+
declare readonly $res: () => LeaveRoomResult;
|
|
1008
1008
|
|
|
1009
|
-
constructor(args: Omit<
|
|
1009
|
+
constructor(args: Omit<_LeaveRoom, "tx" | "createdAt">) {
|
|
1010
1010
|
this.command = args;
|
|
1011
1011
|
}
|
|
1012
1012
|
}
|
|
1013
1013
|
|
|
1014
|
-
export class
|
|
1015
|
-
static readonly commandId = "
|
|
1016
|
-
readonly commandId = "
|
|
1017
|
-
readonly command: Omit<
|
|
1018
|
-
declare readonly $res: () =>
|
|
1014
|
+
export class JoinRoom {
|
|
1015
|
+
static readonly commandId = "JoinRoom" as const;
|
|
1016
|
+
readonly commandId = "JoinRoom" as const;
|
|
1017
|
+
readonly command: Omit<_JoinRoom, "tx" | "createdAt">;
|
|
1018
|
+
declare readonly $res: () => JoinRoomResult;
|
|
1019
1019
|
|
|
1020
|
-
constructor(args: Omit<
|
|
1020
|
+
constructor(args: Omit<_JoinRoom, "tx" | "createdAt">) {
|
|
1021
1021
|
this.command = args;
|
|
1022
1022
|
}
|
|
1023
1023
|
}
|
|
1024
1024
|
|
|
1025
|
-
export class
|
|
1026
|
-
static readonly commandId = "
|
|
1027
|
-
readonly commandId = "
|
|
1028
|
-
readonly command: Omit<
|
|
1029
|
-
declare readonly $res: () =>
|
|
1025
|
+
export class DeleteRoom {
|
|
1026
|
+
static readonly commandId = "DeleteRoom" as const;
|
|
1027
|
+
readonly commandId = "DeleteRoom" as const;
|
|
1028
|
+
readonly command: Omit<_DeleteRoom, "tx" | "createdAt">;
|
|
1029
|
+
declare readonly $res: () => DeleteRoomResult;
|
|
1030
1030
|
|
|
1031
|
-
constructor(args: Omit<
|
|
1031
|
+
constructor(args: Omit<_DeleteRoom, "tx" | "createdAt">) {
|
|
1032
1032
|
this.command = args;
|
|
1033
1033
|
}
|
|
1034
1034
|
}
|
|
1035
1035
|
|
|
1036
|
-
export class
|
|
1037
|
-
static readonly commandId = "
|
|
1038
|
-
readonly commandId = "
|
|
1039
|
-
readonly command: Omit<
|
|
1040
|
-
declare readonly $res: () =>
|
|
1036
|
+
export class SetRoomDescription {
|
|
1037
|
+
static readonly commandId = "SetRoomDescription" as const;
|
|
1038
|
+
readonly commandId = "SetRoomDescription" as const;
|
|
1039
|
+
readonly command: Omit<_SetRoomDescription, "tx" | "createdAt">;
|
|
1040
|
+
declare readonly $res: () => void;
|
|
1041
1041
|
|
|
1042
|
-
constructor(args: Omit<
|
|
1042
|
+
constructor(args: Omit<_SetRoomDescription, "tx" | "createdAt">) {
|
|
1043
1043
|
this.command = args;
|
|
1044
1044
|
}
|
|
1045
1045
|
}
|
|
1046
1046
|
|
|
1047
|
-
export class
|
|
1048
|
-
static readonly commandId = "
|
|
1049
|
-
readonly commandId = "
|
|
1050
|
-
readonly command: Omit<
|
|
1051
|
-
declare readonly $res: () =>
|
|
1047
|
+
export class SetRoomName {
|
|
1048
|
+
static readonly commandId = "SetRoomName" as const;
|
|
1049
|
+
readonly commandId = "SetRoomName" as const;
|
|
1050
|
+
readonly command: Omit<_SetRoomName, "tx" | "createdAt">;
|
|
1051
|
+
declare readonly $res: () => void;
|
|
1052
1052
|
|
|
1053
|
-
constructor(args: Omit<
|
|
1053
|
+
constructor(args: Omit<_SetRoomName, "tx" | "createdAt">) {
|
|
1054
1054
|
this.command = args;
|
|
1055
1055
|
}
|
|
1056
1056
|
}
|
|
1057
1057
|
|
|
1058
|
-
export class
|
|
1059
|
-
static readonly commandId = "
|
|
1060
|
-
readonly commandId = "
|
|
1061
|
-
readonly command: Omit<
|
|
1062
|
-
declare readonly $res: () =>
|
|
1058
|
+
export class DeleteRooms {
|
|
1059
|
+
static readonly commandId = "DeleteRooms" as const;
|
|
1060
|
+
readonly commandId = "DeleteRooms" as const;
|
|
1061
|
+
readonly command: Omit<_DeleteRooms, "tx" | "createdAt">;
|
|
1062
|
+
declare readonly $res: () => DeleteRoomsResult;
|
|
1063
1063
|
|
|
1064
|
-
constructor(args: Omit<
|
|
1064
|
+
constructor(args: Omit<_DeleteRooms, "tx" | "createdAt">) {
|
|
1065
1065
|
this.command = args;
|
|
1066
1066
|
}
|
|
1067
1067
|
}
|
|
1068
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" }),
|
|
1073
|
+
SandboxRun: (args: SandboxRun) => ({ item: args, itemType: "SandboxRun" }),
|
|
1074
|
+
Message: (args: Message) => ({ item: args, itemType: "Message" }),
|
|
1071
1075
|
SessionNickname: (args: SessionNickname) => ({ item: args, itemType: "SessionNickname" }),
|
|
1072
1076
|
RoomMember: (args: RoomMember) => ({ item: args, itemType: "RoomMember" }),
|
|
1073
1077
|
Room: (args: Room) => ({ item: args, itemType: "Room" }),
|
|
1074
|
-
SandboxRun: (args: SandboxRun) => ({ item: args, itemType: "SandboxRun" }),
|
|
1075
|
-
Message: (args: Message) => ({ item: args, itemType: "Message" }),
|
|
1076
|
-
Session: (args: Session) => ({ item: args, itemType: "Session" }),
|
|
1077
|
-
MessageRead: (args: MessageRead) => ({ item: args, itemType: "MessageRead" }),
|
|
1078
1078
|
};
|
|
1079
1079
|
|
|
1080
1080
|
// Message events
|