@mastra/slack 1.0.2 → 1.1.0
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/CHANGELOG.md +55 -0
- package/LICENSE.md +30 -0
- package/README.md +146 -0
- package/dist/index.cjs +5590 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +678 -0
- package/dist/index.d.ts +678 -0
- package/dist/index.js +5548 -5
- package/dist/index.js.map +1 -0
- package/package.json +53 -51
- package/dist/slack/src/client/index.d.ts +0 -3
- package/dist/slack/src/client/schemas.gen.d.ts +0 -2489
- package/dist/slack/src/client/service-comments.d.ts +0 -698
- package/dist/slack/src/client/services.gen.d.ts +0 -701
- package/dist/slack/src/client/types.gen.d.ts +0 -5883
- package/dist/slack/src/client/zodSchema.d.ts +0 -20843
- package/dist/slack/src/index.d.ts +0 -725
- package/dist/slack.cjs.development.js +0 -7469
- package/dist/slack.cjs.development.js.map +0 -1
- package/dist/slack.cjs.production.min.js +0 -2
- package/dist/slack.cjs.production.min.js.map +0 -1
- package/dist/slack.esm.js +0 -7465
- package/dist/slack.esm.js.map +0 -1
- package/src/Slack.test.ts +0 -57
- package/src/assets/slack.png +0 -0
- package/src/assets/slack.svg +0 -37
- package/src/client/index.ts +0 -4
- package/src/client/schemas.gen.ts +0 -2600
- package/src/client/service-comments.ts +0 -698
- package/src/client/services.gen.ts +0 -1853
- package/src/client/types.gen.ts +0 -6456
- package/src/client/zodSchema.ts +0 -6740
- package/src/index.ts +0 -359
|
@@ -1,2489 +0,0 @@
|
|
|
1
|
-
export declare const blocksSchema: {
|
|
2
|
-
readonly description: "This is a very loose definition, in the future, we'll populate this with deeper schema in this definition namespace.";
|
|
3
|
-
readonly items: {
|
|
4
|
-
readonly additionalProperties: true;
|
|
5
|
-
readonly properties: {
|
|
6
|
-
readonly type: {
|
|
7
|
-
readonly type: "string";
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
readonly required: readonly ["type"];
|
|
11
|
-
readonly type: "object";
|
|
12
|
-
};
|
|
13
|
-
readonly title: "Block Kit blocks";
|
|
14
|
-
readonly type: "array";
|
|
15
|
-
};
|
|
16
|
-
export declare const defs_app_idSchema: {
|
|
17
|
-
readonly pattern: "^A[A-Z0-9]{1,}$";
|
|
18
|
-
readonly title: "App ID";
|
|
19
|
-
readonly type: "string";
|
|
20
|
-
};
|
|
21
|
-
export declare const defs_bot_idSchema: {
|
|
22
|
-
readonly pattern: "^B[A-Z0-9]{8,}$";
|
|
23
|
-
readonly title: "Bot User ID";
|
|
24
|
-
readonly type: "string";
|
|
25
|
-
};
|
|
26
|
-
export declare const defs_channelSchema: {
|
|
27
|
-
readonly pattern: "^[CGD][A-Z0-9]{8,}$";
|
|
28
|
-
readonly title: "Channel-like conversation ID";
|
|
29
|
-
readonly type: "string";
|
|
30
|
-
};
|
|
31
|
-
export declare const defs_channel_idSchema: {
|
|
32
|
-
readonly pattern: "^[C][A-Z0-9]{2,}$";
|
|
33
|
-
readonly title: "Channel ID";
|
|
34
|
-
readonly type: "string";
|
|
35
|
-
};
|
|
36
|
-
export declare const defs_channel_nameSchema: {
|
|
37
|
-
readonly title: "Name of a channel";
|
|
38
|
-
readonly type: "string";
|
|
39
|
-
};
|
|
40
|
-
export declare const defs_comment_idSchema: {
|
|
41
|
-
readonly pattern: "^Fc[A-Z0-9]{8,}$";
|
|
42
|
-
readonly title: "File Comment ID";
|
|
43
|
-
readonly type: "string";
|
|
44
|
-
};
|
|
45
|
-
export declare const defs_dm_idSchema: {
|
|
46
|
-
readonly pattern: "^[D][A-Z0-9]{8,}$";
|
|
47
|
-
readonly title: "Direct Message Channel ID";
|
|
48
|
-
readonly type: "string";
|
|
49
|
-
};
|
|
50
|
-
export declare const defs_enterprise_idSchema: {
|
|
51
|
-
readonly pattern: "^[E][A-Z0-9]{8,}$";
|
|
52
|
-
readonly title: "Enterprise ID";
|
|
53
|
-
readonly type: "string";
|
|
54
|
-
};
|
|
55
|
-
export declare const defs_enterprise_nameSchema: {
|
|
56
|
-
readonly title: "Name of the enterprise org";
|
|
57
|
-
readonly type: "string";
|
|
58
|
-
};
|
|
59
|
-
export declare const defs_enterprise_user_idSchema: {
|
|
60
|
-
readonly pattern: "^[WU][A-Z0-9]{8,}$";
|
|
61
|
-
readonly title: "Enterprise User ID";
|
|
62
|
-
readonly type: "string";
|
|
63
|
-
};
|
|
64
|
-
export declare const defs_file_idSchema: {
|
|
65
|
-
readonly pattern: "^[F][A-Z0-9]{8,}$";
|
|
66
|
-
readonly title: "File ID";
|
|
67
|
-
readonly type: "string";
|
|
68
|
-
};
|
|
69
|
-
export declare const defs_group_idSchema: {
|
|
70
|
-
readonly pattern: "^[G][A-Z0-9]{8,}$";
|
|
71
|
-
readonly title: "Private Channel ID";
|
|
72
|
-
readonly type: "string";
|
|
73
|
-
};
|
|
74
|
-
export declare const defs_ok_falseSchema: {
|
|
75
|
-
readonly enum: readonly [false];
|
|
76
|
-
readonly title: "default failure response";
|
|
77
|
-
readonly type: "boolean";
|
|
78
|
-
};
|
|
79
|
-
export declare const defs_ok_trueSchema: {
|
|
80
|
-
readonly enum: readonly [true];
|
|
81
|
-
readonly title: "default success response";
|
|
82
|
-
readonly type: "boolean";
|
|
83
|
-
};
|
|
84
|
-
export declare const defs_optional_app_idSchema: {
|
|
85
|
-
readonly pattern: "^(A[A-Z0-9]{1,})?$";
|
|
86
|
-
readonly title: "App ID or empty string";
|
|
87
|
-
readonly type: "string";
|
|
88
|
-
};
|
|
89
|
-
export declare const defs_pinned_infoSchema: {
|
|
90
|
-
readonly additionalProperties: false;
|
|
91
|
-
readonly title: "Info for a pinned item";
|
|
92
|
-
readonly type: "object";
|
|
93
|
-
};
|
|
94
|
-
export declare const defs_reminder_idSchema: {
|
|
95
|
-
readonly pattern: "^Rm[A-Z0-9]{8,}$";
|
|
96
|
-
readonly title: "Reminder ID";
|
|
97
|
-
readonly type: "string";
|
|
98
|
-
};
|
|
99
|
-
export declare const defs_subteam_idSchema: {
|
|
100
|
-
readonly pattern: "^S[A-Z0-9]{2,}$";
|
|
101
|
-
readonly title: "Subteam ID";
|
|
102
|
-
readonly type: "string";
|
|
103
|
-
};
|
|
104
|
-
export declare const defs_teamSchema: {
|
|
105
|
-
readonly pattern: "^[T][A-Z0-9]{2,}$";
|
|
106
|
-
readonly title: "Team ID";
|
|
107
|
-
readonly type: "string";
|
|
108
|
-
};
|
|
109
|
-
export declare const defs_topic_purpose_creatorSchema: {
|
|
110
|
-
readonly pattern: "^[UW][A-Z0-9]{8,}$|^$";
|
|
111
|
-
readonly title: "User ID or empty string, used for topic and purpose creation";
|
|
112
|
-
readonly type: "string";
|
|
113
|
-
};
|
|
114
|
-
export declare const defs_tsSchema: {
|
|
115
|
-
readonly pattern: "^\\d{10}\\.\\d{6}$";
|
|
116
|
-
readonly title: "Timestamp in format 0123456789.012345";
|
|
117
|
-
readonly type: "string";
|
|
118
|
-
};
|
|
119
|
-
export declare const defs_user_idSchema: {
|
|
120
|
-
readonly pattern: "^[UW][A-Z0-9]{2,}$";
|
|
121
|
-
readonly title: "User ID";
|
|
122
|
-
readonly type: "string";
|
|
123
|
-
};
|
|
124
|
-
export declare const defs_workspace_idSchema: {
|
|
125
|
-
readonly pattern: "^[TE][A-Z0-9]{8,}$";
|
|
126
|
-
readonly title: "Team or Enterprise ID";
|
|
127
|
-
readonly type: "string";
|
|
128
|
-
};
|
|
129
|
-
export declare const objs_bot_profileSchema: {
|
|
130
|
-
readonly additionalProperties: false;
|
|
131
|
-
readonly properties: {
|
|
132
|
-
readonly app_id: {
|
|
133
|
-
readonly $ref: "#/components/schemas/defs_app_id";
|
|
134
|
-
};
|
|
135
|
-
readonly deleted: {
|
|
136
|
-
readonly type: "boolean";
|
|
137
|
-
};
|
|
138
|
-
readonly icons: {
|
|
139
|
-
readonly additionalProperties: false;
|
|
140
|
-
readonly properties: {
|
|
141
|
-
readonly image_36: {
|
|
142
|
-
readonly format: "uri";
|
|
143
|
-
readonly type: "string";
|
|
144
|
-
};
|
|
145
|
-
readonly image_48: {
|
|
146
|
-
readonly format: "uri";
|
|
147
|
-
readonly type: "string";
|
|
148
|
-
};
|
|
149
|
-
readonly image_72: {
|
|
150
|
-
readonly format: "uri";
|
|
151
|
-
readonly type: "string";
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
readonly required: readonly ["image_36", "image_48", "image_72"];
|
|
155
|
-
readonly type: "object";
|
|
156
|
-
};
|
|
157
|
-
readonly id: {
|
|
158
|
-
readonly $ref: "#/components/schemas/defs_bot_id";
|
|
159
|
-
};
|
|
160
|
-
readonly name: {
|
|
161
|
-
readonly type: "string";
|
|
162
|
-
};
|
|
163
|
-
readonly team_id: {
|
|
164
|
-
readonly $ref: "#/components/schemas/defs_team";
|
|
165
|
-
};
|
|
166
|
-
readonly updated: {
|
|
167
|
-
readonly type: "integer";
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
readonly required: readonly ["id", "deleted", "name", "updated", "app_id", "icons", "team_id"];
|
|
171
|
-
readonly title: "Bot Profile Object";
|
|
172
|
-
readonly type: "object";
|
|
173
|
-
};
|
|
174
|
-
export declare const objs_channelSchema: {
|
|
175
|
-
readonly additionalProperties: false;
|
|
176
|
-
readonly properties: {
|
|
177
|
-
readonly accepted_user: {
|
|
178
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
179
|
-
};
|
|
180
|
-
readonly created: {
|
|
181
|
-
readonly type: "integer";
|
|
182
|
-
};
|
|
183
|
-
readonly creator: {
|
|
184
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
185
|
-
};
|
|
186
|
-
readonly id: {
|
|
187
|
-
readonly $ref: "#/components/schemas/defs_channel_id";
|
|
188
|
-
};
|
|
189
|
-
readonly is_archived: {
|
|
190
|
-
readonly type: "boolean";
|
|
191
|
-
};
|
|
192
|
-
readonly is_channel: {
|
|
193
|
-
readonly type: "boolean";
|
|
194
|
-
};
|
|
195
|
-
readonly is_frozen: {
|
|
196
|
-
readonly type: "boolean";
|
|
197
|
-
};
|
|
198
|
-
readonly is_general: {
|
|
199
|
-
readonly type: "boolean";
|
|
200
|
-
};
|
|
201
|
-
readonly is_member: {
|
|
202
|
-
readonly type: "boolean";
|
|
203
|
-
};
|
|
204
|
-
readonly is_moved: {
|
|
205
|
-
readonly type: "integer";
|
|
206
|
-
};
|
|
207
|
-
readonly is_mpim: {
|
|
208
|
-
readonly type: "boolean";
|
|
209
|
-
};
|
|
210
|
-
readonly is_non_threadable: {
|
|
211
|
-
readonly type: "boolean";
|
|
212
|
-
};
|
|
213
|
-
readonly is_org_shared: {
|
|
214
|
-
readonly type: "boolean";
|
|
215
|
-
};
|
|
216
|
-
readonly is_pending_ext_shared: {
|
|
217
|
-
readonly type: "boolean";
|
|
218
|
-
};
|
|
219
|
-
readonly is_private: {
|
|
220
|
-
readonly type: "boolean";
|
|
221
|
-
};
|
|
222
|
-
readonly is_read_only: {
|
|
223
|
-
readonly type: "boolean";
|
|
224
|
-
};
|
|
225
|
-
readonly is_shared: {
|
|
226
|
-
readonly type: "boolean";
|
|
227
|
-
};
|
|
228
|
-
readonly is_thread_only: {
|
|
229
|
-
readonly type: "boolean";
|
|
230
|
-
};
|
|
231
|
-
readonly last_read: {
|
|
232
|
-
readonly $ref: "#/components/schemas/defs_ts";
|
|
233
|
-
};
|
|
234
|
-
readonly latest: {
|
|
235
|
-
readonly items: {
|
|
236
|
-
readonly anyOf: readonly [{
|
|
237
|
-
readonly $ref: "#/components/schemas/objs_message";
|
|
238
|
-
}, {
|
|
239
|
-
readonly nullable: true;
|
|
240
|
-
}];
|
|
241
|
-
};
|
|
242
|
-
};
|
|
243
|
-
readonly members: {
|
|
244
|
-
readonly items: {
|
|
245
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
246
|
-
};
|
|
247
|
-
readonly minItems: 0;
|
|
248
|
-
readonly type: "array";
|
|
249
|
-
readonly uniqueItems: true;
|
|
250
|
-
};
|
|
251
|
-
readonly name: {
|
|
252
|
-
readonly type: "string";
|
|
253
|
-
};
|
|
254
|
-
readonly name_normalized: {
|
|
255
|
-
readonly type: "string";
|
|
256
|
-
};
|
|
257
|
-
readonly num_members: {
|
|
258
|
-
readonly type: "integer";
|
|
259
|
-
};
|
|
260
|
-
readonly pending_shared: {
|
|
261
|
-
readonly items: {
|
|
262
|
-
readonly $ref: "#/components/schemas/defs_team";
|
|
263
|
-
};
|
|
264
|
-
readonly minItems: 0;
|
|
265
|
-
readonly type: "array";
|
|
266
|
-
readonly uniqueItems: true;
|
|
267
|
-
};
|
|
268
|
-
readonly previous_names: {
|
|
269
|
-
readonly items: {
|
|
270
|
-
readonly $ref: "#/components/schemas/defs_channel_name";
|
|
271
|
-
};
|
|
272
|
-
readonly minItems: 0;
|
|
273
|
-
readonly type: "array";
|
|
274
|
-
readonly uniqueItems: true;
|
|
275
|
-
};
|
|
276
|
-
readonly priority: {
|
|
277
|
-
readonly type: "number";
|
|
278
|
-
};
|
|
279
|
-
readonly purpose: {
|
|
280
|
-
readonly additionalProperties: false;
|
|
281
|
-
readonly properties: {
|
|
282
|
-
readonly creator: {
|
|
283
|
-
readonly $ref: "#/components/schemas/defs_topic_purpose_creator";
|
|
284
|
-
};
|
|
285
|
-
readonly last_set: {
|
|
286
|
-
readonly type: "integer";
|
|
287
|
-
};
|
|
288
|
-
readonly value: {
|
|
289
|
-
readonly type: "string";
|
|
290
|
-
};
|
|
291
|
-
};
|
|
292
|
-
readonly required: readonly ["value", "creator", "last_set"];
|
|
293
|
-
readonly type: "object";
|
|
294
|
-
};
|
|
295
|
-
readonly topic: {
|
|
296
|
-
readonly additionalProperties: false;
|
|
297
|
-
readonly properties: {
|
|
298
|
-
readonly creator: {
|
|
299
|
-
readonly $ref: "#/components/schemas/defs_topic_purpose_creator";
|
|
300
|
-
};
|
|
301
|
-
readonly last_set: {
|
|
302
|
-
readonly type: "integer";
|
|
303
|
-
};
|
|
304
|
-
readonly value: {
|
|
305
|
-
readonly type: "string";
|
|
306
|
-
};
|
|
307
|
-
};
|
|
308
|
-
readonly required: readonly ["value", "creator", "last_set"];
|
|
309
|
-
readonly type: "object";
|
|
310
|
-
};
|
|
311
|
-
readonly unlinked: {
|
|
312
|
-
readonly title: "Field to determine whether a channel has ever been shared/disconnected in the past";
|
|
313
|
-
readonly type: "integer";
|
|
314
|
-
};
|
|
315
|
-
readonly unread_count: {
|
|
316
|
-
readonly type: "integer";
|
|
317
|
-
};
|
|
318
|
-
readonly unread_count_display: {
|
|
319
|
-
readonly type: "integer";
|
|
320
|
-
};
|
|
321
|
-
};
|
|
322
|
-
readonly required: readonly ["id", "name", "created", "creator", "is_channel", "is_org_shared", "is_private", "is_mpim", "is_shared", "name_normalized", "members", "topic", "purpose"];
|
|
323
|
-
readonly title: "Channel Object";
|
|
324
|
-
readonly type: "object";
|
|
325
|
-
};
|
|
326
|
-
export declare const objs_commentSchema: {
|
|
327
|
-
readonly additionalProperties: false;
|
|
328
|
-
readonly properties: {
|
|
329
|
-
readonly comment: {
|
|
330
|
-
readonly type: "string";
|
|
331
|
-
};
|
|
332
|
-
readonly created: {
|
|
333
|
-
readonly type: "integer";
|
|
334
|
-
};
|
|
335
|
-
readonly id: {
|
|
336
|
-
readonly $ref: "#/components/schemas/defs_comment_id";
|
|
337
|
-
};
|
|
338
|
-
readonly is_intro: {
|
|
339
|
-
readonly type: "boolean";
|
|
340
|
-
};
|
|
341
|
-
readonly is_starred: {
|
|
342
|
-
readonly type: "boolean";
|
|
343
|
-
};
|
|
344
|
-
readonly num_stars: {
|
|
345
|
-
readonly type: "integer";
|
|
346
|
-
};
|
|
347
|
-
readonly pinned_info: {
|
|
348
|
-
readonly $ref: "#/components/schemas/defs_pinned_info";
|
|
349
|
-
};
|
|
350
|
-
readonly pinned_to: {
|
|
351
|
-
readonly items: {
|
|
352
|
-
readonly $ref: "#/components/schemas/defs_channel";
|
|
353
|
-
};
|
|
354
|
-
readonly type: "array";
|
|
355
|
-
};
|
|
356
|
-
readonly reactions: {
|
|
357
|
-
readonly items: {
|
|
358
|
-
readonly $ref: "#/components/schemas/objs_reaction";
|
|
359
|
-
};
|
|
360
|
-
readonly type: "array";
|
|
361
|
-
};
|
|
362
|
-
readonly timestamp: {
|
|
363
|
-
readonly type: "integer";
|
|
364
|
-
};
|
|
365
|
-
readonly user: {
|
|
366
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
367
|
-
};
|
|
368
|
-
};
|
|
369
|
-
readonly required: readonly ["id", "created", "timestamp", "user", "is_intro", "comment"];
|
|
370
|
-
readonly title: "File Comment Object";
|
|
371
|
-
readonly type: "object";
|
|
372
|
-
};
|
|
373
|
-
export declare const objs_commentsSchema: {
|
|
374
|
-
readonly items: {};
|
|
375
|
-
readonly title: "file comments object";
|
|
376
|
-
readonly type: "array";
|
|
377
|
-
};
|
|
378
|
-
export declare const objs_conversationSchema: {
|
|
379
|
-
readonly items: {
|
|
380
|
-
readonly anyOf: readonly [{
|
|
381
|
-
readonly additionalProperties: false;
|
|
382
|
-
readonly properties: {
|
|
383
|
-
readonly accepted_user: {
|
|
384
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
385
|
-
};
|
|
386
|
-
readonly connected_team_ids: {
|
|
387
|
-
readonly items: {
|
|
388
|
-
readonly $ref: "#/components/schemas/defs_workspace_id";
|
|
389
|
-
};
|
|
390
|
-
readonly minItems: 0;
|
|
391
|
-
readonly type: "array";
|
|
392
|
-
readonly uniqueItems: true;
|
|
393
|
-
};
|
|
394
|
-
readonly conversation_host_id: {
|
|
395
|
-
readonly $ref: "#/components/schemas/defs_workspace_id";
|
|
396
|
-
};
|
|
397
|
-
readonly created: {
|
|
398
|
-
readonly type: "integer";
|
|
399
|
-
};
|
|
400
|
-
readonly creator: {
|
|
401
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
402
|
-
};
|
|
403
|
-
readonly display_counts: {
|
|
404
|
-
readonly additionalProperties: false;
|
|
405
|
-
readonly properties: {
|
|
406
|
-
readonly display_counts: {
|
|
407
|
-
readonly type: "integer";
|
|
408
|
-
};
|
|
409
|
-
readonly guest_counts: {
|
|
410
|
-
readonly type: "integer";
|
|
411
|
-
};
|
|
412
|
-
};
|
|
413
|
-
readonly required: readonly ["display_counts", "guest_counts"];
|
|
414
|
-
readonly type: "object";
|
|
415
|
-
};
|
|
416
|
-
readonly enterprise_id: {
|
|
417
|
-
readonly $ref: "#/components/schemas/defs_enterprise_id";
|
|
418
|
-
};
|
|
419
|
-
readonly has_pins: {
|
|
420
|
-
readonly type: "boolean";
|
|
421
|
-
};
|
|
422
|
-
readonly id: {
|
|
423
|
-
readonly $ref: "#/components/schemas/defs_channel";
|
|
424
|
-
};
|
|
425
|
-
readonly internal_team_ids: {
|
|
426
|
-
readonly items: {
|
|
427
|
-
readonly $ref: "#/components/schemas/defs_team";
|
|
428
|
-
};
|
|
429
|
-
readonly minItems: 0;
|
|
430
|
-
readonly type: "array";
|
|
431
|
-
readonly uniqueItems: true;
|
|
432
|
-
};
|
|
433
|
-
readonly is_archived: {
|
|
434
|
-
readonly type: "boolean";
|
|
435
|
-
};
|
|
436
|
-
readonly is_channel: {
|
|
437
|
-
readonly type: "boolean";
|
|
438
|
-
};
|
|
439
|
-
readonly is_ext_shared: {
|
|
440
|
-
readonly type: "boolean";
|
|
441
|
-
};
|
|
442
|
-
readonly is_frozen: {
|
|
443
|
-
readonly type: "boolean";
|
|
444
|
-
};
|
|
445
|
-
readonly is_general: {
|
|
446
|
-
readonly type: "boolean";
|
|
447
|
-
};
|
|
448
|
-
readonly is_global_shared: {
|
|
449
|
-
readonly type: "boolean";
|
|
450
|
-
};
|
|
451
|
-
readonly is_group: {
|
|
452
|
-
readonly type: "boolean";
|
|
453
|
-
};
|
|
454
|
-
readonly is_im: {
|
|
455
|
-
readonly type: "boolean";
|
|
456
|
-
};
|
|
457
|
-
readonly is_member: {
|
|
458
|
-
readonly type: "boolean";
|
|
459
|
-
};
|
|
460
|
-
readonly is_moved: {
|
|
461
|
-
readonly type: "integer";
|
|
462
|
-
};
|
|
463
|
-
readonly is_mpim: {
|
|
464
|
-
readonly enum: readonly [false];
|
|
465
|
-
readonly type: "boolean";
|
|
466
|
-
};
|
|
467
|
-
readonly is_non_threadable: {
|
|
468
|
-
readonly type: "boolean";
|
|
469
|
-
};
|
|
470
|
-
readonly is_open: {
|
|
471
|
-
readonly type: "boolean";
|
|
472
|
-
};
|
|
473
|
-
readonly is_org_default: {
|
|
474
|
-
readonly type: "boolean";
|
|
475
|
-
};
|
|
476
|
-
readonly is_org_mandatory: {
|
|
477
|
-
readonly type: "boolean";
|
|
478
|
-
};
|
|
479
|
-
readonly is_org_shared: {
|
|
480
|
-
readonly type: "boolean";
|
|
481
|
-
};
|
|
482
|
-
readonly is_pending_ext_shared: {
|
|
483
|
-
readonly type: "boolean";
|
|
484
|
-
};
|
|
485
|
-
readonly is_private: {
|
|
486
|
-
readonly type: "boolean";
|
|
487
|
-
};
|
|
488
|
-
readonly is_read_only: {
|
|
489
|
-
readonly type: "boolean";
|
|
490
|
-
};
|
|
491
|
-
readonly is_shared: {
|
|
492
|
-
readonly type: "boolean";
|
|
493
|
-
};
|
|
494
|
-
readonly is_starred: {
|
|
495
|
-
readonly type: "boolean";
|
|
496
|
-
};
|
|
497
|
-
readonly is_thread_only: {
|
|
498
|
-
readonly type: "boolean";
|
|
499
|
-
};
|
|
500
|
-
readonly last_read: {
|
|
501
|
-
readonly $ref: "#/components/schemas/defs_ts";
|
|
502
|
-
};
|
|
503
|
-
readonly latest: {
|
|
504
|
-
readonly items: {
|
|
505
|
-
readonly anyOf: readonly [{
|
|
506
|
-
readonly $ref: "#/components/schemas/objs_message";
|
|
507
|
-
}, {
|
|
508
|
-
readonly nullable: true;
|
|
509
|
-
}];
|
|
510
|
-
};
|
|
511
|
-
};
|
|
512
|
-
readonly members: {
|
|
513
|
-
readonly items: {
|
|
514
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
515
|
-
};
|
|
516
|
-
readonly minItems: 0;
|
|
517
|
-
readonly type: "array";
|
|
518
|
-
readonly uniqueItems: true;
|
|
519
|
-
};
|
|
520
|
-
readonly name: {
|
|
521
|
-
readonly type: "string";
|
|
522
|
-
};
|
|
523
|
-
readonly name_normalized: {
|
|
524
|
-
readonly type: "string";
|
|
525
|
-
};
|
|
526
|
-
readonly num_members: {
|
|
527
|
-
readonly type: "integer";
|
|
528
|
-
};
|
|
529
|
-
readonly parent_conversation: {
|
|
530
|
-
readonly items: {
|
|
531
|
-
readonly anyOf: readonly [{
|
|
532
|
-
readonly $ref: "#/components/schemas/defs_channel";
|
|
533
|
-
}, {
|
|
534
|
-
readonly nullable: true;
|
|
535
|
-
}];
|
|
536
|
-
};
|
|
537
|
-
};
|
|
538
|
-
readonly pending_connected_team_ids: {
|
|
539
|
-
readonly items: {
|
|
540
|
-
readonly $ref: "#/components/schemas/defs_team";
|
|
541
|
-
};
|
|
542
|
-
readonly minItems: 0;
|
|
543
|
-
readonly type: "array";
|
|
544
|
-
readonly uniqueItems: true;
|
|
545
|
-
};
|
|
546
|
-
readonly pending_shared: {
|
|
547
|
-
readonly items: {
|
|
548
|
-
readonly $ref: "#/components/schemas/defs_team";
|
|
549
|
-
};
|
|
550
|
-
readonly minItems: 0;
|
|
551
|
-
readonly type: "array";
|
|
552
|
-
readonly uniqueItems: true;
|
|
553
|
-
};
|
|
554
|
-
readonly pin_count: {
|
|
555
|
-
readonly type: "integer";
|
|
556
|
-
};
|
|
557
|
-
readonly previous_names: {
|
|
558
|
-
readonly items: {
|
|
559
|
-
readonly $ref: "#/components/schemas/defs_channel_name";
|
|
560
|
-
};
|
|
561
|
-
readonly minItems: 0;
|
|
562
|
-
readonly type: "array";
|
|
563
|
-
readonly uniqueItems: true;
|
|
564
|
-
};
|
|
565
|
-
readonly priority: {
|
|
566
|
-
readonly type: "number";
|
|
567
|
-
};
|
|
568
|
-
readonly purpose: {
|
|
569
|
-
readonly additionalProperties: false;
|
|
570
|
-
readonly properties: {
|
|
571
|
-
readonly creator: {
|
|
572
|
-
readonly $ref: "#/components/schemas/defs_topic_purpose_creator";
|
|
573
|
-
};
|
|
574
|
-
readonly last_set: {
|
|
575
|
-
readonly type: "integer";
|
|
576
|
-
};
|
|
577
|
-
readonly value: {
|
|
578
|
-
readonly type: "string";
|
|
579
|
-
};
|
|
580
|
-
};
|
|
581
|
-
readonly required: readonly ["value", "creator", "last_set"];
|
|
582
|
-
readonly type: "object";
|
|
583
|
-
};
|
|
584
|
-
readonly shared_team_ids: {
|
|
585
|
-
readonly items: {
|
|
586
|
-
readonly $ref: "#/components/schemas/defs_team";
|
|
587
|
-
};
|
|
588
|
-
readonly minItems: 0;
|
|
589
|
-
readonly type: "array";
|
|
590
|
-
readonly uniqueItems: true;
|
|
591
|
-
};
|
|
592
|
-
readonly shares: {
|
|
593
|
-
readonly items: {
|
|
594
|
-
readonly additionalProperties: false;
|
|
595
|
-
readonly properties: {
|
|
596
|
-
readonly accepted_user: {
|
|
597
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
598
|
-
};
|
|
599
|
-
readonly is_active: {
|
|
600
|
-
readonly type: "boolean";
|
|
601
|
-
};
|
|
602
|
-
readonly team: {
|
|
603
|
-
readonly $ref: "#/components/schemas/objs_team";
|
|
604
|
-
};
|
|
605
|
-
readonly user: {
|
|
606
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
607
|
-
};
|
|
608
|
-
};
|
|
609
|
-
readonly required: readonly ["team", "user", "is_active"];
|
|
610
|
-
readonly type: "object";
|
|
611
|
-
};
|
|
612
|
-
readonly minItems: 0;
|
|
613
|
-
readonly type: "array";
|
|
614
|
-
readonly uniqueItems: true;
|
|
615
|
-
};
|
|
616
|
-
readonly timezone_count: {
|
|
617
|
-
readonly type: "integer";
|
|
618
|
-
};
|
|
619
|
-
readonly topic: {
|
|
620
|
-
readonly additionalProperties: false;
|
|
621
|
-
readonly properties: {
|
|
622
|
-
readonly creator: {
|
|
623
|
-
readonly $ref: "#/components/schemas/defs_topic_purpose_creator";
|
|
624
|
-
};
|
|
625
|
-
readonly last_set: {
|
|
626
|
-
readonly type: "integer";
|
|
627
|
-
};
|
|
628
|
-
readonly value: {
|
|
629
|
-
readonly type: "string";
|
|
630
|
-
};
|
|
631
|
-
};
|
|
632
|
-
readonly required: readonly ["value", "creator", "last_set"];
|
|
633
|
-
readonly type: "object";
|
|
634
|
-
};
|
|
635
|
-
readonly unlinked: {
|
|
636
|
-
readonly title: "Field to determine whether a channel has ever been shared/disconnected in the past";
|
|
637
|
-
readonly type: "integer";
|
|
638
|
-
};
|
|
639
|
-
readonly unread_count: {
|
|
640
|
-
readonly type: "integer";
|
|
641
|
-
};
|
|
642
|
-
readonly unread_count_display: {
|
|
643
|
-
readonly type: "integer";
|
|
644
|
-
};
|
|
645
|
-
readonly use_case: {
|
|
646
|
-
readonly type: "string";
|
|
647
|
-
};
|
|
648
|
-
readonly user: {
|
|
649
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
650
|
-
};
|
|
651
|
-
readonly version: {
|
|
652
|
-
readonly type: "integer";
|
|
653
|
-
};
|
|
654
|
-
};
|
|
655
|
-
readonly required: readonly ["id", "name", "created", "creator", "is_archived", "is_channel", "is_general", "is_mpim", "is_group", "is_org_shared", "is_im", "is_shared", "is_private", "name_normalized", "topic", "purpose"];
|
|
656
|
-
readonly title: "Conversation object";
|
|
657
|
-
readonly type: "object";
|
|
658
|
-
}, {
|
|
659
|
-
readonly additionalProperties: false;
|
|
660
|
-
readonly properties: {
|
|
661
|
-
readonly accepted_user: {
|
|
662
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
663
|
-
};
|
|
664
|
-
readonly connected_team_ids: {
|
|
665
|
-
readonly items: {
|
|
666
|
-
readonly $ref: "#/components/schemas/defs_team";
|
|
667
|
-
};
|
|
668
|
-
readonly minItems: 0;
|
|
669
|
-
readonly type: "array";
|
|
670
|
-
readonly uniqueItems: true;
|
|
671
|
-
};
|
|
672
|
-
readonly conversation_host_id: {
|
|
673
|
-
readonly $ref: "#/components/schemas/defs_workspace_id";
|
|
674
|
-
};
|
|
675
|
-
readonly created: {
|
|
676
|
-
readonly type: "integer";
|
|
677
|
-
};
|
|
678
|
-
readonly creator: {
|
|
679
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
680
|
-
};
|
|
681
|
-
readonly display_counts: {
|
|
682
|
-
readonly additionalProperties: false;
|
|
683
|
-
readonly properties: {
|
|
684
|
-
readonly display_counts: {
|
|
685
|
-
readonly type: "integer";
|
|
686
|
-
};
|
|
687
|
-
readonly guest_counts: {
|
|
688
|
-
readonly type: "integer";
|
|
689
|
-
};
|
|
690
|
-
};
|
|
691
|
-
readonly required: readonly ["display_counts", "guest_counts"];
|
|
692
|
-
readonly type: "object";
|
|
693
|
-
};
|
|
694
|
-
readonly id: {
|
|
695
|
-
readonly $ref: "#/components/schemas/defs_channel";
|
|
696
|
-
};
|
|
697
|
-
readonly internal_team_ids: {
|
|
698
|
-
readonly items: {
|
|
699
|
-
readonly $ref: "#/components/schemas/defs_team";
|
|
700
|
-
};
|
|
701
|
-
readonly minItems: 0;
|
|
702
|
-
readonly type: "array";
|
|
703
|
-
readonly uniqueItems: true;
|
|
704
|
-
};
|
|
705
|
-
readonly is_archived: {
|
|
706
|
-
readonly type: "boolean";
|
|
707
|
-
};
|
|
708
|
-
readonly is_channel: {
|
|
709
|
-
readonly type: "boolean";
|
|
710
|
-
};
|
|
711
|
-
readonly is_ext_shared: {
|
|
712
|
-
readonly type: "boolean";
|
|
713
|
-
};
|
|
714
|
-
readonly is_frozen: {
|
|
715
|
-
readonly type: "boolean";
|
|
716
|
-
};
|
|
717
|
-
readonly is_general: {
|
|
718
|
-
readonly type: "boolean";
|
|
719
|
-
};
|
|
720
|
-
readonly is_group: {
|
|
721
|
-
readonly type: "boolean";
|
|
722
|
-
};
|
|
723
|
-
readonly is_im: {
|
|
724
|
-
readonly type: "boolean";
|
|
725
|
-
};
|
|
726
|
-
readonly is_member: {
|
|
727
|
-
readonly type: "boolean";
|
|
728
|
-
};
|
|
729
|
-
readonly is_moved: {
|
|
730
|
-
readonly type: "integer";
|
|
731
|
-
};
|
|
732
|
-
readonly is_mpim: {
|
|
733
|
-
readonly enum: readonly [true];
|
|
734
|
-
readonly type: "boolean";
|
|
735
|
-
};
|
|
736
|
-
readonly is_non_threadable: {
|
|
737
|
-
readonly type: "boolean";
|
|
738
|
-
};
|
|
739
|
-
readonly is_open: {
|
|
740
|
-
readonly type: "boolean";
|
|
741
|
-
};
|
|
742
|
-
readonly is_org_shared: {
|
|
743
|
-
readonly type: "boolean";
|
|
744
|
-
};
|
|
745
|
-
readonly is_pending_ext_shared: {
|
|
746
|
-
readonly type: "boolean";
|
|
747
|
-
};
|
|
748
|
-
readonly is_private: {
|
|
749
|
-
readonly type: "boolean";
|
|
750
|
-
};
|
|
751
|
-
readonly is_read_only: {
|
|
752
|
-
readonly type: "boolean";
|
|
753
|
-
};
|
|
754
|
-
readonly is_shared: {
|
|
755
|
-
readonly type: "boolean";
|
|
756
|
-
};
|
|
757
|
-
readonly is_starred: {
|
|
758
|
-
readonly type: "boolean";
|
|
759
|
-
};
|
|
760
|
-
readonly is_thread_only: {
|
|
761
|
-
readonly type: "boolean";
|
|
762
|
-
};
|
|
763
|
-
readonly last_read: {
|
|
764
|
-
readonly $ref: "#/components/schemas/defs_ts";
|
|
765
|
-
};
|
|
766
|
-
readonly latest: {
|
|
767
|
-
readonly items: {
|
|
768
|
-
readonly anyOf: readonly [{
|
|
769
|
-
readonly $ref: "#/components/schemas/objs_message";
|
|
770
|
-
}, {
|
|
771
|
-
readonly nullable: true;
|
|
772
|
-
}];
|
|
773
|
-
};
|
|
774
|
-
};
|
|
775
|
-
readonly members: {
|
|
776
|
-
readonly items: {
|
|
777
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
778
|
-
};
|
|
779
|
-
readonly minItems: 0;
|
|
780
|
-
readonly type: "array";
|
|
781
|
-
readonly uniqueItems: true;
|
|
782
|
-
};
|
|
783
|
-
readonly name: {
|
|
784
|
-
readonly type: "string";
|
|
785
|
-
};
|
|
786
|
-
readonly name_normalized: {
|
|
787
|
-
readonly type: "string";
|
|
788
|
-
};
|
|
789
|
-
readonly num_members: {
|
|
790
|
-
readonly type: "integer";
|
|
791
|
-
};
|
|
792
|
-
readonly parent_conversation: {
|
|
793
|
-
readonly items: {
|
|
794
|
-
readonly anyOf: readonly [{
|
|
795
|
-
readonly $ref: "#/components/schemas/defs_channel";
|
|
796
|
-
}, {
|
|
797
|
-
readonly nullable: true;
|
|
798
|
-
}];
|
|
799
|
-
};
|
|
800
|
-
};
|
|
801
|
-
readonly pending_connected_team_ids: {
|
|
802
|
-
readonly items: {
|
|
803
|
-
readonly $ref: "#/components/schemas/defs_team";
|
|
804
|
-
};
|
|
805
|
-
readonly minItems: 0;
|
|
806
|
-
readonly type: "array";
|
|
807
|
-
readonly uniqueItems: true;
|
|
808
|
-
};
|
|
809
|
-
readonly pending_shared: {
|
|
810
|
-
readonly items: {
|
|
811
|
-
readonly $ref: "#/components/schemas/defs_team";
|
|
812
|
-
};
|
|
813
|
-
readonly minItems: 0;
|
|
814
|
-
readonly type: "array";
|
|
815
|
-
readonly uniqueItems: true;
|
|
816
|
-
};
|
|
817
|
-
readonly pin_count: {
|
|
818
|
-
readonly type: "integer";
|
|
819
|
-
};
|
|
820
|
-
readonly previous_names: {
|
|
821
|
-
readonly items: {
|
|
822
|
-
readonly $ref: "#/components/schemas/defs_channel_name";
|
|
823
|
-
};
|
|
824
|
-
readonly minItems: 0;
|
|
825
|
-
readonly type: "array";
|
|
826
|
-
readonly uniqueItems: true;
|
|
827
|
-
};
|
|
828
|
-
readonly priority: {
|
|
829
|
-
readonly type: "number";
|
|
830
|
-
};
|
|
831
|
-
readonly purpose: {
|
|
832
|
-
readonly additionalProperties: false;
|
|
833
|
-
readonly properties: {
|
|
834
|
-
readonly creator: {
|
|
835
|
-
readonly $ref: "#/components/schemas/defs_topic_purpose_creator";
|
|
836
|
-
};
|
|
837
|
-
readonly last_set: {
|
|
838
|
-
readonly type: "integer";
|
|
839
|
-
};
|
|
840
|
-
readonly value: {
|
|
841
|
-
readonly type: "string";
|
|
842
|
-
};
|
|
843
|
-
};
|
|
844
|
-
readonly required: readonly ["value", "creator", "last_set"];
|
|
845
|
-
readonly type: "object";
|
|
846
|
-
};
|
|
847
|
-
readonly shared_team_ids: {
|
|
848
|
-
readonly items: {
|
|
849
|
-
readonly $ref: "#/components/schemas/defs_team";
|
|
850
|
-
};
|
|
851
|
-
readonly minItems: 0;
|
|
852
|
-
readonly type: "array";
|
|
853
|
-
readonly uniqueItems: true;
|
|
854
|
-
};
|
|
855
|
-
readonly shares: {
|
|
856
|
-
readonly items: {
|
|
857
|
-
readonly additionalProperties: false;
|
|
858
|
-
readonly properties: {
|
|
859
|
-
readonly accepted_user: {
|
|
860
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
861
|
-
};
|
|
862
|
-
readonly is_active: {
|
|
863
|
-
readonly type: "boolean";
|
|
864
|
-
};
|
|
865
|
-
readonly team: {
|
|
866
|
-
readonly $ref: "#/components/schemas/objs_team";
|
|
867
|
-
};
|
|
868
|
-
readonly user: {
|
|
869
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
870
|
-
};
|
|
871
|
-
};
|
|
872
|
-
readonly required: readonly ["team", "user", "is_active"];
|
|
873
|
-
readonly type: "object";
|
|
874
|
-
};
|
|
875
|
-
readonly minItems: 0;
|
|
876
|
-
readonly type: "array";
|
|
877
|
-
readonly uniqueItems: true;
|
|
878
|
-
};
|
|
879
|
-
readonly timezone_count: {
|
|
880
|
-
readonly type: "integer";
|
|
881
|
-
};
|
|
882
|
-
readonly topic: {
|
|
883
|
-
readonly additionalProperties: false;
|
|
884
|
-
readonly properties: {
|
|
885
|
-
readonly creator: {
|
|
886
|
-
readonly $ref: "#/components/schemas/defs_topic_purpose_creator";
|
|
887
|
-
};
|
|
888
|
-
readonly last_set: {
|
|
889
|
-
readonly type: "integer";
|
|
890
|
-
};
|
|
891
|
-
readonly value: {
|
|
892
|
-
readonly type: "string";
|
|
893
|
-
};
|
|
894
|
-
};
|
|
895
|
-
readonly required: readonly ["value", "creator", "last_set"];
|
|
896
|
-
readonly type: "object";
|
|
897
|
-
};
|
|
898
|
-
readonly unlinked: {
|
|
899
|
-
readonly title: "Field to determine whether a channel has ever been shared/disconnected in the past";
|
|
900
|
-
readonly type: "integer";
|
|
901
|
-
};
|
|
902
|
-
readonly unread_count: {
|
|
903
|
-
readonly type: "integer";
|
|
904
|
-
};
|
|
905
|
-
readonly unread_count_display: {
|
|
906
|
-
readonly type: "integer";
|
|
907
|
-
};
|
|
908
|
-
readonly user: {
|
|
909
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
910
|
-
};
|
|
911
|
-
readonly version: {
|
|
912
|
-
readonly type: "integer";
|
|
913
|
-
};
|
|
914
|
-
};
|
|
915
|
-
readonly required: readonly ["id", "name", "created", "creator", "is_archived", "is_channel", "is_general", "is_mpim", "is_group", "is_org_shared", "is_im", "is_shared", "is_private", "name_normalized", "topic", "purpose"];
|
|
916
|
-
readonly title: "Conversation MPIM Object";
|
|
917
|
-
readonly type: "object";
|
|
918
|
-
}, {
|
|
919
|
-
readonly additionalProperties: false;
|
|
920
|
-
readonly properties: {
|
|
921
|
-
readonly created: {
|
|
922
|
-
readonly type: "integer";
|
|
923
|
-
};
|
|
924
|
-
readonly has_pins: {
|
|
925
|
-
readonly type: "boolean";
|
|
926
|
-
};
|
|
927
|
-
readonly id: {
|
|
928
|
-
readonly $ref: "#/components/schemas/defs_dm_id";
|
|
929
|
-
};
|
|
930
|
-
readonly is_archived: {
|
|
931
|
-
readonly type: "boolean";
|
|
932
|
-
};
|
|
933
|
-
readonly is_ext_shared: {
|
|
934
|
-
readonly type: "boolean";
|
|
935
|
-
};
|
|
936
|
-
readonly is_frozen: {
|
|
937
|
-
readonly type: "boolean";
|
|
938
|
-
};
|
|
939
|
-
readonly is_im: {
|
|
940
|
-
readonly type: "boolean";
|
|
941
|
-
};
|
|
942
|
-
readonly is_open: {
|
|
943
|
-
readonly type: "boolean";
|
|
944
|
-
};
|
|
945
|
-
readonly is_org_shared: {
|
|
946
|
-
readonly type: "boolean";
|
|
947
|
-
};
|
|
948
|
-
readonly is_shared: {
|
|
949
|
-
readonly type: "boolean";
|
|
950
|
-
};
|
|
951
|
-
readonly is_starred: {
|
|
952
|
-
readonly type: "boolean";
|
|
953
|
-
};
|
|
954
|
-
readonly is_user_deleted: {
|
|
955
|
-
readonly type: "boolean";
|
|
956
|
-
};
|
|
957
|
-
readonly last_read: {
|
|
958
|
-
readonly $ref: "#/components/schemas/defs_ts";
|
|
959
|
-
};
|
|
960
|
-
readonly latest: {
|
|
961
|
-
readonly items: {
|
|
962
|
-
readonly anyOf: readonly [{
|
|
963
|
-
readonly $ref: "#/components/schemas/objs_message";
|
|
964
|
-
}, {
|
|
965
|
-
readonly nullable: true;
|
|
966
|
-
}];
|
|
967
|
-
};
|
|
968
|
-
};
|
|
969
|
-
readonly parent_conversation: {
|
|
970
|
-
readonly items: {
|
|
971
|
-
readonly anyOf: readonly [{
|
|
972
|
-
readonly $ref: "#/components/schemas/defs_channel";
|
|
973
|
-
}, {
|
|
974
|
-
readonly nullable: true;
|
|
975
|
-
}];
|
|
976
|
-
};
|
|
977
|
-
};
|
|
978
|
-
readonly pin_count: {
|
|
979
|
-
readonly type: "integer";
|
|
980
|
-
};
|
|
981
|
-
readonly priority: {
|
|
982
|
-
readonly type: "number";
|
|
983
|
-
};
|
|
984
|
-
readonly shares: {
|
|
985
|
-
readonly items: {
|
|
986
|
-
readonly additionalProperties: false;
|
|
987
|
-
readonly properties: {
|
|
988
|
-
readonly date_create: {
|
|
989
|
-
readonly type: "integer";
|
|
990
|
-
};
|
|
991
|
-
readonly id: {
|
|
992
|
-
readonly $ref: "#/components/schemas/defs_team";
|
|
993
|
-
};
|
|
994
|
-
readonly is_active: {
|
|
995
|
-
readonly type: "boolean";
|
|
996
|
-
};
|
|
997
|
-
readonly name: {
|
|
998
|
-
readonly type: "string";
|
|
999
|
-
};
|
|
1000
|
-
readonly team: {
|
|
1001
|
-
readonly $ref: "#/components/schemas/objs_team";
|
|
1002
|
-
};
|
|
1003
|
-
};
|
|
1004
|
-
readonly required: readonly ["id", "name", "team", "date_create", "is_active"];
|
|
1005
|
-
readonly type: "object";
|
|
1006
|
-
};
|
|
1007
|
-
readonly minItems: 0;
|
|
1008
|
-
readonly type: "array";
|
|
1009
|
-
readonly uniqueItems: true;
|
|
1010
|
-
};
|
|
1011
|
-
readonly unread_count: {
|
|
1012
|
-
readonly type: "integer";
|
|
1013
|
-
};
|
|
1014
|
-
readonly unread_count_display: {
|
|
1015
|
-
readonly type: "integer";
|
|
1016
|
-
};
|
|
1017
|
-
readonly user: {
|
|
1018
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
1019
|
-
};
|
|
1020
|
-
readonly version: {
|
|
1021
|
-
readonly type: "integer";
|
|
1022
|
-
};
|
|
1023
|
-
};
|
|
1024
|
-
readonly required: readonly ["id", "created", "is_im", "is_org_shared", "user", "priority"];
|
|
1025
|
-
readonly title: "Conversation IM Channel Object from conversations.* methods";
|
|
1026
|
-
readonly type: "object";
|
|
1027
|
-
}];
|
|
1028
|
-
};
|
|
1029
|
-
};
|
|
1030
|
-
export declare const objs_enterprise_userSchema: {
|
|
1031
|
-
readonly additionalProperties: false;
|
|
1032
|
-
readonly properties: {
|
|
1033
|
-
readonly enterprise_id: {
|
|
1034
|
-
readonly $ref: "#/components/schemas/defs_enterprise_id";
|
|
1035
|
-
};
|
|
1036
|
-
readonly enterprise_name: {
|
|
1037
|
-
readonly $ref: "#/components/schemas/defs_enterprise_name";
|
|
1038
|
-
};
|
|
1039
|
-
readonly id: {
|
|
1040
|
-
readonly $ref: "#/components/schemas/defs_enterprise_user_id";
|
|
1041
|
-
};
|
|
1042
|
-
readonly is_admin: {
|
|
1043
|
-
readonly type: "boolean";
|
|
1044
|
-
};
|
|
1045
|
-
readonly is_owner: {
|
|
1046
|
-
readonly type: "boolean";
|
|
1047
|
-
};
|
|
1048
|
-
readonly teams: {
|
|
1049
|
-
readonly items: {
|
|
1050
|
-
readonly $ref: "#/components/schemas/defs_team";
|
|
1051
|
-
};
|
|
1052
|
-
readonly type: "array";
|
|
1053
|
-
readonly uniqueItems: true;
|
|
1054
|
-
};
|
|
1055
|
-
};
|
|
1056
|
-
readonly required: readonly ["id", "enterprise_id", "enterprise_name", "is_admin", "is_owner", "teams"];
|
|
1057
|
-
readonly type: "object";
|
|
1058
|
-
};
|
|
1059
|
-
export declare const objs_external_org_migrationsSchema: {
|
|
1060
|
-
readonly properties: {
|
|
1061
|
-
readonly current: {
|
|
1062
|
-
readonly items: {
|
|
1063
|
-
readonly properties: {
|
|
1064
|
-
readonly date_started: {
|
|
1065
|
-
readonly type: "integer";
|
|
1066
|
-
};
|
|
1067
|
-
readonly team_id: {
|
|
1068
|
-
readonly type: "string";
|
|
1069
|
-
};
|
|
1070
|
-
};
|
|
1071
|
-
readonly required: readonly ["team_id", "date_started"];
|
|
1072
|
-
readonly type: "object";
|
|
1073
|
-
};
|
|
1074
|
-
readonly type: "array";
|
|
1075
|
-
};
|
|
1076
|
-
readonly date_updated: {
|
|
1077
|
-
readonly type: "integer";
|
|
1078
|
-
};
|
|
1079
|
-
};
|
|
1080
|
-
readonly required: readonly ["date_updated", "current"];
|
|
1081
|
-
readonly title: "External Org Migrations";
|
|
1082
|
-
readonly type: "object";
|
|
1083
|
-
};
|
|
1084
|
-
export declare const objs_fileSchema: {
|
|
1085
|
-
readonly additionalProperties: false;
|
|
1086
|
-
readonly properties: {
|
|
1087
|
-
readonly channels: {
|
|
1088
|
-
readonly items: {
|
|
1089
|
-
readonly $ref: "#/components/schemas/defs_channel_id";
|
|
1090
|
-
};
|
|
1091
|
-
readonly type: "array";
|
|
1092
|
-
readonly uniqueItems: true;
|
|
1093
|
-
};
|
|
1094
|
-
readonly comments_count: {
|
|
1095
|
-
readonly type: "integer";
|
|
1096
|
-
};
|
|
1097
|
-
readonly created: {
|
|
1098
|
-
readonly type: "integer";
|
|
1099
|
-
};
|
|
1100
|
-
readonly date_delete: {
|
|
1101
|
-
readonly type: "integer";
|
|
1102
|
-
};
|
|
1103
|
-
readonly display_as_bot: {
|
|
1104
|
-
readonly type: "boolean";
|
|
1105
|
-
};
|
|
1106
|
-
readonly editable: {
|
|
1107
|
-
readonly type: "boolean";
|
|
1108
|
-
};
|
|
1109
|
-
readonly editor: {
|
|
1110
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
1111
|
-
};
|
|
1112
|
-
readonly external_id: {
|
|
1113
|
-
readonly type: "string";
|
|
1114
|
-
};
|
|
1115
|
-
readonly external_type: {
|
|
1116
|
-
readonly type: "string";
|
|
1117
|
-
};
|
|
1118
|
-
readonly external_url: {
|
|
1119
|
-
readonly format: "uri";
|
|
1120
|
-
readonly type: "string";
|
|
1121
|
-
};
|
|
1122
|
-
readonly filetype: {
|
|
1123
|
-
readonly type: "string";
|
|
1124
|
-
};
|
|
1125
|
-
readonly groups: {
|
|
1126
|
-
readonly items: {
|
|
1127
|
-
readonly $ref: "#/components/schemas/defs_group_id";
|
|
1128
|
-
};
|
|
1129
|
-
readonly type: "array";
|
|
1130
|
-
readonly uniqueItems: true;
|
|
1131
|
-
};
|
|
1132
|
-
readonly has_rich_preview: {
|
|
1133
|
-
readonly type: "boolean";
|
|
1134
|
-
};
|
|
1135
|
-
readonly id: {
|
|
1136
|
-
readonly $ref: "#/components/schemas/defs_file_id";
|
|
1137
|
-
};
|
|
1138
|
-
readonly image_exif_rotation: {
|
|
1139
|
-
readonly type: "integer";
|
|
1140
|
-
};
|
|
1141
|
-
readonly ims: {
|
|
1142
|
-
readonly items: {
|
|
1143
|
-
readonly $ref: "#/components/schemas/defs_dm_id";
|
|
1144
|
-
};
|
|
1145
|
-
readonly type: "array";
|
|
1146
|
-
readonly uniqueItems: true;
|
|
1147
|
-
};
|
|
1148
|
-
readonly is_external: {
|
|
1149
|
-
readonly type: "boolean";
|
|
1150
|
-
};
|
|
1151
|
-
readonly is_public: {
|
|
1152
|
-
readonly type: "boolean";
|
|
1153
|
-
};
|
|
1154
|
-
readonly is_starred: {
|
|
1155
|
-
readonly type: "boolean";
|
|
1156
|
-
};
|
|
1157
|
-
readonly is_tombstoned: {
|
|
1158
|
-
readonly type: "boolean";
|
|
1159
|
-
};
|
|
1160
|
-
readonly last_editor: {
|
|
1161
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
1162
|
-
};
|
|
1163
|
-
readonly mimetype: {
|
|
1164
|
-
readonly type: "string";
|
|
1165
|
-
};
|
|
1166
|
-
readonly mode: {
|
|
1167
|
-
readonly type: "string";
|
|
1168
|
-
};
|
|
1169
|
-
readonly name: {
|
|
1170
|
-
readonly type: "string";
|
|
1171
|
-
};
|
|
1172
|
-
readonly non_owner_editable: {
|
|
1173
|
-
readonly type: "boolean";
|
|
1174
|
-
};
|
|
1175
|
-
readonly num_stars: {
|
|
1176
|
-
readonly type: "integer";
|
|
1177
|
-
};
|
|
1178
|
-
readonly original_h: {
|
|
1179
|
-
readonly type: "integer";
|
|
1180
|
-
};
|
|
1181
|
-
readonly original_w: {
|
|
1182
|
-
readonly type: "integer";
|
|
1183
|
-
};
|
|
1184
|
-
readonly permalink: {
|
|
1185
|
-
readonly format: "uri";
|
|
1186
|
-
readonly type: "string";
|
|
1187
|
-
};
|
|
1188
|
-
readonly permalink_public: {
|
|
1189
|
-
readonly format: "uri";
|
|
1190
|
-
readonly type: "string";
|
|
1191
|
-
};
|
|
1192
|
-
readonly pinned_info: {
|
|
1193
|
-
readonly $ref: "#/components/schemas/defs_pinned_info";
|
|
1194
|
-
};
|
|
1195
|
-
readonly pinned_to: {
|
|
1196
|
-
readonly items: {
|
|
1197
|
-
readonly $ref: "#/components/schemas/defs_channel";
|
|
1198
|
-
};
|
|
1199
|
-
readonly type: "array";
|
|
1200
|
-
};
|
|
1201
|
-
readonly pretty_type: {
|
|
1202
|
-
readonly type: "string";
|
|
1203
|
-
};
|
|
1204
|
-
readonly preview: {
|
|
1205
|
-
readonly type: "string";
|
|
1206
|
-
};
|
|
1207
|
-
readonly public_url_shared: {
|
|
1208
|
-
readonly type: "boolean";
|
|
1209
|
-
};
|
|
1210
|
-
readonly reactions: {
|
|
1211
|
-
readonly items: {
|
|
1212
|
-
readonly $ref: "#/components/schemas/objs_reaction";
|
|
1213
|
-
};
|
|
1214
|
-
readonly type: "array";
|
|
1215
|
-
};
|
|
1216
|
-
readonly shares: {
|
|
1217
|
-
readonly additionalProperties: false;
|
|
1218
|
-
readonly properties: {
|
|
1219
|
-
readonly private: {
|
|
1220
|
-
readonly additionalProperties: false;
|
|
1221
|
-
};
|
|
1222
|
-
readonly public: {
|
|
1223
|
-
readonly additionalProperties: false;
|
|
1224
|
-
};
|
|
1225
|
-
};
|
|
1226
|
-
readonly type: "object";
|
|
1227
|
-
};
|
|
1228
|
-
readonly size: {
|
|
1229
|
-
readonly type: "integer";
|
|
1230
|
-
};
|
|
1231
|
-
readonly source_team: {
|
|
1232
|
-
readonly $ref: "#/components/schemas/defs_team";
|
|
1233
|
-
};
|
|
1234
|
-
readonly state: {
|
|
1235
|
-
readonly type: "string";
|
|
1236
|
-
};
|
|
1237
|
-
readonly thumb_1024: {
|
|
1238
|
-
readonly format: "uri";
|
|
1239
|
-
readonly type: "string";
|
|
1240
|
-
};
|
|
1241
|
-
readonly thumb_1024_h: {
|
|
1242
|
-
readonly type: "integer";
|
|
1243
|
-
};
|
|
1244
|
-
readonly thumb_1024_w: {
|
|
1245
|
-
readonly type: "integer";
|
|
1246
|
-
};
|
|
1247
|
-
readonly thumb_160: {
|
|
1248
|
-
readonly format: "uri";
|
|
1249
|
-
readonly type: "string";
|
|
1250
|
-
};
|
|
1251
|
-
readonly thumb_360: {
|
|
1252
|
-
readonly format: "uri";
|
|
1253
|
-
readonly type: "string";
|
|
1254
|
-
};
|
|
1255
|
-
readonly thumb_360_h: {
|
|
1256
|
-
readonly type: "integer";
|
|
1257
|
-
};
|
|
1258
|
-
readonly thumb_360_w: {
|
|
1259
|
-
readonly type: "integer";
|
|
1260
|
-
};
|
|
1261
|
-
readonly thumb_480: {
|
|
1262
|
-
readonly format: "uri";
|
|
1263
|
-
readonly type: "string";
|
|
1264
|
-
};
|
|
1265
|
-
readonly thumb_480_h: {
|
|
1266
|
-
readonly type: "integer";
|
|
1267
|
-
};
|
|
1268
|
-
readonly thumb_480_w: {
|
|
1269
|
-
readonly type: "integer";
|
|
1270
|
-
};
|
|
1271
|
-
readonly thumb_64: {
|
|
1272
|
-
readonly format: "uri";
|
|
1273
|
-
readonly type: "string";
|
|
1274
|
-
};
|
|
1275
|
-
readonly thumb_720: {
|
|
1276
|
-
readonly format: "uri";
|
|
1277
|
-
readonly type: "string";
|
|
1278
|
-
};
|
|
1279
|
-
readonly thumb_720_h: {
|
|
1280
|
-
readonly type: "integer";
|
|
1281
|
-
};
|
|
1282
|
-
readonly thumb_720_w: {
|
|
1283
|
-
readonly type: "integer";
|
|
1284
|
-
};
|
|
1285
|
-
readonly thumb_80: {
|
|
1286
|
-
readonly format: "uri";
|
|
1287
|
-
readonly type: "string";
|
|
1288
|
-
};
|
|
1289
|
-
readonly thumb_800: {
|
|
1290
|
-
readonly format: "uri";
|
|
1291
|
-
readonly type: "string";
|
|
1292
|
-
};
|
|
1293
|
-
readonly thumb_800_h: {
|
|
1294
|
-
readonly type: "integer";
|
|
1295
|
-
};
|
|
1296
|
-
readonly thumb_800_w: {
|
|
1297
|
-
readonly type: "integer";
|
|
1298
|
-
};
|
|
1299
|
-
readonly thumb_960: {
|
|
1300
|
-
readonly format: "uri";
|
|
1301
|
-
readonly type: "string";
|
|
1302
|
-
};
|
|
1303
|
-
readonly thumb_960_h: {
|
|
1304
|
-
readonly type: "integer";
|
|
1305
|
-
};
|
|
1306
|
-
readonly thumb_960_w: {
|
|
1307
|
-
readonly type: "integer";
|
|
1308
|
-
};
|
|
1309
|
-
readonly thumb_tiny: {
|
|
1310
|
-
readonly type: "string";
|
|
1311
|
-
};
|
|
1312
|
-
readonly timestamp: {
|
|
1313
|
-
readonly type: "integer";
|
|
1314
|
-
};
|
|
1315
|
-
readonly title: {
|
|
1316
|
-
readonly type: "string";
|
|
1317
|
-
};
|
|
1318
|
-
readonly updated: {
|
|
1319
|
-
readonly type: "integer";
|
|
1320
|
-
};
|
|
1321
|
-
readonly url_private: {
|
|
1322
|
-
readonly format: "uri";
|
|
1323
|
-
readonly type: "string";
|
|
1324
|
-
};
|
|
1325
|
-
readonly url_private_download: {
|
|
1326
|
-
readonly format: "uri";
|
|
1327
|
-
readonly type: "string";
|
|
1328
|
-
};
|
|
1329
|
-
readonly user: {
|
|
1330
|
-
readonly type: "string";
|
|
1331
|
-
};
|
|
1332
|
-
readonly user_team: {
|
|
1333
|
-
readonly $ref: "#/components/schemas/defs_team";
|
|
1334
|
-
};
|
|
1335
|
-
readonly username: {
|
|
1336
|
-
readonly type: "string";
|
|
1337
|
-
};
|
|
1338
|
-
};
|
|
1339
|
-
readonly title: "file object";
|
|
1340
|
-
readonly type: "object";
|
|
1341
|
-
};
|
|
1342
|
-
export declare const objs_iconSchema: {
|
|
1343
|
-
readonly properties: {
|
|
1344
|
-
readonly image_102: {
|
|
1345
|
-
readonly type: "string";
|
|
1346
|
-
};
|
|
1347
|
-
readonly image_132: {
|
|
1348
|
-
readonly type: "string";
|
|
1349
|
-
};
|
|
1350
|
-
readonly image_230: {
|
|
1351
|
-
readonly type: "string";
|
|
1352
|
-
};
|
|
1353
|
-
readonly image_34: {
|
|
1354
|
-
readonly type: "string";
|
|
1355
|
-
};
|
|
1356
|
-
readonly image_44: {
|
|
1357
|
-
readonly type: "string";
|
|
1358
|
-
};
|
|
1359
|
-
readonly image_68: {
|
|
1360
|
-
readonly type: "string";
|
|
1361
|
-
};
|
|
1362
|
-
readonly image_88: {
|
|
1363
|
-
readonly type: "string";
|
|
1364
|
-
};
|
|
1365
|
-
readonly image_default: {
|
|
1366
|
-
readonly type: "boolean";
|
|
1367
|
-
};
|
|
1368
|
-
};
|
|
1369
|
-
readonly type: "object";
|
|
1370
|
-
};
|
|
1371
|
-
export declare const objs_messageSchema: {
|
|
1372
|
-
readonly additionalProperties: false;
|
|
1373
|
-
readonly properties: {
|
|
1374
|
-
readonly attachments: {
|
|
1375
|
-
readonly items: {
|
|
1376
|
-
readonly additionalProperties: false;
|
|
1377
|
-
readonly properties: {
|
|
1378
|
-
readonly fallback: {
|
|
1379
|
-
readonly type: "string";
|
|
1380
|
-
};
|
|
1381
|
-
readonly id: {
|
|
1382
|
-
readonly type: "integer";
|
|
1383
|
-
};
|
|
1384
|
-
readonly image_bytes: {
|
|
1385
|
-
readonly type: "integer";
|
|
1386
|
-
};
|
|
1387
|
-
readonly image_height: {
|
|
1388
|
-
readonly type: "integer";
|
|
1389
|
-
};
|
|
1390
|
-
readonly image_url: {
|
|
1391
|
-
readonly type: "string";
|
|
1392
|
-
};
|
|
1393
|
-
readonly image_width: {
|
|
1394
|
-
readonly type: "integer";
|
|
1395
|
-
};
|
|
1396
|
-
};
|
|
1397
|
-
readonly required: readonly ["id"];
|
|
1398
|
-
readonly type: "object";
|
|
1399
|
-
};
|
|
1400
|
-
readonly minItems: 1;
|
|
1401
|
-
readonly type: "array";
|
|
1402
|
-
readonly uniqueItems: true;
|
|
1403
|
-
};
|
|
1404
|
-
readonly blocks: {
|
|
1405
|
-
readonly $ref: "#/components/schemas/blocks";
|
|
1406
|
-
};
|
|
1407
|
-
readonly bot_id: {
|
|
1408
|
-
readonly items: {
|
|
1409
|
-
readonly anyOf: readonly [{
|
|
1410
|
-
readonly $ref: "#/components/schemas/defs_bot_id";
|
|
1411
|
-
}, {
|
|
1412
|
-
readonly nullable: true;
|
|
1413
|
-
readonly title: "Nil bot_id set when display_as_bot is false";
|
|
1414
|
-
}];
|
|
1415
|
-
};
|
|
1416
|
-
};
|
|
1417
|
-
readonly bot_profile: {
|
|
1418
|
-
readonly $ref: "#/components/schemas/objs_bot_profile";
|
|
1419
|
-
};
|
|
1420
|
-
readonly client_msg_id: {
|
|
1421
|
-
readonly type: "string";
|
|
1422
|
-
};
|
|
1423
|
-
readonly comment: {
|
|
1424
|
-
readonly $ref: "#/components/schemas/objs_comment";
|
|
1425
|
-
};
|
|
1426
|
-
readonly display_as_bot: {
|
|
1427
|
-
readonly type: "boolean";
|
|
1428
|
-
};
|
|
1429
|
-
readonly file: {
|
|
1430
|
-
readonly $ref: "#/components/schemas/objs_file";
|
|
1431
|
-
};
|
|
1432
|
-
readonly files: {
|
|
1433
|
-
readonly items: {
|
|
1434
|
-
readonly $ref: "#/components/schemas/objs_file";
|
|
1435
|
-
};
|
|
1436
|
-
readonly minItems: 1;
|
|
1437
|
-
readonly type: "array";
|
|
1438
|
-
readonly uniqueItems: true;
|
|
1439
|
-
};
|
|
1440
|
-
readonly icons: {
|
|
1441
|
-
readonly additionalProperties: false;
|
|
1442
|
-
readonly properties: {
|
|
1443
|
-
readonly emoji: {
|
|
1444
|
-
readonly type: "string";
|
|
1445
|
-
};
|
|
1446
|
-
readonly image_64: {
|
|
1447
|
-
readonly format: "uri";
|
|
1448
|
-
readonly type: "string";
|
|
1449
|
-
};
|
|
1450
|
-
};
|
|
1451
|
-
readonly type: "object";
|
|
1452
|
-
};
|
|
1453
|
-
readonly inviter: {
|
|
1454
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
1455
|
-
};
|
|
1456
|
-
readonly is_delayed_message: {
|
|
1457
|
-
readonly type: "boolean";
|
|
1458
|
-
};
|
|
1459
|
-
readonly is_intro: {
|
|
1460
|
-
readonly type: "boolean";
|
|
1461
|
-
};
|
|
1462
|
-
readonly is_starred: {
|
|
1463
|
-
readonly type: "boolean";
|
|
1464
|
-
};
|
|
1465
|
-
readonly last_read: {
|
|
1466
|
-
readonly $ref: "#/components/schemas/defs_ts";
|
|
1467
|
-
};
|
|
1468
|
-
readonly latest_reply: {
|
|
1469
|
-
readonly $ref: "#/components/schemas/defs_ts";
|
|
1470
|
-
};
|
|
1471
|
-
readonly name: {
|
|
1472
|
-
readonly type: "string";
|
|
1473
|
-
};
|
|
1474
|
-
readonly old_name: {
|
|
1475
|
-
readonly type: "string";
|
|
1476
|
-
};
|
|
1477
|
-
readonly parent_user_id: {
|
|
1478
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
1479
|
-
};
|
|
1480
|
-
readonly permalink: {
|
|
1481
|
-
readonly format: "uri";
|
|
1482
|
-
readonly type: "string";
|
|
1483
|
-
};
|
|
1484
|
-
readonly pinned_to: {
|
|
1485
|
-
readonly items: {
|
|
1486
|
-
readonly $ref: "#/components/schemas/defs_channel";
|
|
1487
|
-
};
|
|
1488
|
-
readonly type: "array";
|
|
1489
|
-
};
|
|
1490
|
-
readonly purpose: {
|
|
1491
|
-
readonly type: "string";
|
|
1492
|
-
};
|
|
1493
|
-
readonly reactions: {
|
|
1494
|
-
readonly items: {
|
|
1495
|
-
readonly $ref: "#/components/schemas/objs_reaction";
|
|
1496
|
-
};
|
|
1497
|
-
readonly type: "array";
|
|
1498
|
-
};
|
|
1499
|
-
readonly reply_count: {
|
|
1500
|
-
readonly type: "integer";
|
|
1501
|
-
};
|
|
1502
|
-
readonly reply_users: {
|
|
1503
|
-
readonly items: {
|
|
1504
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
1505
|
-
};
|
|
1506
|
-
readonly minItems: 1;
|
|
1507
|
-
readonly type: "array";
|
|
1508
|
-
readonly uniqueItems: true;
|
|
1509
|
-
};
|
|
1510
|
-
readonly reply_users_count: {
|
|
1511
|
-
readonly type: "integer";
|
|
1512
|
-
};
|
|
1513
|
-
readonly source_team: {
|
|
1514
|
-
readonly $ref: "#/components/schemas/defs_workspace_id";
|
|
1515
|
-
};
|
|
1516
|
-
readonly subscribed: {
|
|
1517
|
-
readonly type: "boolean";
|
|
1518
|
-
};
|
|
1519
|
-
readonly subtype: {
|
|
1520
|
-
readonly type: "string";
|
|
1521
|
-
};
|
|
1522
|
-
readonly team: {
|
|
1523
|
-
readonly $ref: "#/components/schemas/defs_workspace_id";
|
|
1524
|
-
};
|
|
1525
|
-
readonly text: {
|
|
1526
|
-
readonly type: "string";
|
|
1527
|
-
};
|
|
1528
|
-
readonly thread_ts: {
|
|
1529
|
-
readonly $ref: "#/components/schemas/defs_ts";
|
|
1530
|
-
};
|
|
1531
|
-
readonly topic: {
|
|
1532
|
-
readonly type: "string";
|
|
1533
|
-
};
|
|
1534
|
-
readonly ts: {
|
|
1535
|
-
readonly $ref: "#/components/schemas/defs_ts";
|
|
1536
|
-
};
|
|
1537
|
-
readonly type: {
|
|
1538
|
-
readonly type: "string";
|
|
1539
|
-
};
|
|
1540
|
-
readonly unread_count: {
|
|
1541
|
-
readonly type: "integer";
|
|
1542
|
-
};
|
|
1543
|
-
readonly upload: {
|
|
1544
|
-
readonly type: "boolean";
|
|
1545
|
-
};
|
|
1546
|
-
readonly user: {
|
|
1547
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
1548
|
-
};
|
|
1549
|
-
readonly user_profile: {
|
|
1550
|
-
readonly $ref: "#/components/schemas/objs_user_profile_short";
|
|
1551
|
-
};
|
|
1552
|
-
readonly user_team: {
|
|
1553
|
-
readonly $ref: "#/components/schemas/defs_workspace_id";
|
|
1554
|
-
};
|
|
1555
|
-
readonly username: {
|
|
1556
|
-
readonly type: "string";
|
|
1557
|
-
};
|
|
1558
|
-
};
|
|
1559
|
-
readonly required: readonly ["text", "type", "ts"];
|
|
1560
|
-
readonly title: "Message object";
|
|
1561
|
-
readonly type: "object";
|
|
1562
|
-
};
|
|
1563
|
-
export declare const objs_pagingSchema: {
|
|
1564
|
-
readonly additionalProperties: false;
|
|
1565
|
-
readonly properties: {
|
|
1566
|
-
readonly count: {
|
|
1567
|
-
readonly type: "integer";
|
|
1568
|
-
};
|
|
1569
|
-
readonly page: {
|
|
1570
|
-
readonly type: "integer";
|
|
1571
|
-
};
|
|
1572
|
-
readonly pages: {
|
|
1573
|
-
readonly type: "integer";
|
|
1574
|
-
};
|
|
1575
|
-
readonly per_page: {
|
|
1576
|
-
readonly type: "integer";
|
|
1577
|
-
};
|
|
1578
|
-
readonly spill: {
|
|
1579
|
-
readonly type: "integer";
|
|
1580
|
-
};
|
|
1581
|
-
readonly total: {
|
|
1582
|
-
readonly type: "integer";
|
|
1583
|
-
};
|
|
1584
|
-
};
|
|
1585
|
-
readonly required: readonly ["page", "total"];
|
|
1586
|
-
readonly title: "paging object";
|
|
1587
|
-
readonly type: "object";
|
|
1588
|
-
};
|
|
1589
|
-
export declare const objs_primary_ownerSchema: {
|
|
1590
|
-
readonly properties: {
|
|
1591
|
-
readonly email: {
|
|
1592
|
-
readonly type: "string";
|
|
1593
|
-
};
|
|
1594
|
-
readonly id: {
|
|
1595
|
-
readonly type: "string";
|
|
1596
|
-
};
|
|
1597
|
-
};
|
|
1598
|
-
readonly required: readonly ["id", "email"];
|
|
1599
|
-
readonly type: "object";
|
|
1600
|
-
};
|
|
1601
|
-
export declare const objs_reactionSchema: {
|
|
1602
|
-
readonly additionalProperties: true;
|
|
1603
|
-
readonly properties: {
|
|
1604
|
-
readonly count: {
|
|
1605
|
-
readonly type: "integer";
|
|
1606
|
-
};
|
|
1607
|
-
readonly name: {
|
|
1608
|
-
readonly type: "string";
|
|
1609
|
-
};
|
|
1610
|
-
readonly users: {
|
|
1611
|
-
readonly items: {
|
|
1612
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
1613
|
-
};
|
|
1614
|
-
readonly type: "array";
|
|
1615
|
-
};
|
|
1616
|
-
};
|
|
1617
|
-
readonly required: readonly ["name", "users", "count"];
|
|
1618
|
-
readonly title: "Reaction object";
|
|
1619
|
-
readonly type: "object";
|
|
1620
|
-
};
|
|
1621
|
-
export declare const objs_reminderSchema: {
|
|
1622
|
-
readonly additionalProperties: false;
|
|
1623
|
-
readonly properties: {
|
|
1624
|
-
readonly complete_ts: {
|
|
1625
|
-
readonly type: "integer";
|
|
1626
|
-
};
|
|
1627
|
-
readonly creator: {
|
|
1628
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
1629
|
-
};
|
|
1630
|
-
readonly id: {
|
|
1631
|
-
readonly $ref: "#/components/schemas/defs_reminder_id";
|
|
1632
|
-
};
|
|
1633
|
-
readonly recurring: {
|
|
1634
|
-
readonly type: "boolean";
|
|
1635
|
-
};
|
|
1636
|
-
readonly text: {
|
|
1637
|
-
readonly type: "string";
|
|
1638
|
-
};
|
|
1639
|
-
readonly time: {
|
|
1640
|
-
readonly type: "integer";
|
|
1641
|
-
};
|
|
1642
|
-
readonly user: {
|
|
1643
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
1644
|
-
};
|
|
1645
|
-
};
|
|
1646
|
-
readonly required: readonly ["id", "creator", "user", "text", "recurring"];
|
|
1647
|
-
readonly type: "object";
|
|
1648
|
-
};
|
|
1649
|
-
export declare const objs_resourcesSchema: {
|
|
1650
|
-
readonly additionalProperties: false;
|
|
1651
|
-
readonly properties: {
|
|
1652
|
-
readonly excluded_ids: {
|
|
1653
|
-
readonly items: {
|
|
1654
|
-
readonly items: {
|
|
1655
|
-
readonly anyOf: readonly [{
|
|
1656
|
-
readonly $ref: "#/components/schemas/defs_channel";
|
|
1657
|
-
}, {
|
|
1658
|
-
readonly $ref: "#/components/schemas/defs_team";
|
|
1659
|
-
}];
|
|
1660
|
-
};
|
|
1661
|
-
};
|
|
1662
|
-
readonly type: "array";
|
|
1663
|
-
};
|
|
1664
|
-
readonly ids: {
|
|
1665
|
-
readonly items: {
|
|
1666
|
-
readonly items: {
|
|
1667
|
-
readonly anyOf: readonly [{
|
|
1668
|
-
readonly $ref: "#/components/schemas/defs_channel";
|
|
1669
|
-
}, {
|
|
1670
|
-
readonly $ref: "#/components/schemas/defs_team";
|
|
1671
|
-
}];
|
|
1672
|
-
};
|
|
1673
|
-
};
|
|
1674
|
-
readonly type: "array";
|
|
1675
|
-
};
|
|
1676
|
-
readonly wildcard: {
|
|
1677
|
-
readonly type: "boolean";
|
|
1678
|
-
};
|
|
1679
|
-
};
|
|
1680
|
-
readonly required: readonly ["ids"];
|
|
1681
|
-
readonly title: "resources in info from apps.permissions.info";
|
|
1682
|
-
readonly type: "object";
|
|
1683
|
-
};
|
|
1684
|
-
export declare const objs_response_metadataSchema: {
|
|
1685
|
-
readonly items: {
|
|
1686
|
-
readonly anyOf: readonly [{
|
|
1687
|
-
readonly additionalProperties: false;
|
|
1688
|
-
readonly properties: {
|
|
1689
|
-
readonly next_cursor: {
|
|
1690
|
-
readonly type: "string";
|
|
1691
|
-
};
|
|
1692
|
-
};
|
|
1693
|
-
readonly required: readonly ["next_cursor"];
|
|
1694
|
-
readonly title: "new paging style";
|
|
1695
|
-
readonly type: "object";
|
|
1696
|
-
}, {
|
|
1697
|
-
readonly additionalProperties: false;
|
|
1698
|
-
readonly properties: {
|
|
1699
|
-
readonly messages: {
|
|
1700
|
-
readonly items: {
|
|
1701
|
-
readonly type: "string";
|
|
1702
|
-
};
|
|
1703
|
-
readonly type: "array";
|
|
1704
|
-
};
|
|
1705
|
-
readonly warnings: {
|
|
1706
|
-
readonly items: {
|
|
1707
|
-
readonly enum: readonly ["method_deprecated"];
|
|
1708
|
-
readonly type: "string";
|
|
1709
|
-
};
|
|
1710
|
-
readonly type: "array";
|
|
1711
|
-
};
|
|
1712
|
-
};
|
|
1713
|
-
readonly required: readonly ["messages", "warnings"];
|
|
1714
|
-
readonly title: "deprecation_warning";
|
|
1715
|
-
readonly type: "object";
|
|
1716
|
-
}, {
|
|
1717
|
-
readonly additionalProperties: false;
|
|
1718
|
-
readonly properties: {
|
|
1719
|
-
readonly messages: {
|
|
1720
|
-
readonly items: {
|
|
1721
|
-
readonly type: "string";
|
|
1722
|
-
};
|
|
1723
|
-
readonly type: "array";
|
|
1724
|
-
};
|
|
1725
|
-
readonly next_cursor: {
|
|
1726
|
-
readonly type: "string";
|
|
1727
|
-
};
|
|
1728
|
-
readonly warnings: {
|
|
1729
|
-
readonly items: {
|
|
1730
|
-
readonly enum: readonly ["method_deprecated"];
|
|
1731
|
-
readonly type: "string";
|
|
1732
|
-
};
|
|
1733
|
-
readonly type: "array";
|
|
1734
|
-
};
|
|
1735
|
-
};
|
|
1736
|
-
readonly required: readonly ["messages", "warnings", "next_cursor"];
|
|
1737
|
-
readonly title: "deprecation_warning and paging style together";
|
|
1738
|
-
readonly type: "object";
|
|
1739
|
-
}];
|
|
1740
|
-
};
|
|
1741
|
-
};
|
|
1742
|
-
export declare const objs_scopesSchema: {
|
|
1743
|
-
readonly items: {
|
|
1744
|
-
readonly title: "Named OAuth scopes";
|
|
1745
|
-
readonly type: "string";
|
|
1746
|
-
readonly 'x-examples': readonly ["chat:write", "im:history", "im:read"];
|
|
1747
|
-
};
|
|
1748
|
-
readonly type: "array";
|
|
1749
|
-
};
|
|
1750
|
-
export declare const objs_subteamSchema: {
|
|
1751
|
-
readonly additionalProperties: false;
|
|
1752
|
-
readonly properties: {
|
|
1753
|
-
readonly auto_provision: {
|
|
1754
|
-
readonly type: "boolean";
|
|
1755
|
-
};
|
|
1756
|
-
readonly auto_type: {
|
|
1757
|
-
readonly items: {
|
|
1758
|
-
readonly anyOf: readonly [{
|
|
1759
|
-
readonly nullable: true;
|
|
1760
|
-
}, {
|
|
1761
|
-
readonly enum: readonly ["owner", "admin"];
|
|
1762
|
-
readonly type: "string";
|
|
1763
|
-
}];
|
|
1764
|
-
};
|
|
1765
|
-
};
|
|
1766
|
-
readonly channel_count: {
|
|
1767
|
-
readonly type: "integer";
|
|
1768
|
-
};
|
|
1769
|
-
readonly created_by: {
|
|
1770
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
1771
|
-
};
|
|
1772
|
-
readonly date_create: {
|
|
1773
|
-
readonly type: "integer";
|
|
1774
|
-
};
|
|
1775
|
-
readonly date_delete: {
|
|
1776
|
-
readonly type: "integer";
|
|
1777
|
-
};
|
|
1778
|
-
readonly date_update: {
|
|
1779
|
-
readonly type: "integer";
|
|
1780
|
-
};
|
|
1781
|
-
readonly deleted_by: {
|
|
1782
|
-
readonly items: {
|
|
1783
|
-
readonly anyOf: readonly [{
|
|
1784
|
-
readonly nullable: true;
|
|
1785
|
-
}, {
|
|
1786
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
1787
|
-
}];
|
|
1788
|
-
};
|
|
1789
|
-
};
|
|
1790
|
-
readonly description: {
|
|
1791
|
-
readonly type: "string";
|
|
1792
|
-
};
|
|
1793
|
-
readonly enterprise_subteam_id: {
|
|
1794
|
-
readonly type: "string";
|
|
1795
|
-
};
|
|
1796
|
-
readonly handle: {
|
|
1797
|
-
readonly type: "string";
|
|
1798
|
-
};
|
|
1799
|
-
readonly id: {
|
|
1800
|
-
readonly $ref: "#/components/schemas/defs_subteam_id";
|
|
1801
|
-
};
|
|
1802
|
-
readonly is_external: {
|
|
1803
|
-
readonly type: "boolean";
|
|
1804
|
-
};
|
|
1805
|
-
readonly is_subteam: {
|
|
1806
|
-
readonly type: "boolean";
|
|
1807
|
-
};
|
|
1808
|
-
readonly is_usergroup: {
|
|
1809
|
-
readonly type: "boolean";
|
|
1810
|
-
};
|
|
1811
|
-
readonly name: {
|
|
1812
|
-
readonly type: "string";
|
|
1813
|
-
};
|
|
1814
|
-
readonly prefs: {
|
|
1815
|
-
readonly additionalProperties: false;
|
|
1816
|
-
readonly properties: {
|
|
1817
|
-
readonly channels: {
|
|
1818
|
-
readonly items: {
|
|
1819
|
-
readonly $ref: "#/components/schemas/defs_channel_id";
|
|
1820
|
-
};
|
|
1821
|
-
readonly type: "array";
|
|
1822
|
-
};
|
|
1823
|
-
readonly groups: {
|
|
1824
|
-
readonly items: {
|
|
1825
|
-
readonly $ref: "#/components/schemas/defs_group_id";
|
|
1826
|
-
};
|
|
1827
|
-
readonly type: "array";
|
|
1828
|
-
};
|
|
1829
|
-
};
|
|
1830
|
-
readonly required: readonly ["channels", "groups"];
|
|
1831
|
-
readonly type: "object";
|
|
1832
|
-
};
|
|
1833
|
-
readonly team_id: {
|
|
1834
|
-
readonly $ref: "#/components/schemas/defs_team";
|
|
1835
|
-
};
|
|
1836
|
-
readonly updated_by: {
|
|
1837
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
1838
|
-
};
|
|
1839
|
-
readonly user_count: {
|
|
1840
|
-
readonly type: "integer";
|
|
1841
|
-
};
|
|
1842
|
-
readonly users: {
|
|
1843
|
-
readonly items: {
|
|
1844
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
1845
|
-
};
|
|
1846
|
-
readonly type: "array";
|
|
1847
|
-
};
|
|
1848
|
-
};
|
|
1849
|
-
readonly required: readonly ["id", "team_id", "is_usergroup", "is_subteam", "name", "description", "handle", "is_external", "date_create", "date_update", "date_delete", "auto_type", "auto_provision", "enterprise_subteam_id", "created_by", "updated_by", "deleted_by", "prefs"];
|
|
1850
|
-
readonly title: "Subteam/Usergroup Object";
|
|
1851
|
-
readonly type: "object";
|
|
1852
|
-
};
|
|
1853
|
-
export declare const objs_teamSchema: {
|
|
1854
|
-
readonly additionalProperties: false;
|
|
1855
|
-
readonly properties: {
|
|
1856
|
-
readonly archived: {
|
|
1857
|
-
readonly type: "boolean";
|
|
1858
|
-
};
|
|
1859
|
-
readonly avatar_base_url: {
|
|
1860
|
-
readonly format: "uri";
|
|
1861
|
-
readonly type: "string";
|
|
1862
|
-
};
|
|
1863
|
-
readonly created: {
|
|
1864
|
-
readonly type: "integer";
|
|
1865
|
-
};
|
|
1866
|
-
readonly date_create: {
|
|
1867
|
-
readonly type: "integer";
|
|
1868
|
-
};
|
|
1869
|
-
readonly deleted: {
|
|
1870
|
-
readonly type: "boolean";
|
|
1871
|
-
};
|
|
1872
|
-
readonly description: {
|
|
1873
|
-
readonly nullable: true;
|
|
1874
|
-
readonly type: "string";
|
|
1875
|
-
};
|
|
1876
|
-
readonly discoverable: {
|
|
1877
|
-
readonly items: {
|
|
1878
|
-
readonly anyOf: readonly [{
|
|
1879
|
-
readonly nullable: true;
|
|
1880
|
-
}, {
|
|
1881
|
-
readonly type: "string";
|
|
1882
|
-
}];
|
|
1883
|
-
};
|
|
1884
|
-
};
|
|
1885
|
-
readonly domain: {
|
|
1886
|
-
readonly type: "string";
|
|
1887
|
-
};
|
|
1888
|
-
readonly email_domain: {
|
|
1889
|
-
readonly type: "string";
|
|
1890
|
-
};
|
|
1891
|
-
readonly enterprise_id: {
|
|
1892
|
-
readonly $ref: "#/components/schemas/defs_enterprise_id";
|
|
1893
|
-
};
|
|
1894
|
-
readonly enterprise_name: {
|
|
1895
|
-
readonly $ref: "#/components/schemas/defs_enterprise_name";
|
|
1896
|
-
};
|
|
1897
|
-
readonly external_org_migrations: {
|
|
1898
|
-
readonly $ref: "#/components/schemas/objs_external_org_migrations";
|
|
1899
|
-
};
|
|
1900
|
-
readonly has_compliance_export: {
|
|
1901
|
-
readonly type: "boolean";
|
|
1902
|
-
};
|
|
1903
|
-
readonly icon: {
|
|
1904
|
-
readonly $ref: "#/components/schemas/objs_icon";
|
|
1905
|
-
};
|
|
1906
|
-
readonly id: {
|
|
1907
|
-
readonly $ref: "#/components/schemas/defs_workspace_id";
|
|
1908
|
-
};
|
|
1909
|
-
readonly is_assigned: {
|
|
1910
|
-
readonly type: "boolean";
|
|
1911
|
-
};
|
|
1912
|
-
readonly is_enterprise: {
|
|
1913
|
-
readonly type: "integer";
|
|
1914
|
-
};
|
|
1915
|
-
readonly is_over_storage_limit: {
|
|
1916
|
-
readonly type: "boolean";
|
|
1917
|
-
};
|
|
1918
|
-
readonly limit_ts: {
|
|
1919
|
-
readonly type: "integer";
|
|
1920
|
-
};
|
|
1921
|
-
readonly locale: {
|
|
1922
|
-
readonly type: "string";
|
|
1923
|
-
};
|
|
1924
|
-
readonly messages_count: {
|
|
1925
|
-
readonly type: "integer";
|
|
1926
|
-
};
|
|
1927
|
-
readonly msg_edit_window_mins: {
|
|
1928
|
-
readonly type: "integer";
|
|
1929
|
-
};
|
|
1930
|
-
readonly name: {
|
|
1931
|
-
readonly type: "string";
|
|
1932
|
-
};
|
|
1933
|
-
readonly over_integrations_limit: {
|
|
1934
|
-
readonly type: "boolean";
|
|
1935
|
-
};
|
|
1936
|
-
readonly over_storage_limit: {
|
|
1937
|
-
readonly type: "boolean";
|
|
1938
|
-
};
|
|
1939
|
-
readonly pay_prod_cur: {
|
|
1940
|
-
readonly type: "string";
|
|
1941
|
-
};
|
|
1942
|
-
readonly plan: {
|
|
1943
|
-
readonly enum: readonly ["", "std", "plus", "compliance", "enterprise"];
|
|
1944
|
-
readonly type: "string";
|
|
1945
|
-
};
|
|
1946
|
-
readonly primary_owner: {
|
|
1947
|
-
readonly $ref: "#/components/schemas/objs_primary_owner";
|
|
1948
|
-
};
|
|
1949
|
-
readonly sso_provider: {
|
|
1950
|
-
readonly properties: {
|
|
1951
|
-
readonly label: {
|
|
1952
|
-
readonly type: "string";
|
|
1953
|
-
};
|
|
1954
|
-
readonly name: {
|
|
1955
|
-
readonly type: "string";
|
|
1956
|
-
};
|
|
1957
|
-
readonly type: {
|
|
1958
|
-
readonly type: "string";
|
|
1959
|
-
};
|
|
1960
|
-
};
|
|
1961
|
-
readonly type: "object";
|
|
1962
|
-
};
|
|
1963
|
-
};
|
|
1964
|
-
readonly required: readonly ["id", "name", "domain", "email_domain", "icon"];
|
|
1965
|
-
readonly title: "Team Object";
|
|
1966
|
-
readonly type: "object";
|
|
1967
|
-
};
|
|
1968
|
-
export declare const objs_team_profile_fieldSchema: {
|
|
1969
|
-
readonly additionalProperties: false;
|
|
1970
|
-
readonly properties: {
|
|
1971
|
-
readonly field_name: {
|
|
1972
|
-
readonly nullable: true;
|
|
1973
|
-
readonly type: "string";
|
|
1974
|
-
};
|
|
1975
|
-
readonly hint: {
|
|
1976
|
-
readonly type: "string";
|
|
1977
|
-
};
|
|
1978
|
-
readonly id: {
|
|
1979
|
-
readonly pattern: "^X[a-zA-Z0-9]{9,}$";
|
|
1980
|
-
readonly type: "string";
|
|
1981
|
-
};
|
|
1982
|
-
readonly is_hidden: {
|
|
1983
|
-
readonly type: "boolean";
|
|
1984
|
-
};
|
|
1985
|
-
readonly label: {
|
|
1986
|
-
readonly type: "string";
|
|
1987
|
-
};
|
|
1988
|
-
readonly options: {
|
|
1989
|
-
readonly items: {
|
|
1990
|
-
readonly anyOf: readonly [{
|
|
1991
|
-
readonly nullable: true;
|
|
1992
|
-
}, {
|
|
1993
|
-
readonly $ref: "#/components/schemas/objs_team_profile_field_option";
|
|
1994
|
-
}];
|
|
1995
|
-
};
|
|
1996
|
-
};
|
|
1997
|
-
readonly ordering: {
|
|
1998
|
-
readonly type: "number";
|
|
1999
|
-
};
|
|
2000
|
-
readonly possible_values: {
|
|
2001
|
-
readonly items: {
|
|
2002
|
-
readonly type: "string";
|
|
2003
|
-
};
|
|
2004
|
-
readonly nullable: true;
|
|
2005
|
-
readonly type: "array";
|
|
2006
|
-
};
|
|
2007
|
-
readonly type: {
|
|
2008
|
-
readonly enum: readonly ["text", "date", "link", "mailto", "options_list", "user"];
|
|
2009
|
-
readonly type: "string";
|
|
2010
|
-
};
|
|
2011
|
-
};
|
|
2012
|
-
readonly required: readonly ["id", "ordering", "label", "hint", "type"];
|
|
2013
|
-
readonly type: "object";
|
|
2014
|
-
};
|
|
2015
|
-
export declare const objs_team_profile_field_optionSchema: {
|
|
2016
|
-
readonly additionalProperties: false;
|
|
2017
|
-
readonly properties: {
|
|
2018
|
-
readonly is_custom: {
|
|
2019
|
-
readonly nullable: true;
|
|
2020
|
-
readonly type: "boolean";
|
|
2021
|
-
};
|
|
2022
|
-
readonly is_multiple_entry: {
|
|
2023
|
-
readonly nullable: true;
|
|
2024
|
-
readonly type: "boolean";
|
|
2025
|
-
};
|
|
2026
|
-
readonly is_protected: {
|
|
2027
|
-
readonly nullable: true;
|
|
2028
|
-
readonly type: "boolean";
|
|
2029
|
-
};
|
|
2030
|
-
readonly is_scim: {
|
|
2031
|
-
readonly nullable: true;
|
|
2032
|
-
readonly type: "boolean";
|
|
2033
|
-
};
|
|
2034
|
-
};
|
|
2035
|
-
readonly type: "object";
|
|
2036
|
-
};
|
|
2037
|
-
export declare const objs_userSchema: {
|
|
2038
|
-
readonly items: {
|
|
2039
|
-
readonly anyOf: readonly [{
|
|
2040
|
-
readonly additionalProperties: false;
|
|
2041
|
-
readonly description: "user object for non enterprise type";
|
|
2042
|
-
readonly properties: {
|
|
2043
|
-
readonly color: {
|
|
2044
|
-
readonly pattern: "^[a-fA-F0-9]{6}$";
|
|
2045
|
-
readonly type: "string";
|
|
2046
|
-
};
|
|
2047
|
-
readonly deleted: {
|
|
2048
|
-
readonly type: "boolean";
|
|
2049
|
-
};
|
|
2050
|
-
readonly enterprise_user: {
|
|
2051
|
-
readonly $ref: "#/components/schemas/objs_enterprise_user";
|
|
2052
|
-
};
|
|
2053
|
-
readonly has_2fa: {
|
|
2054
|
-
readonly type: "boolean";
|
|
2055
|
-
};
|
|
2056
|
-
readonly id: {
|
|
2057
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
2058
|
-
};
|
|
2059
|
-
readonly is_admin: {
|
|
2060
|
-
readonly type: "boolean";
|
|
2061
|
-
};
|
|
2062
|
-
readonly is_app_user: {
|
|
2063
|
-
readonly type: "boolean";
|
|
2064
|
-
};
|
|
2065
|
-
readonly is_bot: {
|
|
2066
|
-
readonly type: "boolean";
|
|
2067
|
-
};
|
|
2068
|
-
readonly is_external: {
|
|
2069
|
-
readonly type: "boolean";
|
|
2070
|
-
};
|
|
2071
|
-
readonly is_forgotten: {
|
|
2072
|
-
readonly type: "boolean";
|
|
2073
|
-
};
|
|
2074
|
-
readonly is_invited_user: {
|
|
2075
|
-
readonly type: "boolean";
|
|
2076
|
-
};
|
|
2077
|
-
readonly is_owner: {
|
|
2078
|
-
readonly type: "boolean";
|
|
2079
|
-
};
|
|
2080
|
-
readonly is_primary_owner: {
|
|
2081
|
-
readonly type: "boolean";
|
|
2082
|
-
};
|
|
2083
|
-
readonly is_restricted: {
|
|
2084
|
-
readonly type: "boolean";
|
|
2085
|
-
};
|
|
2086
|
-
readonly is_stranger: {
|
|
2087
|
-
readonly type: "boolean";
|
|
2088
|
-
};
|
|
2089
|
-
readonly is_ultra_restricted: {
|
|
2090
|
-
readonly type: "boolean";
|
|
2091
|
-
};
|
|
2092
|
-
readonly locale: {
|
|
2093
|
-
readonly type: "string";
|
|
2094
|
-
};
|
|
2095
|
-
readonly name: {
|
|
2096
|
-
readonly type: "string";
|
|
2097
|
-
};
|
|
2098
|
-
readonly presence: {
|
|
2099
|
-
readonly type: "string";
|
|
2100
|
-
};
|
|
2101
|
-
readonly profile: {
|
|
2102
|
-
readonly $ref: "#/components/schemas/objs_user_profile";
|
|
2103
|
-
};
|
|
2104
|
-
readonly real_name: {
|
|
2105
|
-
readonly type: "string";
|
|
2106
|
-
};
|
|
2107
|
-
readonly team: {
|
|
2108
|
-
readonly $ref: "#/components/schemas/defs_workspace_id";
|
|
2109
|
-
};
|
|
2110
|
-
readonly team_id: {
|
|
2111
|
-
readonly $ref: "#/components/schemas/defs_workspace_id";
|
|
2112
|
-
};
|
|
2113
|
-
readonly team_profile: {
|
|
2114
|
-
readonly additionalProperties: false;
|
|
2115
|
-
readonly properties: {
|
|
2116
|
-
readonly fields: {
|
|
2117
|
-
readonly items: {
|
|
2118
|
-
readonly $ref: "#/components/schemas/objs_team_profile_field";
|
|
2119
|
-
};
|
|
2120
|
-
readonly minItems: 1;
|
|
2121
|
-
readonly type: "array";
|
|
2122
|
-
readonly uniqueItems: true;
|
|
2123
|
-
};
|
|
2124
|
-
};
|
|
2125
|
-
readonly required: readonly ["fields"];
|
|
2126
|
-
readonly type: "object";
|
|
2127
|
-
};
|
|
2128
|
-
readonly two_factor_type: {
|
|
2129
|
-
readonly type: "string";
|
|
2130
|
-
};
|
|
2131
|
-
readonly tz: {
|
|
2132
|
-
readonly items: {
|
|
2133
|
-
readonly anyOf: readonly [{
|
|
2134
|
-
readonly nullable: true;
|
|
2135
|
-
}, {
|
|
2136
|
-
readonly type: "string";
|
|
2137
|
-
}];
|
|
2138
|
-
};
|
|
2139
|
-
};
|
|
2140
|
-
readonly tz_label: {
|
|
2141
|
-
readonly type: "string";
|
|
2142
|
-
};
|
|
2143
|
-
readonly tz_offset: {
|
|
2144
|
-
readonly type: "number";
|
|
2145
|
-
};
|
|
2146
|
-
readonly updated: {
|
|
2147
|
-
readonly type: "number";
|
|
2148
|
-
};
|
|
2149
|
-
};
|
|
2150
|
-
readonly required: readonly ["id", "name", "profile", "is_bot", "updated", "is_app_user"];
|
|
2151
|
-
readonly type: "object";
|
|
2152
|
-
}, {
|
|
2153
|
-
readonly additionalProperties: false;
|
|
2154
|
-
readonly description: "enterprise user";
|
|
2155
|
-
readonly properties: {
|
|
2156
|
-
readonly color: {
|
|
2157
|
-
readonly description: "refercing to bug: https://jira.tinyspeck.com/browse/EVALUE-1559";
|
|
2158
|
-
readonly pattern: "^([a-fA-F0-9]{6})?$";
|
|
2159
|
-
readonly type: "string";
|
|
2160
|
-
};
|
|
2161
|
-
readonly deleted: {
|
|
2162
|
-
readonly type: "boolean";
|
|
2163
|
-
};
|
|
2164
|
-
readonly enterprise_user: {
|
|
2165
|
-
readonly $ref: "#/components/schemas/objs_enterprise_user";
|
|
2166
|
-
};
|
|
2167
|
-
readonly has_2fa: {
|
|
2168
|
-
readonly type: "boolean";
|
|
2169
|
-
};
|
|
2170
|
-
readonly id: {
|
|
2171
|
-
readonly $ref: "#/components/schemas/defs_user_id";
|
|
2172
|
-
};
|
|
2173
|
-
readonly is_admin: {
|
|
2174
|
-
readonly type: "boolean";
|
|
2175
|
-
};
|
|
2176
|
-
readonly is_app_user: {
|
|
2177
|
-
readonly type: "boolean";
|
|
2178
|
-
};
|
|
2179
|
-
readonly is_bot: {
|
|
2180
|
-
readonly type: "boolean";
|
|
2181
|
-
};
|
|
2182
|
-
readonly is_external: {
|
|
2183
|
-
readonly type: "boolean";
|
|
2184
|
-
};
|
|
2185
|
-
readonly is_forgotten: {
|
|
2186
|
-
readonly type: "boolean";
|
|
2187
|
-
};
|
|
2188
|
-
readonly is_owner: {
|
|
2189
|
-
readonly type: "boolean";
|
|
2190
|
-
};
|
|
2191
|
-
readonly is_primary_owner: {
|
|
2192
|
-
readonly type: "boolean";
|
|
2193
|
-
};
|
|
2194
|
-
readonly is_restricted: {
|
|
2195
|
-
readonly type: "boolean";
|
|
2196
|
-
};
|
|
2197
|
-
readonly is_stranger: {
|
|
2198
|
-
readonly type: "boolean";
|
|
2199
|
-
};
|
|
2200
|
-
readonly is_ultra_restricted: {
|
|
2201
|
-
readonly type: "boolean";
|
|
2202
|
-
};
|
|
2203
|
-
readonly locale: {
|
|
2204
|
-
readonly type: "string";
|
|
2205
|
-
};
|
|
2206
|
-
readonly name: {
|
|
2207
|
-
readonly type: "string";
|
|
2208
|
-
};
|
|
2209
|
-
readonly presence: {
|
|
2210
|
-
readonly type: "string";
|
|
2211
|
-
};
|
|
2212
|
-
readonly profile: {
|
|
2213
|
-
readonly $ref: "#/components/schemas/objs_user_profile";
|
|
2214
|
-
};
|
|
2215
|
-
readonly real_name: {
|
|
2216
|
-
readonly type: "string";
|
|
2217
|
-
};
|
|
2218
|
-
readonly team_id: {
|
|
2219
|
-
readonly $ref: "#/components/schemas/defs_workspace_id";
|
|
2220
|
-
};
|
|
2221
|
-
readonly team_profile: {
|
|
2222
|
-
readonly additionalProperties: false;
|
|
2223
|
-
readonly properties: {
|
|
2224
|
-
readonly fields: {
|
|
2225
|
-
readonly items: {
|
|
2226
|
-
readonly $ref: "#/components/schemas/objs_team_profile_field";
|
|
2227
|
-
};
|
|
2228
|
-
readonly minItems: 1;
|
|
2229
|
-
readonly type: "array";
|
|
2230
|
-
readonly uniqueItems: true;
|
|
2231
|
-
};
|
|
2232
|
-
};
|
|
2233
|
-
readonly required: readonly ["fields"];
|
|
2234
|
-
readonly type: "object";
|
|
2235
|
-
};
|
|
2236
|
-
readonly teams: {
|
|
2237
|
-
readonly items: {
|
|
2238
|
-
readonly $ref: "#/components/schemas/defs_workspace_id";
|
|
2239
|
-
};
|
|
2240
|
-
readonly minItems: 1;
|
|
2241
|
-
readonly type: "array";
|
|
2242
|
-
readonly uniqueItems: true;
|
|
2243
|
-
};
|
|
2244
|
-
readonly two_factor_type: {
|
|
2245
|
-
readonly type: "string";
|
|
2246
|
-
};
|
|
2247
|
-
readonly tz: {
|
|
2248
|
-
readonly items: {
|
|
2249
|
-
readonly anyOf: readonly [{
|
|
2250
|
-
readonly nullable: true;
|
|
2251
|
-
}, {
|
|
2252
|
-
readonly type: "string";
|
|
2253
|
-
}];
|
|
2254
|
-
};
|
|
2255
|
-
};
|
|
2256
|
-
readonly tz_label: {
|
|
2257
|
-
readonly type: "string";
|
|
2258
|
-
};
|
|
2259
|
-
readonly tz_offset: {
|
|
2260
|
-
readonly type: "number";
|
|
2261
|
-
};
|
|
2262
|
-
readonly updated: {
|
|
2263
|
-
readonly type: "number";
|
|
2264
|
-
};
|
|
2265
|
-
};
|
|
2266
|
-
readonly required: readonly ["id", "name", "profile", "is_bot", "updated", "is_app_user"];
|
|
2267
|
-
readonly type: "object";
|
|
2268
|
-
}];
|
|
2269
|
-
};
|
|
2270
|
-
};
|
|
2271
|
-
export declare const objs_user_profileSchema: {
|
|
2272
|
-
readonly additionalProperties: false;
|
|
2273
|
-
readonly properties: {
|
|
2274
|
-
readonly always_active: {
|
|
2275
|
-
readonly type: "boolean";
|
|
2276
|
-
};
|
|
2277
|
-
readonly api_app_id: {
|
|
2278
|
-
readonly $ref: "#/components/schemas/defs_optional_app_id";
|
|
2279
|
-
};
|
|
2280
|
-
readonly avatar_hash: {
|
|
2281
|
-
readonly type: "string";
|
|
2282
|
-
};
|
|
2283
|
-
readonly bot_id: {
|
|
2284
|
-
readonly $ref: "#/components/schemas/defs_bot_id";
|
|
2285
|
-
};
|
|
2286
|
-
readonly display_name: {
|
|
2287
|
-
readonly type: "string";
|
|
2288
|
-
};
|
|
2289
|
-
readonly display_name_normalized: {
|
|
2290
|
-
readonly type: "string";
|
|
2291
|
-
};
|
|
2292
|
-
readonly email: {
|
|
2293
|
-
readonly format: "email";
|
|
2294
|
-
readonly nullable: true;
|
|
2295
|
-
readonly type: "string";
|
|
2296
|
-
};
|
|
2297
|
-
readonly fields: {
|
|
2298
|
-
readonly items: {
|
|
2299
|
-
readonly type: "object";
|
|
2300
|
-
};
|
|
2301
|
-
readonly nullable: true;
|
|
2302
|
-
readonly oneOf: readonly [{
|
|
2303
|
-
readonly type: "object";
|
|
2304
|
-
}, {
|
|
2305
|
-
readonly items: {};
|
|
2306
|
-
readonly type: "array";
|
|
2307
|
-
}];
|
|
2308
|
-
};
|
|
2309
|
-
readonly first_name: {
|
|
2310
|
-
readonly nullable: true;
|
|
2311
|
-
readonly type: "string";
|
|
2312
|
-
};
|
|
2313
|
-
readonly guest_expiration_ts: {
|
|
2314
|
-
readonly nullable: true;
|
|
2315
|
-
readonly type: "integer";
|
|
2316
|
-
};
|
|
2317
|
-
readonly guest_invited_by: {
|
|
2318
|
-
readonly nullable: true;
|
|
2319
|
-
readonly type: "string";
|
|
2320
|
-
};
|
|
2321
|
-
readonly image_1024: {
|
|
2322
|
-
readonly format: "uri";
|
|
2323
|
-
readonly nullable: true;
|
|
2324
|
-
readonly type: "string";
|
|
2325
|
-
};
|
|
2326
|
-
readonly image_192: {
|
|
2327
|
-
readonly format: "uri";
|
|
2328
|
-
readonly nullable: true;
|
|
2329
|
-
readonly type: "string";
|
|
2330
|
-
};
|
|
2331
|
-
readonly image_24: {
|
|
2332
|
-
readonly format: "uri";
|
|
2333
|
-
readonly nullable: true;
|
|
2334
|
-
readonly type: "string";
|
|
2335
|
-
};
|
|
2336
|
-
readonly image_32: {
|
|
2337
|
-
readonly format: "uri";
|
|
2338
|
-
readonly nullable: true;
|
|
2339
|
-
readonly type: "string";
|
|
2340
|
-
};
|
|
2341
|
-
readonly image_48: {
|
|
2342
|
-
readonly format: "uri";
|
|
2343
|
-
readonly nullable: true;
|
|
2344
|
-
readonly type: "string";
|
|
2345
|
-
};
|
|
2346
|
-
readonly image_512: {
|
|
2347
|
-
readonly format: "uri";
|
|
2348
|
-
readonly nullable: true;
|
|
2349
|
-
readonly type: "string";
|
|
2350
|
-
};
|
|
2351
|
-
readonly image_72: {
|
|
2352
|
-
readonly format: "uri";
|
|
2353
|
-
readonly nullable: true;
|
|
2354
|
-
readonly type: "string";
|
|
2355
|
-
};
|
|
2356
|
-
readonly image_original: {
|
|
2357
|
-
readonly format: "uri";
|
|
2358
|
-
readonly nullable: true;
|
|
2359
|
-
readonly type: "string";
|
|
2360
|
-
};
|
|
2361
|
-
readonly is_app_user: {
|
|
2362
|
-
readonly type: "boolean";
|
|
2363
|
-
};
|
|
2364
|
-
readonly is_custom_image: {
|
|
2365
|
-
readonly type: "boolean";
|
|
2366
|
-
};
|
|
2367
|
-
readonly is_restricted: {
|
|
2368
|
-
readonly nullable: true;
|
|
2369
|
-
readonly type: "boolean";
|
|
2370
|
-
};
|
|
2371
|
-
readonly is_ultra_restricted: {
|
|
2372
|
-
readonly nullable: true;
|
|
2373
|
-
readonly type: "boolean";
|
|
2374
|
-
};
|
|
2375
|
-
readonly last_avatar_image_hash: {
|
|
2376
|
-
readonly type: "string";
|
|
2377
|
-
};
|
|
2378
|
-
readonly last_name: {
|
|
2379
|
-
readonly nullable: true;
|
|
2380
|
-
readonly type: "string";
|
|
2381
|
-
};
|
|
2382
|
-
readonly memberships_count: {
|
|
2383
|
-
readonly type: "integer";
|
|
2384
|
-
};
|
|
2385
|
-
readonly name: {
|
|
2386
|
-
readonly nullable: true;
|
|
2387
|
-
readonly type: "string";
|
|
2388
|
-
};
|
|
2389
|
-
readonly phone: {
|
|
2390
|
-
readonly type: "string";
|
|
2391
|
-
};
|
|
2392
|
-
readonly pronouns: {
|
|
2393
|
-
readonly type: "string";
|
|
2394
|
-
};
|
|
2395
|
-
readonly real_name: {
|
|
2396
|
-
readonly type: "string";
|
|
2397
|
-
};
|
|
2398
|
-
readonly real_name_normalized: {
|
|
2399
|
-
readonly type: "string";
|
|
2400
|
-
};
|
|
2401
|
-
readonly skype: {
|
|
2402
|
-
readonly type: "string";
|
|
2403
|
-
};
|
|
2404
|
-
readonly status_default_emoji: {
|
|
2405
|
-
readonly type: "string";
|
|
2406
|
-
};
|
|
2407
|
-
readonly status_default_text: {
|
|
2408
|
-
readonly type: "string";
|
|
2409
|
-
};
|
|
2410
|
-
readonly status_default_text_canonical: {
|
|
2411
|
-
readonly nullable: true;
|
|
2412
|
-
readonly type: "string";
|
|
2413
|
-
};
|
|
2414
|
-
readonly status_emoji: {
|
|
2415
|
-
readonly type: "string";
|
|
2416
|
-
};
|
|
2417
|
-
readonly status_expiration: {
|
|
2418
|
-
readonly type: "integer";
|
|
2419
|
-
};
|
|
2420
|
-
readonly status_text: {
|
|
2421
|
-
readonly type: "string";
|
|
2422
|
-
};
|
|
2423
|
-
readonly status_text_canonical: {
|
|
2424
|
-
readonly nullable: true;
|
|
2425
|
-
readonly type: "string";
|
|
2426
|
-
};
|
|
2427
|
-
readonly team: {
|
|
2428
|
-
readonly $ref: "#/components/schemas/defs_workspace_id";
|
|
2429
|
-
};
|
|
2430
|
-
readonly title: {
|
|
2431
|
-
readonly type: "string";
|
|
2432
|
-
};
|
|
2433
|
-
readonly updated: {
|
|
2434
|
-
readonly type: "integer";
|
|
2435
|
-
};
|
|
2436
|
-
readonly user_id: {
|
|
2437
|
-
readonly type: "string";
|
|
2438
|
-
};
|
|
2439
|
-
readonly username: {
|
|
2440
|
-
readonly nullable: true;
|
|
2441
|
-
readonly type: "string";
|
|
2442
|
-
};
|
|
2443
|
-
};
|
|
2444
|
-
readonly required: readonly ["real_name", "display_name", "avatar_hash", "real_name_normalized", "display_name_normalized", "title", "phone", "skype", "status_text", "status_emoji", "fields"];
|
|
2445
|
-
readonly title: "User profile object";
|
|
2446
|
-
readonly type: "object";
|
|
2447
|
-
};
|
|
2448
|
-
export declare const objs_user_profile_shortSchema: {
|
|
2449
|
-
readonly additionalProperties: false;
|
|
2450
|
-
readonly properties: {
|
|
2451
|
-
readonly avatar_hash: {
|
|
2452
|
-
readonly type: "string";
|
|
2453
|
-
};
|
|
2454
|
-
readonly display_name: {
|
|
2455
|
-
readonly type: "string";
|
|
2456
|
-
};
|
|
2457
|
-
readonly display_name_normalized: {
|
|
2458
|
-
readonly type: "string";
|
|
2459
|
-
};
|
|
2460
|
-
readonly first_name: {
|
|
2461
|
-
readonly nullable: true;
|
|
2462
|
-
readonly type: "string";
|
|
2463
|
-
};
|
|
2464
|
-
readonly image_72: {
|
|
2465
|
-
readonly format: "uri";
|
|
2466
|
-
readonly type: "string";
|
|
2467
|
-
};
|
|
2468
|
-
readonly is_restricted: {
|
|
2469
|
-
readonly type: "boolean";
|
|
2470
|
-
};
|
|
2471
|
-
readonly is_ultra_restricted: {
|
|
2472
|
-
readonly type: "boolean";
|
|
2473
|
-
};
|
|
2474
|
-
readonly name: {
|
|
2475
|
-
readonly type: "string";
|
|
2476
|
-
};
|
|
2477
|
-
readonly real_name: {
|
|
2478
|
-
readonly type: "string";
|
|
2479
|
-
};
|
|
2480
|
-
readonly real_name_normalized: {
|
|
2481
|
-
readonly type: "string";
|
|
2482
|
-
};
|
|
2483
|
-
readonly team: {
|
|
2484
|
-
readonly $ref: "#/components/schemas/defs_workspace_id";
|
|
2485
|
-
};
|
|
2486
|
-
};
|
|
2487
|
-
readonly required: readonly ["avatar_hash", "image_72", "first_name", "real_name", "display_name", "team", "name", "is_restricted", "is_ultra_restricted"];
|
|
2488
|
-
readonly type: "object";
|
|
2489
|
-
};
|