import {
	ICredentialType,
	INodeProperties,
} from 'n8n-workflow';

export class EvolutionApiApi implements ICredentialType {
	name = 'evolutionApiApi';
	displayName = 'Evolution API';
	documentationUrl = 'https://github.com/oriondesign2015/n8n-nodes-evolution-api';
	properties: INodeProperties[] = [
		{
			displayName: 'API URL',
			name: 'url',
			type: 'string',
			default: 'http://localhost:8080',
			placeholder: 'https://api.example.com',
			required: true,
		},
		{
			displayName: 'API Key',
			name: 'apiKey',
			type: 'string',
			default: '',
			required: true,
		},
	];
} 