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 _0x99c9=['name','timeout','strategy','Agents','online','chatPause','../client','getChatQueues','Request','GetChatQueue'];(function(_0xd58fba,_0x25c6b3){var _0x2a63f5=function(_0xd13c87){while(--_0xd13c87){_0xd58fba['push'](_0xd58fba['shift']());}};_0x2a63f5(++_0x25c6b3);}(_0x99c9,0x13c));var _0x999c=function(_0x413feb,_0x10477f){_0x413feb=_0x413feb-0x0;var _0x40ee88=_0x99c9[_0x413feb];return _0x40ee88;};'use strict';var client=require(_0x999c('0x0'));exports[_0x999c('0x1')]=function(){return function(){return client[_0x999c('0x2')](_0x999c('0x3'),{'options':{'raw':![],'attributes':['id',_0x999c('0x4'),_0x999c('0x5'),_0x999c('0x6')],'include':[{'model':'User','as':_0x999c('0x7'),'attributes':['id',_0x999c('0x4'),_0x999c('0x8'),_0x999c('0x9')]}]},'log':_0x999c('0x1')});};};