mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
✨ Add Zammad node (#2621)
* add zammad * ⚡ First pass * 👕 Fix lint * ⚡ Refactor user resource * ⚡ Refactor group resource * ⚡ Refactor ticket resource * ⚡ Minor improvements * ⚡ Set workaround for broken endpoints * 👕 Fix lint * ⚡ Fix credentials test * 📦 Update package-lock.json * ⚡ Change defaults for active * ⚡ Refactor creds * 👕 Fix lint * 📦 Update package-lock.json * ⚡ Make first and last name required * ⚡ Replace email with login * ⚡ Switch defaults to true * ⚡ Add custom fields to groups * ⚡ Add inactive entities to loaders * ⚡ Move email to optional fields * ⚡ Validate for empty article * 🔥 Remove `ticket:update` per feedback * 📦 Update package-lock.json * 🚚 Rename import * 👕 Fix lint * ⚡ Small improvements * ⚡ Improvements Co-authored-by: quansenB <inaki.breinbauer@gmail.com> Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
import {
|
||||
ICredentialType,
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export class ZammadTokenAuthApi implements ICredentialType {
|
||||
name = 'zammadTokenAuthApi';
|
||||
displayName = 'Zammad Token Auth API';
|
||||
documentationUrl = 'zammad';
|
||||
properties: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Base URL',
|
||||
name: 'baseUrl',
|
||||
type: 'string',
|
||||
default: '',
|
||||
placeholder: 'https://n8n-helpdesk.zammad.com',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
displayName: 'Access Token',
|
||||
name: 'accessToken',
|
||||
type: 'string',
|
||||
typeOptions: {
|
||||
password: true,
|
||||
},
|
||||
default: '',
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
displayName: 'Ignore SSL Issues',
|
||||
name: 'allowUnauthorizedCerts',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user