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 _0x6cd2=['openchannelPause','getOpenchannelQueues','../client','Request','GetOpenchannelQueue','name','strategy','User','Agents','online'];(function(_0x34b477,_0x257754){var _0x1f1636=function(_0x55c6b0){while(--_0x55c6b0){_0x34b477['push'](_0x34b477['shift']());}};_0x1f1636(++_0x257754);}(_0x6cd2,0x1c4));var _0x26cd=function(_0x147ae5,_0x4d890c){_0x147ae5=_0x147ae5-0x0;var _0x8cd358=_0x6cd2[_0x147ae5];return _0x8cd358;};'use strict';var client=require(_0x26cd('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0x26cd('0x1')](_0x26cd('0x2'),{'options':{'raw':![],'attributes':['id',_0x26cd('0x3'),'timeout',_0x26cd('0x4')],'include':[{'model':_0x26cd('0x5'),'as':_0x26cd('0x6'),'attributes':['id',_0x26cd('0x3'),_0x26cd('0x7'),_0x26cd('0x8')]}]},'log':_0x26cd('0x9')});};};