[office-js] [office-js-preview] (Outlook) Move SourceProperty to MailboxEnums (#41768)

* [office-js] [office-js-preview] (Outlook) Remove SourceProperty

* Move SourceProperty to MailboxEnums
This commit is contained in:
Elizabeth Samuel 2020-01-21 13:08:42 -08:00 committed by Ben Lichtman
parent 94d9b425ee
commit 2b70a19f1a
2 changed files with 38 additions and 20 deletions

View File

@ -8809,6 +8809,25 @@ declare namespace Office {
*/
Beta = "beta"
}
/**
* Specifies the source of the selected data in an item (see `Office.mailbox.item.getSelectedDataAsync` for details).
*
* [Api set: Mailbox 1.2]
*
* @remarks
*
* **{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}**: Compose
*/
enum SourceProperty {
/**
* The source of the data is from the body of the item.
*/
Body = "body",
/**
* The source of the data is from the subject of the item.
*/
Subject = "subject"
}
/**
* Specifies the week of the month.
*
@ -8844,16 +8863,6 @@ declare namespace Office {
interface CoercionTypeOptions {
coercionType?: Office.CoercionType | string;
}
enum SourceProperty {
/**
* The source of the data is from the body of the message.
*/
Body,
/**
* The source of the data is from the subject of the message.
*/
Subject
}
/**
* The subclass of {@link Office.Item | Item} dealing with appointments.
*

View File

@ -8714,6 +8714,25 @@ declare namespace Office {
*/
Beta = "beta"
}
/**
* Specifies the source of the selected data in an item (see `Office.mailbox.item.getSelectedDataAsync` for details).
*
* [Api set: Mailbox 1.2]
*
* @remarks
*
* **{@link https://docs.microsoft.com/outlook/add-ins/#extension-points | Applicable Outlook mode}**: Compose
*/
enum SourceProperty {
/**
* The source of the data is from the body of the item.
*/
Body = "body",
/**
* The source of the data is from the subject of the item.
*/
Subject = "subject"
}
/**
* Specifies the week of the month.
*
@ -8749,16 +8768,6 @@ declare namespace Office {
interface CoercionTypeOptions {
coercionType?: Office.CoercionType | string;
}
enum SourceProperty {
/**
* The source of the data is from the body of the message.
*/
Body,
/**
* The source of the data is from the subject of the message.
*/
Subject
}
/**
* The subclass of {@link Office.Item | Item} dealing with appointments.
*