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 _0x3ca4=['chatPause','../client','getChatQueues','Request','timeout','strategy','User','Agents','name','online'];(function(_0xf3c3f8,_0x275cec){var _0x38c047=function(_0x12266c){while(--_0x12266c){_0xf3c3f8['push'](_0xf3c3f8['shift']());}};_0x38c047(++_0x275cec);}(_0x3ca4,0x17d));var _0x43ca=function(_0x32a12d,_0x24e468){_0x32a12d=_0x32a12d-0x0;var _0x4e49a2=_0x3ca4[_0x32a12d];return _0x4e49a2;};'use strict';var client=require(_0x43ca('0x0'));exports[_0x43ca('0x1')]=function(){return function(){return client[_0x43ca('0x2')]('GetChatQueue',{'options':{'raw':![],'attributes':['id','name',_0x43ca('0x3'),_0x43ca('0x4')],'include':[{'model':_0x43ca('0x5'),'as':_0x43ca('0x6'),'attributes':['id',_0x43ca('0x7'),_0x43ca('0x8'),_0x43ca('0x9')]}]},'log':'getChatQueues'});};};