@types/office-js-preview 1.0.435 → 1.0.437

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: Mon, 20 Nov 2023 23:36:24 GMT
11
+ * Last updated: Tue, 12 Dec 2023 21:07:04 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -12813,7 +12813,8 @@ declare namespace Office {
12813
12813
  *
12814
12814
  * - In Outlook on the web, `setSignatureAsync` only works on messages.
12815
12815
  *
12816
- * - This method is supported in Message Compose on Outlook on Android and on iOS. For a sample scenario, see
12816
+ * - This method is supported in Message Compose on Outlook on Android. Support for this method in Message Compose on Outlook on iOS is currently being
12817
+ * rolled out. For a sample scenario, see
12817
12818
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-event-based | Implement event-based activation in Outlook mobile add-ins}.
12818
12819
  * To learn more about APIs supported in Outlook mobile, see
12819
12820
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
@@ -12852,7 +12853,8 @@ declare namespace Office {
12852
12853
  *
12853
12854
  * - In Outlook on the web, `setSignatureAsync` only works on messages.
12854
12855
  *
12855
- * - This method is supported in Message Compose on Outlook on Android and on iOS. For a sample scenario, see
12856
+ * - This method is supported in Message Compose on Outlook on Android. Support for this method in Message Compose on Outlook on iOS is currently being
12857
+ * rolled out. For a sample scenario, see
12856
12858
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-event-based | Implement event-based activation in Outlook mobile add-ins}.
12857
12859
  * To learn more about APIs supported in Outlook mobile, see
