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 _0x4e09=['openchannelPause','getOpenchannelQueues','../client','Request','name','timeout','strategy','User','Agents','online'];(function(_0x2c8f39,_0x1b8e32){var _0x58852a=function(_0x28bab8){while(--_0x28bab8){_0x2c8f39['push'](_0x2c8f39['shift']());}};_0x58852a(++_0x1b8e32);}(_0x4e09,0xa2));var _0x94e0=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x4e09[_0xa464c9];return _0x3d73c4;};'use strict';var client=require(_0x94e0('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0x94e0('0x1')]('GetOpenchannelQueue',{'options':{'raw':![],'attributes':['id',_0x94e0('0x2'),_0x94e0('0x3'),_0x94e0('0x4')],'include':[{'model':_0x94e0('0x5'),'as':_0x94e0('0x6'),'attributes':['id',_0x94e0('0x2'),_0x94e0('0x7'),_0x94e0('0x8')]}]},'log':_0x94e0('0x9')});};};