UNPKG

1.23 kBTypeScriptView Raw
1import type { CursorPaginationEnabled, TokenOverridable } from '../common';
2interface BarrierID {
3 /** @description The ID of the barrier. */
4 barrier_id: string;
5}
6export interface AdminBarriersCreateArguments extends TokenOverridable {
7 /** @description A list of {@link https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org IDP Groups} IDs ti associate with the barrier. */
8 barriered_from_usergroup_ids: string[];
9 /** @description The ID of the primary {@link https://slack.com/help/articles/115001435788-Connect-identity-provider-groups-to-your-Enterprise-Grid-org IDP Group}. */
10 primary_usergroup_id: string;
11 /**
12 * @description What kind of interactions are blocked by this barrier?
13 * Currently you must provide all three: `im`, `mpim`, `call`.
14 */
15 restricted_subjects: ['im', 'mpim', 'call'];
16}
17export interface AdminBarriersDeleteArguments extends BarrierID, TokenOverridable {
18}
19export interface AdminBarriersListArguments extends TokenOverridable, CursorPaginationEnabled {
20}
21export interface AdminBarriersUpdateArguments extends AdminBarriersCreateArguments, BarrierID {
22}
23export {};
24//# sourceMappingURL=barriers.d.ts.map
\No newline at end of file