@types/office-js-preview 1.0.383 → 1.0.384
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: Mon, 01 May 2023 15:32:48 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
|
@@ -13056,11 +13056,12 @@ declare namespace Office {
|
|
|
13056
13056
|
* @param options - An object literal that contains one or more of the following properties:-
|
|
13057
13057
|
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
|
|
13058
13058
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
13059
|
-
* `asyncResult`, which is an `Office.AsyncResult` object.
|
|
13059
|
+
* `asyncResult`, which is an `Office.AsyncResult` object. The delivery date and time of a message is returned in the
|
|
13060
|
+
* `asyncResult.value` property. If a delivery date hasn't been set on a message yet, `0` is returned instead.
|
|
13060
13061
|
*
|
|
13061
13062
|
* @beta
|
|
13062
13063
|
*/
|
|
13063
|
-
getAsync(options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<Date>) => void): void;
|
|
13064
|
+
getAsync(options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<Date | 0>) => void): void;
|
|
13064
13065
|
/**
|
|
13065
13066
|
* Gets the delivery date and time of a message.
|
|
13066
13067
|
*
|
|
@@ -13072,11 +13073,12 @@ declare namespace Office {
|
|
|
13072
13073
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
13073
13074
|
*
|
|
13074
13075
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
13075
|
-
* `asyncResult`, which is an `Office.AsyncResult` object.
|
|
13076
|
+
* `asyncResult`, which is an `Office.AsyncResult` object. The delivery date and time of a message is returned in the
|
|
13077
|
+
* `asyncResult.value` property. If a delivery date hasn't been set on a message yet, `0` is returned instead.
|
|
13076
13078
|
*
|
|
13077
13079
|
* @beta
|
|
13078
13080
|
*/
|
|
13079
|
-
getAsync(callback?: (asyncResult: Office.AsyncResult<Date>) => void): void;
|
|
13081
|
+
getAsync(callback?: (asyncResult: Office.AsyncResult<Date | 0>) => void): void;
|
|
13080
13082
|
/**
|
|
13081
13083
|
* Sets the delivery date and time of a message.
|
|
13082
13084
|
*
|
|
@@ -13087,11 +13089,15 @@ declare namespace Office {
|
|
|
13087
13089
|
*
|
|
13088
13090
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
13089
13091
|
*
|
|
13092
|
+
* **Errors**:
|
|
13093
|
+
*
|
|
13094
|
+
* - `InvalidFormatError` - The format of the specified data object is not valid.
|
|
13095
|
+
*
|
|
13090
13096
|
* @param datetime - The future date and time when the message should be sent.
|
|
13091
13097
|
* @param options - An object literal that contains one or more of the following properties:-
|
|
13092
13098
|
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
|
|
13093
|
-
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
|
|
13094
|
-
*
|
|
13099
|
+
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
13100
|
+
* `asyncResult`, which is an `Office.AsyncResult` object. Any errors encountered will be provided in the `asyncResult.error` property.
|
|
13095
13101
|
*
|
|
13096
13102
|
* @beta
|
|
13097
13103
|
*/
|
|
@@ -13106,9 +13112,13 @@ declare namespace Office {
|
|
|
13106
13112
|
*
|
|
13107
13113
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
13108
13114
|
*
|
|
13115
|
+
* **Errors**:
|
|
13116
|
+
*
|
|
13117
|
+
* - `InvalidFormatError` - The format of the specified data object is not valid.
|
|
13118
|
+
*
|
|
13109
13119
|
* @param datetime - The future date and time when the message should be sent.
|
|
13110
|
-
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
|
|
13111
|
-
*
|
|
13120
|
+
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
13121
|
+
* `asyncResult`, which is an `Office.AsyncResult` object. Any errors encountered will be provided in the `asyncResult.error` property.
|
|
13112
13122
|
*
|
|
13113
13123
|
* @beta
|
|
13114
13124
|
*/
|
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.384",
|
|
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": "eeff2428e759cfc7f4b594ba23ab730a938cb6fc461d6410ac46614be67789e8",
|
|
49
49
|
"typeScriptVersion": "4.3"
|
|
50
50
|
}
|