mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 13:14:07 -08:00
33 lines
662 B
TypeScript
33 lines
662 B
TypeScript
import {
|
|
ICredentialType,
|
|
NodePropertyTypes,
|
|
} from 'n8n-workflow';
|
|
|
|
export class ZendeskApi implements ICredentialType {
|
|
name = 'zendeskApi';
|
|
displayName = 'Zendesk API';
|
|
documentationUrl = 'zendesk';
|
|
properties = [
|
|
{
|
|
displayName: 'Subdomain',
|
|
name: 'subdomain',
|
|
type: 'string' as NodePropertyTypes,
|
|
description: 'The subdomain of your Zendesk work environment.',
|
|
placeholder: 'company',
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Email',
|
|
name: 'email',
|
|
type: 'string' as NodePropertyTypes,
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'API Token',
|
|
name: 'apiToken',
|
|
type: 'string' as NodePropertyTypes,
|
|
default: '',
|
|
},
|
|
];
|
|
}
|