@agent-marshal/marshal-prime-agent 0.49.5 → 0.49.9

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.
Files changed (174) hide show
  1. package/package.json +1 -1
  2. package/src/generated/CountAllMessageReads.ts +1 -1
  3. package/src/generated/CountAllMessages.ts +1 -1
  4. package/src/generated/CountAllRoomMembers.ts +1 -1
  5. package/src/generated/CountAllRooms.ts +1 -1
  6. package/src/generated/CountAllSessionNicknames.ts +1 -1
  7. package/src/generated/CountAllSessions.ts +1 -1
  8. package/src/generated/CountMessageReads.ts +2 -2
  9. package/src/generated/CountMessages.ts +2 -2
  10. package/src/generated/CountRoomMembers.ts +2 -2
  11. package/src/generated/CountRooms.ts +2 -2
  12. package/src/generated/CountSessionNicknames.ts +2 -2
  13. package/src/generated/CountSessions.ts +2 -2
  14. package/src/generated/DeleteMessage.ts +0 -3
  15. package/src/generated/DeleteMessageRead.ts +0 -3
  16. package/src/generated/DeleteMessageReadResult.ts +0 -3
  17. package/src/generated/DeleteMessageReads.ts +0 -3
  18. package/src/generated/DeleteMessageReadsResult.ts +0 -3
  19. package/src/generated/DeleteMessageResult.ts +0 -3
  20. package/src/generated/DeleteMessages.ts +0 -3
  21. package/src/generated/DeleteMessagesResult.ts +0 -3
  22. package/src/generated/DeleteRoom.ts +0 -3
  23. package/src/generated/DeleteRoomMember.ts +0 -3
  24. package/src/generated/DeleteRoomMemberResult.ts +0 -3
  25. package/src/generated/DeleteRoomMembers.ts +0 -3
  26. package/src/generated/DeleteRoomMembersResult.ts +0 -3
  27. package/src/generated/DeleteRoomResult.ts +0 -3
  28. package/src/generated/DeleteRooms.ts +0 -3
  29. package/src/generated/DeleteRoomsResult.ts +0 -3
  30. package/src/generated/DeleteSession.ts +0 -3
  31. package/src/generated/DeleteSessionNickname.ts +0 -3
  32. package/src/generated/DeleteSessionNicknameResult.ts +0 -3
  33. package/src/generated/DeleteSessionNicknames.ts +0 -3
  34. package/src/generated/DeleteSessionNicknamesResult.ts +0 -3
  35. package/src/generated/DeleteSessionResult.ts +0 -3
  36. package/src/generated/DeleteSessions.ts +0 -3
  37. package/src/generated/DeleteSessionsResult.ts +0 -3
  38. package/src/generated/GetAllMessageReads.ts +1 -1
  39. package/src/generated/GetAllMessages.ts +1 -1
  40. package/src/generated/GetAllRoomMembers.ts +1 -1
  41. package/src/generated/GetAllRooms.ts +1 -1
  42. package/src/generated/GetAllSessionNicknames.ts +1 -1
  43. package/src/generated/GetAllSessions.ts +1 -1
  44. package/src/generated/GetMessageReadsByQuery.ts +2 -2
  45. package/src/generated/GetMessagesByQuery.ts +2 -2
  46. package/src/generated/GetRoomMembersByQuery.ts +2 -2
  47. package/src/generated/GetRoomsByQuery.ts +2 -2
  48. package/src/generated/GetSessionNicknamesByQuery.ts +2 -2
  49. package/src/generated/GetSessionsByQuery.ts +2 -2
  50. package/src/generated/{GetAllServers.ts → IdFilter.ts} +1 -1
  51. package/src/generated/MessageQuery.ts +9 -0
  52. package/src/generated/MessageReadQuery.ts +8 -0
  53. package/src/generated/{CommandError.ts → NumericFilter.ts} +1 -1
  54. package/src/generated/RoomMemberQuery.ts +8 -0
  55. package/src/generated/RoomQuery.ts +8 -0
  56. package/src/generated/SessionNicknameQuery.ts +6 -0
  57. package/src/generated/SessionQuery.ts +9 -0
  58. package/src/generated/SetRoomDescription.ts +1 -1
  59. package/src/generated/SetRoomDescriptionArgs.ts +1 -1
  60. package/src/generated/SetSessionActivity.ts +1 -1
  61. package/src/generated/SetSessionActivityArgs.ts +1 -1
  62. package/src/generated/SetSessionCurrentTask.ts +1 -1
  63. package/src/generated/SetSessionCurrentTaskArgs.ts +1 -1
  64. package/src/generated/SetSessionGitBranch.ts +1 -1
  65. package/src/generated/SetSessionGitBranchArgs.ts +1 -1
  66. package/src/generated/SetSessionLastActivityAt.ts +1 -1
  67. package/src/generated/SetSessionLastActivityAtArgs.ts +1 -1
  68. package/src/generated/SetSessionLastTool.ts +1 -1
  69. package/src/generated/SetSessionLastToolArgs.ts +1 -1
  70. package/src/generated/SetSessionLastToolAt.ts +1 -1
  71. package/src/generated/SetSessionLastToolAtArgs.ts +1 -1
  72. package/src/generated/SetSessionSessionName.ts +1 -1
  73. package/src/generated/SetSessionSessionNameArgs.ts +1 -1
  74. package/src/generated/StringFilter.ts +3 -0
  75. package/src/generated/{ServerId.ts → Unfilterable.ts} +1 -1
  76. package/src/generated/index.ts +287 -372
  77. package/src/generated/serde_json/JsonValue.ts +1 -1
  78. package/src/generated/CancelSubscription.ts +0 -6
  79. package/src/generated/ChildEntities.ts +0 -6
  80. package/src/generated/ChildEntitiesAllTime.ts +0 -6
  81. package/src/generated/ClearClientWindbackTime.ts +0 -7
  82. package/src/generated/ClearClientWindbackTimeArgs.ts +0 -3
  83. package/src/generated/Client.ts +0 -14
  84. package/src/generated/ClientCount.ts +0 -3
  85. package/src/generated/ClientStatus.ts +0 -7
  86. package/src/generated/ClientStatusOutput.ts +0 -3
  87. package/src/generated/CommandResponse.ts +0 -4
  88. package/src/generated/CountAllClients.ts +0 -3
  89. package/src/generated/CountAllServers.ts +0 -3
  90. package/src/generated/CountClients.ts +0 -4
  91. package/src/generated/CountServers.ts +0 -4
  92. package/src/generated/DeleteClient.ts +0 -7
  93. package/src/generated/DeleteClientArgs.ts +0 -4
  94. package/src/generated/DeleteClientResult.ts +0 -6
  95. package/src/generated/DeleteClients.ts +0 -7
  96. package/src/generated/DeleteClientsArgs.ts +0 -4
  97. package/src/generated/DeleteClientsResult.ts +0 -6
  98. package/src/generated/DeleteServer.ts +0 -7
  99. package/src/generated/DeleteServerArgs.ts +0 -4
  100. package/src/generated/DeleteServerResult.ts +0 -6
  101. package/src/generated/DeleteServers.ts +0 -7
  102. package/src/generated/DeleteServersArgs.ts +0 -4
  103. package/src/generated/DeleteServersResult.ts +0 -6
  104. package/src/generated/EntitySearch.ts +0 -21
  105. package/src/generated/EntitySearchResult.ts +0 -10
  106. package/src/generated/EntitySnapshotDifference.ts +0 -6
  107. package/src/generated/EntitySnapshotDifferenceData.ts +0 -7
  108. package/src/generated/EntityTreeExport.ts +0 -27
  109. package/src/generated/EventContainer.ts +0 -7
  110. package/src/generated/EventOptions.ts +0 -11
  111. package/src/generated/EventsForTransaction.ts +0 -6
  112. package/src/generated/ExportEntityTree.ts +0 -24
  113. package/src/generated/ExportedEntity.ts +0 -15
  114. package/src/generated/FullChildEntities.ts +0 -6
  115. package/src/generated/GetAllClients.ts +0 -3
  116. package/src/generated/GetClientById.ts +0 -4
  117. package/src/generated/GetClientsByIds.ts +0 -4
  118. package/src/generated/GetClientsByQuery.ts +0 -4
  119. package/src/generated/GetConnectedServer.ts +0 -3
  120. package/src/generated/GetItemsByTypeAndIds.ts +0 -14
  121. package/src/generated/GetPeerServers.ts +0 -3
  122. package/src/generated/GetPersistHealth.ts +0 -8
  123. package/src/generated/GetServerById.ts +0 -4
  124. package/src/generated/GetServersByIds.ts +0 -4
  125. package/src/generated/GetServersByQuery.ts +0 -4
  126. package/src/generated/ImportItems.ts +0 -19
  127. package/src/generated/ImportItemsArgs.ts +0 -13
  128. package/src/generated/ItemStub.ts +0 -7
  129. package/src/generated/LogLevel.ts +0 -6
  130. package/src/generated/Loggers.ts +0 -6
  131. package/src/generated/MEvent.ts +0 -5
  132. package/src/generated/MEventType.ts +0 -3
  133. package/src/generated/MykoMessage.ts +0 -19
  134. package/src/generated/PartialClient.ts +0 -14
  135. package/src/generated/PartialMessage.ts +0 -60
  136. package/src/generated/PartialMessageRead.ts +0 -10
  137. package/src/generated/PartialRoom.ts +0 -23
  138. package/src/generated/PartialRoomMember.ts +0 -13
  139. package/src/generated/PartialServer.ts +0 -4
  140. package/src/generated/PartialSession.ts +0 -130
  141. package/src/generated/PartialSessionNickname.ts +0 -9
  142. package/src/generated/PeerAlive.ts +0 -7
  143. package/src/generated/PersistHealthStatus.ts +0 -34
  144. package/src/generated/PingData.ts +0 -14
  145. package/src/generated/QueryError.ts +0 -3
  146. package/src/generated/QueryWindow.ts +0 -3
  147. package/src/generated/QueryWindowUpdate.ts +0 -4
  148. package/src/generated/ReportError.ts +0 -3
  149. package/src/generated/ReportResponse.ts +0 -4
  150. package/src/generated/SearchServer.ts +0 -8
  151. package/src/generated/SearchServerResult.ts +0 -4
  152. package/src/generated/Server.ts +0 -4
  153. package/src/generated/ServerCount.ts +0 -3
  154. package/src/generated/ServerLogLevel.ts +0 -6
  155. package/src/generated/ServerStats.ts +0 -27
  156. package/src/generated/ServerStatsOutput.ts +0 -20
  157. package/src/generated/SetClientWindbackTime.ts +0 -11
  158. package/src/generated/SetClientWindbackTimeArgs.ts +0 -7
  159. package/src/generated/SetLogLevel.ts +0 -7
  160. package/src/generated/SetLogLevelArgs.ts +0 -4
  161. package/src/generated/StartProfile.ts +0 -10
  162. package/src/generated/StartProfileArgs.ts +0 -7
  163. package/src/generated/StopProfile.ts +0 -6
  164. package/src/generated/StopProfileArgs.ts +0 -3
  165. package/src/generated/StopProfileOutput.ts +0 -14
  166. package/src/generated/ViewError.ts +0 -3
  167. package/src/generated/ViewWindowUpdate.ts +0 -4
  168. package/src/generated/WindbackStatus.ts +0 -3
  169. package/src/generated/WindbackStatusOutput.ts +0 -11
  170. package/src/generated/WrappedCommand.ts +0 -4
  171. package/src/generated/WrappedItem.ts +0 -7
  172. package/src/generated/WrappedQuery.ts +0 -5
  173. package/src/generated/WrappedReport.ts +0 -4
  174. package/src/generated/WrappedView.ts +0 -5
