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 _0xab40=['exports','UserChatQueue','lodash','util','bluebird','request-promise','./userChatQueue.attributes'];(function(_0x23e500,_0x76c67d){var _0x463022=function(_0x4331db){while(--_0x4331db){_0x23e500['push'](_0x23e500['shift']());}};_0x463022(++_0x76c67d);}(_0xab40,0xcd));var _0x0ab4=function(_0xe900c8,_0x5814bc){_0xe900c8=_0xe900c8-0x0;var _0x55910d=_0xab40[_0xe900c8];return _0x55910d;};'use strict';var _=require(_0x0ab4('0x0'));var util=require(_0x0ab4('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x0ab4('0x2'));var rp=require(_0x0ab4('0x3'));var attributes=require(_0x0ab4('0x4'));module[_0x0ab4('0x5')]=function(_0x14634a,_0x57fac1){return _0x14634a['define'](_0x0ab4('0x6'),attributes,{'tableName':'user_has_chat_queues','paranoid':![],'indexes':[],'timestamps':!![]});};