n8n/packages/nodes-base/credentials/ZammadTokenAuthApi.credentials.ts

37 lines
716 B
TypeScript
Raw Normal View History

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