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

33 lines
616 B
TypeScript
Raw Normal View History

2020-01-05 10:34:09 -08:00
import {
ICredentialType,
INodeProperties,
2020-01-05 10:34:09 -08:00
} from 'n8n-workflow';
export class ZendeskApi implements ICredentialType {
name = 'zendeskApi';
displayName = 'Zendesk API';
documentationUrl = 'zendesk';
properties: INodeProperties[] = [
2020-01-05 10:34:09 -08:00
{
displayName: 'Subdomain',
name: 'subdomain',
type: 'string',
description: 'The subdomain of your Zendesk work environment.',
placeholder: 'company',
default: '',
2020-01-05 10:34:09 -08:00
},
{
displayName: 'Email',
name: 'email',
type: 'string',
2020-01-05 10:34:09 -08:00
default: '',
},
{
displayName: 'API Token',
name: 'apiToken',
type: 'string',
2020-01-05 10:34:09 -08:00
default: '',
},
];
}