@distilled.cloud/slack 0.0.0 → 1.0.0-rc.9

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 (212) hide show
  1. package/LICENSE +201 -0
  2. package/lib/credentials.d.ts +27 -0
  3. package/lib/credentials.d.ts.map +1 -0
  4. package/lib/credentials.js +53 -0
  5. package/lib/credentials.js.map +1 -0
  6. package/lib/errors.d.ts +83 -0
  7. package/lib/errors.d.ts.map +1 -0
  8. package/lib/errors.js +59 -0
  9. package/lib/errors.js.map +1 -0
  10. package/lib/index.d.ts +17 -0
  11. package/lib/index.d.ts.map +1 -0
  12. package/lib/index.js +17 -0
  13. package/lib/index.js.map +1 -0
  14. package/lib/pagination.d.ts +31 -0
  15. package/lib/pagination.d.ts.map +1 -0
  16. package/lib/pagination.js +31 -0
  17. package/lib/pagination.js.map +1 -0
  18. package/lib/protocol.d.ts +18 -0
  19. package/lib/protocol.d.ts.map +1 -0
  20. package/lib/protocol.js +230 -0
  21. package/lib/protocol.js.map +1 -0
  22. package/lib/retry.d.ts +52 -0
  23. package/lib/retry.d.ts.map +1 -0
  24. package/lib/retry.js +45 -0
  25. package/lib/retry.js.map +1 -0
  26. package/lib/services/admin.d.ts +2796 -0
  27. package/lib/services/admin.d.ts.map +1 -0
  28. package/lib/services/admin.js +3225 -0
  29. package/lib/services/admin.js.map +1 -0
  30. package/lib/services/api.d.ts +23 -0
  31. package/lib/services/api.d.ts.map +1 -0
  32. package/lib/services/api.js +26 -0
  33. package/lib/services/api.js.map +1 -0
  34. package/lib/services/apps.d.ts +568 -0
  35. package/lib/services/apps.d.ts.map +1 -0
  36. package/lib/services/apps.js +584 -0
  37. package/lib/services/apps.js.map +1 -0
  38. package/lib/services/assistant.d.ts +290 -0
  39. package/lib/services/assistant.d.ts.map +1 -0
  40. package/lib/services/assistant.js +232 -0
  41. package/lib/services/assistant.js.map +1 -0
  42. package/lib/services/auth.d.ts +90 -0
  43. package/lib/services/auth.d.ts.map +1 -0
  44. package/lib/services/auth.js +114 -0
  45. package/lib/services/auth.js.map +1 -0
  46. package/lib/services/blocks.d.ts +31 -0
  47. package/lib/services/blocks.d.ts.map +1 -0
  48. package/lib/services/blocks.js +31 -0
  49. package/lib/services/blocks.js.map +1 -0
  50. package/lib/services/bookmarks.d.ts +91 -0
  51. package/lib/services/bookmarks.d.ts.map +1 -0
  52. package/lib/services/bookmarks.js +98 -0
  53. package/lib/services/bookmarks.js.map +1 -0
  54. package/lib/services/bots.d.ts +60 -0
  55. package/lib/services/bots.d.ts.map +1 -0
  56. package/lib/services/bots.js +68 -0
  57. package/lib/services/bots.js.map +1 -0
  58. package/lib/services/calls.d.ts +124 -0
  59. package/lib/services/calls.d.ts.map +1 -0
  60. package/lib/services/calls.js +136 -0
  61. package/lib/services/calls.js.map +1 -0
  62. package/lib/services/canvases.d.ts +152 -0
  63. package/lib/services/canvases.d.ts.map +1 -0
  64. package/lib/services/canvases.js +152 -0
  65. package/lib/services/canvases.js.map +1 -0
  66. package/lib/services/chat.d.ts +525 -0
  67. package/lib/services/chat.d.ts.map +1 -0
  68. package/lib/services/chat.js +436 -0
  69. package/lib/services/chat.js.map +1 -0
  70. package/lib/services/conversations.d.ts +642 -0
  71. package/lib/services/conversations.d.ts.map +1 -0
  72. package/lib/services/conversations.js +769 -0
  73. package/lib/services/conversations.js.map +1 -0
  74. package/lib/services/dialog.d.ts +20 -0
  75. package/lib/services/dialog.d.ts.map +1 -0
  76. package/lib/services/dialog.js +27 -0
  77. package/lib/services/dialog.js.map +1 -0
  78. package/lib/services/dnd.d.ts +94 -0
  79. package/lib/services/dnd.d.ts.map +1 -0
  80. package/lib/services/dnd.js +111 -0
  81. package/lib/services/dnd.js.map +1 -0
  82. package/lib/services/emoji.d.ts +35 -0
  83. package/lib/services/emoji.d.ts.map +1 -0
  84. package/lib/services/emoji.js +40 -0
  85. package/lib/services/emoji.js.map +1 -0
  86. package/lib/services/entity.d.ts +93 -0
  87. package/lib/services/entity.d.ts.map +1 -0
  88. package/lib/services/entity.js +89 -0
  89. package/lib/services/entity.js.map +1 -0
  90. package/lib/services/files.d.ts +473 -0
  91. package/lib/services/files.d.ts.map +1 -0
  92. package/lib/services/files.js +510 -0
  93. package/lib/services/files.js.map +1 -0
  94. package/lib/services/functions.d.ts +235 -0
  95. package/lib/services/functions.d.ts.map +1 -0
  96. package/lib/services/functions.js +261 -0
  97. package/lib/services/functions.js.map +1 -0
  98. package/lib/services/index.d.ts +35 -0
  99. package/lib/services/index.d.ts.map +1 -0
  100. package/lib/services/index.js +36 -0
  101. package/lib/services/index.js.map +1 -0
  102. package/lib/services/lists.d.ts +300 -0
  103. package/lib/services/lists.d.ts.map +1 -0
  104. package/lib/services/lists.js +366 -0
  105. package/lib/services/lists.js.map +1 -0
  106. package/lib/services/migration.d.ts +34 -0
  107. package/lib/services/migration.d.ts.map +1 -0
  108. package/lib/services/migration.js +36 -0
  109. package/lib/services/migration.js.map +1 -0
  110. package/lib/services/oauth.d.ts +307 -0
  111. package/lib/services/oauth.d.ts.map +1 -0
  112. package/lib/services/oauth.js +278 -0
  113. package/lib/services/oauth.js.map +1 -0
  114. package/lib/services/openid.d.ts +86 -0
  115. package/lib/services/openid.d.ts.map +1 -0
  116. package/lib/services/openid.js +93 -0
  117. package/lib/services/openid.js.map +1 -0
  118. package/lib/services/pins.d.ts +64 -0
  119. package/lib/services/pins.d.ts.map +1 -0
  120. package/lib/services/pins.js +75 -0
  121. package/lib/services/pins.js.map +1 -0
  122. package/lib/services/reactions.d.ts +108 -0
  123. package/lib/services/reactions.d.ts.map +1 -0
  124. package/lib/services/reactions.js +119 -0
  125. package/lib/services/reactions.js.map +1 -0
  126. package/lib/services/reminders.d.ts +89 -0
  127. package/lib/services/reminders.d.ts.map +1 -0
  128. package/lib/services/reminders.js +109 -0
  129. package/lib/services/reminders.js.map +1 -0
  130. package/lib/services/rtm.d.ts +68 -0
  131. package/lib/services/rtm.d.ts.map +1 -0
  132. package/lib/services/rtm.js +74 -0
  133. package/lib/services/rtm.js.map +1 -0
  134. package/lib/services/search.d.ts +239 -0
  135. package/lib/services/search.d.ts.map +1 -0
  136. package/lib/services/search.js +190 -0
  137. package/lib/services/search.js.map +1 -0
  138. package/lib/services/stars.d.ts +126 -0
  139. package/lib/services/stars.d.ts.map +1 -0
  140. package/lib/services/stars.js +145 -0
  141. package/lib/services/stars.js.map +1 -0
  142. package/lib/services/team.d.ts +309 -0
  143. package/lib/services/team.d.ts.map +1 -0
  144. package/lib/services/team.js +336 -0
  145. package/lib/services/team.js.map +1 -0
  146. package/lib/services/tooling.d.ts +31 -0
  147. package/lib/services/tooling.d.ts.map +1 -0
  148. package/lib/services/tooling.js +38 -0
  149. package/lib/services/tooling.js.map +1 -0
  150. package/lib/services/usergroups.d.ts +183 -0
  151. package/lib/services/usergroups.d.ts.map +1 -0
  152. package/lib/services/usergroups.js +180 -0
  153. package/lib/services/usergroups.js.map +1 -0
  154. package/lib/services/users.d.ts +246 -0
  155. package/lib/services/users.d.ts.map +1 -0
  156. package/lib/services/users.js +309 -0
  157. package/lib/services/users.js.map +1 -0
  158. package/lib/services/views.d.ts +84 -0
  159. package/lib/services/views.d.ts.map +1 -0
  160. package/lib/services/views.js +95 -0
  161. package/lib/services/views.js.map +1 -0
  162. package/lib/services/workflows.d.ts +231 -0
  163. package/lib/services/workflows.d.ts.map +1 -0
  164. package/lib/services/workflows.js +240 -0
  165. package/lib/services/workflows.js.map +1 -0
  166. package/lib/traits.d.ts +11 -0
  167. package/lib/traits.d.ts.map +1 -0
  168. package/lib/traits.js +12 -0
  169. package/lib/traits.js.map +1 -0
  170. package/package.json +82 -4
  171. package/src/credentials.ts +86 -0
  172. package/src/errors.ts +101 -0
  173. package/src/index.ts +20 -0
  174. package/src/pagination.ts +35 -0
  175. package/src/protocol.ts +326 -0
  176. package/src/retry.ts +76 -0
  177. package/src/services/admin.ts +7729 -0
  178. package/src/services/api.ts +58 -0
  179. package/src/services/apps.ts +1441 -0
  180. package/src/services/assistant.ts +639 -0
  181. package/src/services/auth.ts +241 -0
  182. package/src/services/blocks.ts +80 -0
  183. package/src/services/bookmarks.ts +223 -0
  184. package/src/services/bots.ts +144 -0
  185. package/src/services/calls.ts +318 -0
  186. package/src/services/canvases.ts +392 -0
  187. package/src/services/chat.ts +1191 -0
  188. package/src/services/conversations.ts +1754 -0
  189. package/src/services/dialog.ts +55 -0
  190. package/src/services/dnd.ts +246 -0
  191. package/src/services/emoji.ts +91 -0
  192. package/src/services/entity.ts +225 -0
  193. package/src/services/files.ts +1192 -0
  194. package/src/services/functions.ts +647 -0
  195. package/src/services/index.ts +35 -0
  196. package/src/services/lists.ts +832 -0
  197. package/src/services/migration.ts +85 -0
  198. package/src/services/oauth.ts +658 -0
  199. package/src/services/openid.ts +243 -0
  200. package/src/services/pins.ts +167 -0
  201. package/src/services/reactions.ts +272 -0
  202. package/src/services/reminders.ts +240 -0
  203. package/src/services/rtm.ts +162 -0
  204. package/src/services/search.ts +507 -0
  205. package/src/services/stars.ts +323 -0
  206. package/src/services/team.ts +836 -0
  207. package/src/services/tooling.ts +78 -0
  208. package/src/services/usergroups.ts +441 -0
  209. package/src/services/users.ts +685 -0
  210. package/src/services/views.ts +212 -0
  211. package/src/services/workflows.ts +607 -0
  212. package/src/traits.ts +45 -0
