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 _0x0172=['util','bluebird','request-promise','rimraf','../../config/environment','./mailQueue.attributes','exports','define','MailQueue','mail_queues','lodash'];(function(_0x45a541,_0x55e3c9){var _0x27cae8=function(_0x2648dd){while(--_0x2648dd){_0x45a541['push'](_0x45a541['shift']());}};_0x27cae8(++_0x55e3c9);}(_0x0172,0xf1));var _0x2017=function(_0x3bb75e,_0x4f9e49){_0x3bb75e=_0x3bb75e-0x0;var _0x818544=_0x0172[_0x3bb75e];return _0x818544;};'use strict';var _=require(_0x2017('0x0'));var util=require(_0x2017('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x2017('0x2'));var rp=require(_0x2017('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x2017('0x4'));var config=require(_0x2017('0x5'));var attributes=require(_0x2017('0x6'));module[_0x2017('0x7')]=function(_0x2f0b4a,_0x3ae857){return _0x2f0b4a[_0x2017('0x8')](_0x2017('0x9'),attributes,{'tableName':_0x2017('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};