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 _0x5b47=['strategy','User','online','mailPause','../client','getMailQueues','name','timeout'];(function(_0x4bd441,_0x14ce37){var _0x56423=function(_0x5b6220){while(--_0x5b6220){_0x4bd441['push'](_0x4bd441['shift']());}};_0x56423(++_0x14ce37);}(_0x5b47,0x11c));var _0x75b4=function(_0x9520c7,_0x2b87ad){_0x9520c7=_0x9520c7-0x0;var _0x147cb5=_0x5b47[_0x9520c7];return _0x147cb5;};'use strict';var client=require(_0x75b4('0x0'));exports[_0x75b4('0x1')]=function(){return function(){return client['Request']('GetMailQueue',{'options':{'raw':![],'attributes':['id',_0x75b4('0x2'),_0x75b4('0x3'),_0x75b4('0x4')],'include':[{'model':_0x75b4('0x5'),'as':'Agents','attributes':['id',_0x75b4('0x2'),_0x75b4('0x6'),_0x75b4('0x7')]}]},'log':_0x75b4('0x1')});};};