"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCreateUserEmail = exports.getResetPasswordEmail = exports.getChangeEmailEmail = exports.getChangePasswordEmail = exports.getForgetPasswordEmail = exports.getUserLoginEmail = void 0;
const templates_1 = require("./templates");
const getBodyWrapper = (content) => {
    return templates_1.defaults.default_body(content);
};
// auth/login
const getUserLoginEmail = () => {
    const body = templates_1.bodies['user_login'];
    const content = [
        templates_1.defaults.header('Novo login no CoinBitClub'),
        body(),
        templates_1.defaults.footer(),
    ];
    return getBodyWrapper(content);
};
exports.getUserLoginEmail = getUserLoginEmail;
// auth/forget
const getForgetPasswordEmail = (url) => {
    const body = templates_1.bodies['user_forget_password'];
    const content = [
        templates_1.defaults.header('Recuperação de senha'),
        body(url),
        templates_1.defaults.footer(),
    ];
    return getBodyWrapper(content);
};
exports.getForgetPasswordEmail = getForgetPasswordEmail;
// auth/change-password
const getChangePasswordEmail = () => {
    const body = templates_1.bodies['user_change_password'];
    const content = [
        templates_1.defaults.header('Senha alterada'),
        body(),
        templates_1.defaults.footer(),
    ];
    return getBodyWrapper(content);
};
exports.getChangePasswordEmail = getChangePasswordEmail;
// auth/change-email
const getChangeEmailEmail = () => {
    const body = templates_1.bodies['user_change_email'];
    const content = [
        templates_1.defaults.header('Email alterado'),
        body(),
        templates_1.defaults.footer(),
    ];
    return getBodyWrapper(content);
};
exports.getChangeEmailEmail = getChangeEmailEmail;
// auth/reset
const getResetPasswordEmail = () => {
    const body = templates_1.bodies['user_reset_password'];
    const content = [
        templates_1.defaults.header('Senha recuperada'),
        body(),
        templates_1.defaults.footer(),
    ];
    return getBodyWrapper(content);
};
exports.getResetPasswordEmail = getResetPasswordEmail;
const getCreateUserEmail = (data) => {
    const body = templates_1.bodies['user_create'];
    const content = [
        templates_1.defaults.header('Conta criada'),
        body(data),
        templates_1.defaults.footer(),
    ];
    return getBodyWrapper(content);
};
exports.getCreateUserEmail = getCreateUserEmail;
//# sourceMappingURL=lib.js.map