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 _0x88bf=['User','Agents','online','openchannelPause','getOpenchannelQueues','Request','name','timeout','strategy'];(function(_0x59da33,_0x555969){var _0x1da20f=function(_0x3623c7){while(--_0x3623c7){_0x59da33['push'](_0x59da33['shift']());}};_0x1da20f(++_0x555969);}(_0x88bf,0xb8));var _0xf88b=function(_0x37597b,_0x46e807){_0x37597b=_0x37597b-0x0;var _0x1b10a4=_0x88bf[_0x37597b];return _0x1b10a4;};'use strict';var client=require('../client');exports[_0xf88b('0x0')]=function(){return function(){return client[_0xf88b('0x1')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0xf88b('0x2'),_0xf88b('0x3'),_0xf88b('0x4')],'include':[{'model':_0xf88b('0x5'),'as':_0xf88b('0x6'),'attributes':['id','name',_0xf88b('0x7'),_0xf88b('0x8')]}]},'log':_0xf88b('0x0')});};};