@types/office-js-preview 1.0.514 → 1.0.515

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: Thu, 26 Sep 2024 17:38:13 GMT
11
+ * Last updated: Thu, 26 Sep 2024 23:08:14 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -14118,10 +14118,16 @@ declare namespace Office {
14118
14118
  * Gets the email address type of a recipient.
14119
14119
  *
14120
14120
  * @remarks
14121
- * **Important**: A `recipientType` property value isn't returned by the
14121
+ * **Important**:
14122
+ *
14123
+ * - A `recipientType` property value isn't returned by the
14122
14124
  * {@link https://learn.microsoft.com/javascript/api/outlook/office.from?view=outlook-js-preview#outlook-office-from-getasync-member(1) | Office.context.mailbox.item.from.getAsync}
14123
14125
  * and {@link https://learn.microsoft.com/javascript/api/outlook/office.organizer?view=outlook-js-preview#outlook-office-organizer-getasync-member(1) | Office.context.mailbox.item.organizer.getAsync} methods.
14124
14126
  * The email sender or appointment organizer is always a user whose email address is on the Exchange server.
14127
+ *
14128
+ * - While composing a mail item, when you switch to a sender account that's on a different domain than that of the previously selected sender account,
14129
+ * the value of the `recipientType` property for existing recipients isn't updated and will still be based on the domain of the previously selected account.
14130
+ * To get the correct recipient types after switching accounts, you must first remove the existing recipients, then add them back to the mail item.
14125
14131
  */
14126
14132
  recipientType: MailboxEnums.RecipientType | string;
14127
14133
  }
@@ -19417,6 +19423,10 @@ declare namespace Office {
19417
19423
  * {@link Office.EmailAddressDetails | EmailAddressDetails} object instead of the contact's saved name.
19418
19424
  * For more details, see {@link https://github.com/OfficeDev/office-js/issues/2201 | related GitHub issue}.
19419
19425
  *
19426
+ * While composing a mail item, when you switch to a sender account that's on a different domain than that of the previously selected sender account,
19427
+ * the value of the `recipientType` property for existing recipients isn't updated and will still be based on the domain of the previously selected account.
19428
+ * To get the correct recipient types after switching accounts, you must first remove the existing recipients, then add them back to the mail item.
19429
+ *
19420
19430
  * @param options - An object literal that contains one or more of the following properties:-
19421
19431
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
19422
19432
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
@@ -19462,6 +19472,10 @@ declare namespace Office {
19462
19472
  * {@link Office.EmailAddressDetails | EmailAddressDetails} object instead of the contact's saved name.
19463
19473
  * For more details, see {@link https://github.com/OfficeDev/office-js/issues/2201 | related GitHub issue}.
19464
19474
  *
19475
+ * While composing a mail item, when you switch to a sender account that's on a different domain than that of the previously selected sender account,
19476
+ * the value of the `recipientType` property for existing recipients isn't updated and will still be based on the domain of the previously selected account.
19477
+ * To get the correct recipient types after switching accounts, you must first remove the existing recipients, then add them back to the mail item.
19478
+ *
19465
19479
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
19466
19480
  * of type `Office.AsyncResult`. The `asyncResult.value` property of the result is an array of
19467
19481
  * {@link Office.EmailAddressDetails | EmailAddressDetails} objects.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.514",
3
+ "version": "1.0.515",
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",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "95926cee7b239bcf4d21ca7ec6936b57b853ea92ce7ccae72f4342a396a29fe3",
48
+ "typesPublisherContentHash": "b8d64dc2e58846ede99085301834b33a191639355b831fa86fc1725bd9160b14",
49
49
  "typeScriptVersion": "4.8",
50
50
  "nonNpm": true
51
51
  }