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 _0x9235=['moment','rimraf','../../config/environment','exports','define','MailQueueReport','report_mail_queue','lodash','util','../../config/logger'];(function(_0x410dba,_0x546eec){var _0x2aff55=function(_0x925e73){while(--_0x925e73){_0x410dba['push'](_0x410dba['shift']());}};_0x2aff55(++_0x546eec);}(_0x9235,0x101));var _0x5923=function(_0x179f8c,_0x5829c7){_0x179f8c=_0x179f8c-0x0;var _0x568f20=_0x9235[_0x179f8c];return _0x568f20;};'use strict';var _=require(_0x5923('0x0'));var util=require(_0x5923('0x1'));var logger=require(_0x5923('0x2'))('api');var moment=require(_0x5923('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x5923('0x4'));var config=require(_0x5923('0x5'));var attributes=require('./mailQueueReport.attributes');module[_0x5923('0x6')]=function(_0x36db84,_0x2aeb11){return _0x36db84[_0x5923('0x7')](_0x5923('0x8'),attributes,{'tableName':_0x5923('0x9'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};