@mahesvara/discord-mcpserver 1.0.7 → 1.0.9

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 (54) hide show
  1. package/dist/index.js +7 -2835
  2. package/dist/schemas/channel.d.ts +158 -0
  3. package/dist/schemas/channel.js +128 -0
  4. package/dist/schemas/common.d.ts +23 -0
  5. package/dist/schemas/common.js +71 -0
  6. package/dist/schemas/community.d.ts +181 -0
  7. package/dist/schemas/community.js +60 -0
  8. package/dist/schemas/emoji.d.ts +59 -0
  9. package/dist/schemas/emoji.js +29 -0
  10. package/dist/schemas/event.d.ts +62 -0
  11. package/dist/schemas/event.js +33 -0
  12. package/dist/schemas/guild.d.ts +85 -0
  13. package/dist/schemas/guild.js +42 -0
  14. package/dist/schemas/index.d.ts +12 -855
  15. package/dist/schemas/index.js +13 -617
  16. package/dist/schemas/invite.d.ts +40 -0
  17. package/dist/schemas/invite.js +32 -0
  18. package/dist/schemas/member.d.ts +60 -0
  19. package/dist/schemas/member.js +33 -0
  20. package/dist/schemas/message.d.ts +121 -0
  21. package/dist/schemas/message.js +61 -0
  22. package/dist/schemas/moderation.d.ts +343 -0
  23. package/dist/schemas/moderation.js +152 -0
  24. package/dist/schemas/role.d.ts +126 -0
  25. package/dist/schemas/role.js +73 -0
  26. package/dist/schemas/webhook.d.ts +51 -0
  27. package/dist/schemas/webhook.js +33 -0
  28. package/dist/server.d.ts +2 -0
  29. package/dist/server.js +6 -0
  30. package/dist/tools/channel.d.ts +2 -0
  31. package/dist/tools/channel.js +510 -0
  32. package/dist/tools/community.d.ts +2 -0
  33. package/dist/tools/community.js +259 -0
  34. package/dist/tools/emoji.d.ts +2 -0
  35. package/dist/tools/emoji.js +247 -0
  36. package/dist/tools/event.d.ts +2 -0
  37. package/dist/tools/event.js +170 -0
  38. package/dist/tools/guild.d.ts +2 -0
  39. package/dist/tools/guild.js +198 -0
  40. package/dist/tools/index.d.ts +2 -0
  41. package/dist/tools/index.js +24 -0
  42. package/dist/tools/invite.d.ts +2 -0
  43. package/dist/tools/invite.js +143 -0
  44. package/dist/tools/member.d.ts +2 -0
  45. package/dist/tools/member.js +200 -0
  46. package/dist/tools/message.d.ts +2 -0
  47. package/dist/tools/message.js +386 -0
  48. package/dist/tools/moderation.d.ts +2 -0
  49. package/dist/tools/moderation.js +641 -0
  50. package/dist/tools/role.d.ts +2 -0
  51. package/dist/tools/role.js +420 -0
  52. package/dist/tools/webhook.d.ts +2 -0
  53. package/dist/tools/webhook.js +199 -0
  54. package/package.json +1 -1
