"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AgenticHubApi = void 0;
class AgenticHubApi {
    constructor() {
        this.name = 'agenticHubApi';
        this.displayName = 'Agentic Hub API';
        this.documentationUrl = 'https://app.agentic-hub.ai';
        this.properties = [
            {
                displayName: 'API Key',
                name: 'apiKey',
                type: 'string',
                typeOptions: { password: true },
                default: '',
                required: true,
                description: 'Your API key from the API Keys section in your company projects page',
            },
            {
                displayName: 'Company ID',
                name: 'companyId',
                type: 'string',
                default: '',
                required: true,
                description: 'Your Company ID from the Agentic Hub dashboard',
            },
        ];
        this.authenticate = {
            type: 'generic',
            properties: {
                headers: {
                    'x-api-key': '={{$credentials.apiKey}}',
                    'x-company-id': '={{$credentials.companyId}}',
                },
            },
        };
        this.test = {
            request: {
                baseURL: 'https://app.agentic-hub.ai',
                url: '/api/auth/verify',
                method: 'POST',
            },
        };
    }
}
exports.AgenticHubApi = AgenticHubApi;
//# sourceMappingURL=AgenticHubApi.credentials.js.map