@bubblelab/bubble-core 0.1.22 → 0.1.23

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 (79) hide show
  1. package/dist/bubble-bundle.d.ts +180 -77
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +10 -2
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/ai-agent.d.ts +4 -4
  6. package/dist/bubbles/service-bubble/airtable.d.ts +82 -82
  7. package/dist/bubbles/service-bubble/apify/apify.d.ts +4 -4
  8. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +8 -8
  9. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +2784 -0
  10. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts.map +1 -0
  11. package/dist/bubbles/service-bubble/crustdata/crustdata.js +338 -0
  12. package/dist/bubbles/service-bubble/crustdata/crustdata.js.map +1 -0
  13. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +3995 -0
  14. package/dist/bubbles/service-bubble/{slack/slack.schema.d.ts.map → crustdata/crustdata.schema.d.ts.map} +1 -1
  15. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.js +425 -0
  16. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.js.map +1 -0
  17. package/dist/bubbles/service-bubble/crustdata/index.d.ts +3 -0
  18. package/dist/bubbles/service-bubble/crustdata/index.d.ts.map +1 -0
  19. package/dist/bubbles/service-bubble/crustdata/index.js +5 -0
  20. package/dist/bubbles/service-bubble/crustdata/index.js.map +1 -0
  21. package/dist/bubbles/service-bubble/eleven-labs.d.ts +8 -8
  22. package/dist/bubbles/service-bubble/firecrawl.d.ts +308 -308
  23. package/dist/bubbles/service-bubble/followupboss.d.ts +236 -236
  24. package/dist/bubbles/service-bubble/github.d.ts +84 -84
  25. package/dist/bubbles/service-bubble/gmail.d.ts +439 -439
  26. package/dist/bubbles/service-bubble/google-calendar.d.ts +100 -100
  27. package/dist/bubbles/service-bubble/google-drive.d.ts +26 -26
  28. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +10 -10
  29. package/dist/bubbles/service-bubble/http.d.ts +20 -20
  30. package/dist/bubbles/service-bubble/insforge-db.d.ts +6 -6
  31. package/dist/bubbles/service-bubble/notion/notion.d.ts +480 -480
  32. package/dist/bubbles/service-bubble/postgresql.d.ts +6 -6
  33. package/dist/bubbles/service-bubble/resend.d.ts +4 -4
  34. package/dist/bubbles/service-bubble/slack/slack.d.ts +148 -148
  35. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  36. package/dist/bubbles/service-bubble/telegram.d.ts +1276 -1276
  37. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +6 -6
  38. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +740 -0
  39. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts.map +1 -0
  40. package/dist/bubbles/tool-bubble/company-enrichment-tool.js +351 -0
  41. package/dist/bubbles/tool-bubble/company-enrichment-tool.js.map +1 -0
  42. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +20 -20
  43. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
  44. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +122 -122
  45. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +934 -0
  46. package/dist/bubbles/tool-bubble/people-search-tool.d.ts.map +1 -0
  47. package/dist/bubbles/tool-bubble/people-search-tool.js +675 -0
  48. package/dist/bubbles/tool-bubble/people-search-tool.js.map +1 -0
  49. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
  50. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  51. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +12 -12
  52. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +10 -10
  53. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +12 -12
  54. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
  55. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +16 -16
  56. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
  57. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +4 -4
  58. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +64 -64
  59. package/dist/bubbles.json +40 -2
  60. package/dist/index.d.ts +5 -0
  61. package/dist/index.d.ts.map +1 -1
  62. package/dist/index.js +3 -0
  63. package/dist/index.js.map +1 -1
  64. package/dist/utils/schema-comparison.d.ts +16 -0
  65. package/dist/utils/schema-comparison.d.ts.map +1 -1
  66. package/dist/utils/schema-comparison.js +98 -6
  67. package/dist/utils/schema-comparison.js.map +1 -1
  68. package/package.json +2 -2
  69. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.d.ts +0 -31
  70. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.d.ts.map +0 -1
  71. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.js +0 -184
  72. package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.js.map +0 -1
  73. package/dist/bubbles/service-bubble/slack/slack.schema.d.ts +0 -3980
  74. package/dist/bubbles/service-bubble/slack/slack.schema.js +0 -1061
  75. package/dist/bubbles/service-bubble/slack/slack.schema.js.map +0 -1
  76. package/dist/bubbles/service-bubble/slack.d.ts +0 -2
  77. package/dist/bubbles/service-bubble/slack.d.ts.map +0 -1
  78. package/dist/bubbles/service-bubble/slack.js +0 -3
  79. package/dist/bubbles/service-bubble/slack.js.map +0 -1
