@types/office-js-preview 1.0.452 → 1.0.454

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: Fri, 09 Feb 2024 17:35:52 GMT
11
+ * Last updated: Thu, 15 Feb 2024 19:35:54 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -948,11 +948,11 @@ declare namespace Office {
948
948
  */
949
949
  officeTheme: OfficeTheme;
950
950
  /**
951
- * Gets a partition key for local storage. Add-ins should use this key as the location to securely store data.
951
+ * Gets a partition key for local storage. Add-ins should use this partition key as part of the storage key to securely store data. The partition key is `undefined` in environments without partitioning, such as the browser controls for Windows applications.
952
952
  *
953
953
  * @remarks
954
954
  *
955
- * The hashed value of the UserPrincipalName (UPN) for the add-in's current partition.
955
+ * See the article {@link https://learn.microsoft.com/office/dev/add-ins/develop/persisting-add-in-state-and-settings | Persist add-in state and settings} for more information.
956
956
  */
957
957
  partitionKey: string;
958
958
  /**
@@ -2376,18 +2376,10 @@ declare namespace Office {
2376
2376
  *
2377
2377
  * Only task pane add-ins for Outlook support Mailbox API set event types.
2378
2378
  *
2379
- * @remarks
2380
- *
2381
- * **`BindingDataChanged` and `BindingSelectionChanged` applications**: Excel, Word.
2382
- *
2383
2379
  */
2384
2380
  enum EventType {
2385
2381
  /**
2386
- * A Document.ActiveViewChanged event was raised in PowerPoint.
2387
- *
2388
- * @remarks
2389
- *
2390
- * **Applications**: PowerPoint
2382
+ * A `Document.ActiveViewChanged` event was raised in PowerPoint.
2391
2383
  */
2392
2384
  ActiveViewChanged,
2393
2385
  /**
@@ -2412,22 +2404,17 @@ declare namespace Office {
2412
2404
  */
2413
2405
  AttachmentsChanged,
2414
2406
  /**
2415
- * Occurs when data within the binding is changed.
2407
+ * Occurs when data within the binding is changed in Excel or Word.
2408
+ *
2416
2409
  * To add an event handler for the BindingDataChanged event of a binding, use the addHandlerAsync method of the Binding object.
2417
2410
  * The event handler receives an argument of type {@link Office.BindingDataChangedEventArgs}.
2418
- *
2419
- * @remarks
2420
- *
2421
- * **Applications**: Excel, Word
2422
2411
  */
2423
2412
  BindingDataChanged,
2424
2413
  /**
2425
- * Occurs when the selection is changed within the binding. To add an event handler for the BindingSelectionChanged event of a binding, use
2426
- * the addHandlerAsync method of the Binding object. The event handler receives an argument of type {@link Office.BindingSelectionChangedEventArgs}.
2427
- *
2428
- * @remarks
2429
- *
2430
- * **Applications**: Excel, Word
2414
+ * Occurs when the selection is changed within the binding in Excel or Word.
2415
+ *
2416
+ * To add an event handler for the `BindingSelectionChanged` event of a binding, use
2417
+ * the `addHandlerAsync` method of the `Binding` object. The event handler receives an argument of type {@link Office.BindingSelectionChangedEventArgs}.
2431
2418
  */
2432
2419
  BindingSelectionChanged,
2433
2420
  /**
@@ -2443,11 +2430,7 @@ declare namespace Office {
2443
2430
  */
2444
2431
  DialogParentMessageReceived,
2445
2432
  /**
2446
- * Triggers when a document-level selection happens.
2447
- *
2448
- * @remarks
2449
- *
2450
- * **Applications**: Excel, Word
2433
+ * Triggers when a document-level selection happens in Excel or Word.
2451
2434
  */
2452
2435
  DocumentSelectionChanged,
2453
2436
  /**
@@ -2484,15 +2467,15 @@ declare namespace Office {
2484
2467
  */
2485
2468
  ItemChanged,
2486
2469
  /**
2487
- * Triggers when a customXmlPart node is deleted.
2470
+ * Triggers when a `customXmlPart` node is deleted.
2488
2471
  */
2489
2472
  NodeDeleted,
2490
2473
  /**
2491
- * Triggers when a customXmlPart node is inserted.
2474
+ * Triggers when a `customXmlPart` node is inserted.
2492
2475
  */
2493
2476
  NodeInserted,
2494
2477
  /**
2495
- * Triggers when a customXmlPart node is replaced.
2478
+ * Triggers when a `customXmlPart` node is replaced.
2496
2479
  */
2497
2480
  NodeReplaced,
2498
2481
  /**
@@ -2509,7 +2492,7 @@ declare namespace Office {
2509
2492
  OfficeThemeChanged,
2510
2493
  /**
2511
2494
  * Occurs when the recipient list of the selected item or the appointment location is changed in Outlook.
2512
- * **Important**: This event can only be handled in a task pane. It isn't supported by function commands.
2495
+ * **Important**: Only available with task pane implementation.
2513
2496
  *
2514
2497
  * To add an event handler for the `RecipientsChanged` event, use the `addHandlerAsync` method of the `Item` object.
2515
2498
  * The event handler receives an argument of type
@@ -2520,7 +2503,7 @@ declare namespace Office {
2520
2503
  RecipientsChanged,
2521
2504
  /**
2522
2505
  * Occurs when the recurrence pattern of the selected series is changed in Outlook.
2523
- * **Important**: This event can only be handled in a task pane. It isn't supported by function commands.
2506
+ * **Important**: Only available with task pane implementation.
2524
2507
  *
2525
2508
  * To add an event handler for the `RecurrenceChanged` event, use the `addHandlerAsync` method of the `Item` object.
2526
2509
  * The event handler receives an argument of type
@@ -2554,11 +2537,7 @@ declare namespace Office {
2554
2537
  */
2555
2538
  SensitivityLabelChanged,
2556
2539
  /**
2557
- * A Settings.settingsChanged event was raised.
2558
- *
2559
- * @remarks
2560
- *
2561
- * **Applications**: Excel, PowerPoint, Word
2540
+ * A `Settings.settingsChanged` event was raised in Excel, PowerPoint, or Word.
2562
2541
  */
2563
2542
  SettingsChanged,
2564
2543
  /**
@@ -8865,9 +8844,16 @@ declare namespace Office {
8865
8844
  *
8866
8845
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
8867
8846
  *
8868
- * **Important**: Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
8869
- * entities in mail items to perform tasks on them. To help minimize potential disruptions, the following will still be supported after entity-based
8870
- * contextual add-ins are retired.
8847
+ * **Important**: Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. The work to retire this feature will start in May and continue
8848
+ * until the end of June. After June, contextual add-ins will no longer be able to detect entities in mail items to perform tasks on them.
8849
+ * The following APIs will also be retired.
8850
+ *
8851
+ * - `Office.context.mailbox.item.getEntities`
8852
+ * - `Office.context.mailbox.item.getEntitiesByType`
8853
+ * - `Office.context.mailbox.item.getFilteredEntitiesByName`
8854
+ * - `Office.context.mailbox.item.getSelectedEntities`
8855
+ *
8856
+ * To help minimize potential disruptions, the following will still be supported after entity-based contextual add-ins are retired.
8871
8857
  *
8872
8858
  * - An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed. Once support for
8873
8859
  * entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation to activate the
@@ -11885,18 +11871,12 @@ declare namespace Office {
11885
11871
  *
11886
11872
  * **Important**:
11887
11873
  *
11888
- * - Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
11889
- * entities in mail items to perform tasks on them.
11890
- *
11891
- * An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed.
11892
- * Once support for entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation
11893
- * to activate the **Join Meeting** button.
11894
- *
11874
+ * - Entity-based contextual Outlook add-ins, including the `getEntities` method, will be retired in Q2 of 2024. The work to retire this method will
11875
+ * start in May and continue until the end of June. After June, contextual add-ins will no longer be able to detect entities in mail items to perform tasks on them.
11895
11876
  * Regular expression rules will continue to be supported after entity-based contextual add-ins are retired. We recommend updating your contextual add-in
11896
11877
  * to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
11897
11878
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/use-regular-expressions-to-show-an-outlook-add-in | Use regular expression activation rules to show an Outlook add-in}.
11898
- *
11899
- * For more information, see
11879
+ * To learn more about the retirement of entity-based contextual Outlook add-ins, see
11900
11880
  * {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
11901
11881
  *
11902
11882
  * - This method isn't supported in Outlook on Android or on iOS. For more information on supported APIs in Outlook mobile, see
@@ -11920,18 +11900,12 @@ declare namespace Office {
11920
11900
  *
11921
11901
  * **Important**:
11922
11902
  *
11923
- * - Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
11924
- * entities in mail items to perform tasks on them.
11925
- *
11926
- * An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed.
11927
- * Once support for entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation
11928
- * to activate the **Join Meeting** button.
11929
- *
11903
+ * - Entity-based contextual Outlook add-ins, including the `getEntitiesByType` method, will be retired in Q2 of 2024. The work to retire this method will
11904
+ * start in May and continue until the end of June. After June, contextual add-ins will no longer be able to detect entities in mail items to perform tasks on them.
11930
11905
  * Regular expression rules will continue to be supported after entity-based contextual add-ins are retired. We recommend updating your contextual add-in
11931
11906
  * to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
11932
11907
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/use-regular-expressions-to-show-an-outlook-add-in | Use regular expression activation rules to show an Outlook add-in}.
11933
- *
11934
- * For more information, see
11908
+ * To learn more about the retirement of entity-based contextual Outlook add-ins, see
11935
11909
  * {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
11936
11910
  *
11937
11911
  * - This method isn't supported in Outlook on Android or on iOS. For more information on supported APIs in Outlook mobile, see
@@ -12003,18 +11977,12 @@ declare namespace Office {
12003
11977
  *
12004
11978
  * **Important**:
12005
11979
  *
12006
- * - Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
12007
- * entities in mail items to perform tasks on them.
12008
- *
12009
- * An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed.
12010
- * Once support for entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation
12011
- * to activate the **Join Meeting** button.
12012
- *
11980
+ * - Entity-based contextual Outlook add-ins, including the `getFilteredEntitiesByName` method, will be retired in Q2 of 2024. The work to retire this method will
11981
+ * start in May and continue until the end of June. After June, contextual add-ins will no longer be able to detect entities in mail items to perform tasks on them.
12013
11982
  * Regular expression rules will continue to be supported after entity-based contextual add-ins are retired. We recommend updating your contextual add-in
12014
11983
  * to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
12015
11984
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/use-regular-expressions-to-show-an-outlook-add-in | Use regular expression activation rules to show an Outlook add-in}.
12016
- *
12017
- * For more information, see
11985
+ * To learn more about the retirement of entity-based contextual Outlook add-ins, see
12018
11986
  * {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
12019
11987
  *
12020
11988
  * - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
@@ -12079,17 +12047,10 @@ declare namespace Office {
12079
12047
  * **Important**:
12080
12048
  *
12081
12049
  * - Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
12082
- * entities in mail items to perform tasks on them.
12083
- *
12084
- * An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed.
12085
- * Once support for entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation
12086
- * to activate the **Join Meeting** button.
12087
- *
12088
- * Regular expression rules will continue to be supported after entity-based contextual add-ins are retired. We recommend updating your contextual add-in
12089
- * to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
12050
+ * entities in mail items to perform tasks on them. Regular expression rules will continue to be supported after entity-based contextual add-ins are retired.
12051
+ * We recommend updating your contextual add-in to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
12090
12052
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/use-regular-expressions-to-show-an-outlook-add-in | Use regular expression activation rules to show an Outlook add-in}.
12091
- *
12092
- * For more information, see
12053
+ * To learn more about the retirement of entity-based contextual add-ins, see
12093
12054
  * {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
12094
12055
  *
12095
12056
  * - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
@@ -12120,17 +12081,10 @@ declare namespace Office {
12120
12081
  * **Important**:
12121
12082
  *
12122
12083
  * - Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
12123
- * entities in mail items to perform tasks on them.
12124
- *
12125
- * An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed.
12126
- * Once support for entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation
12127
- * to activate the **Join Meeting** button.
12128
- *
12129
- * Regular expression rules will continue to be supported after entity-based contextual add-ins are retired. We recommend updating your contextual add-in
12130
- * to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
12084
+ * entities in mail items to perform tasks on them. Regular expression rules will continue to be supported after entity-based contextual add-ins are retired.
12085
+ * We recommend updating your contextual add-in to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
12131
12086
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/use-regular-expressions-to-show-an-outlook-add-in | Use regular expression activation rules to show an Outlook add-in}.
12132
- *
12133
- * For more information, see
12087
+ * To learn more about the retirement of entity-based contextual add-ins, see
12134
12088
  * {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
12135
12089
  *
12136
12090
  * - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
@@ -12158,24 +12112,19 @@ declare namespace Office {
12158
12112
  *
12159
12113
  * **Important**:
12160
12114
  *
12161
- * - Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
12162
- * entities in mail items to perform tasks on them.
12163
- *
12164
- * An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed.
12165
- * Once support for entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation
12166
- * to activate the **Join Meeting** button.
12167
- *
12115
+ * - Entity-based contextual Outlook add-ins, including the `getSelectedEntities` method, will be retired in Q2 of 2024. The work to retire this method will
12116
+ * start in May and continue until the end of June. After June, contextual add-ins will no longer be able to detect entities in mail items to perform tasks on them.
12168
12117
  * Regular expression rules will continue to be supported after entity-based contextual add-ins are retired. We recommend updating your contextual add-in
12169
12118
  * to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
12170
12119
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/use-regular-expressions-to-show-an-outlook-add-in | Use regular expression activation rules to show an Outlook add-in}.
12171
- *
12172
- * For more information, see
12120
+ * To learn more about the retirement of entity-based contextual Outlook add-ins, see
12173
12121
  * {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
12174
12122
  *
12175
12123
  * - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
12176
12124
  * which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365 (preview)}.
12177
12125
  *
12178
- * - This method isn't supported in Outlook on iOS or Android.
12126
+ * - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in Outlook mobile, see
12127
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
12179
12128
  *
12180
12129
  * @param name - The name of the `ItemHasRegularExpressionMatch` rule element that defines the filter to match.
12181
12130
  */
@@ -12200,23 +12149,17 @@ declare namespace Office {
12200
12149
  * **Important**:
12201
12150
  *
12202
12151
  * - Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
12203
- * entities in mail items to perform tasks on them.
12204
- *
12205
- * An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed.
12206
- * Once support for entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation
12207
- * to activate the **Join Meeting** button.
12208
- *
12209
- * Regular expression rules will continue to be supported after entity-based contextual add-ins are retired. We recommend updating your contextual add-in
12210
- * to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
12152
+ * entities in mail items to perform tasks on them. Regular expression rules will continue to be supported after entity-based contextual add-ins are retired.
12153
+ * We recommend updating your contextual add-in to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
12211
12154
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/use-regular-expressions-to-show-an-outlook-add-in | Use regular expression activation rules to show an Outlook add-in}.
12212
- *
12213
- * For more information, see
12155
+ * To learn more about the retirement of entity-based contextual add-ins, see
12214
12156
  * {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
12215
12157
  *
12216
12158
  * - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
12217
12159
  * which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365 (preview)}.
12218
12160
  *
12219
- * - This method isn't supported in Outlook on iOS or Android.
12161
+ * - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in Outlook mobile, see
12162
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
12220
12163
  *
12221
12164
  * - If you specify an `ItemHasRegularExpressionMatch` rule on the body property of an item, the regular expression should further filter the body
12222
12165
  * and shouldn't attempt to return the entire body of the item. Using a regular expression such as .* to obtain the entire body of an item doesn't always return the
@@ -13253,9 +13196,16 @@ declare namespace Office {
13253
13196
  *
13254
13197
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Read
13255
13198
  *
13256
- * **Important**: Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
13257
- * entities in mail items to perform tasks on them. To help minimize potential disruptions, the following will still be supported after entity-based
13258
- * contextual add-ins are retired.
13199
+ * **Important**: Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. The work to retire this feature will start in May and continue
13200
+ * until the end of June. After June, contextual add-ins will no longer be able to detect entities in mail items to perform tasks on them.
13201
+ * The following APIs will also be retired.
13202
+ *
13203
+ * - `Office.context.mailbox.item.getEntities`
13204
+ * - `Office.context.mailbox.item.getEntitiesByType`
13205
+ * - `Office.context.mailbox.item.getFilteredEntitiesByName`
13206
+ * - `Office.context.mailbox.item.getSelectedEntities`
13207
+ *
13208
+ * To help minimize potential disruptions, the following will still be supported after entity-based contextual add-ins are retired.
13259
13209
  *
13260
13210
  * - An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed. Once support for
13261
13211
  * entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation to activate the
@@ -14041,9 +13991,16 @@ declare namespace Office {
14041
13991
  *
14042
13992
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Read
14043
13993
  *
14044
- * **Important**: Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
14045
- * entities in mail items to perform tasks on them. To help minimize potential disruptions, the following will still be supported after entity-based
14046
- * contextual add-ins are retired.
13994
+ * **Important**: Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. The work to retire this feature will start in May and continue
13995
+ * until the end of June. After June, contextual add-ins will no longer be able to detect entities in mail items to perform tasks on them.
13996
+ * The following APIs will also be retired.
13997
+ *
13998
+ * - `Office.context.mailbox.item.getEntities`
13999
+ * - `Office.context.mailbox.item.getEntitiesByType`
14000
+ * - `Office.context.mailbox.item.getFilteredEntitiesByName`
14001
+ * - `Office.context.mailbox.item.getSelectedEntities`
14002
+ *
14003
+ * To help minimize potential disruptions, the following will still be supported after entity-based contextual add-ins are retired.
14047
14004
  *
14048
14005
  * - An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed. Once support for
14049
14006
  * entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation to activate the
@@ -15737,9 +15694,16 @@ declare namespace Office {
15737
15694
  *
15738
15695
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Read
15739
15696
  *
15740
- * **Important**: Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
15741
- * entities in mail items to perform tasks on them. To help minimize potential disruptions, the following will still be supported after entity-based
15742
- * contextual add-ins are retired.
15697
+ * **Important**: Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. The work to retire this feature will start in May and continue
15698
+ * until the end of June. After June, contextual add-ins will no longer be able to detect entities in mail items to perform tasks on them.
15699
+ * The following APIs will also be retired.
15700
+ *
15701
+ * - `Office.context.mailbox.item.getEntities`
15702
+ * - `Office.context.mailbox.item.getEntitiesByType`
15703
+ * - `Office.context.mailbox.item.getFilteredEntitiesByName`
15704
+ * - `Office.context.mailbox.item.getSelectedEntities`
15705
+ *
15706
+ * To help minimize potential disruptions, the following will still be supported after entity-based contextual add-ins are retired.
15743
15707
  *
15744
15708
  * - An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed. Once support for
15745
15709
  * entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation to activate the
@@ -17830,18 +17794,12 @@ declare namespace Office {
17830
17794
  *
17831
17795
  * **Important**:
17832
17796
  *
17833
- * - Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
17834
- * entities in mail items to perform tasks on them.
17835
- *
17836
- * An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed.
17837
- * Once support for entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation
17838
- * to activate the **Join Meeting** button.
17839
- *
17797
+ * - Entity-based contextual Outlook add-ins, including the `getEntities` method, will be retired in Q2 of 2024. The work to retire this method will
17798
+ * start in May and continue until the end of June. After June, contextual add-ins will no longer be able to detect entities in mail items to perform tasks on them.
17840
17799
  * Regular expression rules will continue to be supported after entity-based contextual add-ins are retired. We recommend updating your contextual add-in
17841
17800
  * to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
17842
17801
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/use-regular-expressions-to-show-an-outlook-add-in | Use regular expression activation rules to show an Outlook add-in}.
17843
- *
17844
- * For more information, see
17802
+ * To learn more about the retirement of entity-based contextual Outlook add-ins, see
17845
17803
  * {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
17846
17804
  *
17847
17805
  * - This method isn't supported in Outlook on Android or on iOS. For more information on supported APIs in Outlook mobile, see
@@ -17865,18 +17823,12 @@ declare namespace Office {
17865
17823
  *
17866
17824
  * **Important**:
17867
17825
  *
17868
- * - Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
17869
- * entities in mail items to perform tasks on them.
17870
- *
17871
- * An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed.
17872
- * Once support for entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation
17873
- * to activate the **Join Meeting** button.
17874
- *
17826
+ * - Entity-based contextual Outlook add-ins, including the `getEntitiesByType` method, will be retired in Q2 of 2024. The work to retire this method will
17827
+ * start in May and continue until the end of June. After June, contextual add-ins will no longer be able to detect entities in mail items to perform tasks on them.
17875
17828
  * Regular expression rules will continue to be supported after entity-based contextual add-ins are retired. We recommend updating your contextual add-in
17876
17829
  * to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
17877
17830
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/use-regular-expressions-to-show-an-outlook-add-in | Use regular expression activation rules to show an Outlook add-in}.
17878
- *
17879
- * For more information, see
17831
+ * To learn more about the retirement of entity-based contextual Outlook add-ins, see
17880
17832
  * {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
17881
17833
  *
17882
17834
  * - This method isn't supported in Outlook on Android or on iOS. For more information on supported APIs in Outlook mobile, see
@@ -17949,18 +17901,12 @@ declare namespace Office {
17949
17901
  *
17950
17902
  * **Important**:
17951
17903
  *
17952
- * - Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
17953
- * entities in mail items to perform tasks on them.
17954
- *
17955
- * An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed.
17956
- * Once support for entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation
17957
- * to activate the **Join Meeting** button.
17958
- *
17904
+ * - Entity-based contextual Outlook add-ins, including the `getFilteredEntitiesByName` method, will be retired in Q2 of 2024. The work to retire this method will
17905
+ * start in May and continue until the end of June. After June, contextual add-ins will no longer be able to detect entities in mail items to perform tasks on them.
17959
17906
  * Regular expression rules will continue to be supported after entity-based contextual add-ins are retired. We recommend updating your contextual add-in
17960
17907
  * to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
17961
17908
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/use-regular-expressions-to-show-an-outlook-add-in | Use regular expression activation rules to show an Outlook add-in}.
17962
- *
17963
- * For more information, see
17909
+ * To learn more about the retirement of entity-based contextual Outlook add-ins, see
17964
17910
  * {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
17965
17911
  *
17966
17912
  * - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
@@ -18025,17 +17971,10 @@ declare namespace Office {
18025
17971
  * **Important**:
18026
17972
  *
18027
17973
  * - Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
18028
- * entities in mail items to perform tasks on them.
18029
- *
18030
- * An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed.
18031
- * Once support for entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation
18032
- * to activate the **Join Meeting** button.
18033
- *
18034
- * Regular expression rules will continue to be supported after entity-based contextual add-ins are retired. We recommend updating your contextual add-in
18035
- * to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
17974
+ * entities in mail items to perform tasks on them. Regular expression rules will continue to be supported after entity-based contextual add-ins are retired.
17975
+ * We recommend updating your contextual add-in to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
18036
17976
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/use-regular-expressions-to-show-an-outlook-add-in | Use regular expression activation rules to show an Outlook add-in}.
18037
- *
18038
- * For more information, see
17977
+ * To learn more about the retirement of entity-based contextual add-ins, see
18039
17978
  * {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
18040
17979
  *
18041
17980
  * - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
@@ -18066,17 +18005,10 @@ declare namespace Office {
18066
18005
  * **Important**:
18067
18006
  *
18068
18007
  * - Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
18069
- * entities in mail items to perform tasks on them.
18070
- *
18071
- * An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed.
18072
- * Once support for entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation
18073
- * to activate the **Join Meeting** button.
18074
- *
18075
- * Regular expression rules will continue to be supported after entity-based contextual add-ins are retired. We recommend updating your contextual add-in
18076
- * to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
18008
+ * entities in mail items to perform tasks on them. Regular expression rules will continue to be supported after entity-based contextual add-ins are retired.
18009
+ * We recommend updating your contextual add-in to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
18077
18010
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/use-regular-expressions-to-show-an-outlook-add-in | Use regular expression activation rules to show an Outlook add-in}.
18078
- *
18079
- * For more information, see
18011
+ * To learn more about the retirement of entity-based contextual add-ins, see
18080
18012
  * {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
18081
18013
  *
18082
18014
  * - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
@@ -18106,21 +18038,22 @@ declare namespace Office {
18106
18038
  *
18107
18039
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
18108
18040
  *
18109
- * **Important**: Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
18110
- * entities in mail items to perform tasks on them. To help minimize potential disruptions, the following will still be supported after entity-based
18111
- * contextual add-ins are retired.
18112
- *
18113
- * - An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed. Once support for
18114
- * entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation to activate the
18115
- * **Join Meeting** button.
18041
+ * **Important**:
18116
18042
  *
18117
- * - Regular expression rules will continue to be supported after entity-based contextual add-ins are retired. We recommend updating your contextual add-in
18043
+ * - Entity-based contextual Outlook add-ins, including the `getSelectedEntities` method, will be retired in Q2 of 2024. The work to retire this method will
18044
+ * start in May and continue until the end of June. After June, contextual add-ins will no longer be able to detect entities in mail items to perform tasks on them.
18045
+ * Regular expression rules will continue to be supported after entity-based contextual add-ins are retired. We recommend updating your contextual add-in
18118
18046
  * to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
18119
18047
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/use-regular-expressions-to-show-an-outlook-add-in | Use regular expression activation rules to show an Outlook add-in}.
18120
- *
18121
- * For more information, see
18048
+ * To learn more about the retirement of entity-based contextual Outlook add-ins, see
18122
18049
  * {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
18123
18050
  *
18051
+ * - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
18052
+ * which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365 (preview)}.
18053
+ *
18054
+ * - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in Outlook mobile, see
18055
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
18056
+ *
18124
18057
  * @param name - The name of the `ItemHasRegularExpressionMatch` rule element that defines the filter to match.
18125
18058
  */
18126
18059
  getSelectedEntities(): Entities;
@@ -18144,23 +18077,17 @@ declare namespace Office {
18144
18077
  * **Important**:
18145
18078
  *
18146
18079
  * - Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
18147
- * entities in mail items to perform tasks on them.
18148
- *
18149
- * An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed.
18150
- * Once support for entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation
18151
- * to activate the **Join Meeting** button.
18152
- *
18153
- * Regular expression rules will continue to be supported after entity-based contextual add-ins are retired. We recommend updating your contextual add-in
18154
- * to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
18080
+ * entities in mail items to perform tasks on them. Regular expression rules will continue to be supported after entity-based contextual add-ins are retired.
18081
+ * We recommend updating your contextual add-in to use regular expression rules as an alternative solution. For guidance on how to implement these rules, see
18155
18082
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/use-regular-expressions-to-show-an-outlook-add-in | Use regular expression activation rules to show an Outlook add-in}.
18156
- *
18157
- * For more information, see
18083
+ * To learn more about the retirement of entity-based contextual add-ins, see
18158
18084
  * {@link https://devblogs.microsoft.com/microsoft365dev/retirement-of-entity-based-contextual-outlook-add-ins | Retirement of entity-based contextual Outlook add-ins}.
18159
18085
  *
18160
18086
  * - This method is used with the {@link https://learn.microsoft.com/office/dev/add-ins/outlook/activation-rules | activation rules feature for Outlook add-ins},
18161
18087
  * which isn't supported by the {@link https://learn.microsoft.com/office/dev/add-ins/develop/json-manifest-overview | unified manifest for Microsoft 365 (preview)}.
18162
18088
  *
18163
- * - This method isn't supported in Outlook on iOS or Android.
18089
+ * - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in Outlook mobile, see
18090
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
18164
18091
  *
18165
18092
  * - If you specify an `ItemHasRegularExpressionMatch` rule on the body property of an item, the regular expression should further filter the body
18166
18093
  * and shouldn't attempt to return the entire body of the item. Using a regular expression such as .* to obtain the entire body of an item doesn't always return the
@@ -18732,9 +18659,16 @@ declare namespace Office {
18732
18659
  *
18733
18660
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Read
18734
18661
  *
18735
- * **Important**: Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. Once retired, contextual add-ins will no longer be able to detect
18736
- * entities in mail items to perform tasks on them. To help minimize potential disruptions, the following will still be supported after entity-based
18737
- * contextual add-ins are retired.
18662
+ * **Important**: Entity-based contextual Outlook add-ins will be retired in Q2 of 2024. The work to retire this feature will start in May and continue
18663
+ * until the end of June. After June, contextual add-ins will no longer be able to detect entities in mail items to perform tasks on them.
18664
+ * The following APIs will also be retired.
18665
+ *
18666
+ * - `Office.context.mailbox.item.getEntities`
18667
+ * - `Office.context.mailbox.item.getEntitiesByType`
18668
+ * - `Office.context.mailbox.item.getFilteredEntitiesByName`
18669
+ * - `Office.context.mailbox.item.getSelectedEntities`
18670
+ *
18671
+ * To help minimize potential disruptions, the following will still be supported after entity-based contextual add-ins are retired.
18738
18672
  *
18739
18673
  * - An alternative implementation of the **Join Meeting** button, which is activated by online meeting add-ins, is being developed. Once support for
18740
18674
  * entity-based contextual add-ins ends, online meeting add-ins will automatically transition to the alternative implementation to activate the
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.452",
3
+ "version": "1.0.454",
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": "9a725aac6969fcf22bb5900250be600501c37b8d493d4c06e1d1e5053d38494d",
48
+ "typesPublisherContentHash": "ae0055035ad1532604cb046c100f9b3015c5535d6737ffa235343cadbb72e742",
49
49
  "typeScriptVersion": "4.6",
50
50
  "nonNpm": true
51
51
  }