From 7c439294f1c9fb0a3a9ca7f68fc9f744e64290e9 Mon Sep 17 00:00:00 2001 From: Elizabeth Samuel Date: Mon, 27 Jan 2020 10:37:50 -0800 Subject: [PATCH] [office-js] [office-js-preview] (Outlook) Update changedRecipientFields object (#41891) --- types/office-js-preview/index.d.ts | 66 +++++++++++++++++++----------- types/office-js/index.d.ts | 66 +++++++++++++++++++----------- 2 files changed, 84 insertions(+), 48 deletions(-) diff --git a/types/office-js-preview/index.d.ts b/types/office-js-preview/index.d.ts index 7fdd2df571..d35194068e 100644 --- a/types/office-js-preview/index.d.ts +++ b/types/office-js-preview/index.d.ts @@ -15464,7 +15464,7 @@ declare namespace Office { * * [Api set: Mailbox 1.7] */ - changedRecipientsFields: RecipientsChangedFields; + changedRecipientFields: RecipientsChangedFields; /** * Gets the type of the event. See `Office.EventType` for details. * @@ -15473,29 +15473,47 @@ declare namespace Office { type: "olkRecipientsChanged"; } /** - * Represents `RecipientsChangedEventArgs.changedRecipientsFields` object. - * - * [Api set: Mailbox 1.7] - */ - interface RecipientsChangedFields { - /** - * Gets if optional attendees were changed. - * - * [Api set: Mailbox 1.7] - */ - optionalAttendees: boolean; - /** - * Gets if required attendees were changed. - * - * [Api set: Mailbox 1.7] - */ - requiredAttendees: boolean; - /** - * Gets if resources were changed. - * - * [Api set: Mailbox 1.7] - */ - resources: boolean; + * Represents `RecipientsChangedEventArgs.changedRecipientFields` object. + * + * [Api set: Mailbox 1.7] + */ + interface RecipientsChangedFields { + /** + * Gets if recipients in the **bcc** field were changed. + * + * [Api set: Mailbox 1.7] + */ + bcc: boolean + /** + * Gets if recipients in the **cc** field were changed. + * + * [Api set: Mailbox 1.7] + */ + cc: boolean; + /** + * Gets if optional attendees were changed. + * + * [Api set: Mailbox 1.7] + */ + optionalAttendees: boolean; + /** + * Gets if required attendees were changed. + * + * [Api set: Mailbox 1.7] + */ + requiredAttendees: boolean; + /** + * Gets if resources were changed. + * + * [Api set: Mailbox 1.7] + */ + resources: boolean; + /** + * Gets if recipients in the **to** field were changed. + * + * [Api set: Mailbox 1.7] + */ + to: boolean; } /** * The recurrence object provides methods to get and set the recurrence pattern of appointments but only get the recurrence pattern of diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index d3876607dc..23ee3db543 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -15154,7 +15154,7 @@ declare namespace Office { * * [Api set: Mailbox 1.7] */ - changedRecipientsFields: RecipientsChangedFields; + changedRecipientFields: RecipientsChangedFields; /** * Gets the type of the event. See `Office.EventType` for details. * @@ -15163,29 +15163,47 @@ declare namespace Office { type: "olkRecipientsChanged"; } /** - * Represents `RecipientsChangedEventArgs.changedRecipientsFields` object. - * - * [Api set: Mailbox 1.7] - */ - interface RecipientsChangedFields { - /** - * Gets if optional attendees were changed. - * - * [Api set: Mailbox 1.7] - */ - optionalAttendees: boolean; - /** - * Gets if required attendees were changed. - * - * [Api set: Mailbox 1.7] - */ - requiredAttendees: boolean; - /** - * Gets if resources were changed. - * - * [Api set: Mailbox 1.7] - */ - resources: boolean; + * Represents `RecipientsChangedEventArgs.changedRecipientFields` object. + * + * [Api set: Mailbox 1.7] + */ + interface RecipientsChangedFields { + /** + * Gets if recipients in the **bcc** field were changed. + * + * [Api set: Mailbox 1.7] + */ + bcc: boolean + /** + * Gets if recipients in the **cc** field were changed. + * + * [Api set: Mailbox 1.7] + */ + cc: boolean; + /** + * Gets if optional attendees were changed. + * + * [Api set: Mailbox 1.7] + */ + optionalAttendees: boolean; + /** + * Gets if required attendees were changed. + * + * [Api set: Mailbox 1.7] + */ + requiredAttendees: boolean; + /** + * Gets if resources were changed. + * + * [Api set: Mailbox 1.7] + */ + resources: boolean; + /** + * Gets if recipients in the **to** field were changed. + * + * [Api set: Mailbox 1.7] + */ + to: boolean; } /** * The recurrence object provides methods to get and set the recurrence pattern of appointments but only get the recurrence pattern of