@wsapichat/mcp-server 1.0.5 → 3.0.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 (91) hide show
  1. package/README.md +58 -339
  2. package/dist/client/index.d.ts +4 -1
  3. package/dist/client/index.d.ts.map +1 -1
  4. package/dist/client/index.js +47 -28
  5. package/dist/client/index.js.map +1 -1
  6. package/dist/config/index.d.ts +19 -54
  7. package/dist/config/index.d.ts.map +1 -1
  8. package/dist/config/index.js +57 -29
  9. package/dist/config/index.js.map +1 -1
  10. package/dist/index.d.ts +1 -1
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +42 -36
  13. package/dist/index.js.map +1 -1
  14. package/dist/server.d.ts.map +1 -1
  15. package/dist/server.js +127 -59
  16. package/dist/server.js.map +1 -1
  17. package/dist/tools/calls.d.ts +6 -0
  18. package/dist/tools/calls.d.ts.map +1 -0
  19. package/dist/tools/calls.js +26 -0
  20. package/dist/tools/calls.js.map +1 -0
  21. package/dist/tools/chats.d.ts +19 -1
  22. package/dist/tools/chats.d.ts.map +1 -1
  23. package/dist/tools/chats.js +242 -39
  24. package/dist/tools/chats.js.map +1 -1
  25. package/dist/tools/communities.d.ts +36 -0
  26. package/dist/tools/communities.d.ts.map +1 -0
  27. package/dist/tools/communities.js +318 -0
  28. package/dist/tools/communities.js.map +1 -0
  29. package/dist/tools/contacts.d.ts +9 -9
  30. package/dist/tools/contacts.d.ts.map +1 -1
  31. package/dist/tools/contacts.js +68 -158
  32. package/dist/tools/contacts.js.map +1 -1
  33. package/dist/tools/groups.d.ts +33 -1
  34. package/dist/tools/groups.d.ts.map +1 -1
  35. package/dist/tools/groups.js +367 -33
  36. package/dist/tools/groups.js.map +1 -1
  37. package/dist/tools/media.d.ts +6 -0
  38. package/dist/tools/media.d.ts.map +1 -0
  39. package/dist/tools/media.js +39 -0
  40. package/dist/tools/media.js.map +1 -0
  41. package/dist/tools/messaging-advanced.d.ts +1 -1
  42. package/dist/tools/messaging-advanced.d.ts.map +1 -1
  43. package/dist/tools/messaging-advanced.js +135 -281
  44. package/dist/tools/messaging-advanced.js.map +1 -1
  45. package/dist/tools/messaging.d.ts +5 -1
  46. package/dist/tools/messaging.d.ts.map +1 -1
  47. package/dist/tools/messaging.js +241 -319
  48. package/dist/tools/messaging.js.map +1 -1
  49. package/dist/tools/newsletters.d.ts +16 -0
  50. package/dist/tools/newsletters.d.ts.map +1 -0
  51. package/dist/tools/newsletters.js +131 -0
  52. package/dist/tools/newsletters.js.map +1 -0
  53. package/dist/tools/session.d.ts +3 -1
  54. package/dist/tools/session.d.ts.map +1 -1
  55. package/dist/tools/session.js +72 -37
  56. package/dist/tools/session.js.map +1 -1
  57. package/dist/tools/status.d.ts +14 -0
  58. package/dist/tools/status.d.ts.map +1 -0
  59. package/dist/tools/status.js +106 -0
  60. package/dist/tools/status.js.map +1 -0
  61. package/dist/tools/users.d.ts +20 -0
  62. package/dist/tools/users.d.ts.map +1 -0
  63. package/dist/tools/users.js +175 -0
  64. package/dist/tools/users.js.map +1 -0
  65. package/dist/types/api.d.ts +4508 -1726
  66. package/dist/types/api.d.ts.map +1 -1
  67. package/dist/utils/errors.d.ts +1 -1
  68. package/dist/utils/errors.d.ts.map +1 -1
  69. package/dist/utils/errors.js +43 -42
  70. package/dist/utils/errors.js.map +1 -1
  71. package/dist/utils/logger.d.ts +1 -1
  72. package/dist/utils/logger.d.ts.map +1 -1
  73. package/dist/utils/logger.js +22 -22
  74. package/dist/utils/logger.js.map +1 -1
  75. package/dist/validation/schemas.d.ts +310 -651
  76. package/dist/validation/schemas.d.ts.map +1 -1
  77. package/dist/validation/schemas.js +245 -153
  78. package/dist/validation/schemas.js.map +1 -1
  79. package/package.json +25 -25
  80. package/dist/tools/account.d.ts +0 -14
  81. package/dist/tools/account.d.ts.map +0 -1
  82. package/dist/tools/account.js +0 -78
  83. package/dist/tools/account.js.map +0 -1
  84. package/dist/tools/instance.d.ts +0 -12
  85. package/dist/tools/instance.d.ts.map +0 -1
  86. package/dist/tools/instance.js +0 -54
  87. package/dist/tools/instance.js.map +0 -1
  88. package/dist/types/webhooks.d.ts +0 -1001
  89. package/dist/types/webhooks.d.ts.map +0 -1
  90. package/dist/types/webhooks.js +0 -6
  91. package/dist/types/webhooks.js.map +0 -1
