@bubblelab/bubble-core 0.1.254 → 0.1.261

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/bubble-bundle.d.ts +148 -31
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +9 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  6. package/dist/bubbles/service-bubble/ai-agent.js +9 -2
  7. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  8. package/dist/bubbles/service-bubble/asana/asana.d.ts +1232 -0
  9. package/dist/bubbles/service-bubble/asana/asana.d.ts.map +1 -0
  10. package/dist/bubbles/service-bubble/asana/asana.js +809 -0
  11. package/dist/bubbles/service-bubble/asana/asana.js.map +1 -0
  12. package/dist/bubbles/service-bubble/asana/asana.schema.d.ts +1169 -0
  13. package/dist/bubbles/service-bubble/asana/asana.schema.d.ts.map +1 -0
  14. package/dist/bubbles/service-bubble/asana/asana.schema.js +740 -0
  15. package/dist/bubbles/service-bubble/asana/asana.schema.js.map +1 -0
  16. package/dist/bubbles/service-bubble/asana/index.d.ts +3 -0
  17. package/dist/bubbles/service-bubble/asana/index.d.ts.map +1 -0
  18. package/dist/bubbles/service-bubble/asana/index.js +3 -0
  19. package/dist/bubbles/service-bubble/asana/index.js.map +1 -0
  20. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +2 -2
  21. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +2 -2
  22. package/dist/bubbles/service-bubble/discord/discord.d.ts +778 -0
  23. package/dist/bubbles/service-bubble/discord/discord.d.ts.map +1 -0
  24. package/dist/bubbles/service-bubble/discord/discord.js +370 -0
  25. package/dist/bubbles/service-bubble/discord/discord.js.map +1 -0
  26. package/dist/bubbles/service-bubble/discord/discord.schema.d.ts +739 -0
  27. package/dist/bubbles/service-bubble/discord/discord.schema.d.ts.map +1 -0
  28. package/dist/bubbles/service-bubble/discord/discord.schema.js +352 -0
  29. package/dist/bubbles/service-bubble/discord/discord.schema.js.map +1 -0
  30. package/dist/bubbles/service-bubble/discord/index.d.ts +3 -0
  31. package/dist/bubbles/service-bubble/discord/index.d.ts.map +1 -0
  32. package/dist/bubbles/service-bubble/discord/index.js +3 -0
  33. package/dist/bubbles/service-bubble/discord/index.js.map +1 -0
  34. package/dist/bubbles/service-bubble/salesforce/index.d.ts +3 -0
  35. package/dist/bubbles/service-bubble/salesforce/index.d.ts.map +1 -0
  36. package/dist/bubbles/service-bubble/salesforce/index.js +3 -0
  37. package/dist/bubbles/service-bubble/salesforce/index.js.map +1 -0
  38. package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts +209 -0
  39. package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts.map +1 -0
  40. package/dist/bubbles/service-bubble/salesforce/salesforce.js +221 -0
  41. package/dist/bubbles/service-bubble/salesforce/salesforce.js.map +1 -0
  42. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts +179 -0
  43. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts.map +1 -0
  44. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js +127 -0
  45. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js.map +1 -0
  46. package/dist/bubbles/service-bubble/snowflake/snowflake.d.ts.map +1 -1
  47. package/dist/bubbles/service-bubble/snowflake/snowflake.js +1 -1
  48. package/dist/bubbles/service-bubble/snowflake/snowflake.js.map +1 -1
  49. package/dist/bubbles.json +3945 -4
  50. package/dist/index.d.ts +6 -0
  51. package/dist/index.d.ts.map +1 -1
  52. package/dist/index.js +3 -0
  53. package/dist/index.js.map +1 -1
  54. package/package.json +2 -2
