@types/office-js 1.0.361 → 1.0.363

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: Mon, 20 Nov 2023 23:36:24 GMT
11
+ * Last updated: Thu, 14 Dec 2023 23:35:42 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -8507,6 +8507,11 @@ declare namespace Office {
8507
8507
  * **Important**: The actual color depends on how the Outlook client renders it.
8508
8508
  * In this case, the colors noted on each preset apply to Outlook on Windows, on the web,
8509
8509
  * and on Mac (starting in Version 16.78).
8510
+ *
8511
+ * Earlier versions of Outlook on Mac had a bug that displayed incorrect preset colors.
8512
+ * This has now been fixed starting in Version 16.78. If you've recently updated your
8513
+ * Outlook client, you need to adjust the category colors in your add-in to match the
8514
+ * updated preset values.
8510
8515
  */
8511
8516
  enum CategoryColor {
8512
8517
  /**
@@ -12618,7 +12623,8 @@ declare namespace Office {
12618
12623
  *
12619
12624
  * - In Outlook on the web, `setSignatureAsync` only works on messages.
12620
12625
  *
12621
- * - This method is supported in Message Compose on Outlook on Android and on iOS. For a sample scenario, see
12626
+ * - This method is supported in Message Compose on Outlook on Android. Support for this method in Message Compose on Outlook on iOS is currently being
12627
+ * rolled out. For a sample scenario, see
12622
12628
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-event-based | Implement event-based activation in Outlook mobile add-ins}.
12623
12629
  * To learn more about APIs supported in Outlook mobile, see
12624
12630
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
@@ -12657,7 +12663,8 @@ declare namespace Office {
12657
12663
  *
12658
12664
  * - In Outlook on the web, `setSignatureAsync` only works on messages.
12659
12665
  *
12660
- * - This method is supported in Message Compose on Outlook on Android and on iOS. For a sample scenario, see
12666
+ * - This method is supported in Message Compose on Outlook on Android. Support for this method in Message Compose on Outlook on iOS is currently being
12667
+ * rolled out. For a sample scenario, see
12661
12668
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/mobile-event-based | Implement event-based activation in Outlook mobile add-ins}.
12662
12669
  * To learn more about APIs supported in Outlook mobile, see
12663
12670
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
@@ -15685,8 +15692,9 @@ declare namespace Office {
15685
15692
  *
15686
15693
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15687
15694
  *
15688
- * **Important**: This method is supported in Message Compose in Outlook on Android and on iOS. For more information on supported APIs in
15689
- * Outlook mobile, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
15695
+ * **Important**: This method is supported in Message Compose in Outlook on Android. Support for this method in Message Compose on Outlook on iOS is currently
15696
+ * being rolled out. For more information on supported APIs in Outlook mobile, see
15697
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
15690
15698
  *
15691
15699
  * @param options - An object literal that contains one or more of the following properties:-
15692
15700
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
@@ -15714,8 +15722,9 @@ declare namespace Office {
15714
15722
  *
15715
15723
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15716
15724
  *
15717
- * **Important**: This method is supported in Message Compose on Outlook on Android and on iOS. For more information on supported APIs in
15718
- * Outlook mobile, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
15725
+ * **Important**: This method is supported in Message Compose in Outlook on Android. Support for this method in Message Compose on Outlook on iOS is currently
15726
+ * being rolled out. For more information on supported APIs in Outlook mobile, see
15727
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
15719
15728
  *
15720
15729
  * @param callback - Optional. When the method completes, the function passed in the callback parameter is called with a single parameter,
15721
15730
  * `asyncResult`, which is an `Office.AsyncResult` object.
@@ -15824,8 +15833,9 @@ declare namespace Office {
15824
15833
  *
15825
15834
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15826
15835
  *
15827
- * **Important**: This method is supported in Outlook on Android and on iOS. For more information on supported APIs in
15828
- * Outlook mobile, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
15836
+ * **Important**: This method is supported in Outlook on Android. Support for this method in Outlook on iOS is currently being rolled out.
15837
+ * For more information on supported APIs in Outlook mobile, see
15838
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
15829
15839
  *
15830
15840
  * @param options - An object literal that contains one or more of the following properties:-
15831
15841
  * `asyncContext`: Developers can provide any object they wish to access in the callback function.
@@ -15848,8 +15858,9 @@ declare namespace Office {
15848
15858
  *
15849
15859
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
15850
15860
  *
15851
- * **Important**: This method is supported in Outlook on Android and on iOS. For more information on supported APIs in
15852
- * Outlook mobile, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
15861
+ * **Important**: This method is supported in Outlook on Android. Support for this method in Outlook on iOS is currently being rolled out.
15862
+ * For more information on supported APIs in Outlook mobile, see
15863
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
15853
15864
  *
15854
15865
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
15855
15866
  * type `Office.AsyncResult`. On success, the `asyncResult.value` property contains an object with the item's compose type
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.361",
3
+ "version": "1.0.363",
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": "c4f7eccb9f8b8844f1ba8905ed14bf9ef6d424e30e95d1bfbe344cc7e1d6e0e0",
49
- "typeScriptVersion": "4.5"
48
+ "typesPublisherContentHash": "2c383f0410fdb5d3cb3d1276b2734122022564e817680a6cde37c5619406bfcc",
49
+ "typeScriptVersion": "4.6"
50
50
  }