@alter-ai/slack 0.0.0-stage → 0.1.2

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.
package/dist/index.cjs ADDED
@@ -0,0 +1,4314 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ IntegrationCall: () => IntegrationCall,
24
+ IntegrationResult: () => IntegrationResult,
25
+ SlackApi: () => SlackApi,
26
+ SlackAuth: () => SlackAuth,
27
+ SlackBots: () => SlackBots,
28
+ SlackCalls: () => SlackCalls,
29
+ SlackCallsParticipants: () => SlackCallsParticipants,
30
+ SlackChat: () => SlackChat,
31
+ SlackChatScheduledMessages: () => SlackChatScheduledMessages,
32
+ SlackConversations: () => SlackConversations,
33
+ SlackDialog: () => SlackDialog,
34
+ SlackDnd: () => SlackDnd,
35
+ SlackEmoji: () => SlackEmoji,
36
+ SlackFiles: () => SlackFiles,
37
+ SlackFilesComments: () => SlackFilesComments,
38
+ SlackFilesRemote: () => SlackFilesRemote,
39
+ SlackIntegration: () => SlackIntegration,
40
+ SlackMigration: () => SlackMigration,
41
+ SlackPins: () => SlackPins,
42
+ SlackReactions: () => SlackReactions,
43
+ SlackTeam: () => SlackTeam,
44
+ SlackTeamProfile: () => SlackTeamProfile,
45
+ SlackUsergroups: () => SlackUsergroups,
46
+ SlackUsergroupsUsers: () => SlackUsergroupsUsers,
47
+ SlackUsers: () => SlackUsers,
48
+ SlackUsersProfile: () => SlackUsersProfile,
49
+ SlackViews: () => SlackViews,
50
+ contractVersion: () => contractVersion
51
+ });
52
+ module.exports = __toCommonJS(index_exports);
53
+
54
+ // src/runtime.ts
55
+ var import_sdk2 = require("@alter-ai/sdk");
56
+
57
+ // src/contracts.ts
58
+ var import_zod = require("zod");
59
+ var import_sdk = require("@alter-ai/sdk");
60
+ var outputVersion = "2026-10-28";
61
+ var cachedOutputs;
62
+ function getOutputs() {
63
+ if (cachedOutputs) return cachedOutputs;
64
+ const definitions = {};
65
+ definitions["Outputdefs_ok_true"] = import_zod.z.intersection(
66
+ import_zod.z.boolean(),
67
+ import_zod.z.literal(true)
68
+ );
69
+ definitions["Outputdefs_bot_id"] = import_zod.z.string();
70
+ definitions["Outputdefs_team"] = import_zod.z.string();
71
+ definitions["Outputdefs_user_id"] = import_zod.z.string();
72
+ definitions["Outputdefs_app_id"] = import_zod.z.string();
73
+ definitions["Outputdefs_channel"] = import_zod.z.string();
74
+ definitions["Outputdefs_ts"] = import_zod.z.string();
75
+ definitions["Outputobjs_message"] = import_zod.z.object({
76
+ attachments: import_zod.z.array(
77
+ import_zod.z.object({
78
+ fallback: import_zod.z.string().optional(),
79
+ id: import_zod.z.union([
80
+ import_zod.z.number().int(),
81
+ import_zod.z.string().regex(
82
+ new RegExp(
83
+ "^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"
84
+ )
85
+ )
86
+ ]).optional(),
87
+ image_bytes: import_zod.z.union([
88
+ import_zod.z.number().int(),
89
+ import_zod.z.string().regex(
90
+ new RegExp(
91
+ "^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"
92
+ )
93
+ )
94
+ ]).optional(),
95
+ image_height: import_zod.z.union([
96
+ import_zod.z.number().int(),
97
+ import_zod.z.string().regex(
98
+ new RegExp(
99
+ "^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"
100
+ )
101
+ )
102
+ ]).optional(),
103
+ image_url: import_zod.z.string().optional(),
104
+ image_width: import_zod.z.union([
105
+ import_zod.z.number().int(),
106
+ import_zod.z.string().regex(
107
+ new RegExp(
108
+ "^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"
109
+ )
110
+ )
111
+ ]).optional()
112
+ }).passthrough()
113
+ ).optional(),
114
+ blocks: import_zod.z.lazy(() => definitions["Outputblocks"]).optional(),
115
+ bot_id: import_zod.z.union([import_zod.z.lazy(() => definitions["Outputdefs_bot_id"]), import_zod.z.null()]).optional(),
116
+ bot_profile: import_zod.z.lazy(() => definitions["Outputobjs_bot_profile"]).optional(),
117
+ client_msg_id: import_zod.z.string().optional(),
118
+ comment: import_zod.z.lazy(() => definitions["Outputobjs_comment"]).optional(),
119
+ display_as_bot: import_zod.z.boolean().optional(),
120
+ file: import_zod.z.lazy(() => definitions["Outputobjs_file"]).optional(),
121
+ files: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputobjs_file"])).optional(),
122
+ icons: import_zod.z.object({
123
+ emoji: import_zod.z.string().optional(),
124
+ image_64: import_zod.z.string().optional()
125
+ }).passthrough().optional(),
126
+ inviter: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
127
+ is_delayed_message: import_zod.z.boolean().optional(),
128
+ is_intro: import_zod.z.boolean().optional(),
129
+ is_starred: import_zod.z.boolean().optional(),
130
+ last_read: import_zod.z.lazy(() => definitions["Outputdefs_ts"]).optional(),
131
+ latest_reply: import_zod.z.lazy(() => definitions["Outputdefs_ts"]).optional(),
132
+ name: import_zod.z.string().optional(),
133
+ old_name: import_zod.z.string().optional(),
134
+ parent_user_id: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
135
+ permalink: import_zod.z.string().optional(),
136
+ pinned_to: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_channel"])).optional(),
137
+ purpose: import_zod.z.string().optional(),
138
+ reactions: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputobjs_reaction"])).optional(),
139
+ reply_count: import_zod.z.union([
140
+ import_zod.z.number().int(),
141
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
142
+ ]).optional(),
143
+ reply_users: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_user_id"])).optional(),
144
+ reply_users_count: import_zod.z.union([
145
+ import_zod.z.number().int(),
146
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
147
+ ]).optional(),
148
+ source_team: import_zod.z.lazy(() => definitions["Outputdefs_workspace_id"]).optional(),
149
+ subscribed: import_zod.z.boolean().optional(),
150
+ subtype: import_zod.z.string().optional(),
151
+ team: import_zod.z.lazy(() => definitions["Outputdefs_workspace_id"]).optional(),
152
+ text: import_zod.z.string().optional(),
153
+ thread_ts: import_zod.z.lazy(() => definitions["Outputdefs_ts"]).optional(),
154
+ topic: import_zod.z.string().optional(),
155
+ ts: import_zod.z.lazy(() => definitions["Outputdefs_ts"]).optional(),
156
+ type: import_zod.z.string().optional(),
157
+ unread_count: import_zod.z.union([
158
+ import_zod.z.number().int(),
159
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
160
+ ]).optional(),
161
+ upload: import_zod.z.boolean().optional(),
162
+ user: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
163
+ user_profile: import_zod.z.lazy(() => definitions["Outputobjs_user_profile_short"]).optional(),
164
+ user_team: import_zod.z.lazy(() => definitions["Outputdefs_workspace_id"]).optional(),
165
+ username: import_zod.z.string().optional()
166
+ }).passthrough();
167
+ definitions["Outputblocks"] = import_zod.z.array(
168
+ import_zod.z.object({ type: import_zod.z.string().optional() }).passthrough()
169
+ );
170
+ definitions["Outputobjs_bot_profile"] = import_zod.z.object({
171
+ app_id: import_zod.z.lazy(() => definitions["Outputdefs_app_id"]).optional(),
172
+ deleted: import_zod.z.boolean().optional(),
173
+ icons: import_zod.z.object({
174
+ image_36: import_zod.z.string().optional(),
175
+ image_48: import_zod.z.string().optional(),
176
+ image_72: import_zod.z.string().optional()
177
+ }).passthrough().optional(),
178
+ id: import_zod.z.lazy(() => definitions["Outputdefs_bot_id"]).optional(),
179
+ name: import_zod.z.string().optional(),
180
+ team_id: import_zod.z.lazy(() => definitions["Outputdefs_team"]).optional(),
181
+ updated: import_zod.z.union([
182
+ import_zod.z.number().int(),
183
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
184
+ ]).optional()
185
+ }).passthrough();
186
+ definitions["Outputobjs_comment"] = import_zod.z.object({
187
+ comment: import_zod.z.string().optional(),
188
+ created: import_zod.z.union([
189
+ import_zod.z.number().int(),
190
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
191
+ ]).optional(),
192
+ id: import_zod.z.lazy(() => definitions["Outputdefs_comment_id"]).optional(),
193
+ is_intro: import_zod.z.boolean().optional(),
194
+ is_starred: import_zod.z.boolean().optional(),
195
+ num_stars: import_zod.z.union([
196
+ import_zod.z.number().int(),
197
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
198
+ ]).optional(),
199
+ pinned_info: import_zod.z.lazy(() => definitions["Outputdefs_pinned_info"]).optional(),
200
+ pinned_to: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_channel"])).optional(),
201
+ reactions: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputobjs_reaction"])).optional(),
202
+ timestamp: import_zod.z.union([
203
+ import_zod.z.number().int(),
204
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
205
+ ]).optional(),
206
+ user: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional()
207
+ }).passthrough();
208
+ definitions["Outputdefs_comment_id"] = import_zod.z.string();
209
+ definitions["Outputdefs_pinned_info"] = import_zod.z.object({}).passthrough();
210
+ definitions["Outputobjs_reaction"] = import_zod.z.object({
211
+ count: import_zod.z.union([
212
+ import_zod.z.number().int(),
213
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
214
+ ]).optional(),
215
+ name: import_zod.z.string().optional(),
216
+ users: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_user_id"])).optional()
217
+ }).passthrough();
218
+ definitions["Outputobjs_file"] = import_zod.z.object({
219
+ channels: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_channel_id"])).optional(),
220
+ comments_count: import_zod.z.union([
221
+ import_zod.z.number().int(),
222
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
223
+ ]).optional(),
224
+ created: import_zod.z.union([
225
+ import_zod.z.number().int(),
226
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
227
+ ]).optional(),
228
+ date_delete: import_zod.z.union([
229
+ import_zod.z.number().int(),
230
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
231
+ ]).optional(),
232
+ display_as_bot: import_zod.z.boolean().optional(),
233
+ editable: import_zod.z.boolean().optional(),
234
+ editor: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
235
+ external_id: import_zod.z.string().optional(),
236
+ external_type: import_zod.z.string().optional(),
237
+ external_url: import_zod.z.string().optional(),
238
+ filetype: import_zod.z.string().optional(),
239
+ groups: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_group_id"])).optional(),
240
+ has_rich_preview: import_zod.z.boolean().optional(),
241
+ id: import_zod.z.lazy(() => definitions["Outputdefs_file_id"]).optional(),
242
+ image_exif_rotation: import_zod.z.union([
243
+ import_zod.z.number().int(),
244
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
245
+ ]).optional(),
246
+ ims: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_dm_id"])).optional(),
247
+ is_external: import_zod.z.boolean().optional(),
248
+ is_public: import_zod.z.boolean().optional(),
249
+ is_starred: import_zod.z.boolean().optional(),
250
+ is_tombstoned: import_zod.z.boolean().optional(),
251
+ last_editor: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
252
+ mimetype: import_zod.z.string().optional(),
253
+ mode: import_zod.z.string().optional(),
254
+ name: import_zod.z.string().optional(),
255
+ non_owner_editable: import_zod.z.boolean().optional(),
256
+ num_stars: import_zod.z.union([
257
+ import_zod.z.number().int(),
258
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
259
+ ]).optional(),
260
+ original_h: import_zod.z.union([
261
+ import_zod.z.number().int(),
262
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
263
+ ]).optional(),
264
+ original_w: import_zod.z.union([
265
+ import_zod.z.number().int(),
266
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
267
+ ]).optional(),
268
+ permalink: import_zod.z.string().optional(),
269
+ permalink_public: import_zod.z.string().optional(),
270
+ pinned_info: import_zod.z.lazy(() => definitions["Outputdefs_pinned_info"]).optional(),
271
+ pinned_to: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_channel"])).optional(),
272
+ pretty_type: import_zod.z.string().optional(),
273
+ preview: import_zod.z.string().optional(),
274
+ public_url_shared: import_zod.z.boolean().optional(),
275
+ reactions: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputobjs_reaction"])).optional(),
276
+ shares: import_zod.z.object({
277
+ private: import_zod.z.unknown().optional(),
278
+ public: import_zod.z.unknown().optional()
279
+ }).passthrough().optional(),
280
+ size: import_zod.z.union([
281
+ import_zod.z.number().int(),
282
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
283
+ ]).optional(),
284
+ source_team: import_zod.z.lazy(() => definitions["Outputdefs_team"]).optional(),
285
+ state: import_zod.z.string().optional(),
286
+ thumb_1024: import_zod.z.string().optional(),
287
+ thumb_1024_h: import_zod.z.union([
288
+ import_zod.z.number().int(),
289
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
290
+ ]).optional(),
291
+ thumb_1024_w: import_zod.z.union([
292
+ import_zod.z.number().int(),
293
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
294
+ ]).optional(),
295
+ thumb_160: import_zod.z.string().optional(),
296
+ thumb_360: import_zod.z.string().optional(),
297
+ thumb_360_h: import_zod.z.union([
298
+ import_zod.z.number().int(),
299
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
300
+ ]).optional(),
301
+ thumb_360_w: import_zod.z.union([
302
+ import_zod.z.number().int(),
303
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
304
+ ]).optional(),
305
+ thumb_480: import_zod.z.string().optional(),
306
+ thumb_480_h: import_zod.z.union([
307
+ import_zod.z.number().int(),
308
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
309
+ ]).optional(),
310
+ thumb_480_w: import_zod.z.union([
311
+ import_zod.z.number().int(),
312
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
313
+ ]).optional(),
314
+ thumb_64: import_zod.z.string().optional(),
315
+ thumb_720: import_zod.z.string().optional(),
316
+ thumb_720_h: import_zod.z.union([
317
+ import_zod.z.number().int(),
318
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
319
+ ]).optional(),
320
+ thumb_720_w: import_zod.z.union([
321
+ import_zod.z.number().int(),
322
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
323
+ ]).optional(),
324
+ thumb_80: import_zod.z.string().optional(),
325
+ thumb_800: import_zod.z.string().optional(),
326
+ thumb_800_h: import_zod.z.union([
327
+ import_zod.z.number().int(),
328
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
329
+ ]).optional(),
330
+ thumb_800_w: import_zod.z.union([
331
+ import_zod.z.number().int(),
332
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
333
+ ]).optional(),
334
+ thumb_960: import_zod.z.string().optional(),
335
+ thumb_960_h: import_zod.z.union([
336
+ import_zod.z.number().int(),
337
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
338
+ ]).optional(),
339
+ thumb_960_w: import_zod.z.union([
340
+ import_zod.z.number().int(),
341
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
342
+ ]).optional(),
343
+ thumb_tiny: import_zod.z.string().optional(),
344
+ timestamp: import_zod.z.union([
345
+ import_zod.z.number().int(),
346
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
347
+ ]).optional(),
348
+ title: import_zod.z.string().optional(),
349
+ updated: import_zod.z.union([
350
+ import_zod.z.number().int(),
351
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
352
+ ]).optional(),
353
+ url_private: import_zod.z.string().optional(),
354
+ url_private_download: import_zod.z.string().optional(),
355
+ user: import_zod.z.string().optional(),
356
+ user_team: import_zod.z.lazy(() => definitions["Outputdefs_team"]).optional(),
357
+ username: import_zod.z.string().optional()
358
+ }).passthrough();
359
+ definitions["Outputdefs_channel_id"] = import_zod.z.string();
360
+ definitions["Outputdefs_group_id"] = import_zod.z.string();
361
+ definitions["Outputdefs_file_id"] = import_zod.z.string();
362
+ definitions["Outputdefs_dm_id"] = import_zod.z.string();
363
+ definitions["Outputdefs_workspace_id"] = import_zod.z.string();
364
+ definitions["Outputobjs_user_profile_short"] = import_zod.z.object({
365
+ avatar_hash: import_zod.z.string().optional(),
366
+ display_name: import_zod.z.string().optional(),
367
+ display_name_normalized: import_zod.z.string().optional(),
368
+ first_name: import_zod.z.union([import_zod.z.string(), import_zod.z.null()]).optional(),
369
+ image_72: import_zod.z.string().optional(),
370
+ is_restricted: import_zod.z.boolean().optional(),
371
+ is_ultra_restricted: import_zod.z.boolean().optional(),
372
+ name: import_zod.z.string().optional(),
373
+ real_name: import_zod.z.string().optional(),
374
+ real_name_normalized: import_zod.z.string().optional(),
375
+ team: import_zod.z.lazy(() => definitions["Outputdefs_workspace_id"]).optional()
376
+ }).passthrough();
377
+ definitions["Outputobjs_conversation"] = import_zod.z.union([
378
+ import_zod.z.object({
379
+ accepted_user: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
380
+ connected_team_ids: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_workspace_id"])).optional(),
381
+ conversation_host_id: import_zod.z.lazy(() => definitions["Outputdefs_workspace_id"]).optional(),
382
+ created: import_zod.z.union([
383
+ import_zod.z.number().int(),
384
+ import_zod.z.string().regex(
385
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
386
+ )
387
+ ]).optional(),
388
+ creator: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
389
+ display_counts: import_zod.z.object({
390
+ display_counts: import_zod.z.union([
391
+ import_zod.z.number().int(),
392
+ import_zod.z.string().regex(
393
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
394
+ )
395
+ ]).optional(),
396
+ guest_counts: import_zod.z.union([
397
+ import_zod.z.number().int(),
398
+ import_zod.z.string().regex(
399
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
400
+ )
401
+ ]).optional()
402
+ }).passthrough().optional(),
403
+ enterprise_id: import_zod.z.lazy(() => definitions["Outputdefs_enterprise_id"]).optional(),
404
+ has_pins: import_zod.z.boolean().optional(),
405
+ id: import_zod.z.lazy(() => definitions["Outputdefs_channel"]).optional(),
406
+ internal_team_ids: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_team"])).optional(),
407
+ is_archived: import_zod.z.boolean().optional(),
408
+ is_channel: import_zod.z.boolean().optional(),
409
+ is_ext_shared: import_zod.z.boolean().optional(),
410
+ is_frozen: import_zod.z.boolean().optional(),
411
+ is_general: import_zod.z.boolean().optional(),
412
+ is_global_shared: import_zod.z.boolean().optional(),
413
+ is_group: import_zod.z.boolean().optional(),
414
+ is_im: import_zod.z.boolean().optional(),
415
+ is_member: import_zod.z.boolean().optional(),
416
+ is_moved: import_zod.z.union([
417
+ import_zod.z.number().int(),
418
+ import_zod.z.string().regex(
419
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
420
+ )
421
+ ]).optional(),
422
+ is_mpim: import_zod.z.boolean().optional(),
423
+ is_non_threadable: import_zod.z.boolean().optional(),
424
+ is_open: import_zod.z.boolean().optional(),
425
+ is_org_default: import_zod.z.boolean().optional(),
426
+ is_org_mandatory: import_zod.z.boolean().optional(),
427
+ is_org_shared: import_zod.z.boolean().optional(),
428
+ is_pending_ext_shared: import_zod.z.boolean().optional(),
429
+ is_private: import_zod.z.boolean().optional(),
430
+ is_read_only: import_zod.z.boolean().optional(),
431
+ is_shared: import_zod.z.boolean().optional(),
432
+ is_starred: import_zod.z.boolean().optional(),
433
+ is_thread_only: import_zod.z.boolean().optional(),
434
+ last_read: import_zod.z.lazy(() => definitions["Outputdefs_ts"]).optional(),
435
+ latest: import_zod.z.union([import_zod.z.lazy(() => definitions["Outputobjs_message"]), import_zod.z.null()]).optional(),
436
+ members: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_user_id"])).optional(),
437
+ name: import_zod.z.string().optional(),
438
+ name_normalized: import_zod.z.string().optional(),
439
+ num_members: import_zod.z.union([
440
+ import_zod.z.number().int(),
441
+ import_zod.z.string().regex(
442
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
443
+ )
444
+ ]).optional(),
445
+ parent_conversation: import_zod.z.union([import_zod.z.lazy(() => definitions["Outputdefs_channel"]), import_zod.z.null()]).optional(),
446
+ pending_connected_team_ids: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_team"])).optional(),
447
+ pending_shared: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_team"])).optional(),
448
+ pin_count: import_zod.z.union([
449
+ import_zod.z.number().int(),
450
+ import_zod.z.string().regex(
451
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
452
+ )
453
+ ]).optional(),
454
+ previous_names: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_channel_name"])).optional(),
455
+ priority: import_zod.z.union([
456
+ import_zod.z.number().finite(),
457
+ import_zod.z.string().regex(
458
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
459
+ )
460
+ ]).optional(),
461
+ purpose: import_zod.z.object({
462
+ creator: import_zod.z.lazy(() => definitions["Outputdefs_topic_purpose_creator"]).optional(),
463
+ last_set: import_zod.z.union([
464
+ import_zod.z.number().int(),
465
+ import_zod.z.string().regex(
466
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
467
+ )
468
+ ]).optional(),
469
+ value: import_zod.z.string().optional()
470
+ }).passthrough().optional(),
471
+ shared_team_ids: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_team"])).optional(),
472
+ shares: import_zod.z.array(
473
+ import_zod.z.object({
474
+ accepted_user: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
475
+ is_active: import_zod.z.boolean().optional(),
476
+ team: import_zod.z.lazy(() => definitions["Outputobjs_team"]).optional(),
477
+ user: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional()
478
+ }).passthrough()
479
+ ).optional(),
480
+ timezone_count: import_zod.z.union([
481
+ import_zod.z.number().int(),
482
+ import_zod.z.string().regex(
483
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
484
+ )
485
+ ]).optional(),
486
+ topic: import_zod.z.object({
487
+ creator: import_zod.z.lazy(() => definitions["Outputdefs_topic_purpose_creator"]).optional(),
488
+ last_set: import_zod.z.union([
489
+ import_zod.z.number().int(),
490
+ import_zod.z.string().regex(
491
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
492
+ )
493
+ ]).optional(),
494
+ value: import_zod.z.string().optional()
495
+ }).passthrough().optional(),
496
+ unlinked: import_zod.z.union([
497
+ import_zod.z.number().int(),
498
+ import_zod.z.string().regex(
499
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
500
+ )
501
+ ]).optional(),
502
+ unread_count: import_zod.z.union([
503
+ import_zod.z.number().int(),
504
+ import_zod.z.string().regex(
505
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
506
+ )
507
+ ]).optional(),
508
+ unread_count_display: import_zod.z.union([
509
+ import_zod.z.number().int(),
510
+ import_zod.z.string().regex(
511
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
512
+ )
513
+ ]).optional(),
514
+ use_case: import_zod.z.string().optional(),
515
+ user: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
516
+ version: import_zod.z.union([
517
+ import_zod.z.number().int(),
518
+ import_zod.z.string().regex(
519
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
520
+ )
521
+ ]).optional()
522
+ }).passthrough(),
523
+ import_zod.z.object({
524
+ accepted_user: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
525
+ connected_team_ids: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_team"])).optional(),
526
+ conversation_host_id: import_zod.z.lazy(() => definitions["Outputdefs_workspace_id"]).optional(),
527
+ created: import_zod.z.union([
528
+ import_zod.z.number().int(),
529
+ import_zod.z.string().regex(
530
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
531
+ )
532
+ ]).optional(),
533
+ creator: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
534
+ display_counts: import_zod.z.object({
535
+ display_counts: import_zod.z.union([
536
+ import_zod.z.number().int(),
537
+ import_zod.z.string().regex(
538
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
539
+ )
540
+ ]).optional(),
541
+ guest_counts: import_zod.z.union([
542
+ import_zod.z.number().int(),
543
+ import_zod.z.string().regex(
544
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
545
+ )
546
+ ]).optional()
547
+ }).passthrough().optional(),
548
+ id: import_zod.z.lazy(() => definitions["Outputdefs_channel"]).optional(),
549
+ internal_team_ids: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_team"])).optional(),
550
+ is_archived: import_zod.z.boolean().optional(),
551
+ is_channel: import_zod.z.boolean().optional(),
552
+ is_ext_shared: import_zod.z.boolean().optional(),
553
+ is_frozen: import_zod.z.boolean().optional(),
554
+ is_general: import_zod.z.boolean().optional(),
555
+ is_group: import_zod.z.boolean().optional(),
556
+ is_im: import_zod.z.boolean().optional(),
557
+ is_member: import_zod.z.boolean().optional(),
558
+ is_moved: import_zod.z.union([
559
+ import_zod.z.number().int(),
560
+ import_zod.z.string().regex(
561
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
562
+ )
563
+ ]).optional(),
564
+ is_mpim: import_zod.z.boolean().optional(),
565
+ is_non_threadable: import_zod.z.boolean().optional(),
566
+ is_open: import_zod.z.boolean().optional(),
567
+ is_org_shared: import_zod.z.boolean().optional(),
568
+ is_pending_ext_shared: import_zod.z.boolean().optional(),
569
+ is_private: import_zod.z.boolean().optional(),
570
+ is_read_only: import_zod.z.boolean().optional(),
571
+ is_shared: import_zod.z.boolean().optional(),
572
+ is_starred: import_zod.z.boolean().optional(),
573
+ is_thread_only: import_zod.z.boolean().optional(),
574
+ last_read: import_zod.z.lazy(() => definitions["Outputdefs_ts"]).optional(),
575
+ latest: import_zod.z.union([import_zod.z.lazy(() => definitions["Outputobjs_message"]), import_zod.z.null()]).optional(),
576
+ members: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_user_id"])).optional(),
577
+ name: import_zod.z.string().optional(),
578
+ name_normalized: import_zod.z.string().optional(),
579
+ num_members: import_zod.z.union([
580
+ import_zod.z.number().int(),
581
+ import_zod.z.string().regex(
582
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
583
+ )
584
+ ]).optional(),
585
+ parent_conversation: import_zod.z.union([import_zod.z.lazy(() => definitions["Outputdefs_channel"]), import_zod.z.null()]).optional(),
586
+ pending_connected_team_ids: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_team"])).optional(),
587
+ pending_shared: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_team"])).optional(),
588
+ pin_count: import_zod.z.union([
589
+ import_zod.z.number().int(),
590
+ import_zod.z.string().regex(
591
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
592
+ )
593
+ ]).optional(),
594
+ previous_names: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_channel_name"])).optional(),
595
+ priority: import_zod.z.union([
596
+ import_zod.z.number().finite(),
597
+ import_zod.z.string().regex(
598
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
599
+ )
600
+ ]).optional(),
601
+ purpose: import_zod.z.object({
602
+ creator: import_zod.z.lazy(() => definitions["Outputdefs_topic_purpose_creator"]).optional(),
603
+ last_set: import_zod.z.union([
604
+ import_zod.z.number().int(),
605
+ import_zod.z.string().regex(
606
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
607
+ )
608
+ ]).optional(),
609
+ value: import_zod.z.string().optional()
610
+ }).passthrough().optional(),
611
+ shared_team_ids: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_team"])).optional(),
612
+ shares: import_zod.z.array(
613
+ import_zod.z.object({
614
+ accepted_user: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
615
+ is_active: import_zod.z.boolean().optional(),
616
+ team: import_zod.z.lazy(() => definitions["Outputobjs_team"]).optional(),
617
+ user: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional()
618
+ }).passthrough()
619
+ ).optional(),
620
+ timezone_count: import_zod.z.union([
621
+ import_zod.z.number().int(),
622
+ import_zod.z.string().regex(
623
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
624
+ )
625
+ ]).optional(),
626
+ topic: import_zod.z.object({
627
+ creator: import_zod.z.lazy(() => definitions["Outputdefs_topic_purpose_creator"]).optional(),
628
+ last_set: import_zod.z.union([
629
+ import_zod.z.number().int(),
630
+ import_zod.z.string().regex(
631
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
632
+ )
633
+ ]).optional(),
634
+ value: import_zod.z.string().optional()
635
+ }).passthrough().optional(),
636
+ unlinked: import_zod.z.union([
637
+ import_zod.z.number().int(),
638
+ import_zod.z.string().regex(
639
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
640
+ )
641
+ ]).optional(),
642
+ unread_count: import_zod.z.union([
643
+ import_zod.z.number().int(),
644
+ import_zod.z.string().regex(
645
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
646
+ )
647
+ ]).optional(),
648
+ unread_count_display: import_zod.z.union([
649
+ import_zod.z.number().int(),
650
+ import_zod.z.string().regex(
651
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
652
+ )
653
+ ]).optional(),
654
+ user: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
655
+ version: import_zod.z.union([
656
+ import_zod.z.number().int(),
657
+ import_zod.z.string().regex(
658
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
659
+ )
660
+ ]).optional()
661
+ }).passthrough(),
662
+ import_zod.z.object({
663
+ created: import_zod.z.union([
664
+ import_zod.z.number().int(),
665
+ import_zod.z.string().regex(
666
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
667
+ )
668
+ ]).optional(),
669
+ has_pins: import_zod.z.boolean().optional(),
670
+ id: import_zod.z.lazy(() => definitions["Outputdefs_dm_id"]).optional(),
671
+ is_archived: import_zod.z.boolean().optional(),
672
+ is_ext_shared: import_zod.z.boolean().optional(),
673
+ is_frozen: import_zod.z.boolean().optional(),
674
+ is_im: import_zod.z.boolean().optional(),
675
+ is_open: import_zod.z.boolean().optional(),
676
+ is_org_shared: import_zod.z.boolean().optional(),
677
+ is_shared: import_zod.z.boolean().optional(),
678
+ is_starred: import_zod.z.boolean().optional(),
679
+ is_user_deleted: import_zod.z.boolean().optional(),
680
+ last_read: import_zod.z.lazy(() => definitions["Outputdefs_ts"]).optional(),
681
+ latest: import_zod.z.union([import_zod.z.lazy(() => definitions["Outputobjs_message"]), import_zod.z.null()]).optional(),
682
+ parent_conversation: import_zod.z.union([import_zod.z.lazy(() => definitions["Outputdefs_channel"]), import_zod.z.null()]).optional(),
683
+ pin_count: import_zod.z.union([
684
+ import_zod.z.number().int(),
685
+ import_zod.z.string().regex(
686
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
687
+ )
688
+ ]).optional(),
689
+ priority: import_zod.z.union([
690
+ import_zod.z.number().finite(),
691
+ import_zod.z.string().regex(
692
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
693
+ )
694
+ ]).optional(),
695
+ shares: import_zod.z.array(
696
+ import_zod.z.object({
697
+ date_create: import_zod.z.union([
698
+ import_zod.z.number().int(),
699
+ import_zod.z.string().regex(
700
+ new RegExp(
701
+ "^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"
702
+ )
703
+ )
704
+ ]).optional(),
705
+ id: import_zod.z.lazy(() => definitions["Outputdefs_team"]).optional(),
706
+ is_active: import_zod.z.boolean().optional(),
707
+ name: import_zod.z.string().optional(),
708
+ team: import_zod.z.lazy(() => definitions["Outputobjs_team"]).optional()
709
+ }).passthrough()
710
+ ).optional(),
711
+ unread_count: import_zod.z.union([
712
+ import_zod.z.number().int(),
713
+ import_zod.z.string().regex(
714
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
715
+ )
716
+ ]).optional(),
717
+ unread_count_display: import_zod.z.union([
718
+ import_zod.z.number().int(),
719
+ import_zod.z.string().regex(
720
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
721
+ )
722
+ ]).optional(),
723
+ user: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
724
+ version: import_zod.z.union([
725
+ import_zod.z.number().int(),
726
+ import_zod.z.string().regex(
727
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
728
+ )
729
+ ]).optional()
730
+ }).passthrough()
731
+ ]);
732
+ definitions["Outputdefs_enterprise_id"] = import_zod.z.string();
733
+ definitions["Outputdefs_channel_name"] = import_zod.z.string();
734
+ definitions["Outputdefs_topic_purpose_creator"] = import_zod.z.string();
735
+ definitions["Outputobjs_team"] = import_zod.z.object({
736
+ archived: import_zod.z.boolean().optional(),
737
+ avatar_base_url: import_zod.z.string().optional(),
738
+ created: import_zod.z.union([
739
+ import_zod.z.number().int(),
740
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
741
+ ]).optional(),
742
+ date_create: import_zod.z.union([
743
+ import_zod.z.number().int(),
744
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
745
+ ]).optional(),
746
+ deleted: import_zod.z.boolean().optional(),
747
+ description: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
748
+ discoverable: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
749
+ domain: import_zod.z.string().optional(),
750
+ email_domain: import_zod.z.string().optional(),
751
+ enterprise_id: import_zod.z.lazy(() => definitions["Outputdefs_enterprise_id"]).optional(),
752
+ enterprise_name: import_zod.z.lazy(() => definitions["Outputdefs_enterprise_name"]).optional(),
753
+ external_org_migrations: import_zod.z.lazy(() => definitions["Outputobjs_external_org_migrations"]).optional(),
754
+ has_compliance_export: import_zod.z.boolean().optional(),
755
+ icon: import_zod.z.lazy(() => definitions["Outputobjs_icon"]).optional(),
756
+ id: import_zod.z.lazy(() => definitions["Outputdefs_workspace_id"]).optional(),
757
+ is_assigned: import_zod.z.boolean().optional(),
758
+ is_enterprise: import_zod.z.union([
759
+ import_zod.z.number().int(),
760
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
761
+ ]).optional(),
762
+ is_over_storage_limit: import_zod.z.boolean().optional(),
763
+ limit_ts: import_zod.z.union([
764
+ import_zod.z.number().int(),
765
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
766
+ ]).optional(),
767
+ locale: import_zod.z.string().optional(),
768
+ messages_count: import_zod.z.union([
769
+ import_zod.z.number().int(),
770
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
771
+ ]).optional(),
772
+ msg_edit_window_mins: import_zod.z.union([
773
+ import_zod.z.number().int(),
774
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
775
+ ]).optional(),
776
+ name: import_zod.z.string().optional(),
777
+ over_integrations_limit: import_zod.z.boolean().optional(),
778
+ over_storage_limit: import_zod.z.boolean().optional(),
779
+ pay_prod_cur: import_zod.z.string().optional(),
780
+ plan: import_zod.z.string().optional(),
781
+ primary_owner: import_zod.z.lazy(() => definitions["Outputobjs_primary_owner"]).optional(),
782
+ sso_provider: import_zod.z.object({
783
+ label: import_zod.z.string().optional(),
784
+ name: import_zod.z.string().optional(),
785
+ type: import_zod.z.string().optional()
786
+ }).passthrough().optional()
787
+ }).passthrough();
788
+ definitions["Outputdefs_enterprise_name"] = import_zod.z.string();
789
+ definitions["Outputobjs_external_org_migrations"] = import_zod.z.object({
790
+ current: import_zod.z.array(
791
+ import_zod.z.object({
792
+ date_started: import_zod.z.union([
793
+ import_zod.z.number().int(),
794
+ import_zod.z.string().regex(
795
+ new RegExp(
796
+ "^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"
797
+ )
798
+ )
799
+ ]).optional(),
800
+ team_id: import_zod.z.string().optional()
801
+ }).passthrough()
802
+ ).optional(),
803
+ date_updated: import_zod.z.union([
804
+ import_zod.z.number().int(),
805
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
806
+ ]).optional()
807
+ }).passthrough();
808
+ definitions["Outputobjs_icon"] = import_zod.z.object({
809
+ image_102: import_zod.z.string().optional(),
810
+ image_132: import_zod.z.string().optional(),
811
+ image_230: import_zod.z.string().optional(),
812
+ image_34: import_zod.z.string().optional(),
813
+ image_44: import_zod.z.string().optional(),
814
+ image_68: import_zod.z.string().optional(),
815
+ image_88: import_zod.z.string().optional(),
816
+ image_default: import_zod.z.boolean().optional()
817
+ }).passthrough();
818
+ definitions["Outputobjs_primary_owner"] = import_zod.z.object({ email: import_zod.z.string().optional(), id: import_zod.z.string().optional() }).passthrough();
819
+ definitions["Outputobjs_comments"] = import_zod.z.array(import_zod.z.unknown());
820
+ definitions["Outputobjs_paging"] = import_zod.z.object({
821
+ count: import_zod.z.union([
822
+ import_zod.z.number().int(),
823
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
824
+ ]).optional(),
825
+ page: import_zod.z.union([
826
+ import_zod.z.number().int(),
827
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
828
+ ]).optional(),
829
+ pages: import_zod.z.union([
830
+ import_zod.z.number().int(),
831
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
832
+ ]).optional(),
833
+ per_page: import_zod.z.union([
834
+ import_zod.z.number().int(),
835
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
836
+ ]).optional(),
837
+ spill: import_zod.z.union([
838
+ import_zod.z.number().int(),
839
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
840
+ ]).optional(),
841
+ total: import_zod.z.union([
842
+ import_zod.z.number().int(),
843
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
844
+ ]).optional()
845
+ }).passthrough();
846
+ definitions["Outputobjs_response_metadata"] = import_zod.z.union([
847
+ import_zod.z.object({ next_cursor: import_zod.z.string().optional() }).passthrough(),
848
+ import_zod.z.object({
849
+ messages: import_zod.z.array(import_zod.z.string()).optional(),
850
+ warnings: import_zod.z.array(import_zod.z.string()).optional()
851
+ }).passthrough(),
852
+ import_zod.z.object({
853
+ messages: import_zod.z.array(import_zod.z.string()).optional(),
854
+ next_cursor: import_zod.z.string().optional(),
855
+ warnings: import_zod.z.array(import_zod.z.string()).optional()
856
+ }).passthrough()
857
+ ]);
858
+ definitions["Outputobjs_team_profile_field"] = import_zod.z.object({
859
+ field_name: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
860
+ hint: import_zod.z.string().optional(),
861
+ id: import_zod.z.string().optional(),
862
+ is_hidden: import_zod.z.boolean().optional(),
863
+ label: import_zod.z.string().optional(),
864
+ options: import_zod.z.union([
865
+ import_zod.z.null(),
866
+ import_zod.z.lazy(() => definitions["Outputobjs_team_profile_field_option"])
867
+ ]).optional(),
868
+ ordering: import_zod.z.union([
869
+ import_zod.z.number().finite(),
870
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
871
+ ]).optional(),
872
+ possible_values: import_zod.z.union([import_zod.z.null(), import_zod.z.array(import_zod.z.string())]).optional(),
873
+ type: import_zod.z.string().optional()
874
+ }).passthrough();
875
+ definitions["Outputobjs_team_profile_field_option"] = import_zod.z.object({
876
+ is_custom: import_zod.z.union([import_zod.z.null(), import_zod.z.boolean()]).optional(),
877
+ is_multiple_entry: import_zod.z.union([import_zod.z.null(), import_zod.z.boolean()]).optional(),
878
+ is_protected: import_zod.z.union([import_zod.z.null(), import_zod.z.boolean()]).optional(),
879
+ is_scim: import_zod.z.union([import_zod.z.null(), import_zod.z.boolean()]).optional()
880
+ }).passthrough();
881
+ definitions["Outputobjs_subteam"] = import_zod.z.object({
882
+ auto_provision: import_zod.z.boolean().optional(),
883
+ auto_type: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
884
+ channel_count: import_zod.z.union([
885
+ import_zod.z.number().int(),
886
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
887
+ ]).optional(),
888
+ created_by: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
889
+ date_create: import_zod.z.union([
890
+ import_zod.z.number().int(),
891
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
892
+ ]).optional(),
893
+ date_delete: import_zod.z.union([
894
+ import_zod.z.number().int(),
895
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
896
+ ]).optional(),
897
+ date_update: import_zod.z.union([
898
+ import_zod.z.number().int(),
899
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
900
+ ]).optional(),
901
+ deleted_by: import_zod.z.union([import_zod.z.null(), import_zod.z.lazy(() => definitions["Outputdefs_user_id"])]).optional(),
902
+ description: import_zod.z.string().optional(),
903
+ enterprise_subteam_id: import_zod.z.string().optional(),
904
+ handle: import_zod.z.string().optional(),
905
+ id: import_zod.z.lazy(() => definitions["Outputdefs_subteam_id"]).optional(),
906
+ is_external: import_zod.z.boolean().optional(),
907
+ is_subteam: import_zod.z.boolean().optional(),
908
+ is_usergroup: import_zod.z.boolean().optional(),
909
+ name: import_zod.z.string().optional(),
910
+ prefs: import_zod.z.object({
911
+ channels: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_channel_id"])).optional(),
912
+ groups: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_group_id"])).optional()
913
+ }).passthrough().optional(),
914
+ team_id: import_zod.z.lazy(() => definitions["Outputdefs_team"]).optional(),
915
+ updated_by: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
916
+ user_count: import_zod.z.union([
917
+ import_zod.z.number().int(),
918
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
919
+ ]).optional(),
920
+ users: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_user_id"])).optional()
921
+ }).passthrough();
922
+ definitions["Outputdefs_subteam_id"] = import_zod.z.string();
923
+ definitions["Outputobjs_user"] = import_zod.z.union([
924
+ import_zod.z.object({
925
+ color: import_zod.z.string().optional(),
926
+ deleted: import_zod.z.boolean().optional(),
927
+ enterprise_user: import_zod.z.lazy(() => definitions["Outputobjs_enterprise_user"]).optional(),
928
+ has_2fa: import_zod.z.boolean().optional(),
929
+ id: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
930
+ is_admin: import_zod.z.boolean().optional(),
931
+ is_app_user: import_zod.z.boolean().optional(),
932
+ is_bot: import_zod.z.boolean().optional(),
933
+ is_external: import_zod.z.boolean().optional(),
934
+ is_forgotten: import_zod.z.boolean().optional(),
935
+ is_invited_user: import_zod.z.boolean().optional(),
936
+ is_owner: import_zod.z.boolean().optional(),
937
+ is_primary_owner: import_zod.z.boolean().optional(),
938
+ is_restricted: import_zod.z.boolean().optional(),
939
+ is_stranger: import_zod.z.boolean().optional(),
940
+ is_ultra_restricted: import_zod.z.boolean().optional(),
941
+ locale: import_zod.z.string().optional(),
942
+ name: import_zod.z.string().optional(),
943
+ presence: import_zod.z.string().optional(),
944
+ profile: import_zod.z.lazy(() => definitions["Outputobjs_user_profile"]).optional(),
945
+ real_name: import_zod.z.string().optional(),
946
+ team: import_zod.z.lazy(() => definitions["Outputdefs_workspace_id"]).optional(),
947
+ team_id: import_zod.z.lazy(() => definitions["Outputdefs_workspace_id"]).optional(),
948
+ team_profile: import_zod.z.object({
949
+ fields: import_zod.z.array(
950
+ import_zod.z.lazy(() => definitions["Outputobjs_team_profile_field"])
951
+ ).optional()
952
+ }).passthrough().optional(),
953
+ two_factor_type: import_zod.z.string().optional(),
954
+ tz: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
955
+ tz_label: import_zod.z.string().optional(),
956
+ tz_offset: import_zod.z.union([
957
+ import_zod.z.number().finite(),
958
+ import_zod.z.string().regex(
959
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
960
+ )
961
+ ]).optional(),
962
+ updated: import_zod.z.union([
963
+ import_zod.z.number().finite(),
964
+ import_zod.z.string().regex(
965
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
966
+ )
967
+ ]).optional()
968
+ }).passthrough(),
969
+ import_zod.z.object({
970
+ color: import_zod.z.string().optional(),
971
+ deleted: import_zod.z.boolean().optional(),
972
+ enterprise_user: import_zod.z.lazy(() => definitions["Outputobjs_enterprise_user"]).optional(),
973
+ has_2fa: import_zod.z.boolean().optional(),
974
+ id: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
975
+ is_admin: import_zod.z.boolean().optional(),
976
+ is_app_user: import_zod.z.boolean().optional(),
977
+ is_bot: import_zod.z.boolean().optional(),
978
+ is_external: import_zod.z.boolean().optional(),
979
+ is_forgotten: import_zod.z.boolean().optional(),
980
+ is_owner: import_zod.z.boolean().optional(),
981
+ is_primary_owner: import_zod.z.boolean().optional(),
982
+ is_restricted: import_zod.z.boolean().optional(),
983
+ is_stranger: import_zod.z.boolean().optional(),
984
+ is_ultra_restricted: import_zod.z.boolean().optional(),
985
+ locale: import_zod.z.string().optional(),
986
+ name: import_zod.z.string().optional(),
987
+ presence: import_zod.z.string().optional(),
988
+ profile: import_zod.z.lazy(() => definitions["Outputobjs_user_profile"]).optional(),
989
+ real_name: import_zod.z.string().optional(),
990
+ team_id: import_zod.z.lazy(() => definitions["Outputdefs_workspace_id"]).optional(),
991
+ team_profile: import_zod.z.object({
992
+ fields: import_zod.z.array(
993
+ import_zod.z.lazy(() => definitions["Outputobjs_team_profile_field"])
994
+ ).optional()
995
+ }).passthrough().optional(),
996
+ teams: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_workspace_id"])).optional(),
997
+ two_factor_type: import_zod.z.string().optional(),
998
+ tz: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
999
+ tz_label: import_zod.z.string().optional(),
1000
+ tz_offset: import_zod.z.union([
1001
+ import_zod.z.number().finite(),
1002
+ import_zod.z.string().regex(
1003
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
1004
+ )
1005
+ ]).optional(),
1006
+ updated: import_zod.z.union([
1007
+ import_zod.z.number().finite(),
1008
+ import_zod.z.string().regex(
1009
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
1010
+ )
1011
+ ]).optional()
1012
+ }).passthrough()
1013
+ ]);
1014
+ definitions["Outputobjs_enterprise_user"] = import_zod.z.object({
1015
+ enterprise_id: import_zod.z.lazy(() => definitions["Outputdefs_enterprise_id"]).optional(),
1016
+ enterprise_name: import_zod.z.lazy(() => definitions["Outputdefs_enterprise_name"]).optional(),
1017
+ id: import_zod.z.lazy(() => definitions["Outputdefs_enterprise_user_id"]).optional(),
1018
+ is_admin: import_zod.z.boolean().optional(),
1019
+ is_owner: import_zod.z.boolean().optional(),
1020
+ teams: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_team"])).optional()
1021
+ }).passthrough();
1022
+ definitions["Outputdefs_enterprise_user_id"] = import_zod.z.string();
1023
+ definitions["Outputobjs_user_profile"] = import_zod.z.object({
1024
+ always_active: import_zod.z.boolean().optional(),
1025
+ api_app_id: import_zod.z.lazy(() => definitions["Outputdefs_optional_app_id"]).optional(),
1026
+ avatar_hash: import_zod.z.string().optional(),
1027
+ bot_id: import_zod.z.lazy(() => definitions["Outputdefs_bot_id"]).optional(),
1028
+ display_name: import_zod.z.string().optional(),
1029
+ display_name_normalized: import_zod.z.string().optional(),
1030
+ email: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
1031
+ fields: import_zod.z.union([
1032
+ import_zod.z.object({}).passthrough(),
1033
+ import_zod.z.null(),
1034
+ import_zod.z.array(import_zod.z.object({}).passthrough())
1035
+ ]).optional(),
1036
+ first_name: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
1037
+ guest_expiration_ts: import_zod.z.union([
1038
+ import_zod.z.null(),
1039
+ import_zod.z.union([
1040
+ import_zod.z.number().int(),
1041
+ import_zod.z.string().regex(
1042
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
1043
+ )
1044
+ ])
1045
+ ]).optional(),
1046
+ guest_invited_by: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
1047
+ image_1024: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
1048
+ image_192: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
1049
+ image_24: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
1050
+ image_32: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
1051
+ image_48: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
1052
+ image_512: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
1053
+ image_72: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
1054
+ image_original: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
1055
+ is_app_user: import_zod.z.boolean().optional(),
1056
+ is_custom_image: import_zod.z.boolean().optional(),
1057
+ is_restricted: import_zod.z.union([import_zod.z.null(), import_zod.z.boolean()]).optional(),
1058
+ is_ultra_restricted: import_zod.z.union([import_zod.z.null(), import_zod.z.boolean()]).optional(),
1059
+ last_avatar_image_hash: import_zod.z.string().optional(),
1060
+ last_name: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
1061
+ memberships_count: import_zod.z.union([
1062
+ import_zod.z.number().int(),
1063
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
1064
+ ]).optional(),
1065
+ name: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
1066
+ phone: import_zod.z.string().optional(),
1067
+ pronouns: import_zod.z.string().optional(),
1068
+ real_name: import_zod.z.string().optional(),
1069
+ real_name_normalized: import_zod.z.string().optional(),
1070
+ skype: import_zod.z.string().optional(),
1071
+ status_default_emoji: import_zod.z.string().optional(),
1072
+ status_default_text: import_zod.z.string().optional(),
1073
+ status_default_text_canonical: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
1074
+ status_emoji: import_zod.z.string().optional(),
1075
+ status_expiration: import_zod.z.union([
1076
+ import_zod.z.number().int(),
1077
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
1078
+ ]).optional(),
1079
+ status_text: import_zod.z.string().optional(),
1080
+ status_text_canonical: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional(),
1081
+ team: import_zod.z.lazy(() => definitions["Outputdefs_workspace_id"]).optional(),
1082
+ title: import_zod.z.string().optional(),
1083
+ updated: import_zod.z.union([
1084
+ import_zod.z.number().int(),
1085
+ import_zod.z.string().regex(new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"))
1086
+ ]).optional(),
1087
+ user_id: import_zod.z.string().optional(),
1088
+ username: import_zod.z.union([import_zod.z.null(), import_zod.z.string()]).optional()
1089
+ }).passthrough();
1090
+ definitions["Outputdefs_optional_app_id"] = import_zod.z.string();
1091
+ const outputs = {
1092
+ "slack.api_test": {
1093
+ accept: "application/json",
1094
+ noContentStatuses: [],
1095
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).catchall(import_zod.z.object({}).passthrough()),
1096
+ inputSchema: import_zod.z.object({
1097
+ query: import_zod.z.object({ error: import_zod.z.string().optional() }).strict().optional()
1098
+ }).strict()
1099
+ },
1100
+ "slack.auth_test": {
1101
+ accept: "application/json",
1102
+ noContentStatuses: [],
1103
+ schema: import_zod.z.object({
1104
+ bot_id: import_zod.z.lazy(() => definitions["Outputdefs_bot_id"]).optional(),
1105
+ is_enterprise_install: import_zod.z.boolean().optional(),
1106
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
1107
+ team: import_zod.z.string().optional(),
1108
+ team_id: import_zod.z.lazy(() => definitions["Outputdefs_team"]).optional(),
1109
+ url: import_zod.z.string().optional(),
1110
+ user: import_zod.z.string().optional(),
1111
+ user_id: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional()
1112
+ }).passthrough(),
1113
+ inputSchema: import_zod.z.object({}).strict()
1114
+ },
1115
+ "slack.bots_info": {
1116
+ accept: "application/json",
1117
+ noContentStatuses: [],
1118
+ schema: import_zod.z.object({
1119
+ bot: import_zod.z.object({
1120
+ app_id: import_zod.z.lazy(() => definitions["Outputdefs_app_id"]).optional(),
1121
+ deleted: import_zod.z.boolean().optional(),
1122
+ icons: import_zod.z.object({
1123
+ image_36: import_zod.z.string().optional(),
1124
+ image_48: import_zod.z.string().optional(),
1125
+ image_72: import_zod.z.string().optional()
1126
+ }).passthrough().optional(),
1127
+ id: import_zod.z.lazy(() => definitions["Outputdefs_bot_id"]).optional(),
1128
+ name: import_zod.z.string().optional(),
1129
+ updated: import_zod.z.union([
1130
+ import_zod.z.number().int(),
1131
+ import_zod.z.string().regex(
1132
+ new RegExp(
1133
+ "^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"
1134
+ )
1135
+ )
1136
+ ]).optional(),
1137
+ user_id: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional()
1138
+ }).passthrough().optional(),
1139
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"])
1140
+ }).passthrough(),
1141
+ inputSchema: import_zod.z.object({
1142
+ query: import_zod.z.object({
1143
+ bot: import_zod.z.string().optional(),
1144
+ team_id: import_zod.z.string().optional()
1145
+ }).strict().optional()
1146
+ }).strict()
1147
+ },
1148
+ "slack.calls_add": {
1149
+ accept: "application/json",
1150
+ noContentStatuses: [],
1151
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1152
+ inputSchema: import_zod.z.object({
1153
+ body: import_zod.z.object({
1154
+ created_by: import_zod.z.string().optional(),
1155
+ date_start: import_zod.z.number().int().optional(),
1156
+ desktop_app_join_url: import_zod.z.string().optional(),
1157
+ external_display_id: import_zod.z.string().optional(),
1158
+ external_unique_id: import_zod.z.string(),
1159
+ join_url: import_zod.z.string(),
1160
+ title: import_zod.z.string().optional(),
1161
+ users: import_zod.z.string().optional()
1162
+ }).passthrough()
1163
+ }).strict()
1164
+ },
1165
+ "slack.calls_end": {
1166
+ accept: "application/json",
1167
+ noContentStatuses: [],
1168
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1169
+ inputSchema: import_zod.z.object({
1170
+ body: import_zod.z.object({ duration: import_zod.z.number().int().optional(), id: import_zod.z.string() }).passthrough()
1171
+ }).strict()
1172
+ },
1173
+ "slack.calls_info": {
1174
+ accept: "application/json",
1175
+ noContentStatuses: [],
1176
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1177
+ inputSchema: import_zod.z.object({ query: import_zod.z.object({ id: import_zod.z.string() }).strict() }).strict()
1178
+ },
1179
+ "slack.calls_participants_add": {
1180
+ accept: "application/json",
1181
+ noContentStatuses: [],
1182
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1183
+ inputSchema: import_zod.z.object({
1184
+ body: import_zod.z.object({ id: import_zod.z.string(), users: import_zod.z.string() }).passthrough()
1185
+ }).strict()
1186
+ },
1187
+ "slack.calls_participants_remove": {
1188
+ accept: "application/json",
1189
+ noContentStatuses: [],
1190
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1191
+ inputSchema: import_zod.z.object({
1192
+ body: import_zod.z.object({ id: import_zod.z.string(), users: import_zod.z.string() }).passthrough()
1193
+ }).strict()
1194
+ },
1195
+ "slack.calls_update": {
1196
+ accept: "application/json",
1197
+ noContentStatuses: [],
1198
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1199
+ inputSchema: import_zod.z.object({
1200
+ body: import_zod.z.object({
1201
+ desktop_app_join_url: import_zod.z.string().optional(),
1202
+ id: import_zod.z.string(),
1203
+ join_url: import_zod.z.string().optional(),
1204
+ title: import_zod.z.string().optional()
1205
+ }).passthrough()
1206
+ }).strict()
1207
+ },
1208
+ "slack.chat_delete": {
1209
+ accept: "application/json",
1210
+ noContentStatuses: [],
1211
+ schema: import_zod.z.object({
1212
+ channel: import_zod.z.lazy(() => definitions["Outputdefs_channel"]).optional(),
1213
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
1214
+ ts: import_zod.z.lazy(() => definitions["Outputdefs_ts"]).optional()
1215
+ }).passthrough(),
1216
+ inputSchema: import_zod.z.object({
1217
+ body: import_zod.z.object({
1218
+ as_user: import_zod.z.boolean().optional(),
1219
+ channel: import_zod.z.string(),
1220
+ ts: import_zod.z.string()
1221
+ }).passthrough()
1222
+ }).strict()
1223
+ },
1224
+ "slack.chat_deletescheduledmessage": {
1225
+ accept: "application/json",
1226
+ noContentStatuses: [],
1227
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1228
+ inputSchema: import_zod.z.object({
1229
+ body: import_zod.z.object({
1230
+ as_user: import_zod.z.boolean().optional(),
1231
+ channel: import_zod.z.string(),
1232
+ scheduled_message_id: import_zod.z.string()
1233
+ }).passthrough()
1234
+ }).strict()
1235
+ },
1236
+ "slack.chat_getpermalink": {
1237
+ accept: "application/json",
1238
+ noContentStatuses: [],
1239
+ schema: import_zod.z.object({
1240
+ channel: import_zod.z.lazy(() => definitions["Outputdefs_channel"]).optional(),
1241
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
1242
+ permalink: import_zod.z.string().optional()
1243
+ }).passthrough(),
1244
+ inputSchema: import_zod.z.object({
1245
+ query: import_zod.z.object({ channel: import_zod.z.string(), message_ts: import_zod.z.string() }).strict()
1246
+ }).strict()
1247
+ },
1248
+ "slack.chat_memessage": {
1249
+ accept: "application/json",
1250
+ noContentStatuses: [],
1251
+ schema: import_zod.z.object({
1252
+ channel: import_zod.z.lazy(() => definitions["Outputdefs_channel"]).optional(),
1253
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
1254
+ ts: import_zod.z.lazy(() => definitions["Outputdefs_ts"]).optional()
1255
+ }).passthrough(),
1256
+ inputSchema: import_zod.z.object({
1257
+ body: import_zod.z.object({ channel: import_zod.z.string(), text: import_zod.z.string() }).passthrough()
1258
+ }).strict()
1259
+ },
1260
+ "slack.chat_postephemeral": {
1261
+ accept: "application/json",
1262
+ noContentStatuses: [],
1263
+ schema: import_zod.z.object({
1264
+ message_ts: import_zod.z.lazy(() => definitions["Outputdefs_ts"]).optional(),
1265
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"])
1266
+ }).passthrough(),
1267
+ inputSchema: import_zod.z.object({
1268
+ body: import_zod.z.object({
1269
+ as_user: import_zod.z.boolean().optional(),
1270
+ attachments: import_zod.z.string().optional(),
1271
+ blocks: import_zod.z.string().optional(),
1272
+ channel: import_zod.z.string(),
1273
+ icon_emoji: import_zod.z.string().optional(),
1274
+ icon_url: import_zod.z.string().optional(),
1275
+ link_names: import_zod.z.boolean().optional(),
1276
+ markdown_text: import_zod.z.string().optional(),
1277
+ metadata: import_zod.z.string().optional(),
1278
+ parse: import_zod.z.string().optional(),
1279
+ text: import_zod.z.string().optional(),
1280
+ thread_ts: import_zod.z.string().optional(),
1281
+ user: import_zod.z.string(),
1282
+ username: import_zod.z.string().optional()
1283
+ }).passthrough()
1284
+ }).strict()
1285
+ },
1286
+ "slack.chat_postmessage": {
1287
+ accept: "application/json",
1288
+ noContentStatuses: [],
1289
+ schema: import_zod.z.object({
1290
+ channel: import_zod.z.lazy(() => definitions["Outputdefs_channel"]).optional(),
1291
+ message: import_zod.z.lazy(() => definitions["Outputobjs_message"]).optional(),
1292
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
1293
+ ts: import_zod.z.lazy(() => definitions["Outputdefs_ts"]).optional()
1294
+ }).passthrough(),
1295
+ inputSchema: import_zod.z.object({
1296
+ body: import_zod.z.object({
1297
+ as_user: import_zod.z.boolean().optional(),
1298
+ attachments: import_zod.z.string().optional(),
1299
+ blocks: import_zod.z.string().optional(),
1300
+ channel: import_zod.z.string(),
1301
+ current_draft_last_updated_ts: import_zod.z.string().optional(),
1302
+ icon_emoji: import_zod.z.string().optional(),
1303
+ icon_url: import_zod.z.string().optional(),
1304
+ link_names: import_zod.z.boolean().optional(),
1305
+ markdown_text: import_zod.z.string().optional(),
1306
+ metadata: import_zod.z.string().optional(),
1307
+ mrkdwn: import_zod.z.boolean().optional(),
1308
+ parse: import_zod.z.string().optional(),
1309
+ reply_broadcast: import_zod.z.boolean().optional(),
1310
+ text: import_zod.z.string().optional(),
1311
+ thread_ts: import_zod.z.string().optional(),
1312
+ unfurl_app_links: import_zod.z.boolean().optional(),
1313
+ unfurl_links: import_zod.z.boolean().optional(),
1314
+ unfurl_media: import_zod.z.boolean().optional(),
1315
+ username: import_zod.z.string().optional()
1316
+ }).passthrough()
1317
+ }).strict()
1318
+ },
1319
+ "slack.chat_scheduledmessages_list": {
1320
+ accept: "application/json",
1321
+ noContentStatuses: [],
1322
+ schema: import_zod.z.object({
1323
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
1324
+ response_metadata: import_zod.z.object({ next_cursor: import_zod.z.string().optional() }).passthrough().optional(),
1325
+ scheduled_messages: import_zod.z.array(
1326
+ import_zod.z.object({
1327
+ channel_id: import_zod.z.lazy(() => definitions["Outputdefs_channel_id"]).optional(),
1328
+ date_created: import_zod.z.union([
1329
+ import_zod.z.number().int(),
1330
+ import_zod.z.string().regex(
1331
+ new RegExp(
1332
+ "^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"
1333
+ )
1334
+ )
1335
+ ]).optional(),
1336
+ id: import_zod.z.string().optional(),
1337
+ post_at: import_zod.z.union([
1338
+ import_zod.z.number().int(),
1339
+ import_zod.z.string().regex(
1340
+ new RegExp(
1341
+ "^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"
1342
+ )
1343
+ )
1344
+ ]).optional(),
1345
+ text: import_zod.z.string().optional()
1346
+ }).passthrough()
1347
+ ).optional()
1348
+ }).passthrough(),
1349
+ inputSchema: import_zod.z.object({
1350
+ query: import_zod.z.object({
1351
+ channel: import_zod.z.string().optional(),
1352
+ cursor: import_zod.z.string().optional(),
1353
+ latest: import_zod.z.string().optional(),
1354
+ limit: import_zod.z.number().int().optional(),
1355
+ oldest: import_zod.z.string().optional(),
1356
+ team_id: import_zod.z.string().optional()
1357
+ }).strict().optional()
1358
+ }).strict()
1359
+ },
1360
+ "slack.chat_schedulemessage": {
1361
+ accept: "application/json",
1362
+ noContentStatuses: [],
1363
+ schema: import_zod.z.object({
1364
+ channel: import_zod.z.lazy(() => definitions["Outputdefs_channel"]).optional(),
1365
+ message: import_zod.z.object({
1366
+ bot_id: import_zod.z.lazy(() => definitions["Outputdefs_bot_id"]).optional(),
1367
+ bot_profile: import_zod.z.lazy(() => definitions["Outputobjs_bot_profile"]).optional(),
1368
+ team: import_zod.z.lazy(() => definitions["Outputdefs_team"]).optional(),
1369
+ text: import_zod.z.string().optional(),
1370
+ type: import_zod.z.string().optional(),
1371
+ user: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
1372
+ username: import_zod.z.string().optional()
1373
+ }).passthrough().optional(),
1374
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
1375
+ post_at: import_zod.z.union([
1376
+ import_zod.z.number().int(),
1377
+ import_zod.z.string().regex(
1378
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
1379
+ )
1380
+ ]).optional(),
1381
+ scheduled_message_id: import_zod.z.string().optional()
1382
+ }).passthrough(),
1383
+ inputSchema: import_zod.z.object({
1384
+ body: import_zod.z.object({
1385
+ as_user: import_zod.z.boolean().optional(),
1386
+ attachments: import_zod.z.string().optional(),
1387
+ blocks: import_zod.z.string().optional(),
1388
+ channel: import_zod.z.string(),
1389
+ link_names: import_zod.z.boolean().optional(),
1390
+ markdown_text: import_zod.z.string().optional(),
1391
+ metadata: import_zod.z.string().optional(),
1392
+ parse: import_zod.z.string().optional(),
1393
+ post_at: import_zod.z.number().int(),
1394
+ reply_broadcast: import_zod.z.boolean().optional(),
1395
+ text: import_zod.z.string().optional(),
1396
+ thread_ts: import_zod.z.string().optional(),
1397
+ unfurl_links: import_zod.z.boolean().optional(),
1398
+ unfurl_media: import_zod.z.boolean().optional()
1399
+ }).passthrough()
1400
+ }).strict()
1401
+ },
1402
+ "slack.chat_unfurl": {
1403
+ accept: "application/json",
1404
+ noContentStatuses: [],
1405
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1406
+ inputSchema: import_zod.z.object({
1407
+ body: import_zod.z.object({
1408
+ channel: import_zod.z.string().optional(),
1409
+ source: import_zod.z.string().optional(),
1410
+ ts: import_zod.z.string().optional(),
1411
+ unfurl_id: import_zod.z.string().optional(),
1412
+ unfurls: import_zod.z.string().optional(),
1413
+ user_auth_blocks: import_zod.z.string().optional(),
1414
+ user_auth_message: import_zod.z.string().optional(),
1415
+ user_auth_required: import_zod.z.boolean().optional(),
1416
+ user_auth_url: import_zod.z.string().optional()
1417
+ }).passthrough().optional()
1418
+ }).strict()
1419
+ },
1420
+ "slack.chat_update": {
1421
+ accept: "application/json",
1422
+ noContentStatuses: [],
1423
+ schema: import_zod.z.object({
1424
+ channel: import_zod.z.string().optional(),
1425
+ message: import_zod.z.object({
1426
+ attachments: import_zod.z.array(import_zod.z.object({}).passthrough()).optional(),
1427
+ blocks: import_zod.z.object({}).passthrough().optional(),
1428
+ text: import_zod.z.string().optional()
1429
+ }).passthrough().optional(),
1430
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
1431
+ text: import_zod.z.string().optional(),
1432
+ ts: import_zod.z.string().optional()
1433
+ }).passthrough(),
1434
+ inputSchema: import_zod.z.object({
1435
+ body: import_zod.z.object({
1436
+ as_user: import_zod.z.boolean().optional(),
1437
+ attachments: import_zod.z.string().optional(),
1438
+ blocks: import_zod.z.string().optional(),
1439
+ channel: import_zod.z.string(),
1440
+ file_ids: import_zod.z.string().optional(),
1441
+ link_names: import_zod.z.boolean().optional(),
1442
+ markdown_text: import_zod.z.string().optional(),
1443
+ metadata: import_zod.z.string().optional(),
1444
+ parse: import_zod.z.string().optional(),
1445
+ reply_broadcast: import_zod.z.boolean().optional(),
1446
+ text: import_zod.z.string().optional(),
1447
+ ts: import_zod.z.string(),
1448
+ unfurled_attachments: import_zod.z.string().optional()
1449
+ }).passthrough()
1450
+ }).strict()
1451
+ },
1452
+ "slack.conversations_archive": {
1453
+ accept: "application/json",
1454
+ noContentStatuses: [],
1455
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1456
+ inputSchema: import_zod.z.object({ body: import_zod.z.object({ channel: import_zod.z.string() }).passthrough() }).strict()
1457
+ },
1458
+ "slack.conversations_close": {
1459
+ accept: "application/json",
1460
+ noContentStatuses: [],
1461
+ schema: import_zod.z.object({
1462
+ already_closed: import_zod.z.boolean().optional(),
1463
+ no_op: import_zod.z.boolean().optional(),
1464
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"])
1465
+ }).passthrough(),
1466
+ inputSchema: import_zod.z.object({ body: import_zod.z.object({ channel: import_zod.z.string() }).passthrough() }).strict()
1467
+ },
1468
+ "slack.conversations_create": {
1469
+ accept: "application/json",
1470
+ noContentStatuses: [],
1471
+ schema: import_zod.z.object({
1472
+ channel: import_zod.z.lazy(() => definitions["Outputobjs_conversation"]).optional(),
1473
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"])
1474
+ }).passthrough(),
1475
+ inputSchema: import_zod.z.object({
1476
+ body: import_zod.z.object({
1477
+ is_private: import_zod.z.boolean().optional(),
1478
+ name: import_zod.z.string(),
1479
+ team_id: import_zod.z.string().optional()
1480
+ }).passthrough()
1481
+ }).strict()
1482
+ },
1483
+ "slack.conversations_history": {
1484
+ accept: "application/json",
1485
+ noContentStatuses: [],
1486
+ schema: import_zod.z.object({
1487
+ channel_actions_count: import_zod.z.union([
1488
+ import_zod.z.number().int(),
1489
+ import_zod.z.string().regex(
1490
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
1491
+ )
1492
+ ]).optional(),
1493
+ channel_actions_ts: import_zod.z.union([
1494
+ import_zod.z.union([
1495
+ import_zod.z.number().int(),
1496
+ import_zod.z.string().regex(
1497
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
1498
+ )
1499
+ ]),
1500
+ import_zod.z.null()
1501
+ ]).optional(),
1502
+ has_more: import_zod.z.boolean().optional(),
1503
+ messages: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputobjs_message"])).optional(),
1504
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
1505
+ pin_count: import_zod.z.union([
1506
+ import_zod.z.number().int(),
1507
+ import_zod.z.string().regex(
1508
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
1509
+ )
1510
+ ]).optional()
1511
+ }).passthrough(),
1512
+ inputSchema: import_zod.z.object({
1513
+ query: import_zod.z.object({
1514
+ channel: import_zod.z.string(),
1515
+ cursor: import_zod.z.string().optional(),
1516
+ include_all_metadata: import_zod.z.boolean().optional(),
1517
+ inclusive: import_zod.z.boolean().optional(),
1518
+ latest: import_zod.z.string().optional(),
1519
+ limit: import_zod.z.number().finite().optional(),
1520
+ oldest: import_zod.z.string().optional()
1521
+ }).strict()
1522
+ }).strict()
1523
+ },
1524
+ "slack.conversations_info": {
1525
+ accept: "application/json",
1526
+ noContentStatuses: [],
1527
+ schema: import_zod.z.object({
1528
+ channel: import_zod.z.lazy(() => definitions["Outputobjs_conversation"]).optional(),
1529
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"])
1530
+ }).passthrough(),
1531
+ inputSchema: import_zod.z.object({
1532
+ query: import_zod.z.object({
1533
+ channel: import_zod.z.string(),
1534
+ include_locale: import_zod.z.boolean().optional(),
1535
+ include_num_members: import_zod.z.boolean().optional()
1536
+ }).strict()
1537
+ }).strict()
1538
+ },
1539
+ "slack.conversations_invite": {
1540
+ accept: "application/json",
1541
+ noContentStatuses: [],
1542
+ schema: import_zod.z.object({
1543
+ channel: import_zod.z.lazy(() => definitions["Outputobjs_conversation"]).optional(),
1544
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"])
1545
+ }).passthrough(),
1546
+ inputSchema: import_zod.z.object({
1547
+ body: import_zod.z.object({
1548
+ channel: import_zod.z.string(),
1549
+ force: import_zod.z.boolean().optional(),
1550
+ users: import_zod.z.string()
1551
+ }).passthrough()
1552
+ }).strict()
1553
+ },
1554
+ "slack.conversations_join": {
1555
+ accept: "application/json",
1556
+ noContentStatuses: [],
1557
+ schema: import_zod.z.object({
1558
+ channel: import_zod.z.lazy(() => definitions["Outputobjs_conversation"]).optional(),
1559
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
1560
+ response_metadata: import_zod.z.object({ warnings: import_zod.z.array(import_zod.z.string()).optional() }).passthrough().optional(),
1561
+ warning: import_zod.z.string().optional()
1562
+ }).passthrough(),
1563
+ inputSchema: import_zod.z.object({ body: import_zod.z.object({ channel: import_zod.z.string() }).passthrough() }).strict()
1564
+ },
1565
+ "slack.conversations_kick": {
1566
+ accept: "application/json",
1567
+ noContentStatuses: [],
1568
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1569
+ inputSchema: import_zod.z.object({
1570
+ body: import_zod.z.object({ channel: import_zod.z.string(), user: import_zod.z.string().optional() }).passthrough()
1571
+ }).strict()
1572
+ },
1573
+ "slack.conversations_leave": {
1574
+ accept: "application/json",
1575
+ noContentStatuses: [],
1576
+ schema: import_zod.z.object({
1577
+ not_in_channel: import_zod.z.boolean().optional(),
1578
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"])
1579
+ }).passthrough(),
1580
+ inputSchema: import_zod.z.object({ body: import_zod.z.object({ channel: import_zod.z.string() }).passthrough() }).strict()
1581
+ },
1582
+ "slack.conversations_list": {
1583
+ accept: "application/json",
1584
+ noContentStatuses: [],
1585
+ schema: import_zod.z.object({
1586
+ channels: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputobjs_conversation"])).optional(),
1587
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
1588
+ response_metadata: import_zod.z.object({ next_cursor: import_zod.z.string().optional() }).passthrough().optional()
1589
+ }).passthrough(),
1590
+ inputSchema: import_zod.z.object({
1591
+ query: import_zod.z.object({
1592
+ cursor: import_zod.z.string().optional(),
1593
+ exclude_archived: import_zod.z.boolean().optional(),
1594
+ limit: import_zod.z.number().finite().optional(),
1595
+ team_id: import_zod.z.string().optional(),
1596
+ types: import_zod.z.string().optional()
1597
+ }).strict().optional()
1598
+ }).strict()
1599
+ },
1600
+ "slack.conversations_mark": {
1601
+ accept: "application/json",
1602
+ noContentStatuses: [],
1603
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1604
+ inputSchema: import_zod.z.object({
1605
+ body: import_zod.z.object({ channel: import_zod.z.string(), ts: import_zod.z.string() }).passthrough()
1606
+ }).strict()
1607
+ },
1608
+ "slack.conversations_members": {
1609
+ accept: "application/json",
1610
+ noContentStatuses: [],
1611
+ schema: import_zod.z.object({
1612
+ members: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_user_id"])).optional(),
1613
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
1614
+ response_metadata: import_zod.z.object({ next_cursor: import_zod.z.string().optional() }).passthrough().optional()
1615
+ }).passthrough(),
1616
+ inputSchema: import_zod.z.object({
1617
+ query: import_zod.z.object({
1618
+ channel: import_zod.z.string(),
1619
+ cursor: import_zod.z.string().optional(),
1620
+ limit: import_zod.z.number().finite().optional()
1621
+ }).strict()
1622
+ }).strict()
1623
+ },
1624
+ "slack.conversations_open": {
1625
+ accept: "application/json",
1626
+ noContentStatuses: [],
1627
+ schema: import_zod.z.object({
1628
+ already_open: import_zod.z.boolean().optional(),
1629
+ channel: import_zod.z.union([
1630
+ import_zod.z.lazy(() => definitions["Outputobjs_conversation"]),
1631
+ import_zod.z.object({
1632
+ created: import_zod.z.string().optional(),
1633
+ id: import_zod.z.lazy(() => definitions["Outputdefs_dm_id"]).optional(),
1634
+ is_im: import_zod.z.boolean().optional(),
1635
+ is_open: import_zod.z.boolean().optional(),
1636
+ last_read: import_zod.z.lazy(() => definitions["Outputdefs_ts"]).optional(),
1637
+ latest: import_zod.z.lazy(() => definitions["Outputobjs_message"]).optional(),
1638
+ unread_count: import_zod.z.union([
1639
+ import_zod.z.number().finite(),
1640
+ import_zod.z.string().regex(
1641
+ new RegExp(
1642
+ "^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"
1643
+ )
1644
+ )
1645
+ ]).optional(),
1646
+ unread_count_display: import_zod.z.union([
1647
+ import_zod.z.number().finite(),
1648
+ import_zod.z.string().regex(
1649
+ new RegExp(
1650
+ "^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"
1651
+ )
1652
+ )
1653
+ ]).optional(),
1654
+ user: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional()
1655
+ }).passthrough()
1656
+ ]).optional(),
1657
+ no_op: import_zod.z.boolean().optional(),
1658
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"])
1659
+ }).passthrough(),
1660
+ inputSchema: import_zod.z.object({
1661
+ body: import_zod.z.object({
1662
+ channel: import_zod.z.string().optional(),
1663
+ prevent_creation: import_zod.z.boolean().optional(),
1664
+ return_im: import_zod.z.boolean().optional(),
1665
+ users: import_zod.z.string().optional()
1666
+ }).passthrough().optional()
1667
+ }).strict()
1668
+ },
1669
+ "slack.conversations_rename": {
1670
+ accept: "application/json",
1671
+ noContentStatuses: [],
1672
+ schema: import_zod.z.object({
1673
+ channel: import_zod.z.lazy(() => definitions["Outputobjs_conversation"]).optional(),
1674
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"])
1675
+ }).passthrough(),
1676
+ inputSchema: import_zod.z.object({
1677
+ body: import_zod.z.object({ channel: import_zod.z.string(), name: import_zod.z.string() }).passthrough()
1678
+ }).strict()
1679
+ },
1680
+ "slack.conversations_replies": {
1681
+ accept: "application/json",
1682
+ noContentStatuses: [],
1683
+ schema: import_zod.z.object({
1684
+ has_more: import_zod.z.boolean().optional(),
1685
+ messages: import_zod.z.array(
1686
+ import_zod.z.union([
1687
+ import_zod.z.object({
1688
+ last_read: import_zod.z.lazy(() => definitions["Outputdefs_ts"]).optional(),
1689
+ latest_reply: import_zod.z.lazy(() => definitions["Outputdefs_ts"]).optional(),
1690
+ reply_count: import_zod.z.union([
1691
+ import_zod.z.number().int(),
1692
+ import_zod.z.string().regex(
1693
+ new RegExp(
1694
+ "^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"
1695
+ )
1696
+ )
1697
+ ]).optional(),
1698
+ reply_users: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_user_id"])).optional(),
1699
+ reply_users_count: import_zod.z.union([
1700
+ import_zod.z.number().int(),
1701
+ import_zod.z.string().regex(
1702
+ new RegExp(
1703
+ "^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"
1704
+ )
1705
+ )
1706
+ ]).optional(),
1707
+ source_team: import_zod.z.lazy(() => definitions["Outputdefs_team"]).optional(),
1708
+ subscribed: import_zod.z.boolean().optional(),
1709
+ team: import_zod.z.lazy(() => definitions["Outputdefs_team"]).optional(),
1710
+ text: import_zod.z.string().optional(),
1711
+ thread_ts: import_zod.z.lazy(() => definitions["Outputdefs_ts"]).optional(),
1712
+ ts: import_zod.z.lazy(() => definitions["Outputdefs_ts"]).optional(),
1713
+ type: import_zod.z.string().optional(),
1714
+ unread_count: import_zod.z.union([
1715
+ import_zod.z.number().int(),
1716
+ import_zod.z.string().regex(
1717
+ new RegExp(
1718
+ "^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"
1719
+ )
1720
+ )
1721
+ ]).optional(),
1722
+ user: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
1723
+ user_profile: import_zod.z.lazy(() => definitions["Outputobjs_user_profile_short"]).optional(),
1724
+ user_team: import_zod.z.lazy(() => definitions["Outputdefs_team"]).optional()
1725
+ }).passthrough(),
1726
+ import_zod.z.object({
1727
+ is_starred: import_zod.z.boolean().optional(),
1728
+ parent_user_id: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
1729
+ source_team: import_zod.z.lazy(() => definitions["Outputdefs_team"]).optional(),
1730
+ team: import_zod.z.lazy(() => definitions["Outputdefs_team"]).optional(),
1731
+ text: import_zod.z.string().optional(),
1732
+ thread_ts: import_zod.z.lazy(() => definitions["Outputdefs_ts"]).optional(),
1733
+ ts: import_zod.z.lazy(() => definitions["Outputdefs_ts"]).optional(),
1734
+ type: import_zod.z.string().optional(),
1735
+ user: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
1736
+ user_profile: import_zod.z.lazy(() => definitions["Outputobjs_user_profile_short"]).optional(),
1737
+ user_team: import_zod.z.lazy(() => definitions["Outputdefs_team"]).optional()
1738
+ }).passthrough()
1739
+ ])
1740
+ ).optional(),
1741
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"])
1742
+ }).passthrough(),
1743
+ inputSchema: import_zod.z.object({
1744
+ query: import_zod.z.object({
1745
+ channel: import_zod.z.string(),
1746
+ cursor: import_zod.z.string().optional(),
1747
+ include_all_metadata: import_zod.z.boolean().optional(),
1748
+ inclusive: import_zod.z.boolean().optional(),
1749
+ latest: import_zod.z.string().optional(),
1750
+ limit: import_zod.z.number().finite().optional(),
1751
+ oldest: import_zod.z.string().optional(),
1752
+ ts: import_zod.z.string()
1753
+ }).strict()
1754
+ }).strict()
1755
+ },
1756
+ "slack.conversations_setpurpose": {
1757
+ accept: "application/json",
1758
+ noContentStatuses: [],
1759
+ schema: import_zod.z.object({
1760
+ channel: import_zod.z.lazy(() => definitions["Outputobjs_conversation"]).optional(),
1761
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"])
1762
+ }).passthrough(),
1763
+ inputSchema: import_zod.z.object({
1764
+ body: import_zod.z.object({ channel: import_zod.z.string(), purpose: import_zod.z.string() }).passthrough()
1765
+ }).strict()
1766
+ },
1767
+ "slack.conversations_settopic": {
1768
+ accept: "application/json",
1769
+ noContentStatuses: [],
1770
+ schema: import_zod.z.object({
1771
+ channel: import_zod.z.lazy(() => definitions["Outputobjs_conversation"]).optional(),
1772
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"])
1773
+ }).passthrough(),
1774
+ inputSchema: import_zod.z.object({
1775
+ body: import_zod.z.object({ channel: import_zod.z.string(), topic: import_zod.z.string() }).passthrough()
1776
+ }).strict()
1777
+ },
1778
+ "slack.conversations_unarchive": {
1779
+ accept: "application/json",
1780
+ noContentStatuses: [],
1781
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1782
+ inputSchema: import_zod.z.object({ body: import_zod.z.object({ channel: import_zod.z.string() }).passthrough() }).strict()
1783
+ },
1784
+ "slack.dialog_open": {
1785
+ accept: "application/json",
1786
+ noContentStatuses: [],
1787
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1788
+ inputSchema: import_zod.z.object({
1789
+ body: import_zod.z.object({ dialog: import_zod.z.string(), trigger_id: import_zod.z.string() }).passthrough()
1790
+ }).strict()
1791
+ },
1792
+ "slack.dnd_info": {
1793
+ accept: "application/json",
1794
+ noContentStatuses: [],
1795
+ schema: import_zod.z.object({
1796
+ dnd_enabled: import_zod.z.boolean().optional(),
1797
+ next_dnd_end_ts: import_zod.z.union([
1798
+ import_zod.z.number().int(),
1799
+ import_zod.z.string().regex(
1800
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
1801
+ )
1802
+ ]).optional(),
1803
+ next_dnd_start_ts: import_zod.z.union([
1804
+ import_zod.z.number().int(),
1805
+ import_zod.z.string().regex(
1806
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
1807
+ )
1808
+ ]).optional(),
1809
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
1810
+ snooze_enabled: import_zod.z.boolean().optional(),
1811
+ snooze_endtime: import_zod.z.union([
1812
+ import_zod.z.number().int(),
1813
+ import_zod.z.string().regex(
1814
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
1815
+ )
1816
+ ]).optional(),
1817
+ snooze_remaining: import_zod.z.union([
1818
+ import_zod.z.number().int(),
1819
+ import_zod.z.string().regex(
1820
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
1821
+ )
1822
+ ]).optional()
1823
+ }).passthrough(),
1824
+ inputSchema: import_zod.z.object({
1825
+ query: import_zod.z.object({
1826
+ team_id: import_zod.z.string().optional(),
1827
+ user: import_zod.z.string().optional()
1828
+ }).strict().optional()
1829
+ }).strict()
1830
+ },
1831
+ "slack.dnd_teaminfo": {
1832
+ accept: "application/json",
1833
+ noContentStatuses: [],
1834
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1835
+ inputSchema: import_zod.z.object({
1836
+ query: import_zod.z.object({ team_id: import_zod.z.string().optional(), users: import_zod.z.string() }).strict()
1837
+ }).strict()
1838
+ },
1839
+ "slack.emoji_list": {
1840
+ accept: "application/json",
1841
+ noContentStatuses: [],
1842
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1843
+ inputSchema: import_zod.z.object({
1844
+ query: import_zod.z.object({ include_categories: import_zod.z.boolean().optional() }).strict().optional()
1845
+ }).strict()
1846
+ },
1847
+ "slack.files_comments_delete": {
1848
+ accept: "application/json",
1849
+ noContentStatuses: [],
1850
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1851
+ inputSchema: import_zod.z.object({
1852
+ body: import_zod.z.object({ file: import_zod.z.string(), id: import_zod.z.string() }).passthrough()
1853
+ }).strict()
1854
+ },
1855
+ "slack.files_delete": {
1856
+ accept: "application/json",
1857
+ noContentStatuses: [],
1858
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1859
+ inputSchema: import_zod.z.object({ body: import_zod.z.object({ file: import_zod.z.string() }).passthrough() }).strict()
1860
+ },
1861
+ "slack.files_info": {
1862
+ accept: "application/json",
1863
+ noContentStatuses: [],
1864
+ schema: import_zod.z.object({
1865
+ comments: import_zod.z.lazy(() => definitions["Outputobjs_comments"]).optional(),
1866
+ content_html: import_zod.z.null().optional(),
1867
+ editor: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
1868
+ file: import_zod.z.lazy(() => definitions["Outputobjs_file"]).optional(),
1869
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
1870
+ paging: import_zod.z.lazy(() => definitions["Outputobjs_paging"]).optional(),
1871
+ response_metadata: import_zod.z.lazy(() => definitions["Outputobjs_response_metadata"]).optional()
1872
+ }).passthrough(),
1873
+ inputSchema: import_zod.z.object({
1874
+ query: import_zod.z.object({
1875
+ count: import_zod.z.number().int().optional(),
1876
+ cursor: import_zod.z.string().optional(),
1877
+ file: import_zod.z.string(),
1878
+ limit: import_zod.z.number().int().optional(),
1879
+ page: import_zod.z.number().int().optional()
1880
+ }).strict()
1881
+ }).strict()
1882
+ },
1883
+ "slack.files_list": {
1884
+ accept: "application/json",
1885
+ noContentStatuses: [],
1886
+ schema: import_zod.z.object({
1887
+ files: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputobjs_file"])).optional(),
1888
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
1889
+ paging: import_zod.z.lazy(() => definitions["Outputobjs_paging"]).optional()
1890
+ }).passthrough(),
1891
+ inputSchema: import_zod.z.object({
1892
+ query: import_zod.z.object({
1893
+ channel: import_zod.z.string().optional(),
1894
+ count: import_zod.z.string().optional(),
1895
+ page: import_zod.z.string().optional(),
1896
+ show_files_hidden_by_limit: import_zod.z.boolean().optional(),
1897
+ team_id: import_zod.z.string().optional(),
1898
+ ts_from: import_zod.z.string().optional(),
1899
+ ts_to: import_zod.z.string().optional(),
1900
+ types: import_zod.z.string().optional(),
1901
+ user: import_zod.z.string().optional()
1902
+ }).strict().optional()
1903
+ }).strict()
1904
+ },
1905
+ "slack.files_remote_add": {
1906
+ accept: "application/json",
1907
+ noContentStatuses: [],
1908
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1909
+ inputSchema: import_zod.z.object({
1910
+ body: import_zod.z.object({
1911
+ external_id: import_zod.z.string(),
1912
+ external_url: import_zod.z.string(),
1913
+ filetype: import_zod.z.string().optional(),
1914
+ indexable_file_contents: import_zod.z.object({
1915
+ filename: import_zod.z.string().min(1),
1916
+ content_type: import_zod.z.string().min(1),
1917
+ content_base64: import_zod.z.string()
1918
+ }).strict().optional(),
1919
+ preview_image: import_zod.z.object({
1920
+ filename: import_zod.z.string().min(1),
1921
+ content_type: import_zod.z.string().min(1),
1922
+ content_base64: import_zod.z.string()
1923
+ }).strict().optional(),
1924
+ title: import_zod.z.string()
1925
+ }).passthrough()
1926
+ }).strict()
1927
+ },
1928
+ "slack.files_remote_info": {
1929
+ accept: "application/json",
1930
+ noContentStatuses: [],
1931
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1932
+ inputSchema: import_zod.z.object({
1933
+ query: import_zod.z.object({
1934
+ external_id: import_zod.z.string().optional(),
1935
+ file: import_zod.z.string().optional()
1936
+ }).strict().optional()
1937
+ }).strict()
1938
+ },
1939
+ "slack.files_remote_list": {
1940
+ accept: "application/json",
1941
+ noContentStatuses: [],
1942
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1943
+ inputSchema: import_zod.z.object({
1944
+ query: import_zod.z.object({
1945
+ channel: import_zod.z.string().optional(),
1946
+ cursor: import_zod.z.string().optional(),
1947
+ limit: import_zod.z.number().int().optional(),
1948
+ ts_from: import_zod.z.string().optional(),
1949
+ ts_to: import_zod.z.string().optional()
1950
+ }).strict().optional()
1951
+ }).strict()
1952
+ },
1953
+ "slack.files_remote_remove": {
1954
+ accept: "application/json",
1955
+ noContentStatuses: [],
1956
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1957
+ inputSchema: import_zod.z.object({
1958
+ body: import_zod.z.object({
1959
+ external_id: import_zod.z.string().optional(),
1960
+ file: import_zod.z.string().optional()
1961
+ }).passthrough().optional()
1962
+ }).strict()
1963
+ },
1964
+ "slack.files_remote_share": {
1965
+ accept: "application/json",
1966
+ noContentStatuses: [],
1967
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1968
+ inputSchema: import_zod.z.object({
1969
+ query: import_zod.z.object({
1970
+ channels: import_zod.z.string(),
1971
+ external_id: import_zod.z.string().optional(),
1972
+ file: import_zod.z.string().optional()
1973
+ }).strict()
1974
+ }).strict()
1975
+ },
1976
+ "slack.files_remote_update": {
1977
+ accept: "application/json",
1978
+ noContentStatuses: [],
1979
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
1980
+ inputSchema: import_zod.z.object({
1981
+ body: import_zod.z.object({
1982
+ external_id: import_zod.z.string().optional(),
1983
+ external_url: import_zod.z.string().optional(),
1984
+ file: import_zod.z.string().optional(),
1985
+ filetype: import_zod.z.string().optional(),
1986
+ indexable_file_contents: import_zod.z.object({
1987
+ filename: import_zod.z.string().min(1),
1988
+ content_type: import_zod.z.string().min(1),
1989
+ content_base64: import_zod.z.string()
1990
+ }).strict().optional(),
1991
+ preview_image: import_zod.z.object({
1992
+ filename: import_zod.z.string().min(1),
1993
+ content_type: import_zod.z.string().min(1),
1994
+ content_base64: import_zod.z.string()
1995
+ }).strict().optional(),
1996
+ title: import_zod.z.string().optional()
1997
+ }).passthrough().optional()
1998
+ }).strict()
1999
+ },
2000
+ "slack.files_revokepublicurl": {
2001
+ accept: "application/json",
2002
+ noContentStatuses: [],
2003
+ schema: import_zod.z.object({
2004
+ file: import_zod.z.lazy(() => definitions["Outputobjs_file"]).optional(),
2005
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"])
2006
+ }).passthrough(),
2007
+ inputSchema: import_zod.z.object({ body: import_zod.z.object({ file: import_zod.z.string() }).passthrough() }).strict()
2008
+ },
2009
+ "slack.migration_exchange": {
2010
+ accept: "application/json",
2011
+ noContentStatuses: [],
2012
+ schema: import_zod.z.object({
2013
+ enterprise_id: import_zod.z.string().optional(),
2014
+ invalid_user_ids: import_zod.z.array(import_zod.z.string()).optional(),
2015
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
2016
+ team_id: import_zod.z.lazy(() => definitions["Outputdefs_team"]).optional(),
2017
+ user_id_map: import_zod.z.object({}).passthrough().optional()
2018
+ }).passthrough(),
2019
+ inputSchema: import_zod.z.object({
2020
+ query: import_zod.z.object({
2021
+ team_id: import_zod.z.string().optional(),
2022
+ to_old: import_zod.z.boolean().optional(),
2023
+ users: import_zod.z.string()
2024
+ }).strict()
2025
+ }).strict()
2026
+ },
2027
+ "slack.pins_add": {
2028
+ accept: "application/json",
2029
+ noContentStatuses: [],
2030
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
2031
+ inputSchema: import_zod.z.object({
2032
+ body: import_zod.z.object({ channel: import_zod.z.string(), timestamp: import_zod.z.string().optional() }).passthrough()
2033
+ }).strict()
2034
+ },
2035
+ "slack.pins_list": {
2036
+ accept: "application/json",
2037
+ noContentStatuses: [],
2038
+ schema: import_zod.z.union([
2039
+ import_zod.z.object({
2040
+ items: import_zod.z.array(
2041
+ import_zod.z.union([
2042
+ import_zod.z.object({
2043
+ created: import_zod.z.union([
2044
+ import_zod.z.number().int(),
2045
+ import_zod.z.string().regex(
2046
+ new RegExp(
2047
+ "^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"
2048
+ )
2049
+ )
2050
+ ]).optional(),
2051
+ created_by: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
2052
+ file: import_zod.z.lazy(() => definitions["Outputobjs_file"]).optional(),
2053
+ type: import_zod.z.string().optional()
2054
+ }).passthrough(),
2055
+ import_zod.z.object({
2056
+ channel: import_zod.z.lazy(() => definitions["Outputdefs_channel"]).optional(),
2057
+ created: import_zod.z.union([
2058
+ import_zod.z.number().int(),
2059
+ import_zod.z.string().regex(
2060
+ new RegExp(
2061
+ "^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$"
2062
+ )
2063
+ )
2064
+ ]).optional(),
2065
+ created_by: import_zod.z.lazy(() => definitions["Outputdefs_user_id"]).optional(),
2066
+ message: import_zod.z.lazy(() => definitions["Outputobjs_message"]).optional(),
2067
+ type: import_zod.z.string().optional()
2068
+ }).passthrough()
2069
+ ])
2070
+ ).optional(),
2071
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]).optional()
2072
+ }).passthrough(),
2073
+ import_zod.z.object({
2074
+ count: import_zod.z.union([
2075
+ import_zod.z.number().int(),
2076
+ import_zod.z.string().regex(
2077
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
2078
+ )
2079
+ ]).optional(),
2080
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]).optional()
2081
+ }).passthrough()
2082
+ ]),
2083
+ inputSchema: import_zod.z.object({ query: import_zod.z.object({ channel: import_zod.z.string() }).strict() }).strict()
2084
+ },
2085
+ "slack.pins_remove": {
2086
+ accept: "application/json",
2087
+ noContentStatuses: [],
2088
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
2089
+ inputSchema: import_zod.z.object({
2090
+ body: import_zod.z.object({ channel: import_zod.z.string(), timestamp: import_zod.z.string().optional() }).passthrough()
2091
+ }).strict()
2092
+ },
2093
+ "slack.reactions_add": {
2094
+ accept: "application/json",
2095
+ noContentStatuses: [],
2096
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
2097
+ inputSchema: import_zod.z.object({
2098
+ body: import_zod.z.object({
2099
+ channel: import_zod.z.string(),
2100
+ name: import_zod.z.string(),
2101
+ timestamp: import_zod.z.string()
2102
+ }).passthrough()
2103
+ }).strict()
2104
+ },
2105
+ "slack.reactions_get": {
2106
+ accept: "application/json",
2107
+ noContentStatuses: [],
2108
+ schema: import_zod.z.intersection(
2109
+ import_zod.z.object({}).passthrough(),
2110
+ import_zod.z.union([import_zod.z.unknown(), import_zod.z.unknown(), import_zod.z.unknown()])
2111
+ ),
2112
+ inputSchema: import_zod.z.object({
2113
+ query: import_zod.z.object({
2114
+ channel: import_zod.z.string().optional(),
2115
+ file: import_zod.z.string().optional(),
2116
+ file_comment: import_zod.z.string().optional(),
2117
+ full: import_zod.z.boolean().optional(),
2118
+ timestamp: import_zod.z.string().optional()
2119
+ }).strict().optional()
2120
+ }).strict()
2121
+ },
2122
+ "slack.reactions_list": {
2123
+ accept: "application/json",
2124
+ noContentStatuses: [],
2125
+ schema: import_zod.z.object({
2126
+ items: import_zod.z.array(
2127
+ import_zod.z.union([
2128
+ import_zod.z.object({
2129
+ channel: import_zod.z.lazy(() => definitions["Outputdefs_channel"]).optional(),
2130
+ message: import_zod.z.lazy(() => definitions["Outputobjs_message"]).optional(),
2131
+ type: import_zod.z.string().optional()
2132
+ }).passthrough(),
2133
+ import_zod.z.object({
2134
+ file: import_zod.z.lazy(() => definitions["Outputobjs_file"]).optional(),
2135
+ type: import_zod.z.string().optional()
2136
+ }).passthrough(),
2137
+ import_zod.z.object({
2138
+ comment: import_zod.z.lazy(() => definitions["Outputobjs_comment"]).optional(),
2139
+ file: import_zod.z.lazy(() => definitions["Outputobjs_file"]).optional(),
2140
+ type: import_zod.z.string().optional()
2141
+ }).passthrough()
2142
+ ])
2143
+ ).optional(),
2144
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
2145
+ paging: import_zod.z.lazy(() => definitions["Outputobjs_paging"]).optional(),
2146
+ response_metadata: import_zod.z.lazy(() => definitions["Outputobjs_response_metadata"]).optional()
2147
+ }).passthrough(),
2148
+ inputSchema: import_zod.z.object({
2149
+ query: import_zod.z.object({
2150
+ count: import_zod.z.number().int().optional(),
2151
+ cursor: import_zod.z.string().optional(),
2152
+ full: import_zod.z.boolean().optional(),
2153
+ limit: import_zod.z.number().int().optional(),
2154
+ page: import_zod.z.number().int().optional(),
2155
+ team_id: import_zod.z.string().optional(),
2156
+ user: import_zod.z.string().optional()
2157
+ }).strict().optional()
2158
+ }).strict()
2159
+ },
2160
+ "slack.reactions_remove": {
2161
+ accept: "application/json",
2162
+ noContentStatuses: [],
2163
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
2164
+ inputSchema: import_zod.z.object({
2165
+ body: import_zod.z.object({
2166
+ channel: import_zod.z.string().optional(),
2167
+ file: import_zod.z.string().optional(),
2168
+ file_comment: import_zod.z.string().optional(),
2169
+ name: import_zod.z.string(),
2170
+ timestamp: import_zod.z.string().optional()
2171
+ }).passthrough()
2172
+ }).strict()
2173
+ },
2174
+ "slack.team_info": {
2175
+ accept: "application/json",
2176
+ noContentStatuses: [],
2177
+ schema: import_zod.z.object({
2178
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
2179
+ team: import_zod.z.lazy(() => definitions["Outputobjs_team"]).optional()
2180
+ }).passthrough(),
2181
+ inputSchema: import_zod.z.object({
2182
+ query: import_zod.z.object({
2183
+ domain: import_zod.z.string().optional(),
2184
+ team: import_zod.z.string().optional()
2185
+ }).strict().optional()
2186
+ }).strict()
2187
+ },
2188
+ "slack.team_profile_get": {
2189
+ accept: "application/json",
2190
+ noContentStatuses: [],
2191
+ schema: import_zod.z.object({
2192
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
2193
+ profile: import_zod.z.object({
2194
+ fields: import_zod.z.array(
2195
+ import_zod.z.lazy(() => definitions["Outputobjs_team_profile_field"])
2196
+ ).optional()
2197
+ }).passthrough().optional()
2198
+ }).passthrough(),
2199
+ inputSchema: import_zod.z.object({
2200
+ query: import_zod.z.object({ visibility: import_zod.z.string().optional() }).strict().optional()
2201
+ }).strict()
2202
+ },
2203
+ "slack.usergroups_create": {
2204
+ accept: "application/json",
2205
+ noContentStatuses: [],
2206
+ schema: import_zod.z.object({
2207
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
2208
+ usergroup: import_zod.z.lazy(() => definitions["Outputobjs_subteam"]).optional()
2209
+ }).passthrough(),
2210
+ inputSchema: import_zod.z.object({
2211
+ body: import_zod.z.object({
2212
+ additional_channels: import_zod.z.string().optional(),
2213
+ channels: import_zod.z.string().optional(),
2214
+ description: import_zod.z.string().optional(),
2215
+ enable_section: import_zod.z.boolean().optional(),
2216
+ handle: import_zod.z.string().optional(),
2217
+ include_count: import_zod.z.boolean().optional(),
2218
+ name: import_zod.z.string(),
2219
+ team_id: import_zod.z.string().optional()
2220
+ }).passthrough()
2221
+ }).strict()
2222
+ },
2223
+ "slack.usergroups_disable": {
2224
+ accept: "application/json",
2225
+ noContentStatuses: [],
2226
+ schema: import_zod.z.object({
2227
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
2228
+ usergroup: import_zod.z.lazy(() => definitions["Outputobjs_subteam"]).optional()
2229
+ }).passthrough(),
2230
+ inputSchema: import_zod.z.object({
2231
+ body: import_zod.z.object({
2232
+ include_count: import_zod.z.boolean().optional(),
2233
+ team_id: import_zod.z.string().optional(),
2234
+ usergroup: import_zod.z.string()
2235
+ }).passthrough()
2236
+ }).strict()
2237
+ },
2238
+ "slack.usergroups_enable": {
2239
+ accept: "application/json",
2240
+ noContentStatuses: [],
2241
+ schema: import_zod.z.object({
2242
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
2243
+ usergroup: import_zod.z.lazy(() => definitions["Outputobjs_subteam"]).optional()
2244
+ }).passthrough(),
2245
+ inputSchema: import_zod.z.object({
2246
+ body: import_zod.z.object({
2247
+ include_count: import_zod.z.boolean().optional(),
2248
+ team_id: import_zod.z.string().optional(),
2249
+ usergroup: import_zod.z.string()
2250
+ }).passthrough()
2251
+ }).strict()
2252
+ },
2253
+ "slack.usergroups_list": {
2254
+ accept: "application/json",
2255
+ noContentStatuses: [],
2256
+ schema: import_zod.z.object({
2257
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
2258
+ usergroups: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputobjs_subteam"])).optional()
2259
+ }).passthrough(),
2260
+ inputSchema: import_zod.z.object({
2261
+ query: import_zod.z.object({
2262
+ include_count: import_zod.z.boolean().optional(),
2263
+ include_disabled: import_zod.z.boolean().optional(),
2264
+ include_users: import_zod.z.boolean().optional(),
2265
+ team_id: import_zod.z.string().optional()
2266
+ }).strict().optional()
2267
+ }).strict()
2268
+ },
2269
+ "slack.usergroups_update": {
2270
+ accept: "application/json",
2271
+ noContentStatuses: [],
2272
+ schema: import_zod.z.object({
2273
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
2274
+ usergroup: import_zod.z.lazy(() => definitions["Outputobjs_subteam"]).optional()
2275
+ }).passthrough(),
2276
+ inputSchema: import_zod.z.object({
2277
+ body: import_zod.z.object({
2278
+ additional_channels: import_zod.z.string().optional(),
2279
+ channels: import_zod.z.string().optional(),
2280
+ description: import_zod.z.string().optional(),
2281
+ enable_section: import_zod.z.boolean().optional(),
2282
+ handle: import_zod.z.string().optional(),
2283
+ include_count: import_zod.z.boolean().optional(),
2284
+ name: import_zod.z.string().optional(),
2285
+ team_id: import_zod.z.string().optional(),
2286
+ usergroup: import_zod.z.string()
2287
+ }).passthrough()
2288
+ }).strict()
2289
+ },
2290
+ "slack.usergroups_users_list": {
2291
+ accept: "application/json",
2292
+ noContentStatuses: [],
2293
+ schema: import_zod.z.object({
2294
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
2295
+ users: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputdefs_user_id"])).optional()
2296
+ }).passthrough(),
2297
+ inputSchema: import_zod.z.object({
2298
+ query: import_zod.z.object({
2299
+ include_disabled: import_zod.z.boolean().optional(),
2300
+ team_id: import_zod.z.string().optional(),
2301
+ usergroup: import_zod.z.string()
2302
+ }).strict()
2303
+ }).strict()
2304
+ },
2305
+ "slack.usergroups_users_update": {
2306
+ accept: "application/json",
2307
+ noContentStatuses: [],
2308
+ schema: import_zod.z.object({
2309
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
2310
+ usergroup: import_zod.z.lazy(() => definitions["Outputobjs_subteam"]).optional()
2311
+ }).passthrough(),
2312
+ inputSchema: import_zod.z.object({
2313
+ body: import_zod.z.object({
2314
+ additional_channels: import_zod.z.string().optional(),
2315
+ include_count: import_zod.z.boolean().optional(),
2316
+ is_shared: import_zod.z.boolean().optional(),
2317
+ team_id: import_zod.z.string().optional(),
2318
+ usergroup: import_zod.z.string(),
2319
+ users: import_zod.z.string()
2320
+ }).passthrough()
2321
+ }).strict()
2322
+ },
2323
+ "slack.users_conversations": {
2324
+ accept: "application/json",
2325
+ noContentStatuses: [],
2326
+ schema: import_zod.z.object({
2327
+ channels: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputobjs_conversation"])).optional(),
2328
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
2329
+ response_metadata: import_zod.z.object({ next_cursor: import_zod.z.string().optional() }).passthrough().optional()
2330
+ }).passthrough(),
2331
+ inputSchema: import_zod.z.object({
2332
+ query: import_zod.z.object({
2333
+ cursor: import_zod.z.string().optional(),
2334
+ exclude_archived: import_zod.z.boolean().optional(),
2335
+ exclude_muted: import_zod.z.boolean().optional(),
2336
+ limit: import_zod.z.number().finite().optional(),
2337
+ team_id: import_zod.z.string().optional(),
2338
+ types: import_zod.z.string().optional(),
2339
+ user: import_zod.z.string().optional()
2340
+ }).strict().optional()
2341
+ }).strict()
2342
+ },
2343
+ "slack.users_getpresence": {
2344
+ accept: "application/json",
2345
+ noContentStatuses: [],
2346
+ schema: import_zod.z.object({
2347
+ auto_away: import_zod.z.boolean().optional(),
2348
+ connection_count: import_zod.z.union([
2349
+ import_zod.z.number().int(),
2350
+ import_zod.z.string().regex(
2351
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
2352
+ )
2353
+ ]).optional(),
2354
+ last_activity: import_zod.z.union([
2355
+ import_zod.z.number().int(),
2356
+ import_zod.z.string().regex(
2357
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
2358
+ )
2359
+ ]).optional(),
2360
+ manual_away: import_zod.z.boolean().optional(),
2361
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
2362
+ online: import_zod.z.boolean().optional(),
2363
+ presence: import_zod.z.string().optional()
2364
+ }).passthrough(),
2365
+ inputSchema: import_zod.z.object({
2366
+ query: import_zod.z.object({ user: import_zod.z.string().optional() }).strict().optional()
2367
+ }).strict()
2368
+ },
2369
+ "slack.users_info": {
2370
+ accept: "application/json",
2371
+ noContentStatuses: [],
2372
+ schema: import_zod.z.object({
2373
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
2374
+ user: import_zod.z.lazy(() => definitions["Outputobjs_user"]).optional()
2375
+ }).passthrough(),
2376
+ inputSchema: import_zod.z.object({
2377
+ query: import_zod.z.object({
2378
+ include_locale: import_zod.z.boolean().optional(),
2379
+ user: import_zod.z.string().optional()
2380
+ }).strict().optional()
2381
+ }).strict()
2382
+ },
2383
+ "slack.users_list": {
2384
+ accept: "application/json",
2385
+ noContentStatuses: [],
2386
+ schema: import_zod.z.object({
2387
+ cache_ts: import_zod.z.union([
2388
+ import_zod.z.number().int(),
2389
+ import_zod.z.string().regex(
2390
+ new RegExp("^-?[0-9]+(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$")
2391
+ )
2392
+ ]).optional(),
2393
+ members: import_zod.z.array(import_zod.z.lazy(() => definitions["Outputobjs_user"])).optional(),
2394
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
2395
+ response_metadata: import_zod.z.lazy(() => definitions["Outputobjs_response_metadata"]).optional()
2396
+ }).passthrough(),
2397
+ inputSchema: import_zod.z.object({
2398
+ query: import_zod.z.object({
2399
+ cursor: import_zod.z.string().optional(),
2400
+ include_locale: import_zod.z.boolean().optional(),
2401
+ limit: import_zod.z.number().finite().optional(),
2402
+ team_id: import_zod.z.string().optional()
2403
+ }).strict().optional()
2404
+ }).strict()
2405
+ },
2406
+ "slack.users_lookupbyemail": {
2407
+ accept: "application/json",
2408
+ noContentStatuses: [],
2409
+ schema: import_zod.z.object({
2410
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
2411
+ user: import_zod.z.lazy(() => definitions["Outputobjs_user"]).optional()
2412
+ }).passthrough(),
2413
+ inputSchema: import_zod.z.object({ query: import_zod.z.object({ email: import_zod.z.string() }).strict() }).strict()
2414
+ },
2415
+ "slack.users_profile_get": {
2416
+ accept: "application/json",
2417
+ noContentStatuses: [],
2418
+ schema: import_zod.z.object({
2419
+ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]),
2420
+ profile: import_zod.z.lazy(() => definitions["Outputobjs_user_profile"]).optional()
2421
+ }).passthrough(),
2422
+ inputSchema: import_zod.z.object({
2423
+ query: import_zod.z.object({
2424
+ include_labels: import_zod.z.boolean().optional(),
2425
+ user: import_zod.z.string().optional()
2426
+ }).strict().optional()
2427
+ }).strict()
2428
+ },
2429
+ "slack.users_setpresence": {
2430
+ accept: "application/json",
2431
+ noContentStatuses: [],
2432
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
2433
+ inputSchema: import_zod.z.object({ body: import_zod.z.object({ presence: import_zod.z.string() }).passthrough() }).strict()
2434
+ },
2435
+ "slack.views_open": {
2436
+ accept: "application/json",
2437
+ noContentStatuses: [],
2438
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
2439
+ inputSchema: import_zod.z.object({
2440
+ body: import_zod.z.object({
2441
+ interactivity_pointer: import_zod.z.string().optional(),
2442
+ trigger_id: import_zod.z.string().optional(),
2443
+ view: import_zod.z.string()
2444
+ }).passthrough()
2445
+ }).strict()
2446
+ },
2447
+ "slack.views_publish": {
2448
+ accept: "application/json",
2449
+ noContentStatuses: [],
2450
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
2451
+ inputSchema: import_zod.z.object({
2452
+ body: import_zod.z.object({
2453
+ hash: import_zod.z.string().optional(),
2454
+ user_id: import_zod.z.string(),
2455
+ view: import_zod.z.string()
2456
+ }).passthrough()
2457
+ }).strict()
2458
+ },
2459
+ "slack.views_push": {
2460
+ accept: "application/json",
2461
+ noContentStatuses: [],
2462
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
2463
+ inputSchema: import_zod.z.object({
2464
+ body: import_zod.z.object({
2465
+ interactivity_pointer: import_zod.z.string().optional(),
2466
+ trigger_id: import_zod.z.string().optional(),
2467
+ view: import_zod.z.string()
2468
+ }).passthrough()
2469
+ }).strict()
2470
+ },
2471
+ "slack.views_update": {
2472
+ accept: "application/json",
2473
+ noContentStatuses: [],
2474
+ schema: import_zod.z.object({ ok: import_zod.z.lazy(() => definitions["Outputdefs_ok_true"]) }).passthrough(),
2475
+ inputSchema: import_zod.z.object({
2476
+ body: import_zod.z.object({
2477
+ external_id: import_zod.z.string().optional(),
2478
+ hash: import_zod.z.string().optional(),
2479
+ view: import_zod.z.string(),
2480
+ view_id: import_zod.z.string().optional()
2481
+ }).passthrough()
2482
+ }).strict()
2483
+ }
2484
+ };
2485
+ cachedOutputs = outputs;
2486
+ return cachedOutputs;
2487
+ }
2488
+ function validateArguments(operation, value) {
2489
+ if (!getOutputs()[operation]?.inputSchema.safeParse(value).success)
2490
+ throw new import_sdk.AlterValueError(
2491
+ "arguments must be an object matching the selected operation"
2492
+ );
2493
+ }
2494
+
2495
+ // src/runtime.ts
2496
+ function hasFault(value) {
2497
+ if (!value || typeof value !== "object" || Array.isArray(value)) return false;
2498
+ const body = value;
2499
+ if ([].some(
2500
+ (key) => body[key] !== void 0 && body[key] !== null
2501
+ ))
2502
+ return true;
2503
+ if ([].some(
2504
+ (key) => Array.isArray(body[key]) && body[key].length > 0
2505
+ ))
2506
+ return true;
2507
+ return [].some((key) => {
2508
+ const children = body[key];
2509
+ return Array.isArray(children) ? children.some(hasFault) : hasFault(children);
2510
+ });
2511
+ }
2512
+ var faultRules = {
2513
+ "slack.api_test": [{ path: ["ok"], test: "false" }],
2514
+ "slack.auth_test": [{ path: ["ok"], test: "false" }],
2515
+ "slack.bots_info": [{ path: ["ok"], test: "false" }],
2516
+ "slack.calls_add": [{ path: ["ok"], test: "false" }],
2517
+ "slack.calls_end": [{ path: ["ok"], test: "false" }],
2518
+ "slack.calls_info": [{ path: ["ok"], test: "false" }],
2519
+ "slack.calls_participants_add": [{ path: ["ok"], test: "false" }],
2520
+ "slack.calls_participants_remove": [{ path: ["ok"], test: "false" }],
2521
+ "slack.calls_update": [{ path: ["ok"], test: "false" }],
2522
+ "slack.chat_delete": [{ path: ["ok"], test: "false" }],
2523
+ "slack.chat_deletescheduledmessage": [{ path: ["ok"], test: "false" }],
2524
+ "slack.chat_getpermalink": [{ path: ["ok"], test: "false" }],
2525
+ "slack.chat_memessage": [{ path: ["ok"], test: "false" }],
2526
+ "slack.chat_postephemeral": [{ path: ["ok"], test: "false" }],
2527
+ "slack.chat_postmessage": [{ path: ["ok"], test: "false" }],
2528
+ "slack.chat_scheduledmessages_list": [{ path: ["ok"], test: "false" }],
2529
+ "slack.chat_schedulemessage": [{ path: ["ok"], test: "false" }],
2530
+ "slack.chat_unfurl": [{ path: ["ok"], test: "false" }],
2531
+ "slack.chat_update": [{ path: ["ok"], test: "false" }],
2532
+ "slack.conversations_archive": [{ path: ["ok"], test: "false" }],
2533
+ "slack.conversations_close": [{ path: ["ok"], test: "false" }],
2534
+ "slack.conversations_create": [{ path: ["ok"], test: "false" }],
2535
+ "slack.conversations_history": [{ path: ["ok"], test: "false" }],
2536
+ "slack.conversations_info": [{ path: ["ok"], test: "false" }],
2537
+ "slack.conversations_invite": [{ path: ["ok"], test: "false" }],
2538
+ "slack.conversations_join": [{ path: ["ok"], test: "false" }],
2539
+ "slack.conversations_kick": [{ path: ["ok"], test: "false" }],
2540
+ "slack.conversations_leave": [{ path: ["ok"], test: "false" }],
2541
+ "slack.conversations_list": [{ path: ["ok"], test: "false" }],
2542
+ "slack.conversations_mark": [{ path: ["ok"], test: "false" }],
2543
+ "slack.conversations_members": [{ path: ["ok"], test: "false" }],
2544
+ "slack.conversations_open": [{ path: ["ok"], test: "false" }],
2545
+ "slack.conversations_rename": [{ path: ["ok"], test: "false" }],
2546
+ "slack.conversations_replies": [{ path: ["ok"], test: "false" }],
2547
+ "slack.conversations_setpurpose": [{ path: ["ok"], test: "false" }],
2548
+ "slack.conversations_settopic": [{ path: ["ok"], test: "false" }],
2549
+ "slack.conversations_unarchive": [{ path: ["ok"], test: "false" }],
2550
+ "slack.dialog_open": [{ path: ["ok"], test: "false" }],
2551
+ "slack.dnd_info": [{ path: ["ok"], test: "false" }],
2552
+ "slack.dnd_teaminfo": [{ path: ["ok"], test: "false" }],
2553
+ "slack.emoji_list": [{ path: ["ok"], test: "false" }],
2554
+ "slack.files_comments_delete": [{ path: ["ok"], test: "false" }],
2555
+ "slack.files_delete": [{ path: ["ok"], test: "false" }],
2556
+ "slack.files_info": [{ path: ["ok"], test: "false" }],
2557
+ "slack.files_list": [{ path: ["ok"], test: "false" }],
2558
+ "slack.files_remote_add": [{ path: ["ok"], test: "false" }],
2559
+ "slack.files_remote_info": [{ path: ["ok"], test: "false" }],
2560
+ "slack.files_remote_list": [{ path: ["ok"], test: "false" }],
2561
+ "slack.files_remote_remove": [{ path: ["ok"], test: "false" }],
2562
+ "slack.files_remote_share": [{ path: ["ok"], test: "false" }],
2563
+ "slack.files_remote_update": [{ path: ["ok"], test: "false" }],
2564
+ "slack.files_revokepublicurl": [{ path: ["ok"], test: "false" }],
2565
+ "slack.migration_exchange": [{ path: ["ok"], test: "false" }],
2566
+ "slack.pins_add": [{ path: ["ok"], test: "false" }],
2567
+ "slack.pins_list": [{ path: ["ok"], test: "false" }],
2568
+ "slack.pins_remove": [{ path: ["ok"], test: "false" }],
2569
+ "slack.reactions_add": [{ path: ["ok"], test: "false" }],
2570
+ "slack.reactions_get": [{ path: ["ok"], test: "false" }],
2571
+ "slack.reactions_list": [{ path: ["ok"], test: "false" }],
2572
+ "slack.reactions_remove": [{ path: ["ok"], test: "false" }],
2573
+ "slack.team_info": [{ path: ["ok"], test: "false" }],
2574
+ "slack.team_profile_get": [{ path: ["ok"], test: "false" }],
2575
+ "slack.usergroups_create": [{ path: ["ok"], test: "false" }],
2576
+ "slack.usergroups_disable": [{ path: ["ok"], test: "false" }],
2577
+ "slack.usergroups_enable": [{ path: ["ok"], test: "false" }],
2578
+ "slack.usergroups_list": [{ path: ["ok"], test: "false" }],
2579
+ "slack.usergroups_update": [{ path: ["ok"], test: "false" }],
2580
+ "slack.usergroups_users_list": [{ path: ["ok"], test: "false" }],
2581
+ "slack.usergroups_users_update": [{ path: ["ok"], test: "false" }],
2582
+ "slack.users_conversations": [{ path: ["ok"], test: "false" }],
2583
+ "slack.users_getpresence": [{ path: ["ok"], test: "false" }],
2584
+ "slack.users_info": [{ path: ["ok"], test: "false" }],
2585
+ "slack.users_list": [{ path: ["ok"], test: "false" }],
2586
+ "slack.users_lookupbyemail": [{ path: ["ok"], test: "false" }],
2587
+ "slack.users_profile_get": [{ path: ["ok"], test: "false" }],
2588
+ "slack.users_setpresence": [{ path: ["ok"], test: "false" }],
2589
+ "slack.views_open": [{ path: ["ok"], test: "false" }],
2590
+ "slack.views_publish": [{ path: ["ok"], test: "false" }],
2591
+ "slack.views_push": [{ path: ["ok"], test: "false" }],
2592
+ "slack.views_update": [{ path: ["ok"], test: "false" }]
2593
+ };
2594
+ function matchesRule(value, path, test, expected) {
2595
+ if (!path.length && test === "equals") return value === expected;
2596
+ if (!path.length)
2597
+ return test === "false" ? value === false : value !== null && value !== void 0 && value !== false && value !== "" && (Array.isArray(value) ? value.length > 0 : typeof value !== "object" || Object.keys(value).length > 0);
2598
+ const [head, ...tail] = path;
2599
+ if (head === void 0) return false;
2600
+ if (head === "**")
2601
+ return Array.isArray(value) && value.length > 0 && value.every((item) => matchesRule(item, tail, test, expected));
2602
+ if (head === "*")
2603
+ return Array.isArray(value) && value.some((item) => matchesRule(item, tail, test, expected));
2604
+ return !!value && typeof value === "object" && !Array.isArray(value) && matchesRule(value[head], tail, test, expected);
2605
+ }
2606
+ function responseContract(operation, version) {
2607
+ const selected = getOutputs()[operation];
2608
+ if (version !== outputVersion || !selected)
2609
+ throw new import_sdk2.BackendError(
2610
+ "Selected managed response contract is not installed"
2611
+ );
2612
+ return {
2613
+ ...selected,
2614
+ hasFault: (value) => hasFault(value) || (faultRules[operation] ?? []).some(
2615
+ (rule) => matchesRule(value, rule.path, rule.test, rule.value)
2616
+ )
2617
+ };
2618
+ }
2619
+ var IntegrationCall = class extends import_sdk2.IntegrationCall {
2620
+ constructor(client, response, operation, version) {
2621
+ super(
2622
+ client,
2623
+ response,
2624
+ operation,
2625
+ version,
2626
+ responseContract(operation, version)
2627
+ );
2628
+ }
2629
+ };
2630
+ var IntegrationResult = class extends import_sdk2.IntegrationResult {
2631
+ constructor(response, operation, version) {
2632
+ super(response, operation, version, responseContract(operation, version));
2633
+ }
2634
+ };
2635
+ async function resumeCall(client, approvalId, provider, version) {
2636
+ if (!client.integrations.resume)
2637
+ throw new import_sdk2.ManagedOperationError(
2638
+ "managed_resume_unsupported",
2639
+ "Core transport does not support managed resume",
2640
+ 409
2641
+ );
2642
+ const call = await client.integrations.resume(approvalId);
2643
+ if (call.provider !== provider || call.version !== version)
2644
+ throw new import_sdk2.ManagedOperationError(
2645
+ "managed_approval_contract_mismatch",
2646
+ "Approval belongs to a different provider or contract version",
2647
+ 409
2648
+ );
2649
+ if (!getOutputs()[call.operation])
2650
+ throw new import_sdk2.ManagedOperationError(
2651
+ "managed_approval_operation_mismatch",
2652
+ "Approval operation is absent from this installed publication",
2653
+ 409
2654
+ );
2655
+ return new IntegrationCall(
2656
+ client,
2657
+ { approvalId: call.approvalId },
2658
+ call.operation,
2659
+ call.version
2660
+ );
2661
+ }
2662
+
2663
+ // src/client.ts
2664
+ var SlackApi = class {
2665
+ #client;
2666
+ #connection;
2667
+ constructor(client, connection) {
2668
+ this.#client = client;
2669
+ this.#connection = { ...connection };
2670
+ }
2671
+ /** Checks API calling code. Source: https://docs.slack.dev/reference/methods/api.test */
2672
+ async test(input = {}) {
2673
+ validateArguments("slack.api_test", input);
2674
+ const response = await this.#client.integrations.execute({
2675
+ ...this.#connection,
2676
+ integration: "slack",
2677
+ version: "2026-10-28",
2678
+ operation: "slack.api_test",
2679
+ arguments: input
2680
+ });
2681
+ return new IntegrationCall(
2682
+ this.#client,
2683
+ response,
2684
+ "slack.api_test",
2685
+ "2026-10-28"
2686
+ );
2687
+ }
2688
+ };
2689
+ var SlackAuth = class {
2690
+ #client;
2691
+ #connection;
2692
+ constructor(client, connection) {
2693
+ this.#client = client;
2694
+ this.#connection = { ...connection };
2695
+ }
2696
+ /** Checks authentication & identity. Source: https://docs.slack.dev/reference/methods/auth.test */
2697
+ async test(input = {}) {
2698
+ validateArguments("slack.auth_test", input);
2699
+ const response = await this.#client.integrations.execute({
2700
+ ...this.#connection,
2701
+ integration: "slack",
2702
+ version: "2026-10-28",
2703
+ operation: "slack.auth_test",
2704
+ arguments: input
2705
+ });
2706
+ return new IntegrationCall(
2707
+ this.#client,
2708
+ response,
2709
+ "slack.auth_test",
2710
+ "2026-10-28"
2711
+ );
2712
+ }
2713
+ };
2714
+ var SlackBots = class {
2715
+ #client;
2716
+ #connection;
2717
+ constructor(client, connection) {
2718
+ this.#client = client;
2719
+ this.#connection = { ...connection };
2720
+ }
2721
+ /** Gets information about a bot user. Source: https://docs.slack.dev/reference/methods/bots.info */
2722
+ async info(input = {}) {
2723
+ validateArguments("slack.bots_info", input);
2724
+ const response = await this.#client.integrations.execute({
2725
+ ...this.#connection,
2726
+ integration: "slack",
2727
+ version: "2026-10-28",
2728
+ operation: "slack.bots_info",
2729
+ arguments: input
2730
+ });
2731
+ return new IntegrationCall(
2732
+ this.#client,
2733
+ response,
2734
+ "slack.bots_info",
2735
+ "2026-10-28"
2736
+ );
2737
+ }
2738
+ };
2739
+ var SlackCalls = class {
2740
+ #client;
2741
+ #connection;
2742
+ constructor(client, connection) {
2743
+ this.#client = client;
2744
+ this.#connection = { ...connection };
2745
+ }
2746
+ /** Registers a new Call. Source: https://docs.slack.dev/reference/methods/calls.add */
2747
+ async add(input) {
2748
+ validateArguments("slack.calls_add", input);
2749
+ const response = await this.#client.integrations.execute({
2750
+ ...this.#connection,
2751
+ integration: "slack",
2752
+ version: "2026-10-28",
2753
+ operation: "slack.calls_add",
2754
+ arguments: input
2755
+ });
2756
+ return new IntegrationCall(
2757
+ this.#client,
2758
+ response,
2759
+ "slack.calls_add",
2760
+ "2026-10-28"
2761
+ );
2762
+ }
2763
+ /** Ends a Call. Source: https://docs.slack.dev/reference/methods/calls.end */
2764
+ async end(input) {
2765
+ validateArguments("slack.calls_end", input);
2766
+ const response = await this.#client.integrations.execute({
2767
+ ...this.#connection,
2768
+ integration: "slack",
2769
+ version: "2026-10-28",
2770
+ operation: "slack.calls_end",
2771
+ arguments: input
2772
+ });
2773
+ return new IntegrationCall(
2774
+ this.#client,
2775
+ response,
2776
+ "slack.calls_end",
2777
+ "2026-10-28"
2778
+ );
2779
+ }
2780
+ /** Returns information about a Call. Source: https://docs.slack.dev/reference/methods/calls.info */
2781
+ async info(input) {
2782
+ validateArguments("slack.calls_info", input);
2783
+ const response = await this.#client.integrations.execute({
2784
+ ...this.#connection,
2785
+ integration: "slack",
2786
+ version: "2026-10-28",
2787
+ operation: "slack.calls_info",
2788
+ arguments: input
2789
+ });
2790
+ return new IntegrationCall(
2791
+ this.#client,
2792
+ response,
2793
+ "slack.calls_info",
2794
+ "2026-10-28"
2795
+ );
2796
+ }
2797
+ /** Updates information about a Call. Source: https://docs.slack.dev/reference/methods/calls.update */
2798
+ async update(input) {
2799
+ validateArguments("slack.calls_update", input);
2800
+ const response = await this.#client.integrations.execute({
2801
+ ...this.#connection,
2802
+ integration: "slack",
2803
+ version: "2026-10-28",
2804
+ operation: "slack.calls_update",
2805
+ arguments: input
2806
+ });
2807
+ return new IntegrationCall(
2808
+ this.#client,
2809
+ response,
2810
+ "slack.calls_update",
2811
+ "2026-10-28"
2812
+ );
2813
+ }
2814
+ };
2815
+ var SlackCallsParticipants = class {
2816
+ #client;
2817
+ #connection;
2818
+ constructor(client, connection) {
2819
+ this.#client = client;
2820
+ this.#connection = { ...connection };
2821
+ }
2822
+ /** Registers new participants added to a Call. Source: https://docs.slack.dev/reference/methods/calls.participants.add */
2823
+ async add(input) {
2824
+ validateArguments("slack.calls_participants_add", input);
2825
+ const response = await this.#client.integrations.execute({
2826
+ ...this.#connection,
2827
+ integration: "slack",
2828
+ version: "2026-10-28",
2829
+ operation: "slack.calls_participants_add",
2830
+ arguments: input
2831
+ });
2832
+ return new IntegrationCall(
2833
+ this.#client,
2834
+ response,
2835
+ "slack.calls_participants_add",
2836
+ "2026-10-28"
2837
+ );
2838
+ }
2839
+ /** Registers participants removed from a Call. Source: https://docs.slack.dev/reference/methods/calls.participants.remove */
2840
+ async remove(input) {
2841
+ validateArguments("slack.calls_participants_remove", input);
2842
+ const response = await this.#client.integrations.execute({
2843
+ ...this.#connection,
2844
+ integration: "slack",
2845
+ version: "2026-10-28",
2846
+ operation: "slack.calls_participants_remove",
2847
+ arguments: input
2848
+ });
2849
+ return new IntegrationCall(
2850
+ this.#client,
2851
+ response,
2852
+ "slack.calls_participants_remove",
2853
+ "2026-10-28"
2854
+ );
2855
+ }
2856
+ };
2857
+ var SlackChat = class {
2858
+ #client;
2859
+ #connection;
2860
+ constructor(client, connection) {
2861
+ this.#client = client;
2862
+ this.#connection = { ...connection };
2863
+ }
2864
+ /** Deletes a message. Source: https://docs.slack.dev/reference/methods/chat.delete */
2865
+ async delete(input) {
2866
+ validateArguments("slack.chat_delete", input);
2867
+ const response = await this.#client.integrations.execute({
2868
+ ...this.#connection,
2869
+ integration: "slack",
2870
+ version: "2026-10-28",
2871
+ operation: "slack.chat_delete",
2872
+ arguments: input
2873
+ });
2874
+ return new IntegrationCall(
2875
+ this.#client,
2876
+ response,
2877
+ "slack.chat_delete",
2878
+ "2026-10-28"
2879
+ );
2880
+ }
2881
+ /** Deletes a pending scheduled message from the queue. Source: https://docs.slack.dev/reference/methods/chat.deleteScheduledMessage */
2882
+ async deleteScheduledMessage(input) {
2883
+ validateArguments("slack.chat_deletescheduledmessage", input);
2884
+ const response = await this.#client.integrations.execute({
2885
+ ...this.#connection,
2886
+ integration: "slack",
2887
+ version: "2026-10-28",
2888
+ operation: "slack.chat_deletescheduledmessage",
2889
+ arguments: input
2890
+ });
2891
+ return new IntegrationCall(
2892
+ this.#client,
2893
+ response,
2894
+ "slack.chat_deletescheduledmessage",
2895
+ "2026-10-28"
2896
+ );
2897
+ }
2898
+ /** Retrieve a permalink URL for a specific extant message. Source: https://docs.slack.dev/reference/methods/chat.getPermalink */
2899
+ async getPermalink(input) {
2900
+ validateArguments("slack.chat_getpermalink", input);
2901
+ const response = await this.#client.integrations.execute({
2902
+ ...this.#connection,
2903
+ integration: "slack",
2904
+ version: "2026-10-28",
2905
+ operation: "slack.chat_getpermalink",
2906
+ arguments: input
2907
+ });
2908
+ return new IntegrationCall(
2909
+ this.#client,
2910
+ response,
2911
+ "slack.chat_getpermalink",
2912
+ "2026-10-28"
2913
+ );
2914
+ }
2915
+ /** Share a me message into a channel. Source: https://docs.slack.dev/reference/methods/chat.meMessage */
2916
+ async meMessage(input) {
2917
+ validateArguments("slack.chat_memessage", input);
2918
+ const response = await this.#client.integrations.execute({
2919
+ ...this.#connection,
2920
+ integration: "slack",
2921
+ version: "2026-10-28",
2922
+ operation: "slack.chat_memessage",
2923
+ arguments: input
2924
+ });
2925
+ return new IntegrationCall(
2926
+ this.#client,
2927
+ response,
2928
+ "slack.chat_memessage",
2929
+ "2026-10-28"
2930
+ );
2931
+ }
2932
+ /** Sends an ephemeral message to a user in a channel. Source: https://docs.slack.dev/reference/methods/chat.postEphemeral */
2933
+ async postEphemeral(input) {
2934
+ validateArguments("slack.chat_postephemeral", input);
2935
+ const response = await this.#client.integrations.execute({
2936
+ ...this.#connection,
2937
+ integration: "slack",
2938
+ version: "2026-10-28",
2939
+ operation: "slack.chat_postephemeral",
2940
+ arguments: input
2941
+ });
2942
+ return new IntegrationCall(
2943
+ this.#client,
2944
+ response,
2945
+ "slack.chat_postephemeral",
2946
+ "2026-10-28"
2947
+ );
2948
+ }
2949
+ /** Sends a message to a channel. Source: https://docs.slack.dev/reference/methods/chat.postMessage */
2950
+ async postMessage(input) {
2951
+ validateArguments("slack.chat_postmessage", input);
2952
+ const response = await this.#client.integrations.execute({
2953
+ ...this.#connection,
2954
+ integration: "slack",
2955
+ version: "2026-10-28",
2956
+ operation: "slack.chat_postmessage",
2957
+ arguments: input
2958
+ });
2959
+ return new IntegrationCall(
2960
+ this.#client,
2961
+ response,
2962
+ "slack.chat_postmessage",
2963
+ "2026-10-28"
2964
+ );
2965
+ }
2966
+ /** Schedules a message to be sent to a channel. Source: https://docs.slack.dev/reference/methods/chat.scheduleMessage */
2967
+ async scheduleMessage(input) {
2968
+ validateArguments("slack.chat_schedulemessage", input);
2969
+ const response = await this.#client.integrations.execute({
2970
+ ...this.#connection,
2971
+ integration: "slack",
2972
+ version: "2026-10-28",
2973
+ operation: "slack.chat_schedulemessage",
2974
+ arguments: input
2975
+ });
2976
+ return new IntegrationCall(
2977
+ this.#client,
2978
+ response,
2979
+ "slack.chat_schedulemessage",
2980
+ "2026-10-28"
2981
+ );
2982
+ }
2983
+ /** Provide custom unfurl behavior for user-posted URLs. Source: https://docs.slack.dev/reference/methods/chat.unfurl */
2984
+ async unfurl(input = {}) {
2985
+ validateArguments("slack.chat_unfurl", input);
2986
+ const response = await this.#client.integrations.execute({
2987
+ ...this.#connection,
2988
+ integration: "slack",
2989
+ version: "2026-10-28",
2990
+ operation: "slack.chat_unfurl",
2991
+ arguments: input
2992
+ });
2993
+ return new IntegrationCall(
2994
+ this.#client,
2995
+ response,
2996
+ "slack.chat_unfurl",
2997
+ "2026-10-28"
2998
+ );
2999
+ }
3000
+ /** Updates a message. Source: https://docs.slack.dev/reference/methods/chat.update */
3001
+ async update(input) {
3002
+ validateArguments("slack.chat_update", input);
3003
+ const response = await this.#client.integrations.execute({
3004
+ ...this.#connection,
3005
+ integration: "slack",
3006
+ version: "2026-10-28",
3007
+ operation: "slack.chat_update",
3008
+ arguments: input
3009
+ });
3010
+ return new IntegrationCall(
3011
+ this.#client,
3012
+ response,
3013
+ "slack.chat_update",
3014
+ "2026-10-28"
3015
+ );
3016
+ }
3017
+ };
3018
+ var SlackChatScheduledMessages = class {
3019
+ #client;
3020
+ #connection;
3021
+ constructor(client, connection) {
3022
+ this.#client = client;
3023
+ this.#connection = { ...connection };
3024
+ }
3025
+ /** Returns a list of scheduled messages. Source: https://docs.slack.dev/reference/methods/chat.scheduledMessages.list */
3026
+ async list(input = {}) {
3027
+ validateArguments("slack.chat_scheduledmessages_list", input);
3028
+ const response = await this.#client.integrations.execute({
3029
+ ...this.#connection,
3030
+ integration: "slack",
3031
+ version: "2026-10-28",
3032
+ operation: "slack.chat_scheduledmessages_list",
3033
+ arguments: input
3034
+ });
3035
+ return new IntegrationCall(
3036
+ this.#client,
3037
+ response,
3038
+ "slack.chat_scheduledmessages_list",
3039
+ "2026-10-28"
3040
+ );
3041
+ }
3042
+ };
3043
+ var SlackConversations = class {
3044
+ #client;
3045
+ #connection;
3046
+ constructor(client, connection) {
3047
+ this.#client = client;
3048
+ this.#connection = { ...connection };
3049
+ }
3050
+ /** Archives a conversation. Source: https://docs.slack.dev/reference/methods/conversations.archive */
3051
+ async archive(input) {
3052
+ validateArguments("slack.conversations_archive", input);
3053
+ const response = await this.#client.integrations.execute({
3054
+ ...this.#connection,
3055
+ integration: "slack",
3056
+ version: "2026-10-28",
3057
+ operation: "slack.conversations_archive",
3058
+ arguments: input
3059
+ });
3060
+ return new IntegrationCall(
3061
+ this.#client,
3062
+ response,
3063
+ "slack.conversations_archive",
3064
+ "2026-10-28"
3065
+ );
3066
+ }
3067
+ /** Closes a direct message or multi-person direct message. Source: https://docs.slack.dev/reference/methods/conversations.close */
3068
+ async close(input) {
3069
+ validateArguments("slack.conversations_close", input);
3070
+ const response = await this.#client.integrations.execute({
3071
+ ...this.#connection,
3072
+ integration: "slack",
3073
+ version: "2026-10-28",
3074
+ operation: "slack.conversations_close",
3075
+ arguments: input
3076
+ });
3077
+ return new IntegrationCall(
3078
+ this.#client,
3079
+ response,
3080
+ "slack.conversations_close",
3081
+ "2026-10-28"
3082
+ );
3083
+ }
3084
+ /** Initiates a public or private channel-based conversation. Source: https://docs.slack.dev/reference/methods/conversations.create */
3085
+ async create(input) {
3086
+ validateArguments("slack.conversations_create", input);
3087
+ const response = await this.#client.integrations.execute({
3088
+ ...this.#connection,
3089
+ integration: "slack",
3090
+ version: "2026-10-28",
3091
+ operation: "slack.conversations_create",
3092
+ arguments: input
3093
+ });
3094
+ return new IntegrationCall(
3095
+ this.#client,
3096
+ response,
3097
+ "slack.conversations_create",
3098
+ "2026-10-28"
3099
+ );
3100
+ }
3101
+ /** Fetches a conversation's history of messages and events. Source: https://docs.slack.dev/reference/methods/conversations.history */
3102
+ async history(input) {
3103
+ validateArguments("slack.conversations_history", input);
3104
+ const response = await this.#client.integrations.execute({
3105
+ ...this.#connection,
3106
+ integration: "slack",
3107
+ version: "2026-10-28",
3108
+ operation: "slack.conversations_history",
3109
+ arguments: input
3110
+ });
3111
+ return new IntegrationCall(
3112
+ this.#client,
3113
+ response,
3114
+ "slack.conversations_history",
3115
+ "2026-10-28"
3116
+ );
3117
+ }
3118
+ /** Retrieve information about a conversation. Source: https://docs.slack.dev/reference/methods/conversations.info */
3119
+ async info(input) {
3120
+ validateArguments("slack.conversations_info", input);
3121
+ const response = await this.#client.integrations.execute({
3122
+ ...this.#connection,
3123
+ integration: "slack",
3124
+ version: "2026-10-28",
3125
+ operation: "slack.conversations_info",
3126
+ arguments: input
3127
+ });
3128
+ return new IntegrationCall(
3129
+ this.#client,
3130
+ response,
3131
+ "slack.conversations_info",
3132
+ "2026-10-28"
3133
+ );
3134
+ }
3135
+ /** Invites users to a channel. Source: https://docs.slack.dev/reference/methods/conversations.invite */
3136
+ async invite(input) {
3137
+ validateArguments("slack.conversations_invite", input);
3138
+ const response = await this.#client.integrations.execute({
3139
+ ...this.#connection,
3140
+ integration: "slack",
3141
+ version: "2026-10-28",
3142
+ operation: "slack.conversations_invite",
3143
+ arguments: input
3144
+ });
3145
+ return new IntegrationCall(
3146
+ this.#client,
3147
+ response,
3148
+ "slack.conversations_invite",
3149
+ "2026-10-28"
3150
+ );
3151
+ }
3152
+ /** Joins an existing conversation. Source: https://docs.slack.dev/reference/methods/conversations.join */
3153
+ async join(input) {
3154
+ validateArguments("slack.conversations_join", input);
3155
+ const response = await this.#client.integrations.execute({
3156
+ ...this.#connection,
3157
+ integration: "slack",
3158
+ version: "2026-10-28",
3159
+ operation: "slack.conversations_join",
3160
+ arguments: input
3161
+ });
3162
+ return new IntegrationCall(
3163
+ this.#client,
3164
+ response,
3165
+ "slack.conversations_join",
3166
+ "2026-10-28"
3167
+ );
3168
+ }
3169
+ /** Removes a user from a conversation. Source: https://docs.slack.dev/reference/methods/conversations.kick */
3170
+ async kick(input) {
3171
+ validateArguments("slack.conversations_kick", input);
3172
+ const response = await this.#client.integrations.execute({
3173
+ ...this.#connection,
3174
+ integration: "slack",
3175
+ version: "2026-10-28",
3176
+ operation: "slack.conversations_kick",
3177
+ arguments: input
3178
+ });
3179
+ return new IntegrationCall(
3180
+ this.#client,
3181
+ response,
3182
+ "slack.conversations_kick",
3183
+ "2026-10-28"
3184
+ );
3185
+ }
3186
+ /** Leaves a conversation. Source: https://docs.slack.dev/reference/methods/conversations.leave */
3187
+ async leave(input) {
3188
+ validateArguments("slack.conversations_leave", input);
3189
+ const response = await this.#client.integrations.execute({
3190
+ ...this.#connection,
3191
+ integration: "slack",
3192
+ version: "2026-10-28",
3193
+ operation: "slack.conversations_leave",
3194
+ arguments: input
3195
+ });
3196
+ return new IntegrationCall(
3197
+ this.#client,
3198
+ response,
3199
+ "slack.conversations_leave",
3200
+ "2026-10-28"
3201
+ );
3202
+ }
3203
+ /** Lists all channels in a Slack team. Source: https://docs.slack.dev/reference/methods/conversations.list */
3204
+ async list(input = {}) {
3205
+ validateArguments("slack.conversations_list", input);
3206
+ const response = await this.#client.integrations.execute({
3207
+ ...this.#connection,
3208
+ integration: "slack",
3209
+ version: "2026-10-28",
3210
+ operation: "slack.conversations_list",
3211
+ arguments: input
3212
+ });
3213
+ return new IntegrationCall(
3214
+ this.#client,
3215
+ response,
3216
+ "slack.conversations_list",
3217
+ "2026-10-28"
3218
+ );
3219
+ }
3220
+ /** Sets the read cursor in a channel. Source: https://docs.slack.dev/reference/methods/conversations.mark */
3221
+ async mark(input) {
3222
+ validateArguments("slack.conversations_mark", input);
3223
+ const response = await this.#client.integrations.execute({
3224
+ ...this.#connection,
3225
+ integration: "slack",
3226
+ version: "2026-10-28",
3227
+ operation: "slack.conversations_mark",
3228
+ arguments: input
3229
+ });
3230
+ return new IntegrationCall(
3231
+ this.#client,
3232
+ response,
3233
+ "slack.conversations_mark",
3234
+ "2026-10-28"
3235
+ );
3236
+ }
3237
+ /** Retrieve members of a conversation. Source: https://docs.slack.dev/reference/methods/conversations.members */
3238
+ async members(input) {
3239
+ validateArguments("slack.conversations_members", input);
3240
+ const response = await this.#client.integrations.execute({
3241
+ ...this.#connection,
3242
+ integration: "slack",
3243
+ version: "2026-10-28",
3244
+ operation: "slack.conversations_members",
3245
+ arguments: input
3246
+ });
3247
+ return new IntegrationCall(
3248
+ this.#client,
3249
+ response,
3250
+ "slack.conversations_members",
3251
+ "2026-10-28"
3252
+ );
3253
+ }
3254
+ /** Opens or resumes a direct message or multi-person direct message. Source: https://docs.slack.dev/reference/methods/conversations.open */
3255
+ async open(input = {}) {
3256
+ validateArguments("slack.conversations_open", input);
3257
+ const response = await this.#client.integrations.execute({
3258
+ ...this.#connection,
3259
+ integration: "slack",
3260
+ version: "2026-10-28",
3261
+ operation: "slack.conversations_open",
3262
+ arguments: input
3263
+ });
3264
+ return new IntegrationCall(
3265
+ this.#client,
3266
+ response,
3267
+ "slack.conversations_open",
3268
+ "2026-10-28"
3269
+ );
3270
+ }
3271
+ /** Renames a conversation. Source: https://docs.slack.dev/reference/methods/conversations.rename */
3272
+ async rename(input) {
3273
+ validateArguments("slack.conversations_rename", input);
3274
+ const response = await this.#client.integrations.execute({
3275
+ ...this.#connection,
3276
+ integration: "slack",
3277
+ version: "2026-10-28",
3278
+ operation: "slack.conversations_rename",
3279
+ arguments: input
3280
+ });
3281
+ return new IntegrationCall(
3282
+ this.#client,
3283
+ response,
3284
+ "slack.conversations_rename",
3285
+ "2026-10-28"
3286
+ );
3287
+ }
3288
+ /** Retrieve a thread of messages posted to a conversation. Source: https://docs.slack.dev/reference/methods/conversations.replies */
3289
+ async replies(input) {
3290
+ validateArguments("slack.conversations_replies", input);
3291
+ const response = await this.#client.integrations.execute({
3292
+ ...this.#connection,
3293
+ integration: "slack",
3294
+ version: "2026-10-28",
3295
+ operation: "slack.conversations_replies",
3296
+ arguments: input
3297
+ });
3298
+ return new IntegrationCall(
3299
+ this.#client,
3300
+ response,
3301
+ "slack.conversations_replies",
3302
+ "2026-10-28"
3303
+ );
3304
+ }
3305
+ /** Sets the channel description. Source: https://docs.slack.dev/reference/methods/conversations.setPurpose */
3306
+ async setPurpose(input) {
3307
+ validateArguments("slack.conversations_setpurpose", input);
3308
+ const response = await this.#client.integrations.execute({
3309
+ ...this.#connection,
3310
+ integration: "slack",
3311
+ version: "2026-10-28",
3312
+ operation: "slack.conversations_setpurpose",
3313
+ arguments: input
3314
+ });
3315
+ return new IntegrationCall(
3316
+ this.#client,
3317
+ response,
3318
+ "slack.conversations_setpurpose",
3319
+ "2026-10-28"
3320
+ );
3321
+ }
3322
+ /** Sets the topic for a conversation. Source: https://docs.slack.dev/reference/methods/conversations.setTopic */
3323
+ async setTopic(input) {
3324
+ validateArguments("slack.conversations_settopic", input);
3325
+ const response = await this.#client.integrations.execute({
3326
+ ...this.#connection,
3327
+ integration: "slack",
3328
+ version: "2026-10-28",
3329
+ operation: "slack.conversations_settopic",
3330
+ arguments: input
3331
+ });
3332
+ return new IntegrationCall(
3333
+ this.#client,
3334
+ response,
3335
+ "slack.conversations_settopic",
3336
+ "2026-10-28"
3337
+ );
3338
+ }
3339
+ /** Reverses conversation archival. Source: https://docs.slack.dev/reference/methods/conversations.unarchive */
3340
+ async unarchive(input) {
3341
+ validateArguments("slack.conversations_unarchive", input);
3342
+ const response = await this.#client.integrations.execute({
3343
+ ...this.#connection,
3344
+ integration: "slack",
3345
+ version: "2026-10-28",
3346
+ operation: "slack.conversations_unarchive",
3347
+ arguments: input
3348
+ });
3349
+ return new IntegrationCall(
3350
+ this.#client,
3351
+ response,
3352
+ "slack.conversations_unarchive",
3353
+ "2026-10-28"
3354
+ );
3355
+ }
3356
+ };
3357
+ var SlackDialog = class {
3358
+ #client;
3359
+ #connection;
3360
+ constructor(client, connection) {
3361
+ this.#client = client;
3362
+ this.#connection = { ...connection };
3363
+ }
3364
+ /** Open a dialog with a user. Source: https://docs.slack.dev/reference/methods/dialog.open */
3365
+ async open(input) {
3366
+ validateArguments("slack.dialog_open", input);
3367
+ const response = await this.#client.integrations.execute({
3368
+ ...this.#connection,
3369
+ integration: "slack",
3370
+ version: "2026-10-28",
3371
+ operation: "slack.dialog_open",
3372
+ arguments: input
3373
+ });
3374
+ return new IntegrationCall(
3375
+ this.#client,
3376
+ response,
3377
+ "slack.dialog_open",
3378
+ "2026-10-28"
3379
+ );
3380
+ }
3381
+ };
3382
+ var SlackDnd = class {
3383
+ #client;
3384
+ #connection;
3385
+ constructor(client, connection) {
3386
+ this.#client = client;
3387
+ this.#connection = { ...connection };
3388
+ }
3389
+ /** Retrieves a user's current Do Not Disturb status. Source: https://docs.slack.dev/reference/methods/dnd.info */
3390
+ async info(input = {}) {
3391
+ validateArguments("slack.dnd_info", input);
3392
+ const response = await this.#client.integrations.execute({
3393
+ ...this.#connection,
3394
+ integration: "slack",
3395
+ version: "2026-10-28",
3396
+ operation: "slack.dnd_info",
3397
+ arguments: input
3398
+ });
3399
+ return new IntegrationCall(
3400
+ this.#client,
3401
+ response,
3402
+ "slack.dnd_info",
3403
+ "2026-10-28"
3404
+ );
3405
+ }
3406
+ /** Retrieves the Do Not Disturb status for up to 50 users on a team. Source: https://docs.slack.dev/reference/methods/dnd.teamInfo */
3407
+ async teamInfo(input) {
3408
+ validateArguments("slack.dnd_teaminfo", input);
3409
+ const response = await this.#client.integrations.execute({
3410
+ ...this.#connection,
3411
+ integration: "slack",
3412
+ version: "2026-10-28",
3413
+ operation: "slack.dnd_teaminfo",
3414
+ arguments: input
3415
+ });
3416
+ return new IntegrationCall(
3417
+ this.#client,
3418
+ response,
3419
+ "slack.dnd_teaminfo",
3420
+ "2026-10-28"
3421
+ );
3422
+ }
3423
+ };
3424
+ var SlackEmoji = class {
3425
+ #client;
3426
+ #connection;
3427
+ constructor(client, connection) {
3428
+ this.#client = client;
3429
+ this.#connection = { ...connection };
3430
+ }
3431
+ /** Lists custom emoji for a team. Source: https://docs.slack.dev/reference/methods/emoji.list */
3432
+ async list(input = {}) {
3433
+ validateArguments("slack.emoji_list", input);
3434
+ const response = await this.#client.integrations.execute({
3435
+ ...this.#connection,
3436
+ integration: "slack",
3437
+ version: "2026-10-28",
3438
+ operation: "slack.emoji_list",
3439
+ arguments: input
3440
+ });
3441
+ return new IntegrationCall(
3442
+ this.#client,
3443
+ response,
3444
+ "slack.emoji_list",
3445
+ "2026-10-28"
3446
+ );
3447
+ }
3448
+ };
3449
+ var SlackFiles = class {
3450
+ #client;
3451
+ #connection;
3452
+ constructor(client, connection) {
3453
+ this.#client = client;
3454
+ this.#connection = { ...connection };
3455
+ }
3456
+ /** Deletes a file. Source: https://docs.slack.dev/reference/methods/files.delete */
3457
+ async delete(input) {
3458
+ validateArguments("slack.files_delete", input);
3459
+ const response = await this.#client.integrations.execute({
3460
+ ...this.#connection,
3461
+ integration: "slack",
3462
+ version: "2026-10-28",
3463
+ operation: "slack.files_delete",
3464
+ arguments: input
3465
+ });
3466
+ return new IntegrationCall(
3467
+ this.#client,
3468
+ response,
3469
+ "slack.files_delete",
3470
+ "2026-10-28"
3471
+ );
3472
+ }
3473
+ /** Gets information about a file. Source: https://docs.slack.dev/reference/methods/files.info */
3474
+ async info(input) {
3475
+ validateArguments("slack.files_info", input);
3476
+ const response = await this.#client.integrations.execute({
3477
+ ...this.#connection,
3478
+ integration: "slack",
3479
+ version: "2026-10-28",
3480
+ operation: "slack.files_info",
3481
+ arguments: input
3482
+ });
3483
+ return new IntegrationCall(
3484
+ this.#client,
3485
+ response,
3486
+ "slack.files_info",
3487
+ "2026-10-28"
3488
+ );
3489
+ }
3490
+ /** List for a team, in a channel, or from a user with applied filters. Source: https://docs.slack.dev/reference/methods/files.list */
3491
+ async list(input = {}) {
3492
+ validateArguments("slack.files_list", input);
3493
+ const response = await this.#client.integrations.execute({
3494
+ ...this.#connection,
3495
+ integration: "slack",
3496
+ version: "2026-10-28",
3497
+ operation: "slack.files_list",
3498
+ arguments: input
3499
+ });
3500
+ return new IntegrationCall(
3501
+ this.#client,
3502
+ response,
3503
+ "slack.files_list",
3504
+ "2026-10-28"
3505
+ );
3506
+ }
3507
+ /** Revokes public/external sharing access for a file. Source: https://docs.slack.dev/reference/methods/files.revokePublicURL */
3508
+ async revokePublicUrl(input) {
3509
+ validateArguments("slack.files_revokepublicurl", input);
3510
+ const response = await this.#client.integrations.execute({
3511
+ ...this.#connection,
3512
+ integration: "slack",
3513
+ version: "2026-10-28",
3514
+ operation: "slack.files_revokepublicurl",
3515
+ arguments: input
3516
+ });
3517
+ return new IntegrationCall(
3518
+ this.#client,
3519
+ response,
3520
+ "slack.files_revokepublicurl",
3521
+ "2026-10-28"
3522
+ );
3523
+ }
3524
+ };
3525
+ var SlackFilesComments = class {
3526
+ #client;
3527
+ #connection;
3528
+ constructor(client, connection) {
3529
+ this.#client = client;
3530
+ this.#connection = { ...connection };
3531
+ }
3532
+ /** Deletes an existing comment on a file. Source: https://docs.slack.dev/reference/methods/files.comments.delete */
3533
+ async delete(input) {
3534
+ validateArguments("slack.files_comments_delete", input);
3535
+ const response = await this.#client.integrations.execute({
3536
+ ...this.#connection,
3537
+ integration: "slack",
3538
+ version: "2026-10-28",
3539
+ operation: "slack.files_comments_delete",
3540
+ arguments: input
3541
+ });
3542
+ return new IntegrationCall(
3543
+ this.#client,
3544
+ response,
3545
+ "slack.files_comments_delete",
3546
+ "2026-10-28"
3547
+ );
3548
+ }
3549
+ };
3550
+ var SlackFilesRemote = class {
3551
+ #client;
3552
+ #connection;
3553
+ constructor(client, connection) {
3554
+ this.#client = client;
3555
+ this.#connection = { ...connection };
3556
+ }
3557
+ /** Adds a file from a remote service. Source: https://docs.slack.dev/reference/methods/files.remote.add */
3558
+ async add(input) {
3559
+ validateArguments("slack.files_remote_add", input);
3560
+ const response = await this.#client.integrations.execute({
3561
+ ...this.#connection,
3562
+ integration: "slack",
3563
+ version: "2026-10-28",
3564
+ operation: "slack.files_remote_add",
3565
+ arguments: input
3566
+ });
3567
+ return new IntegrationCall(
3568
+ this.#client,
3569
+ response,
3570
+ "slack.files_remote_add",
3571
+ "2026-10-28"
3572
+ );
3573
+ }
3574
+ /** Retrieve information about a remote file added to Slack. Source: https://docs.slack.dev/reference/methods/files.remote.info */
3575
+ async info(input = {}) {
3576
+ validateArguments("slack.files_remote_info", input);
3577
+ const response = await this.#client.integrations.execute({
3578
+ ...this.#connection,
3579
+ integration: "slack",
3580
+ version: "2026-10-28",
3581
+ operation: "slack.files_remote_info",
3582
+ arguments: input
3583
+ });
3584
+ return new IntegrationCall(
3585
+ this.#client,
3586
+ response,
3587
+ "slack.files_remote_info",
3588
+ "2026-10-28"
3589
+ );
3590
+ }
3591
+ /** Retrieve information about a remote file added to Slack. Source: https://docs.slack.dev/reference/methods/files.remote.list */
3592
+ async list(input = {}) {
3593
+ validateArguments("slack.files_remote_list", input);
3594
+ const response = await this.#client.integrations.execute({
3595
+ ...this.#connection,
3596
+ integration: "slack",
3597
+ version: "2026-10-28",
3598
+ operation: "slack.files_remote_list",
3599
+ arguments: input
3600
+ });
3601
+ return new IntegrationCall(
3602
+ this.#client,
3603
+ response,
3604
+ "slack.files_remote_list",
3605
+ "2026-10-28"
3606
+ );
3607
+ }
3608
+ /** Remove a remote file. Source: https://docs.slack.dev/reference/methods/files.remote.remove */
3609
+ async remove(input = {}) {
3610
+ validateArguments("slack.files_remote_remove", input);
3611
+ const response = await this.#client.integrations.execute({
3612
+ ...this.#connection,
3613
+ integration: "slack",
3614
+ version: "2026-10-28",
3615
+ operation: "slack.files_remote_remove",
3616
+ arguments: input
3617
+ });
3618
+ return new IntegrationCall(
3619
+ this.#client,
3620
+ response,
3621
+ "slack.files_remote_remove",
3622
+ "2026-10-28"
3623
+ );
3624
+ }
3625
+ /** Share a remote file into a channel. Source: https://docs.slack.dev/reference/methods/files.remote.share */
3626
+ async share(input) {
3627
+ validateArguments("slack.files_remote_share", input);
3628
+ const response = await this.#client.integrations.execute({
3629
+ ...this.#connection,
3630
+ integration: "slack",
3631
+ version: "2026-10-28",
3632
+ operation: "slack.files_remote_share",
3633
+ arguments: input
3634
+ });
3635
+ return new IntegrationCall(
3636
+ this.#client,
3637
+ response,
3638
+ "slack.files_remote_share",
3639
+ "2026-10-28"
3640
+ );
3641
+ }
3642
+ /** Updates an existing remote file. Source: https://docs.slack.dev/reference/methods/files.remote.update */
3643
+ async update(input = {}) {
3644
+ validateArguments("slack.files_remote_update", input);
3645
+ const response = await this.#client.integrations.execute({
3646
+ ...this.#connection,
3647
+ integration: "slack",
3648
+ version: "2026-10-28",
3649
+ operation: "slack.files_remote_update",
3650
+ arguments: input
3651
+ });
3652
+ return new IntegrationCall(
3653
+ this.#client,
3654
+ response,
3655
+ "slack.files_remote_update",
3656
+ "2026-10-28"
3657
+ );
3658
+ }
3659
+ };
3660
+ var SlackMigration = class {
3661
+ #client;
3662
+ #connection;
3663
+ constructor(client, connection) {
3664
+ this.#client = client;
3665
+ this.#connection = { ...connection };
3666
+ }
3667
+ /** For Enterprise organization workspaces, map local user IDs to global user IDs. Source: https://docs.slack.dev/reference/methods/migration.exchange */
3668
+ async exchange(input) {
3669
+ validateArguments("slack.migration_exchange", input);
3670
+ const response = await this.#client.integrations.execute({
3671
+ ...this.#connection,
3672
+ integration: "slack",
3673
+ version: "2026-10-28",
3674
+ operation: "slack.migration_exchange",
3675
+ arguments: input
3676
+ });
3677
+ return new IntegrationCall(
3678
+ this.#client,
3679
+ response,
3680
+ "slack.migration_exchange",
3681
+ "2026-10-28"
3682
+ );
3683
+ }
3684
+ };
3685
+ var SlackPins = class {
3686
+ #client;
3687
+ #connection;
3688
+ constructor(client, connection) {
3689
+ this.#client = client;
3690
+ this.#connection = { ...connection };
3691
+ }
3692
+ /** Pins an item to a channel. Source: https://docs.slack.dev/reference/methods/pins.add */
3693
+ async add(input) {
3694
+ validateArguments("slack.pins_add", input);
3695
+ const response = await this.#client.integrations.execute({
3696
+ ...this.#connection,
3697
+ integration: "slack",
3698
+ version: "2026-10-28",
3699
+ operation: "slack.pins_add",
3700
+ arguments: input
3701
+ });
3702
+ return new IntegrationCall(
3703
+ this.#client,
3704
+ response,
3705
+ "slack.pins_add",
3706
+ "2026-10-28"
3707
+ );
3708
+ }
3709
+ /** Lists items pinned to a channel. Source: https://docs.slack.dev/reference/methods/pins.list */
3710
+ async list(input) {
3711
+ validateArguments("slack.pins_list", input);
3712
+ const response = await this.#client.integrations.execute({
3713
+ ...this.#connection,
3714
+ integration: "slack",
3715
+ version: "2026-10-28",
3716
+ operation: "slack.pins_list",
3717
+ arguments: input
3718
+ });
3719
+ return new IntegrationCall(
3720
+ this.#client,
3721
+ response,
3722
+ "slack.pins_list",
3723
+ "2026-10-28"
3724
+ );
3725
+ }
3726
+ /** Un-pins an item from a channel. Source: https://docs.slack.dev/reference/methods/pins.remove */
3727
+ async remove(input) {
3728
+ validateArguments("slack.pins_remove", input);
3729
+ const response = await this.#client.integrations.execute({
3730
+ ...this.#connection,
3731
+ integration: "slack",
3732
+ version: "2026-10-28",
3733
+ operation: "slack.pins_remove",
3734
+ arguments: input
3735
+ });
3736
+ return new IntegrationCall(
3737
+ this.#client,
3738
+ response,
3739
+ "slack.pins_remove",
3740
+ "2026-10-28"
3741
+ );
3742
+ }
3743
+ };
3744
+ var SlackReactions = class {
3745
+ #client;
3746
+ #connection;
3747
+ constructor(client, connection) {
3748
+ this.#client = client;
3749
+ this.#connection = { ...connection };
3750
+ }
3751
+ /** Adds a reaction to an item. Source: https://docs.slack.dev/reference/methods/reactions.add */
3752
+ async add(input) {
3753
+ validateArguments("slack.reactions_add", input);
3754
+ const response = await this.#client.integrations.execute({
3755
+ ...this.#connection,
3756
+ integration: "slack",
3757
+ version: "2026-10-28",
3758
+ operation: "slack.reactions_add",
3759
+ arguments: input
3760
+ });
3761
+ return new IntegrationCall(
3762
+ this.#client,
3763
+ response,
3764
+ "slack.reactions_add",
3765
+ "2026-10-28"
3766
+ );
3767
+ }
3768
+ /** Gets reactions for an item. Source: https://docs.slack.dev/reference/methods/reactions.get */
3769
+ async get(input = {}) {
3770
+ validateArguments("slack.reactions_get", input);
3771
+ const response = await this.#client.integrations.execute({
3772
+ ...this.#connection,
3773
+ integration: "slack",
3774
+ version: "2026-10-28",
3775
+ operation: "slack.reactions_get",
3776
+ arguments: input
3777
+ });
3778
+ return new IntegrationCall(
3779
+ this.#client,
3780
+ response,
3781
+ "slack.reactions_get",
3782
+ "2026-10-28"
3783
+ );
3784
+ }
3785
+ /** Lists reactions made by a user. Source: https://docs.slack.dev/reference/methods/reactions.list */
3786
+ async list(input = {}) {
3787
+ validateArguments("slack.reactions_list", input);
3788
+ const response = await this.#client.integrations.execute({
3789
+ ...this.#connection,
3790
+ integration: "slack",
3791
+ version: "2026-10-28",
3792
+ operation: "slack.reactions_list",
3793
+ arguments: input
3794
+ });
3795
+ return new IntegrationCall(
3796
+ this.#client,
3797
+ response,
3798
+ "slack.reactions_list",
3799
+ "2026-10-28"
3800
+ );
3801
+ }
3802
+ /** Removes a reaction from an item. Source: https://docs.slack.dev/reference/methods/reactions.remove */
3803
+ async remove(input) {
3804
+ validateArguments("slack.reactions_remove", input);
3805
+ const response = await this.#client.integrations.execute({
3806
+ ...this.#connection,
3807
+ integration: "slack",
3808
+ version: "2026-10-28",
3809
+ operation: "slack.reactions_remove",
3810
+ arguments: input
3811
+ });
3812
+ return new IntegrationCall(
3813
+ this.#client,
3814
+ response,
3815
+ "slack.reactions_remove",
3816
+ "2026-10-28"
3817
+ );
3818
+ }
3819
+ };
3820
+ var SlackTeam = class {
3821
+ #client;
3822
+ #connection;
3823
+ constructor(client, connection) {
3824
+ this.#client = client;
3825
+ this.#connection = { ...connection };
3826
+ }
3827
+ /** Gets information about the current team. Source: https://docs.slack.dev/reference/methods/team.info */
3828
+ async info(input = {}) {
3829
+ validateArguments("slack.team_info", input);
3830
+ const response = await this.#client.integrations.execute({
3831
+ ...this.#connection,
3832
+ integration: "slack",
3833
+ version: "2026-10-28",
3834
+ operation: "slack.team_info",
3835
+ arguments: input
3836
+ });
3837
+ return new IntegrationCall(
3838
+ this.#client,
3839
+ response,
3840
+ "slack.team_info",
3841
+ "2026-10-28"
3842
+ );
3843
+ }
3844
+ };
3845
+ var SlackTeamProfile = class {
3846
+ #client;
3847
+ #connection;
3848
+ constructor(client, connection) {
3849
+ this.#client = client;
3850
+ this.#connection = { ...connection };
3851
+ }
3852
+ /** Retrieve a team's profile. Source: https://docs.slack.dev/reference/methods/team.profile.get */
3853
+ async get(input = {}) {
3854
+ validateArguments("slack.team_profile_get", input);
3855
+ const response = await this.#client.integrations.execute({
3856
+ ...this.#connection,
3857
+ integration: "slack",
3858
+ version: "2026-10-28",
3859
+ operation: "slack.team_profile_get",
3860
+ arguments: input
3861
+ });
3862
+ return new IntegrationCall(
3863
+ this.#client,
3864
+ response,
3865
+ "slack.team_profile_get",
3866
+ "2026-10-28"
3867
+ );
3868
+ }
3869
+ };
3870
+ var SlackUsergroups = class {
3871
+ #client;
3872
+ #connection;
3873
+ constructor(client, connection) {
3874
+ this.#client = client;
3875
+ this.#connection = { ...connection };
3876
+ }
3877
+ /** Create a User Group. Source: https://docs.slack.dev/reference/methods/usergroups.create */
3878
+ async create(input) {
3879
+ validateArguments("slack.usergroups_create", input);
3880
+ const response = await this.#client.integrations.execute({
3881
+ ...this.#connection,
3882
+ integration: "slack",
3883
+ version: "2026-10-28",
3884
+ operation: "slack.usergroups_create",
3885
+ arguments: input
3886
+ });
3887
+ return new IntegrationCall(
3888
+ this.#client,
3889
+ response,
3890
+ "slack.usergroups_create",
3891
+ "2026-10-28"
3892
+ );
3893
+ }
3894
+ /** Disable an existing User Group. Source: https://docs.slack.dev/reference/methods/usergroups.disable */
3895
+ async disable(input) {
3896
+ validateArguments("slack.usergroups_disable", input);
3897
+ const response = await this.#client.integrations.execute({
3898
+ ...this.#connection,
3899
+ integration: "slack",
3900
+ version: "2026-10-28",
3901
+ operation: "slack.usergroups_disable",
3902
+ arguments: input
3903
+ });
3904
+ return new IntegrationCall(
3905
+ this.#client,
3906
+ response,
3907
+ "slack.usergroups_disable",
3908
+ "2026-10-28"
3909
+ );
3910
+ }
3911
+ /** Enable a User Group. Source: https://docs.slack.dev/reference/methods/usergroups.enable */
3912
+ async enable(input) {
3913
+ validateArguments("slack.usergroups_enable", input);
3914
+ const response = await this.#client.integrations.execute({
3915
+ ...this.#connection,
3916
+ integration: "slack",
3917
+ version: "2026-10-28",
3918
+ operation: "slack.usergroups_enable",
3919
+ arguments: input
3920
+ });
3921
+ return new IntegrationCall(
3922
+ this.#client,
3923
+ response,
3924
+ "slack.usergroups_enable",
3925
+ "2026-10-28"
3926
+ );
3927
+ }
3928
+ /** List all User Groups for a team. Source: https://docs.slack.dev/reference/methods/usergroups.list */
3929
+ async list(input = {}) {
3930
+ validateArguments("slack.usergroups_list", input);
3931
+ const response = await this.#client.integrations.execute({
3932
+ ...this.#connection,
3933
+ integration: "slack",
3934
+ version: "2026-10-28",
3935
+ operation: "slack.usergroups_list",
3936
+ arguments: input
3937
+ });
3938
+ return new IntegrationCall(
3939
+ this.#client,
3940
+ response,
3941
+ "slack.usergroups_list",
3942
+ "2026-10-28"
3943
+ );
3944
+ }
3945
+ /** Update an existing User Group. Source: https://docs.slack.dev/reference/methods/usergroups.update */
3946
+ async update(input) {
3947
+ validateArguments("slack.usergroups_update", input);
3948
+ const response = await this.#client.integrations.execute({
3949
+ ...this.#connection,
3950
+ integration: "slack",
3951
+ version: "2026-10-28",
3952
+ operation: "slack.usergroups_update",
3953
+ arguments: input
3954
+ });
3955
+ return new IntegrationCall(
3956
+ this.#client,
3957
+ response,
3958
+ "slack.usergroups_update",
3959
+ "2026-10-28"
3960
+ );
3961
+ }
3962
+ };
3963
+ var SlackUsergroupsUsers = class {
3964
+ #client;
3965
+ #connection;
3966
+ constructor(client, connection) {
3967
+ this.#client = client;
3968
+ this.#connection = { ...connection };
3969
+ }
3970
+ /** List all users in a User Group. Source: https://docs.slack.dev/reference/methods/usergroups.users.list */
3971
+ async list(input) {
3972
+ validateArguments("slack.usergroups_users_list", input);
3973
+ const response = await this.#client.integrations.execute({
3974
+ ...this.#connection,
3975
+ integration: "slack",
3976
+ version: "2026-10-28",
3977
+ operation: "slack.usergroups_users_list",
3978
+ arguments: input
3979
+ });
3980
+ return new IntegrationCall(
3981
+ this.#client,
3982
+ response,
3983
+ "slack.usergroups_users_list",
3984
+ "2026-10-28"
3985
+ );
3986
+ }
3987
+ /** Update the list of users for a user group. Source: https://docs.slack.dev/reference/methods/usergroups.users.update */
3988
+ async update(input) {
3989
+ validateArguments("slack.usergroups_users_update", input);
3990
+ const response = await this.#client.integrations.execute({
3991
+ ...this.#connection,
3992
+ integration: "slack",
3993
+ version: "2026-10-28",
3994
+ operation: "slack.usergroups_users_update",
3995
+ arguments: input
3996
+ });
3997
+ return new IntegrationCall(
3998
+ this.#client,
3999
+ response,
4000
+ "slack.usergroups_users_update",
4001
+ "2026-10-28"
4002
+ );
4003
+ }
4004
+ };
4005
+ var SlackUsers = class {
4006
+ #client;
4007
+ #connection;
4008
+ constructor(client, connection) {
4009
+ this.#client = client;
4010
+ this.#connection = { ...connection };
4011
+ }
4012
+ /** List conversations the calling user is a member of. Source: https://docs.slack.dev/reference/methods/users.conversations */
4013
+ async conversations(input = {}) {
4014
+ validateArguments("slack.users_conversations", input);
4015
+ const response = await this.#client.integrations.execute({
4016
+ ...this.#connection,
4017
+ integration: "slack",
4018
+ version: "2026-10-28",
4019
+ operation: "slack.users_conversations",
4020
+ arguments: input
4021
+ });
4022
+ return new IntegrationCall(
4023
+ this.#client,
4024
+ response,
4025
+ "slack.users_conversations",
4026
+ "2026-10-28"
4027
+ );
4028
+ }
4029
+ /** Gets user presence information. Source: https://docs.slack.dev/reference/methods/users.getPresence */
4030
+ async getPresence(input = {}) {
4031
+ validateArguments("slack.users_getpresence", input);
4032
+ const response = await this.#client.integrations.execute({
4033
+ ...this.#connection,
4034
+ integration: "slack",
4035
+ version: "2026-10-28",
4036
+ operation: "slack.users_getpresence",
4037
+ arguments: input
4038
+ });
4039
+ return new IntegrationCall(
4040
+ this.#client,
4041
+ response,
4042
+ "slack.users_getpresence",
4043
+ "2026-10-28"
4044
+ );
4045
+ }
4046
+ /** Gets information about a user. Source: https://docs.slack.dev/reference/methods/users.info */
4047
+ async info(input = {}) {
4048
+ validateArguments("slack.users_info", input);
4049
+ const response = await this.#client.integrations.execute({
4050
+ ...this.#connection,
4051
+ integration: "slack",
4052
+ version: "2026-10-28",
4053
+ operation: "slack.users_info",
4054
+ arguments: input
4055
+ });
4056
+ return new IntegrationCall(
4057
+ this.#client,
4058
+ response,
4059
+ "slack.users_info",
4060
+ "2026-10-28"
4061
+ );
4062
+ }
4063
+ /** Lists all users in a Slack team. Source: https://docs.slack.dev/reference/methods/users.list */
4064
+ async list(input = {}) {
4065
+ validateArguments("slack.users_list", input);
4066
+ const response = await this.#client.integrations.execute({
4067
+ ...this.#connection,
4068
+ integration: "slack",
4069
+ version: "2026-10-28",
4070
+ operation: "slack.users_list",
4071
+ arguments: input
4072
+ });
4073
+ return new IntegrationCall(
4074
+ this.#client,
4075
+ response,
4076
+ "slack.users_list",
4077
+ "2026-10-28"
4078
+ );
4079
+ }
4080
+ /** Find a user with an email address. Source: https://docs.slack.dev/reference/methods/users.lookupByEmail */
4081
+ async lookupByEmail(input) {
4082
+ validateArguments("slack.users_lookupbyemail", input);
4083
+ const response = await this.#client.integrations.execute({
4084
+ ...this.#connection,
4085
+ integration: "slack",
4086
+ version: "2026-10-28",
4087
+ operation: "slack.users_lookupbyemail",
4088
+ arguments: input
4089
+ });
4090
+ return new IntegrationCall(
4091
+ this.#client,
4092
+ response,
4093
+ "slack.users_lookupbyemail",
4094
+ "2026-10-28"
4095
+ );
4096
+ }
4097
+ /** Manually sets user presence. Source: https://docs.slack.dev/reference/methods/users.setPresence */
4098
+ async setPresence(input) {
4099
+ validateArguments("slack.users_setpresence", input);
4100
+ const response = await this.#client.integrations.execute({
4101
+ ...this.#connection,
4102
+ integration: "slack",
4103
+ version: "2026-10-28",
4104
+ operation: "slack.users_setpresence",
4105
+ arguments: input
4106
+ });
4107
+ return new IntegrationCall(
4108
+ this.#client,
4109
+ response,
4110
+ "slack.users_setpresence",
4111
+ "2026-10-28"
4112
+ );
4113
+ }
4114
+ };
4115
+ var SlackUsersProfile = class {
4116
+ #client;
4117
+ #connection;
4118
+ constructor(client, connection) {
4119
+ this.#client = client;
4120
+ this.#connection = { ...connection };
4121
+ }
4122
+ /** Retrieve a user's profile information, including their custom status. Source: https://docs.slack.dev/reference/methods/users.profile.get */
4123
+ async get(input = {}) {
4124
+ validateArguments("slack.users_profile_get", input);
4125
+ const response = await this.#client.integrations.execute({
4126
+ ...this.#connection,
4127
+ integration: "slack",
4128
+ version: "2026-10-28",
4129
+ operation: "slack.users_profile_get",
4130
+ arguments: input
4131
+ });
4132
+ return new IntegrationCall(
4133
+ this.#client,
4134
+ response,
4135
+ "slack.users_profile_get",
4136
+ "2026-10-28"
4137
+ );
4138
+ }
4139
+ };
4140
+ var SlackViews = class {
4141
+ #client;
4142
+ #connection;
4143
+ constructor(client, connection) {
4144
+ this.#client = client;
4145
+ this.#connection = { ...connection };
4146
+ }
4147
+ /** Open a view for a user. Source: https://docs.slack.dev/reference/methods/views.open */
4148
+ async open(input) {
4149
+ validateArguments("slack.views_open", input);
4150
+ const response = await this.#client.integrations.execute({
4151
+ ...this.#connection,
4152
+ integration: "slack",
4153
+ version: "2026-10-28",
4154
+ operation: "slack.views_open",
4155
+ arguments: input
4156
+ });
4157
+ return new IntegrationCall(
4158
+ this.#client,
4159
+ response,
4160
+ "slack.views_open",
4161
+ "2026-10-28"
4162
+ );
4163
+ }
4164
+ /** Publish a static view for a User. Source: https://docs.slack.dev/reference/methods/views.publish */
4165
+ async publish(input) {
4166
+ validateArguments("slack.views_publish", input);
4167
+ const response = await this.#client.integrations.execute({
4168
+ ...this.#connection,
4169
+ integration: "slack",
4170
+ version: "2026-10-28",
4171
+ operation: "slack.views_publish",
4172
+ arguments: input
4173
+ });
4174
+ return new IntegrationCall(
4175
+ this.#client,
4176
+ response,
4177
+ "slack.views_publish",
4178
+ "2026-10-28"
4179
+ );
4180
+ }
4181
+ /** Push a view onto the stack of a root view. Source: https://docs.slack.dev/reference/methods/views.push */
4182
+ async push(input) {
4183
+ validateArguments("slack.views_push", input);
4184
+ const response = await this.#client.integrations.execute({
4185
+ ...this.#connection,
4186
+ integration: "slack",
4187
+ version: "2026-10-28",
4188
+ operation: "slack.views_push",
4189
+ arguments: input
4190
+ });
4191
+ return new IntegrationCall(
4192
+ this.#client,
4193
+ response,
4194
+ "slack.views_push",
4195
+ "2026-10-28"
4196
+ );
4197
+ }
4198
+ /** Update an existing view. Source: https://docs.slack.dev/reference/methods/views.update */
4199
+ async update(input) {
4200
+ validateArguments("slack.views_update", input);
4201
+ const response = await this.#client.integrations.execute({
4202
+ ...this.#connection,
4203
+ integration: "slack",
4204
+ version: "2026-10-28",
4205
+ operation: "slack.views_update",
4206
+ arguments: input
4207
+ });
4208
+ return new IntegrationCall(
4209
+ this.#client,
4210
+ response,
4211
+ "slack.views_update",
4212
+ "2026-10-28"
4213
+ );
4214
+ }
4215
+ };
4216
+ var SlackIntegration = class {
4217
+ #client;
4218
+ api;
4219
+ auth;
4220
+ bots;
4221
+ calls;
4222
+ callsParticipants;
4223
+ chat;
4224
+ chatScheduledMessages;
4225
+ conversations;
4226
+ dialog;
4227
+ dnd;
4228
+ emoji;
4229
+ files;
4230
+ filesComments;
4231
+ filesRemote;
4232
+ migration;
4233
+ pins;
4234
+ reactions;
4235
+ team;
4236
+ teamProfile;
4237
+ usergroups;
4238
+ usergroupsUsers;
4239
+ users;
4240
+ usersProfile;
4241
+ views;
4242
+ constructor(client, connection = {}) {
4243
+ this.#client = client;
4244
+ this.api = new SlackApi(client, connection);
4245
+ this.auth = new SlackAuth(client, connection);
4246
+ this.bots = new SlackBots(client, connection);
4247
+ this.calls = new SlackCalls(client, connection);
4248
+ this.callsParticipants = new SlackCallsParticipants(client, connection);
4249
+ this.chat = new SlackChat(client, connection);
4250
+ this.chatScheduledMessages = new SlackChatScheduledMessages(
4251
+ client,
4252
+ connection
4253
+ );
4254
+ this.conversations = new SlackConversations(client, connection);
4255
+ this.dialog = new SlackDialog(client, connection);
4256
+ this.dnd = new SlackDnd(client, connection);
4257
+ this.emoji = new SlackEmoji(client, connection);
4258
+ this.files = new SlackFiles(client, connection);
4259
+ this.filesComments = new SlackFilesComments(client, connection);
4260
+ this.filesRemote = new SlackFilesRemote(client, connection);
4261
+ this.migration = new SlackMigration(client, connection);
4262
+ this.pins = new SlackPins(client, connection);
4263
+ this.reactions = new SlackReactions(client, connection);
4264
+ this.team = new SlackTeam(client, connection);
4265
+ this.teamProfile = new SlackTeamProfile(client, connection);
4266
+ this.usergroups = new SlackUsergroups(client, connection);
4267
+ this.usergroupsUsers = new SlackUsergroupsUsers(client, connection);
4268
+ this.users = new SlackUsers(client, connection);
4269
+ this.usersProfile = new SlackUsersProfile(client, connection);
4270
+ this.views = new SlackViews(client, connection);
4271
+ }
4272
+ async resume(approvalId) {
4273
+ return await resumeCall(
4274
+ this.#client,
4275
+ approvalId,
4276
+ "slack",
4277
+ "2026-10-28"
4278
+ );
4279
+ }
4280
+ };
4281
+
4282
+ // src/index.ts
4283
+ var contractVersion = "2026-10-28";
4284
+ // Annotate the CommonJS export names for ESM import in node:
4285
+ 0 && (module.exports = {
4286
+ IntegrationCall,
4287
+ IntegrationResult,
4288
+ SlackApi,
4289
+ SlackAuth,
4290
+ SlackBots,
4291
+ SlackCalls,
4292
+ SlackCallsParticipants,
4293
+ SlackChat,
4294
+ SlackChatScheduledMessages,
4295
+ SlackConversations,
4296
+ SlackDialog,
4297
+ SlackDnd,
4298
+ SlackEmoji,
4299
+ SlackFiles,
4300
+ SlackFilesComments,
4301
+ SlackFilesRemote,
4302
+ SlackIntegration,
4303
+ SlackMigration,
4304
+ SlackPins,
4305
+ SlackReactions,
4306
+ SlackTeam,
4307
+ SlackTeamProfile,
4308
+ SlackUsergroups,
4309
+ SlackUsergroupsUsers,
4310
+ SlackUsers,
4311
+ SlackUsersProfile,
4312
+ SlackViews,
4313
+ contractVersion
4314
+ });