12858
12860
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
@@ -16097,8 +16099,9 @@ declare namespace Office {
16097
16099
  *
16098
16100
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
16099
16101
  *
16100
- * **Important**: This method is supported in Message Compose on Outlook on Android and on iOS. For more information on supported APIs in
16101
- * Outlook mobile, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
16102
+ * **Important**: This method is supported in Message Compose in Outlook on Android. Support for this method in Message Compose on Outlook on iOS is currently
16103
+ * being rolled out. For more information on supported APIs in Outlook mobile, see
16104
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
16102
16105
  *
16103
16106
  * @param options - An object literal that contains one or more of the following properties:-
16104
16107
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
@@ -16126,8 +16129,9 @@ declare namespace Office {
16126
16129
  *
16127
16130
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
16128
16131
  *
16129
- * **Important**: This method is supported in Message Compose in Outlook on Android and on iOS. For more information on supported APIs in
16130
- * Outlook mobile, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
16132
+ * **Important**: This method is supported in Message Compose in Outlook on Android. Support for this method in Message Compose on Outlook on iOS is currently
16133
+ * being rolled out. For more information on supported APIs in Outlook mobile, see
16134
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
16131
16135
  *
16132
16136
  * @param callback - Optional. When the method completes, the function passed in the callback parameter is called with a single parameter,
16133
16137
  * `asyncResult`, which is an `Office.AsyncResult` object.
@@ -16236,8 +16240,9 @@ declare namespace Office {
16236
16240
  *
16237
16241
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
16238
16242
  *
16239
- * **Important**: This method is supported in Outlook on Android and on iOS. For more information on supported APIs in
16240
- * Outlook mobile, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
16243
+ * **Important**: This method is supported in Outlook on Android. Support for this method in Outlook on iOS is currently being rolled out.
16244
+ * For more information on supported APIs in Outlook mobile, see
16245
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
16241
16246
  *
16242
16247
  * @param options - An object literal that contains one or more of the following properties:-
16243
16248
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
@@ -16260,8 +16265,9 @@ declare namespace Office {
16260
16265
  *
16261
16266
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
16262
16267
  *
16263
- * **Important**: This method is supported in Outlook on Android and on iOS. For more information on supported APIs in
16264
- * Outlook mobile, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
16268
+ * **Important**: This method is supported in Outlook on Android. Support for this method in Outlook on iOS is currently being rolled out.
16269
+ * For more information on supported APIs in Outlook mobile, see
16270
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
16265
16271
  *
16266
16272
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
16267
16273
  * type `Office.AsyncResult`. On success, the `asyncResult.value` property contains an object with the item's compose type
@@ -88899,6 +88905,47 @@ declare namespace Word {
88899
88905
  */
88900
88906
  berry = "Berry",
88901
88907
  }
88908
+ /**
88909
+ * Properties defining the behavior of the pop-up for a given critique.
88910
+ *
88911
+ * @remarks
88912
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
88913
+ * @beta
88914
+ */
88915
+ interface CritiquePopupOptions {
88916
+ /**
88917
+ * Gets the manifest resource id of the string to use for branding.
88918
+ *
88919
+ * @remarks
88920
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
88921
+ * @beta
88922
+ */
88923
+ brandingTextResourceId: string;
88924
+ /**
88925
+ * Gets the manifest resource id of the string to use as subtitle.
88926
+ *
88927
+ * @remarks
88928
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
88929
+ * @beta
88930
+ */
88931
+ subtitleResourceId: string;
88932
+ /**
88933
+ * Gets the suggestions to display in the critique pop-up.
88934
+ *
88935
+ * @remarks
88936
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
88937
+ * @beta
88938
+ */
88939
+ suggestions: string[];
88940
+ /**
88941
+ * Gets the manifest resource id of the string to use as title.
88942
+ *
88943
+ * @remarks
88944
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
88945
+ * @beta
88946
+ */
88947
+ titleResourceId: string;
88948
+ }
88902
88949
  /**
88903
88950
  * Critique that will be rendered as underline for the specified part of paragraph in the document.
88904
88951
  *
@@ -88923,6 +88970,14 @@ declare namespace Word {
88923
88970
  * @beta
88924
88971
  */
88925
88972
  length: number;
88973
+ /**
88974
+ * Specifies the behavior of the pop-up for the critique.
88975
+ *
88976
+ * @remarks
88977
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
88978
+ * @beta
88979
+ */
88980
+ popupOptions: Word.CritiquePopupOptions;
88926
88981
  /**
88927
88982
  * Gets the start index of the critique inside paragraph.
88928
88983
  *
@@ -89201,6 +89256,39 @@ declare namespace Word {
89201
89256
  */
89202
89257
  id: string;
89203
89258
  }
89259
+ /**
89260
+ * Holds action information that is passed back on annotation pop-up action event.
89261
+ *
89262
+ * @remarks
89263
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
89264
+ * @beta
89265
+ */
89266
+ interface AnnotationPopupActionEventArgs {
89267
+ /**
89268
+ * Specifies the chosen action in the pop-up.
89269
+ *
89270
+ * @remarks
89271
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
89272
+ * @beta
89273
+ */
89274
+ action: string;
89275
+ /**
89276
+ * Specifies the suggestion accepted (only populated when accepting a critique suggestion).
89277
+ *
89278
+ * @remarks
89279
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
89280
+ * @beta
89281
+ */
89282
+ critiqueSuggestion: string;
89283
+ /**
89284
+ * Specifies the annotation ID for which the event was fired.
89285
+ *
89286
+ * @remarks
89287
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
89288
+ * @beta
89289
+ */
89290
+ id: string;
89291
+ }
89204
89292
  /**
89205
89293
  * Contains a collection of {@link Word.Annotation} objects.
89206
89294
  *
@@ -92002,7 +92090,6 @@ declare namespace Word {
92002
92090
  getContentControls(options?: Word.ContentControlOptions): Word.ContentControlCollection;
92003
92091
  /**
92004
92092
  * Gets the document's endnotes in a single body.
92005
- Not implemented in Word on the web.
92006
92093
  *
92007
92094
  * @remarks
92008
92095
  * [Api set: WordApi 1.5]
@@ -92010,7 +92097,6 @@ declare namespace Word {
92010
92097
  getEndnoteBody(): Word.Body;
92011
92098
  /**
92012
92099
  * Gets the document's footnotes in a single body.
92013
- Not implemented in Word on the web.
92014
92100
  *
92015
92101
  * @remarks
92016
92102
  * [Api set: WordApi 1.5]
@@ -92152,6 +92238,16 @@ declare namespace Word {
92152
92238
  * @beta
92153
92239
  */
92154
92240
  readonly onAnnotationInserted: OfficeExtension.EventHandlers<Word.AnnotationInsertedEventArgs>;
92241
+ /**
92242
+ * Occurs when the user performs an action in an annotation pop-up.
92243
+ *
92244
+ * @remarks
92245
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
92246
+ *
92247
+ * @eventproperty
92248
+ * @beta
92249
+ */
92250
+ readonly onAnnotationPopupAction: OfficeExtension.EventHandlers<Word.AnnotationPopupActionEventArgs>;
92155
92251
  /**
92156
92252
  * Occurs when the user deletes one or more annotations.
92157
92253
  *
@@ -95140,14 +95236,14 @@ declare namespace Word {
95140
95236
  */
95141
95237
  readonly parentBody: Word.Body;
95142
95238
  /**
95143
- * Gets the content control that contains the range. Throws an `ItemNotFound` error if there isn't a parent content control.
95239
+ * Gets the currently supported content control that contains the range. Throws an `ItemNotFound` error if there isn't a parent content control.
95144
95240
  *
95145
95241
  * @remarks
95146
95242
  * [Api set: WordApi 1.1]
95147
95243
  */
95148
95244
  readonly parentContentControl: Word.ContentControl;
95149
95245
  /**
95150
- * Gets the content control that contains the range. If there isn't a parent content control, then this method will return an object with its `isNullObject` property set to `true`. For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
95246
+ * Gets the currently supported content control that contains the range. If there isn't a parent content control, then this method will return an object with its `isNullObject` property set to `true`. For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
95151
95247
  *
95152
95248
  * @remarks
95153
95249
  * [Api set: WordApi 1.3]
@@ -95800,6 +95896,14 @@ declare namespace Word {
95800
95896
  * [Api set: WordApi 1.6]
95801
95897
  */
95802
95898
  importCustomXmlParts?: boolean;
95899
+ /**
95900
+ * Represents whether to import the Different Odd and Even Pages setting for the header and footer from the source document.
95901
+ *
95902
+ * @remarks
95903
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
95904
+ * @beta
95905
+ */
95906
+ importDifferentOddEvenPages?: boolean;
95803
95907
  /**
95804
95908
  * Represents whether the page color and other background information from the source document should be imported.
95805
95909
  *
@@ -98534,6 +98638,13 @@ declare namespace Word {
98534
98638
  * @beta
98535
98639
  */
98536
98640
  annotationRemoved = "AnnotationRemoved",
98641
+ /**
98642
+ * Represents an action in the annotation pop-up.
98643
+ * @remarks
98644
+ * [Api set: WordApi BETA (PREVIEW ONLY)]
98645
+ * @beta
98646
+ */
98647
+ annotationPopupAction = "AnnotationPopupAction",
98537
98648
  }
98538
98649
  /**
98539
98650
  * An enum that specifies an event's source. It can be local or remote (through coauthoring).
@@ -98576,7 +98687,7 @@ declare namespace Word {
98576
98687
  * [Api set: WordApi BETA (PREVIEW ONLY)]
98577
98688
  * @beta
98578
98689
  */
98579
- eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98690
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98580
98691
  /**
98581
98692
  * Gets the content control IDs.
98582
98693
  *
@@ -98607,7 +98718,7 @@ declare namespace Word {
98607
98718
  * @remarks
98608
98719
  * [Api set: WordApi 1.5]
98609
98720
  */
98610
- eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98721
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98611
98722
  /**
98612
98723
  * Gets the content control IDs.
98613
98724
  *
@@ -98636,7 +98747,7 @@ declare namespace Word {
98636
98747
  * @remarks
98637
98748
  * [Api set: WordApi 1.5]
98638
98749
  */
98639
- eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98750
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98640
98751
  /**
98641
98752
  * Gets the content control IDs.
98642
98753
  *
@@ -98665,7 +98776,7 @@ declare namespace Word {
98665
98776
  * @remarks
98666
98777
  * [Api set: WordApi 1.5]
98667
98778
  */
98668
- eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98779
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98669
98780
  /**
98670
98781
  * Gets the content control IDs.
98671
98782
  *
@@ -98694,7 +98805,7 @@ declare namespace Word {
98694
98805
  * @remarks
98695
98806
  * [Api set: WordApi 1.5]
98696
98807
  */
98697
- eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98808
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98698
98809
  /**
98699
98810
  * Gets the content control IDs.
98700
98811
  *
@@ -98723,7 +98834,7 @@ declare namespace Word {
98723
98834
  * @remarks
98724
98835
  * [Api set: WordApi 1.5]
98725
98836
  */
98726
- eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98837
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98727
98838
  /**
98728
98839
  * Gets the content control IDs.
98729
98840
  *
@@ -98752,7 +98863,7 @@ declare namespace Word {
98752
98863
  * @remarks
98753
98864
  * [Api set: WordApi 1.5]
98754
98865
  */
98755
- eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98866
+ eventType: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98756
98867
  /**
98757
98868
  * Gets the content control IDs.
98758
98869
  *
@@ -98788,7 +98899,7 @@ declare namespace Word {
98788
98899
  * @remarks
98789
98900
  * [Api set: WordApi 1.6]
98790
98901
  */
98791
- type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98902
+ type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98792
98903
  /**
98793
98904
  * Gets the unique IDs of the involved paragraphs. IDs are in standard 8-4-4-4-12 GUID format without curly braces and differ across sessions and coauthors.
98794
98905
  *
@@ -98817,7 +98928,7 @@ declare namespace Word {
98817
98928
  * @remarks
98818
98929
  * [Api set: WordApi 1.6]
98819
98930
  */
98820
- type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98931
+ type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98821
98932
  /**
98822
98933
  * Gets the unique IDs of the involved paragraphs. IDs are in standard 8-4-4-4-12 GUID format without curly braces and differ across sessions and coauthors.
98823
98934
  *
@@ -98846,7 +98957,7 @@ declare namespace Word {
98846
98957
  * @remarks
98847
98958
  * [Api set: WordApi 1.6]
98848
98959
  */
98849
- type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
98960
+ type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98850
98961
  /**
98851
98962
  * Gets the unique IDs of the involved paragraphs. IDs are in standard 8-4-4-4-12 GUID format without curly braces and differ across sessions and coauthors.
98852
98963
  *
@@ -98894,7 +99005,7 @@ declare namespace Word {
98894
99005
  * [Api set: WordApi BETA (PREVIEW ONLY)]
98895
99006
  * @beta
98896
99007
  */
98897
- type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved";
99008
+ type: Word.EventType | "ContentControlDeleted" | "ContentControlSelectionChanged" | "ContentControlDataChanged" | "ContentControlAdded" | "CommentDeleted" | "CommentSelected" | "CommentDeselected" | "CommentChanged" | "CommentAdded" | "ContentControlEntered" | "ContentControlExited" | "ParagraphAdded" | "ParagraphChanged" | "ParagraphDeleted" | "AnnotationClicked" | "AnnotationHovered" | "AnnotationInserted" | "AnnotationRemoved" | "AnnotationPopupAction";
98898
99009
  }
98899
99010
  /**
98900
99011
  * A structure for the ID and reply IDs of this comment.
@@ -102278,6 +102389,7 @@ declare namespace Word {
102278
102389
  generalException = "GeneralException",
102279
102390
  invalidArgument = "InvalidArgument",
102280
102391
  itemNotFound = "ItemNotFound",
102392
+ notAllowed = "NotAllowed",
102281
102393
  notImplemented = "NotImplemented",
102282
102394
  searchDialogIsOpen = "SearchDialogIsOpen",
102283
102395
  searchStringInvalidOrTooLong = "SearchStringInvalidOrTooLong",
@@ -108834,14 +108946,14 @@ declare namespace Word {
108834
108946
  */
108835
108947
  parentBody?: Word.Interfaces.BodyLoadOptions;
108836
108948
  /**
108837
- * Gets the content control that contains the range. Throws an `ItemNotFound` error if there isn't a parent content control.
108949
+ * Gets the currently supported content control that contains the range. Throws an `ItemNotFound` error if there isn't a parent content control.
108838
108950
  *
108839
108951
  * @remarks
108840
108952
  * [Api set: WordApi 1.1]
108841
108953
  */
108842
108954
  parentContentControl?: Word.Interfaces.ContentControlLoadOptions;
108843
108955
  /**
108844
- * Gets the content control that contains the range. If there isn't a parent content control, then this method will return an object with its `isNullObject` property set to `true`. For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
108956
+ * Gets the currently supported content control that contains the range. If there isn't a parent content control, then this method will return an object with its `isNullObject` property set to `true`. For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
108845
108957
  *
108846
108958
  * @remarks
108847
108959
  * [Api set: WordApi 1.3]
@@ -108937,14 +109049,14 @@ declare namespace Word {
108937
109049
  */
108938
109050
  parentBody?: Word.Interfaces.BodyLoadOptions;
108939
109051
  /**
108940
- * For EACH ITEM in the collection: Gets the content control that contains the range. Throws an `ItemNotFound` error if there isn't a parent content control.
109052
+ * For EACH ITEM in the collection: Gets the currently supported content control that contains the range. Throws an `ItemNotFound` error if there isn't a parent content control.
108941
109053
  *
108942
109054
  * @remarks
108943
109055
  * [Api set: WordApi 1.1]
108944
109056
  */
108945
109057
  parentContentControl?: Word.Interfaces.ContentControlLoadOptions;
108946
109058
  /**
108947
- * For EACH ITEM in the collection: Gets the content control that contains the range. If there isn't a parent content control, then this method will return an object with its `isNullObject` property set to `true`. For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
109059
+ * For EACH ITEM in the collection: Gets the currently supported content control that contains the range. If there isn't a parent content control, then this method will return an object with its `isNullObject` property set to `true`. For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
108948
109060
  *
108949
109061
  * @remarks
108950
109062
  * [Api set: WordApi 1.3]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.435",
3
+ "version": "1.0.437",
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": "c446ef08a276e491a7184b6b5c02c3235d4d980a44b00fa4fea70350fac63f88",
49
- "typeScriptVersion": "4.5"
48
+ "typesPublisherContentHash": "211e7dd88043df9dc2b5058b1331305810e268265d5cae92f0e02a9dd2329bab",
49
+ "typeScriptVersion": "4.6"
50
50
  }