@types/office-js 1.0.567 → 1.0.569
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 +1 -1
- office-js/index.d.ts +29 -10
- office-js/package.json +2 -2
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:
|
|
11
|
+
* Last updated: Thu, 22 Jan 2026 23:36:15 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -249,10 +249,15 @@ declare namespace Office {
|
|
|
249
249
|
* Represents the Device Permission interface.
|
|
250
250
|
*/
|
|
251
251
|
const devicePermission: DevicePermission;
|
|
252
|
+
/**
|
|
253
|
+
* Provides options to manage the user interface of an Office Add-in while the add-in is running.
|
|
254
|
+
*/
|
|
255
|
+
const extensionLifeCycle: ExtensionLifeCycle;
|
|
252
256
|
/**
|
|
253
257
|
* Represents the ribbon associated with the Office application.
|
|
254
258
|
*/
|
|
255
259
|
const ribbon: Ribbon;
|
|
260
|
+
|
|
256
261
|
/**
|
|
257
262
|
* Occurs when the runtime environment is loaded and the add-in is ready to start interacting with the application and hosted document.
|
|
258
263
|
*
|
|
@@ -16892,7 +16897,8 @@ declare namespace Office {
|
|
|
16892
16897
|
* **Important**:
|
|
16893
16898
|
*
|
|
16894
16899
|
* - 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
|
|
16900
|
+
* 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.
|
|
16901
|
+
* If the delegate has both **Send on behalf** and **Send as** permissions, the **Send as** permission applies. For information about mailbox delegation, see
|
|
16896
16902
|
* {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
|
|
16897
16903
|
*
|
|
16898
16904
|
* - The `recipientType` property of the `EmailAddressDetails` object in the `from` property is undefined.
|
|
@@ -16908,8 +16914,13 @@ declare namespace Office {
|
|
|
16908
16914
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
16909
16915
|
*
|
|
16910
16916
|
* **Important**: In the **Sent Items** folder, the `internetMessageId` may not be available yet on recently sent items. In that case,
|
|
16911
|
-
* consider using
|
|
16912
|
-
*
|
|
16917
|
+
* consider using one of the following options depending on your Exchange environment.
|
|
16918
|
+
*
|
|
16919
|
+
* - For Exchange Online, use {@link https://learn.microsoft.com/office/dev/add-ins/outlook/microsoft-graph | Microsoft Graph} to get the
|
|
16920
|
+
* {@link https://learn.microsoft.com/graph/api/resources/message | internetMessageId} property.
|
|
16921
|
+
*
|
|
16922
|
+
* - For Exchange Server (on-premises), use {@link https://learn.microsoft.com/office/dev/add-ins/outlook/web-services | Exchange Web Services} to get the
|
|
16923
|
+
* {@link https://learn.microsoft.com/exchange/client-developer/web-service-reference/internetmessageid | InternetMessageId} property from the server.
|
|
16913
16924
|
*/
|
|
16914
16925
|
internetMessageId: string;
|
|
16915
16926
|
/**
|
|
@@ -17098,7 +17109,8 @@ declare namespace Office {
|
|
|
17098
17109
|
* **Important**:
|
|
17099
17110
|
*
|
|
17100
17111
|
* - 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
|
|
17112
|
+
* 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.
|
|
17113
|
+
* If the delegate has both **Send on behalf** and **Send as** permissions, the **Send as** permission applies. For information about mailbox delegation, see
|
|
17102
17114
|
* {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
|
|
17103
17115
|
*
|
|
17104
17116
|
* - The `recipientType` property of the `EmailAddressDetails` object in the `sender` property is undefined.
|
|
@@ -21081,7 +21093,8 @@ declare namespace Office {
|
|
|
21081
21093
|
* **Important**:
|
|
21082
21094
|
*
|
|
21083
21095
|
* - 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
|
|
21096
|
+
* 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.
|
|
21097
|
+
* If the delegate has both **Send on behalf** and **Send as** permissions, the **Send as** permission applies. For information about mailbox delegation, see
|
|
21085
21098
|
* {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
|
|
21086
21099
|
*
|
|
21087
21100
|
* - The `recipientType` property of the `EmailAddressDetails` object in the `from` property is undefined.
|
|
@@ -21090,15 +21103,20 @@ declare namespace Office {
|
|
|
21090
21103
|
/**
|
|
21091
21104
|
* Gets the internet message identifier for an email message.
|
|
21092
21105
|
*
|
|
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
21106
|
* @remarks
|
|
21098
21107
|
*
|
|
21099
21108
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
21100
21109
|
*
|
|
21101
21110
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
|
|
21111
|
+
*
|
|
21112
|
+
* **Important**: In the **Sent Items** folder, the `internetMessageId` may not be available yet on recently sent items. In that case,
|
|
21113
|
+
* consider using one of the following options depending on your Exchange environment.
|
|
21114
|
+
*
|
|
21115
|
+
* - For Exchange Online, use {@link https://learn.microsoft.com/office/dev/add-ins/outlook/microsoft-graph | Microsoft Graph} to get the
|
|
21116
|
+
* {@link https://learn.microsoft.com/graph/api/resources/message | internetMessageId} property.
|
|
21117
|
+
*
|
|
21118
|
+
* - For Exchange Server (on-premises), use {@link https://learn.microsoft.com/office/dev/add-ins/outlook/web-services | Exchange Web Services} to get the
|
|
21119
|
+
* {@link https://learn.microsoft.com/exchange/client-developer/web-service-reference/internetmessageid | InternetMessageId} property from the server.
|
|
21102
21120
|
*/
|
|
21103
21121
|
internetMessageId: string;
|
|
21104
21122
|
/**
|
|
@@ -21276,7 +21294,8 @@ declare namespace Office {
|
|
|
21276
21294
|
* **Important**:
|
|
21277
21295
|
*
|
|
21278
21296
|
* - 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
|
|
21297
|
+
* 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.
|
|
21298
|
+
* If the delegate has both **Send on behalf** and **Send as** permissions, the **Send as** permission applies. For information about mailbox delegation, see
|
|
21280
21299
|
* {@link https://learn.microsoft.com/exchange/recipients-in-exchange-online/manage-permissions-for-recipients | Manage permissions for recipients in Exchange Online}.
|
|
21281
21300
|
*
|
|
21282
21301
|
* - 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.
|
|
3
|
+
"version": "1.0.569",
|
|
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": "
|
|
49
|
+
"typesPublisherContentHash": "8e788ddaad68d2cf04aac7042f1ba724d113ab227e0faddbddd83a0b2b7dfd84",
|
|
50
50
|
"typeScriptVersion": "5.2"
|
|
51
51
|
}
|