"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CRMProspectNotification = exports.CRMProspectNotificationSchema = void 0;
const mongoose_1 = __importDefault(require("mongoose"));
const _models_1 = require("./_models");
exports.CRMProspectNotificationSchema = new mongoose_1.default.Schema({
    prospectId: {
        type: mongoose_1.default.Schema.Types.ObjectId,
        ref: _models_1.MODEL_NAMES.CRMProspects,
        required: true,
    },
    stageOne: {
        type: Boolean,
        required: true,
        default: false,
    },
    stageTwo: {
        type: Boolean,
        required: true,
        default: false,
    },
}, {
    timestamps: { createdAt: false, updatedAt: false },
    versionKey: false,
});
exports.CRMProspectNotification = mongoose_1.default.model(_models_1.MODEL_NAMES.prospectNotifications, exports.CRMProspectNotificationSchema);
