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 _0x2bd8=['timeout','strategy','User','Agents','online','chatPause','getChatQueues','../client','Request','GetChatQueue','name'];(function(_0xf44947,_0x2a365c){var _0x5b4551=function(_0x1aab10){while(--_0x1aab10){_0xf44947['push'](_0xf44947['shift']());}};_0x5b4551(++_0x2a365c);}(_0x2bd8,0x130));var _0x82bd=function(_0x30a39f,_0x27466a){_0x30a39f=_0x30a39f-0x0;var _0x5b9c7a=_0x2bd8[_0x30a39f];return _0x5b9c7a;};'use strict';var client=require(_0x82bd('0x0'));exports['getChatQueues']=function(){return function(){return client[_0x82bd('0x1')](_0x82bd('0x2'),{'options':{'raw':![],'attributes':['id',_0x82bd('0x3'),_0x82bd('0x4'),_0x82bd('0x5')],'include':[{'model':_0x82bd('0x6'),'as':_0x82bd('0x7'),'attributes':['id','name',_0x82bd('0x8'),_0x82bd('0x9')]}]},'log':_0x82bd('0xa')});};};