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 _0x55d2=['timeout','strategy','User','online','chatPause','getChatQueues','Request','GetChatQueue','name'];(function(_0x41fe67,_0x1a9aa5){var _0x4bb5fb=function(_0x1615cc){while(--_0x1615cc){_0x41fe67['push'](_0x41fe67['shift']());}};_0x4bb5fb(++_0x1a9aa5);}(_0x55d2,0x9f));var _0x255d=function(_0x48961c,_0x280e9d){_0x48961c=_0x48961c-0x0;var _0x1d895d=_0x55d2[_0x48961c];return _0x1d895d;};'use strict';var client=require('../client');exports['getChatQueues']=function(){return function(){return client[_0x255d('0x0')](_0x255d('0x1'),{'options':{'raw':![],'attributes':['id',_0x255d('0x2'),_0x255d('0x3'),_0x255d('0x4')],'include':[{'model':_0x255d('0x5'),'as':'Agents','attributes':['id',_0x255d('0x2'),_0x255d('0x6'),_0x255d('0x7')]}]},'log':_0x255d('0x8')});};};