n8n/packages/nodes-base/credentials/SurveyMonkeyApi.credentials.ts
Iván Ovejero 0764c49dcf
🔥 Remove line breaks from param descriptions (#2473)
* 🔥 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
2021-11-25 18:10:06 +01:00

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: '',
},
];
}