@types/office-js-preview 1.0.514 → 1.0.516
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
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for office-js-preview (https://github.com
|
|
|
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: Mon, 30 Sep 2024 17:36:57 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -14118,10 +14118,16 @@ declare namespace Office {
|
|
|
14118
14118
|
* Gets the email address type of a recipient.
|
|
14119
14119
|
*
|
|
14120
14120
|
* @remarks
|
|
14121
|
-
* **Important**:
|
|
14121
|
+
* **Important**:
|
|
14122
|
+
*
|
|
14123
|
+
* - A `recipientType` property value isn't returned by the
|
|
14122
14124
|
* {@link https://learn.microsoft.com/javascript/api/outlook/office.from?view=outlook-js-preview#outlook-office-from-getasync-member(1) | Office.context.mailbox.item.from.getAsync}
|
|
14123
14125
|
* and {@link https://learn.microsoft.com/javascript/api/outlook/office.organizer?view=outlook-js-preview#outlook-office-organizer-getasync-member(1) | Office.context.mailbox.item.organizer.getAsync} methods.
|
|
14124
14126
|
* The email sender or appointment organizer is always a user whose email address is on the Exchange server.
|
|
14127
|
+
*
|
|
14128
|
+
* - 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,
|
|
14129
|
+
* 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.
|
|
14130
|
+
* To get the correct recipient types after switching accounts, you must first remove the existing recipients, then add them back to the mail item.
|
|
14125
14131
|
*/
|
|
14126
14132
|
recipientType: MailboxEnums.RecipientType | string;
|
|
14127
14133
|
}
|
|
@@ -15044,7 +15050,13 @@ declare namespace Office {
|
|
|
15044
15050
|
* {@link Office.MessageCompose | MessageCompose}, {@link Office.MessageRead | MessageRead},
|
|
15045
15051
|
* {@link Office.AppointmentCompose | AppointmentCompose}, {@link Office.AppointmentRead | AppointmentRead}
|
|
15046
15052
|
*
|
|
15047
|
-
* **Important**:
|
|
15053
|
+
* **Important**:
|
|
15054
|
+
*
|
|
15055
|
+
* - When calling `Office.context.mailbox.item` on a message, note that the Reading Pane in the Outlook client must be turned on.
|
|
15056
|
+
* For guidance on how to configure the Reading Pane, see
|
|
15057
|
+
* {@link https://support.microsoft.com/office/2fd687ed-7fc4-4ae3-8eab-9f9b8c6d53f0 | Use and configure the Reading Pane to preview messages}.
|
|
15058
|
+
*
|
|
15059
|
+
* - `item` can be null if your add-in supports pinning the task pane. For details on how to handle, see
|
|
15048
15060
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/pinnable-taskpane#implement-the-event-handler | Implement a pinnable task pane in Outlook}.
|
|
15049
15061
|
*/
|
|
15050
15062
|
item?: Item & ItemCompose & ItemRead & Message & MessageCompose & MessageRead & Appointment & AppointmentCompose & AppointmentRead;
|
|
@@ -16235,10 +16247,16 @@ declare namespace Office {
|
|
|
16235
16247
|
/**
|
|
16236
16248
|
* The message compose mode of {@link Office.Item | Office.context.mailbox.item}.
|
|
16237
16249
|
*
|
|
16238
|
-
* **Important**:
|
|
16250
|
+
* **Important**:
|
|
16251
|
+
*
|
|
16252
|
+
* - This is an internal Outlook object, not directly exposed through existing interfaces.
|
|
16239
16253
|
* You should treat this as a mode of `Office.context.mailbox.item`. For more information, refer to the
|
|
16240
16254
|
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/preview-requirement-set/office.context.mailbox.item | Object Model} page.
|
|
16241
16255
|
*
|
|
16256
|
+
* - When calling `Office.context.mailbox.item` on a message, note that the Reading Pane in the Outlook client must be turned on.
|
|
16257
|
+
* For guidance on how to configure the Reading Pane, see
|
|
16258
|
+
* {@link https://support.microsoft.com/office/2fd687ed-7fc4-4ae3-8eab-9f9b8c6d53f0 | Use and configure the Reading Pane to preview messages}.
|
|
16259
|
+
*
|
|
16242
16260
|
* Parent interfaces:
|
|
16243
16261
|
*
|
|
16244
16262
|
* - {@link Office.ItemCompose | ItemCompose}
|
|
@@ -17720,10 +17738,16 @@ declare namespace Office {
|
|
|
17720
17738
|
/**
|
|
17721
17739
|
* The message read mode of {@link Office.Item | Office.context.mailbox.item}.
|
|
17722
17740
|
*
|
|
17723
|
-
* **Important**:
|
|
17741
|
+
* **Important**:
|
|
17742
|
+
*
|
|
17743
|
+
* - This is an internal Outlook object, not directly exposed through existing interfaces.
|
|
17724
17744
|
* You should treat this as a mode of `Office.context.mailbox.item`. For more information, refer to the
|
|
17725
17745
|
* {@link https://learn.microsoft.com/javascript/api/requirement-sets/outlook/preview-requirement-set/office.context.mailbox.item | Object Model} page.
|
|
17726
17746
|
*
|
|
17747
|
+
* - When calling `Office.context.mailbox.item` on a message, note that the Reading Pane in the Outlook client must be turned on.
|
|
17748
|
+
* For guidance on how to configure the Reading Pane, see
|
|
17749
|
+
* {@link https://support.microsoft.com/office/2fd687ed-7fc4-4ae3-8eab-9f9b8c6d53f0 | Use and configure the Reading Pane to preview messages}.
|
|
17750
|
+
*
|
|
17727
17751
|
* Parent interfaces:
|
|
17728
17752
|
*
|
|
17729
17753
|
* - {@link Office.ItemRead | ItemRead}
|
|
@@ -19417,6 +19441,10 @@ declare namespace Office {
|
|
|
19417
19441
|
* {@link Office.EmailAddressDetails | EmailAddressDetails} object instead of the contact's saved name.
|
|
19418
19442
|
* For more details, see {@link https://github.com/OfficeDev/office-js/issues/2201 | related GitHub issue}.
|
|
19419
19443
|
*
|
|
19444
|
+
* 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,
|
|
19445
|
+
* 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.
|
|
19446
|
+
* To get the correct recipient types after switching accounts, you must first remove the existing recipients, then add them back to the mail item.
|
|
19447
|
+
*
|
|
19420
19448
|
* @param options - An object literal that contains one or more of the following properties:-
|
|
19421
19449
|
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
|
|
19422
19450
|
* @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
|
|
@@ -19462,6 +19490,10 @@ declare namespace Office {
|
|
|
19462
19490
|
* {@link Office.EmailAddressDetails | EmailAddressDetails} object instead of the contact's saved name.
|
|
19463
19491
|
* For more details, see {@link https://github.com/OfficeDev/office-js/issues/2201 | related GitHub issue}.
|
|
19464
19492
|
*
|
|
19493
|
+
* 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,
|
|
19494
|
+
* 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.
|
|
19495
|
+
* To get the correct recipient types after switching accounts, you must first remove the existing recipients, then add them back to the mail item.
|
|
19496
|
+
*
|
|
19465
19497
|
* @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter, `asyncResult`,
|
|
19466
19498
|
* of type `Office.AsyncResult`. The `asyncResult.value` property of the result is an array of
|
|
19467
19499
|
* {@link Office.EmailAddressDetails | EmailAddressDetails} objects.
|
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.516",
|
|
4
4
|
"description": "TypeScript definitions for office-js-preview",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "f96283860a85841a509288f0b57583cbf4558f2cba8f7cdca773f1e232c37273",
|
|
49
49
|
"typeScriptVersion": "4.8",
|
|
50
50
|
"nonNpm": true
|
|
51
51
|
}
|