@@ -4,34 +4,17 @@
4
4
  /** Entity identifier type. In Rust this is Arc<str>, serialized as string. */
5
5
  export type ID = string;
6
6
 
7
+ // Graph schema and typed endpoint helpers
8
+ export const graphSchema = { categories: {}, memberships: [], edges: {} } as const;
9
+ export type GraphEdgeType = never;
10
+
7
11
  // Re-export ts-rs generated types
8
12
  export type { AckMessagesArgs } from "./AckMessagesArgs";
9
13
  export type { AckMessagesResult } from "./AckMessagesResult";
10
14
  export type { AutoSource } from "./AutoSource";
11
15
  export type { BroadcastMessageArgs } from "./BroadcastMessageArgs";
12
16
  export type { BroadcastMessageResult } from "./BroadcastMessageResult";
13
- export type { CancelSubscription } from "./CancelSubscription";
14
- export type { ChildEntities } from "./ChildEntities";
15
- export type { ChildEntitiesAllTime } from "./ChildEntitiesAllTime";
16
- export type { ClearClientWindbackTime } from "./ClearClientWindbackTime";
17
- export type { ClearClientWindbackTimeArgs } from "./ClearClientWindbackTimeArgs";
18
- export type { Client } from "./Client";
19
- export type { ClientCount } from "./ClientCount";
20
17
  export type { ClientId } from "./ClientId";
21
- export type { ClientStatus } from "./ClientStatus";
22
- export type { ClientStatusOutput } from "./ClientStatusOutput";
23
- export type { CommandError } from "./CommandError";
24
- export type { CommandResponse } from "./CommandResponse";
25
- export type { CountAllClients } from "./CountAllClients";
26
- export type { CountAllServers } from "./CountAllServers";
27
- export type { CountClients } from "./CountClients";
28
- export type { CountServers } from "./CountServers";
29
- export type { DeleteClient } from "./DeleteClient";
30
- export type { DeleteClientArgs } from "./DeleteClientArgs";
31
- export type { DeleteClientResult } from "./DeleteClientResult";
32
- export type { DeleteClients } from "./DeleteClients";
33
- export type { DeleteClientsArgs } from "./DeleteClientsArgs";
34
- export type { DeleteClientsResult } from "./DeleteClientsResult";
35
18
  export type { DeleteMessageArgs } from "./DeleteMessageArgs";
36
19
  export type { DeleteMessageReadArgs } from "./DeleteMessageReadArgs";
37
20
  export type { DeleteMessageReadResult } from "./DeleteMessageReadResult";
@@ -48,12 +31,6 @@ export type { DeleteRoomMembersResult } from "./DeleteRoomMembersResult";
48
31
  export type { DeleteRoomResult } from "./DeleteRoomResult";
49
32
  export type { DeleteRoomsArgs } from "./DeleteRoomsArgs";
50
33
  export type { DeleteRoomsResult } from "./DeleteRoomsResult";
