@agent-marshal/marshal-prime-agent 0.49.8 → 0.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/generated/CountAllMessageReads.ts +1 -1
- package/src/generated/CountAllMessages.ts +1 -1
- package/src/generated/CountAllRoomMembers.ts +1 -1
- package/src/generated/CountAllRooms.ts +1 -1
- package/src/generated/CountAllSessionNicknames.ts +1 -1
- package/src/generated/CountAllSessions.ts +1 -1
- package/src/generated/CountMessageReads.ts +2 -2
- package/src/generated/CountMessages.ts +2 -2
- package/src/generated/CountRoomMembers.ts +2 -2
- package/src/generated/CountRooms.ts +2 -2
- package/src/generated/CountSessionNicknames.ts +2 -2
- package/src/generated/CountSessions.ts +2 -2
- package/src/generated/DeleteMessage.ts +0 -3
- package/src/generated/DeleteMessageRead.ts +0 -3
- package/src/generated/DeleteMessageReadResult.ts +0 -3
- package/src/generated/DeleteMessageReads.ts +0 -3
- package/src/generated/DeleteMessageReadsResult.ts +0 -3
- package/src/generated/DeleteMessageResult.ts +0 -3
- package/src/generated/DeleteMessages.ts +0 -3
- package/src/generated/DeleteMessagesResult.ts +0 -3
- package/src/generated/DeleteRoom.ts +0 -3
- package/src/generated/DeleteRoomMember.ts +0 -3
- package/src/generated/DeleteRoomMemberResult.ts +0 -3
- package/src/generated/DeleteRoomMembers.ts +0 -3
- package/src/generated/DeleteRoomMembersResult.ts +0 -3
- package/src/generated/DeleteRoomResult.ts +0 -3
- package/src/generated/DeleteRooms.ts +0 -3
- package/src/generated/DeleteRoomsResult.ts +0 -3
- package/src/generated/DeleteSession.ts +0 -3
- package/src/generated/DeleteSessionNickname.ts +0 -3
- package/src/generated/DeleteSessionNicknameResult.ts +0 -3
- package/src/generated/DeleteSessionNicknames.ts +0 -3
- package/src/generated/DeleteSessionNicknamesResult.ts +0 -3
- package/src/generated/DeleteSessionResult.ts +0 -3
- package/src/generated/DeleteSessions.ts +0 -3
- package/src/generated/DeleteSessionsResult.ts +0 -3
- package/src/generated/GetAllMessageReads.ts +1 -1
- package/src/generated/GetAllMessages.ts +1 -1
- package/src/generated/GetAllRoomMembers.ts +1 -1
- package/src/generated/GetAllRooms.ts +1 -1
- package/src/generated/GetAllSessionNicknames.ts +1 -1
- package/src/generated/GetAllSessions.ts +1 -1
- package/src/generated/GetMessageReadsByQuery.ts +2 -2
- package/src/generated/GetMessagesByQuery.ts +2 -2
- package/src/generated/GetRoomMembersByQuery.ts +2 -2
- package/src/generated/GetRoomsByQuery.ts +2 -2
- package/src/generated/GetSessionNicknamesByQuery.ts +2 -2
- package/src/generated/GetSessionsByQuery.ts +2 -2
- package/src/generated/{GetAllServers.ts → IdFilter.ts} +1 -1
- package/src/generated/MessageQuery.ts +9 -0
- package/src/generated/MessageReadQuery.ts +8 -0
- package/src/generated/{CommandError.ts → NumericFilter.ts} +1 -1
- package/src/generated/RoomMemberQuery.ts +8 -0
- package/src/generated/RoomQuery.ts +8 -0
- package/src/generated/SessionNicknameQuery.ts +6 -0
- package/src/generated/SessionQuery.ts +9 -0
- package/src/generated/SetRoomDescription.ts +1 -1
- package/src/generated/SetRoomDescriptionArgs.ts +1 -1
- package/src/generated/SetSessionActivity.ts +1 -1
- package/src/generated/SetSessionActivityArgs.ts +1 -1
- package/src/generated/SetSessionCurrentTask.ts +1 -1
- package/src/generated/SetSessionCurrentTaskArgs.ts +1 -1
- package/src/generated/SetSessionGitBranch.ts +1 -1
- package/src/generated/SetSessionGitBranchArgs.ts +1 -1
- package/src/generated/SetSessionLastActivityAt.ts +1 -1
- package/src/generated/SetSessionLastActivityAtArgs.ts +1 -1
- package/src/generated/SetSessionLastTool.ts +1 -1
- package/src/generated/SetSessionLastToolArgs.ts +1 -1
- package/src/generated/SetSessionLastToolAt.ts +1 -1
- package/src/generated/SetSessionLastToolAtArgs.ts +1 -1
- package/src/generated/SetSessionSessionName.ts +1 -1
- package/src/generated/SetSessionSessionNameArgs.ts +1 -1
- package/src/generated/StringFilter.ts +3 -0
- package/src/generated/{ServerId.ts → Unfilterable.ts} +1 -1
- package/src/generated/index.ts +356 -436
- package/src/generated/serde_json/JsonValue.ts +1 -1
- package/src/generated/CancelSubscription.ts +0 -6
- package/src/generated/ChildEntities.ts +0 -6
- package/src/generated/ChildEntitiesAllTime.ts +0 -6
- package/src/generated/ClearClientWindbackTime.ts +0 -7
- package/src/generated/ClearClientWindbackTimeArgs.ts +0 -3
- package/src/generated/Client.ts +0 -14
- package/src/generated/ClientCount.ts +0 -3
- package/src/generated/ClientStatus.ts +0 -7
- package/src/generated/ClientStatusOutput.ts +0 -3
- package/src/generated/CommandResponse.ts +0 -4
- package/src/generated/CountAllClients.ts +0 -3
- package/src/generated/CountAllServers.ts +0 -3
- package/src/generated/CountClients.ts +0 -4
- package/src/generated/CountServers.ts +0 -4
- package/src/generated/DeleteClient.ts +0 -7
- package/src/generated/DeleteClientArgs.ts +0 -4
- package/src/generated/DeleteClientResult.ts +0 -6
- package/src/generated/DeleteClients.ts +0 -7
- package/src/generated/DeleteClientsArgs.ts +0 -4
- package/src/generated/DeleteClientsResult.ts +0 -6
- package/src/generated/DeleteServer.ts +0 -7
- package/src/generated/DeleteServerArgs.ts +0 -4
- package/src/generated/DeleteServerResult.ts +0 -6
- package/src/generated/DeleteServers.ts +0 -7
- package/src/generated/DeleteServersArgs.ts +0 -4
- package/src/generated/DeleteServersResult.ts +0 -6
- package/src/generated/EntitySearch.ts +0 -21
- package/src/generated/EntitySearchResult.ts +0 -10
- package/src/generated/EntitySnapshotDifference.ts +0 -6
- package/src/generated/EntitySnapshotDifferenceData.ts +0 -7
- package/src/generated/EntityTreeExport.ts +0 -27
- package/src/generated/EventContainer.ts +0 -7
- package/src/generated/EventOptions.ts +0 -11
- package/src/generated/EventsForTransaction.ts +0 -6
- package/src/generated/ExportEntityTree.ts +0 -24
- package/src/generated/ExportedEntity.ts +0 -15
- package/src/generated/FullChildEntities.ts +0 -6
- package/src/generated/GetAllClients.ts +0 -3
- package/src/generated/GetClientById.ts +0 -4
- package/src/generated/GetClientsByIds.ts +0 -4
- package/src/generated/GetClientsByQuery.ts +0 -4
- package/src/generated/GetConnectedServer.ts +0 -3
- package/src/generated/GetItemsByTypeAndIds.ts +0 -14
- package/src/generated/GetPeerServers.ts +0 -3
- package/src/generated/GetPersistHealth.ts +0 -8
- package/src/generated/GetServerById.ts +0 -4
- package/src/generated/GetServersByIds.ts +0 -4
- package/src/generated/GetServersByQuery.ts +0 -4
- package/src/generated/ImportItems.ts +0 -19
- package/src/generated/ImportItemsArgs.ts +0 -13
- package/src/generated/ItemStub.ts +0 -7
- package/src/generated/LogLevel.ts +0 -6
- package/src/generated/Loggers.ts +0 -6
- package/src/generated/MEvent.ts +0 -5
- package/src/generated/MEventType.ts +0 -3
- package/src/generated/MykoMessage.ts +0 -19
- package/src/generated/PartialClient.ts +0 -14
- package/src/generated/PartialMessage.ts +0 -60
- package/src/generated/PartialMessageRead.ts +0 -10
- package/src/generated/PartialRoom.ts +0 -23
- package/src/generated/PartialRoomMember.ts +0 -13
- package/src/generated/PartialServer.ts +0 -4
- package/src/generated/PartialSession.ts +0 -130
- package/src/generated/PartialSessionNickname.ts +0 -9
- package/src/generated/PeerAlive.ts +0 -7
- package/src/generated/PersistHealthStatus.ts +0 -34
- package/src/generated/PingData.ts +0 -14
- package/src/generated/QueryError.ts +0 -3
- package/src/generated/QueryWindow.ts +0 -3
- package/src/generated/QueryWindowUpdate.ts +0 -4
- package/src/generated/ReportError.ts +0 -3
- package/src/generated/ReportResponse.ts +0 -4
- package/src/generated/SearchServer.ts +0 -8
- package/src/generated/SearchServerResult.ts +0 -4
- package/src/generated/Server.ts +0 -4
- package/src/generated/ServerCount.ts +0 -3
- package/src/generated/ServerLogLevel.ts +0 -6
- package/src/generated/ServerStats.ts +0 -27
- package/src/generated/ServerStatsOutput.ts +0 -20
- package/src/generated/SetClientWindbackTime.ts +0 -11
- package/src/generated/SetClientWindbackTimeArgs.ts +0 -7
- package/src/generated/SetLogLevel.ts +0 -7
- package/src/generated/SetLogLevelArgs.ts +0 -4
- package/src/generated/ViewError.ts +0 -3
- package/src/generated/ViewWindowUpdate.ts +0 -4
- package/src/generated/WindbackStatus.ts +0 -3
- package/src/generated/WindbackStatusOutput.ts +0 -11
- package/src/generated/WrappedCommand.ts +0 -4
- package/src/generated/WrappedItem.ts +0 -7
- package/src/generated/WrappedQuery.ts +0 -5
- package/src/generated/WrappedReport.ts +0 -4
- package/src/generated/WrappedView.ts +0 -5
package/src/generated/index.ts
CHANGED
|
@@ -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 {
|
|
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 {
|
|
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 {
|
|
138
|
-
export type {
|
|
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 {
|
|
155
|
-
export type {
|
|
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,16 +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 {
|
|
168
|
-
export type {
|
|
93
|
+
export type { StringFilter } from "./StringFilter";
|
|
94
|
+
export type { Unfilterable } from "./Unfilterable";
|
|
169
95
|
export type { WakeStatus } from "./WakeStatus";
|
|
170
|
-
export type { WindbackStatus } from "./WindbackStatus";
|
|
171
|
-
export type { WindbackStatusOutput } from "./WindbackStatusOutput";
|
|
172
|
-
export type { WrappedCommand } from "./WrappedCommand";
|
|
173
|
-
export type { WrappedItem } from "./WrappedItem";
|
|
174
|
-
export type { WrappedQuery } from "./WrappedQuery";
|
|
175
|
-
export type { WrappedReport } from "./WrappedReport";
|
|
176
|
-
export type { WrappedView } from "./WrappedView";
|
|
177
96
|
|
|
178
97
|
// Internal imports
|
|
179
98
|
import type { AckMessages as _AckMessages } from "./AckMessages";
|
|
@@ -272,6 +191,45 @@ import type { SetSessionLastToolAt as _SetSessionLastToolAt } from "./SetSession
|
|
|
272
191
|
import type { SetSessionSessionName as _SetSessionSessionName } from "./SetSessionSessionName";
|
|
273
192
|
|
|
274
193
|
// Query classes
|
|
194
|
+
export class GetRoomMembersByQuery {
|
|
195
|
+
static readonly queryId = "GetRoomMembersByQuery" as const;
|
|
196
|
+
static readonly queryItemType = "RoomMember" as const;
|
|
197
|
+
readonly queryId = "GetRoomMembersByQuery" as const;
|
|
198
|
+
readonly queryItemType = "RoomMember" as const;
|
|
199
|
+
readonly query: Omit<_GetRoomMembersByQuery, "tx" | "createdAt">;
|
|
200
|
+
declare readonly $res: () => RoomMember[];
|
|
201
|
+
|
|
202
|
+
constructor(args: Omit<_GetRoomMembersByQuery, "tx" | "createdAt">) {
|
|
203
|
+
this.query = args;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export class GetRoomMembersByIds {
|
|
208
|
+
static readonly queryId = "GetRoomMembersByIds" as const;
|
|
209
|
+
static readonly queryItemType = "RoomMember" as const;
|
|
210
|
+
readonly queryId = "GetRoomMembersByIds" as const;
|
|
211
|
+
readonly queryItemType = "RoomMember" as const;
|
|
212
|
+
readonly query: Omit<_GetRoomMembersByIds, "tx" | "createdAt">;
|
|
213
|
+
declare readonly $res: () => RoomMember[];
|
|
214
|
+
|
|
215
|
+
constructor(args: Omit<_GetRoomMembersByIds, "tx" | "createdAt">) {
|
|
216
|
+
this.query = args;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export class GetAllRoomMembers {
|
|
221
|
+
static readonly queryId = "GetAllRoomMembers" as const;
|
|
222
|
+
static readonly queryItemType = "RoomMember" as const;
|
|
223
|
+
readonly queryId = "GetAllRoomMembers" as const;
|
|
224
|
+
readonly queryItemType = "RoomMember" as const;
|
|
225
|
+
readonly query: Omit<_GetAllRoomMembers, "tx" | "createdAt">;
|
|
226
|
+
declare readonly $res: () => RoomMember[];
|
|
227
|
+
|
|
228
|
+
constructor(args: Omit<_GetAllRoomMembers, "tx" | "createdAt">) {
|
|
229
|
+
this.query = args;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
275
233
|
export class GetSessionsByQuery {
|
|
276
234
|
static readonly queryId = "GetSessionsByQuery" as const;
|
|
277
235
|
static readonly queryItemType = "Session" as const;
|
|
@@ -311,6 +269,84 @@ export class GetAllSessions {
|
|
|
311
269
|
}
|
|
312
270
|
}
|
|
313
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
|
+
|
|
311
|
+
export class GetMessagesByQuery {
|
|
312
|
+
static readonly queryId = "GetMessagesByQuery" as const;
|
|
313
|
+
static readonly queryItemType = "Message" as const;
|
|
314
|
+
readonly queryId = "GetMessagesByQuery" as const;
|
|
315
|
+
readonly queryItemType = "Message" as const;
|
|
316
|
+
readonly query: Omit<_GetMessagesByQuery, "tx" | "createdAt">;
|
|
317
|
+
declare readonly $res: () => Message[];
|
|
318
|
+
|
|
319
|
+
constructor(args: Omit<_GetMessagesByQuery, "tx" | "createdAt">) {
|
|
320
|
+
this.query = args;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export class GetMessagesByIds {
|
|
325
|
+
static readonly queryId = "GetMessagesByIds" as const;
|
|
326
|
+
static readonly queryItemType = "Message" as const;
|
|
327
|
+
readonly queryId = "GetMessagesByIds" as const;
|
|
328
|
+
readonly queryItemType = "Message" as const;
|
|
329
|
+
readonly query: Omit<_GetMessagesByIds, "tx" | "createdAt">;
|
|
330
|
+
declare readonly $res: () => Message[];
|
|
331
|
+
|
|
332
|
+
constructor(args: Omit<_GetMessagesByIds, "tx" | "createdAt">) {
|
|
333
|
+
this.query = args;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export class GetAllMessages {
|
|
338
|
+
static readonly queryId = "GetAllMessages" as const;
|
|
339
|
+
static readonly queryItemType = "Message" as const;
|
|
340
|
+
readonly queryId = "GetAllMessages" as const;
|
|
341
|
+
readonly queryItemType = "Message" as const;
|
|
342
|
+
readonly query: Omit<_GetAllMessages, "tx" | "createdAt">;
|
|
343
|
+
declare readonly $res: () => Message[];
|
|
344
|
+
|
|
345
|
+
constructor(args: Omit<_GetAllMessages, "tx" | "createdAt">) {
|
|
346
|
+
this.query = args;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
314
350
|
export class GetRoomsByQuery {
|
|
315
351
|
static readonly queryId = "GetRoomsByQuery" as const;
|
|
316
352
|
static readonly queryItemType = "Room" as const;
|
|
@@ -389,126 +425,53 @@ export class GetAllMessageReads {
|
|
|
389
425
|
}
|
|
390
426
|
}
|
|
391
427
|
|
|
392
|
-
|
|
393
|
-
static readonly queryId = "GetRoomMembersByQuery" as const;
|
|
394
|
-
static readonly queryItemType = "RoomMember" as const;
|
|
395
|
-
readonly queryId = "GetRoomMembersByQuery" as const;
|
|
396
|
-
readonly queryItemType = "RoomMember" as const;
|
|
397
|
-
readonly query: Omit<_GetRoomMembersByQuery, "tx" | "createdAt">;
|
|
398
|
-
declare readonly $res: () => RoomMember[];
|
|
399
|
-
|
|
400
|
-
constructor(args: Omit<_GetRoomMembersByQuery, "tx" | "createdAt">) {
|
|
401
|
-
this.query = args;
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
export class GetRoomMembersByIds {
|
|
406
|
-
static readonly queryId = "GetRoomMembersByIds" as const;
|
|
407
|
-
static readonly queryItemType = "RoomMember" as const;
|
|
408
|
-
readonly queryId = "GetRoomMembersByIds" as const;
|
|
409
|
-
readonly queryItemType = "RoomMember" as const;
|
|
410
|
-
readonly query: Omit<_GetRoomMembersByIds, "tx" | "createdAt">;
|
|
411
|
-
declare readonly $res: () => RoomMember[];
|
|
412
|
-
|
|
413
|
-
constructor(args: Omit<_GetRoomMembersByIds, "tx" | "createdAt">) {
|
|
414
|
-
this.query = args;
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
export class GetAllRoomMembers {
|
|
419
|
-
static readonly queryId = "GetAllRoomMembers" as const;
|
|
420
|
-
static readonly queryItemType = "RoomMember" as const;
|
|
421
|
-
readonly queryId = "GetAllRoomMembers" as const;
|
|
422
|
-
readonly queryItemType = "RoomMember" as const;
|
|
423
|
-
readonly query: Omit<_GetAllRoomMembers, "tx" | "createdAt">;
|
|
424
|
-
declare readonly $res: () => RoomMember[];
|
|
425
|
-
|
|
426
|
-
constructor(args: Omit<_GetAllRoomMembers, "tx" | "createdAt">) {
|
|
427
|
-
this.query = args;
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
export class GetMessagesByQuery {
|
|
432
|
-
static readonly queryId = "GetMessagesByQuery" as const;
|
|
433
|
-
static readonly queryItemType = "Message" as const;
|
|
434
|
-
readonly queryId = "GetMessagesByQuery" as const;
|
|
435
|
-
readonly queryItemType = "Message" as const;
|
|
436
|
-
readonly query: Omit<_GetMessagesByQuery, "tx" | "createdAt">;
|
|
437
|
-
declare readonly $res: () => Message[];
|
|
438
|
-
|
|
439
|
-
constructor(args: Omit<_GetMessagesByQuery, "tx" | "createdAt">) {
|
|
440
|
-
this.query = args;
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
export class GetMessagesByIds {
|
|
445
|
-
static readonly queryId = "GetMessagesByIds" as const;
|
|
446
|
-
static readonly queryItemType = "Message" as const;
|
|
447
|
-
readonly queryId = "GetMessagesByIds" as const;
|
|
448
|
-
readonly queryItemType = "Message" as const;
|
|
449
|
-
readonly query: Omit<_GetMessagesByIds, "tx" | "createdAt">;
|
|
450
|
-
declare readonly $res: () => Message[];
|
|
451
|
-
|
|
452
|
-
constructor(args: Omit<_GetMessagesByIds, "tx" | "createdAt">) {
|
|
453
|
-
this.query = args;
|
|
454
|
-
}
|
|
455
|
-
}
|
|
428
|
+
// View classes
|
|
456
429
|
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
static readonly
|
|
460
|
-
readonly
|
|
461
|
-
readonly
|
|
462
|
-
readonly
|
|
463
|
-
declare readonly $res: () => Message[];
|
|
430
|
+
// Report classes
|
|
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;
|
|
464
436
|
|
|
465
|
-
constructor(args: Omit<
|
|
466
|
-
this.
|
|
437
|
+
constructor(args: Omit<_CountAllRoomMembers, "tx">) {
|
|
438
|
+
this.report = args;
|
|
467
439
|
}
|
|
468
440
|
}
|
|
469
441
|
|
|
470
|
-
export class
|
|
471
|
-
static readonly
|
|
472
|
-
|
|
473
|
-
readonly
|
|
474
|
-
readonly
|
|
475
|
-
readonly query: Omit<_GetSessionNicknamesByQuery, "tx" | "createdAt">;
|
|
476
|
-
declare readonly $res: () => SessionNickname[];
|
|
442
|
+
export class GetRoomMemberById {
|
|
443
|
+
static readonly reportId = "GetRoomMemberById" as const;
|
|
444
|
+
readonly reportId = "GetRoomMemberById" as const;
|
|
445
|
+
readonly report: Omit<_GetRoomMemberById, "tx">;
|
|
446
|
+
declare readonly $res: () => RoomMember | null;
|
|
477
447
|
|
|
478
|
-
constructor(args: Omit<
|
|
479
|
-
this.
|
|
448
|
+
constructor(args: Omit<_GetRoomMemberById, "tx">) {
|
|
449
|
+
this.report = args;
|
|
480
450
|
}
|
|
481
451
|
}
|
|
482
452
|
|
|
483
|
-
export class
|
|
484
|
-
static readonly
|
|
485
|
-
|
|
486
|
-
readonly
|
|
487
|
-
readonly
|
|
488
|
-
readonly query: Omit<_GetSessionNicknamesByIds, "tx" | "createdAt">;
|
|
489
|
-
declare readonly $res: () => SessionNickname[];
|
|
453
|
+
export class CountRoomMembers {
|
|
454
|
+
static readonly reportId = "CountRoomMembers" as const;
|
|
455
|
+
readonly reportId = "CountRoomMembers" as const;
|
|
456
|
+
readonly report: Omit<_CountRoomMembers, "tx">;
|
|
457
|
+
declare readonly $res: () => RoomMemberCount;
|
|
490
458
|
|
|
491
|
-
constructor(args: Omit<
|
|
492
|
-
this.
|
|
459
|
+
constructor(args: Omit<_CountRoomMembers, "tx">) {
|
|
460
|
+
this.report = args;
|
|
493
461
|
}
|
|
494
462
|
}
|
|
495
463
|
|
|
496
|
-
export class
|
|
497
|
-
static readonly
|
|
498
|
-
|
|
499
|
-
readonly
|
|
500
|
-
readonly
|
|
501
|
-
readonly query: Omit<_GetAllSessionNicknames, "tx" | "createdAt">;
|
|
502
|
-
declare readonly $res: () => SessionNickname[];
|
|
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;
|
|
503
469
|
|
|
504
|
-
constructor(args: Omit<
|
|
505
|
-
this.
|
|
470
|
+
constructor(args: Omit<_CountAllSessions, "tx">) {
|
|
471
|
+
this.report = args;
|
|
506
472
|
}
|
|
507
473
|
}
|
|
508
474
|
|
|
509
|
-
// View classes
|
|
510
|
-
|
|
511
|
-
// Report classes
|
|
512
475
|
export class GetSessionById {
|
|
513
476
|
static readonly reportId = "GetSessionById" as const;
|
|
514
477
|
readonly reportId = "GetSessionById" as const;
|
|
@@ -531,35 +494,68 @@ export class CountSessions {
|
|
|
531
494
|
}
|
|
532
495
|
}
|
|
533
496
|
|
|
534
|
-
export class
|
|
535
|
-
static readonly reportId = "
|
|
536
|
-
readonly reportId = "
|
|
537
|
-
readonly report: Omit<
|
|
538
|
-
declare readonly $res: () =>
|
|
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;
|
|
539
502
|
|
|
540
|
-
constructor(args: Omit<
|
|
503
|
+
constructor(args: Omit<_CountAllSessionNicknames, "tx">) {
|
|
541
504
|
this.report = args;
|
|
542
505
|
}
|
|
543
506
|
}
|
|
544
507
|
|
|
545
|
-
export class
|
|
546
|
-
static readonly reportId = "
|
|
547
|
-
readonly reportId = "
|
|
548
|
-
readonly report: Omit<
|
|
549
|
-
declare readonly $res: () =>
|
|
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;
|
|
550
513
|
|
|
551
|
-
constructor(args: Omit<
|
|
514
|
+
constructor(args: Omit<_GetSessionNicknameById, "tx">) {
|
|
552
515
|
this.report = args;
|
|
553
516
|
}
|
|
554
517
|
}
|
|
555
518
|
|
|
556
|
-
export class
|
|
557
|
-
static readonly reportId = "
|
|
558
|
-
readonly reportId = "
|
|
559
|
-
readonly report: Omit<
|
|
560
|
-
declare readonly $res: () =>
|
|
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;
|
|
561
524
|
|
|
562
|
-
constructor(args: Omit<
|
|
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">) {
|
|
537
|
+
this.report = args;
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
export class GetMessageById {
|
|
542
|
+
static readonly reportId = "GetMessageById" as const;
|
|
543
|
+
readonly reportId = "GetMessageById" as const;
|
|
544
|
+
readonly report: Omit<_GetMessageById, "tx">;
|
|
545
|
+
declare readonly $res: () => Message | null;
|
|
546
|
+
|
|
547
|
+
constructor(args: Omit<_GetMessageById, "tx">) {
|
|
548
|
+
this.report = args;
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
export class CountMessages {
|
|
553
|
+
static readonly reportId = "CountMessages" as const;
|
|
554
|
+
readonly reportId = "CountMessages" as const;
|
|
555
|
+
readonly report: Omit<_CountMessages, "tx">;
|
|
556
|
+
declare readonly $res: () => MessageCount;
|
|
557
|
+
|
|
558
|
+
constructor(args: Omit<_CountMessages, "tx">) {
|
|
563
559
|
this.report = args;
|
|
564
560
|
}
|
|
565
561
|
}
|
|
@@ -575,24 +571,24 @@ export class CountAllRooms {
|
|
|
575
571
|
}
|
|
576
572
|
}
|
|
577
573
|
|
|
578
|
-
export class
|
|
579
|
-
static readonly reportId = "
|
|
580
|
-
readonly reportId = "
|
|
581
|
-
readonly report: Omit<
|
|
582
|
-
declare readonly $res: () =>
|
|
574
|
+
export class GetRoomById {
|
|
575
|
+
static readonly reportId = "GetRoomById" as const;
|
|
576
|
+
readonly reportId = "GetRoomById" as const;
|
|
577
|
+
readonly report: Omit<_GetRoomById, "tx">;
|
|
578
|
+
declare readonly $res: () => Room | null;
|
|
583
579
|
|
|
584
|
-
constructor(args: Omit<
|
|
580
|
+
constructor(args: Omit<_GetRoomById, "tx">) {
|
|
585
581
|
this.report = args;
|
|
586
582
|
}
|
|
587
583
|
}
|
|
588
584
|
|
|
589
|
-
export class
|
|
590
|
-
static readonly reportId = "
|
|
591
|
-
readonly reportId = "
|
|
592
|
-
readonly report: Omit<
|
|
593
|
-
declare readonly $res: () =>
|
|
585
|
+
export class CountRooms {
|
|
586
|
+
static readonly reportId = "CountRooms" as const;
|
|
587
|
+
readonly reportId = "CountRooms" as const;
|
|
588
|
+
readonly report: Omit<_CountRooms, "tx">;
|
|
589
|
+
declare readonly $res: () => RoomCount;
|
|
594
590
|
|
|
595
|
-
constructor(args: Omit<
|
|
591
|
+
constructor(args: Omit<_CountRooms, "tx">) {
|
|
596
592
|
this.report = args;
|
|
597
593
|
}
|
|
598
594
|
}
|
|
@@ -608,124 +604,124 @@ export class CountAllMessageReads {
|
|
|
608
604
|
}
|
|
609
605
|
}
|
|
610
606
|
|
|
611
|
-
export class
|
|
612
|
-
static readonly reportId = "
|
|
613
|
-
readonly reportId = "
|
|
614
|
-
readonly report: Omit<
|
|
615
|
-
declare readonly $res: () =>
|
|
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;
|
|
616
612
|
|
|
617
|
-
constructor(args: Omit<
|
|
613
|
+
constructor(args: Omit<_GetMessageReadById, "tx">) {
|
|
618
614
|
this.report = args;
|
|
619
615
|
}
|
|
620
616
|
}
|
|
621
617
|
|
|
622
|
-
export class
|
|
623
|
-
static readonly reportId = "
|
|
624
|
-
readonly reportId = "
|
|
625
|
-
readonly report: Omit<
|
|
626
|
-
declare readonly $res: () =>
|
|
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;
|
|
627
623
|
|
|
628
|
-
constructor(args: Omit<
|
|
624
|
+
constructor(args: Omit<_CountMessageReads, "tx">) {
|
|
629
625
|
this.report = args;
|
|
630
626
|
}
|
|
631
627
|
}
|
|
632
628
|
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
readonly
|
|
636
|
-
readonly
|
|
637
|
-
|
|
629
|
+
// Command classes
|
|
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;
|
|
638
635
|
|
|
639
|
-
constructor(args: Omit<
|
|
640
|
-
this.
|
|
636
|
+
constructor(args: Omit<_BroadcastMessage, "tx" | "createdAt">) {
|
|
637
|
+
this.command = args;
|
|
641
638
|
}
|
|
642
639
|
}
|
|
643
640
|
|
|
644
|
-
export class
|
|
645
|
-
static readonly
|
|
646
|
-
readonly
|
|
647
|
-
readonly
|
|
648
|
-
declare readonly $res: () =>
|
|
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;
|
|
649
646
|
|
|
650
|
-
constructor(args: Omit<
|
|
651
|
-
this.
|
|
647
|
+
constructor(args: Omit<_AckMessages, "tx" | "createdAt">) {
|
|
648
|
+
this.command = args;
|
|
652
649
|
}
|
|
653
650
|
}
|
|
654
651
|
|
|
655
|
-
export class
|
|
656
|
-
static readonly
|
|
657
|
-
readonly
|
|
658
|
-
readonly
|
|
659
|
-
declare readonly $res: () =>
|
|
652
|
+
export class DeleteRoomMember {
|
|
653
|
+
static readonly commandId = "DeleteRoomMember" as const;
|
|
654
|
+
readonly commandId = "DeleteRoomMember" as const;
|
|
655
|
+
readonly command: Omit<_DeleteRoomMember, "tx" | "createdAt">;
|
|
656
|
+
declare readonly $res: () => DeleteRoomMemberResult;
|
|
660
657
|
|
|
661
|
-
constructor(args: Omit<
|
|
662
|
-
this.
|
|
658
|
+
constructor(args: Omit<_DeleteRoomMember, "tx" | "createdAt">) {
|
|
659
|
+
this.command = args;
|
|
663
660
|
}
|
|
664
661
|
}
|
|
665
662
|
|
|
666
|
-
export class
|
|
667
|
-
static readonly
|
|
668
|
-
readonly
|
|
669
|
-
readonly
|
|
670
|
-
declare readonly $res: () =>
|
|
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;
|
|
671
668
|
|
|
672
|
-
constructor(args: Omit<
|
|
673
|
-
this.
|
|
669
|
+
constructor(args: Omit<_DeleteRoomMembers, "tx" | "createdAt">) {
|
|
670
|
+
this.command = args;
|
|
674
671
|
}
|
|
675
672
|
}
|
|
676
673
|
|
|
677
|
-
export class
|
|
678
|
-
static readonly
|
|
679
|
-
readonly
|
|
680
|
-
readonly
|
|
681
|
-
declare readonly $res: () =>
|
|
674
|
+
export class DeleteSession {
|
|
675
|
+
static readonly commandId = "DeleteSession" as const;
|
|
676
|
+
readonly commandId = "DeleteSession" as const;
|
|
677
|
+
readonly command: Omit<_DeleteSession, "tx" | "createdAt">;
|
|
678
|
+
declare readonly $res: () => DeleteSessionResult;
|
|
682
679
|
|
|
683
|
-
constructor(args: Omit<
|
|
684
|
-
this.
|
|
680
|
+
constructor(args: Omit<_DeleteSession, "tx" | "createdAt">) {
|
|
681
|
+
this.command = args;
|
|
685
682
|
}
|
|
686
683
|
}
|
|
687
684
|
|
|
688
|
-
export class
|
|
689
|
-
static readonly
|
|
690
|
-
readonly
|
|
691
|
-
readonly
|
|
692
|
-
declare readonly $res: () =>
|
|
685
|
+
export class SetSessionLastToolAt {
|
|
686
|
+
static readonly commandId = "SetSessionLastToolAt" as const;
|
|
687
|
+
readonly commandId = "SetSessionLastToolAt" as const;
|
|
688
|
+
readonly command: Omit<_SetSessionLastToolAt, "tx" | "createdAt">;
|
|
689
|
+
declare readonly $res: () => void;
|
|
693
690
|
|
|
694
|
-
constructor(args: Omit<
|
|
695
|
-
this.
|
|
691
|
+
constructor(args: Omit<_SetSessionLastToolAt, "tx" | "createdAt">) {
|
|
692
|
+
this.command = args;
|
|
696
693
|
}
|
|
697
694
|
}
|
|
698
695
|
|
|
699
|
-
export class
|
|
700
|
-
static readonly
|
|
701
|
-
readonly
|
|
702
|
-
readonly
|
|
703
|
-
declare readonly $res: () =>
|
|
696
|
+
export class SetSessionLastTool {
|
|
697
|
+
static readonly commandId = "SetSessionLastTool" as const;
|
|
698
|
+
readonly commandId = "SetSessionLastTool" as const;
|
|
699
|
+
readonly command: Omit<_SetSessionLastTool, "tx" | "createdAt">;
|
|
700
|
+
declare readonly $res: () => void;
|
|
704
701
|
|
|
705
|
-
constructor(args: Omit<
|
|
706
|
-
this.
|
|
702
|
+
constructor(args: Omit<_SetSessionLastTool, "tx" | "createdAt">) {
|
|
703
|
+
this.command = args;
|
|
707
704
|
}
|
|
708
705
|
}
|
|
709
706
|
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
readonly
|
|
714
|
-
readonly
|
|
715
|
-
declare readonly $res: () => DeleteSessionsResult;
|
|
707
|
+
export class SetSessionCurrentTask {
|
|
708
|
+
static readonly commandId = "SetSessionCurrentTask" as const;
|
|
709
|
+
readonly commandId = "SetSessionCurrentTask" as const;
|
|
710
|
+
readonly command: Omit<_SetSessionCurrentTask, "tx" | "createdAt">;
|
|
711
|
+
declare readonly $res: () => void;
|
|
716
712
|
|
|
717
|
-
constructor(args: Omit<
|
|
713
|
+
constructor(args: Omit<_SetSessionCurrentTask, "tx" | "createdAt">) {
|
|
718
714
|
this.command = args;
|
|
719
715
|
}
|
|
720
716
|
}
|
|
721
717
|
|
|
722
|
-
export class
|
|
723
|
-
static readonly commandId = "
|
|
724
|
-
readonly commandId = "
|
|
725
|
-
readonly command: Omit<
|
|
726
|
-
declare readonly $res: () =>
|
|
718
|
+
export class SetSessionGitBranch {
|
|
719
|
+
static readonly commandId = "SetSessionGitBranch" as const;
|
|
720
|
+
readonly commandId = "SetSessionGitBranch" as const;
|
|
721
|
+
readonly command: Omit<_SetSessionGitBranch, "tx" | "createdAt">;
|
|
722
|
+
declare readonly $res: () => void;
|
|
727
723
|
|
|
728
|
-
constructor(args: Omit<
|
|
724
|
+
constructor(args: Omit<_SetSessionGitBranch, "tx" | "createdAt">) {
|
|
729
725
|
this.command = args;
|
|
730
726
|
}
|
|
731
727
|
}
|
|
@@ -763,46 +759,35 @@ export class SetSessionSessionName {
|
|
|
763
759
|
}
|
|
764
760
|
}
|
|
765
761
|
|
|
766
|
-
export class
|
|
767
|
-
static readonly commandId = "
|
|
768
|
-
readonly commandId = "
|
|
769
|
-
readonly command: Omit<
|
|
770
|
-
declare readonly $res: () =>
|
|
771
|
-
|
|
772
|
-
constructor(args: Omit<_SetSessionLastToolAt, "tx" | "createdAt">) {
|
|
773
|
-
this.command = args;
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
export class SetSessionLastTool {
|
|
778
|
-
static readonly commandId = "SetSessionLastTool" as const;
|
|
779
|
-
readonly commandId = "SetSessionLastTool" as const;
|
|
780
|
-
readonly command: Omit<_SetSessionLastTool, "tx" | "createdAt">;
|
|
781
|
-
declare readonly $res: () => void;
|
|
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;
|
|
782
767
|
|
|
783
|
-
constructor(args: Omit<
|
|
768
|
+
constructor(args: Omit<_DeleteSessions, "tx" | "createdAt">) {
|
|
784
769
|
this.command = args;
|
|
785
770
|
}
|
|
786
771
|
}
|
|
787
772
|
|
|
788
|
-
export class
|
|
789
|
-
static readonly commandId = "
|
|
790
|
-
readonly commandId = "
|
|
791
|
-
readonly command: Omit<
|
|
792
|
-
declare readonly $res: () =>
|
|
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;
|
|
793
778
|
|
|
794
|
-
constructor(args: Omit<
|
|
779
|
+
constructor(args: Omit<_DeleteSessionNickname, "tx" | "createdAt">) {
|
|
795
780
|
this.command = args;
|
|
796
781
|
}
|
|
797
782
|
}
|
|
798
783
|
|
|
799
|
-
export class
|
|
800
|
-
static readonly commandId = "
|
|
801
|
-
readonly commandId = "
|
|
802
|
-
readonly command: Omit<
|
|
803
|
-
declare readonly $res: () =>
|
|
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;
|
|
804
789
|
|
|
805
|
-
constructor(args: Omit<
|
|
790
|
+
constructor(args: Omit<_DeleteSessionNicknames, "tx" | "createdAt">) {
|
|
806
791
|
this.command = args;
|
|
807
792
|
}
|
|
808
793
|
}
|
|
@@ -829,24 +814,24 @@ export class JoinRoom {
|
|
|
829
814
|
}
|
|
830
815
|
}
|
|
831
816
|
|
|
832
|
-
export class
|
|
833
|
-
static readonly commandId = "
|
|
834
|
-
readonly commandId = "
|
|
835
|
-
readonly command: Omit<
|
|
836
|
-
declare readonly $res: () =>
|
|
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;
|
|
837
822
|
|
|
838
|
-
constructor(args: Omit<
|
|
823
|
+
constructor(args: Omit<_DeleteMessage, "tx" | "createdAt">) {
|
|
839
824
|
this.command = args;
|
|
840
825
|
}
|
|
841
826
|
}
|
|
842
827
|
|
|
843
|
-
export class
|
|
844
|
-
static readonly commandId = "
|
|
845
|
-
readonly commandId = "
|
|
846
|
-
readonly command: Omit<
|
|
847
|
-
declare readonly $res: () =>
|
|
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;
|
|
848
833
|
|
|
849
|
-
constructor(args: Omit<
|
|
834
|
+
constructor(args: Omit<_DeleteMessages, "tx" | "createdAt">) {
|
|
850
835
|
this.command = args;
|
|
851
836
|
}
|
|
852
837
|
}
|
|
@@ -873,35 +858,24 @@ export class SetRoomDescription {
|
|
|
873
858
|
}
|
|
874
859
|
}
|
|
875
860
|
|
|
876
|
-
export class
|
|
877
|
-
static readonly commandId = "
|
|
878
|
-
readonly commandId = "
|
|
879
|
-
readonly command: Omit<
|
|
880
|
-
declare readonly $res: () =>
|
|
881
|
-
|
|
882
|
-
constructor(args: Omit<_BroadcastMessage, "tx" | "createdAt">) {
|
|
883
|
-
this.command = args;
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
export class DeleteMessageReads {
|
|
888
|
-
static readonly commandId = "DeleteMessageReads" as const;
|
|
889
|
-
readonly commandId = "DeleteMessageReads" as const;
|
|
890
|
-
readonly command: Omit<_DeleteMessageReads, "tx" | "createdAt">;
|
|
891
|
-
declare readonly $res: () => DeleteMessageReadsResult;
|
|
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;
|
|
892
866
|
|
|
893
|
-
constructor(args: Omit<
|
|
867
|
+
constructor(args: Omit<_SetRoomName, "tx" | "createdAt">) {
|
|
894
868
|
this.command = args;
|
|
895
869
|
}
|
|
896
870
|
}
|
|
897
871
|
|
|
898
|
-
export class
|
|
899
|
-
static readonly commandId = "
|
|
900
|
-
readonly commandId = "
|
|
901
|
-
readonly command: Omit<
|
|
902
|
-
declare readonly $res: () =>
|
|
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;
|
|
903
877
|
|
|
904
|
-
constructor(args: Omit<
|
|
878
|
+
constructor(args: Omit<_DeleteRooms, "tx" | "createdAt">) {
|
|
905
879
|
this.command = args;
|
|
906
880
|
}
|
|
907
881
|
}
|
|
@@ -917,50 +891,6 @@ export class NotifyChannel {
|
|
|
917
891
|
}
|
|
918
892
|
}
|
|
919
893
|
|
|
920
|
-
export class DeleteRoomMembers {
|
|
921
|
-
static readonly commandId = "DeleteRoomMembers" as const;
|
|
922
|
-
readonly commandId = "DeleteRoomMembers" as const;
|
|
923
|
-
readonly command: Omit<_DeleteRoomMembers, "tx" | "createdAt">;
|
|
924
|
-
declare readonly $res: () => DeleteRoomMembersResult;
|
|
925
|
-
|
|
926
|
-
constructor(args: Omit<_DeleteRoomMembers, "tx" | "createdAt">) {
|
|
927
|
-
this.command = args;
|
|
928
|
-
}
|
|
929
|
-
}
|
|
930
|
-
|
|
931
|
-
export class DeleteRoomMember {
|
|
932
|
-
static readonly commandId = "DeleteRoomMember" as const;
|
|
933
|
-
readonly commandId = "DeleteRoomMember" as const;
|
|
934
|
-
readonly command: Omit<_DeleteRoomMember, "tx" | "createdAt">;
|
|
935
|
-
declare readonly $res: () => DeleteRoomMemberResult;
|
|
936
|
-
|
|
937
|
-
constructor(args: Omit<_DeleteRoomMember, "tx" | "createdAt">) {
|
|
938
|
-
this.command = args;
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
|
|
942
|
-
export class DeleteMessages {
|
|
943
|
-
static readonly commandId = "DeleteMessages" as const;
|
|
944
|
-
readonly commandId = "DeleteMessages" as const;
|
|
945
|
-
readonly command: Omit<_DeleteMessages, "tx" | "createdAt">;
|
|
946
|
-
declare readonly $res: () => DeleteMessagesResult;
|
|
947
|
-
|
|
948
|
-
constructor(args: Omit<_DeleteMessages, "tx" | "createdAt">) {
|
|
949
|
-
this.command = args;
|
|
950
|
-
}
|
|
951
|
-
}
|
|
952
|
-
|
|
953
|
-
export class DeleteMessage {
|
|
954
|
-
static readonly commandId = "DeleteMessage" as const;
|
|
955
|
-
readonly commandId = "DeleteMessage" as const;
|
|
956
|
-
readonly command: Omit<_DeleteMessage, "tx" | "createdAt">;
|
|
957
|
-
declare readonly $res: () => DeleteMessageResult;
|
|
958
|
-
|
|
959
|
-
constructor(args: Omit<_DeleteMessage, "tx" | "createdAt">) {
|
|
960
|
-
this.command = args;
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
|
|
964
894
|
export class ReadMessages {
|
|
965
895
|
static readonly commandId = "ReadMessages" as const;
|
|
966
896
|
readonly commandId = "ReadMessages" as const;
|
|
@@ -983,47 +913,36 @@ export class SendMessage {
|
|
|
983
913
|
}
|
|
984
914
|
}
|
|
985
915
|
|
|
986
|
-
export class
|
|
987
|
-
static readonly commandId = "
|
|
988
|
-
readonly commandId = "
|
|
989
|
-
readonly command: Omit<
|
|
990
|
-
declare readonly $res: () =>
|
|
991
|
-
|
|
992
|
-
constructor(args: Omit<_DeleteSessionNicknames, "tx" | "createdAt">) {
|
|
993
|
-
this.command = args;
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
export class DeleteSessionNickname {
|
|
998
|
-
static readonly commandId = "DeleteSessionNickname" as const;
|
|
999
|
-
readonly commandId = "DeleteSessionNickname" as const;
|
|
1000
|
-
readonly command: Omit<_DeleteSessionNickname, "tx" | "createdAt">;
|
|
1001
|
-
declare readonly $res: () => DeleteSessionNicknameResult;
|
|
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;
|
|
1002
921
|
|
|
1003
|
-
constructor(args: Omit<
|
|
922
|
+
constructor(args: Omit<_DeleteMessageRead, "tx" | "createdAt">) {
|
|
1004
923
|
this.command = args;
|
|
1005
924
|
}
|
|
1006
925
|
}
|
|
1007
926
|
|
|
1008
|
-
export class
|
|
1009
|
-
static readonly commandId = "
|
|
1010
|
-
readonly commandId = "
|
|
1011
|
-
readonly command: Omit<
|
|
1012
|
-
declare readonly $res: () =>
|
|
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;
|
|
1013
932
|
|
|
1014
|
-
constructor(args: Omit<
|
|
933
|
+
constructor(args: Omit<_DeleteMessageReads, "tx" | "createdAt">) {
|
|
1015
934
|
this.command = args;
|
|
1016
935
|
}
|
|
1017
936
|
}
|
|
1018
937
|
|
|
1019
938
|
// Item constructors
|
|
1020
939
|
export const items = {
|
|
940
|
+
RoomMember: (args: RoomMember) => ({ item: args, itemType: "RoomMember" }),
|
|
1021
941
|
Session: (args: Session) => ({ item: args, itemType: "Session" }),
|
|
942
|
+
SessionNickname: (args: SessionNickname) => ({ item: args, itemType: "SessionNickname" }),
|
|
943
|
+
Message: (args: Message) => ({ item: args, itemType: "Message" }),
|
|
1022
944
|
Room: (args: Room) => ({ item: args, itemType: "Room" }),
|
|
1023
945
|
MessageRead: (args: MessageRead) => ({ item: args, itemType: "MessageRead" }),
|
|
1024
|
-
RoomMember: (args: RoomMember) => ({ item: args, itemType: "RoomMember" }),
|
|
1025
|
-
Message: (args: Message) => ({ item: args, itemType: "Message" }),
|
|
1026
|
-
SessionNickname: (args: SessionNickname) => ({ item: args, itemType: "SessionNickname" }),
|
|
1027
946
|
};
|
|
1028
947
|
|
|
1029
948
|
// Message events
|
|
@@ -1045,6 +964,7 @@ export const MykoEvent = {
|
|
|
1045
964
|
ViewCancel: "ws:m:view-cancel",
|
|
1046
965
|
ViewResponse: "ws:m:view-response",
|
|
1047
966
|
View: "ws:m:view",
|
|
967
|
+
QueryCursorWindow: "ws:m:query-cursor-window",
|
|
1048
968
|
QueryWindow: "ws:m:query-window",
|
|
1049
969
|
QueryCancel: "ws:m:query-cancel",
|
|
1050
970
|
QueryResponse: "ws:m:query-response",
|