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 _0x440d=['strategy','User','Agents','name','online','openchannelPause','getOpenchannelQueues','Request','timeout'];(function(_0x4bc599,_0x2ed822){var _0x41dc42=function(_0x1cba62){while(--_0x1cba62){_0x4bc599['push'](_0x4bc599['shift']());}};_0x41dc42(++_0x2ed822);}(_0x440d,0x1d1));var _0xd440=function(_0x36684c,_0xbab67){_0x36684c=_0x36684c-0x0;var _0x51ab53=_0x440d[_0x36684c];return _0x51ab53;};'use strict';var client=require('../client');exports[_0xd440('0x0')]=function(){return function(){return client[_0xd440('0x1')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id','name',_0xd440('0x2'),_0xd440('0x3')],'include':[{'model':_0xd440('0x4'),'as':_0xd440('0x5'),'attributes':['id',_0xd440('0x6'),_0xd440('0x7'),_0xd440('0x8')]}]},'log':_0xd440('0x0')});};};