UNPKG

1.32 kBTypeScriptView Raw
1import type { OptionalTeamAssignable, TokenOverridable } from '../common';
2interface ChannelIDs {
3 /** @description One or more encoded channel IDs. */
4 channel_ids: string | string[];
5}
6interface UsergroupID {
7 /** @description ID of the IDP group to list/manage channels for. */
8 usergroup_id: string;
9}
10export interface AdminUsergroupsAddChannelsArguments extends ChannelIDs, UsergroupID, OptionalTeamAssignable, TokenOverridable {
11}
12export interface AdminUsergroupsAddTeamsArguments extends UsergroupID, TokenOverridable {
13 /**
14 * @description One or more encoded team (workspace) IDs.
15 * Each workspace MUST belong to the organization associated with the token.
16 */
17 team_ids: string | string[];
18 /**
19 * @description When `true`, this method automatically creates new workspace accounts for the IDP group members.
20 * Defaults to `false`.
21 */
22 auto_provision?: boolean;
23}
24export interface AdminUsergroupsListChannelsArguments extends UsergroupID, OptionalTeamAssignable, TokenOverridable {
25 /** @description Flag to include or exclude the count of members per channel. */
26 include_num_members?: boolean;
27}
28export interface AdminUsergroupsRemoveChannelsArguments extends ChannelIDs, UsergroupID, TokenOverridable {
29}
30export {};
31//# sourceMappingURL=usergroups.d.ts.map
\No newline at end of file