@types/office-js-preview 1.0.326 → 1.0.329
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 +41 -19
- 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: Thu, 01 Sep 2022 23:02:42 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
|
*
|
|
@@ -13338,7 +13344,11 @@ declare namespace Office {
|
|
|
13338
13344
|
*
|
|
13339
13345
|
* Apply the following guidelines when you create internet headers in your add-in.
|
|
13340
13346
|
*
|
|
13341
|
-
* - Create the minimum number of headers required.
|
|
13347
|
+
* - Create the minimum number of headers required. The header quota is based on the total size of headers applied to a message. In Exchange Online,
|
|
13348
|
+
* the header limit is capped at 256 KB, while in an Exchange on-premises environment, the limit is determined by your organization's administrator.
|
|
13349
|
+
* For further information on header limits, see
|
|
13350
|
+
* {@link https://docs.microsoft.com/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#message-limits | Exchange Online message limits}
|
|
13351
|
+
* and {@link https://docs.microsoft.com/exchange/mail-flow/message-size-limits?view=exchserver-2019#types-of-message-size-limits | Exchange Server message limits}.
|
|
13342
13352
|
*
|
|
13343
13353
|
* - Name headers so that you can reuse and update their values later. As such, avoid naming headers in a variable manner
|
|
13344
13354
|
* (for example, based on user input, timestamp, etc.).
|
|
@@ -13429,6 +13439,12 @@ declare namespace Office {
|
|
|
13429
13439
|
* the new value.
|
|
13430
13440
|
*
|
|
13431
13441
|
* **Note**: This method is intended to set the values of your custom headers.
|
|
13442
|
+
*
|
|
13443
|
+
* **Important**: The header quota is based on the total size of headers applied to a message. In Exchange Online,
|
|
13444
|
+
* the header limit is capped at 256 KB, while in an Exchange on-premises environment, the limit is determined by your organization's administrator.
|
|
13445
|
+
* For further information on header limits, see
|
|
13446
|
+
* {@link https://docs.microsoft.com/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#message-limits | Exchange Online message limits}
|
|
13447
|
+
* and {@link https://docs.microsoft.com/exchange/mail-flow/message-size-limits?view=exchserver-2019#types-of-message-size-limits | Exchange Server message limits}.
|
|
13432
13448
|
*
|
|
13433
13449
|
* @remarks
|
|
13434
13450
|
* [Api set: Mailbox 1.8]
|
|
@@ -13452,6 +13468,12 @@ declare namespace Office {
|
|
|
13452
13468
|
* the new value.
|
|
13453
13469
|
*
|
|
13454
13470
|
* **Note**: This method is intended to set the values of your custom headers.
|
|
13471
|
+
*
|
|
13472
|
+
* **Important**: The header quota is based on the total size of headers applied to a message. In Exchange Online,
|
|
13473
|
+
* the header limit is capped at 256 KB, while in an Exchange on-premises environment, the limit is determined by your organization's administrator.
|
|
13474
|
+
* For further information on header limits, see
|
|
13475
|
+
* {@link https://docs.microsoft.com/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#message-limits | Exchange Online message limits}
|
|
13476
|
+
* and {@link https://docs.microsoft.com/exchange/mail-flow/message-size-limits?view=exchserver-2019#types-of-message-size-limits | Exchange Server message limits}.
|
|
13455
13477
|
*
|
|
13456
13478
|
* @remarks
|
|
13457
13479
|
* [Api set: Mailbox 1.8]
|
|
@@ -17179,8 +17201,8 @@ declare namespace Office {
|
|
|
17179
17201
|
*
|
|
17180
17202
|
* **Important**:
|
|
17181
17203
|
*
|
|
17182
|
-
* - Only one notification of type
|
|
17183
|
-
*
|
|
17204
|
+
* - Only one notification of type {@link https://docs.microsoft.com/javascript/api/outlook/office.mailboxenums.itemnotificationmessagetype#fields | InsightMessage}
|
|
17205
|
+
* is allowed per add-in. Attempting to add more will throw an error.
|
|
17184
17206
|
*
|
|
17185
17207
|
* - In modern Outlook on the web, you can add an `InsightMessage` notification only in Compose mode.
|
|
17186
17208
|
*
|
|
@@ -17208,8 +17230,8 @@ declare namespace Office {
|
|
|
17208
17230
|
*
|
|
17209
17231
|
* **Important**:
|
|
17210
17232
|
*
|
|
17211
|
-
* - Only one notification of type
|
|
17212
|
-
*
|
|
17233
|
+
* - Only one notification of type {@link https://docs.microsoft.com/javascript/api/outlook/office.mailboxenums.itemnotificationmessagetype#fields | InsightMessage}
|
|
17234
|
+
* is allowed per add-in. Attempting to add more will throw an error.
|
|
17213
17235
|
*
|
|
17214
17236
|
* - In modern Outlook on the web, you can add an `InsightMessage` notification only in Compose mode.
|
|
17215
17237
|
*
|
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.329",
|
|
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": "a829468f42c2a0768df63318e2c4468d919f17a839aba1aa2907e73a1467c67e",
|
|
49
|
+
"typeScriptVersion": "4.1"
|
|
50
50
|
}
|