@types/office-js 1.0.390 → 1.0.391

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 May 2024 17:35:30 GMT
11
+ * Last updated: Fri, 24 May 2024 21:35:52 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -4679,13 +4679,20 @@ declare namespace Office {
4679
4679
  *
4680
4680
  * @remarks
4681
4681
  *
4682
- * **Applications**: Outlook
4682
+ * **Applications**: Outlook on the web and on Windows (classic and new clients)
4683
4683
  *
4684
4684
  * [Api set: Mailbox 1.14]
4685
4685
  *
4686
4686
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **restricted**
4687
4687
  *
4688
4688
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
4689
+ *
4690
+ * **Important**:
4691
+ *
4692
+ * - In Outlook on the web and new Outlook on Windows, this API isn't supported in add-ins that implement a task pane. On these clients,
4693
+ * the API is only supported in add-ins that implement event-based activation or integrated spam reporting.
4694
+ *
4695
+ * - In classic Outlook on Windows, this API is supported in add-ins that implement a task pane, event-based activation, or integrated spam reporting.
4689
4696
  */
4690
4697
  urls: Urls;
4691
4698
  }
@@ -8645,11 +8652,14 @@ declare namespace Office {
8645
8652
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | Configure your Outlook add-in for event-based activation} and
8646
8653
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting | Implement an integrated spam-reporting add-in}.
8647
8654
  *
8655
+ * - In Outlook on the web and new Outlook on Windows, this API isn't supported in add-ins that implement a task pane. On these clients,
8656
+ * the API is only supported in add-ins that implement event-based activation or integrated spam reporting.
8657
+ *
8648
8658
  * - If your add-in uses the XML manifest, the URL returned matches the `resid` value of the **RuntimeOverride** element of type `javascript`.
8649
8659
  * To learn more, see {@link https://learn.microsoft.com/javascript/api/manifest/override#override-element-for-runtime | Override element for Runtime}.
8650
8660
  *
8651
8661
  * - If your add-in uses the unified manifest for Microsoft 365, the URL returned matches the value of the `script` property in the
8652
- * "code" object.
8662
+ * "extensions.runtimes.code" object.
8653
8663
  */
8654
8664
  javascriptRuntimeUrl: string;
8655
8665
  }
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.390",
3
+ "version": "1.0.391",
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": "ed132cfb17d3ee356eb5fd728d4bfef1b3f7fe004b73b8f63ac26910405da013",
48
+ "typesPublisherContentHash": "e22b82bc57b83f2ec3c1c1cae96750c861714f35f1d3ba03936ada2ab135868f",
49
49
  "typeScriptVersion": "4.7"
50
50
  }