@types/office-js 1.0.526 → 1.0.527

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
office-js/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for office-js (https://github.com/OfficeD
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 26 Aug 2025 15:02:24 GMT
11
+ * Last updated: Tue, 26 Aug 2025 18:40:04 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -7203,7 +7203,7 @@ declare namespace Office {
7203
7203
  * <td><strong>Outlook</strong></td>
7204
7204
  * <td>Supported</td>
7205
7205
  * <td>Supported</td>
7206
- * <td>Not available</td>
7206
+ * <td>Supported</td>
7207
7207
  * <td>Not available</td>
7208
7208
  * <td>Not available</td>
7209
7209
  * </tr>
@@ -8811,7 +8811,7 @@ declare namespace Office {
8811
8811
  * {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | Activate add-ins with events} and
8812
8812
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting | Implement an integrated spam-reporting add-in}.
8813
8813
  *
8814
- * - In Outlook on the web and {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
8814
+ * - 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},
8815
8815
  * 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
8816
8816
  * or integrated spam reporting.
8817
8817
  *
@@ -18834,7 +18834,7 @@ declare namespace Office {
18834
18834
  */
18835
18835
  from: From;
18836
18836
  /**
18837
- * Gets the message ID of the original message being replied to by the current message.
18837
+ * Gets the internet message ID of the original message being replied to by the current message.
18838
18838
  *
18839
18839
  * @remarks
18840
18840
  * [Api set: Mailbox 1.14]
@@ -19314,10 +19314,14 @@ declare namespace Office {
19314
19314
  *
19315
19315
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
19316
19316
  *
19317
- * **Important**: The `closeAsync` method is only supported in task pane and function command implementations. It isn't supported in
19317
+ * **Important**:
19318
+ *
19319
+ * - The `closeAsync` method is only supported in task pane and function command implementations. It isn't supported in
19318
19320
  * {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based handlers} or
19319
19321
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/item-multi-select | item multi-select scenarios}.
19320
19322
  *
19323
+ * - When the `closeAsync` method successfully closes and discards the current message, the add-in that called it ceases running.
19324
+ *
19321
19325
  * **Errors**:
19322
19326
  *
19323
19327
  * - `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`.
@@ -19350,10 +19354,14 @@ declare namespace Office {
19350
19354
  *
19351
19355
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
19352
19356
  *
19353
- * **Important**: The `closeAsync` method is only supported in task pane and function command implementations. It isn't supported in
19357
+ * **Important**:
19358
+ *
19359
+ * - The `closeAsync` method is only supported in task pane and function command implementations. It isn't supported in
19354
19360
  * {@link https://learn.microsoft.com/office/dev/add-ins/develop/event-based-activation | event-based handlers} or
19355
19361
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/item-multi-select | item multi-select scenarios}.
19356
19362
  *
19363
+ * - When the `closeAsync` method successfully closes and discards the current message, the add-in that called it ceases running.
19364
+ *
19357
19365
  * **Errors**:
19358
19366
  *
19359
19367
  * - `The operation was cancelled by the user`: The user selects **Cancel** from the save dialog.
@@ -23594,7 +23602,7 @@ declare namespace Office {
23594
23602
  *
23595
23603
  * - In earlier supported versions of classic Outlook on Windows (versions prior to Version 2412 (Build 18324.20000) that support
23596
23604
  * {@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}),
23597
- * 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.
23605
+ * 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.
23598
23606
  */
23599
23607
  cancelLabel?: string;
23600
23608
  /**
@@ -23606,7 +23614,7 @@ declare namespace Office {
23606
23614
  *
23607
23615
  * @remarks
23608
23616
  *
23609
- * [Api set: Mailbox 1.14]
23617
+ * [Api set: Mailbox 1.14 (task pane support), Mailbox 1.15 (function command support)]
23610
23618
  *
23611
23619
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level (Outlook)}**: **restricted**
23612
23620
  *
@@ -23626,7 +23634,7 @@ declare namespace Office {
23626
23634
  * 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.
23627
23635
  * In earlier supported versions of classic Outlook on Windows (versions prior to Version 2412 (Build 18324.20000) that support
23628
23636
  * {@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}),
23629
- * and Outlook on Mac (preview), the **Don't Send** button opens a task pane or runs a function.
23637
+ * and Outlook on Mac, the **Don't Send** button opens a task pane or runs a function.
23630
23638
  *
23631
23639
  * 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,
23632
23640
  * 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.
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.526",
3
+ "version": "1.0.527",
4
4
  "description": "TypeScript definitions for office-js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
6
6
  "license": "MIT",
@@ -46,6 +46,6 @@
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
48
  "peerDependencies": {},
49
- "typesPublisherContentHash": "a4ccdcef489a55d75a57a0a110f62b51270c98a89ed785b50d367efec0cbf16e",
49
+ "typesPublisherContentHash": "7b8b1b4d37e2e2102eb93f8ba1e4fb809e69a8ac573f3970c8d60a01f41ea5ed",
50
50
  "typeScriptVersion": "5.2"
51
51
  }