@types/office-js-preview 1.0.387 → 1.0.388

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 (https://github.com/OfficeD
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 May 2023 20:32:53 GMT
11
+ * Last updated: Fri, 19 May 2023 21:32:51 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
@@ -990,14 +990,14 @@ declare namespace Office {
990
990
  /**
991
991
  * Gets the object to check the status of the catalog of sensitivity labels in Outlook and retrieve all available
992
992
  * sensitivity labels if the catalog is enabled.
993
- *
993
+ *
994
994
  * @remarks
995
- *
995
+ *
996
+ * [Api set: Mailbox 1.13]
997
+ *
996
998
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
997
999
  *
998
1000
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
999
- *
1000
- * @beta
1001
1001
  */
1002
1002
  sensitivityLabelsCatalog: Office.SensitivityLabelsCatalog;
1003
1003
  /**
@@ -2416,7 +2416,7 @@ declare namespace Office {
2416
2416
  *
2417
2417
  * To add an event handler for the `SelectedItemsChanged` event, use the `addHandlerAsync` method of the `Mailbox` object.
2418
2418
  *
2419
- * [Api set: Mailbox preview]
2419
+ * [Api set: Mailbox 1.13]
2420
2420
  */
2421
2421
  SelectedItemsChanged,
2422
2422
  /**
@@ -2425,11 +2425,9 @@ declare namespace Office {
2425
2425
  *
2426
2426
  * To add an event handler for the `SensitivityLabelChanged` event, use the `addHandlerAsync` method of the `Item` object.
2427
2427
  * The event handler receives an argument of type
2428
- * {@link https://learn.microsoft.com/javascript/api/outlook/office.sensitivitylabelchangedeventargs?view=outlook-js-preview | Office.SensitivityLabelChangedEventArgs}.
2429
- *
2430
- * [Api set: Mailbox preview]
2428
+ * {@link https://learn.microsoft.com/javascript/api/outlook/office.sensitivitylabelchangedeventargs | Office.SensitivityLabelChangedEventArgs}.
2431
2429
  *
2432
- * @beta
2430
+ * [Api set: Mailbox 1.13]
2433
2431
  */
2434
2432
  SensitivityLabelChanged,
2435
2433
  /**
@@ -10542,45 +10540,43 @@ declare namespace Office {
10542
10540
  */
10543
10541
  getSelectedDataAsync(coercionType: Office.CoercionType | string, callback: (asyncResult: Office.AsyncResult<string>) => void): void;
10544
10542
  /**
10545
- * Gets the properties of an appointment or message in a shared folder or shared mailbox (now in preview).
10543
+ * Gets the properties of an appointment or message in a shared folder or shared mailbox.
10546
10544
  *
10547
- * For more information around using this API, see the
10548
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delegate-access | shared folders and shared mailbox} article.
10549
- *
10550
- * **Note**: This method is not supported in Outlook on iOS or Android.
10545
+ * For more information around using this API, see
10546
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delegate-access | Enable shared folders and shared mailbox scenarios in an Outlook add-in}.
10551
10547
  *
10552
10548
  * @remarks
10553
- * [Api set: Mailbox 1.8]
10549
+ * [Api set: Mailbox 1.8 for shared folder support, Mailbox 1.13 for shared mailbox support]
10554
10550
  *
10555
10551
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
10556
10552
  *
10557
10553
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10558
10554
  *
10555
+ * *Note**: This method is not supported in Outlook on iOS or Android.
10556
+ *
10559
10557
  * @param options - An object literal that contains one or more of the following properties:-
10560
10558
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
10561
- * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
10562
- * type `Office.AsyncResult`.
10563
- * The `value` property of the result is the properties of the shared item.
10559
+ * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an
10560
+ * `Office.AsyncResult` object. The `asyncResult.value` property provides the properties of the shared item.
10564
10561
  */
10565
10562
  getSharedPropertiesAsync(options: Office.AsyncContextOptions, callback: (asyncResult: Office.AsyncResult<SharedProperties>) => void): void;
10566
10563
  /**
10567
- * Gets the properties of an appointment or message in a shared folder or shared mailbox (now in preview).
10564
+ * Gets the properties of an appointment or message in a shared folder or shared mailbox.
10568
10565
  *
10569
- * For more information around using this API, see the
10570
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delegate-access | shared folders and shared mailbox} article.
10571
- *
10572
- * **Note**: This method is not supported in Outlook on iOS or Android.
10566
+ * For more information around using this API, see
10567
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delegate-access | Enable shared folders and shared mailbox scenarios in an Outlook add-in}.
10573
10568
  *
10574
10569
  * @remarks
10575
- * [Api set: Mailbox 1.8]
10570
+ * [Api set: Mailbox 1.8 for shared folder support, Mailbox 1.13 for shared mailbox support]
10576
10571
  *
10577
10572
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
10578
10573
  *
10579
10574
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
10580
10575
  *
10581
- * @param callback - When the method completes, the function passed in the callback parameter is called with a single parameter of
10582
- * type `Office.AsyncResult`.
10583
- * The `value` property of the result is the properties of the shared item.
10576
+ * **Note**: This method is not supported in Outlook on iOS or Android.
10577
+ *
10578
+ * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an
10579
+ * `Office.AsyncResult` object. The `asyncResult.value` property provides the properties of the shared item.
10584
10580
  */
10585
10581
  getSharedPropertiesAsync(callback: (asyncResult: Office.AsyncResult<SharedProperties>) => void): void;
10586
10582
  /**
@@ -11886,45 +11882,43 @@ declare namespace Office {
11886
11882
  */
11887
11883
  getSelectedRegExMatches(): any;
11888
11884
  /**
11889
- * Gets the properties of an appointment or message in a shared folder or shared mailbox (now in preview).
11890
- *
11891
- * For more information around using this API, see the
11892
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delegate-access | shared folders and shared mailbox} article.
11885
+ * Gets the properties of an appointment or message in a shared folder or shared mailbox.
11893
11886
  *
11894
- * **Note**: This method is not supported in Outlook on iOS or Android.
11887
+ * For more information around using this API, see
11888
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delegate-access | Enable shared folders and shared mailbox scenarios in an Outlook add-in}.
11895
11889
  *
11896
11890
  * @remarks
11897
- * [Api set: Mailbox 1.8]
11891
+ * [Api set: Mailbox 1.8 for shared folder support, Mailbox 1.13 for shared mailbox support]
11898
11892
  *
11899
11893
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
11900
11894
  *
11901
11895
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Attendee
11902
11896
  *
11897
+ * **Note**: This method is not supported in Outlook on iOS or Android.
11898
+ *
11903
11899
  * @param options - An object literal that contains one or more of the following properties:-
11904
11900
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
11905
- * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
11906
- * type `Office.AsyncResult`.
11907
- * The `value` property of the result is the properties of the shared item.
11901
+ * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an
11902
+ * `Office.AsyncResult` object. The `asyncResult.value` property provides the properties of the shared item.
11908
11903
  */
11909
11904
  getSharedPropertiesAsync(options: Office.AsyncContextOptions, callback: (asyncResult: Office.AsyncResult<SharedProperties>) => void): void;
11910
11905
  /**
11911
- * Gets the properties of an appointment or message in a shared folder or shared mailbox (now in preview).
11912
- *
11913
- * For more information around using this API, see the
11914
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delegate-access | shared folders and shared mailbox} article.
11906
+ * Gets the properties of an appointment or message in a shared folder or shared mailbox.
11915
11907
  *
11916
- * **Note**: This method is not supported in Outlook on iOS or Android.
11908
+ * For more information around using this API, see
11909
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delegate-access | Enable shared folders and shared mailbox scenarios in an Outlook add-in}.
11917
11910
  *
11918
11911
  * @remarks
11919
- * [Api set: Mailbox 1.8]
11912
+ * [Api set: Mailbox 1.8 for shared folder support, Mailbox 1.13 for shared mailbox support]
11920
11913
  *
11921
11914
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
11922
11915
  *
11923
11916
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Attendee
11924
11917
  *
11925
- * @param callback - When the method completes, the function passed in the callback parameter is called with a single parameter of
11926
- * type `Office.AsyncResult`.
11927
- * The `value` property of the result is the properties of the shared item.
11918
+ * **Note**: This method is not supported in Outlook on iOS or Android.
11919
+ *
11920
+ * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an
11921
+ * `Office.AsyncResult` object. The `asyncResult.value` property provides the properties of the shared item.
11928
11922
  */
11929
11923
  getSharedPropertiesAsync(callback: (asyncResult: Office.AsyncResult<SharedProperties>) => void): void;
11930
11924
  /**
@@ -12414,7 +12408,7 @@ declare namespace Office {
12414
12408
  * see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Understanding Outlook add-in permissions}.
12415
12409
  *
12416
12410
  * @remarks
12417
- * [Api set: Mailbox preview]
12411
+ * [Api set: Mailbox 1.13]
12418
12412
  *
12419
12413
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
12420
12414
  *
@@ -12446,8 +12440,6 @@ declare namespace Office {
12446
12440
  * `coercionType`: The desired format for the body. The string in the `data` parameter is converted to this format.
12447
12441
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
12448
12442
  * of type `Office.AsyncResult`. Any errors encountered will be provided in the `asyncResult.error` property.
12449
- *
12450
- * @beta
12451
12443
  */
12452
12444
  prependOnSendAsync(data: string, options: Office.AsyncContextOptions & CoercionTypeOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
12453
12445
  /**
@@ -12457,7 +12449,7 @@ declare namespace Office {
12457
12449
  * see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Understanding Outlook add-in permissions}.
12458
12450
  *
12459
12451
  * @remarks
12460
- * [Api set: Mailbox preview]
12452
+ * [Api set: Mailbox 1.13]
12461
12453
  *
12462
12454
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
12463
12455
  *
@@ -12486,8 +12478,6 @@ declare namespace Office {
12486
12478
  * @param data - The string to be prepended to the beginning of the message or appointment body. The string is limited to 5,000 characters.
12487
12479
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
12488
12480
  * of type `Office.AsyncResult`. Any errors encountered will be provided in the `asyncResult.error` property.
12489
- *
12490
- * @beta
12491
12481
  */
12492
12482
  prependOnSendAsync(data: string, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
12493
12483
  /**
@@ -13038,20 +13028,18 @@ declare namespace Office {
13038
13028
  * The `DelayDeliveryTime` object enables you to manage the delayed delivery date and time of a message.
13039
13029
  *
13040
13030
  * @remarks
13041
- * [Api set: Mailbox preview]
13031
+ * [Api set: Mailbox 1.13]
13042
13032
  *
13043
13033
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
13044
13034
  *
13045
13035
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
13046
- *
13047
- * @beta
13048
13036
  */
13049
13037
  interface DelayDeliveryTime {
13050
13038
  /**
13051
13039
  * Gets the delivery date and time of a message.
13052
13040
  *
13053
13041
  * @remarks
13054
- * [Api set: Mailbox preview]
13042
+ * [Api set: Mailbox 1.13]
13055
13043
  *
13056
13044
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
13057
13045
  *
@@ -13062,15 +13050,13 @@ declare namespace Office {
13062
13050
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13063
13051
  * `asyncResult`, which is an `Office.AsyncResult` object. The delivery date and time of a message is returned in the
13064
13052
  * `asyncResult.value` property. If a delivery date hasn't been set on a message yet, `0` is returned instead.
13065
- *
13066
- * @beta
13067
13053
  */
13068
13054
  getAsync(options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<Date | 0>) => void): void;
13069
13055
  /**
13070
13056
  * Gets the delivery date and time of a message.
13071
13057
  *
13072
13058
  * @remarks
13073
- * [Api set: Mailbox preview]
13059
+ * [Api set: Mailbox 1.13]
13074
13060
  *
13075
13061
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
13076
13062
  *
@@ -13079,15 +13065,13 @@ declare namespace Office {
13079
13065
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13080
13066
  * `asyncResult`, which is an `Office.AsyncResult` object. The delivery date and time of a message is returned in the
13081
13067
  * `asyncResult.value` property. If a delivery date hasn't been set on a message yet, `0` is returned instead.
13082
- *
13083
- * @beta
13084
13068
  */
13085
13069
  getAsync(callback?: (asyncResult: Office.AsyncResult<Date | 0>) => void): void;
13086
13070
  /**
13087
13071
  * Sets the delivery date and time of a message.
13088
13072
  *
13089
13073
  * @remarks
13090
- * [Api set: Mailbox preview]
13074
+ * [Api set: Mailbox 1.13]
13091
13075
  *
13092
13076
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
13093
13077
  *
@@ -13102,15 +13086,13 @@ declare namespace Office {
13102
13086
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
13103
13087
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13104
13088
  * `asyncResult`, which is an `Office.AsyncResult` object. Any errors encountered will be provided in the `asyncResult.error` property.
13105
- *
13106
- * @beta
13107
13089
  */
13108
13090
  setAsync(datetime: Date, options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
13109
13091
  /**
13110
13092
  * Sets the delivery date and time of a message.
13111
13093
  *
13112
13094
  * @remarks
13113
- * [Api set: Mailbox preview]
13095
+ * [Api set: Mailbox 1.13]
13114
13096
  *
13115
13097
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
13116
13098
  *
@@ -13123,8 +13105,6 @@ declare namespace Office {
13123
13105
  * @param datetime - The future date and time when the message should be sent.
13124
13106
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
13125
13107
  * `asyncResult`, which is an `Office.AsyncResult` object. Any errors encountered will be provided in the `asyncResult.error` property.
13126
- *
13127
- * @beta
13128
13108
  */
13129
13109
  setAsync(datetime: Date, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
13130
13110
  }
@@ -14737,10 +14717,10 @@ declare namespace Office {
14737
14717
  /**
14738
14718
  * Gets currently selected messages on which an add-in can activate and perform operations. An add-in can activate on a maximum of 100 messages at a time.
14739
14719
  * To learn more about item multi-select, see
14740
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/item-multi-select | Activate your Outlook add-in on multiple messages (preview)}.
14720
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/item-multi-select | Activate your Outlook add-in on multiple messages}.
14741
14721
  *
14742
14722
  * @remarks
14743
- * [Api set: Mailbox preview]
14723
+ * [Api set: Mailbox 1.13]
14744
14724
  *
14745
14725
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write mailbox**
14746
14726
  *
@@ -14754,17 +14734,15 @@ declare namespace Office {
14754
14734
  * `asyncResult`, which is an `Office.AsyncResult` object. The properties of the selected messages are returned as an array of JSON objects in the
14755
14735
  * `asyncResult.value` property. These properties include the item ID, subject, item type (`Message` is the only supported type at this time), and item mode
14756
14736
  * (`Read` or `Compose`). The objects in the array follow the order in which messages were selected.
14757
- *
14758
- * @beta
14759
14737
  */
14760
14738
  getSelectedItemsAsync(options: Office.AsyncContextOptions, callback: (asyncResult: Office.AsyncResult<object[]>) => void): void;
14761
14739
  /**
14762
14740
  * Gets currently selected messages on which an add-in can activate and perform operations. An add-in can activate on a maximum of 100 messages at a time.
14763
14741
  * To learn more about item multi-select, see
14764
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/item-multi-select | Activate your Outlook add-in on multiple messages (preview)}.
14742
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/item-multi-select | Activate your Outlook add-in on multiple messages}.
14765
14743
  *
14766
14744
  * @remarks
14767
- * [Api set: Mailbox preview]
14745
+ * [Api set: Mailbox 1.13]
14768
14746
  *
14769
14747
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write mailbox**
14770
14748
  *
@@ -14778,8 +14756,6 @@ declare namespace Office {
14778
14756
  * `asyncResult`, which is an `Office.AsyncResult` object. The properties of the selected messages are returned as an array of JSON objects in the
14779
14757
  * `asyncResult.value` property. These properties include the item ID, subject, item type (`Message` is the only supported type at this time), and item mode
14780
14758
  * (`Read` or `Compose`). The objects in the array follow the order in which messages were selected.
14781
- *
14782
- * @beta
14783
14759
  */
14784
14760
  getSelectedItemsAsync(callback: (asyncResult: Office.AsyncResult<object[]>) => void): void;
14785
14761
  /**
@@ -15178,13 +15154,11 @@ declare namespace Office {
15178
15154
  * The `delayDeliveryTime` property returns a `DelayDeliveryTime` object that provides methods to manage the delivery date and time of the message.
15179
15155
  *
15180
15156
  * @remarks
15181
- * [Api set: Mailbox preview]
15157
+ * [Api set: Mailbox 1.13]
15182
15158
  *
15183
15159
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
15184
15160
  *
15185
15161
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15186
- *
15187
- * @beta
15188
15162
  */
15189
15163
  delayDeliveryTime: DelayDeliveryTime;
15190
15164
  /**
@@ -15244,7 +15218,7 @@ declare namespace Office {
15244
15218
  * Gets the object to get or set the {@link Office.SensitivityLabel | sensitivity label} of a message.
15245
15219
  *
15246
15220
  * @remarks
15247
- * [Api set: Mailbox preview]
15221
+ * [Api set: Mailbox 1.13]
15248
15222
  *
15249
15223
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
15250
15224
  *
@@ -15253,9 +15227,7 @@ declare namespace Office {
15253
15227
  * **Important**: To use the sensitivity label feature in your add-in, you must have a Microsoft 365 E5 subscription.
15254
15228
  *
15255
15229
  * To learn more about how to manage sensitivity labels in your add-in, see
15256
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode (preview)}.
15257
- *
15258
- * @beta
15230
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode}.
15259
15231
  */
15260
15232
  sensitivityLabel: SensitivityLabel;
15261
15233
  /**
@@ -15982,15 +15954,19 @@ declare namespace Office {
15982
15954
  */
15983
15955
  getSelectedDataAsync(coercionType: Office.CoercionType | string, callback: (asyncResult: Office.AsyncResult<any>) => void): void;
15984
15956
  /**
15985
- * Gets the properties of an appointment or message in a shared folder or shared mailbox (now in preview).
15957
+ * Gets the properties of an appointment or message in a shared folder or shared mailbox.
15986
15958
  *
15987
- * For more information around using this API, see the
15988
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delegate-access | shared folders and shared mailbox} article.
15989
- *
15990
- * **Note**: This method is not supported in Outlook on iOS or Android.
15959
+ * For more information around using this API, see
15960
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delegate-access | Enable shared folders and shared mailbox scenarios in an Outlook add-in}.
15991
15961
  *
15992
15962
  * @remarks
15993
- * [Api set: Mailbox 1.8]
15963
+ * [Api set: Mailbox 1.8 for shared folder support, Mailbox 1.13 for shared mailbox support]
15964
+ *
15965
+ * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
15966
+ *
15967
+ * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15968
+ *
15969
+ * **Note**: This method is not supported in Outlook on iOS or Android.
15994
15970
  *
15995
15971
  * **Important**: In Message Compose mode, this API is not supported in Outlook on the web or on Windows unless the following conditions are met.
15996
15972
  *
@@ -16013,26 +15989,26 @@ declare namespace Office {
16013
15989
  * The message is now in a shared context and add-ins that support these shared scenarios can get the item's shared properties.
16014
15990
  * After the message has been sent, it's usually found in the sender's **Sent Items** folder.
16015
15991
  *
16016
- * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
16017
- *
16018
- * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
16019
- *
16020
15992
  * @param options - An object literal that contains one or more of the following properties:-
16021
15993
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
16022
- * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
16023
- * type `Office.AsyncResult`. The `value` property of the result is the properties of the shared item.
15994
+ * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an
15995
+ * `Office.AsyncResult` object. The `asyncResult.value` property provides the properties of the shared item.
16024
15996
  */
16025
15997
  getSharedPropertiesAsync(options: Office.AsyncContextOptions, callback: (asyncResult: Office.AsyncResult<SharedProperties>) => void): void;
16026
15998
  /**
16027
- * Gets the properties of an appointment or message in a shared folder or shared mailbox (now in preview).
16028
- *
16029
- * For more information around using this API, see the
16030
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delegate-access | shared folders and shared mailbox} article.
15999
+ * Gets the properties of an appointment or message in a shared folder or shared mailbox.
16031
16000
  *
16032
- * **Note**: This method is not supported in Outlook on iOS or Android.
16001
+ * For more information around using this API, see
16002
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delegate-access | Enable shared folders and shared mailbox scenarios in an Outlook add-in}.
16033
16003
  *
16034
16004
  * @remarks
16035
- * [Api set: Mailbox 1.8]
16005
+ * [Api set: Mailbox 1.8 for shared folder support, Mailbox 1.13 for shared mailbox support]
16006
+ *
16007
+ * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
16008
+ *
16009
+ * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
16010
+ *
16011
+ * **Note**: This method is not supported in Outlook on iOS or Android.
16036
16012
  *
16037
16013
  * **Important**: In Message Compose mode, this API is not supported in Outlook on the web or on Windows unless the following conditions are met.
16038
16014
  *
@@ -16055,12 +16031,8 @@ declare namespace Office {
16055
16031
  * The message is now in a shared context and add-ins that support these shared scenarios can get the item's shared properties.
16056
16032
  * After the message has been sent, it's usually found in the sender's **Sent Items** folder.
16057
16033
  *
16058
- * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
16059
- *
16060
- * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
16061
- *
16062
- * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
16063
- * type `Office.AsyncResult`. The `value` property of the result is the properties of the shared item.
16034
+ * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an
16035
+ * `Office.AsyncResult` object. The `asyncResult.value` property provides the properties of the shared item.
16064
16036
  */
16065
16037
  getSharedPropertiesAsync(callback: (asyncResult: Office.AsyncResult<SharedProperties>) => void): void;
16066
16038
  /**
@@ -17254,43 +17226,43 @@ declare namespace Office {
17254
17226
  */
17255
17227
  getSelectedRegExMatches(): any;
17256
17228
  /**
17257
- * Gets the properties of an appointment or message in a shared folder or shared mailbox (now in preview).
17229
+ * Gets the properties of an appointment or message in a shared folder or shared mailbox.
17258
17230
  *
17259
- * For more information around using this API, see the
17260
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delegate-access | shared folders and shared mailbox} article.
17261
- *
17262
- * **Note**: This method is not supported in Outlook on iOS or Android.
17231
+ * For more information around using this API, see
17232
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delegate-access | Enable shared folders and shared mailbox scenarios in an Outlook add-in}.
17263
17233
  *
17264
17234
  * @remarks
17265
- * [Api set: Mailbox 1.8]
17235
+ * [Api set: Mailbox 1.8 for shared folder support, Mailbox 1.13 for shared mailbox support]
17266
17236
  *
17267
17237
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
17268
17238
  *
17269
17239
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
17270
17240
  *
17241
+ * **Note**: This method is not supported in Outlook on iOS or Android.
17242
+ *
17271
17243
  * @param options - An object literal that contains one or more of the following properties:-
17272
17244
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
17273
- * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
17274
- * type `Office.AsyncResult`. The `value` property of the result is the properties of the shared item.
17245
+ * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an
17246
+ * `Office.AsyncResult` object. The `asyncResult.value` property provides the properties of the shared item.
17275
17247
  */
17276
17248
  getSharedPropertiesAsync(options: Office.AsyncContextOptions, callback: (asyncResult: Office.AsyncResult<SharedProperties>) => void): void;
17277
17249
  /**
17278
17250
  * Gets the properties of an appointment or message in a shared folder or shared mailbox (now in preview).
17279
17251
  *
17280
- * For more information around using this API, see the
17281
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delegate-access | shared folders and shared mailbox} article.
17282
- *
17283
- * **Note**: This method is not supported in Outlook on iOS or Android.
17252
+ * For more information around using this API, see
17253
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delegate-access | Enable shared folders and shared mailbox scenarios in an Outlook add-in}.
17284
17254
  *
17285
17255
  * @remarks
17286
- * [Api set: Mailbox 1.8]
17256
+ * [Api set: Mailbox 1.8 for shared folder support, Mailbox 1.13 for shared mailbox support]
17287
17257
  *
17288
17258
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
17289
17259
  *
17290
17260
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
17291
17261
  *
17292
- * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
17293
- * type `Office.AsyncResult`. The `value` property of the result is the properties of the shared item.
17262
+ * **Note**: This method is not supported in Outlook on iOS or Android.
17263
+ *
17264
+ * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`, which is an
17265
+ * `Office.AsyncResult` object. The `asyncResult.value` property provides the properties of the shared item.
17294
17266
  */
17295
17267
  getSharedPropertiesAsync(callback: (asyncResult: Office.AsyncResult<SharedProperties>) => void): void;
17296
17268
  /**
@@ -18642,7 +18614,7 @@ declare namespace Office {
18642
18614
  * {@link https://learn.microsoft.com/microsoft-365/compliance/sensitivity-labels | Learn about sensitivity labels}.
18643
18615
  *
18644
18616
  * @remarks
18645
- * [Api set: Mailbox preview]
18617
+ * [Api set: Mailbox 1.13]
18646
18618
  *
18647
18619
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
18648
18620
  *
@@ -18651,16 +18623,14 @@ declare namespace Office {
18651
18623
  * **Important**: To use the sensitivity label feature in your add-in, you must have a Microsoft 365 E5 subscription.
18652
18624
  *
18653
18625
  * To learn more about how to manage sensitivity labels in your add-in, see
18654
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode (preview)}.
18655
- *
18656
- * @beta
18626
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode}.
18657
18627
  */
18658
18628
  interface SensitivityLabel {
18659
18629
  /**
18660
18630
  * Gets the unique identifier (GUID) of the sensitivity label applied to a message or appointment being composed.
18661
18631
  *
18662
18632
  * @remarks
18663
- * [Api set: Mailbox preview]
18633
+ * [Api set: Mailbox 1.13]
18664
18634
  *
18665
18635
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
18666
18636
  *
@@ -18669,22 +18639,20 @@ declare namespace Office {
18669
18639
  * **Important**: To use the sensitivity label feature in your add-in, you must have a Microsoft 365 E5 subscription.
18670
18640
  *
18671
18641
  * To learn more about how to manage sensitivity labels in your add-in, see
18672
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode (preview)}.
18642
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode}.
18673
18643
  *
18674
18644
  * @param options - An object literal that contains one or more of the following properties:-
18675
18645
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
18676
18646
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
18677
18647
  * which is an `Office.AsyncResult` object. The sensitivity label's GUID is returned in the
18678
18648
  * `asyncResult.value` property.
18679
- *
18680
- * @beta
18681
18649
  */
18682
18650
  getAsync(options: Office.AsyncContextOptions, callback: (asyncResult: Office.AsyncResult<string>) => void): void;
18683
18651
  /**
18684
18652
  * Gets the unique identifier (GUID) of the sensitivity label applied to a message or appointment being composed.
18685
18653
  *
18686
18654
  * @remarks
18687
- * [Api set: Mailbox preview]
18655
+ * [Api set: Mailbox 1.13]
18688
18656
  *
18689
18657
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
18690
18658
  *
@@ -18693,20 +18661,18 @@ declare namespace Office {
18693
18661
  * **Important**: To use the sensitivity label feature in your add-in, you must have a Microsoft 365 E5 subscription.
18694
18662
  *
18695
18663
  * To learn more about how to manage sensitivity labels in your add-in, see
18696
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode (preview)}.
18664
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode}.
18697
18665
  *
18698
18666
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
18699
18667
  * which is an `Office.AsyncResult` object. The sensitivity label's GUID is returned in the
18700
18668
  * `asyncResult.value` property.
18701
- *
18702
- * @beta
18703
18669
  */
18704
18670
  getAsync(callback: (asyncResult: Office.AsyncResult<string>) => void): void;
18705
18671
  /**
18706
18672
  * Applies the specified sensitivity label to the message or appointment being composed.
18707
18673
  *
18708
18674
  * @remarks
18709
- * [Api set: Mailbox preview]
18675
+ * [Api set: Mailbox 1.13]
18710
18676
  *
18711
18677
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
18712
18678
  *
@@ -18717,7 +18683,7 @@ declare namespace Office {
18717
18683
  * **Tip**: To determine the sensitivity labels available for use, call the `Office.context.sensitivityLabelsCatalog.getAsync` method.
18718
18684
  *
18719
18685
  * To learn more about how to manage sensitivity labels in your add-in, see
18720
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode (preview)}.
18686
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode}.
18721
18687
  *
18722
18688
  * @param sensitivityLabel - The sensitivity label to be applied to the message or appointment being composed. The parameter value can be a sensitivity label's
18723
18689
  * unique identifier (GUID) or a {@link Office.SensitivityLabelDetails | SensitivityLabelDetails} object.
@@ -18725,15 +18691,13 @@ declare namespace Office {
18725
18691
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
18726
18692
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
18727
18693
  * which is an `Office.AsyncResult` object.
18728
- *
18729
- * @beta
18730
18694
  */
18731
18695
  setAsync(sensitivityLabel: string | SensitivityLabelDetails, options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
18732
18696
  /**
18733
18697
  * Applies the specified sensitivity label to the message or appointment being composed.
18734
18698
  *
18735
18699
  * @remarks
18736
- * [Api set: Mailbox preview]
18700
+ * [Api set: Mailbox 1.13]
18737
18701
  *
18738
18702
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
18739
18703
  *
@@ -18744,14 +18708,12 @@ declare namespace Office {
18744
18708
  * **Tip**: To determine the sensitivity labels available for use, call the `Office.context.sensitivityLabelsCatalog.getAsync` method.
18745
18709
  *
18746
18710
  * To learn more about how to manage sensitivity labels in your add-in, see
18747
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode (preview)}.
18711
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode}.
18748
18712
  *
18749
18713
  * @param sensitivityLabel - The sensitivity label to be applied to the message or appointment being composed. The parameter value can be a sensitivity label's
18750
18714
  * unique identifier (GUID) or a {@link Office.SensitivityLabelDetails | SensitivityLabelDetails} object.
18751
18715
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
18752
18716
  * which is an `Office.AsyncResult` object.
18753
- *
18754
- * @beta
18755
18717
  */
18756
18718
  setAsync(sensitivityLabel: string | SensitivityLabelDetails, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
18757
18719
  }
@@ -18760,23 +18722,19 @@ declare namespace Office {
18760
18722
  * `Office.EventType.SensitivityLabelChanged` event is raised.
18761
18723
  *
18762
18724
  * @remarks
18763
- * [Api set: Mailbox preview]
18725
+ * [Api set: Mailbox 1.13]
18764
18726
  *
18765
18727
  * **Important**: To use the sensitivity label feature in your add-in, you must have a Microsoft 365 E5 subscription.
18766
18728
  *
18767
18729
  * To learn more about how to manage sensitivity labels in your add-in, see
18768
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode (preview)}.
18769
- *
18770
- * @beta
18730
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode}.
18771
18731
  */
18772
18732
  export interface SensitivityLabelChangedEventArgs {
18773
18733
  /**
18774
18734
  * The type of event that was raised. For details, refer to {@link https://learn.microsoft.com/javascript/api/office/office.eventtype | Office.EventType}.
18775
18735
  *
18776
18736
  * @remarks
18777
- * [Api set: Mailbox preview]
18778
- *
18779
- * @beta
18737
+ * [Api set: Mailbox 1.13]
18780
18738
  */
18781
18739
  type: "olkSensitivityLabelChanged";
18782
18740
  }
@@ -18784,7 +18742,7 @@ declare namespace Office {
18784
18742
  * Represents the properties of available sensitivity labels in Outlook.
18785
18743
  *
18786
18744
  * @remarks
18787
- * [Api set: Mailbox preview]
18745
+ * [Api set: Mailbox 1.13]
18788
18746
  *
18789
18747
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
18790
18748
  *
@@ -18793,40 +18751,28 @@ declare namespace Office {
18793
18751
  * **Important**: To use the sensitivity label feature in your add-in, you must have a Microsoft 365 E5 subscription.
18794
18752
  *
18795
18753
  * To learn more about how to manage sensitivity labels in your add-in, see
18796
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode (preview)}.
18797
- *
18798
- * @beta
18754
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode}.
18799
18755
  */
18800
18756
  interface SensitivityLabelDetails {
18801
18757
  /**
18802
18758
  * The color of the sensitivity label.
18803
- *
18804
- * @beta
18805
18759
  */
18806
18760
  color: string;
18807
18761
  /**
18808
18762
  * The {@link https://learn.microsoft.com/microsoft-365/compliance/sensitivity-labels#sublabels-grouping-labels | sublabels} of the sensitivity label.
18809
18763
  * Returns `null` if a label doesn't have any sublabels.
18810
- *
18811
- * @beta
18812
18764
  */
18813
18765
  children: SensitivityLabelDetails[];
18814
18766
  /**
18815
18767
  * The unique identifier (GUID) of the sensitivity label.
18816
- *
18817
- * @beta
18818
18768
  */
18819
18769
  id: string;
18820
18770
  /**
18821
18771
  * The name of the sensitivity label.
18822
- *
18823
- * @beta
18824
18772
  */
18825
18773
  name: string;
18826
18774
  /**
18827
18775
  * The description of the sensitivity label.
18828
- *
18829
- * @beta
18830
18776
  */
18831
18777
  tooltip: string;
18832
18778
  }
@@ -18835,7 +18781,7 @@ declare namespace Office {
18835
18781
  * in Outlook and retrieve all available sensitivity labels if the catalog is enabled.
18836
18782
  *
18837
18783
  * @remarks
18838
- * [Api set: Mailbox preview]
18784
+ * [Api set: Mailbox 1.13]
18839
18785
  *
18840
18786
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
18841
18787
  *
@@ -18844,16 +18790,14 @@ declare namespace Office {
18844
18790
  * **Important**: To use the sensitivity label feature in your add-in, you must have a Microsoft 365 E5 subscription.
18845
18791
  *
18846
18792
  * To learn more about how to manage sensitivity labels in your add-in, see
18847
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode (preview)}.
18848
- *
18849
- * @beta
18793
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode}.
18850
18794
  */
18851
18795
  export interface SensitivityLabelsCatalog {
18852
18796
  /**
18853
18797
  * Gets all the sensitivity labels that are enabled in Outlook.
18854
18798
  *
18855
18799
  * @remarks
18856
- * [Api set: Mailbox preview]
18800
+ * [Api set: Mailbox 1.13]
18857
18801
  *
18858
18802
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
18859
18803
  *
@@ -18864,22 +18808,20 @@ declare namespace Office {
18864
18808
  * **Recommended**: To determine whether the catalog of sensitivity labels is enabled in Outlook, call `getIsEnabledAsync` before using `getAsync`.
18865
18809
  *
18866
18810
  * To learn more about how to manage sensitivity labels in your add-in, see
18867
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode (preview)}.
18811
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode}.
18868
18812
  *
18869
18813
  * @param options - An object literal that contains one or more of the following properties:-
18870
18814
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
18871
18815
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
18872
18816
  * which is an `Office.AsyncResult` object. The available sensitivity labels and their properties are returned in the
18873
18817
  * `asyncResult.value` property.
18874
- *
18875
- * @beta
18876
18818
  */
18877
18819
  getAsync(options: Office.AsyncContextOptions, callback: (asyncResult: Office.AsyncResult<SensitivityLabelDetails[]>) => void): void;
18878
18820
  /**
18879
18821
  * Gets all the sensitivity labels that are enabled in Outlook.
18880
18822
  *
18881
18823
  * @remarks
18882
- * [Api set: Mailbox preview]
18824
+ * [Api set: Mailbox 1.13]
18883
18825
  *
18884
18826
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
18885
18827
  *
@@ -18890,20 +18832,18 @@ declare namespace Office {
18890
18832
  * **Recommended**: To determine whether the catalog of sensitivity labels is enabled in Outlook, call `getIsEnabledAsync` before using `getAsync`.
18891
18833
  *
18892
18834
  * To learn more about how to manage sensitivity labels in your add-in, see
18893
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode (preview)}.
18835
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode}.
18894
18836
  *
18895
18837
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
18896
18838
  * which is an `Office.AsyncResult` object. The available sensitivity labels and their properties are returned in the
18897
18839
  * `asyncResult.value` property.
18898
- *
18899
- * @beta
18900
18840
  */
18901
18841
  getAsync(callback: (asyncResult: Office.AsyncResult<SensitivityLabelDetails[]>) => void): void;
18902
18842
  /**
18903
18843
  * Checks whether the catalog of sensitivity labels is enabled in Outlook.
18904
18844
  *
18905
18845
  * @remarks
18906
- * [Api set: Mailbox preview]
18846
+ * [Api set: Mailbox 1.13]
18907
18847
  *
18908
18848
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
18909
18849
  *
@@ -18915,21 +18855,19 @@ declare namespace Office {
18915
18855
  * **Important**: To use the sensitivity label feature in your add-in, you must have a Microsoft 365 E5 subscription.
18916
18856
  *
18917
18857
  * To learn more about how to manage sensitivity labels in your add-in, see
18918
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode (preview)}.
18858
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode}.
18919
18859
  *
18920
18860
  * @param options - An object literal that contains one or more of the following properties:-
18921
18861
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
18922
18862
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
18923
18863
  * which is an `Office.AsyncResult` object. The status of the catalog of sensitivity labels is returned in the `asyncResult.value` property.
18924
- *
18925
- * @beta
18926
18864
  */
18927
18865
  getIsEnabledAsync(options: Office.AsyncContextOptions, callback: (asyncResult: Office.AsyncResult<boolean>) => void): void;
18928
18866
  /**
18929
18867
  * Checks whether the catalog of sensitivity labels is enabled in Outlook.
18930
18868
  *
18931
18869
  * @remarks
18932
- * [Api set: Mailbox preview]
18870
+ * [Api set: Mailbox 1.13]
18933
18871
  *
18934
18872
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read/write item**
18935
18873
  *
@@ -18941,12 +18879,10 @@ declare namespace Office {
18941
18879
  * **Important**: To use the sensitivity label feature in your add-in, you must have a Microsoft 365 E5 subscription.
18942
18880
  *
18943
18881
  * To learn more about how to manage sensitivity labels in your add-in, see
18944
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode (preview)}.
18882
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/sensitivity-label | Manage the sensitivity label of your message or appointment in compose mode}.
18945
18883
  *
18946
18884
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
18947
18885
  * which is an `Office.AsyncResult` object. The status of the catalog of sensitivity labels is returned in the `asyncResult.value` property.
18948
- *
18949
- * @beta
18950
18886
  */
18951
18887
  getIsEnabledAsync(callback: (asyncResult: Office.AsyncResult<boolean>) => void): void;
18952
18888
  }
@@ -19267,13 +19203,13 @@ declare namespace Office {
19267
19203
  setAsync(name: string, value: string, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
19268
19204
  }
19269
19205
  /**
19270
- * Represents the properties of an appointment or message in a shared folder or shared mailbox (now in preview).
19206
+ * Represents the properties of an appointment or message in a shared folder or shared mailbox.
19271
19207
  *
19272
- * For more information on how this object is used, see the
19273
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delegate-access | shared folders and shared mailbox} article.
19208
+ * For more information on how this object is used, see
19209
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/delegate-access | Enable shared folders and shared mailbox scenarios in an Outlook add-in}.
19274
19210
  *
19275
19211
  * @remarks
19276
- * [Api set: Mailbox 1.8]
19212
+ * [Api set: Mailbox 1.8 for shared folder support, Mailbox 1.13 for shared mailbox support]
19277
19213
  *
19278
19214
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
19279
19215
  *
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.387",
3
+ "version": "1.0.388",
4
4
  "description": "TypeScript definitions for Office.js",
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": "3524790e77434859f382ea822d8b06549f5eb84ee6fb8688a5acbee68eba929b",
48
+ "typesPublisherContentHash": "53769ff00719bae50867b728525a0bf711d059fc20232d7f238dc70282d84dd7",
49
49
  "typeScriptVersion": "4.3"
50
50
  }