@types/office-js 1.0.247 → 1.0.248
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 +23 -0
- 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:
|
|
11
|
+
* Last updated: Tue, 19 Apr 2022 21:31:36 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js/index.d.ts
CHANGED
|
@@ -8699,6 +8699,11 @@ declare namespace Office {
|
|
|
8699
8699
|
* [Api set: Mailbox 1.1]
|
|
8700
8700
|
*
|
|
8701
8701
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
8702
|
+
*
|
|
8703
|
+
* **Important**: A `recipientType` property value isn't returned by the
|
|
8704
|
+
* {@link https://docs.microsoft.com/javascript/api/outlook/office.from?view=outlook-js-1.7#outlook-office-from-getasync-member(1) | Office.context.mailbox.item.from.getAsync}
|
|
8705
|
+
* and {@link https://docs.microsoft.com/javascript/api/outlook/office.organizer?view=outlook-js-1.7#outlook-office-organizer-getasync-member(1) | Office.context.mailbox.item.organizer.getAsync} methods.
|
|
8706
|
+
* The email sender or appointment organizer is always a user whose email address is on the Exchange server.
|
|
8702
8707
|
*/
|
|
8703
8708
|
enum RecipientType {
|
|
8704
8709
|
/**
|
|
@@ -12565,6 +12570,12 @@ declare namespace Office {
|
|
|
12565
12570
|
appointmentResponse: MailboxEnums.ResponseType | string;
|
|
12566
12571
|
/**
|
|
12567
12572
|
* Gets the email address type of a recipient.
|
|
12573
|
+
*
|
|
12574
|
+
* @remarks
|
|
12575
|
+
* **Important**: A `recipientType` property value isn't returned by the
|
|
12576
|
+
* {@link https://docs.microsoft.com/javascript/api/outlook/office.from?view=outlook-js-1.7#outlook-office-from-getasync-member(1) | Office.context.mailbox.item.from.getAsync}
|
|
12577
|
+
* and {@link https://docs.microsoft.com/javascript/api/outlook/office.organizer?view=outlook-js-1.7#outlook-office-organizer-getasync-member(1) | Office.context.mailbox.item.organizer.getAsync} methods.
|
|
12578
|
+
* The email sender or appointment organizer is always a user whose email address is on the Exchange server.
|
|
12568
12579
|
*/
|
|
12569
12580
|
recipientType: MailboxEnums.RecipientType | string;
|
|
12570
12581
|
}
|
|
@@ -12815,6 +12826,9 @@ declare namespace Office {
|
|
|
12815
12826
|
*
|
|
12816
12827
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
12817
12828
|
*
|
|
12829
|
+
* **Important**: A `recipientType` property value isn't returned by the getAsync method.
|
|
12830
|
+
* The email sender is always a user whose email address is on the Exchange server.
|
|
12831
|
+
*
|
|
12818
12832
|
* @param options - An object literal that contains one or more of the following properties.
|
|
12819
12833
|
* `asyncContext`: Developers can provide any object they wish to access in the callback method.
|
|
12820
12834
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
@@ -12836,6 +12850,9 @@ declare namespace Office {
|
|
|
12836
12850
|
*
|
|
12837
12851
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
12838
12852
|
*
|
|
12853
|
+
* **Important**: A `recipientType` property value isn't returned by the getAsync method.
|
|
12854
|
+
* The email sender is always a user whose email address is on the Exchange server.
|
|
12855
|
+
*
|
|
12839
12856
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
12840
12857
|
* `asyncResult`, which is an `Office.AsyncResult` object.
|
|
12841
12858
|
* The `value` property of the result is the item's from value, as an `EmailAddressDetails` object.
|
|
@@ -16660,6 +16677,9 @@ declare namespace Office {
|
|
|
16660
16677
|
*
|
|
16661
16678
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
16662
16679
|
*
|
|
16680
|
+
* **Important**: A `recipientType` property value isn't returned by the getAsync method.
|
|
16681
|
+
* The appointment organizer is always a user whose email address is on the Exchange server.
|
|
16682
|
+
*
|
|
16663
16683
|
* @param options - An object literal that contains one or more of the following properties.
|
|
16664
16684
|
* `asyncContext`: Developers can provide any object they wish to access in the callback method.
|
|
16665
16685
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
@@ -16678,6 +16698,9 @@ declare namespace Office {
|
|
|
16678
16698
|
*
|
|
16679
16699
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
16680
16700
|
*
|
|
16701
|
+
* **Important**: A `recipientType` property value isn't returned by the getAsync method.
|
|
16702
|
+
* The appointment organizer is always a user whose email address is on the Exchange server.
|
|
16703
|
+
*
|
|
16681
16704
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
16682
16705
|
* `asyncResult`, which is an `AsyncResult` object. The `value` property of the result is the appointment's organizer value,
|
|
16683
16706
|
* as an `EmailAddressDetails` object.
|
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.248",
|
|
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": "86dfb3a483d4cdf29d56e97e62496931c4a064a465dfc49469b5b4469d0a9d61",
|
|
49
49
|
"typeScriptVersion": "3.9"
|
|
50
50
|
}
|