UNPKG

1.91 kBTypeScriptView Raw
1import type { ChannelIDs, CursorPaginationEnabled, TeamID, TokenOverridable } from '../common';
2type TeamDiscoverability = 'open' | 'closed' | 'invite_only' | 'unlisted';
3export interface AdminTeamsAdminsListArguments extends TeamID, TokenOverridable, CursorPaginationEnabled {
4}
5export interface AdminTeamsCreateArguments extends TokenOverridable {
6 /** @description Team domain (for example, slacksoftballteam). Domains are limited to 21 characters. */
7 team_domain: string;
8 /** @description Team name (for example, Slack Softball Team). */
9 team_name: string;
10 /** @description Description for the team. */
11 team_description?: string;
12 /** @description Who can join the team. */
13 team_discoverability?: TeamDiscoverability;
14}
15export interface AdminTeamsListArguments extends TokenOverridable, CursorPaginationEnabled {
16}
17export interface AdminTeamsOwnersListArguments extends TeamID, TokenOverridable, CursorPaginationEnabled {
18}
19export interface AdminTeamsSettingsInfoArguments extends TeamID, TokenOverridable {
20}
21export interface AdminTeamsSettingsSetDefaultChannelsArguments extends ChannelIDs, TeamID, TokenOverridable {
22}
23export interface AdminTeamsSettingsSetDescriptionArguments extends TeamID, TokenOverridable {
24 /** @description The new description for the workspace. */
25 description: string;
26}
27export interface AdminTeamsSettingsSetDiscoverabilityArguments extends TeamID, TokenOverridable {
28 /** @description This workspace's discovery setting. */
29 discoverability: TeamDiscoverability;
30}
31export interface AdminTeamsSettingsSetIconArguments extends TeamID, TokenOverridable {
32 /** @description Image URL for the icon. */
33 image_url: string;
34}
35export interface AdminTeamsSettingsSetNameArguments extends TeamID, TokenOverridable {
36 /** @description The new name of the workspace. */
37 name: string;
38}
39export {};
40//# sourceMappingURL=teams.d.ts.map
\No newline at end of file