"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.generateUser = void 0;
const faker_1 = require("faker");
const User_1 = require("../../../../shared/types/User");
function generateUser({ active = faker_1.random.boolean(), role = User_1.roles.USER, email = faker_1.internet.email(), password = faker_1.internet.password(), dateCreated = faker_1.date.past(2).toISOString(), dateUpdated = faker_1.date.past(1).toISOString(), } = {}) {
    return {
        active: active,
        role: [role],
        email: email,
        status: User_1.STATUS.PENDING,
        password: password,
        dateCreated: dateCreated,
        dateUpdated: dateUpdated,
    };
}
exports.generateUser = generateUser;
