UNPKG

n8n-nodes-aixyte

Version:

Complete n8n node for Aixyte API - Manage Excites, Domains, and Files for personalized web experiences

38 lines (37 loc) 1.12 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AixyteApi = void 0; class AixyteApi { constructor() { this.name = 'aixyteApi'; this.displayName = 'Aixyte API'; this.documentationUrl = 'https://aixyte.com/docs/api'; this.properties = [ { displayName: 'API Key', name: 'apiKey', type: 'string', typeOptions: { password: true }, default: '', required: true, description: 'Your Aixyte API key (Bearer token)', }, ]; this.authenticate = { type: 'generic', properties: { headers: { Authorization: '=Bearer {{$credentials.apiKey}}', }, }, }; this.test = { request: { baseURL: 'https://azxjgkopxmhwzvkxouuy.supabase.co/functions/v1/api', url: '/domains', method: 'GET', }, }; } } exports.AixyteApi = AixyteApi;