n8n/packages/nodes-base/credentials/MicrosoftToDoOAuth2Api.credentials.ts
MedAliMarz ea9f956f0d
Add Microsoft To Do Node (#1863)
*  Init Microsoft Todo node

*  Add Task List resource & operation

*  Add Task resource and operations

*  Add Linked Resource opeartions

* ♻️ Add continueOnFail & clean up

* 👕 Fix lint issues

*  Improvements

* Apply review suggestion & improvement

*  Improvements

*  Improvements

* 🐛 Fix naming

*  Fix Microsoft To Do Node

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-06-04 22:39:39 -05:00

23 lines
551 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class MicrosoftToDoOAuth2Api implements ICredentialType {
name = 'microsoftToDoOAuth2Api';
extends = [
'microsoftOAuth2Api',
];
displayName = 'Microsoft To Do 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 Tasks.ReadWrite',
},
];
}