mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
⚡ Improvements to SurveyMonkey-Node
This commit is contained in:
@@ -3,6 +3,14 @@ import {
|
||||
NodePropertyTypes,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
const scopes = [
|
||||
'surveys_read',
|
||||
'collectors_read',
|
||||
'responses_read',
|
||||
'responses_read_detail',
|
||||
'webhooks_write',
|
||||
'webhooks_read',
|
||||
];
|
||||
|
||||
export class SurveyMonkeyOAuth2Api implements ICredentialType {
|
||||
name = 'surveyMonkeyOAuth2Api';
|
||||
@@ -28,8 +36,8 @@ export class SurveyMonkeyOAuth2Api implements ICredentialType {
|
||||
{
|
||||
displayName: 'Scope',
|
||||
name: 'scope',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: 'surveys_read,surveys_write,responses_read,responses_write,webhooks_read,webhooks_write',
|
||||
type: 'hidden' as NodePropertyTypes,
|
||||
default: scopes.join(','),
|
||||
},
|
||||
{
|
||||
displayName: 'Auth URI Query Parameters',
|
||||
|
||||
Reference in New Issue
Block a user