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:
Ricardo Espinoza
2020-12-29 02:23:01 -05:00
committed by GitHub
parent 8da254fb48
commit 4494ee81f6
11 changed files with 2956 additions and 0 deletions

View File

@@ -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',
},
];
}