GoogleContacts-Node (#775)

*  GoogleContacts-Node

*  small improvements

*  Add rawData field to get and getAll operations

*  Improvements

*  Small fix

*  Improvements

*  Small fixes
This commit is contained in:
Ricardo Espinoza
2020-08-15 17:25:15 -04:00
committed by GitHub
parent 228d97d65c
commit eb9644f7de
6 changed files with 1449 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
const scopes = [
'https://www.googleapis.com/auth/contacts',
];
export class GoogleContactsOAuth2Api implements ICredentialType {
name = 'googleContactsOAuth2Api';
extends = [
'googleOAuth2Api',
];
displayName = 'Google Contacts OAuth2 API';
properties = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
default: scopes.join(' '),
},
];
}