@@ -1,3980 +0,0 @@
1
- /**
2
- * Slack Bubble Schema Definitions
3
- * All Zod schemas for Slack operations
4
- */
5
- import { z } from 'zod';
6
- import { CredentialType } from '@bubblelab/shared-schemas';
7
- export declare const SLACK_API_BASE = "https://slack.com/api";
8
- export declare const ChannelTypes: z.ZodEnum<["public_channel", "private_channel", "mpim", "im"]>;
9
- export declare const MessageAttachmentSchema: z.ZodObject<{
10
- color: z.ZodOptional<z.ZodString>;
11
- pretext: z.ZodOptional<z.ZodString>;
12
- author_name: z.ZodOptional<z.ZodString>;
13
- author_link: z.ZodOptional<z.ZodString>;
14
- author_icon: z.ZodOptional<z.ZodString>;
15
- title: z.ZodOptional<z.ZodString>;
16
- title_link: z.ZodOptional<z.ZodString>;
17
- text: z.ZodOptional<z.ZodString>;
18
- fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
19
- title: z.ZodString;
20
- value: z.ZodString;
21
- short: z.ZodOptional<z.ZodBoolean>;
22
- }, "strip", z.ZodTypeAny, {
23
- title: string;
24
- value: string;
25
- short?: boolean | undefined;
26
- }, {
27
- title: string;
28
- value: string;
29
- short?: boolean | undefined;
30
- }>, "many">>;
31
- image_url: z.ZodOptional<z.ZodString>;
32
- thumb_url: z.ZodOptional<z.ZodString>;
33
- footer: z.ZodOptional<z.ZodString>;
34
- footer_icon: z.ZodOptional<z.ZodString>;
35
- ts: z.ZodOptional<z.ZodNumber>;
36
- }, "strip", z.ZodTypeAny, {
37
- color?: string | undefined;
38
- pretext?: string | undefined;
39
- author_name?: string | undefined;
40
- author_link?: string | undefined;
41
- author_icon?: string | undefined;
42
- title?: string | undefined;
43
- title_link?: string | undefined;
44
- text?: string | undefined;
45
- fields?: {
46
- title: string;
47
- value: string;
48
- short?: boolean | undefined;
49
- }[] | undefined;
50
- image_url?: string | undefined;
51
- thumb_url?: string | undefined;
52
- footer?: string | undefined;
53
- footer_icon?: string | undefined;
54
- ts?: number | undefined;
55
- }, {
56
- color?: string | undefined;
57
- pretext?: string | undefined;
58
- author_name?: string | undefined;
59
- author_link?: string | undefined;
60
- author_icon?: string | undefined;
61
- title?: string | undefined;
62
- title_link?: string | undefined;
63
- text?: string | undefined;
64
- fields?: {
65
- title: string;
66
- value: string;
67
- short?: boolean | undefined;
68
- }[] | undefined;
69
- image_url?: string | undefined;
70
- thumb_url?: string | undefined;
71
- footer?: string | undefined;
72
- footer_icon?: string | undefined;
73
- ts?: number | undefined;
74
- }>;
75
- export declare const BlockElementSchema: z.ZodObject<{
76
- type: z.ZodString;
77
- text: z.ZodOptional<z.ZodObject<{
78
- type: z.ZodEnum<["plain_text", "mrkdwn"]>;
79
- text: z.ZodString;
80
- emoji: z.ZodOptional<z.ZodBoolean>;
81
- verbatim: z.ZodOptional<z.ZodBoolean>;
82
- }, "strip", z.ZodTypeAny, {
83
- text: string;
84
- type: "plain_text" | "mrkdwn";
85
- emoji?: boolean | undefined;
86
- verbatim?: boolean | undefined;
87
- }, {
88
- text: string;
89
- type: "plain_text" | "mrkdwn";
90
- emoji?: boolean | undefined;
91
- verbatim?: boolean | undefined;
92
- }>>;
93
- elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
94
- type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
95
- text: z.ZodOptional<z.ZodString>;
96
- image_url: z.ZodOptional<z.ZodString>;
97
- alt_text: z.ZodOptional<z.ZodString>;
98
- emoji: z.ZodOptional<z.ZodBoolean>;
99
- verbatim: z.ZodOptional<z.ZodBoolean>;
100
- }, "strip", z.ZodTypeAny, {
101
- type: "plain_text" | "mrkdwn" | "image";
102
- text?: string | undefined;
103
- image_url?: string | undefined;
104
- emoji?: boolean | undefined;
105
- verbatim?: boolean | undefined;
106
- alt_text?: string | undefined;
107
- }, {
108
- type: "plain_text" | "mrkdwn" | "image";
109
- text?: string | undefined;
110
- image_url?: string | undefined;
111
- emoji?: boolean | undefined;
112
- verbatim?: boolean | undefined;
113
- alt_text?: string | undefined;
114
- }>, "many">>;
115
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
116
- type: z.ZodString;
117
- text: z.ZodOptional<z.ZodObject<{
118
- type: z.ZodEnum<["plain_text", "mrkdwn"]>;
119
- text: z.ZodString;
120
- emoji: z.ZodOptional<z.ZodBoolean>;
121
- verbatim: z.ZodOptional<z.ZodBoolean>;
122
- }, "strip", z.ZodTypeAny, {
123
- text: string;
124
- type: "plain_text" | "mrkdwn";
125
- emoji?: boolean | undefined;
126
- verbatim?: boolean | undefined;
127
- }, {
128
- text: string;
129
- type: "plain_text" | "mrkdwn";
130
- emoji?: boolean | undefined;
131
- verbatim?: boolean | undefined;
132
- }>>;
133
- elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
134
- type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
135
- text: z.ZodOptional<z.ZodString>;
136
- image_url: z.ZodOptional<z.ZodString>;
137
- alt_text: z.ZodOptional<z.ZodString>;
138
- emoji: z.ZodOptional<z.ZodBoolean>;
139
- verbatim: z.ZodOptional<z.ZodBoolean>;
140
- }, "strip", z.ZodTypeAny, {
141
- type: "plain_text" | "mrkdwn" | "image";
142
- text?: string | undefined;
143
- image_url?: string | undefined;
144
- emoji?: boolean | undefined;
145
- verbatim?: boolean | undefined;
146
- alt_text?: string | undefined;
147
- }, {
148
- type: "plain_text" | "mrkdwn" | "image";
149
- text?: string | undefined;
150
- image_url?: string | undefined;
151
- emoji?: boolean | undefined;
152
- verbatim?: boolean | undefined;
153
- alt_text?: string | undefined;
154
- }>, "many">>;
155
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
156
- type: z.ZodString;
157
- text: z.ZodOptional<z.ZodObject<{
158
- type: z.ZodEnum<["plain_text", "mrkdwn"]>;
159
- text: z.ZodString;
160
- emoji: z.ZodOptional<z.ZodBoolean>;
161
- verbatim: z.ZodOptional<z.ZodBoolean>;
162
- }, "strip", z.ZodTypeAny, {
163
- text: string;
164
- type: "plain_text" | "mrkdwn";
165
- emoji?: boolean | undefined;
166
- verbatim?: boolean | undefined;
167
- }, {
168
- text: string;
169
- type: "plain_text" | "mrkdwn";
170
- emoji?: boolean | undefined;
171
- verbatim?: boolean | undefined;
172
- }>>;
173
- elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
174
- type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
175
- text: z.ZodOptional<z.ZodString>;
176
- image_url: z.ZodOptional<z.ZodString>;
177
- alt_text: z.ZodOptional<z.ZodString>;
178
- emoji: z.ZodOptional<z.ZodBoolean>;
179
- verbatim: z.ZodOptional<z.ZodBoolean>;
180
- }, "strip", z.ZodTypeAny, {
181
- type: "plain_text" | "mrkdwn" | "image";
182
- text?: string | undefined;
183
- image_url?: string | undefined;
184
- emoji?: boolean | undefined;
185
- verbatim?: boolean | undefined;
186
- alt_text?: string | undefined;
187
- }, {
188
- type: "plain_text" | "mrkdwn" | "image";
189
- text?: string | undefined;
190
- image_url?: string | undefined;
191
- emoji?: boolean | undefined;
192
- verbatim?: boolean | undefined;
193
- alt_text?: string | undefined;
194
- }>, "many">>;
195
- }, z.ZodTypeAny, "passthrough">>;
196
- export declare const SlackParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
197
- operation: z.ZodLiteral<"send_message">;
198
- channel: z.ZodString;
199
- text: z.ZodString;
200
- username: z.ZodOptional<z.ZodString>;
201
- icon_emoji: z.ZodOptional<z.ZodString>;
202
- icon_url: z.ZodOptional<z.ZodString>;
203
- attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
204
- color: z.ZodOptional<z.ZodString>;
205
- pretext: z.ZodOptional<z.ZodString>;
206
- author_name: z.ZodOptional<z.ZodString>;
207
- author_link: z.ZodOptional<z.ZodString>;
208
- author_icon: z.ZodOptional<z.ZodString>;
209
- title: z.ZodOptional<z.ZodString>;
210
- title_link: z.ZodOptional<z.ZodString>;
211
- text: z.ZodOptional<z.ZodString>;
212
- fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
213
- title: z.ZodString;
214
- value: z.ZodString;
215
- short: z.ZodOptional<z.ZodBoolean>;
216
- }, "strip", z.ZodTypeAny, {
217
- title: string;
218
- value: string;
219
- short?: boolean | undefined;
220
- }, {
221
- title: string;
222
- value: string;
223
- short?: boolean | undefined;
224
- }>, "many">>;
225
- image_url: z.ZodOptional<z.ZodString>;
226
- thumb_url: z.ZodOptional<z.ZodString>;
227
- footer: z.ZodOptional<z.ZodString>;
228
- footer_icon: z.ZodOptional<z.ZodString>;
229
- ts: z.ZodOptional<z.ZodNumber>;
230
- }, "strip", z.ZodTypeAny, {
231
- color?: string | undefined;
232
- pretext?: string | undefined;
233
- author_name?: string | undefined;
234
- author_link?: string | undefined;
235
- author_icon?: string | undefined;
236
- title?: string | undefined;
237
- title_link?: string | undefined;
238
- text?: string | undefined;
239
- fields?: {
240
- title: string;
241
- value: string;
242
- short?: boolean | undefined;
243
- }[] | undefined;
244
- image_url?: string | undefined;
245
- thumb_url?: string | undefined;
246
- footer?: string | undefined;
247
- footer_icon?: string | undefined;
248
- ts?: number | undefined;
249
- }, {
250
- color?: string | undefined;
251
- pretext?: string | undefined;
252
- author_name?: string | undefined;
253
- author_link?: string | undefined;
254
- author_icon?: string | undefined;
255
- title?: string | undefined;
256
- title_link?: string | undefined;
257
- text?: string | undefined;
258
- fields?: {
259
- title: string;
260
- value: string;
261
- short?: boolean | undefined;
262
- }[] | undefined;
263
- image_url?: string | undefined;
264
- thumb_url?: string | undefined;
265
- footer?: string | undefined;
266
- footer_icon?: string | undefined;
267
- ts?: number | undefined;
268
- }>, "many">>;
269
- blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
270
- type: z.ZodString;
271
- text: z.ZodOptional<z.ZodObject<{
272
- type: z.ZodEnum<["plain_text", "mrkdwn"]>;
273
- text: z.ZodString;
274
- emoji: z.ZodOptional<z.ZodBoolean>;
275
- verbatim: z.ZodOptional<z.ZodBoolean>;
276
- }, "strip", z.ZodTypeAny, {
277
- text: string;
278
- type: "plain_text" | "mrkdwn";
279
- emoji?: boolean | undefined;
280
- verbatim?: boolean | undefined;
281
- }, {
282
- text: string;
283
- type: "plain_text" | "mrkdwn";
284
- emoji?: boolean | undefined;
285
- verbatim?: boolean | undefined;
286
- }>>;
287
- elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
288
- type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
289
- text: z.ZodOptional<z.ZodString>;
290
- image_url: z.ZodOptional<z.ZodString>;
291
- alt_text: z.ZodOptional<z.ZodString>;
292
- emoji: z.ZodOptional<z.ZodBoolean>;
293
- verbatim: z.ZodOptional<z.ZodBoolean>;
294
- }, "strip", z.ZodTypeAny, {
295
- type: "plain_text" | "mrkdwn" | "image";
296
- text?: string | undefined;
297
- image_url?: string | undefined;
298
- emoji?: boolean | undefined;
299
- verbatim?: boolean | undefined;
300
- alt_text?: string | undefined;
301
- }, {
302
- type: "plain_text" | "mrkdwn" | "image";
303
- text?: string | undefined;
304
- image_url?: string | undefined;
305
- emoji?: boolean | undefined;
306
- verbatim?: boolean | undefined;
307
- alt_text?: string | undefined;
308
- }>, "many">>;
309
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
310
- type: z.ZodString;
311
- text: z.ZodOptional<z.ZodObject<{
312
- type: z.ZodEnum<["plain_text", "mrkdwn"]>;
313
- text: z.ZodString;
314
- emoji: z.ZodOptional<z.ZodBoolean>;
315
- verbatim: z.ZodOptional<z.ZodBoolean>;
316
- }, "strip", z.ZodTypeAny, {
317
- text: string;
318
- type: "plain_text" | "mrkdwn";
319
- emoji?: boolean | undefined;
320
- verbatim?: boolean | undefined;
321
- }, {
322
- text: string;
323
- type: "plain_text" | "mrkdwn";
324
- emoji?: boolean | undefined;
325
- verbatim?: boolean | undefined;
326
- }>>;
327
- elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
328
- type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
329
- text: z.ZodOptional<z.ZodString>;
330
- image_url: z.ZodOptional<z.ZodString>;
331
- alt_text: z.ZodOptional<z.ZodString>;
332
- emoji: z.ZodOptional<z.ZodBoolean>;
333
- verbatim: z.ZodOptional<z.ZodBoolean>;
334
- }, "strip", z.ZodTypeAny, {
335
- type: "plain_text" | "mrkdwn" | "image";
336
- text?: string | undefined;
337
- image_url?: string | undefined;
338
- emoji?: boolean | undefined;
339
- verbatim?: boolean | undefined;
340
- alt_text?: string | undefined;
341
- }, {
342
- type: "plain_text" | "mrkdwn" | "image";
343
- text?: string | undefined;
344
- image_url?: string | undefined;
345
- emoji?: boolean | undefined;
346
- verbatim?: boolean | undefined;
347
- alt_text?: string | undefined;
348
- }>, "many">>;
349
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
350
- type: z.ZodString;
351
- text: z.ZodOptional<z.ZodObject<{
352
- type: z.ZodEnum<["plain_text", "mrkdwn"]>;
353
- text: z.ZodString;
354
- emoji: z.ZodOptional<z.ZodBoolean>;
355
- verbatim: z.ZodOptional<z.ZodBoolean>;
356
- }, "strip", z.ZodTypeAny, {
357
- text: string;
358
- type: "plain_text" | "mrkdwn";
359
- emoji?: boolean | undefined;
360
- verbatim?: boolean | undefined;
361
- }, {
362
- text: string;
363
- type: "plain_text" | "mrkdwn";
364
- emoji?: boolean | undefined;
365
- verbatim?: boolean | undefined;
366
- }>>;
367
- elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
368
- type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
369
- text: z.ZodOptional<z.ZodString>;
370
- image_url: z.ZodOptional<z.ZodString>;
371
- alt_text: z.ZodOptional<z.ZodString>;
372
- emoji: z.ZodOptional<z.ZodBoolean>;
373
- verbatim: z.ZodOptional<z.ZodBoolean>;
374
- }, "strip", z.ZodTypeAny, {
375
- type: "plain_text" | "mrkdwn" | "image";
376
- text?: string | undefined;
377
- image_url?: string | undefined;
378
- emoji?: boolean | undefined;
379
- verbatim?: boolean | undefined;
380
- alt_text?: string | undefined;
381
- }, {
382
- type: "plain_text" | "mrkdwn" | "image";
383
- text?: string | undefined;
384
- image_url?: string | undefined;
385
- emoji?: boolean | undefined;
386
- verbatim?: boolean | undefined;
387
- alt_text?: string | undefined;
388
- }>, "many">>;
389
- }, z.ZodTypeAny, "passthrough">>, "many">>;
390
- thread_ts: z.ZodOptional<z.ZodString>;
391
- reply_broadcast: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
392
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
393
- unfurl_links: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
394
- unfurl_media: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
395
- }, "strip", z.ZodTypeAny, {
396
- text: string;
397
- operation: "send_message";
398
- channel: string;
399
- reply_broadcast: boolean;
400
- unfurl_links: boolean;
401
- unfurl_media: boolean;
402
- username?: string | undefined;
403
- icon_emoji?: string | undefined;
404
- icon_url?: string | undefined;
405
- attachments?: {
406
- color?: string | undefined;
407
- pretext?: string | undefined;
408
- author_name?: string | undefined;
409
- author_link?: string | undefined;
410
- author_icon?: string | undefined;
411
- title?: string | undefined;
412
- title_link?: string | undefined;
413
- text?: string | undefined;
414
- fields?: {
415
- title: string;
416
- value: string;
417
- short?: boolean | undefined;
418
- }[] | undefined;
419
- image_url?: string | undefined;
420
- thumb_url?: string | undefined;
421
- footer?: string | undefined;
422
- footer_icon?: string | undefined;
423
- ts?: number | undefined;
424
- }[] | undefined;
425
- blocks?: z.objectOutputType<{
426
- type: z.ZodString;
427
- text: z.ZodOptional<z.ZodObject<{
428
- type: z.ZodEnum<["plain_text", "mrkdwn"]>;
429
- text: z.ZodString;
430
- emoji: z.ZodOptional<z.ZodBoolean>;
431
- verbatim: z.ZodOptional<z.ZodBoolean>;
432
- }, "strip", z.ZodTypeAny, {
433
- text: string;
434
- type: "plain_text" | "mrkdwn";
435
- emoji?: boolean | undefined;
436
- verbatim?: boolean | undefined;
437
- }, {
438
- text: string;
439
- type: "plain_text" | "mrkdwn";
440
- emoji?: boolean | undefined;
441
- verbatim?: boolean | undefined;
442
- }>>;
443
- elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
444
- type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
445
- text: z.ZodOptional<z.ZodString>;
446
- image_url: z.ZodOptional<z.ZodString>;
447
- alt_text: z.ZodOptional<z.ZodString>;
448
- emoji: z.ZodOptional<z.ZodBoolean>;
449
- verbatim: z.ZodOptional<z.ZodBoolean>;
450
- }, "strip", z.ZodTypeAny, {
451
- type: "plain_text" | "mrkdwn" | "image";
452
- text?: string | undefined;
453
- image_url?: string | undefined;
454
- emoji?: boolean | undefined;
455
- verbatim?: boolean | undefined;
456
- alt_text?: string | undefined;
457
- }, {
458
- type: "plain_text" | "mrkdwn" | "image";
459
- text?: string | undefined;
460
- image_url?: string | undefined;
461
- emoji?: boolean | undefined;
462
- verbatim?: boolean | undefined;
463
- alt_text?: string | undefined;
464
- }>, "many">>;
465
- }, z.ZodTypeAny, "passthrough">[] | undefined;
466
- thread_ts?: string | undefined;
467
- credentials?: Partial<Record<CredentialType, string>> | undefined;
468
- }, {
469
- text: string;
470
- operation: "send_message";
471
- channel: string;
472
- username?: string | undefined;
473
- icon_emoji?: string | undefined;
474
- icon_url?: string | undefined;
475
- attachments?: {
476
- color?: string | undefined;
477
- pretext?: string | undefined;
478
- author_name?: string | undefined;
479
- author_link?: string | undefined;
480
- author_icon?: string | undefined;
481
- title?: string | undefined;
482
- title_link?: string | undefined;
483
- text?: string | undefined;
484
- fields?: {
485
- title: string;
486
- value: string;
487
- short?: boolean | undefined;
488
- }[] | undefined;
489
- image_url?: string | undefined;
490
- thumb_url?: string | undefined;
491
- footer?: string | undefined;
492
- footer_icon?: string | undefined;
493
- ts?: number | undefined;
494
- }[] | undefined;
495
- blocks?: z.objectInputType<{
496
- type: z.ZodString;
497
- text: z.ZodOptional<z.ZodObject<{
498
- type: z.ZodEnum<["plain_text", "mrkdwn"]>;
499
- text: z.ZodString;
500
- emoji: z.ZodOptional<z.ZodBoolean>;
501
- verbatim: z.ZodOptional<z.ZodBoolean>;
502
- }, "strip", z.ZodTypeAny, {
503
- text: string;
504
- type: "plain_text" | "mrkdwn";
505
- emoji?: boolean | undefined;
506
- verbatim?: boolean | undefined;
507
- }, {
508
- text: string;
509
- type: "plain_text" | "mrkdwn";
510
- emoji?: boolean | undefined;
511
- verbatim?: boolean | undefined;
512
- }>>;
513
- elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
514
- type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
515
- text: z.ZodOptional<z.ZodString>;
516
- image_url: z.ZodOptional<z.ZodString>;
517
- alt_text: z.ZodOptional<z.ZodString>;
518
- emoji: z.ZodOptional<z.ZodBoolean>;
519
- verbatim: z.ZodOptional<z.ZodBoolean>;
520
- }, "strip", z.ZodTypeAny, {
521
- type: "plain_text" | "mrkdwn" | "image";
522
- text?: string | undefined;
523
- image_url?: string | undefined;
524
- emoji?: boolean | undefined;
525
- verbatim?: boolean | undefined;
526
- alt_text?: string | undefined;
527
- }, {
528
- type: "plain_text" | "mrkdwn" | "image";
529
- text?: string | undefined;
530
- image_url?: string | undefined;
531
- emoji?: boolean | undefined;
532
- verbatim?: boolean | undefined;
533
- alt_text?: string | undefined;
534
- }>, "many">>;
535
- }, z.ZodTypeAny, "passthrough">[] | undefined;
536
- thread_ts?: string | undefined;
537
- reply_broadcast?: boolean | undefined;
538
- credentials?: Partial<Record<CredentialType, string>> | undefined;
539
- unfurl_links?: boolean | undefined;
540
- unfurl_media?: boolean | undefined;
541
- }>, z.ZodObject<{
542
- operation: z.ZodLiteral<"list_channels">;
543
- types: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["public_channel", "private_channel", "mpim", "im"]>, "many">>>;
544
- exclude_archived: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
545
- limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
546
- cursor: z.ZodOptional<z.ZodString>;
547
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
548
- }, "strip", z.ZodTypeAny, {
549
- operation: "list_channels";
550
- types: ("public_channel" | "private_channel" | "mpim" | "im")[];
551
- exclude_archived: boolean;
552
- limit: number;
553
- credentials?: Partial<Record<CredentialType, string>> | undefined;
554
- cursor?: string | undefined;
555
- }, {
556
- operation: "list_channels";
557
- credentials?: Partial<Record<CredentialType, string>> | undefined;
558
- types?: ("public_channel" | "private_channel" | "mpim" | "im")[] | undefined;
559
- exclude_archived?: boolean | undefined;
560
- limit?: number | undefined;
561
- cursor?: string | undefined;
562
- }>, z.ZodObject<{
563
- operation: z.ZodLiteral<"get_channel_info">;
564
- channel: z.ZodString;
565
- include_locale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
566
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
567
- }, "strip", z.ZodTypeAny, {
568
- operation: "get_channel_info";
569
- channel: string;
570
- include_locale: boolean;
571
- credentials?: Partial<Record<CredentialType, string>> | undefined;
572
- }, {
573
- operation: "get_channel_info";
574
- channel: string;
575
- credentials?: Partial<Record<CredentialType, string>> | undefined;
576
- include_locale?: boolean | undefined;
577
- }>, z.ZodObject<{
578
- operation: z.ZodLiteral<"get_user_info">;
579
- user: z.ZodString;
580
- include_locale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
581
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
582
- }, "strip", z.ZodTypeAny, {
583
- operation: "get_user_info";
584
- include_locale: boolean;
585
- user: string;
586
- credentials?: Partial<Record<CredentialType, string>> | undefined;
587
- }, {
588
- operation: "get_user_info";
589
- user: string;
590
- credentials?: Partial<Record<CredentialType, string>> | undefined;
591
- include_locale?: boolean | undefined;
592
- }>, z.ZodObject<{
593
- operation: z.ZodLiteral<"list_users">;
594
- limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
595
- cursor: z.ZodOptional<z.ZodString>;
596
- include_locale: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
597
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
598
- }, "strip", z.ZodTypeAny, {
599
- operation: "list_users";
600
- limit: number;
601
- include_locale: boolean;
602
- credentials?: Partial<Record<CredentialType, string>> | undefined;
603
- cursor?: string | undefined;
604
- }, {
605
- operation: "list_users";
606
- credentials?: Partial<Record<CredentialType, string>> | undefined;
607
- limit?: number | undefined;
608
- cursor?: string | undefined;
609
- include_locale?: boolean | undefined;
610
- }>, z.ZodObject<{
611
- operation: z.ZodLiteral<"get_conversation_history">;
612
- channel: z.ZodString;
613
- latest: z.ZodOptional<z.ZodString>;
614
- oldest: z.ZodOptional<z.ZodString>;
615
- inclusive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
616
- limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
617
- cursor: z.ZodOptional<z.ZodString>;
618
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
619
- }, "strip", z.ZodTypeAny, {
620
- inclusive: boolean;
621
- operation: "get_conversation_history";
622
- channel: string;
623
- limit: number;
624
- credentials?: Partial<Record<CredentialType, string>> | undefined;
625
- cursor?: string | undefined;
626
- latest?: string | undefined;
627
- oldest?: string | undefined;
628
- }, {
629
- operation: "get_conversation_history";
630
- channel: string;
631
- inclusive?: boolean | undefined;
632
- credentials?: Partial<Record<CredentialType, string>> | undefined;
633
- limit?: number | undefined;
634
- cursor?: string | undefined;
635
- latest?: string | undefined;
636
- oldest?: string | undefined;
637
- }>, z.ZodObject<{
638
- operation: z.ZodLiteral<"get_thread_replies">;
639
- channel: z.ZodString;
640
- ts: z.ZodString;
641
- latest: z.ZodOptional<z.ZodString>;
642
- oldest: z.ZodOptional<z.ZodString>;
643
- inclusive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
644
- limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
645
- cursor: z.ZodOptional<z.ZodString>;
646
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
647
- }, "strip", z.ZodTypeAny, {
648
- inclusive: boolean;
649
- ts: string;
650
- operation: "get_thread_replies";
651
- channel: string;
652
- limit: number;
653
- credentials?: Partial<Record<CredentialType, string>> | undefined;
654
- cursor?: string | undefined;
655
- latest?: string | undefined;
656
- oldest?: string | undefined;
657
- }, {
658
- ts: string;
659
- operation: "get_thread_replies";
660
- channel: string;
661
- inclusive?: boolean | undefined;
662
- credentials?: Partial<Record<CredentialType, string>> | undefined;
663
- limit?: number | undefined;
664
- cursor?: string | undefined;
665
- latest?: string | undefined;
666
- oldest?: string | undefined;
667
- }>, z.ZodObject<{
668
- operation: z.ZodLiteral<"update_message">;
669
- channel: z.ZodString;
670
- ts: z.ZodString;
671
- text: z.ZodOptional<z.ZodString>;
672
- attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
673
- color: z.ZodOptional<z.ZodString>;
674
- pretext: z.ZodOptional<z.ZodString>;
675
- author_name: z.ZodOptional<z.ZodString>;
676
- author_link: z.ZodOptional<z.ZodString>;
677
- author_icon: z.ZodOptional<z.ZodString>;
678
- title: z.ZodOptional<z.ZodString>;
679
- title_link: z.ZodOptional<z.ZodString>;
680
- text: z.ZodOptional<z.ZodString>;
681
- fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
682
- title: z.ZodString;
683
- value: z.ZodString;
684
- short: z.ZodOptional<z.ZodBoolean>;
685
- }, "strip", z.ZodTypeAny, {
686
- title: string;
687
- value: string;
688
- short?: boolean | undefined;
689
- }, {
690
- title: string;
691
- value: string;
692
- short?: boolean | undefined;
693
- }>, "many">>;
694
- image_url: z.ZodOptional<z.ZodString>;
695
- thumb_url: z.ZodOptional<z.ZodString>;
696
- footer: z.ZodOptional<z.ZodString>;
697
- footer_icon: z.ZodOptional<z.ZodString>;
698
- ts: z.ZodOptional<z.ZodNumber>;
699
- }, "strip", z.ZodTypeAny, {
700
- color?: string | undefined;
701
- pretext?: string | undefined;
702
- author_name?: string | undefined;
703
- author_link?: string | undefined;
704
- author_icon?: string | undefined;
705
- title?: string | undefined;
706
- title_link?: string | undefined;
707
- text?: string | undefined;
708
- fields?: {
709
- title: string;
710
- value: string;
711
- short?: boolean | undefined;
712
- }[] | undefined;
713
- image_url?: string | undefined;
714
- thumb_url?: string | undefined;
715
- footer?: string | undefined;
716
- footer_icon?: string | undefined;
717
- ts?: number | undefined;
718
- }, {
719
- color?: string | undefined;
720
- pretext?: string | undefined;
721
- author_name?: string | undefined;
722
- author_link?: string | undefined;
723
- author_icon?: string | undefined;
724
- title?: string | undefined;
725
- title_link?: string | undefined;
726
- text?: string | undefined;
727
- fields?: {
728
- title: string;
729
- value: string;
730
- short?: boolean | undefined;
731
- }[] | undefined;
732
- image_url?: string | undefined;
733
- thumb_url?: string | undefined;
734
- footer?: string | undefined;
735
- footer_icon?: string | undefined;
736
- ts?: number | undefined;
737
- }>, "many">>;
738
- blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
739
- type: z.ZodString;
740
- text: z.ZodOptional<z.ZodObject<{
741
- type: z.ZodEnum<["plain_text", "mrkdwn"]>;
742
- text: z.ZodString;
743
- emoji: z.ZodOptional<z.ZodBoolean>;
744
- verbatim: z.ZodOptional<z.ZodBoolean>;
745
- }, "strip", z.ZodTypeAny, {
746
- text: string;
747
- type: "plain_text" | "mrkdwn";
748
- emoji?: boolean | undefined;
749
- verbatim?: boolean | undefined;
750
- }, {
751
- text: string;
752
- type: "plain_text" | "mrkdwn";
753
- emoji?: boolean | undefined;
754
- verbatim?: boolean | undefined;
755
- }>>;
756
- elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
757
- type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
758
- text: z.ZodOptional<z.ZodString>;
759
- image_url: z.ZodOptional<z.ZodString>;
760
- alt_text: z.ZodOptional<z.ZodString>;
761
- emoji: z.ZodOptional<z.ZodBoolean>;
762
- verbatim: z.ZodOptional<z.ZodBoolean>;
763
- }, "strip", z.ZodTypeAny, {
764
- type: "plain_text" | "mrkdwn" | "image";
765
- text?: string | undefined;
766
- image_url?: string | undefined;
767
- emoji?: boolean | undefined;
768
- verbatim?: boolean | undefined;
769
- alt_text?: string | undefined;
770
- }, {
771
- type: "plain_text" | "mrkdwn" | "image";
772
- text?: string | undefined;
773
- image_url?: string | undefined;
774
- emoji?: boolean | undefined;
775
- verbatim?: boolean | undefined;
776
- alt_text?: string | undefined;
777
- }>, "many">>;
778
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
779
- type: z.ZodString;
780
- text: z.ZodOptional<z.ZodObject<{
781
- type: z.ZodEnum<["plain_text", "mrkdwn"]>;
782
- text: z.ZodString;
783
- emoji: z.ZodOptional<z.ZodBoolean>;
784
- verbatim: z.ZodOptional<z.ZodBoolean>;
785
- }, "strip", z.ZodTypeAny, {
786
- text: string;
787
- type: "plain_text" | "mrkdwn";
788
- emoji?: boolean | undefined;
789
- verbatim?: boolean | undefined;
790
- }, {
791
- text: string;
792
- type: "plain_text" | "mrkdwn";
793
- emoji?: boolean | undefined;
794
- verbatim?: boolean | undefined;
795
- }>>;
796
- elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
797
- type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
798
- text: z.ZodOptional<z.ZodString>;
799
- image_url: z.ZodOptional<z.ZodString>;
800
- alt_text: z.ZodOptional<z.ZodString>;
801
- emoji: z.ZodOptional<z.ZodBoolean>;
802
- verbatim: z.ZodOptional<z.ZodBoolean>;
803
- }, "strip", z.ZodTypeAny, {
804
- type: "plain_text" | "mrkdwn" | "image";
805
- text?: string | undefined;
806
- image_url?: string | undefined;
807
- emoji?: boolean | undefined;
808
- verbatim?: boolean | undefined;
809
- alt_text?: string | undefined;
810
- }, {
811
- type: "plain_text" | "mrkdwn" | "image";
812
- text?: string | undefined;
813
- image_url?: string | undefined;
814
- emoji?: boolean | undefined;
815
- verbatim?: boolean | undefined;
816
- alt_text?: string | undefined;
817
- }>, "many">>;
818
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
819
- type: z.ZodString;
820
- text: z.ZodOptional<z.ZodObject<{
821
- type: z.ZodEnum<["plain_text", "mrkdwn"]>;
822
- text: z.ZodString;
823
- emoji: z.ZodOptional<z.ZodBoolean>;
824
- verbatim: z.ZodOptional<z.ZodBoolean>;
825
- }, "strip", z.ZodTypeAny, {
826
- text: string;
827
- type: "plain_text" | "mrkdwn";
828
- emoji?: boolean | undefined;
829
- verbatim?: boolean | undefined;
830
- }, {
831
- text: string;
832
- type: "plain_text" | "mrkdwn";
833
- emoji?: boolean | undefined;
834
- verbatim?: boolean | undefined;
835
- }>>;
836
- elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
837
- type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
838
- text: z.ZodOptional<z.ZodString>;
839
- image_url: z.ZodOptional<z.ZodString>;
840
- alt_text: z.ZodOptional<z.ZodString>;
841
- emoji: z.ZodOptional<z.ZodBoolean>;
842
- verbatim: z.ZodOptional<z.ZodBoolean>;
843
- }, "strip", z.ZodTypeAny, {
844
- type: "plain_text" | "mrkdwn" | "image";
845
- text?: string | undefined;
846
- image_url?: string | undefined;
847
- emoji?: boolean | undefined;
848
- verbatim?: boolean | undefined;
849
- alt_text?: string | undefined;
850
- }, {
851
- type: "plain_text" | "mrkdwn" | "image";
852
- text?: string | undefined;
853
- image_url?: string | undefined;
854
- emoji?: boolean | undefined;
855
- verbatim?: boolean | undefined;
856
- alt_text?: string | undefined;
857
- }>, "many">>;
858
- }, z.ZodTypeAny, "passthrough">>, "many">>;
859
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
860
- }, "strip", z.ZodTypeAny, {
861
- ts: string;
862
- operation: "update_message";
863
- channel: string;
864
- text?: string | undefined;
865
- attachments?: {
866
- color?: string | undefined;
867
- pretext?: string | undefined;
868
- author_name?: string | undefined;
869
- author_link?: string | undefined;
870
- author_icon?: string | undefined;
871
- title?: string | undefined;
872
- title_link?: string | undefined;
873
- text?: string | undefined;
874
- fields?: {
875
- title: string;
876
- value: string;
877
- short?: boolean | undefined;
878
- }[] | undefined;
879
- image_url?: string | undefined;
880
- thumb_url?: string | undefined;
881
- footer?: string | undefined;
882
- footer_icon?: string | undefined;
883
- ts?: number | undefined;
884
- }[] | undefined;
885
- blocks?: z.objectOutputType<{
886
- type: z.ZodString;
887
- text: z.ZodOptional<z.ZodObject<{
888
- type: z.ZodEnum<["plain_text", "mrkdwn"]>;
889
- text: z.ZodString;
890
- emoji: z.ZodOptional<z.ZodBoolean>;
891
- verbatim: z.ZodOptional<z.ZodBoolean>;
892
- }, "strip", z.ZodTypeAny, {
893
- text: string;
894
- type: "plain_text" | "mrkdwn";
895
- emoji?: boolean | undefined;
896
- verbatim?: boolean | undefined;
897
- }, {
898
- text: string;
899
- type: "plain_text" | "mrkdwn";
900
- emoji?: boolean | undefined;
901
- verbatim?: boolean | undefined;
902
- }>>;
903
- elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
904
- type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
905
- text: z.ZodOptional<z.ZodString>;
906
- image_url: z.ZodOptional<z.ZodString>;
907
- alt_text: z.ZodOptional<z.ZodString>;
908
- emoji: z.ZodOptional<z.ZodBoolean>;
909
- verbatim: z.ZodOptional<z.ZodBoolean>;
910
- }, "strip", z.ZodTypeAny, {
911
- type: "plain_text" | "mrkdwn" | "image";
912
- text?: string | undefined;
913
- image_url?: string | undefined;
914
- emoji?: boolean | undefined;
915
- verbatim?: boolean | undefined;
916
- alt_text?: string | undefined;
917
- }, {
918
- type: "plain_text" | "mrkdwn" | "image";
919
- text?: string | undefined;
920
- image_url?: string | undefined;
921
- emoji?: boolean | undefined;
922
- verbatim?: boolean | undefined;
923
- alt_text?: string | undefined;
924
- }>, "many">>;
925
- }, z.ZodTypeAny, "passthrough">[] | undefined;
926
- credentials?: Partial<Record<CredentialType, string>> | undefined;
927
- }, {
928
- ts: string;
929
- operation: "update_message";
930
- channel: string;
931
- text?: string | undefined;
932
- attachments?: {
933
- color?: string | undefined;
934
- pretext?: string | undefined;
935
- author_name?: string | undefined;
936
- author_link?: string | undefined;
937
- author_icon?: string | undefined;
938
- title?: string | undefined;
939
- title_link?: string | undefined;
940
- text?: string | undefined;
941
- fields?: {
942
- title: string;
943
- value: string;
944
- short?: boolean | undefined;
945
- }[] | undefined;
946
- image_url?: string | undefined;
947
- thumb_url?: string | undefined;
948
- footer?: string | undefined;
949
- footer_icon?: string | undefined;
950
- ts?: number | undefined;
951
- }[] | undefined;
952
- blocks?: z.objectInputType<{
953
- type: z.ZodString;
954
- text: z.ZodOptional<z.ZodObject<{
955
- type: z.ZodEnum<["plain_text", "mrkdwn"]>;
956
- text: z.ZodString;
957
- emoji: z.ZodOptional<z.ZodBoolean>;
958
- verbatim: z.ZodOptional<z.ZodBoolean>;
959
- }, "strip", z.ZodTypeAny, {
960
- text: string;
961
- type: "plain_text" | "mrkdwn";
962
- emoji?: boolean | undefined;
963
- verbatim?: boolean | undefined;
964
- }, {
965
- text: string;
966
- type: "plain_text" | "mrkdwn";
967
- emoji?: boolean | undefined;
968
- verbatim?: boolean | undefined;
969
- }>>;
970
- elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
971
- type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
972
- text: z.ZodOptional<z.ZodString>;
973
- image_url: z.ZodOptional<z.ZodString>;
974
- alt_text: z.ZodOptional<z.ZodString>;
975
- emoji: z.ZodOptional<z.ZodBoolean>;
976
- verbatim: z.ZodOptional<z.ZodBoolean>;
977
- }, "strip", z.ZodTypeAny, {
978
- type: "plain_text" | "mrkdwn" | "image";
979
- text?: string | undefined;
980
- image_url?: string | undefined;
981
- emoji?: boolean | undefined;
982
- verbatim?: boolean | undefined;
983
- alt_text?: string | undefined;
984
- }, {
985
- type: "plain_text" | "mrkdwn" | "image";
986
- text?: string | undefined;
987
- image_url?: string | undefined;
988
- emoji?: boolean | undefined;
989
- verbatim?: boolean | undefined;
990
- alt_text?: string | undefined;
991
- }>, "many">>;
992
- }, z.ZodTypeAny, "passthrough">[] | undefined;
993
- credentials?: Partial<Record<CredentialType, string>> | undefined;
994
- }>, z.ZodObject<{
995
- operation: z.ZodLiteral<"delete_message">;
996
- channel: z.ZodString;
997
- ts: z.ZodString;
998
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
999
- }, "strip", z.ZodTypeAny, {
1000
- ts: string;
1001
- operation: "delete_message";
1002
- channel: string;
1003
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1004
- }, {
1005
- ts: string;
1006
- operation: "delete_message";
1007
- channel: string;
1008
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1009
- }>, z.ZodObject<{
1010
- operation: z.ZodLiteral<"add_reaction">;
1011
- name: z.ZodString;
1012
- channel: z.ZodString;
1013
- timestamp: z.ZodString;
1014
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1015
- }, "strip", z.ZodTypeAny, {
1016
- name: string;
1017
- operation: "add_reaction";
1018
- channel: string;
1019
- timestamp: string;
1020
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1021
- }, {
1022
- name: string;
1023
- operation: "add_reaction";
1024
- channel: string;
1025
- timestamp: string;
1026
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1027
- }>, z.ZodObject<{
1028
- operation: z.ZodLiteral<"remove_reaction">;
1029
- name: z.ZodString;
1030
- channel: z.ZodString;
1031
- timestamp: z.ZodString;
1032
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1033
- }, "strip", z.ZodTypeAny, {
1034
- name: string;
1035
- operation: "remove_reaction";
1036
- channel: string;
1037
- timestamp: string;
1038
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1039
- }, {
1040
- name: string;
1041
- operation: "remove_reaction";
1042
- channel: string;
1043
- timestamp: string;
1044
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1045
- }>, z.ZodObject<{
1046
- operation: z.ZodLiteral<"join_channel">;
1047
- channel: z.ZodString;
1048
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1049
- }, "strip", z.ZodTypeAny, {
1050
- operation: "join_channel";
1051
- channel: string;
1052
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1053
- }, {
1054
- operation: "join_channel";
1055
- channel: string;
1056
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1057
- }>, z.ZodObject<{
1058
- operation: z.ZodLiteral<"upload_file">;
1059
- channel: z.ZodString;
1060
- file_path: z.ZodString;
1061
- filename: z.ZodOptional<z.ZodString>;
1062
- title: z.ZodOptional<z.ZodString>;
1063
- initial_comment: z.ZodOptional<z.ZodString>;
1064
- thread_ts: z.ZodOptional<z.ZodString>;
1065
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1066
- }, "strip", z.ZodTypeAny, {
1067
- operation: "upload_file";
1068
- channel: string;
1069
- file_path: string;
1070
- title?: string | undefined;
1071
- thread_ts?: string | undefined;
1072
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1073
- filename?: string | undefined;
1074
- initial_comment?: string | undefined;
1075
- }, {
1076
- operation: "upload_file";
1077
- channel: string;
1078
- file_path: string;
1079
- title?: string | undefined;
1080
- thread_ts?: string | undefined;
1081
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1082
- filename?: string | undefined;
1083
- initial_comment?: string | undefined;
1084
- }>, z.ZodObject<{
1085
- operation: z.ZodLiteral<"schedule_message">;
1086
- channel: z.ZodString;
1087
- text: z.ZodString;
1088
- post_at: z.ZodNumber;
1089
- thread_ts: z.ZodOptional<z.ZodString>;
1090
- blocks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1091
- type: z.ZodString;
1092
- text: z.ZodOptional<z.ZodObject<{
1093
- type: z.ZodEnum<["plain_text", "mrkdwn"]>;
1094
- text: z.ZodString;
1095
- emoji: z.ZodOptional<z.ZodBoolean>;
1096
- verbatim: z.ZodOptional<z.ZodBoolean>;
1097
- }, "strip", z.ZodTypeAny, {
1098
- text: string;
1099
- type: "plain_text" | "mrkdwn";
1100
- emoji?: boolean | undefined;
1101
- verbatim?: boolean | undefined;
1102
- }, {
1103
- text: string;
1104
- type: "plain_text" | "mrkdwn";
1105
- emoji?: boolean | undefined;
1106
- verbatim?: boolean | undefined;
1107
- }>>;
1108
- elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
1109
- type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
1110
- text: z.ZodOptional<z.ZodString>;
1111
- image_url: z.ZodOptional<z.ZodString>;
1112
- alt_text: z.ZodOptional<z.ZodString>;
1113
- emoji: z.ZodOptional<z.ZodBoolean>;
1114
- verbatim: z.ZodOptional<z.ZodBoolean>;
1115
- }, "strip", z.ZodTypeAny, {
1116
- type: "plain_text" | "mrkdwn" | "image";
1117
- text?: string | undefined;
1118
- image_url?: string | undefined;
1119
- emoji?: boolean | undefined;
1120
- verbatim?: boolean | undefined;
1121
- alt_text?: string | undefined;
1122
- }, {
1123
- type: "plain_text" | "mrkdwn" | "image";
1124
- text?: string | undefined;
1125
- image_url?: string | undefined;
1126
- emoji?: boolean | undefined;
1127
- verbatim?: boolean | undefined;
1128
- alt_text?: string | undefined;
1129
- }>, "many">>;
1130
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1131
- type: z.ZodString;
1132
- text: z.ZodOptional<z.ZodObject<{
1133
- type: z.ZodEnum<["plain_text", "mrkdwn"]>;
1134
- text: z.ZodString;
1135
- emoji: z.ZodOptional<z.ZodBoolean>;
1136
- verbatim: z.ZodOptional<z.ZodBoolean>;
1137
- }, "strip", z.ZodTypeAny, {
1138
- text: string;
1139
- type: "plain_text" | "mrkdwn";
1140
- emoji?: boolean | undefined;
1141
- verbatim?: boolean | undefined;
1142
- }, {
1143
- text: string;
1144
- type: "plain_text" | "mrkdwn";
1145
- emoji?: boolean | undefined;
1146
- verbatim?: boolean | undefined;
1147
- }>>;
1148
- elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
1149
- type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
1150
- text: z.ZodOptional<z.ZodString>;
1151
- image_url: z.ZodOptional<z.ZodString>;
1152
- alt_text: z.ZodOptional<z.ZodString>;
1153
- emoji: z.ZodOptional<z.ZodBoolean>;
1154
- verbatim: z.ZodOptional<z.ZodBoolean>;
1155
- }, "strip", z.ZodTypeAny, {
1156
- type: "plain_text" | "mrkdwn" | "image";
1157
- text?: string | undefined;
1158
- image_url?: string | undefined;
1159
- emoji?: boolean | undefined;
1160
- verbatim?: boolean | undefined;
1161
- alt_text?: string | undefined;
1162
- }, {
1163
- type: "plain_text" | "mrkdwn" | "image";
1164
- text?: string | undefined;
1165
- image_url?: string | undefined;
1166
- emoji?: boolean | undefined;
1167
- verbatim?: boolean | undefined;
1168
- alt_text?: string | undefined;
1169
- }>, "many">>;
1170
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1171
- type: z.ZodString;
1172
- text: z.ZodOptional<z.ZodObject<{
1173
- type: z.ZodEnum<["plain_text", "mrkdwn"]>;
1174
- text: z.ZodString;
1175
- emoji: z.ZodOptional<z.ZodBoolean>;
1176
- verbatim: z.ZodOptional<z.ZodBoolean>;
1177
- }, "strip", z.ZodTypeAny, {
1178
- text: string;
1179
- type: "plain_text" | "mrkdwn";
1180
- emoji?: boolean | undefined;
1181
- verbatim?: boolean | undefined;
1182
- }, {
1183
- text: string;
1184
- type: "plain_text" | "mrkdwn";
1185
- emoji?: boolean | undefined;
1186
- verbatim?: boolean | undefined;
1187
- }>>;
1188
- elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
1189
- type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
1190
- text: z.ZodOptional<z.ZodString>;
1191
- image_url: z.ZodOptional<z.ZodString>;
1192
- alt_text: z.ZodOptional<z.ZodString>;
1193
- emoji: z.ZodOptional<z.ZodBoolean>;
1194
- verbatim: z.ZodOptional<z.ZodBoolean>;
1195
- }, "strip", z.ZodTypeAny, {
1196
- type: "plain_text" | "mrkdwn" | "image";
1197
- text?: string | undefined;
1198
- image_url?: string | undefined;
1199
- emoji?: boolean | undefined;
1200
- verbatim?: boolean | undefined;
1201
- alt_text?: string | undefined;
1202
- }, {
1203
- type: "plain_text" | "mrkdwn" | "image";
1204
- text?: string | undefined;
1205
- image_url?: string | undefined;
1206
- emoji?: boolean | undefined;
1207
- verbatim?: boolean | undefined;
1208
- alt_text?: string | undefined;
1209
- }>, "many">>;
1210
- }, z.ZodTypeAny, "passthrough">>, "many">>;
1211
- unfurl_links: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1212
- unfurl_media: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1213
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1214
- }, "strip", z.ZodTypeAny, {
1215
- text: string;
1216
- operation: "schedule_message";
1217
- channel: string;
1218
- unfurl_links: boolean;
1219
- unfurl_media: boolean;
1220
- post_at: number;
1221
- blocks?: z.objectOutputType<{
1222
- type: z.ZodString;
1223
- text: z.ZodOptional<z.ZodObject<{
1224
- type: z.ZodEnum<["plain_text", "mrkdwn"]>;
1225
- text: z.ZodString;
1226
- emoji: z.ZodOptional<z.ZodBoolean>;
1227
- verbatim: z.ZodOptional<z.ZodBoolean>;
1228
- }, "strip", z.ZodTypeAny, {
1229
- text: string;
1230
- type: "plain_text" | "mrkdwn";
1231
- emoji?: boolean | undefined;
1232
- verbatim?: boolean | undefined;
1233
- }, {
1234
- text: string;
1235
- type: "plain_text" | "mrkdwn";
1236
- emoji?: boolean | undefined;
1237
- verbatim?: boolean | undefined;
1238
- }>>;
1239
- elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
1240
- type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
1241
- text: z.ZodOptional<z.ZodString>;
1242
- image_url: z.ZodOptional<z.ZodString>;
1243
- alt_text: z.ZodOptional<z.ZodString>;
1244
- emoji: z.ZodOptional<z.ZodBoolean>;
1245
- verbatim: z.ZodOptional<z.ZodBoolean>;
1246
- }, "strip", z.ZodTypeAny, {
1247
- type: "plain_text" | "mrkdwn" | "image";
1248
- text?: string | undefined;
1249
- image_url?: string | undefined;
1250
- emoji?: boolean | undefined;
1251
- verbatim?: boolean | undefined;
1252
- alt_text?: string | undefined;
1253
- }, {
1254
- type: "plain_text" | "mrkdwn" | "image";
1255
- text?: string | undefined;
1256
- image_url?: string | undefined;
1257
- emoji?: boolean | undefined;
1258
- verbatim?: boolean | undefined;
1259
- alt_text?: string | undefined;
1260
- }>, "many">>;
1261
- }, z.ZodTypeAny, "passthrough">[] | undefined;
1262
- thread_ts?: string | undefined;
1263
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1264
- }, {
1265
- text: string;
1266
- operation: "schedule_message";
1267
- channel: string;
1268
- post_at: number;
1269
- blocks?: z.objectInputType<{
1270
- type: z.ZodString;
1271
- text: z.ZodOptional<z.ZodObject<{
1272
- type: z.ZodEnum<["plain_text", "mrkdwn"]>;
1273
- text: z.ZodString;
1274
- emoji: z.ZodOptional<z.ZodBoolean>;
1275
- verbatim: z.ZodOptional<z.ZodBoolean>;
1276
- }, "strip", z.ZodTypeAny, {
1277
- text: string;
1278
- type: "plain_text" | "mrkdwn";
1279
- emoji?: boolean | undefined;
1280
- verbatim?: boolean | undefined;
1281
- }, {
1282
- text: string;
1283
- type: "plain_text" | "mrkdwn";
1284
- emoji?: boolean | undefined;
1285
- verbatim?: boolean | undefined;
1286
- }>>;
1287
- elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
1288
- type: z.ZodEnum<["plain_text", "mrkdwn", "image"]>;
1289
- text: z.ZodOptional<z.ZodString>;
1290
- image_url: z.ZodOptional<z.ZodString>;
1291
- alt_text: z.ZodOptional<z.ZodString>;
1292
- emoji: z.ZodOptional<z.ZodBoolean>;
1293
- verbatim: z.ZodOptional<z.ZodBoolean>;
1294
- }, "strip", z.ZodTypeAny, {
1295
- type: "plain_text" | "mrkdwn" | "image";
1296
- text?: string | undefined;
1297
- image_url?: string | undefined;
1298
- emoji?: boolean | undefined;
1299
- verbatim?: boolean | undefined;
1300
- alt_text?: string | undefined;
1301
- }, {
1302
- type: "plain_text" | "mrkdwn" | "image";
1303
- text?: string | undefined;
1304
- image_url?: string | undefined;
1305
- emoji?: boolean | undefined;
1306
- verbatim?: boolean | undefined;
1307
- alt_text?: string | undefined;
1308
- }>, "many">>;
1309
- }, z.ZodTypeAny, "passthrough">[] | undefined;
1310
- thread_ts?: string | undefined;
1311
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1312
- unfurl_links?: boolean | undefined;
1313
- unfurl_media?: boolean | undefined;
1314
- }>]>;
1315
- export declare const SlackChannelSchema: z.ZodObject<{
1316
- id: z.ZodString;
1317
- name: z.ZodString;
1318
- is_channel: z.ZodOptional<z.ZodBoolean>;
1319
- is_group: z.ZodOptional<z.ZodBoolean>;
1320
- is_im: z.ZodOptional<z.ZodBoolean>;
1321
- is_mpim: z.ZodOptional<z.ZodBoolean>;
1322
- is_private: z.ZodOptional<z.ZodBoolean>;
1323
- created: z.ZodNumber;
1324
- is_archived: z.ZodBoolean;
1325
- is_general: z.ZodOptional<z.ZodBoolean>;
1326
- unlinked: z.ZodOptional<z.ZodNumber>;
1327
- name_normalized: z.ZodOptional<z.ZodString>;
1328
- is_shared: z.ZodOptional<z.ZodBoolean>;
1329
- is_ext_shared: z.ZodOptional<z.ZodBoolean>;
1330
- is_org_shared: z.ZodOptional<z.ZodBoolean>;
1331
- shared_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1332
- pending_shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1333
- pending_connected_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1334
- is_pending_ext_shared: z.ZodOptional<z.ZodBoolean>;
1335
- is_member: z.ZodOptional<z.ZodBoolean>;
1336
- is_open: z.ZodOptional<z.ZodBoolean>;
1337
- topic: z.ZodOptional<z.ZodObject<{
1338
- value: z.ZodString;
1339
- creator: z.ZodString;
1340
- last_set: z.ZodNumber;
1341
- }, "strip", z.ZodTypeAny, {
1342
- value: string;
1343
- creator: string;
1344
- last_set: number;
1345
- }, {
1346
- value: string;
1347
- creator: string;
1348
- last_set: number;
1349
- }>>;
1350
- purpose: z.ZodOptional<z.ZodObject<{
1351
- value: z.ZodString;
1352
- creator: z.ZodString;
1353
- last_set: z.ZodNumber;
1354
- }, "strip", z.ZodTypeAny, {
1355
- value: string;
1356
- creator: string;
1357
- last_set: number;
1358
- }, {
1359
- value: string;
1360
- creator: string;
1361
- last_set: number;
1362
- }>>;
1363
- num_members: z.ZodOptional<z.ZodNumber>;
1364
- }, "strip", z.ZodTypeAny, {
1365
- name: string;
1366
- id: string;
1367
- created: number;
1368
- is_archived: boolean;
1369
- is_channel?: boolean | undefined;
1370
- is_group?: boolean | undefined;
1371
- is_im?: boolean | undefined;
1372
- is_mpim?: boolean | undefined;
1373
- is_private?: boolean | undefined;
1374
- is_general?: boolean | undefined;
1375
- unlinked?: number | undefined;
1376
- name_normalized?: string | undefined;
1377
- is_shared?: boolean | undefined;
1378
- is_ext_shared?: boolean | undefined;
1379
- is_org_shared?: boolean | undefined;
1380
- shared_team_ids?: string[] | undefined;
1381
- pending_shared?: string[] | undefined;
1382
- pending_connected_team_ids?: string[] | undefined;
1383
- is_pending_ext_shared?: boolean | undefined;
1384
- is_member?: boolean | undefined;
1385
- is_open?: boolean | undefined;
1386
- topic?: {
1387
- value: string;
1388
- creator: string;
1389
- last_set: number;
1390
- } | undefined;
1391
- purpose?: {
1392
- value: string;
1393
- creator: string;
1394
- last_set: number;
1395
- } | undefined;
1396
- num_members?: number | undefined;
1397
- }, {
1398
- name: string;
1399
- id: string;
1400
- created: number;
1401
- is_archived: boolean;
1402
- is_channel?: boolean | undefined;
1403
- is_group?: boolean | undefined;
1404
- is_im?: boolean | undefined;
1405
- is_mpim?: boolean | undefined;
1406
- is_private?: boolean | undefined;
1407
- is_general?: boolean | undefined;
1408
- unlinked?: number | undefined;
1409
- name_normalized?: string | undefined;
1410
- is_shared?: boolean | undefined;
1411
- is_ext_shared?: boolean | undefined;
1412
- is_org_shared?: boolean | undefined;
1413
- shared_team_ids?: string[] | undefined;
1414
- pending_shared?: string[] | undefined;
1415
- pending_connected_team_ids?: string[] | undefined;
1416
- is_pending_ext_shared?: boolean | undefined;
1417
- is_member?: boolean | undefined;
1418
- is_open?: boolean | undefined;
1419
- topic?: {
1420
- value: string;
1421
- creator: string;
1422
- last_set: number;
1423
- } | undefined;
1424
- purpose?: {
1425
- value: string;
1426
- creator: string;
1427
- last_set: number;
1428
- } | undefined;
1429
- num_members?: number | undefined;
1430
- }>;
1431
- export declare const SlackUserSchema: z.ZodObject<{
1432
- id: z.ZodString;
1433
- team_id: z.ZodOptional<z.ZodString>;
1434
- name: z.ZodString;
1435
- deleted: z.ZodOptional<z.ZodBoolean>;
1436
- color: z.ZodOptional<z.ZodString>;
1437
- real_name: z.ZodOptional<z.ZodString>;
1438
- tz: z.ZodOptional<z.ZodString>;
1439
- tz_label: z.ZodOptional<z.ZodString>;
1440
- tz_offset: z.ZodOptional<z.ZodNumber>;
1441
- profile: z.ZodOptional<z.ZodObject<{
1442
- title: z.ZodOptional<z.ZodString>;
1443
- phone: z.ZodOptional<z.ZodString>;
1444
- skype: z.ZodOptional<z.ZodString>;
1445
- real_name: z.ZodOptional<z.ZodString>;
1446
- real_name_normalized: z.ZodOptional<z.ZodString>;
1447
- display_name: z.ZodOptional<z.ZodString>;
1448
- display_name_normalized: z.ZodOptional<z.ZodString>;
1449
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1450
- status_text: z.ZodOptional<z.ZodString>;
1451
- status_emoji: z.ZodOptional<z.ZodString>;
1452
- status_expiration: z.ZodOptional<z.ZodNumber>;
1453
- avatar_hash: z.ZodOptional<z.ZodString>;
1454
- image_original: z.ZodOptional<z.ZodString>;
1455
- is_custom_image: z.ZodOptional<z.ZodBoolean>;
1456
- email: z.ZodOptional<z.ZodString>;
1457
- first_name: z.ZodOptional<z.ZodString>;
1458
- last_name: z.ZodOptional<z.ZodString>;
1459
- image_24: z.ZodOptional<z.ZodString>;
1460
- image_32: z.ZodOptional<z.ZodString>;
1461
- image_48: z.ZodOptional<z.ZodString>;
1462
- image_72: z.ZodOptional<z.ZodString>;
1463
- image_192: z.ZodOptional<z.ZodString>;
1464
- image_512: z.ZodOptional<z.ZodString>;
1465
- image_1024: z.ZodOptional<z.ZodString>;
1466
- }, "strip", z.ZodTypeAny, {
1467
- title?: string | undefined;
1468
- fields?: Record<string, unknown> | undefined;
1469
- email?: string | undefined;
1470
- real_name?: string | undefined;
1471
- phone?: string | undefined;
1472
- skype?: string | undefined;
1473
- real_name_normalized?: string | undefined;
1474
- display_name?: string | undefined;
1475
- display_name_normalized?: string | undefined;
1476
- status_text?: string | undefined;
1477
- status_emoji?: string | undefined;
1478
- status_expiration?: number | undefined;
1479
- avatar_hash?: string | undefined;
1480
- image_original?: string | undefined;
1481
- is_custom_image?: boolean | undefined;
1482
- first_name?: string | undefined;
1483
- last_name?: string | undefined;
1484
- image_24?: string | undefined;
1485
- image_32?: string | undefined;
1486
- image_48?: string | undefined;
1487
- image_72?: string | undefined;
1488
- image_192?: string | undefined;
1489
- image_512?: string | undefined;
1490
- image_1024?: string | undefined;
1491
- }, {
1492
- title?: string | undefined;
1493
- fields?: Record<string, unknown> | undefined;
1494
- email?: string | undefined;
1495
- real_name?: string | undefined;
1496
- phone?: string | undefined;
1497
- skype?: string | undefined;
1498
- real_name_normalized?: string | undefined;
1499
- display_name?: string | undefined;
1500
- display_name_normalized?: string | undefined;
1501
- status_text?: string | undefined;
1502
- status_emoji?: string | undefined;
1503
- status_expiration?: number | undefined;
1504
- avatar_hash?: string | undefined;
1505
- image_original?: string | undefined;
1506
- is_custom_image?: boolean | undefined;
1507
- first_name?: string | undefined;
1508
- last_name?: string | undefined;
1509
- image_24?: string | undefined;
1510
- image_32?: string | undefined;
1511
- image_48?: string | undefined;
1512
- image_72?: string | undefined;
1513
- image_192?: string | undefined;
1514
- image_512?: string | undefined;
1515
- image_1024?: string | undefined;
1516
- }>>;
1517
- is_admin: z.ZodOptional<z.ZodBoolean>;
1518
- is_owner: z.ZodOptional<z.ZodBoolean>;
1519
- is_primary_owner: z.ZodOptional<z.ZodBoolean>;
1520
- is_restricted: z.ZodOptional<z.ZodBoolean>;
1521
- is_ultra_restricted: z.ZodOptional<z.ZodBoolean>;
1522
- is_bot: z.ZodOptional<z.ZodBoolean>;
1523
- is_app_user: z.ZodOptional<z.ZodBoolean>;
1524
- updated: z.ZodOptional<z.ZodNumber>;
1525
- has_2fa: z.ZodOptional<z.ZodBoolean>;
1526
- }, "strip", z.ZodTypeAny, {
1527
- name: string;
1528
- id: string;
1529
- color?: string | undefined;
1530
- team_id?: string | undefined;
1531
- deleted?: boolean | undefined;
1532
- real_name?: string | undefined;
1533
- tz?: string | undefined;
1534
- tz_label?: string | undefined;
1535
- tz_offset?: number | undefined;
1536
- profile?: {
1537
- title?: string | undefined;
1538
- fields?: Record<string, unknown> | undefined;
1539
- email?: string | undefined;
1540
- real_name?: string | undefined;
1541
- phone?: string | undefined;
1542
- skype?: string | undefined;
1543
- real_name_normalized?: string | undefined;
1544
- display_name?: string | undefined;
1545
- display_name_normalized?: string | undefined;
1546
- status_text?: string | undefined;
1547
- status_emoji?: string | undefined;
1548
- status_expiration?: number | undefined;
1549
- avatar_hash?: string | undefined;
1550
- image_original?: string | undefined;
1551
- is_custom_image?: boolean | undefined;
1552
- first_name?: string | undefined;
1553
- last_name?: string | undefined;
1554
- image_24?: string | undefined;
1555
- image_32?: string | undefined;
1556
- image_48?: string | undefined;
1557
- image_72?: string | undefined;
1558
- image_192?: string | undefined;
1559
- image_512?: string | undefined;
1560
- image_1024?: string | undefined;
1561
- } | undefined;
1562
- is_admin?: boolean | undefined;
1563
- is_owner?: boolean | undefined;
1564
- is_primary_owner?: boolean | undefined;
1565
- is_restricted?: boolean | undefined;
1566
- is_ultra_restricted?: boolean | undefined;
1567
- is_bot?: boolean | undefined;
1568
- is_app_user?: boolean | undefined;
1569
- updated?: number | undefined;
1570
- has_2fa?: boolean | undefined;
1571
- }, {
1572
- name: string;
1573
- id: string;
1574
- color?: string | undefined;
1575
- team_id?: string | undefined;
1576
- deleted?: boolean | undefined;
1577
- real_name?: string | undefined;
1578
- tz?: string | undefined;
1579
- tz_label?: string | undefined;
1580
- tz_offset?: number | undefined;
1581
- profile?: {
1582
- title?: string | undefined;
1583
- fields?: Record<string, unknown> | undefined;
1584
- email?: string | undefined;
1585
- real_name?: string | undefined;
1586
- phone?: string | undefined;
1587
- skype?: string | undefined;
1588
- real_name_normalized?: string | undefined;
1589
- display_name?: string | undefined;
1590
- display_name_normalized?: string | undefined;
1591
- status_text?: string | undefined;
1592
- status_emoji?: string | undefined;
1593
- status_expiration?: number | undefined;
1594
- avatar_hash?: string | undefined;
1595
- image_original?: string | undefined;
1596
- is_custom_image?: boolean | undefined;
1597
- first_name?: string | undefined;
1598
- last_name?: string | undefined;
1599
- image_24?: string | undefined;
1600
- image_32?: string | undefined;
1601
- image_48?: string | undefined;
1602
- image_72?: string | undefined;
1603
- image_192?: string | undefined;
1604
- image_512?: string | undefined;
1605
- image_1024?: string | undefined;
1606
- } | undefined;
1607
- is_admin?: boolean | undefined;
1608
- is_owner?: boolean | undefined;
1609
- is_primary_owner?: boolean | undefined;
1610
- is_restricted?: boolean | undefined;
1611
- is_ultra_restricted?: boolean | undefined;
1612
- is_bot?: boolean | undefined;
1613
- is_app_user?: boolean | undefined;
1614
- updated?: number | undefined;
1615
- has_2fa?: boolean | undefined;
1616
- }>;
1617
- export declare const SlackMessageSchema: z.ZodObject<{
1618
- type: z.ZodString;
1619
- ts: z.ZodOptional<z.ZodString>;
1620
- user: z.ZodOptional<z.ZodString>;
1621
- bot_id: z.ZodOptional<z.ZodString>;
1622
- bot_profile: z.ZodOptional<z.ZodObject<{
1623
- name: z.ZodOptional<z.ZodString>;
1624
- }, "strip", z.ZodTypeAny, {
1625
- name?: string | undefined;
1626
- }, {
1627
- name?: string | undefined;
1628
- }>>;
1629
- username: z.ZodOptional<z.ZodString>;
1630
- text: z.ZodOptional<z.ZodString>;
1631
- thread_ts: z.ZodOptional<z.ZodString>;
1632
- parent_user_id: z.ZodOptional<z.ZodString>;
1633
- reply_count: z.ZodOptional<z.ZodNumber>;
1634
- reply_users_count: z.ZodOptional<z.ZodNumber>;
1635
- latest_reply: z.ZodOptional<z.ZodString>;
1636
- reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1637
- is_locked: z.ZodOptional<z.ZodBoolean>;
1638
- subscribed: z.ZodOptional<z.ZodBoolean>;
1639
- attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1640
- blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1641
- reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1642
- name: z.ZodString;
1643
- users: z.ZodArray<z.ZodString, "many">;
1644
- count: z.ZodNumber;
1645
- }, "strip", z.ZodTypeAny, {
1646
- name: string;
1647
- users: string[];
1648
- count: number;
1649
- }, {
1650
- name: string;
1651
- users: string[];
1652
- count: number;
1653
- }>, "many">>;
1654
- }, "strip", z.ZodTypeAny, {
1655
- type: string;
1656
- text?: string | undefined;
1657
- ts?: string | undefined;
1658
- username?: string | undefined;
1659
- attachments?: unknown[] | undefined;
1660
- blocks?: unknown[] | undefined;
1661
- thread_ts?: string | undefined;
1662
- user?: string | undefined;
1663
- bot_id?: string | undefined;
1664
- bot_profile?: {
1665
- name?: string | undefined;
1666
- } | undefined;
1667
- parent_user_id?: string | undefined;
1668
- reply_count?: number | undefined;
1669
- reply_users_count?: number | undefined;
1670
- latest_reply?: string | undefined;
1671
- reply_users?: string[] | undefined;
1672
- is_locked?: boolean | undefined;
1673
- subscribed?: boolean | undefined;
1674
- reactions?: {
1675
- name: string;
1676
- users: string[];
1677
- count: number;
1678
- }[] | undefined;
1679
- }, {
1680
- type: string;
1681
- text?: string | undefined;
1682
- ts?: string | undefined;
1683
- username?: string | undefined;
1684
- attachments?: unknown[] | undefined;
1685
- blocks?: unknown[] | undefined;
1686
- thread_ts?: string | undefined;
1687
- user?: string | undefined;
1688
- bot_id?: string | undefined;
1689
- bot_profile?: {
1690
- name?: string | undefined;
1691
- } | undefined;
1692
- parent_user_id?: string | undefined;
1693
- reply_count?: number | undefined;
1694
- reply_users_count?: number | undefined;
1695
- latest_reply?: string | undefined;
1696
- reply_users?: string[] | undefined;
1697
- is_locked?: boolean | undefined;
1698
- subscribed?: boolean | undefined;
1699
- reactions?: {
1700
- name: string;
1701
- users: string[];
1702
- count: number;
1703
- }[] | undefined;
1704
- }>;
1705
- export declare const SlackResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
1706
- operation: z.ZodLiteral<"send_message">;
1707
- ok: z.ZodBoolean;
1708
- channel: z.ZodOptional<z.ZodString>;
1709
- ts: z.ZodOptional<z.ZodString>;
1710
- message: z.ZodOptional<z.ZodObject<{
1711
- type: z.ZodString;
1712
- ts: z.ZodOptional<z.ZodString>;
1713
- user: z.ZodOptional<z.ZodString>;
1714
- bot_id: z.ZodOptional<z.ZodString>;
1715
- bot_profile: z.ZodOptional<z.ZodObject<{
1716
- name: z.ZodOptional<z.ZodString>;
1717
- }, "strip", z.ZodTypeAny, {
1718
- name?: string | undefined;
1719
- }, {
1720
- name?: string | undefined;
1721
- }>>;
1722
- username: z.ZodOptional<z.ZodString>;
1723
- text: z.ZodOptional<z.ZodString>;
1724
- thread_ts: z.ZodOptional<z.ZodString>;
1725
- parent_user_id: z.ZodOptional<z.ZodString>;
1726
- reply_count: z.ZodOptional<z.ZodNumber>;
1727
- reply_users_count: z.ZodOptional<z.ZodNumber>;
1728
- latest_reply: z.ZodOptional<z.ZodString>;
1729
- reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1730
- is_locked: z.ZodOptional<z.ZodBoolean>;
1731
- subscribed: z.ZodOptional<z.ZodBoolean>;
1732
- attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1733
- blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
1734
- reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1735
- name: z.ZodString;
1736
- users: z.ZodArray<z.ZodString, "many">;
1737
- count: z.ZodNumber;
1738
- }, "strip", z.ZodTypeAny, {
1739
- name: string;
1740
- users: string[];
1741
- count: number;
1742
- }, {
1743
- name: string;
1744
- users: string[];
1745
- count: number;
1746
- }>, "many">>;
1747
- }, "strip", z.ZodTypeAny, {
1748
- type: string;
1749
- text?: string | undefined;
1750
- ts?: string | undefined;
1751
- username?: string | undefined;
1752
- attachments?: unknown[] | undefined;
1753
- blocks?: unknown[] | undefined;
1754
- thread_ts?: string | undefined;
1755
- user?: string | undefined;
1756
- bot_id?: string | undefined;
1757
- bot_profile?: {
1758
- name?: string | undefined;
1759
- } | undefined;
1760
- parent_user_id?: string | undefined;
1761
- reply_count?: number | undefined;
1762
- reply_users_count?: number | undefined;
1763
- latest_reply?: string | undefined;
1764
- reply_users?: string[] | undefined;
1765
- is_locked?: boolean | undefined;
1766
- subscribed?: boolean | undefined;
1767
- reactions?: {
1768
- name: string;
1769
- users: string[];
1770
- count: number;
1771
- }[] | undefined;
1772
- }, {
1773
- type: string;
1774
- text?: string | undefined;
1775
- ts?: string | undefined;
1776
- username?: string | undefined;
1777
- attachments?: unknown[] | undefined;
1778
- blocks?: unknown[] | undefined;
1779
- thread_ts?: string | undefined;
1780
- user?: string | undefined;
1781
- bot_id?: string | undefined;
1782
- bot_profile?: {
1783
- name?: string | undefined;
1784
- } | undefined;
1785
- parent_user_id?: string | undefined;
1786
- reply_count?: number | undefined;
1787
- reply_users_count?: number | undefined;
1788
- latest_reply?: string | undefined;
1789
- reply_users?: string[] | undefined;
1790
- is_locked?: boolean | undefined;
1791
- subscribed?: boolean | undefined;
1792
- reactions?: {
1793
- name: string;
1794
- users: string[];
1795
- count: number;
1796
- }[] | undefined;
1797
- }>>;
1798
- error: z.ZodString;
1799
- success: z.ZodBoolean;
1800
- }, "strip", z.ZodTypeAny, {
1801
- operation: "send_message";
1802
- ok: boolean;
1803
- error: string;
1804
- success: boolean;
1805
- message?: {
1806
- type: string;
1807
- text?: string | undefined;
1808
- ts?: string | undefined;
1809
- username?: string | undefined;
1810
- attachments?: unknown[] | undefined;
1811
- blocks?: unknown[] | undefined;
1812
- thread_ts?: string | undefined;
1813
- user?: string | undefined;
1814
- bot_id?: string | undefined;
1815
- bot_profile?: {
1816
- name?: string | undefined;
1817
- } | undefined;
1818
- parent_user_id?: string | undefined;
1819
- reply_count?: number | undefined;
1820
- reply_users_count?: number | undefined;
1821
- latest_reply?: string | undefined;
1822
- reply_users?: string[] | undefined;
1823
- is_locked?: boolean | undefined;
1824
- subscribed?: boolean | undefined;
1825
- reactions?: {
1826
- name: string;
1827
- users: string[];
1828
- count: number;
1829
- }[] | undefined;
1830
- } | undefined;
1831
- ts?: string | undefined;
1832
- channel?: string | undefined;
1833
- }, {
1834
- operation: "send_message";
1835
- ok: boolean;
1836
- error: string;
1837
- success: boolean;
1838
- message?: {
1839
- type: string;
1840
- text?: string | undefined;
1841
- ts?: string | undefined;
1842
- username?: string | undefined;
1843
- attachments?: unknown[] | undefined;
1844
- blocks?: unknown[] | undefined;
1845
- thread_ts?: string | undefined;
1846
- user?: string | undefined;
1847
- bot_id?: string | undefined;
1848
- bot_profile?: {
1849
- name?: string | undefined;
1850
- } | undefined;
1851
- parent_user_id?: string | undefined;
1852
- reply_count?: number | undefined;
1853
- reply_users_count?: number | undefined;
1854
- latest_reply?: string | undefined;
1855
- reply_users?: string[] | undefined;
1856
- is_locked?: boolean | undefined;
1857
- subscribed?: boolean | undefined;
1858
- reactions?: {
1859
- name: string;
1860
- users: string[];
1861
- count: number;
1862
- }[] | undefined;
1863
- } | undefined;
1864
- ts?: string | undefined;
1865
- channel?: string | undefined;
1866
- }>, z.ZodObject<{
1867
- operation: z.ZodLiteral<"list_channels">;
1868
- ok: z.ZodBoolean;
1869
- channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
1870
- id: z.ZodString;
1871
- name: z.ZodString;
1872
- is_channel: z.ZodOptional<z.ZodBoolean>;
1873
- is_group: z.ZodOptional<z.ZodBoolean>;
1874
- is_im: z.ZodOptional<z.ZodBoolean>;
1875
- is_mpim: z.ZodOptional<z.ZodBoolean>;
1876
- is_private: z.ZodOptional<z.ZodBoolean>;
1877
- created: z.ZodNumber;
1878
- is_archived: z.ZodBoolean;
1879
- is_general: z.ZodOptional<z.ZodBoolean>;
1880
- unlinked: z.ZodOptional<z.ZodNumber>;
1881
- name_normalized: z.ZodOptional<z.ZodString>;
1882
- is_shared: z.ZodOptional<z.ZodBoolean>;
1883
- is_ext_shared: z.ZodOptional<z.ZodBoolean>;
1884
- is_org_shared: z.ZodOptional<z.ZodBoolean>;
1885
- shared_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1886
- pending_shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1887
- pending_connected_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1888
- is_pending_ext_shared: z.ZodOptional<z.ZodBoolean>;
1889
- is_member: z.ZodOptional<z.ZodBoolean>;
1890
- is_open: z.ZodOptional<z.ZodBoolean>;
1891
- topic: z.ZodOptional<z.ZodObject<{
1892
- value: z.ZodString;
1893
- creator: z.ZodString;
1894
- last_set: z.ZodNumber;
1895
- }, "strip", z.ZodTypeAny, {
1896
- value: string;
1897
- creator: string;
1898
- last_set: number;
1899
- }, {
1900
- value: string;
1901
- creator: string;
1902
- last_set: number;
1903
- }>>;
1904
- purpose: z.ZodOptional<z.ZodObject<{
1905
- value: z.ZodString;
1906
- creator: z.ZodString;
1907
- last_set: z.ZodNumber;
1908
- }, "strip", z.ZodTypeAny, {
1909
- value: string;
1910
- creator: string;
1911
- last_set: number;
1912
- }, {
1913
- value: string;
1914
- creator: string;
1915
- last_set: number;
1916
- }>>;
1917
- num_members: z.ZodOptional<z.ZodNumber>;
1918
- }, "strip", z.ZodTypeAny, {
1919
- name: string;
1920
- id: string;
1921
- created: number;
1922
- is_archived: boolean;
1923
- is_channel?: boolean | undefined;
1924
- is_group?: boolean | undefined;
1925
- is_im?: boolean | undefined;
1926
- is_mpim?: boolean | undefined;
1927
- is_private?: boolean | undefined;
1928
- is_general?: boolean | undefined;
1929
- unlinked?: number | undefined;
1930
- name_normalized?: string | undefined;
1931
- is_shared?: boolean | undefined;
1932
- is_ext_shared?: boolean | undefined;
1933
- is_org_shared?: boolean | undefined;
1934
- shared_team_ids?: string[] | undefined;
1935
- pending_shared?: string[] | undefined;
1936
- pending_connected_team_ids?: string[] | undefined;
1937
- is_pending_ext_shared?: boolean | undefined;
1938
- is_member?: boolean | undefined;
1939
- is_open?: boolean | undefined;
1940
- topic?: {
1941
- value: string;
1942
- creator: string;
1943
- last_set: number;
1944
- } | undefined;
1945
- purpose?: {
1946
- value: string;
1947
- creator: string;
1948
- last_set: number;
1949
- } | undefined;
1950
- num_members?: number | undefined;
1951
- }, {
1952
- name: string;
1953
- id: string;
1954
- created: number;
1955
- is_archived: boolean;
1956
- is_channel?: boolean | undefined;
1957
- is_group?: boolean | undefined;
1958
- is_im?: boolean | undefined;
1959
- is_mpim?: boolean | undefined;
1960
- is_private?: boolean | undefined;
1961
- is_general?: boolean | undefined;
1962
- unlinked?: number | undefined;
1963
- name_normalized?: string | undefined;
1964
- is_shared?: boolean | undefined;
1965
- is_ext_shared?: boolean | undefined;
1966
- is_org_shared?: boolean | undefined;
1967
- shared_team_ids?: string[] | undefined;
1968
- pending_shared?: string[] | undefined;
1969
- pending_connected_team_ids?: string[] | undefined;
1970
- is_pending_ext_shared?: boolean | undefined;
1971
- is_member?: boolean | undefined;
1972
- is_open?: boolean | undefined;
1973
- topic?: {
1974
- value: string;
1975
- creator: string;
1976
- last_set: number;
1977
- } | undefined;
1978
- purpose?: {
1979
- value: string;
1980
- creator: string;
1981
- last_set: number;
1982
- } | undefined;
1983
- num_members?: number | undefined;
1984
- }>, "many">>;
1985
- response_metadata: z.ZodOptional<z.ZodObject<{
1986
- next_cursor: z.ZodString;
1987
- }, "strip", z.ZodTypeAny, {
1988
- next_cursor: string;
1989
- }, {
1990
- next_cursor: string;
1991
- }>>;
1992
- error: z.ZodString;
1993
- success: z.ZodBoolean;
1994
- }, "strip", z.ZodTypeAny, {
1995
- operation: "list_channels";
1996
- ok: boolean;
1997
- error: string;
1998
- success: boolean;
1999
- channels?: {
2000
- name: string;
2001
- id: string;
2002
- created: number;
2003
- is_archived: boolean;
2004
- is_channel?: boolean | undefined;
2005
- is_group?: boolean | undefined;
2006
- is_im?: boolean | undefined;
2007
- is_mpim?: boolean | undefined;
2008
- is_private?: boolean | undefined;
2009
- is_general?: boolean | undefined;
2010
- unlinked?: number | undefined;
2011
- name_normalized?: string | undefined;
2012
- is_shared?: boolean | undefined;
2013
- is_ext_shared?: boolean | undefined;
2014
- is_org_shared?: boolean | undefined;
2015
- shared_team_ids?: string[] | undefined;
2016
- pending_shared?: string[] | undefined;
2017
- pending_connected_team_ids?: string[] | undefined;
2018
- is_pending_ext_shared?: boolean | undefined;
2019
- is_member?: boolean | undefined;
2020
- is_open?: boolean | undefined;
2021
- topic?: {
2022
- value: string;
2023
- creator: string;
2024
- last_set: number;
2025
- } | undefined;
2026
- purpose?: {
2027
- value: string;
2028
- creator: string;
2029
- last_set: number;
2030
- } | undefined;
2031
- num_members?: number | undefined;
2032
- }[] | undefined;
2033
- response_metadata?: {
2034
- next_cursor: string;
2035
- } | undefined;
2036
- }, {
2037
- operation: "list_channels";
2038
- ok: boolean;
2039
- error: string;
2040
- success: boolean;
2041
- channels?: {
2042
- name: string;
2043
- id: string;
2044
- created: number;
2045
- is_archived: boolean;
2046
- is_channel?: boolean | undefined;
2047
- is_group?: boolean | undefined;
2048
- is_im?: boolean | undefined;
2049
- is_mpim?: boolean | undefined;
2050
- is_private?: boolean | undefined;
2051
- is_general?: boolean | undefined;
2052
- unlinked?: number | undefined;
2053
- name_normalized?: string | undefined;
2054
- is_shared?: boolean | undefined;
2055
- is_ext_shared?: boolean | undefined;
2056
- is_org_shared?: boolean | undefined;
2057
- shared_team_ids?: string[] | undefined;
2058
- pending_shared?: string[] | undefined;
2059
- pending_connected_team_ids?: string[] | undefined;
2060
- is_pending_ext_shared?: boolean | undefined;
2061
- is_member?: boolean | undefined;
2062
- is_open?: boolean | undefined;
2063
- topic?: {
2064
- value: string;
2065
- creator: string;
2066
- last_set: number;
2067
- } | undefined;
2068
- purpose?: {
2069
- value: string;
2070
- creator: string;
2071
- last_set: number;
2072
- } | undefined;
2073
- num_members?: number | undefined;
2074
- }[] | undefined;
2075
- response_metadata?: {
2076
- next_cursor: string;
2077
- } | undefined;
2078
- }>, z.ZodObject<{
2079
- operation: z.ZodLiteral<"get_channel_info">;
2080
- ok: z.ZodBoolean;
2081
- channel: z.ZodOptional<z.ZodObject<{
2082
- id: z.ZodString;
2083
- name: z.ZodString;
2084
- is_channel: z.ZodOptional<z.ZodBoolean>;
2085
- is_group: z.ZodOptional<z.ZodBoolean>;
2086
- is_im: z.ZodOptional<z.ZodBoolean>;
2087
- is_mpim: z.ZodOptional<z.ZodBoolean>;
2088
- is_private: z.ZodOptional<z.ZodBoolean>;
2089
- created: z.ZodNumber;
2090
- is_archived: z.ZodBoolean;
2091
- is_general: z.ZodOptional<z.ZodBoolean>;
2092
- unlinked: z.ZodOptional<z.ZodNumber>;
2093
- name_normalized: z.ZodOptional<z.ZodString>;
2094
- is_shared: z.ZodOptional<z.ZodBoolean>;
2095
- is_ext_shared: z.ZodOptional<z.ZodBoolean>;
2096
- is_org_shared: z.ZodOptional<z.ZodBoolean>;
2097
- shared_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2098
- pending_shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2099
- pending_connected_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2100
- is_pending_ext_shared: z.ZodOptional<z.ZodBoolean>;
2101
- is_member: z.ZodOptional<z.ZodBoolean>;
2102
- is_open: z.ZodOptional<z.ZodBoolean>;
2103
- topic: z.ZodOptional<z.ZodObject<{
2104
- value: z.ZodString;
2105
- creator: z.ZodString;
2106
- last_set: z.ZodNumber;
2107
- }, "strip", z.ZodTypeAny, {
2108
- value: string;
2109
- creator: string;
2110
- last_set: number;
2111
- }, {
2112
- value: string;
2113
- creator: string;
2114
- last_set: number;
2115
- }>>;
2116
- purpose: z.ZodOptional<z.ZodObject<{
2117
- value: z.ZodString;
2118
- creator: z.ZodString;
2119
- last_set: z.ZodNumber;
2120
- }, "strip", z.ZodTypeAny, {
2121
- value: string;
2122
- creator: string;
2123
- last_set: number;
2124
- }, {
2125
- value: string;
2126
- creator: string;
2127
- last_set: number;
2128
- }>>;
2129
- num_members: z.ZodOptional<z.ZodNumber>;
2130
- }, "strip", z.ZodTypeAny, {
2131
- name: string;
2132
- id: string;
2133
- created: number;
2134
- is_archived: boolean;
2135
- is_channel?: boolean | undefined;
2136
- is_group?: boolean | undefined;
2137
- is_im?: boolean | undefined;
2138
- is_mpim?: boolean | undefined;
2139
- is_private?: boolean | undefined;
2140
- is_general?: boolean | undefined;
2141
- unlinked?: number | undefined;
2142
- name_normalized?: string | undefined;
2143
- is_shared?: boolean | undefined;
2144
- is_ext_shared?: boolean | undefined;
2145
- is_org_shared?: boolean | undefined;
2146
- shared_team_ids?: string[] | undefined;
2147
- pending_shared?: string[] | undefined;
2148
- pending_connected_team_ids?: string[] | undefined;
2149
- is_pending_ext_shared?: boolean | undefined;
2150
- is_member?: boolean | undefined;
2151
- is_open?: boolean | undefined;
2152
- topic?: {
2153
- value: string;
2154
- creator: string;
2155
- last_set: number;
2156
- } | undefined;
2157
- purpose?: {
2158
- value: string;
2159
- creator: string;
2160
- last_set: number;
2161
- } | undefined;
2162
- num_members?: number | undefined;
2163
- }, {
2164
- name: string;
2165
- id: string;
2166
- created: number;
2167
- is_archived: boolean;
2168
- is_channel?: boolean | undefined;
2169
- is_group?: boolean | undefined;
2170
- is_im?: boolean | undefined;
2171
- is_mpim?: boolean | undefined;
2172
- is_private?: boolean | undefined;
2173
- is_general?: boolean | undefined;
2174
- unlinked?: number | undefined;
2175
- name_normalized?: string | undefined;
2176
- is_shared?: boolean | undefined;
2177
- is_ext_shared?: boolean | undefined;
2178
- is_org_shared?: boolean | undefined;
2179
- shared_team_ids?: string[] | undefined;
2180
- pending_shared?: string[] | undefined;
2181
- pending_connected_team_ids?: string[] | undefined;
2182
- is_pending_ext_shared?: boolean | undefined;
2183
- is_member?: boolean | undefined;
2184
- is_open?: boolean | undefined;
2185
- topic?: {
2186
- value: string;
2187
- creator: string;
2188
- last_set: number;
2189
- } | undefined;
2190
- purpose?: {
2191
- value: string;
2192
- creator: string;
2193
- last_set: number;
2194
- } | undefined;
2195
- num_members?: number | undefined;
2196
- }>>;
2197
- error: z.ZodString;
2198
- success: z.ZodBoolean;
2199
- }, "strip", z.ZodTypeAny, {
2200
- operation: "get_channel_info";
2201
- ok: boolean;
2202
- error: string;
2203
- success: boolean;
2204
- channel?: {
2205
- name: string;
2206
- id: string;
2207
- created: number;
2208
- is_archived: boolean;
2209
- is_channel?: boolean | undefined;
2210
- is_group?: boolean | undefined;
2211
- is_im?: boolean | undefined;
2212
- is_mpim?: boolean | undefined;
2213
- is_private?: boolean | undefined;
2214
- is_general?: boolean | undefined;
2215
- unlinked?: number | undefined;
2216
- name_normalized?: string | undefined;
2217
- is_shared?: boolean | undefined;
2218
- is_ext_shared?: boolean | undefined;
2219
- is_org_shared?: boolean | undefined;
2220
- shared_team_ids?: string[] | undefined;
2221
- pending_shared?: string[] | undefined;
2222
- pending_connected_team_ids?: string[] | undefined;
2223
- is_pending_ext_shared?: boolean | undefined;
2224
- is_member?: boolean | undefined;
2225
- is_open?: boolean | undefined;
2226
- topic?: {
2227
- value: string;
2228
- creator: string;
2229
- last_set: number;
2230
- } | undefined;
2231
- purpose?: {
2232
- value: string;
2233
- creator: string;
2234
- last_set: number;
2235
- } | undefined;
2236
- num_members?: number | undefined;
2237
- } | undefined;
2238
- }, {
2239
- operation: "get_channel_info";
2240
- ok: boolean;
2241
- error: string;
2242
- success: boolean;
2243
- channel?: {
2244
- name: string;
2245
- id: string;
2246
- created: number;
2247
- is_archived: boolean;
2248
- is_channel?: boolean | undefined;
2249
- is_group?: boolean | undefined;
2250
- is_im?: boolean | undefined;
2251
- is_mpim?: boolean | undefined;
2252
- is_private?: boolean | undefined;
2253
- is_general?: boolean | undefined;
2254
- unlinked?: number | undefined;
2255
- name_normalized?: string | undefined;
2256
- is_shared?: boolean | undefined;
2257
- is_ext_shared?: boolean | undefined;
2258
- is_org_shared?: boolean | undefined;
2259
- shared_team_ids?: string[] | undefined;
2260
- pending_shared?: string[] | undefined;
2261
- pending_connected_team_ids?: string[] | undefined;
2262
- is_pending_ext_shared?: boolean | undefined;
2263
- is_member?: boolean | undefined;
2264
- is_open?: boolean | undefined;
2265
- topic?: {
2266
- value: string;
2267
- creator: string;
2268
- last_set: number;
2269
- } | undefined;
2270
- purpose?: {
2271
- value: string;
2272
- creator: string;
2273
- last_set: number;
2274
- } | undefined;
2275
- num_members?: number | undefined;
2276
- } | undefined;
2277
- }>, z.ZodObject<{
2278
- operation: z.ZodLiteral<"get_user_info">;
2279
- ok: z.ZodBoolean;
2280
- user: z.ZodOptional<z.ZodObject<{
2281
- id: z.ZodString;
2282
- team_id: z.ZodOptional<z.ZodString>;
2283
- name: z.ZodString;
2284
- deleted: z.ZodOptional<z.ZodBoolean>;
2285
- color: z.ZodOptional<z.ZodString>;
2286
- real_name: z.ZodOptional<z.ZodString>;
2287
- tz: z.ZodOptional<z.ZodString>;
2288
- tz_label: z.ZodOptional<z.ZodString>;
2289
- tz_offset: z.ZodOptional<z.ZodNumber>;
2290
- profile: z.ZodOptional<z.ZodObject<{
2291
- title: z.ZodOptional<z.ZodString>;
2292
- phone: z.ZodOptional<z.ZodString>;
2293
- skype: z.ZodOptional<z.ZodString>;
2294
- real_name: z.ZodOptional<z.ZodString>;
2295
- real_name_normalized: z.ZodOptional<z.ZodString>;
2296
- display_name: z.ZodOptional<z.ZodString>;
2297
- display_name_normalized: z.ZodOptional<z.ZodString>;
2298
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2299
- status_text: z.ZodOptional<z.ZodString>;
2300
- status_emoji: z.ZodOptional<z.ZodString>;
2301
- status_expiration: z.ZodOptional<z.ZodNumber>;
2302
- avatar_hash: z.ZodOptional<z.ZodString>;
2303
- image_original: z.ZodOptional<z.ZodString>;
2304
- is_custom_image: z.ZodOptional<z.ZodBoolean>;
2305
- email: z.ZodOptional<z.ZodString>;
2306
- first_name: z.ZodOptional<z.ZodString>;
2307
- last_name: z.ZodOptional<z.ZodString>;
2308
- image_24: z.ZodOptional<z.ZodString>;
2309
- image_32: z.ZodOptional<z.ZodString>;
2310
- image_48: z.ZodOptional<z.ZodString>;
2311
- image_72: z.ZodOptional<z.ZodString>;
2312
- image_192: z.ZodOptional<z.ZodString>;
2313
- image_512: z.ZodOptional<z.ZodString>;
2314
- image_1024: z.ZodOptional<z.ZodString>;
2315
- }, "strip", z.ZodTypeAny, {
2316
- title?: string | undefined;
2317
- fields?: Record<string, unknown> | undefined;
2318
- email?: string | undefined;
2319
- real_name?: string | undefined;
2320
- phone?: string | undefined;
2321
- skype?: string | undefined;
2322
- real_name_normalized?: string | undefined;
2323
- display_name?: string | undefined;
2324
- display_name_normalized?: string | undefined;
2325
- status_text?: string | undefined;
2326
- status_emoji?: string | undefined;
2327
- status_expiration?: number | undefined;
2328
- avatar_hash?: string | undefined;
2329
- image_original?: string | undefined;
2330
- is_custom_image?: boolean | undefined;
2331
- first_name?: string | undefined;
2332
- last_name?: string | undefined;
2333
- image_24?: string | undefined;
2334
- image_32?: string | undefined;
2335
- image_48?: string | undefined;
2336
- image_72?: string | undefined;
2337
- image_192?: string | undefined;
2338
- image_512?: string | undefined;
2339
- image_1024?: string | undefined;
2340
- }, {
2341
- title?: string | undefined;
2342
- fields?: Record<string, unknown> | undefined;
2343
- email?: string | undefined;
2344
- real_name?: string | undefined;
2345
- phone?: string | undefined;
2346
- skype?: string | undefined;
2347
- real_name_normalized?: string | undefined;
2348
- display_name?: string | undefined;
2349
- display_name_normalized?: string | undefined;
2350
- status_text?: string | undefined;
2351
- status_emoji?: string | undefined;
2352
- status_expiration?: number | undefined;
2353
- avatar_hash?: string | undefined;
2354
- image_original?: string | undefined;
2355
- is_custom_image?: boolean | undefined;
2356
- first_name?: string | undefined;
2357
- last_name?: string | undefined;
2358
- image_24?: string | undefined;
2359
- image_32?: string | undefined;
2360
- image_48?: string | undefined;
2361
- image_72?: string | undefined;
2362
- image_192?: string | undefined;
2363
- image_512?: string | undefined;
2364
- image_1024?: string | undefined;
2365
- }>>;
2366
- is_admin: z.ZodOptional<z.ZodBoolean>;
2367
- is_owner: z.ZodOptional<z.ZodBoolean>;
2368
- is_primary_owner: z.ZodOptional<z.ZodBoolean>;
2369
- is_restricted: z.ZodOptional<z.ZodBoolean>;
2370
- is_ultra_restricted: z.ZodOptional<z.ZodBoolean>;
2371
- is_bot: z.ZodOptional<z.ZodBoolean>;
2372
- is_app_user: z.ZodOptional<z.ZodBoolean>;
2373
- updated: z.ZodOptional<z.ZodNumber>;
2374
- has_2fa: z.ZodOptional<z.ZodBoolean>;
2375
- }, "strip", z.ZodTypeAny, {
2376
- name: string;
2377
- id: string;
2378
- color?: string | undefined;
2379
- team_id?: string | undefined;
2380
- deleted?: boolean | undefined;
2381
- real_name?: string | undefined;
2382
- tz?: string | undefined;
2383
- tz_label?: string | undefined;
2384
- tz_offset?: number | undefined;
2385
- profile?: {
2386
- title?: string | undefined;
2387
- fields?: Record<string, unknown> | undefined;
2388
- email?: string | undefined;
2389
- real_name?: string | undefined;
2390
- phone?: string | undefined;
2391
- skype?: string | undefined;
2392
- real_name_normalized?: string | undefined;
2393
- display_name?: string | undefined;
2394
- display_name_normalized?: string | undefined;
2395
- status_text?: string | undefined;
2396
- status_emoji?: string | undefined;
2397
- status_expiration?: number | undefined;
2398
- avatar_hash?: string | undefined;
2399
- image_original?: string | undefined;
2400
- is_custom_image?: boolean | undefined;
2401
- first_name?: string | undefined;
2402
- last_name?: string | undefined;
2403
- image_24?: string | undefined;
2404
- image_32?: string | undefined;
2405
- image_48?: string | undefined;
2406
- image_72?: string | undefined;
2407
- image_192?: string | undefined;
2408
- image_512?: string | undefined;
2409
- image_1024?: string | undefined;
2410
- } | undefined;
2411
- is_admin?: boolean | undefined;
2412
- is_owner?: boolean | undefined;
2413
- is_primary_owner?: boolean | undefined;
2414
- is_restricted?: boolean | undefined;
2415
- is_ultra_restricted?: boolean | undefined;
2416
- is_bot?: boolean | undefined;
2417
- is_app_user?: boolean | undefined;
2418
- updated?: number | undefined;
2419
- has_2fa?: boolean | undefined;
2420
- }, {
2421
- name: string;
2422
- id: string;
2423
- color?: string | undefined;
2424
- team_id?: string | undefined;
2425
- deleted?: boolean | undefined;
2426
- real_name?: string | undefined;
2427
- tz?: string | undefined;
2428
- tz_label?: string | undefined;
2429
- tz_offset?: number | undefined;
2430
- profile?: {
2431
- title?: string | undefined;
2432
- fields?: Record<string, unknown> | undefined;
2433
- email?: string | undefined;
2434
- real_name?: string | undefined;
2435
- phone?: string | undefined;
2436
- skype?: string | undefined;
2437
- real_name_normalized?: string | undefined;
2438
- display_name?: string | undefined;
2439
- display_name_normalized?: string | undefined;
2440
- status_text?: string | undefined;
2441
- status_emoji?: string | undefined;
2442
- status_expiration?: number | undefined;
2443
- avatar_hash?: string | undefined;
2444
- image_original?: string | undefined;
2445
- is_custom_image?: boolean | undefined;
2446
- first_name?: string | undefined;
2447
- last_name?: string | undefined;
2448
- image_24?: string | undefined;
2449
- image_32?: string | undefined;
2450
- image_48?: string | undefined;
2451
- image_72?: string | undefined;
2452
- image_192?: string | undefined;
2453
- image_512?: string | undefined;
2454
- image_1024?: string | undefined;
2455
- } | undefined;
2456
- is_admin?: boolean | undefined;
2457
- is_owner?: boolean | undefined;
2458
- is_primary_owner?: boolean | undefined;
2459
- is_restricted?: boolean | undefined;
2460
- is_ultra_restricted?: boolean | undefined;
2461
- is_bot?: boolean | undefined;
2462
- is_app_user?: boolean | undefined;
2463
- updated?: number | undefined;
2464
- has_2fa?: boolean | undefined;
2465
- }>>;
2466
- error: z.ZodString;
2467
- success: z.ZodBoolean;
2468
- }, "strip", z.ZodTypeAny, {
2469
- operation: "get_user_info";
2470
- ok: boolean;
2471
- error: string;
2472
- success: boolean;
2473
- user?: {
2474
- name: string;
2475
- id: string;
2476
- color?: string | undefined;
2477
- team_id?: string | undefined;
2478
- deleted?: boolean | undefined;
2479
- real_name?: string | undefined;
2480
- tz?: string | undefined;
2481
- tz_label?: string | undefined;
2482
- tz_offset?: number | undefined;
2483
- profile?: {
2484
- title?: string | undefined;
2485
- fields?: Record<string, unknown> | undefined;
2486
- email?: string | undefined;
2487
- real_name?: string | undefined;
2488
- phone?: string | undefined;
2489
- skype?: string | undefined;
2490
- real_name_normalized?: string | undefined;
2491
- display_name?: string | undefined;
2492
- display_name_normalized?: string | undefined;
2493
- status_text?: string | undefined;
2494
- status_emoji?: string | undefined;
2495
- status_expiration?: number | undefined;
2496
- avatar_hash?: string | undefined;
2497
- image_original?: string | undefined;
2498
- is_custom_image?: boolean | undefined;
2499
- first_name?: string | undefined;
2500
- last_name?: string | undefined;
2501
- image_24?: string | undefined;
2502
- image_32?: string | undefined;
2503
- image_48?: string | undefined;
2504
- image_72?: string | undefined;
2505
- image_192?: string | undefined;
2506
- image_512?: string | undefined;
2507
- image_1024?: string | undefined;
2508
- } | undefined;
2509
- is_admin?: boolean | undefined;
2510
- is_owner?: boolean | undefined;
2511
- is_primary_owner?: boolean | undefined;
2512
- is_restricted?: boolean | undefined;
2513
- is_ultra_restricted?: boolean | undefined;
2514
- is_bot?: boolean | undefined;
2515
- is_app_user?: boolean | undefined;
2516
- updated?: number | undefined;
2517
- has_2fa?: boolean | undefined;
2518
- } | undefined;
2519
- }, {
2520
- operation: "get_user_info";
2521
- ok: boolean;
2522
- error: string;
2523
- success: boolean;
2524
- user?: {
2525
- name: string;
2526
- id: string;
2527
- color?: string | undefined;
2528
- team_id?: string | undefined;
2529
- deleted?: boolean | undefined;
2530
- real_name?: string | undefined;
2531
- tz?: string | undefined;
2532
- tz_label?: string | undefined;
2533
- tz_offset?: number | undefined;
2534
- profile?: {
2535
- title?: string | undefined;
2536
- fields?: Record<string, unknown> | undefined;
2537
- email?: string | undefined;
2538
- real_name?: string | undefined;
2539
- phone?: string | undefined;
2540
- skype?: string | undefined;
2541
- real_name_normalized?: string | undefined;
2542
- display_name?: string | undefined;
2543
- display_name_normalized?: string | undefined;
2544
- status_text?: string | undefined;
2545
- status_emoji?: string | undefined;
2546
- status_expiration?: number | undefined;
2547
- avatar_hash?: string | undefined;
2548
- image_original?: string | undefined;
2549
- is_custom_image?: boolean | undefined;
2550
- first_name?: string | undefined;
2551
- last_name?: string | undefined;
2552
- image_24?: string | undefined;
2553
- image_32?: string | undefined;
2554
- image_48?: string | undefined;
2555
- image_72?: string | undefined;
2556
- image_192?: string | undefined;
2557
- image_512?: string | undefined;
2558
- image_1024?: string | undefined;
2559
- } | undefined;
2560
- is_admin?: boolean | undefined;
2561
- is_owner?: boolean | undefined;
2562
- is_primary_owner?: boolean | undefined;
2563
- is_restricted?: boolean | undefined;
2564
- is_ultra_restricted?: boolean | undefined;
2565
- is_bot?: boolean | undefined;
2566
- is_app_user?: boolean | undefined;
2567
- updated?: number | undefined;
2568
- has_2fa?: boolean | undefined;
2569
- } | undefined;
2570
- }>, z.ZodObject<{
2571
- operation: z.ZodLiteral<"list_users">;
2572
- ok: z.ZodBoolean;
2573
- members: z.ZodOptional<z.ZodArray<z.ZodObject<{
2574
- id: z.ZodString;
2575
- team_id: z.ZodOptional<z.ZodString>;
2576
- name: z.ZodString;
2577
- deleted: z.ZodOptional<z.ZodBoolean>;
2578
- color: z.ZodOptional<z.ZodString>;
2579
- real_name: z.ZodOptional<z.ZodString>;
2580
- tz: z.ZodOptional<z.ZodString>;
2581
- tz_label: z.ZodOptional<z.ZodString>;
2582
- tz_offset: z.ZodOptional<z.ZodNumber>;
2583
- profile: z.ZodOptional<z.ZodObject<{
2584
- title: z.ZodOptional<z.ZodString>;
2585
- phone: z.ZodOptional<z.ZodString>;
2586
- skype: z.ZodOptional<z.ZodString>;
2587
- real_name: z.ZodOptional<z.ZodString>;
2588
- real_name_normalized: z.ZodOptional<z.ZodString>;
2589
- display_name: z.ZodOptional<z.ZodString>;
2590
- display_name_normalized: z.ZodOptional<z.ZodString>;
2591
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2592
- status_text: z.ZodOptional<z.ZodString>;
2593
- status_emoji: z.ZodOptional<z.ZodString>;
2594
- status_expiration: z.ZodOptional<z.ZodNumber>;
2595
- avatar_hash: z.ZodOptional<z.ZodString>;
2596
- image_original: z.ZodOptional<z.ZodString>;
2597
- is_custom_image: z.ZodOptional<z.ZodBoolean>;
2598
- email: z.ZodOptional<z.ZodString>;
2599
- first_name: z.ZodOptional<z.ZodString>;
2600
- last_name: z.ZodOptional<z.ZodString>;
2601
- image_24: z.ZodOptional<z.ZodString>;
2602
- image_32: z.ZodOptional<z.ZodString>;
2603
- image_48: z.ZodOptional<z.ZodString>;
2604
- image_72: z.ZodOptional<z.ZodString>;
2605
- image_192: z.ZodOptional<z.ZodString>;
2606
- image_512: z.ZodOptional<z.ZodString>;
2607
- image_1024: z.ZodOptional<z.ZodString>;
2608
- }, "strip", z.ZodTypeAny, {
2609
- title?: string | undefined;
2610
- fields?: Record<string, unknown> | undefined;
2611
- email?: string | undefined;
2612
- real_name?: string | undefined;
2613
- phone?: string | undefined;
2614
- skype?: string | undefined;
2615
- real_name_normalized?: string | undefined;
2616
- display_name?: string | undefined;
2617
- display_name_normalized?: string | undefined;
2618
- status_text?: string | undefined;
2619
- status_emoji?: string | undefined;
2620
- status_expiration?: number | undefined;
2621
- avatar_hash?: string | undefined;
2622
- image_original?: string | undefined;
2623
- is_custom_image?: boolean | undefined;
2624
- first_name?: string | undefined;
2625
- last_name?: string | undefined;
2626
- image_24?: string | undefined;
2627
- image_32?: string | undefined;
2628
- image_48?: string | undefined;
2629
- image_72?: string | undefined;
2630
- image_192?: string | undefined;
2631
- image_512?: string | undefined;
2632
- image_1024?: string | undefined;
2633
- }, {
2634
- title?: string | undefined;
2635
- fields?: Record<string, unknown> | undefined;
2636
- email?: string | undefined;
2637
- real_name?: string | undefined;
2638
- phone?: string | undefined;
2639
- skype?: string | undefined;
2640
- real_name_normalized?: string | undefined;
2641
- display_name?: string | undefined;
2642
- display_name_normalized?: string | undefined;
2643
- status_text?: string | undefined;
2644
- status_emoji?: string | undefined;
2645
- status_expiration?: number | undefined;
2646
- avatar_hash?: string | undefined;
2647
- image_original?: string | undefined;
2648
- is_custom_image?: boolean | undefined;
2649
- first_name?: string | undefined;
2650
- last_name?: string | undefined;
2651
- image_24?: string | undefined;
2652
- image_32?: string | undefined;
2653
- image_48?: string | undefined;
2654
- image_72?: string | undefined;
2655
- image_192?: string | undefined;
2656
- image_512?: string | undefined;
2657
- image_1024?: string | undefined;
2658
- }>>;
2659
- is_admin: z.ZodOptional<z.ZodBoolean>;
2660
- is_owner: z.ZodOptional<z.ZodBoolean>;
2661
- is_primary_owner: z.ZodOptional<z.ZodBoolean>;
2662
- is_restricted: z.ZodOptional<z.ZodBoolean>;
2663
- is_ultra_restricted: z.ZodOptional<z.ZodBoolean>;
2664
- is_bot: z.ZodOptional<z.ZodBoolean>;
2665
- is_app_user: z.ZodOptional<z.ZodBoolean>;
2666
- updated: z.ZodOptional<z.ZodNumber>;
2667
- has_2fa: z.ZodOptional<z.ZodBoolean>;
2668
- }, "strip", z.ZodTypeAny, {
2669
- name: string;
2670
- id: string;
2671
- color?: string | undefined;
2672
- team_id?: string | undefined;
2673
- deleted?: boolean | undefined;
2674
- real_name?: string | undefined;
2675
- tz?: string | undefined;
2676
- tz_label?: string | undefined;
2677
- tz_offset?: number | undefined;
2678
- profile?: {
2679
- title?: string | undefined;
2680
- fields?: Record<string, unknown> | undefined;
2681
- email?: string | undefined;
2682
- real_name?: string | undefined;
2683
- phone?: string | undefined;
2684
- skype?: string | undefined;
2685
- real_name_normalized?: string | undefined;
2686
- display_name?: string | undefined;
2687
- display_name_normalized?: string | undefined;
2688
- status_text?: string | undefined;
2689
- status_emoji?: string | undefined;
2690
- status_expiration?: number | undefined;
2691
- avatar_hash?: string | undefined;
2692
- image_original?: string | undefined;
2693
- is_custom_image?: boolean | undefined;
2694
- first_name?: string | undefined;
2695
- last_name?: string | undefined;
2696
- image_24?: string | undefined;
2697
- image_32?: string | undefined;
2698
- image_48?: string | undefined;
2699
- image_72?: string | undefined;
2700
- image_192?: string | undefined;
2701
- image_512?: string | undefined;
2702
- image_1024?: string | undefined;
2703
- } | undefined;
2704
- is_admin?: boolean | undefined;
2705
- is_owner?: boolean | undefined;
2706
- is_primary_owner?: boolean | undefined;
2707
- is_restricted?: boolean | undefined;
2708
- is_ultra_restricted?: boolean | undefined;
2709
- is_bot?: boolean | undefined;
2710
- is_app_user?: boolean | undefined;
2711
- updated?: number | undefined;
2712
- has_2fa?: boolean | undefined;
2713
- }, {
2714
- name: string;
2715
- id: string;
2716
- color?: string | undefined;
2717
- team_id?: string | undefined;
2718
- deleted?: boolean | undefined;
2719
- real_name?: string | undefined;
2720
- tz?: string | undefined;
2721
- tz_label?: string | undefined;
2722
- tz_offset?: number | undefined;
2723
- profile?: {
2724
- title?: string | undefined;
2725
- fields?: Record<string, unknown> | undefined;
2726
- email?: string | undefined;
2727
- real_name?: string | undefined;
2728
- phone?: string | undefined;
2729
- skype?: string | undefined;
2730
- real_name_normalized?: string | undefined;
2731
- display_name?: string | undefined;
2732
- display_name_normalized?: string | undefined;
2733
- status_text?: string | undefined;
2734
- status_emoji?: string | undefined;
2735
- status_expiration?: number | undefined;
2736
- avatar_hash?: string | undefined;
2737
- image_original?: string | undefined;
2738
- is_custom_image?: boolean | undefined;
2739
- first_name?: string | undefined;
2740
- last_name?: string | undefined;
2741
- image_24?: string | undefined;
2742
- image_32?: string | undefined;
2743
- image_48?: string | undefined;
2744
- image_72?: string | undefined;
2745
- image_192?: string | undefined;
2746
- image_512?: string | undefined;
2747
- image_1024?: string | undefined;
2748
- } | undefined;
2749
- is_admin?: boolean | undefined;
2750
- is_owner?: boolean | undefined;
2751
- is_primary_owner?: boolean | undefined;
2752
- is_restricted?: boolean | undefined;
2753
- is_ultra_restricted?: boolean | undefined;
2754
- is_bot?: boolean | undefined;
2755
- is_app_user?: boolean | undefined;
2756
- updated?: number | undefined;
2757
- has_2fa?: boolean | undefined;
2758
- }>, "many">>;
2759
- response_metadata: z.ZodOptional<z.ZodObject<{
2760
- next_cursor: z.ZodString;
2761
- }, "strip", z.ZodTypeAny, {
2762
- next_cursor: string;
2763
- }, {
2764
- next_cursor: string;
2765
- }>>;
2766
- error: z.ZodString;
2767
- success: z.ZodBoolean;
2768
- }, "strip", z.ZodTypeAny, {
2769
- operation: "list_users";
2770
- ok: boolean;
2771
- error: string;
2772
- success: boolean;
2773
- response_metadata?: {
2774
- next_cursor: string;
2775
- } | undefined;
2776
- members?: {
2777
- name: string;
2778
- id: string;
2779
- color?: string | undefined;
2780
- team_id?: string | undefined;
2781
- deleted?: boolean | undefined;
2782
- real_name?: string | undefined;
2783
- tz?: string | undefined;
2784
- tz_label?: string | undefined;
2785
- tz_offset?: number | undefined;
2786
- profile?: {
2787
- title?: string | undefined;
2788
- fields?: Record<string, unknown> | undefined;
2789
- email?: string | undefined;
2790
- real_name?: string | undefined;
2791
- phone?: string | undefined;
2792
- skype?: string | undefined;
2793
- real_name_normalized?: string | undefined;
2794
- display_name?: string | undefined;
2795
- display_name_normalized?: string | undefined;
2796
- status_text?: string | undefined;
2797
- status_emoji?: string | undefined;
2798
- status_expiration?: number | undefined;
2799
- avatar_hash?: string | undefined;
2800
- image_original?: string | undefined;
2801
- is_custom_image?: boolean | undefined;
2802
- first_name?: string | undefined;
2803
- last_name?: string | undefined;
2804
- image_24?: string | undefined;
2805
- image_32?: string | undefined;
2806
- image_48?: string | undefined;
2807
- image_72?: string | undefined;
2808
- image_192?: string | undefined;
2809
- image_512?: string | undefined;
2810
- image_1024?: string | undefined;
2811
- } | undefined;
2812
- is_admin?: boolean | undefined;
2813
- is_owner?: boolean | undefined;
2814
- is_primary_owner?: boolean | undefined;
2815
- is_restricted?: boolean | undefined;
2816
- is_ultra_restricted?: boolean | undefined;
2817
- is_bot?: boolean | undefined;
2818
- is_app_user?: boolean | undefined;
2819
- updated?: number | undefined;
2820
- has_2fa?: boolean | undefined;
2821
- }[] | undefined;
2822
- }, {
2823
- operation: "list_users";
2824
- ok: boolean;
2825
- error: string;
2826
- success: boolean;
2827
- response_metadata?: {
2828
- next_cursor: string;
2829
- } | undefined;
2830
- members?: {
2831
- name: string;
2832
- id: string;
2833
- color?: string | undefined;
2834
- team_id?: string | undefined;
2835
- deleted?: boolean | undefined;
2836
- real_name?: string | undefined;
2837
- tz?: string | undefined;
2838
- tz_label?: string | undefined;
2839
- tz_offset?: number | undefined;
2840
- profile?: {
2841
- title?: string | undefined;
2842
- fields?: Record<string, unknown> | undefined;
2843
- email?: string | undefined;
2844
- real_name?: string | undefined;
2845
- phone?: string | undefined;
2846
- skype?: string | undefined;
2847
- real_name_normalized?: string | undefined;
2848
- display_name?: string | undefined;
2849
- display_name_normalized?: string | undefined;
2850
- status_text?: string | undefined;
2851
- status_emoji?: string | undefined;
2852
- status_expiration?: number | undefined;
2853
- avatar_hash?: string | undefined;
2854
- image_original?: string | undefined;
2855
- is_custom_image?: boolean | undefined;
2856
- first_name?: string | undefined;
2857
- last_name?: string | undefined;
2858
- image_24?: string | undefined;
2859
- image_32?: string | undefined;
2860
- image_48?: string | undefined;
2861
- image_72?: string | undefined;
2862
- image_192?: string | undefined;
2863
- image_512?: string | undefined;
2864
- image_1024?: string | undefined;
2865
- } | undefined;
2866
- is_admin?: boolean | undefined;
2867
- is_owner?: boolean | undefined;
2868
- is_primary_owner?: boolean | undefined;
2869
- is_restricted?: boolean | undefined;
2870
- is_ultra_restricted?: boolean | undefined;
2871
- is_bot?: boolean | undefined;
2872
- is_app_user?: boolean | undefined;
2873
- updated?: number | undefined;
2874
- has_2fa?: boolean | undefined;
2875
- }[] | undefined;
2876
- }>, z.ZodObject<{
2877
- operation: z.ZodLiteral<"get_conversation_history">;
2878
- ok: z.ZodBoolean;
2879
- messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
2880
- type: z.ZodString;
2881
- ts: z.ZodOptional<z.ZodString>;
2882
- user: z.ZodOptional<z.ZodString>;
2883
- bot_id: z.ZodOptional<z.ZodString>;
2884
- bot_profile: z.ZodOptional<z.ZodObject<{
2885
- name: z.ZodOptional<z.ZodString>;
2886
- }, "strip", z.ZodTypeAny, {
2887
- name?: string | undefined;
2888
- }, {
2889
- name?: string | undefined;
2890
- }>>;
2891
- username: z.ZodOptional<z.ZodString>;
2892
- text: z.ZodOptional<z.ZodString>;
2893
- thread_ts: z.ZodOptional<z.ZodString>;
2894
- parent_user_id: z.ZodOptional<z.ZodString>;
2895
- reply_count: z.ZodOptional<z.ZodNumber>;
2896
- reply_users_count: z.ZodOptional<z.ZodNumber>;
2897
- latest_reply: z.ZodOptional<z.ZodString>;
2898
- reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2899
- is_locked: z.ZodOptional<z.ZodBoolean>;
2900
- subscribed: z.ZodOptional<z.ZodBoolean>;
2901
- attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
2902
- blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
2903
- reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2904
- name: z.ZodString;
2905
- users: z.ZodArray<z.ZodString, "many">;
2906
- count: z.ZodNumber;
2907
- }, "strip", z.ZodTypeAny, {
2908
- name: string;
2909
- users: string[];
2910
- count: number;
2911
- }, {
2912
- name: string;
2913
- users: string[];
2914
- count: number;
2915
- }>, "many">>;
2916
- }, "strip", z.ZodTypeAny, {
2917
- type: string;
2918
- text?: string | undefined;
2919
- ts?: string | undefined;
2920
- username?: string | undefined;
2921
- attachments?: unknown[] | undefined;
2922
- blocks?: unknown[] | undefined;
2923
- thread_ts?: string | undefined;
2924
- user?: string | undefined;
2925
- bot_id?: string | undefined;
2926
- bot_profile?: {
2927
- name?: string | undefined;
2928
- } | undefined;
2929
- parent_user_id?: string | undefined;
2930
- reply_count?: number | undefined;
2931
- reply_users_count?: number | undefined;
2932
- latest_reply?: string | undefined;
2933
- reply_users?: string[] | undefined;
2934
- is_locked?: boolean | undefined;
2935
- subscribed?: boolean | undefined;
2936
- reactions?: {
2937
- name: string;
2938
- users: string[];
2939
- count: number;
2940
- }[] | undefined;
2941
- }, {
2942
- type: string;
2943
- text?: string | undefined;
2944
- ts?: string | undefined;
2945
- username?: string | undefined;
2946
- attachments?: unknown[] | undefined;
2947
- blocks?: unknown[] | undefined;
2948
- thread_ts?: string | undefined;
2949
- user?: string | undefined;
2950
- bot_id?: string | undefined;
2951
- bot_profile?: {
2952
- name?: string | undefined;
2953
- } | undefined;
2954
- parent_user_id?: string | undefined;
2955
- reply_count?: number | undefined;
2956
- reply_users_count?: number | undefined;
2957
- latest_reply?: string | undefined;
2958
- reply_users?: string[] | undefined;
2959
- is_locked?: boolean | undefined;
2960
- subscribed?: boolean | undefined;
2961
- reactions?: {
2962
- name: string;
2963
- users: string[];
2964
- count: number;
2965
- }[] | undefined;
2966
- }>, "many">>;
2967
- has_more: z.ZodOptional<z.ZodBoolean>;
2968
- response_metadata: z.ZodOptional<z.ZodObject<{
2969
- next_cursor: z.ZodString;
2970
- }, "strip", z.ZodTypeAny, {
2971
- next_cursor: string;
2972
- }, {
2973
- next_cursor: string;
2974
- }>>;
2975
- error: z.ZodString;
2976
- success: z.ZodBoolean;
2977
- }, "strip", z.ZodTypeAny, {
2978
- operation: "get_conversation_history";
2979
- ok: boolean;
2980
- error: string;
2981
- success: boolean;
2982
- response_metadata?: {
2983
- next_cursor: string;
2984
- } | undefined;
2985
- messages?: {
2986
- type: string;
2987
- text?: string | undefined;
2988
- ts?: string | undefined;
2989
- username?: string | undefined;
2990
- attachments?: unknown[] | undefined;
2991
- blocks?: unknown[] | undefined;
2992
- thread_ts?: string | undefined;
2993
- user?: string | undefined;
2994
- bot_id?: string | undefined;
2995
- bot_profile?: {
2996
- name?: string | undefined;
2997
- } | undefined;
2998
- parent_user_id?: string | undefined;
2999
- reply_count?: number | undefined;
3000
- reply_users_count?: number | undefined;
3001
- latest_reply?: string | undefined;
3002
- reply_users?: string[] | undefined;
3003
- is_locked?: boolean | undefined;
3004
- subscribed?: boolean | undefined;
3005
- reactions?: {
3006
- name: string;
3007
- users: string[];
3008
- count: number;
3009
- }[] | undefined;
3010
- }[] | undefined;
3011
- has_more?: boolean | undefined;
3012
- }, {
3013
- operation: "get_conversation_history";
3014
- ok: boolean;
3015
- error: string;
3016
- success: boolean;
3017
- response_metadata?: {
3018
- next_cursor: string;
3019
- } | undefined;
3020
- messages?: {
3021
- type: string;
3022
- text?: string | undefined;
3023
- ts?: string | undefined;
3024
- username?: string | undefined;
3025
- attachments?: unknown[] | undefined;
3026
- blocks?: unknown[] | undefined;
3027
- thread_ts?: string | undefined;
3028
- user?: string | undefined;
3029
- bot_id?: string | undefined;
3030
- bot_profile?: {
3031
- name?: string | undefined;
3032
- } | undefined;
3033
- parent_user_id?: string | undefined;
3034
- reply_count?: number | undefined;
3035
- reply_users_count?: number | undefined;
3036
- latest_reply?: string | undefined;
3037
- reply_users?: string[] | undefined;
3038
- is_locked?: boolean | undefined;
3039
- subscribed?: boolean | undefined;
3040
- reactions?: {
3041
- name: string;
3042
- users: string[];
3043
- count: number;
3044
- }[] | undefined;
3045
- }[] | undefined;
3046
- has_more?: boolean | undefined;
3047
- }>, z.ZodObject<{
3048
- operation: z.ZodLiteral<"get_thread_replies">;
3049
- ok: z.ZodBoolean;
3050
- messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
3051
- type: z.ZodString;
3052
- ts: z.ZodOptional<z.ZodString>;
3053
- user: z.ZodOptional<z.ZodString>;
3054
- bot_id: z.ZodOptional<z.ZodString>;
3055
- bot_profile: z.ZodOptional<z.ZodObject<{
3056
- name: z.ZodOptional<z.ZodString>;
3057
- }, "strip", z.ZodTypeAny, {
3058
- name?: string | undefined;
3059
- }, {
3060
- name?: string | undefined;
3061
- }>>;
3062
- username: z.ZodOptional<z.ZodString>;
3063
- text: z.ZodOptional<z.ZodString>;
3064
- thread_ts: z.ZodOptional<z.ZodString>;
3065
- parent_user_id: z.ZodOptional<z.ZodString>;
3066
- reply_count: z.ZodOptional<z.ZodNumber>;
3067
- reply_users_count: z.ZodOptional<z.ZodNumber>;
3068
- latest_reply: z.ZodOptional<z.ZodString>;
3069
- reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3070
- is_locked: z.ZodOptional<z.ZodBoolean>;
3071
- subscribed: z.ZodOptional<z.ZodBoolean>;
3072
- attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
3073
- blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
3074
- reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3075
- name: z.ZodString;
3076
- users: z.ZodArray<z.ZodString, "many">;
3077
- count: z.ZodNumber;
3078
- }, "strip", z.ZodTypeAny, {
3079
- name: string;
3080
- users: string[];
3081
- count: number;
3082
- }, {
3083
- name: string;
3084
- users: string[];
3085
- count: number;
3086
- }>, "many">>;
3087
- }, "strip", z.ZodTypeAny, {
3088
- type: string;
3089
- text?: string | undefined;
3090
- ts?: string | undefined;
3091
- username?: string | undefined;
3092
- attachments?: unknown[] | undefined;
3093
- blocks?: unknown[] | undefined;
3094
- thread_ts?: string | undefined;
3095
- user?: string | undefined;
3096
- bot_id?: string | undefined;
3097
- bot_profile?: {
3098
- name?: string | undefined;
3099
- } | undefined;
3100
- parent_user_id?: string | undefined;
3101
- reply_count?: number | undefined;
3102
- reply_users_count?: number | undefined;
3103
- latest_reply?: string | undefined;
3104
- reply_users?: string[] | undefined;
3105
- is_locked?: boolean | undefined;
3106
- subscribed?: boolean | undefined;
3107
- reactions?: {
3108
- name: string;
3109
- users: string[];
3110
- count: number;
3111
- }[] | undefined;
3112
- }, {
3113
- type: string;
3114
- text?: string | undefined;
3115
- ts?: string | undefined;
3116
- username?: string | undefined;
3117
- attachments?: unknown[] | undefined;
3118
- blocks?: unknown[] | undefined;
3119
- thread_ts?: string | undefined;
3120
- user?: string | undefined;
3121
- bot_id?: string | undefined;
3122
- bot_profile?: {
3123
- name?: string | undefined;
3124
- } | undefined;
3125
- parent_user_id?: string | undefined;
3126
- reply_count?: number | undefined;
3127
- reply_users_count?: number | undefined;
3128
- latest_reply?: string | undefined;
3129
- reply_users?: string[] | undefined;
3130
- is_locked?: boolean | undefined;
3131
- subscribed?: boolean | undefined;
3132
- reactions?: {
3133
- name: string;
3134
- users: string[];
3135
- count: number;
3136
- }[] | undefined;
3137
- }>, "many">>;
3138
- has_more: z.ZodOptional<z.ZodBoolean>;
3139
- response_metadata: z.ZodOptional<z.ZodObject<{
3140
- next_cursor: z.ZodString;
3141
- }, "strip", z.ZodTypeAny, {
3142
- next_cursor: string;
3143
- }, {
3144
- next_cursor: string;
3145
- }>>;
3146
- error: z.ZodString;
3147
- success: z.ZodBoolean;
3148
- }, "strip", z.ZodTypeAny, {
3149
- operation: "get_thread_replies";
3150
- ok: boolean;
3151
- error: string;
3152
- success: boolean;
3153
- response_metadata?: {
3154
- next_cursor: string;
3155
- } | undefined;
3156
- messages?: {
3157
- type: string;
3158
- text?: string | undefined;
3159
- ts?: string | undefined;
3160
- username?: string | undefined;
3161
- attachments?: unknown[] | undefined;
3162
- blocks?: unknown[] | undefined;
3163
- thread_ts?: string | undefined;
3164
- user?: string | undefined;
3165
- bot_id?: string | undefined;
3166
- bot_profile?: {
3167
- name?: string | undefined;
3168
- } | undefined;
3169
- parent_user_id?: string | undefined;
3170
- reply_count?: number | undefined;
3171
- reply_users_count?: number | undefined;
3172
- latest_reply?: string | undefined;
3173
- reply_users?: string[] | undefined;
3174
- is_locked?: boolean | undefined;
3175
- subscribed?: boolean | undefined;
3176
- reactions?: {
3177
- name: string;
3178
- users: string[];
3179
- count: number;
3180
- }[] | undefined;
3181
- }[] | undefined;
3182
- has_more?: boolean | undefined;
3183
- }, {
3184
- operation: "get_thread_replies";
3185
- ok: boolean;
3186
- error: string;
3187
- success: boolean;
3188
- response_metadata?: {
3189
- next_cursor: string;
3190
- } | undefined;
3191
- messages?: {
3192
- type: string;
3193
- text?: string | undefined;
3194
- ts?: string | undefined;
3195
- username?: string | undefined;
3196
- attachments?: unknown[] | undefined;
3197
- blocks?: unknown[] | undefined;
3198
- thread_ts?: string | undefined;
3199
- user?: string | undefined;
3200
- bot_id?: string | undefined;
3201
- bot_profile?: {
3202
- name?: string | undefined;
3203
- } | undefined;
3204
- parent_user_id?: string | undefined;
3205
- reply_count?: number | undefined;
3206
- reply_users_count?: number | undefined;
3207
- latest_reply?: string | undefined;
3208
- reply_users?: string[] | undefined;
3209
- is_locked?: boolean | undefined;
3210
- subscribed?: boolean | undefined;
3211
- reactions?: {
3212
- name: string;
3213
- users: string[];
3214
- count: number;
3215
- }[] | undefined;
3216
- }[] | undefined;
3217
- has_more?: boolean | undefined;
3218
- }>, z.ZodObject<{
3219
- operation: z.ZodLiteral<"update_message">;
3220
- ok: z.ZodBoolean;
3221
- channel: z.ZodOptional<z.ZodString>;
3222
- ts: z.ZodOptional<z.ZodString>;
3223
- text: z.ZodOptional<z.ZodString>;
3224
- message: z.ZodOptional<z.ZodObject<{
3225
- type: z.ZodString;
3226
- ts: z.ZodOptional<z.ZodString>;
3227
- user: z.ZodOptional<z.ZodString>;
3228
- bot_id: z.ZodOptional<z.ZodString>;
3229
- bot_profile: z.ZodOptional<z.ZodObject<{
3230
- name: z.ZodOptional<z.ZodString>;
3231
- }, "strip", z.ZodTypeAny, {
3232
- name?: string | undefined;
3233
- }, {
3234
- name?: string | undefined;
3235
- }>>;
3236
- username: z.ZodOptional<z.ZodString>;
3237
- text: z.ZodOptional<z.ZodString>;
3238
- thread_ts: z.ZodOptional<z.ZodString>;
3239
- parent_user_id: z.ZodOptional<z.ZodString>;
3240
- reply_count: z.ZodOptional<z.ZodNumber>;
3241
- reply_users_count: z.ZodOptional<z.ZodNumber>;
3242
- latest_reply: z.ZodOptional<z.ZodString>;
3243
- reply_users: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3244
- is_locked: z.ZodOptional<z.ZodBoolean>;
3245
- subscribed: z.ZodOptional<z.ZodBoolean>;
3246
- attachments: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
3247
- blocks: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
3248
- reactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
3249
- name: z.ZodString;
3250
- users: z.ZodArray<z.ZodString, "many">;
3251
- count: z.ZodNumber;
3252
- }, "strip", z.ZodTypeAny, {
3253
- name: string;
3254
- users: string[];
3255
- count: number;
3256
- }, {
3257
- name: string;
3258
- users: string[];
3259
- count: number;
3260
- }>, "many">>;
3261
- }, "strip", z.ZodTypeAny, {
3262
- type: string;
3263
- text?: string | undefined;
3264
- ts?: string | undefined;
3265
- username?: string | undefined;
3266
- attachments?: unknown[] | undefined;
3267
- blocks?: unknown[] | undefined;
3268
- thread_ts?: string | undefined;
3269
- user?: string | undefined;
3270
- bot_id?: string | undefined;
3271
- bot_profile?: {
3272
- name?: string | undefined;
3273
- } | undefined;
3274
- parent_user_id?: string | undefined;
3275
- reply_count?: number | undefined;
3276
- reply_users_count?: number | undefined;
3277
- latest_reply?: string | undefined;
3278
- reply_users?: string[] | undefined;
3279
- is_locked?: boolean | undefined;
3280
- subscribed?: boolean | undefined;
3281
- reactions?: {
3282
- name: string;
3283
- users: string[];
3284
- count: number;
3285
- }[] | undefined;
3286
- }, {
3287
- type: string;
3288
- text?: string | undefined;
3289
- ts?: string | undefined;
3290
- username?: string | undefined;
3291
- attachments?: unknown[] | undefined;
3292
- blocks?: unknown[] | undefined;
3293
- thread_ts?: string | undefined;
3294
- user?: string | undefined;
3295
- bot_id?: string | undefined;
3296
- bot_profile?: {
3297
- name?: string | undefined;
3298
- } | undefined;
3299
- parent_user_id?: string | undefined;
3300
- reply_count?: number | undefined;
3301
- reply_users_count?: number | undefined;
3302
- latest_reply?: string | undefined;
3303
- reply_users?: string[] | undefined;
3304
- is_locked?: boolean | undefined;
3305
- subscribed?: boolean | undefined;
3306
- reactions?: {
3307
- name: string;
3308
- users: string[];
3309
- count: number;
3310
- }[] | undefined;
3311
- }>>;
3312
- error: z.ZodString;
3313
- success: z.ZodBoolean;
3314
- }, "strip", z.ZodTypeAny, {
3315
- operation: "update_message";
3316
- ok: boolean;
3317
- error: string;
3318
- success: boolean;
3319
- text?: string | undefined;
3320
- message?: {
3321
- type: string;
3322
- text?: string | undefined;
3323
- ts?: string | undefined;
3324
- username?: string | undefined;
3325
- attachments?: unknown[] | undefined;
3326
- blocks?: unknown[] | undefined;
3327
- thread_ts?: string | undefined;
3328
- user?: string | undefined;
3329
- bot_id?: string | undefined;
3330
- bot_profile?: {
3331
- name?: string | undefined;
3332
- } | undefined;
3333
- parent_user_id?: string | undefined;
3334
- reply_count?: number | undefined;
3335
- reply_users_count?: number | undefined;
3336
- latest_reply?: string | undefined;
3337
- reply_users?: string[] | undefined;
3338
- is_locked?: boolean | undefined;
3339
- subscribed?: boolean | undefined;
3340
- reactions?: {
3341
- name: string;
3342
- users: string[];
3343
- count: number;
3344
- }[] | undefined;
3345
- } | undefined;
3346
- ts?: string | undefined;
3347
- channel?: string | undefined;
3348
- }, {
3349
- operation: "update_message";
3350
- ok: boolean;
3351
- error: string;
3352
- success: boolean;
3353
- text?: string | undefined;
3354
- message?: {
3355
- type: string;
3356
- text?: string | undefined;
3357
- ts?: string | undefined;
3358
- username?: string | undefined;
3359
- attachments?: unknown[] | undefined;
3360
- blocks?: unknown[] | undefined;
3361
- thread_ts?: string | undefined;
3362
- user?: string | undefined;
3363
- bot_id?: string | undefined;
3364
- bot_profile?: {
3365
- name?: string | undefined;
3366
- } | undefined;
3367
- parent_user_id?: string | undefined;
3368
- reply_count?: number | undefined;
3369
- reply_users_count?: number | undefined;
3370
- latest_reply?: string | undefined;
3371
- reply_users?: string[] | undefined;
3372
- is_locked?: boolean | undefined;
3373
- subscribed?: boolean | undefined;
3374
- reactions?: {
3375
- name: string;
3376
- users: string[];
3377
- count: number;
3378
- }[] | undefined;
3379
- } | undefined;
3380
- ts?: string | undefined;
3381
- channel?: string | undefined;
3382
- }>, z.ZodObject<{
3383
- operation: z.ZodLiteral<"delete_message">;
3384
- ok: z.ZodBoolean;
3385
- channel: z.ZodOptional<z.ZodString>;
3386
- ts: z.ZodOptional<z.ZodString>;
3387
- error: z.ZodString;
3388
- success: z.ZodBoolean;
3389
- }, "strip", z.ZodTypeAny, {
3390
- operation: "delete_message";
3391
- ok: boolean;
3392
- error: string;
3393
- success: boolean;
3394
- ts?: string | undefined;
3395
- channel?: string | undefined;
3396
- }, {
3397
- operation: "delete_message";
3398
- ok: boolean;
3399
- error: string;
3400
- success: boolean;
3401
- ts?: string | undefined;
3402
- channel?: string | undefined;
3403
- }>, z.ZodObject<{
3404
- operation: z.ZodLiteral<"add_reaction">;
3405
- ok: z.ZodBoolean;
3406
- error: z.ZodString;
3407
- success: z.ZodBoolean;
3408
- }, "strip", z.ZodTypeAny, {
3409
- operation: "add_reaction";
3410
- ok: boolean;
3411
- error: string;
3412
- success: boolean;
3413
- }, {
3414
- operation: "add_reaction";
3415
- ok: boolean;
3416
- error: string;
3417
- success: boolean;
3418
- }>, z.ZodObject<{
3419
- operation: z.ZodLiteral<"remove_reaction">;
3420
- ok: z.ZodBoolean;
3421
- error: z.ZodString;
3422
- success: z.ZodBoolean;
3423
- }, "strip", z.ZodTypeAny, {
3424
- operation: "remove_reaction";
3425
- ok: boolean;
3426
- error: string;
3427
- success: boolean;
3428
- }, {
3429
- operation: "remove_reaction";
3430
- ok: boolean;
3431
- error: string;
3432
- success: boolean;
3433
- }>, z.ZodObject<{
3434
- operation: z.ZodLiteral<"join_channel">;
3435
- ok: z.ZodBoolean;
3436
- channel: z.ZodOptional<z.ZodObject<{
3437
- id: z.ZodString;
3438
- name: z.ZodString;
3439
- is_channel: z.ZodOptional<z.ZodBoolean>;
3440
- is_group: z.ZodOptional<z.ZodBoolean>;
3441
- is_im: z.ZodOptional<z.ZodBoolean>;
3442
- is_mpim: z.ZodOptional<z.ZodBoolean>;
3443
- is_private: z.ZodOptional<z.ZodBoolean>;
3444
- created: z.ZodNumber;
3445
- is_archived: z.ZodBoolean;
3446
- is_general: z.ZodOptional<z.ZodBoolean>;
3447
- unlinked: z.ZodOptional<z.ZodNumber>;
3448
- name_normalized: z.ZodOptional<z.ZodString>;
3449
- is_shared: z.ZodOptional<z.ZodBoolean>;
3450
- is_ext_shared: z.ZodOptional<z.ZodBoolean>;
3451
- is_org_shared: z.ZodOptional<z.ZodBoolean>;
3452
- shared_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3453
- pending_shared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3454
- pending_connected_team_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3455
- is_pending_ext_shared: z.ZodOptional<z.ZodBoolean>;
3456
- is_member: z.ZodOptional<z.ZodBoolean>;
3457
- is_open: z.ZodOptional<z.ZodBoolean>;
3458
- topic: z.ZodOptional<z.ZodObject<{
3459
- value: z.ZodString;
3460
- creator: z.ZodString;
3461
- last_set: z.ZodNumber;
3462
- }, "strip", z.ZodTypeAny, {
3463
- value: string;
3464
- creator: string;
3465
- last_set: number;
3466
- }, {
3467
- value: string;
3468
- creator: string;
3469
- last_set: number;
3470
- }>>;
3471
- purpose: z.ZodOptional<z.ZodObject<{
3472
- value: z.ZodString;
3473
- creator: z.ZodString;
3474
- last_set: z.ZodNumber;
3475
- }, "strip", z.ZodTypeAny, {
3476
- value: string;
3477
- creator: string;
3478
- last_set: number;
3479
- }, {
3480
- value: string;
3481
- creator: string;
3482
- last_set: number;
3483
- }>>;
3484
- num_members: z.ZodOptional<z.ZodNumber>;
3485
- }, "strip", z.ZodTypeAny, {
3486
- name: string;
3487
- id: string;
3488
- created: number;
3489
- is_archived: boolean;
3490
- is_channel?: boolean | undefined;
3491
- is_group?: boolean | undefined;
3492
- is_im?: boolean | undefined;
3493
- is_mpim?: boolean | undefined;
3494
- is_private?: boolean | undefined;
3495
- is_general?: boolean | undefined;
3496
- unlinked?: number | undefined;
3497
- name_normalized?: string | undefined;
3498
- is_shared?: boolean | undefined;
3499
- is_ext_shared?: boolean | undefined;
3500
- is_org_shared?: boolean | undefined;
3501
- shared_team_ids?: string[] | undefined;
3502
- pending_shared?: string[] | undefined;
3503
- pending_connected_team_ids?: string[] | undefined;
3504
- is_pending_ext_shared?: boolean | undefined;
3505
- is_member?: boolean | undefined;
3506
- is_open?: boolean | undefined;
3507
- topic?: {
3508
- value: string;
3509
- creator: string;
3510
- last_set: number;
3511
- } | undefined;
3512
- purpose?: {
3513
- value: string;
3514
- creator: string;
3515
- last_set: number;
3516
- } | undefined;
3517
- num_members?: number | undefined;
3518
- }, {
3519
- name: string;
3520
- id: string;
3521
- created: number;
3522
- is_archived: boolean;
3523
- is_channel?: boolean | undefined;
3524
- is_group?: boolean | undefined;
3525
- is_im?: boolean | undefined;
3526
- is_mpim?: boolean | undefined;
3527
- is_private?: boolean | undefined;
3528
- is_general?: boolean | undefined;
3529
- unlinked?: number | undefined;
3530
- name_normalized?: string | undefined;
3531
- is_shared?: boolean | undefined;
3532
- is_ext_shared?: boolean | undefined;
3533
- is_org_shared?: boolean | undefined;
3534
- shared_team_ids?: string[] | undefined;
3535
- pending_shared?: string[] | undefined;
3536
- pending_connected_team_ids?: string[] | undefined;
3537
- is_pending_ext_shared?: boolean | undefined;
3538
- is_member?: boolean | undefined;
3539
- is_open?: boolean | undefined;
3540
- topic?: {
3541
- value: string;
3542
- creator: string;
3543
- last_set: number;
3544
- } | undefined;
3545
- purpose?: {
3546
- value: string;
3547
- creator: string;
3548
- last_set: number;
3549
- } | undefined;
3550
- num_members?: number | undefined;
3551
- }>>;
3552
- already_in_channel: z.ZodOptional<z.ZodBoolean>;
3553
- error: z.ZodString;
3554
- success: z.ZodBoolean;
3555
- }, "strip", z.ZodTypeAny, {
3556
- operation: "join_channel";
3557
- ok: boolean;
3558
- error: string;
3559
- success: boolean;
3560
- channel?: {
3561
- name: string;
3562
- id: string;
3563
- created: number;
3564
- is_archived: boolean;
3565
- is_channel?: boolean | undefined;
3566
- is_group?: boolean | undefined;
3567
- is_im?: boolean | undefined;
3568
- is_mpim?: boolean | undefined;
3569
- is_private?: boolean | undefined;
3570
- is_general?: boolean | undefined;
3571
- unlinked?: number | undefined;
3572
- name_normalized?: string | undefined;
3573
- is_shared?: boolean | undefined;
3574
- is_ext_shared?: boolean | undefined;
3575
- is_org_shared?: boolean | undefined;
3576
- shared_team_ids?: string[] | undefined;
3577
- pending_shared?: string[] | undefined;
3578
- pending_connected_team_ids?: string[] | undefined;
3579
- is_pending_ext_shared?: boolean | undefined;
3580
- is_member?: boolean | undefined;
3581
- is_open?: boolean | undefined;
3582
- topic?: {
3583
- value: string;
3584
- creator: string;
3585
- last_set: number;
3586
- } | undefined;
3587
- purpose?: {
3588
- value: string;
3589
- creator: string;
3590
- last_set: number;
3591
- } | undefined;
3592
- num_members?: number | undefined;
3593
- } | undefined;
3594
- already_in_channel?: boolean | undefined;
3595
- }, {
3596
- operation: "join_channel";
3597
- ok: boolean;
3598
- error: string;
3599
- success: boolean;
3600
- channel?: {
3601
- name: string;
3602
- id: string;
3603
- created: number;
3604
- is_archived: boolean;
3605
- is_channel?: boolean | undefined;
3606
- is_group?: boolean | undefined;
3607
- is_im?: boolean | undefined;
3608
- is_mpim?: boolean | undefined;
3609
- is_private?: boolean | undefined;
3610
- is_general?: boolean | undefined;
3611
- unlinked?: number | undefined;
3612
- name_normalized?: string | undefined;
3613
- is_shared?: boolean | undefined;
3614
- is_ext_shared?: boolean | undefined;
3615
- is_org_shared?: boolean | undefined;
3616
- shared_team_ids?: string[] | undefined;
3617
- pending_shared?: string[] | undefined;
3618
- pending_connected_team_ids?: string[] | undefined;
3619
- is_pending_ext_shared?: boolean | undefined;
3620
- is_member?: boolean | undefined;
3621
- is_open?: boolean | undefined;
3622
- topic?: {
3623
- value: string;
3624
- creator: string;
3625
- last_set: number;
3626
- } | undefined;
3627
- purpose?: {
3628
- value: string;
3629
- creator: string;
3630
- last_set: number;
3631
- } | undefined;
3632
- num_members?: number | undefined;
3633
- } | undefined;
3634
- already_in_channel?: boolean | undefined;
3635
- }>, z.ZodObject<{
3636
- operation: z.ZodLiteral<"upload_file">;
3637
- ok: z.ZodBoolean;
3638
- file: z.ZodOptional<z.ZodObject<{
3639
- id: z.ZodString;
3640
- created: z.ZodNumber;
3641
- timestamp: z.ZodNumber;
3642
- name: z.ZodString;
3643
- title: z.ZodOptional<z.ZodString>;
3644
- mimetype: z.ZodString;
3645
- filetype: z.ZodString;
3646
- pretty_type: z.ZodString;
3647
- user: z.ZodString;
3648
- editable: z.ZodBoolean;
3649
- size: z.ZodNumber;
3650
- mode: z.ZodString;
3651
- is_external: z.ZodBoolean;
3652
- external_type: z.ZodString;
3653
- is_public: z.ZodBoolean;
3654
- public_url_shared: z.ZodBoolean;
3655
- display_as_bot: z.ZodBoolean;
3656
- username: z.ZodString;
3657
- url_private: z.ZodString;
3658
- url_private_download: z.ZodString;
3659
- permalink: z.ZodString;
3660
- permalink_public: z.ZodOptional<z.ZodString>;
3661
- shares: z.ZodOptional<z.ZodObject<{
3662
- public: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
3663
- reply_users: z.ZodArray<z.ZodString, "many">;
3664
- reply_users_count: z.ZodNumber;
3665
- reply_count: z.ZodNumber;
3666
- ts: z.ZodString;
3667
- channel_name: z.ZodString;
3668
- team_id: z.ZodString;
3669
- }, "strip", z.ZodTypeAny, {
3670
- ts: string;
3671
- team_id: string;
3672
- reply_count: number;
3673
- reply_users_count: number;
3674
- reply_users: string[];
3675
- channel_name: string;
3676
- }, {
3677
- ts: string;
3678
- team_id: string;
3679
- reply_count: number;
3680
- reply_users_count: number;
3681
- reply_users: string[];
3682
- channel_name: string;
3683
- }>, "many">>>;
3684
- private: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
3685
- reply_users: z.ZodArray<z.ZodString, "many">;
3686
- reply_users_count: z.ZodNumber;
3687
- reply_count: z.ZodNumber;
3688
- ts: z.ZodString;
3689
- channel_name: z.ZodString;
3690
- team_id: z.ZodString;
3691
- }, "strip", z.ZodTypeAny, {
3692
- ts: string;
3693
- team_id: string;
3694
- reply_count: number;
3695
- reply_users_count: number;
3696
- reply_users: string[];
3697
- channel_name: string;
3698
- }, {
3699
- ts: string;
3700
- team_id: string;
3701
- reply_count: number;
3702
- reply_users_count: number;
3703
- reply_users: string[];
3704
- channel_name: string;
3705
- }>, "many">>>;
3706
- }, "strip", z.ZodTypeAny, {
3707
- public?: Record<string, {
3708
- ts: string;
3709
- team_id: string;
3710
- reply_count: number;
3711
- reply_users_count: number;
3712
- reply_users: string[];
3713
- channel_name: string;
3714
- }[]> | undefined;
3715
- private?: Record<string, {
3716
- ts: string;
3717
- team_id: string;
3718
- reply_count: number;
3719
- reply_users_count: number;
3720
- reply_users: string[];
3721
- channel_name: string;
3722
- }[]> | undefined;
3723
- }, {
3724
- public?: Record<string, {
3725
- ts: string;
3726
- team_id: string;
3727
- reply_count: number;
3728
- reply_users_count: number;
3729
- reply_users: string[];
3730
- channel_name: string;
3731
- }[]> | undefined;
3732
- private?: Record<string, {
3733
- ts: string;
3734
- team_id: string;
3735
- reply_count: number;
3736
- reply_users_count: number;
3737
- reply_users: string[];
3738
- channel_name: string;
3739
- }[]> | undefined;
3740
- }>>;
3741
- channels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3742
- groups: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3743
- ims: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3744
- has_rich_preview: z.ZodOptional<z.ZodBoolean>;
3745
- }, "strip", z.ZodTypeAny, {
3746
- name: string;
3747
- username: string;
3748
- user: string;
3749
- timestamp: number;
3750
- id: string;
3751
- created: number;
3752
- mimetype: string;
3753
- filetype: string;
3754
- pretty_type: string;
3755
- editable: boolean;
3756
- size: number;
3757
- mode: string;
3758
- is_external: boolean;
3759
- external_type: string;
3760
- is_public: boolean;
3761
- public_url_shared: boolean;
3762
- display_as_bot: boolean;
3763
- url_private: string;
3764
- url_private_download: string;
3765
- permalink: string;
3766
- title?: string | undefined;
3767
- channels?: string[] | undefined;
3768
- permalink_public?: string | undefined;
3769
- shares?: {
3770
- public?: Record<string, {
3771
- ts: string;
3772
- team_id: string;
3773
- reply_count: number;
3774
- reply_users_count: number;
3775
- reply_users: string[];
3776
- channel_name: string;
3777
- }[]> | undefined;
3778
- private?: Record<string, {
3779
- ts: string;
3780
- team_id: string;
3781
- reply_count: number;
3782
- reply_users_count: number;
3783
- reply_users: string[];
3784
- channel_name: string;
3785
- }[]> | undefined;
3786
- } | undefined;
3787
- groups?: string[] | undefined;
3788
- ims?: string[] | undefined;
3789
- has_rich_preview?: boolean | undefined;
3790
- }, {
3791
- name: string;
3792
- username: string;
3793
- user: string;
3794
- timestamp: number;
3795
- id: string;
3796
- created: number;
3797
- mimetype: string;
3798
- filetype: string;
3799
- pretty_type: string;
3800
- editable: boolean;
3801
- size: number;
3802
- mode: string;
3803
- is_external: boolean;
3804
- external_type: string;
3805
- is_public: boolean;
3806
- public_url_shared: boolean;
3807
- display_as_bot: boolean;
3808
- url_private: string;
3809
- url_private_download: string;
3810
- permalink: string;
3811
- title?: string | undefined;
3812
- channels?: string[] | undefined;
3813
- permalink_public?: string | undefined;
3814
- shares?: {
3815
- public?: Record<string, {
3816
- ts: string;
3817
- team_id: string;
3818
- reply_count: number;
3819
- reply_users_count: number;
3820
- reply_users: string[];
3821
- channel_name: string;
3822
- }[]> | undefined;
3823
- private?: Record<string, {
3824
- ts: string;
3825
- team_id: string;
3826
- reply_count: number;
3827
- reply_users_count: number;
3828
- reply_users: string[];
3829
- channel_name: string;
3830
- }[]> | undefined;
3831
- } | undefined;
3832
- groups?: string[] | undefined;
3833
- ims?: string[] | undefined;
3834
- has_rich_preview?: boolean | undefined;
3835
- }>>;
3836
- error: z.ZodString;
3837
- success: z.ZodBoolean;
3838
- }, "strip", z.ZodTypeAny, {
3839
- operation: "upload_file";
3840
- ok: boolean;
3841
- error: string;
3842
- success: boolean;
3843
- file?: {
3844
- name: string;
3845
- username: string;
3846
- user: string;
3847
- timestamp: number;
3848
- id: string;
3849
- created: number;
3850
- mimetype: string;
3851
- filetype: string;
3852
- pretty_type: string;
3853
- editable: boolean;
3854
- size: number;
3855
- mode: string;
3856
- is_external: boolean;
3857
- external_type: string;
3858
- is_public: boolean;
3859
- public_url_shared: boolean;
3860
- display_as_bot: boolean;
3861
- url_private: string;
3862
- url_private_download: string;
3863
- permalink: string;
3864
- title?: string | undefined;
3865
- channels?: string[] | undefined;
3866
- permalink_public?: string | undefined;
3867
- shares?: {
3868
- public?: Record<string, {
3869
- ts: string;
3870
- team_id: string;
3871
- reply_count: number;
3872
- reply_users_count: number;
3873
- reply_users: string[];
3874
- channel_name: string;
3875
- }[]> | undefined;
3876
- private?: Record<string, {
3877
- ts: string;
3878
- team_id: string;
3879
- reply_count: number;
3880
- reply_users_count: number;
3881
- reply_users: string[];
3882
- channel_name: string;
3883
- }[]> | undefined;
3884
- } | undefined;
3885
- groups?: string[] | undefined;
3886
- ims?: string[] | undefined;
3887
- has_rich_preview?: boolean | undefined;
3888
- } | undefined;
3889
- }, {
3890
- operation: "upload_file";
3891
- ok: boolean;
3892
- error: string;
3893
- success: boolean;
3894
- file?: {
3895
- name: string;
3896
- username: string;
3897
- user: string;
3898
- timestamp: number;
3899
- id: string;
3900
- created: number;
3901
- mimetype: string;
3902
- filetype: string;
3903
- pretty_type: string;
3904
- editable: boolean;
3905
- size: number;
3906
- mode: string;
3907
- is_external: boolean;
3908
- external_type: string;
3909
- is_public: boolean;
3910
- public_url_shared: boolean;
3911
- display_as_bot: boolean;
3912
- url_private: string;
3913
- url_private_download: string;
3914
- permalink: string;
3915
- title?: string | undefined;
3916
- channels?: string[] | undefined;
3917
- permalink_public?: string | undefined;
3918
- shares?: {
3919
- public?: Record<string, {
3920
- ts: string;
3921
- team_id: string;
3922
- reply_count: number;
3923
- reply_users_count: number;
3924
- reply_users: string[];
3925
- channel_name: string;
3926
- }[]> | undefined;
3927
- private?: Record<string, {
3928
- ts: string;
3929
- team_id: string;
3930
- reply_count: number;
3931
- reply_users_count: number;
3932
- reply_users: string[];
3933
- channel_name: string;
3934
- }[]> | undefined;
3935
- } | undefined;
3936
- groups?: string[] | undefined;
3937
- ims?: string[] | undefined;
3938
- has_rich_preview?: boolean | undefined;
3939
- } | undefined;
3940
- }>, z.ZodObject<{
3941
- operation: z.ZodLiteral<"schedule_message">;
3942
- ok: z.ZodBoolean;
3943
- channel: z.ZodOptional<z.ZodString>;
3944
- scheduled_message_id: z.ZodOptional<z.ZodString>;
3945
- post_at: z.ZodOptional<z.ZodNumber>;
3946
- error: z.ZodString;
3947
- success: z.ZodBoolean;
3948
- }, "strip", z.ZodTypeAny, {
3949
- operation: "schedule_message";
3950
- ok: boolean;
3951
- error: string;
3952
- success: boolean;
3953
- channel?: string | undefined;
3954
- post_at?: number | undefined;
3955
- scheduled_message_id?: string | undefined;
3956
- }, {
3957
- operation: "schedule_message";
3958
- ok: boolean;
3959
- error: string;
3960
- success: boolean;
3961
- channel?: string | undefined;
3962
- post_at?: number | undefined;
3963
- scheduled_message_id?: string | undefined;
3964
- }>]>;
3965
- export type SlackParamsInput = z.input<typeof SlackParamsSchema>;
3966
- export type SlackParams = z.output<typeof SlackParamsSchema>;
3967
- export type SlackResult = z.output<typeof SlackResultSchema>;
3968
- export interface SlackApiError {
3969
- ok: false;
3970
- error: string;
3971
- response_metadata?: {
3972
- warnings?: string[];
3973
- messages?: string[];
3974
- };
3975
- }
3976
- export interface SlackApiResponse {
3977
- ok: true;
3978
- [key: string]: unknown;
3979
- }
3980
- //# sourceMappingURL=slack.schema.d.ts.map