n8n/packages/nodes-base/credentials/FreshworksCrmApi.credentials.ts
Iván Ovejero a661dece4d
Add Freshworks node (#2017)
*  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>
2021-07-30 16:12:30 +02:00

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