@bubblelab/bubble-core 0.1.78 → 0.1.80

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 (67) hide show
  1. package/dist/bubble-bundle.d.ts +109 -109
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +120 -120
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +68 -68
  4. package/dist/bubbles/service-bubble/airtable.d.ts +102 -102
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +16 -16
  6. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +60 -60
  7. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +28 -28
  8. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +31 -31
  9. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +23 -23
  10. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +86 -86
  11. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +8 -8
  12. package/dist/bubbles/service-bubble/eleven-labs.d.ts +24 -24
  13. package/dist/bubbles/service-bubble/firecrawl.d.ts +398 -398
  14. package/dist/bubbles/service-bubble/followupboss.d.ts +144 -144
  15. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +16 -16
  16. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +40 -40
  17. package/dist/bubbles/service-bubble/github.d.ts +72 -72
  18. package/dist/bubbles/service-bubble/gmail.d.ts +532 -532
  19. package/dist/bubbles/service-bubble/google-calendar.d.ts +28 -28
  20. package/dist/bubbles/service-bubble/google-drive.d.ts +66 -66
  21. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +30 -30
  22. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +22 -22
  23. package/dist/bubbles/service-bubble/http.d.ts +12 -12
  24. package/dist/bubbles/service-bubble/http.d.ts.map +1 -1
  25. package/dist/bubbles/service-bubble/http.js +8 -1
  26. package/dist/bubbles/service-bubble/http.js.map +1 -1
  27. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  28. package/dist/bubbles/service-bubble/jira/jira.d.ts +38 -38
  29. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +32 -32
  30. package/dist/bubbles/service-bubble/notion/notion.d.ts +492 -492
  31. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  32. package/dist/bubbles/service-bubble/resend.d.ts +32 -32
  33. package/dist/bubbles/service-bubble/slack/slack.d.ts +1158 -852
  34. package/dist/bubbles/service-bubble/slack/slack.d.ts.map +1 -1
  35. package/dist/bubbles/service-bubble/slack/slack.js +215 -0
  36. package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
  37. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  38. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +71 -71
  39. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +34 -34
  40. package/dist/bubbles/service-bubble/telegram.d.ts +108 -108
  41. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +18 -18
  42. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +24 -24
  43. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
  44. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +12 -12
  45. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +8 -8
  46. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +16 -16
  47. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
  48. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +2 -2
  49. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +2 -2
  50. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +288 -288
  51. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +8 -8
  52. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +10 -10
  53. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  54. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +58 -58
  55. package/dist/bubbles/tool-bubble/tool-template.d.ts +8 -8
  56. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +94 -94
  57. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +2 -2
  58. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +14 -14
  59. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +30 -30
  60. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +18 -18
  61. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +34 -34
  62. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +20 -20
  63. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +24 -24
  64. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +108 -108
  65. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +10 -10
  66. package/dist/bubbles.json +243 -13
  67. package/package.json +2 -2
@@ -39,18 +39,18 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
39
39
  }, "strip", z.ZodTypeAny, {
40
40
  title?: string | undefined;
41
41
  text?: string | undefined;
42
- fields?: {
43
- value: string;
44
- title: string;
45
- short?: boolean | undefined;
46
- }[] | undefined;
47
- image_url?: string | undefined;
48
42
  color?: string | undefined;
49
43
  pretext?: string | undefined;
50
44
  author_name?: string | undefined;
51
45
  author_link?: string | undefined;
52
46
  author_icon?: string | undefined;
53
47
  title_link?: string | undefined;
48
+ fields?: {
49
+ value: string;
50
+ title: string;
51
+ short?: boolean | undefined;
52
+ }[] | undefined;
53
+ image_url?: string | undefined;
54
54
  thumb_url?: string | undefined;
55
55
  footer?: string | undefined;
56
56
  footer_icon?: string | undefined;
@@ -58,18 +58,18 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
58
58
  }, {
59
59
  title?: string | undefined;
60
60
  text?: string | undefined;
61
- fields?: {
62
- value: string;
63
- title: string;
64
- short?: boolean | undefined;
65
- }[] | undefined;
66
- image_url?: string | undefined;
67
61
  color?: string | undefined;
68
62
  pretext?: string | undefined;
69
63
  author_name?: string | undefined;
70
64
  author_link?: string | undefined;
71
65
  author_icon?: string | undefined;
72
66
  title_link?: string | undefined;
67
+ fields?: {
68
+ value: string;
69
+ title: string;
70
+ short?: boolean | undefined;
71
+ }[] | undefined;
72
+ image_url?: string | undefined;
73
73
  thumb_url?: string | undefined;
74
74
  footer?: string | undefined;
75
75
  footer_icon?: string | undefined;
@@ -101,19 +101,19 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
101
101
  emoji: z.ZodOptional<z.ZodBoolean>;
102
102
  verbatim: z.ZodOptional<z.ZodBoolean>;
103
103
  }, "strip", z.ZodTypeAny, {
104
- type: "image" | "plain_text" | "mrkdwn";
105
- emoji?: boolean | undefined;
104
+ type: "plain_text" | "mrkdwn" | "image";
106
105
  text?: string | undefined;
106
+ image_url?: string | undefined;
107
+ emoji?: boolean | undefined;
107
108
  verbatim?: boolean | undefined;
108
109
  alt_text?: string | undefined;
109
- image_url?: string | undefined;
110
110
  }, {
111
- type: "image" | "plain_text" | "mrkdwn";
112
- emoji?: boolean | undefined;
111
+ type: "plain_text" | "mrkdwn" | "image";
113
112
  text?: string | undefined;
113
+ image_url?: string | undefined;
114
+ emoji?: boolean | undefined;
114
115
  verbatim?: boolean | undefined;
115
116
  alt_text?: string | undefined;
116
- image_url?: string | undefined;
117
117
  }>, "many">>;
118
118
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
119
119
  type: z.ZodString;
@@ -141,19 +141,19 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
141
141
  emoji: z.ZodOptional<z.ZodBoolean>;
142
142
  verbatim: z.ZodOptional<z.ZodBoolean>;
143
143
  }, "strip", z.ZodTypeAny, {
144
- type: "image" | "plain_text" | "mrkdwn";
145
- emoji?: boolean | undefined;
144
+ type: "plain_text" | "mrkdwn" | "image";
146
145
  text?: string | undefined;
146
+ image_url?: string | undefined;
147
+ emoji?: boolean | undefined;
147
148
  verbatim?: boolean | undefined;
148
149
  alt_text?: string | undefined;
149
- image_url?: string | undefined;
150
150
  }, {
151
- type: "image" | "plain_text" | "mrkdwn";
152
- emoji?: boolean | undefined;
151
+ type: "plain_text" | "mrkdwn" | "image";
153
152
  text?: string | undefined;
153
+ image_url?: string | undefined;
154
+ emoji?: boolean | undefined;
154
155
  verbatim?: boolean | undefined;
155
156
  alt_text?: string | undefined;
156
- image_url?: string | undefined;
157
157
  }>, "many">>;
158
158
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
159
159
  type: z.ZodString;
@@ -181,19 +181,19 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
181
181
  emoji: z.ZodOptional<z.ZodBoolean>;
182
182
  verbatim: z.ZodOptional<z.ZodBoolean>;
183
183
  }, "strip", z.ZodTypeAny, {
184
- type: "image" | "plain_text" | "mrkdwn";
185
- emoji?: boolean | undefined;
184
+ type: "plain_text" | "mrkdwn" | "image";
186
185
  text?: string | undefined;
186
+ image_url?: string | undefined;
187
+ emoji?: boolean | undefined;
187
188
  verbatim?: boolean | undefined;
188
189
  alt_text?: string | undefined;
189
- image_url?: string | undefined;
190
190
  }, {
191
- type: "image" | "plain_text" | "mrkdwn";
192
- emoji?: boolean | undefined;
191
+ type: "plain_text" | "mrkdwn" | "image";
193
192
  text?: string | undefined;
193
+ image_url?: string | undefined;
194
+ emoji?: boolean | undefined;
194
195
  verbatim?: boolean | undefined;
195
196
  alt_text?: string | undefined;
196
- image_url?: string | undefined;
197
197
  }>, "many">>;
198
198
  }, z.ZodTypeAny, "passthrough">>, "many">>;
199
199
  thread_ts: z.ZodOptional<z.ZodString>;
@@ -202,13 +202,35 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
202
202
  unfurl_links: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
203
203
  unfurl_media: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
204
204
  }, "strip", z.ZodTypeAny, {
205
- text: string;
206
205
  operation: "send_message";
207
206
  channel: string;
207
+ text: string;
208
208
  reply_broadcast: boolean;
209
209
  unfurl_links: boolean;
210
210
  unfurl_media: boolean;
211
- credentials?: Partial<Record<CredentialType, string>> | undefined;
211
+ username?: string | undefined;
212
+ icon_emoji?: string | undefined;
213
+ icon_url?: string | undefined;
214
+ attachments?: {
215
+ title?: string | undefined;
216
+ text?: string | undefined;
217
+ color?: string | undefined;
218
+ pretext?: string | undefined;
219
+ author_name?: string | undefined;
220
+ author_link?: string | undefined;
221
+ author_icon?: string | undefined;
222
+ title_link?: string | undefined;
223
+ fields?: {
224
+ value: string;
225
+ title: string;
226
+ short?: boolean | undefined;
227
+ }[] | undefined;
228
+ image_url?: string | undefined;
229
+ thumb_url?: string | undefined;
230
+ footer?: string | undefined;
231
+ footer_icon?: string | undefined;
232
+ ts?: number | undefined;
233
+ }[] | undefined;
212
234
  blocks?: z.objectOutputType<{
213
235
  type: z.ZodString;
214
236
  text: z.ZodOptional<z.ZodObject<{
@@ -235,50 +257,50 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
235
257
  emoji: z.ZodOptional<z.ZodBoolean>;
236
258
  verbatim: z.ZodOptional<z.ZodBoolean>;
237
259
  }, "strip", z.ZodTypeAny, {
238
- type: "image" | "plain_text" | "mrkdwn";
239
- emoji?: boolean | undefined;
260
+ type: "plain_text" | "mrkdwn" | "image";
240
261
  text?: string | undefined;
262
+ image_url?: string | undefined;
263
+ emoji?: boolean | undefined;
241
264
  verbatim?: boolean | undefined;
242
265
  alt_text?: string | undefined;
243
- image_url?: string | undefined;
244
266
  }, {
245
- type: "image" | "plain_text" | "mrkdwn";
246
- emoji?: boolean | undefined;
267
+ type: "plain_text" | "mrkdwn" | "image";
247
268
  text?: string | undefined;
269
+ image_url?: string | undefined;
270
+ emoji?: boolean | undefined;
248
271
  verbatim?: boolean | undefined;
249
272
  alt_text?: string | undefined;
250
- image_url?: string | undefined;
251
273
  }>, "many">>;
252
274
  }, z.ZodTypeAny, "passthrough">[] | undefined;
275
+ thread_ts?: string | undefined;
276
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
277
+ }, {
278
+ operation: "send_message";
279
+ channel: string;
280
+ text: string;
253
281
  username?: string | undefined;
254
282
  icon_emoji?: string | undefined;
255
283
  icon_url?: string | undefined;
256
284
  attachments?: {
257
285
  title?: string | undefined;
258
286
  text?: string | undefined;
259
- fields?: {
260
- value: string;
261
- title: string;
262
- short?: boolean | undefined;
263
- }[] | undefined;
264
- image_url?: string | undefined;
265
287
  color?: string | undefined;
266
288
  pretext?: string | undefined;
267
289
  author_name?: string | undefined;
268
290
  author_link?: string | undefined;
269
291
  author_icon?: string | undefined;
270
292
  title_link?: string | undefined;
293
+ fields?: {
294
+ value: string;
295
+ title: string;
296
+ short?: boolean | undefined;
297
+ }[] | undefined;
298
+ image_url?: string | undefined;
271
299
  thumb_url?: string | undefined;
272
300
  footer?: string | undefined;
273
301
  footer_icon?: string | undefined;
274
302
  ts?: number | undefined;
275
303
  }[] | undefined;
276
- thread_ts?: string | undefined;
277
- }, {
278
- text: string;
279
- operation: "send_message";
280
- channel: string;
281
- credentials?: Partial<Record<CredentialType, string>> | undefined;
282
304
  blocks?: z.objectInputType<{
283
305
  type: z.ZodString;
284
306
  text: z.ZodOptional<z.ZodObject<{
@@ -305,46 +327,24 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
305
327
  emoji: z.ZodOptional<z.ZodBoolean>;
306
328
  verbatim: z.ZodOptional<z.ZodBoolean>;
307
329
  }, "strip", z.ZodTypeAny, {
308
- type: "image" | "plain_text" | "mrkdwn";
309
- emoji?: boolean | undefined;
330
+ type: "plain_text" | "mrkdwn" | "image";
310
331
  text?: string | undefined;
332
+ image_url?: string | undefined;
333
+ emoji?: boolean | undefined;
311
334
  verbatim?: boolean | undefined;
312
335
  alt_text?: string | undefined;
313
- image_url?: string | undefined;
314
336
  }, {
315
- type: "image" | "plain_text" | "mrkdwn";
316
- emoji?: boolean | undefined;
337
+ type: "plain_text" | "mrkdwn" | "image";
317
338
  text?: string | undefined;
339
+ image_url?: string | undefined;
340
+ emoji?: boolean | undefined;
318
341
  verbatim?: boolean | undefined;
319
342
  alt_text?: string | undefined;
320
- image_url?: string | undefined;
321
343
  }>, "many">>;
322
344
  }, z.ZodTypeAny, "passthrough">[] | undefined;
323
- username?: string | undefined;
324
- icon_emoji?: string | undefined;
325
- icon_url?: string | undefined;
326
- attachments?: {
327
- title?: string | undefined;
328
- text?: string | undefined;
329
- fields?: {
330
- value: string;
331
- title: string;
332
- short?: boolean | undefined;
333
- }[] | undefined;
334
- image_url?: string | undefined;
335
- color?: string | undefined;
336
- pretext?: string | undefined;
337
- author_name?: string | undefined;
338
- author_link?: string | undefined;
339
- author_icon?: string | undefined;
340
- title_link?: string | undefined;
341
- thumb_url?: string | undefined;
342
- footer?: string | undefined;
343
- footer_icon?: string | undefined;
344
- ts?: number | undefined;
345
- }[] | undefined;
346
345
  thread_ts?: string | undefined;
347
346
  reply_broadcast?: boolean | undefined;
347
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
348
348
  unfurl_links?: boolean | undefined;
349
349
  unfurl_media?: boolean | undefined;
350
350
  }>, z.ZodObject<{
@@ -389,13 +389,13 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
389
389
  include_locale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
390
390
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
391
391
  }, "strip", z.ZodTypeAny, {
392
- user: string;
393
392
  operation: "get_user_info";
394
393
  include_locale: boolean;
394
+ user: string;
395
395
  credentials?: Partial<Record<CredentialType, string>> | undefined;
396
396
  }, {
397
- user: string;
398
397
  operation: "get_user_info";
398
+ user: string;
399
399
  credentials?: Partial<Record<CredentialType, string>> | undefined;
400
400
  include_locale?: boolean | undefined;
401
401
  }>, z.ZodObject<{
@@ -426,8 +426,8 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
426
426
  cursor: z.ZodOptional<z.ZodString>;
427
427
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
428
428
  }, "strip", z.ZodTypeAny, {
429
- inclusive: boolean;
430
429
  operation: "get_conversation_history";
430
+ inclusive: boolean;
431
431
  channel: string;
432
432
  limit: number;
433
433
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -454,19 +454,19 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
454
454
  cursor: z.ZodOptional<z.ZodString>;
455
455
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
456
456
  }, "strip", z.ZodTypeAny, {
457
- inclusive: boolean;
458
- ts: string;
459
457
  operation: "get_thread_replies";
458
+ inclusive: boolean;
460
459
  channel: string;
460
+ ts: string;
461
461
  limit: number;
462
462
  credentials?: Partial<Record<CredentialType, string>> | undefined;
463
463
  cursor?: string | undefined;
464
464
  latest?: string | undefined;
465
465
  oldest?: string | undefined;
466
466
  }, {
467
- ts: string;
468
467
  operation: "get_thread_replies";
469
468
  channel: string;
469
+ ts: string;
470
470
  inclusive?: boolean | undefined;
471
471
  credentials?: Partial<Record<CredentialType, string>> | undefined;
472
472
  limit?: number | undefined;
@@ -508,18 +508,18 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
508
508
  }, "strip", z.ZodTypeAny, {
509
509
  title?: string | undefined;
510
510
  text?: string | undefined;
511
- fields?: {
512
- value: string;
513
- title: string;
514
- short?: boolean | undefined;
515
- }[] | undefined;
516
- image_url?: string | undefined;
517
511
  color?: string | undefined;
518
512
  pretext?: string | undefined;
519
513
  author_name?: string | undefined;
520
514
  author_link?: string | undefined;
521
515
  author_icon?: string | undefined;
522
516
  title_link?: string | undefined;
517
+ fields?: {
518
+ value: string;
519
+ title: string;
520
+ short?: boolean | undefined;
521
+ }[] | undefined;
522
+ image_url?: string | undefined;
523
523
  thumb_url?: string | undefined;
524
524
  footer?: string | undefined;
525
525
  footer_icon?: string | undefined;
@@ -527,18 +527,18 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
527
527
  }, {
528
528
  title?: string | undefined;
529
529
  text?: string | undefined;
530
- fields?: {
531
- value: string;
532
- title: string;
533
- short?: boolean | undefined;
534
- }[] | undefined;
535
- image_url?: string | undefined;
536
530
  color?: string | undefined;
537
531
  pretext?: string | undefined;
538
532
  author_name?: string | undefined;
539
533
  author_link?: string | undefined;
540
534
  author_icon?: string | undefined;
541
535
  title_link?: string | undefined;
536
+ fields?: {
537
+ value: string;
538
+ title: string;
539
+ short?: boolean | undefined;
540
+ }[] | undefined;
541
+ image_url?: string | undefined;
542
542
  thumb_url?: string | undefined;
543
543
  footer?: string | undefined;
544
544
  footer_icon?: string | undefined;
@@ -570,19 +570,19 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
570
570
  emoji: z.ZodOptional<z.ZodBoolean>;
571
571
  verbatim: z.ZodOptional<z.ZodBoolean>;
572
572
  }, "strip", z.ZodTypeAny, {
573
- type: "image" | "plain_text" | "mrkdwn";
574
- emoji?: boolean | undefined;
573
+ type: "plain_text" | "mrkdwn" | "image";
575
574
  text?: string | undefined;
575
+ image_url?: string | undefined;
576
+ emoji?: boolean | undefined;
576
577
  verbatim?: boolean | undefined;
577
578
  alt_text?: string | undefined;
578
- image_url?: string | undefined;
579
579
  }, {
580
- type: "image" | "plain_text" | "mrkdwn";
581
- emoji?: boolean | undefined;
580
+ type: "plain_text" | "mrkdwn" | "image";
582
581
  text?: string | undefined;
582
+ image_url?: string | undefined;
583
+ emoji?: boolean | undefined;
583
584
  verbatim?: boolean | undefined;
584
585
  alt_text?: string | undefined;
585
- image_url?: string | undefined;
586
586
  }>, "many">>;
587
587
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
588
588
  type: z.ZodString;
@@ -610,19 +610,19 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
610
610
  emoji: z.ZodOptional<z.ZodBoolean>;
611
611
  verbatim: z.ZodOptional<z.ZodBoolean>;
612
612
  }, "strip", z.ZodTypeAny, {
613
- type: "image" | "plain_text" | "mrkdwn";
614
- emoji?: boolean | undefined;
613
+ type: "plain_text" | "mrkdwn" | "image";
615
614
  text?: string | undefined;
615
+ image_url?: string | undefined;
616
+ emoji?: boolean | undefined;
616
617
  verbatim?: boolean | undefined;
617
618
  alt_text?: string | undefined;
618
- image_url?: string | undefined;
619
619
  }, {
620
- type: "image" | "plain_text" | "mrkdwn";
621
- emoji?: boolean | undefined;
620
+ type: "plain_text" | "mrkdwn" | "image";
622
621
  text?: string | undefined;
622
+ image_url?: string | undefined;
623
+ emoji?: boolean | undefined;
623
624
  verbatim?: boolean | undefined;
624
625
  alt_text?: string | undefined;
625
- image_url?: string | undefined;
626
626
  }>, "many">>;
627
627
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
628
628
  type: z.ZodString;
@@ -650,28 +650,47 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
650
650
  emoji: z.ZodOptional<z.ZodBoolean>;
651
651
  verbatim: z.ZodOptional<z.ZodBoolean>;
652
652
  }, "strip", z.ZodTypeAny, {
653
- type: "image" | "plain_text" | "mrkdwn";
654
- emoji?: boolean | undefined;
653
+ type: "plain_text" | "mrkdwn" | "image";
655
654
  text?: string | undefined;
655
+ image_url?: string | undefined;
656
+ emoji?: boolean | undefined;
656
657
  verbatim?: boolean | undefined;
657
658
  alt_text?: string | undefined;
658
- image_url?: string | undefined;
659
659
  }, {
660
- type: "image" | "plain_text" | "mrkdwn";
661
- emoji?: boolean | undefined;
660
+ type: "plain_text" | "mrkdwn" | "image";
662
661
  text?: string | undefined;
662
+ image_url?: string | undefined;
663
+ emoji?: boolean | undefined;
663
664
  verbatim?: boolean | undefined;
664
665
  alt_text?: string | undefined;
665
- image_url?: string | undefined;
666
666
  }>, "many">>;
667
667
  }, z.ZodTypeAny, "passthrough">>, "many">>;
