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 _0x2d0c=['MailQueueReport','uniqueid','util','../../config/logger','moment','bluebird','request-promise','path','rimraf','define'];(function(_0x404f3c,_0x54bebc){var _0x11b307=function(_0x35f301){while(--_0x35f301){_0x404f3c['push'](_0x404f3c['shift']());}};_0x11b307(++_0x54bebc);}(_0x2d0c,0x1e2));var _0xc2d0=function(_0x55257d,_0x3998ec){_0x55257d=_0x55257d-0x0;var _0x4d296d=_0x2d0c[_0x55257d];return _0x4d296d;};'use strict';var _=require('lodash');var util=require(_0xc2d0('0x0'));var logger=require(_0xc2d0('0x1'))('api');var moment=require(_0xc2d0('0x2'));var BPromise=require(_0xc2d0('0x3'));var rp=require(_0xc2d0('0x4'));var fs=require('fs');var path=require(_0xc2d0('0x5'));var rimraf=require(_0xc2d0('0x6'));var config=require('../../config/environment');var attributes=require('./mailQueueReport.attributes');module['exports']=function(_0xc8e0d1,_0x1894e8){return _0xc8e0d1[_0xc2d0('0x7')](_0xc2d0('0x8'),attributes,{'tableName':'report_mail_queue','paranoid':![],'indexes':[{'name':_0xc2d0('0x9'),'fields':[_0xc2d0('0x9')]}],'timestamps':!![]});};