@tencentcloud/chat-uikit-engine
Advanced tools
Comparing version 0.0.6 to 0.0.8
@@ -394,6 +394,53 @@ import TencentCloudChat, { Message, Conversation } from '@tencentcloud/chat'; | ||
} | ||
interface checkFriendParams { | ||
interface Friend { | ||
userID: string; | ||
remark: string; | ||
groupList: Array<any>; | ||
source: string; | ||
wording: string; | ||
profile: any; | ||
friendCustomFriend: Array<any>; | ||
} | ||
interface FriendApplication { | ||
userID: string; | ||
avatar: string; | ||
nick: string; | ||
time: number; | ||
source: string; | ||
wording: string; | ||
type: string; | ||
} | ||
interface AddFriendParams { | ||
to: string; | ||
source: string; | ||
remark?: string; | ||
groupName?: string; | ||
wording?: string; | ||
type?: string; | ||
} | ||
interface DeleteFriendParams { | ||
userIDList: Array<string>; | ||
type?: string; | ||
} | ||
interface CheckFriendParams { | ||
userIDList: Array<string>; | ||
type?: string; | ||
} | ||
interface GetFriendProfileParams { | ||
userIDList: Array<string>; | ||
} | ||
interface UpdateFriendParams { | ||
userID: string; | ||
remark?: string; | ||
friendCustomField?: Array<any>; | ||
} | ||
interface AcceptFriendApplicationParams { | ||
userID: string; | ||
remark?: string; | ||
type: string; | ||
} | ||
interface DeleteFriendApplicationParams { | ||
userID: string; | ||
type: string; | ||
} | ||
@@ -440,2 +487,3 @@ interface ITUIGlobal { | ||
USER = "user", | ||
FRIEND = "friend", | ||
CUSTOM = "custom" | ||
@@ -510,3 +558,3 @@ } | ||
handleGroupSystemMessage(message: Message): object; | ||
handleCallKitSignaling(message: any): string; | ||
handleCallKitSignaling(message: any): string | undefined; | ||
} | ||
@@ -586,3 +634,2 @@ | ||
updateMyProfile(options: UpdateMyProfileParams): Promise<any>; | ||
getBlacklist(): Promise<any>; | ||
addToBlacklist(options: UserIDListParams): Promise<any>; | ||
@@ -598,3 +645,12 @@ removeFromBlacklist(options: UserIDListParams): Promise<any>; | ||
getFriendList(): Promise<any>; | ||
checkFriend(options: checkFriendParams): Promise<any>; | ||
getFriendRemark(userIDList: Array<string>): Object; | ||
addFriend(options: AddFriendParams): Promise<any>; | ||
deleteFriend(options: DeleteFriendParams): Promise<any>; | ||
checkFriend(options: CheckFriendParams): Promise<any>; | ||
getFriendProfile(options: GetFriendProfileParams): Promise<any>; | ||
updateFriend(options: UpdateFriendParams): Promise<any>; | ||
acceptFriendApplication(options: AcceptFriendApplicationParams): Promise<any>; | ||
refuseFriendApplication(userID: string): Promise<any>; | ||
deleteFriendApplication(options: DeleteFriendApplicationParams): Promise<any>; | ||
setFriendApplicationRead(): Promise<any>; | ||
} | ||
@@ -634,2 +690,2 @@ | ||
export { AddMemberParams, ChangGroupOwnerParams, CountersParams, CreateGroupParams, DeleteMemberParams, ForwardMessageParams, GetGroupMessageReadParams, GetGroupProfileParams, GetMemberListParams, GetMemberProfileParams, GetMessageListParams, GroupAttrParams, GroupServiceBasicParams, IConversationModel, IGroupModel, IMessageModel, JoinGroupParams, KeyListParams, LoginParams, MAddMemberParams, MChangGroupOwnerParams, MCountersParams, MDeleteMemberParams, MGetMemberListParams, MGetMemberProfileParams, MGroupAttrParams, MJoinGroupParams, MKeyListParams, MMarkMemberParams, MSetCountersParams, MSetMemberCustomFiledParams, MSetMemberMuteParams, MSetMemberNameCardParams, MSetMemberRoleParams, MUpdateGroupParams, MarkMemberParams, MessageControlInfo, ModifyMessageParams, MuteConversationParams, OfflinePushInfo, PinConversationParams, SendForwardMessageOptions, SendMessageOptions, SendMessageParams, SetCountersParams, SetMemberCustomFiledParams, SetMemberMuteParams, SetMemberNameCardParams, SetMemberRoleParams, StoreName, SwitchUserStatusParams, tuiChat as TUIChatService, tuiConversation as TUIConversationService, tuiFriend as TUIFriendService, tuiGlobal as TUIGlobal, tuiGroup as TUIGroupService, tuiStore as TUIStore, tuiTranslate as TUITranslateService, tuiUser as TUIUserService, TranslateTextParams, UpdateGroupParams, UpdateMyProfileParams, UserIDListParams, checkFriendParams, TUIChatEngine as default, handleGroupApplicationParams, sendForwardMessageParams }; | ||
export { AcceptFriendApplicationParams, AddFriendParams, AddMemberParams, ChangGroupOwnerParams, CheckFriendParams, CountersParams, CreateGroupParams, DeleteFriendApplicationParams, DeleteFriendParams, DeleteMemberParams, ForwardMessageParams, Friend, FriendApplication, GetFriendProfileParams, GetGroupMessageReadParams, GetGroupProfileParams, GetMemberListParams, GetMemberProfileParams, GetMessageListParams, GroupAttrParams, GroupServiceBasicParams, IConversationModel, IGroupModel, IMessageModel, JoinGroupParams, KeyListParams, LoginParams, MAddMemberParams, MChangGroupOwnerParams, MCountersParams, MDeleteMemberParams, MGetMemberListParams, MGetMemberProfileParams, MGroupAttrParams, MJoinGroupParams, MKeyListParams, MMarkMemberParams, MSetCountersParams, MSetMemberCustomFiledParams, MSetMemberMuteParams, MSetMemberNameCardParams, MSetMemberRoleParams, MUpdateGroupParams, MarkMemberParams, MessageControlInfo, ModifyMessageParams, MuteConversationParams, OfflinePushInfo, PinConversationParams, SendForwardMessageOptions, SendMessageOptions, SendMessageParams, SetCountersParams, SetMemberCustomFiledParams, SetMemberMuteParams, SetMemberNameCardParams, SetMemberRoleParams, StoreName, SwitchUserStatusParams, tuiChat as TUIChatService, tuiConversation as TUIConversationService, tuiFriend as TUIFriendService, tuiGlobal as TUIGlobal, tuiGroup as TUIGroupService, tuiStore as TUIStore, tuiTranslate as TUITranslateService, tuiUser as TUIUserService, TranslateTextParams, UpdateFriendParams, UpdateGroupParams, UpdateMyProfileParams, UserIDListParams, TUIChatEngine as default, handleGroupApplicationParams, sendForwardMessageParams }; |
{ | ||
"name": "@tencentcloud/chat-uikit-engine", | ||
"version": "0.0.6", | ||
"version": "0.0.8", | ||
"description": "Tencent Cloud TUIChatEngine SDK for Chat TUIKit", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
167151
1201