@@ -1,855 +1,12 @@
1
- import { z } from "zod";
2
- import { ResponseFormat } from "../types.js";
3
- export declare const ResponseFormatSchema: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
4
- export declare const PaginationSchema: z.ZodObject<{
5
- limit: z.ZodDefault<z.ZodNumber>;
6
- offset: z.ZodDefault<z.ZodNumber>;
7
- }, "strip", z.ZodTypeAny, {
8
- limit: number;
9
- offset: number;
10
- }, {
11
- limit?: number | undefined;
12
- offset?: number | undefined;
13
- }>;
14
- export declare const ChannelIdSchema: z.ZodString;
15
- export declare const GuildIdSchema: z.ZodString;
16
- export declare const UserIdSchema: z.ZodString;
17
- export declare const RoleIdSchema: z.ZodString;
18
- export declare const MessageIdSchema: z.ZodString;
19
- export declare const ListGuildsSchema: z.ZodObject<{
20
- response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
21
- }, "strict", z.ZodTypeAny, {
22
- response_format: ResponseFormat;
23
- }, {
24
- response_format?: ResponseFormat | undefined;
25
- }>;
26
- export declare const GetGuildSchema: z.ZodObject<{
27
- guild_id: z.ZodString;
28
- response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
29
- }, "strict", z.ZodTypeAny, {
30
- response_format: ResponseFormat;
31
- guild_id: string;
32
- }, {
33
- guild_id: string;
34
- response_format?: ResponseFormat | undefined;
35
- }>;
36
- export declare const LeaveGuildSchema: z.ZodObject<{
37
- guild_id: z.ZodString;
38
- confirm: z.ZodBoolean;
39
- }, "strict", z.ZodTypeAny, {
40
- guild_id: string;
41
- confirm: boolean;
42
- }, {
43
- guild_id: string;
44
- confirm: boolean;
45
- }>;
46
- export declare const ListChannelsSchema: z.ZodObject<{
47
- guild_id: z.ZodString;
48
- type: z.ZodDefault<z.ZodEnum<["text", "voice", "category", "all"]>>;
49
- response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
50
- }, "strict", z.ZodTypeAny, {
51
- type: "text" | "voice" | "category" | "all";
52
- response_format: ResponseFormat;
53
- guild_id: string;
54
- }, {
55
- guild_id: string;
56
- type?: "text" | "voice" | "category" | "all" | undefined;
57
- response_format?: ResponseFormat | undefined;
58
- }>;
59
- export declare const GetChannelSchema: z.ZodObject<{
60
- channel_id: z.ZodString;
61
- response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
62
- }, "strict", z.ZodTypeAny, {
63
- response_format: ResponseFormat;
64
- channel_id: string;
65
- }, {
66
- channel_id: string;
67
- response_format?: ResponseFormat | undefined;
68
- }>;
69
- export declare const SendMessageSchema: z.ZodObject<{
70
- channel_id: z.ZodString;
71
- content: z.ZodString;
72
- reply_to: z.ZodOptional<z.ZodString>;
73
- }, "strict", z.ZodTypeAny, {
74
- content: string;
75
- channel_id: string;
76
- reply_to?: string | undefined;
77
- }, {
78
- content: string;
79
- channel_id: string;
80
- reply_to?: string | undefined;
81
- }>;
82
- export declare const GetMessagesSchema: z.ZodObject<{
83
- channel_id: z.ZodString;
84
- limit: z.ZodDefault<z.ZodNumber>;
85
- before: z.ZodOptional<z.ZodString>;
86
- after: z.ZodOptional<z.ZodString>;
87
- response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
88
- }, "strict", z.ZodTypeAny, {
89
- limit: number;
90
- response_format: ResponseFormat;
91
- channel_id: string;
92
- before?: string | undefined;
93
- after?: string | undefined;
94
- }, {
95
- channel_id: string;
96
- limit?: number | undefined;
97
- response_format?: ResponseFormat | undefined;
98
- before?: string | undefined;
99
- after?: string | undefined;
100
- }>;
101
- export declare const DeleteMessageSchema: z.ZodObject<{
102
- channel_id: z.ZodString;
103
- message_id: z.ZodString;
104
- }, "strict", z.ZodTypeAny, {
105
- channel_id: string;
106
- message_id: string;
107
- }, {
108
- channel_id: string;
109
- message_id: string;
110
- }>;
111
- export declare const EditMessageSchema: z.ZodObject<{
112
- channel_id: z.ZodString;
113
- message_id: z.ZodString;
114
- content: z.ZodString;
115
- }, "strict", z.ZodTypeAny, {
116
- content: string;
117
- channel_id: string;
118
- message_id: string;
119
- }, {
120
- content: string;
121
- channel_id: string;
122
- message_id: string;
123
- }>;
124
- export declare const ListMembersSchema: z.ZodObject<{
125
- guild_id: z.ZodString;
126
- limit: z.ZodDefault<z.ZodNumber>;
127
- after: z.ZodOptional<z.ZodString>;
128
- response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
129
- }, "strict", z.ZodTypeAny, {
130
- limit: number;
131
- response_format: ResponseFormat;
132
- guild_id: string;
133
- after?: string | undefined;
134
- }, {
135
- guild_id: string;
136
- limit?: number | undefined;
137
- response_format?: ResponseFormat | undefined;
138
- after?: string | undefined;
139
- }>;
140
- export declare const GetMemberSchema: z.ZodObject<{
141
- guild_id: z.ZodString;
142
- user_id: z.ZodString;
143
- response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
144
- }, "strict", z.ZodTypeAny, {
145
- response_format: ResponseFormat;
146
- guild_id: string;
147
- user_id: string;
148
- }, {
149
- guild_id: string;
150
- user_id: string;
151
- response_format?: ResponseFormat | undefined;
152
- }>;
153
- export declare const ListRolesSchema: z.ZodObject<{
154
- guild_id: z.ZodString;
155
- response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
156
- }, "strict", z.ZodTypeAny, {
157
- response_format: ResponseFormat;
158
- guild_id: string;
159
- }, {
160
- guild_id: string;
161
- response_format?: ResponseFormat | undefined;
162
- }>;
163
- export declare const AddRoleSchema: z.ZodObject<{
164
- guild_id: z.ZodString;
165
- user_id: z.ZodString;
166
- role_id: z.ZodString;
167
- }, "strict", z.ZodTypeAny, {
168
- guild_id: string;
169
- user_id: string;
170
- role_id: string;
171
- }, {
172
- guild_id: string;
173
- user_id: string;
174
- role_id: string;
175
- }>;
176
- export declare const RemoveRoleSchema: z.ZodObject<{
177
- guild_id: z.ZodString;
178
- user_id: z.ZodString;
179
- role_id: z.ZodString;
180
- }, "strict", z.ZodTypeAny, {
181
- guild_id: string;
182
- user_id: string;
183
- role_id: string;
184
- }, {
185
- guild_id: string;
186
- user_id: string;
187
- role_id: string;
188
- }>;
189
- export declare const CreateChannelSchema: z.ZodObject<{
190
- guild_id: z.ZodString;
191
- name: z.ZodString;
192
- type: z.ZodDefault<z.ZodEnum<["text", "voice", "category"]>>;
193
- topic: z.ZodOptional<z.ZodString>;
194
- parent_id: z.ZodOptional<z.ZodString>;
195
- nsfw: z.ZodOptional<z.ZodBoolean>;
196
- bitrate: z.ZodOptional<z.ZodNumber>;
197
- user_limit: z.ZodOptional<z.ZodNumber>;
198
- }, "strict", z.ZodTypeAny, {
199
- type: "text" | "voice" | "category";
200
- name: string;
201
- guild_id: string;
202
- nsfw?: boolean | undefined;
203
- topic?: string | undefined;
204
- bitrate?: number | undefined;
205
- parent_id?: string | undefined;
206
- user_limit?: number | undefined;
207
- }, {
208
- name: string;
209
- guild_id: string;
210
- type?: "text" | "voice" | "category" | undefined;
211
- nsfw?: boolean | undefined;
212
- topic?: string | undefined;
213
- bitrate?: number | undefined;
214
- parent_id?: string | undefined;
215
- user_limit?: number | undefined;
216
- }>;
217
- export declare const DeleteChannelSchema: z.ZodObject<{
218
- channel_id: z.ZodString;
219
- }, "strict", z.ZodTypeAny, {
220
- channel_id: string;
221
- }, {
222
- channel_id: string;
223
- }>;
224
- export declare const EditChannelSchema: z.ZodObject<{
225
- channel_id: z.ZodString;
226
- name: z.ZodOptional<z.ZodString>;
227
- topic: z.ZodOptional<z.ZodString>;
228
- parent_id: z.ZodOptional<z.ZodString>;
229
- position: z.ZodOptional<z.ZodNumber>;
230
- nsfw: z.ZodOptional<z.ZodBoolean>;
231
- bitrate: z.ZodOptional<z.ZodNumber>;
232
- user_limit: z.ZodOptional<z.ZodNumber>;
233
- }, "strict", z.ZodTypeAny, {
234
- channel_id: string;
235
- position?: number | undefined;
236
- nsfw?: boolean | undefined;
237
- topic?: string | undefined;
238
- bitrate?: number | undefined;
239
- name?: string | undefined;
240
- parent_id?: string | undefined;
241
- user_limit?: number | undefined;
242
- }, {
243
- channel_id: string;
244
- position?: number | undefined;
245
- nsfw?: boolean | undefined;
246
- topic?: string | undefined;
247
- bitrate?: number | undefined;
248
- name?: string | undefined;
249
- parent_id?: string | undefined;
250
- user_limit?: number | undefined;
251
- }>;
252
- export declare const PermissionOverwriteSchema: z.ZodObject<{
253
- id: z.ZodString;
254
- type: z.ZodEnum<["role", "member"]>;
255
- allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
256
- deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
257
- }, "strip", z.ZodTypeAny, {
258
- type: "member" | "role";
259
- id: string;
260
- allow?: string[] | undefined;
261
- deny?: string[] | undefined;
262
- }, {
263
- type: "member" | "role";
264
- id: string;
265
- allow?: string[] | undefined;
266
- deny?: string[] | undefined;
267
- }>;
268
- export declare const SetChannelPermissionsSchema: z.ZodObject<{
269
- channel_id: z.ZodString;
270
- target_id: z.ZodString;
271
- target_type: z.ZodEnum<["role", "member"]>;
272
- allow: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
273
- deny: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
274
- }, "strict", z.ZodTypeAny, {
275
- channel_id: string;
276
- target_id: string;
277
- target_type: "member" | "role";
278
- allow?: string[] | undefined;
279
- deny?: string[] | undefined;
280
- }, {
281
- channel_id: string;
282
- target_id: string;
283
- target_type: "member" | "role";
284
- allow?: string[] | undefined;
285
- deny?: string[] | undefined;
286
- }>;
287
- export declare const RemoveChannelPermissionsSchema: z.ZodObject<{
288
- channel_id: z.ZodString;
289
- target_id: z.ZodString;
290
- }, "strict", z.ZodTypeAny, {
291
- channel_id: string;
292
- target_id: string;
293
- }, {
294
- channel_id: string;
295
- target_id: string;
296
- }>;
297
- export declare const GetChannelPermissionsSchema: z.ZodObject<{
298
- channel_id: z.ZodString;
299
- response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
300
- }, "strict", z.ZodTypeAny, {
301
- response_format: ResponseFormat;
302
- channel_id: string;
303
- }, {
304
- channel_id: string;
305
- response_format?: ResponseFormat | undefined;
306
- }>;
307
- export declare const SyncChannelPermissionsSchema: z.ZodObject<{
308
- channel_id: z.ZodString;
309
- }, "strict", z.ZodTypeAny, {
310
- channel_id: string;
311
- }, {
312
- channel_id: string;
313
- }>;
314
- export declare const MoveMemberSchema: z.ZodObject<{
315
- guild_id: z.ZodString;
316
- user_id: z.ZodString;
317
- channel_id: z.ZodNullable<z.ZodString>;
318
- }, "strict", z.ZodTypeAny, {
319
- guild_id: string;
320
- channel_id: string | null;
321
- user_id: string;
322
- }, {
323
- guild_id: string;
324
- channel_id: string | null;
325
- user_id: string;
326
- }>;
327
- export declare const KickMemberSchema: z.ZodObject<{
328
- guild_id: z.ZodString;
329
- user_id: z.ZodString;
330
- reason: z.ZodOptional<z.ZodString>;
331
- }, "strict", z.ZodTypeAny, {
332
- guild_id: string;
333
- user_id: string;
334
- reason?: string | undefined;
335
- }, {
336
- guild_id: string;
337
- user_id: string;
338
- reason?: string | undefined;
339
- }>;
340
- export declare const BanMemberSchema: z.ZodObject<{
341
- guild_id: z.ZodString;
342
- user_id: z.ZodString;
343
- reason: z.ZodOptional<z.ZodString>;
344
- delete_message_days: z.ZodDefault<z.ZodNumber>;
345
- }, "strict", z.ZodTypeAny, {
346
- guild_id: string;
347
- user_id: string;
348
- delete_message_days: number;
349
- reason?: string | undefined;
350
- }, {
351
- guild_id: string;
352
- user_id: string;
353
- reason?: string | undefined;
354
- delete_message_days?: number | undefined;
355
- }>;
356
- export declare const UnbanMemberSchema: z.ZodObject<{
357
- guild_id: z.ZodString;
358
- user_id: z.ZodString;
359
- }, "strict", z.ZodTypeAny, {
360
- guild_id: string;
361
- user_id: string;
362
- }, {
363
- guild_id: string;
364
- user_id: string;
365
- }>;
366
- export declare const CreateRoleSchema: z.ZodObject<{
367
- guild_id: z.ZodString;
368
- name: z.ZodString;
369
- color: z.ZodOptional<z.ZodNumber>;
370
- mentionable: z.ZodDefault<z.ZodBoolean>;
371
- hoist: z.ZodDefault<z.ZodBoolean>;
372
- }, "strict", z.ZodTypeAny, {
373
- name: string;
374
- guild_id: string;
375
- mentionable: boolean;
376
- hoist: boolean;
377
- color?: number | undefined;
378
- }, {
379
- name: string;
380
- guild_id: string;
381
- color?: number | undefined;
382
- mentionable?: boolean | undefined;
383
- hoist?: boolean | undefined;
384
- }>;
385
- export declare const DeleteRoleSchema: z.ZodObject<{
386
- guild_id: z.ZodString;
387
- role_id: z.ZodString;
388
- }, "strict", z.ZodTypeAny, {
389
- guild_id: string;
390
- role_id: string;
391
- }, {
392
- guild_id: string;
393
- role_id: string;
394
- }>;
395
- export declare const EditRoleSchema: z.ZodObject<{
396
- guild_id: z.ZodString;
397
- role_id: z.ZodString;
398
- name: z.ZodOptional<z.ZodString>;
399
- color: z.ZodOptional<z.ZodNumber>;
400
- mentionable: z.ZodOptional<z.ZodBoolean>;
401
- hoist: z.ZodOptional<z.ZodBoolean>;
402
- permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
403
- }, "strict", z.ZodTypeAny, {
404
- guild_id: string;
405
- role_id: string;
406
- name?: string | undefined;
407
- permissions?: string[] | undefined;
408
- color?: number | undefined;
409
- mentionable?: boolean | undefined;
410
- hoist?: boolean | undefined;
411
- }, {
412
- guild_id: string;
413
- role_id: string;
414
- name?: string | undefined;
415
- permissions?: string[] | undefined;
416
- color?: number | undefined;
417
- mentionable?: boolean | undefined;
418
- hoist?: boolean | undefined;
419
- }>;
420
- export declare const SetRolePositionsSchema: z.ZodObject<{
421
- guild_id: z.ZodString;
422
- positions: z.ZodArray<z.ZodObject<{
423
- role_id: z.ZodString;
424
- position: z.ZodNumber;
425
- }, "strip", z.ZodTypeAny, {
426
- position: number;
427
- role_id: string;
428
- }, {
429
- position: number;
430
- role_id: string;
431
- }>, "many">;
432
- }, "strict", z.ZodTypeAny, {
433
- guild_id: string;
434
- positions: {
435
- position: number;
436
- role_id: string;
437
- }[];
438
- }, {
439
- guild_id: string;
440
- positions: {
441
- position: number;
442
- role_id: string;
443
- }[];
444
- }>;
445
- export declare const SetNicknameSchema: z.ZodObject<{
446
- guild_id: z.ZodString;
447
- user_id: z.ZodString;
448
- nickname: z.ZodOptional<z.ZodString>;
449
- }, "strict", z.ZodTypeAny, {
450
- guild_id: string;
451
- user_id: string;
452
- nickname?: string | undefined;
453
- }, {
454
- guild_id: string;
455
- user_id: string;
456
- nickname?: string | undefined;
457
- }>;
458
- export declare const AddReactionSchema: z.ZodObject<{
459
- channel_id: z.ZodString;
460
- message_id: z.ZodString;
461
- emoji: z.ZodString;
462
- }, "strict", z.ZodTypeAny, {
463
- emoji: string;
464
- channel_id: string;
465
- message_id: string;
466
- }, {
467
- emoji: string;
468
- channel_id: string;
469
- message_id: string;
470
- }>;
471
- export declare const RemoveReactionSchema: z.ZodObject<{
472
- channel_id: z.ZodString;
473
- message_id: z.ZodString;
474
- emoji: z.ZodString;
475
- }, "strict", z.ZodTypeAny, {
476
- emoji: string;
477
- channel_id: string;
478
- message_id: string;
479
- }, {
480
- emoji: string;
481
- channel_id: string;
482
- message_id: string;
483
- }>;
484
- export declare const PinMessageSchema: z.ZodObject<{
485
- channel_id: z.ZodString;
486
- message_id: z.ZodString;
487
- }, "strict", z.ZodTypeAny, {
488
- channel_id: string;
489
- message_id: string;
490
- }, {
491
- channel_id: string;
492
- message_id: string;
493
- }>;
494
- export declare const UnpinMessageSchema: z.ZodObject<{
495
- channel_id: z.ZodString;
496
- message_id: z.ZodString;
497
- }, "strict", z.ZodTypeAny, {
498
- channel_id: string;
499
- message_id: string;
500
- }, {
501
- channel_id: string;
502
- message_id: string;
503
- }>;
504
- export declare const GetPinnedMessagesSchema: z.ZodObject<{
505
- channel_id: z.ZodString;
506
- response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
507
- }, "strict", z.ZodTypeAny, {
508
- response_format: ResponseFormat;
509
- channel_id: string;
510
- }, {
511
- channel_id: string;
512
- response_format?: ResponseFormat | undefined;
513
- }>;
514
- export declare const EditGuildSchema: z.ZodObject<{
515
- guild_id: z.ZodString;
516
- name: z.ZodOptional<z.ZodString>;
517
- description: z.ZodOptional<z.ZodString>;
518
- afk_channel_id: z.ZodOptional<z.ZodString>;
519
- afk_timeout: z.ZodOptional<z.ZodNumber>;
520
- system_channel_id: z.ZodOptional<z.ZodString>;
521
- rules_channel_id: z.ZodOptional<z.ZodString>;
522
- public_updates_channel_id: z.ZodOptional<z.ZodString>;
523
- verification_level: z.ZodOptional<z.ZodNumber>;
524
- explicit_content_filter: z.ZodOptional<z.ZodNumber>;
525
- default_message_notifications: z.ZodOptional<z.ZodNumber>;
526
- }, "strict", z.ZodTypeAny, {
527
- guild_id: string;
528
- name?: string | undefined;
529
- description?: string | undefined;
530
- afk_channel_id?: string | undefined;
531
- afk_timeout?: number | undefined;
532
- system_channel_id?: string | undefined;
533
- rules_channel_id?: string | undefined;
534
- public_updates_channel_id?: string | undefined;
535
- verification_level?: number | undefined;
536
- explicit_content_filter?: number | undefined;
537
- default_message_notifications?: number | undefined;
538
- }, {
539
- guild_id: string;
540
- name?: string | undefined;
541
- description?: string | undefined;
542
- afk_channel_id?: string | undefined;
543
- afk_timeout?: number | undefined;
544
- system_channel_id?: string | undefined;
545
- rules_channel_id?: string | undefined;
546
- public_updates_channel_id?: string | undefined;
547
- verification_level?: number | undefined;
548
- explicit_content_filter?: number | undefined;
549
- default_message_notifications?: number | undefined;
550
- }>;
551
- export declare const TimeoutMemberSchema: z.ZodObject<{
552
- guild_id: z.ZodString;
553
- user_id: z.ZodString;
554
- duration_minutes: z.ZodNumber;
555
- reason: z.ZodOptional<z.ZodString>;
556
- }, "strict", z.ZodTypeAny, {
557
- guild_id: string;
558
- user_id: string;
559
- duration_minutes: number;
560
- reason?: string | undefined;
561
- }, {
562
- guild_id: string;
563
- user_id: string;
564
- duration_minutes: number;
565
- reason?: string | undefined;
566
- }>;
567
- export declare const ListEmojisSchema: z.ZodObject<{
568
- guild_id: z.ZodString;
569
- response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
570
- }, "strict", z.ZodTypeAny, {
571
- response_format: ResponseFormat;
572
- guild_id: string;
573
- }, {
574
- guild_id: string;
575
- response_format?: ResponseFormat | undefined;
576
- }>;
577
- export declare const CreateEmojiSchema: z.ZodObject<{
578
- guild_id: z.ZodString;
579
- name: z.ZodString;
580
- image_url: z.ZodString;
581
- roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
582
- }, "strict", z.ZodTypeAny, {
583
- name: string;
584
- guild_id: string;
585
- image_url: string;
586
- roles?: string[] | undefined;
587
- }, {
588
- name: string;
589
- guild_id: string;
590
- image_url: string;
591
- roles?: string[] | undefined;
592
- }>;
593
- export declare const DeleteEmojiSchema: z.ZodObject<{
594
- guild_id: z.ZodString;
595
- emoji_id: z.ZodString;
596
- }, "strict", z.ZodTypeAny, {
597
- guild_id: string;
598
- emoji_id: string;
599
- }, {
600
- guild_id: string;
601
- emoji_id: string;
602
- }>;
603
- export declare const ListInvitesSchema: z.ZodObject<{
604
- guild_id: z.ZodString;
605
- response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
606
- }, "strict", z.ZodTypeAny, {
607
- response_format: ResponseFormat;
608
- guild_id: string;
609
- }, {
610
- guild_id: string;
611
- response_format?: ResponseFormat | undefined;
612
- }>;
613
- export declare const CreateInviteSchema: z.ZodObject<{
614
- channel_id: z.ZodString;
615
- max_age: z.ZodDefault<z.ZodNumber>;
616
- max_uses: z.ZodDefault<z.ZodNumber>;
617
- temporary: z.ZodDefault<z.ZodBoolean>;
618
- unique: z.ZodDefault<z.ZodBoolean>;
619
- }, "strict", z.ZodTypeAny, {
620
- channel_id: string;
621
- max_age: number;
622
- max_uses: number;
623
- temporary: boolean;
624
- unique: boolean;
625
- }, {
626
- channel_id: string;
627
- max_age?: number | undefined;
628
- max_uses?: number | undefined;
629
- temporary?: boolean | undefined;
630
- unique?: boolean | undefined;
631
- }>;
632
- export declare const DeleteInviteSchema: z.ZodObject<{
633
- invite_code: z.ZodString;
634
- }, "strict", z.ZodTypeAny, {
635
- invite_code: string;
636
- }, {
637
- invite_code: string;
638
- }>;
639
- export declare const ListWebhooksSchema: z.ZodObject<{
640
- guild_id: z.ZodOptional<z.ZodString>;
641
- channel_id: z.ZodOptional<z.ZodString>;
642
- response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
643
- }, "strict", z.ZodTypeAny, {
644
- response_format: ResponseFormat;
645
- guild_id?: string | undefined;
646
- channel_id?: string | undefined;
647
- }, {
648
- response_format?: ResponseFormat | undefined;
649
- guild_id?: string | undefined;
650
- channel_id?: string | undefined;
651
- }>;
652
- export declare const CreateWebhookSchema: z.ZodObject<{
653
- channel_id: z.ZodString;
654
- name: z.ZodString;
655
- avatar_url: z.ZodOptional<z.ZodString>;
656
- }, "strict", z.ZodTypeAny, {
657
- name: string;
658
- channel_id: string;
659
- avatar_url?: string | undefined;
660
- }, {
661
- name: string;
662
- channel_id: string;
663
- avatar_url?: string | undefined;
664
- }>;
665
- export declare const DeleteWebhookSchema: z.ZodObject<{
666
- webhook_id: z.ZodString;
667
- }, "strict", z.ZodTypeAny, {
668
- webhook_id: string;
669
- }, {
670
- webhook_id: string;
671
- }>;
672
- export declare const EditWebhookSchema: z.ZodObject<{
673
- webhook_id: z.ZodString;
674
- name: z.ZodOptional<z.ZodString>;
675
- channel_id: z.ZodOptional<z.ZodString>;
676
- }, "strict", z.ZodTypeAny, {
677
- webhook_id: string;
678
- name?: string | undefined;
679
- channel_id?: string | undefined;
680
- }, {
681
- webhook_id: string;
682
- name?: string | undefined;
683
- channel_id?: string | undefined;
684
- }>;
685
- export declare const GetAuditLogSchema: z.ZodObject<{
686
- guild_id: z.ZodString;
687
- user_id: z.ZodOptional<z.ZodString>;
688
- action_type: z.ZodOptional<z.ZodNumber>;
689
- limit: z.ZodDefault<z.ZodNumber>;
690
- response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
691
- }, "strict", z.ZodTypeAny, {
692
- limit: number;
693
- response_format: ResponseFormat;
694
- guild_id: string;
695
- user_id?: string | undefined;
696
- action_type?: number | undefined;
697
- }, {
698
- guild_id: string;
699
- limit?: number | undefined;
700
- response_format?: ResponseFormat | undefined;
701
- user_id?: string | undefined;
702
- action_type?: number | undefined;
703
- }>;
704
- export declare const PruneMembersSchema: z.ZodObject<{
705
- guild_id: z.ZodString;
706
- days: z.ZodNumber;
707
- include_roles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
708
- dry_run: z.ZodDefault<z.ZodBoolean>;
709
- }, "strict", z.ZodTypeAny, {
710
- guild_id: string;
711
- days: number;
712
- dry_run: boolean;
713
- include_roles?: string[] | undefined;
714
- }, {
715
- guild_id: string;
716
- days: number;
717
- include_roles?: string[] | undefined;
718
- dry_run?: boolean | undefined;
719
- }>;
720
- export declare const ListStickersSchema: z.ZodObject<{
721
- guild_id: z.ZodString;
722
- response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
723
- }, "strict", z.ZodTypeAny, {
724
- response_format: ResponseFormat;
725
- guild_id: string;
726
- }, {
727
- guild_id: string;
728
- response_format?: ResponseFormat | undefined;
729
- }>;
730
- export declare const DeleteStickerSchema: z.ZodObject<{
731
- guild_id: z.ZodString;
732
- sticker_id: z.ZodString;
733
- }, "strict", z.ZodTypeAny, {
734
- guild_id: string;
735
- sticker_id: string;
736
- }, {
737
- guild_id: string;
738
- sticker_id: string;
739
- }>;
740
- export declare const ListEventsSchema: z.ZodObject<{
741
- guild_id: z.ZodString;
742
- response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
743
- }, "strict", z.ZodTypeAny, {
744
- response_format: ResponseFormat;
745
- guild_id: string;
746
- }, {
747
- guild_id: string;
748
- response_format?: ResponseFormat | undefined;
749
- }>;
750
- export declare const CreateEventSchema: z.ZodObject<{
751
- guild_id: z.ZodString;
752
- name: z.ZodString;
753
- description: z.ZodOptional<z.ZodString>;
754
- scheduled_start_time: z.ZodString;
755
- scheduled_end_time: z.ZodOptional<z.ZodString>;
756
- entity_type: z.ZodEnum<["stage", "voice", "external"]>;
757
- channel_id: z.ZodOptional<z.ZodString>;
758
- location: z.ZodOptional<z.ZodString>;
759
- }, "strict", z.ZodTypeAny, {
760
- name: string;
761
- guild_id: string;
762
- scheduled_start_time: string;
763
- entity_type: "voice" | "stage" | "external";
764
- description?: string | undefined;
765
- channel_id?: string | undefined;
766
- scheduled_end_time?: string | undefined;
767
- location?: string | undefined;
768
- }, {
769
- name: string;
770
- guild_id: string;
771
- scheduled_start_time: string;
772
- entity_type: "voice" | "stage" | "external";
773
- description?: string | undefined;
774
- channel_id?: string | undefined;
775
- scheduled_end_time?: string | undefined;
776
- location?: string | undefined;
777
- }>;
778
- export declare const DeleteEventSchema: z.ZodObject<{
779
- guild_id: z.ZodString;
780
- event_id: z.ZodString;
781
- }, "strict", z.ZodTypeAny, {
782
- guild_id: string;
783
- event_id: string;
784
- }, {
785
- guild_id: string;
786
- event_id: string;
787
- }>;
788
- export declare const ListBansSchema: z.ZodObject<{
789
- guild_id: z.ZodString;
790
- limit: z.ZodDefault<z.ZodNumber>;
791
- response_format: z.ZodDefault<z.ZodNativeEnum<typeof ResponseFormat>>;
792
- }, "strict", z.ZodTypeAny, {
793
- limit: number;
794
- response_format: ResponseFormat;
795
- guild_id: string;
796
- }, {
797
- guild_id: string;
798
- limit?: number | undefined;
799
- response_format?: ResponseFormat | undefined;
800
- }>;
801
- export type ListGuildsInput = z.infer<typeof ListGuildsSchema>;
802
- export type GetGuildInput = z.infer<typeof GetGuildSchema>;
803
- export type LeaveGuildInput = z.infer<typeof LeaveGuildSchema>;
804
- export type ListChannelsInput = z.infer<typeof ListChannelsSchema>;
805
- export type GetChannelInput = z.infer<typeof GetChannelSchema>;
806
- export type SendMessageInput = z.infer<typeof SendMessageSchema>;
807
- export type GetMessagesInput = z.infer<typeof GetMessagesSchema>;
808
- export type DeleteMessageInput = z.infer<typeof DeleteMessageSchema>;
809
- export type EditMessageInput = z.infer<typeof EditMessageSchema>;
810
- export type ListMembersInput = z.infer<typeof ListMembersSchema>;
811
- export type GetMemberInput = z.infer<typeof GetMemberSchema>;
812
- export type ListRolesInput = z.infer<typeof ListRolesSchema>;
813
- export type AddRoleInput = z.infer<typeof AddRoleSchema>;
814
- export type RemoveRoleInput = z.infer<typeof RemoveRoleSchema>;
815
- export type CreateChannelInput = z.infer<typeof CreateChannelSchema>;
816
- export type DeleteChannelInput = z.infer<typeof DeleteChannelSchema>;
817
- export type EditChannelInput = z.infer<typeof EditChannelSchema>;
818
- export type SetChannelPermissionsInput = z.infer<typeof SetChannelPermissionsSchema>;
819
- export type RemoveChannelPermissionsInput = z.infer<typeof RemoveChannelPermissionsSchema>;
820
- export type GetChannelPermissionsInput = z.infer<typeof GetChannelPermissionsSchema>;
821
- export type SyncChannelPermissionsInput = z.infer<typeof SyncChannelPermissionsSchema>;
822
- export type MoveMemberInput = z.infer<typeof MoveMemberSchema>;
823
- export type KickMemberInput = z.infer<typeof KickMemberSchema>;
824
- export type BanMemberInput = z.infer<typeof BanMemberSchema>;
825
- export type UnbanMemberInput = z.infer<typeof UnbanMemberSchema>;
826
- export type CreateRoleInput = z.infer<typeof CreateRoleSchema>;
827
- export type DeleteRoleInput = z.infer<typeof DeleteRoleSchema>;
828
- export type EditRoleInput = z.infer<typeof EditRoleSchema>;
829
- export type SetRolePositionsInput = z.infer<typeof SetRolePositionsSchema>;
830
- export type SetNicknameInput = z.infer<typeof SetNicknameSchema>;
831
- export type AddReactionInput = z.infer<typeof AddReactionSchema>;
832
- export type RemoveReactionInput = z.infer<typeof RemoveReactionSchema>;
833
- export type PinMessageInput = z.infer<typeof PinMessageSchema>;
834
- export type UnpinMessageInput = z.infer<typeof UnpinMessageSchema>;
835
- export type GetPinnedMessagesInput = z.infer<typeof GetPinnedMessagesSchema>;
836
- export type EditGuildInput = z.infer<typeof EditGuildSchema>;
837
- export type TimeoutMemberInput = z.infer<typeof TimeoutMemberSchema>;
838
- export type ListEmojisInput = z.infer<typeof ListEmojisSchema>;
839
- export type CreateEmojiInput = z.infer<typeof CreateEmojiSchema>;
840
- export type DeleteEmojiInput = z.infer<typeof DeleteEmojiSchema>;
841
- export type ListInvitesInput = z.infer<typeof ListInvitesSchema>;
842
- export type CreateInviteInput = z.infer<typeof CreateInviteSchema>;
843
- export type DeleteInviteInput = z.infer<typeof DeleteInviteSchema>;
844
- export type ListWebhooksInput = z.infer<typeof ListWebhooksSchema>;
845
- export type CreateWebhookInput = z.infer<typeof CreateWebhookSchema>;
846
- export type DeleteWebhookInput = z.infer<typeof DeleteWebhookSchema>;
847
- export type EditWebhookInput = z.infer<typeof EditWebhookSchema>;
848
- export type GetAuditLogInput = z.infer<typeof GetAuditLogSchema>;
849
- export type PruneMembersInput = z.infer<typeof PruneMembersSchema>;
850
- export type ListStickersInput = z.infer<typeof ListStickersSchema>;
851
- export type DeleteStickerInput = z.infer<typeof DeleteStickerSchema>;
852
- export type ListEventsInput = z.infer<typeof ListEventsSchema>;
853
- export type CreateEventInput = z.infer<typeof CreateEventSchema>;
854
- export type DeleteEventInput = z.infer<typeof DeleteEventSchema>;
855
- export type ListBansInput = z.infer<typeof ListBansSchema>;
1
+ export * from "./common.js";
2
+ export * from "./guild.js";
3
+ export * from "./channel.js";
4
+ export * from "./message.js";
5
+ export * from "./member.js";
6
+ export * from "./role.js";
7
+ export * from "./moderation.js";
8
+ export * from "./emoji.js";
9
+ export * from "./webhook.js";
10
+ export * from "./invite.js";
11
+ export * from "./event.js";
12
+ export * from "./community.js";