@types/office-js 1.0.218 → 1.0.219

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/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.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 08 Nov 2021 22:01:41 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
 
office-js/index.d.ts CHANGED
@@ -10290,6 +10290,9 @@ declare namespace Office {
10290
10290
  * appointment on the user's calendar. For new appointments that have not been saved before, no invitation will be sent.
10291
10291
  * Saving an existing appointment will send an update to added or removed attendees.
10292
10292
  *
10293
+ * When working with HTML-formatted content, it's important to note that the Outlook client may modify the content. This means that
10294
+ * subsequent calls to methods like `Body.getAsync`, `Body.setAsync`, and even `saveAsync` may not result in the same content.
10295
+ *
10293
10296
  * **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
10294
10297
  * that when Outlook is in cached mode, it may take some time before the item is actually synced to the server.
10295
10298
  * Until the item is synced, using the item ID will return an error.
@@ -10325,6 +10328,9 @@ declare namespace Office {
10325
10328
  * appointment on the user's calendar. For new appointments that have not been saved before, no invitation will be sent.
10326
10329
  * Saving an existing appointment will send an update to added or removed attendees.
10327
10330
  *
10331
+ * When working with HTML-formatted content, it's important to note that the Outlook client may modify the content. This means that
10332
+ * subsequent calls to methods like `Body.getAsync`, `Body.setAsync`, and even `saveAsync` may not result in the same content.
10333
+ *
10328
10334
  * **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
10329
10335
  * when Outlook is in cached mode, it may take some time before the item is actually synced to the server.
10330
10336
  * Until the item is synced, using the item ID will return an error.
@@ -11656,6 +11662,8 @@ declare namespace Office {
11656
11662
  *
11657
11663
  * **Important**: To use `appendOnSendAsync`, the `ExtendedPermissions` manifest node must include the `AppendOnSend` extended permission.
11658
11664
  *
11665
+ * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
11666
+ *
11659
11667
  * **Note**: To clear data from a previous `appendOnSendAsync` call, you can call it again with the `data` parameter set to `null`.
11660
11668
  *
11661
11669
  * @remarks
@@ -11691,6 +11699,8 @@ declare namespace Office {
11691
11699
  *
11692
11700
  * **Important**: To use `appendOnSendAsync`, the `ExtendedPermissions` manifest node must include the `AppendOnSend` extended permission.
11693
11701
  *
11702
+ * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
11703
+ *
11694
11704
  * **Note**: To clear data from a previous `appendOnSendAsync` call, you can call it again with the `data` parameter set to `null`.
11695
11705
  *
11696
11706
  * @remarks
@@ -11800,6 +11810,8 @@ declare namespace Office {
11800
11810
  * When including links in HTML markup, you can disable online link preview by setting the `id` attribute on the anchor (\<a\>) to "LPNoLP"
11801
11811
  * (see the **Examples** section for a sample).
11802
11812
  *
11813
+ * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
11814
+ *
11803
11815
  * @remarks
11804
11816
  * [Api set: Mailbox 1.1]
11805
11817
  *
@@ -11832,6 +11844,8 @@ declare namespace Office {
11832
11844
  * When including links in HTML markup, you can disable online link preview by setting the `id` attribute on the anchor (\<a\>) to "LPNoLP"
11833
11845
  * (see the **Examples** section for a sample).
11834
11846
  *
11847
+ * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
11848
+ *
11835
11849
  * @remarks
11836
11850
  * [Api set: Mailbox 1.1]
11837
11851
  *
@@ -11858,13 +11872,17 @@ declare namespace Office {
11858
11872
  * When including links in HTML markup, you can disable online link preview by setting the `id` attribute on the anchor (\<a\>) to "LPNoLP"
11859
11873
  * (see the **Examples** section for a sample).
11860
11874
  *
11875
+ * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
11876
+ *
11877
+ * **Important**: In Outlook on Windows and on Mac, the add-in user won't be able to revert this action with the **Undo** command.
11878
+ *
11861
11879
  * @remarks
11862
11880
  * [Api set: Mailbox 1.3]
11863
11881
  *
11864
11882
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadWriteItem`
11865
11883
  *
11866
11884
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
11867
- *
11885
+ *
11868
11886
  * **Errors**:
11869
11887
  *
11870
11888
  * - `DataExceedsMaximumSize`: The data parameter is longer than 1,000,000 characters.
@@ -11889,13 +11907,17 @@ declare namespace Office {
11889
11907
  * When including links in HTML markup, you can disable online link preview by setting the `id` attribute on the anchor (\<a\>) to "LPNoLP"
11890
11908
  * (see the **Examples** section for a sample).
11891
11909
  *
11910
+ * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
11911
+ *
11912
+ * **Important**: In Outlook on Windows and on Mac, the add-in user won't be able to revert this action with the **Undo** command.
11913
+ *
11892
11914
  * @remarks
11893
11915
  * [Api set: Mailbox 1.3]
11894
11916
  *
11895
11917
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadWriteItem`
11896
11918
  *
11897
11919
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
11898
- *
11920
+ *
11899
11921
  * **Errors**:
11900
11922
  *
11901
11923
  * - `DataExceedsMaximumSize`: The data parameter is longer than 1,000,000 characters.
@@ -11917,6 +11939,8 @@ declare namespace Office {
11917
11939
  * When including links in HTML markup, you can disable online link preview by setting the id attribute on the anchor (\<a\>) to "LPNoLP"
11918
11940
  * (see the **Examples** section for a sample).
11919
11941
  *
11942
+ * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
11943
+ *
11920
11944
  * @remarks
11921
11945
  * [Api set: Mailbox 1.1]
11922
11946
  *
@@ -11948,6 +11972,8 @@ declare namespace Office {
11948
11972
  * When including links in HTML markup, you can disable online link preview by setting the id attribute on the anchor (\<a\>) to "LPNoLP"
11949
11973
  * (see the **Examples** section for a sample).
11950
11974
  *
11975
+ * **Recommended**: Call `getTypeAsync` then pass the returned value to the `options.coercionType` parameter.
11976
+ *
11951
11977
  * @remarks
11952
11978
  * [Api set: Mailbox 1.1]
11953
11979
  *
@@ -15189,6 +15215,9 @@ declare namespace Office {
15189
15215
  * appointment on the user's calendar. For new appointments that have not been saved before, no invitation will be sent.
15190
15216
  * Saving an existing appointment will send an update to added or removed attendees.
15191
15217
  *
15218
+ * When working with HTML-formatted content, it's important to note that the Outlook client may modify the content. This means that
15219
+ * subsequent calls to methods like `Body.getAsync`, `Body.setAsync`, and even `saveAsync` may not result in the same content.
15220
+ *
15192
15221
  * **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
15193
15222
  * that when Outlook is in cached mode, it may take some time before the item is actually synced to the server.
15194
15223
  * Until the item is synced, using the itemId will return an error.
@@ -15221,6 +15250,9 @@ declare namespace Office {
15221
15250
  * appointment on the user's calendar. For new appointments that have not been saved before, no invitation will be sent.
15222
15251
  * Saving an existing appointment will send an update to added or removed attendees.
15223
15252
  *
15253
+ * When working with HTML-formatted content, it's important to note that the Outlook client may modify the content. This means that
15254
+ * subsequent calls to methods like `Body.getAsync`, `Body.setAsync`, and even `saveAsync` may not result in the same content.
15255
+ *
15224
15256
  * **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
15225
15257
  * that when Outlook is in cached mode, it may take some time before the item is actually synced to the server.
15226
15258
  * Until the item is synced, using the `itemId` will return an error.
@@ -52366,7 +52398,9 @@ declare namespace Excel {
52366
52398
  accessDenied = "AccessDenied",
52367
52399
  apiNotFound = "ApiNotFound",
52368
52400
  conflict = "Conflict",
52401
+ emptyChartSeries = "EmptyChartSeries",
52369
52402
  filteredRangeConflict = "FilteredRangeConflict",
52403
+ formulaLengthExceedsLimit = "FormulaLengthExceedsLimit",
52370
52404
  generalException = "GeneralException",
52371
52405
  inactiveWorkbook = "InactiveWorkbook",
52372
52406
  insertDeleteConflict = "InsertDeleteConflict",
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.218",
3
+ "version": "1.0.219",
4
4
  "description": "TypeScript definitions for Office.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
6
6
  "license": "MIT",
@@ -40,6 +40,6 @@
40
40
  },
41
41
  "scripts": {},
42
42
  "dependencies": {},
43
- "typesPublisherContentHash": "fc96f9befdba8500f96819a1cad77e416d22373d848ea9e2fa1c4d132f0db5c2",
43
+ "typesPublisherContentHash": "2ffcb9a8db922b880292475e645746b3bf495bbf1ef83a48e5d4949bda83aed2",
44
44
  "typeScriptVersion": "3.7"
45
45
  }