@wirecat/slack-cli 0.0.0-stage → 0.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.
Files changed (295) hide show
  1. package/CHANGELOG.md +104 -0
  2. package/LICENSE +204 -0
  3. package/README.md +131 -2
  4. package/contracts/wirecat.json +5526 -0
  5. package/dist/bin/slack.d.ts +3 -0
  6. package/dist/bin/slack.d.ts.map +1 -0
  7. package/dist/bin/slack.js +40 -0
  8. package/dist/bin/slack.js.map +1 -0
  9. package/dist/bundle/agent-GOFXFUQP.js +37 -0
  10. package/dist/bundle/all-profiles-4C7VOT2D.js +320 -0
  11. package/dist/bundle/anthropic-ZD66TC5S.js +91 -0
  12. package/dist/bundle/app-server-QNCVEDMY.js +249 -0
  13. package/dist/bundle/bun-2FULBYXS.js +169 -0
  14. package/dist/bundle/bun-sqlite-PMS26ZUT.js +76 -0
  15. package/dist/bundle/chunk-2LB5BWC4.js +362 -0
  16. package/dist/bundle/chunk-2ZEYRHZV.js +18 -0
  17. package/dist/bundle/chunk-3IJ3THPV.js +7 -0
  18. package/dist/bundle/chunk-4HSVEQ3R.js +29 -0
  19. package/dist/bundle/chunk-4QPMHVM5.js +1007 -0
  20. package/dist/bundle/chunk-53LIHHXC.js +16 -0
  21. package/dist/bundle/chunk-5F36CXDM.js +794 -0
  22. package/dist/bundle/chunk-5LPREGD3.js +12636 -0
  23. package/dist/bundle/chunk-5R5YRYIP.js +1148 -0
  24. package/dist/bundle/chunk-5RSQTG7L.js +388 -0
  25. package/dist/bundle/chunk-5SXZETJF.js +170 -0
  26. package/dist/bundle/chunk-6PDQP5RM.js +50 -0
  27. package/dist/bundle/chunk-75BLNPN3.js +1197 -0
  28. package/dist/bundle/chunk-7BEO72EN.js +131 -0
  29. package/dist/bundle/chunk-7F6RNAIM.js +230 -0
  30. package/dist/bundle/chunk-AG7FP64Z.js +77 -0
  31. package/dist/bundle/chunk-B7ZM3FCB.js +61 -0
  32. package/dist/bundle/chunk-BRXTN5LJ.js +338 -0
  33. package/dist/bundle/chunk-CABZAU37.js +319 -0
  34. package/dist/bundle/chunk-CCOSG3F2.js +24616 -0
  35. package/dist/bundle/chunk-CDTZSFTN.js +58 -0
  36. package/dist/bundle/chunk-CMZBCWND.js +1246 -0
  37. package/dist/bundle/chunk-CRQEEJNF.js +185 -0
  38. package/dist/bundle/chunk-CWYU4R65.js +358 -0
  39. package/dist/bundle/chunk-CZFR6JQX.js +52 -0
  40. package/dist/bundle/chunk-D72URWJE.js +532 -0
  41. package/dist/bundle/chunk-DFDN6AUB.js +21 -0
  42. package/dist/bundle/chunk-DVHX7R54.js +4072 -0
  43. package/dist/bundle/chunk-DYKOG7QR.js +9596 -0
  44. package/dist/bundle/chunk-ECDI42G6.js +100 -0
  45. package/dist/bundle/chunk-EH6ZEJGT.js +932 -0
  46. package/dist/bundle/chunk-ELY2TLCY.js +259 -0
  47. package/dist/bundle/chunk-ERRVUVKR.js +156 -0
  48. package/dist/bundle/chunk-FBWR4E5D.js +353 -0
  49. package/dist/bundle/chunk-GKS6KL57.js +6848 -0
  50. package/dist/bundle/chunk-H2COZZ55.js +2787 -0
  51. package/dist/bundle/chunk-HGXTEK7R.js +82 -0
  52. package/dist/bundle/chunk-HXLXM7HV.js +726 -0
  53. package/dist/bundle/chunk-IPP4N6HD.js +24 -0
  54. package/dist/bundle/chunk-IWTVR7S7.js +53 -0
  55. package/dist/bundle/chunk-IYJH75D4.js +63 -0
  56. package/dist/bundle/chunk-JCZLRT4Z.js +39 -0
  57. package/dist/bundle/chunk-JGRWMR5H.js +123 -0
  58. package/dist/bundle/chunk-JYRYQJBN.js +633 -0
  59. package/dist/bundle/chunk-KIKLDI74.js +161 -0
  60. package/dist/bundle/chunk-L4WO3XH6.js +2020 -0
  61. package/dist/bundle/chunk-LQDNUAK3.js +274 -0
  62. package/dist/bundle/chunk-LV5ONLQH.js +38 -0
  63. package/dist/bundle/chunk-M27Z23OZ.js +23 -0
  64. package/dist/bundle/chunk-M5XTZHXM.js +142 -0
  65. package/dist/bundle/chunk-MJBEGUIZ.js +76 -0
  66. package/dist/bundle/chunk-N4WOLGIV.js +2333 -0
  67. package/dist/bundle/chunk-N5K4OHPT.js +206 -0
  68. package/dist/bundle/chunk-NYAPUET7.js +108 -0
  69. package/dist/bundle/chunk-P4IFLOIK.js +218 -0
  70. package/dist/bundle/chunk-P6G2QTCD.js +288 -0
  71. package/dist/bundle/chunk-PL5P7UKW.js +25216 -0
  72. package/dist/bundle/chunk-PU7R6XNV.js +80 -0
  73. package/dist/bundle/chunk-QLLBACDR.js +72 -0
  74. package/dist/bundle/chunk-QP7XN5KX.js +407 -0
  75. package/dist/bundle/chunk-QY2F6A3D.js +557 -0
  76. package/dist/bundle/chunk-RLIT7VAZ.js +66 -0
  77. package/dist/bundle/chunk-S4UUN6LD.js +1410 -0
  78. package/dist/bundle/chunk-SKGAKI62.js +86 -0
  79. package/dist/bundle/chunk-SQMZP5MA.js +66653 -0
  80. package/dist/bundle/chunk-UB6NTICY.js +95 -0
  81. package/dist/bundle/chunk-UBHQO5HV.js +778 -0
  82. package/dist/bundle/chunk-UM4RKO24.js +106 -0
  83. package/dist/bundle/chunk-VAHFY732.js +1068 -0
  84. package/dist/bundle/chunk-VGDM4C3F.js +188 -0
  85. package/dist/bundle/chunk-VOUAKCPM.js +41181 -0
  86. package/dist/bundle/chunk-WCCFJ4Q6.js +3736 -0
  87. package/dist/bundle/chunk-WV6EXRDV.js +46 -0
  88. package/dist/bundle/chunk-WVAT5TGY.js +334 -0
  89. package/dist/bundle/chunk-WW76JMKE.js +1243 -0
  90. package/dist/bundle/chunk-XXOMUKC6.js +54 -0
  91. package/dist/bundle/chunk-Y5E2WNWB.js +35 -0
  92. package/dist/bundle/chunk-YDO6RJ2P.js +1337 -0
  93. package/dist/bundle/chunk-ZBCFZCJW.js +388 -0
  94. package/dist/bundle/chunk-ZVVMGPBJ.js +50 -0
  95. package/dist/bundle/command-contract-BWGRUY6L.js +37 -0
  96. package/dist/bundle/command-server-entry-BATOWE3Y.js +166 -0
  97. package/dist/bundle/decode-MZQGYXJH.js +297 -0
  98. package/dist/bundle/definitions-3EONB23J.js +8600 -0
  99. package/dist/bundle/dispatch-NYC4ARWX.js +411 -0
  100. package/dist/bundle/dist-PAKDDIBT.js +191 -0
  101. package/dist/bundle/dist-XZ65GRQ6.js +7577 -0
  102. package/dist/bundle/echarts-7OYGL2GW.js +42501 -0
  103. package/dist/bundle/embed-4I25DVKZ.js +38 -0
  104. package/dist/bundle/embedder-YXKQHAZO.js +111 -0
  105. package/dist/bundle/emoji-4LYX3GOS.js +4271 -0
  106. package/dist/bundle/failure-3YOVYZTX.js +25 -0
  107. package/dist/bundle/first-run-2VL2BOV7.js +29 -0
  108. package/dist/bundle/first-screen-C7FIWZL2.js +37 -0
  109. package/dist/bundle/instructions-UMNDHXG2.js +11 -0
  110. package/dist/bundle/mcp-V27RHILF.js +167 -0
  111. package/dist/bundle/meeting-combined-LS6XO4JH.js +24 -0
  112. package/dist/bundle/meeting-model-VIR465CY.js +25 -0
  113. package/dist/bundle/meeting-semantic-H5J3OOF2.js +22 -0
  114. package/dist/bundle/node-JJ3WDCNJ.js +2340 -0
  115. package/dist/bundle/node-PYFPGL4E.js +176 -0
  116. package/dist/bundle/node-TLZSIHIJ.js +21 -0
  117. package/dist/bundle/node-sqlite-LFWPGDVP.js +74 -0
  118. package/dist/bundle/oauth-42VCSIVL.js +20 -0
  119. package/dist/bundle/open-XJ5R5LHC.js +23 -0
  120. package/dist/bundle/openai-RZBLV4HG.js +238 -0
  121. package/dist/bundle/process-DD6H3K7L.js +91 -0
  122. package/dist/bundle/program-33RT6DER.js +35421 -0
  123. package/dist/bundle/prompt-NQRDM5LY.js +17 -0
  124. package/dist/bundle/recognize-EM7H2IZS.js +26 -0
  125. package/dist/bundle/remote-Z6NU6QQA.js +31 -0
  126. package/dist/bundle/rerank-PNPCSPNF.js +52 -0
  127. package/dist/bundle/schemas-JMKNP4U3.js +2765 -0
  128. package/dist/bundle/serve-SQVGX76J.js +199 -0
  129. package/dist/bundle/server-NPJH45FZ.js +212 -0
  130. package/dist/bundle/server-Z4ZMGRAH.js +79 -0
  131. package/dist/bundle/slack.js +184 -0
  132. package/dist/bundle/sqlite-runtime-F3AJGAPN.js +20 -0
  133. package/dist/bundle/state-JT7ZFSXN.js +36 -0
  134. package/dist/bundle/store-FXGMHRF3.js +181 -0
  135. package/dist/bundle/store-J5ZL2USR.js +295 -0
  136. package/dist/bundle/store-maintenance-command-TIHOIKLZ.js +66 -0
  137. package/dist/bundle/surface-NW6T5OR6.js +65 -0
  138. package/dist/commands/api.d.ts +7 -0
  139. package/dist/commands/api.d.ts.map +1 -0
  140. package/dist/commands/api.js +49 -0
  141. package/dist/commands/api.js.map +1 -0
  142. package/dist/commands/comments.d.ts +3 -0
  143. package/dist/commands/comments.d.ts.map +1 -0
  144. package/dist/commands/comments.js +114 -0
  145. package/dist/commands/comments.js.map +1 -0
  146. package/dist/commands/doctor.d.ts +7 -0
  147. package/dist/commands/doctor.d.ts.map +1 -0
  148. package/dist/commands/doctor.js +53 -0
  149. package/dist/commands/doctor.js.map +1 -0
  150. package/dist/commands/session.d.ts +7 -0
  151. package/dist/commands/session.d.ts.map +1 -0
  152. package/dist/commands/session.js +26 -0
  153. package/dist/commands/session.js.map +1 -0
  154. package/dist/config.d.ts +24 -0
  155. package/dist/config.d.ts.map +1 -0
  156. package/dist/config.js +75 -0
  157. package/dist/config.js.map +1 -0
  158. package/dist/context.d.ts +59 -0
  159. package/dist/context.d.ts.map +1 -0
  160. package/dist/context.js +75 -0
  161. package/dist/context.js.map +1 -0
  162. package/dist/generated/definitions.d.ts +3 -0
  163. package/dist/generated/definitions.d.ts.map +1 -0
  164. package/dist/generated/definitions.js +8596 -0
  165. package/dist/generated/definitions.js.map +1 -0
  166. package/dist/generated/emoji.d.ts +2 -0
  167. package/dist/generated/emoji.d.ts.map +1 -0
  168. package/dist/generated/emoji.js +4265 -0
  169. package/dist/generated/emoji.js.map +1 -0
  170. package/dist/generated/manifest.d.ts +6 -0
  171. package/dist/generated/manifest.d.ts.map +1 -0
  172. package/dist/generated/manifest.js +6139 -0
  173. package/dist/generated/manifest.js.map +1 -0
  174. package/dist/generated/schemas.d.ts +631 -0
  175. package/dist/generated/schemas.d.ts.map +1 -0
  176. package/dist/generated/schemas.js +2426 -0
  177. package/dist/generated/schemas.js.map +1 -0
  178. package/dist/generated/types.d.ts +3220 -0
  179. package/dist/generated/types.d.ts.map +1 -0
  180. package/dist/generated/types.js +5 -0
  181. package/dist/generated/types.js.map +1 -0
  182. package/dist/identity.d.ts +29 -0
  183. package/dist/identity.d.ts.map +1 -0
  184. package/dist/identity.js +32 -0
  185. package/dist/identity.js.map +1 -0
  186. package/dist/index.d.ts +3 -0
  187. package/dist/index.d.ts.map +1 -0
  188. package/dist/index.js +3 -0
  189. package/dist/index.js.map +1 -0
  190. package/dist/messenger.d.ts +12 -0
  191. package/dist/messenger.d.ts.map +1 -0
  192. package/dist/messenger.js +184 -0
  193. package/dist/messenger.js.map +1 -0
  194. package/dist/program.d.ts +6 -0
  195. package/dist/program.d.ts.map +1 -0
  196. package/dist/program.js +116 -0
  197. package/dist/program.js.map +1 -0
  198. package/dist/reasons.d.ts +7 -0
  199. package/dist/reasons.d.ts.map +1 -0
  200. package/dist/reasons.js +20 -0
  201. package/dist/reasons.js.map +1 -0
  202. package/dist/sample/comments.d.ts +61 -0
  203. package/dist/sample/comments.d.ts.map +1 -0
  204. package/dist/sample/comments.js +39 -0
  205. package/dist/sample/comments.js.map +1 -0
  206. package/dist/sample/records.d.ts +16 -0
  207. package/dist/sample/records.d.ts.map +1 -0
  208. package/dist/sample/records.js +22 -0
  209. package/dist/sample/records.js.map +1 -0
  210. package/dist/sample/transport.d.ts +42 -0
  211. package/dist/sample/transport.d.ts.map +1 -0
  212. package/dist/sample/transport.js +153 -0
  213. package/dist/sample/transport.js.map +1 -0
  214. package/dist/setup/flow.d.ts +2 -0
  215. package/dist/setup/flow.d.ts.map +1 -0
  216. package/dist/setup/flow.js +83 -0
  217. package/dist/setup/flow.js.map +1 -0
  218. package/dist/setup/guide.d.ts +6 -0
  219. package/dist/setup/guide.d.ts.map +1 -0
  220. package/dist/setup/guide.js +13 -0
  221. package/dist/setup/guide.js.map +1 -0
  222. package/dist/setup/texts.d.ts +24 -0
  223. package/dist/setup/texts.d.ts.map +1 -0
  224. package/dist/setup/texts.js +24 -0
  225. package/dist/setup/texts.js.map +1 -0
  226. package/dist/slack/adapter.d.ts +36 -0
  227. package/dist/slack/adapter.d.ts.map +1 -0
  228. package/dist/slack/adapter.js +551 -0
  229. package/dist/slack/adapter.js.map +1 -0
  230. package/dist/slack/app-manifest.d.ts +25 -0
  231. package/dist/slack/app-manifest.d.ts.map +1 -0
  232. package/dist/slack/app-manifest.js +51 -0
  233. package/dist/slack/app-manifest.js.map +1 -0
  234. package/dist/slack/client.d.ts +45 -0
  235. package/dist/slack/client.d.ts.map +1 -0
  236. package/dist/slack/client.js +236 -0
  237. package/dist/slack/client.js.map +1 -0
  238. package/dist/slack/map.d.ts +429 -0
  239. package/dist/slack/map.d.ts.map +1 -0
  240. package/dist/slack/map.js +406 -0
  241. package/dist/slack/map.js.map +1 -0
  242. package/dist/slack/mrkdwn.d.ts +9 -0
  243. package/dist/slack/mrkdwn.d.ts.map +1 -0
  244. package/dist/slack/mrkdwn.js +56 -0
  245. package/dist/slack/mrkdwn.js.map +1 -0
  246. package/dist/slack/search.d.ts +24 -0
  247. package/dist/slack/search.d.ts.map +1 -0
  248. package/dist/slack/search.js +99 -0
  249. package/dist/slack/search.js.map +1 -0
  250. package/dist/slack/threads.d.ts +28 -0
  251. package/dist/slack/threads.d.ts.map +1 -0
  252. package/dist/slack/threads.js +56 -0
  253. package/dist/slack/threads.js.map +1 -0
  254. package/dist/slack/tokens.d.ts +17 -0
  255. package/dist/slack/tokens.d.ts.map +1 -0
  256. package/dist/slack/tokens.js +27 -0
  257. package/dist/slack/tokens.js.map +1 -0
  258. package/dist/slack/writes.d.ts +43 -0
  259. package/dist/slack/writes.d.ts.map +1 -0
  260. package/dist/slack/writes.js +277 -0
  261. package/dist/slack/writes.js.map +1 -0
  262. package/dist/version.d.ts +2 -0
  263. package/dist/version.d.ts.map +1 -0
  264. package/dist/version.js +2 -0
  265. package/dist/version.js.map +1 -0
  266. package/dist/wcat.d.ts +3 -0
  267. package/dist/wcat.d.ts.map +1 -0
  268. package/dist/wcat.js +4 -0
  269. package/dist/wcat.js.map +1 -0
  270. package/package.json +89 -4
  271. package/skills/slack-cli/SKILL.md +117 -0
  272. package/skills/slack-cli/references/api/api-admin.md +541 -0
  273. package/skills/slack-cli/references/api/api-api.md +13 -0
  274. package/skills/slack-cli/references/api/api-apps.md +78 -0
  275. package/skills/slack-cli/references/api/api-auth.md +18 -0
  276. package/skills/slack-cli/references/api/api-bots.md +12 -0
  277. package/skills/slack-cli/references/api/api-calls.md +68 -0
  278. package/skills/slack-cli/references/api/api-chat.md +123 -0
  279. package/skills/slack-cli/references/api/api-conversations.md +230 -0
  280. package/skills/slack-cli/references/api/api-dialog.md +13 -0
  281. package/skills/slack-cli/references/api/api-dnd.md +31 -0
  282. package/skills/slack-cli/references/api/api-emoji.md +8 -0
  283. package/skills/slack-cli/references/api/api-files.md +120 -0
  284. package/skills/slack-cli/references/api/api-migration.md +14 -0
  285. package/skills/slack-cli/references/api/api-pins.md +37 -0
  286. package/skills/slack-cli/references/api/api-reactions.md +58 -0
  287. package/skills/slack-cli/references/api/api-reminders.md +51 -0
  288. package/skills/slack-cli/references/api/api-search.md +18 -0
  289. package/skills/slack-cli/references/api/api-stars.md +42 -0
  290. package/skills/slack-cli/references/api/api-team.md +55 -0
  291. package/skills/slack-cli/references/api/api-usergroups.md +80 -0
  292. package/skills/slack-cli/references/api/api-users.md +101 -0
  293. package/skills/slack-cli/references/api/api-views.md +46 -0
  294. package/skills/slack-cli/references/api/api-workflows.md +36 -0
  295. package/skills/slack-cli/references/api.md +35 -0
