@types/office-js-preview 1.0.398 → 1.0.400

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: Wed, 05 Jul 2023 22:32:45 GMT
11
+ * Last updated: Wed, 12 Jul 2023 17:32:58 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
@@ -8838,6 +8838,8 @@ declare namespace Office {
8838
8838
  InformationalMessage = "informationalMessage",
8839
8839
  /**
8840
8840
  * The notification message is an error message.
8841
+ *
8842
+ * **Important**: Only the `InformationalMessage` type is supported in Outlook on Android and on iOS.
8841
8843
  */
8842
8844
  ErrorMessage = "errorMessage",
8843
8845
  /**
@@ -12643,15 +12645,6 @@ declare namespace Office {
12643
12645
  /**
12644
12646
  * Adds or replaces the signature of the item body.
12645
12647
  *
12646
- * **Important**: In Outlook on the web, `setSignatureAsync` only works on messages.
12647
- *
12648
- * **Important**: If your add-in implements the
12649
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation feature using `LaunchEvent` in the manifest},
12650
- * and calls `setSignatureAsync` in the event handler, the following behavior applies.
12651
- *
12652
- * - When the user composes a new item (including reply or forward), the signature is set but doesn't modify the form. This means
12653
- * if the user closes the form without making other edits, they won't be prompted to save changes.
12654
- *
12655
12648
  * @remarks
12656
12649
  * [Api set: Mailbox 1.10]
12657
12650
  *
@@ -12659,6 +12652,18 @@ declare namespace Office {
12659
12652
  *
12660
12653
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
12661
12654
  *
12655
+ * **Important**:
12656
+ *
12657
+ * - In Outlook on the web, `setSignatureAsync` only works on messages.
12658
+ *
12659
+ * - This method is supported in Message Compose on Outlook on Android and on iOS. For a sample scenario, see
12660
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-event-based | Implement event-based activation in Outlook mobile add-ins}.
12661
+ *
12662
+ * - The behavior of `setSignatureAsync` differs if you call it in the event handler of an add-in that implements the
12663
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation feature using `LaunchEvent` in the manifest}.
12664
+ * When the user composes a new item (including reply or forward), the signature is set but doesn't modify the form. This means
12665
+ * if the user closes the form without making other edits, they won't be prompted to save changes.
12666
+ *
12662
12667
  * **Errors**:
12663
12668
  *
12664
12669
  * - `DataExceedsMaximumSize`: The `data` parameter is longer than 30,000 characters.
@@ -12677,15 +12682,6 @@ declare namespace Office {
12677
12682
  /**
12678
12683
  * Adds or replaces the signature of the item body.
12679
12684
  *
12680
- * **Important**: In Outlook on the web, `setSignatureAsync` only works on messages.
12681
- *
12682
- * **Important**: If your add-in implements the
12683
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation feature using `LaunchEvent` in the manifest},
12684
- * and calls `setSignatureAsync` in the event handler, the following behavior applies.
12685
- *
12686
- * - When the user composes a new item (including reply or forward), the signature is set but doesn't modify the form. This means
12687
- * if the user closes the form without making other edits, they won't be prompted to save changes.
12688
- *
12689
12685
  * @remarks
12690
12686
  * [Api set: Mailbox 1.10]
12691
12687
  *
@@ -12693,6 +12689,18 @@ declare namespace Office {
12693
12689
  *
12694
12690
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
12695
12691
  *
12692
+ * **Important**:
12693
+ *
12694
+ * - In Outlook on the web, `setSignatureAsync` only works on messages.
12695
+ *
12696
+ * - This method is supported in Message Compose on Outlook on Android and on iOS. For a sample scenario, see
12697
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-event-based | Implement event-based activation in Outlook mobile add-ins}.
12698
+ *
12699
+ * - The behavior of `setSignatureAsync` differs if you call it in the event handler of an add-in that implements the
12700
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation feature using `LaunchEvent` in the manifest}.
12701
+ * When the user composes a new item (including reply or forward), the signature is set but doesn't modify the form. This means
12702
+ * if the user closes the form without making other edits, they won't be prompted to save changes.
12703
+ *
12696
12704
  * **Errors**:
12697
12705
  *
12698
12706
  * - `DataExceedsMaximumSize`: The `data` parameter is longer than 30,000 characters.
@@ -13621,6 +13629,9 @@ declare namespace Office {
13621
13629
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
13622
13630
  *
13623
13631
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
13632
+ *
13633
+ * **Important**: This interface is supported in Outlook on Android and on iOS. For a sample scenario, see
13634
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-event-based | Implement event-based activation in Outlook mobile add-ins}.
13624
13635
  */
13625
13636
  interface From {
13626
13637
  /**
@@ -13637,7 +13648,12 @@ declare namespace Office {
13637
13648
  *
13638
13649
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
13639
13650
  *
13640
- * **Important**: A `recipientType` property value isn't returned by the getAsync method.
13651
+ * **Important**:
13652
+ *
13653
+ * - This method is supported in Outlook on Android and on iOS. For a sample scenario, see
13654
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-event-based | Implement event-based activation in Outlook mobile add-ins}.
13655
+ *
13656
+ * - A `recipientType` property value isn't returned by the `getAsync` method.
13641
13657
  * The email sender is always a user whose email address is on the Exchange server.
13642
13658
  *
13643
13659
  * @param options - An object literal that contains one or more of the following properties:-
@@ -13661,7 +13677,12 @@ declare namespace Office {
13661
13677
  *
13662
13678
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
13663
13679
  *
13664
- * **Important**: A `recipientType` property value isn't returned by the getAsync method.
13680
+ * **Important**:
13681
+ *
13682
+ * - This method is supported in Outlook on Android and on iOS. For a sample scenario, see
13683
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-event-based | Implement event-based activation in Outlook mobile add-ins}.
13684
+ *
13685
+ * - A `recipientType` property value isn't returned by the `getAsync` method.
13665
13686
  * The email sender is always a user whose email address is on the Exchange server.
13666
13687
  *
13667
13688
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
@@ -13716,7 +13737,7 @@ declare namespace Office {
13716
13737
  }
13717
13738
  /**
13718
13739
  * The `InternetHeaders` object represents custom internet headers that are preserved after the message item leaves Exchange
13719
- * and is converted to a MIME message. These headers are stored as x-headers in the MIME message.
13740
+ * and is converted to a MIME message.
13720
13741
  *
13721
13742
  * Internet headers are stored as string key-value pairs on a per-item basis.
13722
13743
  *
@@ -13749,7 +13770,7 @@ declare namespace Office {
13749
13770
  interface InternetHeaders {
13750
13771
  /**
13751
13772
  * Given an array of internet header names, this method returns a record containing those internet headers and their values.
13752
- * If the add-in requests an x-header that isn't available, that x-header will not be returned in the results.
13773
+ * If the add-in requests a header that isn't available, that header won't be returned in the results.
13753
13774
  *
13754
13775
  * **Note**: This method is intended to return the values of the custom headers you set using the `setAsync` method.
13755
13776
  *
@@ -13770,7 +13791,7 @@ declare namespace Office {
13770
13791
  getAsync(names: string[], options: Office.AsyncContextOptions, callback: (asyncResult: Office.AsyncResult<Record<string, string>>) => void): void;
13771
13792
  /**
13772
13793
  * Given an array of internet header names, this method returns a record containing those internet headers and their values.
13773
- * If the add-in requests an x-header that isn't available, that x-header will not be returned in the results.
13794
+ * If the add-in requests a header that isn't available, that header won't be returned in the results.
13774
13795
  *
13775
13796
  * **Note**: This method is intended to return the values of the custom headers you set using the `setAsync` method.
13776
13797
  *
@@ -15347,6 +15368,9 @@ declare namespace Office {
15347
15368
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
15348
15369
  *
15349
15370
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15371
+ *
15372
+ * **Important**: This property is supported in Outlook on Android and on iOS. For a sample scenario, see
15373
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-event-based | Implement event-based activation in Outlook mobile add-ins}.
15350
15374
  */
15351
15375
  from: From;
15352
15376
  /**
@@ -15550,9 +15574,6 @@ declare namespace Office {
15550
15574
  *
15551
15575
  * You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
15552
15576
  *
15553
- * **Note**: If you're using a data URL API (e.g., `readAsDataURL`), you need to strip out the data URL prefix then send the rest of the string to this API.
15554
- * For example, if the full string is represented by `data:image/svg+xml;base64,<rest of Base64 string>`, remove `data:image/svg+xml;base64,`.
15555
- *
15556
15577
  * @remarks
15557
15578
  * [Api set: Mailbox 1.8]
15558
15579
  *
@@ -15560,6 +15581,18 @@ declare namespace Office {
15560
15581
  *
15561
15582
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15562
15583
  *
15584
+ * **Important**:
15585
+ *
15586
+ * - Adding an inline Base64 file to a messsage in compose mode is supported in Outlook on Android and on iOS.
15587
+ *
15588
+ * - If you're using a data URL API (for example, `readAsDataURL`), you need to strip out the data URL prefix, then send the rest of the string to this API.
15589
+ * For example, if the full string is represented by `data:image/svg+xml;base64,<rest of Base64 string>`, remove `data:image/svg+xml;base64,`.
15590
+ *
15591
+ * - If you're adding an inline Base64 image to the body of a message or appointment being composed, you must first get the current item body using the
15592
+ * {@link https://learn.microsoft.com/javascript/api/outlook/office.body#outlook-office-body-getasync-member(1) | Office.context.mailbox.item.body.getAsync}
15593
+ * method before inserting the image using `addFileAttachmentFromBase64Async`. Otherwise, the image won't render in the body once it's inserted.
15594
+ * For further guidance, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/add-and-remove-attachments-to-an-item-in-a-compose-form#attach-a-file | Attach a file}.
15595
+ *
15563
15596
  * **Errors**:
15564
15597
  *
15565
15598
  * - `AttachmentSizeExceeded`: The attachment is larger than allowed.
@@ -15568,11 +15601,6 @@ declare namespace Office {
15568
15601
  *
15569
15602
  * - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
15570
15603
  *
15571
- * **Note**: If you're adding an inline Base64 image to the body of a message or appointment being composed, you must first get the current item body using the
15572
- * {@link https://learn.microsoft.com/javascript/api/outlook/office.body#outlook-office-body-getasync-member(1) | Office.context.mailbox.item.body.getAsync}
15573
- * method before inserting the image using `addFileAttachmentFromBase64Async`. Otherwise, the image won't render in the body once it's inserted.
15574
- * For further guidance, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/add-and-remove-attachments-to-an-item-in-a-compose-form#attach-a-file | Attach a file}.
15575
- *
15576
15604
  * @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 27,892,122 characters (about 25 MB).
15577
15605
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
15578
15606
  * @param options - An object literal that contains one or more of the following properties:-
@@ -15591,9 +15619,6 @@ declare namespace Office {
15591
15619
  *
15592
15620
  * You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
15593
15621
  *
15594
- * **Note**: If you're using a data URL API (e.g., `readAsDataURL`), you need to strip out the data URL prefix then send the rest of the string to this API.
15595
- * For example, if the full string is represented by `data:image/svg+xml;base64,<rest of Base64 string>`, remove `data:image/svg+xml;base64,`.
15596
- *
15597
15622
  * @remarks
15598
15623
  * [Api set: Mailbox 1.8]
15599
15624
  *
@@ -15601,6 +15626,18 @@ declare namespace Office {
15601
15626
  *
15602
15627
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15603
15628
  *
15629
+ * **Important**:
15630
+ *
15631
+ * - Adding an inline Base64 file to a messsage in compose mode is supported in Outlook on Android and on iOS.
15632
+ *
15633
+ * - If you're using a data URL API (for example, `readAsDataURL`), you need to strip out the data URL prefix, then send the rest of the string to this API.
15634
+ * For example, if the full string is represented by `data:image/svg+xml;base64,<rest of Base64 string>`, remove `data:image/svg+xml;base64,`.
15635
+ *
15636
+ * - If you're adding an inline Base64 image to the body of a message or appointment being composed, you must first get the current item body using the
15637
+ * {@link https://learn.microsoft.com/javascript/api/outlook/office.body#outlook-office-body-getasync-member(1) | Office.context.mailbox.item.body.getAsync}
15638
+ * method before inserting the image using `addFileAttachmentFromBase64Async`. Otherwise, the image won't render in the body once it's inserted.
15639
+ * For further guidance, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/add-and-remove-attachments-to-an-item-in-a-compose-form#attach-a-file | Attach a file}.
15640
+ *
15604
15641
  * **Errors**:
15605
15642
  *
15606
15643
  * - `AttachmentSizeExceeded`: The attachment is larger than allowed.
@@ -15609,11 +15646,6 @@ declare namespace Office {
15609
15646
  *
15610
15647
  * - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
15611
15648
  *
15612
- * **Note**: If you're adding an inline Base64 image to the body of a message or appointment being composed, you must first get the current item body using the
15613
- * {@link https://learn.microsoft.com/javascript/api/outlook/office.body#outlook-office-body-getasync-member(1) | Office.context.mailbox.item.body.getAsync}
15614
- * method before inserting the image using `addFileAttachmentFromBase64Async`. Otherwise, the image won't render in the body once it's inserted.
15615
- * For further guidance, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/add-and-remove-attachments-to-an-item-in-a-compose-form#attach-a-file | Attach a file}.
15616
- *
15617
15649
  * @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 27,892,122 characters (about 25 MB).
15618
15650
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
15619
15651
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
@@ -15823,10 +15855,15 @@ declare namespace Office {
15823
15855
  /**
15824
15856
  * Disables the Outlook client signature.
15825
15857
  *
15826
- * For Windows and Mac rich clients, this API sets the signature under the "New Message" and "Replies/Forwards" sections
15827
- * for the sending account to "(none)", effectively disabling the signature.
15828
- * For Outlook on the web, the API should disable the signature option for new mails, replies, and forwards.
15829
- * If the signature is selected, this API call should disable it.
15858
+ * The behavior of this method depends on which client the add-in is running.
15859
+ *
15860
+ * - In Outlook on Windows and on Mac, the signature under the **New messages** and **Replies/forwards** sections
15861
+ * of the sending account is set to **(none)**.
15862
+ *
15863
+ * - In Outlook on the web, the signature option for new mails, replies, and forwards is disabled.
15864
+ * A signature that's selected is also disabled by the method.
15865
+ *
15866
+ * - In Outlook on Android and on iOS, the signature saved on the mobile device is cleared.
15830
15867
  *
15831
15868
  * @remarks
15832
15869
  * [Api set: Mailbox 1.10]
@@ -15835,6 +15872,8 @@ declare namespace Office {
15835
15872
  *
15836
15873
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15837
15874
  *
15875
+ * **Important**: This method is supported in Message Compose on Outlook on Android and on iOS.
15876
+ *
15838
15877
  * @param options - An object literal that contains one or more of the following properties:-
15839
15878
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15840
15879
  * @param callback - Optional. When the method completes, the function passed in the callback parameter is called with a single parameter,
@@ -15844,10 +15883,15 @@ declare namespace Office {
15844
15883
  /**
15845
15884
  * Disables the Outlook client signature.
15846
15885
  *
15847
- * For Windows and Mac rich clients, this API sets the signature under the "New Message" and "Replies/Forwards" sections
15848
- * for the sending account to "(none)", effectively disabling the signature.
15849
- * For Outlook on the web, the API should disable the signature option for new mails, replies, and forwards.
15850
- * If the signature is selected, this API call should disable it.
15886
+ * The behavior of this method depends on which client the add-in is running.
15887
+ *
15888
+ * - In Outlook on Windows and on Mac, the signature under the **New messages** and **Replies/forwards** sections
15889
+ * of the sending account is set to **(none)**.
15890
+ *
15891
+ * - In Outlook on the web, the signature option for new mails, replies, and forwards is disabled.
15892
+ * A signature that's selected is also disabled by the method.
15893
+ *
15894
+ * - In Outlook on Android and on iOS, the signature saved on the mobile device is cleared.
15851
15895
  *
15852
15896
  * @remarks
15853
15897
  * [Api set: Mailbox 1.10]
@@ -15856,6 +15900,8 @@ declare namespace Office {
15856
15900
  *
15857
15901
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15858
15902
  *
15903
+ * **Important**: This method is supported in Message Compose in Outlook on Android and on iOS.
15904
+ *
15859
15905
  * @param callback - Optional. When the method completes, the function passed in the callback parameter is called with a single parameter,
15860
15906
  * `asyncResult`, which is an `Office.AsyncResult` object.
15861
15907
  */
@@ -15963,6 +16009,8 @@ declare namespace Office {
15963
16009
  *
15964
16010
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15965
16011
  *
16012
+ * **Important**: This method is supported in Outlook on Android and on iOS.
16013
+ *
15966
16014
  * @param options - An object literal that contains one or more of the following properties:-
15967
16015
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15968
16016
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
@@ -15984,6 +16032,8 @@ declare namespace Office {
15984
16032
  *
15985
16033
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15986
16034
  *
16035
+ * **Important**: This method is supported in Outlook on Android and on iOS.
16036
+ *
15987
16037
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
15988
16038
  * type `Office.AsyncResult`. On success, the `asyncResult.value` property contains an object with the item's compose type
15989
16039
  * and coercion type.
@@ -17663,6 +17713,8 @@ declare namespace Office {
17663
17713
  * Including them will result in an `ArgumentException`.
17664
17714
  *
17665
17715
  * If type is `ProgressIndicator`, the developer should remove or replace the progress indicator when the action is complete.
17716
+ *
17717
+ * **Important**: Only the `InformationalMessage` type is supported in Outlook on Android and on iOS.
17666
17718
  */
17667
17719
  type: MailboxEnums.ItemNotificationMessageType | string;
17668
17720
  /**
@@ -17716,6 +17768,13 @@ declare namespace Office {
17716
17768
  *
17717
17769
  * There are a maximum of 5 notifications per message. Setting more will return a `NumberOfNotificationMessagesExceeded` error.
17718
17770
  *
17771
+ * @remarks
17772
+ * [Api set: Mailbox 1.3]
17773
+ *
17774
+ * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
17775
+ *
17776
+ * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
17777
+ *
17719
17778
  * **Important**:
17720
17779
  *
17721
17780
  * - Only one notification of type {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxenums.itemnotificationmessagetype#fields | InsightMessage}
@@ -17723,12 +17782,7 @@ declare namespace Office {
17723
17782
  *
17724
17783
  * - In modern Outlook on the web, you can add an `InsightMessage` notification only in Compose mode.
17725
17784
  *
17726
- * @remarks
17727
- * [Api set: Mailbox 1.3]
17728
- *
17729
- * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
17730
- *
17731
- * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
17785
+ * - Only the `InformationalMessage` type is supported in Outlook on Android and on iOS.
17732
17786
  *
17733
17787
  * @param key - A developer-specified key used to reference this notification message.
17734
17788
  * Developers can use it to modify this message later. It can't be longer than 32 characters.
@@ -17745,6 +17799,13 @@ declare namespace Office {
17745
17799
  *
17746
17800
  * There are a maximum of 5 notifications per message. Setting more will return a `NumberOfNotificationMessagesExceeded` error.
17747
17801
  *
17802
+ * @remarks
17803
+ * [Api set: Mailbox 1.3]
17804
+ *
17805
+ * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
17806
+ *
17807
+ * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
17808
+ *
17748
17809
  * **Important**:
17749
17810
  *
17750
17811
  * - Only one notification of type {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxenums.itemnotificationmessagetype#fields | InsightMessage}
@@ -17752,12 +17813,7 @@ declare namespace Office {
17752
17813
  *
17753
17814
  * - In modern Outlook on the web, you can add an `InsightMessage` notification only in Compose mode.
17754
17815
  *
17755
- * @remarks
17756
- * [Api set: Mailbox 1.3]
17757
- *
17758
- * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
17759
- *
17760
- * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
17816
+ * - Only the `InformationalMessage` type is supported in Outlook on Android and on iOS.
17761
17817
  *
17762
17818
  * @param key - A developer-specified key used to reference this notification message.
17763
17819
  * Developers can use it to modify this message later. It can't be longer than 32 characters.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.398",
3
+ "version": "1.0.400",
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": "bf079259b0b190763060f6bc9b8132be72f9e72f8c2332f928a6a7fd6260ee48",
48
+ "typesPublisherContentHash": "ced014ed8515bb662de31b9f981751382eb845a92d9538da6c4dff270ec4cf7e",
49
49
  "typeScriptVersion": "4.3"
50
50
  }