2020-01-05 10:34:09 -08:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
|
|
|
NodePropertyTypes,
|
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
export class ZendeskApi implements ICredentialType {
|
|
|
|
name = 'zendeskApi';
|
|
|
|
displayName = 'Zendesk API';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'zendesk';
|
2020-01-05 10:34:09 -08:00
|
|
|
properties = [
|
|
|
|
{
|
2020-06-09 05:00:41 -07:00
|
|
|
displayName: 'Subdomain',
|
|
|
|
name: 'subdomain',
|
2020-01-05 10:34:09 -08:00
|
|
|
type: 'string' as NodePropertyTypes,
|
2020-06-09 05:00:41 -07:00
|
|
|
description: 'The subdomain of your Zendesk work environment.',
|
2020-08-27 00:00:01 -07:00
|
|
|
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: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|