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 _0x80fd=['GetMailQueue','strategy','User','online','mailPause','../client','getMailQueues','Request'];(function(_0x41ee60,_0x1d8c3c){var _0x34e5ce=function(_0x6521d2){while(--_0x6521d2){_0x41ee60['push'](_0x41ee60['shift']());}};_0x34e5ce(++_0x1d8c3c);}(_0x80fd,0x12d));var _0xd80f=function(_0x5dfd7a,_0x4e3742){_0x5dfd7a=_0x5dfd7a-0x0;var _0x4a7114=_0x80fd[_0x5dfd7a];return _0x4a7114;};'use strict';var client=require(_0xd80f('0x0'));exports[_0xd80f('0x1')]=function(){return function(){return client[_0xd80f('0x2')](_0xd80f('0x3'),{'options':{'raw':![],'attributes':['id','name','timeout',_0xd80f('0x4')],'include':[{'model':_0xd80f('0x5'),'as':'Agents','attributes':['id','name',_0xd80f('0x6'),_0xd80f('0x7')]}]},'log':_0xd80f('0x1')});};};