@rongcloud/engine 5.12.1-enterprise-alpha.4 → 5.12.1-enterprise-alpha.6
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/index.d.ts +20 -3
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -4580,6 +4580,10 @@ interface IReceivedMessage {
|
|
|
4580
4580
|
* 定向用户列表(仅支持群聊, 超级群)
|
|
4581
4581
|
*/
|
|
4582
4582
|
directedUserIds?: string[];
|
|
4583
|
+
/**
|
|
4584
|
+
* 本地消息扩展内容
|
|
4585
|
+
*/
|
|
4586
|
+
extra?: string;
|
|
4583
4587
|
}
|
|
4584
4588
|
/**
|
|
4585
4589
|
* 第一条未读消息信息
|
|
@@ -7191,6 +7195,11 @@ declare abstract class AConnectionMgr {
|
|
|
7191
7195
|
*/
|
|
7192
7196
|
protected updateCmpWeight(cmpUrl: string, isRise: boolean, isQuick?: boolean): void;
|
|
7193
7197
|
private clearCmpWeightCache;
|
|
7198
|
+
/**
|
|
7199
|
+
* 用于子进程崩溃重启后调用重连
|
|
7200
|
+
* @param code 错误码
|
|
7201
|
+
*/
|
|
7202
|
+
reconnect(token: string, reconnectKickEnable: boolean, openCallPlus: boolean, code: ErrorCode): void;
|
|
7194
7203
|
}
|
|
7195
7204
|
|
|
7196
7205
|
/**
|
|
@@ -8777,7 +8786,7 @@ interface IEngine {
|
|
|
8777
8786
|
getGroupMembersByRole(groupId: string, role: GroupMemberRole, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupMemberInfo>>>;
|
|
8778
8787
|
getGroupMembers(groupId: string, userIds: string[]): Promise<IAsyncRes<IGroupMemberInfo[]>>;
|
|
8779
8788
|
setGroupMemberInfo(groupId: string, userId: string, nickname: string, extra?: string): Promise<IAsyncRes<void>>;
|
|
8780
|
-
searchGroupMembers(groupId: string, nickName: string, option: IPagingQueryOption): Promise<IAsyncRes<IGroupMemberInfo
|
|
8789
|
+
searchGroupMembers(groupId: string, nickName: string, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupMemberInfo>>>;
|
|
8781
8790
|
joinGroup(groupId: string): Promise<IAsyncRes<IProcessCode>>;
|
|
8782
8791
|
inviteUsersToGroup(groupId: string, userIds: string[]): Promise<IAsyncRes<IProcessCode>>;
|
|
8783
8792
|
memberInviteResponse(params: {
|
|
@@ -10614,6 +10623,7 @@ declare class APIContext {
|
|
|
10614
10623
|
updateMyUserProfileVisibility(visibility: UserProfileVisibility): Promise<IAsyncRes>;
|
|
10615
10624
|
getMyUserProfileVisibility(): Promise<IAsyncRes<UserProfileVisibility>>;
|
|
10616
10625
|
searchUserProfileByUniqueId(uniqueId: string): Promise<IAsyncRes<IUserProfileInfo>>;
|
|
10626
|
+
checkUsersInGroup(groupId: string, userIds: string[]): Promise<IAsyncRes<string[]>>;
|
|
10617
10627
|
/**
|
|
10618
10628
|
* 删除所有会话
|
|
10619
10629
|
*/
|
|
@@ -10806,7 +10816,7 @@ declare class APIContext {
|
|
|
10806
10816
|
getGroupMembersByRole(groupId: string, role: GroupMemberRole, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupMemberInfo>>>;
|
|
10807
10817
|
getGroupMembers(groupId: string, userIds: string[]): Promise<IAsyncRes<IGroupMemberInfo[]>>;
|
|
10808
10818
|
setGroupMemberInfo(groupId: string, userId: string, nickname: string, extra?: string): Promise<IAsyncRes<void>>;
|
|
10809
|
-
searchGroupMembers(groupId: string, nickName: string, option: IPagingQueryOption): Promise<IAsyncRes<IGroupMemberInfo
|
|
10819
|
+
searchGroupMembers(groupId: string, nickName: string, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupMemberInfo>>>;
|
|
10810
10820
|
joinGroup(groupId: string): Promise<IAsyncRes<IProcessCode>>;
|
|
10811
10821
|
inviteUsersToGroup(groupId: string, userIds: string[]): Promise<IAsyncRes<IProcessCode>>;
|
|
10812
10822
|
acceptGroupInvite(groupId: string, inviterId: string): Promise<IAsyncRes<IProcessCode>>;
|
|
@@ -10835,6 +10845,9 @@ declare class APIContext {
|
|
|
10835
10845
|
searchFriendsInfo(nickname: string): Promise<IAsyncRes<IFriendInfo[]>>;
|
|
10836
10846
|
setFriendAddPermission(permission: FriendAddPermission): Promise<IAsyncRes<void>>;
|
|
10837
10847
|
getFriendAddPermission(): Promise<IAsyncRes<FriendAddPermission>>;
|
|
10848
|
+
updateConversationTime(conversation: IConversationOption, operationTime: number): Promise<IAsyncRes<void>>;
|
|
10849
|
+
createConversation(conversation: IConversationOption): Promise<IAsyncRes<void>>;
|
|
10850
|
+
setMessageExtra(messageId: number, extra: string): Promise<ErrorCode>;
|
|
10838
10851
|
}
|
|
10839
10852
|
|
|
10840
10853
|
declare class PluginContext {
|
|
@@ -12094,7 +12107,7 @@ declare abstract class AEngine {
|
|
|
12094
12107
|
abstract getGroupMembersByRole(groupId: string, role: GroupMemberRole, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupMemberInfo>>>;
|
|
12095
12108
|
abstract getGroupMembers(groupId: string, userIds: string[]): Promise<IAsyncRes<IGroupMemberInfo[]>>;
|
|
12096
12109
|
abstract setGroupMemberInfo(groupId: string, userId: string, nickname: string, extra?: string): Promise<IAsyncRes<void>>;
|
|
12097
|
-
abstract searchGroupMembers(groupId: string, nickName: string, option: IPagingQueryOption): Promise<IAsyncRes<IGroupMemberInfo
|
|
12110
|
+
abstract searchGroupMembers(groupId: string, nickName: string, option: IPagingQueryOption): Promise<IAsyncRes<IPagingQueryResult<IGroupMemberInfo>>>;
|
|
12098
12111
|
abstract joinGroup(groupId: string): Promise<IAsyncRes<IProcessCode>>;
|
|
12099
12112
|
abstract inviteUsersToGroup(groupId: string, userIds: string[]): Promise<IAsyncRes<IProcessCode>>;
|
|
12100
12113
|
abstract memberInviteResponse(params: {
|
|
@@ -12127,6 +12140,10 @@ declare abstract class AEngine {
|
|
|
12127
12140
|
abstract searchFriendsInfo(nickname: string): Promise<IAsyncRes<IFriendInfo[]>>;
|
|
12128
12141
|
abstract setFriendAddPermission(permission: FriendAddPermission): Promise<IAsyncRes<void>>;
|
|
12129
12142
|
abstract getFriendAddPermission(): Promise<IAsyncRes<FriendAddPermission>>;
|
|
12143
|
+
abstract createConversation(conversation: IConversationOption): Promise<IAsyncRes>;
|
|
12144
|
+
abstract updateConversationTime(conversation: IConversationOption, operationTime: number): Promise<IAsyncRes>;
|
|
12145
|
+
abstract checkUsersInGroup(groupId: string, userIds: string[]): Promise<IAsyncRes<string[]>>;
|
|
12146
|
+
abstract setMessageExtra(messageId: number, extra: string): Promise<ErrorCode>;
|
|
12130
12147
|
}
|
|
12131
12148
|
|
|
12132
12149
|
interface IUrlCenterInitOption {
|