@@ -1,732 +1,391 @@
1
- import { z } from 'zod';
1
+ import { z } from "zod";
2
2
  export declare const sendTextMessageSchema: z.ZodObject<{
3
- to: z.ZodUnion<[z.ZodString, z.ZodString]>;
3
+ to: z.ZodString;
4
4
  text: z.ZodString;
5
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5
+ mentions: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
6
  replyTo: z.ZodOptional<z.ZodString>;
7
+ replyToSenderId: z.ZodOptional<z.ZodString>;
7
8
  isForwarded: z.ZodOptional<z.ZodBoolean>;
8
- }, "strip", z.ZodTypeAny, {
9
- text: string;
10
- to: string;
11
- mentions?: string[] | undefined;
12
- replyTo?: string | undefined;
13
- isForwarded?: boolean | undefined;
14
- }, {
15
- text: string;
16
- to: string;
17
- mentions?: string[] | undefined;
18
- replyTo?: string | undefined;
19
- isForwarded?: boolean | undefined;
20
- }>;
21
- export declare const sendImageMessageSchema: z.ZodEffects<z.ZodObject<{
22
- to: z.ZodUnion<[z.ZodString, z.ZodString]>;
23
- imageBase64: z.ZodOptional<z.ZodString>;
24
- imageURL: z.ZodOptional<z.ZodString>;
25
- mimeType: z.ZodEnum<["image/jpeg", "image/png", "image/webp", "image/gif"]>;
26
- caption: z.ZodOptional<z.ZodString>;
27
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28
- replyTo: z.ZodOptional<z.ZodString>;
29
- isForwarded: z.ZodOptional<z.ZodBoolean>;
30
- viewOnce: z.ZodOptional<z.ZodBoolean>;
31
- }, "strip", z.ZodTypeAny, {
32
- to: string;
33
- mimeType: "image/jpeg" | "image/png" | "image/webp" | "image/gif";
34
- mentions?: string[] | undefined;
35
- replyTo?: string | undefined;
36
- isForwarded?: boolean | undefined;
37
- imageBase64?: string | undefined;
38
- imageURL?: string | undefined;
39
- caption?: string | undefined;
40
- viewOnce?: boolean | undefined;
41
- }, {
42
- to: string;
43
- mimeType: "image/jpeg" | "image/png" | "image/webp" | "image/gif";
44
- mentions?: string[] | undefined;
45
- replyTo?: string | undefined;
46
- isForwarded?: boolean | undefined;
47
- imageBase64?: string | undefined;
48
- imageURL?: string | undefined;
49
- caption?: string | undefined;
50
- viewOnce?: boolean | undefined;
51
- }>, {
52
- to: string;
53
- mimeType: "image/jpeg" | "image/png" | "image/webp" | "image/gif";
54
- mentions?: string[] | undefined;
55
- replyTo?: string | undefined;
56
- isForwarded?: boolean | undefined;
57
- imageBase64?: string | undefined;
58
- imageURL?: string | undefined;
59
- caption?: string | undefined;
60
- viewOnce?: boolean | undefined;
61
- }, {
62
- to: string;
63
- mimeType: "image/jpeg" | "image/png" | "image/webp" | "image/gif";
64
- mentions?: string[] | undefined;
65
- replyTo?: string | undefined;
66
- isForwarded?: boolean | undefined;
67
- imageBase64?: string | undefined;
68
- imageURL?: string | undefined;
69
- caption?: string | undefined;
70
- viewOnce?: boolean | undefined;
71
- }>;
72
- export declare const sendVideoMessageSchema: z.ZodEffects<z.ZodObject<{
73
- to: z.ZodUnion<[z.ZodString, z.ZodString]>;
74
- videoBase64: z.ZodOptional<z.ZodString>;
75
- videoURL: z.ZodOptional<z.ZodString>;
76
- mimeType: z.ZodEnum<["video/mp4", "video/3gp", "video/mov", "video/avi"]>;
9
+ ephemeralExpiration: z.ZodOptional<z.ZodEnum<{
10
+ off: "off";
11
+ "24h": "24h";
12
+ "7d": "7d";
13
+ "90d": "90d";
14
+ }>>;
15
+ }, z.core.$strip>;
16
+ export declare const sendMediaMessageSchema: z.ZodObject<{
17
+ to: z.ZodString;
18
+ data: z.ZodOptional<z.ZodString>;
19
+ url: z.ZodOptional<z.ZodString>;
20
+ mimeType: z.ZodOptional<z.ZodString>;
77
21
  caption: z.ZodOptional<z.ZodString>;
78
- viewOnce: z.ZodOptional<z.ZodBoolean>;
79
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
80
- replyTo: z.ZodOptional<z.ZodString>;
81
- isForwarded: z.ZodOptional<z.ZodBoolean>;
82
- }, "strip", z.ZodTypeAny, {
83
- to: string;
84
- mimeType: "video/mp4" | "video/3gp" | "video/mov" | "video/avi";
85
- mentions?: string[] | undefined;
86
- replyTo?: string | undefined;
87
- isForwarded?: boolean | undefined;
88
- caption?: string | undefined;
89
- viewOnce?: boolean | undefined;
90
- videoBase64?: string | undefined;
91
- videoURL?: string | undefined;
92
- }, {
93
- to: string;
94
- mimeType: "video/mp4" | "video/3gp" | "video/mov" | "video/avi";
95
- mentions?: string[] | undefined;
96
- replyTo?: string | undefined;
97
- isForwarded?: boolean | undefined;
98
- caption?: string | undefined;
99
- viewOnce?: boolean | undefined;
100
- videoBase64?: string | undefined;
101
- videoURL?: string | undefined;
102
- }>, {
103
- to: string;
104
- mimeType: "video/mp4" | "video/3gp" | "video/mov" | "video/avi";
105
- mentions?: string[] | undefined;
106
- replyTo?: string | undefined;
107
- isForwarded?: boolean | undefined;
108
- caption?: string | undefined;
109
- viewOnce?: boolean | undefined;
110
- videoBase64?: string | undefined;
111
- videoURL?: string | undefined;
112
- }, {
113
- to: string;
114
- mimeType: "video/mp4" | "video/3gp" | "video/mov" | "video/avi";
115
- mentions?: string[] | undefined;
116
- replyTo?: string | undefined;
117
- isForwarded?: boolean | undefined;
118
- caption?: string | undefined;
119
- viewOnce?: boolean | undefined;
120
- videoBase64?: string | undefined;
121
- videoURL?: string | undefined;
122
- }>;
123
- export declare const sendAudioMessageSchema: z.ZodEffects<z.ZodObject<{
124
- to: z.ZodUnion<[z.ZodString, z.ZodString]>;
125
- audioBase64: z.ZodOptional<z.ZodString>;
126
- audioURL: z.ZodOptional<z.ZodString>;
127
- mimeType: z.ZodEnum<["audio/mpeg", "audio/mp3", "audio/ogg", "audio/wav"]>;
128
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
129
- replyTo: z.ZodOptional<z.ZodString>;
130
- isForwarded: z.ZodOptional<z.ZodBoolean>;
131
- viewOnce: z.ZodOptional<z.ZodBoolean>;
132
- }, "strip", z.ZodTypeAny, {
133
- to: string;
134
- mimeType: "audio/mpeg" | "audio/mp3" | "audio/ogg" | "audio/wav";
135
- mentions?: string[] | undefined;
136
- replyTo?: string | undefined;
137
- isForwarded?: boolean | undefined;
138
- viewOnce?: boolean | undefined;
139
- audioBase64?: string | undefined;
140
- audioURL?: string | undefined;
141
- }, {
142
- to: string;
143
- mimeType: "audio/mpeg" | "audio/mp3" | "audio/ogg" | "audio/wav";
144
- mentions?: string[] | undefined;
145
- replyTo?: string | undefined;
146
- isForwarded?: boolean | undefined;
147
- viewOnce?: boolean | undefined;
148
- audioBase64?: string | undefined;
149
- audioURL?: string | undefined;
150
- }>, {
151
- to: string;
152
- mimeType: "audio/mpeg" | "audio/mp3" | "audio/ogg" | "audio/wav";
153
- mentions?: string[] | undefined;
154
- replyTo?: string | undefined;
155
- isForwarded?: boolean | undefined;
156
- viewOnce?: boolean | undefined;
157
- audioBase64?: string | undefined;
158
- audioURL?: string | undefined;
159
- }, {
160
- to: string;
161
- mimeType: "audio/mpeg" | "audio/mp3" | "audio/ogg" | "audio/wav";
162
- mentions?: string[] | undefined;
163
- replyTo?: string | undefined;
164
- isForwarded?: boolean | undefined;
165
- viewOnce?: boolean | undefined;
166
- audioBase64?: string | undefined;
167
- audioURL?: string | undefined;
168
- }>;
169
- export declare const sendVoiceMessageSchema: z.ZodEffects<z.ZodObject<{
170
- to: z.ZodUnion<[z.ZodString, z.ZodString]>;
171
- voiceBase64: z.ZodOptional<z.ZodString>;
172
- voiceURL: z.ZodOptional<z.ZodString>;
173
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
22
+ mentions: z.ZodOptional<z.ZodArray<z.ZodString>>;
174
23
  replyTo: z.ZodOptional<z.ZodString>;
24
+ replyToSenderId: z.ZodOptional<z.ZodString>;
175
25
  isForwarded: z.ZodOptional<z.ZodBoolean>;
176
26
  viewOnce: z.ZodOptional<z.ZodBoolean>;
177
- }, "strip", z.ZodTypeAny, {
178
- to: string;
179
- mentions?: string[] | undefined;
180
- replyTo?: string | undefined;
181
- isForwarded?: boolean | undefined;
182
- viewOnce?: boolean | undefined;
183
- voiceBase64?: string | undefined;
184
- voiceURL?: string | undefined;
185
- }, {
186
- to: string;
187
- mentions?: string[] | undefined;
188
- replyTo?: string | undefined;
189
- isForwarded?: boolean | undefined;
190
- viewOnce?: boolean | undefined;
191
- voiceBase64?: string | undefined;
192
- voiceURL?: string | undefined;
193
- }>, {
194
- to: string;
195
- mentions?: string[] | undefined;
196
- replyTo?: string | undefined;
197
- isForwarded?: boolean | undefined;
198
- viewOnce?: boolean | undefined;
199
- voiceBase64?: string | undefined;
200
- voiceURL?: string | undefined;
201
- }, {
202
- to: string;
203
- mentions?: string[] | undefined;
204
- replyTo?: string | undefined;
205
- isForwarded?: boolean | undefined;
206
- viewOnce?: boolean | undefined;
207
- voiceBase64?: string | undefined;
208
- voiceURL?: string | undefined;
209
- }>;
210
- export declare const sendDocumentMessageSchema: z.ZodEffects<z.ZodObject<{
211
- to: z.ZodUnion<[z.ZodString, z.ZodString]>;
212
- documentBase64: z.ZodOptional<z.ZodString>;
213
- documentURL: z.ZodOptional<z.ZodString>;
214
- fileName: z.ZodString;
27
+ ephemeralExpiration: z.ZodOptional<z.ZodEnum<{
28
+ off: "off";
29
+ "24h": "24h";
30
+ "7d": "7d";
31
+ "90d": "90d";
32
+ }>>;
33
+ }, z.core.$strip>;
34
+ export declare const sendDocumentMessageSchema: z.ZodObject<{
35
+ to: z.ZodString;
36
+ data: z.ZodOptional<z.ZodString>;
37
+ url: z.ZodOptional<z.ZodString>;
38
+ mimeType: z.ZodOptional<z.ZodString>;
39
+ filename: z.ZodString;
215
40
  caption: z.ZodOptional<z.ZodString>;
216
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
41
+ mentions: z.ZodOptional<z.ZodArray<z.ZodString>>;
217
42
  replyTo: z.ZodOptional<z.ZodString>;
43
+ replyToSenderId: z.ZodOptional<z.ZodString>;
218
44
  isForwarded: z.ZodOptional<z.ZodBoolean>;
219
- }, "strip", z.ZodTypeAny, {
220
- to: string;
221
- fileName: string;
222
- mentions?: string[] | undefined;
223
- replyTo?: string | undefined;
224
- isForwarded?: boolean | undefined;
225
- caption?: string | undefined;
226
- documentBase64?: string | undefined;
227
- documentURL?: string | undefined;
228
- }, {
229
- to: string;
230
- fileName: string;
231
- mentions?: string[] | undefined;
232
- replyTo?: string | undefined;
233
- isForwarded?: boolean | undefined;
234
- caption?: string | undefined;
235
- documentBase64?: string | undefined;
236
- documentURL?: string | undefined;
237
- }>, {
238
- to: string;
239
- fileName: string;
240
- mentions?: string[] | undefined;
241
- replyTo?: string | undefined;
242
- isForwarded?: boolean | undefined;
243
- caption?: string | undefined;
244
- documentBase64?: string | undefined;
245
- documentURL?: string | undefined;
246
- }, {
247
- to: string;
248
- fileName: string;
249
- mentions?: string[] | undefined;
250
- replyTo?: string | undefined;
251
- isForwarded?: boolean | undefined;
252
- caption?: string | undefined;
253
- documentBase64?: string | undefined;
254
- documentURL?: string | undefined;
255
- }>;
256
- export declare const sendStickerMessageSchema: z.ZodEffects<z.ZodObject<{
257
- to: z.ZodUnion<[z.ZodString, z.ZodString]>;
258
- stickerBase64: z.ZodOptional<z.ZodString>;
259
- stickerURL: z.ZodOptional<z.ZodString>;
260
- mimeType: z.ZodEnum<["image/webp"]>;
45
+ ephemeralExpiration: z.ZodOptional<z.ZodEnum<{
46
+ off: "off";
47
+ "24h": "24h";
48
+ "7d": "7d";
49
+ "90d": "90d";
50
+ }>>;
51
+ }, z.core.$strip>;
52
+ export declare const sendStickerMessageSchema: z.ZodObject<{
53
+ to: z.ZodString;
54
+ data: z.ZodOptional<z.ZodString>;
55
+ url: z.ZodOptional<z.ZodString>;
261
56
  isAnimated: z.ZodOptional<z.ZodBoolean>;
262
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
57
+ mentions: z.ZodOptional<z.ZodArray<z.ZodString>>;
263
58
  replyTo: z.ZodOptional<z.ZodString>;
59
+ replyToSenderId: z.ZodOptional<z.ZodString>;
264
60
  isForwarded: z.ZodOptional<z.ZodBoolean>;
265
- }, "strip", z.ZodTypeAny, {
266
- to: string;
267
- mimeType: "image/webp";
268
- mentions?: string[] | undefined;
269
- replyTo?: string | undefined;
270
- isForwarded?: boolean | undefined;
271
- stickerBase64?: string | undefined;
272
- stickerURL?: string | undefined;
273
- isAnimated?: boolean | undefined;
274
- }, {
275
- to: string;
276
- mimeType: "image/webp";
277
- mentions?: string[] | undefined;
278
- replyTo?: string | undefined;
279
- isForwarded?: boolean | undefined;
280
- stickerBase64?: string | undefined;
281
- stickerURL?: string | undefined;
282
- isAnimated?: boolean | undefined;
283
- }>, {
284
- to: string;
285
- mimeType: "image/webp";
286
- mentions?: string[] | undefined;
287
- replyTo?: string | undefined;
288
- isForwarded?: boolean | undefined;
289
- stickerBase64?: string | undefined;
290
- stickerURL?: string | undefined;
291
- isAnimated?: boolean | undefined;
292
- }, {
293
- to: string;
294
- mimeType: "image/webp";
295
- mentions?: string[] | undefined;
296
- replyTo?: string | undefined;
297
- isForwarded?: boolean | undefined;
298
- stickerBase64?: string | undefined;
299
- stickerURL?: string | undefined;
300
- isAnimated?: boolean | undefined;
301
- }>;
61
+ ephemeralExpiration: z.ZodOptional<z.ZodEnum<{
62
+ off: "off";
63
+ "24h": "24h";
64
+ "7d": "7d";
65
+ "90d": "90d";
66
+ }>>;
67
+ }, z.core.$strip>;
302
68
  export declare const sendLocationMessageSchema: z.ZodObject<{
303
- to: z.ZodUnion<[z.ZodString, z.ZodString]>;
69
+ to: z.ZodString;
304
70
  latitude: z.ZodNumber;
305
71
  longitude: z.ZodNumber;
306
72
  name: z.ZodOptional<z.ZodString>;
307
73
  address: z.ZodOptional<z.ZodString>;
308
74
  url: z.ZodOptional<z.ZodString>;
309
- }, "strip", z.ZodTypeAny, {
310
- to: string;
311
- latitude: number;
312
- longitude: number;
313
- url?: string | undefined;
314
- name?: string | undefined;
315
- address?: string | undefined;
316
- }, {
317
- to: string;
318
- latitude: number;
319
- longitude: number;
320
- url?: string | undefined;
321
- name?: string | undefined;
322
- address?: string | undefined;
323
- }>;
324
- export declare const sendContactMessageSchema: z.ZodEffects<z.ZodObject<{
325
- to: z.ZodUnion<[z.ZodString, z.ZodString]>;
75
+ ephemeralExpiration: z.ZodOptional<z.ZodEnum<{
76
+ off: "off";
77
+ "24h": "24h";
78
+ "7d": "7d";
79
+ "90d": "90d";
80
+ }>>;
81
+ }, z.core.$strip>;
82
+ export declare const sendContactMessageSchema: z.ZodObject<{
83
+ to: z.ZodString;
326
84
  displayName: z.ZodOptional<z.ZodString>;
327
- vCard: z.ZodOptional<z.ZodString>;
328
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
85
+ vcard: z.ZodOptional<z.ZodString>;
86
+ mentions: z.ZodOptional<z.ZodArray<z.ZodString>>;
329
87
  replyTo: z.ZodOptional<z.ZodString>;
88
+ replyToSenderId: z.ZodOptional<z.ZodString>;
330
89
  isForwarded: z.ZodOptional<z.ZodBoolean>;
331
- }, "strip", z.ZodTypeAny, {
332
- to: string;
333
- mentions?: string[] | undefined;
334
- replyTo?: string | undefined;
335
- isForwarded?: boolean | undefined;
336
- displayName?: string | undefined;
337
- vCard?: string | undefined;
338
- }, {
339
- to: string;
340
- mentions?: string[] | undefined;
341
- replyTo?: string | undefined;
342
- isForwarded?: boolean | undefined;
343
- displayName?: string | undefined;
344
- vCard?: string | undefined;
345
- }>, {
346
- to: string;
347
- mentions?: string[] | undefined;
348
- replyTo?: string | undefined;
349
- isForwarded?: boolean | undefined;
350
- displayName?: string | undefined;
351
- vCard?: string | undefined;
352
- }, {
353
- to: string;
354
- mentions?: string[] | undefined;
355
- replyTo?: string | undefined;
356
- isForwarded?: boolean | undefined;
357
- displayName?: string | undefined;
358
- vCard?: string | undefined;
359
- }>;
360
- export declare const sendReactionMessageSchema: z.ZodObject<{
361
- messageId: z.ZodString;
362
- to: z.ZodUnion<[z.ZodString, z.ZodString]>;
363
- senderId: z.ZodString;
364
- reaction: z.ZodString;
365
- }, "strip", z.ZodTypeAny, {
366
- to: string;
367
- messageId: string;
368
- senderId: string;
369
- reaction: string;
370
- }, {
371
- to: string;
372
- messageId: string;
373
- senderId: string;
374
- reaction: string;
375
- }>;
90
+ ephemeralExpiration: z.ZodOptional<z.ZodEnum<{
91
+ off: "off";
92
+ "24h": "24h";
93
+ "7d": "7d";
94
+ "90d": "90d";
95
+ }>>;
96
+ }, z.core.$strip>;
376
97
  export declare const sendLinkMessageSchema: z.ZodObject<{
377
- to: z.ZodUnion<[z.ZodString, z.ZodString]>;
98
+ to: z.ZodString;
378
99
  text: z.ZodString;
379
100
  url: z.ZodString;
380
101
  title: z.ZodOptional<z.ZodString>;
381
102
  description: z.ZodOptional<z.ZodString>;
382
103
  jpegThumbnail: z.ZodOptional<z.ZodString>;
383
- mentions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
104
+ mentions: z.ZodOptional<z.ZodArray<z.ZodString>>;
384
105
  replyTo: z.ZodOptional<z.ZodString>;
106
+ replyToSenderId: z.ZodOptional<z.ZodString>;
385
107
  isForwarded: z.ZodOptional<z.ZodBoolean>;
386
- }, "strip", z.ZodTypeAny, {
387
- url: string;
388
- text: string;
389
- to: string;
390
- mentions?: string[] | undefined;
391
- replyTo?: string | undefined;
392
- isForwarded?: boolean | undefined;
393
- title?: string | undefined;
394
- description?: string | undefined;
395
- jpegThumbnail?: string | undefined;
396
- }, {
397
- url: string;
398
- text: string;
399
- to: string;
400
- mentions?: string[] | undefined;
401
- replyTo?: string | undefined;
402
- isForwarded?: boolean | undefined;
403
- title?: string | undefined;
404
- description?: string | undefined;
405
- jpegThumbnail?: string | undefined;
406
- }>;
108
+ ephemeralExpiration: z.ZodOptional<z.ZodEnum<{
109
+ off: "off";
110
+ "24h": "24h";
111
+ "7d": "7d";
112
+ "90d": "90d";
113
+ }>>;
114
+ }, z.core.$strip>;
115
+ export declare const sendReactionMessageSchema: z.ZodObject<{
116
+ messageId: z.ZodString;
117
+ to: z.ZodString;
118
+ senderId: z.ZodOptional<z.ZodString>;
119
+ reaction: z.ZodString;
120
+ }, z.core.$strip>;
407
121
  export declare const editMessageSchema: z.ZodObject<{
408
122
  messageId: z.ZodString;
409
- to: z.ZodUnion<[z.ZodString, z.ZodString]>;
123
+ to: z.ZodString;
410
124
  text: z.ZodString;
411
- }, "strip", z.ZodTypeAny, {
412
- text: string;
413
- to: string;
414
- messageId: string;
415
- }, {
416
- text: string;
417
- to: string;
418
- messageId: string;
419
- }>;
125
+ mentions: z.ZodOptional<z.ZodArray<z.ZodString>>;
126
+ ephemeralExpiration: z.ZodOptional<z.ZodEnum<{
127
+ off: "off";
128
+ "24h": "24h";
129
+ "7d": "7d";
130
+ "90d": "90d";
131
+ }>>;
132
+ }, z.core.$strip>;
420
133
  export declare const deleteMessageSchema: z.ZodObject<{
421
134
  messageId: z.ZodString;
422
- chatId: z.ZodUnion<[z.ZodString, z.ZodString]>;
135
+ chatId: z.ZodString;
423
136
  senderId: z.ZodString;
424
- }, "strip", z.ZodTypeAny, {
425
- messageId: string;
426
- senderId: string;
427
- chatId: string;
428
- }, {
429
- messageId: string;
430
- senderId: string;
431
- chatId: string;
432
- }>;
137
+ }, z.core.$strip>;
433
138
  export declare const deleteMessageForMeSchema: z.ZodObject<{
434
139
  messageId: z.ZodString;
435
- chatId: z.ZodUnion<[z.ZodString, z.ZodString]>;
436
- senderId: z.ZodString;
437
- ifFromMe: z.ZodBoolean;
438
- time: z.ZodString;
439
- }, "strip", z.ZodTypeAny, {
440
- messageId: string;
441
- senderId: string;
442
- chatId: string;
443
- ifFromMe: boolean;
444
- time: string;
445
- }, {
446
- messageId: string;
447
- senderId: string;
448
- chatId: string;
449
- ifFromMe: boolean;
450
- time: string;
451
- }>;
140
+ chatId: z.ZodString;
141
+ senderId: z.ZodOptional<z.ZodString>;
142
+ isFromMe: z.ZodOptional<z.ZodBoolean>;
143
+ timestamp: z.ZodOptional<z.ZodString>;
144
+ }, z.core.$strip>;
452
145
  export declare const markMessageAsReadSchema: z.ZodObject<{
453
146
  messageId: z.ZodString;
454
- chatId: z.ZodUnion<[z.ZodString, z.ZodString]>;
147
+ chatId: z.ZodString;
455
148
  senderId: z.ZodString;
456
- receiptType: z.ZodEnum<["delivered", "sender", "read", "played"]>;
457
- }, "strip", z.ZodTypeAny, {
458
- messageId: string;
459
- senderId: string;
460
- chatId: string;
461
- receiptType: "delivered" | "sender" | "read" | "played";
462
- }, {
463
- messageId: string;
464
- senderId: string;
465
- chatId: string;
466
- receiptType: "delivered" | "sender" | "read" | "played";
467
- }>;
149
+ receiptType: z.ZodEnum<{
150
+ delivered: "delivered";
151
+ sender: "sender";
152
+ read: "read";
153
+ played: "played";
154
+ }>;
155
+ }, z.core.$strip>;
468
156
  export declare const starMessageSchema: z.ZodObject<{
469
157
  messageId: z.ZodString;
470
- chatId: z.ZodUnion<[z.ZodString, z.ZodString]>;
158
+ chatId: z.ZodString;
159
+ senderId: z.ZodString;
160
+ starred: z.ZodOptional<z.ZodBoolean>;
161
+ }, z.core.$strip>;
162
+ export declare const pinMessageSchema: z.ZodObject<{
163
+ messageId: z.ZodString;
164
+ chatId: z.ZodString;
471
165
  senderId: z.ZodString;
472
- }, "strip", z.ZodTypeAny, {
473
- messageId: string;
474
- senderId: string;
475
- chatId: string;
476
- }, {
477
- messageId: string;
478
- senderId: string;
479
- chatId: string;
480
- }>;
166
+ pinned: z.ZodOptional<z.ZodBoolean>;
167
+ pinExpiration: z.ZodOptional<z.ZodString>;
168
+ }, z.core.$strip>;
481
169
  export declare const getContactSchema: z.ZodObject<{
482
- contactId: z.ZodString;
483
- }, "strip", z.ZodTypeAny, {
484
- contactId: string;
485
- }, {
486
- contactId: string;
487
- }>;
170
+ id: z.ZodString;
171
+ }, z.core.$strip>;
488
172
  export declare const createContactSchema: z.ZodObject<{
489
173
  id: z.ZodString;
490
174
  fullName: z.ZodString;
491
- firstName: z.ZodString;
492
- }, "strip", z.ZodTypeAny, {
493
- id: string;
494
- fullName: string;
495
- firstName: string;
496
- }, {
497
- id: string;
498
- fullName: string;
499
- firstName: string;
500
- }>;
501
- export declare const updateContactSchema: z.ZodObject<{
502
- contactId: z.ZodString;
503
- fullName: z.ZodString;
504
- firstName: z.ZodString;
505
- }, "strip", z.ZodTypeAny, {
506
- contactId: string;
507
- fullName: string;
508
- firstName: string;
509
- }, {
510
- contactId: string;
511
- fullName: string;
512
- firstName: string;
513
- }>;
514
- export declare const updateContactFullNameSchema: z.ZodObject<{
515
- contactId: z.ZodString;
516
- fullName: z.ZodString;
517
- }, "strip", z.ZodTypeAny, {
518
- contactId: string;
519
- fullName: string;
520
- }, {
521
- contactId: string;
522
- fullName: string;
523
- }>;
175
+ firstName: z.ZodOptional<z.ZodString>;
176
+ }, z.core.$strip>;
177
+ export declare const blockContactSchema: z.ZodObject<{
178
+ id: z.ZodString;
179
+ }, z.core.$strip>;
524
180
  export declare const createGroupSchema: z.ZodObject<{
525
181
  name: z.ZodString;
526
- participants: z.ZodArray<z.ZodString, "many">;
527
- }, "strip", z.ZodTypeAny, {
528
- name: string;
529
- participants: string[];
530
- }, {
531
- name: string;
532
- participants: string[];
533
- }>;
182
+ participants: z.ZodArray<z.ZodString>;
183
+ }, z.core.$strip>;
534
184
  export declare const getGroupSchema: z.ZodObject<{
535
- groupId: z.ZodString;
536
- }, "strip", z.ZodTypeAny, {
537
- groupId: string;
538
- }, {
539
- groupId: string;
540
- }>;
185
+ id: z.ZodString;
186
+ }, z.core.$strip>;
541
187
  export declare const updateGroupNameSchema: z.ZodObject<{
542
- groupId: z.ZodString;
188
+ id: z.ZodString;
543
189
  name: z.ZodString;
544
- }, "strip", z.ZodTypeAny, {
545
- name: string;
546
- groupId: string;
547
- }, {
548
- name: string;
549
- groupId: string;
550
- }>;
190
+ }, z.core.$strip>;
551
191
  export declare const updateGroupDescriptionSchema: z.ZodObject<{
552
- groupId: z.ZodString;
192
+ id: z.ZodString;
553
193
  description: z.ZodString;
554
- }, "strip", z.ZodTypeAny, {
555
- description: string;
556
- groupId: string;
557
- }, {
558
- description: string;
559
- groupId: string;
560
- }>;
194
+ }, z.core.$strip>;
195
+ export declare const setGroupPictureSchema: z.ZodObject<{
196
+ id: z.ZodString;
197
+ data: z.ZodString;
198
+ }, z.core.$strip>;
561
199
  export declare const updateGroupParticipantsSchema: z.ZodObject<{
200
+ id: z.ZodString;
201
+ participants: z.ZodArray<z.ZodString>;
202
+ action: z.ZodEnum<{
203
+ add: "add";
204
+ remove: "remove";
205
+ promote: "promote";
206
+ demote: "demote";
207
+ }>;
208
+ }, z.core.$strip>;
209
+ export declare const setBoolSettingSchema: z.ZodObject<{
210
+ id: z.ZodString;
211
+ enabled: z.ZodBoolean;
212
+ }, z.core.$strip>;
213
+ export declare const setMemberAddModeSchema: z.ZodObject<{
214
+ id: z.ZodString;
215
+ onlyAdminAdd: z.ZodBoolean;
216
+ }, z.core.$strip>;
217
+ export declare const joinWithLinkSchema: z.ZodObject<{
218
+ code: z.ZodString;
219
+ }, z.core.$strip>;
220
+ export declare const joinWithInviteSchema: z.ZodObject<{
562
221
  groupId: z.ZodString;
563
- participants: z.ZodArray<z.ZodString, "many">;
564
- }, "strip", z.ZodTypeAny, {
565
- participants: string[];
566
- groupId: string;
567
- }, {
568
- participants: string[];
569
- groupId: string;
570
- }>;
571
- export declare const setGroupPictureSchema: z.ZodObject<{
222
+ inviterId: z.ZodString;
223
+ code: z.ZodString;
224
+ expiration: z.ZodOptional<z.ZodNumber>;
225
+ }, z.core.$strip>;
226
+ export declare const getGroupInfoFromLinkSchema: z.ZodObject<{
227
+ code: z.ZodString;
228
+ }, z.core.$strip>;
229
+ export declare const updateGroupRequestsSchema: z.ZodObject<{
230
+ id: z.ZodString;
231
+ participants: z.ZodArray<z.ZodString>;
232
+ action: z.ZodEnum<{
233
+ approve: "approve";
234
+ reject: "reject";
235
+ }>;
236
+ }, z.core.$strip>;
237
+ export declare const createCommunitySchema: z.ZodObject<{
238
+ name: z.ZodString;
239
+ participants: z.ZodOptional<z.ZodArray<z.ZodString>>;
240
+ approvalMode: z.ZodOptional<z.ZodString>;
241
+ }, z.core.$strip>;
242
+ export declare const getCommunitySchema: z.ZodObject<{
243
+ id: z.ZodString;
244
+ }, z.core.$strip>;
245
+ export declare const createCommunityGroupSchema: z.ZodObject<{
246
+ id: z.ZodString;
247
+ name: z.ZodString;
248
+ participants: z.ZodOptional<z.ZodArray<z.ZodString>>;
249
+ }, z.core.$strip>;
250
+ export declare const linkGroupToCommunitySchema: z.ZodObject<{
251
+ id: z.ZodString;
572
252
  groupId: z.ZodString;
573
- pictureBase64: z.ZodString;
574
- }, "strip", z.ZodTypeAny, {
575
- groupId: string;
576
- pictureBase64: string;
577
- }, {
578
- groupId: string;
579
- pictureBase64: string;
580
- }>;
253
+ }, z.core.$strip>;
254
+ export declare const unlinkCommunityGroupSchema: z.ZodObject<{
255
+ id: z.ZodString;
256
+ groupId: z.ZodString;
257
+ }, z.core.$strip>;
581
258
  export declare const getChatSchema: z.ZodObject<{
582
- chatId: z.ZodUnion<[z.ZodString, z.ZodString]>;
583
- }, "strip", z.ZodTypeAny, {
584
- chatId: string;
585
- }, {
586
- chatId: string;
587
- }>;
259
+ chatId: z.ZodString;
260
+ }, z.core.$strip>;
588
261
  export declare const setChatPresenceSchema: z.ZodObject<{
589
- chatId: z.ZodUnion<[z.ZodString, z.ZodString]>;
590
- state: z.ZodEnum<["typing", "recording", "paused"]>;
591
- }, "strip", z.ZodTypeAny, {
592
- chatId: string;
593
- state: "typing" | "recording" | "paused";
594
- }, {
595
- chatId: string;
596
- state: "typing" | "recording" | "paused";
597
- }>;
598
- export declare const updateChatEphemeralSchema: z.ZodObject<{
599
- chatId: z.ZodUnion<[z.ZodString, z.ZodString]>;
600
- ephemeralExpiration: z.ZodEnum<["off", "24h", "7d", "90d"]>;
601
- }, "strip", z.ZodTypeAny, {
602
- chatId: string;
603
- ephemeralExpiration: "off" | "24h" | "7d" | "90d";
604
- }, {
605
- chatId: string;
606
- ephemeralExpiration: "off" | "24h" | "7d" | "90d";
607
- }>;
608
- export declare const updateChatMuteSchema: z.ZodObject<{
609
- chatId: z.ZodUnion<[z.ZodString, z.ZodString]>;
610
- duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
611
- }, "strip", z.ZodTypeAny, {
612
- chatId: string;
613
- duration?: string | null | undefined;
614
- }, {
615
- chatId: string;
616
- duration?: string | null | undefined;
617
- }>;
618
- export declare const updateChatPinSchema: z.ZodObject<{
619
- chatId: z.ZodUnion<[z.ZodString, z.ZodString]>;
620
- pinned: z.ZodBoolean;
621
- }, "strip", z.ZodTypeAny, {
622
- chatId: string;
623
- pinned: boolean;
624
- }, {
625
- chatId: string;
626
- pinned: boolean;
627
- }>;
262
+ chatId: z.ZodString;
263
+ state: z.ZodEnum<{
264
+ typing: "typing";
265
+ recording: "recording";
266
+ paused: "paused";
267
+ }>;
268
+ }, z.core.$strip>;
628
269
  export declare const updateChatArchiveSchema: z.ZodObject<{
629
- chatId: z.ZodUnion<[z.ZodString, z.ZodString]>;
270
+ chatId: z.ZodString;
630
271
  archived: z.ZodBoolean;
631
- }, "strip", z.ZodTypeAny, {
632
- chatId: string;
633
- archived: boolean;
634
- }, {
635
- chatId: string;
636
- archived: boolean;
637
- }>;
272
+ }, z.core.$strip>;
273
+ export declare const updateChatPinSchema: z.ZodObject<{
274
+ chatId: z.ZodString;
275
+ pinned: z.ZodBoolean;
276
+ }, z.core.$strip>;
277
+ export declare const updateChatEphemeralSchema: z.ZodObject<{
278
+ chatId: z.ZodString;
279
+ expiration: z.ZodEnum<{
280
+ off: "off";
281
+ "24h": "24h";
282
+ "7d": "7d";
283
+ "90d": "90d";
284
+ }>;
285
+ }, z.core.$strip>;
286
+ export declare const updateChatMuteSchema: z.ZodObject<{
287
+ chatId: z.ZodString;
288
+ duration: z.ZodEnum<{
289
+ off: "off";
290
+ "8h": "8h";
291
+ "1w": "1w";
292
+ always: "always";
293
+ }>;
294
+ }, z.core.$strip>;
638
295
  export declare const markChatAsReadSchema: z.ZodObject<{
639
- chatId: z.ZodUnion<[z.ZodString, z.ZodString]>;
296
+ chatId: z.ZodString;
640
297
  read: z.ZodBoolean;
641
- }, "strip", z.ZodTypeAny, {
642
- read: boolean;
643
- chatId: string;
644
- }, {
645
- read: boolean;
646
- chatId: string;
647
- }>;
648
- export declare const setAccountNameSchema: z.ZodObject<{
649
- name: z.ZodString;
650
- }, "strip", z.ZodTypeAny, {
651
- name: string;
652
- }, {
653
- name: string;
654
- }>;
655
- export declare const setAccountPictureSchema: z.ZodObject<{
656
- pictureBase64: z.ZodString;
657
- }, "strip", z.ZodTypeAny, {
658
- pictureBase64: string;
659
- }, {
660
- pictureBase64: string;
661
- }>;
662
- export declare const setAccountPresenceSchema: z.ZodObject<{
663
- status: z.ZodEnum<["available", "unavailable"]>;
664
- }, "strip", z.ZodTypeAny, {
665
- status: "available" | "unavailable";
666
- }, {
667
- status: "available" | "unavailable";
668
- }>;
669
- export declare const setAccountStatusSchema: z.ZodObject<{
670
- status: z.ZodString;
671
- }, "strip", z.ZodTypeAny, {
672
- status: string;
673
- }, {
674
- status: string;
675
- }>;
298
+ }, z.core.$strip>;
299
+ export declare const requestChatMessagesSchema: z.ZodObject<{
300
+ chatId: z.ZodString;
301
+ lastMessageId: z.ZodString;
302
+ lastMessageSenderId: z.ZodString;
303
+ count: z.ZodOptional<z.ZodNumber>;
304
+ }, z.core.$strip>;
676
305
  export declare const getSessionLoginCodeSchema: z.ZodObject<{
677
306
  phone: z.ZodString;
678
- }, "strip", z.ZodTypeAny, {
679
- phone: string;
680
- }, {
681
- phone: string;
682
- }>;
683
- export declare const updateInstanceSettingsSchema: z.ZodObject<{
307
+ }, z.core.$strip>;
308
+ export declare const getUserSchema: z.ZodObject<{
309
+ phone: z.ZodString;
310
+ }, z.core.$strip>;
311
+ export declare const updateMyProfileSchema: z.ZodObject<{
684
312
  name: z.ZodOptional<z.ZodString>;
685
- description: z.ZodOptional<z.ZodString>;
686
- pullMode: z.ZodOptional<z.ZodBoolean>;
687
- }, "strip", z.ZodTypeAny, {
688
- name?: string | undefined;
689
- description?: string | undefined;
690
- pullMode?: boolean | undefined;
691
- }, {
692
- name?: string | undefined;
693
- description?: string | undefined;
694
- pullMode?: boolean | undefined;
695
- }>;
313
+ status: z.ZodOptional<z.ZodString>;
314
+ picture: z.ZodOptional<z.ZodString>;
315
+ }, z.core.$strip>;
316
+ export declare const setPresenceSchema: z.ZodObject<{
317
+ presence: z.ZodEnum<{
318
+ available: "available";
319
+ unavailable: "unavailable";
320
+ }>;
321
+ }, z.core.$strip>;
322
+ export declare const setPrivacySettingSchema: z.ZodObject<{
323
+ setting: z.ZodEnum<{
324
+ status: "status";
325
+ groupadd: "groupadd";
326
+ last: "last";
327
+ profile: "profile";
328
+ readreceipts: "readreceipts";
329
+ online: "online";
330
+ calladd: "calladd";
331
+ }>;
332
+ value: z.ZodEnum<{
333
+ all: "all";
334
+ contacts: "contacts";
335
+ contact_blacklist: "contact_blacklist";
336
+ match_last_seen: "match_last_seen";
337
+ known: "known";
338
+ none: "none";
339
+ }>;
340
+ }, z.core.$strip>;
341
+ export declare const bulkCheckUsersSchema: z.ZodObject<{
342
+ phones: z.ZodArray<z.ZodString>;
343
+ }, z.core.$strip>;
696
344
  export declare const rejectCallSchema: z.ZodObject<{
697
345
  callId: z.ZodString;
698
346
  callerId: z.ZodString;
699
- }, "strip", z.ZodTypeAny, {
700
- callId: string;
701
- callerId: string;
702
- }, {
703
- callId: string;
704
- callerId: string;
705
- }>;
347
+ }, z.core.$strip>;
706
348
  export declare const downloadMediaSchema: z.ZodObject<{
707
349
  id: z.ZodString;
708
- }, "strip", z.ZodTypeAny, {
709
- id: string;
710
- }, {
711
- id: string;
712
- }>;
713
- export declare const getUserSchema: z.ZodObject<{
714
- phone: z.ZodString;
715
- }, "strip", z.ZodTypeAny, {
716
- phone: string;
717
- }, {
718
- phone: string;
719
- }>;
350
+ }, z.core.$strip>;
351
+ export declare const createNewsletterSchema: z.ZodObject<{
352
+ name: z.ZodString;
353
+ description: z.ZodOptional<z.ZodString>;
354
+ picture: z.ZodOptional<z.ZodString>;
355
+ }, z.core.$strip>;
356
+ export declare const getNewsletterSchema: z.ZodObject<{
357
+ id: z.ZodString;
358
+ }, z.core.$strip>;
359
+ export declare const getNewsletterByInviteSchema: z.ZodObject<{
360
+ code: z.ZodString;
361
+ }, z.core.$strip>;
362
+ export declare const setNewsletterSubscriptionSchema: z.ZodObject<{
363
+ id: z.ZodString;
364
+ subscribed: z.ZodBoolean;
365
+ }, z.core.$strip>;
366
+ export declare const muteNewsletterSchema: z.ZodObject<{
367
+ id: z.ZodString;
368
+ mute: z.ZodBoolean;
369
+ }, z.core.$strip>;
370
+ export declare const postTextStatusSchema: z.ZodObject<{
371
+ text: z.ZodString;
372
+ }, z.core.$strip>;
373
+ export declare const postMediaStatusSchema: z.ZodObject<{
374
+ data: z.ZodOptional<z.ZodString>;
375
+ url: z.ZodOptional<z.ZodString>;
376
+ mimeType: z.ZodOptional<z.ZodString>;
377
+ caption: z.ZodOptional<z.ZodString>;
378
+ }, z.core.$strip>;
379
+ export declare const deleteStatusSchema: z.ZodObject<{
380
+ messageId: z.ZodString;
381
+ }, z.core.$strip>;
720
382
  export declare function validateInput<T>(schema: z.ZodSchema<T>, data: unknown): T;
