mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 00:24:07 -08:00
0764c49dcf
* 🔥 Remove line breaks from param descriptions * 🔥 Remove more line breaks * 🎨 Fix spacing for list item in tooltip * ⚡ Apply multiline with <p> tags * ⚡ Improve <code> and <a> tags * ✏️ Improve grammar and spelling * ⚡ Add missing <p> tags * ✏️ Make "multiple" phrasing consistent * ⚡ Fix unneeded quote escapes * ⚡ Encode angle brackets * ⚡ Fix typo and copy-paste artifact
40 lines
828 B
TypeScript
40 lines
828 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:
|
|
<ul>
|
|
<li>Create/modify webhooks</li>
|
|
<li>View webhooks</li>
|
|
<li>View surveys</li>
|
|
<li>View collectors</li>
|
|
<li>View responses</li>
|
|
<li>View response details</li>
|
|
</ul>`,
|
|
},
|
|
{
|
|
displayName: 'Client ID',
|
|
name: 'clientId',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Client Secret',
|
|
name: 'clientSecret',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
];
|
|
}
|