mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
a661dece4d
* ✨ Create Freshworks node * ⚡ Implement all getAll operations * ⚡ Add tz to appointment:create and update * ⚡ Fix repetition in email in contact:create * ⚡ Add tz to salesActivity:create and update * ⚡ Add tz to task:create and update * 🔥 Remove required from due date * ⚡ Add all-day setting to appointment * ⚡ Add filters to all operations * ⚡ Improvements * ⚡ Minor improvements * ⚡ Additional parameter display name changes Co-authored-by: ricardo <ricardoespinoza105@gmail.com> Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
28 lines
671 B
TypeScript
28 lines
671 B
TypeScript
import {
|
|
ICredentialType,
|
|
INodeProperties,
|
|
} from 'n8n-workflow';
|
|
|
|
export class FreshworksCrmApi implements ICredentialType {
|
|
name = 'freshworksCrmApi';
|
|
displayName = 'Freshworks CRM API';
|
|
documentationUrl = 'freshdesk';
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'API Key',
|
|
name: 'apiKey',
|
|
type: 'string',
|
|
default: '',
|
|
placeholder: 'BDsTn15vHezBlt_XGp3Tig',
|
|
},
|
|
{
|
|
displayName: 'Domain',
|
|
name: 'domain',
|
|
type: 'string',
|
|
default: '',
|
|
placeholder: 'n8n-org',
|
|
description: 'Domain in the Freshworks CRM org URL. For example, in <code>https://n8n-org.myfreshworks.com</code>, the domain is <code>n8n-org</code>.',
|
|
},
|
|
];
|
|
}
|