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 _0xe0f4=['Agents','online','mailPause','getMailQueues','Request','GetMailQueue','timeout','strategy','User'];(function(_0x477342,_0xe696dd){var _0x5293d1=function(_0x551495){while(--_0x551495){_0x477342['push'](_0x477342['shift']());}};_0x5293d1(++_0xe696dd);}(_0xe0f4,0x8a));var _0x4e0f=function(_0x3f8395,_0x308555){_0x3f8395=_0x3f8395-0x0;var _0x45735b=_0xe0f4[_0x3f8395];return _0x45735b;};'use strict';var client=require('../client');exports[_0x4e0f('0x0')]=function(){return function(){return client[_0x4e0f('0x1')](_0x4e0f('0x2'),{'options':{'raw':![],'attributes':['id','name',_0x4e0f('0x3'),_0x4e0f('0x4')],'include':[{'model':_0x4e0f('0x5'),'as':_0x4e0f('0x6'),'attributes':['id','name',_0x4e0f('0x7'),_0x4e0f('0x8')]}]},'log':'getMailQueues'});};};