@types/office-js-preview 1.0.259 → 1.0.263

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, 14 Oct 2021 19:01:31 GMT
11
+ * Last updated: Mon, 25 Oct 2021 23:31:48 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
@@ -1389,7 +1389,7 @@ declare namespace Office {
1389
1389
  }
1390
1390
 
1391
1391
  /**
1392
- * The Office Auth namespace, `Office.context.auth`, provides a method that allows the Office client application to obtain an access token to the add-in's web application.
1392
+ * The Office Auth namespace, `Office.auth`, provides a method that allows the Office client application to obtain an access token to the add-in's web application.
1393
1393
  * Indirectly, this also enables the add-in to access the signed-in user's Microsoft Graph data without requiring the user to sign in a second time.
1394
1394
  */
1395
1395
  interface Auth {
@@ -12676,6 +12676,8 @@ declare namespace Office {
12676
12676
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadItem`
12677
12677
  *
12678
12678
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
12679
+ *
12680
+ * @beta
12679
12681
  */
12680
12682
  interface DelayDeliveryTime {
12681
12683
  /**
@@ -12692,6 +12694,8 @@ declare namespace Office {
12692
12694
  * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12693
12695
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
12694
12696
  * `asyncResult`, which is an `Office.AsyncResult` object.
12697
+ *
12698
+ * @beta
12695
12699
  */
12696
12700
  getAsync(options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<Date>) => void): void;
12697
12701
  /**
@@ -12706,6 +12710,8 @@ declare namespace Office {
12706
12710
  *
12707
12711
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
12708
12712
  * `asyncResult`, which is an `Office.AsyncResult` object.
12713
+ *
12714
+ * @beta
12709
12715
  */
12710
12716
  getAsync(callback?: (asyncResult: Office.AsyncResult<Date>) => void): void;
12711
12717
  /**
@@ -12723,6 +12729,8 @@ declare namespace Office {
12723
12729
  * `asyncContext`: Developers can provide any object they wish to access in the callback method.
12724
12730
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
12725
12731
  * of type Office.AsyncResult. Any errors encountered will be provided in the `asyncResult.error` property.
12732
+ *
12733
+ * @beta
12726
12734
  */
12727
12735
  setAsync(datetime: Date, options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
12728
12736
  /**
@@ -12738,6 +12746,8 @@ declare namespace Office {
12738
12746
  * @param datetime - The future date and time when the message should be sent.
12739
12747
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
12740
12748
  * of type Office.AsyncResult. Any errors encountered will be provided in the `asyncResult.error` property.
12749
+ *
12750
+ * @beta
12741
12751
  */
12742
12752
  setAsync(datetime: Date, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
12743
12753
  }
@@ -14694,6 +14704,8 @@ declare namespace Office {
14694
14704
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadItem`
14695
14705
  *
14696
14706
  * **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
14707
+ *
14708
+ * @beta
14697
14709
  */
14698
14710
  delayDeliveryTime: DelayDeliveryTime;
14699
14711
  /**
@@ -16817,6 +16829,7 @@ declare namespace Office {
16817
16829
  *
16818
16830
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
16819
16831
  * type `Office.AsyncResult`.
16832
+ *
16820
16833
  * @beta
16821
16834
  */
16822
16835
  getAsync(callback: (asyncResult: Office.AsyncResult<boolean>) => void): void;
@@ -17147,6 +17160,8 @@ declare namespace Office {
17147
17160
  *
17148
17161
  * @remarks
17149
17162
  * [Api set: Mailbox preview]
17163
+ *
17164
+ * @beta
17150
17165
  */
17151
17166
  officeTheme: Office.OfficeTheme;
17152
17167
  /**
@@ -17154,6 +17169,8 @@ declare namespace Office {
17154
17169
  *
17155
17170
  * @remarks
17156
17171
  * [Api set: Mailbox preview]
17172
+ *
17173
+ * @beta
17157
17174
  */
17158
17175
  type: "officeThemeChanged";
17159
17176
  }
@@ -17326,6 +17343,11 @@ declare namespace Office {
17326
17343
  *
17327
17344
  * - Other: No limit
17328
17345
  *
17346
+ * **Important**: In Outlook on the web, if a user created a new message by activating a contact's email address link from their contact or
17347
+ * profile card, your add-in's `getAsync` call currently won't return a value in the `displayName` property of the
17348
+ * associated `EmailAddressDetails` object. For more details, refer to the
17349
+ * {@link https://github.com/OfficeDev/office-js-docs-pr/issues/2962 | related GitHub issue}.
17350
+ *
17329
17351
  * @remarks
17330
17352
  * [Api set: Mailbox 1.1]
17331
17353
  *
@@ -17349,6 +17371,11 @@ declare namespace Office {
17349
17371
  *
17350
17372
  * - Other: No limit
17351
17373
  *
17374
+ * **Important**: In Outlook on the web, if a user created a new message by activating a contact's email address link from their contact or
17375
+ * profile card, your add-in's `getAsync` call currently won't return a value in the `displayName` property of the
17376
+ * associated `EmailAddressDetails` object. For more details, refer to the
17377
+ * {@link https://github.com/OfficeDev/office-js-docs-pr/issues/2962 | related GitHub issue}.
17378
+ *
17352
17379
  * @remarks
17353
17380
  * [Api set: Mailbox 1.1]
17354
17381
  *
@@ -81705,6 +81732,9 @@ declare namespace Word {
81705
81732
  /**
81706
81733
  * Gets the collection of paragraph objects in the body. Read-only.
81707
81734
  *
81735
+ * **Important**: Paragraphs in tables are not returned for requirement sets 1.1 and 1.2.
81736
+ * From requirement set 1.3, paragraphs in tables are also returned.
81737
+ *
81708
81738
  * @remarks
81709
81739
  * [Api set: WordApi 1.1]
81710
81740
  */
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.259",
3
+ "version": "1.0.263",
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",
@@ -40,6 +40,6 @@
40
40
  },
41
41
  "scripts": {},
42
42
  "dependencies": {},
43
- "typesPublisherContentHash": "260247141a8d26ceec86cef8188d55c38a9cfc4b6fd618a78e11db825e4c38c6",
43
+ "typesPublisherContentHash": "bbcb97efb8d239cd6c569dd3f1c6b272877f4bc67024639fb89b1535985a4ff7",
44
44
  "typeScriptVersion": "3.7"
45
45
  }