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 _0x8884=['timeout','User','Agents','online','../client','getOpenchannelQueues','Request','GetOpenchannelQueue','name'];(function(_0x137ac6,_0x7a87e4){var _0x284c02=function(_0x1a5435){while(--_0x1a5435){_0x137ac6['push'](_0x137ac6['shift']());}};_0x284c02(++_0x7a87e4);}(_0x8884,0x1c6));var _0x4888=function(_0x9c0ed6,_0x3f75b5){_0x9c0ed6=_0x9c0ed6-0x0;var _0x4c1a9c=_0x8884[_0x9c0ed6];return _0x4c1a9c;};'use strict';var client=require(_0x4888('0x0'));exports[_0x4888('0x1')]=function(){return function(){return client[_0x4888('0x2')](_0x4888('0x3'),{'options':{'raw':![],'attributes':['id',_0x4888('0x4'),_0x4888('0x5'),'strategy'],'include':[{'model':_0x4888('0x6'),'as':_0x4888('0x7'),'attributes':['id',_0x4888('0x4'),_0x4888('0x8'),'openchannelPause']}]},'log':_0x4888('0x1')});};};