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

27 lines
457 B
TypeScript

import {
ICredentialType,
INodeProperties,
} from 'n8n-workflow';
export class CopperApi implements ICredentialType {
name = 'copperApi';
displayName = 'Copper API';
documentationUrl = 'copper';
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
required: true,
type: 'string',
default: '',
},
{
displayName: 'Email',
name: 'email',
required: true,
type: 'string',
default: '',
},
];
}