@types/office-js-preview 1.0.455 → 1.0.457

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ This package contains type definitions for office-js-preview (https://github.com
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 15 Feb 2024 23:35:24 GMT
11
+ * Last updated: Thu, 21 Mar 2024 17:07:04 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -441,6 +441,9 @@ declare namespace Office {
441
441
  PC,
442
442
  /**
443
443
  * The platform is Office on the web (in a browser).
444
+ *
445
+ * **Important**: In Outlook, `OfficeOnline` is returned if an add-is is running in Outlook on the web or in
446
+ * {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows (preview)}.
444
447
  */
445
448
  OfficeOnline,
446
449
  /**
@@ -959,11 +962,16 @@ declare namespace Office {
959
962
  * Provides the platform on which the add-in is running.
960
963
  *
961
964
  * @remarks
962
- * **Important**: In Outlook, this property is available from Mailbox requirement set 1.5. You can also use the
965
+ * **Important**:
966
+ *
967
+ * - In Outlook, this property is available from Mailbox requirement set 1.5. You can also use the
963
968
  * `Office.context.diagnostics` property to get the platform starting with requirement set 1.5. For all
964
969
  * Mailbox requirement sets, you can use the
965
970
  * {@link https://learn.microsoft.com/javascript/api/outlook/office.mailbox?view=outlook-js-preview&preserve-view=true#outlook-office-mailbox-diagnostics-member | Office.context.mailbox.diagnostics}
966
971
  * property to get similar information.
972
+ *
973
+ * - In Outlook, `OfficeOnline` is returned if an add-is is running in Outlook on the web or in
974
+ * {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows (preview)}.
967
975
  */
968
976
  platform: PlatformType;
969
977
  /**
@@ -1737,6 +1745,10 @@ declare namespace Office {
1737
1745
  host: Office.HostType;
1738
1746
  /**
1739
1747
  * Gets the platform on which the add-in is running.
1748
+ *
1749
+ * @remarks
1750
+ * **Important**: In Outlook, `OfficeOnline` is returned if an add-is is running in Outlook on the web or in
1751
+ * {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows (preview)}.
1740
1752
  */
1741
1753
  platform: Office.PlatformType;
1742
1754
  /**
@@ -20455,11 +20467,11 @@ declare namespace Office {
20455
20467
  *
20456
20468
  * **Important**:
20457
20469
  *
20458
- * In Outlook on Windows, you can only use this property in a spam-reporting add-in starting in Version 2308 (Build 16724.10000).
20459
- * If you're using an earlier build that supports the integrated spam-reporting feature, use the `postProcessingAction`
20460
- * property instead.
20470
+ * - You can only use this property in a spam-reporting add-in in Outlook on Windows (starting in Version 2308 (Build 16724.10000)), on Mac, on the web,
20471
+ * and in new Outlook on Windows (preview). If you're using an earlier build in Outlook on Windows that supports the integrated spam-reporting feature, use the
20472
+ * `postProcessingAction` property instead.
20461
20473
  *
20462
- * If the property is set to `Office.MailboxEnums.MoveSpamItemTo.CustomFolder`, you must specify the name of the folder to which
20474
+ * - If the property is set to `Office.MailboxEnums.MoveSpamItemTo.CustomFolder`, you must specify the name of the folder to which
20463
20475
  * the message will be moved in the `folderName` property of the `event.completed` call. Otherwise, the `moveItemTo` property will default to
20464
20476
  * `Office.MailboxEnums.MoveSpamItemTo.JunkFolder` and move the reported message to the **Junk Email** folder.
20465
20477
  *
@@ -20504,10 +20516,12 @@ declare namespace Office {
20504
20516
  *
20505
20517
  * **Important**:
20506
20518
  *
20507
- * In Outlook on Windows, you can only use this property in earlier builds that support the integrated spam-reporting feature.
20519
+ * - In Outlook on Windows, you can only use this property in earlier builds that support the integrated spam-reporting feature.
20508
20520
  * If you're on Version 2308 (Build 16724.10000) or later, use the `moveItemTo` property instead.
20509
20521
  *
20510
- * If the property is set to `moveToCustomFolder`, you must specify the name of the folder to which
20522
+ * - This property isn't supported in Outlook on the web, on Mac, or in new Outlook on Windows (preview). Use the `moveItemTo` property instead.
20523
+ *
20524
+ * - If the property is set to `moveToCustomFolder`, you must specify the name of the folder to which
20511
20525
  * the message will be moved in the `folderName` property of the `event.completed` call. Otherwise, the `postProcessingAction` property will default to
20512
20526
  * `moveToSpamFolder` and move the reported message to the **Junk Email** folder.
20513
20527
  *
@@ -20527,6 +20541,12 @@ declare namespace Office {
20527
20541
  *
20528
20542
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Read
20529
20543
  *
20544
+ * **Important**: In Outlook on the web or in new Outlook on Windows (preview), a post-processing dialog isn't shown once the add-in completes processing a
20545
+ * reported message. This applies even if `showPostProcessingDialog` is configured. However, depending on how you configured the `moveItemTo` property in the
20546
+ * `event.completed` call, a notification is shown to signal when the reported message is deleted or moved to another folder in the mailbox. To learn more, see
20547
+ * the "Review feature behavior and limitations" section of
20548
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting#review-feature-behavior-and-limitations | Implement an integrated spam-reporting add-in (preview)}.
20549
+ *
20530
20550
  * @beta
20531
20551
  */
20532
20552
  showPostProcessingDialog?: object;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.455",
3
+ "version": "1.0.457",
4
4
  "description": "TypeScript definitions for office-js-preview",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "9ce1b1e7e7c30d2c5eb2486c99cfaec585c947d4ecd22f85f5ceecacf909ed80",
49
- "typeScriptVersion": "4.6",
48
+ "typesPublisherContentHash": "8f26a844726c1495fe16093317b3964cc1abfb0359f4fb975c86fe72e7f6df22",
49
+ "typeScriptVersion": "4.7",
50
50
  "nonNpm": true
51
51
  }