n8n-nodes-callov
Version:
n8n node for Callov API - Complete Management System with AI Agent Support
40 lines (39 loc) • 1.24 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CallovApi = void 0;
class CallovApi {
constructor() {
this.name = 'callovApi';
this.displayName = 'Callov API';
this.documentationUrl = 'https://callov.com/docs/api';
this.properties = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: {
password: true,
},
default: '',
required: true,
placeholder: 'sk_live_YOUR_API_KEY',
description: 'Your Callov API key (available in Settings → API)',
},
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
Authorization: '=Bearer {{$credentials.apiKey}}',
},
},
};
this.test = {
request: {
baseURL: 'https://zvlknadahupckbpjgvjf.supabase.co/functions/v1',
url: '/api-appointments?limit=1',
},
};
}
}
exports.CallovApi = CallovApi;