UNPKG

n8n-nodes-pdf-accessibility

Version:

AI-powered PDF accessibility automation for N8N - comprehensive WCAG compliance analysis, intelligent remediation, and professional audit reporting with 5 integrated accessibility tools

56 lines (55 loc) 1.77 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AnthropicApi = void 0; class AnthropicApi { constructor() { this.name = 'anthropicApi'; this.displayName = 'Anthropic API'; this.documentationUrl = 'https://docs.anthropic.com/claude/reference/getting-started-with-the-api'; this.properties = [ { displayName: 'API Key', name: 'apiKey', type: 'string', typeOptions: { password: true, }, required: true, default: '', placeholder: 'sk-ant-api...', description: 'The API key for your Anthropic account', }, ]; this.authenticate = { type: 'generic', properties: { headers: { 'x-api-key': '={{$credentials.apiKey}}', 'anthropic-version': '2023-06-01', 'Content-Type': 'application/json', }, }, }; this.test = { request: { baseURL: 'https://api.anthropic.com/v1', url: '/messages', method: 'POST', headers: { 'Content-Type': 'application/json', }, body: { model: 'claude-3-haiku-20240307', max_tokens: 10, messages: [ { role: 'user', content: 'Test', }, ], }, }, }; } } exports.AnthropicApi = AnthropicApi;