668
668
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
669
669
  }, "strip", z.ZodTypeAny, {
670
- ts: string;
671
670
  operation: "update_message";
672
671
  channel: string;
673
- credentials?: Partial<Record<CredentialType, string>> | undefined;
672
+ ts: string;
674
673
  text?: string | undefined;
674
+ attachments?: {
675
+ title?: string | undefined;
676
+ text?: string | undefined;
677
+ color?: string | undefined;
678
+ pretext?: string | undefined;
679
+ author_name?: string | undefined;
680
+ author_link?: string | undefined;
681
+ author_icon?: string | undefined;
682
+ title_link?: string | undefined;
683
+ fields?: {
684
+ value: string;
685
+ title: string;
686
+ short?: boolean | undefined;
687
+ }[] | undefined;
688
+ image_url?: string | undefined;
689
+ thumb_url?: string | undefined;
690
+ footer?: string | undefined;
691
+ footer_icon?: string | undefined;
692
+ ts?: number | undefined;
693
+ }[] | undefined;
675
694
  blocks?: z.objectOutputType<{
676
695
  type: z.ZodString;
677
696
  text: z.ZodOptional<z.ZodObject<{
@@ -698,47 +717,47 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
698
717
  emoji: z.ZodOptional<z.ZodBoolean>;
699
718
  verbatim: z.ZodOptional<z.ZodBoolean>;
700
719
  }, "strip", z.ZodTypeAny, {
701
- type: "image" | "plain_text" | "mrkdwn";
702
- emoji?: boolean | undefined;
720
+ type: "plain_text" | "mrkdwn" | "image";
703
721
  text?: string | undefined;
722
+ image_url?: string | undefined;
723
+ emoji?: boolean | undefined;
704
724
  verbatim?: boolean | undefined;
705
725
  alt_text?: string | undefined;
706
- image_url?: string | undefined;
707
726
  }, {
708
- type: "image" | "plain_text" | "mrkdwn";
709
- emoji?: boolean | undefined;
727
+ type: "plain_text" | "mrkdwn" | "image";
710
728
  text?: string | undefined;
729
+ image_url?: string | undefined;
730
+ emoji?: boolean | undefined;
711
731
  verbatim?: boolean | undefined;
712
732
  alt_text?: string | undefined;
713
- image_url?: string | undefined;
714
733
  }>, "many">>;
715
734
  }, z.ZodTypeAny, "passthrough">[] | undefined;
735
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
736
+ }, {
737
+ operation: "update_message";
738
+ channel: string;
739
+ ts: string;
740
+ text?: string | undefined;
716
741
  attachments?: {
717
742
  title?: string | undefined;
718
743
  text?: string | undefined;
719
- fields?: {
720
- value: string;
721
- title: string;
722
- short?: boolean | undefined;
723
- }[] | undefined;
724
- image_url?: string | undefined;
725
744
  color?: string | undefined;
726
745
  pretext?: string | undefined;
727
746
  author_name?: string | undefined;
728
747
  author_link?: string | undefined;
729
748
  author_icon?: string | undefined;
730
749
  title_link?: string | undefined;
750
+ fields?: {
751
+ value: string;
752
+ title: string;
753
+ short?: boolean | undefined;
754
+ }[] | undefined;
755
+ image_url?: string | undefined;
731
756
  thumb_url?: string | undefined;
732
757
  footer?: string | undefined;
733
758
  footer_icon?: string | undefined;
734
759
  ts?: number | undefined;
735
760
  }[] | undefined;
736
- }, {
737
- ts: string;
738
- operation: "update_message";
739
- channel: string;
740
- credentials?: Partial<Record<CredentialType, string>> | undefined;
741
- text?: string | undefined;
742
761
  blocks?: z.objectInputType<{
743
762
  type: z.ZodString;
744
763
  text: z.ZodOptional<z.ZodObject<{
@@ -765,55 +784,36 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
765
784
  emoji: z.ZodOptional<z.ZodBoolean>;
766
785
  verbatim: z.ZodOptional<z.ZodBoolean>;
767
786
  }, "strip", z.ZodTypeAny, {
768
- type: "image" | "plain_text" | "mrkdwn";
769
- emoji?: boolean | undefined;
787
+ type: "plain_text" | "mrkdwn" | "image";
770
788
  text?: string | undefined;
789
+ image_url?: string | undefined;
790
+ emoji?: boolean | undefined;
771
791
  verbatim?: boolean | undefined;
772
792
  alt_text?: string | undefined;
773
- image_url?: string | undefined;
774
793
  }, {
775
- type: "image" | "plain_text" | "mrkdwn";
776
- emoji?: boolean | undefined;
794
+ type: "plain_text" | "mrkdwn" | "image";
777
795
  text?: string | undefined;
796
+ image_url?: string | undefined;
797
+ emoji?: boolean | undefined;
778
798
  verbatim?: boolean | undefined;
779
799
  alt_text?: string | undefined;
780
- image_url?: string | undefined;
781
800
  }>, "many">>;
782
801
  }, z.ZodTypeAny, "passthrough">[] | undefined;
783
- attachments?: {
784
- title?: string | undefined;
785
- text?: string | undefined;
786
- fields?: {
787
- value: string;
788
- title: string;
789
- short?: boolean | undefined;
790
- }[] | undefined;
791
- image_url?: string | undefined;
792
- color?: string | undefined;
793
- pretext?: string | undefined;
794
- author_name?: string | undefined;
795
- author_link?: string | undefined;
796
- author_icon?: string | undefined;
797
- title_link?: string | undefined;
798
- thumb_url?: string | undefined;
799
- footer?: string | undefined;
800
- footer_icon?: string | undefined;
801
- ts?: number | undefined;
802
- }[] | undefined;
802
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
803
803
  }>, z.ZodObject<{
804
804
  operation: z.ZodLiteral<"delete_message">;
805
805
  channel: z.ZodString;
806
806
  ts: z.ZodString;
807
807
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
808
808
  }, "strip", z.ZodTypeAny, {
809
- ts: string;
810
809
  operation: "delete_message";
811
810
  channel: string;
811
+ ts: string;
812
812
  credentials?: Partial<Record<CredentialType, string>> | undefined;
813
813
  }, {
814
- ts: string;
815
814
  operation: "delete_message";
816
815
  channel: string;
816
+ ts: string;
817
817
  credentials?: Partial<Record<CredentialType, string>> | undefined;
818
818
  }>, z.ZodObject<{
819
819
  operation: z.ZodLiteral<"add_reaction">;
@@ -822,15 +822,15 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
822
822
  timestamp: z.ZodString;
823
823
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
824
824
  }, "strip", z.ZodTypeAny, {
825
- name: string;
826
825
  operation: "add_reaction";
827
826
  channel: string;
827
+ name: string;
828
828
  timestamp: string;
829
829
  credentials?: Partial<Record<CredentialType, string>> | undefined;
830
830
  }, {
831
- name: string;
832
831
  operation: "add_reaction";
833
832
  channel: string;
833
+ name: string;
834
834
  timestamp: string;
835
835
  credentials?: Partial<Record<CredentialType, string>> | undefined;
836
836
  }>, z.ZodObject<{
@@ -840,15 +840,15 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
840
840
  timestamp: z.ZodString;
841
841
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
842
842
  }, "strip", z.ZodTypeAny, {
843
- name: string;
844
843
  operation: "remove_reaction";
845
844
  channel: string;
845
+ name: string;
846
846
  timestamp: string;
847
847
  credentials?: Partial<Record<CredentialType, string>> | undefined;
848
848
  }, {
849
- name: string;
850
849
  operation: "remove_reaction";
851
850
  channel: string;
851
+ name: string;
852
852
  timestamp: string;
853
853
  credentials?: Partial<Record<CredentialType, string>> | undefined;
854
854
  }>, z.ZodObject<{
@@ -877,8 +877,8 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
877
877
  channel: string;
878
878
  file_path: string;
879
879
  title?: string | undefined;
880
- credentials?: Partial<Record<CredentialType, string>> | undefined;
881
880
  thread_ts?: string | undefined;
881
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
882
882
  filename?: string | undefined;
883
883
  initial_comment?: string | undefined;
884
884
  }, {
@@ -886,8 +886,8 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
886
886
  channel: string;
887
887
  file_path: string;
888
888
  title?: string | undefined;
889
- credentials?: Partial<Record<CredentialType, string>> | undefined;
890
889
  thread_ts?: string | undefined;
890
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
891
891
  filename?: string | undefined;
892
892
  initial_comment?: string | undefined;
893
893
  }>, z.ZodObject<{
@@ -922,19 +922,19 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
922
922
  emoji: z.ZodOptional<z.ZodBoolean>;
923
923
  verbatim: z.ZodOptional<z.ZodBoolean>;
924
924
  }, "strip", z.ZodTypeAny, {
925
- type: "image" | "plain_text" | "mrkdwn";
926
- emoji?: boolean | undefined;
925
+ type: "plain_text" | "mrkdwn" | "image";
927
926
  text?: string | undefined;
927
+ image_url?: string | undefined;
928
+ emoji?: boolean | undefined;
928
929
  verbatim?: boolean | undefined;
929
930
  alt_text?: string | undefined;
930
- image_url?: string | undefined;
931
931
  }, {
932
- type: "image" | "plain_text" | "mrkdwn";
933
- emoji?: boolean | undefined;
932
+ type: "plain_text" | "mrkdwn" | "image";
934
933
  text?: string | undefined;
934
+ image_url?: string | undefined;
935
+ emoji?: boolean | undefined;
935
936
  verbatim?: boolean | undefined;
936
937
  alt_text?: string | undefined;
937
- image_url?: string | undefined;
938
938
  }>, "many">>;
939
939
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
940
940
  type: z.ZodString;
@@ -962,19 +962,19 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
962
962
  emoji: z.ZodOptional<z.ZodBoolean>;
963
963
  verbatim: z.ZodOptional<z.ZodBoolean>;
964
964
  }, "strip", z.ZodTypeAny, {
965
- type: "image" | "plain_text" | "mrkdwn";
966
- emoji?: boolean | undefined;
965
+ type: "plain_text" | "mrkdwn" | "image";
967
966
  text?: string | undefined;
967
+ image_url?: string | undefined;
968
+ emoji?: boolean | undefined;
968
969
  verbatim?: boolean | undefined;
969
970
  alt_text?: string | undefined;
970
- image_url?: string | undefined;
971
971
  }, {
972
- type: "image" | "plain_text" | "mrkdwn";
973
- emoji?: boolean | undefined;
972
+ type: "plain_text" | "mrkdwn" | "image";
974
973
  text?: string | undefined;
974
+ image_url?: string | undefined;
975
+ emoji?: boolean | undefined;
975
976
  verbatim?: boolean | undefined;
976
977
  alt_text?: string | undefined;
977
- image_url?: string | undefined;
978
978
  }>, "many">>;
979
979
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
980
980
  type: z.ZodString;
@@ -1002,32 +1002,31 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1002
1002
  emoji: z.ZodOptional<z.ZodBoolean>;
1003
1003
  verbatim: z.ZodOptional<z.ZodBoolean>;
1004
1004
  }, "strip", z.ZodTypeAny, {
1005
- type: "image" | "plain_text" | "mrkdwn";
1006
- emoji?: boolean | undefined;
1005
+ type: "plain_text" | "mrkdwn" | "image";
1007
1006
  text?: string | undefined;
1007
+ image_url?: string | undefined;
1008
+ emoji?: boolean | undefined;
1008
1009
  verbatim?: boolean | undefined;
1009
1010
  alt_text?: string | undefined;
1010
- image_url?: string | undefined;
1011
1011
  }, {
1012
- type: "image" | "plain_text" | "mrkdwn";
1013
- emoji?: boolean | undefined;
1012
+ type: "plain_text" | "mrkdwn" | "image";
1014
1013
  text?: string | undefined;
1014
+ image_url?: string | undefined;
1015
+ emoji?: boolean | undefined;
1015
1016
  verbatim?: boolean | undefined;
1016
1017
  alt_text?: string | undefined;
1017
- image_url?: string | undefined;
1018
1018
  }>, "many">>;
1019
1019
  }, z.ZodTypeAny, "passthrough">>, "many">>;
1020
1020
  unfurl_links: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1021
1021
  unfurl_media: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1022
1022
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1023
1023
  }, "strip", z.ZodTypeAny, {
1024
- text: string;
1025
1024
  operation: "schedule_message";
1026
1025
  channel: string;
1026
+ text: string;
1027
1027
  unfurl_links: boolean;
1028
1028
  unfurl_media: boolean;
1029
1029
  post_at: number;
1030
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1031
1030
  blocks?: z.objectOutputType<{
1032
1031
  type: z.ZodString;
1033
1032
  text: z.ZodOptional<z.ZodObject<{
@@ -1054,28 +1053,28 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1054
1053
  emoji: z.ZodOptional<z.ZodBoolean>;
1055
1054
  verbatim: z.ZodOptional<z.ZodBoolean>;
1056
1055
  }, "strip", z.ZodTypeAny, {
1057
- type: "image" | "plain_text" | "mrkdwn";
1058
- emoji?: boolean | undefined;
1056
+ type: "plain_text" | "mrkdwn" | "image";
1059
1057
  text?: string | undefined;
1058
+ image_url?: string | undefined;
1059
+ emoji?: boolean | undefined;
1060
1060
  verbatim?: boolean | undefined;
1061
1061
  alt_text?: string | undefined;
1062
- image_url?: string | undefined;
1063
1062
  }, {
1064
- type: "image" | "plain_text" | "mrkdwn";
1065
- emoji?: boolean | undefined;
1063
+ type: "plain_text" | "mrkdwn" | "image";
1066
1064
  text?: string | undefined;
1065
+ image_url?: string | undefined;
1066
+ emoji?: boolean | undefined;
1067
1067
  verbatim?: boolean | undefined;
1068
1068
  alt_text?: string | undefined;
1069
- image_url?: string | undefined;
1070
1069
  }>, "many">>;
1071
1070
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1072
1071
  thread_ts?: string | undefined;
1072
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1073
1073
  }, {
1074
- text: string;
1075
1074
  operation: "schedule_message";
1076
1075
  channel: string;
1076
+ text: string;
1077
1077
  post_at: number;
1078
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1079
1078
  blocks?: z.objectInputType<{
1080
1079
  type: z.ZodString;
1081
1080
  text: z.ZodOptional<z.ZodObject<{
@@ -1102,24 +1101,52 @@ declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1102
1101
  emoji: z.ZodOptional<z.ZodBoolean>;
1103
1102
  verbatim: z.ZodOptional<z.ZodBoolean>;
1104
1103
  }, "strip", z.ZodTypeAny, {
1105
- type: "image" | "plain_text" | "mrkdwn";
1106
- emoji?: boolean | undefined;
1104
+ type: "plain_text" | "mrkdwn" | "image";
1107
1105
  text?: string | undefined;
1106
+ image_url?: string | undefined;
1107
+ emoji?: boolean | undefined;
1108
1108
  verbatim?: boolean | undefined;
1109
1109
  alt_text?: string | undefined;
1110
- image_url?: string | undefined;
1111
1110
  }, {
1112
- type: "image" | "plain_text" | "mrkdwn";
1113
- emoji?: boolean | undefined;
1111
+ type: "plain_text" | "mrkdwn" | "image";
1114
1112
  text?: string | undefined;
1113
+ image_url?: string | undefined;
1114
+ emoji?: boolean | undefined;
1115
1115
  verbatim?: boolean | undefined;
1116
1116
  alt_text?: string | undefined;
1117
- image_url?: string | undefined;
1118
1117
  }>, "many">>;
1119
1118
  }, z.ZodTypeAny, "passthrough">[] | undefined;
1120
1119
  thread_ts?: string | undefined;
1120
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1121
1121
  unfurl_links?: boolean | undefined;
1122
1122
  unfurl_media?: boolean | undefined;
1123
+ }>, z.ZodObject<{
1124
+ operation: z.ZodLiteral<"get_file_info">;
1125
+ file_id: z.ZodString;
1126
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1127
+ }, "strip", z.ZodTypeAny, {
1128
+ operation: "get_file_info";
1129
+ file_id: string;
1130
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1131
+ }, {
1132
+ operation: "get_file_info";
1133
+ file_id: string;
1134
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1135
+ }>, z.ZodObject<{
1136
+ operation: z.ZodLiteral<"download_file">;
1137
+ file_url: z.ZodOptional<z.ZodString>;
1138
+ file_id: z.ZodOptional<z.ZodString>;
1139
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1140
+ }, "strip", z.ZodTypeAny, {
1141
+ operation: "download_file";
1142
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1143
+ file_id?: string | undefined;
1144
+ file_url?: string | undefined;
1145
+ }, {
1146
+ operation: "download_file";
1147
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1148
+ file_id?: string | undefined;
1149
+ file_url?: string | undefined;
1123
1150
  }>]>;
1124
1151
  declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
1125
1152
  operation: z.ZodLiteral<"send_message">;
