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 _0xad9e=['path','../../config/environment','exports','define','MailQueueReport','uniqueid','lodash','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x24ecb9,_0x32a230){var _0x320d76=function(_0x290799){while(--_0x290799){_0x24ecb9['push'](_0x24ecb9['shift']());}};_0x320d76(++_0x32a230);}(_0xad9e,0x102));var _0xead9=function(_0x1361ff,_0x5662c2){_0x1361ff=_0x1361ff-0x0;var _0x14b40d=_0xad9e[_0x1361ff];return _0x14b40d;};'use strict';var _=require(_0xead9('0x0'));var util=require(_0xead9('0x1'));var logger=require(_0xead9('0x2'))('api');var moment=require(_0xead9('0x3'));var BPromise=require(_0xead9('0x4'));var rp=require(_0xead9('0x5'));var fs=require('fs');var path=require(_0xead9('0x6'));var rimraf=require('rimraf');var config=require(_0xead9('0x7'));var attributes=require('./mailQueueReport.attributes');module[_0xead9('0x8')]=function(_0x3b01f4,_0x1d58b2){return _0x3b01f4[_0xead9('0x9')](_0xead9('0xa'),attributes,{'tableName':'report_mail_queue','paranoid':![],'indexes':[{'name':_0xead9('0xb'),'fields':[_0xead9('0xb')]}],'timestamps':!![]});};