1 export const getAttachment = (attachmentID: string) => ({
3 url: `mail/v4/attachments/${attachmentID}`,
7 export const getAttachmentsMetadata = (attachmentID: string) => ({
9 url: `mail/v4/attachments/${attachmentID}/metadata`,
12 export const uploadAttachment = (data: {
22 url: 'mail/v4/attachments',
27 export const removeAttachment = (attachmentID: string, messageID: string) => ({
29 url: `mail/v4/attachments/${attachmentID}`,
30 params: { MessageID: messageID },