diff --git a/types/office-js-preview/index.d.ts b/types/office-js-preview/index.d.ts index 99bc19844b..48bbfcaa76 100644 --- a/types/office-js-preview/index.d.ts +++ b/types/office-js-preview/index.d.ts @@ -763,7 +763,7 @@ declare namespace Office { * The initial page must be on the same domain as the parent page (the startAddress parameter). After the initial page loads, you can go to * other domains. * - * Any page calling `office.context.ui.messageParent` must also be on the same domain as the parent page. + * Any page calling `Office.context.ui.messageParent` must also be on the same domain as the parent page. * * **Design considerations**: * @@ -868,7 +868,7 @@ declare namespace Office { * The initial page must be on the same domain as the parent page (the startAddress parameter). After the initial page loads, you can go to * other domains. * - * Any page calling `office.context.ui.messageParent` must also be on the same domain as the parent page. + * Any page calling `Office.context.ui.messageParent` must also be on the same domain as the parent page. * * **Design considerations**: * @@ -9486,8 +9486,6 @@ declare namespace Office { * To access the selected data from the callback method, call asyncResult.value.data. * To access the source property that the selection comes from, call asyncResult.value.sourceProperty, which will be either body or subject. * - * **Note**: In Outlook on the web, the method returns the string "null" if no text is selected but the cursor is in the body. - * * [Api set: Mailbox 1.2] * * @returns @@ -9515,8 +9513,6 @@ declare namespace Office { * To access the selected data from the callback method, call asyncResult.value.data. * To access the source property that the selection comes from, call asyncResult.value.sourceProperty, which will be either body or subject. * - * **Note**: In Outlook on the web, the method returns the string "null" if no text is selected but the cursor is in the body. - * * [Api set: Mailbox 1.2] * * @returns @@ -12503,8 +12499,6 @@ declare namespace Office { * To access the selected data from the callback method, call asyncResult.value.data. * To access the source property that the selection comes from, call asyncResult.value.sourceProperty, which will be either body or subject. * - * **Note**: In Outlook on the web, the method returns the string "null" if no text is selected but the cursor is in the body. - * * [Api set: Mailbox 1.2] * * @returns @@ -12533,8 +12527,6 @@ declare namespace Office { * To access the selected data from the callback method, call asyncResult.value.data. * To access the source property that the selection comes from, call asyncResult.value.sourceProperty, which will be either body or subject. * - * **Note**: In Outlook on the web, the method returns the string "null" if no text is selected but the cursor is in the body. - * * [Api set: Mailbox 1.2] * * @returns @@ -13928,7 +13920,7 @@ declare namespace Office { * * @remarks * - * **{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}**: ReadMailbox + * **{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}**: ReadWriteMailbox * * **{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}**: Compose or Read */ @@ -13991,7 +13983,7 @@ declare namespace Office { * * @remarks * - * **{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}**: ReadMailbox + * **{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}**: ReadWriteMailbox * * **{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}**: Compose or Read */ @@ -14006,7 +13998,7 @@ declare namespace Office { * * @remarks * - * **{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}**: ReadMailbox + * **{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}**: ReadWriteMailbox * * **{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}**: Compose or Read */ @@ -14731,8 +14723,6 @@ declare namespace Office { * To access the selected data from the callback method, call asyncResult.value.data. * To access the source property that the selection comes from, call asyncResult.value.sourceProperty, which will be either body or subject. * - * **Note**: In Outlook on the web, the method returns the string "null" if no text is selected but the cursor is in the body. - * * [Api set: Mailbox 1.2] * * @returns @@ -14761,8 +14751,6 @@ declare namespace Office { * To access the selected data from the callback method, call asyncResult.value.data. * To access the source property that the selection comes from, call asyncResult.value.sourceProperty, which will be either body or subject. * - * **Note**: In Outlook on the web, the method returns the string "null" if no text is selected but the cursor is in the body. - * * [Api set: Mailbox 1.2] * * @returns diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index bd74ee0875..811802eaf7 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -757,7 +757,7 @@ declare namespace Office { * The initial page must be on the same domain as the parent page (the startAddress parameter). After the initial page loads, you can go to * other domains. * - * Any page calling `office.context.ui.messageParent` must also be on the same domain as the parent page. + * Any page calling `Office.context.ui.messageParent` must also be on the same domain as the parent page. * * **Design considerations**: * @@ -862,7 +862,7 @@ declare namespace Office { * The initial page must be on the same domain as the parent page (the startAddress parameter). After the initial page loads, you can go to * other domains. * - * Any page calling `office.context.ui.messageParent` must also be on the same domain as the parent page. + * Any page calling `Office.context.ui.messageParent` must also be on the same domain as the parent page. * * **Design considerations**: * @@ -9344,8 +9344,6 @@ declare namespace Office { * To access the selected data from the callback method, call asyncResult.value.data. * To access the source property that the selection comes from, call asyncResult.value.sourceProperty, which will be either body or subject. * - * **Note**: In Outlook on the web, the method returns the string "null" if no text is selected but the cursor is in the body. - * * [Api set: Mailbox 1.2] * * @returns @@ -9373,8 +9371,6 @@ declare namespace Office { * To access the selected data from the callback method, call asyncResult.value.data. * To access the source property that the selection comes from, call asyncResult.value.sourceProperty, which will be either body or subject. * - * **Note**: In Outlook on the web, the method returns the string "null" if no text is selected but the cursor is in the body. - * * [Api set: Mailbox 1.2] * * @returns @@ -12216,8 +12212,6 @@ declare namespace Office { * To access the selected data from the callback method, call asyncResult.value.data. * To access the source property that the selection comes from, call asyncResult.value.sourceProperty, which will be either body or subject. * - * **Note**: In Outlook on the web, the method returns the string "null" if no text is selected but the cursor is in the body. - * * [Api set: Mailbox 1.2] * * @returns @@ -12246,8 +12240,6 @@ declare namespace Office { * To access the selected data from the callback method, call asyncResult.value.data. * To access the source property that the selection comes from, call asyncResult.value.sourceProperty, which will be either body or subject. * - * **Note**: In Outlook on the web, the method returns the string "null" if no text is selected but the cursor is in the body. - * * [Api set: Mailbox 1.2] * * @returns @@ -13594,7 +13586,7 @@ declare namespace Office { * * @remarks * - * **{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}**: ReadMailbox + * **{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}**: ReadWriteMailbox * * **{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}**: Compose or Read */ @@ -13657,7 +13649,7 @@ declare namespace Office { * * @remarks * - * **{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}**: ReadMailbox + * **{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}**: ReadWriteMailbox * * **{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}**: Compose or Read */ @@ -13672,7 +13664,7 @@ declare namespace Office { * * @remarks * - * **{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}**: ReadMailbox + * **{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}**: ReadWriteMailbox * * **{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}**: Compose or Read */ @@ -14295,8 +14287,6 @@ declare namespace Office { * To access the selected data from the callback method, call asyncResult.value.data. * To access the source property that the selection comes from, call asyncResult.value.sourceProperty, which will be either body or subject. * - * **Note**: In Outlook on the web, the method returns the string "null" if no text is selected but the cursor is in the body. - * * [Api set: Mailbox 1.2] * * @returns @@ -14325,8 +14315,6 @@ declare namespace Office { * To access the selected data from the callback method, call asyncResult.value.data. * To access the source property that the selection comes from, call asyncResult.value.sourceProperty, which will be either body or subject. * - * **Note**: In Outlook on the web, the method returns the string "null" if no text is selected but the cursor is in the body. - * * [Api set: Mailbox 1.2] * * @returns