@types/office-js 1.0.567 → 1.0.568

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: Mon, 05 Jan 2026 20:38:29 GMT
11
+ * Last updated: Tue, 06 Jan 2026 21:35:44 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -16892,7 +16892,8 @@ declare namespace Office {
16892
16892
  * **Important**:
16893
16893
  *
16894
16894
  * - The `from` and `sender` properties represent the same person unless the message is sent by a delegate with **Send on behalf** permissions.
16895
- * In this case, the `from` property returns the delegator's email address and the `sender` property returns the delegate's address. For information about mailbox delegation, see
16895
+ * In this case, the `from` property returns the email address of the mailbox owner or shared mailbox, and the `sender` property returns the address of the delegate.
16896
+ * If the delegate has both **Send on behalf** and **Send as** permissions, the **Send as** permission applies. For information about mailbox delegation, see
16896
16897
  * {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
16897
16898
  *
16898
16899
  * - The `recipientType` property of the `EmailAddressDetails` object in the `from` property is undefined.
@@ -16908,8 +16909,13 @@ declare namespace Office {
16908
16909
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
16909
16910
  *
16910
16911
  * **Important**: In the **Sent Items** folder, the `internetMessageId` may not be available yet on recently sent items. In that case,
16911
- * consider using {@link https://learn.microsoft.com/office/dev/add-ins/outlook/web-services | Exchange Web Services} to get this
16912
- * {@link https://learn.microsoft.com/exchange/client-developer/web-service-reference/internetmessageid | property from the server}.
16912
+ * consider using one of the following options depending on your Exchange environment.
16913
+ *
16914
+ * - For Exchange Online, use {@link https://learn.microsoft.com/office/dev/add-ins/outlook/microsoft-graph | Microsoft Graph} to get the
16915
+ * {@link https://learn.microsoft.com/graph/api/resources/message | internetMessageId} property.
16916
+ *
16917
+ * - For Exchange Server (on-premises), use {@link https://learn.microsoft.com/office/dev/add-ins/outlook/web-services | Exchange Web Services} to get the
16918
+ * {@link https://learn.microsoft.com/exchange/client-developer/web-service-reference/internetmessageid | InternetMessageId} property from the server.
16913
16919
  */
16914
16920
  internetMessageId: string;
16915
16921
  /**
@@ -17098,7 +17104,8 @@ declare namespace Office {
17098
17104
  * **Important**:
17099
17105
  *
17100
17106
  * - The `from` and `sender` properties represent the same person unless the message is sent by a delegate with **Send on behalf** permissions.
17101
- * In this case, the `from` property returns the delegator's email address and the `sender` property returns the delegate's address. For information about mailbox delegation, see
17107
+ * In this case, the `from` property returns the email address of the mailbox owner or shared mailbox, and the `sender` property returns the address of the delegate.
17108
+ * If the delegate has both **Send on behalf** and **Send as** permissions, the **Send as** permission applies. For information about mailbox delegation, see
17102
17109
  * {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
17103
17110
  *
17104
17111
  * - The `recipientType` property of the `EmailAddressDetails` object in the `sender` property is undefined.
@@ -21081,7 +21088,8 @@ declare namespace Office {
21081
21088
  * **Important**:
21082
21089
  *
21083
21090
  * - The `from` and `sender` properties represent the same person unless the message is sent by a delegate with **Send on behalf** permissions.
21084
- * In this case, the `from` property returns the delegator's email address and the `sender` property returns the delegate's address. For information about mailbox delegation, see
21091
+ * In this case, the `from` property returns the email address of the mailbox owner or shared mailbox, and the `sender` property returns the address of the delegate.
21092
+ * If the delegate has both **Send on behalf** and **Send as** permissions, the **Send as** permission applies. For information about mailbox delegation, see
21085
21093
  * {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
21086
21094
  *
21087
21095
  * - The `recipientType` property of the `EmailAddressDetails` object in the `from` property is undefined.
@@ -21090,15 +21098,20 @@ declare namespace Office {
21090
21098
  /**
21091
21099
  * Gets the internet message identifier for an email message.
21092
21100
  *
21093
- * **Important**: In the **Sent Items** folder, the `internetMessageId` may not be available yet on recently sent items. In that case,
21094
- * consider using {@link https://learn.microsoft.com/office/dev/add-ins/outlook/web-services | Exchange Web Services} to get this
21095
- * {@link https://learn.microsoft.com/exchange/client-developer/web-service-reference/internetmessageid | property from the server}.
21096
- *
21097
21101
  * @remarks
21098
21102
  *
21099
21103
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
21100
21104
  *
21101
21105
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
21106
+ *
21107
+ * **Important**: In the **Sent Items** folder, the `internetMessageId` may not be available yet on recently sent items. In that case,
21108
+ * consider using one of the following options depending on your Exchange environment.
21109
+ *
21110
+ * - For Exchange Online, use {@link https://learn.microsoft.com/office/dev/add-ins/outlook/microsoft-graph | Microsoft Graph} to get the
21111
+ * {@link https://learn.microsoft.com/graph/api/resources/message | internetMessageId} property.
21112
+ *
21113
+ * - For Exchange Server (on-premises), use {@link https://learn.microsoft.com/office/dev/add-ins/outlook/web-services | Exchange Web Services} to get the
21114
+ * {@link https://learn.microsoft.com/exchange/client-developer/web-service-reference/internetmessageid | InternetMessageId} property from the server.
21102
21115
  */
21103
21116
  internetMessageId: string;
21104
21117
  /**
@@ -21276,7 +21289,8 @@ declare namespace Office {
21276
21289
  * **Important**:
21277
21290
  *
21278
21291
  * - The `from` and `sender` properties represent the same person unless the message is sent by a delegate with **Send on behalf** permissions.
21279
- * In this case, the `from` property returns the delegator's email address and the `sender` property returns the delegate's address. For information about mailbox delegation, see
21292
+ * In this case, the `from` property returns the email address of the mailbox owner or shared mailbox, and the `sender` property returns the address of the delegate.
21293
+ * If the delegate has both **Send on behalf** and **Send as** permissions, the **Send as** permission applies. For information about mailbox delegation, see
21280
21294
  * {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
21281
21295
  *
21282
21296
  * - The `recipientType` property of the `EmailAddressDetails` object in the `sender` property is undefined.
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.567",
3
+ "version": "1.0.568",
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",
@@ -46,6 +46,6 @@
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
48
  "peerDependencies": {},
49
- "typesPublisherContentHash": "5e292d8ff223a2aac7652e554b88c67f445c536708f4f494fb5cee28e9b12f16",
49
+ "typesPublisherContentHash": "e6a95f6b0aaed3283a97be625b29514cb658e8cf71bec53d9d55eb27807f5486",
50
50
  "typeScriptVersion": "5.2"
51
51
  }