@types/office-js 1.0.393 → 1.0.394

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: Fri, 31 May 2024 21:07:10 GMT
11
+ * Last updated: Fri, 07 Jun 2024 00:25:08 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -11022,6 +11022,10 @@ declare namespace Office {
11022
11022
  *
11023
11023
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
11024
11024
  *
11025
+ * *Important**: The `removeAttachmentAsync` method doesn't remove inline attachments from a mail item.
11026
+ * To remove an inline attachment, first get the item's body, then remove any references of the attachment from its contents.
11027
+ * Use the {@link https://learn.microsoft.com/javascript/api/outlook/office.body | Office.Body} APIs to get and set the body of an item.
11028
+ *
11025
11029
  * **Errors**:
11026
11030
  *
11027
11031
  * - `InvalidAttachmentId`: The attachment identifier does not exist.
@@ -11051,6 +11055,10 @@ declare namespace Office {
11051
11055
  *
11052
11056
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
11053
11057
  *
11058
+ * *Important**: The `removeAttachmentAsync` method doesn't remove inline attachments from a mail item.
11059
+ * To remove an inline attachment, first get the item's body, then remove any references of the attachment from its contents.
11060
+ * Use the {@link https://learn.microsoft.com/javascript/api/outlook/office.body | Office.Body} APIs to get and set the body of an item.
11061
+ *
11054
11062
  * **Errors**:
11055
11063
  *
11056
11064
  * - `InvalidAttachmentId`: The attachment identifier does not exist.
@@ -16995,6 +17003,10 @@ declare namespace Office {
16995
17003
  *
16996
17004
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
16997
17005
  *
17006
+ * *Important**: The `removeAttachmentAsync` method doesn't remove inline attachments from a mail item.
17007
+ * To remove an inline attachment, first get the item's body, then remove any references of the attachment from its contents.
17008
+ * Use the {@link https://learn.microsoft.com/javascript/api/outlook/office.body | Office.Body} APIs to get and set the body of an item.
17009
+ *
16998
17010
  * **Errors**:
16999
17011
  *
17000
17012
  * - `InvalidAttachmentId`: The attachment identifier does not exist.
@@ -17024,6 +17036,10 @@ declare namespace Office {
17024
17036
  *
17025
17037
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
17026
17038
  *
17039
+ * *Important**: The `removeAttachmentAsync` method doesn't remove inline attachments from a mail item.
17040
+ * To remove an inline attachment, first get the item's body, then remove any references of the attachment from its contents.
17041
+ * Use the {@link https://learn.microsoft.com/javascript/api/outlook/office.body | Office.Body} APIs to get and set the body of an item.
17042
+ *
17027
17043
  * **Errors**:
17028
17044
  *
17029
17045
  * - `InvalidAttachmentId`: The attachment identifier does not exist.
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.393",
3
+ "version": "1.0.394",
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",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "d0c009e0f7eaef88d5bdd0db3b1d1e570811c8b65b0a521f34681d6a1a95197c",
48
+ "typesPublisherContentHash": "0dc9cf2f71d799e043e1dfae04acf914e4d2adbc62fff35d59147a014f89eab1",
49
49
  "typeScriptVersion": "4.7"
50
50
  }