@softtynet/zca-js 2.3.3 → 2.3.5
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 +99 -21
- package/dist/apis/auth/exportSession.d.ts +7 -0
- package/dist/apis/auth/exportSession.js +17 -0
- package/dist/apis/call/addUserGroupCall.d.ts +11 -0
- package/dist/apis/call/addUserGroupCall.js +48 -0
- package/dist/apis/call/answerAckVoiceCall.d.ts +5 -0
- package/dist/apis/call/answerAckVoiceCall.js +38 -0
- package/dist/apis/call/answerGroupCall.d.ts +10 -0
- package/dist/apis/call/answerGroupCall.js +45 -0
- package/dist/apis/call/answerVoiceCall.d.ts +11 -0
- package/dist/apis/call/answerVoiceCall.js +50 -0
- package/dist/apis/call/broadcastGroupCallState.d.ts +10 -0
- package/dist/apis/call/broadcastGroupCallState.js +45 -0
- package/dist/apis/call/cancelGroupCall.d.ts +10 -0
- package/dist/apis/call/cancelGroupCall.js +45 -0
- package/dist/apis/call/cancelVoiceCall.d.ts +1 -1
- package/dist/apis/call/cancelVoiceCall.js +5 -1
- package/dist/apis/call/createController.d.ts +7 -0
- package/dist/apis/call/createController.js +9 -0
- package/dist/apis/call/createRtcSession.d.ts +8 -0
- package/dist/apis/call/createRtcSession.js +10 -0
- package/dist/apis/call/endGroupCall.d.ts +10 -0
- package/dist/apis/call/endGroupCall.js +45 -0
- package/dist/apis/call/finishGroupCall.d.ts +12 -0
- package/dist/apis/call/finishGroupCall.js +47 -0
- package/dist/apis/call/getGroupCallState.d.ts +3 -0
- package/dist/apis/call/getGroupCallState.js +38 -0
- package/dist/apis/call/holdVoiceCall.d.ts +5 -0
- package/dist/apis/call/holdVoiceCall.js +34 -0
- package/dist/apis/call/joinGroupCall.d.ts +11 -0
- package/dist/apis/call/joinGroupCall.js +46 -0
- package/dist/apis/call/logEndVoiceCall.d.ts +8 -0
- package/dist/apis/call/logEndVoiceCall.js +46 -0
- package/dist/apis/call/notifyGroupCall.d.ts +9 -0
- package/dist/apis/call/notifyGroupCall.js +44 -0
- package/dist/apis/call/pingGroupCall.d.ts +10 -0
- package/dist/apis/call/pingGroupCall.js +45 -0
- package/dist/apis/call/requestAudioToVideoCall.d.ts +5 -0
- package/dist/apis/call/requestAudioToVideoCall.js +37 -0
- package/dist/apis/call/requestGroupCall.d.ts +9 -0
- package/dist/apis/call/requestGroupCall.js +46 -0
- package/dist/apis/call/requestShareScreenCall.d.ts +5 -0
- package/dist/apis/call/requestShareScreenCall.js +37 -0
- package/dist/apis/call/requestVoiceCall.d.ts +10 -0
- package/dist/apis/call/requestVoiceCall.js +47 -0
- package/dist/apis/call/ringRingGroupCall.d.ts +10 -0
- package/dist/apis/call/ringRingGroupCall.js +45 -0
- package/dist/apis/call/ringRingVoiceCall.d.ts +5 -0
- package/dist/apis/call/ringRingVoiceCall.js +38 -0
- package/dist/apis/call/sendRequestGroupCall.d.ts +11 -0
- package/dist/apis/call/sendRequestGroupCall.js +48 -0
- package/dist/apis/call/sendRequestVoiceCall.d.ts +11 -0
- package/dist/apis/call/sendRequestVoiceCall.js +51 -0
- package/dist/apis/call/sendVoiceCall.d.ts +8 -1
- package/dist/apis/call/sendVoiceCall.js +10 -8
- package/dist/apis/call/shareScreenGroupCall.d.ts +10 -0
- package/dist/apis/call/shareScreenGroupCall.js +45 -0
- package/dist/apis/call/unholdVoiceCall.d.ts +5 -0
- package/dist/apis/call/unholdVoiceCall.js +34 -0
- package/dist/apis/call/updateCallMediaState.d.ts +7 -0
- package/dist/apis/call/updateCallMediaState.js +61 -0
- package/dist/apis/chat/getDirectMessageStatus.d.ts +14 -0
- package/dist/apis/chat/getDirectMessageStatus.js +52 -0
- package/dist/apis/chat/getSuggestedConversations.d.ts +5 -0
- package/dist/apis/chat/getSuggestedConversations.js +24 -0
- package/dist/apis/chat/updatePinConversations.d.ts +24 -0
- package/dist/apis/chat/updatePinConversations.js +40 -0
- package/dist/apis/friend/getFriendProfilesV2.d.ts +26 -0
- package/dist/apis/friend/getFriendProfilesV2.js +38 -0
- package/dist/apis/friend/getFriendsActivePCWeb.d.ts +6 -0
- package/dist/apis/friend/getFriendsActivePCWeb.js +15 -0
- package/dist/apis/friend/verifyFriend.d.ts +11 -0
- package/dist/apis/friend/verifyFriend.js +37 -0
- package/dist/apis/group/analyseGroup.d.ts +4 -0
- package/dist/apis/group/analyseGroup.js +28 -0
- package/dist/apis/group/checkQuotaCommunityMember.d.ts +6 -0
- package/dist/apis/group/checkQuotaCommunityMember.js +34 -0
- package/dist/apis/group/getE2eeGroupList.d.ts +7 -0
- package/dist/apis/group/getE2eeGroupList.js +15 -0
- package/dist/apis/group/getGroupCloudMessagePath.d.ts +19 -0
- package/dist/apis/group/getGroupCloudMessagePath.js +51 -0
- package/dist/apis/group/getMultiGroupCloudMessages.d.ts +5 -0
- package/dist/apis/group/getMultiGroupCloudMessages.js +29 -0
- package/dist/apis/media/getPersonalMedia.d.ts +8 -0
- package/dist/apis/media/getPersonalMedia.js +31 -0
- package/dist/apis/media/getPersonalMediaPreview.d.ts +3 -0
- package/dist/apis/media/getPersonalMediaPreview.js +24 -0
- package/dist/apis/media/removePersonalMedia.d.ts +9 -0
- package/dist/apis/media/removePersonalMedia.js +28 -0
- package/dist/apis.d.ts +126 -0
- package/dist/apis.js +210 -0
- package/dist/call-engine/ZRTPPacketCodec.d.ts +262 -0
- package/dist/call-engine/ZRTPPacketCodec.js +506 -0
- package/dist/call-engine/ZaloCallController.d.ts +134 -0
- package/dist/call-engine/ZaloCallController.js +638 -0
- package/dist/call-engine/ZaloCallTransport.d.ts +83 -0
- package/dist/call-engine/ZaloCallTransport.js +233 -0
- package/dist/call-engine/ZaloRtcSession.d.ts +609 -0
- package/dist/call-engine/ZaloRtcSession.js +2931 -0
- package/dist/call-engine/ZaloSrtpSession.d.ts +80 -0
- package/dist/call-engine/ZaloSrtpSession.js +278 -0
- package/dist/call-engine/index.d.ts +18 -0
- package/dist/call-engine/index.js +24 -0
- package/dist/cjs/apis/auth/exportSession.cjs +22 -0
- package/dist/cjs/apis/call/addUserGroupCall.cjs +53 -0
- package/dist/cjs/apis/call/answerAckVoiceCall.cjs +43 -0
- package/dist/cjs/apis/call/answerGroupCall.cjs +50 -0
- package/dist/cjs/apis/call/answerVoiceCall.cjs +55 -0
- package/dist/cjs/apis/call/broadcastGroupCallState.cjs +50 -0
- package/dist/cjs/apis/call/cancelGroupCall.cjs +50 -0
- package/dist/cjs/apis/call/cancelVoiceCall.cjs +5 -1
- package/dist/cjs/apis/call/createController.cjs +14 -0
- package/dist/cjs/apis/call/createRtcSession.cjs +15 -0
- package/dist/cjs/apis/call/endGroupCall.cjs +50 -0
- package/dist/cjs/apis/call/finishGroupCall.cjs +52 -0
- package/dist/cjs/apis/call/getGroupCallState.cjs +43 -0
- package/dist/cjs/apis/call/holdVoiceCall.cjs +39 -0
- package/dist/cjs/apis/call/joinGroupCall.cjs +51 -0
- package/dist/cjs/apis/call/logEndVoiceCall.cjs +51 -0
- package/dist/cjs/apis/call/notifyGroupCall.cjs +49 -0
- package/dist/cjs/apis/call/pingGroupCall.cjs +50 -0
- package/dist/cjs/apis/call/requestAudioToVideoCall.cjs +42 -0
- package/dist/cjs/apis/call/requestGroupCall.cjs +51 -0
- package/dist/cjs/apis/call/requestShareScreenCall.cjs +42 -0
- package/dist/cjs/apis/call/requestVoiceCall.cjs +52 -0
- package/dist/cjs/apis/call/ringRingGroupCall.cjs +50 -0
- package/dist/cjs/apis/call/ringRingVoiceCall.cjs +43 -0
- package/dist/cjs/apis/call/sendRequestGroupCall.cjs +53 -0
- package/dist/cjs/apis/call/sendRequestVoiceCall.cjs +56 -0
- package/dist/cjs/apis/call/sendVoiceCall.cjs +10 -8
- package/dist/cjs/apis/call/shareScreenGroupCall.cjs +50 -0
- package/dist/cjs/apis/call/unholdVoiceCall.cjs +39 -0
- package/dist/cjs/apis/call/updateCallMediaState.cjs +66 -0
- package/dist/cjs/apis/chat/getDirectMessageStatus.cjs +58 -0
- package/dist/cjs/apis/chat/getSuggestedConversations.cjs +29 -0
- package/dist/cjs/apis/chat/updatePinConversations.cjs +45 -0
- package/dist/cjs/apis/friend/getFriendProfilesV2.cjs +43 -0
- package/dist/cjs/apis/friend/getFriendsActivePCWeb.cjs +20 -0
- package/dist/cjs/apis/friend/verifyFriend.cjs +42 -0
- package/dist/cjs/apis/group/analyseGroup.cjs +33 -0
- package/dist/cjs/apis/group/checkQuotaCommunityMember.cjs +39 -0
- package/dist/cjs/apis/group/getE2eeGroupList.cjs +20 -0
- package/dist/cjs/apis/group/getGroupChatHistory.cjs +8 -7
- package/dist/cjs/apis/group/getGroupCloudMessagePath.cjs +69 -0
- package/dist/cjs/apis/group/getGroupHistoryLegacy.cjs +7 -6
- package/dist/cjs/apis/group/getGroupMessageStatus.cjs +7 -6
- package/dist/cjs/apis/group/getMultiGroupCloudMessages.cjs +34 -0
- package/dist/cjs/apis/media/getPersonalMedia.cjs +36 -0
- package/dist/cjs/apis/media/getPersonalMediaPreview.cjs +29 -0
- package/dist/cjs/apis/media/removePersonalMedia.cjs +33 -0
- package/dist/cjs/apis.cjs +210 -0
- package/dist/cjs/call-engine/ZRTPPacketCodec.cjs +525 -0
- package/dist/cjs/call-engine/ZaloCallController.cjs +643 -0
- package/dist/cjs/call-engine/ZaloCallTransport.cjs +239 -0
- package/dist/cjs/call-engine/ZaloRtcSession.cjs +2937 -0
- package/dist/cjs/call-engine/ZaloSrtpSession.cjs +287 -0
- package/dist/cjs/constants/protocol.cjs +1 -1
- package/dist/cjs/context.cjs +20 -2
- package/dist/cjs/core/zcloud-client.cjs +1 -2
- package/dist/cjs/crypto/ws-cipher.cjs +66 -2
- package/dist/cjs/index.cjs +63 -6
- package/dist/cjs/models/CallEvent.cjs +95 -1
- package/dist/cjs/realtime/handlers/control.handler.cjs +17 -3
- package/dist/cjs/realtime/listener.cjs +37 -6
- package/dist/cjs/update.cjs +10 -1
- package/dist/cjs/utils.cjs +21 -68
- package/dist/constants/protocol.d.ts +1 -1
- package/dist/constants/protocol.js +1 -1
- package/dist/context.d.ts +10 -0
- package/dist/context.js +20 -2
- package/dist/crypto/ws-cipher.d.ts +7 -0
- package/dist/crypto/ws-cipher.js +64 -2
- package/dist/index.d.ts +47 -4
- package/dist/index.js +2 -0
- package/dist/models/CallEvent.d.ts +15 -0
- package/dist/models/CallEvent.js +95 -1
- package/dist/realtime/handlers/control.handler.js +17 -3
- package/dist/realtime/listener.d.ts +6 -0
- package/dist/realtime/listener.js +37 -6
- package/dist/update.js +10 -1
- package/dist/utils.d.ts +0 -7
- package/dist/utils.js +15 -64
- package/index.d.ts +1 -1
- package/package.json +16 -5
package/dist/apis.js
CHANGED
|
@@ -6,9 +6,16 @@ import { addPollOptionsFactory } from "./apis/board/addPollOptions.js";
|
|
|
6
6
|
import { addQuickMessageFactory } from "./apis/business/addQuickMessage.js";
|
|
7
7
|
import { addReactionFactory } from "./apis/chat/addReaction.js";
|
|
8
8
|
import { addUnreadMarkFactory } from "./apis/chat/addUnreadMark.js";
|
|
9
|
+
import { addUserGroupCallFactory } from "./apis/call/addUserGroupCall.js";
|
|
9
10
|
import { addUserToGroupFactory } from "./apis/group/addUserToGroup.js";
|
|
11
|
+
import { analyseGroupFactory } from "./apis/group/analyseGroup.js";
|
|
12
|
+
import { answerAckVoiceCallFactory } from "./apis/call/answerAckVoiceCall.js";
|
|
13
|
+
import { answerGroupCallFactory } from "./apis/call/answerGroupCall.js";
|
|
14
|
+
import { answerVoiceCallFactory } from "./apis/call/answerVoiceCall.js";
|
|
10
15
|
import { blockUserFactory } from "./apis/friend/blockUser.js";
|
|
11
16
|
import { blockViewFeedFactory } from "./apis/friend/blockViewFeed.js";
|
|
17
|
+
import { broadcastGroupCallStateFactory } from "./apis/call/broadcastGroupCallState.js";
|
|
18
|
+
import { cancelGroupCallFactory } from "./apis/call/cancelGroupCall.js";
|
|
12
19
|
import { cancelPullMobileFactory } from "./apis/sync/cancelPullMobile.js";
|
|
13
20
|
import { cancelVoiceCallFactory } from "./apis/call/cancelVoiceCall.js";
|
|
14
21
|
import { changeAccountAvatarFactory } from "./apis/profile/changeAccountAvatar.js";
|
|
@@ -16,15 +23,18 @@ import { changeFriendAliasFactory } from "./apis/friend/changeFriendAlias.js";
|
|
|
16
23
|
import { changeGroupAvatarFactory } from "./apis/group/changeGroupAvatar.js";
|
|
17
24
|
import { changeGroupNameFactory } from "./apis/group/changeGroupName.js";
|
|
18
25
|
import { changeGroupOwnerFactory } from "./apis/group/changeGroupOwner.js";
|
|
26
|
+
import { checkQuotaCommunityMemberFactory } from "./apis/group/checkQuotaCommunityMember.js";
|
|
19
27
|
import { clearUnreadFriendRequestsFactory } from "./apis/friend/clearUnreadFriendRequests.js";
|
|
20
28
|
import { createAutoReplyFactory } from "./apis/business/createAutoReply.js";
|
|
21
29
|
import { createBankAccountFactory } from "./apis/business/createBankAccount.js";
|
|
22
30
|
import { createCatalogFactory } from "./apis/business/createCatalog.js";
|
|
31
|
+
import { createControllerFactory } from "./apis/call/createController.js";
|
|
23
32
|
import { createGroupFactory } from "./apis/group/createGroup.js";
|
|
24
33
|
import { createNoteFactory } from "./apis/board/createNote.js";
|
|
25
34
|
import { createPollFactory } from "./apis/board/createPoll.js";
|
|
26
35
|
import { createProductCatalogFactory } from "./apis/business/createProductCatalog.js";
|
|
27
36
|
import { createReminderFactory } from "./apis/board/createReminder.js";
|
|
37
|
+
import { createRtcSessionFactory } from "./apis/call/createRtcSession.js";
|
|
28
38
|
import { decryptGidsFactory } from "./apis/auth/decryptGids.js";
|
|
29
39
|
import { deleteAutoReplyFactory } from "./apis/business/deleteAutoReply.js";
|
|
30
40
|
import { deleteAvatarFactory } from "./apis/profile/deleteAvatar.js";
|
|
@@ -41,10 +51,13 @@ import { editNoteFactory } from "./apis/board/editNote.js";
|
|
|
41
51
|
import { editReminderFactory } from "./apis/board/editReminder.js";
|
|
42
52
|
import { enableGroupLinkFactory } from "./apis/group/enableGroupLink.js";
|
|
43
53
|
import { encryptGidsFactory } from "./apis/auth/encryptGids.js";
|
|
54
|
+
import { endGroupCallFactory } from "./apis/call/endGroupCall.js";
|
|
44
55
|
import { endVoiceCallFactory } from "./apis/call/endVoiceCall.js";
|
|
56
|
+
import { exportSessionFactory } from "./apis/auth/exportSession.js";
|
|
45
57
|
import { fetchAccountInfoFactory } from "./apis/profile/fetchAccountInfo.js";
|
|
46
58
|
import { findUserFactory } from "./apis/friend/findUser.js";
|
|
47
59
|
import { findUserByUsernameFactory } from "./apis/friend/findUserByUsername.js";
|
|
60
|
+
import { finishGroupCallFactory } from "./apis/call/finishGroupCall.js";
|
|
48
61
|
import { forwardMessageFactory } from "./apis/chat/forwardMessage.js";
|
|
49
62
|
import { getAliasListFactory } from "./apis/friend/getAliasList.js";
|
|
50
63
|
import { getAliasListV2Factory } from "./apis/friend/getAliasListV2.js";
|
|
@@ -65,6 +78,8 @@ import { getCloudViewerKeyFactory } from "./apis/zcloud/getCloudViewerKey.js";
|
|
|
65
78
|
import { getContextFactory } from "./apis/auth/getContext.js";
|
|
66
79
|
import { getConversationMediaFactory } from "./apis/media/getConversationMedia.js";
|
|
67
80
|
import { getCookieFactory } from "./apis/auth/getCookie.js";
|
|
81
|
+
import { getDirectMessageStatusFactory } from "./apis/chat/getDirectMessageStatus.js";
|
|
82
|
+
import { getE2eeGroupListFactory } from "./apis/group/getE2eeGroupList.js";
|
|
68
83
|
import { getEmojiStatusConfigFactory } from "./apis/profile/getEmojiStatusConfig.js";
|
|
69
84
|
import { getExtraFriendInfoFactory } from "./apis/friend/getExtraFriendInfo.js";
|
|
70
85
|
import { getExtraGroupInfoFactory } from "./apis/group/getExtraGroupInfo.js";
|
|
@@ -73,13 +88,17 @@ import { getFamilyUsageFactory } from "./apis/zcloud/getFamilyUsage.js";
|
|
|
73
88
|
import { getFamilyViewerKeyFactory } from "./apis/zcloud/getFamilyViewerKey.js";
|
|
74
89
|
import { getFriendBoardListFactory } from "./apis/friend/getFriendBoardList.js";
|
|
75
90
|
import { getFriendOnlinesFactory } from "./apis/friend/getFriendOnlines.js";
|
|
91
|
+
import { getFriendProfilesV2Factory } from "./apis/friend/getFriendProfilesV2.js";
|
|
76
92
|
import { getFriendRecommendationsFactory } from "./apis/friend/getFriendRecommendations.js";
|
|
77
93
|
import { getFriendRequestStatusFactory } from "./apis/friend/getFriendRequestStatus.js";
|
|
94
|
+
import { getFriendsActivePCWebFactory } from "./apis/friend/getFriendsActivePCWeb.js";
|
|
78
95
|
import { getFriendsEmojiStatusFactory } from "./apis/friend/getFriendsEmojiStatus.js";
|
|
79
96
|
import { getFullAvatarFactory } from "./apis/profile/getFullAvatar.js";
|
|
80
97
|
import { getGroupBlockedMemberFactory } from "./apis/group/getGroupBlockedMember.js";
|
|
98
|
+
import { getGroupCallStateFactory } from "./apis/call/getGroupCallState.js";
|
|
81
99
|
import { getGroupChatHistoryFactory } from "./apis/group/getGroupChatHistory.js";
|
|
82
100
|
import { getGroupCloudMessageJumpFactory } from "./apis/group/getGroupCloudMessageJump.js";
|
|
101
|
+
import { getGroupCloudMessagePathFactory } from "./apis/group/getGroupCloudMessagePath.js";
|
|
83
102
|
import { getGroupHistoryLegacyFactory } from "./apis/group/getGroupHistoryLegacy.js";
|
|
84
103
|
import { getGroupInfoFactory } from "./apis/group/getGroupInfo.js";
|
|
85
104
|
import { getGroupInfoV2Factory } from "./apis/group/getGroupInfoV2.js";
|
|
@@ -103,12 +122,15 @@ import { getListPinTopicsFactory } from "./apis/board/getListPinTopics.js";
|
|
|
103
122
|
import { getListReminderFactory } from "./apis/board/getListReminder.js";
|
|
104
123
|
import { getMediaStorePreviewFactory } from "./apis/media/getMediaStorePreview.js";
|
|
105
124
|
import { getMiniProfileFactory } from "./apis/profile/getMiniProfile.js";
|
|
125
|
+
import { getMultiGroupCloudMessagesFactory } from "./apis/group/getMultiGroupCloudMessages.js";
|
|
106
126
|
import { getMultiUsersByPhonesFactory } from "./apis/friend/getMultiUsersByPhones.js";
|
|
107
127
|
import { getMuteFactory } from "./apis/chat/getMute.js";
|
|
108
128
|
import { getNoisedIdsFactory } from "./apis/auth/getNoisedIds.js";
|
|
109
129
|
import { getOwnIdFactory } from "./apis/auth/getOwnId.js";
|
|
110
130
|
import { getPendingGroupMembersFactory } from "./apis/group/getPendingGroupMembers.js";
|
|
111
131
|
import { getPersonalizedStickerListFactory } from "./apis/sticker/getPersonalizedStickerList.js";
|
|
132
|
+
import { getPersonalMediaFactory } from "./apis/media/getPersonalMedia.js";
|
|
133
|
+
import { getPersonalMediaPreviewFactory } from "./apis/media/getPersonalMediaPreview.js";
|
|
112
134
|
import { getPhonebookV2Factory } from "./apis/friend/getPhonebookV2.js";
|
|
113
135
|
import { getPinConversationsFactory } from "./apis/chat/getPinConversations.js";
|
|
114
136
|
import { getPollDetailFactory } from "./apis/board/getPollDetail.js";
|
|
@@ -132,20 +154,26 @@ import { getStickersFactory } from "./apis/sticker/getStickers.js";
|
|
|
132
154
|
import { getStickersDetailFactory } from "./apis/sticker/getStickersDetail.js";
|
|
133
155
|
import { getStickerSuggestionFactory } from "./apis/sticker/getStickerSuggestion.js";
|
|
134
156
|
import { getStickerSuggestKeywordsFactory } from "./apis/sticker/getStickerSuggestKeywords.js";
|
|
157
|
+
import { getSuggestedConversationsFactory } from "./apis/chat/getSuggestedConversations.js";
|
|
135
158
|
import { getSyncDataFactory } from "./apis/sync/getSyncData.js";
|
|
136
159
|
import { getUnreadMarkFactory } from "./apis/chat/getUnreadMark.js";
|
|
137
160
|
import { getUsageMyCloudFactory } from "./apis/zcloud/getUsageMyCloud.js";
|
|
138
161
|
import { getUsageZCloudFactory } from "./apis/zcloud/getUsageZCloud.js";
|
|
139
162
|
import { getUserInfoFactory } from "./apis/profile/getUserInfo.js";
|
|
163
|
+
import { holdVoiceCallFactory } from "./apis/call/holdVoiceCall.js";
|
|
140
164
|
import { inviteUserToGroupsFactory } from "./apis/group/inviteUserToGroups.js";
|
|
165
|
+
import { joinGroupCallFactory } from "./apis/call/joinGroupCall.js";
|
|
141
166
|
import { joinGroupInviteBoxFactory } from "./apis/group/joinGroupInviteBox.js";
|
|
142
167
|
import { joinGroupLinkFactory } from "./apis/group/joinGroupLink.js";
|
|
143
168
|
import { keepAliveFactory } from "./apis/auth/keepAlive.js";
|
|
144
169
|
import { lastOnlineFactory } from "./apis/friend/lastOnline.js";
|
|
145
170
|
import { leaveGroupFactory } from "./apis/group/leaveGroup.js";
|
|
146
171
|
import { lockPollFactory } from "./apis/board/lockPoll.js";
|
|
172
|
+
import { logEndVoiceCallFactory } from "./apis/call/logEndVoiceCall.js";
|
|
147
173
|
import { lostFocusFactory } from "./apis/auth/lostFocus.js";
|
|
174
|
+
import { notifyGroupCallFactory } from "./apis/call/notifyGroupCall.js";
|
|
148
175
|
import { parseLinkFactory } from "./apis/chat/parseLink.js";
|
|
176
|
+
import { pingGroupCallFactory } from "./apis/call/pingGroupCall.js";
|
|
149
177
|
import { preloadConversationsFactory } from "./apis/chat/preloadConversations.js";
|
|
150
178
|
import { pullMobileFactory } from "./apis/sync/pullMobile.js";
|
|
151
179
|
import { readContactTabFactory } from "./apis/friend/readContactTab.js";
|
|
@@ -156,14 +184,21 @@ import { removeFriendFactory } from "./apis/friend/removeFriend.js";
|
|
|
156
184
|
import { removeFriendAliasFactory } from "./apis/friend/removeFriendAlias.js";
|
|
157
185
|
import { removeGroupBlockedMemberFactory } from "./apis/group/removeGroupBlockedMember.js";
|
|
158
186
|
import { removeGroupDeputyFactory } from "./apis/group/removeGroupDeputy.js";
|
|
187
|
+
import { removePersonalMediaFactory } from "./apis/media/removePersonalMedia.js";
|
|
159
188
|
import { removeQuickMessageFactory } from "./apis/business/removeQuickMessage.js";
|
|
160
189
|
import { removeReminderFactory } from "./apis/board/removeReminder.js";
|
|
161
190
|
import { removeUnreadMarkFactory } from "./apis/chat/removeUnreadMark.js";
|
|
162
191
|
import { removeUserFromGroupFactory } from "./apis/group/removeUserFromGroup.js";
|
|
192
|
+
import { requestAudioToVideoCallFactory } from "./apis/call/requestAudioToVideoCall.js";
|
|
193
|
+
import { requestGroupCallFactory } from "./apis/call/requestGroupCall.js";
|
|
194
|
+
import { requestShareScreenCallFactory } from "./apis/call/requestShareScreenCall.js";
|
|
163
195
|
import { requestSyncFromPhoneFactory } from "./apis/sync/requestSyncFromPhone.js";
|
|
196
|
+
import { requestVoiceCallFactory } from "./apis/call/requestVoiceCall.js";
|
|
164
197
|
import { resetHiddenConversPinFactory } from "./apis/chat/resetHiddenConversPin.js";
|
|
165
198
|
import { reuseAvatarFactory } from "./apis/profile/reuseAvatar.js";
|
|
166
199
|
import { reviewPendingMemberRequestFactory } from "./apis/group/reviewPendingMemberRequest.js";
|
|
200
|
+
import { ringRingGroupCallFactory } from "./apis/call/ringRingGroupCall.js";
|
|
201
|
+
import { ringRingVoiceCallFactory } from "./apis/call/ringRingVoiceCall.js";
|
|
167
202
|
import { scanURLFactory } from "./apis/auth/scanURL.js";
|
|
168
203
|
import { searchStickerFactory } from "./apis/sticker/searchSticker.js";
|
|
169
204
|
import { sendBankCardFactory } from "./apis/chat/sendBankCard.js";
|
|
@@ -173,6 +208,8 @@ import { sendFriendRequestFactory } from "./apis/friend/sendFriendRequest.js";
|
|
|
173
208
|
import { sendLinkFactory } from "./apis/chat/sendLink.js";
|
|
174
209
|
import { sendMessageFactory } from "./apis/chat/sendMessage.js";
|
|
175
210
|
import { sendReportFactory } from "./apis/chat/sendReport.js";
|
|
211
|
+
import { sendRequestGroupCallFactory } from "./apis/call/sendRequestGroupCall.js";
|
|
212
|
+
import { sendRequestVoiceCallFactory } from "./apis/call/sendRequestVoiceCall.js";
|
|
176
213
|
import { sendSeenEventFactory } from "./apis/chat/sendSeenEvent.js";
|
|
177
214
|
import { sendStickerFactory } from "./apis/chat/sendSticker.js";
|
|
178
215
|
import { sendTypingEventFactory } from "./apis/chat/sendTypingEvent.js";
|
|
@@ -183,20 +220,24 @@ import { setHiddenConversationsFactory } from "./apis/chat/setHiddenConversation
|
|
|
183
220
|
import { setMuteFactory } from "./apis/chat/setMute.js";
|
|
184
221
|
import { setPinnedConversationsFactory } from "./apis/chat/setPinnedConversations.js";
|
|
185
222
|
import { sharePollFactory } from "./apis/board/sharePoll.js";
|
|
223
|
+
import { shareScreenGroupCallFactory } from "./apis/call/shareScreenGroupCall.js";
|
|
186
224
|
import { unblockUserFactory } from "./apis/friend/unblockUser.js";
|
|
187
225
|
import { undoFactory } from "./apis/chat/undo.js";
|
|
188
226
|
import { undoFriendRequestFactory } from "./apis/friend/undoFriendRequest.js";
|
|
189
227
|
import { undoMultiMessageFactory } from "./apis/chat/undoMultiMessage.js";
|
|
228
|
+
import { unholdVoiceCallFactory } from "./apis/call/unholdVoiceCall.js";
|
|
190
229
|
import { updateActiveStatusFactory } from "./apis/auth/updateActiveStatus.js";
|
|
191
230
|
import { updateArchivedChatListFactory } from "./apis/chat/updateArchivedChatList.js";
|
|
192
231
|
import { updateAutoDeleteChatFactory } from "./apis/chat/updateAutoDeleteChat.js";
|
|
193
232
|
import { updateAutoReplyFactory } from "./apis/business/updateAutoReply.js";
|
|
194
233
|
import { updateBankAccountFactory } from "./apis/business/updateBankAccount.js";
|
|
234
|
+
import { updateCallMediaStateFactory } from "./apis/call/updateCallMediaState.js";
|
|
195
235
|
import { updateCatalogFactory } from "./apis/business/updateCatalog.js";
|
|
196
236
|
import { updateGroupSettingsFactory } from "./apis/group/updateGroupSettings.js";
|
|
197
237
|
import { updateHiddenConversPinFactory } from "./apis/chat/updateHiddenConversPin.js";
|
|
198
238
|
import { updateLabelsFactory } from "./apis/business/updateLabels.js";
|
|
199
239
|
import { updateLangFactory } from "./apis/auth/updateLang.js";
|
|
240
|
+
import { updatePinConversationsFactory } from "./apis/chat/updatePinConversations.js";
|
|
200
241
|
import { updateProductCatalogFactory } from "./apis/business/updateProductCatalog.js";
|
|
201
242
|
import { updateProfileFactory } from "./apis/profile/updateProfile.js";
|
|
202
243
|
import { updateProfileBioFactory } from "./apis/profile/updateProfileBio.js";
|
|
@@ -207,6 +248,7 @@ import { upgradeGroupToCommunityFactory } from "./apis/group/upgradeGroupToCommu
|
|
|
207
248
|
import { uploadAttachmentFactory } from "./apis/media/uploadAttachment.js";
|
|
208
249
|
import { uploadProductPhotoFactory } from "./apis/business/uploadProductPhoto.js";
|
|
209
250
|
import { verifyCloudMediaFactory } from "./apis/zcloud/verifyCloudMedia.js";
|
|
251
|
+
import { verifyFriendFactory } from "./apis/friend/verifyFriend.js";
|
|
210
252
|
import { voiceToTextFactory } from "./apis/media/voiceToText.js";
|
|
211
253
|
import { votePollFactory } from "./apis/board/votePoll.js";
|
|
212
254
|
import { customFactory } from "./apis/custom.js";
|
|
@@ -231,6 +273,7 @@ export class API {
|
|
|
231
273
|
const createNamespace = (api) => ({
|
|
232
274
|
get decryptGids() { return api.decryptGids; },
|
|
233
275
|
get encryptGids() { return api.encryptGids; },
|
|
276
|
+
get exportSession() { return api.exportSession; },
|
|
234
277
|
get getContext() { return api.getContext; },
|
|
235
278
|
get getCookie() { return api.getCookie; },
|
|
236
279
|
get getListDevice() { return api.getListDevice; },
|
|
@@ -308,9 +351,36 @@ export class API {
|
|
|
308
351
|
get call() {
|
|
309
352
|
if (!this._domains.call) {
|
|
310
353
|
const createNamespace = (api) => ({
|
|
354
|
+
get addUserGroupCall() { return api.addUserGroupCall; },
|
|
355
|
+
get answerAckVoiceCall() { return api.answerAckVoiceCall; },
|
|
356
|
+
get answerGroupCall() { return api.answerGroupCall; },
|
|
357
|
+
get answerVoiceCall() { return api.answerVoiceCall; },
|
|
358
|
+
get broadcastGroupCallState() { return api.broadcastGroupCallState; },
|
|
359
|
+
get cancelGroupCall() { return api.cancelGroupCall; },
|
|
311
360
|
get cancelVoiceCall() { return api.cancelVoiceCall; },
|
|
361
|
+
get createController() { return api.createController; },
|
|
362
|
+
get createRtcSession() { return api.createRtcSession; },
|
|
363
|
+
get endGroupCall() { return api.endGroupCall; },
|
|
312
364
|
get endVoiceCall() { return api.endVoiceCall; },
|
|
365
|
+
get finishGroupCall() { return api.finishGroupCall; },
|
|
366
|
+
get getGroupCallState() { return api.getGroupCallState; },
|
|
367
|
+
get holdVoiceCall() { return api.holdVoiceCall; },
|
|
368
|
+
get joinGroupCall() { return api.joinGroupCall; },
|
|
369
|
+
get logEndVoiceCall() { return api.logEndVoiceCall; },
|
|
370
|
+
get notifyGroupCall() { return api.notifyGroupCall; },
|
|
371
|
+
get pingGroupCall() { return api.pingGroupCall; },
|
|
372
|
+
get requestAudioToVideoCall() { return api.requestAudioToVideoCall; },
|
|
373
|
+
get requestGroupCall() { return api.requestGroupCall; },
|
|
374
|
+
get requestShareScreenCall() { return api.requestShareScreenCall; },
|
|
375
|
+
get requestVoiceCall() { return api.requestVoiceCall; },
|
|
376
|
+
get ringRingGroupCall() { return api.ringRingGroupCall; },
|
|
377
|
+
get ringRingVoiceCall() { return api.ringRingVoiceCall; },
|
|
378
|
+
get sendRequestGroupCall() { return api.sendRequestGroupCall; },
|
|
379
|
+
get sendRequestVoiceCall() { return api.sendRequestVoiceCall; },
|
|
313
380
|
get sendVoiceCall() { return api.sendVoiceCall; },
|
|
381
|
+
get shareScreenGroupCall() { return api.shareScreenGroupCall; },
|
|
382
|
+
get unholdVoiceCall() { return api.unholdVoiceCall; },
|
|
383
|
+
get updateCallMediaState() { return api.updateCallMediaState; },
|
|
314
384
|
});
|
|
315
385
|
this._domains.call = createNamespace(this);
|
|
316
386
|
}
|
|
@@ -326,12 +396,14 @@ export class API {
|
|
|
326
396
|
get forwardMessage() { return api.forwardMessage; },
|
|
327
397
|
get getArchivedChatList() { return api.getArchivedChatList; },
|
|
328
398
|
get getAutoDeleteChat() { return api.getAutoDeleteChat; },
|
|
399
|
+
get getDirectMessageStatus() { return api.getDirectMessageStatus; },
|
|
329
400
|
get getHiddenConversations() { return api.getHiddenConversations; },
|
|
330
401
|
get getLastSeen() { return api.getLastSeen; },
|
|
331
402
|
get getLastSeenReaction() { return api.getLastSeenReaction; },
|
|
332
403
|
get getMute() { return api.getMute; },
|
|
333
404
|
get getPinConversations() { return api.getPinConversations; },
|
|
334
405
|
get getRecentSearchList() { return api.getRecentSearchList; },
|
|
406
|
+
get getSuggestedConversations() { return api.getSuggestedConversations; },
|
|
335
407
|
get getUnreadMark() { return api.getUnreadMark; },
|
|
336
408
|
get parseLink() { return api.parseLink; },
|
|
337
409
|
get preloadConversations() { return api.preloadConversations; },
|
|
@@ -356,6 +428,7 @@ export class API {
|
|
|
356
428
|
get updateArchivedChatList() { return api.updateArchivedChatList; },
|
|
357
429
|
get updateAutoDeleteChat() { return api.updateAutoDeleteChat; },
|
|
358
430
|
get updateHiddenConversPin() { return api.updateHiddenConversPin; },
|
|
431
|
+
get updatePinConversations() { return api.updatePinConversations; },
|
|
359
432
|
get updateRecentSearch() { return api.updateRecentSearch; },
|
|
360
433
|
});
|
|
361
434
|
this._domains.chat = createNamespace(this);
|
|
@@ -380,8 +453,10 @@ export class API {
|
|
|
380
453
|
get getExtraFriendInfo() { return api.getExtraFriendInfo; },
|
|
381
454
|
get getFriendBoardList() { return api.getFriendBoardList; },
|
|
382
455
|
get getFriendOnlines() { return api.getFriendOnlines; },
|
|
456
|
+
get getFriendProfilesV2() { return api.getFriendProfilesV2; },
|
|
383
457
|
get getFriendRecommendations() { return api.getFriendRecommendations; },
|
|
384
458
|
get getFriendRequestStatus() { return api.getFriendRequestStatus; },
|
|
459
|
+
get getFriendsActivePCWeb() { return api.getFriendsActivePCWeb; },
|
|
385
460
|
get getFriendsEmojiStatus() { return api.getFriendsEmojiStatus; },
|
|
386
461
|
get getLastReadContactTab() { return api.getLastReadContactTab; },
|
|
387
462
|
get getMultiUsersByPhones() { return api.getMultiUsersByPhones; },
|
|
@@ -395,6 +470,7 @@ export class API {
|
|
|
395
470
|
get sendFriendRequest() { return api.sendFriendRequest; },
|
|
396
471
|
get unblockUser() { return api.unblockUser; },
|
|
397
472
|
get undoFriendRequest() { return api.undoFriendRequest; },
|
|
473
|
+
get verifyFriend() { return api.verifyFriend; },
|
|
398
474
|
});
|
|
399
475
|
this._domains.friend = createNamespace(this);
|
|
400
476
|
}
|
|
@@ -406,19 +482,23 @@ export class API {
|
|
|
406
482
|
get addGroupBlockedMember() { return api.addGroupBlockedMember; },
|
|
407
483
|
get addGroupDeputy() { return api.addGroupDeputy; },
|
|
408
484
|
get addUserToGroup() { return api.addUserToGroup; },
|
|
485
|
+
get analyseGroup() { return api.analyseGroup; },
|
|
409
486
|
get changeGroupAvatar() { return api.changeGroupAvatar; },
|
|
410
487
|
get changeGroupName() { return api.changeGroupName; },
|
|
411
488
|
get changeGroupOwner() { return api.changeGroupOwner; },
|
|
489
|
+
get checkQuotaCommunityMember() { return api.checkQuotaCommunityMember; },
|
|
412
490
|
get createGroup() { return api.createGroup; },
|
|
413
491
|
get deleteGroupInviteBox() { return api.deleteGroupInviteBox; },
|
|
414
492
|
get disableGroupLink() { return api.disableGroupLink; },
|
|
415
493
|
get disperseGroup() { return api.disperseGroup; },
|
|
416
494
|
get enableGroupLink() { return api.enableGroupLink; },
|
|
417
495
|
get getAllGroups() { return api.getAllGroups; },
|
|
496
|
+
get getE2eeGroupList() { return api.getE2eeGroupList; },
|
|
418
497
|
get getExtraGroupInfo() { return api.getExtraGroupInfo; },
|
|
419
498
|
get getGroupBlockedMember() { return api.getGroupBlockedMember; },
|
|
420
499
|
get getGroupChatHistory() { return api.getGroupChatHistory; },
|
|
421
500
|
get getGroupCloudMessageJump() { return api.getGroupCloudMessageJump; },
|
|
501
|
+
get getGroupCloudMessagePath() { return api.getGroupCloudMessagePath; },
|
|
422
502
|
get getGroupHistoryLegacy() { return api.getGroupHistoryLegacy; },
|
|
423
503
|
get getGroupInfo() { return api.getGroupInfo; },
|
|
424
504
|
get getGroupInfoV2() { return api.getGroupInfoV2; },
|
|
@@ -429,6 +509,7 @@ export class API {
|
|
|
429
509
|
get getGroupListV3() { return api.getGroupListV3; },
|
|
430
510
|
get getGroupMembersInfo() { return api.getGroupMembersInfo; },
|
|
431
511
|
get getGroupMessageStatus() { return api.getGroupMessageStatus; },
|
|
512
|
+
get getMultiGroupCloudMessages() { return api.getMultiGroupCloudMessages; },
|
|
432
513
|
get getPendingGroupMembers() { return api.getPendingGroupMembers; },
|
|
433
514
|
get getQuotaCommunity() { return api.getQuotaCommunity; },
|
|
434
515
|
get getRelatedFriendGroup() { return api.getRelatedFriendGroup; },
|
|
@@ -452,7 +533,10 @@ export class API {
|
|
|
452
533
|
const createNamespace = (api) => ({
|
|
453
534
|
get getConversationMedia() { return api.getConversationMedia; },
|
|
454
535
|
get getMediaStorePreview() { return api.getMediaStorePreview; },
|
|
536
|
+
get getPersonalMedia() { return api.getPersonalMedia; },
|
|
537
|
+
get getPersonalMediaPreview() { return api.getPersonalMediaPreview; },
|
|
455
538
|
get removeConversationMedia() { return api.removeConversationMedia; },
|
|
539
|
+
get removePersonalMedia() { return api.removePersonalMedia; },
|
|
456
540
|
get uploadAttachment() { return api.uploadAttachment; },
|
|
457
541
|
get voiceToText() { return api.voiceToText; },
|
|
458
542
|
});
|
|
@@ -556,15 +640,36 @@ export class API {
|
|
|
556
640
|
get addUnreadMark() {
|
|
557
641
|
return (this._cache.addUnreadMark ??= addUnreadMarkFactory(this.ctx, this));
|
|
558
642
|
}
|
|
643
|
+
get addUserGroupCall() {
|
|
644
|
+
return (this._cache.addUserGroupCall ??= addUserGroupCallFactory(this.ctx, this));
|
|
645
|
+
}
|
|
559
646
|
get addUserToGroup() {
|
|
560
647
|
return (this._cache.addUserToGroup ??= addUserToGroupFactory(this.ctx, this));
|
|
561
648
|
}
|
|
649
|
+
get analyseGroup() {
|
|
650
|
+
return (this._cache.analyseGroup ??= analyseGroupFactory(this.ctx, this));
|
|
651
|
+
}
|
|
652
|
+
get answerAckVoiceCall() {
|
|
653
|
+
return (this._cache.answerAckVoiceCall ??= answerAckVoiceCallFactory(this.ctx, this));
|
|
654
|
+
}
|
|
655
|
+
get answerGroupCall() {
|
|
656
|
+
return (this._cache.answerGroupCall ??= answerGroupCallFactory(this.ctx, this));
|
|
657
|
+
}
|
|
658
|
+
get answerVoiceCall() {
|
|
659
|
+
return (this._cache.answerVoiceCall ??= answerVoiceCallFactory(this.ctx, this));
|
|
660
|
+
}
|
|
562
661
|
get blockUser() {
|
|
563
662
|
return (this._cache.blockUser ??= blockUserFactory(this.ctx, this));
|
|
564
663
|
}
|
|
565
664
|
get blockViewFeed() {
|
|
566
665
|
return (this._cache.blockViewFeed ??= blockViewFeedFactory(this.ctx, this));
|
|
567
666
|
}
|
|
667
|
+
get broadcastGroupCallState() {
|
|
668
|
+
return (this._cache.broadcastGroupCallState ??= broadcastGroupCallStateFactory(this.ctx, this));
|
|
669
|
+
}
|
|
670
|
+
get cancelGroupCall() {
|
|
671
|
+
return (this._cache.cancelGroupCall ??= cancelGroupCallFactory(this.ctx, this));
|
|
672
|
+
}
|
|
568
673
|
get cancelPullMobile() {
|
|
569
674
|
return (this._cache.cancelPullMobile ??= cancelPullMobileFactory(this.ctx, this));
|
|
570
675
|
}
|
|
@@ -586,6 +691,9 @@ export class API {
|
|
|
586
691
|
get changeGroupOwner() {
|
|
587
692
|
return (this._cache.changeGroupOwner ??= changeGroupOwnerFactory(this.ctx, this));
|
|
588
693
|
}
|
|
694
|
+
get checkQuotaCommunityMember() {
|
|
695
|
+
return (this._cache.checkQuotaCommunityMember ??= checkQuotaCommunityMemberFactory(this.ctx, this));
|
|
696
|
+
}
|
|
589
697
|
get clearUnreadFriendRequests() {
|
|
590
698
|
return (this._cache.clearUnreadFriendRequests ??= clearUnreadFriendRequestsFactory(this.ctx, this));
|
|
591
699
|
}
|
|
@@ -598,6 +706,9 @@ export class API {
|
|
|
598
706
|
get createCatalog() {
|
|
599
707
|
return (this._cache.createCatalog ??= createCatalogFactory(this.ctx, this));
|
|
600
708
|
}
|
|
709
|
+
get createController() {
|
|
710
|
+
return (this._cache.createController ??= createControllerFactory(this.ctx, this));
|
|
711
|
+
}
|
|
601
712
|
get createGroup() {
|
|
602
713
|
return (this._cache.createGroup ??= createGroupFactory(this.ctx, this));
|
|
603
714
|
}
|
|
@@ -613,6 +724,9 @@ export class API {
|
|
|
613
724
|
get createReminder() {
|
|
614
725
|
return (this._cache.createReminder ??= createReminderFactory(this.ctx, this));
|
|
615
726
|
}
|
|
727
|
+
get createRtcSession() {
|
|
728
|
+
return (this._cache.createRtcSession ??= createRtcSessionFactory(this.ctx, this));
|
|
729
|
+
}
|
|
616
730
|
get decryptGids() {
|
|
617
731
|
return (this._cache.decryptGids ??= decryptGidsFactory(this.ctx, this));
|
|
618
732
|
}
|
|
@@ -661,9 +775,15 @@ export class API {
|
|
|
661
775
|
get encryptGids() {
|
|
662
776
|
return (this._cache.encryptGids ??= encryptGidsFactory(this.ctx, this));
|
|
663
777
|
}
|
|
778
|
+
get endGroupCall() {
|
|
779
|
+
return (this._cache.endGroupCall ??= endGroupCallFactory(this.ctx, this));
|
|
780
|
+
}
|
|
664
781
|
get endVoiceCall() {
|
|
665
782
|
return (this._cache.endVoiceCall ??= endVoiceCallFactory(this.ctx, this));
|
|
666
783
|
}
|
|
784
|
+
get exportSession() {
|
|
785
|
+
return (this._cache.exportSession ??= exportSessionFactory(this.ctx, this));
|
|
786
|
+
}
|
|
667
787
|
get fetchAccountInfo() {
|
|
668
788
|
return (this._cache.fetchAccountInfo ??= fetchAccountInfoFactory(this.ctx, this));
|
|
669
789
|
}
|
|
@@ -673,6 +793,9 @@ export class API {
|
|
|
673
793
|
get findUserByUsername() {
|
|
674
794
|
return (this._cache.findUserByUsername ??= findUserByUsernameFactory(this.ctx, this));
|
|
675
795
|
}
|
|
796
|
+
get finishGroupCall() {
|
|
797
|
+
return (this._cache.finishGroupCall ??= finishGroupCallFactory(this.ctx, this));
|
|
798
|
+
}
|
|
676
799
|
get forwardMessage() {
|
|
677
800
|
return (this._cache.forwardMessage ??= forwardMessageFactory(this.ctx, this));
|
|
678
801
|
}
|
|
@@ -733,6 +856,12 @@ export class API {
|
|
|
733
856
|
get getCookie() {
|
|
734
857
|
return (this._cache.getCookie ??= getCookieFactory(this.ctx, this));
|
|
735
858
|
}
|
|
859
|
+
get getDirectMessageStatus() {
|
|
860
|
+
return (this._cache.getDirectMessageStatus ??= getDirectMessageStatusFactory(this.ctx, this));
|
|
861
|
+
}
|
|
862
|
+
get getE2eeGroupList() {
|
|
863
|
+
return (this._cache.getE2eeGroupList ??= getE2eeGroupListFactory(this.ctx, this));
|
|
864
|
+
}
|
|
736
865
|
get getEmojiStatusConfig() {
|
|
737
866
|
return (this._cache.getEmojiStatusConfig ??= getEmojiStatusConfigFactory(this.ctx, this));
|
|
738
867
|
}
|
|
@@ -757,12 +886,18 @@ export class API {
|
|
|
757
886
|
get getFriendOnlines() {
|
|
758
887
|
return (this._cache.getFriendOnlines ??= getFriendOnlinesFactory(this.ctx, this));
|
|
759
888
|
}
|
|
889
|
+
get getFriendProfilesV2() {
|
|
890
|
+
return (this._cache.getFriendProfilesV2 ??= getFriendProfilesV2Factory(this.ctx, this));
|
|
891
|
+
}
|
|
760
892
|
get getFriendRecommendations() {
|
|
761
893
|
return (this._cache.getFriendRecommendations ??= getFriendRecommendationsFactory(this.ctx, this));
|
|
762
894
|
}
|
|
763
895
|
get getFriendRequestStatus() {
|
|
764
896
|
return (this._cache.getFriendRequestStatus ??= getFriendRequestStatusFactory(this.ctx, this));
|
|
765
897
|
}
|
|
898
|
+
get getFriendsActivePCWeb() {
|
|
899
|
+
return (this._cache.getFriendsActivePCWeb ??= getFriendsActivePCWebFactory(this.ctx, this));
|
|
900
|
+
}
|
|
766
901
|
get getFriendsEmojiStatus() {
|
|
767
902
|
return (this._cache.getFriendsEmojiStatus ??= getFriendsEmojiStatusFactory(this.ctx, this));
|
|
768
903
|
}
|
|
@@ -772,12 +907,18 @@ export class API {
|
|
|
772
907
|
get getGroupBlockedMember() {
|
|
773
908
|
return (this._cache.getGroupBlockedMember ??= getGroupBlockedMemberFactory(this.ctx, this));
|
|
774
909
|
}
|
|
910
|
+
get getGroupCallState() {
|
|
911
|
+
return (this._cache.getGroupCallState ??= getGroupCallStateFactory(this.ctx, this));
|
|
912
|
+
}
|
|
775
913
|
get getGroupChatHistory() {
|
|
776
914
|
return (this._cache.getGroupChatHistory ??= getGroupChatHistoryFactory(this.ctx, this));
|
|
777
915
|
}
|
|
778
916
|
get getGroupCloudMessageJump() {
|
|
779
917
|
return (this._cache.getGroupCloudMessageJump ??= getGroupCloudMessageJumpFactory(this.ctx, this));
|
|
780
918
|
}
|
|
919
|
+
get getGroupCloudMessagePath() {
|
|
920
|
+
return (this._cache.getGroupCloudMessagePath ??= getGroupCloudMessagePathFactory(this.ctx, this));
|
|
921
|
+
}
|
|
781
922
|
get getGroupHistoryLegacy() {
|
|
782
923
|
return (this._cache.getGroupHistoryLegacy ??= getGroupHistoryLegacyFactory(this.ctx, this));
|
|
783
924
|
}
|
|
@@ -847,6 +988,9 @@ export class API {
|
|
|
847
988
|
get getMiniProfile() {
|
|
848
989
|
return (this._cache.getMiniProfile ??= getMiniProfileFactory(this.ctx, this));
|
|
849
990
|
}
|
|
991
|
+
get getMultiGroupCloudMessages() {
|
|
992
|
+
return (this._cache.getMultiGroupCloudMessages ??= getMultiGroupCloudMessagesFactory(this.ctx, this));
|
|
993
|
+
}
|
|
850
994
|
get getMultiUsersByPhones() {
|
|
851
995
|
return (this._cache.getMultiUsersByPhones ??= getMultiUsersByPhonesFactory(this.ctx, this));
|
|
852
996
|
}
|
|
@@ -865,6 +1009,12 @@ export class API {
|
|
|
865
1009
|
get getPersonalizedStickerList() {
|
|
866
1010
|
return (this._cache.getPersonalizedStickerList ??= getPersonalizedStickerListFactory(this.ctx, this));
|
|
867
1011
|
}
|
|
1012
|
+
get getPersonalMedia() {
|
|
1013
|
+
return (this._cache.getPersonalMedia ??= getPersonalMediaFactory(this.ctx, this));
|
|
1014
|
+
}
|
|
1015
|
+
get getPersonalMediaPreview() {
|
|
1016
|
+
return (this._cache.getPersonalMediaPreview ??= getPersonalMediaPreviewFactory(this.ctx, this));
|
|
1017
|
+
}
|
|
868
1018
|
get getPhonebookV2() {
|
|
869
1019
|
return (this._cache.getPhonebookV2 ??= getPhonebookV2Factory(this.ctx, this));
|
|
870
1020
|
}
|
|
@@ -934,6 +1084,9 @@ export class API {
|
|
|
934
1084
|
get getStickerSuggestKeywords() {
|
|
935
1085
|
return (this._cache.getStickerSuggestKeywords ??= getStickerSuggestKeywordsFactory(this.ctx, this));
|
|
936
1086
|
}
|
|
1087
|
+
get getSuggestedConversations() {
|
|
1088
|
+
return (this._cache.getSuggestedConversations ??= getSuggestedConversationsFactory(this.ctx, this));
|
|
1089
|
+
}
|
|
937
1090
|
get getSyncData() {
|
|
938
1091
|
return (this._cache.getSyncData ??= getSyncDataFactory(this.ctx, this));
|
|
939
1092
|
}
|
|
@@ -949,9 +1102,15 @@ export class API {
|
|
|
949
1102
|
get getUserInfo() {
|
|
950
1103
|
return (this._cache.getUserInfo ??= getUserInfoFactory(this.ctx, this));
|
|
951
1104
|
}
|
|
1105
|
+
get holdVoiceCall() {
|
|
1106
|
+
return (this._cache.holdVoiceCall ??= holdVoiceCallFactory(this.ctx, this));
|
|
1107
|
+
}
|
|
952
1108
|
get inviteUserToGroups() {
|
|
953
1109
|
return (this._cache.inviteUserToGroups ??= inviteUserToGroupsFactory(this.ctx, this));
|
|
954
1110
|
}
|
|
1111
|
+
get joinGroupCall() {
|
|
1112
|
+
return (this._cache.joinGroupCall ??= joinGroupCallFactory(this.ctx, this));
|
|
1113
|
+
}
|
|
955
1114
|
get joinGroupInviteBox() {
|
|
956
1115
|
return (this._cache.joinGroupInviteBox ??= joinGroupInviteBoxFactory(this.ctx, this));
|
|
957
1116
|
}
|
|
@@ -970,12 +1129,21 @@ export class API {
|
|
|
970
1129
|
get lockPoll() {
|
|
971
1130
|
return (this._cache.lockPoll ??= lockPollFactory(this.ctx, this));
|
|
972
1131
|
}
|
|
1132
|
+
get logEndVoiceCall() {
|
|
1133
|
+
return (this._cache.logEndVoiceCall ??= logEndVoiceCallFactory(this.ctx, this));
|
|
1134
|
+
}
|
|
973
1135
|
get lostFocus() {
|
|
974
1136
|
return (this._cache.lostFocus ??= lostFocusFactory(this.ctx, this));
|
|
975
1137
|
}
|
|
1138
|
+
get notifyGroupCall() {
|
|
1139
|
+
return (this._cache.notifyGroupCall ??= notifyGroupCallFactory(this.ctx, this));
|
|
1140
|
+
}
|
|
976
1141
|
get parseLink() {
|
|
977
1142
|
return (this._cache.parseLink ??= parseLinkFactory(this.ctx, this));
|
|
978
1143
|
}
|
|
1144
|
+
get pingGroupCall() {
|
|
1145
|
+
return (this._cache.pingGroupCall ??= pingGroupCallFactory(this.ctx, this));
|
|
1146
|
+
}
|
|
979
1147
|
get preloadConversations() {
|
|
980
1148
|
return (this._cache.preloadConversations ??= preloadConversationsFactory(this.ctx, this));
|
|
981
1149
|
}
|
|
@@ -1006,6 +1174,9 @@ export class API {
|
|
|
1006
1174
|
get removeGroupDeputy() {
|
|
1007
1175
|
return (this._cache.removeGroupDeputy ??= removeGroupDeputyFactory(this.ctx, this));
|
|
1008
1176
|
}
|
|
1177
|
+
get removePersonalMedia() {
|
|
1178
|
+
return (this._cache.removePersonalMedia ??= removePersonalMediaFactory(this.ctx, this));
|
|
1179
|
+
}
|
|
1009
1180
|
get removeQuickMessage() {
|
|
1010
1181
|
return (this._cache.removeQuickMessage ??= removeQuickMessageFactory(this.ctx, this));
|
|
1011
1182
|
}
|
|
@@ -1018,9 +1189,21 @@ export class API {
|
|
|
1018
1189
|
get removeUserFromGroup() {
|
|
1019
1190
|
return (this._cache.removeUserFromGroup ??= removeUserFromGroupFactory(this.ctx, this));
|
|
1020
1191
|
}
|
|
1192
|
+
get requestAudioToVideoCall() {
|
|
1193
|
+
return (this._cache.requestAudioToVideoCall ??= requestAudioToVideoCallFactory(this.ctx, this));
|
|
1194
|
+
}
|
|
1195
|
+
get requestGroupCall() {
|
|
1196
|
+
return (this._cache.requestGroupCall ??= requestGroupCallFactory(this.ctx, this));
|
|
1197
|
+
}
|
|
1198
|
+
get requestShareScreenCall() {
|
|
1199
|
+
return (this._cache.requestShareScreenCall ??= requestShareScreenCallFactory(this.ctx, this));
|
|
1200
|
+
}
|
|
1021
1201
|
get requestSyncFromPhone() {
|
|
1022
1202
|
return (this._cache.requestSyncFromPhone ??= requestSyncFromPhoneFactory(this.ctx, this));
|
|
1023
1203
|
}
|
|
1204
|
+
get requestVoiceCall() {
|
|
1205
|
+
return (this._cache.requestVoiceCall ??= requestVoiceCallFactory(this.ctx, this));
|
|
1206
|
+
}
|
|
1024
1207
|
get resetHiddenConversPin() {
|
|
1025
1208
|
return (this._cache.resetHiddenConversPin ??= resetHiddenConversPinFactory(this.ctx, this));
|
|
1026
1209
|
}
|
|
@@ -1030,6 +1213,12 @@ export class API {
|
|
|
1030
1213
|
get reviewPendingMemberRequest() {
|
|
1031
1214
|
return (this._cache.reviewPendingMemberRequest ??= reviewPendingMemberRequestFactory(this.ctx, this));
|
|
1032
1215
|
}
|
|
1216
|
+
get ringRingGroupCall() {
|
|
1217
|
+
return (this._cache.ringRingGroupCall ??= ringRingGroupCallFactory(this.ctx, this));
|
|
1218
|
+
}
|
|
1219
|
+
get ringRingVoiceCall() {
|
|
1220
|
+
return (this._cache.ringRingVoiceCall ??= ringRingVoiceCallFactory(this.ctx, this));
|
|
1221
|
+
}
|
|
1033
1222
|
get scanURL() {
|
|
1034
1223
|
return (this._cache.scanURL ??= scanURLFactory(this.ctx, this));
|
|
1035
1224
|
}
|
|
@@ -1057,6 +1246,12 @@ export class API {
|
|
|
1057
1246
|
get sendReport() {
|
|
1058
1247
|
return (this._cache.sendReport ??= sendReportFactory(this.ctx, this));
|
|
1059
1248
|
}
|
|
1249
|
+
get sendRequestGroupCall() {
|
|
1250
|
+
return (this._cache.sendRequestGroupCall ??= sendRequestGroupCallFactory(this.ctx, this));
|
|
1251
|
+
}
|
|
1252
|
+
get sendRequestVoiceCall() {
|
|
1253
|
+
return (this._cache.sendRequestVoiceCall ??= sendRequestVoiceCallFactory(this.ctx, this));
|
|
1254
|
+
}
|
|
1060
1255
|
get sendSeenEvent() {
|
|
1061
1256
|
return (this._cache.sendSeenEvent ??= sendSeenEventFactory(this.ctx, this));
|
|
1062
1257
|
}
|
|
@@ -1087,6 +1282,9 @@ export class API {
|
|
|
1087
1282
|
get sharePoll() {
|
|
1088
1283
|
return (this._cache.sharePoll ??= sharePollFactory(this.ctx, this));
|
|
1089
1284
|
}
|
|
1285
|
+
get shareScreenGroupCall() {
|
|
1286
|
+
return (this._cache.shareScreenGroupCall ??= shareScreenGroupCallFactory(this.ctx, this));
|
|
1287
|
+
}
|
|
1090
1288
|
get unblockUser() {
|
|
1091
1289
|
return (this._cache.unblockUser ??= unblockUserFactory(this.ctx, this));
|
|
1092
1290
|
}
|
|
@@ -1099,6 +1297,9 @@ export class API {
|
|
|
1099
1297
|
get undoMultiMessage() {
|
|
1100
1298
|
return (this._cache.undoMultiMessage ??= undoMultiMessageFactory(this.ctx, this));
|
|
1101
1299
|
}
|
|
1300
|
+
get unholdVoiceCall() {
|
|
1301
|
+
return (this._cache.unholdVoiceCall ??= unholdVoiceCallFactory(this.ctx, this));
|
|
1302
|
+
}
|
|
1102
1303
|
get updateActiveStatus() {
|
|
1103
1304
|
return (this._cache.updateActiveStatus ??= updateActiveStatusFactory(this.ctx, this));
|
|
1104
1305
|
}
|
|
@@ -1114,6 +1315,9 @@ export class API {
|
|
|
1114
1315
|
get updateBankAccount() {
|
|
1115
1316
|
return (this._cache.updateBankAccount ??= updateBankAccountFactory(this.ctx, this));
|
|
1116
1317
|
}
|
|
1318
|
+
get updateCallMediaState() {
|
|
1319
|
+
return (this._cache.updateCallMediaState ??= updateCallMediaStateFactory(this.ctx, this));
|
|
1320
|
+
}
|
|
1117
1321
|
get updateCatalog() {
|
|
1118
1322
|
return (this._cache.updateCatalog ??= updateCatalogFactory(this.ctx, this));
|
|
1119
1323
|
}
|
|
@@ -1129,6 +1333,9 @@ export class API {
|
|
|
1129
1333
|
get updateLang() {
|
|
1130
1334
|
return (this._cache.updateLang ??= updateLangFactory(this.ctx, this));
|
|
1131
1335
|
}
|
|
1336
|
+
get updatePinConversations() {
|
|
1337
|
+
return (this._cache.updatePinConversations ??= updatePinConversationsFactory(this.ctx, this));
|
|
1338
|
+
}
|
|
1132
1339
|
get updateProductCatalog() {
|
|
1133
1340
|
return (this._cache.updateProductCatalog ??= updateProductCatalogFactory(this.ctx, this));
|
|
1134
1341
|
}
|
|
@@ -1159,6 +1366,9 @@ export class API {
|
|
|
1159
1366
|
get verifyCloudMedia() {
|
|
1160
1367
|
return (this._cache.verifyCloudMedia ??= verifyCloudMediaFactory(this.ctx, this));
|
|
1161
1368
|
}
|
|
1369
|
+
get verifyFriend() {
|
|
1370
|
+
return (this._cache.verifyFriend ??= verifyFriendFactory(this.ctx, this));
|
|
1371
|
+
}
|
|
1162
1372
|
get voiceToText() {
|
|
1163
1373
|
return (this._cache.voiceToText ??= voiceToTextFactory(this.ctx, this));
|
|
1164
1374
|
}
|