@types/office-js-preview 1.0.346 → 1.0.348

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 (https://github.com/OfficeD
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, 13 Oct 2022 18:03:30 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
 
@@ -8976,7 +8976,11 @@ declare namespace Office {
8976
8976
  */
8977
8977
  User = "user",
8978
8978
  /**
8979
- * Specifies the recipient is an SMTP email address that isn't on the Exchange server.
8979
+ * 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.
8980
+ *
8981
+ * **Note**: In Outlook on Windows starting with Version 2210 (Build 15813.20002), Global Address Book (GAL) recipients saved to a personal address book return
8982
+ * the `ExternalUser` value, even if their SMTP email address appears on the Exchange server. Recipients return a `User` value only if they're directly
8983
+ * added or resolved against the GAL.
8980
8984
  */
8981
8985
  ExternalUser = "externalUser",
8982
8986
  /**
@@ -19257,6 +19261,12 @@ declare namespace OfficeExtension {
19257
19261
  innerError: Error;
19258
19262
  }
19259
19263
 
19264
+ /**
19265
+ * Represents the error code that can be returned by {@link OfficeExtension.Error | OfficeExtension.Error.code}.
19266
+ *
19267
+ * To learn more about the error codes, see
19268
+ * {@link https://learn.microsoft.com/office/dev/add-ins/reference/javascript-api-for-office-error-codes | Office Common API error codes}.
19269
+ */
19260
19270
  class ErrorCodes {
19261
19271
  public static accessDenied: string;
19262
19272
  public static generalException: string;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.346",
3
+ "version": "1.0.348",
4
4
  "description": "TypeScript definitions for Office.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "fbc93dfc416aa1473fadfee9c5588f1ca0b866a43944c63c84a7e671779e9681",
48
+ "typesPublisherContentHash": "ea48836212c7f71a802749c761a03735acc16955ca4adc37b26bbe1eda876a98",
49
49
  "typeScriptVersion": "4.1"
50
50
  }