@agent-marshal/marshal-prime-agent 0.56.0 → 0.57.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/CountAllWakeWatchers.ts +3 -0
- package/src/generated/CountWakeWatchers.ts +4 -0
- package/src/generated/DeleteWakeWatcher.ts +4 -0
- package/src/generated/DeleteWakeWatcherArgs.ts +4 -0
- package/src/generated/DeleteWakeWatcherResult.ts +3 -0
- package/src/generated/DeleteWakeWatchers.ts +4 -0
- package/src/generated/DeleteWakeWatchersArgs.ts +4 -0
- package/src/generated/DeleteWakeWatchersResult.ts +3 -0
- package/src/generated/GetAllWakeWatchers.ts +3 -0
- package/src/generated/GetWakeWatcherById.ts +4 -0
- package/src/generated/GetWakeWatchersByIds.ts +4 -0
- package/src/generated/GetWakeWatchersByQuery.ts +4 -0
- package/src/generated/WakeWatcher.ts +10 -0
- package/src/generated/WakeWatcherCount.ts +3 -0
- package/src/generated/WakeWatcherId.ts +3 -0
- package/src/generated/WakeWatcherQuery.ts +6 -0
- package/src/generated/index.ts +438 -323
package/package.json
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
import type { WakeWatcherId } from "./WakeWatcherId";
|
|
3
|
+
|
|
4
|
+
export type WakeWatcher = {
|
|
5
|
+
/**
|
|
6
|
+
* When this record stops counting, in ms since the epoch. A waiter that
|
|
7
|
+
* vanishes without the daemon noticing stops counting by itself. Records
|
|
8
|
+
* aren't persisted, because a wait doesn't outlive the daemon.
|
|
9
|
+
*/
|
|
10
|
+
until: bigint, id: WakeWatcherId, };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
2
|
+
import type { IdFilter } from "./IdFilter";
|
|
3
|
+
import type { NumericFilter } from "./NumericFilter";
|
|
4
|
+
import type { WakeWatcherId } from "./WakeWatcherId";
|
|
5
|
+
|
|
6
|
+
export type WakeWatcherQuery = { until?: NumericFilter<bigint> | null, id?: IdFilter<WakeWatcherId> | null, };
|
package/src/generated/index.ts
CHANGED
|
@@ -43,6 +43,10 @@ export type { DeleteSessionNicknamesResult } from "./DeleteSessionNicknamesResul
|
|
|
43
43
|
export type { DeleteSessionResult } from "./DeleteSessionResult";
|
|
44
44
|
export type { DeleteSessionsArgs } from "./DeleteSessionsArgs";
|
|
45
45
|
export type { DeleteSessionsResult } from "./DeleteSessionsResult";
|
|
46
|
+
export type { DeleteWakeWatcherArgs } from "./DeleteWakeWatcherArgs";
|
|
47
|
+
export type { DeleteWakeWatcherResult } from "./DeleteWakeWatcherResult";
|
|
48
|
+
export type { DeleteWakeWatchersArgs } from "./DeleteWakeWatchersArgs";
|
|
49
|
+
export type { DeleteWakeWatchersResult } from "./DeleteWakeWatchersResult";
|
|
46
50
|
export type { DeliveredRecipient } from "./DeliveredRecipient";
|
|
47
51
|
export type { FailedRecipient } from "./FailedRecipient";
|
|
48
52
|
export type { HostInfo } from "./HostInfo";
|
|
@@ -105,6 +109,10 @@ export type { SetSessionSessionNameArgs } from "./SetSessionSessionNameArgs";
|
|
|
105
109
|
export type { StringFilter } from "./StringFilter";
|
|
106
110
|
export type { Unfilterable } from "./Unfilterable";
|
|
107
111
|
export type { WakeStatus } from "./WakeStatus";
|
|
112
|
+
export type { WakeWatcher } from "./WakeWatcher";
|
|
113
|
+
export type { WakeWatcherCount } from "./WakeWatcherCount";
|
|
114
|
+
export type { WakeWatcherId } from "./WakeWatcherId";
|
|
115
|
+
export type { WakeWatcherQuery } from "./WakeWatcherQuery";
|
|
108
116
|
|
|
109
117
|
// Internal imports
|
|
110
118
|
import type { AckMessages as _AckMessages } from "./AckMessages";
|
|
@@ -118,6 +126,7 @@ import type { CountAllRooms as _CountAllRooms } from "./CountAllRooms";
|
|
|
118
126
|
import type { CountAllSandboxRuns as _CountAllSandboxRuns } from "./CountAllSandboxRuns";
|
|
119
127
|
import type { CountAllSessionNicknames as _CountAllSessionNicknames } from "./CountAllSessionNicknames";
|
|
120
128
|
import type { CountAllSessions as _CountAllSessions } from "./CountAllSessions";
|
|
129
|
+
import type { CountAllWakeWatchers as _CountAllWakeWatchers } from "./CountAllWakeWatchers";
|
|
121
130
|
import type { CountMessageReads as _CountMessageReads } from "./CountMessageReads";
|
|
122
131
|
import type { CountMessages as _CountMessages } from "./CountMessages";
|
|
123
132
|
import type { CountRoomMembers as _CountRoomMembers } from "./CountRoomMembers";
|
|
@@ -125,6 +134,7 @@ import type { CountRooms as _CountRooms } from "./CountRooms";
|
|
|
125
134
|
import type { CountSandboxRuns as _CountSandboxRuns } from "./CountSandboxRuns";
|
|
126
135
|
import type { CountSessionNicknames as _CountSessionNicknames } from "./CountSessionNicknames";
|
|
127
136
|
import type { CountSessions as _CountSessions } from "./CountSessions";
|
|
137
|
+
import type { CountWakeWatchers as _CountWakeWatchers } from "./CountWakeWatchers";
|
|
128
138
|
import type { DeleteMessage as _DeleteMessage } from "./DeleteMessage";
|
|
129
139
|
import type { DeleteMessageRead as _DeleteMessageRead } from "./DeleteMessageRead";
|
|
130
140
|
import type { DeleteMessageReadResult } from "./DeleteMessageReadResult";
|
|
@@ -153,6 +163,10 @@ import type { DeleteSessionNicknamesResult } from "./DeleteSessionNicknamesResul
|
|
|
153
163
|
import type { DeleteSessionResult } from "./DeleteSessionResult";
|
|
154
164
|
import type { DeleteSessions as _DeleteSessions } from "./DeleteSessions";
|
|
155
165
|
import type { DeleteSessionsResult } from "./DeleteSessionsResult";
|
|
166
|
+
import type { DeleteWakeWatcher as _DeleteWakeWatcher } from "./DeleteWakeWatcher";
|
|
167
|
+
import type { DeleteWakeWatcherResult } from "./DeleteWakeWatcherResult";
|
|
168
|
+
import type { DeleteWakeWatchers as _DeleteWakeWatchers } from "./DeleteWakeWatchers";
|
|
169
|
+
import type { DeleteWakeWatchersResult } from "./DeleteWakeWatchersResult";
|
|
156
170
|
import type { GetAllMessageReads as _GetAllMessageReads } from "./GetAllMessageReads";
|
|
157
171
|
import type { GetAllMessages as _GetAllMessages } from "./GetAllMessages";
|
|
158
172
|
import type { GetAllRoomMembers as _GetAllRoomMembers } from "./GetAllRoomMembers";
|
|
@@ -160,6 +174,7 @@ import type { GetAllRooms as _GetAllRooms } from "./GetAllRooms";
|
|
|
160
174
|
import type { GetAllSandboxRuns as _GetAllSandboxRuns } from "./GetAllSandboxRuns";
|
|
161
175
|
import type { GetAllSessionNicknames as _GetAllSessionNicknames } from "./GetAllSessionNicknames";
|
|
162
176
|
import type { GetAllSessions as _GetAllSessions } from "./GetAllSessions";
|
|
177
|
+
import type { GetAllWakeWatchers as _GetAllWakeWatchers } from "./GetAllWakeWatchers";
|
|
163
178
|
import type { GetMessageById as _GetMessageById } from "./GetMessageById";
|
|
164
179
|
import type { GetMessageReadById as _GetMessageReadById } from "./GetMessageReadById";
|
|
165
180
|
import type { GetMessageReadsByIds as _GetMessageReadsByIds } from "./GetMessageReadsByIds";
|
|
@@ -181,6 +196,9 @@ import type { GetSessionNicknamesByIds as _GetSessionNicknamesByIds } from "./Ge
|
|
|
181
196
|
import type { GetSessionNicknamesByQuery as _GetSessionNicknamesByQuery } from "./GetSessionNicknamesByQuery";
|
|
182
197
|
import type { GetSessionsByIds as _GetSessionsByIds } from "./GetSessionsByIds";
|
|
183
198
|
import type { GetSessionsByQuery as _GetSessionsByQuery } from "./GetSessionsByQuery";
|
|
199
|
+
import type { GetWakeWatcherById as _GetWakeWatcherById } from "./GetWakeWatcherById";
|
|
200
|
+
import type { GetWakeWatchersByIds as _GetWakeWatchersByIds } from "./GetWakeWatchersByIds";
|
|
201
|
+
import type { GetWakeWatchersByQuery as _GetWakeWatchersByQuery } from "./GetWakeWatchersByQuery";
|
|
184
202
|
import type { ImportSandboxRun as _ImportSandboxRun } from "./ImportSandboxRun";
|
|
185
203
|
import type { JoinRoom as _JoinRoom } from "./JoinRoom";
|
|
186
204
|
import type { JoinRoomResult } from "./JoinRoomResult";
|
|
@@ -215,6 +233,8 @@ import type { SetSessionLastActivityAt as _SetSessionLastActivityAt } from "./Se
|
|
|
215
233
|
import type { SetSessionLastTool as _SetSessionLastTool } from "./SetSessionLastTool";
|
|
216
234
|
import type { SetSessionLastToolAt as _SetSessionLastToolAt } from "./SetSessionLastToolAt";
|
|
217
235
|
import type { SetSessionSessionName as _SetSessionSessionName } from "./SetSessionSessionName";
|
|
236
|
+
import type { WakeWatcher } from "./WakeWatcher";
|
|
237
|
+
import type { WakeWatcherCount } from "./WakeWatcherCount";
|
|
218
238
|
|
|
219
239
|
// Query classes
|
|
220
240
|
export class GetSessionsByQuery {
|
|
@@ -256,123 +276,6 @@ export class GetAllSessions {
|
|
|
256
276
|
}
|
|
257
277
|
}
|
|
258
278
|
|
|
259
|
-
export class GetMessageReadsByQuery {
|
|
260
|
-
static readonly queryId = "GetMessageReadsByQuery" as const;
|
|
261
|
-
static readonly queryItemType = "MessageRead" as const;
|
|
262
|
-
readonly queryId = "GetMessageReadsByQuery" as const;
|
|
263
|
-
readonly queryItemType = "MessageRead" as const;
|
|
264
|
-
readonly query: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">;
|
|
265
|
-
declare readonly $res: () => MessageRead[];
|
|
266
|
-
|
|
267
|
-
constructor(args: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">) {
|
|
268
|
-
this.query = args;
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
export class GetMessageReadsByIds {
|
|
273
|
-
static readonly queryId = "GetMessageReadsByIds" as const;
|
|
274
|
-
static readonly queryItemType = "MessageRead" as const;
|
|
275
|
-
readonly queryId = "GetMessageReadsByIds" as const;
|
|
276
|
-
readonly queryItemType = "MessageRead" as const;
|
|
277
|
-
readonly query: Omit<_GetMessageReadsByIds, "tx" | "createdAt">;
|
|
278
|
-
declare readonly $res: () => MessageRead[];
|
|
279
|
-
|
|
280
|
-
constructor(args: Omit<_GetMessageReadsByIds, "tx" | "createdAt">) {
|
|
281
|
-
this.query = args;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
export class GetAllMessageReads {
|
|
286
|
-
static readonly queryId = "GetAllMessageReads" as const;
|
|
287
|
-
static readonly queryItemType = "MessageRead" as const;
|
|
288
|
-
readonly queryId = "GetAllMessageReads" as const;
|
|
289
|
-
readonly queryItemType = "MessageRead" as const;
|
|
290
|
-
readonly query: Omit<_GetAllMessageReads, "tx" | "createdAt">;
|
|
291
|
-
declare readonly $res: () => MessageRead[];
|
|
292
|
-
|
|
293
|
-
constructor(args: Omit<_GetAllMessageReads, "tx" | "createdAt">) {
|
|
294
|
-
this.query = args;
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
export class GetSandboxRunsByQuery {
|
|
299
|
-
static readonly queryId = "GetSandboxRunsByQuery" as const;
|
|
300
|
-
static readonly queryItemType = "SandboxRun" as const;
|
|
301
|
-
readonly queryId = "GetSandboxRunsByQuery" as const;
|
|
302
|
-
readonly queryItemType = "SandboxRun" as const;
|
|
303
|
-
readonly query: Omit<_GetSandboxRunsByQuery, "tx" | "createdAt">;
|
|
304
|
-
declare readonly $res: () => SandboxRun[];
|
|
305
|
-
|
|
306
|
-
constructor(args: Omit<_GetSandboxRunsByQuery, "tx" | "createdAt">) {
|
|
307
|
-
this.query = args;
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
export class GetSandboxRunsByIds {
|
|
312
|
-
static readonly queryId = "GetSandboxRunsByIds" as const;
|
|
313
|
-
static readonly queryItemType = "SandboxRun" as const;
|
|
314
|
-
readonly queryId = "GetSandboxRunsByIds" as const;
|
|
315
|
-
readonly queryItemType = "SandboxRun" as const;
|
|
316
|
-
readonly query: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">;
|
|
317
|
-
declare readonly $res: () => SandboxRun[];
|
|
318
|
-
|
|
319
|
-
constructor(args: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">) {
|
|
320
|
-
this.query = args;
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
export class GetAllSandboxRuns {
|
|
325
|
-
static readonly queryId = "GetAllSandboxRuns" as const;
|
|
326
|
-
static readonly queryItemType = "SandboxRun" as const;
|
|
327
|
-
readonly queryId = "GetAllSandboxRuns" as const;
|
|
328
|
-
readonly queryItemType = "SandboxRun" as const;
|
|
329
|
-
readonly query: Omit<_GetAllSandboxRuns, "tx" | "createdAt">;
|
|
330
|
-
declare readonly $res: () => SandboxRun[];
|
|
331
|
-
|
|
332
|
-
constructor(args: Omit<_GetAllSandboxRuns, "tx" | "createdAt">) {
|
|
333
|
-
this.query = args;
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
export class GetMessagesByQuery {
|
|
338
|
-
static readonly queryId = "GetMessagesByQuery" as const;
|
|
339
|
-
static readonly queryItemType = "Message" as const;
|
|
340
|
-
readonly queryId = "GetMessagesByQuery" as const;
|
|
341
|
-
readonly queryItemType = "Message" as const;
|
|
342
|
-
readonly query: Omit<_GetMessagesByQuery, "tx" | "createdAt">;
|
|
343
|
-
declare readonly $res: () => Message[];
|
|
344
|
-
|
|
345
|
-
constructor(args: Omit<_GetMessagesByQuery, "tx" | "createdAt">) {
|
|
346
|
-
this.query = args;
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
export class GetMessagesByIds {
|
|
351
|
-
static readonly queryId = "GetMessagesByIds" as const;
|
|
352
|
-
static readonly queryItemType = "Message" as const;
|
|
353
|
-
readonly queryId = "GetMessagesByIds" as const;
|
|
354
|
-
readonly queryItemType = "Message" as const;
|
|
355
|
-
readonly query: Omit<_GetMessagesByIds, "tx" | "createdAt">;
|
|
356
|
-
declare readonly $res: () => Message[];
|
|
357
|
-
|
|
358
|
-
constructor(args: Omit<_GetMessagesByIds, "tx" | "createdAt">) {
|
|
359
|
-
this.query = args;
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
export class GetAllMessages {
|
|
364
|
-
static readonly queryId = "GetAllMessages" as const;
|
|
365
|
-
static readonly queryItemType = "Message" as const;
|
|
366
|
-
readonly queryId = "GetAllMessages" as const;
|
|
367
|
-
readonly queryItemType = "Message" as const;
|
|
368
|
-
readonly query: Omit<_GetAllMessages, "tx" | "createdAt">;
|
|
369
|
-
declare readonly $res: () => Message[];
|
|
370
|
-
|
|
371
|
-
constructor(args: Omit<_GetAllMessages, "tx" | "createdAt">) {
|
|
372
|
-
this.query = args;
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
|
|
376
279
|
export class GetSessionNicknamesByQuery {
|
|
377
280
|
static readonly queryId = "GetSessionNicknamesByQuery" as const;
|
|
378
281
|
static readonly queryItemType = "SessionNickname" as const;
|
|
@@ -490,137 +393,194 @@ export class GetAllRooms {
|
|
|
490
393
|
}
|
|
491
394
|
}
|
|
492
395
|
|
|
493
|
-
|
|
396
|
+
export class GetWakeWatchersByQuery {
|
|
397
|
+
static readonly queryId = "GetWakeWatchersByQuery" as const;
|
|
398
|
+
static readonly queryItemType = "WakeWatcher" as const;
|
|
399
|
+
readonly queryId = "GetWakeWatchersByQuery" as const;
|
|
400
|
+
readonly queryItemType = "WakeWatcher" as const;
|
|
401
|
+
readonly query: Omit<_GetWakeWatchersByQuery, "tx" | "createdAt">;
|
|
402
|
+
declare readonly $res: () => WakeWatcher[];
|
|
494
403
|
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
readonly report: Omit<_GetSessionById, "tx">;
|
|
500
|
-
declare readonly $res: () => Session | null;
|
|
404
|
+
constructor(args: Omit<_GetWakeWatchersByQuery, "tx" | "createdAt">) {
|
|
405
|
+
this.query = args;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
501
408
|
|
|
502
|
-
|
|
503
|
-
|
|
409
|
+
export class GetWakeWatchersByIds {
|
|
410
|
+
static readonly queryId = "GetWakeWatchersByIds" as const;
|
|
411
|
+
static readonly queryItemType = "WakeWatcher" as const;
|
|
412
|
+
readonly queryId = "GetWakeWatchersByIds" as const;
|
|
413
|
+
readonly queryItemType = "WakeWatcher" as const;
|
|
414
|
+
readonly query: Omit<_GetWakeWatchersByIds, "tx" | "createdAt">;
|
|
415
|
+
declare readonly $res: () => WakeWatcher[];
|
|
416
|
+
|
|
417
|
+
constructor(args: Omit<_GetWakeWatchersByIds, "tx" | "createdAt">) {
|
|
418
|
+
this.query = args;
|
|
504
419
|
}
|
|
505
420
|
}
|
|
506
421
|
|
|
507
|
-
export class
|
|
508
|
-
static readonly
|
|
509
|
-
readonly
|
|
510
|
-
readonly
|
|
511
|
-
|
|
422
|
+
export class GetAllWakeWatchers {
|
|
423
|
+
static readonly queryId = "GetAllWakeWatchers" as const;
|
|
424
|
+
static readonly queryItemType = "WakeWatcher" as const;
|
|
425
|
+
readonly queryId = "GetAllWakeWatchers" as const;
|
|
426
|
+
readonly queryItemType = "WakeWatcher" as const;
|
|
427
|
+
readonly query: Omit<_GetAllWakeWatchers, "tx" | "createdAt">;
|
|
428
|
+
declare readonly $res: () => WakeWatcher[];
|
|
512
429
|
|
|
513
|
-
constructor(args: Omit<
|
|
514
|
-
this.
|
|
430
|
+
constructor(args: Omit<_GetAllWakeWatchers, "tx" | "createdAt">) {
|
|
431
|
+
this.query = args;
|
|
515
432
|
}
|
|
516
433
|
}
|
|
517
434
|
|
|
518
|
-
export class
|
|
519
|
-
static readonly
|
|
520
|
-
readonly
|
|
521
|
-
readonly
|
|
522
|
-
|
|
435
|
+
export class GetSandboxRunsByQuery {
|
|
436
|
+
static readonly queryId = "GetSandboxRunsByQuery" as const;
|
|
437
|
+
static readonly queryItemType = "SandboxRun" as const;
|
|
438
|
+
readonly queryId = "GetSandboxRunsByQuery" as const;
|
|
439
|
+
readonly queryItemType = "SandboxRun" as const;
|
|
440
|
+
readonly query: Omit<_GetSandboxRunsByQuery, "tx" | "createdAt">;
|
|
441
|
+
declare readonly $res: () => SandboxRun[];
|
|
523
442
|
|
|
524
|
-
constructor(args: Omit<
|
|
525
|
-
this.
|
|
443
|
+
constructor(args: Omit<_GetSandboxRunsByQuery, "tx" | "createdAt">) {
|
|
444
|
+
this.query = args;
|
|
526
445
|
}
|
|
527
446
|
}
|
|
528
447
|
|
|
529
|
-
export class
|
|
530
|
-
static readonly
|
|
531
|
-
readonly
|
|
532
|
-
readonly
|
|
533
|
-
|
|
448
|
+
export class GetSandboxRunsByIds {
|
|
449
|
+
static readonly queryId = "GetSandboxRunsByIds" as const;
|
|
450
|
+
static readonly queryItemType = "SandboxRun" as const;
|
|
451
|
+
readonly queryId = "GetSandboxRunsByIds" as const;
|
|
452
|
+
readonly queryItemType = "SandboxRun" as const;
|
|
453
|
+
readonly query: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">;
|
|
454
|
+
declare readonly $res: () => SandboxRun[];
|
|
534
455
|
|
|
535
|
-
constructor(args: Omit<
|
|
536
|
-
this.
|
|
456
|
+
constructor(args: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">) {
|
|
457
|
+
this.query = args;
|
|
537
458
|
}
|
|
538
459
|
}
|
|
539
460
|
|
|
540
|
-
export class
|
|
541
|
-
static readonly
|
|
542
|
-
readonly
|
|
543
|
-
readonly
|
|
544
|
-
|
|
461
|
+
export class GetAllSandboxRuns {
|
|
462
|
+
static readonly queryId = "GetAllSandboxRuns" as const;
|
|
463
|
+
static readonly queryItemType = "SandboxRun" as const;
|
|
464
|
+
readonly queryId = "GetAllSandboxRuns" as const;
|
|
465
|
+
readonly queryItemType = "SandboxRun" as const;
|
|
466
|
+
readonly query: Omit<_GetAllSandboxRuns, "tx" | "createdAt">;
|
|
467
|
+
declare readonly $res: () => SandboxRun[];
|
|
545
468
|
|
|
546
|
-
constructor(args: Omit<
|
|
547
|
-
this.
|
|
469
|
+
constructor(args: Omit<_GetAllSandboxRuns, "tx" | "createdAt">) {
|
|
470
|
+
this.query = args;
|
|
548
471
|
}
|
|
549
472
|
}
|
|
550
473
|
|
|
551
|
-
export class
|
|
552
|
-
static readonly
|
|
553
|
-
readonly
|
|
554
|
-
readonly
|
|
555
|
-
|
|
474
|
+
export class GetMessagesByQuery {
|
|
475
|
+
static readonly queryId = "GetMessagesByQuery" as const;
|
|
476
|
+
static readonly queryItemType = "Message" as const;
|
|
477
|
+
readonly queryId = "GetMessagesByQuery" as const;
|
|
478
|
+
readonly queryItemType = "Message" as const;
|
|
479
|
+
readonly query: Omit<_GetMessagesByQuery, "tx" | "createdAt">;
|
|
480
|
+
declare readonly $res: () => Message[];
|
|
556
481
|
|
|
557
|
-
constructor(args: Omit<
|
|
558
|
-
this.
|
|
482
|
+
constructor(args: Omit<_GetMessagesByQuery, "tx" | "createdAt">) {
|
|
483
|
+
this.query = args;
|
|
559
484
|
}
|
|
560
485
|
}
|
|
561
486
|
|
|
562
|
-
export class
|
|
563
|
-
static readonly
|
|
564
|
-
readonly
|
|
565
|
-
readonly
|
|
566
|
-
|
|
487
|
+
export class GetMessagesByIds {
|
|
488
|
+
static readonly queryId = "GetMessagesByIds" as const;
|
|
489
|
+
static readonly queryItemType = "Message" as const;
|
|
490
|
+
readonly queryId = "GetMessagesByIds" as const;
|
|
491
|
+
readonly queryItemType = "Message" as const;
|
|
492
|
+
readonly query: Omit<_GetMessagesByIds, "tx" | "createdAt">;
|
|
493
|
+
declare readonly $res: () => Message[];
|
|
567
494
|
|
|
568
|
-
constructor(args: Omit<
|
|
569
|
-
this.
|
|
495
|
+
constructor(args: Omit<_GetMessagesByIds, "tx" | "createdAt">) {
|
|
496
|
+
this.query = args;
|
|
570
497
|
}
|
|
571
498
|
}
|
|
572
499
|
|
|
573
|
-
export class
|
|
574
|
-
static readonly
|
|
575
|
-
readonly
|
|
576
|
-
readonly
|
|
577
|
-
|
|
500
|
+
export class GetAllMessages {
|
|
501
|
+
static readonly queryId = "GetAllMessages" as const;
|
|
502
|
+
static readonly queryItemType = "Message" as const;
|
|
503
|
+
readonly queryId = "GetAllMessages" as const;
|
|
504
|
+
readonly queryItemType = "Message" as const;
|
|
505
|
+
readonly query: Omit<_GetAllMessages, "tx" | "createdAt">;
|
|
506
|
+
declare readonly $res: () => Message[];
|
|
578
507
|
|
|
579
|
-
constructor(args: Omit<
|
|
580
|
-
this.
|
|
508
|
+
constructor(args: Omit<_GetAllMessages, "tx" | "createdAt">) {
|
|
509
|
+
this.query = args;
|
|
581
510
|
}
|
|
582
511
|
}
|
|
583
512
|
|
|
584
|
-
export class
|
|
585
|
-
static readonly
|
|
586
|
-
readonly
|
|
587
|
-
readonly
|
|
588
|
-
|
|
513
|
+
export class GetMessageReadsByQuery {
|
|
514
|
+
static readonly queryId = "GetMessageReadsByQuery" as const;
|
|
515
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
516
|
+
readonly queryId = "GetMessageReadsByQuery" as const;
|
|
517
|
+
readonly queryItemType = "MessageRead" as const;
|
|
518
|
+
readonly query: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">;
|
|
519
|
+
declare readonly $res: () => MessageRead[];
|
|
589
520
|
|
|
590
|
-
constructor(args: Omit<
|
|
591
|
-
this.
|
|
521
|
+
constructor(args: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">) {
|
|
522
|
+
this.query = args;
|
|
592
523
|
}
|
|
593
524
|
}
|
|
594
525
|
|
|
595
|
-
export class
|
|
596
|
-
static readonly
|
|
597
|
-
readonly
|
|
598
|
-
readonly
|
|
599
|
-
|
|
526
|
+
export class GetMessageReadsByIds {
|
|
527
|
+
static readonly queryId = "GetMessageReadsByIds" as const;
|
|
528
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
529
|
+
readonly queryId = "GetMessageReadsByIds" as const;
|
|
530
|
+
readonly queryItemType = "MessageRead" as const;
|
|
531
|
+
readonly query: Omit<_GetMessageReadsByIds, "tx" | "createdAt">;
|
|
532
|
+
declare readonly $res: () => MessageRead[];
|
|
600
533
|
|
|
601
|
-
constructor(args: Omit<
|
|
534
|
+
constructor(args: Omit<_GetMessageReadsByIds, "tx" | "createdAt">) {
|
|
535
|
+
this.query = args;
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
export class GetAllMessageReads {
|
|
540
|
+
static readonly queryId = "GetAllMessageReads" as const;
|
|
541
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
542
|
+
readonly queryId = "GetAllMessageReads" as const;
|
|
543
|
+
readonly queryItemType = "MessageRead" as const;
|
|
544
|
+
readonly query: Omit<_GetAllMessageReads, "tx" | "createdAt">;
|
|
545
|
+
declare readonly $res: () => MessageRead[];
|
|
546
|
+
|
|
547
|
+
constructor(args: Omit<_GetAllMessageReads, "tx" | "createdAt">) {
|
|
548
|
+
this.query = args;
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
// View classes
|
|
553
|
+
|
|
554
|
+
// Report classes
|
|
555
|
+
export class GetSessionById {
|
|
556
|
+
static readonly reportId = "GetSessionById" as const;
|
|
557
|
+
readonly reportId = "GetSessionById" as const;
|
|
558
|
+
readonly report: Omit<_GetSessionById, "tx">;
|
|
559
|
+
declare readonly $res: () => Session | null;
|
|
560
|
+
|
|
561
|
+
constructor(args: Omit<_GetSessionById, "tx">) {
|
|
602
562
|
this.report = args;
|
|
603
563
|
}
|
|
604
564
|
}
|
|
605
565
|
|
|
606
|
-
export class
|
|
607
|
-
static readonly reportId = "
|
|
608
|
-
readonly reportId = "
|
|
609
|
-
readonly report: Omit<
|
|
610
|
-
declare readonly $res: () =>
|
|
566
|
+
export class CountSessions {
|
|
567
|
+
static readonly reportId = "CountSessions" as const;
|
|
568
|
+
readonly reportId = "CountSessions" as const;
|
|
569
|
+
readonly report: Omit<_CountSessions, "tx">;
|
|
570
|
+
declare readonly $res: () => SessionCount;
|
|
611
571
|
|
|
612
|
-
constructor(args: Omit<
|
|
572
|
+
constructor(args: Omit<_CountSessions, "tx">) {
|
|
613
573
|
this.report = args;
|
|
614
574
|
}
|
|
615
575
|
}
|
|
616
576
|
|
|
617
|
-
export class
|
|
618
|
-
static readonly reportId = "
|
|
619
|
-
readonly reportId = "
|
|
620
|
-
readonly report: Omit<
|
|
621
|
-
declare readonly $res: () =>
|
|
577
|
+
export class CountAllSessions {
|
|
578
|
+
static readonly reportId = "CountAllSessions" as const;
|
|
579
|
+
readonly reportId = "CountAllSessions" as const;
|
|
580
|
+
readonly report: Omit<_CountAllSessions, "tx">;
|
|
581
|
+
declare readonly $res: () => SessionCount;
|
|
622
582
|
|
|
623
|
-
constructor(args: Omit<
|
|
583
|
+
constructor(args: Omit<_CountAllSessions, "tx">) {
|
|
624
584
|
this.report = args;
|
|
625
585
|
}
|
|
626
586
|
}
|
|
@@ -724,6 +684,138 @@ export class CountAllRooms {
|
|
|
724
684
|
}
|
|
725
685
|
}
|
|
726
686
|
|
|
687
|
+
export class GetWakeWatcherById {
|
|
688
|
+
static readonly reportId = "GetWakeWatcherById" as const;
|
|
689
|
+
readonly reportId = "GetWakeWatcherById" as const;
|
|
690
|
+
readonly report: Omit<_GetWakeWatcherById, "tx">;
|
|
691
|
+
declare readonly $res: () => WakeWatcher | null;
|
|
692
|
+
|
|
693
|
+
constructor(args: Omit<_GetWakeWatcherById, "tx">) {
|
|
694
|
+
this.report = args;
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
export class CountWakeWatchers {
|
|
699
|
+
static readonly reportId = "CountWakeWatchers" as const;
|
|
700
|
+
readonly reportId = "CountWakeWatchers" as const;
|
|
701
|
+
readonly report: Omit<_CountWakeWatchers, "tx">;
|
|
702
|
+
declare readonly $res: () => WakeWatcherCount;
|
|
703
|
+
|
|
704
|
+
constructor(args: Omit<_CountWakeWatchers, "tx">) {
|
|
705
|
+
this.report = args;
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
export class CountAllWakeWatchers {
|
|
710
|
+
static readonly reportId = "CountAllWakeWatchers" as const;
|
|
711
|
+
readonly reportId = "CountAllWakeWatchers" as const;
|
|
712
|
+
readonly report: Omit<_CountAllWakeWatchers, "tx">;
|
|
713
|
+
declare readonly $res: () => WakeWatcherCount;
|
|
714
|
+
|
|
715
|
+
constructor(args: Omit<_CountAllWakeWatchers, "tx">) {
|
|
716
|
+
this.report = args;
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
export class GetSandboxRunById {
|
|
721
|
+
static readonly reportId = "GetSandboxRunById" as const;
|
|
722
|
+
readonly reportId = "GetSandboxRunById" as const;
|
|
723
|
+
readonly report: Omit<_GetSandboxRunById, "tx">;
|
|
724
|
+
declare readonly $res: () => SandboxRun | null;
|
|
725
|
+
|
|
726
|
+
constructor(args: Omit<_GetSandboxRunById, "tx">) {
|
|
727
|
+
this.report = args;
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
export class CountSandboxRuns {
|
|
732
|
+
static readonly reportId = "CountSandboxRuns" as const;
|
|
733
|
+
readonly reportId = "CountSandboxRuns" as const;
|
|
734
|
+
readonly report: Omit<_CountSandboxRuns, "tx">;
|
|
735
|
+
declare readonly $res: () => SandboxRunCount;
|
|
736
|
+
|
|
737
|
+
constructor(args: Omit<_CountSandboxRuns, "tx">) {
|
|
738
|
+
this.report = args;
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
export class CountAllSandboxRuns {
|
|
743
|
+
static readonly reportId = "CountAllSandboxRuns" as const;
|
|
744
|
+
readonly reportId = "CountAllSandboxRuns" as const;
|
|
745
|
+
readonly report: Omit<_CountAllSandboxRuns, "tx">;
|
|
746
|
+
declare readonly $res: () => SandboxRunCount;
|
|
747
|
+
|
|
748
|
+
constructor(args: Omit<_CountAllSandboxRuns, "tx">) {
|
|
749
|
+
this.report = args;
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
export class GetMessageById {
|
|
754
|
+
static readonly reportId = "GetMessageById" as const;
|
|
755
|
+
readonly reportId = "GetMessageById" as const;
|
|
756
|
+
readonly report: Omit<_GetMessageById, "tx">;
|
|
757
|
+
declare readonly $res: () => Message | null;
|
|
758
|
+
|
|
759
|
+
constructor(args: Omit<_GetMessageById, "tx">) {
|
|
760
|
+
this.report = args;
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
export class CountMessages {
|
|
765
|
+
static readonly reportId = "CountMessages" as const;
|
|
766
|
+
readonly reportId = "CountMessages" as const;
|
|
767
|
+
readonly report: Omit<_CountMessages, "tx">;
|
|
768
|
+
declare readonly $res: () => MessageCount;
|
|
769
|
+
|
|
770
|
+
constructor(args: Omit<_CountMessages, "tx">) {
|
|
771
|
+
this.report = args;
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
export class CountAllMessages {
|
|
776
|
+
static readonly reportId = "CountAllMessages" as const;
|
|
777
|
+
readonly reportId = "CountAllMessages" as const;
|
|
778
|
+
readonly report: Omit<_CountAllMessages, "tx">;
|
|
779
|
+
declare readonly $res: () => MessageCount;
|
|
780
|
+
|
|
781
|
+
constructor(args: Omit<_CountAllMessages, "tx">) {
|
|
782
|
+
this.report = args;
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
export class GetMessageReadById {
|
|
787
|
+
static readonly reportId = "GetMessageReadById" as const;
|
|
788
|
+
readonly reportId = "GetMessageReadById" as const;
|
|
789
|
+
readonly report: Omit<_GetMessageReadById, "tx">;
|
|
790
|
+
declare readonly $res: () => MessageRead | null;
|
|
791
|
+
|
|
792
|
+
constructor(args: Omit<_GetMessageReadById, "tx">) {
|
|
793
|
+
this.report = args;
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
export class CountMessageReads {
|
|
798
|
+
static readonly reportId = "CountMessageReads" as const;
|
|
799
|
+
readonly reportId = "CountMessageReads" as const;
|
|
800
|
+
readonly report: Omit<_CountMessageReads, "tx">;
|
|
801
|
+
declare readonly $res: () => MessageReadCount;
|
|
802
|
+
|
|
803
|
+
constructor(args: Omit<_CountMessageReads, "tx">) {
|
|
804
|
+
this.report = args;
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
export class CountAllMessageReads {
|
|
809
|
+
static readonly reportId = "CountAllMessageReads" as const;
|
|
810
|
+
readonly reportId = "CountAllMessageReads" as const;
|
|
811
|
+
readonly report: Omit<_CountAllMessageReads, "tx">;
|
|
812
|
+
declare readonly $res: () => MessageReadCount;
|
|
813
|
+
|
|
814
|
+
constructor(args: Omit<_CountAllMessageReads, "tx">) {
|
|
815
|
+
this.report = args;
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
|
|
727
819
|
// Command classes
|
|
728
820
|
export class BroadcastMessage {
|
|
729
821
|
static readonly commandId = "BroadcastMessage" as const;
|
|
@@ -736,6 +828,17 @@ export class BroadcastMessage {
|
|
|
736
828
|
}
|
|
737
829
|
}
|
|
738
830
|
|
|
831
|
+
export class ReadMessages {
|
|
832
|
+
static readonly commandId = "ReadMessages" as const;
|
|
833
|
+
readonly commandId = "ReadMessages" as const;
|
|
834
|
+
readonly command: Omit<_ReadMessages, "tx" | "createdAt">;
|
|
835
|
+
declare readonly $res: () => ReadMessagesResult;
|
|
836
|
+
|
|
837
|
+
constructor(args: Omit<_ReadMessages, "tx" | "createdAt">) {
|
|
838
|
+
this.command = args;
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
|
|
739
842
|
export class SendMessage {
|
|
740
843
|
static readonly commandId = "SendMessage" as const;
|
|
741
844
|
readonly commandId = "SendMessage" as const;
|
|
@@ -846,222 +949,233 @@ export class DeleteSession {
|
|
|
846
949
|
}
|
|
847
950
|
}
|
|
848
951
|
|
|
849
|
-
export class
|
|
850
|
-
static readonly commandId = "
|
|
851
|
-
readonly commandId = "
|
|
852
|
-
readonly command: Omit<
|
|
853
|
-
declare readonly $res: () =>
|
|
952
|
+
export class DeleteSessionNickname {
|
|
953
|
+
static readonly commandId = "DeleteSessionNickname" as const;
|
|
954
|
+
readonly commandId = "DeleteSessionNickname" as const;
|
|
955
|
+
readonly command: Omit<_DeleteSessionNickname, "tx" | "createdAt">;
|
|
956
|
+
declare readonly $res: () => DeleteSessionNicknameResult;
|
|
854
957
|
|
|
855
|
-
constructor(args: Omit<
|
|
958
|
+
constructor(args: Omit<_DeleteSessionNickname, "tx" | "createdAt">) {
|
|
856
959
|
this.command = args;
|
|
857
960
|
}
|
|
858
961
|
}
|
|
859
962
|
|
|
860
|
-
export class
|
|
861
|
-
static readonly commandId = "
|
|
862
|
-
readonly commandId = "
|
|
863
|
-
readonly command: Omit<
|
|
864
|
-
declare readonly $res: () =>
|
|
963
|
+
export class DeleteSessionNicknames {
|
|
964
|
+
static readonly commandId = "DeleteSessionNicknames" as const;
|
|
965
|
+
readonly commandId = "DeleteSessionNicknames" as const;
|
|
966
|
+
readonly command: Omit<_DeleteSessionNicknames, "tx" | "createdAt">;
|
|
967
|
+
declare readonly $res: () => DeleteSessionNicknamesResult;
|
|
865
968
|
|
|
866
|
-
constructor(args: Omit<
|
|
969
|
+
constructor(args: Omit<_DeleteSessionNicknames, "tx" | "createdAt">) {
|
|
867
970
|
this.command = args;
|
|
868
971
|
}
|
|
869
972
|
}
|
|
870
973
|
|
|
871
|
-
export class
|
|
872
|
-
static readonly commandId = "
|
|
873
|
-
readonly commandId = "
|
|
874
|
-
readonly command: Omit<
|
|
875
|
-
declare readonly $res: () =>
|
|
974
|
+
export class DeleteRoomMember {
|
|
975
|
+
static readonly commandId = "DeleteRoomMember" as const;
|
|
976
|
+
readonly commandId = "DeleteRoomMember" as const;
|
|
977
|
+
readonly command: Omit<_DeleteRoomMember, "tx" | "createdAt">;
|
|
978
|
+
declare readonly $res: () => DeleteRoomMemberResult;
|
|
876
979
|
|
|
877
|
-
constructor(args: Omit<
|
|
980
|
+
constructor(args: Omit<_DeleteRoomMember, "tx" | "createdAt">) {
|
|
878
981
|
this.command = args;
|
|
879
982
|
}
|
|
880
983
|
}
|
|
881
984
|
|
|
882
|
-
export class
|
|
883
|
-
static readonly commandId = "
|
|
884
|
-
readonly commandId = "
|
|
885
|
-
readonly command: Omit<
|
|
886
|
-
declare readonly $res: () =>
|
|
985
|
+
export class DeleteRoomMembers {
|
|
986
|
+
static readonly commandId = "DeleteRoomMembers" as const;
|
|
987
|
+
readonly commandId = "DeleteRoomMembers" as const;
|
|
988
|
+
readonly command: Omit<_DeleteRoomMembers, "tx" | "createdAt">;
|
|
989
|
+
declare readonly $res: () => DeleteRoomMembersResult;
|
|
887
990
|
|
|
888
|
-
constructor(args: Omit<
|
|
991
|
+
constructor(args: Omit<_DeleteRoomMembers, "tx" | "createdAt">) {
|
|
889
992
|
this.command = args;
|
|
890
993
|
}
|
|
891
994
|
}
|
|
892
995
|
|
|
893
|
-
export class
|
|
894
|
-
static readonly commandId = "
|
|
895
|
-
readonly commandId = "
|
|
896
|
-
readonly command: Omit<
|
|
897
|
-
declare readonly $res: () =>
|
|
996
|
+
export class DeleteRoom {
|
|
997
|
+
static readonly commandId = "DeleteRoom" as const;
|
|
998
|
+
readonly commandId = "DeleteRoom" as const;
|
|
999
|
+
readonly command: Omit<_DeleteRoom, "tx" | "createdAt">;
|
|
1000
|
+
declare readonly $res: () => DeleteRoomResult;
|
|
898
1001
|
|
|
899
|
-
constructor(args: Omit<
|
|
1002
|
+
constructor(args: Omit<_DeleteRoom, "tx" | "createdAt">) {
|
|
900
1003
|
this.command = args;
|
|
901
1004
|
}
|
|
902
1005
|
}
|
|
903
1006
|
|
|
904
|
-
export class
|
|
905
|
-
static readonly commandId = "
|
|
906
|
-
readonly commandId = "
|
|
907
|
-
readonly command: Omit<
|
|
908
|
-
declare readonly $res: () =>
|
|
1007
|
+
export class SetRoomDescription {
|
|
1008
|
+
static readonly commandId = "SetRoomDescription" as const;
|
|
1009
|
+
readonly commandId = "SetRoomDescription" as const;
|
|
1010
|
+
readonly command: Omit<_SetRoomDescription, "tx" | "createdAt">;
|
|
1011
|
+
declare readonly $res: () => void;
|
|
909
1012
|
|
|
910
|
-
constructor(args: Omit<
|
|
1013
|
+
constructor(args: Omit<_SetRoomDescription, "tx" | "createdAt">) {
|
|
911
1014
|
this.command = args;
|
|
912
1015
|
}
|
|
913
1016
|
}
|
|
914
1017
|
|
|
915
|
-
export class
|
|
916
|
-
static readonly commandId = "
|
|
917
|
-
readonly commandId = "
|
|
918
|
-
readonly command: Omit<
|
|
919
|
-
declare readonly $res: () =>
|
|
1018
|
+
export class SetRoomName {
|
|
1019
|
+
static readonly commandId = "SetRoomName" as const;
|
|
1020
|
+
readonly commandId = "SetRoomName" as const;
|
|
1021
|
+
readonly command: Omit<_SetRoomName, "tx" | "createdAt">;
|
|
1022
|
+
declare readonly $res: () => void;
|
|
920
1023
|
|
|
921
|
-
constructor(args: Omit<
|
|
1024
|
+
constructor(args: Omit<_SetRoomName, "tx" | "createdAt">) {
|
|
922
1025
|
this.command = args;
|
|
923
1026
|
}
|
|
924
1027
|
}
|
|
925
1028
|
|
|
926
|
-
export class
|
|
927
|
-
static readonly commandId = "
|
|
928
|
-
readonly commandId = "
|
|
929
|
-
readonly command: Omit<
|
|
930
|
-
declare readonly $res: () =>
|
|
1029
|
+
export class DeleteRooms {
|
|
1030
|
+
static readonly commandId = "DeleteRooms" as const;
|
|
1031
|
+
readonly commandId = "DeleteRooms" as const;
|
|
1032
|
+
readonly command: Omit<_DeleteRooms, "tx" | "createdAt">;
|
|
1033
|
+
declare readonly $res: () => DeleteRoomsResult;
|
|
931
1034
|
|
|
932
|
-
constructor(args: Omit<
|
|
1035
|
+
constructor(args: Omit<_DeleteRooms, "tx" | "createdAt">) {
|
|
933
1036
|
this.command = args;
|
|
934
1037
|
}
|
|
935
1038
|
}
|
|
936
1039
|
|
|
937
|
-
export class
|
|
938
|
-
static readonly commandId = "
|
|
939
|
-
readonly commandId = "
|
|
940
|
-
readonly command: Omit<
|
|
941
|
-
declare readonly $res: () =>
|
|
1040
|
+
export class DeleteWakeWatcher {
|
|
1041
|
+
static readonly commandId = "DeleteWakeWatcher" as const;
|
|
1042
|
+
readonly commandId = "DeleteWakeWatcher" as const;
|
|
1043
|
+
readonly command: Omit<_DeleteWakeWatcher, "tx" | "createdAt">;
|
|
1044
|
+
declare readonly $res: () => DeleteWakeWatcherResult;
|
|
942
1045
|
|
|
943
|
-
constructor(args: Omit<
|
|
1046
|
+
constructor(args: Omit<_DeleteWakeWatcher, "tx" | "createdAt">) {
|
|
944
1047
|
this.command = args;
|
|
945
1048
|
}
|
|
946
1049
|
}
|
|
947
1050
|
|
|
948
|
-
export class
|
|
949
|
-
static readonly commandId = "
|
|
950
|
-
readonly commandId = "
|
|
951
|
-
readonly command: Omit<
|
|
952
|
-
declare readonly $res: () =>
|
|
1051
|
+
export class DeleteWakeWatchers {
|
|
1052
|
+
static readonly commandId = "DeleteWakeWatchers" as const;
|
|
1053
|
+
readonly commandId = "DeleteWakeWatchers" as const;
|
|
1054
|
+
readonly command: Omit<_DeleteWakeWatchers, "tx" | "createdAt">;
|
|
1055
|
+
declare readonly $res: () => DeleteWakeWatchersResult;
|
|
953
1056
|
|
|
954
|
-
constructor(args: Omit<
|
|
1057
|
+
constructor(args: Omit<_DeleteWakeWatchers, "tx" | "createdAt">) {
|
|
955
1058
|
this.command = args;
|
|
956
1059
|
}
|
|
957
1060
|
}
|
|
958
1061
|
|
|
959
|
-
export class
|
|
960
|
-
static readonly commandId = "
|
|
961
|
-
readonly commandId = "
|
|
962
|
-
readonly command: Omit<
|
|
963
|
-
declare readonly $res: () =>
|
|
1062
|
+
export class LeaveRoom {
|
|
1063
|
+
static readonly commandId = "LeaveRoom" as const;
|
|
1064
|
+
readonly commandId = "LeaveRoom" as const;
|
|
1065
|
+
readonly command: Omit<_LeaveRoom, "tx" | "createdAt">;
|
|
1066
|
+
declare readonly $res: () => LeaveRoomResult;
|
|
964
1067
|
|
|
965
|
-
constructor(args: Omit<
|
|
1068
|
+
constructor(args: Omit<_LeaveRoom, "tx" | "createdAt">) {
|
|
966
1069
|
this.command = args;
|
|
967
1070
|
}
|
|
968
1071
|
}
|
|
969
1072
|
|
|
970
|
-
export class
|
|
971
|
-
static readonly commandId = "
|
|
972
|
-
readonly commandId = "
|
|
973
|
-
readonly command: Omit<
|
|
974
|
-
declare readonly $res: () =>
|
|
1073
|
+
export class JoinRoom {
|
|
1074
|
+
static readonly commandId = "JoinRoom" as const;
|
|
1075
|
+
readonly commandId = "JoinRoom" as const;
|
|
1076
|
+
readonly command: Omit<_JoinRoom, "tx" | "createdAt">;
|
|
1077
|
+
declare readonly $res: () => JoinRoomResult;
|
|
975
1078
|
|
|
976
|
-
constructor(args: Omit<
|
|
1079
|
+
constructor(args: Omit<_JoinRoom, "tx" | "createdAt">) {
|
|
977
1080
|
this.command = args;
|
|
978
1081
|
}
|
|
979
1082
|
}
|
|
980
1083
|
|
|
981
|
-
export class
|
|
982
|
-
static readonly commandId = "
|
|
983
|
-
readonly commandId = "
|
|
984
|
-
readonly command: Omit<
|
|
985
|
-
declare readonly $res: () =>
|
|
1084
|
+
export class ImportSandboxRun {
|
|
1085
|
+
static readonly commandId = "ImportSandboxRun" as const;
|
|
1086
|
+
readonly commandId = "ImportSandboxRun" as const;
|
|
1087
|
+
readonly command: Omit<_ImportSandboxRun, "tx" | "createdAt">;
|
|
1088
|
+
declare readonly $res: () => SandboxRunId;
|
|
986
1089
|
|
|
987
|
-
constructor(args: Omit<
|
|
1090
|
+
constructor(args: Omit<_ImportSandboxRun, "tx" | "createdAt">) {
|
|
988
1091
|
this.command = args;
|
|
989
1092
|
}
|
|
990
1093
|
}
|
|
991
1094
|
|
|
992
|
-
export class
|
|
993
|
-
static readonly commandId = "
|
|
994
|
-
readonly commandId = "
|
|
995
|
-
readonly command: Omit<
|
|
996
|
-
declare readonly $res: () =>
|
|
1095
|
+
export class DeleteSandboxRuns {
|
|
1096
|
+
static readonly commandId = "DeleteSandboxRuns" as const;
|
|
1097
|
+
readonly commandId = "DeleteSandboxRuns" as const;
|
|
1098
|
+
readonly command: Omit<_DeleteSandboxRuns, "tx" | "createdAt">;
|
|
1099
|
+
declare readonly $res: () => DeleteSandboxRunsResult;
|
|
997
1100
|
|
|
998
|
-
constructor(args: Omit<
|
|
1101
|
+
constructor(args: Omit<_DeleteSandboxRuns, "tx" | "createdAt">) {
|
|
999
1102
|
this.command = args;
|
|
1000
1103
|
}
|
|
1001
1104
|
}
|
|
1002
1105
|
|
|
1003
|
-
export class
|
|
1004
|
-
static readonly commandId = "
|
|
1005
|
-
readonly commandId = "
|
|
1006
|
-
readonly command: Omit<
|
|
1007
|
-
declare readonly $res: () =>
|
|
1106
|
+
export class DeleteSandboxRun {
|
|
1107
|
+
static readonly commandId = "DeleteSandboxRun" as const;
|
|
1108
|
+
readonly commandId = "DeleteSandboxRun" as const;
|
|
1109
|
+
readonly command: Omit<_DeleteSandboxRun, "tx" | "createdAt">;
|
|
1110
|
+
declare readonly $res: () => DeleteSandboxRunResult;
|
|
1008
1111
|
|
|
1009
|
-
constructor(args: Omit<
|
|
1112
|
+
constructor(args: Omit<_DeleteSandboxRun, "tx" | "createdAt">) {
|
|
1010
1113
|
this.command = args;
|
|
1011
1114
|
}
|
|
1012
1115
|
}
|
|
1013
1116
|
|
|
1014
|
-
export class
|
|
1015
|
-
static readonly commandId = "
|
|
1016
|
-
readonly commandId = "
|
|
1017
|
-
readonly command: Omit<
|
|
1018
|
-
declare readonly $res: () =>
|
|
1117
|
+
export class NotifyChannel {
|
|
1118
|
+
static readonly commandId = "NotifyChannel" as const;
|
|
1119
|
+
readonly commandId = "NotifyChannel" as const;
|
|
1120
|
+
readonly command: Omit<_NotifyChannel, "tx" | "createdAt">;
|
|
1121
|
+
declare readonly $res: () => void;
|
|
1019
1122
|
|
|
1020
|
-
constructor(args: Omit<
|
|
1123
|
+
constructor(args: Omit<_NotifyChannel, "tx" | "createdAt">) {
|
|
1021
1124
|
this.command = args;
|
|
1022
1125
|
}
|
|
1023
1126
|
}
|
|
1024
1127
|
|
|
1025
|
-
export class
|
|
1026
|
-
static readonly commandId = "
|
|
1027
|
-
readonly commandId = "
|
|
1028
|
-
readonly command: Omit<
|
|
1029
|
-
declare readonly $res: () =>
|
|
1128
|
+
export class DeleteMessage {
|
|
1129
|
+
static readonly commandId = "DeleteMessage" as const;
|
|
1130
|
+
readonly commandId = "DeleteMessage" as const;
|
|
1131
|
+
readonly command: Omit<_DeleteMessage, "tx" | "createdAt">;
|
|
1132
|
+
declare readonly $res: () => DeleteMessageResult;
|
|
1030
1133
|
|
|
1031
|
-
constructor(args: Omit<
|
|
1134
|
+
constructor(args: Omit<_DeleteMessage, "tx" | "createdAt">) {
|
|
1032
1135
|
this.command = args;
|
|
1033
1136
|
}
|
|
1034
1137
|
}
|
|
1035
1138
|
|
|
1036
|
-
export class
|
|
1037
|
-
static readonly commandId = "
|
|
1038
|
-
readonly commandId = "
|
|
1039
|
-
readonly command: Omit<
|
|
1040
|
-
declare readonly $res: () =>
|
|
1139
|
+
export class DeleteMessages {
|
|
1140
|
+
static readonly commandId = "DeleteMessages" as const;
|
|
1141
|
+
readonly commandId = "DeleteMessages" as const;
|
|
1142
|
+
readonly command: Omit<_DeleteMessages, "tx" | "createdAt">;
|
|
1143
|
+
declare readonly $res: () => DeleteMessagesResult;
|
|
1041
1144
|
|
|
1042
|
-
constructor(args: Omit<
|
|
1145
|
+
constructor(args: Omit<_DeleteMessages, "tx" | "createdAt">) {
|
|
1043
1146
|
this.command = args;
|
|
1044
1147
|
}
|
|
1045
1148
|
}
|
|
1046
1149
|
|
|
1047
|
-
export class
|
|
1048
|
-
static readonly commandId = "
|
|
1049
|
-
readonly commandId = "
|
|
1050
|
-
readonly command: Omit<
|
|
1051
|
-
declare readonly $res: () =>
|
|
1150
|
+
export class DeleteMessageRead {
|
|
1151
|
+
static readonly commandId = "DeleteMessageRead" as const;
|
|
1152
|
+
readonly commandId = "DeleteMessageRead" as const;
|
|
1153
|
+
readonly command: Omit<_DeleteMessageRead, "tx" | "createdAt">;
|
|
1154
|
+
declare readonly $res: () => DeleteMessageReadResult;
|
|
1052
1155
|
|
|
1053
|
-
constructor(args: Omit<
|
|
1156
|
+
constructor(args: Omit<_DeleteMessageRead, "tx" | "createdAt">) {
|
|
1054
1157
|
this.command = args;
|
|
1055
1158
|
}
|
|
1056
1159
|
}
|
|
1057
1160
|
|
|
1058
|
-
export class
|
|
1059
|
-
static readonly commandId = "
|
|
1060
|
-
readonly commandId = "
|
|
1061
|
-
readonly command: Omit<
|
|
1062
|
-
declare readonly $res: () =>
|
|
1161
|
+
export class DeleteMessageReads {
|
|
1162
|
+
static readonly commandId = "DeleteMessageReads" as const;
|
|
1163
|
+
readonly commandId = "DeleteMessageReads" as const;
|
|
1164
|
+
readonly command: Omit<_DeleteMessageReads, "tx" | "createdAt">;
|
|
1165
|
+
declare readonly $res: () => DeleteMessageReadsResult;
|
|
1063
1166
|
|
|
1064
|
-
constructor(args: Omit<
|
|
1167
|
+
constructor(args: Omit<_DeleteMessageReads, "tx" | "createdAt">) {
|
|
1168
|
+
this.command = args;
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
export class AckMessages {
|
|
1173
|
+
static readonly commandId = "AckMessages" as const;
|
|
1174
|
+
readonly commandId = "AckMessages" as const;
|
|
1175
|
+
readonly command: Omit<_AckMessages, "tx" | "createdAt">;
|
|
1176
|
+
declare readonly $res: () => AckMessagesResult;
|
|
1177
|
+
|
|
1178
|
+
constructor(args: Omit<_AckMessages, "tx" | "createdAt">) {
|
|
1065
1179
|
this.command = args;
|
|
1066
1180
|
}
|
|
1067
1181
|
}
|
|
@@ -1069,12 +1183,13 @@ export class DeleteRooms {
|
|
|
1069
1183
|
// Item constructors
|
|
1070
1184
|
export const items = {
|
|
1071
1185
|
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" }),
|
|
1075
1186
|
SessionNickname: (args: SessionNickname) => ({ item: args, itemType: "SessionNickname" }),
|
|
1076
1187
|
RoomMember: (args: RoomMember) => ({ item: args, itemType: "RoomMember" }),
|
|
1077
1188
|
Room: (args: Room) => ({ item: args, itemType: "Room" }),
|
|
1189
|
+
WakeWatcher: (args: WakeWatcher) => ({ item: args, itemType: "WakeWatcher" }),
|
|
1190
|
+
SandboxRun: (args: SandboxRun) => ({ item: args, itemType: "SandboxRun" }),
|
|
1191
|
+
Message: (args: Message) => ({ item: args, itemType: "Message" }),
|
|
1192
|
+
MessageRead: (args: MessageRead) => ({ item: args, itemType: "MessageRead" }),
|
|
1078
1193
|
};
|
|
1079
1194
|
|
|
1080
1195
|
// Message events
|