51
- export type { DeleteServer } from "./DeleteServer";
52
- export type { DeleteServerArgs } from "./DeleteServerArgs";
53
- export type { DeleteServerResult } from "./DeleteServerResult";
54
- export type { DeleteServers } from "./DeleteServers";
55
- export type { DeleteServersArgs } from "./DeleteServersArgs";
56
- export type { DeleteServersResult } from "./DeleteServersResult";
57
34
  export type { DeleteSessionArgs } from "./DeleteSessionArgs";
58
35
  export type { DeleteSessionNicknameArgs } from "./DeleteSessionNicknameArgs";
59
36
  export type { DeleteSessionNicknameResult } from "./DeleteSessionNicknameResult";
@@ -63,70 +40,27 @@ export type { DeleteSessionResult } from "./DeleteSessionResult";
63
40
  export type { DeleteSessionsArgs } from "./DeleteSessionsArgs";
64
41
  export type { DeleteSessionsResult } from "./DeleteSessionsResult";
65
42
  export type { DeliveredRecipient } from "./DeliveredRecipient";
66
- export type { EntitySearch } from "./EntitySearch";
67
- export type { EntitySearchResult } from "./EntitySearchResult";
68
- export type { EntitySnapshotDifference } from "./EntitySnapshotDifference";
69
- export type { EntitySnapshotDifferenceData } from "./EntitySnapshotDifferenceData";
70
- export type { EntityTreeExport } from "./EntityTreeExport";
71
- export type { EventContainer } from "./EventContainer";
72
- export type { EventOptions } from "./EventOptions";
73
- export type { EventsForTransaction } from "./EventsForTransaction";
74
- export type { ExportedEntity } from "./ExportedEntity";
75
- export type { ExportEntityTree } from "./ExportEntityTree";
76
43
  export type { FailedRecipient } from "./FailedRecipient";
77
- export type { FullChildEntities } from "./FullChildEntities";
78
- export type { GetAllClients } from "./GetAllClients";
79
- export type { GetAllServers } from "./GetAllServers";
80
- export type { GetClientById } from "./GetClientById";
81
- export type { GetClientsByIds } from "./GetClientsByIds";
82
- export type { GetClientsByQuery } from "./GetClientsByQuery";
83
- export type { GetConnectedServer } from "./GetConnectedServer";
84
- export type { GetItemsByTypeAndIds } from "./GetItemsByTypeAndIds";
85
- export type { GetPeerServers } from "./GetPeerServers";
86
- export type { GetPersistHealth } from "./GetPersistHealth";
87
- export type { GetServerById } from "./GetServerById";
88
- export type { GetServersByIds } from "./GetServersByIds";
89
- export type { GetServersByQuery } from "./GetServersByQuery";
90
44
  export type { HostInfo } from "./HostInfo";
91
- export type { ImportItems } from "./ImportItems";
92
- export type { ImportItemsArgs } from "./ImportItemsArgs";
93
- export type { ItemStub } from "./ItemStub";
45
+ export type { IdFilter } from "./IdFilter";
94
46
  export type { JoinRoomArgs } from "./JoinRoomArgs";
95
47
  export type { JoinRoomResult } from "./JoinRoomResult";
96
48
  export type { LeaveRoomArgs } from "./LeaveRoomArgs";
97
49
  export type { LeaveRoomResult } from "./LeaveRoomResult";
98
50
  export type { LivePushStatus } from "./LivePushStatus";
99
- export type { Loggers } from "./Loggers";
100
- export type { LogLevel } from "./LogLevel";
101
51
  export type { Message } from "./Message";
102
52
  export type { MessageCount } from "./MessageCount";
103
53
  export type { MessageId } from "./MessageId";
54
+ export type { MessageQuery } from "./MessageQuery";
104
55
  export type { MessageRead } from "./MessageRead";
105
56
  export type { MessageReadCount } from "./MessageReadCount";
106
57
  export type { MessageReadId } from "./MessageReadId";
58
+ export type { MessageReadQuery } from "./MessageReadQuery";
107
59
  export type { MessageView } from "./MessageView";
108
- export type { MEvent } from "./MEvent";
109
- export type { MEventType } from "./MEventType";
110
- export type { MykoMessage } from "./MykoMessage";
111
60
  export type { NotifyChannelArgs } from "./NotifyChannelArgs";
112
- export type { PartialClient } from "./PartialClient";
113
- export type { PartialMessage } from "./PartialMessage";
114
- export type { PartialMessageRead } from "./PartialMessageRead";
115
- export type { PartialRoom } from "./PartialRoom";
116
- export type { PartialRoomMember } from "./PartialRoomMember";
117
- export type { PartialServer } from "./PartialServer";
118
- export type { PartialSession } from "./PartialSession";
119
- export type { PartialSessionNickname } from "./PartialSessionNickname";
120
- export type { PeerAlive } from "./PeerAlive";
121
- export type { PersistHealthStatus } from "./PersistHealthStatus";
122
- export type { PingData } from "./PingData";
123
- export type { QueryError } from "./QueryError";
124
- export type { QueryWindow } from "./QueryWindow";
125
- export type { QueryWindowUpdate } from "./QueryWindowUpdate";
61
+ export type { NumericFilter } from "./NumericFilter";
126
62
  export type { ReadMessagesArgs } from "./ReadMessagesArgs";
127
63
  export type { ReadMessagesResult } from "./ReadMessagesResult";
128
- export type { ReportError } from "./ReportError";
129
- export type { ReportResponse } from "./ReportResponse";
130
64
  export type { Room } from "./Room";
131
65
  export type { RoomCount } from "./RoomCount";
132
66
  export type { RoomId } from "./RoomId";
@@ -134,27 +68,19 @@ export type { RoomKind } from "./RoomKind";
134
68
  export type { RoomMember } from "./RoomMember";
135
69
  export type { RoomMemberCount } from "./RoomMemberCount";
136
70
  export type { RoomMemberId } from "./RoomMemberId";
137
- export type { SearchServer } from "./SearchServer";
138
- export type { SearchServerResult } from "./SearchServerResult";
71
+ export type { RoomMemberQuery } from "./RoomMemberQuery";
72
+ export type { RoomQuery } from "./RoomQuery";
139
73
  export type { SendMessageArgs } from "./SendMessageArgs";
140
74
  export type { SendMessageResult } from "./SendMessageResult";
141
75
  export * from "./serde_json/JsonValue";
142
- export type { Server } from "./Server";
143
- export type { ServerCount } from "./ServerCount";
144
- export type { ServerId } from "./ServerId";
145
- export type { ServerLogLevel } from "./ServerLogLevel";
146
- export type { ServerStats } from "./ServerStats";
147
- export type { ServerStatsOutput } from "./ServerStatsOutput";
148
76
  export type { Session } from "./Session";
149
77
  export type { SessionCount } from "./SessionCount";
150
78
  export type { SessionId } from "./SessionId";
151
79
  export type { SessionNickname } from "./SessionNickname";
152
80
  export type { SessionNicknameCount } from "./SessionNicknameCount";
153
81
  export type { SessionNicknameId } from "./SessionNicknameId";
154
- export type { SetClientWindbackTime } from "./SetClientWindbackTime";
155
- export type { SetClientWindbackTimeArgs } from "./SetClientWindbackTimeArgs";
156
- export type { SetLogLevel } from "./SetLogLevel";
157
- export type { SetLogLevelArgs } from "./SetLogLevelArgs";
82
+ export type { SessionNicknameQuery } from "./SessionNicknameQuery";
83
+ export type { SessionQuery } from "./SessionQuery";
158
84
  export type { SetRoomDescriptionArgs } from "./SetRoomDescriptionArgs";
