@types/office-js 1.0.412 → 1.0.414

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, 12 Aug 2024 18:39:04 GMT
11
+ * Last updated: Thu, 22 Aug 2024 23:07:34 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -10316,6 +10316,22 @@ declare namespace Office {
10316
10316
  * only support Normal and Private sensitivity levels.
10317
10317
  */
10318
10318
  sensitivity: Sensitivity;
10319
+ /**
10320
+ * Gets the object to get or set the {@link Office.SensitivityLabel | sensitivity label} of an appointment.
10321
+ *
10322
+ * @remarks
10323
+ * [Api set: Mailbox 1.13]
10324
+ *
10325
+ * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
10326
+ *
10327
+ * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10328
+ *
10329
+ * **Important**: To use the sensitivity label feature in your add-in, you must have a Microsoft 365 E5 subscription.
10330
+ *
10331
+ * To learn more about how to manage sensitivity labels in your add-in, see
10332
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode}.
10333
+ */
10334
+ sensitivityLabel: SensitivityLabel;
10319
10335
  /**
10320
10336
  * Gets the ID of the series that an instance belongs to.
10321
10337
  *
@@ -12679,10 +12695,16 @@ declare namespace Office {
12679
12695
  *
12680
12696
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
12681
12697
  *
12682
- * **Important**: When working with HTML-formatted bodies, it's important to note that the value returned by the `Body.getAsync` method won't necessarily
12698
+ * **Important**:
12699
+ *
12700
+ * - When working with HTML-formatted bodies, it's important to note that the value returned by the `Body.getAsync` method won't necessarily
12683
12701
  * 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
12684
12702
  * render efficiently with its rendering engine.
12685
12703
  *
12704
+ * - In Outlook on the web and {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
12705
+ * if the body contains formatted elements, such as tables, lists, and links, specify `Office.CoercionType.Html` in the `getAsync` call.
12706
+ * Otherwise, you may receive an unexpected value, such as an empty string.
12707
+ *
12686
12708
  * @param coercionType - The format for the returned body.
12687
12709
  * @param options - An object literal that contains one or more of the following properties:-
12688
12710
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
@@ -12702,10 +12724,16 @@ declare namespace Office {
12702
12724
  *
12703
12725
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
12704
12726
  *
12705
- * **Important**: When working with HTML-formatted bodies, it's important to note that the value returned by the `Body.getAsync` method won't necessarily
12727
+ * **Important**:
12728
+ *
12729
+ * - When working with HTML-formatted bodies, it's important to note that the value returned by the `Body.getAsync` method won't necessarily
12706
12730
  * 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
12707
12731
  * render efficiently with its rendering engine.
12708
12732
  *
12733
+ * - In Outlook on the web and {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows},
12734
+ * if the body contains formatted elements, such as tables, lists, and links, specify `Office.CoercionType.Html` in the `getAsync` call.
12735
+ * Otherwise, you may receive an unexpected value, such as an empty string.
12736
+ *
12709
12737
  * @param coercionType - The format for the returned body.
12710
12738
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
12711
12739
  * of type Office.AsyncResult. The body is provided in the requested format in the `asyncResult.value` property.
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.412",
3
+ "version": "1.0.414",
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": "5b233252e5b8991ddebae66b8e74df96960f11a01f7639737e9e43263d38c9a9",
48
+ "typesPublisherContentHash": "23a022f56b99cce4941f0be732db365fe92d24a0de8b29b5f0feac14016f8de4",
49
49
  "typeScriptVersion": "4.8"
50
50
  }