diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 809a710809..82243de393 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -2252,12 +2252,28 @@ declare namespace Office { * * In the callback function passed to the closeAsync method, you can use the properties of the AsyncResult object to return the following information. * - * |Property |Use to...| - * |---------|---------| - * |AsyncResult.value|Always returns undefined because there is no object or data to retrieve.| - * |AsyncResult.status|Determine the success or failure of the operation.| - * |AsyncResult.error|Access an Error object that provides error information if the operation failed.| - * |AsyncResult.asyncContext|A user-defined item of any type that is returned in the AsyncResult object without being altered.| + *
| Property | + *Use to... | + *
|---|---|
| AsyncResult.value | + *Always returns undefined because there is no object or data to retrieve. | + *
| AsyncResult.status | + *Determine the success or failure of the operation. | + *
| AsyncResult.error | + *Access an Error object that provides error information if the operation failed. | + *
| AsyncResult.asyncContext | + *A user-defined item of any type that is returned in the AsyncResult object without being altered. | + *
| Property | + *Use to... | + *
|---|---|
| AsyncResult.value | + *Access the Slice object. | + *
| AsyncResult.status | + *Determine the success or failure of the operation. | + *
| AsyncResult.error | + *Access an Error object that provides error information if the operation failed. | + *
| AsyncResult.asyncContext | + *A user-defined item of any type that is returned in the AsyncResult object without being altered. | + *
| Property | + *Use to... | + *
|---|---|
| AsyncResult.value | + *Always returns undefined because there is no data or object to retrieve when adding an event handler. | + *
| AsyncResult.status | + *Determine the success or failure of the operation. | + *
| AsyncResult.error | + *Access an Error object that provides error information if the operation failed. | + *
| AsyncResult.asyncContext | + *A user-defined item of any type that is returned in the AsyncResult object without being altered. | + *
| Property | + *Use to... | + *
|---|---|
| AsyncResult.value | + *Access a Settings object with the refreshed values. | + *
| AsyncResult.status | + *Determine the success or failure of the operation. | + *
| AsyncResult.error | + *Access an Error object that provides error information if the operation failed. | + *
| AsyncResult.asyncContext | + *A user-defined item of any type that is returned in the AsyncResult object without being altered. | + *
| Property | + *Use to... | + *
|---|---|
| AsyncResult.value | + *Always returns undefined because there is no object or data to retrieve. | + *
| AsyncResult.status | + *Determine the success or failure of the operation. | + *
| AsyncResult.error | + *Access an Error object that provides error information if the operation failed. | + *
| AsyncResult.asyncContext | + *A user-defined item of any type that is returned in the AsyncResult object without being altered. | + *
| Type | + *Description | + *Item Class | + *
|---|---|---|
| Appointment items | + *These are calendar items of the item class IPM.Appointment or IPM.Appointment.Occurence. | + *IPM.Appointment,IPM.Appointment.Occurence | + *
| Message items | + *These include email messages that have the default message class IPM.Note, and meeting requests, responses, and cancellations, that use IPM.Schedule.Meeting as the base message class. | + *IPM.Note,IPM.Schedule.Meeting.Request,IPM.Schedule.Meeting.Neg,IPM.Schedule.Meeting.Pos,IPM.Schedule.Meeting.Tent,IPM.Schedule.Meeting.Canceled | + *
| Value of entityType | + *Type of objects in returned array | + *Required Permission Leve | + *
|---|---|---|
| Address | + *String | + *Restricted | + *
| Contact | + *Contact | + *ReadItem | + *
| EmailAddress | + *String | + *ReadItem | + *
| MeetingSuggestion | + *MeetingSuggestion | + *ReadItem | + *
| PhoneNumber | + *PhoneNumber | + *Restricted | + *
| TaskSuggestion | + *TaskSuggestion | + *ReadItem | + *
| URL | + *String | + *Restricted | + *
| State | + *Editable? | + *Viewable? | + *
|---|---|---|
| Appointment Organizer - Compose Series | + *Yes (setAsync) | + *Yes (getAsync) | + *
| Appointment Organizer - Compose Instance | + *No (setAsync returns error) | + *Yes (getAsync) | + *
| Appointment Attendee - Read Series | + *No (setAsync not available) | + *Yes (item.recurrence) | + *
| Appointment Attendee - Read Instance | + *No (setAsync not available) | + *Yes (item.recurrence) | + *
| Meeting Request - Read Series | + *No (setAsync not available) | + *Yes (item.recurrence) | + *
| Meeting Request - Read Instance | + *No (setAsync not available) | + *Yes (item.recurrence) | + *
| Value | + *Description? | + *
|---|---|
| enterprise | + *The mailbox is on an on-premises Exchange server. | + *
| gmail | + *The mailbox is associated with a Gmail account. | + *
| office365 | + *The mailbox is associated with an Office 365 work or school account. | + *
| outlookCom | + *The mailbox is associated with a personal Outlook.com account. | + *