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 _0xc3a6=['GetOpenchannelQueue','name','timeout','User','Agents','online','openchannelPause','getOpenchannelQueues','../client','Request'];(function(_0x198282,_0x148da3){var _0x4b4274=function(_0x11460c){while(--_0x11460c){_0x198282['push'](_0x198282['shift']());}};_0x4b4274(++_0x148da3);}(_0xc3a6,0x116));var _0x6c3a=function(_0x552d53,_0x56ced2){_0x552d53=_0x552d53-0x0;var _0x2cc575=_0xc3a6[_0x552d53];return _0x2cc575;};'use strict';var client=require(_0x6c3a('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0x6c3a('0x1')](_0x6c3a('0x2'),{'options':{'raw':![],'attributes':['id',_0x6c3a('0x3'),_0x6c3a('0x4'),'strategy'],'include':[{'model':_0x6c3a('0x5'),'as':_0x6c3a('0x6'),'attributes':['id',_0x6c3a('0x3'),_0x6c3a('0x7'),_0x6c3a('0x8')]}]},'log':_0x6c3a('0x9')});};};