mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-28 22:19:41 -08:00
38 lines
804 B
TypeScript
38 lines
804 B
TypeScript
import {
|
|
ICredentialType,
|
|
INodeProperties,
|
|
} from 'n8n-workflow';
|
|
|
|
export class SurveyMonkeyApi implements ICredentialType {
|
|
name = 'surveyMonkeyApi';
|
|
displayName = 'SurveyMonkey API';
|
|
documentationUrl = 'surveyMonkey';
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'Access Token',
|
|
name: 'accessToken',
|
|
type: 'string',
|
|
default: '',
|
|
description: `The access token must have the following scopes:</br />
|
|
- Create/modify webhooks</br />
|
|
- View webhooks</br />
|
|
- View surveys</br />
|
|
- View collectors</br />
|
|
- View responses<br />
|
|
- View response details`,
|
|
},
|
|
{
|
|
displayName: 'Client ID',
|
|
name: 'clientId',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Client Secret',
|
|
name: 'clientSecret',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
];
|
|
}
|