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 _0x60ed=['rimraf','../../config/environment','define','MailQueueReport','uniqueid','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x51a44c,_0x26abed){var _0x3caaa9=function(_0x2fa48e){while(--_0x2fa48e){_0x51a44c['push'](_0x51a44c['shift']());}};_0x3caaa9(++_0x26abed);}(_0x60ed,0x130));var _0xd60e=function(_0x96e46a,_0x5cdee4){_0x96e46a=_0x96e46a-0x0;var _0xc6fd67=_0x60ed[_0x96e46a];return _0xc6fd67;};'use strict';var _=require(_0xd60e('0x0'));var util=require(_0xd60e('0x1'));var logger=require(_0xd60e('0x2'))(_0xd60e('0x3'));var moment=require(_0xd60e('0x4'));var BPromise=require(_0xd60e('0x5'));var rp=require(_0xd60e('0x6'));var fs=require('fs');var path=require(_0xd60e('0x7'));var rimraf=require(_0xd60e('0x8'));var config=require(_0xd60e('0x9'));var attributes=require('./mailQueueReport.attributes');module['exports']=function(_0xf61faa,_0x327b9e){return _0xf61faa[_0xd60e('0xa')](_0xd60e('0xb'),attributes,{'tableName':'report_mail_queue','paranoid':![],'indexes':[{'name':_0xd60e('0xc'),'fields':[_0xd60e('0xc')]}],'timestamps':!![]});};