@open-wa/schema 5.0.0-alpha.8 → 5.1.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.
Files changed (100) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +1 -1
  3. package/dist/generated/index.cjs +8 -2
  4. package/dist/generated/index.cjs.map +1 -1
  5. package/dist/generated/index.d.cts +1164 -452
  6. package/dist/generated/index.d.cts.map +1 -1
  7. package/dist/generated/index.d.mts +1164 -452
  8. package/dist/generated/index.d.mts.map +1 -1
  9. package/dist/generated/index.mjs +8 -2
  10. package/dist/generated/index.mjs.map +1 -1
  11. package/dist/{http-manifest-BlJWPKsp.d.mts → http-manifest-CqjUoaDB.d.cts} +12 -13
  12. package/dist/http-manifest-CqjUoaDB.d.cts.map +1 -0
  13. package/dist/{http-manifest-DCOVY9QZ.d.cts → http-manifest-CqjUoaDB.d.mts} +12 -13
  14. package/dist/http-manifest-CqjUoaDB.d.mts.map +1 -0
  15. package/dist/http-manifest.cjs +1 -1
  16. package/dist/http-manifest.cjs.map +1 -1
  17. package/dist/http-manifest.d.cts +1 -1
  18. package/dist/http-manifest.d.mts +1 -1
  19. package/dist/http-manifest.mjs +1 -1
  20. package/dist/http-manifest.mjs.map +1 -1
  21. package/dist/{implementor-DIBNbQXA.d.cts → implementor-ACLHTHby.d.cts} +1 -2
  22. package/dist/implementor-ACLHTHby.d.cts.map +1 -0
  23. package/dist/{implementor-DoN9ga7C.d.mts → implementor-ACLHTHby.d.mts} +1 -2
  24. package/dist/implementor-ACLHTHby.d.mts.map +1 -0
  25. package/dist/implementor.cjs +1 -1
  26. package/dist/implementor.cjs.map +1 -1
  27. package/dist/implementor.d.cts +1 -1
  28. package/dist/implementor.d.mts +1 -1
  29. package/dist/implementor.mjs +1 -1
  30. package/dist/implementor.mjs.map +1 -1
  31. package/dist/{index-BB9uyLe8.d.cts → index-DTztyYhw.d.cts} +935 -103
  32. package/dist/index-DTztyYhw.d.cts.map +1 -0
  33. package/dist/{index-D77q1gPk.d.mts → index-nVKR0RmZ.d.mts} +935 -103
  34. package/dist/index-nVKR0RmZ.d.mts.map +1 -0
  35. package/dist/index.cjs +58 -6
  36. package/dist/index.cjs.map +1 -1
  37. package/dist/index.d.cts +4 -4
  38. package/dist/index.d.mts +4 -4
  39. package/dist/index.mjs +31 -7
  40. package/dist/index.mjs.map +1 -1
  41. package/dist/methods/index.cjs +5 -1
  42. package/dist/methods/index.d.cts +2 -2
  43. package/dist/methods/index.d.mts +2 -2
  44. package/dist/methods/index.mjs +2 -2
  45. package/dist/{methods-BXZrkKjP.mjs → methods-BSv5O3bS.mjs} +318 -3
  46. package/dist/methods-BSv5O3bS.mjs.map +1 -0
  47. package/dist/{methods-CuiwUO7-.cjs → methods-DO0JONvB.cjs} +473 -2
  48. package/dist/methods-DO0JONvB.cjs.map +1 -0
  49. package/dist/{registry-CsyR8i6y.mjs → registry-BIddXpin.mjs} +26 -1
  50. package/dist/{registry-CsyR8i6y.mjs.map → registry-BIddXpin.mjs.map} +1 -1
  51. package/dist/{registry-TbMVoiw5.cjs → registry-_s9a7_jl.cjs} +26 -1
  52. package/dist/{registry-TbMVoiw5.cjs.map → registry-_s9a7_jl.cjs.map} +1 -1
  53. package/package.json +12 -10
  54. package/src/__tests__/generators.contract.test.ts +181 -0
  55. package/src/__tests__/registry.contract.test.ts +81 -0
  56. package/src/client-config.ts +30 -0
  57. package/src/codecs.test.ts +41 -0
  58. package/src/codecs.ts +191 -0
  59. package/src/common-types.ts +280 -0
  60. package/src/config.ts +47 -0
  61. package/src/enums.ts +63 -0
  62. package/src/events/groups.ts +33 -0
  63. package/src/events/index.ts +4 -0
  64. package/src/events/messaging.ts +86 -0
  65. package/src/events/registry.ts +124 -0
  66. package/src/events/state.ts +59 -0
  67. package/src/generated/AliasMap.ts +216 -0
  68. package/src/generated/BaseClient.ts +878 -0
  69. package/src/generated/BaseNamespacedClient.ts +214 -0
  70. package/src/generated/index.ts +5 -0
  71. package/src/generated/openapi.json +8949 -0
  72. package/src/generated/types.ts +383 -0
  73. package/src/http-manifest.ts +97 -0
  74. package/src/implementor.test.ts +88 -0
  75. package/src/implementor.ts +75 -0
  76. package/src/index.ts +44 -0
  77. package/src/interactive.ts +151 -0
  78. package/src/methods/business.ts +51 -0
  79. package/src/methods/chats.ts +263 -0
  80. package/src/methods/communities.ts +119 -0
  81. package/src/methods/contacts.ts +158 -0
  82. package/src/methods/groups.ts +376 -0
  83. package/src/methods/index.ts +34 -0
  84. package/src/methods/interactive.ts +21 -0
  85. package/src/methods/labels.ts +86 -0
  86. package/src/methods/media.ts +36 -0
  87. package/src/methods/messaging.ts +828 -0
  88. package/src/methods/session.ts +261 -0
  89. package/src/methods/status.ts +120 -0
  90. package/src/parameters.ts +237 -0
  91. package/src/registry.test.ts +30 -0
  92. package/src/registry.ts +601 -0
  93. package/dist/http-manifest-BlJWPKsp.d.mts.map +0 -1
  94. package/dist/http-manifest-DCOVY9QZ.d.cts.map +0 -1
  95. package/dist/implementor-DIBNbQXA.d.cts.map +0 -1
  96. package/dist/implementor-DoN9ga7C.d.mts.map +0 -1
  97. package/dist/index-BB9uyLe8.d.cts.map +0 -1
  98. package/dist/index-D77q1gPk.d.mts.map +0 -1
  99. package/dist/methods-BXZrkKjP.mjs.map +0 -1
  100. package/dist/methods-CuiwUO7-.cjs.map +0 -1
@@ -1,8 +1,7 @@
1
- import { $n as pinChat, $t as getStatus, An as setGroupTitle, Ar as sendPoll, At as getFeatures, Bn as getProfilePicture, Br as unstarMessage, Bt as isPlugged, Cn as promoteParticipant, Cr as sendImage, Dn as setGroupDescription, Dr as sendMessageWithThumb, Dt as downloadMedia, En as revokeGroupInviteLink, Er as sendLocation, Et as decryptMedia, Fn as getAllContacts, Fr as sendTextWithMentions, Ft as getProcessStats, Gn as getAllChatIds, Gt as getBusinessProfile, Hn as archiveChat, Ht as setMyStatus, In as getBlockedIds, Ir as sendVCard, It as getSnapshot, Jn as getChatWithNonContacts, Jt as getAllLabels, Kn as getAllChats, Kt as getOrder, Ln as getCommonGroups, Lr as sendVideoAsGif, Lt as getUserAgent, Mn as blockContact, Mr as sendReplyWithMentions, Mt as getLicenseType, Nn as checkNumberStatus, Nr as sendSeen, Nt as getLoadedMessageCount, On as setGroupEditToAdminsOnly, Or as sendMultipleContacts, Ot as getBatteryLevel, Pn as checkReadReceipts, Pr as sendText, Pt as getMe, Qn as muteChat, Qt as deleteStatus, Rn as getContact, Rr as sendYouTubeLink, Rt as getWAVersion, Sn as leaveGroup, Sr as sendFileFromUrl, Tn as removeParticipant, Tr as sendListMessage, Un as clearChat, Ut as setProfilePicture, Vn as unblockContact, Vt as setMyName, Wn as deleteChat, Wt as getBusinessProducts, Xn as markAsRead, Xt as removeLabel, Yn as isChatOnline, Yt as getChatsByLabel, Zn as markAsUnread, Zt as deleteAllStatus, _n as getGroupInviteLink, _r as sendAudio, an as getCommunityAdminIds, ar as forwardMessages, bn as getKickedGroups, br as sendContact, cn as getCommunityParticipantIds, cr as getMessageInfo, dn as approveGroupJoinRequest, dr as getStarredMessages, en as getStories, er as setChatEphemeral, fn as createGroup, fr as getUnsentMessages, gn as getGroupInfo, gr as sendAdvancedButtons, hn as getGroupAdmins, hr as react, in as getAllCommunities, ir as deleteMessage, jn as setGroupToAdminsOnly, jr as sendPtt, jt as getHostNumber, kn as setGroupIcon, kr as sendPaymentRequest, kt as getConnectionState, ln as getCommunityParticipants, lr as getMessagesForLLM, mn as getAllGroups, mr as loadEarlierMessages, nn as postTextStatus, nr as unmuteChat, oi as MessageAck, on as getCommunityAdmins, or as getAllMessages, pn as demoteParticipant, pr as getVCards, qn as getChat, qt as addLabel, rn as postVideoStatus, rr as unpinChat, sn as getCommunityInfo, sr as getMessageById, tn as postImageStatus, tr as unarchiveChat, ui as MessageTypes, un as addParticipant, ur as getMyLastMessage, vn as getGroupMembers, vr as sendBanner, wn as rejectGroupJoinRequest, wr as sendLinkWithAutoPreview, xn as joinGroupViaLink, xr as sendFile, yn as getGroupMembersId, yr as sendButtons, zn as getNumberProfile, zr as starMessage, zt as healthCheck } from "../index-BB9uyLe8.cjs";
1
+ import { $n as getGroupInfo, $r as sendAdvancedButtons, An as addLabel, Ar as getChat, Bn as postVideoStatus, Br as unpinChat, Ci as unstarMessage, Cn as isPlugged, Cr as getProfilePicture, Dn as getBusinessProducts, Dr as deleteChat, En as setProfilePicture, Er as clearChat, Fn as deleteStatus, Fr as muteChat, Gn as getCommunityParticipantIds, Gr as getMessageInfo, Hn as getCommunityAdminIds, Hr as forwardMessages, In as getStatus, Ir as pinChat, Jn as approveGroupJoinRequest, Jr as getStarredMessages, Kn as getCommunityParticipants, Kr as getMessagesForLLM, Ln as getStories, Lr as setChatEphemeral, Mn as getChatsByLabel, Mr as isChatOnline, Nn as removeLabel, Nr as markAsRead, On as getBusinessProfile, Or as getAllChatIds, Pn as deleteAllStatus, Pr as markAsUnread, Qn as getGroupAdmins, Qr as react, Rn as postImageStatus, Rr as unarchiveChat, Si as starMessage, Sn as healthCheck, Sr as getNumberProfile, Tn as setMyStatus, Tr as archiveChat, Ui as MessageAck, Un as getCommunityAdmins, Ur as getAllMessages, Vn as getAllCommunities, Vr as deleteMessage, Wn as getCommunityInfo, Wr as getMessageById, Xn as demoteParticipant, Xr as getVCards, Yn as createGroup, Yr as getUnsentMessages, Zn as getAllGroups, Zr as loadEarlierMessages, _i as sendText, _n as getMe, _r as checkReadReceipts, ai as sendFileFromUrl, ar as leaveGroup, bi as sendVideoAsGif, bn as getUserAgent, br as getCommonGroups, ci as sendListMessage, cn as sendRawMessage, cr as removeParticipant, di as sendMultipleContacts, dn as getBatteryLevel, dr as setGroupEditToAdminsOnly, ei as sendAudio, er as getGroupInviteLink, fi as sendPaymentRequest, fn as getConnectionState, fr as setGroupIcon, gi as sendSeen, gn as getLoadedMessageCount, gr as checkNumberStatus, hi as sendReplyWithMentions, hn as getLicenseType, hr as blockContact, ii as sendFile, in as index_d_exports, ir as joinGroupViaLink, jn as getAllLabels, jr as getChatWithNonContacts, kn as getOrder, kr as getAllChats, li as sendLocation, ln as decryptMedia, lr as revokeGroupInviteLink, mi as sendPtt, mn as getHostNumber, mr as setGroupToAdminsOnly, ni as sendButtons, nr as getGroupMembersId, oi as sendImage, or as promoteParticipant, pi as sendPoll, pn as getFeatures, pr as setGroupTitle, qi as MessageTypes, qn as addParticipant, qr as getMyLastMessage, ri as sendContact, rr as getKickedGroups, si as sendLinkWithAutoPreview, sn as sendInteractive, sr as rejectGroupJoinRequest, ti as sendBanner, tr as getGroupMembers, ui as sendMessageWithThumb, un as downloadMedia, ur as setGroupDescription, vi as sendTextWithMentions, vn as getProcessStats, vr as getAllContacts, wn as setMyName, wr as unblockContact, xi as sendYouTubeLink, xn as getWAVersion, xr as getContact, yi as sendVCard, yn as getSnapshot, yr as getBlockedIds, zn as postTextStatus, zr as unmuteChat } from "../index-DTztyYhw.cjs";
2
2
  import * as Zod from "zod";
3
-
4
3
  //#region src/generated/AliasMap.d.ts
