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 _0x3d0e=['Agents','online','Request','GetOpenchannelQueue','name','strategy','User'];(function(_0x307533,_0x5c25d2){var _0x1af1fc=function(_0x5bb82a){while(--_0x5bb82a){_0x307533['push'](_0x307533['shift']());}};_0x1af1fc(++_0x5c25d2);}(_0x3d0e,0x105));var _0xe3d0=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0x3d0e[_0x501510];return _0x1e6ee5;};'use strict';var client=require('../client');exports['getOpenchannelQueues']=function(){return function(){return client[_0xe3d0('0x0')](_0xe3d0('0x1'),{'options':{'raw':![],'attributes':['id',_0xe3d0('0x2'),'timeout',_0xe3d0('0x3')],'include':[{'model':_0xe3d0('0x4'),'as':_0xe3d0('0x5'),'attributes':['id',_0xe3d0('0x2'),_0xe3d0('0x6'),'openchannelPause']}]},'log':'getOpenchannelQueues'});};};