From c4d0e466d185ec95388bceb13f115b7f6863f5bc Mon Sep 17 00:00:00 2001 From: googleworkspace-bot <109114539+googleworkspace-bot@users.noreply.github.com> Date: Wed, 12 Mar 2025 12:45:48 -0600 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#72183=20[googl?= =?UTF-8?q?e.picker]:=20automated=20update=20to=20Google=20Picker=20cl/736?= =?UTF-8?q?159387=20by=20@googleworkspace-bot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/google.picker/google.picker-tests.ts | 2 +- types/google.picker/index.d.ts | 36 +++++++++++++++++----- 2 files changed, 30 insertions(+), 8 deletions(-) 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. From 086eb914c542d356865d03ddd6c58bdb6c445d2c Mon Sep 17 00:00:00 2001 From: Sam Ramon <15154970+samantharamon@users.noreply.github.com> Date: Wed, 12 Mar 2025 13:56:22 -0700 Subject: [PATCH 2/3] [office-js][office-js-preview] Fix link (#72178) --- types/office-js-preview/index.d.ts | 6 ++++-- types/office-js/index.d.ts | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/types/office-js-preview/index.d.ts b/types/office-js-preview/index.d.ts index 6e98b4bd5d5ce7..a7c752ec2f4062 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`, diff --git a/types/office-js/index.d.ts b/types/office-js/index.d.ts index 9b36c4acfc5e09..e3134db3fad62b 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`, From be35a3189a293fd5b7b7e6bc067e3dd74a058704 Mon Sep 17 00:00:00 2001 From: Sam Ramon <15154970+samantharamon@users.noreply.github.com> Date: Wed, 12 Mar 2025 14:39:55 -0700 Subject: [PATCH 3/3] [office-js][office-js-preview] (Outlook) Clarify support for BMP attachments (#72187) --- types/office-js-preview/index.d.ts | 8 ++++++++ types/office-js/index.d.ts | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/types/office-js-preview/index.d.ts b/types/office-js-preview/index.d.ts index a7c752ec2f4062..c47d7957398cf0 100644 --- a/types/office-js-preview/index.d.ts +++ b/types/office-js-preview/index.d.ts @@ -10597,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. @@ -10644,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. @@ -18880,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. @@ -18926,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 e3134db3fad62b..443c28001ecea4 100644 --- a/types/office-js/index.d.ts +++ b/types/office-js/index.d.ts @@ -10532,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. @@ -10579,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. @@ -18517,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. @@ -18563,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.