@@ -0,0 +1,3220 @@
1
+ /** This is a very loose definition, in the future, we'll populate this with deeper schema in this definition namespace. */
2
+ export type Blocks = Array<{
3
+ type: string;
4
+ } & {
5
+ [key: string]: unknown;
6
+ }>;
7
+ export type DefsAppId = string;
8
+ export type DefsBotId = string;
9
+ export type DefsChannel = string;
10
+ export type DefsChannelId = string;
11
+ export type DefsChannelName = string;
12
+ export type DefsCommentId = string;
13
+ export type DefsDmId = string;
14
+ export type DefsEnterpriseId = string;
15
+ export type DefsEnterpriseName = string;
16
+ export type DefsEnterpriseUserId = string;
17
+ export type DefsFileId = string;
18
+ export type DefsGroupId = string;
19
+ export type DefsOkFalse = false;
20
+ export type DefsOkTrue = true;
21
+ export type DefsOptionalAppId = string;
22
+ export type DefsPinnedInfo = {
23
+ [key: string]: unknown;
24
+ };
25
+ export type DefsReminderId = string;
26
+ export type DefsSubteamId = string;
27
+ export type DefsTeam = string;
28
+ export type DefsTopicPurposeCreator = string;
29
+ export type DefsTs = string;
30
+ export type DefsUserId = string;
31
+ export type DefsWorkspaceId = string;
32
+ export type ObjsBotProfile = {
33
+ app_id: DefsAppId;
34
+ deleted: boolean;
35
+ icons: {
36
+ image_36: string;
37
+ image_48: string;
38
+ image_72: string;
39
+ } & {
40
+ [key: string]: unknown;
41
+ };
42
+ id: DefsBotId;
43
+ name: string;
44
+ team_id: DefsTeam;
45
+ updated: number;
46
+ } & {
47
+ [key: string]: unknown;
48
+ };
49
+ export type ObjsChannel = {
50
+ accepted_user?: DefsUserId;
51
+ created: number;
52
+ creator: DefsUserId;
53
+ id: DefsChannelId;
54
+ is_archived?: boolean;
55
+ is_channel: boolean;
56
+ is_frozen?: boolean;
57
+ is_general?: boolean;
58
+ is_member?: boolean;
59
+ is_moved?: number;
60
+ is_mpim: boolean;
61
+ is_non_threadable?: boolean;
62
+ is_org_shared: boolean;
63
+ is_pending_ext_shared?: boolean;
64
+ is_private: boolean;
65
+ is_read_only?: boolean;
66
+ is_shared: boolean;
67
+ is_thread_only?: boolean;
68
+ last_read?: DefsTs;
69
+ latest?: ObjsMessage | null;
70
+ members: Array<DefsUserId>;
71
+ name: string;
72
+ name_normalized: string;
73
+ num_members?: number;
74
+ pending_shared?: Array<DefsTeam>;
75
+ previous_names?: Array<DefsChannelName>;
76
+ priority?: number;
77
+ purpose: {
78
+ creator: DefsTopicPurposeCreator;
79
+ last_set: number;
80
+ value: string;
81
+ } & {
82
+ [key: string]: unknown;
83
+ };
84
+ topic: {
85
+ creator: DefsTopicPurposeCreator;
86
+ last_set: number;
87
+ value: string;
88
+ } & {
89
+ [key: string]: unknown;
90
+ };
91
+ unlinked?: number;
92
+ unread_count?: number;
93
+ unread_count_display?: number;
94
+ } & {
95
+ [key: string]: unknown;
96
+ };
97
+ export type ObjsComment = {
98
+ comment: string;
99
+ created: number;
100
+ id: DefsCommentId;
101
+ is_intro: boolean;
102
+ is_starred?: boolean;
103
+ num_stars?: number;
104
+ pinned_info?: DefsPinnedInfo;
105
+ pinned_to?: Array<DefsChannel>;
106
+ reactions?: Array<ObjsReaction>;
107
+ timestamp: number;
108
+ user: DefsUserId;
109
+ } & {
110
+ [key: string]: unknown;
111
+ };
112
+ export type ObjsComments = Array<unknown>;
113
+ export type ObjsConversation = ({
114
+ accepted_user?: DefsUserId;
115
+ connected_team_ids?: Array<DefsWorkspaceId>;
116
+ conversation_host_id?: DefsWorkspaceId;
117
+ created: number;
118
+ creator: DefsUserId;
119
+ display_counts?: {
120
+ display_counts: number;
121
+ guest_counts: number;
122
+ } & {
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?: DefsChannel | 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
+ } & {
168
+ [key: string]: unknown;
169
+ };
170
+ shared_team_ids?: Array<DefsTeam>;
171
+ shares?: Array<{
172
+ accepted_user?: DefsUserId;
173
+ is_active: boolean;
174
+ team: ObjsTeam;
175
+ user: DefsUserId;
176
+ } & {
177
+ [key: string]: unknown;
178
+ }>;
179
+ timezone_count?: number;
180
+ topic: {
181
+ creator: DefsTopicPurposeCreator;
182
+ last_set: number;
183
+ value: string;
184
+ } & {
185
+ [key: string]: unknown;
186
+ };
187
+ unlinked?: number;
188
+ unread_count?: number;
189
+ unread_count_display?: number;
190
+ use_case?: string;
191
+ user?: DefsUserId;
192
+ version?: number;
193
+ } & {
194
+ [key: string]: unknown;
195
+ }) | ({
196
+ accepted_user?: DefsUserId;
197
+ connected_team_ids?: Array<DefsTeam>;
198
+ conversation_host_id?: DefsWorkspaceId;
199
+ created: number;
200
+ creator: DefsUserId;
201
+ display_counts?: {
202
+ display_counts: number;
203
+ guest_counts: number;
204
+ } & {
205
+ [key: string]: unknown;
206
+ };
207
+ id: DefsChannel;
208
+ internal_team_ids?: Array<DefsTeam>;
209
+ is_archived: boolean;
210
+ is_channel: boolean;
211
+ is_ext_shared?: boolean;
212
+ is_frozen?: boolean;
213
+ is_general: boolean;
214
+ is_group: boolean;
215
+ is_im: boolean;
216
+ is_member?: boolean;
217
+ is_moved?: number;
218
+ is_mpim: true;
219
+ is_non_threadable?: boolean;
220
+ is_open?: boolean;
221
+ is_org_shared: boolean;
222
+ is_pending_ext_shared?: boolean;
223
+ is_private: boolean;
224
+ is_read_only?: boolean;
225
+ is_shared: boolean;
226
+ is_starred?: boolean;
227
+ is_thread_only?: boolean;
228
+ last_read?: DefsTs;
229
+ latest?: ObjsMessage | null;
230
+ members?: Array<DefsUserId>;
231
+ name: string;
232
+ name_normalized: string;
233
+ num_members?: number;
234
+ parent_conversation?: DefsChannel | null;
235
+ pending_connected_team_ids?: Array<DefsTeam>;
236
+ pending_shared?: Array<DefsTeam>;
237
+ pin_count?: number;
238
+ previous_names?: Array<DefsChannelName>;
239
+ priority?: number;
240
+ purpose: {
241
+ creator: DefsTopicPurposeCreator;
242
+ last_set: number;
243
+ value: string;
244
+ } & {
245
+ [key: string]: unknown;
246
+ };
247
+ shared_team_ids?: Array<DefsTeam>;
248
+ shares?: Array<{
249
+ accepted_user?: DefsUserId;
250
+ is_active: boolean;
251
+ team: ObjsTeam;
252
+ user: DefsUserId;
253
+ } & {
254
+ [key: string]: unknown;
255
+ }>;
256
+ timezone_count?: number;
257
+ topic: {
258
+ creator: DefsTopicPurposeCreator;
259
+ last_set: number;
260
+ value: string;
261
+ } & {
262
+ [key: string]: unknown;
263
+ };
264
+ unlinked?: number;
265
+ unread_count?: number;
266
+ unread_count_display?: number;
267
+ user?: DefsUserId;
268
+ version?: number;
269
+ } & {
270
+ [key: string]: unknown;
271
+ }) | ({
272
+ created: number;
273
+ has_pins?: boolean;
274
+ id: DefsDmId;
275
+ is_archived?: boolean;
276
+ is_ext_shared?: boolean;
277
+ is_frozen?: boolean;
278
+ is_im: boolean;
279
+ is_open?: boolean;
280
+ is_org_shared: boolean;
281
+ is_shared?: boolean;
282
+ is_starred?: boolean;
283
+ is_user_deleted?: boolean;
284
+ last_read?: DefsTs;
285
+ latest?: ObjsMessage | null;
286
+ parent_conversation?: DefsChannel | null;
287
+ pin_count?: number;
288
+ priority: number;
289
+ shares?: Array<{
290
+ date_create: number;
291
+ id: DefsTeam;
292
+ is_active: boolean;
293
+ name: string;
294
+ team: ObjsTeam;
295
+ } & {
296
+ [key: string]: unknown;
297
+ }>;
298
+ unread_count?: number;
299
+ unread_count_display?: number;
300
+ user: DefsUserId;
301
+ version?: number;
302
+ } & {
303
+ [key: string]: unknown;
304
+ });
305
+ export type ObjsEnterpriseUser = {
306
+ enterprise_id: DefsEnterpriseId;
307
+ enterprise_name: DefsEnterpriseName;
308
+ id: DefsEnterpriseUserId;
309
+ is_admin: boolean;
310
+ is_owner: boolean;
311
+ teams: Array<DefsTeam>;
312
+ } & {
313
+ [key: string]: unknown;
314
+ };
315
+ export type ObjsExternalOrgMigrations = {
316
+ current: Array<{
317
+ date_started: number;
318
+ team_id: string;
319
+ }>;
320
+ date_updated: number;
321
+ };
322
+ export type ObjsFile = {
323
+ channels?: Array<DefsChannelId>;
324
+ comments_count?: number;
325
+ created?: number;
326
+ date_delete?: number;
327
+ display_as_bot?: boolean;
328
+ editable?: boolean;
329
+ editor?: DefsUserId;
330
+ external_id?: string;
331
+ external_type?: string;
332
+ external_url?: string;
333
+ filetype?: string;
334
+ groups?: Array<DefsGroupId>;
335
+ has_rich_preview?: boolean;
336
+ id?: DefsFileId;
337
+ image_exif_rotation?: number;
338
+ ims?: Array<DefsDmId>;
339
+ is_external?: boolean;
340
+ is_public?: boolean;
341
+ is_starred?: boolean;
342
+ is_tombstoned?: boolean;
343
+ last_editor?: DefsUserId;
344
+ mimetype?: string;
345
+ mode?: string;
346
+ name?: string;
347
+ non_owner_editable?: boolean;
348
+ num_stars?: number;
349
+ original_h?: number;
350
+ original_w?: number;
351
+ permalink?: string;
352
+ permalink_public?: string;
353
+ pinned_info?: DefsPinnedInfo;
354
+ pinned_to?: Array<DefsChannel>;
355
+ pretty_type?: string;
356
+ preview?: string;
357
+ public_url_shared?: boolean;
358
+ reactions?: Array<ObjsReaction>;
359
+ shares?: {
360
+ private?: {
361
+ [key: string]: unknown;
362
+ };
363
+ public?: {
364
+ [key: string]: unknown;
365
+ };
366
+ } & {
367
+ [key: string]: unknown;
368
+ };
369
+ size?: number;
370
+ source_team?: DefsTeam;
371
+ state?: string;
372
+ thumb_1024?: string;
373
+ thumb_1024_h?: number;
374
+ thumb_1024_w?: number;
375
+ thumb_160?: string;
376
+ thumb_360?: string;
377
+ thumb_360_h?: number;
378
+ thumb_360_w?: number;
379
+ thumb_480?: string;
380
+ thumb_480_h?: number;
381
+ thumb_480_w?: number;
382
+ thumb_64?: string;
383
+ thumb_720?: string;
384
+ thumb_720_h?: number;
385
+ thumb_720_w?: number;
386
+ thumb_80?: string;
387
+ thumb_800?: string;
388
+ thumb_800_h?: number;
389
+ thumb_800_w?: number;
390
+ thumb_960?: string;
391
+ thumb_960_h?: number;
392
+ thumb_960_w?: number;
393
+ thumb_tiny?: string;
394
+ timestamp?: number;
395
+ title?: string;
396
+ updated?: number;
397
+ url_private?: string;
398
+ url_private_download?: string;
399
+ user?: string;
400
+ user_team?: DefsTeam;
401
+ username?: string;
402
+ } & {
403
+ [key: string]: unknown;
404
+ };
405
+ export type ObjsIcon = {
406
+ image_102?: string;
407
+ image_132?: string;
408
+ image_230?: string;
409
+ image_34?: string;
410
+ image_44?: string;
411
+ image_68?: string;
412
+ image_88?: string;
413
+ image_default?: boolean;
414
+ };
415
+ export type ObjsMessage = {
416
+ attachments?: Array<{
417
+ fallback?: string;
418
+ id: number;
419
+ image_bytes?: number;
420
+ image_height?: number;
421
+ image_url?: string;
422
+ image_width?: number;
423
+ } & {
424
+ [key: string]: unknown;
425
+ }>;
426
+ blocks?: Blocks;
427
+ bot_id?: DefsBotId | null;
428
+ bot_profile?: ObjsBotProfile;
429
+ client_msg_id?: string;
430
+ comment?: ObjsComment;
431
+ display_as_bot?: boolean;
432
+ file?: ObjsFile;
433
+ files?: Array<ObjsFile>;
434
+ icons?: {
435
+ emoji?: string;
436
+ image_64?: string;
437
+ } & {
438
+ [key: string]: unknown;
439
+ };
440
+ inviter?: DefsUserId;
441
+ is_delayed_message?: boolean;
442
+ is_intro?: boolean;
443
+ is_starred?: boolean;
444
+ last_read?: DefsTs;
445
+ latest_reply?: DefsTs;
446
+ name?: string;
447
+ old_name?: string;
448
+ parent_user_id?: DefsUserId;
449
+ permalink?: string;
450
+ pinned_to?: Array<DefsChannel>;
451
+ purpose?: string;
452
+ reactions?: Array<ObjsReaction>;
453
+ reply_count?: number;
454
+ reply_users?: Array<DefsUserId>;
455
+ reply_users_count?: number;
456
+ source_team?: DefsWorkspaceId;
457
+ subscribed?: boolean;
458
+ subtype?: string;
459
+ team?: DefsWorkspaceId;
460
+ text: string;
461
+ thread_ts?: DefsTs;
462
+ topic?: string;
463
+ ts: DefsTs;
464
+ type: string;
465
+ unread_count?: number;
466
+ upload?: boolean;
467
+ user?: DefsUserId;
468
+ user_profile?: ObjsUserProfileShort;
469
+ user_team?: DefsWorkspaceId;
470
+ username?: string;
471
+ } & {
472
+ [key: string]: unknown;
473
+ };
474
+ export type ObjsPaging = {
475
+ count?: number;
476
+ page: number;
477
+ pages?: number;
478
+ per_page?: number;
479
+ spill?: number;
480
+ total: number;
481
+ } & {
482
+ [key: string]: unknown;
483
+ };
484
+ export type ObjsPrimaryOwner = {
485
+ email: string;
486
+ id: string;
487
+ };
488
+ export type ObjsReaction = {
489
+ count: number;
490
+ name: string;
491
+ users: Array<DefsUserId>;
492
+ } & {
493
+ [key: string]: unknown;
494
+ };
495
+ export type ObjsReminder = {
496
+ complete_ts?: number;
497
+ creator: DefsUserId;
498
+ id: DefsReminderId;
499
+ recurring: boolean;
500
+ text: string;
501
+ time?: number;
502
+ user: DefsUserId;
503
+ } & {
504
+ [key: string]: unknown;
505
+ };
506
+ export type ObjsResources = {
507
+ excluded_ids?: Array<DefsChannel | DefsTeam>;
508
+ ids: Array<DefsChannel | DefsTeam>;
509
+ wildcard?: boolean;
510
+ } & {
511
+ [key: string]: unknown;
512
+ };
513
+ export type ObjsResponseMetadata = {
514
+ next_cursor?: string;
515
+ messages?: Array<string>;
516
+ warnings?: Array<string>;
517
+ };
518
+ export type ObjsScopes = Array<string>;
519
+ export type ObjsSubteam = {
520
+ auto_provision: boolean;
521
+ auto_type: "owner" | "admin" | null;
522
+ channel_count?: number;
523
+ created_by: DefsUserId;
524
+ date_create: number;
525
+ date_delete: number;
526
+ date_update: number;
527
+ deleted_by: DefsUserId | null;
528
+ description: string;
529
+ enterprise_subteam_id: string;
530
+ handle: string;
531
+ id: DefsSubteamId;
532
+ is_external: boolean;
533
+ is_subteam: boolean;
534
+ is_usergroup: boolean;
535
+ name: string;
536
+ prefs: {
537
+ channels: Array<DefsChannelId>;
538
+ groups: Array<DefsGroupId>;
539
+ } & {
540
+ [key: string]: unknown;
541
+ };
542
+ team_id: DefsTeam;
543
+ updated_by: DefsUserId;
544
+ user_count?: number;
545
+ users?: Array<DefsUserId>;
546
+ } & {
547
+ [key: string]: unknown;
548
+ };
549
+ export type ObjsTeam = {
550
+ archived?: boolean;
551
+ avatar_base_url?: string;
552
+ created?: number;
553
+ date_create?: number;
554
+ deleted?: boolean;
555
+ description?: string | null;
556
+ discoverable?: string | null;
557
+ domain: string;
558
+ email_domain: string;
559
+ enterprise_id?: DefsEnterpriseId;
560
+ enterprise_name?: DefsEnterpriseName;
561
+ external_org_migrations?: ObjsExternalOrgMigrations;
562
+ has_compliance_export?: boolean;
563
+ icon: ObjsIcon;
564
+ id: DefsWorkspaceId;
565
+ is_assigned?: boolean;
566
+ is_enterprise?: number;
567
+ is_over_storage_limit?: boolean;
568
+ limit_ts?: number;
569
+ locale?: string;
570
+ messages_count?: number;
571
+ msg_edit_window_mins?: number;
572
+ name: string;
573
+ over_integrations_limit?: boolean;
574
+ over_storage_limit?: boolean;
575
+ pay_prod_cur?: string;
576
+ plan?: "" | "std" | "plus" | "compliance" | "enterprise";
577
+ primary_owner?: ObjsPrimaryOwner;
578
+ sso_provider?: {
579
+ label?: string;
580
+ name?: string;
581
+ type?: string;
582
+ };
583
+ } & {
584
+ [key: string]: unknown;
585
+ };
586
+ export type ObjsTeamProfileField = {
587
+ field_name?: string | null;
588
+ hint: string;
589
+ id: string;
590
+ is_hidden?: boolean;
591
+ label: string;
592
+ options?: ObjsTeamProfileFieldOption | null;
593
+ ordering: number;
594
+ possible_values?: Array<string> | null;
595
+ type: "text" | "date" | "link" | "mailto" | "options_list" | "user";
596
+ } & {
597
+ [key: string]: unknown;
598
+ };
599
+ export type ObjsTeamProfileFieldOption = {
600
+ is_custom?: boolean | null;
601
+ is_multiple_entry?: boolean | null;
602
+ is_protected?: boolean | null;
603
+ is_scim?: boolean | null;
604
+ } & {
605
+ [key: string]: unknown;
606
+ };
607
+ export type ObjsUser = ({
608
+ color?: string;
609
+ deleted?: boolean;
610
+ enterprise_user?: ObjsEnterpriseUser;
611
+ has_2fa?: boolean;
612
+ id: DefsUserId;
613
+ is_admin?: boolean;
614
+ is_app_user: boolean;
615
+ is_bot: boolean;
616
+ is_external?: boolean;
617
+ is_forgotten?: boolean;
618
+ is_invited_user?: boolean;
619
+ is_owner?: boolean;
620
+ is_primary_owner?: boolean;
621
+ is_restricted?: boolean;
622
+ is_stranger?: boolean;
623
+ is_ultra_restricted?: boolean;
624
+ locale?: string;
625
+ name: string;
626
+ presence?: string;
627
+ profile: ObjsUserProfile;
628
+ real_name?: string;
629
+ team?: DefsWorkspaceId;
630
+ team_id?: DefsWorkspaceId;
631
+ team_profile?: {
632
+ fields: Array<ObjsTeamProfileField>;
633
+ } & {
634
+ [key: string]: unknown;
635
+ };
636
+ two_factor_type?: string;
637
+ tz?: string | null;
638
+ tz_label?: string;
639
+ tz_offset?: number;
640
+ updated: number;
641
+ } & {
642
+ [key: string]: unknown;
643
+ }) | ({
644
+ /** refercing to bug: https://jira.tinyspeck.com/browse/EVALUE-1559 */
645
+ color?: string;
646
+ deleted?: boolean;
647
+ enterprise_user?: ObjsEnterpriseUser;
648
+ has_2fa?: boolean;
649
+ id: DefsUserId;
650
+ is_admin?: boolean;
651
+ is_app_user: boolean;
652
+ is_bot: boolean;
653
+ is_external?: boolean;
654
+ is_forgotten?: boolean;
655
+ is_owner?: boolean;
656
+ is_primary_owner?: boolean;
657
+ is_restricted?: boolean;
658
+ is_stranger?: boolean;
659
+ is_ultra_restricted?: boolean;
660
+ locale?: string;
661
+ name: string;
662
+ presence?: string;
663
+ profile: ObjsUserProfile;
664
+ real_name?: string;
665
+ team_id?: DefsWorkspaceId;
666
+ team_profile?: {
667
+ fields: Array<ObjsTeamProfileField>;
668
+ } & {
669
+ [key: string]: unknown;
670
+ };
671
+ teams?: Array<DefsWorkspaceId>;
672
+ two_factor_type?: string;
673
+ tz?: string | null;
674
+ tz_label?: string;
675
+ tz_offset?: number;
676
+ updated: number;
677
+ } & {
678
+ [key: string]: unknown;
679
+ });
680
+ export type ObjsUserProfile = {
681
+ always_active?: boolean;
682
+ api_app_id?: DefsOptionalAppId;
683
+ avatar_hash: string;
684
+ bot_id?: DefsBotId;
685
+ display_name: string;
686
+ display_name_normalized: string;
687
+ email?: string | null;
688
+ fields: (Record<string, unknown> | Array<Record<string, unknown>>) | null;
689
+ first_name?: string | null;
690
+ guest_expiration_ts?: number | null;
691
+ guest_invited_by?: string | null;
692
+ image_1024?: string | null;
693
+ image_192?: string | null;
694
+ image_24?: string | null;
695
+ image_32?: string | null;
696
+ image_48?: string | null;
697
+ image_512?: string | null;
698
+ image_72?: string | null;
699
+ image_original?: string | null;
700
+ is_app_user?: boolean;
701
+ is_custom_image?: boolean;
702
+ is_restricted?: boolean | null;
703
+ is_ultra_restricted?: boolean | null;
704
+ last_avatar_image_hash?: string;
705
+ last_name?: string | null;
706
+ memberships_count?: number;
707
+ name?: string | null;
708
+ phone: string;
709
+ pronouns?: string;
710
+ real_name: string;
711
+ real_name_normalized: string;
712
+ skype: string;
713
+ status_default_emoji?: string;
714
+ status_default_text?: string;
715
+ status_default_text_canonical?: string | null;
716
+ status_emoji: string;
717
+ status_expiration?: number;
718
+ status_text: string;
719
+ status_text_canonical?: string | null;
720
+ team?: DefsWorkspaceId;
721
+ title: string;
722
+ updated?: number;
723
+ user_id?: string;
724
+ username?: string | null;
725
+ } & {
726
+ [key: string]: unknown;
727
+ };
728
+ export type ObjsUserProfileShort = {
729
+ avatar_hash: string;
730
+ display_name: string;
731
+ display_name_normalized?: string;
732
+ first_name: string | null;
733
+ image_72: string;
734
+ is_restricted: boolean;
735
+ is_ultra_restricted: boolean;
736
+ name: string;
737
+ real_name: string;
738
+ real_name_normalized?: string;
739
+ team: DefsWorkspaceId;
740
+ } & {
741
+ [key: string]: unknown;
742
+ };
743
+ export type AdminAppsApproveRequest = {
744
+ /** The id of the app to approve. */
745
+ app_id?: string;
746
+ /** The id of the request to approve. */
747
+ request_id?: string;
748
+ team_id?: string;
749
+ };
750
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
751
+ export type AdminAppsApproveResponse = {
752
+ ok: DefsOkTrue;
753
+ } & {
754
+ [key: string]: unknown;
755
+ };
756
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
757
+ export type AdminAppsApprovedListResponse = {
758
+ ok: DefsOkTrue;
759
+ } & {
760
+ [key: string]: unknown;
761
+ };
762
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
763
+ export type AdminAppsRequestsListResponse = {
764
+ ok: DefsOkTrue;
765
+ } & {
766
+ [key: string]: unknown;
767
+ };
768
+ export type AdminAppsRestrictRequest = {
769
+ /** The id of the app to restrict. */
770
+ app_id?: string;
771
+ /** The id of the request to restrict. */
772
+ request_id?: string;
773
+ team_id?: string;
774
+ };
775
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
776
+ export type AdminAppsRestrictResponse = {
777
+ ok: DefsOkTrue;
778
+ } & {
779
+ [key: string]: unknown;
780
+ };
781
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
782
+ export type AdminAppsRestrictedListResponse = {
783
+ ok: DefsOkTrue;
784
+ } & {
785
+ [key: string]: unknown;
786
+ };
787
+ export type AdminConversationsArchiveRequest = {
788
+ /** The channel to archive. */
789
+ channel_id: string;
790
+ };
791
+ /** Schema for successful response of admin.conversations.archive */
792
+ export type AdminConversationsArchiveResponse = {
793
+ ok: DefsOkTrue;
794
+ } & {
795
+ [key: string]: unknown;
796
+ };
797
+ export type AdminConversationsConvertToPrivateRequest = {
798
+ /** The channel to convert to private. */
799
+ channel_id: string;
800
+ };
801
+ /** Schema for successful response of admin.conversations.convertToPrivate */
802
+ export type AdminConversationsConvertToPrivateResponse = {
803
+ ok: DefsOkTrue;
804
+ } & {
805
+ [key: string]: unknown;
806
+ };
807
+ export type AdminConversationsCreateRequest = {
808
+ /** Name of the public or private channel to create. */
809
+ name: string;
810
+ /** Description of the public or private channel to create. */
811
+ description?: string;
812
+ /** When `true`, creates a private channel instead of a public channel */
813
+ is_private: boolean;
814
+ /** When `true`, the channel will be available org-wide. Note: if the channel is not `org_wide=true`, you must specify a `team_id` for this channel */
815
+ org_wide?: boolean;
816
+ /** The workspace to create the channel in. Note: this argument is required unless you set `org_wide=true`. */
817
+ team_id?: string;
818
+ };
819
+ /** Schema for successful response of admin.conversations.create */
820
+ export type AdminConversationsCreateResponse = {
821
+ channel_id?: DefsChannelId;
822
+ ok: DefsOkTrue;
823
+ } & {
824
+ [key: string]: unknown;
825
+ };
826
+ export type AdminConversationsDeleteRequest = {
827
+ /** The channel to delete. */
828
+ channel_id: string;
829
+ };
830
+ /** Schema for successful response of admin.conversations.delete */
831
+ export type AdminConversationsDeleteResponse = {
832
+ ok: DefsOkTrue;
833
+ } & {
834
+ [key: string]: unknown;
835
+ };
836
+ export type AdminConversationsDisconnectSharedRequest = {
837
+ /** The channel to be disconnected from some workspaces. */
838
+ channel_id: string;
839
+ /** The team to be removed from the channel. Currently only a single team id can be specified. */
840
+ leaving_team_ids?: string;
841
+ };
842
+ /** Schema for successful response of admin.conversations.disconnectShared */
843
+ export type AdminConversationsDisconnectSharedResponse = {
844
+ ok: DefsOkTrue;
845
+ } & {
846
+ [key: string]: unknown;
847
+ };
848
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
849
+ export type AdminConversationsEkmListOriginalConnectedChannelInfoResponse = {
850
+ ok: DefsOkTrue;
851
+ } & {
852
+ [key: string]: unknown;
853
+ };
854
+ /** Schema for successful response of admin.conversations.getConversationPrefs */
855
+ export type AdminConversationsGetConversationPrefsResponse = {
856
+ ok: DefsOkTrue;
857
+ prefs?: {
858
+ can_thread?: {
859
+ type?: Array<string>;
860
+ user?: Array<string>;
861
+ };
862
+ who_can_post?: {
863
+ type?: Array<string>;
864
+ user?: Array<string>;
865
+ };
866
+ };
867
+ } & {
868
+ [key: string]: unknown;
869
+ };
870
+ /** Schema for successful response of admin.conversations.getTeams */
871
+ export type AdminConversationsGetTeamsResponse = {
872
+ ok: DefsOkTrue;
873
+ response_metadata?: {
874
+ next_cursor: string;
875
+ } & {
876
+ [key: string]: unknown;
877
+ };
878
+ team_ids: Array<DefsTeam>;
879
+ } & {
880
+ [key: string]: unknown;
881
+ };
882
+ export type AdminConversationsInviteRequest = {
883
+ /** The users to invite. */
884
+ user_ids: string;
885
+ /** The channel that the users will be invited to. */
886
+ channel_id: string;
887
+ };
888
+ /** Schema for successful response of admin.conversations.invite */
889
+ export type AdminConversationsInviteResponse = {
890
+ ok: DefsOkTrue;
891
+ } & {
892
+ [key: string]: unknown;
893
+ };
894
+ export type AdminConversationsRenameRequest = {
895
+ /** The channel to rename. */
896
+ channel_id: string;
897
+ name: string;
898
+ };
899
+ /** Schema for successful response of admin.conversations.rename */
900
+ export type AdminConversationsRenameResponse = {
901
+ ok: DefsOkTrue;
902
+ } & {
903
+ [key: string]: unknown;
904
+ };
905
+ export type AdminConversationsRestrictAccessAddGroupRequest = {
906
+ /** The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization. */
907
+ team_id?: string;
908
+ /** The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to be an allowlist for the private channel. */
909
+ group_id: string;
910
+ /** The channel to link this group to. */
911
+ channel_id: string;
912
+ };
913
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
914
+ export type AdminConversationsRestrictAccessAddGroupResponse = {
915
+ ok: DefsOkTrue;
916
+ } & {
917
+ [key: string]: unknown;
918
+ };
919
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
920
+ export type AdminConversationsRestrictAccessListGroupsResponse = {
921
+ ok: DefsOkTrue;
922
+ } & {
923
+ [key: string]: unknown;
924
+ };
925
+ export type AdminConversationsRestrictAccessRemoveGroupRequest = {
926
+ /** The workspace where the channel exists. This argument is required for channels only tied to one workspace, and optional for channels that are shared across an organization. */
927
+ team_id: string;
928
+ /** The [IDP Group](https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org) ID to remove from the private channel. */
929
+ group_id: string;
930
+ /** The channel to remove the linked group from. */
931
+ channel_id: string;
932
+ };
933
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
934
+ export type AdminConversationsRestrictAccessRemoveGroupResponse = {
935
+ ok: DefsOkTrue;
936
+ } & {
937
+ [key: string]: unknown;
938
+ };
939
+ /** Schema for successful response of admin.conversations.search */
940
+ export type AdminConversationsSearchResponse = {
941
+ channels: Array<ObjsChannel>;
942
+ next_cursor: string;
943
+ } & {
944
+ [key: string]: unknown;
945
+ };
946
+ export type AdminConversationsSetConversationPrefsRequest = {
947
+ /** The channel to set the prefs for */
948
+ channel_id: string;
949
+ /** The prefs for this channel in a stringified JSON format. */
950
+ prefs: string;
951
+ };
952
+ /** Schema for successful response of admin.conversations.setConversationPrefs */
953
+ export type AdminConversationsSetConversationPrefsResponse = {
954
+ ok: DefsOkTrue;
955
+ } & {
956
+ [key: string]: unknown;
957
+ };
958
+ export type AdminConversationsSetTeamsRequest = {
959
+ /** The encoded `channel_id` to add or remove to workspaces. */
960
+ channel_id: string;
961
+ /** The workspace to which the channel belongs. Omit this argument if the channel is a cross-workspace shared channel. */
962
+ team_id?: string;
963
+ /** A comma-separated list of workspaces to which the channel should be shared. Not required if the channel is being shared org-wide. */
964
+ target_team_ids?: string;
965
+ /** True if channel has to be converted to an org channel */
966
+ org_channel?: boolean;
967
+ };
968
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
969
+ export type AdminConversationsSetTeamsResponse = {
970
+ ok: DefsOkTrue;
971
+ } & {
972
+ [key: string]: unknown;
973
+ };
974
+ export type AdminConversationsUnarchiveRequest = {
975
+ /** The channel to unarchive. */
976
+ channel_id: string;
977
+ };
978
+ /** Schema for successful response of admin.conversations.unarchive */
979
+ export type AdminConversationsUnarchiveResponse = {
980
+ ok: DefsOkTrue;
981
+ } & {
982
+ [key: string]: unknown;
983
+ };
984
+ export type AdminEmojiAddRequest = {
985
+ /** The name of the emoji to be removed. Colons (`:myemoji:`) around the value are not required, although they may be included. */
986
+ name: string;
987
+ /** The URL of a file to use as an image for the emoji. Square images under 128KB and with transparent backgrounds work best. */
988
+ url: string;
989
+ };
990
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
991
+ export type AdminEmojiAddResponse = {
992
+ ok: DefsOkTrue;
993
+ } & {
994
+ [key: string]: unknown;
995
+ };
996
+ export type AdminEmojiAddAliasRequest = {
997
+ /** The name of the emoji to be aliased. Colons (`:myemoji:`) around the value are not required, although they may be included. */
998
+ name: string;
999
+ /** The alias of the emoji. */
1000
+ alias_for: string;
1001
+ };
1002
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1003
+ export type AdminEmojiAddAliasResponse = {
1004
+ ok: DefsOkTrue;
1005
+ } & {
1006
+ [key: string]: unknown;
1007
+ };
1008
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1009
+ export type AdminEmojiListResponse = {
1010
+ ok: DefsOkTrue;
1011
+ } & {
1012
+ [key: string]: unknown;
1013
+ };
1014
+ export type AdminEmojiRemoveRequest = {
1015
+ /** The name of the emoji to be removed. Colons (`:myemoji:`) around the value are not required, although they may be included. */
1016
+ name: string;
1017
+ };
1018
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1019
+ export type AdminEmojiRemoveResponse = {
1020
+ ok: DefsOkTrue;
1021
+ } & {
1022
+ [key: string]: unknown;
1023
+ };
1024
+ export type AdminEmojiRenameRequest = {
1025
+ /** The name of the emoji to be renamed. Colons (`:myemoji:`) around the value are not required, although they may be included. */
1026
+ name: string;
1027
+ /** The new name of the emoji. */
1028
+ new_name: string;
1029
+ };
1030
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1031
+ export type AdminEmojiRenameResponse = {
1032
+ ok: DefsOkTrue;
1033
+ } & {
1034
+ [key: string]: unknown;
1035
+ };
1036
+ export type AdminInviteRequestsApproveRequest = {
1037
+ /** ID for the workspace where the invite request was made. */
1038
+ team_id?: string;
1039
+ /** ID of the request to invite. */
1040
+ invite_request_id: string;
1041
+ };
1042
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1043
+ export type AdminInviteRequestsApproveResponse = {
1044
+ ok: DefsOkTrue;
1045
+ } & {
1046
+ [key: string]: unknown;
1047
+ };
1048
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1049
+ export type AdminInviteRequestsApprovedListResponse = {
1050
+ ok: DefsOkTrue;
1051
+ } & {
1052
+ [key: string]: unknown;
1053
+ };
1054
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1055
+ export type AdminInviteRequestsDeniedListResponse = {
1056
+ ok: DefsOkTrue;
1057
+ } & {
1058
+ [key: string]: unknown;
1059
+ };
1060
+ export type AdminInviteRequestsDenyRequest = {
1061
+ /** ID for the workspace where the invite request was made. */
1062
+ team_id?: string;
1063
+ /** ID of the request to invite. */
1064
+ invite_request_id: string;
1065
+ };
1066
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1067
+ export type AdminInviteRequestsDenyResponse = {
1068
+ ok: DefsOkTrue;
1069
+ } & {
1070
+ [key: string]: unknown;
1071
+ };
1072
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1073
+ export type AdminInviteRequestsListResponse = {
1074
+ ok: DefsOkTrue;
1075
+ } & {
1076
+ [key: string]: unknown;
1077
+ };
1078
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1079
+ export type AdminTeamsAdminsListResponse = {
1080
+ ok: DefsOkTrue;
1081
+ } & {
1082
+ [key: string]: unknown;
1083
+ };
1084
+ export type AdminTeamsCreateRequest = {
1085
+ /** Team domain (for example, slacksoftballteam). */
1086
+ team_domain: string;
1087
+ /** Team name (for example, Slack Softball Team). */
1088
+ team_name: string;
1089
+ /** Description for the team. */
1090
+ team_description?: string;
1091
+ /** Who can join the team. A team's discoverability can be `open`, `closed`, `invite_only`, or `unlisted`. */
1092
+ team_discoverability?: string;
1093
+ };
1094
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1095
+ export type AdminTeamsCreateResponse = {
1096
+ ok: DefsOkTrue;
1097
+ } & {
1098
+ [key: string]: unknown;
1099
+ };
1100
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1101
+ export type AdminTeamsListResponse = {
1102
+ ok: DefsOkTrue;
1103
+ } & {
1104
+ [key: string]: unknown;
1105
+ };
1106
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1107
+ export type AdminTeamsOwnersListResponse = {
1108
+ ok: DefsOkTrue;
1109
+ } & {
1110
+ [key: string]: unknown;
1111
+ };
1112
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1113
+ export type AdminTeamsSettingsInfoResponse = {
1114
+ ok: DefsOkTrue;
1115
+ } & {
1116
+ [key: string]: unknown;
1117
+ };
1118
+ export type AdminTeamsSettingsSetDefaultChannelsRequest = {
1119
+ /** ID for the workspace to set the default channel for. */
1120
+ team_id: string;
1121
+ /** An array of channel IDs. */
1122
+ channel_ids: string;
1123
+ };
1124
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1125
+ export type AdminTeamsSettingsSetDefaultChannelsResponse = {
1126
+ ok: DefsOkTrue;
1127
+ } & {
1128
+ [key: string]: unknown;
1129
+ };
1130
+ export type AdminTeamsSettingsSetDescriptionRequest = {
1131
+ /** ID for the workspace to set the description for. */
1132
+ team_id: string;
1133
+ /** The new description for the workspace. */
1134
+ description: string;
1135
+ };
1136
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1137
+ export type AdminTeamsSettingsSetDescriptionResponse = {
1138
+ ok: DefsOkTrue;
1139
+ } & {
1140
+ [key: string]: unknown;
1141
+ };
1142
+ export type AdminTeamsSettingsSetDiscoverabilityRequest = {
1143
+ /** The ID of the workspace to set discoverability on. */
1144
+ team_id: string;
1145
+ /** This workspace's discovery setting. It must be set to one of `open`, `invite_only`, `closed`, or `unlisted`. */
1146
+ discoverability: string;
1147
+ };
1148
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1149
+ export type AdminTeamsSettingsSetDiscoverabilityResponse = {
1150
+ ok: DefsOkTrue;
1151
+ } & {
1152
+ [key: string]: unknown;
1153
+ };
1154
+ export type AdminTeamsSettingsSetIconRequest = {
1155
+ /** Image URL for the icon */
1156
+ image_url: string;
1157
+ /** ID for the workspace to set the icon for. */
1158
+ team_id: string;
1159
+ };
1160
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1161
+ export type AdminTeamsSettingsSetIconResponse = {
1162
+ ok: DefsOkTrue;
1163
+ } & {
1164
+ [key: string]: unknown;
1165
+ };
1166
+ export type AdminTeamsSettingsSetNameRequest = {
1167
+ /** ID for the workspace to set the name for. */
1168
+ team_id: string;
1169
+ /** The new name of the workspace. */
1170
+ name: string;
1171
+ };
1172
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1173
+ export type AdminTeamsSettingsSetNameResponse = {
1174
+ ok: DefsOkTrue;
1175
+ } & {
1176
+ [key: string]: unknown;
1177
+ };
1178
+ export type AdminUsergroupsAddChannelsRequest = {
1179
+ /** ID of the IDP group to add default channels for. */
1180
+ usergroup_id: string;
1181
+ /** The workspace to add default channels in. */
1182
+ team_id?: string;
1183
+ /** Comma separated string of channel IDs. */
1184
+ channel_ids: string;
1185
+ };
1186
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1187
+ export type AdminUsergroupsAddChannelsResponse = {
1188
+ ok: DefsOkTrue;
1189
+ } & {
1190
+ [key: string]: unknown;
1191
+ };
1192
+ export type AdminUsergroupsAddTeamsRequest = {
1193
+ /** An encoded usergroup (IDP Group) ID. */
1194
+ usergroup_id: string;
1195
+ /** A comma separated list of encoded team (workspace) IDs. Each workspace *MUST* belong to the organization associated with the token. */
1196
+ team_ids: string;
1197
+ /** When `true`, this method automatically creates new workspace accounts for the IDP group members. */
1198
+ auto_provision?: boolean;
1199
+ };
1200
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1201
+ export type AdminUsergroupsAddTeamsResponse = {
1202
+ ok: DefsOkTrue;
1203
+ } & {
1204
+ [key: string]: unknown;
1205
+ };
1206
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1207
+ export type AdminUsergroupsListChannelsResponse = {
1208
+ ok: DefsOkTrue;
1209
+ } & {
1210
+ [key: string]: unknown;
1211
+ };
1212
+ export type AdminUsergroupsRemoveChannelsRequest = {
1213
+ /** ID of the IDP Group */
1214
+ usergroup_id: string;
1215
+ /** Comma-separated string of channel IDs */
1216
+ channel_ids: string;
1217
+ };
1218
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1219
+ export type AdminUsergroupsRemoveChannelsResponse = {
1220
+ ok: DefsOkTrue;
1221
+ } & {
1222
+ [key: string]: unknown;
1223
+ };
1224
+ export type AdminUsersAssignRequest = {
1225
+ /** The ID (`T1234`) of the workspace. */
1226
+ team_id: string;
1227
+ /** The ID of the user to add to the workspace. */
1228
+ user_id: string;
1229
+ /** True if user should be added to the workspace as a guest. */
1230
+ is_restricted?: boolean;
1231
+ /** True if user should be added to the workspace as a single-channel guest. */
1232
+ is_ultra_restricted?: boolean;
1233
+ /** Comma separated values of channel IDs to add user in the new workspace. */
1234
+ channel_ids?: string;
1235
+ };
1236
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1237
+ export type AdminUsersAssignResponse = {
1238
+ ok: DefsOkTrue;
1239
+ } & {
1240
+ [key: string]: unknown;
1241
+ };
1242
+ export type AdminUsersInviteRequest = {
1243
+ /** The ID (`T1234`) of the workspace. */
1244
+ team_id: string;
1245
+ /** The email address of the person to invite. */
1246
+ email: string;
1247
+ /** A comma-separated list of `channel_id`s for this user to join. At least one channel is required. */
1248
+ channel_ids: string;
1249
+ /** An optional message to send to the user in the invite email. */
1250
+ custom_message?: string;
1251
+ /** Full name of the user. */
1252
+ real_name?: string;
1253
+ /** Allow this invite to be resent in the future if a user has not signed up yet. (default: false) */
1254
+ resend?: boolean;
1255
+ /** Is this user a multi-channel guest user? (default: false) */
1256
+ is_restricted?: boolean;
1257
+ /** Is this user a single channel guest user? (default: false) */
1258
+ is_ultra_restricted?: boolean;
1259
+ /** Timestamp when guest account should be disabled. Only include this timestamp if you are inviting a guest user and you want their account to expire on a certain date. */
1260
+ guest_expiration_ts?: string;
1261
+ };
1262
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1263
+ export type AdminUsersInviteResponse = {
1264
+ ok: DefsOkTrue;
1265
+ } & {
1266
+ [key: string]: unknown;
1267
+ };
1268
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1269
+ export type AdminUsersListResponse = {
1270
+ ok: DefsOkTrue;
1271
+ } & {
1272
+ [key: string]: unknown;
1273
+ };
1274
+ export type AdminUsersRemoveRequest = {
1275
+ /** The ID (`T1234`) of the workspace. */
1276
+ team_id: string;
1277
+ /** The ID of the user to remove. */
1278
+ user_id: string;
1279
+ };
1280
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1281
+ export type AdminUsersRemoveResponse = {
1282
+ ok: DefsOkTrue;
1283
+ } & {
1284
+ [key: string]: unknown;
1285
+ };
1286
+ export type AdminUsersSessionInvalidateRequest = {
1287
+ /** ID of the team that the session belongs to */
1288
+ team_id: string;
1289
+ session_id: number;
1290
+ };
1291
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1292
+ export type AdminUsersSessionInvalidateResponse = {
1293
+ ok: DefsOkTrue;
1294
+ } & {
1295
+ [key: string]: unknown;
1296
+ };
1297
+ export type AdminUsersSessionResetRequest = {
1298
+ /** The ID of the user to wipe sessions for */
1299
+ user_id: string;
1300
+ /** Only expire mobile sessions (default: false) */
1301
+ mobile_only?: boolean;
1302
+ /** Only expire web sessions (default: false) */
1303
+ web_only?: boolean;
1304
+ };
1305
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1306
+ export type AdminUsersSessionResetResponse = {
1307
+ ok: DefsOkTrue;
1308
+ } & {
1309
+ [key: string]: unknown;
1310
+ };
1311
+ export type AdminUsersSetAdminRequest = {
1312
+ /** The ID (`T1234`) of the workspace. */
1313
+ team_id: string;
1314
+ /** The ID of the user to designate as an admin. */
1315
+ user_id: string;
1316
+ };
1317
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1318
+ export type AdminUsersSetAdminResponse = {
1319
+ ok: DefsOkTrue;
1320
+ } & {
1321
+ [key: string]: unknown;
1322
+ };
1323
+ export type AdminUsersSetExpirationRequest = {
1324
+ /** The ID (`T1234`) of the workspace. */
1325
+ team_id: string;
1326
+ /** The ID of the user to set an expiration for. */
1327
+ user_id: string;
1328
+ /** Timestamp when guest account should be disabled. */
1329
+ expiration_ts: number;
1330
+ };
1331
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1332
+ export type AdminUsersSetExpirationResponse = {
1333
+ ok: DefsOkTrue;
1334
+ } & {
1335
+ [key: string]: unknown;
1336
+ };
1337
+ export type AdminUsersSetOwnerRequest = {
1338
+ /** The ID (`T1234`) of the workspace. */
1339
+ team_id: string;
1340
+ /** Id of the user to promote to owner. */
1341
+ user_id: string;
1342
+ };
1343
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1344
+ export type AdminUsersSetOwnerResponse = {
1345
+ ok: DefsOkTrue;
1346
+ } & {
1347
+ [key: string]: unknown;
1348
+ };
1349
+ export type AdminUsersSetRegularRequest = {
1350
+ /** The ID (`T1234`) of the workspace. */
1351
+ team_id: string;
1352
+ /** The ID of the user to designate as a regular user. */
1353
+ user_id: string;
1354
+ };
1355
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1356
+ export type AdminUsersSetRegularResponse = {
1357
+ ok: DefsOkTrue;
1358
+ } & {
1359
+ [key: string]: unknown;
1360
+ };
1361
+ /** Schema for successful response api.test method */
1362
+ export type ApiTestResponse = {
1363
+ ok: DefsOkTrue;
1364
+ } & {
1365
+ [key: string]: Record<string, unknown>;
1366
+ };
1367
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1368
+ export type AppsEventAuthorizationsListResponse = {
1369
+ ok: DefsOkTrue;
1370
+ } & {
1371
+ [key: string]: unknown;
1372
+ };
1373
+ /** Schema for successful response from apps.permissions.info method */
1374
+ export type AppsPermissionsInfoResponse = {
1375
+ info: {
1376
+ app_home: {
1377
+ resources?: ObjsResources;
1378
+ scopes?: ObjsScopes;
1379
+ };
1380
+ channel: {
1381
+ resources?: ObjsResources;
1382
+ scopes?: ObjsScopes;
1383
+ };
1384
+ group: {
1385
+ resources?: ObjsResources;
1386
+ scopes?: ObjsScopes;
1387
+ };
1388
+ im: {
1389
+ resources?: ObjsResources;
1390
+ scopes?: ObjsScopes;
1391
+ };
1392
+ mpim: {
1393
+ resources?: ObjsResources;
1394
+ scopes?: ObjsScopes;
1395
+ };
1396
+ team: {
1397
+ resources: ObjsResources;
1398
+ scopes: ObjsScopes;
1399
+ };
1400
+ };
1401
+ ok: DefsOkTrue;
1402
+ } & {
1403
+ [key: string]: unknown;
1404
+ };
1405
+ /** Schema for successful response from apps.permissions.request method */
1406
+ export type AppsPermissionsRequestResponse = {
1407
+ ok: DefsOkTrue;
1408
+ } & {
1409
+ [key: string]: unknown;
1410
+ };
1411
+ /** Schema for successful response apps.permissions.resources.list method */
1412
+ export type AppsPermissionsResourcesListResponse = {
1413
+ ok: DefsOkTrue;
1414
+ resources: Array<{
1415
+ id?: string;
1416
+ type?: string;
1417
+ }>;
1418
+ response_metadata?: {
1419
+ next_cursor: string;
1420
+ } & {
1421
+ [key: string]: unknown;
1422
+ };
1423
+ } & {
1424
+ [key: string]: unknown;
1425
+ };
1426
+ /** Schema for successful response api.permissions.scopes.list method */
1427
+ export type AppsPermissionsScopesListResponse = {
1428
+ ok: DefsOkTrue;
1429
+ scopes: {
1430
+ app_home?: ObjsScopes;
1431
+ channel?: ObjsScopes;
1432
+ group?: ObjsScopes;
1433
+ im?: ObjsScopes;
1434
+ mpim?: ObjsScopes;
1435
+ team?: ObjsScopes;
1436
+ user?: ObjsScopes;
1437
+ } & {
1438
+ [key: string]: unknown;
1439
+ };
1440
+ } & {
1441
+ [key: string]: unknown;
1442
+ };
1443
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1444
+ export type AppsPermissionsUsersListResponse = {
1445
+ ok: DefsOkTrue;
1446
+ } & {
1447
+ [key: string]: unknown;
1448
+ };
1449
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1450
+ export type AppsPermissionsUsersRequestResponse = {
1451
+ ok: DefsOkTrue;
1452
+ } & {
1453
+ [key: string]: unknown;
1454
+ };
1455
+ /** Schema for successful response from apps.uninstall method */
1456
+ export type AppsUninstallResponse = {
1457
+ ok: DefsOkTrue;
1458
+ } & {
1459
+ [key: string]: unknown;
1460
+ };
1461
+ /** Schema for successful response from auth.revoke method */
1462
+ export type AuthRevokeResponse = {
1463
+ ok: DefsOkTrue;
1464
+ revoked: boolean;
1465
+ } & {
1466
+ [key: string]: unknown;
1467
+ };
1468
+ /** Schema for successful response auth.test method */
1469
+ export type AuthTestResponse = {
1470
+ bot_id?: DefsBotId;
1471
+ is_enterprise_install?: boolean;
1472
+ ok: DefsOkTrue;
1473
+ team: string;
1474
+ team_id: DefsTeam;
1475
+ url: string;
1476
+ user: string;
1477
+ user_id: DefsUserId;
1478
+ } & {
1479
+ [key: string]: unknown;
1480
+ };
1481
+ /** Schema for successful response from bots.info method */
1482
+ export type BotsInfoResponse = {
1483
+ bot: {
1484
+ app_id: DefsAppId;
1485
+ deleted: boolean;
1486
+ icons: {
1487
+ image_36: string;
1488
+ image_48: string;
1489
+ image_72: string;
1490
+ } & {
1491
+ [key: string]: unknown;
1492
+ };
1493
+ id: DefsBotId;
1494
+ name: string;
1495
+ updated: number;
1496
+ user_id?: DefsUserId;
1497
+ } & {
1498
+ [key: string]: unknown;
1499
+ };
1500
+ ok: DefsOkTrue;
1501
+ } & {
1502
+ [key: string]: unknown;
1503
+ };
1504
+ export type CallsAddRequest = {
1505
+ /** An ID supplied by the 3rd-party Call provider. It must be unique across all Calls from that service. */
1506
+ external_unique_id: string;
1507
+ /** An optional, human-readable ID supplied by the 3rd-party Call provider. If supplied, this ID will be displayed in the Call object. */
1508
+ external_display_id?: string;
1509
+ /** The URL required for a client to join the Call. */
1510
+ join_url: string;
1511
+ /** When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL. */
1512
+ desktop_app_join_url?: string;
1513
+ /** Call start time in UTC UNIX timestamp format */
1514
+ date_start?: number;
1515
+ /** The name of the Call. */
1516
+ title?: string;
1517
+ /** The valid Slack user ID of the user who created this Call. When this method is called with a user token, the `created_by` field is optional and defaults to the authed user of the token. Otherwise, the field is required. */
1518
+ created_by?: string;
1519
+ /** The list of users to register as participants in the Call. [Read more on how to specify users here](https://api.slack.com/apis/calls#users). */
1520
+ users?: string;
1521
+ };
1522
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1523
+ export type CallsAddResponse = {
1524
+ ok: DefsOkTrue;
1525
+ } & {
1526
+ [key: string]: unknown;
1527
+ };
1528
+ export type CallsEndRequest = {
1529
+ /** `id` returned when registering the call using the [`calls.add`](https://api.slack.com/methods/calls.add) method. */
1530
+ id: string;
1531
+ /** Call duration in seconds */
1532
+ duration?: number;
1533
+ };
1534
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1535
+ export type CallsEndResponse = {
1536
+ ok: DefsOkTrue;
1537
+ } & {
1538
+ [key: string]: unknown;
1539
+ };
1540
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1541
+ export type CallsInfoResponse = {
1542
+ ok: DefsOkTrue;
1543
+ } & {
1544
+ [key: string]: unknown;
1545
+ };
1546
+ export type CallsParticipantsAddRequest = {
1547
+ /** `id` returned by the [`calls.add`](https://api.slack.com/methods/calls.add) method. */
1548
+ id: string;
1549
+ /** The list of users to add as participants in the Call. [Read more on how to specify users here](https://api.slack.com/apis/calls#users). */
1550
+ users: string;
1551
+ };
1552
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1553
+ export type CallsParticipantsAddResponse = {
1554
+ ok: DefsOkTrue;
1555
+ } & {
1556
+ [key: string]: unknown;
1557
+ };
1558
+ export type CallsParticipantsRemoveRequest = {
1559
+ /** `id` returned by the [`calls.add`](https://api.slack.com/methods/calls.add) method. */
1560
+ id: string;
1561
+ /** The list of users to remove as participants in the Call. [Read more on how to specify users here](https://api.slack.com/apis/calls#users). */
1562
+ users: string;
1563
+ };
1564
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1565
+ export type CallsParticipantsRemoveResponse = {
1566
+ ok: DefsOkTrue;
1567
+ } & {
1568
+ [key: string]: unknown;
1569
+ };
1570
+ export type CallsUpdateRequest = {
1571
+ /** `id` returned by the [`calls.add`](https://api.slack.com/methods/calls.add) method. */
1572
+ id: string;
1573
+ /** The name of the Call. */
1574
+ title?: string;
1575
+ /** The URL required for a client to join the Call. */
1576
+ join_url?: string;
1577
+ /** When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL. */
1578
+ desktop_app_join_url?: string;
1579
+ };
1580
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
1581
+ export type CallsUpdateResponse = {
1582
+ ok: DefsOkTrue;
1583
+ } & {
1584
+ [key: string]: unknown;
1585
+ };
1586
+ export type ChatDeleteRequest = {
1587
+ /** Timestamp of the message to be deleted. */
1588
+ ts?: string;
1589
+ /** Channel containing the message to be deleted. */
1590
+ channel?: string;
1591
+ /** Pass true to delete the message as the authed user with `chat:write:user` scope. [Bot users](https://api.slack.com/bot-users) in this context are considered authed users. If unused or false, the message will be deleted with `chat:write:bot` scope. */
1592
+ as_user?: boolean;
1593
+ };
1594
+ /** Schema for successful response of chat.delete method */
1595
+ export type ChatDeleteResponse = {
1596
+ channel: DefsChannel;
1597
+ ok: DefsOkTrue;
1598
+ ts: DefsTs;
1599
+ } & {
1600
+ [key: string]: unknown;
1601
+ };
1602
+ export type ChatDeleteScheduledMessageRequest = {
1603
+ /** Pass true to delete the message as the authed user with `chat:write:user` scope. [Bot users](https://api.slack.com/bot-users) in this context are considered authed users. If unused or false, the message will be deleted with `chat:write:bot` scope. */
1604
+ as_user?: boolean;
1605
+ /** The channel the scheduled_message is posting to */
1606
+ channel: string;
1607
+ /** `scheduled_message_id` returned from call to chat.scheduleMessage */
1608
+ scheduled_message_id: string;
1609
+ };
1610
+ /** Schema for successful response from chat.deleteScheduledMessage method */
1611
+ export type ChatDeleteScheduledMessageResponse = {
1612
+ ok: DefsOkTrue;
1613
+ } & {
1614
+ [key: string]: unknown;
1615
+ };
1616
+ /** Schema for successful response chat.getPermalink */
1617
+ export type ChatGetPermalinkResponse = {
1618
+ channel: DefsChannel;
1619
+ ok: DefsOkTrue;
1620
+ permalink: string;
1621
+ } & {
1622
+ [key: string]: unknown;
1623
+ };
1624
+ export type ChatMeMessageRequest = {
1625
+ /** Channel to send message to. Can be a public channel, private group or IM channel. Can be an encoded ID, or a name. */
1626
+ channel?: string;
1627
+ /** Text of the message to send. */
1628
+ text?: string;
1629
+ };
1630
+ /** Schema for successful response from chat.meMessage method */
1631
+ export type ChatMeMessageResponse = {
1632
+ channel?: DefsChannel;
1633
+ ok: DefsOkTrue;
1634
+ ts?: DefsTs;
1635
+ } & {
1636
+ [key: string]: unknown;
1637
+ };
1638
+ export type ChatPostEphemeralRequest = {
1639
+ /** Pass true to post the message as the authed user. Defaults to true if the chat:write:bot scope is not included. Otherwise, defaults to false. */
1640
+ as_user?: boolean;
1641
+ /** A JSON-based array of structured attachments, presented as a URL-encoded string. */
1642
+ attachments?: string;
1643
+ /** A JSON-based array of structured blocks, presented as a URL-encoded string. */
1644
+ blocks?: string;
1645
+ /** Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. */
1646
+ channel: string;
1647
+ /** Emoji to use as the icon for this message. Overrides `icon_url`. Must be used in conjunction with `as_user` set to `false`, otherwise ignored. See authorship below. */
1648
+ icon_emoji?: string;
1649
+ /** URL to an image to use as the icon for this message. Must be used in conjunction with `as_user` set to false, otherwise ignored. See authorship below. */
1650
+ icon_url?: string;
1651
+ /** Find and link channel names and usernames. */
1652
+ link_names?: boolean;
1653
+ /** Change how messages are treated. Defaults to `none`. See below. */
1654
+ parse?: string;
1655
+ /** How this field works and whether it is required depends on other fields you use in your API call. See below for more detail. */
1656
+ text?: string;
1657
+ /** Provide another message's `ts` value to post this message in a thread. Avoid using a reply's `ts` value; use its parent's value instead. Ephemeral messages in threads are only shown if there is already an active thread. */
1658
+ thread_ts?: string;
1659
+ /** `id` of the user who will receive the ephemeral message. The user should be in the channel specified by the `channel` argument. */
1660
+ user: string;
1661
+ /** Set your bot's user name. Must be used in conjunction with `as_user` set to false, otherwise ignored. See authorship below. */
1662
+ username?: string;
1663
+ };
1664
+ /** Schema for successful response from chat.postEphemeral method */
1665
+ export type ChatPostEphemeralResponse = {
1666
+ message_ts: DefsTs;
1667
+ ok: DefsOkTrue;
1668
+ } & {
1669
+ [key: string]: unknown;
1670
+ };
1671
+ export type ChatPostMessageRequest = {
1672
+ /** Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See authorship below. */
1673
+ as_user?: string;
1674
+ /** A JSON-based array of structured attachments, presented as a URL-encoded string. */
1675
+ attachments?: string;
1676
+ /** A JSON-based array of structured blocks, presented as a URL-encoded string. */
1677
+ blocks?: string;
1678
+ /** Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. See below for more details. */
1679
+ channel: string;
1680
+ /** Emoji to use as the icon for this message. Overrides `icon_url`. Must be used in conjunction with `as_user` set to `false`, otherwise ignored. See authorship below. */
1681
+ icon_emoji?: string;
1682
+ /** URL to an image to use as the icon for this message. Must be used in conjunction with `as_user` set to false, otherwise ignored. See authorship below. */
1683
+ icon_url?: string;
1684
+ /** Find and link channel names and usernames. */
1685
+ link_names?: boolean;
1686
+ /** Disable Slack markup parsing by setting to `false`. Enabled by default. */
1687
+ mrkdwn?: boolean;
1688
+ /** Change how messages are treated. Defaults to `none`. See below. */
1689
+ parse?: string;
1690
+ /** Used in conjunction with `thread_ts` and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to `false`. */
1691
+ reply_broadcast?: boolean;
1692
+ /** How this field works and whether it is required depends on other fields you use in your API call. See below for more detail. */
1693
+ text?: string;
1694
+ /** Provide another message's `ts` value to make this message a reply. Avoid using a reply's `ts` value; use its parent instead. */
1695
+ thread_ts?: string;
1696
+ /** Pass true to enable unfurling of primarily text-based content. */
1697
+ unfurl_links?: boolean;
1698
+ /** Pass false to disable unfurling of media content. */
1699
+ unfurl_media?: boolean;
1700
+ /** Set your bot's user name. Must be used in conjunction with `as_user` set to false, otherwise ignored. See authorship below. */
1701
+ username?: string;
1702
+ };
1703
+ /** Schema for successful response of chat.postMessage method */
1704
+ export type ChatPostMessageResponse = {
1705
+ channel: DefsChannel;
1706
+ message: ObjsMessage;
1707
+ ok: DefsOkTrue;
1708
+ ts: DefsTs;
1709
+ } & {
1710
+ [key: string]: unknown;
1711
+ };
1712
+ export type ChatScheduleMessageRequest = {
1713
+ /** Channel, private group, or DM channel to send message to. Can be an encoded ID, or a name. See below for more details. */
1714
+ channel?: string;
1715
+ /** How this field works and whether it is required depends on other fields you use in your API call. See below for more detail. */
1716
+ text?: string;
1717
+ /** Unix EPOCH timestamp of time in future to send the message. */
1718
+ post_at?: string;
1719
+ /** Change how messages are treated. Defaults to `none`. See [chat.postMessage](chat.postMessage#formatting). */
1720
+ parse?: string;
1721
+ /** Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See [chat.postMessage](chat.postMessage#authorship). */
1722
+ as_user?: boolean;
1723
+ /** Find and link channel names and usernames. */
1724
+ link_names?: boolean;
1725
+ /** A JSON-based array of structured attachments, presented as a URL-encoded string. */
1726
+ attachments?: string;
1727
+ /** A JSON-based array of structured blocks, presented as a URL-encoded string. */
1728
+ blocks?: string;
1729
+ /** Pass true to enable unfurling of primarily text-based content. */
1730
+ unfurl_links?: boolean;
1731
+ /** Pass false to disable unfurling of media content. */
1732
+ unfurl_media?: boolean;
1733
+ /** Provide another message's `ts` value to make this message a reply. Avoid using a reply's `ts` value; use its parent instead. */
1734
+ thread_ts?: string;
1735
+ /** Used in conjunction with `thread_ts` and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to `false`. */
1736
+ reply_broadcast?: boolean;
1737
+ };
1738
+ /** Schema for successful response of chat.scheduleMessage method */
1739
+ export type ChatScheduleMessageResponse = {
1740
+ channel: DefsChannel;
1741
+ message: {
1742
+ bot_id: DefsBotId;
1743
+ bot_profile?: ObjsBotProfile;
1744
+ team: DefsTeam;
1745
+ text: string;
1746
+ type: string;
1747
+ user: DefsUserId;
1748
+ username?: string;
1749
+ } & {
1750
+ [key: string]: unknown;
1751
+ };
1752
+ ok: DefsOkTrue;
1753
+ post_at: number;
1754
+ scheduled_message_id: string;
1755
+ } & {
1756
+ [key: string]: unknown;
1757
+ };
1758
+ /** Schema for successful response from chat.scheduledMessages.list method */
1759
+ export type ChatScheduledMessagesListResponse = {
1760
+ ok: DefsOkTrue;
1761
+ response_metadata: {
1762
+ next_cursor: string;
1763
+ } & {
1764
+ [key: string]: unknown;
1765
+ };
1766
+ scheduled_messages: Array<{
1767
+ channel_id: DefsChannelId;
1768
+ date_created: number;
1769
+ id: string;
1770
+ post_at: number;
1771
+ text?: string;
1772
+ } & {
1773
+ [key: string]: unknown;
1774
+ }>;
1775
+ } & {
1776
+ [key: string]: unknown;
1777
+ };
1778
+ export type ChatUnfurlRequest = {
1779
+ /** Channel ID of the message */
1780
+ channel: string;
1781
+ /** Timestamp of the message to add unfurl behavior to. */
1782
+ ts: string;
1783
+ /** URL-encoded JSON map with keys set to URLs featured in the the message, pointing to their unfurl blocks or message attachments. */
1784
+ unfurls?: string;
1785
+ /** Provide a simply-formatted string to send as an ephemeral message to the user as invitation to authenticate further and enable full unfurling behavior */
1786
+ user_auth_message?: string;
1787
+ /** Set to `true` or `1` to indicate the user must install your Slack app to trigger unfurls for this domain */
1788
+ user_auth_required?: boolean;
1789
+ /** Send users to this custom URL where they will complete authentication in your app to fully trigger unfurling. Value should be properly URL-encoded. */
1790
+ user_auth_url?: string;
1791
+ };
1792
+ /** Schema for successful response from chat.unfurl method */
1793
+ export type ChatUnfurlResponse = {
1794
+ ok: DefsOkTrue;
1795
+ } & {
1796
+ [key: string]: unknown;
1797
+ };
1798
+ export type ChatUpdateRequest = {
1799
+ /** Pass true to update the message as the authed user. [Bot users](https://api.slack.com/bot-users) in this context are considered authed users. */
1800
+ as_user?: string;
1801
+ /** A JSON-based array of structured attachments, presented as a URL-encoded string. This field is required when not presenting `text`. If you don't include this field, the message's previous `attachments` will be retained. To remove previous `attachments`, include an empty array for this field. */
1802
+ attachments?: string;
1803
+ /** A JSON-based array of [structured blocks](https://api.slack.com/block-kit/building), presented as a URL-encoded string. If you don't include this field, the message's previous `blocks` will be retained. To remove previous `blocks`, include an empty array for this field. */
1804
+ blocks?: string;
1805
+ /** Channel containing the message to be updated. */
1806
+ channel: string;
1807
+ /** Find and link channel names and usernames. Defaults to `none`. If you do not specify a value for this field, the original value set for the message will be overwritten with the default, `none`. */
1808
+ link_names?: string;
1809
+ /** Change how messages are treated. Defaults to `client`, unlike `chat.postMessage`. Accepts either `none` or `full`. If you do not specify a value for this field, the original value set for the message will be overwritten with the default, `client`. */
1810
+ parse?: string;
1811
+ /** New text for the message, using the [default formatting rules](https://api.slack.com/reference/surfaces/formatting). It's not required when presenting `blocks` or `attachments`. */
1812
+ text?: string;
1813
+ /** Timestamp of the message to be updated. */
1814
+ ts: string;
1815
+ };
1816
+ /** Schema for successful response of chat.update method */
1817
+ export type ChatUpdateResponse = {
1818
+ channel: string;
1819
+ message: {
1820
+ attachments?: Array<Record<string, unknown>>;
1821
+ blocks?: Record<string, unknown>;
1822
+ text: string;
1823
+ };
1824
+ ok: DefsOkTrue;
1825
+ text: string;
1826
+ ts: string;
1827
+ } & {
1828
+ [key: string]: unknown;
1829
+ };
1830
+ export type ConversationsArchiveRequest = {
1831
+ /** ID of conversation to archive */
1832
+ channel?: string;
1833
+ };
1834
+ /** Schema for successful response conversations.archive method */
1835
+ export type ConversationsArchiveResponse = {
1836
+ ok: DefsOkTrue;
1837
+ } & {
1838
+ [key: string]: unknown;
1839
+ };
1840
+ export type ConversationsCloseRequest = {
1841
+ /** Conversation to close. */
1842
+ channel?: string;
1843
+ };
1844
+ /** Schema for successful response conversations.close method */
1845
+ export type ConversationsCloseResponse = {
1846
+ already_closed?: boolean;
1847
+ no_op?: boolean;
1848
+ ok: DefsOkTrue;
1849
+ } & {
1850
+ [key: string]: unknown;
1851
+ };
1852
+ export type ConversationsCreateRequest = {
1853
+ /** Name of the public or private channel to create */
1854
+ name?: string;
1855
+ /** Create a private channel instead of a public one */
1856
+ is_private?: boolean;
1857
+ };
1858
+ /** Schema for successful response conversations.create method */
1859
+ export type ConversationsCreateResponse = {
1860
+ channel: ObjsConversation;
1861
+ ok: DefsOkTrue;
1862
+ } & {
1863
+ [key: string]: unknown;
1864
+ };
1865
+ /** Schema for successful response from conversations.history method */
1866
+ export type ConversationsHistoryResponse = {
1867
+ channel_actions_count: number;
1868
+ channel_actions_ts: number | null;
1869
+ has_more: boolean;
1870
+ messages: Array<ObjsMessage>;
1871
+ ok: DefsOkTrue;
1872
+ pin_count: number;
1873
+ response_metadata?: {
1874
+ next_cursor?: string;
1875
+ };
1876
+ } & {
1877
+ [key: string]: unknown;
1878
+ };
1879
+ /** Schema for successful response conversations.info */
1880
+ export type ConversationsInfoResponse = {
1881
+ channel: ObjsConversation;
1882
+ ok: DefsOkTrue;
1883
+ } & {
1884
+ [key: string]: unknown;
1885
+ };
1886
+ export type ConversationsInviteRequest = {
1887
+ /** The ID of the public or private channel to invite user(s) to. */
1888
+ channel?: string;
1889
+ /** A comma separated list of user IDs. Up to 1000 users may be listed. */
1890
+ users?: string;
1891
+ };
1892
+ /** Schema for successful response from conversations.invite method */
1893
+ export type ConversationsInviteResponse = {
1894
+ channel: ObjsConversation;
1895
+ ok: DefsOkTrue;
1896
+ } & {
1897
+ [key: string]: unknown;
1898
+ };
1899
+ export type ConversationsJoinRequest = {
1900
+ /** ID of conversation to join */
1901
+ channel?: string;
1902
+ };
1903
+ /** Schema for successful response from conversations.join method */
1904
+ export type ConversationsJoinResponse = {
1905
+ channel: ObjsConversation;
1906
+ ok: DefsOkTrue;
1907
+ response_metadata?: {
1908
+ warnings?: Array<string>;
1909
+ };
1910
+ warning?: string;
1911
+ } & {
1912
+ [key: string]: unknown;
1913
+ };
1914
+ export type ConversationsKickRequest = {
1915
+ /** ID of conversation to remove user from. */
1916
+ channel?: string;
1917
+ /** User ID to be removed. */
1918
+ user?: string;
1919
+ };
1920
+ /** Schema for successful response conversations.kick method */
1921
+ export type ConversationsKickResponse = {
1922
+ ok: DefsOkTrue;
1923
+ } & {
1924
+ [key: string]: unknown;
1925
+ };
1926
+ export type ConversationsLeaveRequest = {
1927
+ /** Conversation to leave */
1928
+ channel?: string;
1929
+ };
1930
+ /** Schema for successful response from conversations.leave method */
1931
+ export type ConversationsLeaveResponse = {
1932
+ not_in_channel?: true;
1933
+ ok: DefsOkTrue;
1934
+ } & {
1935
+ [key: string]: unknown;
1936
+ };
1937
+ /** Schema for successful response from conversations.list method */
1938
+ export type ConversationsListResponse = {
1939
+ channels: Array<ObjsConversation>;
1940
+ ok: DefsOkTrue;
1941
+ response_metadata?: {
1942
+ next_cursor: string;
1943
+ } & {
1944
+ [key: string]: unknown;
1945
+ };
1946
+ } & {
1947
+ [key: string]: unknown;
1948
+ };
1949
+ export type ConversationsMarkRequest = {
1950
+ /** Channel or conversation to set the read cursor for. */
1951
+ channel?: string;
1952
+ /** Unique identifier of message you want marked as most recently seen in this conversation. */
1953
+ ts?: string;
1954
+ };
1955
+ /** Schema for successful response conversations.mark method */
1956
+ export type ConversationsMarkResponse = {
1957
+ ok: DefsOkTrue;
1958
+ } & {
1959
+ [key: string]: unknown;
1960
+ };
1961
+ /** Schema for successful response conversations.members method */
1962
+ export type ConversationsMembersResponse = {
1963
+ members: Array<DefsUserId>;
1964
+ ok: DefsOkTrue;
1965
+ response_metadata: {
1966
+ next_cursor: string;
1967
+ } & {
1968
+ [key: string]: unknown;
1969
+ };
1970
+ } & {
1971
+ [key: string]: unknown;
1972
+ };
1973
+ export type ConversationsOpenRequest = {
1974
+ /** Resume a conversation by supplying an `im` or `mpim`'s ID. Or provide the `users` field instead. */
1975
+ channel?: string;
1976
+ /** Comma separated lists of users. If only one user is included, this creates a 1:1 DM. The ordering of the users is preserved whenever a multi-person direct message is returned. Supply a `channel` when not supplying `users`. */
1977
+ users?: string;
1978
+ /** Boolean, indicates you want the full IM channel definition in the response. */
1979
+ return_im?: boolean;
1980
+ };
1981
+ /** Schema for successful response from conversations.open method when opening channels, ims, mpims */
1982
+ export type ConversationsOpenResponse = {
1983
+ already_open?: boolean;
1984
+ channel: ObjsConversation | ({
1985
+ created?: string;
1986
+ id: DefsDmId;
1987
+ is_im?: boolean;
1988
+ is_open?: boolean;
1989
+ last_read?: DefsTs;
1990
+ latest?: ObjsMessage;
1991
+ unread_count?: number;
1992
+ unread_count_display?: number;
1993
+ user?: DefsUserId;
1994
+ } & {
1995
+ [key: string]: unknown;
1996
+ });
1997
+ no_op?: boolean;
1998
+ ok: DefsOkTrue;
1999
+ } & {
2000
+ [key: string]: unknown;
2001
+ };
2002
+ export type ConversationsRenameRequest = {
2003
+ /** ID of conversation to rename */
2004
+ channel?: string;
2005
+ /** New name for conversation. */
2006
+ name?: string;
2007
+ };
2008
+ /** Schema for successful response from conversations.rename method */
2009
+ export type ConversationsRenameResponse = {
2010
+ channel: ObjsConversation;
2011
+ ok: DefsOkTrue;
2012
+ } & {
2013
+ [key: string]: unknown;
2014
+ };
2015
+ /** Schema for successful response from conversations.replies method */
2016
+ export type ConversationsRepliesResponse = {
2017
+ has_more?: boolean;
2018
+ messages: Array<({
2019
+ last_read?: DefsTs;
2020
+ latest_reply?: DefsTs;
2021
+ reply_count: number;
2022
+ reply_users?: Array<DefsUserId>;
2023
+ reply_users_count?: number;
2024
+ source_team?: DefsTeam;
2025
+ subscribed: boolean;
2026
+ team?: DefsTeam;
2027
+ text: string;
2028
+ thread_ts: DefsTs;
2029
+ ts: DefsTs;
2030
+ type: string;
2031
+ unread_count?: number;
2032
+ user: DefsUserId;
2033
+ user_profile?: ObjsUserProfileShort;
2034
+ user_team?: DefsTeam;
2035
+ } & {
2036
+ [key: string]: unknown;
2037
+ }) | ({
2038
+ is_starred?: boolean;
2039
+ parent_user_id: DefsUserId;
2040
+ source_team?: DefsTeam;
2041
+ team?: DefsTeam;
2042
+ text: string;
2043
+ thread_ts: DefsTs;
2044
+ ts: DefsTs;
2045
+ type: string;
2046
+ user: DefsUserId;
2047
+ user_profile?: ObjsUserProfileShort;
2048
+ user_team?: DefsTeam;
2049
+ } & {
2050
+ [key: string]: unknown;
2051
+ })>;
2052
+ ok: DefsOkTrue;
2053
+ response_metadata?: {
2054
+ next_cursor?: string;
2055
+ };
2056
+ } & {
2057
+ [key: string]: unknown;
2058
+ };
2059
+ export type ConversationsSetPurposeRequest = {
2060
+ /** Conversation to set the purpose of */
2061
+ channel?: string;
2062
+ /** A new, specialer purpose */
2063
+ purpose?: string;
2064
+ };
2065
+ /** Schema for successful response from conversations.setPurpose method */
2066
+ export type ConversationsSetPurposeResponse = {
2067
+ channel: ObjsConversation;
2068
+ ok: DefsOkTrue;
2069
+ } & {
2070
+ [key: string]: unknown;
2071
+ };
2072
+ export type ConversationsSetTopicRequest = {
2073
+ /** Conversation to set the topic of */
2074
+ channel?: string;
2075
+ /** The new topic string. Does not support formatting or linkification. */
2076
+ topic?: string;
2077
+ };
2078
+ /** Schema for successful response from conversations.setTopic method */
2079
+ export type ConversationsSetTopicResponse = {
2080
+ channel: ObjsConversation;
2081
+ ok: DefsOkTrue;
2082
+ } & {
2083
+ [key: string]: unknown;
2084
+ };
2085
+ export type ConversationsUnarchiveRequest = {
2086
+ /** ID of conversation to unarchive */
2087
+ channel?: string;
2088
+ };
2089
+ /** Schema for successful response from conversations.unarchive method */
2090
+ export type ConversationsUnarchiveResponse = {
2091
+ ok: DefsOkTrue;
2092
+ } & {
2093
+ [key: string]: unknown;
2094
+ };
2095
+ /** Schema for successful response from dialog.open method */
2096
+ export type DialogOpenResponse = {
2097
+ ok: DefsOkTrue;
2098
+ } & {
2099
+ [key: string]: unknown;
2100
+ };
2101
+ /** Schema for successful response from dnd.endDnd method */
2102
+ export type DndEndDndResponse = {
2103
+ ok: DefsOkTrue;
2104
+ } & {
2105
+ [key: string]: unknown;
2106
+ };
2107
+ /** Schema for successful response from dnd.endSnooze method */
2108
+ export type DndEndSnoozeResponse = {
2109
+ dnd_enabled: boolean;
2110
+ next_dnd_end_ts: number;
2111
+ next_dnd_start_ts: number;
2112
+ ok: DefsOkTrue;
2113
+ snooze_enabled: boolean;
2114
+ } & {
2115
+ [key: string]: unknown;
2116
+ };
2117
+ /** Schema for successful response from dnd.info method */
2118
+ export type DndInfoResponse = {
2119
+ dnd_enabled: boolean;
2120
+ next_dnd_end_ts: number;
2121
+ next_dnd_start_ts: number;
2122
+ ok: DefsOkTrue;
2123
+ snooze_enabled?: boolean;
2124
+ snooze_endtime?: number;
2125
+ snooze_remaining?: number;
2126
+ } & {
2127
+ [key: string]: unknown;
2128
+ };
2129
+ export type DndSetSnoozeRequest = {
2130
+ /** Number of minutes, from now, to snooze until. */
2131
+ num_minutes: string;
2132
+ };
2133
+ /** Schema for successful response from dnd.setSnooze method */
2134
+ export type DndSetSnoozeResponse = {
2135
+ ok: DefsOkTrue;
2136
+ snooze_enabled: boolean;
2137
+ snooze_endtime: number;
2138
+ snooze_remaining: number;
2139
+ } & {
2140
+ [key: string]: unknown;
2141
+ };
2142
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
2143
+ export type DndTeamInfoResponse = {
2144
+ ok: DefsOkTrue;
2145
+ } & {
2146
+ [key: string]: unknown;
2147
+ };
2148
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
2149
+ export type EmojiListResponse = {
2150
+ ok: DefsOkTrue;
2151
+ } & {
2152
+ [key: string]: unknown;
2153
+ };
2154
+ export type FilesCommentsDeleteRequest = {
2155
+ /** File to delete a comment from. */
2156
+ file?: string;
2157
+ /** The comment to delete. */
2158
+ id?: string;
2159
+ };
2160
+ /** Schema for successful response files.comments.delete method */
2161
+ export type FilesCommentsDeleteResponse = {
2162
+ ok: DefsOkTrue;
2163
+ } & {
2164
+ [key: string]: unknown;
2165
+ };
2166
+ export type FilesDeleteRequest = {
2167
+ /** ID of file to delete. */
2168
+ file?: string;
2169
+ };
2170
+ /** Schema for successful response files.delete method */
2171
+ export type FilesDeleteResponse = {
2172
+ ok: DefsOkTrue;
2173
+ } & {
2174
+ [key: string]: unknown;
2175
+ };
2176
+ /** Schema for successful response from files.info method */
2177
+ export type FilesInfoResponse = {
2178
+ comments: ObjsComments;
2179
+ content_html?: unknown;
2180
+ editor?: DefsUserId;
2181
+ file: ObjsFile;
2182
+ ok: DefsOkTrue;
2183
+ paging?: ObjsPaging;
2184
+ response_metadata?: ObjsResponseMetadata;
2185
+ } & {
2186
+ [key: string]: unknown;
2187
+ };
2188
+ /** Schema for successful response from files.list method */
2189
+ export type FilesListResponse = {
2190
+ files: Array<ObjsFile>;
2191
+ ok: DefsOkTrue;
2192
+ paging: ObjsPaging;
2193
+ } & {
2194
+ [key: string]: unknown;
2195
+ };
2196
+ export type FilesRemoteAddRequest = {
2197
+ /** Creator defined GUID for the file. */
2198
+ external_id?: string;
2199
+ /** Title of the file being shared. */
2200
+ title?: string;
2201
+ /** type of file */
2202
+ filetype?: string;
2203
+ /** URL of the remote file. */
2204
+ external_url?: string;
2205
+ /** Preview of the document via `multipart/form-data`. */
2206
+ preview_image?: string;
2207
+ /** A text file (txt, pdf, doc, etc.) containing textual search terms that are used to improve discovery of the remote file. */
2208
+ indexable_file_contents?: string;
2209
+ };
2210
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
2211
+ export type FilesRemoteAddResponse = {
2212
+ ok: DefsOkTrue;
2213
+ } & {
2214
+ [key: string]: unknown;
2215
+ };
2216
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
2217
+ export type FilesRemoteInfoResponse = {
2218
+ ok: DefsOkTrue;
2219
+ } & {
2220
+ [key: string]: unknown;
2221
+ };
2222
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
2223
+ export type FilesRemoteListResponse = {
2224
+ ok: DefsOkTrue;
2225
+ } & {
2226
+ [key: string]: unknown;
2227
+ };
2228
+ export type FilesRemoteRemoveRequest = {
2229
+ /** Specify a file by providing its ID. */
2230
+ file?: string;
2231
+ /** Creator defined GUID for the file. */
2232
+ external_id?: string;
2233
+ };
2234
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
2235
+ export type FilesRemoteRemoveResponse = {
2236
+ ok: DefsOkTrue;
2237
+ } & {
2238
+ [key: string]: unknown;
2239
+ };
2240
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
2241
+ export type FilesRemoteShareResponse = {
2242
+ ok: DefsOkTrue;
2243
+ } & {
2244
+ [key: string]: unknown;
2245
+ };
2246
+ export type FilesRemoteUpdateRequest = {
2247
+ /** Specify a file by providing its ID. */
2248
+ file?: string;
2249
+ /** Creator defined GUID for the file. */
2250
+ external_id?: string;
2251
+ /** Title of the file being shared. */
2252
+ title?: string;
2253
+ /** type of file */
2254
+ filetype?: string;
2255
+ /** URL of the remote file. */
2256
+ external_url?: string;
2257
+ /** Preview of the document via `multipart/form-data`. */
2258
+ preview_image?: string;
2259
+ /** File containing contents that can be used to improve searchability for the remote file. */
2260
+ indexable_file_contents?: string;
2261
+ };
2262
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
2263
+ export type FilesRemoteUpdateResponse = {
2264
+ ok: DefsOkTrue;
2265
+ } & {
2266
+ [key: string]: unknown;
2267
+ };
2268
+ export type FilesRevokePublicURLRequest = {
2269
+ /** File to revoke */
2270
+ file?: string;
2271
+ };
2272
+ /** Schema for successful response from files.revokePublicURL method */
2273
+ export type FilesRevokePublicURLResponse = {
2274
+ file: ObjsFile;
2275
+ ok: DefsOkTrue;
2276
+ } & {
2277
+ [key: string]: unknown;
2278
+ };
2279
+ export type FilesSharedPublicURLRequest = {
2280
+ /** File to share */
2281
+ file?: string;
2282
+ };
2283
+ /** Schema for successful response from files.sharedPublicURL method */
2284
+ export type FilesSharedPublicURLResponse = {
2285
+ file: ObjsFile;
2286
+ ok: DefsOkTrue;
2287
+ } & {
2288
+ [key: string]: unknown;
2289
+ };
2290
+ export type FilesUploadRequest = {
2291
+ /** File contents via `multipart/form-data`. If omitting this parameter, you must submit `content`. */
2292
+ file?: string;
2293
+ /** File contents via a POST variable. If omitting this parameter, you must provide a `file`. */
2294
+ content?: string;
2295
+ /** A [file type](https://api.slack.com/types/file#file_types) identifier. */
2296
+ filetype?: string;
2297
+ /** Filename of file. */
2298
+ filename?: string;
2299
+ /** Title of file. */
2300
+ title?: string;
2301
+ /** The message text introducing the file in specified `channels`. */
2302
+ initial_comment?: string;
2303
+ /** Comma-separated list of channel names or IDs where the file will be shared. */
2304
+ channels?: string;
2305
+ /** Provide another message's `ts` value to upload this file as a reply. Never use a reply's `ts` value; use its parent instead. */
2306
+ thread_ts?: string;
2307
+ };
2308
+ /** Schema for successful response files.upload method */
2309
+ export type FilesUploadResponse = {
2310
+ file: ObjsFile;
2311
+ ok: DefsOkTrue;
2312
+ } & {
2313
+ [key: string]: unknown;
2314
+ };
2315
+ /** Schema for successful response from migration.exchange method */
2316
+ export type MigrationExchangeResponse = {
2317
+ enterprise_id: string;
2318
+ invalid_user_ids?: Array<string>;
2319
+ ok: DefsOkTrue;
2320
+ team_id: DefsTeam;
2321
+ user_id_map?: {
2322
+ [key: string]: unknown;
2323
+ };
2324
+ } & {
2325
+ [key: string]: unknown;
2326
+ };
2327
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
2328
+ export type OauthAccessResponse = {
2329
+ ok: DefsOkTrue;
2330
+ access_token?: string;
2331
+ } & {
2332
+ [key: string]: unknown;
2333
+ };
2334
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
2335
+ export type OauthTokenResponse = {
2336
+ ok: DefsOkTrue;
2337
+ access_token?: string;
2338
+ } & {
2339
+ [key: string]: unknown;
2340
+ };
2341
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
2342
+ export type OauthV2AccessResponse = {
2343
+ ok: DefsOkTrue;
2344
+ access_token?: string;
2345
+ } & {
2346
+ [key: string]: unknown;
2347
+ };
2348
+ export type PinsAddRequest = {
2349
+ /** Channel to pin the item in. */
2350
+ channel: string;
2351
+ /** Timestamp of the message to pin. */
2352
+ timestamp?: string;
2353
+ };
2354
+ /** Schema for successful response from pins.add method */
2355
+ export type PinsAddResponse = {
2356
+ ok: DefsOkTrue;
2357
+ } & {
2358
+ [key: string]: unknown;
2359
+ };
2360
+ /** Schema for successful response from pins.list method */
2361
+ export type PinsListResponse = ({
2362
+ items: Array<({
2363
+ created?: number;
2364
+ created_by?: DefsUserId;
2365
+ file?: ObjsFile;
2366
+ type?: "file";
2367
+ } & {
2368
+ [key: string]: unknown;
2369
+ }) | ({
2370
+ channel?: DefsChannel;
2371
+ created?: number;
2372
+ created_by?: DefsUserId;
2373
+ message?: ObjsMessage;
2374
+ type?: "message";
2375
+ } & {
2376
+ [key: string]: unknown;
2377
+ })>;
2378
+ ok: DefsOkTrue;
2379
+ } & {
2380
+ [key: string]: unknown;
2381
+ }) | ({
2382
+ count: number;
2383
+ ok: DefsOkTrue;
2384
+ } & {
2385
+ [key: string]: unknown;
2386
+ });
2387
+ export type PinsRemoveRequest = {
2388
+ /** Channel where the item is pinned to. */
2389
+ channel: string;
2390
+ /** Timestamp of the message to un-pin. */
2391
+ timestamp?: string;
2392
+ };
2393
+ /** Schema for successful response from pins.remove method */
2394
+ export type PinsRemoveResponse = {
2395
+ ok: DefsOkTrue;
2396
+ } & {
2397
+ [key: string]: unknown;
2398
+ };
2399
+ export type ReactionsAddRequest = {
2400
+ /** Channel where the message to add reaction to was posted. */
2401
+ channel: string;
2402
+ /** Reaction (emoji) name. */
2403
+ name: string;
2404
+ /** Timestamp of the message to add reaction to. */
2405
+ timestamp: string;
2406
+ };
2407
+ /** Schema for successful response from reactions.add method */
2408
+ export type ReactionsAddResponse = {
2409
+ ok: DefsOkTrue;
2410
+ } & {
2411
+ [key: string]: unknown;
2412
+ };
2413
+ /** Schema for successful response from reactions.get method */
2414
+ export type ReactionsGetResponse = ({
2415
+ channel: DefsChannel;
2416
+ message: ObjsMessage;
2417
+ ok: DefsOkTrue;
2418
+ type: "message";
2419
+ } & {
2420
+ [key: string]: unknown;
2421
+ }) | ({
2422
+ file: ObjsFile;
2423
+ ok: DefsOkTrue;
2424
+ type: "file";
2425
+ } & {
2426
+ [key: string]: unknown;
2427
+ }) | ({
2428
+ comment: ObjsComment;
2429
+ file: ObjsFile;
2430
+ ok: DefsOkTrue;
2431
+ type: "file_comment";
2432
+ } & {
2433
+ [key: string]: unknown;
2434
+ });
2435
+ /** Schema for successful response from reactions.list method */
2436
+ export type ReactionsListResponse = {
2437
+ items: Array<({
2438
+ channel: DefsChannel;
2439
+ message: ObjsMessage;
2440
+ type: "message";
2441
+ } & {
2442
+ [key: string]: unknown;
2443
+ }) | ({
2444
+ file: ObjsFile;
2445
+ type: "file";
2446
+ } & {
2447
+ [key: string]: unknown;
2448
+ }) | ({
2449
+ comment: ObjsComment;
2450
+ file: ObjsFile;
2451
+ type: "file_comment";
2452
+ } & {
2453
+ [key: string]: unknown;
2454
+ })>;
2455
+ ok: DefsOkTrue;
2456
+ paging?: ObjsPaging;
2457
+ response_metadata?: ObjsResponseMetadata;
2458
+ } & {
2459
+ [key: string]: unknown;
2460
+ };
2461
+ export type ReactionsRemoveRequest = {
2462
+ /** Reaction (emoji) name. */
2463
+ name: string;
2464
+ /** File to remove reaction from. */
2465
+ file?: string;
2466
+ /** File comment to remove reaction from. */
2467
+ file_comment?: string;
2468
+ /** Channel where the message to remove reaction from was posted. */
2469
+ channel?: string;
2470
+ /** Timestamp of the message to remove reaction from. */
2471
+ timestamp?: string;
2472
+ };
2473
+ /** Schema for successful response from reactions.remove method */
2474
+ export type ReactionsRemoveResponse = {
2475
+ ok: DefsOkTrue;
2476
+ } & {
2477
+ [key: string]: unknown;
2478
+ };
2479
+ export type RemindersAddRequest = {
2480
+ /** The content of the reminder */
2481
+ text: string;
2482
+ /** When this reminder should happen: the Unix timestamp (up to five years from now), the number of seconds until the reminder (if within 24 hours), or a natural language description (Ex. "in 15 minutes," or "every Thursday") */
2483
+ time: string;
2484
+ /** The user who will receive the reminder. If no user is specified, the reminder will go to user who created it. */
2485
+ user?: string;
2486
+ };
2487
+ /** Schema for successful response from reminders.add method */
2488
+ export type RemindersAddResponse = {
2489
+ ok: DefsOkTrue;
2490
+ reminder: ObjsReminder;
2491
+ } & {
2492
+ [key: string]: unknown;
2493
+ };
2494
+ export type RemindersCompleteRequest = {
2495
+ /** The ID of the reminder to be marked as complete */
2496
+ reminder?: string;
2497
+ };
2498
+ /** Schema for successful response from reminders.complete method */
2499
+ export type RemindersCompleteResponse = {
2500
+ ok: DefsOkTrue;
2501
+ } & {
2502
+ [key: string]: unknown;
2503
+ };
2504
+ export type RemindersDeleteRequest = {
2505
+ /** The ID of the reminder */
2506
+ reminder?: string;
2507
+ };
2508
+ /** Schema for successful response from reminders.delete method */
2509
+ export type RemindersDeleteResponse = {
2510
+ ok: DefsOkTrue;
2511
+ } & {
2512
+ [key: string]: unknown;
2513
+ };
2514
+ /** Schema for successful response from reminders.info method */
2515
+ export type RemindersInfoResponse = {
2516
+ ok: DefsOkTrue;
2517
+ reminder: ObjsReminder;
2518
+ } & {
2519
+ [key: string]: unknown;
2520
+ };
2521
+ /** Schema for successful response from reminders.list method */
2522
+ export type RemindersListResponse = {
2523
+ ok: DefsOkTrue;
2524
+ reminders: Array<ObjsReminder>;
2525
+ } & {
2526
+ [key: string]: unknown;
2527
+ };
2528
+ /** Schema for successful response from rtm.connect method */
2529
+ export type RtmConnectResponse = {
2530
+ ok: DefsOkTrue;
2531
+ self: {
2532
+ id: DefsUserId;
2533
+ name: string;
2534
+ } & {
2535
+ [key: string]: unknown;
2536
+ };
2537
+ team: {
2538
+ domain: string;
2539
+ id: DefsTeam;
2540
+ name: string;
2541
+ } & {
2542
+ [key: string]: unknown;
2543
+ };
2544
+ url: string;
2545
+ } & {
2546
+ [key: string]: unknown;
2547
+ };
2548
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
2549
+ export type SearchMessagesResponse = {
2550
+ ok: DefsOkTrue;
2551
+ } & {
2552
+ [key: string]: unknown;
2553
+ };
2554
+ export type StarsAddRequest = {
2555
+ /** Channel to add star to, or channel where the message to add star to was posted (used with `timestamp`). */
2556
+ channel?: string;
2557
+ /** File to add star to. */
2558
+ file?: string;
2559
+ /** File comment to add star to. */
2560
+ file_comment?: string;
2561
+ /** Timestamp of the message to add star to. */
2562
+ timestamp?: string;
2563
+ };
2564
+ /** Schema for successful response from stars.add method */
2565
+ export type StarsAddResponse = {
2566
+ ok: DefsOkTrue;
2567
+ } & {
2568
+ [key: string]: unknown;
2569
+ };
2570
+ /** Schema for successful response from stars.list method */
2571
+ export type StarsListResponse = {
2572
+ items: Array<({
2573
+ channel: DefsChannel;
2574
+ date_create: number;
2575
+ message: ObjsMessage;
2576
+ type: "message";
2577
+ } & {
2578
+ [key: string]: unknown;
2579
+ }) | ({
2580
+ date_create: number;
2581
+ file: ObjsFile;
2582
+ type: "file";
2583
+ } & {
2584
+ [key: string]: unknown;
2585
+ }) | ({
2586
+ comment: ObjsComment;
2587
+ date_create: number;
2588
+ file: ObjsFile;
2589
+ type: "file_comment";
2590
+ } & {
2591
+ [key: string]: unknown;
2592
+ }) | ({
2593
+ channel: DefsChannel;
2594
+ date_create: number;
2595
+ type: "channel";
2596
+ } & {
2597
+ [key: string]: unknown;
2598
+ }) | ({
2599
+ channel: DefsDmId;
2600
+ date_create: number;
2601
+ type: "im";
2602
+ } & {
2603
+ [key: string]: unknown;
2604
+ }) | ({
2605
+ channel: DefsGroupId;
2606
+ date_create: number;
2607
+ type: "group";
2608
+ } & {
2609
+ [key: string]: unknown;
2610
+ })>;
2611
+ ok: DefsOkTrue;
2612
+ paging?: ObjsPaging;
2613
+ response_metadata?: {
2614
+ next_cursor?: string;
2615
+ };
2616
+ } & {
2617
+ [key: string]: unknown;
2618
+ };
2619
+ export type StarsRemoveRequest = {
2620
+ /** Channel to remove star from, or channel where the message to remove star from was posted (used with `timestamp`). */
2621
+ channel?: string;
2622
+ /** File to remove star from. */
2623
+ file?: string;
2624
+ /** File comment to remove star from. */
2625
+ file_comment?: string;
2626
+ /** Timestamp of the message to remove star from. */
2627
+ timestamp?: string;
2628
+ };
2629
+ /** Schema for successful response from stars.remove method */
2630
+ export type StarsRemoveResponse = {
2631
+ ok: DefsOkTrue;
2632
+ } & {
2633
+ [key: string]: unknown;
2634
+ };
2635
+ /** Schema for successful response from team.accessLogs method */
2636
+ export type TeamAccessLogsResponse = {
2637
+ logins: Array<{
2638
+ count: number;
2639
+ country: string | null;
2640
+ date_first: number;
2641
+ date_last: number;
2642
+ ip: string | null;
2643
+ isp: string | null;
2644
+ region: string | null;
2645
+ user_agent: string;
2646
+ user_id: DefsUserId;
2647
+ username: string;
2648
+ } & {
2649
+ [key: string]: unknown;
2650
+ }>;
2651
+ ok: DefsOkTrue;
2652
+ paging: ObjsPaging;
2653
+ } & {
2654
+ [key: string]: unknown;
2655
+ };
2656
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
2657
+ export type TeamBillableInfoResponse = {
2658
+ ok: DefsOkTrue;
2659
+ } & {
2660
+ [key: string]: unknown;
2661
+ };
2662
+ /** Schema for successful response from team.info method */
2663
+ export type TeamInfoResponse = {
2664
+ ok: DefsOkTrue;
2665
+ team: ObjsTeam;
2666
+ } & {
2667
+ [key: string]: unknown;
2668
+ };
2669
+ /** Schema for successful response from team.integrationLogs method */
2670
+ export type TeamIntegrationLogsResponse = {
2671
+ logs: Array<{
2672
+ admin_app_id?: DefsAppId;
2673
+ app_id: DefsAppId;
2674
+ app_type: string;
2675
+ change_type: string;
2676
+ channel?: DefsChannel;
2677
+ date: string;
2678
+ scope: string;
2679
+ service_id?: string;
2680
+ service_type?: string;
2681
+ user_id: DefsUserId;
2682
+ user_name: string;
2683
+ } & {
2684
+ [key: string]: unknown;
2685
+ }>;
2686
+ ok: DefsOkTrue;
2687
+ paging: ObjsPaging;
2688
+ } & {
2689
+ [key: string]: unknown;
2690
+ };
2691
+ /** Schema for successful response from team.profile.get method */
2692
+ export type TeamProfileGetResponse = {
2693
+ ok: DefsOkTrue;
2694
+ profile: {
2695
+ fields: Array<ObjsTeamProfileField>;
2696
+ } & {
2697
+ [key: string]: unknown;
2698
+ };
2699
+ } & {
2700
+ [key: string]: unknown;
2701
+ };
2702
+ export type UsergroupsCreateRequest = {
2703
+ /** A comma separated string of encoded channel IDs for which the User Group uses as a default. */
2704
+ channels?: string;
2705
+ /** A short description of the User Group. */
2706
+ description?: string;
2707
+ /** A mention handle. Must be unique among channels, users and User Groups. */
2708
+ handle?: string;
2709
+ /** Include the number of users in each User Group. */
2710
+ include_count?: boolean;
2711
+ /** A name for the User Group. Must be unique among User Groups. */
2712
+ name: string;
2713
+ };
2714
+ /** Schema for successful response from usergroups.create method */
2715
+ export type UsergroupsCreateResponse = {
2716
+ ok: DefsOkTrue;
2717
+ usergroup: ObjsSubteam;
2718
+ } & {
2719
+ [key: string]: unknown;
2720
+ };
2721
+ export type UsergroupsDisableRequest = {
2722
+ /** Include the number of users in the User Group. */
2723
+ include_count?: boolean;
2724
+ /** The encoded ID of the User Group to disable. */
2725
+ usergroup: string;
2726
+ };
2727
+ /** Schema for successful response from usergroups.disable method */
2728
+ export type UsergroupsDisableResponse = {
2729
+ ok: DefsOkTrue;
2730
+ usergroup: ObjsSubteam;
2731
+ } & {
2732
+ [key: string]: unknown;
2733
+ };
2734
+ export type UsergroupsEnableRequest = {
2735
+ /** Include the number of users in the User Group. */
2736
+ include_count?: boolean;
2737
+ /** The encoded ID of the User Group to enable. */
2738
+ usergroup: string;
2739
+ };
2740
+ /** Schema for successful response from usergroups.enable method */
2741
+ export type UsergroupsEnableResponse = {
2742
+ ok: DefsOkTrue;
2743
+ usergroup: ObjsSubteam;
2744
+ } & {
2745
+ [key: string]: unknown;
2746
+ };
2747
+ /** Schema for successful response from usergroups.list method */
2748
+ export type UsergroupsListResponse = {
2749
+ ok: DefsOkTrue;
2750
+ usergroups: Array<ObjsSubteam>;
2751
+ } & {
2752
+ [key: string]: unknown;
2753
+ };
2754
+ export type UsergroupsUpdateRequest = {
2755
+ /** A mention handle. Must be unique among channels, users and User Groups. */
2756
+ handle?: string;
2757
+ /** A short description of the User Group. */
2758
+ description?: string;
2759
+ /** A comma separated string of encoded channel IDs for which the User Group uses as a default. */
2760
+ channels?: string;
2761
+ /** Include the number of users in the User Group. */
2762
+ include_count?: boolean;
2763
+ /** The encoded ID of the User Group to update. */
2764
+ usergroup: string;
2765
+ /** A name for the User Group. Must be unique among User Groups. */
2766
+ name?: string;
2767
+ };
2768
+ /** Schema for successful response from usergroups.update method */
2769
+ export type UsergroupsUpdateResponse = {
2770
+ ok: DefsOkTrue;
2771
+ usergroup: ObjsSubteam;
2772
+ } & {
2773
+ [key: string]: unknown;
2774
+ };
2775
+ /** Schema for successful response from usergroups.users.list method */
2776
+ export type UsergroupsUsersListResponse = {
2777
+ ok: DefsOkTrue;
2778
+ users: Array<DefsUserId>;
2779
+ } & {
2780
+ [key: string]: unknown;
2781
+ };
2782
+ export type UsergroupsUsersUpdateRequest = {
2783
+ /** Include the number of users in the User Group. */
2784
+ include_count?: boolean;
2785
+ /** The encoded ID of the User Group to update. */
2786
+ usergroup: string;
2787
+ /** A comma separated string of encoded user IDs that represent the entire list of users for the User Group. */
2788
+ users: string;
2789
+ };
2790
+ /** Schema for successful response from usergroups.users.update method */
2791
+ export type UsergroupsUsersUpdateResponse = {
2792
+ ok: DefsOkTrue;
2793
+ usergroup: ObjsSubteam;
2794
+ } & {
2795
+ [key: string]: unknown;
2796
+ };
2797
+ /** Schema for successful response from users.conversations method. Returned conversation objects do not include `num_members` or `is_member` */
2798
+ export type UsersConversationsResponse = {
2799
+ channels: Array<ObjsConversation>;
2800
+ ok: DefsOkTrue;
2801
+ response_metadata?: {
2802
+ next_cursor: string;
2803
+ } & {
2804
+ [key: string]: unknown;
2805
+ };
2806
+ } & {
2807
+ [key: string]: unknown;
2808
+ };
2809
+ export type UsersDeletePhotoRequest = Record<string, unknown>;
2810
+ /** Schema for successful response from users.deletePhoto method */
2811
+ export type UsersDeletePhotoResponse = {
2812
+ ok: DefsOkTrue;
2813
+ } & {
2814
+ [key: string]: unknown;
2815
+ };
2816
+ /** Generated from users.getPresence with shasum e7251aec575d8863f9e0eb38663ae9dc26655f65 */
2817
+ export type UsersGetPresenceResponse = {
2818
+ auto_away?: boolean;
2819
+ connection_count?: number;
2820
+ last_activity?: number;
2821
+ manual_away?: boolean;
2822
+ ok: DefsOkTrue;
2823
+ online?: boolean;
2824
+ presence: string;
2825
+ } & {
2826
+ [key: string]: unknown;
2827
+ };
2828
+ /** Schema for successful response from users.identity method */
2829
+ export type UsersIdentityResponse = ({
2830
+ ok: DefsOkTrue;
2831
+ team: {
2832
+ id: DefsTeam;
2833
+ } & {
2834
+ [key: string]: unknown;
2835
+ };
2836
+ user: {
2837
+ id: DefsUserId;
2838
+ name: string;
2839
+ } & {
2840
+ [key: string]: unknown;
2841
+ };
2842
+ } & {
2843
+ [key: string]: unknown;
2844
+ }) | ({
2845
+ ok: DefsOkTrue;
2846
+ team: {
2847
+ id: DefsTeam;
2848
+ } & {
2849
+ [key: string]: unknown;
2850
+ };
2851
+ user: {
2852
+ email: string;
2853
+ id: DefsUserId;
2854
+ name: string;
2855
+ } & {
2856
+ [key: string]: unknown;
2857
+ };
2858
+ } & {
2859
+ [key: string]: unknown;
2860
+ }) | ({
2861
+ ok: DefsOkTrue;
2862
+ team: {
2863
+ id: DefsTeam;
2864
+ } & {
2865
+ [key: string]: unknown;
2866
+ };
2867
+ user: {
2868
+ id: DefsUserId;
2869
+ image_192: string;
2870
+ image_24: string;
2871
+ image_32: string;
2872
+ image_48: string;
2873
+ image_512: string;
2874
+ image_72: string;
2875
+ name: string;
2876
+ } & {
2877
+ [key: string]: unknown;
2878
+ };
2879
+ } & {
2880
+ [key: string]: unknown;
2881
+ }) | ({
2882
+ ok: DefsOkTrue;
2883
+ team: {
2884
+ domain: string;
2885
+ id: DefsTeam;
2886
+ image_102: string;
2887
+ image_132: string;
2888
+ image_230: string;
2889
+ image_34: string;
2890
+ image_44: string;
2891
+ image_68: string;
2892
+ image_88: string;
2893
+ image_default: boolean;
2894
+ name: string;
2895
+ } & {
2896
+ [key: string]: unknown;
2897
+ };
2898
+ user: {
2899
+ id: DefsUserId;
2900
+ name: string;
2901
+ } & {
2902
+ [key: string]: unknown;
2903
+ };
2904
+ } & {
2905
+ [key: string]: unknown;
2906
+ });
2907
+ /** Schema for successful response from users.info method */
2908
+ export type UsersInfoResponse = {
2909
+ ok: DefsOkTrue;
2910
+ user: ObjsUser;
2911
+ } & {
2912
+ [key: string]: unknown;
2913
+ };
2914
+ /** Schema for successful response from users.list method */
2915
+ export type UsersListResponse = {
2916
+ cache_ts: number;
2917
+ members: Array<ObjsUser>;
2918
+ ok: DefsOkTrue;
2919
+ response_metadata?: ObjsResponseMetadata;
2920
+ } & {
2921
+ [key: string]: unknown;
2922
+ };
2923
+ /** Schema for successful response from users.lookupByEmail method */
2924
+ export type UsersLookupByEmailResponse = {
2925
+ ok: DefsOkTrue;
2926
+ user: ObjsUser;
2927
+ } & {
2928
+ [key: string]: unknown;
2929
+ };
2930
+ /** Schema for successful response from users.profile.get method */
2931
+ export type UsersProfileGetResponse = {
2932
+ ok: DefsOkTrue;
2933
+ profile: ObjsUserProfile;
2934
+ } & {
2935
+ [key: string]: unknown;
2936
+ };
2937
+ export type UsersProfileSetRequest = {
2938
+ /** Name of a single key to set. Usable only if `profile` is not passed. */
2939
+ name?: string;
2940
+ /** Collection of key:value pairs presented as a URL-encoded JSON hash. At most 50 fields may be set. Each field name is limited to 255 characters. */
2941
+ profile?: string;
2942
+ /** ID of user to change. This argument may only be specified by team admins on paid teams. */
2943
+ user?: string;
2944
+ /** Value to set a single key to. Usable only if `profile` is not passed. */
2945
+ value?: string;
2946
+ };
2947
+ /** Schema for successful response from users.profile.set method */
2948
+ export type UsersProfileSetResponse = {
2949
+ email_pending?: string;
2950
+ ok: DefsOkTrue;
2951
+ profile: ObjsUserProfile;
2952
+ username: string;
2953
+ } & {
2954
+ [key: string]: unknown;
2955
+ };
2956
+ /** Schema for successful response from users.setActive method */
2957
+ export type UsersSetActiveResponse = {
2958
+ ok: DefsOkTrue;
2959
+ } & {
2960
+ [key: string]: unknown;
2961
+ };
2962
+ export type UsersSetPhotoRequest = {
2963
+ /** Width/height of crop box (always square) */
2964
+ crop_w?: string;
2965
+ /** X coordinate of top-left corner of crop box */
2966
+ crop_x?: string;
2967
+ /** Y coordinate of top-left corner of crop box */
2968
+ crop_y?: string;
2969
+ /** File contents via `multipart/form-data`. */
2970
+ image?: string;
2971
+ };
2972
+ /** Schema for successful response from users.setPhoto method */
2973
+ export type UsersSetPhotoResponse = {
2974
+ ok: DefsOkTrue;
2975
+ profile: {
2976
+ avatar_hash: string;
2977
+ image_1024: string;
2978
+ image_192: string;
2979
+ image_24: string;
2980
+ image_32: string;
2981
+ image_48: string;
2982
+ image_512: string;
2983
+ image_72: string;
2984
+ image_original: string;
2985
+ } & {
2986
+ [key: string]: unknown;
2987
+ };
2988
+ } & {
2989
+ [key: string]: unknown;
2990
+ };
2991
+ export type UsersSetPresenceRequest = {
2992
+ /** Either `auto` or `away` */
2993
+ presence: string;
2994
+ };
2995
+ /** Schema for successful response from users.setPresence method */
2996
+ export type UsersSetPresenceResponse = {
2997
+ ok: DefsOkTrue;
2998
+ } & {
2999
+ [key: string]: unknown;
3000
+ };
3001
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
3002
+ export type ViewsOpenResponse = {
3003
+ ok: DefsOkTrue;
3004
+ } & {
3005
+ [key: string]: unknown;
3006
+ };
3007
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
3008
+ export type ViewsPublishResponse = {
3009
+ ok: DefsOkTrue;
3010
+ } & {
3011
+ [key: string]: unknown;
3012
+ };
3013
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
3014
+ export type ViewsPushResponse = {
3015
+ ok: DefsOkTrue;
3016
+ } & {
3017
+ [key: string]: unknown;
3018
+ };
3019
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
3020
+ export type ViewsUpdateResponse = {
3021
+ ok: DefsOkTrue;
3022
+ } & {
3023
+ [key: string]: unknown;
3024
+ };
3025
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
3026
+ export type WorkflowsStepCompletedResponse = {
3027
+ ok: DefsOkTrue;
3028
+ } & {
3029
+ [key: string]: unknown;
3030
+ };
3031
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
3032
+ export type WorkflowsStepFailedResponse = {
3033
+ ok: DefsOkTrue;
3034
+ } & {
3035
+ [key: string]: unknown;
3036
+ };
3037
+ /** This method either only returns a brief _OK_ response or a verbose schema is not available for this method. */
3038
+ export type WorkflowsUpdateStepResponse = {
3039
+ ok: DefsOkTrue;
3040
+ } & {
3041
+ [key: string]: unknown;
3042
+ };
3043
+ /** What each operation answers, by its id. */
3044
+ export interface Responses {
3045
+ admin_apps_approve: AdminAppsApproveResponse;
3046
+ admin_apps_approved_list: AdminAppsApprovedListResponse;
3047
+ admin_apps_requests_list: AdminAppsRequestsListResponse;
3048
+ admin_apps_restrict: AdminAppsRestrictResponse;
3049
+ admin_apps_restricted_list: AdminAppsRestrictedListResponse;
3050
+ admin_conversations_archive: AdminConversationsArchiveResponse;
3051
+ admin_conversations_convertToPrivate: AdminConversationsConvertToPrivateResponse;
3052
+ admin_conversations_create: AdminConversationsCreateResponse;
3053
+ admin_conversations_delete: AdminConversationsDeleteResponse;
3054
+ admin_conversations_disconnectShared: AdminConversationsDisconnectSharedResponse;
3055
+ admin_conversations_ekm_listOriginalConnectedChannelInfo: AdminConversationsEkmListOriginalConnectedChannelInfoResponse;
3056
+ admin_conversations_getConversationPrefs: AdminConversationsGetConversationPrefsResponse;
3057
+ admin_conversations_getTeams: AdminConversationsGetTeamsResponse;
3058
+ admin_conversations_invite: AdminConversationsInviteResponse;
3059
+ admin_conversations_rename: AdminConversationsRenameResponse;
3060
+ admin_conversations_restrictAccess_addGroup: AdminConversationsRestrictAccessAddGroupResponse;
3061
+ admin_conversations_restrictAccess_listGroups: AdminConversationsRestrictAccessListGroupsResponse;
3062
+ admin_conversations_restrictAccess_removeGroup: AdminConversationsRestrictAccessRemoveGroupResponse;
3063
+ admin_conversations_search: AdminConversationsSearchResponse;
3064
+ admin_conversations_setConversationPrefs: AdminConversationsSetConversationPrefsResponse;
3065
+ admin_conversations_setTeams: AdminConversationsSetTeamsResponse;
3066
+ admin_conversations_unarchive: AdminConversationsUnarchiveResponse;
3067
+ admin_emoji_add: AdminEmojiAddResponse;
3068
+ admin_emoji_addAlias: AdminEmojiAddAliasResponse;
3069
+ admin_emoji_list: AdminEmojiListResponse;
3070
+ admin_emoji_remove: AdminEmojiRemoveResponse;
3071
+ admin_emoji_rename: AdminEmojiRenameResponse;
3072
+ admin_inviteRequests_approve: AdminInviteRequestsApproveResponse;
3073
+ admin_inviteRequests_approved_list: AdminInviteRequestsApprovedListResponse;
3074
+ admin_inviteRequests_denied_list: AdminInviteRequestsDeniedListResponse;
3075
+ admin_inviteRequests_deny: AdminInviteRequestsDenyResponse;
3076
+ admin_inviteRequests_list: AdminInviteRequestsListResponse;
3077
+ admin_teams_admins_list: AdminTeamsAdminsListResponse;
3078
+ admin_teams_create: AdminTeamsCreateResponse;
3079
+ admin_teams_list: AdminTeamsListResponse;
3080
+ admin_teams_owners_list: AdminTeamsOwnersListResponse;
3081
+ admin_teams_settings_info: AdminTeamsSettingsInfoResponse;
3082
+ admin_teams_settings_setDefaultChannels: AdminTeamsSettingsSetDefaultChannelsResponse;
3083
+ admin_teams_settings_setDescription: AdminTeamsSettingsSetDescriptionResponse;
3084
+ admin_teams_settings_setDiscoverability: AdminTeamsSettingsSetDiscoverabilityResponse;
3085
+ admin_teams_settings_setIcon: AdminTeamsSettingsSetIconResponse;
3086
+ admin_teams_settings_setName: AdminTeamsSettingsSetNameResponse;
3087
+ admin_usergroups_addChannels: AdminUsergroupsAddChannelsResponse;
3088
+ admin_usergroups_addTeams: AdminUsergroupsAddTeamsResponse;
3089
+ admin_usergroups_listChannels: AdminUsergroupsListChannelsResponse;
3090
+ admin_usergroups_removeChannels: AdminUsergroupsRemoveChannelsResponse;
3091
+ admin_users_assign: AdminUsersAssignResponse;
3092
+ admin_users_invite: AdminUsersInviteResponse;
3093
+ admin_users_list: AdminUsersListResponse;
3094
+ admin_users_remove: AdminUsersRemoveResponse;
3095
+ admin_users_session_invalidate: AdminUsersSessionInvalidateResponse;
3096
+ admin_users_session_reset: AdminUsersSessionResetResponse;
3097
+ admin_users_setAdmin: AdminUsersSetAdminResponse;
3098
+ admin_users_setExpiration: AdminUsersSetExpirationResponse;
3099
+ admin_users_setOwner: AdminUsersSetOwnerResponse;
3100
+ admin_users_setRegular: AdminUsersSetRegularResponse;
3101
+ api_test: ApiTestResponse;
3102
+ apps_event_authorizations_list: AppsEventAuthorizationsListResponse;
3103
+ apps_permissions_info: AppsPermissionsInfoResponse;
3104
+ apps_permissions_request: AppsPermissionsRequestResponse;
3105
+ apps_permissions_resources_list: AppsPermissionsResourcesListResponse;
3106
+ apps_permissions_scopes_list: AppsPermissionsScopesListResponse;
3107
+ apps_permissions_users_list: AppsPermissionsUsersListResponse;
3108
+ apps_permissions_users_request: AppsPermissionsUsersRequestResponse;
3109
+ apps_uninstall: AppsUninstallResponse;
3110
+ auth_revoke: AuthRevokeResponse;
3111
+ auth_test: AuthTestResponse;
3112
+ bots_info: BotsInfoResponse;
3113
+ calls_add: CallsAddResponse;
3114
+ calls_end: CallsEndResponse;
3115
+ calls_info: CallsInfoResponse;
3116
+ calls_participants_add: CallsParticipantsAddResponse;
3117
+ calls_participants_remove: CallsParticipantsRemoveResponse;
3118
+ calls_update: CallsUpdateResponse;
3119
+ chat_delete: ChatDeleteResponse;
3120
+ chat_deleteScheduledMessage: ChatDeleteScheduledMessageResponse;
3121
+ chat_getPermalink: ChatGetPermalinkResponse;
3122
+ chat_meMessage: ChatMeMessageResponse;
3123
+ chat_postEphemeral: ChatPostEphemeralResponse;
3124
+ chat_postMessage: ChatPostMessageResponse;
3125
+ chat_scheduleMessage: ChatScheduleMessageResponse;
3126
+ chat_scheduledMessages_list: ChatScheduledMessagesListResponse;
3127
+ chat_unfurl: ChatUnfurlResponse;
3128
+ chat_update: ChatUpdateResponse;
3129
+ conversations_archive: ConversationsArchiveResponse;
3130
+ conversations_close: ConversationsCloseResponse;
3131
+ conversations_create: ConversationsCreateResponse;
3132
+ conversations_history: ConversationsHistoryResponse;
3133
+ conversations_info: ConversationsInfoResponse;
3134
+ conversations_invite: ConversationsInviteResponse;
3135
+ conversations_join: ConversationsJoinResponse;
3136
+ conversations_kick: ConversationsKickResponse;
3137
+ conversations_leave: ConversationsLeaveResponse;
3138
+ conversations_list: ConversationsListResponse;
3139
+ conversations_mark: ConversationsMarkResponse;
3140
+ conversations_members: ConversationsMembersResponse;
3141
+ conversations_open: ConversationsOpenResponse;
3142
+ conversations_rename: ConversationsRenameResponse;
3143
+ conversations_replies: ConversationsRepliesResponse;
3144
+ conversations_setPurpose: ConversationsSetPurposeResponse;
3145
+ conversations_setTopic: ConversationsSetTopicResponse;
3146
+ conversations_unarchive: ConversationsUnarchiveResponse;
3147
+ dialog_open: DialogOpenResponse;
3148
+ dnd_endDnd: DndEndDndResponse;
3149
+ dnd_endSnooze: DndEndSnoozeResponse;
3150
+ dnd_info: DndInfoResponse;
3151
+ dnd_setSnooze: DndSetSnoozeResponse;
3152
+ dnd_teamInfo: DndTeamInfoResponse;
3153
+ emoji_list: EmojiListResponse;
3154
+ files_comments_delete: FilesCommentsDeleteResponse;
3155
+ files_delete: FilesDeleteResponse;
3156
+ files_info: FilesInfoResponse;
3157
+ files_list: FilesListResponse;
3158
+ files_remote_add: FilesRemoteAddResponse;
3159
+ files_remote_info: FilesRemoteInfoResponse;
3160
+ files_remote_list: FilesRemoteListResponse;
3161
+ files_remote_remove: FilesRemoteRemoveResponse;
3162
+ files_remote_share: FilesRemoteShareResponse;
3163
+ files_remote_update: FilesRemoteUpdateResponse;
3164
+ files_revokePublicURL: FilesRevokePublicURLResponse;
3165
+ files_sharedPublicURL: FilesSharedPublicURLResponse;
3166
+ files_upload: FilesUploadResponse;
3167
+ migration_exchange: MigrationExchangeResponse;
3168
+ oauth_access: OauthAccessResponse;
3169
+ oauth_token: OauthTokenResponse;
3170
+ oauth_v2_access: OauthV2AccessResponse;
3171
+ pins_add: PinsAddResponse;
3172
+ pins_list: PinsListResponse;
3173
+ pins_remove: PinsRemoveResponse;
3174
+ reactions_add: ReactionsAddResponse;
3175
+ reactions_get: ReactionsGetResponse;
3176
+ reactions_list: ReactionsListResponse;
3177
+ reactions_remove: ReactionsRemoveResponse;
3178
+ reminders_add: RemindersAddResponse;
3179
+ reminders_complete: RemindersCompleteResponse;
3180
+ reminders_delete: RemindersDeleteResponse;
3181
+ reminders_info: RemindersInfoResponse;
3182
+ reminders_list: RemindersListResponse;
3183
+ rtm_connect: RtmConnectResponse;
3184
+ search_messages: SearchMessagesResponse;
3185
+ stars_add: StarsAddResponse;
3186
+ stars_list: StarsListResponse;
3187
+ stars_remove: StarsRemoveResponse;
3188
+ team_accessLogs: TeamAccessLogsResponse;
3189
+ team_billableInfo: TeamBillableInfoResponse;
3190
+ team_info: TeamInfoResponse;
3191
+ team_integrationLogs: TeamIntegrationLogsResponse;
3192
+ team_profile_get: TeamProfileGetResponse;
3193
+ usergroups_create: UsergroupsCreateResponse;
3194
+ usergroups_disable: UsergroupsDisableResponse;
3195
+ usergroups_enable: UsergroupsEnableResponse;
3196
+ usergroups_list: UsergroupsListResponse;
3197
+ usergroups_update: UsergroupsUpdateResponse;
3198
+ usergroups_users_list: UsergroupsUsersListResponse;
3199
+ usergroups_users_update: UsergroupsUsersUpdateResponse;
3200
+ users_conversations: UsersConversationsResponse;
3201
+ users_deletePhoto: UsersDeletePhotoResponse;
3202
+ users_getPresence: UsersGetPresenceResponse;
3203
+ users_identity: UsersIdentityResponse;
3204
+ users_info: UsersInfoResponse;
3205
+ users_list: UsersListResponse;
3206
+ users_lookupByEmail: UsersLookupByEmailResponse;
3207
+ users_profile_get: UsersProfileGetResponse;
3208
+ users_profile_set: UsersProfileSetResponse;
3209
+ users_setActive: UsersSetActiveResponse;
3210
+ users_setPhoto: UsersSetPhotoResponse;
3211
+ users_setPresence: UsersSetPresenceResponse;
3212
+ views_open: ViewsOpenResponse;
3213
+ views_publish: ViewsPublishResponse;
3214
+ views_push: ViewsPushResponse;
3215
+ views_update: ViewsUpdateResponse;
3216
+ workflows_stepCompleted: WorkflowsStepCompletedResponse;
3217
+ workflows_stepFailed: WorkflowsStepFailedResponse;
3218
+ workflows_updateStep: WorkflowsUpdateStepResponse;
3219
+ }
3220
+ //# sourceMappingURL=types.d.ts.map