mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feature/outlook shared mailbox (#1323)
* ⚡ Add shared mailbox support * 🐛 Add filter field to folderMessage:getAll * ⚡ Small changes to descriptions (#1322) Co-authored-by: Mika Luhta <12100880+mluhta@users.noreply.github.com>
This commit is contained in:
@@ -16,7 +16,27 @@ export class MicrosoftOutlookOAuth2Api implements ICredentialType {
|
||||
displayName: 'Scope',
|
||||
name: 'scope',
|
||||
type: 'hidden' as NodePropertyTypes,
|
||||
default: 'openid offline_access Mail.ReadWrite Mail.Send MailboxSettings.Read',
|
||||
default: 'openid offline_access Mail.ReadWrite Mail.ReadWrite.Shared Mail.Send Mail.Send.Shared MailboxSettings.Read',
|
||||
},
|
||||
{
|
||||
displayName: 'Use Shared Mailbox',
|
||||
name: 'useShared',
|
||||
type: 'boolean' as NodePropertyTypes,
|
||||
default: false,
|
||||
},
|
||||
{
|
||||
displayName: 'User Principal Name',
|
||||
name: 'userPrincipalName',
|
||||
description: 'Target user\'s UPN or ID',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
useShared: [
|
||||
true,
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user