@types/office-js 1.0.369 → 1.0.371

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: Tue, 30 Jan 2024 00:22:17 GMT
11
+ * Last updated: Tue, 06 Feb 2024 20:35:18 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -17694,14 +17694,14 @@ declare namespace Office {
17694
17694
  /**
17695
17695
  * The definition of the action for a notification message.
17696
17696
  *
17697
- * **Important**: In modern Outlook on the web, the `NotificationMessageAction` object is available in Compose mode only.
17698
- *
17699
17697
  * @remarks
17700
17698
  * [Api set: Mailbox 1.10]
17701
17699
  *
17702
17700
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
17703
17701
  *
17704
17702
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
17703
+ *
17704
+ * **Important**: In modern Outlook on the web, the `NotificationMessageAction` object is available in Compose mode only.
17705
17705
  */
17706
17706
  interface NotificationMessageAction {
17707
17707
  /**
@@ -17718,8 +17718,17 @@ declare namespace Office {
17718
17718
  */
17719
17719
  commandId: string;
17720
17720
  /**
17721
- * Any JSON data the action button needs to pass on.
17722
- * This data can be retrieved by calling `item.getInitializationContextAsync`.
17721
+ * Any JSON data the action button needs to pass on to the add-in.
17722
+ *
17723
+ * @remarks
17724
+ *
17725
+ * **Important**:
17726
+ *
17727
+ * - In Outlook on Windows, the `any` type is supported starting in Version 2402 (Build 17308.20000). In earlier versions of Outlook on Windows, only the `string`
17728
+ * type is supported.
17729
+ *
17730
+ * - To retrieve the JSON data, call `Office.context.mailboxitem.getInitializationContextAsync`. If you create a JSON string using
17731
+ * `JSON.stringify()` and assign it to the `contextData` property, you must parse the string using `JSON.parse()` once you retrieve it.
17723
17732
  */
17724
17733
  contextData: any;
17725
17734
  }
@@ -28557,7 +28566,7 @@ declare namespace Excel {
28557
28566
  */
28558
28567
  lowerBound?: string;
28559
28568
  /**
28560
- * The substring used for `beginsWith`, `endsWith`, and `contains` filter conditions.
28569
+ * The substring used for the `beginsWith`, `endsWith`, and `contains` filter conditions.
28561
28570
  *
28562
28571
  * @remarks
28563
28572
  * [Api set: ExcelApi 1.12]
@@ -32370,7 +32379,7 @@ declare namespace Excel {
32370
32379
  * @param skipBlanks True if to skip blank cells in the source range. Default is false.
32371
32380
  * @param transpose True if to transpose the cells in the destination range. Default is false.
32372
32381
  */
32373
- copyFrom(sourceRange: Range | RangeAreas | string, copyType?: "All" | "Formulas" | "Values" | "Formats", skipBlanks?: boolean, transpose?: boolean): void;
32382
+ copyFrom(sourceRange: Range | RangeAreas | string, copyType?: "All" | "Formulas" | "Values" | "Formats" | "Link", skipBlanks?: boolean, transpose?: boolean): void;
32374
32383
  /**
32375
32384
  * Deletes the cells associated with the range.
32376
32385
  *
@@ -32500,7 +32509,7 @@ declare namespace Excel {
32500
32509
  getColumnsBefore(count?: number): Excel.Range;
32501
32510
  /**
32502
32511
  * Returns a `WorkbookRangeAreas` object that represents the range containing all the dependent cells of a specified range in the same worksheet or across multiple worksheets.
32503
- *
32512
+ *
32504
32513
  * @remarks
32505
32514
  * [Api set: ExcelApi 1.15]
32506
32515
  */
@@ -33273,7 +33282,7 @@ declare namespace Excel {
33273
33282
  * @param skipBlanks True if to skip blank cells in the source range or `RangeAreas`. Default is false.
33274
33283
  * @param transpose True if to transpose the cells in the destination `RangeAreas`. Default is false.
33275
33284
  */
33276
- copyFrom(sourceRange: Range | RangeAreas | string, copyType?: "All" | "Formulas" | "Values" | "Formats", skipBlanks?: boolean, transpose?: boolean): void;
33285
+ copyFrom(sourceRange: Range | RangeAreas | string, copyType?: "All" | "Formulas" | "Values" | "Formats" | "Link", skipBlanks?: boolean, transpose?: boolean): void;
33277
33286
  /**
33278
33287
  * Returns a `RangeAreas` object that represents the entire columns of the `RangeAreas` (for example, if the current `RangeAreas` represents cells "B4:E11, H2", it returns a `RangeAreas` that represents columns "B:E, H:H").
33279
33288
  *
@@ -54282,6 +54291,8 @@ declare namespace Excel {
54282
54291
  textAsNumber = "TextAsNumber"
54283
54292
  }
54284
54293
  /**
54294
+ * Represents the ordering method to be used when sorting Chinese characters.
54295
+ *
54285
54296
  * @remarks
54286
54297
  * [Api set: ExcelApi 1.2]
54287
54298
  */
@@ -55717,7 +55728,12 @@ declare namespace Excel {
55717
55728
  * @remarks
55718
55729
  * [Api set: ExcelApi 1.9]
55719
55730
  */
55720
- formats = "Formats"
55731
+ formats = "Formats",
55732
+ /**
55733
+ * @remarks
55734
+ * [Api set: ExcelApiOnline 1.1]
55735
+ */
55736
+ link = "Link",
55721
55737
  }
55722
55738
  /**
55723
55739
  * @remarks
@@ -57490,7 +57506,7 @@ declare namespace Excel {
57490
57506
  /**
57491
57507
  * Creates and activates a new temporary sheet view.
57492
57508
  Temporary views are removed when closing the application, exiting the temporary view with the exit method, or switching to another sheet view.
57493
- The temporary sheet view can also be acccessed with the empty string (""), if the temporary view exists.
57509
+ The temporary sheet view can also be accessed with the empty string (""), if the temporary view exists.
57494
57510
  *
57495
57511
  * @remarks
57496
57512
  * [Api set: ExcelApiOnline 1.1]
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.369",
3
+ "version": "1.0.371",
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": "44035a996299dd15c255ec0e1bea644986b42eaa052041fd4b7c51d38e04930d",
48
+ "typesPublisherContentHash": "9283e795f2e2fec9ee9bfbb1e3bb6e331c2676146d1810faa28d8b17e61ba4a7",
49
49
  "typeScriptVersion": "4.6"
50
50
  }