UNPKG

1.44 kBTypeScriptView Raw
1import { WebAPICallResult } from '../../WebClient';
2export type AdminAppsRestrictedListResponse = WebAPICallResult & {
3 error?: string;
4 needed?: string;
5 ok?: boolean;
6 provided?: string;
7 response_metadata?: ResponseMetadata;
8 restricted_apps?: RestrictedApp[];
9 warning?: string;
10};
11export interface ResponseMetadata {
12 messages?: string[];
13 next_cursor?: string;
14 warnings?: string[];
15}
16export interface RestrictedApp {
17 app?: App;
18 date_updated?: number;
19 last_resolved_by?: LastResolvedBy;
20 scopes?: Scope[];
21}
22export interface App {
23 additional_info?: string;
24 app_directory_url?: string;
25 app_homepage_url?: string;
26 description?: string;
27 help_url?: string;
28 icons?: Icons;
29 id?: string;
30 is_app_directory_approved?: boolean;
31 is_internal?: boolean;
32 name?: string;
33 privacy_policy_url?: string;
34}
35export interface Icons {
36 image_1024?: string;
37 image_128?: string;
38 image_192?: string;
39 image_32?: string;
40 image_36?: string;
41 image_48?: string;
42 image_512?: string;
43 image_64?: string;
44 image_72?: string;
45 image_96?: string;
46 image_original?: string;
47}
48export interface LastResolvedBy {
49 actor_id?: string;
50 actor_type?: string;
51}
52export interface Scope {
53 description?: string;
54 is_sensitive?: boolean;
55 name?: string;
56 token_type?: string;
57}
58//# sourceMappingURL=AdminAppsRestrictedListResponse.d.ts.map
\No newline at end of file