Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 additions & 8 deletions types/office-js-preview/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7213,7 +7213,7 @@ declare namespace Office {
* <td><strong>Outlook</strong></td>
* <td>Supported</td>
* <td>Supported</td>
* <td>Not available</td>
* <td>Supported</td>
* <td>Not available</td>
* <td>Not available</td>
* </tr>
Expand Down Expand Up @@ -8821,7 +8821,7 @@ declare namespace Office {
* {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | Activate add-ins with events} and
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting | Implement an integrated spam-reporting add-in}.
*
* - In Outlook on the web and {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
* - In Outlook on the web, on Mac, and in the {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
* this API isn't supported in add-ins that implement a task pane. On these clients, the API is only supported in add-ins that implement event-based activation
* or integrated spam reporting.
*
Expand Down Expand Up @@ -19088,7 +19088,7 @@ declare namespace Office {
*/
from: From;
/**
* Gets the message ID of the original message being replied to by the current message.
* Gets the internet message ID of the original message being replied to by the current message.
*
* @remarks
* [Api set: Mailbox 1.14]
Expand Down Expand Up @@ -19567,10 +19567,14 @@ declare namespace Office {
*
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
*
* **Important**: The `closeAsync` method is only supported in task pane and function command implementations. It isn't supported in
* **Important**:
*
* - The `closeAsync` method is only supported in task pane and function command implementations. It isn't supported in
* {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based handlers} or
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/item-multi-select | item multi-select scenarios}.
*
* - When the `closeAsync` method successfully closes and discards the current message, the add-in that called it ceases running.
*
* **Errors**:
*
* - `The operation was cancelled by the user`: The user selects **Cancel** from the save dialog and the `discardItem` property isn't defined or is set to `false`.
Expand Down Expand Up @@ -19603,10 +19607,14 @@ declare namespace Office {
*
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
*
* **Important**: The `closeAsync` method is only supported in task pane and function command implementations. It isn't supported in
* **Important**:
*
* - The `closeAsync` method is only supported in task pane and function command implementations. It isn't supported in
* {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based handlers} or
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/item-multi-select | item multi-select scenarios}.
*
* - When the `closeAsync` method successfully closes and discards the current message, the add-in that called it ceases running.
*
* **Errors**:
*
* - `The operation was cancelled by the user`: The user selects **Cancel** from the save dialog.
Expand Down Expand Up @@ -23951,7 +23959,7 @@ declare namespace Office {
*
* - In earlier supported versions of classic Outlook on Windows (versions prior to Version 2412 (Build 18324.20000) that support
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets#version-support-for-requirement-sets-in-classic-outlook-on-windows | Mailbox requirement set 1.14}),
* and Outlook on Mac (preview), the `cancelLabel` property customizes the text of the **Don't Send** button. The **Don't Send** button cancels the item being sent.
* and Outlook on Mac, the `cancelLabel` property customizes the text of the **Don't Send** button. The **Don't Send** button cancels the item being sent.
*/
cancelLabel?: string;
/**
Expand All @@ -23963,7 +23971,7 @@ declare namespace Office {
*
* @remarks
*
* [Api set: Mailbox 1.14]
* [Api set: Mailbox 1.14 (task pane support), Mailbox 1.15 (function command support)]
*
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level (Outlook)}**: **restricted**
*
Expand All @@ -23983,7 +23991,7 @@ declare namespace Office {
* task pane or runs a function. In this implementation, the **Don't Send** button cancels the item being sent. Its text and functionality can't be customized.
* In earlier supported versions of classic Outlook on Windows (versions prior to Version 2412 (Build 18324.20000) that support
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets#version-support-for-requirement-sets-in-classic-outlook-on-windows | Mailbox requirement set 1.14}),
* and Outlook on Mac (preview), the **Don't Send** button opens a task pane or runs a function.
* and Outlook on Mac, the **Don't Send** button opens a task pane or runs a function.
*
* If you customized the text and functionality of the **Don't Send** button in your Smart Alerts add-in prior to Version 2412 (Build 18324.20000) of classic Outlook on Windows,
* no additional action is needed to implement the **Take Action** button in the latest supported versions. The default or customized **Take Action** button will automatically appear the next time a user receives a Smart Alerts dialog.
Expand Down
24 changes: 16 additions & 8 deletions types/office-js/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7203,7 +7203,7 @@ declare namespace Office {
* <td><strong>Outlook</strong></td>
* <td>Supported</td>
* <td>Supported</td>
* <td>Not available</td>
* <td>Supported</td>
* <td>Not available</td>
* <td>Not available</td>
* </tr>
Expand Down Expand Up @@ -8811,7 +8811,7 @@ declare namespace Office {
* {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | Activate add-ins with events} and
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting | Implement an integrated spam-reporting add-in}.
*
* - In Outlook on the web and {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
* - In Outlook on the web, on Mac, and in the {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
* this API isn't supported in add-ins that implement a task pane. On these clients, the API is only supported in add-ins that implement event-based activation
* or integrated spam reporting.
*
Expand Down Expand Up @@ -18834,7 +18834,7 @@ declare namespace Office {
*/
from: From;
/**
* Gets the message ID of the original message being replied to by the current message.
* Gets the internet message ID of the original message being replied to by the current message.
*
* @remarks
* [Api set: Mailbox 1.14]
Expand Down Expand Up @@ -19314,10 +19314,14 @@ declare namespace Office {
*
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
*
* **Important**: The `closeAsync` method is only supported in task pane and function command implementations. It isn't supported in
* **Important**:
*
* - The `closeAsync` method is only supported in task pane and function command implementations. It isn't supported in
* {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based handlers} or
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/item-multi-select | item multi-select scenarios}.
*
* - When the `closeAsync` method successfully closes and discards the current message, the add-in that called it ceases running.
*
* **Errors**:
*
* - `The operation was cancelled by the user`: The user selects **Cancel** from the save dialog and the `discardItem` property isn't defined or is set to `false`.
Expand Down Expand Up @@ -19350,10 +19354,14 @@ declare namespace Office {
*
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
*
* **Important**: The `closeAsync` method is only supported in task pane and function command implementations. It isn't supported in
* **Important**:
*
* - The `closeAsync` method is only supported in task pane and function command implementations. It isn't supported in
* {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based handlers} or
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/item-multi-select | item multi-select scenarios}.
*
* - When the `closeAsync` method successfully closes and discards the current message, the add-in that called it ceases running.
*
* **Errors**:
*
* - `The operation was cancelled by the user`: The user selects **Cancel** from the save dialog.
Expand Down Expand Up @@ -23594,7 +23602,7 @@ declare namespace Office {
*
* - In earlier supported versions of classic Outlook on Windows (versions prior to Version 2412 (Build 18324.20000) that support
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets#version-support-for-requirement-sets-in-classic-outlook-on-windows | Mailbox requirement set 1.14}),
* and Outlook on Mac (preview), the `cancelLabel` property customizes the text of the **Don't Send** button. The **Don't Send** button cancels the item being sent.
* and Outlook on Mac, the `cancelLabel` property customizes the text of the **Don't Send** button. The **Don't Send** button cancels the item being sent.
*/
cancelLabel?: string;
/**
Expand All @@ -23606,7 +23614,7 @@ declare namespace Office {
*
* @remarks
*
* [Api set: Mailbox 1.14]
* [Api set: Mailbox 1.14 (task pane support), Mailbox 1.15 (function command support)]
*
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level (Outlook)}**: **restricted**
*
Expand All @@ -23626,7 +23634,7 @@ declare namespace Office {
* task pane or runs a function. In this implementation, the **Don't Send** button cancels the item being sent. Its text and functionality can't be customized.
* In earlier supported versions of classic Outlook on Windows (versions prior to Version 2412 (Build 18324.20000) that support
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/outlook-api-requirement-sets#version-support-for-requirement-sets-in-classic-outlook-on-windows | Mailbox requirement set 1.14}),
* and Outlook on Mac (preview), the **Don't Send** button opens a task pane or runs a function.
* and Outlook on Mac, the **Don't Send** button opens a task pane or runs a function.
*
* If you customized the text and functionality of the **Don't Send** button in your Smart Alerts add-in prior to Version 2412 (Build 18324.20000) of classic Outlook on Windows,
* no additional action is needed to implement the **Take Action** button in the latest supported versions. The default or customized **Take Action** button will automatically appear the next time a user receives a Smart Alerts dialog.
Expand Down