@@ -1166,12 +1193,12 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1166
1193
  }, "strip", z.ZodTypeAny, {
1167
1194
  type: string;
1168
1195
  text?: string | undefined;
1169
- blocks?: unknown[] | undefined;
1170
- user?: string | undefined;
1171
- ts?: string | undefined;
1172
1196
  username?: string | undefined;
1197
+ ts?: string | undefined;
1173
1198
  attachments?: unknown[] | undefined;
1199
+ blocks?: unknown[] | undefined;
1174
1200
  thread_ts?: string | undefined;
1201
+ user?: string | undefined;
1175
1202
  bot_id?: string | undefined;
1176
1203
  bot_profile?: {
1177
1204
  name?: string | undefined;
@@ -1191,12 +1218,12 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1191
1218
  }, {
1192
1219
  type: string;
1193
1220
  text?: string | undefined;
1194
- blocks?: unknown[] | undefined;
1195
- user?: string | undefined;
1196
- ts?: string | undefined;
1197
1221
  username?: string | undefined;
1222
+ ts?: string | undefined;
1198
1223
  attachments?: unknown[] | undefined;
1224
+ blocks?: unknown[] | undefined;
1199
1225
  thread_ts?: string | undefined;
1226
+ user?: string | undefined;
1200
1227
  bot_id?: string | undefined;
1201
1228
  bot_profile?: {
1202
1229
  name?: string | undefined;
@@ -1217,19 +1244,19 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1217
1244
  error: z.ZodString;
1218
1245
  success: z.ZodBoolean;
1219
1246
  }, "strip", z.ZodTypeAny, {
1220
- error: string;
1221
- success: boolean;
1222
1247
  operation: "send_message";
1223
1248
  ok: boolean;
1249
+ error: string;
1250
+ success: boolean;
1224
1251
  message?: {
1225
1252
  type: string;
1226
1253
  text?: string | undefined;
1227
- blocks?: unknown[] | undefined;
1228
- user?: string | undefined;
1229
- ts?: string | undefined;
1230
1254
  username?: string | undefined;
1255
+ ts?: string | undefined;
1231
1256
  attachments?: unknown[] | undefined;
1257
+ blocks?: unknown[] | undefined;
1232
1258
  thread_ts?: string | undefined;
1259
+ user?: string | undefined;
1233
1260
  bot_id?: string | undefined;
1234
1261
  bot_profile?: {
1235
1262
  name?: string | undefined;
@@ -1247,22 +1274,22 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1247
1274
  count: number;
1248
1275
  }[] | undefined;
1249
1276
  } | undefined;
1250
- ts?: string | undefined;
1251
1277
  channel?: string | undefined;
1278
+ ts?: string | undefined;
1252
1279
  }, {
1253
- error: string;
1254
- success: boolean;
1255
1280
  operation: "send_message";
1256
1281
  ok: boolean;
1282
+ error: string;
1283
+ success: boolean;
1257
1284
  message?: {
1258
1285
  type: string;
1259
1286
  text?: string | undefined;
1260
- blocks?: unknown[] | undefined;
1261
- user?: string | undefined;
1262
- ts?: string | undefined;
1263
1287
  username?: string | undefined;
1288
+ ts?: string | undefined;
1264
1289
  attachments?: unknown[] | undefined;
1290
+ blocks?: unknown[] | undefined;
1265
1291
  thread_ts?: string | undefined;
1292
+ user?: string | undefined;
1266
1293
  bot_id?: string | undefined;
1267
1294
  bot_profile?: {
1268
1295
  name?: string | undefined;
@@ -1280,8 +1307,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1280
1307
  count: number;
1281
1308
  }[] | undefined;
1282
1309
  } | undefined;
1283
- ts?: string | undefined;
1284
1310
  channel?: string | undefined;
1311
+ ts?: string | undefined;
1285
1312
  }>, z.ZodObject<{
1286
1313
  operation: z.ZodLiteral<"list_channels">;
1287
1314
  ok: z.ZodBoolean;
@@ -1411,13 +1438,10 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1411
1438
  error: z.ZodString;
1412
1439
  success: z.ZodBoolean;
1413
1440
  }, "strip", z.ZodTypeAny, {
1414
- error: string;
1415
- success: boolean;
1416
1441
  operation: "list_channels";
1417
1442
  ok: boolean;
1418
- response_metadata?: {
1419
- next_cursor: string;
1420
- } | undefined;
1443
+ error: string;
1444
+ success: boolean;
1421
1445
  channels?: {
1422
1446
  name: string;
1423
1447
  id: string;
@@ -1452,14 +1476,14 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1452
1476
  } | undefined;
1453
1477
  num_members?: number | undefined;
1454
1478
  }[] | undefined;
1455
- }, {
1456
- error: string;
1457
- success: boolean;
1458
- operation: "list_channels";
1459
- ok: boolean;
1460
1479
  response_metadata?: {
1461
1480
  next_cursor: string;
1462
1481
  } | undefined;
1482
+ }, {
1483
+ operation: "list_channels";
1484
+ ok: boolean;
1485
+ error: string;
1486
+ success: boolean;
1463
1487
  channels?: {
1464
1488
  name: string;
1465
1489
  id: string;
@@ -1494,6 +1518,9 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1494
1518
  } | undefined;
1495
1519
  num_members?: number | undefined;
1496
1520
  }[] | undefined;
1521
+ response_metadata?: {
1522
+ next_cursor: string;
1523
+ } | undefined;
1497
1524
  }>, z.ZodObject<{
1498
1525
  operation: z.ZodLiteral<"get_channel_info">;
1499
1526
  ok: z.ZodBoolean;
@@ -1616,10 +1643,10 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1616
1643
  error: z.ZodString;
1617
1644
  success: z.ZodBoolean;
1618
1645
  }, "strip", z.ZodTypeAny, {
1619
- error: string;
1620
- success: boolean;
1621
1646
  operation: "get_channel_info";
1622
1647
  ok: boolean;
1648
+ error: string;
1649
+ success: boolean;
1623
1650
  channel?: {
1624
1651
  name: string;
1625
1652
  id: string;
@@ -1655,10 +1682,10 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1655
1682
  num_members?: number | undefined;
1656
1683
  } | undefined;
1657
1684
  }, {
1658
- error: string;
1659
- success: boolean;
1660
1685
  operation: "get_channel_info";
1661
1686
  ok: boolean;
1687
+ error: string;
1688
+ success: boolean;
1662
1689
  channel?: {
1663
1690
  name: string;
1664
1691
  id: string;
@@ -1733,8 +1760,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1733
1760
  image_1024: z.ZodOptional<z.ZodString>;
1734
1761
  }, "strip", z.ZodTypeAny, {
1735
1762
  title?: string | undefined;
1736
- email?: string | undefined;
1737
1763
  fields?: Record<string, unknown> | undefined;
1764
+ email?: string | undefined;
1738
1765
  real_name?: string | undefined;
1739
1766
  phone?: string | undefined;
1740
1767
  skype?: string | undefined;
@@ -1758,8 +1785,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1758
1785
  image_1024?: string | undefined;
1759
1786
  }, {
1760
1787
  title?: string | undefined;
1761
- email?: string | undefined;
1762
1788
  fields?: Record<string, unknown> | undefined;
1789
+ email?: string | undefined;
1763
1790
  real_name?: string | undefined;
1764
1791
  phone?: string | undefined;
1765
1792
  skype?: string | undefined;
@@ -1794,10 +1821,17 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1794
1821
  }, "strip", z.ZodTypeAny, {
1795
1822
  name: string;
1796
1823
  id: string;
1824
+ color?: string | undefined;
1825
+ team_id?: string | undefined;
1826
+ deleted?: boolean | undefined;
1827
+ real_name?: string | undefined;
1828
+ tz?: string | undefined;
1829
+ tz_label?: string | undefined;
1830
+ tz_offset?: number | undefined;
1797
1831
  profile?: {
1798
1832
  title?: string | undefined;
1799
- email?: string | undefined;
1800
1833
  fields?: Record<string, unknown> | undefined;
1834
+ email?: string | undefined;
1801
1835
  real_name?: string | undefined;
1802
1836
  phone?: string | undefined;
1803
1837
  skype?: string | undefined;
@@ -1820,13 +1854,6 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1820
1854
  image_512?: string | undefined;
1821
1855
  image_1024?: string | undefined;
1822
1856
  } | undefined;
1823
- color?: string | undefined;
1824
- team_id?: string | undefined;
1825
- deleted?: boolean | undefined;
1826
- real_name?: string | undefined;
1827
- tz?: string | undefined;
1828
- tz_label?: string | undefined;
1829
- tz_offset?: number | undefined;
1830
1857
  is_admin?: boolean | undefined;
1831
1858
  is_owner?: boolean | undefined;
1832
1859
  is_primary_owner?: boolean | undefined;
@@ -1839,10 +1866,17 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1839
1866
  }, {
1840
1867
  name: string;
1841
1868
  id: string;
1869
+ color?: string | undefined;
1870
+ team_id?: string | undefined;
1871
+ deleted?: boolean | undefined;
1872
+ real_name?: string | undefined;
1873
+ tz?: string | undefined;
1874
+ tz_label?: string | undefined;
1875
+ tz_offset?: number | undefined;
1842
1876
  profile?: {
1843
1877
  title?: string | undefined;
1844
- email?: string | undefined;
1845
1878
  fields?: Record<string, unknown> | undefined;
1879
+ email?: string | undefined;
1846
1880
  real_name?: string | undefined;
1847
1881
  phone?: string | undefined;
1848
1882
  skype?: string | undefined;
@@ -1865,13 +1899,6 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1865
1899
  image_512?: string | undefined;
1866
1900
  image_1024?: string | undefined;
1867
1901
  } | undefined;
1868
- color?: string | undefined;
1869
- team_id?: string | undefined;
1870
- deleted?: boolean | undefined;
1871
- real_name?: string | undefined;
1872
- tz?: string | undefined;
1873
- tz_label?: string | undefined;
1874
- tz_offset?: number | undefined;
1875
1902
  is_admin?: boolean | undefined;
1876
1903
  is_owner?: boolean | undefined;
1877
1904
  is_primary_owner?: boolean | undefined;
@@ -1885,17 +1912,24 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1885
1912
  error: z.ZodString;
1886
1913
  success: z.ZodBoolean;
1887
1914
  }, "strip", z.ZodTypeAny, {
1888
- error: string;
1889
- success: boolean;
1890
1915
  operation: "get_user_info";
1891
1916
  ok: boolean;
1917
+ error: string;
1918
+ success: boolean;
1892
1919
  user?: {
1893
1920
  name: string;
1894
1921
  id: string;
1922
+ color?: string | undefined;
1923
+ team_id?: string | undefined;
1924
+ deleted?: boolean | undefined;
1925
+ real_name?: string | undefined;
1926
+ tz?: string | undefined;
1927
+ tz_label?: string | undefined;
1928
+ tz_offset?: number | undefined;
1895
1929
  profile?: {
1896
1930
  title?: string | undefined;
1897
- email?: string | undefined;
1898
1931
  fields?: Record<string, unknown> | undefined;
1932
+ email?: string | undefined;
1899
1933
  real_name?: string | undefined;
1900
1934
  phone?: string | undefined;
1901
1935
  skype?: string | undefined;
@@ -1918,13 +1952,6 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1918
1952
  image_512?: string | undefined;
1919
1953
  image_1024?: string | undefined;
1920
1954
  } | undefined;
1921
- color?: string | undefined;
1922
- team_id?: string | undefined;
1923
- deleted?: boolean | undefined;
1924
- real_name?: string | undefined;
1925
- tz?: string | undefined;
1926
- tz_label?: string | undefined;
1927
- tz_offset?: number | undefined;
1928
1955
  is_admin?: boolean | undefined;
1929
1956
  is_owner?: boolean | undefined;
1930
1957
  is_primary_owner?: boolean | undefined;
@@ -1936,17 +1963,24 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1936
1963
  has_2fa?: boolean | undefined;
1937
1964
  } | undefined;
1938
1965
  }, {
1939
- error: string;
1940
- success: boolean;
1941
1966
  operation: "get_user_info";
1942
1967
  ok: boolean;
1968
+ error: string;
1969
+ success: boolean;
1943
1970
  user?: {
1944
1971
  name: string;
1945
1972
  id: string;
1973
+ color?: string | undefined;
1974
+ team_id?: string | undefined;
1975
+ deleted?: boolean | undefined;
1976
+ real_name?: string | undefined;
1977
+ tz?: string | undefined;
1978
+ tz_label?: string | undefined;
1979
+ tz_offset?: number | undefined;
1946
1980
  profile?: {
1947
1981
  title?: string | undefined;
1948
- email?: string | undefined;
1949
1982
  fields?: Record<string, unknown> | undefined;
1983
+ email?: string | undefined;
1950
1984
  real_name?: string | undefined;
1951
1985
  phone?: string | undefined;
1952
1986
  skype?: string | undefined;
@@ -1969,13 +2003,6 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1969
2003
  image_512?: string | undefined;
1970
2004
  image_1024?: string | undefined;
1971
2005
  } | undefined;
1972
- color?: string | undefined;
1973
- team_id?: string | undefined;
1974
- deleted?: boolean | undefined;
1975
- real_name?: string | undefined;
1976
- tz?: string | undefined;
1977
- tz_label?: string | undefined;
1978
- tz_offset?: number | undefined;
1979
2006
  is_admin?: boolean | undefined;
1980
2007
  is_owner?: boolean | undefined;
1981
2008
  is_primary_owner?: boolean | undefined;
@@ -2026,8 +2053,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2026
2053
  image_1024: z.ZodOptional<z.ZodString>;
2027
2054
  }, "strip", z.ZodTypeAny, {
2028
2055
  title?: string | undefined;
2029
- email?: string | undefined;
2030
2056
  fields?: Record<string, unknown> | undefined;
2057
+ email?: string | undefined;
2031
2058
  real_name?: string | undefined;
2032
2059
  phone?: string | undefined;
2033
2060
  skype?: string | undefined;
@@ -2051,8 +2078,8 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2051
2078
  image_1024?: string | undefined;
2052
2079
  }, {
2053
2080
  title?: string | undefined;
2054
- email?: string | undefined;
2055
2081
  fields?: Record<string, unknown> | undefined;
2082
+ email?: string | undefined;
2056
2083
  real_name?: string | undefined;
2057
2084
  phone?: string | undefined;
2058
2085
  skype?: string | undefined;
@@ -2087,10 +2114,17 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2087
2114
  }, "strip", z.ZodTypeAny, {
2088
2115
  name: string;
2089
2116
  id: string;
2117
+ color?: string | undefined;
2118
+ team_id?: string | undefined;
2119
+ deleted?: boolean | undefined;
2120
+ real_name?: string | undefined;
2121
+ tz?: string | undefined;
2122
+ tz_label?: string | undefined;
2123
+ tz_offset?: number | undefined;
2090
2124
  profile?: {
2091
2125
  title?: string | undefined;
2092
- email?: string | undefined;
2093
2126
  fields?: Record<string, unknown> | undefined;
2127
+ email?: string | undefined;
2094
2128
  real_name?: string | undefined;
2095
2129
  phone?: string | undefined;
2096
2130
  skype?: string | undefined;
@@ -2113,13 +2147,6 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2113
2147
  image_512?: string | undefined;
2114
2148
  image_1024?: string | undefined;
2115
2149
  } | undefined;
2116
- color?: string | undefined;
2117
- team_id?: string | undefined;
2118
- deleted?: boolean | undefined;
2119
- real_name?: string | undefined;
2120
- tz?: string | undefined;
2121
- tz_label?: string | undefined;
2122
- tz_offset?: number | undefined;
2123
2150
  is_admin?: boolean | undefined;
2124
2151
  is_owner?: boolean | undefined;
2125
2152
  is_primary_owner?: boolean | undefined;
@@ -2132,10 +2159,17 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2132
2159
  }, {
2133
2160
  name: string;
2134
2161
  id: string;
2162
+ color?: string | undefined;
2163
+ team_id?: string | undefined;
2164
+ deleted?: boolean | undefined;
2165
+ real_name?: string | undefined;
2166
+ tz?: string | undefined;
2167
+ tz_label?: string | undefined;
2168
+ tz_offset?: number | undefined;
2135
2169
  profile?: {
2136
2170
  title?: string | undefined;
2137
- email?: string | undefined;
2138
2171
  fields?: Record<string, unknown> | undefined;
2172
+ email?: string | undefined;
2139
2173
  real_name?: string | undefined;
2140
2174
  phone?: string | undefined;
2141
2175
  skype?: string | undefined;
@@ -2158,13 +2192,6 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2158
2192
  image_512?: string | undefined;
2159
2193
  image_1024?: string | undefined;
2160
2194
  } | undefined;
2161
- color?: string | undefined;
2162
- team_id?: string | undefined;
2163
- deleted?: boolean | undefined;
2164
- real_name?: string | undefined;
2165
- tz?: string | undefined;
2166
- tz_label?: string | undefined;
2167
- tz_offset?: number | undefined;
2168
2195
  is_admin?: boolean | undefined;
2169
2196
  is_owner?: boolean | undefined;
2170
2197
  is_primary_owner?: boolean | undefined;
@@ -2185,20 +2212,27 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2185
2212
  error: z.ZodString;
2186
2213
  success: z.ZodBoolean;
2187
2214
  }, "strip", z.ZodTypeAny, {
2188
- error: string;
2189
- success: boolean;
2190
2215
  operation: "list_users";
2191
2216
  ok: boolean;
2217
+ error: string;
2218
+ success: boolean;
2192
2219
  response_metadata?: {
2193
2220
  next_cursor: string;
2194
2221
  } | undefined;
2195
2222
  members?: {
2196
2223
  name: string;
2197
2224
  id: string;
2225
+ color?: string | undefined;
2226
+ team_id?: string | undefined;
2227
+ deleted?: boolean | undefined;
2228
+ real_name?: string | undefined;
2229
+ tz?: string | undefined;
2230
+ tz_label?: string | undefined;
2231
+ tz_offset?: number | undefined;
2198
2232
  profile?: {
2199
2233
  title?: string | undefined;
2200
- email?: string | undefined;
2201
2234
  fields?: Record<string, unknown> | undefined;
2235
+ email?: string | undefined;
2202
2236
  real_name?: string | undefined;
2203
2237
  phone?: string | undefined;
2204
2238
  skype?: string | undefined;
@@ -2221,13 +2255,6 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2221
2255
  image_512?: string | undefined;
2222
2256
  image_1024?: string | undefined;
2223
2257
  } | undefined;
2224
- color?: string | undefined;
2225
- team_id?: string | undefined;
2226
- deleted?: boolean | undefined;
2227
- real_name?: string | undefined;
2228
- tz?: string | undefined;
2229
- tz_label?: string | undefined;
2230
- tz_offset?: number | undefined;
2231
2258
  is_admin?: boolean | undefined;
2232
2259
  is_owner?: boolean | undefined;
2233
2260
  is_primary_owner?: boolean | undefined;
@@ -2239,20 +2266,27 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2239
2266
  has_2fa?: boolean | undefined;
2240
2267
  }[] | undefined;
2241
2268
  }, {
2242
- error: string;
2243
- success: boolean;
2244
2269
  operation: "list_users";
2245
2270
  ok: boolean;
2271
+ error: string;
2272
+ success: boolean;
2246
2273
  response_metadata?: {
2247
2274
  next_cursor: string;
2248
2275
  } | undefined;
2249
2276
  members?: {
2250
2277
  name: string;
2251
2278
  id: string;
2279
+ color?: string | undefined;
2280
+ team_id?: string | undefined;
2281
+ deleted?: boolean | undefined;
2282
+ real_name?: string | undefined;
2283
+ tz?: string | undefined;
2284
+ tz_label?: string | undefined;
2285
+ tz_offset?: number | undefined;
2252
2286
  profile?: {
2253
2287
  title?: string | undefined;
2254
- email?: string | undefined;
2255
2288
  fields?: Record<string, unknown> | undefined;
2289
+ email?: string | undefined;
2256
2290
  real_name?: string | undefined;
2257
2291
  phone?: string | undefined;
2258
2292
  skype?: string | undefined;
@@ -2275,13 +2309,6 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2275
2309
  image_512?: string | undefined;
2276
2310
  image_1024?: string | undefined;
2277
2311
  } | undefined;
2278
- color?: string | undefined;
2279
- team_id?: string | undefined;
2280
- deleted?: boolean | undefined;
2281
- real_name?: string | undefined;
2282
- tz?: string | undefined;
2283
- tz_label?: string | undefined;
2284
- tz_offset?: number | undefined;
2285
2312
  is_admin?: boolean | undefined;
2286
2313
  is_owner?: boolean | undefined;
2287
2314
  is_primary_owner?: boolean | undefined;
@@ -2335,12 +2362,12 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2335
2362
  }, "strip", z.ZodTypeAny, {
2336
2363
  type: string;
2337
2364
  text?: string | undefined;
2338
- blocks?: unknown[] | undefined;
2339
- user?: string | undefined;
2340
- ts?: string | undefined;
2341
2365
  username?: string | undefined;
2366
+ ts?: string | undefined;
2342
2367
  attachments?: unknown[] | undefined;
2368
+ blocks?: unknown[] | undefined;
2343
2369
  thread_ts?: string | undefined;
2370
+ user?: string | undefined;
2344
2371
  bot_id?: string | undefined;
2345
2372
  bot_profile?: {
2346
2373
  name?: string | undefined;
@@ -2360,12 +2387,12 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2360
2387
  }, {
2361
2388
  type: string;
2362
2389
  text?: string | undefined;
2363
- blocks?: unknown[] | undefined;
2364
- user?: string | undefined;
2365
- ts?: string | undefined;
2366
2390
  username?: string | undefined;
2391
+ ts?: string | undefined;
2367
2392
  attachments?: unknown[] | undefined;
2393
+ blocks?: unknown[] | undefined;
2368
2394
  thread_ts?: string | undefined;
2395
+ user?: string | undefined;
2369
2396
  bot_id?: string | undefined;
2370
2397
  bot_profile?: {
2371
2398
  name?: string | undefined;
@@ -2394,19 +2421,22 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2394
2421
  error: z.ZodString;
2395
2422
  success: z.ZodBoolean;
2396
2423
  }, "strip", z.ZodTypeAny, {
2397
- error: string;
2398
- success: boolean;
2399
2424
  operation: "get_conversation_history";
2400
2425
  ok: boolean;
2426
+ error: string;
2427
+ success: boolean;
2428
+ response_metadata?: {
2429
+ next_cursor: string;
2430
+ } | undefined;
2401
2431
  messages?: {
2402
2432
  type: string;
2403
2433
  text?: string | undefined;
2404
- blocks?: unknown[] | undefined;
2405
- user?: string | undefined;
2406
- ts?: string | undefined;
2407
2434
  username?: string | undefined;
2435
+ ts?: string | undefined;
2408
2436
  attachments?: unknown[] | undefined;
2437
+ blocks?: unknown[] | undefined;
2409
2438
  thread_ts?: string | undefined;
2439
+ user?: string | undefined;
2410
2440
  bot_id?: string | undefined;
2411
2441
  bot_profile?: {
2412
2442
  name?: string | undefined;
@@ -2424,24 +2454,24 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2424
2454
  count: number;
2425
2455
  }[] | undefined;
2426
2456
  }[] | undefined;
2427
- response_metadata?: {
2428
- next_cursor: string;
2429
- } | undefined;
2430
2457
  has_more?: boolean | undefined;
2431
2458
  }, {
2432
- error: string;
2433
- success: boolean;
2434
2459
  operation: "get_conversation_history";
2435
2460
  ok: boolean;
2461
+ error: string;
2462
+ success: boolean;
2463
+ response_metadata?: {
2464
+ next_cursor: string;
2465
+ } | undefined;
2436
2466
  messages?: {
2437
2467
  type: string;
2438
2468
  text?: string | undefined;
2439
- blocks?: unknown[] | undefined;
2440
- user?: string | undefined;
2441
- ts?: string | undefined;
2442
2469
  username?: string | undefined;
2470
+ ts?: string | undefined;
2443
2471
  attachments?: unknown[] | undefined;
2472
+ blocks?: unknown[] | undefined;
2444
2473
  thread_ts?: string | undefined;
2474
+ user?: string | undefined;
2445
2475
  bot_id?: string | undefined;
2446
2476
  bot_profile?: {
2447
2477
  name?: string | undefined;
@@ -2459,9 +2489,6 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2459
2489
  count: number;
2460
2490
  }[] | undefined;
2461
2491
  }[] | undefined;
2462
- response_metadata?: {
2463
- next_cursor: string;
2464
- } | undefined;
2465
2492
  has_more?: boolean | undefined;
2466
2493
  }>, z.ZodObject<{
2467
2494
  operation: z.ZodLiteral<"get_thread_replies">;
@@ -2506,12 +2533,12 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2506
2533
  }, "strip", z.ZodTypeAny, {
2507
2534
  type: string;
2508
2535
  text?: string | undefined;
2509
- blocks?: unknown[] | undefined;
2510
- user?: string | undefined;
2511
- ts?: string | undefined;
2512
2536
  username?: string | undefined;
2537
+ ts?: string | undefined;
2513
2538
  attachments?: unknown[] | undefined;
2539
+ blocks?: unknown[] | undefined;
2514
2540
  thread_ts?: string | undefined;
2541
+ user?: string | undefined;
2515
2542
  bot_id?: string | undefined;
2516
2543
  bot_profile?: {
2517
2544
  name?: string | undefined;
@@ -2531,12 +2558,12 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2531
2558
  }, {
2532
2559
  type: string;
2533
2560
  text?: string | undefined;
2534
- blocks?: unknown[] | undefined;
2535
- user?: string | undefined;
2536
- ts?: string | undefined;
2537
2561
  username?: string | undefined;
2562
+ ts?: string | undefined;
2538
2563
  attachments?: unknown[] | undefined;
2564
+ blocks?: unknown[] | undefined;
2539
2565
  thread_ts?: string | undefined;
2566
+ user?: string | undefined;
2540
2567
  bot_id?: string | undefined;
2541
2568
  bot_profile?: {
2542
2569
  name?: string | undefined;
@@ -2565,19 +2592,22 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2565
2592
  error: z.ZodString;
2566
2593
  success: z.ZodBoolean;
2567
2594
  }, "strip", z.ZodTypeAny, {
2568
- error: string;
2569
- success: boolean;
2570
2595
  operation: "get_thread_replies";
2571
2596
  ok: boolean;
2597
+ error: string;
2598
+ success: boolean;
2599
+ response_metadata?: {
2600
+ next_cursor: string;
2601
+ } | undefined;
2572
2602
  messages?: {
2573
2603
  type: string;
2574
2604
  text?: string | undefined;
2575
- blocks?: unknown[] | undefined;
2576
- user?: string | undefined;
2577
- ts?: string | undefined;
2578
2605
  username?: string | undefined;
2606
+ ts?: string | undefined;
2579
2607
  attachments?: unknown[] | undefined;
2608
+ blocks?: unknown[] | undefined;
2580
2609
  thread_ts?: string | undefined;
2610
+ user?: string | undefined;
2581
2611
  bot_id?: string | undefined;
2582
2612
  bot_profile?: {
2583
2613
  name?: string | undefined;
@@ -2595,24 +2625,24 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2595
2625
  count: number;
2596
2626
  }[] | undefined;
2597
2627
  }[] | undefined;
2598
- response_metadata?: {
2599
- next_cursor: string;
2600
- } | undefined;
2601
2628
  has_more?: boolean | undefined;
2602
2629
  }, {
2603
- error: string;
2604
- success: boolean;
2605
2630
  operation: "get_thread_replies";
2606
2631
  ok: boolean;
2632
+ error: string;
2633
+ success: boolean;
2634
+ response_metadata?: {
2635
+ next_cursor: string;
2636
+ } | undefined;
2607
2637
  messages?: {
2608
2638
  type: string;
2609
2639
  text?: string | undefined;
2610
- blocks?: unknown[] | undefined;
2611
- user?: string | undefined;
2612
- ts?: string | undefined;
2613
2640
  username?: string | undefined;
2641
+ ts?: string | undefined;
2614
2642
  attachments?: unknown[] | undefined;
2643
+ blocks?: unknown[] | undefined;
2615
2644
  thread_ts?: string | undefined;
2645
+ user?: string | undefined;
2616
2646
  bot_id?: string | undefined;
2617
2647
  bot_profile?: {
2618
2648
  name?: string | undefined;
@@ -2630,9 +2660,6 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2630
2660
  count: number;
2631
2661
  }[] | undefined;
2632
2662
  }[] | undefined;
2633
- response_metadata?: {
2634
- next_cursor: string;
2635
- } | undefined;
2636
2663
  has_more?: boolean | undefined;
2637
2664
  }>, z.ZodObject<{
2638
2665
  operation: z.ZodLiteral<"update_message">;
@@ -2680,12 +2707,12 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2680
2707
  }, "strip", z.ZodTypeAny, {
2681
2708
  type: string;
2682
2709
  text?: string | undefined;
2683
- blocks?: unknown[] | undefined;
2684
- user?: string | undefined;
2685
- ts?: string | undefined;
2686
2710
  username?: string | undefined;
2711
+ ts?: string | undefined;
2687
2712
  attachments?: unknown[] | undefined;
2713
+ blocks?: unknown[] | undefined;
2688
2714
  thread_ts?: string | undefined;
2715
+ user?: string | undefined;
2689
2716
  bot_id?: string | undefined;
2690
2717
  bot_profile?: {
2691
2718
  name?: string | undefined;
@@ -2705,12 +2732,12 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2705
2732
  }, {
2706
2733
  type: string;
2707
2734
  text?: string | undefined;
2708
- blocks?: unknown[] | undefined;
2709
- user?: string | undefined;
2710
- ts?: string | undefined;
2711
2735
  username?: string | undefined;
2736
+ ts?: string | undefined;
2712
2737
  attachments?: unknown[] | undefined;
2738
+ blocks?: unknown[] | undefined;
2713
2739
  thread_ts?: string | undefined;
2740
+ user?: string | undefined;
2714
2741
  bot_id?: string | undefined;
2715
2742
  bot_profile?: {
2716
2743
  name?: string | undefined;
@@ -2731,19 +2758,19 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2731
2758
  error: z.ZodString;
2732
2759
  success: z.ZodBoolean;
2733
2760
  }, "strip", z.ZodTypeAny, {
2734
- error: string;
2735
- success: boolean;
2736
2761
  operation: "update_message";
2737
2762
  ok: boolean;
2763
+ error: string;
2764
+ success: boolean;
2738
2765
  message?: {
2739
2766
  type: string;
2740
2767
  text?: string | undefined;
2741
- blocks?: unknown[] | undefined;
2742
- user?: string | undefined;
2743
- ts?: string | undefined;
2744
2768
  username?: string | undefined;
2769
+ ts?: string | undefined;
2745
2770
  attachments?: unknown[] | undefined;
2771
+ blocks?: unknown[] | undefined;
2746
2772
  thread_ts?: string | undefined;
2773
+ user?: string | undefined;
2747
2774
  bot_id?: string | undefined;
2748
2775
  bot_profile?: {
2749
2776
  name?: string | undefined;
@@ -2761,23 +2788,23 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2761
2788
  count: number;
2762
2789
  }[] | undefined;
2763
2790
  } | undefined;
2791
+ channel?: string | undefined;
2764
2792
  text?: string | undefined;
2765
2793
  ts?: string | undefined;
2766
- channel?: string | undefined;
2767
2794
  }, {
2768
- error: string;
2769
- success: boolean;
2770
2795
  operation: "update_message";
2771
2796
  ok: boolean;
2797
+ error: string;
2798
+ success: boolean;
2772
2799
  message?: {
2773
2800
  type: string;
2774
2801
  text?: string | undefined;
2775
- blocks?: unknown[] | undefined;
2776
- user?: string | undefined;
2777
- ts?: string | undefined;
2778
2802
  username?: string | undefined;
2803
+ ts?: string | undefined;
2779
2804
  attachments?: unknown[] | undefined;
2805
+ blocks?: unknown[] | undefined;
2780
2806
  thread_ts?: string | undefined;
2807
+ user?: string | undefined;
2781
2808
  bot_id?: string | undefined;
2782
2809
  bot_profile?: {
2783
2810
  name?: string | undefined;
@@ -2795,9 +2822,9 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2795
2822
  count: number;
2796
2823
  }[] | undefined;
2797
2824
  } | undefined;
2825
+ channel?: string | undefined;
2798
2826
  text?: string | undefined;
2799
2827
  ts?: string | undefined;
2800
- channel?: string | undefined;
2801
2828
  }>, z.ZodObject<{
2802
2829
  operation: z.ZodLiteral<"delete_message">;
2803
2830
  ok: z.ZodBoolean;
@@ -2806,49 +2833,49 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2806
2833
  error: z.ZodString;
2807
2834
  success: z.ZodBoolean;
2808
2835
  }, "strip", z.ZodTypeAny, {
2809
- error: string;
2810
- success: boolean;
2811
2836
  operation: "delete_message";
2812
2837
  ok: boolean;
2813
- ts?: string | undefined;
2814
- channel?: string | undefined;
2815
- }, {
2816
2838
  error: string;
2817
2839
  success: boolean;
2840
+ channel?: string | undefined;
2841
+ ts?: string | undefined;
2842
+ }, {
2818
2843
  operation: "delete_message";
2819
2844
  ok: boolean;
2820
- ts?: string | undefined;
2845
+ error: string;
2846
+ success: boolean;
2821
2847
  channel?: string | undefined;
2848
+ ts?: string | undefined;
2822
2849
  }>, z.ZodObject<{
2823
2850
  operation: z.ZodLiteral<"add_reaction">;
2824
2851
  ok: z.ZodBoolean;
2825
2852
  error: z.ZodString;
2826
2853
  success: z.ZodBoolean;
2827
2854
  }, "strip", z.ZodTypeAny, {
2828
- error: string;
2829
- success: boolean;
2830
2855
  operation: "add_reaction";
2831
2856
  ok: boolean;
2832
- }, {
2833
2857
  error: string;
2834
2858
  success: boolean;
2859
+ }, {
2835
2860
  operation: "add_reaction";
2836
2861
  ok: boolean;
2862
+ error: string;
2863
+ success: boolean;
2837
2864
  }>, z.ZodObject<{
2838
2865
  operation: z.ZodLiteral<"remove_reaction">;
2839
2866
  ok: z.ZodBoolean;
2840
2867
  error: z.ZodString;
2841
2868
  success: z.ZodBoolean;
2842
2869
  }, "strip", z.ZodTypeAny, {
2843
- error: string;
2844
- success: boolean;
2845
2870
  operation: "remove_reaction";
2846
2871
  ok: boolean;
2847
- }, {
2848
2872
  error: string;
2849
2873
  success: boolean;
2874
+ }, {
2850
2875
  operation: "remove_reaction";
2851
2876
  ok: boolean;
2877
+ error: string;
2878
+ success: boolean;
2852
2879
  }>, z.ZodObject<{
2853
2880
  operation: z.ZodLiteral<"join_channel">;
2854
2881
  ok: z.ZodBoolean;
@@ -2972,10 +2999,10 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
2972
2999
  error: z.ZodString;
2973
3000
  success: z.ZodBoolean;
2974
3001
  }, "strip", z.ZodTypeAny, {
2975
- error: string;
2976
- success: boolean;
2977
3002
  operation: "join_channel";
2978
3003
  ok: boolean;
3004
+ error: string;
3005
+ success: boolean;
2979
3006
  channel?: {
2980
3007
  name: string;
2981
3008
  id: string;
@@ -3012,10 +3039,10 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3012
3039
  } | undefined;
3013
3040
  already_in_channel?: boolean | undefined;
3014
3041
  }, {
3015
- error: string;
3016
- success: boolean;
3017
3042
  operation: "join_channel";
3018
3043
  ok: boolean;
3044
+ error: string;
3045
+ success: boolean;
3019
3046
  channel?: {
3020
3047
  name: string;
3021
3048
  id: string;
@@ -3087,17 +3114,17 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3087
3114
  team_id: z.ZodString;
3088
3115
  }, "strip", z.ZodTypeAny, {
3089
3116
  ts: string;
3090
- team_id: string;
3091
3117
  reply_count: number;
3092
3118
  reply_users_count: number;
3093
3119
  reply_users: string[];
3120
+ team_id: string;
3094
3121
  channel_name: string;
3095
3122
  }, {
3096
3123
  ts: string;
3097
- team_id: string;
3098
3124
  reply_count: number;
3099
3125
  reply_users_count: number;
3100
3126
  reply_users: string[];
3127
+ team_id: string;
3101
3128
  channel_name: string;
3102
3129
  }>, "many">>>;
3103
3130
  private: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
@@ -3109,51 +3136,51 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3109
3136
  team_id: z.ZodString;
3110
3137
  }, "strip", z.ZodTypeAny, {
3111
3138
  ts: string;
3112
- team_id: string;
3113
3139
  reply_count: number;
3114
3140
  reply_users_count: number;
3115
3141
  reply_users: string[];
3142
+ team_id: string;
3116
3143
  channel_name: string;
3117
3144
  }, {
3118
3145
  ts: string;
3119
- team_id: string;
3120
3146
  reply_count: number;
3121
3147
  reply_users_count: number;
3122
3148
  reply_users: string[];
3149
+ team_id: string;
3123
3150
  channel_name: string;
3124
3151
  }>, "many">>>;
3125
3152
  }, "strip", z.ZodTypeAny, {
3126
3153
  public?: Record<string, {
3127
3154
  ts: string;
3128
- team_id: string;
3129
3155
  reply_count: number;
3130
3156
  reply_users_count: number;
3131
3157
  reply_users: string[];
3158
+ team_id: string;
3132
3159
  channel_name: string;
3133
3160
  }[]> | undefined;
3134
3161
  private?: Record<string, {
3135
3162
  ts: string;
3136
- team_id: string;
3137
3163
  reply_count: number;
3138
3164
  reply_users_count: number;
3139
3165
  reply_users: string[];
3166
+ team_id: string;
3140
3167
  channel_name: string;
3141
3168
  }[]> | undefined;
3142
3169
  }, {
3143
3170
  public?: Record<string, {
3144
3171
  ts: string;
3145
- team_id: string;
3146
3172
  reply_count: number;
3147
3173
  reply_users_count: number;
3148
3174
  reply_users: string[];
3175
+ team_id: string;
3149
3176
  channel_name: string;
3150
3177
  }[]> | undefined;
3151
3178
  private?: Record<string, {
3152
3179
  ts: string;
3153
- team_id: string;
3154
3180
  reply_count: number;
3155
3181
  reply_users_count: number;
3156
3182
  reply_users: string[];
3183
+ team_id: string;
3157
3184
  channel_name: string;
3158
3185
  }[]> | undefined;
3159
3186
  }>>;
@@ -3162,17 +3189,17 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3162
3189
  ims: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3163
3190
  has_rich_preview: z.ZodOptional<z.ZodBoolean>;
3164
3191
  }, "strip", z.ZodTypeAny, {
3192
+ username: string;
3165
3193
  name: string;
3166
3194
  user: string;
3167
- size: number;
3168
- id: string;
3169
- username: string;
3170
3195
  timestamp: number;
3196
+ id: string;
3171
3197
  created: number;
3172
3198
  mimetype: string;
3173
3199
  filetype: string;
3174
3200
  pretty_type: string;
3175
3201
  editable: boolean;
3202
+ size: number;
3176
3203
  mode: string;
3177
3204
  is_external: boolean;
3178
3205
  external_type: string;
@@ -3188,18 +3215,18 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3188
3215
  shares?: {
3189
3216
  public?: Record<string, {
3190
3217
  ts: string;
3191
- team_id: string;
3192
3218
  reply_count: number;
3193
3219
  reply_users_count: number;
3194
3220
  reply_users: string[];
3221
+ team_id: string;
3195
3222
  channel_name: string;
3196
3223
  }[]> | undefined;
3197
3224
  private?: Record<string, {
3198
3225
  ts: string;
3199
- team_id: string;
3200
3226
  reply_count: number;
3201
3227
  reply_users_count: number;
3202
3228
  reply_users: string[];
3229
+ team_id: string;
3203
3230
  channel_name: string;
3204
3231
  }[]> | undefined;
3205
3232
  } | undefined;
@@ -3207,17 +3234,17 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3207
3234
  ims?: string[] | undefined;
3208
3235
  has_rich_preview?: boolean | undefined;
3209
3236
  }, {
3237
+ username: string;
3210
3238
  name: string;
3211
3239
  user: string;
3212
- size: number;
3213
- id: string;
3214
- username: string;
3215
3240
  timestamp: number;
3241
+ id: string;
3216
3242
  created: number;
3217
3243
  mimetype: string;
3218
3244
  filetype: string;
3219
3245
  pretty_type: string;
3220
3246
  editable: boolean;
3247
+ size: number;
3221
3248
  mode: string;
3222
3249
  is_external: boolean;
3223
3250
  external_type: string;
@@ -3233,18 +3260,18 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3233
3260
  shares?: {
3234
3261
  public?: Record<string, {
3235
3262
  ts: string;
3236
- team_id: string;
3237
3263
  reply_count: number;
3238
3264
  reply_users_count: number;
3239
3265
  reply_users: string[];
3266
+ team_id: string;
3240
3267
  channel_name: string;
3241
3268
  }[]> | undefined;
3242
3269
  private?: Record<string, {
3243
3270
  ts: string;
3244
- team_id: string;
3245
3271
  reply_count: number;
3246
3272
  reply_users_count: number;
3247
3273
  reply_users: string[];
3274
+ team_id: string;
3248
3275
  channel_name: string;
3249
3276
  }[]> | undefined;
3250
3277
  } | undefined;
@@ -3255,22 +3282,22 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3255
3282
  error: z.ZodString;
3256
3283
  success: z.ZodBoolean;
3257
3284
  }, "strip", z.ZodTypeAny, {
3258
- error: string;
3259
- success: boolean;
3260
3285
  operation: "upload_file";
3261
3286
  ok: boolean;
3287
+ error: string;
3288
+ success: boolean;
3262
3289
  file?: {
3290
+ username: string;
3263
3291
  name: string;
3264
3292
  user: string;
3265
- size: number;
3266
- id: string;
3267
- username: string;
3268
3293
  timestamp: number;
3294
+ id: string;
3269
3295
  created: number;
3270
3296
  mimetype: string;
3271
3297
  filetype: string;
3272
3298
  pretty_type: string;
3273
3299
  editable: boolean;
3300
+ size: number;
3274
3301
  mode: string;
3275
3302
  is_external: boolean;
3276
3303
  external_type: string;
@@ -3286,18 +3313,18 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3286
3313
  shares?: {
3287
3314
  public?: Record<string, {
3288
3315
  ts: string;
3289
- team_id: string;
3290
3316
  reply_count: number;
3291
3317
  reply_users_count: number;
3292
3318
  reply_users: string[];
3319
+ team_id: string;
3293
3320
  channel_name: string;
3294
3321
  }[]> | undefined;
3295
3322
  private?: Record<string, {
3296
3323
  ts: string;
3297
- team_id: string;
3298
3324
  reply_count: number;
3299
3325
  reply_users_count: number;
3300
3326
  reply_users: string[];
3327
+ team_id: string;
3301
3328
  channel_name: string;
3302
3329
  }[]> | undefined;
3303
3330
  } | undefined;
@@ -3306,22 +3333,22 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3306
3333
  has_rich_preview?: boolean | undefined;
3307
3334
  } | undefined;
3308
3335
  }, {
3309
- error: string;
3310
- success: boolean;
3311
3336
  operation: "upload_file";
3312
3337
  ok: boolean;
3338
+ error: string;
3339
+ success: boolean;
3313
3340
  file?: {
3341
+ username: string;
3314
3342
  name: string;
3315
3343
  user: string;
3316
- size: number;
3317
- id: string;
3318
- username: string;
3319
3344
  timestamp: number;
3345
+ id: string;
3320
3346
  created: number;
3321
3347
  mimetype: string;
3322
3348
  filetype: string;
3323
3349
  pretty_type: string;
3324
3350
  editable: boolean;
3351
+ size: number;
3325
3352
  mode: string;
3326
3353
  is_external: boolean;
3327
3354
  external_type: string;
@@ -3337,18 +3364,18 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3337
3364
  shares?: {
3338
3365
  public?: Record<string, {
3339
3366
  ts: string;
3340
- team_id: string;
3341
3367
  reply_count: number;
3342
3368
  reply_users_count: number;
3343
3369
  reply_users: string[];
3370
+ team_id: string;
3344
3371
  channel_name: string;
3345
3372
  }[]> | undefined;
3346
3373
  private?: Record<string, {
3347
3374
  ts: string;
3348
- team_id: string;
3349
3375
  reply_count: number;
3350
3376
  reply_users_count: number;
3351
3377
  reply_users: string[];
3378
+ team_id: string;
3352
3379
  channel_name: string;
3353
3380
  }[]> | undefined;
3354
3381
  } | undefined;
@@ -3365,21 +3392,146 @@ declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
3365
3392
  error: z.ZodString;
3366
3393
  success: z.ZodBoolean;
3367
3394
  }, "strip", z.ZodTypeAny, {
3368
- error: string;
3369
- success: boolean;
3370
3395
  operation: "schedule_message";
3371
3396
  ok: boolean;
3397
+ error: string;
3398
+ success: boolean;
3372
3399
  channel?: string | undefined;
3373
3400
  post_at?: number | undefined;
3374
3401
  scheduled_message_id?: string | undefined;
3375
3402
  }, {
3376
- error: string;
3377
- success: boolean;
3378
3403
  operation: "schedule_message";
3379
3404
  ok: boolean;
3405
+ error: string;
3406
+ success: boolean;
3380
3407
  channel?: string | undefined;
3381
3408
  post_at?: number | undefined;
3382
3409
  scheduled_message_id?: string | undefined;
3410
+ }>, z.ZodObject<{
3411
+ operation: z.ZodLiteral<"get_file_info">;
3412
+ ok: z.ZodBoolean;
3413
+ file: z.ZodOptional<z.ZodObject<{
3414
+ id: z.ZodString;
3415
+ name: z.ZodString;
3416
+ title: z.ZodOptional<z.ZodString>;
3417
+ mimetype: z.ZodString;
3418
+ filetype: z.ZodString;
3419
+ size: z.ZodNumber;
3420
+ user: z.ZodOptional<z.ZodString>;
3421
+ url_private: z.ZodOptional<z.ZodString>;
3422
+ url_private_download: z.ZodOptional<z.ZodString>;
3423
+ thumb_64: z.ZodOptional<z.ZodString>;
3424
+ thumb_360: z.ZodOptional<z.ZodString>;
3425
+ thumb_480: z.ZodOptional<z.ZodString>;
3426
+ original_w: z.ZodOptional<z.ZodNumber>;
3427
+ original_h: z.ZodOptional<z.ZodNumber>;
3428
+ permalink: z.ZodOptional<z.ZodString>;
3429
+ }, "strip", z.ZodTypeAny, {
3430
+ name: string;
3431
+ id: string;
3432
+ mimetype: string;
3433
+ filetype: string;
3434
+ size: number;
3435
+ title?: string | undefined;
3436
+ user?: string | undefined;
3437
+ url_private?: string | undefined;
3438
+ url_private_download?: string | undefined;
3439
+ permalink?: string | undefined;
3440
+ thumb_64?: string | undefined;
3441
+ thumb_360?: string | undefined;
3442
+ thumb_480?: string | undefined;
3443
+ original_w?: number | undefined;
3444
+ original_h?: number | undefined;
3445
+ }, {
3446
+ name: string;
3447
+ id: string;
3448
+ mimetype: string;
3449
+ filetype: string;
3450
+ size: number;
3451
+ title?: string | undefined;
3452
+ user?: string | undefined;
3453
+ url_private?: string | undefined;
3454
+ url_private_download?: string | undefined;
3455
+ permalink?: string | undefined;
3456
+ thumb_64?: string | undefined;
3457
+ thumb_360?: string | undefined;
3458
+ thumb_480?: string | undefined;
3459
+ original_w?: number | undefined;
3460
+ original_h?: number | undefined;
3461
+ }>>;
3462
+ error: z.ZodString;
3463
+ success: z.ZodBoolean;
3464
+ }, "strip", z.ZodTypeAny, {
3465
+ operation: "get_file_info";
3466
+ ok: boolean;
3467
+ error: string;
3468
+ success: boolean;
3469
+ file?: {
3470
+ name: string;
3471
+ id: string;
3472
+ mimetype: string;
3473
+ filetype: string;
3474
+ size: number;
3475
+ title?: string | undefined;
3476
+ user?: string | undefined;
3477
+ url_private?: string | undefined;
3478
+ url_private_download?: string | undefined;
3479
+ permalink?: string | undefined;
3480
+ thumb_64?: string | undefined;
3481
+ thumb_360?: string | undefined;
3482
+ thumb_480?: string | undefined;
3483
+ original_w?: number | undefined;
3484
+ original_h?: number | undefined;
3485
+ } | undefined;
3486
+ }, {
3487
+ operation: "get_file_info";
3488
+ ok: boolean;
3489
+ error: string;
3490
+ success: boolean;
3491
+ file?: {
3492
+ name: string;
3493
+ id: string;
3494
+ mimetype: string;
3495
+ filetype: string;
3496
+ size: number;
3497
+ title?: string | undefined;
3498
+ user?: string | undefined;
3499
+ url_private?: string | undefined;
3500
+ url_private_download?: string | undefined;
3501
+ permalink?: string | undefined;
3502
+ thumb_64?: string | undefined;
3503
+ thumb_360?: string | undefined;
3504
+ thumb_480?: string | undefined;
3505
+ original_w?: number | undefined;
3506
+ original_h?: number | undefined;
3507
+ } | undefined;
3508
+ }>, z.ZodObject<{
3509
+ operation: z.ZodLiteral<"download_file">;
3510
+ ok: z.ZodBoolean;
3511
+ content: z.ZodOptional<z.ZodString>;
3512
+ filename: z.ZodOptional<z.ZodString>;
3513
+ mimetype: z.ZodOptional<z.ZodString>;
3514
+ size: z.ZodOptional<z.ZodNumber>;
3515
+ error: z.ZodString;
3516
+ success: z.ZodBoolean;
3517
+ }, "strip", z.ZodTypeAny, {
3518
+ operation: "download_file";
3519
+ ok: boolean;
3520
+ error: string;
3521
+ success: boolean;
3522
+ content?: string | undefined;
3523
+ filename?: string | undefined;
3524
+ mimetype?: string | undefined;
3525
+ size?: number | undefined;
3526
+ }, {
3527
+ operation: "download_file";
3528
+ ok: boolean;
3529
+ error: string;
3530
+ success: boolean;
3531
+ content?: string | undefined;
3532
+ filename?: string | undefined;
3533
+ mimetype?: string | undefined;
3534
+ size?: number | undefined;
3383
3535
  }>]>;
3384
3536
  type SlackResult = z.output<typeof SlackResultSchema>;
3385
3537
  type SlackParams = z.input<typeof SlackParamsSchema>;
@@ -3431,18 +3583,18 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
3431
3583
  }, "strip", z.ZodTypeAny, {
3432
3584
  title?: string | undefined;
3433
3585
  text?: string | undefined;
3434
- fields?: {
3435
- value: string;
3436
- title: string;
3437
- short?: boolean | undefined;
3438
- }[] | undefined;
3439
- image_url?: string | undefined;
3440
3586
  color?: string | undefined;
3441
3587
  pretext?: string | undefined;
3442
3588
  author_name?: string | undefined;
3443
3589
  author_link?: string | undefined;
3444
3590
  author_icon?: string | undefined;
3445
3591
  title_link?: string | undefined;
3592
+ fields?: {
3593
+ value: string;
3594
+ title: string;
3595
+ short?: boolean | undefined;
3596
+ }[] | undefined;
3597
+ image_url?: string | undefined;
3446
3598
  thumb_url?: string | undefined;
3447
3599
  footer?: string | undefined;
3448
3600
  footer_icon?: string | undefined;
@@ -3450,18 +3602,18 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
3450
3602
  }, {
3451
3603
  title?: string | undefined;
3452
3604
  text?: string | undefined;
3453
- fields?: {
3454
- value: string;
3455
- title: string;
3456
- short?: boolean | undefined;
3457
- }[] | undefined;
3458
- image_url?: string | undefined;
3459
3605
  color?: string | undefined;
3460
3606
  pretext?: string | undefined;
3461
3607
  author_name?: string | undefined;
3462
3608
  author_link?: string | undefined;
3463
3609
  author_icon?: string | undefined;
3464
3610
  title_link?: string | undefined;
3611
+ fields?: {
3612
+ value: string;
3613
+ title: string;
3614
+ short?: boolean | undefined;
3615
+ }[] | undefined;
3616
+ image_url?: string | undefined;
3465
3617
  thumb_url?: string | undefined;
3466
3618
  footer?: string | undefined;
3467
3619
  footer_icon?: string | undefined;
@@ -3493,19 +3645,19 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
3493
3645
  emoji: z.ZodOptional<z.ZodBoolean>;
3494
3646
  verbatim: z.ZodOptional<z.ZodBoolean>;
3495
3647
  }, "strip", z.ZodTypeAny, {
3496
- type: "image" | "plain_text" | "mrkdwn";
3497
- emoji?: boolean | undefined;
3648
+ type: "plain_text" | "mrkdwn" | "image";
3498
3649
  text?: string | undefined;
3650
+ image_url?: string | undefined;
3651
+ emoji?: boolean | undefined;
3499
3652
  verbatim?: boolean | undefined;
3500
3653
  alt_text?: string | undefined;
3501
- image_url?: string | undefined;
3502
3654
  }, {
3503
- type: "image" | "plain_text" | "mrkdwn";
3504
- emoji?: boolean | undefined;
3655
+ type: "plain_text" | "mrkdwn" | "image";
3505
3656
  text?: string | undefined;
3657
+ image_url?: string | undefined;
3658
+ emoji?: boolean | undefined;
3506
3659
  verbatim?: boolean | undefined;
3507
3660
  alt_text?: string | undefined;
3508
- image_url?: string | undefined;
3509
3661
  }>, "many">>;
3510
3662
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3511
3663
  type: z.ZodString;
@@ -3533,19 +3685,19 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
3533
3685
  emoji: z.ZodOptional<z.ZodBoolean>;
3534
3686
  verbatim: z.ZodOptional<z.ZodBoolean>;
3535
3687
  }, "strip", z.ZodTypeAny, {
3536
- type: "image" | "plain_text" | "mrkdwn";
3537
- emoji?: boolean | undefined;
3688
+ type: "plain_text" | "mrkdwn" | "image";
3538
3689
  text?: string | undefined;
3690
+ image_url?: string | undefined;
3691
+ emoji?: boolean | undefined;
3539
3692
  verbatim?: boolean | undefined;
3540
3693
  alt_text?: string | undefined;
3541
- image_url?: string | undefined;
3542
3694
  }, {
3543
- type: "image" | "plain_text" | "mrkdwn";
3544
- emoji?: boolean | undefined;
3695
+ type: "plain_text" | "mrkdwn" | "image";
3545
3696
  text?: string | undefined;
3697
+ image_url?: string | undefined;
3698
+ emoji?: boolean | undefined;
3546
3699
  verbatim?: boolean | undefined;
3547
3700
  alt_text?: string | undefined;
3548
- image_url?: string | undefined;
3549
3701
  }>, "many">>;
3550
3702
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3551
3703
  type: z.ZodString;
@@ -3573,19 +3725,19 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
3573
3725
  emoji: z.ZodOptional<z.ZodBoolean>;
3574
3726
  verbatim: z.ZodOptional<z.ZodBoolean>;
3575
3727
  }, "strip", z.ZodTypeAny, {
3576
- type: "image" | "plain_text" | "mrkdwn";
3577
- emoji?: boolean | undefined;
3728
+ type: "plain_text" | "mrkdwn" | "image";
3578
3729
  text?: string | undefined;
3730
+ image_url?: string | undefined;
3731
+ emoji?: boolean | undefined;
3579
3732
  verbatim?: boolean | undefined;
3580
3733
  alt_text?: string | undefined;
3581
- image_url?: string | undefined;
3582
3734
  }, {
3583
- type: "image" | "plain_text" | "mrkdwn";
3584
- emoji?: boolean | undefined;
3735
+ type: "plain_text" | "mrkdwn" | "image";
3585
3736
  text?: string | undefined;
3737
+ image_url?: string | undefined;
3738
+ emoji?: boolean | undefined;
3586
3739
  verbatim?: boolean | undefined;
3587
3740
  alt_text?: string | undefined;
3588
- image_url?: string | undefined;
3589
3741
  }>, "many">>;
3590
3742
  }, z.ZodTypeAny, "passthrough">>, "many">>;
3591
3743
  thread_ts: z.ZodOptional<z.ZodString>;
@@ -3594,13 +3746,35 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
3594
3746
  unfurl_links: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3595
3747
  unfurl_media: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3596
3748
  }, "strip", z.ZodTypeAny, {
3597
- text: string;
3598
3749
  operation: "send_message";
3599
3750
  channel: string;
3751
+ text: string;
3600
3752
  reply_broadcast: boolean;
3601
3753
  unfurl_links: boolean;
3602
3754
  unfurl_media: boolean;
3603
- credentials?: Partial<Record<CredentialType, string>> | undefined;
3755
+ username?: string | undefined;
3756
+ icon_emoji?: string | undefined;
3757
+ icon_url?: string | undefined;
3758
+ attachments?: {
3759
+ title?: string | undefined;
3760
+ text?: string | undefined;
3761
+ color?: string | undefined;
3762
+ pretext?: string | undefined;
3763
+ author_name?: string | undefined;
3764
+ author_link?: string | undefined;
3765
+ author_icon?: string | undefined;
3766
+ title_link?: string | undefined;
3767
+ fields?: {
3768
+ value: string;
3769
+ title: string;
3770
+ short?: boolean | undefined;
3771
+ }[] | undefined;
3772
+ image_url?: string | undefined;
3773
+ thumb_url?: string | undefined;
3774
+ footer?: string | undefined;
3775
+ footer_icon?: string | undefined;
3776
+ ts?: number | undefined;
3777
+ }[] | undefined;
3604
3778
  blocks?: z.objectOutputType<{
3605
3779
  type: z.ZodString;
3606
3780
  text: z.ZodOptional<z.ZodObject<{
@@ -3627,50 +3801,50 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
3627
3801
  emoji: z.ZodOptional<z.ZodBoolean>;
3628
3802
  verbatim: z.ZodOptional<z.ZodBoolean>;
3629
3803
  }, "strip", z.ZodTypeAny, {
3630
- type: "image" | "plain_text" | "mrkdwn";
3631
- emoji?: boolean | undefined;
3804
+ type: "plain_text" | "mrkdwn" | "image";
3632
3805
  text?: string | undefined;
3806
+ image_url?: string | undefined;
3807
+ emoji?: boolean | undefined;
3633
3808
  verbatim?: boolean | undefined;
3634
3809
  alt_text?: string | undefined;
3635
- image_url?: string | undefined;
3636
3810
  }, {
3637
- type: "image" | "plain_text" | "mrkdwn";
3638
- emoji?: boolean | undefined;
3811
+ type: "plain_text" | "mrkdwn" | "image";
3639
3812
  text?: string | undefined;
3813
+ image_url?: string | undefined;
3814
+ emoji?: boolean | undefined;
3640
3815
  verbatim?: boolean | undefined;
3641
3816
  alt_text?: string | undefined;
3642
- image_url?: string | undefined;
3643
3817
  }>, "many">>;
3644
3818
  }, z.ZodTypeAny, "passthrough">[] | undefined;
3819
+ thread_ts?: string | undefined;
3820
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
3821
+ }, {
3822
+ operation: "send_message";
3823
+ channel: string;
3824
+ text: string;
3645
3825
  username?: string | undefined;
3646
3826
  icon_emoji?: string | undefined;
3647
3827
  icon_url?: string | undefined;
3648
3828
  attachments?: {
3649
3829
  title?: string | undefined;
3650
3830
  text?: string | undefined;
3651
- fields?: {
3652
- value: string;
3653
- title: string;
3654
- short?: boolean | undefined;
3655
- }[] | undefined;
3656
- image_url?: string | undefined;
3657
3831
  color?: string | undefined;
3658
3832
  pretext?: string | undefined;
3659
3833
  author_name?: string | undefined;
3660
3834
  author_link?: string | undefined;
3661
3835
  author_icon?: string | undefined;
3662
3836
  title_link?: string | undefined;
3837
+ fields?: {
3838
+ value: string;
3839
+ title: string;
3840
+ short?: boolean | undefined;
3841
+ }[] | undefined;
3842
+ image_url?: string | undefined;
3663
3843
  thumb_url?: string | undefined;
3664
3844
  footer?: string | undefined;
3665
3845
  footer_icon?: string | undefined;
3666
3846
  ts?: number | undefined;
3667
3847
  }[] | undefined;
3668
- thread_ts?: string | undefined;
3669
- }, {
3670
- text: string;
3671
- operation: "send_message";
3672
- channel: string;
3673
- credentials?: Partial<Record<CredentialType, string>> | undefined;
3674
3848
  blocks?: z.objectInputType<{
3675
3849
  type: z.ZodString;
3676
3850
  text: z.ZodOptional<z.ZodObject<{
@@ -3697,46 +3871,24 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
3697
3871
  emoji: z.ZodOptional<z.ZodBoolean>;
3698
3872
  verbatim: z.ZodOptional<z.ZodBoolean>;
3699
3873
  }, "strip", z.ZodTypeAny, {
3700
- type: "image" | "plain_text" | "mrkdwn";
3874
+ type: "plain_text" | "mrkdwn" | "image";
3875
+ text?: string | undefined;
3876
+ image_url?: string | undefined;
3701
3877
  emoji?: boolean | undefined;
3702
- text?: string | undefined;
3703
3878
  verbatim?: boolean | undefined;
3704
3879
  alt_text?: string | undefined;
3705
- image_url?: string | undefined;
3706
3880
  }, {
3707
- type: "image" | "plain_text" | "mrkdwn";
3708
- emoji?: boolean | undefined;
3881
+ type: "plain_text" | "mrkdwn" | "image";
3709
3882
  text?: string | undefined;
3883
+ image_url?: string | undefined;
3884
+ emoji?: boolean | undefined;
3710
3885
  verbatim?: boolean | undefined;
3711
3886
  alt_text?: string | undefined;
3712
- image_url?: string | undefined;
3713
3887
  }>, "many">>;
3714
3888
  }, z.ZodTypeAny, "passthrough">[] | undefined;
3715
- username?: string | undefined;
3716
- icon_emoji?: string | undefined;
3717
- icon_url?: string | undefined;
3718
- attachments?: {
3719
- title?: string | undefined;
3720
- text?: string | undefined;
3721
- fields?: {
3722
- value: string;
3723
- title: string;
3724
- short?: boolean | undefined;
3725
- }[] | undefined;
3726
- image_url?: string | undefined;
3727
- color?: string | undefined;
3728
- pretext?: string | undefined;
3729
- author_name?: string | undefined;
3730
- author_link?: string | undefined;
3731
- author_icon?: string | undefined;
3732
- title_link?: string | undefined;
3733
- thumb_url?: string | undefined;
3734
- footer?: string | undefined;
3735
- footer_icon?: string | undefined;
3736
- ts?: number | undefined;
3737
- }[] | undefined;
3738
3889
  thread_ts?: string | undefined;
3739
3890
  reply_broadcast?: boolean | undefined;
3891
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
3740
3892
  unfurl_links?: boolean | undefined;
3741
3893
  unfurl_media?: boolean | undefined;
3742
3894
  }>, z.ZodObject<{
@@ -3781,13 +3933,13 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
3781
3933
  include_locale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3782
3934
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
3783
3935
  }, "strip", z.ZodTypeAny, {
3784
- user: string;
3785
3936
  operation: "get_user_info";
3786
3937
  include_locale: boolean;
3938
+ user: string;
3787
3939
  credentials?: Partial<Record<CredentialType, string>> | undefined;
3788
3940
  }, {
3789
- user: string;
3790
3941
  operation: "get_user_info";
3942
+ user: string;
3791
3943
  credentials?: Partial<Record<CredentialType, string>> | undefined;
3792
3944
  include_locale?: boolean | undefined;
3793
3945
  }>, z.ZodObject<{
@@ -3818,8 +3970,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
3818
3970
  cursor: z.ZodOptional<z.ZodString>;
3819
3971
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
3820
3972
  }, "strip", z.ZodTypeAny, {
3821
- inclusive: boolean;
3822
3973
  operation: "get_conversation_history";
3974
+ inclusive: boolean;
3823
3975
  channel: string;
3824
3976
  limit: number;
3825
3977
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -3846,19 +3998,19 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
3846
3998
  cursor: z.ZodOptional<z.ZodString>;
3847
3999
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
3848
4000
  }, "strip", z.ZodTypeAny, {
3849
- inclusive: boolean;
3850
- ts: string;
3851
4001
  operation: "get_thread_replies";
4002
+ inclusive: boolean;
3852
4003
  channel: string;
4004
+ ts: string;
3853
4005
  limit: number;
3854
4006
  credentials?: Partial<Record<CredentialType, string>> | undefined;
3855
4007
  cursor?: string | undefined;
3856
4008
  latest?: string | undefined;
3857
4009
  oldest?: string | undefined;
3858
4010
  }, {
3859
- ts: string;
3860
4011
  operation: "get_thread_replies";
3861
4012
  channel: string;
4013
+ ts: string;
3862
4014
  inclusive?: boolean | undefined;
3863
4015
  credentials?: Partial<Record<CredentialType, string>> | undefined;
3864
4016
  limit?: number | undefined;
@@ -3900,18 +4052,18 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
3900
4052
  }, "strip", z.ZodTypeAny, {
3901
4053
  title?: string | undefined;
3902
4054
  text?: string | undefined;
3903
- fields?: {
3904
- value: string;
3905
- title: string;
3906
- short?: boolean | undefined;
3907
- }[] | undefined;
3908
- image_url?: string | undefined;
3909
4055
  color?: string | undefined;
3910
4056
  pretext?: string | undefined;
3911
4057
  author_name?: string | undefined;
3912
4058
  author_link?: string | undefined;
3913
4059
  author_icon?: string | undefined;
3914
4060
  title_link?: string | undefined;
4061
+ fields?: {
4062
+ value: string;
4063
+ title: string;
4064
+ short?: boolean | undefined;
4065
+ }[] | undefined;
4066
+ image_url?: string | undefined;
3915
4067
  thumb_url?: string | undefined;
3916
4068
  footer?: string | undefined;
3917
4069
  footer_icon?: string | undefined;
@@ -3919,18 +4071,18 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
3919
4071
  }, {
3920
4072
  title?: string | undefined;
3921
4073
  text?: string | undefined;
3922
- fields?: {
3923
- value: string;
3924
- title: string;
3925
- short?: boolean | undefined;
3926
- }[] | undefined;
3927
- image_url?: string | undefined;
3928
4074
  color?: string | undefined;
3929
4075
  pretext?: string | undefined;
3930
4076
  author_name?: string | undefined;
3931
4077
  author_link?: string | undefined;
3932
4078
  author_icon?: string | undefined;
3933
4079
  title_link?: string | undefined;
4080
+ fields?: {
4081
+ value: string;
4082
+ title: string;
4083
+ short?: boolean | undefined;
4084
+ }[] | undefined;
4085
+ image_url?: string | undefined;
3934
4086
  thumb_url?: string | undefined;
3935
4087
  footer?: string | undefined;
3936
4088
  footer_icon?: string | undefined;
@@ -3962,19 +4114,19 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
3962
4114
  emoji: z.ZodOptional<z.ZodBoolean>;
3963
4115
  verbatim: z.ZodOptional<z.ZodBoolean>;
3964
4116
  }, "strip", z.ZodTypeAny, {
3965
- type: "image" | "plain_text" | "mrkdwn";
3966
- emoji?: boolean | undefined;
4117
+ type: "plain_text" | "mrkdwn" | "image";
3967
4118
  text?: string | undefined;
4119
+ image_url?: string | undefined;
4120
+ emoji?: boolean | undefined;
3968
4121
  verbatim?: boolean | undefined;
3969
4122
  alt_text?: string | undefined;
3970
- image_url?: string | undefined;
3971
4123
  }, {
3972
- type: "image" | "plain_text" | "mrkdwn";
3973
- emoji?: boolean | undefined;
4124
+ type: "plain_text" | "mrkdwn" | "image";
3974
4125
  text?: string | undefined;
4126
+ image_url?: string | undefined;
4127
+ emoji?: boolean | undefined;
3975
4128
  verbatim?: boolean | undefined;
3976
4129
  alt_text?: string | undefined;
3977
- image_url?: string | undefined;
3978
4130
  }>, "many">>;
3979
4131
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3980
4132
  type: z.ZodString;
@@ -4002,19 +4154,19 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4002
4154
  emoji: z.ZodOptional<z.ZodBoolean>;
4003
4155
  verbatim: z.ZodOptional<z.ZodBoolean>;
4004
4156
  }, "strip", z.ZodTypeAny, {
4005
- type: "image" | "plain_text" | "mrkdwn";
4006
- emoji?: boolean | undefined;
4157
+ type: "plain_text" | "mrkdwn" | "image";
4007
4158
  text?: string | undefined;
4159
+ image_url?: string | undefined;
4160
+ emoji?: boolean | undefined;
4008
4161
  verbatim?: boolean | undefined;
4009
4162
  alt_text?: string | undefined;
4010
- image_url?: string | undefined;
4011
4163
  }, {
4012
- type: "image" | "plain_text" | "mrkdwn";
4013
- emoji?: boolean | undefined;
4164
+ type: "plain_text" | "mrkdwn" | "image";
4014
4165
  text?: string | undefined;
4166
+ image_url?: string | undefined;
4167
+ emoji?: boolean | undefined;
4015
4168
  verbatim?: boolean | undefined;
4016
4169
  alt_text?: string | undefined;
4017
- image_url?: string | undefined;
4018
4170
  }>, "many">>;
4019
4171
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4020
4172
  type: z.ZodString;
@@ -4042,28 +4194,47 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4042
4194
  emoji: z.ZodOptional<z.ZodBoolean>;
4043
4195
  verbatim: z.ZodOptional<z.ZodBoolean>;
4044
4196
  }, "strip", z.ZodTypeAny, {
4045
- type: "image" | "plain_text" | "mrkdwn";
4046
- emoji?: boolean | undefined;
4197
+ type: "plain_text" | "mrkdwn" | "image";
4047
4198
  text?: string | undefined;
4199
+ image_url?: string | undefined;
4200
+ emoji?: boolean | undefined;
4048
4201
  verbatim?: boolean | undefined;
4049
4202
  alt_text?: string | undefined;
4050
- image_url?: string | undefined;
4051
4203
  }, {
4052
- type: "image" | "plain_text" | "mrkdwn";
4053
- emoji?: boolean | undefined;
4204
+ type: "plain_text" | "mrkdwn" | "image";
4054
4205
  text?: string | undefined;
4206
+ image_url?: string | undefined;
4207
+ emoji?: boolean | undefined;
4055
4208
  verbatim?: boolean | undefined;
4056
4209
  alt_text?: string | undefined;
4057
- image_url?: string | undefined;
4058
4210
  }>, "many">>;
