@open-wa/schema 5.4.0 → 5.5.0
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/dist/calling-media--BLrFrPc.cjs +113 -0
- package/dist/calling-media--BLrFrPc.cjs.map +1 -0
- package/dist/calling-media-BNTYvogE.mjs +60 -0
- package/dist/calling-media-BNTYvogE.mjs.map +1 -0
- package/dist/calling-media-CeGgSzhw.d.cts +48 -0
- package/dist/calling-media-CeGgSzhw.d.cts.map +1 -0
- package/dist/calling-media-CeGgSzhw.d.mts +48 -0
- package/dist/calling-media-CeGgSzhw.d.mts.map +1 -0
- package/dist/calling-media.cjs +8 -0
- package/dist/calling-media.d.cts +2 -0
- package/dist/calling-media.d.mts +2 -0
- package/dist/calling-media.mjs +2 -0
- package/dist/generated/index.cjs +94 -3
- package/dist/generated/index.cjs.map +1 -1
- package/dist/generated/index.d.cts +2328 -133
- package/dist/generated/index.d.cts.map +1 -1
- package/dist/generated/index.d.mts +2328 -133
- package/dist/generated/index.d.mts.map +1 -1
- package/dist/generated/index.mjs +94 -3
- package/dist/generated/index.mjs.map +1 -1
- package/dist/{index-C9Ad0lEr.d.cts → index-BWvNXopK.d.cts} +2375 -41
- package/dist/index-BWvNXopK.d.cts.map +1 -0
- package/dist/{index-D0QN2PaW.d.mts → index-Co8HQxm8.d.mts} +2375 -41
- package/dist/index-Co8HQxm8.d.mts.map +1 -0
- package/dist/index.cjs +191 -20
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.mts +3 -2
- package/dist/index.mjs +105 -21
- package/dist/index.mjs.map +1 -1
- package/dist/methods/index.cjs +34 -1
- package/dist/methods/index.d.cts +2 -2
- package/dist/methods/index.d.mts +2 -2
- package/dist/methods/index.mjs +2 -2
- package/dist/{methods-BhLsQNtL.mjs → methods-BH7nDC3z.mjs} +816 -51
- package/dist/methods-BH7nDC3z.mjs.map +1 -0
- package/dist/{methods-BGmdzjd3.cjs → methods-DpDzgsbe.cjs} +1284 -63
- package/dist/methods-DpDzgsbe.cjs.map +1 -0
- package/package.json +15 -4
- package/src/calling-media.ts +64 -0
- package/src/calling-wire.ts +17 -0
- package/src/calling.ts +61 -0
- package/src/common-types.ts +16 -0
- package/src/effect-projection.ts +67 -0
- package/src/events/calls.ts +12 -0
- package/src/events/groups.ts +30 -6
- package/src/events/index.ts +4 -0
- package/src/events/messaging.ts +7 -7
- package/src/events/polls.ts +11 -0
- package/src/events/registry.ts +2 -1
- package/src/events/whatsapp-events.ts +13 -0
- package/src/generated/AliasMap.ts +30 -1
- package/src/generated/BaseClient.ts +153 -8
- package/src/generated/BaseNamespacedClient.ts +36 -1
- package/src/generated/openapi.json +22999 -12765
- package/src/generated/types.ts +87 -0
- package/src/index.ts +10 -0
- package/src/license.ts +10 -0
- package/src/media-options.ts +46 -0
- package/src/methods/calls.ts +23 -0
- package/src/methods/contacts.ts +10 -1
- package/src/methods/groups.ts +9 -3
- package/src/methods/index.ts +2 -0
- package/src/methods/messaging.ts +159 -45
- package/src/methods/session.ts +10 -0
- package/src/methods/whatsapp-events.ts +35 -0
- package/src/polls.ts +37 -0
- package/src/session-refresh.ts +15 -0
- package/src/whatsapp-event-registry.ts +17 -0
- package/src/whatsapp-events.ts +91 -0
- package/dist/index-C9Ad0lEr.d.cts.map +0 -1
- package/dist/index-D0QN2PaW.d.mts.map +0 -1
- package/dist/methods-BGmdzjd3.cjs.map +0 -1
- package/dist/methods-BhLsQNtL.mjs.map +0 -1
package/dist/methods/index.cjs
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_methods = require("../methods-
|
|
2
|
+
const require_methods = require("../methods-DpDzgsbe.cjs");
|
|
3
|
+
exports.AlbumMediaSchema = require_methods.AlbumMediaSchema;
|
|
4
|
+
exports.AlbumSendResultSchema = require_methods.AlbumSendResultSchema;
|
|
5
|
+
exports.GroupInfoSchema = require_methods.GroupInfoSchema;
|
|
3
6
|
exports.SendInteractiveInputSchema = require_methods.SendInteractiveInputSchema;
|
|
4
7
|
exports.SendRawMessageInputSchema = require_methods.SendRawMessageInputSchema;
|
|
5
8
|
exports.SendTextResultSchema = require_methods.SendTextResultSchema;
|
|
9
|
+
exports.StickerJobSchema = require_methods.StickerJobSchema;
|
|
10
|
+
exports.acceptCall = require_methods.acceptCall;
|
|
6
11
|
exports.addLabel = require_methods.addLabel;
|
|
7
12
|
exports.addParticipant = require_methods.addParticipant;
|
|
8
13
|
exports.approveGroupJoinRequest = require_methods.approveGroupJoinRequest;
|
|
9
14
|
exports.archiveChat = require_methods.archiveChat;
|
|
10
15
|
exports.blockContact = require_methods.blockContact;
|
|
16
|
+
exports.cancelEvent = require_methods.cancelEvent;
|
|
11
17
|
exports.checkNumberStatus = require_methods.checkNumberStatus;
|
|
12
18
|
exports.checkReadReceipts = require_methods.checkReadReceipts;
|
|
19
|
+
exports.clearCallAudio = require_methods.clearCallAudio;
|
|
13
20
|
exports.clearChat = require_methods.clearChat;
|
|
14
21
|
exports.createGroup = require_methods.createGroup;
|
|
15
22
|
exports.decryptMedia = require_methods.decryptMedia;
|
|
@@ -19,7 +26,12 @@ exports.deleteMessage = require_methods.deleteMessage;
|
|
|
19
26
|
exports.deleteStatus = require_methods.deleteStatus;
|
|
20
27
|
exports.demoteParticipant = require_methods.demoteParticipant;
|
|
21
28
|
exports.downloadMedia = require_methods.downloadMedia;
|
|
29
|
+
exports.editEvent = require_methods.editEvent;
|
|
30
|
+
exports.editMessage = require_methods.editMessage;
|
|
31
|
+
exports.endCall = require_methods.endCall;
|
|
22
32
|
exports.forwardMessages = require_methods.forwardMessages;
|
|
33
|
+
exports.getActiveCall = require_methods.getActiveCall;
|
|
34
|
+
exports.getAlbumMessages = require_methods.getAlbumMessages;
|
|
23
35
|
exports.getAllChatIds = require_methods.getAllChatIds;
|
|
24
36
|
exports.getAllChats = require_methods.getAllChats;
|
|
25
37
|
exports.getAllCommunities = require_methods.getAllCommunities;
|
|
@@ -31,6 +43,7 @@ exports.getBatteryLevel = require_methods.getBatteryLevel;
|
|
|
31
43
|
exports.getBlockedIds = require_methods.getBlockedIds;
|
|
32
44
|
exports.getBusinessProducts = require_methods.getBusinessProducts;
|
|
33
45
|
exports.getBusinessProfile = require_methods.getBusinessProfile;
|
|
46
|
+
exports.getCallCapabilities = require_methods.getCallCapabilities;
|
|
34
47
|
exports.getChat = require_methods.getChat;
|
|
35
48
|
exports.getChatWithNonContacts = require_methods.getChatWithNonContacts;
|
|
36
49
|
exports.getChatsByLabel = require_methods.getChatsByLabel;
|
|
@@ -42,6 +55,9 @@ exports.getCommunityParticipantIds = require_methods.getCommunityParticipantIds;
|
|
|
42
55
|
exports.getCommunityParticipants = require_methods.getCommunityParticipants;
|
|
43
56
|
exports.getConnectionState = require_methods.getConnectionState;
|
|
44
57
|
exports.getContact = require_methods.getContact;
|
|
58
|
+
exports.getEvent = require_methods.getEvent;
|
|
59
|
+
exports.getEventResponses = require_methods.getEventResponses;
|
|
60
|
+
exports.getEvents = require_methods.getEvents;
|
|
45
61
|
exports.getFeatures = require_methods.getFeatures;
|
|
46
62
|
exports.getGroupAdmins = require_methods.getGroupAdmins;
|
|
47
63
|
exports.getGroupInfo = require_methods.getGroupInfo;
|
|
@@ -50,6 +66,7 @@ exports.getGroupMembers = require_methods.getGroupMembers;
|
|
|
50
66
|
exports.getGroupMembersId = require_methods.getGroupMembersId;
|
|
51
67
|
exports.getHostNumber = require_methods.getHostNumber;
|
|
52
68
|
exports.getKickedGroups = require_methods.getKickedGroups;
|
|
69
|
+
exports.getLicenseFeatures = require_methods.getLicenseFeatures;
|
|
53
70
|
exports.getLicenseType = require_methods.getLicenseType;
|
|
54
71
|
exports.getLoadedMessageCount = require_methods.getLoadedMessageCount;
|
|
55
72
|
exports.getMe = require_methods.getMe;
|
|
@@ -59,6 +76,7 @@ exports.getMessagesForLLM = require_methods.getMessagesForLLM;
|
|
|
59
76
|
exports.getMyLastMessage = require_methods.getMyLastMessage;
|
|
60
77
|
exports.getNumberProfile = require_methods.getNumberProfile;
|
|
61
78
|
exports.getOrder = require_methods.getOrder;
|
|
79
|
+
exports.getPollResults = require_methods.getPollResults;
|
|
62
80
|
exports.getProcessStats = require_methods.getProcessStats;
|
|
63
81
|
exports.getProfilePicture = require_methods.getProfilePicture;
|
|
64
82
|
exports.getSnapshot = require_methods.getSnapshot;
|
|
@@ -77,22 +95,30 @@ exports.leaveGroup = require_methods.leaveGroup;
|
|
|
77
95
|
exports.loadEarlierMessages = require_methods.loadEarlierMessages;
|
|
78
96
|
exports.markAsRead = require_methods.markAsRead;
|
|
79
97
|
exports.markAsUnread = require_methods.markAsUnread;
|
|
98
|
+
exports.muteCall = require_methods.muteCall;
|
|
80
99
|
exports.muteChat = require_methods.muteChat;
|
|
100
|
+
exports.observeCallAudio = require_methods.observeCallAudio;
|
|
81
101
|
exports.pinChat = require_methods.pinChat;
|
|
102
|
+
exports.pinMessage = require_methods.pinMessage;
|
|
82
103
|
exports.postImageStatus = require_methods.postImageStatus;
|
|
83
104
|
exports.postTextStatus = require_methods.postTextStatus;
|
|
84
105
|
exports.postVideoStatus = require_methods.postVideoStatus;
|
|
85
106
|
exports.promoteParticipant = require_methods.promoteParticipant;
|
|
86
107
|
exports.react = require_methods.react;
|
|
108
|
+
exports.rejectCall = require_methods.rejectCall;
|
|
87
109
|
exports.rejectGroupJoinRequest = require_methods.rejectGroupJoinRequest;
|
|
88
110
|
exports.removeLabel = require_methods.removeLabel;
|
|
89
111
|
exports.removeParticipant = require_methods.removeParticipant;
|
|
112
|
+
exports.requestPhoneNumber = require_methods.requestPhoneNumber;
|
|
113
|
+
exports.respondToEvent = require_methods.respondToEvent;
|
|
90
114
|
exports.revokeGroupInviteLink = require_methods.revokeGroupInviteLink;
|
|
91
115
|
exports.sendAdvancedButtons = require_methods.sendAdvancedButtons;
|
|
116
|
+
exports.sendAlbum = require_methods.sendAlbum;
|
|
92
117
|
exports.sendAudio = require_methods.sendAudio;
|
|
93
118
|
exports.sendBanner = require_methods.sendBanner;
|
|
94
119
|
exports.sendButtons = require_methods.sendButtons;
|
|
95
120
|
exports.sendContact = require_methods.sendContact;
|
|
121
|
+
exports.sendEvent = require_methods.sendEvent;
|
|
96
122
|
exports.sendFile = require_methods.sendFile;
|
|
97
123
|
exports.sendFileFromUrl = require_methods.sendFileFromUrl;
|
|
98
124
|
exports.sendImage = require_methods.sendImage;
|
|
@@ -108,11 +134,13 @@ exports.sendPtt = require_methods.sendPtt;
|
|
|
108
134
|
exports.sendRawMessage = require_methods.sendRawMessage;
|
|
109
135
|
exports.sendReplyWithMentions = require_methods.sendReplyWithMentions;
|
|
110
136
|
exports.sendSeen = require_methods.sendSeen;
|
|
137
|
+
exports.sendSticker = require_methods.sendSticker;
|
|
111
138
|
exports.sendText = require_methods.sendText;
|
|
112
139
|
exports.sendTextWithMentions = require_methods.sendTextWithMentions;
|
|
113
140
|
exports.sendVCard = require_methods.sendVCard;
|
|
114
141
|
exports.sendVideoAsGif = require_methods.sendVideoAsGif;
|
|
115
142
|
exports.sendYouTubeLink = require_methods.sendYouTubeLink;
|
|
143
|
+
exports.setCallMedia = require_methods.setCallMedia;
|
|
116
144
|
exports.setChatEphemeral = require_methods.setChatEphemeral;
|
|
117
145
|
exports.setGroupDescription = require_methods.setGroupDescription;
|
|
118
146
|
exports.setGroupEditToAdminsOnly = require_methods.setGroupEditToAdminsOnly;
|
|
@@ -122,9 +150,14 @@ exports.setGroupToAdminsOnly = require_methods.setGroupToAdminsOnly;
|
|
|
122
150
|
exports.setMyName = require_methods.setMyName;
|
|
123
151
|
exports.setMyStatus = require_methods.setMyStatus;
|
|
124
152
|
exports.setProfilePicture = require_methods.setProfilePicture;
|
|
153
|
+
exports.sharePhoneNumber = require_methods.sharePhoneNumber;
|
|
125
154
|
exports.starMessage = require_methods.starMessage;
|
|
155
|
+
exports.startCall = require_methods.startCall;
|
|
156
|
+
exports.stopCallAudioObserver = require_methods.stopCallAudioObserver;
|
|
126
157
|
exports.unarchiveChat = require_methods.unarchiveChat;
|
|
127
158
|
exports.unblockContact = require_methods.unblockContact;
|
|
128
159
|
exports.unmuteChat = require_methods.unmuteChat;
|
|
129
160
|
exports.unpinChat = require_methods.unpinChat;
|
|
161
|
+
exports.unpinMessage = require_methods.unpinMessage;
|
|
130
162
|
exports.unstarMessage = require_methods.unstarMessage;
|
|
163
|
+
exports.voteOnPoll = require_methods.voteOnPoll;
|
package/dist/methods/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $
|
|
2
|
-
export { SendInteractiveInputSchema, SendRawMessageInputSchema, SendTextResultSchema, addLabel, addParticipant, approveGroupJoinRequest, archiveChat, blockContact, checkNumberStatus, checkReadReceipts, clearChat, createGroup, decryptMedia, deleteAllStatus, deleteChat, deleteMessage, deleteStatus, demoteParticipant, downloadMedia, forwardMessages, getAllChatIds, getAllChats, getAllCommunities, getAllContacts, getAllGroups, getAllLabels, getAllMessages, getBatteryLevel, getBlockedIds, getBusinessProducts, getBusinessProfile, getChat, getChatWithNonContacts, getChatsByLabel, getCommonGroups, getCommunityAdminIds, getCommunityAdmins, getCommunityInfo, getCommunityParticipantIds, getCommunityParticipants, getConnectionState, getContact, getFeatures, getGroupAdmins, getGroupInfo, getGroupInviteLink, getGroupMembers, getGroupMembersId, getHostNumber, getKickedGroups, getLicenseType, getLoadedMessageCount, getMe, getMessageById, getMessageInfo, getMessagesForLLM, getMyLastMessage, getNumberProfile, getOrder, getProcessStats, getProfilePicture, getSnapshot, getStarredMessages, getStatus, getStories, getUnsentMessages, getUserAgent, getVCards, getWAVersion, healthCheck, isChatOnline, isPlugged, joinGroupViaLink, leaveGroup, loadEarlierMessages, markAsRead, markAsUnread, muteChat, pinChat, postImageStatus, postTextStatus, postVideoStatus, promoteParticipant, react, rejectGroupJoinRequest, removeLabel, removeParticipant, revokeGroupInviteLink, sendAdvancedButtons, sendAudio, sendBanner, sendButtons, sendContact, sendFile, sendFileFromUrl, sendImage, sendInteractive, sendLinkWithAutoPreview, sendListMessage, sendLocation, sendMessageWithThumb, sendMultipleContacts, sendPaymentRequest, sendPoll, sendPtt, sendRawMessage, sendReplyWithMentions, sendSeen, sendText, sendTextWithMentions, sendVCard, sendVideoAsGif, sendYouTubeLink, setChatEphemeral, setGroupDescription, setGroupEditToAdminsOnly, setGroupIcon, setGroupTitle, setGroupToAdminsOnly, setMyName, setMyStatus, setProfilePicture, starMessage, unarchiveChat, unblockContact, unmuteChat, unpinChat, unstarMessage };
|
|
1
|
+
import { $a as react, $i as setGroupDescription, $r as getFeatures, Aa as unmuteChat, Ai as getCommunityAdmins, Ar as getEventResponses, Ba as forwardMessages, Bi as getAllGroups, Br as observeCallAudio, Ca as isChatOnline, Ci as getStatus, Co as sendVideoAsGif, Da as pinChat, Di as postVideoStatus, Do as unstarMessage, Dr as cancelEvent, Ea as muteChat, Ei as postTextStatus, Eo as unpinMessage, Fa as AlbumSendResultSchema, Fi as GroupInfoSchema, Fr as clearCallAudio, Ga as getMessagesForLLM, Gi as getGroupMembersId, Gr as SendInteractiveInputSchema, Ha as getAllMessages, Hi as getGroupInfo, Hr as setCallMedia, Ia as SendTextResultSchema, Ii as addParticipant, Ir as endCall, Ja as getStarredMessages, Ji as leaveGroup, Jr as sendRawMessage, Ka as getMyLastMessage, Ki as getKickedGroups, Kr as SendRawMessageInputSchema, La as StickerJobSchema, Li as approveGroupJoinRequest, Lr as getActiveCall, Ma as AlbumMedia, Mi as getCommunityParticipantIds, Mr as respondToEvent, Na as AlbumMediaSchema, Ni as getCommunityParticipants, Nr as sendEvent, Oa as setChatEphemeral, Oi as getAllCommunities, Oo as voteOnPoll, Or as editEvent, Pa as AlbumSendResult, Pi as GroupInfo, Pr as acceptCall, Qa as pinMessage, Qi as revokeGroupInviteLink, Qr as getConnectionState, Ra as deleteMessage, Ri as createGroup, Rr as getCallCapabilities, Sa as getChatWithNonContacts, Si as deleteStatus, So as sendVCard, Ta as markAsUnread, Ti as postImageStatus, To as starMessage, Ua as getMessageById, Ui as getGroupInviteLink, Ur as startCall, Va as getAlbumMessages, Vi as getGroupAdmins, Vr as rejectCall, Wa as getMessageInfo, Wi as getGroupMembers, Wr as stopCallAudioObserver, Xa as getVCards, Xi as rejectGroupJoinRequest, Xr as downloadMedia, Ya as getUnsentMessages, Yi as promoteParticipant, Yr as decryptMedia, Za as loadEarlierMessages, Zi as removeParticipant, Zr as getBatteryLevel, _a as clearChat, _i as addLabel, _o as sendReplyWithMentions, aa as checkNumberStatus, ai as getProcessStats, ao as sendContact, ba as getAllChats, bi as removeLabel, bo as sendText, ca as getBlockedIds, ci as getWAVersion, co as sendImage, da as getNumberProfile, di as setMyName, do as sendLocation, ea as setGroupEditToAdminsOnly, ei as getHostNumber, eo as sendAdvancedButtons, fa as getProfilePicture, fi as setMyStatus, fo as sendMessageWithThumb, ga as archiveChat, gi as getOrder, go as sendPtt, ha as unblockContact, hi as getBusinessProfile, ho as sendPoll, ia as blockContact, ii as getMe, io as sendButtons, ja as unpinChat, ji as getCommunityInfo, jr as getEvents, ka as unarchiveChat, ki as getCommunityAdminIds, kr as getEvent, la as getCommonGroups, li as healthCheck, lo as sendLinkWithAutoPreview, ma as sharePhoneNumber, mi as getBusinessProducts, mo as sendPaymentRequest, na as setGroupTitle, ni as getLicenseType, no as sendAudio, oa as checkReadReceipts, oi as getSnapshot, oo as sendFile, pa as requestPhoneNumber, pi as setProfilePicture, po as sendMultipleContacts, qa as getPollResults, qi as joinGroupViaLink, qr as sendInteractive, ra as setGroupToAdminsOnly, ri as getLoadedMessageCount, ro as sendBanner, sa as getAllContacts, si as getUserAgent, so as sendFileFromUrl, ta as setGroupIcon, ti as getLicenseFeatures, to as sendAlbum, ua as getContact, ui as isPlugged, uo as sendListMessage, va as deleteChat, vi as getAllLabels, vo as sendSeen, wa as markAsRead, wi as getStories, wo as sendYouTubeLink, xa as getChat, xi as deleteAllStatus, xo as sendTextWithMentions, ya as getAllChatIds, yi as getChatsByLabel, yo as sendSticker, za as editMessage, zi as demoteParticipant, zr as muteCall } from "../index-BWvNXopK.cjs";
|
|
2
|
+
export { AlbumMedia, AlbumMediaSchema, AlbumSendResult, AlbumSendResultSchema, GroupInfo, GroupInfoSchema, SendInteractiveInputSchema, SendRawMessageInputSchema, SendTextResultSchema, StickerJobSchema, acceptCall, addLabel, addParticipant, approveGroupJoinRequest, archiveChat, blockContact, cancelEvent, checkNumberStatus, checkReadReceipts, clearCallAudio, clearChat, createGroup, decryptMedia, deleteAllStatus, deleteChat, deleteMessage, deleteStatus, demoteParticipant, downloadMedia, editEvent, editMessage, endCall, forwardMessages, getActiveCall, getAlbumMessages, getAllChatIds, getAllChats, getAllCommunities, getAllContacts, getAllGroups, getAllLabels, getAllMessages, getBatteryLevel, getBlockedIds, getBusinessProducts, getBusinessProfile, getCallCapabilities, getChat, getChatWithNonContacts, getChatsByLabel, getCommonGroups, getCommunityAdminIds, getCommunityAdmins, getCommunityInfo, getCommunityParticipantIds, getCommunityParticipants, getConnectionState, getContact, getEvent, getEventResponses, getEvents, getFeatures, getGroupAdmins, getGroupInfo, getGroupInviteLink, getGroupMembers, getGroupMembersId, getHostNumber, getKickedGroups, getLicenseFeatures, getLicenseType, getLoadedMessageCount, getMe, getMessageById, getMessageInfo, getMessagesForLLM, getMyLastMessage, getNumberProfile, getOrder, getPollResults, getProcessStats, getProfilePicture, getSnapshot, getStarredMessages, getStatus, getStories, getUnsentMessages, getUserAgent, getVCards, getWAVersion, healthCheck, isChatOnline, isPlugged, joinGroupViaLink, leaveGroup, loadEarlierMessages, markAsRead, markAsUnread, muteCall, muteChat, observeCallAudio, pinChat, pinMessage, postImageStatus, postTextStatus, postVideoStatus, promoteParticipant, react, rejectCall, rejectGroupJoinRequest, removeLabel, removeParticipant, requestPhoneNumber, respondToEvent, revokeGroupInviteLink, sendAdvancedButtons, sendAlbum, sendAudio, sendBanner, sendButtons, sendContact, sendEvent, sendFile, sendFileFromUrl, sendImage, sendInteractive, sendLinkWithAutoPreview, sendListMessage, sendLocation, sendMessageWithThumb, sendMultipleContacts, sendPaymentRequest, sendPoll, sendPtt, sendRawMessage, sendReplyWithMentions, sendSeen, sendSticker, sendText, sendTextWithMentions, sendVCard, sendVideoAsGif, sendYouTubeLink, setCallMedia, setChatEphemeral, setGroupDescription, setGroupEditToAdminsOnly, setGroupIcon, setGroupTitle, setGroupToAdminsOnly, setMyName, setMyStatus, setProfilePicture, sharePhoneNumber, starMessage, startCall, stopCallAudioObserver, unarchiveChat, unblockContact, unmuteChat, unpinChat, unpinMessage, unstarMessage, voteOnPoll };
|
package/dist/methods/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $
|
|
2
|
-
export { SendInteractiveInputSchema, SendRawMessageInputSchema, SendTextResultSchema, addLabel, addParticipant, approveGroupJoinRequest, archiveChat, blockContact, checkNumberStatus, checkReadReceipts, clearChat, createGroup, decryptMedia, deleteAllStatus, deleteChat, deleteMessage, deleteStatus, demoteParticipant, downloadMedia, forwardMessages, getAllChatIds, getAllChats, getAllCommunities, getAllContacts, getAllGroups, getAllLabels, getAllMessages, getBatteryLevel, getBlockedIds, getBusinessProducts, getBusinessProfile, getChat, getChatWithNonContacts, getChatsByLabel, getCommonGroups, getCommunityAdminIds, getCommunityAdmins, getCommunityInfo, getCommunityParticipantIds, getCommunityParticipants, getConnectionState, getContact, getFeatures, getGroupAdmins, getGroupInfo, getGroupInviteLink, getGroupMembers, getGroupMembersId, getHostNumber, getKickedGroups, getLicenseType, getLoadedMessageCount, getMe, getMessageById, getMessageInfo, getMessagesForLLM, getMyLastMessage, getNumberProfile, getOrder, getProcessStats, getProfilePicture, getSnapshot, getStarredMessages, getStatus, getStories, getUnsentMessages, getUserAgent, getVCards, getWAVersion, healthCheck, isChatOnline, isPlugged, joinGroupViaLink, leaveGroup, loadEarlierMessages, markAsRead, markAsUnread, muteChat, pinChat, postImageStatus, postTextStatus, postVideoStatus, promoteParticipant, react, rejectGroupJoinRequest, removeLabel, removeParticipant, revokeGroupInviteLink, sendAdvancedButtons, sendAudio, sendBanner, sendButtons, sendContact, sendFile, sendFileFromUrl, sendImage, sendInteractive, sendLinkWithAutoPreview, sendListMessage, sendLocation, sendMessageWithThumb, sendMultipleContacts, sendPaymentRequest, sendPoll, sendPtt, sendRawMessage, sendReplyWithMentions, sendSeen, sendText, sendTextWithMentions, sendVCard, sendVideoAsGif, sendYouTubeLink, setChatEphemeral, setGroupDescription, setGroupEditToAdminsOnly, setGroupIcon, setGroupTitle, setGroupToAdminsOnly, setMyName, setMyStatus, setProfilePicture, starMessage, unarchiveChat, unblockContact, unmuteChat, unpinChat, unstarMessage };
|
|
1
|
+
import { $a as react, $i as setGroupDescription, $r as getFeatures, Aa as unmuteChat, Ai as getCommunityAdmins, Ar as getEventResponses, Ba as forwardMessages, Bi as getAllGroups, Br as observeCallAudio, Ca as isChatOnline, Ci as getStatus, Co as sendVideoAsGif, Da as pinChat, Di as postVideoStatus, Do as unstarMessage, Dr as cancelEvent, Ea as muteChat, Ei as postTextStatus, Eo as unpinMessage, Fa as AlbumSendResultSchema, Fi as GroupInfoSchema, Fr as clearCallAudio, Ga as getMessagesForLLM, Gi as getGroupMembersId, Gr as SendInteractiveInputSchema, Ha as getAllMessages, Hi as getGroupInfo, Hr as setCallMedia, Ia as SendTextResultSchema, Ii as addParticipant, Ir as endCall, Ja as getStarredMessages, Ji as leaveGroup, Jr as sendRawMessage, Ka as getMyLastMessage, Ki as getKickedGroups, Kr as SendRawMessageInputSchema, La as StickerJobSchema, Li as approveGroupJoinRequest, Lr as getActiveCall, Ma as AlbumMedia, Mi as getCommunityParticipantIds, Mr as respondToEvent, Na as AlbumMediaSchema, Ni as getCommunityParticipants, Nr as sendEvent, Oa as setChatEphemeral, Oi as getAllCommunities, Oo as voteOnPoll, Or as editEvent, Pa as AlbumSendResult, Pi as GroupInfo, Pr as acceptCall, Qa as pinMessage, Qi as revokeGroupInviteLink, Qr as getConnectionState, Ra as deleteMessage, Ri as createGroup, Rr as getCallCapabilities, Sa as getChatWithNonContacts, Si as deleteStatus, So as sendVCard, Ta as markAsUnread, Ti as postImageStatus, To as starMessage, Ua as getMessageById, Ui as getGroupInviteLink, Ur as startCall, Va as getAlbumMessages, Vi as getGroupAdmins, Vr as rejectCall, Wa as getMessageInfo, Wi as getGroupMembers, Wr as stopCallAudioObserver, Xa as getVCards, Xi as rejectGroupJoinRequest, Xr as downloadMedia, Ya as getUnsentMessages, Yi as promoteParticipant, Yr as decryptMedia, Za as loadEarlierMessages, Zi as removeParticipant, Zr as getBatteryLevel, _a as clearChat, _i as addLabel, _o as sendReplyWithMentions, aa as checkNumberStatus, ai as getProcessStats, ao as sendContact, ba as getAllChats, bi as removeLabel, bo as sendText, ca as getBlockedIds, ci as getWAVersion, co as sendImage, da as getNumberProfile, di as setMyName, do as sendLocation, ea as setGroupEditToAdminsOnly, ei as getHostNumber, eo as sendAdvancedButtons, fa as getProfilePicture, fi as setMyStatus, fo as sendMessageWithThumb, ga as archiveChat, gi as getOrder, go as sendPtt, ha as unblockContact, hi as getBusinessProfile, ho as sendPoll, ia as blockContact, ii as getMe, io as sendButtons, ja as unpinChat, ji as getCommunityInfo, jr as getEvents, ka as unarchiveChat, ki as getCommunityAdminIds, kr as getEvent, la as getCommonGroups, li as healthCheck, lo as sendLinkWithAutoPreview, ma as sharePhoneNumber, mi as getBusinessProducts, mo as sendPaymentRequest, na as setGroupTitle, ni as getLicenseType, no as sendAudio, oa as checkReadReceipts, oi as getSnapshot, oo as sendFile, pa as requestPhoneNumber, pi as setProfilePicture, po as sendMultipleContacts, qa as getPollResults, qi as joinGroupViaLink, qr as sendInteractive, ra as setGroupToAdminsOnly, ri as getLoadedMessageCount, ro as sendBanner, sa as getAllContacts, si as getUserAgent, so as sendFileFromUrl, ta as setGroupIcon, ti as getLicenseFeatures, to as sendAlbum, ua as getContact, ui as isPlugged, uo as sendListMessage, va as deleteChat, vi as getAllLabels, vo as sendSeen, wa as markAsRead, wi as getStories, wo as sendYouTubeLink, xa as getChat, xi as deleteAllStatus, xo as sendTextWithMentions, ya as getAllChatIds, yi as getChatsByLabel, yo as sendSticker, za as editMessage, zi as demoteParticipant, zr as muteCall } from "../index-Co8HQxm8.mjs";
|
|
2
|
+
export { AlbumMedia, AlbumMediaSchema, AlbumSendResult, AlbumSendResultSchema, GroupInfo, GroupInfoSchema, SendInteractiveInputSchema, SendRawMessageInputSchema, SendTextResultSchema, StickerJobSchema, acceptCall, addLabel, addParticipant, approveGroupJoinRequest, archiveChat, blockContact, cancelEvent, checkNumberStatus, checkReadReceipts, clearCallAudio, clearChat, createGroup, decryptMedia, deleteAllStatus, deleteChat, deleteMessage, deleteStatus, demoteParticipant, downloadMedia, editEvent, editMessage, endCall, forwardMessages, getActiveCall, getAlbumMessages, getAllChatIds, getAllChats, getAllCommunities, getAllContacts, getAllGroups, getAllLabels, getAllMessages, getBatteryLevel, getBlockedIds, getBusinessProducts, getBusinessProfile, getCallCapabilities, getChat, getChatWithNonContacts, getChatsByLabel, getCommonGroups, getCommunityAdminIds, getCommunityAdmins, getCommunityInfo, getCommunityParticipantIds, getCommunityParticipants, getConnectionState, getContact, getEvent, getEventResponses, getEvents, getFeatures, getGroupAdmins, getGroupInfo, getGroupInviteLink, getGroupMembers, getGroupMembersId, getHostNumber, getKickedGroups, getLicenseFeatures, getLicenseType, getLoadedMessageCount, getMe, getMessageById, getMessageInfo, getMessagesForLLM, getMyLastMessage, getNumberProfile, getOrder, getPollResults, getProcessStats, getProfilePicture, getSnapshot, getStarredMessages, getStatus, getStories, getUnsentMessages, getUserAgent, getVCards, getWAVersion, healthCheck, isChatOnline, isPlugged, joinGroupViaLink, leaveGroup, loadEarlierMessages, markAsRead, markAsUnread, muteCall, muteChat, observeCallAudio, pinChat, pinMessage, postImageStatus, postTextStatus, postVideoStatus, promoteParticipant, react, rejectCall, rejectGroupJoinRequest, removeLabel, removeParticipant, requestPhoneNumber, respondToEvent, revokeGroupInviteLink, sendAdvancedButtons, sendAlbum, sendAudio, sendBanner, sendButtons, sendContact, sendEvent, sendFile, sendFileFromUrl, sendImage, sendInteractive, sendLinkWithAutoPreview, sendListMessage, sendLocation, sendMessageWithThumb, sendMultipleContacts, sendPaymentRequest, sendPoll, sendPtt, sendRawMessage, sendReplyWithMentions, sendSeen, sendSticker, sendText, sendTextWithMentions, sendVCard, sendVideoAsGif, sendYouTubeLink, setCallMedia, setChatEphemeral, setGroupDescription, setGroupEditToAdminsOnly, setGroupIcon, setGroupTitle, setGroupToAdminsOnly, setMyName, setMyStatus, setProfilePicture, sharePhoneNumber, starMessage, startCall, stopCallAudioObserver, unarchiveChat, unblockContact, unmuteChat, unpinChat, unpinMessage, unstarMessage, voteOnPoll };
|
package/dist/methods/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { SendInteractiveInputSchema, SendRawMessageInputSchema, SendTextResultSchema, addLabel, addParticipant, approveGroupJoinRequest, archiveChat, blockContact, checkNumberStatus, checkReadReceipts, clearChat, createGroup, decryptMedia, deleteAllStatus, deleteChat, deleteMessage, deleteStatus, demoteParticipant, downloadMedia, forwardMessages, getAllChatIds, getAllChats, getAllCommunities, getAllContacts, getAllGroups, getAllLabels, getAllMessages, getBatteryLevel, getBlockedIds, getBusinessProducts, getBusinessProfile, getChat, getChatWithNonContacts, getChatsByLabel, getCommonGroups, getCommunityAdminIds, getCommunityAdmins, getCommunityInfo, getCommunityParticipantIds, getCommunityParticipants, getConnectionState, getContact, getFeatures, getGroupAdmins, getGroupInfo, getGroupInviteLink, getGroupMembers, getGroupMembersId, getHostNumber, getKickedGroups, getLicenseType, getLoadedMessageCount, getMe, getMessageById, getMessageInfo, getMessagesForLLM, getMyLastMessage, getNumberProfile, getOrder, getProcessStats, getProfilePicture, getSnapshot, getStarredMessages, getStatus, getStories, getUnsentMessages, getUserAgent, getVCards, getWAVersion, healthCheck, isChatOnline, isPlugged, joinGroupViaLink, leaveGroup, loadEarlierMessages, markAsRead, markAsUnread, muteChat, pinChat, postImageStatus, postTextStatus, postVideoStatus, promoteParticipant, react, rejectGroupJoinRequest, removeLabel, removeParticipant, revokeGroupInviteLink, sendAdvancedButtons, sendAudio, sendBanner, sendButtons, sendContact, sendFile, sendFileFromUrl, sendImage, sendInteractive, sendLinkWithAutoPreview, sendListMessage, sendLocation, sendMessageWithThumb, sendMultipleContacts, sendPaymentRequest, sendPoll, sendPtt, sendRawMessage, sendReplyWithMentions, sendSeen, sendText, sendTextWithMentions, sendVCard, sendVideoAsGif, sendYouTubeLink, setChatEphemeral, setGroupDescription, setGroupEditToAdminsOnly, setGroupIcon, setGroupTitle, setGroupToAdminsOnly, setMyName, setMyStatus, setProfilePicture, starMessage, unarchiveChat, unblockContact, unmuteChat, unpinChat, unstarMessage };
|
|
1
|
+
import { $n as getVCards, $t as leaveGroup, A as sendInteractive, An as markAsUnread, Ar as unstarMessage, At as getStories, Bn as StickerJobSchema, Bt as GroupInfoSchema, Cn as deleteChat, Cr as sendText, Ct as addLabel, Dn as getChatWithNonContacts, Dr as sendYouTubeLink, Dt as deleteAllStatus, En as getChat, Er as sendVideoAsGif, Et as removeLabel, Fn as unmuteChat, Ft as getCommunityAdminIds, Gn as getAllMessages, Gt as getAllGroups, Hn as editMessage, Ht as approveGroupJoinRequest, In as unpinChat, It as getCommunityAdmins, Jn as getMessagesForLLM, Jt as getGroupInviteLink, Kn as getMessageById, Kt as getGroupAdmins, Ln as AlbumMediaSchema, Lt as getCommunityInfo, Mn as pinChat, Mt as postTextStatus, Nn as setChatEphemeral, Nt as postVideoStatus, O as SendInteractiveInputSchema, On as isChatOnline, Or as starMessage, Ot as deleteStatus, Pn as unarchiveChat, Pt as getAllCommunities, Qn as getUnsentMessages, Qt as joinGroupViaLink, Rn as AlbumSendResultSchema, Rt as getCommunityParticipantIds, Sn as clearChat, Sr as sendSticker, St as getOrder, Tn as getAllChats, Tr as sendVCard, Tt as getChatsByLabel, Un as forwardMessages, Ut as createGroup, Vn as deleteMessage, Vt as addParticipant, Wn as getAlbumMessages, Wt as demoteParticipant, Xn as getPollResults, Xt as getGroupMembersId, Yn as getMyLastMessage, Yt as getGroupMembers, Zn as getStarredMessages, Zt as getKickedGroups, _ as startCall, _n as getProfilePicture, _r as sendPaymentRequest, _t as setMyStatus, a as getEvents, an as setGroupEditToAdminsOnly, ar as sendAudio, at as getHostNumber, bn as unblockContact, br as sendReplyWithMentions, bt as getBusinessProducts, c as acceptCall, cn as setGroupToAdminsOnly, cr as sendContact, ct as getLoadedMessageCount, d as getActiveCall, dn as checkReadReceipts, dr as sendImage, dt as getSnapshot, en as promoteParticipant, er as loadEarlierMessages, et as decryptMedia, f as getCallCapabilities, fn as getAllContacts, fr as sendLinkWithAutoPreview, ft as getUserAgent, g as setCallMedia, gn as getNumberProfile, gr as sendMultipleContacts, gt as setMyName, h as rejectCall, hn as getContact, hr as sendMessageWithThumb, ht as isPlugged, i as getEventResponses, in as setGroupDescription, ir as sendAlbum, it as getFeatures, j as sendRawMessage, jn as muteChat, jr as voteOnPoll, jt as postImageStatus, k as SendRawMessageInputSchema, kn as markAsRead, kr as unpinMessage, kt as getStatus, l as clearCallAudio, ln as blockContact, lr as sendFile, lt as getMe, m as observeCallAudio, mn as getCommonGroups, mr as sendLocation, mt as healthCheck, n as editEvent, nn as removeParticipant, nr as react, nt as getBatteryLevel, o as respondToEvent, on as setGroupIcon, or as sendBanner, ot as getLicenseFeatures, p as muteCall, pn as getBlockedIds, pr as sendListMessage, pt as getWAVersion, qn as getMessageInfo, qt as getGroupInfo, r as getEvent, rn as revokeGroupInviteLink, rr as sendAdvancedButtons, rt as getConnectionState, s as sendEvent, sn as setGroupTitle, sr as sendButtons, st as getLicenseType, t as cancelEvent, tn as rejectGroupJoinRequest, tr as pinMessage, tt as downloadMedia, u as endCall, un as checkNumberStatus, ur as sendFileFromUrl, ut as getProcessStats, v as stopCallAudioObserver, vn as requestPhoneNumber, vr as sendPoll, vt as setProfilePicture, wn as getAllChatIds, wr as sendTextWithMentions, wt as getAllLabels, xn as archiveChat, xr as sendSeen, xt as getBusinessProfile, yn as sharePhoneNumber, yr as sendPtt, zn as SendTextResultSchema, zt as getCommunityParticipants } from "../methods-BH7nDC3z.mjs";
|
|
2
|
+
export { AlbumMediaSchema, AlbumSendResultSchema, GroupInfoSchema, SendInteractiveInputSchema, SendRawMessageInputSchema, SendTextResultSchema, StickerJobSchema, acceptCall, addLabel, addParticipant, approveGroupJoinRequest, archiveChat, blockContact, cancelEvent, checkNumberStatus, checkReadReceipts, clearCallAudio, clearChat, createGroup, decryptMedia, deleteAllStatus, deleteChat, deleteMessage, deleteStatus, demoteParticipant, downloadMedia, editEvent, editMessage, endCall, forwardMessages, getActiveCall, getAlbumMessages, getAllChatIds, getAllChats, getAllCommunities, getAllContacts, getAllGroups, getAllLabels, getAllMessages, getBatteryLevel, getBlockedIds, getBusinessProducts, getBusinessProfile, getCallCapabilities, getChat, getChatWithNonContacts, getChatsByLabel, getCommonGroups, getCommunityAdminIds, getCommunityAdmins, getCommunityInfo, getCommunityParticipantIds, getCommunityParticipants, getConnectionState, getContact, getEvent, getEventResponses, getEvents, getFeatures, getGroupAdmins, getGroupInfo, getGroupInviteLink, getGroupMembers, getGroupMembersId, getHostNumber, getKickedGroups, getLicenseFeatures, getLicenseType, getLoadedMessageCount, getMe, getMessageById, getMessageInfo, getMessagesForLLM, getMyLastMessage, getNumberProfile, getOrder, getPollResults, getProcessStats, getProfilePicture, getSnapshot, getStarredMessages, getStatus, getStories, getUnsentMessages, getUserAgent, getVCards, getWAVersion, healthCheck, isChatOnline, isPlugged, joinGroupViaLink, leaveGroup, loadEarlierMessages, markAsRead, markAsUnread, muteCall, muteChat, observeCallAudio, pinChat, pinMessage, postImageStatus, postTextStatus, postVideoStatus, promoteParticipant, react, rejectCall, rejectGroupJoinRequest, removeLabel, removeParticipant, requestPhoneNumber, respondToEvent, revokeGroupInviteLink, sendAdvancedButtons, sendAlbum, sendAudio, sendBanner, sendButtons, sendContact, sendEvent, sendFile, sendFileFromUrl, sendImage, sendInteractive, sendLinkWithAutoPreview, sendListMessage, sendLocation, sendMessageWithThumb, sendMultipleContacts, sendPaymentRequest, sendPoll, sendPtt, sendRawMessage, sendReplyWithMentions, sendSeen, sendSticker, sendText, sendTextWithMentions, sendVCard, sendVideoAsGif, sendYouTubeLink, setCallMedia, setChatEphemeral, setGroupDescription, setGroupEditToAdminsOnly, setGroupIcon, setGroupTitle, setGroupToAdminsOnly, setMyName, setMyStatus, setProfilePicture, sharePhoneNumber, starMessage, startCall, stopCallAudioObserver, unarchiveChat, unblockContact, unmuteChat, unpinChat, unpinMessage, unstarMessage, voteOnPoll };
|