@distilled.cloud/slack 1.0.0-rc.13 → 1.0.0-rc.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +3 -3
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts.map +1 -1
- package/lib/errors.js +1 -1
- package/lib/errors.js.map +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/lib/pagination.d.ts.map +1 -1
- package/lib/pagination.js.map +1 -1
- package/lib/protocol.d.ts +3 -3
- package/lib/protocol.d.ts.map +1 -1
- package/lib/protocol.js +12 -18
- package/lib/protocol.js.map +1 -1
- package/lib/protocol.test.d.ts +2 -0
- package/lib/protocol.test.d.ts.map +1 -0
- package/lib/protocol.test.js +288 -0
- package/lib/protocol.test.js.map +1 -0
- package/lib/retry.d.ts +1 -1
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +1 -1
- package/lib/retry.js.map +1 -1
- package/lib/services/admin.d.ts +236 -29
- package/lib/services/admin.d.ts.map +1 -1
- package/lib/services/admin.js +417 -749
- package/lib/services/admin.js.map +1 -1
- package/lib/services/agents.d.ts +423 -0
- package/lib/services/agents.d.ts.map +1 -0
- package/lib/services/agents.js +315 -0
- package/lib/services/agents.js.map +1 -0
- package/lib/services/api.d.ts +1 -1
- package/lib/services/api.d.ts.map +1 -1
- package/lib/services/api.js +4 -6
- package/lib/services/api.js.map +1 -1
- package/lib/services/apps.d.ts +21 -3
- package/lib/services/apps.d.ts.map +1 -1
- package/lib/services/apps.js +65 -133
- package/lib/services/apps.js.map +1 -1
- package/lib/services/assistant.d.ts +4 -4
- package/lib/services/assistant.d.ts.map +1 -1
- package/lib/services/assistant.js +16 -38
- package/lib/services/assistant.js.map +1 -1
- package/lib/services/auth.d.ts +2 -2
- package/lib/services/auth.d.ts.map +1 -1
- package/lib/services/auth.js +11 -28
- package/lib/services/auth.js.map +1 -1
- package/lib/services/blocks.d.ts +1 -1
- package/lib/services/blocks.d.ts.map +1 -1
- package/lib/services/blocks.js +5 -9
- package/lib/services/blocks.js.map +1 -1
- package/lib/services/bookmarks.d.ts +4 -4
- package/lib/services/bookmarks.d.ts.map +1 -1
- package/lib/services/bookmarks.js +14 -30
- package/lib/services/bookmarks.js.map +1 -1
- package/lib/services/bots.d.ts +1 -1
- package/lib/services/bots.d.ts.map +1 -1
- package/lib/services/bots.js +7 -15
- package/lib/services/bots.js.map +1 -1
- package/lib/services/calls.d.ts +1 -1
- package/lib/services/calls.d.ts.map +1 -1
- package/lib/services/calls.js +13 -33
- package/lib/services/calls.js.map +1 -1
- package/lib/services/canvases.d.ts +22 -2
- package/lib/services/canvases.d.ts.map +1 -1
- package/lib/services/canvases.js +37 -48
- package/lib/services/canvases.js.map +1 -1
- package/lib/services/chat.d.ts +29 -25
- package/lib/services/chat.d.ts.map +1 -1
- package/lib/services/chat.js +47 -95
- package/lib/services/chat.js.map +1 -1
- package/lib/services/conversations.d.ts +10 -8
- package/lib/services/conversations.d.ts.map +1 -1
- package/lib/services/conversations.js +43 -115
- package/lib/services/conversations.js.map +1 -1
- package/lib/services/dialog.d.ts +1 -1
- package/lib/services/dialog.d.ts.map +1 -1
- package/lib/services/dialog.js +5 -9
- package/lib/services/dialog.js.map +1 -1
- package/lib/services/dnd.d.ts +1 -1
- package/lib/services/dnd.d.ts.map +1 -1
- package/lib/services/dnd.js +10 -24
- package/lib/services/dnd.js.map +1 -1
- package/lib/services/emoji.d.ts +1 -1
- package/lib/services/emoji.d.ts.map +1 -1
- package/lib/services/emoji.js +6 -11
- package/lib/services/emoji.js.map +1 -1
- package/lib/services/entity.d.ts +1 -1
- package/lib/services/entity.d.ts.map +1 -1
- package/lib/services/entity.js +8 -20
- package/lib/services/entity.js.map +1 -1
- package/lib/services/files.d.ts +5 -5
- package/lib/services/files.d.ts.map +1 -1
- package/lib/services/files.js +39 -109
- package/lib/services/files.js.map +1 -1
- package/lib/services/functions.d.ts +1 -1
- package/lib/services/functions.d.ts.map +1 -1
- package/lib/services/functions.js +28 -75
- package/lib/services/functions.js.map +1 -1
- package/lib/services/index.d.ts +1 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +1 -0
- package/lib/services/index.js.map +1 -1
- package/lib/services/lists.d.ts +5 -1
- package/lib/services/lists.d.ts.map +1 -1
- package/lib/services/lists.js +35 -146
- package/lib/services/lists.js.map +1 -1
- package/lib/services/migration.d.ts +1 -1
- package/lib/services/migration.d.ts.map +1 -1
- package/lib/services/migration.js +5 -8
- package/lib/services/migration.js.map +1 -1
- package/lib/services/oauth.d.ts +38 -2
- package/lib/services/oauth.d.ts.map +1 -1
- package/lib/services/oauth.js +67 -50
- package/lib/services/oauth.js.map +1 -1
- package/lib/services/openid.d.ts +1 -1
- package/lib/services/openid.d.ts.map +1 -1
- package/lib/services/openid.js +7 -15
- package/lib/services/openid.js.map +1 -1
- package/lib/services/pins.d.ts +1 -1
- package/lib/services/pins.d.ts.map +1 -1
- package/lib/services/pins.js +7 -15
- package/lib/services/pins.js.map +1 -1
- package/lib/services/reactions.d.ts +2 -2
- package/lib/services/reactions.d.ts.map +1 -1
- package/lib/services/reactions.js +13 -29
- package/lib/services/reactions.js.map +1 -1
- package/lib/services/reminders.d.ts +1 -1
- package/lib/services/reminders.d.ts.map +1 -1
- package/lib/services/reminders.js +13 -33
- package/lib/services/reminders.js.map +1 -1
- package/lib/services/rtm.d.ts +1 -1
- package/lib/services/rtm.d.ts.map +1 -1
- package/lib/services/rtm.js +9 -21
- package/lib/services/rtm.js.map +1 -1
- package/lib/services/search.d.ts +1 -1
- package/lib/services/search.d.ts.map +1 -1
- package/lib/services/search.js +13 -30
- package/lib/services/search.js.map +1 -1
- package/lib/services/stars.d.ts +1 -1
- package/lib/services/stars.d.ts.map +1 -1
- package/lib/services/stars.js +10 -20
- package/lib/services/stars.js.map +1 -1
- package/lib/services/team.d.ts +1 -1
- package/lib/services/team.d.ts.map +1 -1
- package/lib/services/team.js +25 -62
- package/lib/services/team.js.map +1 -1
- package/lib/services/tooling.d.ts +1 -1
- package/lib/services/tooling.d.ts.map +1 -1
- package/lib/services/tooling.js +5 -9
- package/lib/services/tooling.js.map +1 -1
- package/lib/services/usergroups.d.ts +8 -3
- package/lib/services/usergroups.d.ts.map +1 -1
- package/lib/services/usergroups.js +23 -51
- package/lib/services/usergroups.js.map +1 -1
- package/lib/services/users.d.ts +2 -2
- package/lib/services/users.d.ts.map +1 -1
- package/lib/services/users.js +28 -81
- package/lib/services/users.js.map +1 -1
- package/lib/services/views.d.ts +1 -1
- package/lib/services/views.d.ts.map +1 -1
- package/lib/services/views.js +11 -27
- package/lib/services/views.js.map +1 -1
- package/lib/services/workflows.d.ts +1 -1
- package/lib/services/workflows.d.ts.map +1 -1
- package/lib/services/workflows.js +27 -71
- package/lib/services/workflows.js.map +1 -1
- package/package.json +15 -11
- package/src/credentials.ts +8 -10
- package/src/errors.ts +17 -31
- package/src/index.ts +3 -7
- package/src/pagination.ts +2 -5
- package/src/protocol.test.ts +372 -0
- package/src/protocol.ts +34 -66
- package/src/retry.ts +4 -9
- package/src/services/admin.ts +1241 -1557
- package/src/services/agents.ts +853 -0
- package/src/services/api.ts +4 -10
- package/src/services/apps.ts +146 -243
- package/src/services/assistant.ts +93 -144
- package/src/services/auth.ts +12 -33
- package/src/services/blocks.ts +9 -24
- package/src/services/bookmarks.ts +14 -34
- package/src/services/bots.ts +7 -19
- package/src/services/calls.ts +15 -43
- package/src/services/canvases.ts +82 -85
- package/src/services/chat.ts +134 -254
- package/src/services/conversations.ts +101 -217
- package/src/services/dialog.ts +5 -13
- package/src/services/dnd.ts +11 -31
- package/src/services/emoji.ts +9 -19
- package/src/services/entity.ts +17 -45
- package/src/services/files.ts +72 -165
- package/src/services/functions.ts +95 -168
- package/src/services/index.ts +1 -0
- package/src/services/lists.ts +65 -208
- package/src/services/migration.ts +8 -17
- package/src/services/oauth.ts +127 -60
- package/src/services/openid.ts +12 -34
- package/src/services/pins.ts +7 -19
- package/src/services/reactions.ts +19 -43
- package/src/services/reminders.ts +13 -37
- package/src/services/rtm.ts +9 -25
- package/src/services/search.ts +51 -92
- package/src/services/stars.ts +20 -31
- package/src/services/team.ts +81 -155
- package/src/services/tooling.ts +5 -13
- package/src/services/usergroups.ts +37 -68
- package/src/services/users.ts +35 -102
- package/src/services/views.ts +11 -31
- package/src/services/workflows.ts +65 -129
- package/lib/response-validation.test.d.ts +0 -4
- package/lib/response-validation.test.d.ts.map +0 -1
- package/lib/response-validation.test.js +0 -40
- package/lib/response-validation.test.js.map +0 -1
- package/src/response-validation.test.ts +0 -54
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
import * as API from "@distilled.cloud/core/api";
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import { type SlackOpError, type SlackOpContext } from "../protocol.ts";
|
|
4
|
+
export type { SlackOpError, SlackOpContext };
|
|
5
|
+
export interface ArchiveConversationRequest {
|
|
6
|
+
/** ID of the code channel to archive. */
|
|
7
|
+
channel_id: string;
|
|
8
|
+
/** Timestamp of a message in the code channel to share back as a thread reply on the origin message. Requires the channel to have an `origin_link` set. */
|
|
9
|
+
summary_message_ts?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const ArchiveConversationRequest: S.Schema<ArchiveConversationRequest>;
|
|
12
|
+
export interface ArchiveConversationResponse {
|
|
13
|
+
/** Always `true` (a failed call raises a typed error instead). */
|
|
14
|
+
ok: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const ArchiveConversationResponse: S.Schema<ArchiveConversationResponse>;
|
|
17
|
+
export interface CreateConversationRequest {
|
|
18
|
+
/** Encoded team id to create the channel in. Required for org tokens when `origin_channel_id` is not provided. When omitted, the workspace is derived from the origin channel. */
|
|
19
|
+
team_id?: string;
|
|
20
|
+
/** An opaque identifier for the agent session. When provided, the call is idempotent: if a channel already exists for this `session_id`, it is returned instead of creating a new one. */
|
|
21
|
+
session_id?: string;
|
|
22
|
+
/** A friendly display name for the code channel. Optional when `origin_channel_id` and `origin_message_ts` are provided — in that case the channel is named from the origin message and re-titled automatically. Required when no origin link is given. */
|
|
23
|
+
name: string;
|
|
24
|
+
/** Create a private channel instead of a public one. */
|
|
25
|
+
is_private?: boolean;
|
|
26
|
+
/** The channel ID where the agent session was initiated from. Must be provided together with `origin_message_ts`. The channel must be accessible to the calling user and must not be externally shared (Slack Connect). When `team_id` is omitted with an org token, the channel is created in the same workspace as this origin channel. */
|
|
27
|
+
origin_channel_id?: string;
|
|
28
|
+
/** The message timestamp in the origin channel that started the agent session. Must be provided together with `origin_channel_id`. The author of this message is automatically invited to the newly created code channel. */
|
|
29
|
+
origin_message_ts?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare const CreateConversationRequest: S.Schema<CreateConversationRequest>;
|
|
32
|
+
export interface CreateConversationResponse {
|
|
33
|
+
/** Always `true` (a failed call raises a typed error instead). */
|
|
34
|
+
ok: boolean;
|
|
35
|
+
/** The encoded ID of the newly created code channel. */
|
|
36
|
+
channel_id: string;
|
|
37
|
+
}
|
|
38
|
+
export declare const CreateConversationResponse: S.Schema<CreateConversationResponse>;
|
|
39
|
+
/** Format to render the canvas content in. Defaults to markdown. */
|
|
40
|
+
export type GetCanvasRequestContentFormat = "markdown";
|
|
41
|
+
export declare const GetCanvasRequestContentFormat: any;
|
|
42
|
+
export interface GetCanvasRequest {
|
|
43
|
+
/** ID of the agent session channel the canvas belongs to. */
|
|
44
|
+
channel: string;
|
|
45
|
+
/** Encoded ID of the canvas to fetch. */
|
|
46
|
+
canvas_id: string;
|
|
47
|
+
/** Format to render the canvas content in. Defaults to markdown. */
|
|
48
|
+
content_format?: GetCanvasRequestContentFormat | (string & {});
|
|
49
|
+
/** Whether to include resolved comment threads in the response. Defaults to false. */
|
|
50
|
+
include_resolved?: boolean;
|
|
51
|
+
}
|
|
52
|
+
export declare const GetCanvasRequest: S.Schema<GetCanvasRequest>;
|
|
53
|
+
export interface GetCanvasResponseCommentsItemRepliesItem {
|
|
54
|
+
/** Message timestamp of the reply. */
|
|
55
|
+
ts: string;
|
|
56
|
+
/** Encoded ID of the user who wrote the reply. */
|
|
57
|
+
user_id: string;
|
|
58
|
+
/** Text of the reply. */
|
|
59
|
+
text: string;
|
|
60
|
+
}
|
|
61
|
+
export declare const GetCanvasResponseCommentsItemRepliesItem: S.Schema<GetCanvasResponseCommentsItemRepliesItem>;
|
|
62
|
+
/** Threaded replies to the comment, ordered oldest first. Capped to the most recent 100 replies; older replies are dropped first. */
|
|
63
|
+
export type GetCanvasResponseCommentsItemRepliesList = Array<GetCanvasResponseCommentsItemRepliesItem>;
|
|
64
|
+
export declare const GetCanvasResponseCommentsItemRepliesList: S.Schema<GetCanvasResponseCommentsItemRepliesList>;
|
|
65
|
+
export interface GetCanvasResponseCommentsItem {
|
|
66
|
+
/** Stable ID of the comment thread (the canvas annotation the comment is anchored to). */
|
|
67
|
+
id: string;
|
|
68
|
+
/** Message timestamp of the comment. */
|
|
69
|
+
ts: string;
|
|
70
|
+
/** Encoded ID of the user who wrote the comment. */
|
|
71
|
+
user_id: string;
|
|
72
|
+
/** Text of the comment. */
|
|
73
|
+
text: string;
|
|
74
|
+
/** The highlighted canvas text the comment is anchored to, rendered as mrkdwn. Empty if the anchored text has since been deleted from the canvas. */
|
|
75
|
+
quoted_text: string;
|
|
76
|
+
/** Whether the comment thread has been resolved. */
|
|
77
|
+
is_resolved: boolean;
|
|
78
|
+
/** Threaded replies to the comment, ordered oldest first. Capped to the most recent 100 replies; older replies are dropped first. */
|
|
79
|
+
replies: GetCanvasResponseCommentsItemRepliesList;
|
|
80
|
+
/** True if the thread had more replies than the cap and older replies were dropped from the response. */
|
|
81
|
+
has_more_replies: boolean;
|
|
82
|
+
}
|
|
83
|
+
export declare const GetCanvasResponseCommentsItem: S.Schema<GetCanvasResponseCommentsItem>;
|
|
84
|
+
/** Comment threads on the canvas, ordered oldest first. Resolved threads are excluded unless include_resolved is true. */
|
|
85
|
+
export type GetCanvasResponseCommentsList = Array<GetCanvasResponseCommentsItem>;
|
|
86
|
+
export declare const GetCanvasResponseCommentsList: S.Schema<GetCanvasResponseCommentsList>;
|
|
87
|
+
export interface GetCanvasResponse {
|
|
88
|
+
/** Always `true` (a failed call raises a typed error instead). */
|
|
89
|
+
ok: boolean;
|
|
90
|
+
/** The encoded ID of the canvas. */
|
|
91
|
+
canvas_id: string;
|
|
92
|
+
/** The title of the canvas. */
|
|
93
|
+
title: string;
|
|
94
|
+
/** The full canvas content rendered in the requested content_format. */
|
|
95
|
+
content: string;
|
|
96
|
+
/** Comment threads on the canvas, ordered oldest first. Resolved threads are excluded unless include_resolved is true. */
|
|
97
|
+
comments: GetCanvasResponseCommentsList;
|
|
98
|
+
/** True if the canvas had more comment threads than the cap and older threads were dropped from the response. */
|
|
99
|
+
has_more_comments: boolean;
|
|
100
|
+
}
|
|
101
|
+
export declare const GetCanvasResponse: S.Schema<GetCanvasResponse>;
|
|
102
|
+
export interface ListViewsRequest {
|
|
103
|
+
/** ID of the code channel to list views for. */
|
|
104
|
+
channel_id: string;
|
|
105
|
+
}
|
|
106
|
+
export declare const ListViewsRequest: S.Schema<ListViewsRequest>;
|
|
107
|
+
export interface ListViewsResponseViewsItem {
|
|
108
|
+
/** The encoded channel tab ID of the view. */
|
|
109
|
+
view_id: string;
|
|
110
|
+
/** The agent-assigned stable key of the view. */
|
|
111
|
+
view_key: string;
|
|
112
|
+
/** The encoded ID of the backing HTML file. */
|
|
113
|
+
file_id: string;
|
|
114
|
+
/** The display label of the view tab. */
|
|
115
|
+
label: string;
|
|
116
|
+
/** The current content version of the view. */
|
|
117
|
+
content_version: number;
|
|
118
|
+
/** Unix timestamp of when the view was first created. */
|
|
119
|
+
date_added: number;
|
|
120
|
+
}
|
|
121
|
+
export declare const ListViewsResponseViewsItem: S.Schema<ListViewsResponseViewsItem>;
|
|
122
|
+
/** The agent views attached to the channel, in creation order. */
|
|
123
|
+
export type ListViewsResponseViewsList = Array<ListViewsResponseViewsItem>;
|
|
124
|
+
export declare const ListViewsResponseViewsList: S.Schema<ListViewsResponseViewsList>;
|
|
125
|
+
export interface ListViewsResponse {
|
|
126
|
+
/** Always `true` (a failed call raises a typed error instead). */
|
|
127
|
+
ok: boolean;
|
|
128
|
+
/** The agent views attached to the channel, in creation order. */
|
|
129
|
+
views: ListViewsResponseViewsList;
|
|
130
|
+
}
|
|
131
|
+
export declare const ListViewsResponse: S.Schema<ListViewsResponse>;
|
|
132
|
+
export interface RemoveViewRequest {
|
|
133
|
+
/** ID of the code channel to remove the view from. */
|
|
134
|
+
channel_id: string;
|
|
135
|
+
/** Agent-assigned key of the view to remove. Provide exactly one of view_key or view_id. */
|
|
136
|
+
view_key?: string;
|
|
137
|
+
/** Encoded channel tab ID of the view to remove. Provide exactly one of view_key or view_id. */
|
|
138
|
+
view_id?: string;
|
|
139
|
+
}
|
|
140
|
+
export declare const RemoveViewRequest: S.Schema<RemoveViewRequest>;
|
|
141
|
+
export interface RemoveViewResponse {
|
|
142
|
+
/** Always `true` (a failed call raises a typed error instead). */
|
|
143
|
+
ok: boolean;
|
|
144
|
+
/** The encoded ID of the code channel the view was removed from. */
|
|
145
|
+
channel_id: string;
|
|
146
|
+
/** The encoded channel tab ID of the removed view. */
|
|
147
|
+
view_id: string;
|
|
148
|
+
}
|
|
149
|
+
export declare const RemoveViewResponse: S.Schema<RemoveViewResponse>;
|
|
150
|
+
export interface RenameSessionRequest {
|
|
151
|
+
/** ID of the channel containing the agent session. Required for public channels. */
|
|
152
|
+
channel_id?: string;
|
|
153
|
+
/** New title for the agent session (1-200 characters). For a session channel, this also renames the channel. */
|
|
154
|
+
title: string;
|
|
155
|
+
/** Timestamp of the thread root message the session is scoped to. Required for thread-based sessions in regular channels and DMs. Must be omitted for session channels. */
|
|
156
|
+
thread_ts?: string;
|
|
157
|
+
}
|
|
158
|
+
export declare const RenameSessionRequest: S.Schema<RenameSessionRequest>;
|
|
159
|
+
export interface RenameSessionResponse {
|
|
160
|
+
/** Always `true` (a failed call raises a typed error instead). */
|
|
161
|
+
ok: boolean;
|
|
162
|
+
/** The updated title of the agent session. */
|
|
163
|
+
title?: string;
|
|
164
|
+
/** The encoded ID of the channel, returned when an agent channel was renamed. */
|
|
165
|
+
channel_id?: string;
|
|
166
|
+
}
|
|
167
|
+
export declare const RenameSessionResponse: S.Schema<RenameSessionResponse>;
|
|
168
|
+
export interface SetCanvasContentRequest {
|
|
169
|
+
/** ID of the agent session channel the canvas is attached to. */
|
|
170
|
+
channel: string;
|
|
171
|
+
/** Encoded ID of the canvas whose content to replace. */
|
|
172
|
+
canvas_id: string;
|
|
173
|
+
/** The full new canvas content as markdown. The server diffs this against the current content and applies only the changed sections. */
|
|
174
|
+
content: string;
|
|
175
|
+
}
|
|
176
|
+
export declare const SetCanvasContentRequest: S.Schema<SetCanvasContentRequest>;
|
|
177
|
+
export interface SetCanvasContentResponse {
|
|
178
|
+
/** Always `true` (a failed call raises a typed error instead). */
|
|
179
|
+
ok: boolean;
|
|
180
|
+
/** The encoded ID of the updated canvas. */
|
|
181
|
+
canvas_id: string;
|
|
182
|
+
/** Number of section-level edit operations applied (replaced + inserted + deleted). Zero when the new content was identical to the current content. */
|
|
183
|
+
sections_changed_count: number;
|
|
184
|
+
}
|
|
185
|
+
export declare const SetCanvasContentResponse: S.Schema<SetCanvasContentResponse>;
|
|
186
|
+
/** Full set of commands to register for the calling agent in this channel, replacing that agent's previously registered set. Pass an empty array to clear the agent's commands. At most 10 commands may exist across all agents in the channel; names must be unique within the set and must not collide with builtin Slack commands. */
|
|
187
|
+
export type SetCommandsRequestCommandsList = Array<unknown>;
|
|
188
|
+
export declare const SetCommandsRequestCommandsList: S.Schema<SetCommandsRequestCommandsList>;
|
|
189
|
+
export interface SetCommandsRequest {
|
|
190
|
+
/** ID of the code channel to register commands for. */
|
|
191
|
+
channel_id: string;
|
|
192
|
+
/** Full set of commands to register for the calling agent in this channel, replacing that agent's previously registered set. Pass an empty array to clear the agent's commands. At most 10 commands may exist across all agents in the channel; names must be unique within the set and must not collide with builtin Slack commands. */
|
|
193
|
+
commands: SetCommandsRequestCommandsList;
|
|
194
|
+
}
|
|
195
|
+
export declare const SetCommandsRequest: S.Schema<SetCommandsRequest>;
|
|
196
|
+
export interface SetCommandsResponse {
|
|
197
|
+
/** Always `true` (a failed call raises a typed error instead). */
|
|
198
|
+
ok: boolean;
|
|
199
|
+
/** The encoded ID of the code channel. */
|
|
200
|
+
channel_id: string;
|
|
201
|
+
/** The number of commands now registered for the calling agent in this channel. */
|
|
202
|
+
command_count: number;
|
|
203
|
+
}
|
|
204
|
+
export declare const SetCommandsResponse: S.Schema<SetCommandsResponse>;
|
|
205
|
+
/** New status for the agent session. */
|
|
206
|
+
export type SetPropertiesRequestStatus = "active" | "processing" | "suspended" | "closed";
|
|
207
|
+
export declare const SetPropertiesRequestStatus: any;
|
|
208
|
+
/** List of file paths relevant to this session. */
|
|
209
|
+
export type SetPropertiesRequestCodeChannelFilePathsList = Array<string>;
|
|
210
|
+
export declare const SetPropertiesRequestCodeChannelFilePathsList: S.Schema<SetPropertiesRequestCodeChannelFilePathsList>;
|
|
211
|
+
/** Configurable items to display in the channel context bar. A maximum of 5 items will be applied; any beyond that will be silently truncated and a warning returned. */
|
|
212
|
+
export type SetPropertiesRequestCodeChannelContextBarItemsList = Array<unknown>;
|
|
213
|
+
export declare const SetPropertiesRequestCodeChannelContextBarItemsList: S.Schema<SetPropertiesRequestCodeChannelContextBarItemsList>;
|
|
214
|
+
/** Points to the current summary message for this code channel. Must reference a message within this channel. When the channel is archived with a summary_message_ts, this property is also set to record where the summary lives so clients can fetch it. */
|
|
215
|
+
export interface SetPropertiesRequestCodeChannelSummaryMessage {
|
|
216
|
+
/** Timestamp of the summary message in the code channel. */
|
|
217
|
+
message_ts: string;
|
|
218
|
+
/** Thread timestamp if the summary message is a thread reply. Clients need this to fetch the message via conversations.replies. */
|
|
219
|
+
thread_ts?: string;
|
|
220
|
+
}
|
|
221
|
+
export declare const SetPropertiesRequestCodeChannelSummaryMessage: S.Schema<SetPropertiesRequestCodeChannelSummaryMessage>;
|
|
222
|
+
/** Code channel properties to set. Only provided fields are updated. */
|
|
223
|
+
export interface SetPropertiesRequestCodeChannel {
|
|
224
|
+
/** Git hosting provider (e.g. github.com). */
|
|
225
|
+
host?: string;
|
|
226
|
+
/** Repository name (e.g., org/repo). */
|
|
227
|
+
repo?: string;
|
|
228
|
+
/** Working branch name. */
|
|
229
|
+
branch?: string;
|
|
230
|
+
/** Base branch the working branch was created from. */
|
|
231
|
+
base_branch?: string;
|
|
232
|
+
/** Current commit SHA. */
|
|
233
|
+
commit_sha?: string;
|
|
234
|
+
/** Pull request number. */
|
|
235
|
+
pr_number?: number;
|
|
236
|
+
/** URL of the pull request. */
|
|
237
|
+
pr_url?: string;
|
|
238
|
+
/** Title of the pull request. */
|
|
239
|
+
pr_title?: string;
|
|
240
|
+
/** Status of the pull request (e.g. open, merged, closed). */
|
|
241
|
+
pr_status?: string;
|
|
242
|
+
/** URL to the CI pipeline run. */
|
|
243
|
+
ci_url?: string;
|
|
244
|
+
/** State of the CI pipeline (e.g. pending, success, failure). */
|
|
245
|
+
ci_state?: string;
|
|
246
|
+
/** List of file paths relevant to this session. */
|
|
247
|
+
file_paths?: SetPropertiesRequestCodeChannelFilePathsList;
|
|
248
|
+
/** Primary programming language. */
|
|
249
|
+
language?: string;
|
|
250
|
+
/** Upstream repository URL. */
|
|
251
|
+
upstream_url?: string;
|
|
252
|
+
/** URL of the working branch. */
|
|
253
|
+
branch_url?: string;
|
|
254
|
+
/** Configurable items to display in the channel context bar. A maximum of 5 items will be applied; any beyond that will be silently truncated and a warning returned. */
|
|
255
|
+
context_bar_items?: SetPropertiesRequestCodeChannelContextBarItemsList;
|
|
256
|
+
/** Points to the current summary message for this code channel. Must reference a message within this channel. When the channel is archived with a summary_message_ts, this property is also set to record where the summary lives so clients can fetch it. */
|
|
257
|
+
summary_message?: SetPropertiesRequestCodeChannelSummaryMessage;
|
|
258
|
+
}
|
|
259
|
+
export declare const SetPropertiesRequestCodeChannel: S.Schema<SetPropertiesRequestCodeChannel>;
|
|
260
|
+
/** Agent resource properties to set. Only provided fields are updated. */
|
|
261
|
+
export interface SetPropertiesRequestAgentResource {
|
|
262
|
+
/** URL of the external resource. */
|
|
263
|
+
url?: string;
|
|
264
|
+
/** Type of the external resource. */
|
|
265
|
+
resource_type?: string;
|
|
266
|
+
/** Display title of the external resource. */
|
|
267
|
+
title?: string;
|
|
268
|
+
/** Provider of the external resource. */
|
|
269
|
+
provider?: string;
|
|
270
|
+
}
|
|
271
|
+
export declare const SetPropertiesRequestAgentResource: S.Schema<SetPropertiesRequestAgentResource>;
|
|
272
|
+
export interface SetPropertiesRequest {
|
|
273
|
+
/** ID of the code channel to update. */
|
|
274
|
+
channel_id: string;
|
|
275
|
+
/** New display title for the agent session. */
|
|
276
|
+
title?: string;
|
|
277
|
+
/** New status for the agent session. */
|
|
278
|
+
status?: SetPropertiesRequestStatus | (string & {});
|
|
279
|
+
/** Code channel properties to set. Only provided fields are updated. */
|
|
280
|
+
code_channel?: SetPropertiesRequestCodeChannel;
|
|
281
|
+
/** Agent resource properties to set. Only provided fields are updated. */
|
|
282
|
+
agent_resource?: SetPropertiesRequestAgentResource;
|
|
283
|
+
}
|
|
284
|
+
export declare const SetPropertiesRequest: S.Schema<SetPropertiesRequest>;
|
|
285
|
+
export interface SetPropertiesResponse {
|
|
286
|
+
/** Always `true` (a failed call raises a typed error instead). */
|
|
287
|
+
ok: boolean;
|
|
288
|
+
/** The encoded ID of the updated code channel. */
|
|
289
|
+
channel_id: string;
|
|
290
|
+
}
|
|
291
|
+
export declare const SetPropertiesResponse: S.Schema<SetPropertiesResponse>;
|
|
292
|
+
/** The lifecycle status to set. */
|
|
293
|
+
export type SetStatusRequestStatus = "active" | "processing" | "suspended" | "closed";
|
|
294
|
+
export declare const SetStatusRequestStatus: any;
|
|
295
|
+
export interface SetStatusRequest {
|
|
296
|
+
/** ID of the channel containing the agent session. Required for public channels. */
|
|
297
|
+
channel_id?: string;
|
|
298
|
+
/** The lifecycle status to set. */
|
|
299
|
+
status: SetStatusRequestStatus | (string & {});
|
|
300
|
+
/** Timestamp of the thread root message the session is scoped to. Required for thread-based sessions in regular channels and DMs. Must be omitted for session channels. */
|
|
301
|
+
thread_ts?: string;
|
|
302
|
+
/** Title for the agent session (max 200 characters). Only used when creating a new session; ignored if the session already exists. To rename an existing session, use `agents.sessions.rename`. */
|
|
303
|
+
title?: string;
|
|
304
|
+
/** The user who initiated the session. Only used when creating a new session; ignored if the session already exists. Must be a member of the channel. */
|
|
305
|
+
initiator_user_id?: string;
|
|
306
|
+
/** Emoji to use as the agent's icon. Takes priority over `icon_url`. Remains in effect until you clear it (pass `null`) or set a new value. Requires the `chat:write.customize` scope. */
|
|
307
|
+
icon_emoji?: string;
|
|
308
|
+
/** URL to an image to use as the agent's icon. Remains in effect until you clear it (pass `null`) or set a new value. Requires the `chat:write.customize` scope. */
|
|
309
|
+
icon_url?: string;
|
|
310
|
+
/** Display name override for the agent (max 200 characters). Remains in effect until you clear it (pass `null`) or set a new value. Requires the `chat:write.customize` scope. */
|
|
311
|
+
username?: string;
|
|
312
|
+
}
|
|
313
|
+
export declare const SetStatusRequest: S.Schema<SetStatusRequest>;
|
|
314
|
+
export interface SetStatusResponse {
|
|
315
|
+
/** Always `true` (a failed call raises a typed error instead). */
|
|
316
|
+
ok: boolean;
|
|
317
|
+
/** The current lifecycle status of the agent session, derived from the statuses of all agents in the session. */
|
|
318
|
+
status?: unknown;
|
|
319
|
+
/** The lifecycle status of the calling agent within this session. May differ from the session-level status when other agents are present. */
|
|
320
|
+
agent_status?: unknown;
|
|
321
|
+
/** The current title of the agent session, if set. */
|
|
322
|
+
title?: string;
|
|
323
|
+
}
|
|
324
|
+
export declare const SetStatusResponse: S.Schema<SetStatusResponse>;
|
|
325
|
+
/** For canvas views: access level granted to the channel for the canvas tab. Defaults to write. Use 'comment' to grant channel members comment access (read and comment, no editing) so the agent remains the sole author of the canvas text. */
|
|
326
|
+
export type SetViewRequestAccessLevel = "read" | "write" | "comment";
|
|
327
|
+
export declare const SetViewRequestAccessLevel: any;
|
|
328
|
+
/** Origins the view may fetch()/XHR/WebSocket to. Accepted and stored, but not honored at render time yet. */
|
|
329
|
+
export type SetViewRequestCspConnectDomainsList = Array<string>;
|
|
330
|
+
export declare const SetViewRequestCspConnectDomainsList: S.Schema<SetViewRequestCspConnectDomainsList>;
|
|
331
|
+
/** Origins the view may load scripts/styles/fonts/images/media from, merged into the curated CDN allowlist at render time. */
|
|
332
|
+
export type SetViewRequestCspResourceDomainsList = Array<string>;
|
|
333
|
+
export declare const SetViewRequestCspResourceDomainsList: S.Schema<SetViewRequestCspResourceDomainsList>;
|
|
334
|
+
/** Content-Security-Policy domain declarations for the view. Domains are validated server-side (https-only, no private/internal hosts) and persisted. Only resource_domains is honored at render time today; connect_domains is accepted and stored for forward-compatibility but NOT honored yet. */
|
|
335
|
+
export interface SetViewRequestCsp {
|
|
336
|
+
/** Origins the view may fetch()/XHR/WebSocket to. Accepted and stored, but not honored at render time yet. */
|
|
337
|
+
connect_domains?: SetViewRequestCspConnectDomainsList;
|
|
338
|
+
/** Origins the view may load scripts/styles/fonts/images/media from, merged into the curated CDN allowlist at render time. */
|
|
339
|
+
resource_domains?: SetViewRequestCspResourceDomainsList;
|
|
340
|
+
}
|
|
341
|
+
export declare const SetViewRequestCsp: S.Schema<SetViewRequestCsp>;
|
|
342
|
+
export interface SetViewRequest {
|
|
343
|
+
/** ID of the code channel to render the view in. */
|
|
344
|
+
channel_id: string;
|
|
345
|
+
/** The kind of view to create or update. Defaults to html. Determines which other arguments are required: html and diff require content, block_kit requires blocks, canvas requires canvas_id, pull_request requires pr_url. */
|
|
346
|
+
type?: unknown;
|
|
347
|
+
/** Agent-assigned stable identity for the view (e.g. the source file path on the agent's machine). Used as the upsert key: calls with the same view_key update the same view. Required for html, block_kit, and canvas views; ignored for diff (a diff view is a per-channel singleton). */
|
|
348
|
+
view_key?: string;
|
|
349
|
+
/** View content. For html, a full self-contained HTML document; for diff, raw unified diff text. Capped at 1,000,000 bytes — larger content returns content_too_large. The cap is enforced by the handler (not schema maxLength) so the documented error code actually surfaces instead of a generic argument-validation failure. Required when type is html or diff. */
|
|
350
|
+
content?: string;
|
|
351
|
+
/** Block Kit blocks to render in the view tab. Required when type is block_kit; ignored otherwise. */
|
|
352
|
+
blocks?: unknown;
|
|
353
|
+
/** Encoded ID of the canvas to attach as the view. Required when type is canvas; ignored otherwise. */
|
|
354
|
+
canvas_id?: string;
|
|
355
|
+
/** For canvas views: access level granted to the channel for the canvas tab. Defaults to write. Use 'comment' to grant channel members comment access (read and comment, no editing) so the agent remains the sole author of the canvas text. */
|
|
356
|
+
access_level?: SetViewRequestAccessLevel | (string & {});
|
|
357
|
+
/** For canvas views: hash of the canvas-derived markdown the agent last wrote, recorded so the agent can later detect human edits to the canvas. Opaque to the server. */
|
|
358
|
+
agent_content_hash?: string;
|
|
359
|
+
/** For pull_request views: the pull request's URL. Required when type is pull_request; ignored otherwise. */
|
|
360
|
+
pr_url?: string;
|
|
361
|
+
/** For diff views: base branch name for display purposes. */
|
|
362
|
+
base_branch?: string;
|
|
363
|
+
/** For diff views: head branch name for display purposes. */
|
|
364
|
+
head_branch?: string;
|
|
365
|
+
/** Display label for the view tab. Preferred over the legacy 'label' argument (name wins if both are supplied). Defaults to the last path segment of view_key, stripped of any .html/.htm extension. */
|
|
366
|
+
name?: string;
|
|
367
|
+
/** Deprecated alias for 'name'. Display label for the view tab. Defaults to the last path segment of view_key, stripped of any .html/.htm extension. */
|
|
368
|
+
label?: string;
|
|
369
|
+
/** Content-Security-Policy domain declarations for the view. Domains are validated server-side (https-only, no private/internal hosts) and persisted. Only resource_domains is honored at render time today; connect_domains is accepted and stored for forward-compatibility but NOT honored yet. */
|
|
370
|
+
csp?: SetViewRequestCsp;
|
|
371
|
+
}
|
|
372
|
+
export declare const SetViewRequest: S.Schema<SetViewRequest>;
|
|
373
|
+
export interface SetViewResponse {
|
|
374
|
+
/** Always `true` (a failed call raises a typed error instead). */
|
|
375
|
+
ok: boolean;
|
|
376
|
+
/** The encoded ID of the code channel the view belongs to. */
|
|
377
|
+
channel_id: string;
|
|
378
|
+
/** The encoded channel tab ID of the view. */
|
|
379
|
+
view_id: string;
|
|
380
|
+
/** The encoded ID of the backing file for the view. For html and block_kit views this is the agent-owned content file; for diff views it is the diff snippet file; for canvas views it is the canvas's file ID (same value as canvas_id). Empty for pull_request views, which have no backing file. */
|
|
381
|
+
file_id: string;
|
|
382
|
+
/** Server-assigned content version, monotonically increasing per view. */
|
|
383
|
+
content_version: number;
|
|
384
|
+
/** The type of the view that was created or updated. */
|
|
385
|
+
type?: unknown;
|
|
386
|
+
/** For canvas views, the encoded ID of the attached canvas. Absent for other view types. */
|
|
387
|
+
canvas_id?: string;
|
|
388
|
+
}
|
|
389
|
+
export declare const SetViewResponse: S.Schema<SetViewResponse>;
|
|
390
|
+
export type ArchiveConversationError = SlackOpError;
|
|
391
|
+
/** Archive a code channel. Required scopes — bot: `code_channels:manage` Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — The specified channel_id does not correspond to a valid channel. - `not_agent_channel` — The specified channel is not a code channel. - `not_authorized` — The caller is not an authorized agent bot for this channel. - `already_archived` — The channel has already been archived. - `restricted_action` — The workspace does not allow the bot to archive channels. - `summary_message_not_found` — The specified summary_message_ts does not correspond to a message in the code channel. - `no_origin_link` — summary_message_ts was provided but the code channel has no origin_link set. - `origin_channel_not_found` — The origin channel referenced by the code channel is no longer accessible. - `origin_message_not_found` — The origin message referenced by the code channel's origin_link could not be found. See https://docs.slack.dev/reference/methods/agents.conversations.archive */
|
|
392
|
+
export declare const archiveConversation: API.OperationMethod<ArchiveConversationRequest, ArchiveConversationResponse, ArchiveConversationError, SlackOpContext>;
|
|
393
|
+
export type CreateConversationError = SlackOpError;
|
|
394
|
+
/** Create a dedicated code channel for an agent session. Required scopes — bot: `code_channels:manage` Method-specific errors (the `error` slug on the SlackError): - `feature_disabled` — The caller is not authorized to create code channels. The app must be a recognized agent session app, or the user must have the feature enabled. - `user_not_enabled` — The author of the origin message does not have the code channels feature enabled. - `invalid_agent` — The agent bot user associated with the calling app is not a valid bot. - `channel_not_viewable` — A channel exists for this session but the caller does not have permission to view it. - `origin_channel_externally_shared` — The origin message is in an externally shared (Slack Connect) channel, DM, or group DM. Code channels cannot be created from a Slack Connect conversation. - `origin_channel_is_file_channel` — The origin message is a comment on a file or canvas. Code channels cannot be created from a file channel — when the canvas belongs to a code channel, continue that session instead. - `invalid_origin_link` — The origin link is invalid. Either origin_channel_id and origin_message_ts were not provided together, the channel does not exist or is not accessible to the caller, or the message was not found at the given timestamp. - `name_or_origin_required` — A name must be provided unless an origin link (origin_channel_id and origin_message_ts) is given to derive the channel name from. - `no_shared_workspace` — No workspace could be found where both the app and the requesting user are present. The org app must have a workspace grant for at least one workspace the user belongs to. - `restricted_action` — The calling user is not permitted to create channels of the requested type in this workspace. - `channel_creation_failed` — The code channel could not be created. - `open_failed` — The channel was created but could not be opened in the sidebar. - `invite_failed` — The channel was created but the agent bot could not be invited. See https://docs.slack.dev/reference/methods/agents.conversations.create */
|
|
395
|
+
export declare const createConversation: API.OperationMethod<CreateConversationRequest, CreateConversationResponse, CreateConversationError, SlackOpContext>;
|
|
396
|
+
export type GetCanvasError = SlackOpError;
|
|
397
|
+
/** Fetch a canvas attached to a code channel. Required scopes — bot: `code_channels:manage` Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — The specified channel does not correspond to a valid channel. - `not_agent_channel` — The specified channel is not an agent session channel. - `not_authorized` — The caller is not an authorized agent bot for this channel. - `canvas_not_found` — The specified `canvas_id` does not correspond to a canvas you can access. - `canvas_content_fetch_failed` — The canvas content could not be fetched or rendered. - `comments_fetch_failed` — The canvas comment threads could not be fetched. See https://docs.slack.dev/reference/methods/agents.conversations.getCanvas */
|
|
398
|
+
export declare const getCanvas: API.OperationMethod<GetCanvasRequest, GetCanvasResponse, GetCanvasError, SlackOpContext>;
|
|
399
|
+
export type ListViewsError = SlackOpError;
|
|
400
|
+
/** List the views currently attached to a code channel. Required scopes — bot: `code_channels:manage` Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — The specified channel does not correspond to a valid channel. - `not_agent_channel` — The specified channel is not a code channel. - `not_authorized` — The caller is not an authorized agent bot or member for this channel. See https://docs.slack.dev/reference/methods/agents.conversations.listViews */
|
|
401
|
+
export declare const listViews: API.OperationMethod<ListViewsRequest, ListViewsResponse, ListViewsError, SlackOpContext>;
|
|
402
|
+
export type RemoveViewError = SlackOpError;
|
|
403
|
+
/** Remove a view from a code channel. Required scopes — bot: `code_channels:manage` Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — The specified channel does not correspond to a valid channel. - `not_agent_channel` — The specified channel is not a code channel. - `not_authorized` — The caller is not an authorized agent bot or member for this channel. - `view_not_found` — No agent view matches the supplied view_key or view_id in this channel. - `not_view_owner` — The view was created by a different agent bot; only its owner may remove it. - `invalid_arguments` — Exactly one of view_key or view_id must be provided. - `view_remove_failed` — The view's tab or channel properties could not be updated. Safe to retry. See https://docs.slack.dev/reference/methods/agents.conversations.removeView */
|
|
404
|
+
export declare const removeView: API.OperationMethod<RemoveViewRequest, RemoveViewResponse, RemoveViewError, SlackOpContext>;
|
|
405
|
+
export type RenameSessionError = SlackOpError;
|
|
406
|
+
/** Rename an agent session. Required scopes — bot: `chat:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `feature_disabled` — The agent tasks feature is not enabled for this workspace. - `channel_not_found` — The specified channel does not exist or is not accessible. - `not_authorized` — The calling app is not an authorized agent for this session. - `session_not_found` — No agent session exists for the specified channel and thread. - `thread_ts_required` — `thread_ts` is required for thread-based sessions in regular channels and DMs. - `thread_ts_not_allowed` — `thread_ts` must not be provided for session channels. - `invalid_name` — The `title` value is not valid for a channel name. - `name_taken` — The new channel name is already taken. - `is_archived` — Cannot rename an archived channel. - `internal_error` — An internal error occurred while renaming the session. See https://docs.slack.dev/reference/methods/agents.sessions.rename */
|
|
407
|
+
export declare const renameSession: API.OperationMethod<RenameSessionRequest, RenameSessionResponse, RenameSessionError, SlackOpContext>;
|
|
408
|
+
export type SetCanvasContentError = SlackOpError;
|
|
409
|
+
/** Replace the full markdown content of a plan canvas attached to a code channel. Required scopes — bot: `code_channels:manage` Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — The specified channel does not correspond to a valid channel. - `not_agent_channel` — The specified channel is not an agent session channel. - `feature_not_enabled` — The set-canvas-content feature is not enabled for this user. - `not_authorized` — The caller is not an authorized agent bot for this channel. - `canvas_not_found` — The specified canvas_id does not correspond to a canvas you can access. - `content_too_large` — The provided content exceeds the maximum canvas size. - `too_many_sections` — The provided content or the existing canvas has too many sections to diff. Reduce the number of distinct blocks (paragraphs, headings, code fences) in the document. - `canvas_content_fetch_failed` — The canvas's current content could not be read to compute the diff. - `canvas_content_update_failed` — The canvas content could not be updated. See https://docs.slack.dev/reference/methods/agents.conversations.setCanvasContent */
|
|
410
|
+
export declare const setCanvasContent: API.OperationMethod<SetCanvasContentRequest, SetCanvasContentResponse, SetCanvasContentError, SlackOpContext>;
|
|
411
|
+
export type SetCommandsError = SlackOpError;
|
|
412
|
+
/** Register the set of agent-defined slash commands for the calling agent in a code channel. Required scopes — bot: `code_channels:manage` Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — The specified channel does not exist or is not accessible. - `not_agent_channel` — The specified channel is not a code channel. - `not_authorized` — The caller is not the channel's agent bot. - `agent_required` — The caller is not a bot, so no agent could be determined for the command set. - `no_actions_url` — The calling agent app has no configured request URL (slash command or interactivity), so it could not receive command invocations. - `too_many_agents` — Registering a new agent would exceed the maximum number of agents with commands in this channel. - `invalid_commands` — One or more commands are malformed (invalid name, missing description, or a field exceeds its length limit). - `too_many_commands` — Registering this set would exceed the maximum of 10 commands across all agents in the channel. - `duplicate_command` — Two or more commands in the set share the same name. - `colliding_with_builtin` — One or more command names collide with a builtin Slack slash command. - `properties_update_failed` — The command set could not be persisted to the channel properties. See https://docs.slack.dev/reference/methods/agents.conversations.setCommands */
|
|
413
|
+
export declare const setCommands: API.OperationMethod<SetCommandsRequest, SetCommandsResponse, SetCommandsError, SlackOpContext>;
|
|
414
|
+
export type SetPropertiesError = SlackOpError;
|
|
415
|
+
/** Set properties on a code channel. Required scopes — bot: `code_channels:manage` Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — The specified channel_id does not correspond to a valid channel. - `not_agent_channel` — The specified channel is not a code channel. - `not_authorized` — The caller is not an authorized agent bot for this channel. - `invalid_status` — Value passed for `status` was not a valid agent session status. - `invalid_title` — Value passed for `title` was invalid. - `no_properties_provided` — At least one property field must be provided. See https://docs.slack.dev/reference/methods/agents.conversations.setProperties */
|
|
416
|
+
export declare const setProperties: API.OperationMethod<SetPropertiesRequest, SetPropertiesResponse, SetPropertiesError, SlackOpContext>;
|
|
417
|
+
export type SetStatusError = SlackOpError;
|
|
418
|
+
/** Set an agent session's lifecycle status, creating the session if needed. Required scopes — bot: `chat:write` Rate limit tier: 3 Method-specific errors (the `error` slug on the SlackError): - `feature_disabled` — The agent tasks feature is not enabled for this workspace. - `channel_not_found` — The specified channel does not exist or is not accessible. - `user_not_found` — The specified `initiator_user_id` does not exist or is not accessible. - `not_authorized` — The caller is not a member of the specified channel. - `invalid_status` — The `status` value is not a valid agent session status. Must be one of: `active`, `processing`, `suspended`, `closed`. - `thread_ts_required` — `thread_ts` is required for thread-based sessions in regular channels and DMs. - `thread_ts_not_allowed` — `thread_ts` must not be provided for session channels. The channel-level session is updated automatically. - `internal_error` — An internal error occurred while updating the session. See https://docs.slack.dev/reference/methods/agents.sessions.setStatus */
|
|
419
|
+
export declare const setStatus: API.OperationMethod<SetStatusRequest, SetStatusResponse, SetStatusError, SlackOpContext>;
|
|
420
|
+
export type SetViewError = SlackOpError;
|
|
421
|
+
/** Create or update a view in a code channel. Required scopes — bot: `code_channels:manage` Method-specific errors (the `error` slug on the SlackError): - `channel_not_found` — The specified channel does not correspond to a valid channel. - `not_agent_channel` — The specified channel is not a code channel. - `not_authorized` — The caller is not an authorized agent bot or member for this channel. - `content_too_large` — The view content exceeds the maximum allowed size (1 MB). - `too_many_views` — The channel already has the maximum number of views (5), or already has a diff view (at most 1 is allowed). - `invalid_csp_domain` — One or more declared CSP domains failed validation (must be https:// origins, no private/reserved/internal hosts). - `invalid_view_type` — The supplied type is not a recognized view type. - `missing_required_arg` — A required argument for the supplied view type is missing (content for html/diff, blocks for block_kit, canvas_id for canvas, pr_url for pull_request). - `invalid_pr_url` — The supplied pr_url is not a valid https pull request URL. - `invalid_blocks` — The supplied blocks failed Block Kit validation. - `canvas_not_found` — The specified canvas_id does not correspond to a canvas you can access. - `not_view_owner` — The view already exists and was created by a different agent bot; only its owner may update it. - `view_creation_failed` — The view could not be created as a channel tab. See https://docs.slack.dev/reference/methods/agents.conversations.setView */
|
|
422
|
+
export declare const setView: API.OperationMethod<SetViewRequest, SetViewResponse, SetViewError, SlackOpContext>;
|
|
423
|
+
//# sourceMappingURL=agents.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../src/services/agents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAC;AAEjD,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,EAAiB,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAIvF,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AAE7C,MAAM,WAAW,0BAA0B;IACzC,yCAAyC;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB,2JAA2J;IAC3J,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AACD,eAAO,MAAM,0BAA0B,EAO1B,CAAC,CAAC,MAAM,CAAC,0BAA0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