@types/office-js-preview 1.0.420 → 1.0.422
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-preview/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-preview.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 06 Oct 2023 19:35:19 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js-preview/index.d.ts
CHANGED
|
@@ -15181,9 +15181,12 @@ declare namespace Office {
|
|
|
15181
15181
|
* To determine the Outlook client in which your add-in is running, use the `mailbox.diagnostics.hostName` property.
|
|
15182
15182
|
*
|
|
15183
15183
|
* @param data - The EWS request.
|
|
15184
|
-
* @param callback - When the method completes, the function passed in the callback parameter is called with a single parameter
|
|
15185
|
-
*
|
|
15186
|
-
*
|
|
15184
|
+
* @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
15185
|
+
* `asyncResult`, which is an `Office.AsyncResult` object. The XML response of the EWS request is provided as a string
|
|
15186
|
+
* in the `asyncResult.value` property. In Outlook on the web, on Windows (starting in Version 2303 (Build 16225.10000)),
|
|
15187
|
+
* and on Mac (starting in Version 16.73 (23042601)), if the response exceeds 5 MB in size, an error message is returned
|
|
15188
|
+
* in the `asyncResult.error` property. In earlier versions of the Outlook desktop client, an error message is returned if
|
|
15189
|
+
* the response exceeds 1 MB in size.
|
|
15187
15190
|
* @param userContext - Optional. Any state data that is passed to the asynchronous method.
|
|
15188
15191
|
*/
|
|
15189
15192
|
makeEwsRequestAsync(data: any, callback: (asyncResult: Office.AsyncResult<string>) => void, userContext?: any): void;
|
|
@@ -19021,18 +19024,30 @@ declare namespace Office {
|
|
|
19021
19024
|
/**
|
|
19022
19025
|
* The identifier of the message conversation that contains the message that's currently selected.
|
|
19023
19026
|
*
|
|
19027
|
+
* @remarks
|
|
19028
|
+
* This property is currently in preview in Outlook on Windows. To test it,
|
|
19029
|
+
* you must install Version 2305 (Build 16501.20210) or later.
|
|
19030
|
+
*
|
|
19024
19031
|
* @beta
|
|
19025
19032
|
*/
|
|
19026
19033
|
conversationId: string;
|
|
19027
19034
|
/**
|
|
19028
19035
|
* Returns `true` if the message that's currently selected contains an attachment.
|
|
19029
19036
|
*
|
|
19037
|
+
* @remarks
|
|
19038
|
+
* This property is currently in preview in Outlook on Windows. To test it,
|
|
19039
|
+
* you must install Version 2305 (Build 16501.20210) or later.
|
|
19040
|
+
*
|
|
19030
19041
|
* @beta
|
|
19031
19042
|
*/
|
|
19032
19043
|
hasAttachment: boolean;
|
|
19033
19044
|
/**
|
|
19034
19045
|
* The internet message identifier of the message that's currently selected.
|
|
19035
19046
|
*
|
|
19047
|
+
* @remarks
|
|
19048
|
+
* This property is currently in preview in Outlook on Windows. To test it,
|
|
19049
|
+
* you must install Version 2305 (Build 16501.20210) or later.
|
|
19050
|
+
*
|
|
19036
19051
|
* @beta
|
|
19037
19052
|
*/
|
|
19038
19053
|
internetMessageId: string;
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.422",
|
|
4
4
|
"description": "TypeScript definitions for Office.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "8e6a6b3b7eeae372f2cf2e7bfd79f3c619862ee811c72a3783be20254da3a0f0",
|
|
49
49
|
"typeScriptVersion": "4.5"
|
|
50
50
|
}
|