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 _0xaf51=['Request','GetOpenchannelQueue','name','timeout','strategy','User','Agents','online','openchannelPause','../client'];(function(_0x18610d,_0x65969c){var _0x1abe63=function(_0x1a1f61){while(--_0x1a1f61){_0x18610d['push'](_0x18610d['shift']());}};_0x1abe63(++_0x65969c);}(_0xaf51,0xef));var _0x1af5=function(_0x8feb4e,_0xf32a5b){_0x8feb4e=_0x8feb4e-0x0;var _0x92e04c=_0xaf51[_0x8feb4e];return _0x92e04c;};'use strict';var client=require(_0x1af5('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0x1af5('0x1')](_0x1af5('0x2'),{'options':{'raw':![],'attributes':['id',_0x1af5('0x3'),_0x1af5('0x4'),_0x1af5('0x5')],'include':[{'model':_0x1af5('0x6'),'as':_0x1af5('0x7'),'attributes':['id',_0x1af5('0x3'),_0x1af5('0x8'),_0x1af5('0x9')]}]},'log':'getOpenchannelQueues'});};};