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 _0x5c0d=['moment','bluebird','request-promise','rimraf','../../config/environment','./userMailQueue.attributes','exports','define','UserMailQueue','user_has_mail_queues','lodash','util','../../config/logger'];(function(_0x7532b,_0x1168b0){var _0x10cfec=function(_0xec023e){while(--_0xec023e){_0x7532b['push'](_0x7532b['shift']());}};_0x10cfec(++_0x1168b0);}(_0x5c0d,0x1c4));var _0xd5c0=function(_0x247fa1,_0x4ec37c){_0x247fa1=_0x247fa1-0x0;var _0x244f35=_0x5c0d[_0x247fa1];return _0x244f35;};'use strict';var _=require(_0xd5c0('0x0'));var util=require(_0xd5c0('0x1'));var logger=require(_0xd5c0('0x2'))('api');var moment=require(_0xd5c0('0x3'));var BPromise=require(_0xd5c0('0x4'));var rp=require(_0xd5c0('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xd5c0('0x6'));var config=require(_0xd5c0('0x7'));var attributes=require(_0xd5c0('0x8'));module[_0xd5c0('0x9')]=function(_0x439bcd,_0x56d80a){return _0x439bcd[_0xd5c0('0xa')](_0xd5c0('0xb'),attributes,{'tableName':_0xd5c0('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};