@types/office-js-preview 1.0.279 → 1.0.283

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,9 +8,9 @@ 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: Thu, 13 Jan 2022 20:01:40 GMT
11
+ * Last updated: Fri, 28 Jan 2022 01:01:26 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
15
15
  # Credits
16
- These definitions were written by [OfficeDev](https://github.com/OfficeDev), [Ricky Kirkham](https://github.com/Rick-Kirkham), [Alex Jerabek](https://github.com/AlexJerabek), [Elizabeth Samuel](https://github.com/ElizabethSamuel-MSFT), and [Alison McKay](https://github.com/alison-mk).
16
+ These definitions were written by [OfficeDev](https://github.com/OfficeDev), [Ricky Kirkham](https://github.com/Rick-Kirkham), [Alex Jerabek](https://github.com/AlexJerabek), [Elizabeth Samuel](https://github.com/ElizabethSamuel-MSFT), [Alison McKay](https://github.com/alison-mk), and [Sam Ramon](https://github.com/samantharamon).
@@ -4,7 +4,8 @@
4
4
  // Ricky Kirkham <https://github.com/Rick-Kirkham>,
5
5
  // Alex Jerabek <https://github.com/AlexJerabek>,
6
6
  // Elizabeth Samuel <https://github.com/ElizabethSamuel-MSFT>,
7
- // Alison McKay <https://github.com/alison-mk>
7
+ // Alison McKay <https://github.com/alison-mk>,
8
+ // Sam Ramon <https://github.com/samantharamon>
8
9
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
9
10
  // TypeScript Version: 2.4
10
11
 
@@ -11904,8 +11905,11 @@ declare namespace Office {
11904
11905
  /**
11905
11906
  * Gets the MIME content type of the attachment.
11906
11907
  *
11907
- * **Important**: While the `contentType` value is a direct lookup of the attachment's extension, the internal mapping isn't actively maintained.
11908
- * If you require specific types, grab the attachment's extension and process accordingly.
11908
+ * **Warning**: While the `contentType` value is a direct lookup of the attachment's extension, the internal mapping isn't actively maintained
11909
+ * so this property has been deprecated. If you require specific types, grab the attachment's extension and process accordingly. For details,
11910
+ * refer to the {@link https://devblogs.microsoft.com/microsoft365dev/outlook-javascript-api-deprecation-for-attachmentdetails-contenttype-property/ | related blog post }.
11911
+ *
11912
+ * @deprecated If you require specific content types, grab the attachment's extension and process accordingly.
11909
11913
  */
11910
11914
  contentType: string;
11911
11915
  /**
@@ -14122,7 +14126,9 @@ declare namespace Office {
14122
14126
  *
14123
14127
  * `attachments.name`: A string that contains the name of the attachment, up to 255 characters in length.
14124
14128
  *
14125
- * `attachments.url`: Only used if type is set to file. The URI of the location for the file.
14129
+ * `attachments.url`: Only used if type is set to file. The URI of the location for the file. **Important**: This link must be
14130
+ * publicly accessible, without need for authentication by Exchange Online servers. However, with on-premises Exchange, the link can
14131
+ * be accessible on a private network as long as it doesn't need further authentication.
14126
14132
  *
14127
14133
  * `attachments.isInline`: Only used if type is set to file. If true, indicates that the attachment will be shown inline in the
14128
14134
  * message body, and should not be displayed in the attachment list.
@@ -14167,7 +14173,9 @@ declare namespace Office {
14167
14173
  *
14168
14174
  * `attachments.name`: A string that contains the name of the attachment, up to 255 characters in length.
14169
14175
  *
14170
- * `attachments.url`: Only used if type is set to file. The URI of the location for the file.
14176
+ * `attachments.url`: Only used if type is set to file. The URI of the location for the file. **Important**: This link must be
14177
+ * publicly accessible, without need for authentication by Exchange Online servers. However, with on-premises Exchange, the link can
14178
+ * be accessible on a private network as long as it doesn't need further authentication.
14171
14179
  *
14172
14180
  * `attachments.isInline`: Only used if type is set to file. If true, indicates that the attachment will be shown inline in the
14173
14181
  * message body, and should not be displayed in the attachment list.
@@ -14216,7 +14224,9 @@ declare namespace Office {
14216
14224
  *
14217
14225
  * `attachments.name`: A string that contains the name of the attachment, up to 255 characters in length.
14218
14226
  *
14219
- * `attachments.url`: Only used if type is set to file. The URI of the location for the file.
14227
+ * `attachments.url`: Only used if type is set to file. The URI of the location for the file. **Important**: This link must be
14228
+ * publicly accessible, without need for authentication by Exchange Online servers. However, with on-premises Exchange, the link can
14229
+ * be accessible on a private network as long as it doesn't need further authentication.
14220
14230
  *
14221
14231
  * `attachments.isInline`: Only used if type is set to file. If true, indicates that the attachment will be shown inline in the
14222
14232
  * message body, and should not be displayed in the attachment list.
@@ -17861,6 +17871,9 @@ declare namespace Office {
17861
17871
  name: string;
17862
17872
  /**
17863
17873
  * Only used if type is set to file. The URI of the location for the file.
17874
+ *
17875
+ * **Important**: This link must be publicly accessible, without need for authentication by Exchange Online servers. However, with
17876
+ * on-premises Exchange, the link can be accessible on a private network as long as it doesn't need further authentication.
17864
17877
  */
17865
17878
  url?: string;
17866
17879
  /**
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.279",
3
+ "version": "1.0.283",
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",
@@ -29,6 +29,11 @@
29
29
  "name": "Alison McKay",
30
30
  "url": "https://github.com/alison-mk",
31
31
  "githubUsername": "alison-mk"
32
+ },
33
+ {
34
+ "name": "Sam Ramon",
35
+ "url": "https://github.com/samantharamon",
36
+ "githubUsername": "samantharamon"
32
37
  }
33
38
  ],
34
39
  "main": "",
@@ -40,6 +45,6 @@
40
45
  },
41
46
  "scripts": {},
42
47
  "dependencies": {},
43
- "typesPublisherContentHash": "e9165fb259e6225283b2207ca446452331492201f9bef211e017c6faa6f3354d",
48
+ "typesPublisherContentHash": "55019b51fc55b12ce027f578437961a9bc7d6c0fcc544e0b32fecb3850e08381",
44
49
  "typeScriptVersion": "3.8"
45
50
  }