mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 13:14:07 -08:00
37 lines
716 B
TypeScript
37 lines
716 B
TypeScript
|
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,
|
||
|
},
|
||
|
];
|
||
|
}
|