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 _0xd704=['Request','GetMailQueue','name','timeout','User','Agents','getMailQueues'];(function(_0x3b5250,_0x7a0b2c){var _0xc844a1=function(_0x2fbc98){while(--_0x2fbc98){_0x3b5250['push'](_0x3b5250['shift']());}};_0xc844a1(++_0x7a0b2c);}(_0xd704,0x102));var _0x4d70=function(_0x135f78,_0x5d680b){_0x135f78=_0x135f78-0x0;var _0x156e0a=_0xd704[_0x135f78];return _0x156e0a;};'use strict';var client=require('../client');exports[_0x4d70('0x0')]=function(){return function(){return client[_0x4d70('0x1')](_0x4d70('0x2'),{'options':{'raw':![],'attributes':['id',_0x4d70('0x3'),_0x4d70('0x4'),'strategy'],'include':[{'model':_0x4d70('0x5'),'as':_0x4d70('0x6'),'attributes':['id','name','online','mailPause']}]},'log':_0x4d70('0x0')});};};