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 _0x482d=['strategy','User','online','chatPause','Request','GetChatQueue','name','timeout'];(function(_0x20a270,_0x8b8437){var _0x49429a=function(_0x4dc00b){while(--_0x4dc00b){_0x20a270['push'](_0x20a270['shift']());}};_0x49429a(++_0x8b8437);}(_0x482d,0x16c));var _0xd482=function(_0x2c533c,_0x5129f9){_0x2c533c=_0x2c533c-0x0;var _0x583bd2=_0x482d[_0x2c533c];return _0x583bd2;};'use strict';var client=require('../client');exports['getChatQueues']=function(){return function(){return client[_0xd482('0x0')](_0xd482('0x1'),{'options':{'raw':![],'attributes':['id',_0xd482('0x2'),_0xd482('0x3'),_0xd482('0x4')],'include':[{'model':_0xd482('0x5'),'as':'Agents','attributes':['id',_0xd482('0x2'),_0xd482('0x6'),_0xd482('0x7')]}]},'log':'getChatQueues'});};};