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 _0xa560=['Agents','online','openchannelPause','getOpenchannelQueues','../client','Request','GetOpenchannelQueue','name','strategy','User'];(function(_0x17d9e3,_0x1f969c){var _0x14192d=function(_0x159745){while(--_0x159745){_0x17d9e3['push'](_0x17d9e3['shift']());}};_0x14192d(++_0x1f969c);}(_0xa560,0xd6));var _0x0a56=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0xa560[_0x17d9e3];return _0x14192d;};'use strict';var client=require(_0x0a56('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0x0a56('0x1')](_0x0a56('0x2'),{'options':{'raw':![],'attributes':['id',_0x0a56('0x3'),'timeout',_0x0a56('0x4')],'include':[{'model':_0x0a56('0x5'),'as':_0x0a56('0x6'),'attributes':['id','name',_0x0a56('0x7'),_0x0a56('0x8')]}]},'log':_0x0a56('0x9')});};};