@softtynet/zca-js 2.2.8 → 2.2.10
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 +18 -181
- package/dist/Errors/ZaloApiError.js +1 -0
- package/dist/apis/auth/decryptGids.d.ts +6 -0
- package/dist/apis/auth/decryptGids.js +30 -0
- package/dist/apis/auth/encryptGids.d.ts +4 -0
- package/dist/apis/auth/encryptGids.js +24 -0
- package/dist/apis/auth/getContext.d.ts +1 -0
- package/dist/apis/auth/getContext.js +4 -0
- package/dist/apis/auth/getCookie.d.ts +1 -0
- package/dist/apis/auth/getCookie.js +9 -0
- package/dist/apis/auth/getListDevice.d.ts +10 -0
- package/dist/apis/auth/getListDevice.js +22 -0
- package/dist/apis/auth/getNoisedIds.d.ts +9 -0
- package/dist/apis/auth/getNoisedIds.js +67 -0
- package/dist/apis/auth/getOwnId.d.ts +1 -0
- package/dist/apis/auth/getOwnId.js +4 -0
- package/dist/apis/auth/getQR.d.ts +4 -0
- package/dist/apis/auth/getQR.js +29 -0
- package/dist/apis/auth/keepAlive.d.ts +5 -0
- package/dist/apis/auth/keepAlive.js +24 -0
- package/dist/apis/auth/lostFocus.d.ts +4 -0
- package/dist/apis/auth/lostFocus.js +23 -0
- package/dist/apis/auth/scanURL.d.ts +4 -0
- package/dist/apis/auth/scanURL.js +28 -0
- package/dist/apis/auth/updateActiveStatus.d.ts +4 -0
- package/dist/apis/auth/updateActiveStatus.js +27 -0
- package/dist/apis/auth/updateLang.d.ts +6 -0
- package/dist/apis/auth/updateLang.js +30 -0
- package/dist/apis/board/addPollOptions.d.ts +14 -0
- package/dist/apis/board/addPollOptions.js +26 -0
- package/dist/apis/board/createNote.d.ts +7 -0
- package/dist/apis/board/createNote.js +47 -0
- package/dist/apis/board/createPoll.d.ts +36 -0
- package/dist/apis/board/createPoll.js +39 -0
- package/dist/apis/board/createReminder.d.ts +12 -0
- package/dist/apis/board/createReminder.js +62 -0
- package/dist/apis/board/editNote.d.ts +17 -0
- package/dist/apis/board/editNote.js +46 -0
- package/dist/apis/board/editReminder.d.ts +13 -0
- package/dist/apis/board/editReminder.js +60 -0
- package/dist/apis/board/getListBoard.d.ts +21 -0
- package/dist/apis/board/getListBoard.js +44 -0
- package/dist/apis/board/getListPinTopics.d.ts +5 -0
- package/dist/apis/board/getListPinTopics.js +28 -0
- package/dist/apis/board/getListReminder.d.ts +28 -0
- package/dist/apis/board/getListReminder.js +49 -0
- package/dist/apis/board/getPollDetail.d.ts +3 -0
- package/dist/apis/board/getPollDetail.js +30 -0
- package/dist/apis/board/getReminder.d.ts +3 -0
- package/dist/apis/board/getReminder.js +25 -0
- package/dist/apis/board/getReminderResponses.d.ts +5 -0
- package/dist/apis/board/getReminderResponses.js +24 -0
- package/dist/apis/board/lockPoll.d.ts +2 -0
- package/dist/apis/board/lockPoll.js +28 -0
- package/dist/apis/board/removeReminder.d.ts +3 -0
- package/dist/apis/board/removeReminder.js +40 -0
- package/dist/apis/board/sharePoll.d.ts +2 -0
- package/dist/apis/board/sharePoll.js +28 -0
- package/dist/apis/board/votePoll.d.ts +5 -0
- package/dist/apis/board/votePoll.js +29 -0
- package/dist/apis/business/addQuickMessage.d.ts +11 -0
- package/dist/apis/business/addQuickMessage.js +60 -0
- package/dist/apis/business/createAutoReply.d.ts +14 -0
- package/dist/apis/business/createAutoReply.js +37 -0
- package/dist/apis/business/createBankAccount.d.ts +8 -0
- package/dist/apis/business/createBankAccount.js +32 -0
- package/dist/apis/business/createCatalog.d.ts +7 -0
- package/dist/apis/business/createCatalog.js +29 -0
- package/dist/apis/business/createProductCatalog.d.ts +23 -0
- package/dist/apis/business/createProductCatalog.js +50 -0
- package/dist/apis/business/deleteAutoReply.d.ts +5 -0
- package/dist/apis/business/deleteAutoReply.js +29 -0
- package/dist/apis/business/deleteBankAccount.d.ts +11 -0
- package/dist/apis/business/deleteBankAccount.js +32 -0
- package/dist/apis/business/deleteCatalog.d.ts +2 -0
- package/dist/apis/business/deleteCatalog.js +28 -0
- package/dist/apis/business/deleteProductCatalog.d.ts +10 -0
- package/dist/apis/business/deleteProductCatalog.js +31 -0
- package/dist/apis/business/getAutoReplyList.d.ts +6 -0
- package/dist/apis/business/getAutoReplyList.js +24 -0
- package/dist/apis/business/getBizAccount.d.ts +24 -0
- package/dist/apis/business/getBizAccount.js +27 -0
- package/dist/apis/business/getCatalogList.d.ts +18 -0
- package/dist/apis/business/getCatalogList.js +31 -0
- package/dist/apis/business/getLabels.d.ts +7 -0
- package/dist/apis/business/getLabels.js +28 -0
- package/dist/apis/business/getListBank.d.ts +5 -0
- package/dist/apis/business/getListBank.js +20 -0
- package/dist/apis/business/getListBankAccount.d.ts +7 -0
- package/dist/apis/business/getListBankAccount.js +27 -0
- package/dist/apis/business/getProductCatalogList.d.ts +20 -0
- package/dist/apis/business/getProductCatalogList.js +32 -0
- package/dist/apis/business/getQuickMessageList.d.ts +7 -0
- package/dist/apis/business/getQuickMessageList.js +24 -0
- package/dist/apis/business/registerCatalog.d.ts +2 -0
- package/dist/apis/business/registerCatalog.js +27 -0
- package/dist/apis/business/removeQuickMessage.d.ts +5 -0
- package/dist/apis/business/removeQuickMessage.js +27 -0
- package/dist/apis/business/updateAutoReply.d.ts +15 -0
- package/dist/apis/business/updateAutoReply.js +38 -0
- package/dist/apis/business/updateBankAccount.d.ts +9 -0
- package/dist/apis/business/updateBankAccount.js +31 -0
- package/dist/apis/business/updateCatalog.d.ts +11 -0
- package/dist/apis/business/updateCatalog.js +30 -0
- package/dist/apis/business/updateLabels.d.ts +15 -0
- package/dist/apis/business/updateLabels.js +34 -0
- package/dist/apis/business/updateProductCatalog.d.ts +25 -0
- package/dist/apis/business/updateProductCatalog.js +51 -0
- package/dist/apis/business/updateQuickMessage.d.ts +11 -0
- package/dist/apis/business/updateQuickMessage.js +61 -0
- package/dist/apis/business/uploadProductPhoto.d.ts +14 -0
- package/dist/apis/business/uploadProductPhoto.js +50 -0
- package/dist/apis/call/cancelVoiceCall.d.ts +7 -0
- package/dist/apis/call/cancelVoiceCall.js +40 -0
- package/dist/apis/call/endVoiceCall.d.ts +5 -0
- package/dist/apis/call/endVoiceCall.js +38 -0
- package/dist/apis/call/sendVoiceCall.d.ts +44 -0
- package/dist/apis/call/sendVoiceCall.js +113 -0
- package/dist/apis/chat/addReaction.d.ts +18 -0
- package/dist/apis/chat/addReaction.js +297 -0
- package/dist/apis/chat/addUnreadMark.d.ts +8 -0
- package/dist/apis/chat/addUnreadMark.js +52 -0
- package/dist/apis/chat/deleteChat.d.ts +19 -0
- package/dist/apis/chat/deleteChat.js +50 -0
- package/dist/apis/chat/deleteMessage.d.ts +14 -0
- package/dist/apis/chat/deleteMessage.js +52 -0
- package/dist/apis/chat/forwardMessage.d.ts +24 -0
- package/dist/apis/chat/forwardMessage.js +92 -0
- package/dist/apis/chat/getArchivedChatList.d.ts +5 -0
- package/dist/apis/chat/getArchivedChatList.js +23 -0
- package/dist/apis/chat/getAutoDeleteChat.d.ts +9 -0
- package/dist/apis/chat/getAutoDeleteChat.js +21 -0
- package/dist/apis/chat/getHiddenConversations.d.ts +11 -0
- package/dist/apis/chat/getHiddenConversations.js +23 -0
- package/dist/apis/chat/getLastSeen.d.ts +11 -0
- package/dist/apis/chat/getLastSeen.js +38 -0
- package/dist/apis/chat/getLastSeenReaction.d.ts +9 -0
- package/dist/apis/chat/getLastSeenReaction.js +27 -0
- package/dist/apis/chat/getMute.d.ts +13 -0
- package/dist/apis/chat/getMute.js +22 -0
- package/dist/apis/chat/getPinConversations.d.ts +5 -0
- package/dist/apis/chat/getPinConversations.js +22 -0
- package/dist/apis/chat/getRecentSearchList.d.ts +6 -0
- package/dist/apis/chat/getRecentSearchList.js +25 -0
- package/dist/apis/chat/getUnreadMark.d.ts +14 -0
- package/dist/apis/chat/getUnreadMark.js +30 -0
- package/dist/apis/chat/parseLink.d.ts +21 -0
- package/dist/apis/chat/parseLink.js +27 -0
- package/dist/apis/chat/preloadConversations.d.ts +28 -0
- package/dist/apis/chat/preloadConversations.js +78 -0
- package/dist/apis/chat/removeUnreadMark.d.ts +8 -0
- package/dist/apis/chat/removeUnreadMark.js +50 -0
- package/dist/apis/chat/resetHiddenConversPin.d.ts +2 -0
- package/dist/apis/chat/resetHiddenConversPin.js +20 -0
- package/dist/apis/chat/sendBankCard.d.ts +9 -0
- package/dist/apis/chat/sendBankCard.js +36 -0
- package/dist/apis/chat/sendCard.d.ts +10 -0
- package/dist/apis/chat/sendCard.js +58 -0
- package/dist/apis/chat/sendDeliveredEvent.d.ts +16 -0
- package/dist/apis/chat/sendDeliveredEvent.js +62 -0
- package/dist/apis/chat/sendLink.d.ts +10 -0
- package/dist/apis/chat/sendLink.js +60 -0
- package/dist/apis/chat/sendMessage.d.ts +99 -0
- package/dist/apis/chat/sendMessage.js +460 -0
- package/dist/apis/chat/sendReport.d.ts +17 -0
- package/dist/apis/chat/sendReport.js +53 -0
- package/dist/apis/chat/sendSeenEvent.d.ts +16 -0
- package/dist/apis/chat/sendSeenEvent.js +66 -0
- package/dist/apis/chat/sendSticker.d.ts +10 -0
- package/dist/apis/chat/sendSticker.js +57 -0
- package/dist/apis/chat/sendTypingEvent.d.ts +5 -0
- package/dist/apis/chat/sendTypingEvent.js +37 -0
- package/dist/apis/chat/sendVideo.d.ts +35 -0
- package/dist/apis/chat/sendVideo.js +117 -0
- package/dist/apis/chat/sendVoice.d.ts +12 -0
- package/dist/apis/chat/sendVoice.js +72 -0
- package/dist/apis/chat/setHiddenConversations.d.ts +3 -0
- package/dist/apis/chat/setHiddenConversations.js +39 -0
- package/dist/apis/chat/setMute.d.ts +20 -0
- package/dist/apis/chat/setMute.js +67 -0
- package/dist/apis/chat/setPinnedConversations.d.ts +3 -0
- package/dist/apis/chat/setPinnedConversations.js +34 -0
- package/dist/apis/chat/undo.d.ts +9 -0
- package/dist/apis/chat/undo.js +42 -0
- package/dist/apis/chat/undoMultiMessage.d.ts +9 -0
- package/dist/apis/chat/undoMultiMessage.js +46 -0
- package/dist/apis/chat/updateArchivedChatList.d.ts +10 -0
- package/dist/apis/chat/updateArchivedChatList.js +34 -0
- package/dist/apis/chat/updateAutoDeleteChat.d.ts +9 -0
- package/dist/apis/chat/updateAutoDeleteChat.js +40 -0
- package/dist/apis/chat/updateHiddenConversPin.d.ts +2 -0
- package/dist/apis/chat/updateHiddenConversPin.js +30 -0
- package/dist/apis/chat/updateRecentSearch.d.ts +11 -0
- package/dist/apis/chat/updateRecentSearch.js +40 -0
- package/dist/apis/friend/acceptFriendRequest.d.ts +2 -0
- package/dist/apis/friend/acceptFriendRequest.js +28 -0
- package/dist/apis/friend/blockUser.d.ts +2 -0
- package/dist/apis/friend/blockUser.js +28 -0
- package/dist/apis/friend/blockViewFeed.d.ts +2 -0
- package/dist/apis/friend/blockViewFeed.js +30 -0
- package/dist/apis/friend/changeFriendAlias.d.ts +2 -0
- package/dist/apis/friend/changeFriendAlias.js +27 -0
- package/dist/apis/friend/clearUnreadFriendRequests.d.ts +2 -0
- package/dist/apis/friend/clearUnreadFriendRequests.js +29 -0
- package/dist/apis/friend/findUser.d.ts +3 -0
- package/dist/apis/friend/findUser.js +42 -0
- package/dist/apis/friend/findUserByUsername.d.ts +3 -0
- package/dist/apis/friend/findUserByUsername.js +27 -0
- package/dist/apis/friend/getAliasList.d.ts +8 -0
- package/dist/apis/friend/getAliasList.js +27 -0
- package/dist/apis/friend/getAliasListV2.d.ts +10 -0
- package/dist/apis/friend/getAliasListV2.js +28 -0
- package/dist/apis/friend/getAllFriends.d.ts +3 -0
- package/dist/apis/friend/getAllFriends.js +34 -0
- package/dist/apis/friend/getBlockFriends.d.ts +6 -0
- package/dist/apis/friend/getBlockFriends.js +28 -0
- package/dist/apis/friend/getCloseFriends.d.ts +3 -0
- package/dist/apis/friend/getCloseFriends.js +20 -0
- package/dist/apis/friend/getExtraFriendInfo.d.ts +3 -0
- package/dist/apis/friend/getExtraFriendInfo.js +31 -0
- package/dist/apis/friend/getFriendBoardList.d.ts +5 -0
- package/dist/apis/friend/getFriendBoardList.js +26 -0
- package/dist/apis/friend/getFriendOnlines.d.ts +10 -0
- package/dist/apis/friend/getFriendOnlines.js +35 -0
- package/dist/apis/friend/getFriendRecommendations.d.ts +42 -0
- package/dist/apis/friend/getFriendRecommendations.js +27 -0
- package/dist/apis/friend/getFriendRequestStatus.d.ts +8 -0
- package/dist/apis/friend/getFriendRequestStatus.js +25 -0
- package/dist/apis/friend/getFriendsEmojiStatus.d.ts +17 -0
- package/dist/apis/friend/getFriendsEmojiStatus.js +28 -0
- package/dist/apis/friend/getLastReadContactTab.d.ts +4 -0
- package/dist/apis/friend/getLastReadContactTab.js +15 -0
- package/dist/apis/friend/getMultiUsersByPhones.d.ts +5 -0
- package/dist/apis/friend/getMultiUsersByPhones.js +39 -0
- package/dist/apis/friend/getPhonebookV2.d.ts +6 -0
- package/dist/apis/friend/getPhonebookV2.js +21 -0
- package/dist/apis/friend/getSentFriendRequest.d.ts +18 -0
- package/dist/apis/friend/getSentFriendRequest.js +24 -0
- package/dist/apis/friend/lastOnline.d.ts +7 -0
- package/dist/apis/friend/lastOnline.js +26 -0
- package/dist/apis/friend/readContactTab.d.ts +2 -0
- package/dist/apis/friend/readContactTab.js +26 -0
- package/dist/apis/friend/rejectFriendRequest.d.ts +2 -0
- package/dist/apis/friend/rejectFriendRequest.js +27 -0
- package/dist/apis/friend/removeFriend.d.ts +2 -0
- package/dist/apis/friend/removeFriend.js +28 -0
- package/dist/apis/friend/removeFriendAlias.d.ts +2 -0
- package/dist/apis/friend/removeFriendAlias.js +24 -0
- package/dist/apis/friend/sendFriendRequest.d.ts +2 -0
- package/dist/apis/friend/sendFriendRequest.js +39 -0
- package/dist/apis/friend/unblockUser.d.ts +2 -0
- package/dist/apis/friend/unblockUser.js +28 -0
- package/dist/apis/friend/undoFriendRequest.d.ts +2 -0
- package/dist/apis/friend/undoFriendRequest.js +27 -0
- package/dist/apis/group/addGroupBlockedMember.d.ts +2 -0
- package/dist/apis/group/addGroupBlockedMember.js +28 -0
- package/dist/apis/group/addGroupDeputy.d.ts +2 -0
- package/dist/apis/group/addGroupDeputy.js +30 -0
- package/dist/apis/group/addUserToGroup.d.ts +5 -0
- package/dist/apis/group/addUserToGroup.js +34 -0
- package/dist/apis/group/changeGroupAvatar.d.ts +3 -0
- package/dist/apis/group/changeGroupAvatar.js +44 -0
- package/dist/apis/group/changeGroupName.d.ts +4 -0
- package/dist/apis/group/changeGroupName.js +32 -0
- package/dist/apis/group/changeGroupOwner.d.ts +4 -0
- package/dist/apis/group/changeGroupOwner.js +30 -0
- package/dist/apis/group/createGroup.d.ts +28 -0
- package/dist/apis/group/createGroup.js +43 -0
- package/dist/apis/group/deleteGroupInviteBox.d.ts +9 -0
- package/dist/apis/group/deleteGroupInviteBox.js +27 -0
- package/dist/apis/group/disableGroupLink.d.ts +2 -0
- package/dist/apis/group/disableGroupLink.js +24 -0
- package/dist/apis/group/disperseGroup.d.ts +2 -0
- package/dist/apis/group/disperseGroup.js +28 -0
- package/dist/apis/group/enableGroupLink.d.ts +6 -0
- package/dist/apis/group/enableGroupLink.js +25 -0
- package/dist/apis/group/getAllGroups.d.ts +7 -0
- package/dist/apis/group/getAllGroups.js +10 -0
- package/dist/apis/group/getExtraGroupInfo.d.ts +7 -0
- package/dist/apis/group/getExtraGroupInfo.js +32 -0
- package/dist/apis/group/getGroupBlockedMember.d.ts +23 -0
- package/dist/apis/group/getGroupBlockedMember.js +28 -0
- package/dist/apis/group/getGroupChatHistory.d.ts +18 -0
- package/dist/apis/group/getGroupChatHistory.js +64 -0
- package/dist/apis/group/getGroupCloudMessageJump.d.ts +3 -0
- package/dist/apis/group/getGroupCloudMessageJump.js +46 -0
- package/dist/apis/group/getGroupInfo.d.ts +16 -0
- package/dist/apis/group/getGroupInfo.js +32 -0
- package/dist/apis/group/getGroupInviteBoxInfo.d.ts +32 -0
- package/dist/apis/group/getGroupInviteBoxInfo.js +37 -0
- package/dist/apis/group/getGroupInviteBoxList.d.ts +38 -0
- package/dist/apis/group/getGroupInviteBoxList.js +30 -0
- package/dist/apis/group/getGroupLinkDetail.d.ts +9 -0
- package/dist/apis/group/getGroupLinkDetail.js +25 -0
- package/dist/apis/group/getGroupLinkInfo.d.ts +34 -0
- package/dist/apis/group/getGroupLinkInfo.js +27 -0
- package/dist/apis/group/getGroupMembersInfo.d.ts +17 -0
- package/dist/apis/group/getGroupMembersInfo.js +24 -0
- package/dist/apis/group/getPendingGroupMembers.d.ts +11 -0
- package/dist/apis/group/getPendingGroupMembers.js +27 -0
- package/dist/apis/group/getQuotaCommunity.d.ts +8 -0
- package/dist/apis/group/getQuotaCommunity.js +27 -0
- package/dist/apis/group/getRelatedFriendGroup.d.ts +6 -0
- package/dist/apis/group/getRelatedFriendGroup.js +30 -0
- package/dist/apis/group/inviteUserToGroups.d.ts +10 -0
- package/dist/apis/group/inviteUserToGroups.js +30 -0
- package/dist/apis/group/joinGroupInviteBox.d.ts +2 -0
- package/dist/apis/group/joinGroupInviteBox.js +25 -0
- package/dist/apis/group/joinGroupLink.d.ts +2 -0
- package/dist/apis/group/joinGroupLink.js +27 -0
- package/dist/apis/group/leaveGroup.d.ts +4 -0
- package/dist/apis/group/leaveGroup.js +33 -0
- package/dist/apis/group/removeGroupBlockedMember.d.ts +2 -0
- package/dist/apis/group/removeGroupBlockedMember.js +28 -0
- package/dist/apis/group/removeGroupDeputy.d.ts +2 -0
- package/dist/apis/group/removeGroupDeputy.js +30 -0
- package/dist/apis/group/removeUserFromGroup.d.ts +4 -0
- package/dist/apis/group/removeUserFromGroup.js +34 -0
- package/dist/apis/group/reviewPendingMemberRequest.d.ts +14 -0
- package/dist/apis/group/reviewPendingMemberRequest.js +38 -0
- package/dist/apis/group/updateGroupSettings.d.ts +40 -0
- package/dist/apis/group/updateGroupSettings.js +43 -0
- package/dist/apis/group/upgradeGroupToCommunity.d.ts +2 -0
- package/dist/apis/group/upgradeGroupToCommunity.js +27 -0
- package/dist/apis/listen.d.ts +1 -119
- package/dist/apis/listen.js +1 -576
- package/dist/apis/login.js +9 -6
- package/dist/apis/loginQR.js +110 -68
- package/dist/apis/media/getConversationMedia.d.ts +26 -0
- package/dist/apis/media/getConversationMedia.js +38 -0
- package/dist/apis/media/getMediaStorePreview.d.ts +3 -0
- package/dist/apis/media/getMediaStorePreview.js +31 -0
- package/dist/apis/media/removeConversationMedia.d.ts +8 -0
- package/dist/apis/media/removeConversationMedia.js +30 -0
- package/dist/apis/media/uploadAttachment.d.ts +50 -0
- package/dist/apis/media/uploadAttachment.js +209 -0
- package/dist/apis/media/voiceToText.d.ts +4 -0
- package/dist/apis/media/voiceToText.js +29 -0
- package/dist/apis/profile/changeAccountAvatar.d.ts +3 -0
- package/dist/apis/profile/changeAccountAvatar.js +52 -0
- package/dist/apis/profile/deleteAvatar.d.ts +9 -0
- package/dist/apis/profile/deleteAvatar.js +27 -0
- package/dist/apis/profile/fetchAccountInfo.d.ts +5 -0
- package/dist/apis/profile/fetchAccountInfo.js +10 -0
- package/dist/apis/profile/getAvatarList.d.ts +12 -0
- package/dist/apis/profile/getAvatarList.js +28 -0
- package/dist/apis/profile/getAvatarUrlProfile.d.ts +7 -0
- package/dist/apis/profile/getAvatarUrlProfile.js +30 -0
- package/dist/apis/profile/getEmojiStatusConfig.d.ts +17 -0
- package/dist/apis/profile/getEmojiStatusConfig.js +22 -0
- package/dist/apis/profile/getFullAvatar.d.ts +5 -0
- package/dist/apis/profile/getFullAvatar.js +25 -0
- package/dist/apis/profile/getMiniProfile.d.ts +13 -0
- package/dist/apis/profile/getMiniProfile.js +34 -0
- package/dist/apis/profile/getProfileRank.d.ts +5 -0
- package/dist/apis/profile/getProfileRank.js +25 -0
- package/dist/apis/profile/getProfileVerificationStatus.d.ts +5 -0
- package/dist/apis/profile/getProfileVerificationStatus.js +20 -0
- package/dist/apis/profile/getSettings.d.ts +3 -0
- package/dist/apis/profile/getSettings.js +20 -0
- package/dist/apis/profile/getUserInfo.d.ts +8 -0
- package/dist/apis/profile/getUserInfo.js +44 -0
- package/dist/apis/profile/reuseAvatar.d.ts +2 -0
- package/dist/apis/profile/reuseAvatar.js +26 -0
- package/dist/apis/profile/updateProfile.d.ts +20 -0
- package/dist/apis/profile/updateProfile.js +42 -0
- package/dist/apis/profile/updateProfileBio.d.ts +2 -0
- package/dist/apis/profile/updateProfileBio.js +27 -0
- package/dist/apis/profile/updateSettings.d.ts +16 -0
- package/dist/apis/profile/updateSettings.js +90 -0
- package/dist/apis/sticker/getPersonalizedStickerList.d.ts +5 -0
- package/dist/apis/sticker/getPersonalizedStickerList.js +24 -0
- package/dist/apis/sticker/getStickerCategoriesV2.d.ts +17 -0
- package/dist/apis/sticker/getStickerCategoriesV2.js +21 -0
- package/dist/apis/sticker/getStickerCategoryData.d.ts +3 -0
- package/dist/apis/sticker/getStickerCategoryData.js +25 -0
- package/dist/apis/sticker/getStickerCategoryDetail.d.ts +3 -0
- package/dist/apis/sticker/getStickerCategoryDetail.js +24 -0
- package/dist/apis/sticker/getStickerHello.d.ts +16 -0
- package/dist/apis/sticker/getStickerHello.js +34 -0
- package/dist/apis/sticker/getStickerSuggestKeywords.d.ts +12 -0
- package/dist/apis/sticker/getStickerSuggestKeywords.js +24 -0
- package/dist/apis/sticker/getStickerSuggestion.d.ts +12 -0
- package/dist/apis/sticker/getStickerSuggestion.js +29 -0
- package/dist/apis/sticker/getStickers.d.ts +1 -0
- package/dist/apis/sticker/getStickers.js +40 -0
- package/dist/apis/sticker/getStickersDetail.d.ts +3 -0
- package/dist/apis/sticker/getStickersDetail.js +40 -0
- package/dist/apis/sticker/searchSticker.d.ts +3 -0
- package/dist/apis/sticker/searchSticker.js +28 -0
- package/dist/apis/sync/cancelPullMobile.d.ts +11 -0
- package/dist/apis/sync/cancelPullMobile.js +33 -0
- package/dist/apis/sync/downloadTransferSync.d.ts +6 -0
- package/dist/apis/sync/downloadTransferSync.js +30 -0
- package/dist/apis/sync/getSyncData.d.ts +13 -0
- package/dist/apis/sync/getSyncData.js +103 -0
- package/dist/apis/sync/pullMobile.d.ts +15 -0
- package/dist/apis/sync/pullMobile.js +38 -0
- package/dist/apis/sync/requestSyncFromPhone.d.ts +20 -0
- package/dist/apis/sync/requestSyncFromPhone.js +40 -0
- package/dist/apis/zcloud/getCloudInfo.d.ts +3 -0
- package/dist/apis/zcloud/getCloudInfo.js +18 -0
- package/dist/apis/zcloud/getCloudSettings.d.ts +10 -0
- package/dist/apis/zcloud/getCloudSettings.js +17 -0
- package/dist/apis/zcloud/getCloudViewerKey.d.ts +5 -0
- package/dist/apis/zcloud/getCloudViewerKey.js +45 -0
- package/dist/apis/zcloud/getFamilyProfile.d.ts +3 -0
- package/dist/apis/zcloud/getFamilyProfile.js +18 -0
- package/dist/apis/zcloud/getFamilyUsage.d.ts +7 -0
- package/dist/apis/zcloud/getFamilyUsage.js +17 -0
- package/dist/apis/zcloud/getFamilyViewerKey.d.ts +5 -0
- package/dist/apis/zcloud/getFamilyViewerKey.js +45 -0
- package/dist/apis/zcloud/getUsageMyCloud.d.ts +7 -0
- package/dist/apis/zcloud/getUsageMyCloud.js +17 -0
- package/dist/apis/zcloud/getUsageZCloud.d.ts +11 -0
- package/dist/apis/zcloud/getUsageZCloud.js +17 -0
- package/dist/apis/zcloud/verifyCloudMedia.d.ts +14 -0
- package/dist/apis/zcloud/verifyCloudMedia.js +25 -0
- package/dist/apis.d.ts +657 -330
- package/dist/apis.js +1139 -330
- package/dist/cjs/Errors/ZaloApiError.cjs +1 -0
- package/dist/cjs/apis/auth/decryptGids.cjs +35 -0
- package/dist/cjs/apis/auth/encryptGids.cjs +29 -0
- package/dist/cjs/apis/auth/getContext.cjs +9 -0
- package/dist/cjs/apis/auth/getCookie.cjs +14 -0
- package/dist/cjs/apis/auth/getListDevice.cjs +27 -0
- package/dist/cjs/apis/auth/getNoisedIds.cjs +74 -0
- package/dist/cjs/apis/auth/getOwnId.cjs +9 -0
- package/dist/cjs/apis/auth/getQR.cjs +34 -0
- package/dist/cjs/apis/auth/keepAlive.cjs +29 -0
- package/dist/cjs/apis/auth/lostFocus.cjs +28 -0
- package/dist/cjs/apis/auth/scanURL.cjs +33 -0
- package/dist/cjs/apis/auth/updateActiveStatus.cjs +32 -0
- package/dist/cjs/apis/auth/updateLang.cjs +35 -0
- package/dist/cjs/apis/board/addPollOptions.cjs +31 -0
- package/dist/cjs/apis/board/createNote.cjs +52 -0
- package/dist/cjs/apis/board/createPoll.cjs +44 -0
- package/dist/cjs/apis/board/createReminder.cjs +78 -0
- package/dist/cjs/apis/board/editNote.cjs +51 -0
- package/dist/cjs/apis/board/editReminder.cjs +76 -0
- package/dist/cjs/apis/board/getListBoard.cjs +60 -0
- package/dist/cjs/apis/board/getListPinTopics.cjs +33 -0
- package/dist/cjs/apis/board/getListReminder.cjs +65 -0
- package/dist/cjs/apis/board/getPollDetail.cjs +35 -0
- package/dist/cjs/apis/board/getReminder.cjs +30 -0
- package/dist/cjs/apis/board/getReminderResponses.cjs +29 -0
- package/dist/cjs/apis/board/lockPoll.cjs +33 -0
- package/dist/cjs/apis/board/removeReminder.cjs +56 -0
- package/dist/cjs/apis/board/sharePoll.cjs +33 -0
- package/dist/cjs/apis/board/votePoll.cjs +34 -0
- package/dist/cjs/apis/business/addQuickMessage.cjs +65 -0
- package/dist/cjs/apis/business/createAutoReply.cjs +42 -0
- package/dist/cjs/apis/business/createBankAccount.cjs +37 -0
- package/dist/cjs/apis/business/createCatalog.cjs +34 -0
- package/dist/cjs/apis/business/createProductCatalog.cjs +55 -0
- package/dist/cjs/apis/business/deleteAutoReply.cjs +34 -0
- package/dist/cjs/apis/business/deleteBankAccount.cjs +37 -0
- package/dist/cjs/apis/business/deleteCatalog.cjs +33 -0
- package/dist/cjs/apis/business/deleteProductCatalog.cjs +36 -0
- package/dist/cjs/apis/business/getAutoReplyList.cjs +29 -0
- package/dist/cjs/apis/business/getBizAccount.cjs +32 -0
- package/dist/cjs/apis/business/getCatalogList.cjs +36 -0
- package/dist/cjs/apis/business/getLabels.cjs +33 -0
- package/dist/cjs/apis/business/getListBank.cjs +25 -0
- package/dist/cjs/apis/business/getListBankAccount.cjs +32 -0
- package/dist/cjs/apis/business/getProductCatalogList.cjs +37 -0
- package/dist/cjs/apis/business/getQuickMessageList.cjs +29 -0
- package/dist/cjs/apis/business/registerCatalog.cjs +32 -0
- package/dist/cjs/apis/business/removeQuickMessage.cjs +32 -0
- package/dist/cjs/apis/business/updateAutoReply.cjs +43 -0
- package/dist/cjs/apis/business/updateBankAccount.cjs +36 -0
- package/dist/cjs/apis/business/updateCatalog.cjs +35 -0
- package/dist/cjs/apis/business/updateLabels.cjs +39 -0
- package/dist/cjs/apis/business/updateProductCatalog.cjs +56 -0
- package/dist/cjs/apis/business/updateQuickMessage.cjs +66 -0
- package/dist/cjs/apis/business/uploadProductPhoto.cjs +55 -0
- package/dist/cjs/apis/call/cancelVoiceCall.cjs +45 -0
- package/dist/cjs/apis/call/endVoiceCall.cjs +43 -0
- package/dist/cjs/apis/call/sendVoiceCall.cjs +118 -0
- package/dist/cjs/apis/chat/addReaction.cjs +313 -0
- package/dist/cjs/apis/chat/addUnreadMark.cjs +68 -0
- package/dist/cjs/apis/chat/deleteChat.cjs +66 -0
- package/dist/cjs/apis/chat/deleteMessage.cjs +68 -0
- package/dist/cjs/apis/chat/forwardMessage.cjs +108 -0
- package/dist/cjs/apis/chat/getArchivedChatList.cjs +28 -0
- package/dist/cjs/apis/chat/getAutoDeleteChat.cjs +26 -0
- package/dist/cjs/apis/chat/getHiddenConversations.cjs +28 -0
- package/dist/cjs/apis/chat/getLastSeen.cjs +43 -0
- package/dist/cjs/apis/chat/getLastSeenReaction.cjs +32 -0
- package/dist/cjs/apis/chat/getMute.cjs +27 -0
- package/dist/cjs/apis/chat/getPinConversations.cjs +27 -0
- package/dist/cjs/apis/chat/getRecentSearchList.cjs +30 -0
- package/dist/cjs/apis/chat/getUnreadMark.cjs +35 -0
- package/dist/cjs/apis/chat/parseLink.cjs +32 -0
- package/dist/cjs/apis/chat/preloadConversations.cjs +96 -0
- package/dist/cjs/apis/chat/removeUnreadMark.cjs +66 -0
- package/dist/cjs/apis/chat/resetHiddenConversPin.cjs +25 -0
- package/dist/cjs/apis/chat/sendBankCard.cjs +52 -0
- package/dist/cjs/apis/chat/sendCard.cjs +74 -0
- package/dist/cjs/apis/chat/sendDeliveredEvent.cjs +78 -0
- package/dist/cjs/apis/chat/sendLink.cjs +76 -0
- package/dist/cjs/apis/chat/sendMessage.cjs +476 -0
- package/dist/cjs/apis/chat/sendReport.cjs +69 -0
- package/dist/cjs/apis/chat/sendSeenEvent.cjs +82 -0
- package/dist/cjs/apis/chat/sendSticker.cjs +73 -0
- package/dist/cjs/apis/chat/sendTypingEvent.cjs +53 -0
- package/dist/cjs/apis/chat/sendVideo.cjs +133 -0
- package/dist/cjs/apis/chat/sendVoice.cjs +88 -0
- package/dist/cjs/apis/chat/setHiddenConversations.cjs +55 -0
- package/dist/cjs/apis/chat/setMute.cjs +83 -0
- package/dist/cjs/apis/chat/setPinnedConversations.cjs +50 -0
- package/dist/cjs/apis/chat/undo.cjs +58 -0
- package/dist/cjs/apis/chat/undoMultiMessage.cjs +62 -0
- package/dist/cjs/apis/chat/updateArchivedChatList.cjs +39 -0
- package/dist/cjs/apis/chat/updateAutoDeleteChat.cjs +56 -0
- package/dist/cjs/apis/chat/updateHiddenConversPin.cjs +36 -0
- package/dist/cjs/apis/chat/updateRecentSearch.cjs +45 -0
- package/dist/cjs/apis/custom.cjs +1 -0
- package/dist/cjs/apis/friend/acceptFriendRequest.cjs +33 -0
- package/dist/cjs/apis/friend/blockUser.cjs +33 -0
- package/dist/cjs/apis/friend/blockViewFeed.cjs +35 -0
- package/dist/cjs/apis/friend/changeFriendAlias.cjs +32 -0
- package/dist/cjs/apis/friend/clearUnreadFriendRequests.cjs +34 -0
- package/dist/cjs/apis/friend/findUser.cjs +58 -0
- package/dist/cjs/apis/friend/findUserByUsername.cjs +43 -0
- package/dist/cjs/apis/friend/getAliasList.cjs +32 -0
- package/dist/cjs/apis/friend/getAliasListV2.cjs +33 -0
- package/dist/cjs/apis/friend/getAllFriends.cjs +50 -0
- package/dist/cjs/apis/friend/getBlockFriends.cjs +33 -0
- package/dist/cjs/apis/friend/getCloseFriends.cjs +25 -0
- package/dist/cjs/apis/friend/getExtraFriendInfo.cjs +36 -0
- package/dist/cjs/apis/friend/getFriendBoardList.cjs +31 -0
- package/dist/cjs/apis/friend/getFriendOnlines.cjs +40 -0
- package/dist/cjs/apis/friend/getFriendRecommendations.cjs +32 -0
- package/dist/cjs/apis/friend/getFriendRequestStatus.cjs +30 -0
- package/dist/cjs/apis/friend/getFriendsEmojiStatus.cjs +34 -0
- package/dist/cjs/apis/friend/getLastReadContactTab.cjs +20 -0
- package/dist/cjs/apis/friend/getMultiUsersByPhones.cjs +55 -0
- package/dist/cjs/apis/friend/getPhonebookV2.cjs +26 -0
- package/dist/cjs/apis/friend/getSentFriendRequest.cjs +29 -0
- package/dist/cjs/apis/friend/lastOnline.cjs +31 -0
- package/dist/cjs/apis/friend/readContactTab.cjs +31 -0
- package/dist/cjs/apis/friend/rejectFriendRequest.cjs +32 -0
- package/dist/cjs/apis/friend/removeFriend.cjs +33 -0
- package/dist/cjs/apis/friend/removeFriendAlias.cjs +29 -0
- package/dist/cjs/apis/friend/sendFriendRequest.cjs +44 -0
- package/dist/cjs/apis/friend/unblockUser.cjs +33 -0
- package/dist/cjs/apis/friend/undoFriendRequest.cjs +32 -0
- package/dist/cjs/apis/group/addGroupBlockedMember.cjs +33 -0
- package/dist/cjs/apis/group/addGroupDeputy.cjs +35 -0
- package/dist/cjs/apis/group/addUserToGroup.cjs +39 -0
- package/dist/cjs/apis/group/changeGroupAvatar.cjs +49 -0
- package/dist/cjs/apis/group/changeGroupName.cjs +37 -0
- package/dist/cjs/apis/group/changeGroupOwner.cjs +35 -0
- package/dist/cjs/apis/group/createGroup.cjs +48 -0
- package/dist/cjs/apis/group/deleteGroupInviteBox.cjs +32 -0
- package/dist/cjs/apis/group/disableGroupLink.cjs +29 -0
- package/dist/cjs/apis/group/disperseGroup.cjs +33 -0
- package/dist/cjs/apis/group/enableGroupLink.cjs +30 -0
- package/dist/cjs/apis/group/getAllGroups.cjs +15 -0
- package/dist/cjs/apis/group/getExtraGroupInfo.cjs +37 -0
- package/dist/cjs/apis/group/getGroupBlockedMember.cjs +33 -0
- package/dist/cjs/apis/group/getGroupChatHistory.cjs +81 -0
- package/dist/cjs/apis/group/getGroupCloudMessageJump.cjs +63 -0
- package/dist/cjs/apis/group/getGroupInfo.cjs +37 -0
- package/dist/cjs/apis/group/getGroupInviteBoxInfo.cjs +42 -0
- package/dist/cjs/apis/group/getGroupInviteBoxList.cjs +35 -0
- package/dist/cjs/apis/group/getGroupLinkDetail.cjs +30 -0
- package/dist/cjs/apis/group/getGroupLinkInfo.cjs +32 -0
- package/dist/cjs/apis/group/getGroupMembersInfo.cjs +29 -0
- package/dist/cjs/apis/group/getPendingGroupMembers.cjs +32 -0
- package/dist/cjs/apis/group/getQuotaCommunity.cjs +32 -0
- package/dist/cjs/apis/group/getRelatedFriendGroup.cjs +35 -0
- package/dist/cjs/apis/group/inviteUserToGroups.cjs +35 -0
- package/dist/cjs/apis/group/joinGroupInviteBox.cjs +30 -0
- package/dist/cjs/apis/group/joinGroupLink.cjs +32 -0
- package/dist/cjs/apis/group/leaveGroup.cjs +38 -0
- package/dist/cjs/apis/group/removeGroupBlockedMember.cjs +33 -0
- package/dist/cjs/apis/group/removeGroupDeputy.cjs +35 -0
- package/dist/cjs/apis/group/removeUserFromGroup.cjs +39 -0
- package/dist/cjs/apis/group/reviewPendingMemberRequest.cjs +43 -0
- package/dist/cjs/apis/group/updateGroupSettings.cjs +48 -0
- package/dist/cjs/apis/group/upgradeGroupToCommunity.cjs +32 -0
- package/dist/cjs/apis/login.cjs +15 -8
- package/dist/cjs/apis/loginQR.cjs +110 -68
- package/dist/cjs/apis/media/getConversationMedia.cjs +43 -0
- package/dist/cjs/apis/media/getMediaStorePreview.cjs +36 -0
- package/dist/cjs/apis/media/removeConversationMedia.cjs +35 -0
- package/dist/cjs/apis/media/uploadAttachment.cjs +225 -0
- package/dist/cjs/apis/media/voiceToText.cjs +35 -0
- package/dist/cjs/apis/profile/changeAccountAvatar.cjs +57 -0
- package/dist/cjs/apis/profile/deleteAvatar.cjs +32 -0
- package/dist/cjs/apis/profile/fetchAccountInfo.cjs +15 -0
- package/dist/cjs/apis/profile/getAvatarList.cjs +33 -0
- package/dist/cjs/apis/profile/getAvatarUrlProfile.cjs +46 -0
- package/dist/cjs/apis/profile/getEmojiStatusConfig.cjs +28 -0
- package/dist/cjs/apis/profile/getFullAvatar.cjs +30 -0
- package/dist/cjs/apis/profile/getMiniProfile.cjs +39 -0
- package/dist/cjs/apis/profile/getProfileRank.cjs +30 -0
- package/dist/cjs/apis/profile/getProfileVerificationStatus.cjs +25 -0
- package/dist/cjs/apis/profile/getSettings.cjs +27 -0
- package/dist/cjs/apis/profile/getUserInfo.cjs +60 -0
- package/dist/cjs/apis/profile/reuseAvatar.cjs +31 -0
- package/dist/cjs/apis/profile/updateProfile.cjs +47 -0
- package/dist/cjs/apis/profile/updateProfileBio.cjs +32 -0
- package/dist/cjs/apis/profile/updateSettings.cjs +97 -0
- package/dist/cjs/apis/sticker/getPersonalizedStickerList.cjs +29 -0
- package/dist/cjs/apis/sticker/getStickerCategoriesV2.cjs +26 -0
- package/dist/cjs/apis/sticker/getStickerCategoryData.cjs +30 -0
- package/dist/cjs/apis/sticker/getStickerCategoryDetail.cjs +29 -0
- package/dist/cjs/apis/sticker/getStickerHello.cjs +39 -0
- package/dist/cjs/apis/sticker/getStickerSuggestKeywords.cjs +29 -0
- package/dist/cjs/apis/sticker/getStickerSuggestion.cjs +34 -0
- package/dist/cjs/apis/sticker/getStickers.cjs +45 -0
- package/dist/cjs/apis/sticker/getStickersDetail.cjs +45 -0
- package/dist/cjs/apis/sticker/searchSticker.cjs +33 -0
- package/dist/cjs/apis/sync/cancelPullMobile.cjs +38 -0
- package/dist/cjs/apis/sync/downloadTransferSync.cjs +37 -0
- package/dist/cjs/apis/sync/getSyncData.cjs +109 -0
- package/dist/cjs/apis/sync/pullMobile.cjs +43 -0
- package/dist/cjs/apis/sync/requestSyncFromPhone.cjs +46 -0
- package/dist/cjs/apis/zcloud/getCloudInfo.cjs +27 -0
- package/dist/cjs/apis/zcloud/getCloudSettings.cjs +26 -0
- package/dist/cjs/apis/zcloud/getCloudViewerKey.cjs +53 -0
- package/dist/cjs/apis/zcloud/getFamilyProfile.cjs +27 -0
- package/dist/cjs/apis/zcloud/getFamilyUsage.cjs +26 -0
- package/dist/cjs/apis/zcloud/getFamilyViewerKey.cjs +53 -0
- package/dist/cjs/apis/zcloud/getUsageMyCloud.cjs +26 -0
- package/dist/cjs/apis/zcloud/getUsageZCloud.cjs +26 -0
- package/dist/cjs/apis/zcloud/verifyCloudMedia.cjs +34 -0
- package/dist/cjs/apis.cjs +1142 -332
- package/dist/cjs/constants/defaults.cjs +77 -0
- package/dist/cjs/constants/domains.cjs +38 -0
- package/dist/cjs/constants/endpoints.cjs +71 -0
- package/dist/cjs/constants/protocol.cjs +34 -0
- package/dist/cjs/context.cjs +9 -6
- package/dist/cjs/core/service-router.cjs +22 -0
- package/dist/cjs/core/zcloud-client.cjs +93 -0
- package/dist/cjs/crypto/aes.cjs +181 -0
- package/dist/cjs/crypto/ws-cipher.cjs +59 -0
- package/dist/cjs/crypto/zcloud-cipher.cjs +32 -0
- package/dist/cjs/crypto/zdb-cipher.cjs +177 -0
- package/dist/cjs/index.cjs +55 -17
- package/dist/cjs/models/ClearUnread.cjs +7 -0
- package/dist/cjs/models/DeliveredMessage.cjs +8 -2
- package/dist/cjs/models/GroupEvent.cjs +1 -2
- package/dist/cjs/models/Message.cjs +14 -2
- package/dist/cjs/models/Reaction.cjs +4 -0
- package/dist/cjs/models/SeenMessage.cjs +8 -2
- package/dist/cjs/models/Typing.cjs +8 -2
- package/dist/cjs/models/Undo.cjs +4 -0
- package/dist/cjs/realtime/handlers/control.handler.cjs +84 -0
- package/dist/cjs/realtime/handlers/message.handler.cjs +106 -0
- package/dist/cjs/realtime/handlers/reaction.handler.cjs +55 -0
- package/dist/cjs/realtime/handlers/status.handler.cjs +90 -0
- package/dist/cjs/realtime/listener.cjs +381 -0
- package/dist/cjs/realtime/types.cjs +9 -0
- package/dist/cjs/update.cjs +14 -11
- package/dist/cjs/utils.cjs +60 -452
- package/dist/cjs/zalo.cjs +13 -8
- package/dist/constants/defaults.d.ts +96 -0
- package/dist/constants/defaults.js +73 -0
- package/dist/constants/domains.d.ts +34 -0
- package/dist/constants/domains.js +34 -0
- package/dist/constants/endpoints.d.ts +67 -0
- package/dist/constants/endpoints.js +67 -0
- package/dist/constants/index.d.ts +4 -0
- package/dist/constants/index.js +4 -0
- package/dist/constants/protocol.d.ts +30 -0
- package/dist/constants/protocol.js +30 -0
- package/dist/context.d.ts +12 -1
- package/dist/context.js +7 -6
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +2 -0
- package/dist/core/service-router.d.ts +10 -0
- package/dist/core/service-router.js +17 -0
- package/dist/core/zcloud-client.d.ts +31 -0
- package/dist/core/zcloud-client.js +83 -0
- package/dist/crypto/aes.d.ts +34 -0
- package/dist/crypto/aes.js +171 -0
- package/dist/crypto/index.d.ts +4 -0
- package/dist/crypto/index.js +4 -0
- package/dist/crypto/ws-cipher.d.ts +3 -0
- package/dist/crypto/ws-cipher.js +52 -0
- package/dist/crypto/zcloud-cipher.d.ts +10 -0
- package/dist/crypto/zcloud-cipher.js +26 -0
- package/dist/crypto/zdb-cipher.d.ts +42 -0
- package/dist/crypto/zdb-cipher.js +167 -0
- package/dist/index.d.ts +217 -172
- package/dist/index.js +13 -10
- package/dist/models/ClearUnread.js +7 -0
- package/dist/models/DeliveredMessage.js +8 -2
- package/dist/models/GroupEvent.js +1 -2
- package/dist/models/Message.js +14 -2
- package/dist/models/Reaction.js +4 -0
- package/dist/models/SeenMessage.js +8 -2
- package/dist/models/Typing.js +8 -2
- package/dist/models/Undo.js +4 -0
- package/dist/realtime/handlers/control.handler.d.ts +3 -0
- package/dist/realtime/handlers/control.handler.js +78 -0
- package/dist/realtime/handlers/message.handler.d.ts +4 -0
- package/dist/realtime/handlers/message.handler.js +87 -0
- package/dist/realtime/handlers/reaction.handler.d.ts +3 -0
- package/dist/realtime/handlers/reaction.handler.js +32 -0
- package/dist/realtime/handlers/status.handler.d.ts +3 -0
- package/dist/realtime/handlers/status.handler.js +66 -0
- package/dist/realtime/index.d.ts +2 -0
- package/dist/realtime/index.js +2 -0
- package/dist/realtime/listener.d.ts +69 -0
- package/dist/realtime/listener.js +363 -0
- package/dist/realtime/types.d.ts +64 -0
- package/dist/realtime/types.js +7 -0
- package/dist/update.js +13 -11
- package/dist/utils.d.ts +5 -125
- package/dist/utils.js +49 -466
- package/dist/zalo.js +12 -9
- package/package.json +11 -7
- package/.prettierrc +0 -5
- package/dist/apis/acceptFriendRequest.d.ts +0 -2
- package/dist/apis/acceptFriendRequest.js +0 -28
- package/dist/apis/addGroupBlockedMember.d.ts +0 -2
- package/dist/apis/addGroupBlockedMember.js +0 -28
- package/dist/apis/addGroupDeputy.d.ts +0 -2
- package/dist/apis/addGroupDeputy.js +0 -30
- package/dist/apis/addPollOptions.d.ts +0 -14
- package/dist/apis/addPollOptions.js +0 -26
- package/dist/apis/addQuickMessage.d.ts +0 -11
- package/dist/apis/addQuickMessage.js +0 -60
- package/dist/apis/addReaction.d.ts +0 -18
- package/dist/apis/addReaction.js +0 -297
- package/dist/apis/addUnreadMark.d.ts +0 -8
- package/dist/apis/addUnreadMark.js +0 -52
- package/dist/apis/addUserToGroup.d.ts +0 -5
- package/dist/apis/addUserToGroup.js +0 -34
- package/dist/apis/blockUser.d.ts +0 -2
- package/dist/apis/blockUser.js +0 -28
- package/dist/apis/blockViewFeed.d.ts +0 -2
- package/dist/apis/blockViewFeed.js +0 -30
- package/dist/apis/cancelPullMobile.d.ts +0 -11
- package/dist/apis/cancelPullMobile.js +0 -33
- package/dist/apis/cancelVoiceCall.d.ts +0 -7
- package/dist/apis/cancelVoiceCall.js +0 -42
- package/dist/apis/changeAccountAvatar.d.ts +0 -3
- package/dist/apis/changeAccountAvatar.js +0 -52
- package/dist/apis/changeFriendAlias.d.ts +0 -2
- package/dist/apis/changeFriendAlias.js +0 -27
- package/dist/apis/changeGroupAvatar.d.ts +0 -3
- package/dist/apis/changeGroupAvatar.js +0 -44
- package/dist/apis/changeGroupName.d.ts +0 -4
- package/dist/apis/changeGroupName.js +0 -32
- package/dist/apis/changeGroupOwner.d.ts +0 -4
- package/dist/apis/changeGroupOwner.js +0 -30
- package/dist/apis/createAutoReply.d.ts +0 -14
- package/dist/apis/createAutoReply.js +0 -37
- package/dist/apis/createBankAccount.d.ts +0 -8
- package/dist/apis/createBankAccount.js +0 -32
- package/dist/apis/createCatalog.d.ts +0 -7
- package/dist/apis/createCatalog.js +0 -29
- package/dist/apis/createGroup.d.ts +0 -28
- package/dist/apis/createGroup.js +0 -43
- package/dist/apis/createNote.d.ts +0 -7
- package/dist/apis/createNote.js +0 -47
- package/dist/apis/createPoll.d.ts +0 -36
- package/dist/apis/createPoll.js +0 -40
- package/dist/apis/createProductCatalog.d.ts +0 -23
- package/dist/apis/createProductCatalog.js +0 -50
- package/dist/apis/createReminder.d.ts +0 -12
- package/dist/apis/createReminder.js +0 -63
- package/dist/apis/decryptGids.d.ts +0 -6
- package/dist/apis/decryptGids.js +0 -30
- package/dist/apis/deleteAutoReply.d.ts +0 -5
- package/dist/apis/deleteAutoReply.js +0 -29
- package/dist/apis/deleteAvatar.d.ts +0 -9
- package/dist/apis/deleteAvatar.js +0 -27
- package/dist/apis/deleteBankAccount.d.ts +0 -11
- package/dist/apis/deleteBankAccount.js +0 -32
- package/dist/apis/deleteCatalog.d.ts +0 -2
- package/dist/apis/deleteCatalog.js +0 -28
- package/dist/apis/deleteChat.d.ts +0 -19
- package/dist/apis/deleteChat.js +0 -50
- package/dist/apis/deleteGroupInviteBox.d.ts +0 -9
- package/dist/apis/deleteGroupInviteBox.js +0 -27
- package/dist/apis/deleteMessage.d.ts +0 -14
- package/dist/apis/deleteMessage.js +0 -52
- package/dist/apis/deleteProductCatalog.d.ts +0 -10
- package/dist/apis/deleteProductCatalog.js +0 -31
- package/dist/apis/disableGroupLink.d.ts +0 -2
- package/dist/apis/disableGroupLink.js +0 -24
- package/dist/apis/disperseGroup.d.ts +0 -2
- package/dist/apis/disperseGroup.js +0 -28
- package/dist/apis/downloadTransferSync.d.ts +0 -6
- package/dist/apis/downloadTransferSync.js +0 -30
- package/dist/apis/editNote.d.ts +0 -17
- package/dist/apis/editNote.js +0 -46
- package/dist/apis/editReminder.d.ts +0 -13
- package/dist/apis/editReminder.js +0 -61
- package/dist/apis/enableGroupLink.d.ts +0 -6
- package/dist/apis/enableGroupLink.js +0 -25
- package/dist/apis/endVoiceCall.d.ts +0 -5
- package/dist/apis/endVoiceCall.js +0 -40
- package/dist/apis/fetchAccountInfo.d.ts +0 -5
- package/dist/apis/fetchAccountInfo.js +0 -10
- package/dist/apis/findUser.d.ts +0 -3
- package/dist/apis/findUser.js +0 -42
- package/dist/apis/findUserByUsername.d.ts +0 -3
- package/dist/apis/findUserByUsername.js +0 -27
- package/dist/apis/forwardMessage.d.ts +0 -24
- package/dist/apis/forwardMessage.js +0 -99
- package/dist/apis/getAliasList.d.ts +0 -8
- package/dist/apis/getAliasList.js +0 -27
- package/dist/apis/getAllFriends.d.ts +0 -3
- package/dist/apis/getAllFriends.js +0 -34
- package/dist/apis/getAllGroups.d.ts +0 -7
- package/dist/apis/getAllGroups.js +0 -10
- package/dist/apis/getArchivedChatList.d.ts +0 -5
- package/dist/apis/getArchivedChatList.js +0 -23
- package/dist/apis/getAutoDeleteChat.d.ts +0 -9
- package/dist/apis/getAutoDeleteChat.js +0 -21
- package/dist/apis/getAutoReplyList.d.ts +0 -6
- package/dist/apis/getAutoReplyList.js +0 -24
- package/dist/apis/getAvatarList.d.ts +0 -12
- package/dist/apis/getAvatarList.js +0 -28
- package/dist/apis/getAvatarUrlProfile.d.ts +0 -7
- package/dist/apis/getAvatarUrlProfile.js +0 -30
- package/dist/apis/getBizAccount.d.ts +0 -24
- package/dist/apis/getBizAccount.js +0 -27
- package/dist/apis/getCatalogList.d.ts +0 -18
- package/dist/apis/getCatalogList.js +0 -32
- package/dist/apis/getCloseFriends.d.ts +0 -3
- package/dist/apis/getCloseFriends.js +0 -20
- package/dist/apis/getContext.d.ts +0 -1
- package/dist/apis/getContext.js +0 -4
- package/dist/apis/getCookie.d.ts +0 -1
- package/dist/apis/getCookie.js +0 -9
- package/dist/apis/getFriendBoardList.d.ts +0 -5
- package/dist/apis/getFriendBoardList.js +0 -26
- package/dist/apis/getFriendOnlines.d.ts +0 -10
- package/dist/apis/getFriendOnlines.js +0 -35
- package/dist/apis/getFriendRecommendations.d.ts +0 -42
- package/dist/apis/getFriendRecommendations.js +0 -27
- package/dist/apis/getFriendRequestStatus.d.ts +0 -8
- package/dist/apis/getFriendRequestStatus.js +0 -25
- package/dist/apis/getFullAvatar.d.ts +0 -5
- package/dist/apis/getFullAvatar.js +0 -25
- package/dist/apis/getGroupBlockedMember.d.ts +0 -23
- package/dist/apis/getGroupBlockedMember.js +0 -29
- package/dist/apis/getGroupChatHistory.d.ts +0 -18
- package/dist/apis/getGroupChatHistory.js +0 -64
- package/dist/apis/getGroupInfo.d.ts +0 -16
- package/dist/apis/getGroupInfo.js +0 -32
- package/dist/apis/getGroupInviteBoxInfo.d.ts +0 -32
- package/dist/apis/getGroupInviteBoxInfo.js +0 -38
- package/dist/apis/getGroupInviteBoxList.d.ts +0 -38
- package/dist/apis/getGroupInviteBoxList.js +0 -31
- package/dist/apis/getGroupLinkDetail.d.ts +0 -9
- package/dist/apis/getGroupLinkDetail.js +0 -25
- package/dist/apis/getGroupLinkInfo.d.ts +0 -34
- package/dist/apis/getGroupLinkInfo.js +0 -28
- package/dist/apis/getGroupMembersInfo.d.ts +0 -17
- package/dist/apis/getGroupMembersInfo.js +0 -24
- package/dist/apis/getHiddenConversations.d.ts +0 -11
- package/dist/apis/getHiddenConversations.js +0 -23
- package/dist/apis/getLabels.d.ts +0 -7
- package/dist/apis/getLabels.js +0 -28
- package/dist/apis/getListBank.d.ts +0 -5
- package/dist/apis/getListBank.js +0 -20
- package/dist/apis/getListBankAccount.d.ts +0 -7
- package/dist/apis/getListBankAccount.js +0 -27
- package/dist/apis/getListBoard.d.ts +0 -21
- package/dist/apis/getListBoard.js +0 -45
- package/dist/apis/getListDevice.d.ts +0 -10
- package/dist/apis/getListDevice.js +0 -22
- package/dist/apis/getListReminder.d.ts +0 -28
- package/dist/apis/getListReminder.js +0 -47
- package/dist/apis/getMultiUsersByPhones.d.ts +0 -5
- package/dist/apis/getMultiUsersByPhones.js +0 -39
- package/dist/apis/getMute.d.ts +0 -13
- package/dist/apis/getMute.js +0 -22
- package/dist/apis/getNoisedIds.d.ts +0 -9
- package/dist/apis/getNoisedIds.js +0 -67
- package/dist/apis/getOwnId.d.ts +0 -1
- package/dist/apis/getOwnId.js +0 -4
- package/dist/apis/getPendingGroupMembers.d.ts +0 -11
- package/dist/apis/getPendingGroupMembers.js +0 -27
- package/dist/apis/getPinConversations.d.ts +0 -5
- package/dist/apis/getPinConversations.js +0 -22
- package/dist/apis/getPollDetail.d.ts +0 -3
- package/dist/apis/getPollDetail.js +0 -30
- package/dist/apis/getProductCatalogList.d.ts +0 -20
- package/dist/apis/getProductCatalogList.js +0 -33
- package/dist/apis/getQR.d.ts +0 -4
- package/dist/apis/getQR.js +0 -29
- package/dist/apis/getQuickMessageList.d.ts +0 -7
- package/dist/apis/getQuickMessageList.js +0 -24
- package/dist/apis/getRelatedFriendGroup.d.ts +0 -6
- package/dist/apis/getRelatedFriendGroup.js +0 -30
- package/dist/apis/getReminder.d.ts +0 -3
- package/dist/apis/getReminder.js +0 -25
- package/dist/apis/getReminderResponses.d.ts +0 -5
- package/dist/apis/getReminderResponses.js +0 -24
- package/dist/apis/getSentFriendRequest.d.ts +0 -18
- package/dist/apis/getSentFriendRequest.js +0 -24
- package/dist/apis/getSettings.d.ts +0 -3
- package/dist/apis/getSettings.js +0 -20
- package/dist/apis/getStickerCategoryDetail.d.ts +0 -3
- package/dist/apis/getStickerCategoryDetail.js +0 -24
- package/dist/apis/getStickers.d.ts +0 -1
- package/dist/apis/getStickers.js +0 -40
- package/dist/apis/getStickersDetail.d.ts +0 -3
- package/dist/apis/getStickersDetail.js +0 -40
- package/dist/apis/getSyncData.d.ts +0 -13
- package/dist/apis/getSyncData.js +0 -103
- package/dist/apis/getUnreadMark.d.ts +0 -14
- package/dist/apis/getUnreadMark.js +0 -30
- package/dist/apis/getUserInfo.d.ts +0 -8
- package/dist/apis/getUserInfo.js +0 -44
- package/dist/apis/inviteUserToGroups.d.ts +0 -10
- package/dist/apis/inviteUserToGroups.js +0 -30
- package/dist/apis/joinGroupInviteBox.d.ts +0 -2
- package/dist/apis/joinGroupInviteBox.js +0 -25
- package/dist/apis/joinGroupLink.d.ts +0 -2
- package/dist/apis/joinGroupLink.js +0 -27
- package/dist/apis/keepAlive.d.ts +0 -4
- package/dist/apis/keepAlive.js +0 -22
- package/dist/apis/lastOnline.d.ts +0 -7
- package/dist/apis/lastOnline.js +0 -26
- package/dist/apis/leaveGroup.d.ts +0 -4
- package/dist/apis/leaveGroup.js +0 -33
- package/dist/apis/lockPoll.d.ts +0 -2
- package/dist/apis/lockPoll.js +0 -28
- package/dist/apis/lostFocus.d.ts +0 -4
- package/dist/apis/lostFocus.js +0 -23
- package/dist/apis/parseLink.d.ts +0 -21
- package/dist/apis/parseLink.js +0 -27
- package/dist/apis/preloadConversations.d.ts +0 -28
- package/dist/apis/preloadConversations.js +0 -76
- package/dist/apis/pullMobile.d.ts +0 -15
- package/dist/apis/pullMobile.js +0 -38
- package/dist/apis/registerCatalog.d.ts +0 -2
- package/dist/apis/registerCatalog.js +0 -27
- package/dist/apis/rejectFriendRequest.d.ts +0 -2
- package/dist/apis/rejectFriendRequest.js +0 -27
- package/dist/apis/removeFriend.d.ts +0 -2
- package/dist/apis/removeFriend.js +0 -28
- package/dist/apis/removeFriendAlias.d.ts +0 -2
- package/dist/apis/removeFriendAlias.js +0 -24
- package/dist/apis/removeGroupBlockedMember.d.ts +0 -2
- package/dist/apis/removeGroupBlockedMember.js +0 -28
- package/dist/apis/removeGroupDeputy.d.ts +0 -2
- package/dist/apis/removeGroupDeputy.js +0 -30
- package/dist/apis/removeQuickMessage.d.ts +0 -5
- package/dist/apis/removeQuickMessage.js +0 -27
- package/dist/apis/removeReminder.d.ts +0 -3
- package/dist/apis/removeReminder.js +0 -40
- package/dist/apis/removeUnreadMark.d.ts +0 -8
- package/dist/apis/removeUnreadMark.js +0 -50
- package/dist/apis/removeUserFromGroup.d.ts +0 -4
- package/dist/apis/removeUserFromGroup.js +0 -34
- package/dist/apis/requestSyncFromPhone.d.ts +0 -20
- package/dist/apis/requestSyncFromPhone.js +0 -41
- package/dist/apis/resetHiddenConversPin.d.ts +0 -2
- package/dist/apis/resetHiddenConversPin.js +0 -20
- package/dist/apis/reuseAvatar.d.ts +0 -2
- package/dist/apis/reuseAvatar.js +0 -26
- package/dist/apis/reviewPendingMemberRequest.d.ts +0 -14
- package/dist/apis/reviewPendingMemberRequest.js +0 -38
- package/dist/apis/scanURL.d.ts +0 -4
- package/dist/apis/scanURL.js +0 -28
- package/dist/apis/searchSticker.d.ts +0 -3
- package/dist/apis/searchSticker.js +0 -28
- package/dist/apis/sendBankCard.d.ts +0 -9
- package/dist/apis/sendBankCard.js +0 -37
- package/dist/apis/sendCard.d.ts +0 -10
- package/dist/apis/sendCard.js +0 -59
- package/dist/apis/sendDeliveredEvent.d.ts +0 -16
- package/dist/apis/sendDeliveredEvent.js +0 -55
- package/dist/apis/sendFriendRequest.d.ts +0 -2
- package/dist/apis/sendFriendRequest.js +0 -39
- package/dist/apis/sendLink.d.ts +0 -10
- package/dist/apis/sendLink.js +0 -61
- package/dist/apis/sendMessage.d.ts +0 -99
- package/dist/apis/sendMessage.js +0 -452
- package/dist/apis/sendReport.d.ts +0 -17
- package/dist/apis/sendReport.js +0 -53
- package/dist/apis/sendSeenEvent.d.ts +0 -16
- package/dist/apis/sendSeenEvent.js +0 -63
- package/dist/apis/sendSticker.d.ts +0 -10
- package/dist/apis/sendSticker.js +0 -57
- package/dist/apis/sendTypingEvent.d.ts +0 -5
- package/dist/apis/sendTypingEvent.js +0 -33
- package/dist/apis/sendVideo.d.ts +0 -35
- package/dist/apis/sendVideo.js +0 -118
- package/dist/apis/sendVoice.d.ts +0 -12
- package/dist/apis/sendVoice.js +0 -73
- package/dist/apis/sendVoiceCall.d.ts +0 -44
- package/dist/apis/sendVoiceCall.js +0 -115
- package/dist/apis/setHiddenConversations.d.ts +0 -3
- package/dist/apis/setHiddenConversations.js +0 -39
- package/dist/apis/setMute.d.ts +0 -20
- package/dist/apis/setMute.js +0 -67
- package/dist/apis/setPinnedConversations.d.ts +0 -3
- package/dist/apis/setPinnedConversations.js +0 -34
- package/dist/apis/sharePoll.d.ts +0 -2
- package/dist/apis/sharePoll.js +0 -28
- package/dist/apis/unblockUser.d.ts +0 -2
- package/dist/apis/unblockUser.js +0 -28
- package/dist/apis/undo.d.ts +0 -9
- package/dist/apis/undo.js +0 -42
- package/dist/apis/undoFriendRequest.d.ts +0 -2
- package/dist/apis/undoFriendRequest.js +0 -27
- package/dist/apis/updateActiveStatus.d.ts +0 -4
- package/dist/apis/updateActiveStatus.js +0 -27
- package/dist/apis/updateArchivedChatList.d.ts +0 -10
- package/dist/apis/updateArchivedChatList.js +0 -34
- package/dist/apis/updateAutoDeleteChat.d.ts +0 -9
- package/dist/apis/updateAutoDeleteChat.js +0 -40
- package/dist/apis/updateAutoReply.d.ts +0 -15
- package/dist/apis/updateAutoReply.js +0 -38
- package/dist/apis/updateBankAccount.d.ts +0 -9
- package/dist/apis/updateBankAccount.js +0 -31
- package/dist/apis/updateCatalog.d.ts +0 -11
- package/dist/apis/updateCatalog.js +0 -30
- package/dist/apis/updateGroupSettings.d.ts +0 -40
- package/dist/apis/updateGroupSettings.js +0 -43
- package/dist/apis/updateHiddenConversPin.d.ts +0 -2
- package/dist/apis/updateHiddenConversPin.js +0 -30
- package/dist/apis/updateLabels.d.ts +0 -15
- package/dist/apis/updateLabels.js +0 -34
- package/dist/apis/updateLang.d.ts +0 -6
- package/dist/apis/updateLang.js +0 -30
- package/dist/apis/updateProductCatalog.d.ts +0 -25
- package/dist/apis/updateProductCatalog.js +0 -51
- package/dist/apis/updateProfile.d.ts +0 -20
- package/dist/apis/updateProfile.js +0 -43
- package/dist/apis/updateProfileBio.d.ts +0 -2
- package/dist/apis/updateProfileBio.js +0 -27
- package/dist/apis/updateQuickMessage.d.ts +0 -11
- package/dist/apis/updateQuickMessage.js +0 -61
- package/dist/apis/updateSettings.d.ts +0 -16
- package/dist/apis/updateSettings.js +0 -90
- package/dist/apis/upgradeGroupToCommunity.d.ts +0 -2
- package/dist/apis/upgradeGroupToCommunity.js +0 -27
- package/dist/apis/uploadAttachment.d.ts +0 -50
- package/dist/apis/uploadAttachment.js +0 -202
- package/dist/apis/uploadProductPhoto.d.ts +0 -14
- package/dist/apis/uploadProductPhoto.js +0 -50
- package/dist/apis/votePoll.d.ts +0 -5
- package/dist/apis/votePoll.js +0 -29
- package/dist/cjs/apis/acceptFriendRequest.cjs +0 -33
- package/dist/cjs/apis/addGroupBlockedMember.cjs +0 -33
- package/dist/cjs/apis/addGroupDeputy.cjs +0 -35
- package/dist/cjs/apis/addPollOptions.cjs +0 -31
- package/dist/cjs/apis/addQuickMessage.cjs +0 -65
- package/dist/cjs/apis/addReaction.cjs +0 -313
- package/dist/cjs/apis/addUnreadMark.cjs +0 -68
- package/dist/cjs/apis/addUserToGroup.cjs +0 -39
- package/dist/cjs/apis/blockUser.cjs +0 -33
- package/dist/cjs/apis/blockViewFeed.cjs +0 -35
- package/dist/cjs/apis/cancelPullMobile.cjs +0 -38
- package/dist/cjs/apis/cancelVoiceCall.cjs +0 -47
- package/dist/cjs/apis/changeAccountAvatar.cjs +0 -57
- package/dist/cjs/apis/changeFriendAlias.cjs +0 -32
- package/dist/cjs/apis/changeGroupAvatar.cjs +0 -49
- package/dist/cjs/apis/changeGroupName.cjs +0 -37
- package/dist/cjs/apis/changeGroupOwner.cjs +0 -35
- package/dist/cjs/apis/createAutoReply.cjs +0 -42
- package/dist/cjs/apis/createBankAccount.cjs +0 -37
- package/dist/cjs/apis/createCatalog.cjs +0 -34
- package/dist/cjs/apis/createGroup.cjs +0 -48
- package/dist/cjs/apis/createNote.cjs +0 -52
- package/dist/cjs/apis/createPoll.cjs +0 -45
- package/dist/cjs/apis/createProductCatalog.cjs +0 -55
- package/dist/cjs/apis/createReminder.cjs +0 -79
- package/dist/cjs/apis/decryptGids.cjs +0 -35
- package/dist/cjs/apis/deleteAutoReply.cjs +0 -34
- package/dist/cjs/apis/deleteAvatar.cjs +0 -32
- package/dist/cjs/apis/deleteBankAccount.cjs +0 -37
- package/dist/cjs/apis/deleteCatalog.cjs +0 -33
- package/dist/cjs/apis/deleteChat.cjs +0 -66
- package/dist/cjs/apis/deleteGroupInviteBox.cjs +0 -32
- package/dist/cjs/apis/deleteMessage.cjs +0 -68
- package/dist/cjs/apis/deleteProductCatalog.cjs +0 -36
- package/dist/cjs/apis/disableGroupLink.cjs +0 -29
- package/dist/cjs/apis/disperseGroup.cjs +0 -33
- package/dist/cjs/apis/downloadTransferSync.cjs +0 -35
- package/dist/cjs/apis/editNote.cjs +0 -51
- package/dist/cjs/apis/editReminder.cjs +0 -77
- package/dist/cjs/apis/enableGroupLink.cjs +0 -30
- package/dist/cjs/apis/endVoiceCall.cjs +0 -45
- package/dist/cjs/apis/fetchAccountInfo.cjs +0 -15
- package/dist/cjs/apis/findUser.cjs +0 -58
- package/dist/cjs/apis/findUserByUsername.cjs +0 -43
- package/dist/cjs/apis/forwardMessage.cjs +0 -115
- package/dist/cjs/apis/getAliasList.cjs +0 -32
- package/dist/cjs/apis/getAllFriends.cjs +0 -50
- package/dist/cjs/apis/getAllGroups.cjs +0 -15
- package/dist/cjs/apis/getArchivedChatList.cjs +0 -28
- package/dist/cjs/apis/getAutoDeleteChat.cjs +0 -26
- package/dist/cjs/apis/getAutoReplyList.cjs +0 -29
- package/dist/cjs/apis/getAvatarList.cjs +0 -33
- package/dist/cjs/apis/getAvatarUrlProfile.cjs +0 -46
- package/dist/cjs/apis/getBizAccount.cjs +0 -32
- package/dist/cjs/apis/getCatalogList.cjs +0 -37
- package/dist/cjs/apis/getCloseFriends.cjs +0 -25
- package/dist/cjs/apis/getContext.cjs +0 -9
- package/dist/cjs/apis/getCookie.cjs +0 -14
- package/dist/cjs/apis/getFriendBoardList.cjs +0 -31
- package/dist/cjs/apis/getFriendOnlines.cjs +0 -40
- package/dist/cjs/apis/getFriendRecommendations.cjs +0 -32
- package/dist/cjs/apis/getFriendRequestStatus.cjs +0 -30
- package/dist/cjs/apis/getFullAvatar.cjs +0 -30
- package/dist/cjs/apis/getGroupBlockedMember.cjs +0 -34
- package/dist/cjs/apis/getGroupChatHistory.cjs +0 -81
- package/dist/cjs/apis/getGroupInfo.cjs +0 -37
- package/dist/cjs/apis/getGroupInviteBoxInfo.cjs +0 -43
- package/dist/cjs/apis/getGroupInviteBoxList.cjs +0 -36
- package/dist/cjs/apis/getGroupLinkDetail.cjs +0 -30
- package/dist/cjs/apis/getGroupLinkInfo.cjs +0 -33
- package/dist/cjs/apis/getGroupMembersInfo.cjs +0 -29
- package/dist/cjs/apis/getHiddenConversations.cjs +0 -28
- package/dist/cjs/apis/getLabels.cjs +0 -33
- package/dist/cjs/apis/getListBank.cjs +0 -25
- package/dist/cjs/apis/getListBankAccount.cjs +0 -32
- package/dist/cjs/apis/getListBoard.cjs +0 -61
- package/dist/cjs/apis/getListDevice.cjs +0 -27
- package/dist/cjs/apis/getListReminder.cjs +0 -63
- package/dist/cjs/apis/getMultiUsersByPhones.cjs +0 -55
- package/dist/cjs/apis/getMute.cjs +0 -27
- package/dist/cjs/apis/getNoisedIds.cjs +0 -72
- package/dist/cjs/apis/getOwnId.cjs +0 -9
- package/dist/cjs/apis/getPendingGroupMembers.cjs +0 -32
- package/dist/cjs/apis/getPinConversations.cjs +0 -27
- package/dist/cjs/apis/getPollDetail.cjs +0 -35
- package/dist/cjs/apis/getProductCatalogList.cjs +0 -38
- package/dist/cjs/apis/getQR.cjs +0 -34
- package/dist/cjs/apis/getQuickMessageList.cjs +0 -29
- package/dist/cjs/apis/getRelatedFriendGroup.cjs +0 -35
- package/dist/cjs/apis/getReminder.cjs +0 -30
- package/dist/cjs/apis/getReminderResponses.cjs +0 -29
- package/dist/cjs/apis/getSentFriendRequest.cjs +0 -29
- package/dist/cjs/apis/getSettings.cjs +0 -25
- package/dist/cjs/apis/getStickerCategoryDetail.cjs +0 -29
- package/dist/cjs/apis/getStickers.cjs +0 -45
- package/dist/cjs/apis/getStickersDetail.cjs +0 -45
- package/dist/cjs/apis/getSyncData.cjs +0 -108
- package/dist/cjs/apis/getUnreadMark.cjs +0 -35
- package/dist/cjs/apis/getUserInfo.cjs +0 -60
- package/dist/cjs/apis/inviteUserToGroups.cjs +0 -35
- package/dist/cjs/apis/joinGroupInviteBox.cjs +0 -30
- package/dist/cjs/apis/joinGroupLink.cjs +0 -32
- package/dist/cjs/apis/keepAlive.cjs +0 -27
- package/dist/cjs/apis/lastOnline.cjs +0 -31
- package/dist/cjs/apis/leaveGroup.cjs +0 -38
- package/dist/cjs/apis/listen.cjs +0 -591
- package/dist/cjs/apis/lockPoll.cjs +0 -33
- package/dist/cjs/apis/lostFocus.cjs +0 -28
- package/dist/cjs/apis/parseLink.cjs +0 -32
- package/dist/cjs/apis/preloadConversations.cjs +0 -94
- package/dist/cjs/apis/pullMobile.cjs +0 -43
- package/dist/cjs/apis/registerCatalog.cjs +0 -32
- package/dist/cjs/apis/rejectFriendRequest.cjs +0 -32
- package/dist/cjs/apis/removeFriend.cjs +0 -33
- package/dist/cjs/apis/removeFriendAlias.cjs +0 -29
- package/dist/cjs/apis/removeGroupBlockedMember.cjs +0 -33
- package/dist/cjs/apis/removeGroupDeputy.cjs +0 -35
- package/dist/cjs/apis/removeQuickMessage.cjs +0 -32
- package/dist/cjs/apis/removeReminder.cjs +0 -56
- package/dist/cjs/apis/removeUnreadMark.cjs +0 -66
- package/dist/cjs/apis/removeUserFromGroup.cjs +0 -39
- package/dist/cjs/apis/requestSyncFromPhone.cjs +0 -46
- package/dist/cjs/apis/resetHiddenConversPin.cjs +0 -25
- package/dist/cjs/apis/reuseAvatar.cjs +0 -31
- package/dist/cjs/apis/reviewPendingMemberRequest.cjs +0 -43
- package/dist/cjs/apis/scanURL.cjs +0 -33
- package/dist/cjs/apis/searchSticker.cjs +0 -33
- package/dist/cjs/apis/sendBankCard.cjs +0 -53
- package/dist/cjs/apis/sendCard.cjs +0 -75
- package/dist/cjs/apis/sendDeliveredEvent.cjs +0 -71
- package/dist/cjs/apis/sendFriendRequest.cjs +0 -44
- package/dist/cjs/apis/sendLink.cjs +0 -77
- package/dist/cjs/apis/sendMessage.cjs +0 -468
- package/dist/cjs/apis/sendReport.cjs +0 -69
- package/dist/cjs/apis/sendSeenEvent.cjs +0 -79
- package/dist/cjs/apis/sendSticker.cjs +0 -73
- package/dist/cjs/apis/sendTypingEvent.cjs +0 -49
- package/dist/cjs/apis/sendVideo.cjs +0 -134
- package/dist/cjs/apis/sendVoice.cjs +0 -89
- package/dist/cjs/apis/sendVoiceCall.cjs +0 -120
- package/dist/cjs/apis/setHiddenConversations.cjs +0 -55
- package/dist/cjs/apis/setMute.cjs +0 -83
- package/dist/cjs/apis/setPinnedConversations.cjs +0 -50
- package/dist/cjs/apis/sharePoll.cjs +0 -33
- package/dist/cjs/apis/unblockUser.cjs +0 -33
- package/dist/cjs/apis/undo.cjs +0 -58
- package/dist/cjs/apis/undoFriendRequest.cjs +0 -32
- package/dist/cjs/apis/updateActiveStatus.cjs +0 -32
- package/dist/cjs/apis/updateArchivedChatList.cjs +0 -39
- package/dist/cjs/apis/updateAutoDeleteChat.cjs +0 -56
- package/dist/cjs/apis/updateAutoReply.cjs +0 -43
- package/dist/cjs/apis/updateBankAccount.cjs +0 -36
- package/dist/cjs/apis/updateCatalog.cjs +0 -35
- package/dist/cjs/apis/updateGroupSettings.cjs +0 -48
- package/dist/cjs/apis/updateHiddenConversPin.cjs +0 -35
- package/dist/cjs/apis/updateLabels.cjs +0 -39
- package/dist/cjs/apis/updateLang.cjs +0 -35
- package/dist/cjs/apis/updateProductCatalog.cjs +0 -56
- package/dist/cjs/apis/updateProfile.cjs +0 -48
- package/dist/cjs/apis/updateProfileBio.cjs +0 -32
- package/dist/cjs/apis/updateQuickMessage.cjs +0 -66
- package/dist/cjs/apis/updateSettings.cjs +0 -95
- package/dist/cjs/apis/upgradeGroupToCommunity.cjs +0 -32
- package/dist/cjs/apis/uploadAttachment.cjs +0 -218
- package/dist/cjs/apis/uploadProductPhoto.cjs +0 -55
- package/dist/cjs/apis/votePoll.cjs +0 -34
- package/docs/INTEGRATION_GUIDE_SYNC_AND_CALL.md +0 -371
- package/docs/REA_REVERSE_ENGINEERING_PLAN.md +0 -140
- package/eslint.config.js +0 -21
- package/rollup.config.js +0 -28
package/dist/apis.d.ts
CHANGED
|
@@ -1,339 +1,666 @@
|
|
|
1
1
|
import { Listener } from "./apis/listen.js";
|
|
2
|
-
import { acceptFriendRequestFactory } from "./apis/acceptFriendRequest.js";
|
|
3
|
-
import { addGroupBlockedMemberFactory } from "./apis/addGroupBlockedMember.js";
|
|
4
|
-
import { addGroupDeputyFactory } from "./apis/addGroupDeputy.js";
|
|
5
|
-
import { addPollOptionsFactory } from "./apis/addPollOptions.js";
|
|
6
|
-
import { addQuickMessageFactory } from "./apis/addQuickMessage.js";
|
|
7
|
-
import { addReactionFactory } from "./apis/addReaction.js";
|
|
8
|
-
import { addUnreadMarkFactory } from "./apis/addUnreadMark.js";
|
|
9
|
-
import { addUserToGroupFactory } from "./apis/addUserToGroup.js";
|
|
10
|
-
import { blockUserFactory } from "./apis/blockUser.js";
|
|
11
|
-
import { blockViewFeedFactory } from "./apis/blockViewFeed.js";
|
|
12
|
-
import { cancelPullMobileFactory } from "./apis/cancelPullMobile.js";
|
|
13
|
-
import { cancelVoiceCallFactory } from "./apis/cancelVoiceCall.js";
|
|
14
|
-
import { changeAccountAvatarFactory } from "./apis/changeAccountAvatar.js";
|
|
15
|
-
import { changeFriendAliasFactory } from "./apis/changeFriendAlias.js";
|
|
16
|
-
import { changeGroupAvatarFactory } from "./apis/changeGroupAvatar.js";
|
|
17
|
-
import { changeGroupNameFactory } from "./apis/changeGroupName.js";
|
|
18
|
-
import { changeGroupOwnerFactory } from "./apis/changeGroupOwner.js";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
import {
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import {
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import {
|
|
148
|
-
import {
|
|
149
|
-
import {
|
|
150
|
-
import {
|
|
151
|
-
import {
|
|
152
|
-
import {
|
|
153
|
-
import {
|
|
154
|
-
import {
|
|
155
|
-
import {
|
|
156
|
-
import {
|
|
157
|
-
import {
|
|
158
|
-
import {
|
|
159
|
-
import {
|
|
160
|
-
import {
|
|
161
|
-
import {
|
|
162
|
-
import {
|
|
163
|
-
import {
|
|
164
|
-
import {
|
|
165
|
-
import {
|
|
166
|
-
import {
|
|
2
|
+
import { acceptFriendRequestFactory } from "./apis/friend/acceptFriendRequest.js";
|
|
3
|
+
import { addGroupBlockedMemberFactory } from "./apis/group/addGroupBlockedMember.js";
|
|
4
|
+
import { addGroupDeputyFactory } from "./apis/group/addGroupDeputy.js";
|
|
5
|
+
import { addPollOptionsFactory } from "./apis/board/addPollOptions.js";
|
|
6
|
+
import { addQuickMessageFactory } from "./apis/business/addQuickMessage.js";
|
|
7
|
+
import { addReactionFactory } from "./apis/chat/addReaction.js";
|
|
8
|
+
import { addUnreadMarkFactory } from "./apis/chat/addUnreadMark.js";
|
|
9
|
+
import { addUserToGroupFactory } from "./apis/group/addUserToGroup.js";
|
|
10
|
+
import { blockUserFactory } from "./apis/friend/blockUser.js";
|
|
11
|
+
import { blockViewFeedFactory } from "./apis/friend/blockViewFeed.js";
|
|
12
|
+
import { cancelPullMobileFactory } from "./apis/sync/cancelPullMobile.js";
|
|
13
|
+
import { cancelVoiceCallFactory } from "./apis/call/cancelVoiceCall.js";
|
|
14
|
+
import { changeAccountAvatarFactory } from "./apis/profile/changeAccountAvatar.js";
|
|
15
|
+
import { changeFriendAliasFactory } from "./apis/friend/changeFriendAlias.js";
|
|
16
|
+
import { changeGroupAvatarFactory } from "./apis/group/changeGroupAvatar.js";
|
|
17
|
+
import { changeGroupNameFactory } from "./apis/group/changeGroupName.js";
|
|
18
|
+
import { changeGroupOwnerFactory } from "./apis/group/changeGroupOwner.js";
|
|
19
|
+
import { clearUnreadFriendRequestsFactory } from "./apis/friend/clearUnreadFriendRequests.js";
|
|
20
|
+
import { createAutoReplyFactory } from "./apis/business/createAutoReply.js";
|
|
21
|
+
import { createBankAccountFactory } from "./apis/business/createBankAccount.js";
|
|
22
|
+
import { createCatalogFactory } from "./apis/business/createCatalog.js";
|
|
23
|
+
import { createGroupFactory } from "./apis/group/createGroup.js";
|
|
24
|
+
import { createNoteFactory } from "./apis/board/createNote.js";
|
|
25
|
+
import { createPollFactory } from "./apis/board/createPoll.js";
|
|
26
|
+
import { createProductCatalogFactory } from "./apis/business/createProductCatalog.js";
|
|
27
|
+
import { createReminderFactory } from "./apis/board/createReminder.js";
|
|
28
|
+
import { decryptGidsFactory } from "./apis/auth/decryptGids.js";
|
|
29
|
+
import { deleteAutoReplyFactory } from "./apis/business/deleteAutoReply.js";
|
|
30
|
+
import { deleteAvatarFactory } from "./apis/profile/deleteAvatar.js";
|
|
31
|
+
import { deleteBankAccountFactory } from "./apis/business/deleteBankAccount.js";
|
|
32
|
+
import { deleteCatalogFactory } from "./apis/business/deleteCatalog.js";
|
|
33
|
+
import { deleteChatFactory } from "./apis/chat/deleteChat.js";
|
|
34
|
+
import { deleteGroupInviteBoxFactory } from "./apis/group/deleteGroupInviteBox.js";
|
|
35
|
+
import { deleteMessageFactory } from "./apis/chat/deleteMessage.js";
|
|
36
|
+
import { deleteProductCatalogFactory } from "./apis/business/deleteProductCatalog.js";
|
|
37
|
+
import { disableGroupLinkFactory } from "./apis/group/disableGroupLink.js";
|
|
38
|
+
import { disperseGroupFactory } from "./apis/group/disperseGroup.js";
|
|
39
|
+
import { downloadTransferSyncFactory } from "./apis/sync/downloadTransferSync.js";
|
|
40
|
+
import { editNoteFactory } from "./apis/board/editNote.js";
|
|
41
|
+
import { editReminderFactory } from "./apis/board/editReminder.js";
|
|
42
|
+
import { enableGroupLinkFactory } from "./apis/group/enableGroupLink.js";
|
|
43
|
+
import { encryptGidsFactory } from "./apis/auth/encryptGids.js";
|
|
44
|
+
import { endVoiceCallFactory } from "./apis/call/endVoiceCall.js";
|
|
45
|
+
import { fetchAccountInfoFactory } from "./apis/profile/fetchAccountInfo.js";
|
|
46
|
+
import { findUserFactory } from "./apis/friend/findUser.js";
|
|
47
|
+
import { findUserByUsernameFactory } from "./apis/friend/findUserByUsername.js";
|
|
48
|
+
import { forwardMessageFactory } from "./apis/chat/forwardMessage.js";
|
|
49
|
+
import { getAliasListFactory } from "./apis/friend/getAliasList.js";
|
|
50
|
+
import { getAliasListV2Factory } from "./apis/friend/getAliasListV2.js";
|
|
51
|
+
import { getAllFriendsFactory } from "./apis/friend/getAllFriends.js";
|
|
52
|
+
import { getAllGroupsFactory } from "./apis/group/getAllGroups.js";
|
|
53
|
+
import { getArchivedChatListFactory } from "./apis/chat/getArchivedChatList.js";
|
|
54
|
+
import { getAutoDeleteChatFactory } from "./apis/chat/getAutoDeleteChat.js";
|
|
55
|
+
import { getAutoReplyListFactory } from "./apis/business/getAutoReplyList.js";
|
|
56
|
+
import { getAvatarListFactory } from "./apis/profile/getAvatarList.js";
|
|
57
|
+
import { getAvatarUrlProfileFactory } from "./apis/profile/getAvatarUrlProfile.js";
|
|
58
|
+
import { getBizAccountFactory } from "./apis/business/getBizAccount.js";
|
|
59
|
+
import { getBlockFriendsFactory } from "./apis/friend/getBlockFriends.js";
|
|
60
|
+
import { getCatalogListFactory } from "./apis/business/getCatalogList.js";
|
|
61
|
+
import { getCloseFriendsFactory } from "./apis/friend/getCloseFriends.js";
|
|
62
|
+
import { getCloudInfoFactory } from "./apis/zcloud/getCloudInfo.js";
|
|
63
|
+
import { getCloudSettingsFactory } from "./apis/zcloud/getCloudSettings.js";
|
|
64
|
+
import { getCloudViewerKeyFactory } from "./apis/zcloud/getCloudViewerKey.js";
|
|
65
|
+
import { getContextFactory } from "./apis/auth/getContext.js";
|
|
66
|
+
import { getConversationMediaFactory } from "./apis/media/getConversationMedia.js";
|
|
67
|
+
import { getCookieFactory } from "./apis/auth/getCookie.js";
|
|
68
|
+
import { getEmojiStatusConfigFactory } from "./apis/profile/getEmojiStatusConfig.js";
|
|
69
|
+
import { getExtraFriendInfoFactory } from "./apis/friend/getExtraFriendInfo.js";
|
|
70
|
+
import { getExtraGroupInfoFactory } from "./apis/group/getExtraGroupInfo.js";
|
|
71
|
+
import { getFamilyProfileFactory } from "./apis/zcloud/getFamilyProfile.js";
|
|
72
|
+
import { getFamilyUsageFactory } from "./apis/zcloud/getFamilyUsage.js";
|
|
73
|
+
import { getFamilyViewerKeyFactory } from "./apis/zcloud/getFamilyViewerKey.js";
|
|
74
|
+
import { getFriendBoardListFactory } from "./apis/friend/getFriendBoardList.js";
|
|
75
|
+
import { getFriendOnlinesFactory } from "./apis/friend/getFriendOnlines.js";
|
|
76
|
+
import { getFriendRecommendationsFactory } from "./apis/friend/getFriendRecommendations.js";
|
|
77
|
+
import { getFriendRequestStatusFactory } from "./apis/friend/getFriendRequestStatus.js";
|
|
78
|
+
import { getFriendsEmojiStatusFactory } from "./apis/friend/getFriendsEmojiStatus.js";
|
|
79
|
+
import { getFullAvatarFactory } from "./apis/profile/getFullAvatar.js";
|
|
80
|
+
import { getGroupBlockedMemberFactory } from "./apis/group/getGroupBlockedMember.js";
|
|
81
|
+
import { getGroupChatHistoryFactory } from "./apis/group/getGroupChatHistory.js";
|
|
82
|
+
import { getGroupCloudMessageJumpFactory } from "./apis/group/getGroupCloudMessageJump.js";
|
|
83
|
+
import { getGroupInfoFactory } from "./apis/group/getGroupInfo.js";
|
|
84
|
+
import { getGroupInviteBoxInfoFactory } from "./apis/group/getGroupInviteBoxInfo.js";
|
|
85
|
+
import { getGroupInviteBoxListFactory } from "./apis/group/getGroupInviteBoxList.js";
|
|
86
|
+
import { getGroupLinkDetailFactory } from "./apis/group/getGroupLinkDetail.js";
|
|
87
|
+
import { getGroupLinkInfoFactory } from "./apis/group/getGroupLinkInfo.js";
|
|
88
|
+
import { getGroupMembersInfoFactory } from "./apis/group/getGroupMembersInfo.js";
|
|
89
|
+
import { getHiddenConversationsFactory } from "./apis/chat/getHiddenConversations.js";
|
|
90
|
+
import { getLabelsFactory } from "./apis/business/getLabels.js";
|
|
91
|
+
import { getLastReadContactTabFactory } from "./apis/friend/getLastReadContactTab.js";
|
|
92
|
+
import { getLastSeenFactory } from "./apis/chat/getLastSeen.js";
|
|
93
|
+
import { getLastSeenReactionFactory } from "./apis/chat/getLastSeenReaction.js";
|
|
94
|
+
import { getListBankFactory } from "./apis/business/getListBank.js";
|
|
95
|
+
import { getListBankAccountFactory } from "./apis/business/getListBankAccount.js";
|
|
96
|
+
import { getListBoardFactory } from "./apis/board/getListBoard.js";
|
|
97
|
+
import { getListDeviceFactory } from "./apis/auth/getListDevice.js";
|
|
98
|
+
import { getListPinTopicsFactory } from "./apis/board/getListPinTopics.js";
|
|
99
|
+
import { getListReminderFactory } from "./apis/board/getListReminder.js";
|
|
100
|
+
import { getMediaStorePreviewFactory } from "./apis/media/getMediaStorePreview.js";
|
|
101
|
+
import { getMiniProfileFactory } from "./apis/profile/getMiniProfile.js";
|
|
102
|
+
import { getMultiUsersByPhonesFactory } from "./apis/friend/getMultiUsersByPhones.js";
|
|
103
|
+
import { getMuteFactory } from "./apis/chat/getMute.js";
|
|
104
|
+
import { getNoisedIdsFactory } from "./apis/auth/getNoisedIds.js";
|
|
105
|
+
import { getOwnIdFactory } from "./apis/auth/getOwnId.js";
|
|
106
|
+
import { getPendingGroupMembersFactory } from "./apis/group/getPendingGroupMembers.js";
|
|
107
|
+
import { getPersonalizedStickerListFactory } from "./apis/sticker/getPersonalizedStickerList.js";
|
|
108
|
+
import { getPhonebookV2Factory } from "./apis/friend/getPhonebookV2.js";
|
|
109
|
+
import { getPinConversationsFactory } from "./apis/chat/getPinConversations.js";
|
|
110
|
+
import { getPollDetailFactory } from "./apis/board/getPollDetail.js";
|
|
111
|
+
import { getProductCatalogListFactory } from "./apis/business/getProductCatalogList.js";
|
|
112
|
+
import { getProfileRankFactory } from "./apis/profile/getProfileRank.js";
|
|
113
|
+
import { getProfileVerificationStatusFactory } from "./apis/profile/getProfileVerificationStatus.js";
|
|
114
|
+
import { getQRFactory } from "./apis/auth/getQR.js";
|
|
115
|
+
import { getQuickMessageListFactory } from "./apis/business/getQuickMessageList.js";
|
|
116
|
+
import { getQuotaCommunityFactory } from "./apis/group/getQuotaCommunity.js";
|
|
117
|
+
import { getRecentSearchListFactory } from "./apis/chat/getRecentSearchList.js";
|
|
118
|
+
import { getRelatedFriendGroupFactory } from "./apis/group/getRelatedFriendGroup.js";
|
|
119
|
+
import { getReminderFactory } from "./apis/board/getReminder.js";
|
|
120
|
+
import { getReminderResponsesFactory } from "./apis/board/getReminderResponses.js";
|
|
121
|
+
import { getSentFriendRequestFactory } from "./apis/friend/getSentFriendRequest.js";
|
|
122
|
+
import { getSettingsFactory } from "./apis/profile/getSettings.js";
|
|
123
|
+
import { getStickerCategoriesV2Factory } from "./apis/sticker/getStickerCategoriesV2.js";
|
|
124
|
+
import { getStickerCategoryDataFactory } from "./apis/sticker/getStickerCategoryData.js";
|
|
125
|
+
import { getStickerCategoryDetailFactory } from "./apis/sticker/getStickerCategoryDetail.js";
|
|
126
|
+
import { getStickerHelloFactory } from "./apis/sticker/getStickerHello.js";
|
|
127
|
+
import { getStickersFactory } from "./apis/sticker/getStickers.js";
|
|
128
|
+
import { getStickersDetailFactory } from "./apis/sticker/getStickersDetail.js";
|
|
129
|
+
import { getStickerSuggestionFactory } from "./apis/sticker/getStickerSuggestion.js";
|
|
130
|
+
import { getStickerSuggestKeywordsFactory } from "./apis/sticker/getStickerSuggestKeywords.js";
|
|
131
|
+
import { getSyncDataFactory } from "./apis/sync/getSyncData.js";
|
|
132
|
+
import { getUnreadMarkFactory } from "./apis/chat/getUnreadMark.js";
|
|
133
|
+
import { getUsageMyCloudFactory } from "./apis/zcloud/getUsageMyCloud.js";
|
|
134
|
+
import { getUsageZCloudFactory } from "./apis/zcloud/getUsageZCloud.js";
|
|
135
|
+
import { getUserInfoFactory } from "./apis/profile/getUserInfo.js";
|
|
136
|
+
import { inviteUserToGroupsFactory } from "./apis/group/inviteUserToGroups.js";
|
|
137
|
+
import { joinGroupInviteBoxFactory } from "./apis/group/joinGroupInviteBox.js";
|
|
138
|
+
import { joinGroupLinkFactory } from "./apis/group/joinGroupLink.js";
|
|
139
|
+
import { keepAliveFactory } from "./apis/auth/keepAlive.js";
|
|
140
|
+
import { lastOnlineFactory } from "./apis/friend/lastOnline.js";
|
|
141
|
+
import { leaveGroupFactory } from "./apis/group/leaveGroup.js";
|
|
142
|
+
import { lockPollFactory } from "./apis/board/lockPoll.js";
|
|
143
|
+
import { lostFocusFactory } from "./apis/auth/lostFocus.js";
|
|
144
|
+
import { parseLinkFactory } from "./apis/chat/parseLink.js";
|
|
145
|
+
import { preloadConversationsFactory } from "./apis/chat/preloadConversations.js";
|
|
146
|
+
import { pullMobileFactory } from "./apis/sync/pullMobile.js";
|
|
147
|
+
import { readContactTabFactory } from "./apis/friend/readContactTab.js";
|
|
148
|
+
import { registerCatalogFactory } from "./apis/business/registerCatalog.js";
|
|
149
|
+
import { rejectFriendRequestFactory } from "./apis/friend/rejectFriendRequest.js";
|
|
150
|
+
import { removeConversationMediaFactory } from "./apis/media/removeConversationMedia.js";
|
|
151
|
+
import { removeFriendFactory } from "./apis/friend/removeFriend.js";
|
|
152
|
+
import { removeFriendAliasFactory } from "./apis/friend/removeFriendAlias.js";
|
|
153
|
+
import { removeGroupBlockedMemberFactory } from "./apis/group/removeGroupBlockedMember.js";
|
|
154
|
+
import { removeGroupDeputyFactory } from "./apis/group/removeGroupDeputy.js";
|
|
155
|
+
import { removeQuickMessageFactory } from "./apis/business/removeQuickMessage.js";
|
|
156
|
+
import { removeReminderFactory } from "./apis/board/removeReminder.js";
|
|
157
|
+
import { removeUnreadMarkFactory } from "./apis/chat/removeUnreadMark.js";
|
|
158
|
+
import { removeUserFromGroupFactory } from "./apis/group/removeUserFromGroup.js";
|
|
159
|
+
import { requestSyncFromPhoneFactory } from "./apis/sync/requestSyncFromPhone.js";
|
|
160
|
+
import { resetHiddenConversPinFactory } from "./apis/chat/resetHiddenConversPin.js";
|
|
161
|
+
import { reuseAvatarFactory } from "./apis/profile/reuseAvatar.js";
|
|
162
|
+
import { reviewPendingMemberRequestFactory } from "./apis/group/reviewPendingMemberRequest.js";
|
|
163
|
+
import { scanURLFactory } from "./apis/auth/scanURL.js";
|
|
164
|
+
import { searchStickerFactory } from "./apis/sticker/searchSticker.js";
|
|
165
|
+
import { sendBankCardFactory } from "./apis/chat/sendBankCard.js";
|
|
166
|
+
import { sendCardFactory } from "./apis/chat/sendCard.js";
|
|
167
|
+
import { sendDeliveredEventFactory } from "./apis/chat/sendDeliveredEvent.js";
|
|
168
|
+
import { sendFriendRequestFactory } from "./apis/friend/sendFriendRequest.js";
|
|
169
|
+
import { sendLinkFactory } from "./apis/chat/sendLink.js";
|
|
170
|
+
import { sendMessageFactory } from "./apis/chat/sendMessage.js";
|
|
171
|
+
import { sendReportFactory } from "./apis/chat/sendReport.js";
|
|
172
|
+
import { sendSeenEventFactory } from "./apis/chat/sendSeenEvent.js";
|
|
173
|
+
import { sendStickerFactory } from "./apis/chat/sendSticker.js";
|
|
174
|
+
import { sendTypingEventFactory } from "./apis/chat/sendTypingEvent.js";
|
|
175
|
+
import { sendVideoFactory } from "./apis/chat/sendVideo.js";
|
|
176
|
+
import { sendVoiceFactory } from "./apis/chat/sendVoice.js";
|
|
177
|
+
import { sendVoiceCallFactory } from "./apis/call/sendVoiceCall.js";
|
|
178
|
+
import { setHiddenConversationsFactory } from "./apis/chat/setHiddenConversations.js";
|
|
179
|
+
import { setMuteFactory } from "./apis/chat/setMute.js";
|
|
180
|
+
import { setPinnedConversationsFactory } from "./apis/chat/setPinnedConversations.js";
|
|
181
|
+
import { sharePollFactory } from "./apis/board/sharePoll.js";
|
|
182
|
+
import { unblockUserFactory } from "./apis/friend/unblockUser.js";
|
|
183
|
+
import { undoFactory } from "./apis/chat/undo.js";
|
|
184
|
+
import { undoFriendRequestFactory } from "./apis/friend/undoFriendRequest.js";
|
|
185
|
+
import { undoMultiMessageFactory } from "./apis/chat/undoMultiMessage.js";
|
|
186
|
+
import { updateActiveStatusFactory } from "./apis/auth/updateActiveStatus.js";
|
|
187
|
+
import { updateArchivedChatListFactory } from "./apis/chat/updateArchivedChatList.js";
|
|
188
|
+
import { updateAutoDeleteChatFactory } from "./apis/chat/updateAutoDeleteChat.js";
|
|
189
|
+
import { updateAutoReplyFactory } from "./apis/business/updateAutoReply.js";
|
|
190
|
+
import { updateBankAccountFactory } from "./apis/business/updateBankAccount.js";
|
|
191
|
+
import { updateCatalogFactory } from "./apis/business/updateCatalog.js";
|
|
192
|
+
import { updateGroupSettingsFactory } from "./apis/group/updateGroupSettings.js";
|
|
193
|
+
import { updateHiddenConversPinFactory } from "./apis/chat/updateHiddenConversPin.js";
|
|
194
|
+
import { updateLabelsFactory } from "./apis/business/updateLabels.js";
|
|
195
|
+
import { updateLangFactory } from "./apis/auth/updateLang.js";
|
|
196
|
+
import { updateProductCatalogFactory } from "./apis/business/updateProductCatalog.js";
|
|
197
|
+
import { updateProfileFactory } from "./apis/profile/updateProfile.js";
|
|
198
|
+
import { updateProfileBioFactory } from "./apis/profile/updateProfileBio.js";
|
|
199
|
+
import { updateQuickMessageFactory } from "./apis/business/updateQuickMessage.js";
|
|
200
|
+
import { updateRecentSearchFactory } from "./apis/chat/updateRecentSearch.js";
|
|
201
|
+
import { updateSettingsFactory } from "./apis/profile/updateSettings.js";
|
|
202
|
+
import { upgradeGroupToCommunityFactory } from "./apis/group/upgradeGroupToCommunity.js";
|
|
203
|
+
import { uploadAttachmentFactory } from "./apis/media/uploadAttachment.js";
|
|
204
|
+
import { uploadProductPhotoFactory } from "./apis/business/uploadProductPhoto.js";
|
|
205
|
+
import { verifyCloudMediaFactory } from "./apis/zcloud/verifyCloudMedia.js";
|
|
206
|
+
import { voiceToTextFactory } from "./apis/media/voiceToText.js";
|
|
207
|
+
import { votePollFactory } from "./apis/board/votePoll.js";
|
|
167
208
|
import { customFactory } from "./apis/custom.js";
|
|
168
209
|
import type { ZPWServiceMap, ContextSession } from "./context.js";
|
|
210
|
+
export type AuthDomainAPI = {
|
|
211
|
+
readonly decryptGids: ReturnType<typeof decryptGidsFactory>;
|
|
212
|
+
readonly encryptGids: ReturnType<typeof encryptGidsFactory>;
|
|
213
|
+
readonly getContext: ReturnType<typeof getContextFactory>;
|
|
214
|
+
readonly getCookie: ReturnType<typeof getCookieFactory>;
|
|
215
|
+
readonly getListDevice: ReturnType<typeof getListDeviceFactory>;
|
|
216
|
+
readonly getNoisedIds: ReturnType<typeof getNoisedIdsFactory>;
|
|
217
|
+
readonly getOwnId: ReturnType<typeof getOwnIdFactory>;
|
|
218
|
+
readonly getQR: ReturnType<typeof getQRFactory>;
|
|
219
|
+
readonly keepAlive: ReturnType<typeof keepAliveFactory>;
|
|
220
|
+
readonly lostFocus: ReturnType<typeof lostFocusFactory>;
|
|
221
|
+
readonly scanURL: ReturnType<typeof scanURLFactory>;
|
|
222
|
+
readonly updateActiveStatus: ReturnType<typeof updateActiveStatusFactory>;
|
|
223
|
+
readonly updateLang: ReturnType<typeof updateLangFactory>;
|
|
224
|
+
};
|
|
225
|
+
export type BoardDomainAPI = {
|
|
226
|
+
readonly addPollOptions: ReturnType<typeof addPollOptionsFactory>;
|
|
227
|
+
readonly createNote: ReturnType<typeof createNoteFactory>;
|
|
228
|
+
readonly createPoll: ReturnType<typeof createPollFactory>;
|
|
229
|
+
readonly createReminder: ReturnType<typeof createReminderFactory>;
|
|
230
|
+
readonly editNote: ReturnType<typeof editNoteFactory>;
|
|
231
|
+
readonly editReminder: ReturnType<typeof editReminderFactory>;
|
|
232
|
+
readonly getListBoard: ReturnType<typeof getListBoardFactory>;
|
|
233
|
+
readonly getListPinTopics: ReturnType<typeof getListPinTopicsFactory>;
|
|
234
|
+
readonly getListReminder: ReturnType<typeof getListReminderFactory>;
|
|
235
|
+
readonly getPollDetail: ReturnType<typeof getPollDetailFactory>;
|
|
236
|
+
readonly getReminder: ReturnType<typeof getReminderFactory>;
|
|
237
|
+
readonly getReminderResponses: ReturnType<typeof getReminderResponsesFactory>;
|
|
238
|
+
readonly lockPoll: ReturnType<typeof lockPollFactory>;
|
|
239
|
+
readonly removeReminder: ReturnType<typeof removeReminderFactory>;
|
|
240
|
+
readonly sharePoll: ReturnType<typeof sharePollFactory>;
|
|
241
|
+
readonly votePoll: ReturnType<typeof votePollFactory>;
|
|
242
|
+
};
|
|
243
|
+
export type BusinessDomainAPI = {
|
|
244
|
+
readonly addQuickMessage: ReturnType<typeof addQuickMessageFactory>;
|
|
245
|
+
readonly createAutoReply: ReturnType<typeof createAutoReplyFactory>;
|
|
246
|
+
readonly createBankAccount: ReturnType<typeof createBankAccountFactory>;
|
|
247
|
+
readonly createCatalog: ReturnType<typeof createCatalogFactory>;
|
|
248
|
+
readonly createProductCatalog: ReturnType<typeof createProductCatalogFactory>;
|
|
249
|
+
readonly deleteAutoReply: ReturnType<typeof deleteAutoReplyFactory>;
|
|
250
|
+
readonly deleteBankAccount: ReturnType<typeof deleteBankAccountFactory>;
|
|
251
|
+
readonly deleteCatalog: ReturnType<typeof deleteCatalogFactory>;
|
|
252
|
+
readonly deleteProductCatalog: ReturnType<typeof deleteProductCatalogFactory>;
|
|
253
|
+
readonly getAutoReplyList: ReturnType<typeof getAutoReplyListFactory>;
|
|
254
|
+
readonly getBizAccount: ReturnType<typeof getBizAccountFactory>;
|
|
255
|
+
readonly getCatalogList: ReturnType<typeof getCatalogListFactory>;
|
|
256
|
+
readonly getLabels: ReturnType<typeof getLabelsFactory>;
|
|
257
|
+
readonly getListBank: ReturnType<typeof getListBankFactory>;
|
|
258
|
+
readonly getListBankAccount: ReturnType<typeof getListBankAccountFactory>;
|
|
259
|
+
readonly getProductCatalogList: ReturnType<typeof getProductCatalogListFactory>;
|
|
260
|
+
readonly getQuickMessageList: ReturnType<typeof getQuickMessageListFactory>;
|
|
261
|
+
readonly registerCatalog: ReturnType<typeof registerCatalogFactory>;
|
|
262
|
+
readonly removeQuickMessage: ReturnType<typeof removeQuickMessageFactory>;
|
|
263
|
+
readonly updateAutoReply: ReturnType<typeof updateAutoReplyFactory>;
|
|
264
|
+
readonly updateBankAccount: ReturnType<typeof updateBankAccountFactory>;
|
|
265
|
+
readonly updateCatalog: ReturnType<typeof updateCatalogFactory>;
|
|
266
|
+
readonly updateLabels: ReturnType<typeof updateLabelsFactory>;
|
|
267
|
+
readonly updateProductCatalog: ReturnType<typeof updateProductCatalogFactory>;
|
|
268
|
+
readonly updateQuickMessage: ReturnType<typeof updateQuickMessageFactory>;
|
|
269
|
+
readonly uploadProductPhoto: ReturnType<typeof uploadProductPhotoFactory>;
|
|
270
|
+
};
|
|
271
|
+
export type CallDomainAPI = {
|
|
272
|
+
readonly cancelVoiceCall: ReturnType<typeof cancelVoiceCallFactory>;
|
|
273
|
+
readonly endVoiceCall: ReturnType<typeof endVoiceCallFactory>;
|
|
274
|
+
readonly sendVoiceCall: ReturnType<typeof sendVoiceCallFactory>;
|
|
275
|
+
};
|
|
276
|
+
export type ChatDomainAPI = {
|
|
277
|
+
readonly addReaction: ReturnType<typeof addReactionFactory>;
|
|
278
|
+
readonly addUnreadMark: ReturnType<typeof addUnreadMarkFactory>;
|
|
279
|
+
readonly deleteChat: ReturnType<typeof deleteChatFactory>;
|
|
280
|
+
readonly deleteMessage: ReturnType<typeof deleteMessageFactory>;
|
|
281
|
+
readonly forwardMessage: ReturnType<typeof forwardMessageFactory>;
|
|
282
|
+
readonly getArchivedChatList: ReturnType<typeof getArchivedChatListFactory>;
|
|
283
|
+
readonly getAutoDeleteChat: ReturnType<typeof getAutoDeleteChatFactory>;
|
|
284
|
+
readonly getHiddenConversations: ReturnType<typeof getHiddenConversationsFactory>;
|
|
285
|
+
readonly getLastSeen: ReturnType<typeof getLastSeenFactory>;
|
|
286
|
+
readonly getLastSeenReaction: ReturnType<typeof getLastSeenReactionFactory>;
|
|
287
|
+
readonly getMute: ReturnType<typeof getMuteFactory>;
|
|
288
|
+
readonly getPinConversations: ReturnType<typeof getPinConversationsFactory>;
|
|
289
|
+
readonly getRecentSearchList: ReturnType<typeof getRecentSearchListFactory>;
|
|
290
|
+
readonly getUnreadMark: ReturnType<typeof getUnreadMarkFactory>;
|
|
291
|
+
readonly parseLink: ReturnType<typeof parseLinkFactory>;
|
|
292
|
+
readonly preloadConversations: ReturnType<typeof preloadConversationsFactory>;
|
|
293
|
+
readonly removeUnreadMark: ReturnType<typeof removeUnreadMarkFactory>;
|
|
294
|
+
readonly resetHiddenConversPin: ReturnType<typeof resetHiddenConversPinFactory>;
|
|
295
|
+
readonly sendBankCard: ReturnType<typeof sendBankCardFactory>;
|
|
296
|
+
readonly sendCard: ReturnType<typeof sendCardFactory>;
|
|
297
|
+
readonly sendDeliveredEvent: ReturnType<typeof sendDeliveredEventFactory>;
|
|
298
|
+
readonly sendLink: ReturnType<typeof sendLinkFactory>;
|
|
299
|
+
readonly sendMessage: ReturnType<typeof sendMessageFactory>;
|
|
300
|
+
readonly sendReport: ReturnType<typeof sendReportFactory>;
|
|
301
|
+
readonly sendSeenEvent: ReturnType<typeof sendSeenEventFactory>;
|
|
302
|
+
readonly sendSticker: ReturnType<typeof sendStickerFactory>;
|
|
303
|
+
readonly sendTypingEvent: ReturnType<typeof sendTypingEventFactory>;
|
|
304
|
+
readonly sendVideo: ReturnType<typeof sendVideoFactory>;
|
|
305
|
+
readonly sendVoice: ReturnType<typeof sendVoiceFactory>;
|
|
306
|
+
readonly setHiddenConversations: ReturnType<typeof setHiddenConversationsFactory>;
|
|
307
|
+
readonly setMute: ReturnType<typeof setMuteFactory>;
|
|
308
|
+
readonly setPinnedConversations: ReturnType<typeof setPinnedConversationsFactory>;
|
|
309
|
+
readonly undo: ReturnType<typeof undoFactory>;
|
|
310
|
+
readonly undoMultiMessage: ReturnType<typeof undoMultiMessageFactory>;
|
|
311
|
+
readonly updateArchivedChatList: ReturnType<typeof updateArchivedChatListFactory>;
|
|
312
|
+
readonly updateAutoDeleteChat: ReturnType<typeof updateAutoDeleteChatFactory>;
|
|
313
|
+
readonly updateHiddenConversPin: ReturnType<typeof updateHiddenConversPinFactory>;
|
|
314
|
+
readonly updateRecentSearch: ReturnType<typeof updateRecentSearchFactory>;
|
|
315
|
+
};
|
|
316
|
+
export type FriendDomainAPI = {
|
|
317
|
+
readonly acceptFriendRequest: ReturnType<typeof acceptFriendRequestFactory>;
|
|
318
|
+
readonly blockUser: ReturnType<typeof blockUserFactory>;
|
|
319
|
+
readonly blockViewFeed: ReturnType<typeof blockViewFeedFactory>;
|
|
320
|
+
readonly changeFriendAlias: ReturnType<typeof changeFriendAliasFactory>;
|
|
321
|
+
readonly clearUnreadFriendRequests: ReturnType<typeof clearUnreadFriendRequestsFactory>;
|
|
322
|
+
readonly findUser: ReturnType<typeof findUserFactory>;
|
|
323
|
+
readonly findUserByUsername: ReturnType<typeof findUserByUsernameFactory>;
|
|
324
|
+
readonly getAliasList: ReturnType<typeof getAliasListFactory>;
|
|
325
|
+
readonly getAliasListV2: ReturnType<typeof getAliasListV2Factory>;
|
|
326
|
+
readonly getAllFriends: ReturnType<typeof getAllFriendsFactory>;
|
|
327
|
+
readonly getBlockFriends: ReturnType<typeof getBlockFriendsFactory>;
|
|
328
|
+
readonly getCloseFriends: ReturnType<typeof getCloseFriendsFactory>;
|
|
329
|
+
readonly getExtraFriendInfo: ReturnType<typeof getExtraFriendInfoFactory>;
|
|
330
|
+
readonly getFriendBoardList: ReturnType<typeof getFriendBoardListFactory>;
|
|
331
|
+
readonly getFriendOnlines: ReturnType<typeof getFriendOnlinesFactory>;
|
|
332
|
+
readonly getFriendRecommendations: ReturnType<typeof getFriendRecommendationsFactory>;
|
|
333
|
+
readonly getFriendRequestStatus: ReturnType<typeof getFriendRequestStatusFactory>;
|
|
334
|
+
readonly getFriendsEmojiStatus: ReturnType<typeof getFriendsEmojiStatusFactory>;
|
|
335
|
+
readonly getLastReadContactTab: ReturnType<typeof getLastReadContactTabFactory>;
|
|
336
|
+
readonly getMultiUsersByPhones: ReturnType<typeof getMultiUsersByPhonesFactory>;
|
|
337
|
+
readonly getPhonebookV2: ReturnType<typeof getPhonebookV2Factory>;
|
|
338
|
+
readonly getSentFriendRequest: ReturnType<typeof getSentFriendRequestFactory>;
|
|
339
|
+
readonly lastOnline: ReturnType<typeof lastOnlineFactory>;
|
|
340
|
+
readonly readContactTab: ReturnType<typeof readContactTabFactory>;
|
|
341
|
+
readonly rejectFriendRequest: ReturnType<typeof rejectFriendRequestFactory>;
|
|
342
|
+
readonly removeFriend: ReturnType<typeof removeFriendFactory>;
|
|
343
|
+
readonly removeFriendAlias: ReturnType<typeof removeFriendAliasFactory>;
|
|
344
|
+
readonly sendFriendRequest: ReturnType<typeof sendFriendRequestFactory>;
|
|
345
|
+
readonly unblockUser: ReturnType<typeof unblockUserFactory>;
|
|
346
|
+
readonly undoFriendRequest: ReturnType<typeof undoFriendRequestFactory>;
|
|
347
|
+
};
|
|
348
|
+
export type GroupDomainAPI = {
|
|
349
|
+
readonly addGroupBlockedMember: ReturnType<typeof addGroupBlockedMemberFactory>;
|
|
350
|
+
readonly addGroupDeputy: ReturnType<typeof addGroupDeputyFactory>;
|
|
351
|
+
readonly addUserToGroup: ReturnType<typeof addUserToGroupFactory>;
|
|
352
|
+
readonly changeGroupAvatar: ReturnType<typeof changeGroupAvatarFactory>;
|
|
353
|
+
readonly changeGroupName: ReturnType<typeof changeGroupNameFactory>;
|
|
354
|
+
readonly changeGroupOwner: ReturnType<typeof changeGroupOwnerFactory>;
|
|
355
|
+
readonly createGroup: ReturnType<typeof createGroupFactory>;
|
|
356
|
+
readonly deleteGroupInviteBox: ReturnType<typeof deleteGroupInviteBoxFactory>;
|
|
357
|
+
readonly disableGroupLink: ReturnType<typeof disableGroupLinkFactory>;
|
|
358
|
+
readonly disperseGroup: ReturnType<typeof disperseGroupFactory>;
|
|
359
|
+
readonly enableGroupLink: ReturnType<typeof enableGroupLinkFactory>;
|
|
360
|
+
readonly getAllGroups: ReturnType<typeof getAllGroupsFactory>;
|
|
361
|
+
readonly getExtraGroupInfo: ReturnType<typeof getExtraGroupInfoFactory>;
|
|
362
|
+
readonly getGroupBlockedMember: ReturnType<typeof getGroupBlockedMemberFactory>;
|
|
363
|
+
readonly getGroupChatHistory: ReturnType<typeof getGroupChatHistoryFactory>;
|
|
364
|
+
readonly getGroupCloudMessageJump: ReturnType<typeof getGroupCloudMessageJumpFactory>;
|
|
365
|
+
readonly getGroupInfo: ReturnType<typeof getGroupInfoFactory>;
|
|
366
|
+
readonly getGroupInviteBoxInfo: ReturnType<typeof getGroupInviteBoxInfoFactory>;
|
|
367
|
+
readonly getGroupInviteBoxList: ReturnType<typeof getGroupInviteBoxListFactory>;
|
|
368
|
+
readonly getGroupLinkDetail: ReturnType<typeof getGroupLinkDetailFactory>;
|
|
369
|
+
readonly getGroupLinkInfo: ReturnType<typeof getGroupLinkInfoFactory>;
|
|
370
|
+
readonly getGroupMembersInfo: ReturnType<typeof getGroupMembersInfoFactory>;
|
|
371
|
+
readonly getPendingGroupMembers: ReturnType<typeof getPendingGroupMembersFactory>;
|
|
372
|
+
readonly getQuotaCommunity: ReturnType<typeof getQuotaCommunityFactory>;
|
|
373
|
+
readonly getRelatedFriendGroup: ReturnType<typeof getRelatedFriendGroupFactory>;
|
|
374
|
+
readonly inviteUserToGroups: ReturnType<typeof inviteUserToGroupsFactory>;
|
|
375
|
+
readonly joinGroupInviteBox: ReturnType<typeof joinGroupInviteBoxFactory>;
|
|
376
|
+
readonly joinGroupLink: ReturnType<typeof joinGroupLinkFactory>;
|
|
377
|
+
readonly leaveGroup: ReturnType<typeof leaveGroupFactory>;
|
|
378
|
+
readonly removeGroupBlockedMember: ReturnType<typeof removeGroupBlockedMemberFactory>;
|
|
379
|
+
readonly removeGroupDeputy: ReturnType<typeof removeGroupDeputyFactory>;
|
|
380
|
+
readonly removeUserFromGroup: ReturnType<typeof removeUserFromGroupFactory>;
|
|
381
|
+
readonly reviewPendingMemberRequest: ReturnType<typeof reviewPendingMemberRequestFactory>;
|
|
382
|
+
readonly updateGroupSettings: ReturnType<typeof updateGroupSettingsFactory>;
|
|
383
|
+
readonly upgradeGroupToCommunity: ReturnType<typeof upgradeGroupToCommunityFactory>;
|
|
384
|
+
};
|
|
385
|
+
export type MediaDomainAPI = {
|
|
386
|
+
readonly getConversationMedia: ReturnType<typeof getConversationMediaFactory>;
|
|
387
|
+
readonly getMediaStorePreview: ReturnType<typeof getMediaStorePreviewFactory>;
|
|
388
|
+
readonly removeConversationMedia: ReturnType<typeof removeConversationMediaFactory>;
|
|
389
|
+
readonly uploadAttachment: ReturnType<typeof uploadAttachmentFactory>;
|
|
390
|
+
readonly voiceToText: ReturnType<typeof voiceToTextFactory>;
|
|
391
|
+
};
|
|
392
|
+
export type ProfileDomainAPI = {
|
|
393
|
+
readonly changeAccountAvatar: ReturnType<typeof changeAccountAvatarFactory>;
|
|
394
|
+
readonly deleteAvatar: ReturnType<typeof deleteAvatarFactory>;
|
|
395
|
+
readonly fetchAccountInfo: ReturnType<typeof fetchAccountInfoFactory>;
|
|
396
|
+
readonly getAvatarList: ReturnType<typeof getAvatarListFactory>;
|
|
397
|
+
readonly getAvatarUrlProfile: ReturnType<typeof getAvatarUrlProfileFactory>;
|
|
398
|
+
readonly getEmojiStatusConfig: ReturnType<typeof getEmojiStatusConfigFactory>;
|
|
399
|
+
readonly getFullAvatar: ReturnType<typeof getFullAvatarFactory>;
|
|
400
|
+
readonly getMiniProfile: ReturnType<typeof getMiniProfileFactory>;
|
|
401
|
+
readonly getProfileRank: ReturnType<typeof getProfileRankFactory>;
|
|
402
|
+
readonly getProfileVerificationStatus: ReturnType<typeof getProfileVerificationStatusFactory>;
|
|
403
|
+
readonly getSettings: ReturnType<typeof getSettingsFactory>;
|
|
404
|
+
readonly getUserInfo: ReturnType<typeof getUserInfoFactory>;
|
|
405
|
+
readonly reuseAvatar: ReturnType<typeof reuseAvatarFactory>;
|
|
406
|
+
readonly updateProfile: ReturnType<typeof updateProfileFactory>;
|
|
407
|
+
readonly updateProfileBio: ReturnType<typeof updateProfileBioFactory>;
|
|
408
|
+
readonly updateSettings: ReturnType<typeof updateSettingsFactory>;
|
|
409
|
+
};
|
|
410
|
+
export type StickerDomainAPI = {
|
|
411
|
+
readonly getPersonalizedStickerList: ReturnType<typeof getPersonalizedStickerListFactory>;
|
|
412
|
+
readonly getStickerCategoriesV2: ReturnType<typeof getStickerCategoriesV2Factory>;
|
|
413
|
+
readonly getStickerCategoryData: ReturnType<typeof getStickerCategoryDataFactory>;
|
|
414
|
+
readonly getStickerCategoryDetail: ReturnType<typeof getStickerCategoryDetailFactory>;
|
|
415
|
+
readonly getStickerHello: ReturnType<typeof getStickerHelloFactory>;
|
|
416
|
+
readonly getStickers: ReturnType<typeof getStickersFactory>;
|
|
417
|
+
readonly getStickersDetail: ReturnType<typeof getStickersDetailFactory>;
|
|
418
|
+
readonly getStickerSuggestion: ReturnType<typeof getStickerSuggestionFactory>;
|
|
419
|
+
readonly getStickerSuggestKeywords: ReturnType<typeof getStickerSuggestKeywordsFactory>;
|
|
420
|
+
readonly searchSticker: ReturnType<typeof searchStickerFactory>;
|
|
421
|
+
};
|
|
422
|
+
export type SyncDomainAPI = {
|
|
423
|
+
readonly cancelPullMobile: ReturnType<typeof cancelPullMobileFactory>;
|
|
424
|
+
readonly downloadTransferSync: ReturnType<typeof downloadTransferSyncFactory>;
|
|
425
|
+
readonly getSyncData: ReturnType<typeof getSyncDataFactory>;
|
|
426
|
+
readonly pullMobile: ReturnType<typeof pullMobileFactory>;
|
|
427
|
+
readonly requestSyncFromPhone: ReturnType<typeof requestSyncFromPhoneFactory>;
|
|
428
|
+
};
|
|
429
|
+
export type ZcloudDomainAPI = {
|
|
430
|
+
readonly getCloudInfo: ReturnType<typeof getCloudInfoFactory>;
|
|
431
|
+
readonly getCloudSettings: ReturnType<typeof getCloudSettingsFactory>;
|
|
432
|
+
readonly getCloudViewerKey: ReturnType<typeof getCloudViewerKeyFactory>;
|
|
433
|
+
readonly getFamilyProfile: ReturnType<typeof getFamilyProfileFactory>;
|
|
434
|
+
readonly getFamilyUsage: ReturnType<typeof getFamilyUsageFactory>;
|
|
435
|
+
readonly getFamilyViewerKey: ReturnType<typeof getFamilyViewerKeyFactory>;
|
|
436
|
+
readonly getUsageMyCloud: ReturnType<typeof getUsageMyCloudFactory>;
|
|
437
|
+
readonly getUsageZCloud: ReturnType<typeof getUsageZCloudFactory>;
|
|
438
|
+
readonly verifyCloudMedia: ReturnType<typeof verifyCloudMediaFactory>;
|
|
439
|
+
};
|
|
169
440
|
export declare class API {
|
|
441
|
+
private readonly ctx;
|
|
442
|
+
private readonly _cache;
|
|
443
|
+
private readonly _domains;
|
|
170
444
|
zpwServiceMap: ZPWServiceMap;
|
|
171
445
|
listener: Listener;
|
|
172
|
-
acceptFriendRequest: ReturnType<typeof acceptFriendRequestFactory>;
|
|
173
|
-
addGroupBlockedMember: ReturnType<typeof addGroupBlockedMemberFactory>;
|
|
174
|
-
addGroupDeputy: ReturnType<typeof addGroupDeputyFactory>;
|
|
175
|
-
addPollOptions: ReturnType<typeof addPollOptionsFactory>;
|
|
176
|
-
addQuickMessage: ReturnType<typeof addQuickMessageFactory>;
|
|
177
|
-
addReaction: ReturnType<typeof addReactionFactory>;
|
|
178
|
-
addUnreadMark: ReturnType<typeof addUnreadMarkFactory>;
|
|
179
|
-
addUserToGroup: ReturnType<typeof addUserToGroupFactory>;
|
|
180
|
-
blockUser: ReturnType<typeof blockUserFactory>;
|
|
181
|
-
blockViewFeed: ReturnType<typeof blockViewFeedFactory>;
|
|
182
|
-
cancelPullMobile: ReturnType<typeof cancelPullMobileFactory>;
|
|
183
|
-
cancelVoiceCall: ReturnType<typeof cancelVoiceCallFactory>;
|
|
184
|
-
changeAccountAvatar: ReturnType<typeof changeAccountAvatarFactory>;
|
|
185
|
-
changeFriendAlias: ReturnType<typeof changeFriendAliasFactory>;
|
|
186
|
-
changeGroupAvatar: ReturnType<typeof changeGroupAvatarFactory>;
|
|
187
|
-
changeGroupName: ReturnType<typeof changeGroupNameFactory>;
|
|
188
|
-
changeGroupOwner: ReturnType<typeof changeGroupOwnerFactory>;
|
|
189
|
-
createAutoReply: ReturnType<typeof createAutoReplyFactory>;
|
|
190
|
-
createBankAccount: ReturnType<typeof createBankAccountFactory>;
|
|
191
|
-
createCatalog: ReturnType<typeof createCatalogFactory>;
|
|
192
|
-
createGroup: ReturnType<typeof createGroupFactory>;
|
|
193
|
-
createNote: ReturnType<typeof createNoteFactory>;
|
|
194
|
-
createPoll: ReturnType<typeof createPollFactory>;
|
|
195
|
-
createProductCatalog: ReturnType<typeof createProductCatalogFactory>;
|
|
196
|
-
createReminder: ReturnType<typeof createReminderFactory>;
|
|
197
|
-
decryptGids: ReturnType<typeof decryptGidsFactory>;
|
|
198
|
-
deleteAutoReply: ReturnType<typeof deleteAutoReplyFactory>;
|
|
199
|
-
deleteAvatar: ReturnType<typeof deleteAvatarFactory>;
|
|
200
|
-
deleteBankAccount: ReturnType<typeof deleteBankAccountFactory>;
|
|
201
|
-
deleteCatalog: ReturnType<typeof deleteCatalogFactory>;
|
|
202
|
-
deleteChat: ReturnType<typeof deleteChatFactory>;
|
|
203
|
-
deleteGroupInviteBox: ReturnType<typeof deleteGroupInviteBoxFactory>;
|
|
204
|
-
deleteMessage: ReturnType<typeof deleteMessageFactory>;
|
|
205
|
-
deleteProductCatalog: ReturnType<typeof deleteProductCatalogFactory>;
|
|
206
|
-
disableGroupLink: ReturnType<typeof disableGroupLinkFactory>;
|
|
207
|
-
disperseGroup: ReturnType<typeof disperseGroupFactory>;
|
|
208
|
-
downloadTransferSync: ReturnType<typeof downloadTransferSyncFactory>;
|
|
209
|
-
editNote: ReturnType<typeof editNoteFactory>;
|
|
210
|
-
editReminder: ReturnType<typeof editReminderFactory>;
|
|
211
|
-
enableGroupLink: ReturnType<typeof enableGroupLinkFactory>;
|
|
212
|
-
endVoiceCall: ReturnType<typeof endVoiceCallFactory>;
|
|
213
|
-
fetchAccountInfo: ReturnType<typeof fetchAccountInfoFactory>;
|
|
214
|
-
findUser: ReturnType<typeof findUserFactory>;
|
|
215
|
-
findUserByUsername: ReturnType<typeof findUserByUsernameFactory>;
|
|
216
|
-
forwardMessage: ReturnType<typeof forwardMessageFactory>;
|
|
217
|
-
getAliasList: ReturnType<typeof getAliasListFactory>;
|
|
218
|
-
getAllFriends: ReturnType<typeof getAllFriendsFactory>;
|
|
219
|
-
getAllGroups: ReturnType<typeof getAllGroupsFactory>;
|
|
220
|
-
getArchivedChatList: ReturnType<typeof getArchivedChatListFactory>;
|
|
221
|
-
getAutoDeleteChat: ReturnType<typeof getAutoDeleteChatFactory>;
|
|
222
|
-
getAutoReplyList: ReturnType<typeof getAutoReplyListFactory>;
|
|
223
|
-
getAvatarList: ReturnType<typeof getAvatarListFactory>;
|
|
224
|
-
getAvatarUrlProfile: ReturnType<typeof getAvatarUrlProfileFactory>;
|
|
225
|
-
getBizAccount: ReturnType<typeof getBizAccountFactory>;
|
|
226
|
-
getCatalogList: ReturnType<typeof getCatalogListFactory>;
|
|
227
|
-
getCloseFriends: ReturnType<typeof getCloseFriendsFactory>;
|
|
228
|
-
getContext: ReturnType<typeof getContextFactory>;
|
|
229
|
-
getCookie: ReturnType<typeof getCookieFactory>;
|
|
230
|
-
getFriendBoardList: ReturnType<typeof getFriendBoardListFactory>;
|
|
231
|
-
getFriendOnlines: ReturnType<typeof getFriendOnlinesFactory>;
|
|
232
|
-
getFriendRecommendations: ReturnType<typeof getFriendRecommendationsFactory>;
|
|
233
|
-
getFriendRequestStatus: ReturnType<typeof getFriendRequestStatusFactory>;
|
|
234
|
-
getFullAvatar: ReturnType<typeof getFullAvatarFactory>;
|
|
235
|
-
getGroupBlockedMember: ReturnType<typeof getGroupBlockedMemberFactory>;
|
|
236
|
-
getGroupChatHistory: ReturnType<typeof getGroupChatHistoryFactory>;
|
|
237
|
-
getGroupInfo: ReturnType<typeof getGroupInfoFactory>;
|
|
238
|
-
getGroupInviteBoxInfo: ReturnType<typeof getGroupInviteBoxInfoFactory>;
|
|
239
|
-
getGroupInviteBoxList: ReturnType<typeof getGroupInviteBoxListFactory>;
|
|
240
|
-
getGroupLinkDetail: ReturnType<typeof getGroupLinkDetailFactory>;
|
|
241
|
-
getGroupLinkInfo: ReturnType<typeof getGroupLinkInfoFactory>;
|
|
242
|
-
getGroupMembersInfo: ReturnType<typeof getGroupMembersInfoFactory>;
|
|
243
|
-
getHiddenConversations: ReturnType<typeof getHiddenConversationsFactory>;
|
|
244
|
-
getLabels: ReturnType<typeof getLabelsFactory>;
|
|
245
|
-
getListBank: ReturnType<typeof getListBankFactory>;
|
|
246
|
-
getListBankAccount: ReturnType<typeof getListBankAccountFactory>;
|
|
247
|
-
getListBoard: ReturnType<typeof getListBoardFactory>;
|
|
248
|
-
getListDevice: ReturnType<typeof getListDeviceFactory>;
|
|
249
|
-
getListReminder: ReturnType<typeof getListReminderFactory>;
|
|
250
|
-
getMultiUsersByPhones: ReturnType<typeof getMultiUsersByPhonesFactory>;
|
|
251
|
-
getMute: ReturnType<typeof getMuteFactory>;
|
|
252
|
-
getNoisedIds: ReturnType<typeof getNoisedIdsFactory>;
|
|
253
|
-
getOwnId: ReturnType<typeof getOwnIdFactory>;
|
|
254
|
-
getPendingGroupMembers: ReturnType<typeof getPendingGroupMembersFactory>;
|
|
255
|
-
getPinConversations: ReturnType<typeof getPinConversationsFactory>;
|
|
256
|
-
getPollDetail: ReturnType<typeof getPollDetailFactory>;
|
|
257
|
-
getProductCatalogList: ReturnType<typeof getProductCatalogListFactory>;
|
|
258
|
-
getQR: ReturnType<typeof getQRFactory>;
|
|
259
|
-
getQuickMessageList: ReturnType<typeof getQuickMessageListFactory>;
|
|
260
|
-
getRelatedFriendGroup: ReturnType<typeof getRelatedFriendGroupFactory>;
|
|
261
|
-
getReminder: ReturnType<typeof getReminderFactory>;
|
|
262
|
-
getReminderResponses: ReturnType<typeof getReminderResponsesFactory>;
|
|
263
|
-
getSentFriendRequest: ReturnType<typeof getSentFriendRequestFactory>;
|
|
264
|
-
getSettings: ReturnType<typeof getSettingsFactory>;
|
|
265
|
-
getStickerCategoryDetail: ReturnType<typeof getStickerCategoryDetailFactory>;
|
|
266
|
-
getStickers: ReturnType<typeof getStickersFactory>;
|
|
267
|
-
getStickersDetail: ReturnType<typeof getStickersDetailFactory>;
|
|
268
|
-
getSyncData: ReturnType<typeof getSyncDataFactory>;
|
|
269
|
-
getUnreadMark: ReturnType<typeof getUnreadMarkFactory>;
|
|
270
|
-
getUserInfo: ReturnType<typeof getUserInfoFactory>;
|
|
271
|
-
inviteUserToGroups: ReturnType<typeof inviteUserToGroupsFactory>;
|
|
272
|
-
joinGroupInviteBox: ReturnType<typeof joinGroupInviteBoxFactory>;
|
|
273
|
-
joinGroupLink: ReturnType<typeof joinGroupLinkFactory>;
|
|
274
|
-
keepAlive: ReturnType<typeof keepAliveFactory>;
|
|
275
|
-
lastOnline: ReturnType<typeof lastOnlineFactory>;
|
|
276
|
-
leaveGroup: ReturnType<typeof leaveGroupFactory>;
|
|
277
|
-
lockPoll: ReturnType<typeof lockPollFactory>;
|
|
278
|
-
lostFocus: ReturnType<typeof lostFocusFactory>;
|
|
279
|
-
parseLink: ReturnType<typeof parseLinkFactory>;
|
|
280
|
-
preloadConversations: ReturnType<typeof preloadConversationsFactory>;
|
|
281
|
-
pullMobile: ReturnType<typeof pullMobileFactory>;
|
|
282
|
-
registerCatalog: ReturnType<typeof registerCatalogFactory>;
|
|
283
|
-
rejectFriendRequest: ReturnType<typeof rejectFriendRequestFactory>;
|
|
284
|
-
removeFriend: ReturnType<typeof removeFriendFactory>;
|
|
285
|
-
removeFriendAlias: ReturnType<typeof removeFriendAliasFactory>;
|
|
286
|
-
removeGroupBlockedMember: ReturnType<typeof removeGroupBlockedMemberFactory>;
|
|
287
|
-
removeGroupDeputy: ReturnType<typeof removeGroupDeputyFactory>;
|
|
288
|
-
removeQuickMessage: ReturnType<typeof removeQuickMessageFactory>;
|
|
289
|
-
removeReminder: ReturnType<typeof removeReminderFactory>;
|
|
290
|
-
removeUnreadMark: ReturnType<typeof removeUnreadMarkFactory>;
|
|
291
|
-
removeUserFromGroup: ReturnType<typeof removeUserFromGroupFactory>;
|
|
292
|
-
requestSyncFromPhone: ReturnType<typeof requestSyncFromPhoneFactory>;
|
|
293
|
-
resetHiddenConversPin: ReturnType<typeof resetHiddenConversPinFactory>;
|
|
294
|
-
reuseAvatar: ReturnType<typeof reuseAvatarFactory>;
|
|
295
|
-
reviewPendingMemberRequest: ReturnType<typeof reviewPendingMemberRequestFactory>;
|
|
296
|
-
scanURL: ReturnType<typeof scanURLFactory>;
|
|
297
|
-
searchSticker: ReturnType<typeof searchStickerFactory>;
|
|
298
|
-
sendBankCard: ReturnType<typeof sendBankCardFactory>;
|
|
299
|
-
sendCard: ReturnType<typeof sendCardFactory>;
|
|
300
|
-
sendDeliveredEvent: ReturnType<typeof sendDeliveredEventFactory>;
|
|
301
|
-
sendFriendRequest: ReturnType<typeof sendFriendRequestFactory>;
|
|
302
|
-
sendLink: ReturnType<typeof sendLinkFactory>;
|
|
303
|
-
sendMessage: ReturnType<typeof sendMessageFactory>;
|
|
304
|
-
sendReport: ReturnType<typeof sendReportFactory>;
|
|
305
|
-
sendSeenEvent: ReturnType<typeof sendSeenEventFactory>;
|
|
306
|
-
sendSticker: ReturnType<typeof sendStickerFactory>;
|
|
307
|
-
sendTypingEvent: ReturnType<typeof sendTypingEventFactory>;
|
|
308
|
-
sendVideo: ReturnType<typeof sendVideoFactory>;
|
|
309
|
-
sendVoice: ReturnType<typeof sendVoiceFactory>;
|
|
310
|
-
sendVoiceCall: ReturnType<typeof sendVoiceCallFactory>;
|
|
311
|
-
setHiddenConversations: ReturnType<typeof setHiddenConversationsFactory>;
|
|
312
|
-
setMute: ReturnType<typeof setMuteFactory>;
|
|
313
|
-
setPinnedConversations: ReturnType<typeof setPinnedConversationsFactory>;
|
|
314
|
-
sharePoll: ReturnType<typeof sharePollFactory>;
|
|
315
|
-
unblockUser: ReturnType<typeof unblockUserFactory>;
|
|
316
|
-
undo: ReturnType<typeof undoFactory>;
|
|
317
|
-
undoFriendRequest: ReturnType<typeof undoFriendRequestFactory>;
|
|
318
|
-
updateActiveStatus: ReturnType<typeof updateActiveStatusFactory>;
|
|
319
|
-
updateArchivedChatList: ReturnType<typeof updateArchivedChatListFactory>;
|
|
320
|
-
updateAutoDeleteChat: ReturnType<typeof updateAutoDeleteChatFactory>;
|
|
321
|
-
updateAutoReply: ReturnType<typeof updateAutoReplyFactory>;
|
|
322
|
-
updateBankAccount: ReturnType<typeof updateBankAccountFactory>;
|
|
323
|
-
updateCatalog: ReturnType<typeof updateCatalogFactory>;
|
|
324
|
-
updateGroupSettings: ReturnType<typeof updateGroupSettingsFactory>;
|
|
325
|
-
updateHiddenConversPin: ReturnType<typeof updateHiddenConversPinFactory>;
|
|
326
|
-
updateLabels: ReturnType<typeof updateLabelsFactory>;
|
|
327
|
-
updateLang: ReturnType<typeof updateLangFactory>;
|
|
328
|
-
updateProductCatalog: ReturnType<typeof updateProductCatalogFactory>;
|
|
329
|
-
updateProfile: ReturnType<typeof updateProfileFactory>;
|
|
330
|
-
updateProfileBio: ReturnType<typeof updateProfileBioFactory>;
|
|
331
|
-
updateQuickMessage: ReturnType<typeof updateQuickMessageFactory>;
|
|
332
|
-
updateSettings: ReturnType<typeof updateSettingsFactory>;
|
|
333
|
-
upgradeGroupToCommunity: ReturnType<typeof upgradeGroupToCommunityFactory>;
|
|
334
|
-
uploadAttachment: ReturnType<typeof uploadAttachmentFactory>;
|
|
335
|
-
uploadProductPhoto: ReturnType<typeof uploadProductPhotoFactory>;
|
|
336
|
-
votePoll: ReturnType<typeof votePollFactory>;
|
|
337
446
|
custom: ReturnType<typeof customFactory>;
|
|
338
447
|
constructor(ctx: ContextSession, zpwServiceMap: ZPWServiceMap, wsUrls: string[]);
|
|
448
|
+
get auth(): AuthDomainAPI;
|
|
449
|
+
get board(): BoardDomainAPI;
|
|
450
|
+
get business(): BusinessDomainAPI;
|
|
451
|
+
get call(): CallDomainAPI;
|
|
452
|
+
get chat(): ChatDomainAPI;
|
|
453
|
+
get friend(): FriendDomainAPI;
|
|
454
|
+
get group(): GroupDomainAPI;
|
|
455
|
+
get media(): MediaDomainAPI;
|
|
456
|
+
get profile(): ProfileDomainAPI;
|
|
457
|
+
get sticker(): StickerDomainAPI;
|
|
458
|
+
get sync(): SyncDomainAPI;
|
|
459
|
+
get zcloud(): ZcloudDomainAPI;
|
|
460
|
+
get acceptFriendRequest(): ReturnType<typeof acceptFriendRequestFactory>;
|
|
461
|
+
get addGroupBlockedMember(): ReturnType<typeof addGroupBlockedMemberFactory>;
|
|
462
|
+
get addGroupDeputy(): ReturnType<typeof addGroupDeputyFactory>;
|
|
463
|
+
get addPollOptions(): ReturnType<typeof addPollOptionsFactory>;
|
|
464
|
+
get addQuickMessage(): ReturnType<typeof addQuickMessageFactory>;
|
|
465
|
+
get addReaction(): ReturnType<typeof addReactionFactory>;
|
|
466
|
+
get addUnreadMark(): ReturnType<typeof addUnreadMarkFactory>;
|
|
467
|
+
get addUserToGroup(): ReturnType<typeof addUserToGroupFactory>;
|
|
468
|
+
get blockUser(): ReturnType<typeof blockUserFactory>;
|
|
469
|
+
get blockViewFeed(): ReturnType<typeof blockViewFeedFactory>;
|
|
470
|
+
get cancelPullMobile(): ReturnType<typeof cancelPullMobileFactory>;
|
|
471
|
+
get cancelVoiceCall(): ReturnType<typeof cancelVoiceCallFactory>;
|
|
472
|
+
get changeAccountAvatar(): ReturnType<typeof changeAccountAvatarFactory>;
|
|
473
|
+
get changeFriendAlias(): ReturnType<typeof changeFriendAliasFactory>;
|
|
474
|
+
get changeGroupAvatar(): ReturnType<typeof changeGroupAvatarFactory>;
|
|
475
|
+
get changeGroupName(): ReturnType<typeof changeGroupNameFactory>;
|
|
476
|
+
get changeGroupOwner(): ReturnType<typeof changeGroupOwnerFactory>;
|
|
477
|
+
get clearUnreadFriendRequests(): ReturnType<typeof clearUnreadFriendRequestsFactory>;
|
|
478
|
+
get createAutoReply(): ReturnType<typeof createAutoReplyFactory>;
|
|
479
|
+
get createBankAccount(): ReturnType<typeof createBankAccountFactory>;
|
|
480
|
+
get createCatalog(): ReturnType<typeof createCatalogFactory>;
|
|
481
|
+
get createGroup(): ReturnType<typeof createGroupFactory>;
|
|
482
|
+
get createNote(): ReturnType<typeof createNoteFactory>;
|
|
483
|
+
get createPoll(): ReturnType<typeof createPollFactory>;
|
|
484
|
+
get createProductCatalog(): ReturnType<typeof createProductCatalogFactory>;
|
|
485
|
+
get createReminder(): ReturnType<typeof createReminderFactory>;
|
|
486
|
+
get decryptGids(): ReturnType<typeof decryptGidsFactory>;
|
|
487
|
+
get deleteAutoReply(): ReturnType<typeof deleteAutoReplyFactory>;
|
|
488
|
+
get deleteAvatar(): ReturnType<typeof deleteAvatarFactory>;
|
|
489
|
+
get deleteBankAccount(): ReturnType<typeof deleteBankAccountFactory>;
|
|
490
|
+
get deleteCatalog(): ReturnType<typeof deleteCatalogFactory>;
|
|
491
|
+
get deleteChat(): ReturnType<typeof deleteChatFactory>;
|
|
492
|
+
get deleteGroupInviteBox(): ReturnType<typeof deleteGroupInviteBoxFactory>;
|
|
493
|
+
get deleteMessage(): ReturnType<typeof deleteMessageFactory>;
|
|
494
|
+
get deleteProductCatalog(): ReturnType<typeof deleteProductCatalogFactory>;
|
|
495
|
+
get disableGroupLink(): ReturnType<typeof disableGroupLinkFactory>;
|
|
496
|
+
get disperseGroup(): ReturnType<typeof disperseGroupFactory>;
|
|
497
|
+
get downloadTransferSync(): ReturnType<typeof downloadTransferSyncFactory>;
|
|
498
|
+
get editNote(): ReturnType<typeof editNoteFactory>;
|
|
499
|
+
get editReminder(): ReturnType<typeof editReminderFactory>;
|
|
500
|
+
get enableGroupLink(): ReturnType<typeof enableGroupLinkFactory>;
|
|
501
|
+
get encryptGids(): ReturnType<typeof encryptGidsFactory>;
|
|
502
|
+
get endVoiceCall(): ReturnType<typeof endVoiceCallFactory>;
|
|
503
|
+
get fetchAccountInfo(): ReturnType<typeof fetchAccountInfoFactory>;
|
|
504
|
+
get findUser(): ReturnType<typeof findUserFactory>;
|
|
505
|
+
get findUserByUsername(): ReturnType<typeof findUserByUsernameFactory>;
|
|
506
|
+
get forwardMessage(): ReturnType<typeof forwardMessageFactory>;
|
|
507
|
+
get getAliasList(): ReturnType<typeof getAliasListFactory>;
|
|
508
|
+
get getAliasListV2(): ReturnType<typeof getAliasListV2Factory>;
|
|
509
|
+
get getAllFriends(): ReturnType<typeof getAllFriendsFactory>;
|
|
510
|
+
get getAllGroups(): ReturnType<typeof getAllGroupsFactory>;
|
|
511
|
+
get getArchivedChatList(): ReturnType<typeof getArchivedChatListFactory>;
|
|
512
|
+
get getAutoDeleteChat(): ReturnType<typeof getAutoDeleteChatFactory>;
|
|
513
|
+
get getAutoReplyList(): ReturnType<typeof getAutoReplyListFactory>;
|
|
514
|
+
get getAvatarList(): ReturnType<typeof getAvatarListFactory>;
|
|
515
|
+
get getAvatarUrlProfile(): ReturnType<typeof getAvatarUrlProfileFactory>;
|
|
516
|
+
get getBizAccount(): ReturnType<typeof getBizAccountFactory>;
|
|
517
|
+
get getBlockFriends(): ReturnType<typeof getBlockFriendsFactory>;
|
|
518
|
+
get getCatalogList(): ReturnType<typeof getCatalogListFactory>;
|
|
519
|
+
get getCloseFriends(): ReturnType<typeof getCloseFriendsFactory>;
|
|
520
|
+
get getCloudInfo(): ReturnType<typeof getCloudInfoFactory>;
|
|
521
|
+
get getCloudSettings(): ReturnType<typeof getCloudSettingsFactory>;
|
|
522
|
+
get getCloudViewerKey(): ReturnType<typeof getCloudViewerKeyFactory>;
|
|
523
|
+
get getContext(): ReturnType<typeof getContextFactory>;
|
|
524
|
+
get getConversationMedia(): ReturnType<typeof getConversationMediaFactory>;
|
|
525
|
+
get getCookie(): ReturnType<typeof getCookieFactory>;
|
|
526
|
+
get getEmojiStatusConfig(): ReturnType<typeof getEmojiStatusConfigFactory>;
|
|
527
|
+
get getExtraFriendInfo(): ReturnType<typeof getExtraFriendInfoFactory>;
|
|
528
|
+
get getExtraGroupInfo(): ReturnType<typeof getExtraGroupInfoFactory>;
|
|
529
|
+
get getFamilyProfile(): ReturnType<typeof getFamilyProfileFactory>;
|
|
530
|
+
get getFamilyUsage(): ReturnType<typeof getFamilyUsageFactory>;
|
|
531
|
+
get getFamilyViewerKey(): ReturnType<typeof getFamilyViewerKeyFactory>;
|
|
532
|
+
get getFriendBoardList(): ReturnType<typeof getFriendBoardListFactory>;
|
|
533
|
+
get getFriendOnlines(): ReturnType<typeof getFriendOnlinesFactory>;
|
|
534
|
+
get getFriendRecommendations(): ReturnType<typeof getFriendRecommendationsFactory>;
|
|
535
|
+
get getFriendRequestStatus(): ReturnType<typeof getFriendRequestStatusFactory>;
|
|
536
|
+
get getFriendsEmojiStatus(): ReturnType<typeof getFriendsEmojiStatusFactory>;
|
|
537
|
+
get getFullAvatar(): ReturnType<typeof getFullAvatarFactory>;
|
|
538
|
+
get getGroupBlockedMember(): ReturnType<typeof getGroupBlockedMemberFactory>;
|
|
539
|
+
get getGroupChatHistory(): ReturnType<typeof getGroupChatHistoryFactory>;
|
|
540
|
+
get getGroupCloudMessageJump(): ReturnType<typeof getGroupCloudMessageJumpFactory>;
|
|
541
|
+
get getGroupInfo(): ReturnType<typeof getGroupInfoFactory>;
|
|
542
|
+
get getGroupInviteBoxInfo(): ReturnType<typeof getGroupInviteBoxInfoFactory>;
|
|
543
|
+
get getGroupInviteBoxList(): ReturnType<typeof getGroupInviteBoxListFactory>;
|
|
544
|
+
get getGroupLinkDetail(): ReturnType<typeof getGroupLinkDetailFactory>;
|
|
545
|
+
get getGroupLinkInfo(): ReturnType<typeof getGroupLinkInfoFactory>;
|
|
546
|
+
get getGroupMembersInfo(): ReturnType<typeof getGroupMembersInfoFactory>;
|
|
547
|
+
get getHiddenConversations(): ReturnType<typeof getHiddenConversationsFactory>;
|
|
548
|
+
get getLabels(): ReturnType<typeof getLabelsFactory>;
|
|
549
|
+
get getLastReadContactTab(): ReturnType<typeof getLastReadContactTabFactory>;
|
|
550
|
+
get getLastSeen(): ReturnType<typeof getLastSeenFactory>;
|
|
551
|
+
get getLastSeenReaction(): ReturnType<typeof getLastSeenReactionFactory>;
|
|
552
|
+
get getListBank(): ReturnType<typeof getListBankFactory>;
|
|
553
|
+
get getListBankAccount(): ReturnType<typeof getListBankAccountFactory>;
|
|
554
|
+
get getListBoard(): ReturnType<typeof getListBoardFactory>;
|
|
555
|
+
get getListDevice(): ReturnType<typeof getListDeviceFactory>;
|
|
556
|
+
get getListPinTopics(): ReturnType<typeof getListPinTopicsFactory>;
|
|
557
|
+
get getListReminder(): ReturnType<typeof getListReminderFactory>;
|
|
558
|
+
get getMediaStorePreview(): ReturnType<typeof getMediaStorePreviewFactory>;
|
|
559
|
+
get getMiniProfile(): ReturnType<typeof getMiniProfileFactory>;
|
|
560
|
+
get getMultiUsersByPhones(): ReturnType<typeof getMultiUsersByPhonesFactory>;
|
|
561
|
+
get getMute(): ReturnType<typeof getMuteFactory>;
|
|
562
|
+
get getNoisedIds(): ReturnType<typeof getNoisedIdsFactory>;
|
|
563
|
+
get getOwnId(): ReturnType<typeof getOwnIdFactory>;
|
|
564
|
+
get getPendingGroupMembers(): ReturnType<typeof getPendingGroupMembersFactory>;
|
|
565
|
+
get getPersonalizedStickerList(): ReturnType<typeof getPersonalizedStickerListFactory>;
|
|
566
|
+
get getPhonebookV2(): ReturnType<typeof getPhonebookV2Factory>;
|
|
567
|
+
get getPinConversations(): ReturnType<typeof getPinConversationsFactory>;
|
|
568
|
+
get getPollDetail(): ReturnType<typeof getPollDetailFactory>;
|
|
569
|
+
get getProductCatalogList(): ReturnType<typeof getProductCatalogListFactory>;
|
|
570
|
+
get getProfileRank(): ReturnType<typeof getProfileRankFactory>;
|
|
571
|
+
get getProfileVerificationStatus(): ReturnType<typeof getProfileVerificationStatusFactory>;
|
|
572
|
+
get getQR(): ReturnType<typeof getQRFactory>;
|
|
573
|
+
get getQuickMessageList(): ReturnType<typeof getQuickMessageListFactory>;
|
|
574
|
+
get getQuotaCommunity(): ReturnType<typeof getQuotaCommunityFactory>;
|
|
575
|
+
get getRecentSearchList(): ReturnType<typeof getRecentSearchListFactory>;
|
|
576
|
+
get getRelatedFriendGroup(): ReturnType<typeof getRelatedFriendGroupFactory>;
|
|
577
|
+
get getReminder(): ReturnType<typeof getReminderFactory>;
|
|
578
|
+
get getReminderResponses(): ReturnType<typeof getReminderResponsesFactory>;
|
|
579
|
+
get getSentFriendRequest(): ReturnType<typeof getSentFriendRequestFactory>;
|
|
580
|
+
get getSettings(): ReturnType<typeof getSettingsFactory>;
|
|
581
|
+
get getStickerCategoriesV2(): ReturnType<typeof getStickerCategoriesV2Factory>;
|
|
582
|
+
get getStickerCategoryData(): ReturnType<typeof getStickerCategoryDataFactory>;
|
|
583
|
+
get getStickerCategoryDetail(): ReturnType<typeof getStickerCategoryDetailFactory>;
|
|
584
|
+
get getStickerHello(): ReturnType<typeof getStickerHelloFactory>;
|
|
585
|
+
get getStickers(): ReturnType<typeof getStickersFactory>;
|
|
586
|
+
get getStickersDetail(): ReturnType<typeof getStickersDetailFactory>;
|
|
587
|
+
get getStickerSuggestion(): ReturnType<typeof getStickerSuggestionFactory>;
|
|
588
|
+
get getStickerSuggestKeywords(): ReturnType<typeof getStickerSuggestKeywordsFactory>;
|
|
589
|
+
get getSyncData(): ReturnType<typeof getSyncDataFactory>;
|
|
590
|
+
get getUnreadMark(): ReturnType<typeof getUnreadMarkFactory>;
|
|
591
|
+
get getUsageMyCloud(): ReturnType<typeof getUsageMyCloudFactory>;
|
|
592
|
+
get getUsageZCloud(): ReturnType<typeof getUsageZCloudFactory>;
|
|
593
|
+
get getUserInfo(): ReturnType<typeof getUserInfoFactory>;
|
|
594
|
+
get inviteUserToGroups(): ReturnType<typeof inviteUserToGroupsFactory>;
|
|
595
|
+
get joinGroupInviteBox(): ReturnType<typeof joinGroupInviteBoxFactory>;
|
|
596
|
+
get joinGroupLink(): ReturnType<typeof joinGroupLinkFactory>;
|
|
597
|
+
get keepAlive(): ReturnType<typeof keepAliveFactory>;
|
|
598
|
+
get lastOnline(): ReturnType<typeof lastOnlineFactory>;
|
|
599
|
+
get leaveGroup(): ReturnType<typeof leaveGroupFactory>;
|
|
600
|
+
get lockPoll(): ReturnType<typeof lockPollFactory>;
|
|
601
|
+
get lostFocus(): ReturnType<typeof lostFocusFactory>;
|
|
602
|
+
get parseLink(): ReturnType<typeof parseLinkFactory>;
|
|
603
|
+
get preloadConversations(): ReturnType<typeof preloadConversationsFactory>;
|
|
604
|
+
get pullMobile(): ReturnType<typeof pullMobileFactory>;
|
|
605
|
+
get readContactTab(): ReturnType<typeof readContactTabFactory>;
|
|
606
|
+
get registerCatalog(): ReturnType<typeof registerCatalogFactory>;
|
|
607
|
+
get rejectFriendRequest(): ReturnType<typeof rejectFriendRequestFactory>;
|
|
608
|
+
get removeConversationMedia(): ReturnType<typeof removeConversationMediaFactory>;
|
|
609
|
+
get removeFriend(): ReturnType<typeof removeFriendFactory>;
|
|
610
|
+
get removeFriendAlias(): ReturnType<typeof removeFriendAliasFactory>;
|
|
611
|
+
get removeGroupBlockedMember(): ReturnType<typeof removeGroupBlockedMemberFactory>;
|
|
612
|
+
get removeGroupDeputy(): ReturnType<typeof removeGroupDeputyFactory>;
|
|
613
|
+
get removeQuickMessage(): ReturnType<typeof removeQuickMessageFactory>;
|
|
614
|
+
get removeReminder(): ReturnType<typeof removeReminderFactory>;
|
|
615
|
+
get removeUnreadMark(): ReturnType<typeof removeUnreadMarkFactory>;
|
|
616
|
+
get removeUserFromGroup(): ReturnType<typeof removeUserFromGroupFactory>;
|
|
617
|
+
get requestSyncFromPhone(): ReturnType<typeof requestSyncFromPhoneFactory>;
|
|
618
|
+
get resetHiddenConversPin(): ReturnType<typeof resetHiddenConversPinFactory>;
|
|
619
|
+
get reuseAvatar(): ReturnType<typeof reuseAvatarFactory>;
|
|
620
|
+
get reviewPendingMemberRequest(): ReturnType<typeof reviewPendingMemberRequestFactory>;
|
|
621
|
+
get scanURL(): ReturnType<typeof scanURLFactory>;
|
|
622
|
+
get searchSticker(): ReturnType<typeof searchStickerFactory>;
|
|
623
|
+
get sendBankCard(): ReturnType<typeof sendBankCardFactory>;
|
|
624
|
+
get sendCard(): ReturnType<typeof sendCardFactory>;
|
|
625
|
+
get sendDeliveredEvent(): ReturnType<typeof sendDeliveredEventFactory>;
|
|
626
|
+
get sendFriendRequest(): ReturnType<typeof sendFriendRequestFactory>;
|
|
627
|
+
get sendLink(): ReturnType<typeof sendLinkFactory>;
|
|
628
|
+
get sendMessage(): ReturnType<typeof sendMessageFactory>;
|
|
629
|
+
get sendReport(): ReturnType<typeof sendReportFactory>;
|
|
630
|
+
get sendSeenEvent(): ReturnType<typeof sendSeenEventFactory>;
|
|
631
|
+
get sendSticker(): ReturnType<typeof sendStickerFactory>;
|
|
632
|
+
get sendTypingEvent(): ReturnType<typeof sendTypingEventFactory>;
|
|
633
|
+
get sendVideo(): ReturnType<typeof sendVideoFactory>;
|
|
634
|
+
get sendVoice(): ReturnType<typeof sendVoiceFactory>;
|
|
635
|
+
get sendVoiceCall(): ReturnType<typeof sendVoiceCallFactory>;
|
|
636
|
+
get setHiddenConversations(): ReturnType<typeof setHiddenConversationsFactory>;
|
|
637
|
+
get setMute(): ReturnType<typeof setMuteFactory>;
|
|
638
|
+
get setPinnedConversations(): ReturnType<typeof setPinnedConversationsFactory>;
|
|
639
|
+
get sharePoll(): ReturnType<typeof sharePollFactory>;
|
|
640
|
+
get unblockUser(): ReturnType<typeof unblockUserFactory>;
|
|
641
|
+
get undo(): ReturnType<typeof undoFactory>;
|
|
642
|
+
get undoFriendRequest(): ReturnType<typeof undoFriendRequestFactory>;
|
|
643
|
+
get undoMultiMessage(): ReturnType<typeof undoMultiMessageFactory>;
|
|
644
|
+
get updateActiveStatus(): ReturnType<typeof updateActiveStatusFactory>;
|
|
645
|
+
get updateArchivedChatList(): ReturnType<typeof updateArchivedChatListFactory>;
|
|
646
|
+
get updateAutoDeleteChat(): ReturnType<typeof updateAutoDeleteChatFactory>;
|
|
647
|
+
get updateAutoReply(): ReturnType<typeof updateAutoReplyFactory>;
|
|
648
|
+
get updateBankAccount(): ReturnType<typeof updateBankAccountFactory>;
|
|
649
|
+
get updateCatalog(): ReturnType<typeof updateCatalogFactory>;
|
|
650
|
+
get updateGroupSettings(): ReturnType<typeof updateGroupSettingsFactory>;
|
|
651
|
+
get updateHiddenConversPin(): ReturnType<typeof updateHiddenConversPinFactory>;
|
|
652
|
+
get updateLabels(): ReturnType<typeof updateLabelsFactory>;
|
|
653
|
+
get updateLang(): ReturnType<typeof updateLangFactory>;
|
|
654
|
+
get updateProductCatalog(): ReturnType<typeof updateProductCatalogFactory>;
|
|
655
|
+
get updateProfile(): ReturnType<typeof updateProfileFactory>;
|
|
656
|
+
get updateProfileBio(): ReturnType<typeof updateProfileBioFactory>;
|
|
657
|
+
get updateQuickMessage(): ReturnType<typeof updateQuickMessageFactory>;
|
|
658
|
+
get updateRecentSearch(): ReturnType<typeof updateRecentSearchFactory>;
|
|
659
|
+
get updateSettings(): ReturnType<typeof updateSettingsFactory>;
|
|
660
|
+
get upgradeGroupToCommunity(): ReturnType<typeof upgradeGroupToCommunityFactory>;
|
|
661
|
+
get uploadAttachment(): ReturnType<typeof uploadAttachmentFactory>;
|
|
662
|
+
get uploadProductPhoto(): ReturnType<typeof uploadProductPhotoFactory>;
|
|
663
|
+
get verifyCloudMedia(): ReturnType<typeof verifyCloudMediaFactory>;
|
|
664
|
+
get voiceToText(): ReturnType<typeof voiceToTextFactory>;
|
|
665
|
+
get votePoll(): ReturnType<typeof votePollFactory>;
|
|
339
666
|
}
|