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 _0x405d=['timeout','strategy','Agents','online','mailPause','../client','getMailQueues','Request','GetMailQueue','name'];(function(_0x223bdb,_0x5882e6){var _0xef8e68=function(_0x55ab83){while(--_0x55ab83){_0x223bdb['push'](_0x223bdb['shift']());}};_0xef8e68(++_0x5882e6);}(_0x405d,0x9b));var _0xd405=function(_0x1d3c41,_0x21d3ad){_0x1d3c41=_0x1d3c41-0x0;var _0x46d440=_0x405d[_0x1d3c41];return _0x46d440;};'use strict';var client=require(_0xd405('0x0'));exports[_0xd405('0x1')]=function(){return function(){return client[_0xd405('0x2')](_0xd405('0x3'),{'options':{'raw':![],'attributes':['id',_0xd405('0x4'),_0xd405('0x5'),_0xd405('0x6')],'include':[{'model':'User','as':_0xd405('0x7'),'attributes':['id','name',_0xd405('0x8'),_0xd405('0x9')]}]},'log':_0xd405('0x1')});};};