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 _0xd9fd=['name','strategy','openchannelPause','../client','getOpenchannelQueues','GetOpenchannelQueue'];(function(_0x20319,_0x486248){var _0x30ee2a=function(_0x5d4766){while(--_0x5d4766){_0x20319['push'](_0x20319['shift']());}};_0x30ee2a(++_0x486248);}(_0xd9fd,0x153));var _0xdd9f=function(_0xbed3b3,_0x58716b){_0xbed3b3=_0xbed3b3-0x0;var _0x26ebbb=_0xd9fd[_0xbed3b3];return _0x26ebbb;};'use strict';var client=require(_0xdd9f('0x0'));exports[_0xdd9f('0x1')]=function(){return function(){return client['Request'](_0xdd9f('0x2'),{'options':{'raw':![],'attributes':['id',_0xdd9f('0x3'),'timeout',_0xdd9f('0x4')],'include':[{'model':'User','as':'Agents','attributes':['id',_0xdd9f('0x3'),'online',_0xdd9f('0x5')]}]},'log':_0xdd9f('0x1')});};};