@@ -0,0 +1,739 @@
1
+ import { z } from 'zod';
2
+ import { CredentialType } from '@bubblelab/shared-schemas';
3
+ export declare const DiscordParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
4
+ operation: z.ZodLiteral<"send_message">;
5
+ channel_id: z.ZodString;
6
+ content: z.ZodOptional<z.ZodString>;
7
+ embeds: z.ZodOptional<z.ZodArray<z.ZodObject<{
8
+ title: z.ZodOptional<z.ZodString>;
9
+ description: z.ZodOptional<z.ZodString>;
10
+ url: z.ZodOptional<z.ZodString>;
11
+ color: z.ZodOptional<z.ZodNumber>;
12
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
13
+ name: z.ZodString;
14
+ value: z.ZodString;
15
+ inline: z.ZodOptional<z.ZodBoolean>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ value: string;
18
+ name: string;
19
+ inline?: boolean | undefined;
20
+ }, {
21
+ value: string;
22
+ name: string;
23
+ inline?: boolean | undefined;
24
+ }>, "many">>;
25
+ footer: z.ZodOptional<z.ZodObject<{
26
+ text: z.ZodString;
27
+ icon_url: z.ZodOptional<z.ZodString>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ text: string;
30
+ icon_url?: string | undefined;
31
+ }, {
32
+ text: string;
33
+ icon_url?: string | undefined;
34
+ }>>;
35
+ thumbnail: z.ZodOptional<z.ZodObject<{
36
+ url: z.ZodString;
37
+ }, "strip", z.ZodTypeAny, {
38
+ url: string;
39
+ }, {
40
+ url: string;
41
+ }>>;
42
+ image: z.ZodOptional<z.ZodObject<{
43
+ url: z.ZodString;
44
+ }, "strip", z.ZodTypeAny, {
45
+ url: string;
46
+ }, {
47
+ url: string;
48
+ }>>;
49
+ author: z.ZodOptional<z.ZodObject<{
50
+ name: z.ZodString;
51
+ url: z.ZodOptional<z.ZodString>;
52
+ icon_url: z.ZodOptional<z.ZodString>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ name: string;
55
+ url?: string | undefined;
56
+ icon_url?: string | undefined;
57
+ }, {
58
+ name: string;
59
+ url?: string | undefined;
60
+ icon_url?: string | undefined;
61
+ }>>;
62
+ timestamp: z.ZodOptional<z.ZodString>;
63
+ }, "strip", z.ZodTypeAny, {
64
+ description?: string | undefined;
65
+ title?: string | undefined;
66
+ url?: string | undefined;
67
+ image?: {
68
+ url: string;
69
+ } | undefined;
70
+ fields?: {
71
+ value: string;
72
+ name: string;
73
+ inline?: boolean | undefined;
74
+ }[] | undefined;
75
+ color?: number | undefined;
76
+ footer?: {
77
+ text: string;
78
+ icon_url?: string | undefined;
79
+ } | undefined;
80
+ timestamp?: string | undefined;
81
+ thumbnail?: {
82
+ url: string;
83
+ } | undefined;
84
+ author?: {
85
+ name: string;
86
+ url?: string | undefined;
87
+ icon_url?: string | undefined;
88
+ } | undefined;
89
+ }, {
90
+ description?: string | undefined;
91
+ title?: string | undefined;
92
+ url?: string | undefined;
93
+ image?: {
94
+ url: string;
95
+ } | undefined;
96
+ fields?: {
97
+ value: string;
98
+ name: string;
99
+ inline?: boolean | undefined;
100
+ }[] | undefined;
101
+ color?: number | undefined;
102
+ footer?: {
103
+ text: string;
104
+ icon_url?: string | undefined;
105
+ } | undefined;
106
+ timestamp?: string | undefined;
107
+ thumbnail?: {
108
+ url: string;
109
+ } | undefined;
110
+ author?: {
111
+ name: string;
112
+ url?: string | undefined;
113
+ icon_url?: string | undefined;
114
+ } | undefined;
115
+ }>, "many">>;
116
+ tts: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
117
+ reply_to: z.ZodOptional<z.ZodString>;
118
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
119
+ }, "strip", z.ZodTypeAny, {
120
+ operation: "send_message";
121
+ channel_id: string;
122
+ tts: boolean;
123
+ content?: string | undefined;
124
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
125
+ reply_to?: string | undefined;
126
+ embeds?: {
127
+ description?: string | undefined;
128
+ title?: string | undefined;
129
+ url?: string | undefined;
130
+ image?: {
131
+ url: string;
132
+ } | undefined;
133
+ fields?: {
134
+ value: string;
135
+ name: string;
136
+ inline?: boolean | undefined;
137
+ }[] | undefined;
138
+ color?: number | undefined;
139
+ footer?: {
140
+ text: string;
141
+ icon_url?: string | undefined;
142
+ } | undefined;
143
+ timestamp?: string | undefined;
144
+ thumbnail?: {
145
+ url: string;
146
+ } | undefined;
147
+ author?: {
148
+ name: string;
149
+ url?: string | undefined;
150
+ icon_url?: string | undefined;
151
+ } | undefined;
152
+ }[] | undefined;
153
+ }, {
154
+ operation: "send_message";
155
+ channel_id: string;
156
+ content?: string | undefined;
157
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
158
+ reply_to?: string | undefined;
159
+ embeds?: {
160
+ description?: string | undefined;
161
+ title?: string | undefined;
162
+ url?: string | undefined;
163
+ image?: {
164
+ url: string;
165
+ } | undefined;
166
+ fields?: {
167
+ value: string;
168
+ name: string;
169
+ inline?: boolean | undefined;
170
+ }[] | undefined;
171
+ color?: number | undefined;
172
+ footer?: {
173
+ text: string;
174
+ icon_url?: string | undefined;
175
+ } | undefined;
176
+ timestamp?: string | undefined;
177
+ thumbnail?: {
178
+ url: string;
179
+ } | undefined;
180
+ author?: {
181
+ name: string;
182
+ url?: string | undefined;
183
+ icon_url?: string | undefined;
184
+ } | undefined;
185
+ }[] | undefined;
186
+ tts?: boolean | undefined;
187
+ }>, z.ZodObject<{
188
+ operation: z.ZodLiteral<"list_messages">;
189
+ channel_id: z.ZodString;
190
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
191
+ before: z.ZodOptional<z.ZodString>;
192
+ after: z.ZodOptional<z.ZodString>;
193
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
194
+ }, "strip", z.ZodTypeAny, {
195
+ operation: "list_messages";
196
+ limit: number;
197
+ channel_id: string;
198
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
199
+ after?: string | undefined;
200
+ before?: string | undefined;
201
+ }, {
202
+ operation: "list_messages";
203
+ channel_id: string;
204
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
205
+ limit?: number | undefined;
206
+ after?: string | undefined;
207
+ before?: string | undefined;
208
+ }>, z.ZodObject<{
209
+ operation: z.ZodLiteral<"edit_message">;
210
+ channel_id: z.ZodString;
211
+ message_id: z.ZodString;
212
+ content: z.ZodOptional<z.ZodString>;
213
+ embeds: z.ZodOptional<z.ZodArray<z.ZodObject<{
214
+ title: z.ZodOptional<z.ZodString>;
215
+ description: z.ZodOptional<z.ZodString>;
216
+ url: z.ZodOptional<z.ZodString>;
217
+ color: z.ZodOptional<z.ZodNumber>;
218
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
219
+ name: z.ZodString;
220
+ value: z.ZodString;
221
+ inline: z.ZodOptional<z.ZodBoolean>;
222
+ }, "strip", z.ZodTypeAny, {
223
+ value: string;
224
+ name: string;
225
+ inline?: boolean | undefined;
226
+ }, {
227
+ value: string;
228
+ name: string;
229
+ inline?: boolean | undefined;
230
+ }>, "many">>;
231
+ footer: z.ZodOptional<z.ZodObject<{
232
+ text: z.ZodString;
233
+ icon_url: z.ZodOptional<z.ZodString>;
234
+ }, "strip", z.ZodTypeAny, {
235
+ text: string;
236
+ icon_url?: string | undefined;
237
+ }, {
238
+ text: string;
239
+ icon_url?: string | undefined;
240
+ }>>;
241
+ thumbnail: z.ZodOptional<z.ZodObject<{
242
+ url: z.ZodString;
243
+ }, "strip", z.ZodTypeAny, {
244
+ url: string;
245
+ }, {
246
+ url: string;
247
+ }>>;
248
+ image: z.ZodOptional<z.ZodObject<{
249
+ url: z.ZodString;
250
+ }, "strip", z.ZodTypeAny, {
251
+ url: string;
252
+ }, {
253
+ url: string;
254
+ }>>;
255
+ author: z.ZodOptional<z.ZodObject<{
256
+ name: z.ZodString;
257
+ url: z.ZodOptional<z.ZodString>;
258
+ icon_url: z.ZodOptional<z.ZodString>;
259
+ }, "strip", z.ZodTypeAny, {
260
+ name: string;
261
+ url?: string | undefined;
262
+ icon_url?: string | undefined;
263
+ }, {
264
+ name: string;
265
+ url?: string | undefined;
266
+ icon_url?: string | undefined;
267
+ }>>;
268
+ timestamp: z.ZodOptional<z.ZodString>;
269
+ }, "strip", z.ZodTypeAny, {
270
+ description?: string | undefined;
271
+ title?: string | undefined;
272
+ url?: string | undefined;
273
+ image?: {
274
+ url: string;
275
+ } | undefined;
276
+ fields?: {
277
+ value: string;
278
+ name: string;
279
+ inline?: boolean | undefined;
280
+ }[] | undefined;
281
+ color?: number | undefined;
282
+ footer?: {
283
+ text: string;
284
+ icon_url?: string | undefined;
285
+ } | undefined;
286
+ timestamp?: string | undefined;
287
+ thumbnail?: {
288
+ url: string;
289
+ } | undefined;
290
+ author?: {
291
+ name: string;
292
+ url?: string | undefined;
293
+ icon_url?: string | undefined;
294
+ } | undefined;
295
+ }, {
296
+ description?: string | undefined;
297
+ title?: string | undefined;
298
+ url?: string | undefined;
299
+ image?: {
300
+ url: string;
301
+ } | undefined;
302
+ fields?: {
303
+ value: string;
304
+ name: string;
305
+ inline?: boolean | undefined;
306
+ }[] | undefined;
307
+ color?: number | undefined;
308
+ footer?: {
309
+ text: string;
310
+ icon_url?: string | undefined;
311
+ } | undefined;
312
+ timestamp?: string | undefined;
313
+ thumbnail?: {
314
+ url: string;
315
+ } | undefined;
316
+ author?: {
317
+ name: string;
318
+ url?: string | undefined;
319
+ icon_url?: string | undefined;
320
+ } | undefined;
321
+ }>, "many">>;
322
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
323
+ }, "strip", z.ZodTypeAny, {
324
+ operation: "edit_message";
325
+ channel_id: string;
326
+ message_id: string;
327
+ content?: string | undefined;
328
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
329
+ embeds?: {
330
+ description?: string | undefined;
331
+ title?: string | undefined;
332
+ url?: string | undefined;
333
+ image?: {
334
+ url: string;
335
+ } | undefined;
336
+ fields?: {
337
+ value: string;
338
+ name: string;
339
+ inline?: boolean | undefined;
340
+ }[] | undefined;
341
+ color?: number | undefined;
342
+ footer?: {
343
+ text: string;
344
+ icon_url?: string | undefined;
345
+ } | undefined;
346
+ timestamp?: string | undefined;
347
+ thumbnail?: {
348
+ url: string;
349
+ } | undefined;
350
+ author?: {
351
+ name: string;
352
+ url?: string | undefined;
353
+ icon_url?: string | undefined;
354
+ } | undefined;
355
+ }[] | undefined;
356
+ }, {
357
+ operation: "edit_message";
358
+ channel_id: string;
359
+ message_id: string;
360
+ content?: string | undefined;
361
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
362
+ embeds?: {
363
+ description?: string | undefined;
364
+ title?: string | undefined;
365
+ url?: string | undefined;
366
+ image?: {
367
+ url: string;
368
+ } | undefined;
369
+ fields?: {
370
+ value: string;
371
+ name: string;
372
+ inline?: boolean | undefined;
373
+ }[] | undefined;
374
+ color?: number | undefined;
375
+ footer?: {
376
+ text: string;
377
+ icon_url?: string | undefined;
378
+ } | undefined;
379
+ timestamp?: string | undefined;
380
+ thumbnail?: {
381
+ url: string;
382
+ } | undefined;
383
+ author?: {
384
+ name: string;
385
+ url?: string | undefined;
386
+ icon_url?: string | undefined;
387
+ } | undefined;
388
+ }[] | undefined;
389
+ }>, z.ZodObject<{
390
+ operation: z.ZodLiteral<"delete_message">;
391
+ channel_id: z.ZodString;
392
+ message_id: z.ZodString;
393
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
394
+ }, "strip", z.ZodTypeAny, {
395
+ operation: "delete_message";
396
+ channel_id: string;
397
+ message_id: string;
398
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
399
+ }, {
400
+ operation: "delete_message";
401
+ channel_id: string;
402
+ message_id: string;
403
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
404
+ }>, z.ZodObject<{
405
+ operation: z.ZodLiteral<"pin_message">;
406
+ channel_id: z.ZodString;
407
+ message_id: z.ZodString;
408
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
409
+ }, "strip", z.ZodTypeAny, {
410
+ operation: "pin_message";
411
+ channel_id: string;
412
+ message_id: string;
413
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
414
+ }, {
415
+ operation: "pin_message";
416
+ channel_id: string;
417
+ message_id: string;
418
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
419
+ }>, z.ZodObject<{
420
+ operation: z.ZodLiteral<"add_reaction">;
421
+ channel_id: z.ZodString;
422
+ message_id: z.ZodString;
423
+ emoji: z.ZodString;
424
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
425
+ }, "strip", z.ZodTypeAny, {
426
+ emoji: string;
427
+ operation: "add_reaction";
428
+ channel_id: string;
429
+ message_id: string;
430
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
431
+ }, {
432
+ emoji: string;
433
+ operation: "add_reaction";
434
+ channel_id: string;
435
+ message_id: string;
436
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
437
+ }>, z.ZodObject<{
438
+ operation: z.ZodLiteral<"list_channels">;
439
+ guild_id: z.ZodOptional<z.ZodString>;
440
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
441
+ }, "strip", z.ZodTypeAny, {
442
+ operation: "list_channels";
443
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
444
+ guild_id?: string | undefined;
445
+ }, {
446
+ operation: "list_channels";
447
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
448
+ guild_id?: string | undefined;
449
+ }>, z.ZodObject<{
450
+ operation: z.ZodLiteral<"create_channel">;
451
+ guild_id: z.ZodOptional<z.ZodString>;
452
+ name: z.ZodString;
453
+ type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["text", "voice", "category", "announcement", "forum"]>>>;
454
+ topic: z.ZodOptional<z.ZodString>;
455
+ parent_id: z.ZodOptional<z.ZodString>;
456
+ nsfw: z.ZodOptional<z.ZodBoolean>;
457
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
458
+ }, "strip", z.ZodTypeAny, {
459
+ type: "text" | "category" | "voice" | "announcement" | "forum";
460
+ name: string;
461
+ operation: "create_channel";
462
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
463
+ topic?: string | undefined;
464
+ guild_id?: string | undefined;
465
+ parent_id?: string | undefined;
466
+ nsfw?: boolean | undefined;
467
+ }, {
468
+ name: string;
469
+ operation: "create_channel";
470
+ type?: "text" | "category" | "voice" | "announcement" | "forum" | undefined;
471
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
472
+ topic?: string | undefined;
473
+ guild_id?: string | undefined;
474
+ parent_id?: string | undefined;
475
+ nsfw?: boolean | undefined;
476
+ }>, z.ZodObject<{
477
+ operation: z.ZodLiteral<"delete_channel">;
478
+ channel_id: z.ZodString;
479
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
480
+ }, "strip", z.ZodTypeAny, {
481
+ operation: "delete_channel";
482
+ channel_id: string;
483
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
484
+ }, {
485
+ operation: "delete_channel";
486
+ channel_id: string;
487
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
488
+ }>, z.ZodObject<{
489
+ operation: z.ZodLiteral<"create_thread">;
490
+ channel_id: z.ZodString;
491
+ name: z.ZodString;
492
+ message_id: z.ZodOptional<z.ZodString>;
493
+ auto_archive_duration: z.ZodDefault<z.ZodOptional<z.ZodEnum<["60", "1440", "4320", "10080"]>>>;
494
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
495
+ }, "strip", z.ZodTypeAny, {
496
+ name: string;
497
+ operation: "create_thread";
498
+ channel_id: string;
499
+ auto_archive_duration: "60" | "1440" | "4320" | "10080";
500
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
501
+ message_id?: string | undefined;
502
+ }, {
503
+ name: string;
504
+ operation: "create_thread";
505
+ channel_id: string;
506
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
507
+ message_id?: string | undefined;
508
+ auto_archive_duration?: "60" | "1440" | "4320" | "10080" | undefined;
509
+ }>, z.ZodObject<{
510
+ operation: z.ZodLiteral<"list_threads">;
511
+ guild_id: z.ZodOptional<z.ZodString>;
512
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
513
+ }, "strip", z.ZodTypeAny, {
514
+ operation: "list_threads";
515
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
516
+ guild_id?: string | undefined;
517
+ }, {
518
+ operation: "list_threads";
519
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
520
+ guild_id?: string | undefined;
521
+ }>, z.ZodObject<{
522
+ operation: z.ZodLiteral<"list_members">;
523
+ guild_id: z.ZodOptional<z.ZodString>;
524
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
525
+ after: z.ZodOptional<z.ZodString>;
526
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
527
+ }, "strip", z.ZodTypeAny, {
528
+ operation: "list_members";
529
+ limit: number;
530
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
531
+ after?: string | undefined;
532
+ guild_id?: string | undefined;
533
+ }, {
534
+ operation: "list_members";
535
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
536
+ limit?: number | undefined;
537
+ after?: string | undefined;
538
+ guild_id?: string | undefined;
539
+ }>, z.ZodObject<{
540
+ operation: z.ZodLiteral<"get_guild">;
541
+ guild_id: z.ZodOptional<z.ZodString>;
542
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
543
+ }, "strip", z.ZodTypeAny, {
544
+ operation: "get_guild";
545
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
546
+ guild_id?: string | undefined;
547
+ }, {
548
+ operation: "get_guild";
549
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
550
+ guild_id?: string | undefined;
551
+ }>]>;
552
+ export declare const DiscordResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
553
+ operation: z.ZodLiteral<"send_message">;
554
+ success: z.ZodBoolean;
555
+ message: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
556
+ error: z.ZodString;
557
+ }, "strip", z.ZodTypeAny, {
558
+ error: string;
559
+ success: boolean;
560
+ operation: "send_message";
561
+ message?: Record<string, unknown> | undefined;
562
+ }, {
563
+ error: string;
564
+ success: boolean;
565
+ operation: "send_message";
566
+ message?: Record<string, unknown> | undefined;
567
+ }>, z.ZodObject<{
568
+ operation: z.ZodLiteral<"list_messages">;
569
+ success: z.ZodBoolean;
570
+ messages: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
571
+ error: z.ZodString;
572
+ }, "strip", z.ZodTypeAny, {
573
+ error: string;
574
+ success: boolean;
575
+ operation: "list_messages";
576
+ messages?: Record<string, unknown>[] | undefined;
577
+ }, {
578
+ error: string;
579
+ success: boolean;
580
+ operation: "list_messages";
581
+ messages?: Record<string, unknown>[] | undefined;
582
+ }>, z.ZodObject<{
583
+ operation: z.ZodLiteral<"edit_message">;
584
+ success: z.ZodBoolean;
585
+ message: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
586
+ error: z.ZodString;
587
+ }, "strip", z.ZodTypeAny, {
588
+ error: string;
589
+ success: boolean;
590
+ operation: "edit_message";
591
+ message?: Record<string, unknown> | undefined;
592
+ }, {
593
+ error: string;
594
+ success: boolean;
595
+ operation: "edit_message";
596
+ message?: Record<string, unknown> | undefined;
597
+ }>, z.ZodObject<{
598
+ operation: z.ZodLiteral<"delete_message">;
599
+ success: z.ZodBoolean;
600
+ error: z.ZodString;
601
+ }, "strip", z.ZodTypeAny, {
602
+ error: string;
603
+ success: boolean;
604
+ operation: "delete_message";
605
+ }, {
606
+ error: string;
607
+ success: boolean;
608
+ operation: "delete_message";
609
+ }>, z.ZodObject<{
610
+ operation: z.ZodLiteral<"pin_message">;
611
+ success: z.ZodBoolean;
612
+ error: z.ZodString;
613
+ }, "strip", z.ZodTypeAny, {
614
+ error: string;
615
+ success: boolean;
616
+ operation: "pin_message";
617
+ }, {
618
+ error: string;
619
+ success: boolean;
620
+ operation: "pin_message";
621
+ }>, z.ZodObject<{
622
+ operation: z.ZodLiteral<"add_reaction">;
623
+ success: z.ZodBoolean;
624
+ error: z.ZodString;
625
+ }, "strip", z.ZodTypeAny, {
626
+ error: string;
627
+ success: boolean;
628
+ operation: "add_reaction";
629
+ }, {
630
+ error: string;
631
+ success: boolean;
632
+ operation: "add_reaction";
633
+ }>, z.ZodObject<{
634
+ operation: z.ZodLiteral<"list_channels">;
635
+ success: z.ZodBoolean;
636
+ channels: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
637
+ error: z.ZodString;
638
+ }, "strip", z.ZodTypeAny, {
639
+ error: string;
640
+ success: boolean;
641
+ operation: "list_channels";
642
+ channels?: Record<string, unknown>[] | undefined;
643
+ }, {
644
+ error: string;
645
+ success: boolean;
646
+ operation: "list_channels";
647
+ channels?: Record<string, unknown>[] | undefined;
648
+ }>, z.ZodObject<{
649
+ operation: z.ZodLiteral<"create_channel">;
650
+ success: z.ZodBoolean;
651
+ channel: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
652
+ error: z.ZodString;
653
+ }, "strip", z.ZodTypeAny, {
654
+ error: string;
655
+ success: boolean;
656
+ operation: "create_channel";
657
+ channel?: Record<string, unknown> | undefined;
658
+ }, {
659
+ error: string;
660
+ success: boolean;
661
+ operation: "create_channel";
662
+ channel?: Record<string, unknown> | undefined;
663
+ }>, z.ZodObject<{
664
+ operation: z.ZodLiteral<"delete_channel">;
665
+ success: z.ZodBoolean;
666
+ error: z.ZodString;
667
+ }, "strip", z.ZodTypeAny, {
668
+ error: string;
669
+ success: boolean;
670
+ operation: "delete_channel";
671
+ }, {
672
+ error: string;
673
+ success: boolean;
674
+ operation: "delete_channel";
675
+ }>, z.ZodObject<{
676
+ operation: z.ZodLiteral<"create_thread">;
677
+ success: z.ZodBoolean;
678
+ thread: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
679
+ error: z.ZodString;
680
+ }, "strip", z.ZodTypeAny, {
681
+ error: string;
682
+ success: boolean;
683
+ operation: "create_thread";
684
+ thread?: Record<string, unknown> | undefined;
685
+ }, {
686
+ error: string;
687
+ success: boolean;
688
+ operation: "create_thread";
689
+ thread?: Record<string, unknown> | undefined;
690
+ }>, z.ZodObject<{
691
+ operation: z.ZodLiteral<"list_threads">;
692
+ success: z.ZodBoolean;
693
+ threads: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
694
+ error: z.ZodString;
695
+ }, "strip", z.ZodTypeAny, {
696
+ error: string;
697
+ success: boolean;
698
+ operation: "list_threads";
699
+ threads?: Record<string, unknown>[] | undefined;
700
+ }, {
701
+ error: string;
702
+ success: boolean;
703
+ operation: "list_threads";
704
+ threads?: Record<string, unknown>[] | undefined;
705
+ }>, z.ZodObject<{
706
+ operation: z.ZodLiteral<"list_members">;
707
+ success: z.ZodBoolean;
708
+ members: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
709
+ error: z.ZodString;
710
+ }, "strip", z.ZodTypeAny, {
711
+ error: string;
712
+ success: boolean;
713
+ operation: "list_members";
714
+ members?: Record<string, unknown>[] | undefined;
715
+ }, {
716
+ error: string;
717
+ success: boolean;
718
+ operation: "list_members";
719
+ members?: Record<string, unknown>[] | undefined;
720
+ }>, z.ZodObject<{
721
+ operation: z.ZodLiteral<"get_guild">;
722
+ success: z.ZodBoolean;
723
+ guild: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
724
+ error: z.ZodString;
725
+ }, "strip", z.ZodTypeAny, {
726
+ error: string;
727
+ success: boolean;
728
+ operation: "get_guild";
729
+ guild?: Record<string, unknown> | undefined;
730
+ }, {
731
+ error: string;
732
+ success: boolean;
733
+ operation: "get_guild";
734
+ guild?: Record<string, unknown> | undefined;
735
+ }>]>;
736
+ export type DiscordParamsInput = z.input<typeof DiscordParamsSchema>;
737
+ export type DiscordParams = z.output<typeof DiscordParamsSchema>;
738
+ export type DiscordResult = z.output<typeof DiscordResultSchema>;
739
+ //# sourceMappingURL=discord.schema.d.ts.map