1 | import type { WebAPICallResult } from '../../WebClient';
|
2 | export type TeamProfileGetResponse = WebAPICallResult & {
|
3 | error?: string;
|
4 | needed?: string;
|
5 | ok?: boolean;
|
6 | profile?: Profile;
|
7 | provided?: string;
|
8 | };
|
9 | export interface Profile {
|
10 | fields?: Field[];
|
11 | sections?: Section[];
|
12 | }
|
13 | export interface Field {
|
14 | field_name?: string;
|
15 | hint?: string;
|
16 | id?: string;
|
17 | is_hidden?: boolean;
|
18 | is_inverse?: boolean;
|
19 | label?: string;
|
20 | options?: Options;
|
21 | ordering?: number;
|
22 | permissions?: Permissions;
|
23 | possible_values?: string[];
|
24 | section_id?: string;
|
25 | type?: string;
|
26 | }
|
27 | export interface Options {
|
28 | is_protected?: boolean;
|
29 | is_scim?: boolean;
|
30 | }
|
31 | export interface Permissions {
|
32 | api?: string[];
|
33 | scim?: boolean;
|
34 | ui?: boolean;
|
35 | }
|
36 | export interface Section {
|
37 | id?: string;
|
38 | is_hidden?: boolean;
|
39 | label?: string;
|
40 | order?: number;
|
41 | section_type?: string;
|
42 | team_id?: string;
|
43 | }
|
44 |
|
\ | No newline at end of file |