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 _0xecbc=['exports','define','UserChatQueue','util','../../config/logger','api','moment','request-promise','../../config/environment','./userChatQueue.attributes'];(function(_0x46136e,_0x50c928){var _0x3adbc7=function(_0x24fb8e){while(--_0x24fb8e){_0x46136e['push'](_0x46136e['shift']());}};_0x3adbc7(++_0x50c928);}(_0xecbc,0xc1));var _0xcecb=function(_0x1203f,_0x554bbc){_0x1203f=_0x1203f-0x0;var _0x365f0a=_0xecbc[_0x1203f];return _0x365f0a;};'use strict';var _=require('lodash');var util=require(_0xcecb('0x0'));var logger=require(_0xcecb('0x1'))(_0xcecb('0x2'));var moment=require(_0xcecb('0x3'));var BPromise=require('bluebird');var rp=require(_0xcecb('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0xcecb('0x5'));var attributes=require(_0xcecb('0x6'));module[_0xcecb('0x7')]=function(_0x43d30c,_0x5028f7){return _0x43d30c[_0xcecb('0x8')](_0xcecb('0x9'),attributes,{'tableName':'user_has_chat_queues','paranoid':![],'indexes':[],'timestamps':!![]});};