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 _0x5a0f=['exports','define','user_has_chat_queues','util','../../config/logger','api','moment','request-promise','path','../../config/environment','./userChatQueue.attributes'];(function(_0xde219f,_0x405d16){var _0x479bdb=function(_0x4b399e){while(--_0x4b399e){_0xde219f['push'](_0xde219f['shift']());}};_0x479bdb(++_0x405d16);}(_0x5a0f,0x18f));var _0xf5a0=function(_0x13c74d,_0xedde1e){_0x13c74d=_0x13c74d-0x0;var _0x1e5fef=_0x5a0f[_0x13c74d];return _0x1e5fef;};'use strict';var _=require('lodash');var util=require(_0xf5a0('0x0'));var logger=require(_0xf5a0('0x1'))(_0xf5a0('0x2'));var moment=require(_0xf5a0('0x3'));var BPromise=require('bluebird');var rp=require(_0xf5a0('0x4'));var fs=require('fs');var path=require(_0xf5a0('0x5'));var rimraf=require('rimraf');var config=require(_0xf5a0('0x6'));var attributes=require(_0xf5a0('0x7'));module[_0xf5a0('0x8')]=function(_0x52176d,_0x24e37d){return _0x52176d[_0xf5a0('0x9')]('UserChatQueue',attributes,{'tableName':_0xf5a0('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};