diff --git a/types/google.picker/google.picker-tests.ts b/types/google.picker/google.picker-tests.ts index 1066d318dbd2fe..36bcabcdfc2f1f 100644 --- a/types/google.picker/google.picker-tests.ts +++ b/types/google.picker/google.picker-tests.ts @@ -20,7 +20,7 @@ // https://issuetracker.google.com/issues/new?component=191628 // Skipping tests by updating with checksum -// d94cd28364ab9b3272acb33c7302966c +// b03a54c16f601e791ab7dee3dfd08fe7 // tslint:disable:no-unused-expression google.picker.PickerBuilder; diff --git a/types/google.picker/index.d.ts b/types/google.picker/index.d.ts index ecf6dd90998df5..7dc0cd926921ec 100644 --- a/types/google.picker/index.d.ts +++ b/types/google.picker/index.d.ts @@ -489,9 +489,7 @@ declare namespace google { constructor(viewId?: ViewId); /** - * Show folders in the view items. Do not combine with - * `setOwnedByMe`. When `setIncludeFolders(true)` is - * set, `setOwnedByMe` is ignored. + * Show folders in the view items. * * If you don't set this option, folders aren't displayed in the * view. @@ -514,10 +512,12 @@ declare namespace google { setMode(mode: DocsViewMode): DocsView; /** - * Filters the documents based on whether they are owned by the user, or - * shared with the user. Do not combine this setting with - * `setIncludeFolders`. When `setIncludeFolders(true)` - * is set, `setOwnedByMe` is ignored. + * Filters the documents based on whether they are owned by the user, or + * shared with the user. + * + * Don't combine this setting with `setEnableDrives`. + * When `setEnableDrives(true)` and `setOwnedByMe(true)` are set, + * there are no results. * * If you don't set this option, all documents, including shared * documents, are displayed in the view. @@ -529,6 +529,9 @@ declare namespace google { * * If `true`, only starred documents are displayed in the view. If * `false`, all documents are displayed in the view. + * + * Don't combine this setting with `setEnableDrives`. + * When `setEnableDrives(true)` is set, `setStarred` is ignored. */ setStarred(starred: boolean): DocsView; @@ -539,17 +542,36 @@ declare namespace google { * GoogleDrive API documentation for enabling shared drives}. * * If `true`, only shared drives are included in the view. + * + * Don't combine this setting with `setParent` or `setFileIds`. + * Calls to this function override previous calls to `setParent` or + * `setFileIds`. + * + * Don't combine this setting with `setOwnedByMe`. + * When `setEnableDrives(true)` and `setOwnedByMe(true)` are set, + * there are no results. + * + * Don't combine this setting with `setStarred`. + * When `setEnableDrives(true)` is set, `setStarred` is ignored. */ setEnableDrives(enabled: boolean): DocsView; /** * Sets the initial parent folder to display. + * + * Don't combine this setting with `setEnableDrives` or `setFileIds`. + * Calls to this function override previous calls to `setEnableDrives` + * or `setFileIds`. */ setParent(parentId: string): View; /** * Sets the file IDs included in the view. * + * Don't combine this setting with `setEnableDrives` or `setParent`. + * Calls to this function override previous calls to `setEnableDrives` + * or `setParent`. + * * @param fileIds A string of file IDs. Use commas to separate file IDs if * setting more than one. If you include the file ID of a file that the * user doesn't have access to, the file is excluded from the view. diff --git a/types/office-js-preview/index.d.ts b/types/office-js-preview/index.d.ts index 6e98b4bd5d5ce7..c47d7957398cf0 100644 --- a/types/office-js-preview/index.d.ts +++ b/types/office-js-preview/index.d.ts @@ -8907,9 +8907,11 @@ declare namespace Office { /** * The attachment is stored in a cloud location, such as OneDrive. * - * **Important**: In Read mode, the `id` property of the attachment's {@link Office.AttachmentDetails | details} object + * **Important**: In Read mode, the `id` property of the attachment's + * {@link https://learn.microsoft.com/javascript/api/outlook/office.attachmentdetails | AttachmentDetails} object * contains a URL to the file. - * From requirement set 1.8, the `url` property included in the attachment's {@link Office.AttachmentDetailsCompose | details} object + * From requirement set 1.8, the `url` property included in the attachment's + * {@link https://learn.microsoft.com/javascript/api/outlook/office.attachmentdetailscompose | AttachmentDetailsCompose} object * contains a URL to the file in Compose mode. * * The `cloud` attachment type isn't supported by the `displayNewMessageForm`, `displayNewMessageFormAsync`, `displayReplyAllForm`, `displayReplyAllFormAsync`, @@ -10595,6 +10597,8 @@ declare namespace Office { * - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in Outlook mobile, see * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}. * + * - Bitmap (BMP) images aren't supported if they're added as inline attachments. + * * - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to * this action (whether using this API or the Outlook UI). To work around this issue, use the `addFileAttachmentFromBase64` API * introduced with requirement set 1.8. @@ -10642,6 +10646,8 @@ declare namespace Office { * - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in Outlook mobile, see * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}. * + * - Bitmap (BMP) images aren't supported if they're added as inline attachments. + * * - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to * this action (whether using this API or the Outlook UI). To work around this issue, use the `addFileAttachmentFromBase64` API * introduced with requirement set 1.8. @@ -18878,6 +18884,8 @@ declare namespace Office { * - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in Outlook mobile, see * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}. * + * - Bitmap (BMP) images aren't supported if they're added as inline attachments. + * * - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to * this action (whether using this API or the Outlook UI). To work around this issue, use the `addFileAttachmentFromBase64` API * introduced with requirement set 1.8. @@ -18924,6 +18932,8 @@ declare namespace Office { * - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in Outlook mobile, see * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}. * + * - Bitmap (BMP) images aren't supported if they're added as inline attachments. + * * - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to * this action (whether using this API or the Outlook UI). To work around this issue, use the `addFileAttachmentFromBase64` API * introduced with requirement set 1.8. diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 9b36c4acfc5e09..443c28001ecea4 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -8855,9 +8855,11 @@ declare namespace Office { /** * The attachment is stored in a cloud location, such as OneDrive. * - * **Important**: In Read mode, the `id` property of the attachment's {@link Office.AttachmentDetails | details} object + * **Important**: In Read mode, the `id` property of the attachment's + * {@link https://learn.microsoft.com/javascript/api/outlook/office.attachmentdetails | AttachmentDetails} object * contains a URL to the file. - * From requirement set 1.8, the `url` property included in the attachment's {@link Office.AttachmentDetailsCompose | details} object + * From requirement set 1.8, the `url` property included in the attachment's + * {@link https://learn.microsoft.com/javascript/api/outlook/office.attachmentdetailscompose | AttachmentDetailsCompose} object * contains a URL to the file in Compose mode. * * The `cloud` attachment type isn't supported by the `displayNewMessageForm`, `displayNewMessageFormAsync`, `displayReplyAllForm`, `displayReplyAllFormAsync`, @@ -10530,6 +10532,8 @@ declare namespace Office { * - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in Outlook mobile, see * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}. * + * - Bitmap (BMP) images aren't supported if they're added as inline attachments. + * * - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to * this action (whether using this API or the Outlook UI). To work around this issue, use the `addFileAttachmentFromBase64` API * introduced with requirement set 1.8. @@ -10577,6 +10581,8 @@ declare namespace Office { * - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in Outlook mobile, see * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}. * + * - Bitmap (BMP) images aren't supported if they're added as inline attachments. + * * - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to * this action (whether using this API or the Outlook UI). To work around this issue, use the `addFileAttachmentFromBase64` API * introduced with requirement set 1.8. @@ -18515,6 +18521,8 @@ declare namespace Office { * - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in Outlook mobile, see * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}. * + * - Bitmap (BMP) images aren't supported if they're added as inline attachments. + * * - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to * this action (whether using this API or the Outlook UI). To work around this issue, use the `addFileAttachmentFromBase64` API * introduced with requirement set 1.8. @@ -18561,6 +18569,8 @@ declare namespace Office { * - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in Outlook mobile, see * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}. * + * - Bitmap (BMP) images aren't supported if they're added as inline attachments. + * * - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to * this action (whether using this API or the Outlook UI). To work around this issue, use the `addFileAttachmentFromBase64` API * introduced with requirement set 1.8.