@types/office-js-preview 1.0.316 → 1.0.317

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 (https://github.com/OfficeD
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, 21 Jun 2022 21:01:37 GMT
11
+ * Last updated: Tue, 28 Jun 2022 23:32:26 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
@@ -17514,17 +17514,30 @@ declare namespace Office {
17514
17514
  *
17515
17515
  * - New Mac UI, Android: No limit
17516
17516
  *
17517
- * **Important**: In Outlook on the web, if a user created a new message by activating a contact's email address link from their contact or
17518
- * profile card, your add-in's `getAsync` call currently won't return a value in the `displayName` property of the
17519
- * associated `EmailAddressDetails` object. For more details, refer to the
17520
- * {@link https://github.com/OfficeDev/office-js/issues/2201 | related GitHub issue}.
17521
- *
17522
17517
  * @remarks
17523
17518
  * [Api set: Mailbox 1.1]
17524
17519
  *
17525
17520
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadItem`
17526
17521
  *
17527
17522
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
17523
+ *
17524
+ * **Important**: In Outlook on the web and on Windows, if a user creates a new message by activating a contact's email address link from their contact
17525
+ * or profile card, your add-in's `Recipients.getAsync` call returns the contact's email address in the `displayName` property of the associated
17526
+ * `EmailAddressDetails` object instead of the contact's saved name. For more details, refer to the
17527
+ * {@link https://github.com/OfficeDev/office-js/issues/2201 | related GitHub issue}.
17528
+ *
17529
+ * **Important**: The `getAsync` method only returns recipients resolved by the Outlook client. A resolved recipient has the following characteristics.
17530
+ *
17531
+ * - If the recipient has a saved entry in the sender's address book, Outlook resolves the email address to the recipient's saved display name.
17532
+ *
17533
+ * - A Teams meeting status icon appears before the recipient's name or email address.
17534
+ *
17535
+ * - A semicolon appears after the recipient's name or email address.
17536
+ *
17537
+ * - The recipient's name or email address is underlined or enclosed in a box.
17538
+ *
17539
+ * To resolve an email address once it's added to a mail item, the sender must use the **Tab** key or select a suggested contact or email address from
17540
+ * the auto-complete list.
17528
17541
  *
17529
17542
  * @param options - An object literal that contains one or more of the following properties.
17530
17543
  * `asyncContext`: Developers can provide any object they wish to access in the callback method.
@@ -17542,17 +17555,30 @@ declare namespace Office {
17542
17555
  *
17543
17556
  * - New Mac UI, Android: No limit
17544
17557
  *
17545
- * **Important**: In Outlook on the web, if a user created a new message by activating a contact's email address link from their contact or
17546
- * profile card, your add-in's `getAsync` call currently won't return a value in the `displayName` property of the
17547
- * associated `EmailAddressDetails` object. For more details, refer to the
17548
- * {@link https://github.com/OfficeDev/office-js/issues/2201 | related GitHub issue}.
17549
- *
17550
17558
  * @remarks
17551
17559
  * [Api set: Mailbox 1.1]
17552
17560
  *
17553
17561
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadItem`
17554
17562
  *
17555
17563
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
17564
+ *
17565
+ * **Important**: In Outlook on the web and on Windows, if a user creates a new message by activating a contact's email address link from their contact
17566
+ * or profile card, your add-in's `Recipients.getAsync` call returns the contact's email address in the `displayName` property of the associated
17567
+ * `EmailAddressDetails` object instead of the contact's saved name. For more details, refer to the
17568
+ * {@link https://github.com/OfficeDev/office-js/issues/2201 | related GitHub issue}.
17569
+ *
17570
+ * **Important**: The `getAsync` method only returns recipients resolved by the Outlook client. A resolved recipient has the following characteristics.
17571
+ *
17572
+ * - If the recipient has a saved entry in the sender's address book, Outlook resolves the email address to the recipient's saved display name.
17573
+ *
17574
+ * - A Teams meeting status icon appears before the recipient's name or email address.
17575
+ *
17576
+ * - A semicolon appears after the recipient's name or email address.
17577
+ *
17578
+ * - The recipient's name or email address is underlined or enclosed in a box.
17579
+ *
17580
+ * To resolve an email address once it's added to a mail item, the sender must use the **Tab** key or select a suggested contact or email address from
17581
+ * the auto-complete list.
17556
17582
  *
17557
17583
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter
17558
17584
  * of type `Office.AsyncResult`. The `value` property of the result is an array of `EmailAddressDetails` objects.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.316",
3
+ "version": "1.0.317",
4
4
  "description": "TypeScript definitions for Office.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "97181eb5028cd9f7645c39c83042f1a4c6872436e0a1fdf72898b6731e3dc2a7",
48
+ "typesPublisherContentHash": "f19ecff4c37e5e2bfe90d4e84f785282ed2b85d00355182d4fb4e0c340eea623",
49
49
  "typeScriptVersion": "4.0"
50
50
  }