From 87c946667d8cfa11638419391a224893ad30ae0c Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Tue, 18 Sep 2018 12:01:27 -0700 Subject: [PATCH 01/13] add req. set 1.7 --- types/office-js/index.d.ts | 230 +++++++++++-------------------------- 1 file changed, 68 insertions(+), 162 deletions(-) diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index d0ff5828bd..9306660430 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -1819,9 +1819,7 @@ declare namespace Office { /** * Triggers when the appointment date or time of the selected series is changed in Outlook. * - * [Api set: Mailbox Preview] - * - * @beta + * [Api set: Mailbox 1.7] */ AppointmentTimeChanged, /** @@ -1918,26 +1916,18 @@ declare namespace Office { NodeReplaced, /** * Triggers when the OfficeTheme is changed in Outlook. - * - * [Api set: Mailbox Preview] - * - * @beta */ OfficeThemeChanged, /** * Triggers when the recipient list of the selected item is changed in Outlook. * - * [Api set: Mailbox Preview] - * - * @beta + * [Api set: Mailbox 1.7] */ RecipientsChanged, /** * Triggers when the recurrence pattern of the selected series is changed in Outlook. * - * [Api set: Mailbox Preview] - * - * @beta + * [Api set: Mailbox 1.7] */ RecurrencePatternChanged, /** @@ -7374,14 +7364,12 @@ declare namespace Office { /** * Specifies the day of week or type of day. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks *
* {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode} * Compose or read
- * - * @beta */ enum Days { /** @@ -7512,14 +7500,12 @@ declare namespace Office { /** * Specifies the month. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks *
* {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode} * Compose or read
- * - * @beta */ enum Month { /** @@ -7620,14 +7606,12 @@ declare namespace Office { /** * Specifies the time zone applied to the recurrence. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks *
* {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode} * Compose or read
- * - * @beta */ enum RecurrenceTimeZone { /** @@ -8180,14 +8164,12 @@ declare namespace Office { /** * Specifies the type of recurrence. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks *
* {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode} * Compose or read
- * - * @beta */ enum RecurrenceType { /** @@ -8270,14 +8252,12 @@ declare namespace Office { /** * Specifies the week of the month. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks *
* {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode} * Compose or read
- * - * @beta */ enum WeekNumber { /** @@ -9205,14 +9185,12 @@ declare namespace Office { /** * Provides a method to get the from value of a message in an Outlook add-in. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * * *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose
- * - * @beta */ export interface From { /** @@ -9222,7 +9200,7 @@ declare namespace Office { * * The from value of the item is provided as an {@link Office.EmailAddressDetails} in the asyncResult.value property. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -9246,7 +9224,7 @@ declare namespace Office { * * The from value of the item is provided as an {@link Office.EmailAddressDetails} in the asyncResult.value property. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -9264,20 +9242,18 @@ declare namespace Office { * Represents the appointment organizer, even if an alias or a delegate was used to create the appointment. * This object provides a method to get the organizer value of an appointment in an Outlook add-in. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
* *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose
- * - * @beta */ export interface Organizer { /** * Gets the organizer value of an appointment as an {@link Office.EmailAddressDetails} in the asyncResult.value property. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -9421,15 +9397,13 @@ declare namespace Office { * * The organizer property returns an {@link Office.Organizer | Organizer} object that provides a method to get the organizer value. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
* *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Appointment Organizer
- * - * @beta */ organizer: Office.Organizer; /** @@ -9443,15 +9417,13 @@ declare namespace Office { * Note: If the recurrence object is null, this indicates that the object is a single appointment or a meeting request of a single * appointment and NOT a part of a series. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * * * *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Appointment Organizer
- * - * @beta */ recurrence: Recurrence; /** @@ -9482,15 +9454,13 @@ declare namespace Office { * The seriesId property returns null for items that do not have parent items such as single appointments, series items, or meeting requests * and returns undefined for any other items that are not meeting requests. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * * * *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Appointment Organizer
- * - * @beta */ seriesId: string; /** @@ -9658,7 +9628,7 @@ declare namespace Office { * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -9677,8 +9647,6 @@ declare namespace Office { * asyncContext: Developers can provide any object they wish to access in the callback method. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ addHandlerAsync(eventType:EventType, handler: any, options?: any, callback?: (result: AsyncResult) => void): void; /** @@ -9687,7 +9655,7 @@ declare namespace Office { * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and * `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -9700,8 +9668,6 @@ declare namespace Office { * The type property on the parameter will match the eventType parameter passed to addHandlerAsync. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ addHandlerAsync(eventType:EventType, handler: any, callback?: (result: AsyncResult) => void): void; /** @@ -10060,7 +10026,7 @@ declare namespace Office { * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and * `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -10079,8 +10045,6 @@ declare namespace Office { * asyncContext: Developers can provide any object they wish to access in the callback method. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ removeHandlerAsync(eventType:EventType, handler: any, options?: any, callback?: (result: AsyncResult) => void): void; /** @@ -10088,7 +10052,7 @@ declare namespace Office { * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -10101,8 +10065,6 @@ declare namespace Office { * The type property on the parameter will match the eventType parameter passed to removeHandlerAsync. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ removeHandlerAsync(eventType:EventType, handler: any, callback?: (result: AsyncResult) => void): void; /** @@ -10594,15 +10556,13 @@ declare namespace Office { * Note: If the recurrence object is null, this indicates that the object is a single appointment or a meeting request of a single * appointment and NOT a part of a series. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * * * *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Appointment Attendee
- * - * @beta */ recurrence: Recurrence; /** @@ -10649,15 +10609,13 @@ declare namespace Office { * The seriesId property returns null for items that do not have parent items such as single appointments, series items, or meeting requests * and returns undefined for any other items that are not meeting requests. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * * * *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Appointment Attendee
- * - * @beta */ seriesId: string; /** @@ -10683,7 +10641,7 @@ declare namespace Office { * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and * `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -10702,8 +10660,6 @@ declare namespace Office { * asyncContext: Developers can provide any object they wish to access in the callback method. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ addHandlerAsync(eventType: Office.EventType, handler: any, options?: any, callback?: (result: AsyncResult) => void): void; @@ -10713,7 +10669,7 @@ declare namespace Office { * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and * `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -10726,8 +10682,6 @@ declare namespace Office { * The type property on the parameter will match the eventType parameter passed to addHandlerAsync. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ addHandlerAsync(eventType:EventType, handler: any, callback?: (result: AsyncResult) => void): void; /** @@ -11068,7 +11022,7 @@ declare namespace Office { * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and * `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -11087,8 +11041,6 @@ declare namespace Office { * asyncContext: Developers can provide any object they wish to access in the callback method. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ removeHandlerAsync(eventType:EventType, handler: any, options?: any, callback?: (result: AsyncResult) => void): void; /** @@ -11097,7 +11049,7 @@ declare namespace Office { * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and * `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -11110,8 +11062,6 @@ declare namespace Office { * The type property on the parameter will match the eventType parameter passed to removeHandlerAsync. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ removeHandlerAsync(eventType:EventType, handler: any, callback?: (result: AsyncResult) => void): void; } @@ -11207,15 +11157,13 @@ declare namespace Office { * Note: If the recurrence object is null, this indicates that the object is a single appointment or a meeting request of a single appointment * and NOT a part of a series. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * * * *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
- * - * @beta */ recurrence: Office.Recurrence; @@ -11233,15 +11181,13 @@ declare namespace Office { * The seriesId property returns null for items that do not have parent items such as single appointments, series items, or meeting requests * and returns undefined for any other items that are not meeting requests. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * * * *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
- * - * @beta */ seriesId: string; @@ -11250,7 +11196,7 @@ declare namespace Office { * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -11269,8 +11215,6 @@ declare namespace Office { * asyncContext: Developers can provide any object they wish to access in the callback method. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ addHandlerAsync(eventType: Office.EventType, handler: any, options?: any, callback?: (result: AsyncResult) => void): void; @@ -11279,7 +11223,7 @@ declare namespace Office { * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -11292,8 +11236,6 @@ declare namespace Office { * The type property on the parameter will match the eventType parameter passed to addHandlerAsync. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ addHandlerAsync(eventType: Office.EventType, handler: any, callback?: (result: AsyncResult) => void): void; @@ -11359,7 +11301,7 @@ declare namespace Office { * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and * `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -11378,8 +11320,6 @@ declare namespace Office { * asyncContext: Developers can provide any object they wish to access in the callback method. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ removeHandlerAsync(eventType: Office.EventType, handler: any, options?: any, callback?: (result: AsyncResult) => void): void; @@ -11389,7 +11329,7 @@ declare namespace Office { * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and * `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -11402,8 +11342,6 @@ declare namespace Office { * The type property on the parameter will match the eventType parameter passed to removeHandlerAsync. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ removeHandlerAsync(eventType: Office.EventType, handler: any, callback?: (result: AsyncResult) => void): void; } @@ -12706,15 +12644,13 @@ declare namespace Office { * * The from property returns a From object that provides a method to get the from value. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * * * *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Message Compose
- * - * @beta */ from: Office.From; /** @@ -12757,15 +12693,13 @@ declare namespace Office { * Note: If the recurrence object is null, this indicates that the object is a single appointment or a meeting request of a single appointment * and NOT a part of a series. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * * * *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Message Compose
- * - * @beta */ recurrence: Recurrence; /** @@ -12782,15 +12716,13 @@ declare namespace Office { * The seriesId property returns null for items that do not have parent items such as single appointments, series items, or meeting requests * and returns undefined for any other items that are not meeting requests. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * * * *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Message Compose
- * - * @beta */ seriesId: string; /** @@ -12959,7 +12891,7 @@ declare namespace Office { * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -12978,8 +12910,6 @@ declare namespace Office { * asyncContext: Developers can provide any object they wish to access in the callback method. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ addHandlerAsync(eventType:EventType, handler: any, options?: any, callback?: (result: AsyncResult) => void): void; /** @@ -12988,7 +12918,7 @@ declare namespace Office { * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and * `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -13001,8 +12931,6 @@ declare namespace Office { * The type property on the parameter will match the eventType parameter passed to addHandlerAsync. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ addHandlerAsync(eventType:EventType, handler: any, callback?: (result: AsyncResult) => void): void; /** @@ -13367,7 +13295,7 @@ declare namespace Office { * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and * `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -13386,8 +13314,6 @@ declare namespace Office { * asyncContext: Developers can provide any object they wish to access in the callback method. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ removeHandlerAsync(eventType:EventType, handler: any, options?: any, callback?: (result: AsyncResult) => void): void; /** @@ -13396,7 +13322,7 @@ declare namespace Office { * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and * `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -13409,8 +13335,6 @@ declare namespace Office { * The type property on the parameter will match the eventType parameter passed to removeHandlerAsync. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ removeHandlerAsync(eventType:EventType, handler: any, callback?: (result: AsyncResult) => void): void; /** @@ -13915,15 +13839,13 @@ declare namespace Office { * Note: If the recurrence object is null, this indicates that the object is a single appointment or a meeting request of a single appointment * and NOT a part of a series. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * * * *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Message Read
- * - * @beta */ recurrence: Recurrence; /** @@ -13940,15 +13862,13 @@ declare namespace Office { * The seriesId property returns null for items that do not have parent items such as single appointments, series items, or meeting requests * and returns undefined for any other items that are not meeting requests. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * * * *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Message Read
- * - * @beta */ seriesId: string; /** @@ -14007,7 +13927,7 @@ declare namespace Office { * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and * `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -14026,8 +13946,6 @@ declare namespace Office { * asyncContext: Developers can provide any object they wish to access in the callback method. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ addHandlerAsync(eventType:EventType, handler: any, options?: any, callback?: (result: AsyncResult) => void): void; @@ -14037,7 +13955,7 @@ declare namespace Office { * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and * `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -14050,8 +13968,6 @@ declare namespace Office { * The type property on the parameter will match the eventType parameter passed to addHandlerAsync. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ addHandlerAsync(eventType:EventType, handler: any, callback?: (result: AsyncResult) => void): void; /** @@ -14396,7 +14312,7 @@ declare namespace Office { * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and * `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -14415,8 +14331,6 @@ declare namespace Office { * asyncContext: Developers can provide any object they wish to access in the callback method. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ removeHandlerAsync(eventType:EventType, handler: any, options?: any, callback?: (result: AsyncResult) => void): void; /** @@ -14425,7 +14339,7 @@ declare namespace Office { * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and * `Office.EventType.RecurrencePatternChanged`. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -14438,8 +14352,6 @@ declare namespace Office { * The type property on the parameter will match the eventType parameter passed to removeHandlerAsync. * @param callback Optional. When the method completes, the function passed in the callback parameter is called with a single parameter, * asyncResult, which is an Office.AsyncResult object. - * - * @beta */ removeHandlerAsync(eventType:EventType, handler: any, callback?: (result: AsyncResult) => void): void; } @@ -15822,7 +15734,7 @@ declare namespace Office { * meeting requests. * It will have a dictionary with the following keys: seriesTime, recurrenceType, recurrenceProperties, and recurrenceTimeZone (optional). * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -15869,14 +15781,12 @@ declare namespace Office { * Yes (item.recurrence) * * - * - * @beta */ export interface Recurrence { /** * Gets or sets the properties of the recurring appointment series. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -15888,7 +15798,7 @@ declare namespace Office { /** * Gets or sets the properties of the recurring appointment series. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -15901,7 +15811,7 @@ declare namespace Office { /** * Gets or sets the type of the recurring appointment series. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -15916,7 +15826,7 @@ declare namespace Office { * and end times of instances. **This object is not in UTC time.** * Instead, it is set in the time zone specified by the recurrenceTimeZone value or defaulted to the item's time zone. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -15931,7 +15841,7 @@ declare namespace Office { * * This method returns the entire recurrence object for the appointment series. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -15956,7 +15866,7 @@ declare namespace Office { * * This method returns the entire recurrence object for the appointment series. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -15975,7 +15885,7 @@ declare namespace Office { * * Note: setAsync should only be available for series items and not instance items. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -16002,7 +15912,7 @@ declare namespace Office { * * Note: setAsync should only be available for series items and not instance items. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -16022,15 +15932,13 @@ declare namespace Office { /** * Gets or sets the properties of the recurrence. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * * * *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
- * - * @beta */ export interface RecurrenceProperties { /** @@ -16206,20 +16114,18 @@ declare namespace Office { * The SeriesTime object provides methods to get and set the dates and times of appointments in a recurring series and get the dates and times of * meeting requests in a recurring series. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * * *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
- * - * @beta */ interface SeriesTime { /** * Gets the duration in minutes of a usual instance in a recurring appointment series. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks * @@ -16231,7 +16137,7 @@ declare namespace Office { /** * Gets the end date of a recurrence pattern in the following {@link https://www.iso.org/iso-8601-date-and-time-format.html | ISO 8601} date format: "YYYY-MM-DD" * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
@@ -16245,7 +16151,7 @@ declare namespace Office { * add-in set the recurrence pattern using the following {@link https://www.iso.org/iso-8601-date-and-time-format.html | ISO 8601} format: * "THH:mm:ss:mmm" * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
@@ -16257,7 +16163,7 @@ declare namespace Office { /** * Gets the start date of a recurrence pattern in the following {@link https://www.iso.org/iso-8601-date-and-time-format.html | ISO 8601} date format: "YYYY-MM-DD" * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
@@ -16270,7 +16176,7 @@ declare namespace Office { * Gets the start time of a usual appointment instance of a recurrence pattern in whichever time zone that the user/add-in set the * recurrence pattern using the following {@link https://www.iso.org/iso-8601-date-and-time-format.html | ISO 8601} format: "THH:mm:ss:mmm" * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
@@ -16282,7 +16188,7 @@ declare namespace Office { /** * Sets the duration of all appointments in a recurrence pattern. This will also change the end time of the recurrence pattern. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
@@ -16296,7 +16202,7 @@ declare namespace Office { /** * Sets the end date of a recurring appointment series. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadWriteItem
@@ -16318,7 +16224,7 @@ declare namespace Office { /** * Sets the end date of a recurring appointment series. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadWriteItem
@@ -16333,7 +16239,7 @@ declare namespace Office { /** * Sets the start date of a recurring appointment series. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadWriteItem
@@ -16355,7 +16261,7 @@ declare namespace Office { /** * Sets the start date of a recurring appointment series. * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadWriteItem
@@ -16372,7 +16278,7 @@ declare namespace Office { * Sets the start time of all instances of a recurring appointment series in whichever time zone the recurrence pattern is set * (the item's time zone is used by default). * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadWriteItem
@@ -16394,7 +16300,7 @@ declare namespace Office { * Sets the start time of all instances of a recurring appointment series in whichever time zone the recurrence pattern is set * (the item's time zone is used by default). * - * [Api set: Mailbox Preview] + * [Api set: Mailbox 1.7] * * @remarks *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadWriteItem
From 6bf7b00a88936ffbd4174b84028188e099006593 Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Tue, 18 Sep 2018 16:18:00 -0700 Subject: [PATCH 02/13] add item.sharedProperties and related --- types/office-js/index.d.ts | 164 +++++++++++++++++++++++++++++++++++++ 1 file changed, 164 insertions(+) diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 9306660430..28291abc59 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -7413,6 +7413,52 @@ declare namespace Office { */ Day = "day" } + /** + * Specifies the permissions (using bit flags) that a delegate has on a shared folder. + * + * [Api set: Mailbox Preview] + * + * @remarks + *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadWriteItem
+ * {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode} + * Compose or read
+ * + * @beta + */ + enum DelegatePermissions { + /** + * Read permission. + */ + Read = 1, + /** + * Write permission. + */ + Write = 2, + /** + * DeleteOwn permission. + */ + DeleteOwn = 4, + /** + * DeleteAll permission. + */ + DeleteAll = 8, + /** + * EditOwn permission. + */ + EditOwn = 16, + /** + * EditAll permission. + */ + EditAll = 32, + /** + * SendOnBehalfOf permission. + */ + SendOnBehalfOf = 64, + /** + * SendAs permission. + */ + SendAs = 128 + } /** * Specifies an entity's type. * @@ -9621,6 +9667,8 @@ declare namespace Office { * @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of type asyncResult. * On success, the attachment identifier will be provided in the asyncResult.value property. * If uploading the attachment fails, the asyncResult object will contain an Error object that provides a description of the error. + * + * @beta */ addFileAttachmentFromBase64Async(base64File: string, attachmentName: string, options?: Office.AsyncContextOptions, callback?: (result: AsyncResult) => void): void; /** @@ -11191,6 +11239,21 @@ declare namespace Office { */ seriesId: string; + /** + * Gets the sharedProperties of an appointment or message item. + * + * [Api set: Mailbox Preview] + * + * @remarks + * + * + * + *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
+ * + * @beta + */ + sharedProperties: Office.SharedProperties; + /** * Adds an event handler for a supported event. * @@ -11497,6 +11560,8 @@ declare namespace Office { * @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of type asyncResult. * On success, the attachment identifier will be provided in the asyncResult.value property. * If uploading the attachment fails, the asyncResult object will contain an Error object that provides a description of the error. + * + * @beta */ addFileAttachmentFromBase64Async(base64File: string, attachmentName: string, options?: Office.AsyncContextOptions, callback?: (result: AsyncResult) => void): void; @@ -12884,6 +12949,8 @@ declare namespace Office { * @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of type asyncResult. * On success, the attachment identifier will be provided in the asyncResult.value property. * If uploading the attachment fails, the asyncResult object will contain an Error object that provides a description of the error. + * + * @beta */ addFileAttachmentFromBase64Async(base64File: string, attachmentName: string, options?: Office.AsyncContextOptions, callback?: (result: AsyncResult) => void): void; /** @@ -16314,6 +16381,103 @@ declare namespace Office { setStartTime(time: string): void; } + /** + * Provides methods to get the sharedProperties of an appointment or message in an Outlook add-in. + * + * [Api set: Mailbox Preview] + * + * @remarks + * + * + *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
+ * + * @beta + */ + interface SharedProperties { + /** + * Gets the email address and display name of the owner of a shared item. + * + * [Api set: Mailbox Preview] + * + * @remarks + * + * + * + *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
+ * + * @beta + */ + owner: EmailUser; + /** + * The remote REST url related to the delegator’s mailbox. + * + * [Api set: Mailbox Preview] + * + * @remarks + * + * + * + *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
+ * + * @beta + */ + restUrl: String; + /** + * The permissions that the delegate has on a shared folder. + * + * [Api set: Mailbox Preview] + * + * @remarks + * + * + * + *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
+ * + * @beta + */ + delegatePermissions: Office.MailboxEnums.DelegatePermissions; + /** + * Gets the sharedProperties of an appointment or message. + * + * [Api set: Mailbox Preview] + * + * @remarks + * + * + *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
+ * + * In addition to the main signature, this method also has this signature: + * + * `getAsync(callback: (result: AsyncResult) => void): void;` + * + * @param options An object literal that contains one or more of the following properties. + * asyncContext: Developers can provide any object they wish to access in the callback method. + * @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of + * type Office.AsyncResult. + * The `value` property of the result is the sharedProperties of the item. + * + * @beta + */ + getAsync(options: Office.AsyncContextOptions, callback: (result: AsyncResult) => void): void; + /** + * Gets the sharedProperties of an appointment or message. + * + * [Api set: Mailbox Preview] + * + * @remarks + * + * + *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
+ * + * @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of + * type Office.AsyncResult. + * The `value` property of the result is the sharedProperties of the item. + * + * @beta + */ + getAsync(callback: (result: AsyncResult) => void): void; + } + /** * Provides methods to get and set the subject of an appointment or message in an Outlook add-in. * From ef7847e32522f22addd86cb38f6a9a3dca12cd69 Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Wed, 19 Sep 2018 08:55:31 -0700 Subject: [PATCH 03/13] add getSharedPropertiesAsync --- types/office-js/index.d.ts | 118 ++++++++++++++----------------------- 1 file changed, 45 insertions(+), 73 deletions(-) diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index c335cd3577..e0802b33e6 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -7414,7 +7414,7 @@ declare namespace Office { Day = "day" } /** - * Specifies the permissions (using bit flags) that a delegate has on a shared folder. + * Specifies the permissions (by bit flags) that a delegate has on a shared folder. * * [Api set: Mailbox Preview] * @@ -11332,6 +11332,48 @@ declare namespace Office { */ getInitializationContextAsync(options?: Office.AsyncContextOptions, callback?: (result: AsyncResult) => void): void; + /** + * Gets the sharedProperties of an appointment or message. + * + * [Api set: Mailbox Preview] + * + * @remarks + * + * + *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
+ * + * In addition to the main signature, this method also has this signature: + * + * `getAsync(callback: (result: AsyncResult) => void): void;` + * + * @param options An object literal that contains one or more of the following properties. + * asyncContext: Developers can provide any object they wish to access in the callback method. + * @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of + * type Office.AsyncResult. + * The `value` property of the result is the sharedProperties of the item. + * + * @beta + */ + getSharedPropertiesAsync(options: Office.AsyncContextOptions, callback: (result: AsyncResult) => void): void; + + /** + * Gets the sharedProperties of an appointment or message. + * + * [Api set: Mailbox Preview] + * + * @remarks + * + * + *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
+ * + * @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of + * type Office.AsyncResult. + * The `value` property of the result is the sharedProperties of the item. + * + * @beta + */ + getSharedPropertiesAsync(callback: (result: AsyncResult) => void): void; + /** * Asynchronously loads custom properties for this add-in on the selected item. * @@ -16382,7 +16424,7 @@ declare namespace Office { } /** - * Provides methods to get the sharedProperties of an appointment or message in an Outlook add-in. + * Represents the sharedProperties of an appointment or message in an Outlook add-in. * * [Api set: Mailbox Preview] * @@ -16395,87 +16437,17 @@ declare namespace Office { */ interface SharedProperties { /** - * Gets the email address and display name of the owner of a shared item. - * - * [Api set: Mailbox Preview] - * - * @remarks - * - * - * - *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
- * - * @beta + * The email address and display name of the owner of a shared item. */ owner: EmailUser; /** * The remote REST url related to the delegator’s mailbox. - * - * [Api set: Mailbox Preview] - * - * @remarks - * - * - * - *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
- * - * @beta */ restUrl: String; /** * The permissions that the delegate has on a shared folder. - * - * [Api set: Mailbox Preview] - * - * @remarks - * - * - * - *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
- * - * @beta */ delegatePermissions: Office.MailboxEnums.DelegatePermissions; - /** - * Gets the sharedProperties of an appointment or message. - * - * [Api set: Mailbox Preview] - * - * @remarks - * - * - *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
- * - * In addition to the main signature, this method also has this signature: - * - * `getAsync(callback: (result: AsyncResult) => void): void;` - * - * @param options An object literal that contains one or more of the following properties. - * asyncContext: Developers can provide any object they wish to access in the callback method. - * @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of - * type Office.AsyncResult. - * The `value` property of the result is the sharedProperties of the item. - * - * @beta - */ - getAsync(options: Office.AsyncContextOptions, callback: (result: AsyncResult) => void): void; - /** - * Gets the sharedProperties of an appointment or message. - * - * [Api set: Mailbox Preview] - * - * @remarks - * - * - *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
- * - * @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of - * type Office.AsyncResult. - * The `value` property of the result is the sharedProperties of the item. - * - * @beta - */ - getAsync(callback: (result: AsyncResult) => void): void; } /** From e63120e61ed3dd8d6710484a01ff6a94dd41968d Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Wed, 19 Sep 2018 10:30:43 -0700 Subject: [PATCH 04/13] update from msdn links --- types/office-js/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index e0802b33e6..94ffad2a50 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -14714,7 +14714,7 @@ declare namespace Office { * * {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read * - * The ewsUrl value can be used by a remote service to make EWS calls to the user's mailbox. For example, you can create a remote service to {@link https://msdn.microsoft.com/library/office/dn148008.aspx | get attachments from the selected item}. + * The ewsUrl value can be used by a remote service to make EWS calls to the user's mailbox. For example, you can create a remote service to {@link https://docs.microsoft.com/outlook/add-ins/get-attachments-of-an-outlook-item | get attachments from the selected item}. * * Note: This member is not supported in Outlook for iOS or Outlook for Android. */ @@ -14829,7 +14829,7 @@ declare namespace Office { * {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read * * Item IDs retrieved via EWS or via the itemId property use a different format than the format used by REST APIs (such as the - * {@link https://msdn.microsoft.com/office/office365/APi/mail-rest-operations | Outlook Mail API} or the {@link http://graph.microsoft.io/ | Microsoft Graph}. + * {@link https://docs.microsoft.com/previous-versions/office/office-365-api/api/version-2.0/mail-rest-operations | Outlook Mail API} or the {@link http://graph.microsoft.io/ | Microsoft Graph}. * The convertToRestId method converts an EWS-formatted ID into the proper format for REST. * * @param itemId An item ID formatted for Exchange Web Services (EWS) @@ -15098,7 +15098,7 @@ declare namespace Office { * {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose and read * * The getUserIdentityTokenAsync method returns a token that you can use to identify and - * {@link https://msdn.microsoft.com/library/office/fp179828.aspx | authenticate the add-in and user with a third-party system}. + * {@link https://docs.microsoft.com/outlook/add-ins/authentication | authenticate the add-in and user with a third-party system}. * * @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of * type Office.AsyncResult. From cf588155f226f002f70184c233a1c9195421335f Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Thu, 20 Sep 2018 12:07:23 -0700 Subject: [PATCH 05/13] updates based on feedback --- types/office-js/index.d.ts | 149 ++++++++++++++++--------------------- 1 file changed, 64 insertions(+), 85 deletions(-) diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 94ffad2a50..8cd5488314 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -1478,7 +1478,7 @@ declare namespace Office { * * * - * + * * * *
Office for Windows desktop
Excel Y
Outlook Y
Outlook Y (in preview)
PowerPoint Y
Word Y
@@ -1916,6 +1916,8 @@ declare namespace Office { NodeReplaced, /** * Triggers when the OfficeTheme is changed in Outlook. + * + * [Api set: Mailbox Preview] */ OfficeThemeChanged, /** @@ -1929,7 +1931,7 @@ declare namespace Office { * * [Api set: Mailbox 1.7] */ - RecurrencePatternChanged, + RecurrenceChanged, /** * Triggers when a Resource selection happens in Project. */ @@ -7414,7 +7416,7 @@ declare namespace Office { Day = "day" } /** - * Specifies the permissions (by bit flags) that a delegate has on a shared folder. + * This bit mask represents a delegate's permissions on a shared folder. * * [Api set: Mailbox Preview] * @@ -7427,37 +7429,29 @@ declare namespace Office { */ enum DelegatePermissions { /** - * Read permission. + * Delegate has permission to read items. */ Read = 1, /** - * Write permission. + * Delegate has permission to create and write items. */ Write = 2, /** - * DeleteOwn permission. + * Delegate has permission to delete only the items they created. */ DeleteOwn = 4, /** - * DeleteAll permission. + * Delegate has permission to delete any items. */ DeleteAll = 8, /** - * EditOwn permission. + * Delegate has permission to edit only they items they created. */ EditOwn = 16, /** - * EditAll permission. + * Delegate has permission to edit any items. */ - EditAll = 32, - /** - * SendOnBehalfOf permission. - */ - SendOnBehalfOf = 64, - /** - * SendAs permission. - */ - SendAs = 128 + EditAll = 32 } /** * Specifies an entity's type. @@ -8565,7 +8559,7 @@ declare namespace Office { * * {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read * - * In addition to the main signature, this method also has this signature: + * In addition to this signature, this method also has the following signature: * * `getAsync(coerciontype: Office.CoercionType, callback: (result: AsyncResult) => void): void;` * @@ -8632,7 +8626,7 @@ declare namespace Office { * * ErrorsDataExceedsMaximumSize - The data parameter is longer than 1,000,000 characters. * - * In addition to the main signature, this method also has these signatures: + * In addition to this signature, this method also has the following signatures: * * `prependAsync(data: string, options: Office.AsyncContextOptions & CoercionTypeOptions): void;` * @@ -8731,7 +8725,7 @@ declare namespace Office { * * ErrorsDataExceedsMaximumSize - The data parameter is longer than 1,000,000 characters.InvalidFormatError - The options.coercionType parameter is set to Office.CoercionType.Html and the message body is in plain text. * - * In addition to the main signature, this method also has these signatures: + * In addition to this signature, this method also has the following signatures: * * `setAsync(data: string, options: Office.AsyncContextOptions & CoercionTypeOptions): void;` * @@ -8838,7 +8832,7 @@ declare namespace Office { * * ErrorsDataExceedsMaximumSize - The data parameter is longer than 1,000,000 characters.InvalidFormatError - The options.coercionType parameter is set to Office.CoercionType.Html and the message body is in plain text. * - * In addition to the main signature, this method also has these signatures: + * In addition to this signature, this method also has the following signatures: * * `setSelectedDataAsync(data: string, options: Office.AsyncContextOptions & CoercionTypeOptions): void;` * @@ -9674,7 +9668,7 @@ declare namespace Office { /** * Adds an event handler for a supported event. * - * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and `Office.EventType.RecurrencePatternChanged`. + * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -9701,7 +9695,7 @@ declare namespace Office { * Adds an event handler for a supported event. * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and - * `Office.EventType.RecurrencePatternChanged`. + * `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -9740,7 +9734,7 @@ declare namespace Office { * * ErrorsNumberOfAttachmentsExceeded - The message or appointment has too many attachments. * - * In addition to the main signature, this method also has these signatures: + * In addition to this signature, this method also has the following signatures: * * `addItemAttachmentAsync(itemId: any, attachmentName: string): void;` * @@ -10072,7 +10066,7 @@ declare namespace Office { * Removes an event handler for a supported event. * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and - * `Office.EventType.RecurrencePatternChanged`. + * `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -10098,7 +10092,7 @@ declare namespace Office { /** * Removes an event handler for a supported event. * - * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and `Office.EventType.RecurrencePatternChanged`. + * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -10687,7 +10681,7 @@ declare namespace Office { * Adds an event handler for a supported event. * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and - * `Office.EventType.RecurrencePatternChanged`. + * `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -10715,7 +10709,7 @@ declare namespace Office { * Adds an event handler for a supported event. * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and - * `Office.EventType.RecurrencePatternChanged`. + * `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -11068,7 +11062,7 @@ declare namespace Office { * Removes an event handler for a supported event. * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and - * `Office.EventType.RecurrencePatternChanged`. + * `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -11095,7 +11089,7 @@ declare namespace Office { * Removes an event handler for a supported event. * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and - * `Office.EventType.RecurrencePatternChanged`. + * `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -11239,25 +11233,10 @@ declare namespace Office { */ seriesId: string; - /** - * Gets the sharedProperties of an appointment or message item. - * - * [Api set: Mailbox Preview] - * - * @remarks - * - * - * - *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
- * - * @beta - */ - sharedProperties: Office.SharedProperties; - /** * Adds an event handler for a supported event. * - * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and `Office.EventType.RecurrencePatternChanged`. + * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -11284,7 +11263,7 @@ declare namespace Office { /** * Adds an event handler for a supported event. * - * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and `Office.EventType.RecurrencePatternChanged`. + * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -11333,7 +11312,7 @@ declare namespace Office { getInitializationContextAsync(options?: Office.AsyncContextOptions, callback?: (result: AsyncResult) => void): void; /** - * Gets the sharedProperties of an appointment or message. + * Gets the properties of an appointment or message in a shared folder, calendar, or mailbox. * * [Api set: Mailbox Preview] * @@ -11342,7 +11321,7 @@ declare namespace Office { * * {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read * - * In addition to the main signature, this method also has this signature: + * In addition to this signature, this method also has the following signature: * * `getAsync(callback: (result: AsyncResult) => void): void;` * @@ -11350,14 +11329,14 @@ declare namespace Office { * asyncContext: Developers can provide any object they wish to access in the callback method. * @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of * type Office.AsyncResult. - * The `value` property of the result is the sharedProperties of the item. + * The `value` property of the result is the properties of the shared item. * * @beta */ getSharedPropertiesAsync(options: Office.AsyncContextOptions, callback: (result: AsyncResult) => void): void; /** - * Gets the sharedProperties of an appointment or message. + * Gets the properties of an appointment or message in a shared folder, calendar, or mailbox. * * [Api set: Mailbox Preview] * @@ -11368,7 +11347,7 @@ declare namespace Office { * * @param callback When the method completes, the function passed in the callback parameter is called with a single parameter of * type Office.AsyncResult. - * The `value` property of the result is the sharedProperties of the item. + * The `value` property of the result is the properties of the shared item. * * @beta */ @@ -11404,7 +11383,7 @@ declare namespace Office { * Removes an event handler for a supported event. * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and - * `Office.EventType.RecurrencePatternChanged`. + * `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -11432,7 +11411,7 @@ declare namespace Office { * Removes an event handler for a supported event. * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and - * `Office.EventType.RecurrencePatternChanged`. + * `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -11629,7 +11608,7 @@ declare namespace Office { * * ErrorsNumberOfAttachmentsExceeded - The message or appointment has too many attachments. * - * In addition to the main signature, this method also has these signatures: + * In addition to this signature, this method also has the following signatures: * * `addItemAttachmentAsync(itemId: any, attachmentName: string): void;` * @@ -12747,7 +12726,7 @@ declare namespace Office { * Gets the email address of the sender of a message. * * The from and sender properties represent the same person unless the message is sent by a delegate. - * In that case, the from property represents the delegator, and the sender property represents the delegate. + * In that case, the from property represents the owner, and the sender property represents the delegate. * * The from property returns a From object that provides a method to get the from value. * @@ -12998,7 +12977,7 @@ declare namespace Office { /** * Adds an event handler for a supported event. * - * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and `Office.EventType.RecurrencePatternChanged`. + * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -13025,7 +13004,7 @@ declare namespace Office { * Adds an event handler for a supported event. * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and - * `Office.EventType.RecurrencePatternChanged`. + * `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -13064,7 +13043,7 @@ declare namespace Office { * * ErrorsNumberOfAttachmentsExceeded - The message or appointment has too many attachments. * - * In addition to the main signature, this method also has these signatures: + * In addition to this signature, this method also has the following signatures: * * `addItemAttachmentAsync(itemId: any, attachmentName: string): void;` * @@ -13402,7 +13381,7 @@ declare namespace Office { * Removes an event handler for a supported event. * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and - * `Office.EventType.RecurrencePatternChanged`. + * `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -13429,7 +13408,7 @@ declare namespace Office { * Removes an event handler for a supported event. * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and - * `Office.EventType.RecurrencePatternChanged`. + * `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -14034,7 +14013,7 @@ declare namespace Office { * Adds an event handler for a supported event. * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and - * `Office.EventType.RecurrencePatternChanged`. + * `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -14062,7 +14041,7 @@ declare namespace Office { * Adds an event handler for a supported event. * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and - * `Office.EventType.RecurrencePatternChanged`. + * `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -14419,7 +14398,7 @@ declare namespace Office { * Removes an event handler for a supported event. * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and - * `Office.EventType.RecurrencePatternChanged`. + * `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -14446,7 +14425,7 @@ declare namespace Office { * Removes an event handler for a supported event. * * Currently the supported event types are `Office.EventType.AppointmentTimeChanged`, `Office.EventType.RecipientsChanged`, and - * `Office.EventType.RecurrencePatternChanged`. + * `Office.EventType.RecurrenceChanged`. * * [Api set: Mailbox 1.7] * @@ -15354,7 +15333,7 @@ declare namespace Office { * * {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read * - * In addition to the main signature, this method also has this signature: + * In addition to this signature, this method also has the following signature: * * `getAllAsync(callback: (result: AsyncResult) => void): void;` * @@ -15388,7 +15367,7 @@ declare namespace Office { * * {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read * - * In addition to the main signature, this method also has these signatures: + * In addition to this signature, this method also has the following signatures: * * `removeAsync(key: string): void;` * @@ -15458,7 +15437,7 @@ declare namespace Office { * * {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read * - * In addition to the main signature, this method also has these signatures: + * In addition to this signature, this method also has the following signatures: * * `replaceAsync(key: string, JSONmessage: NotificationMessageDetails): void;` * @@ -15587,7 +15566,7 @@ declare namespace Office { * * ErrorsNumberOfRecipientsExceeded - The number of recipients exceeded 100 entries. * - * In addition to the main signature, this method also has these signatures: + * In addition to this signature, this method also has the following signatures: * * `addAsync(recipients: (string | EmailUser | EmailAddressDetails)[]): void;` * @@ -15687,7 +15666,7 @@ declare namespace Office { * * {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose * - * In addition to the main signature, this method also has this signature: + * In addition to this signature, this method also has the following signature: * * `getAsync(callback: (result: AsyncResult) => void): void;` * @@ -15737,7 +15716,7 @@ declare namespace Office { * * ErrorsNumberOfRecipientsExceeded - The number of recipients exceeded 100 entries. * - * In addition to the main signature, this method also has these signatures: + * In addition to this signature, this method also has the following signatures: * * `setAsync(recipients: (string | EmailUser | EmailAddressDetails)[]): void;` * @@ -15958,7 +15937,7 @@ declare namespace Office { * * {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read * - * In addition to the main signature, this method also has this signature: + * In addition to this signature, this method also has the following signature: * * `getAsync(callback?: (result: AsyncResult) => void): void;` * @@ -16004,7 +15983,7 @@ declare namespace Office { * * ErrorsInvalidEndTime - The appointment end time is before its start time. * - * In addition to the main signature, this method also has this signature: + * In addition to this signature, this method also has the following signature: * * `setAsync(recurrencePattern: Recurrence, callback?: (result: AsyncResult) => void): void;` * @@ -16320,7 +16299,7 @@ declare namespace Office { * * ErrorsInvalid date format - The date is not in an acceptable format. * - * In addition to the main signature, this method also has this signature: + * In addition to this signature, this method also has the following signature: * * `setEndDate(date: string): void;` (Where date is the end date of the recurring appointment series represented in the * {@link https://www.iso.org/iso-8601-date-and-time-format.html | ISO 8601} date format: "YYYY-MM-DD"). @@ -16357,7 +16336,7 @@ declare namespace Office { * * ErrorsInvalid date format - The date is not in an acceptable format. * - * In addition to the main signature, this method also has this signature: + * In addition to this signature, this method also has the following signature: * * `setStartDate(date: string): void;` (Where date is the start date of the recurring appointment series represented in the {@link https://www.iso.org/iso-8601-date-and-time-format.html | ISO 8601} date format: "YYYY-MM-DD"). * @@ -16396,7 +16375,7 @@ declare namespace Office { * * ErrorsInvalid time format - The time is not in an acceptable format. * - * In addition to the main signature, this method also has this signature: + * In addition to this signature, this method also has the following signature: * * `setStartTime(time: string): void;` (Where time is the start time of all instances represented by standard datetime string format: "THH:mm:ss:mmm"). * @@ -16424,7 +16403,7 @@ declare namespace Office { } /** - * Represents the sharedProperties of an appointment or message in an Outlook add-in. + * Represents the properties of an appointment or message in a shared folder, mailbox, or calendar. * * [Api set: Mailbox Preview] * @@ -16437,11 +16416,11 @@ declare namespace Office { */ interface SharedProperties { /** - * The email address and display name of the owner of a shared item. + * The email address of the owner of a shared item. */ - owner: EmailUser; + owner: String; /** - * The remote REST url related to the delegator’s mailbox. + * The remote REST url related to the owner’s mailbox. */ restUrl: String; /** @@ -16473,7 +16452,7 @@ declare namespace Office { * * {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose * - * In addition to the main signature, this method also has this signature: + * In addition to this signature, this method also has the following signature: * * `getAsync(callback: (result: AsyncResult) => void): void;` * @@ -16515,7 +16494,7 @@ declare namespace Office { * * ErrorsDataExceedsMaximumSize - The subject parameter is longer than 255 characters. * - * In addition to the main signature, this method also has these signatures: + * In addition to this signature, this method also has the following signatures: * * `setAsync(subject: string): void;` * @@ -16637,7 +16616,7 @@ declare namespace Office { * * {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose * - * In addition to the main signature, this method also has this signature: + * In addition to this signature, this method also has the following signature: * * `getAsync(callback: (result: AsyncResult) => void): void;` * @@ -16681,7 +16660,7 @@ declare namespace Office { * * ErrorsInvalidEndTime - The appointment end time is before the appointment start time. * - * In addition to the main signature, this method also has these signatures: + * In addition to this signature, this method also has the following signatures: * * `setAsync(dateTime: Date): void;` * From 4bf7755614b1cfe230fac677787bf77d40b8f76f Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Thu, 20 Sep 2018 14:31:53 -0700 Subject: [PATCH 06/13] updates based on feedback --- types/office-js/index.d.ts | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 8cd5488314..6cd2952f6a 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -1817,7 +1817,7 @@ declare namespace Office { */ ActiveViewChanged, /** - * Triggers when the appointment date or time of the selected series is changed in Outlook. + * Triggers when the date or time of the selected appointment is changed in Outlook. * * [Api set: Mailbox 1.7] */ @@ -15894,7 +15894,7 @@ declare namespace Office { * * {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read */ - recurrenceTimeZone: Office.MailboxEnums.RecurrenceTimeZone; + recurrenceTimeZone: RecurrenceTimeZone; /** * Gets or sets the type of the recurring appointment series. @@ -16018,7 +16018,7 @@ declare namespace Office { } /** - * Gets or sets the properties of the recurrence. + * Represents the properties of the recurrence. * * [Api set: Mailbox 1.7] * @@ -16060,6 +16060,16 @@ declare namespace Office { firstDayOfWeek: Office.MailboxEnums.Days; } + /** + * Represents the time zone of the recurrence. + */ + export interface RecurrenceTimeZone { + /** + * Represents the name of the recurrence time zone. + */ + name: Office.MailboxEnums.RecurrenceTimeZone; + } + /** * A file or item attachment. Used when displaying a reply form. */ From c3d7b9f511f6713f011e5eb67c541ff4c827be0e Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Thu, 20 Sep 2018 14:32:51 -0700 Subject: [PATCH 07/13] minor update --- types/office-js/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 6cd2952f6a..f5409ed7db 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -1817,7 +1817,7 @@ declare namespace Office { */ ActiveViewChanged, /** - * Triggers when the date or time of the selected appointment is changed in Outlook. + * Triggers when any date or time of the selected appointment is changed in Outlook. * * [Api set: Mailbox 1.7] */ From b582e23bb00d181d9cc92a9771576a00a94d262f Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Thu, 20 Sep 2018 15:06:05 -0700 Subject: [PATCH 08/13] update based on feedback --- types/office-js/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index ca7fed4440..d97116f20c 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -1921,7 +1921,7 @@ declare namespace Office { */ OfficeThemeChanged, /** - * Triggers when the recipient list of the selected item is changed in Outlook. + * Triggers when the recipient list of the selected item or the appointment location is changed in Outlook. * * [Api set: Mailbox 1.7] */ From 0cea85e6c37710ceb37532d8e4fe735ae6074cd2 Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Thu, 20 Sep 2018 16:22:09 -0700 Subject: [PATCH 09/13] minor update --- types/office-js/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index d97116f20c..7ef7f6a609 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -1921,7 +1921,7 @@ declare namespace Office { */ OfficeThemeChanged, /** - * Triggers when the recipient list of the selected item or the appointment location is changed in Outlook. + * Triggers when the recipient list of the selected item or the location of the appointment or series is changed in Outlook. * * [Api set: Mailbox 1.7] */ From 9d6fee905593600b3fb807143c81aacee3b243e0 Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Thu, 20 Sep 2018 16:30:22 -0700 Subject: [PATCH 10/13] tweak --- types/office-js/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 7ef7f6a609..389fc83660 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -1817,7 +1817,7 @@ declare namespace Office { */ ActiveViewChanged, /** - * Triggers when any date or time of the selected appointment is changed in Outlook. + * Triggers when any date or time of the selected appointment or series is changed in Outlook. * * [Api set: Mailbox 1.7] */ @@ -1921,7 +1921,7 @@ declare namespace Office { */ OfficeThemeChanged, /** - * Triggers when the recipient list of the selected item or the location of the appointment or series is changed in Outlook. + * Triggers when the recipient list of the selected item or the appointment location is changed in Outlook. * * [Api set: Mailbox 1.7] */ From 6e11f5dde1e16c559d7af5d9d36176012134a79b Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Thu, 20 Sep 2018 16:58:24 -0700 Subject: [PATCH 11/13] add offset --- types/office-js/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 389fc83660..09e5595469 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -16068,6 +16068,11 @@ declare namespace Office { * Represents the name of the recurrence time zone. */ name: Office.MailboxEnums.RecurrenceTimeZone; + + /** + * Integer value representing the difference in minutes between the local time zone and UTC at the date that the meeting series began. + */ + offset: number; } /** From 3b46eddf7ffb5977878e17b1f5e727566ec99ef1 Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Thu, 20 Sep 2018 17:43:37 -0700 Subject: [PATCH 12/13] update a couple of references --- types/office-js/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 09e5595469..90bdaf5467 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -15882,7 +15882,7 @@ declare namespace Office { * * {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read */ - recurrenceProperties: RecurrenceProperties; + recurrenceProperties: Office.RecurrenceProperties; /** * Gets or sets the properties of the recurring appointment series. * @@ -15894,7 +15894,7 @@ declare namespace Office { * * {@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read */ - recurrenceTimeZone: RecurrenceTimeZone; + recurrenceTimeZone: Office.RecurrenceTimeZone; /** * Gets or sets the type of the recurring appointment series. From 3049365bb70bb2319960ddb7a10f542dce866cfc Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Thu, 20 Sep 2018 18:09:28 -0700 Subject: [PATCH 13/13] tag new object as 1.7 --- types/office-js/index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 90bdaf5467..ca3f7b413d 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -16062,6 +16062,14 @@ declare namespace Office { /** * Represents the time zone of the recurrence. + * + * [Api set: Mailbox 1.7] + * + * @remarks + * + * + * + *
{@link https://docs.microsoft.com/outlook/add-ins/understanding-outlook-add-in-permissions | Minimum permission level}ReadItem
{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}Compose or read
*/ export interface RecurrenceTimeZone { /**