"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const axios_1 = __importDefault(require("axios"));
const https_1 = __importDefault(require("https"));
const http_1 = __importDefault(require("http"));
const api = axios_1.default.create({
    baseURL: process.env.URL_WHATSAPP_API,
    headers: {
        Accept: "application/json",
        Authorization: `Bearer ${process.env.TOKEN}`
    },
    httpAgent: new http_1.default.Agent({ keepAlive: true }),
    httpsAgent: new https_1.default.Agent({ keepAlive: true })
});
exports.default = api;