159
85
  export type { SetRoomNameArgs } from "./SetRoomNameArgs";
160
86
  export type { SetSessionActivityArgs } from "./SetSessionActivityArgs";
@@ -164,21 +90,9 @@ export type { SetSessionLastActivityAtArgs } from "./SetSessionLastActivityAtArg
164
90
  export type { SetSessionLastToolArgs } from "./SetSessionLastToolArgs";
165
91
  export type { SetSessionLastToolAtArgs } from "./SetSessionLastToolAtArgs";
166
92
  export type { SetSessionSessionNameArgs } from "./SetSessionSessionNameArgs";
167
- export type { StartProfile } from "./StartProfile";
168
- export type { StartProfileArgs } from "./StartProfileArgs";
169
- export type { StopProfile } from "./StopProfile";
170
- export type { StopProfileArgs } from "./StopProfileArgs";
171
- export type { StopProfileOutput } from "./StopProfileOutput";
172
- export type { ViewError } from "./ViewError";
173
- export type { ViewWindowUpdate } from "./ViewWindowUpdate";
93
+ export type { StringFilter } from "./StringFilter";
94
+ export type { Unfilterable } from "./Unfilterable";
174
95
  export type { WakeStatus } from "./WakeStatus";
175
- export type { WindbackStatus } from "./WindbackStatus";
176
- export type { WindbackStatusOutput } from "./WindbackStatusOutput";
177
- export type { WrappedCommand } from "./WrappedCommand";
178
- export type { WrappedItem } from "./WrappedItem";
179
- export type { WrappedQuery } from "./WrappedQuery";
180
- export type { WrappedReport } from "./WrappedReport";
181
- export type { WrappedView } from "./WrappedView";
182
96
 
183
97
  // Internal imports
184
98
  import type { AckMessages as _AckMessages } from "./AckMessages";
@@ -277,45 +191,6 @@ import type { SetSessionLastToolAt as _SetSessionLastToolAt } from "./SetSession
277
191
  import type { SetSessionSessionName as _SetSessionSessionName } from "./SetSessionSessionName";
278
192
 
279
193
  // Query classes
280
- export class GetMessageReadsByQuery {
281
- static readonly queryId = "GetMessageReadsByQuery" as const;
282
- static readonly queryItemType = "MessageRead" as const;
283
- readonly queryId = "GetMessageReadsByQuery" as const;
284
- readonly queryItemType = "MessageRead" as const;
285
- readonly query: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">;
286
- declare readonly $res: () => MessageRead[];
287
-
288
- constructor(args: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">) {
289
- this.query = args;
290
- }
291
- }
292
-
293
- export class GetMessageReadsByIds {
294
- static readonly queryId = "GetMessageReadsByIds" as const;
295
- static readonly queryItemType = "MessageRead" as const;
296
- readonly queryId = "GetMessageReadsByIds" as const;
297
- readonly queryItemType = "MessageRead" as const;
298
- readonly query: Omit<_GetMessageReadsByIds, "tx" | "createdAt">;
299
- declare readonly $res: () => MessageRead[];
300
-
301
- constructor(args: Omit<_GetMessageReadsByIds, "tx" | "createdAt">) {
302
- this.query = args;
303
- }
304
- }
305
-
306
- export class GetAllMessageReads {
307
- static readonly queryId = "GetAllMessageReads" as const;
308
- static readonly queryItemType = "MessageRead" as const;
309
- readonly queryId = "GetAllMessageReads" as const;
310
- readonly queryItemType = "MessageRead" as const;
311
- readonly query: Omit<_GetAllMessageReads, "tx" | "createdAt">;
312
- declare readonly $res: () => MessageRead[];
313
-
314
- constructor(args: Omit<_GetAllMessageReads, "tx" | "createdAt">) {
315
- this.query = args;
316
- }
317
- }
318
-
319
194
  export class GetRoomMembersByQuery {
320
195
  static readonly queryId = "GetRoomMembersByQuery" as const;
321
196
  static readonly queryItemType = "RoomMember" as const;
@@ -394,6 +269,45 @@ export class GetAllSessions {
394
269
  }
395
270
  }
396
271
 
272
+ export class GetSessionNicknamesByQuery {
273
+ static readonly queryId = "GetSessionNicknamesByQuery" as const;
274
+ static readonly queryItemType = "SessionNickname" as const;
275
+ readonly queryId = "GetSessionNicknamesByQuery" as const;
276
+ readonly queryItemType = "SessionNickname" as const;
277
+ readonly query: Omit<_GetSessionNicknamesByQuery, "tx" | "createdAt">;
278
+ declare readonly $res: () => SessionNickname[];
279
+
280
+ constructor(args: Omit<_GetSessionNicknamesByQuery, "tx" | "createdAt">) {
281
+ this.query = args;
282
+ }
283
+ }
284
+
285
+ export class GetSessionNicknamesByIds {
286
+ static readonly queryId = "GetSessionNicknamesByIds" as const;
287
+ static readonly queryItemType = "SessionNickname" as const;
288
+ readonly queryId = "GetSessionNicknamesByIds" as const;
289
+ readonly queryItemType = "SessionNickname" as const;
290
+ readonly query: Omit<_GetSessionNicknamesByIds, "tx" | "createdAt">;
291
+ declare readonly $res: () => SessionNickname[];
292
+
293
+ constructor(args: Omit<_GetSessionNicknamesByIds, "tx" | "createdAt">) {
294
+ this.query = args;
295
+ }
296
+ }
297
+
298
+ export class GetAllSessionNicknames {
299
+ static readonly queryId = "GetAllSessionNicknames" as const;
300
+ static readonly queryItemType = "SessionNickname" as const;
301
+ readonly queryId = "GetAllSessionNicknames" as const;
302
+ readonly queryItemType = "SessionNickname" as const;
303
+ readonly query: Omit<_GetAllSessionNicknames, "tx" | "createdAt">;
304
+ declare readonly $res: () => SessionNickname[];
305
+
306
+ constructor(args: Omit<_GetAllSessionNicknames, "tx" | "createdAt">) {
307
+ this.query = args;
308
+ }
309
+ }
310
+
397
311
  export class GetMessagesByQuery {
398
312
  static readonly queryId = "GetMessagesByQuery" as const;
399
313
  static readonly queryItemType = "Message" as const;
@@ -472,41 +386,41 @@ export class GetAllRooms {
472
386
  }
473
387
  }
474
388
 
