"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const upsertLead_1 = __importDefault(require("./upsertLead"));
const updateCompany_1 = __importDefault(require("./updateCompany"));
const destination = {
    name: 'Qualified',
    slug: 'actions-qualified',
    mode: 'cloud',
    description: 'Qualified is a Conversational Marketing platform that helps B2B companies engage and convert website visitors into customers using real-time chat, AI-driven insights, and personalized experiences.',
    authentication: {
        scheme: 'custom',
        fields: {
            api_key: {
                label: 'API Key',
                description: 'Your Qualified API Key. When creating the API Key in Qualified make sure to select all scopes.',
                type: 'password',
                required: true
            }
        }
    },
    extendRequest({ settings }) {
        return {
            headers: {
                Authorization: `Bearer ${settings.api_key}`
            }
        };
    },
    actions: {
        upsertLead: upsertLead_1.default,
        updateCompany: updateCompany_1.default
    }
};
exports.default = destination;
//# sourceMappingURL=index.js.map