@types/office-js-preview 1.0.320 → 1.0.323
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-preview/README.md +1 -1
- office-js-preview/index.d.ts +23 -11
- office-js-preview/package.json +2 -2
office-js-preview/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-preview.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 16 Aug 2022 16:32:34 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js-preview/index.d.ts
CHANGED
|
@@ -8533,7 +8533,7 @@ declare namespace Office {
|
|
|
8533
8533
|
Preset24
|
|
8534
8534
|
}
|
|
8535
8535
|
/**
|
|
8536
|
-
*
|
|
8536
|
+
* Specifies a message's compose type.
|
|
8537
8537
|
*
|
|
8538
8538
|
* @remarks
|
|
8539
8539
|
* [Api set: Mailbox 1.10]
|
|
@@ -9959,6 +9959,11 @@ declare namespace Office {
|
|
|
9959
9959
|
*
|
|
9960
9960
|
* - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
|
|
9961
9961
|
*
|
|
9962
|
+
* **Note**: If you're adding an inline base64 image to the body of a message or appointment being composed, you must first get the current item body using the
|
|
9963
|
+
* {@link https://docs.microsoft.com/javascript/api/outlook/office.body#outlook-office-body-getasync-member(1) | Office.context.mailbox.item.body.getAsync}
|
|
9964
|
+
* method before inserting the image using `addFileAttachmentFromBase64Async`. Otherwise, the image will not render in the body once it's inserted.
|
|
9965
|
+
* For further guidance, see {@link https://docs.microsoft.com/office/dev/add-ins/outlook/add-and-remove-attachments-to-an-item-in-a-compose-form#attach-a-file | Attach a file}.
|
|
9966
|
+
*
|
|
9962
9967
|
* @param base64File - The base64 encoded content of an image or file to be added to an email or event.
|
|
9963
9968
|
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
|
|
9964
9969
|
* @param options - An object literal that contains one or more of the following properties.
|
|
@@ -9998,6 +10003,11 @@ declare namespace Office {
|
|
|
9998
10003
|
*
|
|
9999
10004
|
* - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
|
|
10000
10005
|
*
|
|
10006
|
+
* **Note**: If you're adding an inline base64 image to the body of a message or appointment being composed, you must first get the current item body using the
|
|
10007
|
+
* {@link https://docs.microsoft.com/javascript/api/outlook/office.body#outlook-office-body-getasync-member(1) | Office.context.mailbox.item.body.getAsync}
|
|
10008
|
+
* method before inserting the image using `addFileAttachmentFromBase64Async`. Otherwise, the image will not render in the body once it's inserted.
|
|
10009
|
+
* For further guidance, see {@link https://docs.microsoft.com/office/dev/add-ins/outlook/add-and-remove-attachments-to-an-item-in-a-compose-form#attach-a-file | Attach a file}.
|
|
10010
|
+
*
|
|
10001
10011
|
* @param base64File - The base64 encoded content of an image or file to be added to an email or event.
|
|
10002
10012
|
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
|
|
10003
10013
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
|
|
@@ -15083,6 +15093,11 @@ declare namespace Office {
|
|
|
15083
15093
|
*
|
|
15084
15094
|
* - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
|
|
15085
15095
|
*
|
|
15096
|
+
* **Note**: If you're adding an inline base64 image to the body of a message or appointment being composed, you must first get the current item body using the
|
|
15097
|
+
* {@link https://docs.microsoft.com/javascript/api/outlook/office.body#outlook-office-body-getasync-member(1) | Office.context.mailbox.item.body.getAsync}
|
|
15098
|
+
* method before inserting the image using `addFileAttachmentFromBase64Async`. Otherwise, the image will not render in the body once it's inserted.
|
|
15099
|
+
* For further guidance, see {@link https://docs.microsoft.com/office/dev/add-ins/outlook/add-and-remove-attachments-to-an-item-in-a-compose-form#attach-a-file | Attach a file}.
|
|
15100
|
+
*
|
|
15086
15101
|
* @param base64File - The base64-encoded content of an image or file to be added to an email or event.
|
|
15087
15102
|
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
|
|
15088
15103
|
* @param options - An object literal that contains one or more of the following properties.
|
|
@@ -15119,6 +15134,11 @@ declare namespace Office {
|
|
|
15119
15134
|
*
|
|
15120
15135
|
* - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
|
|
15121
15136
|
*
|
|
15137
|
+
* **Note**: If you're adding an inline base64 image to the body of a message or appointment being composed, you must first get the current item body using the
|
|
15138
|
+
* {@link https://docs.microsoft.com/javascript/api/outlook/office.body#outlook-office-body-getasync-member(1) | Office.context.mailbox.item.body.getAsync}
|
|
15139
|
+
* method before inserting the image using `addFileAttachmentFromBase64Async`. Otherwise, the image will not render in the body once it's inserted.
|
|
15140
|
+
* For further guidance, see {@link https://docs.microsoft.com/office/dev/add-ins/outlook/add-and-remove-attachments-to-an-item-in-a-compose-form#attach-a-file | Attach a file}.
|
|
15141
|
+
*
|
|
15122
15142
|
* @param base64File - The base64-encoded content of an image or file to be added to an email or event.
|
|
15123
15143
|
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
|
|
15124
15144
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
|
|
@@ -20974,15 +20994,7 @@ declare namespace Excel {
|
|
|
20974
20994
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20975
20995
|
* @beta
|
|
20976
20996
|
*/
|
|
20977
|
-
unknown = "Unknown"
|
|
20978
|
-
/**
|
|
20979
|
-
* An error returned by the Python interpreter as a result of running the Python code. Displays as error type #EXTERNAL! in Excel.
|
|
20980
|
-
*
|
|
20981
|
-
* @remarks
|
|
20982
|
-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
20983
|
-
* @beta
|
|
20984
|
-
*/
|
|
20985
|
-
pythonError = "PythonError"
|
|
20997
|
+
unknown = "Unknown"
|
|
20986
20998
|
}
|
|
20987
20999
|
/**
|
|
20988
21000
|
* Represents the value of a cell containing an #EXTERNAL! error.
|
|
@@ -21033,7 +21045,7 @@ declare namespace Excel {
|
|
|
21033
21045
|
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
21034
21046
|
* @beta
|
|
21035
21047
|
*/
|
|
21036
|
-
errorSubType?: ExternalErrorCellValueSubType | "Unknown"
|
|
21048
|
+
errorSubType?: ExternalErrorCellValueSubType | "Unknown";
|
|
21037
21049
|
}
|
|
21038
21050
|
/**
|
|
21039
21051
|
* Represents types of #FIELD! errors.
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.323",
|
|
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": "
|
|
48
|
+
"typesPublisherContentHash": "f03777c602ae4face82c8df6aa0acc1aa7be6938b785a723032705a4ad71fcf2",
|
|
49
49
|
"typeScriptVersion": "4.0"
|
|
50
50
|
}
|