@wirecat/slack-cli 0.0.0-stage → 0.2.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 (275) hide show
  1. package/CHANGELOG.md +121 -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-3IZF5ENR.js +61 -0
  19. package/dist/bundle/chunk-4HSVEQ3R.js +29 -0
  20. package/dist/bundle/chunk-4QPMHVM5.js +1007 -0
  21. package/dist/bundle/chunk-53LIHHXC.js +16 -0
  22. package/dist/bundle/chunk-5F36CXDM.js +794 -0
  23. package/dist/bundle/chunk-5LPREGD3.js +12636 -0
  24. package/dist/bundle/chunk-5R5YRYIP.js +1148 -0
  25. package/dist/bundle/chunk-5RSQTG7L.js +388 -0
  26. package/dist/bundle/chunk-5SXZETJF.js +170 -0
  27. package/dist/bundle/chunk-6PDQP5RM.js +50 -0
  28. package/dist/bundle/chunk-75BLNPN3.js +1197 -0
  29. package/dist/bundle/chunk-7BEO72EN.js +131 -0
  30. package/dist/bundle/chunk-7F6RNAIM.js +230 -0
  31. package/dist/bundle/chunk-AG7FP64Z.js +77 -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-AMLBQVKM.js +7577 -0
  101. package/dist/bundle/dist-PAKDDIBT.js +191 -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-OIYIBNSA.js +35443 -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/session.d.ts +7 -0
  143. package/dist/commands/session.d.ts.map +1 -0
  144. package/dist/commands/session.js +26 -0
  145. package/dist/commands/session.js.map +1 -0
  146. package/dist/config.d.ts +24 -0
  147. package/dist/config.d.ts.map +1 -0
  148. package/dist/config.js +75 -0
  149. package/dist/config.js.map +1 -0
  150. package/dist/context.d.ts +59 -0
  151. package/dist/context.d.ts.map +1 -0
  152. package/dist/context.js +75 -0
  153. package/dist/context.js.map +1 -0
  154. package/dist/generated/definitions.d.ts +3 -0
  155. package/dist/generated/definitions.d.ts.map +1 -0
  156. package/dist/generated/definitions.js +8596 -0
  157. package/dist/generated/definitions.js.map +1 -0
  158. package/dist/generated/emoji.d.ts +2 -0
  159. package/dist/generated/emoji.d.ts.map +1 -0
  160. package/dist/generated/emoji.js +4265 -0
  161. package/dist/generated/emoji.js.map +1 -0
  162. package/dist/generated/manifest.d.ts +6 -0
  163. package/dist/generated/manifest.d.ts.map +1 -0
  164. package/dist/generated/manifest.js +6139 -0
  165. package/dist/generated/manifest.js.map +1 -0
  166. package/dist/generated/schemas.d.ts +631 -0
  167. package/dist/generated/schemas.d.ts.map +1 -0
  168. package/dist/generated/schemas.js +2426 -0
  169. package/dist/generated/schemas.js.map +1 -0
  170. package/dist/generated/types.d.ts +3220 -0
  171. package/dist/generated/types.d.ts.map +1 -0
  172. package/dist/generated/types.js +5 -0
  173. package/dist/generated/types.js.map +1 -0
  174. package/dist/identity.d.ts +29 -0
  175. package/dist/identity.d.ts.map +1 -0
  176. package/dist/identity.js +32 -0
  177. package/dist/identity.js.map +1 -0
  178. package/dist/index.d.ts +3 -0
  179. package/dist/index.d.ts.map +1 -0
  180. package/dist/index.js +3 -0
  181. package/dist/index.js.map +1 -0
  182. package/dist/messenger.d.ts +12 -0
  183. package/dist/messenger.d.ts.map +1 -0
  184. package/dist/messenger.js +184 -0
  185. package/dist/messenger.js.map +1 -0
  186. package/dist/program.d.ts +6 -0
  187. package/dist/program.d.ts.map +1 -0
  188. package/dist/program.js +116 -0
  189. package/dist/program.js.map +1 -0
  190. package/dist/reasons.d.ts +7 -0
  191. package/dist/reasons.d.ts.map +1 -0
  192. package/dist/reasons.js +20 -0
  193. package/dist/reasons.js.map +1 -0
  194. package/dist/setup/flow.d.ts +2 -0
  195. package/dist/setup/flow.d.ts.map +1 -0
  196. package/dist/setup/flow.js +83 -0
  197. package/dist/setup/flow.js.map +1 -0
  198. package/dist/setup/guide.d.ts +6 -0
  199. package/dist/setup/guide.d.ts.map +1 -0
  200. package/dist/setup/guide.js +13 -0
  201. package/dist/setup/guide.js.map +1 -0
  202. package/dist/setup/texts.d.ts +24 -0
  203. package/dist/setup/texts.d.ts.map +1 -0
  204. package/dist/setup/texts.js +24 -0
  205. package/dist/setup/texts.js.map +1 -0
  206. package/dist/slack/adapter.d.ts +36 -0
  207. package/dist/slack/adapter.d.ts.map +1 -0
  208. package/dist/slack/adapter.js +574 -0
  209. package/dist/slack/adapter.js.map +1 -0
  210. package/dist/slack/app-manifest.d.ts +25 -0
  211. package/dist/slack/app-manifest.d.ts.map +1 -0
  212. package/dist/slack/app-manifest.js +51 -0
  213. package/dist/slack/app-manifest.js.map +1 -0
  214. package/dist/slack/client.d.ts +45 -0
  215. package/dist/slack/client.d.ts.map +1 -0
  216. package/dist/slack/client.js +236 -0
  217. package/dist/slack/client.js.map +1 -0
  218. package/dist/slack/map.d.ts +437 -0
  219. package/dist/slack/map.d.ts.map +1 -0
  220. package/dist/slack/map.js +411 -0
  221. package/dist/slack/map.js.map +1 -0
  222. package/dist/slack/mrkdwn.d.ts +9 -0
  223. package/dist/slack/mrkdwn.d.ts.map +1 -0
  224. package/dist/slack/mrkdwn.js +56 -0
  225. package/dist/slack/mrkdwn.js.map +1 -0
  226. package/dist/slack/search.d.ts +24 -0
  227. package/dist/slack/search.d.ts.map +1 -0
  228. package/dist/slack/search.js +99 -0
  229. package/dist/slack/search.js.map +1 -0
  230. package/dist/slack/threads.d.ts +28 -0
  231. package/dist/slack/threads.d.ts.map +1 -0
  232. package/dist/slack/threads.js +56 -0
  233. package/dist/slack/threads.js.map +1 -0
  234. package/dist/slack/tokens.d.ts +17 -0
  235. package/dist/slack/tokens.d.ts.map +1 -0
  236. package/dist/slack/tokens.js +27 -0
  237. package/dist/slack/tokens.js.map +1 -0
  238. package/dist/slack/writes.d.ts +43 -0
  239. package/dist/slack/writes.d.ts.map +1 -0
  240. package/dist/slack/writes.js +277 -0
  241. package/dist/slack/writes.js.map +1 -0
  242. package/dist/version.d.ts +2 -0
  243. package/dist/version.d.ts.map +1 -0
  244. package/dist/version.js +2 -0
  245. package/dist/version.js.map +1 -0
  246. package/dist/wcat.d.ts +3 -0
  247. package/dist/wcat.d.ts.map +1 -0
  248. package/dist/wcat.js +4 -0
  249. package/dist/wcat.js.map +1 -0
  250. package/package.json +89 -4
  251. package/skills/slack-cli/SKILL.md +117 -0
  252. package/skills/slack-cli/references/api/api-admin.md +541 -0
  253. package/skills/slack-cli/references/api/api-api.md +13 -0
  254. package/skills/slack-cli/references/api/api-apps.md +78 -0
  255. package/skills/slack-cli/references/api/api-auth.md +18 -0
  256. package/skills/slack-cli/references/api/api-bots.md +12 -0
  257. package/skills/slack-cli/references/api/api-calls.md +68 -0
  258. package/skills/slack-cli/references/api/api-chat.md +123 -0
  259. package/skills/slack-cli/references/api/api-conversations.md +230 -0
  260. package/skills/slack-cli/references/api/api-dialog.md +13 -0
  261. package/skills/slack-cli/references/api/api-dnd.md +31 -0
  262. package/skills/slack-cli/references/api/api-emoji.md +8 -0
  263. package/skills/slack-cli/references/api/api-files.md +120 -0
  264. package/skills/slack-cli/references/api/api-migration.md +14 -0
  265. package/skills/slack-cli/references/api/api-pins.md +37 -0
  266. package/skills/slack-cli/references/api/api-reactions.md +58 -0
  267. package/skills/slack-cli/references/api/api-reminders.md +51 -0
  268. package/skills/slack-cli/references/api/api-search.md +18 -0
  269. package/skills/slack-cli/references/api/api-stars.md +42 -0
  270. package/skills/slack-cli/references/api/api-team.md +55 -0
  271. package/skills/slack-cli/references/api/api-usergroups.md +80 -0
  272. package/skills/slack-cli/references/api/api-users.md +101 -0
  273. package/skills/slack-cli/references/api/api-views.md +46 -0
  274. package/skills/slack-cli/references/api/api-workflows.md +36 -0
  275. package/skills/slack-cli/references/api.md +35 -0
