mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -08:00
4494ee81f6
* ✨ 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>
23 lines
589 B
TypeScript
23 lines
589 B
TypeScript
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',
|
|
},
|
|
];
|
|
}
|