4059
4211
  }, z.ZodTypeAny, "passthrough">>, "many">>;
4060
4212
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
4061
4213
  }, "strip", z.ZodTypeAny, {
4062
- ts: string;
4063
4214
  operation: "update_message";
4064
4215
  channel: string;
4065
- credentials?: Partial<Record<CredentialType, string>> | undefined;
4216
+ ts: string;
4066
4217
  text?: string | undefined;
4218
+ attachments?: {
4219
+ title?: string | undefined;
4220
+ text?: string | undefined;
4221
+ color?: string | undefined;
4222
+ pretext?: string | undefined;
4223
+ author_name?: string | undefined;
4224
+ author_link?: string | undefined;
4225
+ author_icon?: string | undefined;
4226
+ title_link?: string | undefined;
4227
+ fields?: {
4228
+ value: string;
4229
+ title: string;
4230
+ short?: boolean | undefined;
4231
+ }[] | undefined;
4232
+ image_url?: string | undefined;
4233
+ thumb_url?: string | undefined;
4234
+ footer?: string | undefined;
4235
+ footer_icon?: string | undefined;
4236
+ ts?: number | undefined;
4237
+ }[] | undefined;
4067
4238
  blocks?: z.objectOutputType<{
4068
4239
  type: z.ZodString;
4069
4240
  text: z.ZodOptional<z.ZodObject<{
@@ -4090,47 +4261,47 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4090
4261
  emoji: z.ZodOptional<z.ZodBoolean>;
4091
4262
  verbatim: z.ZodOptional<z.ZodBoolean>;
4092
4263
  }, "strip", z.ZodTypeAny, {
4093
- type: "image" | "plain_text" | "mrkdwn";
4094
- emoji?: boolean | undefined;
4264
+ type: "plain_text" | "mrkdwn" | "image";
4095
4265
  text?: string | undefined;
4266
+ image_url?: string | undefined;
4267
+ emoji?: boolean | undefined;
4096
4268
  verbatim?: boolean | undefined;
4097
4269
  alt_text?: string | undefined;
4098
- image_url?: string | undefined;
4099
4270
  }, {
4100
- type: "image" | "plain_text" | "mrkdwn";
4101
- emoji?: boolean | undefined;
4271
+ type: "plain_text" | "mrkdwn" | "image";
4102
4272
  text?: string | undefined;
4273
+ image_url?: string | undefined;
4274
+ emoji?: boolean | undefined;
4103
4275
  verbatim?: boolean | undefined;
4104
4276
  alt_text?: string | undefined;
4105
- image_url?: string | undefined;
4106
4277
  }>, "many">>;
4107
4278
  }, z.ZodTypeAny, "passthrough">[] | undefined;
4279
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
4280
+ }, {
4281
+ operation: "update_message";
4282
+ channel: string;
4283
+ ts: string;
4284
+ text?: string | undefined;
4108
4285
  attachments?: {
4109
4286
  title?: string | undefined;
4110
4287
  text?: string | undefined;
4111
- fields?: {
4112
- value: string;
4113
- title: string;
4114
- short?: boolean | undefined;
4115
- }[] | undefined;
4116
- image_url?: string | undefined;
4117
4288
  color?: string | undefined;
4118
4289
  pretext?: string | undefined;
4119
4290
  author_name?: string | undefined;
4120
4291
  author_link?: string | undefined;
4121
4292
  author_icon?: string | undefined;
4122
4293
  title_link?: string | undefined;
4294
+ fields?: {
4295
+ value: string;
4296
+ title: string;
4297
+ short?: boolean | undefined;
4298
+ }[] | undefined;
4299
+ image_url?: string | undefined;
4123
4300
  thumb_url?: string | undefined;
4124
4301
  footer?: string | undefined;
4125
4302
  footer_icon?: string | undefined;
4126
4303
  ts?: number | undefined;
4127
4304
  }[] | undefined;
4128
- }, {
4129
- ts: string;
4130
- operation: "update_message";
4131
- channel: string;
4132
- credentials?: Partial<Record<CredentialType, string>> | undefined;
4133
- text?: string | undefined;
4134
4305
  blocks?: z.objectInputType<{
4135
4306
  type: z.ZodString;
4136
4307
  text: z.ZodOptional<z.ZodObject<{
@@ -4157,55 +4328,36 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4157
4328
  emoji: z.ZodOptional<z.ZodBoolean>;
4158
4329
  verbatim: z.ZodOptional<z.ZodBoolean>;
4159
4330
  }, "strip", z.ZodTypeAny, {
4160
- type: "image" | "plain_text" | "mrkdwn";
4161
- emoji?: boolean | undefined;
4331
+ type: "plain_text" | "mrkdwn" | "image";
4162
4332
  text?: string | undefined;
4333
+ image_url?: string | undefined;
4334
+ emoji?: boolean | undefined;
4163
4335
  verbatim?: boolean | undefined;
4164
4336
  alt_text?: string | undefined;
4165
- image_url?: string | undefined;
4166
4337
  }, {
4167
- type: "image" | "plain_text" | "mrkdwn";
4168
- emoji?: boolean | undefined;
4338
+ type: "plain_text" | "mrkdwn" | "image";
4169
4339
  text?: string | undefined;
4340
+ image_url?: string | undefined;
4341
+ emoji?: boolean | undefined;
4170
4342
  verbatim?: boolean | undefined;
4171
4343
  alt_text?: string | undefined;
4172
- image_url?: string | undefined;
4173
4344
  }>, "many">>;
4174
4345
  }, z.ZodTypeAny, "passthrough">[] | undefined;
4175
- attachments?: {
4176
- title?: string | undefined;
4177
- text?: string | undefined;
4178
- fields?: {
4179
- value: string;
4180
- title: string;
4181
- short?: boolean | undefined;
4182
- }[] | undefined;
4183
- image_url?: string | undefined;
4184
- color?: string | undefined;
4185
- pretext?: string | undefined;
4186
- author_name?: string | undefined;
4187
- author_link?: string | undefined;
4188
- author_icon?: string | undefined;
4189
- title_link?: string | undefined;
4190
- thumb_url?: string | undefined;
4191
- footer?: string | undefined;
4192
- footer_icon?: string | undefined;
4193
- ts?: number | undefined;
4194
- }[] | undefined;
4346
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
4195
4347
  }>, z.ZodObject<{
4196
4348
  operation: z.ZodLiteral<"delete_message">;
4197
4349
  channel: z.ZodString;
4198
4350
  ts: z.ZodString;
4199
4351
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
4200
4352
  }, "strip", z.ZodTypeAny, {
4201
- ts: string;
4202
4353
  operation: "delete_message";
4203
4354
  channel: string;
4355
+ ts: string;
4204
4356
  credentials?: Partial<Record<CredentialType, string>> | undefined;
4205
4357
  }, {
4206
- ts: string;
4207
4358
  operation: "delete_message";
4208
4359
  channel: string;
4360
+ ts: string;
4209
4361
  credentials?: Partial<Record<CredentialType, string>> | undefined;
4210
4362
  }>, z.ZodObject<{
4211
4363
  operation: z.ZodLiteral<"add_reaction">;
@@ -4214,15 +4366,15 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4214
4366
  timestamp: z.ZodString;
4215
4367
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
4216
4368
  }, "strip", z.ZodTypeAny, {
4217
- name: string;
4218
4369
  operation: "add_reaction";
4219
4370
  channel: string;
4371
+ name: string;
4220
4372
  timestamp: string;
4221
4373
  credentials?: Partial<Record<CredentialType, string>> | undefined;
4222
4374
  }, {
4223
- name: string;
4224
4375
  operation: "add_reaction";
4225
4376
  channel: string;
4377
+ name: string;
4226
4378
  timestamp: string;
4227
4379
  credentials?: Partial<Record<CredentialType, string>> | undefined;
4228
4380
  }>, z.ZodObject<{
@@ -4232,15 +4384,15 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4232
4384
  timestamp: z.ZodString;
4233
4385
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
4234
4386
  }, "strip", z.ZodTypeAny, {
4235
- name: string;
4236
4387
  operation: "remove_reaction";
4237
4388
  channel: string;
4389
+ name: string;
4238
4390
  timestamp: string;
4239
4391
  credentials?: Partial<Record<CredentialType, string>> | undefined;
4240
4392
  }, {
4241
- name: string;
4242
4393
  operation: "remove_reaction";
4243
4394
  channel: string;
4395
+ name: string;
4244
4396
  timestamp: string;
4245
4397
  credentials?: Partial<Record<CredentialType, string>> | undefined;
4246
4398
  }>, z.ZodObject<{
@@ -4269,8 +4421,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4269
4421
  channel: string;
4270
4422
  file_path: string;
4271
4423
  title?: string | undefined;
4272
- credentials?: Partial<Record<CredentialType, string>> | undefined;
4273
4424
  thread_ts?: string | undefined;
4425
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
4274
4426
  filename?: string | undefined;
4275
4427
  initial_comment?: string | undefined;
4276
4428
  }, {
@@ -4278,8 +4430,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4278
4430
  channel: string;
4279
4431
  file_path: string;
4280
4432
  title?: string | undefined;
4281
- credentials?: Partial<Record<CredentialType, string>> | undefined;
4282
4433
  thread_ts?: string | undefined;
4434
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
4283
4435
  filename?: string | undefined;
4284
4436
  initial_comment?: string | undefined;
4285
4437
  }>, z.ZodObject<{
@@ -4314,19 +4466,19 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4314
4466
  emoji: z.ZodOptional<z.ZodBoolean>;
4315
4467
  verbatim: z.ZodOptional<z.ZodBoolean>;
4316
4468
  }, "strip", z.ZodTypeAny, {
4317
- type: "image" | "plain_text" | "mrkdwn";
4318
- emoji?: boolean | undefined;
4469
+ type: "plain_text" | "mrkdwn" | "image";
4319
4470
  text?: string | undefined;
4471
+ image_url?: string | undefined;
4472
+ emoji?: boolean | undefined;
4320
4473
  verbatim?: boolean | undefined;
4321
4474
  alt_text?: string | undefined;
4322
- image_url?: string | undefined;
4323
4475
  }, {
4324
- type: "image" | "plain_text" | "mrkdwn";
4325
- emoji?: boolean | undefined;
4476
+ type: "plain_text" | "mrkdwn" | "image";
4326
4477
  text?: string | undefined;
4478
+ image_url?: string | undefined;
4479
+ emoji?: boolean | undefined;
4327
4480
  verbatim?: boolean | undefined;
4328
4481
  alt_text?: string | undefined;
4329
- image_url?: string | undefined;
4330
4482
  }>, "many">>;
