@types/office-js 1.0.292 → 1.0.294

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: Fri, 21 Oct 2022 16:03:06 GMT
11
+ * Last updated: Thu, 27 Oct 2022 18:02:55 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
@@ -8849,7 +8849,11 @@ declare namespace Office {
8849
8849
  */
8850
8850
  User = "user",
8851
8851
  /**
8852
- * Specifies the recipient is an SMTP email address that isn't on the Exchange server.
8852
+ * Specifies the recipient is an SMTP email address that isn't on the Exchange server. It also refers to a recipient added from a personal Outlook address book.
8853
+ *
8854
+ * **Note**: In Outlook on Windows starting with Version 2210 (Build 15813.20002), Global Address Book (GAL) recipients saved to a personal address book return
8855
+ * the `ExternalUser` value, even if their SMTP email address appears on the Exchange server. Recipients return a `User` value only if they're directly
8856
+ * added or resolved against the GAL.
8853
8857
  */
8854
8858
  ExternalUser = "externalUser",
8855
8859
  /**
@@ -18710,6 +18714,12 @@ declare namespace OfficeExtension {
18710
18714
  innerError: Error;
18711
18715
  }
18712
18716
 
18717
+ /**
18718
+ * Represents the error code that can be returned by {@link OfficeExtension.Error | OfficeExtension.Error.code}.
18719
+ *
18720
+ * To learn more about the error codes, see
18721
+ * {@link https://learn.microsoft.com/office/dev/add-ins/reference/javascript-api-for-office-error-codes | Office Common API error codes}.
18722
+ */
18713
18723
  class ErrorCodes {
18714
18724
  public static accessDenied: string;
18715
18725
  public static generalException: string;
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.292",
3
+ "version": "1.0.294",
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": "4006f9cf1c4b639a64db5540cd22e54a7b059b47a00fc51a2ee2ddf4eed817dd",
48
+ "typesPublisherContentHash": "dfee771ca469b84b495b6b84eb515bbe0a239a5dacce6e62e4c009c8c6720b83",
49
49
  "typeScriptVersion": "4.1"
50
50
  }