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 _0xa1aa=['chatPause','Request','GetChatQueue','name','timeout','strategy','User','Agents','online'];(function(_0x30f07a,_0x98341){var _0xb38461=function(_0x7b287a){while(--_0x7b287a){_0x30f07a['push'](_0x30f07a['shift']());}};_0xb38461(++_0x98341);}(_0xa1aa,0x88));var _0xaa1a=function(_0x1f76c5,_0x41609d){_0x1f76c5=_0x1f76c5-0x0;var _0x40db09=_0xa1aa[_0x1f76c5];return _0x40db09;};'use strict';var client=require('../client');exports['getChatQueues']=function(){return function(){return client[_0xaa1a('0x0')](_0xaa1a('0x1'),{'options':{'raw':![],'attributes':['id',_0xaa1a('0x2'),_0xaa1a('0x3'),_0xaa1a('0x4')],'include':[{'model':_0xaa1a('0x5'),'as':_0xaa1a('0x6'),'attributes':['id','name',_0xaa1a('0x7'),_0xaa1a('0x8')]}]},'log':'getChatQueues'});};};