forked from Zimbra/zm-api-js-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.ts
51 lines (44 loc) · 984 Bytes
/
types.ts
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
41
42
43
44
45
46
47
48
49
50
51
export * from './src/schema/generated-schema-types';
export { ActionType, ActionResultType } from './src/batch-client/types';
export enum MailFolderView {
conversation = 'conversation',
message = 'message'
}
export enum MessageFlags {
unread = 'u',
flagged = 'f',
hasAttachment = 'a',
replied = 'r',
sentByMe = 's',
forwarded = 'w',
calendarInvite = 'v',
draft = 'd',
imapDeleted = 'x',
notificationSent = 'n',
urgent = '!',
lowPriority = '?',
priority = '+'
}
export enum ActionOps {
update = 'update',
delete = 'delete',
read = 'read',
unread = '!read',
flag = 'flag',
unflag = '!flag',
tag = 'tag',
untag = '!tag',
move = 'move',
spam = 'spam',
unspam = '!spam',
trash = 'trash',
copy = 'copy',
}
export enum _MessageActionOps {
update = 'update'
}
export type MessageActionOps = ActionOps | _MessageActionOps;
export enum _ConversationActionOps {
priority = 'priority'
}
export type ConversationActionOps = ActionOps | _ConversationActionOps;