@types/office-js 1.0.428 → 1.0.429

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: 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
office-js/index.d.ts CHANGED
@@ -13859,10 +13859,16 @@ declare namespace Office {
13859
13859
  * Gets the email address type of a recipient.
13860
13860
  *
13861
13861
  * @remarks
13862
- * **Important**: A `recipientType` property value isn't returned by the
13862
+ * **Important**:
13863
+ *
13864
+ * - A `recipientType` property value isn't returned by the
13863
13865
  * {@link https://learn.microsoft.com/javascript/api/outlook/office.from?view=outlook-js-1.7#outlook-office-from-getasync-member(1) | Office.context.mailbox.item.from.getAsync}
13864
13866
  * and {@link https://learn.microsoft.com/javascript/api/outlook/office.organizer?view=outlook-js-1.7#outlook-office-organizer-getasync-member(1) | Office.context.mailbox.item.organizer.getAsync} methods.
13865
13867
  * The email sender or appointment organizer is always a user whose email address is on the Exchange server.
13868
+ *
13869
+ * - 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,
13870
+ * 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.
13871
+ * To get the correct recipient types after switching accounts, you must first remove the existing recipients, then add them back to the mail item.
13866
13872
  */
13867
13873
  recipientType: MailboxEnums.RecipientType | string;
13868
13874
  }
@@ -19057,6 +19063,10 @@ declare namespace Office {
19057
19063
  * {@link Office.EmailAddressDetails | EmailAddressDetails} object instead of the contact's saved name.
19058
19064
  * For more details, see {@link https://github.com/OfficeDev/office-js/issues/2201 | related GitHub issue}.
19059
19065
  *
19066
+ * 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,
19067
+ * 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.
19068
+ * To get the correct recipient types after switching accounts, you must first remove the existing recipients, then add them back to the mail item.
19069
+ *
19060
19070
  * @param options - An object literal that contains one or more of the following properties:-
19061
19071
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
19062
19072
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
@@ -19102,6 +19112,10 @@ declare namespace Office {
19102
19112
  * {@link Office.EmailAddressDetails | EmailAddressDetails} object instead of the contact's saved name.
19103
19113
  * For more details, see {@link https://github.com/OfficeDev/office-js/issues/2201 | related GitHub issue}.
19104
19114
  *
19115
+ * 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,
19116
+ * 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.
19117
+ * To get the correct recipient types after switching accounts, you must first remove the existing recipients, then add them back to the mail item.
19118
+ *
19105
19119
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
19106
19120
  * of type `Office.AsyncResult`. The `asyncResult.value` property of the result is an array of
19107
19121
  * {@link Office.EmailAddressDetails | EmailAddressDetails} objects.
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.428",
3
+ "version": "1.0.429",
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": "54cc561bb975d8514929927a52489bc4680a6a29c440cf4ce23fc85170397781",
48
+ "typesPublisherContentHash": "60ad0ded958135c080e0d2aa0c085ede7dd5972cdd901e61960b414c96fe922a",
49
49
  "typeScriptVersion": "4.8"
50
50
  }