n8n/packages/nodes-base/credentials/ZulipApi.credentials.ts
2021-06-12 18:39:55 +02:00

32 lines
555 B
TypeScript

import {
ICredentialType,
INodeProperties,
} from 'n8n-workflow';
export class ZulipApi implements ICredentialType {
name = 'zulipApi';
displayName = 'Zulip API';
documentationUrl = 'zulip';
properties: INodeProperties[] = [
{
displayName: 'URL',
name: 'url',
type: 'string',
default: '',
placeholder: 'https://yourZulipDomain.zulipchat.com',
},
{
displayName: 'Email',
name: 'email',
type: 'string',
default: '',
},
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
default: '',
},
];
}