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 _0xf432=['util','api','moment','bluebird','path','rimraf','../../config/environment','./userMailQueue.attributes','define','UserMailQueue','user_has_mail_queues','lodash'];(function(_0x1da5f4,_0x44bca7){var _0x58e944=function(_0x3393ae){while(--_0x3393ae){_0x1da5f4['push'](_0x1da5f4['shift']());}};_0x58e944(++_0x44bca7);}(_0xf432,0x1bb));var _0x2f43=function(_0x39bc44,_0x1d4373){_0x39bc44=_0x39bc44-0x0;var _0x2916d8=_0xf432[_0x39bc44];return _0x2916d8;};'use strict';var _=require(_0x2f43('0x0'));var util=require(_0x2f43('0x1'));var logger=require('../../config/logger')(_0x2f43('0x2'));var moment=require(_0x2f43('0x3'));var BPromise=require(_0x2f43('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x2f43('0x5'));var rimraf=require(_0x2f43('0x6'));var config=require(_0x2f43('0x7'));var attributes=require(_0x2f43('0x8'));module['exports']=function(_0x2c1ef1,_0x45909d){return _0x2c1ef1[_0x2f43('0x9')](_0x2f43('0xa'),attributes,{'tableName':_0x2f43('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};