UNPKG

106 kBTypeScriptView Raw
1import { EventEmitter } from 'eventemitter3';
2import { type WebAPICallResult, type WebClientEvent } from './WebClient';
3import type { APITestArguments, AdminAnalyticsGetFileArguments, AdminAppsActivitiesListArguments, AdminAppsApproveArguments, AdminAppsApprovedListArguments, AdminAppsClearResolutionArguments, AdminAppsConfigLookupArguments, AdminAppsConfigSetArguments, AdminAppsRequestsCancelArguments, AdminAppsRequestsListArguments, AdminAppsRestrictArguments, AdminAppsRestrictedListArguments, AdminAppsUninstallArguments, AdminAuthPolicyAssignEntitiesArguments, AdminAuthPolicyGetEntitiesArguments, AdminAuthPolicyRemoveEntitiesArguments, AdminBarriersCreateArguments, AdminBarriersDeleteArguments, AdminBarriersListArguments, AdminBarriersUpdateArguments, AdminConversationsArchiveArguments, AdminConversationsBulkArchiveArguments, AdminConversationsBulkDeleteArguments, AdminConversationsBulkMoveArguments, AdminConversationsConvertToPrivateArguments, AdminConversationsConvertToPublicArguments, AdminConversationsCreateArguments, AdminConversationsDeleteArguments, AdminConversationsDisconnectSharedArguments, AdminConversationsEKMListOriginalConnectedChannelInfoArguments, AdminConversationsGetConversationPrefsArguments, AdminConversationsGetCustomRetentionArguments, AdminConversationsGetTeamsArguments, AdminConversationsInviteArguments, AdminConversationsLookupArguments, AdminConversationsRemoveCustomRetentionArguments, AdminConversationsRenameArguments, AdminConversationsRestrictAccessAddGroupArguments, AdminConversationsRestrictAccessListGroupsArguments, AdminConversationsRestrictAccessRemoveGroupArguments, AdminConversationsSearchArguments, AdminConversationsSetConversationPrefsArguments, AdminConversationsSetCustomRetentionArguments, AdminConversationsSetTeamsArguments, AdminConversationsUnarchiveArguments, AdminEmojiAddAliasArguments, AdminEmojiAddArguments, AdminEmojiListArguments, AdminEmojiRemoveArguments, AdminEmojiRenameArguments, AdminFunctionsListArguments, AdminFunctionsPermissionsLookupArguments, AdminFunctionsPermissionsSetArguments, AdminInviteRequestsApproveArguments, AdminInviteRequestsApprovedListArguments, AdminInviteRequestsDeniedListArguments, AdminInviteRequestsDenyArguments, AdminInviteRequestsListArguments, AdminRolesAddAssignmentsArguments, AdminRolesListAssignmentsArguments, AdminRolesRemoveAssignmentsArguments, AdminTeamsAdminsListArguments, AdminTeamsCreateArguments, AdminTeamsListArguments, AdminTeamsOwnersListArguments, AdminTeamsSettingsInfoArguments, AdminTeamsSettingsSetDefaultChannelsArguments, AdminTeamsSettingsSetDescriptionArguments, AdminTeamsSettingsSetDiscoverabilityArguments, AdminTeamsSettingsSetIconArguments, AdminTeamsSettingsSetNameArguments, AdminUsergroupsAddChannelsArguments, AdminUsergroupsAddTeamsArguments, AdminUsergroupsListChannelsArguments, AdminUsergroupsRemoveChannelsArguments, AdminUsersAssignArguments, AdminUsersInviteArguments, AdminUsersListArguments, AdminUsersRemoveArguments, AdminUsersSessionClearSettingsArguments, AdminUsersSessionGetSettingsArguments, AdminUsersSessionInvalidateArguments, AdminUsersSessionListArguments, AdminUsersSessionResetArguments, AdminUsersSessionResetBulkArguments, AdminUsersSessionSetSettingsArguments, AdminUsersSetAdminArguments, AdminUsersSetExpirationArguments, AdminUsersSetOwnerArguments, AdminUsersSetRegularArguments, AdminUsersUnsupportedVersionsExportArguments, AdminWorkflowsCollaboratorsAddArguments, AdminWorkflowsCollaboratorsRemoveArguments, AdminWorkflowsPermissionsLookupArguments, AdminWorkflowsSearchArguments, AdminWorkflowsUnpublishArguments, AppsConnectionsOpenArguments, AppsEventAuthorizationsListArguments, AppsManifestCreateArguments, AppsManifestDeleteArguments, AppsManifestExportArguments, AppsManifestUpdateArguments, AppsManifestValidateArguments, AppsUninstallArguments, AssistantThreadsSetStatusArguments, AssistantThreadsSetSuggestedPromptsArguments, AssistantThreadsSetTitleArguments, AuthRevokeArguments, AuthTeamsListArguments, AuthTestArguments, BookmarksAddArguments, BookmarksEditArguments, BookmarksListArguments, BookmarksRemoveArguments, BotsInfoArguments, CallsAddArguments, CallsEndArguments, CallsInfoArguments, CallsParticipantsAddArguments, CallsParticipantsRemoveArguments, CallsUpdateArguments, CanvasesAccessDeleteArguments, CanvasesAccessSetArguments, CanvasesCreateArguments, CanvasesDeleteArguments, CanvasesEditArguments, CanvasesSectionsLookupArguments, ChatDeleteArguments, ChatDeleteScheduledMessageArguments, ChatGetPermalinkArguments, ChatMeMessageArguments, ChatPostEphemeralArguments, ChatPostMessageArguments, ChatScheduleMessageArguments, ChatScheduledMessagesListArguments, ChatUnfurlArguments, ChatUpdateArguments, ConversationsAcceptSharedInviteArguments, ConversationsApproveSharedInviteArguments, ConversationsArchiveArguments, ConversationsCanvasesCreateArguments, ConversationsCloseArguments, ConversationsCreateArguments, ConversationsDeclineSharedInviteArguments, ConversationsExternalInvitePermissionsSetArguments, ConversationsHistoryArguments, ConversationsInfoArguments, ConversationsInviteArguments, ConversationsInviteSharedArguments, ConversationsJoinArguments, ConversationsKickArguments, ConversationsLeaveArguments, ConversationsListArguments, ConversationsListConnectInvitesArguments, ConversationsMarkArguments, ConversationsMembersArguments, ConversationsOpenArguments, ConversationsRenameArguments, ConversationsRepliesArguments, ConversationsRequestSharedInviteApproveArguments, ConversationsRequestSharedInviteDenyArguments, ConversationsRequestSharedInviteListArguments, ConversationsSetPurposeArguments, ConversationsSetTopicArguments, ConversationsUnarchiveArguments, DialogOpenArguments, DndEndDndArguments, DndEndSnoozeArguments, DndInfoArguments, DndSetSnoozeArguments, DndTeamInfoArguments, EmojiListArguments, FilesCommentsDeleteArguments, FilesCompleteUploadExternalArguments, FilesDeleteArguments, FilesGetUploadURLExternalArguments, FilesInfoArguments, FilesListArguments, FilesRemoteAddArguments, FilesRemoteInfoArguments, FilesRemoteListArguments, FilesRemoteRemoveArguments, FilesRemoteShareArguments, FilesRemoteUpdateArguments, FilesRevokePublicURLArguments, FilesSharedPublicURLArguments, FilesUploadArguments, FilesUploadV2Arguments, FunctionsCompleteErrorArguments, FunctionsCompleteSuccessArguments, MigrationExchangeArguments, OAuthAccessArguments, OAuthV2AccessArguments, OAuthV2ExchangeArguments, OpenIDConnectTokenArguments, OpenIDConnectUserInfoArguments, PinsAddArguments, PinsListArguments, PinsRemoveArguments, RTMConnectArguments, RTMStartArguments, ReactionsAddArguments, ReactionsGetArguments, ReactionsListArguments, ReactionsRemoveArguments, RemindersAddArguments, RemindersCompleteArguments, RemindersDeleteArguments, RemindersInfoArguments, RemindersListArguments, SearchAllArguments, SearchFilesArguments, SearchMessagesArguments, StarsAddRemoveArguments, StarsListArguments, TeamAccessLogsArguments, TeamBillableInfoArguments, TeamBillingInfoArguments, TeamExternalTeamsDisconnectArguments, TeamExternalTeamsListArguments, TeamInfoArguments, TeamIntegrationLogsArguments, TeamPreferencesListArguments, TeamProfileGetArguments, ToolingTokensRotateArguments, UsergroupsCreateArguments, UsergroupsDisableArguments, UsergroupsEnableArguments, UsergroupsListArguments, UsergroupsUpdateArguments, UsergroupsUsersListArguments, UsergroupsUsersUpdateArguments, UsersConversationsArguments, UsersDeletePhotoArguments, UsersDiscoverableContactsLookupArguments, UsersGetPresenceArguments, UsersIdentityArguments, UsersInfoArguments, UsersListArguments, UsersLookupByEmailArguments, UsersProfileGetArguments, UsersProfileSetArguments, UsersSetPhotoArguments, UsersSetPresenceArguments, ViewsOpenArguments, ViewsPublishArguments, ViewsPushArguments, ViewsUpdateArguments, WorkflowsStepCompletedArguments, WorkflowsStepFailedArguments, WorkflowsUpdateStepArguments } from './types/request/index';
4import type { AdminAnalyticsGetFileResponse, AdminAppsActivitiesListResponse, AdminAppsApproveResponse, AdminAppsApprovedListResponse, AdminAppsClearResolutionResponse, AdminAppsConfigLookupResponse, AdminAppsConfigSetResponse, AdminAppsRequestsCancelResponse, AdminAppsRequestsListResponse, AdminAppsRestrictResponse, AdminAppsRestrictedListResponse, AdminAppsUninstallResponse, AdminAuthPolicyAssignEntitiesResponse, AdminAuthPolicyGetEntitiesResponse, AdminAuthPolicyRemoveEntitiesResponse, AdminBarriersCreateResponse, AdminBarriersDeleteResponse, AdminBarriersListResponse, AdminBarriersUpdateResponse, AdminConversationsArchiveResponse, AdminConversationsBulkArchiveResponse, AdminConversationsBulkDeleteResponse, AdminConversationsBulkMoveResponse, AdminConversationsConvertToPrivateResponse, AdminConversationsConvertToPublicResponse, AdminConversationsCreateResponse, AdminConversationsDeleteResponse, AdminConversationsDisconnectSharedResponse, AdminConversationsEkmListOriginalConnectedChannelInfoResponse, AdminConversationsGetConversationPrefsResponse, AdminConversationsGetCustomRetentionResponse, AdminConversationsGetTeamsResponse, AdminConversationsInviteResponse, AdminConversationsLookupResponse, AdminConversationsRemoveCustomRetentionResponse, AdminConversationsRenameResponse, AdminConversationsRestrictAccessAddGroupResponse, AdminConversationsRestrictAccessListGroupsResponse, AdminConversationsRestrictAccessRemoveGroupResponse, AdminConversationsSearchResponse, AdminConversationsSetConversationPrefsResponse, AdminConversationsSetCustomRetentionResponse, AdminConversationsSetTeamsResponse, AdminConversationsUnarchiveResponse, AdminEmojiAddAliasResponse, AdminEmojiAddResponse, AdminEmojiListResponse, AdminEmojiRemoveResponse, AdminEmojiRenameResponse, AdminFunctionsListResponse, AdminFunctionsPermissionsLookupResponse, AdminFunctionsPermissionsSetResponse, AdminInviteRequestsApproveResponse, AdminInviteRequestsApprovedListResponse, AdminInviteRequestsDeniedListResponse, AdminInviteRequestsDenyResponse, AdminInviteRequestsListResponse, AdminRolesAddAssignmentsResponse, AdminRolesListAssignmentsResponse, AdminRolesRemoveAssignmentsResponse, AdminTeamsAdminsListResponse, AdminTeamsCreateResponse, AdminTeamsListResponse, AdminTeamsOwnersListResponse, AdminTeamsSettingsInfoResponse, AdminTeamsSettingsSetDefaultChannelsResponse, AdminTeamsSettingsSetDescriptionResponse, AdminTeamsSettingsSetDiscoverabilityResponse, AdminTeamsSettingsSetIconResponse, AdminTeamsSettingsSetNameResponse, AdminUsergroupsAddChannelsResponse, AdminUsergroupsAddTeamsResponse, AdminUsergroupsListChannelsResponse, AdminUsergroupsRemoveChannelsResponse, AdminUsersAssignResponse, AdminUsersInviteResponse, AdminUsersListResponse, AdminUsersRemoveResponse, AdminUsersSessionClearSettingsResponse, AdminUsersSessionGetSettingsResponse, AdminUsersSessionInvalidateResponse, AdminUsersSessionListResponse, AdminUsersSessionResetBulkResponse, AdminUsersSessionResetResponse, AdminUsersSessionSetSettingsResponse, AdminUsersSetAdminResponse, AdminUsersSetExpirationResponse, AdminUsersSetOwnerResponse, AdminUsersSetRegularResponse, AdminUsersUnsupportedVersionsExportResponse, AdminWorkflowsCollaboratorsAddResponse, AdminWorkflowsCollaboratorsRemoveResponse, AdminWorkflowsPermissionsLookupResponse, AdminWorkflowsSearchResponse, AdminWorkflowsUnpublishResponse, ApiTestResponse, AppsConnectionsOpenResponse, AppsEventAuthorizationsListResponse, AppsManifestCreateResponse, AppsManifestDeleteResponse, AppsManifestExportResponse, AppsManifestUpdateResponse, AppsManifestValidateResponse, AppsUninstallResponse, AssistantThreadsSetStatusResponse, AssistantThreadsSetSuggestedPromptsResponse, AssistantThreadsSetTitleResponse, AuthRevokeResponse, AuthTeamsListResponse, AuthTestResponse, BookmarksAddResponse, BookmarksEditResponse, BookmarksListResponse, BookmarksRemoveResponse, BotsInfoResponse, CallsAddResponse, CallsEndResponse, CallsInfoResponse, CallsParticipantsAddResponse, CallsParticipantsRemoveResponse, CallsUpdateResponse, CanvasesAccessDeleteResponse, CanvasesAccessSetResponse, CanvasesCreateResponse, CanvasesDeleteResponse, CanvasesEditResponse, CanvasesSectionsLookupResponse, ChatDeleteResponse, ChatDeleteScheduledMessageResponse, ChatGetPermalinkResponse, ChatMeMessageResponse, ChatPostEphemeralResponse, ChatPostMessageResponse, ChatScheduleMessageResponse, ChatScheduledMessagesListResponse, ChatUnfurlResponse, ChatUpdateResponse, ConversationsAcceptSharedInviteResponse, ConversationsApproveSharedInviteResponse, ConversationsArchiveResponse, ConversationsCanvasesCreateResponse, ConversationsCloseResponse, ConversationsCreateResponse, ConversationsDeclineSharedInviteResponse, ConversationsExternalInvitePermissionsSetResponse, ConversationsHistoryResponse, ConversationsInfoResponse, ConversationsInviteResponse, ConversationsInviteSharedResponse, ConversationsJoinResponse, ConversationsKickResponse, ConversationsLeaveResponse, ConversationsListConnectInvitesResponse, ConversationsListResponse, ConversationsMarkResponse, ConversationsMembersResponse, ConversationsOpenResponse, ConversationsRenameResponse, ConversationsRepliesResponse, ConversationsRequestSharedInviteApproveResponse, ConversationsRequestSharedInviteDenyResponse, ConversationsRequestSharedInviteListResponse, ConversationsSetPurposeResponse, ConversationsSetTopicResponse, ConversationsUnarchiveResponse, DialogOpenResponse, DndEndDndResponse, DndEndSnoozeResponse, DndInfoResponse, DndSetSnoozeResponse, DndTeamInfoResponse, EmojiListResponse, FilesCommentsDeleteResponse, FilesCompleteUploadExternalResponse, FilesDeleteResponse, FilesGetUploadURLExternalResponse, FilesInfoResponse, FilesListResponse, FilesRemoteAddResponse, FilesRemoteInfoResponse, FilesRemoteListResponse, FilesRemoteRemoveResponse, FilesRemoteShareResponse, FilesRemoteUpdateResponse, FilesRevokePublicURLResponse, FilesSharedPublicURLResponse, FilesUploadResponse, FunctionsCompleteErrorResponse, FunctionsCompleteSuccessResponse, MigrationExchangeResponse, OauthAccessResponse, OauthV2AccessResponse, OauthV2ExchangeResponse, OpenIDConnectTokenResponse, OpenIDConnectUserInfoResponse, PinsAddResponse, PinsListResponse, PinsRemoveResponse, ReactionsAddResponse, ReactionsGetResponse, ReactionsListResponse, ReactionsRemoveResponse, RemindersAddResponse, RemindersCompleteResponse, RemindersDeleteResponse, RemindersInfoResponse, RemindersListResponse, RtmConnectResponse, RtmStartResponse, SearchAllResponse, SearchFilesResponse, SearchMessagesResponse, StarsAddResponse, StarsListResponse, StarsRemoveResponse, TeamAccessLogsResponse, TeamBillableInfoResponse, TeamBillingInfoResponse, TeamExternalTeamsDisconnectResponse, TeamExternalTeamsListResponse, TeamInfoResponse, TeamIntegrationLogsResponse, TeamPreferencesListResponse, TeamProfileGetResponse, ToolingTokensRotateResponse, UsergroupsCreateResponse, UsergroupsDisableResponse, UsergroupsEnableResponse, UsergroupsListResponse, UsergroupsUpdateResponse, UsergroupsUsersListResponse, UsergroupsUsersUpdateResponse, UsersConversationsResponse, UsersDeletePhotoResponse, UsersDiscoverableContactsLookupResponse, UsersGetPresenceResponse, UsersIdentityResponse, UsersInfoResponse, UsersListResponse, UsersLookupByEmailResponse, UsersProfileGetResponse, UsersProfileSetResponse, UsersSetPhotoResponse, UsersSetPresenceResponse, ViewsOpenResponse, ViewsPublishResponse, ViewsPushResponse, ViewsUpdateResponse, WorkflowsStepCompletedResponse, WorkflowsStepFailedResponse, WorkflowsUpdateStepResponse } from './types/response/index';
5/**
6 * Generic method definition
7 */
8type MethodWithRequiredArgument<MethodArguments, MethodResult extends WebAPICallResult = WebAPICallResult> = (options: MethodArguments) => Promise<MethodResult>;
9type MethodWithOptionalArgument<MethodArguments, MethodResult extends WebAPICallResult = WebAPICallResult> = (options?: MethodArguments) => Promise<MethodResult>;
10export default MethodWithOptionalArgument;
11/**
12 * A class that defines all Web API methods, their arguments type, their response type, and binds those methods to the
13 * `apiCall` class method.
14 */
15export declare abstract class Methods extends EventEmitter<WebClientEvent> {
16 protected constructor();
17 abstract apiCall(method: string, options?: Record<string, unknown>): Promise<WebAPICallResult>;
18 abstract filesUploadV2(options: FilesUploadV2Arguments): Promise<WebAPICallResult>;
19 readonly admin: {
20 analytics: {
21 /**
22 * @description Retrieve analytics data for a given date, presented as a compressed JSON file.
23 * @see {@link https://api.slack.com/methods/api.test `api.test` API reference}.
24 */
25 getFile: MethodWithRequiredArgument<AdminAnalyticsGetFileArguments, AdminAnalyticsGetFileResponse>;
26 };
27 apps: {
28 activities: {
29 /**
30 * @description Get logs for a specified team/org.
31 * @see {@link https://api.slack.com/methods/admin.apps.activities.list `admin.apps.activities.list` API reference}.
32 */
33 list: MethodWithOptionalArgument<AdminAppsActivitiesListArguments, AdminAppsActivitiesListResponse>;
34 };
35 /**
36 * @description Approve an app for installation on a workspace.
37 * @see {@link https://api.slack.com/methods/admin.apps.approve `admin.apps.approve` API reference}.
38 */
39 approve: MethodWithRequiredArgument<AdminAppsApproveArguments, AdminAppsApproveResponse>;
40 approved: {
41 /**
42 * @description List approved apps for an org or workspace.
43 * @see {@link https://api.slack.com/methods/admin.apps.approved.list `admin.apps.approved.list` API reference}.
44 */
45 list: MethodWithRequiredArgument<AdminAppsApprovedListArguments, AdminAppsApprovedListResponse>;
46 };
47 /**
48 * @description Clear an app resolution.
49 * @see {@link https://api.slack.com/methods/admin.apps.clearResolution `admin.apps.clearResolution` API reference}.
50 */
51 clearResolution: MethodWithRequiredArgument<AdminAppsClearResolutionArguments, AdminAppsClearResolutionResponse>;
52 config: {
53 /**
54 * @description Look up the app config for connectors by their IDs.
55 * @see {@link https://api.slack.com/methods/admin.apps.config.lookup `admin.apps.config.lookup` API reference}.
56 */
57 lookup: MethodWithRequiredArgument<AdminAppsConfigLookupArguments, AdminAppsConfigLookupResponse>;
58 /**
59 * @description Set the app config for a connector.
60 * @see {@link https://api.slack.com/methods/admin.apps.config.set `admin.apps.config.set` API reference}.
61 */
62 set: MethodWithRequiredArgument<AdminAppsConfigSetArguments, AdminAppsConfigSetResponse>;
63 };
64 requests: {
65 /**
66 * @description Cancel app request for team.
67 * @see {@link https://api.slack.com/methods/admin.apps.requests.cancel `admin.apps.requests.cancel` API reference}.
68 */
69 cancel: MethodWithRequiredArgument<AdminAppsRequestsCancelArguments, AdminAppsRequestsCancelResponse>;
70 /**
71 * @description List app requests for a team/workspace.
72 * @see {@link https://api.slack.com/methods/admin.apps.requests.list `admin.apps.requests.list` API reference}.
73 */
74 list: MethodWithRequiredArgument<AdminAppsRequestsListArguments, AdminAppsRequestsListResponse>;
75 };
76 /**
77 * @description Restrict an app for installation on a workspace.
78 * @see {@link https://api.slack.com/methods/admin.apps.restrict `admin.apps.restrict` API reference}.
79 */
80 restrict: MethodWithRequiredArgument<AdminAppsRestrictArguments, AdminAppsRestrictResponse>;
81 restricted: {
82 /**
83 * @description List restricted apps for an org or workspace.
84 * @see {@link https://api.slack.com/methods/admin.apps.restricted.list `admin.apps.restricted.list` API reference}.
85 */
86 list: MethodWithRequiredArgument<AdminAppsRestrictedListArguments, AdminAppsRestrictedListResponse>;
87 };
88 /**
89 * @description Uninstall an app from one or many workspaces, or an entire enterprise organization.
90 * @see {@link https://api.slack.com/methods/admin.apps.uninstall `admin.apps.uninstall` API reference}.
91 */
92 uninstall: MethodWithRequiredArgument<AdminAppsUninstallArguments, AdminAppsUninstallResponse>;
93 };
94 auth: {
95 policy: {
96 /**
97 * @description Assign entities to a particular authentication policy.
98 * @see {@link https://api.slack.com/methods/admin.auth.policy.assignEntities `admin.auth.policy.assignEntities` API reference}.
99 */
100 assignEntities: MethodWithRequiredArgument<AdminAuthPolicyAssignEntitiesArguments, AdminAuthPolicyAssignEntitiesResponse>;
101 /**
102 * @description Fetch all the entities assigned to a particular authentication policy by name.
103 * @see {@link https://api.slack.com/methods/admin.auth.policy.getEntities `admin.auth.policy.getEntities` API reference}.
104 */
105 getEntities: MethodWithRequiredArgument<AdminAuthPolicyGetEntitiesArguments, AdminAuthPolicyGetEntitiesResponse>;
106 /**
107 * @description Remove specified entities from a specified authentication policy.
108 * @see {@link https://api.slack.com/methods/admin.auth.policy.removeEntities `admin.auth.policy.removeEntities` API reference}.
109 */
110 removeEntities: MethodWithRequiredArgument<AdminAuthPolicyRemoveEntitiesArguments, AdminAuthPolicyRemoveEntitiesResponse>;
111 };
112 };
113 barriers: {
114 /**
115 * @description Create an Information Barrier.
116 * @see {@link https://api.slack.com/methods/admin.barriers.create `admin.barriers.create` API reference}.
117 */
118 create: MethodWithRequiredArgument<AdminBarriersCreateArguments, AdminBarriersCreateResponse>;
119 /**
120 * @description Delete an existing Information Barrier.
121 * @see {@link https://api.slack.com/methods/admin.barriers.delete `admin.barriers.delete` API reference}.
122 */
123 delete: MethodWithRequiredArgument<AdminBarriersDeleteArguments, AdminBarriersDeleteResponse>;
124 /**
125 * @description Get all Information Barriers for your organization.
126 * @see {@link https://api.slack.com/methods/admin.barriers.list `admin.barriers.list` API reference}.
127 */
128 list: MethodWithOptionalArgument<AdminBarriersListArguments, AdminBarriersListResponse>;
129 /**
130 * @description Update an existing Information Barrier.
131 * @see {@link https://api.slack.com/methods/admin.barriers.update `admin.barriers.update` API reference}.
132 */
133 update: MethodWithRequiredArgument<AdminBarriersUpdateArguments, AdminBarriersUpdateResponse>;
134 };
135 conversations: {
136 /**
137 * @description Archive a public or private channel.
138 * @see {@link https://api.slack.com/methods/admin.conversations.archive `admin.conversations.archive` API reference}.
139 */
140 archive: MethodWithRequiredArgument<AdminConversationsArchiveArguments, AdminConversationsArchiveResponse>;
141 /**
142 * @description Archive public or private channels in bulk.
143 * @see {@link https://api.slack.com/methods/admin.conversations.bulkArchive `admin.conversations.bulkArchive` API reference}.
144 */
145 bulkArchive: MethodWithRequiredArgument<AdminConversationsBulkArchiveArguments, AdminConversationsBulkArchiveResponse>;
146 /**
147 * @description Delete public or private channels in bulk.
148 * @see {@link https://api.slack.com/methods/admin.conversations.bulkDelet `admin.conversations.bulkDelete` API reference}.
149 */
150 bulkDelete: MethodWithRequiredArgument<AdminConversationsBulkDeleteArguments, AdminConversationsBulkDeleteResponse>;
151 /**
152 * @description Move public or private channels in bulk.
153 * @see {@link https://api.slack.com/methods/admin.conversations.bulkMove `admin.conversations.bulkMove` API reference}.
154 */
155 bulkMove: MethodWithRequiredArgument<AdminConversationsBulkMoveArguments, AdminConversationsBulkMoveResponse>;
156 /**
157 * @description Convert a public channel to a private channel.
158 * @see {@link https://api.slack.com/methods/admin.conversations.convertToPrivate `admin.conversations.convertToPrivate` API reference}.
159 */
160 convertToPrivate: MethodWithRequiredArgument<AdminConversationsConvertToPrivateArguments, AdminConversationsConvertToPrivateResponse>;
161 /**
162 * @description Convert a private channel to a public channel.
163 * @see {@link https://api.slack.com/methods/admin.conversations.convertToPublic `admin.conversations.convertToPublic` API reference}.
164 */
165 convertToPublic: MethodWithRequiredArgument<AdminConversationsConvertToPublicArguments, AdminConversationsConvertToPublicResponse>;
166 /**
167 * @description Create a public or private channel-based conversation.
168 * @see {@link https://api.slack.com/methods/admin.conversations.create `admin.conversations.create` API reference}.
169 */
170 create: MethodWithRequiredArgument<AdminConversationsCreateArguments, AdminConversationsCreateResponse>;
171 /**
172 * @description Delete a public or private channel.
173 * @see {@link https://api.slack.com/methods/admin.conversations.delete `admin.conversations.delete` API reference}.
174 */
175 delete: MethodWithRequiredArgument<AdminConversationsDeleteArguments, AdminConversationsDeleteResponse>;
176 /**
177 * @description Disconnect a connected channel from one or more workspaces.
178 * @see {@link https://api.slack.com/methods/admin.conversations.disconnectShared `admin.conversations.disconnectShared` API reference}.
179 */
180 disconnectShared: MethodWithRequiredArgument<AdminConversationsDisconnectSharedArguments, AdminConversationsDisconnectSharedResponse>;
181 ekm: {
182 /**
183 * @description List all disconnected channels — i.e., channels that were once connected to other workspaces
184 * and then disconnected — and the corresponding original channel IDs for key revocation with EKM.
185 * @see {@link https://api.slack.com/methods/admin.conversations.ekm.listOriginalConnectedChannelInfo `admin.conversations.ekm.listOriginalConnectedChannelInfo` API reference}.
186 */
187 listOriginalConnectedChannelInfo: MethodWithOptionalArgument<AdminConversationsEKMListOriginalConnectedChannelInfoArguments, AdminConversationsEkmListOriginalConnectedChannelInfoResponse>;
188 };
189 /**
190 * @description Get conversation preferences for a public or private channel.
191 * @see {@link https://api.slack.com/methods/admin.conversations.getConversationPrefs `admin.conversations.getConversationPrefs` API reference}.
192 */
193 getConversationPrefs: MethodWithRequiredArgument<AdminConversationsGetConversationPrefsArguments, AdminConversationsGetConversationPrefsResponse>;
194 /**
195 * @description Get a conversation's retention policy.
196 * @see {@link https://api.slack.com/methods/admin.conversations.getCustomRetention `admin.conversations.getCustomRetention` API reference}.
197 */
198 getCustomRetention: MethodWithRequiredArgument<AdminConversationsGetCustomRetentionArguments, AdminConversationsGetCustomRetentionResponse>;
199 /**
200 * @description Get all the workspaces a given public or private channel is connected to within
201 * this Enterprise org.
202 * @see {@link https://api.slack.com/methods/admin.conversations.getTeams `admin.conversations.getTeams` API reference}.
203 */
204 getTeams: MethodWithRequiredArgument<AdminConversationsGetTeamsArguments, AdminConversationsGetTeamsResponse>;
205 /**
206 * @description Invite a user to a public or private channel.
207 * @see {@link https://api.slack.com/methods/admin.conversations.invite `admin.conversations.invite` API reference}.
208 */
209 invite: MethodWithRequiredArgument<AdminConversationsInviteArguments, AdminConversationsInviteResponse>;
210 /**
211 * @description Returns channels on the given team using the filters.
212 * @see {@link https://api.slack.com/methods/admin.conversations.lookup `admin.conversations.lookup` API reference}.
213 */
214 lookup: MethodWithRequiredArgument<AdminConversationsLookupArguments, AdminConversationsLookupResponse>;
215 /**
216 * @description Remove a conversation's retention policy.
217 * @see {@link https://api.slack.com/methods/admin.conversations.removeCustomRetention `admin.conversations.removeCustomRetention` API reference}.
218 */
219 removeCustomRetention: MethodWithRequiredArgument<AdminConversationsRemoveCustomRetentionArguments, AdminConversationsRemoveCustomRetentionResponse>;
220 /**
221 * @description Rename a public or private channel.
222 * @see {@link https://api.slack.com/methods/admin.conversations.rename `admin.conversations.rename` API reference}.
223 */
224 rename: MethodWithRequiredArgument<AdminConversationsRenameArguments, AdminConversationsRenameResponse>;
225 restrictAccess: {
226 /**
227 * @description Add an allowlist of IDP groups for accessing a channel.
228 * @see {@link https://api.slack.com/methods/admin.conversations.restrictAccess.addGroup `admin.conversations.restrictAccess.addGroup` API reference}.
229 */
230 addGroup: MethodWithRequiredArgument<AdminConversationsRestrictAccessAddGroupArguments, AdminConversationsRestrictAccessAddGroupResponse>;
231 /**
232 * @description List all IDP Groups linked to a channel.
233 * @see {@link https://api.slack.com/methods/admin.conversations.restrictAccess.listGroups `admin.conversations.restrictAccess.listGroups` API reference}.
234 */
235 listGroups: MethodWithRequiredArgument<AdminConversationsRestrictAccessListGroupsArguments, AdminConversationsRestrictAccessListGroupsResponse>;
236 /**
237 * @description Remove a linked IDP group linked from a private channel.
238 * @see {@link https://api.slack.com/methods/admin.conversations.restrictAccess.removeGroup `admin.conversations.restrictAccess.removeGroup` API reference}.
239 */
240 removeGroup: MethodWithRequiredArgument<AdminConversationsRestrictAccessRemoveGroupArguments, AdminConversationsRestrictAccessRemoveGroupResponse>;
241 };
242 /**
243 * @description Search for public or private channels in an Enterprise organization.
244 * @see {@link https://api.slack.com/methods/admin.conversations.search `admin.conversations.search` API reference}.
245 */
246 search: MethodWithOptionalArgument<AdminConversationsSearchArguments, AdminConversationsSearchResponse>;
247 /**
248 * @description Set the posting permissions for a public or private channel.
249 * @see {@link https://api.slack.com/methods/admin.conversations.setConversationPrefs `admin.conversations.setConversationPrefs` API reference}.
250 */
251 setConversationPrefs: MethodWithRequiredArgument<AdminConversationsSetConversationPrefsArguments, AdminConversationsSetConversationPrefsResponse>;
252 /**
253 * @description Set a conversation's retention policy.
254 * @see {@link https://api.slack.com/methods/admin.conversations.setCustomRetention `admin.conversations.setCustomRetention` API reference}.
255 */
256 setCustomRetention: MethodWithRequiredArgument<AdminConversationsSetCustomRetentionArguments, AdminConversationsSetCustomRetentionResponse>;
257 /**
258 * @description Set the workspaces in an Enterprise grid org that connect to a public or private channel.
259 * @see {@link https://api.slack.com/methods/admin.conversations.setTeams `admin.conversations.setTeams` API reference}.
260 */
261 setTeams: MethodWithRequiredArgument<AdminConversationsSetTeamsArguments, AdminConversationsSetTeamsResponse>;
262 /**
263 * @description Unarchive a public or private channel.
264 * @see {@link https://api.slack.com/methods/admin.conversations.unarchive `admin.conversations.unarchive` API reference}.
265 */
266 unarchive: MethodWithRequiredArgument<AdminConversationsUnarchiveArguments, AdminConversationsUnarchiveResponse>;
267 };
268 emoji: {
269 /**
270 * @description Add an emoji.
271 * @see {@link https://api.slack.com/methods/admin.emoji.add `admin.emoji.add` API reference}.
272 */
273 add: MethodWithRequiredArgument<AdminEmojiAddArguments, AdminEmojiAddResponse>;
274 /**
275 * @description Add an emoji alias.
276 * @see {@link https://api.slack.com/methods/admin.emoji.addAlias `admin.emoji.addAlias` API reference}.
277 */
278 addAlias: MethodWithRequiredArgument<AdminEmojiAddAliasArguments, AdminEmojiAddAliasResponse>;
279 /**
280 * @description List emoji for an Enterprise Grid organization.
281 * @see {@link https://api.slack.com/methods/admin.emoji.list `admin.emoji.list` API reference}.
282 */
283 list: MethodWithOptionalArgument<AdminEmojiListArguments, AdminEmojiListResponse>;
284 /**
285 * @description Remove an emoji across an Enterprise Grid organization.
286 * @see {@link https://api.slack.com/methods/admin.emoji.remove `admin.emoji.remove` API reference}.
287 */
288 remove: MethodWithRequiredArgument<AdminEmojiRemoveArguments, AdminEmojiRemoveResponse>;
289 /**
290 * @description Rename an emoji.
291 * @see {@link https://api.slack.com/methods/admin.emoji.rename `admin.emoji.rename` API reference}.
292 */
293 rename: MethodWithRequiredArgument<AdminEmojiRenameArguments, AdminEmojiRenameResponse>;
294 };
295 functions: {
296 /**
297 * @description Look up functions by a set of apps.
298 * @see {@link https://api.slack.com/methods/admin.functions.list `admin.functions.list` API reference}.
299 */
300 list: MethodWithRequiredArgument<AdminFunctionsListArguments, AdminFunctionsListResponse>;
301 permissions: {
302 /**
303 * @description Lookup the visibility of multiple Slack functions and include the users if
304 * it is limited to particular named entities.
305 * @see {@link https://api.slack.com/methods/admin.functions.permissions.lookup `admin.functions.permissions.lookup` API reference}.
306 */
307 lookup: MethodWithRequiredArgument<AdminFunctionsPermissionsLookupArguments, AdminFunctionsPermissionsLookupResponse>;
308 /**
309 * @description Set the visibility of a Slack function and define the users or workspaces if
310 * it is set to named_entities.
311 * @see {@link https://api.slack.com/methods/admin.functions.permissions.set `admin.functions.permissions.set` API reference}.
312 */
313 set: MethodWithRequiredArgument<AdminFunctionsPermissionsSetArguments, AdminFunctionsPermissionsSetResponse>;
314 };
315 };
316 inviteRequests: {
317 /**
318 * @description Approve a workspace invite request.
319 * @see {@link https://api.slack.com/methods/admin.inviteRequests.approve `admin.inviteRequests.approve` API reference}.
320 */
321 approve: MethodWithRequiredArgument<AdminInviteRequestsApproveArguments, AdminInviteRequestsApproveResponse>;
322 approved: {
323 /**
324 * @description List all approved workspace invite requests.
325 * @see {@link https://api.slack.com/methods/admin.inviteRequests.approved.list `admin.inviteRequests.approved.list` API reference}.
326 */
327 list: MethodWithRequiredArgument<AdminInviteRequestsApprovedListArguments, AdminInviteRequestsApprovedListResponse>;
328 };
329 denied: {
330 /**
331 * @description List all denied workspace invite requests.
332 * @see {@link https://api.slack.com/methods/admin.inviteRequests.denied.list `admin.inviteRequests.denied.list` API reference}.
333 */
334 list: MethodWithRequiredArgument<AdminInviteRequestsDeniedListArguments, AdminInviteRequestsDeniedListResponse>;
335 };
336 /**
337 * @description Deny a workspace invite request.
338 * @see {@link https://api.slack.com/methods/admin.inviteRequests.deny `admin.inviteRequests.deny` API reference}.
339 */
340 deny: MethodWithRequiredArgument<AdminInviteRequestsDenyArguments, AdminInviteRequestsDenyResponse>;
341 /**
342 * @description List all pending workspace invite requests.
343 * @see {@link https://api.slack.com/methods/admin.inviteRequests.list `admin.inviteRequests.list` API reference}.
344 */
345 list: MethodWithRequiredArgument<AdminInviteRequestsListArguments, AdminInviteRequestsListResponse>;
346 };
347 roles: {
348 /**
349 * @description Adds members to the specified role with the specified scopes.
350 * @see {@link https://api.slack.com/methods/admin.roles.addAssignments `admin.roles.addAssignments` API reference}.
351 */
352 addAssignments: MethodWithRequiredArgument<AdminRolesAddAssignmentsArguments, AdminRolesAddAssignmentsResponse>;
353 /**
354 * @description Lists assignments for all roles across entities.
355 * Options to scope results by any combination of roles or entities.
356 * @see {@link https://api.slack.com/methods/admin.roles.listAssignments `admin.roles.listAssignments` API reference}.
357 */
358 listAssignments: MethodWithOptionalArgument<AdminRolesListAssignmentsArguments, AdminRolesListAssignmentsResponse>;
359 /**
360 * @description Removes a set of users from a role for the given scopes and entities.
361 * @see {@link https://api.slack.com/methods/admin.roles.removeAssignments `admin.roles.removeAssignments` API reference}.
362 */
363 removeAssignments: MethodWithRequiredArgument<AdminRolesRemoveAssignmentsArguments, AdminRolesRemoveAssignmentsResponse>;
364 };
365 teams: {
366 admins: {
367 /**
368 * @description List all of the admins on a given workspace.
369 * @see {@link https://api.slack.com/methods/admin.teams.admins.list `admin.teams.admins.list` API reference}.
370 */
371 list: MethodWithRequiredArgument<AdminTeamsAdminsListArguments, AdminTeamsAdminsListResponse>;
372 };
373 /**
374 * @description Create an Enterprise team.
375 * @see {@link https://api.slack.com/methods/admin.teams.create `admin.teams.create` API reference}.
376 */
377 create: MethodWithRequiredArgument<AdminTeamsCreateArguments, AdminTeamsCreateResponse>;
378 /**
379 * @description List all teams on an Enterprise organization.
380 * @see {@link https://api.slack.com/methods/admin.teams.list `admin.teams.list` API reference}.
381 */
382 list: MethodWithOptionalArgument<AdminTeamsListArguments, AdminTeamsListResponse>;
383 owners: {
384 /**
385 * @description List all of the owners on a given workspace.
386 * @see {@link https://api.slack.com/methods/admin.teams.owners.list `admin.teams.owners.list` API reference}.
387 */
388 list: MethodWithRequiredArgument<AdminTeamsOwnersListArguments, AdminTeamsOwnersListResponse>;
389 };
390 settings: {
391 /**
392 * @description Fetch information about settings in a workspace.
393 * @see {@link https://api.slack.com/methods/admin.teams.owners.list `admin.teams.owners.list` API reference}.
394 */
395 info: MethodWithRequiredArgument<AdminTeamsSettingsInfoArguments, AdminTeamsSettingsInfoResponse>;
396 /**
397 * @description Set the default channels of a workspace.
398 * @see {@link https://api.slack.com/methods/admin.teams.settings.setDefaultChannels `admin.teams.settings.setDefaultChannels` API reference}.
399 */
400 setDefaultChannels: MethodWithRequiredArgument<AdminTeamsSettingsSetDefaultChannelsArguments, AdminTeamsSettingsSetDefaultChannelsResponse>;
401 /**
402 * @description Set the description of a given workspace.
403 * @see {@link https://api.slack.com/methods/admin.teams.settings.setDescription `admin.teams.settings.setDescription` API reference}.
404 */
405 setDescription: MethodWithRequiredArgument<AdminTeamsSettingsSetDescriptionArguments, AdminTeamsSettingsSetDescriptionResponse>;
406 /**
407 * @description Set the discoverability of a given workspace.
408 * @see {@link https://api.slack.com/methods/admin.teams.settings.setDiscoverability `admin.teams.settings.setDiscoverability` API reference}.
409 */
410 setDiscoverability: MethodWithRequiredArgument<AdminTeamsSettingsSetDiscoverabilityArguments, AdminTeamsSettingsSetDiscoverabilityResponse>;
411 /**
412 * @description Sets the icon of a workspace.
413 * @see {@link https://api.slack.com/methods/admin.teams.settings.setIcon `admin.teams.settings.setIcon` API reference}.
414 */
415 setIcon: MethodWithRequiredArgument<AdminTeamsSettingsSetIconArguments, AdminTeamsSettingsSetIconResponse>;
416 /**
417 * @description Set the name of a given workspace.
418 * @see {@link https://api.slack.com/methods/admin.teams.settings.setName `admin.teams.settings.setName` API reference}.
419 */
420 setName: MethodWithRequiredArgument<AdminTeamsSettingsSetNameArguments, AdminTeamsSettingsSetNameResponse>;
421 };
422 };
423 usergroups: {
424 /**
425 * @description Add up to one hundred default channels to an IDP group.
426 * @see {@link https://api.slack.com/methods/admin.usergroups.addChannels `admin.teams.usergroups.addChannels` API reference}.
427 */
428 addChannels: MethodWithRequiredArgument<AdminUsergroupsAddChannelsArguments, AdminUsergroupsAddChannelsResponse>;
429 /**
430 * @description Associate one or more default workspaces with an organization-wide IDP group.
431 * @see {@link https://api.slack.com/methods/admin.usergroups.addTeams `admin.teams.usergroups.addTeams` API reference}.
432 */
433 addTeams: MethodWithRequiredArgument<AdminUsergroupsAddTeamsArguments, AdminUsergroupsAddTeamsResponse>;
434 /**
435 * @description List the channels linked to an org-level IDP group (user group).
436 * @see {@link https://api.slack.com/methods/admin.usergroups.listChannels `admin.teams.usergroups.listChannels` API reference}.
437 */
438 listChannels: MethodWithRequiredArgument<AdminUsergroupsListChannelsArguments, AdminUsergroupsListChannelsResponse>;
439 /**
440 * @description Remove one or more default channels from an org-level IDP group (user group).
441 * @see {@link https://api.slack.com/methods/admin.usergroups.removeChannels `admin.teams.usergroups.removeChannels` API reference}.
442 */
443 removeChannels: MethodWithRequiredArgument<AdminUsergroupsRemoveChannelsArguments, AdminUsergroupsRemoveChannelsResponse>;
444 };
445 users: {
446 /**
447 * @description Add an Enterprise user to a workspace.
448 * @see {@link https://api.slack.com/methods/admin.users.assign `admin.users.assign` API reference}.
449 */
450 assign: MethodWithRequiredArgument<AdminUsersAssignArguments, AdminUsersAssignResponse>;
451 /**
452 * @description Invite a user to a workspace.
453 * @see {@link https://api.slack.com/methods/admin.users.invite `admin.users.invite` API reference}.
454 */
455 invite: MethodWithRequiredArgument<AdminUsersInviteArguments, AdminUsersInviteResponse>;
456 /**
457 * @description List users on a workspace.
458 * @see {@link https://api.slack.com/methods/admin.users.list `admin.users.list` API reference}.
459 */
460 list: MethodWithOptionalArgument<AdminUsersListArguments, AdminUsersListResponse>;
461 /**
462 * @description Remove a user from a workspace.
463 * @see {@link https://api.slack.com/methods/admin.users.remove `admin.users.remove` API reference}.
464 */
465 remove: MethodWithRequiredArgument<AdminUsersRemoveArguments, AdminUsersRemoveResponse>;
466 session: {
467 /**
468 * @description Clear user-specific session settings—the session duration and what happens when the client
469 * closes—for a list of users.
470 * @see {@link https://api.slack.com/methods/admin.users.session.clearSettings `admin.users.session.clearSettings` API reference}.
471 */
472 clearSettings: MethodWithRequiredArgument<AdminUsersSessionClearSettingsArguments, AdminUsersSessionClearSettingsResponse>;
473 /**
474 * @description Get user-specific session settings—the session duration and what happens when the client
475 * closes—given a list of users.
476 * @see {@link https://api.slack.com/methods/admin.users.session.getSettings `admin.users.session.getSettings` API reference}.
477 */
478 getSettings: MethodWithRequiredArgument<AdminUsersSessionGetSettingsArguments, AdminUsersSessionGetSettingsResponse>;
479 /**
480 * @description Revoke a single session for a user. The user will be forced to login to Slack.
481 * @see {@link https://api.slack.com/methods/admin.users.session.invalidate `admin.users.session.invalidate` API reference}.
482 */
483 invalidate: MethodWithRequiredArgument<AdminUsersSessionInvalidateArguments, AdminUsersSessionInvalidateResponse>;
484 /**
485 * @description List active user sessions for an organization.
486 * @see {@link https://api.slack.com/methods/admin.users.session.list `admin.users.session.list` API reference}.
487 */
488 list: MethodWithOptionalArgument<AdminUsersSessionListArguments, AdminUsersSessionListResponse>;
489 /**
490 * @description Wipes all valid sessions on all devices for a given user.
491 * @see {@link https://api.slack.com/methods/admin.users.session.reset `admin.users.session.reset` API reference}.
492 */
493 reset: MethodWithRequiredArgument<AdminUsersSessionResetArguments, AdminUsersSessionResetResponse>;
494 /**
495 * @description Enqueues an asynchronous job to wipe all valid sessions on all devices for a given user list.
496 * @see {@link https://api.slack.com/methods/admin.users.session.resetBulk `admin.users.session.resetBulk` API reference}.
497 */
498 resetBulk: MethodWithRequiredArgument<AdminUsersSessionResetBulkArguments, AdminUsersSessionResetBulkResponse>;
499 /**
500 * @description Configure the user-level session settings—the session duration and what happens when the client
501 * closes—for one or more users.
502 * @see {@link https://api.slack.com/methods/admin.users.session.setSettings `admin.users.session.setSettings` API reference}.
503 */
504 setSettings: MethodWithRequiredArgument<AdminUsersSessionSetSettingsArguments, AdminUsersSessionSetSettingsResponse>;
505 };
506 /**
507 * @description Set an existing guest, regular user, or owner to be an admin user.
508 * @see {@link https://api.slack.com/methods/admin.users.setAdmin `admin.users.setAdmin` API reference}.
509 */
510 setAdmin: MethodWithRequiredArgument<AdminUsersSetAdminArguments, AdminUsersSetAdminResponse>;
511 /**
512 * @description Set an expiration for a guest user.
513 * @see {@link https://api.slack.com/methods/admin.users.setExpiration `admin.users.setExpiration` API reference}.
514 */
515 setExpiration: MethodWithRequiredArgument<AdminUsersSetExpirationArguments, AdminUsersSetExpirationResponse>;
516 /**
517 * @description Set an existing guest, regular user, or admin user to be a workspace owner.
518 * @see {@link https://api.slack.com/methods/admin.users.setOwner `admin.users.setOwner` API reference}.
519 */
520 setOwner: MethodWithRequiredArgument<AdminUsersSetOwnerArguments, AdminUsersSetOwnerResponse>;
521 /**
522 * @description Set an existing guest user, admin user, or owner to be a regular user.
523 * @see {@link https://api.slack.com/methods/admin.users.setRegular `admin.users.setRegular` API reference}.
524 */
525 setRegular: MethodWithRequiredArgument<AdminUsersSetRegularArguments, AdminUsersSetRegularResponse>;
526 unsupportedVersions: {
527 /**
528 * @description Ask Slackbot to send you an export listing all workspace members using unsupported software,
529 * presented as a zipped CSV file.
530 * @see {@link https://api.slack.com/methods/admin.users.unsupportedVersions.export `admin.users.unsupportedVersions.export` API reference}.
531 */
532 export: MethodWithRequiredArgument<AdminUsersUnsupportedVersionsExportArguments, AdminUsersUnsupportedVersionsExportResponse>;
533 };
534 };
535 workflows: {
536 collaborators: {
537 /**
538 * @description Add collaborators to workflows within the team or enterprise.
539 * @see {@link https://api.slack.com/methods/admin.workflows.collaborators.add `admin.workflows.collaborators.add` API reference}.
540 */
541 add: MethodWithRequiredArgument<AdminWorkflowsCollaboratorsAddArguments, AdminWorkflowsCollaboratorsAddResponse>;
542 /**
543 * @description Remove collaborators from workflows within the team or enterprise.
544 * @see {@link https://api.slack.com/methods/admin.workflows.collaborators.remove `admin.workflows.collaborators.remove` API reference}.
545 */
546 remove: MethodWithRequiredArgument<AdminWorkflowsCollaboratorsRemoveArguments, AdminWorkflowsCollaboratorsRemoveResponse>;
547 };
548 permissions: {
549 /**
550 * @description Look up the permissions for a set of workflows.
551 * @see {@link https://api.slack.com/methods/admin.workflows.permissions.lookup `admin.workflows.permissions.lookup` API reference}.
552 */
553 lookup: MethodWithRequiredArgument<AdminWorkflowsPermissionsLookupArguments, AdminWorkflowsPermissionsLookupResponse>;
554 };
555 /**
556 * @description Search workflows within the team or enterprise.
557 * @see {@link https://api.slack.com/methods/admin.workflows.search `admin.workflows.search` API reference}.
558 */
559 search: MethodWithOptionalArgument<AdminWorkflowsSearchArguments, AdminWorkflowsSearchResponse>;
560 /**
561 * @description Unpublish workflows within the team or enterprise.
562 * @see {@link https://api.slack.com/methods/admin.workflows.unpublish `admin.workflows.unpublish` API reference}.
563 */
564 unpublish: MethodWithRequiredArgument<AdminWorkflowsUnpublishArguments, AdminWorkflowsUnpublishResponse>;
565 };
566 };
567 readonly api: {
568 /**
569 * @description Checks API calling code.
570 * @see {@link https://api.slack.com/methods/api.test `api.test` API reference}.
571 */
572 test: MethodWithOptionalArgument<APITestArguments, ApiTestResponse>;
573 };
574 readonly assistant: {
575 threads: {
576 /**
577 * @description Set loading status to indicate that the app is building a response.
578 * @see {@link https://api.slack.com/methods/assistant.threads.setStatus `assistant.threads.setStatus` API reference}.
579 */
580 setStatus: MethodWithRequiredArgument<AssistantThreadsSetStatusArguments, AssistantThreadsSetStatusResponse>;
581 /**
582 * @description Set suggested prompts for the user. Can suggest up to four prompts.
583 * @see {@link https://api.slack.com/methods/assistant.threads.setSuggestedPrompts `assistant.threads.setSuggestedPrompts` API reference}.
584 */
585 setSuggestedPrompts: MethodWithRequiredArgument<AssistantThreadsSetSuggestedPromptsArguments, AssistantThreadsSetSuggestedPromptsResponse>;
586 /**
587 * @description Set the title of the thread. This is shown when a user views the app's chat history.
588 * @see {@link https://api.slack.com/methods/assistant.threads.setTitle `assistant.threads.setTitle` API reference}.
589 */
590 setTitle: MethodWithRequiredArgument<AssistantThreadsSetTitleArguments, AssistantThreadsSetTitleResponse>;
591 };
592 };
593 readonly apps: {
594 connections: {
595 /**
596 * @description Generate a temporary Socket Mode WebSocket URL that your app can connect to in order to receive
597 * events and interactive payloads over.
598 * @see {@link https://api.slack.com/methods/apps.connections.open `apps.connections.open` API reference}.
599 */
600 open: MethodWithOptionalArgument<AppsConnectionsOpenArguments, AppsConnectionsOpenResponse>;
601 };
602 event: {
603 authorizations: {
604 /**
605 * @description Get a list of authorizations for the given event context.
606 * Each authorization represents an app installation that the event is visible to.
607 * @see {@link https://api.slack.com/methods/apps.event.authorizations.list `apps.event.authorizations.list` API reference}.
608 */
609 list: MethodWithRequiredArgument<AppsEventAuthorizationsListArguments, AppsEventAuthorizationsListResponse>;
610 };
611 };
612 manifest: {
613 /**
614 * @description Create an app from an app manifest.
615 * @see {@link https://api.slack.com/methods/apps.manifest.create `apps.manifest.create` API reference}.
616 */
617 create: MethodWithRequiredArgument<AppsManifestCreateArguments, AppsManifestCreateResponse>;
618 /**
619 * @description Permanently deletes an app created through app manifests.
620 * @see {@link https://api.slack.com/methods/apps.manifest.delete `apps.manifest.delete` API reference}.
621 */
622 delete: MethodWithRequiredArgument<AppsManifestDeleteArguments, AppsManifestDeleteResponse>;
623 /**
624 * @description Export an app manifest from an existing app.
625 * @see {@link https://api.slack.com/methods/apps.manifest.export `apps.manifest.export` API reference}.
626 */
627 export: MethodWithRequiredArgument<AppsManifestExportArguments, AppsManifestExportResponse>;
628 /**
629 * @description Update an app from an app manifest.
630 * @see {@link https://api.slack.com/methods/apps.manifest.update `apps.manifest.update` API reference}.
631 */
632 update: MethodWithRequiredArgument<AppsManifestUpdateArguments, AppsManifestUpdateResponse>;
633 /**
634 * @description Validate an app manifest.
635 * @see {@link https://api.slack.com/methods/apps.manifest.validate `apps.manifest.validate` API reference}.
636 */
637 validate: MethodWithRequiredArgument<AppsManifestValidateArguments, AppsManifestValidateResponse>;
638 };
639 /**
640 * @description Uninstalls your app from a workspace.
641 * @see {@link https://api.slack.com/methods/apps.uninstall `apps.uninstall` API reference}.
642 */
643 uninstall: MethodWithRequiredArgument<AppsUninstallArguments, AppsUninstallResponse>;
644 };
645 readonly auth: {
646 /**
647 * @description Revokes a token.
648 * @see {@link https://api.slack.com/methods/auth.revoke `auth.revoke` API reference}.
649 */
650 revoke: MethodWithOptionalArgument<AuthRevokeArguments, AuthRevokeResponse>;
651 teams: {
652 /**
653 * @description Obtain a full list of workspaces your org-wide app has been approved for.
654 * @see {@link https://api.slack.com/methods/auth.teams.list `auth.teams.list` API reference}.
655 */
656 list: MethodWithOptionalArgument<AuthTeamsListArguments, AuthTeamsListResponse>;
657 };
658 test: MethodWithOptionalArgument<AuthTestArguments, AuthTestResponse>;
659 };
660 readonly bookmarks: {
661 /**
662 * @description Add bookmark to a channel.
663 * @see {@link https://api.slack.com/methods/bookmarks.add `bookmarks.add` API reference}.
664 */
665 add: MethodWithRequiredArgument<BookmarksAddArguments, BookmarksAddResponse>;
666 /**
667 * @description Edit bookmark.
668 * @see {@link https://api.slack.com/methods/bookmarks.edit `bookmarks.edit` API reference}.
669 */
670 edit: MethodWithRequiredArgument<BookmarksEditArguments, BookmarksEditResponse>;
671 /**
672 * @description List bookmarks for a channel.
673 * @see {@link https://api.slack.com/methods/bookmarks.list `bookmarks.list` API reference}.
674 */
675 list: MethodWithRequiredArgument<BookmarksListArguments, BookmarksListResponse>;
676 /**
677 * @description Remove bookmark from a channel.
678 * @see {@link https://api.slack.com/methods/bookmarks.remove `bookmarks.remove` API reference}.
679 */
680 remove: MethodWithRequiredArgument<BookmarksRemoveArguments, BookmarksRemoveResponse>;
681 };
682 readonly bots: {
683 /**
684 * @description Gets information about a bot user.
685 * @see {@link https://api.slack.com/methods/bots.info `bots.info` API reference}.
686 */
687 info: MethodWithOptionalArgument<BotsInfoArguments, BotsInfoResponse>;
688 };
689 readonly calls: {
690 /**
691 * @description Registers a new Call.
692 * @see {@link https://api.slack.com/methods/calls.add `calls.add` API reference}.
693 */
694 add: MethodWithRequiredArgument<CallsAddArguments, CallsAddResponse>;
695 /**
696 * @description Ends a Call.
697 * @see {@link https://api.slack.com/methods/calls.end `calls.end` API reference}.
698 */
699 end: MethodWithRequiredArgument<CallsEndArguments, CallsEndResponse>;
700 /**
701 * @description Returns information about a Call.
702 * @see {@link https://api.slack.com/methods/calls.info `calls.info` API reference}.
703 */
704 info: MethodWithRequiredArgument<CallsInfoArguments, CallsInfoResponse>;
705 /**
706 * @description Updates information about a Call.
707 * @see {@link https://api.slack.com/methods/calls.info `calls.info` API reference}.
708 */
709 update: MethodWithRequiredArgument<CallsUpdateArguments, CallsUpdateResponse>;
710 participants: {
711 /**
712 * @description Registers new participants added to a Call.
713 * @see {@link https://api.slack.com/methods/calls.participants.add `calls.participants.add` API reference}.
714 */
715 add: MethodWithRequiredArgument<CallsParticipantsAddArguments, CallsParticipantsAddResponse>;
716 remove: MethodWithRequiredArgument<CallsParticipantsRemoveArguments, CallsParticipantsRemoveResponse>;
717 };
718 };
719 readonly canvases: {
720 access: {
721 /**
722 * @description Remove access to a canvas for specified entities.
723 * @see {@link https://api.slack.com/methods/canvases.access.delete `canvases.access.delete` API reference}.
724 */
725 delete: MethodWithRequiredArgument<CanvasesAccessDeleteArguments, CanvasesAccessDeleteResponse>;
726 /**
727 * @description Sets the access level to a canvas for specified entities.
728 * @see {@link https://api.slack.com/methods/canvases.access.set `canvases.access.set` API reference}.
729 */
730 set: MethodWithRequiredArgument<CanvasesAccessSetArguments, CanvasesAccessSetResponse>;
731 };
732 /**
733 * @description Create Canvas for a user.
734 * @see {@link https://api.slack.com/methods/canvases.create `canvases.create` API reference}.
735 */
736 create: MethodWithOptionalArgument<CanvasesCreateArguments, CanvasesCreateResponse>;
737 /**
738 * @description Deletes a canvas.
739 * @see {@link https://api.slack.com/methods/canvases.delete `canvases.delete` API reference}.
740 */
741 delete: MethodWithRequiredArgument<CanvasesDeleteArguments, CanvasesDeleteResponse>;
742 /**
743 * @description Update an existing canvas.
744 * @see {@link https://api.slack.com/methods/canvases.edit `canvases.edit` API reference}.
745 */
746 edit: MethodWithRequiredArgument<CanvasesEditArguments, CanvasesEditResponse>;
747 sections: {
748 /**
749 * @description Find sections matching the provided criteria.
750 * @see {@link https://api.slack.com/methods/canvases.sections.lookup `canvases.sections.lookup` API reference}.
751 */
752 lookup: MethodWithRequiredArgument<CanvasesSectionsLookupArguments, CanvasesSectionsLookupResponse>;
753 };
754 };
755 readonly chat: {
756 /**
757 * @description Deletes a message.
758 * @see {@link https://api.slack.com/methods/chat.delete `chat.delete` API reference}.
759 */
760 delete: MethodWithRequiredArgument<ChatDeleteArguments, ChatDeleteResponse>;
761 /**
762 * @description Deletes a pending scheduled message from the queue.
763 * @see {@link https://api.slack.com/methods/chat.deleteScheduledMessage `chat.deleteScheduledMessage` API reference}.
764 */
765 deleteScheduledMessage: MethodWithRequiredArgument<ChatDeleteScheduledMessageArguments, ChatDeleteScheduledMessageResponse>;
766 /**
767 * @description Retrieve a permalink URL for a specific extant message.
768 * @see {@link https://api.slack.com/methods/chat.getPermalink `chat.getPermalink` API reference}.
769 */
770 getPermalink: MethodWithRequiredArgument<ChatGetPermalinkArguments, ChatGetPermalinkResponse>;
771 /**
772 * @description Share a me message into a channel.
773 * @see {@link https://api.slack.com/methods/chat.meMessage `chat.meMessage` API reference}.
774 */
775 meMessage: MethodWithRequiredArgument<ChatMeMessageArguments, ChatMeMessageResponse>;
776 /**
777 * @description Sends an ephemeral message to a user in a channel.
778 * @see {@link https://api.slack.com/methods/chat.postEphemeral `chat.postEphemeral` API reference}.
779 */
780 postEphemeral: MethodWithRequiredArgument<ChatPostEphemeralArguments, ChatPostEphemeralResponse>;
781 /**
782 * @description Sends a message to a channel.
783 * @see {@link https://api.slack.com/methods/chat.postMessage `chat.postMessage` API reference}.
784 */
785 postMessage: MethodWithRequiredArgument<ChatPostMessageArguments, ChatPostMessageResponse>;
786 /**
787 * @description Schedules a message to be sent to a channel.
788 * @see {@link https://api.slack.com/methods/chat.scheduleMessage `chat.scheduleMessage` API reference}.
789 */
790 scheduleMessage: MethodWithRequiredArgument<ChatScheduleMessageArguments, ChatScheduleMessageResponse>;
791 scheduledMessages: {
792 /**
793 * @description Returns a list of scheduled messages.
794 * @see {@link https://api.slack.com/methods/chat.scheduledMessages.list `chat.scheduledMessages.list` API reference}.
795 */
796 list: MethodWithOptionalArgument<ChatScheduledMessagesListArguments, ChatScheduledMessagesListResponse>;
797 };
798 /**
799 * @description Provide custom unfurl behavior for user-posted URLs.
800 * @see {@link https://api.slack.com/methods/chat.unfurl `chat.unfurl` API reference}.
801 */
802 unfurl: MethodWithRequiredArgument<ChatUnfurlArguments, ChatUnfurlResponse>;
803 /**
804 * @description Updates a message.
805 * @see {@link https://api.slack.com/methods/chat.update `chat.update` API reference}.
806 */
807 update: MethodWithRequiredArgument<ChatUpdateArguments, ChatUpdateResponse>;
808 };
809 readonly conversations: {
810 /**
811 * @description Accepts an invitation to a Slack Connect channel.
812 * @see {@link https://api.slack.com/methods/conversations.acceptSharedInvite `conversations.acceptSharedInvite` API reference}.
813 */
814 acceptSharedInvite: MethodWithRequiredArgument<ConversationsAcceptSharedInviteArguments, ConversationsAcceptSharedInviteResponse>;
815 /**
816 * @description Approves an invitation to a Slack Connect channel.
817 * @see {@link https://api.slack.com/methods/conversations.approveSharedInvite `conversations.approveSharedInvite` API reference}.
818 */
819 approveSharedInvite: MethodWithRequiredArgument<ConversationsApproveSharedInviteArguments, ConversationsApproveSharedInviteResponse>;
820 /**
821 * @description Archives a conversation.
822 * @see {@link https://api.slack.com/methods/conversations.archive `conversations.archive` API reference}.
823 */
824 archive: MethodWithRequiredArgument<ConversationsArchiveArguments, ConversationsArchiveResponse>;
825 canvases: {
826 /**
827 * @description Create a Channel Canvas for a channel.
828 * @see {@link https://api.slack.com/methods/conversations.canvases.create `conversations.canvases.create` API reference}.
829 */
830 create: MethodWithRequiredArgument<ConversationsCanvasesCreateArguments, ConversationsCanvasesCreateResponse>;
831 };
832 /**
833 * @description Closes a direct message or multi-person direct message.
834 * @see {@link https://api.slack.com/methods/conversations.close `conversations.close` API reference}.
835 */
836 close: MethodWithRequiredArgument<ConversationsCloseArguments, ConversationsCloseResponse>;
837 /**
838 * @description Initiates a public or private channel-based conversation.
839 * @see {@link https://api.slack.com/methods/conversations.create `conversations.create` API reference}.
840 */
841 create: MethodWithRequiredArgument<ConversationsCreateArguments, ConversationsCreateResponse>;
842 /**
843 * @description Declines an invitation to a Slack Connect channel.
844 * @see {@link https://api.slack.com/methods/conversations.declineSharedInvite `conversations.declineSharedInvite` API reference}.
845 */
846 declineSharedInvite: MethodWithRequiredArgument<ConversationsDeclineSharedInviteArguments, ConversationsDeclineSharedInviteResponse>;
847 externalInvitePermissions: {
848 /**
849 * @description Convert a team in a shared channel from an External Limited channel to a fully shared Slack
850 * Connect channel or vice versa.
851 * @see {@link https://api.slack.com/methods/conversations.externalInvitePermissions.set `conversations.externalInvitePermissions.set` API reference}.
852 */
853 set: MethodWithRequiredArgument<ConversationsExternalInvitePermissionsSetArguments, ConversationsExternalInvitePermissionsSetResponse>;
854 };
855 /**
856 * @description Fetches a conversation's history of messages and events.
857 * @see {@link https://api.slack.com/methods/conversations.history `conversations.history` API reference}.
858 */
859 history: MethodWithRequiredArgument<ConversationsHistoryArguments, ConversationsHistoryResponse>;
860 /**
861 * @description Retrieve information about a conversation.
862 * @see {@link https://api.slack.com/methods/conversations.info `conversations.info` API reference}.
863 */
864 info: MethodWithRequiredArgument<ConversationsInfoArguments, ConversationsInfoResponse>;
865 /**
866 * @description Invites users to a channel.
867 * @see {@link https://api.slack.com/methods/conversations.invite `conversations.invite` API reference}.
868 */
869 invite: MethodWithRequiredArgument<ConversationsInviteArguments, ConversationsInviteResponse>;
870 /**
871 * @description Sends an invitation to a Slack Connect channel.
872 * @see {@link https://api.slack.com/methods/conversations.inviteShared `conversations.inviteShared` API reference}.
873 */
874 inviteShared: MethodWithRequiredArgument<ConversationsInviteSharedArguments, ConversationsInviteSharedResponse>;
875 /**
876 * @description Joins an existing conversation.
877 * @see {@link https://api.slack.com/methods/conversations.join `conversations.join` API reference}.
878 */
879 join: MethodWithRequiredArgument<ConversationsJoinArguments, ConversationsJoinResponse>;
880 /**
881 * @description Removes a user from a conversation.
882 * @see {@link https://api.slack.com/methods/conversations.kick `conversations.kick` API reference}.
883 */
884 kick: MethodWithRequiredArgument<ConversationsKickArguments, ConversationsKickResponse>;
885 /**
886 * @description Leaves a conversation.
887 * @see {@link https://api.slack.com/methods/conversations.leave `conversations.leave` API reference}.
888 */
889 leave: MethodWithRequiredArgument<ConversationsLeaveArguments, ConversationsLeaveResponse>;
890 /**
891 * @description List all channels in a Slack team.
892 * @see {@link https://api.slack.com/methods/conversations.list `conversations.list` API reference}.
893 */
894 list: MethodWithOptionalArgument<ConversationsListArguments, ConversationsListResponse>;
895 /**
896 * @description Lists shared channel invites that have been generated or received but have not been approved by
897 * all parties.
898 * @see {@link https://api.slack.com/methods/conversations.listConnectInvites `conversations.listConnectInvites` API reference}.
899 */
900 listConnectInvites: MethodWithOptionalArgument<ConversationsListConnectInvitesArguments, ConversationsListConnectInvitesResponse>;
901 /**
902 * @description Sets the read cursor in a channel.
903 * @see {@link https://api.slack.com/methods/conversations.mark `conversations.mark` API reference}.
904 */
905 mark: MethodWithRequiredArgument<ConversationsMarkArguments, ConversationsMarkResponse>;
906 /**
907 * @description Retrieve members of a conversation.
908 * @see {@link https://api.slack.com/methods/conversations.members `conversations.members` API reference}.
909 */
910 members: MethodWithRequiredArgument<ConversationsMembersArguments, ConversationsMembersResponse>;
911 /**
912 * @description Opens or resumes a direct message or multi-person direct message.
913 * @see {@link https://api.slack.com/methods/conversations.open `conversations.open` API reference}.
914 */
915 open: MethodWithRequiredArgument<ConversationsOpenArguments, ConversationsOpenResponse>;
916 /**
917 * @description Renames a conversation.
918 * @see {@link https://api.slack.com/methods/conversations.rename `conversations.rename` API reference}.
919 */
920 rename: MethodWithRequiredArgument<ConversationsRenameArguments, ConversationsRenameResponse>;
921 /**
922 * @description Retrieve a thread of messages posted to a conversation.
923 * @see {@link https://api.slack.com/methods/conversations.replies `conversations.replies` API reference}.
924 */
925 replies: MethodWithRequiredArgument<ConversationsRepliesArguments, ConversationsRepliesResponse>;
926 requestSharedInvite: {
927 /**
928 * @description Approves a request to add an external user to a channel and sends them a Slack Connect invite.
929 * @see {@link https://api.slack.com/methods/conversations.requestSharedInvite.approve `conversations.requestSharedInvite.approve` API reference}.
930 */
931 approve: MethodWithRequiredArgument<ConversationsRequestSharedInviteApproveArguments, ConversationsRequestSharedInviteApproveResponse>;
932 /**
933 * @description Denies a request to invite an external user to a channel.
934 * @see {@link https://api.slack.com/methods/conversations.requestSharedInvite.deny `conversations.requestSharedInvite.deny` API reference}.
935 */
936 deny: MethodWithRequiredArgument<ConversationsRequestSharedInviteDenyArguments, ConversationsRequestSharedInviteDenyResponse>;
937 /**
938 * @description Lists requests to add external users to channels with ability to filter.
939 * @see {@link https://api.slack.com/methods/conversations.requestSharedInvite.list `conversations.requestSharedInvite.list` API reference}.
940 */
941 list: MethodWithOptionalArgument<ConversationsRequestSharedInviteListArguments, ConversationsRequestSharedInviteListResponse>;
942 };
943 /**
944 * @description Sets the purpose for a conversation.
945 * @see {@link https://api.slack.com/methods/conversations.setPurpose `conversations.setPurpose` API reference}.
946 */
947 setPurpose: MethodWithRequiredArgument<ConversationsSetPurposeArguments, ConversationsSetPurposeResponse>;
948 /**
949 * @description Sets the topic for a conversation.
950 * @see {@link https://api.slack.com/methods/conversations.setTopic `conversations.setTopic` API reference}.
951 */
952 setTopic: MethodWithRequiredArgument<ConversationsSetTopicArguments, ConversationsSetTopicResponse>;
953 /**
954 * @description Reverses conversation archival.
955 * @see {@link https://api.slack.com/methods/conversations.unarchive `conversations.unarchive` API reference}.
956 */
957 unarchive: MethodWithRequiredArgument<ConversationsUnarchiveArguments, ConversationsUnarchiveResponse>;
958 };
959 readonly dialog: {
960 /**
961 * @description Open a dialog with a user.
962 * @see {@link https://api.slack.com/methods/dialog.open `dialog.open` API reference}.
963 */
964 open: MethodWithRequiredArgument<DialogOpenArguments, DialogOpenResponse>;
965 };
966 readonly dnd: {
967 /**
968 * @description Ends the current user's Do Not Disturb session immediately.
969 * @see {@link https://api.slack.com/methods/dnd.endDnd `dnd.endDnd` API reference}.
970 */
971 endDnd: MethodWithOptionalArgument<DndEndDndArguments, DndEndDndResponse>;
972 /**
973 * @description Ends the current user's snooze mode immediately.
974 * @see {@link https://api.slack.com/methods/dnd.endSnooze `dnd.endSnooze` API reference}.
975 */
976 endSnooze: MethodWithOptionalArgument<DndEndSnoozeArguments, DndEndSnoozeResponse>;
977 /**
978 * @description Retrieves a user's current Do Not Disturb status.
979 * @see {@link https://api.slack.com/methods/dnd.info `dnd.info` API reference}.
980 */
981 info: MethodWithOptionalArgument<DndInfoArguments, DndInfoResponse>;
982 /**
983 * @description Turns on Do Not Disturb mode for the current user, or changes its duration.
984 * @see {@link https://api.slack.com/methods/dnd.setSnooze `dnd.setSnooze` API reference}.
985 */
986 setSnooze: MethodWithRequiredArgument<DndSetSnoozeArguments, DndSetSnoozeResponse>;
987 /**
988 * @description Retrieves the Do Not Disturb status for up to 50 users on a team.
989 * @see {@link https://api.slack.com/methods/dnd.teamInfo `dnd.teamInfo` API reference}.
990 */
991 teamInfo: MethodWithRequiredArgument<DndTeamInfoArguments, DndTeamInfoResponse>;
992 };
993 readonly emoji: {
994 /**
995 * @description Lists custom emoji for a team.
996 * @see {@link https://api.slack.com/methods/emoji.list `emoji.list` API reference}.
997 */
998 list: MethodWithOptionalArgument<EmojiListArguments, EmojiListResponse>;
999 };
1000 readonly files: {
1001 /**
1002 * @description Finishes an upload started with {@link https://api.slack.com/methods/files.getUploadURLExternal `files.getUploadURLExternal`}.
1003 * @see {@link https://api.slack.com/methods/files.completeUploadExternal `files.completeUploadExternal` API reference}.
1004 */
1005 completeUploadExternal: MethodWithRequiredArgument<FilesCompleteUploadExternalArguments, FilesCompleteUploadExternalResponse>;
1006 /**
1007 * @description Deletes a file.
1008 * @see {@link https://api.slack.com/methods/files.delete `files.delete` API reference}.
1009 */
1010 delete: MethodWithRequiredArgument<FilesDeleteArguments, FilesDeleteResponse>;
1011 /**
1012 * @description Gets a URL for an edge external file upload.
1013 * @see {@link https://api.slack.com/methods/files.getUploadURLExternal `files.getUploadURLExternal` API reference}.
1014 */
1015 getUploadURLExternal: MethodWithRequiredArgument<FilesGetUploadURLExternalArguments, FilesGetUploadURLExternalResponse>;
1016 /**
1017 * @description Gets information about a file.
1018 * @see {@link https://api.slack.com/methods/files.info `files.info` API reference}.
1019 */
1020 info: MethodWithRequiredArgument<FilesInfoArguments, FilesInfoResponse>;
1021 /**
1022 * @description List files for a team, in a channel, or from a user with applied filters.
1023 * @see {@link https://api.slack.com/methods/files.list `files.list` API reference}.
1024 */
1025 list: MethodWithRequiredArgument<FilesListArguments, FilesListResponse>;
1026 /**
1027 * @description Revokes public/external sharing access for a file.
1028 * @see {@link https://api.slack.com/methods/files.revokePublicURL `files.revokePublicURL` API reference}.
1029 */
1030 revokePublicURL: MethodWithRequiredArgument<FilesRevokePublicURLArguments, FilesRevokePublicURLResponse>;
1031 /**
1032 * @description Enables a file for public/external sharing.
1033 * @see {@link https://api.slack.com/methods/files.revokePublicURL `files.revokePublicURL` API reference}.
1034 */
1035 sharedPublicURL: MethodWithRequiredArgument<FilesSharedPublicURLArguments, FilesSharedPublicURLResponse>;
1036 /**
1037 * @description Uploads or creates a file.
1038 * @deprecated Use `uploadV2` instead. See {@link https://api.slack.com/changelog/2024-04-a-better-way-to-upload-files-is-here-to-stay our post on retiring `files.upload`}.
1039 * @see {@link https://api.slack.com/methods/files.upload `files.upload` API reference}.
1040 */
1041 upload: MethodWithRequiredArgument<FilesUploadArguments, FilesUploadResponse>;
1042 /**
1043 * @description Custom method to support a new way of uploading files to Slack.
1044 * Supports a single file upload
1045 * Supply:
1046 * - (required) single file or content
1047 * - (optional) channel, alt_text, snippet_type,
1048 * Supports multiple file uploads
1049 * Supply:
1050 * - multiple upload_files
1051 * Will try to honor both single file or content data supplied as well
1052 * as multiple file uploads property.
1053 * @see {@link https://slack.dev/node-slack-sdk/web-api#upload-a-file `@slack/web-api` Upload a file documentation}.
1054 */
1055 uploadV2: MethodWithRequiredArgument<FilesUploadV2Arguments, WebAPICallResult>;
1056 comments: {
1057 /**
1058 * @description Deletes an existing comment on a file.
1059 * @see {@link https://api.slack.com/methods/files.comments.delete `files.comments.delete` API reference}.
1060 */
1061 delete: MethodWithRequiredArgument<FilesCommentsDeleteArguments, FilesCommentsDeleteResponse>;
1062 };
1063 remote: {
1064 /**
1065 * @description Adds a file from a remote service.
1066 * @see {@link https://api.slack.com/methods/files.remote.add `files.remote.add` API reference}.
1067 */
1068 add: MethodWithRequiredArgument<FilesRemoteAddArguments, FilesRemoteAddResponse>;
1069 /**
1070 * @description Retrieve information about a remote file added to Slack.
1071 * @see {@link https://api.slack.com/methods/files.remote.info `files.remote.info` API reference}.
1072 */
1073 info: MethodWithRequiredArgument<FilesRemoteInfoArguments, FilesRemoteInfoResponse>;
1074 /**
1075 * @description List remote files added to Slack.
1076 * @see {@link https://api.slack.com/methods/files.remote.list `files.remote.list` API reference}.
1077 */
1078 list: MethodWithRequiredArgument<FilesRemoteListArguments, FilesRemoteListResponse>;
1079 /**
1080 * @description Remove a remote file.
1081 * @see {@link https://api.slack.com/methods/files.remote.remove `files.remote.remove` API reference}.
1082 */
1083 remove: MethodWithRequiredArgument<FilesRemoteRemoveArguments, FilesRemoteRemoveResponse>;
1084 /**
1085 * @description Share a remote file into a channel.
1086 * @see {@link https://api.slack.com/methods/files.remote.share `files.remote.share` API reference}.
1087 */
1088 share: MethodWithRequiredArgument<FilesRemoteShareArguments, FilesRemoteShareResponse>;
1089 /**
1090 * @description Updates an existing remote file.
1091 * @see {@link https://api.slack.com/methods/files.remote.update `files.remote.update` API reference}.
1092 */
1093 update: MethodWithRequiredArgument<FilesRemoteUpdateArguments, FilesRemoteUpdateResponse>;
1094 };
1095 };
1096 readonly functions: {
1097 /**
1098 * @description Signal the failure to execute a Custom Function.
1099 * @see {@link https://api.slack.com/methods/functions.completeError `functions.completeError` API reference}.
1100 */
1101 completeError: MethodWithRequiredArgument<FunctionsCompleteErrorArguments, FunctionsCompleteErrorResponse>;
1102 /**
1103 * @description Signal the successful completion of a Custom Function.
1104 * @see {@link https://api.slack.com/methods/functions.completeSuccess `functions.completeSuccess` API reference}.
1105 */
1106 completeSuccess: MethodWithRequiredArgument<FunctionsCompleteSuccessArguments, FunctionsCompleteSuccessResponse>;
1107 };
1108 readonly migration: {
1109 /**
1110 * @description For Enterprise Grid workspaces, map local user IDs to global user IDs.
1111 * @see {@link https://api.slack.com/methods/migration.exchange `migration.exchange` API reference}.
1112 */
1113 exchange: MethodWithRequiredArgument<MigrationExchangeArguments, MigrationExchangeResponse>;
1114 };
1115 readonly oauth: {
1116 /**
1117 * @description Exchanges a temporary OAuth verifier code for an access token.
1118 * @deprecated This is a legacy method only used by classic Slack apps. Use `oauth.v2.access` for new Slack apps.
1119 * @see {@link https://api.slack.com/methods/oauth.access `oauth.access` API reference}.
1120 */
1121 access: MethodWithRequiredArgument<OAuthAccessArguments, OauthAccessResponse>;
1122 v2: {
1123 /**
1124 * @description Exchanges a temporary OAuth verifier code for an access token.
1125 * @see {@link https://api.slack.com/methods/oauth.v2.access `oauth.v2.access` API reference}.
1126 */
1127 access: MethodWithRequiredArgument<OAuthV2AccessArguments, OauthV2AccessResponse>;
1128 /**
1129 * @description Exchanges a legacy access token for a new expiring access token and refresh token.
1130 * @see {@link https://api.slack.com/methods/oauth.v2.exchange `oauth.v2.exchange` API reference}.
1131 */
1132 exchange: MethodWithRequiredArgument<OAuthV2ExchangeArguments, OauthV2ExchangeResponse>;
1133 };
1134 };
1135 readonly openid: {
1136 connect: {
1137 /**
1138 * @description Exchanges a temporary OAuth verifier code for an access token for {@link https://api.slack.com/authentication/sign-in-with-slack Sign in with Slack}.
1139 * @see {@link https://api.slack.com/methods/openid.connect.token `openid.connect.token` API reference}.
1140 */
1141 token: MethodWithRequiredArgument<OpenIDConnectTokenArguments, OpenIDConnectTokenResponse>;
1142 /**
1143 * @description Get the identity of a user who has authorized {@link https://api.slack.com/authentication/sign-in-with-slack Sign in with Slack}.
1144 * @see {@link https://api.slack.com/methods/openid.connect.userInfo `openid.connect.userInfo` API reference}.
1145 */
1146 userInfo: MethodWithOptionalArgument<OpenIDConnectUserInfoArguments, OpenIDConnectUserInfoResponse>;
1147 };
1148 };
1149 readonly pins: {
1150 /**
1151 * @description Pins an item to a channel.
1152 * @see {@link https://api.slack.com/methods/pins.add `pins.add` API reference}.
1153 */
1154 add: MethodWithRequiredArgument<PinsAddArguments, PinsAddResponse>;
1155 /**
1156 * @description Lists items pinned to a channel.
1157 * @see {@link https://api.slack.com/methods/pins.list `pins.list` API reference}.
1158 */
1159 list: MethodWithRequiredArgument<PinsListArguments, PinsListResponse>;
1160 /**
1161 * @description Un-pins an item from a channel.
1162 * @see {@link https://api.slack.com/methods/pins.remove `pins.remove` API reference}.
1163 */
1164 remove: MethodWithRequiredArgument<PinsRemoveArguments, PinsRemoveResponse>;
1165 };
1166 readonly reactions: {
1167 /**
1168 * @description Adds a reaction to an item.
1169 * @see {@link https://api.slack.com/methods/reactions.add `reactions.add` API reference}.
1170 */
1171 add: MethodWithRequiredArgument<ReactionsAddArguments, ReactionsAddResponse>;
1172 /**
1173 * @description Gets reactions for an item.
1174 * @see {@link https://api.slack.com/methods/reactions.get `reactions.get` API reference}.
1175 */
1176 get: MethodWithRequiredArgument<ReactionsGetArguments, ReactionsGetResponse>;
1177 /**
1178 * @description List reactions made by a user.
1179 * @see {@link https://api.slack.com/methods/reactions.list `reactions.list` API reference}.
1180 */
1181 list: MethodWithOptionalArgument<ReactionsListArguments, ReactionsListResponse>;
1182 /**
1183 * @description Removes a reaction from an item.
1184 * @see {@link https://api.slack.com/methods/reactions.remove `reactions.remove` API reference}.
1185 */
1186 remove: MethodWithRequiredArgument<ReactionsRemoveArguments, ReactionsRemoveResponse>;
1187 };
1188 readonly reminders: {
1189 /**
1190 * @description Creates a reminder.
1191 * @see {@link https://api.slack.com/methods/reminders.add `reminders.add` API reference}.
1192 */
1193 add: MethodWithRequiredArgument<RemindersAddArguments, RemindersAddResponse>;
1194 /**
1195 * @description Marks a reminder as complete.
1196 * @see {@link https://api.slack.com/methods/reminders.complete `reminders.complete` API reference}.
1197 */
1198 complete: MethodWithRequiredArgument<RemindersCompleteArguments, RemindersCompleteResponse>;
1199 /**
1200 * @description Deletes a reminder.
1201 * @see {@link https://api.slack.com/methods/reminders.delete `reminders.delete` API reference}.
1202 */
1203 delete: MethodWithRequiredArgument<RemindersDeleteArguments, RemindersDeleteResponse>;
1204 /**
1205 * @description Gets information about a reminder.
1206 * @see {@link https://api.slack.com/methods/reminders.info `reminders.info` API reference}.
1207 */
1208 info: MethodWithRequiredArgument<RemindersInfoArguments, RemindersInfoResponse>;
1209 /**
1210 * @description Lists all reminders created by or for a given user.
1211 * @see {@link https://api.slack.com/methods/reminders.list `reminders.list` API reference}.
1212 */
1213 list: MethodWithOptionalArgument<RemindersListArguments, RemindersListResponse>;
1214 };
1215 readonly rtm: {
1216 /**
1217 * @description Starts a Real Time Messaging session.
1218 * @see {@link https://api.slack.com/methods/rtm.connect `rtm.connect` API reference}.
1219 */
1220 connect: MethodWithOptionalArgument<RTMConnectArguments, RtmConnectResponse>;
1221 /**
1222 * @description Starts a Real Time Messaging session.
1223 * @deprecated Use `rtm.connect` instead. See {@link https://api.slack.com/changelog/2021-10-rtm-start-to-stop our post on retiring `rtm.start`}.
1224 * @see {@link https://api.slack.com/methods/rtm.start `rtm.start` API reference}.
1225 */
1226 start: MethodWithOptionalArgument<RTMStartArguments, RtmStartResponse>;
1227 };
1228 readonly search: {
1229 /**
1230 * @description Searches for messages and files matching a query.
1231 * @see {@link https://api.slack.com/methods/search.all search.all` API reference}.
1232 */
1233 all: MethodWithRequiredArgument<SearchAllArguments, SearchAllResponse>;
1234 /**
1235 * @description Searches for files matching a query.
1236 * @see {@link https://api.slack.com/methods/search.files search.files` API reference}.
1237 */
1238 files: MethodWithRequiredArgument<SearchFilesArguments, SearchFilesResponse>;
1239 /**
1240 * @description Searches for messages matching a query.
1241 * @see {@link https://api.slack.com/methods/search.messages search.messages` API reference}.
1242 */
1243 messages: MethodWithRequiredArgument<SearchMessagesArguments, SearchMessagesResponse>;
1244 };
1245 readonly team: {
1246 /**
1247 * @description Gets the access logs for the current team.
1248 * @see {@link https://api.slack.com/methods/team.accessLogs `team.accessLogs` API reference}.
1249 */
1250 accessLogs: MethodWithOptionalArgument<TeamAccessLogsArguments, TeamAccessLogsResponse>;
1251 /**
1252 * @description Gets billable users information for the current team.
1253 * @see {@link https://api.slack.com/methods/team.billableInfo `team.billableInfo` API reference}.
1254 */
1255 billableInfo: MethodWithOptionalArgument<TeamBillableInfoArguments, TeamBillableInfoResponse>;
1256 billing: {
1257 /**
1258 * @description Reads a workspace's billing plan information.
1259 * @see {@link https://api.slack.com/methods/team.billing.info `team.billing.info` API reference}.
1260 */
1261 info: MethodWithRequiredArgument<TeamBillingInfoArguments, TeamBillingInfoResponse>;
1262 };
1263 externalTeams: {
1264 /**
1265 * @description Disconnect an external organization.
1266 * @see {@link https://api.slack.com/methods/team.externalTeams.disconnect `team.externalTeams.disconnect` API reference}.
1267 */
1268 disconnect: MethodWithRequiredArgument<TeamExternalTeamsDisconnectArguments, TeamExternalTeamsDisconnectResponse>;
1269 /**
1270 * @description Returns a list of all the external teams connected and details about the connection.
1271 * @see {@link https://api.slack.com/methods/team.externalTeams.list `team.externalTeams.list` API reference}.
1272 */
1273 list: MethodWithRequiredArgument<TeamExternalTeamsListArguments, TeamExternalTeamsListResponse>;
1274 };
1275 /**
1276 * @description Gets information about the current team.
1277 * @see {@link https://api.slack.com/methods/team.info `team.info` API reference}.
1278 */
1279 info: MethodWithOptionalArgument<TeamInfoArguments, TeamInfoResponse>;
1280 /**
1281 * @description Gets the integration logs for the current team.
1282 * @see {@link https://api.slack.com/methods/team.integrationLogs `team.integrationLogs` API reference}.
1283 */
1284 integrationLogs: MethodWithOptionalArgument<TeamIntegrationLogsArguments, TeamIntegrationLogsResponse>;
1285 preferences: {
1286 /**
1287 * @description Retrieve a list of a workspace's team preferences.
1288 * @see {@link https://api.slack.com/methods/team.preferences.list `team.preferences.list` API reference}.
1289 */
1290 list: MethodWithOptionalArgument<TeamPreferencesListArguments, TeamPreferencesListResponse>;
1291 };
1292 profile: {
1293 /**
1294 * @description Retrieve a team's profile.
1295 * @see {@link https://api.slack.com/methods/team.profile.get `team.profile.get` API reference}.
1296 */
1297 get: MethodWithOptionalArgument<TeamProfileGetArguments, TeamProfileGetResponse>;
1298 };
1299 };
1300 readonly tooling: {
1301 tokens: {
1302 /**
1303 * @description Exchanges a refresh token for a new app configuration token.
1304 * @see {@link https://api.slack.com/methods/tooling.tokens.rotate `tooling.tokens.rotate` API reference}.
1305 */
1306 rotate: MethodWithRequiredArgument<ToolingTokensRotateArguments, ToolingTokensRotateResponse>;
1307 };
1308 };
1309 readonly usergroups: {
1310 /**
1311 * @description Create a User Group.
1312 * @see {@link https://api.slack.com/methods/usergroups.create `usergroups.create` API reference}.
1313 */
1314 create: MethodWithRequiredArgument<UsergroupsCreateArguments, UsergroupsCreateResponse>;
1315 /**
1316 * @description Disable an existing User Group.
1317 * @see {@link https://api.slack.com/methods/usergroups.disable `usergroups.disable` API reference}.
1318 */
1319 disable: MethodWithRequiredArgument<UsergroupsDisableArguments, UsergroupsDisableResponse>;
1320 /**
1321 * @description Enable an existing User Group.
1322 * @see {@link https://api.slack.com/methods/usergroups.enable `usergroups.enable` API reference}.
1323 */
1324 enable: MethodWithRequiredArgument<UsergroupsEnableArguments, UsergroupsEnableResponse>;
1325 /**
1326 * @description List all User Groups for a team.
1327 * @see {@link https://api.slack.com/methods/usergroups.list `usergroups.list` API reference}.
1328 */
1329 list: MethodWithOptionalArgument<UsergroupsListArguments, UsergroupsListResponse>;
1330 /**
1331 * @description Update an existing User Group.
1332 * @see {@link https://api.slack.com/methods/usergroups.update `usergroups.update` API reference}.
1333 */
1334 update: MethodWithRequiredArgument<UsergroupsUpdateArguments, UsergroupsUpdateResponse>;
1335 users: {
1336 /**
1337 * @description List all users in a User Group.
1338 * @see {@link https://api.slack.com/methods/usergroups.users.list `usergroups.users.list` API reference}.
1339 */
1340 list: MethodWithRequiredArgument<UsergroupsUsersListArguments, UsergroupsUsersListResponse>;
1341 /**
1342 * @description Update the list of users in a User Group.
1343 * @see {@link https://api.slack.com/methods/usergroups.users.update `usergroups.users.update` API reference}.
1344 */
1345 update: MethodWithRequiredArgument<UsergroupsUsersUpdateArguments, UsergroupsUsersUpdateResponse>;
1346 };
1347 };
1348 readonly users: {
1349 /**
1350 * @description List conversations the calling user may access.
1351 * @see {@link https://api.slack.com/methods/users.conversations `users.conversations` API reference}.
1352 */
1353 conversations: MethodWithRequiredArgument<UsersConversationsArguments, UsersConversationsResponse>;
1354 /**
1355 * @description Delete the user profile photo.
1356 * @see {@link https://api.slack.com/methods/users.deletePhoto `users.deletePhoto` API reference}.
1357 */
1358 deletePhoto: MethodWithRequiredArgument<UsersDeletePhotoArguments, UsersDeletePhotoResponse>;
1359 discoverableContacts: {
1360 /**
1361 * @description Lookup an email address to see if someone is on Slack.
1362 * @see {@link https://api.slack.com/methods/users.discoverableContacts.lookup `users.discoverableContacts.lookup` API reference}.
1363 */
1364 lookup: MethodWithRequiredArgument<UsersDiscoverableContactsLookupArguments, UsersDiscoverableContactsLookupResponse>;
1365 };
1366 /**
1367 * @description Gets user presence information.
1368 * @see {@link https://api.slack.com/methods/users.getPresence `users.getPresence` API reference}.
1369 */
1370 getPresence: MethodWithRequiredArgument<UsersGetPresenceArguments, UsersGetPresenceResponse>;
1371 /**
1372 * @description Get a user's identity.
1373 * @see {@link https://api.slack.com/methods/users.identity `users.identity` API reference}.
1374 */
1375 identity: MethodWithRequiredArgument<UsersIdentityArguments, UsersIdentityResponse>;
1376 /**
1377 * @description Gets information about a user.
1378 * @see {@link https://api.slack.com/methods/users.info `users.info` API reference}.
1379 */
1380 info: MethodWithRequiredArgument<UsersInfoArguments, UsersInfoResponse>;
1381 /**
1382 * @description Lists all users in a Slack team.
1383 * @see {@link https://api.slack.com/methods/users.list `users.list` API reference}.
1384 */
1385 list: MethodWithRequiredArgument<UsersListArguments, UsersListResponse>;
1386 /**
1387 * @description Find a user with an email address.
1388 * @see {@link https://api.slack.com/methods/users.lookupByEmail `users.lookupByEmail` API reference}.
1389 */
1390 lookupByEmail: MethodWithRequiredArgument<UsersLookupByEmailArguments, UsersLookupByEmailResponse>;
1391 /**
1392 * @description Set the user profile photo.
1393 * @see {@link https://api.slack.com/methods/users.setPhoto `users.setPhoto` API reference}.
1394 */
1395 setPhoto: MethodWithRequiredArgument<UsersSetPhotoArguments, UsersSetPhotoResponse>;
1396 /**
1397 * @description Manually sets user presence.
1398 * @see {@link https://api.slack.com/methods/users.setPresence `users.setPresence` API reference}.
1399 */
1400 setPresence: MethodWithRequiredArgument<UsersSetPresenceArguments, UsersSetPresenceResponse>;
1401 profile: {
1402 /**
1403 * @description Retrieve a user's profile information, including their custom status.
1404 * @see {@link https://api.slack.com/methods/users.profile.get `users.profile.get` API reference}.
1405 */
1406 get: MethodWithRequiredArgument<UsersProfileGetArguments, UsersProfileGetResponse>;
1407 /**
1408 * @description Set a user's profile information, including custom status.
1409 * @see {@link https://api.slack.com/methods/users.profile.set `users.profile.set` API reference}.
1410 */
1411 set: MethodWithRequiredArgument<UsersProfileSetArguments, UsersProfileSetResponse>;
1412 };
1413 };
1414 readonly views: {
1415 /**
1416 * @description Open a view for a user.
1417 * @see {@link https://api.slack.com/methods/views.open `views.open` API reference}.
1418 */
1419 open: MethodWithRequiredArgument<ViewsOpenArguments, ViewsOpenResponse>;
1420 /**
1421 * @description Publish a static view for a user.
1422 * @see {@link https://api.slack.com/methods/views.publish `views.publish` API reference}.
1423 */
1424 publish: MethodWithRequiredArgument<ViewsPublishArguments, ViewsPublishResponse>;
1425 /**
1426 * @description Push a view onto the stack of a root view.
1427 * @see {@link https://api.slack.com/methods/views.push `views.push` API reference}.
1428 */
1429 push: MethodWithRequiredArgument<ViewsPushArguments, ViewsPushResponse>;
1430 /**
1431 * @description Update an existing view.
1432 * @see {@link https://api.slack.com/methods/views.update `views.update` API reference}.
1433 */
1434 update: MethodWithRequiredArgument<ViewsUpdateArguments, ViewsUpdateResponse>;
1435 };
1436 readonly stars: {
1437 /**
1438 * @description Save an item for later. Formerly known as adding a star.
1439 * @deprecated Stars can still be added but they can no longer be viewed or interacted with by end-users.
1440 * See {@link https://api.slack.com/changelog/2023-07-its-later-already-for-stars-and-reminders our post on stars and the Later list}.
1441 * @see {@link https://api.slack.com/methods/stars.add `stars.add` API reference}.
1442 */
1443 add: MethodWithRequiredArgument<StarsAddRemoveArguments, StarsAddResponse>;
1444 /**
1445 * @description List a user's saved items, formerly known as stars.
1446 * @deprecated Stars can still be listed but they can no longer be viewed or interacted with by end-users.
1447 * See {@link https://api.slack.com/changelog/2023-07-its-later-already-for-stars-and-reminders our post on stars and the Later list}.
1448 * @see {@link https://api.slack.com/methods/stars.list `stars.list` API reference}.
1449 */
1450 list: MethodWithRequiredArgument<StarsListArguments, StarsListResponse>;
1451 /**
1452 * @description Remove a saved item from a user's saved items, formerly known as stars.
1453 * @deprecated Stars can still be removed but they can no longer be viewed or interacted with by end-users.
1454 * See {@link https://api.slack.com/changelog/2023-07-its-later-already-for-stars-and-reminders our post on stars and the Later list}.
1455 * @see {@link https://api.slack.com/methods/stars.remove `stars.remove` API reference}.
1456 */
1457 remove: MethodWithRequiredArgument<StarsAddRemoveArguments, StarsRemoveResponse>;
1458 };
1459 readonly workflows: {
1460 /**
1461 * @description Indicate that an app's step in a workflow completed execution.
1462 * @deprecated Steps from Apps is deprecated.
1463 * We're retiring all Slack app functionality around Steps from Apps in September 2024.
1464 * See {@link https://api.slack.com/changelog/2023-08-workflow-steps-from-apps-step-back our post on deprecating Steps from Apps}.
1465 * @see {@link https://api.slack.com/methods/workflows.stepCompleted `workflows.stepCompleted` API reference}.
1466 */
1467 stepCompleted: MethodWithRequiredArgument<WorkflowsStepCompletedArguments, WorkflowsStepCompletedResponse>;
1468 /**
1469 * @description Indicate that an app's step in a workflow failed to execute.
1470 * @deprecated Steps from Apps is deprecated.
1471 * We're retiring all Slack app functionality around Steps from Apps in September 2024.
1472 * See {@link https://api.slack.com/changelog/2023-08-workflow-steps-from-apps-step-back our post on deprecating Steps from Apps}.
1473 * @see {@link https://api.slack.com/methods/workflows.stepFailed `workflows.stepFailed` API reference}.
1474 */
1475 stepFailed: MethodWithRequiredArgument<WorkflowsStepFailedArguments, WorkflowsStepFailedResponse>;
1476 /**
1477 * @description Update the configuration for a workflow step.
1478 * @deprecated Steps from Apps is deprecated.
1479 * We're retiring all Slack app functionality around Steps from Apps in September 2024.
1480 * See {@link https://api.slack.com/changelog/2023-08-workflow-steps-from-apps-step-back our post on deprecating Steps from Apps}.
1481 * @see {@link https://api.slack.com/methods/workflows.updateStep `workflows.updateStep` API reference}.
1482 */
1483 updateStep: MethodWithRequiredArgument<WorkflowsUpdateStepArguments, WorkflowsUpdateStepResponse>;
1484 };
1485}
1486export * from '@slack/types';
1487//# sourceMappingURL=methods.d.ts.map
\No newline at end of file