1 | import type { OptionalArgument } from '../../helpers';
|
2 | import type { ChannelIDs, CursorPaginationEnabled, TeamID, TokenOverridable } from '../common';
|
3 | type TeamDiscoverability = 'open' | 'closed' | 'invite_only' | 'unlisted';
|
4 | export interface AdminTeamsAdminsListArguments extends TeamID, TokenOverridable, CursorPaginationEnabled {
|
5 | }
|
6 | export interface AdminTeamsCreateArguments extends TokenOverridable {
|
7 |
|
8 | team_domain: string;
|
9 |
|
10 | team_name: string;
|
11 |
|
12 | team_description?: string;
|
13 |
|
14 | team_discoverability?: TeamDiscoverability;
|
15 | }
|
16 | export type AdminTeamsListArguments = OptionalArgument<TokenOverridable & CursorPaginationEnabled>;
|
17 | export interface AdminTeamsOwnersListArguments extends TeamID, TokenOverridable, CursorPaginationEnabled {
|
18 | }
|
19 | export interface AdminTeamsSettingsInfoArguments extends TeamID, TokenOverridable {
|
20 | }
|
21 | export interface AdminTeamsSettingsSetDefaultChannelsArguments extends ChannelIDs, TeamID, TokenOverridable {
|
22 | }
|
23 | export interface AdminTeamsSettingsSetDescriptionArguments extends TeamID, TokenOverridable {
|
24 |
|
25 | description: string;
|
26 | }
|
27 | export interface AdminTeamsSettingsSetDiscoverabilityArguments extends TeamID, TokenOverridable {
|
28 |
|
29 | discoverability: TeamDiscoverability;
|
30 | }
|
31 | export interface AdminTeamsSettingsSetIconArguments extends TeamID, TokenOverridable {
|
32 |
|
33 | image_url: string;
|
34 | }
|
35 | export interface AdminTeamsSettingsSetNameArguments extends TeamID, TokenOverridable {
|
36 |
|
37 | name: string;
|
38 | }
|
39 | export {};
|
40 |
|
\ | No newline at end of file |