import e,{Schema as t}from"mongoose";let n=function(e){return e.PENDING=`pending`,e.RUNNING=`running`,e.PAUSED=`paused`,e.CANCELLED=`cancelled`,e.COMPLETED=`completed`,e.FAILED=`failed`,e}({});const r=new t({targetUrl:{type:String,required:!0,index:!0},userId:{type:String,index:!0},status:{type:String,enum:Object.values(n),default:n.PENDING},progress:{type:Number,default:0},totalPageCount:{type:Number,default:0},completedPageCount:{type:Number,default:0}},{timestamps:!0}),i=e.model(`AuditJob`,r);export{i as AuditJobModel,n as AuditJobStatus};
//# sourceMappingURL=auditJob.model.mjs.map