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

27 lines
457 B
TypeScript
Raw Normal View History

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