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 _0xae19=['lodash','api','moment','request-promise','rimraf','../../config/environment','./userMailQueue.attributes','exports','define','UserMailQueue','user_has_mail_queues'];(function(_0x4ed32d,_0x327695){var _0xf624df=function(_0x29518c){while(--_0x29518c){_0x4ed32d['push'](_0x4ed32d['shift']());}};_0xf624df(++_0x327695);}(_0xae19,0x197));var _0x9ae1=function(_0x3fc5d8,_0x3eb153){_0x3fc5d8=_0x3fc5d8-0x0;var _0x25307a=_0xae19[_0x3fc5d8];return _0x25307a;};'use strict';var _=require(_0x9ae1('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x9ae1('0x1'));var moment=require(_0x9ae1('0x2'));var BPromise=require('bluebird');var rp=require(_0x9ae1('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x9ae1('0x4'));var config=require(_0x9ae1('0x5'));var attributes=require(_0x9ae1('0x6'));module[_0x9ae1('0x7')]=function(_0x3c1f75,_0x2e26c9){return _0x3c1f75[_0x9ae1('0x8')](_0x9ae1('0x9'),attributes,{'tableName':_0x9ae1('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};