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 _0x4ef8=['GetMailQueue','name','strategy','User','Agents','online','mailPause','../client','getMailQueues','Request'];(function(_0x433a86,_0x175b5c){var _0x23000c=function(_0x4b1fa0){while(--_0x4b1fa0){_0x433a86['push'](_0x433a86['shift']());}};_0x23000c(++_0x175b5c);}(_0x4ef8,0x9d));var _0x84ef=function(_0x4c1080,_0x4aeae4){_0x4c1080=_0x4c1080-0x0;var _0x537178=_0x4ef8[_0x4c1080];return _0x537178;};'use strict';var client=require(_0x84ef('0x0'));exports[_0x84ef('0x1')]=function(){return function(){return client[_0x84ef('0x2')](_0x84ef('0x3'),{'options':{'raw':![],'attributes':['id',_0x84ef('0x4'),'timeout',_0x84ef('0x5')],'include':[{'model':_0x84ef('0x6'),'as':_0x84ef('0x7'),'attributes':['id',_0x84ef('0x4'),_0x84ef('0x8'),_0x84ef('0x9')]}]},'log':_0x84ef('0x1')});};};