@types/office-js 1.0.537 → 1.0.539

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: Thu, 18 Sep 2025 00:47:12 GMT
11
+ * Last updated: Mon, 22 Sep 2025 23:32:14 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -874,7 +874,7 @@ declare namespace Office {
874
874
  * Specifies the Office application in which the add-in is running.
875
875
  *
876
876
  * @remarks
877
- * **Important**: In Outlook, this enum is available from Mailbox requirement set 1.5.
877
+ * **Important**: In Outlook, this enum is available starting with Mailbox requirement set 1.5.
878
878
  */
879
879
  enum HostType {
880
880
  /**
@@ -946,7 +946,7 @@ declare namespace Office {
946
946
  * Specifies the OS or other platform on which the Office application is running.
947
947
  *
948
948
  * @remarks
949
- * **Important**: In Outlook, this enum is available from Mailbox requirement set 1.5.
949
+ * **Important**: In Outlook, this enum is available starting with Mailbox requirement set 1.5.
950
950
  */
951
951
  enum PlatformType {
952
952
  /**
@@ -4661,7 +4661,7 @@ declare namespace Office {
4661
4661
  * Gets information about the environment in which the add-in is running.
4662
4662
  *
4663
4663
  * @remarks
4664
- * **Important**: In Outlook, this property is available from Mailbox requirement set 1.5.
4664
+ * **Important**: In Outlook, this property is available starting with Mailbox requirement set 1.5.
4665
4665
  * For all Mailbox requirement sets, you can use the
4666
4666
  * {@link https://learn.microsoft.com/javascript/api/outlook/office.mailbox?view=outlook-js-1.1&preserve-view=true#outlook-office-mailbox-diagnostics-member | Office.context.mailbox.diagnostics}
4667
4667
  * property to get similar information.
@@ -4703,7 +4703,7 @@ declare namespace Office {
4703
4703
  * Contains the Office application in which the add-in is running.
4704
4704
  *
4705
4705
  * @remarks
4706
- * **Important**: In Outlook, this property is available from Mailbox requirement set 1.5. You can also use the
4706
+ * **Important**: In Outlook, this property is available starting with Mailbox requirement set 1.5. You can also use the
4707
4707
  * `Office.context.diagnostics` property to get the application starting with requirement set 1.5. For all
4708
4708
  * Mailbox requirement sets, you can use the
4709
4709
  * {@link https://learn.microsoft.com/javascript/api/outlook/office.mailbox?view=outlook-js-1.1&preserve-view=true#outlook-office-mailbox-diagnostics-member | Office.context.mailbox.diagnostics}
@@ -4750,7 +4750,7 @@ declare namespace Office {
4750
4750
  * @remarks
4751
4751
  * **Important**:
4752
4752
  *
4753
- * - In Outlook, this property is available from Mailbox requirement set 1.5. You can also use the
4753
+ * - In Outlook, this property is available starting with Mailbox requirement set 1.5. You can also use the
4754
4754
  * `Office.context.diagnostics` property to get the platform starting with requirement set 1.5. For all
4755
4755
  * Mailbox requirement sets, you can use the
4756
4756
  * {@link https://learn.microsoft.com/javascript/api/outlook/office.mailbox?view=outlook-js-1.1&preserve-view=true#outlook-office-mailbox-diagnostics-member | Office.context.mailbox.diagnostics}
@@ -4834,7 +4834,7 @@ declare namespace Office {
4834
4834
  * Provides information about the environment in which the add-in is running.
4835
4835
  *
4836
4836
  * @remarks
4837
- * **Important**: In Outlook, this object is available from Mailbox requirement set 1.5.
4837
+ * **Important**: In Outlook, this object is available starting with Mailbox requirement set 1.5.
4838
4838
  * For all Mailbox requirement sets, you can use the
4839
4839
  * {@link https://learn.microsoft.com/javascript/api/outlook/office.mailbox?view=outlook-js-1.1&preserve-view=true#outlook-office-mailbox-diagnostics-member | Office.context.mailbox.diagnostics}
4840
4840
  * property to get similar information.
@@ -13162,9 +13162,9 @@ declare namespace Office {
13162
13162
  * be the exact same value that was previously passed in the `Body.setAsync` method. The client may modify the value passed to `setAsync` to make it
13163
13163
  * render efficiently with its rendering engine.
13164
13164
  *
13165
- * - In Outlook on the web and {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
13166
- * if the body contains formatted elements, such as tables, lists, and links, specify `Office.CoercionType.Html` in the `getAsync` call.
13167
- * Otherwise, you may receive an unexpected value, such as an empty string.
13165
+ * - In Outlook on the web and {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows}, specifying `Office.CoercionType.Text`
13166
+ * in the `getAsync` call may not always provide reliable formatting. Specify `Office.CoercionType.Html` instead especially if the body contains
13167
+ * formatted elements, such as tables, lists, and links.
13168
13168
  *
13169
13169
  * - In Outlook on the web and new Outlook on Windows, users can organize their messages as conversations or individual messages in **Settings** > **Mail** > **Layout** > **Message organization**
13170
13170
  * (see {@link https://support.microsoft.com/office/57fe0cd8-e90b-4b1b-91e4-a0ba658c0042 | Change how the message list is displayed in Outlook}).
@@ -13202,9 +13202,9 @@ declare namespace Office {
13202
13202
  * be the exact same value that was previously passed in the `Body.setAsync` method. The client may modify the value passed to `setAsync` to make it
13203
13203
  * render efficiently with its rendering engine.
13204
13204
  *
13205
- * - In Outlook on the web and {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
13206
- * if the body contains formatted elements, such as tables, lists, and links, specify `Office.CoercionType.Html` in the `getAsync` call.
13207
- * Otherwise, you may receive an unexpected value, such as an empty string.
13205
+ * - In Outlook on the web and {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows}, specifying `Office.CoercionType.Text`
13206
+ * in the `getAsync` call may not always provide reliable formatting. Specify `Office.CoercionType.Html` instead especially if the body contains
13207
+ * formatted elements, such as tables, lists, and links.
13208
13208
  *
13209
13209
  * - In Outlook on the web and new Outlook on Windows, users can organize their messages as conversations or individual messages in **Settings** > **Mail** > **Layout** > **Message organization**
13210
13210
  * (see {@link https://support.microsoft.com/office/57fe0cd8-e90b-4b1b-91e4-a0ba658c0042 | Change how the message list is displayed in Outlook}).
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.537",
3
+ "version": "1.0.539",
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",
@@ -46,6 +46,6 @@
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
48
  "peerDependencies": {},
49
- "typesPublisherContentHash": "564ddc4468e8a13cd493a15321831db9feee52b4da3e49978a684bf368f246b9",
49
+ "typesPublisherContentHash": "6825bc39e8779db025ef6ccd18cf53d6cd133f14c8ab1027776711aa154df05a",
50
50
  "typeScriptVersion": "5.2"
51
51
  }