721
383
  export type SendTextMessageInput = z.infer<typeof sendTextMessageSchema>;
722
- export type SendImageMessageInput = z.infer<typeof sendImageMessageSchema>;
723
- export type SendVideoMessageInput = z.infer<typeof sendVideoMessageSchema>;
724
- export type SendAudioMessageInput = z.infer<typeof sendAudioMessageSchema>;
725
- export type SendVoiceMessageInput = z.infer<typeof sendVoiceMessageSchema>;
384
+ export type SendMediaMessageInput = z.infer<typeof sendMediaMessageSchema>;
726
385
  export type SendDocumentMessageInput = z.infer<typeof sendDocumentMessageSchema>;
727
386
  export type SendStickerMessageInput = z.infer<typeof sendStickerMessageSchema>;
728
387
  export type SendLocationMessageInput = z.infer<typeof sendLocationMessageSchema>;
729
388
  export type SendContactMessageInput = z.infer<typeof sendContactMessageSchema>;
730
- export type SendReactionMessageInput = z.infer<typeof sendReactionMessageSchema>;
731
389
  export type SendLinkMessageInput = z.infer<typeof sendLinkMessageSchema>;
390
+ export type SendReactionMessageInput = z.infer<typeof sendReactionMessageSchema>;
732
391
  //# sourceMappingURL=schemas.d.ts.map