mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
✨ Add Microsoft Outlook node (#1272)
* ✨ Add Microsoft Outlook node * Remove accidental import * Style fixes * ✨ Microsoft Outlook (#1270) * ⚡ Some improvements to Outlook Node * ⚡ Some more small fixes * ⚡ Improvements * ⚡Add placeholder for the filter field * ⚡ Some more improvements to Outlook Node * ⚡ Hide unnecessary field on Outlook Node Co-authored-by: Mika Luhta <12100880+mluhta@users.noreply.github.com> Co-authored-by: Harshil <ghagrawal17@gmail.com> Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import {
|
||||
ICredentialType,
|
||||
NodePropertyTypes,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export class MicrosoftOutlookOAuth2Api implements ICredentialType {
|
||||
name = 'microsoftOutlookOAuth2Api';
|
||||
extends = [
|
||||
'microsoftOAuth2Api',
|
||||
];
|
||||
displayName = 'Microsoft Outlook OAuth2 API';
|
||||
documentationUrl = 'microsoft';
|
||||
properties = [
|
||||
//https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent
|
||||
{
|
||||
displayName: 'Scope',
|
||||
name: 'scope',
|
||||
type: 'hidden' as NodePropertyTypes,
|
||||
default: 'openid offline_access Mail.ReadWrite Mail.Send MailboxSettings.Read',
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user