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 _0x8e90=['../client','Request','GetMailQueue','name','User','online','mailPause','getMailQueues'];(function(_0x290fb4,_0x5851e8){var _0x121581=function(_0x285264){while(--_0x285264){_0x290fb4['push'](_0x290fb4['shift']());}};_0x121581(++_0x5851e8);}(_0x8e90,0x1c0));var _0x08e9=function(_0x1a124d,_0x3e04b0){_0x1a124d=_0x1a124d-0x0;var _0x5f0830=_0x8e90[_0x1a124d];return _0x5f0830;};'use strict';var client=require(_0x08e9('0x0'));exports['getMailQueues']=function(){return function(){return client[_0x08e9('0x1')](_0x08e9('0x2'),{'options':{'raw':![],'attributes':['id',_0x08e9('0x3'),'timeout','strategy'],'include':[{'model':_0x08e9('0x4'),'as':'Agents','attributes':['id',_0x08e9('0x3'),_0x08e9('0x5'),_0x08e9('0x6')]}]},'log':_0x08e9('0x7')});};};