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 _0x4e87=['./mailQueueReport.attributes','exports','define','MailQueueReport','report_mail_queue','uniqueid','moment','bluebird','path','rimraf'];(function(_0x25aa2c,_0x5d1171){var _0x2706bc=function(_0x8924de){while(--_0x8924de){_0x25aa2c['push'](_0x25aa2c['shift']());}};_0x2706bc(++_0x5d1171);}(_0x4e87,0x1e6));var _0x74e8=function(_0x1bf69b,_0x3e889c){_0x1bf69b=_0x1bf69b-0x0;var _0x252aa8=_0x4e87[_0x1bf69b];return _0x252aa8;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x74e8('0x0'));var BPromise=require(_0x74e8('0x1'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x74e8('0x2'));var rimraf=require(_0x74e8('0x3'));var config=require('../../config/environment');var attributes=require(_0x74e8('0x4'));module[_0x74e8('0x5')]=function(_0x171948,_0x161a7d){return _0x171948[_0x74e8('0x6')](_0x74e8('0x7'),attributes,{'tableName':_0x74e8('0x8'),'paranoid':![],'indexes':[{'name':_0x74e8('0x9'),'fields':[_0x74e8('0x9')]}],'timestamps':!![]});};