From 27b7a0a4fdacdd0a39cf68c9db676d8ebe81802e Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Fri, 31 Jan 2020 13:29:36 -0800 Subject: [PATCH] [office-js] [office-js-preview] (Outlook) Minor clean up (#41992) --- types/office-js-preview/index.d.ts | 44 ++++++++++++------------------ types/office-js/index.d.ts | 42 ++++++++++++---------------- 2 files changed, 35 insertions(+), 51 deletions(-) diff --git a/types/office-js-preview/index.d.ts b/types/office-js-preview/index.d.ts index f175e82a7f..8f214e8ea4 100644 --- a/types/office-js-preview/index.d.ts +++ b/types/office-js-preview/index.d.ts @@ -9006,7 +9006,7 @@ declare namespace Office { * * @remarks * - * **{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}**: ReadItem + * **{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}**: ReadWriteItem * * **{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}**: Appointment Organizer */ @@ -9391,8 +9391,8 @@ declare namespace Office { * * **Errors**: * - * - AttachmentTypeNotSupported: The attachment is an embedded image in Rich Text Format, - * or it isn't an email or calendar item (such as a contact or task item). + * - AttachmentTypeNotSupported: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format, + * or item attachment types other than email or calendar items (such as a contact or task item). * * - InvalidAttachmentId: The attachment identifier does not exist. * @@ -9423,8 +9423,8 @@ declare namespace Office { * * **Errors**: * - * - AttachmentTypeNotSupported: The attachment is an embedded image in Rich Text Format, - * or it isn't an email or calendar item (such as a contact or task item). + * - AttachmentTypeNotSupported: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format, + * or item attachment types other than email or calendar items (such as a contact or task item). * * - InvalidAttachmentId: The attachment identifier does not exist. * @@ -10501,8 +10501,8 @@ declare namespace Office { * * **Errors**: * - * - AttachmentTypeNotSupported: The attachment is an embedded image in Rich Text Format, - * or it isn't an email or calendar item (such as a contact or task item). + * - AttachmentTypeNotSupported: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format, + * or item attachment types other than email or calendar items (such as a contact or task item). * * - InvalidAttachmentId: The attachment identifier does not exist. * @@ -10533,8 +10533,8 @@ declare namespace Office { * * **Errors**: * - * - AttachmentTypeNotSupported: The attachment is an embedded image in Rich Text Format, - * or it isn't an email or calendar item (such as a contact or task item). + * - AttachmentTypeNotSupported: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format, + * or item attachment types other than email or calendar items (such as a contact or task item). * * - InvalidAttachmentId: The attachment identifier does not exist. * @@ -12064,27 +12064,19 @@ declare namespace Office { * * If you want to see IntelliSense for only a specific type or mode, cast this item to one of the following: * - * - {@link Office.Appointment | Appointment} - * * - {@link Office.AppointmentCompose | AppointmentCompose} * * - {@link Office.AppointmentRead | AppointmentRead} * - * - {@link Office.Message | Message} - * * - {@link Office.MessageCompose | MessageCompose} * * - {@link Office.MessageRead | MessageRead} - * - * - {@link Office.ItemCompose | ItemCompose} - * - * - {@link Office.ItemRead | ItemRead} * * @remarks * * **{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}**: Restricted * - * **{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}**: Compose or Read + * **{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}**: Appointment Organizer, Appointment Attendee, Message Compose, Message Read */ interface Item { } @@ -13580,8 +13572,8 @@ declare namespace Office { * * **Errors**: * - * - AttachmentTypeNotSupported: The attachment is an embedded image in Rich Text Format, - * or it isn't an email or calendar item (such as a contact or task item). + * - AttachmentTypeNotSupported: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format, + * or item attachment types other than email or calendar items (such as a contact or task item). * * - InvalidAttachmentId: The attachment identifier does not exist. * @@ -13612,8 +13604,8 @@ declare namespace Office { * * **Errors**: * - * - AttachmentTypeNotSupported: The attachment is an embedded image in Rich Text Format, - * or it isn't an email or calendar item (such as a contact or task item). + * - AttachmentTypeNotSupported: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format, + * or item attachment types other than email or calendar items (such as a contact or task item). * * - InvalidAttachmentId: The attachment identifier does not exist. * @@ -14615,8 +14607,8 @@ declare namespace Office { * * **Errors**: * - * - AttachmentTypeNotSupported: The attachment is an embedded image in Rich Text Format, - * or it isn't an email or calendar item (such as a contact or task item). + * - AttachmentTypeNotSupported: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format, + * or item attachment types other than email or calendar items (such as a contact or task item). * * - InvalidAttachmentId: The attachment identifier does not exist. * @@ -14647,8 +14639,8 @@ declare namespace Office { * * **Errors**: * - * - AttachmentTypeNotSupported: The attachment is an embedded image in Rich Text Format, - * or it isn't an email or calendar item (such as a contact or task item). + * - AttachmentTypeNotSupported: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format, + * or item attachment types other than email or calendar items (such as a contact or task item). * * - InvalidAttachmentId: The attachment identifier does not exist. * diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 678d1f1ff1..73e92ecf0b 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -9296,8 +9296,8 @@ declare namespace Office { * * **Errors**: * - * - AttachmentTypeNotSupported: The attachment is an embedded image in Rich Text Format, - * or it isn't an email or calendar item (such as a contact or task item). + * - AttachmentTypeNotSupported: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format, + * or item attachment types other than email or calendar items (such as a contact or task item). * * - InvalidAttachmentId: The attachment identifier does not exist. * @@ -9328,8 +9328,8 @@ declare namespace Office { * * **Errors**: * - * - AttachmentTypeNotSupported: The attachment is an embedded image in Rich Text Format, - * or it isn't an email or calendar item (such as a contact or task item). + * - AttachmentTypeNotSupported: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format, + * or item attachment types other than email or calendar items (such as a contact or task item). * * - InvalidAttachmentId: The attachment identifier does not exist. * @@ -10361,8 +10361,8 @@ declare namespace Office { * * **Errors**: * - * - AttachmentTypeNotSupported: The attachment is an embedded image in Rich Text Format, - * or it isn't an email or calendar item (such as a contact or task item). + * - AttachmentTypeNotSupported: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format, + * or item attachment types other than email or calendar items (such as a contact or task item). * * - InvalidAttachmentId: The attachment identifier does not exist. * @@ -10393,8 +10393,8 @@ declare namespace Office { * * **Errors**: * - * - AttachmentTypeNotSupported: The attachment is an embedded image in Rich Text Format, - * or it isn't an email or calendar item (such as a contact or task item). + * - AttachmentTypeNotSupported: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format, + * or item attachment types other than email or calendar items (such as a contact or task item). * * - InvalidAttachmentId: The attachment identifier does not exist. * @@ -11877,27 +11877,19 @@ declare namespace Office { * * If you want to see IntelliSense for only a specific type or mode, cast this item to one of the following: * - * - {@link Office.Appointment | Appointment} - * * - {@link Office.AppointmentCompose | AppointmentCompose} * * - {@link Office.AppointmentRead | AppointmentRead} * - * - {@link Office.Message | Message} - * * - {@link Office.MessageCompose | MessageCompose} * * - {@link Office.MessageRead | MessageRead} - * - * - {@link Office.ItemCompose | ItemCompose} - * - * - {@link Office.ItemRead | ItemRead} * * @remarks * * **{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}**: Restricted * - * **{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}**: Compose or Read + * **{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}**: Appointment Organizer, Appointment Attendee, Message Compose, Message Read */ interface Item { } @@ -13393,8 +13385,8 @@ declare namespace Office { * * **Errors**: * - * - AttachmentTypeNotSupported: The attachment is an embedded image in Rich Text Format, - * or it isn't an email or calendar item (such as a contact or task item). + * - AttachmentTypeNotSupported: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format, + * or item attachment types other than email or calendar items (such as a contact or task item). * * - InvalidAttachmentId: The attachment identifier does not exist. * @@ -13425,8 +13417,8 @@ declare namespace Office { * * **Errors**: * - * - AttachmentTypeNotSupported: The attachment is an embedded image in Rich Text Format, - * or it isn't an email or calendar item (such as a contact or task item). + * - AttachmentTypeNotSupported: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format, + * or item attachment types other than email or calendar items (such as a contact or task item). * * - InvalidAttachmentId: The attachment identifier does not exist. * @@ -14376,8 +14368,8 @@ declare namespace Office { * * **Errors**: * - * - AttachmentTypeNotSupported: The attachment is an embedded image in Rich Text Format, - * or it isn't an email or calendar item (such as a contact or task item). + * - AttachmentTypeNotSupported: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format, + * or item attachment types other than email or calendar items (such as a contact or task item). * * - InvalidAttachmentId: The attachment identifier does not exist. * @@ -14408,8 +14400,8 @@ declare namespace Office { * * **Errors**: * - * - AttachmentTypeNotSupported: The attachment is an embedded image in Rich Text Format, - * or it isn't an email or calendar item (such as a contact or task item). + * - AttachmentTypeNotSupported: The attachment type isn't supported. Unsupported types include embedded images in Rich Text Format, + * or item attachment types other than email or calendar items (such as a contact or task item). * * - InvalidAttachmentId: The attachment identifier does not exist. *