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 _0x6a06=['define','user_has_mail_queues','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports'];(function(_0x308213,_0x224541){var _0x2e1619=function(_0x972b51){while(--_0x972b51){_0x308213['push'](_0x308213['shift']());}};_0x2e1619(++_0x224541);}(_0x6a06,0x192));var _0x66a0=function(_0x29771f,_0x1189ae){_0x29771f=_0x29771f-0x0;var _0x279baf=_0x6a06[_0x29771f];return _0x279baf;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x66a0('0x0'))('api');var moment=require(_0x66a0('0x1'));var BPromise=require(_0x66a0('0x2'));var rp=require(_0x66a0('0x3'));var fs=require('fs');var path=require(_0x66a0('0x4'));var rimraf=require(_0x66a0('0x5'));var config=require(_0x66a0('0x6'));var attributes=require('./userMailQueue.attributes');module[_0x66a0('0x7')]=function(_0x2cc0df,_0x160cee){return _0x2cc0df[_0x66a0('0x8')]('UserMailQueue',attributes,{'tableName':_0x66a0('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};