@types/office-js 1.0.392 → 1.0.394
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 +1 -1
- office-js/index.d.ts +27 -7
- office-js/package.json +2 -2
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,
|
|
11
|
+
* Last updated: Fri, 07 Jun 2024 00:25:08 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -11022,6 +11022,10 @@ declare namespace Office {
|
|
|
11022
11022
|
*
|
|
11023
11023
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
|
|
11024
11024
|
*
|
|
11025
|
+
* *Important**: The `removeAttachmentAsync` method doesn't remove inline attachments from a mail item.
|
|
11026
|
+
* To remove an inline attachment, first get the item's body, then remove any references of the attachment from its contents.
|
|
11027
|
+
* Use the {@link https://learn.microsoft.com/javascript/api/outlook/office.body | Office.Body} APIs to get and set the body of an item.
|
|
11028
|
+
*
|
|
11025
11029
|
* **Errors**:
|
|
11026
11030
|
*
|
|
11027
11031
|
* - `InvalidAttachmentId`: The attachment identifier does not exist.
|
|
@@ -11051,6 +11055,10 @@ declare namespace Office {
|
|
|
11051
11055
|
*
|
|
11052
11056
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
|
|
11053
11057
|
*
|
|
11058
|
+
* *Important**: The `removeAttachmentAsync` method doesn't remove inline attachments from a mail item.
|
|
11059
|
+
* To remove an inline attachment, first get the item's body, then remove any references of the attachment from its contents.
|
|
11060
|
+
* Use the {@link https://learn.microsoft.com/javascript/api/outlook/office.body | Office.Body} APIs to get and set the body of an item.
|
|
11061
|
+
*
|
|
11054
11062
|
* **Errors**:
|
|
11055
11063
|
*
|
|
11056
11064
|
* - `InvalidAttachmentId`: The attachment identifier does not exist.
|
|
@@ -16995,6 +17003,10 @@ declare namespace Office {
|
|
|
16995
17003
|
*
|
|
16996
17004
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
|
|
16997
17005
|
*
|
|
17006
|
+
* *Important**: The `removeAttachmentAsync` method doesn't remove inline attachments from a mail item.
|
|
17007
|
+
* To remove an inline attachment, first get the item's body, then remove any references of the attachment from its contents.
|
|
17008
|
+
* Use the {@link https://learn.microsoft.com/javascript/api/outlook/office.body | Office.Body} APIs to get and set the body of an item.
|
|
17009
|
+
*
|
|
16998
17010
|
* **Errors**:
|
|
16999
17011
|
*
|
|
17000
17012
|
* - `InvalidAttachmentId`: The attachment identifier does not exist.
|
|
@@ -17024,6 +17036,10 @@ declare namespace Office {
|
|
|
17024
17036
|
*
|
|
17025
17037
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
|
|
17026
17038
|
*
|
|
17039
|
+
* *Important**: The `removeAttachmentAsync` method doesn't remove inline attachments from a mail item.
|
|
17040
|
+
* To remove an inline attachment, first get the item's body, then remove any references of the attachment from its contents.
|
|
17041
|
+
* Use the {@link https://learn.microsoft.com/javascript/api/outlook/office.body | Office.Body} APIs to get and set the body of an item.
|
|
17042
|
+
*
|
|
17027
17043
|
* **Errors**:
|
|
17028
17044
|
*
|
|
17029
17045
|
* - `InvalidAttachmentId`: The attachment identifier does not exist.
|
|
@@ -31852,7 +31868,7 @@ declare namespace Excel {
|
|
|
31852
31868
|
*/
|
|
31853
31869
|
readonly protected: boolean;
|
|
31854
31870
|
/**
|
|
31855
|
-
* Protects
|
|
31871
|
+
* Protects the workbook. Fails if the workbook has been protected.
|
|
31856
31872
|
*
|
|
31857
31873
|
* @remarks
|
|
31858
31874
|
* [Api set: ExcelApi 1.7]
|
|
@@ -31861,7 +31877,7 @@ declare namespace Excel {
|
|
|
31861
31877
|
*/
|
|
31862
31878
|
protect(password?: string): void;
|
|
31863
31879
|
/**
|
|
31864
|
-
* Unprotects
|
|
31880
|
+
* Unprotects the workbook.
|
|
31865
31881
|
*
|
|
31866
31882
|
* @remarks
|
|
31867
31883
|
* [Api set: ExcelApi 1.7]
|
|
@@ -32057,7 +32073,7 @@ declare namespace Excel {
|
|
|
32057
32073
|
*/
|
|
32058
32074
|
readonly id: string;
|
|
32059
32075
|
/**
|
|
32060
|
-
* The display name of the worksheet.
|
|
32076
|
+
* The display name of the worksheet. The name must be fewer than 32 characters.
|
|
32061
32077
|
*
|
|
32062
32078
|
* @remarks
|
|
32063
32079
|
* [Api set: ExcelApi 1.1]
|
|
@@ -33609,6 +33625,7 @@ declare namespace Excel {
|
|
|
33609
33625
|
getColumnsBefore(count?: number): Excel.Range;
|
|
33610
33626
|
/**
|
|
33611
33627
|
* 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.
|
|
33628
|
+
* Note: This API returns an `ItemNotFound` error if no dependents are found.
|
|
33612
33629
|
*
|
|
33613
33630
|
* @remarks
|
|
33614
33631
|
* [Api set: ExcelApi 1.15]
|
|
@@ -33616,6 +33633,7 @@ declare namespace Excel {
|
|
|
33616
33633
|
getDependents(): Excel.WorkbookRangeAreas;
|
|
33617
33634
|
/**
|
|
33618
33635
|
* Returns a `WorkbookRangeAreas` object that represents the range containing all the direct dependent cells of a specified range in the same worksheet or across multiple worksheets.
|
|
33636
|
+
* Note: This API returns an `ItemNotFound` error if no dependents are found.
|
|
33619
33637
|
*
|
|
33620
33638
|
* @remarks
|
|
33621
33639
|
* [Api set: ExcelApi 1.13]
|
|
@@ -33623,6 +33641,7 @@ declare namespace Excel {
|
|
|
33623
33641
|
getDirectDependents(): Excel.WorkbookRangeAreas;
|
|
33624
33642
|
/**
|
|
33625
33643
|
* Returns a `WorkbookRangeAreas` object that represents the range containing all the direct precedent cells of a specified range in the same worksheet or across multiple worksheets.
|
|
33644
|
+
* Note: This API returns an `ItemNotFound` error if no precedents are found.
|
|
33626
33645
|
*
|
|
33627
33646
|
* @remarks
|
|
33628
33647
|
* [Api set: ExcelApi 1.12]
|
|
@@ -33740,6 +33759,7 @@ declare namespace Excel {
|
|
|
33740
33759
|
getPivotTables(fullyContained?: boolean): Excel.PivotTableScopedCollection;
|
|
33741
33760
|
/**
|
|
33742
33761
|
* Returns a `WorkbookRangeAreas` object that represents the range containing all the precedent cells of a specified range in the same worksheet or across multiple worksheets.
|
|
33762
|
+
* Note: This API returns an `ItemNotFound` error if no precedents are found.
|
|
33743
33763
|
*
|
|
33744
33764
|
* @remarks
|
|
33745
33765
|
* [Api set: ExcelApi 1.14]
|
|
@@ -62679,7 +62699,7 @@ declare namespace Excel {
|
|
|
62679
62699
|
*/
|
|
62680
62700
|
enableCalculation?: boolean;
|
|
62681
62701
|
/**
|
|
62682
|
-
* The display name of the worksheet.
|
|
62702
|
+
* The display name of the worksheet. The name must be fewer than 32 characters.
|
|
62683
62703
|
*
|
|
62684
62704
|
* @remarks
|
|
62685
62705
|
* [Api set: ExcelApi 1.1]
|
|
@@ -67897,7 +67917,7 @@ declare namespace Excel {
|
|
|
67897
67917
|
*/
|
|
67898
67918
|
id?: string;
|
|
67899
67919
|
/**
|
|
67900
|
-
* The display name of the worksheet.
|
|
67920
|
+
* The display name of the worksheet. The name must be fewer than 32 characters.
|
|
67901
67921
|
*
|
|
67902
67922
|
* @remarks
|
|
67903
67923
|
* [Api set: ExcelApi 1.1]
|
|
@@ -74594,7 +74614,7 @@ declare namespace Excel {
|
|
|
74594
74614
|
*/
|
|
74595
74615
|
id?: boolean;
|
|
74596
74616
|
/**
|
|
74597
|
-
* The display name of the worksheet.
|
|
74617
|
+
* The display name of the worksheet. The name must be fewer than 32 characters.
|
|
74598
74618
|
*
|
|
74599
74619
|
* @remarks
|
|
74600
74620
|
* [Api set: ExcelApi 1.1]
|
|
@@ -74722,7 +74742,7 @@ declare namespace Excel {
|
|
|
74722
74742
|
*/
|
|
74723
74743
|
id?: boolean;
|
|
74724
74744
|
/**
|
|
74725
|
-
* For EACH ITEM in the collection: The display name of the worksheet.
|
|
74745
|
+
* For EACH ITEM in the collection: The display name of the worksheet. The name must be fewer than 32 characters.
|
|
74726
74746
|
*
|
|
74727
74747
|
* @remarks
|
|
74728
74748
|
* [Api set: ExcelApi 1.1]
|
office-js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.394",
|
|
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": "
|
|
48
|
+
"typesPublisherContentHash": "0dc9cf2f71d799e043e1dfae04acf914e4d2adbc62fff35d59147a014f89eab1",
|
|
49
49
|
"typeScriptVersion": "4.7"
|
|
50
50
|
}
|