@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/LICENSE +21 -0
- package/README.md +55 -2
- package/dist/index.cjs +4314 -0
- package/dist/index.d.cts +3236 -0
- package/dist/index.d.ts +3236 -0
- package/dist/index.js +4265 -0
- package/package.json +37 -3
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,3236 @@
|
|
|
1
|
+
import { IntegrationCall as IntegrationCall$1, IntegrationClient, ApprovalResult, PendingApproval, IntegrationApprovalReference, IntegrationResult as IntegrationResult$1, IntegrationConnection } from '@alter-ai/sdk';
|
|
2
|
+
|
|
3
|
+
declare class IntegrationCall<T> extends IntegrationCall$1<T> {
|
|
4
|
+
constructor(client: IntegrationClient, response: ApprovalResult | PendingApproval | IntegrationApprovalReference, operation: string, version: string);
|
|
5
|
+
}
|
|
6
|
+
declare class IntegrationResult<T> extends IntegrationResult$1<T> {
|
|
7
|
+
constructor(response: ApprovalResult, operation: string, version: string);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type Blocks = Array<{
|
|
11
|
+
type?: string;
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}>;
|
|
14
|
+
type DefsAppId = string;
|
|
15
|
+
type DefsBotId = string;
|
|
16
|
+
type DefsChannel = string;
|
|
17
|
+
type DefsChannelId = string;
|
|
18
|
+
type DefsChannelName = string;
|
|
19
|
+
type DefsCommentId = string;
|
|
20
|
+
type DefsDmId = string;
|
|
21
|
+
type DefsEnterpriseId = string;
|
|
22
|
+
type DefsEnterpriseName = string;
|
|
23
|
+
type DefsEnterpriseUserId = string;
|
|
24
|
+
type DefsFileId = string;
|
|
25
|
+
type DefsGroupId = string;
|
|
26
|
+
type DefsOkFalse = false;
|
|
27
|
+
type DefsOkTrue = true;
|
|
28
|
+
type DefsOptionalAppId = string;
|
|
29
|
+
type DefsPinnedInfo = {
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
};
|
|
32
|
+
type DefsReminderId = string;
|
|
33
|
+
type DefsSubteamId = string;
|
|
34
|
+
type DefsTeam = string;
|
|
35
|
+
type DefsTopicPurposeCreator = string;
|
|
36
|
+
type DefsTs = string;
|
|
37
|
+
type DefsUserId = string;
|
|
38
|
+
type DefsWorkspaceId = string;
|
|
39
|
+
type ObjsBotProfile = {
|
|
40
|
+
app_id?: DefsAppId;
|
|
41
|
+
deleted?: boolean;
|
|
42
|
+
icons?: {
|
|
43
|
+
image_36?: string;
|
|
44
|
+
image_48?: string;
|
|
45
|
+
image_72?: string;
|
|
46
|
+
[key: string]: unknown;
|
|
47
|
+
};
|
|
48
|
+
id?: DefsBotId;
|
|
49
|
+
name?: string;
|
|
50
|
+
team_id?: DefsTeam;
|
|
51
|
+
updated?: number;
|
|
52
|
+
[key: string]: unknown;
|
|
53
|
+
};
|
|
54
|
+
type ObjsChannel = {
|
|
55
|
+
accepted_user?: DefsUserId;
|
|
56
|
+
created?: number;
|
|
57
|
+
creator?: DefsUserId;
|
|
58
|
+
id?: DefsChannelId;
|
|
59
|
+
is_archived?: boolean;
|
|
60
|
+
is_channel?: boolean;
|
|
61
|
+
is_frozen?: boolean;
|
|
62
|
+
is_general?: boolean;
|
|
63
|
+
is_member?: boolean;
|
|
64
|
+
is_moved?: number;
|
|
65
|
+
is_mpim?: boolean;
|
|
66
|
+
is_non_threadable?: boolean;
|
|
67
|
+
is_org_shared?: boolean;
|
|
68
|
+
is_pending_ext_shared?: boolean;
|
|
69
|
+
is_private?: boolean;
|
|
70
|
+
is_read_only?: boolean;
|
|
71
|
+
is_shared?: boolean;
|
|
72
|
+
is_thread_only?: boolean;
|
|
73
|
+
last_read?: DefsTs;
|
|
74
|
+
latest?: ObjsMessage | null;
|
|
75
|
+
members?: Array<DefsUserId>;
|
|
76
|
+
name?: string;
|
|
77
|
+
name_normalized?: string;
|
|
78
|
+
num_members?: number;
|
|
79
|
+
pending_shared?: Array<DefsTeam>;
|
|
80
|
+
previous_names?: Array<DefsChannelName>;
|
|
81
|
+
priority?: number;
|
|
82
|
+
purpose?: {
|
|
83
|
+
creator?: DefsTopicPurposeCreator;
|
|
84
|
+
last_set?: number;
|
|
85
|
+
value?: string;
|
|
86
|
+
[key: string]: unknown;
|
|
87
|
+
};
|
|
88
|
+
topic?: {
|
|
89
|
+
creator?: DefsTopicPurposeCreator;
|
|
90
|
+
last_set?: number;
|
|
91
|
+
value?: string;
|
|
92
|
+
[key: string]: unknown;
|
|
93
|
+
};
|
|
94
|
+
unlinked?: number;
|
|
95
|
+
unread_count?: number;
|
|
96
|
+
unread_count_display?: number;
|
|
97
|
+
[key: string]: unknown;
|
|
98
|
+
};
|
|
99
|
+
type ObjsComment = {
|
|
100
|
+
comment?: string;
|
|
101
|
+
created?: number;
|
|
102
|
+
id?: DefsCommentId;
|
|
103
|
+
is_intro?: boolean;
|
|
104
|
+
is_starred?: boolean;
|
|
105
|
+
num_stars?: number;
|
|
106
|
+
pinned_info?: DefsPinnedInfo;
|
|
107
|
+
pinned_to?: Array<DefsChannel>;
|
|
108
|
+
reactions?: Array<ObjsReaction>;
|
|
109
|
+
timestamp?: number;
|
|
110
|
+
user?: DefsUserId;
|
|
111
|
+
[key: string]: unknown;
|
|
112
|
+
};
|
|
113
|
+
type ObjsComments = Array<unknown>;
|
|
114
|
+
type ObjsConversation = {
|
|
115
|
+
accepted_user?: DefsUserId;
|
|
116
|
+
connected_team_ids?: Array<DefsWorkspaceId>;
|
|
117
|
+
conversation_host_id?: DefsWorkspaceId;
|
|
118
|
+
created?: number;
|
|
119
|
+
creator?: DefsUserId;
|
|
120
|
+
display_counts?: {
|
|
121
|
+
display_counts?: number;
|
|
122
|
+
guest_counts?: number;
|
|
123
|
+
[key: string]: unknown;
|
|
124
|
+
};
|
|
125
|
+
enterprise_id?: DefsEnterpriseId;
|
|
126
|
+
has_pins?: boolean;
|
|
127
|
+
id?: DefsChannel;
|
|
128
|
+
internal_team_ids?: Array<DefsTeam>;
|
|
129
|
+
is_archived?: boolean;
|
|
130
|
+
is_channel?: boolean;
|
|
131
|
+
is_ext_shared?: boolean;
|
|
132
|
+
is_frozen?: boolean;
|
|
133
|
+
is_general?: boolean;
|
|
134
|
+
is_global_shared?: boolean;
|
|
135
|
+
is_group?: boolean;
|
|
136
|
+
is_im?: boolean;
|
|
137
|
+
is_member?: boolean;
|
|
138
|
+
is_moved?: number;
|
|
139
|
+
is_mpim?: false;
|
|
140
|
+
is_non_threadable?: boolean;
|
|
141
|
+
is_open?: boolean;
|
|
142
|
+
is_org_default?: boolean;
|
|
143
|
+
is_org_mandatory?: boolean;
|
|
144
|
+
is_org_shared?: boolean;
|
|
145
|
+
is_pending_ext_shared?: boolean;
|
|
146
|
+
is_private?: boolean;
|
|
147
|
+
is_read_only?: boolean;
|
|
148
|
+
is_shared?: boolean;
|
|
149
|
+
is_starred?: boolean;
|
|
150
|
+
is_thread_only?: boolean;
|
|
151
|
+
last_read?: DefsTs;
|
|
152
|
+
latest?: ObjsMessage | null;
|
|
153
|
+
members?: Array<DefsUserId>;
|
|
154
|
+
name?: string;
|
|
155
|
+
name_normalized?: string;
|
|
156
|
+
num_members?: number;
|
|
157
|
+
parent_conversation?: string | null;
|
|
158
|
+
pending_connected_team_ids?: Array<DefsTeam>;
|
|
159
|
+
pending_shared?: Array<DefsTeam>;
|
|
160
|
+
pin_count?: number;
|
|
161
|
+
previous_names?: Array<DefsChannelName>;
|
|
162
|
+
priority?: number;
|
|
163
|
+
purpose?: {
|
|
164
|
+
creator?: DefsTopicPurposeCreator;
|
|
165
|
+
last_set?: number;
|
|
166
|
+
value?: string;
|
|
167
|
+
[key: string]: unknown;
|
|
168
|
+
};
|
|
169
|
+
shared_team_ids?: Array<DefsTeam>;
|
|
170
|
+
shares?: Array<{
|
|
171
|
+
accepted_user?: DefsUserId;
|
|
172
|
+
is_active?: boolean;
|
|
173
|
+
team?: ObjsTeam;
|
|
174
|
+
user?: DefsUserId;
|
|
175
|
+
[key: string]: unknown;
|
|
176
|
+
}>;
|
|
177
|
+
timezone_count?: number;
|
|
178
|
+
topic?: {
|
|
179
|
+
creator?: DefsTopicPurposeCreator;
|
|
180
|
+
last_set?: number;
|
|
181
|
+
value?: string;
|
|
182
|
+
[key: string]: unknown;
|
|
183
|
+
};
|
|
184
|
+
unlinked?: number;
|
|
185
|
+
unread_count?: number;
|
|
186
|
+
unread_count_display?: number;
|
|
187
|
+
use_case?: string;
|
|
188
|
+
user?: DefsUserId;
|
|
189
|
+
version?: number;
|
|
190
|
+
[key: string]: unknown;
|
|
191
|
+
} | {
|
|
192
|
+
accepted_user?: DefsUserId;
|
|
193
|
+
connected_team_ids?: Array<DefsTeam>;
|
|
194
|
+
conversation_host_id?: DefsWorkspaceId;
|
|
195
|
+
created?: number;
|
|
196
|
+
creator?: DefsUserId;
|
|
197
|
+
display_counts?: {
|
|
198
|
+
display_counts?: number;
|
|
199
|
+
guest_counts?: number;
|
|
200
|
+
[key: string]: unknown;
|
|
201
|
+
};
|
|
202
|
+
id?: DefsChannel;
|
|
203
|
+
internal_team_ids?: Array<DefsTeam>;
|
|
204
|
+
is_archived?: boolean;
|
|
205
|
+
is_channel?: boolean;
|
|
206
|
+
is_ext_shared?: boolean;
|
|
207
|
+
is_frozen?: boolean;
|
|
208
|
+
is_general?: boolean;
|
|
209
|
+
is_group?: boolean;
|
|
210
|
+
is_im?: boolean;
|
|
211
|
+
is_member?: boolean;
|
|
212
|
+
is_moved?: number;
|
|
213
|
+
is_mpim?: true;
|
|
214
|
+
is_non_threadable?: boolean;
|
|
215
|
+
is_open?: boolean;
|
|
216
|
+
is_org_shared?: boolean;
|
|
217
|
+
is_pending_ext_shared?: boolean;
|
|
218
|
+
is_private?: boolean;
|
|
219
|
+
is_read_only?: boolean;
|
|
220
|
+
is_shared?: boolean;
|
|
221
|
+
is_starred?: boolean;
|
|
222
|
+
is_thread_only?: boolean;
|
|
223
|
+
last_read?: DefsTs;
|
|
224
|
+
latest?: ObjsMessage | null;
|
|
225
|
+
members?: Array<DefsUserId>;
|
|
226
|
+
name?: string;
|
|
227
|
+
name_normalized?: string;
|
|
228
|
+
num_members?: number;
|
|
229
|
+
parent_conversation?: string | null;
|
|
230
|
+
pending_connected_team_ids?: Array<DefsTeam>;
|
|
231
|
+
pending_shared?: Array<DefsTeam>;
|
|
232
|
+
pin_count?: number;
|
|
233
|
+
previous_names?: Array<DefsChannelName>;
|
|
234
|
+
priority?: number;
|
|
235
|
+
purpose?: {
|
|
236
|
+
creator?: DefsTopicPurposeCreator;
|
|
237
|
+
last_set?: number;
|
|
238
|
+
value?: string;
|
|
239
|
+
[key: string]: unknown;
|
|
240
|
+
};
|
|
241
|
+
shared_team_ids?: Array<DefsTeam>;
|
|
242
|
+
shares?: Array<{
|
|
243
|
+
accepted_user?: DefsUserId;
|
|
244
|
+
is_active?: boolean;
|
|
245
|
+
team?: ObjsTeam;
|
|
246
|
+
user?: DefsUserId;
|
|
247
|
+
[key: string]: unknown;
|
|
248
|
+
}>;
|
|
249
|
+
timezone_count?: number;
|
|
250
|
+
topic?: {
|
|
251
|
+
creator?: DefsTopicPurposeCreator;
|
|
252
|
+
last_set?: number;
|
|
253
|
+
value?: string;
|
|
254
|
+
[key: string]: unknown;
|
|
255
|
+
};
|
|
256
|
+
unlinked?: number;
|
|
257
|
+
unread_count?: number;
|
|
258
|
+
unread_count_display?: number;
|
|
259
|
+
user?: DefsUserId;
|
|
260
|
+
version?: number;
|
|
261
|
+
[key: string]: unknown;
|
|
262
|
+
} | {
|
|
263
|
+
created?: number;
|
|
264
|
+
has_pins?: boolean;
|
|
265
|
+
id?: DefsDmId;
|
|
266
|
+
is_archived?: boolean;
|
|
267
|
+
is_ext_shared?: boolean;
|
|
268
|
+
is_frozen?: boolean;
|
|
269
|
+
is_im?: boolean;
|
|
270
|
+
is_open?: boolean;
|
|
271
|
+
is_org_shared?: boolean;
|
|
272
|
+
is_shared?: boolean;
|
|
273
|
+
is_starred?: boolean;
|
|
274
|
+
is_user_deleted?: boolean;
|
|
275
|
+
last_read?: DefsTs;
|
|
276
|
+
latest?: ObjsMessage | null;
|
|
277
|
+
parent_conversation?: string | null;
|
|
278
|
+
pin_count?: number;
|
|
279
|
+
priority?: number;
|
|
280
|
+
shares?: Array<{
|
|
281
|
+
date_create?: number;
|
|
282
|
+
id?: DefsTeam;
|
|
283
|
+
is_active?: boolean;
|
|
284
|
+
name?: string;
|
|
285
|
+
team?: ObjsTeam;
|
|
286
|
+
[key: string]: unknown;
|
|
287
|
+
}>;
|
|
288
|
+
unread_count?: number;
|
|
289
|
+
unread_count_display?: number;
|
|
290
|
+
user?: DefsUserId;
|
|
291
|
+
version?: number;
|
|
292
|
+
[key: string]: unknown;
|
|
293
|
+
};
|
|
294
|
+
type ObjsEnterpriseUser = {
|
|
295
|
+
enterprise_id?: DefsEnterpriseId;
|
|
296
|
+
enterprise_name?: DefsEnterpriseName;
|
|
297
|
+
id?: DefsEnterpriseUserId;
|
|
298
|
+
is_admin?: boolean;
|
|
299
|
+
is_owner?: boolean;
|
|
300
|
+
teams?: Array<DefsTeam>;
|
|
301
|
+
[key: string]: unknown;
|
|
302
|
+
};
|
|
303
|
+
type ObjsExternalOrgMigrations = {
|
|
304
|
+
current?: Array<{
|
|
305
|
+
date_started?: number;
|
|
306
|
+
team_id?: string;
|
|
307
|
+
[key: string]: unknown;
|
|
308
|
+
}>;
|
|
309
|
+
date_updated?: number;
|
|
310
|
+
[key: string]: unknown;
|
|
311
|
+
};
|
|
312
|
+
type ObjsFile = {
|
|
313
|
+
channels?: Array<DefsChannelId>;
|
|
314
|
+
comments_count?: number;
|
|
315
|
+
created?: number;
|
|
316
|
+
date_delete?: number;
|
|
317
|
+
display_as_bot?: boolean;
|
|
318
|
+
editable?: boolean;
|
|
319
|
+
editor?: DefsUserId;
|
|
320
|
+
external_id?: string;
|
|
321
|
+
external_type?: string;
|
|
322
|
+
external_url?: string;
|
|
323
|
+
filetype?: string;
|
|
324
|
+
groups?: Array<DefsGroupId>;
|
|
325
|
+
has_rich_preview?: boolean;
|
|
326
|
+
id?: DefsFileId;
|
|
327
|
+
image_exif_rotation?: number;
|
|
328
|
+
ims?: Array<DefsDmId>;
|
|
329
|
+
is_external?: boolean;
|
|
330
|
+
is_public?: boolean;
|
|
331
|
+
is_starred?: boolean;
|
|
332
|
+
is_tombstoned?: boolean;
|
|
333
|
+
last_editor?: DefsUserId;
|
|
334
|
+
mimetype?: string;
|
|
335
|
+
mode?: string;
|
|
336
|
+
name?: string;
|
|
337
|
+
non_owner_editable?: boolean;
|
|
338
|
+
num_stars?: number;
|
|
339
|
+
original_h?: number;
|
|
340
|
+
original_w?: number;
|
|
341
|
+
permalink?: string;
|
|
342
|
+
permalink_public?: string;
|
|
343
|
+
pinned_info?: DefsPinnedInfo;
|
|
344
|
+
pinned_to?: Array<DefsChannel>;
|
|
345
|
+
pretty_type?: string;
|
|
346
|
+
preview?: string;
|
|
347
|
+
public_url_shared?: boolean;
|
|
348
|
+
reactions?: Array<ObjsReaction>;
|
|
349
|
+
shares?: {
|
|
350
|
+
private?: unknown;
|
|
351
|
+
public?: unknown;
|
|
352
|
+
[key: string]: unknown;
|
|
353
|
+
};
|
|
354
|
+
size?: number;
|
|
355
|
+
source_team?: DefsTeam;
|
|
356
|
+
state?: string;
|
|
357
|
+
thumb_1024?: string;
|
|
358
|
+
thumb_1024_h?: number;
|
|
359
|
+
thumb_1024_w?: number;
|
|
360
|
+
thumb_160?: string;
|
|
361
|
+
thumb_360?: string;
|
|
362
|
+
thumb_360_h?: number;
|
|
363
|
+
thumb_360_w?: number;
|
|
364
|
+
thumb_480?: string;
|
|
365
|
+
thumb_480_h?: number;
|
|
366
|
+
thumb_480_w?: number;
|
|
367
|
+
thumb_64?: string;
|
|
368
|
+
thumb_720?: string;
|
|
369
|
+
thumb_720_h?: number;
|
|
370
|
+
thumb_720_w?: number;
|
|
371
|
+
thumb_80?: string;
|
|
372
|
+
thumb_800?: string;
|
|
373
|
+
thumb_800_h?: number;
|
|
374
|
+
thumb_800_w?: number;
|
|
375
|
+
thumb_960?: string;
|
|
376
|
+
thumb_960_h?: number;
|
|
377
|
+
thumb_960_w?: number;
|
|
378
|
+
thumb_tiny?: string;
|
|
379
|
+
timestamp?: number;
|
|
380
|
+
title?: string;
|
|
381
|
+
updated?: number;
|
|
382
|
+
url_private?: string;
|
|
383
|
+
url_private_download?: string;
|
|
384
|
+
user?: string;
|
|
385
|
+
user_team?: DefsTeam;
|
|
386
|
+
username?: string;
|
|
387
|
+
[key: string]: unknown;
|
|
388
|
+
};
|
|
389
|
+
type ObjsIcon = {
|
|
390
|
+
image_102?: string;
|
|
391
|
+
image_132?: string;
|
|
392
|
+
image_230?: string;
|
|
393
|
+
image_34?: string;
|
|
394
|
+
image_44?: string;
|
|
395
|
+
image_68?: string;
|
|
396
|
+
image_88?: string;
|
|
397
|
+
image_default?: boolean;
|
|
398
|
+
[key: string]: unknown;
|
|
399
|
+
};
|
|
400
|
+
type ObjsMessage = {
|
|
401
|
+
attachments?: Array<{
|
|
402
|
+
fallback?: string;
|
|
403
|
+
id?: number;
|
|
404
|
+
image_bytes?: number;
|
|
405
|
+
image_height?: number;
|
|
406
|
+
image_url?: string;
|
|
407
|
+
image_width?: number;
|
|
408
|
+
[key: string]: unknown;
|
|
409
|
+
}>;
|
|
410
|
+
blocks?: Blocks;
|
|
411
|
+
bot_id?: string | null;
|
|
412
|
+
bot_profile?: ObjsBotProfile;
|
|
413
|
+
client_msg_id?: string;
|
|
414
|
+
comment?: ObjsComment;
|
|
415
|
+
display_as_bot?: boolean;
|
|
416
|
+
file?: ObjsFile;
|
|
417
|
+
files?: Array<ObjsFile>;
|
|
418
|
+
icons?: {
|
|
419
|
+
emoji?: string;
|
|
420
|
+
image_64?: string;
|
|
421
|
+
[key: string]: unknown;
|
|
422
|
+
};
|
|
423
|
+
inviter?: DefsUserId;
|
|
424
|
+
is_delayed_message?: boolean;
|
|
425
|
+
is_intro?: boolean;
|
|
426
|
+
is_starred?: boolean;
|
|
427
|
+
last_read?: DefsTs;
|
|
428
|
+
latest_reply?: DefsTs;
|
|
429
|
+
name?: string;
|
|
430
|
+
old_name?: string;
|
|
431
|
+
parent_user_id?: DefsUserId;
|
|
432
|
+
permalink?: string;
|
|
433
|
+
pinned_to?: Array<DefsChannel>;
|
|
434
|
+
purpose?: string;
|
|
435
|
+
reactions?: Array<ObjsReaction>;
|
|
436
|
+
reply_count?: number;
|
|
437
|
+
reply_users?: Array<DefsUserId>;
|
|
438
|
+
reply_users_count?: number;
|
|
439
|
+
source_team?: DefsWorkspaceId;
|
|
440
|
+
subscribed?: boolean;
|
|
441
|
+
subtype?: string;
|
|
442
|
+
team?: DefsWorkspaceId;
|
|
443
|
+
text?: string;
|
|
444
|
+
thread_ts?: DefsTs;
|
|
445
|
+
topic?: string;
|
|
446
|
+
ts?: DefsTs;
|
|
447
|
+
type?: string;
|
|
448
|
+
unread_count?: number;
|
|
449
|
+
upload?: boolean;
|
|
450
|
+
user?: DefsUserId;
|
|
451
|
+
user_profile?: ObjsUserProfileShort;
|
|
452
|
+
user_team?: DefsWorkspaceId;
|
|
453
|
+
username?: string;
|
|
454
|
+
[key: string]: unknown;
|
|
455
|
+
};
|
|
456
|
+
type ObjsPaging = {
|
|
457
|
+
count?: number;
|
|
458
|
+
page?: number;
|
|
459
|
+
pages?: number;
|
|
460
|
+
per_page?: number;
|
|
461
|
+
spill?: number;
|
|
462
|
+
total?: number;
|
|
463
|
+
[key: string]: unknown;
|
|
464
|
+
};
|
|
465
|
+
type ObjsPrimaryOwner = {
|
|
466
|
+
email?: string;
|
|
467
|
+
id?: string;
|
|
468
|
+
[key: string]: unknown;
|
|
469
|
+
};
|
|
470
|
+
type ObjsReaction = {
|
|
471
|
+
count?: number;
|
|
472
|
+
name?: string;
|
|
473
|
+
users?: Array<DefsUserId>;
|
|
474
|
+
[key: string]: unknown;
|
|
475
|
+
};
|
|
476
|
+
type ObjsReminder = {
|
|
477
|
+
complete_ts?: number;
|
|
478
|
+
creator?: DefsUserId;
|
|
479
|
+
id?: DefsReminderId;
|
|
480
|
+
recurring?: boolean;
|
|
481
|
+
text?: string;
|
|
482
|
+
time?: number;
|
|
483
|
+
user?: DefsUserId;
|
|
484
|
+
[key: string]: unknown;
|
|
485
|
+
};
|
|
486
|
+
type ObjsResources = {
|
|
487
|
+
excluded_ids?: Array<string>;
|
|
488
|
+
ids?: Array<string>;
|
|
489
|
+
wildcard?: boolean;
|
|
490
|
+
[key: string]: unknown;
|
|
491
|
+
};
|
|
492
|
+
type ObjsResponseMetadata = {
|
|
493
|
+
next_cursor?: string;
|
|
494
|
+
[key: string]: unknown;
|
|
495
|
+
} | {
|
|
496
|
+
messages?: Array<string>;
|
|
497
|
+
warnings?: Array<"method_deprecated">;
|
|
498
|
+
[key: string]: unknown;
|
|
499
|
+
} | {
|
|
500
|
+
messages?: Array<string>;
|
|
501
|
+
next_cursor?: string;
|
|
502
|
+
warnings?: Array<"method_deprecated">;
|
|
503
|
+
[key: string]: unknown;
|
|
504
|
+
};
|
|
505
|
+
type ObjsScopes = Array<string>;
|
|
506
|
+
type ObjsSubteam = {
|
|
507
|
+
auto_provision?: boolean;
|
|
508
|
+
auto_type?: null | "owner" | "admin";
|
|
509
|
+
channel_count?: number;
|
|
510
|
+
created_by?: DefsUserId;
|
|
511
|
+
date_create?: number;
|
|
512
|
+
date_delete?: number;
|
|
513
|
+
date_update?: number;
|
|
514
|
+
deleted_by?: null | string;
|
|
515
|
+
description?: string;
|
|
516
|
+
enterprise_subteam_id?: string;
|
|
517
|
+
handle?: string;
|
|
518
|
+
id?: DefsSubteamId;
|
|
519
|
+
is_external?: boolean;
|
|
520
|
+
is_subteam?: boolean;
|
|
521
|
+
is_usergroup?: boolean;
|
|
522
|
+
name?: string;
|
|
523
|
+
prefs?: {
|
|
524
|
+
channels?: Array<DefsChannelId>;
|
|
525
|
+
groups?: Array<DefsGroupId>;
|
|
526
|
+
[key: string]: unknown;
|
|
527
|
+
};
|
|
528
|
+
team_id?: DefsTeam;
|
|
529
|
+
updated_by?: DefsUserId;
|
|
530
|
+
user_count?: number;
|
|
531
|
+
users?: Array<DefsUserId>;
|
|
532
|
+
[key: string]: unknown;
|
|
533
|
+
};
|
|
534
|
+
type ObjsTeam = {
|
|
535
|
+
archived?: boolean;
|
|
536
|
+
avatar_base_url?: string;
|
|
537
|
+
created?: number;
|
|
538
|
+
date_create?: number;
|
|
539
|
+
deleted?: boolean;
|
|
540
|
+
description?: null | string;
|
|
541
|
+
discoverable?: null | string;
|
|
542
|
+
domain?: string;
|
|
543
|
+
email_domain?: string;
|
|
544
|
+
enterprise_id?: DefsEnterpriseId;
|
|
545
|
+
enterprise_name?: DefsEnterpriseName;
|
|
546
|
+
external_org_migrations?: ObjsExternalOrgMigrations;
|
|
547
|
+
has_compliance_export?: boolean;
|
|
548
|
+
icon?: ObjsIcon;
|
|
549
|
+
id?: DefsWorkspaceId;
|
|
550
|
+
is_assigned?: boolean;
|
|
551
|
+
is_enterprise?: number;
|
|
552
|
+
is_over_storage_limit?: boolean;
|
|
553
|
+
limit_ts?: number;
|
|
554
|
+
locale?: string;
|
|
555
|
+
messages_count?: number;
|
|
556
|
+
msg_edit_window_mins?: number;
|
|
557
|
+
name?: string;
|
|
558
|
+
over_integrations_limit?: boolean;
|
|
559
|
+
over_storage_limit?: boolean;
|
|
560
|
+
pay_prod_cur?: string;
|
|
561
|
+
plan?: "" | "std" | "plus" | "compliance" | "enterprise";
|
|
562
|
+
primary_owner?: ObjsPrimaryOwner;
|
|
563
|
+
sso_provider?: {
|
|
564
|
+
label?: string;
|
|
565
|
+
name?: string;
|
|
566
|
+
type?: string;
|
|
567
|
+
[key: string]: unknown;
|
|
568
|
+
};
|
|
569
|
+
[key: string]: unknown;
|
|
570
|
+
};
|
|
571
|
+
type ObjsTeamProfileField = {
|
|
572
|
+
field_name?: null | string;
|
|
573
|
+
hint?: string;
|
|
574
|
+
id?: string;
|
|
575
|
+
is_hidden?: boolean;
|
|
576
|
+
label?: string;
|
|
577
|
+
options?: null | ObjsTeamProfileFieldOption;
|
|
578
|
+
ordering?: number;
|
|
579
|
+
possible_values?: null | Array<string>;
|
|
580
|
+
type?: "text" | "date" | "link" | "mailto" | "options_list" | "user";
|
|
581
|
+
[key: string]: unknown;
|
|
582
|
+
};
|
|
583
|
+
type ObjsTeamProfileFieldOption = {
|
|
584
|
+
is_custom?: null | boolean;
|
|
585
|
+
is_multiple_entry?: null | boolean;
|
|
586
|
+
is_protected?: null | boolean;
|
|
587
|
+
is_scim?: null | boolean;
|
|
588
|
+
[key: string]: unknown;
|
|
589
|
+
};
|
|
590
|
+
type ObjsUser = {
|
|
591
|
+
color?: string;
|
|
592
|
+
deleted?: boolean;
|
|
593
|
+
enterprise_user?: ObjsEnterpriseUser;
|
|
594
|
+
has_2fa?: boolean;
|
|
595
|
+
id?: DefsUserId;
|
|
596
|
+
is_admin?: boolean;
|
|
597
|
+
is_app_user?: boolean;
|
|
598
|
+
is_bot?: boolean;
|
|
599
|
+
is_external?: boolean;
|
|
600
|
+
is_forgotten?: boolean;
|
|
601
|
+
is_invited_user?: boolean;
|
|
602
|
+
is_owner?: boolean;
|
|
603
|
+
is_primary_owner?: boolean;
|
|
604
|
+
is_restricted?: boolean;
|
|
605
|
+
is_stranger?: boolean;
|
|
606
|
+
is_ultra_restricted?: boolean;
|
|
607
|
+
locale?: string;
|
|
608
|
+
name?: string;
|
|
609
|
+
presence?: string;
|
|
610
|
+
profile?: ObjsUserProfile;
|
|
611
|
+
real_name?: string;
|
|
612
|
+
team?: DefsWorkspaceId;
|
|
613
|
+
team_id?: DefsWorkspaceId;
|
|
614
|
+
team_profile?: {
|
|
615
|
+
fields?: Array<ObjsTeamProfileField>;
|
|
616
|
+
[key: string]: unknown;
|
|
617
|
+
};
|
|
618
|
+
two_factor_type?: string;
|
|
619
|
+
tz?: null | string;
|
|
620
|
+
tz_label?: string;
|
|
621
|
+
tz_offset?: number;
|
|
622
|
+
updated?: number;
|
|
623
|
+
[key: string]: unknown;
|
|
624
|
+
} | {
|
|
625
|
+
color?: string;
|
|
626
|
+
deleted?: boolean;
|
|
627
|
+
enterprise_user?: ObjsEnterpriseUser;
|
|
628
|
+
has_2fa?: boolean;
|
|
629
|
+
id?: DefsUserId;
|
|
630
|
+
is_admin?: boolean;
|
|
631
|
+
is_app_user?: boolean;
|
|
632
|
+
is_bot?: boolean;
|
|
633
|
+
is_external?: boolean;
|
|
634
|
+
is_forgotten?: boolean;
|
|
635
|
+
is_owner?: boolean;
|
|
636
|
+
is_primary_owner?: boolean;
|
|
637
|
+
is_restricted?: boolean;
|
|
638
|
+
is_stranger?: boolean;
|
|
639
|
+
is_ultra_restricted?: boolean;
|
|
640
|
+
locale?: string;
|
|
641
|
+
name?: string;
|
|
642
|
+
presence?: string;
|
|
643
|
+
profile?: ObjsUserProfile;
|
|
644
|
+
real_name?: string;
|
|
645
|
+
team_id?: DefsWorkspaceId;
|
|
646
|
+
team_profile?: {
|
|
647
|
+
fields?: Array<ObjsTeamProfileField>;
|
|
648
|
+
[key: string]: unknown;
|
|
649
|
+
};
|
|
650
|
+
teams?: Array<DefsWorkspaceId>;
|
|
651
|
+
two_factor_type?: string;
|
|
652
|
+
tz?: null | string;
|
|
653
|
+
tz_label?: string;
|
|
654
|
+
tz_offset?: number;
|
|
655
|
+
updated?: number;
|
|
656
|
+
[key: string]: unknown;
|
|
657
|
+
};
|
|
658
|
+
type ObjsUserProfile = {
|
|
659
|
+
always_active?: boolean;
|
|
660
|
+
api_app_id?: DefsOptionalAppId;
|
|
661
|
+
avatar_hash?: string;
|
|
662
|
+
bot_id?: DefsBotId;
|
|
663
|
+
display_name?: string;
|
|
664
|
+
display_name_normalized?: string;
|
|
665
|
+
email?: null | string;
|
|
666
|
+
fields?: {
|
|
667
|
+
[key: string]: unknown;
|
|
668
|
+
} | null | Array<{
|
|
669
|
+
[key: string]: unknown;
|
|
670
|
+
}>;
|
|
671
|
+
first_name?: null | string;
|
|
672
|
+
guest_expiration_ts?: null | number;
|
|
673
|
+
guest_invited_by?: null | string;
|
|
674
|
+
image_1024?: null | string;
|
|
675
|
+
image_192?: null | string;
|
|
676
|
+
image_24?: null | string;
|
|
677
|
+
image_32?: null | string;
|
|
678
|
+
image_48?: null | string;
|
|
679
|
+
image_512?: null | string;
|
|
680
|
+
image_72?: null | string;
|
|
681
|
+
image_original?: null | string;
|
|
682
|
+
is_app_user?: boolean;
|
|
683
|
+
is_custom_image?: boolean;
|
|
684
|
+
is_restricted?: null | boolean;
|
|
685
|
+
is_ultra_restricted?: null | boolean;
|
|
686
|
+
last_avatar_image_hash?: string;
|
|
687
|
+
last_name?: null | string;
|
|
688
|
+
memberships_count?: number;
|
|
689
|
+
name?: null | string;
|
|
690
|
+
phone?: string;
|
|
691
|
+
pronouns?: string;
|
|
692
|
+
real_name?: string;
|
|
693
|
+
real_name_normalized?: string;
|
|
694
|
+
skype?: string;
|
|
695
|
+
status_default_emoji?: string;
|
|
696
|
+
status_default_text?: string;
|
|
697
|
+
status_default_text_canonical?: null | string;
|
|
698
|
+
status_emoji?: string;
|
|
699
|
+
status_expiration?: number;
|
|
700
|
+
status_text?: string;
|
|
701
|
+
status_text_canonical?: null | string;
|
|
702
|
+
team?: DefsWorkspaceId;
|
|
703
|
+
title?: string;
|
|
704
|
+
updated?: number;
|
|
705
|
+
user_id?: string;
|
|
706
|
+
username?: null | string;
|
|
707
|
+
[key: string]: unknown;
|
|
708
|
+
};
|
|
709
|
+
type ObjsUserProfileShort = {
|
|
710
|
+
avatar_hash?: string;
|
|
711
|
+
display_name?: string;
|
|
712
|
+
display_name_normalized?: string;
|
|
713
|
+
first_name?: string | null;
|
|
714
|
+
image_72?: string;
|
|
715
|
+
is_restricted?: boolean;
|
|
716
|
+
is_ultra_restricted?: boolean;
|
|
717
|
+
name?: string;
|
|
718
|
+
real_name?: string;
|
|
719
|
+
real_name_normalized?: string;
|
|
720
|
+
team?: DefsWorkspaceId;
|
|
721
|
+
[key: string]: unknown;
|
|
722
|
+
};
|
|
723
|
+
type OutputdefsOkTrue = true;
|
|
724
|
+
type OutputdefsBotId = string;
|
|
725
|
+
type OutputdefsTeam = string;
|
|
726
|
+
type OutputdefsUserId = string;
|
|
727
|
+
type OutputdefsAppId = string;
|
|
728
|
+
type OutputdefsChannel = string;
|
|
729
|
+
type OutputdefsTs = string;
|
|
730
|
+
type OutputobjsMessage = {
|
|
731
|
+
attachments?: Array<{
|
|
732
|
+
fallback?: string;
|
|
733
|
+
id?: number | string;
|
|
734
|
+
image_bytes?: number | string;
|
|
735
|
+
image_height?: number | string;
|
|
736
|
+
image_url?: string;
|
|
737
|
+
image_width?: number | string;
|
|
738
|
+
[key: string]: unknown;
|
|
739
|
+
}>;
|
|
740
|
+
blocks?: Outputblocks;
|
|
741
|
+
bot_id?: string | null;
|
|
742
|
+
bot_profile?: OutputobjsBotProfile;
|
|
743
|
+
client_msg_id?: string;
|
|
744
|
+
comment?: OutputobjsComment;
|
|
745
|
+
display_as_bot?: boolean;
|
|
746
|
+
file?: OutputobjsFile;
|
|
747
|
+
files?: Array<OutputobjsFile>;
|
|
748
|
+
icons?: {
|
|
749
|
+
emoji?: string;
|
|
750
|
+
image_64?: string;
|
|
751
|
+
[key: string]: unknown;
|
|
752
|
+
};
|
|
753
|
+
inviter?: OutputdefsUserId;
|
|
754
|
+
is_delayed_message?: boolean;
|
|
755
|
+
is_intro?: boolean;
|
|
756
|
+
is_starred?: boolean;
|
|
757
|
+
last_read?: OutputdefsTs;
|
|
758
|
+
latest_reply?: OutputdefsTs;
|
|
759
|
+
name?: string;
|
|
760
|
+
old_name?: string;
|
|
761
|
+
parent_user_id?: OutputdefsUserId;
|
|
762
|
+
permalink?: string;
|
|
763
|
+
pinned_to?: Array<OutputdefsChannel>;
|
|
764
|
+
purpose?: string;
|
|
765
|
+
reactions?: Array<OutputobjsReaction>;
|
|
766
|
+
reply_count?: number | string;
|
|
767
|
+
reply_users?: Array<OutputdefsUserId>;
|
|
768
|
+
reply_users_count?: number | string;
|
|
769
|
+
source_team?: OutputdefsWorkspaceId;
|
|
770
|
+
subscribed?: boolean;
|
|
771
|
+
subtype?: string;
|
|
772
|
+
team?: OutputdefsWorkspaceId;
|
|
773
|
+
text?: string;
|
|
774
|
+
thread_ts?: OutputdefsTs;
|
|
775
|
+
topic?: string;
|
|
776
|
+
ts?: OutputdefsTs;
|
|
777
|
+
type?: string;
|
|
778
|
+
unread_count?: number | string;
|
|
779
|
+
upload?: boolean;
|
|
780
|
+
user?: OutputdefsUserId;
|
|
781
|
+
user_profile?: OutputobjsUserProfileShort;
|
|
782
|
+
user_team?: OutputdefsWorkspaceId;
|
|
783
|
+
username?: string;
|
|
784
|
+
[key: string]: unknown;
|
|
785
|
+
};
|
|
786
|
+
type Outputblocks = Array<{
|
|
787
|
+
type?: string;
|
|
788
|
+
[key: string]: unknown;
|
|
789
|
+
}>;
|
|
790
|
+
type OutputobjsBotProfile = {
|
|
791
|
+
app_id?: OutputdefsAppId;
|
|
792
|
+
deleted?: boolean;
|
|
793
|
+
icons?: {
|
|
794
|
+
image_36?: string;
|
|
795
|
+
image_48?: string;
|
|
796
|
+
image_72?: string;
|
|
797
|
+
[key: string]: unknown;
|
|
798
|
+
};
|
|
799
|
+
id?: OutputdefsBotId;
|
|
800
|
+
name?: string;
|
|
801
|
+
team_id?: OutputdefsTeam;
|
|
802
|
+
updated?: number | string;
|
|
803
|
+
[key: string]: unknown;
|
|
804
|
+
};
|
|
805
|
+
type OutputobjsComment = {
|
|
806
|
+
comment?: string;
|
|
807
|
+
created?: number | string;
|
|
808
|
+
id?: OutputdefsCommentId;
|
|
809
|
+
is_intro?: boolean;
|
|
810
|
+
is_starred?: boolean;
|
|
811
|
+
num_stars?: number | string;
|
|
812
|
+
pinned_info?: OutputdefsPinnedInfo;
|
|
813
|
+
pinned_to?: Array<OutputdefsChannel>;
|
|
814
|
+
reactions?: Array<OutputobjsReaction>;
|
|
815
|
+
timestamp?: number | string;
|
|
816
|
+
user?: OutputdefsUserId;
|
|
817
|
+
[key: string]: unknown;
|
|
818
|
+
};
|
|
819
|
+
type OutputdefsCommentId = string;
|
|
820
|
+
type OutputdefsPinnedInfo = {
|
|
821
|
+
[key: string]: unknown;
|
|
822
|
+
};
|
|
823
|
+
type OutputobjsReaction = {
|
|
824
|
+
count?: number | string;
|
|
825
|
+
name?: string;
|
|
826
|
+
users?: Array<OutputdefsUserId>;
|
|
827
|
+
[key: string]: unknown;
|
|
828
|
+
};
|
|
829
|
+
type OutputobjsFile = {
|
|
830
|
+
channels?: Array<OutputdefsChannelId>;
|
|
831
|
+
comments_count?: number | string;
|
|
832
|
+
created?: number | string;
|
|
833
|
+
date_delete?: number | string;
|
|
834
|
+
display_as_bot?: boolean;
|
|
835
|
+
editable?: boolean;
|
|
836
|
+
editor?: OutputdefsUserId;
|
|
837
|
+
external_id?: string;
|
|
838
|
+
external_type?: string;
|
|
839
|
+
external_url?: string;
|
|
840
|
+
filetype?: string;
|
|
841
|
+
groups?: Array<OutputdefsGroupId>;
|
|
842
|
+
has_rich_preview?: boolean;
|
|
843
|
+
id?: OutputdefsFileId;
|
|
844
|
+
image_exif_rotation?: number | string;
|
|
845
|
+
ims?: Array<OutputdefsDmId>;
|
|
846
|
+
is_external?: boolean;
|
|
847
|
+
is_public?: boolean;
|
|
848
|
+
is_starred?: boolean;
|
|
849
|
+
is_tombstoned?: boolean;
|
|
850
|
+
last_editor?: OutputdefsUserId;
|
|
851
|
+
mimetype?: string;
|
|
852
|
+
mode?: string;
|
|
853
|
+
name?: string;
|
|
854
|
+
non_owner_editable?: boolean;
|
|
855
|
+
num_stars?: number | string;
|
|
856
|
+
original_h?: number | string;
|
|
857
|
+
original_w?: number | string;
|
|
858
|
+
permalink?: string;
|
|
859
|
+
permalink_public?: string;
|
|
860
|
+
pinned_info?: OutputdefsPinnedInfo;
|
|
861
|
+
pinned_to?: Array<OutputdefsChannel>;
|
|
862
|
+
pretty_type?: string;
|
|
863
|
+
preview?: string;
|
|
864
|
+
public_url_shared?: boolean;
|
|
865
|
+
reactions?: Array<OutputobjsReaction>;
|
|
866
|
+
shares?: {
|
|
867
|
+
private?: unknown;
|
|
868
|
+
public?: unknown;
|
|
869
|
+
[key: string]: unknown;
|
|
870
|
+
};
|
|
871
|
+
size?: number | string;
|
|
872
|
+
source_team?: OutputdefsTeam;
|
|
873
|
+
state?: string;
|
|
874
|
+
thumb_1024?: string;
|
|
875
|
+
thumb_1024_h?: number | string;
|
|
876
|
+
thumb_1024_w?: number | string;
|
|
877
|
+
thumb_160?: string;
|
|
878
|
+
thumb_360?: string;
|
|
879
|
+
thumb_360_h?: number | string;
|
|
880
|
+
thumb_360_w?: number | string;
|
|
881
|
+
thumb_480?: string;
|
|
882
|
+
thumb_480_h?: number | string;
|
|
883
|
+
thumb_480_w?: number | string;
|
|
884
|
+
thumb_64?: string;
|
|
885
|
+
thumb_720?: string;
|
|
886
|
+
thumb_720_h?: number | string;
|
|
887
|
+
thumb_720_w?: number | string;
|
|
888
|
+
thumb_80?: string;
|
|
889
|
+
thumb_800?: string;
|
|
890
|
+
thumb_800_h?: number | string;
|
|
891
|
+
thumb_800_w?: number | string;
|
|
892
|
+
thumb_960?: string;
|
|
893
|
+
thumb_960_h?: number | string;
|
|
894
|
+
thumb_960_w?: number | string;
|
|
895
|
+
thumb_tiny?: string;
|
|
896
|
+
timestamp?: number | string;
|
|
897
|
+
title?: string;
|
|
898
|
+
updated?: number | string;
|
|
899
|
+
url_private?: string;
|
|
900
|
+
url_private_download?: string;
|
|
901
|
+
user?: string;
|
|
902
|
+
user_team?: OutputdefsTeam;
|
|
903
|
+
username?: string;
|
|
904
|
+
[key: string]: unknown;
|
|
905
|
+
};
|
|
906
|
+
type OutputdefsChannelId = string;
|
|
907
|
+
type OutputdefsGroupId = string;
|
|
908
|
+
type OutputdefsFileId = string;
|
|
909
|
+
type OutputdefsDmId = string;
|
|
910
|
+
type OutputdefsWorkspaceId = string;
|
|
911
|
+
type OutputobjsUserProfileShort = {
|
|
912
|
+
avatar_hash?: string;
|
|
913
|
+
display_name?: string;
|
|
914
|
+
display_name_normalized?: string;
|
|
915
|
+
first_name?: string | null;
|
|
916
|
+
image_72?: string;
|
|
917
|
+
is_restricted?: boolean;
|
|
918
|
+
is_ultra_restricted?: boolean;
|
|
919
|
+
name?: string;
|
|
920
|
+
real_name?: string;
|
|
921
|
+
real_name_normalized?: string;
|
|
922
|
+
team?: OutputdefsWorkspaceId;
|
|
923
|
+
[key: string]: unknown;
|
|
924
|
+
};
|
|
925
|
+
type OutputobjsConversation = {
|
|
926
|
+
accepted_user?: OutputdefsUserId;
|
|
927
|
+
connected_team_ids?: Array<OutputdefsWorkspaceId>;
|
|
928
|
+
conversation_host_id?: OutputdefsWorkspaceId;
|
|
929
|
+
created?: number | string;
|
|
930
|
+
creator?: OutputdefsUserId;
|
|
931
|
+
display_counts?: {
|
|
932
|
+
display_counts?: number | string;
|
|
933
|
+
guest_counts?: number | string;
|
|
934
|
+
[key: string]: unknown;
|
|
935
|
+
};
|
|
936
|
+
enterprise_id?: OutputdefsEnterpriseId;
|
|
937
|
+
has_pins?: boolean;
|
|
938
|
+
id?: OutputdefsChannel;
|
|
939
|
+
internal_team_ids?: Array<OutputdefsTeam>;
|
|
940
|
+
is_archived?: boolean;
|
|
941
|
+
is_channel?: boolean;
|
|
942
|
+
is_ext_shared?: boolean;
|
|
943
|
+
is_frozen?: boolean;
|
|
944
|
+
is_general?: boolean;
|
|
945
|
+
is_global_shared?: boolean;
|
|
946
|
+
is_group?: boolean;
|
|
947
|
+
is_im?: boolean;
|
|
948
|
+
is_member?: boolean;
|
|
949
|
+
is_moved?: number | string;
|
|
950
|
+
is_mpim?: boolean;
|
|
951
|
+
is_non_threadable?: boolean;
|
|
952
|
+
is_open?: boolean;
|
|
953
|
+
is_org_default?: boolean;
|
|
954
|
+
is_org_mandatory?: boolean;
|
|
955
|
+
is_org_shared?: boolean;
|
|
956
|
+
is_pending_ext_shared?: boolean;
|
|
957
|
+
is_private?: boolean;
|
|
958
|
+
is_read_only?: boolean;
|
|
959
|
+
is_shared?: boolean;
|
|
960
|
+
is_starred?: boolean;
|
|
961
|
+
is_thread_only?: boolean;
|
|
962
|
+
last_read?: OutputdefsTs;
|
|
963
|
+
latest?: OutputobjsMessage | null;
|
|
964
|
+
members?: Array<OutputdefsUserId>;
|
|
965
|
+
name?: string;
|
|
966
|
+
name_normalized?: string;
|
|
967
|
+
num_members?: number | string;
|
|
968
|
+
parent_conversation?: string | null;
|
|
969
|
+
pending_connected_team_ids?: Array<OutputdefsTeam>;
|
|
970
|
+
pending_shared?: Array<OutputdefsTeam>;
|
|
971
|
+
pin_count?: number | string;
|
|
972
|
+
previous_names?: Array<OutputdefsChannelName>;
|
|
973
|
+
priority?: number | string;
|
|
974
|
+
purpose?: {
|
|
975
|
+
creator?: OutputdefsTopicPurposeCreator;
|
|
976
|
+
last_set?: number | string;
|
|
977
|
+
value?: string;
|
|
978
|
+
[key: string]: unknown;
|
|
979
|
+
};
|
|
980
|
+
shared_team_ids?: Array<OutputdefsTeam>;
|
|
981
|
+
shares?: Array<{
|
|
982
|
+
accepted_user?: OutputdefsUserId;
|
|
983
|
+
is_active?: boolean;
|
|
984
|
+
team?: OutputobjsTeam;
|
|
985
|
+
user?: OutputdefsUserId;
|
|
986
|
+
[key: string]: unknown;
|
|
987
|
+
}>;
|
|
988
|
+
timezone_count?: number | string;
|
|
989
|
+
topic?: {
|
|
990
|
+
creator?: OutputdefsTopicPurposeCreator;
|
|
991
|
+
last_set?: number | string;
|
|
992
|
+
value?: string;
|
|
993
|
+
[key: string]: unknown;
|
|
994
|
+
};
|
|
995
|
+
unlinked?: number | string;
|
|
996
|
+
unread_count?: number | string;
|
|
997
|
+
unread_count_display?: number | string;
|
|
998
|
+
use_case?: string;
|
|
999
|
+
user?: OutputdefsUserId;
|
|
1000
|
+
version?: number | string;
|
|
1001
|
+
[key: string]: unknown;
|
|
1002
|
+
} | {
|
|
1003
|
+
accepted_user?: OutputdefsUserId;
|
|
1004
|
+
connected_team_ids?: Array<OutputdefsTeam>;
|
|
1005
|
+
conversation_host_id?: OutputdefsWorkspaceId;
|
|
1006
|
+
created?: number | string;
|
|
1007
|
+
creator?: OutputdefsUserId;
|
|
1008
|
+
display_counts?: {
|
|
1009
|
+
display_counts?: number | string;
|
|
1010
|
+
guest_counts?: number | string;
|
|
1011
|
+
[key: string]: unknown;
|
|
1012
|
+
};
|
|
1013
|
+
id?: OutputdefsChannel;
|
|
1014
|
+
internal_team_ids?: Array<OutputdefsTeam>;
|
|
1015
|
+
is_archived?: boolean;
|
|
1016
|
+
is_channel?: boolean;
|
|
1017
|
+
is_ext_shared?: boolean;
|
|
1018
|
+
is_frozen?: boolean;
|
|
1019
|
+
is_general?: boolean;
|
|
1020
|
+
is_group?: boolean;
|
|
1021
|
+
is_im?: boolean;
|
|
1022
|
+
is_member?: boolean;
|
|
1023
|
+
is_moved?: number | string;
|
|
1024
|
+
is_mpim?: boolean;
|
|
1025
|
+
is_non_threadable?: boolean;
|
|
1026
|
+
is_open?: boolean;
|
|
1027
|
+
is_org_shared?: boolean;
|
|
1028
|
+
is_pending_ext_shared?: boolean;
|
|
1029
|
+
is_private?: boolean;
|
|
1030
|
+
is_read_only?: boolean;
|
|
1031
|
+
is_shared?: boolean;
|
|
1032
|
+
is_starred?: boolean;
|
|
1033
|
+
is_thread_only?: boolean;
|
|
1034
|
+
last_read?: OutputdefsTs;
|
|
1035
|
+
latest?: OutputobjsMessage | null;
|
|
1036
|
+
members?: Array<OutputdefsUserId>;
|
|
1037
|
+
name?: string;
|
|
1038
|
+
name_normalized?: string;
|
|
1039
|
+
num_members?: number | string;
|
|
1040
|
+
parent_conversation?: string | null;
|
|
1041
|
+
pending_connected_team_ids?: Array<OutputdefsTeam>;
|
|
1042
|
+
pending_shared?: Array<OutputdefsTeam>;
|
|
1043
|
+
pin_count?: number | string;
|
|
1044
|
+
previous_names?: Array<OutputdefsChannelName>;
|
|
1045
|
+
priority?: number | string;
|
|
1046
|
+
purpose?: {
|
|
1047
|
+
creator?: OutputdefsTopicPurposeCreator;
|
|
1048
|
+
last_set?: number | string;
|
|
1049
|
+
value?: string;
|
|
1050
|
+
[key: string]: unknown;
|
|
1051
|
+
};
|
|
1052
|
+
shared_team_ids?: Array<OutputdefsTeam>;
|
|
1053
|
+
shares?: Array<{
|
|
1054
|
+
accepted_user?: OutputdefsUserId;
|
|
1055
|
+
is_active?: boolean;
|
|
1056
|
+
team?: OutputobjsTeam;
|
|
1057
|
+
user?: OutputdefsUserId;
|
|
1058
|
+
[key: string]: unknown;
|
|
1059
|
+
}>;
|
|
1060
|
+
timezone_count?: number | string;
|
|
1061
|
+
topic?: {
|
|
1062
|
+
creator?: OutputdefsTopicPurposeCreator;
|
|
1063
|
+
last_set?: number | string;
|
|
1064
|
+
value?: string;
|
|
1065
|
+
[key: string]: unknown;
|
|
1066
|
+
};
|
|
1067
|
+
unlinked?: number | string;
|
|
1068
|
+
unread_count?: number | string;
|
|
1069
|
+
unread_count_display?: number | string;
|
|
1070
|
+
user?: OutputdefsUserId;
|
|
1071
|
+
version?: number | string;
|
|
1072
|
+
[key: string]: unknown;
|
|
1073
|
+
} | {
|
|
1074
|
+
created?: number | string;
|
|
1075
|
+
has_pins?: boolean;
|
|
1076
|
+
id?: OutputdefsDmId;
|
|
1077
|
+
is_archived?: boolean;
|
|
1078
|
+
is_ext_shared?: boolean;
|
|
1079
|
+
is_frozen?: boolean;
|
|
1080
|
+
is_im?: boolean;
|
|
1081
|
+
is_open?: boolean;
|
|
1082
|
+
is_org_shared?: boolean;
|
|
1083
|
+
is_shared?: boolean;
|
|
1084
|
+
is_starred?: boolean;
|
|
1085
|
+
is_user_deleted?: boolean;
|
|
1086
|
+
last_read?: OutputdefsTs;
|
|
1087
|
+
latest?: OutputobjsMessage | null;
|
|
1088
|
+
parent_conversation?: string | null;
|
|
1089
|
+
pin_count?: number | string;
|
|
1090
|
+
priority?: number | string;
|
|
1091
|
+
shares?: Array<{
|
|
1092
|
+
date_create?: number | string;
|
|
1093
|
+
id?: OutputdefsTeam;
|
|
1094
|
+
is_active?: boolean;
|
|
1095
|
+
name?: string;
|
|
1096
|
+
team?: OutputobjsTeam;
|
|
1097
|
+
[key: string]: unknown;
|
|
1098
|
+
}>;
|
|
1099
|
+
unread_count?: number | string;
|
|
1100
|
+
unread_count_display?: number | string;
|
|
1101
|
+
user?: OutputdefsUserId;
|
|
1102
|
+
version?: number | string;
|
|
1103
|
+
[key: string]: unknown;
|
|
1104
|
+
};
|
|
1105
|
+
type OutputdefsEnterpriseId = string;
|
|
1106
|
+
type OutputdefsChannelName = string;
|
|
1107
|
+
type OutputdefsTopicPurposeCreator = string;
|
|
1108
|
+
type OutputobjsTeam = {
|
|
1109
|
+
archived?: boolean;
|
|
1110
|
+
avatar_base_url?: string;
|
|
1111
|
+
created?: number | string;
|
|
1112
|
+
date_create?: number | string;
|
|
1113
|
+
deleted?: boolean;
|
|
1114
|
+
description?: null | string;
|
|
1115
|
+
discoverable?: null | string;
|
|
1116
|
+
domain?: string;
|
|
1117
|
+
email_domain?: string;
|
|
1118
|
+
enterprise_id?: OutputdefsEnterpriseId;
|
|
1119
|
+
enterprise_name?: OutputdefsEnterpriseName;
|
|
1120
|
+
external_org_migrations?: OutputobjsExternalOrgMigrations;
|
|
1121
|
+
has_compliance_export?: boolean;
|
|
1122
|
+
icon?: OutputobjsIcon;
|
|
1123
|
+
id?: OutputdefsWorkspaceId;
|
|
1124
|
+
is_assigned?: boolean;
|
|
1125
|
+
is_enterprise?: number | string;
|
|
1126
|
+
is_over_storage_limit?: boolean;
|
|
1127
|
+
limit_ts?: number | string;
|
|
1128
|
+
locale?: string;
|
|
1129
|
+
messages_count?: number | string;
|
|
1130
|
+
msg_edit_window_mins?: number | string;
|
|
1131
|
+
name?: string;
|
|
1132
|
+
over_integrations_limit?: boolean;
|
|
1133
|
+
over_storage_limit?: boolean;
|
|
1134
|
+
pay_prod_cur?: string;
|
|
1135
|
+
plan?: string;
|
|
1136
|
+
primary_owner?: OutputobjsPrimaryOwner;
|
|
1137
|
+
sso_provider?: {
|
|
1138
|
+
label?: string;
|
|
1139
|
+
name?: string;
|
|
1140
|
+
type?: string;
|
|
1141
|
+
[key: string]: unknown;
|
|
1142
|
+
};
|
|
1143
|
+
[key: string]: unknown;
|
|
1144
|
+
};
|
|
1145
|
+
type OutputdefsEnterpriseName = string;
|
|
1146
|
+
type OutputobjsExternalOrgMigrations = {
|
|
1147
|
+
current?: Array<{
|
|
1148
|
+
date_started?: number | string;
|
|
1149
|
+
team_id?: string;
|
|
1150
|
+
[key: string]: unknown;
|
|
1151
|
+
}>;
|
|
1152
|
+
date_updated?: number | string;
|
|
1153
|
+
[key: string]: unknown;
|
|
1154
|
+
};
|
|
1155
|
+
type OutputobjsIcon = {
|
|
1156
|
+
image_102?: string;
|
|
1157
|
+
image_132?: string;
|
|
1158
|
+
image_230?: string;
|
|
1159
|
+
image_34?: string;
|
|
1160
|
+
image_44?: string;
|
|
1161
|
+
image_68?: string;
|
|
1162
|
+
image_88?: string;
|
|
1163
|
+
image_default?: boolean;
|
|
1164
|
+
[key: string]: unknown;
|
|
1165
|
+
};
|
|
1166
|
+
type OutputobjsPrimaryOwner = {
|
|
1167
|
+
email?: string;
|
|
1168
|
+
id?: string;
|
|
1169
|
+
[key: string]: unknown;
|
|
1170
|
+
};
|
|
1171
|
+
type OutputobjsComments = Array<unknown>;
|
|
1172
|
+
type OutputobjsPaging = {
|
|
1173
|
+
count?: number | string;
|
|
1174
|
+
page?: number | string;
|
|
1175
|
+
pages?: number | string;
|
|
1176
|
+
per_page?: number | string;
|
|
1177
|
+
spill?: number | string;
|
|
1178
|
+
total?: number | string;
|
|
1179
|
+
[key: string]: unknown;
|
|
1180
|
+
};
|
|
1181
|
+
type OutputobjsResponseMetadata = {
|
|
1182
|
+
next_cursor?: string;
|
|
1183
|
+
[key: string]: unknown;
|
|
1184
|
+
} | {
|
|
1185
|
+
messages?: Array<string>;
|
|
1186
|
+
warnings?: Array<string>;
|
|
1187
|
+
[key: string]: unknown;
|
|
1188
|
+
} | {
|
|
1189
|
+
messages?: Array<string>;
|
|
1190
|
+
next_cursor?: string;
|
|
1191
|
+
warnings?: Array<string>;
|
|
1192
|
+
[key: string]: unknown;
|
|
1193
|
+
};
|
|
1194
|
+
type OutputobjsTeamProfileField = {
|
|
1195
|
+
field_name?: null | string;
|
|
1196
|
+
hint?: string;
|
|
1197
|
+
id?: string;
|
|
1198
|
+
is_hidden?: boolean;
|
|
1199
|
+
label?: string;
|
|
1200
|
+
options?: null | OutputobjsTeamProfileFieldOption;
|
|
1201
|
+
ordering?: number | string;
|
|
1202
|
+
possible_values?: null | Array<string>;
|
|
1203
|
+
type?: string;
|
|
1204
|
+
[key: string]: unknown;
|
|
1205
|
+
};
|
|
1206
|
+
type OutputobjsTeamProfileFieldOption = {
|
|
1207
|
+
is_custom?: null | boolean;
|
|
1208
|
+
is_multiple_entry?: null | boolean;
|
|
1209
|
+
is_protected?: null | boolean;
|
|
1210
|
+
is_scim?: null | boolean;
|
|
1211
|
+
[key: string]: unknown;
|
|
1212
|
+
};
|
|
1213
|
+
type OutputobjsSubteam = {
|
|
1214
|
+
auto_provision?: boolean;
|
|
1215
|
+
auto_type?: null | string;
|
|
1216
|
+
channel_count?: number | string;
|
|
1217
|
+
created_by?: OutputdefsUserId;
|
|
1218
|
+
date_create?: number | string;
|
|
1219
|
+
date_delete?: number | string;
|
|
1220
|
+
date_update?: number | string;
|
|
1221
|
+
deleted_by?: null | string;
|
|
1222
|
+
description?: string;
|
|
1223
|
+
enterprise_subteam_id?: string;
|
|
1224
|
+
handle?: string;
|
|
1225
|
+
id?: OutputdefsSubteamId;
|
|
1226
|
+
is_external?: boolean;
|
|
1227
|
+
is_subteam?: boolean;
|
|
1228
|
+
is_usergroup?: boolean;
|
|
1229
|
+
name?: string;
|
|
1230
|
+
prefs?: {
|
|
1231
|
+
channels?: Array<OutputdefsChannelId>;
|
|
1232
|
+
groups?: Array<OutputdefsGroupId>;
|
|
1233
|
+
[key: string]: unknown;
|
|
1234
|
+
};
|
|
1235
|
+
team_id?: OutputdefsTeam;
|
|
1236
|
+
updated_by?: OutputdefsUserId;
|
|
1237
|
+
user_count?: number | string;
|
|
1238
|
+
users?: Array<OutputdefsUserId>;
|
|
1239
|
+
[key: string]: unknown;
|
|
1240
|
+
};
|
|
1241
|
+
type OutputdefsSubteamId = string;
|
|
1242
|
+
type OutputobjsUser = {
|
|
1243
|
+
color?: string;
|
|
1244
|
+
deleted?: boolean;
|
|
1245
|
+
enterprise_user?: OutputobjsEnterpriseUser;
|
|
1246
|
+
has_2fa?: boolean;
|
|
1247
|
+
id?: OutputdefsUserId;
|
|
1248
|
+
is_admin?: boolean;
|
|
1249
|
+
is_app_user?: boolean;
|
|
1250
|
+
is_bot?: boolean;
|
|
1251
|
+
is_external?: boolean;
|
|
1252
|
+
is_forgotten?: boolean;
|
|
1253
|
+
is_invited_user?: boolean;
|
|
1254
|
+
is_owner?: boolean;
|
|
1255
|
+
is_primary_owner?: boolean;
|
|
1256
|
+
is_restricted?: boolean;
|
|
1257
|
+
is_stranger?: boolean;
|
|
1258
|
+
is_ultra_restricted?: boolean;
|
|
1259
|
+
locale?: string;
|
|
1260
|
+
name?: string;
|
|
1261
|
+
presence?: string;
|
|
1262
|
+
profile?: OutputobjsUserProfile;
|
|
1263
|
+
real_name?: string;
|
|
1264
|
+
team?: OutputdefsWorkspaceId;
|
|
1265
|
+
team_id?: OutputdefsWorkspaceId;
|
|
1266
|
+
team_profile?: {
|
|
1267
|
+
fields?: Array<OutputobjsTeamProfileField>;
|
|
1268
|
+
[key: string]: unknown;
|
|
1269
|
+
};
|
|
1270
|
+
two_factor_type?: string;
|
|
1271
|
+
tz?: null | string;
|
|
1272
|
+
tz_label?: string;
|
|
1273
|
+
tz_offset?: number | string;
|
|
1274
|
+
updated?: number | string;
|
|
1275
|
+
[key: string]: unknown;
|
|
1276
|
+
} | {
|
|
1277
|
+
color?: string;
|
|
1278
|
+
deleted?: boolean;
|
|
1279
|
+
enterprise_user?: OutputobjsEnterpriseUser;
|
|
1280
|
+
has_2fa?: boolean;
|
|
1281
|
+
id?: OutputdefsUserId;
|
|
1282
|
+
is_admin?: boolean;
|
|
1283
|
+
is_app_user?: boolean;
|
|
1284
|
+
is_bot?: boolean;
|
|
1285
|
+
is_external?: boolean;
|
|
1286
|
+
is_forgotten?: boolean;
|
|
1287
|
+
is_owner?: boolean;
|
|
1288
|
+
is_primary_owner?: boolean;
|
|
1289
|
+
is_restricted?: boolean;
|
|
1290
|
+
is_stranger?: boolean;
|
|
1291
|
+
is_ultra_restricted?: boolean;
|
|
1292
|
+
locale?: string;
|
|
1293
|
+
name?: string;
|
|
1294
|
+
presence?: string;
|
|
1295
|
+
profile?: OutputobjsUserProfile;
|
|
1296
|
+
real_name?: string;
|
|
1297
|
+
team_id?: OutputdefsWorkspaceId;
|
|
1298
|
+
team_profile?: {
|
|
1299
|
+
fields?: Array<OutputobjsTeamProfileField>;
|
|
1300
|
+
[key: string]: unknown;
|
|
1301
|
+
};
|
|
1302
|
+
teams?: Array<OutputdefsWorkspaceId>;
|
|
1303
|
+
two_factor_type?: string;
|
|
1304
|
+
tz?: null | string;
|
|
1305
|
+
tz_label?: string;
|
|
1306
|
+
tz_offset?: number | string;
|
|
1307
|
+
updated?: number | string;
|
|
1308
|
+
[key: string]: unknown;
|
|
1309
|
+
};
|
|
1310
|
+
type OutputobjsEnterpriseUser = {
|
|
1311
|
+
enterprise_id?: OutputdefsEnterpriseId;
|
|
1312
|
+
enterprise_name?: OutputdefsEnterpriseName;
|
|
1313
|
+
id?: OutputdefsEnterpriseUserId;
|
|
1314
|
+
is_admin?: boolean;
|
|
1315
|
+
is_owner?: boolean;
|
|
1316
|
+
teams?: Array<OutputdefsTeam>;
|
|
1317
|
+
[key: string]: unknown;
|
|
1318
|
+
};
|
|
1319
|
+
type OutputdefsEnterpriseUserId = string;
|
|
1320
|
+
type OutputobjsUserProfile = {
|
|
1321
|
+
always_active?: boolean;
|
|
1322
|
+
api_app_id?: OutputdefsOptionalAppId;
|
|
1323
|
+
avatar_hash?: string;
|
|
1324
|
+
bot_id?: OutputdefsBotId;
|
|
1325
|
+
display_name?: string;
|
|
1326
|
+
display_name_normalized?: string;
|
|
1327
|
+
email?: null | string;
|
|
1328
|
+
fields?: {
|
|
1329
|
+
[key: string]: unknown;
|
|
1330
|
+
} | null | Array<{
|
|
1331
|
+
[key: string]: unknown;
|
|
1332
|
+
}>;
|
|
1333
|
+
first_name?: null | string;
|
|
1334
|
+
guest_expiration_ts?: null | number | string;
|
|
1335
|
+
guest_invited_by?: null | string;
|
|
1336
|
+
image_1024?: null | string;
|
|
1337
|
+
image_192?: null | string;
|
|
1338
|
+
image_24?: null | string;
|
|
1339
|
+
image_32?: null | string;
|
|
1340
|
+
image_48?: null | string;
|
|
1341
|
+
image_512?: null | string;
|
|
1342
|
+
image_72?: null | string;
|
|
1343
|
+
image_original?: null | string;
|
|
1344
|
+
is_app_user?: boolean;
|
|
1345
|
+
is_custom_image?: boolean;
|
|
1346
|
+
is_restricted?: null | boolean;
|
|
1347
|
+
is_ultra_restricted?: null | boolean;
|
|
1348
|
+
last_avatar_image_hash?: string;
|
|
1349
|
+
last_name?: null | string;
|
|
1350
|
+
memberships_count?: number | string;
|
|
1351
|
+
name?: null | string;
|
|
1352
|
+
phone?: string;
|
|
1353
|
+
pronouns?: string;
|
|
1354
|
+
real_name?: string;
|
|
1355
|
+
real_name_normalized?: string;
|
|
1356
|
+
skype?: string;
|
|
1357
|
+
status_default_emoji?: string;
|
|
1358
|
+
status_default_text?: string;
|
|
1359
|
+
status_default_text_canonical?: null | string;
|
|
1360
|
+
status_emoji?: string;
|
|
1361
|
+
status_expiration?: number | string;
|
|
1362
|
+
status_text?: string;
|
|
1363
|
+
status_text_canonical?: null | string;
|
|
1364
|
+
team?: OutputdefsWorkspaceId;
|
|
1365
|
+
title?: string;
|
|
1366
|
+
updated?: number | string;
|
|
1367
|
+
user_id?: string;
|
|
1368
|
+
username?: null | string;
|
|
1369
|
+
[key: string]: unknown;
|
|
1370
|
+
};
|
|
1371
|
+
type OutputdefsOptionalAppId = string;
|
|
1372
|
+
type SlackApiTestInput = {
|
|
1373
|
+
query?: {
|
|
1374
|
+
error?: string;
|
|
1375
|
+
};
|
|
1376
|
+
};
|
|
1377
|
+
type SlackApiTestOutput = {
|
|
1378
|
+
ok: OutputdefsOkTrue;
|
|
1379
|
+
} & Record<string, {
|
|
1380
|
+
[key: string]: unknown;
|
|
1381
|
+
}>;
|
|
1382
|
+
type SlackAuthTestInput = Record<string, never>;
|
|
1383
|
+
type SlackAuthTestOutput = {
|
|
1384
|
+
bot_id?: OutputdefsBotId;
|
|
1385
|
+
is_enterprise_install?: boolean;
|
|
1386
|
+
ok: OutputdefsOkTrue;
|
|
1387
|
+
team?: string;
|
|
1388
|
+
team_id?: OutputdefsTeam;
|
|
1389
|
+
url?: string;
|
|
1390
|
+
user?: string;
|
|
1391
|
+
user_id?: OutputdefsUserId;
|
|
1392
|
+
[key: string]: unknown;
|
|
1393
|
+
};
|
|
1394
|
+
type SlackBotsInfoInput = {
|
|
1395
|
+
query?: {
|
|
1396
|
+
bot?: string;
|
|
1397
|
+
team_id?: string;
|
|
1398
|
+
};
|
|
1399
|
+
};
|
|
1400
|
+
type SlackBotsInfoOutput = {
|
|
1401
|
+
bot?: {
|
|
1402
|
+
app_id?: OutputdefsAppId;
|
|
1403
|
+
deleted?: boolean;
|
|
1404
|
+
icons?: {
|
|
1405
|
+
image_36?: string;
|
|
1406
|
+
image_48?: string;
|
|
1407
|
+
image_72?: string;
|
|
1408
|
+
[key: string]: unknown;
|
|
1409
|
+
};
|
|
1410
|
+
id?: OutputdefsBotId;
|
|
1411
|
+
name?: string;
|
|
1412
|
+
updated?: number | string;
|
|
1413
|
+
user_id?: OutputdefsUserId;
|
|
1414
|
+
[key: string]: unknown;
|
|
1415
|
+
};
|
|
1416
|
+
ok: OutputdefsOkTrue;
|
|
1417
|
+
[key: string]: unknown;
|
|
1418
|
+
};
|
|
1419
|
+
type SlackCallsAddInput = {
|
|
1420
|
+
body: {
|
|
1421
|
+
created_by?: string;
|
|
1422
|
+
date_start?: number;
|
|
1423
|
+
desktop_app_join_url?: string;
|
|
1424
|
+
external_display_id?: string;
|
|
1425
|
+
external_unique_id: string;
|
|
1426
|
+
join_url: string;
|
|
1427
|
+
title?: string;
|
|
1428
|
+
users?: string;
|
|
1429
|
+
[key: string]: unknown;
|
|
1430
|
+
};
|
|
1431
|
+
};
|
|
1432
|
+
type SlackCallsAddOutput = {
|
|
1433
|
+
ok: OutputdefsOkTrue;
|
|
1434
|
+
[key: string]: unknown;
|
|
1435
|
+
};
|
|
1436
|
+
type SlackCallsEndInput = {
|
|
1437
|
+
body: {
|
|
1438
|
+
duration?: number;
|
|
1439
|
+
id: string;
|
|
1440
|
+
[key: string]: unknown;
|
|
1441
|
+
};
|
|
1442
|
+
};
|
|
1443
|
+
type SlackCallsEndOutput = {
|
|
1444
|
+
ok: OutputdefsOkTrue;
|
|
1445
|
+
[key: string]: unknown;
|
|
1446
|
+
};
|
|
1447
|
+
type SlackCallsInfoInput = {
|
|
1448
|
+
query: {
|
|
1449
|
+
id: string;
|
|
1450
|
+
};
|
|
1451
|
+
};
|
|
1452
|
+
type SlackCallsInfoOutput = {
|
|
1453
|
+
ok: OutputdefsOkTrue;
|
|
1454
|
+
[key: string]: unknown;
|
|
1455
|
+
};
|
|
1456
|
+
type SlackCallsParticipantsAddInput = {
|
|
1457
|
+
body: {
|
|
1458
|
+
id: string;
|
|
1459
|
+
users: string;
|
|
1460
|
+
[key: string]: unknown;
|
|
1461
|
+
};
|
|
1462
|
+
};
|
|
1463
|
+
type SlackCallsParticipantsAddOutput = {
|
|
1464
|
+
ok: OutputdefsOkTrue;
|
|
1465
|
+
[key: string]: unknown;
|
|
1466
|
+
};
|
|
1467
|
+
type SlackCallsParticipantsRemoveInput = {
|
|
1468
|
+
body: {
|
|
1469
|
+
id: string;
|
|
1470
|
+
users: string;
|
|
1471
|
+
[key: string]: unknown;
|
|
1472
|
+
};
|
|
1473
|
+
};
|
|
1474
|
+
type SlackCallsParticipantsRemoveOutput = {
|
|
1475
|
+
ok: OutputdefsOkTrue;
|
|
1476
|
+
[key: string]: unknown;
|
|
1477
|
+
};
|
|
1478
|
+
type SlackCallsUpdateInput = {
|
|
1479
|
+
body: {
|
|
1480
|
+
desktop_app_join_url?: string;
|
|
1481
|
+
id: string;
|
|
1482
|
+
join_url?: string;
|
|
1483
|
+
title?: string;
|
|
1484
|
+
[key: string]: unknown;
|
|
1485
|
+
};
|
|
1486
|
+
};
|
|
1487
|
+
type SlackCallsUpdateOutput = {
|
|
1488
|
+
ok: OutputdefsOkTrue;
|
|
1489
|
+
[key: string]: unknown;
|
|
1490
|
+
};
|
|
1491
|
+
type SlackChatDeleteInput = {
|
|
1492
|
+
body: {
|
|
1493
|
+
as_user?: boolean;
|
|
1494
|
+
channel: string;
|
|
1495
|
+
ts: string;
|
|
1496
|
+
[key: string]: unknown;
|
|
1497
|
+
};
|
|
1498
|
+
};
|
|
1499
|
+
type SlackChatDeleteOutput = {
|
|
1500
|
+
channel?: OutputdefsChannel;
|
|
1501
|
+
ok: OutputdefsOkTrue;
|
|
1502
|
+
ts?: OutputdefsTs;
|
|
1503
|
+
[key: string]: unknown;
|
|
1504
|
+
};
|
|
1505
|
+
type SlackChatDeletescheduledmessageInput = {
|
|
1506
|
+
body: {
|
|
1507
|
+
as_user?: boolean;
|
|
1508
|
+
channel: string;
|
|
1509
|
+
scheduled_message_id: string;
|
|
1510
|
+
[key: string]: unknown;
|
|
1511
|
+
};
|
|
1512
|
+
};
|
|
1513
|
+
type SlackChatDeletescheduledmessageOutput = {
|
|
1514
|
+
ok: OutputdefsOkTrue;
|
|
1515
|
+
[key: string]: unknown;
|
|
1516
|
+
};
|
|
1517
|
+
type SlackChatGetpermalinkInput = {
|
|
1518
|
+
query: {
|
|
1519
|
+
channel: string;
|
|
1520
|
+
message_ts: string;
|
|
1521
|
+
};
|
|
1522
|
+
};
|
|
1523
|
+
type SlackChatGetpermalinkOutput = {
|
|
1524
|
+
channel?: OutputdefsChannel;
|
|
1525
|
+
ok: OutputdefsOkTrue;
|
|
1526
|
+
permalink?: string;
|
|
1527
|
+
[key: string]: unknown;
|
|
1528
|
+
};
|
|
1529
|
+
type SlackChatMemessageInput = {
|
|
1530
|
+
body: {
|
|
1531
|
+
channel: string;
|
|
1532
|
+
text: string;
|
|
1533
|
+
[key: string]: unknown;
|
|
1534
|
+
};
|
|
1535
|
+
};
|
|
1536
|
+
type SlackChatMemessageOutput = {
|
|
1537
|
+
channel?: OutputdefsChannel;
|
|
1538
|
+
ok: OutputdefsOkTrue;
|
|
1539
|
+
ts?: OutputdefsTs;
|
|
1540
|
+
[key: string]: unknown;
|
|
1541
|
+
};
|
|
1542
|
+
type SlackChatPostephemeralInput = {
|
|
1543
|
+
body: {
|
|
1544
|
+
as_user?: boolean;
|
|
1545
|
+
attachments?: string;
|
|
1546
|
+
blocks?: string;
|
|
1547
|
+
channel: string;
|
|
1548
|
+
icon_emoji?: string;
|
|
1549
|
+
icon_url?: string;
|
|
1550
|
+
link_names?: boolean;
|
|
1551
|
+
markdown_text?: string;
|
|
1552
|
+
metadata?: string;
|
|
1553
|
+
parse?: string;
|
|
1554
|
+
text?: string;
|
|
1555
|
+
thread_ts?: string;
|
|
1556
|
+
user: string;
|
|
1557
|
+
username?: string;
|
|
1558
|
+
[key: string]: unknown;
|
|
1559
|
+
};
|
|
1560
|
+
};
|
|
1561
|
+
type SlackChatPostephemeralOutput = {
|
|
1562
|
+
message_ts?: OutputdefsTs;
|
|
1563
|
+
ok: OutputdefsOkTrue;
|
|
1564
|
+
[key: string]: unknown;
|
|
1565
|
+
};
|
|
1566
|
+
type SlackChatPostmessageInput = {
|
|
1567
|
+
body: {
|
|
1568
|
+
as_user?: boolean;
|
|
1569
|
+
attachments?: string;
|
|
1570
|
+
blocks?: string;
|
|
1571
|
+
channel: string;
|
|
1572
|
+
current_draft_last_updated_ts?: string;
|
|
1573
|
+
icon_emoji?: string;
|
|
1574
|
+
icon_url?: string;
|
|
1575
|
+
link_names?: boolean;
|
|
1576
|
+
markdown_text?: string;
|
|
1577
|
+
metadata?: string;
|
|
1578
|
+
mrkdwn?: boolean;
|
|
1579
|
+
parse?: string;
|
|
1580
|
+
reply_broadcast?: boolean;
|
|
1581
|
+
text?: string;
|
|
1582
|
+
thread_ts?: string;
|
|
1583
|
+
unfurl_app_links?: boolean;
|
|
1584
|
+
unfurl_links?: boolean;
|
|
1585
|
+
unfurl_media?: boolean;
|
|
1586
|
+
username?: string;
|
|
1587
|
+
[key: string]: unknown;
|
|
1588
|
+
};
|
|
1589
|
+
};
|
|
1590
|
+
type SlackChatPostmessageOutput = {
|
|
1591
|
+
channel?: OutputdefsChannel;
|
|
1592
|
+
message?: OutputobjsMessage;
|
|
1593
|
+
ok: OutputdefsOkTrue;
|
|
1594
|
+
ts?: OutputdefsTs;
|
|
1595
|
+
[key: string]: unknown;
|
|
1596
|
+
};
|
|
1597
|
+
type SlackChatScheduledmessagesListInput = {
|
|
1598
|
+
query?: {
|
|
1599
|
+
channel?: string;
|
|
1600
|
+
cursor?: string;
|
|
1601
|
+
latest?: string;
|
|
1602
|
+
limit?: number;
|
|
1603
|
+
oldest?: string;
|
|
1604
|
+
team_id?: string;
|
|
1605
|
+
};
|
|
1606
|
+
};
|
|
1607
|
+
type SlackChatScheduledmessagesListOutput = {
|
|
1608
|
+
ok: OutputdefsOkTrue;
|
|
1609
|
+
response_metadata?: {
|
|
1610
|
+
next_cursor?: string;
|
|
1611
|
+
[key: string]: unknown;
|
|
1612
|
+
};
|
|
1613
|
+
scheduled_messages?: Array<{
|
|
1614
|
+
channel_id?: OutputdefsChannelId;
|
|
1615
|
+
date_created?: number | string;
|
|
1616
|
+
id?: string;
|
|
1617
|
+
post_at?: number | string;
|
|
1618
|
+
text?: string;
|
|
1619
|
+
[key: string]: unknown;
|
|
1620
|
+
}>;
|
|
1621
|
+
[key: string]: unknown;
|
|
1622
|
+
};
|
|
1623
|
+
type SlackChatSchedulemessageInput = {
|
|
1624
|
+
body: {
|
|
1625
|
+
as_user?: boolean;
|
|
1626
|
+
attachments?: string;
|
|
1627
|
+
blocks?: string;
|
|
1628
|
+
channel: string;
|
|
1629
|
+
link_names?: boolean;
|
|
1630
|
+
markdown_text?: string;
|
|
1631
|
+
metadata?: string;
|
|
1632
|
+
parse?: string;
|
|
1633
|
+
post_at: number;
|
|
1634
|
+
reply_broadcast?: boolean;
|
|
1635
|
+
text?: string;
|
|
1636
|
+
thread_ts?: string;
|
|
1637
|
+
unfurl_links?: boolean;
|
|
1638
|
+
unfurl_media?: boolean;
|
|
1639
|
+
[key: string]: unknown;
|
|
1640
|
+
};
|
|
1641
|
+
};
|
|
1642
|
+
type SlackChatSchedulemessageOutput = {
|
|
1643
|
+
channel?: OutputdefsChannel;
|
|
1644
|
+
message?: {
|
|
1645
|
+
bot_id?: OutputdefsBotId;
|
|
1646
|
+
bot_profile?: OutputobjsBotProfile;
|
|
1647
|
+
team?: OutputdefsTeam;
|
|
1648
|
+
text?: string;
|
|
1649
|
+
type?: string;
|
|
1650
|
+
user?: OutputdefsUserId;
|
|
1651
|
+
username?: string;
|
|
1652
|
+
[key: string]: unknown;
|
|
1653
|
+
};
|
|
1654
|
+
ok: OutputdefsOkTrue;
|
|
1655
|
+
post_at?: number | string;
|
|
1656
|
+
scheduled_message_id?: string;
|
|
1657
|
+
[key: string]: unknown;
|
|
1658
|
+
};
|
|
1659
|
+
type SlackChatUnfurlInput = {
|
|
1660
|
+
body?: {
|
|
1661
|
+
channel?: string;
|
|
1662
|
+
source?: string;
|
|
1663
|
+
ts?: string;
|
|
1664
|
+
unfurl_id?: string;
|
|
1665
|
+
unfurls?: string;
|
|
1666
|
+
user_auth_blocks?: string;
|
|
1667
|
+
user_auth_message?: string;
|
|
1668
|
+
user_auth_required?: boolean;
|
|
1669
|
+
user_auth_url?: string;
|
|
1670
|
+
[key: string]: unknown;
|
|
1671
|
+
};
|
|
1672
|
+
};
|
|
1673
|
+
type SlackChatUnfurlOutput = {
|
|
1674
|
+
ok: OutputdefsOkTrue;
|
|
1675
|
+
[key: string]: unknown;
|
|
1676
|
+
};
|
|
1677
|
+
type SlackChatUpdateInput = {
|
|
1678
|
+
body: {
|
|
1679
|
+
as_user?: boolean;
|
|
1680
|
+
attachments?: string;
|
|
1681
|
+
blocks?: string;
|
|
1682
|
+
channel: string;
|
|
1683
|
+
file_ids?: string;
|
|
1684
|
+
link_names?: boolean;
|
|
1685
|
+
markdown_text?: string;
|
|
1686
|
+
metadata?: string;
|
|
1687
|
+
parse?: string;
|
|
1688
|
+
reply_broadcast?: boolean;
|
|
1689
|
+
text?: string;
|
|
1690
|
+
ts: string;
|
|
1691
|
+
unfurled_attachments?: string;
|
|
1692
|
+
[key: string]: unknown;
|
|
1693
|
+
};
|
|
1694
|
+
};
|
|
1695
|
+
type SlackChatUpdateOutput = {
|
|
1696
|
+
channel?: string;
|
|
1697
|
+
message?: {
|
|
1698
|
+
attachments?: Array<{
|
|
1699
|
+
[key: string]: unknown;
|
|
1700
|
+
}>;
|
|
1701
|
+
blocks?: {
|
|
1702
|
+
[key: string]: unknown;
|
|
1703
|
+
};
|
|
1704
|
+
text?: string;
|
|
1705
|
+
[key: string]: unknown;
|
|
1706
|
+
};
|
|
1707
|
+
ok: OutputdefsOkTrue;
|
|
1708
|
+
text?: string;
|
|
1709
|
+
ts?: string;
|
|
1710
|
+
[key: string]: unknown;
|
|
1711
|
+
};
|
|
1712
|
+
type SlackConversationsArchiveInput = {
|
|
1713
|
+
body: {
|
|
1714
|
+
channel: string;
|
|
1715
|
+
[key: string]: unknown;
|
|
1716
|
+
};
|
|
1717
|
+
};
|
|
1718
|
+
type SlackConversationsArchiveOutput = {
|
|
1719
|
+
ok: OutputdefsOkTrue;
|
|
1720
|
+
[key: string]: unknown;
|
|
1721
|
+
};
|
|
1722
|
+
type SlackConversationsCloseInput = {
|
|
1723
|
+
body: {
|
|
1724
|
+
channel: string;
|
|
1725
|
+
[key: string]: unknown;
|
|
1726
|
+
};
|
|
1727
|
+
};
|
|
1728
|
+
type SlackConversationsCloseOutput = {
|
|
1729
|
+
already_closed?: boolean;
|
|
1730
|
+
no_op?: boolean;
|
|
1731
|
+
ok: OutputdefsOkTrue;
|
|
1732
|
+
[key: string]: unknown;
|
|
1733
|
+
};
|
|
1734
|
+
type SlackConversationsCreateInput = {
|
|
1735
|
+
body: {
|
|
1736
|
+
is_private?: boolean;
|
|
1737
|
+
name: string;
|
|
1738
|
+
team_id?: string;
|
|
1739
|
+
[key: string]: unknown;
|
|
1740
|
+
};
|
|
1741
|
+
};
|
|
1742
|
+
type SlackConversationsCreateOutput = {
|
|
1743
|
+
channel?: OutputobjsConversation;
|
|
1744
|
+
ok: OutputdefsOkTrue;
|
|
1745
|
+
[key: string]: unknown;
|
|
1746
|
+
};
|
|
1747
|
+
type SlackConversationsHistoryInput = {
|
|
1748
|
+
query: {
|
|
1749
|
+
channel: string;
|
|
1750
|
+
cursor?: string;
|
|
1751
|
+
include_all_metadata?: boolean;
|
|
1752
|
+
inclusive?: boolean;
|
|
1753
|
+
latest?: string;
|
|
1754
|
+
limit?: number;
|
|
1755
|
+
oldest?: string;
|
|
1756
|
+
};
|
|
1757
|
+
};
|
|
1758
|
+
type SlackConversationsHistoryOutput = {
|
|
1759
|
+
channel_actions_count?: number | string;
|
|
1760
|
+
channel_actions_ts?: number | string | null;
|
|
1761
|
+
has_more?: boolean;
|
|
1762
|
+
messages?: Array<OutputobjsMessage>;
|
|
1763
|
+
ok: OutputdefsOkTrue;
|
|
1764
|
+
pin_count?: number | string;
|
|
1765
|
+
[key: string]: unknown;
|
|
1766
|
+
};
|
|
1767
|
+
type SlackConversationsInfoInput = {
|
|
1768
|
+
query: {
|
|
1769
|
+
channel: string;
|
|
1770
|
+
include_locale?: boolean;
|
|
1771
|
+
include_num_members?: boolean;
|
|
1772
|
+
};
|
|
1773
|
+
};
|
|
1774
|
+
type SlackConversationsInfoOutput = {
|
|
1775
|
+
channel?: OutputobjsConversation;
|
|
1776
|
+
ok: OutputdefsOkTrue;
|
|
1777
|
+
[key: string]: unknown;
|
|
1778
|
+
};
|
|
1779
|
+
type SlackConversationsInviteInput = {
|
|
1780
|
+
body: {
|
|
1781
|
+
channel: string;
|
|
1782
|
+
force?: boolean;
|
|
1783
|
+
users: string;
|
|
1784
|
+
[key: string]: unknown;
|
|
1785
|
+
};
|
|
1786
|
+
};
|
|
1787
|
+
type SlackConversationsInviteOutput = {
|
|
1788
|
+
channel?: OutputobjsConversation;
|
|
1789
|
+
ok: OutputdefsOkTrue;
|
|
1790
|
+
[key: string]: unknown;
|
|
1791
|
+
};
|
|
1792
|
+
type SlackConversationsJoinInput = {
|
|
1793
|
+
body: {
|
|
1794
|
+
channel: string;
|
|
1795
|
+
[key: string]: unknown;
|
|
1796
|
+
};
|
|
1797
|
+
};
|
|
1798
|
+
type SlackConversationsJoinOutput = {
|
|
1799
|
+
channel?: OutputobjsConversation;
|
|
1800
|
+
ok: OutputdefsOkTrue;
|
|
1801
|
+
response_metadata?: {
|
|
1802
|
+
warnings?: Array<string>;
|
|
1803
|
+
[key: string]: unknown;
|
|
1804
|
+
};
|
|
1805
|
+
warning?: string;
|
|
1806
|
+
[key: string]: unknown;
|
|
1807
|
+
};
|
|
1808
|
+
type SlackConversationsKickInput = {
|
|
1809
|
+
body: {
|
|
1810
|
+
channel: string;
|
|
1811
|
+
user?: string;
|
|
1812
|
+
[key: string]: unknown;
|
|
1813
|
+
};
|
|
1814
|
+
};
|
|
1815
|
+
type SlackConversationsKickOutput = {
|
|
1816
|
+
ok: OutputdefsOkTrue;
|
|
1817
|
+
[key: string]: unknown;
|
|
1818
|
+
};
|
|
1819
|
+
type SlackConversationsLeaveInput = {
|
|
1820
|
+
body: {
|
|
1821
|
+
channel: string;
|
|
1822
|
+
[key: string]: unknown;
|
|
1823
|
+
};
|
|
1824
|
+
};
|
|
1825
|
+
type SlackConversationsLeaveOutput = {
|
|
1826
|
+
not_in_channel?: boolean;
|
|
1827
|
+
ok: OutputdefsOkTrue;
|
|
1828
|
+
[key: string]: unknown;
|
|
1829
|
+
};
|
|
1830
|
+
type SlackConversationsListInput = {
|
|
1831
|
+
query?: {
|
|
1832
|
+
cursor?: string;
|
|
1833
|
+
exclude_archived?: boolean;
|
|
1834
|
+
limit?: number;
|
|
1835
|
+
team_id?: string;
|
|
1836
|
+
types?: string;
|
|
1837
|
+
};
|
|
1838
|
+
};
|
|
1839
|
+
type SlackConversationsListOutput = {
|
|
1840
|
+
channels?: Array<OutputobjsConversation>;
|
|
1841
|
+
ok: OutputdefsOkTrue;
|
|
1842
|
+
response_metadata?: {
|
|
1843
|
+
next_cursor?: string;
|
|
1844
|
+
[key: string]: unknown;
|
|
1845
|
+
};
|
|
1846
|
+
[key: string]: unknown;
|
|
1847
|
+
};
|
|
1848
|
+
type SlackConversationsMarkInput = {
|
|
1849
|
+
body: {
|
|
1850
|
+
channel: string;
|
|
1851
|
+
ts: string;
|
|
1852
|
+
[key: string]: unknown;
|
|
1853
|
+
};
|
|
1854
|
+
};
|
|
1855
|
+
type SlackConversationsMarkOutput = {
|
|
1856
|
+
ok: OutputdefsOkTrue;
|
|
1857
|
+
[key: string]: unknown;
|
|
1858
|
+
};
|
|
1859
|
+
type SlackConversationsMembersInput = {
|
|
1860
|
+
query: {
|
|
1861
|
+
channel: string;
|
|
1862
|
+
cursor?: string;
|
|
1863
|
+
limit?: number;
|
|
1864
|
+
};
|
|
1865
|
+
};
|
|
1866
|
+
type SlackConversationsMembersOutput = {
|
|
1867
|
+
members?: Array<OutputdefsUserId>;
|
|
1868
|
+
ok: OutputdefsOkTrue;
|
|
1869
|
+
response_metadata?: {
|
|
1870
|
+
next_cursor?: string;
|
|
1871
|
+
[key: string]: unknown;
|
|
1872
|
+
};
|
|
1873
|
+
[key: string]: unknown;
|
|
1874
|
+
};
|
|
1875
|
+
type SlackConversationsOpenInput = {
|
|
1876
|
+
body?: {
|
|
1877
|
+
channel?: string;
|
|
1878
|
+
prevent_creation?: boolean;
|
|
1879
|
+
return_im?: boolean;
|
|
1880
|
+
users?: string;
|
|
1881
|
+
[key: string]: unknown;
|
|
1882
|
+
};
|
|
1883
|
+
};
|
|
1884
|
+
type SlackConversationsOpenOutput = {
|
|
1885
|
+
already_open?: boolean;
|
|
1886
|
+
channel?: {
|
|
1887
|
+
accepted_user?: OutputdefsUserId;
|
|
1888
|
+
connected_team_ids?: Array<OutputdefsWorkspaceId>;
|
|
1889
|
+
conversation_host_id?: OutputdefsWorkspaceId;
|
|
1890
|
+
created?: number | string;
|
|
1891
|
+
creator?: OutputdefsUserId;
|
|
1892
|
+
display_counts?: {
|
|
1893
|
+
display_counts?: number | string;
|
|
1894
|
+
guest_counts?: number | string;
|
|
1895
|
+
[key: string]: unknown;
|
|
1896
|
+
};
|
|
1897
|
+
enterprise_id?: OutputdefsEnterpriseId;
|
|
1898
|
+
has_pins?: boolean;
|
|
1899
|
+
id?: OutputdefsChannel;
|
|
1900
|
+
internal_team_ids?: Array<OutputdefsTeam>;
|
|
1901
|
+
is_archived?: boolean;
|
|
1902
|
+
is_channel?: boolean;
|
|
1903
|
+
is_ext_shared?: boolean;
|
|
1904
|
+
is_frozen?: boolean;
|
|
1905
|
+
is_general?: boolean;
|
|
1906
|
+
is_global_shared?: boolean;
|
|
1907
|
+
is_group?: boolean;
|
|
1908
|
+
is_im?: boolean;
|
|
1909
|
+
is_member?: boolean;
|
|
1910
|
+
is_moved?: number | string;
|
|
1911
|
+
is_mpim?: boolean;
|
|
1912
|
+
is_non_threadable?: boolean;
|
|
1913
|
+
is_open?: boolean;
|
|
1914
|
+
is_org_default?: boolean;
|
|
1915
|
+
is_org_mandatory?: boolean;
|
|
1916
|
+
is_org_shared?: boolean;
|
|
1917
|
+
is_pending_ext_shared?: boolean;
|
|
1918
|
+
is_private?: boolean;
|
|
1919
|
+
is_read_only?: boolean;
|
|
1920
|
+
is_shared?: boolean;
|
|
1921
|
+
is_starred?: boolean;
|
|
1922
|
+
is_thread_only?: boolean;
|
|
1923
|
+
last_read?: OutputdefsTs;
|
|
1924
|
+
latest?: OutputobjsMessage | null;
|
|
1925
|
+
members?: Array<OutputdefsUserId>;
|
|
1926
|
+
name?: string;
|
|
1927
|
+
name_normalized?: string;
|
|
1928
|
+
num_members?: number | string;
|
|
1929
|
+
parent_conversation?: string | null;
|
|
1930
|
+
pending_connected_team_ids?: Array<OutputdefsTeam>;
|
|
1931
|
+
pending_shared?: Array<OutputdefsTeam>;
|
|
1932
|
+
pin_count?: number | string;
|
|
1933
|
+
previous_names?: Array<OutputdefsChannelName>;
|
|
1934
|
+
priority?: number | string;
|
|
1935
|
+
purpose?: {
|
|
1936
|
+
creator?: OutputdefsTopicPurposeCreator;
|
|
1937
|
+
last_set?: number | string;
|
|
1938
|
+
value?: string;
|
|
1939
|
+
[key: string]: unknown;
|
|
1940
|
+
};
|
|
1941
|
+
shared_team_ids?: Array<OutputdefsTeam>;
|
|
1942
|
+
shares?: Array<{
|
|
1943
|
+
accepted_user?: OutputdefsUserId;
|
|
1944
|
+
is_active?: boolean;
|
|
1945
|
+
team?: OutputobjsTeam;
|
|
1946
|
+
user?: OutputdefsUserId;
|
|
1947
|
+
[key: string]: unknown;
|
|
1948
|
+
}>;
|
|
1949
|
+
timezone_count?: number | string;
|
|
1950
|
+
topic?: {
|
|
1951
|
+
creator?: OutputdefsTopicPurposeCreator;
|
|
1952
|
+
last_set?: number | string;
|
|
1953
|
+
value?: string;
|
|
1954
|
+
[key: string]: unknown;
|
|
1955
|
+
};
|
|
1956
|
+
unlinked?: number | string;
|
|
1957
|
+
unread_count?: number | string;
|
|
1958
|
+
unread_count_display?: number | string;
|
|
1959
|
+
use_case?: string;
|
|
1960
|
+
user?: OutputdefsUserId;
|
|
1961
|
+
version?: number | string;
|
|
1962
|
+
[key: string]: unknown;
|
|
1963
|
+
} | {
|
|
1964
|
+
accepted_user?: OutputdefsUserId;
|
|
1965
|
+
connected_team_ids?: Array<OutputdefsTeam>;
|
|
1966
|
+
conversation_host_id?: OutputdefsWorkspaceId;
|
|
1967
|
+
created?: number | string;
|
|
1968
|
+
creator?: OutputdefsUserId;
|
|
1969
|
+
display_counts?: {
|
|
1970
|
+
display_counts?: number | string;
|
|
1971
|
+
guest_counts?: number | string;
|
|
1972
|
+
[key: string]: unknown;
|
|
1973
|
+
};
|
|
1974
|
+
id?: OutputdefsChannel;
|
|
1975
|
+
internal_team_ids?: Array<OutputdefsTeam>;
|
|
1976
|
+
is_archived?: boolean;
|
|
1977
|
+
is_channel?: boolean;
|
|
1978
|
+
is_ext_shared?: boolean;
|
|
1979
|
+
is_frozen?: boolean;
|
|
1980
|
+
is_general?: boolean;
|
|
1981
|
+
is_group?: boolean;
|
|
1982
|
+
is_im?: boolean;
|
|
1983
|
+
is_member?: boolean;
|
|
1984
|
+
is_moved?: number | string;
|
|
1985
|
+
is_mpim?: boolean;
|
|
1986
|
+
is_non_threadable?: boolean;
|
|
1987
|
+
is_open?: boolean;
|
|
1988
|
+
is_org_shared?: boolean;
|
|
1989
|
+
is_pending_ext_shared?: boolean;
|
|
1990
|
+
is_private?: boolean;
|
|
1991
|
+
is_read_only?: boolean;
|
|
1992
|
+
is_shared?: boolean;
|
|
1993
|
+
is_starred?: boolean;
|
|
1994
|
+
is_thread_only?: boolean;
|
|
1995
|
+
last_read?: OutputdefsTs;
|
|
1996
|
+
latest?: OutputobjsMessage | null;
|
|
1997
|
+
members?: Array<OutputdefsUserId>;
|
|
1998
|
+
name?: string;
|
|
1999
|
+
name_normalized?: string;
|
|
2000
|
+
num_members?: number | string;
|
|
2001
|
+
parent_conversation?: string | null;
|
|
2002
|
+
pending_connected_team_ids?: Array<OutputdefsTeam>;
|
|
2003
|
+
pending_shared?: Array<OutputdefsTeam>;
|
|
2004
|
+
pin_count?: number | string;
|
|
2005
|
+
previous_names?: Array<OutputdefsChannelName>;
|
|
2006
|
+
priority?: number | string;
|
|
2007
|
+
purpose?: {
|
|
2008
|
+
creator?: OutputdefsTopicPurposeCreator;
|
|
2009
|
+
last_set?: number | string;
|
|
2010
|
+
value?: string;
|
|
2011
|
+
[key: string]: unknown;
|
|
2012
|
+
};
|
|
2013
|
+
shared_team_ids?: Array<OutputdefsTeam>;
|
|
2014
|
+
shares?: Array<{
|
|
2015
|
+
accepted_user?: OutputdefsUserId;
|
|
2016
|
+
is_active?: boolean;
|
|
2017
|
+
team?: OutputobjsTeam;
|
|
2018
|
+
user?: OutputdefsUserId;
|
|
2019
|
+
[key: string]: unknown;
|
|
2020
|
+
}>;
|
|
2021
|
+
timezone_count?: number | string;
|
|
2022
|
+
topic?: {
|
|
2023
|
+
creator?: OutputdefsTopicPurposeCreator;
|
|
2024
|
+
last_set?: number | string;
|
|
2025
|
+
value?: string;
|
|
2026
|
+
[key: string]: unknown;
|
|
2027
|
+
};
|
|
2028
|
+
unlinked?: number | string;
|
|
2029
|
+
unread_count?: number | string;
|
|
2030
|
+
unread_count_display?: number | string;
|
|
2031
|
+
user?: OutputdefsUserId;
|
|
2032
|
+
version?: number | string;
|
|
2033
|
+
[key: string]: unknown;
|
|
2034
|
+
} | {
|
|
2035
|
+
created?: number | string;
|
|
2036
|
+
has_pins?: boolean;
|
|
2037
|
+
id?: OutputdefsDmId;
|
|
2038
|
+
is_archived?: boolean;
|
|
2039
|
+
is_ext_shared?: boolean;
|
|
2040
|
+
is_frozen?: boolean;
|
|
2041
|
+
is_im?: boolean;
|
|
2042
|
+
is_open?: boolean;
|
|
2043
|
+
is_org_shared?: boolean;
|
|
2044
|
+
is_shared?: boolean;
|
|
2045
|
+
is_starred?: boolean;
|
|
2046
|
+
is_user_deleted?: boolean;
|
|
2047
|
+
last_read?: OutputdefsTs;
|
|
2048
|
+
latest?: OutputobjsMessage | null;
|
|
2049
|
+
parent_conversation?: string | null;
|
|
2050
|
+
pin_count?: number | string;
|
|
2051
|
+
priority?: number | string;
|
|
2052
|
+
shares?: Array<{
|
|
2053
|
+
date_create?: number | string;
|
|
2054
|
+
id?: OutputdefsTeam;
|
|
2055
|
+
is_active?: boolean;
|
|
2056
|
+
name?: string;
|
|
2057
|
+
team?: OutputobjsTeam;
|
|
2058
|
+
[key: string]: unknown;
|
|
2059
|
+
}>;
|
|
2060
|
+
unread_count?: number | string;
|
|
2061
|
+
unread_count_display?: number | string;
|
|
2062
|
+
user?: OutputdefsUserId;
|
|
2063
|
+
version?: number | string;
|
|
2064
|
+
[key: string]: unknown;
|
|
2065
|
+
} | {
|
|
2066
|
+
created?: string;
|
|
2067
|
+
id?: OutputdefsDmId;
|
|
2068
|
+
is_im?: boolean;
|
|
2069
|
+
is_open?: boolean;
|
|
2070
|
+
last_read?: OutputdefsTs;
|
|
2071
|
+
latest?: OutputobjsMessage;
|
|
2072
|
+
unread_count?: number | string;
|
|
2073
|
+
unread_count_display?: number | string;
|
|
2074
|
+
user?: OutputdefsUserId;
|
|
2075
|
+
[key: string]: unknown;
|
|
2076
|
+
};
|
|
2077
|
+
no_op?: boolean;
|
|
2078
|
+
ok: OutputdefsOkTrue;
|
|
2079
|
+
[key: string]: unknown;
|
|
2080
|
+
};
|
|
2081
|
+
type SlackConversationsRenameInput = {
|
|
2082
|
+
body: {
|
|
2083
|
+
channel: string;
|
|
2084
|
+
name: string;
|
|
2085
|
+
[key: string]: unknown;
|
|
2086
|
+
};
|
|
2087
|
+
};
|
|
2088
|
+
type SlackConversationsRenameOutput = {
|
|
2089
|
+
channel?: OutputobjsConversation;
|
|
2090
|
+
ok: OutputdefsOkTrue;
|
|
2091
|
+
[key: string]: unknown;
|
|
2092
|
+
};
|
|
2093
|
+
type SlackConversationsRepliesInput = {
|
|
2094
|
+
query: {
|
|
2095
|
+
channel: string;
|
|
2096
|
+
cursor?: string;
|
|
2097
|
+
include_all_metadata?: boolean;
|
|
2098
|
+
inclusive?: boolean;
|
|
2099
|
+
latest?: string;
|
|
2100
|
+
limit?: number;
|
|
2101
|
+
oldest?: string;
|
|
2102
|
+
ts: string;
|
|
2103
|
+
};
|
|
2104
|
+
};
|
|
2105
|
+
type SlackConversationsRepliesOutput = {
|
|
2106
|
+
has_more?: boolean;
|
|
2107
|
+
messages?: Array<{
|
|
2108
|
+
last_read?: OutputdefsTs;
|
|
2109
|
+
latest_reply?: OutputdefsTs;
|
|
2110
|
+
reply_count?: number | string;
|
|
2111
|
+
reply_users?: Array<OutputdefsUserId>;
|
|
2112
|
+
reply_users_count?: number | string;
|
|
2113
|
+
source_team?: OutputdefsTeam;
|
|
2114
|
+
subscribed?: boolean;
|
|
2115
|
+
team?: OutputdefsTeam;
|
|
2116
|
+
text?: string;
|
|
2117
|
+
thread_ts?: OutputdefsTs;
|
|
2118
|
+
ts?: OutputdefsTs;
|
|
2119
|
+
type?: string;
|
|
2120
|
+
unread_count?: number | string;
|
|
2121
|
+
user?: OutputdefsUserId;
|
|
2122
|
+
user_profile?: OutputobjsUserProfileShort;
|
|
2123
|
+
user_team?: OutputdefsTeam;
|
|
2124
|
+
[key: string]: unknown;
|
|
2125
|
+
} | {
|
|
2126
|
+
is_starred?: boolean;
|
|
2127
|
+
parent_user_id?: OutputdefsUserId;
|
|
2128
|
+
source_team?: OutputdefsTeam;
|
|
2129
|
+
team?: OutputdefsTeam;
|
|
2130
|
+
text?: string;
|
|
2131
|
+
thread_ts?: OutputdefsTs;
|
|
2132
|
+
ts?: OutputdefsTs;
|
|
2133
|
+
type?: string;
|
|
2134
|
+
user?: OutputdefsUserId;
|
|
2135
|
+
user_profile?: OutputobjsUserProfileShort;
|
|
2136
|
+
user_team?: OutputdefsTeam;
|
|
2137
|
+
[key: string]: unknown;
|
|
2138
|
+
}>;
|
|
2139
|
+
ok: OutputdefsOkTrue;
|
|
2140
|
+
[key: string]: unknown;
|
|
2141
|
+
};
|
|
2142
|
+
type SlackConversationsSetpurposeInput = {
|
|
2143
|
+
body: {
|
|
2144
|
+
channel: string;
|
|
2145
|
+
purpose: string;
|
|
2146
|
+
[key: string]: unknown;
|
|
2147
|
+
};
|
|
2148
|
+
};
|
|
2149
|
+
type SlackConversationsSetpurposeOutput = {
|
|
2150
|
+
channel?: OutputobjsConversation;
|
|
2151
|
+
ok: OutputdefsOkTrue;
|
|
2152
|
+
[key: string]: unknown;
|
|
2153
|
+
};
|
|
2154
|
+
type SlackConversationsSettopicInput = {
|
|
2155
|
+
body: {
|
|
2156
|
+
channel: string;
|
|
2157
|
+
topic: string;
|
|
2158
|
+
[key: string]: unknown;
|
|
2159
|
+
};
|
|
2160
|
+
};
|
|
2161
|
+
type SlackConversationsSettopicOutput = {
|
|
2162
|
+
channel?: OutputobjsConversation;
|
|
2163
|
+
ok: OutputdefsOkTrue;
|
|
2164
|
+
[key: string]: unknown;
|
|
2165
|
+
};
|
|
2166
|
+
type SlackConversationsUnarchiveInput = {
|
|
2167
|
+
body: {
|
|
2168
|
+
channel: string;
|
|
2169
|
+
[key: string]: unknown;
|
|
2170
|
+
};
|
|
2171
|
+
};
|
|
2172
|
+
type SlackConversationsUnarchiveOutput = {
|
|
2173
|
+
ok: OutputdefsOkTrue;
|
|
2174
|
+
[key: string]: unknown;
|
|
2175
|
+
};
|
|
2176
|
+
type SlackDialogOpenInput = {
|
|
2177
|
+
body: {
|
|
2178
|
+
dialog: string;
|
|
2179
|
+
trigger_id: string;
|
|
2180
|
+
[key: string]: unknown;
|
|
2181
|
+
};
|
|
2182
|
+
};
|
|
2183
|
+
type SlackDialogOpenOutput = {
|
|
2184
|
+
ok: OutputdefsOkTrue;
|
|
2185
|
+
[key: string]: unknown;
|
|
2186
|
+
};
|
|
2187
|
+
type SlackDndInfoInput = {
|
|
2188
|
+
query?: {
|
|
2189
|
+
team_id?: string;
|
|
2190
|
+
user?: string;
|
|
2191
|
+
};
|
|
2192
|
+
};
|
|
2193
|
+
type SlackDndInfoOutput = {
|
|
2194
|
+
dnd_enabled?: boolean;
|
|
2195
|
+
next_dnd_end_ts?: number | string;
|
|
2196
|
+
next_dnd_start_ts?: number | string;
|
|
2197
|
+
ok: OutputdefsOkTrue;
|
|
2198
|
+
snooze_enabled?: boolean;
|
|
2199
|
+
snooze_endtime?: number | string;
|
|
2200
|
+
snooze_remaining?: number | string;
|
|
2201
|
+
[key: string]: unknown;
|
|
2202
|
+
};
|
|
2203
|
+
type SlackDndTeaminfoInput = {
|
|
2204
|
+
query: {
|
|
2205
|
+
team_id?: string;
|
|
2206
|
+
users: string;
|
|
2207
|
+
};
|
|
2208
|
+
};
|
|
2209
|
+
type SlackDndTeaminfoOutput = {
|
|
2210
|
+
ok: OutputdefsOkTrue;
|
|
2211
|
+
[key: string]: unknown;
|
|
2212
|
+
};
|
|
2213
|
+
type SlackEmojiListInput = {
|
|
2214
|
+
query?: {
|
|
2215
|
+
include_categories?: boolean;
|
|
2216
|
+
};
|
|
2217
|
+
};
|
|
2218
|
+
type SlackEmojiListOutput = {
|
|
2219
|
+
ok: OutputdefsOkTrue;
|
|
2220
|
+
[key: string]: unknown;
|
|
2221
|
+
};
|
|
2222
|
+
type SlackFilesCommentsDeleteInput = {
|
|
2223
|
+
body: {
|
|
2224
|
+
file: string;
|
|
2225
|
+
id: string;
|
|
2226
|
+
[key: string]: unknown;
|
|
2227
|
+
};
|
|
2228
|
+
};
|
|
2229
|
+
type SlackFilesCommentsDeleteOutput = {
|
|
2230
|
+
ok: OutputdefsOkTrue;
|
|
2231
|
+
[key: string]: unknown;
|
|
2232
|
+
};
|
|
2233
|
+
type SlackFilesDeleteInput = {
|
|
2234
|
+
body: {
|
|
2235
|
+
file: string;
|
|
2236
|
+
[key: string]: unknown;
|
|
2237
|
+
};
|
|
2238
|
+
};
|
|
2239
|
+
type SlackFilesDeleteOutput = {
|
|
2240
|
+
ok: OutputdefsOkTrue;
|
|
2241
|
+
[key: string]: unknown;
|
|
2242
|
+
};
|
|
2243
|
+
type SlackFilesInfoInput = {
|
|
2244
|
+
query: {
|
|
2245
|
+
count?: number;
|
|
2246
|
+
cursor?: string;
|
|
2247
|
+
file: string;
|
|
2248
|
+
limit?: number;
|
|
2249
|
+
page?: number;
|
|
2250
|
+
};
|
|
2251
|
+
};
|
|
2252
|
+
type SlackFilesInfoOutput = {
|
|
2253
|
+
comments?: OutputobjsComments;
|
|
2254
|
+
content_html?: null;
|
|
2255
|
+
editor?: OutputdefsUserId;
|
|
2256
|
+
file?: OutputobjsFile;
|
|
2257
|
+
ok: OutputdefsOkTrue;
|
|
2258
|
+
paging?: OutputobjsPaging;
|
|
2259
|
+
response_metadata?: OutputobjsResponseMetadata;
|
|
2260
|
+
[key: string]: unknown;
|
|
2261
|
+
};
|
|
2262
|
+
type SlackFilesListInput = {
|
|
2263
|
+
query?: {
|
|
2264
|
+
channel?: string;
|
|
2265
|
+
count?: string;
|
|
2266
|
+
page?: string;
|
|
2267
|
+
show_files_hidden_by_limit?: boolean;
|
|
2268
|
+
team_id?: string;
|
|
2269
|
+
ts_from?: string;
|
|
2270
|
+
ts_to?: string;
|
|
2271
|
+
types?: string;
|
|
2272
|
+
user?: string;
|
|
2273
|
+
};
|
|
2274
|
+
};
|
|
2275
|
+
type SlackFilesListOutput = {
|
|
2276
|
+
files?: Array<OutputobjsFile>;
|
|
2277
|
+
ok: OutputdefsOkTrue;
|
|
2278
|
+
paging?: OutputobjsPaging;
|
|
2279
|
+
[key: string]: unknown;
|
|
2280
|
+
};
|
|
2281
|
+
type SlackFilesRemoteAddInput = {
|
|
2282
|
+
body: {
|
|
2283
|
+
external_id: string;
|
|
2284
|
+
external_url: string;
|
|
2285
|
+
filetype?: string;
|
|
2286
|
+
indexable_file_contents?: {
|
|
2287
|
+
filename: string;
|
|
2288
|
+
content_type: string;
|
|
2289
|
+
content_base64: string;
|
|
2290
|
+
};
|
|
2291
|
+
preview_image?: {
|
|
2292
|
+
filename: string;
|
|
2293
|
+
content_type: string;
|
|
2294
|
+
content_base64: string;
|
|
2295
|
+
};
|
|
2296
|
+
title: string;
|
|
2297
|
+
[key: string]: unknown;
|
|
2298
|
+
};
|
|
2299
|
+
};
|
|
2300
|
+
type SlackFilesRemoteAddOutput = {
|
|
2301
|
+
ok: OutputdefsOkTrue;
|
|
2302
|
+
[key: string]: unknown;
|
|
2303
|
+
};
|
|
2304
|
+
type SlackFilesRemoteInfoInput = {
|
|
2305
|
+
query?: {
|
|
2306
|
+
external_id?: string;
|
|
2307
|
+
file?: string;
|
|
2308
|
+
};
|
|
2309
|
+
};
|
|
2310
|
+
type SlackFilesRemoteInfoOutput = {
|
|
2311
|
+
ok: OutputdefsOkTrue;
|
|
2312
|
+
[key: string]: unknown;
|
|
2313
|
+
};
|
|
2314
|
+
type SlackFilesRemoteListInput = {
|
|
2315
|
+
query?: {
|
|
2316
|
+
channel?: string;
|
|
2317
|
+
cursor?: string;
|
|
2318
|
+
limit?: number;
|
|
2319
|
+
ts_from?: string;
|
|
2320
|
+
ts_to?: string;
|
|
2321
|
+
};
|
|
2322
|
+
};
|
|
2323
|
+
type SlackFilesRemoteListOutput = {
|
|
2324
|
+
ok: OutputdefsOkTrue;
|
|
2325
|
+
[key: string]: unknown;
|
|
2326
|
+
};
|
|
2327
|
+
type SlackFilesRemoteRemoveInput = {
|
|
2328
|
+
body?: {
|
|
2329
|
+
external_id?: string;
|
|
2330
|
+
file?: string;
|
|
2331
|
+
[key: string]: unknown;
|
|
2332
|
+
};
|
|
2333
|
+
};
|
|
2334
|
+
type SlackFilesRemoteRemoveOutput = {
|
|
2335
|
+
ok: OutputdefsOkTrue;
|
|
2336
|
+
[key: string]: unknown;
|
|
2337
|
+
};
|
|
2338
|
+
type SlackFilesRemoteShareInput = {
|
|
2339
|
+
query: {
|
|
2340
|
+
channels: string;
|
|
2341
|
+
external_id?: string;
|
|
2342
|
+
file?: string;
|
|
2343
|
+
};
|
|
2344
|
+
};
|
|
2345
|
+
type SlackFilesRemoteShareOutput = {
|
|
2346
|
+
ok: OutputdefsOkTrue;
|
|
2347
|
+
[key: string]: unknown;
|
|
2348
|
+
};
|
|
2349
|
+
type SlackFilesRemoteUpdateInput = {
|
|
2350
|
+
body?: {
|
|
2351
|
+
external_id?: string;
|
|
2352
|
+
external_url?: string;
|
|
2353
|
+
file?: string;
|
|
2354
|
+
filetype?: string;
|
|
2355
|
+
indexable_file_contents?: {
|
|
2356
|
+
filename: string;
|
|
2357
|
+
content_type: string;
|
|
2358
|
+
content_base64: string;
|
|
2359
|
+
};
|
|
2360
|
+
preview_image?: {
|
|
2361
|
+
filename: string;
|
|
2362
|
+
content_type: string;
|
|
2363
|
+
content_base64: string;
|
|
2364
|
+
};
|
|
2365
|
+
title?: string;
|
|
2366
|
+
[key: string]: unknown;
|
|
2367
|
+
};
|
|
2368
|
+
};
|
|
2369
|
+
type SlackFilesRemoteUpdateOutput = {
|
|
2370
|
+
ok: OutputdefsOkTrue;
|
|
2371
|
+
[key: string]: unknown;
|
|
2372
|
+
};
|
|
2373
|
+
type SlackFilesRevokepublicurlInput = {
|
|
2374
|
+
body: {
|
|
2375
|
+
file: string;
|
|
2376
|
+
[key: string]: unknown;
|
|
2377
|
+
};
|
|
2378
|
+
};
|
|
2379
|
+
type SlackFilesRevokepublicurlOutput = {
|
|
2380
|
+
file?: OutputobjsFile;
|
|
2381
|
+
ok: OutputdefsOkTrue;
|
|
2382
|
+
[key: string]: unknown;
|
|
2383
|
+
};
|
|
2384
|
+
type SlackMigrationExchangeInput = {
|
|
2385
|
+
query: {
|
|
2386
|
+
team_id?: string;
|
|
2387
|
+
to_old?: boolean;
|
|
2388
|
+
users: string;
|
|
2389
|
+
};
|
|
2390
|
+
};
|
|
2391
|
+
type SlackMigrationExchangeOutput = {
|
|
2392
|
+
enterprise_id?: string;
|
|
2393
|
+
invalid_user_ids?: Array<string>;
|
|
2394
|
+
ok: OutputdefsOkTrue;
|
|
2395
|
+
team_id?: OutputdefsTeam;
|
|
2396
|
+
user_id_map?: {
|
|
2397
|
+
[key: string]: unknown;
|
|
2398
|
+
};
|
|
2399
|
+
[key: string]: unknown;
|
|
2400
|
+
};
|
|
2401
|
+
type SlackPinsAddInput = {
|
|
2402
|
+
body: {
|
|
2403
|
+
channel: string;
|
|
2404
|
+
timestamp?: string;
|
|
2405
|
+
[key: string]: unknown;
|
|
2406
|
+
};
|
|
2407
|
+
};
|
|
2408
|
+
type SlackPinsAddOutput = {
|
|
2409
|
+
ok: OutputdefsOkTrue;
|
|
2410
|
+
[key: string]: unknown;
|
|
2411
|
+
};
|
|
2412
|
+
type SlackPinsListInput = {
|
|
2413
|
+
query: {
|
|
2414
|
+
channel: string;
|
|
2415
|
+
};
|
|
2416
|
+
};
|
|
2417
|
+
type SlackPinsListOutput = {
|
|
2418
|
+
items?: Array<{
|
|
2419
|
+
created?: number | string;
|
|
2420
|
+
created_by?: OutputdefsUserId;
|
|
2421
|
+
file?: OutputobjsFile;
|
|
2422
|
+
type?: string;
|
|
2423
|
+
[key: string]: unknown;
|
|
2424
|
+
} | {
|
|
2425
|
+
channel?: OutputdefsChannel;
|
|
2426
|
+
created?: number | string;
|
|
2427
|
+
created_by?: OutputdefsUserId;
|
|
2428
|
+
message?: OutputobjsMessage;
|
|
2429
|
+
type?: string;
|
|
2430
|
+
[key: string]: unknown;
|
|
2431
|
+
}>;
|
|
2432
|
+
ok?: OutputdefsOkTrue;
|
|
2433
|
+
[key: string]: unknown;
|
|
2434
|
+
} | {
|
|
2435
|
+
count?: number | string;
|
|
2436
|
+
ok?: OutputdefsOkTrue;
|
|
2437
|
+
[key: string]: unknown;
|
|
2438
|
+
};
|
|
2439
|
+
type SlackPinsRemoveInput = {
|
|
2440
|
+
body: {
|
|
2441
|
+
channel: string;
|
|
2442
|
+
timestamp?: string;
|
|
2443
|
+
[key: string]: unknown;
|
|
2444
|
+
};
|
|
2445
|
+
};
|
|
2446
|
+
type SlackPinsRemoveOutput = {
|
|
2447
|
+
ok: OutputdefsOkTrue;
|
|
2448
|
+
[key: string]: unknown;
|
|
2449
|
+
};
|
|
2450
|
+
type SlackReactionsAddInput = {
|
|
2451
|
+
body: {
|
|
2452
|
+
channel: string;
|
|
2453
|
+
name: string;
|
|
2454
|
+
timestamp: string;
|
|
2455
|
+
[key: string]: unknown;
|
|
2456
|
+
};
|
|
2457
|
+
};
|
|
2458
|
+
type SlackReactionsAddOutput = {
|
|
2459
|
+
ok: OutputdefsOkTrue;
|
|
2460
|
+
[key: string]: unknown;
|
|
2461
|
+
};
|
|
2462
|
+
type SlackReactionsGetInput = {
|
|
2463
|
+
query?: {
|
|
2464
|
+
channel?: string;
|
|
2465
|
+
file?: string;
|
|
2466
|
+
file_comment?: string;
|
|
2467
|
+
full?: boolean;
|
|
2468
|
+
timestamp?: string;
|
|
2469
|
+
};
|
|
2470
|
+
};
|
|
2471
|
+
type SlackReactionsGetOutput = unknown;
|
|
2472
|
+
type SlackReactionsListInput = {
|
|
2473
|
+
query?: {
|
|
2474
|
+
count?: number;
|
|
2475
|
+
cursor?: string;
|
|
2476
|
+
full?: boolean;
|
|
2477
|
+
limit?: number;
|
|
2478
|
+
page?: number;
|
|
2479
|
+
team_id?: string;
|
|
2480
|
+
user?: string;
|
|
2481
|
+
};
|
|
2482
|
+
};
|
|
2483
|
+
type SlackReactionsListOutput = {
|
|
2484
|
+
items?: Array<{
|
|
2485
|
+
channel?: OutputdefsChannel;
|
|
2486
|
+
message?: OutputobjsMessage;
|
|
2487
|
+
type?: string;
|
|
2488
|
+
[key: string]: unknown;
|
|
2489
|
+
} | {
|
|
2490
|
+
file?: OutputobjsFile;
|
|
2491
|
+
type?: string;
|
|
2492
|
+
[key: string]: unknown;
|
|
2493
|
+
} | {
|
|
2494
|
+
comment?: OutputobjsComment;
|
|
2495
|
+
file?: OutputobjsFile;
|
|
2496
|
+
type?: string;
|
|
2497
|
+
[key: string]: unknown;
|
|
2498
|
+
}>;
|
|
2499
|
+
ok: OutputdefsOkTrue;
|
|
2500
|
+
paging?: OutputobjsPaging;
|
|
2501
|
+
response_metadata?: OutputobjsResponseMetadata;
|
|
2502
|
+
[key: string]: unknown;
|
|
2503
|
+
};
|
|
2504
|
+
type SlackReactionsRemoveInput = {
|
|
2505
|
+
body: {
|
|
2506
|
+
channel?: string;
|
|
2507
|
+
file?: string;
|
|
2508
|
+
file_comment?: string;
|
|
2509
|
+
name: string;
|
|
2510
|
+
timestamp?: string;
|
|
2511
|
+
[key: string]: unknown;
|
|
2512
|
+
};
|
|
2513
|
+
};
|
|
2514
|
+
type SlackReactionsRemoveOutput = {
|
|
2515
|
+
ok: OutputdefsOkTrue;
|
|
2516
|
+
[key: string]: unknown;
|
|
2517
|
+
};
|
|
2518
|
+
type SlackTeamInfoInput = {
|
|
2519
|
+
query?: {
|
|
2520
|
+
domain?: string;
|
|
2521
|
+
team?: string;
|
|
2522
|
+
};
|
|
2523
|
+
};
|
|
2524
|
+
type SlackTeamInfoOutput = {
|
|
2525
|
+
ok: OutputdefsOkTrue;
|
|
2526
|
+
team?: OutputobjsTeam;
|
|
2527
|
+
[key: string]: unknown;
|
|
2528
|
+
};
|
|
2529
|
+
type SlackTeamProfileGetInput = {
|
|
2530
|
+
query?: {
|
|
2531
|
+
visibility?: string;
|
|
2532
|
+
};
|
|
2533
|
+
};
|
|
2534
|
+
type SlackTeamProfileGetOutput = {
|
|
2535
|
+
ok: OutputdefsOkTrue;
|
|
2536
|
+
profile?: {
|
|
2537
|
+
fields?: Array<OutputobjsTeamProfileField>;
|
|
2538
|
+
[key: string]: unknown;
|
|
2539
|
+
};
|
|
2540
|
+
[key: string]: unknown;
|
|
2541
|
+
};
|
|
2542
|
+
type SlackUsergroupsCreateInput = {
|
|
2543
|
+
body: {
|
|
2544
|
+
additional_channels?: string;
|
|
2545
|
+
channels?: string;
|
|
2546
|
+
description?: string;
|
|
2547
|
+
enable_section?: boolean;
|
|
2548
|
+
handle?: string;
|
|
2549
|
+
include_count?: boolean;
|
|
2550
|
+
name: string;
|
|
2551
|
+
team_id?: string;
|
|
2552
|
+
[key: string]: unknown;
|
|
2553
|
+
};
|
|
2554
|
+
};
|
|
2555
|
+
type SlackUsergroupsCreateOutput = {
|
|
2556
|
+
ok: OutputdefsOkTrue;
|
|
2557
|
+
usergroup?: OutputobjsSubteam;
|
|
2558
|
+
[key: string]: unknown;
|
|
2559
|
+
};
|
|
2560
|
+
type SlackUsergroupsDisableInput = {
|
|
2561
|
+
body: {
|
|
2562
|
+
include_count?: boolean;
|
|
2563
|
+
team_id?: string;
|
|
2564
|
+
usergroup: string;
|
|
2565
|
+
[key: string]: unknown;
|
|
2566
|
+
};
|
|
2567
|
+
};
|
|
2568
|
+
type SlackUsergroupsDisableOutput = {
|
|
2569
|
+
ok: OutputdefsOkTrue;
|
|
2570
|
+
usergroup?: OutputobjsSubteam;
|
|
2571
|
+
[key: string]: unknown;
|
|
2572
|
+
};
|
|
2573
|
+
type SlackUsergroupsEnableInput = {
|
|
2574
|
+
body: {
|
|
2575
|
+
include_count?: boolean;
|
|
2576
|
+
team_id?: string;
|
|
2577
|
+
usergroup: string;
|
|
2578
|
+
[key: string]: unknown;
|
|
2579
|
+
};
|
|
2580
|
+
};
|
|
2581
|
+
type SlackUsergroupsEnableOutput = {
|
|
2582
|
+
ok: OutputdefsOkTrue;
|
|
2583
|
+
usergroup?: OutputobjsSubteam;
|
|
2584
|
+
[key: string]: unknown;
|
|
2585
|
+
};
|
|
2586
|
+
type SlackUsergroupsListInput = {
|
|
2587
|
+
query?: {
|
|
2588
|
+
include_count?: boolean;
|
|
2589
|
+
include_disabled?: boolean;
|
|
2590
|
+
include_users?: boolean;
|
|
2591
|
+
team_id?: string;
|
|
2592
|
+
};
|
|
2593
|
+
};
|
|
2594
|
+
type SlackUsergroupsListOutput = {
|
|
2595
|
+
ok: OutputdefsOkTrue;
|
|
2596
|
+
usergroups?: Array<OutputobjsSubteam>;
|
|
2597
|
+
[key: string]: unknown;
|
|
2598
|
+
};
|
|
2599
|
+
type SlackUsergroupsUpdateInput = {
|
|
2600
|
+
body: {
|
|
2601
|
+
additional_channels?: string;
|
|
2602
|
+
channels?: string;
|
|
2603
|
+
description?: string;
|
|
2604
|
+
enable_section?: boolean;
|
|
2605
|
+
handle?: string;
|
|
2606
|
+
include_count?: boolean;
|
|
2607
|
+
name?: string;
|
|
2608
|
+
team_id?: string;
|
|
2609
|
+
usergroup: string;
|
|
2610
|
+
[key: string]: unknown;
|
|
2611
|
+
};
|
|
2612
|
+
};
|
|
2613
|
+
type SlackUsergroupsUpdateOutput = {
|
|
2614
|
+
ok: OutputdefsOkTrue;
|
|
2615
|
+
usergroup?: OutputobjsSubteam;
|
|
2616
|
+
[key: string]: unknown;
|
|
2617
|
+
};
|
|
2618
|
+
type SlackUsergroupsUsersListInput = {
|
|
2619
|
+
query: {
|
|
2620
|
+
include_disabled?: boolean;
|
|
2621
|
+
team_id?: string;
|
|
2622
|
+
usergroup: string;
|
|
2623
|
+
};
|
|
2624
|
+
};
|
|
2625
|
+
type SlackUsergroupsUsersListOutput = {
|
|
2626
|
+
ok: OutputdefsOkTrue;
|
|
2627
|
+
users?: Array<OutputdefsUserId>;
|
|
2628
|
+
[key: string]: unknown;
|
|
2629
|
+
};
|
|
2630
|
+
type SlackUsergroupsUsersUpdateInput = {
|
|
2631
|
+
body: {
|
|
2632
|
+
additional_channels?: string;
|
|
2633
|
+
include_count?: boolean;
|
|
2634
|
+
is_shared?: boolean;
|
|
2635
|
+
team_id?: string;
|
|
2636
|
+
usergroup: string;
|
|
2637
|
+
users: string;
|
|
2638
|
+
[key: string]: unknown;
|
|
2639
|
+
};
|
|
2640
|
+
};
|
|
2641
|
+
type SlackUsergroupsUsersUpdateOutput = {
|
|
2642
|
+
ok: OutputdefsOkTrue;
|
|
2643
|
+
usergroup?: OutputobjsSubteam;
|
|
2644
|
+
[key: string]: unknown;
|
|
2645
|
+
};
|
|
2646
|
+
type SlackUsersConversationsInput = {
|
|
2647
|
+
query?: {
|
|
2648
|
+
cursor?: string;
|
|
2649
|
+
exclude_archived?: boolean;
|
|
2650
|
+
exclude_muted?: boolean;
|
|
2651
|
+
limit?: number;
|
|
2652
|
+
team_id?: string;
|
|
2653
|
+
types?: string;
|
|
2654
|
+
user?: string;
|
|
2655
|
+
};
|
|
2656
|
+
};
|
|
2657
|
+
type SlackUsersConversationsOutput = {
|
|
2658
|
+
channels?: Array<OutputobjsConversation>;
|
|
2659
|
+
ok: OutputdefsOkTrue;
|
|
2660
|
+
response_metadata?: {
|
|
2661
|
+
next_cursor?: string;
|
|
2662
|
+
[key: string]: unknown;
|
|
2663
|
+
};
|
|
2664
|
+
[key: string]: unknown;
|
|
2665
|
+
};
|
|
2666
|
+
type SlackUsersGetpresenceInput = {
|
|
2667
|
+
query?: {
|
|
2668
|
+
user?: string;
|
|
2669
|
+
};
|
|
2670
|
+
};
|
|
2671
|
+
type SlackUsersGetpresenceOutput = {
|
|
2672
|
+
auto_away?: boolean;
|
|
2673
|
+
connection_count?: number | string;
|
|
2674
|
+
last_activity?: number | string;
|
|
2675
|
+
manual_away?: boolean;
|
|
2676
|
+
ok: OutputdefsOkTrue;
|
|
2677
|
+
online?: boolean;
|
|
2678
|
+
presence?: string;
|
|
2679
|
+
[key: string]: unknown;
|
|
2680
|
+
};
|
|
2681
|
+
type SlackUsersInfoInput = {
|
|
2682
|
+
query?: {
|
|
2683
|
+
include_locale?: boolean;
|
|
2684
|
+
user?: string;
|
|
2685
|
+
};
|
|
2686
|
+
};
|
|
2687
|
+
type SlackUsersInfoOutput = {
|
|
2688
|
+
ok: OutputdefsOkTrue;
|
|
2689
|
+
user?: OutputobjsUser;
|
|
2690
|
+
[key: string]: unknown;
|
|
2691
|
+
};
|
|
2692
|
+
type SlackUsersListInput = {
|
|
2693
|
+
query?: {
|
|
2694
|
+
cursor?: string;
|
|
2695
|
+
include_locale?: boolean;
|
|
2696
|
+
limit?: number;
|
|
2697
|
+
team_id?: string;
|
|
2698
|
+
};
|
|
2699
|
+
};
|
|
2700
|
+
type SlackUsersListOutput = {
|
|
2701
|
+
cache_ts?: number | string;
|
|
2702
|
+
members?: Array<OutputobjsUser>;
|
|
2703
|
+
ok: OutputdefsOkTrue;
|
|
2704
|
+
response_metadata?: OutputobjsResponseMetadata;
|
|
2705
|
+
[key: string]: unknown;
|
|
2706
|
+
};
|
|
2707
|
+
type SlackUsersLookupbyemailInput = {
|
|
2708
|
+
query: {
|
|
2709
|
+
email: string;
|
|
2710
|
+
};
|
|
2711
|
+
};
|
|
2712
|
+
type SlackUsersLookupbyemailOutput = {
|
|
2713
|
+
ok: OutputdefsOkTrue;
|
|
2714
|
+
user?: OutputobjsUser;
|
|
2715
|
+
[key: string]: unknown;
|
|
2716
|
+
};
|
|
2717
|
+
type SlackUsersProfileGetInput = {
|
|
2718
|
+
query?: {
|
|
2719
|
+
include_labels?: boolean;
|
|
2720
|
+
user?: string;
|
|
2721
|
+
};
|
|
2722
|
+
};
|
|
2723
|
+
type SlackUsersProfileGetOutput = {
|
|
2724
|
+
ok: OutputdefsOkTrue;
|
|
2725
|
+
profile?: OutputobjsUserProfile;
|
|
2726
|
+
[key: string]: unknown;
|
|
2727
|
+
};
|
|
2728
|
+
type SlackUsersSetpresenceInput = {
|
|
2729
|
+
body: {
|
|
2730
|
+
presence: string;
|
|
2731
|
+
[key: string]: unknown;
|
|
2732
|
+
};
|
|
2733
|
+
};
|
|
2734
|
+
type SlackUsersSetpresenceOutput = {
|
|
2735
|
+
ok: OutputdefsOkTrue;
|
|
2736
|
+
[key: string]: unknown;
|
|
2737
|
+
};
|
|
2738
|
+
type SlackViewsOpenInput = {
|
|
2739
|
+
body: {
|
|
2740
|
+
interactivity_pointer?: string;
|
|
2741
|
+
trigger_id?: string;
|
|
2742
|
+
view: string;
|
|
2743
|
+
[key: string]: unknown;
|
|
2744
|
+
};
|
|
2745
|
+
};
|
|
2746
|
+
type SlackViewsOpenOutput = {
|
|
2747
|
+
ok: OutputdefsOkTrue;
|
|
2748
|
+
[key: string]: unknown;
|
|
2749
|
+
};
|
|
2750
|
+
type SlackViewsPublishInput = {
|
|
2751
|
+
body: {
|
|
2752
|
+
hash?: string;
|
|
2753
|
+
user_id: string;
|
|
2754
|
+
view: string;
|
|
2755
|
+
[key: string]: unknown;
|
|
2756
|
+
};
|
|
2757
|
+
};
|
|
2758
|
+
type SlackViewsPublishOutput = {
|
|
2759
|
+
ok: OutputdefsOkTrue;
|
|
2760
|
+
[key: string]: unknown;
|
|
2761
|
+
};
|
|
2762
|
+
type SlackViewsPushInput = {
|
|
2763
|
+
body: {
|
|
2764
|
+
interactivity_pointer?: string;
|
|
2765
|
+
trigger_id?: string;
|
|
2766
|
+
view: string;
|
|
2767
|
+
[key: string]: unknown;
|
|
2768
|
+
};
|
|
2769
|
+
};
|
|
2770
|
+
type SlackViewsPushOutput = {
|
|
2771
|
+
ok: OutputdefsOkTrue;
|
|
2772
|
+
[key: string]: unknown;
|
|
2773
|
+
};
|
|
2774
|
+
type SlackViewsUpdateInput = {
|
|
2775
|
+
body: {
|
|
2776
|
+
external_id?: string;
|
|
2777
|
+
hash?: string;
|
|
2778
|
+
view: string;
|
|
2779
|
+
view_id?: string;
|
|
2780
|
+
[key: string]: unknown;
|
|
2781
|
+
};
|
|
2782
|
+
};
|
|
2783
|
+
type SlackViewsUpdateOutput = {
|
|
2784
|
+
ok: OutputdefsOkTrue;
|
|
2785
|
+
[key: string]: unknown;
|
|
2786
|
+
};
|
|
2787
|
+
type SlackResumedCall = (IntegrationCall<SlackApiTestOutput> & {
|
|
2788
|
+
readonly operation: "slack.api_test";
|
|
2789
|
+
}) | (IntegrationCall<SlackAuthTestOutput> & {
|
|
2790
|
+
readonly operation: "slack.auth_test";
|
|
2791
|
+
}) | (IntegrationCall<SlackBotsInfoOutput> & {
|
|
2792
|
+
readonly operation: "slack.bots_info";
|
|
2793
|
+
}) | (IntegrationCall<SlackCallsAddOutput> & {
|
|
2794
|
+
readonly operation: "slack.calls_add";
|
|
2795
|
+
}) | (IntegrationCall<SlackCallsEndOutput> & {
|
|
2796
|
+
readonly operation: "slack.calls_end";
|
|
2797
|
+
}) | (IntegrationCall<SlackCallsInfoOutput> & {
|
|
2798
|
+
readonly operation: "slack.calls_info";
|
|
2799
|
+
}) | (IntegrationCall<SlackCallsParticipantsAddOutput> & {
|
|
2800
|
+
readonly operation: "slack.calls_participants_add";
|
|
2801
|
+
}) | (IntegrationCall<SlackCallsParticipantsRemoveOutput> & {
|
|
2802
|
+
readonly operation: "slack.calls_participants_remove";
|
|
2803
|
+
}) | (IntegrationCall<SlackCallsUpdateOutput> & {
|
|
2804
|
+
readonly operation: "slack.calls_update";
|
|
2805
|
+
}) | (IntegrationCall<SlackChatDeleteOutput> & {
|
|
2806
|
+
readonly operation: "slack.chat_delete";
|
|
2807
|
+
}) | (IntegrationCall<SlackChatDeletescheduledmessageOutput> & {
|
|
2808
|
+
readonly operation: "slack.chat_deletescheduledmessage";
|
|
2809
|
+
}) | (IntegrationCall<SlackChatGetpermalinkOutput> & {
|
|
2810
|
+
readonly operation: "slack.chat_getpermalink";
|
|
2811
|
+
}) | (IntegrationCall<SlackChatMemessageOutput> & {
|
|
2812
|
+
readonly operation: "slack.chat_memessage";
|
|
2813
|
+
}) | (IntegrationCall<SlackChatPostephemeralOutput> & {
|
|
2814
|
+
readonly operation: "slack.chat_postephemeral";
|
|
2815
|
+
}) | (IntegrationCall<SlackChatPostmessageOutput> & {
|
|
2816
|
+
readonly operation: "slack.chat_postmessage";
|
|
2817
|
+
}) | (IntegrationCall<SlackChatScheduledmessagesListOutput> & {
|
|
2818
|
+
readonly operation: "slack.chat_scheduledmessages_list";
|
|
2819
|
+
}) | (IntegrationCall<SlackChatSchedulemessageOutput> & {
|
|
2820
|
+
readonly operation: "slack.chat_schedulemessage";
|
|
2821
|
+
}) | (IntegrationCall<SlackChatUnfurlOutput> & {
|
|
2822
|
+
readonly operation: "slack.chat_unfurl";
|
|
2823
|
+
}) | (IntegrationCall<SlackChatUpdateOutput> & {
|
|
2824
|
+
readonly operation: "slack.chat_update";
|
|
2825
|
+
}) | (IntegrationCall<SlackConversationsArchiveOutput> & {
|
|
2826
|
+
readonly operation: "slack.conversations_archive";
|
|
2827
|
+
}) | (IntegrationCall<SlackConversationsCloseOutput> & {
|
|
2828
|
+
readonly operation: "slack.conversations_close";
|
|
2829
|
+
}) | (IntegrationCall<SlackConversationsCreateOutput> & {
|
|
2830
|
+
readonly operation: "slack.conversations_create";
|
|
2831
|
+
}) | (IntegrationCall<SlackConversationsHistoryOutput> & {
|
|
2832
|
+
readonly operation: "slack.conversations_history";
|
|
2833
|
+
}) | (IntegrationCall<SlackConversationsInfoOutput> & {
|
|
2834
|
+
readonly operation: "slack.conversations_info";
|
|
2835
|
+
}) | (IntegrationCall<SlackConversationsInviteOutput> & {
|
|
2836
|
+
readonly operation: "slack.conversations_invite";
|
|
2837
|
+
}) | (IntegrationCall<SlackConversationsJoinOutput> & {
|
|
2838
|
+
readonly operation: "slack.conversations_join";
|
|
2839
|
+
}) | (IntegrationCall<SlackConversationsKickOutput> & {
|
|
2840
|
+
readonly operation: "slack.conversations_kick";
|
|
2841
|
+
}) | (IntegrationCall<SlackConversationsLeaveOutput> & {
|
|
2842
|
+
readonly operation: "slack.conversations_leave";
|
|
2843
|
+
}) | (IntegrationCall<SlackConversationsListOutput> & {
|
|
2844
|
+
readonly operation: "slack.conversations_list";
|
|
2845
|
+
}) | (IntegrationCall<SlackConversationsMarkOutput> & {
|
|
2846
|
+
readonly operation: "slack.conversations_mark";
|
|
2847
|
+
}) | (IntegrationCall<SlackConversationsMembersOutput> & {
|
|
2848
|
+
readonly operation: "slack.conversations_members";
|
|
2849
|
+
}) | (IntegrationCall<SlackConversationsOpenOutput> & {
|
|
2850
|
+
readonly operation: "slack.conversations_open";
|
|
2851
|
+
}) | (IntegrationCall<SlackConversationsRenameOutput> & {
|
|
2852
|
+
readonly operation: "slack.conversations_rename";
|
|
2853
|
+
}) | (IntegrationCall<SlackConversationsRepliesOutput> & {
|
|
2854
|
+
readonly operation: "slack.conversations_replies";
|
|
2855
|
+
}) | (IntegrationCall<SlackConversationsSetpurposeOutput> & {
|
|
2856
|
+
readonly operation: "slack.conversations_setpurpose";
|
|
2857
|
+
}) | (IntegrationCall<SlackConversationsSettopicOutput> & {
|
|
2858
|
+
readonly operation: "slack.conversations_settopic";
|
|
2859
|
+
}) | (IntegrationCall<SlackConversationsUnarchiveOutput> & {
|
|
2860
|
+
readonly operation: "slack.conversations_unarchive";
|
|
2861
|
+
}) | (IntegrationCall<SlackDialogOpenOutput> & {
|
|
2862
|
+
readonly operation: "slack.dialog_open";
|
|
2863
|
+
}) | (IntegrationCall<SlackDndInfoOutput> & {
|
|
2864
|
+
readonly operation: "slack.dnd_info";
|
|
2865
|
+
}) | (IntegrationCall<SlackDndTeaminfoOutput> & {
|
|
2866
|
+
readonly operation: "slack.dnd_teaminfo";
|
|
2867
|
+
}) | (IntegrationCall<SlackEmojiListOutput> & {
|
|
2868
|
+
readonly operation: "slack.emoji_list";
|
|
2869
|
+
}) | (IntegrationCall<SlackFilesCommentsDeleteOutput> & {
|
|
2870
|
+
readonly operation: "slack.files_comments_delete";
|
|
2871
|
+
}) | (IntegrationCall<SlackFilesDeleteOutput> & {
|
|
2872
|
+
readonly operation: "slack.files_delete";
|
|
2873
|
+
}) | (IntegrationCall<SlackFilesInfoOutput> & {
|
|
2874
|
+
readonly operation: "slack.files_info";
|
|
2875
|
+
}) | (IntegrationCall<SlackFilesListOutput> & {
|
|
2876
|
+
readonly operation: "slack.files_list";
|
|
2877
|
+
}) | (IntegrationCall<SlackFilesRemoteAddOutput> & {
|
|
2878
|
+
readonly operation: "slack.files_remote_add";
|
|
2879
|
+
}) | (IntegrationCall<SlackFilesRemoteInfoOutput> & {
|
|
2880
|
+
readonly operation: "slack.files_remote_info";
|
|
2881
|
+
}) | (IntegrationCall<SlackFilesRemoteListOutput> & {
|
|
2882
|
+
readonly operation: "slack.files_remote_list";
|
|
2883
|
+
}) | (IntegrationCall<SlackFilesRemoteRemoveOutput> & {
|
|
2884
|
+
readonly operation: "slack.files_remote_remove";
|
|
2885
|
+
}) | (IntegrationCall<SlackFilesRemoteShareOutput> & {
|
|
2886
|
+
readonly operation: "slack.files_remote_share";
|
|
2887
|
+
}) | (IntegrationCall<SlackFilesRemoteUpdateOutput> & {
|
|
2888
|
+
readonly operation: "slack.files_remote_update";
|
|
2889
|
+
}) | (IntegrationCall<SlackFilesRevokepublicurlOutput> & {
|
|
2890
|
+
readonly operation: "slack.files_revokepublicurl";
|
|
2891
|
+
}) | (IntegrationCall<SlackMigrationExchangeOutput> & {
|
|
2892
|
+
readonly operation: "slack.migration_exchange";
|
|
2893
|
+
}) | (IntegrationCall<SlackPinsAddOutput> & {
|
|
2894
|
+
readonly operation: "slack.pins_add";
|
|
2895
|
+
}) | (IntegrationCall<SlackPinsListOutput> & {
|
|
2896
|
+
readonly operation: "slack.pins_list";
|
|
2897
|
+
}) | (IntegrationCall<SlackPinsRemoveOutput> & {
|
|
2898
|
+
readonly operation: "slack.pins_remove";
|
|
2899
|
+
}) | (IntegrationCall<SlackReactionsAddOutput> & {
|
|
2900
|
+
readonly operation: "slack.reactions_add";
|
|
2901
|
+
}) | (IntegrationCall<SlackReactionsGetOutput> & {
|
|
2902
|
+
readonly operation: "slack.reactions_get";
|
|
2903
|
+
}) | (IntegrationCall<SlackReactionsListOutput> & {
|
|
2904
|
+
readonly operation: "slack.reactions_list";
|
|
2905
|
+
}) | (IntegrationCall<SlackReactionsRemoveOutput> & {
|
|
2906
|
+
readonly operation: "slack.reactions_remove";
|
|
2907
|
+
}) | (IntegrationCall<SlackTeamInfoOutput> & {
|
|
2908
|
+
readonly operation: "slack.team_info";
|
|
2909
|
+
}) | (IntegrationCall<SlackTeamProfileGetOutput> & {
|
|
2910
|
+
readonly operation: "slack.team_profile_get";
|
|
2911
|
+
}) | (IntegrationCall<SlackUsergroupsCreateOutput> & {
|
|
2912
|
+
readonly operation: "slack.usergroups_create";
|
|
2913
|
+
}) | (IntegrationCall<SlackUsergroupsDisableOutput> & {
|
|
2914
|
+
readonly operation: "slack.usergroups_disable";
|
|
2915
|
+
}) | (IntegrationCall<SlackUsergroupsEnableOutput> & {
|
|
2916
|
+
readonly operation: "slack.usergroups_enable";
|
|
2917
|
+
}) | (IntegrationCall<SlackUsergroupsListOutput> & {
|
|
2918
|
+
readonly operation: "slack.usergroups_list";
|
|
2919
|
+
}) | (IntegrationCall<SlackUsergroupsUpdateOutput> & {
|
|
2920
|
+
readonly operation: "slack.usergroups_update";
|
|
2921
|
+
}) | (IntegrationCall<SlackUsergroupsUsersListOutput> & {
|
|
2922
|
+
readonly operation: "slack.usergroups_users_list";
|
|
2923
|
+
}) | (IntegrationCall<SlackUsergroupsUsersUpdateOutput> & {
|
|
2924
|
+
readonly operation: "slack.usergroups_users_update";
|
|
2925
|
+
}) | (IntegrationCall<SlackUsersConversationsOutput> & {
|
|
2926
|
+
readonly operation: "slack.users_conversations";
|
|
2927
|
+
}) | (IntegrationCall<SlackUsersGetpresenceOutput> & {
|
|
2928
|
+
readonly operation: "slack.users_getpresence";
|
|
2929
|
+
}) | (IntegrationCall<SlackUsersInfoOutput> & {
|
|
2930
|
+
readonly operation: "slack.users_info";
|
|
2931
|
+
}) | (IntegrationCall<SlackUsersListOutput> & {
|
|
2932
|
+
readonly operation: "slack.users_list";
|
|
2933
|
+
}) | (IntegrationCall<SlackUsersLookupbyemailOutput> & {
|
|
2934
|
+
readonly operation: "slack.users_lookupbyemail";
|
|
2935
|
+
}) | (IntegrationCall<SlackUsersProfileGetOutput> & {
|
|
2936
|
+
readonly operation: "slack.users_profile_get";
|
|
2937
|
+
}) | (IntegrationCall<SlackUsersSetpresenceOutput> & {
|
|
2938
|
+
readonly operation: "slack.users_setpresence";
|
|
2939
|
+
}) | (IntegrationCall<SlackViewsOpenOutput> & {
|
|
2940
|
+
readonly operation: "slack.views_open";
|
|
2941
|
+
}) | (IntegrationCall<SlackViewsPublishOutput> & {
|
|
2942
|
+
readonly operation: "slack.views_publish";
|
|
2943
|
+
}) | (IntegrationCall<SlackViewsPushOutput> & {
|
|
2944
|
+
readonly operation: "slack.views_push";
|
|
2945
|
+
}) | (IntegrationCall<SlackViewsUpdateOutput> & {
|
|
2946
|
+
readonly operation: "slack.views_update";
|
|
2947
|
+
});
|
|
2948
|
+
declare class SlackApi {
|
|
2949
|
+
#private;
|
|
2950
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
2951
|
+
/** Checks API calling code. Source: https://docs.slack.dev/reference/methods/api.test */
|
|
2952
|
+
test(input?: SlackApiTestInput): Promise<IntegrationCall<SlackApiTestOutput>>;
|
|
2953
|
+
}
|
|
2954
|
+
declare class SlackAuth {
|
|
2955
|
+
#private;
|
|
2956
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
2957
|
+
/** Checks authentication & identity. Source: https://docs.slack.dev/reference/methods/auth.test */
|
|
2958
|
+
test(input?: SlackAuthTestInput): Promise<IntegrationCall<SlackAuthTestOutput>>;
|
|
2959
|
+
}
|
|
2960
|
+
declare class SlackBots {
|
|
2961
|
+
#private;
|
|
2962
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
2963
|
+
/** Gets information about a bot user. Source: https://docs.slack.dev/reference/methods/bots.info */
|
|
2964
|
+
info(input?: SlackBotsInfoInput): Promise<IntegrationCall<SlackBotsInfoOutput>>;
|
|
2965
|
+
}
|
|
2966
|
+
declare class SlackCalls {
|
|
2967
|
+
#private;
|
|
2968
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
2969
|
+
/** Registers a new Call. Source: https://docs.slack.dev/reference/methods/calls.add */
|
|
2970
|
+
add(input: SlackCallsAddInput): Promise<IntegrationCall<SlackCallsAddOutput>>;
|
|
2971
|
+
/** Ends a Call. Source: https://docs.slack.dev/reference/methods/calls.end */
|
|
2972
|
+
end(input: SlackCallsEndInput): Promise<IntegrationCall<SlackCallsEndOutput>>;
|
|
2973
|
+
/** Returns information about a Call. Source: https://docs.slack.dev/reference/methods/calls.info */
|
|
2974
|
+
info(input: SlackCallsInfoInput): Promise<IntegrationCall<SlackCallsInfoOutput>>;
|
|
2975
|
+
/** Updates information about a Call. Source: https://docs.slack.dev/reference/methods/calls.update */
|
|
2976
|
+
update(input: SlackCallsUpdateInput): Promise<IntegrationCall<SlackCallsUpdateOutput>>;
|
|
2977
|
+
}
|
|
2978
|
+
declare class SlackCallsParticipants {
|
|
2979
|
+
#private;
|
|
2980
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
2981
|
+
/** Registers new participants added to a Call. Source: https://docs.slack.dev/reference/methods/calls.participants.add */
|
|
2982
|
+
add(input: SlackCallsParticipantsAddInput): Promise<IntegrationCall<SlackCallsParticipantsAddOutput>>;
|
|
2983
|
+
/** Registers participants removed from a Call. Source: https://docs.slack.dev/reference/methods/calls.participants.remove */
|
|
2984
|
+
remove(input: SlackCallsParticipantsRemoveInput): Promise<IntegrationCall<SlackCallsParticipantsRemoveOutput>>;
|
|
2985
|
+
}
|
|
2986
|
+
declare class SlackChat {
|
|
2987
|
+
#private;
|
|
2988
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
2989
|
+
/** Deletes a message. Source: https://docs.slack.dev/reference/methods/chat.delete */
|
|
2990
|
+
delete(input: SlackChatDeleteInput): Promise<IntegrationCall<SlackChatDeleteOutput>>;
|
|
2991
|
+
/** Deletes a pending scheduled message from the queue. Source: https://docs.slack.dev/reference/methods/chat.deleteScheduledMessage */
|
|
2992
|
+
deleteScheduledMessage(input: SlackChatDeletescheduledmessageInput): Promise<IntegrationCall<SlackChatDeletescheduledmessageOutput>>;
|
|
2993
|
+
/** Retrieve a permalink URL for a specific extant message. Source: https://docs.slack.dev/reference/methods/chat.getPermalink */
|
|
2994
|
+
getPermalink(input: SlackChatGetpermalinkInput): Promise<IntegrationCall<SlackChatGetpermalinkOutput>>;
|
|
2995
|
+
/** Share a me message into a channel. Source: https://docs.slack.dev/reference/methods/chat.meMessage */
|
|
2996
|
+
meMessage(input: SlackChatMemessageInput): Promise<IntegrationCall<SlackChatMemessageOutput>>;
|
|
2997
|
+
/** Sends an ephemeral message to a user in a channel. Source: https://docs.slack.dev/reference/methods/chat.postEphemeral */
|
|
2998
|
+
postEphemeral(input: SlackChatPostephemeralInput): Promise<IntegrationCall<SlackChatPostephemeralOutput>>;
|
|
2999
|
+
/** Sends a message to a channel. Source: https://docs.slack.dev/reference/methods/chat.postMessage */
|
|
3000
|
+
postMessage(input: SlackChatPostmessageInput): Promise<IntegrationCall<SlackChatPostmessageOutput>>;
|
|
3001
|
+
/** Schedules a message to be sent to a channel. Source: https://docs.slack.dev/reference/methods/chat.scheduleMessage */
|
|
3002
|
+
scheduleMessage(input: SlackChatSchedulemessageInput): Promise<IntegrationCall<SlackChatSchedulemessageOutput>>;
|
|
3003
|
+
/** Provide custom unfurl behavior for user-posted URLs. Source: https://docs.slack.dev/reference/methods/chat.unfurl */
|
|
3004
|
+
unfurl(input?: SlackChatUnfurlInput): Promise<IntegrationCall<SlackChatUnfurlOutput>>;
|
|
3005
|
+
/** Updates a message. Source: https://docs.slack.dev/reference/methods/chat.update */
|
|
3006
|
+
update(input: SlackChatUpdateInput): Promise<IntegrationCall<SlackChatUpdateOutput>>;
|
|
3007
|
+
}
|
|
3008
|
+
declare class SlackChatScheduledMessages {
|
|
3009
|
+
#private;
|
|
3010
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
3011
|
+
/** Returns a list of scheduled messages. Source: https://docs.slack.dev/reference/methods/chat.scheduledMessages.list */
|
|
3012
|
+
list(input?: SlackChatScheduledmessagesListInput): Promise<IntegrationCall<SlackChatScheduledmessagesListOutput>>;
|
|
3013
|
+
}
|
|
3014
|
+
declare class SlackConversations {
|
|
3015
|
+
#private;
|
|
3016
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
3017
|
+
/** Archives a conversation. Source: https://docs.slack.dev/reference/methods/conversations.archive */
|
|
3018
|
+
archive(input: SlackConversationsArchiveInput): Promise<IntegrationCall<SlackConversationsArchiveOutput>>;
|
|
3019
|
+
/** Closes a direct message or multi-person direct message. Source: https://docs.slack.dev/reference/methods/conversations.close */
|
|
3020
|
+
close(input: SlackConversationsCloseInput): Promise<IntegrationCall<SlackConversationsCloseOutput>>;
|
|
3021
|
+
/** Initiates a public or private channel-based conversation. Source: https://docs.slack.dev/reference/methods/conversations.create */
|
|
3022
|
+
create(input: SlackConversationsCreateInput): Promise<IntegrationCall<SlackConversationsCreateOutput>>;
|
|
3023
|
+
/** Fetches a conversation's history of messages and events. Source: https://docs.slack.dev/reference/methods/conversations.history */
|
|
3024
|
+
history(input: SlackConversationsHistoryInput): Promise<IntegrationCall<SlackConversationsHistoryOutput>>;
|
|
3025
|
+
/** Retrieve information about a conversation. Source: https://docs.slack.dev/reference/methods/conversations.info */
|
|
3026
|
+
info(input: SlackConversationsInfoInput): Promise<IntegrationCall<SlackConversationsInfoOutput>>;
|
|
3027
|
+
/** Invites users to a channel. Source: https://docs.slack.dev/reference/methods/conversations.invite */
|
|
3028
|
+
invite(input: SlackConversationsInviteInput): Promise<IntegrationCall<SlackConversationsInviteOutput>>;
|
|
3029
|
+
/** Joins an existing conversation. Source: https://docs.slack.dev/reference/methods/conversations.join */
|
|
3030
|
+
join(input: SlackConversationsJoinInput): Promise<IntegrationCall<SlackConversationsJoinOutput>>;
|
|
3031
|
+
/** Removes a user from a conversation. Source: https://docs.slack.dev/reference/methods/conversations.kick */
|
|
3032
|
+
kick(input: SlackConversationsKickInput): Promise<IntegrationCall<SlackConversationsKickOutput>>;
|
|
3033
|
+
/** Leaves a conversation. Source: https://docs.slack.dev/reference/methods/conversations.leave */
|
|
3034
|
+
leave(input: SlackConversationsLeaveInput): Promise<IntegrationCall<SlackConversationsLeaveOutput>>;
|
|
3035
|
+
/** Lists all channels in a Slack team. Source: https://docs.slack.dev/reference/methods/conversations.list */
|
|
3036
|
+
list(input?: SlackConversationsListInput): Promise<IntegrationCall<SlackConversationsListOutput>>;
|
|
3037
|
+
/** Sets the read cursor in a channel. Source: https://docs.slack.dev/reference/methods/conversations.mark */
|
|
3038
|
+
mark(input: SlackConversationsMarkInput): Promise<IntegrationCall<SlackConversationsMarkOutput>>;
|
|
3039
|
+
/** Retrieve members of a conversation. Source: https://docs.slack.dev/reference/methods/conversations.members */
|
|
3040
|
+
members(input: SlackConversationsMembersInput): Promise<IntegrationCall<SlackConversationsMembersOutput>>;
|
|
3041
|
+
/** Opens or resumes a direct message or multi-person direct message. Source: https://docs.slack.dev/reference/methods/conversations.open */
|
|
3042
|
+
open(input?: SlackConversationsOpenInput): Promise<IntegrationCall<SlackConversationsOpenOutput>>;
|
|
3043
|
+
/** Renames a conversation. Source: https://docs.slack.dev/reference/methods/conversations.rename */
|
|
3044
|
+
rename(input: SlackConversationsRenameInput): Promise<IntegrationCall<SlackConversationsRenameOutput>>;
|
|
3045
|
+
/** Retrieve a thread of messages posted to a conversation. Source: https://docs.slack.dev/reference/methods/conversations.replies */
|
|
3046
|
+
replies(input: SlackConversationsRepliesInput): Promise<IntegrationCall<SlackConversationsRepliesOutput>>;
|
|
3047
|
+
/** Sets the channel description. Source: https://docs.slack.dev/reference/methods/conversations.setPurpose */
|
|
3048
|
+
setPurpose(input: SlackConversationsSetpurposeInput): Promise<IntegrationCall<SlackConversationsSetpurposeOutput>>;
|
|
3049
|
+
/** Sets the topic for a conversation. Source: https://docs.slack.dev/reference/methods/conversations.setTopic */
|
|
3050
|
+
setTopic(input: SlackConversationsSettopicInput): Promise<IntegrationCall<SlackConversationsSettopicOutput>>;
|
|
3051
|
+
/** Reverses conversation archival. Source: https://docs.slack.dev/reference/methods/conversations.unarchive */
|
|
3052
|
+
unarchive(input: SlackConversationsUnarchiveInput): Promise<IntegrationCall<SlackConversationsUnarchiveOutput>>;
|
|
3053
|
+
}
|
|
3054
|
+
declare class SlackDialog {
|
|
3055
|
+
#private;
|
|
3056
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
3057
|
+
/** Open a dialog with a user. Source: https://docs.slack.dev/reference/methods/dialog.open */
|
|
3058
|
+
open(input: SlackDialogOpenInput): Promise<IntegrationCall<SlackDialogOpenOutput>>;
|
|
3059
|
+
}
|
|
3060
|
+
declare class SlackDnd {
|
|
3061
|
+
#private;
|
|
3062
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
3063
|
+
/** Retrieves a user's current Do Not Disturb status. Source: https://docs.slack.dev/reference/methods/dnd.info */
|
|
3064
|
+
info(input?: SlackDndInfoInput): Promise<IntegrationCall<SlackDndInfoOutput>>;
|
|
3065
|
+
/** Retrieves the Do Not Disturb status for up to 50 users on a team. Source: https://docs.slack.dev/reference/methods/dnd.teamInfo */
|
|
3066
|
+
teamInfo(input: SlackDndTeaminfoInput): Promise<IntegrationCall<SlackDndTeaminfoOutput>>;
|
|
3067
|
+
}
|
|
3068
|
+
declare class SlackEmoji {
|
|
3069
|
+
#private;
|
|
3070
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
3071
|
+
/** Lists custom emoji for a team. Source: https://docs.slack.dev/reference/methods/emoji.list */
|
|
3072
|
+
list(input?: SlackEmojiListInput): Promise<IntegrationCall<SlackEmojiListOutput>>;
|
|
3073
|
+
}
|
|
3074
|
+
declare class SlackFiles {
|
|
3075
|
+
#private;
|
|
3076
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
3077
|
+
/** Deletes a file. Source: https://docs.slack.dev/reference/methods/files.delete */
|
|
3078
|
+
delete(input: SlackFilesDeleteInput): Promise<IntegrationCall<SlackFilesDeleteOutput>>;
|
|
3079
|
+
/** Gets information about a file. Source: https://docs.slack.dev/reference/methods/files.info */
|
|
3080
|
+
info(input: SlackFilesInfoInput): Promise<IntegrationCall<SlackFilesInfoOutput>>;
|
|
3081
|
+
/** List for a team, in a channel, or from a user with applied filters. Source: https://docs.slack.dev/reference/methods/files.list */
|
|
3082
|
+
list(input?: SlackFilesListInput): Promise<IntegrationCall<SlackFilesListOutput>>;
|
|
3083
|
+
/** Revokes public/external sharing access for a file. Source: https://docs.slack.dev/reference/methods/files.revokePublicURL */
|
|
3084
|
+
revokePublicUrl(input: SlackFilesRevokepublicurlInput): Promise<IntegrationCall<SlackFilesRevokepublicurlOutput>>;
|
|
3085
|
+
}
|
|
3086
|
+
declare class SlackFilesComments {
|
|
3087
|
+
#private;
|
|
3088
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
3089
|
+
/** Deletes an existing comment on a file. Source: https://docs.slack.dev/reference/methods/files.comments.delete */
|
|
3090
|
+
delete(input: SlackFilesCommentsDeleteInput): Promise<IntegrationCall<SlackFilesCommentsDeleteOutput>>;
|
|
3091
|
+
}
|
|
3092
|
+
declare class SlackFilesRemote {
|
|
3093
|
+
#private;
|
|
3094
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
3095
|
+
/** Adds a file from a remote service. Source: https://docs.slack.dev/reference/methods/files.remote.add */
|
|
3096
|
+
add(input: SlackFilesRemoteAddInput): Promise<IntegrationCall<SlackFilesRemoteAddOutput>>;
|
|
3097
|
+
/** Retrieve information about a remote file added to Slack. Source: https://docs.slack.dev/reference/methods/files.remote.info */
|
|
3098
|
+
info(input?: SlackFilesRemoteInfoInput): Promise<IntegrationCall<SlackFilesRemoteInfoOutput>>;
|
|
3099
|
+
/** Retrieve information about a remote file added to Slack. Source: https://docs.slack.dev/reference/methods/files.remote.list */
|
|
3100
|
+
list(input?: SlackFilesRemoteListInput): Promise<IntegrationCall<SlackFilesRemoteListOutput>>;
|
|
3101
|
+
/** Remove a remote file. Source: https://docs.slack.dev/reference/methods/files.remote.remove */
|
|
3102
|
+
remove(input?: SlackFilesRemoteRemoveInput): Promise<IntegrationCall<SlackFilesRemoteRemoveOutput>>;
|
|
3103
|
+
/** Share a remote file into a channel. Source: https://docs.slack.dev/reference/methods/files.remote.share */
|
|
3104
|
+
share(input: SlackFilesRemoteShareInput): Promise<IntegrationCall<SlackFilesRemoteShareOutput>>;
|
|
3105
|
+
/** Updates an existing remote file. Source: https://docs.slack.dev/reference/methods/files.remote.update */
|
|
3106
|
+
update(input?: SlackFilesRemoteUpdateInput): Promise<IntegrationCall<SlackFilesRemoteUpdateOutput>>;
|
|
3107
|
+
}
|
|
3108
|
+
declare class SlackMigration {
|
|
3109
|
+
#private;
|
|
3110
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
3111
|
+
/** For Enterprise organization workspaces, map local user IDs to global user IDs. Source: https://docs.slack.dev/reference/methods/migration.exchange */
|
|
3112
|
+
exchange(input: SlackMigrationExchangeInput): Promise<IntegrationCall<SlackMigrationExchangeOutput>>;
|
|
3113
|
+
}
|
|
3114
|
+
declare class SlackPins {
|
|
3115
|
+
#private;
|
|
3116
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
3117
|
+
/** Pins an item to a channel. Source: https://docs.slack.dev/reference/methods/pins.add */
|
|
3118
|
+
add(input: SlackPinsAddInput): Promise<IntegrationCall<SlackPinsAddOutput>>;
|
|
3119
|
+
/** Lists items pinned to a channel. Source: https://docs.slack.dev/reference/methods/pins.list */
|
|
3120
|
+
list(input: SlackPinsListInput): Promise<IntegrationCall<SlackPinsListOutput>>;
|
|
3121
|
+
/** Un-pins an item from a channel. Source: https://docs.slack.dev/reference/methods/pins.remove */
|
|
3122
|
+
remove(input: SlackPinsRemoveInput): Promise<IntegrationCall<SlackPinsRemoveOutput>>;
|
|
3123
|
+
}
|
|
3124
|
+
declare class SlackReactions {
|
|
3125
|
+
#private;
|
|
3126
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
3127
|
+
/** Adds a reaction to an item. Source: https://docs.slack.dev/reference/methods/reactions.add */
|
|
3128
|
+
add(input: SlackReactionsAddInput): Promise<IntegrationCall<SlackReactionsAddOutput>>;
|
|
3129
|
+
/** Gets reactions for an item. Source: https://docs.slack.dev/reference/methods/reactions.get */
|
|
3130
|
+
get(input?: SlackReactionsGetInput): Promise<IntegrationCall<SlackReactionsGetOutput>>;
|
|
3131
|
+
/** Lists reactions made by a user. Source: https://docs.slack.dev/reference/methods/reactions.list */
|
|
3132
|
+
list(input?: SlackReactionsListInput): Promise<IntegrationCall<SlackReactionsListOutput>>;
|
|
3133
|
+
/** Removes a reaction from an item. Source: https://docs.slack.dev/reference/methods/reactions.remove */
|
|
3134
|
+
remove(input: SlackReactionsRemoveInput): Promise<IntegrationCall<SlackReactionsRemoveOutput>>;
|
|
3135
|
+
}
|
|
3136
|
+
declare class SlackTeam {
|
|
3137
|
+
#private;
|
|
3138
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
3139
|
+
/** Gets information about the current team. Source: https://docs.slack.dev/reference/methods/team.info */
|
|
3140
|
+
info(input?: SlackTeamInfoInput): Promise<IntegrationCall<SlackTeamInfoOutput>>;
|
|
3141
|
+
}
|
|
3142
|
+
declare class SlackTeamProfile {
|
|
3143
|
+
#private;
|
|
3144
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
3145
|
+
/** Retrieve a team's profile. Source: https://docs.slack.dev/reference/methods/team.profile.get */
|
|
3146
|
+
get(input?: SlackTeamProfileGetInput): Promise<IntegrationCall<SlackTeamProfileGetOutput>>;
|
|
3147
|
+
}
|
|
3148
|
+
declare class SlackUsergroups {
|
|
3149
|
+
#private;
|
|
3150
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
3151
|
+
/** Create a User Group. Source: https://docs.slack.dev/reference/methods/usergroups.create */
|
|
3152
|
+
create(input: SlackUsergroupsCreateInput): Promise<IntegrationCall<SlackUsergroupsCreateOutput>>;
|
|
3153
|
+
/** Disable an existing User Group. Source: https://docs.slack.dev/reference/methods/usergroups.disable */
|
|
3154
|
+
disable(input: SlackUsergroupsDisableInput): Promise<IntegrationCall<SlackUsergroupsDisableOutput>>;
|
|
3155
|
+
/** Enable a User Group. Source: https://docs.slack.dev/reference/methods/usergroups.enable */
|
|
3156
|
+
enable(input: SlackUsergroupsEnableInput): Promise<IntegrationCall<SlackUsergroupsEnableOutput>>;
|
|
3157
|
+
/** List all User Groups for a team. Source: https://docs.slack.dev/reference/methods/usergroups.list */
|
|
3158
|
+
list(input?: SlackUsergroupsListInput): Promise<IntegrationCall<SlackUsergroupsListOutput>>;
|
|
3159
|
+
/** Update an existing User Group. Source: https://docs.slack.dev/reference/methods/usergroups.update */
|
|
3160
|
+
update(input: SlackUsergroupsUpdateInput): Promise<IntegrationCall<SlackUsergroupsUpdateOutput>>;
|
|
3161
|
+
}
|
|
3162
|
+
declare class SlackUsergroupsUsers {
|
|
3163
|
+
#private;
|
|
3164
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
3165
|
+
/** List all users in a User Group. Source: https://docs.slack.dev/reference/methods/usergroups.users.list */
|
|
3166
|
+
list(input: SlackUsergroupsUsersListInput): Promise<IntegrationCall<SlackUsergroupsUsersListOutput>>;
|
|
3167
|
+
/** Update the list of users for a user group. Source: https://docs.slack.dev/reference/methods/usergroups.users.update */
|
|
3168
|
+
update(input: SlackUsergroupsUsersUpdateInput): Promise<IntegrationCall<SlackUsergroupsUsersUpdateOutput>>;
|
|
3169
|
+
}
|
|
3170
|
+
declare class SlackUsers {
|
|
3171
|
+
#private;
|
|
3172
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
3173
|
+
/** List conversations the calling user is a member of. Source: https://docs.slack.dev/reference/methods/users.conversations */
|
|
3174
|
+
conversations(input?: SlackUsersConversationsInput): Promise<IntegrationCall<SlackUsersConversationsOutput>>;
|
|
3175
|
+
/** Gets user presence information. Source: https://docs.slack.dev/reference/methods/users.getPresence */
|
|
3176
|
+
getPresence(input?: SlackUsersGetpresenceInput): Promise<IntegrationCall<SlackUsersGetpresenceOutput>>;
|
|
3177
|
+
/** Gets information about a user. Source: https://docs.slack.dev/reference/methods/users.info */
|
|
3178
|
+
info(input?: SlackUsersInfoInput): Promise<IntegrationCall<SlackUsersInfoOutput>>;
|
|
3179
|
+
/** Lists all users in a Slack team. Source: https://docs.slack.dev/reference/methods/users.list */
|
|
3180
|
+
list(input?: SlackUsersListInput): Promise<IntegrationCall<SlackUsersListOutput>>;
|
|
3181
|
+
/** Find a user with an email address. Source: https://docs.slack.dev/reference/methods/users.lookupByEmail */
|
|
3182
|
+
lookupByEmail(input: SlackUsersLookupbyemailInput): Promise<IntegrationCall<SlackUsersLookupbyemailOutput>>;
|
|
3183
|
+
/** Manually sets user presence. Source: https://docs.slack.dev/reference/methods/users.setPresence */
|
|
3184
|
+
setPresence(input: SlackUsersSetpresenceInput): Promise<IntegrationCall<SlackUsersSetpresenceOutput>>;
|
|
3185
|
+
}
|
|
3186
|
+
declare class SlackUsersProfile {
|
|
3187
|
+
#private;
|
|
3188
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
3189
|
+
/** Retrieve a user's profile information, including their custom status. Source: https://docs.slack.dev/reference/methods/users.profile.get */
|
|
3190
|
+
get(input?: SlackUsersProfileGetInput): Promise<IntegrationCall<SlackUsersProfileGetOutput>>;
|
|
3191
|
+
}
|
|
3192
|
+
declare class SlackViews {
|
|
3193
|
+
#private;
|
|
3194
|
+
constructor(client: IntegrationClient, connection: IntegrationConnection);
|
|
3195
|
+
/** Open a view for a user. Source: https://docs.slack.dev/reference/methods/views.open */
|
|
3196
|
+
open(input: SlackViewsOpenInput): Promise<IntegrationCall<SlackViewsOpenOutput>>;
|
|
3197
|
+
/** Publish a static view for a User. Source: https://docs.slack.dev/reference/methods/views.publish */
|
|
3198
|
+
publish(input: SlackViewsPublishInput): Promise<IntegrationCall<SlackViewsPublishOutput>>;
|
|
3199
|
+
/** Push a view onto the stack of a root view. Source: https://docs.slack.dev/reference/methods/views.push */
|
|
3200
|
+
push(input: SlackViewsPushInput): Promise<IntegrationCall<SlackViewsPushOutput>>;
|
|
3201
|
+
/** Update an existing view. Source: https://docs.slack.dev/reference/methods/views.update */
|
|
3202
|
+
update(input: SlackViewsUpdateInput): Promise<IntegrationCall<SlackViewsUpdateOutput>>;
|
|
3203
|
+
}
|
|
3204
|
+
declare class SlackIntegration {
|
|
3205
|
+
#private;
|
|
3206
|
+
readonly api: SlackApi;
|
|
3207
|
+
readonly auth: SlackAuth;
|
|
3208
|
+
readonly bots: SlackBots;
|
|
3209
|
+
readonly calls: SlackCalls;
|
|
3210
|
+
readonly callsParticipants: SlackCallsParticipants;
|
|
3211
|
+
readonly chat: SlackChat;
|
|
3212
|
+
readonly chatScheduledMessages: SlackChatScheduledMessages;
|
|
3213
|
+
readonly conversations: SlackConversations;
|
|
3214
|
+
readonly dialog: SlackDialog;
|
|
3215
|
+
readonly dnd: SlackDnd;
|
|
3216
|
+
readonly emoji: SlackEmoji;
|
|
3217
|
+
readonly files: SlackFiles;
|
|
3218
|
+
readonly filesComments: SlackFilesComments;
|
|
3219
|
+
readonly filesRemote: SlackFilesRemote;
|
|
3220
|
+
readonly migration: SlackMigration;
|
|
3221
|
+
readonly pins: SlackPins;
|
|
3222
|
+
readonly reactions: SlackReactions;
|
|
3223
|
+
readonly team: SlackTeam;
|
|
3224
|
+
readonly teamProfile: SlackTeamProfile;
|
|
3225
|
+
readonly usergroups: SlackUsergroups;
|
|
3226
|
+
readonly usergroupsUsers: SlackUsergroupsUsers;
|
|
3227
|
+
readonly users: SlackUsers;
|
|
3228
|
+
readonly usersProfile: SlackUsersProfile;
|
|
3229
|
+
readonly views: SlackViews;
|
|
3230
|
+
constructor(client: IntegrationClient, connection?: IntegrationConnection);
|
|
3231
|
+
resume(approvalId: string): Promise<SlackResumedCall>;
|
|
3232
|
+
}
|
|
3233
|
+
|
|
3234
|
+
declare const contractVersion = "2026-10-28";
|
|
3235
|
+
|
|
3236
|
+
export { type Blocks, type DefsAppId, type DefsBotId, type DefsChannel, type DefsChannelId, type DefsChannelName, type DefsCommentId, type DefsDmId, type DefsEnterpriseId, type DefsEnterpriseName, type DefsEnterpriseUserId, type DefsFileId, type DefsGroupId, type DefsOkFalse, type DefsOkTrue, type DefsOptionalAppId, type DefsPinnedInfo, type DefsReminderId, type DefsSubteamId, type DefsTeam, type DefsTopicPurposeCreator, type DefsTs, type DefsUserId, type DefsWorkspaceId, IntegrationCall, IntegrationResult, type ObjsBotProfile, type ObjsChannel, type ObjsComment, type ObjsComments, type ObjsConversation, type ObjsEnterpriseUser, type ObjsExternalOrgMigrations, type ObjsFile, type ObjsIcon, type ObjsMessage, type ObjsPaging, type ObjsPrimaryOwner, type ObjsReaction, type ObjsReminder, type ObjsResources, type ObjsResponseMetadata, type ObjsScopes, type ObjsSubteam, type ObjsTeam, type ObjsTeamProfileField, type ObjsTeamProfileFieldOption, type ObjsUser, type ObjsUserProfile, type ObjsUserProfileShort, type Outputblocks, type OutputdefsAppId, type OutputdefsBotId, type OutputdefsChannel, type OutputdefsChannelId, type OutputdefsChannelName, type OutputdefsCommentId, type OutputdefsDmId, type OutputdefsEnterpriseId, type OutputdefsEnterpriseName, type OutputdefsEnterpriseUserId, type OutputdefsFileId, type OutputdefsGroupId, type OutputdefsOkTrue, type OutputdefsOptionalAppId, type OutputdefsPinnedInfo, type OutputdefsSubteamId, type OutputdefsTeam, type OutputdefsTopicPurposeCreator, type OutputdefsTs, type OutputdefsUserId, type OutputdefsWorkspaceId, type OutputobjsBotProfile, type OutputobjsComment, type OutputobjsComments, type OutputobjsConversation, type OutputobjsEnterpriseUser, type OutputobjsExternalOrgMigrations, type OutputobjsFile, type OutputobjsIcon, type OutputobjsMessage, type OutputobjsPaging, type OutputobjsPrimaryOwner, type OutputobjsReaction, type OutputobjsResponseMetadata, type OutputobjsSubteam, type OutputobjsTeam, type OutputobjsTeamProfileField, type OutputobjsTeamProfileFieldOption, type OutputobjsUser, type OutputobjsUserProfile, type OutputobjsUserProfileShort, SlackApi, type SlackApiTestInput, type SlackApiTestOutput, SlackAuth, type SlackAuthTestInput, type SlackAuthTestOutput, SlackBots, type SlackBotsInfoInput, type SlackBotsInfoOutput, SlackCalls, type SlackCallsAddInput, type SlackCallsAddOutput, type SlackCallsEndInput, type SlackCallsEndOutput, type SlackCallsInfoInput, type SlackCallsInfoOutput, SlackCallsParticipants, type SlackCallsParticipantsAddInput, type SlackCallsParticipantsAddOutput, type SlackCallsParticipantsRemoveInput, type SlackCallsParticipantsRemoveOutput, type SlackCallsUpdateInput, type SlackCallsUpdateOutput, SlackChat, type SlackChatDeleteInput, type SlackChatDeleteOutput, type SlackChatDeletescheduledmessageInput, type SlackChatDeletescheduledmessageOutput, type SlackChatGetpermalinkInput, type SlackChatGetpermalinkOutput, type SlackChatMemessageInput, type SlackChatMemessageOutput, type SlackChatPostephemeralInput, type SlackChatPostephemeralOutput, type SlackChatPostmessageInput, type SlackChatPostmessageOutput, SlackChatScheduledMessages, type SlackChatScheduledmessagesListInput, type SlackChatScheduledmessagesListOutput, type SlackChatSchedulemessageInput, type SlackChatSchedulemessageOutput, type SlackChatUnfurlInput, type SlackChatUnfurlOutput, type SlackChatUpdateInput, type SlackChatUpdateOutput, SlackConversations, type SlackConversationsArchiveInput, type SlackConversationsArchiveOutput, type SlackConversationsCloseInput, type SlackConversationsCloseOutput, type SlackConversationsCreateInput, type SlackConversationsCreateOutput, type SlackConversationsHistoryInput, type SlackConversationsHistoryOutput, type SlackConversationsInfoInput, type SlackConversationsInfoOutput, type SlackConversationsInviteInput, type SlackConversationsInviteOutput, type SlackConversationsJoinInput, type SlackConversationsJoinOutput, type SlackConversationsKickInput, type SlackConversationsKickOutput, type SlackConversationsLeaveInput, type SlackConversationsLeaveOutput, type SlackConversationsListInput, type SlackConversationsListOutput, type SlackConversationsMarkInput, type SlackConversationsMarkOutput, type SlackConversationsMembersInput, type SlackConversationsMembersOutput, type SlackConversationsOpenInput, type SlackConversationsOpenOutput, type SlackConversationsRenameInput, type SlackConversationsRenameOutput, type SlackConversationsRepliesInput, type SlackConversationsRepliesOutput, type SlackConversationsSetpurposeInput, type SlackConversationsSetpurposeOutput, type SlackConversationsSettopicInput, type SlackConversationsSettopicOutput, type SlackConversationsUnarchiveInput, type SlackConversationsUnarchiveOutput, SlackDialog, type SlackDialogOpenInput, type SlackDialogOpenOutput, SlackDnd, type SlackDndInfoInput, type SlackDndInfoOutput, type SlackDndTeaminfoInput, type SlackDndTeaminfoOutput, SlackEmoji, type SlackEmojiListInput, type SlackEmojiListOutput, SlackFiles, SlackFilesComments, type SlackFilesCommentsDeleteInput, type SlackFilesCommentsDeleteOutput, type SlackFilesDeleteInput, type SlackFilesDeleteOutput, type SlackFilesInfoInput, type SlackFilesInfoOutput, type SlackFilesListInput, type SlackFilesListOutput, SlackFilesRemote, type SlackFilesRemoteAddInput, type SlackFilesRemoteAddOutput, type SlackFilesRemoteInfoInput, type SlackFilesRemoteInfoOutput, type SlackFilesRemoteListInput, type SlackFilesRemoteListOutput, type SlackFilesRemoteRemoveInput, type SlackFilesRemoteRemoveOutput, type SlackFilesRemoteShareInput, type SlackFilesRemoteShareOutput, type SlackFilesRemoteUpdateInput, type SlackFilesRemoteUpdateOutput, type SlackFilesRevokepublicurlInput, type SlackFilesRevokepublicurlOutput, SlackIntegration, SlackMigration, type SlackMigrationExchangeInput, type SlackMigrationExchangeOutput, SlackPins, type SlackPinsAddInput, type SlackPinsAddOutput, type SlackPinsListInput, type SlackPinsListOutput, type SlackPinsRemoveInput, type SlackPinsRemoveOutput, SlackReactions, type SlackReactionsAddInput, type SlackReactionsAddOutput, type SlackReactionsGetInput, type SlackReactionsGetOutput, type SlackReactionsListInput, type SlackReactionsListOutput, type SlackReactionsRemoveInput, type SlackReactionsRemoveOutput, type SlackResumedCall, SlackTeam, type SlackTeamInfoInput, type SlackTeamInfoOutput, SlackTeamProfile, type SlackTeamProfileGetInput, type SlackTeamProfileGetOutput, SlackUsergroups, type SlackUsergroupsCreateInput, type SlackUsergroupsCreateOutput, type SlackUsergroupsDisableInput, type SlackUsergroupsDisableOutput, type SlackUsergroupsEnableInput, type SlackUsergroupsEnableOutput, type SlackUsergroupsListInput, type SlackUsergroupsListOutput, type SlackUsergroupsUpdateInput, type SlackUsergroupsUpdateOutput, SlackUsergroupsUsers, type SlackUsergroupsUsersListInput, type SlackUsergroupsUsersListOutput, type SlackUsergroupsUsersUpdateInput, type SlackUsergroupsUsersUpdateOutput, SlackUsers, type SlackUsersConversationsInput, type SlackUsersConversationsOutput, type SlackUsersGetpresenceInput, type SlackUsersGetpresenceOutput, type SlackUsersInfoInput, type SlackUsersInfoOutput, type SlackUsersListInput, type SlackUsersListOutput, type SlackUsersLookupbyemailInput, type SlackUsersLookupbyemailOutput, SlackUsersProfile, type SlackUsersProfileGetInput, type SlackUsersProfileGetOutput, type SlackUsersSetpresenceInput, type SlackUsersSetpresenceOutput, SlackViews, type SlackViewsOpenInput, type SlackViewsOpenOutput, type SlackViewsPublishInput, type SlackViewsPublishOutput, type SlackViewsPushInput, type SlackViewsPushOutput, type SlackViewsUpdateInput, type SlackViewsUpdateOutput, contractVersion };
|