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 _0xd980=['strategy','User','Agents','online','getOpenchannelQueues','Request','GetOpenchannelQueue','name','timeout'];(function(_0xc2f7f4,_0x2de0fe){var _0x559fe6=function(_0x5c9233){while(--_0x5c9233){_0xc2f7f4['push'](_0xc2f7f4['shift']());}};_0x559fe6(++_0x2de0fe);}(_0xd980,0xdc));var _0x0d98=function(_0x41f884,_0x185b87){_0x41f884=_0x41f884-0x0;var _0x6a81e5=_0xd980[_0x41f884];return _0x6a81e5;};'use strict';var client=require('../client');exports[_0x0d98('0x0')]=function(){return function(){return client[_0x0d98('0x1')](_0x0d98('0x2'),{'options':{'raw':![],'attributes':['id',_0x0d98('0x3'),_0x0d98('0x4'),_0x0d98('0x5')],'include':[{'model':_0x0d98('0x6'),'as':_0x0d98('0x7'),'attributes':['id',_0x0d98('0x3'),_0x0d98('0x8'),'openchannelPause']}]},'log':_0x0d98('0x0')});};};