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/#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.
*