n8n/packages/nodes-base/credentials/ZulipApi.credentials.ts
Ricardo Espinoza a7845c92df Zulip node
done
2020-02-26 20:46:00 -05:00

31 lines
572 B
TypeScript

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