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 _0xe978=['exports','define','MailQueueReport','uniqueid','lodash','util','../../config/logger','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x34cfe4,_0x4da303){var _0x5c6d50=function(_0x222024){while(--_0x222024){_0x34cfe4['push'](_0x34cfe4['shift']());}};_0x5c6d50(++_0x4da303);}(_0xe978,0x70));var _0x8e97=function(_0xfab704,_0x9d83d7){_0xfab704=_0xfab704-0x0;var _0xb16f4e=_0xe978[_0xfab704];return _0xb16f4e;};'use strict';var _=require(_0x8e97('0x0'));var util=require(_0x8e97('0x1'));var logger=require(_0x8e97('0x2'))('api');var moment=require('moment');var BPromise=require(_0x8e97('0x3'));var rp=require(_0x8e97('0x4'));var fs=require('fs');var path=require(_0x8e97('0x5'));var rimraf=require(_0x8e97('0x6'));var config=require(_0x8e97('0x7'));var attributes=require('./mailQueueReport.attributes');module[_0x8e97('0x8')]=function(_0x28ed02,_0x142155){return _0x28ed02[_0x8e97('0x9')](_0x8e97('0xa'),attributes,{'tableName':'report_mail_queue','paranoid':![],'indexes':[{'name':_0x8e97('0xb'),'fields':['uniqueid']}],'timestamps':!![]});};