-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtypes.d.ts
More file actions
40 lines (37 loc) · 782 Bytes
/
types.d.ts
File metadata and controls
40 lines (37 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
export declare type Contact = {
id: number;
company: string;
prefix?: string;
firstName?: string;
lastName?: string;
suffix?: string;
salutation?: string;
professionalTitle?: string;
address?: string;
city?: string;
state?: string;
zipCode?: string;
country?: string;
mainPhone?: string;
directPhone?: string;
mobilePhone?: string;
emailAddress?: string;
narrative?: string;
group: string[];
tag: string[];
};
export declare type User = {
id: number;
username: string;
permission: Permission;
};
export interface Tag {
id: number;
name: string;
removed?: boolean;
}
export declare enum Permission {
VIEWER = 'VIEWER',
EDITOR = 'EDITOR',
ADMIN = 'ADMIN',
}