UNPKG

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