@agent-marshal/marshal-pi 0.56.0 → 0.58.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/daemon.ts +1 -0
- 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/RegisterSession.ts +4 -0
- package/src/generated/RegisterSessionArgs.ts +4 -0
- package/src/generated/Session.ts +4 -0
- package/src/generated/SessionQuery.ts +1 -1
- 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 +493 -365
- package/src/identity.ts +2 -1
- package/src/index.ts +2 -1
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";
|
|
@@ -66,6 +70,7 @@ export type { NotifyChannelArgs } from "./NotifyChannelArgs";
|
|
|
66
70
|
export type { NumericFilter } from "./NumericFilter";
|
|
67
71
|
export type { ReadMessagesArgs } from "./ReadMessagesArgs";
|
|
68
72
|
export type { ReadMessagesResult } from "./ReadMessagesResult";
|
|
73
|
+
export type { RegisterSessionArgs } from "./RegisterSessionArgs";
|
|
69
74
|
export type { Room } from "./Room";
|
|
70
75
|
export type { RoomCount } from "./RoomCount";
|
|
71
76
|
export type { RoomId } from "./RoomId";
|
|
@@ -105,6 +110,10 @@ export type { SetSessionSessionNameArgs } from "./SetSessionSessionNameArgs";
|
|
|
105
110
|
export type { StringFilter } from "./StringFilter";
|
|
106
111
|
export type { Unfilterable } from "./Unfilterable";
|
|
107
112
|
export type { WakeStatus } from "./WakeStatus";
|
|
113
|
+
export type { WakeWatcher } from "./WakeWatcher";
|
|
114
|
+
export type { WakeWatcherCount } from "./WakeWatcherCount";
|
|
115
|
+
export type { WakeWatcherId } from "./WakeWatcherId";
|
|
116
|
+
export type { WakeWatcherQuery } from "./WakeWatcherQuery";
|
|
108
117
|
|
|
109
118
|
// Internal imports
|
|
110
119
|
import type { AckMessages as _AckMessages } from "./AckMessages";
|
|
@@ -118,6 +127,7 @@ import type { CountAllRooms as _CountAllRooms } from "./CountAllRooms";
|
|
|
118
127
|
import type { CountAllSandboxRuns as _CountAllSandboxRuns } from "./CountAllSandboxRuns";
|
|
119
128
|
import type { CountAllSessionNicknames as _CountAllSessionNicknames } from "./CountAllSessionNicknames";
|
|
120
129
|
import type { CountAllSessions as _CountAllSessions } from "./CountAllSessions";
|
|
130
|
+
import type { CountAllWakeWatchers as _CountAllWakeWatchers } from "./CountAllWakeWatchers";
|
|
121
131
|
import type { CountMessageReads as _CountMessageReads } from "./CountMessageReads";
|
|
122
132
|
import type { CountMessages as _CountMessages } from "./CountMessages";
|
|
123
133
|
import type { CountRoomMembers as _CountRoomMembers } from "./CountRoomMembers";
|
|
@@ -125,6 +135,7 @@ import type { CountRooms as _CountRooms } from "./CountRooms";
|
|
|
125
135
|
import type { CountSandboxRuns as _CountSandboxRuns } from "./CountSandboxRuns";
|
|
126
136
|
import type { CountSessionNicknames as _CountSessionNicknames } from "./CountSessionNicknames";
|
|
127
137
|
import type { CountSessions as _CountSessions } from "./CountSessions";
|
|
138
|
+
import type { CountWakeWatchers as _CountWakeWatchers } from "./CountWakeWatchers";
|
|
128
139
|
import type { DeleteMessage as _DeleteMessage } from "./DeleteMessage";
|
|
129
140
|
import type { DeleteMessageRead as _DeleteMessageRead } from "./DeleteMessageRead";
|
|
130
141
|
import type { DeleteMessageReadResult } from "./DeleteMessageReadResult";
|
|
@@ -153,6 +164,10 @@ import type { DeleteSessionNicknamesResult } from "./DeleteSessionNicknamesResul
|
|
|
153
164
|
import type { DeleteSessionResult } from "./DeleteSessionResult";
|
|
154
165
|
import type { DeleteSessions as _DeleteSessions } from "./DeleteSessions";
|
|
155
166
|
import type { DeleteSessionsResult } from "./DeleteSessionsResult";
|
|
167
|
+
import type { DeleteWakeWatcher as _DeleteWakeWatcher } from "./DeleteWakeWatcher";
|
|
168
|
+
import type { DeleteWakeWatcherResult } from "./DeleteWakeWatcherResult";
|
|
169
|
+
import type { DeleteWakeWatchers as _DeleteWakeWatchers } from "./DeleteWakeWatchers";
|
|
170
|
+
import type { DeleteWakeWatchersResult } from "./DeleteWakeWatchersResult";
|
|
156
171
|
import type { GetAllMessageReads as _GetAllMessageReads } from "./GetAllMessageReads";
|
|
157
172
|
import type { GetAllMessages as _GetAllMessages } from "./GetAllMessages";
|
|
158
173
|
import type { GetAllRoomMembers as _GetAllRoomMembers } from "./GetAllRoomMembers";
|
|
@@ -160,6 +175,7 @@ import type { GetAllRooms as _GetAllRooms } from "./GetAllRooms";
|
|
|
160
175
|
import type { GetAllSandboxRuns as _GetAllSandboxRuns } from "./GetAllSandboxRuns";
|
|
161
176
|
import type { GetAllSessionNicknames as _GetAllSessionNicknames } from "./GetAllSessionNicknames";
|
|
162
177
|
import type { GetAllSessions as _GetAllSessions } from "./GetAllSessions";
|
|
178
|
+
import type { GetAllWakeWatchers as _GetAllWakeWatchers } from "./GetAllWakeWatchers";
|
|
163
179
|
import type { GetMessageById as _GetMessageById } from "./GetMessageById";
|
|
164
180
|
import type { GetMessageReadById as _GetMessageReadById } from "./GetMessageReadById";
|
|
165
181
|
import type { GetMessageReadsByIds as _GetMessageReadsByIds } from "./GetMessageReadsByIds";
|
|
@@ -181,6 +197,9 @@ import type { GetSessionNicknamesByIds as _GetSessionNicknamesByIds } from "./Ge
|
|
|
181
197
|
import type { GetSessionNicknamesByQuery as _GetSessionNicknamesByQuery } from "./GetSessionNicknamesByQuery";
|
|
182
198
|
import type { GetSessionsByIds as _GetSessionsByIds } from "./GetSessionsByIds";
|
|
183
199
|
import type { GetSessionsByQuery as _GetSessionsByQuery } from "./GetSessionsByQuery";
|
|
200
|
+
import type { GetWakeWatcherById as _GetWakeWatcherById } from "./GetWakeWatcherById";
|
|
201
|
+
import type { GetWakeWatchersByIds as _GetWakeWatchersByIds } from "./GetWakeWatchersByIds";
|
|
202
|
+
import type { GetWakeWatchersByQuery as _GetWakeWatchersByQuery } from "./GetWakeWatchersByQuery";
|
|
184
203
|
import type { ImportSandboxRun as _ImportSandboxRun } from "./ImportSandboxRun";
|
|
185
204
|
import type { JoinRoom as _JoinRoom } from "./JoinRoom";
|
|
186
205
|
import type { JoinRoomResult } from "./JoinRoomResult";
|
|
@@ -193,6 +212,7 @@ import type { MessageReadCount } from "./MessageReadCount";
|
|
|
193
212
|
import type { NotifyChannel as _NotifyChannel } from "./NotifyChannel";
|
|
194
213
|
import type { ReadMessages as _ReadMessages } from "./ReadMessages";
|
|
195
214
|
import type { ReadMessagesResult } from "./ReadMessagesResult";
|
|
215
|
+
import type { RegisterSession as _RegisterSession } from "./RegisterSession";
|
|
196
216
|
import type { Room } from "./Room";
|
|
197
217
|
import type { RoomCount } from "./RoomCount";
|
|
198
218
|
import type { RoomMember } from "./RoomMember";
|
|
@@ -215,8 +235,88 @@ import type { SetSessionLastActivityAt as _SetSessionLastActivityAt } from "./Se
|
|
|
215
235
|
import type { SetSessionLastTool as _SetSessionLastTool } from "./SetSessionLastTool";
|
|
216
236
|
import type { SetSessionLastToolAt as _SetSessionLastToolAt } from "./SetSessionLastToolAt";
|
|
217
237
|
import type { SetSessionSessionName as _SetSessionSessionName } from "./SetSessionSessionName";
|
|
238
|
+
import type { WakeWatcher } from "./WakeWatcher";
|
|
239
|
+
import type { WakeWatcherCount } from "./WakeWatcherCount";
|
|
218
240
|
|
|
219
241
|
// Query classes
|
|
242
|
+
export class GetRoomsByQuery {
|
|
243
|
+
static readonly queryId = "GetRoomsByQuery" as const;
|
|
244
|
+
static readonly queryItemType = "Room" as const;
|
|
245
|
+
readonly queryId = "GetRoomsByQuery" as const;
|
|
246
|
+
readonly queryItemType = "Room" as const;
|
|
247
|
+
readonly query: Omit<_GetRoomsByQuery, "tx" | "createdAt">;
|
|
248
|
+
declare readonly $res: () => Room[];
|
|
249
|
+
|
|
250
|
+
constructor(args: Omit<_GetRoomsByQuery, "tx" | "createdAt">) {
|
|
251
|
+
this.query = args;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export class GetRoomsByIds {
|
|
256
|
+
static readonly queryId = "GetRoomsByIds" as const;
|
|
257
|
+
static readonly queryItemType = "Room" as const;
|
|
258
|
+
readonly queryId = "GetRoomsByIds" as const;
|
|
259
|
+
readonly queryItemType = "Room" as const;
|
|
260
|
+
readonly query: Omit<_GetRoomsByIds, "tx" | "createdAt">;
|
|
261
|
+
declare readonly $res: () => Room[];
|
|
262
|
+
|
|
263
|
+
constructor(args: Omit<_GetRoomsByIds, "tx" | "createdAt">) {
|
|
264
|
+
this.query = args;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export class GetAllRooms {
|
|
269
|
+
static readonly queryId = "GetAllRooms" as const;
|
|
270
|
+
static readonly queryItemType = "Room" as const;
|
|
271
|
+
readonly queryId = "GetAllRooms" as const;
|
|
272
|
+
readonly queryItemType = "Room" as const;
|
|
273
|
+
readonly query: Omit<_GetAllRooms, "tx" | "createdAt">;
|
|
274
|
+
declare readonly $res: () => Room[];
|
|
275
|
+
|
|
276
|
+
constructor(args: Omit<_GetAllRooms, "tx" | "createdAt">) {
|
|
277
|
+
this.query = args;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
export class GetSessionNicknamesByQuery {
|
|
282
|
+
static readonly queryId = "GetSessionNicknamesByQuery" as const;
|
|
283
|
+
static readonly queryItemType = "SessionNickname" as const;
|
|
284
|
+
readonly queryId = "GetSessionNicknamesByQuery" as const;
|
|
285
|
+
readonly queryItemType = "SessionNickname" as const;
|
|
286
|
+
readonly query: Omit<_GetSessionNicknamesByQuery, "tx" | "createdAt">;
|
|
287
|
+
declare readonly $res: () => SessionNickname[];
|
|
288
|
+
|
|
289
|
+
constructor(args: Omit<_GetSessionNicknamesByQuery, "tx" | "createdAt">) {
|
|
290
|
+
this.query = args;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
export class GetSessionNicknamesByIds {
|
|
295
|
+
static readonly queryId = "GetSessionNicknamesByIds" as const;
|
|
296
|
+
static readonly queryItemType = "SessionNickname" as const;
|
|
297
|
+
readonly queryId = "GetSessionNicknamesByIds" as const;
|
|
298
|
+
readonly queryItemType = "SessionNickname" as const;
|
|
299
|
+
readonly query: Omit<_GetSessionNicknamesByIds, "tx" | "createdAt">;
|
|
300
|
+
declare readonly $res: () => SessionNickname[];
|
|
301
|
+
|
|
302
|
+
constructor(args: Omit<_GetSessionNicknamesByIds, "tx" | "createdAt">) {
|
|
303
|
+
this.query = args;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export class GetAllSessionNicknames {
|
|
308
|
+
static readonly queryId = "GetAllSessionNicknames" as const;
|
|
309
|
+
static readonly queryItemType = "SessionNickname" as const;
|
|
310
|
+
readonly queryId = "GetAllSessionNicknames" as const;
|
|
311
|
+
readonly queryItemType = "SessionNickname" as const;
|
|
312
|
+
readonly query: Omit<_GetAllSessionNicknames, "tx" | "createdAt">;
|
|
313
|
+
declare readonly $res: () => SessionNickname[];
|
|
314
|
+
|
|
315
|
+
constructor(args: Omit<_GetAllSessionNicknames, "tx" | "createdAt">) {
|
|
316
|
+
this.query = args;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
|
|
220
320
|
export class GetSessionsByQuery {
|
|
221
321
|
static readonly queryId = "GetSessionsByQuery" as const;
|
|
222
322
|
static readonly queryItemType = "Session" as const;
|
|
@@ -256,80 +356,80 @@ export class GetAllSessions {
|
|
|
256
356
|
}
|
|
257
357
|
}
|
|
258
358
|
|
|
259
|
-
export class
|
|
260
|
-
static readonly queryId = "
|
|
261
|
-
static readonly queryItemType = "
|
|
262
|
-
readonly queryId = "
|
|
263
|
-
readonly queryItemType = "
|
|
264
|
-
readonly query: Omit<
|
|
265
|
-
declare readonly $res: () =>
|
|
359
|
+
export class GetWakeWatchersByQuery {
|
|
360
|
+
static readonly queryId = "GetWakeWatchersByQuery" as const;
|
|
361
|
+
static readonly queryItemType = "WakeWatcher" as const;
|
|
362
|
+
readonly queryId = "GetWakeWatchersByQuery" as const;
|
|
363
|
+
readonly queryItemType = "WakeWatcher" as const;
|
|
364
|
+
readonly query: Omit<_GetWakeWatchersByQuery, "tx" | "createdAt">;
|
|
365
|
+
declare readonly $res: () => WakeWatcher[];
|
|
266
366
|
|
|
267
|
-
constructor(args: Omit<
|
|
367
|
+
constructor(args: Omit<_GetWakeWatchersByQuery, "tx" | "createdAt">) {
|
|
268
368
|
this.query = args;
|
|
269
369
|
}
|
|
270
370
|
}
|
|
271
371
|
|
|
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: () =>
|
|
372
|
+
export class GetWakeWatchersByIds {
|
|
373
|
+
static readonly queryId = "GetWakeWatchersByIds" as const;
|
|
374
|
+
static readonly queryItemType = "WakeWatcher" as const;
|
|
375
|
+
readonly queryId = "GetWakeWatchersByIds" as const;
|
|
376
|
+
readonly queryItemType = "WakeWatcher" as const;
|
|
377
|
+
readonly query: Omit<_GetWakeWatchersByIds, "tx" | "createdAt">;
|
|
378
|
+
declare readonly $res: () => WakeWatcher[];
|
|
279
379
|
|
|
280
|
-
constructor(args: Omit<
|
|
380
|
+
constructor(args: Omit<_GetWakeWatchersByIds, "tx" | "createdAt">) {
|
|
281
381
|
this.query = args;
|
|
282
382
|
}
|
|
283
383
|
}
|
|
284
384
|
|
|
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: () =>
|
|
385
|
+
export class GetAllWakeWatchers {
|
|
386
|
+
static readonly queryId = "GetAllWakeWatchers" as const;
|
|
387
|
+
static readonly queryItemType = "WakeWatcher" as const;
|
|
388
|
+
readonly queryId = "GetAllWakeWatchers" as const;
|
|
389
|
+
readonly queryItemType = "WakeWatcher" as const;
|
|
390
|
+
readonly query: Omit<_GetAllWakeWatchers, "tx" | "createdAt">;
|
|
391
|
+
declare readonly $res: () => WakeWatcher[];
|
|
292
392
|
|
|
293
|
-
constructor(args: Omit<
|
|
393
|
+
constructor(args: Omit<_GetAllWakeWatchers, "tx" | "createdAt">) {
|
|
294
394
|
this.query = args;
|
|
295
395
|
}
|
|
296
396
|
}
|
|
297
397
|
|
|
298
|
-
export class
|
|
299
|
-
static readonly queryId = "
|
|
300
|
-
static readonly queryItemType = "
|
|
301
|
-
readonly queryId = "
|
|
302
|
-
readonly queryItemType = "
|
|
303
|
-
readonly query: Omit<
|
|
304
|
-
declare readonly $res: () =>
|
|
398
|
+
export class GetRoomMembersByQuery {
|
|
399
|
+
static readonly queryId = "GetRoomMembersByQuery" as const;
|
|
400
|
+
static readonly queryItemType = "RoomMember" as const;
|
|
401
|
+
readonly queryId = "GetRoomMembersByQuery" as const;
|
|
402
|
+
readonly queryItemType = "RoomMember" as const;
|
|
403
|
+
readonly query: Omit<_GetRoomMembersByQuery, "tx" | "createdAt">;
|
|
404
|
+
declare readonly $res: () => RoomMember[];
|
|
305
405
|
|
|
306
|
-
constructor(args: Omit<
|
|
406
|
+
constructor(args: Omit<_GetRoomMembersByQuery, "tx" | "createdAt">) {
|
|
307
407
|
this.query = args;
|
|
308
408
|
}
|
|
309
409
|
}
|
|
310
410
|
|
|
311
|
-
export class
|
|
312
|
-
static readonly queryId = "
|
|
313
|
-
static readonly queryItemType = "
|
|
314
|
-
readonly queryId = "
|
|
315
|
-
readonly queryItemType = "
|
|
316
|
-
readonly query: Omit<
|
|
317
|
-
declare readonly $res: () =>
|
|
411
|
+
export class GetRoomMembersByIds {
|
|
412
|
+
static readonly queryId = "GetRoomMembersByIds" as const;
|
|
413
|
+
static readonly queryItemType = "RoomMember" as const;
|
|
414
|
+
readonly queryId = "GetRoomMembersByIds" as const;
|
|
415
|
+
readonly queryItemType = "RoomMember" as const;
|
|
416
|
+
readonly query: Omit<_GetRoomMembersByIds, "tx" | "createdAt">;
|
|
417
|
+
declare readonly $res: () => RoomMember[];
|
|
318
418
|
|
|
319
|
-
constructor(args: Omit<
|
|
419
|
+
constructor(args: Omit<_GetRoomMembersByIds, "tx" | "createdAt">) {
|
|
320
420
|
this.query = args;
|
|
321
421
|
}
|
|
322
422
|
}
|
|
323
423
|
|
|
324
|
-
export class
|
|
325
|
-
static readonly queryId = "
|
|
326
|
-
static readonly queryItemType = "
|
|
327
|
-
readonly queryId = "
|
|
328
|
-
readonly queryItemType = "
|
|
329
|
-
readonly query: Omit<
|
|
330
|
-
declare readonly $res: () =>
|
|
424
|
+
export class GetAllRoomMembers {
|
|
425
|
+
static readonly queryId = "GetAllRoomMembers" as const;
|
|
426
|
+
static readonly queryItemType = "RoomMember" as const;
|
|
427
|
+
readonly queryId = "GetAllRoomMembers" as const;
|
|
428
|
+
readonly queryItemType = "RoomMember" as const;
|
|
429
|
+
readonly query: Omit<_GetAllRoomMembers, "tx" | "createdAt">;
|
|
430
|
+
declare readonly $res: () => RoomMember[];
|
|
331
431
|
|
|
332
|
-
constructor(args: Omit<
|
|
432
|
+
constructor(args: Omit<_GetAllRoomMembers, "tx" | "createdAt">) {
|
|
333
433
|
this.query = args;
|
|
334
434
|
}
|
|
335
435
|
}
|
|
@@ -373,126 +473,153 @@ export class GetAllMessages {
|
|
|
373
473
|
}
|
|
374
474
|
}
|
|
375
475
|
|
|
376
|
-
export class
|
|
377
|
-
static readonly queryId = "
|
|
378
|
-
static readonly queryItemType = "
|
|
379
|
-
readonly queryId = "
|
|
380
|
-
readonly queryItemType = "
|
|
381
|
-
readonly query: Omit<
|
|
382
|
-
declare readonly $res: () =>
|
|
476
|
+
export class GetMessageReadsByQuery {
|
|
477
|
+
static readonly queryId = "GetMessageReadsByQuery" as const;
|
|
478
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
479
|
+
readonly queryId = "GetMessageReadsByQuery" as const;
|
|
480
|
+
readonly queryItemType = "MessageRead" as const;
|
|
481
|
+
readonly query: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">;
|
|
482
|
+
declare readonly $res: () => MessageRead[];
|
|
383
483
|
|
|
384
|
-
constructor(args: Omit<
|
|
484
|
+
constructor(args: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">) {
|
|
385
485
|
this.query = args;
|
|
386
486
|
}
|
|
387
487
|
}
|
|
388
488
|
|
|
389
|
-
export class
|
|
390
|
-
static readonly queryId = "
|
|
391
|
-
static readonly queryItemType = "
|
|
392
|
-
readonly queryId = "
|
|
393
|
-
readonly queryItemType = "
|
|
394
|
-
readonly query: Omit<
|
|
395
|
-
declare readonly $res: () =>
|
|
489
|
+
export class GetMessageReadsByIds {
|
|
490
|
+
static readonly queryId = "GetMessageReadsByIds" as const;
|
|
491
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
492
|
+
readonly queryId = "GetMessageReadsByIds" as const;
|
|
493
|
+
readonly queryItemType = "MessageRead" as const;
|
|
494
|
+
readonly query: Omit<_GetMessageReadsByIds, "tx" | "createdAt">;
|
|
495
|
+
declare readonly $res: () => MessageRead[];
|
|
396
496
|
|
|
397
|
-
constructor(args: Omit<
|
|
497
|
+
constructor(args: Omit<_GetMessageReadsByIds, "tx" | "createdAt">) {
|
|
398
498
|
this.query = args;
|
|
399
499
|
}
|
|
400
500
|
}
|
|
401
501
|
|
|
402
|
-
export class
|
|
403
|
-
static readonly queryId = "
|
|
404
|
-
static readonly queryItemType = "
|
|
405
|
-
readonly queryId = "
|
|
406
|
-
readonly queryItemType = "
|
|
407
|
-
readonly query: Omit<
|
|
408
|
-
declare readonly $res: () =>
|
|
502
|
+
export class GetAllMessageReads {
|
|
503
|
+
static readonly queryId = "GetAllMessageReads" as const;
|
|
504
|
+
static readonly queryItemType = "MessageRead" as const;
|
|
505
|
+
readonly queryId = "GetAllMessageReads" as const;
|
|
506
|
+
readonly queryItemType = "MessageRead" as const;
|
|
507
|
+
readonly query: Omit<_GetAllMessageReads, "tx" | "createdAt">;
|
|
508
|
+
declare readonly $res: () => MessageRead[];
|
|
409
509
|
|
|
410
|
-
constructor(args: Omit<
|
|
510
|
+
constructor(args: Omit<_GetAllMessageReads, "tx" | "createdAt">) {
|
|
411
511
|
this.query = args;
|
|
412
512
|
}
|
|
413
513
|
}
|
|
414
514
|
|
|
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: () =>
|
|
515
|
+
export class GetSandboxRunsByQuery {
|
|
516
|
+
static readonly queryId = "GetSandboxRunsByQuery" as const;
|
|
517
|
+
static readonly queryItemType = "SandboxRun" as const;
|
|
518
|
+
readonly queryId = "GetSandboxRunsByQuery" as const;
|
|
519
|
+
readonly queryItemType = "SandboxRun" as const;
|
|
520
|
+
readonly query: Omit<_GetSandboxRunsByQuery, "tx" | "createdAt">;
|
|
521
|
+
declare readonly $res: () => SandboxRun[];
|
|
422
522
|
|
|
423
|
-
constructor(args: Omit<
|
|
523
|
+
constructor(args: Omit<_GetSandboxRunsByQuery, "tx" | "createdAt">) {
|
|
424
524
|
this.query = args;
|
|
425
525
|
}
|
|
426
526
|
}
|
|
427
527
|
|
|
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: () =>
|
|
528
|
+
export class GetSandboxRunsByIds {
|
|
529
|
+
static readonly queryId = "GetSandboxRunsByIds" as const;
|
|
530
|
+
static readonly queryItemType = "SandboxRun" as const;
|
|
531
|
+
readonly queryId = "GetSandboxRunsByIds" as const;
|
|
532
|
+
readonly queryItemType = "SandboxRun" as const;
|
|
533
|
+
readonly query: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">;
|
|
534
|
+
declare readonly $res: () => SandboxRun[];
|
|
535
|
+
|
|
536
|
+
constructor(args: Omit<_GetSandboxRunsByIds, "tx" | "createdAt">) {
|
|
537
|
+
this.query = args;
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
export class GetAllSandboxRuns {
|
|
542
|
+
static readonly queryId = "GetAllSandboxRuns" as const;
|
|
543
|
+
static readonly queryItemType = "SandboxRun" as const;
|
|
544
|
+
readonly queryId = "GetAllSandboxRuns" as const;
|
|
545
|
+
readonly queryItemType = "SandboxRun" as const;
|
|
546
|
+
readonly query: Omit<_GetAllSandboxRuns, "tx" | "createdAt">;
|
|
547
|
+
declare readonly $res: () => SandboxRun[];
|
|
548
|
+
|
|
549
|
+
constructor(args: Omit<_GetAllSandboxRuns, "tx" | "createdAt">) {
|
|
550
|
+
this.query = args;
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
// View classes
|
|
555
|
+
|
|
556
|
+
// Report classes
|
|
557
|
+
export class GetRoomById {
|
|
558
|
+
static readonly reportId = "GetRoomById" as const;
|
|
559
|
+
readonly reportId = "GetRoomById" as const;
|
|
560
|
+
readonly report: Omit<_GetRoomById, "tx">;
|
|
561
|
+
declare readonly $res: () => Room | null;
|
|
562
|
+
|
|
563
|
+
constructor(args: Omit<_GetRoomById, "tx">) {
|
|
564
|
+
this.report = args;
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export class CountRooms {
|
|
569
|
+
static readonly reportId = "CountRooms" as const;
|
|
570
|
+
readonly reportId = "CountRooms" as const;
|
|
571
|
+
readonly report: Omit<_CountRooms, "tx">;
|
|
572
|
+
declare readonly $res: () => RoomCount;
|
|
435
573
|
|
|
436
|
-
constructor(args: Omit<
|
|
437
|
-
this.
|
|
574
|
+
constructor(args: Omit<_CountRooms, "tx">) {
|
|
575
|
+
this.report = args;
|
|
438
576
|
}
|
|
439
577
|
}
|
|
440
578
|
|
|
441
|
-
export class
|
|
442
|
-
static readonly
|
|
443
|
-
|
|
444
|
-
readonly
|
|
445
|
-
readonly
|
|
446
|
-
readonly query: Omit<_GetAllRoomMembers, "tx" | "createdAt">;
|
|
447
|
-
declare readonly $res: () => RoomMember[];
|
|
579
|
+
export class CountAllRooms {
|
|
580
|
+
static readonly reportId = "CountAllRooms" as const;
|
|
581
|
+
readonly reportId = "CountAllRooms" as const;
|
|
582
|
+
readonly report: Omit<_CountAllRooms, "tx">;
|
|
583
|
+
declare readonly $res: () => RoomCount;
|
|
448
584
|
|
|
449
|
-
constructor(args: Omit<
|
|
450
|
-
this.
|
|
585
|
+
constructor(args: Omit<_CountAllRooms, "tx">) {
|
|
586
|
+
this.report = args;
|
|
451
587
|
}
|
|
452
588
|
}
|
|
453
589
|
|
|
454
|
-
export class
|
|
455
|
-
static readonly
|
|
456
|
-
|
|
457
|
-
readonly
|
|
458
|
-
readonly
|
|
459
|
-
readonly query: Omit<_GetRoomsByQuery, "tx" | "createdAt">;
|
|
460
|
-
declare readonly $res: () => Room[];
|
|
590
|
+
export class GetSessionNicknameById {
|
|
591
|
+
static readonly reportId = "GetSessionNicknameById" as const;
|
|
592
|
+
readonly reportId = "GetSessionNicknameById" as const;
|
|
593
|
+
readonly report: Omit<_GetSessionNicknameById, "tx">;
|
|
594
|
+
declare readonly $res: () => SessionNickname | null;
|
|
461
595
|
|
|
462
|
-
constructor(args: Omit<
|
|
463
|
-
this.
|
|
596
|
+
constructor(args: Omit<_GetSessionNicknameById, "tx">) {
|
|
597
|
+
this.report = args;
|
|
464
598
|
}
|
|
465
599
|
}
|
|
466
600
|
|
|
467
|
-
export class
|
|
468
|
-
static readonly
|
|
469
|
-
|
|
470
|
-
readonly
|
|
471
|
-
readonly
|
|
472
|
-
readonly query: Omit<_GetRoomsByIds, "tx" | "createdAt">;
|
|
473
|
-
declare readonly $res: () => Room[];
|
|
601
|
+
export class CountSessionNicknames {
|
|
602
|
+
static readonly reportId = "CountSessionNicknames" as const;
|
|
603
|
+
readonly reportId = "CountSessionNicknames" as const;
|
|
604
|
+
readonly report: Omit<_CountSessionNicknames, "tx">;
|
|
605
|
+
declare readonly $res: () => SessionNicknameCount;
|
|
474
606
|
|
|
475
|
-
constructor(args: Omit<
|
|
476
|
-
this.
|
|
607
|
+
constructor(args: Omit<_CountSessionNicknames, "tx">) {
|
|
608
|
+
this.report = args;
|
|
477
609
|
}
|
|
478
610
|
}
|
|
479
611
|
|
|
480
|
-
export class
|
|
481
|
-
static readonly
|
|
482
|
-
|
|
483
|
-
readonly
|
|
484
|
-
readonly
|
|
485
|
-
readonly query: Omit<_GetAllRooms, "tx" | "createdAt">;
|
|
486
|
-
declare readonly $res: () => Room[];
|
|
612
|
+
export class CountAllSessionNicknames {
|
|
613
|
+
static readonly reportId = "CountAllSessionNicknames" as const;
|
|
614
|
+
readonly reportId = "CountAllSessionNicknames" as const;
|
|
615
|
+
readonly report: Omit<_CountAllSessionNicknames, "tx">;
|
|
616
|
+
declare readonly $res: () => SessionNicknameCount;
|
|
487
617
|
|
|
488
|
-
constructor(args: Omit<
|
|
489
|
-
this.
|
|
618
|
+
constructor(args: Omit<_CountAllSessionNicknames, "tx">) {
|
|
619
|
+
this.report = args;
|
|
490
620
|
}
|
|
491
621
|
}
|
|
492
622
|
|
|
493
|
-
// View classes
|
|
494
|
-
|
|
495
|
-
// Report classes
|
|
496
623
|
export class GetSessionById {
|
|
497
624
|
static readonly reportId = "GetSessionById" as const;
|
|
498
625
|
readonly reportId = "GetSessionById" as const;
|
|
@@ -526,68 +653,68 @@ export class CountAllSessions {
|
|
|
526
653
|
}
|
|
527
654
|
}
|
|
528
655
|
|
|
529
|
-
export class
|
|
530
|
-
static readonly reportId = "
|
|
531
|
-
readonly reportId = "
|
|
532
|
-
readonly report: Omit<
|
|
533
|
-
declare readonly $res: () =>
|
|
656
|
+
export class GetWakeWatcherById {
|
|
657
|
+
static readonly reportId = "GetWakeWatcherById" as const;
|
|
658
|
+
readonly reportId = "GetWakeWatcherById" as const;
|
|
659
|
+
readonly report: Omit<_GetWakeWatcherById, "tx">;
|
|
660
|
+
declare readonly $res: () => WakeWatcher | null;
|
|
534
661
|
|
|
535
|
-
constructor(args: Omit<
|
|
662
|
+
constructor(args: Omit<_GetWakeWatcherById, "tx">) {
|
|
536
663
|
this.report = args;
|
|
537
664
|
}
|
|
538
665
|
}
|
|
539
666
|
|
|
540
|
-
export class
|
|
541
|
-
static readonly reportId = "
|
|
542
|
-
readonly reportId = "
|
|
543
|
-
readonly report: Omit<
|
|
544
|
-
declare readonly $res: () =>
|
|
667
|
+
export class CountWakeWatchers {
|
|
668
|
+
static readonly reportId = "CountWakeWatchers" as const;
|
|
669
|
+
readonly reportId = "CountWakeWatchers" as const;
|
|
670
|
+
readonly report: Omit<_CountWakeWatchers, "tx">;
|
|
671
|
+
declare readonly $res: () => WakeWatcherCount;
|
|
545
672
|
|
|
546
|
-
constructor(args: Omit<
|
|
673
|
+
constructor(args: Omit<_CountWakeWatchers, "tx">) {
|
|
547
674
|
this.report = args;
|
|
548
675
|
}
|
|
549
676
|
}
|
|
550
677
|
|
|
551
|
-
export class
|
|
552
|
-
static readonly reportId = "
|
|
553
|
-
readonly reportId = "
|
|
554
|
-
readonly report: Omit<
|
|
555
|
-
declare readonly $res: () =>
|
|
678
|
+
export class CountAllWakeWatchers {
|
|
679
|
+
static readonly reportId = "CountAllWakeWatchers" as const;
|
|
680
|
+
readonly reportId = "CountAllWakeWatchers" as const;
|
|
681
|
+
readonly report: Omit<_CountAllWakeWatchers, "tx">;
|
|
682
|
+
declare readonly $res: () => WakeWatcherCount;
|
|
556
683
|
|
|
557
|
-
constructor(args: Omit<
|
|
684
|
+
constructor(args: Omit<_CountAllWakeWatchers, "tx">) {
|
|
558
685
|
this.report = args;
|
|
559
686
|
}
|
|
560
687
|
}
|
|
561
688
|
|
|
562
|
-
export class
|
|
563
|
-
static readonly reportId = "
|
|
564
|
-
readonly reportId = "
|
|
565
|
-
readonly report: Omit<
|
|
566
|
-
declare readonly $res: () =>
|
|
689
|
+
export class GetRoomMemberById {
|
|
690
|
+
static readonly reportId = "GetRoomMemberById" as const;
|
|
691
|
+
readonly reportId = "GetRoomMemberById" as const;
|
|
692
|
+
readonly report: Omit<_GetRoomMemberById, "tx">;
|
|
693
|
+
declare readonly $res: () => RoomMember | null;
|
|
567
694
|
|
|
568
|
-
constructor(args: Omit<
|
|
695
|
+
constructor(args: Omit<_GetRoomMemberById, "tx">) {
|
|
569
696
|
this.report = args;
|
|
570
697
|
}
|
|
571
698
|
}
|
|
572
699
|
|
|
573
|
-
export class
|
|
574
|
-
static readonly reportId = "
|
|
575
|
-
readonly reportId = "
|
|
576
|
-
readonly report: Omit<
|
|
577
|
-
declare readonly $res: () =>
|
|
700
|
+
export class CountRoomMembers {
|
|
701
|
+
static readonly reportId = "CountRoomMembers" as const;
|
|
702
|
+
readonly reportId = "CountRoomMembers" as const;
|
|
703
|
+
readonly report: Omit<_CountRoomMembers, "tx">;
|
|
704
|
+
declare readonly $res: () => RoomMemberCount;
|
|
578
705
|
|
|
579
|
-
constructor(args: Omit<
|
|
706
|
+
constructor(args: Omit<_CountRoomMembers, "tx">) {
|
|
580
707
|
this.report = args;
|
|
581
708
|
}
|
|
582
709
|
}
|
|
583
710
|
|
|
584
|
-
export class
|
|
585
|
-
static readonly reportId = "
|
|
586
|
-
readonly reportId = "
|
|
587
|
-
readonly report: Omit<
|
|
588
|
-
declare readonly $res: () =>
|
|
711
|
+
export class CountAllRoomMembers {
|
|
712
|
+
static readonly reportId = "CountAllRoomMembers" as const;
|
|
713
|
+
readonly reportId = "CountAllRoomMembers" as const;
|
|
714
|
+
readonly report: Omit<_CountAllRoomMembers, "tx">;
|
|
715
|
+
declare readonly $res: () => RoomMemberCount;
|
|
589
716
|
|
|
590
|
-
constructor(args: Omit<
|
|
717
|
+
constructor(args: Omit<_CountAllRoomMembers, "tx">) {
|
|
591
718
|
this.report = args;
|
|
592
719
|
}
|
|
593
720
|
}
|
|
@@ -625,124 +752,157 @@ export class CountAllMessages {
|
|
|
625
752
|
}
|
|
626
753
|
}
|
|
627
754
|
|
|
628
|
-
export class
|
|
629
|
-
static readonly reportId = "
|
|
630
|
-
readonly reportId = "
|
|
631
|
-
readonly report: Omit<
|
|
632
|
-
declare readonly $res: () =>
|
|
755
|
+
export class GetMessageReadById {
|
|
756
|
+
static readonly reportId = "GetMessageReadById" as const;
|
|
757
|
+
readonly reportId = "GetMessageReadById" as const;
|
|
758
|
+
readonly report: Omit<_GetMessageReadById, "tx">;
|
|
759
|
+
declare readonly $res: () => MessageRead | null;
|
|
633
760
|
|
|
634
|
-
constructor(args: Omit<
|
|
761
|
+
constructor(args: Omit<_GetMessageReadById, "tx">) {
|
|
635
762
|
this.report = args;
|
|
636
763
|
}
|
|
637
764
|
}
|
|
638
765
|
|
|
639
|
-
export class
|
|
640
|
-
static readonly reportId = "
|
|
641
|
-
readonly reportId = "
|
|
642
|
-
readonly report: Omit<
|
|
643
|
-
declare readonly $res: () =>
|
|
766
|
+
export class CountMessageReads {
|
|
767
|
+
static readonly reportId = "CountMessageReads" as const;
|
|
768
|
+
readonly reportId = "CountMessageReads" as const;
|
|
769
|
+
readonly report: Omit<_CountMessageReads, "tx">;
|
|
770
|
+
declare readonly $res: () => MessageReadCount;
|
|
644
771
|
|
|
645
|
-
constructor(args: Omit<
|
|
772
|
+
constructor(args: Omit<_CountMessageReads, "tx">) {
|
|
646
773
|
this.report = args;
|
|
647
774
|
}
|
|
648
775
|
}
|
|
649
776
|
|
|
650
|
-
export class
|
|
651
|
-
static readonly reportId = "
|
|
652
|
-
readonly reportId = "
|
|
653
|
-
readonly report: Omit<
|
|
654
|
-
declare readonly $res: () =>
|
|
777
|
+
export class CountAllMessageReads {
|
|
778
|
+
static readonly reportId = "CountAllMessageReads" as const;
|
|
779
|
+
readonly reportId = "CountAllMessageReads" as const;
|
|
780
|
+
readonly report: Omit<_CountAllMessageReads, "tx">;
|
|
781
|
+
declare readonly $res: () => MessageReadCount;
|
|
655
782
|
|
|
656
|
-
constructor(args: Omit<
|
|
783
|
+
constructor(args: Omit<_CountAllMessageReads, "tx">) {
|
|
657
784
|
this.report = args;
|
|
658
785
|
}
|
|
659
786
|
}
|
|
660
787
|
|
|
661
|
-
export class
|
|
662
|
-
static readonly reportId = "
|
|
663
|
-
readonly reportId = "
|
|
664
|
-
readonly report: Omit<
|
|
665
|
-
declare readonly $res: () =>
|
|
788
|
+
export class GetSandboxRunById {
|
|
789
|
+
static readonly reportId = "GetSandboxRunById" as const;
|
|
790
|
+
readonly reportId = "GetSandboxRunById" as const;
|
|
791
|
+
readonly report: Omit<_GetSandboxRunById, "tx">;
|
|
792
|
+
declare readonly $res: () => SandboxRun | null;
|
|
666
793
|
|
|
667
|
-
constructor(args: Omit<
|
|
794
|
+
constructor(args: Omit<_GetSandboxRunById, "tx">) {
|
|
668
795
|
this.report = args;
|
|
669
796
|
}
|
|
670
797
|
}
|
|
671
798
|
|
|
672
|
-
export class
|
|
673
|
-
static readonly reportId = "
|
|
674
|
-
readonly reportId = "
|
|
675
|
-
readonly report: Omit<
|
|
676
|
-
declare readonly $res: () =>
|
|
799
|
+
export class CountSandboxRuns {
|
|
800
|
+
static readonly reportId = "CountSandboxRuns" as const;
|
|
801
|
+
readonly reportId = "CountSandboxRuns" as const;
|
|
802
|
+
readonly report: Omit<_CountSandboxRuns, "tx">;
|
|
803
|
+
declare readonly $res: () => SandboxRunCount;
|
|
677
804
|
|
|
678
|
-
constructor(args: Omit<
|
|
805
|
+
constructor(args: Omit<_CountSandboxRuns, "tx">) {
|
|
679
806
|
this.report = args;
|
|
680
807
|
}
|
|
681
808
|
}
|
|
682
809
|
|
|
683
|
-
export class
|
|
684
|
-
static readonly reportId = "
|
|
685
|
-
readonly reportId = "
|
|
686
|
-
readonly report: Omit<
|
|
687
|
-
declare readonly $res: () =>
|
|
810
|
+
export class CountAllSandboxRuns {
|
|
811
|
+
static readonly reportId = "CountAllSandboxRuns" as const;
|
|
812
|
+
readonly reportId = "CountAllSandboxRuns" as const;
|
|
813
|
+
readonly report: Omit<_CountAllSandboxRuns, "tx">;
|
|
814
|
+
declare readonly $res: () => SandboxRunCount;
|
|
688
815
|
|
|
689
|
-
constructor(args: Omit<
|
|
816
|
+
constructor(args: Omit<_CountAllSandboxRuns, "tx">) {
|
|
690
817
|
this.report = args;
|
|
691
818
|
}
|
|
692
819
|
}
|
|
693
820
|
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
readonly
|
|
697
|
-
readonly
|
|
698
|
-
|
|
821
|
+
// Command classes
|
|
822
|
+
export class DeleteRoom {
|
|
823
|
+
static readonly commandId = "DeleteRoom" as const;
|
|
824
|
+
readonly commandId = "DeleteRoom" as const;
|
|
825
|
+
readonly command: Omit<_DeleteRoom, "tx" | "createdAt">;
|
|
826
|
+
declare readonly $res: () => DeleteRoomResult;
|
|
699
827
|
|
|
700
|
-
constructor(args: Omit<
|
|
701
|
-
this.
|
|
828
|
+
constructor(args: Omit<_DeleteRoom, "tx" | "createdAt">) {
|
|
829
|
+
this.command = args;
|
|
702
830
|
}
|
|
703
831
|
}
|
|
704
832
|
|
|
705
|
-
export class
|
|
706
|
-
static readonly
|
|
707
|
-
readonly
|
|
708
|
-
readonly
|
|
709
|
-
declare readonly $res: () =>
|
|
833
|
+
export class SetRoomDescription {
|
|
834
|
+
static readonly commandId = "SetRoomDescription" as const;
|
|
835
|
+
readonly commandId = "SetRoomDescription" as const;
|
|
836
|
+
readonly command: Omit<_SetRoomDescription, "tx" | "createdAt">;
|
|
837
|
+
declare readonly $res: () => void;
|
|
838
|
+
|
|
839
|
+
constructor(args: Omit<_SetRoomDescription, "tx" | "createdAt">) {
|
|
840
|
+
this.command = args;
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
export class SetRoomName {
|
|
845
|
+
static readonly commandId = "SetRoomName" as const;
|
|
846
|
+
readonly commandId = "SetRoomName" as const;
|
|
847
|
+
readonly command: Omit<_SetRoomName, "tx" | "createdAt">;
|
|
848
|
+
declare readonly $res: () => void;
|
|
849
|
+
|
|
850
|
+
constructor(args: Omit<_SetRoomName, "tx" | "createdAt">) {
|
|
851
|
+
this.command = args;
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
export class DeleteRooms {
|
|
856
|
+
static readonly commandId = "DeleteRooms" as const;
|
|
857
|
+
readonly commandId = "DeleteRooms" as const;
|
|
858
|
+
readonly command: Omit<_DeleteRooms, "tx" | "createdAt">;
|
|
859
|
+
declare readonly $res: () => DeleteRoomsResult;
|
|
860
|
+
|
|
861
|
+
constructor(args: Omit<_DeleteRooms, "tx" | "createdAt">) {
|
|
862
|
+
this.command = args;
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
export class DeleteSessionNickname {
|
|
867
|
+
static readonly commandId = "DeleteSessionNickname" as const;
|
|
868
|
+
readonly commandId = "DeleteSessionNickname" as const;
|
|
869
|
+
readonly command: Omit<_DeleteSessionNickname, "tx" | "createdAt">;
|
|
870
|
+
declare readonly $res: () => DeleteSessionNicknameResult;
|
|
710
871
|
|
|
711
|
-
constructor(args: Omit<
|
|
712
|
-
this.
|
|
872
|
+
constructor(args: Omit<_DeleteSessionNickname, "tx" | "createdAt">) {
|
|
873
|
+
this.command = args;
|
|
713
874
|
}
|
|
714
875
|
}
|
|
715
876
|
|
|
716
|
-
export class
|
|
717
|
-
static readonly
|
|
718
|
-
readonly
|
|
719
|
-
readonly
|
|
720
|
-
declare readonly $res: () =>
|
|
877
|
+
export class DeleteSessionNicknames {
|
|
878
|
+
static readonly commandId = "DeleteSessionNicknames" as const;
|
|
879
|
+
readonly commandId = "DeleteSessionNicknames" as const;
|
|
880
|
+
readonly command: Omit<_DeleteSessionNicknames, "tx" | "createdAt">;
|
|
881
|
+
declare readonly $res: () => DeleteSessionNicknamesResult;
|
|
721
882
|
|
|
722
|
-
constructor(args: Omit<
|
|
723
|
-
this.
|
|
883
|
+
constructor(args: Omit<_DeleteSessionNicknames, "tx" | "createdAt">) {
|
|
884
|
+
this.command = args;
|
|
724
885
|
}
|
|
725
886
|
}
|
|
726
887
|
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
readonly
|
|
731
|
-
readonly
|
|
732
|
-
declare readonly $res: () => BroadcastMessageResult;
|
|
888
|
+
export class LeaveRoom {
|
|
889
|
+
static readonly commandId = "LeaveRoom" as const;
|
|
890
|
+
readonly commandId = "LeaveRoom" as const;
|
|
891
|
+
readonly command: Omit<_LeaveRoom, "tx" | "createdAt">;
|
|
892
|
+
declare readonly $res: () => LeaveRoomResult;
|
|
733
893
|
|
|
734
|
-
constructor(args: Omit<
|
|
894
|
+
constructor(args: Omit<_LeaveRoom, "tx" | "createdAt">) {
|
|
735
895
|
this.command = args;
|
|
736
896
|
}
|
|
737
897
|
}
|
|
738
898
|
|
|
739
|
-
export class
|
|
740
|
-
static readonly commandId = "
|
|
741
|
-
readonly commandId = "
|
|
742
|
-
readonly command: Omit<
|
|
743
|
-
declare readonly $res: () =>
|
|
899
|
+
export class JoinRoom {
|
|
900
|
+
static readonly commandId = "JoinRoom" as const;
|
|
901
|
+
readonly commandId = "JoinRoom" as const;
|
|
902
|
+
readonly command: Omit<_JoinRoom, "tx" | "createdAt">;
|
|
903
|
+
declare readonly $res: () => JoinRoomResult;
|
|
744
904
|
|
|
745
|
-
constructor(args: Omit<
|
|
905
|
+
constructor(args: Omit<_JoinRoom, "tx" | "createdAt">) {
|
|
746
906
|
this.command = args;
|
|
747
907
|
}
|
|
748
908
|
}
|
|
@@ -769,6 +929,17 @@ export class SetSessionLastTool {
|
|
|
769
929
|
}
|
|
770
930
|
}
|
|
771
931
|
|
|
932
|
+
export class RegisterSession {
|
|
933
|
+
static readonly commandId = "RegisterSession" as const;
|
|
934
|
+
readonly commandId = "RegisterSession" as const;
|
|
935
|
+
readonly command: Omit<_RegisterSession, "tx" | "createdAt">;
|
|
936
|
+
declare readonly $res: () => void;
|
|
937
|
+
|
|
938
|
+
constructor(args: Omit<_RegisterSession, "tx" | "createdAt">) {
|
|
939
|
+
this.command = args;
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
|
|
772
943
|
export class SetSessionLastActivityAt {
|
|
773
944
|
static readonly commandId = "SetSessionLastActivityAt" as const;
|
|
774
945
|
readonly commandId = "SetSessionLastActivityAt" as const;
|
|
@@ -846,68 +1017,57 @@ export class DeleteSession {
|
|
|
846
1017
|
}
|
|
847
1018
|
}
|
|
848
1019
|
|
|
849
|
-
export class
|
|
850
|
-
static readonly commandId = "
|
|
851
|
-
readonly commandId = "
|
|
852
|
-
readonly command: Omit<
|
|
853
|
-
declare readonly $res: () =>
|
|
854
|
-
|
|
855
|
-
constructor(args: Omit<_ReadMessages, "tx" | "createdAt">) {
|
|
856
|
-
this.command = args;
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
export class DeleteMessageRead {
|
|
861
|
-
static readonly commandId = "DeleteMessageRead" as const;
|
|
862
|
-
readonly commandId = "DeleteMessageRead" as const;
|
|
863
|
-
readonly command: Omit<_DeleteMessageRead, "tx" | "createdAt">;
|
|
864
|
-
declare readonly $res: () => DeleteMessageReadResult;
|
|
1020
|
+
export class DeleteWakeWatcher {
|
|
1021
|
+
static readonly commandId = "DeleteWakeWatcher" as const;
|
|
1022
|
+
readonly commandId = "DeleteWakeWatcher" as const;
|
|
1023
|
+
readonly command: Omit<_DeleteWakeWatcher, "tx" | "createdAt">;
|
|
1024
|
+
declare readonly $res: () => DeleteWakeWatcherResult;
|
|
865
1025
|
|
|
866
|
-
constructor(args: Omit<
|
|
1026
|
+
constructor(args: Omit<_DeleteWakeWatcher, "tx" | "createdAt">) {
|
|
867
1027
|
this.command = args;
|
|
868
1028
|
}
|
|
869
1029
|
}
|
|
870
1030
|
|
|
871
|
-
export class
|
|
872
|
-
static readonly commandId = "
|
|
873
|
-
readonly commandId = "
|
|
874
|
-
readonly command: Omit<
|
|
875
|
-
declare readonly $res: () =>
|
|
1031
|
+
export class DeleteWakeWatchers {
|
|
1032
|
+
static readonly commandId = "DeleteWakeWatchers" as const;
|
|
1033
|
+
readonly commandId = "DeleteWakeWatchers" as const;
|
|
1034
|
+
readonly command: Omit<_DeleteWakeWatchers, "tx" | "createdAt">;
|
|
1035
|
+
declare readonly $res: () => DeleteWakeWatchersResult;
|
|
876
1036
|
|
|
877
|
-
constructor(args: Omit<
|
|
1037
|
+
constructor(args: Omit<_DeleteWakeWatchers, "tx" | "createdAt">) {
|
|
878
1038
|
this.command = args;
|
|
879
1039
|
}
|
|
880
1040
|
}
|
|
881
1041
|
|
|
882
|
-
export class
|
|
883
|
-
static readonly commandId = "
|
|
884
|
-
readonly commandId = "
|
|
885
|
-
readonly command: Omit<
|
|
886
|
-
declare readonly $res: () =>
|
|
1042
|
+
export class AckMessages {
|
|
1043
|
+
static readonly commandId = "AckMessages" as const;
|
|
1044
|
+
readonly commandId = "AckMessages" as const;
|
|
1045
|
+
readonly command: Omit<_AckMessages, "tx" | "createdAt">;
|
|
1046
|
+
declare readonly $res: () => AckMessagesResult;
|
|
887
1047
|
|
|
888
|
-
constructor(args: Omit<
|
|
1048
|
+
constructor(args: Omit<_AckMessages, "tx" | "createdAt">) {
|
|
889
1049
|
this.command = args;
|
|
890
1050
|
}
|
|
891
1051
|
}
|
|
892
1052
|
|
|
893
|
-
export class
|
|
894
|
-
static readonly commandId = "
|
|
895
|
-
readonly commandId = "
|
|
896
|
-
readonly command: Omit<
|
|
897
|
-
declare readonly $res: () =>
|
|
1053
|
+
export class DeleteRoomMember {
|
|
1054
|
+
static readonly commandId = "DeleteRoomMember" as const;
|
|
1055
|
+
readonly commandId = "DeleteRoomMember" as const;
|
|
1056
|
+
readonly command: Omit<_DeleteRoomMember, "tx" | "createdAt">;
|
|
1057
|
+
declare readonly $res: () => DeleteRoomMemberResult;
|
|
898
1058
|
|
|
899
|
-
constructor(args: Omit<
|
|
1059
|
+
constructor(args: Omit<_DeleteRoomMember, "tx" | "createdAt">) {
|
|
900
1060
|
this.command = args;
|
|
901
1061
|
}
|
|
902
1062
|
}
|
|
903
1063
|
|
|
904
|
-
export class
|
|
905
|
-
static readonly commandId = "
|
|
906
|
-
readonly commandId = "
|
|
907
|
-
readonly command: Omit<
|
|
908
|
-
declare readonly $res: () =>
|
|
1064
|
+
export class DeleteRoomMembers {
|
|
1065
|
+
static readonly commandId = "DeleteRoomMembers" as const;
|
|
1066
|
+
readonly commandId = "DeleteRoomMembers" as const;
|
|
1067
|
+
readonly command: Omit<_DeleteRoomMembers, "tx" | "createdAt">;
|
|
1068
|
+
declare readonly $res: () => DeleteRoomMembersResult;
|
|
909
1069
|
|
|
910
|
-
constructor(args: Omit<
|
|
1070
|
+
constructor(args: Omit<_DeleteRoomMembers, "tx" | "createdAt">) {
|
|
911
1071
|
this.command = args;
|
|
912
1072
|
}
|
|
913
1073
|
}
|
|
@@ -934,147 +1094,115 @@ export class DeleteMessages {
|
|
|
934
1094
|
}
|
|
935
1095
|
}
|
|
936
1096
|
|
|
937
|
-
export class
|
|
938
|
-
static readonly commandId = "
|
|
939
|
-
readonly commandId = "
|
|
940
|
-
readonly command: Omit<
|
|
941
|
-
declare readonly $res: () =>
|
|
942
|
-
|
|
943
|
-
constructor(args: Omit<_NotifyChannel, "tx" | "createdAt">) {
|
|
944
|
-
this.command = args;
|
|
945
|
-
}
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
export class DeleteSessionNickname {
|
|
949
|
-
static readonly commandId = "DeleteSessionNickname" as const;
|
|
950
|
-
readonly commandId = "DeleteSessionNickname" as const;
|
|
951
|
-
readonly command: Omit<_DeleteSessionNickname, "tx" | "createdAt">;
|
|
952
|
-
declare readonly $res: () => DeleteSessionNicknameResult;
|
|
953
|
-
|
|
954
|
-
constructor(args: Omit<_DeleteSessionNickname, "tx" | "createdAt">) {
|
|
955
|
-
this.command = args;
|
|
956
|
-
}
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
export class DeleteSessionNicknames {
|
|
960
|
-
static readonly commandId = "DeleteSessionNicknames" as const;
|
|
961
|
-
readonly commandId = "DeleteSessionNicknames" as const;
|
|
962
|
-
readonly command: Omit<_DeleteSessionNicknames, "tx" | "createdAt">;
|
|
963
|
-
declare readonly $res: () => DeleteSessionNicknamesResult;
|
|
1097
|
+
export class DeleteMessageRead {
|
|
1098
|
+
static readonly commandId = "DeleteMessageRead" as const;
|
|
1099
|
+
readonly commandId = "DeleteMessageRead" as const;
|
|
1100
|
+
readonly command: Omit<_DeleteMessageRead, "tx" | "createdAt">;
|
|
1101
|
+
declare readonly $res: () => DeleteMessageReadResult;
|
|
964
1102
|
|
|
965
|
-
constructor(args: Omit<
|
|
1103
|
+
constructor(args: Omit<_DeleteMessageRead, "tx" | "createdAt">) {
|
|
966
1104
|
this.command = args;
|
|
967
1105
|
}
|
|
968
1106
|
}
|
|
969
1107
|
|
|
970
|
-
export class
|
|
971
|
-
static readonly commandId = "
|
|
972
|
-
readonly commandId = "
|
|
973
|
-
readonly command: Omit<
|
|
974
|
-
declare readonly $res: () =>
|
|
1108
|
+
export class DeleteMessageReads {
|
|
1109
|
+
static readonly commandId = "DeleteMessageReads" as const;
|
|
1110
|
+
readonly commandId = "DeleteMessageReads" as const;
|
|
1111
|
+
readonly command: Omit<_DeleteMessageReads, "tx" | "createdAt">;
|
|
1112
|
+
declare readonly $res: () => DeleteMessageReadsResult;
|
|
975
1113
|
|
|
976
|
-
constructor(args: Omit<
|
|
1114
|
+
constructor(args: Omit<_DeleteMessageReads, "tx" | "createdAt">) {
|
|
977
1115
|
this.command = args;
|
|
978
1116
|
}
|
|
979
1117
|
}
|
|
980
1118
|
|
|
981
|
-
export class
|
|
982
|
-
static readonly commandId = "
|
|
983
|
-
readonly commandId = "
|
|
984
|
-
readonly command: Omit<
|
|
985
|
-
declare readonly $res: () =>
|
|
1119
|
+
export class BroadcastMessage {
|
|
1120
|
+
static readonly commandId = "BroadcastMessage" as const;
|
|
1121
|
+
readonly commandId = "BroadcastMessage" as const;
|
|
1122
|
+
readonly command: Omit<_BroadcastMessage, "tx" | "createdAt">;
|
|
1123
|
+
declare readonly $res: () => BroadcastMessageResult;
|
|
986
1124
|
|
|
987
|
-
constructor(args: Omit<
|
|
1125
|
+
constructor(args: Omit<_BroadcastMessage, "tx" | "createdAt">) {
|
|
988
1126
|
this.command = args;
|
|
989
1127
|
}
|
|
990
1128
|
}
|
|
991
1129
|
|
|
992
|
-
export class
|
|
993
|
-
static readonly commandId = "
|
|
994
|
-
readonly commandId = "
|
|
995
|
-
readonly command: Omit<
|
|
996
|
-
declare readonly $res: () =>
|
|
1130
|
+
export class ReadMessages {
|
|
1131
|
+
static readonly commandId = "ReadMessages" as const;
|
|
1132
|
+
readonly commandId = "ReadMessages" as const;
|
|
1133
|
+
readonly command: Omit<_ReadMessages, "tx" | "createdAt">;
|
|
1134
|
+
declare readonly $res: () => ReadMessagesResult;
|
|
997
1135
|
|
|
998
|
-
constructor(args: Omit<
|
|
1136
|
+
constructor(args: Omit<_ReadMessages, "tx" | "createdAt">) {
|
|
999
1137
|
this.command = args;
|
|
1000
1138
|
}
|
|
1001
1139
|
}
|
|
1002
1140
|
|
|
1003
|
-
export class
|
|
1004
|
-
static readonly commandId = "
|
|
1005
|
-
readonly commandId = "
|
|
1006
|
-
readonly command: Omit<
|
|
1007
|
-
declare readonly $res: () =>
|
|
1141
|
+
export class SendMessage {
|
|
1142
|
+
static readonly commandId = "SendMessage" as const;
|
|
1143
|
+
readonly commandId = "SendMessage" as const;
|
|
1144
|
+
readonly command: Omit<_SendMessage, "tx" | "createdAt">;
|
|
1145
|
+
declare readonly $res: () => SendMessageResult;
|
|
1008
1146
|
|
|
1009
|
-
constructor(args: Omit<
|
|
1147
|
+
constructor(args: Omit<_SendMessage, "tx" | "createdAt">) {
|
|
1010
1148
|
this.command = args;
|
|
1011
1149
|
}
|
|
1012
1150
|
}
|
|
1013
1151
|
|
|
1014
|
-
export class
|
|
1015
|
-
static readonly commandId = "
|
|
1016
|
-
readonly commandId = "
|
|
1017
|
-
readonly command: Omit<
|
|
1018
|
-
declare readonly $res: () =>
|
|
1152
|
+
export class ImportSandboxRun {
|
|
1153
|
+
static readonly commandId = "ImportSandboxRun" as const;
|
|
1154
|
+
readonly commandId = "ImportSandboxRun" as const;
|
|
1155
|
+
readonly command: Omit<_ImportSandboxRun, "tx" | "createdAt">;
|
|
1156
|
+
declare readonly $res: () => SandboxRunId;
|
|
1019
1157
|
|
|
1020
|
-
constructor(args: Omit<
|
|
1158
|
+
constructor(args: Omit<_ImportSandboxRun, "tx" | "createdAt">) {
|
|
1021
1159
|
this.command = args;
|
|
1022
1160
|
}
|
|
1023
1161
|
}
|
|
1024
1162
|
|
|
1025
|
-
export class
|
|
1026
|
-
static readonly commandId = "
|
|
1027
|
-
readonly commandId = "
|
|
1028
|
-
readonly command: Omit<
|
|
1029
|
-
declare readonly $res: () =>
|
|
1163
|
+
export class DeleteSandboxRuns {
|
|
1164
|
+
static readonly commandId = "DeleteSandboxRuns" as const;
|
|
1165
|
+
readonly commandId = "DeleteSandboxRuns" as const;
|
|
1166
|
+
readonly command: Omit<_DeleteSandboxRuns, "tx" | "createdAt">;
|
|
1167
|
+
declare readonly $res: () => DeleteSandboxRunsResult;
|
|
1030
1168
|
|
|
1031
|
-
constructor(args: Omit<
|
|
1169
|
+
constructor(args: Omit<_DeleteSandboxRuns, "tx" | "createdAt">) {
|
|
1032
1170
|
this.command = args;
|
|
1033
1171
|
}
|
|
1034
1172
|
}
|
|
1035
1173
|
|
|
1036
|
-
export class
|
|
1037
|
-
static readonly commandId = "
|
|
1038
|
-
readonly commandId = "
|
|
1039
|
-
readonly command: Omit<
|
|
1040
|
-
declare readonly $res: () =>
|
|
1174
|
+
export class DeleteSandboxRun {
|
|
1175
|
+
static readonly commandId = "DeleteSandboxRun" as const;
|
|
1176
|
+
readonly commandId = "DeleteSandboxRun" as const;
|
|
1177
|
+
readonly command: Omit<_DeleteSandboxRun, "tx" | "createdAt">;
|
|
1178
|
+
declare readonly $res: () => DeleteSandboxRunResult;
|
|
1041
1179
|
|
|
1042
|
-
constructor(args: Omit<
|
|
1180
|
+
constructor(args: Omit<_DeleteSandboxRun, "tx" | "createdAt">) {
|
|
1043
1181
|
this.command = args;
|
|
1044
1182
|
}
|
|
1045
1183
|
}
|
|
1046
1184
|
|
|
1047
|
-
export class
|
|
1048
|
-
static readonly commandId = "
|
|
1049
|
-
readonly commandId = "
|
|
1050
|
-
readonly command: Omit<
|
|
1185
|
+
export class NotifyChannel {
|
|
1186
|
+
static readonly commandId = "NotifyChannel" as const;
|
|
1187
|
+
readonly commandId = "NotifyChannel" as const;
|
|
1188
|
+
readonly command: Omit<_NotifyChannel, "tx" | "createdAt">;
|
|
1051
1189
|
declare readonly $res: () => void;
|
|
1052
1190
|
|
|
1053
|
-
constructor(args: Omit<
|
|
1054
|
-
this.command = args;
|
|
1055
|
-
}
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
export class DeleteRooms {
|
|
1059
|
-
static readonly commandId = "DeleteRooms" as const;
|
|
1060
|
-
readonly commandId = "DeleteRooms" as const;
|
|
1061
|
-
readonly command: Omit<_DeleteRooms, "tx" | "createdAt">;
|
|
1062
|
-
declare readonly $res: () => DeleteRoomsResult;
|
|
1063
|
-
|
|
1064
|
-
constructor(args: Omit<_DeleteRooms, "tx" | "createdAt">) {
|
|
1191
|
+
constructor(args: Omit<_NotifyChannel, "tx" | "createdAt">) {
|
|
1065
1192
|
this.command = args;
|
|
1066
1193
|
}
|
|
1067
1194
|
}
|
|
1068
1195
|
|
|
1069
1196
|
// Item constructors
|
|
1070
1197
|
export const items = {
|
|
1198
|
+
Room: (args: Room) => ({ item: args, itemType: "Room" }),
|
|
1199
|
+
SessionNickname: (args: SessionNickname) => ({ item: args, itemType: "SessionNickname" }),
|
|
1071
1200
|
Session: (args: Session) => ({ item: args, itemType: "Session" }),
|
|
1201
|
+
WakeWatcher: (args: WakeWatcher) => ({ item: args, itemType: "WakeWatcher" }),
|
|
1202
|
+
RoomMember: (args: RoomMember) => ({ item: args, itemType: "RoomMember" }),
|
|
1203
|
+
Message: (args: Message) => ({ item: args, itemType: "Message" }),
|
|
1072
1204
|
MessageRead: (args: MessageRead) => ({ item: args, itemType: "MessageRead" }),
|
|
1073
1205
|
SandboxRun: (args: SandboxRun) => ({ item: args, itemType: "SandboxRun" }),
|
|
1074
|
-
Message: (args: Message) => ({ item: args, itemType: "Message" }),
|
|
1075
|
-
SessionNickname: (args: SessionNickname) => ({ item: args, itemType: "SessionNickname" }),
|
|
1076
|
-
RoomMember: (args: RoomMember) => ({ item: args, itemType: "RoomMember" }),
|
|
1077
|
-
Room: (args: Room) => ({ item: args, itemType: "Room" }),
|
|
1078
1206
|
};
|
|
1079
1207
|
|
|
1080
1208
|
// Message events
|