475
- export class GetSessionNicknamesByQuery {
476
- static readonly queryId = "GetSessionNicknamesByQuery" as const;
477
- static readonly queryItemType = "SessionNickname" as const;
478
- readonly queryId = "GetSessionNicknamesByQuery" as const;
479
- readonly queryItemType = "SessionNickname" as const;
480
- readonly query: Omit<_GetSessionNicknamesByQuery, "tx" | "createdAt">;
481
- declare readonly $res: () => SessionNickname[];
389
+ export class GetMessageReadsByQuery {
390
+ static readonly queryId = "GetMessageReadsByQuery" as const;
391
+ static readonly queryItemType = "MessageRead" as const;
392
+ readonly queryId = "GetMessageReadsByQuery" as const;
393
+ readonly queryItemType = "MessageRead" as const;
394
+ readonly query: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">;
395
+ declare readonly $res: () => MessageRead[];
482
396
 
483
- constructor(args: Omit<_GetSessionNicknamesByQuery, "tx" | "createdAt">) {
397
+ constructor(args: Omit<_GetMessageReadsByQuery, "tx" | "createdAt">) {
484
398
  this.query = args;
485
399
  }
486
400
  }
487
401
 
488
- export class GetSessionNicknamesByIds {
489
- static readonly queryId = "GetSessionNicknamesByIds" as const;
490
- static readonly queryItemType = "SessionNickname" as const;
491
- readonly queryId = "GetSessionNicknamesByIds" as const;
492
- readonly queryItemType = "SessionNickname" as const;
493
- readonly query: Omit<_GetSessionNicknamesByIds, "tx" | "createdAt">;
494
- declare readonly $res: () => SessionNickname[];
402
+ export class GetMessageReadsByIds {
403
+ static readonly queryId = "GetMessageReadsByIds" as const;
404
+ static readonly queryItemType = "MessageRead" as const;
405
+ readonly queryId = "GetMessageReadsByIds" as const;
406
+ readonly queryItemType = "MessageRead" as const;
407
+ readonly query: Omit<_GetMessageReadsByIds, "tx" | "createdAt">;
408
+ declare readonly $res: () => MessageRead[];
495
409
 
496
- constructor(args: Omit<_GetSessionNicknamesByIds, "tx" | "createdAt">) {
410
+ constructor(args: Omit<_GetMessageReadsByIds, "tx" | "createdAt">) {
497
411
  this.query = args;
498
412
  }
499
413
  }
500
414
 
501
- export class GetAllSessionNicknames {
502
- static readonly queryId = "GetAllSessionNicknames" as const;
503
- static readonly queryItemType = "SessionNickname" as const;
504
- readonly queryId = "GetAllSessionNicknames" as const;
505
- readonly queryItemType = "SessionNickname" as const;
506
- readonly query: Omit<_GetAllSessionNicknames, "tx" | "createdAt">;
507
- declare readonly $res: () => SessionNickname[];
415
+ export class GetAllMessageReads {
416
+ static readonly queryId = "GetAllMessageReads" as const;
417
+ static readonly queryItemType = "MessageRead" as const;
418
+ readonly queryId = "GetAllMessageReads" as const;
419
+ readonly queryItemType = "MessageRead" as const;
420
+ readonly query: Omit<_GetAllMessageReads, "tx" | "createdAt">;
421
+ declare readonly $res: () => MessageRead[];
508
422
 
509
- constructor(args: Omit<_GetAllSessionNicknames, "tx" | "createdAt">) {
423
+ constructor(args: Omit<_GetAllMessageReads, "tx" | "createdAt">) {
510
424
  this.query = args;
511
425
  }
512
426
  }
@@ -514,35 +428,13 @@ export class GetAllSessionNicknames {
514
428
  // View classes
515
429
 
516
430
  // Report classes
517
- export class GetMessageReadById {
518
- static readonly reportId = "GetMessageReadById" as const;
519
- readonly reportId = "GetMessageReadById" as const;
520
- readonly report: Omit<_GetMessageReadById, "tx">;
521
- declare readonly $res: () => MessageRead | null;
522
-
523
- constructor(args: Omit<_GetMessageReadById, "tx">) {
524
- this.report = args;
525
- }
526
- }
527
-
528
- export class CountMessageReads {
529
- static readonly reportId = "CountMessageReads" as const;
530
- readonly reportId = "CountMessageReads" as const;
531
- readonly report: Omit<_CountMessageReads, "tx">;
532
- declare readonly $res: () => MessageReadCount;
533
-
534
- constructor(args: Omit<_CountMessageReads, "tx">) {
535
- this.report = args;
536
- }
537
- }
538
-
539
- export class CountAllMessageReads {
540
- static readonly reportId = "CountAllMessageReads" as const;
541
- readonly reportId = "CountAllMessageReads" as const;
542
- readonly report: Omit<_CountAllMessageReads, "tx">;
543
- declare readonly $res: () => MessageReadCount;
431
+ export class CountAllRoomMembers {
432
+ static readonly reportId = "CountAllRoomMembers" as const;
433
+ readonly reportId = "CountAllRoomMembers" as const;
434
+ readonly report: Omit<_CountAllRoomMembers, "tx">;
435
+ declare readonly $res: () => RoomMemberCount;
544
436
 
545
- constructor(args: Omit<_CountAllMessageReads, "tx">) {
437
+ constructor(args: Omit<_CountAllRoomMembers, "tx">) {
546
438
  this.report = args;
547
439
  }
548
440
  }
@@ -569,13 +461,13 @@ export class CountRoomMembers {
569
461
  }
570
462
  }
571
463
 
572
- export class CountAllRoomMembers {
573
- static readonly reportId = "CountAllRoomMembers" as const;
574
- readonly reportId = "CountAllRoomMembers" as const;
575
- readonly report: Omit<_CountAllRoomMembers, "tx">;
576
- declare readonly $res: () => RoomMemberCount;
464
+ export class CountAllSessions {
465
+ static readonly reportId = "CountAllSessions" as const;
466
+ readonly reportId = "CountAllSessions" as const;
467
+ readonly report: Omit<_CountAllSessions, "tx">;
468
+ declare readonly $res: () => SessionCount;
577
469
 
578
- constructor(args: Omit<_CountAllRoomMembers, "tx">) {
470
+ constructor(args: Omit<_CountAllSessions, "tx">) {
579
471
  this.report = args;
580
472
  }
581
473
  }
@@ -602,13 +494,46 @@ export class CountSessions {
602
494
  }
603
495
  }
604
496
 
605
- export class CountAllSessions {
606
- static readonly reportId = "CountAllSessions" as const;
607
- readonly reportId = "CountAllSessions" as const;
608
- readonly report: Omit<_CountAllSessions, "tx">;
609
- declare readonly $res: () => SessionCount;
497
+ export class CountAllSessionNicknames {
498
+ static readonly reportId = "CountAllSessionNicknames" as const;
499
+ readonly reportId = "CountAllSessionNicknames" as const;
500
+ readonly report: Omit<_CountAllSessionNicknames, "tx">;
501
+ declare readonly $res: () => SessionNicknameCount;
610
502
 
611
- constructor(args: Omit<_CountAllSessions, "tx">) {
503
+ constructor(args: Omit<_CountAllSessionNicknames, "tx">) {
504
+ this.report = args;
505
+ }
506
+ }
507
+
508
+ export class GetSessionNicknameById {
509
+ static readonly reportId = "GetSessionNicknameById" as const;
510
+ readonly reportId = "GetSessionNicknameById" as const;
511
+ readonly report: Omit<_GetSessionNicknameById, "tx">;
512
+ declare readonly $res: () => SessionNickname | null;
513
+
514
+ constructor(args: Omit<_GetSessionNicknameById, "tx">) {
515
+ this.report = args;
516
+ }
517
+ }
518
+
519
+ export class CountSessionNicknames {
520
+ static readonly reportId = "CountSessionNicknames" as const;
521
+ readonly reportId = "CountSessionNicknames" as const;
522
+ readonly report: Omit<_CountSessionNicknames, "tx">;
523
+ declare readonly $res: () => SessionNicknameCount;
524
+
525
+ constructor(args: Omit<_CountSessionNicknames, "tx">) {
526
+ this.report = args;
527
+ }
528
+ }
529
+
530
+ export class CountAllMessages {
531
+ static readonly reportId = "CountAllMessages" as const;
532
+ readonly reportId = "CountAllMessages" as const;
533
+ readonly report: Omit<_CountAllMessages, "tx">;
534
+ declare readonly $res: () => MessageCount;
535
+
536
+ constructor(args: Omit<_CountAllMessages, "tx">) {
612
537
  this.report = args;
613
538
  }
614
539
  }
@@ -635,13 +560,13 @@ export class CountMessages {
635
560
  }
636
561
  }
637
562
 
638
- export class CountAllMessages {
639
- static readonly reportId = "CountAllMessages" as const;
640
- readonly reportId = "CountAllMessages" as const;
641
- readonly report: Omit<_CountAllMessages, "tx">;
642
- declare readonly $res: () => MessageCount;
563
+ export class CountAllRooms {
564
+ static readonly reportId = "CountAllRooms" as const;
565
+ readonly reportId = "CountAllRooms" as const;
566
+ readonly report: Omit<_CountAllRooms, "tx">;
567
+ declare readonly $res: () => RoomCount;
643
568
 
644
- constructor(args: Omit<_CountAllMessages, "tx">) {
569
+ constructor(args: Omit<_CountAllRooms, "tx">) {
645
570
  this.report = args;
646
571
  }
647
572
  }
@@ -668,102 +593,58 @@ export class CountRooms {
668
593
  }
669
594
  }
670
595
 
671
- export class CountAllRooms {
672
- static readonly reportId = "CountAllRooms" as const;
673
- readonly reportId = "CountAllRooms" as const;
674
- readonly report: Omit<_CountAllRooms, "tx">;
675
- declare readonly $res: () => RoomCount;
596
+ export class CountAllMessageReads {
597
+ static readonly reportId = "CountAllMessageReads" as const;
598
+ readonly reportId = "CountAllMessageReads" as const;
599
+ readonly report: Omit<_CountAllMessageReads, "tx">;
600
+ declare readonly $res: () => MessageReadCount;
676
601
 
677
- constructor(args: Omit<_CountAllRooms, "tx">) {
602
+ constructor(args: Omit<_CountAllMessageReads, "tx">) {
678
603
  this.report = args;
679
604
  }
680
605
  }
681
606
 
682
- export class GetSessionNicknameById {
683
- static readonly reportId = "GetSessionNicknameById" as const;
684
- readonly reportId = "GetSessionNicknameById" as const;
685
- readonly report: Omit<_GetSessionNicknameById, "tx">;
686
- declare readonly $res: () => SessionNickname | null;
607
+ export class GetMessageReadById {
608
+ static readonly reportId = "GetMessageReadById" as const;
609
+ readonly reportId = "GetMessageReadById" as const;
610
+ readonly report: Omit<_GetMessageReadById, "tx">;
611
+ declare readonly $res: () => MessageRead | null;
687
612
 
688
- constructor(args: Omit<_GetSessionNicknameById, "tx">) {
613
+ constructor(args: Omit<_GetMessageReadById, "tx">) {
689
614
  this.report = args;
690
615
  }
691
616
  }
692
617
 
693
- export class CountSessionNicknames {
694
- static readonly reportId = "CountSessionNicknames" as const;
695
- readonly reportId = "CountSessionNicknames" as const;
696
- readonly report: Omit<_CountSessionNicknames, "tx">;
697
- declare readonly $res: () => SessionNicknameCount;
698
-
699
- constructor(args: Omit<_CountSessionNicknames, "tx">) {
700
- this.report = args;
701
- }
702
- }
703
-
704
- export class CountAllSessionNicknames {
705
- static readonly reportId = "CountAllSessionNicknames" as const;
706
- readonly reportId = "CountAllSessionNicknames" as const;
707
- readonly report: Omit<_CountAllSessionNicknames, "tx">;
708
- declare readonly $res: () => SessionNicknameCount;
618
+ export class CountMessageReads {
619
+ static readonly reportId = "CountMessageReads" as const;
620
+ readonly reportId = "CountMessageReads" as const;
621
+ readonly report: Omit<_CountMessageReads, "tx">;
622
+ declare readonly $res: () => MessageReadCount;
709
623
 
710
- constructor(args: Omit<_CountAllSessionNicknames, "tx">) {
624
+ constructor(args: Omit<_CountMessageReads, "tx">) {
711
625
  this.report = args;
712
626
  }
713
627
  }
714
628
 
715
629
  // Command classes
716
- export class SendMessage {
717
- static readonly commandId = "SendMessage" as const;
718
- readonly commandId = "SendMessage" as const;
719
- readonly command: Omit<_SendMessage, "tx" | "createdAt">;
720
- declare readonly $res: () => SendMessageResult;
721
-
722
- constructor(args: Omit<_SendMessage, "tx" | "createdAt">) {
723
- this.command = args;
724
- }
725
- }
726
-
727
- export class DeleteMessageReads {
728
- static readonly commandId = "DeleteMessageReads" as const;
729
- readonly commandId = "DeleteMessageReads" as const;
730
- readonly command: Omit<_DeleteMessageReads, "tx" | "createdAt">;
731
- declare readonly $res: () => DeleteMessageReadsResult;
732
-
733
- constructor(args: Omit<_DeleteMessageReads, "tx" | "createdAt">) {
734
- this.command = args;
735
- }
736
- }
737
-
738
- export class DeleteMessageRead {
739
- static readonly commandId = "DeleteMessageRead" as const;
740
- readonly commandId = "DeleteMessageRead" as const;
741
- readonly command: Omit<_DeleteMessageRead, "tx" | "createdAt">;
742
- declare readonly $res: () => DeleteMessageReadResult;
743
-
744
- constructor(args: Omit<_DeleteMessageRead, "tx" | "createdAt">) {
745
- this.command = args;
746
- }
747
- }
748
-
749
- export class NotifyChannel {
750
- static readonly commandId = "NotifyChannel" as const;
751
- readonly commandId = "NotifyChannel" as const;
752
- readonly command: Omit<_NotifyChannel, "tx" | "createdAt">;
753
- declare readonly $res: () => void;
630
+ export class BroadcastMessage {
631
+ static readonly commandId = "BroadcastMessage" as const;
632
+ readonly commandId = "BroadcastMessage" as const;
633
+ readonly command: Omit<_BroadcastMessage, "tx" | "createdAt">;
634
+ declare readonly $res: () => BroadcastMessageResult;
754
635
 
755
- constructor(args: Omit<_NotifyChannel, "tx" | "createdAt">) {
636
+ constructor(args: Omit<_BroadcastMessage, "tx" | "createdAt">) {
756
637
  this.command = args;
757
638
  }
758
639
  }
759
640
 
760
- export class DeleteRoomMembers {
761
- static readonly commandId = "DeleteRoomMembers" as const;
762
- readonly commandId = "DeleteRoomMembers" as const;
763
- readonly command: Omit<_DeleteRoomMembers, "tx" | "createdAt">;
764
- declare readonly $res: () => DeleteRoomMembersResult;
641
+ export class AckMessages {
642
+ static readonly commandId = "AckMessages" as const;
643
+ readonly commandId = "AckMessages" as const;
644
+ readonly command: Omit<_AckMessages, "tx" | "createdAt">;
645
+ declare readonly $res: () => AckMessagesResult;
765
646
 
766
- constructor(args: Omit<_DeleteRoomMembers, "tx" | "createdAt">) {
647
+ constructor(args: Omit<_AckMessages, "tx" | "createdAt">) {
767
648
  this.command = args;
768
649
  }
769
650
  }
@@ -779,13 +660,13 @@ export class DeleteRoomMember {
779
660
  }
780
661
  }
781
662
 
782
- export class DeleteSessions {
783
- static readonly commandId = "DeleteSessions" as const;
784
- readonly commandId = "DeleteSessions" as const;
785
- readonly command: Omit<_DeleteSessions, "tx" | "createdAt">;
786
- declare readonly $res: () => DeleteSessionsResult;
663
+ export class DeleteRoomMembers {
664
+ static readonly commandId = "DeleteRoomMembers" as const;
665
+ readonly commandId = "DeleteRoomMembers" as const;
666
+ readonly command: Omit<_DeleteRoomMembers, "tx" | "createdAt">;
667
+ declare readonly $res: () => DeleteRoomMembersResult;
787
668
 
788
- constructor(args: Omit<_DeleteSessions, "tx" | "createdAt">) {
669
+ constructor(args: Omit<_DeleteRoomMembers, "tx" | "createdAt">) {
789
670
  this.command = args;
790
671
  }
791
672
  }
@@ -801,39 +682,6 @@ export class DeleteSession {
801
682
  }
802
683
  }
803
684
 
804
- export class SetSessionLastActivityAt {
805
- static readonly commandId = "SetSessionLastActivityAt" as const;
806
- readonly commandId = "SetSessionLastActivityAt" as const;
807
- readonly command: Omit<_SetSessionLastActivityAt, "tx" | "createdAt">;
808
- declare readonly $res: () => void;
809
-
810
- constructor(args: Omit<_SetSessionLastActivityAt, "tx" | "createdAt">) {
811
- this.command = args;
812
- }
813
- }
814
-
815
- export class SetSessionActivity {
816
- static readonly commandId = "SetSessionActivity" as const;
817
- readonly commandId = "SetSessionActivity" as const;
818
- readonly command: Omit<_SetSessionActivity, "tx" | "createdAt">;
819
- declare readonly $res: () => void;
820
-
821
- constructor(args: Omit<_SetSessionActivity, "tx" | "createdAt">) {
822
- this.command = args;
823
- }
824
- }
825
-
826
- export class SetSessionSessionName {
827
- static readonly commandId = "SetSessionSessionName" as const;
828
- readonly commandId = "SetSessionSessionName" as const;
829
- readonly command: Omit<_SetSessionSessionName, "tx" | "createdAt">;
830
- declare readonly $res: () => void;
831
-
832
- constructor(args: Omit<_SetSessionSessionName, "tx" | "createdAt">) {
833
- this.command = args;
834
- }
835
- }
836
-
837
685
  export class SetSessionLastToolAt {
838
686
  static readonly commandId = "SetSessionLastToolAt" as const;
839
687
  readonly commandId = "SetSessionLastToolAt" as const;
@@ -878,35 +726,68 @@ export class SetSessionGitBranch {
878
726
  }
879
727
  }
880
728
 
881
- export class BroadcastMessage {
882
- static readonly commandId = "BroadcastMessage" as const;
883
- readonly commandId = "BroadcastMessage" as const;
884
- readonly command: Omit<_BroadcastMessage, "tx" | "createdAt">;
885
- declare readonly $res: () => BroadcastMessageResult;
729
+ export class SetSessionLastActivityAt {
730
+ static readonly commandId = "SetSessionLastActivityAt" as const;
731
+ readonly commandId = "SetSessionLastActivityAt" as const;
732
+ readonly command: Omit<_SetSessionLastActivityAt, "tx" | "createdAt">;
733
+ declare readonly $res: () => void;
886
734
 
887
- constructor(args: Omit<_BroadcastMessage, "tx" | "createdAt">) {
735
+ constructor(args: Omit<_SetSessionLastActivityAt, "tx" | "createdAt">) {
888
736
  this.command = args;
889
737
  }
890
738
  }
891
739
 
892
- export class DeleteMessages {
893
- static readonly commandId = "DeleteMessages" as const;
894
- readonly commandId = "DeleteMessages" as const;
895
- readonly command: Omit<_DeleteMessages, "tx" | "createdAt">;
896
- declare readonly $res: () => DeleteMessagesResult;
740
+ export class SetSessionActivity {
741
+ static readonly commandId = "SetSessionActivity" as const;
742
+ readonly commandId = "SetSessionActivity" as const;
743
+ readonly command: Omit<_SetSessionActivity, "tx" | "createdAt">;
744
+ declare readonly $res: () => void;
897
745
 
898
- constructor(args: Omit<_DeleteMessages, "tx" | "createdAt">) {
746
+ constructor(args: Omit<_SetSessionActivity, "tx" | "createdAt">) {
899
747
  this.command = args;
900
748
  }
901
749
  }
902
750
 
903
- export class DeleteMessage {
904
- static readonly commandId = "DeleteMessage" as const;
905
- readonly commandId = "DeleteMessage" as const;
906
- readonly command: Omit<_DeleteMessage, "tx" | "createdAt">;
907
- declare readonly $res: () => DeleteMessageResult;
751
+ export class SetSessionSessionName {
752
+ static readonly commandId = "SetSessionSessionName" as const;
753
+ readonly commandId = "SetSessionSessionName" as const;
754
+ readonly command: Omit<_SetSessionSessionName, "tx" | "createdAt">;
755
+ declare readonly $res: () => void;
908
756
 
909
- constructor(args: Omit<_DeleteMessage, "tx" | "createdAt">) {
757
+ constructor(args: Omit<_SetSessionSessionName, "tx" | "createdAt">) {
758
+ this.command = args;
759
+ }
760
+ }
761
+
762
+ export class DeleteSessions {
763
+ static readonly commandId = "DeleteSessions" as const;
764
+ readonly commandId = "DeleteSessions" as const;
765
+ readonly command: Omit<_DeleteSessions, "tx" | "createdAt">;
766
+ declare readonly $res: () => DeleteSessionsResult;
767
+
768
+ constructor(args: Omit<_DeleteSessions, "tx" | "createdAt">) {
769
+ this.command = args;
770
+ }
771
+ }
772
+
773
+ export class DeleteSessionNickname {
774
+ static readonly commandId = "DeleteSessionNickname" as const;
775
+ readonly commandId = "DeleteSessionNickname" as const;
776
+ readonly command: Omit<_DeleteSessionNickname, "tx" | "createdAt">;
777
+ declare readonly $res: () => DeleteSessionNicknameResult;
778
+
779
+ constructor(args: Omit<_DeleteSessionNickname, "tx" | "createdAt">) {
780
+ this.command = args;
781
+ }
782
+ }
783
+
784
+ export class DeleteSessionNicknames {
785
+ static readonly commandId = "DeleteSessionNicknames" as const;
786
+ readonly commandId = "DeleteSessionNicknames" as const;
787
+ readonly command: Omit<_DeleteSessionNicknames, "tx" | "createdAt">;
788
+ declare readonly $res: () => DeleteSessionNicknamesResult;
789
+
790
+ constructor(args: Omit<_DeleteSessionNicknames, "tx" | "createdAt">) {
910
791
  this.command = args;
911
792
  }
912
793
  }
@@ -933,24 +814,24 @@ export class JoinRoom {
933
814
  }
934
815
  }
935
816
 
936
- export class SetRoomName {
937
- static readonly commandId = "SetRoomName" as const;
938
- readonly commandId = "SetRoomName" as const;
939
- readonly command: Omit<_SetRoomName, "tx" | "createdAt">;
940
- declare readonly $res: () => void;
817
+ export class DeleteMessage {
818
+ static readonly commandId = "DeleteMessage" as const;
819
+ readonly commandId = "DeleteMessage" as const;
820
+ readonly command: Omit<_DeleteMessage, "tx" | "createdAt">;
821
+ declare readonly $res: () => DeleteMessageResult;
941
822
 
942
- constructor(args: Omit<_SetRoomName, "tx" | "createdAt">) {
823
+ constructor(args: Omit<_DeleteMessage, "tx" | "createdAt">) {
943
824
  this.command = args;
944
825
  }
945
826
  }
946
827
 
947
- export class DeleteRooms {
948
- static readonly commandId = "DeleteRooms" as const;
949
- readonly commandId = "DeleteRooms" as const;
950
- readonly command: Omit<_DeleteRooms, "tx" | "createdAt">;
951
- declare readonly $res: () => DeleteRoomsResult;
828
+ export class DeleteMessages {
829
+ static readonly commandId = "DeleteMessages" as const;
830
+ readonly commandId = "DeleteMessages" as const;
831
+ readonly command: Omit<_DeleteMessages, "tx" | "createdAt">;
832
+ declare readonly $res: () => DeleteMessagesResult;
952
833
 
953
- constructor(args: Omit<_DeleteRooms, "tx" | "createdAt">) {
834
+ constructor(args: Omit<_DeleteMessages, "tx" | "createdAt">) {
954
835
  this.command = args;
955
836
  }
956
837
  }
@@ -977,24 +858,35 @@ export class SetRoomDescription {
977
858
  }
978
859
  }
979
860
 
980
- export class DeleteSessionNicknames {
981
- static readonly commandId = "DeleteSessionNicknames" as const;
982
- readonly commandId = "DeleteSessionNicknames" as const;
983
- readonly command: Omit<_DeleteSessionNicknames, "tx" | "createdAt">;
984
- declare readonly $res: () => DeleteSessionNicknamesResult;
861
+ export class SetRoomName {
862
+ static readonly commandId = "SetRoomName" as const;
863
+ readonly commandId = "SetRoomName" as const;
864
+ readonly command: Omit<_SetRoomName, "tx" | "createdAt">;
865
+ declare readonly $res: () => void;
985
866
 
986
- constructor(args: Omit<_DeleteSessionNicknames, "tx" | "createdAt">) {
867
+ constructor(args: Omit<_SetRoomName, "tx" | "createdAt">) {
987
868
  this.command = args;
988
869
  }
989
870
  }
990
871
 
991
- export class DeleteSessionNickname {
992
- static readonly commandId = "DeleteSessionNickname" as const;
993
- readonly commandId = "DeleteSessionNickname" as const;
994
- readonly command: Omit<_DeleteSessionNickname, "tx" | "createdAt">;
995
- declare readonly $res: () => DeleteSessionNicknameResult;
872
+ export class DeleteRooms {
873
+ static readonly commandId = "DeleteRooms" as const;
874
+ readonly commandId = "DeleteRooms" as const;
875
+ readonly command: Omit<_DeleteRooms, "tx" | "createdAt">;
876
+ declare readonly $res: () => DeleteRoomsResult;
996
877
 
997
- constructor(args: Omit<_DeleteSessionNickname, "tx" | "createdAt">) {
878
+ constructor(args: Omit<_DeleteRooms, "tx" | "createdAt">) {
879
+ this.command = args;
880
+ }
881
+ }
882
+
883
+ export class NotifyChannel {
884
+ static readonly commandId = "NotifyChannel" as const;
885
+ readonly commandId = "NotifyChannel" as const;
886
+ readonly command: Omit<_NotifyChannel, "tx" | "createdAt">;
887
+ declare readonly $res: () => void;
888
+
889
+ constructor(args: Omit<_NotifyChannel, "tx" | "createdAt">) {
998
890
  this.command = args;
999
891
  }
1000
892
  }
@@ -1010,25 +902,47 @@ export class ReadMessages {
1010
902
  }
1011
903
  }
1012
904
 
1013
- export class AckMessages {
1014
- static readonly commandId = "AckMessages" as const;
1015
- readonly commandId = "AckMessages" as const;
1016
- readonly command: Omit<_AckMessages, "tx" | "createdAt">;
1017
- declare readonly $res: () => AckMessagesResult;
905
+ export class SendMessage {
906
+ static readonly commandId = "SendMessage" as const;
907
+ readonly commandId = "SendMessage" as const;
908
+ readonly command: Omit<_SendMessage, "tx" | "createdAt">;
909
+ declare readonly $res: () => SendMessageResult;
1018
910
 
1019
- constructor(args: Omit<_AckMessages, "tx" | "createdAt">) {
911
+ constructor(args: Omit<_SendMessage, "tx" | "createdAt">) {
912
+ this.command = args;
913
+ }
914
+ }
915
+
916
+ export class DeleteMessageRead {
917
+ static readonly commandId = "DeleteMessageRead" as const;
918
+ readonly commandId = "DeleteMessageRead" as const;
919
+ readonly command: Omit<_DeleteMessageRead, "tx" | "createdAt">;
920
+ declare readonly $res: () => DeleteMessageReadResult;
921
+
922
+ constructor(args: Omit<_DeleteMessageRead, "tx" | "createdAt">) {
923
+ this.command = args;
924
+ }
925
+ }
926
+
927
+ export class DeleteMessageReads {
928
+ static readonly commandId = "DeleteMessageReads" as const;
929
+ readonly commandId = "DeleteMessageReads" as const;
930
+ readonly command: Omit<_DeleteMessageReads, "tx" | "createdAt">;
931
+ declare readonly $res: () => DeleteMessageReadsResult;
932
+
933
+ constructor(args: Omit<_DeleteMessageReads, "tx" | "createdAt">) {
1020
934
  this.command = args;
1021
935
  }
1022
936
  }
1023
937
 
1024
938
  // Item constructors
1025
939
  export const items = {
1026
- MessageRead: (args: MessageRead) => ({ item: args, itemType: "MessageRead" }),
1027
940
  RoomMember: (args: RoomMember) => ({ item: args, itemType: "RoomMember" }),
1028
941
  Session: (args: Session) => ({ item: args, itemType: "Session" }),
942
+ SessionNickname: (args: SessionNickname) => ({ item: args, itemType: "SessionNickname" }),
1029
943
  Message: (args: Message) => ({ item: args, itemType: "Message" }),
1030
944
  Room: (args: Room) => ({ item: args, itemType: "Room" }),
1031
- SessionNickname: (args: SessionNickname) => ({ item: args, itemType: "SessionNickname" }),
945
+ MessageRead: (args: MessageRead) => ({ item: args, itemType: "MessageRead" }),
1032
946
  };
1033
947
 
1034
948
  // Message events
@@ -1050,6 +964,7 @@ export const MykoEvent = {
1050
964
  ViewCancel: "ws:m:view-cancel",
1051
965
  ViewResponse: "ws:m:view-response",
1052
966
  View: "ws:m:view",
967
+ QueryCursorWindow: "ws:m:query-cursor-window",
1053
968
  QueryWindow: "ws:m:query-window",
1054
969
  QueryCancel: "ws:m:query-cancel",
1055
970
  QueryResponse: "ws:m:query-response",