4331
4483
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4332
4484
  type: z.ZodString;
@@ -4354,19 +4506,19 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4354
4506
  emoji: z.ZodOptional<z.ZodBoolean>;
4355
4507
  verbatim: z.ZodOptional<z.ZodBoolean>;
4356
4508
  }, "strip", z.ZodTypeAny, {
4357
- type: "image" | "plain_text" | "mrkdwn";
4358
- emoji?: boolean | undefined;
4509
+ type: "plain_text" | "mrkdwn" | "image";
4359
4510
  text?: string | undefined;
4511
+ image_url?: string | undefined;
4512
+ emoji?: boolean | undefined;
4360
4513
  verbatim?: boolean | undefined;
4361
4514
  alt_text?: string | undefined;
4362
- image_url?: string | undefined;
4363
4515
  }, {
4364
- type: "image" | "plain_text" | "mrkdwn";
4365
- emoji?: boolean | undefined;
4516
+ type: "plain_text" | "mrkdwn" | "image";
4366
4517
  text?: string | undefined;
4518
+ image_url?: string | undefined;
4519
+ emoji?: boolean | undefined;
4367
4520
  verbatim?: boolean | undefined;
4368
4521
  alt_text?: string | undefined;
4369
- image_url?: string | undefined;
4370
4522
  }>, "many">>;
