1 | import type { OptionalArgument } from '../helpers';
|
2 | import type { OptionalTeamAssignable, TokenOverridable } from './common';
|
3 | export interface UsergroupsIncludeCount {
|
4 |
|
5 | include_count?: boolean;
|
6 | }
|
7 | export interface UsergroupsCreateArguments extends TokenOverridable, OptionalTeamAssignable, UsergroupsIncludeCount {
|
8 |
|
9 | name: string;
|
10 |
|
11 | channels?: string;
|
12 |
|
13 | description?: string;
|
14 |
|
15 | handle?: string;
|
16 | }
|
17 | export interface UsergroupsDisableArguments extends TokenOverridable, OptionalTeamAssignable, UsergroupsIncludeCount {
|
18 |
|
19 | usergroup: string;
|
20 | }
|
21 | export interface UsergroupsEnableArguments extends TokenOverridable, OptionalTeamAssignable, UsergroupsIncludeCount {
|
22 |
|
23 | usergroup: string;
|
24 | }
|
25 | export type UsergroupsListArguments = OptionalArgument<TokenOverridable & OptionalTeamAssignable & UsergroupsIncludeCount & {
|
26 |
|
27 | include_disabled?: boolean;
|
28 |
|
29 | include_users?: boolean;
|
30 | }>;
|
31 | export interface UsergroupsUpdateArguments extends TokenOverridable, OptionalTeamAssignable, Partial<UsergroupsCreateArguments> {
|
32 |
|
33 | usergroup: string;
|
34 | }
|
35 | export interface UsergroupsUsersListArguments extends TokenOverridable, OptionalTeamAssignable {
|
36 |
|
37 | usergroup: string;
|
38 |
|
39 | include_disabled?: boolean;
|
40 | }
|
41 | export interface UsergroupsUsersUpdateArguments extends TokenOverridable, OptionalTeamAssignable, UsergroupsIncludeCount {
|
42 |
|
43 | usergroup: string;
|
44 | |
45 |
|
46 |
|
47 |
|
48 | users: string;
|
49 | }
|
50 |
|
\ | No newline at end of file |