2022-07-24 08:36:17 -07:00
|
|
|
import { ICredentialType, INodeProperties } from 'n8n-workflow';
|
2019-11-06 16:58:18 -08:00
|
|
|
|
|
|
|
export class FreshdeskApi implements ICredentialType {
|
|
|
|
name = 'freshdeskApi';
|
|
|
|
displayName = 'Freshdesk API';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'freshdesk';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2019-11-06 16:58:18 -08:00
|
|
|
{
|
2019-11-07 10:07:29 -08:00
|
|
|
displayName: 'API Key',
|
|
|
|
name: 'apiKey',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2022-11-01 09:41:45 -07:00
|
|
|
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',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-02-21 06:07:03 -08:00
|
|
|
placeholder: 'company',
|
2022-07-24 08:36:17 -07:00
|
|
|
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: '',
|
2020-10-01 05:01:39 -07:00
|
|
|
},
|
2019-11-06 16:58:18 -08:00
|
|
|
];
|
|
|
|
}
|