5
- declare const clientMethodAliasMap: {
4
+ export declare const clientMethodAliasMap: {
6
5
  readonly "messages.sendText": "sendText";
7
6
  readonly "messages.sendTextWithMentions": "sendTextWithMentions";
8
7
  readonly "messages.sendReplyWithMentions": "sendReplyWithMentions";
@@ -210,10 +209,12 @@ declare const clientMethodAliasMap: {
210
209
  readonly "session.setProfilePic": "setProfilePicture";
211
210
  readonly "media.decrypt": "decryptMedia";
212
211
  readonly "media.download": "downloadMedia";
212
+ readonly "messages.sendInteractive": "sendInteractive";
213
+ readonly "messages.sendRaw": "sendRawMessage";
213
214
  };
214
215
  //#endregion
215
216
  //#region src/generated/BaseClient.d.ts
216
- declare abstract class BaseClient {
217
+ export declare abstract class BaseClient {
217
218
  protected abstract execute(method: string, args: any): Promise<any>;
218
219
  protected pup(_func: any, args: any): Promise<any>;
219
220
  sendText: (...args: any[] | unknown[] | [] | [{
@@ -274,14 +275,14 @@ declare abstract class BaseClient {
274
275
  }>;
275
276
  sendImage: (...args: any[] | unknown[] | [] | [{
276
277
  to: string;
277
- imgData: any;
278
+ imgData: string | Buffer<ArrayBufferLike>;
278
279
  filename?: string | undefined;
279
280
  caption?: string | undefined;
280
281
  id?: string | undefined;
281
282
  waitForId?: boolean | undefined;
282
283
  }] | [{
283
284
  to: string;
284
- imgData: any;
285
+ imgData: string | Buffer<ArrayBufferLike>;
285
286
  filename?: string | undefined;
286
287
  caption?: string | undefined;
287
288
  id?: string | undefined;
@@ -292,12 +293,12 @@ declare abstract class BaseClient {
292
293
  }>;
293
294
  sendFile: (...args: any[] | unknown[] | [] | [{
294
295
  to: string;
295
- file: any;
296
+ file: string | Buffer<ArrayBufferLike>;
296
297
  filename?: string | undefined;
297
298
  caption?: string | undefined;
298
299
  }] | [{
299
300
  to: string;
300
- file: any;
301
+ file: string | Buffer<ArrayBufferLike>;
301
302
  filename?: string | undefined;
302
303
  caption?: string | undefined;
303
304
  }, ...unknown[]]) => Promise<string | {
@@ -306,12 +307,12 @@ declare abstract class BaseClient {
306
307
  }>;
307
308
  sendAudio: (...args: any[] | unknown[] | [] | [{
308
309
  to: string;
309
- file: any;
310
+ file: string | Buffer<ArrayBufferLike>;
310
311
  filename?: string | undefined;
311
312
  quotedMsgId?: string | undefined;
312
313
  }] | [{
313
314
  to: string;
314
- file: any;
315
+ file: string | Buffer<ArrayBufferLike>;
315
316
  filename?: string | undefined;
316
317
  quotedMsgId?: string | undefined;
317
318
  }, ...unknown[]]) => Promise<boolean | {
@@ -320,11 +321,11 @@ declare abstract class BaseClient {
320
321
  }>;
321
322
  sendPtt: (...args: any[] | unknown[] | [] | [{
322
323
  to: string;
323
- file: any;
324
+ file: string | Buffer<ArrayBufferLike>;
324
325
  quotedMsgId?: string | undefined;
325
326
  }] | [{
326
327
  to: string;
327
- file: any;
328
+ file: string | Buffer<ArrayBufferLike>;
328
329
  quotedMsgId?: string | undefined;
329
330
  }, ...unknown[]]) => Promise<boolean | {
330
331
  [x: string]: unknown;
@@ -332,13 +333,13 @@ declare abstract class BaseClient {
332
333
  }>;
333
334
  sendVideoAsGif: (...args: any[] | unknown[] | [] | [{
334
335
  to: string;
335
- file: any;
336
+ file: string | Buffer<ArrayBufferLike>;
336
337
  filename?: string | undefined;
337
338
  caption?: string | undefined;
338
339
  quotedMsgId?: string | undefined;
339
340
  }] | [{
340
341
  to: string;
341
- file: any;
342
+ file: string | Buffer<ArrayBufferLike>;
342
343
  filename?: string | undefined;
343
344
  caption?: string | undefined;
344
345
  quotedMsgId?: string | undefined;
@@ -1034,9 +1035,9 @@ declare abstract class BaseClient {
1034
1035
  statusText: string;
1035
1036
  }, ...unknown[]]) => Promise<boolean>;
1036
1037
  setProfilePicture: (...args: any[] | unknown[] | [] | [{
1037
- image: any;
1038
+ image: string | Buffer<ArrayBufferLike>;
1038
1039
  }] | [{
1039
- image: any;
1040
+ image: string | Buffer<ArrayBufferLike>;
1040
1041
  }, ...unknown[]]) => Promise<boolean>;
1041
1042
  decryptMedia: (...args: any[] | unknown[] | [] | [{
1042
1043
  message: {
@@ -1045,18 +1046,36 @@ declare abstract class BaseClient {
1045
1046
  body: string;
1046
1047
  type: MessageTypes;
1047
1048
  t: number;
1049
+ notifyName?: string | undefined;
1048
1050
  from: string;
1049
1051
  to: string;
1050
- self: "out" | "in";
1052
+ self: "in" | "out";
1051
1053
  ack: MessageAck;
1054
+ invis?: boolean | undefined;
1055
+ isNewMsg?: boolean | undefined;
1056
+ star?: boolean | undefined;
1057
+ recvFresh?: boolean | undefined;
1058
+ broadcast?: boolean | undefined;
1059
+ isForwarded?: boolean | undefined;
1060
+ labels?: string[] | undefined;
1061
+ mentionedJidList?: string[] | undefined;
1062
+ caption?: string | undefined;
1052
1063
  timestamp: number;
1053
1064
  content: string;
1054
1065
  isGroupMsg: boolean;
1066
+ isMMS?: boolean | undefined;
1055
1067
  isMedia: boolean;
1056
1068
  isNotification: boolean;
1069
+ isPSA?: boolean | undefined;
1057
1070
  fromMe: boolean;
1058
1071
  chatId: string;
1072
+ author?: string | undefined;
1073
+ clientUrl?: string | undefined;
1074
+ deprecatedMms3Url?: string | undefined;
1059
1075
  isQuotedMsgAvailable: boolean;
1076
+ quotedMsg?: any;
1077
+ quotedMsgObj?: any;
1078
+ senderId?: string | undefined;
1060
1079
  sender: {
1061
1080
  [x: string]: unknown;
1062
1081
  id: string;
@@ -1094,6 +1113,8 @@ declare abstract class BaseClient {
1094
1113
  chat: {
1095
1114
  [x: string]: unknown;
1096
1115
  id: string;
1116
+ name?: string | undefined;
1117
+ formattedTitle?: string | undefined;
1097
1118
  isGroup: boolean;
1098
1119
  contact: {
1099
1120
  [x: string]: unknown;
@@ -1129,8 +1150,6 @@ declare abstract class BaseClient {
1129
1150
  isOnline?: boolean | undefined;
1130
1151
  lastSeen?: number | undefined;
1131
1152
  };
1132
- name?: string | undefined;
1133
- formattedTitle?: string | undefined;
1134
1153
  groupMetadata?: any;
1135
1154
  presence?: any;
1136
1155
  t?: number | undefined;
@@ -1143,24 +1162,6 @@ declare abstract class BaseClient {
1143
1162
  pin?: number | undefined;
1144
1163
  ack?: any;
1145
1164
  };
1146
- notifyName?: string | undefined;
1147
- invis?: boolean | undefined;
1148
- isNewMsg?: boolean | undefined;
1149
- star?: boolean | undefined;
1150
- recvFresh?: boolean | undefined;
1151
- broadcast?: boolean | undefined;
1152
- isForwarded?: boolean | undefined;
1153
- labels?: string[] | undefined;
1154
- mentionedJidList?: string[] | undefined;
1155
- caption?: string | undefined;
1156
- isMMS?: boolean | undefined;
1157
- isPSA?: boolean | undefined;
1158
- author?: string | undefined;
1159
- clientUrl?: string | undefined;
1160
- deprecatedMms3Url?: string | undefined;
1161
- quotedMsg?: any;
1162
- quotedMsgObj?: any;
1163
- senderId?: string | undefined;
1164
1165
  };
1165
1166
  }] | [{
1166
1167
  message: {
@@ -1169,18 +1170,36 @@ declare abstract class BaseClient {
1169
1170
  body: string;
1170
1171
  type: MessageTypes;
1171
1172
  t: number;
1173
+ notifyName?: string | undefined;
1172
1174
  from: string;
1173
1175
  to: string;
1174
- self: "out" | "in";
1176
+ self: "in" | "out";
1175
1177
  ack: MessageAck;
1178
+ invis?: boolean | undefined;
1179
+ isNewMsg?: boolean | undefined;
1180
+ star?: boolean | undefined;
1181
+ recvFresh?: boolean | undefined;
1182
+ broadcast?: boolean | undefined;
1183
+ isForwarded?: boolean | undefined;
1184
+ labels?: string[] | undefined;
1185
+ mentionedJidList?: string[] | undefined;
1186
+ caption?: string | undefined;
1176
1187
  timestamp: number;
1177
1188
  content: string;
1178
1189
  isGroupMsg: boolean;
1190
+ isMMS?: boolean | undefined;
1179
1191
  isMedia: boolean;
1180
1192
  isNotification: boolean;
1193
+ isPSA?: boolean | undefined;
1181
1194
  fromMe: boolean;
1182
1195
  chatId: string;
1196
+ author?: string | undefined;
1197
+ clientUrl?: string | undefined;
1198
+ deprecatedMms3Url?: string | undefined;
1183
1199
  isQuotedMsgAvailable: boolean;
1200
+ quotedMsg?: any;
1201
+ quotedMsgObj?: any;
1202
+ senderId?: string | undefined;
1184
1203
  sender: {
1185
1204
  [x: string]: unknown;
1186
1205
  id: string;
@@ -1218,6 +1237,8 @@ declare abstract class BaseClient {
1218
1237
  chat: {
1219
1238
  [x: string]: unknown;
1220
1239
  id: string;
1240
+ name?: string | undefined;
1241
+ formattedTitle?: string | undefined;
1221
1242
  isGroup: boolean;
1222
1243
  contact: {
1223
1244
  [x: string]: unknown;
@@ -1253,8 +1274,6 @@ declare abstract class BaseClient {
1253
1274
  isOnline?: boolean | undefined;
1254
1275
  lastSeen?: number | undefined;
1255
1276
  };
1256
- name?: string | undefined;
1257
- formattedTitle?: string | undefined;
1258
1277
  groupMetadata?: any;
1259
1278
  presence?: any;
1260
1279
  t?: number | undefined;
@@ -1267,24 +1286,6 @@ declare abstract class BaseClient {
1267
1286
  pin?: number | undefined;
1268
1287
  ack?: any;
1269
1288
  };
1270
- notifyName?: string | undefined;
1271
- invis?: boolean | undefined;
1272
- isNewMsg?: boolean | undefined;
1273
- star?: boolean | undefined;
1274
- recvFresh?: boolean | undefined;
1275
- broadcast?: boolean | undefined;
1276
- isForwarded?: boolean | undefined;
1277
- labels?: string[] | undefined;
1278
- mentionedJidList?: string[] | undefined;
1279
- caption?: string | undefined;
1280
- isMMS?: boolean | undefined;
1281
- isPSA?: boolean | undefined;
1282
- author?: string | undefined;
1283
- clientUrl?: string | undefined;
1284
- deprecatedMms3Url?: string | undefined;
1285
- quotedMsg?: any;
1286
- quotedMsgObj?: any;
1287
- senderId?: string | undefined;
1288
1289
  };
1289
1290
  }, ...unknown[]]) => Promise<string>;
1290
1291
  downloadMedia: (...args: any[] | unknown[] | [] | [{
@@ -1294,18 +1295,36 @@ declare abstract class BaseClient {
1294
1295
  body: string;
1295
1296
  type: MessageTypes;
1296
1297
  t: number;
1298
+ notifyName?: string | undefined;
1297
1299
  from: string;
1298
1300
  to: string;
1299
- self: "out" | "in";
1301
+ self: "in" | "out";
1300
1302
  ack: MessageAck;
1303
+ invis?: boolean | undefined;
1304
+ isNewMsg?: boolean | undefined;
1305
+ star?: boolean | undefined;
1306
+ recvFresh?: boolean | undefined;
1307
+ broadcast?: boolean | undefined;
1308
+ isForwarded?: boolean | undefined;
1309
+ labels?: string[] | undefined;
1310
+ mentionedJidList?: string[] | undefined;
1311
+ caption?: string | undefined;
1301
1312
  timestamp: number;
1302
1313
  content: string;
1303
1314
  isGroupMsg: boolean;
1315
+ isMMS?: boolean | undefined;
1304
1316
  isMedia: boolean;
1305
1317
  isNotification: boolean;
1318
+ isPSA?: boolean | undefined;
1306
1319
  fromMe: boolean;
1307
1320
  chatId: string;
1321
+ author?: string | undefined;
1322
+ clientUrl?: string | undefined;
1323
+ deprecatedMms3Url?: string | undefined;
1308
1324
  isQuotedMsgAvailable: boolean;
1325
+ quotedMsg?: any;
1326
+ quotedMsgObj?: any;
1327
+ senderId?: string | undefined;
1309
1328
  sender: {
1310
1329
  [x: string]: unknown;
1311
1330
  id: string;
@@ -1343,6 +1362,8 @@ declare abstract class BaseClient {
1343
1362
  chat: {
1344
1363
  [x: string]: unknown;
1345
1364
  id: string;
1365
+ name?: string | undefined;
1366
+ formattedTitle?: string | undefined;
1346
1367
  isGroup: boolean;
1347
1368
  contact: {
1348
1369
  [x: string]: unknown;
@@ -1378,8 +1399,6 @@ declare abstract class BaseClient {
1378
1399
  isOnline?: boolean | undefined;
1379
1400
  lastSeen?: number | undefined;
1380
1401
  };
1381
- name?: string | undefined;
1382
- formattedTitle?: string | undefined;
1383
1402
  groupMetadata?: any;
1384
1403
  presence?: any;
1385
1404
  t?: number | undefined;
@@ -1392,24 +1411,6 @@ declare abstract class BaseClient {
1392
1411
  pin?: number | undefined;
1393
1412
  ack?: any;
1394
1413
  };
1395
- notifyName?: string | undefined;
1396
- invis?: boolean | undefined;
1397
- isNewMsg?: boolean | undefined;
1398
- star?: boolean | undefined;
1399
- recvFresh?: boolean | undefined;
1400
- broadcast?: boolean | undefined;
1401
- isForwarded?: boolean | undefined;
1402
- labels?: string[] | undefined;
1403
- mentionedJidList?: string[] | undefined;
1404
- caption?: string | undefined;
1405
- isMMS?: boolean | undefined;
1406
- isPSA?: boolean | undefined;
1407
- author?: string | undefined;
1408
- clientUrl?: string | undefined;
1409
- deprecatedMms3Url?: string | undefined;
1410
- quotedMsg?: any;
1411
- quotedMsgObj?: any;
1412
- senderId?: string | undefined;
1413
1414
  };
1414
1415
  path: string;
1415
1416
  }] | [{
@@ -1419,18 +1420,36 @@ declare abstract class BaseClient {
1419
1420
  body: string;
1420
1421
  type: MessageTypes;
1421
1422
  t: number;
1423
+ notifyName?: string | undefined;
1422
1424
  from: string;
1423
1425
  to: string;
1424
- self: "out" | "in";
1426
+ self: "in" | "out";
1425
1427
  ack: MessageAck;
1428
+ invis?: boolean | undefined;
1429
+ isNewMsg?: boolean | undefined;
1430
+ star?: boolean | undefined;
1431
+ recvFresh?: boolean | undefined;
1432
+ broadcast?: boolean | undefined;
1433
+ isForwarded?: boolean | undefined;
1434
+ labels?: string[] | undefined;
1435
+ mentionedJidList?: string[] | undefined;
1436
+ caption?: string | undefined;
1426
1437
  timestamp: number;
1427
1438
  content: string;
1428
1439
  isGroupMsg: boolean;
1440
+ isMMS?: boolean | undefined;
1429
1441
  isMedia: boolean;
1430
1442
  isNotification: boolean;
1443
+ isPSA?: boolean | undefined;
1431
1444
  fromMe: boolean;
1432
1445
  chatId: string;
1446
+ author?: string | undefined;
1447
+ clientUrl?: string | undefined;
1448
+ deprecatedMms3Url?: string | undefined;
1433
1449
  isQuotedMsgAvailable: boolean;
1450
+ quotedMsg?: any;
1451
+ quotedMsgObj?: any;
1452
+ senderId?: string | undefined;
1434
1453
  sender: {
1435
1454
  [x: string]: unknown;
1436
1455
  id: string;
@@ -1468,6 +1487,8 @@ declare abstract class BaseClient {
1468
1487
  chat: {
1469
1488
  [x: string]: unknown;
1470
1489
  id: string;
1490
+ name?: string | undefined;
1491
+ formattedTitle?: string | undefined;
1471
1492
  isGroup: boolean;
1472
1493
  contact: {
1473
1494
  [x: string]: unknown;
@@ -1503,8 +1524,6 @@ declare abstract class BaseClient {
1503
1524
  isOnline?: boolean | undefined;
1504
1525
  lastSeen?: number | undefined;
1505
1526
  };
1506
- name?: string | undefined;
1507
- formattedTitle?: string | undefined;
1508
1527
  groupMetadata?: any;
1509
1528
  presence?: any;
1510
1529
  t?: number | undefined;
@@ -1517,34 +1536,370 @@ declare abstract class BaseClient {
1517
1536
  pin?: number | undefined;
1518
1537
  ack?: any;
1519
1538
  };
1520
- notifyName?: string | undefined;
1521
- invis?: boolean | undefined;
1522
- isNewMsg?: boolean | undefined;
1523
- star?: boolean | undefined;
1524
- recvFresh?: boolean | undefined;
1525
- broadcast?: boolean | undefined;
1526
- isForwarded?: boolean | undefined;
1527
- labels?: string[] | undefined;
1528
- mentionedJidList?: string[] | undefined;
1529
- caption?: string | undefined;
1530
- isMMS?: boolean | undefined;
1531
- isPSA?: boolean | undefined;
1532
- author?: string | undefined;
1533
- clientUrl?: string | undefined;
1534
- deprecatedMms3Url?: string | undefined;
1535
- quotedMsg?: any;
1536
- quotedMsgObj?: any;
1537
- senderId?: string | undefined;
1538
1539
  };
1539
1540
  path: string;
1540
1541
  }, ...unknown[]]) => Promise<string>;
1542
+ sendInteractive: (...args: any[] | unknown[] | [] | [{
1543
+ to: string;
1544
+ content: {
1545
+ version?: 1 | undefined;
1546
+ body: string;
1547
+ footer?: string | undefined;
1548
+ type: "buttons";
1549
+ header?: {
1550
+ type: "text";
1551
+ text: string;
1552
+ } | {
1553
+ source: string;
1554
+ filename?: string | undefined;
1555
+ title?: string | undefined;
1556
+ type: "image";
1557
+ } | {
1558
+ source: string;
1559
+ filename?: string | undefined;
1560
+ title?: string | undefined;
1561
+ type: "video";
1562
+ } | {
1563
+ source: string;
1564
+ filename?: string | undefined;
1565
+ title?: string | undefined;
1566
+ type: "document";
1567
+ } | undefined;
1568
+ actions: ({
1569
+ type: "url";
1570
+ label: string;
1571
+ url: string;
1572
+ } | {
1573
+ type: "call";
1574
+ label: string;
1575
+ phoneNumber: string;
1576
+ } | {
1577
+ type: "copy";
1578
+ label: string;
1579
+ code: string;
1580
+ } | {
1581
+ type: "reply";
1582
+ id: string;
1583
+ label: string;
1584
+ })[];
1585
+ } | {
1586
+ version?: 1 | undefined;
1587
+ body: string;
1588
+ footer?: string | undefined;
1589
+ type: "list";
1590
+ title?: string | undefined;
1591
+ buttonLabel?: string | undefined;
1592
+ sections: {
1593
+ title?: string | undefined;
1594
+ rows: {
1595
+ id: string;
1596
+ title: string;
1597
+ description?: string | undefined;
1598
+ }[];
1599
+ }[];
1600
+ } | {
1601
+ version?: 1 | undefined;
1602
+ body: string;
1603
+ footer?: string | undefined;
1604
+ type: "form";
1605
+ title?: string | undefined;
1606
+ questions: {
1607
+ type: "multiSelect" | "singleSelect";
1608
+ id: string;
1609
+ label: string;
1610
+ options: {
1611
+ id: string;
1612
+ label: string;
1613
+ }[];
1614
+ allowCustomAnswer?: boolean | undefined;
1615
+ }[];
1616
+ } | {
1617
+ version?: 1 | undefined;
1618
+ body: string;
1619
+ footer?: string | undefined;
1620
+ type: "carousel";
1621
+ cards: {
1622
+ body: string;
1623
+ header: {
1624
+ source: string;
1625
+ filename?: string | undefined;
1626
+ title?: string | undefined;
1627
+ type: "image";
1628
+ };
1629
+ actions: ({
1630
+ type: "url";
1631
+ label: string;
1632
+ url: string;
1633
+ } | {
1634
+ type: "call";
1635
+ label: string;
1636
+ phoneNumber: string;
1637
+ } | {
1638
+ type: "copy";
1639
+ label: string;
1640
+ code: string;
1641
+ } | {
1642
+ type: "reply";
1643
+ id: string;
1644
+ label: string;
1645
+ })[];
1646
+ }[];
1647
+ } | {
1648
+ version?: 1 | undefined;
1649
+ body: string;
1650
+ footer?: string | undefined;
1651
+ type: "booking";
1652
+ title?: string | undefined;
1653
+ buttonLabel?: string | undefined;
1654
+ booking: {
1655
+ startAt: string;
1656
+ endAt?: string | undefined;
1657
+ location?: string | undefined;
1658
+ url?: string | undefined;
1659
+ managementUrl?: string | undefined;
1660
+ phoneNumber?: string | undefined;
1661
+ email?: string | undefined;
1662
+ description?: string | undefined;
1663
+ labels?: {
1664
+ language?: string | undefined;
1665
+ meetingType?: string | undefined;
1666
+ detailsTitle?: string | undefined;
1667
+ addToCalendar?: string | undefined;
1668
+ viewOnMap?: string | undefined;
1669
+ manageBooking?: string | undefined;
1670
+ } | undefined;
1671
+ };
1672
+ actions?: ({
1673
+ type: "url";
1674
+ label: string;
1675
+ url: string;
1676
+ } | {
1677
+ type: "call";
1678
+ label: string;
1679
+ phoneNumber: string;
1680
+ } | {
1681
+ type: "copy";
1682
+ label: string;
1683
+ code: string;
1684
+ })[] | undefined;
1685
+ } | {
1686
+ version?: 1 | undefined;
1687
+ body: string;
1688
+ footer?: string | undefined;
1689
+ type: "native";
1690
+ header?: {
1691
+ type: "text";
1692
+ text: string;
1693
+ } | {
1694
+ source: string;
1695
+ filename?: string | undefined;
1696
+ title?: string | undefined;
1697
+ type: "image";
1698
+ } | {
1699
+ source: string;
1700
+ filename?: string | undefined;
1701
+ title?: string | undefined;
1702
+ type: "video";
1703
+ } | {
1704
+ source: string;
1705
+ filename?: string | undefined;
1706
+ title?: string | undefined;
1707
+ type: "document";
1708
+ } | undefined;
1709
+ actions: {
1710
+ name: string;
1711
+ parameters?: Record<string, unknown> | undefined;
1712
+ }[];
1713
+ parameters?: Record<string, unknown> | undefined;
1714
+ };
1715
+ }] | [{
1716
+ to: string;
1717
+ content: {
1718
+ version?: 1 | undefined;
1719
+ body: string;
1720
+ footer?: string | undefined;
1721
+ type: "buttons";
1722
+ header?: {
1723
+ type: "text";
1724
+ text: string;
1725
+ } | {
1726
+ source: string;
1727
+ filename?: string | undefined;
1728
+ title?: string | undefined;
1729
+ type: "image";
1730
+ } | {
1731
+ source: string;
1732
+ filename?: string | undefined;
1733
+ title?: string | undefined;
1734
+ type: "video";
1735
+ } | {
1736
+ source: string;
1737
+ filename?: string | undefined;
1738
+ title?: string | undefined;
1739
+ type: "document";
1740
+ } | undefined;
1741
+ actions: ({
1742
+ type: "url";
1743
+ label: string;
1744
+ url: string;
1745
+ } | {
1746
+ type: "call";
1747
+ label: string;
1748
+ phoneNumber: string;
1749
+ } | {
1750
+ type: "copy";
1751
+ label: string;
1752
+ code: string;
1753
+ } | {
1754
+ type: "reply";
1755
+ id: string;
1756
+ label: string;
1757
+ })[];
1758
+ } | {
1759
+ version?: 1 | undefined;
1760
+ body: string;
1761
+ footer?: string | undefined;
1762
+ type: "list";
1763
+ title?: string | undefined;
1764
+ buttonLabel?: string | undefined;
1765
+ sections: {
1766
+ title?: string | undefined;
1767
+ rows: {
1768
+ id: string;
1769
+ title: string;
1770
+ description?: string | undefined;
1771
+ }[];
1772
+ }[];
1773
+ } | {
1774
+ version?: 1 | undefined;
1775
+ body: string;
1776
+ footer?: string | undefined;
1777
+ type: "form";
1778
+ title?: string | undefined;
1779
+ questions: {
1780
+ type: "multiSelect" | "singleSelect";
1781
+ id: string;
1782
+ label: string;
1783
+ options: {
1784
+ id: string;
1785
+ label: string;
1786
+ }[];
1787
+ allowCustomAnswer?: boolean | undefined;
1788
+ }[];
1789
+ } | {
1790
+ version?: 1 | undefined;
1791
+ body: string;
1792
+ footer?: string | undefined;
1793
+ type: "carousel";
1794
+ cards: {
1795
+ body: string;
1796
+ header: {
1797
+ source: string;
1798
+ filename?: string | undefined;
1799
+ title?: string | undefined;
1800
+ type: "image";
1801
+ };
1802
+ actions: ({
1803
+ type: "url";
1804
+ label: string;
1805
+ url: string;
1806
+ } | {
1807
+ type: "call";
1808
+ label: string;
1809
+ phoneNumber: string;
1810
+ } | {
1811
+ type: "copy";
1812
+ label: string;
1813
+ code: string;
1814
+ } | {
1815
+ type: "reply";
1816
+ id: string;
1817
+ label: string;
1818
+ })[];
1819
+ }[];
1820
+ } | {
1821
+ version?: 1 | undefined;
1822
+ body: string;
1823
+ footer?: string | undefined;
1824
+ type: "booking";
1825
+ title?: string | undefined;
1826
+ buttonLabel?: string | undefined;
1827
+ booking: {
1828
+ startAt: string;
1829
+ endAt?: string | undefined;
1830
+ location?: string | undefined;
1831
+ url?: string | undefined;
1832
+ managementUrl?: string | undefined;
1833
+ phoneNumber?: string | undefined;
1834
+ email?: string | undefined;
1835
+ description?: string | undefined;
1836
+ labels?: {
1837
+ language?: string | undefined;
1838
+ meetingType?: string | undefined;
1839
+ detailsTitle?: string | undefined;
1840
+ addToCalendar?: string | undefined;
1841
+ viewOnMap?: string | undefined;
1842
+ manageBooking?: string | undefined;
1843
+ } | undefined;
1844
+ };
1845
+ actions?: ({
1846
+ type: "url";
1847
+ label: string;
1848
+ url: string;
1849
+ } | {
1850
+ type: "call";
1851
+ label: string;
1852
+ phoneNumber: string;
1853
+ } | {
1854
+ type: "copy";
1855
+ label: string;
1856
+ code: string;
1857
+ })[] | undefined;
1858
+ } | {
1859
+ version?: 1 | undefined;
1860
+ body: string;
1861
+ footer?: string | undefined;
1862
+ type: "native";
1863
+ header?: {
1864
+ type: "text";
1865
+ text: string;
1866
+ } | {
1867
+ source: string;
1868
+ filename?: string | undefined;
1869
+ title?: string | undefined;
1870
+ type: "image";
1871
+ } | {
1872
+ source: string;
1873
+ filename?: string | undefined;
1874
+ title?: string | undefined;
1875
+ type: "video";
1876
+ } | {
1877
+ source: string;
1878
+ filename?: string | undefined;
1879
+ title?: string | undefined;
1880
+ type: "document";
1881
+ } | undefined;
1882
+ actions: {
1883
+ name: string;
1884
+ parameters?: Record<string, unknown> | undefined;
1885
+ }[];
1886
+ parameters?: Record<string, unknown> | undefined;
1887
+ };
1888
+ }, ...unknown[]]) => Promise<string>;
1889
+ sendRawMessage: (...args: any[] | unknown[] | [] | [{
1890
+ to: string;
1891
+ payload: Record<string, unknown>;
1892
+ }] | [{
1893
+ to: string;
1894
+ payload: Record<string, unknown>;
1895
+ }, ...unknown[]]) => Promise<string>;
1541
1896
  sendVoiceNote: (...args: any[] | unknown[] | [] | [{
1542
1897
  to: string;
1543
- file: any;
1898
+ file: string | Buffer<ArrayBufferLike>;
1544
1899
  quotedMsgId?: string | undefined;
1545
1900
  }] | [{
1546
1901
  to: string;
1547
- file: any;
1902
+ file: string | Buffer<ArrayBufferLike>;
1548
1903
  quotedMsgId?: string | undefined;
1549
1904
  }, ...unknown[]]) => Promise<boolean | {
1550
1905
  [x: string]: unknown;
@@ -1796,14 +2151,14 @@ declare abstract class BaseClient {
1796
2151
  statusText: string;
1797
2152
  }, ...unknown[]]) => Promise<boolean>;
1798
2153
  setProfilePic: (...args: any[] | unknown[] | [] | [{
1799
- image: any;
2154
+ image: string | Buffer<ArrayBufferLike>;
1800
2155
  }] | [{
1801
- image: any;
2156
+ image: string | Buffer<ArrayBufferLike>;
1802
2157
  }, ...unknown[]]) => Promise<boolean>;
1803
2158
  }
1804
2159
  //#endregion
1805
2160
  //#region src/generated/BaseNamespacedClient.d.ts
1806
- declare abstract class BaseNamespacedClient extends BaseClient {
2161
+ export declare abstract class BaseNamespacedClient extends BaseClient {
1807
2162
  business: {
1808
2163
  getOrder: (...args: any[] | unknown[] | [] | [{
1809
2164
  id: string;
@@ -2226,18 +2581,36 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2226
2581
  body: string;
2227
2582
  type: MessageTypes;
2228
2583
  t: number;
2584
+ notifyName?: string | undefined;
2229
2585
  from: string;
2230
2586
  to: string;
2231
- self: "out" | "in";
2587
+ self: "in" | "out";
2232
2588
  ack: MessageAck;
2589
+ invis?: boolean | undefined;
2590
+ isNewMsg?: boolean | undefined;
2591
+ star?: boolean | undefined;
2592
+ recvFresh?: boolean | undefined;
2593
+ broadcast?: boolean | undefined;
2594
+ isForwarded?: boolean | undefined;
2595
+ labels?: string[] | undefined;
2596
+ mentionedJidList?: string[] | undefined;
2597
+ caption?: string | undefined;
2233
2598
  timestamp: number;
2234
2599
  content: string;
2235
2600
  isGroupMsg: boolean;
2601
+ isMMS?: boolean | undefined;
2236
2602
  isMedia: boolean;
2237
2603
  isNotification: boolean;
2604
+ isPSA?: boolean | undefined;
2238
2605
  fromMe: boolean;
2239
2606
  chatId: string;
2607
+ author?: string | undefined;
2608
+ clientUrl?: string | undefined;
2609
+ deprecatedMms3Url?: string | undefined;
2240
2610
  isQuotedMsgAvailable: boolean;
2611
+ quotedMsg?: any;
2612
+ quotedMsgObj?: any;
2613
+ senderId?: string | undefined;
2241
2614
  sender: {
2242
2615
  [x: string]: unknown;
2243
2616
  id: string;
@@ -2275,6 +2648,8 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2275
2648
  chat: {
2276
2649
  [x: string]: unknown;
2277
2650
  id: string;
2651
+ name?: string | undefined;
2652
+ formattedTitle?: string | undefined;
2278
2653
  isGroup: boolean;
2279
2654
  contact: {
2280
2655
  [x: string]: unknown;
@@ -2310,8 +2685,6 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2310
2685
  isOnline?: boolean | undefined;
2311
2686
  lastSeen?: number | undefined;
2312
2687
  };
2313
- name?: string | undefined;
2314
- formattedTitle?: string | undefined;
2315
2688
  groupMetadata?: any;
2316
2689
  presence?: any;
2317
2690
  t?: number | undefined;
@@ -2324,24 +2697,6 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2324
2697
  pin?: number | undefined;
2325
2698
  ack?: any;
2326
2699
  };
2327
- notifyName?: string | undefined;
2328
- invis?: boolean | undefined;
2329
- isNewMsg?: boolean | undefined;
2330
- star?: boolean | undefined;
2331
- recvFresh?: boolean | undefined;
2332
- broadcast?: boolean | undefined;
2333
- isForwarded?: boolean | undefined;
2334
- labels?: string[] | undefined;
2335
- mentionedJidList?: string[] | undefined;
2336
- caption?: string | undefined;
2337
- isMMS?: boolean | undefined;
2338
- isPSA?: boolean | undefined;
2339
- author?: string | undefined;
2340
- clientUrl?: string | undefined;
2341
- deprecatedMms3Url?: string | undefined;
2342
- quotedMsg?: any;
2343
- quotedMsgObj?: any;
2344
- senderId?: string | undefined;
2345
2700
  };
2346
2701
  }] | [{
2347
2702
  message: {
@@ -2350,18 +2705,36 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2350
2705
  body: string;
2351
2706
  type: MessageTypes;
2352
2707
  t: number;
2708
+ notifyName?: string | undefined;
2353
2709
  from: string;
2354
2710
  to: string;
2355
- self: "out" | "in";
2711
+ self: "in" | "out";
2356
2712
  ack: MessageAck;
2713
+ invis?: boolean | undefined;
2714
+ isNewMsg?: boolean | undefined;
2715
+ star?: boolean | undefined;
2716
+ recvFresh?: boolean | undefined;
2717
+ broadcast?: boolean | undefined;
2718
+ isForwarded?: boolean | undefined;
2719
+ labels?: string[] | undefined;
2720
+ mentionedJidList?: string[] | undefined;
2721
+ caption?: string | undefined;
2357
2722
  timestamp: number;
2358
2723
  content: string;
2359
2724
  isGroupMsg: boolean;
2725
+ isMMS?: boolean | undefined;
2360
2726
  isMedia: boolean;
2361
2727
  isNotification: boolean;
2728
+ isPSA?: boolean | undefined;
2362
2729
  fromMe: boolean;
2363
2730
  chatId: string;
2731
+ author?: string | undefined;
2732
+ clientUrl?: string | undefined;
2733
+ deprecatedMms3Url?: string | undefined;
2364
2734
  isQuotedMsgAvailable: boolean;
2735
+ quotedMsg?: any;
2736
+ quotedMsgObj?: any;
2737
+ senderId?: string | undefined;
2365
2738
  sender: {
2366
2739
  [x: string]: unknown;
2367
2740
  id: string;
@@ -2399,6 +2772,8 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2399
2772
  chat: {
2400
2773
  [x: string]: unknown;
2401
2774
  id: string;
2775
+ name?: string | undefined;
2776
+ formattedTitle?: string | undefined;
2402
2777
  isGroup: boolean;
2403
2778
  contact: {
2404
2779
  [x: string]: unknown;
@@ -2434,8 +2809,6 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2434
2809
  isOnline?: boolean | undefined;
2435
2810
  lastSeen?: number | undefined;
2436
2811
  };
2437
- name?: string | undefined;
2438
- formattedTitle?: string | undefined;
2439
2812
  groupMetadata?: any;
2440
2813
  presence?: any;
2441
2814
  t?: number | undefined;
@@ -2448,24 +2821,6 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2448
2821
  pin?: number | undefined;
2449
2822
  ack?: any;
2450
2823
  };
2451
- notifyName?: string | undefined;
2452
- invis?: boolean | undefined;
2453
- isNewMsg?: boolean | undefined;
2454
- star?: boolean | undefined;
2455
- recvFresh?: boolean | undefined;
2456
- broadcast?: boolean | undefined;
2457
- isForwarded?: boolean | undefined;
2458
- labels?: string[] | undefined;
2459
- mentionedJidList?: string[] | undefined;
2460
- caption?: string | undefined;
2461
- isMMS?: boolean | undefined;
2462
- isPSA?: boolean | undefined;
2463
- author?: string | undefined;
2464
- clientUrl?: string | undefined;
2465
- deprecatedMms3Url?: string | undefined;
2466
- quotedMsg?: any;
2467
- quotedMsgObj?: any;
2468
- senderId?: string | undefined;
2469
2824
  };
2470
2825
  }, ...unknown[]]) => Promise<string>;
2471
2826
  download: (...args: any[] | unknown[] | [] | [{
@@ -2475,18 +2830,36 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2475
2830
  body: string;
2476
2831
  type: MessageTypes;
2477
2832
  t: number;
2833
+ notifyName?: string | undefined;
2478
2834
  from: string;
2479
2835
  to: string;
2480
- self: "out" | "in";
2836
+ self: "in" | "out";
2481
2837
  ack: MessageAck;
2838
+ invis?: boolean | undefined;
2839
+ isNewMsg?: boolean | undefined;
2840
+ star?: boolean | undefined;
2841
+ recvFresh?: boolean | undefined;
2842
+ broadcast?: boolean | undefined;
2843
+ isForwarded?: boolean | undefined;
2844
+ labels?: string[] | undefined;
2845
+ mentionedJidList?: string[] | undefined;
2846
+ caption?: string | undefined;
2482
2847
  timestamp: number;
2483
2848
  content: string;
2484
2849
  isGroupMsg: boolean;
2850
+ isMMS?: boolean | undefined;
2485
2851
  isMedia: boolean;
2486
2852
  isNotification: boolean;
2853
+ isPSA?: boolean | undefined;
2487
2854
  fromMe: boolean;
2488
2855
  chatId: string;
2856
+ author?: string | undefined;
2857
+ clientUrl?: string | undefined;
2858
+ deprecatedMms3Url?: string | undefined;
2489
2859
  isQuotedMsgAvailable: boolean;
2860
+ quotedMsg?: any;
2861
+ quotedMsgObj?: any;
2862
+ senderId?: string | undefined;
2490
2863
  sender: {
2491
2864
  [x: string]: unknown;
2492
2865
  id: string;
@@ -2524,6 +2897,8 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2524
2897
  chat: {
2525
2898
  [x: string]: unknown;
2526
2899
  id: string;
2900
+ name?: string | undefined;
2901
+ formattedTitle?: string | undefined;
2527
2902
  isGroup: boolean;
2528
2903
  contact: {
2529
2904
  [x: string]: unknown;
@@ -2559,8 +2934,6 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2559
2934
  isOnline?: boolean | undefined;
2560
2935
  lastSeen?: number | undefined;
2561
2936
  };
2562
- name?: string | undefined;
2563
- formattedTitle?: string | undefined;
2564
2937
  groupMetadata?: any;
2565
2938
  presence?: any;
2566
2939
  t?: number | undefined;
@@ -2573,24 +2946,6 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2573
2946
  pin?: number | undefined;
2574
2947
  ack?: any;
2575
2948
  };
2576
- notifyName?: string | undefined;
2577
- invis?: boolean | undefined;
2578
- isNewMsg?: boolean | undefined;
2579
- star?: boolean | undefined;
2580
- recvFresh?: boolean | undefined;
2581
- broadcast?: boolean | undefined;
2582
- isForwarded?: boolean | undefined;
2583
- labels?: string[] | undefined;
2584
- mentionedJidList?: string[] | undefined;
2585
- caption?: string | undefined;
2586
- isMMS?: boolean | undefined;
2587
- isPSA?: boolean | undefined;
2588
- author?: string | undefined;
2589
- clientUrl?: string | undefined;
2590
- deprecatedMms3Url?: string | undefined;
2591
- quotedMsg?: any;
2592
- quotedMsgObj?: any;
2593
- senderId?: string | undefined;
2594
2949
  };
2595
2950
  path: string;
2596
2951
  }] | [{
@@ -2600,18 +2955,36 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2600
2955
  body: string;
2601
2956
  type: MessageTypes;
2602
2957
  t: number;
2958
+ notifyName?: string | undefined;
2603
2959
  from: string;
2604
2960
  to: string;
2605
- self: "out" | "in";
2961
+ self: "in" | "out";
2606
2962
  ack: MessageAck;
2963
+ invis?: boolean | undefined;
2964
+ isNewMsg?: boolean | undefined;
2965
+ star?: boolean | undefined;
2966
+ recvFresh?: boolean | undefined;
2967
+ broadcast?: boolean | undefined;
2968
+ isForwarded?: boolean | undefined;
2969
+ labels?: string[] | undefined;
2970
+ mentionedJidList?: string[] | undefined;
2971
+ caption?: string | undefined;
2607
2972
  timestamp: number;
2608
2973
  content: string;
2609
2974
  isGroupMsg: boolean;
2975
+ isMMS?: boolean | undefined;
2610
2976
  isMedia: boolean;
2611
2977
  isNotification: boolean;
2978
+ isPSA?: boolean | undefined;
2612
2979
  fromMe: boolean;
2613
2980
  chatId: string;
2981
+ author?: string | undefined;
2982
+ clientUrl?: string | undefined;
2983
+ deprecatedMms3Url?: string | undefined;
2614
2984
  isQuotedMsgAvailable: boolean;
2985
+ quotedMsg?: any;
2986
+ quotedMsgObj?: any;
2987
+ senderId?: string | undefined;
2615
2988
  sender: {
2616
2989
  [x: string]: unknown;
2617
2990
  id: string;
@@ -2649,6 +3022,8 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2649
3022
  chat: {
2650
3023
  [x: string]: unknown;
2651
3024
  id: string;
3025
+ name?: string | undefined;
3026
+ formattedTitle?: string | undefined;
2652
3027
  isGroup: boolean;
2653
3028
  contact: {
2654
3029
  [x: string]: unknown;
@@ -2684,8 +3059,6 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2684
3059
  isOnline?: boolean | undefined;
2685
3060
  lastSeen?: number | undefined;
2686
3061
  };
2687
- name?: string | undefined;
2688
- formattedTitle?: string | undefined;
2689
3062
  groupMetadata?: any;
2690
3063
  presence?: any;
2691
3064
  t?: number | undefined;
@@ -2698,24 +3071,6 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2698
3071
  pin?: number | undefined;
2699
3072
  ack?: any;
2700
3073
  };
2701
- notifyName?: string | undefined;
2702
- invis?: boolean | undefined;
2703
- isNewMsg?: boolean | undefined;
2704
- star?: boolean | undefined;
2705
- recvFresh?: boolean | undefined;
2706
- broadcast?: boolean | undefined;
2707
- isForwarded?: boolean | undefined;
2708
- labels?: string[] | undefined;
2709
- mentionedJidList?: string[] | undefined;
2710
- caption?: string | undefined;
2711
- isMMS?: boolean | undefined;
2712
- isPSA?: boolean | undefined;
2713
- author?: string | undefined;
2714
- clientUrl?: string | undefined;
2715
- deprecatedMms3Url?: string | undefined;
2716
- quotedMsg?: any;
2717
- quotedMsgObj?: any;
2718
- senderId?: string | undefined;
2719
3074
  };
2720
3075
  path: string;
2721
3076
  }, ...unknown[]]) => Promise<string>;
@@ -2859,12 +3214,12 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2859
3214
  }>;
2860
3215
  sendAudio: (...args: any[] | unknown[] | [] | [{
2861
3216
  to: string;
2862
- file: any;
3217
+ file: string | Buffer<ArrayBufferLike>;
2863
3218
  filename?: string | undefined;
2864
3219
  quotedMsgId?: string | undefined;
2865
3220
  }] | [{
2866
3221
  to: string;
2867
- file: any;
3222
+ file: string | Buffer<ArrayBufferLike>;
2868
3223
  filename?: string | undefined;
2869
3224
  quotedMsgId?: string | undefined;
2870
3225
  }, ...unknown[]]) => Promise<boolean | {
@@ -2919,12 +3274,12 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2919
3274
  }>;
2920
3275
  sendFile: (...args: any[] | unknown[] | [] | [{
2921
3276
  to: string;
2922
- file: any;
3277
+ file: string | Buffer<ArrayBufferLike>;
2923
3278
  filename?: string | undefined;
2924
3279
  caption?: string | undefined;
2925
3280
  }] | [{
2926
3281
  to: string;
2927
- file: any;
3282
+ file: string | Buffer<ArrayBufferLike>;
2928
3283
  filename?: string | undefined;
2929
3284
  caption?: string | undefined;
2930
3285
  }, ...unknown[]]) => Promise<string | {
@@ -2946,14 +3301,14 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2946
3301
  }, ...unknown[]]) => Promise<string | boolean>;
2947
3302
  sendImage: (...args: any[] | unknown[] | [] | [{
2948
3303
  to: string;
2949
- imgData: any;
3304
+ imgData: string | Buffer<ArrayBufferLike>;
2950
3305
  filename?: string | undefined;
2951
3306
  caption?: string | undefined;
2952
3307
  id?: string | undefined;
2953
3308
  waitForId?: boolean | undefined;
2954
3309
  }] | [{
2955
3310
  to: string;
2956
- imgData: any;
3311
+ imgData: string | Buffer<ArrayBufferLike>;
2957
3312
  filename?: string | undefined;
2958
3313
  caption?: string | undefined;
2959
3314
  id?: string | undefined;
@@ -2962,6 +3317,353 @@ declare abstract class BaseNamespacedClient extends BaseClient {
2962
3317
  [x: string]: unknown;
2963
3318
  _serialized: string;
2964
3319
  }>;
3320
+ sendInteractive: (...args: any[] | unknown[] | [] | [{
3321
+ to: string;
3322
+ content: {
3323
+ version?: 1 | undefined;
3324
+ body: string;
3325
+ footer?: string | undefined;
3326
+ type: "buttons";
3327
+ header?: {
3328
+ type: "text";
3329
+ text: string;
3330
+ } | {
3331
+ source: string;
3332
+ filename?: string | undefined;
3333
+ title?: string | undefined;
3334
+ type: "image";
3335
+ } | {
3336
+ source: string;
3337
+ filename?: string | undefined;
3338
+ title?: string | undefined;
3339
+ type: "video";
3340
+ } | {
3341
+ source: string;
3342
+ filename?: string | undefined;
3343
+ title?: string | undefined;
3344
+ type: "document";
3345
+ } | undefined;
3346
+ actions: ({
3347
+ type: "url";
3348
+ label: string;
3349
+ url: string;
3350
+ } | {
3351
+ type: "call";
3352
+ label: string;
3353
+ phoneNumber: string;
3354
+ } | {
3355
+ type: "copy";
3356
+ label: string;
3357
+ code: string;
3358
+ } | {
3359
+ type: "reply";
3360
+ id: string;
3361
+ label: string;
3362
+ })[];
3363
+ } | {
3364
+ version?: 1 | undefined;
3365
+ body: string;
3366
+ footer?: string | undefined;
3367
+ type: "list";
3368
+ title?: string | undefined;
3369
+ buttonLabel?: string | undefined;
3370
+ sections: {
3371
+ title?: string | undefined;
3372
+ rows: {
3373
+ id: string;
3374
+ title: string;
3375
+ description?: string | undefined;
3376
+ }[];
3377
+ }[];
3378
+ } | {
3379
+ version?: 1 | undefined;
3380
+ body: string;
3381
+ footer?: string | undefined;
3382
+ type: "form";
3383
+ title?: string | undefined;
3384
+ questions: {
3385
+ type: "multiSelect" | "singleSelect";
3386
+ id: string;
3387
+ label: string;
3388
+ options: {
3389
+ id: string;
3390
+ label: string;
3391
+ }[];
3392
+ allowCustomAnswer?: boolean | undefined;
3393
+ }[];
3394
+ } | {
3395
+ version?: 1 | undefined;
3396
+ body: string;
3397
+ footer?: string | undefined;
3398
+ type: "carousel";
3399
+ cards: {
3400
+ body: string;
3401
+ header: {
3402
+ source: string;
3403
+ filename?: string | undefined;
3404
+ title?: string | undefined;
3405
+ type: "image";
3406
+ };
3407
+ actions: ({
3408
+ type: "url";
3409
+ label: string;
3410
+ url: string;
3411
+ } | {
3412
+ type: "call";
3413
+ label: string;
3414
+ phoneNumber: string;
3415
+ } | {
3416
+ type: "copy";
3417
+ label: string;
3418
+ code: string;
3419
+ } | {
3420
+ type: "reply";
3421
+ id: string;
3422
+ label: string;
3423
+ })[];
3424
+ }[];
3425
+ } | {
3426
+ version?: 1 | undefined;
3427
+ body: string;
3428
+ footer?: string | undefined;
3429
+ type: "booking";
3430
+ title?: string | undefined;
3431
+ buttonLabel?: string | undefined;
3432
+ booking: {
3433
+ startAt: string;
3434
+ endAt?: string | undefined;
3435
+ location?: string | undefined;
3436
+ url?: string | undefined;
3437
+ managementUrl?: string | undefined;
3438
+ phoneNumber?: string | undefined;
3439
+ email?: string | undefined;
3440
+ description?: string | undefined;
3441
+ labels?: {
3442
+ language?: string | undefined;
3443
+ meetingType?: string | undefined;
3444
+ detailsTitle?: string | undefined;
3445
+ addToCalendar?: string | undefined;
3446
+ viewOnMap?: string | undefined;
3447
+ manageBooking?: string | undefined;
3448
+ } | undefined;
3449
+ };
3450
+ actions?: ({
3451
+ type: "url";
3452
+ label: string;
3453
+ url: string;
3454
+ } | {
3455
+ type: "call";
3456
+ label: string;
3457
+ phoneNumber: string;
3458
+ } | {
3459
+ type: "copy";
3460
+ label: string;
3461
+ code: string;
3462
+ })[] | undefined;
3463
+ } | {
3464
+ version?: 1 | undefined;
3465
+ body: string;
3466
+ footer?: string | undefined;
3467
+ type: "native";
3468
+ header?: {
3469
+ type: "text";
3470
+ text: string;
3471
+ } | {
3472
+ source: string;
3473
+ filename?: string | undefined;
3474
+ title?: string | undefined;
3475
+ type: "image";
3476
+ } | {
3477
+ source: string;
3478
+ filename?: string | undefined;
3479
+ title?: string | undefined;
3480
+ type: "video";
3481
+ } | {
3482
+ source: string;
3483
+ filename?: string | undefined;
3484
+ title?: string | undefined;
3485
+ type: "document";
3486
+ } | undefined;
3487
+ actions: {
3488
+ name: string;
3489
+ parameters?: Record<string, unknown> | undefined;
3490
+ }[];
3491
+ parameters?: Record<string, unknown> | undefined;
3492
+ };
3493
+ }] | [{
3494
+ to: string;
3495
+ content: {
3496
+ version?: 1 | undefined;
3497
+ body: string;
3498
+ footer?: string | undefined;
3499
+ type: "buttons";
3500
+ header?: {
3501
+ type: "text";
3502
+ text: string;
3503
+ } | {
3504
+ source: string;
3505
+ filename?: string | undefined;
3506
+ title?: string | undefined;
3507
+ type: "image";
3508
+ } | {
3509
+ source: string;
3510
+ filename?: string | undefined;
3511
+ title?: string | undefined;
3512
+ type: "video";
3513
+ } | {
3514
+ source: string;
3515
+ filename?: string | undefined;
3516
+ title?: string | undefined;
3517
+ type: "document";
3518
+ } | undefined;
3519
+ actions: ({
3520
+ type: "url";
3521
+ label: string;
3522
+ url: string;
3523
+ } | {
3524
+ type: "call";
3525
+ label: string;
3526
+ phoneNumber: string;
3527
+ } | {
3528
+ type: "copy";
3529
+ label: string;
3530
+ code: string;
3531
+ } | {
3532
+ type: "reply";
3533
+ id: string;
3534
+ label: string;
3535
+ })[];
3536
+ } | {
3537
+ version?: 1 | undefined;
3538
+ body: string;
3539
+ footer?: string | undefined;
3540
+ type: "list";
3541
+ title?: string | undefined;
3542
+ buttonLabel?: string | undefined;
3543
+ sections: {
3544
+ title?: string | undefined;
3545
+ rows: {
3546
+ id: string;
3547
+ title: string;
3548
+ description?: string | undefined;
3549
+ }[];
3550
+ }[];
3551
+ } | {
3552
+ version?: 1 | undefined;
3553
+ body: string;
3554
+ footer?: string | undefined;
3555
+ type: "form";
3556
+ title?: string | undefined;
3557
+ questions: {
3558
+ type: "multiSelect" | "singleSelect";
3559
+ id: string;
3560
+ label: string;
3561
+ options: {
3562
+ id: string;
3563
+ label: string;
3564
+ }[];
3565
+ allowCustomAnswer?: boolean | undefined;
3566
+ }[];
3567
+ } | {
3568
+ version?: 1 | undefined;
3569
+ body: string;
3570
+ footer?: string | undefined;
3571
+ type: "carousel";
3572
+ cards: {
3573
+ body: string;
3574
+ header: {
3575
+ source: string;
3576
+ filename?: string | undefined;
3577
+ title?: string | undefined;
3578
+ type: "image";
3579
+ };
3580
+ actions: ({
3581
+ type: "url";
3582
+ label: string;
3583
+ url: string;
3584
+ } | {
3585
+ type: "call";
3586
+ label: string;
3587
+ phoneNumber: string;
3588
+ } | {
3589
+ type: "copy";
3590
+ label: string;
3591
+ code: string;
3592
+ } | {
3593
+ type: "reply";
3594
+ id: string;
3595
+ label: string;
3596
+ })[];
3597
+ }[];
3598
+ } | {
3599
+ version?: 1 | undefined;
3600
+ body: string;
3601
+ footer?: string | undefined;
3602
+ type: "booking";
3603
+ title?: string | undefined;
3604
+ buttonLabel?: string | undefined;
3605
+ booking: {
3606
+ startAt: string;
3607
+ endAt?: string | undefined;
3608
+ location?: string | undefined;
3609
+ url?: string | undefined;
3610
+ managementUrl?: string | undefined;
3611
+ phoneNumber?: string | undefined;
3612
+ email?: string | undefined;
3613
+ description?: string | undefined;
3614
+ labels?: {
3615
+ language?: string | undefined;
3616
+ meetingType?: string | undefined;
3617
+ detailsTitle?: string | undefined;
3618
+ addToCalendar?: string | undefined;
3619
+ viewOnMap?: string | undefined;
3620
+ manageBooking?: string | undefined;
3621
+ } | undefined;
3622
+ };
3623
+ actions?: ({
3624
+ type: "url";
3625
+ label: string;
3626
+ url: string;
3627
+ } | {
3628
+ type: "call";
3629
+ label: string;
3630
+ phoneNumber: string;
3631
+ } | {
3632
+ type: "copy";
3633
+ label: string;
3634
+ code: string;
3635
+ })[] | undefined;
3636
+ } | {
3637
+ version?: 1 | undefined;
3638
+ body: string;
3639
+ footer?: string | undefined;
3640
+ type: "native";
3641
+ header?: {
3642
+ type: "text";
3643
+ text: string;
3644
+ } | {
3645
+ source: string;
3646
+ filename?: string | undefined;
3647
+ title?: string | undefined;
3648
+ type: "image";
3649
+ } | {
3650
+ source: string;
3651
+ filename?: string | undefined;
3652
+ title?: string | undefined;
3653
+ type: "video";
3654
+ } | {
3655
+ source: string;
3656
+ filename?: string | undefined;
3657
+ title?: string | undefined;
3658
+ type: "document";
3659
+ } | undefined;
3660
+ actions: {
3661
+ name: string;
3662
+ parameters?: Record<string, unknown> | undefined;
3663
+ }[];
3664
+ parameters?: Record<string, unknown> | undefined;
3665
+ };
3666
+ }, ...unknown[]]) => Promise<string>;
2965
3667
  sendLink: (...args: any[] | unknown[] | [] | [{
2966
3668
  to: string;
2967
3669
  url: string;
@@ -3112,16 +3814,23 @@ declare abstract class BaseNamespacedClient extends BaseClient {
3112
3814
  }>;
3113
3815
  sendPtt: (...args: any[] | unknown[] | [] | [{
3114
3816
  to: string;
3115
- file: any;
3817
+ file: string | Buffer<ArrayBufferLike>;
3116
3818
  quotedMsgId?: string | undefined;
3117
3819
  }] | [{
3118
3820
  to: string;
3119
- file: any;
3821
+ file: string | Buffer<ArrayBufferLike>;
3120
3822
  quotedMsgId?: string | undefined;
3121
3823
  }, ...unknown[]]) => Promise<boolean | {
3122
3824
  [x: string]: unknown;
3123
3825
  _serialized: string;
3124
3826
  }>;
3827
+ sendRaw: (...args: any[] | unknown[] | [] | [{
3828
+ to: string;
3829
+ payload: Record<string, unknown>;
3830
+ }] | [{
3831
+ to: string;
3832
+ payload: Record<string, unknown>;
3833
+ }, ...unknown[]]) => Promise<string>;
3125
3834
  sendReplyWithMentions: (...args: any[] | unknown[] | [] | [{
3126
3835
  to: string;
3127
3836
  content: string;
@@ -3182,13 +3891,13 @@ declare abstract class BaseNamespacedClient extends BaseClient {
3182
3891
  }, ...unknown[]]) => Promise<boolean>;
3183
3892
  sendVideoAsGif: (...args: any[] | unknown[] | [] | [{
3184
3893
  to: string;
3185
- file: any;
3894
+ file: string | Buffer<ArrayBufferLike>;
3186
3895
  filename?: string | undefined;
3187
3896
  caption?: string | undefined;
3188
3897
  quotedMsgId?: string | undefined;
3189
3898
  }] | [{
3190
3899
  to: string;
3191
- file: any;
3900
+ file: string | Buffer<ArrayBufferLike>;
3192
3901
  filename?: string | undefined;
3193
3902
  caption?: string | undefined;
3194
3903
  quotedMsgId?: string | undefined;
@@ -3198,11 +3907,11 @@ declare abstract class BaseNamespacedClient extends BaseClient {
3198
3907
  }>;
3199
3908
  sendVoiceNote: (...args: any[] | unknown[] | [] | [{
3200
3909
  to: string;
3201
- file: any;
3910
+ file: string | Buffer<ArrayBufferLike>;
3202
3911
  quotedMsgId?: string | undefined;
3203
3912
  }] | [{
3204
3913
  to: string;
3205
- file: any;
3914
+ file: string | Buffer<ArrayBufferLike>;
3206
3915
  quotedMsgId?: string | undefined;
3207
3916
  }, ...unknown[]]) => Promise<boolean | {
3208
3917
  [x: string]: unknown;
@@ -3357,14 +4066,14 @@ declare abstract class BaseNamespacedClient extends BaseClient {
3357
4066
  name: string;
3358
4067
  }, ...unknown[]]) => Promise<boolean>;
3359
4068
  setProfilePic: (...args: any[] | unknown[] | [] | [{
3360
- image: any;
4069
+ image: string | Buffer<ArrayBufferLike>;
3361
4070
  }] | [{
3362
- image: any;
4071
+ image: string | Buffer<ArrayBufferLike>;
3363
4072
  }, ...unknown[]]) => Promise<boolean>;
3364
4073
  setProfilePicture: (...args: any[] | unknown[] | [] | [{
3365
- image: any;
4074
+ image: string | Buffer<ArrayBufferLike>;
3366
4075
  }] | [{
3367
- image: any;
4076
+ image: string | Buffer<ArrayBufferLike>;
3368
4077
  }, ...unknown[]]) => Promise<boolean>;
3369
4078
  setStatus: (...args: any[] | unknown[] | [] | [{
3370
4079
  statusText: string;
@@ -3423,252 +4132,255 @@ declare abstract class BaseNamespacedClient extends BaseClient {
3423
4132
  }
3424
4133
  //#endregion
3425
4134
  //#region src/generated/types.d.ts
3426
- type SendTextInput = Zod.input<typeof sendText.openWAInput>;
3427
- type SendTextOutput = Zod.output<typeof sendText.openWAOutput>;
3428
- type SendTextWithMentionsInput = Zod.input<typeof sendTextWithMentions.openWAInput>;
3429
- type SendTextWithMentionsOutput = Zod.output<typeof sendTextWithMentions.openWAOutput>;
3430
- type SendReplyWithMentionsInput = Zod.input<typeof sendReplyWithMentions.openWAInput>;
3431
- type SendReplyWithMentionsOutput = Zod.output<typeof sendReplyWithMentions.openWAOutput>;
3432
- type SendPaymentRequestInput = Zod.input<typeof sendPaymentRequest.openWAInput>;
3433
- type SendPaymentRequestOutput = Zod.output<typeof sendPaymentRequest.openWAOutput>;
3434
- type SendImageInput = Zod.input<typeof sendImage.openWAInput>;
3435
- type SendImageOutput = Zod.output<typeof sendImage.openWAOutput>;
3436
- type SendFileInput = Zod.input<typeof sendFile.openWAInput>;
3437
- type SendFileOutput = Zod.output<typeof sendFile.openWAOutput>;
3438
- type SendAudioInput = Zod.input<typeof sendAudio.openWAInput>;
3439
- type SendAudioOutput = Zod.output<typeof sendAudio.openWAOutput>;
3440
- type SendPttInput = Zod.input<typeof sendPtt.openWAInput>;
3441
- type SendPttOutput = Zod.output<typeof sendPtt.openWAOutput>;
3442
- type SendVideoAsGifInput = Zod.input<typeof sendVideoAsGif.openWAInput>;
3443
- type SendVideoAsGifOutput = Zod.output<typeof sendVideoAsGif.openWAOutput>;
3444
- type SendLocationInput = Zod.input<typeof sendLocation.openWAInput>;
3445
- type SendLocationOutput = Zod.output<typeof sendLocation.openWAOutput>;
3446
- type SendVCardInput = Zod.input<typeof sendVCard.openWAInput>;
3447
- type SendVCardOutput = Zod.output<typeof sendVCard.openWAOutput>;
3448
- type SendContactInput = Zod.input<typeof sendContact.openWAInput>;
3449
- type SendContactOutput = Zod.output<typeof sendContact.openWAOutput>;
3450
- type SendMultipleContactsInput = Zod.input<typeof sendMultipleContacts.openWAInput>;
3451
- type SendMultipleContactsOutput = Zod.output<typeof sendMultipleContacts.openWAOutput>;
3452
- type SendButtonsInput = Zod.input<typeof sendButtons.openWAInput>;
3453
- type SendButtonsOutput = Zod.output<typeof sendButtons.openWAOutput>;
3454
- type SendAdvancedButtonsInput = Zod.input<typeof sendAdvancedButtons.openWAInput>;
3455
- type SendAdvancedButtonsOutput = Zod.output<typeof sendAdvancedButtons.openWAOutput>;
3456
- type SendListMessageInput = Zod.input<typeof sendListMessage.openWAInput>;
3457
- type SendListMessageOutput = Zod.output<typeof sendListMessage.openWAOutput>;
3458
- type SendPollInput = Zod.input<typeof sendPoll.openWAInput>;
3459
- type SendPollOutput = Zod.output<typeof sendPoll.openWAOutput>;
3460
- type SendBannerInput = Zod.input<typeof sendBanner.openWAInput>;
3461
- type SendBannerOutput = Zod.output<typeof sendBanner.openWAOutput>;
3462
- type SendYouTubeLinkInput = Zod.input<typeof sendYouTubeLink.openWAInput>;
3463
- type SendYouTubeLinkOutput = Zod.output<typeof sendYouTubeLink.openWAOutput>;
3464
- type SendLinkWithAutoPreviewInput = Zod.input<typeof sendLinkWithAutoPreview.openWAInput>;
3465
- type SendLinkWithAutoPreviewOutput = Zod.output<typeof sendLinkWithAutoPreview.openWAOutput>;
3466
- type SendMessageWithThumbInput = Zod.input<typeof sendMessageWithThumb.openWAInput>;
3467
- type SendMessageWithThumbOutput = Zod.output<typeof sendMessageWithThumb.openWAOutput>;
3468
- type ForwardMessagesInput = Zod.input<typeof forwardMessages.openWAInput>;
3469
- type ForwardMessagesOutput = Zod.output<typeof forwardMessages.openWAOutput>;
3470
- type DeleteMessageInput = Zod.input<typeof deleteMessage.openWAInput>;
3471
- type DeleteMessageOutput = Zod.output<typeof deleteMessage.openWAOutput>;
3472
- type GetMessageByIdInput = Zod.input<typeof getMessageById.openWAInput>;
3473
- type GetMessageByIdOutput = Zod.output<typeof getMessageById.openWAOutput>;
3474
- type GetAllMessagesInput = Zod.input<typeof getAllMessages.openWAInput>;
3475
- type GetAllMessagesOutput = Zod.output<typeof getAllMessages.openWAOutput>;
3476
- type GetMyLastMessageInput = Zod.input<typeof getMyLastMessage.openWAInput>;
3477
- type GetMyLastMessageOutput = Zod.output<typeof getMyLastMessage.openWAOutput>;
3478
- type GetStarredMessagesInput = Zod.input<typeof getStarredMessages.openWAInput>;
3479
- type GetStarredMessagesOutput = Zod.output<typeof getStarredMessages.openWAOutput>;
3480
- type GetUnsentMessagesInput = Zod.input<typeof getUnsentMessages.openWAInput>;
3481
- type GetUnsentMessagesOutput = Zod.output<typeof getUnsentMessages.openWAOutput>;
3482
- type GetMessageInfoInput = Zod.input<typeof getMessageInfo.openWAInput>;
3483
- type GetMessageInfoOutput = Zod.output<typeof getMessageInfo.openWAOutput>;
3484
- type GetVCardsInput = Zod.input<typeof getVCards.openWAInput>;
3485
- type GetVCardsOutput = Zod.output<typeof getVCards.openWAOutput>;
3486
- type GetMessagesForLLMInput = Zod.input<typeof getMessagesForLLM.openWAInput>;
3487
- type GetMessagesForLLMOutput = Zod.output<typeof getMessagesForLLM.openWAOutput>;
3488
- type StarMessageInput = Zod.input<typeof starMessage.openWAInput>;
3489
- type StarMessageOutput = Zod.output<typeof starMessage.openWAOutput>;
3490
- type UnstarMessageInput = Zod.input<typeof unstarMessage.openWAInput>;
3491
- type UnstarMessageOutput = Zod.output<typeof unstarMessage.openWAOutput>;
3492
- type ReactInput = Zod.input<typeof react.openWAInput>;
3493
- type ReactOutput = Zod.output<typeof react.openWAOutput>;
3494
- type SendSeenInput = Zod.input<typeof sendSeen.openWAInput>;
3495
- type SendSeenOutput = Zod.output<typeof sendSeen.openWAOutput>;
3496
- type LoadEarlierMessagesInput = Zod.input<typeof loadEarlierMessages.openWAInput>;
3497
- type LoadEarlierMessagesOutput = Zod.output<typeof loadEarlierMessages.openWAOutput>;
3498
- type SendFileFromUrlInput = Zod.input<typeof sendFileFromUrl.openWAInput>;
3499
- type SendFileFromUrlOutput = Zod.output<typeof sendFileFromUrl.openWAOutput>;
3500
- type GetAllChatsInput = Zod.input<typeof getAllChats.openWAInput>;
3501
- type GetAllChatsOutput = Zod.output<typeof getAllChats.openWAOutput>;
3502
- type GetAllChatIdsInput = Zod.input<typeof getAllChatIds.openWAInput>;
3503
- type GetAllChatIdsOutput = Zod.output<typeof getAllChatIds.openWAOutput>;
3504
- type GetChatInput = Zod.input<typeof getChat.openWAInput>;
3505
- type GetChatOutput = Zod.output<typeof getChat.openWAOutput>;
3506
- type GetChatWithNonContactsInput = Zod.input<typeof getChatWithNonContacts.openWAInput>;
3507
- type GetChatWithNonContactsOutput = Zod.output<typeof getChatWithNonContacts.openWAOutput>;
3508
- type ArchiveChatInput = Zod.input<typeof archiveChat.openWAInput>;
3509
- type ArchiveChatOutput = Zod.output<typeof archiveChat.openWAOutput>;
3510
- type UnarchiveChatInput = Zod.input<typeof unarchiveChat.openWAInput>;
3511
- type UnarchiveChatOutput = Zod.output<typeof unarchiveChat.openWAOutput>;
3512
- type ClearChatInput = Zod.input<typeof clearChat.openWAInput>;
3513
- type ClearChatOutput = Zod.output<typeof clearChat.openWAOutput>;
3514
- type DeleteChatInput = Zod.input<typeof deleteChat.openWAInput>;
3515
- type DeleteChatOutput = Zod.output<typeof deleteChat.openWAOutput>;
3516
- type PinChatInput = Zod.input<typeof pinChat.openWAInput>;
3517
- type PinChatOutput = Zod.output<typeof pinChat.openWAOutput>;
3518
- type UnpinChatInput = Zod.input<typeof unpinChat.openWAInput>;
3519
- type UnpinChatOutput = Zod.output<typeof unpinChat.openWAOutput>;
3520
- type MuteChatInput = Zod.input<typeof muteChat.openWAInput>;
3521
- type MuteChatOutput = Zod.output<typeof muteChat.openWAOutput>;
3522
- type UnmuteChatInput = Zod.input<typeof unmuteChat.openWAInput>;
3523
- type UnmuteChatOutput = Zod.output<typeof unmuteChat.openWAOutput>;
3524
- type MarkAsReadInput = Zod.input<typeof markAsRead.openWAInput>;
3525
- type MarkAsReadOutput = Zod.output<typeof markAsRead.openWAOutput>;
3526
- type MarkAsUnreadInput = Zod.input<typeof markAsUnread.openWAInput>;
3527
- type MarkAsUnreadOutput = Zod.output<typeof markAsUnread.openWAOutput>;
3528
- type SetChatEphemeralInput = Zod.input<typeof setChatEphemeral.openWAInput>;
3529
- type SetChatEphemeralOutput = Zod.output<typeof setChatEphemeral.openWAOutput>;
3530
- type IsChatOnlineInput = Zod.input<typeof isChatOnline.openWAInput>;
3531
- type IsChatOnlineOutput = Zod.output<typeof isChatOnline.openWAOutput>;
3532
- type GetAllContactsInput = Zod.input<typeof getAllContacts.openWAInput>;
3533
- type GetAllContactsOutput = Zod.output<typeof getAllContacts.openWAOutput>;
3534
- type GetContactInput = Zod.input<typeof getContact.openWAInput>;
3535
- type GetContactOutput = Zod.output<typeof getContact.openWAOutput>;
3536
- type GetCommonGroupsInput = Zod.input<typeof getCommonGroups.openWAInput>;
3537
- type GetCommonGroupsOutput = Zod.output<typeof getCommonGroups.openWAOutput>;
3538
- type GetNumberProfileInput = Zod.input<typeof getNumberProfile.openWAInput>;
3539
- type GetNumberProfileOutput = Zod.output<typeof getNumberProfile.openWAOutput>;
3540
- type GetBlockedIdsInput = Zod.input<typeof getBlockedIds.openWAInput>;
3541
- type GetBlockedIdsOutput = Zod.output<typeof getBlockedIds.openWAOutput>;
3542
- type BlockContactInput = Zod.input<typeof blockContact.openWAInput>;
3543
- type BlockContactOutput = Zod.output<typeof blockContact.openWAOutput>;
3544
- type UnblockContactInput = Zod.input<typeof unblockContact.openWAInput>;
3545
- type UnblockContactOutput = Zod.output<typeof unblockContact.openWAOutput>;
3546
- type CheckReadReceiptsInput = Zod.input<typeof checkReadReceipts.openWAInput>;
3547
- type CheckReadReceiptsOutput = Zod.output<typeof checkReadReceipts.openWAOutput>;
3548
- type CheckNumberStatusInput = Zod.input<typeof checkNumberStatus.openWAInput>;
3549
- type CheckNumberStatusOutput = Zod.output<typeof checkNumberStatus.openWAOutput>;
3550
- type GetProfilePictureInput = Zod.input<typeof getProfilePicture.openWAInput>;
3551
- type GetProfilePictureOutput = Zod.output<typeof getProfilePicture.openWAOutput>;
3552
- type GetGroupMembersInput = Zod.input<typeof getGroupMembers.openWAInput>;
3553
- type GetGroupMembersOutput = Zod.output<typeof getGroupMembers.openWAOutput>;
3554
- type GetAllGroupsInput = Zod.input<typeof getAllGroups.openWAInput>;
3555
- type GetAllGroupsOutput = Zod.output<typeof getAllGroups.openWAOutput>;
3556
- type GetGroupMembersIdInput = Zod.input<typeof getGroupMembersId.openWAInput>;
3557
- type GetGroupMembersIdOutput = Zod.output<typeof getGroupMembersId.openWAOutput>;
3558
- type GetGroupInfoInput = Zod.input<typeof getGroupInfo.openWAInput>;
3559
- type GetGroupInfoOutput = Zod.output<typeof getGroupInfo.openWAOutput>;
3560
- type GetGroupAdminsInput = Zod.input<typeof getGroupAdmins.openWAInput>;
3561
- type GetGroupAdminsOutput = Zod.output<typeof getGroupAdmins.openWAOutput>;
3562
- type GetKickedGroupsInput = Zod.input<typeof getKickedGroups.openWAInput>;
3563
- type GetKickedGroupsOutput = Zod.output<typeof getKickedGroups.openWAOutput>;
3564
- type GetGroupInviteLinkInput = Zod.input<typeof getGroupInviteLink.openWAInput>;
3565
- type GetGroupInviteLinkOutput = Zod.output<typeof getGroupInviteLink.openWAOutput>;
3566
- type CreateGroupInput = Zod.input<typeof createGroup.openWAInput>;
3567
- type CreateGroupOutput = Zod.output<typeof createGroup.openWAOutput>;
3568
- type LeaveGroupInput = Zod.input<typeof leaveGroup.openWAInput>;
3569
- type LeaveGroupOutput = Zod.output<typeof leaveGroup.openWAOutput>;
3570
- type JoinGroupViaLinkInput = Zod.input<typeof joinGroupViaLink.openWAInput>;
3571
- type JoinGroupViaLinkOutput = Zod.output<typeof joinGroupViaLink.openWAOutput>;
3572
- type RevokeGroupInviteLinkInput = Zod.input<typeof revokeGroupInviteLink.openWAInput>;
3573
- type RevokeGroupInviteLinkOutput = Zod.output<typeof revokeGroupInviteLink.openWAOutput>;
3574
- type SetGroupTitleInput = Zod.input<typeof setGroupTitle.openWAInput>;
3575
- type SetGroupTitleOutput = Zod.output<typeof setGroupTitle.openWAOutput>;
3576
- type SetGroupDescriptionInput = Zod.input<typeof setGroupDescription.openWAInput>;
3577
- type SetGroupDescriptionOutput = Zod.output<typeof setGroupDescription.openWAOutput>;
3578
- type SetGroupIconInput = Zod.input<typeof setGroupIcon.openWAInput>;
3579
- type SetGroupIconOutput = Zod.output<typeof setGroupIcon.openWAOutput>;
3580
- type SetGroupToAdminsOnlyInput = Zod.input<typeof setGroupToAdminsOnly.openWAInput>;
3581
- type SetGroupToAdminsOnlyOutput = Zod.output<typeof setGroupToAdminsOnly.openWAOutput>;
3582
- type SetGroupEditToAdminsOnlyInput = Zod.input<typeof setGroupEditToAdminsOnly.openWAInput>;
3583
- type SetGroupEditToAdminsOnlyOutput = Zod.output<typeof setGroupEditToAdminsOnly.openWAOutput>;
3584
- type AddParticipantInput = Zod.input<typeof addParticipant.openWAInput>;
3585
- type AddParticipantOutput = Zod.output<typeof addParticipant.openWAOutput>;
3586
- type RemoveParticipantInput = Zod.input<typeof removeParticipant.openWAInput>;
3587
- type RemoveParticipantOutput = Zod.output<typeof removeParticipant.openWAOutput>;
3588
- type PromoteParticipantInput = Zod.input<typeof promoteParticipant.openWAInput>;
3589
- type PromoteParticipantOutput = Zod.output<typeof promoteParticipant.openWAOutput>;
3590
- type DemoteParticipantInput = Zod.input<typeof demoteParticipant.openWAInput>;
3591
- type DemoteParticipantOutput = Zod.output<typeof demoteParticipant.openWAOutput>;
3592
- type ApproveGroupJoinRequestInput = Zod.input<typeof approveGroupJoinRequest.openWAInput>;
3593
- type ApproveGroupJoinRequestOutput = Zod.output<typeof approveGroupJoinRequest.openWAOutput>;
3594
- type RejectGroupJoinRequestInput = Zod.input<typeof rejectGroupJoinRequest.openWAInput>;
3595
- type RejectGroupJoinRequestOutput = Zod.output<typeof rejectGroupJoinRequest.openWAOutput>;
3596
- type GetAllCommunitiesInput = Zod.input<typeof getAllCommunities.openWAInput>;
3597
- type GetAllCommunitiesOutput = Zod.output<typeof getAllCommunities.openWAOutput>;
3598
- type GetCommunityInfoInput = Zod.input<typeof getCommunityInfo.openWAInput>;
3599
- type GetCommunityInfoOutput = Zod.output<typeof getCommunityInfo.openWAOutput>;
3600
- type GetCommunityParticipantIdsInput = Zod.input<typeof getCommunityParticipantIds.openWAInput>;
3601
- type GetCommunityParticipantIdsOutput = Zod.output<typeof getCommunityParticipantIds.openWAOutput>;
3602
- type GetCommunityAdminIdsInput = Zod.input<typeof getCommunityAdminIds.openWAInput>;
3603
- type GetCommunityAdminIdsOutput = Zod.output<typeof getCommunityAdminIds.openWAOutput>;
3604
- type GetCommunityParticipantsInput = Zod.input<typeof getCommunityParticipants.openWAInput>;
3605
- type GetCommunityParticipantsOutput = Zod.output<typeof getCommunityParticipants.openWAOutput>;
3606
- type GetCommunityAdminsInput = Zod.input<typeof getCommunityAdmins.openWAInput>;
3607
- type GetCommunityAdminsOutput = Zod.output<typeof getCommunityAdmins.openWAOutput>;
3608
- type PostTextStatusInput = Zod.input<typeof postTextStatus.openWAInput>;
3609
- type PostTextStatusOutput = Zod.output<typeof postTextStatus.openWAOutput>;
3610
- type PostImageStatusInput = Zod.input<typeof postImageStatus.openWAInput>;
3611
- type PostImageStatusOutput = Zod.output<typeof postImageStatus.openWAOutput>;
3612
- type PostVideoStatusInput = Zod.input<typeof postVideoStatus.openWAInput>;
3613
- type PostVideoStatusOutput = Zod.output<typeof postVideoStatus.openWAOutput>;
3614
- type GetStoriesInput = Zod.input<typeof getStories.openWAInput>;
3615
- type GetStoriesOutput = Zod.output<typeof getStories.openWAOutput>;
3616
- type GetStatusInput = Zod.input<typeof getStatus.openWAInput>;
3617
- type GetStatusOutput = Zod.output<typeof getStatus.openWAOutput>;
3618
- type DeleteStatusInput = Zod.input<typeof deleteStatus.openWAInput>;
3619
- type DeleteStatusOutput = Zod.output<typeof deleteStatus.openWAOutput>;
3620
- type DeleteAllStatusInput = Zod.input<typeof deleteAllStatus.openWAInput>;
3621
- type DeleteAllStatusOutput = Zod.output<typeof deleteAllStatus.openWAOutput>;
3622
- type GetAllLabelsInput = Zod.input<typeof getAllLabels.openWAInput>;
3623
- type GetAllLabelsOutput = Zod.output<typeof getAllLabels.openWAOutput>;
3624
- type GetChatsByLabelInput = Zod.input<typeof getChatsByLabel.openWAInput>;
3625
- type GetChatsByLabelOutput = Zod.output<typeof getChatsByLabel.openWAOutput>;
3626
- type AddLabelInput = Zod.input<typeof addLabel.openWAInput>;
3627
- type AddLabelOutput = Zod.output<typeof addLabel.openWAOutput>;
3628
- type RemoveLabelInput = Zod.input<typeof removeLabel.openWAInput>;
3629
- type RemoveLabelOutput = Zod.output<typeof removeLabel.openWAOutput>;
3630
- type GetBusinessProfileInput = Zod.input<typeof getBusinessProfile.openWAInput>;
3631
- type GetBusinessProfileOutput = Zod.output<typeof getBusinessProfile.openWAOutput>;
3632
- type GetBusinessProductsInput = Zod.input<typeof getBusinessProducts.openWAInput>;
3633
- type GetBusinessProductsOutput = Zod.output<typeof getBusinessProducts.openWAOutput>;
3634
- type GetOrderInput = Zod.input<typeof getOrder.openWAInput>;
3635
- type GetOrderOutput = Zod.output<typeof getOrder.openWAOutput>;
3636
- type GetMeInput = Zod.input<typeof getMe.openWAInput>;
3637
- type GetMeOutput = Zod.output<typeof getMe.openWAOutput>;
3638
- type GetHostNumberInput = Zod.input<typeof getHostNumber.openWAInput>;
3639
- type GetHostNumberOutput = Zod.output<typeof getHostNumber.openWAOutput>;
3640
- type GetConnectionStateInput = Zod.input<typeof getConnectionState.openWAInput>;
3641
- type GetConnectionStateOutput = Zod.output<typeof getConnectionState.openWAOutput>;
3642
- type GetWAVersionInput = Zod.input<typeof getWAVersion.openWAInput>;
3643
- type GetWAVersionOutput = Zod.output<typeof getWAVersion.openWAOutput>;
3644
- type GetBatteryLevelInput = Zod.input<typeof getBatteryLevel.openWAInput>;
3645
- type GetBatteryLevelOutput = Zod.output<typeof getBatteryLevel.openWAOutput>;
3646
- type IsPluggedInput = Zod.input<typeof isPlugged.openWAInput>;
3647
- type IsPluggedOutput = Zod.output<typeof isPlugged.openWAOutput>;
3648
- type GetFeaturesInput = Zod.input<typeof getFeatures.openWAInput>;
3649
- type GetFeaturesOutput = Zod.output<typeof getFeatures.openWAOutput>;
3650
- type GetLicenseTypeInput = Zod.input<typeof getLicenseType.openWAInput>;
3651
- type GetLicenseTypeOutput = Zod.output<typeof getLicenseType.openWAOutput>;
3652
- type GetUserAgentInput = Zod.input<typeof getUserAgent.openWAInput>;
3653
- type GetUserAgentOutput = Zod.output<typeof getUserAgent.openWAOutput>;
3654
- type GetProcessStatsInput = Zod.input<typeof getProcessStats.openWAInput>;
3655
- type GetProcessStatsOutput = Zod.output<typeof getProcessStats.openWAOutput>;
3656
- type GetLoadedMessageCountInput = Zod.input<typeof getLoadedMessageCount.openWAInput>;
3657
- type GetLoadedMessageCountOutput = Zod.output<typeof getLoadedMessageCount.openWAOutput>;
3658
- type GetSnapshotInput = Zod.input<typeof getSnapshot.openWAInput>;
3659
- type GetSnapshotOutput = Zod.output<typeof getSnapshot.openWAOutput>;
3660
- type HealthCheckInput = Zod.input<typeof healthCheck.openWAInput>;
3661
- type HealthCheckOutput = Zod.output<typeof healthCheck.openWAOutput>;
3662
- type SetMyNameInput = Zod.input<typeof setMyName.openWAInput>;
3663
- type SetMyNameOutput = Zod.output<typeof setMyName.openWAOutput>;
3664
- type SetMyStatusInput = Zod.input<typeof setMyStatus.openWAInput>;
3665
- type SetMyStatusOutput = Zod.output<typeof setMyStatus.openWAOutput>;
3666
- type SetProfilePictureInput = Zod.input<typeof setProfilePicture.openWAInput>;
3667
- type SetProfilePictureOutput = Zod.output<typeof setProfilePicture.openWAOutput>;
3668
- type DecryptMediaInput = Zod.input<typeof decryptMedia.openWAInput>;
3669
- type DecryptMediaOutput = Zod.output<typeof decryptMedia.openWAOutput>;
3670
- type DownloadMediaInput = Zod.input<typeof downloadMedia.openWAInput>;
3671
- type DownloadMediaOutput = Zod.output<typeof downloadMedia.openWAOutput>;
4135
+ export type SendTextInput = Zod.input<typeof sendText.openWAInput>;
4136
+ export type SendTextOutput = Zod.output<typeof sendText.openWAOutput>;
4137
+ export type SendTextWithMentionsInput = Zod.input<typeof sendTextWithMentions.openWAInput>;
4138
+ export type SendTextWithMentionsOutput = Zod.output<typeof sendTextWithMentions.openWAOutput>;
4139
+ export type SendReplyWithMentionsInput = Zod.input<typeof sendReplyWithMentions.openWAInput>;
4140
+ export type SendReplyWithMentionsOutput = Zod.output<typeof sendReplyWithMentions.openWAOutput>;
4141
+ export type SendPaymentRequestInput = Zod.input<typeof sendPaymentRequest.openWAInput>;
4142
+ export type SendPaymentRequestOutput = Zod.output<typeof sendPaymentRequest.openWAOutput>;
4143
+ export type SendImageInput = Zod.input<typeof sendImage.openWAInput>;
4144
+ export type SendImageOutput = Zod.output<typeof sendImage.openWAOutput>;
4145
+ export type SendFileInput = Zod.input<typeof sendFile.openWAInput>;
4146
+ export type SendFileOutput = Zod.output<typeof sendFile.openWAOutput>;
4147
+ export type SendAudioInput = Zod.input<typeof sendAudio.openWAInput>;
4148
+ export type SendAudioOutput = Zod.output<typeof sendAudio.openWAOutput>;
4149
+ export type SendPttInput = Zod.input<typeof sendPtt.openWAInput>;
4150
+ export type SendPttOutput = Zod.output<typeof sendPtt.openWAOutput>;
4151
+ export type SendVideoAsGifInput = Zod.input<typeof sendVideoAsGif.openWAInput>;
4152
+ export type SendVideoAsGifOutput = Zod.output<typeof sendVideoAsGif.openWAOutput>;
4153
+ export type SendLocationInput = Zod.input<typeof sendLocation.openWAInput>;
4154
+ export type SendLocationOutput = Zod.output<typeof sendLocation.openWAOutput>;
4155
+ export type SendVCardInput = Zod.input<typeof sendVCard.openWAInput>;
4156
+ export type SendVCardOutput = Zod.output<typeof sendVCard.openWAOutput>;
4157
+ export type SendContactInput = Zod.input<typeof sendContact.openWAInput>;
4158
+ export type SendContactOutput = Zod.output<typeof sendContact.openWAOutput>;
4159
+ export type SendMultipleContactsInput = Zod.input<typeof sendMultipleContacts.openWAInput>;
4160
+ export type SendMultipleContactsOutput = Zod.output<typeof sendMultipleContacts.openWAOutput>;
4161
+ export type SendButtonsInput = Zod.input<typeof sendButtons.openWAInput>;
4162
+ export type SendButtonsOutput = Zod.output<typeof sendButtons.openWAOutput>;
4163
+ export type SendAdvancedButtonsInput = Zod.input<typeof sendAdvancedButtons.openWAInput>;
4164
+ export type SendAdvancedButtonsOutput = Zod.output<typeof sendAdvancedButtons.openWAOutput>;
4165
+ export type SendListMessageInput = Zod.input<typeof sendListMessage.openWAInput>;
4166
+ export type SendListMessageOutput = Zod.output<typeof sendListMessage.openWAOutput>;
4167
+ export type SendPollInput = Zod.input<typeof sendPoll.openWAInput>;
4168
+ export type SendPollOutput = Zod.output<typeof sendPoll.openWAOutput>;
4169
+ export type SendBannerInput = Zod.input<typeof sendBanner.openWAInput>;
4170
+ export type SendBannerOutput = Zod.output<typeof sendBanner.openWAOutput>;
4171
+ export type SendYouTubeLinkInput = Zod.input<typeof sendYouTubeLink.openWAInput>;
4172
+ export type SendYouTubeLinkOutput = Zod.output<typeof sendYouTubeLink.openWAOutput>;
4173
+ export type SendLinkWithAutoPreviewInput = Zod.input<typeof sendLinkWithAutoPreview.openWAInput>;
4174
+ export type SendLinkWithAutoPreviewOutput = Zod.output<typeof sendLinkWithAutoPreview.openWAOutput>;
4175
+ export type SendMessageWithThumbInput = Zod.input<typeof sendMessageWithThumb.openWAInput>;
4176
+ export type SendMessageWithThumbOutput = Zod.output<typeof sendMessageWithThumb.openWAOutput>;
4177
+ export type ForwardMessagesInput = Zod.input<typeof forwardMessages.openWAInput>;
4178
+ export type ForwardMessagesOutput = Zod.output<typeof forwardMessages.openWAOutput>;
4179
+ export type DeleteMessageInput = Zod.input<typeof deleteMessage.openWAInput>;
4180
+ export type DeleteMessageOutput = Zod.output<typeof deleteMessage.openWAOutput>;
4181
+ export type GetMessageByIdInput = Zod.input<typeof getMessageById.openWAInput>;
4182
+ export type GetMessageByIdOutput = Zod.output<typeof getMessageById.openWAOutput>;
4183
+ export type GetAllMessagesInput = Zod.input<typeof getAllMessages.openWAInput>;
4184
+ export type GetAllMessagesOutput = Zod.output<typeof getAllMessages.openWAOutput>;
4185
+ export type GetMyLastMessageInput = Zod.input<typeof getMyLastMessage.openWAInput>;
4186
+ export type GetMyLastMessageOutput = Zod.output<typeof getMyLastMessage.openWAOutput>;
4187
+ export type GetStarredMessagesInput = Zod.input<typeof getStarredMessages.openWAInput>;
4188
+ export type GetStarredMessagesOutput = Zod.output<typeof getStarredMessages.openWAOutput>;
4189
+ export type GetUnsentMessagesInput = Zod.input<typeof getUnsentMessages.openWAInput>;
4190
+ export type GetUnsentMessagesOutput = Zod.output<typeof getUnsentMessages.openWAOutput>;
4191
+ export type GetMessageInfoInput = Zod.input<typeof getMessageInfo.openWAInput>;
4192
+ export type GetMessageInfoOutput = Zod.output<typeof getMessageInfo.openWAOutput>;
4193
+ export type GetVCardsInput = Zod.input<typeof getVCards.openWAInput>;
4194
+ export type GetVCardsOutput = Zod.output<typeof getVCards.openWAOutput>;
4195
+ export type GetMessagesForLLMInput = Zod.input<typeof getMessagesForLLM.openWAInput>;
4196
+ export type GetMessagesForLLMOutput = Zod.output<typeof getMessagesForLLM.openWAOutput>;
4197
+ export type StarMessageInput = Zod.input<typeof starMessage.openWAInput>;
4198
+ export type StarMessageOutput = Zod.output<typeof starMessage.openWAOutput>;
4199
+ export type UnstarMessageInput = Zod.input<typeof unstarMessage.openWAInput>;
4200
+ export type UnstarMessageOutput = Zod.output<typeof unstarMessage.openWAOutput>;
4201
+ export type ReactInput = Zod.input<typeof react.openWAInput>;
4202
+ export type ReactOutput = Zod.output<typeof react.openWAOutput>;
4203
+ export type SendSeenInput = Zod.input<typeof sendSeen.openWAInput>;
4204
+ export type SendSeenOutput = Zod.output<typeof sendSeen.openWAOutput>;
4205
+ export type LoadEarlierMessagesInput = Zod.input<typeof loadEarlierMessages.openWAInput>;
4206
+ export type LoadEarlierMessagesOutput = Zod.output<typeof loadEarlierMessages.openWAOutput>;
4207
+ export type SendFileFromUrlInput = Zod.input<typeof sendFileFromUrl.openWAInput>;
4208
+ export type SendFileFromUrlOutput = Zod.output<typeof sendFileFromUrl.openWAOutput>;
4209
+ export type GetAllChatsInput = Zod.input<typeof getAllChats.openWAInput>;
4210
+ export type GetAllChatsOutput = Zod.output<typeof getAllChats.openWAOutput>;
4211
+ export type GetAllChatIdsInput = Zod.input<typeof getAllChatIds.openWAInput>;
4212
+ export type GetAllChatIdsOutput = Zod.output<typeof getAllChatIds.openWAOutput>;
4213
+ export type GetChatInput = Zod.input<typeof getChat.openWAInput>;
4214
+ export type GetChatOutput = Zod.output<typeof getChat.openWAOutput>;
4215
+ export type GetChatWithNonContactsInput = Zod.input<typeof getChatWithNonContacts.openWAInput>;
4216
+ export type GetChatWithNonContactsOutput = Zod.output<typeof getChatWithNonContacts.openWAOutput>;
4217
+ export type ArchiveChatInput = Zod.input<typeof archiveChat.openWAInput>;
4218
+ export type ArchiveChatOutput = Zod.output<typeof archiveChat.openWAOutput>;
4219
+ export type UnarchiveChatInput = Zod.input<typeof unarchiveChat.openWAInput>;
4220
+ export type UnarchiveChatOutput = Zod.output<typeof unarchiveChat.openWAOutput>;
4221
+ export type ClearChatInput = Zod.input<typeof clearChat.openWAInput>;
4222
+ export type ClearChatOutput = Zod.output<typeof clearChat.openWAOutput>;
4223
+ export type DeleteChatInput = Zod.input<typeof deleteChat.openWAInput>;
4224
+ export type DeleteChatOutput = Zod.output<typeof deleteChat.openWAOutput>;
4225
+ export type PinChatInput = Zod.input<typeof pinChat.openWAInput>;
4226
+ export type PinChatOutput = Zod.output<typeof pinChat.openWAOutput>;
4227
+ export type UnpinChatInput = Zod.input<typeof unpinChat.openWAInput>;
4228
+ export type UnpinChatOutput = Zod.output<typeof unpinChat.openWAOutput>;
4229
+ export type MuteChatInput = Zod.input<typeof muteChat.openWAInput>;
4230
+ export type MuteChatOutput = Zod.output<typeof muteChat.openWAOutput>;
4231
+ export type UnmuteChatInput = Zod.input<typeof unmuteChat.openWAInput>;
4232
+ export type UnmuteChatOutput = Zod.output<typeof unmuteChat.openWAOutput>;
4233
+ export type MarkAsReadInput = Zod.input<typeof markAsRead.openWAInput>;
4234
+ export type MarkAsReadOutput = Zod.output<typeof markAsRead.openWAOutput>;
4235
+ export type MarkAsUnreadInput = Zod.input<typeof markAsUnread.openWAInput>;
4236
+ export type MarkAsUnreadOutput = Zod.output<typeof markAsUnread.openWAOutput>;
4237
+ export type SetChatEphemeralInput = Zod.input<typeof setChatEphemeral.openWAInput>;
4238
+ export type SetChatEphemeralOutput = Zod.output<typeof setChatEphemeral.openWAOutput>;
4239
+ export type IsChatOnlineInput = Zod.input<typeof isChatOnline.openWAInput>;
4240
+ export type IsChatOnlineOutput = Zod.output<typeof isChatOnline.openWAOutput>;
4241
+ export type GetAllContactsInput = Zod.input<typeof getAllContacts.openWAInput>;
4242
+ export type GetAllContactsOutput = Zod.output<typeof getAllContacts.openWAOutput>;
4243
+ export type GetContactInput = Zod.input<typeof getContact.openWAInput>;
4244
+ export type GetContactOutput = Zod.output<typeof getContact.openWAOutput>;
4245
+ export type GetCommonGroupsInput = Zod.input<typeof getCommonGroups.openWAInput>;
4246
+ export type GetCommonGroupsOutput = Zod.output<typeof getCommonGroups.openWAOutput>;
4247
+ export type GetNumberProfileInput = Zod.input<typeof getNumberProfile.openWAInput>;
4248
+ export type GetNumberProfileOutput = Zod.output<typeof getNumberProfile.openWAOutput>;
4249
+ export type GetBlockedIdsInput = Zod.input<typeof getBlockedIds.openWAInput>;
4250
+ export type GetBlockedIdsOutput = Zod.output<typeof getBlockedIds.openWAOutput>;
4251
+ export type BlockContactInput = Zod.input<typeof blockContact.openWAInput>;
4252
+ export type BlockContactOutput = Zod.output<typeof blockContact.openWAOutput>;
4253
+ export type UnblockContactInput = Zod.input<typeof unblockContact.openWAInput>;
4254
+ export type UnblockContactOutput = Zod.output<typeof unblockContact.openWAOutput>;
4255
+ export type CheckReadReceiptsInput = Zod.input<typeof checkReadReceipts.openWAInput>;
4256
+ export type CheckReadReceiptsOutput = Zod.output<typeof checkReadReceipts.openWAOutput>;
4257
+ export type CheckNumberStatusInput = Zod.input<typeof checkNumberStatus.openWAInput>;
4258
+ export type CheckNumberStatusOutput = Zod.output<typeof checkNumberStatus.openWAOutput>;
4259
+ export type GetProfilePictureInput = Zod.input<typeof getProfilePicture.openWAInput>;
4260
+ export type GetProfilePictureOutput = Zod.output<typeof getProfilePicture.openWAOutput>;
4261
+ export type GetGroupMembersInput = Zod.input<typeof getGroupMembers.openWAInput>;
4262
+ export type GetGroupMembersOutput = Zod.output<typeof getGroupMembers.openWAOutput>;
4263
+ export type GetAllGroupsInput = Zod.input<typeof getAllGroups.openWAInput>;
4264
+ export type GetAllGroupsOutput = Zod.output<typeof getAllGroups.openWAOutput>;
4265
+ export type GetGroupMembersIdInput = Zod.input<typeof getGroupMembersId.openWAInput>;
4266
+ export type GetGroupMembersIdOutput = Zod.output<typeof getGroupMembersId.openWAOutput>;
4267
+ export type GetGroupInfoInput = Zod.input<typeof getGroupInfo.openWAInput>;
4268
+ export type GetGroupInfoOutput = Zod.output<typeof getGroupInfo.openWAOutput>;
4269
+ export type GetGroupAdminsInput = Zod.input<typeof getGroupAdmins.openWAInput>;
4270
+ export type GetGroupAdminsOutput = Zod.output<typeof getGroupAdmins.openWAOutput>;
4271
+ export type GetKickedGroupsInput = Zod.input<typeof getKickedGroups.openWAInput>;
4272
+ export type GetKickedGroupsOutput = Zod.output<typeof getKickedGroups.openWAOutput>;
4273
+ export type GetGroupInviteLinkInput = Zod.input<typeof getGroupInviteLink.openWAInput>;
4274
+ export type GetGroupInviteLinkOutput = Zod.output<typeof getGroupInviteLink.openWAOutput>;
4275
+ export type CreateGroupInput = Zod.input<typeof createGroup.openWAInput>;
4276
+ export type CreateGroupOutput = Zod.output<typeof createGroup.openWAOutput>;
4277
+ export type LeaveGroupInput = Zod.input<typeof leaveGroup.openWAInput>;
4278
+ export type LeaveGroupOutput = Zod.output<typeof leaveGroup.openWAOutput>;
4279
+ export type JoinGroupViaLinkInput = Zod.input<typeof joinGroupViaLink.openWAInput>;
4280
+ export type JoinGroupViaLinkOutput = Zod.output<typeof joinGroupViaLink.openWAOutput>;
4281
+ export type RevokeGroupInviteLinkInput = Zod.input<typeof revokeGroupInviteLink.openWAInput>;
4282
+ export type RevokeGroupInviteLinkOutput = Zod.output<typeof revokeGroupInviteLink.openWAOutput>;
4283
+ export type SetGroupTitleInput = Zod.input<typeof setGroupTitle.openWAInput>;
4284
+ export type SetGroupTitleOutput = Zod.output<typeof setGroupTitle.openWAOutput>;
4285
+ export type SetGroupDescriptionInput = Zod.input<typeof setGroupDescription.openWAInput>;
4286
+ export type SetGroupDescriptionOutput = Zod.output<typeof setGroupDescription.openWAOutput>;
4287
+ export type SetGroupIconInput = Zod.input<typeof setGroupIcon.openWAInput>;
4288
+ export type SetGroupIconOutput = Zod.output<typeof setGroupIcon.openWAOutput>;
4289
+ export type SetGroupToAdminsOnlyInput = Zod.input<typeof setGroupToAdminsOnly.openWAInput>;
4290
+ export type SetGroupToAdminsOnlyOutput = Zod.output<typeof setGroupToAdminsOnly.openWAOutput>;
4291
+ export type SetGroupEditToAdminsOnlyInput = Zod.input<typeof setGroupEditToAdminsOnly.openWAInput>;
4292
+ export type SetGroupEditToAdminsOnlyOutput = Zod.output<typeof setGroupEditToAdminsOnly.openWAOutput>;
4293
+ export type AddParticipantInput = Zod.input<typeof addParticipant.openWAInput>;
4294
+ export type AddParticipantOutput = Zod.output<typeof addParticipant.openWAOutput>;
4295
+ export type RemoveParticipantInput = Zod.input<typeof removeParticipant.openWAInput>;
4296
+ export type RemoveParticipantOutput = Zod.output<typeof removeParticipant.openWAOutput>;
4297
+ export type PromoteParticipantInput = Zod.input<typeof promoteParticipant.openWAInput>;
4298
+ export type PromoteParticipantOutput = Zod.output<typeof promoteParticipant.openWAOutput>;
4299
+ export type DemoteParticipantInput = Zod.input<typeof demoteParticipant.openWAInput>;
4300
+ export type DemoteParticipantOutput = Zod.output<typeof demoteParticipant.openWAOutput>;
4301
+ export type ApproveGroupJoinRequestInput = Zod.input<typeof approveGroupJoinRequest.openWAInput>;
4302
+ export type ApproveGroupJoinRequestOutput = Zod.output<typeof approveGroupJoinRequest.openWAOutput>;
4303
+ export type RejectGroupJoinRequestInput = Zod.input<typeof rejectGroupJoinRequest.openWAInput>;
4304
+ export type RejectGroupJoinRequestOutput = Zod.output<typeof rejectGroupJoinRequest.openWAOutput>;
4305
+ export type GetAllCommunitiesInput = Zod.input<typeof getAllCommunities.openWAInput>;
4306
+ export type GetAllCommunitiesOutput = Zod.output<typeof getAllCommunities.openWAOutput>;
4307
+ export type GetCommunityInfoInput = Zod.input<typeof getCommunityInfo.openWAInput>;
4308
+ export type GetCommunityInfoOutput = Zod.output<typeof getCommunityInfo.openWAOutput>;
4309
+ export type GetCommunityParticipantIdsInput = Zod.input<typeof getCommunityParticipantIds.openWAInput>;
4310
+ export type GetCommunityParticipantIdsOutput = Zod.output<typeof getCommunityParticipantIds.openWAOutput>;
4311
+ export type GetCommunityAdminIdsInput = Zod.input<typeof getCommunityAdminIds.openWAInput>;
4312
+ export type GetCommunityAdminIdsOutput = Zod.output<typeof getCommunityAdminIds.openWAOutput>;
4313
+ export type GetCommunityParticipantsInput = Zod.input<typeof getCommunityParticipants.openWAInput>;
4314
+ export type GetCommunityParticipantsOutput = Zod.output<typeof getCommunityParticipants.openWAOutput>;
4315
+ export type GetCommunityAdminsInput = Zod.input<typeof getCommunityAdmins.openWAInput>;
4316
+ export type GetCommunityAdminsOutput = Zod.output<typeof getCommunityAdmins.openWAOutput>;
4317
+ export type PostTextStatusInput = Zod.input<typeof postTextStatus.openWAInput>;
4318
+ export type PostTextStatusOutput = Zod.output<typeof postTextStatus.openWAOutput>;
4319
+ export type PostImageStatusInput = Zod.input<typeof postImageStatus.openWAInput>;
4320
+ export type PostImageStatusOutput = Zod.output<typeof postImageStatus.openWAOutput>;
4321
+ export type PostVideoStatusInput = Zod.input<typeof postVideoStatus.openWAInput>;
4322
+ export type PostVideoStatusOutput = Zod.output<typeof postVideoStatus.openWAOutput>;
4323
+ export type GetStoriesInput = Zod.input<typeof getStories.openWAInput>;
4324
+ export type GetStoriesOutput = Zod.output<typeof getStories.openWAOutput>;
4325
+ export type GetStatusInput = Zod.input<typeof getStatus.openWAInput>;
4326
+ export type GetStatusOutput = Zod.output<typeof getStatus.openWAOutput>;
4327
+ export type DeleteStatusInput = Zod.input<typeof deleteStatus.openWAInput>;
4328
+ export type DeleteStatusOutput = Zod.output<typeof deleteStatus.openWAOutput>;
4329
+ export type DeleteAllStatusInput = Zod.input<typeof deleteAllStatus.openWAInput>;
4330
+ export type DeleteAllStatusOutput = Zod.output<typeof deleteAllStatus.openWAOutput>;
4331
+ export type GetAllLabelsInput = Zod.input<typeof getAllLabels.openWAInput>;
4332
+ export type GetAllLabelsOutput = Zod.output<typeof getAllLabels.openWAOutput>;
4333
+ export type GetChatsByLabelInput = Zod.input<typeof getChatsByLabel.openWAInput>;
4334
+ export type GetChatsByLabelOutput = Zod.output<typeof getChatsByLabel.openWAOutput>;
4335
+ export type AddLabelInput = Zod.input<typeof addLabel.openWAInput>;
4336
+ export type AddLabelOutput = Zod.output<typeof addLabel.openWAOutput>;
4337
+ export type RemoveLabelInput = Zod.input<typeof removeLabel.openWAInput>;
4338
+ export type RemoveLabelOutput = Zod.output<typeof removeLabel.openWAOutput>;
4339
+ export type GetBusinessProfileInput = Zod.input<typeof getBusinessProfile.openWAInput>;
4340
+ export type GetBusinessProfileOutput = Zod.output<typeof getBusinessProfile.openWAOutput>;
4341
+ export type GetBusinessProductsInput = Zod.input<typeof getBusinessProducts.openWAInput>;
4342
+ export type GetBusinessProductsOutput = Zod.output<typeof getBusinessProducts.openWAOutput>;
4343
+ export type GetOrderInput = Zod.input<typeof getOrder.openWAInput>;
4344
+ export type GetOrderOutput = Zod.output<typeof getOrder.openWAOutput>;
4345
+ export type GetMeInput = Zod.input<typeof getMe.openWAInput>;
4346
+ export type GetMeOutput = Zod.output<typeof getMe.openWAOutput>;
4347
+ export type GetHostNumberInput = Zod.input<typeof getHostNumber.openWAInput>;
4348
+ export type GetHostNumberOutput = Zod.output<typeof getHostNumber.openWAOutput>;
4349
+ export type GetConnectionStateInput = Zod.input<typeof getConnectionState.openWAInput>;
4350
+ export type GetConnectionStateOutput = Zod.output<typeof getConnectionState.openWAOutput>;
4351
+ export type GetWAVersionInput = Zod.input<typeof getWAVersion.openWAInput>;
4352
+ export type GetWAVersionOutput = Zod.output<typeof getWAVersion.openWAOutput>;
4353
+ export type GetBatteryLevelInput = Zod.input<typeof getBatteryLevel.openWAInput>;
4354
+ export type GetBatteryLevelOutput = Zod.output<typeof getBatteryLevel.openWAOutput>;
4355
+ export type IsPluggedInput = Zod.input<typeof isPlugged.openWAInput>;
4356
+ export type IsPluggedOutput = Zod.output<typeof isPlugged.openWAOutput>;
4357
+ export type GetFeaturesInput = Zod.input<typeof getFeatures.openWAInput>;
4358
+ export type GetFeaturesOutput = Zod.output<typeof getFeatures.openWAOutput>;
4359
+ export type GetLicenseTypeInput = Zod.input<typeof getLicenseType.openWAInput>;
4360
+ export type GetLicenseTypeOutput = Zod.output<typeof getLicenseType.openWAOutput>;
4361
+ export type GetUserAgentInput = Zod.input<typeof getUserAgent.openWAInput>;
4362
+ export type GetUserAgentOutput = Zod.output<typeof getUserAgent.openWAOutput>;
4363
+ export type GetProcessStatsInput = Zod.input<typeof getProcessStats.openWAInput>;
4364
+ export type GetProcessStatsOutput = Zod.output<typeof getProcessStats.openWAOutput>;
4365
+ export type GetLoadedMessageCountInput = Zod.input<typeof getLoadedMessageCount.openWAInput>;
4366
+ export type GetLoadedMessageCountOutput = Zod.output<typeof getLoadedMessageCount.openWAOutput>;
4367
+ export type GetSnapshotInput = Zod.input<typeof getSnapshot.openWAInput>;
4368
+ export type GetSnapshotOutput = Zod.output<typeof getSnapshot.openWAOutput>;
4369
+ export type HealthCheckInput = Zod.input<typeof healthCheck.openWAInput>;
4370
+ export type HealthCheckOutput = Zod.output<typeof healthCheck.openWAOutput>;
4371
+ export type SetMyNameInput = Zod.input<typeof setMyName.openWAInput>;
4372
+ export type SetMyNameOutput = Zod.output<typeof setMyName.openWAOutput>;
4373
+ export type SetMyStatusInput = Zod.input<typeof setMyStatus.openWAInput>;
4374
+ export type SetMyStatusOutput = Zod.output<typeof setMyStatus.openWAOutput>;
4375
+ export type SetProfilePictureInput = Zod.input<typeof setProfilePicture.openWAInput>;
4376
+ export type SetProfilePictureOutput = Zod.output<typeof setProfilePicture.openWAOutput>;
4377
+ export type DecryptMediaInput = Zod.input<typeof decryptMedia.openWAInput>;
4378
+ export type DecryptMediaOutput = Zod.output<typeof decryptMedia.openWAOutput>;
4379
+ export type DownloadMediaInput = Zod.input<typeof downloadMedia.openWAInput>;
4380
+ export type DownloadMediaOutput = Zod.output<typeof downloadMedia.openWAOutput>;
4381
+ export type SendInteractiveInput = Zod.input<typeof sendInteractive.openWAInput>;
4382
+ export type SendInteractiveOutput = Zod.output<typeof sendInteractive.openWAOutput>;
4383
+ export type SendRawMessageInput = Zod.input<typeof sendRawMessage.openWAInput>;
4384
+ export type SendRawMessageOutput = Zod.output<typeof sendRawMessage.openWAOutput>;
3672
4385
  //#endregion
3673
- export { AddLabelInput, AddLabelOutput, AddParticipantInput, AddParticipantOutput, ApproveGroupJoinRequestInput, ApproveGroupJoinRequestOutput, ArchiveChatInput, ArchiveChatOutput, BaseClient, BaseNamespacedClient, BlockContactInput, BlockContactOutput, CheckNumberStatusInput, CheckNumberStatusOutput, CheckReadReceiptsInput, CheckReadReceiptsOutput, ClearChatInput, ClearChatOutput, CreateGroupInput, CreateGroupOutput, DecryptMediaInput, DecryptMediaOutput, DeleteAllStatusInput, DeleteAllStatusOutput, DeleteChatInput, DeleteChatOutput, DeleteMessageInput, DeleteMessageOutput, DeleteStatusInput, DeleteStatusOutput, DemoteParticipantInput, DemoteParticipantOutput, DownloadMediaInput, DownloadMediaOutput, ForwardMessagesInput, ForwardMessagesOutput, GetAllChatIdsInput, GetAllChatIdsOutput, GetAllChatsInput, GetAllChatsOutput, GetAllCommunitiesInput, GetAllCommunitiesOutput, GetAllContactsInput, GetAllContactsOutput, GetAllGroupsInput, GetAllGroupsOutput, GetAllLabelsInput, GetAllLabelsOutput, GetAllMessagesInput, GetAllMessagesOutput, GetBatteryLevelInput, GetBatteryLevelOutput, GetBlockedIdsInput, GetBlockedIdsOutput, GetBusinessProductsInput, GetBusinessProductsOutput, GetBusinessProfileInput, GetBusinessProfileOutput, GetChatInput, GetChatOutput, GetChatWithNonContactsInput, GetChatWithNonContactsOutput, GetChatsByLabelInput, GetChatsByLabelOutput, GetCommonGroupsInput, GetCommonGroupsOutput, GetCommunityAdminIdsInput, GetCommunityAdminIdsOutput, GetCommunityAdminsInput, GetCommunityAdminsOutput, GetCommunityInfoInput, GetCommunityInfoOutput, GetCommunityParticipantIdsInput, GetCommunityParticipantIdsOutput, GetCommunityParticipantsInput, GetCommunityParticipantsOutput, GetConnectionStateInput, GetConnectionStateOutput, GetContactInput, GetContactOutput, GetFeaturesInput, GetFeaturesOutput, GetGroupAdminsInput, GetGroupAdminsOutput, GetGroupInfoInput, GetGroupInfoOutput, GetGroupInviteLinkInput, GetGroupInviteLinkOutput, GetGroupMembersIdInput, GetGroupMembersIdOutput, GetGroupMembersInput, GetGroupMembersOutput, GetHostNumberInput, GetHostNumberOutput, GetKickedGroupsInput, GetKickedGroupsOutput, GetLicenseTypeInput, GetLicenseTypeOutput, GetLoadedMessageCountInput, GetLoadedMessageCountOutput, GetMeInput, GetMeOutput, GetMessageByIdInput, GetMessageByIdOutput, GetMessageInfoInput, GetMessageInfoOutput, GetMessagesForLLMInput, GetMessagesForLLMOutput, GetMyLastMessageInput, GetMyLastMessageOutput, GetNumberProfileInput, GetNumberProfileOutput, GetOrderInput, GetOrderOutput, GetProcessStatsInput, GetProcessStatsOutput, GetProfilePictureInput, GetProfilePictureOutput, GetSnapshotInput, GetSnapshotOutput, GetStarredMessagesInput, GetStarredMessagesOutput, GetStatusInput, GetStatusOutput, GetStoriesInput, GetStoriesOutput, GetUnsentMessagesInput, GetUnsentMessagesOutput, GetUserAgentInput, GetUserAgentOutput, GetVCardsInput, GetVCardsOutput, GetWAVersionInput, GetWAVersionOutput, HealthCheckInput, HealthCheckOutput, IsChatOnlineInput, IsChatOnlineOutput, IsPluggedInput, IsPluggedOutput, JoinGroupViaLinkInput, JoinGroupViaLinkOutput, LeaveGroupInput, LeaveGroupOutput, LoadEarlierMessagesInput, LoadEarlierMessagesOutput, MarkAsReadInput, MarkAsReadOutput, MarkAsUnreadInput, MarkAsUnreadOutput, MuteChatInput, MuteChatOutput, PinChatInput, PinChatOutput, PostImageStatusInput, PostImageStatusOutput, PostTextStatusInput, PostTextStatusOutput, PostVideoStatusInput, PostVideoStatusOutput, PromoteParticipantInput, PromoteParticipantOutput, ReactInput, ReactOutput, RejectGroupJoinRequestInput, RejectGroupJoinRequestOutput, RemoveLabelInput, RemoveLabelOutput, RemoveParticipantInput, RemoveParticipantOutput, RevokeGroupInviteLinkInput, RevokeGroupInviteLinkOutput, SendAdvancedButtonsInput, SendAdvancedButtonsOutput, SendAudioInput, SendAudioOutput, SendBannerInput, SendBannerOutput, SendButtonsInput, SendButtonsOutput, SendContactInput, SendContactOutput, SendFileFromUrlInput, SendFileFromUrlOutput, SendFileInput, SendFileOutput, SendImageInput, SendImageOutput, SendLinkWithAutoPreviewInput, SendLinkWithAutoPreviewOutput, SendListMessageInput, SendListMessageOutput, SendLocationInput, SendLocationOutput, SendMessageWithThumbInput, SendMessageWithThumbOutput, SendMultipleContactsInput, SendMultipleContactsOutput, SendPaymentRequestInput, SendPaymentRequestOutput, SendPollInput, SendPollOutput, SendPttInput, SendPttOutput, SendReplyWithMentionsInput, SendReplyWithMentionsOutput, SendSeenInput, SendSeenOutput, SendTextInput, SendTextOutput, SendTextWithMentionsInput, SendTextWithMentionsOutput, SendVCardInput, SendVCardOutput, SendVideoAsGifInput, SendVideoAsGifOutput, SendYouTubeLinkInput, SendYouTubeLinkOutput, SetChatEphemeralInput, SetChatEphemeralOutput, SetGroupDescriptionInput, SetGroupDescriptionOutput, SetGroupEditToAdminsOnlyInput, SetGroupEditToAdminsOnlyOutput, SetGroupIconInput, SetGroupIconOutput, SetGroupTitleInput, SetGroupTitleOutput, SetGroupToAdminsOnlyInput, SetGroupToAdminsOnlyOutput, SetMyNameInput, SetMyNameOutput, SetMyStatusInput, SetMyStatusOutput, SetProfilePictureInput, SetProfilePictureOutput, StarMessageInput, StarMessageOutput, UnarchiveChatInput, UnarchiveChatOutput, UnblockContactInput, UnblockContactOutput, UnmuteChatInput, UnmuteChatOutput, UnpinChatInput, UnpinChatOutput, UnstarMessageInput, UnstarMessageOutput, clientMethodAliasMap };
3674
4386
  //# sourceMappingURL=index.d.cts.map