4371
4523
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4372
4524
  type: z.ZodString;
@@ -4394,32 +4546,31 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4394
4546
  emoji: z.ZodOptional<z.ZodBoolean>;
4395
4547
  verbatim: z.ZodOptional<z.ZodBoolean>;
4396
4548
  }, "strip", z.ZodTypeAny, {
4397
- type: "image" | "plain_text" | "mrkdwn";
4398
- emoji?: boolean | undefined;
4549
+ type: "plain_text" | "mrkdwn" | "image";
4399
4550
  text?: string | undefined;
4551
+ image_url?: string | undefined;
4552
+ emoji?: boolean | undefined;
4400
4553
  verbatim?: boolean | undefined;
4401
4554
  alt_text?: string | undefined;
4402
- image_url?: string | undefined;
4403
4555
  }, {
4404
- type: "image" | "plain_text" | "mrkdwn";
4405
- emoji?: boolean | undefined;
4556
+ type: "plain_text" | "mrkdwn" | "image";
4406
4557
  text?: string | undefined;
4558
+ image_url?: string | undefined;
4559
+ emoji?: boolean | undefined;
4407
4560
  verbatim?: boolean | undefined;
4408
4561
  alt_text?: string | undefined;
4409
- image_url?: string | undefined;
4410
4562
  }>, "many">>;
4411
4563
  }, z.ZodTypeAny, "passthrough">>, "many">>;
4412
4564
  unfurl_links: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4413
4565
  unfurl_media: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4414
4566
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
4415
4567
  }, "strip", z.ZodTypeAny, {
4416
- text: string;
4417
4568
  operation: "schedule_message";
4418
4569
  channel: string;
4570
+ text: string;
4419
4571
  unfurl_links: boolean;
4420
4572
  unfurl_media: boolean;
4421
4573
  post_at: number;
4422
- credentials?: Partial<Record<CredentialType, string>> | undefined;
4423
4574
  blocks?: z.objectOutputType<{
4424
4575
  type: z.ZodString;
4425
4576
  text: z.ZodOptional<z.ZodObject<{
@@ -4446,28 +4597,28 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4446
4597
  emoji: z.ZodOptional<z.ZodBoolean>;
4447
4598
  verbatim: z.ZodOptional<z.ZodBoolean>;
4448
4599
  }, "strip", z.ZodTypeAny, {
4449
- type: "image" | "plain_text" | "mrkdwn";
4450
- emoji?: boolean | undefined;
4600
+ type: "plain_text" | "mrkdwn" | "image";
4451
4601
  text?: string | undefined;
4602
+ image_url?: string | undefined;
4603
+ emoji?: boolean | undefined;
4452
4604
  verbatim?: boolean | undefined;
4453
4605
  alt_text?: string | undefined;
4454
- image_url?: string | undefined;
4455
4606
  }, {
4456
- type: "image" | "plain_text" | "mrkdwn";
4457
- emoji?: boolean | undefined;
4607
+ type: "plain_text" | "mrkdwn" | "image";
4458
4608
  text?: string | undefined;
4609
+ image_url?: string | undefined;
4610
+ emoji?: boolean | undefined;
4459
4611
  verbatim?: boolean | undefined;
4460
4612
  alt_text?: string | undefined;
4461
- image_url?: string | undefined;
4462
4613
  }>, "many">>;
4463
4614
  }, z.ZodTypeAny, "passthrough">[] | undefined;
4464
4615
  thread_ts?: string | undefined;
4616
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
4465
4617
  }, {
4466
- text: string;
4467
4618
  operation: "schedule_message";
4468
4619
  channel: string;
4620
+ text: string;
4469
4621
  post_at: number;
4470
- credentials?: Partial<Record<CredentialType, string>> | undefined;
4471
4622
  blocks?: z.objectInputType<{
4472
4623
  type: z.ZodString;
4473
4624
  text: z.ZodOptional<z.ZodObject<{
@@ -4494,24 +4645,52 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4494
4645
  emoji: z.ZodOptional<z.ZodBoolean>;
4495
4646
  verbatim: z.ZodOptional<z.ZodBoolean>;
4496
4647
  }, "strip", z.ZodTypeAny, {
4497
- type: "image" | "plain_text" | "mrkdwn";
4498
- emoji?: boolean | undefined;
4648
+ type: "plain_text" | "mrkdwn" | "image";
4499
4649
  text?: string | undefined;
4650
+ image_url?: string | undefined;
4651
+ emoji?: boolean | undefined;
4500
4652
  verbatim?: boolean | undefined;
4501
4653
  alt_text?: string | undefined;
4502
- image_url?: string | undefined;
4503
4654
  }, {
4504
- type: "image" | "plain_text" | "mrkdwn";
4505
- emoji?: boolean | undefined;
4655
+ type: "plain_text" | "mrkdwn" | "image";
4506
4656
  text?: string | undefined;
4657
+ image_url?: string | undefined;
4658
+ emoji?: boolean | undefined;
4507
4659
  verbatim?: boolean | undefined;
4508
4660
  alt_text?: string | undefined;
4509
- image_url?: string | undefined;
4510
4661
  }>, "many">>;
4511
4662
  }, z.ZodTypeAny, "passthrough">[] | undefined;
4512
4663
  thread_ts?: string | undefined;
4664
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
4513
4665
  unfurl_links?: boolean | undefined;
4514
4666
  unfurl_media?: boolean | undefined;
4667
+ }>, z.ZodObject<{
4668
+ operation: z.ZodLiteral<"get_file_info">;
4669
+ file_id: z.ZodString;
4670
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
4671
+ }, "strip", z.ZodTypeAny, {
4672
+ operation: "get_file_info";
4673
+ file_id: string;
4674
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
4675
+ }, {
4676
+ operation: "get_file_info";
4677
+ file_id: string;
4678
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
4679
+ }>, z.ZodObject<{
4680
+ operation: z.ZodLiteral<"download_file">;
4681
+ file_url: z.ZodOptional<z.ZodString>;
4682
+ file_id: z.ZodOptional<z.ZodString>;
4683
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
4684
+ }, "strip", z.ZodTypeAny, {
4685
+ operation: "download_file";
4686
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
4687
+ file_id?: string | undefined;
4688
+ file_url?: string | undefined;
4689
+ }, {
4690
+ operation: "download_file";
4691
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
4692
+ file_id?: string | undefined;
4693
+ file_url?: string | undefined;
4515
4694
  }>]>;
4516
4695
  static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
4517
4696
  operation: z.ZodLiteral<"send_message">;
