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 _0xed3a=['GetOpenchannelQueue','name','User','Agents','online','../client','getOpenchannelQueues','Request'];(function(_0x28947d,_0x490f26){var _0x4e5187=function(_0x373a97){while(--_0x373a97){_0x28947d['push'](_0x28947d['shift']());}};_0x4e5187(++_0x490f26);}(_0xed3a,0x175));var _0xaed3=function(_0x50246e,_0x2058fc){_0x50246e=_0x50246e-0x0;var _0x3418d1=_0xed3a[_0x50246e];return _0x3418d1;};'use strict';var client=require(_0xaed3('0x0'));exports[_0xaed3('0x1')]=function(){return function(){return client[_0xaed3('0x2')](_0xaed3('0x3'),{'options':{'raw':![],'attributes':['id',_0xaed3('0x4'),'timeout','strategy'],'include':[{'model':_0xaed3('0x5'),'as':_0xaed3('0x6'),'attributes':['id',_0xaed3('0x4'),_0xaed3('0x7'),'openchannelPause']}]},'log':_0xaed3('0x1')});};};