2020-01-05 10:34:09 -08:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
2021-06-12 09:39:55 -07:00
|
|
|
INodeProperties,
|
2020-01-05 10:34:09 -08:00
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
export class ZendeskApi implements ICredentialType {
|
|
|
|
name = 'zendeskApi';
|
|
|
|
displayName = 'Zendesk API';
|
2020-08-17 05:42:09 -07:00
|
|
|
documentationUrl = 'zendesk';
|
2021-06-12 09:39:55 -07:00
|
|
|
properties: INodeProperties[] = [
|
2020-01-05 10:34:09 -08:00
|
|
|
{
|
2020-06-09 05:00:41 -07:00
|
|
|
displayName: 'Subdomain',
|
|
|
|
name: 'subdomain',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2022-04-13 23:32:27 -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',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-01-05 10:34:09 -08:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'API Token',
|
|
|
|
name: 'apiToken',
|
2021-06-12 09:39:55 -07:00
|
|
|
type: 'string',
|
2020-01-05 10:34:09 -08:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|