28 typedef sequence<Email> EmailList;
41 typedef sequence<Attachment> AttachmentList;
43 enum DisplayableContentType {
50 DisplayableContentType contentType;
54 typedef sequence<DisplayableMimePart> DisplayableMimePartList;
67 typedef sequence<MimeHeader> MimeHeaderList;
95 const string body =
"body";
97 const string from =
"from";
98 const string to =
"to";
99 const string cc =
"cc";
148 DisplayableMimePartList displayableParts;
149 AttachmentList attachments;
150 MimeHeaderList headers;
157 typedef sequence<Mail> MailList;
173 void get(out MailList list, out
long totalItems, in kerio::web::KIdList folderIds, in
kerio::web::SearchQuery query);
184 void getPageWithId(out MailList list, out
long start, out
long totalItems, in kerio::web::KIdList folderIds, in
kerio::web::SearchQuery query, in kerio::web::KId
id);
193 void getById(out kerio::web::ErrorList errors, out MailList result, in kerio::web::KIdList ids);
207 void create(out kerio::web::ErrorList errors, out CreateResultList result, in MailList mails);
215 void remove(out kerio::web::ErrorList errors, in kerio::web::KIdList ids);
227 void set(out kerio::web::ErrorList errors, out SetResultList result, in MailList mails);
234 void setAllSeen(in kerio::web::KId folderId);
243 void copy(out kerio::web::ErrorList errors, out CreateResultList result, in kerio::web::KIdList ids, in kerio::web::KId folder);
252 void move(out kerio::web::ErrorList errors, out CreateResultList result, in kerio::web::KIdList ids, in kerio::web::KId folder);
260 void exportAttachments(out
kerio::web::Download fileDownload, in kerio::web::KIdList attachmentIds);