@types/office-js-preview 1.0.440 → 1.0.441

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,7 +8,7 @@ This package contains type definitions for office-js-preview (https://github.com
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, 18 Jan 2024 19:35:50 GMT
11
+ * Last updated: Thu, 18 Jan 2024 21:07:10 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -8468,6 +8468,8 @@ declare namespace Office {
8468
8468
  /**
8469
8469
  * Treat the item as personal.
8470
8470
  *
8471
+ * **Important**: The Personal sensitivity level is only supported in Outlook on Windows.
8472
+ *
8471
8473
  * @remarks
8472
8474
  * [Api set: Mailbox preview]
8473
8475
  */
@@ -8482,6 +8484,8 @@ declare namespace Office {
8482
8484
  /**
8483
8485
  * Treat the item as confidential.
8484
8486
  *
8487
+ * **Important**: The Confidential sensitivity level is only supported in Outlook on Windows.
8488
+ *
8485
8489
  * @remarks
8486
8490
  * [Api set: Mailbox preview]
8487
8491
  */
@@ -10037,6 +10041,8 @@ declare namespace Office {
10037
10041
  *
10038
10042
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10039
10043
  *
10044
+ * **Important**: Outlook on Mac, Outlook on the web, and the new Outlook on Windows (preview) only support Normal and Private sensitivity levels.
10045
+ *
10040
10046
  * @beta
10041
10047
  */
10042
10048
  sensitivity: Sensitivity;
@@ -11532,6 +11538,8 @@ declare namespace Office {
11532
11538
  *
11533
11539
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Attendee
11534
11540
  *
11541
+ * **Important**: Outlook on Mac, Outlook on the web, and the new Outlook on Windows (preview) only support Normal and Private sensitivity levels.
11542
+ *
11535
11543
  * @beta
11536
11544
  */
11537
11545
  sensitivity: MailboxEnums.AppointmentSensitivityType;
@@ -19433,6 +19441,10 @@ declare namespace Office {
19433
19441
  *
19434
19442
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
19435
19443
  *
19444
+ * **Important**: Outlook on Mac, Outlook on the web, and the new Outlook on Windows (preview) only support Normal and Private sensitivity levels.
19445
+ * If you call `getAsync` on an appointment that has a Confidential or Personal sensitivity level from these clients, the Normal sensitivity level
19446
+ * is returned in the `asyncResult.value` property.
19447
+ *
19436
19448
  * @param options - An object literal that contains one or more of the following properties:-
19437
19449
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
19438
19450
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
@@ -19444,9 +19456,6 @@ declare namespace Office {
19444
19456
  /**
19445
19457
  * Gets the sensitivity level of an appointment.
19446
19458
  *
19447
- * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
19448
- * which is an `Office.AsyncResult` object. The sensitivity level of the appointment is returned in the `asyncResult.value` property.
19449
- *
19450
19459
  * @remarks
19451
19460
  * [Api set: Mailbox preview]
19452
19461
  *
@@ -19454,6 +19463,13 @@ declare namespace Office {
19454
19463
  *
19455
19464
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
19456
19465
  *
19466
+ * **Important**: Outlook on Mac, Outlook on the web, and the new Outlook on Windows (preview) only support Normal and Private sensitivity levels.
19467
+ * If you call `getAsync` on an appointment that has a Confidential or Personal sensitivity level from these clients, the Normal sensitivity level
19468
+ * is returned in the `asyncResult.value` property.
19469
+ *
19470
+ * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
19471
+ * which is an `Office.AsyncResult` object. The sensitivity level of the appointment is returned in the `asyncResult.value` property.
19472
+ *
19457
19473
  * @beta
19458
19474
  */
19459
19475
  getAsync(callback: (asyncResult: Office.AsyncResult<MailboxEnums.AppointmentSensitivityType>) => void): void;
@@ -19467,6 +19483,12 @@ declare namespace Office {
19467
19483
  *
19468
19484
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
19469
19485
  *
19486
+ * **Important**: Outlook on Mac, Outlook on the web, and the new Outlook on Windows (preview) only support Normal and Private sensitivity levels.
19487
+ *
19488
+ * **Errors**:
19489
+ *
19490
+ * - `Unsupported API parameter`: Setting the sensitivity level of an appointment isn't supported.
19491
+ *
19470
19492
  * @param sensitivity - The sensitivity level as an enum or string.
19471
19493
  * @param options - An object literal that contains one or more of the following properties:-
19472
19494
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
@@ -19486,6 +19508,12 @@ declare namespace Office {
19486
19508
  *
19487
19509
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
19488
19510
  *
19511
+ * **Important**: Outlook on Mac, Outlook on the web, and the new Outlook on Windows (preview) only support Normal and Private sensitivity levels.
19512
+ *
19513
+ * **Errors**:
19514
+ *
19515
+ * - `Unsupported API parameter`: Setting the sensitivity level of an appointment isn't supported.
19516
+ *
19489
19517
  * @param sensitivity - The sensitivity level as an enum or string.
19490
19518
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
19491
19519
  * `asyncResult`, which is an `Office.AsyncResult` object.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.440",
3
+ "version": "1.0.441",
4
4
  "description": "TypeScript definitions for office-js-preview",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "41c4798c5e2d83517de56834a5b186f8270b0b5e87ede1c9623af02db4e37383",
48
+ "typesPublisherContentHash": "2dd5cf66e2dcbf14359468bab9c23aa16f67fc30c85a8dd5a04597e058d7cf05",
49
49
  "typeScriptVersion": "4.6"
50
50
  }