@@ -4558,12 +4737,12 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4558
4737
  }, "strip", z.ZodTypeAny, {
4559
4738
  type: string;
4560
4739
  text?: string | undefined;
4561
- blocks?: unknown[] | undefined;
4562
- user?: string | undefined;
4563
- ts?: string | undefined;
4564
4740
  username?: string | undefined;
4741
+ ts?: string | undefined;
4565
4742
  attachments?: unknown[] | undefined;
4743
+ blocks?: unknown[] | undefined;
4566
4744
  thread_ts?: string | undefined;
4745
+ user?: string | undefined;
4567
4746
  bot_id?: string | undefined;
4568
4747
  bot_profile?: {
4569
4748
  name?: string | undefined;
@@ -4583,12 +4762,12 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4583
4762
  }, {
4584
4763
  type: string;
4585
4764
  text?: string | undefined;
4586
- blocks?: unknown[] | undefined;
4587
- user?: string | undefined;
4588
- ts?: string | undefined;
4589
4765
  username?: string | undefined;
4766
+ ts?: string | undefined;
4590
4767
  attachments?: unknown[] | undefined;
4768
+ blocks?: unknown[] | undefined;
4591
4769
  thread_ts?: string | undefined;
4770
+ user?: string | undefined;
4592
4771
  bot_id?: string | undefined;
4593
4772
  bot_profile?: {
4594
4773
  name?: string | undefined;
@@ -4609,19 +4788,19 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4609
4788
  error: z.ZodString;
4610
4789
  success: z.ZodBoolean;
4611
4790
  }, "strip", z.ZodTypeAny, {
4612
- error: string;
4613
- success: boolean;
4614
4791
  operation: "send_message";
4615
4792
  ok: boolean;
4793
+ error: string;
4794
+ success: boolean;
4616
4795
  message?: {
4617
4796
  type: string;
4618
4797
  text?: string | undefined;
4619
- blocks?: unknown[] | undefined;
4620
- user?: string | undefined;
4621
- ts?: string | undefined;
4622
4798
  username?: string | undefined;
4799
+ ts?: string | undefined;
4623
4800
  attachments?: unknown[] | undefined;
4801
+ blocks?: unknown[] | undefined;
4624
4802
  thread_ts?: string | undefined;
4803
+ user?: string | undefined;
4625
4804
  bot_id?: string | undefined;
4626
4805
  bot_profile?: {
4627
4806
  name?: string | undefined;
@@ -4639,22 +4818,22 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4639
4818
  count: number;
4640
4819
  }[] | undefined;
4641
4820
  } | undefined;
4642
- ts?: string | undefined;
4643
4821
  channel?: string | undefined;
4822
+ ts?: string | undefined;
4644
4823
  }, {
4645
- error: string;
4646
- success: boolean;
4647
4824
  operation: "send_message";
4648
4825
  ok: boolean;
4826
+ error: string;
4827
+ success: boolean;
4649
4828
  message?: {
4650
4829
  type: string;
4651
4830
  text?: string | undefined;
4652
- blocks?: unknown[] | undefined;
4653
- user?: string | undefined;
4654
- ts?: string | undefined;
4655
4831
  username?: string | undefined;
4832
+ ts?: string | undefined;
4656
4833
  attachments?: unknown[] | undefined;
4834
+ blocks?: unknown[] | undefined;
4657
4835
  thread_ts?: string | undefined;
4836
+ user?: string | undefined;
4658
4837
  bot_id?: string | undefined;
4659
4838
  bot_profile?: {
4660
4839
  name?: string | undefined;
@@ -4672,8 +4851,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4672
4851
  count: number;
4673
4852
  }[] | undefined;
4674
4853
  } | undefined;
4675
- ts?: string | undefined;
4676
4854
  channel?: string | undefined;
4855
+ ts?: string | undefined;
4677
4856
  }>, z.ZodObject<{
4678
4857
  operation: z.ZodLiteral<"list_channels">;
4679
4858
  ok: z.ZodBoolean;
@@ -4803,13 +4982,10 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4803
4982
  error: z.ZodString;
4804
4983
  success: z.ZodBoolean;
4805
4984
  }, "strip", z.ZodTypeAny, {
4806
- error: string;
4807
- success: boolean;
4808
4985
  operation: "list_channels";
4809
4986
  ok: boolean;
4810
- response_metadata?: {
4811
- next_cursor: string;
4812
- } | undefined;
4987
+ error: string;
4988
+ success: boolean;
4813
4989
  channels?: {
4814
4990
  name: string;
4815
4991
  id: string;
@@ -4844,14 +5020,14 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4844
5020
  } | undefined;
4845
5021
  num_members?: number | undefined;
4846
5022
  }[] | undefined;
4847
- }, {
4848
- error: string;
4849
- success: boolean;
4850
- operation: "list_channels";
4851
- ok: boolean;
4852
5023
  response_metadata?: {
4853
5024
  next_cursor: string;
4854
5025
  } | undefined;
5026
+ }, {
5027
+ operation: "list_channels";
5028
+ ok: boolean;
5029
+ error: string;
5030
+ success: boolean;
4855
5031
  channels?: {
4856
5032
  name: string;
4857
5033
  id: string;
@@ -4886,6 +5062,9 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
4886
5062
  } | undefined;
4887
5063
  num_members?: number | undefined;
4888
5064
  }[] | undefined;
5065
+ response_metadata?: {
5066
+ next_cursor: string;
5067
+ } | undefined;
4889
5068
  }>, z.ZodObject<{
4890
5069
  operation: z.ZodLiteral<"get_channel_info">;
4891
5070
  ok: z.ZodBoolean;
@@ -5008,10 +5187,10 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5008
5187
  error: z.ZodString;
5009
5188
  success: z.ZodBoolean;
5010
5189
  }, "strip", z.ZodTypeAny, {
5011
- error: string;
5012
- success: boolean;
5013
5190
  operation: "get_channel_info";
5014
5191
  ok: boolean;
5192
+ error: string;
5193
+ success: boolean;
5015
5194
  channel?: {
5016
5195
  name: string;
5017
5196
  id: string;
@@ -5047,10 +5226,10 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5047
5226
  num_members?: number | undefined;
5048
5227
  } | undefined;
5049
5228
  }, {
5050
- error: string;
5051
- success: boolean;
5052
5229
  operation: "get_channel_info";
5053
5230
  ok: boolean;
5231
+ error: string;
5232
+ success: boolean;
5054
5233
  channel?: {
5055
5234
  name: string;
5056
5235
  id: string;
@@ -5125,8 +5304,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5125
5304
  image_1024: z.ZodOptional<z.ZodString>;
5126
5305
  }, "strip", z.ZodTypeAny, {
5127
5306
  title?: string | undefined;
5128
- email?: string | undefined;
5129
5307
  fields?: Record<string, unknown> | undefined;
5308
+ email?: string | undefined;
5130
5309
  real_name?: string | undefined;
5131
5310
  phone?: string | undefined;
5132
5311
  skype?: string | undefined;
@@ -5150,8 +5329,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5150
5329
  image_1024?: string | undefined;
5151
5330
  }, {
5152
5331
  title?: string | undefined;
5153
- email?: string | undefined;
5154
5332
  fields?: Record<string, unknown> | undefined;
5333
+ email?: string | undefined;
5155
5334
  real_name?: string | undefined;
5156
5335
  phone?: string | undefined;
5157
5336
  skype?: string | undefined;
@@ -5186,10 +5365,17 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5186
5365
  }, "strip", z.ZodTypeAny, {
5187
5366
  name: string;
5188
5367
  id: string;
5368
+ color?: string | undefined;
5369
+ team_id?: string | undefined;
5370
+ deleted?: boolean | undefined;
5371
+ real_name?: string | undefined;
5372
+ tz?: string | undefined;
5373
+ tz_label?: string | undefined;
5374
+ tz_offset?: number | undefined;
5189
5375
  profile?: {
5190
5376
  title?: string | undefined;
5191
- email?: string | undefined;
5192
5377
  fields?: Record<string, unknown> | undefined;
5378
+ email?: string | undefined;
5193
5379
  real_name?: string | undefined;
5194
5380
  phone?: string | undefined;
5195
5381
  skype?: string | undefined;
@@ -5212,13 +5398,6 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5212
5398
  image_512?: string | undefined;
5213
5399
  image_1024?: string | undefined;
5214
5400
  } | undefined;
5215
- color?: string | undefined;
5216
- team_id?: string | undefined;
5217
- deleted?: boolean | undefined;
5218
- real_name?: string | undefined;
5219
- tz?: string | undefined;
5220
- tz_label?: string | undefined;
5221
- tz_offset?: number | undefined;
5222
5401
  is_admin?: boolean | undefined;
5223
5402
  is_owner?: boolean | undefined;
5224
5403
  is_primary_owner?: boolean | undefined;
@@ -5231,10 +5410,17 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5231
5410
  }, {
5232
5411
  name: string;
5233
5412
  id: string;
5413
+ color?: string | undefined;
5414
+ team_id?: string | undefined;
5415
+ deleted?: boolean | undefined;
5416
+ real_name?: string | undefined;
5417
+ tz?: string | undefined;
5418
+ tz_label?: string | undefined;
5419
+ tz_offset?: number | undefined;
5234
5420
  profile?: {
5235
5421
  title?: string | undefined;
5236
- email?: string | undefined;
5237
5422
  fields?: Record<string, unknown> | undefined;
5423
+ email?: string | undefined;
5238
5424
  real_name?: string | undefined;
5239
5425
  phone?: string | undefined;
5240
5426
  skype?: string | undefined;
@@ -5257,13 +5443,6 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5257
5443
  image_512?: string | undefined;
5258
5444
  image_1024?: string | undefined;
5259
5445
  } | undefined;
5260
- color?: string | undefined;
5261
- team_id?: string | undefined;
5262
- deleted?: boolean | undefined;
5263
- real_name?: string | undefined;
5264
- tz?: string | undefined;
5265
- tz_label?: string | undefined;
5266
- tz_offset?: number | undefined;
5267
5446
  is_admin?: boolean | undefined;
5268
5447
  is_owner?: boolean | undefined;
5269
5448
  is_primary_owner?: boolean | undefined;
@@ -5277,17 +5456,24 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5277
5456
  error: z.ZodString;
5278
5457
  success: z.ZodBoolean;
5279
5458
  }, "strip", z.ZodTypeAny, {
5280
- error: string;
5281
- success: boolean;
5282
5459
  operation: "get_user_info";
5283
5460
  ok: boolean;
5461
+ error: string;
5462
+ success: boolean;
5284
5463
  user?: {
5285
5464
  name: string;
5286
5465
  id: string;
5466
+ color?: string | undefined;
5467
+ team_id?: string | undefined;
5468
+ deleted?: boolean | undefined;
5469
+ real_name?: string | undefined;
5470
+ tz?: string | undefined;
5471
+ tz_label?: string | undefined;
5472
+ tz_offset?: number | undefined;
5287
5473
  profile?: {
5288
5474
  title?: string | undefined;
5289
- email?: string | undefined;
5290
5475
  fields?: Record<string, unknown> | undefined;
5476
+ email?: string | undefined;
5291
5477
  real_name?: string | undefined;
5292
5478
  phone?: string | undefined;
5293
5479
  skype?: string | undefined;
@@ -5310,13 +5496,6 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5310
5496
  image_512?: string | undefined;
5311
5497
  image_1024?: string | undefined;
5312
5498
  } | undefined;
5313
- color?: string | undefined;
5314
- team_id?: string | undefined;
5315
- deleted?: boolean | undefined;
5316
- real_name?: string | undefined;
5317
- tz?: string | undefined;
5318
- tz_label?: string | undefined;
5319
- tz_offset?: number | undefined;
5320
5499
  is_admin?: boolean | undefined;
5321
5500
  is_owner?: boolean | undefined;
5322
5501
  is_primary_owner?: boolean | undefined;
@@ -5328,17 +5507,24 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5328
5507
  has_2fa?: boolean | undefined;
5329
5508
  } | undefined;
5330
5509
  }, {
5331
- error: string;
5332
- success: boolean;
5333
5510
  operation: "get_user_info";
5334
5511
  ok: boolean;
5512
+ error: string;
5513
+ success: boolean;
5335
5514
  user?: {
5336
5515
  name: string;
5337
5516
  id: string;
5517
+ color?: string | undefined;
5518
+ team_id?: string | undefined;
5519
+ deleted?: boolean | undefined;
5520
+ real_name?: string | undefined;
5521
+ tz?: string | undefined;
5522
+ tz_label?: string | undefined;
5523
+ tz_offset?: number | undefined;
5338
5524
  profile?: {
5339
5525
  title?: string | undefined;
5340
- email?: string | undefined;
5341
5526
  fields?: Record<string, unknown> | undefined;
5527
+ email?: string | undefined;
5342
5528
  real_name?: string | undefined;
5343
5529
  phone?: string | undefined;
5344
5530
  skype?: string | undefined;
@@ -5361,13 +5547,6 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5361
5547
  image_512?: string | undefined;
5362
5548
  image_1024?: string | undefined;
5363
5549
  } | undefined;
5364
- color?: string | undefined;
5365
- team_id?: string | undefined;
5366
- deleted?: boolean | undefined;
5367
- real_name?: string | undefined;
5368
- tz?: string | undefined;
5369
- tz_label?: string | undefined;
5370
- tz_offset?: number | undefined;
5371
5550
  is_admin?: boolean | undefined;
5372
5551
  is_owner?: boolean | undefined;
5373
5552
  is_primary_owner?: boolean | undefined;
@@ -5418,8 +5597,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5418
5597
  image_1024: z.ZodOptional<z.ZodString>;
5419
5598
  }, "strip", z.ZodTypeAny, {
5420
5599
  title?: string | undefined;
5421
- email?: string | undefined;
5422
5600
  fields?: Record<string, unknown> | undefined;
5601
+ email?: string | undefined;
5423
5602
  real_name?: string | undefined;
5424
5603
  phone?: string | undefined;
5425
5604
  skype?: string | undefined;
@@ -5443,8 +5622,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5443
5622
  image_1024?: string | undefined;
5444
5623
  }, {
5445
5624
  title?: string | undefined;
5446
- email?: string | undefined;
5447
5625
  fields?: Record<string, unknown> | undefined;
5626
+ email?: string | undefined;
5448
5627
  real_name?: string | undefined;
5449
5628
  phone?: string | undefined;
5450
5629
  skype?: string | undefined;
@@ -5479,10 +5658,17 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5479
5658
  }, "strip", z.ZodTypeAny, {
5480
5659
  name: string;
5481
5660
  id: string;
5661
+ color?: string | undefined;
5662
+ team_id?: string | undefined;
5663
+ deleted?: boolean | undefined;
5664
+ real_name?: string | undefined;
5665
+ tz?: string | undefined;
5666
+ tz_label?: string | undefined;
5667
+ tz_offset?: number | undefined;
5482
5668
  profile?: {
5483
5669
  title?: string | undefined;
5484
- email?: string | undefined;
5485
5670
  fields?: Record<string, unknown> | undefined;
5671
+ email?: string | undefined;
5486
5672
  real_name?: string | undefined;
5487
5673
  phone?: string | undefined;
5488
5674
  skype?: string | undefined;
@@ -5505,13 +5691,6 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5505
5691
  image_512?: string | undefined;
5506
5692
  image_1024?: string | undefined;
5507
5693
  } | undefined;
5508
- color?: string | undefined;
5509
- team_id?: string | undefined;
5510
- deleted?: boolean | undefined;
5511
- real_name?: string | undefined;
5512
- tz?: string | undefined;
5513
- tz_label?: string | undefined;
5514
- tz_offset?: number | undefined;
5515
5694
  is_admin?: boolean | undefined;
5516
5695
  is_owner?: boolean | undefined;
5517
5696
  is_primary_owner?: boolean | undefined;
@@ -5524,10 +5703,17 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5524
5703
  }, {
5525
5704
  name: string;
5526
5705
  id: string;
5706
+ color?: string | undefined;
5707
+ team_id?: string | undefined;
5708
+ deleted?: boolean | undefined;
5709
+ real_name?: string | undefined;
5710
+ tz?: string | undefined;
5711
+ tz_label?: string | undefined;
5712
+ tz_offset?: number | undefined;
5527
5713
  profile?: {
5528
5714
  title?: string | undefined;
5529
- email?: string | undefined;
5530
5715
  fields?: Record<string, unknown> | undefined;
5716
+ email?: string | undefined;
5531
5717
  real_name?: string | undefined;
5532
5718
  phone?: string | undefined;
5533
5719
  skype?: string | undefined;
@@ -5550,13 +5736,6 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5550
5736
  image_512?: string | undefined;
5551
5737
  image_1024?: string | undefined;
5552
5738
  } | undefined;
5553
- color?: string | undefined;
5554
- team_id?: string | undefined;
5555
- deleted?: boolean | undefined;
5556
- real_name?: string | undefined;
5557
- tz?: string | undefined;
5558
- tz_label?: string | undefined;
5559
- tz_offset?: number | undefined;
5560
5739
  is_admin?: boolean | undefined;
5561
5740
  is_owner?: boolean | undefined;
5562
5741
  is_primary_owner?: boolean | undefined;
@@ -5577,20 +5756,27 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5577
5756
  error: z.ZodString;
5578
5757
  success: z.ZodBoolean;
5579
5758
  }, "strip", z.ZodTypeAny, {
5580
- error: string;
5581
- success: boolean;
5582
5759
  operation: "list_users";
5583
5760
  ok: boolean;
5761
+ error: string;
5762
+ success: boolean;
5584
5763
  response_metadata?: {
5585
5764
  next_cursor: string;
5586
5765
  } | undefined;
5587
5766
  members?: {
5588
5767
  name: string;
5589
5768
  id: string;
5769
+ color?: string | undefined;
5770
+ team_id?: string | undefined;
5771
+ deleted?: boolean | undefined;
5772
+ real_name?: string | undefined;
5773
+ tz?: string | undefined;
5774
+ tz_label?: string | undefined;
5775
+ tz_offset?: number | undefined;
5590
5776
  profile?: {
5591
5777
  title?: string | undefined;
5592
- email?: string | undefined;
5593
5778
  fields?: Record<string, unknown> | undefined;
5779
+ email?: string | undefined;
5594
5780
  real_name?: string | undefined;
5595
5781
  phone?: string | undefined;
5596
5782
  skype?: string | undefined;
@@ -5613,13 +5799,6 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5613
5799
  image_512?: string | undefined;
5614
5800
  image_1024?: string | undefined;
5615
5801
  } | undefined;
5616
- color?: string | undefined;
5617
- team_id?: string | undefined;
5618
- deleted?: boolean | undefined;
5619
- real_name?: string | undefined;
5620
- tz?: string | undefined;
5621
- tz_label?: string | undefined;
5622
- tz_offset?: number | undefined;
5623
5802
  is_admin?: boolean | undefined;
5624
5803
  is_owner?: boolean | undefined;
5625
5804
  is_primary_owner?: boolean | undefined;
@@ -5631,20 +5810,27 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5631
5810
  has_2fa?: boolean | undefined;
5632
5811
  }[] | undefined;
5633
5812
  }, {
5634
- error: string;
5635
- success: boolean;
5636
5813
  operation: "list_users";
5637
5814
  ok: boolean;
5815
+ error: string;
5816
+ success: boolean;
5638
5817
  response_metadata?: {
5639
5818
  next_cursor: string;
5640
5819
  } | undefined;
5641
5820
  members?: {
5642
5821
  name: string;
5643
5822
  id: string;
5823
+ color?: string | undefined;
5824
+ team_id?: string | undefined;
5825
+ deleted?: boolean | undefined;
5826
+ real_name?: string | undefined;
5827
+ tz?: string | undefined;
5828
+ tz_label?: string | undefined;
5829
+ tz_offset?: number | undefined;
5644
5830
  profile?: {
5645
5831
  title?: string | undefined;
5646
- email?: string | undefined;
5647
5832
  fields?: Record<string, unknown> | undefined;
5833
+ email?: string | undefined;
5648
5834
  real_name?: string | undefined;
5649
5835
  phone?: string | undefined;
5650
5836
  skype?: string | undefined;
@@ -5667,13 +5853,6 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5667
5853
  image_512?: string | undefined;
5668
5854
  image_1024?: string | undefined;
5669
5855
  } | undefined;
5670
- color?: string | undefined;
5671
- team_id?: string | undefined;
5672
- deleted?: boolean | undefined;
5673
- real_name?: string | undefined;
5674
- tz?: string | undefined;
5675
- tz_label?: string | undefined;
5676
- tz_offset?: number | undefined;
5677
5856
  is_admin?: boolean | undefined;
5678
5857
  is_owner?: boolean | undefined;
5679
5858
  is_primary_owner?: boolean | undefined;
@@ -5727,12 +5906,12 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5727
5906
  }, "strip", z.ZodTypeAny, {
5728
5907
  type: string;
5729
5908
  text?: string | undefined;
5730
- blocks?: unknown[] | undefined;
5731
- user?: string | undefined;
5732
- ts?: string | undefined;
5733
5909
  username?: string | undefined;
5910
+ ts?: string | undefined;
5734
5911
  attachments?: unknown[] | undefined;
5912
+ blocks?: unknown[] | undefined;
5735
5913
  thread_ts?: string | undefined;
5914
+ user?: string | undefined;
5736
5915
  bot_id?: string | undefined;
5737
5916
  bot_profile?: {
5738
5917
  name?: string | undefined;
@@ -5752,12 +5931,12 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5752
5931
  }, {
5753
5932
  type: string;
5754
5933
  text?: string | undefined;
5755
- blocks?: unknown[] | undefined;
5756
- user?: string | undefined;
5757
- ts?: string | undefined;
5758
5934
  username?: string | undefined;
5935
+ ts?: string | undefined;
5759
5936
  attachments?: unknown[] | undefined;
5937
+ blocks?: unknown[] | undefined;
5760
5938
  thread_ts?: string | undefined;
5939
+ user?: string | undefined;
5761
5940
  bot_id?: string | undefined;
5762
5941
  bot_profile?: {
5763
5942
  name?: string | undefined;
@@ -5786,19 +5965,22 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5786
5965
  error: z.ZodString;
5787
5966
  success: z.ZodBoolean;
5788
5967
  }, "strip", z.ZodTypeAny, {
5789
- error: string;
5790
- success: boolean;
5791
5968
  operation: "get_conversation_history";
5792
5969
  ok: boolean;
5970
+ error: string;
5971
+ success: boolean;
5972
+ response_metadata?: {
5973
+ next_cursor: string;
5974
+ } | undefined;
5793
5975
  messages?: {
5794
5976
  type: string;
5795
5977
  text?: string | undefined;
5796
- blocks?: unknown[] | undefined;
5797
- user?: string | undefined;
5798
- ts?: string | undefined;
5799
5978
  username?: string | undefined;
5979
+ ts?: string | undefined;
5800
5980
  attachments?: unknown[] | undefined;
5981
+ blocks?: unknown[] | undefined;
5801
5982
  thread_ts?: string | undefined;
5983
+ user?: string | undefined;
5802
5984
  bot_id?: string | undefined;
5803
5985
  bot_profile?: {
5804
5986
  name?: string | undefined;
@@ -5816,24 +5998,24 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5816
5998
  count: number;
5817
5999
  }[] | undefined;
5818
6000
  }[] | undefined;
5819
- response_metadata?: {
5820
- next_cursor: string;
5821
- } | undefined;
5822
6001
  has_more?: boolean | undefined;
5823
6002
  }, {
5824
- error: string;
5825
- success: boolean;
5826
6003
  operation: "get_conversation_history";
5827
6004
  ok: boolean;
6005
+ error: string;
6006
+ success: boolean;
6007
+ response_metadata?: {
6008
+ next_cursor: string;
6009
+ } | undefined;
5828
6010
  messages?: {
5829
6011
  type: string;
5830
6012
  text?: string | undefined;
5831
- blocks?: unknown[] | undefined;
5832
- user?: string | undefined;
5833
- ts?: string | undefined;
5834
6013
  username?: string | undefined;
6014
+ ts?: string | undefined;
5835
6015
  attachments?: unknown[] | undefined;
6016
+ blocks?: unknown[] | undefined;
5836
6017
  thread_ts?: string | undefined;
6018
+ user?: string | undefined;
5837
6019
  bot_id?: string | undefined;
5838
6020
  bot_profile?: {
5839
6021
  name?: string | undefined;
@@ -5849,11 +6031,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5849
6031
  name: string;
5850
6032
  users: string[];
5851
6033
  count: number;
5852
- }[] | undefined;
5853
- }[] | undefined;
5854
- response_metadata?: {
5855
- next_cursor: string;
5856
- } | undefined;
6034
+ }[] | undefined;
6035
+ }[] | undefined;
5857
6036
  has_more?: boolean | undefined;
5858
6037
  }>, z.ZodObject<{
5859
6038
  operation: z.ZodLiteral<"get_thread_replies">;
@@ -5898,12 +6077,12 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5898
6077
  }, "strip", z.ZodTypeAny, {
5899
6078
  type: string;
5900
6079
  text?: string | undefined;
5901
- blocks?: unknown[] | undefined;
5902
- user?: string | undefined;
5903
- ts?: string | undefined;
5904
6080
  username?: string | undefined;
6081
+ ts?: string | undefined;
5905
6082
  attachments?: unknown[] | undefined;
6083
+ blocks?: unknown[] | undefined;
5906
6084
  thread_ts?: string | undefined;
6085
+ user?: string | undefined;
5907
6086
  bot_id?: string | undefined;
5908
6087
  bot_profile?: {
5909
6088
  name?: string | undefined;
@@ -5923,12 +6102,12 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5923
6102
  }, {
5924
6103
  type: string;
5925
6104
  text?: string | undefined;
5926
- blocks?: unknown[] | undefined;
5927
- user?: string | undefined;
5928
- ts?: string | undefined;
5929
6105
  username?: string | undefined;
6106
+ ts?: string | undefined;
5930
6107
  attachments?: unknown[] | undefined;
6108
+ blocks?: unknown[] | undefined;
5931
6109
  thread_ts?: string | undefined;
6110
+ user?: string | undefined;
5932
6111
  bot_id?: string | undefined;
5933
6112
  bot_profile?: {
5934
6113
  name?: string | undefined;
@@ -5957,19 +6136,22 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5957
6136
  error: z.ZodString;
5958
6137
  success: z.ZodBoolean;
5959
6138
  }, "strip", z.ZodTypeAny, {
5960
- error: string;
5961
- success: boolean;
5962
6139
  operation: "get_thread_replies";
5963
6140
  ok: boolean;
6141
+ error: string;
6142
+ success: boolean;
6143
+ response_metadata?: {
6144
+ next_cursor: string;
6145
+ } | undefined;
5964
6146
  messages?: {
5965
6147
  type: string;
5966
6148
  text?: string | undefined;
5967
- blocks?: unknown[] | undefined;
5968
- user?: string | undefined;
5969
- ts?: string | undefined;
5970
6149
  username?: string | undefined;
6150
+ ts?: string | undefined;
5971
6151
  attachments?: unknown[] | undefined;
6152
+ blocks?: unknown[] | undefined;
5972
6153
  thread_ts?: string | undefined;
6154
+ user?: string | undefined;
5973
6155
  bot_id?: string | undefined;
5974
6156
  bot_profile?: {
5975
6157
  name?: string | undefined;
@@ -5987,24 +6169,24 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
5987
6169
  count: number;
5988
6170
  }[] | undefined;
5989
6171
  }[] | undefined;
5990
- response_metadata?: {
5991
- next_cursor: string;
5992
- } | undefined;
5993
6172
  has_more?: boolean | undefined;
5994
6173
  }, {
5995
- error: string;
5996
- success: boolean;
5997
6174
  operation: "get_thread_replies";
5998
6175
  ok: boolean;
6176
+ error: string;
6177
+ success: boolean;
6178
+ response_metadata?: {
6179
+ next_cursor: string;
6180
+ } | undefined;
5999
6181
  messages?: {
6000
6182
  type: string;
6001
6183
  text?: string | undefined;
6002
- blocks?: unknown[] | undefined;
6003
- user?: string | undefined;
6004
- ts?: string | undefined;
6005
6184
  username?: string | undefined;
6185
+ ts?: string | undefined;
6006
6186
  attachments?: unknown[] | undefined;
6187
+ blocks?: unknown[] | undefined;
6007
6188
  thread_ts?: string | undefined;
6189
+ user?: string | undefined;
6008
6190
  bot_id?: string | undefined;
6009
6191
  bot_profile?: {
6010
6192
  name?: string | undefined;
@@ -6022,9 +6204,6 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6022
6204
  count: number;
6023
6205
  }[] | undefined;
6024
6206
  }[] | undefined;
6025
- response_metadata?: {
6026
- next_cursor: string;
6027
- } | undefined;
6028
6207
  has_more?: boolean | undefined;
6029
6208
  }>, z.ZodObject<{
6030
6209
  operation: z.ZodLiteral<"update_message">;
@@ -6072,12 +6251,12 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6072
6251
  }, "strip", z.ZodTypeAny, {
6073
6252
  type: string;
6074
6253
  text?: string | undefined;
6075
- blocks?: unknown[] | undefined;
6076
- user?: string | undefined;
6077
- ts?: string | undefined;
6078
6254
  username?: string | undefined;
6255
+ ts?: string | undefined;
6079
6256
  attachments?: unknown[] | undefined;
6257
+ blocks?: unknown[] | undefined;
6080
6258
  thread_ts?: string | undefined;
6259
+ user?: string | undefined;
6081
6260
  bot_id?: string | undefined;
6082
6261
  bot_profile?: {
6083
6262
  name?: string | undefined;
@@ -6097,12 +6276,12 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6097
6276
  }, {
6098
6277
  type: string;
6099
6278
  text?: string | undefined;
6100
- blocks?: unknown[] | undefined;
6101
- user?: string | undefined;
6102
- ts?: string | undefined;
6103
6279
  username?: string | undefined;
6280
+ ts?: string | undefined;
6104
6281
  attachments?: unknown[] | undefined;
6282
+ blocks?: unknown[] | undefined;
6105
6283
  thread_ts?: string | undefined;
6284
+ user?: string | undefined;
6106
6285
  bot_id?: string | undefined;
6107
6286
  bot_profile?: {
6108
6287
  name?: string | undefined;
@@ -6123,19 +6302,19 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6123
6302
  error: z.ZodString;
6124
6303
  success: z.ZodBoolean;
6125
6304
  }, "strip", z.ZodTypeAny, {
6126
- error: string;
6127
- success: boolean;
6128
6305
  operation: "update_message";
6129
6306
  ok: boolean;
6307
+ error: string;
6308
+ success: boolean;
6130
6309
  message?: {
6131
6310
  type: string;
6132
6311
  text?: string | undefined;
6133
- blocks?: unknown[] | undefined;
6134
- user?: string | undefined;
6135
- ts?: string | undefined;
6136
6312
  username?: string | undefined;
6313
+ ts?: string | undefined;
6137
6314
  attachments?: unknown[] | undefined;
6315
+ blocks?: unknown[] | undefined;
6138
6316
  thread_ts?: string | undefined;
6317
+ user?: string | undefined;
6139
6318
  bot_id?: string | undefined;
6140
6319
  bot_profile?: {
6141
6320
  name?: string | undefined;
@@ -6153,23 +6332,23 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6153
6332
  count: number;
6154
6333
  }[] | undefined;
6155
6334
  } | undefined;
6335
+ channel?: string | undefined;
6156
6336
  text?: string | undefined;
6157
6337
  ts?: string | undefined;
6158
- channel?: string | undefined;
6159
6338
  }, {
6160
- error: string;
6161
- success: boolean;
6162
6339
  operation: "update_message";
6163
6340
  ok: boolean;
6341
+ error: string;
6342
+ success: boolean;
6164
6343
  message?: {
6165
6344
  type: string;
6166
6345
  text?: string | undefined;
6167
- blocks?: unknown[] | undefined;
6168
- user?: string | undefined;
6169
- ts?: string | undefined;
6170
6346
  username?: string | undefined;
6347
+ ts?: string | undefined;
6171
6348
  attachments?: unknown[] | undefined;
6349
+ blocks?: unknown[] | undefined;
6172
6350
  thread_ts?: string | undefined;
6351
+ user?: string | undefined;
6173
6352
  bot_id?: string | undefined;
6174
6353
  bot_profile?: {
6175
6354
  name?: string | undefined;
@@ -6187,9 +6366,9 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6187
6366
  count: number;
6188
6367
  }[] | undefined;
6189
6368
  } | undefined;
6369
+ channel?: string | undefined;
6190
6370
  text?: string | undefined;
6191
6371
  ts?: string | undefined;
6192
- channel?: string | undefined;
6193
6372
  }>, z.ZodObject<{
6194
6373
  operation: z.ZodLiteral<"delete_message">;
6195
6374
  ok: z.ZodBoolean;
@@ -6198,49 +6377,49 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6198
6377
  error: z.ZodString;
6199
6378
  success: z.ZodBoolean;
6200
6379
  }, "strip", z.ZodTypeAny, {
6201
- error: string;
6202
- success: boolean;
6203
6380
  operation: "delete_message";
6204
6381
  ok: boolean;
6205
- ts?: string | undefined;
6206
- channel?: string | undefined;
6207
- }, {
6208
6382
  error: string;
6209
6383
  success: boolean;
6384
+ channel?: string | undefined;
6385
+ ts?: string | undefined;
6386
+ }, {
6210
6387
  operation: "delete_message";
6211
6388
  ok: boolean;
6212
- ts?: string | undefined;
6389
+ error: string;
6390
+ success: boolean;
6213
6391
  channel?: string | undefined;
6392
+ ts?: string | undefined;
6214
6393
  }>, z.ZodObject<{
6215
6394
  operation: z.ZodLiteral<"add_reaction">;
6216
6395
  ok: z.ZodBoolean;
6217
6396
  error: z.ZodString;
6218
6397
  success: z.ZodBoolean;
6219
6398
  }, "strip", z.ZodTypeAny, {
6220
- error: string;
6221
- success: boolean;
6222
6399
  operation: "add_reaction";
6223
6400
  ok: boolean;
6224
- }, {
6225
6401
  error: string;
6226
6402
  success: boolean;
6403
+ }, {
6227
6404
  operation: "add_reaction";
6228
6405
  ok: boolean;
6406
+ error: string;
6407
+ success: boolean;
6229
6408
  }>, z.ZodObject<{
6230
6409
  operation: z.ZodLiteral<"remove_reaction">;
6231
6410
  ok: z.ZodBoolean;
6232
6411
  error: z.ZodString;
6233
6412
  success: z.ZodBoolean;
6234
6413
  }, "strip", z.ZodTypeAny, {
6235
- error: string;
6236
- success: boolean;
6237
6414
  operation: "remove_reaction";
6238
6415
  ok: boolean;
6239
- }, {
6240
6416
  error: string;
6241
6417
  success: boolean;
6418
+ }, {
6242
6419
  operation: "remove_reaction";
6243
6420
  ok: boolean;
6421
+ error: string;
6422
+ success: boolean;
6244
6423
  }>, z.ZodObject<{
6245
6424
  operation: z.ZodLiteral<"join_channel">;
6246
6425
  ok: z.ZodBoolean;
@@ -6364,10 +6543,10 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6364
6543
  error: z.ZodString;
6365
6544
  success: z.ZodBoolean;
6366
6545
  }, "strip", z.ZodTypeAny, {
6367
- error: string;
6368
- success: boolean;
6369
6546
  operation: "join_channel";
6370
6547
  ok: boolean;
6548
+ error: string;
6549
+ success: boolean;
6371
6550
  channel?: {
6372
6551
  name: string;
6373
6552
  id: string;
@@ -6404,10 +6583,10 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6404
6583
  } | undefined;
6405
6584
  already_in_channel?: boolean | undefined;
6406
6585
  }, {
6407
- error: string;
6408
- success: boolean;
6409
6586
  operation: "join_channel";
6410
6587
  ok: boolean;
6588
+ error: string;
6589
+ success: boolean;
6411
6590
  channel?: {
6412
6591
  name: string;
6413
6592
  id: string;
@@ -6479,17 +6658,17 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6479
6658
  team_id: z.ZodString;
6480
6659
  }, "strip", z.ZodTypeAny, {
6481
6660
  ts: string;
6482
- team_id: string;
6483
6661
  reply_count: number;
6484
6662
  reply_users_count: number;
6485
6663
  reply_users: string[];
6664
+ team_id: string;
6486
6665
  channel_name: string;
6487
6666
  }, {
6488
6667
  ts: string;
6489
- team_id: string;
6490
6668
  reply_count: number;
6491
6669
  reply_users_count: number;
6492
6670
  reply_users: string[];
6671
+ team_id: string;
6493
6672
  channel_name: string;
6494
6673
  }>, "many">>>;
6495
6674
  private: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
@@ -6501,51 +6680,51 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6501
6680
  team_id: z.ZodString;
6502
6681
  }, "strip", z.ZodTypeAny, {
6503
6682
  ts: string;
6504
- team_id: string;
6505
6683
  reply_count: number;
6506
6684
  reply_users_count: number;
6507
6685
  reply_users: string[];
6686
+ team_id: string;
6508
6687
  channel_name: string;
6509
6688
  }, {
6510
6689
  ts: string;
6511
- team_id: string;
6512
6690
  reply_count: number;
6513
6691
  reply_users_count: number;
6514
6692
  reply_users: string[];
6693
+ team_id: string;
6515
6694
  channel_name: string;
6516
6695
  }>, "many">>>;
6517
6696
  }, "strip", z.ZodTypeAny, {
6518
6697
  public?: Record<string, {
6519
6698
  ts: string;
6520
- team_id: string;
6521
6699
  reply_count: number;
6522
6700
  reply_users_count: number;
6523
6701
  reply_users: string[];
6702
+ team_id: string;
6524
6703
  channel_name: string;
6525
6704
  }[]> | undefined;
6526
6705
  private?: Record<string, {
6527
6706
  ts: string;
6528
- team_id: string;
6529
6707
  reply_count: number;
6530
6708
  reply_users_count: number;
6531
6709
  reply_users: string[];
6710
+ team_id: string;
6532
6711
  channel_name: string;
6533
6712
  }[]> | undefined;
6534
6713
  }, {
6535
6714
  public?: Record<string, {
6536
6715
  ts: string;
6537
- team_id: string;
6538
6716
  reply_count: number;
6539
6717
  reply_users_count: number;
6540
6718
  reply_users: string[];
6719
+ team_id: string;
6541
6720
  channel_name: string;
6542
6721
  }[]> | undefined;
6543
6722
  private?: Record<string, {
6544
6723
  ts: string;
6545
- team_id: string;
6546
6724
  reply_count: number;
6547
6725
  reply_users_count: number;
6548
6726
  reply_users: string[];
6727
+ team_id: string;
6549
6728
  channel_name: string;
6550
6729
  }[]> | undefined;
6551
6730
  }>>;
@@ -6554,17 +6733,17 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6554
6733
  ims: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6555
6734
  has_rich_preview: z.ZodOptional<z.ZodBoolean>;
6556
6735
  }, "strip", z.ZodTypeAny, {
6736
+ username: string;
6557
6737
  name: string;
6558
6738
  user: string;
6559
- size: number;
6560
- id: string;
6561
- username: string;
6562
6739
  timestamp: number;
6740
+ id: string;
6563
6741
  created: number;
6564
6742
  mimetype: string;
6565
6743
  filetype: string;
6566
6744
  pretty_type: string;
6567
6745
  editable: boolean;
6746
+ size: number;
6568
6747
  mode: string;
6569
6748
  is_external: boolean;
6570
6749
  external_type: string;
@@ -6580,18 +6759,18 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6580
6759
  shares?: {
6581
6760
  public?: Record<string, {
6582
6761
  ts: string;
6583
- team_id: string;
6584
6762
  reply_count: number;
6585
6763
  reply_users_count: number;
6586
6764
  reply_users: string[];
6765
+ team_id: string;
6587
6766
  channel_name: string;
6588
6767
  }[]> | undefined;
6589
6768
  private?: Record<string, {
6590
6769
  ts: string;
6591
- team_id: string;
6592
6770
  reply_count: number;
6593
6771
  reply_users_count: number;
6594
6772
  reply_users: string[];
6773
+ team_id: string;
6595
6774
  channel_name: string;
6596
6775
  }[]> | undefined;
6597
6776
  } | undefined;
@@ -6599,17 +6778,17 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6599
6778
  ims?: string[] | undefined;
6600
6779
  has_rich_preview?: boolean | undefined;
6601
6780
  }, {
6781
+ username: string;
6602
6782
  name: string;
6603
6783
  user: string;
6604
- size: number;
6605
- id: string;
6606
- username: string;
6607
6784
  timestamp: number;
6785
+ id: string;
6608
6786
  created: number;
6609
6787
  mimetype: string;
6610
6788
  filetype: string;
6611
6789
  pretty_type: string;
6612
6790
  editable: boolean;
6791
+ size: number;
6613
6792
  mode: string;
6614
6793
  is_external: boolean;
6615
6794
  external_type: string;
@@ -6625,18 +6804,18 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6625
6804
  shares?: {
6626
6805
  public?: Record<string, {
6627
6806
  ts: string;
6628
- team_id: string;
6629
6807
  reply_count: number;
6630
6808
  reply_users_count: number;
6631
6809
  reply_users: string[];
6810
+ team_id: string;
6632
6811
  channel_name: string;
6633
6812
  }[]> | undefined;
6634
6813
  private?: Record<string, {
6635
6814
  ts: string;
6636
- team_id: string;
6637
6815
  reply_count: number;
6638
6816
  reply_users_count: number;
6639
6817
  reply_users: string[];
6818
+ team_id: string;
6640
6819
  channel_name: string;
6641
6820
  }[]> | undefined;
6642
6821
  } | undefined;
@@ -6647,22 +6826,22 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6647
6826
  error: z.ZodString;
6648
6827
  success: z.ZodBoolean;
6649
6828
  }, "strip", z.ZodTypeAny, {
6650
- error: string;
6651
- success: boolean;
6652
6829
  operation: "upload_file";
6653
6830
  ok: boolean;
6831
+ error: string;
6832
+ success: boolean;
6654
6833
  file?: {
6834
+ username: string;
6655
6835
  name: string;
6656
6836
  user: string;
6657
- size: number;
6658
- id: string;
6659
- username: string;
6660
6837
  timestamp: number;
6838
+ id: string;
6661
6839
  created: number;
6662
6840
  mimetype: string;
6663
6841
  filetype: string;
6664
6842
  pretty_type: string;
6665
6843
  editable: boolean;
6844
+ size: number;
6666
6845
  mode: string;
6667
6846
  is_external: boolean;
6668
6847
  external_type: string;
@@ -6678,18 +6857,18 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6678
6857
  shares?: {
6679
6858
  public?: Record<string, {
6680
6859
  ts: string;
6681
- team_id: string;
6682
6860
  reply_count: number;
6683
6861
  reply_users_count: number;
6684
6862
  reply_users: string[];
6863
+ team_id: string;
6685
6864
  channel_name: string;
6686
6865
  }[]> | undefined;
6687
6866
  private?: Record<string, {
6688
6867
  ts: string;
6689
- team_id: string;
6690
6868
  reply_count: number;
6691
6869
  reply_users_count: number;
6692
6870
  reply_users: string[];
6871
+ team_id: string;
6693
6872
  channel_name: string;
6694
6873
  }[]> | undefined;
6695
6874
  } | undefined;
@@ -6698,22 +6877,22 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6698
6877
  has_rich_preview?: boolean | undefined;
6699
6878
  } | undefined;
6700
6879
  }, {
6701
- error: string;
6702
- success: boolean;
6703
6880
  operation: "upload_file";
6704
6881
  ok: boolean;
6882
+ error: string;
6883
+ success: boolean;
6705
6884
  file?: {
6885
+ username: string;
6706
6886
  name: string;
6707
6887
  user: string;
6708
- size: number;
6709
- id: string;
6710
- username: string;
6711
6888
  timestamp: number;
6889
+ id: string;
6712
6890
  created: number;
6713
6891
  mimetype: string;
6714
6892
  filetype: string;
6715
6893
  pretty_type: string;
6716
6894
  editable: boolean;
6895
+ size: number;
6717
6896
  mode: string;
6718
6897
  is_external: boolean;
6719
6898
  external_type: string;
@@ -6729,18 +6908,18 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6729
6908
  shares?: {
6730
6909
  public?: Record<string, {
6731
6910
  ts: string;
6732
- team_id: string;
6733
6911
  reply_count: number;
6734
6912
  reply_users_count: number;
6735
6913
  reply_users: string[];
6914
+ team_id: string;
6736
6915
  channel_name: string;
6737
6916
  }[]> | undefined;
6738
6917
  private?: Record<string, {
6739
6918
  ts: string;
6740
- team_id: string;
6741
6919
  reply_count: number;
6742
6920
  reply_users_count: number;
6743
6921
  reply_users: string[];
6922
+ team_id: string;
6744
6923
  channel_name: string;
6745
6924
  }[]> | undefined;
6746
6925
  } | undefined;
@@ -6757,21 +6936,146 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6757
6936
  error: z.ZodString;
6758
6937
  success: z.ZodBoolean;
6759
6938
  }, "strip", z.ZodTypeAny, {
6760
- error: string;
6761
- success: boolean;
6762
6939
  operation: "schedule_message";
6763
6940
  ok: boolean;
6941
+ error: string;
6942
+ success: boolean;
6764
6943
  channel?: string | undefined;
6765
6944
  post_at?: number | undefined;
6766
6945
  scheduled_message_id?: string | undefined;
6767
6946
  }, {
6768
- error: string;
6769
- success: boolean;
6770
6947
  operation: "schedule_message";
6771
6948
  ok: boolean;
6949
+ error: string;
6950
+ success: boolean;
6772
6951
  channel?: string | undefined;
6773
6952
  post_at?: number | undefined;
6774
6953
  scheduled_message_id?: string | undefined;
6954
+ }>, z.ZodObject<{
6955
+ operation: z.ZodLiteral<"get_file_info">;
6956
+ ok: z.ZodBoolean;
6957
+ file: z.ZodOptional<z.ZodObject<{
6958
+ id: z.ZodString;
6959
+ name: z.ZodString;
6960
+ title: z.ZodOptional<z.ZodString>;
6961
+ mimetype: z.ZodString;
6962
+ filetype: z.ZodString;
6963
+ size: z.ZodNumber;
6964
+ user: z.ZodOptional<z.ZodString>;
6965
+ url_private: z.ZodOptional<z.ZodString>;
6966
+ url_private_download: z.ZodOptional<z.ZodString>;
6967
+ thumb_64: z.ZodOptional<z.ZodString>;
6968
+ thumb_360: z.ZodOptional<z.ZodString>;
6969
+ thumb_480: z.ZodOptional<z.ZodString>;
6970
+ original_w: z.ZodOptional<z.ZodNumber>;
6971
+ original_h: z.ZodOptional<z.ZodNumber>;
6972
+ permalink: z.ZodOptional<z.ZodString>;
6973
+ }, "strip", z.ZodTypeAny, {
6974
+ name: string;
6975
+ id: string;
6976
+ mimetype: string;
6977
+ filetype: string;
6978
+ size: number;
6979
+ title?: string | undefined;
6980
+ user?: string | undefined;
6981
+ url_private?: string | undefined;
6982
+ url_private_download?: string | undefined;
6983
+ permalink?: string | undefined;
6984
+ thumb_64?: string | undefined;
6985
+ thumb_360?: string | undefined;
6986
+ thumb_480?: string | undefined;
6987
+ original_w?: number | undefined;
6988
+ original_h?: number | undefined;
6989
+ }, {
6990
+ name: string;
6991
+ id: string;
6992
+ mimetype: string;
6993
+ filetype: string;
6994
+ size: number;
6995
+ title?: string | undefined;
6996
+ user?: string | undefined;
6997
+ url_private?: string | undefined;
6998
+ url_private_download?: string | undefined;
6999
+ permalink?: string | undefined;
7000
+ thumb_64?: string | undefined;
7001
+ thumb_360?: string | undefined;
7002
+ thumb_480?: string | undefined;
7003
+ original_w?: number | undefined;
7004
+ original_h?: number | undefined;
7005
+ }>>;
7006
+ error: z.ZodString;
7007
+ success: z.ZodBoolean;
7008
+ }, "strip", z.ZodTypeAny, {
7009
+ operation: "get_file_info";
7010
+ ok: boolean;
7011
+ error: string;
7012
+ success: boolean;
7013
+ file?: {
7014
+ name: string;
7015
+ id: string;
7016
+ mimetype: string;
7017
+ filetype: string;
7018
+ size: number;
7019
+ title?: string | undefined;
7020
+ user?: string | undefined;
7021
+ url_private?: string | undefined;
7022
+ url_private_download?: string | undefined;
7023
+ permalink?: string | undefined;
7024
+ thumb_64?: string | undefined;
7025
+ thumb_360?: string | undefined;
7026
+ thumb_480?: string | undefined;
7027
+ original_w?: number | undefined;
7028
+ original_h?: number | undefined;
7029
+ } | undefined;
7030
+ }, {
7031
+ operation: "get_file_info";
7032
+ ok: boolean;
7033
+ error: string;
7034
+ success: boolean;
7035
+ file?: {
7036
+ name: string;
7037
+ id: string;
7038
+ mimetype: string;
7039
+ filetype: string;
7040
+ size: number;
7041
+ title?: string | undefined;
7042
+ user?: string | undefined;
7043
+ url_private?: string | undefined;
7044
+ url_private_download?: string | undefined;
7045
+ permalink?: string | undefined;
7046
+ thumb_64?: string | undefined;
7047
+ thumb_360?: string | undefined;
7048
+ thumb_480?: string | undefined;
7049
+ original_w?: number | undefined;
7050
+ original_h?: number | undefined;
7051
+ } | undefined;
7052
+ }>, z.ZodObject<{
7053
+ operation: z.ZodLiteral<"download_file">;
7054
+ ok: z.ZodBoolean;
7055
+ content: z.ZodOptional<z.ZodString>;
7056
+ filename: z.ZodOptional<z.ZodString>;
7057
+ mimetype: z.ZodOptional<z.ZodString>;
7058
+ size: z.ZodOptional<z.ZodNumber>;
7059
+ error: z.ZodString;
7060
+ success: z.ZodBoolean;
7061
+ }, "strip", z.ZodTypeAny, {
7062
+ operation: "download_file";
7063
+ ok: boolean;
7064
+ error: string;
7065
+ success: boolean;
7066
+ content?: string | undefined;
7067
+ filename?: string | undefined;
7068
+ mimetype?: string | undefined;
7069
+ size?: number | undefined;
7070
+ }, {
7071
+ operation: "download_file";
7072
+ ok: boolean;
7073
+ error: string;
7074
+ success: boolean;
7075
+ content?: string | undefined;
7076
+ filename?: string | undefined;
7077
+ mimetype?: string | undefined;
7078
+ size?: number | undefined;
6775
7079
  }>]>;
6776
7080
  static readonly shortDescription = "Slack integration for messaging and workspace management";
6777
7081
  static readonly longDescription = "\nComprehensive Slack integration for messaging and workspace management.\nSupports both Bot tokens (xoxb-) and User tokens (xoxp-).\n## Token Types: Bot vs User\n\n| Aspect | Bot Token (xoxb-) | User Token (xoxp-) |\n|--------|-------------------|-------------------|\n| Identity | Acts as the bot | Acts as the authorizing user |\n| Channel access | Only channels bot is added to | All channels user can access |\n| Message deletion | Can only delete bot's own messages | Can delete any message user has permission for |\n| Message posting | Messages appear from the bot | Messages appear from the user |\n| Scope location | \"Bot Token Scopes\" section | \"User Token Scopes\" section |\n\nChoose **Bot token** for: Automations, notifications, bots that act independently\nChoose **User token** for: Acting on behalf of a user, accessing user's private channels\n\n## Required OAuth Scopes by Operation\n\nConfigure in your Slack App: OAuth & Permissions page\nOfficial docs: https://docs.slack.dev/reference/scopes/\n\n### Messaging Operations\n| Operation | Bot Token Scope | User Token Scope |\n|------------------|-----------------|------------------|\n| send_message | chat:write (+ chat:write.public for any public channel) | chat:write |\n| send_message (to user DM) | chat:write + im:write | chat:write + im:write |\n| schedule_message | chat:write | chat:write |\n| update_message | chat:write | chat:write |\n| delete_message | chat:write (own messages only) | chat:write (any deletable) |\n\n**Note on DMs**: When you pass a user ID (e.g., U12345678) as the channel, SlackBubble automatically opens a DM conversation with that user. This requires the `im:write` scope in addition to `chat:write`.\n\n### Channel & Conversation Operations\n| Operation | Bot Token Scope | User Token Scope |\n|--------------------------|-----------------|------------------|\n| list_channels | channels:read, groups:read | channels:read, groups:read |\n| get_channel_info | channels:read OR groups:read | channels:read OR groups:read |\n| join_channel | channels:join | channels:write |\n| get_conversation_history | channels:history, groups:history | channels:history, groups:history |\n| get_thread_replies | channels:history, groups:history | channels:history, groups:history |\n\n### User Operations\n| Operation | Bot Token Scope | User Token Scope |\n|---------------|-----------------|------------------|\n| list_users | users:read | users:read |\n| get_user_info | users:read | users:read |\n| (email field) | + users:read.email | + users:read.email |\n\n### Reaction & File Operations\n| Operation | Bot Token Scope | User Token Scope |\n|-----------------|-----------------|------------------|\n| add_reaction | reactions:write | reactions:write |\n| remove_reaction | reactions:write | reactions:write |\n| upload_file | files:write | files:write |\n\n### Direct Message (DM) Scopes\nFor operations on DMs and group DMs, add these additional scopes:\n| Scope | Purpose |\n|-------|---------|\n| im:read | Access direct message channel info |\n| im:write | Start direct message conversations |\n| im:history | Read direct message history |\n| mpim:read | Access group DM channel info |\n| mpim:write | Start group DM conversations |\n| mpim:history | Read group DM history |\n\n## Quick Setup Guide\n\n### For Bot Tokens (xoxb-)\n1. Go to https://api.slack.com/apps \u2192 select your app\n2. Navigate to \"OAuth & Permissions\"\n3. Scroll to \"Bot Token Scopes\" section \u2192 add required scopes\n4. Click \"Install to Workspace\" (or \"Reinstall\" if updating)\n5. Copy \"Bot User OAuth Token\" (starts with xoxb-)\n\n### For User Tokens (xoxp-)\n1. Go to https://api.slack.com/apps \u2192 select your app\n2. Navigate to \"OAuth & Permissions\"\n3. Scroll to \"User Token Scopes\" section \u2192 add required scopes\n4. Click \"Install to Workspace\" (or \"Reinstall\" if updating)\n5. Copy \"User OAuth Token\" (starts with xoxp-)\n\n## Minimum Recommended Scopes\nFor Bot Token: chat:write, channels:read, groups:read, users:read, channels:history\nFor User Token: chat:write, channels:read, groups:read, users:read, channels:history, channels:write\n\n## Setting Up Slack Triggers (Event Subscriptions)\n\nTo trigger BubbleFlow workflows from Slack events (like @mentions), you need to configure Event Subscriptions.\nOfficial docs: https://docs.slack.dev/apis/events-api/\n\n### Supported Trigger Events\n| Trigger Type | Slack Event | Required Scope |\n|--------------|-------------|----------------|\n| slack/bot_mentioned | app_mention | app_mentions:read |\n\n### Step-by-Step Event Subscriptions Setup\n\n**Step 1: Get your webhook URL from Bubble Lab**\n- In Bubble Lab, create a flow with a Slack trigger (e.g., slack/bot_mentioned)\n- Copy the webhook URL provided (format: https://api.bubblelab.ai/webhook/{userId}/{path})\n\n**Step 2: Enable Event Subscriptions in Slack**\n1. Go to https://api.slack.com/apps \u2192 select your app\n2. Click \"Event Subscriptions\" in the left sidebar\n3. Toggle \"Enable Events\" to ON\n\n**Step 3: Configure Request URL**\n1. Paste your Bubble Lab webhook URL in the \"Request URL\" field\n2. Slack will send a verification challenge to your URL\n3. Wait for the green \"Verified\" checkmark (Bubble Lab handles verification automatically)\n4. If verification fails, click \"Retry\" (your server may need a moment to respond)\n\n**Step 4: Subscribe to Bot Events**\n1. Scroll down to \"Subscribe to bot events\"\n2. Click \"Add Bot User Event\"\n3. Add the events you need:\n - For @mentions: add \"app_mention\"\n4. Click \"Save Changes\"\n\n**Step 5: Add Required OAuth Scopes**\n1. Go to \"OAuth & Permissions\" in the sidebar\n2. Under \"Bot Token Scopes\", add:\n - app_mentions:read (for app_mention events)\n3. Click \"Save\"\n\n**Step 6: Reinstall Your App**\n1. Go to \"Install App\" in the sidebar\n2. Click \"Reinstall to Workspace\"\n3. Authorize the new permissions\n\n### Troubleshooting Event Subscriptions\n- **Verification failed**: Ensure your webhook URL is correct and accessible\n- **Not receiving events**: Check that you added the correct scopes AND reinstalled the app\n- **Bot not responding**: Make sure the bot is invited to the channel where it's mentioned\n ";
@@ -6806,6 +7110,8 @@ export declare class SlackBubble<T extends SlackParams = SlackParams> extends Se
6806
7110
  private uploadFile;
6807
7111
  private joinChannel;
6808
7112
  private scheduleMessage;
7113
+ private getFileInfo;
7114
+ private downloadFile;
6809
7115
  /**
6810
7116
  * Opens a DM conversation with a user and returns the DM channel ID.
6811
7117
  * Required scope: im:write (for bot tokens) or im:write (for user tokens)