@open-wa/schema 5.6.2 → 5.6.4
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/generated/index.cjs +1 -1
- package/dist/generated/index.d.cts +1 -1
- package/dist/generated/index.d.mts +1 -1
- package/dist/generated/index.mjs +1 -1
- package/dist/{index-DOca1sBu.d.mts → index-C3kjyOe-.d.mts} +3 -526
- package/dist/index-C3kjyOe-.d.mts.map +1 -0
- package/dist/{index-Cl1bU6DB.d.cts → index-HeicIada.d.cts} +3 -526
- package/dist/index-HeicIada.d.cts.map +1 -0
- package/dist/index.cjs +26 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/dist/interactive-DxUwKpzK.d.cts +527 -0
- package/dist/interactive-DxUwKpzK.d.cts.map +1 -0
- package/dist/interactive-DxUwKpzK.d.mts +527 -0
- package/dist/interactive-DxUwKpzK.d.mts.map +1 -0
- package/dist/interactive.cjs +305 -0
- package/dist/interactive.cjs.map +1 -0
- package/dist/interactive.d.cts +2 -0
- package/dist/interactive.d.mts +2 -0
- package/dist/interactive.mjs +283 -0
- package/dist/interactive.mjs.map +1 -0
- package/dist/methods/index.cjs +1 -1
- package/dist/methods/index.d.cts +1 -1
- package/dist/methods/index.d.mts +1 -1
- package/dist/methods/index.mjs +1 -1
- package/dist/{methods-BH7nDC3z.mjs → methods-CGm5G9VI.mjs} +14 -292
- package/dist/methods-CGm5G9VI.mjs.map +1 -0
- package/dist/{methods-DpDzgsbe.cjs → methods-QZbG0hN2.cjs} +15 -425
- package/dist/methods-QZbG0hN2.cjs.map +1 -0
- package/package.json +13 -3
- package/src/generated/asyncapi.json +1 -1
- package/src/generated/openapi.json +2 -2
- package/dist/index-Cl1bU6DB.d.cts.map +0 -1
- package/dist/index-DOca1sBu.d.mts.map +0 -1
- package/dist/methods-BH7nDC3z.mjs.map +0 -1
- package/dist/methods-DpDzgsbe.cjs.map +0 -1
package/dist/methods/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $a as
|
|
1
|
+
import { $a as sendTextWithMentions, $i as getChat, $r as deleteAllStatus, Aa as pinMessage, Ai as revokeGroupInviteLink, Ar as getConnectionState, Ba as sendImage, Bi as getBlockedIds, Br as getWAVersion, Ca as getMessagesForLLM, Ci as getGroupMembersId, Cr as SendInteractiveInputSchema, Da as getUnsentMessages, Di as promoteParticipant, Dr as decryptMedia, Ea as getStarredMessages, Ei as leaveGroup, Er as sendRawMessage, Fa as sendBanner, Fi as setGroupToAdminsOnly, Fr as getLoadedMessageCount, Ga as sendMultipleContacts, Gi as requestPhoneNumber, Gr as setProfilePicture, Ha as sendListMessage, Hi as getContact, Hr as isPlugged, Ia as sendButtons, Ii as blockContact, Ir as getMe, Ja as sendPtt, Ji as archiveChat, Jr as getOrder, Ka as sendPaymentRequest, Ki as sharePhoneNumber, Kr as getBusinessProducts, La as sendContact, Li as checkNumberStatus, Lr as getProcessStats, Ma as sendAdvancedButtons, Mi as setGroupEditToAdminsOnly, Mr as getHostNumber, Na as sendAlbum, Ni as setGroupIcon, Nr as getLicenseFeatures, Oa as getVCards, Oi as rejectGroupJoinRequest, Or as downloadMedia, Pa as sendAudio, Pi as setGroupTitle, Pr as getLicenseType, Qa as sendText, Qi as getAllChats, Qr as removeLabel, Ra as sendFile, Ri as checkReadReceipts, Rr as getSnapshot, Sa as getMessageInfo, Si as getGroupMembers, Sr as stopCallAudioObserver, Ta as getPollResults, Ti as joinGroupViaLink, Tr as sendInteractive, Ua as sendLocation, Ui as getNumberProfile, Ur as setMyName, Va as sendLinkWithAutoPreview, Vi as getCommonGroups, Vr as healthCheck, Wa as sendMessageWithThumb, Wi as getProfilePicture, Wr as setMyStatus, Xa as sendSeen, Xi as deleteChat, Xr as getAllLabels, Ya as sendReplyWithMentions, Yi as clearChat, Yr as addLabel, Za as sendSticker, Zi as getAllChatIds, Zr as getChatsByLabel, _a as editMessage, _i as demoteParticipant, _r as muteCall, aa as pinChat, ai as postVideoStatus, ao as unstarMessage, ar as cancelEvent, ba as getAllMessages, bi as getGroupInfo, br as setCallMedia, ca as unmuteChat, ci as getCommunityAdmins, cr as getEventResponses, da as AlbumMediaSchema, di as getCommunityParticipants, dr as sendEvent, ea as getChatWithNonContacts, ei as deleteStatus, eo as sendVCard, fa as AlbumSendResult, fi as GroupInfo, fr as acceptCall, ga as deleteMessage, gi as createGroup, gr as getCallCapabilities, ha as StickerJobSchema, hi as approveGroupJoinRequest, hr as getActiveCall, ia as muteChat, ii as postTextStatus, io as unpinMessage, ja as react, ji as setGroupDescription, jr as getFeatures, ka as loadEarlierMessages, ki as removeParticipant, kr as getBatteryLevel, la as unpinChat, li as getCommunityInfo, lr as getEvents, ma as SendTextResultSchema, mi as addParticipant, mr as endCall, na as markAsRead, ni as getStories, no as sendYouTubeLink, oa as setChatEphemeral, oi as getAllCommunities, oo as voteOnPoll, or as editEvent, pa as AlbumSendResultSchema, pi as GroupInfoSchema, pr as clearCallAudio, qa as sendPoll, qi as unblockContact, qr as getBusinessProfile, ra as markAsUnread, ri as postImageStatus, ro as starMessage, sa as unarchiveChat, si as getCommunityAdminIds, sr as getEvent, ta as isChatOnline, ti as getStatus, to as sendVideoAsGif, ua as AlbumMedia, ui as getCommunityParticipantIds, ur as respondToEvent, va as forwardMessages, vi as getAllGroups, vr as observeCallAudio, wa as getMyLastMessage, wi as getKickedGroups, wr as SendRawMessageInputSchema, xa as getMessageById, xi as getGroupInviteLink, xr as startCall, ya as getAlbumMessages, yi as getGroupAdmins, yr as rejectCall, za as sendFileFromUrl, zi as getAllContacts, zr as getUserAgent } from "../index-HeicIada.cjs";
|
|
2
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 { $a as
|
|
1
|
+
import { $a as sendTextWithMentions, $i as getChat, $r as deleteAllStatus, Aa as pinMessage, Ai as revokeGroupInviteLink, Ar as getConnectionState, Ba as sendImage, Bi as getBlockedIds, Br as getWAVersion, Ca as getMessagesForLLM, Ci as getGroupMembersId, Cr as SendInteractiveInputSchema, Da as getUnsentMessages, Di as promoteParticipant, Dr as decryptMedia, Ea as getStarredMessages, Ei as leaveGroup, Er as sendRawMessage, Fa as sendBanner, Fi as setGroupToAdminsOnly, Fr as getLoadedMessageCount, Ga as sendMultipleContacts, Gi as requestPhoneNumber, Gr as setProfilePicture, Ha as sendListMessage, Hi as getContact, Hr as isPlugged, Ia as sendButtons, Ii as blockContact, Ir as getMe, Ja as sendPtt, Ji as archiveChat, Jr as getOrder, Ka as sendPaymentRequest, Ki as sharePhoneNumber, Kr as getBusinessProducts, La as sendContact, Li as checkNumberStatus, Lr as getProcessStats, Ma as sendAdvancedButtons, Mi as setGroupEditToAdminsOnly, Mr as getHostNumber, Na as sendAlbum, Ni as setGroupIcon, Nr as getLicenseFeatures, Oa as getVCards, Oi as rejectGroupJoinRequest, Or as downloadMedia, Pa as sendAudio, Pi as setGroupTitle, Pr as getLicenseType, Qa as sendText, Qi as getAllChats, Qr as removeLabel, Ra as sendFile, Ri as checkReadReceipts, Rr as getSnapshot, Sa as getMessageInfo, Si as getGroupMembers, Sr as stopCallAudioObserver, Ta as getPollResults, Ti as joinGroupViaLink, Tr as sendInteractive, Ua as sendLocation, Ui as getNumberProfile, Ur as setMyName, Va as sendLinkWithAutoPreview, Vi as getCommonGroups, Vr as healthCheck, Wa as sendMessageWithThumb, Wi as getProfilePicture, Wr as setMyStatus, Xa as sendSeen, Xi as deleteChat, Xr as getAllLabels, Ya as sendReplyWithMentions, Yi as clearChat, Yr as addLabel, Za as sendSticker, Zi as getAllChatIds, Zr as getChatsByLabel, _a as editMessage, _i as demoteParticipant, _r as muteCall, aa as pinChat, ai as postVideoStatus, ao as unstarMessage, ar as cancelEvent, ba as getAllMessages, bi as getGroupInfo, br as setCallMedia, ca as unmuteChat, ci as getCommunityAdmins, cr as getEventResponses, da as AlbumMediaSchema, di as getCommunityParticipants, dr as sendEvent, ea as getChatWithNonContacts, ei as deleteStatus, eo as sendVCard, fa as AlbumSendResult, fi as GroupInfo, fr as acceptCall, ga as deleteMessage, gi as createGroup, gr as getCallCapabilities, ha as StickerJobSchema, hi as approveGroupJoinRequest, hr as getActiveCall, ia as muteChat, ii as postTextStatus, io as unpinMessage, ja as react, ji as setGroupDescription, jr as getFeatures, ka as loadEarlierMessages, ki as removeParticipant, kr as getBatteryLevel, la as unpinChat, li as getCommunityInfo, lr as getEvents, ma as SendTextResultSchema, mi as addParticipant, mr as endCall, na as markAsRead, ni as getStories, no as sendYouTubeLink, oa as setChatEphemeral, oi as getAllCommunities, oo as voteOnPoll, or as editEvent, pa as AlbumSendResultSchema, pi as GroupInfoSchema, pr as clearCallAudio, qa as sendPoll, qi as unblockContact, qr as getBusinessProfile, ra as markAsUnread, ri as postImageStatus, ro as starMessage, sa as unarchiveChat, si as getCommunityAdminIds, sr as getEvent, ta as isChatOnline, ti as getStatus, to as sendVideoAsGif, ua as AlbumMedia, ui as getCommunityParticipantIds, ur as respondToEvent, va as forwardMessages, vi as getAllGroups, vr as observeCallAudio, wa as getMyLastMessage, wi as getKickedGroups, wr as SendRawMessageInputSchema, xa as getMessageById, xi as getGroupInviteLink, xr as startCall, ya as getAlbumMessages, yi as getGroupAdmins, yr as rejectCall, za as sendFileFromUrl, zi as getAllContacts, zr as getUserAgent } from "../index-C3kjyOe-.mjs";
|
|
2
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 { $n as
|
|
1
|
+
import { $ as getBusinessProfile, $n as sendSeen, $t as archiveChat, A as sendInteractive, An as getUnsentMessages, At as joinGroupViaLink, B as getLoadedMessageCount, Bn as sendContact, Bt as setGroupToAdminsOnly, Cn as getAllMessages, Ct as getAllGroups, Dn as getMyLastMessage, Dt as getGroupMembers, En as getMessagesForLLM, Et as getGroupInviteLink, F as getConnectionState, Fn as sendAdvancedButtons, Ft as revokeGroupInviteLink, G as getWAVersion, Gn as sendListMessage, Gt as getBlockedIds, H as getProcessStats, Hn as sendFileFromUrl, Ht as checkNumberStatus, I as getFeatures, In as sendAlbum, It as setGroupDescription, J as setMyName, Jn as sendMultipleContacts, Jt as getNumberProfile, K as healthCheck, Kn as sendLocation, Kt as getCommonGroups, L as getHostNumber, Ln as sendAudio, Lt as setGroupEditToAdminsOnly, M as decryptMedia, Mn as loadEarlierMessages, Mt as promoteParticipant, N as downloadMedia, Nn as pinMessage, Nt as rejectGroupJoinRequest, O as SendInteractiveInputSchema, On as getPollResults, Ot as getGroupMembersId, P as getBatteryLevel, Pn as react, Pt as removeParticipant, Q as getBusinessProducts, Qn as sendReplyWithMentions, Qt as unblockContact, R as getLicenseFeatures, Rn as sendBanner, Rt as setGroupIcon, Sn as getAlbumMessages, St as demoteParticipant, Tn as getMessageInfo, Tt as getGroupInfo, U as getSnapshot, Un as sendImage, Ut as checkReadReceipts, V as getMe, Vn as sendFile, Vt as blockContact, W as getUserAgent, Wn as sendLinkWithAutoPreview, Wt as getAllContacts, X as setProfilePicture, Xn as sendPoll, Xt as requestPhoneNumber, Y as setMyStatus, Yn as sendPaymentRequest, Yt as getProfilePicture, Zn as sendPtt, Zt as sharePhoneNumber, _ as startCall, _n as SendTextResultSchema, _t as getCommunityParticipants, a as getEvents, an as getChatWithNonContacts, ar as sendYouTubeLink, at as deleteAllStatus, bn as editMessage, bt as approveGroupJoinRequest, c as acceptCall, cn as markAsUnread, cr as unstarMessage, ct as getStories, d as getActiveCall, dn as setChatEphemeral, dt as postVideoStatus, en as clearChat, er as sendSticker, et as getOrder, f as getCallCapabilities, fn as unarchiveChat, ft as getAllCommunities, g as setCallMedia, gn as AlbumSendResultSchema, gt as getCommunityParticipantIds, h as rejectCall, hn as AlbumMediaSchema, ht as getCommunityInfo, i as getEventResponses, in as getChat, ir as sendVideoAsGif, it as removeLabel, j as sendRawMessage, jn as getVCards, jt as leaveGroup, k as SendRawMessageInputSchema, kn as getStarredMessages, kt as getKickedGroups, l as clearCallAudio, ln as muteChat, lr as voteOnPoll, lt as postImageStatus, m as observeCallAudio, mn as unpinChat, mt as getCommunityAdmins, n as editEvent, nn as getAllChatIds, nr as sendTextWithMentions, nt as getAllLabels, o as respondToEvent, on as isChatOnline, or as starMessage, ot as deleteStatus, p as muteCall, pn as unmuteChat, pt as getCommunityAdminIds, q as isPlugged, qn as sendMessageWithThumb, qt as getContact, r as getEvent, rn as getAllChats, rr as sendVCard, rt as getChatsByLabel, s as sendEvent, sn as markAsRead, sr as unpinMessage, st as getStatus, t as cancelEvent, tn as deleteChat, tr as sendText, tt as addLabel, u as endCall, un as pinChat, ut as postTextStatus, v as stopCallAudioObserver, vn as StickerJobSchema, vt as GroupInfoSchema, wn as getMessageById, wt as getGroupAdmins, xn as forwardMessages, xt as createGroup, yn as deleteMessage, yt as addParticipant, z as getLicenseType, zn as sendButtons, zt as setGroupTitle } from "../methods-CGm5G9VI.mjs";
|
|
2
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 };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { d as parameterRegistry, o as defineMethodV2 } from "./registry-BIddXpin.mjs";
|
|
2
|
+
import { InteractiveContentSchema, JsonObjectSchema } from "./interactive.mjs";
|
|
2
3
|
import { z } from "zod";
|
|
3
4
|
import { Schema } from "effect";
|
|
4
5
|
import { assertFile, getDUrl } from "@open-wa/utils";
|
|
@@ -62,7 +63,7 @@ function projectEffectSchema(schema) {
|
|
|
62
63
|
}
|
|
63
64
|
//#endregion
|
|
64
65
|
//#region src/whatsapp-events.ts
|
|
65
|
-
const id
|
|
66
|
+
const id = Schema.String.check(Schema.isMinLength(1));
|
|
66
67
|
const seconds = Schema.Number.check(Schema.isInt(), Schema.isGreaterThanOrEqualTo(0), Schema.isLessThanOrEqualTo(2147483647));
|
|
67
68
|
const milliseconds = Schema.Number.check(Schema.isInt(), Schema.isGreaterThanOrEqualTo(0));
|
|
68
69
|
/** Native WhatsApp event input. All event times are Unix seconds. */
|
|
@@ -76,7 +77,7 @@ const EventInputSchema = Schema.Struct({
|
|
|
76
77
|
callType: Schema.optional(Schema.Literals(["voice", "video"])),
|
|
77
78
|
isScheduledCall: Schema.optional(Schema.Boolean),
|
|
78
79
|
requireApproval: Schema.optional(Schema.Boolean),
|
|
79
|
-
quotedMsgId: Schema.optional(id
|
|
80
|
+
quotedMsgId: Schema.optional(id)
|
|
80
81
|
});
|
|
81
82
|
function validateEventInput(input) {
|
|
82
83
|
const event = Schema.decodeUnknownSync(EventInputSchema)(input);
|
|
@@ -100,9 +101,9 @@ function validateEventUpdate(input) {
|
|
|
100
101
|
}
|
|
101
102
|
/** A JSON-safe event snapshot. Message secrets and encrypted RSVP data stay private. */
|
|
102
103
|
const WhatsAppEventSchema = Schema.Struct({
|
|
103
|
-
id
|
|
104
|
-
chatId: id
|
|
105
|
-
creatorId: id
|
|
104
|
+
id,
|
|
105
|
+
chatId: id,
|
|
106
|
+
creatorId: id,
|
|
106
107
|
name: Schema.String,
|
|
107
108
|
startTime: seconds,
|
|
108
109
|
endTime: Schema.optional(seconds),
|
|
@@ -126,10 +127,10 @@ const EventResponseTypeSchema = Schema.Literals([
|
|
|
126
127
|
"unknown"
|
|
127
128
|
]);
|
|
128
129
|
const EventResponseSchema = Schema.Struct({
|
|
129
|
-
id
|
|
130
|
-
eventId: id
|
|
131
|
-
chatId: id
|
|
132
|
-
senderId: id
|
|
130
|
+
id,
|
|
131
|
+
eventId: id,
|
|
132
|
+
chatId: id,
|
|
133
|
+
senderId: id,
|
|
133
134
|
response: EventResponseTypeSchema,
|
|
134
135
|
/** Sender's monotonically increasing RSVP timestamp, in milliseconds. */
|
|
135
136
|
timestamp: milliseconds,
|
|
@@ -137,11 +138,11 @@ const EventResponseSchema = Schema.Struct({
|
|
|
137
138
|
});
|
|
138
139
|
const EventListOptionsSchema = Schema.Struct({
|
|
139
140
|
limit: Schema.optional(Schema.Number.check(Schema.isInt(), Schema.isGreaterThanOrEqualTo(1), Schema.isLessThanOrEqualTo(100))),
|
|
140
|
-
before: Schema.optional(id
|
|
141
|
+
before: Schema.optional(id)
|
|
141
142
|
});
|
|
142
143
|
const EventPageSchema = Schema.Struct({
|
|
143
144
|
events: Schema.Array(WhatsAppEventSchema),
|
|
144
|
-
nextCursor: Schema.NullOr(id
|
|
145
|
+
nextCursor: Schema.NullOr(id)
|
|
145
146
|
});
|
|
146
147
|
const decodeWhatsAppEvent = Schema.decodeUnknownSync(WhatsAppEventSchema);
|
|
147
148
|
const decodeEventResponse = Schema.decodeUnknownSync(EventResponseSchema);
|
|
@@ -3350,285 +3351,6 @@ const downloadMedia = defineMethodV2("downloadMedia", {
|
|
|
3350
3351
|
output: z.string().describe("Path to the saved file")
|
|
3351
3352
|
});
|
|
3352
3353
|
//#endregion
|
|
3353
|
-
//#region src/interactive.ts
|
|
3354
|
-
const JsonValueSchema = z.lazy(() => z.union([
|
|
3355
|
-
z.null(),
|
|
3356
|
-
z.boolean(),
|
|
3357
|
-
z.number().finite(),
|
|
3358
|
-
z.string(),
|
|
3359
|
-
z.array(JsonValueSchema),
|
|
3360
|
-
z.record(z.string(), JsonValueSchema)
|
|
3361
|
-
]));
|
|
3362
|
-
const JsonObjectSchema = z.record(z.string(), JsonValueSchema);
|
|
3363
|
-
const text = z.string().min(1);
|
|
3364
|
-
const url = z.url().refine((value) => /^https?:\/\//i.test(value), "Use an HTTP or HTTPS URL");
|
|
3365
|
-
const id = text.describe("Stable application-defined ID returned when the recipient chooses this item");
|
|
3366
|
-
const ReplyActionSchema = z.object({
|
|
3367
|
-
type: z.literal("reply"),
|
|
3368
|
-
id,
|
|
3369
|
-
label: text
|
|
3370
|
-
}).strict();
|
|
3371
|
-
const LinkActionSchema = z.object({
|
|
3372
|
-
type: z.literal("url"),
|
|
3373
|
-
label: text,
|
|
3374
|
-
url
|
|
3375
|
-
}).strict();
|
|
3376
|
-
const CallActionSchema = z.object({
|
|
3377
|
-
type: z.literal("call"),
|
|
3378
|
-
label: text,
|
|
3379
|
-
phoneNumber: text
|
|
3380
|
-
}).strict();
|
|
3381
|
-
const CopyActionSchema = z.object({
|
|
3382
|
-
type: z.literal("copy"),
|
|
3383
|
-
label: text,
|
|
3384
|
-
code: text
|
|
3385
|
-
}).strict();
|
|
3386
|
-
const InteractiveActionSchema = z.discriminatedUnion("type", [
|
|
3387
|
-
ReplyActionSchema,
|
|
3388
|
-
LinkActionSchema,
|
|
3389
|
-
CallActionSchema,
|
|
3390
|
-
CopyActionSchema
|
|
3391
|
-
]);
|
|
3392
|
-
const NativeActionSchema = z.object({
|
|
3393
|
-
name: text.describe("WhatsApp native action name; availability depends on the recipient and account"),
|
|
3394
|
-
parameters: JsonObjectSchema.optional()
|
|
3395
|
-
}).strict();
|
|
3396
|
-
const actions = z.array(InteractiveActionSchema).min(1).superRefine((items, ctx) => {
|
|
3397
|
-
const replies = items.filter((item) => item.type === "reply");
|
|
3398
|
-
if (replies.length && replies.length !== items.length) ctx.addIssue({
|
|
3399
|
-
code: "custom",
|
|
3400
|
-
message: "Reply actions cannot be mixed with URL, call or copy actions"
|
|
3401
|
-
});
|
|
3402
|
-
const ids = /* @__PURE__ */ new Set();
|
|
3403
|
-
items.forEach((item, index) => {
|
|
3404
|
-
if (item.type !== "reply") return;
|
|
3405
|
-
if (ids.has(item.id)) ctx.addIssue({
|
|
3406
|
-
code: "custom",
|
|
3407
|
-
path: [index, "id"],
|
|
3408
|
-
message: "Duplicate reply ID"
|
|
3409
|
-
});
|
|
3410
|
-
ids.add(item.id);
|
|
3411
|
-
});
|
|
3412
|
-
});
|
|
3413
|
-
const media$1 = {
|
|
3414
|
-
source: text.describe("HTTP(S) URL, local file path or base64 data URL; resolved by the client before sending"),
|
|
3415
|
-
filename: text.optional(),
|
|
3416
|
-
title: z.string().optional()
|
|
3417
|
-
};
|
|
3418
|
-
const InteractiveHeaderSchema = z.discriminatedUnion("type", [
|
|
3419
|
-
z.object({
|
|
3420
|
-
type: z.literal("text"),
|
|
3421
|
-
text
|
|
3422
|
-
}).strict(),
|
|
3423
|
-
z.object({
|
|
3424
|
-
type: z.literal("image"),
|
|
3425
|
-
...media$1
|
|
3426
|
-
}).strict(),
|
|
3427
|
-
z.object({
|
|
3428
|
-
type: z.literal("video"),
|
|
3429
|
-
...media$1
|
|
3430
|
-
}).strict(),
|
|
3431
|
-
z.object({
|
|
3432
|
-
type: z.literal("document"),
|
|
3433
|
-
...media$1
|
|
3434
|
-
}).strict()
|
|
3435
|
-
]);
|
|
3436
|
-
const base = {
|
|
3437
|
-
version: z.literal(1).optional().describe("Document format version, defaults to 1; independent of WhatsApp protocol versions"),
|
|
3438
|
-
body: text,
|
|
3439
|
-
footer: z.string().optional()
|
|
3440
|
-
};
|
|
3441
|
-
const ButtonsContentSchema = z.object({
|
|
3442
|
-
...base,
|
|
3443
|
-
type: z.literal("buttons"),
|
|
3444
|
-
header: InteractiveHeaderSchema.optional(),
|
|
3445
|
-
actions
|
|
3446
|
-
}).strict();
|
|
3447
|
-
const ListRowSchema = z.object({
|
|
3448
|
-
id,
|
|
3449
|
-
title: text,
|
|
3450
|
-
description: z.string().optional()
|
|
3451
|
-
}).strict();
|
|
3452
|
-
const ListContentSchema = z.object({
|
|
3453
|
-
...base,
|
|
3454
|
-
type: z.literal("list"),
|
|
3455
|
-
title: z.string().optional(),
|
|
3456
|
-
buttonLabel: text.default("Choose an option"),
|
|
3457
|
-
sections: z.array(z.object({
|
|
3458
|
-
title: z.string().optional(),
|
|
3459
|
-
rows: z.array(ListRowSchema).min(1)
|
|
3460
|
-
}).strict()).min(1)
|
|
3461
|
-
}).strict();
|
|
3462
|
-
const FormQuestionSchema = z.object({
|
|
3463
|
-
type: z.enum(["singleSelect", "multiSelect"]),
|
|
3464
|
-
id,
|
|
3465
|
-
label: text,
|
|
3466
|
-
options: z.array(z.object({
|
|
3467
|
-
id,
|
|
3468
|
-
label: text
|
|
3469
|
-
}).strict()).min(1),
|
|
3470
|
-
allowCustomAnswer: z.boolean().optional()
|
|
3471
|
-
}).strict();
|
|
3472
|
-
const FormContentSchema = z.object({
|
|
3473
|
-
...base,
|
|
3474
|
-
type: z.literal("form"),
|
|
3475
|
-
title: z.string().optional(),
|
|
3476
|
-
questions: z.array(FormQuestionSchema).min(1)
|
|
3477
|
-
}).strict();
|
|
3478
|
-
const CarouselCardSchema = z.object({
|
|
3479
|
-
body: text,
|
|
3480
|
-
header: z.object({
|
|
3481
|
-
type: z.literal("image"),
|
|
3482
|
-
...media$1
|
|
3483
|
-
}).strict(),
|
|
3484
|
-
actions
|
|
3485
|
-
}).strict();
|
|
3486
|
-
const CarouselContentSchema = z.object({
|
|
3487
|
-
...base,
|
|
3488
|
-
type: z.literal("carousel"),
|
|
3489
|
-
cards: z.array(CarouselCardSchema).min(1)
|
|
3490
|
-
}).strict();
|
|
3491
|
-
const BookingContentSchema = z.object({
|
|
3492
|
-
...base,
|
|
3493
|
-
type: z.literal("booking"),
|
|
3494
|
-
title: z.string().optional(),
|
|
3495
|
-
buttonLabel: text.default("View booking"),
|
|
3496
|
-
booking: z.object({
|
|
3497
|
-
startAt: z.iso.datetime({ offset: true }),
|
|
3498
|
-
endAt: z.iso.datetime({ offset: true }).optional(),
|
|
3499
|
-
location: z.string().optional(),
|
|
3500
|
-
url: url.optional(),
|
|
3501
|
-
managementUrl: url.optional(),
|
|
3502
|
-
phoneNumber: z.string().optional(),
|
|
3503
|
-
email: z.email().optional(),
|
|
3504
|
-
description: z.string().optional(),
|
|
3505
|
-
labels: z.object({
|
|
3506
|
-
language: z.string().optional(),
|
|
3507
|
-
meetingType: z.string().optional(),
|
|
3508
|
-
detailsTitle: z.string().optional(),
|
|
3509
|
-
addToCalendar: z.string().optional(),
|
|
3510
|
-
viewOnMap: z.string().optional(),
|
|
3511
|
-
manageBooking: z.string().optional()
|
|
3512
|
-
}).strict().optional()
|
|
3513
|
-
}).strict(),
|
|
3514
|
-
actions: z.array(z.discriminatedUnion("type", [
|
|
3515
|
-
LinkActionSchema,
|
|
3516
|
-
CallActionSchema,
|
|
3517
|
-
CopyActionSchema
|
|
3518
|
-
])).optional()
|
|
3519
|
-
}).strict();
|
|
3520
|
-
const NativeContentSchema = z.object({
|
|
3521
|
-
...base,
|
|
3522
|
-
type: z.literal("native"),
|
|
3523
|
-
header: InteractiveHeaderSchema.optional(),
|
|
3524
|
-
actions: z.array(NativeActionSchema).min(1),
|
|
3525
|
-
parameters: JsonObjectSchema.optional()
|
|
3526
|
-
}).strict().describe("Advanced extension for new native action types; parameters are passed through without claiming recipient support");
|
|
3527
|
-
const InteractiveContentSchema = z.discriminatedUnion("type", [
|
|
3528
|
-
ButtonsContentSchema,
|
|
3529
|
-
ListContentSchema,
|
|
3530
|
-
FormContentSchema,
|
|
3531
|
-
CarouselContentSchema,
|
|
3532
|
-
BookingContentSchema,
|
|
3533
|
-
NativeContentSchema
|
|
3534
|
-
]).superRefine((content, ctx) => {
|
|
3535
|
-
const unique = (items, path) => {
|
|
3536
|
-
const seen = /* @__PURE__ */ new Set();
|
|
3537
|
-
items.forEach((item, index) => {
|
|
3538
|
-
if (seen.has(item.id)) ctx.addIssue({
|
|
3539
|
-
code: "custom",
|
|
3540
|
-
path: [
|
|
3541
|
-
...path,
|
|
3542
|
-
index,
|
|
3543
|
-
"id"
|
|
3544
|
-
],
|
|
3545
|
-
message: "IDs must be unique"
|
|
3546
|
-
});
|
|
3547
|
-
seen.add(item.id);
|
|
3548
|
-
});
|
|
3549
|
-
};
|
|
3550
|
-
if (content.type === "form") {
|
|
3551
|
-
unique(content.questions, ["questions"]);
|
|
3552
|
-
content.questions.forEach((q, index) => {
|
|
3553
|
-
unique(q.options, [
|
|
3554
|
-
"questions",
|
|
3555
|
-
index,
|
|
3556
|
-
"options"
|
|
3557
|
-
]);
|
|
3558
|
-
if (q.id === "__openwa_form__") ctx.addIssue({
|
|
3559
|
-
code: "custom",
|
|
3560
|
-
path: [
|
|
3561
|
-
"questions",
|
|
3562
|
-
index,
|
|
3563
|
-
"id"
|
|
3564
|
-
],
|
|
3565
|
-
message: "This question ID is reserved"
|
|
3566
|
-
});
|
|
3567
|
-
});
|
|
3568
|
-
}
|
|
3569
|
-
if (content.type === "list") {
|
|
3570
|
-
const seen = /* @__PURE__ */ new Set();
|
|
3571
|
-
content.sections.forEach((section, s) => section.rows.forEach((row, r) => {
|
|
3572
|
-
if (seen.has(row.id)) ctx.addIssue({
|
|
3573
|
-
code: "custom",
|
|
3574
|
-
path: [
|
|
3575
|
-
"sections",
|
|
3576
|
-
s,
|
|
3577
|
-
"rows",
|
|
3578
|
-
r,
|
|
3579
|
-
"id"
|
|
3580
|
-
],
|
|
3581
|
-
message: "Row IDs must be unique across sections"
|
|
3582
|
-
});
|
|
3583
|
-
seen.add(row.id);
|
|
3584
|
-
}));
|
|
3585
|
-
}
|
|
3586
|
-
if (content.type === "booking" && content.booking.endAt && Date.parse(content.booking.endAt) <= Date.parse(content.booking.startAt)) ctx.addIssue({
|
|
3587
|
-
code: "custom",
|
|
3588
|
-
path: ["booking", "endAt"],
|
|
3589
|
-
message: "Booking end must be after its start"
|
|
3590
|
-
});
|
|
3591
|
-
});
|
|
3592
|
-
/** Validate a JSON document without sending it or loading media; suitable for UI builders. */
|
|
3593
|
-
function defineInteractiveMessage(content) {
|
|
3594
|
-
return InteractiveContentSchema.parse(content);
|
|
3595
|
-
}
|
|
3596
|
-
const responseBase = {
|
|
3597
|
-
messageId: text,
|
|
3598
|
-
chatId: text,
|
|
3599
|
-
senderId: text,
|
|
3600
|
-
originalMessageId: z.string().optional().describe("Original WhatsApp stanza ID; may not be a full serialized message key"),
|
|
3601
|
-
timestamp: z.number().optional(),
|
|
3602
|
-
raw: JsonObjectSchema
|
|
3603
|
-
};
|
|
3604
|
-
const FormResponseSchema = z.object({
|
|
3605
|
-
...responseBase,
|
|
3606
|
-
type: z.literal("form"),
|
|
3607
|
-
answers: z.record(z.string(), z.union([z.string(), z.array(z.string())]))
|
|
3608
|
-
});
|
|
3609
|
-
const InteractiveResponseSchema = z.discriminatedUnion("type", [
|
|
3610
|
-
FormResponseSchema,
|
|
3611
|
-
z.object({
|
|
3612
|
-
...responseBase,
|
|
3613
|
-
type: z.literal("reply"),
|
|
3614
|
-
id: text,
|
|
3615
|
-
label: z.string().optional()
|
|
3616
|
-
}),
|
|
3617
|
-
z.object({
|
|
3618
|
-
...responseBase,
|
|
3619
|
-
type: z.literal("list"),
|
|
3620
|
-
id: text,
|
|
3621
|
-
label: z.string().optional()
|
|
3622
|
-
}),
|
|
3623
|
-
z.object({
|
|
3624
|
-
...responseBase,
|
|
3625
|
-
type: z.literal("native"),
|
|
3626
|
-
name: text,
|
|
3627
|
-
parameters: JsonValueSchema.optional(),
|
|
3628
|
-
parseError: z.string().optional()
|
|
3629
|
-
})
|
|
3630
|
-
]);
|
|
3631
|
-
//#endregion
|
|
3632
3354
|
//#region src/methods/interactive.ts
|
|
3633
3355
|
const SendInteractiveInputSchema = z.object({
|
|
3634
3356
|
to: toParam,
|
|
@@ -3903,6 +3625,6 @@ const respondToEvent = defineMethodV2("respondToEvent", {
|
|
|
3903
3625
|
output: z.boolean()
|
|
3904
3626
|
});
|
|
3905
3627
|
//#endregion
|
|
3906
|
-
export {
|
|
3628
|
+
export { getBusinessProfile as $, StorySchema as $i, sendSeen as $n, UnixSecondsToDateSchema as $r, archiveChat as $t, sendInteractive as A, validateEventInput as Aa, BusinessProfileSchema as Ai, getUnsentMessages as An, nameParam as Ar, joinGroupViaLink as At, getLoadedMessageCount as B, GroupCreationResultSchema as Bi, sendContact as Bn, Base64ToDataUrlSchema as Br, setGroupToAdminsOnly as Bt, CallMediaOptionsSchema as C, WhatsAppEventSchema as Ca, AutoMediaSendOptionsSchema as Ci, getAllMessages as Cn, latitudeParam as Cr, getAllGroups as Ct, RawAudioFormatSchema as D, deserializeWhatsAppEvent as Da, MediaSendOptionsSchema as Di, getMyLastMessage as Dn, messageIdParam as Dr, getGroupMembers as Dt, MediaDescriptorSchema as E, deserializeEventResponse as Ea, ImageSendOptionsSchema as Ei, getMessagesForLLM as En, mentionedJidListParam as Er, getGroupInviteLink as Et, getConnectionState as F, CommunityMetadataSchema as Fi, sendAdvancedButtons as Fn, toParam as Fr, revokeGroupInviteLink as Ft, getWAVersion as G, LicenseTypeSchema as Gi, sendListMessage as Gn, FileToDataUrlSchema as Gr, getBlockedIds as Gt, getProcessStats as H, HostAccountSchema as Hi, sendFileFromUrl as Hn, ChatIdSchema as Hr, checkNumberStatus as Ht, getFeatures as I, CommunityParticipantIdsSchema as Ii, sendAlbum as In, userAgentParam as Ir, setGroupDescription as It, setMyName as J, NumberCheckSchema as Ji, sendMultipleContacts as Jn, HexColorSchema as Jr, getNumberProfile as Jt, healthCheck as K, MessageInfoSchema as Ki, sendLocation as Kn, GroupIdCodecSchema as Kr, getCommonGroups as Kt, getHostNumber as L, CommunityParticipantsSchema as Li, sendAudio as Ln, videoDataParam as Lr, setGroupEditToAdminsOnly as Lt, decryptMedia as M, projectEffectSchema as Ma, CommonGroupSchema as Mi, loadEarlierMessages as Mn, skipMyMessagesParam as Mr, promoteParticipant as Mt, downloadMedia as N, CommunityAdminIdsSchema as Ni, pinMessage as Nn, statusTextParam as Nr, rejectGroupJoinRequest as Nt, SendInteractiveInputSchema as O, serializeEventResponse as Oa, VideoSendOptionsSchema as Oi, getPollResults as On, messageIdsParam as Or, getGroupMembersId as Ot, getBatteryLevel as P, CommunityAdminsSchema as Pi, react as Pn, stickerDataParam as Pr, removeParticipant as Pt, getBusinessProducts as Q, ProductSchema as Qi, sendReplyWithMentions as Qn, UnixMillisToDateSchema as Qr, unblockContact as Qt, getLicenseFeatures as R, ContactStatusSchema as Ri, sendBanner as Rn, waitForIdParam as Rr, setGroupIcon as Rt, CallIdentitySchema as S, EventUpdateSchema as Sa, AudioSendOptionsSchema as Si, getAlbumMessages as Sn, includeNotificationsParam as Sr, demoteParticipant as St, CallSnapshotSchema as T, decodeWhatsAppEvent as Ta, GifSendOptionsSchema as Ti, getMessageInfo as Tn, longitudeParam as Tr, getGroupInfo as Tt, getSnapshot as U, LLMMessageSchema as Ui, sendImage as Un, ContactIdCodecSchema as Ur, checkReadReceipts as Ut, getMe as V, HealthCheckSchema as Vi, sendFile as Vn, ChatIdCodecSchema as Vr, blockContact as Vt, getUserAgent as W, LabelSchema as Wi, sendLinkWithAutoPreview as Wn, ContactIdSchema as Wr, getAllContacts as Wt, setProfilePicture as X, OrderSchema as Xi, sendPoll as Xn, MessageIdCodecSchema as Xr, requestPhoneNumber as Xt, setMyStatus as Y, NumberProfileSchema as Yi, sendPaymentRequest as Yn, IsoDatetimeToDateSchema as Yr, getProfilePicture as Yt, LicenseFeaturesSchema as Z, ProcessStatsSchema as Zi, sendPtt as Zn, MessageIdSchema as Zr, sharePhoneNumber as Zt, startCall as _, EventInputSchema as _a, PinDurationSchema as _i, SendTextResultSchema as _n, fileDataParam as _r, getCommunityParticipants as _t, getEvents as a, GroupIdSchema$1 as aa, fileToBufferCodec as ai, getChatWithNonContacts as an, sendYouTubeLink as ar, deleteAllStatus as at, CallCapabilitiesSchema as b, EventResponseSchema as ba, PollVoteSchema as bi, editMessage as bn, imageDataParam as br, approveGroupJoinRequest as bt, acceptCall as c, LocationSchema as ca, fileToTempPathCodec as ci, markAsUnread as cn, unstarMessage as cr, getStories as ct, getActiveCall as d, MessageSchema as da, isoDatetimeToDate as di, setChatEphemeral as dn, captionParam as dr, postVideoStatus as dt, ChatSchema as ea, base64ToDataUrlCodec as ei, clearChat as en, sendSticker as er, getOrder as et, getCallCapabilities as f, MessageTypes as fa, jsonStringCodec as fi, unarchiveChat as fn, chatIdParam as fr, getAllCommunities as ft, setCallMedia as g, WhatsAppEventRegistrySchema as ga, urlToDataUrlCodec as gi, AlbumSendResultSchema as gn, documentDataParam as gr, getCommunityParticipantIds as gt, rejectCall as h, EventResponseRegistrySchema as ha, unixSecondsToDate as hi, AlbumMediaSchema as hn, contentParam as hr, getCommunityInfo as ht, getEventResponses as i, GroupChatIdSchema as ia, fileToBase64Codec as ii, getChat as in, sendVideoAsGif as ir, removeLabel as it, sendRawMessage as j, validateEventUpdate as ja, CartItemSchema as ji, getVCards as jn, onlyLocalParam as jr, leaveGroup as jt, SendRawMessageInputSchema as k, serializeWhatsAppEvent as ka, VoiceNoteOptionsSchema as ki, getStarredMessages as kn, messageOptionsParam as kr, getKickedGroups as kt, clearCallAudio as l, MessageAck as la, groupIdCodec as li, muteChat as ln, voteOnPoll as lr, postImageStatus as lt, observeCallAudio as m, SimpleListener as ma, unixMillisToDate as mi, unpinChat as mn, contactIdParam as mr, getCommunityAdmins as mt, editEvent as n, ContactSchema as na, contactIdCodec as ni, getAllChatIds as nn, sendTextWithMentions as nr, getAllLabels as nt, respondToEvent as o, GroupMetadataSchema as oa, fileToDataUrlCodec as oi, isChatOnline as on, starMessage as or, deleteStatus as ot, muteCall as p, SerializedMessageIdSchema as pa, messageIdCodec as pi, unmuteChat as pn, communityIdParam as pr, getCommunityAdminIds as pt, isPlugged as q, MessageInteractionSchema as qi, sendMessageWithThumb as qn, GroupIdSchema as qr, getContact as qt, getEvent as r, DataURLSchema as ra, createFileCodec as ri, getAllChats as rn, sendVCard as rr, getChatsByLabel as rt, sendEvent as s, IdSchema as sa, fileToStreamCodec as si, markAsRead as sn, unpinMessage as sr, getStatus as st, cancelEvent as t, ContactIdSchema$1 as ta, chatIdCodec as ti, deleteChat as tn, sendText as tr, addLabel as tt, endCall as u, MessageIdReturnSchema as ua, hexColorCodec as ui, pinChat as un, audioDataParam as ur, postTextStatus as ut, stopCallAudioObserver as v, EventListOptionsSchema as va, PollResultsSchema as vi, StickerJobSchema as vn, filenameParam as vr, GroupInfoSchema as vt, CallReasonSchema as w, decodeEventResponse as wa, DocumentSendOptionsSchema as wi, getMessageById as wn, locationNameParam as wr, getGroupAdmins as wt, CallEndReasonSchema as x, EventResponseTypeSchema as xa, AudioAttachmentOptionsSchema as xi, forwardMessages as xn, includeMeParam as xr, createGroup as xt, CallActionResultSchema as y, EventPageSchema as ya, PollSendOptionsSchema as yi, deleteMessage as yn, groupIdParam as yr, addParticipant as yt, getLicenseType as z, FeatureFlagsSchema as zi, sendButtons as zn, withNewMessagesOnlyParam as zr, setGroupTitle as zt };
|
|
3907
3629
|
|
|
3908
|
-
//# sourceMappingURL=methods-
|
|
3630
|
+
//# sourceMappingURL=methods-CGm5G9VI.mjs.map
|