@alkemio/matrix-adapter-lib 1.0.0-beta2 → 1.0.0-beta3
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/README.md +6 -0
- package/dist/commands.d.ts +21 -1
- package/dist/commands.js +20 -0
- package/dist/commands.js.map +1 -1
- package/dist/dto/generated.d.ts +52 -0
- package/dist/dto/generated.js +7 -1
- package/dist/dto/generated.js.map +1 -1
- package/dist/matrix.adapter.event.type.d.ts +7 -1
- package/dist/matrix.adapter.event.type.js +6 -0
- package/dist/matrix.adapter.event.type.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -113,6 +113,7 @@ const batchRequest: BatchAddSpaceMemberRequest = {
|
|
|
113
113
|
| `COMMUNICATION_ROOM_UPDATE` | `communication.room.update` | Update room metadata |
|
|
114
114
|
| `COMMUNICATION_ROOM_DELETE` | `communication.room.delete` | Delete a room |
|
|
115
115
|
| `COMMUNICATION_ROOM_LIST` | `communication.room.list` | List all rooms |
|
|
116
|
+
| `COMMUNICATION_ROOM_MEMBERS_GET` | `communication.room.members.get` | Get room members |
|
|
116
117
|
| `COMMUNICATION_ROOM_MEMBER_BATCH_ADD` | `communication.room.member.batch.add` | Add actor to rooms |
|
|
117
118
|
| `COMMUNICATION_ROOM_MEMBER_BATCH_REMOVE` | `communication.room.member.batch.remove` | Remove actor from rooms |
|
|
118
119
|
| `COMMUNICATION_SPACE_CREATE` | `communication.space.create` | Create a space |
|
|
@@ -129,8 +130,13 @@ const batchRequest: BatchAddSpaceMemberRequest = {
|
|
|
129
130
|
| `COMMUNICATION_REACTION_ADD` | `communication.reaction.add` | Add reaction |
|
|
130
131
|
| `COMMUNICATION_REACTION_REMOVE` | `communication.reaction.remove` | Remove reaction |
|
|
131
132
|
| `COMMUNICATION_REACTION_GET` | `communication.reaction.get` | Get reaction details |
|
|
133
|
+
| `COMMUNICATION_THREAD_MESSAGES_GET` | `communication.thread.messages.get` | Get thread messages |
|
|
132
134
|
| `COMMUNICATION_ACTOR_SYNC` | `communication.actor.sync` | Sync actor profile |
|
|
133
135
|
| `COMMUNICATION_MESSAGE_RECEIVED` | `communication.message.received` | Message received event |
|
|
136
|
+
| `COMMUNICATION_ROOM_DM_REQUESTED` | `communication.room.dm.requested` | DM room creation requested (outbound) |
|
|
137
|
+
| `COMMUNICATION_REACTION_ADDED` | `communication.reaction.added` | Reaction added event (outbound) |
|
|
138
|
+
| `COMMUNICATION_REACTION_REMOVED` | `communication.reaction.removed` | Reaction removed event (outbound) |
|
|
139
|
+
| `COMMUNICATION_ROOM_MEMBER_LEFT` | `communication.room.member.left` | Room member left event (outbound) |
|
|
134
140
|
|
|
135
141
|
### Type Aliases
|
|
136
142
|
|
package/dist/commands.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AddReactionRequest, AddReactionResponse, BaseResponse, BatchAddMemberRequest, BatchAddMemberResponse, BatchAddSpaceMemberRequest, BatchAddSpaceMemberResponse, BatchRemoveMemberRequest, BatchRemoveMemberResponse, BatchRemoveSpaceMemberRequest, BatchRemoveSpaceMemberResponse, CreateRoomRequest, CreateSpaceRequest, DeleteMessageRequest, DeleteRoomRequest, DeleteSpaceRequest, GetMessageRequest, GetMessageResponse, GetReactionRequest, GetReactionResponse, GetRoomRequest, GetRoomResponse, GetSpaceRequest, GetSpaceResponse, ListRoomsRequest, ListRoomsResponse, ListSpacesRequest, ListSpacesResponse, MessageReceivedPayload, RemoveReactionRequest, SendMessageRequest, SendMessageResponse, SetParentRequest, SyncActorRequest, UpdateRoomRequest, UpdateSpaceRequest } from './dto';
|
|
1
|
+
import type { AddReactionRequest, AddReactionResponse, BaseResponse, BatchAddMemberRequest, BatchAddMemberResponse, BatchAddSpaceMemberRequest, BatchAddSpaceMemberResponse, BatchRemoveMemberRequest, BatchRemoveMemberResponse, BatchRemoveSpaceMemberRequest, BatchRemoveSpaceMemberResponse, CreateRoomRequest, CreateSpaceRequest, DMRequestedEvent, DeleteMessageRequest, DeleteRoomRequest, DeleteSpaceRequest, GetMessageRequest, GetMessageResponse, GetReactionRequest, GetReactionResponse, GetRoomMembersRequest, GetRoomMembersResponse, GetRoomRequest, GetRoomResponse, GetSpaceRequest, GetSpaceResponse, GetThreadMessagesRequest, GetThreadMessagesResponse, ListRoomsRequest, ListRoomsResponse, ListSpacesRequest, ListSpacesResponse, MessageReceivedPayload, ReactionAddedEvent, ReactionRemovedEvent, RemoveReactionRequest, RoomMemberLeftEvent, SendMessageRequest, SendMessageResponse, SetParentRequest, SyncActorRequest, UpdateRoomRequest, UpdateSpaceRequest } from './dto';
|
|
2
2
|
export declare const Commands: {
|
|
3
3
|
readonly 'communication.actor.sync': {
|
|
4
4
|
readonly request: SyncActorRequest;
|
|
@@ -56,6 +56,10 @@ export declare const Commands: {
|
|
|
56
56
|
readonly request: BatchRemoveMemberRequest;
|
|
57
57
|
readonly response: BatchRemoveMemberResponse;
|
|
58
58
|
};
|
|
59
|
+
readonly 'communication.room.members.get': {
|
|
60
|
+
readonly request: GetRoomMembersRequest;
|
|
61
|
+
readonly response: GetRoomMembersResponse;
|
|
62
|
+
};
|
|
59
63
|
readonly 'communication.room.update': {
|
|
60
64
|
readonly request: UpdateRoomRequest;
|
|
61
65
|
readonly response: BaseResponse;
|
|
@@ -88,11 +92,27 @@ export declare const Commands: {
|
|
|
88
92
|
readonly request: UpdateSpaceRequest;
|
|
89
93
|
readonly response: BaseResponse;
|
|
90
94
|
};
|
|
95
|
+
readonly 'communication.thread.messages.get': {
|
|
96
|
+
readonly request: GetThreadMessagesRequest;
|
|
97
|
+
readonly response: GetThreadMessagesResponse;
|
|
98
|
+
};
|
|
91
99
|
};
|
|
92
100
|
export declare const OutgoingEvents: {
|
|
93
101
|
readonly 'communication.message.received': {
|
|
94
102
|
readonly payload: MessageReceivedPayload;
|
|
95
103
|
};
|
|
104
|
+
readonly 'communication.reaction.added': {
|
|
105
|
+
readonly payload: ReactionAddedEvent;
|
|
106
|
+
};
|
|
107
|
+
readonly 'communication.reaction.removed': {
|
|
108
|
+
readonly payload: ReactionRemovedEvent;
|
|
109
|
+
};
|
|
110
|
+
readonly 'communication.room.dm.requested': {
|
|
111
|
+
readonly payload: DMRequestedEvent;
|
|
112
|
+
};
|
|
113
|
+
readonly 'communication.room.member.left': {
|
|
114
|
+
readonly payload: RoomMemberLeftEvent;
|
|
115
|
+
};
|
|
96
116
|
};
|
|
97
117
|
export type CommandTopic = keyof typeof Commands;
|
|
98
118
|
export type RequestFor<T extends CommandTopic> = (typeof Commands)[T]['request'];
|
package/dist/commands.js
CHANGED
|
@@ -58,6 +58,10 @@ exports.Commands = {
|
|
|
58
58
|
request: {},
|
|
59
59
|
response: {},
|
|
60
60
|
},
|
|
61
|
+
'communication.room.members.get': {
|
|
62
|
+
request: {},
|
|
63
|
+
response: {},
|
|
64
|
+
},
|
|
61
65
|
'communication.room.update': {
|
|
62
66
|
request: {},
|
|
63
67
|
response: {},
|
|
@@ -90,10 +94,26 @@ exports.Commands = {
|
|
|
90
94
|
request: {},
|
|
91
95
|
response: {},
|
|
92
96
|
},
|
|
97
|
+
'communication.thread.messages.get': {
|
|
98
|
+
request: {},
|
|
99
|
+
response: {},
|
|
100
|
+
},
|
|
93
101
|
};
|
|
94
102
|
exports.OutgoingEvents = {
|
|
95
103
|
'communication.message.received': {
|
|
96
104
|
payload: {},
|
|
97
105
|
},
|
|
106
|
+
'communication.reaction.added': {
|
|
107
|
+
payload: {},
|
|
108
|
+
},
|
|
109
|
+
'communication.reaction.removed': {
|
|
110
|
+
payload: {},
|
|
111
|
+
},
|
|
112
|
+
'communication.room.dm.requested': {
|
|
113
|
+
payload: {},
|
|
114
|
+
},
|
|
115
|
+
'communication.room.member.left': {
|
|
116
|
+
payload: {},
|
|
117
|
+
},
|
|
98
118
|
};
|
|
99
119
|
//# sourceMappingURL=commands.js.map
|
package/dist/commands.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commands.js","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"commands.js","sourceRoot":"","sources":["../src/commands.ts"],"names":[],"mappings":";;;AAqDa,QAAA,QAAQ,GAAG;IACtB,0BAA0B,EAAE;QAC1B,OAAO,EAAE,EAAsB;QAC/B,QAAQ,EAAE,EAAkB;KAC7B;IACD,oCAAoC,EAAE;QACpC,OAAO,EAAE,EAAsB;QAC/B,QAAQ,EAAE,EAAkB;KAC7B;IACD,8BAA8B,EAAE;QAC9B,OAAO,EAAE,EAA0B;QACnC,QAAQ,EAAE,EAAkB;KAC7B;IACD,2BAA2B,EAAE;QAC3B,OAAO,EAAE,EAAuB;QAChC,QAAQ,EAAE,EAAwB;KACnC;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,EAAwB;QACjC,QAAQ,EAAE,EAAyB;KACpC;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,EAAwB;QACjC,QAAQ,EAAE,EAAyB;KACpC;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,EAAwB;QACjC,QAAQ,EAAE,EAAyB;KACpC;IACD,+BAA+B,EAAE;QAC/B,OAAO,EAAE,EAA2B;QACpC,QAAQ,EAAE,EAAkB;KAC7B;IACD,2BAA2B,EAAE;QAC3B,OAAO,EAAE,EAAuB;QAChC,QAAQ,EAAE,EAAkB;KAC7B;IACD,2BAA2B,EAAE;QAC3B,OAAO,EAAE,EAAuB;QAChC,QAAQ,EAAE,EAAkB;KAC7B;IACD,wBAAwB,EAAE;QACxB,OAAO,EAAE,EAAoB;QAC7B,QAAQ,EAAE,EAAqB;KAChC;IACD,yBAAyB,EAAE;QACzB,OAAO,EAAE,EAAsB;QAC/B,QAAQ,EAAE,EAAuB;KAClC;IACD,qCAAqC,EAAE;QACrC,OAAO,EAAE,EAA2B;QACpC,QAAQ,EAAE,EAA4B;KACvC;IACD,wCAAwC,EAAE;QACxC,OAAO,EAAE,EAA8B;QACvC,QAAQ,EAAE,EAA+B;KAC1C;IACD,gCAAgC,EAAE;QAChC,OAAO,EAAE,EAA2B;QACpC,QAAQ,EAAE,EAA4B;KACvC;IACD,2BAA2B,EAAE;QAC3B,OAAO,EAAE,EAAuB;QAChC,QAAQ,EAAE,EAAkB;KAC7B;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,EAAwB;QACjC,QAAQ,EAAE,EAAkB;KAC7B;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,EAAwB;QACjC,QAAQ,EAAE,EAAkB;KAC7B;IACD,yBAAyB,EAAE;QACzB,OAAO,EAAE,EAAqB;QAC9B,QAAQ,EAAE,EAAsB;KACjC;IACD,0BAA0B,EAAE;QAC1B,OAAO,EAAE,EAAuB;QAChC,QAAQ,EAAE,EAAwB;KACnC;IACD,sCAAsC,EAAE;QACtC,OAAO,EAAE,EAAgC;QACzC,QAAQ,EAAE,EAAiC;KAC5C;IACD,yCAAyC,EAAE;QACzC,OAAO,EAAE,EAAmC;QAC5C,QAAQ,EAAE,EAAoC;KAC/C;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,EAAwB;QACjC,QAAQ,EAAE,EAAkB;KAC7B;IACD,mCAAmC,EAAE;QACnC,OAAO,EAAE,EAA8B;QACvC,QAAQ,EAAE,EAA+B;KAC1C;CACO,CAAC;AAKE,QAAA,cAAc,GAAG;IAC5B,gCAAgC,EAAE;QAChC,OAAO,EAAE,EAA4B;KACtC;IACD,8BAA8B,EAAE;QAC9B,OAAO,EAAE,EAAwB;KAClC;IACD,gCAAgC,EAAE;QAChC,OAAO,EAAE,EAA0B;KACpC;IACD,iCAAiC,EAAE;QACjC,OAAO,EAAE,EAAsB;KAChC;IACD,gCAAgC,EAAE;QAChC,OAAO,EAAE,EAAyB;KACnC;CACO,CAAC"}
|
package/dist/dto/generated.d.ts
CHANGED
|
@@ -45,11 +45,25 @@ export declare const TopicSpaceList = "communication.space.list";
|
|
|
45
45
|
export declare const TopicHierarchySetParent = "communication.hierarchy.set_parent";
|
|
46
46
|
export declare const TopicSpaceMemberBatchAdd = "communication.space.member.batch.add";
|
|
47
47
|
export declare const TopicSpaceMemberBatchRemove = "communication.space.member.batch.remove";
|
|
48
|
+
export declare const TopicRoomDMRequested = "communication.room.dm.requested";
|
|
49
|
+
export declare const TopicReactionAdded = "communication.reaction.added";
|
|
50
|
+
export declare const TopicReactionRemoved = "communication.reaction.removed";
|
|
51
|
+
export declare const TopicRoomMemberLeft = "communication.room.member.left";
|
|
52
|
+
export declare const TopicRoomMembersGet = "communication.room.members.get";
|
|
53
|
+
export declare const TopicThreadMessagesGet = "communication.thread.messages.get";
|
|
48
54
|
export interface CommandDef {
|
|
49
55
|
Topic: string;
|
|
50
56
|
RequestType: string;
|
|
51
57
|
ResponseType: string;
|
|
52
58
|
}
|
|
59
|
+
export interface DMRequestedEvent {
|
|
60
|
+
initiator_actor_id: string;
|
|
61
|
+
target_actor_id: string;
|
|
62
|
+
}
|
|
63
|
+
export interface DMWebhookPayload {
|
|
64
|
+
inviter: string;
|
|
65
|
+
invitee: string;
|
|
66
|
+
}
|
|
53
67
|
export type ErrorCode = string;
|
|
54
68
|
export declare const ErrCodeInvalidParam: ErrorCode;
|
|
55
69
|
export declare const ErrCodeRoomNotFound: ErrorCode;
|
|
@@ -91,6 +105,28 @@ export interface Reaction {
|
|
|
91
105
|
timestamp: number;
|
|
92
106
|
messageId: string;
|
|
93
107
|
}
|
|
108
|
+
export interface ReactionAddedEvent {
|
|
109
|
+
alkemio_room_id: AlkemioRoomID;
|
|
110
|
+
message_id: MessageID;
|
|
111
|
+
reaction_id: ReactionID;
|
|
112
|
+
emoji: string;
|
|
113
|
+
sender_actor_id: AlkemioActorID;
|
|
114
|
+
timestamp: number;
|
|
115
|
+
}
|
|
116
|
+
export interface ReactionRemovedEvent {
|
|
117
|
+
alkemio_room_id: AlkemioRoomID;
|
|
118
|
+
message_id: MessageID;
|
|
119
|
+
reaction_id: ReactionID;
|
|
120
|
+
emoji: string;
|
|
121
|
+
sender_actor_id: AlkemioActorID;
|
|
122
|
+
timestamp: number;
|
|
123
|
+
}
|
|
124
|
+
export interface RoomMemberLeftEvent {
|
|
125
|
+
alkemio_room_id: AlkemioRoomID;
|
|
126
|
+
actor_id: AlkemioActorID;
|
|
127
|
+
reason?: string;
|
|
128
|
+
timestamp: number;
|
|
129
|
+
}
|
|
94
130
|
export interface SetParentRequest {
|
|
95
131
|
child_id: string;
|
|
96
132
|
is_space: boolean;
|
|
@@ -129,6 +165,15 @@ export interface DeleteMessageRequest {
|
|
|
129
165
|
sender_actor_id: AlkemioActorID;
|
|
130
166
|
reason?: string;
|
|
131
167
|
}
|
|
168
|
+
export interface GetThreadMessagesRequest {
|
|
169
|
+
alkemio_room_id: AlkemioRoomID;
|
|
170
|
+
thread_root_id: MessageID;
|
|
171
|
+
}
|
|
172
|
+
export interface GetThreadMessagesResponse extends BaseResponse {
|
|
173
|
+
alkemio_room_id: AlkemioRoomID;
|
|
174
|
+
thread_root_id: MessageID;
|
|
175
|
+
messages: MessageDto[];
|
|
176
|
+
}
|
|
132
177
|
export interface ReactionDto {
|
|
133
178
|
id: ReactionID;
|
|
134
179
|
emoji: string;
|
|
@@ -194,6 +239,13 @@ export interface ListRoomsResponse extends BaseResponse {
|
|
|
194
239
|
alkemio_room_ids: AlkemioRoomID[];
|
|
195
240
|
next_cursor?: string;
|
|
196
241
|
}
|
|
242
|
+
export interface GetRoomMembersRequest {
|
|
243
|
+
alkemio_room_id: AlkemioRoomID;
|
|
244
|
+
}
|
|
245
|
+
export interface GetRoomMembersResponse extends BaseResponse {
|
|
246
|
+
alkemio_room_id: AlkemioRoomID;
|
|
247
|
+
member_actor_ids: AlkemioActorID[];
|
|
248
|
+
}
|
|
197
249
|
export interface SpaceChildDto {
|
|
198
250
|
child_id: string;
|
|
199
251
|
is_space: boolean;
|
package/dist/dto/generated.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.JoinRuleRestricted = exports.JoinRuleInvite = exports.JoinRulePublic = exports.RoomTypeDirect = exports.RoomTypeCommunity = exports.ErrCodeNotAllowed = exports.ErrCodeInternalError = exports.ErrCodeMatrixError = exports.ErrCodeReactionNotFound = exports.ErrCodeMessageNotFound = exports.ErrCodeActorNotFound = exports.ErrCodeSpaceNotFound = exports.ErrCodeRoomNotFound = exports.ErrCodeInvalidParam = exports.TopicSpaceMemberBatchRemove = exports.TopicSpaceMemberBatchAdd = exports.TopicHierarchySetParent = exports.TopicSpaceList = exports.TopicSpaceDelete = exports.TopicSpaceUpdate = exports.TopicSpaceGet = exports.TopicSpaceCreate = exports.TopicActorSync = exports.TopicRoomMemberBatchRemove = exports.TopicRoomMemberBatchAdd = exports.TopicReactionGet = exports.TopicReactionRemove = exports.TopicReactionAdd = exports.TopicMessageReceived = exports.TopicMessageDelete = exports.TopicMessageGet = exports.TopicMessageSend = exports.TopicRoomList = exports.TopicRoomDelete = exports.TopicRoomUpdate = exports.TopicRoomGet = exports.TopicRoomCreate = void 0;
|
|
3
|
+
exports.JoinRuleRestricted = exports.JoinRuleInvite = exports.JoinRulePublic = exports.RoomTypeDirect = exports.RoomTypeCommunity = exports.ErrCodeNotAllowed = exports.ErrCodeInternalError = exports.ErrCodeMatrixError = exports.ErrCodeReactionNotFound = exports.ErrCodeMessageNotFound = exports.ErrCodeActorNotFound = exports.ErrCodeSpaceNotFound = exports.ErrCodeRoomNotFound = exports.ErrCodeInvalidParam = exports.TopicThreadMessagesGet = exports.TopicRoomMembersGet = exports.TopicRoomMemberLeft = exports.TopicReactionRemoved = exports.TopicReactionAdded = exports.TopicRoomDMRequested = exports.TopicSpaceMemberBatchRemove = exports.TopicSpaceMemberBatchAdd = exports.TopicHierarchySetParent = exports.TopicSpaceList = exports.TopicSpaceDelete = exports.TopicSpaceUpdate = exports.TopicSpaceGet = exports.TopicSpaceCreate = exports.TopicActorSync = exports.TopicRoomMemberBatchRemove = exports.TopicRoomMemberBatchAdd = exports.TopicReactionGet = exports.TopicReactionRemove = exports.TopicReactionAdd = exports.TopicMessageReceived = exports.TopicMessageDelete = exports.TopicMessageGet = exports.TopicMessageSend = exports.TopicRoomList = exports.TopicRoomDelete = exports.TopicRoomUpdate = exports.TopicRoomGet = exports.TopicRoomCreate = void 0;
|
|
4
4
|
exports.TopicRoomCreate = "communication.room.create";
|
|
5
5
|
exports.TopicRoomGet = "communication.room.get";
|
|
6
6
|
exports.TopicRoomUpdate = "communication.room.update";
|
|
@@ -24,6 +24,12 @@ exports.TopicSpaceList = "communication.space.list";
|
|
|
24
24
|
exports.TopicHierarchySetParent = "communication.hierarchy.set_parent";
|
|
25
25
|
exports.TopicSpaceMemberBatchAdd = "communication.space.member.batch.add";
|
|
26
26
|
exports.TopicSpaceMemberBatchRemove = "communication.space.member.batch.remove";
|
|
27
|
+
exports.TopicRoomDMRequested = "communication.room.dm.requested";
|
|
28
|
+
exports.TopicReactionAdded = "communication.reaction.added";
|
|
29
|
+
exports.TopicReactionRemoved = "communication.reaction.removed";
|
|
30
|
+
exports.TopicRoomMemberLeft = "communication.room.member.left";
|
|
31
|
+
exports.TopicRoomMembersGet = "communication.room.members.get";
|
|
32
|
+
exports.TopicThreadMessagesGet = "communication.thread.messages.get";
|
|
27
33
|
exports.ErrCodeInvalidParam = "INVALID_PARAM";
|
|
28
34
|
exports.ErrCodeRoomNotFound = "ROOM_NOT_FOUND";
|
|
29
35
|
exports.ErrCodeSpaceNotFound = "SPACE_NOT_FOUND";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated.js","sourceRoot":"","sources":["../../src/dto/generated.ts"],"names":[],"mappings":";;;AA2Da,QAAA,eAAe,GAAG,2BAA2B,CAAC;AAI9C,QAAA,YAAY,GAAG,wBAAwB,CAAC;AAIxC,QAAA,eAAe,GAAG,2BAA2B,CAAC;AAI9C,QAAA,eAAe,GAAG,2BAA2B,CAAC;AAI9C,QAAA,aAAa,GAAG,yBAAyB,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a,QAAQ,CAAC;AAQpC,QAAA,cAAc,GAAa,QAAQ,CAAC;AAIpC,QAAA,cAAc,GAAa,QAAQ,CAAC;AAIpC,QAAA,kBAAkB,GAAa,YAAY,CAAC"}
|
|
@@ -6,14 +6,19 @@ export declare enum MatrixAdapterEventType {
|
|
|
6
6
|
COMMUNICATION_MESSAGE_RECEIVED = "communication.message.received",
|
|
7
7
|
COMMUNICATION_MESSAGE_SEND = "communication.message.send",
|
|
8
8
|
COMMUNICATION_REACTION_ADD = "communication.reaction.add",
|
|
9
|
+
COMMUNICATION_REACTION_ADDED = "communication.reaction.added",
|
|
9
10
|
COMMUNICATION_REACTION_GET = "communication.reaction.get",
|
|
10
11
|
COMMUNICATION_REACTION_REMOVE = "communication.reaction.remove",
|
|
12
|
+
COMMUNICATION_REACTION_REMOVED = "communication.reaction.removed",
|
|
11
13
|
COMMUNICATION_ROOM_CREATE = "communication.room.create",
|
|
12
14
|
COMMUNICATION_ROOM_DELETE = "communication.room.delete",
|
|
15
|
+
COMMUNICATION_ROOM_DM_REQUESTED = "communication.room.dm.requested",
|
|
13
16
|
COMMUNICATION_ROOM_GET = "communication.room.get",
|
|
14
17
|
COMMUNICATION_ROOM_LIST = "communication.room.list",
|
|
18
|
+
COMMUNICATION_ROOM_MEMBERS_GET = "communication.room.members.get",
|
|
15
19
|
COMMUNICATION_ROOM_MEMBER_BATCH_ADD = "communication.room.member.batch.add",
|
|
16
20
|
COMMUNICATION_ROOM_MEMBER_BATCH_REMOVE = "communication.room.member.batch.remove",
|
|
21
|
+
COMMUNICATION_ROOM_MEMBER_LEFT = "communication.room.member.left",
|
|
17
22
|
COMMUNICATION_ROOM_UPDATE = "communication.room.update",
|
|
18
23
|
COMMUNICATION_SPACE_CREATE = "communication.space.create",
|
|
19
24
|
COMMUNICATION_SPACE_DELETE = "communication.space.delete",
|
|
@@ -21,5 +26,6 @@ export declare enum MatrixAdapterEventType {
|
|
|
21
26
|
COMMUNICATION_SPACE_LIST = "communication.space.list",
|
|
22
27
|
COMMUNICATION_SPACE_MEMBER_BATCH_ADD = "communication.space.member.batch.add",
|
|
23
28
|
COMMUNICATION_SPACE_MEMBER_BATCH_REMOVE = "communication.space.member.batch.remove",
|
|
24
|
-
COMMUNICATION_SPACE_UPDATE = "communication.space.update"
|
|
29
|
+
COMMUNICATION_SPACE_UPDATE = "communication.space.update",
|
|
30
|
+
COMMUNICATION_THREAD_MESSAGES_GET = "communication.thread.messages.get"
|
|
25
31
|
}
|
|
@@ -10,14 +10,19 @@ var MatrixAdapterEventType;
|
|
|
10
10
|
MatrixAdapterEventType["COMMUNICATION_MESSAGE_RECEIVED"] = "communication.message.received";
|
|
11
11
|
MatrixAdapterEventType["COMMUNICATION_MESSAGE_SEND"] = "communication.message.send";
|
|
12
12
|
MatrixAdapterEventType["COMMUNICATION_REACTION_ADD"] = "communication.reaction.add";
|
|
13
|
+
MatrixAdapterEventType["COMMUNICATION_REACTION_ADDED"] = "communication.reaction.added";
|
|
13
14
|
MatrixAdapterEventType["COMMUNICATION_REACTION_GET"] = "communication.reaction.get";
|
|
14
15
|
MatrixAdapterEventType["COMMUNICATION_REACTION_REMOVE"] = "communication.reaction.remove";
|
|
16
|
+
MatrixAdapterEventType["COMMUNICATION_REACTION_REMOVED"] = "communication.reaction.removed";
|
|
15
17
|
MatrixAdapterEventType["COMMUNICATION_ROOM_CREATE"] = "communication.room.create";
|
|
16
18
|
MatrixAdapterEventType["COMMUNICATION_ROOM_DELETE"] = "communication.room.delete";
|
|
19
|
+
MatrixAdapterEventType["COMMUNICATION_ROOM_DM_REQUESTED"] = "communication.room.dm.requested";
|
|
17
20
|
MatrixAdapterEventType["COMMUNICATION_ROOM_GET"] = "communication.room.get";
|
|
18
21
|
MatrixAdapterEventType["COMMUNICATION_ROOM_LIST"] = "communication.room.list";
|
|
22
|
+
MatrixAdapterEventType["COMMUNICATION_ROOM_MEMBERS_GET"] = "communication.room.members.get";
|
|
19
23
|
MatrixAdapterEventType["COMMUNICATION_ROOM_MEMBER_BATCH_ADD"] = "communication.room.member.batch.add";
|
|
20
24
|
MatrixAdapterEventType["COMMUNICATION_ROOM_MEMBER_BATCH_REMOVE"] = "communication.room.member.batch.remove";
|
|
25
|
+
MatrixAdapterEventType["COMMUNICATION_ROOM_MEMBER_LEFT"] = "communication.room.member.left";
|
|
21
26
|
MatrixAdapterEventType["COMMUNICATION_ROOM_UPDATE"] = "communication.room.update";
|
|
22
27
|
MatrixAdapterEventType["COMMUNICATION_SPACE_CREATE"] = "communication.space.create";
|
|
23
28
|
MatrixAdapterEventType["COMMUNICATION_SPACE_DELETE"] = "communication.space.delete";
|
|
@@ -26,5 +31,6 @@ var MatrixAdapterEventType;
|
|
|
26
31
|
MatrixAdapterEventType["COMMUNICATION_SPACE_MEMBER_BATCH_ADD"] = "communication.space.member.batch.add";
|
|
27
32
|
MatrixAdapterEventType["COMMUNICATION_SPACE_MEMBER_BATCH_REMOVE"] = "communication.space.member.batch.remove";
|
|
28
33
|
MatrixAdapterEventType["COMMUNICATION_SPACE_UPDATE"] = "communication.space.update";
|
|
34
|
+
MatrixAdapterEventType["COMMUNICATION_THREAD_MESSAGES_GET"] = "communication.thread.messages.get";
|
|
29
35
|
})(MatrixAdapterEventType || (exports.MatrixAdapterEventType = MatrixAdapterEventType = {}));
|
|
30
36
|
//# sourceMappingURL=matrix.adapter.event.type.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matrix.adapter.event.type.js","sourceRoot":"","sources":["../src/matrix.adapter.event.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"matrix.adapter.event.type.js","sourceRoot":"","sources":["../src/matrix.adapter.event.type.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAgCX;AAhCD,WAAY,sBAAsB;IAEhC,+EAAqD,CAAA;IACrD,mGAAyE,CAAA;IACzE,uFAA6D,CAAA;IAC7D,iFAAuD,CAAA;IACvD,2FAAiE,CAAA;IACjE,mFAAyD,CAAA;IACzD,mFAAyD,CAAA;IACzD,uFAA6D,CAAA;IAC7D,mFAAyD,CAAA;IACzD,yFAA+D,CAAA;IAC/D,2FAAiE,CAAA;IACjE,iFAAuD,CAAA;IACvD,iFAAuD,CAAA;IACvD,6FAAmE,CAAA;IACnE,2EAAiD,CAAA;IACjD,6EAAmD,CAAA;IACnD,2FAAiE,CAAA;IACjE,qGAA2E,CAAA;IAC3E,2GAAiF,CAAA;IACjF,2FAAiE,CAAA;IACjE,iFAAuD,CAAA;IACvD,mFAAyD,CAAA;IACzD,mFAAyD,CAAA;IACzD,6EAAmD,CAAA;IACnD,+EAAqD,CAAA;IACrD,uGAA6E,CAAA;IAC7E,6GAAmF,CAAA;IACnF,mFAAyD,CAAA;IACzD,iGAAuE,CAAA;AAEzE,CAAC,EAhCW,sBAAsB,sCAAtB,sBAAsB,QAgCjC"}
|