n8n/packages/nodes-base/credentials/FreshdeskApi.credentials.ts

25 lines
573 B
TypeScript
Raw Normal View History

import { ICredentialType, INodeProperties } from 'n8n-workflow';
2019-11-06 16:58:18 -08:00
export class FreshdeskApi implements ICredentialType {
name = 'freshdeskApi';
displayName = 'Freshdesk API';
documentationUrl = 'freshdesk';
properties: INodeProperties[] = [
2019-11-06 16:58:18 -08:00
{
2019-11-07 10:07:29 -08:00
displayName: 'API Key',
name: 'apiKey',
type: 'string',
2019-11-06 16:58:18 -08:00
default: '',
2019-11-07 10:07:29 -08:00
},
{
2019-11-06 22:06:19 -08:00
displayName: 'Domain',
name: 'domain',
type: 'string',
placeholder: 'company',
description:
'If the URL you get displayed on Freshdesk is "https://company.freshdesk.com" enter "company"',
2020-10-22 06:46:03 -07:00
default: '',
},
2019-11-06 16:58:18 -08:00
];
}