@types/office-js-preview 1.0.676 → 1.0.677

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.
@@ -8,7 +8,7 @@ This package contains type definitions for office-js-preview (https://github.com
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 06 Jan 2026 21:35:44 GMT
11
+ * Last updated: Mon, 12 Jan 2026 18:02:16 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -21395,6 +21395,10 @@ declare namespace Office {
21395
21395
  *
21396
21396
  * - Any code included after the `sendAsync` call isn't guaranteed to run since the add-in completes processing after the `sendAsync` call.
21397
21397
  *
21398
+ * - The `sendAsync` method is available for preview in Outlook on Mac starting in Version 16.105 (Build 25121117).
21399
+ * To test this feature, join the {@link https://techcommunity.microsoft.com/kb/microsoft-365-insider-kb/join-the-microsoft-365-insider-program-on-macos/4401756 | Microsoft 365 Insider program}
21400
+ * and select the **Beta Channel** option to access Office beta builds.
21401
+ *
21398
21402
  * @param options - An object literal that contains the `asyncContext` property. Use the `asyncContext` property to specify any object you want to access in the
21399
21403
  * callback function.
21400
21404
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`. The `asyncResult`
@@ -21430,6 +21434,10 @@ declare namespace Office {
21430
21434
  *
21431
21435
  * - Any code included after the `sendAsync` call isn't guaranteed to run since the add-in completes processing after the `sendAsync` call.
21432
21436
  *
21437
+ * - The `sendAsync` method is available for preview in Outlook on Mac starting in Version 16.105 (Build 25121117).
21438
+ * To test this feature, join the {@link https://techcommunity.microsoft.com/kb/microsoft-365-insider-kb/join-the-microsoft-365-insider-program-on-macos/4401756 | Microsoft 365 Insider program}
21439
+ * and select the **Beta Channel** option to access Office beta builds.
21440
+ *
21433
21441
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`. The `asyncResult`
21434
21442
  * parameter is an `Office.AsyncResult` object.
21435
21443
  */
@@ -24961,16 +24969,15 @@ declare namespace Office {
24961
24969
  *
24962
24970
  * The customizable button in the Smart Alerts dialog varies depending on the Outlook client and its version.
24963
24971
  *
24964
- * - In Outlook on the web, new Outlook on Windows, and classic Outlook on Windows starting in Version 2412 (Build 18324.20000), the `cancelLabel` property customizes the text of the **Take Action** button.
24972
+ * - In Outlook on the web, on Mac (in preview starting in Version 16.105 (Build 25121117)), new Outlook on Windows, and classic Outlook on Windows starting in Version 2412 (Build 18324.20000), the `cancelLabel` property customizes the text of the **Take Action** button.
24965
24973
  * The **Take Action** button only appears on the Smart Alerts dialog if the `commandId` option is configured in the `event.completed` call. The option must be configured
24966
24974
  * if you want to customize the text of the dialog button. In this implementation, the **Don't Send** button cancels the item being sent. Its text and functionality can't be customized.
24967
24975
  * If you previously customized the text of the **Don't Send** button without assigning it a task pane or function command, your custom text won't take effect in the latest Outlook client versions.
24968
24976
  * If you previously assigned a task pane or function command to the **Don't Send** button, no additional action is needed to implement the **Take Action** button in the latest versions.
24969
24977
  * The default or customized **Take Action** button will automatically appear the next time a user receives a Smart Alerts dialog. Although no implementation changes are needed, we recommend notifying users of this updated experience.
24970
24978
  *
24971
- * - In earlier supported versions of classic Outlook on Windows (versions prior to Version 2412 (Build 18324.20000) that support
24972
- * {@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}),
24973
- * 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.
24979
+ * - In classic Outlook on Windows (prior to Version 2412 (Build 18324.20000) and Outlook on Mac (prior to Version 16.105 (Build 25121117)),
24980
+ * the `cancelLabel` property customizes the text of the **Don't Send** button. The **Don't Send** button cancels the item being sent.
24974
24981
  */
24975
24982
  cancelLabel?: string;
24976
24983
  /**
@@ -24998,13 +25005,13 @@ declare namespace Office {
24998
25005
  * - **Unified manifest for Microsoft 365**: The "id" property of the task pane or function command in the "controls" array.
24999
25006
  *
25000
25007
  * The button in the Smart Alerts dialog that opens a task pane or runs a function varies depending on the Outlook client and version.
25001
- * In Outlook on the web, new Outlook on Windows, and classic Outlook on Windows starting in Version 2412 (Build 18324.20000), the **Take Action** button opens a
25008
+ * In Outlook on the web, on Mac (in preview starting in Version 16.105 (Build 25121117)), new Outlook on Windows, and classic Outlook on Windows starting in Version 2412 (Build 18324.20000), the **Take Action** button opens a
25002
25009
  * 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.
25003
25010
  * In earlier supported versions of classic Outlook on Windows (versions prior to Version 2412 (Build 18324.20000) that support
25004
25011
  * {@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}),
25005
25012
  * and Outlook on Mac, the **Don't Send** button opens a task pane or runs a function.
25006
25013
  *
25007
- * 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,
25014
+ * If you've already 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 or prior to Version 16.105 (Build 25121117) of Outlook on Mac,
25008
25015
  * 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.
25009
25016
  * Although no implementation changes are needed, we recommend notifying users of this updated experience.
25010
25017
  *
@@ -25015,6 +25022,10 @@ declare namespace Office {
25015
25022
  *
25016
25023
  * When you configure a button in the Smart Alerts dialog to run a function, a button for the function is also added to the ribbon or action bar of the Outlook client.
25017
25024
  * Use the `contextData` option to distinguish when a user runs the function from the Smart Alerts dialog.
25025
+ *
25026
+ * Programming a button in the Smart Alerts dialog to run a function is available for preview in Outlook on Mac starting in Version 16.105 (Build 25121117).
25027
+ * To test this feature, join the {@link https://techcommunity.microsoft.com/kb/microsoft-365-insider-kb/join-the-microsoft-365-insider-program-on-macos/4401756 | Microsoft 365 Insider program}
25028
+ * and select the **Beta Channel** option to access Office beta builds.
25018
25029
  */
25019
25030
  commandId?: string;
25020
25031
  /**
@@ -25203,6 +25214,10 @@ declare namespace Office {
25203
25214
  * `Office.MailboxEnums.MoveSpamItemTo.NoMove`.
25204
25215
  *
25205
25216
  * - If you implement a task pane to open after a reported message is processed, when the `event.completed` call occurs, any task pane that's open or pinned is closed.
25217
+ *
25218
+ * - The `commandId` option is available for preview in Outlook on Mac starting in Version 16.103 (Build 25101816). To test this option, join the
25219
+ * {@link https://techcommunity.microsoft.com/kb/microsoft-365-insider-kb/join-the-microsoft-365-insider-program-on-macos/4401756 | Microsoft 365 Insider program}
25220
+ * and select the **Beta Channel** option to access Office beta builds.
25206
25221
  */
25207
25222
  commandId?: string;
25208
25223
  /**
@@ -25240,6 +25255,10 @@ declare namespace Office {
25240
25255
  * - To retrieve the value of the `contextData` property, you must call `Office.context.mailbox.item.getInitializationContextAsync` in the JavaScript implementation
25241
25256
  * of your task pane. If you create a JSON string using `JSON.stringify()` and assign it to the `contextData` property, you must parse the string using
25242
25257
  * `JSON.parse()` once you retrieve it.
25258
+ *
25259
+ * - The `contextData` option is available for preview in Outlook on Mac starting in Version 16.103 (Build 25101816). To test this option, join the
25260
+ * {@link https://techcommunity.microsoft.com/kb/microsoft-365-insider-kb/join-the-microsoft-365-insider-program-on-macos/4401756 | Microsoft 365 Insider program}
25261
+ * and select the **Beta Channel** option to access Office beta builds.
25243
25262
  */
25244
25263
  contextData?: any;
25245
25264
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.676",
3
+ "version": "1.0.677",
4
4
  "description": "TypeScript definitions for office-js-preview",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -46,7 +46,7 @@
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
48
  "peerDependencies": {},
49
- "typesPublisherContentHash": "f2a767b71cb5d35e435ee4f4daef7230d61dd4a50616ef5321fad1a5ac953a01",
49
+ "typesPublisherContentHash": "9b5968942085820e7f7b7b7484123a9a243559bdc9e1764511227ce1decfab5a",
50
50
  "typeScriptVersion": "5.2",
51
51
  "nonNpm": true
52
52
  }