@types/office-js 1.0.428 → 1.0.430
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 +36 -4
- 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: Mon, 30 Sep 2024 17:36:57 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -13859,10 +13859,16 @@ declare namespace Office {
|
|
|
13859
13859
|
* Gets the email address type of a recipient.
|
|
13860
13860
|
*
|
|
13861
13861
|
* @remarks
|
|
13862
|
-
* **Important**:
|
|
13862
|
+
* **Important**:
|
|
13863
|
+
*
|
|
13864
|
+
* - A `recipientType` property value isn't returned by the
|
|
13863
13865
|
* {@link https://learn.microsoft.com/javascript/api/outlook/office.from?view=outlook-js-1.7#outlook-office-from-getasync-member(1) | Office.context.mailbox.item.from.getAsync}
|
|
13864
13866
|
* and {@link https://learn.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.
|
|
13865
13867
|
* The email sender or appointment organizer is always a user whose email address is on the Exchange server.
|
|
13868
|
+
*
|
|
13869
|
+
* - While composing a mail item, when you switch to a sender account that's on a different domain than that of the previously selected sender account,
|
|
13870
|
+
* the value of the `recipientType` property for existing recipients isn't updated and will still be based on the domain of the previously selected account.
|
|
13871
|
+
* To get the correct recipient types after switching accounts, you must first remove the existing recipients, then add them back to the mail item.
|
|
13866
13872
|
*/
|
|
13867
13873
|
recipientType: MailboxEnums.RecipientType | string;
|
|
13868
13874
|
}
|
|
@@ -14785,7 +14791,13 @@ declare namespace Office {
|
|
|
14785
14791
|
* {@link Office.MessageCompose | MessageCompose}, {@link Office.MessageRead | MessageRead},
|
|
14786
14792
|
* {@link Office.AppointmentCompose | AppointmentCompose}, {@link Office.AppointmentRead | AppointmentRead}
|
|
14787
14793
|
*
|
|
14788
|
-
* **Important**:
|
|
14794
|
+
* **Important**:
|
|
14795
|
+
*
|
|
14796
|
+
* - When calling `Office.context.mailbox.item` on a message, note that the Reading Pane in the Outlook client must be turned on.
|
|
14797
|
+
* For guidance on how to configure the Reading Pane, see
|
|
14798
|
+
* {@link https://support.microsoft.com/office/2fd687ed-7fc4-4ae3-8eab-9f9b8c6d53f0 | Use and configure the Reading Pane to preview messages}.
|
|
14799
|
+
*
|
|
14800
|
+
* - `item` can be null if your add-in supports pinning the task pane. For details on how to handle, see
|
|
14789
14801
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/pinnable-taskpane#implement-the-event-handler | Implement a pinnable task pane in Outlook}.
|
|
14790
14802
|
*/
|
|
14791
14803
|
item?: Item & ItemCompose & ItemRead & Message & MessageCompose & MessageRead & Appointment & AppointmentCompose & AppointmentRead;
|
|
@@ -15977,10 +15989,16 @@ declare namespace Office {
|
|
|
15977
15989
|
/**
|
|
15978
15990
|
* The message compose mode of {@link Office.Item | Office.context.mailbox.item}.
|
|
15979
15991
|
*
|
|
15980
|
-
* **Important**:
|
|
15992
|
+
* **Important**:
|
|
15993
|
+
*
|
|
15994
|
+
* - This is an internal Outlook object, not directly exposed through existing interfaces.
|
|
15981
15995
|
* You should treat this as a mode of `Office.context.mailbox.item`. For more information, refer to the
|
|
15982
15996
|
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/requirement-set-1.14/office.context.mailbox.item | Object Model} page.
|
|
15983
15997
|
*
|
|
15998
|
+
* - When calling `Office.context.mailbox.item` on a message, note that the Reading Pane in the Outlook client must be turned on.
|
|
15999
|
+
* For guidance on how to configure the Reading Pane, see
|
|
16000
|
+
* {@link https://support.microsoft.com/office/2fd687ed-7fc4-4ae3-8eab-9f9b8c6d53f0 | Use and configure the Reading Pane to preview messages}.
|
|
16001
|
+
*
|
|
15984
16002
|
* Parent interfaces:
|
|
15985
16003
|
*
|
|
15986
16004
|
* - {@link Office.ItemCompose | ItemCompose}
|
|
@@ -17462,10 +17480,16 @@ declare namespace Office {
|
|
|
17462
17480
|
/**
|
|
17463
17481
|
* The message read mode of {@link Office.Item | Office.context.mailbox.item}.
|
|
17464
17482
|
*
|
|
17465
|
-
* **Important**:
|
|
17483
|
+
* **Important**:
|
|
17484
|
+
*
|
|
17485
|
+
* - This is an internal Outlook object, not directly exposed through existing interfaces.
|
|
17466
17486
|
* You should treat this as a mode of `Office.context.mailbox.item`. For more information, refer to the
|
|
17467
17487
|
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/requirement-set-1.14/office.context.mailbox.item | Object Model} page.
|
|
17468
17488
|
*
|
|
17489
|
+
* - When calling `Office.context.mailbox.item` on a message, note that the Reading Pane in the Outlook client must be turned on.
|
|
17490
|
+
* For guidance on how to configure the Reading Pane, see
|
|
17491
|
+
* {@link https://support.microsoft.com/office/2fd687ed-7fc4-4ae3-8eab-9f9b8c6d53f0 | Use and configure the Reading Pane to preview messages}.
|
|
17492
|
+
*
|
|
17469
17493
|
* Parent interfaces:
|
|
17470
17494
|
*
|
|
17471
17495
|
* - {@link Office.ItemRead | ItemRead}
|
|
@@ -19057,6 +19081,10 @@ declare namespace Office {
|
|
|
19057
19081
|
* {@link Office.EmailAddressDetails | EmailAddressDetails} object instead of the contact's saved name.
|
|
19058
19082
|
* For more details, see {@link https://github.com/OfficeDev/office-js/issues/2201 | related GitHub issue}.
|
|
19059
19083
|
*
|
|
19084
|
+
* While composing a mail item, when you switch to a sender account that's on a different domain than that of the previously selected sender account,
|
|
19085
|
+
* the value of the `recipientType` property for existing recipients isn't updated and will still be based on the domain of the previously selected account.
|
|
19086
|
+
* To get the correct recipient types after switching accounts, you must first remove the existing recipients, then add them back to the mail item.
|
|
19087
|
+
*
|
|
19060
19088
|
* @param options - An object literal that contains one or more of the following properties:-
|
|
19061
19089
|
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
|
|
19062
19090
|
* @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
|
|
@@ -19102,6 +19130,10 @@ declare namespace Office {
|
|
|
19102
19130
|
* {@link Office.EmailAddressDetails | EmailAddressDetails} object instead of the contact's saved name.
|
|
19103
19131
|
* For more details, see {@link https://github.com/OfficeDev/office-js/issues/2201 | related GitHub issue}.
|
|
19104
19132
|
*
|
|
19133
|
+
* While composing a mail item, when you switch to a sender account that's on a different domain than that of the previously selected sender account,
|
|
19134
|
+
* the value of the `recipientType` property for existing recipients isn't updated and will still be based on the domain of the previously selected account.
|
|
19135
|
+
* To get the correct recipient types after switching accounts, you must first remove the existing recipients, then add them back to the mail item.
|
|
19136
|
+
*
|
|
19105
19137
|
* @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
|
|
19106
19138
|
* of type `Office.AsyncResult`. The `asyncResult.value` property of the result is an array of
|
|
19107
19139
|
* {@link Office.EmailAddressDetails | EmailAddressDetails} objects.
|
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.430",
|
|
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": "0112fcb0889c02ade9f01e86a5077e2ff1562c8423e9954717608eba728e864f",
|
|
49
49
|
"typeScriptVersion": "4.8"
|
|
50
50
|
}
|