1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xf4fb=['report_mail_queue','uniqueid','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./mailQueueReport.attributes','define'];(function(_0x1f99a0,_0x50b73d){var _0x1e0849=function(_0x41e764){while(--_0x41e764){_0x1f99a0['push'](_0x1f99a0['shift']());}};_0x1e0849(++_0x50b73d);}(_0xf4fb,0xe9));var _0xbf4f=function(_0x3ac9bb,_0x256693){_0x3ac9bb=_0x3ac9bb-0x0;var _0x5573f3=_0xf4fb[_0x3ac9bb];return _0x5573f3;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xbf4f('0x0'))(_0xbf4f('0x1'));var moment=require(_0xbf4f('0x2'));var BPromise=require('bluebird');var rp=require(_0xbf4f('0x3'));var fs=require('fs');var path=require(_0xbf4f('0x4'));var rimraf=require(_0xbf4f('0x5'));var config=require(_0xbf4f('0x6'));var attributes=require(_0xbf4f('0x7'));module['exports']=function(_0x34f285,_0xe64e04){return _0x34f285[_0xbf4f('0x8')]('MailQueueReport',attributes,{'tableName':_0xbf4f('0x9'),'paranoid':![],'indexes':[{'name':_0xbf4f('0xa'),'fields':[_0xbf4f('0xa')]}],'timestamps':!![]});};