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 _0xe8b7=['online','openchannelPause','getOpenchannelQueues','../client','Request','GetOpenchannelQueue','name','timeout','strategy','User'];(function(_0x4ae6ef,_0xc2af80){var _0x3cbb4e=function(_0x569ad5){while(--_0x569ad5){_0x4ae6ef['push'](_0x4ae6ef['shift']());}};_0x3cbb4e(++_0xc2af80);}(_0xe8b7,0x157));var _0x7e8b=function(_0x259299,_0x6aa727){_0x259299=_0x259299-0x0;var _0x30b7d5=_0xe8b7[_0x259299];return _0x30b7d5;};'use strict';var client=require(_0x7e8b('0x0'));exports['getOpenchannelQueues']=function(){return function(){return client[_0x7e8b('0x1')](_0x7e8b('0x2'),{'options':{'raw':![],'attributes':['id',_0x7e8b('0x3'),_0x7e8b('0x4'),_0x7e8b('0x5')],'include':[{'model':_0x7e8b('0x6'),'as':'Agents','attributes':['id',_0x7e8b('0x3'),_0x7e8b('0x7'),_0x7e8b('0x8')]}]},'log':_0x7e8b('0x9')});};};