@rongcloud/imlib-next 5.20.2-enterprise.1 → 5.20.2-enterprise.11
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.cjs +1 -1
- package/index.cjs.js +1 -1
- package/index.d.ts +7 -41
- package/index.esm.js +2 -2
- package/index.mjs +2 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FileType, APIContext, IAsyncRes, LogLevel, EnableLogL, AreaCode, IReceivedMessage, RCConnectionStatus, IPluginGenerator, MessageTypeDescription, MentionedInfo, NotificationStatus, IReceivedConversation, IPushConfig, IRecallMsgOptions, IConversationOption, ITypingMessage, IUpdateItem, ErrorCode, IChatroomListenerData, IExpansionListenerData, IBlockedMessageInfo, IOperateStatusNotify, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUserGroupStatusInfo,
|
|
2
|
-
export { AreaCode, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, ConnectionStatus, ConversationType, DirectionType, EnableLogL, ErrorCode, FileType, FriendAddPermission, FriendApplicationStatus, FriendApplicationType, FriendRelationType, GroupApplicationDirection, GroupApplicationStatus, GroupApplicationType, GroupInviteHandlePermission, GroupJoinPermission, GroupMemberInfoEditPermission, GroupMemberRole, GroupOperation, GroupOperationPermission, GroupOperationType, IAndroidPushConfig, IAsyncRes, IBaseConversationInfo, IBlockedMessageInfo, IChannelAndUserGroupChangeData, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomJoinResponse, IChatroomListenerData, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IClearMessageOption, ICombineV2MessageContent, ICombinedMessage, IConversationFilter, IConversationIdentifier, IConversationOption, IConversationTag, IDeletedExpansion,
|
|
1
|
+
import { FileType, APIContext, IAsyncRes, LogLevel, EnableLogL, AreaCode, IReceivedMessage, RCConnectionStatus, IPluginGenerator, MessageTypeDescription, MentionedInfo, NotificationStatus, IReceivedConversation, IPushConfig, IRecallMsgOptions, IConversationOption, ITypingMessage, IUpdateItem, ErrorCode, IChatroomListenerData, IExpansionListenerData, IBlockedMessageInfo, IOperateStatusNotify, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUserGroupStatusInfo, IReadReceiptData, ISyncReadStatusData, ISubscribeUserStatusInfo, ISubscribeRelationInfo, SubscribeType, IUserProfileInfo, IGroupOperationInfo, IGroupInfoChanged, IGroupMemberInfoChanged, IGroupApplicationInfo, IGroupRemarkChangedSync, IGroupFollowsChangedSync, IFriendAdd, IFriendDelete, IFriendApplicationStatusChange, IFriendInfoChangedSync, IStreamMessageResponseEventData as IStreamMessageResponseEventData$1, ReadReceiptResponseV5, GetConversationListByTimestampParams, RCResult, ConversationType, NotificationLevel, IConversationIdentifier, IConversationUnreadCount, IGetUltraGroupListOption, IUltraGroupConversation, IBaseConversationInfo, IUltraGroupOption, IUltraGroupUnreadMentionedOption, IUltraUnreadMsg, IUltraGroupUnreadInfo, IChatroomJoinResponse, IChatroomInfo, IChatroomEntry, IChatroomEntries, IRemoveChatroomEntry, IRTCRoomBindOption, ICombineV2MessageContent, IMessageReadReceiptV4Response, IGroupReadReceiptData, MessageDirection, IClearMessageOption, IMessageReaderResponse, IFirstUnreadMessageInfo, ReadReceiptInfoV5, ReadReceiptUsersOption, ReadReceiptUsersResult, ITagParam, ITagInfo, IConversationTag, IUploadAuth, IDownloadAuth, UploadMethod, MessageType as MessageType$1, ReceivedStatus, IReceivedStatusInfo, SentStatus, IInsertMessage, ISearchMessageParams, IProxy, IPromiseResult, IResponse, IUpdateMyProfileFail, UserProfileVisibility, IGroupInfoOption, ICreateGroupFail, IErrorKeys, IGroupInfo, IQuitGroupConfig, GroupMemberRole, IPagingQueryOption, IPagingQueryResult, IGroupMemberInfo, IProcessCode, GroupApplicationDirection, GroupApplicationStatus, IFollowsInfo, DirectionType, IFriendRelationInfo, QueryFriendsDirectionType, IFriendInfo, FriendApplicationType, FriendApplicationStatus, IFriendApplicationInfo, FriendAddPermission, INotificationQuietHoursSetting } from '@rongcloud/engine';
|
|
2
|
+
export { AreaCode, ChatroomEntryType, ChatroomSyncStatusReason, ChatroomUserChangeType, ChrmMemBanType, ChrmMemOperateType, ChrmSyncStatus, ConnectionStatus, ConversationType, DirectionType, EnableLogL, ErrorCode, FileType, FriendAddPermission, FriendApplicationStatus, FriendApplicationType, FriendRelationType, GroupApplicationDirection, GroupApplicationStatus, GroupApplicationType, GroupInviteHandlePermission, GroupJoinPermission, GroupMemberInfoEditPermission, GroupMemberRole, GroupOperation, GroupOperationPermission, GroupOperationType, IAndroidPushConfig, IAsyncRes, IBaseConversationInfo, IBlockedMessageInfo, IChannelAndUserGroupChangeData, IChatRoomEntries, IChatRoomEntry, IChatroomEntries, IChatroomEntry, IChatroomEntryListenerData, IChatroomInfo, IChatroomJoinResponse, IChatroomListenerData, IChatroomNotifyBan, IChatroomNotifyBlock, IChatroomNotifyMultiLoginSync, IChatroomRejoinedFailed, IChatroomRejoinedInfo, IChatroomRejoinedSuccessed, IChatroomUser, IChatroomUserChangeInfo, IClearMessageOption, ICombineV2MessageContent, ICombinedMessage, IConversationFilter, IConversationIdentifier, IConversationOption, IConversationTag, IDeletedExpansion, IDownloadAuth, IErrorKeys, IEventListener, IExpansionListenerData, IFirstUnreadMessageInfo, IFollowsInfo, IFriendAdd, IFriendApplicationInfo, IFriendApplicationStatusChange, IFriendDelete, IFriendInfo, IFriendInfoChangedSync, IFriendRelationInfo, IGetUltraGroupListOption, IGooglePushConfig, IGroupApplicationInfo, IGroupFollowsChangedSync, IGroupFollowsList, IGroupFollowsUserInfo, IGroupInfo, IGroupInfoChanged, IGroupInfoOption, IGroupMemberInfo, IGroupMemberInfoChanged, IGroupMembers, IGroupOperationInfo, IGroupReadReceiptData, IGroupRemarkChangedSync, IHarmonyOSPushConfig, IInsertMessage, IMessageFilter, IMessageReadReceiptV4Response, IMessageReader, IMessageReaderResponse, INotificationQuietHoursSetting, IOperateInfo, IOperateStatusNotify, IOperateSummary, IPagingQueryOption, IPagingQueryResult, IPrivateReadReceiptData, IProcessCode, IPromiseResult, IProxy, IPushConfig, IQuitGroupConfig, IRTCRoomBindOption, IReadReceiptData, IReadReceiptInfo, IReadReceiptResponseInfo, IReceivedConversation, IReceivedConversationByTag, IReceivedMessage, IReceivedStatusInfo, IRemoveChatRoomEntries, IRemoveChatRoomEntry, IRemoveChatroomEntries, IRemoveChatroomEntry, IResponse, ISearchMessageParams, IStreamMessageResponseChunkData, ISubscribeRelationInfo, ISubscribeStatusDetail, ISubscribeUserStatusInfo, ISyncReadStatusData, ITagInfo, ITagParam, ITimeRange, ITypingMessage, ITypingUser, IUltraChannelChangeInfo, IUltraChannelDeleteInfo, IUltraChannelUserKickedInfo, IUltraGroupConversation, IUltraGroupOption, IUltraGroupUnreadInfo, IUltraGroupUnreadMentionedOption, IUltraUnreadMsg, IUpdateItem, IUpdateMyProfileFail, IUpdatedConversation, IUpdatedExpansion, IUploadAuth, IUserGroupChangeData, IUserGroupStatusInfo, IUserProfile, IUserProfileInfo, IiOSPushConfig, InterruptionLevel, LogL, LogLevel, MentionedInfo, MentionedType, MessageBlockSourceType, MessageBlockType, MessageDirection, NotificationLevel, NotificationStatus, OnlineStatus, OperateStatus, PlatformInfo, PushImportanceHonor, PushNotificationQuietHoursLevel, QueryFriendsDirectionType, RCConnectionStatus, RCResult, ReadReceiptInfoV5, ReadReceiptResponseV5, ReadReceiptUser, ReadReceiptUsersOption, ReadReceiptUsersResult, ReceivedStatus, SentStatus, StreamMessageResponseEventType, SubscribeOperationType, SubscribeType, UltraGroupChannelChangeType, UltraGroupChannelType, UploadMethod, UserProfileVisibility, fail, ok } from '@rongcloud/engine';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* 缩略图配置
|
|
@@ -503,6 +503,10 @@ declare enum Events {
|
|
|
503
503
|
* @since 5.20.0
|
|
504
504
|
*/
|
|
505
505
|
CONVERSATIONS_SYNCED = "CONVERSATIONS_SYNCED",
|
|
506
|
+
/** [EN]
|
|
507
|
+
* Ultra group typing status notification
|
|
508
|
+
* @since 5.2.0
|
|
509
|
+
*/
|
|
506
510
|
/**
|
|
507
511
|
* 超级群输入状态通知
|
|
508
512
|
* @since 5.2.0
|
|
@@ -538,18 +542,6 @@ declare enum Events {
|
|
|
538
542
|
* @since 5.4.2
|
|
539
543
|
*/
|
|
540
544
|
ULTRA_GROUP_CHANNEL_USER_KICKED = "ULTRA_GROUP_CHANNEL_USER_KICKED",
|
|
541
|
-
/**
|
|
542
|
-
* 单聊消息送达通知
|
|
543
|
-
* @hidden 暂仅 Beem 使用,无需公开
|
|
544
|
-
* @since 5.6.0
|
|
545
|
-
*/
|
|
546
|
-
PRIVATE_MESSAGE_DELIVERED = "PRIVATE_MESSAGE_DELIVERED",
|
|
547
|
-
/**
|
|
548
|
-
* 群组消息送达状态通知
|
|
549
|
-
* @hidden 暂仅 Beem 使用,无需公开
|
|
550
|
-
* @since 5.6.0
|
|
551
|
-
*/
|
|
552
|
-
GROUP_MESSAGE_DELIVERED = "GROUP_MESSAGE_DELIVERED",
|
|
553
545
|
/**
|
|
554
546
|
* 超级群用户组状态通知
|
|
555
547
|
* @since 5.7.3
|
|
@@ -1179,14 +1171,6 @@ declare type EventListeners = {
|
|
|
1179
1171
|
[Events.ULTRA_GROUP_CHANNEL_DELETE]: (list: IUltraChannelDeleteInfo[]) => void;
|
|
1180
1172
|
[Events.ULTRA_GROUP_CHANNEL_USER_KICKED]: (list: IUltraChannelUserKickedInfo[]) => void;
|
|
1181
1173
|
[Events.USER_GROUP_STATUS]: (list: IUserGroupStatusInfo) => void;
|
|
1182
|
-
/**
|
|
1183
|
-
* @hidden
|
|
1184
|
-
*/
|
|
1185
|
-
[Events.PRIVATE_MESSAGE_DELIVERED]: (list: IMessageDeliver[]) => void;
|
|
1186
|
-
/**
|
|
1187
|
-
* @hidden
|
|
1188
|
-
*/
|
|
1189
|
-
[Events.GROUP_MESSAGE_DELIVERED]: (list: IGroupMessageDeliverStatus[]) => void;
|
|
1190
1174
|
[Events.MESSAGE_READ_RECEIPT_V4]: (data: IReadReceiptData) => void;
|
|
1191
1175
|
/**
|
|
1192
1176
|
* @hidden
|
|
@@ -1605,7 +1589,7 @@ declare function batchSetConversationNotificationLevel(conversations: IConversat
|
|
|
1605
1589
|
declare function setConversationNotificationStatus(options: IConversationOption, notificationStatus: NotificationStatus): Promise<RCResult>;
|
|
1606
1590
|
/**
|
|
1607
1591
|
* 查询指定会话和频道免打扰
|
|
1608
|
-
* @
|
|
1592
|
+
* @description 查询通过 {@link setConversationNotificationLevel} 接口设置的指定会话和频道免打扰
|
|
1609
1593
|
* 1. Electron 平台,从 5.8.4 版本开始支持 {@link setConversationNotificationLevel} 接口。
|
|
1610
1594
|
* @category 会话
|
|
1611
1595
|
* @since 5.3.0
|
|
@@ -4472,20 +4456,6 @@ declare function batchInsertMessage(messages: IInsertMessage[], checkDuplicate:
|
|
|
4472
4456
|
* ```
|
|
4473
4457
|
*/
|
|
4474
4458
|
declare function getMessageCount(conversation: IConversationOption): Promise<IAsyncRes<number>>;
|
|
4475
|
-
/**
|
|
4476
|
-
* 获取单聊消息的送达时间
|
|
4477
|
-
* @param messageUId 消息 UID
|
|
4478
|
-
* @hidden 暂时仅 BEEM 使用,无需在文档公开
|
|
4479
|
-
* @description 暂仅支持 Electron 平台
|
|
4480
|
-
*/
|
|
4481
|
-
declare function getPrivateMessageDeliverTime(messageUId: string): Promise<IAsyncRes<number>>;
|
|
4482
|
-
/**
|
|
4483
|
-
* 获取群组消息的送达状态
|
|
4484
|
-
* @param messageUId 消息 UID
|
|
4485
|
-
* @hidden 暂时仅 BEEM 使用,无需在文档公开
|
|
4486
|
-
* @description 暂仅支持 Electron 平台
|
|
4487
|
-
*/
|
|
4488
|
-
declare function getGroupMessageDeliverList(targetId: string, messageUId: string): Promise<IAsyncRes<IGroupMessageDeliverInfo>>;
|
|
4489
4459
|
/**
|
|
4490
4460
|
* 设置融云消息重排开关
|
|
4491
4461
|
* @category Electron 独有
|
|
@@ -4658,8 +4628,6 @@ declare const index_batchClearMessagesByTimestamp: typeof batchClearMessagesByTi
|
|
|
4658
4628
|
declare const index_insertMessage: typeof insertMessage;
|
|
4659
4629
|
declare const index_batchInsertMessage: typeof batchInsertMessage;
|
|
4660
4630
|
declare const index_getMessageCount: typeof getMessageCount;
|
|
4661
|
-
declare const index_getPrivateMessageDeliverTime: typeof getPrivateMessageDeliverTime;
|
|
4662
|
-
declare const index_getGroupMessageDeliverList: typeof getGroupMessageDeliverList;
|
|
4663
4631
|
declare const index_setCheckDuplicateMessage: typeof setCheckDuplicateMessage;
|
|
4664
4632
|
declare const index_setCheckChatRoomDuplicateMessage: typeof setCheckChatRoomDuplicateMessage;
|
|
4665
4633
|
declare const index_getMessagesAroundTimestamp: typeof getMessagesAroundTimestamp;
|
|
@@ -4690,8 +4658,6 @@ declare namespace index {
|
|
|
4690
4658
|
index_insertMessage as insertMessage,
|
|
4691
4659
|
index_batchInsertMessage as batchInsertMessage,
|
|
4692
4660
|
index_getMessageCount as getMessageCount,
|
|
4693
|
-
index_getPrivateMessageDeliverTime as getPrivateMessageDeliverTime,
|
|
4694
|
-
index_getGroupMessageDeliverList as getGroupMessageDeliverList,
|
|
4695
4661
|
index_setCheckDuplicateMessage as setCheckDuplicateMessage,
|
|
4696
4662
|
index_setCheckChatRoomDuplicateMessage as setCheckChatRoomDuplicateMessage,
|
|
4697
4663
|
index_getMessagesAroundTimestamp as getMessagesAroundTimestamp,
|