@agent-marshal/marshal-prime-agent 0.55.2 → 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 +430 -315
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,82 +233,45 @@ 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
|
-
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<_GetSandboxRunsByQuery, "tx" | "createdAt">) {
|
|
229
|
-
this.query = args;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
export class GetSandboxRunsByIds {
|
|
234
|
-
static readonly queryId = "GetSandboxRunsByIds" as const;
|
|
235
|
-
static readonly queryItemType = "SandboxRun" as const;
|
|
236
|
-
readonly queryId = "GetSandboxRunsByIds" as const;
|
|
237
|
-
readonly queryItemType = "SandboxRun" as const;
|
|
238
|
-
readonly query: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">;
|
|
239
|
-
declare readonly $res: () => SandboxRun[];
|
|
240
|
-
|
|
241
|
-
constructor(args: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">) {
|
|
242
|
-
this.query = args;
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
export class GetAllSandboxRuns {
|
|
247
|
-
static readonly queryId = "GetAllSandboxRuns" as const;
|
|
248
|
-
static readonly queryItemType = "SandboxRun" as const;
|
|
249
|
-
readonly queryId = "GetAllSandboxRuns" as const;
|
|
250
|
-
readonly queryItemType = "SandboxRun" as const;
|
|
251
|
-
readonly query: Omit<_GetAllSandboxRuns, "tx" | "createdAt">;
|
|
252
|
-
declare readonly $res: () => SandboxRun[];
|
|
253
|
-
|
|
254
|
-
constructor(args: Omit<_GetAllSandboxRuns, "tx" | "createdAt">) {
|
|
255
|
-
this.query = args;
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
export class GetMessagesByQuery {
|
|
260
|
-
static readonly queryId = "GetMessagesByQuery" as const;
|
|
261
|
-
static readonly queryItemType = "Message" as const;
|
|
262
|
-
readonly queryId = "GetMessagesByQuery" as const;
|
|
263
|
-
readonly queryItemType = "Message" as const;
|
|
264
|
-
readonly query: Omit<_GetMessagesByQuery, "tx" | "createdAt">;
|
|
265
|
-
declare readonly $res: () => Message[];
|
|
240
|
+
export class GetSessionsByQuery {
|
|
241
|
+
static readonly queryId = "GetSessionsByQuery" as const;
|
|
242
|
+
static readonly queryItemType = "Session" as const;
|
|
243
|
+
readonly queryId = "GetSessionsByQuery" as const;
|
|
244
|
+
readonly queryItemType = "Session" as const;
|
|
245
|
+
readonly query: Omit<_GetSessionsByQuery, "tx" | "createdAt">;
|
|
246
|
+
declare readonly $res: () => Session[];
|
|
266
247
|
|
|
267
|
-
constructor(args: Omit<
|
|
248
|
+
constructor(args: Omit<_GetSessionsByQuery, "tx" | "createdAt">) {
|
|
268
249
|
this.query = args;
|
|
269
250
|
}
|
|
270
251
|
}
|
|
271
252
|
|
|
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: () =>
|
|
253
|
+
export class GetSessionsByIds {
|
|
254
|
+
static readonly queryId = "GetSessionsByIds" as const;
|
|
255
|
+
static readonly queryItemType = "Session" as const;
|
|
256
|
+
readonly queryId = "GetSessionsByIds" as const;
|
|
257
|
+
readonly queryItemType = "Session" as const;
|
|
258
|
+
readonly query: Omit<_GetSessionsByIds, "tx" | "createdAt">;
|
|
259
|
+
declare readonly $res: () => Session[];
|
|
279
260
|
|
|
280
|
-
constructor(args: Omit<
|
|
261
|
+
constructor(args: Omit<_GetSessionsByIds, "tx" | "createdAt">) {
|
|
281
262
|
this.query = args;
|
|
282
263
|
}
|
|
283
264
|
}
|
|
284
265
|
|
|
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: () =>
|
|
266
|
+
export class GetAllSessions {
|
|
267
|
+
static readonly queryId = "GetAllSessions" as const;
|
|
268
|
+
static readonly queryItemType = "Session" as const;
|
|
269
|
+
readonly queryId = "GetAllSessions" as const;
|
|
270
|
+
readonly queryItemType = "Session" as const;
|
|
271
|
+
readonly query: Omit<_GetAllSessions, "tx" | "createdAt">;
|
|
272
|
+
declare readonly $res: () => Session[];
|
|
292
273
|
|
|
293
|
-
constructor(args: Omit<
|
|
274
|
+
constructor(args: Omit<_GetAllSessions, "tx" | "createdAt">) {
|
|
294
275
|
this.query = args;
|
|
295
276
|
}
|
|
296
277
|
}
|
|
@@ -412,41 +393,119 @@ export class GetAllRooms {
|
|
|
412
393
|
}
|
|
413
394
|
}
|
|
414
395
|
|
|
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: () =>
|
|
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[];
|
|
422
403
|
|
|
423
|
-
constructor(args: Omit<
|
|
404
|
+
constructor(args: Omit<_GetWakeWatchersByQuery, "tx" | "createdAt">) {
|
|
424
405
|
this.query = args;
|
|
425
406
|
}
|
|
426
407
|
}
|
|
427
408
|
|
|
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: () =>
|
|
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[];
|
|
435
416
|
|
|
436
|
-
constructor(args: Omit<
|
|
417
|
+
constructor(args: Omit<_GetWakeWatchersByIds, "tx" | "createdAt">) {
|
|
437
418
|
this.query = args;
|
|
438
419
|
}
|
|
439
420
|
}
|
|
440
421
|
|
|
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: () =>
|
|
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[];
|
|
448
429
|
|
|
449
|
-
constructor(args: Omit<
|
|
430
|
+
constructor(args: Omit<_GetAllWakeWatchers, "tx" | "createdAt">) {
|
|
431
|
+
this.query = args;
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
|
|
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[];
|
|
442
|
+
|
|
443
|
+
constructor(args: Omit<_GetSandboxRunsByQuery, "tx" | "createdAt">) {
|
|
444
|
+
this.query = args;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
|
|
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[];
|
|
455
|
+
|
|
456
|
+
constructor(args: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">) {
|
|
457
|
+
this.query = args;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
|
|
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[];
|
|
468
|
+
|
|
469
|
+
constructor(args: Omit<_GetAllSandboxRuns, "tx" | "createdAt">) {
|
|
470
|
+
this.query = args;
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
|
|
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[];
|
|
481
|
+
|
|
482
|
+
constructor(args: Omit<_GetMessagesByQuery, "tx" | "createdAt">) {
|
|
483
|
+
this.query = args;
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
|
|
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[];
|
|
494
|
+
|
|
495
|
+
constructor(args: Omit<_GetMessagesByIds, "tx" | "createdAt">) {
|
|
496
|
+
this.query = args;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
|
|
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[];
|
|
507
|
+
|
|
508
|
+
constructor(args: Omit<_GetAllMessages, "tx" | "createdAt">) {
|
|
450
509
|
this.query = args;
|
|
451
510
|
}
|
|
452
511
|
}
|
|
@@ -493,90 +552,57 @@ export class GetAllMessageReads {
|
|
|
493
552
|
// View classes
|
|
494
553
|
|
|
495
554
|
// Report classes
|
|
496
|
-
export class
|
|
497
|
-
static readonly reportId = "
|
|
498
|
-
readonly reportId = "
|
|
499
|
-
readonly report: Omit<
|
|
500
|
-
declare readonly $res: () =>
|
|
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;
|
|
501
560
|
|
|
502
|
-
constructor(args: Omit<
|
|
561
|
+
constructor(args: Omit<_GetSessionById, "tx">) {
|
|
503
562
|
this.report = args;
|
|
504
563
|
}
|
|
505
564
|
}
|
|
506
565
|
|
|
507
|
-
export class
|
|
508
|
-
static readonly reportId = "
|
|
509
|
-
readonly reportId = "
|
|
510
|
-
readonly report: Omit<
|
|
511
|
-
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;
|
|
512
571
|
|
|
513
|
-
constructor(args: Omit<
|
|
572
|
+
constructor(args: Omit<_CountSessions, "tx">) {
|
|
514
573
|
this.report = args;
|
|
515
574
|
}
|
|
516
575
|
}
|
|
517
576
|
|
|
518
|
-
export class
|
|
519
|
-
static readonly reportId = "
|
|
520
|
-
readonly reportId = "
|
|
521
|
-
readonly report: Omit<
|
|
522
|
-
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;
|
|
523
582
|
|
|
524
|
-
constructor(args: Omit<
|
|
583
|
+
constructor(args: Omit<_CountAllSessions, "tx">) {
|
|
525
584
|
this.report = args;
|
|
526
585
|
}
|
|
527
586
|
}
|
|
528
587
|
|
|
529
|
-
export class
|
|
530
|
-
static readonly reportId = "
|
|
531
|
-
readonly reportId = "
|
|
532
|
-
readonly report: Omit<
|
|
533
|
-
declare readonly $res: () =>
|
|
588
|
+
export class GetSessionNicknameById {
|
|
589
|
+
static readonly reportId = "GetSessionNicknameById" as const;
|
|
590
|
+
readonly reportId = "GetSessionNicknameById" as const;
|
|
591
|
+
readonly report: Omit<_GetSessionNicknameById, "tx">;
|
|
592
|
+
declare readonly $res: () => SessionNickname | null;
|
|
534
593
|
|
|
535
|
-
constructor(args: Omit<
|
|
594
|
+
constructor(args: Omit<_GetSessionNicknameById, "tx">) {
|
|
536
595
|
this.report = args;
|
|
537
596
|
}
|
|
538
597
|
}
|
|
539
598
|
|
|
540
|
-
export class
|
|
541
|
-
static readonly reportId = "
|
|
542
|
-
readonly reportId = "
|
|
543
|
-
readonly report: Omit<
|
|
544
|
-
declare readonly $res: () =>
|
|
599
|
+
export class CountSessionNicknames {
|
|
600
|
+
static readonly reportId = "CountSessionNicknames" as const;
|
|
601
|
+
readonly reportId = "CountSessionNicknames" as const;
|
|
602
|
+
readonly report: Omit<_CountSessionNicknames, "tx">;
|
|
603
|
+
declare readonly $res: () => SessionNicknameCount;
|
|
545
604
|
|
|
546
|
-
constructor(args: Omit<
|
|
547
|
-
this.report = args;
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
export class CountAllMessages {
|
|
552
|
-
static readonly reportId = "CountAllMessages" as const;
|
|
553
|
-
readonly reportId = "CountAllMessages" as const;
|
|
554
|
-
readonly report: Omit<_CountAllMessages, "tx">;
|
|
555
|
-
declare readonly $res: () => MessageCount;
|
|
556
|
-
|
|
557
|
-
constructor(args: Omit<_CountAllMessages, "tx">) {
|
|
558
|
-
this.report = args;
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
export class GetSessionNicknameById {
|
|
563
|
-
static readonly reportId = "GetSessionNicknameById" as const;
|
|
564
|
-
readonly reportId = "GetSessionNicknameById" as const;
|
|
565
|
-
readonly report: Omit<_GetSessionNicknameById, "tx">;
|
|
566
|
-
declare readonly $res: () => SessionNickname | null;
|
|
567
|
-
|
|
568
|
-
constructor(args: Omit<_GetSessionNicknameById, "tx">) {
|
|
569
|
-
this.report = args;
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
export class CountSessionNicknames {
|
|
574
|
-
static readonly reportId = "CountSessionNicknames" as const;
|
|
575
|
-
readonly reportId = "CountSessionNicknames" as const;
|
|
576
|
-
readonly report: Omit<_CountSessionNicknames, "tx">;
|
|
577
|
-
declare readonly $res: () => SessionNicknameCount;
|
|
578
|
-
|
|
579
|
-
constructor(args: Omit<_CountSessionNicknames, "tx">) {
|
|
605
|
+
constructor(args: Omit<_CountSessionNicknames, "tx">) {
|
|
580
606
|
this.report = args;
|
|
581
607
|
}
|
|
582
608
|
}
|
|
@@ -658,35 +684,101 @@ export class CountAllRooms {
|
|
|
658
684
|
}
|
|
659
685
|
}
|
|
660
686
|
|
|
661
|
-
export class
|
|
662
|
-
static readonly reportId = "
|
|
663
|
-
readonly reportId = "
|
|
664
|
-
readonly report: Omit<
|
|
665
|
-
declare readonly $res: () =>
|
|
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;
|
|
666
692
|
|
|
667
|
-
constructor(args: Omit<
|
|
693
|
+
constructor(args: Omit<_GetWakeWatcherById, "tx">) {
|
|
668
694
|
this.report = args;
|
|
669
695
|
}
|
|
670
696
|
}
|
|
671
697
|
|
|
672
|
-
export class
|
|
673
|
-
static readonly reportId = "
|
|
674
|
-
readonly reportId = "
|
|
675
|
-
readonly report: Omit<
|
|
676
|
-
declare readonly $res: () =>
|
|
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;
|
|
677
703
|
|
|
678
|
-
constructor(args: Omit<
|
|
704
|
+
constructor(args: Omit<_CountWakeWatchers, "tx">) {
|
|
679
705
|
this.report = args;
|
|
680
706
|
}
|
|
681
707
|
}
|
|
682
708
|
|
|
683
|
-
export class
|
|
684
|
-
static readonly reportId = "
|
|
685
|
-
readonly reportId = "
|
|
686
|
-
readonly report: Omit<
|
|
687
|
-
declare readonly $res: () =>
|
|
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;
|
|
688
714
|
|
|
689
|
-
constructor(args: Omit<
|
|
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">) {
|
|
690
782
|
this.report = args;
|
|
691
783
|
}
|
|
692
784
|
}
|
|
@@ -725,68 +817,134 @@ export class CountAllMessageReads {
|
|
|
725
817
|
}
|
|
726
818
|
|
|
727
819
|
// Command classes
|
|
728
|
-
export class
|
|
729
|
-
static readonly commandId = "
|
|
730
|
-
readonly commandId = "
|
|
731
|
-
readonly command: Omit<
|
|
732
|
-
declare readonly $res: () =>
|
|
820
|
+
export class BroadcastMessage {
|
|
821
|
+
static readonly commandId = "BroadcastMessage" as const;
|
|
822
|
+
readonly commandId = "BroadcastMessage" as const;
|
|
823
|
+
readonly command: Omit<_BroadcastMessage, "tx" | "createdAt">;
|
|
824
|
+
declare readonly $res: () => BroadcastMessageResult;
|
|
733
825
|
|
|
734
|
-
constructor(args: Omit<
|
|
826
|
+
constructor(args: Omit<_BroadcastMessage, "tx" | "createdAt">) {
|
|
735
827
|
this.command = args;
|
|
736
828
|
}
|
|
737
829
|
}
|
|
738
830
|
|
|
739
|
-
export class
|
|
740
|
-
static readonly commandId = "
|
|
741
|
-
readonly commandId = "
|
|
742
|
-
readonly command: Omit<
|
|
743
|
-
declare readonly $res: () =>
|
|
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;
|
|
744
836
|
|
|
745
|
-
constructor(args: Omit<
|
|
837
|
+
constructor(args: Omit<_ReadMessages, "tx" | "createdAt">) {
|
|
746
838
|
this.command = args;
|
|
747
839
|
}
|
|
748
840
|
}
|
|
749
841
|
|
|
750
|
-
export class
|
|
751
|
-
static readonly commandId = "
|
|
752
|
-
readonly commandId = "
|
|
753
|
-
readonly command: Omit<
|
|
754
|
-
declare readonly $res: () =>
|
|
842
|
+
export class SendMessage {
|
|
843
|
+
static readonly commandId = "SendMessage" as const;
|
|
844
|
+
readonly commandId = "SendMessage" as const;
|
|
845
|
+
readonly command: Omit<_SendMessage, "tx" | "createdAt">;
|
|
846
|
+
declare readonly $res: () => SendMessageResult;
|
|
755
847
|
|
|
756
|
-
constructor(args: Omit<
|
|
848
|
+
constructor(args: Omit<_SendMessage, "tx" | "createdAt">) {
|
|
757
849
|
this.command = args;
|
|
758
850
|
}
|
|
759
851
|
}
|
|
760
852
|
|
|
761
|
-
export class
|
|
762
|
-
static readonly commandId = "
|
|
763
|
-
readonly commandId = "
|
|
764
|
-
readonly command: Omit<
|
|
765
|
-
declare readonly $res: () =>
|
|
853
|
+
export class SetSessionLastToolAt {
|
|
854
|
+
static readonly commandId = "SetSessionLastToolAt" as const;
|
|
855
|
+
readonly commandId = "SetSessionLastToolAt" as const;
|
|
856
|
+
readonly command: Omit<_SetSessionLastToolAt, "tx" | "createdAt">;
|
|
857
|
+
declare readonly $res: () => void;
|
|
766
858
|
|
|
767
|
-
constructor(args: Omit<
|
|
859
|
+
constructor(args: Omit<_SetSessionLastToolAt, "tx" | "createdAt">) {
|
|
768
860
|
this.command = args;
|
|
769
861
|
}
|
|
770
862
|
}
|
|
771
863
|
|
|
772
|
-
export class
|
|
773
|
-
static readonly commandId = "
|
|
774
|
-
readonly commandId = "
|
|
775
|
-
readonly command: Omit<
|
|
776
|
-
declare readonly $res: () =>
|
|
864
|
+
export class SetSessionLastTool {
|
|
865
|
+
static readonly commandId = "SetSessionLastTool" as const;
|
|
866
|
+
readonly commandId = "SetSessionLastTool" as const;
|
|
867
|
+
readonly command: Omit<_SetSessionLastTool, "tx" | "createdAt">;
|
|
868
|
+
declare readonly $res: () => void;
|
|
777
869
|
|
|
778
|
-
constructor(args: Omit<
|
|
870
|
+
constructor(args: Omit<_SetSessionLastTool, "tx" | "createdAt">) {
|
|
779
871
|
this.command = args;
|
|
780
872
|
}
|
|
781
873
|
}
|
|
782
874
|
|
|
783
|
-
export class
|
|
784
|
-
static readonly commandId = "
|
|
785
|
-
readonly commandId = "
|
|
786
|
-
readonly command: Omit<
|
|
875
|
+
export class SetSessionLastActivityAt {
|
|
876
|
+
static readonly commandId = "SetSessionLastActivityAt" as const;
|
|
877
|
+
readonly commandId = "SetSessionLastActivityAt" as const;
|
|
878
|
+
readonly command: Omit<_SetSessionLastActivityAt, "tx" | "createdAt">;
|
|
787
879
|
declare readonly $res: () => void;
|
|
788
880
|
|
|
789
|
-
constructor(args: Omit<
|
|
881
|
+
constructor(args: Omit<_SetSessionLastActivityAt, "tx" | "createdAt">) {
|
|
882
|
+
this.command = args;
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
export class SetSessionGitBranch {
|
|
887
|
+
static readonly commandId = "SetSessionGitBranch" as const;
|
|
888
|
+
readonly commandId = "SetSessionGitBranch" as const;
|
|
889
|
+
readonly command: Omit<_SetSessionGitBranch, "tx" | "createdAt">;
|
|
890
|
+
declare readonly $res: () => void;
|
|
891
|
+
|
|
892
|
+
constructor(args: Omit<_SetSessionGitBranch, "tx" | "createdAt">) {
|
|
893
|
+
this.command = args;
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
export class DeleteSessions {
|
|
898
|
+
static readonly commandId = "DeleteSessions" as const;
|
|
899
|
+
readonly commandId = "DeleteSessions" as const;
|
|
900
|
+
readonly command: Omit<_DeleteSessions, "tx" | "createdAt">;
|
|
901
|
+
declare readonly $res: () => DeleteSessionsResult;
|
|
902
|
+
|
|
903
|
+
constructor(args: Omit<_DeleteSessions, "tx" | "createdAt">) {
|
|
904
|
+
this.command = args;
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
export class SetSessionActivity {
|
|
909
|
+
static readonly commandId = "SetSessionActivity" as const;
|
|
910
|
+
readonly commandId = "SetSessionActivity" as const;
|
|
911
|
+
readonly command: Omit<_SetSessionActivity, "tx" | "createdAt">;
|
|
912
|
+
declare readonly $res: () => void;
|
|
913
|
+
|
|
914
|
+
constructor(args: Omit<_SetSessionActivity, "tx" | "createdAt">) {
|
|
915
|
+
this.command = args;
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
export class SetSessionSessionName {
|
|
920
|
+
static readonly commandId = "SetSessionSessionName" as const;
|
|
921
|
+
readonly commandId = "SetSessionSessionName" as const;
|
|
922
|
+
readonly command: Omit<_SetSessionSessionName, "tx" | "createdAt">;
|
|
923
|
+
declare readonly $res: () => void;
|
|
924
|
+
|
|
925
|
+
constructor(args: Omit<_SetSessionSessionName, "tx" | "createdAt">) {
|
|
926
|
+
this.command = args;
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
export class SetSessionCurrentTask {
|
|
931
|
+
static readonly commandId = "SetSessionCurrentTask" as const;
|
|
932
|
+
readonly commandId = "SetSessionCurrentTask" as const;
|
|
933
|
+
readonly command: Omit<_SetSessionCurrentTask, "tx" | "createdAt">;
|
|
934
|
+
declare readonly $res: () => void;
|
|
935
|
+
|
|
936
|
+
constructor(args: Omit<_SetSessionCurrentTask, "tx" | "createdAt">) {
|
|
937
|
+
this.command = args;
|
|
938
|
+
}
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
export class DeleteSession {
|
|
942
|
+
static readonly commandId = "DeleteSession" as const;
|
|
943
|
+
readonly commandId = "DeleteSession" as const;
|
|
944
|
+
readonly command: Omit<_DeleteSession, "tx" | "createdAt">;
|
|
945
|
+
declare readonly $res: () => DeleteSessionResult;
|
|
946
|
+
|
|
947
|
+
constructor(args: Omit<_DeleteSession, "tx" | "createdAt">) {
|
|
790
948
|
this.command = args;
|
|
791
949
|
}
|
|
792
950
|
}
|
|
@@ -813,17 +971,6 @@ export class DeleteSessionNicknames {
|
|
|
813
971
|
}
|
|
814
972
|
}
|
|
815
973
|
|
|
816
|
-
export class AckMessages {
|
|
817
|
-
static readonly commandId = "AckMessages" as const;
|
|
818
|
-
readonly commandId = "AckMessages" as const;
|
|
819
|
-
readonly command: Omit<_AckMessages, "tx" | "createdAt">;
|
|
820
|
-
declare readonly $res: () => AckMessagesResult;
|
|
821
|
-
|
|
822
|
-
constructor(args: Omit<_AckMessages, "tx" | "createdAt">) {
|
|
823
|
-
this.command = args;
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
|
|
827
974
|
export class DeleteRoomMember {
|
|
828
975
|
static readonly commandId = "DeleteRoomMember" as const;
|
|
829
976
|
readonly commandId = "DeleteRoomMember" as const;
|
|
@@ -846,28 +993,6 @@ export class DeleteRoomMembers {
|
|
|
846
993
|
}
|
|
847
994
|
}
|
|
848
995
|
|
|
849
|
-
export class LeaveRoom {
|
|
850
|
-
static readonly commandId = "LeaveRoom" as const;
|
|
851
|
-
readonly commandId = "LeaveRoom" as const;
|
|
852
|
-
readonly command: Omit<_LeaveRoom, "tx" | "createdAt">;
|
|
853
|
-
declare readonly $res: () => LeaveRoomResult;
|
|
854
|
-
|
|
855
|
-
constructor(args: Omit<_LeaveRoom, "tx" | "createdAt">) {
|
|
856
|
-
this.command = args;
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
export class JoinRoom {
|
|
861
|
-
static readonly commandId = "JoinRoom" as const;
|
|
862
|
-
readonly commandId = "JoinRoom" as const;
|
|
863
|
-
readonly command: Omit<_JoinRoom, "tx" | "createdAt">;
|
|
864
|
-
declare readonly $res: () => JoinRoomResult;
|
|
865
|
-
|
|
866
|
-
constructor(args: Omit<_JoinRoom, "tx" | "createdAt">) {
|
|
867
|
-
this.command = args;
|
|
868
|
-
}
|
|
869
|
-
}
|
|
870
|
-
|
|
871
996
|
export class DeleteRoom {
|
|
872
997
|
static readonly commandId = "DeleteRoom" as const;
|
|
873
998
|
readonly commandId = "DeleteRoom" as const;
|
|
@@ -912,112 +1037,112 @@ export class DeleteRooms {
|
|
|
912
1037
|
}
|
|
913
1038
|
}
|
|
914
1039
|
|
|
915
|
-
export class
|
|
916
|
-
static readonly commandId = "
|
|
917
|
-
readonly commandId = "
|
|
918
|
-
readonly command: Omit<
|
|
919
|
-
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;
|
|
920
1045
|
|
|
921
|
-
constructor(args: Omit<
|
|
1046
|
+
constructor(args: Omit<_DeleteWakeWatcher, "tx" | "createdAt">) {
|
|
922
1047
|
this.command = args;
|
|
923
1048
|
}
|
|
924
1049
|
}
|
|
925
1050
|
|
|
926
|
-
export class
|
|
927
|
-
static readonly commandId = "
|
|
928
|
-
readonly commandId = "
|
|
929
|
-
readonly command: Omit<
|
|
930
|
-
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;
|
|
931
1056
|
|
|
932
|
-
constructor(args: Omit<
|
|
1057
|
+
constructor(args: Omit<_DeleteWakeWatchers, "tx" | "createdAt">) {
|
|
933
1058
|
this.command = args;
|
|
934
1059
|
}
|
|
935
1060
|
}
|
|
936
1061
|
|
|
937
|
-
export class
|
|
938
|
-
static readonly commandId = "
|
|
939
|
-
readonly commandId = "
|
|
940
|
-
readonly command: Omit<
|
|
941
|
-
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;
|
|
942
1067
|
|
|
943
|
-
constructor(args: Omit<
|
|
1068
|
+
constructor(args: Omit<_LeaveRoom, "tx" | "createdAt">) {
|
|
944
1069
|
this.command = args;
|
|
945
1070
|
}
|
|
946
1071
|
}
|
|
947
1072
|
|
|
948
|
-
export class
|
|
949
|
-
static readonly commandId = "
|
|
950
|
-
readonly commandId = "
|
|
951
|
-
readonly command: Omit<
|
|
952
|
-
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;
|
|
953
1078
|
|
|
954
|
-
constructor(args: Omit<
|
|
1079
|
+
constructor(args: Omit<_JoinRoom, "tx" | "createdAt">) {
|
|
955
1080
|
this.command = args;
|
|
956
1081
|
}
|
|
957
1082
|
}
|
|
958
1083
|
|
|
959
|
-
export class
|
|
960
|
-
static readonly commandId = "
|
|
961
|
-
readonly commandId = "
|
|
962
|
-
readonly command: Omit<
|
|
963
|
-
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;
|
|
964
1089
|
|
|
965
|
-
constructor(args: Omit<
|
|
1090
|
+
constructor(args: Omit<_ImportSandboxRun, "tx" | "createdAt">) {
|
|
966
1091
|
this.command = args;
|
|
967
1092
|
}
|
|
968
1093
|
}
|
|
969
1094
|
|
|
970
|
-
export class
|
|
971
|
-
static readonly commandId = "
|
|
972
|
-
readonly commandId = "
|
|
973
|
-
readonly command: Omit<
|
|
974
|
-
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;
|
|
975
1100
|
|
|
976
|
-
constructor(args: Omit<
|
|
1101
|
+
constructor(args: Omit<_DeleteSandboxRuns, "tx" | "createdAt">) {
|
|
977
1102
|
this.command = args;
|
|
978
1103
|
}
|
|
979
1104
|
}
|
|
980
1105
|
|
|
981
|
-
export class
|
|
982
|
-
static readonly commandId = "
|
|
983
|
-
readonly commandId = "
|
|
984
|
-
readonly command: Omit<
|
|
985
|
-
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;
|
|
986
1111
|
|
|
987
|
-
constructor(args: Omit<
|
|
1112
|
+
constructor(args: Omit<_DeleteSandboxRun, "tx" | "createdAt">) {
|
|
988
1113
|
this.command = args;
|
|
989
1114
|
}
|
|
990
1115
|
}
|
|
991
1116
|
|
|
992
|
-
export class
|
|
993
|
-
static readonly commandId = "
|
|
994
|
-
readonly commandId = "
|
|
995
|
-
readonly command: Omit<
|
|
1117
|
+
export class NotifyChannel {
|
|
1118
|
+
static readonly commandId = "NotifyChannel" as const;
|
|
1119
|
+
readonly commandId = "NotifyChannel" as const;
|
|
1120
|
+
readonly command: Omit<_NotifyChannel, "tx" | "createdAt">;
|
|
996
1121
|
declare readonly $res: () => void;
|
|
997
1122
|
|
|
998
|
-
constructor(args: Omit<
|
|
1123
|
+
constructor(args: Omit<_NotifyChannel, "tx" | "createdAt">) {
|
|
999
1124
|
this.command = args;
|
|
1000
1125
|
}
|
|
1001
1126
|
}
|
|
1002
1127
|
|
|
1003
|
-
export class
|
|
1004
|
-
static readonly commandId = "
|
|
1005
|
-
readonly commandId = "
|
|
1006
|
-
readonly command: Omit<
|
|
1007
|
-
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;
|
|
1008
1133
|
|
|
1009
|
-
constructor(args: Omit<
|
|
1134
|
+
constructor(args: Omit<_DeleteMessage, "tx" | "createdAt">) {
|
|
1010
1135
|
this.command = args;
|
|
1011
1136
|
}
|
|
1012
1137
|
}
|
|
1013
1138
|
|
|
1014
|
-
export class
|
|
1015
|
-
static readonly commandId = "
|
|
1016
|
-
readonly commandId = "
|
|
1017
|
-
readonly command: Omit<
|
|
1018
|
-
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;
|
|
1019
1144
|
|
|
1020
|
-
constructor(args: Omit<
|
|
1145
|
+
constructor(args: Omit<_DeleteMessages, "tx" | "createdAt">) {
|
|
1021
1146
|
this.command = args;
|
|
1022
1147
|
}
|
|
1023
1148
|
}
|
|
@@ -1044,36 +1169,26 @@ export class DeleteMessageReads {
|
|
|
1044
1169
|
}
|
|
1045
1170
|
}
|
|
1046
1171
|
|
|
1047
|
-
export class
|
|
1048
|
-
static readonly commandId = "
|
|
1049
|
-
readonly commandId = "
|
|
1050
|
-
readonly command: Omit<
|
|
1051
|
-
declare readonly $res: () =>
|
|
1052
|
-
|
|
1053
|
-
constructor(args: Omit<_BroadcastMessage, "tx" | "createdAt">) {
|
|
1054
|
-
this.command = args;
|
|
1055
|
-
}
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
export class SendMessage {
|
|
1059
|
-
static readonly commandId = "SendMessage" as const;
|
|
1060
|
-
readonly commandId = "SendMessage" as const;
|
|
1061
|
-
readonly command: Omit<_SendMessage, "tx" | "createdAt">;
|
|
1062
|
-
declare readonly $res: () => SendMessageResult;
|
|
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;
|
|
1063
1177
|
|
|
1064
|
-
constructor(args: Omit<
|
|
1178
|
+
constructor(args: Omit<_AckMessages, "tx" | "createdAt">) {
|
|
1065
1179
|
this.command = args;
|
|
1066
1180
|
}
|
|
1067
1181
|
}
|
|
1068
1182
|
|
|
1069
1183
|
// Item constructors
|
|
1070
1184
|
export const items = {
|
|
1071
|
-
|
|
1072
|
-
Message: (args: Message) => ({ item: args, itemType: "Message" }),
|
|
1185
|
+
Session: (args: Session) => ({ item: args, itemType: "Session" }),
|
|
1073
1186
|
SessionNickname: (args: SessionNickname) => ({ item: args, itemType: "SessionNickname" }),
|
|
1074
1187
|
RoomMember: (args: RoomMember) => ({ item: args, itemType: "RoomMember" }),
|
|
1075
1188
|
Room: (args: Room) => ({ item: args, itemType: "Room" }),
|
|
1076
|
-
|
|
1189
|
+
WakeWatcher: (args: WakeWatcher) => ({ item: args, itemType: "WakeWatcher" }),
|
|
1190
|
+
SandboxRun: (args: SandboxRun) => ({ item: args, itemType: "SandboxRun" }),
|
|
1191
|
+
Message: (args: Message) => ({ item: args, itemType: "Message" }),
|
|
1077
1192
|
MessageRead: (args: MessageRead) => ({ item: args, itemType: "MessageRead" }),
|
|
1078
1193
|
};
|
|
1079
1194
|
|