@open-wa/schema 5.0.0 → 5.2.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/generated/index.cjs +8 -2
- package/dist/generated/index.cjs.map +1 -1
- package/dist/generated/index.d.cts +7868 -994
- package/dist/generated/index.d.cts.map +1 -1
- package/dist/generated/index.d.mts +7868 -994
- package/dist/generated/index.d.mts.map +1 -1
- package/dist/generated/index.mjs +8 -2
- package/dist/generated/index.mjs.map +1 -1
- package/dist/index-C9Ad0lEr.d.cts +4729 -0
- package/dist/index-C9Ad0lEr.d.cts.map +1 -0
- package/dist/index-D0QN2PaW.d.mts +4729 -0
- package/dist/index-D0QN2PaW.d.mts.map +1 -0
- package/dist/index.cjs +109 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +53 -2
- package/dist/index.mjs.map +1 -1
- package/dist/methods/index.cjs +6 -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-Dizm7Fn9.cjs → methods-BGmdzjd3.cjs} +904 -76
- package/dist/methods-BGmdzjd3.cjs.map +1 -0
- package/dist/{methods-CZqeUhKy.mjs → methods-BhLsQNtL.mjs} +587 -77
- package/dist/methods-BhLsQNtL.mjs.map +1 -0
- package/package.json +4 -3
- package/src/__tests__/generators.contract.test.ts +181 -0
- package/src/__tests__/registry.contract.test.ts +81 -0
- package/src/client-config.ts +30 -0
- package/src/codecs.test.ts +41 -0
- package/src/codecs.ts +191 -0
- package/src/common-types.ts +287 -0
- package/src/config.ts +47 -0
- package/src/enums.ts +63 -0
- package/src/events/groups.ts +33 -0
- package/src/events/index.ts +4 -0
- package/src/events/messaging.ts +86 -0
- package/src/events/registry.ts +124 -0
- package/src/events/state.ts +59 -0
- package/src/generated/AliasMap.ts +216 -0
- package/src/generated/BaseClient.ts +878 -0
- package/src/generated/BaseNamespacedClient.ts +214 -0
- package/src/generated/index.ts +5 -0
- package/src/generated/openapi.json +30049 -0
- package/src/generated/types.ts +383 -0
- package/src/http-manifest.ts +97 -0
- package/src/implementor.test.ts +88 -0
- package/src/implementor.ts +75 -0
- package/src/index.ts +46 -0
- package/src/interactive.ts +151 -0
- package/src/methods/business.ts +52 -0
- package/src/methods/chats.ts +264 -0
- package/src/methods/communities.ts +121 -0
- package/src/methods/contacts.ts +160 -0
- package/src/methods/groups.ts +378 -0
- package/src/methods/index.ts +34 -0
- package/src/methods/interactive.ts +21 -0
- package/src/methods/labels.ts +88 -0
- package/src/methods/media.ts +36 -0
- package/src/methods/messaging.ts +836 -0
- package/src/methods/session.ts +262 -0
- package/src/methods/status.ts +122 -0
- package/src/output-json-schema.ts +27 -0
- package/src/parameters.ts +237 -0
- package/src/registry.test.ts +30 -0
- package/src/registry.ts +601 -0
- package/src/return-types.ts +125 -0
- package/dist/index-BHcd0h7x.d.mts +0 -1265
- package/dist/index-BHcd0h7x.d.mts.map +0 -1
- package/dist/index-ChYFQM1K.d.cts +0 -1265
- package/dist/index-ChYFQM1K.d.cts.map +0 -1
- package/dist/methods-CZqeUhKy.mjs.map +0 -1
- package/dist/methods-Dizm7Fn9.cjs.map +0 -1
|
@@ -1,1265 +0,0 @@
|
|
|
1
|
-
import { F as LicenseTier, p as OpenWAMethodSchema } from "./http-manifest-CqjUoaDB.cjs";
|
|
2
|
-
import "./implementor-ACLHTHby.cjs";
|
|
3
|
-
import { z } from "zod";
|
|
4
|
-
import { CLOUD_PROVIDERS, CloudUploadOptions, CloudUploadOptionsSchema, Config, Config as ClientConfig, ConfigSchema, ConfigSchema as ClientConfigSchema, DIRECTORY_STRATEGY, DeepPartialConfig, DevTools, DevToolsSchema, LicenseType, LoggingTransport, LoggingTransportSchema, NotificationLanguage, OnError, PartialConfig, PartialConfigSchema, ProxyServerCredentials, ProxyServerCredentialsSchema, QRFormat, S3Sync, S3SyncSchema, SessionData, SessionDataSchema, StrictConfig, StrictConfigSchema, Viewport, ViewportSchema, getDefaultConfig, parseConfig, validateConfig } from "@open-wa/config";
|
|
5
|
-
//#endregion
|
|
6
|
-
//#region src/client-config.d.ts
|
|
7
|
-
declare function migrateV4Config(oldConfig: Record<string, unknown>): Record<string, unknown>;
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region src/common-types.d.ts
|
|
10
|
-
declare const ContactIdSchema$1: z.core.$ZodBranded<z.ZodString, "ContactId", "out">;
|
|
11
|
-
type ContactId = z.infer<typeof ContactIdSchema$1>;
|
|
12
|
-
declare const ChatIdSchema$1: z.core.$ZodBranded<z.ZodString, "ChatId", "out">;
|
|
13
|
-
type ChatId = z.infer<typeof ChatIdSchema$1>;
|
|
14
|
-
declare const MessageIdSchema$1: z.core.$ZodBranded<z.ZodString, "MessageId", "out">;
|
|
15
|
-
type MessageId = z.infer<typeof MessageIdSchema$1>;
|
|
16
|
-
declare const GroupChatIdSchema: z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">;
|
|
17
|
-
type GroupChatId = z.infer<typeof GroupChatIdSchema>;
|
|
18
|
-
declare const GroupIdSchema$1: z.core.$ZodBranded<z.ZodString, "GroupId", "out">;
|
|
19
|
-
type GroupId = z.infer<typeof GroupIdSchema$1>;
|
|
20
|
-
type DataURL = `data:${string};base64,${string}`;
|
|
21
|
-
type Base64 = string;
|
|
22
|
-
type Content = string | DataURL | Base64 | Buffer;
|
|
23
|
-
declare const GroupMetadataSchema: z.ZodObject<{
|
|
24
|
-
id: z.core.$ZodBranded<z.ZodString, "GroupId", "out">;
|
|
25
|
-
subject: z.ZodString;
|
|
26
|
-
creation: z.ZodNumber;
|
|
27
|
-
owner: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
28
|
-
desc: z.ZodOptional<z.ZodString>;
|
|
29
|
-
descTime: z.ZodOptional<z.ZodNumber>;
|
|
30
|
-
descOwner: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
31
|
-
restrict: z.ZodOptional<z.ZodBoolean>;
|
|
32
|
-
announce: z.ZodOptional<z.ZodBoolean>;
|
|
33
|
-
participants: z.ZodArray<z.ZodObject<{
|
|
34
|
-
id: z.core.$ZodBranded<z.ZodString, "ContactId", "out">;
|
|
35
|
-
isAdmin: z.ZodBoolean;
|
|
36
|
-
isSuperAdmin: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
-
}, z.core.$strip>>;
|
|
38
|
-
}, z.core.$loose>;
|
|
39
|
-
type GroupMetadata = z.infer<typeof GroupMetadataSchema>;
|
|
40
|
-
declare const IdSchema: z.ZodObject<{
|
|
41
|
-
server: z.ZodString;
|
|
42
|
-
user: z.ZodString;
|
|
43
|
-
_serialized: z.ZodString;
|
|
44
|
-
}, z.core.$strip>;
|
|
45
|
-
type Id = z.infer<typeof IdSchema>;
|
|
46
|
-
declare enum MessageTypes {
|
|
47
|
-
TEXT = "chat",
|
|
48
|
-
AUDIO = "audio",
|
|
49
|
-
VOICE = "ptt",
|
|
50
|
-
IMAGE = "image",
|
|
51
|
-
VIDEO = "video",
|
|
52
|
-
DOCUMENT = "document",
|
|
53
|
-
STICKER = "sticker",
|
|
54
|
-
LOCATION = "location",
|
|
55
|
-
CONTACT_CARD = "vcard",
|
|
56
|
-
CONTACT_CARD_MULTI = "multi_vcard",
|
|
57
|
-
REVOKED = "revoked",
|
|
58
|
-
ORDER = "order",
|
|
59
|
-
BUTTONS_RESPONSE = "buttons_response",
|
|
60
|
-
LIST_RESPONSE = "list_response",
|
|
61
|
-
UNKNOWN = "unknown"
|
|
62
|
-
}
|
|
63
|
-
declare enum MessageAck {
|
|
64
|
-
ACK_ERROR = -1,
|
|
65
|
-
ACK_PENDING = 0,
|
|
66
|
-
ACK_SERVER = 1,
|
|
67
|
-
ACK_DEVICE = 2,
|
|
68
|
-
ACK_READ = 3,
|
|
69
|
-
ACK_PLAYED = 4
|
|
70
|
-
}
|
|
71
|
-
declare enum SimpleListener {
|
|
72
|
-
Message = "onMessage",
|
|
73
|
-
AnyMessage = "onAnyMessage",
|
|
74
|
-
MessageDeleted = "onMessageDeleted",
|
|
75
|
-
Ack = "onAck",
|
|
76
|
-
AddedToGroup = "onAddedToGroup",
|
|
77
|
-
ChatDeleted = "onChatDeleted",
|
|
78
|
-
Battery = "onBattery",
|
|
79
|
-
ChatOpened = "onChatOpened",
|
|
80
|
-
IncomingCall = "onIncomingCall",
|
|
81
|
-
GlobalParticipantsChanged = "onGlobalParticipantsChanged",
|
|
82
|
-
ChatState = "onChatState",
|
|
83
|
-
Logout = "onLogout",
|
|
84
|
-
Plugged = "onPlugged",
|
|
85
|
-
StateChanged = "onStateChanged",
|
|
86
|
-
Button = "onButton",
|
|
87
|
-
Story = "onStory",
|
|
88
|
-
RemovedFromGroup = "onRemovedFromGroup",
|
|
89
|
-
ContactAdded = "onContactAdded",
|
|
90
|
-
Order = "onOrder"
|
|
91
|
-
}
|
|
92
|
-
declare const ContactSchema: z.ZodObject<{
|
|
93
|
-
id: z.core.$ZodBranded<z.ZodString, "ContactId", "out">;
|
|
94
|
-
name: z.ZodOptional<z.ZodString>;
|
|
95
|
-
shortName: z.ZodOptional<z.ZodString>;
|
|
96
|
-
pushname: z.ZodOptional<z.ZodString>;
|
|
97
|
-
formattedName: z.ZodOptional<z.ZodString>;
|
|
98
|
-
isBusiness: z.ZodOptional<z.ZodBoolean>;
|
|
99
|
-
isEnterprise: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
-
isMe: z.ZodOptional<z.ZodBoolean>;
|
|
101
|
-
isMyContact: z.ZodOptional<z.ZodBoolean>;
|
|
102
|
-
isPSA: z.ZodOptional<z.ZodBoolean>;
|
|
103
|
-
isUser: z.ZodOptional<z.ZodBoolean>;
|
|
104
|
-
isWAContact: z.ZodOptional<z.ZodBoolean>;
|
|
105
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
106
|
-
msgs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
107
|
-
profilePicThumbObj: z.ZodOptional<z.ZodObject<{
|
|
108
|
-
eurl: z.ZodOptional<z.ZodString>;
|
|
109
|
-
id: z.ZodOptional<z.ZodObject<{
|
|
110
|
-
server: z.ZodString;
|
|
111
|
-
user: z.ZodString;
|
|
112
|
-
_serialized: z.ZodString;
|
|
113
|
-
}, z.core.$strip>>;
|
|
114
|
-
img: z.ZodOptional<z.ZodString>;
|
|
115
|
-
imgFull: z.ZodOptional<z.ZodString>;
|
|
116
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
117
|
-
}, z.core.$strip>>;
|
|
118
|
-
statusMute: z.ZodOptional<z.ZodBoolean>;
|
|
119
|
-
type: z.ZodOptional<z.ZodString>;
|
|
120
|
-
verifiedLevel: z.ZodOptional<z.ZodNumber>;
|
|
121
|
-
verifiedName: z.ZodOptional<z.ZodString>;
|
|
122
|
-
isOnline: z.ZodOptional<z.ZodBoolean>;
|
|
123
|
-
lastSeen: z.ZodOptional<z.ZodNumber>;
|
|
124
|
-
}, z.core.$loose>;
|
|
125
|
-
type Contact = z.infer<typeof ContactSchema>;
|
|
126
|
-
declare const LocationSchema: z.ZodObject<{
|
|
127
|
-
lat: z.ZodNumber;
|
|
128
|
-
lng: z.ZodNumber;
|
|
129
|
-
name: z.ZodOptional<z.ZodString>;
|
|
130
|
-
address: z.ZodOptional<z.ZodString>;
|
|
131
|
-
url: z.ZodOptional<z.ZodString>;
|
|
132
|
-
}, z.core.$loose>;
|
|
133
|
-
type Location = z.infer<typeof LocationSchema>;
|
|
134
|
-
declare const ChatSchema: z.ZodObject<{
|
|
135
|
-
id: z.ZodUnion<[z.core.$ZodBranded<z.ZodString, "ContactId", "out">, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">]>;
|
|
136
|
-
name: z.ZodOptional<z.ZodString>;
|
|
137
|
-
formattedTitle: z.ZodOptional<z.ZodString>;
|
|
138
|
-
isGroup: z.ZodBoolean;
|
|
139
|
-
contact: z.ZodObject<{
|
|
140
|
-
id: z.core.$ZodBranded<z.ZodString, "ContactId", "out">;
|
|
141
|
-
name: z.ZodOptional<z.ZodString>;
|
|
142
|
-
shortName: z.ZodOptional<z.ZodString>;
|
|
143
|
-
pushname: z.ZodOptional<z.ZodString>;
|
|
144
|
-
formattedName: z.ZodOptional<z.ZodString>;
|
|
145
|
-
isBusiness: z.ZodOptional<z.ZodBoolean>;
|
|
146
|
-
isEnterprise: z.ZodOptional<z.ZodBoolean>;
|
|
147
|
-
isMe: z.ZodOptional<z.ZodBoolean>;
|
|
148
|
-
isMyContact: z.ZodOptional<z.ZodBoolean>;
|
|
149
|
-
isPSA: z.ZodOptional<z.ZodBoolean>;
|
|
150
|
-
isUser: z.ZodOptional<z.ZodBoolean>;
|
|
151
|
-
isWAContact: z.ZodOptional<z.ZodBoolean>;
|
|
152
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
153
|
-
msgs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
154
|
-
profilePicThumbObj: z.ZodOptional<z.ZodObject<{
|
|
155
|
-
eurl: z.ZodOptional<z.ZodString>;
|
|
156
|
-
id: z.ZodOptional<z.ZodObject<{
|
|
157
|
-
server: z.ZodString;
|
|
158
|
-
user: z.ZodString;
|
|
159
|
-
_serialized: z.ZodString;
|
|
160
|
-
}, z.core.$strip>>;
|
|
161
|
-
img: z.ZodOptional<z.ZodString>;
|
|
162
|
-
imgFull: z.ZodOptional<z.ZodString>;
|
|
163
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
164
|
-
}, z.core.$strip>>;
|
|
165
|
-
statusMute: z.ZodOptional<z.ZodBoolean>;
|
|
166
|
-
type: z.ZodOptional<z.ZodString>;
|
|
167
|
-
verifiedLevel: z.ZodOptional<z.ZodNumber>;
|
|
168
|
-
verifiedName: z.ZodOptional<z.ZodString>;
|
|
169
|
-
isOnline: z.ZodOptional<z.ZodBoolean>;
|
|
170
|
-
lastSeen: z.ZodOptional<z.ZodNumber>;
|
|
171
|
-
}, z.core.$loose>;
|
|
172
|
-
groupMetadata: z.ZodOptional<z.ZodAny>;
|
|
173
|
-
presence: z.ZodOptional<z.ZodAny>;
|
|
174
|
-
t: z.ZodOptional<z.ZodNumber>;
|
|
175
|
-
unreadCount: z.ZodOptional<z.ZodNumber>;
|
|
176
|
-
lastReceivedKey: z.ZodOptional<z.ZodAny>;
|
|
177
|
-
msgs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
178
|
-
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
179
|
-
muteExpiration: z.ZodOptional<z.ZodNumber>;
|
|
180
|
-
notSpam: z.ZodOptional<z.ZodBoolean>;
|
|
181
|
-
pin: z.ZodOptional<z.ZodNumber>;
|
|
182
|
-
ack: z.ZodOptional<z.ZodAny>;
|
|
183
|
-
}, z.core.$loose>;
|
|
184
|
-
type Chat = z.infer<typeof ChatSchema>;
|
|
185
|
-
declare const MessageSchema: z.ZodObject<{
|
|
186
|
-
id: z.core.$ZodBranded<z.ZodString, "MessageId", "out">;
|
|
187
|
-
body: z.ZodString;
|
|
188
|
-
type: z.ZodEnum<typeof MessageTypes>;
|
|
189
|
-
t: z.ZodNumber;
|
|
190
|
-
notifyName: z.ZodOptional<z.ZodString>;
|
|
191
|
-
from: z.core.$ZodBranded<z.ZodString, "ChatId", "out">;
|
|
192
|
-
to: z.core.$ZodBranded<z.ZodString, "ChatId", "out">;
|
|
193
|
-
self: z.ZodEnum<{
|
|
194
|
-
in: "in";
|
|
195
|
-
out: "out";
|
|
196
|
-
}>;
|
|
197
|
-
ack: z.ZodEnum<typeof MessageAck>;
|
|
198
|
-
invis: z.ZodOptional<z.ZodBoolean>;
|
|
199
|
-
isNewMsg: z.ZodOptional<z.ZodBoolean>;
|
|
200
|
-
star: z.ZodOptional<z.ZodBoolean>;
|
|
201
|
-
recvFresh: z.ZodOptional<z.ZodBoolean>;
|
|
202
|
-
broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
203
|
-
isForwarded: z.ZodOptional<z.ZodBoolean>;
|
|
204
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
205
|
-
mentionedJidList: z.ZodOptional<z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>>;
|
|
206
|
-
caption: z.ZodOptional<z.ZodString>;
|
|
207
|
-
timestamp: z.ZodNumber;
|
|
208
|
-
content: z.ZodString;
|
|
209
|
-
isGroupMsg: z.ZodBoolean;
|
|
210
|
-
isMMS: z.ZodOptional<z.ZodBoolean>;
|
|
211
|
-
isMedia: z.ZodBoolean;
|
|
212
|
-
isNotification: z.ZodBoolean;
|
|
213
|
-
isPSA: z.ZodOptional<z.ZodBoolean>;
|
|
214
|
-
fromMe: z.ZodBoolean;
|
|
215
|
-
chatId: z.core.$ZodBranded<z.ZodString, "ChatId", "out">;
|
|
216
|
-
author: z.ZodOptional<z.ZodString>;
|
|
217
|
-
clientUrl: z.ZodOptional<z.ZodString>;
|
|
218
|
-
deprecatedMms3Url: z.ZodOptional<z.ZodString>;
|
|
219
|
-
isQuotedMsgAvailable: z.ZodBoolean;
|
|
220
|
-
quotedMsg: z.ZodOptional<z.ZodAny>;
|
|
221
|
-
quotedMsgObj: z.ZodOptional<z.ZodAny>;
|
|
222
|
-
senderId: z.ZodOptional<z.ZodString>;
|
|
223
|
-
sender: z.ZodObject<{
|
|
224
|
-
id: z.core.$ZodBranded<z.ZodString, "ContactId", "out">;
|
|
225
|
-
name: z.ZodOptional<z.ZodString>;
|
|
226
|
-
shortName: z.ZodOptional<z.ZodString>;
|
|
227
|
-
pushname: z.ZodOptional<z.ZodString>;
|
|
228
|
-
formattedName: z.ZodOptional<z.ZodString>;
|
|
229
|
-
isBusiness: z.ZodOptional<z.ZodBoolean>;
|
|
230
|
-
isEnterprise: z.ZodOptional<z.ZodBoolean>;
|
|
231
|
-
isMe: z.ZodOptional<z.ZodBoolean>;
|
|
232
|
-
isMyContact: z.ZodOptional<z.ZodBoolean>;
|
|
233
|
-
isPSA: z.ZodOptional<z.ZodBoolean>;
|
|
234
|
-
isUser: z.ZodOptional<z.ZodBoolean>;
|
|
235
|
-
isWAContact: z.ZodOptional<z.ZodBoolean>;
|
|
236
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
237
|
-
msgs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
238
|
-
profilePicThumbObj: z.ZodOptional<z.ZodObject<{
|
|
239
|
-
eurl: z.ZodOptional<z.ZodString>;
|
|
240
|
-
id: z.ZodOptional<z.ZodObject<{
|
|
241
|
-
server: z.ZodString;
|
|
242
|
-
user: z.ZodString;
|
|
243
|
-
_serialized: z.ZodString;
|
|
244
|
-
}, z.core.$strip>>;
|
|
245
|
-
img: z.ZodOptional<z.ZodString>;
|
|
246
|
-
imgFull: z.ZodOptional<z.ZodString>;
|
|
247
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
248
|
-
}, z.core.$strip>>;
|
|
249
|
-
statusMute: z.ZodOptional<z.ZodBoolean>;
|
|
250
|
-
type: z.ZodOptional<z.ZodString>;
|
|
251
|
-
verifiedLevel: z.ZodOptional<z.ZodNumber>;
|
|
252
|
-
verifiedName: z.ZodOptional<z.ZodString>;
|
|
253
|
-
isOnline: z.ZodOptional<z.ZodBoolean>;
|
|
254
|
-
lastSeen: z.ZodOptional<z.ZodNumber>;
|
|
255
|
-
}, z.core.$loose>;
|
|
256
|
-
chat: z.ZodObject<{
|
|
257
|
-
id: z.ZodUnion<[z.core.$ZodBranded<z.ZodString, "ContactId", "out">, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">]>;
|
|
258
|
-
name: z.ZodOptional<z.ZodString>;
|
|
259
|
-
formattedTitle: z.ZodOptional<z.ZodString>;
|
|
260
|
-
isGroup: z.ZodBoolean;
|
|
261
|
-
contact: z.ZodObject<{
|
|
262
|
-
id: z.core.$ZodBranded<z.ZodString, "ContactId", "out">;
|
|
263
|
-
name: z.ZodOptional<z.ZodString>;
|
|
264
|
-
shortName: z.ZodOptional<z.ZodString>;
|
|
265
|
-
pushname: z.ZodOptional<z.ZodString>;
|
|
266
|
-
formattedName: z.ZodOptional<z.ZodString>;
|
|
267
|
-
isBusiness: z.ZodOptional<z.ZodBoolean>;
|
|
268
|
-
isEnterprise: z.ZodOptional<z.ZodBoolean>;
|
|
269
|
-
isMe: z.ZodOptional<z.ZodBoolean>;
|
|
270
|
-
isMyContact: z.ZodOptional<z.ZodBoolean>;
|
|
271
|
-
isPSA: z.ZodOptional<z.ZodBoolean>;
|
|
272
|
-
isUser: z.ZodOptional<z.ZodBoolean>;
|
|
273
|
-
isWAContact: z.ZodOptional<z.ZodBoolean>;
|
|
274
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
275
|
-
msgs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
276
|
-
profilePicThumbObj: z.ZodOptional<z.ZodObject<{
|
|
277
|
-
eurl: z.ZodOptional<z.ZodString>;
|
|
278
|
-
id: z.ZodOptional<z.ZodObject<{
|
|
279
|
-
server: z.ZodString;
|
|
280
|
-
user: z.ZodString;
|
|
281
|
-
_serialized: z.ZodString;
|
|
282
|
-
}, z.core.$strip>>;
|
|
283
|
-
img: z.ZodOptional<z.ZodString>;
|
|
284
|
-
imgFull: z.ZodOptional<z.ZodString>;
|
|
285
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
286
|
-
}, z.core.$strip>>;
|
|
287
|
-
statusMute: z.ZodOptional<z.ZodBoolean>;
|
|
288
|
-
type: z.ZodOptional<z.ZodString>;
|
|
289
|
-
verifiedLevel: z.ZodOptional<z.ZodNumber>;
|
|
290
|
-
verifiedName: z.ZodOptional<z.ZodString>;
|
|
291
|
-
isOnline: z.ZodOptional<z.ZodBoolean>;
|
|
292
|
-
lastSeen: z.ZodOptional<z.ZodNumber>;
|
|
293
|
-
}, z.core.$loose>;
|
|
294
|
-
groupMetadata: z.ZodOptional<z.ZodAny>;
|
|
295
|
-
presence: z.ZodOptional<z.ZodAny>;
|
|
296
|
-
t: z.ZodOptional<z.ZodNumber>;
|
|
297
|
-
unreadCount: z.ZodOptional<z.ZodNumber>;
|
|
298
|
-
lastReceivedKey: z.ZodOptional<z.ZodAny>;
|
|
299
|
-
msgs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
300
|
-
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
301
|
-
muteExpiration: z.ZodOptional<z.ZodNumber>;
|
|
302
|
-
notSpam: z.ZodOptional<z.ZodBoolean>;
|
|
303
|
-
pin: z.ZodOptional<z.ZodNumber>;
|
|
304
|
-
ack: z.ZodOptional<z.ZodAny>;
|
|
305
|
-
}, z.core.$loose>;
|
|
306
|
-
}, z.core.$loose>;
|
|
307
|
-
type Message = z.infer<typeof MessageSchema>;
|
|
308
|
-
declare const MessageIdReturnSchema: z.ZodObject<{
|
|
309
|
-
_serialized: z.ZodString;
|
|
310
|
-
}, z.core.$loose>;
|
|
311
|
-
//#endregion
|
|
312
|
-
//#region src/methods/messaging.d.ts
|
|
313
|
-
declare const sendText: OpenWAMethodSchema<z.ZodObject<{
|
|
314
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
315
|
-
content: z.core.$ZodBranded<z.ZodString, "Content", "out">;
|
|
316
|
-
options: z.ZodOptional<z.ZodAny>;
|
|
317
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
318
|
-
_serialized: z.ZodString;
|
|
319
|
-
}, z.core.$loose>, z.ZodBoolean]>, z.ZodString]>>;
|
|
320
|
-
declare const sendTextWithMentions: OpenWAMethodSchema<z.ZodObject<{
|
|
321
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
322
|
-
content: z.core.$ZodBranded<z.ZodString, "Content", "out">;
|
|
323
|
-
hideTags: z.ZodOptional<z.ZodBoolean>;
|
|
324
|
-
mentions: z.ZodOptional<z.ZodArray<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>>>;
|
|
325
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
326
|
-
_serialized: z.ZodString;
|
|
327
|
-
}, z.core.$loose>, z.ZodBoolean]>>;
|
|
328
|
-
declare const sendReplyWithMentions: OpenWAMethodSchema<z.ZodObject<{
|
|
329
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
330
|
-
content: z.core.$ZodBranded<z.ZodString, "Content", "out">;
|
|
331
|
-
replyMessageId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>;
|
|
332
|
-
hideTags: z.ZodOptional<z.ZodBoolean>;
|
|
333
|
-
mentions: z.ZodOptional<z.ZodArray<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>>>;
|
|
334
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
335
|
-
_serialized: z.ZodString;
|
|
336
|
-
}, z.core.$loose>, z.ZodBoolean]>>;
|
|
337
|
-
declare const sendPaymentRequest: OpenWAMethodSchema<z.ZodObject<{
|
|
338
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
339
|
-
amount: z.ZodNumber;
|
|
340
|
-
currency: z.ZodString;
|
|
341
|
-
message: z.ZodOptional<z.ZodString>;
|
|
342
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
343
|
-
_serialized: z.ZodString;
|
|
344
|
-
}, z.core.$loose>, z.ZodBoolean]>>;
|
|
345
|
-
declare const sendImage: OpenWAMethodSchema<z.ZodObject<{
|
|
346
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
347
|
-
imgData: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
|
|
348
|
-
filename: z.ZodOptional<z.ZodString>;
|
|
349
|
-
caption: z.ZodOptional<z.ZodString>;
|
|
350
|
-
id: z.ZodOptional<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>>;
|
|
351
|
-
waitForId: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
352
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
353
|
-
_serialized: z.ZodString;
|
|
354
|
-
}, z.core.$loose>, z.ZodBoolean]>, z.ZodString]>>;
|
|
355
|
-
declare const sendFile: OpenWAMethodSchema<z.ZodObject<{
|
|
356
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
357
|
-
file: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
|
|
358
|
-
filename: z.ZodOptional<z.ZodString>;
|
|
359
|
-
caption: z.ZodOptional<z.ZodString>;
|
|
360
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
361
|
-
_serialized: z.ZodString;
|
|
362
|
-
}, z.core.$loose>, z.ZodString]>>;
|
|
363
|
-
declare const sendAudio: OpenWAMethodSchema<z.ZodObject<{
|
|
364
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
365
|
-
file: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
|
|
366
|
-
filename: z.ZodOptional<z.ZodString>;
|
|
367
|
-
quotedMsgId: z.ZodOptional<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>>;
|
|
368
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
369
|
-
_serialized: z.ZodString;
|
|
370
|
-
}, z.core.$loose>, z.ZodBoolean]>>;
|
|
371
|
-
declare const sendPtt: OpenWAMethodSchema<z.ZodObject<{
|
|
372
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
373
|
-
file: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
|
|
374
|
-
quotedMsgId: z.ZodOptional<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>>;
|
|
375
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
376
|
-
_serialized: z.ZodString;
|
|
377
|
-
}, z.core.$loose>, z.ZodBoolean]>>;
|
|
378
|
-
declare const sendVideoAsGif: OpenWAMethodSchema<z.ZodObject<{
|
|
379
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
380
|
-
file: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
|
|
381
|
-
filename: z.ZodOptional<z.ZodString>;
|
|
382
|
-
caption: z.ZodOptional<z.ZodString>;
|
|
383
|
-
quotedMsgId: z.ZodOptional<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>>;
|
|
384
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
385
|
-
_serialized: z.ZodString;
|
|
386
|
-
}, z.core.$loose>, z.ZodBoolean]>>;
|
|
387
|
-
declare const sendLocation: OpenWAMethodSchema<z.ZodObject<{
|
|
388
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
389
|
-
lat: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
390
|
-
lng: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
391
|
-
loc: z.ZodOptional<z.ZodString>;
|
|
392
|
-
address: z.ZodOptional<z.ZodString>;
|
|
393
|
-
url: z.ZodOptional<z.ZodString>;
|
|
394
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
395
|
-
_serialized: z.ZodString;
|
|
396
|
-
}, z.core.$loose>, z.ZodBoolean]>>;
|
|
397
|
-
declare const sendVCard: OpenWAMethodSchema<z.ZodObject<{
|
|
398
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
399
|
-
vcard: z.ZodString;
|
|
400
|
-
contactName: z.ZodOptional<z.ZodString>;
|
|
401
|
-
contactNumber: z.ZodOptional<z.ZodString>;
|
|
402
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
403
|
-
declare const sendContact: OpenWAMethodSchema<z.ZodObject<{
|
|
404
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
405
|
-
contactId: z.ZodUnion<[z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>, z.ZodArray<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>>]>;
|
|
406
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
407
|
-
_serialized: z.ZodString;
|
|
408
|
-
}, z.core.$loose>, z.ZodBoolean]>>;
|
|
409
|
-
declare const sendMultipleContacts: OpenWAMethodSchema<z.ZodObject<{
|
|
410
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
411
|
-
contactIds: z.ZodArray<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>>;
|
|
412
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
413
|
-
_serialized: z.ZodString;
|
|
414
|
-
}, z.core.$loose>, z.ZodBoolean]>>;
|
|
415
|
-
declare const sendButtons: OpenWAMethodSchema<z.ZodObject<{
|
|
416
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
417
|
-
body: z.ZodUnion<readonly [z.ZodString, z.ZodAny]>;
|
|
418
|
-
buttons: z.ZodArray<z.ZodAny>;
|
|
419
|
-
title: z.ZodOptional<z.ZodString>;
|
|
420
|
-
footer: z.ZodOptional<z.ZodString>;
|
|
421
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
422
|
-
_serialized: z.ZodString;
|
|
423
|
-
}, z.core.$loose>, z.ZodBoolean]>>;
|
|
424
|
-
declare const sendAdvancedButtons: OpenWAMethodSchema<z.ZodObject<{
|
|
425
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
426
|
-
body: z.ZodUnion<readonly [z.ZodString, z.ZodAny]>;
|
|
427
|
-
buttons: z.ZodArray<z.ZodAny>;
|
|
428
|
-
text: z.ZodString;
|
|
429
|
-
footer: z.ZodString;
|
|
430
|
-
filename: z.ZodString;
|
|
431
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
432
|
-
_serialized: z.ZodString;
|
|
433
|
-
}, z.core.$loose>, z.ZodBoolean]>>;
|
|
434
|
-
declare const sendListMessage: OpenWAMethodSchema<z.ZodObject<{
|
|
435
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
436
|
-
sections: z.ZodArray<z.ZodAny>;
|
|
437
|
-
title: z.ZodString;
|
|
438
|
-
description: z.ZodString;
|
|
439
|
-
actionText: z.ZodString;
|
|
440
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
441
|
-
_serialized: z.ZodString;
|
|
442
|
-
}, z.core.$loose>, z.ZodBoolean]>>;
|
|
443
|
-
declare const sendPoll: OpenWAMethodSchema<z.ZodObject<{
|
|
444
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
445
|
-
name: z.ZodString;
|
|
446
|
-
options: z.ZodArray<z.ZodString>;
|
|
447
|
-
selectableCount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
448
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
449
|
-
_serialized: z.ZodString;
|
|
450
|
-
}, z.core.$loose>, z.ZodBoolean]>>;
|
|
451
|
-
declare const sendBanner: OpenWAMethodSchema<z.ZodObject<{
|
|
452
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
453
|
-
base64: z.ZodString;
|
|
454
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
455
|
-
_serialized: z.ZodString;
|
|
456
|
-
}, z.core.$loose>, z.ZodBoolean]>>;
|
|
457
|
-
declare const sendYouTubeLink: OpenWAMethodSchema<z.ZodObject<{
|
|
458
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
459
|
-
url: z.ZodString;
|
|
460
|
-
text: z.ZodDefault<z.ZodOptional<z.core.$ZodBranded<z.ZodString, "Content", "out">>>;
|
|
461
|
-
thumbnail: z.ZodOptional<z.ZodString>;
|
|
462
|
-
quotedMsgId: z.ZodOptional<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>>;
|
|
463
|
-
customSize: z.ZodOptional<z.ZodObject<{
|
|
464
|
-
height: z.ZodNumber;
|
|
465
|
-
width: z.ZodNumber;
|
|
466
|
-
}, z.core.$strip>>;
|
|
467
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
468
|
-
_serialized: z.ZodString;
|
|
469
|
-
}, z.core.$loose>, z.ZodBoolean]>>;
|
|
470
|
-
declare const sendLinkWithAutoPreview: OpenWAMethodSchema<z.ZodObject<{
|
|
471
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
472
|
-
url: z.ZodString;
|
|
473
|
-
text: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "Content", "out">>;
|
|
474
|
-
thumbnail: z.ZodOptional<z.ZodString>;
|
|
475
|
-
quotedMsgId: z.ZodOptional<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>>;
|
|
476
|
-
customSize: z.ZodOptional<z.ZodObject<{
|
|
477
|
-
height: z.ZodNumber;
|
|
478
|
-
width: z.ZodNumber;
|
|
479
|
-
}, z.core.$strip>>;
|
|
480
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
481
|
-
_serialized: z.ZodString;
|
|
482
|
-
}, z.core.$loose>, z.ZodBoolean]>>;
|
|
483
|
-
declare const sendMessageWithThumb: OpenWAMethodSchema<z.ZodObject<{
|
|
484
|
-
thumb: z.ZodString;
|
|
485
|
-
url: z.ZodString;
|
|
486
|
-
title: z.ZodString;
|
|
487
|
-
description: z.ZodString;
|
|
488
|
-
content: z.core.$ZodBranded<z.ZodString, "Content", "out">;
|
|
489
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
490
|
-
quotedMsgId: z.ZodOptional<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>>;
|
|
491
|
-
customSize: z.ZodOptional<z.ZodObject<{
|
|
492
|
-
height: z.ZodNumber;
|
|
493
|
-
width: z.ZodNumber;
|
|
494
|
-
}, z.core.$strip>>;
|
|
495
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodObject<{
|
|
496
|
-
_serialized: z.ZodString;
|
|
497
|
-
}, z.core.$loose>, z.ZodBoolean]>>;
|
|
498
|
-
declare const forwardMessages: OpenWAMethodSchema<z.ZodObject<{
|
|
499
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
500
|
-
messages: z.ZodUnion<readonly [z.ZodArray<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>>, z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>]>;
|
|
501
|
-
skipMyMessages: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
502
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
503
|
-
_serialized: z.ZodString;
|
|
504
|
-
}, z.core.$loose>>, z.ZodBoolean]>>;
|
|
505
|
-
declare const deleteMessage: OpenWAMethodSchema<z.ZodObject<{
|
|
506
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
507
|
-
messageId: z.ZodUnion<readonly [z.ZodArray<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>>, z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>]>;
|
|
508
|
-
onlyLocal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
509
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
510
|
-
declare const getMessageById: OpenWAMethodSchema<z.ZodObject<{
|
|
511
|
-
messageId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>;
|
|
512
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
513
|
-
declare const getAllMessages: OpenWAMethodSchema<z.ZodObject<{
|
|
514
|
-
chatId: z.ZodOptional<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>>;
|
|
515
|
-
includeMe: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
516
|
-
includeNotifications: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
517
|
-
}, z.core.$strip>, z.ZodArray<z.ZodAny>>;
|
|
518
|
-
declare const getMyLastMessage: OpenWAMethodSchema<z.ZodObject<{
|
|
519
|
-
chatId: z.ZodOptional<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>>;
|
|
520
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
521
|
-
declare const getStarredMessages: OpenWAMethodSchema<z.ZodObject<{
|
|
522
|
-
chatId: z.ZodOptional<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>>;
|
|
523
|
-
}, z.core.$strip>, z.ZodArray<z.ZodAny>>;
|
|
524
|
-
declare const getUnsentMessages: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodAny>>;
|
|
525
|
-
declare const getMessageInfo: OpenWAMethodSchema<z.ZodObject<{
|
|
526
|
-
messageId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>;
|
|
527
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
528
|
-
declare const getVCards: OpenWAMethodSchema<z.ZodObject<{
|
|
529
|
-
messageId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>;
|
|
530
|
-
}, z.core.$strip>, z.ZodArray<z.ZodString>>;
|
|
531
|
-
declare const getMessagesForLLM: OpenWAMethodSchema<z.ZodObject<{
|
|
532
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
533
|
-
last: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
534
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
535
|
-
declare const starMessage: OpenWAMethodSchema<z.ZodObject<{
|
|
536
|
-
messageId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>;
|
|
537
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
538
|
-
declare const unstarMessage: OpenWAMethodSchema<z.ZodObject<{
|
|
539
|
-
messageId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>;
|
|
540
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
541
|
-
declare const react: OpenWAMethodSchema<z.ZodObject<{
|
|
542
|
-
messageId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>;
|
|
543
|
-
emoji: z.ZodString;
|
|
544
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
545
|
-
declare const sendSeen: OpenWAMethodSchema<z.ZodObject<{
|
|
546
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
547
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
548
|
-
declare const loadEarlierMessages: OpenWAMethodSchema<z.ZodObject<{
|
|
549
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
550
|
-
count: z.ZodOptional<z.ZodNumber>;
|
|
551
|
-
includeMe: z.ZodOptional<z.ZodBoolean>;
|
|
552
|
-
}, z.core.$strip>, z.ZodArray<z.ZodAny>>;
|
|
553
|
-
declare const sendFileFromUrl: OpenWAMethodSchema<z.ZodObject<{
|
|
554
|
-
to: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
555
|
-
url: z.ZodString;
|
|
556
|
-
filename: z.ZodString;
|
|
557
|
-
caption: z.ZodOptional<z.ZodString>;
|
|
558
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
559
|
-
}, z.core.$strip>, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
560
|
-
//#endregion
|
|
561
|
-
//#region src/methods/chats.d.ts
|
|
562
|
-
declare const getAllChats: OpenWAMethodSchema<z.ZodObject<{
|
|
563
|
-
withNewMessagesOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
564
|
-
}, z.core.$strip>, z.ZodArray<z.ZodAny>>;
|
|
565
|
-
declare const getAllChatIds: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodString>>;
|
|
566
|
-
declare const getChat: OpenWAMethodSchema<z.ZodObject<{
|
|
567
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
568
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
569
|
-
declare const getChatWithNonContacts: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodAny>>;
|
|
570
|
-
declare const archiveChat: OpenWAMethodSchema<z.ZodObject<{
|
|
571
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
572
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
573
|
-
declare const unarchiveChat: OpenWAMethodSchema<z.ZodObject<{
|
|
574
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
575
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
576
|
-
declare const clearChat: OpenWAMethodSchema<z.ZodObject<{
|
|
577
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
578
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
579
|
-
declare const deleteChat: OpenWAMethodSchema<z.ZodObject<{
|
|
580
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
581
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
582
|
-
declare const pinChat: OpenWAMethodSchema<z.ZodObject<{
|
|
583
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
584
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
585
|
-
declare const unpinChat: OpenWAMethodSchema<z.ZodObject<{
|
|
586
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
587
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
588
|
-
declare const muteChat: OpenWAMethodSchema<z.ZodObject<{
|
|
589
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
590
|
-
muteDuration: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
591
|
-
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber]>>;
|
|
592
|
-
declare const unmuteChat: OpenWAMethodSchema<z.ZodObject<{
|
|
593
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
594
|
-
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber]>>;
|
|
595
|
-
declare const markAsRead: OpenWAMethodSchema<z.ZodObject<{
|
|
596
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
597
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
598
|
-
declare const markAsUnread: OpenWAMethodSchema<z.ZodObject<{
|
|
599
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
600
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
601
|
-
declare const setChatEphemeral: OpenWAMethodSchema<z.ZodObject<{
|
|
602
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
603
|
-
ephemeral: z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>;
|
|
604
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
605
|
-
declare const isChatOnline: OpenWAMethodSchema<z.ZodObject<{
|
|
606
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
607
|
-
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
608
|
-
//#endregion
|
|
609
|
-
//#region src/methods/contacts.d.ts
|
|
610
|
-
declare const getAllContacts: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodAny>>;
|
|
611
|
-
declare const getContact: OpenWAMethodSchema<z.ZodObject<{
|
|
612
|
-
contactId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
613
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
614
|
-
declare const getCommonGroups: OpenWAMethodSchema<z.ZodObject<{
|
|
615
|
-
contactId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
616
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
617
|
-
declare const getNumberProfile: OpenWAMethodSchema<z.ZodObject<{
|
|
618
|
-
contactId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
619
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
620
|
-
declare const getBlockedIds: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodString>>;
|
|
621
|
-
declare const blockContact: OpenWAMethodSchema<z.ZodObject<{
|
|
622
|
-
contactId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
623
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
624
|
-
declare const unblockContact: OpenWAMethodSchema<z.ZodObject<{
|
|
625
|
-
contactId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
626
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
627
|
-
declare const checkReadReceipts: OpenWAMethodSchema<z.ZodObject<{
|
|
628
|
-
contactId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
629
|
-
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
630
|
-
declare const checkNumberStatus: OpenWAMethodSchema<z.ZodObject<{
|
|
631
|
-
contactId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
632
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
633
|
-
declare const getProfilePicture: OpenWAMethodSchema<z.ZodObject<{
|
|
634
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
635
|
-
}, z.core.$strip>, z.ZodString>;
|
|
636
|
-
//#endregion
|
|
637
|
-
//#region src/methods/groups.d.ts
|
|
638
|
-
declare const getGroupMembers: OpenWAMethodSchema<z.ZodObject<{
|
|
639
|
-
groupId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
640
|
-
}, z.core.$strip>, z.ZodArray<z.ZodAny>>;
|
|
641
|
-
declare const getAllGroups: OpenWAMethodSchema<z.ZodObject<{
|
|
642
|
-
withNewMessagesOnly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
643
|
-
}, z.core.$strip>, z.ZodArray<z.ZodAny>>;
|
|
644
|
-
declare const getGroupMembersId: OpenWAMethodSchema<z.ZodObject<{
|
|
645
|
-
groupId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
646
|
-
}, z.core.$strip>, z.ZodArray<z.ZodString>>;
|
|
647
|
-
declare const getGroupInfo: OpenWAMethodSchema<z.ZodObject<{
|
|
648
|
-
groupId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
649
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
650
|
-
declare const getGroupAdmins: OpenWAMethodSchema<z.ZodObject<{
|
|
651
|
-
groupId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
652
|
-
}, z.core.$strip>, z.ZodArray<z.ZodAny>>;
|
|
653
|
-
declare const getKickedGroups: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodString>>;
|
|
654
|
-
declare const getGroupInviteLink: OpenWAMethodSchema<z.ZodObject<{
|
|
655
|
-
groupId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
656
|
-
}, z.core.$strip>, z.ZodString>;
|
|
657
|
-
declare const createGroup: OpenWAMethodSchema<z.ZodObject<{
|
|
658
|
-
name: z.ZodString;
|
|
659
|
-
contacts: z.ZodArray<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>>;
|
|
660
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
661
|
-
declare const leaveGroup: OpenWAMethodSchema<z.ZodObject<{
|
|
662
|
-
groupId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
663
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
664
|
-
declare const joinGroupViaLink: OpenWAMethodSchema<z.ZodObject<{
|
|
665
|
-
link: z.ZodString;
|
|
666
|
-
returnChatObj: z.ZodOptional<z.ZodBoolean>;
|
|
667
|
-
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodAny]>>;
|
|
668
|
-
declare const revokeGroupInviteLink: OpenWAMethodSchema<z.ZodObject<{
|
|
669
|
-
groupId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
670
|
-
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
|
|
671
|
-
declare const setGroupTitle: OpenWAMethodSchema<z.ZodObject<{
|
|
672
|
-
groupId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
673
|
-
title: z.ZodString;
|
|
674
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
675
|
-
declare const setGroupDescription: OpenWAMethodSchema<z.ZodObject<{
|
|
676
|
-
groupId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
677
|
-
description: z.ZodString;
|
|
678
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
679
|
-
declare const setGroupIcon: OpenWAMethodSchema<z.ZodObject<{
|
|
680
|
-
groupId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
681
|
-
image: z.ZodString;
|
|
682
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
683
|
-
declare const setGroupToAdminsOnly: OpenWAMethodSchema<z.ZodObject<{
|
|
684
|
-
groupId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
685
|
-
onlyAdmins: z.ZodBoolean;
|
|
686
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
687
|
-
declare const setGroupEditToAdminsOnly: OpenWAMethodSchema<z.ZodObject<{
|
|
688
|
-
groupId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
689
|
-
onlyAdmins: z.ZodBoolean;
|
|
690
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
691
|
-
declare const addParticipant: OpenWAMethodSchema<z.ZodObject<{
|
|
692
|
-
groupId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
693
|
-
contactId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
694
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
695
|
-
declare const removeParticipant: OpenWAMethodSchema<z.ZodObject<{
|
|
696
|
-
groupId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
697
|
-
contactId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
698
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
699
|
-
declare const promoteParticipant: OpenWAMethodSchema<z.ZodObject<{
|
|
700
|
-
groupId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
701
|
-
contactId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
702
|
-
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
703
|
-
declare const demoteParticipant: OpenWAMethodSchema<z.ZodObject<{
|
|
704
|
-
groupId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
705
|
-
contactId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
706
|
-
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
707
|
-
declare const approveGroupJoinRequest: OpenWAMethodSchema<z.ZodObject<{
|
|
708
|
-
groupId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
709
|
-
contactId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
710
|
-
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
|
|
711
|
-
declare const rejectGroupJoinRequest: OpenWAMethodSchema<z.ZodObject<{
|
|
712
|
-
groupId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
713
|
-
contactId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
714
|
-
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>>;
|
|
715
|
-
//#endregion
|
|
716
|
-
//#region src/methods/communities.d.ts
|
|
717
|
-
declare const getAllCommunities: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodString>>;
|
|
718
|
-
declare const getCommunityInfo: OpenWAMethodSchema<z.ZodObject<{
|
|
719
|
-
communityId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
720
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
721
|
-
declare const getCommunityParticipantIds: OpenWAMethodSchema<z.ZodObject<{
|
|
722
|
-
communityId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
723
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
724
|
-
declare const getCommunityAdminIds: OpenWAMethodSchema<z.ZodObject<{
|
|
725
|
-
communityId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
726
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
727
|
-
declare const getCommunityParticipants: OpenWAMethodSchema<z.ZodObject<{
|
|
728
|
-
communityId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
729
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
730
|
-
declare const getCommunityAdmins: OpenWAMethodSchema<z.ZodObject<{
|
|
731
|
-
communityId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
732
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
733
|
-
//#endregion
|
|
734
|
-
//#region src/methods/status.d.ts
|
|
735
|
-
declare const postTextStatus: OpenWAMethodSchema<z.ZodObject<{
|
|
736
|
-
text: z.ZodString;
|
|
737
|
-
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
738
|
-
font: z.ZodOptional<z.ZodNumber>;
|
|
739
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
740
|
-
declare const postImageStatus: OpenWAMethodSchema<z.ZodObject<{
|
|
741
|
-
image: z.ZodString;
|
|
742
|
-
caption: z.ZodOptional<z.ZodString>;
|
|
743
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
744
|
-
declare const postVideoStatus: OpenWAMethodSchema<z.ZodObject<{
|
|
745
|
-
video: z.ZodString;
|
|
746
|
-
caption: z.ZodOptional<z.ZodString>;
|
|
747
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
748
|
-
declare const getStories: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodAny>>;
|
|
749
|
-
declare const getStatus: OpenWAMethodSchema<z.ZodObject<{
|
|
750
|
-
contactId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
751
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
752
|
-
declare const deleteStatus: OpenWAMethodSchema<z.ZodObject<{
|
|
753
|
-
statusesToDelete: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
754
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
755
|
-
declare const deleteAllStatus: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodAny>;
|
|
756
|
-
//#endregion
|
|
757
|
-
//#region src/methods/labels.d.ts
|
|
758
|
-
declare const getAllLabels: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodAny>>;
|
|
759
|
-
declare const getChatsByLabel: OpenWAMethodSchema<z.ZodObject<{
|
|
760
|
-
label: z.ZodString;
|
|
761
|
-
}, z.core.$strip>, z.ZodArray<z.ZodAny>>;
|
|
762
|
-
declare const addLabel: OpenWAMethodSchema<z.ZodObject<{
|
|
763
|
-
label: z.ZodString;
|
|
764
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
765
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
766
|
-
declare const removeLabel: OpenWAMethodSchema<z.ZodObject<{
|
|
767
|
-
label: z.ZodString;
|
|
768
|
-
chatId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
769
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
770
|
-
//#endregion
|
|
771
|
-
//#region src/methods/business.d.ts
|
|
772
|
-
declare const getBusinessProfile: OpenWAMethodSchema<z.ZodObject<{
|
|
773
|
-
contactId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
774
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
775
|
-
declare const getBusinessProducts: OpenWAMethodSchema<z.ZodObject<{
|
|
776
|
-
contactId: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
777
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
778
|
-
declare const getOrder: OpenWAMethodSchema<z.ZodObject<{
|
|
779
|
-
id: z.ZodUnion<readonly [z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>, z.ZodString]>;
|
|
780
|
-
}, z.core.$strip>, z.ZodAny>;
|
|
781
|
-
//#endregion
|
|
782
|
-
//#region src/methods/session.d.ts
|
|
783
|
-
declare const getMe: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodAny>;
|
|
784
|
-
declare const getHostNumber: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodString>;
|
|
785
|
-
declare const getConnectionState: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodAny>;
|
|
786
|
-
declare const getWAVersion: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodString>;
|
|
787
|
-
declare const getBatteryLevel: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodNumber>;
|
|
788
|
-
declare const isPlugged: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodBoolean>;
|
|
789
|
-
declare const getFeatures: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodAny>;
|
|
790
|
-
declare const getLicenseType: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodUnion<readonly [z.ZodAny, z.ZodBoolean]>>;
|
|
791
|
-
declare const getUserAgent: OpenWAMethodSchema<z.ZodObject<{
|
|
792
|
-
userAgent: z.ZodOptional<z.ZodString>;
|
|
793
|
-
}, z.core.$strip>, z.ZodString>;
|
|
794
|
-
declare const getProcessStats: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodAny>;
|
|
795
|
-
declare const getLoadedMessageCount: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodNumber>;
|
|
796
|
-
declare const getSnapshot: OpenWAMethodSchema<z.ZodObject<{
|
|
797
|
-
chatId: z.ZodOptional<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>>;
|
|
798
|
-
width: z.ZodOptional<z.ZodNumber>;
|
|
799
|
-
height: z.ZodOptional<z.ZodNumber>;
|
|
800
|
-
}, z.core.$strip>, z.ZodString>;
|
|
801
|
-
declare const healthCheck: OpenWAMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodAny>;
|
|
802
|
-
declare const setMyName: OpenWAMethodSchema<z.ZodObject<{
|
|
803
|
-
name: z.ZodString;
|
|
804
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
805
|
-
declare const setMyStatus: OpenWAMethodSchema<z.ZodObject<{
|
|
806
|
-
statusText: z.ZodString;
|
|
807
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
808
|
-
declare const setProfilePicture: OpenWAMethodSchema<z.ZodObject<{
|
|
809
|
-
image: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
|
|
810
|
-
}, z.core.$strip>, z.ZodBoolean>;
|
|
811
|
-
//#endregion
|
|
812
|
-
//#region src/methods/media.d.ts
|
|
813
|
-
declare const decryptMedia: OpenWAMethodSchema<z.ZodObject<{
|
|
814
|
-
message: z.ZodObject<{
|
|
815
|
-
id: z.core.$ZodBranded<z.ZodString, "MessageId", "out">;
|
|
816
|
-
body: z.ZodString;
|
|
817
|
-
type: z.ZodEnum<typeof MessageTypes>;
|
|
818
|
-
t: z.ZodNumber;
|
|
819
|
-
notifyName: z.ZodOptional<z.ZodString>;
|
|
820
|
-
from: z.core.$ZodBranded<z.ZodString, "ChatId", "out">;
|
|
821
|
-
to: z.core.$ZodBranded<z.ZodString, "ChatId", "out">;
|
|
822
|
-
self: z.ZodEnum<{
|
|
823
|
-
in: "in";
|
|
824
|
-
out: "out";
|
|
825
|
-
}>;
|
|
826
|
-
ack: z.ZodEnum<typeof MessageAck>;
|
|
827
|
-
invis: z.ZodOptional<z.ZodBoolean>;
|
|
828
|
-
isNewMsg: z.ZodOptional<z.ZodBoolean>;
|
|
829
|
-
star: z.ZodOptional<z.ZodBoolean>;
|
|
830
|
-
recvFresh: z.ZodOptional<z.ZodBoolean>;
|
|
831
|
-
broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
832
|
-
isForwarded: z.ZodOptional<z.ZodBoolean>;
|
|
833
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
834
|
-
mentionedJidList: z.ZodOptional<z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>>;
|
|
835
|
-
caption: z.ZodOptional<z.ZodString>;
|
|
836
|
-
timestamp: z.ZodNumber;
|
|
837
|
-
content: z.ZodString;
|
|
838
|
-
isGroupMsg: z.ZodBoolean;
|
|
839
|
-
isMMS: z.ZodOptional<z.ZodBoolean>;
|
|
840
|
-
isMedia: z.ZodBoolean;
|
|
841
|
-
isNotification: z.ZodBoolean;
|
|
842
|
-
isPSA: z.ZodOptional<z.ZodBoolean>;
|
|
843
|
-
fromMe: z.ZodBoolean;
|
|
844
|
-
chatId: z.core.$ZodBranded<z.ZodString, "ChatId", "out">;
|
|
845
|
-
author: z.ZodOptional<z.ZodString>;
|
|
846
|
-
clientUrl: z.ZodOptional<z.ZodString>;
|
|
847
|
-
deprecatedMms3Url: z.ZodOptional<z.ZodString>;
|
|
848
|
-
isQuotedMsgAvailable: z.ZodBoolean;
|
|
849
|
-
quotedMsg: z.ZodOptional<z.ZodAny>;
|
|
850
|
-
quotedMsgObj: z.ZodOptional<z.ZodAny>;
|
|
851
|
-
senderId: z.ZodOptional<z.ZodString>;
|
|
852
|
-
sender: z.ZodObject<{
|
|
853
|
-
id: z.core.$ZodBranded<z.ZodString, "ContactId", "out">;
|
|
854
|
-
name: z.ZodOptional<z.ZodString>;
|
|
855
|
-
shortName: z.ZodOptional<z.ZodString>;
|
|
856
|
-
pushname: z.ZodOptional<z.ZodString>;
|
|
857
|
-
formattedName: z.ZodOptional<z.ZodString>;
|
|
858
|
-
isBusiness: z.ZodOptional<z.ZodBoolean>;
|
|
859
|
-
isEnterprise: z.ZodOptional<z.ZodBoolean>;
|
|
860
|
-
isMe: z.ZodOptional<z.ZodBoolean>;
|
|
861
|
-
isMyContact: z.ZodOptional<z.ZodBoolean>;
|
|
862
|
-
isPSA: z.ZodOptional<z.ZodBoolean>;
|
|
863
|
-
isUser: z.ZodOptional<z.ZodBoolean>;
|
|
864
|
-
isWAContact: z.ZodOptional<z.ZodBoolean>;
|
|
865
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
866
|
-
msgs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
867
|
-
profilePicThumbObj: z.ZodOptional<z.ZodObject<{
|
|
868
|
-
eurl: z.ZodOptional<z.ZodString>;
|
|
869
|
-
id: z.ZodOptional<z.ZodObject<{
|
|
870
|
-
server: z.ZodString;
|
|
871
|
-
user: z.ZodString;
|
|
872
|
-
_serialized: z.ZodString;
|
|
873
|
-
}, z.core.$strip>>;
|
|
874
|
-
img: z.ZodOptional<z.ZodString>;
|
|
875
|
-
imgFull: z.ZodOptional<z.ZodString>;
|
|
876
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
877
|
-
}, z.core.$strip>>;
|
|
878
|
-
statusMute: z.ZodOptional<z.ZodBoolean>;
|
|
879
|
-
type: z.ZodOptional<z.ZodString>;
|
|
880
|
-
verifiedLevel: z.ZodOptional<z.ZodNumber>;
|
|
881
|
-
verifiedName: z.ZodOptional<z.ZodString>;
|
|
882
|
-
isOnline: z.ZodOptional<z.ZodBoolean>;
|
|
883
|
-
lastSeen: z.ZodOptional<z.ZodNumber>;
|
|
884
|
-
}, z.core.$loose>;
|
|
885
|
-
chat: z.ZodObject<{
|
|
886
|
-
id: z.ZodUnion<[z.core.$ZodBranded<z.ZodString, "ContactId", "out">, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">]>;
|
|
887
|
-
name: z.ZodOptional<z.ZodString>;
|
|
888
|
-
formattedTitle: z.ZodOptional<z.ZodString>;
|
|
889
|
-
isGroup: z.ZodBoolean;
|
|
890
|
-
contact: z.ZodObject<{
|
|
891
|
-
id: z.core.$ZodBranded<z.ZodString, "ContactId", "out">;
|
|
892
|
-
name: z.ZodOptional<z.ZodString>;
|
|
893
|
-
shortName: z.ZodOptional<z.ZodString>;
|
|
894
|
-
pushname: z.ZodOptional<z.ZodString>;
|
|
895
|
-
formattedName: z.ZodOptional<z.ZodString>;
|
|
896
|
-
isBusiness: z.ZodOptional<z.ZodBoolean>;
|
|
897
|
-
isEnterprise: z.ZodOptional<z.ZodBoolean>;
|
|
898
|
-
isMe: z.ZodOptional<z.ZodBoolean>;
|
|
899
|
-
isMyContact: z.ZodOptional<z.ZodBoolean>;
|
|
900
|
-
isPSA: z.ZodOptional<z.ZodBoolean>;
|
|
901
|
-
isUser: z.ZodOptional<z.ZodBoolean>;
|
|
902
|
-
isWAContact: z.ZodOptional<z.ZodBoolean>;
|
|
903
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
904
|
-
msgs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
905
|
-
profilePicThumbObj: z.ZodOptional<z.ZodObject<{
|
|
906
|
-
eurl: z.ZodOptional<z.ZodString>;
|
|
907
|
-
id: z.ZodOptional<z.ZodObject<{
|
|
908
|
-
server: z.ZodString;
|
|
909
|
-
user: z.ZodString;
|
|
910
|
-
_serialized: z.ZodString;
|
|
911
|
-
}, z.core.$strip>>;
|
|
912
|
-
img: z.ZodOptional<z.ZodString>;
|
|
913
|
-
imgFull: z.ZodOptional<z.ZodString>;
|
|
914
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
915
|
-
}, z.core.$strip>>;
|
|
916
|
-
statusMute: z.ZodOptional<z.ZodBoolean>;
|
|
917
|
-
type: z.ZodOptional<z.ZodString>;
|
|
918
|
-
verifiedLevel: z.ZodOptional<z.ZodNumber>;
|
|
919
|
-
verifiedName: z.ZodOptional<z.ZodString>;
|
|
920
|
-
isOnline: z.ZodOptional<z.ZodBoolean>;
|
|
921
|
-
lastSeen: z.ZodOptional<z.ZodNumber>;
|
|
922
|
-
}, z.core.$loose>;
|
|
923
|
-
groupMetadata: z.ZodOptional<z.ZodAny>;
|
|
924
|
-
presence: z.ZodOptional<z.ZodAny>;
|
|
925
|
-
t: z.ZodOptional<z.ZodNumber>;
|
|
926
|
-
unreadCount: z.ZodOptional<z.ZodNumber>;
|
|
927
|
-
lastReceivedKey: z.ZodOptional<z.ZodAny>;
|
|
928
|
-
msgs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
929
|
-
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
930
|
-
muteExpiration: z.ZodOptional<z.ZodNumber>;
|
|
931
|
-
notSpam: z.ZodOptional<z.ZodBoolean>;
|
|
932
|
-
pin: z.ZodOptional<z.ZodNumber>;
|
|
933
|
-
ack: z.ZodOptional<z.ZodAny>;
|
|
934
|
-
}, z.core.$loose>;
|
|
935
|
-
}, z.core.$loose>;
|
|
936
|
-
}, z.core.$strip>, z.ZodString>;
|
|
937
|
-
declare const downloadMedia: OpenWAMethodSchema<z.ZodObject<{
|
|
938
|
-
message: z.ZodObject<{
|
|
939
|
-
id: z.core.$ZodBranded<z.ZodString, "MessageId", "out">;
|
|
940
|
-
body: z.ZodString;
|
|
941
|
-
type: z.ZodEnum<typeof MessageTypes>;
|
|
942
|
-
t: z.ZodNumber;
|
|
943
|
-
notifyName: z.ZodOptional<z.ZodString>;
|
|
944
|
-
from: z.core.$ZodBranded<z.ZodString, "ChatId", "out">;
|
|
945
|
-
to: z.core.$ZodBranded<z.ZodString, "ChatId", "out">;
|
|
946
|
-
self: z.ZodEnum<{
|
|
947
|
-
in: "in";
|
|
948
|
-
out: "out";
|
|
949
|
-
}>;
|
|
950
|
-
ack: z.ZodEnum<typeof MessageAck>;
|
|
951
|
-
invis: z.ZodOptional<z.ZodBoolean>;
|
|
952
|
-
isNewMsg: z.ZodOptional<z.ZodBoolean>;
|
|
953
|
-
star: z.ZodOptional<z.ZodBoolean>;
|
|
954
|
-
recvFresh: z.ZodOptional<z.ZodBoolean>;
|
|
955
|
-
broadcast: z.ZodOptional<z.ZodBoolean>;
|
|
956
|
-
isForwarded: z.ZodOptional<z.ZodBoolean>;
|
|
957
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
958
|
-
mentionedJidList: z.ZodOptional<z.ZodArray<z.core.$ZodBranded<z.ZodString, "ContactId", "out">>>;
|
|
959
|
-
caption: z.ZodOptional<z.ZodString>;
|
|
960
|
-
timestamp: z.ZodNumber;
|
|
961
|
-
content: z.ZodString;
|
|
962
|
-
isGroupMsg: z.ZodBoolean;
|
|
963
|
-
isMMS: z.ZodOptional<z.ZodBoolean>;
|
|
964
|
-
isMedia: z.ZodBoolean;
|
|
965
|
-
isNotification: z.ZodBoolean;
|
|
966
|
-
isPSA: z.ZodOptional<z.ZodBoolean>;
|
|
967
|
-
fromMe: z.ZodBoolean;
|
|
968
|
-
chatId: z.core.$ZodBranded<z.ZodString, "ChatId", "out">;
|
|
969
|
-
author: z.ZodOptional<z.ZodString>;
|
|
970
|
-
clientUrl: z.ZodOptional<z.ZodString>;
|
|
971
|
-
deprecatedMms3Url: z.ZodOptional<z.ZodString>;
|
|
972
|
-
isQuotedMsgAvailable: z.ZodBoolean;
|
|
973
|
-
quotedMsg: z.ZodOptional<z.ZodAny>;
|
|
974
|
-
quotedMsgObj: z.ZodOptional<z.ZodAny>;
|
|
975
|
-
senderId: z.ZodOptional<z.ZodString>;
|
|
976
|
-
sender: z.ZodObject<{
|
|
977
|
-
id: z.core.$ZodBranded<z.ZodString, "ContactId", "out">;
|
|
978
|
-
name: z.ZodOptional<z.ZodString>;
|
|
979
|
-
shortName: z.ZodOptional<z.ZodString>;
|
|
980
|
-
pushname: z.ZodOptional<z.ZodString>;
|
|
981
|
-
formattedName: z.ZodOptional<z.ZodString>;
|
|
982
|
-
isBusiness: z.ZodOptional<z.ZodBoolean>;
|
|
983
|
-
isEnterprise: z.ZodOptional<z.ZodBoolean>;
|
|
984
|
-
isMe: z.ZodOptional<z.ZodBoolean>;
|
|
985
|
-
isMyContact: z.ZodOptional<z.ZodBoolean>;
|
|
986
|
-
isPSA: z.ZodOptional<z.ZodBoolean>;
|
|
987
|
-
isUser: z.ZodOptional<z.ZodBoolean>;
|
|
988
|
-
isWAContact: z.ZodOptional<z.ZodBoolean>;
|
|
989
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
990
|
-
msgs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
991
|
-
profilePicThumbObj: z.ZodOptional<z.ZodObject<{
|
|
992
|
-
eurl: z.ZodOptional<z.ZodString>;
|
|
993
|
-
id: z.ZodOptional<z.ZodObject<{
|
|
994
|
-
server: z.ZodString;
|
|
995
|
-
user: z.ZodString;
|
|
996
|
-
_serialized: z.ZodString;
|
|
997
|
-
}, z.core.$strip>>;
|
|
998
|
-
img: z.ZodOptional<z.ZodString>;
|
|
999
|
-
imgFull: z.ZodOptional<z.ZodString>;
|
|
1000
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
1001
|
-
}, z.core.$strip>>;
|
|
1002
|
-
statusMute: z.ZodOptional<z.ZodBoolean>;
|
|
1003
|
-
type: z.ZodOptional<z.ZodString>;
|
|
1004
|
-
verifiedLevel: z.ZodOptional<z.ZodNumber>;
|
|
1005
|
-
verifiedName: z.ZodOptional<z.ZodString>;
|
|
1006
|
-
isOnline: z.ZodOptional<z.ZodBoolean>;
|
|
1007
|
-
lastSeen: z.ZodOptional<z.ZodNumber>;
|
|
1008
|
-
}, z.core.$loose>;
|
|
1009
|
-
chat: z.ZodObject<{
|
|
1010
|
-
id: z.ZodUnion<[z.core.$ZodBranded<z.ZodString, "ContactId", "out">, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">]>;
|
|
1011
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1012
|
-
formattedTitle: z.ZodOptional<z.ZodString>;
|
|
1013
|
-
isGroup: z.ZodBoolean;
|
|
1014
|
-
contact: z.ZodObject<{
|
|
1015
|
-
id: z.core.$ZodBranded<z.ZodString, "ContactId", "out">;
|
|
1016
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1017
|
-
shortName: z.ZodOptional<z.ZodString>;
|
|
1018
|
-
pushname: z.ZodOptional<z.ZodString>;
|
|
1019
|
-
formattedName: z.ZodOptional<z.ZodString>;
|
|
1020
|
-
isBusiness: z.ZodOptional<z.ZodBoolean>;
|
|
1021
|
-
isEnterprise: z.ZodOptional<z.ZodBoolean>;
|
|
1022
|
-
isMe: z.ZodOptional<z.ZodBoolean>;
|
|
1023
|
-
isMyContact: z.ZodOptional<z.ZodBoolean>;
|
|
1024
|
-
isPSA: z.ZodOptional<z.ZodBoolean>;
|
|
1025
|
-
isUser: z.ZodOptional<z.ZodBoolean>;
|
|
1026
|
-
isWAContact: z.ZodOptional<z.ZodBoolean>;
|
|
1027
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1028
|
-
msgs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
1029
|
-
profilePicThumbObj: z.ZodOptional<z.ZodObject<{
|
|
1030
|
-
eurl: z.ZodOptional<z.ZodString>;
|
|
1031
|
-
id: z.ZodOptional<z.ZodObject<{
|
|
1032
|
-
server: z.ZodString;
|
|
1033
|
-
user: z.ZodString;
|
|
1034
|
-
_serialized: z.ZodString;
|
|
1035
|
-
}, z.core.$strip>>;
|
|
1036
|
-
img: z.ZodOptional<z.ZodString>;
|
|
1037
|
-
imgFull: z.ZodOptional<z.ZodString>;
|
|
1038
|
-
tag: z.ZodOptional<z.ZodString>;
|
|
1039
|
-
}, z.core.$strip>>;
|
|
1040
|
-
statusMute: z.ZodOptional<z.ZodBoolean>;
|
|
1041
|
-
type: z.ZodOptional<z.ZodString>;
|
|
1042
|
-
verifiedLevel: z.ZodOptional<z.ZodNumber>;
|
|
1043
|
-
verifiedName: z.ZodOptional<z.ZodString>;
|
|
1044
|
-
isOnline: z.ZodOptional<z.ZodBoolean>;
|
|
1045
|
-
lastSeen: z.ZodOptional<z.ZodNumber>;
|
|
1046
|
-
}, z.core.$loose>;
|
|
1047
|
-
groupMetadata: z.ZodOptional<z.ZodAny>;
|
|
1048
|
-
presence: z.ZodOptional<z.ZodAny>;
|
|
1049
|
-
t: z.ZodOptional<z.ZodNumber>;
|
|
1050
|
-
unreadCount: z.ZodOptional<z.ZodNumber>;
|
|
1051
|
-
lastReceivedKey: z.ZodOptional<z.ZodAny>;
|
|
1052
|
-
msgs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
1053
|
-
isReadOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1054
|
-
muteExpiration: z.ZodOptional<z.ZodNumber>;
|
|
1055
|
-
notSpam: z.ZodOptional<z.ZodBoolean>;
|
|
1056
|
-
pin: z.ZodOptional<z.ZodNumber>;
|
|
1057
|
-
ack: z.ZodOptional<z.ZodAny>;
|
|
1058
|
-
}, z.core.$loose>;
|
|
1059
|
-
}, z.core.$loose>;
|
|
1060
|
-
path: z.ZodString;
|
|
1061
|
-
}, z.core.$strip>, z.ZodString>;
|
|
1062
|
-
declare namespace index_d_exports {
|
|
1063
|
-
export { 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, sendLinkWithAutoPreview, sendListMessage, sendLocation, sendMessageWithThumb, sendMultipleContacts, sendPaymentRequest, sendPoll, sendPtt, sendReplyWithMentions, sendSeen, sendText, sendTextWithMentions, sendVCard, sendVideoAsGif, sendYouTubeLink, setChatEphemeral, setGroupDescription, setGroupEditToAdminsOnly, setGroupIcon, setGroupTitle, setGroupToAdminsOnly, setMyName, setMyStatus, setProfilePicture, starMessage, unarchiveChat, unblockContact, unmuteChat, unpinChat, unstarMessage };
|
|
1064
|
-
}
|
|
1065
|
-
//#endregion
|
|
1066
|
-
//#region src/events/registry.d.ts
|
|
1067
|
-
type QueueOverloadStrategy = 'backpressure' | 'dropping';
|
|
1068
|
-
interface QueueOptions {
|
|
1069
|
-
concurrency?: number;
|
|
1070
|
-
capacity?: number;
|
|
1071
|
-
overload?: QueueOverloadStrategy;
|
|
1072
|
-
ordering?: 'fifo';
|
|
1073
|
-
intervalCap?: number;
|
|
1074
|
-
interval?: number;
|
|
1075
|
-
timeout?: number;
|
|
1076
|
-
}
|
|
1077
|
-
type EventStatus = 'stable' | 'beta' | 'deprecated' | 'experimental';
|
|
1078
|
-
interface EventMetadata {
|
|
1079
|
-
eventName: string;
|
|
1080
|
-
legacyName: string;
|
|
1081
|
-
description?: string;
|
|
1082
|
-
namespace?: string;
|
|
1083
|
-
status?: EventStatus;
|
|
1084
|
-
deprecated?: string;
|
|
1085
|
-
license?: LicenseTier;
|
|
1086
|
-
since?: string;
|
|
1087
|
-
payloadSchema: z.ZodTypeAny;
|
|
1088
|
-
defaultQueueOptions?: QueueOptions;
|
|
1089
|
-
}
|
|
1090
|
-
interface EventDefinition {
|
|
1091
|
-
callbackSchema: z.ZodFunction<any, any>;
|
|
1092
|
-
meta: EventMetadata;
|
|
1093
|
-
}
|
|
1094
|
-
declare const eventRegistry: {
|
|
1095
|
-
register(def: EventDefinition): z.ZodFunction<any, any>;
|
|
1096
|
-
get(name: string): EventDefinition | undefined;
|
|
1097
|
-
getByLegacyName(legacyName: string): EventDefinition | undefined;
|
|
1098
|
-
has(name: string): boolean;
|
|
1099
|
-
getAll(): EventDefinition[];
|
|
1100
|
-
getByNamespace(namespace: string): EventDefinition[];
|
|
1101
|
-
clear(): void;
|
|
1102
|
-
};
|
|
1103
|
-
declare const QueueOptionsSchema: z.ZodOptional<z.ZodObject<{
|
|
1104
|
-
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
1105
|
-
capacity: z.ZodOptional<z.ZodNumber>;
|
|
1106
|
-
overload: z.ZodOptional<z.ZodEnum<{
|
|
1107
|
-
backpressure: "backpressure";
|
|
1108
|
-
dropping: "dropping";
|
|
1109
|
-
}>>;
|
|
1110
|
-
ordering: z.ZodOptional<z.ZodLiteral<"fifo">>;
|
|
1111
|
-
intervalCap: z.ZodOptional<z.ZodNumber>;
|
|
1112
|
-
interval: z.ZodOptional<z.ZodNumber>;
|
|
1113
|
-
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1114
|
-
}, z.core.$strip>>;
|
|
1115
|
-
declare function defineListenerV2<T extends z.ZodTypeAny>(name: string, params: {
|
|
1116
|
-
legacyName?: string;
|
|
1117
|
-
meta: Omit<EventMetadata, 'eventName' | 'legacyName' | 'payloadSchema'>;
|
|
1118
|
-
payload: T;
|
|
1119
|
-
defaultQueueOptions?: QueueOptions;
|
|
1120
|
-
}): z.ZodFunction<any, any>;
|
|
1121
|
-
//#endregion
|
|
1122
|
-
//#region src/events/messaging.d.ts
|
|
1123
|
-
declare const messageEvent: z.ZodFunction<any, any>;
|
|
1124
|
-
declare const anyMessageEvent: z.ZodFunction<any, any>;
|
|
1125
|
-
declare const messageDeletedEvent: z.ZodFunction<any, any>;
|
|
1126
|
-
declare const ackEvent: z.ZodFunction<any, any>;
|
|
1127
|
-
declare const reactionEvent: z.ZodFunction<any, any>;
|
|
1128
|
-
//#endregion
|
|
1129
|
-
//#region src/events/state.d.ts
|
|
1130
|
-
declare const StateEnum: z.ZodEnum<{
|
|
1131
|
-
AUTHENTICATING: "AUTHENTICATING";
|
|
1132
|
-
CONFLICT: "CONFLICT";
|
|
1133
|
-
CONNECTED: "CONNECTED";
|
|
1134
|
-
DISCONNECTED: "DISCONNECTED";
|
|
1135
|
-
PAIRING: "PAIRING";
|
|
1136
|
-
READY: "READY";
|
|
1137
|
-
STARTING: "STARTING";
|
|
1138
|
-
STOPPED: "STOPPED";
|
|
1139
|
-
SYNCING: "SYNCING";
|
|
1140
|
-
TIMEOUT: "TIMEOUT";
|
|
1141
|
-
UNLAUNCHED: "UNLAUNCHED";
|
|
1142
|
-
}>;
|
|
1143
|
-
declare const stateChangedEvent: z.ZodFunction<any, any>;
|
|
1144
|
-
declare const chatStateEvent: z.ZodFunction<any, any>;
|
|
1145
|
-
declare const logoutEvent: z.ZodFunction<any, any>;
|
|
1146
|
-
//#endregion
|
|
1147
|
-
//#region src/events/groups.d.ts
|
|
1148
|
-
declare const participantsChangedEvent: z.ZodFunction<any, any>;
|
|
1149
|
-
declare const addedToGroupEvent: z.ZodFunction<any, any>;
|
|
1150
|
-
//#endregion
|
|
1151
|
-
//#region src/codecs.d.ts
|
|
1152
|
-
declare const chatIdCodec: {
|
|
1153
|
-
decode: (input: string) => string;
|
|
1154
|
-
encode: (chatId: string) => string;
|
|
1155
|
-
};
|
|
1156
|
-
declare const contactIdCodec: {
|
|
1157
|
-
decode: (input: string) => string;
|
|
1158
|
-
encode: (contactId: string) => string;
|
|
1159
|
-
};
|
|
1160
|
-
declare const groupIdCodec: {
|
|
1161
|
-
decode: (input: string) => string;
|
|
1162
|
-
encode: (groupId: string) => string;
|
|
1163
|
-
};
|
|
1164
|
-
declare const messageIdCodec: {
|
|
1165
|
-
decode: (input: string) => string;
|
|
1166
|
-
encode: (messageId: string) => string;
|
|
1167
|
-
};
|
|
1168
|
-
declare const createFileCodec: (outputType: string) => {
|
|
1169
|
-
decode: (input: unknown) => Promise<unknown>;
|
|
1170
|
-
encode: (output: unknown) => unknown;
|
|
1171
|
-
};
|
|
1172
|
-
declare const fileToDataUrlCodec: {
|
|
1173
|
-
decode: (input: unknown) => Promise<unknown>;
|
|
1174
|
-
encode: (output: unknown) => unknown;
|
|
1175
|
-
};
|
|
1176
|
-
declare const fileToBase64Codec: {
|
|
1177
|
-
decode: (input: unknown) => Promise<unknown>;
|
|
1178
|
-
encode: (output: unknown) => unknown;
|
|
1179
|
-
};
|
|
1180
|
-
declare const fileToBufferCodec: {
|
|
1181
|
-
decode: (input: unknown) => Promise<unknown>;
|
|
1182
|
-
encode: (output: unknown) => unknown;
|
|
1183
|
-
};
|
|
1184
|
-
declare const fileToTempPathCodec: {
|
|
1185
|
-
decode: (input: unknown) => Promise<unknown>;
|
|
1186
|
-
encode: (output: unknown) => unknown;
|
|
1187
|
-
};
|
|
1188
|
-
declare const fileToStreamCodec: {
|
|
1189
|
-
decode: (input: unknown) => Promise<unknown>;
|
|
1190
|
-
encode: (output: unknown) => unknown;
|
|
1191
|
-
};
|
|
1192
|
-
declare const base64ToDataUrlCodec: {
|
|
1193
|
-
decode: (base64: string) => string;
|
|
1194
|
-
encode: (dataUrl: string) => string;
|
|
1195
|
-
};
|
|
1196
|
-
declare const urlToDataUrlCodec: {
|
|
1197
|
-
decode: (url: string) => Promise<string>;
|
|
1198
|
-
encode: (_dataUrl: string) => string;
|
|
1199
|
-
};
|
|
1200
|
-
declare const isoDatetimeToDate: {
|
|
1201
|
-
decode: (isoString: string) => Date;
|
|
1202
|
-
encode: (date: Date) => string;
|
|
1203
|
-
};
|
|
1204
|
-
declare const unixSecondsToDate: {
|
|
1205
|
-
decode: (seconds: number) => Date;
|
|
1206
|
-
encode: (date: Date) => number;
|
|
1207
|
-
};
|
|
1208
|
-
declare const unixMillisToDate: {
|
|
1209
|
-
decode: (millis: number) => Date;
|
|
1210
|
-
encode: (date: Date) => number;
|
|
1211
|
-
};
|
|
1212
|
-
declare const hexColorCodec: {
|
|
1213
|
-
decode: (input: string) => string;
|
|
1214
|
-
encode: (hex: string) => string;
|
|
1215
|
-
};
|
|
1216
|
-
declare const jsonStringCodec: <T>(schema: z.ZodType<T>) => z.ZodCodec<z.ZodString, z.ZodType<T, unknown, z.core.$ZodTypeInternals<T, unknown>>>;
|
|
1217
|
-
declare const ChatIdSchema: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
1218
|
-
declare const ContactIdSchema: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
1219
|
-
declare const GroupIdSchema: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
1220
|
-
declare const MessageIdSchema: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>;
|
|
1221
|
-
declare const ChatIdCodecSchema: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
1222
|
-
declare const ContactIdCodecSchema: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
1223
|
-
declare const GroupIdCodecSchema: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
1224
|
-
declare const MessageIdCodecSchema: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>;
|
|
1225
|
-
declare const FileToDataUrlSchema: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
|
|
1226
|
-
declare const Base64ToDataUrlSchema: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
|
|
1227
|
-
declare const HexColorSchema: z.ZodCodec<z.ZodString, z.ZodString>;
|
|
1228
|
-
declare const IsoDatetimeToDateSchema: z.ZodCodec<z.ZodISODateTime, z.ZodDate>;
|
|
1229
|
-
declare const UnixSecondsToDateSchema: z.ZodCodec<z.ZodNumber, z.ZodDate>;
|
|
1230
|
-
declare const UnixMillisToDateSchema: z.ZodCodec<z.ZodNumber, z.ZodDate>;
|
|
1231
|
-
//#endregion
|
|
1232
|
-
//#region src/parameters.d.ts
|
|
1233
|
-
declare const chatIdParam: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
1234
|
-
declare const contactIdParam: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>;
|
|
1235
|
-
declare const groupIdParam: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
1236
|
-
declare const communityIdParam: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "GroupChatId", "out">>;
|
|
1237
|
-
declare const messageIdParam: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>;
|
|
1238
|
-
declare const toParam: z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ChatId", "out">>;
|
|
1239
|
-
declare const contentParam: z.core.$ZodBranded<z.ZodString, "Content", "out">;
|
|
1240
|
-
declare const captionParam: z.ZodOptional<z.ZodString>;
|
|
1241
|
-
declare const filenameParam: z.ZodOptional<z.ZodString>;
|
|
1242
|
-
declare const userAgentParam: z.ZodOptional<z.ZodString>;
|
|
1243
|
-
declare const nameParam: z.ZodString;
|
|
1244
|
-
declare const statusTextParam: z.ZodString;
|
|
1245
|
-
declare const imageDataParam: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
|
|
1246
|
-
declare const fileDataParam: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
|
|
1247
|
-
declare const audioDataParam: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
|
|
1248
|
-
declare const videoDataParam: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
|
|
1249
|
-
declare const documentDataParam: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
|
|
1250
|
-
declare const stickerDataParam: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodInstanceOf<Buffer<ArrayBufferLike>>]>, z.ZodTransform<unknown, string | Buffer<ArrayBufferLike>>>, z.core.$ZodBranded<z.ZodString, "DataURL", "out">>;
|
|
1251
|
-
declare const latitudeParam: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1252
|
-
declare const longitudeParam: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
|
|
1253
|
-
declare const locationNameParam: z.ZodOptional<z.ZodString>;
|
|
1254
|
-
declare const waitForIdParam: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1255
|
-
declare const includeMeParam: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1256
|
-
declare const includeNotificationsParam: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1257
|
-
declare const onlyLocalParam: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1258
|
-
declare const skipMyMessagesParam: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1259
|
-
declare const withNewMessagesOnlyParam: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1260
|
-
declare const messageIdsParam: z.ZodUnion<readonly [z.ZodArray<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>>, z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "MessageId", "out">>]>;
|
|
1261
|
-
declare const mentionedJidListParam: z.ZodOptional<z.ZodArray<z.ZodCodec<z.ZodString, z.core.$ZodBranded<z.ZodString, "ContactId", "out">>>>;
|
|
1262
|
-
declare const messageOptionsParam: z.ZodOptional<z.ZodAny>;
|
|
1263
|
-
//#endregion
|
|
1264
|
-
export { fileToTempPathCodec as $, markAsUnread as $n, GroupChatIdSchema as $r, deleteAllStatus as $t, withNewMessagesOnlyParam as A, OnError as Ai, setGroupEditToAdminsOnly as An, sendMultipleContacts as Ar, getBatteryLevel as At, IsoDatetimeToDateSchema as B, StrictConfig as Bi, getContact as Bn, sendYouTubeLink as Br, getWAVersion as Bt, skipMyMessagesParam as C, DeepPartialConfig as Ci, joinGroupViaLink as Cn, sendFile as Cr, QueueOptionsSchema as Ct, userAgentParam as D, LoggingTransport as Di, removeParticipant as Dn, sendListMessage as Dr, index_d_exports as Dt, toParam as E, LicenseType as Ei, rejectGroupJoinRequest as En, sendLinkWithAutoPreview as Er, eventRegistry as Et, ContactIdSchema as F, QRFormat as Fi, checkNumberStatus as Fn, sendSeen as Fr, getLoadedMessageCount as Ft, base64ToDataUrlCodec as G, parseConfig as Gi, clearChat as Gn, ChatId as Gr, setProfilePicture as Gt, MessageIdSchema as H, Viewport as Hi, getProfilePicture as Hn, unstarMessage as Hr, isPlugged as Ht, FileToDataUrlSchema as I, S3Sync as Ii, checkReadReceipts as In, sendText as Ir, getMe as It, createFileCodec as J, getAllChats as Jn, ContactId as Jr, getOrder as Jt, chatIdCodec as K, validateConfig as Ki, deleteChat as Kn, ChatSchema as Kr, getBusinessProducts as Kt, GroupIdCodecSchema as L, S3SyncSchema as Li, getAllContacts as Ln, sendTextWithMentions as Lr, getProcessStats as Lt, ChatIdCodecSchema as M, PartialConfigSchema as Mi, setGroupTitle as Mn, sendPoll as Mr, getFeatures as Mt, ChatIdSchema as N, ProxyServerCredentials as Ni, setGroupToAdminsOnly as Nn, sendPtt as Nr, getHostNumber as Nt, videoDataParam as O, LoggingTransportSchema as Oi, revokeGroupInviteLink as On, sendLocation as Or, decryptMedia as Ot, ContactIdCodecSchema as P, ProxyServerCredentialsSchema as Pi, blockContact as Pn, sendReplyWithMentions as Pr, getLicenseType as Pt, fileToStreamCodec as Q, markAsRead as Qn, GroupChatId as Qr, removeLabel as Qt, GroupIdSchema as R, SessionData as Ri, getBlockedIds as Rn, sendVCard as Rr, getSnapshot as Rt, onlyLocalParam as S, DIRECTORY_STRATEGY as Si, getKickedGroups as Sn, sendContact as Sr, QueueOptions as St, stickerDataParam as T, DevToolsSchema as Ti, promoteParticipant as Tn, sendImage as Tr, defineListenerV2 as Tt, UnixMillisToDateSchema as U, ViewportSchema as Ui, unblockContact as Un, Base64 as Ur, setMyName as Ut, MessageIdCodecSchema as V, StrictConfigSchema as Vi, getNumberProfile as Vn, starMessage as Vr, healthCheck as Vt, UnixSecondsToDateSchema as W, getDefaultConfig as Wi, archiveChat as Wn, Chat as Wr, setMyStatus as Wt, fileToBufferCodec as X, getChatWithNonContacts as Xn, Content as Xr, getAllLabels as Xt, fileToBase64Codec as Y, getChat as Yn, ContactSchema as Yr, addLabel as Yt, fileToDataUrlCodec as Z, isChatOnline as Zn, DataURL as Zr, getChatsByLabel as Zt, mentionedJidListParam as _, CLOUD_PROVIDERS as _i, getGroupAdmins as _n, react as _r, messageEvent as _t, contactIdParam as a, Location as ai, postVideoStatus as an, unpinChat as ar, unixMillisToDate as at, messageOptionsParam as b, Config as bi, getGroupMembers as bn, sendBanner as br, EventMetadata as bt, fileDataParam as c, MessageAck as ci, getCommunityAdmins as cn, getAllMessages as cr, addedToGroupEvent as ct, imageDataParam as d, MessageSchema as di, getCommunityParticipants as dn, getMessagesForLLM as dr, chatStateEvent as dt, GroupId as ei, deleteStatus as en, muteChat as er, groupIdCodec as et, includeMeParam as f, MessageTypes as fi, addParticipant as fn, getMyLastMessage as fr, logoutEvent as ft, longitudeParam as g, migrateV4Config as gi, getAllGroups as gn, loadEarlierMessages as gr, messageDeletedEvent as gt, locationNameParam as h, ClientConfigSchema as hi, demoteParticipant as hn, getVCards as hr, anyMessageEvent as ht, communityIdParam as i, IdSchema as ii, postTextStatus as in, unmuteChat as ir, messageIdCodec as it, Base64ToDataUrlSchema as j, PartialConfig as ji, setGroupIcon as jn, sendPaymentRequest as jr, getConnectionState as jt, waitForIdParam as k, NotificationLanguage as ki, setGroupDescription as kn, sendMessageWithThumb as kr, downloadMedia as kt, filenameParam as l, MessageId as li, getCommunityInfo as ln, getMessageById as lr, participantsChangedEvent as lt, latitudeParam as m, ClientConfig as mi, createGroup as mn, getUnsentMessages as mr, ackEvent as mt, captionParam as n, GroupMetadataSchema as ni, getStories as nn, setChatEphemeral as nr, isoDatetimeToDate as nt, contentParam as o, LocationSchema as oi, getAllCommunities as on, deleteMessage as or, unixSecondsToDate as ot, includeNotificationsParam as p, SimpleListener as pi, approveGroupJoinRequest as pn, getStarredMessages as pr, stateChangedEvent as pt, contactIdCodec as q, getAllChatIds as qn, Contact as qr, getBusinessProfile as qt, chatIdParam as r, Id as ri, postImageStatus as rn, unarchiveChat as rr, jsonStringCodec as rt, documentDataParam as s, Message as si, getCommunityAdminIds as sn, forwardMessages as sr, urlToDataUrlCodec as st, audioDataParam as t, GroupMetadata as ti, getStatus as tn, pinChat as tr, hexColorCodec as tt, groupIdParam as u, MessageIdReturnSchema as ui, getCommunityParticipantIds as un, getMessageInfo as ur, StateEnum as ut, messageIdParam as v, CloudUploadOptions as vi, getGroupInfo as vn, sendAdvancedButtons as vr, reactionEvent as vt, statusTextParam as w, DevTools as wi, leaveGroup as wn, sendFileFromUrl as wr, QueueOverloadStrategy as wt, nameParam as x, ConfigSchema as xi, getGroupMembersId as xn, sendButtons as xr, EventStatus as xt, messageIdsParam as y, CloudUploadOptionsSchema as yi, getGroupInviteLink as yn, sendAudio as yr, EventDefinition as yt, HexColorSchema as z, SessionDataSchema as zi, getCommonGroups as zn, sendVideoAsGif as zr, getUserAgent as zt };
|
|
1265
|
-
//# sourceMappingURL=index-ChYFQM1K.d.cts.map
|