@@ -0,0 +1,68 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API: calls
4
+
5
+ ## `slk api calls add [options]`
6
+
7
+ - What: calls\_add — write (POST /calls.add)
8
+ - Call: `POST /calls.add`, effect: write
9
+ - Body: `CallsAddRequest`
10
+
11
+ | Flag | Required | What |
12
+ |---|---|---|
13
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
14
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
15
+
16
+ ## `slk api calls end [options]`
17
+
18
+ - What: calls\_end — write (POST /calls.end)
19
+ - Call: `POST /calls.end`, effect: write
20
+ - Body: `CallsEndRequest`
21
+
22
+ | Flag | Required | What |
23
+ |---|---|---|
24
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
25
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
26
+
27
+ ## `slk api calls info [options]`
28
+
29
+ - What: calls\_info — read (GET /calls.info)
30
+ - Call: `GET /calls.info`, effect: read
31
+
32
+ | Flag | Required | What |
33
+ |---|---|---|
34
+ | `--id <value>` | yes | \`id\` of the Call returned by the \[\`calls.add\`\](https://api.slack.com/methods/calls.add) method. |
35
+
36
+ ## `slk api calls participants-add [options]`
37
+
38
+ - What: calls\_participants\_add — write (POST /calls.participants.add)
39
+ - Call: `POST /calls.participants.add`, effect: write
40
+ - Body: `CallsParticipantsAddRequest`
41
+
42
+ | Flag | Required | What |
43
+ |---|---|---|
44
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
45
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
46
+
47
+ ## `slk api calls participants-remove [options]`
48
+
49
+ - What: calls\_participants\_remove — destructive (POST /calls.participants.remove)
50
+ - Call: `POST /calls.participants.remove`, effect: destructive
51
+ - Permission keys: `slack.delete`
52
+ - Body: `CallsParticipantsRemoveRequest`
53
+
54
+ | Flag | Required | What |
55
+ |---|---|---|
56
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
57
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
58
+
59
+ ## `slk api calls update [options]`
60
+
61
+ - What: calls\_update — write (POST /calls.update)
62
+ - Call: `POST /calls.update`, effect: write
63
+ - Body: `CallsUpdateRequest`
64
+
65
+ | Flag | Required | What |
66
+ |---|---|---|
67
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
68
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
@@ -0,0 +1,123 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API: chat
4
+
5
+ ## `slk api chat delete [options]`
6
+
7
+ - What: chat\_delete — destructive (POST /chat.delete)
8
+ - Call: `POST /chat.delete`, effect: destructive
9
+ - Permission keys: `messages.delete`
10
+ - Body: `ChatDeleteRequest`
11
+
12
+ | Flag | Required | What |
13
+ |---|---|---|
14
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
15
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
16
+
17
+ ## `slk api chat delete-scheduled-message [options]`
18
+
19
+ - What: chat\_deleteScheduledMessage — destructive (POST /chat.deleteScheduledMessage)
20
+ - Call: `POST /chat.deleteScheduledMessage`, effect: destructive
21
+ - Permission keys: `messages.scheduled.cancel`, `slack.delete`
22
+ - Body: `ChatDeleteScheduledMessageRequest`
23
+
24
+ | Flag | Required | What |
25
+ |---|---|---|
26
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
27
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
28
+
29
+ ## `slk api chat get-permalink [options]`
30
+
31
+ - What: chat\_getPermalink — read (GET /chat.getPermalink)
32
+ - Call: `GET /chat.getPermalink`, effect: read
33
+
34
+ | Flag | Required | What |
35
+ |---|---|---|
36
+ | `--channel <value>` | yes | The ID of the conversation or channel containing the message |
37
+ | `--message-ts <value>` | yes | A message's \`ts\` value, uniquely identifying it within a channel |
38
+
39
+ ## `slk api chat me-message [options]`
40
+
41
+ - What: chat\_meMessage — write (POST /chat.meMessage)
42
+ - Call: `POST /chat.meMessage`, effect: write
43
+ - Permission keys: `messages.send`
44
+ - Body: `ChatMeMessageRequest`
45
+
46
+ | Flag | Required | What |
47
+ |---|---|---|
48
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
49
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
50
+
51
+ ## `slk api chat post-ephemeral [options]`
52
+
53
+ - What: chat\_postEphemeral — write (POST /chat.postEphemeral)
54
+ - Call: `POST /chat.postEphemeral`, effect: write
55
+ - Permission keys: `messages.send`
56
+ - Body: `ChatPostEphemeralRequest`
57
+
58
+ | Flag | Required | What |
59
+ |---|---|---|
60
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
61
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
62
+
63
+ ## `slk api chat post-message [options]`
64
+
65
+ - What: chat\_postMessage — write (POST /chat.postMessage)
66
+ - Call: `POST /chat.postMessage`, effect: write
67
+ - Permission keys: `messages.send`
68
+ - Body: `ChatPostMessageRequest`
69
+
70
+ | Flag | Required | What |
71
+ |---|---|---|
72
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
73
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
74
+
75
+ ## `slk api chat schedule-message [options]`
76
+
77
+ - What: chat\_scheduleMessage — write (POST /chat.scheduleMessage)
78
+ - Call: `POST /chat.scheduleMessage`, effect: write
79
+ - Permission keys: `messages.send`
80
+ - Body: `ChatScheduleMessageRequest`
81
+
82
+ | Flag | Required | What |
83
+ |---|---|---|
84
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
85
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
86
+
87
+ ## `slk api chat scheduled-messages-list [options]`
88
+
89
+ - What: chat\_scheduledMessages\_list — read (GET /chat.scheduledMessages.list)
90
+ - Call: `GET /chat.scheduledMessages.list`, effect: read
91
+ - Pages: cursor: send `cursor` (query), read the next one from `response_metadata.next_cursor`; items in `scheduled_messages`; page size in `limit` (query)
92
+
93
+ | Flag | Required | What |
94
+ |---|---|---|
95
+ | `--channel <value>` | no | The channel of the scheduled messages |
96
+ | `--latest <value>` | no | A UNIX timestamp of the latest value in the time range |
97
+ | `--oldest <value>` | no | A UNIX timestamp of the oldest value in the time range |
98
+ | `--limit <value>` | no | Maximum number of original entries to return. |
99
+ | `--cursor <value>` | no | For pagination purposes, this is the \`cursor\` value returned from a previous call to \`chat.scheduledmessages.list\` indicating where you want to start this call from. |
100
+ | `--all` | no | read every page, as the API pages it |
101
+
102
+ ## `slk api chat unfurl [options]`
103
+
104
+ - What: chat\_unfurl — write (POST /chat.unfurl)
105
+ - Call: `POST /chat.unfurl`, effect: write
106
+ - Body: `ChatUnfurlRequest`
107
+
108
+ | Flag | Required | What |
109
+ |---|---|---|
110
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
111
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
112
+
113
+ ## `slk api chat update [options]`
114
+
115
+ - What: chat\_update — write (POST /chat.update)
116
+ - Call: `POST /chat.update`, effect: write
117
+ - Permission keys: `messages.edit`
118
+ - Body: `ChatUpdateRequest`
119
+
120
+ | Flag | Required | What |
121
+ |---|---|---|
122
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
123
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
@@ -0,0 +1,230 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API: conversations
4
+
5
+ ## `slk api conversations archive [options]`
6
+
7
+ - What: conversations\_archive — destructive (POST /conversations.archive)
8
+ - Call: `POST /conversations.archive`, effect: destructive
9
+ - Permission keys: `chats.archive`, `slack.delete`
10
+ - Body: `ConversationsArchiveRequest`
11
+
12
+ | Flag | Required | What |
13
+ |---|---|---|
14
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
15
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
16
+
17
+ ## `slk api conversations close [options]`
18
+
19
+ - What: conversations\_close — write (POST /conversations.close)
20
+ - Call: `POST /conversations.close`, effect: write
21
+ - Body: `ConversationsCloseRequest`
22
+
23
+ | Flag | Required | What |
24
+ |---|---|---|
25
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
26
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
27
+
28
+ ## `slk api conversations create [options]`
29
+
30
+ - What: conversations\_create — write (POST /conversations.create)
31
+ - Call: `POST /conversations.create`, effect: write
32
+ - Permission keys: `chats.create`
33
+ - Body: `ConversationsCreateRequest`
34
+
35
+ | Flag | Required | What |
36
+ |---|---|---|
37
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
38
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
39
+
40
+ ## `slk api conversations history [options]`
41
+
42
+ - What: conversations\_history — read (GET /conversations.history)
43
+ - Call: `GET /conversations.history`, effect: read
44
+ - Permission keys: `messages.list`
45
+ - Pages: cursor: send `cursor` (query), read the next one from `response_metadata.next_cursor`; items in `messages`; page size in `limit` (query)
46
+
47
+ | Flag | Required | What |
48
+ |---|---|---|
49
+ | `--channel <value>` | yes | Conversation ID to fetch history for. |
50
+ | `--latest <value>` | no | End of time range of messages to include in results. |
51
+ | `--oldest <value>` | no | Start of time range of messages to include in results. |
52
+ | `--inclusive <value>` | no | Include messages with latest or oldest timestamp in results only when either timestamp is specified. |
53
+ | `--limit <value>` | no | The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. |
54
+ | `--cursor <value>` | no | Paginate through collections of data by setting the \`cursor\` parameter to a \`next\_cursor\` attribute returned by a previous request's \`response\_metadata\`. Default value fetches the first "page" of the collection. See \[pagination\](https://api.slack.com/docs/pagination) for more detail. |
55
+ | `--all` | no | read every page, as the API pages it |
56
+
57
+ ## `slk api conversations info [options]`
58
+
59
+ - What: conversations\_info — read (GET /conversations.info)
60
+ - Call: `GET /conversations.info`, effect: read
61
+
62
+ | Flag | Required | What |
63
+ |---|---|---|
64
+ | `--channel <value>` | yes | Conversation ID to learn more about |
65
+ | `--include-locale <value>` | no | Set this to \`true\` to receive the locale for this conversation. Defaults to \`false\` |
66
+ | `--include-num-members <value>` | no | Set to \`true\` to include the member count for the specified conversation. Defaults to \`false\` |
67
+
68
+ ## `slk api conversations invite [options]`
69
+
70
+ - What: conversations\_invite — write (POST /conversations.invite)
71
+ - Call: `POST /conversations.invite`, effect: write
72
+ - Permission keys: `chats.members.add`
73
+ - Body: `ConversationsInviteRequest`
74
+
75
+ | Flag | Required | What |
76
+ |---|---|---|
77
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
78
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
79
+
80
+ ## `slk api conversations join [options]`
81
+
82
+ - What: conversations\_join — write (POST /conversations.join)
83
+ - Call: `POST /conversations.join`, effect: write
84
+ - Permission keys: `chats.join`
85
+ - Body: `ConversationsJoinRequest`
86
+
87
+ | Flag | Required | What |
88
+ |---|---|---|
89
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
90
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
91
+
92
+ ## `slk api conversations kick [options]`
93
+
94
+ - What: conversations\_kick — destructive (POST /conversations.kick)
95
+ - Call: `POST /conversations.kick`, effect: destructive
96
+ - Permission keys: `chats.members.remove`, `slack.delete`
97
+ - Body: `ConversationsKickRequest`
98
+
99
+ | Flag | Required | What |
100
+ |---|---|---|
101
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
102
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
103
+
104
+ ## `slk api conversations leave [options]`
105
+
106
+ - What: conversations\_leave — destructive (POST /conversations.leave)
107
+ - Call: `POST /conversations.leave`, effect: destructive
108
+ - Permission keys: `chats.leave`, `slack.delete`
109
+ - Body: `ConversationsLeaveRequest`
110
+
111
+ | Flag | Required | What |
112
+ |---|---|---|
113
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
114
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
115
+
116
+ ## `slk api conversations list [options]`
117
+
118
+ - What: conversations\_list — read (GET /conversations.list)
119
+ - Call: `GET /conversations.list`, effect: read
120
+ - Pages: cursor: send `cursor` (query), read the next one from `response_metadata.next_cursor`; items in `channels`; page size in `limit` (query)
121
+
122
+ | Flag | Required | What |
123
+ |---|---|---|
124
+ | `--exclude-archived <value>` | no | Set to \`true\` to exclude archived channels from the list |
125
+ | `--types <value>` | no | Mix and match channel types by providing a comma-separated list of any combination of \`public\_channel\`, \`private\_channel\`, \`mpim\`, \`im\` |
126
+ | `--limit <value>` | no | The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. Must be an integer no larger than 1000. |
127
+ | `--cursor <value>` | no | Paginate through collections of data by setting the \`cursor\` parameter to a \`next\_cursor\` attribute returned by a previous request's \`response\_metadata\`. Default value fetches the first "page" of the collection. See \[pagination\](https://api.slack.com/docs/pagination) for more detail. |
128
+ | `--all` | no | read every page, as the API pages it |
129
+
130
+ ## `slk api conversations mark [options]`
131
+
132
+ - What: conversations\_mark — write (POST /conversations.mark)
133
+ - Call: `POST /conversations.mark`, effect: write
134
+ - Permission keys: `chats.mark-read`
135
+ - Body: `ConversationsMarkRequest`
136
+
137
+ | Flag | Required | What |
138
+ |---|---|---|
139
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
140
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
141
+
142
+ ## `slk api conversations members [options]`
143
+
144
+ - What: conversations\_members — read (GET /conversations.members)
145
+ - Call: `GET /conversations.members`, effect: read
146
+ - Pages: cursor: send `cursor` (query), read the next one from `response_metadata.next_cursor`; items in `members`; page size in `limit` (query)
147
+
148
+ | Flag | Required | What |
149
+ |---|---|---|
150
+ | `--channel <value>` | yes | ID of the conversation to retrieve members for |
151
+ | `--limit <value>` | no | The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. |
152
+ | `--cursor <value>` | no | Paginate through collections of data by setting the \`cursor\` parameter to a \`next\_cursor\` attribute returned by a previous request's \`response\_metadata\`. Default value fetches the first "page" of the collection. See \[pagination\](https://api.slack.com/docs/pagination) for more detail. |
153
+ | `--all` | no | read every page, as the API pages it |
154
+
155
+ ## `slk api conversations open [options]`
156
+
157
+ - What: conversations\_open — write (POST /conversations.open)
158
+ - Call: `POST /conversations.open`, effect: write
159
+ - Body: `ConversationsOpenRequest`
160
+
161
+ | Flag | Required | What |
162
+ |---|---|---|
163
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
164
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
165
+
166
+ ## `slk api conversations rename [options]`
167
+
168
+ - What: conversations\_rename — write (POST /conversations.rename)
169
+ - Call: `POST /conversations.rename`, effect: write
170
+ - Permission keys: `chats.update`
171
+ - Body: `ConversationsRenameRequest`
172
+
173
+ | Flag | Required | What |
174
+ |---|---|---|
175
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
176
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
177
+
178
+ ## `slk api conversations replies [options]`
179
+
180
+ - What: conversations\_replies — read (GET /conversations.replies)
181
+ - Call: `GET /conversations.replies`, effect: read
182
+ - Permission keys: `messages.list`
183
+ - Pages: cursor: send `cursor` (query), read the next one from `response_metadata.next_cursor`; items in `messages`; page size in `limit` (query)
184
+
185
+ | Flag | Required | What |
186
+ |---|---|---|
187
+ | `--channel <value>` | yes | Conversation ID to fetch thread from. |
188
+ | `--ts <value>` | yes | Unique identifier of a thread's parent message. \`ts\` must be the timestamp of an existing message with 0 or more replies. If there are no replies then just the single message referenced by \`ts\` will return - it is just an ordinary, unthreaded message. |
189
+ | `--latest <value>` | no | End of time range of messages to include in results. |
190
+ | `--oldest <value>` | no | Start of time range of messages to include in results. |
191
+ | `--inclusive <value>` | no | Include messages with latest or oldest timestamp in results only when either timestamp is specified. |
192
+ | `--limit <value>` | no | The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the users list hasn't been reached. |
193
+ | `--cursor <value>` | no | Paginate through collections of data by setting the \`cursor\` parameter to a \`next\_cursor\` attribute returned by a previous request's \`response\_metadata\`. Default value fetches the first "page" of the collection. See \[pagination\](https://api.slack.com/docs/pagination) for more detail. |
194
+ | `--all` | no | read every page, as the API pages it |
195
+
196
+ ## `slk api conversations set-purpose [options]`
197
+
198
+ - What: conversations\_setPurpose — write (POST /conversations.setPurpose)
199
+ - Call: `POST /conversations.setPurpose`, effect: write
200
+ - Permission keys: `chats.update`
201
+ - Body: `ConversationsSetPurposeRequest`
202
+
203
+ | Flag | Required | What |
204
+ |---|---|---|
205
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
206
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
207
+
208
+ ## `slk api conversations set-topic [options]`
209
+
210
+ - What: conversations\_setTopic — write (POST /conversations.setTopic)
211
+ - Call: `POST /conversations.setTopic`, effect: write
212
+ - Permission keys: `chats.update`
213
+ - Body: `ConversationsSetTopicRequest`
214
+
215
+ | Flag | Required | What |
216
+ |---|---|---|
217
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
218
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
219
+
220
+ ## `slk api conversations unarchive [options]`
221
+
222
+ - What: conversations\_unarchive — write (POST /conversations.unarchive)
223
+ - Call: `POST /conversations.unarchive`, effect: write
224
+ - Permission keys: `chats.unarchive`
225
+ - Body: `ConversationsUnarchiveRequest`
226
+
227
+ | Flag | Required | What |
228
+ |---|---|---|
229
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
230
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
@@ -0,0 +1,13 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API: dialog
4
+
5
+ ## `slk api dialog-open [options]`
6
+
7
+ - What: dialog\_open — write (GET /dialog.open)
8
+ - Call: `GET /dialog.open`, effect: write
9
+
10
+ | Flag | Required | What |
11
+ |---|---|---|
12
+ | `--dialog <value>` | yes | The dialog definition. This must be a JSON-encoded string. |
13
+ | `--trigger-id <value>` | yes | Exchange a trigger to post to the user. |
@@ -0,0 +1,31 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API: dnd
4
+
5
+ ## `slk api dnd end-dnd`
6
+
7
+ - What: dnd\_endDnd — write (POST /dnd.endDnd)
8
+ - Call: `POST /dnd.endDnd`, effect: write
9
+
10
+ ## `slk api dnd end-snooze`
11
+
12
+ - What: dnd\_endSnooze — write (POST /dnd.endSnooze)
13
+ - Call: `POST /dnd.endSnooze`, effect: write
14
+
15
+ ## `slk api dnd info [options]`
16
+
17
+ - What: dnd\_info — read (GET /dnd.info)
18
+ - Call: `GET /dnd.info`, effect: read
19
+
20
+ | Flag | Required | What |
21
+ |---|---|---|
22
+ | `--user <value>` | no | User to fetch status for (defaults to current user) |
23
+
24
+ ## `slk api dnd team-info [options]`
25
+
26
+ - What: dnd\_teamInfo — read (GET /dnd.teamInfo)
27
+ - Call: `GET /dnd.teamInfo`, effect: read
28
+
29
+ | Flag | Required | What |
30
+ |---|---|---|
31
+ | `--users <value>` | no | Comma-separated list of users to fetch Do Not Disturb status for |
@@ -0,0 +1,8 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API: emoji
4
+
5
+ ## `slk api emoji-list`
6
+
7
+ - What: emoji\_list — read (GET /emoji.list)
8
+ - Call: `GET /emoji.list`, effect: read
@@ -0,0 +1,120 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API: files
4
+
5
+ ## `slk api files comments-delete [options]`
6
+
7
+ - What: files\_comments\_delete — destructive (POST /files.comments.delete)
8
+ - Call: `POST /files.comments.delete`, effect: destructive
9
+ - Permission keys: `slack.delete`
10
+ - Body: `FilesCommentsDeleteRequest`
11
+
12
+ | Flag | Required | What |
13
+ |---|---|---|
14
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
15
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
16
+
17
+ ## `slk api files delete [options]`
18
+
19
+ - What: files\_delete — destructive (POST /files.delete)
20
+ - Call: `POST /files.delete`, effect: destructive
21
+ - Permission keys: `slack.delete`
22
+ - Body: `FilesDeleteRequest`
23
+
24
+ | Flag | Required | What |
25
+ |---|---|---|
26
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
27
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
28
+
29
+ ## `slk api files info [options]`
30
+
31
+ - What: files\_info — read (GET /files.info)
32
+ - Call: `GET /files.info`, effect: read
33
+ - Permission keys: `messages.list`
34
+ - Pages: cursor: send `cursor` (query), read the next one from `response_metadata.next_cursor`; page size in `limit` (query)
35
+
36
+ | Flag | Required | What |
37
+ |---|---|---|
38
+ | `--file <value>` | no | Specify a file by providing its ID. |
39
+ | `--count <value>` | no | count |
40
+ | `--page <value>` | no | page |
41
+ | `--limit <value>` | no | The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. |
42
+ | `--cursor <value>` | no | Parameter for pagination. File comments are paginated for a single file. Set \`cursor\` equal to the \`next\_cursor\` attribute returned by the previous request's \`response\_metadata\`. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection of comments. See \[pagination\](https://api.slack.com/docs/pagination) for more details. |
43
+ | `--all` | no | read every page, as the API pages it |
44
+
45
+ ## `slk api files list [options]`
46
+
47
+ - What: files\_list — read (GET /files.list)
48
+ - Call: `GET /files.list`, effect: read
49
+ - Permission keys: `messages.list`
50
+ - Pages: page number: send `page` (query), one more for each page; items in `files`; page size in `count` (query)
51
+
52
+ | Flag | Required | What |
53
+ |---|---|---|
54
+ | `--user <value>` | no | Filter files created by a single user. |
55
+ | `--channel <value>` | no | Filter files appearing in a specific channel, indicated by its ID. |
56
+ | `--ts-from <value>` | no | Filter files created after this timestamp (inclusive). |
57
+ | `--ts-to <value>` | no | Filter files created before this timestamp (inclusive). |
58
+ | `--types <value>` | no | Filter files by type (see below). You can pass multiple values in the types argument, like \`types=spaces,snippets\`.The default value is \`all\`, which does not filter the list. |
59
+ | `--count <value>` | no | count |
60
+ | `--page <value>` | no | page |
61
+ | `--show-files-hidden-by-limit <value>` | no | Show truncated file info for files hidden due to being too old, and the team who owns the file being over the file limit. |
62
+ | `--all` | no | read every page, as the API pages it |
63
+
64
+ ## `slk api files remote-info [options]`
65
+
66
+ - What: files\_remote\_info — read (GET /files.remote.info)
67
+ - Call: `GET /files.remote.info`, effect: read
68
+
69
+ | Flag | Required | What |
70
+ |---|---|---|
71
+ | `--file <value>` | no | Specify a file by providing its ID. |
72
+ | `--external-id <value>` | no | Creator defined GUID for the file. |
73
+
74
+ ## `slk api files remote-list [options]`
75
+
76
+ - What: files\_remote\_list — read (GET /files.remote.list)
77
+ - Call: `GET /files.remote.list`, effect: read
78
+
79
+ | Flag | Required | What |
80
+ |---|---|---|
81
+ | `--channel <value>` | no | Filter files appearing in a specific channel, indicated by its ID. |
82
+ | `--ts-from <value>` | no | Filter files created after this timestamp (inclusive). |
83
+ | `--ts-to <value>` | no | Filter files created before this timestamp (inclusive). |
84
+ | `--limit <value>` | no | The maximum number of items to return. |
85
+ | `--cursor <value>` | no | Paginate through collections of data by setting the \`cursor\` parameter to a \`next\_cursor\` attribute returned by a previous request's \`response\_metadata\`. Default value fetches the first "page" of the collection. See \[pagination\](https://api.slack.com/docs/pagination) for more detail. |
86
+
87
+ ## `slk api files remote-share [options]`
88
+
89
+ - What: files\_remote\_share — write (GET /files.remote.share)
90
+ - Call: `GET /files.remote.share`, effect: write
91
+
92
+ | Flag | Required | What |
93
+ |---|---|---|
94
+ | `--file <value>` | no | Specify a file registered with Slack by providing its ID. Either this field or \`external\_id\` or both are required. |
95
+ | `--external-id <value>` | no | The globally unique identifier (GUID) for the file, as set by the app registering the file with Slack. Either this field or \`file\` or both are required. |
96
+ | `--channels <value>` | no | Comma-separated list of channel IDs where the file will be shared. |
97
+
98
+ ## `slk api files revoke-public-url [options]`
99
+
100
+ - What: files\_revokePublicURL — destructive (POST /files.revokePublicURL)
101
+ - Call: `POST /files.revokePublicURL`, effect: destructive
102
+ - Permission keys: `slack.delete`
103
+ - Body: `FilesRevokePublicURLRequest`
104
+
105
+ | Flag | Required | What |
106
+ |---|---|---|
107
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
108
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
109
+
110
+ ## `slk api files shared-public-url [options]`
111
+
112
+ - What: files\_sharedPublicURL — write (POST /files.sharedPublicURL)
113
+ - Call: `POST /files.sharedPublicURL`, effect: write
114
+ - Permission keys: `slack.share`
115
+ - Body: `FilesSharedPublicURLRequest`
116
+
117
+ | Flag | Required | What |
118
+ |---|---|---|
119
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
120
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
@@ -0,0 +1,14 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API: migration
4
+
5
+ ## `slk api migration-exchange [options]`
6
+
7
+ - What: migration\_exchange — read (GET /migration.exchange)
8
+ - Call: `GET /migration.exchange`, effect: read
9
+
10
+ | Flag | Required | What |
11
+ |---|---|---|
12
+ | `--users <value>` | yes | A comma-separated list of user ids, up to 400 per request |
13
+ | `--team-id <value>` | no | Specify team\_id starts with \`T\` in case of Org Token |
14
+ | `--to-old <value>` | no | Specify \`true\` to convert \`W\` global user IDs to workspace-specific \`U\` IDs. Defaults to \`false\`. |
@@ -0,0 +1,37 @@
1
+ <!-- Generated from the API manifest and the command tree by pnpm generate. Do not edit. -->
2
+
3
+ # Slack API: pins
4
+
5
+ ## `slk api pins add [options]`
6
+
7
+ - What: pins\_add — write (POST /pins.add)
8
+ - Call: `POST /pins.add`, effect: write
9
+ - Permission keys: `messages.pin`
10
+ - Body: `PinsAddRequest`
11
+
12
+ | Flag | Required | What |
13
+ |---|---|---|
14
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
15
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
16
+
17
+ ## `slk api pins list [options]`
18
+
19
+ - What: pins\_list — read (GET /pins.list)
20
+ - Call: `GET /pins.list`, effect: read
21
+ - Permission keys: `messages.list`
22
+
23
+ | Flag | Required | What |
24
+ |---|---|---|
25
+ | `--channel <value>` | yes | Channel to get pinned items for. |
26
+
27
+ ## `slk api pins remove [options]`
28
+
29
+ - What: pins\_remove — destructive (POST /pins.remove)
30
+ - Call: `POST /pins.remove`, effect: destructive
31
+ - Permission keys: `messages.unpin`, `slack.delete`
32
+ - Body: `PinsRemoveRequest`
33
+
34
+ | Flag | Required | What |
35
+ |---|---|---|
36
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
37
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |