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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
617 B
TypeScript
Raw Normal View History

import type { ICredentialType, INodeProperties } from 'n8n-workflow';
2019-11-06 16:58:18 -08:00
export class FreshdeskApi implements ICredentialType {
name = 'freshdeskApi';
2019-11-06 16:58:18 -08:00
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',
typeOptions: { password: true },
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
];
}