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

33 lines
662 B
TypeScript
Raw Normal View History

2020-01-05 10:34:09 -08:00
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class ZendeskApi implements ICredentialType {
name = 'zendeskApi';
displayName = 'Zendesk API';
documentationUrl = 'zendesk';
2020-01-05 10:34:09 -08:00
properties = [
{
displayName: 'Subdomain',
name: 'subdomain',
2020-01-05 10:34:09 -08:00
type: 'string' as NodePropertyTypes,
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' as NodePropertyTypes,
default: '',
},
{
displayName: 'API Token',
name: 'apiToken',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}