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 _0x0f3c=['strategy','User','Agents','name','online','chatPause','../client','getChatQueues','timeout'];(function(_0xa002f7,_0x18fdf5){var _0x23ad9f=function(_0x55a9e8){while(--_0x55a9e8){_0xa002f7['push'](_0xa002f7['shift']());}};_0x23ad9f(++_0x18fdf5);}(_0x0f3c,0x189));var _0xc0f3=function(_0x316f57,_0x53b7c9){_0x316f57=_0x316f57-0x0;var _0x5324b6=_0x0f3c[_0x316f57];return _0x5324b6;};'use strict';var client=require(_0xc0f3('0x0'));exports[_0xc0f3('0x1')]=function(){return function(){return client['Request']('GetChatQueue',{'options':{'raw':![],'attributes':['id','name',_0xc0f3('0x2'),_0xc0f3('0x3')],'include':[{'model':_0xc0f3('0x4'),'as':_0xc0f3('0x5'),'attributes':['id',_0xc0f3('0x6'),_0xc0f3('0x7'),_0xc0f3('0x8')]}]},'log':_0xc0f3('0x1')});};};