@types/office-js 1.0.334 → 1.0.336

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.
office-js/README.md CHANGED
@@ -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.
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
 
office-js/index.d.ts CHANGED
@@ -8781,6 +8781,8 @@ declare namespace Office {
8781
8781
  InformationalMessage = "informationalMessage",
8782
8782
  /**
8783
8783
  * The notification message is an error message.
8784
+ *
8785
+ * **Important**: Only the `InformationalMessage` type is supported in Outlook on Android and on iOS.
8784
8786
  */
8785
8787
  ErrorMessage = "errorMessage",
8786
8788
  /**
@@ -12514,15 +12516,6 @@ declare namespace Office {
12514
12516
  /**
12515
12517
  * Adds or replaces the signature of the item body.
12516
12518
  *
12517
- * **Important**: In Outlook on the web, `setSignatureAsync` only works on messages.
12518
- *
12519
- * **Important**: If your add-in implements the
12520
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation feature using `LaunchEvent` in the manifest},
12521
- * and calls `setSignatureAsync` in the event handler, the following behavior applies.
12522
- *
12523
- * - When the user composes a new item (including reply or forward), the signature is set but doesn't modify the form. This means
12524
- * if the user closes the form without making other edits, they won't be prompted to save changes.
12525
- *
12526
12519
  * @remarks
12527
12520
  * [Api set: Mailbox 1.10]
12528
12521
  *
@@ -12530,6 +12523,18 @@ declare namespace Office {
12530
12523
  *
12531
12524
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
12532
12525
  *
12526
+ * **Important**:
12527
+ *
12528
+ * - In Outlook on the web, `setSignatureAsync` only works on messages.
12529
+ *
12530
+ * - This method is supported in Message Compose on Outlook on Android and on iOS. For a sample scenario, see
12531
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-event-based | Implement event-based activation in Outlook mobile add-ins}.
12532
+ *
12533
+ * - The behavior of `setSignatureAsync` differs if you call it in the event handler of an add-in that implements the
12534
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation feature using `LaunchEvent` in the manifest}.
12535
+ * When the user composes a new item (including reply or forward), the signature is set but doesn't modify the form. This means
12536
+ * if the user closes the form without making other edits, they won't be prompted to save changes.
12537
+ *
12533
12538
  * **Errors**:
12534
12539
  *
12535
12540
  * - `DataExceedsMaximumSize`: The `data` parameter is longer than 30,000 characters.
@@ -12548,15 +12553,6 @@ declare namespace Office {
12548
12553
  /**
12549
12554
  * Adds or replaces the signature of the item body.
12550
12555
  *
12551
- * **Important**: In Outlook on the web, `setSignatureAsync` only works on messages.
12552
- *
12553
- * **Important**: If your add-in implements the
12554
- * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation feature using `LaunchEvent` in the manifest},
12555
- * and calls `setSignatureAsync` in the event handler, the following behavior applies.
12556
- *
12557
- * - When the user composes a new item (including reply or forward), the signature is set but doesn't modify the form. This means
12558
- * if the user closes the form without making other edits, they won't be prompted to save changes.
12559
- *
12560
12556
  * @remarks
12561
12557
  * [Api set: Mailbox 1.10]
12562
12558
  *
@@ -12564,6 +12560,18 @@ declare namespace Office {
12564
12560
  *
12565
12561
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
12566
12562
  *
12563
+ * **Important**:
12564
+ *
12565
+ * - In Outlook on the web, `setSignatureAsync` only works on messages.
12566
+ *
12567
+ * - This method is supported in Message Compose on Outlook on Android and on iOS. For a sample scenario, see
12568
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-event-based | Implement event-based activation in Outlook mobile add-ins}.
12569
+ *
12570
+ * - The behavior of `setSignatureAsync` differs if you call it in the event handler of an add-in that implements the
12571
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation feature using `LaunchEvent` in the manifest}.
12572
+ * When the user composes a new item (including reply or forward), the signature is set but doesn't modify the form. This means
12573
+ * if the user closes the form without making other edits, they won't be prompted to save changes.
12574
+ *
12567
12575
  * **Errors**:
12568
12576
  *
12569
12577
  * - `DataExceedsMaximumSize`: The `data` parameter is longer than 30,000 characters.
@@ -13347,6 +13355,9 @@ declare namespace Office {
13347
13355
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
13348
13356
  *
13349
13357
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
13358
+ *
13359
+ * **Important**: This interface is supported in Outlook on Android and on iOS. For a sample scenario, see
13360
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-event-based | Implement event-based activation in Outlook mobile add-ins}.
13350
13361
  */
13351
13362
  interface From {
13352
13363
  /**
@@ -13363,7 +13374,12 @@ declare namespace Office {
13363
13374
  *
13364
13375
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
13365
13376
  *
13366
- * **Important**: A `recipientType` property value isn't returned by the getAsync method.
13377
+ * **Important**:
13378
+ *
13379
+ * - This method is supported in Outlook on Android and on iOS. For a sample scenario, see
13380
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-event-based | Implement event-based activation in Outlook mobile add-ins}.
13381
+ *
13382
+ * - A `recipientType` property value isn't returned by the `getAsync` method.
13367
13383
  * The email sender is always a user whose email address is on the Exchange server.
13368
13384
  *
13369
13385
  * @param options - An object literal that contains one or more of the following properties:-
@@ -13387,7 +13403,12 @@ declare namespace Office {
13387
13403
  *
13388
13404
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
13389
13405
  *
13390
- * **Important**: A `recipientType` property value isn't returned by the getAsync method.
13406
+ * **Important**:
13407
+ *
13408
+ * - This method is supported in Outlook on Android and on iOS. For a sample scenario, see
13409
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-event-based | Implement event-based activation in Outlook mobile add-ins}.
13410
+ *
13411
+ * - A `recipientType` property value isn't returned by the `getAsync` method.
13391
13412
  * The email sender is always a user whose email address is on the Exchange server.
13392
13413
  *
13393
13414
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
@@ -13442,7 +13463,7 @@ declare namespace Office {
13442
13463
  }
13443
13464
  /**
13444
13465
  * The `InternetHeaders` object represents custom internet headers that are preserved after the message item leaves Exchange
13445
- * and is converted to a MIME message. These headers are stored as x-headers in the MIME message.
13466
+ * and is converted to a MIME message.
13446
13467
  *
13447
13468
  * Internet headers are stored as string key-value pairs on a per-item basis.
13448
13469
  *
@@ -13475,7 +13496,7 @@ declare namespace Office {
13475
13496
  interface InternetHeaders {
13476
13497
  /**
13477
13498
  * Given an array of internet header names, this method returns a record containing those internet headers and their values.
13478
- * If the add-in requests an x-header that isn't available, that x-header will not be returned in the results.
13499
+ * If the add-in requests a header that isn't available, that header won't be returned in the results.
13479
13500
  *
13480
13501
  * **Note**: This method is intended to return the values of the custom headers you set using the `setAsync` method.
13481
13502
  *
@@ -13496,7 +13517,7 @@ declare namespace Office {
13496
13517
  getAsync(names: string[], options: Office.AsyncContextOptions, callback: (asyncResult: Office.AsyncResult<Record<string, string>>) => void): void;
13497
13518
  /**
13498
13519
  * Given an array of internet header names, this method returns a record containing those internet headers and their values.
13499
- * If the add-in requests an x-header that isn't available, that x-header will not be returned in the results.
13520
+ * If the add-in requests a header that isn't available, that header won't be returned in the results.
13500
13521
  *
13501
13522
  * **Note**: This method is intended to return the values of the custom headers you set using the `setAsync` method.
13502
13523
  *
@@ -15074,6 +15095,9 @@ declare namespace Office {
15074
15095
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
15075
15096
  *
15076
15097
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15098
+ *
15099
+ * **Important**: This property is supported in Outlook on Android and on iOS. For a sample scenario, see
15100
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-event-based | Implement event-based activation in Outlook mobile add-ins}.
15077
15101
  */
15078
15102
  from: From;
15079
15103
  /**
@@ -15277,9 +15301,6 @@ declare namespace Office {
15277
15301
  *
15278
15302
  * You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
15279
15303
  *
15280
- * **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.
15281
- * For example, if the full string is represented by `data:image/svg+xml;base64,<rest of Base64 string>`, remove `data:image/svg+xml;base64,`.
15282
- *
15283
15304
  * @remarks
15284
15305
  * [Api set: Mailbox 1.8]
15285
15306
  *
@@ -15287,6 +15308,18 @@ declare namespace Office {
15287
15308
  *
15288
15309
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15289
15310
  *
15311
+ * **Important**:
15312
+ *
15313
+ * - Adding an inline Base64 file to a messsage in compose mode is supported in Outlook on Android and on iOS.
15314
+ *
15315
+ * - 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.
15316
+ * For example, if the full string is represented by `data:image/svg+xml;base64,<rest of Base64 string>`, remove `data:image/svg+xml;base64,`.
15317
+ *
15318
+ * - 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
15319
+ * {@link https://learn.microsoft.com/javascript/api/outlook/office.body#outlook-office-body-getasync-member(1) | Office.context.mailbox.item.body.getAsync}
15320
+ * method before inserting the image using `addFileAttachmentFromBase64Async`. Otherwise, the image won't render in the body once it's inserted.
15321
+ * 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}.
15322
+ *
15290
15323
  * **Errors**:
15291
15324
  *
15292
15325
  * - `AttachmentSizeExceeded`: The attachment is larger than allowed.
@@ -15295,11 +15328,6 @@ declare namespace Office {
15295
15328
  *
15296
15329
  * - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
15297
15330
  *
15298
- * **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
15299
- * {@link https://learn.microsoft.com/javascript/api/outlook/office.body#outlook-office-body-getasync-member(1) | Office.context.mailbox.item.body.getAsync}
15300
- * method before inserting the image using `addFileAttachmentFromBase64Async`. Otherwise, the image won't render in the body once it's inserted.
15301
- * 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}.
15302
- *
15303
15331
  * @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).
15304
15332
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
15305
15333
  * @param options - An object literal that contains one or more of the following properties:-
@@ -15318,9 +15346,6 @@ declare namespace Office {
15318
15346
  *
15319
15347
  * You can subsequently use the identifier with the `removeAttachmentAsync` method to remove the attachment in the same session.
15320
15348
  *
15321
- * **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.
15322
- * For example, if the full string is represented by `data:image/svg+xml;base64,<rest of Base64 string>`, remove `data:image/svg+xml;base64,`.
15323
- *
15324
15349
  * @remarks
15325
15350
  * [Api set: Mailbox 1.8]
15326
15351
  *
@@ -15328,6 +15353,18 @@ declare namespace Office {
15328
15353
  *
15329
15354
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15330
15355
  *
15356
+ * **Important**:
15357
+ *
15358
+ * - Adding an inline Base64 file to a messsage in compose mode is supported in Outlook on Android and on iOS.
15359
+ *
15360
+ * - 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.
15361
+ * For example, if the full string is represented by `data:image/svg+xml;base64,<rest of Base64 string>`, remove `data:image/svg+xml;base64,`.
15362
+ *
15363
+ * - 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
15364
+ * {@link https://learn.microsoft.com/javascript/api/outlook/office.body#outlook-office-body-getasync-member(1) | Office.context.mailbox.item.body.getAsync}
15365
+ * method before inserting the image using `addFileAttachmentFromBase64Async`. Otherwise, the image won't render in the body once it's inserted.
15366
+ * 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}.
15367
+ *
15331
15368
  * **Errors**:
15332
15369
  *
15333
15370
  * - `AttachmentSizeExceeded`: The attachment is larger than allowed.
@@ -15336,11 +15373,6 @@ declare namespace Office {
15336
15373
  *
15337
15374
  * - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
15338
15375
  *
15339
- * **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
15340
- * {@link https://learn.microsoft.com/javascript/api/outlook/office.body#outlook-office-body-getasync-member(1) | Office.context.mailbox.item.body.getAsync}
15341
- * method before inserting the image using `addFileAttachmentFromBase64Async`. Otherwise, the image won't render in the body once it's inserted.
15342
- * 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}.
15343
- *
15344
15376
  * @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).
15345
15377
  * @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
15346
15378
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
@@ -15478,10 +15510,15 @@ declare namespace Office {
15478
15510
  /**
15479
15511
  * Disables the Outlook client signature.
15480
15512
  *
15481
- * For Windows and Mac rich clients, this API sets the signature under the "New Message" and "Replies/Forwards" sections
15482
- * for the sending account to "(none)", effectively disabling the signature.
15483
- * For Outlook on the web, the API should disable the signature option for new mails, replies, and forwards.
15484
- * If the signature is selected, this API call should disable it.
15513
+ * The behavior of this method depends on which client the add-in is running.
15514
+ *
15515
+ * - In Outlook on Windows and on Mac, the signature under the **New messages** and **Replies/forwards** sections
15516
+ * of the sending account is set to **(none)**.
15517
+ *
15518
+ * - In Outlook on the web, the signature option for new mails, replies, and forwards is disabled.
15519
+ * A signature that's selected is also disabled by the method.
15520
+ *
15521
+ * - In Outlook on Android and on iOS, the signature saved on the mobile device is cleared.
15485
15522
  *
15486
15523
  * @remarks
15487
15524
  * [Api set: Mailbox 1.10]
@@ -15490,6 +15527,8 @@ declare namespace Office {
15490
15527
  *
15491
15528
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15492
15529
  *
15530
+ * **Important**: This method is supported in Message Compose in Outlook on Android and on iOS.
15531
+ *
15493
15532
  * @param options - An object literal that contains one or more of the following properties:-
15494
15533
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15495
15534
  * @param callback - Optional. When the method completes, the function passed in the callback parameter is called with a single parameter,
@@ -15499,10 +15538,15 @@ declare namespace Office {
15499
15538
  /**
15500
15539
  * Disables the Outlook client signature.
15501
15540
  *
15502
- * For Windows and Mac rich clients, this API sets the signature under the "New Message" and "Replies/Forwards" sections
15503
- * for the sending account to "(none)", effectively disabling the signature.
15504
- * For Outlook on the web, the API should disable the signature option for new mails, replies, and forwards.
15505
- * If the signature is selected, this API call should disable it.
15541
+ * The behavior of this method depends on which client the add-in is running.
15542
+ *
15543
+ * - In Outlook on Windows and on Mac, the signature under the **New messages** and **Replies/forwards** sections
15544
+ * of the sending account is set to **(none)**.
15545
+ *
15546
+ * - In Outlook on the web, the signature option for new mails, replies, and forwards is disabled.
15547
+ * A signature that's selected is also disabled by the method.
15548
+ *
15549
+ * - In Outlook on Android and on iOS, the signature saved on the mobile device is cleared.
15506
15550
  *
15507
15551
  * @remarks
15508
15552
  * [Api set: Mailbox 1.10]
@@ -15511,6 +15555,8 @@ declare namespace Office {
15511
15555
  *
15512
15556
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15513
15557
  *
15558
+ * **Important**: This method is supported in Message Compose on Outlook on Android and on iOS.
15559
+ *
15514
15560
  * @param callback - Optional. When the method completes, the function passed in the callback parameter is called with a single parameter,
15515
15561
  * `asyncResult`, which is an `Office.AsyncResult` object.
15516
15562
  */
@@ -15618,6 +15664,8 @@ declare namespace Office {
15618
15664
  *
15619
15665
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15620
15666
  *
15667
+ * **Important**: This method is supported in Outlook on Android and on iOS.
15668
+ *
15621
15669
  * @param options - An object literal that contains one or more of the following properties:-
15622
15670
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
15623
15671
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
@@ -15639,6 +15687,8 @@ declare namespace Office {
15639
15687
  *
15640
15688
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15641
15689
  *
15690
+ * **Important**: This method is supported in Outlook on Android and on iOS.
15691
+ *
15642
15692
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
15643
15693
  * type `Office.AsyncResult`. On success, the `asyncResult.value` property contains an object with the item's compose type
15644
15694
  * and coercion type.
@@ -17215,6 +17265,8 @@ declare namespace Office {
17215
17265
  * Including them will result in an `ArgumentException`.
17216
17266
  *
17217
17267
  * If type is `ProgressIndicator`, the developer should remove or replace the progress indicator when the action is complete.
17268
+ *
17269
+ * **Important**: Only the `InformationalMessage` type is supported in Outlook on Android and on iOS.
17218
17270
  */
17219
17271
  type: MailboxEnums.ItemNotificationMessageType | string;
17220
17272
  /**
@@ -17268,6 +17320,13 @@ declare namespace Office {
17268
17320
  *
17269
17321
  * There are a maximum of 5 notifications per message. Setting more will return a `NumberOfNotificationMessagesExceeded` error.
17270
17322
  *
17323
+ * @remarks
17324
+ * [Api set: Mailbox 1.3]
17325
+ *
17326
+ * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
17327
+ *
17328
+ * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
17329
+ *
17271
17330
  * **Important**:
17272
17331
  *
17273
17332
  * - Only one notification of type {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxenums.itemnotificationmessagetype#fields | InsightMessage}
@@ -17275,12 +17334,7 @@ declare namespace Office {
17275
17334
  *
17276
17335
  * - In modern Outlook on the web, you can add an `InsightMessage` notification only in Compose mode.
17277
17336
  *
17278
- * @remarks
17279
- * [Api set: Mailbox 1.3]
17280
- *
17281
- * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
17282
- *
17283
- * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
17337
+ * - Only the `InformationalMessage` type is supported in Outlook on Android and on iOS.
17284
17338
  *
17285
17339
  * @param key - A developer-specified key used to reference this notification message.
17286
17340
  * Developers can use it to modify this message later. It can't be longer than 32 characters.
@@ -17297,6 +17351,13 @@ declare namespace Office {
17297
17351
  *
17298
17352
  * There are a maximum of 5 notifications per message. Setting more will return a `NumberOfNotificationMessagesExceeded` error.
17299
17353
  *
17354
+ * @remarks
17355
+ * [Api set: Mailbox 1.3]
17356
+ *
17357
+ * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
17358
+ *
17359
+ * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
17360
+ *
17300
17361
  * **Important**:
17301
17362
  *
17302
17363
  * - Only one notification of type {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxenums.itemnotificationmessagetype#fields | InsightMessage}
@@ -17304,12 +17365,7 @@ declare namespace Office {
17304
17365
  *
17305
17366
  * - In modern Outlook on the web, you can add an `InsightMessage` notification only in Compose mode.
17306
17367
  *
17307
- * @remarks
17308
- * [Api set: Mailbox 1.3]
17309
- *
17310
- * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
17311
- *
17312
- * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
17368
+ * - Only the `InformationalMessage` type is supported in Outlook on Android and on iOS.
17313
17369
  *
17314
17370
  * @param key - A developer-specified key used to reference this notification message.
17315
17371
  * Developers can use it to modify this message later. It can't be longer than 32 characters.
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.334",
3
+ "version": "1.0.336",
4
4
  "description": "TypeScript definitions for Office.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "2428e1df634be62898a3b56a33fbb8a4f129d6bfdaa95ab4fb9131c5a7f4409a",
48
+ "typesPublisherContentHash": "1e85acad9690151d9aeca195ff57c60a76e842f71ef2ce5b520bc46bab04fd6a",
49
49
  "typeScriptVersion": "4.3"
50
50
  }