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 _0x1cc6=['util','../../config/logger','moment','bluebird','request-promise','path','../../config/environment','./userMailQueue.attributes','define','UserMailQueue','user_has_mail_queues'];(function(_0x53c9a5,_0x1a4b74){var _0x311a35=function(_0x51ecd9){while(--_0x51ecd9){_0x53c9a5['push'](_0x53c9a5['shift']());}};_0x311a35(++_0x1a4b74);}(_0x1cc6,0x79));var _0x61cc=function(_0x585ee5,_0x1c9dba){_0x585ee5=_0x585ee5-0x0;var _0x470808=_0x1cc6[_0x585ee5];return _0x470808;};'use strict';var _=require('lodash');var util=require(_0x61cc('0x0'));var logger=require(_0x61cc('0x1'))('api');var moment=require(_0x61cc('0x2'));var BPromise=require(_0x61cc('0x3'));var rp=require(_0x61cc('0x4'));var fs=require('fs');var path=require(_0x61cc('0x5'));var rimraf=require('rimraf');var config=require(_0x61cc('0x6'));var attributes=require(_0x61cc('0x7'));module['exports']=function(_0x49ed3b,_0x159f3d){return _0x49ed3b[_0x61cc('0x8')](_0x61cc('0x9'),attributes,{'tableName':_0x61cc('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};