Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/node_modules.8/.cache/esm/
Upload File :
Current File : /home/infinitibizsol/.trash/node_modules.8/.cache/esm/6ae1eb03a9b9f506.js

let mongoose;_a9b‍.x([["default",()=>_a9b‍.o]]);_a9b‍.w("mongoose",[["default",["mongoose"],function(v){mongoose=v}]]);

const AccountInformation = new mongoose.Schema(
  {
    customer_number: { type: String, required: false, default: "" },
    priority: {
      type: String,
      enum: ["low", "high", "normal"],
      default: "normal",
    },
    customer_since: { type: String, required: false, default: "" },
    agent_id: { type: mongoose.Schema.ObjectId, ref: "User", required: false },
    csr: { type: String, required: false, default: "" },
    created_by: {
      type: mongoose.Schema.ObjectId,
      ref: "User",
      // required: true,
    },
    customer_source: { type: String, required: false, default: "" },
    source_detail: { type: String, required: false, default: "" },
    contact_id: {
      type: mongoose.Schema.ObjectId,
      ref: "Contact",
    },

    createdOn: { type: Date, default: Date.now },
    modifiedOn: { type: Date, default: Date.now },
  },
  {
    toJSON: { virtuals: true },
    toObject: { virtuals: true },
  }
);
AccountInformation.index({
  customer_number: "text",
  priority: "text",
  source_detail: "text",
});

_a9b‍.d(mongoose.model("AccountInformation", AccountInformation));

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists