1 var _0x3bc0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x6D\x6F\x6D\x65\x6E\x74","\x61\x73\x79\x6E\x63","\x2E\x2F\x72\x65\x70\x6F\x72\x74\x4D\x6F\x76\x65","\x68\x69\x73\x74\x6F\x72\x79","\x59\x59\x59\x59\x2D\x4D\x4D\x2D\x44\x44\x20\x48\x48\x3A\x6D\x6D\x3A\x73\x73","\x66\x6F\x72\x6D\x61\x74","\x65\x78\x70\x6F\x72\x74\x73","\x30\x20\x35\x39\x20\x32\x33\x20\x2A\x20\x2A\x20\x2A","\x4D\x6F\x76\x69\x6E\x67\x20\x64\x61\x74\x61\x20\x69\x6E\x74\x6F\x20\x68\x69\x73\x74\x6F\x72\x79\x2E\x2E\x2E","\x6C\x6F\x67","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x6D\x6F\x76\x65","\x74\x68\x65\x6E","\x61\x6C\x6C","\x73\x74\x61\x72\x74"];_0x3bc0[0];var sequelize=require(_0x3bc0[2])[_0x3bc0[1]];var moment=require(_0x3bc0[3]);var async=require(_0x3bc0[4]);var ReportMove=require(_0x3bc0[5]);var Models=require(_0x3bc0[2]);var HistoryModels=require(_0x3bc0[2])[_0x3bc0[6]];var moment=require(_0x3bc0[3]);var defaultCondition={where:{createdAt:{$lte:moment()[_0x3bc0[8]](_0x3bc0[7])}},raw:true};module[_0x3bc0[9]]= function(_0x837ex8){var _0x837ex9= new _0x837ex8({cronTime:_0x3bc0[10],onTick:function(){console[_0x3bc0[12]](_0x3bc0[11]);return Promise[_0x3bc0[17]]([])[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportIntegration,HistoryModels.ReportIntegrationHistory))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportCall,HistoryModels.ReportCallHistory))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportSquareDetail,HistoryModels.ReportSquareDetailHistory))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportTigerDial,HistoryModels.ReportTigerDialHistory))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportDial,HistoryModels.ReportDialHistory))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportCallTransfer,HistoryModels.ReportCallTransferHistory))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportAgent,HistoryModels.ReportAgentHistory,{reason:{$ne:null}}))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportMember,HistoryModels.ReportMemberHistory,{exitAt:{$ne:null}}))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportQueue,HistoryModels.ReportQueueHistory,{queuecallerleaveAt:{$ne:null}}))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportChat,HistoryModels.ReportChatHistory,{reason:{$ne:null}}))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportChatSession,HistoryModels.ReportChatSessionHistory,{leaveAt:{$ne:null}}))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportChatRoom,HistoryModels.ReportChatRoomHistory,{leaveAt:{$ne:null}}))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportMail,HistoryModels.ReportMailHistory,{reason:{$ne:null}}))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportMailSession,HistoryModels.ReportMailSessionHistory,{leaveAt:{$ne:null}}))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportMailRoom,HistoryModels.ReportMailRoomHistory,{leaveAt:{$ne:null}}))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportSms,HistoryModels.ReportSmsHistory,{reason:{$ne:null}}))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportSmsSession,HistoryModels.ReportSmsSessionHistory,{leaveAt:{$ne:null}}))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportSquare,HistoryModels.ReportSquareHistory,{leaveAt:{$ne:null}}))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportFax,HistoryModels.ReportFaxHistory,{reason:{$ne:null}}))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportFaxSession,HistoryModels.ReportFaxSessionHistory,{leaveAt:{$ne:null}}))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportFaxRoom,HistoryModels.ReportFaxRoomHistory,{leaveAt:{$ne:null}}))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportOpenchannel,HistoryModels.ReportOpenchannelHistory,{reason:{$ne:null}}))[_0x3bc0[16]](ReportMove[_0x3bc0[15]](Models.ReportOpenchannelSession,HistoryModels.ReportOpenchannelSessionHistory,{leaveAt:{$ne:null}}))[_0x3bc0[14]](function(_0x837exa){console[_0x3bc0[13]](_0x837exa)})}});_0x837ex9[_0x3bc0[18]]()}