1 | import type { WebAPICallResult } from '../../WebClient';
|
2 | export type AdminWorkflowsPermissionsLookupResponse = WebAPICallResult & {
|
3 | error?: string;
|
4 | needed?: string;
|
5 | ok?: boolean;
|
6 | permissions?: {
|
7 | [key: string]: Permission;
|
8 | };
|
9 | provided?: string;
|
10 | };
|
11 | export interface Permission {
|
12 | complete?: boolean;
|
13 | who_can_run?: WhoCanRun;
|
14 | }
|
15 | export interface WhoCanRun {
|
16 | channel_ids?: string[];
|
17 | org_ids?: string[];
|
18 | permission_type?: string;
|
19 | team_ids?: string[];
|
20 | user_ids?: string[];
|
21 | }
|
22 |
|
\ | No newline at end of file |