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 _0x410f=['request-promise','path','rimraf','./chatQueue.attributes','exports','ChatQueue','chat_queues','lodash','../../config/logger','moment','bluebird'];(function(_0x4739aa,_0x123bfd){var _0xde754b=function(_0x11b42a){while(--_0x11b42a){_0x4739aa['push'](_0x4739aa['shift']());}};_0xde754b(++_0x123bfd);}(_0x410f,0xf9));var _0xf410=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x410f[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xf410('0x0'));var util=require('util');var logger=require(_0xf410('0x1'))('api');var moment=require(_0xf410('0x2'));var BPromise=require(_0xf410('0x3'));var rp=require(_0xf410('0x4'));var fs=require('fs');var path=require(_0xf410('0x5'));var rimraf=require(_0xf410('0x6'));var config=require('../../config/environment');var attributes=require(_0xf410('0x7'));module[_0xf410('0x8')]=function(_0x5942d4,_0x332605){return _0x5942d4['define'](_0xf410('0x9'),attributes,{'tableName':_0xf410('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};