@types/office-js 1.0.265 → 1.0.266

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, 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
 
office-js/index.d.ts CHANGED
@@ -16876,11 +16876,6 @@ declare namespace Office {
16876
16876
  *
16877
16877
  * - New Mac UI, Android: No limit
16878
16878
  *
16879
- * **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
16880
- * profile card, your add-in's `getAsync` call currently won't return a value in the `displayName` property of the
16881
- * associated `EmailAddressDetails` object. For more details, refer to the
16882
- * {@link https://github.com/OfficeDev/office-js/issues/2201 | related GitHub issue}.
16883
- *
16884
16879
  * @remarks
16885
16880
  * [Api set: Mailbox 1.1]
16886
16881
  *
@@ -16888,6 +16883,24 @@ declare namespace Office {
16888
16883
  *
16889
16884
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
16890
16885
  *
16886
+ * **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
16887
+ * or profile card, your add-in's `Recipients.getAsync` call returns the contact's email address in the `displayName` property of the associated
16888
+ * `EmailAddressDetails` object instead of the contact's saved name. For more details, refer to the
16889
+ * {@link https://github.com/OfficeDev/office-js/issues/2201 | related GitHub issue}.
16890
+ *
16891
+ * **Important**: The `getAsync` method only returns recipients resolved by the Outlook client. A resolved recipient has the following characteristics.
16892
+ *
16893
+ * - 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.
16894
+ *
16895
+ * - A Teams meeting status icon appears before the recipient's name or email address.
16896
+ *
16897
+ * - A semicolon appears after the recipient's name or email address.
16898
+ *
16899
+ * - The recipient's name or email address is underlined or enclosed in a box.
16900
+ *
16901
+ * 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
16902
+ * the auto-complete list.
16903
+ *
16891
16904
  * @param options - An object literal that contains one or more of the following properties.
16892
16905
  * `asyncContext`: Developers can provide any object they wish to access in the callback method.
16893
16906
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter
@@ -16904,11 +16917,6 @@ declare namespace Office {
16904
16917
  *
16905
16918
  * - New Mac UI, Android: No limit
16906
16919
  *
16907
- * **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
16908
- * profile card, your add-in's `getAsync` call currently won't return a value in the `displayName` property of the
16909
- * associated `EmailAddressDetails` object. For more details, refer to the
16910
- * {@link https://github.com/OfficeDev/office-js/issues/2201 | related GitHub issue}.
16911
- *
16912
16920
  * @remarks
16913
16921
  * [Api set: Mailbox 1.1]
16914
16922
  *
@@ -16916,6 +16924,24 @@ declare namespace Office {
16916
16924
  *
16917
16925
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
16918
16926
  *
16927
+ * **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
16928
+ * or profile card, your add-in's `Recipients.getAsync` call returns the contact's email address in the `displayName` property of the associated
16929
+ * `EmailAddressDetails` object instead of the contact's saved name. For more details, refer to the
16930
+ * {@link https://github.com/OfficeDev/office-js/issues/2201 | related GitHub issue}.
16931
+ *
16932
+ * **Important**: The `getAsync` method only returns recipients resolved by the Outlook client. A resolved recipient has the following characteristics.
16933
+ *
16934
+ * - 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.
16935
+ *
16936
+ * - A Teams meeting status icon appears before the recipient's name or email address.
16937
+ *
16938
+ * - A semicolon appears after the recipient's name or email address.
16939
+ *
16940
+ * - The recipient's name or email address is underlined or enclosed in a box.
16941
+ *
16942
+ * 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
16943
+ * the auto-complete list.
16944
+ *
16919
16945
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter
16920
16946
  * of type `Office.AsyncResult`. The `value` property of the result is an array of `EmailAddressDetails` objects.
16921
16947
  */
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.265",
3
+ "version": "1.0.266",
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",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "66794b598666aaf73e4945e997e0f4c749ff0c485018cde28493cff662255997",
48
+ "typesPublisherContentHash": "0ed2d9c97fc5f0d41dbb1a23226ff853bd56f0cae874222fb3ef74c97248d56f",
49
49
  "typeScriptVersion": "4.0"
50
50
  }