@types/office-js-preview 1.0.459 → 1.0.461

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, 28 Mar 2024 20:35:30 GMT
11
+ * Last updated: Mon, 08 Apr 2024 18:09:13 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -11377,9 +11377,9 @@ declare namespace Office {
11377
11377
  */
11378
11378
  isAllDayEvent: boolean;
11379
11379
  /**
11380
- * Gets the Exchange Web Services item class of the selected item.
11380
+ * Gets the Exchange Web Services item class of the selected appointment.
11381
11381
  *
11382
- * You can create custom message classes that extends a default message class, for example, a custom appointment message class `IPM.Appointment.Contoso`.
11382
+ * Returns `IPM.Appointment` for non-recurring appointments and `IPM.Appointment.Occurrence` for recurring appointments.
11383
11383
  *
11384
11384
  * @remarks
11385
11385
  *
@@ -11387,26 +11387,7 @@ declare namespace Office {
11387
11387
  *
11388
11388
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Attendee
11389
11389
  *
11390
- * The `itemClass` property specifies the message class of the selected item. The following are the default message classes for the message or appointment item.
11391
- *
11392
- * <table>
11393
- * <tr>
11394
- * <th>Type</th>
11395
- * <th>Description</th>
11396
- * <th>Item Class</th>
11397
- * </tr>
11398
- * <tr>
11399
- * <td>Appointment items</td>
11400
- * <td>These are calendar items of the item class IPM.Appointment or IPM.Appointment.Occurrence.</td>
11401
- * <td>IPM.Appointment, IPM.Appointment.Occurrence</td>
11402
- * </tr>
11403
- * <tr>
11404
- * <td>Message items</td>
11405
- * <td>These include email messages that have the default message class IPM.Note, and meeting requests, responses, and cancellations, that use IPM.Schedule.Meeting as the base message class.</td>
11406
- * <td>IPM.Note, IPM.Schedule.Meeting.Request, IPM.Schedule.Meeting.Neg, IPM.Schedule.Meeting.Pos, IPM.Schedule.Meeting.Tent, IPM.Schedule.Meeting.Canceled</td>
11407
- * </tr>
11408
- * </table>
11409
- *
11390
+ * **Important**: You can create custom classes that extend a default item class. For example, `IPM.Appointment.Contoso`.
11410
11391
  */
11411
11392
  itemClass: string;
11412
11393
  /**
@@ -91492,7 +91473,7 @@ declare namespace Word {
91492
91473
  *
91493
91474
  * @param contentControlState State to be set.
91494
91475
  */
91495
- setState(contentControlState: "Error"): void;
91476
+ setState(contentControlState: "Error" | "Warning"): void;
91496
91477
  /**
91497
91478
  * Splits the content control into child ranges by using delimiters.
91498
91479
  *
@@ -99689,6 +99670,13 @@ declare namespace Word {
99689
99670
  * @beta
99690
99671
  */
99691
99672
  error = "Error",
99673
+ /**
99674
+ * Warning state.
99675
+ * @remarks
99676
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
99677
+ * @beta
99678
+ */
99679
+ warning = "Warning",
99692
99680
  }
99693
99681
  /**
99694
99682
  * The supported styles for underline format.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.459",
3
+ "version": "1.0.461",
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,7 +45,7 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "2d57a9d62eb0100a08fbfd514d6790146b0bfd1209e54d070281ec7ea46a4dac",
48
+ "typesPublisherContentHash": "d960151f9ff70b53163f94072ac81dc317b480319e272203762c186c9cf71a8f",
49
49
  "typeScriptVersion": "4.7",
50
50
  "nonNpm": true
51
51
  }