@types/office-js-preview 1.0.325 → 1.0.328
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 +1 -1
- office-js-preview/index.d.ts +24 -28
- office-js-preview/package.json +3 -3
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: Wed, 31 Aug 2022 17:32:44 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
|
@@ -12078,14 +12078,17 @@ declare namespace Office {
|
|
|
12078
12078
|
/**
|
|
12079
12079
|
* Appends on send the specified content to the end of the item body, after any signature.
|
|
12080
12080
|
*
|
|
12081
|
-
*
|
|
12082
|
-
*
|
|
12083
|
-
* append-on-send
|
|
12084
|
-
*
|
|
12085
|
-
* **Important**: If
|
|
12086
|
-
*
|
|
12081
|
+
* To use `appendOnSendAsync`, the `ExtendedPermissions` manifest node must include the `AppendOnSend` extended permission. To learn more
|
|
12082
|
+
* about append-on-send and its configuration, see
|
|
12083
|
+
* {@link https://docs.microsoft.com/office/dev/add-ins/outlook/append-on-send | Implement append-on-send in your Outlook add-in}.
|
|
12084
|
+
*
|
|
12085
|
+
* **Important**: If the {@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins?tabs=windows | on-send feature}
|
|
12086
|
+
* is implemented with append-on-send, the following apply.
|
|
12087
|
+
*
|
|
12088
|
+
* - If the user is running add-ins that implement the on-send feature using `ItemSend` in the manifest, append-on-send runs before on-send functionality.
|
|
12087
12089
|
*
|
|
12088
|
-
*
|
|
12090
|
+
* - If your add-in implements the on-send feature and calls `appendOnSendAsync` in the `ItemSend` handler,
|
|
12091
|
+
* the `appendOnSendAsync` call returns an error as this scenario isn't supported.
|
|
12089
12092
|
*
|
|
12090
12093
|
* **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
|
|
12091
12094
|
*
|
|
@@ -12115,14 +12118,17 @@ declare namespace Office {
|
|
|
12115
12118
|
/**
|
|
12116
12119
|
* Appends on send the specified content to the end of the item body, after any signature.
|
|
12117
12120
|
*
|
|
12118
|
-
*
|
|
12119
|
-
*
|
|
12120
|
-
* append-on-send
|
|
12121
|
-
*
|
|
12122
|
-
* **Important**: If
|
|
12123
|
-
*
|
|
12121
|
+
* To use `appendOnSendAsync`, the `ExtendedPermissions` manifest node must include the `AppendOnSend` extended permission. To learn more
|
|
12122
|
+
* about append-on-send and its configuration, see
|
|
12123
|
+
* {@link https://docs.microsoft.com/office/dev/add-ins/outlook/append-on-send | Implement append-on-send in your Outlook add-in}.
|
|
12124
|
+
*
|
|
12125
|
+
* **Important**: If the {@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-on-send-addins?tabs=windows | on-send feature}
|
|
12126
|
+
* is implemented with append-on-send, the following apply.
|
|
12127
|
+
*
|
|
12128
|
+
* - If the user is running add-ins that implement the on-send feature using `ItemSend` in the manifest, append-on-send runs before on-send functionality.
|
|
12124
12129
|
*
|
|
12125
|
-
*
|
|
12130
|
+
* - If your add-in implements the on-send feature and calls `appendOnSendAsync` in the `ItemSend` handler,
|
|
12131
|
+
* the `appendOnSendAsync` call returns an error as this scenario isn't supported.
|
|
12126
12132
|
*
|
|
12127
12133
|
* **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
|
|
12128
12134
|
*
|
|
@@ -17179,8 +17185,8 @@ declare namespace Office {
|
|
|
17179
17185
|
*
|
|
17180
17186
|
* **Important**:
|
|
17181
17187
|
*
|
|
17182
|
-
* - Only one notification of type
|
|
17183
|
-
*
|
|
17188
|
+
* - Only one notification of type {@link https://docs.microsoft.com/javascript/api/outlook/office.mailboxenums.itemnotificationmessagetype#fields | InsightMessage}
|
|
17189
|
+
* is allowed per add-in. Attempting to add more will throw an error.
|
|
17184
17190
|
*
|
|
17185
17191
|
* - In modern Outlook on the web, you can add an `InsightMessage` notification only in Compose mode.
|
|
17186
17192
|
*
|
|
@@ -17208,8 +17214,8 @@ declare namespace Office {
|
|
|
17208
17214
|
*
|
|
17209
17215
|
* **Important**:
|
|
17210
17216
|
*
|
|
17211
|
-
* - Only one notification of type
|
|
17212
|
-
*
|
|
17217
|
+
* - Only one notification of type {@link https://docs.microsoft.com/javascript/api/outlook/office.mailboxenums.itemnotificationmessagetype#fields | InsightMessage}
|
|
17218
|
+
* is allowed per add-in. Attempting to add more will throw an error.
|
|
17213
17219
|
*
|
|
17214
17220
|
* - In modern Outlook on the web, you can add an `InsightMessage` notification only in Compose mode.
|
|
17215
17221
|
*
|
|
@@ -24403,7 +24409,6 @@ declare namespace Excel {
|
|
|
24403
24409
|
readonly createdDateTime: Date;
|
|
24404
24410
|
/**
|
|
24405
24411
|
* Gets or sets the date and time the task is due.
|
|
24406
|
-
To ensure that calls to `dueDateTime` always occur after calls to `startDateTime`, the DispatchId for `dueDateTime` should be greater than the DispatchId for `startDateTime`.
|
|
24407
24412
|
*
|
|
24408
24413
|
* @remarks
|
|
24409
24414
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
@@ -24436,7 +24441,6 @@ declare namespace Excel {
|
|
|
24436
24441
|
priority: number;
|
|
24437
24442
|
/**
|
|
24438
24443
|
* Gets or sets the date and time the task starts.
|
|
24439
|
-
To ensure that calls to `dueDateTime` always occur after calls to `startDateTime`, the DispatchId for `dueDateTime` should be greater than the DispatchId for `startDateTime`.
|
|
24440
24444
|
*
|
|
24441
24445
|
* @remarks
|
|
24442
24446
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
@@ -59856,7 +59860,6 @@ declare namespace Excel {
|
|
|
59856
59860
|
interface DocumentTaskUpdateData {
|
|
59857
59861
|
/**
|
|
59858
59862
|
* Gets or sets the date and time the task is due.
|
|
59859
|
-
To ensure that calls to `dueDateTime` always occur after calls to `startDateTime`, the DispatchId for `dueDateTime` should be greater than the DispatchId for `startDateTime`.
|
|
59860
59863
|
*
|
|
59861
59864
|
* @remarks
|
|
59862
59865
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
@@ -59881,7 +59884,6 @@ declare namespace Excel {
|
|
|
59881
59884
|
priority?: number;
|
|
59882
59885
|
/**
|
|
59883
59886
|
* Gets or sets the date and time the task starts.
|
|
59884
|
-
To ensure that calls to `dueDateTime` always occur after calls to `startDateTime`, the DispatchId for `dueDateTime` should be greater than the DispatchId for `startDateTime`.
|
|
59885
59887
|
*
|
|
59886
59888
|
* @remarks
|
|
59887
59889
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
@@ -65041,7 +65043,6 @@ declare namespace Excel {
|
|
|
65041
65043
|
createdDateTime?: Date;
|
|
65042
65044
|
/**
|
|
65043
65045
|
* Gets or sets the date and time the task is due.
|
|
65044
|
-
To ensure that calls to `dueDateTime` always occur after calls to `startDateTime`, the DispatchId for `dueDateTime` should be greater than the DispatchId for `startDateTime`.
|
|
65045
65046
|
*
|
|
65046
65047
|
* @remarks
|
|
65047
65048
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
@@ -65074,7 +65075,6 @@ declare namespace Excel {
|
|
|
65074
65075
|
priority?: number;
|
|
65075
65076
|
/**
|
|
65076
65077
|
* Gets or sets the date and time the task starts.
|
|
65077
|
-
To ensure that calls to `dueDateTime` always occur after calls to `startDateTime`, the DispatchId for `dueDateTime` should be greater than the DispatchId for `startDateTime`.
|
|
65078
65078
|
*
|
|
65079
65079
|
* @remarks
|
|
65080
65080
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
@@ -72266,7 +72266,6 @@ declare namespace Excel {
|
|
|
72266
72266
|
createdDateTime?: boolean;
|
|
72267
72267
|
/**
|
|
72268
72268
|
* Gets or sets the date and time the task is due.
|
|
72269
|
-
To ensure that calls to `dueDateTime` always occur after calls to `startDateTime`, the DispatchId for `dueDateTime` should be greater than the DispatchId for `startDateTime`.
|
|
72270
72269
|
*
|
|
72271
72270
|
* @remarks
|
|
72272
72271
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
@@ -72299,7 +72298,6 @@ declare namespace Excel {
|
|
|
72299
72298
|
priority?: boolean;
|
|
72300
72299
|
/**
|
|
72301
72300
|
* Gets or sets the date and time the task starts.
|
|
72302
|
-
To ensure that calls to `dueDateTime` always occur after calls to `startDateTime`, the DispatchId for `dueDateTime` should be greater than the DispatchId for `startDateTime`.
|
|
72303
72301
|
*
|
|
72304
72302
|
* @remarks
|
|
72305
72303
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
@@ -72377,7 +72375,6 @@ declare namespace Excel {
|
|
|
72377
72375
|
createdDateTime?: boolean;
|
|
72378
72376
|
/**
|
|
72379
72377
|
* For EACH ITEM in the collection: Gets or sets the date and time the task is due.
|
|
72380
|
-
To ensure that calls to `dueDateTime` always occur after calls to `startDateTime`, the DispatchId for `dueDateTime` should be greater than the DispatchId for `startDateTime`.
|
|
72381
72378
|
*
|
|
72382
72379
|
* @remarks
|
|
72383
72380
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
@@ -72410,7 +72407,6 @@ declare namespace Excel {
|
|
|
72410
72407
|
priority?: boolean;
|
|
72411
72408
|
/**
|
|
72412
72409
|
* For EACH ITEM in the collection: Gets or sets the date and time the task starts.
|
|
72413
|
-
To ensure that calls to `dueDateTime` always occur after calls to `startDateTime`, the DispatchId for `dueDateTime` should be greater than the DispatchId for `startDateTime`.
|
|
72414
72410
|
*
|
|
72415
72411
|
* @remarks
|
|
72416
72412
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
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.328",
|
|
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": "
|
|
49
|
-
"typeScriptVersion": "4.
|
|
48
|
+
"typesPublisherContentHash": "1190c42988b0784a2096a14bdcd4a515ce214d2a056f78a1f9f5adb53f721fd5",
|
|
49
|
+
"typeScriptVersion": "4.1"
|
|
50
50
|
}
|