@@ -0,0 +1,525 @@
1
+ import * as S from "@distilled.cloud/core/schema";
2
+ import * as API from "@distilled.cloud/core/api";
3
+ import { type SlackOpError, type SlackOpContext } from "../protocol.ts";
4
+ export type { SlackOpError, SlackOpContext };
5
+ /** Array of streaming chunks. */
6
+ export type AppendStreamRequestChunksList = Array<unknown>;
7
+ export declare const AppendStreamRequestChunksList: S.Schema<AppendStreamRequestChunksList>;
8
+ export interface AppendStreamRequest {
9
+ /** An encoded ID that represents a channel, private group, or DM */
10
+ channel: string;
11
+ /** Array of streaming chunks. */
12
+ chunks?: AppendStreamRequestChunksList;
13
+ /** The timestamp of the streaming message. */
14
+ ts: string;
15
+ /** Accepts message text formatted in markdown. Limit this field to 12,000 characters. This text is what will be appended to the message received so far. */
16
+ markdown_text: string;
17
+ }
18
+ export declare const AppendStreamRequest: S.Schema<AppendStreamRequest>;
19
+ export interface AppendStreamResponse {
20
+ /** Always `true` (a failed call raises a typed error instead). */
21
+ ok: boolean;
22
+ channel: string;
23
+ ts: string;
24
+ }
25
+ export declare const AppendStreamResponse: S.Schema<AppendStreamResponse>;
26
+ /** The source of the link to unfurl. The source may either be `composer`, when the link is inside the message composer, or `conversations_history`, when the link has been posted to a conversation. */
27
+ export type ChatUnfurlRequestSource = "composer" | "conversations_history";
28
+ export declare const ChatUnfurlRequestSource: any;
29
+ export interface ChatUnfurlRequest {
30
+ /** Channel ID of the message. Both `channel` and `ts` must be provided together, *or* `unfurl_id` and `source` must be provided together. Required for public channels. */
31
+ channel?: string;
32
+ /** Timestamp of the message to add unfurl behavior to. Required for public channels. */
33
+ ts?: string;
34
+ /** URL-encoded JSON map with keys set to URLs featured in the the message, pointing to their unfurl blocks or message attachments. Required for public channels. */
35
+ unfurls?: string;
36
+ /** Provide a simply-formatted string to send as an ephemeral message to the user as invitation to authenticate further and enable full unfurling behavior. Provides two buttons, `Not now` or `Never ask me again`. */
37
+ user_auth_message?: string | null;
38
+ /** Set to `true` or `1` to indicate the user must install your Slack app to trigger unfurls for this domain */
39
+ user_auth_required?: boolean;
40
+ /** Send users to this custom URL where they will complete authentication in your app to fully trigger unfurling. Value should be properly URL-encoded. */
41
+ user_auth_url?: string | null;
42
+ /** Provide a JSON based array of structured blocks presented as URL-encoded string to send as an ephemeral message to the user as invitation to authenticate further and enable full unfurling behavior */
43
+ user_auth_blocks?: unknown;
44
+ /** The ID of the link to unfurl. Both `unfurl_id` and `source` must be provided together, *or* `channel` and `ts` must be provided together. */
45
+ unfurl_id?: string;
46
+ /** The source of the link to unfurl. The source may either be `composer`, when the link is inside the message composer, or `conversations_history`, when the link has been posted to a conversation. */
47
+ source?: ChatUnfurlRequestSource | (string & {});
48
+ }
49
+ export declare const ChatUnfurlRequest: S.Schema<ChatUnfurlRequest>;
50
+ export interface ChatUnfurlResponse {
51
+ /** Always `true` (a failed call raises a typed error instead). */
52
+ ok: boolean;
53
+ }
54
+ export declare const ChatUnfurlResponse: S.Schema<ChatUnfurlResponse>;
55
+ export interface DeleteChatRequest {
56
+ /** (Legacy) Pass true to delete the message as the authed user with `chat:write:user` scope. Bot users in this context are considered authed users. See [legacy `as_user` parameter](#legacy_as_user) below. */
57
+ as_user?: boolean;
58
+ /** Channel containing the message to be deleted. */
59
+ channel: string;
60
+ /** Timestamp of the message to be deleted. */
61
+ ts: string;
62
+ }
63
+ export declare const DeleteChatRequest: S.Schema<DeleteChatRequest>;
64
+ export interface DeleteChatResponse {
65
+ /** Always `true` (a failed call raises a typed error instead). */
66
+ ok: boolean;
67
+ channel: string;
68
+ ts: string;
69
+ }
70
+ export declare const DeleteChatResponse: S.Schema<DeleteChatResponse>;
71
+ export interface DeleteScheduledMessageRequest {
72
+ /** Pass true to delete the message as the authed user with `chat:write:user` scope. Bot users in this context are considered authed users. If unused or false, the message will be deleted with `chat:write:bot` scope. */
73
+ as_user?: boolean;
74
+ /** The channel the scheduled_message is posting to */
75
+ channel: string;
76
+ /** `scheduled_message_id` returned from call to chat.scheduleMessage */
77
+ scheduled_message_id: string;
78
+ }
79
+ export declare const DeleteScheduledMessageRequest: S.Schema<DeleteScheduledMessageRequest>;
80
+ export interface DeleteScheduledMessageResponse {
81
+ /** Always `true` (a failed call raises a typed error instead). */
82
+ ok: boolean;
83
+ }
84
+ export declare const DeleteScheduledMessageResponse: S.Schema<DeleteScheduledMessageResponse>;
85
+ export interface GetPermalinkRequest {
86
+ /** The ID of the conversation or channel containing the message */
87
+ channel: string;
88
+ /** A message's `ts` value, uniquely identifying it within a channel */
89
+ message_ts: string;
90
+ }
91
+ export declare const GetPermalinkRequest: S.Schema<GetPermalinkRequest>;
92
+ export interface GetPermalinkResponse {
93
+ /** Always `true` (a failed call raises a typed error instead). */
94
+ ok: boolean;
95
+ permalink: string;
96
+ channel: string;
97
+ }
98
+ export declare const GetPermalinkResponse: S.Schema<GetPermalinkResponse>;
99
+ export interface ListScheduledMessagesRequest {
100
+ /** The channel of the scheduled messages */
101
+ channel?: string;
102
+ /** 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. */
103
+ cursor?: string;
104
+ /** A Unix timestamp of the latest value in the time range */
105
+ latest?: string;
106
+ /** Maximum number of original entries to return. */
107
+ limit?: number;
108
+ /** A Unix timestamp of the oldest value in the time range */
109
+ oldest?: string;
110
+ /** encoded team id to list channels in, required if org token is used */
111
+ team_id?: string;
112
+ }
113
+ export declare const ListScheduledMessagesRequest: S.Schema<ListScheduledMessagesRequest>;
114
+ export interface ListScheduledMessagesResponseScheduledMessagesItem {
115
+ id: string;
116
+ channel_id: string;
117
+ post_at: number;
118
+ date_created: number;
119
+ text?: string;
120
+ }
121
+ export declare const ListScheduledMessagesResponseScheduledMessagesItem: S.Schema<ListScheduledMessagesResponseScheduledMessagesItem>;
122
+ export type ListScheduledMessagesResponseScheduledMessagesList = Array<ListScheduledMessagesResponseScheduledMessagesItem>;
123
+ export declare const ListScheduledMessagesResponseScheduledMessagesList: S.Schema<ListScheduledMessagesResponseScheduledMessagesList>;
124
+ /** Pagination metadata. An empty `next_cursor` means the last page. */
125
+ export interface ListScheduledMessagesResponseResponseMetadata {
126
+ /** Cursor for the next page — pass as `cursor` on the next call. */
127
+ next_cursor?: string;
128
+ }
129
+ export declare const ListScheduledMessagesResponseResponseMetadata: S.Schema<ListScheduledMessagesResponseResponseMetadata>;
130
+ export interface ListScheduledMessagesResponse {
131
+ /** Always `true` (a failed call raises a typed error instead). */
132
+ ok: boolean;
133
+ scheduled_messages: ListScheduledMessagesResponseScheduledMessagesList;
134
+ /** Pagination metadata. An empty `next_cursor` means the last page. */
135
+ response_metadata?: ListScheduledMessagesResponseResponseMetadata;
136
+ }
137
+ export declare const ListScheduledMessagesResponse: S.Schema<ListScheduledMessagesResponse>;
138
+ export interface MeMessageRequest {
139
+ /** Channel to send message to. Can be a public channel, private group or IM channel. Can be an encoded ID, or a name. */
140
+ channel: string;
141
+ /** Text of the message to send. */
142
+ text: string;
143
+ }
144
+ export declare const MeMessageRequest: S.Schema<MeMessageRequest>;
145
+ export interface MeMessageResponse {
146
+ /** Always `true` (a failed call raises a typed error instead). */
147
+ ok: boolean;
148
+ ts?: string;
149
+ channel?: string;
150
+ }
151
+ export declare const MeMessageResponse: S.Schema<MeMessageResponse>;
152
+ export type PostEphemeralRequestAttachmentsCase1ItemMap = {
153
+ [key: string]: unknown | undefined;
154
+ };
155
+ export declare const PostEphemeralRequestAttachmentsCase1ItemMap: S.Schema<PostEphemeralRequestAttachmentsCase1ItemMap>;
156
+ export type PostEphemeralRequestAttachmentsCase1List = Array<PostEphemeralRequestAttachmentsCase1ItemMap>;
157
+ export declare const PostEphemeralRequestAttachmentsCase1List: S.Schema<PostEphemeralRequestAttachmentsCase1List>;
158
+ /** A JSON-based array of structured attachments, presented as a URL-encoded string. */
159
+ export type PostEphemeralRequestAttachments = string | PostEphemeralRequestAttachmentsCase1List;
160
+ export declare const PostEphemeralRequestAttachments: any;
161
+ export type PostEphemeralRequestBlocksCase1ItemMap = {
162
+ [key: string]: unknown | undefined;
163
+ };
164
+ export declare const PostEphemeralRequestBlocksCase1ItemMap: S.Schema<PostEphemeralRequestBlocksCase1ItemMap>;
165
+ export type PostEphemeralRequestBlocksCase1List = Array<PostEphemeralRequestBlocksCase1ItemMap>;
166
+ export declare const PostEphemeralRequestBlocksCase1List: S.Schema<PostEphemeralRequestBlocksCase1List>;
167
+ /** A JSON-based array of structured blocks, presented as a URL-encoded string. */
168
+ export type PostEphemeralRequestBlocks = string | PostEphemeralRequestBlocksCase1List;
169
+ export declare const PostEphemeralRequestBlocks: any;
170
+ export type PostEphemeralRequestParse = "" | "none" | "full" | "mrkdwn" | "false";
171
+ export declare const PostEphemeralRequestParse: any;
172
+ export interface PostEphemeralRequest {
173
+ /** (Legacy) 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. */
174
+ as_user?: boolean;
175
+ /** A JSON-based array of structured attachments, presented as a URL-encoded string. */
176
+ attachments?: PostEphemeralRequestAttachments;
177
+ /** A JSON-based array of structured blocks, presented as a URL-encoded string. */
178
+ blocks?: PostEphemeralRequestBlocks;
179
+ /** Channel, private group, or IM channel to send message to. Can be an encoded ID, or a name. */
180
+ channel: string;
181
+ /** Emoji to use as the icon for this message. Overrides `icon_url`. */
182
+ icon_emoji?: string;
183
+ /** URL to an image to use as the icon for this message. */
184
+ icon_url?: string;
185
+ /** Find and link channel names and usernames. */
186
+ link_names?: boolean;
187
+ /** Accepts message text formatted in markdown. This argument should not be used in conjunction with `blocks` or `text`. Limit this field to 12,000 characters. */
188
+ markdown_text?: string;
189
+ /** JSON object with an `entities` array of work object entity metadata, presented as a URL-encoded string. Only entity metadata is supported: ephemeral messages are not persisted and never dispatch `message_metadata_*` events, so `event_type`/`event_payload` message metadata is ignored here. Each entity requires `entity_type`, `entity_payload`, `external_ref`, and `url`. */
190
+ metadata?: string | null;
191
+ /** Change how messages are treated. Defaults to `none`. See [below](#formatting). */
192
+ parse?: PostEphemeralRequestParse | (string & {}) | null;
193
+ /** How this field works and whether it is required depends on other fields you use in your API call. [See below](#text_usage) for more detail. */
194
+ text?: string | null;
195
+ /** 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. */
196
+ thread_ts?: string | null;
197
+ /** `id` of the user who will receive the ephemeral message. The user should be in the channel specified by the `channel` argument. */
198
+ user: string;
199
+ /** Set your bot's user name. */
200
+ username?: string;
201
+ }
202
+ export declare const PostEphemeralRequest: S.Schema<PostEphemeralRequest>;
203
+ export interface PostEphemeralResponse {
204
+ /** Always `true` (a failed call raises a typed error instead). */
205
+ ok: boolean;
206
+ message_ts: string;
207
+ }
208
+ export declare const PostEphemeralResponse: S.Schema<PostEphemeralResponse>;
209
+ export type PostMessageRequestAttachmentsCase1ItemMap = {
210
+ [key: string]: unknown | undefined;
211
+ };
212
+ export declare const PostMessageRequestAttachmentsCase1ItemMap: S.Schema<PostMessageRequestAttachmentsCase1ItemMap>;
213
+ export type PostMessageRequestAttachmentsCase1List = Array<PostMessageRequestAttachmentsCase1ItemMap>;
214
+ export declare const PostMessageRequestAttachmentsCase1List: S.Schema<PostMessageRequestAttachmentsCase1List>;
215
+ /** A JSON-based array of structured attachments, presented as a URL-encoded string. */
216
+ export type PostMessageRequestAttachments = string | PostMessageRequestAttachmentsCase1List;
217
+ export declare const PostMessageRequestAttachments: any;
218
+ export type PostMessageRequestBlocksCase1ItemMap = {
219
+ [key: string]: unknown | undefined;
220
+ };
221
+ export declare const PostMessageRequestBlocksCase1ItemMap: S.Schema<PostMessageRequestBlocksCase1ItemMap>;
222
+ export type PostMessageRequestBlocksCase1List = Array<PostMessageRequestBlocksCase1ItemMap>;
223
+ export declare const PostMessageRequestBlocksCase1List: S.Schema<PostMessageRequestBlocksCase1List>;
224
+ /** A JSON-based array of structured blocks, presented as a URL-encoded string. */
225
+ export type PostMessageRequestBlocks = string | PostMessageRequestBlocksCase1List;
226
+ export declare const PostMessageRequestBlocks: any;
227
+ export interface PostMessageRequest {
228
+ /** (Legacy) Pass true to post the message as the authed user instead of as a bot. Defaults to false. Can only be used by classic apps. See [legacy `as_user` parameter](#legacy_as_user) below. */
229
+ as_user?: boolean;
230
+ /** A JSON-based array of structured attachments, presented as a URL-encoded string. */
231
+ attachments?: PostMessageRequestAttachments;
232
+ /** A JSON-based array of structured blocks, presented as a URL-encoded string. */
233
+ blocks?: PostMessageRequestBlocks;
234
+ /** An encoded ID or channel name that represents a channel, private group, or IM channel to send the message to. See [below](#channels) for more details. */
235
+ channel: string;
236
+ /** This field represents the timestamp of the draft's last update at the time this API is called. If the current message is a draft, this field can be provided to ensure synchronization with the server. */
237
+ current_draft_last_updated_ts?: string;
238
+ /** Emoji to use as the icon for this message. Overrides `icon_url`. */
239
+ icon_emoji?: string | null;
240
+ /** URL to an image to use as the icon for this message. */
241
+ icon_url?: string | null;
242
+ /** Find and link user groups. No longer supports linking individual users; use syntax shown in [Mentioning Users](/messaging/formatting-message-text#mentioning-users) instead. */
243
+ link_names?: boolean;
244
+ /** Accepts message text formatted in markdown. This argument should not be used in conjunction with `blocks` or `text`. Limit this field to 12,000 characters. */
245
+ markdown_text?: string;
246
+ /** JSON object with event_type and event_payload fields, presented as a URL-encoded string. You can also provide Work Object entity metadata using this parameter. Metadata you post to Slack is accessible to any app or user who is a member of that workspace. */
247
+ metadata?: string | null;
248
+ /** Disable Slack markup parsing by setting to `false`. Enabled by default. */
249
+ mrkdwn?: boolean;
250
+ /** Change how messages are treated. See [below](#formatting). */
251
+ parse?: string | null;
252
+ /** Used in conjunction with `thread_ts` and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to `false`. */
253
+ reply_broadcast?: boolean;
254
+ /** How this field works and whether it is required depends on other fields you use in your API call. [See below](#text_usage) for more detail. */
255
+ text?: string | null;
256
+ /** Provide another message's `ts` value to make this message a reply. Avoid using a reply's `ts` value; use its parent instead. */
257
+ thread_ts?: string | null;
258
+ /** Pass true to enable unfurling of primarily text-based content. */
259
+ unfurl_links?: boolean;
260
+ /** Pass false to disable unfurling of media content. */
261
+ unfurl_media?: boolean;
262
+ /** Set your bot's user name. */
263
+ username?: string | null;
264
+ }
265
+ export declare const PostMessageRequest: S.Schema<PostMessageRequest>;
266
+ export interface PostMessageResponse {
267
+ /** Always `true` (a failed call raises a typed error instead). */
268
+ ok: boolean;
269
+ channel: string;
270
+ ts: string;
271
+ message?: unknown;
272
+ /** Pass true if duplicate message is attempted to be sent. */
273
+ is_duplicate?: boolean;
274
+ }
275
+ export declare const PostMessageResponse: S.Schema<PostMessageResponse>;
276
+ export type ScheduleMessageRequestAttachmentsCase1ItemMap = {
277
+ [key: string]: unknown | undefined;
278
+ };
279
+ export declare const ScheduleMessageRequestAttachmentsCase1ItemMap: S.Schema<ScheduleMessageRequestAttachmentsCase1ItemMap>;
280
+ export type ScheduleMessageRequestAttachmentsCase1List = Array<ScheduleMessageRequestAttachmentsCase1ItemMap>;
281
+ export declare const ScheduleMessageRequestAttachmentsCase1List: S.Schema<ScheduleMessageRequestAttachmentsCase1List>;
282
+ /** A JSON-based array of structured attachments, presented as a URL-encoded string. */
283
+ export type ScheduleMessageRequestAttachments = string | ScheduleMessageRequestAttachmentsCase1List;
284
+ export declare const ScheduleMessageRequestAttachments: any;
285
+ export type ScheduleMessageRequestBlocksCase1ItemMap = {
286
+ [key: string]: unknown | undefined;
287
+ };
288
+ export declare const ScheduleMessageRequestBlocksCase1ItemMap: S.Schema<ScheduleMessageRequestBlocksCase1ItemMap>;
289
+ export type ScheduleMessageRequestBlocksCase1List = Array<ScheduleMessageRequestBlocksCase1ItemMap>;
290
+ export declare const ScheduleMessageRequestBlocksCase1List: S.Schema<ScheduleMessageRequestBlocksCase1List>;
291
+ /** A JSON-based array of structured blocks, presented as a URL-encoded string. */
292
+ export type ScheduleMessageRequestBlocks = string | ScheduleMessageRequestBlocksCase1List;
293
+ export declare const ScheduleMessageRequestBlocks: any;
294
+ /** Change how messages are treated. See [chat.postMessage](chat.postMessage#formatting). */
295
+ export type ScheduleMessageRequestParse = "none" | "full";
296
+ export declare const ScheduleMessageRequestParse: any;
297
+ export interface ScheduleMessageRequest {
298
+ /** Set to `true` to post the message as the authed user, instead of as a bot. Defaults to false. Cannot be used by [new Slack apps](/quickstart). See [chat.postMessage](chat.postMessage#authorship). */
299
+ as_user?: boolean;
300
+ /** A JSON-based array of structured attachments, presented as a URL-encoded string. */
301
+ attachments?: ScheduleMessageRequestAttachments;
302
+ /** A JSON-based array of structured blocks, presented as a URL-encoded string. */
303
+ blocks?: ScheduleMessageRequestBlocks;
304
+ /** Channel, private group, or DM channel to send message to. Can be an encoded ID, or a name. See [below](#channels) for more details. */
305
+ channel: string;
306
+ /** Find and link user groups. No longer supports linking individual users; use syntax shown in [Mentioning Users](/messaging/formatting-message-text#mentioning-users) instead. */
307
+ link_names?: boolean;
308
+ /** Accepts message text formatted in markdown. This argument should not be used in conjunction with `blocks` or `text`. Limit this field to 12,000 characters. */
309
+ markdown_text?: string;
310
+ /** Change how messages are treated. See [chat.postMessage](chat.postMessage#formatting). */
311
+ parse?: ScheduleMessageRequestParse | (string & {});
312
+ /** Unix timestamp representing the future time the message should post to Slack. */
313
+ post_at: number;
314
+ /** Used in conjunction with `thread_ts` and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to `false`. */
315
+ reply_broadcast?: boolean;
316
+ /** How this field works and whether it is required depends on other fields you use in your API call. [See below](#text_usage) for more detail. */
317
+ text?: string;
318
+ /** Provide another message's `ts` value to make this message a reply. Avoid using a reply's `ts` value; use its parent instead. */
319
+ thread_ts?: string;
320
+ /** Pass true to enable unfurling of primarily text-based content. */
321
+ unfurl_links?: boolean;
322
+ /** Pass false to disable unfurling of media content. */
323
+ unfurl_media?: boolean;
324
+ /** JSON object with event_type and event_payload fields, presented as a URL-encoded string. Metadata you post to Slack is accessible to any app or user who is a member of that workspace. */
325
+ metadata?: string | null;
326
+ }
327
+ export declare const ScheduleMessageRequest: S.Schema<ScheduleMessageRequest>;
328
+ export type ScheduleMessageResponseMessageMap = {
329
+ [key: string]: unknown | undefined;
330
+ };
331
+ export declare const ScheduleMessageResponseMessageMap: S.Schema<ScheduleMessageResponseMessageMap>;
332
+ export interface ScheduleMessageResponse {
333
+ /** Always `true` (a failed call raises a typed error instead). */
334
+ ok: boolean;
335
+ channel: string;
336
+ post_at: number;
337
+ scheduled_message_id: string;
338
+ message: ScheduleMessageResponseMessageMap;
339
+ }
340
+ export declare const ScheduleMessageResponse: S.Schema<ScheduleMessageResponse>;
341
+ /** Array of streaming chunks. */
342
+ export type StartStreamRequestChunksList = Array<unknown>;
343
+ export declare const StartStreamRequestChunksList: S.Schema<StartStreamRequestChunksList>;
344
+ /** Specifies how tasks are displayed in the message. A `timeline` displays individual tasks with text in sequential order, `plan` displays all tasks together, with the first tasks's placement determining the placement of the rest of the tasks, and `dense` collapses consecutive tool calls into a single summarized task card. */
345
+ export type StartStreamRequestTaskDisplayMode = "timeline" | "plan" | "dense";
346
+ export declare const StartStreamRequestTaskDisplayMode: any;
347
+ export interface StartStreamRequest {
348
+ /** An encoded ID that represents a channel thread or DM. */
349
+ channel: string;
350
+ /** Array of streaming chunks. */
351
+ chunks?: StartStreamRequestChunksList;
352
+ /** Accepts message text formatted in markdown. Limit this field to 12,000 characters. */
353
+ markdown_text?: string;
354
+ /** Provide another message's `ts` value to reply to. Streamed messages should always be replies to a user request. */
355
+ thread_ts: string;
356
+ /** The encoded ID of the user to receive the streaming text. Required when streaming to channels. */
357
+ recipient_user_id?: string;
358
+ /** The encoded ID of the team the user receiving the streaming text belongs to. Required when streaming to channels. */
359
+ recipient_team_id?: string;
360
+ /** Specifies how tasks are displayed in the message. A `timeline` displays individual tasks with text in sequential order, `plan` displays all tasks together, with the first tasks's placement determining the placement of the rest of the tasks, and `dense` collapses consecutive tool calls into a single summarized task card. */
361
+ task_display_mode?: StartStreamRequestTaskDisplayMode | (string & {});
362
+ /** Emoji to use as the icon for this message. Overrides `icon_url`. */
363
+ icon_emoji?: string;
364
+ /** Image URL to use as the icon for this message. */
365
+ icon_url?: string;
366
+ /** The bot's username to display. */
367
+ username?: string;
368
+ }
369
+ export declare const StartStreamRequest: S.Schema<StartStreamRequest>;
370
+ export interface StartStreamResponse {
371
+ /** Always `true` (a failed call raises a typed error instead). */
372
+ ok: boolean;
373
+ channel: string;
374
+ /** The timestamp of the streaming message. */
375
+ ts: string;
376
+ }
377
+ export declare const StartStreamResponse: S.Schema<StartStreamResponse>;
378
+ /** Array of streaming chunks. */
379
+ export type StopStreamRequestChunksList = Array<unknown>;
380
+ export declare const StopStreamRequestChunksList: S.Schema<StopStreamRequestChunksList>;
381
+ export interface StopStreamRequest {
382
+ /** An encoded ID that represents a channel, private group, or DM */
383
+ channel: string;
384
+ /** Array of streaming chunks. */
385
+ chunks?: StopStreamRequestChunksList;
386
+ /** The timestamp of the streaming message. */
387
+ ts: string;
388
+ /** Accepts message text formatted in markdown. Limit this field to 12,000 characters. */
389
+ markdown_text?: string;
390
+ /** A list of blocks that will be rendered at the bottom of the finalized message. */
391
+ blocks?: unknown;
392
+ /** JSON object with event_type and event_payload fields, presented as a URL-encoded string. Metadata you post to Slack is accessible to any app or user who is a member of that workspace. */
393
+ metadata?: string | null;
394
+ }
395
+ export declare const StopStreamRequest: S.Schema<StopStreamRequest>;
396
+ export interface StopStreamResponse {
397
+ /** Always `true` (a failed call raises a typed error instead). */
398
+ ok: boolean;
399
+ channel: string;
400
+ ts: string;
401
+ message: unknown;
402
+ }
403
+ export declare const StopStreamResponse: S.Schema<StopStreamResponse>;
404
+ /** Pass true to update the message as the authed user. Bot users in this context are considered authed users. */
405
+ export type UpdateChatRequestAsUser = boolean | string;
406
+ export declare const UpdateChatRequestAsUser: any;
407
+ export type UpdateChatRequestAttachmentsCase1ItemMap = {
408
+ [key: string]: unknown | undefined;
409
+ };
410
+ export declare const UpdateChatRequestAttachmentsCase1ItemMap: S.Schema<UpdateChatRequestAttachmentsCase1ItemMap>;
411
+ export type UpdateChatRequestAttachmentsCase1List = Array<UpdateChatRequestAttachmentsCase1ItemMap>;
412
+ export declare const UpdateChatRequestAttachmentsCase1List: S.Schema<UpdateChatRequestAttachmentsCase1List>;
413
+ /** A JSON-based array of structured attachments, presented as a URL-encoded string. */
414
+ export type UpdateChatRequestAttachments = string | UpdateChatRequestAttachmentsCase1List;
415
+ export declare const UpdateChatRequestAttachments: any;
416
+ export type UpdateChatRequestBlocksCase1ItemMap = {
417
+ [key: string]: unknown | undefined;
418
+ };
419
+ export declare const UpdateChatRequestBlocksCase1ItemMap: S.Schema<UpdateChatRequestBlocksCase1ItemMap>;
420
+ export type UpdateChatRequestBlocksCase1List = Array<UpdateChatRequestBlocksCase1ItemMap>;
421
+ export declare const UpdateChatRequestBlocksCase1List: S.Schema<UpdateChatRequestBlocksCase1List>;
422
+ /** A JSON-based array of structured blocks, presented as a URL-encoded string. */
423
+ export type UpdateChatRequestBlocks = string | UpdateChatRequestBlocksCase1List;
424
+ export declare const UpdateChatRequestBlocks: any;
425
+ /** 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`. */
426
+ export type UpdateChatRequestLinkNames = boolean | string;
427
+ export declare const UpdateChatRequestLinkNames: any;
428
+ /** Array of new file ids that will be sent with this message. */
429
+ export type UpdateChatRequestFileIdsList = Array<string>;
430
+ export declare const UpdateChatRequestFileIdsList: S.Schema<UpdateChatRequestFileIdsList>;
431
+ export interface UpdateChatRequest {
432
+ /** Pass true to update the message as the authed user. Bot users in this context are considered authed users. */
433
+ as_user?: UpdateChatRequestAsUser | null;
434
+ /** A JSON-based array of structured attachments, presented as a URL-encoded string. */
435
+ attachments?: UpdateChatRequestAttachments;
436
+ /** A JSON-based array of structured attachments, presented as a URL-encoded string. */
437
+ unfurled_attachments?: string | null;
438
+ /** A JSON-based array of structured blocks, presented as a URL-encoded string. */
439
+ blocks?: UpdateChatRequestBlocks;
440
+ /** Accepts message text formatted in markdown. This argument should not be used in conjunction with `blocks` or `text`. Limit this field to 12,000 characters. */
441
+ markdown_text?: string;
442
+ /** JSON object with event_type and event_payload fields, presented as a URL-encoded string. If you don't include this field, the message's previous `metadata` will be retained. To remove previous `metadata`, include an empty object for this field. Metadata you post to Slack is accessible to any app or user who is a member of that workspace. */
443
+ metadata?: string | null;
444
+ /** Channel containing the message to be updated. For direct messages, ensure that this value is a DM ID (starts with `D`) instead of a User ID (starts with either `U` or `W`). */
445
+ channel: string;
446
+ /** 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`. */
447
+ link_names?: UpdateChatRequestLinkNames | null;
448
+ /** 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`. */
449
+ parse?: string | null;
450
+ /** How this field works and whether it is required depends on other fields you use in your API call. [See below](#text_usage) for more detail. */
451
+ text?: string | null;
452
+ /** Timestamp of the message to be updated. */
453
+ ts: string;
454
+ /** Broadcast an existing thread reply to make it visible to everyone in the channel or conversation. */
455
+ reply_broadcast?: boolean;
456
+ /** Array of new file ids that will be sent with this message. */
457
+ file_ids?: UpdateChatRequestFileIdsList;
458
+ }
459
+ export declare const UpdateChatRequest: S.Schema<UpdateChatRequest>;
460
+ export type UpdateChatResponseMessageAttachmentsItemMap = {
461
+ [key: string]: unknown | undefined;
462
+ };
463
+ export declare const UpdateChatResponseMessageAttachmentsItemMap: S.Schema<UpdateChatResponseMessageAttachmentsItemMap>;
464
+ export type UpdateChatResponseMessageAttachmentsList = Array<UpdateChatResponseMessageAttachmentsItemMap>;
465
+ export declare const UpdateChatResponseMessageAttachmentsList: S.Schema<UpdateChatResponseMessageAttachmentsList>;
466
+ export type UpdateChatResponseMessageMetadataMap = {
467
+ [key: string]: unknown | undefined;
468
+ };
469
+ export declare const UpdateChatResponseMessageMetadataMap: S.Schema<UpdateChatResponseMessageMetadataMap>;
470
+ export interface UpdateChatResponseMessage {
471
+ text: string;
472
+ blocks?: unknown;
473
+ attachments?: UpdateChatResponseMessageAttachmentsList;
474
+ metadata?: UpdateChatResponseMessageMetadataMap;
475
+ }
476
+ export declare const UpdateChatResponseMessage: S.Schema<UpdateChatResponseMessage>;
477
+ export interface UpdateChatResponse {
478
+ /** Always `true` (a failed call raises a typed error instead). */
479
+ ok: boolean;
480
+ channel: string;
481
+ ts: string;
482
+ text: string;
483
+ message: UpdateChatResponseMessage;
484
+ }
485
+ export declare const UpdateChatResponse: S.Schema<UpdateChatResponse>;
486
+ export type AppendStreamError = SlackOpError;
487
+ /** Appends text to an existing streaming conversation. Required scopes — bot: `chat:write` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `message_not_in_streaming_state` — The message is not in the streaming state. - `messaging_processing_failed` — Failed to process the message. - `as_user_not_supported` — The `as_user` parameter does not function with workspace apps. - `channel_not_found` — Value passed for `channel` was invalid. - `duplicate_channel_not_found` — Channel associated with `client_msg_id` was invalid. - `duplicate_message_not_found` — No duplicate message exists associated with `client_msg_id`. - `ekm_access_denied` — Your message couldn’t be sent because your admins have disabled sending messages to this channel. - `invalid_blocks` — Blocks submitted with this message are not valid. - `invalid_chunks` — Chunks submitted with this message are not valid. - `invalid_metadata_format` — Invalid metadata format provided - `invalid_metadata_schema` — Invalid metadata schema provided - `is_archived` — Channel has been archived. - `message_limit_exceeded` — Members on this team are sending too many messages. For more details, see https://slack.com/help/articles/115002422943-Usage-limits-for-free-workspaces - `messages_tab_disabled` — Messages tab for the app is disabled. - `metadata_must_be_sent_from_app` — Message metadata can only be posted or updated using an app-level token - `msg_blocks_too_long` — Blocks submitted with this message are too long. - `msg_blocks_too_many` — Max blocks exceeded, blocks are limited to 50 per message. - `metadata_too_large` — Metadata exceeds size limit - `no_text` — No message text provided - `not_in_channel` — Cannot post user messages to a channel they are not in. - `rate_limited` — Application has posted too many messages, [read the Rate Limit documentation](/apis/web-api/rate-limits) for more information - `restricted_action` — A workspace preference prevents the authenticated user from posting. - `restricted_action_non_threadable_channel` — Cannot post thread replies into a non_threadable channel. - `restricted_action_read_only_channel` — Cannot post any message into a read-only channel. - `restricted_action_thread_locked` — Cannot post replies to a thread that has been locked by admins. - `restricted_action_thread_only_channel` — Cannot post top-level messages into a thread-only channel. - `slack_connect_canvas_sharing_blocked` — Admin has disabled Canvas File sharing in all Slack Connect communications - `slack_connect_file_link_sharing_blocked` — Admin has disabled Slack File sharing in all Slack Connect communications - `slack_connect_lists_sharing_blocked` — Admin has disabled Lists sharing in all Slack Connect communications - `team_not_found` — This error occurs if, when using an org-wide token, the `channel_name` is passed instead of the `channel_id`. - `too_many_attachments` — Too many attachments were provided with this message. A maximum of 100 attachments are allowed on a message. - `too_many_contact_cards` — Too many contact_cards were provided with this message. A maximum of 10 contact cards are allowed on a message. - `message_not_found` — Message not found - `channel_type_not_supported` — Channel type not supported - `stopped_by_user` — The streaming message was stopped by the user and no further appends are accepted. - `message_not_owned_by_app` — The message is not owned by the app. See https://docs.slack.dev/reference/methods/chat.appendStream */
488
+ export declare const appendStream: API.OperationMethod<AppendStreamRequest, AppendStreamResponse, AppendStreamError, SlackOpContext>;
489
+ export type ChatUnfurlError = SlackOpError;
490
+ /** Provide custom unfurl behavior for user-posted URLs Required scopes — bot: `links:write`; user: `links:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `cannot_auth_user` — The current user cannot be authenticated. - `cannot_find_channel` — The specified channel could not be located for this token. - `cannot_find_message` — The `ts` value in the request does not match a message. - `cannot_find_service` — A record of your app being allowed to unfurl for this workspace could not be found. - `cannot_parse_attachment` — The provided `unfurls` argument could not be parsed or understood. - `cannot_prompt` — The current user has already interacted with and dismissed a prompt for this application. - `cannot_unfurl_message` — The URL cannot be unfurled because the URL provided does not appear in the message. - `cannot_unfurl_url` — The URL cannot be unfurled. This error may be returned if you haven't acknowledged a `link_shared` event tied to the same URL. It is also returned when the domain appears in a workspace's administrative blocklists. - `invalid_unfurl_id` — The unfurl ID is invalid. - `invalid_unfurls_format` — The `unfurls` parameter cannot be JSON-decoded into a map of URLs to attachments. - `invalid_metadata_format` — The `metadata` parameter cannot be JSON-decoded into the expected format. - `invalid_source` — The unfurl source is invalid. - `missing_channel` — The request is missing the `channel` parameter - `missing_source` — The request is missing the `source` parameter. - `missing_ts` — The request is missing the `ts` parameter - `missing_unfurl_id` — The request is missing the `unfurl_id` parameter. - `missing_unfurls` — The request is missing the `unfurls` parameter. See https://docs.slack.dev/reference/methods/chat.unfurl */
491
+ export declare const chatUnfurl: API.OperationMethod<ChatUnfurlRequest, ChatUnfurlResponse, ChatUnfurlError, SlackOpContext>;
492
+ export type DeleteChatError = SlackOpError;
493
+ /** Deletes a message. Required scopes — bot: `chat:write`; user: `chat:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `cant_delete_message` — Authenticated user does not have permission to delete this message. - `channel_not_found` — Value passed for `channel` was invalid. - `message_not_found` — No message exists with the requested timestamp. See https://docs.slack.dev/reference/methods/chat.delete */
494
+ export declare const deleteChat: API.OperationMethod<DeleteChatRequest, DeleteChatResponse, DeleteChatError, SlackOpContext>;
495
+ export type DeleteScheduledMessageError = SlackOpError;
496
+ /** Deletes a pending scheduled message from the queue. Required scopes — bot: `chat:write`; user: `chat:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `bad_token` — The provided `token` was invalid. - `channel_not_found` — The `channel` passed is either an invalid ID or does not exist. - `invalid_scheduled_message_id` — The `scheduled_message_id` passed is either an invalid ID, or the scheduled message it's referencing has already been sent or deleted. See https://docs.slack.dev/reference/methods/chat.deleteScheduledMessage */
497
+ export declare const deleteScheduledMessage: API.OperationMethod<DeleteScheduledMessageRequest, DeleteScheduledMessageResponse, DeleteScheduledMessageError, SlackOpContext>;
498
+ export type GetPermalinkError = SlackOpError;
499
+ /** Retrieve a permalink URL for a specific extant message Rate limit tier: 5 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — Value passed for `channel` was invalid. - `message_not_found` — The message identified by `message_ts` could not be found. See https://docs.slack.dev/reference/methods/chat.getPermalink */
500
+ export declare const getPermalink: API.OperationMethod<GetPermalinkRequest, GetPermalinkResponse, GetPermalinkError, SlackOpContext>;
501
+ export type ListScheduledMessagesError = SlackOpError;
502
+ /** Returns a list of scheduled messages. Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `invalid_channel` — The channel passed is invalid - `invalid_cursor` — Provided cursor is invalid - `invalid_token` — Token is invalid See https://docs.slack.dev/reference/methods/chat.scheduledMessages.list */
503
+ export declare const listScheduledMessages: API.PaginatedOperationMethod<ListScheduledMessagesRequest, ListScheduledMessagesResponse, ListScheduledMessagesError, SlackOpContext, ListScheduledMessagesResponseScheduledMessagesItem>;
504
+ export type MeMessageError = SlackOpError;
505
+ /** Share a me message into a channel. Required scopes — bot: `chat:write`; user: `chat:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — Value passed for `channel` was invalid. - `is_archived` — Channel has been archived. - `msg_too_long` — Message text is too long - `no_text` — No message text provided - `not_in_channel` — Cannot post user messages to a channel they are not in. - `rate_limited` — Application has posted too many messages, [read the Rate Limit documentation](/apis/web-api/rate-limits) for more information See https://docs.slack.dev/reference/methods/chat.meMessage */
506
+ export declare const meMessage: API.OperationMethod<MeMessageRequest, MeMessageResponse, MeMessageError, SlackOpContext>;
507
+ export type PostEphemeralError = SlackOpError;
508
+ /** Sends an ephemeral message to a user in a channel. Required scopes — bot: `chat:write`; user: `chat:write` Rate limit tier: 4 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — Value passed for `channel` was invalid. - `invalid_blocks` — Blocks submitted with this message are not valid - `invalid_blocks_format` — The `blocks` is not a valid JSON object or doesn't match the Block Kit syntax. - `is_archived` — Channel has been archived. - `markdown_text_conflict` — Markdown text cannot be used in conjunction with `blocks` or `text` argument. - `message_limit_exceeded` — Members on this team are sending too many messages. For more details, see https://slack.com/help/articles/115002422943-Usage-limits-for-free-workspaces - `messages_tab_disabled` — Messages tab for the app is disabled. - `msg_too_long` — Message text is too long - `no_text` — No message text provided - `restricted_action` — A workspace preference prevents the authenticated user from posting. - `too_many_attachments` — Too many attachments were provided with this message. A maximum of 100 attachments are allowed on a message. - `user_not_in_channel` — Intended recipient is not in the specified channel. - `not_in_channel` — Cannot post user messages to a channel they are not in. - `invalid_attachments` — Attachments that contain blocks are not valid - `cannot_reply_to_message` — This message type cannot have thread replies. See https://docs.slack.dev/reference/methods/chat.postEphemeral */
509
+ export declare const postEphemeral: API.OperationMethod<PostEphemeralRequest, PostEphemeralResponse, PostEphemeralError, SlackOpContext>;
510
+ export type PostMessageError = SlackOpError;
511
+ /** Sends a message to a channel. Required scopes — bot: `chat:write`; user: `chat:write` Rate limit tier: 5 Method-specific errors (the `error` slug on the SlackError): - `app_access_restricted` — The user does not have permission to use this app. - `as_user_not_supported` — The `as_user` parameter does not function with workspace apps. - `channel_not_found` — Value passed for `channel` was invalid. - `draft_already_deleted` — The draft has already been deleted. - `draft_already_sent` — The draft has already been sent. - `draft_has_conflict` — The client draft version is out of sync with the server draft version. - `draft_not_found` — The draft was not found. - `duplicate_channel_not_found` — Channel associated with `client_msg_id` was invalid. - `duplicate_message_not_found` — No duplicate message exists associated with `client_msg_id`. - `ekm_access_denied` — Your message couldn’t be sent because your admins have disabled sending messages to this channel. - `invalid_blocks` — Blocks submitted with this message are not valid. - `invalid_blocks_format` — The `blocks` is not a valid JSON object or doesn't match the Block Kit syntax. - `invalid_metadata_format` — Invalid metadata format provided. - `invalid_metadata_schema` — Invalid metadata schema provided. - `is_archived` — Channel has been archived. - `markdown_text_conflict` — Markdown text cannot be used in conjunction with `blocks` or `text` argument. - `message_limit_exceeded` — Members on this team are sending too many messages. For more details, see https://slack.com/help/articles/115002422943-Usage-limits-for-free-workspaces. - `messages_tab_disabled` — Messages tab for the app is disabled. - `metadata_must_be_sent_from_app` — Message metadata can only be posted or updated using an app-level token. - `metadata_too_large` — Metadata exceeds size limit. - `msg_blocks_too_long` — Blocks submitted with this message are too long. - `no_text` — No message text provided. - `not_in_channel` — Cannot post user messages to a channel they are not in. - `rate_limited` — Application has posted too many messages, [read the Rate Limit documentation](/apis/web-api/rate-limits) for more information. - `restricted_action` — A workspace preference prevents the authenticated user from posting. - `restricted_action_non_threadable_channel` — Cannot post thread replies into a non_threadable channel. - `restricted_action_read_only_channel` — Cannot post any message into a read-only channel. - `restricted_action_thread_locked` — Cannot post replies to a thread that has been locked by admins. - `restricted_action_thread_only_channel` — Cannot post top-level messages into a thread-only channel. - `send_on_behalf_not_allowed` — Cannot send on behalf of the provided user. - `slack_connect_canvas_sharing_blocked` — Admin has disabled Canvas File sharing in all Slack Connect communications. - `slack_connect_file_link_sharing_blocked` — Admin has disabled Slack File sharing in all Slack Connect communications. - `slack_connect_lists_sharing_blocked` — Admin has disabled Lists sharing in all Slack Connect communications. - `team_not_found` — This error occurs if, when using an org-wide token, the `channel_name` is passed instead of the `channel_id`. - `too_many_attachments` — Too many attachments were provided with this message. A maximum of 100 attachments are allowed on a message. - `too_many_contact_cards` — Too many contact_cards were provided with this message. A maximum of 10 contact cards are allowed on a message. - `cannot_reply_to_message` — This message type cannot have thread replies. - `missing_file_data` — Attempted to share a file but some required data was missing. - `attachment_payload_limit_exceeded` — Attachment payload size is too long. See https://docs.slack.dev/reference/methods/chat.postMessage */
512
+ export declare const postMessage: API.OperationMethod<PostMessageRequest, PostMessageResponse, PostMessageError, SlackOpContext>;
513
+ export type ScheduleMessageError = SlackOpError;
514
+ /** Schedules a message to be sent to a channel. Required scopes — bot: `chat:write`; user: `chat:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — Value passed for `channel` was invalid. - `is_archived` — Channel has been archived. - `invalid_blocks` — Blocks submitted with this message are not valid - `invalid_blocks_format` — The `blocks` is not a valid JSON object or doesn't match the Block Kit syntax. - `invalid_metadata_format` — Invalid metadata format provided - `invalid_metadata_schema` — Invalid metadata schema provided - `invalid_time` — value passed for `post_time` was invalid. - `markdown_text_conflict` — Markdown text cannot be used in conjunction with `blocks` or `text` argument. - `message_limit_exceeded` — Members on this team are sending too many messages. For more details, see https://slack.com/help/articles/115002422943-Usage-limits-for-free-workspaces - `metadata_must_be_sent_from_app` — Message metadata can only be posted or updated using an app-level token - `metadata_too_large` — Metadata exceeds size limit - `msg_too_long` — Message text is too long - `no_text` — No message text provided - `not_in_channel` — Cannot post user messages to a channel they are not in. - `rate_limited` — Application has posted too many messages, [read the Rate Limit documentation](/apis/web-api/rate-limits) for more information - `restricted_action` — A workspace preference prevents the authenticated user from posting. - `restricted_action_non_threadable_channel` — Cannot post thread replies into a non_threadable channel. - `restricted_action_read_only_channel` — Cannot post any message into a read-only channel. - `restricted_action_thread_only_channel` — Cannot post top-level messages into a thread-only channel. - `restricted_too_many` — Too many messages were scheduled in the channel for a given period. See [usage info](/reference/methods/chat.scheduleMessage#restrictions) for additional details - `slack_connect_file_link_sharing_blocked` — Admin has disabled Slack File sharing in all Slack Connect communications - `time_in_past` — value passed for `post_time` was in the past. - `time_too_far` — value passed for `post_time` was too far into the future. - `too_many_attachments` — Too many attachments were provided with this message. A maximum of 100 attachments are allowed on a message. - `invalid_token` — The passed token is invalid or not supported by this method. See https://docs.slack.dev/reference/methods/chat.scheduleMessage */
515
+ export declare const scheduleMessage: API.OperationMethod<ScheduleMessageRequest, ScheduleMessageResponse, ScheduleMessageError, SlackOpContext>;
516
+ export type StartStreamError = SlackOpError;
517
+ /** Starts a new streaming conversation. Required scopes — bot: `chat:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `messaging_processing_failed` — Failed to process the message. - `channel_not_found` — Value passed for `channel` was invalid. - `duplicate_channel_not_found` — Channel associated with `client_msg_id` was invalid. - `duplicate_message_not_found` — No duplicate message exists associated with `client_msg_id`. - `ekm_access_denied` — Your message couldn’t be sent because your admins have disabled sending messages to this channel. - `invalid_blocks` — Blocks submitted with this message are not valid - `invalid_chunks` — Chunks submitted with this message are not valid. - `invalid_blocks_format` — The `blocks` is not a valid JSON object or doesn't match the Block Kit syntax. - `invalid_metadata_format` — Invalid metadata format provided - `invalid_metadata_schema` — Invalid metadata schema provided - `is_archived` — Channel has been archived. - `message_limit_exceeded` — Members on this team are sending too many messages. For more details, see https://slack.com/help/articles/115002422943-Usage-limits-for-free-workspaces - `messages_tab_disabled` — Messages tab for the app is disabled. - `metadata_must_be_sent_from_app` — Message metadata can only be posted or updated using an app-level token - `metadata_too_large` — Metadata exceeds size limit - `msg_blocks_too_long` — Blocks submitted with this message are too long. - `msg_blocks_too_many` — Max blocks exceeded, blocks are limited to 50 per message. - `no_text` — No message text provided - `not_in_channel` — Cannot post user messages to a channel they are not in. - `rate_limited` — Application has posted too many messages, [read the Rate Limit documentation](/apis/web-api/rate-limits) for more information - `restricted_action` — A workspace preference prevents the authenticated user from posting. - `restricted_action_non_threadable_channel` — Cannot post thread replies into a non_threadable channel. - `restricted_action_read_only_channel` — Cannot post any message into a read-only channel. - `restricted_action_thread_locked` — Cannot post replies to a thread that has been locked by admins. - `restricted_action_thread_only_channel` — Cannot post top-level messages into a thread-only channel. - `slack_connect_canvas_sharing_blocked` — Admin has disabled Canvas File sharing in all Slack Connect communications - `slack_connect_file_link_sharing_blocked` — Admin has disabled Slack File sharing in all Slack Connect communications - `slack_connect_lists_sharing_blocked` — Admin has disabled Lists sharing in all Slack Connect communications - `team_not_found` — This error occurs if, when using an org-wide token, the `channel_name` is passed instead of the `channel_id`. - `channel_type_not_supported` — Channel type not supported - `user_not_found` — User not found. - `missing_recipient_team_id` — Missing recipient team ID. - `missing_recipient_user_id` — Missing recipient user ID. - `not_subscribed_to_message_stream_stopped` — The app must be subscribed to the `message_stream_stopped` event to use `is_stoppable`. See https://docs.slack.dev/reference/methods/chat.startStream */
518
+ export declare const startStream: API.OperationMethod<StartStreamRequest, StartStreamResponse, StartStreamError, SlackOpContext>;
519
+ export type StopStreamError = SlackOpError;
520
+ /** Stops a streaming conversation. Required scopes — bot: `chat:write` Rate limit tier: 2 Method-specific errors (the `error` slug on the SlackError): - `message_not_found` — The message was not found. - `message_not_in_streaming_state` — The message is not in a streaming state. - `as_user_not_supported` — The `as_user` parameter does not function with workspace apps. - `channel_not_found` — Value passed for `channel` was invalid. - `channel_type_not_supported` — Channel type not supported. - `duplicate_channel_not_found` — Channel associated with `client_msg_id` was invalid. - `duplicate_message_not_found` — No duplicate message exists associated with `client_msg_id`. - `ekm_access_denied` — Your message couldn’t be sent because your admins have disabled sending messages to this channel. - `invalid_blocks` — Blocks submitted with this message are not valid. - `invalid_chunks` — Chunks submitted with this message are not valid. - `invalid_metadata_format` — Invalid metadata format provided - `invalid_metadata_schema` — Invalid metadata schema provided - `is_archived` — Channel has been archived. - `message_limit_exceeded` — Members on this team are sending too many messages. For more details, see https://slack.com/help/articles/115002422943-Usage-limits-for-free-workspaces - `message_not_owned_by_app` — The message is not owned by the app. - `messages_tab_disabled` — Messages tab for the app is disabled. - `metadata_must_be_sent_from_app` — Message metadata can only be posted or updated using an app-level token - `metadata_too_large` — Metadata exceeds size limit - `msg_blocks_too_long` — Blocks submitted with this message are too long. - `msg_blocks_too_many` — Max blocks exceeded, blocks are limited to 50 per message. - `no_text` — No message text provided - `not_in_channel` — Cannot post user messages to a channel they are not in. - `rate_limited` — Application has posted too many messages, [read the Rate Limit documentation](/apis/web-api/rate-limits) for more information - `restricted_action` — A workspace preference prevents the authenticated user from posting. - `restricted_action_non_threadable_channel` — Cannot post thread replies into a non_threadable channel. - `restricted_action_read_only_channel` — Cannot post any message into a read-only channel. - `restricted_action_thread_locked` — Cannot post replies to a thread that has been locked by admins. - `restricted_action_thread_only_channel` — Cannot post top-level messages into a thread-only channel. - `slack_connect_canvas_sharing_blocked` — Admin has disabled Canvas File sharing in all Slack Connect communications - `slack_connect_file_link_sharing_blocked` — Admin has disabled Slack File sharing in all Slack Connect communications - `slack_connect_lists_sharing_blocked` — Admin has disabled Lists sharing in all Slack Connect communications - `team_not_found` — This error occurs if, when using an org-wide token, the `channel_name` is passed instead of the `channel_id`. - `too_many_attachments` — Too many attachments were provided with this message. A maximum of 100 attachments are allowed on a message. - `too_many_contact_cards` — Too many contact_cards were provided with this message. A maximum of 10 contact cards are allowed on a message. - `cannot_reply_to_message` — This message type cannot have thread replies. - `missing_file_data` — Attempted to share a file but some required data was missing. - `attachment_payload_limit_exceeded` — Attachment payload size is too long. See https://docs.slack.dev/reference/methods/chat.stopStream */
521
+ export declare const stopStream: API.OperationMethod<StopStreamRequest, StopStreamResponse, StopStreamError, SlackOpContext>;
522
+ export type UpdateChatError = SlackOpError;
523
+ /** Updates a message. Required scopes — bot: `chat:write`; user: `chat:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `as_user_not_supported` — The `as_user` parameter does not function with workspace apps. - `blocked_file_type` — Admin has disabled uploading this type of file. - `block_mismatch` — Rich-text blocks cannot be replaced with non-rich-text blocks - `cant_broadcast_message` — Unable to broadcast this message. - `cant_update_message` — Authenticated user does not have permission to update this message. - `channel_not_found` — Value passed for `channel` was invalid. - `edit_window_closed` — The message cannot be edited due to the team message edit settings - `external_channel_migrating` — The channel is in the process of migrating and so the message cannot be updated at this time. - `file_deleted` — File to share deleted. - `file_is_deleted` — The file is deleted. - `file_not_found` — One or more of the provided file IDs could not be found. - `file_share_limit_reached` — The file has reached the share limit. - `invalid_attachments` — The attachments were invalid. - `invalid_blocks` — The blocks were invalid for the requesting user. - `invalid_blocks_format` — The `blocks` array is not a valid JSON object or doesn't match the Block Kit syntax. - `invalid_metadata_format` — Invalid metadata format provided - `invalid_metadata_schema` — Invalid metadata schema provided - `is_inactive` — The message cannot be edited within a frozen, archived or deleted channel. - `markdown_text_conflict` — Markdown text cannot be used in conjunction with `blocks` or `text` argument. - `max_file_sharing_exceeded` — Exceeded max allowed files shared. - `message_limit_exceeded` — Members on this team are sending too many messages. For more details, see https://slack.com/help/articles/115002422943-Usage-limits-for-free-workspaces. - `message_not_found` — No message exists with the requested timestamp. - `metadata_must_be_sent_from_app` — Message metadata can only be posted or updated using an app-level token - `metadata_too_large` — Metadata exceeds size limit - `msg_too_long` — Message text is too long. The `text` field cannot exceed 4,000 characters. - `no_dual_broadcast_content_update` — Can't broadcast an old reply and update the content at the same time. - `no_text` — No message text provided - `posting_to_channel_denied` — The user does not have permission to share files in this channel. - `slack_connect_blocked_file_type` — Files with certain extensions are blocked from being uploaded in all Slack Connect messages. - `slack_connect_canvas_sharing_blocked` — Admin has disabled sharing of canvas links in all Slack Connect messages. - `slack_connect_clip_sharing_blocked` — Admin has disabled Clip uploads in Slack Connect channels. - `slack_connect_file_link_sharing_blocked` — Admin has disabled Slack file sharing in all Slack Connect messages. - `slack_connect_file_upload_sharing_blocked` — Admin has disabled file uploads in all Slack Connect messages. - `streaming_state_conflict` — The message is currently streaming text and cannot be edited. - `team_not_found` — Team associated with the message and channel could not be found. - `too_many_attachments` — Too many attachments were provided with this message. A maximum of 100 attachments are allowed on a message. - `unable_to_share_files` — Sharing the files failed. - `update_failed` — Internal update failure. See https://docs.slack.dev/reference/methods/chat.update */
524
+ export declare const updateChat: API.OperationMethod<UpdateChatRequest, UpdateChatResponse, UpdateChatError, SlackOpContext>;
525
+ //# sourceMappingURL=chat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../src/services/chat.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAClD,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAEjD,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,cAAc,EACpB,MAAM,gBAAgB,CAAC;AAKxB,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AAE7C,iCAAiC;AACjC,MAAM,MAAM,6BAA6B,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC;AAC3D,eAAO,MAAM,6BAA6B,EAE9B,CAAC,CAAC,MAAM,CAAC,6BAA6B,CAAC,CAAC;AAEpD,MAAM,WAAW,mBAAmB;IAClC,oEAAoE;IACpE,OAAO,EAAE,MAAM,CAAC;IAChB,iCAAiC;IACjC,MAAM,CAAC,EAAE,6BAA6B,CAAC;IACvC,8CAA8C;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,4JAA4J;IAC5J,aAAa,EAAE,MAAM,CAAC;CACvB;AACD,eAAO,MAAM,mBAAmB,EASnB,CAAC,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC;AAE3C,MAAM,WAAW,oBAAoB;IACnC,kEAAkE;IAClE,EAAE,EAAE,OAAO,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,EAAE,MAAM,CAAC;CACZ;AACD,eAAO,MAAM,oBAAoB,EAQpB,CAAC,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAAC;AAE5C,wMAAwM;AACxM,MAAM,MAAM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