@alkemio/matrix-adapter-lib 0.8.4-mapping → 0.8.4-mapping4
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/dist/commands.d.ts +13 -1
- package/dist/commands.js +12 -0
- package/dist/commands.js.map +1 -1
- package/dist/dto/generated.d.ts +37 -3
- package/dist/dto/generated.js +5 -2
- package/dist/dto/generated.js.map +1 -1
- package/dist/matrix.adapter.event.type.d.ts +3 -0
- package/dist/matrix.adapter.event.type.js +3 -0
- package/dist/matrix.adapter.event.type.js.map +1 -1
- package/package.json +1 -1
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, DMRequestedEvent, DeleteMessageRequest, DeleteRoomRequest, DeleteSpaceRequest, GetMessageRequest, GetMessageResponse, GetReactionRequest, GetReactionResponse, GetRoomAsUserRequest, GetRoomAsUserResponse, GetRoomMembersRequest, GetRoomMembersResponse, GetRoomRequest, GetRoomResponse, GetSpaceRequest, GetSpaceResponse, GetThreadMessagesRequest, GetThreadMessagesResponse, GetUnreadCountsRequest, GetUnreadCountsResponse, ListRoomsRequest, ListRoomsResponse, ListSpacesRequest, ListSpacesResponse, MarkMessageReadRequest, MessageEditedEvent, MessageReceivedPayload, MessageRedactedEvent, ReactionAddedEvent, ReactionRemovedEvent, ReadReceiptUpdatedEvent, RemoveReactionRequest, RoomCreatedEvent, RoomMemberLeftEvent, RoomMemberUpdatedEvent, SendMessageRequest, SendMessageResponse, SetParentRequest, SyncActorRequest, UpdateRoomRequest, UpdateSpaceRequest } from './dto';
|
|
1
|
+
import type { AddReactionRequest, AddReactionResponse, BaseResponse, BatchAddMemberRequest, BatchAddMemberResponse, BatchAddSpaceMemberRequest, BatchAddSpaceMemberResponse, BatchGetLastMessagesRequest, BatchGetLastMessagesResponse, BatchGetUnreadCountsRequest, BatchGetUnreadCountsResponse, BatchRemoveMemberRequest, BatchRemoveMemberResponse, BatchRemoveSpaceMemberRequest, BatchRemoveSpaceMemberResponse, CreateRoomRequest, CreateSpaceRequest, DMRequestedEvent, DeleteMessageRequest, DeleteRoomRequest, DeleteSpaceRequest, GetLastMessageRequest, GetLastMessageResponse, GetMessageRequest, GetMessageResponse, GetReactionRequest, GetReactionResponse, GetRoomAsUserRequest, GetRoomAsUserResponse, GetRoomMembersRequest, GetRoomMembersResponse, GetRoomRequest, GetRoomResponse, GetSpaceRequest, GetSpaceResponse, GetThreadMessagesRequest, GetThreadMessagesResponse, GetUnreadCountsRequest, GetUnreadCountsResponse, ListRoomsRequest, ListRoomsResponse, ListSpacesRequest, ListSpacesResponse, MarkMessageReadRequest, MessageEditedEvent, MessageReceivedPayload, MessageRedactedEvent, ReactionAddedEvent, ReactionRemovedEvent, ReadReceiptUpdatedEvent, RemoveReactionRequest, RoomCreatedEvent, RoomMemberLeftEvent, RoomMemberUpdatedEvent, 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;
|
|
@@ -36,6 +36,14 @@ export declare const Commands: {
|
|
|
36
36
|
readonly request: RemoveReactionRequest;
|
|
37
37
|
readonly response: BaseResponse;
|
|
38
38
|
};
|
|
39
|
+
readonly 'communication.room.batch.last_messages.get': {
|
|
40
|
+
readonly request: BatchGetLastMessagesRequest;
|
|
41
|
+
readonly response: BatchGetLastMessagesResponse;
|
|
42
|
+
};
|
|
43
|
+
readonly 'communication.room.batch.unread_counts.get': {
|
|
44
|
+
readonly request: BatchGetUnreadCountsRequest;
|
|
45
|
+
readonly response: BatchGetUnreadCountsResponse;
|
|
46
|
+
};
|
|
39
47
|
readonly 'communication.room.create': {
|
|
40
48
|
readonly request: CreateRoomRequest;
|
|
41
49
|
readonly response: BaseResponse;
|
|
@@ -52,6 +60,10 @@ export declare const Commands: {
|
|
|
52
60
|
readonly request: GetRoomAsUserRequest;
|
|
53
61
|
readonly response: GetRoomAsUserResponse;
|
|
54
62
|
};
|
|
63
|
+
readonly 'communication.room.last_message.get': {
|
|
64
|
+
readonly request: GetLastMessageRequest;
|
|
65
|
+
readonly response: GetLastMessageResponse;
|
|
66
|
+
};
|
|
55
67
|
readonly 'communication.room.list': {
|
|
56
68
|
readonly request: ListRoomsRequest;
|
|
57
69
|
readonly response: ListRoomsResponse;
|
package/dist/commands.js
CHANGED
|
@@ -38,6 +38,14 @@ exports.Commands = {
|
|
|
38
38
|
request: {},
|
|
39
39
|
response: {},
|
|
40
40
|
},
|
|
41
|
+
'communication.room.batch.last_messages.get': {
|
|
42
|
+
request: {},
|
|
43
|
+
response: {},
|
|
44
|
+
},
|
|
45
|
+
'communication.room.batch.unread_counts.get': {
|
|
46
|
+
request: {},
|
|
47
|
+
response: {},
|
|
48
|
+
},
|
|
41
49
|
'communication.room.create': {
|
|
42
50
|
request: {},
|
|
43
51
|
response: {},
|
|
@@ -54,6 +62,10 @@ exports.Commands = {
|
|
|
54
62
|
request: {},
|
|
55
63
|
response: {},
|
|
56
64
|
},
|
|
65
|
+
'communication.room.last_message.get': {
|
|
66
|
+
request: {},
|
|
67
|
+
response: {},
|
|
68
|
+
},
|
|
57
69
|
'communication.room.list': {
|
|
58
70
|
request: {},
|
|
59
71
|
response: {},
|
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":";;;AAqEa,QAA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C;IACD,gCAAgC,EAAE;QAChC,OAAO,EAAE,EAA4B;KACtC;IACD,gCAAgC,EAAE;QAChC,OAAO,EAAE,EAA0B;KACpC;IACD,8BAA8B,EAAE;QAC9B,OAAO,EAAE,EAAwB;KAClC;IACD,gCAAgC,EAAE;QAChC,OAAO,EAAE,EAA0B;KACpC;IACD,4BAA4B,EAAE;QAC5B,OAAO,EAAE,EAAsB;KAChC;IACD,iCAAiC,EAAE;QACjC,OAAO,EAAE,EAAsB;KAChC;IACD,gCAAgC,EAAE;QAChC,OAAO,EAAE,EAAyB;KACnC;IACD,mCAAmC,EAAE;QACnC,OAAO,EAAE,EAA4B;KACtC;IACD,oCAAoC,EAAE;QACpC,OAAO,EAAE,EAA6B;KACvC;CACO,CAAC"}
|
package/dist/dto/generated.d.ts
CHANGED
|
@@ -22,6 +22,35 @@ export interface BatchRemoveMemberResponse extends BaseResponse {
|
|
|
22
22
|
[key: string]: BaseResponse;
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
+
export interface BatchGetUnreadCountsRequest {
|
|
26
|
+
actor_id: AlkemioActorID;
|
|
27
|
+
alkemio_room_ids: AlkemioRoomID[];
|
|
28
|
+
}
|
|
29
|
+
export interface BatchGetUnreadCountsResponse extends BaseResponse {
|
|
30
|
+
unread_counts: {
|
|
31
|
+
[key: string]: number;
|
|
32
|
+
};
|
|
33
|
+
errors?: {
|
|
34
|
+
[key: string]: BaseResponse;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export interface GetLastMessageRequest {
|
|
38
|
+
alkemio_room_id: AlkemioRoomID;
|
|
39
|
+
}
|
|
40
|
+
export interface GetLastMessageResponse extends BaseResponse {
|
|
41
|
+
message?: MessageDto;
|
|
42
|
+
}
|
|
43
|
+
export interface BatchGetLastMessagesRequest {
|
|
44
|
+
alkemio_room_ids: AlkemioRoomID[];
|
|
45
|
+
}
|
|
46
|
+
export interface BatchGetLastMessagesResponse extends BaseResponse {
|
|
47
|
+
messages: {
|
|
48
|
+
[key: string]: MessageDto | undefined;
|
|
49
|
+
};
|
|
50
|
+
errors?: {
|
|
51
|
+
[key: string]: BaseResponse;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
25
54
|
export declare const TopicRoomCreate = "communication.room.create";
|
|
26
55
|
export declare const TopicRoomGet = "communication.room.get";
|
|
27
56
|
export declare const TopicRoomGetAsUser = "communication.room.get.as_user";
|
|
@@ -54,6 +83,9 @@ export declare const TopicRoomMembersGet = "communication.room.members.get";
|
|
|
54
83
|
export declare const TopicThreadMessagesGet = "communication.thread.messages.get";
|
|
55
84
|
export declare const TopicMessageRead = "communication.message.read";
|
|
56
85
|
export declare const TopicUnreadCountsGet = "communication.room.unread_counts.get";
|
|
86
|
+
export declare const TopicBatchUnreadCountsGet = "communication.room.batch.unread_counts.get";
|
|
87
|
+
export declare const TopicLastMessageGet = "communication.room.last_message.get";
|
|
88
|
+
export declare const TopicBatchLastMessagesGet = "communication.room.batch.last_messages.get";
|
|
57
89
|
export declare const TopicReadReceiptUpdated = "communication.room.receipt.updated";
|
|
58
90
|
export declare const TopicMessageEdited = "communication.message.edited";
|
|
59
91
|
export declare const TopicMessageRedacted = "communication.message.redacted";
|
|
@@ -67,6 +99,7 @@ export interface CommandDef {
|
|
|
67
99
|
export interface DMRequestedEvent {
|
|
68
100
|
initiator_actor_id: string;
|
|
69
101
|
target_actor_id: string;
|
|
102
|
+
timestamp: number;
|
|
70
103
|
}
|
|
71
104
|
export interface DMWebhookPayload {
|
|
72
105
|
inviter: string;
|
|
@@ -146,7 +179,7 @@ export interface MessageDto {
|
|
|
146
179
|
id: MessageID;
|
|
147
180
|
content: string;
|
|
148
181
|
sender_actor_id: AlkemioActorID;
|
|
149
|
-
timestamp:
|
|
182
|
+
timestamp: number;
|
|
150
183
|
reactions: ReactionDto[];
|
|
151
184
|
thread_id?: MessageID;
|
|
152
185
|
}
|
|
@@ -158,7 +191,7 @@ export interface SendMessageRequest {
|
|
|
158
191
|
}
|
|
159
192
|
export interface SendMessageResponse extends BaseResponse {
|
|
160
193
|
message_id: MessageID;
|
|
161
|
-
timestamp:
|
|
194
|
+
timestamp: number;
|
|
162
195
|
}
|
|
163
196
|
export interface GetMessageRequest {
|
|
164
197
|
alkemio_room_id: AlkemioRoomID;
|
|
@@ -186,7 +219,7 @@ export interface ReactionDto {
|
|
|
186
219
|
id: ReactionID;
|
|
187
220
|
emoji: string;
|
|
188
221
|
sender_actor_id: AlkemioActorID;
|
|
189
|
-
timestamp:
|
|
222
|
+
timestamp: number;
|
|
190
223
|
}
|
|
191
224
|
export interface AddReactionRequest {
|
|
192
225
|
alkemio_room_id: AlkemioRoomID;
|
|
@@ -196,6 +229,7 @@ export interface AddReactionRequest {
|
|
|
196
229
|
}
|
|
197
230
|
export interface AddReactionResponse extends BaseResponse {
|
|
198
231
|
reaction_id: ReactionID;
|
|
232
|
+
timestamp: number;
|
|
199
233
|
}
|
|
200
234
|
export interface RemoveReactionRequest {
|
|
201
235
|
alkemio_room_id: AlkemioRoomID;
|
package/dist/dto/generated.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.JoinRuleRestricted = void 0;
|
|
3
|
+
exports.RoomTypeCommunity = exports.ErrCodeNotAllowed = exports.ErrCodeInternalError = exports.ErrCodeMatrixError = exports.ErrCodeReactionNotFound = exports.ErrCodeMessageNotFound = exports.ErrCodeActorNotFound = exports.ErrCodeSpaceNotFound = exports.ErrCodeRoomNotFound = exports.ErrCodeInvalidParam = exports.TopicRoomMemberUpdated = exports.TopicRoomCreated = exports.TopicMessageRedacted = exports.TopicMessageEdited = exports.TopicReadReceiptUpdated = exports.TopicBatchLastMessagesGet = exports.TopicLastMessageGet = exports.TopicBatchUnreadCountsGet = exports.TopicUnreadCountsGet = exports.TopicMessageRead = 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.TopicRoomGetAsUser = exports.TopicRoomGet = exports.TopicRoomCreate = void 0;
|
|
4
|
+
exports.JoinRuleRestricted = exports.JoinRuleInvite = exports.JoinRulePublic = exports.RoomTypeDirect = void 0;
|
|
5
5
|
exports.TopicRoomCreate = "communication.room.create";
|
|
6
6
|
exports.TopicRoomGet = "communication.room.get";
|
|
7
7
|
exports.TopicRoomGetAsUser = "communication.room.get.as_user";
|
|
@@ -34,6 +34,9 @@ exports.TopicRoomMembersGet = "communication.room.members.get";
|
|
|
34
34
|
exports.TopicThreadMessagesGet = "communication.thread.messages.get";
|
|
35
35
|
exports.TopicMessageRead = "communication.message.read";
|
|
36
36
|
exports.TopicUnreadCountsGet = "communication.room.unread_counts.get";
|
|
37
|
+
exports.TopicBatchUnreadCountsGet = "communication.room.batch.unread_counts.get";
|
|
38
|
+
exports.TopicLastMessageGet = "communication.room.last_message.get";
|
|
39
|
+
exports.TopicBatchLastMessagesGet = "communication.room.batch.last_messages.get";
|
|
37
40
|
exports.TopicReadReceiptUpdated = "communication.room.receipt.updated";
|
|
38
41
|
exports.TopicMessageEdited = "communication.message.edited";
|
|
39
42
|
exports.TopicMessageRedacted = "communication.message.redacted";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generated.js","sourceRoot":"","sources":["../../src/dto/generated.ts"],"names":[],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
|
|
15
15
|
COMMUNICATION_REACTION_REMOVED = "communication.reaction.removed",
|
|
16
|
+
COMMUNICATION_ROOM_BATCH_LAST_MESSAGES_GET = "communication.room.batch.last_messages.get",
|
|
17
|
+
COMMUNICATION_ROOM_BATCH_UNREAD_COUNTS_GET = "communication.room.batch.unread_counts.get",
|
|
16
18
|
COMMUNICATION_ROOM_CREATE = "communication.room.create",
|
|
17
19
|
COMMUNICATION_ROOM_CREATED = "communication.room.created",
|
|
18
20
|
COMMUNICATION_ROOM_DELETE = "communication.room.delete",
|
|
19
21
|
COMMUNICATION_ROOM_DM_REQUESTED = "communication.room.dm.requested",
|
|
20
22
|
COMMUNICATION_ROOM_GET = "communication.room.get",
|
|
21
23
|
COMMUNICATION_ROOM_GET_AS_USER = "communication.room.get.as_user",
|
|
24
|
+
COMMUNICATION_ROOM_LAST_MESSAGE_GET = "communication.room.last_message.get",
|
|
22
25
|
COMMUNICATION_ROOM_LIST = "communication.room.list",
|
|
23
26
|
COMMUNICATION_ROOM_MEMBERS_GET = "communication.room.members.get",
|
|
24
27
|
COMMUNICATION_ROOM_MEMBER_BATCH_ADD = "communication.room.member.batch.add",
|
|
@@ -17,12 +17,15 @@ var MatrixAdapterEventType;
|
|
|
17
17
|
MatrixAdapterEventType["COMMUNICATION_REACTION_GET"] = "communication.reaction.get";
|
|
18
18
|
MatrixAdapterEventType["COMMUNICATION_REACTION_REMOVE"] = "communication.reaction.remove";
|
|
19
19
|
MatrixAdapterEventType["COMMUNICATION_REACTION_REMOVED"] = "communication.reaction.removed";
|
|
20
|
+
MatrixAdapterEventType["COMMUNICATION_ROOM_BATCH_LAST_MESSAGES_GET"] = "communication.room.batch.last_messages.get";
|
|
21
|
+
MatrixAdapterEventType["COMMUNICATION_ROOM_BATCH_UNREAD_COUNTS_GET"] = "communication.room.batch.unread_counts.get";
|
|
20
22
|
MatrixAdapterEventType["COMMUNICATION_ROOM_CREATE"] = "communication.room.create";
|
|
21
23
|
MatrixAdapterEventType["COMMUNICATION_ROOM_CREATED"] = "communication.room.created";
|
|
22
24
|
MatrixAdapterEventType["COMMUNICATION_ROOM_DELETE"] = "communication.room.delete";
|
|
23
25
|
MatrixAdapterEventType["COMMUNICATION_ROOM_DM_REQUESTED"] = "communication.room.dm.requested";
|
|
24
26
|
MatrixAdapterEventType["COMMUNICATION_ROOM_GET"] = "communication.room.get";
|
|
25
27
|
MatrixAdapterEventType["COMMUNICATION_ROOM_GET_AS_USER"] = "communication.room.get.as_user";
|
|
28
|
+
MatrixAdapterEventType["COMMUNICATION_ROOM_LAST_MESSAGE_GET"] = "communication.room.last_message.get";
|
|
26
29
|
MatrixAdapterEventType["COMMUNICATION_ROOM_LIST"] = "communication.room.list";
|
|
27
30
|
MatrixAdapterEventType["COMMUNICATION_ROOM_MEMBERS_GET"] = "communication.room.members.get";
|
|
28
31
|
MatrixAdapterEventType["COMMUNICATION_ROOM_MEMBER_BATCH_ADD"] = "communication.room.member.batch.add";
|
|
@@ -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,sBA2CX;AA3CD,WAAY,sBAAsB;IAEhC,+EAAqD,CAAA;IACrD,mGAAyE,CAAA;IACzE,uFAA6D,CAAA;IAC7D,uFAA6D,CAAA;IAC7D,iFAAuD,CAAA;IACvD,mFAAyD,CAAA;IACzD,2FAAiE,CAAA;IACjE,2FAAiE,CAAA;IACjE,mFAAyD,CAAA;IACzD,mFAAyD,CAAA;IACzD,uFAA6D,CAAA;IAC7D,mFAAyD,CAAA;IACzD,yFAA+D,CAAA;IAC/D,2FAAiE,CAAA;IACjE,mHAAyF,CAAA;IACzF,mHAAyF,CAAA;IACzF,iFAAuD,CAAA;IACvD,mFAAyD,CAAA;IACzD,iFAAuD,CAAA;IACvD,6FAAmE,CAAA;IACnE,2EAAiD,CAAA;IACjD,2FAAiE,CAAA;IACjE,qGAA2E,CAAA;IAC3E,6EAAmD,CAAA;IACnD,2FAAiE,CAAA;IACjE,qGAA2E,CAAA;IAC3E,2GAAiF,CAAA;IACjF,2FAAiE,CAAA;IACjE,iGAAuE,CAAA;IACvE,mGAAyE,CAAA;IACzE,uGAA6E,CAAA;IAC7E,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,EA3CW,sBAAsB,sCAAtB,sBAAsB,QA2CjC"}
|