n8n/packages/nodes-base/credentials/ZulipApi.credentials.ts

32 lines
555 B
TypeScript
Raw Normal View History

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