@types/office-js-preview 1.0.267 → 1.0.268

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.
@@ -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: Mon, 08 Nov 2021 22:01:42 GMT
11
+ * Last updated: Tue, 16 Nov 2021 23:01:27 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
@@ -10524,6 +10524,9 @@ declare namespace Office {
10524
10524
  * appointment on the user's calendar. For new appointments that have not been saved before, no invitation will be sent.
10525
10525
  * Saving an existing appointment will send an update to added or removed attendees.
10526
10526
  *
10527
+ * When working with HTML-formatted content, it's important to note that the Outlook client may modify the content. This means that
10528
+ * subsequent calls to methods like `Body.getAsync`, `Body.setAsync`, and even `saveAsync` may not result in the same content.
10529
+ *
10527
10530
  * **Note**: If your add-in calls `saveAsync` on an item in compose mode in order to get an item ID to use with EWS or the REST API, be aware
10528
10531
  * that when Outlook is in cached mode, it may take some time before the item is actually synced to the server.
10529
10532
  * Until the item is synced, using the item ID will return an error.
@@ -10559,6 +10562,9 @@ declare namespace Office {
10559
10562
  * appointment on the user's calendar. For new appointments that have not been saved before, no invitation will be sent.
10560
10563
  * Saving an existing appointment will send an update to added or removed attendees.
10561
10564
  *
10565
+ * When working with HTML-formatted content, it's important to note that the Outlook client may modify the content. This means that
10566
+ * subsequent calls to methods like `Body.getAsync`, `Body.setAsync`, and even `saveAsync` may not result in the same content.
10567
+ *
10562
10568
  * **Note**: If your add-in calls `saveAsync` on an item in compose mode in order to get an item ID to use with EWS or the REST API, be aware that
10563
10569
  * when Outlook is in cached mode, it may take some time before the item is actually synced to the server.
10564
10570
  * Until the item is synced, using the item ID will return an error.
@@ -11962,6 +11968,8 @@ declare namespace Office {
11962
11968
  *
11963
11969
  * **Important**: To use `appendOnSendAsync`, the `ExtendedPermissions` manifest node must include the `AppendOnSend` extended permission.
11964
11970
  *
11971
+ * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
11972
+ *
11965
11973
  * **Note**: To clear data from a previous `appendOnSendAsync` call, you can call it again with the `data` parameter set to `null`.
11966
11974
  *
11967
11975
  * @remarks
@@ -11997,6 +12005,8 @@ declare namespace Office {
11997
12005
  *
11998
12006
  * **Important**: To use `appendOnSendAsync`, the `ExtendedPermissions` manifest node must include the `AppendOnSend` extended permission.
11999
12007
  *
12008
+ * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
12009
+ *
12000
12010
  * **Note**: To clear data from a previous `appendOnSendAsync` call, you can call it again with the `data` parameter set to `null`.
12001
12011
  *
12002
12012
  * @remarks
@@ -12106,6 +12116,8 @@ declare namespace Office {
12106
12116
  * When including links in HTML markup, you can disable online link preview by setting the `id` attribute on the anchor (\<a\>) to "LPNoLP"
12107
12117
  * (see the **Examples** section for a sample).
12108
12118
  *
12119
+ * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
12120
+ *
12109
12121
  * @remarks
12110
12122
  * [Api set: Mailbox 1.1]
12111
12123
  *
@@ -12138,6 +12150,8 @@ declare namespace Office {
12138
12150
  * When including links in HTML markup, you can disable online link preview by setting the `id` attribute on the anchor (\<a\>) to "LPNoLP"
12139
12151
  * (see the **Examples** section for a sample).
12140
12152
  *
12153
+ * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
12154
+ *
12141
12155
  * @remarks
12142
12156
  * [Api set: Mailbox 1.1]
12143
12157
  *
@@ -12164,6 +12178,10 @@ declare namespace Office {
12164
12178
  * When including links in HTML markup, you can disable online link preview by setting the `id` attribute on the anchor (\<a\>) to "LPNoLP"
12165
12179
  * (see the **Examples** section for a sample).
12166
12180
  *
12181
+ * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
12182
+ *
12183
+ * **Important**: In Outlook on Windows and on Mac, the add-in user won't be able to revert this action with the **Undo** command.
12184
+ *
12167
12185
  * @remarks
12168
12186
  * [Api set: Mailbox 1.3]
12169
12187
  *
@@ -12195,6 +12213,10 @@ declare namespace Office {
12195
12213
  * When including links in HTML markup, you can disable online link preview by setting the `id` attribute on the anchor (\<a\>) to "LPNoLP"
12196
12214
  * (see the **Examples** section for a sample).
12197
12215
  *
12216
+ * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
12217
+ *
12218
+ * **Important**: In Outlook on Windows and on Mac, the add-in user won't be able to revert this action with the **Undo** command.
12219
+ *
12198
12220
  * @remarks
12199
12221
  * [Api set: Mailbox 1.3]
12200
12222
  *
@@ -12223,6 +12245,8 @@ declare namespace Office {
12223
12245
  * When including links in HTML markup, you can disable online link preview by setting the id attribute on the anchor (\<a\>) to "LPNoLP"
12224
12246
  * (see the **Examples** section for a sample).
12225
12247
  *
12248
+ * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
12249
+ *
12226
12250
  * @remarks
12227
12251
  * [Api set: Mailbox 1.1]
12228
12252
  *
@@ -12254,6 +12278,8 @@ declare namespace Office {
12254
12278
  * When including links in HTML markup, you can disable online link preview by setting the id attribute on the anchor (\<a\>) to "LPNoLP"
12255
12279
  * (see the **Examples** section for a sample).
12256
12280
  *
12281
+ * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
12282
+ *
12257
12283
  * @remarks
12258
12284
  * [Api set: Mailbox 1.1]
12259
12285
  *
@@ -15664,6 +15690,9 @@ declare namespace Office {
15664
15690
  * appointment on the user's calendar. For new appointments that have not been saved before, no invitation will be sent.
15665
15691
  * Saving an existing appointment will send an update to added or removed attendees.
15666
15692
  *
15693
+ * When working with HTML-formatted content, it's important to note that the Outlook client may modify the content. This means that
15694
+ * subsequent calls to methods like `Body.getAsync`, `Body.setAsync`, and even `saveAsync` may not result in the same content.
15695
+ *
15667
15696
  * **Note**: If your add-in calls `saveAsync` on an item in compose mode in order to get an item ID to use with EWS or the REST API, be aware
15668
15697
  * that when Outlook is in cached mode, it may take some time before the item is actually synced to the server.
15669
15698
  * Until the item is synced, using the itemId will return an error.
@@ -15696,6 +15725,9 @@ declare namespace Office {
15696
15725
  * appointment on the user's calendar. For new appointments that have not been saved before, no invitation will be sent.
15697
15726
  * Saving an existing appointment will send an update to added or removed attendees.
15698
15727
  *
15728
+ * When working with HTML-formatted content, it's important to note that the Outlook client may modify the content. This means that
15729
+ * subsequent calls to methods like `Body.getAsync`, `Body.setAsync`, and even `saveAsync` may not result in the same content.
15730
+ *
15699
15731
  * **Note**: If your add-in calls `saveAsync` on an item in compose mode in order to get an item ID to use with EWS or the REST API, be aware
15700
15732
  * that when Outlook is in cached mode, it may take some time before the item is actually synced to the server.
15701
15733
  * Until the item is synced, using the `itemId` will return an error.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.267",
3
+ "version": "1.0.268",
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",
@@ -40,6 +40,6 @@
40
40
  },
41
41
  "scripts": {},
42
42
  "dependencies": {},
43
- "typesPublisherContentHash": "b0c3bbab29cdf1d5f7472e9b980a09b896e6fc80880ab136046b53e694430074",
43
+ "typesPublisherContentHash": "13b629c2f7619ef0363475e796408b1bafd23764e3b81c2870e1deafeb3d1707",
44
44
  "typeScriptVersion": "3.7"
45
45
  }