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 _0x8bc3=['moment','bluebird','path','rimraf','../../config/environment','./mailQueueReport.attributes','define','MailQueueReport','report_mail_queue','lodash','../../config/logger'];(function(_0xdea41a,_0x552987){var _0x15d0d8=function(_0x1e0d0b){while(--_0x1e0d0b){_0xdea41a['push'](_0xdea41a['shift']());}};_0x15d0d8(++_0x552987);}(_0x8bc3,0x82));var _0x38bc=function(_0x2866c7,_0x197fdd){_0x2866c7=_0x2866c7-0x0;var _0x3c5db2=_0x8bc3[_0x2866c7];return _0x3c5db2;};'use strict';var _=require(_0x38bc('0x0'));var util=require('util');var logger=require(_0x38bc('0x1'))('api');var moment=require(_0x38bc('0x2'));var BPromise=require(_0x38bc('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x38bc('0x4'));var rimraf=require(_0x38bc('0x5'));var config=require(_0x38bc('0x6'));var attributes=require(_0x38bc('0x7'));module['exports']=function(_0x29ac4e,_0x2165ed){return _0x29ac4e[_0x38bc('0x8')](_0x38bc('0x9'),attributes,{'tableName':_0x38bc('0xa'),'paranoid':![],'indexes':[{'name':'uniqueid','fields':['uniqueid']}],'timestamps':!![]});};